FIX Refining icon
This commit is contained in:
parent
e4a0b345d6
commit
f02facbf9a
|
|
@ -1 +1 @@
|
||||||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => 'f81af659be9b9ce1ef51');
|
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '258714a3f3aff6015e13');
|
||||||
|
|
|
||||||
|
|
@ -67,42 +67,31 @@ __webpack_require__.r(__webpack_exports__);
|
||||||
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/explore-tags/edit.js");
|
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/explore-tags/edit.js");
|
||||||
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/explore-tags/save.js");
|
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/explore-tags/save.js");
|
||||||
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/explore-tags/block.json");
|
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/explore-tags/block.json");
|
||||||
/**
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||||
* Registers a new block provided a unique name and an object defining its behavior.
|
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__);
|
||||||
*
|
|
||||||
* @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
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 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, {
|
(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_4__.name, {
|
||||||
/**
|
icon: {
|
||||||
* @see ./edit.js
|
src: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("svg", {
|
||||||
*/
|
width: "100",
|
||||||
|
height: "100",
|
||||||
|
viewBox: "0 0 100 100",
|
||||||
|
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("g", {
|
||||||
|
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("path", {
|
||||||
|
d: "m93.4586,23.83625l1.57497,18.94503l0,0.00408c0.24482,2.87252 -0.79157,5.71244 -2.83168,7.75256l-41.89592,41.89592c-0.13057,0.13057 -0.2693,0.26114 -0.40802,0.38355l8.20548,4.73307c3.51721,2.02789 8.00962,0.82421 10.04159,-2.68888l29.6308,-51.32613c1.08539,-1.86881 1.28532,-4.12514 0.55492,-6.16118l-4.87213,-13.53802z"
|
||||||
|
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("path", {
|
||||||
|
d: "m89.93323,10.8859c-0.2897,-3.58657 -3.13365,-6.43047 -6.71615,-6.71615l-32.10325,-2.67666c-0.20401,-0.01633 -0.40802,-0.02448 -0.61204,-0.02448l0,-0.00407c-1.94631,0 -3.81502,0.77526 -5.19017,2.15439l-41.91263,41.90428l-0.00408,0c-1.37912,1.37912 -2.15846,3.252 -2.15846,5.20239c0,1.95039 0.77933,3.82327 2.15846,5.20239l34.77626,34.7679c2.87252,2.87252 7.53216,2.87252 10.40467,0l41.9001,-41.9001c1.53006,-1.53006 2.3094,-3.65186 2.12587,-5.80624l-2.66857,-32.10363zm-10.6492,13.01616c-2.36654,2.35839 -6.06738,2.72565 -8.8461,0.8691s-3.85586,-5.41861 -2.57879,-8.50735c1.28125,-3.08467 4.56177,-4.8392 7.83821,-4.18635c3.27645,0.65284 5.63483,3.52944 5.63483,6.86709l0,0.00408c0.00816,1.85648 -0.73037,3.63964 -2.04826,4.95347l0.0001,-0.00004z"
|
||||||
|
})]
|
||||||
|
})
|
||||||
|
}),
|
||||||
|
foreground: "#136f63"
|
||||||
|
},
|
||||||
edit: _edit__WEBPACK_IMPORTED_MODULE_2__["default"],
|
edit: _edit__WEBPACK_IMPORTED_MODULE_2__["default"],
|
||||||
/**
|
|
||||||
* @see ./save.js
|
|
||||||
*/
|
|
||||||
save: _save__WEBPACK_IMPORTED_MODULE_3__["default"]
|
save: _save__WEBPACK_IMPORTED_MODULE_3__["default"]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,39 +1,22 @@
|
||||||
/**
|
import { registerBlockType } from "@wordpress/blocks";
|
||||||
* Registers a new block provided a unique name and an object defining its behavior.
|
import "./style.scss";
|
||||||
*
|
|
||||||
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
|
|
||||||
*/
|
|
||||||
import { registerBlockType } from '@wordpress/blocks';
|
|
||||||
|
|
||||||
/**
|
import Edit from "./edit";
|
||||||
* Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.
|
import save from "./save";
|
||||||
* All files containing `style` keyword are bundled together. The code used
|
import metadata from "./block.json";
|
||||||
* 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';
|
|
||||||
|
|
||||||
/**
|
registerBlockType(metadata.name, {
|
||||||
* Internal dependencies
|
icon: {
|
||||||
*/
|
src: (
|
||||||
import Edit from './edit';
|
<svg width="100" height="100" viewBox="0 0 100 100">
|
||||||
import save from './save';
|
<g>
|
||||||
import metadata from './block.json';
|
<path d="m93.4586,23.83625l1.57497,18.94503l0,0.00408c0.24482,2.87252 -0.79157,5.71244 -2.83168,7.75256l-41.89592,41.89592c-0.13057,0.13057 -0.2693,0.26114 -0.40802,0.38355l8.20548,4.73307c3.51721,2.02789 8.00962,0.82421 10.04159,-2.68888l29.6308,-51.32613c1.08539,-1.86881 1.28532,-4.12514 0.55492,-6.16118l-4.87213,-13.53802z" />
|
||||||
|
<path d="m89.93323,10.8859c-0.2897,-3.58657 -3.13365,-6.43047 -6.71615,-6.71615l-32.10325,-2.67666c-0.20401,-0.01633 -0.40802,-0.02448 -0.61204,-0.02448l0,-0.00407c-1.94631,0 -3.81502,0.77526 -5.19017,2.15439l-41.91263,41.90428l-0.00408,0c-1.37912,1.37912 -2.15846,3.252 -2.15846,5.20239c0,1.95039 0.77933,3.82327 2.15846,5.20239l34.77626,34.7679c2.87252,2.87252 7.53216,2.87252 10.40467,0l41.9001,-41.9001c1.53006,-1.53006 2.3094,-3.65186 2.12587,-5.80624l-2.66857,-32.10363zm-10.6492,13.01616c-2.36654,2.35839 -6.06738,2.72565 -8.8461,0.8691s-3.85586,-5.41861 -2.57879,-8.50735c1.28125,-3.08467 4.56177,-4.8392 7.83821,-4.18635c3.27645,0.65284 5.63483,3.52944 5.63483,6.86709l0,0.00408c0.00816,1.85648 -0.73037,3.63964 -2.04826,4.95347l0.0001,-0.00004z" />
|
||||||
/**
|
</g>
|
||||||
* Every block starts by registering a new block type definition.
|
</svg>
|
||||||
*
|
),
|
||||||
* @see https://developer.wordpress.org/block-editor/reference-guides/block-api/block-registration/
|
foreground: "#136f63",
|
||||||
*/
|
},
|
||||||
registerBlockType( metadata.name, {
|
|
||||||
/**
|
|
||||||
* @see ./edit.js
|
|
||||||
*/
|
|
||||||
edit: Edit,
|
edit: Edit,
|
||||||
|
|
||||||
/**
|
|
||||||
* @see ./save.js
|
|
||||||
*/
|
|
||||||
save,
|
save,
|
||||||
} );
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user