-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
72 changed files
with
608 additions
and
244 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
test/integration/fixtures/blocks/core__form-input__checkbox__deprecated-v1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- wp:form-input {"type":"checkbox"} --> | ||
<label class="wp-block-form-input__label"> | ||
<span class="wp-block-form-input__label-content">Label</span> | ||
<input class="wp-block-form-input__input" type="checkbox" name="label" aria-required="false"/> | ||
</label> | ||
<!-- /wp:form-input --> | ||
|
15 changes: 15 additions & 0 deletions
15
test/integration/fixtures/blocks/core__form-input__checkbox__deprecated-v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[ | ||
{ | ||
"name": "core/form-input", | ||
"isValid": true, | ||
"attributes": { | ||
"type": "checkbox", | ||
"label": "Label", | ||
"inlineLabel": false, | ||
"required": false, | ||
"value": "", | ||
"visibilityPermissions": "all" | ||
}, | ||
"innerBlocks": [] | ||
} | ||
] |
13 changes: 13 additions & 0 deletions
13
test/integration/fixtures/blocks/core__form-input__checkbox__deprecated-v1.parsed.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[ | ||
{ | ||
"blockName": "core/form-input", | ||
"attrs": { | ||
"type": "checkbox" | ||
}, | ||
"innerBlocks": [], | ||
"innerHTML": "\n<label class=\"wp-block-form-input__label\">\n\t<span class=\"wp-block-form-input__label-content\">Label</span>\n\t<input class=\"wp-block-form-input__input\" type=\"checkbox\" name=\"label\" aria-required=\"false\"/>\n</label>\n", | ||
"innerContent": [ | ||
"\n<label class=\"wp-block-form-input__label\">\n\t<span class=\"wp-block-form-input__label-content\">Label</span>\n\t<input class=\"wp-block-form-input__input\" type=\"checkbox\" name=\"label\" aria-required=\"false\"/>\n</label>\n" | ||
] | ||
} | ||
] |
3 changes: 3 additions & 0 deletions
3
test/integration/fixtures/blocks/core__form-input__checkbox__deprecated-v1.serialized.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!-- wp:form-input {"type":"checkbox"} --> | ||
<div class="wp-block-form-input"><label class="wp-block-form-input__label"><input class="wp-block-form-input__input" type="checkbox" name="label" aria-required="false"/><span class="wp-block-form-input__label-content">Label</span></label></div> | ||
<!-- /wp:form-input --> |
8 changes: 8 additions & 0 deletions
8
test/integration/fixtures/blocks/core__form-input__checkbox__deprecated-v2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- wp:form-input {"type":"checkbox"} --> | ||
<div class="wp-block-form-input"> | ||
<label class="wp-block-form-input__label"> | ||
<span class="wp-block-form-input__label-content">Label</span> | ||
<input class="wp-block-form-input__input" type="checkbox" name="label" aria-required="false"/> | ||
</label> | ||
</div> | ||
<!-- /wp:form-input --> |
15 changes: 15 additions & 0 deletions
15
test/integration/fixtures/blocks/core__form-input__checkbox__deprecated-v2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[ | ||
{ | ||
"name": "core/form-input", | ||
"isValid": true, | ||
"attributes": { | ||
"type": "checkbox", | ||
"label": "Label", | ||
"inlineLabel": false, | ||
"required": false, | ||
"value": "", | ||
"visibilityPermissions": "all" | ||
}, | ||
"innerBlocks": [] | ||
} | ||
] |
13 changes: 13 additions & 0 deletions
13
test/integration/fixtures/blocks/core__form-input__checkbox__deprecated-v2.parsed.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[ | ||
{ | ||
"blockName": "core/form-input", | ||
"attrs": { | ||
"type": "checkbox" | ||
}, | ||
"innerBlocks": [], | ||
"innerHTML": "\n<div class=\"wp-block-form-input\">\n\t<label class=\"wp-block-form-input__label\">\n\t\t<span class=\"wp-block-form-input__label-content\">Label</span>\n\t\t<input class=\"wp-block-form-input__input\" type=\"checkbox\" name=\"label\" aria-required=\"false\"/>\n\t</label>\n</div>\n", | ||
"innerContent": [ | ||
"\n<div class=\"wp-block-form-input\">\n\t<label class=\"wp-block-form-input__label\">\n\t\t<span class=\"wp-block-form-input__label-content\">Label</span>\n\t\t<input class=\"wp-block-form-input__input\" type=\"checkbox\" name=\"label\" aria-required=\"false\"/>\n\t</label>\n</div>\n" | ||
] | ||
} | ||
] |
3 changes: 3 additions & 0 deletions
3
test/integration/fixtures/blocks/core__form-input__checkbox__deprecated-v2.serialized.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!-- wp:form-input {"type":"checkbox"} --> | ||
<div class="wp-block-form-input"><label class="wp-block-form-input__label"><input class="wp-block-form-input__input" type="checkbox" name="label" aria-required="false"/><span class="wp-block-form-input__label-content">Label</span></label></div> | ||
<!-- /wp:form-input --> |
20 changes: 0 additions & 20 deletions
20
test/integration/fixtures/blocks/core__form-input__deprecated-v1.html
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
test/integration/fixtures/blocks/core__form-input__deprecated-v1.json
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
test/integration/fixtures/blocks/core__form-input__deprecated-v1.parsed.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
test/integration/fixtures/blocks/core__form-input__deprecated-v1.serialized.html
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
test/integration/fixtures/blocks/core__form-input__deprecated-v2.html
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
test/integration/fixtures/blocks/core__form-input__deprecated-v2.json
This file was deleted.
Oops, something went wrong.
47 changes: 0 additions & 47 deletions
47
test/integration/fixtures/blocks/core__form-input__deprecated-v2.parsed.json
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
test/integration/fixtures/blocks/core__form-input__deprecated-v2.serialized.html
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
test/integration/fixtures/blocks/core__form-input__email__deprecated-v1.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!-- wp:form-input {"type":"email"} --> | ||
<label class="wp-block-form-input__label"> | ||
<span class="wp-block-form-input__label-content">Label</span> | ||
<input class="wp-block-form-input__input" type="email" name="label" aria-required="false"/> | ||
</label> | ||
<!-- /wp:form-input --> |
15 changes: 15 additions & 0 deletions
15
test/integration/fixtures/blocks/core__form-input__email__deprecated-v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
[ | ||
{ | ||
"name": "core/form-input", | ||
"isValid": true, | ||
"attributes": { | ||
"type": "email", | ||
"label": "Label", | ||
"inlineLabel": false, | ||
"required": false, | ||
"value": "", | ||
"visibilityPermissions": "all" | ||
}, | ||
"innerBlocks": [] | ||
} | ||
] |
13 changes: 13 additions & 0 deletions
13
test/integration/fixtures/blocks/core__form-input__email__deprecated-v1.parsed.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[ | ||
{ | ||
"blockName": "core/form-input", | ||
"attrs": { | ||
"type": "email" | ||
}, | ||
"innerBlocks": [], | ||
"innerHTML": "\n<label class=\"wp-block-form-input__label\">\n\t<span class=\"wp-block-form-input__label-content\">Label</span>\n\t<input class=\"wp-block-form-input__input\" type=\"email\" name=\"label\" aria-required=\"false\"/>\n</label>\n", | ||
"innerContent": [ | ||
"\n<label class=\"wp-block-form-input__label\">\n\t<span class=\"wp-block-form-input__label-content\">Label</span>\n\t<input class=\"wp-block-form-input__input\" type=\"email\" name=\"label\" aria-required=\"false\"/>\n</label>\n" | ||
] | ||
} | ||
] |
3 changes: 3 additions & 0 deletions
3
test/integration/fixtures/blocks/core__form-input__email__deprecated-v1.serialized.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!-- wp:form-input {"type":"email"} --> | ||
<div class="wp-block-form-input"><label class="wp-block-form-input__label"><span class="wp-block-form-input__label-content">Label</span><input class="wp-block-form-input__input" type="email" name="label" aria-required="false"/></label></div> | ||
<!-- /wp:form-input --> |
8 changes: 8 additions & 0 deletions
8
test/integration/fixtures/blocks/core__form-input__email__deprecated-v2.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<!-- wp:form-input {"type":"email"} --> | ||
<div class="wp-block-form-input"> | ||
<label class="wp-block-form-input__label"> | ||
<span class="wp-block-form-input__label-content">Label</span> | ||
<input class="wp-block-form-input__input" type="email" name="label" aria-required="false"/> | ||
</label> | ||
</div> | ||
<!-- /wp:form-input --> |
Oops, something went wrong.