PluginProbe
Gutenberg / 14.5.2
Gutenberg v14.5.2
24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 12.6.0 All 403 releases
← All changes | build/primitives/index.js +48 -39 12.6.0 → 14.5.2 View file →
@@ -1,9 +1,9 @@
1 -/******/ (function() { // webpackBootstrap
1 +/******/ (() => { // webpackBootstrap
2 2 /******/ var __webpack_modules__ = ({
3 3
4 -/***/ 4184:
5 -/***/ (function(module, exports) {
4 +/***/ 4403:
5 +/***/ ((module, exports) => {
6 6
7 7 var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
8 8 Copyright (c) 2018 Jed Watson.
9 9 Licensed under the MIT License (MIT), see
@@ -92,23 +92,23 @@
92 92 /******/ }
93 93 /******/
94 94 /************************************************************************/
95 95 /******/ /* webpack/runtime/compat get default export */
96 -/******/ !function() {
96 +/******/ (() => {
97 97 /******/ // getDefaultExport function for compatibility with non-harmony modules
98 -/******/ __webpack_require__.n = function(module) {
98 +/******/ __webpack_require__.n = (module) => {
99 99 /******/ var getter = module && module.__esModule ?
100 -/******/ function() { return module['default']; } :
101 -/******/ function() { return module; };
100 +/******/ () => (module['default']) :
101 +/******/ () => (module);
102 102 /******/ __webpack_require__.d(getter, { a: getter });
103 103 /******/ return getter;
104 104 /******/ };
105 -/******/ }();
105 +/******/ })();
106 106 /******/
107 107 /******/ /* webpack/runtime/define property getters */
108 -/******/ !function() {
108 +/******/ (() => {
109 109 /******/ // define getter functions for harmony exports
110 -/******/ __webpack_require__.d = function(exports, definition) {
110 +/******/ __webpack_require__.d = (exports, definition) => {
111 111 /******/ for(var key in definition) {
112 112 /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
113 113 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
114 114 /******/ }
@@ -113,30 +113,30 @@
113 113 /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
114 114 /******/ }
115 115 /******/ }
116 116 /******/ };
117 -/******/ }();
117 +/******/ })();
118 118 /******/
119 119 /******/ /* webpack/runtime/hasOwnProperty shorthand */
120 -/******/ !function() {
121 -/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
122 -/******/ }();
120 +/******/ (() => {
121 +/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
122 +/******/ })();
123 123 /******/
124 124 /******/ /* webpack/runtime/make namespace object */
125 -/******/ !function() {
125 +/******/ (() => {
126 126 /******/ // define __esModule on exports
127 -/******/ __webpack_require__.r = function(exports) {
127 +/******/ __webpack_require__.r = (exports) => {
128 128 /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
129 129 /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
130 130 /******/ }
131 131 /******/ Object.defineProperty(exports, '__esModule', { value: true });
132 132 /******/ };
133 -/******/ }();
133 +/******/ })();
134 134 /******/
135 135 /************************************************************************/
136 136 var __webpack_exports__ = {};
137 137 // This entry need to be wrapped in an IIFE because it need to be in strict mode.
138 -!function() {
138 +(() => {
139 139 "use strict";
140 140 // ESM COMPAT FLAG
141 141 __webpack_require__.r(__webpack_exports__);
142 142
@@ -141,28 +141,29 @@
141 141 __webpack_require__.r(__webpack_exports__);
142 142
143 143 // EXPORTS
144 144 __webpack_require__.d(__webpack_exports__, {
145 - "BlockQuotation": function() { return /* reexport */ BlockQuotation; },
146 - "Circle": function() { return /* reexport */ Circle; },
147 - "Defs": function() { return /* reexport */ Defs; },
148 - "G": function() { return /* reexport */ G; },
149 - "HorizontalRule": function() { return /* reexport */ HorizontalRule; },
150 - "LinearGradient": function() { return /* reexport */ LinearGradient; },
151 - "Path": function() { return /* reexport */ Path; },
152 - "Polygon": function() { return /* reexport */ Polygon; },
153 - "RadialGradient": function() { return /* reexport */ RadialGradient; },
154 - "Rect": function() { return /* reexport */ Rect; },
155 - "SVG": function() { return /* reexport */ SVG; },
156 - "Stop": function() { return /* reexport */ Stop; },
157 - "View": function() { return /* reexport */ View; }
145 + "BlockQuotation": () => (/* reexport */ BlockQuotation),
146 + "Circle": () => (/* reexport */ Circle),
147 + "Defs": () => (/* reexport */ Defs),
148 + "G": () => (/* reexport */ G),
149 + "HorizontalRule": () => (/* reexport */ HorizontalRule),
150 + "Line": () => (/* reexport */ Line),
151 + "LinearGradient": () => (/* reexport */ LinearGradient),
152 + "Path": () => (/* reexport */ Path),
153 + "Polygon": () => (/* reexport */ Polygon),
154 + "RadialGradient": () => (/* reexport */ RadialGradient),
155 + "Rect": () => (/* reexport */ Rect),
156 + "SVG": () => (/* reexport */ SVG),
157 + "Stop": () => (/* reexport */ Stop),
158 + "View": () => (/* reexport */ View)
158 159 });
159 160
160 161 // EXTERNAL MODULE: ./node_modules/classnames/index.js
161 -var classnames = __webpack_require__(4184);
162 +var classnames = __webpack_require__(4403);
162 163 var classnames_default = /*#__PURE__*/__webpack_require__.n(classnames);
163 164 ;// CONCATENATED MODULE: external ["wp","element"]
164 -var external_wp_element_namespaceObject = window["wp"]["element"];
165 +const external_wp_element_namespaceObject = window["wp"]["element"];
165 166 ;// CONCATENATED MODULE: ./packages/primitives/build-module/svg/index.js
166 167 /**
167 168 * External dependencies
168 169 */
@@ -188,8 +189,15 @@
188 189 */
189 190
190 191 const G = props => (0,external_wp_element_namespaceObject.createElement)('g', props);
191 192 /**
193 + * @param {import('react').ComponentPropsWithoutRef<'line'>} props
194 + *
195 + * @return {JSX.Element} Path component
196 + */
197 +
198 +const Line = props => (0,external_wp_element_namespaceObject.createElement)('line', props);
199 +/**
192 200 * @param {import('react').ComponentPropsWithoutRef<'path'>} props
193 201 *
194 202 * @return {JSX.Element} Path component
195 203 */
@@ -261,24 +269,25 @@
261 269 // eslint-disable-next-line react/forbid-elements
262 270
263 271 return (0,external_wp_element_namespaceObject.createElement)("svg", appliedProps);
264 272 };
265 -//# sourceMappingURL=index.js.map
273 +
266 274 ;// CONCATENATED MODULE: ./packages/primitives/build-module/horizontal-rule/index.js
267 275 const HorizontalRule = 'hr';
268 -//# sourceMappingURL=index.js.map
276 +
269 277 ;// CONCATENATED MODULE: ./packages/primitives/build-module/block-quotation/index.js
270 278 const BlockQuotation = 'blockquote';
271 -//# sourceMappingURL=index.js.map
279 +
272 280 ;// CONCATENATED MODULE: ./packages/primitives/build-module/view/index.js
273 281 const View = 'div';
274 -//# sourceMappingURL=index.js.map
282 +
275 283 ;// CONCATENATED MODULE: ./packages/primitives/build-module/index.js
276 284
277 285
278 286
279 287
280 -//# sourceMappingURL=index.js.map
281 -}();
288 +
289 +})();
290 +
282 291 (window.wp = window.wp || {}).primitives = __webpack_exports__;
283 292 /******/ })()
284 293 ;