FIX Refining icon
This commit is contained in:
parent
8f6b88e27d
commit
5e6f557ff0
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => 'bebf0d6f2b0eb08b7c44');
|
||||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => 'd5d54e18643042f504ee');
|
||||
|
|
|
|||
|
|
@ -67,42 +67,37 @@ __webpack_require__.r(__webpack_exports__);
|
|||
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/revues-precedentes/edit.js");
|
||||
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/revues-precedentes/save.js");
|
||||
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/revues-precedentes/block.json");
|
||||
/**
|
||||
* Registers a new block provided a unique name and an object defining its behavior.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.
|
||||
* All files containing `style` keyword are bundled together. The code used
|
||||
* gets applied both to the front of your site and to the editor.
|
||||
*
|
||||
* @see https://www.npmjs.com/package/@wordpress/scripts#using-css
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Every block starts by registering a new block type definition.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
|
||||
*/
|
||||
(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_4__.name, {
|
||||
/**
|
||||
* @see ./edit.js
|
||||
*/
|
||||
icon: {
|
||||
src: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("svg", {
|
||||
width: "50",
|
||||
height: "50",
|
||||
viewBox: "0 0 50 50",
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("g", {
|
||||
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("path", {
|
||||
stroke: "null",
|
||||
d: "m28.5139,42.56948l0,-27.28752a10.50655,10.50655 0 0 1 -7.02779,2.69024l-17.56948,0l0,31.62507l17.56948,0a7.03535,7.03535 0 0 0 7.02779,-7.02779zm-15.81254,-15.81254l7.02779,0a1.75695,1.75695 0 0 1 0,3.5139l-7.02779,0a1.75695,1.75695 0 0 1 0,-3.5139zm7.02779,10.54169l-7.02779,0a1.75695,1.75695 0 0 1 0,-3.5139l7.02779,0a1.75695,1.75695 0 0 1 0,3.5139z"
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("path", {
|
||||
stroke: "null",
|
||||
d: "m30.27085,5.67357a1.75695,1.75695 0 0 1 1.75695,1.75695a7.02779,7.02779 0 0 0 14.05049,0.25739l0,-0.00176a6.73509,6.73509 0 0 0 -1.95513,-4.93457a7.67786,7.67786 0 0 0 -5.49134,-2.34886l-20.6596,0l0,14.05559l3.5139,0a7.03535,7.03535 0 0 0 7.02779,-7.02779a1.75695,1.75695 0 0 1 1.75695,-1.75695z"
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("path", {
|
||||
stroke: "null",
|
||||
d: "m32.02779,15.28197l0,27.28752a7.02779,7.02779 0 0 0 14.05559,0l0,-27.28752a10.52412,10.52412 0 0 1 -14.05559,0z"
|
||||
})]
|
||||
})
|
||||
}),
|
||||
foreground: "#136f63"
|
||||
},
|
||||
edit: _edit__WEBPACK_IMPORTED_MODULE_2__["default"],
|
||||
/**
|
||||
* @see ./save.js
|
||||
*/
|
||||
save: _save__WEBPACK_IMPORTED_MODULE_3__["default"]
|
||||
});
|
||||
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1,39 +1,37 @@
|
|||
/**
|
||||
* Registers a new block provided a unique name and an object defining its behavior.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
|
||||
*/
|
||||
import { registerBlockType } from '@wordpress/blocks';
|
||||
import { registerBlockType } from "@wordpress/blocks";
|
||||
import "./style.scss";
|
||||
|
||||
/**
|
||||
* Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.
|
||||
* All files containing `style` keyword are bundled together. The code used
|
||||
* gets applied both to the front of your site and to the editor.
|
||||
*
|
||||
* @see https://www.npmjs.com/package/@wordpress/scripts#using-css
|
||||
*/
|
||||
import './style.scss';
|
||||
import Edit from "./edit";
|
||||
import save from "./save";
|
||||
import metadata from "./block.json";
|
||||
|
||||
/**
|
||||
* Internal dependencies
|
||||
*/
|
||||
import Edit from './edit';
|
||||
import save from './save';
|
||||
import metadata from './block.json';
|
||||
|
||||
/**
|
||||
* Every block starts by registering a new block type definition.
|
||||
*
|
||||
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
|
||||
*/
|
||||
registerBlockType( metadata.name, {
|
||||
/**
|
||||
* @see ./edit.js
|
||||
*/
|
||||
registerBlockType(metadata.name, {
|
||||
icon: {
|
||||
src: (
|
||||
<svg
|
||||
width="50"
|
||||
height="50"
|
||||
viewBox="0 0 50 50"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<g>
|
||||
<path
|
||||
stroke="null"
|
||||
d="m28.5139,42.56948l0,-27.28752a10.50655,10.50655 0 0 1 -7.02779,2.69024l-17.56948,0l0,31.62507l17.56948,0a7.03535,7.03535 0 0 0 7.02779,-7.02779zm-15.81254,-15.81254l7.02779,0a1.75695,1.75695 0 0 1 0,3.5139l-7.02779,0a1.75695,1.75695 0 0 1 0,-3.5139zm7.02779,10.54169l-7.02779,0a1.75695,1.75695 0 0 1 0,-3.5139l7.02779,0a1.75695,1.75695 0 0 1 0,3.5139z"
|
||||
/>
|
||||
<path
|
||||
stroke="null"
|
||||
d="m30.27085,5.67357a1.75695,1.75695 0 0 1 1.75695,1.75695a7.02779,7.02779 0 0 0 14.05049,0.25739l0,-0.00176a6.73509,6.73509 0 0 0 -1.95513,-4.93457a7.67786,7.67786 0 0 0 -5.49134,-2.34886l-20.6596,0l0,14.05559l3.5139,0a7.03535,7.03535 0 0 0 7.02779,-7.02779a1.75695,1.75695 0 0 1 1.75695,-1.75695z"
|
||||
/>
|
||||
<path
|
||||
stroke="null"
|
||||
d="m32.02779,15.28197l0,27.28752a7.02779,7.02779 0 0 0 14.05559,0l0,-27.28752a10.52412,10.52412 0 0 1 -14.05559,0z"
|
||||
/>
|
||||
</g>
|
||||
</svg>
|
||||
),
|
||||
foreground: "#136f63",
|
||||
},
|
||||
edit: Edit,
|
||||
|
||||
/**
|
||||
* @see ./save.js
|
||||
*/
|
||||
save,
|
||||
} );
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user