Compare commits
12 Commits
f049f853f0
...
2205302048
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2205302048 | ||
|
|
342aef24c3 | ||
|
|
7a369831e7 | ||
|
|
1da3570ebe | ||
|
|
fcc2839ad0 | ||
|
|
02eb19eb9e | ||
|
|
d994a331eb | ||
|
|
a7076f1b2e | ||
|
|
03bfa6ba7b | ||
|
|
44ee6d61c3 | ||
|
|
c97bd8da97 | ||
|
|
1ad86e7880 |
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -21,4 +21,5 @@ plugins/advanced-custom-fields-pro/**
|
|||
plugins/*/node_modules/
|
||||
mu-plugins/*/node_modules/
|
||||
|
||||
|
||||
.DS_Store
|
||||
*/.DS_Store
|
||||
|
|
@ -17,6 +17,12 @@
|
|||
"full"
|
||||
]
|
||||
},
|
||||
"styles": [
|
||||
{
|
||||
"name": "stacked-background",
|
||||
"label": "Fond empilé"
|
||||
}
|
||||
],
|
||||
"acf": {
|
||||
"mode": "auto",
|
||||
"renderTemplate": "custom-video.php"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,9 @@ $custom_video_id = get_field('custom_video_id');
|
|||
|
||||
?>
|
||||
|
||||
<section class="block-custom-video custom-video content-section">
|
||||
|
||||
|
||||
<section <?php echo get_block_wrapper_attributes(array('class' => 'block-custom-video custom-video content-section')) ?>>
|
||||
<div style="position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden;">
|
||||
<iframe id="ik-vod-<?php echo $custom_video_id; ?>" class="ik-player-1jhvl2upwockr ik-embed" src="https://player.vod2.infomaniak.com/embed/<?php echo $custom_video_id; ?>" width="100%" height="100%" style="position: absolute; top: 0; left: 0; right: 0; bottom: 0" allowfullscreen crossorigin="anonymous" frameborder="0" allow="autoplay; fullscreen; picture-in-picture"></iframe>
|
||||
</div>
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-primitives'), 'version' => 'e27954a03e2ef2284b17');
|
||||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-primitives'), 'version' => 'a24dbfb47009d67e742b');
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ function Edit({
|
|||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)("div", {
|
||||
className: "narrative-card__content",
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_6__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InnerBlocks, {
|
||||
allowedBlocks: ["core/paragraph", "core/heading", "core/image", "carhop-blocks/cta", "carhop-blocks/cta-group"],
|
||||
allowedBlocks: ["core/paragraph", "core/heading", "core/image", "carhop-blocks/cta", "carhop-blocks/cta-group", "core/list", "core/list-item"],
|
||||
template: [["core/heading", {
|
||||
content: "Lorem ipsum"
|
||||
}], ["core/paragraph", {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
71
plugins/carhop-blocks/build/variations-rtl.css
Normal file
71
plugins/carhop-blocks/build/variations-rtl.css
Normal file
|
|
@ -0,0 +1,71 @@
|
|||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.1_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/core-variants/variants.scss ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.wp-block-list.is-iconed-list {
|
||||
display: block;
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon {
|
||||
padding-right: 0;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon::before {
|
||||
content: " ";
|
||||
position: static;
|
||||
display: inline-block;
|
||||
padding: 20px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background-color: var(--wp--preset--color--primary);
|
||||
background-size: 20px auto;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon--sablier::before {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxNSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE2MjhfMTc4MzApIj4KPHBhdGggZD0iTTIuMjc2ODEgMC42NzA2NTRDMi4xMTQxMiAxLjUxNTcyIDEuODkyODYgMy4yNTI4MSAyLjYyMTcxIDUuMTUwODdDMi42OTk4IDUuMzQ1MzcgNC40MTc4MSA5LjY0NDUgNy42ODQ2MiA5LjYzMTA4QzEwLjQ2OTkgOS42MTc2NyAxMi4yNzkgNi40ODU1NCAxMi44NjQ3IDQuNDkzNTlDMTMuMzI2NyAyLjkxNzQ3IDEzLjE4MzUgMS41MDkwMiAxMy4wMjA4IDAuNjcwNjU0SDIuMjc2ODFaIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiLz4KPHBhdGggZD0iTTEzLjAyMTMgMTkuMzI5NEMxMy4xODQgMTguNDg0MyAxMy40MDUzIDE2Ljc0NzIgMTIuNjc2NCAxNC44NDkxQzEyLjU5ODMgMTQuNjU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aCBkPSJNNi43NTc4MSAxMi43NTM3VjIwLjg2MjMiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon--cadenas::before {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMjMiIHZpZXdCb3g9IjAgMCAxNSAyMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjY4ODUgOC44MzgwMUgxVjIxLjI4MTRIMTMuNjg4NVY4LjgzODAxWiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik0zLjM3NDA3IDguODM4ODdWNS45NDUxOUMzLjA3ODk5IDMuMjQ0ODkgNS4xMzE0NSAwLjk2NTg1NyA3LjQwNjg2IDEuMDAwMzlDOS42NDI5MyAxLjAzNDkyIDExLjYwMzYgMy4yOTMyMyAxMS4zMDg1IDUuOTQ1MTlWOC44Mzg4NyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik03LjQwNjI1IDE0LjcwMDdWMTguNjc4NiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+Cjwvc3ZnPgo=);
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon--check::before {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjM4MzUgMTkuNzk0OUMxNS41NjU5IDE5Ljc5NDkgMTkuNzY3IDE1LjU4NzUgM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cm9rZS1taXRlcmxpbWl0PSIxMCIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzE2MjhfMTc5ODgiPgo8cmVjdCB3aWR0aD0iMTkiIGhlaWdodD0iMjAiIGZpbGw9IndoaXRlIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==);
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon--pendule::before {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMiAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjU3ODEgMjBDMTUuODY4IDIwIDIwLjE1NjIgMTUuNzQ2NyAyMC4xNTYyIDEwLjVDMjAuMTU2MiA1LjI1MzI5IDE1Ljg2OCAxIDEwLjU3ODEgMUM1LjI4ODI3IDEgMSA1LjI1MzI5IDEgMTAuNUMxIDE1Ljc0NjcgNS4yODgyNyAyMCAxMC41NzgxIDIwWiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik0xMC40ODA1IDQuMzgwODZWMTEuMDc5N0gxNS4wMDYiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
color: currentColor;
|
||||
filter: invert(1);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square--sablier {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxNSAyMCIgZmlsbD0ibm9uZS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2h0PSIyMCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square--loupe {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAxNCAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNzU3MDQgMTIuNzYxMUM5LjkzNjU2IDEyLjc2MTEgMTIuNTE0MSAxMC4xMjgzIDEyLjUxNDEgNi44ODA1N0MxMi41MTQxIDMuNjMyODIgOS45MzY1NiAxIDYuNzU3MDQgMUMzLjU3NzUxIDEgMSAzLjYzMjgyIDEgNi44ODA1N0MxIDEwLjEyODMgMy41Nzc1MSAxMi43NjExIDYuNzU3MDQgMTIuNzYxMVoiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8cGF0aCBkPSJNNi43NTc4MSAxMi43NTM3VjIwLjg2MjMiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square--cadenas {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMjMiIHZpZXdCb3g9IjAgMCAxNSAyMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjY4ODUgOC44MzgwMUgxVjIxLjI4MTRIMTMuNjg4NVY4LjgzODAxWiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik0zLjM3NDA3IDguODM4ODdWNS45NDUxOUMzLjA3ODk5IDMuMjQ0ODkgNS4xMzE0NSAwLjk2NTg1NyA3LjQwNjg2IDEuMDAwMzlDOS42NDI5MyAxLjAzNDkyIDExLjYwMzYgMy4yOTMyMyAxMS4zMDg1IDUuOTQ1MTlWOC44Mzg4NyIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik03LjQwNjI1IDE0LjcwMDdWMTguNjc4NiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+Cjwvc3ZnPgo=);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square--check {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjM4MzUgMTkuNzk0OUMxNS41NjU5IDE5Ljc5NDkgMTkuNzY3IDE1LjU4NzUgMTkuNzY3IDEwLjM5NzVDMTkuNzY3IDUuMjA3MzkgMTUuNTY1OSAxIDEwLjM4MzUgMUM1LjIwMTE0IDEgMSA1LjIwNzM5IDEgMTAuMzk3NUMxIDE1LjU4NzUgNS4yMDExNCAxOS43OTQ5IDEwLjM4MzUgMTkuNzk0OVoiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8cGF0aCBkPSJNNi4yNTc4MSAxMC44MjQ1TDguNjQ4NTggMTMuMjE4OUwxNC41MDc3IDcuMzQ1NDYiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square--loupe-alt {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxOSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3c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SA1LjI1MzI5IDEgMTAuNUMxIDE1Ljc0NjcgNS4yODgyNyAyMCAxMC41NzgxIDIwWiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik0xMC40ODA1IDQuMzgwODZWMTEuMDc5N0gxNS4wMDYiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
|
||||
}
|
||||
1
plugins/carhop-blocks/build/variations.asset.php
Normal file
1
plugins/carhop-blocks/build/variations.asset.php
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '4084d7e87e3b70c01e93');
|
||||
73
plugins/carhop-blocks/build/variations.css
Normal file
73
plugins/carhop-blocks/build/variations.css
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.1_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/core-variants/variants.scss ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.wp-block-list.is-iconed-list {
|
||||
display: block;
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon {
|
||||
padding-left: 0;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon::before {
|
||||
content: " ";
|
||||
position: static;
|
||||
display: inline-block;
|
||||
padding: 20px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background-color: var(--wp--preset--color--primary);
|
||||
background-size: 20px auto;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon--sablier::before {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxNSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE2MjhfMTc4MzApIj4KPHBhdGggZD0iTTIuMjc2ODEgMC42NzA2NTRDMi4xMTQxMiAxLjUxNTcyIDEuODkyODYgMy4yNTI4MSAyLjYyMTcxIDUuMTUwODdDMi42OTk4IDUuMzQ1MzcgNC40MTc4MSA5LjY0NDUgNy42ODQ2MiA5LjYzMTA4QzEwLjQ2OTkgOS42MTc2NyAxMi4yNzkgNi40ODU1NCAxMi44NjQ3IDQuNDkzNTlDMTMuMzI2NyAyLjkxNzQ3IDEzLjE4MzUgMS41MDkwMiAxMy4wMjA4IDAuNjcwNjU0SDIuMjc2ODFaIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiLz4KPHBhdGggZD0iTTEzLjAyMTMgMTkuMzI5NEMxMy4xODQgMTguNDg0MyAxMy40MDUzIDE2Ljc0NzIgMTIuNjc2NCAxNC44NDkxQzEyLjU5ODMgMTQuNjU0NiAxMC44ODAzIDEwLjM1NTUgNy42MTM1MyAxMC4zNjg5QzQuODI4MjggMTAuMzgyMyAzLjAxOTE3IDEzLjUxNDUgMi40MzM0OCAxNS41MDY0QzEuOTcxNDQgMTcuMDgyNSAyLjExNDYxIDE4LjQ5MSAyLjI3NzMgMTkuMzI5NEgxMy4wMjEzWiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik0wIDAuNjcwNjU0SDE1IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiLz4KPHBhdGggZD0iTTAgMTkuMzI5M0gxNSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTYyOF8xNzgzMCI+CjxyZWN0IHdpZHRoPSIxNSIgaGVpZ2h0PSIyMCIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K);
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon--loupe::before {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAxNCAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuNzU3MDQgMTIuNzYxMUM5LjkzNjU2IDEyLjc2MTEgMTIuNTE0MSAxMC4xMjgzIDEyLjUxNDEgNi44ODA1N0MxMi41MTQxIDMuNjMyODIgOS45MzY1NiAxIDYuNzU3MDQgMUMzLjU3NzUxIDEgMSAzLjYzMjgyIDEgNi44ODA1N0MxIDEwLjEyODMgMy41Nzc1MSAxMi43NjExIDYuNzU3MDQgMTIuNzYxMVoiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8cGF0aCBkPSJNNi43NTc4MSAxMi43NTM3VjIwLjg2MjMiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon--cadenas::before {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aW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C9zdmc+Cg==);
|
||||
}
|
||||
.wp-block-list.is-iconed-list li.has-custom-icon--pendule::before {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMiAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjU3ODEgMjBDMTUuODY4IDIwIDIwLjE1NjIgMTUuNzQ2NyAyMC4xNTYyIDEwLjVDMjAuMTU2MiA1LjI1MzI5IDE1Ljg2OCAxIDEwLjU3ODEgMUM1LjI4ODI3IDEgMSA1LjI1MzI5IDEgMTAuNUMxIDE1Ljc0NjcgNS4yODgyNyAyMCAxMC41NzgxIDIwWiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+CjxwYXRoIGQ9Ik0xMC40ODA1IDQuMzgwODZWMTEuMDc5N0gxNS4wMDYiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
color: currentColor;
|
||||
filter: invert(1);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square--sablier {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxNSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE2MjhfMTc4MzApIj4KPHBhdGggZD0iTTIuMjc2ODEgMC42NzA2NTRDMi4xMTQxMiAxLjUxNTcyIDEuODkyODYgMy4yNTI4MS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DE0LjcwMDdWMTguNjc4NiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIi8+Cjwvc3ZnPgo=);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square--check {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjM4MzUgMTkuNzk0OUMxNS41NjU5IDE5Ljc5NDkgMTkuNzY3IDE1LjU4NzUgMTkuNzY3IDEwLjM5NzVDMTkuNzY3IDUuMjA3MzkgMTUuNTY1OSAxIDEwLjM4MzUgMUM1LjIwMTE0IDEgMSA1LjIwNzM5IDEgMTAuMzk3NUMxIDE1LjU4NzUgNS4yMDExNCAxOS43OTQ5IDEwLjM4MzUgMTkuNzk0OVoiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8cGF0aCBkPSJNNi4yNTc4MSAxMC44MjQ1TDguNjQ4NTggMTMuMjE4OUwxNC41MDc3IDcuMzQ1NDYiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
|
||||
}
|
||||
.iconed-list-item-backend-icon-square--loupe-alt {
|
||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAxOSAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE2MjhfMTc5ODgpIj4KPHBhdGggZD0iTTEzLjkyMzggMTQuODQ4NEwxOC40NzYxIDE5LjQ2ODQiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPg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m9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=variations.css.map*/
|
||||
1
plugins/carhop-blocks/build/variations.css.map
Normal file
1
plugins/carhop-blocks/build/variations.css.map
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"variations.css","mappings":";;;AAAA;EACC;AACD;AACC;EACC;EACA;EACA;EACA;EACA;AACF;AACE;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AACH;AACE;EACC;AACH;AACE;EACC;AACH;AACE;EACC;AACH;AACE;EACC;AACH;AACE;EACC;AACH;AACE;EACC;AACH;AAOA;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;AAJD;AAKC;EACC;AAHF;AAKC;EACC;AAHF;AAKC;EACC;AAHF;AAKC;EACC;AAHF;AAKC;EACC;AAHF;AAKC;EACC;AAHF,C","sources":["webpack://carhop-blocks/./src/core-variants/variants.scss"],"sourcesContent":[".wp-block-list.is-iconed-list {\r\n\tdisplay: block;\r\n\r\n\tli.has-custom-icon {\r\n\t\tpadding-left: 0;\r\n\t\tmargin-bottom: 10px;\r\n\t\tdisplay: flex;\r\n\t\talign-items: center;\r\n\t\tgap: 20px;\r\n\r\n\t\t&::before {\r\n\t\t\tcontent: \" \";\r\n\t\t\tposition: static;\r\n\t\t\tdisplay: inline-block;\r\n\t\t\tpadding: 20px;\r\n\t\t\twidth: 40px;\r\n\t\t\theight: 40px;\r\n\t\t\tbackground-color: var(--wp--preset--color--primary);\r\n\t\t\tbackground-size: 20px auto;\r\n\t\t\tbackground-repeat: no-repeat;\r\n\t\t\tbackground-position: center;\r\n\t\t}\r\n\t\t&--sablier::before {\r\n\t\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-sablier.svg\");\r\n\t\t}\r\n\t\t&--loupe::before {\r\n\t\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-loupe.svg\");\r\n\t\t}\r\n\t\t&--cadenas::before {\r\n\t\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-cadenas.svg\");\r\n\t\t}\r\n\t\t&--check::before {\r\n\t\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-check.svg\");\r\n\t\t}\r\n\t\t&--loupe-alt::before {\r\n\t\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-loupe-alt.svg\");\r\n\t\t}\r\n\t\t&--pendule::before {\r\n\t\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-pendule.svg\");\r\n\t\t}\r\n\t}\r\n}\r\n\r\n.iconed-list-item-icon-dropdown {\r\n}\r\n\r\n.iconed-list-item-backend-icon-square {\r\n\tdisplay: inline-block;\r\n\twidth: 20px;\r\n\theight: 20px;\r\n\tbackground-size: contain;\r\n\tbackground-repeat: no-repeat;\r\n\tbackground-position: center;\r\n\tcolor: currentColor;\r\n\tfilter: invert(1);\r\n\t&--sablier {\r\n\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-sablier.svg\");\r\n\t}\r\n\t&--loupe {\r\n\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-loupe.svg\");\r\n\t}\r\n\t&--cadenas {\r\n\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-cadenas.svg\");\r\n\t}\r\n\t&--check {\r\n\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-check.svg\");\r\n\t}\r\n\t&--loupe-alt {\r\n\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-loupe-alt.svg\");\r\n\t}\r\n\t&--pendule {\r\n\t\tbackground-image: url(\"../core-variants/core-list-variant/icons/carhop-pendule.svg\");\r\n\t}\r\n}\r\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
420
plugins/carhop-blocks/build/variations.js
Normal file
420
plugins/carhop-blocks/build/variations.js
Normal file
|
|
@ -0,0 +1,420 @@
|
|||
/******/ (() => { // webpackBootstrap
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ "./src/core-variants/core-embed-variant/editor.js":
|
||||
/*!********************************************************!*\
|
||||
!*** ./src/core-variants/core-embed-variant/editor.js ***!
|
||||
\********************************************************/
|
||||
/***/ (() => {
|
||||
|
||||
wp.blocks.registerBlockStyle("core/embed", {
|
||||
name: "stacked-background",
|
||||
label: "Fond empilé"
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/core-variants/core-heading-variant/editor.js":
|
||||
/*!**********************************************************!*\
|
||||
!*** ./src/core-variants/core-heading-variant/editor.js ***!
|
||||
\**********************************************************/
|
||||
/***/ (() => {
|
||||
|
||||
wp.blocks.registerBlockStyle("core/heading", {
|
||||
name: "stroked-after",
|
||||
label: "Titre + trait "
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/core-variants/core-image-variant/editor.js":
|
||||
/*!********************************************************!*\
|
||||
!*** ./src/core-variants/core-image-variant/editor.js ***!
|
||||
\********************************************************/
|
||||
/***/ (() => {
|
||||
|
||||
wp.blocks.registerBlockStyle("core/image", {
|
||||
name: "framed",
|
||||
label: "Encadré",
|
||||
isDefault: true
|
||||
});
|
||||
wp.blocks.registerBlockStyle("core/image", {
|
||||
name: "stacked",
|
||||
label: "Empilé",
|
||||
isDefault: false
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/core-variants/core-list-variant/editor.js":
|
||||
/*!*******************************************************!*\
|
||||
!*** ./src/core-variants/core-list-variant/editor.js ***!
|
||||
\*******************************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__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_block_editor__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
|
||||
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__);
|
||||
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @wordpress/components */ "@wordpress/components");
|
||||
/* harmony import */ var _wordpress_components__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__);
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @wordpress/element */ "@wordpress/element");
|
||||
/* harmony import */ var _wordpress_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__);
|
||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @wordpress/hooks */ "@wordpress/hooks");
|
||||
/* harmony import */ var _wordpress_hooks__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_wordpress_hooks__WEBPACK_IMPORTED_MODULE_5__);
|
||||
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @wordpress/compose */ "@wordpress/compose");
|
||||
/* harmony import */ var _wordpress_compose__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(_wordpress_compose__WEBPACK_IMPORTED_MODULE_6__);
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Variation du bloc "Liste" pour ajouter une classe spéciale
|
||||
|
||||
(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockVariation)("core/list", {
|
||||
name: "iconed-list",
|
||||
title: "Liste avec icônes",
|
||||
description: "Liste dont chaque élément peut avoir une icône personnalisée.",
|
||||
attributes: {
|
||||
className: "is-iconed-list"
|
||||
},
|
||||
scope: ["inserter", "transform"],
|
||||
isActive: blockAttributes => {
|
||||
const cls = blockAttributes && blockAttributes.className || "";
|
||||
return cls.split(" ").includes("is-iconed-list");
|
||||
}
|
||||
});
|
||||
|
||||
// -----------------------------
|
||||
// 1. On étend les attributs de core/list-item
|
||||
// -----------------------------
|
||||
|
||||
(0,_wordpress_hooks__WEBPACK_IMPORTED_MODULE_5__.addFilter)("blocks.registerBlockType", "am/iconed-list-item-attributes", (settings, name) => {
|
||||
if (name !== "core/list-item") {
|
||||
return settings;
|
||||
}
|
||||
return {
|
||||
...settings,
|
||||
attributes: {
|
||||
...settings.attributes,
|
||||
icon: {
|
||||
type: "string",
|
||||
default: ""
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
// -----------------------------
|
||||
// 2. On ajoute un panneau de réglages pour choisir l'icône
|
||||
// -----------------------------
|
||||
|
||||
(0,_wordpress_hooks__WEBPACK_IMPORTED_MODULE_5__.addFilter)("editor.BlockEdit", "am/iconed-list-item-controls", BlockEdit => props => {
|
||||
if (props.name !== "core/list-item") {
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(BlockEdit, {
|
||||
...props
|
||||
});
|
||||
}
|
||||
const {
|
||||
attributes,
|
||||
setAttributes
|
||||
} = props;
|
||||
const {
|
||||
icon
|
||||
} = attributes;
|
||||
const ICONS = [{
|
||||
title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Loupe"),
|
||||
value: "loupe"
|
||||
}, {
|
||||
title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Sablier"),
|
||||
value: "sablier"
|
||||
}, {
|
||||
title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Cadenas"),
|
||||
value: "cadenas"
|
||||
}, {
|
||||
title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Check"),
|
||||
value: "check"
|
||||
}, {
|
||||
title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Loupe Alt"),
|
||||
value: "loupe-alt"
|
||||
}, {
|
||||
title: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Pendule"),
|
||||
value: "pendule"
|
||||
}];
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(_wordpress_element__WEBPACK_IMPORTED_MODULE_4__.Fragment, {
|
||||
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(BlockEdit, {
|
||||
...props
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsxs)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.BlockControls, {
|
||||
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.ToolbarGroup, {
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_wordpress_components__WEBPACK_IMPORTED_MODULE_3__.ToolbarDropdownMenu, {
|
||||
label: (0,_wordpress_i18n__WEBPACK_IMPORTED_MODULE_1__.__)("Icône du bullet"),
|
||||
className: "iconed-list-item-icon-dropdown",
|
||||
icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div", {
|
||||
className: `iconed-list-item-backend-icon-square iconed-list-item-backend-icon-square--${icon}`
|
||||
}),
|
||||
controls: ICONS.map(({
|
||||
title,
|
||||
value
|
||||
}) => ({
|
||||
title,
|
||||
icon: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)("div", {
|
||||
className: `iconed-list-item-backend-icon-square iconed-list-item-backend-icon-square--${value}`
|
||||
}),
|
||||
isActive: icon === value,
|
||||
onClick: () => setAttributes({
|
||||
icon: value
|
||||
})
|
||||
}))
|
||||
})
|
||||
}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_2__.AlignmentToolbar, {
|
||||
value: attributes.align,
|
||||
onChange: value => setAttributes({
|
||||
align: value
|
||||
})
|
||||
})]
|
||||
})]
|
||||
});
|
||||
});
|
||||
|
||||
// -----------------------------
|
||||
// 3. On ajoute des props au HTML sauvegardé pour chaque <li>
|
||||
// -----------------------------
|
||||
(0,_wordpress_hooks__WEBPACK_IMPORTED_MODULE_5__.addFilter)("blocks.getSaveContent.extraProps", "carhop/iconed-list-item-save-props", (extraProps, blockType, attributes) => {
|
||||
if (blockType.name !== "core/list-item") {
|
||||
return extraProps;
|
||||
}
|
||||
if (attributes.icon) {
|
||||
extraProps = {
|
||||
...extraProps,
|
||||
className: (extraProps.className || "") + " has-custom-icon has-custom-icon--" + attributes.icon
|
||||
};
|
||||
}
|
||||
return extraProps;
|
||||
});
|
||||
|
||||
// -----------------------------
|
||||
// 4. Applique les mêmes classes en mode éditeur (BlockListBlock)
|
||||
// -----------------------------
|
||||
(0,_wordpress_hooks__WEBPACK_IMPORTED_MODULE_5__.addFilter)("editor.BlockListBlock", "carhop/iconed-list-item-editor-classes", (0,_wordpress_compose__WEBPACK_IMPORTED_MODULE_6__.createHigherOrderComponent)(BlockListBlock => {
|
||||
return props => {
|
||||
if (props.name !== "core/list-item") {
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(BlockListBlock, {
|
||||
...props
|
||||
});
|
||||
}
|
||||
const slug = props.attributes?.icon || "";
|
||||
const className = [props.className || "", slug ? "has-custom-icon" : "", slug ? `has-custom-icon--${slug}` : ""].filter(Boolean).join(" ");
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_7__.jsx)(BlockListBlock, {
|
||||
...props,
|
||||
className: className
|
||||
});
|
||||
};
|
||||
}, "withIconedListItemEditorClasses"));
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/core-variants/variants.scss":
|
||||
/*!*****************************************!*\
|
||||
!*** ./src/core-variants/variants.scss ***!
|
||||
\*****************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "@wordpress/block-editor":
|
||||
/*!*************************************!*\
|
||||
!*** external ["wp","blockEditor"] ***!
|
||||
\*************************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = window["wp"]["blockEditor"];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "@wordpress/blocks":
|
||||
/*!********************************!*\
|
||||
!*** external ["wp","blocks"] ***!
|
||||
\********************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = window["wp"]["blocks"];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "@wordpress/components":
|
||||
/*!************************************!*\
|
||||
!*** external ["wp","components"] ***!
|
||||
\************************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = window["wp"]["components"];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "@wordpress/compose":
|
||||
/*!*********************************!*\
|
||||
!*** external ["wp","compose"] ***!
|
||||
\*********************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = window["wp"]["compose"];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "@wordpress/element":
|
||||
/*!*********************************!*\
|
||||
!*** external ["wp","element"] ***!
|
||||
\*********************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = window["wp"]["element"];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "@wordpress/hooks":
|
||||
/*!*******************************!*\
|
||||
!*** external ["wp","hooks"] ***!
|
||||
\*******************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = window["wp"]["hooks"];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "@wordpress/i18n":
|
||||
/*!******************************!*\
|
||||
!*** external ["wp","i18n"] ***!
|
||||
\******************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = window["wp"]["i18n"];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "react/jsx-runtime":
|
||||
/*!**********************************!*\
|
||||
!*** external "ReactJSXRuntime" ***!
|
||||
\**********************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
"use strict";
|
||||
module.exports = window["ReactJSXRuntime"];
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
/************************************************************************/
|
||||
/******/ // 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;
|
||||
/******/ }
|
||||
/******/
|
||||
/************************************************************************/
|
||||
/******/ /* 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 });
|
||||
/******/ };
|
||||
/******/ })();
|
||||
/******/
|
||||
/************************************************************************/
|
||||
var __webpack_exports__ = {};
|
||||
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
||||
(() => {
|
||||
"use strict";
|
||||
/*!***************************************!*\
|
||||
!*** ./src/core-variants/variants.js ***!
|
||||
\***************************************/
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _core_heading_variant_editor_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./core-heading-variant/editor.js */ "./src/core-variants/core-heading-variant/editor.js");
|
||||
/* harmony import */ var _core_heading_variant_editor_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_core_heading_variant_editor_js__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _core_image_variant_editor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./core-image-variant/editor.js */ "./src/core-variants/core-image-variant/editor.js");
|
||||
/* harmony import */ var _core_image_variant_editor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_core_image_variant_editor_js__WEBPACK_IMPORTED_MODULE_1__);
|
||||
/* harmony import */ var _core_embed_variant_editor_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./core-embed-variant/editor.js */ "./src/core-variants/core-embed-variant/editor.js");
|
||||
/* harmony import */ var _core_embed_variant_editor_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_core_embed_variant_editor_js__WEBPACK_IMPORTED_MODULE_2__);
|
||||
/* harmony import */ var _core_list_variant_editor_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./core-list-variant/editor.js */ "./src/core-variants/core-list-variant/editor.js");
|
||||
/* harmony import */ var _variants_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./variants.scss */ "./src/core-variants/variants.scss");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
})();
|
||||
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=variations.js.map
|
||||
1
plugins/carhop-blocks/build/variations.js.map
Normal file
1
plugins/carhop-blocks/build/variations.js.map
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -22,23 +22,21 @@ if (! defined('ABSPATH')) {
|
|||
##### REGISTER BLOCKS #####
|
||||
function create_block_carhop_blocks_block_init()
|
||||
{
|
||||
|
||||
|
||||
##### REGISTER ACF BLOCKS #####
|
||||
// ##### REGISTER ACF BLOCKS #####
|
||||
register_block_type(__DIR__ . '/acf-blocks/gallery');
|
||||
register_block_type(__DIR__ . '/acf-blocks/social-networks');
|
||||
register_block_type(__DIR__ . '/acf-blocks/custom-video');
|
||||
register_block_type(__DIR__ . '/acf-blocks/team-carhop');
|
||||
|
||||
|
||||
if (function_exists('wp_register_block_types_from_metadata_collection')) {
|
||||
wp_register_block_types_from_metadata_collection(__DIR__ . '/build', __DIR__ . '/build/blocks-manifest.php');
|
||||
return;
|
||||
}
|
||||
// if (function_exists('wp_register_block_types_from_metadata_collection')) {
|
||||
// wp_register_block_types_from_metadata_collection(__DIR__ . '/build', __DIR__ . '/build/blocks-manifest.php');
|
||||
// return;
|
||||
// }
|
||||
|
||||
if (function_exists('wp_register_block_metadata_collection')) {
|
||||
wp_register_block_metadata_collection(__DIR__ . '/build', __DIR__ . '/build/blocks-manifest.php');
|
||||
}
|
||||
// if (function_exists('wp_register_block_metadata_collection')) {
|
||||
// wp_register_block_metadata_collection(__DIR__ . '/build', __DIR__ . '/build/blocks-manifest.php');
|
||||
// }
|
||||
|
||||
$manifest_data = require __DIR__ . '/build/blocks-manifest.php';
|
||||
foreach (array_keys($manifest_data) as $block_type) {
|
||||
|
|
@ -85,10 +83,6 @@ function carhop_register_blocks()
|
|||
if (!function_exists('register_block_type')) {
|
||||
return;
|
||||
}
|
||||
register_block_type(__DIR__ . '/acf-blocks/gallery');
|
||||
register_block_type(__DIR__ . '/acf-blocks/social-networks');
|
||||
register_block_type(__DIR__ . '/acf-blocks/custom-video');
|
||||
register_block_type(__DIR__ . '/acf-blocks/team-carhop');
|
||||
|
||||
// Enregistrer le script pour le bloc gallery
|
||||
wp_register_script(
|
||||
|
|
@ -98,6 +92,12 @@ function carhop_register_blocks()
|
|||
filemtime(__DIR__ . '/acf-blocks/gallery/view.js'),
|
||||
true
|
||||
);
|
||||
|
||||
wp_enqueue_style(
|
||||
'carhop-blocks-variations',
|
||||
plugins_url('build/variations.css', __FILE__),
|
||||
|
||||
);
|
||||
}
|
||||
add_action('init', 'carhop_register_blocks');
|
||||
|
||||
|
|
@ -105,23 +105,29 @@ add_action('init', 'carhop_register_blocks');
|
|||
##### EDITOR EXTENSIONS
|
||||
------------------------------------------------------------------*/
|
||||
/**
|
||||
* Étend le bloc Titre (core/heading) avec un attribut "carhopVariant"
|
||||
* et ajoute une interface pour choisir une variante (ajoute une classe CSS).
|
||||
* Enqueue plusieurs extensions éditeur (variantes/styles pour blocs core).
|
||||
*/
|
||||
function carhop_enqueue_editor_assets()
|
||||
{
|
||||
$script_path = __DIR__ . '/src/core-heading-variant/editor.js';
|
||||
if (!file_exists($script_path)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
$asset_file = include __DIR__ . '/build/variations.asset.php';
|
||||
wp_enqueue_script(
|
||||
'carhop-heading-variant',
|
||||
plugins_url('src/core-heading-variant/editor.js', __FILE__),
|
||||
array('wp-blocks', 'wp-element', 'wp-dom-ready', 'wp-components', 'wp-compose', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-block-editor', 'wp-edit-post'),
|
||||
filemtime($script_path),
|
||||
true
|
||||
'carhop-variants',
|
||||
plugins_url('build/variations.js', __FILE__),
|
||||
);
|
||||
}
|
||||
add_action('enqueue_block_editor_assets', 'carhop_enqueue_editor_assets');
|
||||
|
||||
|
||||
function carhop_enqueue_variants_admin_scripts()
|
||||
{
|
||||
$css = __DIR__ . '/build/variations.css';
|
||||
if (file_exists($css)) {
|
||||
wp_enqueue_style(
|
||||
'carhop-variants',
|
||||
plugins_url('build/variations.css', __FILE__),
|
||||
array(),
|
||||
filemtime($css)
|
||||
);
|
||||
}
|
||||
}
|
||||
add_action('admin_enqueue_scripts', 'carhop_enqueue_admin_scripts');
|
||||
|
|
|
|||
|
|
@ -23,4 +23,4 @@
|
|||
"@wordpress/icons": "^11.2.0",
|
||||
"url-loader": "^4.1.1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
// wp.blocks.registerBlockVariation("core/heading", {
|
||||
// name: "heading-variant",
|
||||
// title: "Titre + trait ",
|
||||
|
||||
// attributes: {
|
||||
// className: "is-styled-stroked-after",
|
||||
// },
|
||||
// scope: ["inserter", "block", "transform"],
|
||||
// });
|
||||
|
||||
wp.blocks.registerBlockStyle("core/heading", {
|
||||
name: "stroked-after",
|
||||
label: "Titre + trait ",
|
||||
});
|
||||
|
||||
// wp.blocks.registerBlockStyle("carhop-blocks/heading", {
|
||||
// name: "stroked-after",
|
||||
// label: "Titre + trait ",
|
||||
// });
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
wp.blocks.registerBlockStyle("core/embed", {
|
||||
name: "stacked-background",
|
||||
label: "Fond empilé",
|
||||
});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
wp.blocks.registerBlockStyle("core/heading", {
|
||||
name: "stroked-after",
|
||||
label: "Titre + trait ",
|
||||
});
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
wp.blocks.registerBlockStyle("core/image", {
|
||||
name: "framed",
|
||||
label: "Encadré",
|
||||
isDefault: true,
|
||||
});
|
||||
wp.blocks.registerBlockStyle("core/image", {
|
||||
name: "stacked",
|
||||
label: "Empilé",
|
||||
isDefault: false,
|
||||
});
|
||||
BIN
plugins/carhop-blocks/src/core-variants/core-list-variant/.DS_Store
vendored
Normal file
BIN
plugins/carhop-blocks/src/core-variants/core-list-variant/.DS_Store
vendored
Normal file
Binary file not shown.
|
|
@ -0,0 +1,168 @@
|
|||
import { registerBlockVariation } from "@wordpress/blocks";
|
||||
import { __ } from "@wordpress/i18n";
|
||||
import {
|
||||
InspectorControls,
|
||||
BlockControls,
|
||||
AlignmentToolbar,
|
||||
} from "@wordpress/block-editor";
|
||||
import { ToolbarGroup, ToolbarDropdownMenu } from "@wordpress/components";
|
||||
import { Fragment } from "@wordpress/element";
|
||||
import { addFilter } from "@wordpress/hooks";
|
||||
import { createHigherOrderComponent } from "@wordpress/compose";
|
||||
|
||||
import { check, arrowRight, starFilled } from "@wordpress/icons";
|
||||
|
||||
// Variation du bloc "Liste" pour ajouter une classe spéciale
|
||||
registerBlockVariation("core/list", {
|
||||
name: "iconed-list",
|
||||
title: "Liste avec icônes",
|
||||
description: "Liste dont chaque élément peut avoir une icône personnalisée.",
|
||||
attributes: {
|
||||
className: "is-iconed-list",
|
||||
},
|
||||
scope: ["inserter", "transform"],
|
||||
isActive: (blockAttributes) => {
|
||||
const cls = (blockAttributes && blockAttributes.className) || "";
|
||||
return cls.split(" ").includes("is-iconed-list");
|
||||
},
|
||||
});
|
||||
|
||||
// -----------------------------
|
||||
// 1. On étend les attributs de core/list-item
|
||||
// -----------------------------
|
||||
|
||||
addFilter(
|
||||
"blocks.registerBlockType",
|
||||
"am/iconed-list-item-attributes",
|
||||
(settings, name) => {
|
||||
if (name !== "core/list-item") {
|
||||
return settings;
|
||||
}
|
||||
|
||||
return {
|
||||
...settings,
|
||||
attributes: {
|
||||
...settings.attributes,
|
||||
icon: {
|
||||
type: "string",
|
||||
default: "",
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
);
|
||||
|
||||
// -----------------------------
|
||||
// 2. On ajoute un panneau de réglages pour choisir l'icône
|
||||
// -----------------------------
|
||||
|
||||
addFilter(
|
||||
"editor.BlockEdit",
|
||||
"am/iconed-list-item-controls",
|
||||
(BlockEdit) => (props) => {
|
||||
if (props.name !== "core/list-item") {
|
||||
return <BlockEdit {...props} />;
|
||||
}
|
||||
const { attributes, setAttributes } = props;
|
||||
const { icon } = attributes;
|
||||
|
||||
const ICONS = [
|
||||
{
|
||||
title: __("Loupe"),
|
||||
value: "loupe",
|
||||
},
|
||||
{
|
||||
title: __("Sablier"),
|
||||
value: "sablier",
|
||||
},
|
||||
{ title: __("Cadenas"), value: "cadenas" },
|
||||
{ title: __("Check"), value: "check" },
|
||||
{ title: __("Loupe Alt"), value: "loupe-alt" },
|
||||
{ title: __("Pendule"), value: "pendule" },
|
||||
];
|
||||
|
||||
return (
|
||||
<Fragment>
|
||||
<BlockEdit {...props} />
|
||||
<BlockControls>
|
||||
<ToolbarGroup>
|
||||
<ToolbarDropdownMenu
|
||||
label={__("Icône du bullet")}
|
||||
className="iconed-list-item-icon-dropdown"
|
||||
icon={
|
||||
<div
|
||||
className={`iconed-list-item-backend-icon-square iconed-list-item-backend-icon-square--${icon}`}
|
||||
></div>
|
||||
}
|
||||
controls={ICONS.map(({ title, value }) => ({
|
||||
title,
|
||||
icon: (
|
||||
<div
|
||||
className={`iconed-list-item-backend-icon-square iconed-list-item-backend-icon-square--${value}`}
|
||||
></div>
|
||||
),
|
||||
|
||||
isActive: icon === value,
|
||||
onClick: () => setAttributes({ icon: value }),
|
||||
}))}
|
||||
/>
|
||||
</ToolbarGroup>
|
||||
<AlignmentToolbar
|
||||
value={attributes.align}
|
||||
onChange={(value) => setAttributes({ align: value })}
|
||||
/>
|
||||
</BlockControls>
|
||||
</Fragment>
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
// -----------------------------
|
||||
// 3. On ajoute des props au HTML sauvegardé pour chaque <li>
|
||||
// -----------------------------
|
||||
addFilter(
|
||||
"blocks.getSaveContent.extraProps",
|
||||
"carhop/iconed-list-item-save-props",
|
||||
(extraProps, blockType, attributes) => {
|
||||
if (blockType.name !== "core/list-item") {
|
||||
return extraProps;
|
||||
}
|
||||
|
||||
if (attributes.icon) {
|
||||
extraProps = {
|
||||
...extraProps,
|
||||
className:
|
||||
(extraProps.className || "") +
|
||||
" has-custom-icon has-custom-icon--" +
|
||||
attributes.icon,
|
||||
};
|
||||
}
|
||||
|
||||
return extraProps;
|
||||
}
|
||||
);
|
||||
|
||||
// -----------------------------
|
||||
// 4. Applique les mêmes classes en mode éditeur (BlockListBlock)
|
||||
// -----------------------------
|
||||
addFilter(
|
||||
"editor.BlockListBlock",
|
||||
"carhop/iconed-list-item-editor-classes",
|
||||
createHigherOrderComponent((BlockListBlock) => {
|
||||
return (props) => {
|
||||
if (props.name !== "core/list-item") {
|
||||
return <BlockListBlock {...props} />;
|
||||
}
|
||||
const slug = props.attributes?.icon || "";
|
||||
const className = [
|
||||
props.className || "",
|
||||
slug ? "has-custom-icon" : "",
|
||||
slug ? `has-custom-icon--${slug}` : "",
|
||||
]
|
||||
.filter(Boolean)
|
||||
.join(" ");
|
||||
|
||||
return <BlockListBlock {...props} className={className} />;
|
||||
};
|
||||
}, "withIconedListItemEditorClasses")
|
||||
);
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<svg width="15" height="23" viewBox="0 0 15 23" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M13.6885 8.83801H1V21.2814H13.6885V8.83801Z" stroke="white" stroke-width="2"/>
|
||||
<path d="M3.37407 8.83887V5.94519C3.07899 3.24489 5.13145 0.965857 7.40686 1.00039C9.64293 1.03492 11.6036 3.29323 11.3085 5.94519V8.83887" stroke="white" stroke-width="2"/>
|
||||
<path d="M7.40625 14.7007V18.6786" stroke="white" stroke-width="2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 434 B |
|
|
@ -0,0 +1,4 @@
|
|||
<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.3835 19.7949C15.5659 19.7949 19.767 15.5875 19.767 10.3975C19.767 5.20739 15.5659 1 10.3835 1C5.20114 1 1 5.20739 1 10.3975C1 15.5875 5.20114 19.7949 10.3835 19.7949Z" stroke="white" stroke-width="2"/>
|
||||
<path d="M6.25781 10.8245L8.64858 13.2189L14.5077 7.34546" stroke="white" stroke-width="2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 411 B |
|
|
@ -0,0 +1,11 @@
|
|||
<svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1628_17988)">
|
||||
<path d="M13.9238 14.8484L18.4761 19.4684" stroke="white" stroke-width="2"/>
|
||||
<path d="M8.51269 17.1621C12.8064 17.1621 16.2871 13.4879 16.2871 8.95544C16.2871 4.42303 12.8064 0.748779 8.51269 0.748779C4.219 0.748779 0.738281 4.42303 0.738281 8.95544C0.738281 13.4879 4.219 17.1621 8.51269 17.1621Z" stroke="white" stroke-width="2" stroke-miterlimit="10"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1628_17988">
|
||||
<rect width="19" height="20" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 607 B |
|
|
@ -0,0 +1,4 @@
|
|||
<svg width="14" height="21" viewBox="0 0 14 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M6.75704 12.7611C9.93656 12.7611 12.5141 10.1283 12.5141 6.88057C12.5141 3.63282 9.93656 1 6.75704 1C3.57751 1 1 3.63282 1 6.88057C1 10.1283 3.57751 12.7611 6.75704 12.7611Z" stroke="white" stroke-width="2"/>
|
||||
<path d="M6.75781 12.7537V20.8623" stroke="white" stroke-width="2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 390 B |
|
|
@ -0,0 +1,4 @@
|
|||
<svg width="22" height="21" viewBox="0 0 22 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M10.5781 20C15.868 20 20.1562 15.7467 20.1562 10.5C20.1562 5.25329 15.868 1 10.5781 1C5.28827 1 1 5.25329 1 10.5C1 15.7467 5.28827 20 10.5781 20Z" stroke="white" stroke-width="2"/>
|
||||
<path d="M10.4805 4.38086V11.0797H15.006" stroke="white" stroke-width="2"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 369 B |
|
|
@ -0,0 +1,13 @@
|
|||
<svg width="15" height="20" viewBox="0 0 15 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<g clip-path="url(#clip0_1628_17830)">
|
||||
<path d="M2.27681 0.670654C2.11412 1.51572 1.89286 3.25281 2.62171 5.15087C2.6998 5.34537 4.41781 9.6445 7.68462 9.63108C10.4699 9.61767 12.279 6.48554 12.8647 4.49359C13.3267 2.91747 13.1835 1.50902 13.0208 0.670654H2.27681Z" stroke="white" stroke-width="2"/>
|
||||
<path d="M13.0213 19.3294C13.184 18.4843 13.4053 16.7472 12.6764 14.8491C12.5983 14.6546 10.8803 10.3555 7.61353 10.3689C4.82828 10.3823 3.01917 13.5145 2.43348 15.5064C1.97144 17.0825 2.11461 18.491 2.2773 19.3294H13.0213Z" stroke="white" stroke-width="2"/>
|
||||
<path d="M0 0.670654H15" stroke="white" stroke-width="2"/>
|
||||
<path d="M0 19.3293H15" stroke="white" stroke-width="2"/>
|
||||
</g>
|
||||
<defs>
|
||||
<clipPath id="clip0_1628_17830">
|
||||
<rect width="15" height="20" fill="white"/>
|
||||
</clipPath>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 888 B |
6
plugins/carhop-blocks/src/core-variants/variants.js
Normal file
6
plugins/carhop-blocks/src/core-variants/variants.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import "./core-heading-variant/editor.js";
|
||||
import "./core-image-variant/editor.js";
|
||||
import "./core-embed-variant/editor.js";
|
||||
import "./core-list-variant/editor.js";
|
||||
|
||||
import "./variants.scss";
|
||||
74
plugins/carhop-blocks/src/core-variants/variants.scss
Normal file
74
plugins/carhop-blocks/src/core-variants/variants.scss
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
.wp-block-list.is-iconed-list {
|
||||
display: block;
|
||||
|
||||
li.has-custom-icon {
|
||||
padding-left: 0;
|
||||
margin-bottom: 10px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
|
||||
&::before {
|
||||
content: " ";
|
||||
position: static;
|
||||
display: inline-block;
|
||||
padding: 20px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
background-color: var(--wp--preset--color--primary);
|
||||
background-size: 20px auto;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
}
|
||||
&--sablier::before {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-sablier.svg");
|
||||
}
|
||||
&--loupe::before {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-loupe.svg");
|
||||
}
|
||||
&--cadenas::before {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-cadenas.svg");
|
||||
}
|
||||
&--check::before {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-check.svg");
|
||||
}
|
||||
&--loupe-alt::before {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-loupe-alt.svg");
|
||||
}
|
||||
&--pendule::before {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-pendule.svg");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.iconed-list-item-icon-dropdown {
|
||||
}
|
||||
|
||||
.iconed-list-item-backend-icon-square {
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
background-size: contain;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
color: currentColor;
|
||||
filter: invert(1);
|
||||
&--sablier {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-sablier.svg");
|
||||
}
|
||||
&--loupe {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-loupe.svg");
|
||||
}
|
||||
&--cadenas {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-cadenas.svg");
|
||||
}
|
||||
&--check {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-check.svg");
|
||||
}
|
||||
&--loupe-alt {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-loupe-alt.svg");
|
||||
}
|
||||
&--pendule {
|
||||
background-image: url("../core-variants/core-list-variant/icons/carhop-pendule.svg");
|
||||
}
|
||||
}
|
||||
|
|
@ -34,7 +34,7 @@ export default function Edit({ attributes, setAttributes, ...props }) {
|
|||
</ToggleGroupControl>
|
||||
</PanelBody>
|
||||
</InspectorControls>
|
||||
<section
|
||||
<div
|
||||
{...useBlockProps({
|
||||
className: `carhop-heading carhop-heading--hierarchy-${hierarchy}`,
|
||||
})}
|
||||
|
|
@ -42,17 +42,17 @@ export default function Edit({ attributes, setAttributes, ...props }) {
|
|||
<div className="carhop-heading__innerblocks">
|
||||
<InnerBlocks
|
||||
template={[
|
||||
[
|
||||
"core/heading",
|
||||
{ placeholder: "Saisir le titre", content: "Titre" },
|
||||
],
|
||||
[
|
||||
"core/paragraph",
|
||||
{
|
||||
placeholder: "Saisir le sous-titre supérieur",
|
||||
content: "Sous-titre supérieur",
|
||||
content: "Sous-titre",
|
||||
},
|
||||
],
|
||||
[
|
||||
"core/heading",
|
||||
{ placeholder: "Saisir le titre", content: "Titre" },
|
||||
],
|
||||
]}
|
||||
allowedBlocks={[
|
||||
"core/heading",
|
||||
|
|
@ -61,7 +61,7 @@ export default function Edit({ attributes, setAttributes, ...props }) {
|
|||
]}
|
||||
/>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { useBlockProps, InnerBlocks } from "@wordpress/block-editor";
|
|||
export default function save({ attributes }) {
|
||||
const { hierarchy } = attributes;
|
||||
return (
|
||||
<section
|
||||
<div
|
||||
{...useBlockProps.save({
|
||||
className: `carhop-heading carhop-heading--hierarchy-${hierarchy}`,
|
||||
})}
|
||||
|
|
@ -11,6 +11,6 @@ export default function save({ attributes }) {
|
|||
<div className="carhop-heading__innerblocks">
|
||||
<InnerBlocks.Content />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
65
plugins/carhop-blocks/src/image-stack/block.json
Executable file
65
plugins/carhop-blocks/src/image-stack/block.json
Executable file
|
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "carhop-blocks/image-stack",
|
||||
"version": "0.1.0",
|
||||
"title": "Image Stack (Focal Point)",
|
||||
"category": "carhop-blocks",
|
||||
"icon": "images-alt2",
|
||||
"description": "Layer multiple images with individual focal point positioning.",
|
||||
"example": {
|
||||
"attributes": {
|
||||
"images": [
|
||||
{
|
||||
"id": 1,
|
||||
"url": "https://images.unsplash.com/photo-1506905925346-21bda4d32df4",
|
||||
"alt": "Mountain landscape",
|
||||
"focalPoint": {
|
||||
"x": 0.5,
|
||||
"y": 0.3
|
||||
},
|
||||
"scale": 0.8
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"url": "https://images.unsplash.com/photo-1511884642898-4c92249e20b6",
|
||||
"alt": "Forest scene",
|
||||
"focalPoint": {
|
||||
"x": 0.7,
|
||||
"y": 0.6
|
||||
},
|
||||
"scale": 0.6
|
||||
}
|
||||
],
|
||||
"height": 400
|
||||
}
|
||||
},
|
||||
"attributes": {
|
||||
"images": {
|
||||
"type": "array",
|
||||
"default": [],
|
||||
"items": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"height": {
|
||||
"type": "number",
|
||||
"default": 400
|
||||
}
|
||||
},
|
||||
"supports": {
|
||||
"html": false,
|
||||
"align": [
|
||||
"wide",
|
||||
"full"
|
||||
],
|
||||
"spacing": {
|
||||
"margin": true,
|
||||
"padding": true
|
||||
}
|
||||
},
|
||||
"textdomain": "image-stack",
|
||||
"editorScript": "file:./index.js",
|
||||
"editorStyle": "file:./index.css",
|
||||
"style": "file:./style-index.css"
|
||||
}
|
||||
243
plugins/carhop-blocks/src/image-stack/edit.js
Executable file
243
plugins/carhop-blocks/src/image-stack/edit.js
Executable file
|
|
@ -0,0 +1,243 @@
|
|||
import { __ } from "@wordpress/i18n";
|
||||
import {
|
||||
useBlockProps,
|
||||
InspectorControls,
|
||||
MediaUpload,
|
||||
MediaUploadCheck,
|
||||
} from "@wordpress/block-editor";
|
||||
import {
|
||||
PanelBody,
|
||||
Button,
|
||||
FocalPointPicker,
|
||||
RangeControl,
|
||||
ToolbarGroup,
|
||||
ToolbarButton,
|
||||
} from "@wordpress/components";
|
||||
import { BlockControls } from "@wordpress/block-editor";
|
||||
import { useState } from "@wordpress/element";
|
||||
|
||||
import "./editor.scss";
|
||||
|
||||
export default function Edit({ attributes, setAttributes }) {
|
||||
const { images, height } = attributes;
|
||||
const [selectedImageIndex, setSelectedImageIndex] = useState(null);
|
||||
|
||||
const blockProps = useBlockProps();
|
||||
|
||||
const onSelectImages = (media) => {
|
||||
const newImages = media.map((img) => ({
|
||||
id: img.id,
|
||||
url: img.url,
|
||||
alt: img.alt || "",
|
||||
focalPoint: { x: 0.5, y: 0.5 },
|
||||
scale: 0.8,
|
||||
rotation: 0,
|
||||
}));
|
||||
setAttributes({ images: [...images, ...newImages] });
|
||||
};
|
||||
|
||||
const updateImageFocalPoint = (index, focalPoint) => {
|
||||
const newImages = [...images];
|
||||
newImages[index] = { ...newImages[index], focalPoint };
|
||||
setAttributes({ images: newImages });
|
||||
};
|
||||
|
||||
const updateImageScale = (index, scale) => {
|
||||
const newImages = [...images];
|
||||
newImages[index] = { ...newImages[index], scale };
|
||||
setAttributes({ images: newImages });
|
||||
};
|
||||
|
||||
const updateImageRotation = (index, rotation) => {
|
||||
const newImages = [...images];
|
||||
newImages[index] = { ...newImages[index], rotation };
|
||||
setAttributes({ images: newImages });
|
||||
};
|
||||
|
||||
const removeImage = (index) => {
|
||||
const newImages = images.filter((_, i) => i !== index);
|
||||
setAttributes({ images: newImages });
|
||||
if (selectedImageIndex === index) {
|
||||
setSelectedImageIndex(null);
|
||||
}
|
||||
};
|
||||
|
||||
const moveImage = (index, direction) => {
|
||||
const newImages = [...images];
|
||||
const newIndex = index + direction;
|
||||
if (newIndex >= 0 && newIndex < images.length) {
|
||||
[newImages[index], newImages[newIndex]] = [
|
||||
newImages[newIndex],
|
||||
newImages[index],
|
||||
];
|
||||
setAttributes({ images: newImages });
|
||||
setSelectedImageIndex(newIndex);
|
||||
}
|
||||
};
|
||||
|
||||
const getImageStyle = (image) => {
|
||||
const focalPoint = image.focalPoint || { x: 0.5, y: 0.5 };
|
||||
const scale = image.scale || 0.8;
|
||||
const rotation = image.rotation || 0;
|
||||
return {
|
||||
left: `${focalPoint.x * 100}%`,
|
||||
top: `${focalPoint.y * 100}%`,
|
||||
transform: ` rotate(${rotation}deg) scale(${scale})`,
|
||||
};
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<BlockControls>
|
||||
<ToolbarGroup>
|
||||
<MediaUploadCheck>
|
||||
<MediaUpload
|
||||
onSelect={onSelectImages}
|
||||
allowedTypes={["image"]}
|
||||
multiple
|
||||
gallery
|
||||
value={images.map((img) => img.id)}
|
||||
render={({ open }) => (
|
||||
<ToolbarButton onClick={open}>
|
||||
{__("Add Images", "image-stack")}
|
||||
</ToolbarButton>
|
||||
)}
|
||||
/>
|
||||
</MediaUploadCheck>
|
||||
</ToolbarGroup>
|
||||
</BlockControls>
|
||||
|
||||
<InspectorControls>
|
||||
<PanelBody title={__("Container Settings", "image-stack")}>
|
||||
<RangeControl
|
||||
label={__("Container Height", "image-stack")}
|
||||
value={height}
|
||||
onChange={(value) => setAttributes({ height: value })}
|
||||
min={200}
|
||||
max={800}
|
||||
step={10}
|
||||
/>
|
||||
</PanelBody>
|
||||
|
||||
{images.length > 0 && (
|
||||
<PanelBody title={__("Images", "image-stack")} initialOpen={true}>
|
||||
{images.map((image, index) => (
|
||||
<PanelBody
|
||||
key={image.id}
|
||||
title={`${__("Image", "image-stack")} ${index + 1}`}
|
||||
initialOpen={selectedImageIndex === index}
|
||||
onToggle={() =>
|
||||
setSelectedImageIndex(
|
||||
selectedImageIndex === index ? null : index
|
||||
)
|
||||
}
|
||||
>
|
||||
<div className="image-stack-image-preview">
|
||||
<img src={image.url} alt={image.alt} />
|
||||
</div>
|
||||
|
||||
<FocalPointPicker
|
||||
label={__("Focal Point", "image-stack")}
|
||||
url={image.url}
|
||||
value={image.focalPoint || { x: 0.5, y: 0.5 }}
|
||||
onChange={(focalPoint) =>
|
||||
updateImageFocalPoint(index, focalPoint)
|
||||
}
|
||||
/>
|
||||
|
||||
<RangeControl
|
||||
label={__("Scale", "image-stack")}
|
||||
value={image.scale || 0.8}
|
||||
onChange={(scale) => updateImageScale(index, scale)}
|
||||
min={0.1}
|
||||
max={3}
|
||||
step={0.05}
|
||||
/>
|
||||
|
||||
<RangeControl
|
||||
label={__("Rotation (deg)", "image-stack")}
|
||||
value={image.rotation || 0}
|
||||
onChange={(rotation) => updateImageRotation(index, rotation)}
|
||||
min={-180}
|
||||
max={180}
|
||||
step={1}
|
||||
/>
|
||||
|
||||
<div className="image-stack-image-controls">
|
||||
<Button
|
||||
isSecondary
|
||||
isSmall
|
||||
disabled={index === 0}
|
||||
onClick={() => moveImage(index, -1)}
|
||||
>
|
||||
{__("↑ Move Up", "image-stack")}
|
||||
</Button>
|
||||
<Button
|
||||
isSecondary
|
||||
isSmall
|
||||
disabled={index === images.length - 1}
|
||||
onClick={() => moveImage(index, 1)}
|
||||
>
|
||||
{__("↓ Move Down", "image-stack")}
|
||||
</Button>
|
||||
<Button
|
||||
isDestructive
|
||||
isSmall
|
||||
onClick={() => removeImage(index)}
|
||||
>
|
||||
{__("Remove", "image-stack")}
|
||||
</Button>
|
||||
</div>
|
||||
</PanelBody>
|
||||
))}
|
||||
</PanelBody>
|
||||
)}
|
||||
</InspectorControls>
|
||||
|
||||
<div {...blockProps}>
|
||||
<div
|
||||
className="image-stack-container"
|
||||
style={{ height: `${height}px` }}
|
||||
>
|
||||
{images.length === 0 && (
|
||||
<div className="image-stack-placeholder">
|
||||
<MediaUploadCheck>
|
||||
<MediaUpload
|
||||
onSelect={onSelectImages}
|
||||
allowedTypes={["image"]}
|
||||
multiple
|
||||
gallery
|
||||
render={({ open }) => (
|
||||
<Button variant="primary" onClick={open}>
|
||||
{__("Ajouter une Image", "image-stack")}
|
||||
</Button>
|
||||
)}
|
||||
/>
|
||||
</MediaUploadCheck>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{images.map((image, index) => (
|
||||
<div
|
||||
key={image.id}
|
||||
className={`image-stack-item ${
|
||||
selectedImageIndex === index ? "is-selected" : ""
|
||||
}`}
|
||||
onClick={() => setSelectedImageIndex(index)}
|
||||
role="button"
|
||||
tabIndex={0}
|
||||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter" || e.key === " ") {
|
||||
setSelectedImageIndex(index);
|
||||
}
|
||||
}}
|
||||
style={getImageStyle(image)}
|
||||
>
|
||||
<img src={image.url} alt={image.alt} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
56
plugins/carhop-blocks/src/image-stack/editor.scss
Executable file
56
plugins/carhop-blocks/src/image-stack/editor.scss
Executable file
|
|
@ -0,0 +1,56 @@
|
|||
/**
|
||||
* The following styles get applied inside the editor only.
|
||||
*/
|
||||
|
||||
.wp-block-carhop-blocks-image-stack {
|
||||
overflow: visible;
|
||||
.image-stack-placeholder {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgba(240, 240, 240, 0.5);
|
||||
background-color: red;
|
||||
border: 2px dashed #ccc;
|
||||
}
|
||||
|
||||
.image-stack-item {
|
||||
cursor: pointer;
|
||||
transition: opacity 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
&.is-selected {
|
||||
outline: 3px solid #007cba;
|
||||
outline-offset: -3px;
|
||||
z-index: 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.image-stack-image-preview {
|
||||
margin-bottom: 16px;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
border-radius: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.image-stack-image-controls {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
margin-top: 16px;
|
||||
flex-wrap: wrap;
|
||||
|
||||
.components-button {
|
||||
flex: 1;
|
||||
min-width: 80px;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
11
plugins/carhop-blocks/src/image-stack/index.js
Executable file
11
plugins/carhop-blocks/src/image-stack/index.js
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
import { registerBlockType } from "@wordpress/blocks";
|
||||
import "./style.scss";
|
||||
|
||||
import Edit from "./edit";
|
||||
import save from "./save";
|
||||
import metadata from "./block.json";
|
||||
|
||||
registerBlockType(metadata.name, {
|
||||
edit: Edit,
|
||||
save,
|
||||
});
|
||||
33
plugins/carhop-blocks/src/image-stack/save.js
Executable file
33
plugins/carhop-blocks/src/image-stack/save.js
Executable file
|
|
@ -0,0 +1,33 @@
|
|||
import { useBlockProps } from "@wordpress/block-editor";
|
||||
|
||||
export default function save({ attributes }) {
|
||||
const { images, height } = attributes;
|
||||
const blockProps = useBlockProps.save();
|
||||
|
||||
const getImageStyle = (image) => {
|
||||
const focalPoint = image.focalPoint || { x: 0.5, y: 0.5 };
|
||||
const scale = image.scale || 0.8;
|
||||
const rotation = image.rotation || 0;
|
||||
return {
|
||||
left: `${focalPoint.x * 100}%`,
|
||||
top: `${focalPoint.y * 100}%`,
|
||||
transform: `rotate(${rotation}deg) scale(${scale})`,
|
||||
};
|
||||
};
|
||||
|
||||
return (
|
||||
<div {...blockProps}>
|
||||
<div className="image-stack-container" style={{ height: `${height}px` }}>
|
||||
{images.map((image) => (
|
||||
<div
|
||||
key={image.id}
|
||||
className="image-stack-item"
|
||||
style={getImageStyle(image)}
|
||||
>
|
||||
<img src={image.url} alt={image.alt} />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
23
plugins/carhop-blocks/src/image-stack/style.scss
Executable file
23
plugins/carhop-blocks/src/image-stack/style.scss
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
/**
|
||||
* The following styles get applied both on the front of your site
|
||||
* and in the editor.
|
||||
*/
|
||||
|
||||
.wp-block-carhop-blocks-image-stack {
|
||||
.image-stack-container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.image-stack-item {
|
||||
position: absolute;
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
5
plugins/carhop-blocks/src/image-stack/view.js
Executable file
5
plugins/carhop-blocks/src/image-stack/view.js
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
/**
|
||||
* Frontend JavaScript for the Image Stack block.
|
||||
* Currently no interactive features required, but this file
|
||||
* is available for future enhancements.
|
||||
*/
|
||||
|
|
@ -187,6 +187,8 @@ export default function Edit({ attributes, setAttributes }) {
|
|||
"core/image",
|
||||
"carhop-blocks/cta",
|
||||
"carhop-blocks/cta-group",
|
||||
"core/list",
|
||||
"core/list-item",
|
||||
]}
|
||||
template={[
|
||||
["core/heading", { content: "Lorem ipsum" }],
|
||||
|
|
|
|||
11
plugins/carhop-blocks/webpack.config.js
Normal file
11
plugins/carhop-blocks/webpack.config.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// Import the original config from the @wordpress/scripts package.
|
||||
const defaultConfig = require("@wordpress/scripts/config/webpack.config");
|
||||
|
||||
// Add any a new entry point by extending the webpack config.
|
||||
module.exports = {
|
||||
...defaultConfig,
|
||||
entry: {
|
||||
...defaultConfig.entry(),
|
||||
variations: "./src/core-variants/variants.js",
|
||||
},
|
||||
};
|
||||
|
|
@ -51,91 +51,6 @@ return array(
|
|||
'viewScript' => 'file:./view.js',
|
||||
'render' => 'file:./render.php'
|
||||
),
|
||||
'front-header' => array(
|
||||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||||
'apiVersion' => 3,
|
||||
'name' => 'front-header/front-header',
|
||||
'version' => '0.1.0',
|
||||
'title' => 'Header',
|
||||
'category' => 'carhop-blocks',
|
||||
'icon' => 'smiley',
|
||||
'description' => 'Example block scaffolded with Create Block tool.',
|
||||
'example' => array(
|
||||
|
||||
),
|
||||
'supports' => array(
|
||||
'html' => false
|
||||
),
|
||||
'textdomain' => 'front-header',
|
||||
'editorScript' => 'file:./index.js',
|
||||
'editorStyle' => 'file:./index.css',
|
||||
'style' => 'file:./style-index.css',
|
||||
'viewScript' => 'file:./view.js'
|
||||
),
|
||||
'nos-recommandations' => array(
|
||||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||||
'apiVersion' => 3,
|
||||
'name' => 'dynamiques-blocks/nos-recommandations',
|
||||
'version' => '0.1.0',
|
||||
'title' => 'Recommandations',
|
||||
'category' => 'dynamiques-blocks',
|
||||
'icon' => 'smiley',
|
||||
'description' => 'Bloc pour afficher les recommandations sur la page d\'acceuil',
|
||||
'example' => array(
|
||||
|
||||
),
|
||||
'supports' => array(
|
||||
'html' => false
|
||||
),
|
||||
'textdomain' => 'nos-recommandations',
|
||||
'editorScript' => 'file:./index.js',
|
||||
'editorStyle' => 'file:./index.css',
|
||||
'style' => 'file:./style-index.css',
|
||||
'render' => 'file:./render.php'
|
||||
),
|
||||
'revues-precedentes' => array(
|
||||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||||
'apiVersion' => 3,
|
||||
'name' => 'dynamiques-blocks/revues-precedentes',
|
||||
'version' => '0.1.0',
|
||||
'title' => 'Revues Precedentes',
|
||||
'category' => 'dynamiques-blocks',
|
||||
'icon' => 'smiley',
|
||||
'description' => 'Example block scaffolded with Create Block tool.',
|
||||
'example' => array(
|
||||
|
||||
),
|
||||
'supports' => array(
|
||||
'html' => false
|
||||
),
|
||||
'textdomain' => 'revues-precedentes',
|
||||
'editorScript' => 'file:./index.js',
|
||||
'editorStyle' => 'file:./index.css',
|
||||
'style' => 'file:./style-index.css',
|
||||
'viewScript' => 'file:./view.js',
|
||||
'render' => 'file:./render.php'
|
||||
),
|
||||
'sitemap' => array(
|
||||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||||
'apiVersion' => 3,
|
||||
'name' => 'dynamiques-blocks/sitemap',
|
||||
'version' => '0.1.0',
|
||||
'title' => 'Sitemap',
|
||||
'category' => 'dynamiques-blocks',
|
||||
'icon' => 'smiley',
|
||||
'description' => 'Pour afficher une carte du site',
|
||||
'example' => array(
|
||||
|
||||
),
|
||||
'supports' => array(
|
||||
'html' => false
|
||||
),
|
||||
'textdomain' => 'sitemap',
|
||||
'editorScript' => 'file:./index.js',
|
||||
'editorStyle' => 'file:./index.css',
|
||||
'style' => 'file:./style-index.css',
|
||||
'render' => 'file:./render.php'
|
||||
),
|
||||
'interview' => array(
|
||||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||||
'apiVersion' => 3,
|
||||
|
|
@ -231,5 +146,69 @@ return array(
|
|||
'default' => ''
|
||||
)
|
||||
)
|
||||
),
|
||||
'nos-recommandations' => array(
|
||||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||||
'apiVersion' => 3,
|
||||
'name' => 'dynamiques-blocks/nos-recommandations',
|
||||
'version' => '0.1.0',
|
||||
'title' => 'Recommandations',
|
||||
'category' => 'dynamiques-blocks',
|
||||
'icon' => 'smiley',
|
||||
'description' => 'Bloc pour afficher les recommandations sur la page d\'acceuil',
|
||||
'example' => array(
|
||||
|
||||
),
|
||||
'supports' => array(
|
||||
'html' => false
|
||||
),
|
||||
'textdomain' => 'nos-recommandations',
|
||||
'editorScript' => 'file:./index.js',
|
||||
'editorStyle' => 'file:./index.css',
|
||||
'style' => 'file:./style-index.css',
|
||||
'render' => 'file:./render.php'
|
||||
),
|
||||
'revues-precedentes' => array(
|
||||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||||
'apiVersion' => 3,
|
||||
'name' => 'dynamiques-blocks/revues-precedentes',
|
||||
'version' => '0.1.0',
|
||||
'title' => 'Revues Precedentes',
|
||||
'category' => 'dynamiques-blocks',
|
||||
'icon' => 'smiley',
|
||||
'description' => 'Example block scaffolded with Create Block tool.',
|
||||
'example' => array(
|
||||
|
||||
),
|
||||
'supports' => array(
|
||||
'html' => false
|
||||
),
|
||||
'textdomain' => 'revues-precedentes',
|
||||
'editorScript' => 'file:./index.js',
|
||||
'editorStyle' => 'file:./index.css',
|
||||
'style' => 'file:./style-index.css',
|
||||
'viewScript' => 'file:./view.js',
|
||||
'render' => 'file:./render.php'
|
||||
),
|
||||
'sitemap' => array(
|
||||
'$schema' => 'https://schemas.wp.org/trunk/block.json',
|
||||
'apiVersion' => 3,
|
||||
'name' => 'dynamiques-blocks/sitemap',
|
||||
'version' => '0.1.0',
|
||||
'title' => 'Sitemap',
|
||||
'category' => 'dynamiques-blocks',
|
||||
'icon' => 'smiley',
|
||||
'description' => 'Pour afficher une carte du site',
|
||||
'example' => array(
|
||||
|
||||
),
|
||||
'supports' => array(
|
||||
'html' => false
|
||||
),
|
||||
'textdomain' => 'sitemap',
|
||||
'editorScript' => 'file:./index.js',
|
||||
'editorStyle' => 'file:./index.css',
|
||||
'style' => 'file:./style-index.css',
|
||||
'render' => 'file:./render.php'
|
||||
)
|
||||
);
|
||||
|
|
|
|||
|
|
@ -1,11 +1,4 @@
|
|||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/dernieres-dynamiques/editor.scss ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/**
|
||||
* The following styles get applied inside the editor only.
|
||||
*
|
||||
* Replace them with your own styles or remove the file completely.
|
||||
*/
|
||||
.wp-block-create-block-dernieres-dynamiques {
|
||||
border: 1px dotted #f00;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-server-side-render'), 'version' => 'c0dda58403a75eeef8dc');
|
||||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-server-side-render'), 'version' => 'dd3694142dcbdb8c8bb7');
|
||||
|
|
|
|||
|
|
@ -1,13 +1,4 @@
|
|||
/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/dernieres-dynamiques/editor.scss ***!
|
||||
\**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/**
|
||||
* The following styles get applied inside the editor only.
|
||||
*
|
||||
* Replace them with your own styles or remove the file completely.
|
||||
*/
|
||||
.wp-block-create-block-dernieres-dynamiques {
|
||||
border: 1px dotted #f00;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=index.css.map*/
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"dernieres-dynamiques/index.css","mappings":";;;AAAA;;;;EAAA;AAMA;EACC;AAAD,C","sources":["webpack://dynamiques-blocks/./src/dernieres-dynamiques/editor.scss"],"sourcesContent":["/**\n * The following styles get applied inside the editor only.\n *\n * Replace them with your own styles or remove the file completely.\n */\n\n.wp-block-create-block-dernieres-dynamiques {\n\tborder: 1px dotted #f00;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,14 +1,4 @@
|
|||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/dernieres-dynamiques/style.scss ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/**
|
||||
* The following styles get applied both on the front of your site
|
||||
* and in the editor.
|
||||
*
|
||||
* Replace them with your own styles or remove the file completely.
|
||||
*/
|
||||
.wp-block-create-block-dernieres-dynamiques {
|
||||
background-color: #21759b;
|
||||
color: #fff;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,16 +1,4 @@
|
|||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/dernieres-dynamiques/style.scss ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/**
|
||||
* The following styles get applied both on the front of your site
|
||||
* and in the editor.
|
||||
*
|
||||
* Replace them with your own styles or remove the file completely.
|
||||
*/
|
||||
.wp-block-create-block-dernieres-dynamiques {
|
||||
background-color: #21759b;
|
||||
color: #fff;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=style-index.css.map*/
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"dernieres-dynamiques/style-index.css","mappings":";;;AAAA;;;;;EAAA;AAOA;EACC;EACA;EACA;AAAD,C","sources":["webpack://dynamiques-blocks/./src/dernieres-dynamiques/style.scss"],"sourcesContent":["/**\n * The following styles get applied both on the front of your site\n * and in the editor.\n *\n * Replace them with your own styles or remove the file completely.\n */\n\n.wp-block-create-block-dernieres-dynamiques {\n\tbackground-color: #21759b;\n\tcolor: #fff;\n\tpadding: 2px;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "front-header/front-header",
|
||||
"version": "0.1.0",
|
||||
"title": "Header",
|
||||
"category": "carhop-blocks",
|
||||
"icon": "smiley",
|
||||
"description": "Example block scaffolded with Create Block tool.",
|
||||
"example": {},
|
||||
"supports": {
|
||||
"html": false
|
||||
},
|
||||
"textdomain": "front-header",
|
||||
"editorScript": "file:./index.js",
|
||||
"editorStyle": "file:./index.css",
|
||||
"style": "file:./style-index.css",
|
||||
"viewScript": "file:./view.js"
|
||||
}
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/front-header/editor.scss ***!
|
||||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.wp-block-front-header-front-header {
|
||||
border: 1px dotted #f00;
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '4bbc99e80c38a145a051');
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
/*!**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/front-header/editor.scss ***!
|
||||
\**************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.wp-block-front-header-front-header {
|
||||
border: 1px dotted #f00;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=index.css.map*/
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"front-header/index.css","mappings":";;;AAAA;EACC;AACD,C","sources":["webpack://dynamiques-blocks/./src/front-header/editor.scss"],"sourcesContent":[".wp-block-front-header-front-header {\n\tborder: 1px dotted #f00;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -1,358 +0,0 @@
|
|||
/******/ (() => { // webpackBootstrap
|
||||
/******/ "use strict";
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ "./src/front-header/block.json":
|
||||
/*!*************************************!*\
|
||||
!*** ./src/front-header/block.json ***!
|
||||
\*************************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"front-header/front-header","version":"0.1.0","title":"Header","category":"carhop-blocks","icon":"smiley","description":"Example block scaffolded with Create Block tool.","example":{},"supports":{"html":false},"textdomain":"front-header","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","viewScript":"file:./view.js"}');
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/front-header/edit.js":
|
||||
/*!**********************************!*\
|
||||
!*** ./src/front-header/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_i18n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/i18n */ "@wordpress/i18n");
|
||||
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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__);
|
||||
/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editor.scss */ "./src/front-header/editor.scss");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__);
|
||||
|
||||
|
||||
|
||||
|
||||
function Edit() {
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("section", {
|
||||
...(0,_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.useBlockProps)({
|
||||
className: "block-front-header"
|
||||
}),
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)("div", {
|
||||
className: "front-header__innerblocks",
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1__.InnerBlocks, {
|
||||
template: [["core/paragraph", {
|
||||
placeholder: "Ajouter ici le texte"
|
||||
}]],
|
||||
allowedBlocks: ["core/paragraph", "core/list", "core/button", "core/buttons"]
|
||||
})
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/front-header/editor.scss":
|
||||
/*!**************************************!*\
|
||||
!*** ./src/front-header/editor.scss ***!
|
||||
\**************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
// extracted by mini-css-extract-plugin
|
||||
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/front-header/index.js":
|
||||
/*!***********************************!*\
|
||||
!*** ./src/front-header/index.js ***!
|
||||
\***********************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/front-header/style.scss");
|
||||
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/front-header/edit.js");
|
||||
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/front-header/save.js");
|
||||
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/front-header/block.json");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
(0,_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__.registerBlockType)(_block_json__WEBPACK_IMPORTED_MODULE_4__.name, {
|
||||
icon: {
|
||||
foreground: "#723d46",
|
||||
src: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsxs)("svg", {
|
||||
xmlns: "http://www.w3.org/2000/svg",
|
||||
viewBox: "0 0 401.94 401.92",
|
||||
children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("defs", {}), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("g", {
|
||||
id: "Calque_1-2",
|
||||
"data-name": "Calque 1",
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)("path", {
|
||||
class: "cls-1",
|
||||
d: "m378.98,212.46h22.87v-23.16h-22.87v23.16Zm22.88-70.39h-22.8v23.02h22.8v-23.02ZM23.05,284.21H0v22.98h23.05v-22.98Zm0-47.48H.15v22.93h22.9v-22.93ZM.24,354.72h22.81v-23.23H.24v23.23Zm378.76-.18h22.87v-23.18h-22.87v23.18ZM154.05,70.49h188.68v-23.24h-188.68v23.24Zm-94.63.01h46.52v-23.11h-46.52v23.11Zm342.51,213.59h-22.82v23.14h22.82v-23.14Zm.01-284.09H.21v117.71h401.72V0Zm-23.3,92.03c0,.48-.2.95-.45,2.04H23.8c-.16-1.47-.4-2.75-.41-4.02-.02-20.67.06-41.33-.09-62-.03-3.65.91-4.87,4.73-4.87,115.33.09,230.65.08,345.98.05,2.73,0,4.77-.03,4.74,3.8-.15,21.66-.09,43.33-.12,65Zm-236.39,309.65h22.86v-22.83h-22.86v22.83Zm141.95.17h23.06v-22.89h-23.06v22.89Zm-47.24,0h22.85v-22.82h-22.85v22.82Zm94.54.02h23.11v-22.87h-23.11v22.87Zm47.48-22.9v22.78h22.96v-22.78h-22.96Zm22.79-142.11h-22.81v22.91h22.81v-22.91ZM.14,401.73h22.91v-22.88H.14v22.88Zm.07-189.19h22.87v-23.16H.21v23.16Zm-.07-47.59h23.05v-22.76H.15v22.76Zm94.7,236.76h22.98v-22.86h-22.98v22.86Zm94.53,0h23.24v-22.8h-23.24v22.8Zm-141.94.21h23.12v-23.03h-23.12v23.03Z"
|
||||
})
|
||||
})]
|
||||
})
|
||||
},
|
||||
edit: _edit__WEBPACK_IMPORTED_MODULE_2__["default"],
|
||||
save: _save__WEBPACK_IMPORTED_MODULE_3__["default"]
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/front-header/save.js":
|
||||
/*!**********************************!*\
|
||||
!*** ./src/front-header/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_block_editor__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/block-editor */ "@wordpress/block-editor");
|
||||
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__);
|
||||
|
||||
|
||||
function save() {
|
||||
return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("section", {
|
||||
..._wordpress_block_editor__WEBPACK_IMPORTED_MODULE_0__.useBlockProps.save({
|
||||
className: "block-front-header"
|
||||
}),
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("div", {
|
||||
className: "front-header__innerblocks",
|
||||
children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_wordpress_block_editor__WEBPACK_IMPORTED_MODULE_0__.InnerBlocks.Content, {})
|
||||
})
|
||||
});
|
||||
}
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/front-header/style.scss":
|
||||
/*!*************************************!*\
|
||||
!*** ./src/front-header/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/i18n":
|
||||
/*!******************************!*\
|
||||
!*** external ["wp","i18n"] ***!
|
||||
\******************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = window["wp"]["i18n"];
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "react/jsx-runtime":
|
||||
/*!**********************************!*\
|
||||
!*** external "ReactJSXRuntime" ***!
|
||||
\**********************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = window["ReactJSXRuntime"];
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
/************************************************************************/
|
||||
/******/ // 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, fn, priority] = deferred[i];
|
||||
/******/ 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 = {
|
||||
/******/ "front-header/index": 0,
|
||||
/******/ "front-header/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, moreModules, runtime] = data;
|
||||
/******/ // 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 = globalThis["webpackChunkdynamiques_blocks"] = globalThis["webpackChunkdynamiques_blocks"] || [];
|
||||
/******/ 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, ["front-header/style-index"], () => (__webpack_require__("./src/front-header/index.js")))
|
||||
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
||||
/******/
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=index.js.map
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
<?php return array('dependencies' => array(), 'version' => '95f8fcf1a37ebc95d1ef');
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
/******/ (() => { // webpackBootstrap
|
||||
/*!**********************************!*\
|
||||
!*** ./src/front-header/view.js ***!
|
||||
\**********************************/
|
||||
console.log("Hello World! (from front-header-front-header block)");
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=view.js.map
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"front-header/view.js","mappings":";;;;AAAAA,OAAO,CAACC,GAAG,CAAC,qDAAqD,CAAC,C","sources":["webpack://dynamiques-blocks/./src/front-header/view.js"],"sourcesContent":["console.log(\"Hello World! (from front-header-front-header block)\");\n"],"names":["console","log"],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview-answer/editor.scss ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview-answer/editor.scss ***!
|
||||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.interviewed-person-name {
|
||||
line-height: 0.1 !important;
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => 'fbdeacefe3f2f3a6bbc0');
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview-answer/editor.scss ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview-answer/editor.scss ***!
|
||||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.interviewed-person-name {
|
||||
line-height: 0.1 !important;
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"interview-answer/index.css","mappings":";;;AAAA;EACC;AACD,C","sources":["webpack://dynamiques-blocks/./src/interview-answer/editor.scss"],"sourcesContent":[".interviewed-person-name {\r\n\tline-height: 0.1 !important;\r\n}\r\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -2,20 +2,20 @@
|
|||
/******/ "use strict";
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ "./src/interview/interview-answer/block.json":
|
||||
/*!***************************************************!*\
|
||||
!*** ./src/interview/interview-answer/block.json ***!
|
||||
\***************************************************/
|
||||
/***/ "./src/interview-answer/block.json":
|
||||
/*!*****************************************!*\
|
||||
!*** ./src/interview-answer/block.json ***!
|
||||
\*****************************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"dynamiques-blocks/interview-answer","version":"0.1.0","title":"Réponse","category":"widgets","icon":"smiley","description":"Bloc de réponse d\'interview","example":{},"parent":["dynamiques-blocks/interview"],"supports":{"html":false},"textdomain":"interview-answer","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","render":"file:./render.php","attributes":{"content":{"type":"string","default":""}},"usesContext":["dynamiques-blocks/interviewedPersonName"]}');
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-answer/edit.js":
|
||||
/*!************************************************!*\
|
||||
!*** ./src/interview/interview-answer/edit.js ***!
|
||||
\************************************************/
|
||||
/***/ "./src/interview-answer/edit.js":
|
||||
/*!**************************************!*\
|
||||
!*** ./src/interview-answer/edit.js ***!
|
||||
\**************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -26,7 +26,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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__);
|
||||
/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editor.scss */ "./src/interview/interview-answer/editor.scss");
|
||||
/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editor.scss */ "./src/interview-answer/editor.scss");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__);
|
||||
|
||||
|
|
@ -59,10 +59,10 @@ function Edit({
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-answer/editor.scss":
|
||||
/*!****************************************************!*\
|
||||
!*** ./src/interview/interview-answer/editor.scss ***!
|
||||
\****************************************************/
|
||||
/***/ "./src/interview-answer/editor.scss":
|
||||
/*!******************************************!*\
|
||||
!*** ./src/interview-answer/editor.scss ***!
|
||||
\******************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -71,19 +71,19 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-answer/index.js":
|
||||
/*!*************************************************!*\
|
||||
!*** ./src/interview/interview-answer/index.js ***!
|
||||
\*************************************************/
|
||||
/***/ "./src/interview-answer/index.js":
|
||||
/*!***************************************!*\
|
||||
!*** ./src/interview-answer/index.js ***!
|
||||
\***************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/interview/interview-answer/style.scss");
|
||||
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/interview/interview-answer/edit.js");
|
||||
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/interview/interview-answer/save.js");
|
||||
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/interview/interview-answer/block.json");
|
||||
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/interview-answer/style.scss");
|
||||
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/interview-answer/edit.js");
|
||||
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/interview-answer/save.js");
|
||||
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/interview-answer/block.json");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__);
|
||||
|
||||
|
|
@ -113,10 +113,10 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-answer/save.js":
|
||||
/*!************************************************!*\
|
||||
!*** ./src/interview/interview-answer/save.js ***!
|
||||
\************************************************/
|
||||
/***/ "./src/interview-answer/save.js":
|
||||
/*!**************************************!*\
|
||||
!*** ./src/interview-answer/save.js ***!
|
||||
\**************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -145,10 +145,10 @@ function save({
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-answer/style.scss":
|
||||
/*!***************************************************!*\
|
||||
!*** ./src/interview/interview-answer/style.scss ***!
|
||||
\***************************************************/
|
||||
/***/ "./src/interview-answer/style.scss":
|
||||
/*!*****************************************!*\
|
||||
!*** ./src/interview-answer/style.scss ***!
|
||||
\*****************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -307,8 +307,8 @@ module.exports = window["ReactJSXRuntime"];
|
|||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
||||
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
||||
/******/ var installedChunks = {
|
||||
/******/ "interview/interview-answer/index": 0,
|
||||
/******/ "interview/interview-answer/style-index": 0
|
||||
/******/ "interview-answer/index": 0,
|
||||
/******/ "interview-answer/style-index": 0
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // no chunk on demand loading
|
||||
|
|
@ -358,7 +358,7 @@ module.exports = window["ReactJSXRuntime"];
|
|||
/******/ // 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, ["interview/interview-answer/style-index"], () => (__webpack_require__("./src/interview/interview-answer/index.js")))
|
||||
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["interview-answer/style-index"], () => (__webpack_require__("./src/interview-answer/index.js")))
|
||||
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
||||
/******/
|
||||
/******/ })()
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview-answer/style.scss ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview-answer/style.scss ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.interviewed-person-name {
|
||||
display: inline;
|
||||
color: var(--wp--preset--color--primary);
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview-answer/style.scss ***!
|
||||
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview-answer/style.scss ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.interviewed-person-name {
|
||||
display: inline;
|
||||
color: var(--wp--preset--color--primary);
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"interview-answer/style-index.css","mappings":";;;AAAA;EACC;EACA;EAEA;AAAD,C","sources":["webpack://dynamiques-blocks/./src/interview-answer/style.scss"],"sourcesContent":[".interviewed-person-name {\n\tdisplay: inline;\n\tcolor: var(--wp--preset--color--primary);\n\n\ttext-transform: uppercase;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/front-header/style.scss ***!
|
||||
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview-question/editor.scss ***!
|
||||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
||||
|
|
@ -0,0 +1 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '9fd737f4bf5b11681ff7');
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
/*!*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/front-header/style.scss ***!
|
||||
\*************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview-question/editor.scss ***!
|
||||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
||||
|
|
@ -2,20 +2,20 @@
|
|||
/******/ "use strict";
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ "./src/interview/interview-question/block.json":
|
||||
/*!*****************************************************!*\
|
||||
!*** ./src/interview/interview-question/block.json ***!
|
||||
\*****************************************************/
|
||||
/***/ "./src/interview-question/block.json":
|
||||
/*!*******************************************!*\
|
||||
!*** ./src/interview-question/block.json ***!
|
||||
\*******************************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"dynamiques-blocks/interview-question","version":"0.1.0","title":"Question","category":"widgets","icon":"smiley","description":"Bloc de question d\'interview","example":{},"parent":["dynamiques-blocks/interview"],"supports":{"html":false},"textdomain":"interview-question","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","attributes":{"content":{"type":"string","default":""}}}');
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-question/edit.js":
|
||||
/*!**************************************************!*\
|
||||
!*** ./src/interview/interview-question/edit.js ***!
|
||||
\**************************************************/
|
||||
/***/ "./src/interview-question/edit.js":
|
||||
/*!****************************************!*\
|
||||
!*** ./src/interview-question/edit.js ***!
|
||||
\****************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -26,7 +26,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||
/* harmony import */ var _wordpress_i18n__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_i18n__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__);
|
||||
/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editor.scss */ "./src/interview/interview-question/editor.scss");
|
||||
/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./editor.scss */ "./src/interview-question/editor.scss");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_3__);
|
||||
|
||||
|
|
@ -54,10 +54,10 @@ function Edit({
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-question/editor.scss":
|
||||
/*!******************************************************!*\
|
||||
!*** ./src/interview/interview-question/editor.scss ***!
|
||||
\******************************************************/
|
||||
/***/ "./src/interview-question/editor.scss":
|
||||
/*!********************************************!*\
|
||||
!*** ./src/interview-question/editor.scss ***!
|
||||
\********************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -66,19 +66,19 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-question/index.js":
|
||||
/*!***************************************************!*\
|
||||
!*** ./src/interview/interview-question/index.js ***!
|
||||
\***************************************************/
|
||||
/***/ "./src/interview-question/index.js":
|
||||
/*!*****************************************!*\
|
||||
!*** ./src/interview-question/index.js ***!
|
||||
\*****************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/interview/interview-question/style.scss");
|
||||
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/interview/interview-question/edit.js");
|
||||
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/interview/interview-question/save.js");
|
||||
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/interview/interview-question/block.json");
|
||||
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/interview-question/style.scss");
|
||||
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/interview-question/edit.js");
|
||||
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/interview-question/save.js");
|
||||
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/interview-question/block.json");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__);
|
||||
|
||||
|
|
@ -108,10 +108,10 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-question/save.js":
|
||||
/*!**************************************************!*\
|
||||
!*** ./src/interview/interview-question/save.js ***!
|
||||
\**************************************************/
|
||||
/***/ "./src/interview-question/save.js":
|
||||
/*!****************************************!*\
|
||||
!*** ./src/interview-question/save.js ***!
|
||||
\****************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -140,10 +140,10 @@ function save({
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview-question/style.scss":
|
||||
/*!*****************************************************!*\
|
||||
!*** ./src/interview/interview-question/style.scss ***!
|
||||
\*****************************************************/
|
||||
/***/ "./src/interview-question/style.scss":
|
||||
/*!*******************************************!*\
|
||||
!*** ./src/interview-question/style.scss ***!
|
||||
\*******************************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -302,8 +302,8 @@ module.exports = window["ReactJSXRuntime"];
|
|||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
||||
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
||||
/******/ var installedChunks = {
|
||||
/******/ "interview/interview-question/index": 0,
|
||||
/******/ "interview/interview-question/style-index": 0
|
||||
/******/ "interview-question/index": 0,
|
||||
/******/ "interview-question/style-index": 0
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // no chunk on demand loading
|
||||
|
|
@ -353,7 +353,7 @@ module.exports = window["ReactJSXRuntime"];
|
|||
/******/ // 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, ["interview/interview-question/style-index"], () => (__webpack_require__("./src/interview/interview-question/index.js")))
|
||||
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["interview-question/style-index"], () => (__webpack_require__("./src/interview-question/index.js")))
|
||||
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
||||
/******/
|
||||
/******/ })()
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview-question/style.scss ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview-question/style.scss ***!
|
||||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.wp-block-dynamiques-blocks-interview-question {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview-question/style.scss ***!
|
||||
\*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview-question/style.scss ***!
|
||||
\*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
.wp-block-dynamiques-blocks-interview-question {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"interview-question/style-index.css","mappings":";;;AAAA;EACC;AACD,C","sources":["webpack://dynamiques-blocks/./src/interview-question/style.scss"],"sourcesContent":[".wp-block-dynamiques-blocks-interview-question {\n\tfont-weight: 600;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview/editor.scss ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/editor.scss ***!
|
||||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/**
|
||||
* The following styles get applied inside the editor only.
|
||||
*
|
||||
|
|
@ -1 +1 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => 'a5f025824b8f48aa0e65');
|
||||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n'), 'version' => '0526d902aa1b01ec759d');
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview/editor.scss ***!
|
||||
\*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/editor.scss ***!
|
||||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/**
|
||||
* The following styles get applied inside the editor only.
|
||||
*
|
||||
1
plugins/dynamiques-blocks/build/interview/index.css.map
Normal file
1
plugins/dynamiques-blocks/build/interview/index.css.map
Normal file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"interview/index.css","mappings":";;;AAAA;;;;EAAA;AAMA;EACC;AAAD,C","sources":["webpack://dynamiques-blocks/./src/interview/editor.scss"],"sourcesContent":["/**\n * The following styles get applied inside the editor only.\n *\n * Replace them with your own styles or remove the file completely.\n */\n\n.wp-block-create-block-interview {\n\tborder: 1px dotted #f00;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -2,20 +2,20 @@
|
|||
/******/ "use strict";
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ "./src/interview/interview/block.json":
|
||||
/*!********************************************!*\
|
||||
!*** ./src/interview/interview/block.json ***!
|
||||
\********************************************/
|
||||
/***/ "./src/interview/block.json":
|
||||
/*!**********************************!*\
|
||||
!*** ./src/interview/block.json ***!
|
||||
\**********************************/
|
||||
/***/ ((module) => {
|
||||
|
||||
module.exports = /*#__PURE__*/JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"dynamiques-blocks/interview","version":"0.1.0","title":"Interview","category":"dynamiques-blocks","icon":"smiley","description":"Bloc de mise en forme d\'interview","example":{},"supports":{"html":false},"textdomain":"dynamiques-blocks","editorScript":"file:./index.js","editorStyle":"file:./index.css","style":"file:./style-index.css","viewScript":"file:./view.js","attributes":{"interviewedPersonName":{"type":"string","default":"Jean Dupont"},"interviewName":{"type":"string","default":"Lorem ipsum dolor sit amet, consectetur adipiscing elit."}},"providesContext":{"dynamiques-blocks/interviewedPersonName":"interviewedPersonName"}}');
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview/edit.js":
|
||||
/*!*****************************************!*\
|
||||
!*** ./src/interview/interview/edit.js ***!
|
||||
\*****************************************/
|
||||
/***/ "./src/interview/edit.js":
|
||||
/*!*******************************!*\
|
||||
!*** ./src/interview/edit.js ***!
|
||||
\*******************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -28,7 +28,7 @@ __webpack_require__.r(__webpack_exports__);
|
|||
/* harmony import */ var _wordpress_block_editor__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_wordpress_block_editor__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 _editor_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./editor.scss */ "./src/interview/interview/editor.scss");
|
||||
/* harmony import */ var _editor_scss__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./editor.scss */ "./src/interview/editor.scss");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_4__);
|
||||
|
||||
|
|
@ -89,10 +89,10 @@ function Edit({
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview/editor.scss":
|
||||
/*!*********************************************!*\
|
||||
!*** ./src/interview/interview/editor.scss ***!
|
||||
\*********************************************/
|
||||
/***/ "./src/interview/editor.scss":
|
||||
/*!***********************************!*\
|
||||
!*** ./src/interview/editor.scss ***!
|
||||
\***********************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -101,19 +101,19 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview/index.js":
|
||||
/*!******************************************!*\
|
||||
!*** ./src/interview/interview/index.js ***!
|
||||
\******************************************/
|
||||
/***/ "./src/interview/index.js":
|
||||
/*!********************************!*\
|
||||
!*** ./src/interview/index.js ***!
|
||||
\********************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @wordpress/blocks */ "@wordpress/blocks");
|
||||
/* harmony import */ var _wordpress_blocks__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_wordpress_blocks__WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/interview/interview/style.scss");
|
||||
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/interview/interview/edit.js");
|
||||
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/interview/interview/save.js");
|
||||
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/interview/interview/block.json");
|
||||
/* harmony import */ var _style_scss__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./style.scss */ "./src/interview/style.scss");
|
||||
/* harmony import */ var _edit__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./edit */ "./src/interview/edit.js");
|
||||
/* harmony import */ var _save__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./save */ "./src/interview/save.js");
|
||||
/* harmony import */ var _block_json__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./block.json */ "./src/interview/block.json");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
||||
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__);
|
||||
|
||||
|
|
@ -146,10 +146,10 @@ __webpack_require__.r(__webpack_exports__);
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview/save.js":
|
||||
/*!*****************************************!*\
|
||||
!*** ./src/interview/interview/save.js ***!
|
||||
\*****************************************/
|
||||
/***/ "./src/interview/save.js":
|
||||
/*!*******************************!*\
|
||||
!*** ./src/interview/save.js ***!
|
||||
\*******************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -184,10 +184,10 @@ function save({
|
|||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./src/interview/interview/style.scss":
|
||||
/*!********************************************!*\
|
||||
!*** ./src/interview/interview/style.scss ***!
|
||||
\********************************************/
|
||||
/***/ "./src/interview/style.scss":
|
||||
/*!**********************************!*\
|
||||
!*** ./src/interview/style.scss ***!
|
||||
\**********************************/
|
||||
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
|
||||
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
|
|
@ -356,8 +356,8 @@ module.exports = window["ReactJSXRuntime"];
|
|||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
||||
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
||||
/******/ var installedChunks = {
|
||||
/******/ "interview/interview/index": 0,
|
||||
/******/ "interview/interview/style-index": 0
|
||||
/******/ "interview/index": 0,
|
||||
/******/ "interview/style-index": 0
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // no chunk on demand loading
|
||||
|
|
@ -407,7 +407,7 @@ module.exports = window["ReactJSXRuntime"];
|
|||
/******/ // 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, ["interview/interview/style-index"], () => (__webpack_require__("./src/interview/interview/index.js")))
|
||||
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["interview/style-index"], () => (__webpack_require__("./src/interview/index.js")))
|
||||
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
||||
/******/
|
||||
/******/ })()
|
||||
1
plugins/dynamiques-blocks/build/interview/index.js.map
Normal file
1
plugins/dynamiques-blocks/build/interview/index.js.map
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '3db3f77b112d96a14416');
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"interview/interview-answer/index.css","mappings":";;;AAAA;EACC;AACD,C","sources":["webpack://dynamiques-blocks/./src/interview/interview-answer/editor.scss"],"sourcesContent":[".interviewed-person-name {\r\n\tline-height: 0.1 !important;\r\n}\r\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"interview/interview-answer/style-index.css","mappings":";;;AAAA;EACC;EACA;EAEA;AAAD,C","sources":["webpack://dynamiques-blocks/./src/interview/interview-answer/style.scss"],"sourcesContent":[".interviewed-person-name {\n\tdisplay: inline;\n\tcolor: var(--wp--preset--color--primary);\n\n\ttext-transform: uppercase;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview-question/editor.scss ***!
|
||||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
||||
|
|
@ -1 +0,0 @@
|
|||
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-i18n'), 'version' => '589f1666120e0c8abc15');
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.103.0/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[4].use[1]!./node_modules/.pnpm/postcss-loader@6.2.1_postcss@8.5.6_webpack@5.103.0/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[4].use[2]!./node_modules/.pnpm/sass-loader@16.0.6_sass@1.94.2_webpack@5.103.0/node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[4].use[3]!./src/interview/interview-question/editor.scss ***!
|
||||
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"interview/interview-question/style-index.css","mappings":";;;AAAA;EACC;AACD,C","sources":["webpack://dynamiques-blocks/./src/interview/interview-question/style.scss"],"sourcesContent":[".wp-block-dynamiques-blocks-interview-question {\n\tfont-weight: 600;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"interview/interview/index.css","mappings":";;;AAAA;;;;EAAA;AAMA;EACC;AAAD,C","sources":["webpack://dynamiques-blocks/./src/interview/interview/editor.scss"],"sourcesContent":["/**\n * The following styles get applied inside the editor only.\n *\n * Replace them with your own styles or remove the file completely.\n */\n\n.wp-block-create-block-interview {\n\tborder: 1px dotted #f00;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
File diff suppressed because one or more lines are too long
|
|
@ -1 +0,0 @@
|
|||
{"version":3,"file":"interview/interview/style-index.css","mappings":";;;AAAA;;;;;EAAA;AAOA;EACC;EACA;EACA;AAAD,C","sources":["webpack://dynamiques-blocks/./src/interview/interview/style.scss"],"sourcesContent":["/**\n * The following styles get applied both on the front of your site\n * and in the editor.\n *\n * Replace them with your own styles or remove the file completely.\n */\n\n.wp-block-create-block-interview {\n\tbackground-color: #21759b;\n\tcolor: #fff;\n\tpadding: 2px;\n}\n"],"names":[],"ignoreList":[],"sourceRoot":""}
|
||||
|
|
@ -1 +0,0 @@
|
|||
<?php return array('dependencies' => array(), 'version' => '506a3a9f40ee832fb941');
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user