Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark forms blocks as experimental in block.json files #55187

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Mark forms blocks as experimental in block.json
  • Loading branch information
aristath committed Oct 10, 2023
commit 7fba74c7598794948a84870e1b2c0f903415564a
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