diff --git a/dist/blocks.build.js b/dist/blocks.build.js index dda08914..3ee9cef5 100644 --- a/dist/blocks.build.js +++ b/dist/blocks.build.js @@ -370,7 +370,7 @@ eval("/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 27);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_background_options__ = __webpack_require__(/*! ../../components/background-options */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_text_options__ = __webpack_require__(/*! ../../components/text-options */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_other_options__ = __webpack_require__(/*! ../../components/other-options */ 3);\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n/**\n * BLOCK: Default Block\n *\n * This block was meant to be duplicated.\n * It serves as the starting point for new blocks. 😀\n */\n\n/**\n * External dependencies\n */\n // Import NPM libraries here.\n\n/**\n * WordPress dependencies\n */\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n InspectorControls = _wp$blocks.InspectorControls,\n registerBlockType = _wp$blocks.registerBlockType,\n RichText = _wp$blocks.RichText;\n\n/**\n * Internal dependencies\n */\n\n\n\n// Import all of our Background Options requirements.\n\n\n// Import all of our Text Options requirements.\n\n\n// Import all of our Other Options requirements.\n\n\n/**\n * Register block\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType('wds/default', { // Namespaced with 'wds/', lowercase, hyphenated.\n\t// Localize title using wp.i18n.__()\n\ttitle: __('WDS Default Block: Duplicate Me'),\n\t// Description: Write a quick description.\n\tdescription: __('Optional description.'),\n\t// Category options: common, formatting, layout, widgets, embed.\n\tcategory: 'common',\n\t// Can use a Dashicon (see https://developer.wordpress.org/resource/dashicons/) or an imported SVG.\n\ticon: 'sos',\n\t// Limit to 3 keywords/phrases. Users will see your block when they search using these keywords.\n\tkeywords: [__('Options'), __('Editable'), __('Multiline')],\n\t// Set for each piece of dynamic data used in your block.\n\t// https://wordpress.org/gutenberg/handbook/block-api/attributes/\n\tattributes: Object.assign({\n\t\tmessage: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block'\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"a\" /* OtherOptionsAttributes */]),\n\t// Determines what is displayed in the editor.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#edit\n\tedit: function edit(props) {\n\t\t// Event handler to update the value of the content when changed in editor.\n\t\tvar setMessageAttribute = function setMessageAttribute(value) {\n\t\t\tprops.setAttributes({ message: value });\n\t\t};\n\t\t// Return the markup displayed in the editor, including a core Editable field.\n\t\treturn [!!props.focus && wp.element.createElement(\n\t\t\tInspectorControls,\n\t\t\t{ key: 'inspector' },\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"e\" /* default */])(props),\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"c\" /* default */])(props),\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"c\" /* default */])(props)\n\t\t), wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tkey: 'editable-content-example-block-with-options',\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'content-block-header' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\t{\n\t\t\t\t\t\tstyle: {\n\t\t\t\t\t\t\tcolor: props.attributes.textColor ? props.attributes.textColor : null\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t__('WDS Default Block')\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(RichText, {\n\t\t\t\ttagName: 'div',\n\t\t\t\tmultiline: 'p',\n\t\t\t\tclassName: 'content-block',\n\t\t\t\tplaceholder: __('To customize this block, click on \"Show Advanced Settings\"'),\n\t\t\t\tonChange: setMessageAttribute,\n\t\t\t\tvalue: props.attributes.message,\n\t\t\t\tfocus: props.focus,\n\t\t\t\tonFocus: props.setFocus\n\t\t\t})\n\t\t)];\n\t},\n\t// Determines what is displayed on the front-end.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#save\n\t//\n\t// For dynamic blocks, you can return null here and define a render callback function in PHP.\n\t// https://wordpress.org/gutenberg/handbook/blocks/creating-dynamic-blocks/\n\tsave: function save(props) {\n\t\treturn wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'content-block-header' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('WDS Example Block with Options')\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\tprops.attributes.message\n\t\t\t)\n\t\t);\n\t}\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2RlZmF1bHQvaW5kZXguanM/NTNhMCJdLCJzb3VyY2VzQ29udGVudCI6WyJmdW5jdGlvbiBfdG9Db25zdW1hYmxlQXJyYXkoYXJyK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O0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///26\n"); +eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss__ = __webpack_require__(/*! ./style.scss */ 27);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__components_background_options__ = __webpack_require__(/*! ../../components/background-options */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_text_options__ = __webpack_require__(/*! ../../components/text-options */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_other_options__ = __webpack_require__(/*! ../../components/other-options */ 3);\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n/**\n * BLOCK: Default Block\n *\n * This block was meant to be duplicated.\n * It serves as the starting point for new blocks. 😀\n */\n\n/**\n * External dependencies\n */\n // Import NPM libraries here.\n\n/**\n * WordPress dependencies\n */\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n InspectorControls = _wp$blocks.InspectorControls,\n registerBlockType = _wp$blocks.registerBlockType,\n RichText = _wp$blocks.RichText;\n\n/**\n * Internal dependencies\n */\n\n\n\n// Import all of our Background Options requirements.\n\n\n// Import all of our Text Options requirements.\n\n\n// Import all of our Other Options requirements.\n\n\n/**\n * Register block\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType('wds/default', { // Namespaced with 'wds/', lowercase, hyphenated.\n\t// Localize title using wp.i18n.__()\n\ttitle: __('WDS Default Block: Duplicate Me'),\n\t// Description: Write a quick description.\n\tdescription: __('Optional description.'),\n\t// Category options: common, formatting, layout, widgets, embed.\n\tcategory: 'common',\n\t// Can use a Dashicon (see https://developer.wordpress.org/resource/dashicons/) or an imported SVG.\n\ticon: 'sos',\n\t// Limit to 3 keywords/phrases. Users will see your block when they search using these keywords.\n\tkeywords: [__('Options'), __('Editable'), __('Multiline')],\n\t// Set for each piece of dynamic data used in your block.\n\t// https://wordpress.org/gutenberg/handbook/block-api/attributes/\n\tattributes: Object.assign({\n\t\tmessage: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block'\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"a\" /* OtherOptionsAttributes */]),\n\t// Determines what is displayed in the editor.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#edit\n\tedit: function edit(props) {\n\t\t// Event handler to update the value of the content when changed in editor.\n\t\tvar setMessageAttribute = function setMessageAttribute(value) {\n\t\t\tprops.setAttributes({ message: value });\n\t\t};\n\t\t// Return the markup displayed in the editor, including a core Editable field.\n\t\treturn [!!props.focus && wp.element.createElement(\n\t\t\tInspectorControls,\n\t\t\t{ key: 'inspector' },\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"e\" /* default */])(props),\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"c\" /* default */])(props),\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"c\" /* default */])(props)\n\t\t), wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tkey: 'editable-content-example-block-with-options',\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'content-block-header' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\t{\n\t\t\t\t\t\tstyle: {\n\t\t\t\t\t\t\tcolor: props.attributes.textColor ? props.attributes.textColor : null\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\t__('WDS Default Block')\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(RichText, {\n\t\t\t\ttagName: 'div',\n\t\t\t\tmultiline: 'p',\n\t\t\t\tclassName: 'content-block',\n\t\t\t\tplaceholder: __('To customize this block, click on \"Show Advanced Settings\"'),\n\t\t\t\tonChange: setMessageAttribute,\n\t\t\t\tvalue: props.attributes.message,\n\t\t\t\tfocus: props.focus,\n\t\t\t\tonFocus: props.setFocus\n\t\t\t})\n\t\t)];\n\t},\n\t// Determines what is displayed on the front-end.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#save\n\t//\n\t// For dynamic blocks, you can return null here and define a render callback function in PHP.\n\t// https://wordpress.org/gutenberg/handbook/blocks/creating-dynamic-blocks/\n\tsave: function save(props) {\n\t\treturn wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(\n\t\t\t\t'header',\n\t\t\t\t{ className: 'content-block-header' },\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'h2',\n\t\t\t\t\tnull,\n\t\t\t\t\t__('WDS Example Block with Options')\n\t\t\t\t)\n\t\t\t),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\tprops.attributes.message\n\t\t\t)\n\t\t);\n\t},\n\tdeprecated: [{\n\t\tattributes: Object.assign({\n\t\t\tmessage: {\n\t\t\t\ttype: 'array',\n\t\t\t\tsource: 'children',\n\t\t\t\tselector: '.content-block'\n\t\t\t}\n\t\t}, __WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"a\" /* OtherOptionsAttributes */]),\n\t\tsave: function save(props) {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'section',\n\t\t\t\t{\n\t\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_0_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_3__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t\t},\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_2__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'header',\n\t\t\t\t\t{ className: 'content-block-header' },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t'h2',\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t__('WDS Example Block with Options')\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\t\tprops.attributes.message\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\t}]\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMjYuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2RlZmF1bHQvaW5kZXguanM/NTNhMCJdLCJzb3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n//# sourc /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; -eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 41);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 42);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_block_title__ = __webpack_require__(/*! ../../components/block-title */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_background_options__ = __webpack_require__(/*! ../../components/background-options */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_text_options__ = __webpack_require__(/*! ../../components/text-options */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_other_options__ = __webpack_require__(/*! ../../components/other-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_button_link__ = __webpack_require__(/*! ../../components/button-link */ 5);\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n/**\n * BLOCK: Hero Block\n *\n * Display a Hero block with an optional background image, video, or color and stylized button-link.\n */\n\n/**\n * WordPress dependencies\n */\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n AlignmentToolbar = _wp$blocks.AlignmentToolbar,\n BlockControls = _wp$blocks.BlockControls,\n InspectorControls = _wp$blocks.InspectorControls,\n registerBlockType = _wp$blocks.registerBlockType,\n RichText = _wp$blocks.RichText;\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n// Import our Block Title component.\n\n\n// Import all of our Background Options requirements.\n\n\n// Import all of our Text Options requirements.\n\n\n// Import all of our Other Options requirements.\n\n\n// Import all of our ButtonLink requirements.\n\n\n/**\n * Register block\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType(\n// Namespaced with 'wds', lowercase, hyphenated. Example: 'wds/example-block-name'\n'wds/hero', {\n\t// Localize title using wp.i18n.__()\n\ttitle: __('WDS Hero Block'),\n\t// Description: Write a quick description.\n\tdescription: __('A full-width hero with a video, image, or color background.'),\n\t// Category options: common, formatting, layout, widgets, embed.\n\tcategory: 'common',\n\t// Can use a Dashicon (see https://developer.wordpress.org/resource/dashicons/) or an imported SVG.\n\ticon: 'format-image',\n\t// Limit to 3 keywords/phrases. Users will see your block when they search using these keywords.\n\tkeywords: [__('Hero'), __('Background')],\n\t// Set for each piece of dynamic data used in your block.\n\t// https://wordpress.org/gutenberg/handbook/block-api/attributes/\n\tattributes: Object.assign({\n\t\tmessage: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block'\n\t\t},\n\t\talignment: {\n\t\t\ttype: 'string'\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"a\" /* BlockTitleAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"a\" /* OtherOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_7__components_button_link__[\"a\" /* ButtonLinkAttributes */]),\n\t// Determines what is displayed in the editor.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#edit\n\tedit: function edit(props) {\n\t\t// Event handler to update the value of the content when changed in editor.\n\t\tvar onChangeMessage = function onChangeMessage(value) {\n\t\t\tprops.setAttributes({ message: value });\n\t\t};\n\n\t\t// Listen for an alignment change.\n\t\tvar onChangeAlignment = function onChangeAlignment(value) {\n\t\t\tprops.setAttributes({ alignment: value });\n\t\t};\n\t\t// Return the markup displayed in the editor, including a core Editable field.\n\t\treturn [!!props.isSelected && wp.element.createElement(\n\t\t\tInspectorControls,\n\t\t\t{ key: 'inspector' },\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"e\" /* default */], props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"c\" /* default */], props)\n\t\t), !!props.isSelected && wp.element.createElement(\n\t\t\tBlockControls,\n\t\t\t{ key: 'controls' },\n\t\t\twp.element.createElement(AlignmentToolbar, {\n\t\t\t\tvalue: props.attributes.alignment,\n\t\t\t\tonChange: onChangeAlignment\n\t\t\t})\n\t\t), wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tkey: 'editable-content-example-block-with-options',\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_2_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(RichText, {\n\t\t\t\ttagName: 'div',\n\t\t\t\tmultiline: 'p',\n\t\t\t\tclassName: 'content-block',\n\t\t\t\tplaceholder: __('To customize this block, click on \"Show Advanced Settings\"'),\n\t\t\t\tonChange: onChangeMessage,\n\t\t\t\tvalue: props.attributes.message,\n\t\t\t\tfocus: props.isSelected,\n\t\t\t\tonFocus: props.setFocus,\n\t\t\t\tstyle: {\n\t\t\t\t\ttextAlign: props.attributes.alignment\n\t\t\t\t}\n\t\t\t}),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_7__components_button_link__[\"c\" /* default */], _extends({\n\t\t\t\tplaceholder: __('Click Here')\n\t\t\t}, props))\n\t\t)];\n\t},\n\t// Determines what is displayed on the front-end.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#save\n\t//\n\t// For dynamic blocks, you can return null here and define a render callback function in PHP.\n\t// https://wordpress.org/gutenberg/handbook/blocks/creating-dynamic-blocks/\n\tsave: function save(props) {\n\t\treturn wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_2_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props), {\n\t\t\t\t\ttextAlign: props.attributes.alignment\n\t\t\t\t})\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"b\" /* BlockTitleOutput */], props),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\tprops.attributes.message\n\t\t\t),\n\t\t\tprops.attributes.buttonUrl ? wp.element.createElement(\n\t\t\t\t'footer',\n\t\t\t\t{ className: 'contenet-block-footer' },\n\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_7__components_button_link__[\"b\" /* ButtonLinkOutput */], props)\n\t\t\t) : null\n\t\t);\n\t}\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2hlcm8vaW5kZXguanM/OWVjNCJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdX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NBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///40\n"); +eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss__ = __webpack_require__(/*! ./style.scss */ 41);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__style_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__style_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss__ = __webpack_require__(/*! ./editor.scss */ 42);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__editor_scss___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__editor_scss__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames__ = __webpack_require__(/*! classnames */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_classnames___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_classnames__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__components_block_title__ = __webpack_require__(/*! ../../components/block-title */ 4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__components_background_options__ = __webpack_require__(/*! ../../components/background-options */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__components_text_options__ = __webpack_require__(/*! ../../components/text-options */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__components_other_options__ = __webpack_require__(/*! ../../components/other-options */ 3);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__components_button_link__ = __webpack_require__(/*! ../../components/button-link */ 5);\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }\n\n/**\n * BLOCK: Hero Block\n *\n * Display a Hero block with an optional background image, video, or color and stylized button-link.\n */\n\n/**\n * WordPress dependencies\n */\nvar __ = wp.i18n.__;\nvar _wp$blocks = wp.blocks,\n AlignmentToolbar = _wp$blocks.AlignmentToolbar,\n BlockControls = _wp$blocks.BlockControls,\n InspectorControls = _wp$blocks.InspectorControls,\n registerBlockType = _wp$blocks.registerBlockType,\n RichText = _wp$blocks.RichText;\n\n/**\n * Internal dependencies\n */\n\n\n\n\n\n// Import our Block Title component.\n\n\n// Import all of our Background Options requirements.\n\n\n// Import all of our Text Options requirements.\n\n\n// Import all of our Other Options requirements.\n\n\n// Import all of our ButtonLink requirements.\n\n\n/**\n * Register block\n *\n * @link https://wordpress.org/gutenberg/handbook/block-api/\n * @param {string} name Block name.\n * @param {Object} settings Block settings.\n * @return {?WPBlock} The block, if it has been successfully\n * registered; otherwise `undefined`.\n */\n/* unused harmony default export */ var _unused_webpack_default_export = (registerBlockType(\n// Namespaced with 'wds', lowercase, hyphenated. Example: 'wds/example-block-name'\n'wds/hero', {\n\t// Localize title using wp.i18n.__()\n\ttitle: __('WDS Hero Block'),\n\t// Description: Write a quick description.\n\tdescription: __('A full-width hero with a video, image, or color background.'),\n\t// Category options: common, formatting, layout, widgets, embed.\n\tcategory: 'common',\n\t// Can use a Dashicon (see https://developer.wordpress.org/resource/dashicons/) or an imported SVG.\n\ticon: 'format-image',\n\t// Limit to 3 keywords/phrases. Users will see your block when they search using these keywords.\n\tkeywords: [__('Hero'), __('Background')],\n\t// Set for each piece of dynamic data used in your block.\n\t// https://wordpress.org/gutenberg/handbook/block-api/attributes/\n\tattributes: Object.assign({\n\t\tmessage: {\n\t\t\ttype: 'array',\n\t\t\tsource: 'children',\n\t\t\tselector: '.content-block'\n\t\t},\n\t\talignment: {\n\t\t\ttype: 'string'\n\t\t}\n\t}, __WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"a\" /* BlockTitleAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"a\" /* OtherOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_7__components_button_link__[\"a\" /* ButtonLinkAttributes */]),\n\t// Determines what is displayed in the editor.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#edit\n\tedit: function edit(props) {\n\t\t// Event handler to update the value of the content when changed in editor.\n\t\tvar onChangeMessage = function onChangeMessage(value) {\n\t\t\tprops.setAttributes({ message: value });\n\t\t};\n\n\t\t// Listen for an alignment change.\n\t\tvar onChangeAlignment = function onChangeAlignment(value) {\n\t\t\tprops.setAttributes({ alignment: value });\n\t\t};\n\t\t// Return the markup displayed in the editor, including a core Editable field.\n\t\treturn [!!props.isSelected && wp.element.createElement(\n\t\t\tInspectorControls,\n\t\t\t{ key: 'inspector' },\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"e\" /* default */], props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"c\" /* default */], props)\n\t\t), !!props.isSelected && wp.element.createElement(\n\t\t\tBlockControls,\n\t\t\t{ key: 'controls' },\n\t\t\twp.element.createElement(AlignmentToolbar, {\n\t\t\t\tvalue: props.attributes.alignment,\n\t\t\t\tonChange: onChangeAlignment\n\t\t\t})\n\t\t), wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tkey: 'editable-content-example-block-with-options',\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_2_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props))\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"c\" /* default */], props),\n\t\t\twp.element.createElement(RichText, {\n\t\t\t\ttagName: 'div',\n\t\t\t\tmultiline: 'p',\n\t\t\t\tclassName: 'content-block',\n\t\t\t\tplaceholder: __('To customize this block, click on \"Show Advanced Settings\"'),\n\t\t\t\tonChange: onChangeMessage,\n\t\t\t\tvalue: props.attributes.message,\n\t\t\t\tfocus: props.isSelected,\n\t\t\t\tonFocus: props.setFocus,\n\t\t\t\tstyle: {\n\t\t\t\t\ttextAlign: props.attributes.alignment\n\t\t\t\t}\n\t\t\t}),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_7__components_button_link__[\"c\" /* default */], _extends({\n\t\t\t\tplaceholder: __('Click Here')\n\t\t\t}, props))\n\t\t)];\n\t},\n\t// Determines what is displayed on the front-end.\n\t// https://wordpress.org/gutenberg/handbook/block-api/block-edit-save/#save\n\t//\n\t// For dynamic blocks, you can return null here and define a render callback function in PHP.\n\t// https://wordpress.org/gutenberg/handbook/blocks/creating-dynamic-blocks/\n\tsave: function save(props) {\n\t\treturn wp.element.createElement(\n\t\t\t'section',\n\t\t\t{\n\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_2_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props), {\n\t\t\t\t\ttextAlign: props.attributes.alignment\n\t\t\t\t})\n\t\t\t},\n\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"b\" /* BlockTitleOutput */], props),\n\t\t\twp.element.createElement(\n\t\t\t\t'div',\n\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\tprops.attributes.message\n\t\t\t),\n\t\t\tprops.attributes.buttonUrl ? wp.element.createElement(\n\t\t\t\t'footer',\n\t\t\t\t{ className: 'contenet-block-footer' },\n\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_7__components_button_link__[\"b\" /* ButtonLinkOutput */], props)\n\t\t\t) : null\n\t\t);\n\t},\n\tdeprecated: [{\n\t\tattributes: Object.assign({\n\t\t\tmessage: {\n\t\t\t\ttype: 'array',\n\t\t\t\tsource: 'children',\n\t\t\t\tselector: '.content-block'\n\t\t\t},\n\t\t\talignment: {\n\t\t\t\ttype: 'string'\n\t\t\t}\n\t\t}, __WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"a\" /* BlockTitleAttributes */], __WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"a\" /* BackgroundOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"a\" /* TextOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"a\" /* OtherOptionsAttributes */], __WEBPACK_IMPORTED_MODULE_7__components_button_link__[\"a\" /* ButtonLinkAttributes */]),\n\t\tsave: function save(props) {\n\t\t\treturn wp.element.createElement(\n\t\t\t\t'section',\n\t\t\t\t{\n\t\t\t\t\tclassName: __WEBPACK_IMPORTED_MODULE_2_classnames___default.a.apply(undefined, [props.className].concat(_toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"b\" /* BackgroundOptionsClasses */])(props)), _toConsumableArray(Object(__WEBPACK_IMPORTED_MODULE_6__components_other_options__[\"b\" /* OtherOptionsClasses */])(props)))),\n\t\t\t\t\tstyle: Object.assign({}, Object(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"c\" /* BackgroundOptionsInlineStyles */])(props), Object(__WEBPACK_IMPORTED_MODULE_5__components_text_options__[\"b\" /* TextOptionsInlineStyles */])(props), {\n\t\t\t\t\t\ttextAlign: props.attributes.alignment\n\t\t\t\t\t})\n\t\t\t\t},\n\t\t\t\tObject(__WEBPACK_IMPORTED_MODULE_4__components_background_options__[\"d\" /* BackgroundOptionsVideoOutput */])(props),\n\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__components_block_title__[\"b\" /* BlockTitleOutput */], props),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t'div',\n\t\t\t\t\t{ className: 'content-block-content content-block' },\n\t\t\t\t\tprops.attributes.message\n\t\t\t\t),\n\t\t\t\tprops.attributes.buttonUrl ? wp.element.createElement(\n\t\t\t\t\t'footer',\n\t\t\t\t\t{ className: 'contenet-block-footer' },\n\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_7__components_button_link__[\"b\" /* ButtonLinkOutput */], props)\n\t\t\t\t) : null\n\t\t\t);\n\t\t}\n\t}]\n}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNDAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2tzL2hlcm8vaW5kZXguanM/OWVjNCJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgX2V4dGVuZHMgPSBPYmplY3QuYXNzaWduIHx8IGZ1bmN0aW9uICh0YXJnZXQpIHsgZm9yICh2YXIgaSA9IDE7IGkgPCBhcmd1bWVudHMubGVuZ3RoOyBpKyspIHsgdmFyIHNvdXJjZSA9IGFyZ3VtZW50c1tpXTsgZm9yICh2YXIga2V5IGluIHNvdXJjZSkgeyBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKHNvdXJjZSwga2V5KSkgeyB0YXJnZXRba2V5XSA9IHNvdXJjZVtrZXldOyB9IH0gfSByZXR1cm4gdGFyZ2V0OyB9O1xuXG5mdW5jdGlvbiBfdG9Db25zdW1hYmxlQXJyYXkoYXJyKSB7IGlmIChBcnJheS5pc0FycmF5KGFycikpIHsgZm9yICh2YXIgaSA9IDAsIG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FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///40\n"); /***/ }), /* 41 */ diff --git a/src/blocks/default/index.js b/src/blocks/default/index.js index 281a0200..8c1fa406 100644 --- a/src/blocks/default/index.js +++ b/src/blocks/default/index.js @@ -155,4 +155,44 @@ export default registerBlockType( 'wds/default', { // Namespaced with 'wds/', lo ); }, + deprecated: [ + { + attributes: { + message: { + type: 'array', + source: 'children', + selector: '.content-block', + }, + ...BackgroundOptionsAttributes, + ...TextOptionsAttributes, + ...OtherOptionsAttributes, + }, + save( props ) { + return ( +
+ + { BackgroundOptionsVideoOutput( props ) } + +
+

{ __( 'WDS Example Block with Options' ) }

+
+ +
+ { props.attributes.message } +
+
+ ); + }, + }, + ], } ); diff --git a/src/blocks/hero/index.js b/src/blocks/hero/index.js index a6fa8661..d55ebe30 100644 --- a/src/blocks/hero/index.js +++ b/src/blocks/hero/index.js @@ -199,5 +199,62 @@ export default registerBlockType( ); }, + deprecated: [ + { + attributes: { + message: { + type: 'array', + source: 'children', + selector: '.content-block', + }, + alignment: { + type: 'string', + }, + ...BlockTitleAttributes, + ...BackgroundOptionsAttributes, + ...TextOptionsAttributes, + ...OtherOptionsAttributes, + ...ButtonLinkAttributes, + }, + save( props ) { + return ( +
+ + { BackgroundOptionsVideoOutput( props ) } + + + +
+ { props.attributes.message } +
+ + { props.attributes.buttonUrl ? ( + + ) : ( + null + ) } + +
+ ); + }, + }, + ], }, );