diff --git a/blocks/timeline/build/block.json b/blocks/timeline/build/block.json
index 0a67269..3906ff3 100644
--- a/blocks/timeline/build/block.json
+++ b/blocks/timeline/build/block.json
@@ -14,6 +14,16 @@
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"attributes": {
+ "hasTitle": {
+ "type": "boolean",
+ "default": true
+ },
+ "blockTitle": {
+ "type": "string"
+ },
+ "blockSubtitle": {
+ "type": "string"
+ },
"hasLateralCover": {
"type": "boolean",
"default": false
@@ -27,6 +37,12 @@
"lateralCoverAlt": {
"type": "string"
},
+ "lateralCoverCaption": {
+ "type": "string"
+ },
+ "lateralCoverDescription": {
+ "type": "string"
+ },
"hasStepPictures": {
"type": "boolean",
"default": true
@@ -35,7 +51,7 @@
"type": "boolean",
"default": true
},
- "stepPictureFormat": {
+ "lateralPicturesFormat": {
"type": "string",
"default": "md"
}
diff --git a/blocks/timeline/build/index.asset.php b/blocks/timeline/build/index.asset.php
index 82b6f57..48adbee 100644
--- a/blocks/timeline/build/index.asset.php
+++ b/blocks/timeline/build/index.asset.php
@@ -1 +1 @@
- array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'fddbf94156c32fb6a84b');
+ array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => 'be9ed402b020cb138b51');
diff --git a/blocks/timeline/build/index.js b/blocks/timeline/build/index.js
index 03a0f70..c09ca09 100644
--- a/blocks/timeline/build/index.js
+++ b/blocks/timeline/build/index.js
@@ -2,243 +2,6 @@
/******/ "use strict";
/******/ var __webpack_modules__ = ({
-/***/ "../_components/Image.jsx":
-/*!********************************!*\
- !*** ../_components/Image.jsx ***!
- \********************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (/* binding */ Image)
-/* harmony export */ });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-
-function Image({
- imageUrl,
- imageAlt,
- imageProportion
-}) {
- return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
- src: imageUrl,
- alt: imageAlt,
- className: `homegrade-blocks-components-image homegrade-blocks-components-image--${imageProportion}-ratio`
- });
-}
-
-/***/ }),
-
-/***/ "../_components/ImageMediaPlaceholder.jsx":
-/*!************************************************!*\
- !*** ../_components/ImageMediaPlaceholder.jsx ***!
- \************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (/* binding */ ImageMediaPlaceholder)
-/* harmony export */ });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
-/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__);
-
-
-function ImageMediaPlaceholder({
- imageId,
- imageAlt,
- imageUrl,
- setAttributes
-}) {
- function setImageAttributes(image) {
- setAttributes({
- imageId: image.id,
- imageAlt: image.alt,
- imageUrl: image.url
- });
- }
- function removeImageAttributes() {
- setAttributes({
- imageId: null,
- imageAlt: null,
- imageUrl: null
- });
- }
- return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, !imageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.MediaPlaceholder, {
- accept: "image/*",
- allowedTypes: ["image"],
- onSelect: setImageAttributes,
- multiple: false,
- handleUpload: true
- }));
-}
-
-/***/ }),
-
-/***/ "../_components/ImagePanelBody.jsx":
-/*!*****************************************!*\
- !*** ../_components/ImagePanelBody.jsx ***!
- \*****************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (/* binding */ ImagePanelBody)
-/* harmony export */ });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
-/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/@wordpress/icons/build-module/library/trash.js");
-
-
-
-
-
-function ImagePanelBody({
- imageUrl,
- imageAlt,
- imageId,
- imageProportion,
- setAttributes
-}) {
- function setImageAttributes(image) {
- setAttributes({
- imageId: image.id,
- imageAlt: image.alt,
- imageUrl: image.url
- });
- }
- function removeImageAttributes() {
- setAttributes({
- imageId: null,
- imageAlt: null,
- imageUrl: null
- });
- }
- function onImageProportionChange(imageProportion) {
- console.log(imageProportion);
- setAttributes({
- imageProportion
- });
- }
- return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.PanelBody, {
- className: "homegrade-blocks-components-image__panel-body",
- title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Image", "homegrade-blocks__texte-backoffice")
- }, imageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
- src: imageUrl,
- alt: imageAlt
- }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
- className: "media-replace-container"
- }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.MediaReplaceFlow, {
- mediaId: imageId,
- mediaUrl: imageUrl,
- allowedTypes: ["image"],
- accept: "image/*",
- onSelect: setImageAttributes,
- name: !imageUrl ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Ajouter", "homegrade-blocks__texte-backoffice") : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Remplacer", "homegrade-blocks__texte-backoffice")
- }), imageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, {
- className: "custom-flow-button",
- variant: "primary",
- icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__["default"],
- label: "Supprimer",
- onClick: removeImageAttributes
- }))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Tip, null, "Si besoin, Utilisez le champ \"L\xE9gende\"de la m\xE9diath\xE8que pour afficher un copyright"), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Tip, null, "Si besoin, Utilisez le champ \"Description\" de la m\xE9diath\xE8que pour donner afficher une description de votre image"), imageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControl, {
- label: "Proportion",
- className: "homegrade-blocks-components-image__ratio-selector",
- isBlock: true,
- onChange: onImageProportionChange,
- value: imageProportion
- }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOption, {
- variant: "primary",
- label: "Original",
- value: "original"
- }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOption, {
- variant: "primary",
- label: "Moyen",
- value: "medium"
- }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.__experimentalToggleGroupControlOption, {
- variant: "primary",
- label: "Carr\xE9",
- value: "square"
- }))));
-}
-
-/***/ }),
-
-/***/ "../_components/ImagePanelBodyContent.jsx":
-/*!************************************************!*\
- !*** ../_components/ImagePanelBodyContent.jsx ***!
- \************************************************/
-/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
-
-__webpack_require__.r(__webpack_exports__);
-/* harmony export */ __webpack_require__.d(__webpack_exports__, {
-/* harmony export */ "default": () => (/* binding */ ImagePanelBody)
-/* harmony export */ });
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
-/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
-/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
-/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__);
-/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
-/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/@wordpress/icons/build-module/library/trash.js");
-
-
-
-
-
-function ImagePanelBody({
- imageUrl,
- imageAlt,
- imageId,
- imageProportion,
- setAttributes
-}) {
- function setImageAttributes(image) {
- setAttributes({
- imageId: image.id,
- imageAlt: image.alt,
- imageUrl: image.url
- });
- }
- function removeImageAttributes() {
- setAttributes({
- imageId: null,
- imageAlt: null,
- imageUrl: null
- });
- }
- return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, imageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
- src: imageUrl,
- alt: imageAlt
- }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
- className: "media-replace-container"
- }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.MediaReplaceFlow, {
- mediaId: imageId,
- mediaUrl: imageUrl,
- allowedTypes: ["image"],
- accept: "image/*",
- onSelect: setImageAttributes,
- name: !imageUrl ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Ajouter", "homegrade-blocks__texte-backoffice") : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Remplacer", "homegrade-blocks__texte-backoffice")
- }), imageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_2__.Button, {
- className: "custom-flow-button",
- variant: "primary",
- icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_4__["default"],
- label: "Supprimer",
- onClick: removeImageAttributes
- }))));
-}
-
-/***/ }),
-
/***/ "./src/edit.js":
/*!*********************!*\
!*** ./src/edit.js ***!
@@ -261,18 +24,12 @@ __webpack_require__.r(__webpack_exports__);
/* harmony import */ var _wordpress_data__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_data__WEBPACK_IMPORTED_MODULE_5__);
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__);
-/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/@wordpress/icons/build-module/library/trash.js");
-/* harmony import */ var _components_ImageMediaPlaceholder__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../_components/ImageMediaPlaceholder */ "../_components/ImageMediaPlaceholder.jsx");
-/* harmony import */ var _components_Image__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../_components/Image */ "../_components/Image.jsx");
-/* harmony import */ var _components_ImagePanelBody__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../_components/ImagePanelBody */ "../_components/ImagePanelBody.jsx");
-/* harmony import */ var _components_ImagePanelBodyContent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../_components/ImagePanelBodyContent */ "../_components/ImagePanelBodyContent.jsx");
-
-
-
+/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/@wordpress/icons/build-module/library/trash.js");
+// import "./steps-container";
@@ -286,31 +43,30 @@ function Edit({
}) {
let {
hasStepPictures,
- stepPictureFormat,
+ lateralPicturesFormat,
hasStepIcons,
hasLateralCover,
lateralCoverId,
lateralCoverAlt,
- lateralCoverUrl
+ lateralCoverUrl,
+ lateralCoverDescription,
+ lateralCoverCaption,
+ blockTitle,
+ blockSubtitle,
+ hasTitle
} = attributes;
let children = (0,_wordpress_data__WEBPACK_IMPORTED_MODULE_5__.useSelect)(select => select("core/block-editor").getBlocksByClientId(clientId)[0].innerBlocks);
- function handleStepPictureFormatChange(stepPictureFormat) {
+ function onChangeBlockTitle(blockTitle) {
setAttributes({
- stepPictureFormat
+ blockTitle
});
}
- function onChangehasStepPictures() {
+ function onChangeBlockSubtitle(blockSubtitle) {
setAttributes({
- hasStepPictures: !hasStepPictures
- });
- }
- function onChangehasStepIcons() {
- setAttributes({
- hasStepIcons: !hasStepIcons
+ blockSubtitle
});
}
function onChangeImagesDispositionType(disposition) {
- console.log(disposition);
if (disposition === "hasStepPictures") {
setAttributes({
hasStepPictures: true,
@@ -325,18 +81,44 @@ function Edit({
});
}
}
+ function handlelateralPicturesFormatChange(lateralPicturesFormat) {
+ setAttributes({
+ lateralPicturesFormat
+ });
+ }
+ function onChangehasStepIcons() {
+ setAttributes({
+ hasStepIcons: !hasStepIcons
+ });
+ }
+ function onChangeHasTitle(newHasTitle) {
+ setAttributes({
+ hasTitle: !hasTitle
+ });
+ if (!newHasTitle) {
+ setAttributes({
+ blockTitle: "",
+ blockSubtitle: ""
+ });
+ }
+ }
function setLateralCoverAttributes(cover) {
+ console.log(cover);
setAttributes({
lateralCoverId: cover.id,
lateralCoverAlt: cover.alt,
- lateralCoverUrl: cover.url
+ lateralCoverUrl: cover.url,
+ lateralCoverCaption: cover?.caption,
+ lateralCoverDescription: cover?.description
});
}
function removeLateralCoverAttributes() {
setAttributes({
lateralCoverId: null,
lateralCoverAlt: null,
- lateralCoverUrl: null
+ lateralCoverUrl: null,
+ lateralCoverCaption: null,
+ lateralCoverDescription: null
});
}
function updateChildrensProps(children) {
@@ -362,31 +144,33 @@ function Edit({
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InspectorControls, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelBody, {
title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Variantes de Timeline", "homegrade-blocks__texte-backoffice"),
className: "homegrade-blocks-timeline__panel-body homegrade-blocks-components-image__panel-body"
- }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelRow, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("label", {
- htmlFor: ""
- }, "Icones"), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.FormToggle, {
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelRow, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.ToggleControl, {
+ label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Titre de bloc", "homegrade-blocks__texte-backoffice"),
+ help: hasTitle ? "Titre de bloc." : "Ne pas afficher de bloc titrage",
+ checked: hasTitle,
+ onChange: onChangeHasTitle
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelRow, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.ToggleControl, {
label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Icones", "homegrade-blocks__texte-backoffice"),
+ help: hasStepIcons ? "Afficher des icones pour chaque ligne" : "Ne pas afficher d'icones",
checked: hasStepIcons,
onChange: onChangehasStepIcons
})), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelRow, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.__experimentalToggleGroupControl, {
- label: "Type d'image",
+ label: "Type d'image Lat\xE9rale",
className: "homegrade-blocks-components-image__ratio-selector",
isBlock: true,
onChange: onChangeImagesDispositionType,
value: hasStepPictures ? "hasStepPictures" : "hasLateralCover"
}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.__experimentalToggleGroupControlOption, {
variant: "hasStepPictures",
- label: "Images par ligne",
+ label: "image par ligne de timeline",
value: "hasStepPictures"
}), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.__experimentalToggleGroupControlOption, {
variant: "lateralCover",
- label: "Illustration lat\xE9arale",
+ label: " Image lat\xE9rale unique",
value: "hasLateralCover"
- }))), hasStepPictures && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelRow, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.RadioControl
- // label={__("Tailles des images", "textdomain")}
- , {
- help: "Taille des images",
- selected: stepPictureFormat,
+ }))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.PanelRow, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.RadioControl, {
+ label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Format d'image(s) latérale(s)", "textdomain"),
+ selected: lateralPicturesFormat,
options: [{
label: "Carré",
value: "squared"
@@ -394,10 +178,10 @@ function Edit({
label: "Moyenne",
value: "md"
}, {
- label: "Hautes",
+ label: "Hauteur originale",
value: "xl"
}],
- onChange: handleStepPictureFormatChange
+ onChange: handlelateralPicturesFormatChange
})), lateralCoverUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
src: lateralCoverUrl,
alt: lateralCoverAlt
@@ -413,7 +197,7 @@ function Edit({
}), lateralCoverUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_6__.Button, {
className: "custom-flow-button",
variant: "primary",
- icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_11__["default"],
+ icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_7__["default"],
label: "Supprimer",
onClick: removeLateralCoverAttributes
}))))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("section", {
@@ -421,20 +205,41 @@ function Edit({
className: `homegrade-blocks-timeline ${hasStepIcons ? "homegrade-blocks-timeline--has-step-icons" : ""}
${hasLateralCover ? "homegrade-blocks-timeline--has-lateral-cover" : ""}`
})
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "section_titling section_titling--center"
+ }, hasTitle && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.RichText, {
+ value: blockTitle,
+ tagName: "h3",
+ className: "section_titling__title",
+ placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Ajouter ici le Titre de la liste de membres", "homegrade"),
+ onChange: onChangeBlockTitle
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.RichText, {
+ value: blockSubtitle,
+ tagName: "h4",
+ className: "section_titling__subtitle",
+ placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Ajouter ici le Sous-titre de la liste de membres", "homegrade"),
+ onChange: onChangeBlockSubtitle
+ }))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "homegrade-blocks-timeline__container"
}, hasLateralCover && !lateralCoverUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.MediaPlaceholder, {
accept: "image/*",
allowedTypes: ["image"],
onSelect: setLateralCoverAttributes,
multiple: false,
handleUpload: true
- }), hasLateralCover && lateralCoverUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
- className: "homegrade-blocks-timeline__lateral-cover",
+ }), hasLateralCover && lateralCoverUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("figure", {
+ className: `homegrade-blocks-timeline__lateral-cover homegrade-blocks-timeline__lateral-cover--${lateralPicturesFormat}`
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
src: lateralCoverUrl,
alt: lateralCoverAlt
- }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InnerBlocks, {
+ }), (lateralCoverDescription || lateralCoverCaption) && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("figcaption", null, lateralCoverDescription && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", {
+ className: "description"
+ }, lateralCoverDescription), lateralCoverCaption && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", {
+ className: "caption"
+ }, lateralCoverCaption))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_4__.InnerBlocks, {
allowedBlocks: ["homegrade-content-blocks/timeline-step"],
template: TEMPLATE
- })));
+ }))));
}
/***/ }),
@@ -514,25 +319,47 @@ function save({
attributes
}) {
let {
+ hasTitle,
+ blockTitle,
+ blockSubtitle,
hasStepPictures,
- stepPictureFormat,
+ lateralPicturesFormat,
hasStepIcons,
hasLateralCover,
lateralCoverUrl,
- lateralCoverAlt
+ lateralCoverAlt,
+ lateralCoverCaption,
+ lateralCoverDescription
} = attributes;
return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("section", {
..._wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps.save({
className: `homegrade-blocks-timeline ${hasStepIcons ? "homegrade-blocks-timeline--has-step-icons" : ""} ${hasStepPictures ? "homegrade-blocks-timeline--has-step-pictures" : "homegrade-blocks-timeline--has-no-step-pictures"}
${hasLateralCover ? "homegrade-blocks-timeline--has-lateral-cover" : ""}`
})
- }, hasLateralCover && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
- className: "homegrade-blocks-timeline__lateral-cover",
+ }, hasTitle && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "section_titling section_titling--center"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.RichText.Content, {
+ value: blockTitle,
+ tagName: "h3",
+ className: "section_titling__title"
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.RichText.Content, {
+ value: blockSubtitle,
+ tagName: "h4",
+ className: "section_titling__subtitle"
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "homegrade-blocks-timeline__container"
+ }, hasLateralCover && lateralCoverUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("figure", {
+ className: `homegrade-blocks-timeline__lateral-cover homegrade-blocks-timeline__lateral-cover--${lateralPicturesFormat}`
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
src: lateralCoverUrl,
alt: lateralCoverAlt
- }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ }), (lateralCoverDescription || lateralCoverCaption) && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("figcaption", null, lateralCoverDescription && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", {
+ className: "description"
+ }, lateralCoverDescription), lateralCoverCaption && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", {
+ className: "caption"
+ }, lateralCoverCaption))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
className: "homegrade-blocks-timeline__innercontent"
- }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InnerBlocks.Content, null)));
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InnerBlocks.Content, null))));
}
/***/ }),
@@ -1017,7 +844,7 @@ module.exports = window["wp"]["primitives"];
\************************/
/***/ ((module) => {
-module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/timeline","version":"0.1.0","title":"Timeline","category":"homegrade-blocks","description":"Pour la création de timeline","supports":{"html":false},"textdomain":"homegrade-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"hasLateralCover":{"type":"boolean","default":false},"lateralCoverId":{"type":"number"},"lateralCoverUrl":{"type":"string"},"lateralCoverAlt":{"type":"string"},"hasStepPictures":{"type":"boolean","default":true},"hasStepIcons":{"type":"boolean","default":true},"stepPictureFormat":{"type":"string","default":"md"}}}');
+module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/timeline","version":"0.1.0","title":"Timeline","category":"homegrade-blocks","description":"Pour la création de timeline","supports":{"html":false},"textdomain":"homegrade-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"hasTitle":{"type":"boolean","default":true},"blockTitle":{"type":"string"},"blockSubtitle":{"type":"string"},"hasLateralCover":{"type":"boolean","default":false},"lateralCoverId":{"type":"number"},"lateralCoverUrl":{"type":"string"},"lateralCoverAlt":{"type":"string"},"lateralCoverCaption":{"type":"string"},"lateralCoverDescription":{"type":"string"},"hasStepPictures":{"type":"boolean","default":true},"hasStepIcons":{"type":"boolean","default":true},"lateralPicturesFormat":{"type":"string","default":"md"}}}');
/***/ }),
diff --git a/blocks/timeline/build/index.js.map b/blocks/timeline/build/index.js.map
index b737b1a..6f50872 100644
--- a/blocks/timeline/build/index.js.map
+++ b/blocks/timeline/build/index.js.map
@@ -1 +1 @@
-{"version":3,"file":"index.js","mappings":";;;;;;;;;;;;;;;;;AAAe,SAASA,KAAKA,CAAC;EAAEC,QAAQ;EAAEC,QAAQ;EAAEC;AAAgB,CAAC,EAAE;EACtE,OACCC,iEAAA;IACCC,GAAG,EAAEJ,QAAS;IACdK,GAAG,EAAEJ,QAAS;IACdK,SAAS,EAAG,wEAAuEJ,eAAgB;EAAQ,CAC3G,CAAC;AAEJ;;;;;;;;;;;;;;;;;;;ACR6E;AAE9D,SAASO,qBAAqBA,CAAC;EAAEC,OAAO;EAAET,QAAQ;EAAED,QAAQ;EAAEW;AAAc,CAAC,EAAE;EAC7F,SAASC,kBAAkBA,CAACC,KAAK,EAAE;IAClCF,aAAa,CAAC;MACbD,OAAO,EAAEG,KAAK,CAACC,EAAE;MACjBb,QAAQ,EAAEY,KAAK,CAACR,GAAG;MACnBL,QAAQ,EA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AA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC7BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEnDA;UACA;UACA;UACA;UACA","sources":["webpack://multiblocks/../_components/Image.jsx","webpack://multiblocks/../_components/ImageMediaPlaceholder.jsx","webpack://multiblocks/../_components/ImagePanelBody.jsx","webpack://multiblocks/../_components/ImagePanelBodyContent.jsx","webpack://multiblocks/./src/edit.js","webpack://multiblocks/./src/index.js","webpack://multiblocks/./src/save.js","webpack://multiblocks/./src/timeline-step/edit.js","webpack://multiblocks/./src/timeline-step/index.js","webpack://multiblocks/./src/timeline-step/save.js","webpack://multiblocks/./src/editor.scss","webpack://multiblocks/./src/style.scss","webpack://multiblocks/./src/timeline-step/editor.scss","webpack://multiblocks/./src/timeline-step/style.scss","webpack://multiblocks/../../node_modules/@wordpress/icons/build-module/library/trash.js","webpack://multiblocks/external window [\"wp\",\"blockEditor\"]","webpack://multiblocks/external window [\"wp\",\"blocks\"]","webpack://multiblocks/external window [\"wp\",\"components\"]","webpack://multiblocks/external window [\"wp\",\"data\"]","webpack://multiblocks/external window [\"wp\",\"element\"]","webpack://multiblocks/external window [\"wp\",\"i18n\"]","webpack://multiblocks/external window [\"wp\",\"primitives\"]","webpack://multiblocks/webpack/bootstrap","webpack://multiblocks/webpack/runtime/chunk loaded","webpack://multiblocks/webpack/runtime/compat get default export","webpack://multiblocks/webpack/runtime/define property getters","webpack://multiblocks/webpack/runtime/hasOwnProperty shorthand","webpack://multiblocks/webpack/runtime/make namespace object","webpack://multiblocks/webpack/runtime/jsonp chunk loading","webpack://multiblocks/webpack/before-startup","webpack://multiblocks/webpack/startup","webpack://multiblocks/webpack/after-startup"],"sourcesContent":["export default function Image({ imageUrl, imageAlt, imageProportion }) {\r\n\treturn (\r\n\t\t \r\n\t);\r\n}\r\n","import { MediaReplaceFlow, MediaPlaceholder } from \"@wordpress/block-editor\";\r\n\r\nexport default function ImageMediaPlaceholder({ imageId, imageAlt, imageUrl, setAttributes }) {\r\n\tfunction setImageAttributes(image) {\r\n\t\tsetAttributes({\r\n\t\t\timageId: image.id,\r\n\t\t\timageAlt: image.alt,\r\n\t\t\timageUrl: image.url,\r\n\t\t});\r\n\t}\r\n\r\n\tfunction removeImageAttributes() {\r\n\t\tsetAttributes({\r\n\t\t\timageId: null,\r\n\t\t\timageAlt: null,\r\n\t\t\timageUrl: null,\r\n\t\t});\r\n\t}\r\n\treturn (\r\n\t\t<>\r\n\t\t\t{!imageUrl && (\r\n\t\t\t\t \r\n\t\t\t)}\r\n\t\t>\r\n\t);\r\n}\r\n","import { __ } from \"@wordpress/i18n\";\r\nimport {\r\n\tPanelBody,\r\n\tButton,\r\n\tTip,\r\n\t__experimentalToggleGroupControl as ToggleGroupControl,\r\n\t__experimentalToggleGroupControlOption as ToggleGroupControlOption,\r\n} from \"@wordpress/components\";\r\nimport { MediaReplaceFlow, MediaPlaceholder } from \"@wordpress/block-editor\";\r\nimport { trash } from \"@wordpress/icons\";\r\n\r\nexport default function ImagePanelBody({ imageUrl, imageAlt, imageId, imageProportion, setAttributes }) {\r\n\tfunction setImageAttributes(image) {\r\n\t\tsetAttributes({\r\n\t\t\timageId: image.id,\r\n\t\t\timageAlt: image.alt,\r\n\t\t\timageUrl: image.url,\r\n\t\t});\r\n\t}\r\n\r\n\tfunction removeImageAttributes() {\r\n\t\tsetAttributes({\r\n\t\t\timageId: null,\r\n\t\t\timageAlt: null,\r\n\t\t\timageUrl: null,\r\n\t\t});\r\n\t}\r\n\tfunction onImageProportionChange(imageProportion) {\r\n\t\tconsole.log(imageProportion);\r\n\t\tsetAttributes({ imageProportion });\r\n\t}\r\n\treturn (\r\n\t\t<>\r\n\t\t\t\r\n\t\t\t\t{imageUrl && }\r\n\t\t\t\t\r\n\t\t\t\t\t \r\n\t\t\t\t\t{imageUrl && (\r\n\t\t\t\t\t\t<>\r\n\t\t\t\t\t\t\t \r\n\t\t\t\t\t\t>\r\n\t\t\t\t\t)}\r\n\t\t\t\t
\r\n\t\t\t\t\r\n\t\t\t\t\tSi besoin, Utilisez le champ \"Légende\"de la médiathèque pour afficher un\r\n\t\t\t\t\tcopyright\r\n\t\t\t\t \r\n\t\t\t\t\r\n\t\t\t\t\tSi besoin, Utilisez le champ \"Description\" de la médiathèque pour donner\r\n\t\t\t\t\tafficher une description de votre image\r\n\t\t\t\t \r\n\t\t\t\t{imageUrl && (\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t \r\n\t\t\t\t\t\t \r\n\t\t\t\t\t \r\n\t\t\t\t)}\r\n\t\t\t \r\n\t\t>\r\n\t);\r\n}\r\n","import { __ } from \"@wordpress/i18n\";\r\nimport {\r\n\tPanelBody,\r\n\tButton,\r\n\tTip,\r\n\t__experimentalToggleGroupControl as ToggleGroupControl,\r\n\t__experimentalToggleGroupControlOption as ToggleGroupControlOption,\r\n} from \"@wordpress/components\";\r\nimport { MediaReplaceFlow, MediaPlaceholder } from \"@wordpress/block-editor\";\r\nimport { trash } from \"@wordpress/icons\";\r\n\r\nexport default function ImagePanelBody({ imageUrl, imageAlt, imageId, imageProportion, setAttributes }) {\r\n\tfunction setImageAttributes(image) {\r\n\t\tsetAttributes({\r\n\t\t\timageId: image.id,\r\n\t\t\timageAlt: image.alt,\r\n\t\t\timageUrl: image.url,\r\n\t\t});\r\n\t}\r\n\r\n\tfunction removeImageAttributes() {\r\n\t\tsetAttributes({\r\n\t\t\timageId: null,\r\n\t\t\timageAlt: null,\r\n\t\t\timageUrl: null,\r\n\t\t});\r\n\t}\r\n\r\n\treturn (\r\n\t\t<>\r\n\t\t\t{imageUrl && }\r\n\t\t\t
\r\n\t\t\t\t \r\n\t\t\t\t{imageUrl && (\r\n\t\t\t\t\t<>\r\n\t\t\t\t\t\t \r\n\t\t\t\t\t>\r\n\t\t\t\t)}\r\n\t\t\t
\r\n\t\t>\r\n\t);\r\n}\r\n","import { __ } from \"@wordpress/i18n\";\nimport \"./editor.scss\";\nimport \"./timeline-step\";\n\nimport {\n\tuseBlockProps,\n\tRichText,\n\tInnerBlocks,\n\tInspectorControls,\n\tMediaReplaceFlow,\n\tMediaPlaceholder,\n} from \"@wordpress/block-editor\";\n\nimport { useEffect } from \"@wordpress/element\";\nimport { useSelect, dispatch } from \"@wordpress/data\";\nimport {\n\tPanelBody,\n\tPanelRow,\n\tButton,\n\tRadioControl,\n\tFormToggle,\n\t__experimentalToggleGroupControl as ToggleGroupControl,\n\t__experimentalToggleGroupControlOption as ToggleGroupControlOption,\n} from \"@wordpress/components\";\nimport { trash } from \"@wordpress/icons\";\nimport ImageMediaPlaceholder from \"../../_components/ImageMediaPlaceholder\";\nimport Image from \"../../_components/Image\";\nimport ImagePanelBody from \"../../_components/ImagePanelBody\";\nimport ImagePanelBodyContent from \"../../_components/ImagePanelBodyContent\";\nexport default function Edit({ attributes, setAttributes, clientId }) {\n\tlet {\n\t\thasStepPictures,\n\t\tstepPictureFormat,\n\t\thasStepIcons,\n\t\thasLateralCover,\n\t\tlateralCoverId,\n\t\tlateralCoverAlt,\n\t\tlateralCoverUrl,\n\t} = attributes;\n\n\tlet children = useSelect(\n\t\t(select) =>\n\t\t\tselect(\"core/block-editor\").getBlocksByClientId(clientId)[0].innerBlocks\n\t);\n\n\tfunction handleStepPictureFormatChange(stepPictureFormat) {\n\t\tsetAttributes({ stepPictureFormat });\n\t}\n\tfunction onChangehasStepPictures() {\n\t\tsetAttributes({ hasStepPictures: !hasStepPictures });\n\t}\n\tfunction onChangehasStepIcons() {\n\t\tsetAttributes({ hasStepIcons: !hasStepIcons });\n\t}\n\tfunction onChangeImagesDispositionType(disposition) {\n\t\tconsole.log(disposition);\n\t\tif (disposition === \"hasStepPictures\") {\n\t\t\tsetAttributes({ hasStepPictures: true, hasLateralCover: false });\n\t\t\tremoveLateralCoverAttributes();\n\t\t}\n\t\tif (disposition === \"hasLateralCover\") {\n\t\t\tsetAttributes({ hasStepPictures: false, hasLateralCover: true });\n\t\t}\n\t}\n\tfunction setLateralCoverAttributes(cover) {\n\t\tsetAttributes({\n\t\t\tlateralCoverId: cover.id,\n\t\t\tlateralCoverAlt: cover.alt,\n\t\t\tlateralCoverUrl: cover.url,\n\t\t});\n\t}\n\tfunction removeLateralCoverAttributes() {\n\t\tsetAttributes({\n\t\t\tlateralCoverId: null,\n\t\t\tlateralCoverAlt: null,\n\t\t\tlateralCoverUrl: null,\n\t\t});\n\t}\n\n\tfunction updateChildrensProps(children) {\n\t\tchildren.forEach((child) => {\n\t\t\tdispatch(\"core/block-editor\").updateBlockAttributes(child.clientId, {\n\t\t\t\thasStepIcon: hasStepIcons,\n\t\t\t\thasStepPicture: hasStepPictures,\n\t\t\t});\n\t\t});\n\t}\n\n\tuseEffect(() => {\n\t\tif (children && children.length > 0) {\n\t\t\tupdateChildrensProps(children);\n\t\t}\n\t}, [children, hasStepPictures, hasStepIcons]);\n\n\tconst TEMPLATE = [\n\t\t[\n\t\t\t\"homegrade-content-blocks/timeline-step\",\n\t\t\t{\n\t\t\t\ttimelineStepTitle: \"Etape 1\",\n\t\t\t\ttimelineStepSubtitle: \"sous titre\",\n\t\t\t},\n\t\t],\n\t\t[\n\t\t\t\"homegrade-content-blocks/timeline-step\",\n\t\t\t{\n\t\t\t\ttimelineStepTitle: \"Etape 2\",\n\t\t\t\ttimelineStepSubtitle: \"sous titre\",\n\t\t\t},\n\t\t],\n\t];\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\tIcones \n\t\t\t\t\t\t \n\t\t\t\t\t \n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t{hasStepPictures && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t\t{lateralCoverUrl && (\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasLateralCover && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t{lateralCoverUrl && (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t{hasLateralCover && !lateralCoverUrl && (\n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t\t{hasLateralCover && lateralCoverUrl && (\n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t\t \n\t\t\t \n\t\t>\n\t);\n}\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport \"./style.scss\";\n\nimport Edit from \"./edit\";\nimport save from \"./save\";\nimport metadata from \"./block.json\";\n\nregisterBlockType(metadata.name, {\n\ticon: {\n\t\tsrc: (\n\t\t\t\n\t\t\t\t130all \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t),\n\t\tforeground: \"#DF1E1E\",\n\t},\n\tedit: Edit,\n\tsave,\n});\n","import { useBlockProps, RichText, InnerBlocks } from \"@wordpress/block-editor\";\n\nexport default function save({ attributes }) {\n\tlet {\n\t\thasStepPictures,\n\t\tstepPictureFormat,\n\t\thasStepIcons,\n\t\thasLateralCover,\n\t\tlateralCoverUrl,\n\t\tlateralCoverAlt,\n\t} = attributes;\n\n\treturn (\n\t\t\n\t\t\t{hasLateralCover && }\n\t\t\t\n\t\t\t\t \n\t\t\t
\n\t\t \n\t);\n}\n","import { __ } from \"@wordpress/i18n\";\nimport \"./editor.scss\";\n\nimport {\n\tuseBlockProps,\n\tRichText,\n\tInnerBlocks,\n\tBlockControls,\n\tInspectorControls,\n} from \"@wordpress/block-editor\";\nimport {\n\tPanelBody,\n\tToolbarGroup,\n\tToolbarButton,\n\tButton,\n\tTip,\n} from \"@wordpress/components\";\nimport { useEffect } from \"@wordpress/element\";\nimport { MediaReplaceFlow, MediaPlaceholder } from \"@wordpress/block-editor\";\nimport { trash } from \"@wordpress/icons\";\nexport default function Edit({ attributes, setAttributes, ...props }) {\n\tlet {\n\t\ttimelineStepTitle,\n\t\ttimelineStepSubtitle,\n\t\ttimelineStepImageUrl,\n\t\ttimelineStepImageId,\n\t\ttimelineStepImageAlt,\n\t\ttimelineStepImageCaption,\n\t\ttimelineStepImageDescription,\n\t\ttimelineStepIconUrl,\n\t\ttimelineStepIconId,\n\t\ttimelineStepIconAlt,\n\t\thasStepPicture,\n\t\thasStepIcon,\n\t} = attributes;\n\n\tfunction onChangeTimelineStepTitle(timelineStepTitle) {\n\t\tsetAttributes({ timelineStepTitle });\n\t}\n\tfunction onChangeTimelineDescription(timelineStepSubtitle) {\n\t\tsetAttributes({ timelineStepSubtitle });\n\t}\n\tfunction setImageAttributes(media) {\n\t\tif (!media || !media.url) {\n\t\t\tsetAttributes({\n\t\t\t\ttimelineStepImageUrl: null,\n\t\t\t\ttimelineStepImageId: null,\n\t\t\t\ttimelineStepImageAlt: null,\n\t\t\t\ttimelineStepImageCaption: null,\n\t\t\t\ttimelineStepImageDescription: null,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tsetAttributes({\n\t\t\ttimelineStepImageUrl: media.url,\n\t\t\ttimelineStepImageId: media.id,\n\t\t\ttimelineStepImageAlt: media?.alt,\n\t\t\ttimelineStepImageCaption: media?.caption,\n\t\t\ttimelineStepImageDescription: media?.description,\n\t\t});\n\t}\n\tfunction removeImageAttributes() {\n\t\tsetAttributes({\n\t\t\ttimelineStepImageUrl: null,\n\t\t\ttimelineStepImageId: null,\n\t\t\ttimelineStepImageAlt: null,\n\t\t});\n\t}\n\n\tfunction setIconAttributes(media) {\n\t\tconsole.log(media);\n\t\tif (!media || !media.url) {\n\t\t\tsetAttributes({\n\t\t\t\ttimelineStepIconUrl: null,\n\t\t\t\ttimelineStepIconId: null,\n\t\t\t\ttimelineStepIconAlt: null,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tsetAttributes({\n\t\t\ttimelineStepIconUrl: media.url,\n\t\t\ttimelineStepIconId: media.id,\n\t\t\ttimelineStepIconAlt: media?.alt,\n\t\t});\n\t}\n\n\tfunction removeIconAttributes() {\n\t\tsetAttributes({\n\t\t\ttimelineStepIconUrl: null,\n\t\t\ttimelineStepIconId: null,\n\t\t\ttimelineStepIconAlt: null,\n\t\t});\n\t}\n\n\tuseEffect(() => {\n\t\tif (hasStepPicture === false) {\n\t\t\tsetImageAttributes(null);\n\t\t}\n\t}, [hasStepPicture]);\n\tuseEffect(() => {\n\t\tif (hasStepIcon === false) {\n\t\t\tsetIconAttributes(null);\n\t\t}\n\t}, [hasStepIcon]);\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t{hasStepPicture && (\n\t\t\t\t\t\n\t\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSi besoin, Utilisez le champ \"Légende\"de la médiathèque pour\n\t\t\t\t\t\t\tafficher un copyright\n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSi besoin, Utilisez le champ \"Description\" de la médiathèque pour\n\t\t\t\t\t\t\tdonner afficher une description de votre image\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t\t{hasStepIcon && (\n\t\t\t\t\t\n\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t{hasStepPicture && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{!timelineStepImageUrl && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{timelineStepImageDescription && (\n\t\t\t\t\t\t\t
{timelineStepImageDescription}
\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{timelineStepImageCaption &&
{timelineStepImageCaption}
}\n\t\t\t\t\t
\n\t\t\t\t)}\n\n\t\t\t\t
\n\t\t\t\t\t{hasStepIcon && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{!timelineStepIconUrl && (\n\t\t\t\t\t\t\t\t
Ajoutez une icone !
\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\n\t\t\t\t\t
\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t>\n\t);\n}\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport \"./style.scss\";\nimport metadata from \"./block.json\";\n\nimport Edit from \"./edit\";\nimport Save from \"./save\";\n\nimport { navigation } from \"@wordpress/icons\";\n\nregisterBlockType(metadata.name, {\n\ttitle: metadata.title,\n\ticon: {\n\t\tforeground: \"#DF1E1E\",\n\t\tsrc: (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t),\n\t},\n\n\tsupports: metadata.supports,\n\tattributes: metadata.attributes,\n\tedit: Edit,\n\tsave: Save,\n});\n","import { useBlockProps, RichText, InnerBlocks } from \"@wordpress/block-editor\";\n\nexport default function save({ attributes }) {\n\tconst {\n\t\ttimelineStepTitle,\n\t\ttimelineStepSubtitle,\n\t\ttimelineStepImageUrl,\n\t\ttimelineStepImageAlt,\n\t\ttimelineStepImageCaption,\n\t\ttimelineStepImageDescription,\n\t\ttimelineStepIconUrl,\n\t\ttimelineStepIconAlt,\n\t\thasStepPicture,\n\t\thasStepIcon,\n\t} = attributes;\n\treturn (\n\t\t\n\t\t\t{hasStepPicture && (\n\t\t\t\t
\n\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t\t{(timelineStepImageDescription || timelineStepImageCaption) && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{timelineStepImageDescription && (\n\t\t\t\t\t\t\t\t{timelineStepImageDescription}
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{timelineStepImageCaption && (\n\t\t\t\t\t\t\t\t{timelineStepImageCaption}
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t \n\t\t\t)}\n\t\t\t
\n\t\t\t\t{hasStepIcon && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n}\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { createElement } from \"@wordpress/element\";\n\n/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nconst trash = createElement(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\"\n}, createElement(Path, {\n d: \"M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z\"\n}));\nexport default trash;\n//# sourceMappingURL=trash.js.map","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"index\": 0,\n\t\"./style-index\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmultiblocks\"] = self[\"webpackChunkmultiblocks\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"./style-index\"], () => (__webpack_require__(\"./src/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["Image","imageUrl","imageAlt","imageProportion","createElement","src","alt","className","MediaReplaceFlow","MediaPlaceholder","ImageMediaPlaceholder","imageId","setAttributes","setImageAttributes","image","id","url","removeImageAttributes","Fragment","accept","allowedTypes","onSelect","multiple","handleUpload","__","PanelBody","Button","Tip","__experimentalToggleGroupControl","ToggleGroupControl","__experimentalToggleGroupControlOption","ToggleGroupControlOption","trash","ImagePanelBody","onImageProportionChange","console","log","title","mediaId","mediaUrl","name","variant","icon","label","onClick","isBlock","onChange","value","useBlockProps","RichText","InnerBlocks","InspectorControls","useEffect","useSelect","dispatch","PanelRow","RadioControl","FormToggle","ImagePanelBodyContent","Edit","attributes","clientId","hasStepPictures","stepPictureFormat","hasStepIcons","hasLateralCover","lateralCoverId","lateralCoverAlt","lateralCoverUrl","children","select","getBlocksByClientId","innerBlocks","handleStepPictureFormatChange","onChangehasStepPictures","onChangehasStepIcons","onChangeImagesDispositionType","disposition","removeLateralCoverAttributes","setLateralCoverAttributes","cover","updateChildrensProps","forEach","child","updateBlockAttributes","hasStepIcon","hasStepPicture","length","TEMPLATE","timelineStepTitle","timelineStepSubtitle","htmlFor","checked","help","selected","options","allowedBlocks","template","registerBlockType","save","metadata","xmlns","viewBox","x","y","d","width","height","foreground","edit","Content","BlockControls","ToolbarGroup","ToolbarButton","props","timelineStepImageUrl","timelineStepImageId","timelineStepImageAlt","timelineStepImageCaption","timelineStepImageDescription","timelineStepIconUrl","timelineStepIconId","timelineStepIconAlt","onChangeTimelineStepTitle","onChangeTimelineDescription","media","caption","description","setIconAttributes","removeIconAttributes","isActive","tagName","placeholder","Save","navigation","version","supports"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"file":"index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAqC;AACd;AACE;AACzB;;AASiC;AAEc;AACO;AASvB;AACU;AAE1B,SAASoB,IAAIA,CAAC;EAAEC,UAAU;EAAEC,aAAa;EAAEC;AAAS,CAAC,EAAE;EACrE,IAAI;IACHC,eAAe;IACfC,qBAAqB;IACrBC,YAAY;IACZC,eAAe;IACfC,cAAc;IACdC,eAAe;IACfC,eAAe;IACfC,uBAAuB;IACvBC,mBAAmB;IACnBC,UAAU;IACVC,aAAa;IACbC;EACD,CAAC,GAAGd,UAAU;EAEd,IAAIe,QAAQ,GAAG5B,0DAAS,CACtB6B,MAAM,IACNA,MAAM,CAAC,mBAAmB,CAAC,CAACC,mBAAmB,CAACf,QAAQ,CAAC,CAAC,CAAC,CAAC,CAACgB,WAC/D,CAAC;EAED,SAASC,kBAAkBA,CAACP,UAAU,EAAE;IACvCX,aAAa,CAAC;MAAEW;IAAW,CAAC,CAAC;EAC9B;EACA,SAASQ,qBAAqBA,CAACP,aAAa,EAAE;IAC7CZ,aAAa,CAAC;MAAEY;IAAc,CAAC,CAAC;EACjC;EAEA,SAASQ,6BAA6BA,CAACC,WAAW,EAAE;IACnD,IAAIA,WAAW,KAAK,iBAAiB,EAAE;MACtCrB,aAAa,CAAC;QAAEE,eAAe,EAAE,IAAI;QAAEG,eAAe,EAAE;MAAM,CAAC,CAAC;MAChEiB,4BAA4B,CAAC,CAAC;IAC/B;IACA,IAAID,WAAW,KAAK,iBAAiB,EAAE;MACtCrB,aAAa,CAAC;QAAEE,eAAe,EAAE,KAAK;QAAEG,eAAe,EAAE;M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A;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;;;;WC7BA;WACA;WACA;WACA;WACA;WACA,iCAAiC,WAAW;WAC5C;WACA;;;;;WCPA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA;;;;;WCPA;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;WCNA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEnDA;UACA;UACA;UACA;UACA","sources":["webpack://multiblocks/./src/edit.js","webpack://multiblocks/./src/index.js","webpack://multiblocks/./src/save.js","webpack://multiblocks/./src/timeline-step/edit.js","webpack://multiblocks/./src/timeline-step/index.js","webpack://multiblocks/./src/timeline-step/save.js","webpack://multiblocks/./src/editor.scss","webpack://multiblocks/./src/style.scss","webpack://multiblocks/./src/timeline-step/editor.scss","webpack://multiblocks/./src/timeline-step/style.scss","webpack://multiblocks/../../node_modules/@wordpress/icons/build-module/library/trash.js","webpack://multiblocks/external window [\"wp\",\"blockEditor\"]","webpack://multiblocks/external window [\"wp\",\"blocks\"]","webpack://multiblocks/external window [\"wp\",\"components\"]","webpack://multiblocks/external window [\"wp\",\"data\"]","webpack://multiblocks/external window [\"wp\",\"element\"]","webpack://multiblocks/external window [\"wp\",\"i18n\"]","webpack://multiblocks/external window [\"wp\",\"primitives\"]","webpack://multiblocks/webpack/bootstrap","webpack://multiblocks/webpack/runtime/chunk loaded","webpack://multiblocks/webpack/runtime/compat get default export","webpack://multiblocks/webpack/runtime/define property getters","webpack://multiblocks/webpack/runtime/hasOwnProperty shorthand","webpack://multiblocks/webpack/runtime/make namespace object","webpack://multiblocks/webpack/runtime/jsonp chunk loading","webpack://multiblocks/webpack/before-startup","webpack://multiblocks/webpack/startup","webpack://multiblocks/webpack/after-startup"],"sourcesContent":["import { __ } from \"@wordpress/i18n\";\nimport \"./editor.scss\";\nimport \"./timeline-step\";\n// import \"./steps-container\";\n\nimport {\n\tuseBlockProps,\n\tRichText,\n\tInnerBlocks,\n\tInspectorControls,\n\tMediaReplaceFlow,\n\tMediaPlaceholder,\n} from \"@wordpress/block-editor\";\n\nimport { useEffect } from \"@wordpress/element\";\nimport { useSelect, dispatch } from \"@wordpress/data\";\nimport {\n\tPanelBody,\n\tPanelRow,\n\tButton,\n\tRadioControl,\n\tToggleControl,\n\t__experimentalToggleGroupControl as ToggleGroupControl,\n\t__experimentalToggleGroupControlOption as ToggleGroupControlOption,\n} from \"@wordpress/components\";\nimport { trash } from \"@wordpress/icons\";\n\nexport default function Edit({ attributes, setAttributes, clientId }) {\n\tlet {\n\t\thasStepPictures,\n\t\tlateralPicturesFormat,\n\t\thasStepIcons,\n\t\thasLateralCover,\n\t\tlateralCoverId,\n\t\tlateralCoverAlt,\n\t\tlateralCoverUrl,\n\t\tlateralCoverDescription,\n\t\tlateralCoverCaption,\n\t\tblockTitle,\n\t\tblockSubtitle,\n\t\thasTitle,\n\t} = attributes;\n\n\tlet children = useSelect(\n\t\t(select) =>\n\t\t\tselect(\"core/block-editor\").getBlocksByClientId(clientId)[0].innerBlocks\n\t);\n\n\tfunction onChangeBlockTitle(blockTitle) {\n\t\tsetAttributes({ blockTitle });\n\t}\n\tfunction onChangeBlockSubtitle(blockSubtitle) {\n\t\tsetAttributes({ blockSubtitle });\n\t}\n\n\tfunction onChangeImagesDispositionType(disposition) {\n\t\tif (disposition === \"hasStepPictures\") {\n\t\t\tsetAttributes({ hasStepPictures: true, hasLateralCover: false });\n\t\t\tremoveLateralCoverAttributes();\n\t\t}\n\t\tif (disposition === \"hasLateralCover\") {\n\t\t\tsetAttributes({ hasStepPictures: false, hasLateralCover: true });\n\t\t}\n\t}\n\tfunction handlelateralPicturesFormatChange(lateralPicturesFormat) {\n\t\tsetAttributes({ lateralPicturesFormat });\n\t}\n\tfunction onChangehasStepIcons() {\n\t\tsetAttributes({ hasStepIcons: !hasStepIcons });\n\t}\n\tfunction onChangeHasTitle(newHasTitle) {\n\t\tsetAttributes({ hasTitle: !hasTitle });\n\t\tif (!newHasTitle) {\n\t\t\tsetAttributes({ blockTitle: \"\", blockSubtitle: \"\" });\n\t\t}\n\t}\n\n\tfunction setLateralCoverAttributes(cover) {\n\t\tconsole.log(cover);\n\t\tsetAttributes({\n\t\t\tlateralCoverId: cover.id,\n\t\t\tlateralCoverAlt: cover.alt,\n\t\t\tlateralCoverUrl: cover.url,\n\t\t\tlateralCoverCaption: cover?.caption,\n\t\t\tlateralCoverDescription: cover?.description,\n\t\t});\n\t}\n\tfunction removeLateralCoverAttributes() {\n\t\tsetAttributes({\n\t\t\tlateralCoverId: null,\n\t\t\tlateralCoverAlt: null,\n\t\t\tlateralCoverUrl: null,\n\t\t\tlateralCoverCaption: null,\n\t\t\tlateralCoverDescription: null,\n\t\t});\n\t}\n\n\tfunction updateChildrensProps(children) {\n\t\tchildren.forEach((child) => {\n\t\t\tdispatch(\"core/block-editor\").updateBlockAttributes(child.clientId, {\n\t\t\t\thasStepIcon: hasStepIcons,\n\t\t\t\thasStepPicture: hasStepPictures,\n\t\t\t});\n\t\t});\n\t}\n\n\tuseEffect(() => {\n\t\tif (children && children.length > 0) {\n\t\t\tupdateChildrensProps(children);\n\t\t}\n\t}, [children, hasStepPictures, hasStepIcons]);\n\n\tconst TEMPLATE = [\n\t\t[\n\t\t\t\"homegrade-content-blocks/timeline-step\",\n\t\t\t{\n\t\t\t\ttimelineStepTitle: \"Etape 1\",\n\t\t\t\ttimelineStepSubtitle: \"sous titre\",\n\t\t\t},\n\t\t],\n\t\t[\n\t\t\t\"homegrade-content-blocks/timeline-step\",\n\t\t\t{\n\t\t\t\ttimelineStepTitle: \"Etape 2\",\n\t\t\t\ttimelineStepSubtitle: \"sous titre\",\n\t\t\t},\n\t\t],\n\t];\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t \n\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t \n\n\t\t\t\t\t\n\t\t\t\t\t\t \n\t\t\t\t\t \n\n\t\t\t\t\t{lateralCoverUrl && (\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasLateralCover && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t{lateralCoverUrl && (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t{hasTitle && (\n\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t \n\t\t\t\t\t\t>\n\t\t\t\t\t)}\n\t\t\t\t
\n\n\t\t\t\t\n\t\t\t\t\t{hasLateralCover && !lateralCoverUrl && (\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasLateralCover && lateralCoverUrl && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t \n\n\t\t\t\t\t\t\t{(lateralCoverDescription || lateralCoverCaption) && (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t{lateralCoverDescription && (\n\t\t\t\t\t\t\t\t\t\t{lateralCoverDescription}
\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t{lateralCoverCaption && (\n\t\t\t\t\t\t\t\t\t\t{lateralCoverCaption}
\n\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t \n\t\t>\n\t);\n}\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport \"./style.scss\";\n\nimport Edit from \"./edit\";\nimport save from \"./save\";\nimport metadata from \"./block.json\";\n\nregisterBlockType(metadata.name, {\n\ticon: {\n\t\tsrc: (\n\t\t\t\n\t\t\t\t130all \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t),\n\t\tforeground: \"#DF1E1E\",\n\t},\n\tedit: Edit,\n\tsave,\n});\n","import { useBlockProps, RichText, InnerBlocks } from \"@wordpress/block-editor\";\n\nexport default function save({ attributes }) {\n\tlet {\n\t\thasTitle,\n\t\tblockTitle,\n\t\tblockSubtitle,\n\t\thasStepPictures,\n\t\tlateralPicturesFormat,\n\t\thasStepIcons,\n\t\thasLateralCover,\n\t\tlateralCoverUrl,\n\t\tlateralCoverAlt,\n\t\tlateralCoverCaption,\n\t\tlateralCoverDescription,\n\t} = attributes;\n\n\treturn (\n\t\t\n\t\t\t{hasTitle && (\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t)}\n\t\t\t\n\t\t\t\t{hasLateralCover && lateralCoverUrl && (\n\t\t\t\t\t
\n\t\t\t\t\t\t \n\n\t\t\t\t\t\t{(lateralCoverDescription || lateralCoverCaption) && (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t{lateralCoverDescription && (\n\t\t\t\t\t\t\t\t\t{lateralCoverDescription}
\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t{lateralCoverCaption && (\n\t\t\t\t\t\t\t\t\t{lateralCoverCaption}
\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t)}\n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t
\n\t\t \n\t);\n}\n","import { __ } from \"@wordpress/i18n\";\nimport \"./editor.scss\";\n\nimport {\n\tuseBlockProps,\n\tRichText,\n\tInnerBlocks,\n\tBlockControls,\n\tInspectorControls,\n} from \"@wordpress/block-editor\";\nimport {\n\tPanelBody,\n\tToolbarGroup,\n\tToolbarButton,\n\tButton,\n\tTip,\n} from \"@wordpress/components\";\nimport { useEffect } from \"@wordpress/element\";\nimport { MediaReplaceFlow, MediaPlaceholder } from \"@wordpress/block-editor\";\nimport { trash } from \"@wordpress/icons\";\nexport default function Edit({ attributes, setAttributes, ...props }) {\n\tlet {\n\t\ttimelineStepTitle,\n\t\ttimelineStepSubtitle,\n\t\ttimelineStepImageUrl,\n\t\ttimelineStepImageId,\n\t\ttimelineStepImageAlt,\n\t\ttimelineStepImageCaption,\n\t\ttimelineStepImageDescription,\n\t\ttimelineStepIconUrl,\n\t\ttimelineStepIconId,\n\t\ttimelineStepIconAlt,\n\t\thasStepPicture,\n\t\thasStepIcon,\n\t} = attributes;\n\n\tfunction onChangeTimelineStepTitle(timelineStepTitle) {\n\t\tsetAttributes({ timelineStepTitle });\n\t}\n\tfunction onChangeTimelineDescription(timelineStepSubtitle) {\n\t\tsetAttributes({ timelineStepSubtitle });\n\t}\n\tfunction setImageAttributes(media) {\n\t\tif (!media || !media.url) {\n\t\t\tsetAttributes({\n\t\t\t\ttimelineStepImageUrl: null,\n\t\t\t\ttimelineStepImageId: null,\n\t\t\t\ttimelineStepImageAlt: null,\n\t\t\t\ttimelineStepImageCaption: null,\n\t\t\t\ttimelineStepImageDescription: null,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tsetAttributes({\n\t\t\ttimelineStepImageUrl: media.url,\n\t\t\ttimelineStepImageId: media.id,\n\t\t\ttimelineStepImageAlt: media?.alt,\n\t\t\ttimelineStepImageCaption: media?.caption,\n\t\t\ttimelineStepImageDescription: media?.description,\n\t\t});\n\t}\n\tfunction removeImageAttributes() {\n\t\tsetAttributes({\n\t\t\ttimelineStepImageUrl: null,\n\t\t\ttimelineStepImageId: null,\n\t\t\ttimelineStepImageAlt: null,\n\t\t});\n\t}\n\n\tfunction setIconAttributes(media) {\n\t\tconsole.log(media);\n\t\tif (!media || !media.url) {\n\t\t\tsetAttributes({\n\t\t\t\ttimelineStepIconUrl: null,\n\t\t\t\ttimelineStepIconId: null,\n\t\t\t\ttimelineStepIconAlt: null,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tsetAttributes({\n\t\t\ttimelineStepIconUrl: media.url,\n\t\t\ttimelineStepIconId: media.id,\n\t\t\ttimelineStepIconAlt: media?.alt,\n\t\t});\n\t}\n\n\tfunction removeIconAttributes() {\n\t\tsetAttributes({\n\t\t\ttimelineStepIconUrl: null,\n\t\t\ttimelineStepIconId: null,\n\t\t\ttimelineStepIconAlt: null,\n\t\t});\n\t}\n\n\tuseEffect(() => {\n\t\tif (hasStepPicture === false) {\n\t\t\tsetImageAttributes(null);\n\t\t}\n\t}, [hasStepPicture]);\n\tuseEffect(() => {\n\t\tif (hasStepIcon === false) {\n\t\t\tsetIconAttributes(null);\n\t\t}\n\t}, [hasStepIcon]);\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t{hasStepPicture && (\n\t\t\t\t\t\n\t\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSi besoin, Utilisez le champ \"Légende\"de la médiathèque pour\n\t\t\t\t\t\t\tafficher un copyright\n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSi besoin, Utilisez le champ \"Description\" de la médiathèque pour\n\t\t\t\t\t\t\tdonner afficher une description de votre image\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t\t{hasStepIcon && (\n\t\t\t\t\t\n\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t{hasStepPicture && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{!timelineStepImageUrl && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{timelineStepImageDescription && (\n\t\t\t\t\t\t\t
{timelineStepImageDescription}
\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{timelineStepImageCaption &&
{timelineStepImageCaption}
}\n\t\t\t\t\t
\n\t\t\t\t)}\n\n\t\t\t\t
\n\t\t\t\t\t{hasStepIcon && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{!timelineStepIconUrl && (\n\t\t\t\t\t\t\t\t
Ajoutez une icone !
\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\n\t\t\t\t\t
\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t>\n\t);\n}\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport \"./style.scss\";\nimport metadata from \"./block.json\";\n\nimport Edit from \"./edit\";\nimport Save from \"./save\";\n\nimport { navigation } from \"@wordpress/icons\";\n\nregisterBlockType(metadata.name, {\n\ttitle: metadata.title,\n\ticon: {\n\t\tforeground: \"#DF1E1E\",\n\t\tsrc: (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t),\n\t},\n\n\tsupports: metadata.supports,\n\tattributes: metadata.attributes,\n\tedit: Edit,\n\tsave: Save,\n});\n","import { useBlockProps, RichText, InnerBlocks } from \"@wordpress/block-editor\";\n\nexport default function save({ attributes }) {\n\tconst {\n\t\ttimelineStepTitle,\n\t\ttimelineStepSubtitle,\n\t\ttimelineStepImageUrl,\n\t\ttimelineStepImageAlt,\n\t\ttimelineStepImageCaption,\n\t\ttimelineStepImageDescription,\n\t\ttimelineStepIconUrl,\n\t\ttimelineStepIconAlt,\n\t\thasStepPicture,\n\t\thasStepIcon,\n\t} = attributes;\n\treturn (\n\t\t\n\t\t\t{hasStepPicture && (\n\t\t\t\t
\n\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t\t{(timelineStepImageDescription || timelineStepImageCaption) && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{timelineStepImageDescription && (\n\t\t\t\t\t\t\t\t{timelineStepImageDescription}
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{timelineStepImageCaption && (\n\t\t\t\t\t\t\t\t{timelineStepImageCaption}
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t \n\t\t\t)}\n\t\t\t
\n\t\t\t\t{hasStepIcon && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n}\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { createElement } from \"@wordpress/element\";\n\n/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nconst trash = createElement(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\"\n}, createElement(Path, {\n d: \"M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z\"\n}));\nexport default trash;\n//# sourceMappingURL=trash.js.map","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"data\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"index\": 0,\n\t\"./style-index\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmultiblocks\"] = self[\"webpackChunkmultiblocks\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"./style-index\"], () => (__webpack_require__(\"./src/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["__","useBlockProps","RichText","InnerBlocks","InspectorControls","MediaReplaceFlow","MediaPlaceholder","useEffect","useSelect","dispatch","PanelBody","PanelRow","Button","RadioControl","ToggleControl","__experimentalToggleGroupControl","ToggleGroupControl","__experimentalToggleGroupControlOption","ToggleGroupControlOption","trash","Edit","attributes","setAttributes","clientId","hasStepPictures","lateralPicturesFormat","hasStepIcons","hasLateralCover","lateralCoverId","lateralCoverAlt","lateralCoverUrl","lateralCoverDescription","lateralCoverCaption","blockTitle","blockSubtitle","hasTitle","children","select","getBlocksByClientId","innerBlocks","onChangeBlockTitle","onChangeBlockSubtitle","onChangeImagesDispositionType","disposition","removeLateralCoverAttributes","handlelateralPicturesFormatChange","onChangehasStepIcons","onChangeHasTitle","newHasTitle","setLateralCoverAttributes","cover","console","log","id","alt","url","caption","description","updateChildrensProps","forEach","child","updateBlockAttributes","hasStepIcon","hasStepPicture","length","TEMPLATE","timelineStepTitle","timelineStepSubtitle","createElement","Fragment","title","className","label","help","checked","onChange","isBlock","value","variant","selected","options","src","mediaId","mediaUrl","allowedTypes","accept","onSelect","name","icon","onClick","tagName","placeholder","multiple","handleUpload","allowedBlocks","template","registerBlockType","save","metadata","xmlns","viewBox","x","y","d","width","height","foreground","edit","Content","BlockControls","ToolbarGroup","ToolbarButton","Tip","props","timelineStepImageUrl","timelineStepImageId","timelineStepImageAlt","timelineStepImageCaption","timelineStepImageDescription","timelineStepIconUrl","timelineStepIconId","timelineStepIconAlt","onChangeTimelineStepTitle","onChangeTimelineDescription","setImageAttributes","media","removeImageAttributes","setIconAttributes","removeIconAttributes","isActive","Save","navigation","version","supports"],"sourceRoot":""}
\ No newline at end of file
diff --git a/blocks/timeline/build/steps-container/block.json b/blocks/timeline/build/steps-container/block.json
new file mode 100644
index 0000000..9ad7e06
--- /dev/null
+++ b/blocks/timeline/build/steps-container/block.json
@@ -0,0 +1,15 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "homegrade-content-blocks/timeline-steps-container",
+ "version": "0.1.0",
+ "title": "Étapes",
+ "category": "homegrade-blocks",
+ "description": "steps container",
+ "supports": {
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "editorStyle": "file:./index.css",
+ "style": "file:./style-index.css"
+}
\ No newline at end of file
diff --git a/blocks/timeline/build/steps-container/index.asset.php b/blocks/timeline/build/steps-container/index.asset.php
new file mode 100644
index 0000000..93aeb7d
--- /dev/null
+++ b/blocks/timeline/build/steps-container/index.asset.php
@@ -0,0 +1 @@
+ array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => 'b2debb11d7a463ba7b7e');
diff --git a/blocks/timeline/build/steps-container/index.css b/blocks/timeline/build/steps-container/index.css
new file mode 100644
index 0000000..80418ad
--- /dev/null
+++ b/blocks/timeline/build/steps-container/index.css
@@ -0,0 +1,4 @@
+/*!********************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/steps-container/editor.scss ***!
+ \********************************************************************************************************************************************************************************************************************************************************/
+
diff --git a/blocks/timeline/build/steps-container/index.js b/blocks/timeline/build/steps-container/index.js
new file mode 100644
index 0000000..727753c
--- /dev/null
+++ b/blocks/timeline/build/steps-container/index.js
@@ -0,0 +1,361 @@
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/steps-container/edit.js":
+/*!*************************************!*\
+ !*** ./src/steps-container/edit.js ***!
+ \*************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "default": () => (/* binding */ Edit)
+/* harmony export */ });
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
+/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editor.scss */ "./src/steps-container/editor.scss");
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
+
+
+
+
+function Edit() {
+ let {
+ hasStepIcons,
+ hasLateralCover
+ } = attributes;
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ ...(0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.useBlockProps)({
+ className: `homegrade-blocks-timeline__steps-container`
+ })
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InnerBlocks, {
+ allowedBlocks: ["homegrade-content-blocks/timeline-step"],
+ template: [["homegrade-content-blocks/timeline-step", {
+ tipTitle: "Astuce 1"
+ }], ["homegrade-content-blocks/timeline-step", {
+ tipTitle: "Astuce 2"
+ }]],
+ templateLock: false
+ }));
+}
+
+/***/ }),
+
+/***/ "./src/steps-container/index.js":
+/*!**************************************!*\
+ !*** ./src/steps-container/index.js ***!
+ \**************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
+/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style.scss */ "./src/steps-container/style.scss");
+/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./block.json */ "./src/steps-container/block.json");
+/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./edit */ "./src/steps-container/edit.js");
+/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./save */ "./src/steps-container/save.js");
+
+
+
+
+
+
+(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_3__.name, {
+ title: _block_json__WEBPACK_IMPORTED_MODULE_3__.title,
+ icon: {
+ foreground: "#DF1E1E",
+ src: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", {
+ viewBox: "0 0 73.9 90"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("g", {
+ id: "Calque_1-2",
+ "data-name": "Calque 1"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", {
+ class: "cls-1",
+ d: "m4.1,19.22v17.13c.64-.23,1.33-.35,2.05-.35s1.41.13,2.05.35v-17.12c-.64.23-1.33.35-2.05.35s-1.41-.12-2.05-.35Zm0-2.6c.64.23,1.33.35,2.05.35s1.41-.12,2.05-.35c2.39-.85,4.1-3.12,4.1-5.81s-1.71-4.96-4.1-5.81c-.64-.23-1.33-.35-2.05-.35s-1.41.12-2.05.35C1.71,5.85,0,8.13,0,10.81s1.71,4.96,4.1,5.81ZM8.21,2.41V0h-4.11v2.41c.64-.23,1.33-.35,2.05-.35.72,0,1.41.12,2.05.35Zm17.24,17.44c.82.82,1.85,1.23,2.87,1.23h29.15c1.23,0,2.05-.82,2.05-2.05V2.6c0-1.23-.82-2.05-2.05-2.05h-29.15c-1.02,0-2.05.41-2.87,1.23l-7.59,7.6c-.82.82-.82,2.05,0,2.87l7.59,7.6ZM4.11,87.6v2.4h4.11v-2.4c-.64.23-1.33.35-2.05.35-.72,0-1.41-.12-2.05-.35Zm4.11-14.21c-.64-.23-1.33-.35-2.05-.35s-1.41.12-2.05.35C1.71,74.23,0,76.51,0,79.19s1.71,4.96,4.1,5.81c.64.23,1.33.35,2.05.35s1.41-.12,2.05-.35c2.39-.85,4.1-3.13,4.1-5.81s-1.71-4.96-4.1-5.81Zm47.21-4.46h-27.1c-1.02,0-2.05.41-2.87,1.23l-7.59,7.6c-.82.82-.82,2.05,0,2.87l7.59,7.6c.82.82,1.85,1.23,2.87,1.23h27.1c1.23,0,2.05-.82,2.05-2.05v-16.42c0-1.23-.82-2.05-2.05-2.05Zm16.42-34.44H28.33c-1.02,0-2.05.41-2.87,1.23l-7.59,7.59c-.82.82-.82,2.05,0,2.87l7.59,7.6c.82.82,1.85,1.23,2.87,1.23h43.52c1.23,0,2.05-.82,2.05-2.05v-16.42c0-1.23-.82-2.05-2.05-2.05Zm-63.63,4.46c-.64-.23-1.33-.35-2.05-.35-.72,0-1.41.13-2.05.35C1.71,39.79,0,42.07,0,44.75s1.71,4.96,4.1,5.81c.64.23,1.33.35,2.05.35s1.41-.13,2.05-.35c2.39-.85,4.1-3.12,4.1-5.81s-1.71-4.96-4.1-5.81Zm0,31.84v-17.12c-.64.23-1.33.35-2.05.35s-1.41-.13-2.05-.35v17.12c.64-.23,1.33-.35,2.05-.35s1.41.12,2.05.35Z"
+ })))
+ },
+ supports: _block_json__WEBPACK_IMPORTED_MODULE_3__.supports,
+ attributes: _block_json__WEBPACK_IMPORTED_MODULE_3__.attributes,
+ edit: _edit__WEBPACK_IMPORTED_MODULE_4__["default"],
+ save: _save__WEBPACK_IMPORTED_MODULE_5__["default"]
+});
+
+/***/ }),
+
+/***/ "./src/steps-container/save.js":
+/*!*************************************!*\
+ !*** ./src/steps-container/save.js ***!
+ \*************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "default": () => (/* binding */ save)
+/* harmony export */ });
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__);
+
+
+function save() {
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ ..._wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps.save({
+ className: `homegrade-blocks-timeline__steps-container`
+ })
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InnerBlocks.Content, null));
+}
+
+/***/ }),
+
+/***/ "./src/steps-container/editor.scss":
+/*!*****************************************!*\
+ !*** ./src/steps-container/editor.scss ***!
+ \*****************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+// extracted by mini-css-extract-plugin
+
+
+/***/ }),
+
+/***/ "./src/steps-container/style.scss":
+/*!****************************************!*\
+ !*** ./src/steps-container/style.scss ***!
+ \****************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+// extracted by mini-css-extract-plugin
+
+
+/***/ }),
+
+/***/ "@wordpress/block-editor":
+/*!*************************************!*\
+ !*** external ["wp","blockEditor"] ***!
+ \*************************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["blockEditor"];
+
+/***/ }),
+
+/***/ "@wordpress/blocks":
+/*!********************************!*\
+ !*** external ["wp","blocks"] ***!
+ \********************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["blocks"];
+
+/***/ }),
+
+/***/ "@wordpress/element":
+/*!*********************************!*\
+ !*** external ["wp","element"] ***!
+ \*********************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["element"];
+
+/***/ }),
+
+/***/ "@wordpress/i18n":
+/*!******************************!*\
+ !*** external ["wp","i18n"] ***!
+ \******************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["i18n"];
+
+/***/ }),
+
+/***/ "./src/steps-container/block.json":
+/*!****************************************!*\
+ !*** ./src/steps-container/block.json ***!
+ \****************************************/
+/***/ ((module) => {
+
+module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/timeline-steps-container","version":"0.1.0","title":"Étapes","category":"homegrade-blocks","description":"steps container","supports":{"html":false},"editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css"}');
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = __webpack_modules__;
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/chunk loaded */
+/******/ (() => {
+/******/ var deferred = [];
+/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
+/******/ if(chunkIds) {
+/******/ priority = priority || 0;
+/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
+/******/ deferred[i] = [chunkIds, fn, priority];
+/******/ return;
+/******/ }
+/******/ var notFulfilled = Infinity;
+/******/ for (var i = 0; i < deferred.length; i++) {
+/******/ var chunkIds = deferred[i][0];
+/******/ var fn = deferred[i][1];
+/******/ var priority = deferred[i][2];
+/******/ var fulfilled = true;
+/******/ for (var j = 0; j < chunkIds.length; j++) {
+/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
+/******/ chunkIds.splice(j--, 1);
+/******/ } else {
+/******/ fulfilled = false;
+/******/ if(priority < notFulfilled) notFulfilled = priority;
+/******/ }
+/******/ }
+/******/ if(fulfilled) {
+/******/ deferred.splice(i--, 1)
+/******/ var r = fn();
+/******/ if (r !== undefined) result = r;
+/******/ }
+/******/ }
+/******/ return result;
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/compat get default export */
+/******/ (() => {
+/******/ // getDefaultExport function for compatibility with non-harmony modules
+/******/ __webpack_require__.n = (module) => {
+/******/ var getter = module && module.__esModule ?
+/******/ () => (module['default']) :
+/******/ () => (module);
+/******/ __webpack_require__.d(getter, { a: getter });
+/******/ return getter;
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/jsonp chunk loading */
+/******/ (() => {
+/******/ // no baseURI
+/******/
+/******/ // object to store loaded and loading chunks
+/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
+/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
+/******/ var installedChunks = {
+/******/ "steps-container/index": 0,
+/******/ "steps-container/style-index": 0
+/******/ };
+/******/
+/******/ // no chunk on demand loading
+/******/
+/******/ // no prefetching
+/******/
+/******/ // no preloaded
+/******/
+/******/ // no HMR
+/******/
+/******/ // no HMR manifest
+/******/
+/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
+/******/
+/******/ // install a JSONP callback for chunk loading
+/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
+/******/ var chunkIds = data[0];
+/******/ var moreModules = data[1];
+/******/ var runtime = data[2];
+/******/ // add "moreModules" to the modules object,
+/******/ // then flag all "chunkIds" as loaded and fire callback
+/******/ var moduleId, chunkId, i = 0;
+/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
+/******/ for(moduleId in moreModules) {
+/******/ if(__webpack_require__.o(moreModules, moduleId)) {
+/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
+/******/ }
+/******/ }
+/******/ if(runtime) var result = runtime(__webpack_require__);
+/******/ }
+/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
+/******/ for(;i < chunkIds.length; i++) {
+/******/ chunkId = chunkIds[i];
+/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
+/******/ installedChunks[chunkId][0]();
+/******/ }
+/******/ installedChunks[chunkId] = 0;
+/******/ }
+/******/ return __webpack_require__.O(result);
+/******/ }
+/******/
+/******/ var chunkLoadingGlobal = self["webpackChunkmultiblocks"] = self["webpackChunkmultiblocks"] || [];
+/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
+/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module depends on other loaded chunks and execution need to be delayed
+/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["steps-container/style-index"], () => (__webpack_require__("./src/steps-container/index.js")))
+/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
+/******/
+/******/ })()
+;
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/blocks/timeline/build/steps-container/index.js.map b/blocks/timeline/build/steps-container/index.js.map
new file mode 100644
index 0000000..f431066
--- /dev/null
+++ b/blocks/timeline/build/steps-container/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"steps-container/index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;AAAqC;AACd;AAE8C;AACtD,SAASG,IAAIA,CAAA,EAAG;EAC9B,IAAI;IAAEC,YAAY;IAAEC;EAAgB,CAAC,GAAGC,UAAU;EAClD,OACCC,iEAAA;IAAA,GACKN,sEAAa,CAAC;MACjBO,SAAS,EAAG;IACb,CAAC;EAAC,GAEFD,iEAAA,CAACL,gEAAW;IACXO,aAAa,EAAE,CAAC,wCAAwC,CAAE;IAC1DC,QAAQ,EAAE,CACT,CAAC,wCAAwC,EAAE;MAAEC,QAAQ,EAAE;IAAW,CAAC,CAAC,EACpE,CAAC,wCAAwC,EAAE;MAAEA,QAAQ,EAAE;IAAW,CAAC,CAAC,CACnE;IACFC,YAAY,EAAE;EAAM,CACpB,CACG,CAAC;AAER;;;;;;;;;;;;;;;;;;;;ACtBsD;AAChC;AACc;AAEV;AACA;AAE1BC,oEAAiB,CAACC,6CAAa,EAAE;EAChCG,KAAK,EAAEH,8CAAc;EACrBI,IAAI,EAAE;IACLC,UAAU,EAAE,SAAS;IACrBC,GAAG,EACFb,iEAAA;MAAKc,OAAO,EAAC;IAAa,GACzBd,iEAAA;MAAGe,EAAE,EAAC,YAAY;MAAC,aAAU;IAAU,GACtCf,iEAAA;MACCgB,KAAK,EAAC,OAAO;MACbC,CAAC,EAAC;IAA47C,CA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WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEnDA;UACA;UACA;UACA;UACA","sources":["webpack://multiblocks/./src/steps-container/edit.js","webpack://multiblocks/./src/steps-container/index.js","webpack://multiblocks/./src/steps-container/save.js","webpack://multiblocks/./src/steps-container/editor.scss","webpack://multiblocks/./src/steps-container/style.scss","webpack://multiblocks/external window [\"wp\",\"blockEditor\"]","webpack://multiblocks/external window [\"wp\",\"blocks\"]","webpack://multiblocks/external window [\"wp\",\"element\"]","webpack://multiblocks/external window [\"wp\",\"i18n\"]","webpack://multiblocks/webpack/bootstrap","webpack://multiblocks/webpack/runtime/chunk loaded","webpack://multiblocks/webpack/runtime/compat get default export","webpack://multiblocks/webpack/runtime/define property getters","webpack://multiblocks/webpack/runtime/hasOwnProperty shorthand","webpack://multiblocks/webpack/runtime/make namespace object","webpack://multiblocks/webpack/runtime/jsonp chunk loading","webpack://multiblocks/webpack/before-startup","webpack://multiblocks/webpack/startup","webpack://multiblocks/webpack/after-startup"],"sourcesContent":["import { __ } from \"@wordpress/i18n\";\nimport \"./editor.scss\";\n\nimport { useBlockProps, InnerBlocks } from \"@wordpress/block-editor\";\nexport default function Edit() {\n\tlet { hasStepIcons, hasLateralCover } = attributes;\n\treturn (\n\t\t\n\t\t\t \n\t\t
\n\t);\n}\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport \"./style.scss\";\nimport metadata from \"./block.json\";\n\nimport Edit from \"./edit\";\nimport Save from \"./save\";\n\nregisterBlockType(metadata.name, {\n\ttitle: metadata.title,\n\ticon: {\n\t\tforeground: \"#DF1E1E\",\n\t\tsrc: (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t),\n\t},\n\n\tsupports: metadata.supports,\n\tattributes: metadata.attributes,\n\tedit: Edit,\n\tsave: Save,\n});\n","import { useBlockProps, RichText, InnerBlocks } from \"@wordpress/block-editor\";\n\nexport default function save() {\n\treturn (\n\t\t\n\t\t\t \n\t\t
\n\t);\n}\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"steps-container/index\": 0,\n\t\"steps-container/style-index\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmultiblocks\"] = self[\"webpackChunkmultiblocks\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"steps-container/style-index\"], () => (__webpack_require__(\"./src/steps-container/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["__","useBlockProps","InnerBlocks","Edit","hasStepIcons","hasLateralCover","attributes","createElement","className","allowedBlocks","template","tipTitle","templateLock","registerBlockType","metadata","Save","name","title","icon","foreground","src","viewBox","id","class","d","supports","edit","save","RichText","Content"],"sourceRoot":""}
\ No newline at end of file
diff --git a/blocks/timeline/build/steps-container/style-index.css b/blocks/timeline/build/steps-container/style-index.css
new file mode 100644
index 0000000..5cadad6
--- /dev/null
+++ b/blocks/timeline/build/steps-container/style-index.css
@@ -0,0 +1,4 @@
+/*!*******************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/steps-container/style.scss ***!
+ \*******************************************************************************************************************************************************************************************************************************************************/
+
diff --git a/blocks/timeline/build/timeline-step copy/block.json b/blocks/timeline/build/timeline-step copy/block.json
new file mode 100644
index 0000000..3724989
--- /dev/null
+++ b/blocks/timeline/build/timeline-step copy/block.json
@@ -0,0 +1,65 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "homegrade-content-blocks/timeline-step",
+ "version": "0.1.0",
+ "title": "Étape de timeline",
+ "category": "homegrade-blocks",
+ "description": "Bloc d'étape de timeline",
+ "supports": {
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "editorStyle": "file:./index.css",
+ "style": "file:./style-index.css",
+ "attributes": {
+ "timelineStepTitle": {
+ "type": "string",
+ "default": ""
+ },
+ "timelineStepSubtitle": {
+ "type": "string",
+ "default": ""
+ },
+ "timelineStepImageUrl": {
+ "type": "string"
+ },
+ "timelineStepImageId": {
+ "type": "number"
+ },
+ "timelineStepImageCaption": {
+ "type": "string"
+ },
+ "timelineStepImageDescription": {
+ "type": "string"
+ },
+ "timelineStepImageAlt": {
+ "type": "string",
+ "source": "attribute",
+ "selector": "img",
+ "attribute": "alt",
+ "default": ""
+ },
+ "timelineStepIconUrl": {
+ "type": "string"
+ },
+ "timelineStepIconId": {
+ "type": "number"
+ },
+ "timelineStepIconAlt": {
+ "type": "string",
+ "source": "attribute",
+ "selector": "img",
+ "attribute": "alt",
+ "default": ""
+ },
+ "hasStepIcon": {
+ "type": "boolean",
+ "default": true
+ },
+ "hasStepPicture": {
+ "type": "boolean",
+ "default": true
+ }
+ }
+}
\ No newline at end of file
diff --git a/blocks/timeline/build/timeline-step copy/index.asset.php b/blocks/timeline/build/timeline-step copy/index.asset.php
new file mode 100644
index 0000000..9c187a4
--- /dev/null
+++ b/blocks/timeline/build/timeline-step copy/index.asset.php
@@ -0,0 +1 @@
+ array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '159682f2c74a19a6326f');
diff --git a/blocks/timeline/build/timeline-step copy/index.css b/blocks/timeline/build/timeline-step copy/index.css
new file mode 100644
index 0000000..b58eed4
--- /dev/null
+++ b/blocks/timeline/build/timeline-step copy/index.css
@@ -0,0 +1,4 @@
+/*!***********************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/timeline-step copy/editor.scss ***!
+ \***********************************************************************************************************************************************************************************************************************************************************/
+
diff --git a/blocks/timeline/build/timeline-step copy/index.js b/blocks/timeline/build/timeline-step copy/index.js
new file mode 100644
index 0000000..bedc92a
--- /dev/null
+++ b/blocks/timeline/build/timeline-step copy/index.js
@@ -0,0 +1,625 @@
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/timeline-step copy/edit.js":
+/*!****************************************!*\
+ !*** ./src/timeline-step copy/edit.js ***!
+ \****************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "default": () => (/* binding */ Edit)
+/* harmony export */ });
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
+/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editor.scss */ "./src/timeline-step copy/editor.scss");
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
+/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
+/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__);
+/* harmony import */ var _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/icons */ "../../node_modules/@wordpress/icons/build-module/library/trash.js");
+
+
+
+
+
+
+
+
+function Edit({
+ attributes,
+ setAttributes,
+ ...props
+}) {
+ let {
+ timelineStepTitle,
+ timelineStepSubtitle,
+ timelineStepImageUrl,
+ timelineStepImageId,
+ timelineStepImageAlt,
+ timelineStepImageCaption,
+ timelineStepImageDescription,
+ timelineStepIconUrl,
+ timelineStepIconId,
+ timelineStepIconAlt,
+ hasStepPicture,
+ hasStepIcon
+ } = attributes;
+ function onChangeTimelineStepTitle(timelineStepTitle) {
+ setAttributes({
+ timelineStepTitle
+ });
+ }
+ function onChangeTimelineDescription(timelineStepSubtitle) {
+ setAttributes({
+ timelineStepSubtitle
+ });
+ }
+ function setImageAttributes(media) {
+ if (!media || !media.url) {
+ setAttributes({
+ timelineStepImageUrl: null,
+ timelineStepImageId: null,
+ timelineStepImageAlt: null,
+ timelineStepImageCaption: null,
+ timelineStepImageDescription: null
+ });
+ return;
+ }
+ setAttributes({
+ timelineStepImageUrl: media.url,
+ timelineStepImageId: media.id,
+ timelineStepImageAlt: media?.alt,
+ timelineStepImageCaption: media?.caption,
+ timelineStepImageDescription: media?.description
+ });
+ }
+ function removeImageAttributes() {
+ setAttributes({
+ timelineStepImageUrl: null,
+ timelineStepImageId: null,
+ timelineStepImageAlt: null
+ });
+ }
+ function setIconAttributes(media) {
+ console.log(media);
+ if (!media || !media.url) {
+ setAttributes({
+ timelineStepIconUrl: null,
+ timelineStepIconId: null,
+ timelineStepIconAlt: null
+ });
+ return;
+ }
+ setAttributes({
+ timelineStepIconUrl: media.url,
+ timelineStepIconId: media.id,
+ timelineStepIconAlt: media?.alt
+ });
+ }
+ function removeIconAttributes() {
+ setAttributes({
+ timelineStepIconUrl: null,
+ timelineStepIconId: null,
+ timelineStepIconAlt: null
+ });
+ }
+ (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
+ if (hasStepPicture === false) {
+ setImageAttributes(null);
+ }
+ }, [hasStepPicture]);
+ (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.useEffect)(() => {
+ if (hasStepIcon === false) {
+ setIconAttributes(null);
+ }
+ }, [hasStepIcon]);
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InspectorControls, null, hasStepPicture && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, {
+ className: "homegrade-blocks-timeline-step__panel-body homegrade-blocks-timeline-step__panel-body--image",
+ title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Image", "homegrade-blocks__texte-backoffice")
+ }, timelineStepImageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
+ src: timelineStepImageUrl,
+ alt: timelineStepImageAlt
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "media-replace-container"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.MediaReplaceFlow, {
+ mediaId: timelineStepImageId,
+ mediaUrl: timelineStepImageUrl,
+ allowedTypes: ["image"],
+ accept: "image/*",
+ onSelect: setImageAttributes,
+ name: !timelineStepImageUrl ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Ajouter", "homegrade-blocks__texte-backoffice") : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Remplacer", "homegrade-blocks__texte-backoffice")
+ }), timelineStepImageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.Fragment, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Button, {
+ className: "custom-flow-button",
+ variant: "primary",
+ icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__["default"],
+ label: "Supprimer",
+ onClick: removeImageAttributes
+ }))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Tip, null, "Si besoin, Utilisez le champ \"L\xE9gende\"de la m\xE9diath\xE8que pour afficher un copyright"), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Tip, null, "Si besoin, Utilisez le champ \"Description\" de la m\xE9diath\xE8que pour donner afficher une description de votre image")), hasStepIcon && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.PanelBody, {
+ className: "homegrade-blocks-timeline-step__panel-body homegrade-blocks-timeline-step__panel-body--icon",
+ title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Icone", "homegrade-blocks__texte-backoffice")
+ }, timelineStepIconUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
+ src: timelineStepIconUrl,
+ alt: timelineStepIconAlt
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "media-replace-container"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.MediaReplaceFlow, {
+ mediaId: timelineStepIconId,
+ mediaUrl: timelineStepIconUrl,
+ allowedTypes: ["image"],
+ accept: "image/*",
+ onSelect: setIconAttributes,
+ name: !timelineStepIconUrl ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Ajouter", "homegrade-blocks__texte-backoffice") : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Remplacer", "homegrade-blocks__texte-backoffice")
+ }), timelineStepIconUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.Button, {
+ className: "custom-flow-button",
+ variant: "primary",
+ icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__["default"],
+ label: "Supprimer",
+ onClick: removeIconAttributes
+ })))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.BlockControls, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToolbarGroup, null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.MediaReplaceFlow, {
+ mediaId: timelineStepImageId,
+ mediaUrl: timelineStepImageUrl,
+ allowedTypes: ["image"],
+ accept: "image/*",
+ onSelect: setImageAttributes,
+ name: !timelineStepImageUrl ? (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Ajouter une Image", "homegrade-blocks__texte-backoffice") : (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Remplacer Image", "homegrade-blocks__texte-backoffice")
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_components__WEBPACK_IMPORTED_MODULE_4__.ToolbarButton, {
+ title: "Supprimer Image",
+ icon: _wordpress_icons__WEBPACK_IMPORTED_MODULE_5__["default"],
+ isActive: timelineStepImageUrl,
+ onClick: removeImageAttributes
+ }))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ ...(0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.useBlockProps)({
+ className: `homegrade-blocks-timeline-step`
+ })
+ }, hasStepPicture && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "homegrade-blocks-timeline-step__cover"
+ }, !timelineStepImageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.MediaPlaceholder, {
+ accept: "image/*",
+ allowedTypes: ["image"],
+ onSelect: setImageAttributes,
+ multiple: false,
+ handleUpload: true
+ }), timelineStepImageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
+ src: timelineStepImageUrl,
+ alt: timelineStepImageAlt
+ }), timelineStepImageDescription && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", null, timelineStepImageDescription), timelineStepImageCaption && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", null, timelineStepImageCaption)), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: `homegrade-blocks-timeline-step__content`
+ }, hasStepIcon && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "homegrade-blocks-timeline-step__icon"
+ }, !timelineStepIconUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", {
+ className: "please-add-icon"
+ }, "Ajoutez une icone !"), timelineStepIconUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
+ src: timelineStepIconUrl,
+ alt: timelineStepIconAlt
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "homegrade-blocks-timeline-step__text-content"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.RichText, {
+ tagName: "h3",
+ className: "homegrade-blocks-timeline-step__title",
+ placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Date ou Titre de l'étape", "homegrade-blocks__texte-backoffice"),
+ value: timelineStepTitle,
+ onChange: onChangeTimelineStepTitle
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.RichText, {
+ tagName: "h2",
+ className: "homegrade-blocks-timeline-step__subtitle",
+ placeholder: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Titre / Sous-titre de l'étape", "homegrade-blocks__texte-backoffice"),
+ value: timelineStepSubtitle,
+ onChange: onChangeTimelineDescription
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InnerBlocks, {
+ allowedBlocks: ["core/paragraph", "core/button", "core/buttons", "core/list"]
+ })))));
+}
+
+/***/ }),
+
+/***/ "./src/timeline-step copy/index.js":
+/*!*****************************************!*\
+ !*** ./src/timeline-step copy/index.js ***!
+ \*****************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
+/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style.scss */ "./src/timeline-step copy/style.scss");
+/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./block.json */ "./src/timeline-step copy/block.json");
+/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./edit */ "./src/timeline-step copy/edit.js");
+/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./save */ "./src/timeline-step copy/save.js");
+
+
+
+
+
+
+
+(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_3__.name, {
+ title: _block_json__WEBPACK_IMPORTED_MODULE_3__.title,
+ icon: {
+ foreground: "#DF1E1E",
+ src: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", {
+ version: "1.1",
+ x: "0px",
+ y: "0px",
+ viewBox: "0 0 100 125",
+ "enable-background": "new 0 0 100 100"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("g", null, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", {
+ d: "M84.6,33.6c-0.8-1.1-2.3-1.5-3.5-0.7c-1.1,0.8-1.5,2.3-0.7,3.5l7.4,11.1H66c-1.2-7.8-7.9-13.8-16-13.8s-14.8,6-16,13.8H7.5 C6.1,47.5,5,48.6,5,50s1.1,2.5,2.5,2.5H34c1.2,7.8,7.9,13.8,16,13.8s14.8-6,16-13.8h21.8l-7.4,11.1c-0.8,1.1-0.5,2.7,0.7,3.5 c0.4,0.3,0.9,0.4,1.4,0.4c0.8,0,1.6-0.4,2.1-1.1l10-15c0.6-0.8,0.6-1.9,0-2.8L84.6,33.6z M50,63.8c-7.6,0-13.8-6.2-13.8-13.8 S42.4,36.3,50,36.3S63.8,42.4,63.8,50S57.6,63.8,50,63.8z"
+ })))
+ },
+ supports: _block_json__WEBPACK_IMPORTED_MODULE_3__.supports,
+ attributes: _block_json__WEBPACK_IMPORTED_MODULE_3__.attributes,
+ edit: _edit__WEBPACK_IMPORTED_MODULE_4__["default"],
+ save: _save__WEBPACK_IMPORTED_MODULE_5__["default"]
+});
+
+/***/ }),
+
+/***/ "./src/timeline-step copy/save.js":
+/*!****************************************!*\
+ !*** ./src/timeline-step copy/save.js ***!
+ \****************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "default": () => (/* binding */ save)
+/* harmony export */ });
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__);
+
+
+function save({
+ attributes
+}) {
+ const {
+ timelineStepTitle,
+ timelineStepSubtitle,
+ timelineStepImageUrl,
+ timelineStepImageAlt,
+ timelineStepImageCaption,
+ timelineStepImageDescription,
+ timelineStepIconUrl,
+ timelineStepIconAlt,
+ hasStepPicture,
+ hasStepIcon
+ } = attributes;
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ ..._wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps.save({
+ className: `homegrade-blocks-timeline-step`
+ })
+ }, hasStepPicture && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("figure", {
+ className: "homegrade-blocks-timeline-step__cover"
+ }, timelineStepImageUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
+ src: timelineStepImageUrl,
+ alt: timelineStepImageAlt
+ }), (timelineStepImageDescription || timelineStepImageCaption) && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("figcaption", null, timelineStepImageDescription && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", {
+ className: "description"
+ }, timelineStepImageDescription), timelineStepImageCaption && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("p", {
+ className: "caption"
+ }, timelineStepImageCaption))), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: `homegrade-blocks-timeline-step__content`
+ }, hasStepIcon && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "homegrade-blocks-timeline-step__icon"
+ }, timelineStepIconUrl && (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("img", {
+ src: timelineStepIconUrl,
+ alt: timelineStepIconAlt
+ })), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ className: "homegrade-blocks-timeline-step__text-content"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.RichText.Content, {
+ tagName: "h3",
+ className: "homegrade-blocks-timeline-step__title",
+ value: timelineStepTitle
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.RichText.Content, {
+ tagName: "p",
+ className: "homegrade-blocks-timeline-step__subtitle",
+ value: timelineStepSubtitle
+ }), (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InnerBlocks.Content, null))));
+}
+
+/***/ }),
+
+/***/ "./src/timeline-step copy/editor.scss":
+/*!********************************************!*\
+ !*** ./src/timeline-step copy/editor.scss ***!
+ \********************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+// extracted by mini-css-extract-plugin
+
+
+/***/ }),
+
+/***/ "./src/timeline-step copy/style.scss":
+/*!*******************************************!*\
+ !*** ./src/timeline-step copy/style.scss ***!
+ \*******************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+// extracted by mini-css-extract-plugin
+
+
+/***/ }),
+
+/***/ "../../node_modules/@wordpress/icons/build-module/library/trash.js":
+/*!*************************************************************************!*\
+ !*** ../../node_modules/@wordpress/icons/build-module/library/trash.js ***!
+ \*************************************************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "default": () => (__WEBPACK_DEFAULT_EXPORT__)
+/* harmony export */ });
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/primitives */ "@wordpress/primitives");
+/* harmony import */ var _wordpress_primitives__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__);
+
+
+/**
+ * WordPress dependencies
+ */
+
+const trash = (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__.SVG, {
+ xmlns: "http://www.w3.org/2000/svg",
+ viewBox: "0 0 24 24"
+}, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_primitives__WEBPACK_IMPORTED_MODULE_1__.Path, {
+ d: "M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z"
+}));
+/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (trash);
+//# sourceMappingURL=trash.js.map
+
+/***/ }),
+
+/***/ "@wordpress/block-editor":
+/*!*************************************!*\
+ !*** external ["wp","blockEditor"] ***!
+ \*************************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["blockEditor"];
+
+/***/ }),
+
+/***/ "@wordpress/blocks":
+/*!********************************!*\
+ !*** external ["wp","blocks"] ***!
+ \********************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["blocks"];
+
+/***/ }),
+
+/***/ "@wordpress/components":
+/*!************************************!*\
+ !*** external ["wp","components"] ***!
+ \************************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["components"];
+
+/***/ }),
+
+/***/ "@wordpress/element":
+/*!*********************************!*\
+ !*** external ["wp","element"] ***!
+ \*********************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["element"];
+
+/***/ }),
+
+/***/ "@wordpress/i18n":
+/*!******************************!*\
+ !*** external ["wp","i18n"] ***!
+ \******************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["i18n"];
+
+/***/ }),
+
+/***/ "@wordpress/primitives":
+/*!************************************!*\
+ !*** external ["wp","primitives"] ***!
+ \************************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["primitives"];
+
+/***/ }),
+
+/***/ "./src/timeline-step copy/block.json":
+/*!*******************************************!*\
+ !*** ./src/timeline-step copy/block.json ***!
+ \*******************************************/
+/***/ ((module) => {
+
+module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/timeline-step","version":"0.1.0","title":"Étape de timeline","category":"homegrade-blocks","description":"Bloc d\'étape de timeline","supports":{"html":false},"editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"timelineStepTitle":{"type":"string","default":""},"timelineStepSubtitle":{"type":"string","default":""},"timelineStepImageUrl":{"type":"string"},"timelineStepImageId":{"type":"number"},"timelineStepImageCaption":{"type":"string"},"timelineStepImageDescription":{"type":"string"},"timelineStepImageAlt":{"type":"string","source":"attribute","selector":"img","attribute":"alt","default":""},"timelineStepIconUrl":{"type":"string"},"timelineStepIconId":{"type":"number"},"timelineStepIconAlt":{"type":"string","source":"attribute","selector":"img","attribute":"alt","default":""},"hasStepIcon":{"type":"boolean","default":true},"hasStepPicture":{"type":"boolean","default":true}}}');
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = __webpack_modules__;
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/chunk loaded */
+/******/ (() => {
+/******/ var deferred = [];
+/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
+/******/ if(chunkIds) {
+/******/ priority = priority || 0;
+/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
+/******/ deferred[i] = [chunkIds, fn, priority];
+/******/ return;
+/******/ }
+/******/ var notFulfilled = Infinity;
+/******/ for (var i = 0; i < deferred.length; i++) {
+/******/ var chunkIds = deferred[i][0];
+/******/ var fn = deferred[i][1];
+/******/ var priority = deferred[i][2];
+/******/ var fulfilled = true;
+/******/ for (var j = 0; j < chunkIds.length; j++) {
+/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
+/******/ chunkIds.splice(j--, 1);
+/******/ } else {
+/******/ fulfilled = false;
+/******/ if(priority < notFulfilled) notFulfilled = priority;
+/******/ }
+/******/ }
+/******/ if(fulfilled) {
+/******/ deferred.splice(i--, 1)
+/******/ var r = fn();
+/******/ if (r !== undefined) result = r;
+/******/ }
+/******/ }
+/******/ return result;
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/compat get default export */
+/******/ (() => {
+/******/ // getDefaultExport function for compatibility with non-harmony modules
+/******/ __webpack_require__.n = (module) => {
+/******/ var getter = module && module.__esModule ?
+/******/ () => (module['default']) :
+/******/ () => (module);
+/******/ __webpack_require__.d(getter, { a: getter });
+/******/ return getter;
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/jsonp chunk loading */
+/******/ (() => {
+/******/ // no baseURI
+/******/
+/******/ // object to store loaded and loading chunks
+/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
+/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
+/******/ var installedChunks = {
+/******/ "timeline-step copy/index": 0,
+/******/ "timeline-step copy/style-index": 0
+/******/ };
+/******/
+/******/ // no chunk on demand loading
+/******/
+/******/ // no prefetching
+/******/
+/******/ // no preloaded
+/******/
+/******/ // no HMR
+/******/
+/******/ // no HMR manifest
+/******/
+/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
+/******/
+/******/ // install a JSONP callback for chunk loading
+/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
+/******/ var chunkIds = data[0];
+/******/ var moreModules = data[1];
+/******/ var runtime = data[2];
+/******/ // add "moreModules" to the modules object,
+/******/ // then flag all "chunkIds" as loaded and fire callback
+/******/ var moduleId, chunkId, i = 0;
+/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
+/******/ for(moduleId in moreModules) {
+/******/ if(__webpack_require__.o(moreModules, moduleId)) {
+/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
+/******/ }
+/******/ }
+/******/ if(runtime) var result = runtime(__webpack_require__);
+/******/ }
+/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
+/******/ for(;i < chunkIds.length; i++) {
+/******/ chunkId = chunkIds[i];
+/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
+/******/ installedChunks[chunkId][0]();
+/******/ }
+/******/ installedChunks[chunkId] = 0;
+/******/ }
+/******/ return __webpack_require__.O(result);
+/******/ }
+/******/
+/******/ var chunkLoadingGlobal = self["webpackChunkmultiblocks"] = self["webpackChunkmultiblocks"] || [];
+/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
+/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module depends on other loaded chunks and execution need to be delayed
+/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["timeline-step copy/style-index"], () => (__webpack_require__("./src/timeline-step copy/index.js")))
+/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
+/******/
+/******/ })()
+;
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/blocks/timeline/build/timeline-step copy/index.js.map b/blocks/timeline/build/timeline-step copy/index.js.map
new file mode 100644
index 0000000..2de765b
--- /dev/null
+++ b/blocks/timeline/build/timeline-step copy/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"timeline-step copy/index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAqC;AACd;AAQU;AAOF;AACgB;AAC8B;AACpC;AAC1B,SAASe,IAAIA,CAAC;EAAEC,UAAU;EAAEC,aAAa;EAAE,GAAGC;AAAM,CAAC,EAAE;EACrE,IAAI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A;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEnDA;UACA;UACA;UACA;UACA","sources":["webpack://multiblocks/./src/timeline-step copy/edit.js","webpack://multiblocks/./src/timeline-step copy/index.js","webpack://multiblocks/./src/timeline-step copy/save.js","webpack://multiblocks/./src/timeline-step copy/editor.scss","webpack://multiblocks/./src/timeline-step copy/style.scss","webpack://multiblocks/../../node_modules/@wordpress/icons/build-module/library/trash.js","webpack://multiblocks/external window [\"wp\",\"blockEditor\"]","webpack://multiblocks/external window [\"wp\",\"blocks\"]","webpack://multiblocks/external window [\"wp\",\"components\"]","webpack://multiblocks/external window [\"wp\",\"element\"]","webpack://multiblocks/external window [\"wp\",\"i18n\"]","webpack://multiblocks/external window [\"wp\",\"primitives\"]","webpack://multiblocks/webpack/bootstrap","webpack://multiblocks/webpack/runtime/chunk loaded","webpack://multiblocks/webpack/runtime/compat get default export","webpack://multiblocks/webpack/runtime/define property getters","webpack://multiblocks/webpack/runtime/hasOwnProperty shorthand","webpack://multiblocks/webpack/runtime/make namespace object","webpack://multiblocks/webpack/runtime/jsonp chunk loading","webpack://multiblocks/webpack/before-startup","webpack://multiblocks/webpack/startup","webpack://multiblocks/webpack/after-startup"],"sourcesContent":["import { __ } from \"@wordpress/i18n\";\nimport \"./editor.scss\";\n\nimport {\n\tuseBlockProps,\n\tRichText,\n\tInnerBlocks,\n\tBlockControls,\n\tInspectorControls,\n} from \"@wordpress/block-editor\";\nimport {\n\tPanelBody,\n\tToolbarGroup,\n\tToolbarButton,\n\tButton,\n\tTip,\n} from \"@wordpress/components\";\nimport { useEffect } from \"@wordpress/element\";\nimport { MediaReplaceFlow, MediaPlaceholder } from \"@wordpress/block-editor\";\nimport { trash } from \"@wordpress/icons\";\nexport default function Edit({ attributes, setAttributes, ...props }) {\n\tlet {\n\t\ttimelineStepTitle,\n\t\ttimelineStepSubtitle,\n\t\ttimelineStepImageUrl,\n\t\ttimelineStepImageId,\n\t\ttimelineStepImageAlt,\n\t\ttimelineStepImageCaption,\n\t\ttimelineStepImageDescription,\n\t\ttimelineStepIconUrl,\n\t\ttimelineStepIconId,\n\t\ttimelineStepIconAlt,\n\t\thasStepPicture,\n\t\thasStepIcon,\n\t} = attributes;\n\n\tfunction onChangeTimelineStepTitle(timelineStepTitle) {\n\t\tsetAttributes({ timelineStepTitle });\n\t}\n\tfunction onChangeTimelineDescription(timelineStepSubtitle) {\n\t\tsetAttributes({ timelineStepSubtitle });\n\t}\n\tfunction setImageAttributes(media) {\n\t\tif (!media || !media.url) {\n\t\t\tsetAttributes({\n\t\t\t\ttimelineStepImageUrl: null,\n\t\t\t\ttimelineStepImageId: null,\n\t\t\t\ttimelineStepImageAlt: null,\n\t\t\t\ttimelineStepImageCaption: null,\n\t\t\t\ttimelineStepImageDescription: null,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tsetAttributes({\n\t\t\ttimelineStepImageUrl: media.url,\n\t\t\ttimelineStepImageId: media.id,\n\t\t\ttimelineStepImageAlt: media?.alt,\n\t\t\ttimelineStepImageCaption: media?.caption,\n\t\t\ttimelineStepImageDescription: media?.description,\n\t\t});\n\t}\n\tfunction removeImageAttributes() {\n\t\tsetAttributes({\n\t\t\ttimelineStepImageUrl: null,\n\t\t\ttimelineStepImageId: null,\n\t\t\ttimelineStepImageAlt: null,\n\t\t});\n\t}\n\n\tfunction setIconAttributes(media) {\n\t\tconsole.log(media);\n\t\tif (!media || !media.url) {\n\t\t\tsetAttributes({\n\t\t\t\ttimelineStepIconUrl: null,\n\t\t\t\ttimelineStepIconId: null,\n\t\t\t\ttimelineStepIconAlt: null,\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tsetAttributes({\n\t\t\ttimelineStepIconUrl: media.url,\n\t\t\ttimelineStepIconId: media.id,\n\t\t\ttimelineStepIconAlt: media?.alt,\n\t\t});\n\t}\n\n\tfunction removeIconAttributes() {\n\t\tsetAttributes({\n\t\t\ttimelineStepIconUrl: null,\n\t\t\ttimelineStepIconId: null,\n\t\t\ttimelineStepIconAlt: null,\n\t\t});\n\t}\n\n\tuseEffect(() => {\n\t\tif (hasStepPicture === false) {\n\t\t\tsetImageAttributes(null);\n\t\t}\n\t}, [hasStepPicture]);\n\tuseEffect(() => {\n\t\tif (hasStepIcon === false) {\n\t\t\tsetIconAttributes(null);\n\t\t}\n\t}, [hasStepIcon]);\n\n\treturn (\n\t\t<>\n\t\t\t\n\t\t\t\t{hasStepPicture && (\n\t\t\t\t\t\n\t\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t\t\t<>\n\t\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSi besoin, Utilisez le champ \"Légende\"de la médiathèque pour\n\t\t\t\t\t\t\tafficher un copyright\n\t\t\t\t\t\t \n\t\t\t\t\t\t\n\t\t\t\t\t\t\tSi besoin, Utilisez le champ \"Description\" de la médiathèque pour\n\t\t\t\t\t\t\tdonner afficher une description de votre image\n\t\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t\t{hasStepIcon && (\n\t\t\t\t\t\n\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t)}\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t\t \n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t)}\n\t\t\t \n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t\t\n\t\t\t\t{hasStepPicture && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{!timelineStepImageUrl && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{timelineStepImageDescription && (\n\t\t\t\t\t\t\t
{timelineStepImageDescription}
\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t{timelineStepImageCaption &&
{timelineStepImageCaption}
}\n\t\t\t\t\t
\n\t\t\t\t)}\n\n\t\t\t\t
\n\t\t\t\t\t{hasStepIcon && (\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t{!timelineStepIconUrl && (\n\t\t\t\t\t\t\t\t
Ajoutez une icone !
\n\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t
\n\t\t\t\t\t)}\n\n\t\t\t\t\t
\n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t\t \n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t>\n\t);\n}\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport \"./style.scss\";\nimport metadata from \"./block.json\";\n\nimport Edit from \"./edit\";\nimport Save from \"./save\";\n\nimport { navigation } from \"@wordpress/icons\";\n\nregisterBlockType(metadata.name, {\n\ttitle: metadata.title,\n\ticon: {\n\t\tforeground: \"#DF1E1E\",\n\t\tsrc: (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t),\n\t},\n\n\tsupports: metadata.supports,\n\tattributes: metadata.attributes,\n\tedit: Edit,\n\tsave: Save,\n});\n","import { useBlockProps, RichText, InnerBlocks } from \"@wordpress/block-editor\";\n\nexport default function save({ attributes }) {\n\tconst {\n\t\ttimelineStepTitle,\n\t\ttimelineStepSubtitle,\n\t\ttimelineStepImageUrl,\n\t\ttimelineStepImageAlt,\n\t\ttimelineStepImageCaption,\n\t\ttimelineStepImageDescription,\n\t\ttimelineStepIconUrl,\n\t\ttimelineStepIconAlt,\n\t\thasStepPicture,\n\t\thasStepIcon,\n\t} = attributes;\n\treturn (\n\t\t\n\t\t\t{hasStepPicture && (\n\t\t\t\t
\n\t\t\t\t\t{timelineStepImageUrl && (\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t\t{(timelineStepImageDescription || timelineStepImageCaption) && (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t{timelineStepImageDescription && (\n\t\t\t\t\t\t\t\t{timelineStepImageDescription}
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t{timelineStepImageCaption && (\n\t\t\t\t\t\t\t\t{timelineStepImageCaption}
\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t \n\t\t\t\t\t)}\n\t\t\t\t \n\t\t\t)}\n\t\t\t
\n\t\t\t\t{hasStepIcon && (\n\t\t\t\t\t
\n\t\t\t\t\t\t{timelineStepIconUrl && (\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t)}\n\t\t\t\t\t
\n\t\t\t\t)}\n\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t);\n}\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","import { createElement } from \"@wordpress/element\";\n\n/**\n * WordPress dependencies\n */\nimport { SVG, Path } from '@wordpress/primitives';\nconst trash = createElement(SVG, {\n xmlns: \"http://www.w3.org/2000/svg\",\n viewBox: \"0 0 24 24\"\n}, createElement(Path, {\n d: \"M20 5h-5.7c0-1.3-1-2.3-2.3-2.3S9.7 3.7 9.7 5H4v2h1.5v.3l1.7 11.1c.1 1 1 1.7 2 1.7h5.7c1 0 1.8-.7 2-1.7l1.7-11.1V7H20V5zm-3.2 2l-1.7 11.1c0 .1-.1.2-.3.2H9.1c-.1 0-.3-.1-.3-.2L7.2 7h9.6z\"\n}));\nexport default trash;\n//# sourceMappingURL=trash.js.map","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"components\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","module.exports = window[\"wp\"][\"primitives\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"timeline-step copy/index\": 0,\n\t\"timeline-step copy/style-index\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmultiblocks\"] = self[\"webpackChunkmultiblocks\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"timeline-step copy/style-index\"], () => (__webpack_require__(\"./src/timeline-step copy/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["__","useBlockProps","RichText","InnerBlocks","BlockControls","InspectorControls","PanelBody","ToolbarGroup","ToolbarButton","Button","Tip","useEffect","MediaReplaceFlow","MediaPlaceholder","trash","Edit","attributes","setAttributes","props","timelineStepTitle","timelineStepSubtitle","timelineStepImageUrl","timelineStepImageId","timelineStepImageAlt","timelineStepImageCaption","timelineStepImageDescription","timelineStepIconUrl","timelineStepIconId","timelineStepIconAlt","hasStepPicture","hasStepIcon","onChangeTimelineStepTitle","onChangeTimelineDescription","setImageAttributes","media","url","id","alt","caption","description","removeImageAttributes","setIconAttributes","console","log","removeIconAttributes","createElement","Fragment","className","title","src","mediaId","mediaUrl","allowedTypes","accept","onSelect","name","variant","icon","label","onClick","isActive","multiple","handleUpload","tagName","placeholder","value","onChange","allowedBlocks","registerBlockType","metadata","Save","navigation","foreground","version","x","y","viewBox","d","supports","edit","save","Content"],"sourceRoot":""}
\ No newline at end of file
diff --git a/blocks/timeline/build/timeline-step copy/style-index.css b/blocks/timeline/build/timeline-step copy/style-index.css
new file mode 100644
index 0000000..81b3347
--- /dev/null
+++ b/blocks/timeline/build/timeline-step copy/style-index.css
@@ -0,0 +1,4 @@
+/*!**********************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/timeline-step copy/style.scss ***!
+ \**********************************************************************************************************************************************************************************************************************************************************/
+
diff --git a/blocks/timeline/build/timeline-step/style-index.css b/blocks/timeline/build/timeline-step/style-index.css
new file mode 100644
index 0000000..ac621a9
--- /dev/null
+++ b/blocks/timeline/build/timeline-step/style-index.css
@@ -0,0 +1,4 @@
+/*!*****************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/timeline-step/style.scss ***!
+ \*****************************************************************************************************************************************************************************************************************************************************/
+
diff --git a/blocks/timeline/build/tips-container/block.json b/blocks/timeline/build/tips-container/block.json
new file mode 100644
index 0000000..f0aa8cd
--- /dev/null
+++ b/blocks/timeline/build/tips-container/block.json
@@ -0,0 +1,15 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "homegrade-content-blocks/tips-container",
+ "version": "0.1.0",
+ "title": "tips container",
+ "category": "homegrade-blocks",
+ "description": "tips container",
+ "supports": {
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "editorStyle": "file:./index.css",
+ "style": "file:./style-index.css"
+}
\ No newline at end of file
diff --git a/blocks/timeline/build/tips-container/index.asset.php b/blocks/timeline/build/tips-container/index.asset.php
new file mode 100644
index 0000000..472432c
--- /dev/null
+++ b/blocks/timeline/build/tips-container/index.asset.php
@@ -0,0 +1 @@
+ array('wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n'), 'version' => 'e03eaf34cd07ed126eb2');
diff --git a/blocks/timeline/build/tips-container/index.css b/blocks/timeline/build/tips-container/index.css
new file mode 100644
index 0000000..0508eef
--- /dev/null
+++ b/blocks/timeline/build/tips-container/index.css
@@ -0,0 +1,4 @@
+/*!*******************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/tips-container/editor.scss ***!
+ \*******************************************************************************************************************************************************************************************************************************************************/
+
diff --git a/blocks/timeline/build/tips-container/index.js b/blocks/timeline/build/tips-container/index.js
new file mode 100644
index 0000000..15aeabf
--- /dev/null
+++ b/blocks/timeline/build/tips-container/index.js
@@ -0,0 +1,358 @@
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/tips-container/edit.js":
+/*!************************************!*\
+ !*** ./src/tips-container/edit.js ***!
+ \************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "default": () => (/* binding */ Edit)
+/* harmony export */ });
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
+/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editor.scss */ "./src/tips-container/editor.scss");
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__);
+
+
+
+
+function Edit() {
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ ...(0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.useBlockProps)({
+ className: `homegrade-blocks-tips-to-know__tips-container`
+ })
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_3__.InnerBlocks, {
+ allowedBlocks: ["homegrade-content-blocks/tip"],
+ template: [["homegrade-content-blocks/tip", {
+ tipTitle: "Astuce 1"
+ }], ["homegrade-content-blocks/tip", {
+ tipTitle: "Astuce 2"
+ }]],
+ templateLock: false
+ }));
+}
+
+/***/ }),
+
+/***/ "./src/tips-container/index.js":
+/*!*************************************!*\
+ !*** ./src/tips-container/index.js ***!
+ \*************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
+/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__);
+/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./style.scss */ "./src/tips-container/style.scss");
+/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./block.json */ "./src/tips-container/block.json");
+/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./edit */ "./src/tips-container/edit.js");
+/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./save */ "./src/tips-container/save.js");
+
+
+
+
+
+
+(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_1__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_3__.name, {
+ title: _block_json__WEBPACK_IMPORTED_MODULE_3__.title,
+ icon: {
+ foreground: "#DF1E1E",
+ src: (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("svg", {
+ xmlns: "http://www.w3.org/2000/svg",
+ viewBox: "0 0 30 30.02"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("g", {
+ id: "Calque_1-2",
+ "data-name": "Calque 1"
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("path", {
+ class: "cls-1",
+ d: "m5.55,15.41l9,4.49c.29.13.61.13.9,0l9-4.49c.34-.17.55-.51.55-.89v-6.19l-8.66,4.32c-.85.41-1.83.41-2.68,0l-8.66-4.32v6.19c0,.38.21.72.55.89Zm0-9.03l9,4.48c.29.13.61.13.9,0l9-4.48c.34-.17.55-.52.55-.9,0-.38-.21-.72-.55-.89L15.45.1c-.29-.13-.61-.13-.9,0L5.55,4.59c-.34.17-.55.51-.55.89,0,.38.21.73.55.9Zm2.65,14.62l-3.77,3.38c-1.46-.79-3.28-.25-4.07,1.21s-.25,3.28,1.21,4.07,3.28.25,4.07-1.21c.24-.44.37-.94.36-1.45,0-.39-.08-.77-.23-1.13l4.1-3.65c.21-.19.33-.46.33-.75v-1.47l-2-1v2Zm7.8,3.18v-2.37c-.64.25-1.36.25-2,0v2.37c-1.56.55-2.38,2.27-1.83,3.83.55,1.56,2.27,2.38,3.83,1.83,1.56-.55,2.38-2.27,1.83-3.83-.3-.85-.97-1.53-1.83-1.83Zm11-.18c-.5,0-.99.14-1.43.38l-3.77-3.38v-2l-2,1v1.51c0,.29.12.56.33.75l4.1,3.65c-.15.34-.23.72-.23,1.09,0,1.66,1.34,3,3,3s3-1.34,3-3-1.34-3-3-3Z"
+ })))
+ },
+ supports: _block_json__WEBPACK_IMPORTED_MODULE_3__.supports,
+ attributes: _block_json__WEBPACK_IMPORTED_MODULE_3__.attributes,
+ edit: _edit__WEBPACK_IMPORTED_MODULE_4__["default"],
+ save: _save__WEBPACK_IMPORTED_MODULE_5__["default"]
+});
+
+/***/ }),
+
+/***/ "./src/tips-container/save.js":
+/*!************************************!*\
+ !*** ./src/tips-container/save.js ***!
+ \************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+/* harmony export */ __webpack_require__.d(__webpack_exports__, {
+/* harmony export */ "default": () => (/* binding */ save)
+/* harmony export */ });
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
+/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_0__);
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
+/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__);
+
+
+function save() {
+ return (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)("div", {
+ ..._wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps.save({
+ className: `homegrade-blocks-tips-to-know__tips-container`
+ })
+ }, (0,_wordpress_element__WEBPACK_IMPORTED_MODULE_0__.createElement)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InnerBlocks.Content, null));
+}
+
+/***/ }),
+
+/***/ "./src/tips-container/editor.scss":
+/*!****************************************!*\
+ !*** ./src/tips-container/editor.scss ***!
+ \****************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+// extracted by mini-css-extract-plugin
+
+
+/***/ }),
+
+/***/ "./src/tips-container/style.scss":
+/*!***************************************!*\
+ !*** ./src/tips-container/style.scss ***!
+ \***************************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+__webpack_require__.r(__webpack_exports__);
+// extracted by mini-css-extract-plugin
+
+
+/***/ }),
+
+/***/ "@wordpress/block-editor":
+/*!*************************************!*\
+ !*** external ["wp","blockEditor"] ***!
+ \*************************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["blockEditor"];
+
+/***/ }),
+
+/***/ "@wordpress/blocks":
+/*!********************************!*\
+ !*** external ["wp","blocks"] ***!
+ \********************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["blocks"];
+
+/***/ }),
+
+/***/ "@wordpress/element":
+/*!*********************************!*\
+ !*** external ["wp","element"] ***!
+ \*********************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["element"];
+
+/***/ }),
+
+/***/ "@wordpress/i18n":
+/*!******************************!*\
+ !*** external ["wp","i18n"] ***!
+ \******************************/
+/***/ ((module) => {
+
+module.exports = window["wp"]["i18n"];
+
+/***/ }),
+
+/***/ "./src/tips-container/block.json":
+/*!***************************************!*\
+ !*** ./src/tips-container/block.json ***!
+ \***************************************/
+/***/ ((module) => {
+
+module.exports = JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":2,"name":"homegrade-content-blocks/tips-container","version":"0.1.0","title":"tips container","category":"homegrade-blocks","description":"tips container","supports":{"html":false},"editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css"}');
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = __webpack_modules__;
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/chunk loaded */
+/******/ (() => {
+/******/ var deferred = [];
+/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
+/******/ if(chunkIds) {
+/******/ priority = priority || 0;
+/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
+/******/ deferred[i] = [chunkIds, fn, priority];
+/******/ return;
+/******/ }
+/******/ var notFulfilled = Infinity;
+/******/ for (var i = 0; i < deferred.length; i++) {
+/******/ var chunkIds = deferred[i][0];
+/******/ var fn = deferred[i][1];
+/******/ var priority = deferred[i][2];
+/******/ var fulfilled = true;
+/******/ for (var j = 0; j < chunkIds.length; j++) {
+/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
+/******/ chunkIds.splice(j--, 1);
+/******/ } else {
+/******/ fulfilled = false;
+/******/ if(priority < notFulfilled) notFulfilled = priority;
+/******/ }
+/******/ }
+/******/ if(fulfilled) {
+/******/ deferred.splice(i--, 1)
+/******/ var r = fn();
+/******/ if (r !== undefined) result = r;
+/******/ }
+/******/ }
+/******/ return result;
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/compat get default export */
+/******/ (() => {
+/******/ // getDefaultExport function for compatibility with non-harmony modules
+/******/ __webpack_require__.n = (module) => {
+/******/ var getter = module && module.__esModule ?
+/******/ () => (module['default']) :
+/******/ () => (module);
+/******/ __webpack_require__.d(getter, { a: getter });
+/******/ return getter;
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/jsonp chunk loading */
+/******/ (() => {
+/******/ // no baseURI
+/******/
+/******/ // object to store loaded and loading chunks
+/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
+/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
+/******/ var installedChunks = {
+/******/ "tips-container/index": 0,
+/******/ "tips-container/style-index": 0
+/******/ };
+/******/
+/******/ // no chunk on demand loading
+/******/
+/******/ // no prefetching
+/******/
+/******/ // no preloaded
+/******/
+/******/ // no HMR
+/******/
+/******/ // no HMR manifest
+/******/
+/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
+/******/
+/******/ // install a JSONP callback for chunk loading
+/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
+/******/ var chunkIds = data[0];
+/******/ var moreModules = data[1];
+/******/ var runtime = data[2];
+/******/ // add "moreModules" to the modules object,
+/******/ // then flag all "chunkIds" as loaded and fire callback
+/******/ var moduleId, chunkId, i = 0;
+/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
+/******/ for(moduleId in moreModules) {
+/******/ if(__webpack_require__.o(moreModules, moduleId)) {
+/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
+/******/ }
+/******/ }
+/******/ if(runtime) var result = runtime(__webpack_require__);
+/******/ }
+/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
+/******/ for(;i < chunkIds.length; i++) {
+/******/ chunkId = chunkIds[i];
+/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
+/******/ installedChunks[chunkId][0]();
+/******/ }
+/******/ installedChunks[chunkId] = 0;
+/******/ }
+/******/ return __webpack_require__.O(result);
+/******/ }
+/******/
+/******/ var chunkLoadingGlobal = self["webpackChunkmultiblocks"] = self["webpackChunkmultiblocks"] || [];
+/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
+/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module depends on other loaded chunks and execution need to be delayed
+/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["tips-container/style-index"], () => (__webpack_require__("./src/tips-container/index.js")))
+/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
+/******/
+/******/ })()
+;
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/blocks/timeline/build/tips-container/index.js.map b/blocks/timeline/build/tips-container/index.js.map
new file mode 100644
index 0000000..ea8b8a0
--- /dev/null
+++ b/blocks/timeline/build/tips-container/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"tips-container/index.js","mappings":";;;;;;;;;;;;;;;;;;;;;;AAAqC;AACd;AAMU;AAClB,SAASI,IAAIA,CAAA,EAAG;EAC9B,OACCC,iEAAA;IAAA,GACKJ,sEAAa,CAAC;MACjBK,SAAS,EAAG;IACb,CAAC;EAAC,GAEFD,iEAAA,CAACH,gEAAW;IACXK,aAAa,EAAE,CAAC,8BAA8B,CAAE;IAChDC,QAAQ,EAAE,CACT,CAAC,8BAA8B,EAAE;MAAEC,QAAQ,EAAE;IAAW,CAAC,CAAC,EAC1D,CAAC,8BAA8B,EAAE;MAAEA,QAAQ,EAAE;IAAW,CAAC,CAAC,CACzD;IACFC,YAAY,EAAE;EAAM,CACpB,CACG,CAAC;AAER;;;;;;;;;;;;;;;;;;;;ACzBsD;AAChC;AACc;AAEV;AACA;AAE1BC,oEAAiB,CAACC,6CAAa,EAAE;EAChCG,KAAK,EAAEH,8CAAc;EACrBI,IAAI,EAAE;IACLC,UAAU,EAAE,SAAS;IACrBC,GAAG,EACFb,iEAAA;MAAKc,KAAK,EAAC,4BAA4B;MAACC,OAAO,EAAC;IAAc,G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;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA;;;;;UEnDA;UACA;UACA;UACA;UACA","sources":["webpack://multiblocks/./src/tips-container/edit.js","webpack://multiblocks/./src/tips-container/index.js","webpack://multiblocks/./src/tips-container/save.js","webpack://multiblocks/./src/tips-container/editor.scss","webpack://multiblocks/./src/tips-container/style.scss","webpack://multiblocks/external window [\"wp\",\"blockEditor\"]","webpack://multiblocks/external window [\"wp\",\"blocks\"]","webpack://multiblocks/external window [\"wp\",\"element\"]","webpack://multiblocks/external window [\"wp\",\"i18n\"]","webpack://multiblocks/webpack/bootstrap","webpack://multiblocks/webpack/runtime/chunk loaded","webpack://multiblocks/webpack/runtime/compat get default export","webpack://multiblocks/webpack/runtime/define property getters","webpack://multiblocks/webpack/runtime/hasOwnProperty shorthand","webpack://multiblocks/webpack/runtime/make namespace object","webpack://multiblocks/webpack/runtime/jsonp chunk loading","webpack://multiblocks/webpack/before-startup","webpack://multiblocks/webpack/startup","webpack://multiblocks/webpack/after-startup"],"sourcesContent":["import { __ } from \"@wordpress/i18n\";\nimport \"./editor.scss\";\n\nimport {\n\tuseBlockProps,\n\tInnerBlocks,\n\tInspectorControls,\n} from \"@wordpress/block-editor\";\nexport default function Edit() {\n\treturn (\n\t\t\n\t\t\t \n\t\t
\n\t);\n}\n","import { registerBlockType } from \"@wordpress/blocks\";\nimport \"./style.scss\";\nimport metadata from \"./block.json\";\n\nimport Edit from \"./edit\";\nimport Save from \"./save\";\n\nregisterBlockType(metadata.name, {\n\ttitle: metadata.title,\n\ticon: {\n\t\tforeground: \"#DF1E1E\",\n\t\tsrc: (\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t \n\t\t\t\t \n\t\t\t \n\t\t),\n\t},\n\n\tsupports: metadata.supports,\n\tattributes: metadata.attributes,\n\tedit: Edit,\n\tsave: Save,\n});\n","import { useBlockProps, RichText, InnerBlocks } from \"@wordpress/block-editor\";\n\nexport default function save() {\n\treturn (\n\t\t\n\t\t\t \n\t\t
\n\t);\n}\n","// extracted by mini-css-extract-plugin\nexport {};","// extracted by mini-css-extract-plugin\nexport {};","module.exports = window[\"wp\"][\"blockEditor\"];","module.exports = window[\"wp\"][\"blocks\"];","module.exports = window[\"wp\"][\"element\"];","module.exports = window[\"wp\"][\"i18n\"];","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t\"tips-container/index\": 0,\n\t\"tips-container/style-index\": 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkmultiblocks\"] = self[\"webpackChunkmultiblocks\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [\"tips-container/style-index\"], () => (__webpack_require__(\"./src/tips-container/index.js\")))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":["__","useBlockProps","InnerBlocks","InspectorControls","Edit","createElement","className","allowedBlocks","template","tipTitle","templateLock","registerBlockType","metadata","Save","name","title","icon","foreground","src","xmlns","viewBox","id","class","d","supports","attributes","edit","save","RichText","Content"],"sourceRoot":""}
\ No newline at end of file
diff --git a/blocks/timeline/build/tips-container/style-index.css b/blocks/timeline/build/tips-container/style-index.css
new file mode 100644
index 0000000..1c3f752
--- /dev/null
+++ b/blocks/timeline/build/tips-container/style-index.css
@@ -0,0 +1,4 @@
+/*!******************************************************************************************************************************************************************************************************************************************************!*\
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/tips-container/style.scss ***!
+ \******************************************************************************************************************************************************************************************************************************************************/
+
diff --git a/blocks/timeline/src/block.json b/blocks/timeline/src/block.json
index 24627ab..5b28fb5 100644
--- a/blocks/timeline/src/block.json
+++ b/blocks/timeline/src/block.json
@@ -14,6 +14,16 @@
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"attributes": {
+ "hasTitle": {
+ "type": "boolean",
+ "default": true
+ },
+ "blockTitle": {
+ "type": "string"
+ },
+ "blockSubtitle": {
+ "type": "string"
+ },
"hasLateralCover": {
"type": "boolean",
"default": false
@@ -27,6 +37,15 @@
"lateralCoverAlt": {
"type": "string"
},
+ "lateralCoverAlt": {
+ "type": "string"
+ },
+ "lateralCoverCaption": {
+ "type": "string"
+ },
+ "lateralCoverDescription": {
+ "type": "string"
+ },
"hasStepPictures": {
"type": "boolean",
"default": true
@@ -35,7 +54,7 @@
"type": "boolean",
"default": true
},
- "stepPictureFormat": {
+ "lateralPicturesFormat": {
"type": "string",
"default": "md"
}
diff --git a/blocks/timeline/src/edit.js b/blocks/timeline/src/edit.js
index 3d69829..9d06afa 100644
--- a/blocks/timeline/src/edit.js
+++ b/blocks/timeline/src/edit.js
@@ -1,6 +1,7 @@
import { __ } from "@wordpress/i18n";
import "./editor.scss";
import "./timeline-step";
+// import "./steps-container";
import {
useBlockProps,
@@ -18,24 +19,26 @@ import {
PanelRow,
Button,
RadioControl,
- FormToggle,
+ ToggleControl,
__experimentalToggleGroupControl as ToggleGroupControl,
__experimentalToggleGroupControlOption as ToggleGroupControlOption,
} from "@wordpress/components";
import { trash } from "@wordpress/icons";
-import ImageMediaPlaceholder from "../../_components/ImageMediaPlaceholder";
-import Image from "../../_components/Image";
-import ImagePanelBody from "../../_components/ImagePanelBody";
-import ImagePanelBodyContent from "../../_components/ImagePanelBodyContent";
+
export default function Edit({ attributes, setAttributes, clientId }) {
let {
hasStepPictures,
- stepPictureFormat,
+ lateralPicturesFormat,
hasStepIcons,
hasLateralCover,
lateralCoverId,
lateralCoverAlt,
lateralCoverUrl,
+ lateralCoverDescription,
+ lateralCoverCaption,
+ blockTitle,
+ blockSubtitle,
+ hasTitle,
} = attributes;
let children = useSelect(
@@ -43,17 +46,14 @@ export default function Edit({ attributes, setAttributes, clientId }) {
select("core/block-editor").getBlocksByClientId(clientId)[0].innerBlocks
);
- function handleStepPictureFormatChange(stepPictureFormat) {
- setAttributes({ stepPictureFormat });
+ function onChangeBlockTitle(blockTitle) {
+ setAttributes({ blockTitle });
}
- function onChangehasStepPictures() {
- setAttributes({ hasStepPictures: !hasStepPictures });
- }
- function onChangehasStepIcons() {
- setAttributes({ hasStepIcons: !hasStepIcons });
+ function onChangeBlockSubtitle(blockSubtitle) {
+ setAttributes({ blockSubtitle });
}
+
function onChangeImagesDispositionType(disposition) {
- console.log(disposition);
if (disposition === "hasStepPictures") {
setAttributes({ hasStepPictures: true, hasLateralCover: false });
removeLateralCoverAttributes();
@@ -62,11 +62,27 @@ export default function Edit({ attributes, setAttributes, clientId }) {
setAttributes({ hasStepPictures: false, hasLateralCover: true });
}
}
+ function handlelateralPicturesFormatChange(lateralPicturesFormat) {
+ setAttributes({ lateralPicturesFormat });
+ }
+ function onChangehasStepIcons() {
+ setAttributes({ hasStepIcons: !hasStepIcons });
+ }
+ function onChangeHasTitle(newHasTitle) {
+ setAttributes({ hasTitle: !hasTitle });
+ if (!newHasTitle) {
+ setAttributes({ blockTitle: "", blockSubtitle: "" });
+ }
+ }
+
function setLateralCoverAttributes(cover) {
+ console.log(cover);
setAttributes({
lateralCoverId: cover.id,
lateralCoverAlt: cover.alt,
lateralCoverUrl: cover.url,
+ lateralCoverCaption: cover?.caption,
+ lateralCoverDescription: cover?.description,
});
}
function removeLateralCoverAttributes() {
@@ -74,6 +90,8 @@ export default function Edit({ attributes, setAttributes, clientId }) {
lateralCoverId: null,
lateralCoverAlt: null,
lateralCoverUrl: null,
+ lateralCoverCaption: null,
+ lateralCoverDescription: null,
});
}
@@ -122,9 +140,23 @@ export default function Edit({ attributes, setAttributes, clientId }) {
}
>
- Icones
-
+
+
+
@@ -132,7 +164,7 @@ export default function Edit({ attributes, setAttributes, clientId }) {
- {hasStepPictures && (
-
-
-
- )}
+
+
+
+
+
{lateralCoverUrl && (
)}
@@ -206,26 +237,67 @@ export default function Edit({ attributes, setAttributes, clientId }) {
${hasLateralCover ? "homegrade-blocks-timeline--has-lateral-cover" : ""}`,
})}
>
- {hasLateralCover && !lateralCoverUrl && (
-
+ {hasTitle && (
+ <>
+
+
+ >
+ )}
+
+
+
+ {hasLateralCover && !lateralCoverUrl && (
+
+ )}
+
+ {hasLateralCover && lateralCoverUrl && (
+
+
+
+ {(lateralCoverDescription || lateralCoverCaption) && (
+
+ {lateralCoverDescription && (
+ {lateralCoverDescription}
+ )}
+ {lateralCoverCaption && (
+ {lateralCoverCaption}
+ )}
+
+ )}
+
+ )}
+
- )}
- {hasLateralCover && lateralCoverUrl && (
-
- )}
-
+
>
);
diff --git a/blocks/timeline/src/save.js b/blocks/timeline/src/save.js
index 2ecf5e8..10b8320 100644
--- a/blocks/timeline/src/save.js
+++ b/blocks/timeline/src/save.js
@@ -2,12 +2,17 @@ import { useBlockProps, RichText, InnerBlocks } from "@wordpress/block-editor";
export default function save({ attributes }) {
let {
+ hasTitle,
+ blockTitle,
+ blockSubtitle,
hasStepPictures,
- stepPictureFormat,
+ lateralPicturesFormat,
hasStepIcons,
hasLateralCover,
lateralCoverUrl,
lateralCoverAlt,
+ lateralCoverCaption,
+ lateralCoverDescription,
} = attributes;
return (
@@ -23,9 +28,42 @@ export default function save({ attributes }) {
${hasLateralCover ? "homegrade-blocks-timeline--has-lateral-cover" : ""}`,
})}
>
- {hasLateralCover && }
-
-
+ {hasTitle && (
+
+
+
+
+ )}
+
+ {hasLateralCover && lateralCoverUrl && (
+
+
+
+ {(lateralCoverDescription || lateralCoverCaption) && (
+
+ {lateralCoverDescription && (
+ {lateralCoverDescription}
+ )}
+ {lateralCoverCaption && (
+ {lateralCoverCaption}
+ )}
+
+ )}
+
+ )}
+
+
+
);
diff --git a/blocks/timeline/src/steps-container/block.json b/blocks/timeline/src/steps-container/block.json
new file mode 100644
index 0000000..7dd7e5a
--- /dev/null
+++ b/blocks/timeline/src/steps-container/block.json
@@ -0,0 +1,15 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 2,
+ "name": "homegrade-content-blocks/timeline-steps-container",
+ "version": "0.1.0",
+ "title": "Étapes",
+ "category": "homegrade-blocks",
+ "description": "steps container",
+ "supports": {
+ "html": false
+ },
+ "editorScript": "file:./index.js",
+ "editorStyle": "file:./index.css",
+ "style": "file:./style-index.css"
+}
\ No newline at end of file
diff --git a/blocks/timeline/src/steps-container/edit.js b/blocks/timeline/src/steps-container/edit.js
new file mode 100644
index 0000000..0c40e45
--- /dev/null
+++ b/blocks/timeline/src/steps-container/edit.js
@@ -0,0 +1,23 @@
+import { __ } from "@wordpress/i18n";
+import "./editor.scss";
+
+import { useBlockProps, InnerBlocks } from "@wordpress/block-editor";
+export default function Edit() {
+ let { hasStepIcons, hasLateralCover } = attributes;
+ return (
+
+
+
+ );
+}
diff --git a/blocks/timeline/src/steps-container/editor.scss b/blocks/timeline/src/steps-container/editor.scss
new file mode 100644
index 0000000..149c94c
--- /dev/null
+++ b/blocks/timeline/src/steps-container/editor.scss
@@ -0,0 +1 @@
+// HANDLED BY PARENT BLOCK
diff --git a/blocks/timeline/src/steps-container/index.js b/blocks/timeline/src/steps-container/index.js
new file mode 100644
index 0000000..96e016a
--- /dev/null
+++ b/blocks/timeline/src/steps-container/index.js
@@ -0,0 +1,28 @@
+import { registerBlockType } from "@wordpress/blocks";
+import "./style.scss";
+import metadata from "./block.json";
+
+import Edit from "./edit";
+import Save from "./save";
+
+registerBlockType(metadata.name, {
+ title: metadata.title,
+ icon: {
+ foreground: "#DF1E1E",
+ src: (
+
+
+
+
+
+ ),
+ },
+
+ supports: metadata.supports,
+ attributes: metadata.attributes,
+ edit: Edit,
+ save: Save,
+});
diff --git a/blocks/timeline/src/steps-container/save.js b/blocks/timeline/src/steps-container/save.js
new file mode 100644
index 0000000..7ea7a07
--- /dev/null
+++ b/blocks/timeline/src/steps-container/save.js
@@ -0,0 +1,13 @@
+import { useBlockProps, RichText, InnerBlocks } from "@wordpress/block-editor";
+
+export default function save() {
+ return (
+
+
+
+ );
+}
diff --git a/blocks/timeline/src/steps-container/style.scss b/blocks/timeline/src/steps-container/style.scss
new file mode 100644
index 0000000..9613619
--- /dev/null
+++ b/blocks/timeline/src/steps-container/style.scss
@@ -0,0 +1 @@
+// HANDLED BY PARENT BLOCK
\ No newline at end of file