diff --git a/plugins/carhop-blocks/build/blocks-manifest.php b/plugins/carhop-blocks/build/blocks-manifest.php index 33a5532..e363344 100644 --- a/plugins/carhop-blocks/build/blocks-manifest.php +++ b/plugins/carhop-blocks/build/blocks-manifest.php @@ -283,6 +283,14 @@ return array( 'blockVariant' => array( 'type' => 'string', 'default' => 'framed' + ), + 'blockWidth' => array( + 'type' => 'string', + 'default' => 'full', + 'enum' => array( + 'full', + 'contained' + ) ) ) ), @@ -503,6 +511,12 @@ return array( 'editorStyle' => 'file:./index.css', 'style' => 'file:./style-index.css', 'viewScript' => 'file:./view.js', + 'styles' => array( + array( + 'name' => 'stroked-after', + 'label' => 'Titre + trait ' + ) + ), 'attributes' => array( 'hierarchy' => array( 'type' => 'string', diff --git a/plugins/carhop-blocks/build/heading/block.json b/plugins/carhop-blocks/build/heading/block.json index d067c22..fd7da19 100644 --- a/plugins/carhop-blocks/build/heading/block.json +++ b/plugins/carhop-blocks/build/heading/block.json @@ -16,6 +16,12 @@ "editorStyle": "file:./index.css", "style": "file:./style-index.css", "viewScript": "file:./view.js", + "styles": [ + { + "name": "stroked-after", + "label": "Titre + trait " + } + ], "attributes": { "hierarchy": { "type": "string", diff --git a/plugins/carhop-blocks/build/heading/index.asset.php b/plugins/carhop-blocks/build/heading/index.asset.php index 8ab4f4d..3b5c7e3 100644 --- a/plugins/carhop-blocks/build/heading/index.asset.php +++ b/plugins/carhop-blocks/build/heading/index.asset.php @@ -1 +1 @@ - array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => '63c97536bc9b836b7ef7'); + array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => 'd4e1ebabc5dcdc5cce1d'); diff --git a/plugins/carhop-blocks/build/heading/index.js b/plugins/carhop-blocks/build/heading/index.js index a47a9cf..b550c94 100644 --- a/plugins/carhop-blocks/build/heading/index.js +++ b/plugins/carhop-blocks/build/heading/index.js @@ -8,7 +8,7 @@ \********************************/ /***/ ((module) => { -module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"carhop-blocks/heading","version":"0.1.0","title":"Titrage","category":"carhop-blocks","icon":"smiley","description":"Boite de titrage pour la mise en forme d\'éléments de contenu","example":{},"supports":{"html":false},"textdomain":"carhop-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","viewScript":"file:./view.js","attributes":{"hierarchy":{"type":"string","enum":["classic","inverted"],"default":"classic"}}}'); +module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"carhop-blocks/heading","version":"0.1.0","title":"Titrage","category":"carhop-blocks","icon":"smiley","description":"Boite de titrage pour la mise en forme d\'éléments de contenu","example":{},"supports":{"html":false},"textdomain":"carhop-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","viewScript":"file:./view.js","styles":[{"name":"stroked-after","label":"Titre + trait "}],"attributes":{"hierarchy":{"type":"string","enum":["classic","inverted"],"default":"classic"}}}'); /***/ }), diff --git a/plugins/carhop-blocks/src/heading/block.json b/plugins/carhop-blocks/src/heading/block.json index faa35a5..c7909be 100644 --- a/plugins/carhop-blocks/src/heading/block.json +++ b/plugins/carhop-blocks/src/heading/block.json @@ -16,6 +16,12 @@ "editorStyle": "file:./index.css", "style": "file:./style-index.css", "viewScript": "file:./view.js", + "styles": [ + { + "name": "stroked-after", + "label": "Titre + trait " + } + ], "attributes": { "hierarchy": { "type": "string",