Skip to content

Commit

Permalink
Mark forms blocks as experimental in block.json (#55187)
Browse files Browse the repository at this point in the history
  • Loading branch information
aristath authored Oct 10, 2023
1 parent da1290d commit cf50d9f
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ Display footnotes added to the page. ([Source](https://github.com/WordPress/gute
A form. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/form))

- **Name:** core/form
- **Experimental:** true
- **Category:** common
- **Supports:** anchor, color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~className~~
- **Attributes:** action, email, method, submissionMethod
Expand All @@ -291,6 +292,7 @@ A form. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/blo
The basic building block for forms. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/form-input))

- **Name:** core/form-input
- **Experimental:** true
- **Category:** common
- **Parent:** core/form
- **Supports:** anchor, spacing (margin), ~~reusable~~
Expand All @@ -301,6 +303,7 @@ The basic building block for forms. ([Source](https://github.com/WordPress/guten
Provide a notification message after the form has been submitted. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/form-submission-notification))

- **Name:** core/form-submission-notification
- **Experimental:** true
- **Category:** common
- **Parent:** core/form
- **Supports:**
Expand All @@ -311,6 +314,7 @@ Provide a notification message after the form has been submitted. ([Source](http
A submission button for forms. ([Source](https://github.com/WordPress/gutenberg/tree/trunk/packages/block-library/src/form-submit-button))

- **Name:** core/form-submit-button
- **Experimental:** true
- **Category:** common
- **Parent:** core/form
- **Supports:**
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/src/form-input/block.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"__experimental": true,
"name": "core/form-input",
"title": "Input field",
"category": "common",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"__experimental": true,
"name": "core/form-submission-notification",
"title": "Form Submission Notification",
"category": "common",
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/src/form-submit-button/block.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"__experimental": true,
"name": "core/form-submit-button",
"title": "Form submit button",
"category": "common",
Expand Down
1 change: 1 addition & 0 deletions packages/block-library/src/form/block.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"__experimental": true,
"name": "core/form",
"title": "Form",
"category": "common",
Expand Down

0 comments on commit cf50d9f

Please sign in to comment.