updating content box & icon

This commit is contained in:
Antoine M 2023-10-24 11:29:29 +02:00
parent 53938ed90c
commit efa72b9ddf
4 changed files with 19 additions and 23 deletions

View File

@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'dd0101d1f2e2782212fb'); <?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n'), 'version' => 'e87148e9d04ae2e418f9');

View File

@ -96,20 +96,16 @@ __webpack_require__.r(__webpack_exports__);
(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_5__.name, { (0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_5__.name, {
icon: { icon: {
src: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", { src: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", {
version: "1.1", id: "Calque_2",
x: "0px", "data-name": "Calque 2",
y: "0px", xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 100 125" viewBox: "0 0 80 82.01"
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("g", { }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("g", {
transform: "translate(0,-952.36218)" id: "Calque_1-2",
"data-name": "Calque 1"
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", { }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", {
d: "m 49.593802,961.37673 a 4.0004,4.0004 0 0 0 -1.125,0.28125 l -36,15 a 4.0004,4.0004 0 0 0 -2.4688,3.71875 l 0,43.99997 a 4.0004,4.0004 0 0 0 2.4688,3.6875 l 36,15 a 4.0004,4.0004 0 0 0 3.0624,0 l 35.999996,-15 a 4.0004,4.0004 0 0 0 2.4688,-3.6875 l 0,-43.99997 a 4.0004,4.0004 0 0 0 -2.4688,-3.71875 l -35.999996,-15 a 4.0004,4.0004 0 0 0 -1.9374,-0.28125 z m 0.4062,8.3125 25.5938,10.65625 -25.5938,10.6875 -25.5938,-10.6875 25.5938,-10.65625 z m -32,16.6875 28,11.65625 0,35.34372 -28,-11.6875 0,-35.31247 z m 63.999996,0 0,35.31247 -27.999996,11.6875 0,-35.34372 27.999996,-11.65625 z", class: "cls-1",
"fill-opacity": "1", d: "m77.53,15.3L41.53.3c-.61-.25-1.28-.35-1.94-.28-.39.04-.77.13-1.12.28L2.47,15.3C.97,15.93,0,17.4,0,19.02v44c0,1.61.98,3.07,2.47,3.69l36,15c.98.41,2.08.41,3.06,0l36-15c1.49-.62,2.47-2.07,2.47-3.69V19.02c0-1.63-.97-3.1-2.47-3.72Zm-41.53,56.72l-28-11.69V25.02l28,11.66v35.34Zm4-42.34l-25.59-10.69,25.59-10.66,25.59,10.66-25.59,10.69Zm32,30.66l-28,11.69v-35.34l28-11.66v35.31Z"
stroke: "none",
marker: "none",
visibility: "visible",
display: "inline",
overflow: "visible"
}))), }))),
foreground: "#DF1E1E" foreground: "#DF1E1E"
}, },

File diff suppressed because one or more lines are too long

View File

@ -8,16 +8,16 @@ import metadata from "./block.json";
registerBlockType(metadata.name, { registerBlockType(metadata.name, {
icon: { icon: {
src: ( src: (
<svg version="1.1" x="0px" y="0px" viewBox="0 0 100 125"> <svg
<g transform="translate(0,-952.36218)"> id="Calque_2"
data-name="Calque 2"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 80 82.01"
>
<g id="Calque_1-2" data-name="Calque 1">
<path <path
d="m 49.593802,961.37673 a 4.0004,4.0004 0 0 0 -1.125,0.28125 l -36,15 a 4.0004,4.0004 0 0 0 -2.4688,3.71875 l 0,43.99997 a 4.0004,4.0004 0 0 0 2.4688,3.6875 l 36,15 a 4.0004,4.0004 0 0 0 3.0624,0 l 35.999996,-15 a 4.0004,4.0004 0 0 0 2.4688,-3.6875 l 0,-43.99997 a 4.0004,4.0004 0 0 0 -2.4688,-3.71875 l -35.999996,-15 a 4.0004,4.0004 0 0 0 -1.9374,-0.28125 z m 0.4062,8.3125 25.5938,10.65625 -25.5938,10.6875 -25.5938,-10.6875 25.5938,-10.65625 z m -32,16.6875 28,11.65625 0,35.34372 -28,-11.6875 0,-35.31247 z m 63.999996,0 0,35.31247 -27.999996,11.6875 0,-35.34372 27.999996,-11.65625 z" class="cls-1"
fill-opacity="1" d="m77.53,15.3L41.53.3c-.61-.25-1.28-.35-1.94-.28-.39.04-.77.13-1.12.28L2.47,15.3C.97,15.93,0,17.4,0,19.02v44c0,1.61.98,3.07,2.47,3.69l36,15c.98.41,2.08.41,3.06,0l36-15c1.49-.62,2.47-2.07,2.47-3.69V19.02c0-1.63-.97-3.1-2.47-3.72Zm-41.53,56.72l-28-11.69V25.02l28,11.66v35.34Zm4-42.34l-25.59-10.69,25.59-10.66,25.59,10.66-25.59,10.69Zm32,30.66l-28,11.69v-35.34l28-11.66v35.31Z"
stroke="none"
marker="none"
visibility="visible"
display="inline"
overflow="visible"
/> />
</g> </g>
</svg> </svg>