@wordpress/block-library 9.36.1-next.8b30e05b0.0 → 9.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/build/audio/index.js +1 -1
- package/build/audio/index.js.map +2 -2
- package/build/avatar/edit.js +13 -38
- package/build/avatar/edit.js.map +2 -2
- package/build/breadcrumbs/block.json +3 -2
- package/build/breadcrumbs/edit.js +18 -18
- package/build/breadcrumbs/edit.js.map +2 -2
- package/build/button/block.json +2 -3
- package/build/button/deprecated.js +203 -0
- package/build/button/deprecated.js.map +3 -3
- package/build/button/edit.js +13 -24
- package/build/button/edit.js.map +3 -3
- package/build/button/index.js +1 -1
- package/build/button/index.js.map +2 -2
- package/build/button/save.js +0 -2
- package/build/button/save.js.map +2 -2
- package/build/code/index.js +1 -1
- package/build/code/index.js.map +2 -2
- package/build/comments-pagination-numbers/block.json +7 -0
- package/build/cover/index.js +2 -2
- package/build/cover/index.js.map +2 -2
- package/build/details/index.js +1 -1
- package/build/details/index.js.map +2 -2
- package/build/file/index.js +1 -1
- package/build/file/index.js.map +2 -2
- package/build/freeform/block.json +0 -1
- package/build/gallery/edit.js +1 -1
- package/build/gallery/edit.js.map +2 -2
- package/build/gallery/transforms.js +7 -3
- package/build/gallery/transforms.js.map +2 -2
- package/build/heading/index.js +1 -1
- package/build/heading/index.js.map +2 -2
- package/build/html/modal.js +18 -7
- package/build/html/modal.js.map +2 -2
- package/build/image/index.js +1 -1
- package/build/image/index.js.map +2 -2
- package/build/index.js +9 -3
- package/build/index.js.map +2 -2
- package/build/list-item/index.js +1 -1
- package/build/list-item/index.js.map +2 -2
- package/build/math/edit.js +14 -2
- package/build/math/edit.js.map +2 -2
- package/build/media-text/index.js +1 -1
- package/build/media-text/index.js.map +2 -2
- package/build/more/index.js +1 -1
- package/build/more/index.js.map +2 -2
- package/build/navigation/block.json +3 -0
- package/build/navigation/edit/index.js +57 -83
- package/build/navigation/edit/index.js.map +3 -3
- package/build/navigation/edit/overlay-menu-preview-button.js +96 -0
- package/build/navigation/edit/overlay-menu-preview-button.js.map +7 -0
- package/build/navigation/edit/overlay-menu-preview-controls.js +90 -0
- package/build/navigation/edit/overlay-menu-preview-controls.js.map +7 -0
- package/build/navigation/edit/overlay-panel.js +86 -0
- package/build/navigation/edit/overlay-panel.js.map +7 -0
- package/build/navigation/edit/overlay-template-part-selector.js +163 -0
- package/build/navigation/edit/overlay-template-part-selector.js.map +7 -0
- package/build/navigation/edit/overlay-visibility-control.js +54 -0
- package/build/navigation/edit/overlay-visibility-control.js.map +7 -0
- package/build/navigation/edit/responsive-wrapper.js +14 -2
- package/build/navigation/edit/responsive-wrapper.js.map +2 -2
- package/build/navigation-link/edit.js +7 -21
- package/build/navigation-link/edit.js.map +2 -2
- package/build/navigation-link/index.js +1 -1
- package/build/navigation-link/index.js.map +2 -2
- package/build/navigation-link/shared/index.js +5 -2
- package/build/navigation-link/shared/index.js.map +2 -2
- package/build/navigation-link/shared/use-handle-link-change.js +84 -0
- package/build/navigation-link/shared/use-handle-link-change.js.map +7 -0
- package/build/navigation-submenu/index.js +1 -1
- package/build/navigation-submenu/index.js.map +2 -2
- package/build/page-list-item/edit.js +4 -3
- package/build/page-list-item/edit.js.map +2 -2
- package/build/paragraph/index.js +1 -1
- package/build/paragraph/index.js.map +2 -2
- package/build/post-title/edit.js +6 -4
- package/build/post-title/edit.js.map +2 -2
- package/build/preformatted/index.js +1 -1
- package/build/preformatted/index.js.map +2 -2
- package/build/pullquote/index.js +1 -1
- package/build/pullquote/index.js.map +2 -2
- package/build/query/edit/inspector-controls/author-control.js +0 -1
- package/build/query/edit/inspector-controls/author-control.js.map +2 -2
- package/build/query/edit/inspector-controls/format-controls.js +0 -1
- package/build/query/edit/inspector-controls/format-controls.js.map +2 -2
- package/build/query/edit/inspector-controls/parent-control.js +1 -2
- package/build/query/edit/inspector-controls/parent-control.js.map +2 -2
- package/build/query/edit/inspector-controls/taxonomy-controls.js +0 -1
- package/build/query/edit/inspector-controls/taxonomy-controls.js.map +2 -2
- package/build/search/index.js +1 -1
- package/build/search/index.js.map +2 -2
- package/build/social-link/index.js +1 -1
- package/build/social-link/index.js.map +2 -2
- package/build/template-part/edit/index.js +3 -31
- package/build/template-part/edit/index.js.map +2 -2
- package/build/template-part/edit/utils/get-template-part-icon.js +9 -4
- package/build/template-part/edit/utils/get-template-part-icon.js.map +3 -3
- package/build/template-part/edit/utils/hooks.js +3 -2
- package/build/template-part/edit/utils/hooks.js.map +2 -2
- package/build/terms-query/edit/inspector-controls/include-control.js +0 -1
- package/build/terms-query/edit/inspector-controls/include-control.js.map +2 -2
- package/build/utils/deprecated-text-align-attributes.js +70 -0
- package/build/utils/deprecated-text-align-attributes.js.map +7 -0
- package/build/utils/migrate-text-align.js +42 -0
- package/build/utils/migrate-text-align.js.map +7 -0
- package/build/verse/index.js +1 -1
- package/build/verse/index.js.map +2 -2
- package/build/video/index.js +1 -1
- package/build/video/index.js.map +2 -2
- package/build-module/audio/index.js +1 -1
- package/build-module/audio/index.js.map +2 -2
- package/build-module/avatar/edit.js +13 -38
- package/build-module/avatar/edit.js.map +2 -2
- package/build-module/breadcrumbs/block.json +3 -2
- package/build-module/breadcrumbs/edit.js +18 -18
- package/build-module/breadcrumbs/edit.js.map +2 -2
- package/build-module/button/block.json +2 -3
- package/build-module/button/deprecated.js +205 -1
- package/build-module/button/deprecated.js.map +2 -2
- package/build-module/button/edit.js +13 -25
- package/build-module/button/edit.js.map +2 -2
- package/build-module/button/index.js +1 -1
- package/build-module/button/index.js.map +2 -2
- package/build-module/button/save.js +0 -2
- package/build-module/button/save.js.map +2 -2
- package/build-module/code/index.js +1 -1
- package/build-module/code/index.js.map +2 -2
- package/build-module/comments-pagination-numbers/block.json +7 -0
- package/build-module/cover/index.js +2 -2
- package/build-module/cover/index.js.map +2 -2
- package/build-module/details/index.js +1 -1
- package/build-module/details/index.js.map +2 -2
- package/build-module/file/index.js +1 -1
- package/build-module/file/index.js.map +2 -2
- package/build-module/freeform/block.json +0 -1
- package/build-module/gallery/edit.js +1 -1
- package/build-module/gallery/edit.js.map +2 -2
- package/build-module/gallery/transforms.js +7 -3
- package/build-module/gallery/transforms.js.map +2 -2
- package/build-module/heading/index.js +1 -1
- package/build-module/heading/index.js.map +2 -2
- package/build-module/html/modal.js +19 -7
- package/build-module/html/modal.js.map +2 -2
- package/build-module/image/index.js +1 -1
- package/build-module/image/index.js.map +2 -2
- package/build-module/index.js +9 -3
- package/build-module/index.js.map +2 -2
- package/build-module/list-item/index.js +1 -1
- package/build-module/list-item/index.js.map +2 -2
- package/build-module/math/edit.js +15 -3
- package/build-module/math/edit.js.map +2 -2
- package/build-module/media-text/index.js +1 -1
- package/build-module/media-text/index.js.map +2 -2
- package/build-module/more/index.js +1 -1
- package/build-module/more/index.js.map +2 -2
- package/build-module/navigation/block.json +3 -0
- package/build-module/navigation/edit/index.js +58 -88
- package/build-module/navigation/edit/index.js.map +2 -2
- package/build-module/navigation/edit/overlay-menu-preview-button.js +65 -0
- package/build-module/navigation/edit/overlay-menu-preview-button.js.map +7 -0
- package/build-module/navigation/edit/overlay-menu-preview-controls.js +64 -0
- package/build-module/navigation/edit/overlay-menu-preview-controls.js.map +7 -0
- package/build-module/navigation/edit/overlay-panel.js +58 -0
- package/build-module/navigation/edit/overlay-panel.js.map +7 -0
- package/build-module/navigation/edit/overlay-template-part-selector.js +142 -0
- package/build-module/navigation/edit/overlay-template-part-selector.js.map +7 -0
- package/build-module/navigation/edit/overlay-visibility-control.js +36 -0
- package/build-module/navigation/edit/overlay-visibility-control.js.map +7 -0
- package/build-module/navigation/edit/responsive-wrapper.js +14 -2
- package/build-module/navigation/edit/responsive-wrapper.js.map +2 -2
- package/build-module/navigation-link/edit.js +9 -23
- package/build-module/navigation-link/edit.js.map +2 -2
- package/build-module/navigation-link/index.js +1 -1
- package/build-module/navigation-link/index.js.map +2 -2
- package/build-module/navigation-link/shared/index.js +3 -1
- package/build-module/navigation-link/shared/index.js.map +2 -2
- package/build-module/navigation-link/shared/use-handle-link-change.js +59 -0
- package/build-module/navigation-link/shared/use-handle-link-change.js.map +7 -0
- package/build-module/navigation-submenu/index.js +1 -1
- package/build-module/navigation-submenu/index.js.map +2 -2
- package/build-module/page-list-item/edit.js +4 -3
- package/build-module/page-list-item/edit.js.map +2 -2
- package/build-module/paragraph/index.js +1 -1
- package/build-module/paragraph/index.js.map +2 -2
- package/build-module/post-title/edit.js +6 -4
- package/build-module/post-title/edit.js.map +2 -2
- package/build-module/preformatted/index.js +1 -1
- package/build-module/preformatted/index.js.map +2 -2
- package/build-module/pullquote/index.js +1 -1
- package/build-module/pullquote/index.js.map +2 -2
- package/build-module/query/edit/inspector-controls/author-control.js +0 -1
- package/build-module/query/edit/inspector-controls/author-control.js.map +2 -2
- package/build-module/query/edit/inspector-controls/format-controls.js +0 -1
- package/build-module/query/edit/inspector-controls/format-controls.js.map +2 -2
- package/build-module/query/edit/inspector-controls/parent-control.js +1 -2
- package/build-module/query/edit/inspector-controls/parent-control.js.map +2 -2
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js +0 -1
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js.map +2 -2
- package/build-module/search/index.js +1 -1
- package/build-module/search/index.js.map +2 -2
- package/build-module/social-link/index.js +1 -1
- package/build-module/social-link/index.js.map +2 -2
- package/build-module/template-part/edit/index.js +3 -31
- package/build-module/template-part/edit/index.js.map +2 -2
- package/build-module/template-part/edit/utils/get-template-part-icon.js +10 -4
- package/build-module/template-part/edit/utils/get-template-part-icon.js.map +2 -2
- package/build-module/template-part/edit/utils/hooks.js +3 -2
- package/build-module/template-part/edit/utils/hooks.js.map +2 -2
- package/build-module/terms-query/edit/inspector-controls/include-control.js +0 -1
- package/build-module/terms-query/edit/inspector-controls/include-control.js.map +2 -2
- package/build-module/utils/deprecated-text-align-attributes.js +39 -0
- package/build-module/utils/deprecated-text-align-attributes.js.map +7 -0
- package/build-module/utils/migrate-text-align.js +21 -0
- package/build-module/utils/migrate-text-align.js.map +7 -0
- package/build-module/verse/index.js +1 -1
- package/build-module/verse/index.js.map +2 -2
- package/build-module/video/index.js +1 -1
- package/build-module/video/index.js.map +2 -2
- package/build-style/accordion-heading/style-rtl.css +2 -18
- package/build-style/accordion-heading/style.css +2 -18
- package/build-style/classic-rtl.css +24 -0
- package/build-style/classic.css +24 -0
- package/build-style/common-rtl.css +4 -4
- package/build-style/common.css +4 -0
- package/build-style/editor-rtl.css +5 -0
- package/build-style/editor.css +5 -0
- package/build-style/navigation/editor-rtl.css +5 -0
- package/build-style/navigation/editor.css +5 -0
- package/build-style/style-rtl.css +8 -22
- package/build-style/style.css +8 -18
- package/build-style/verse/style-rtl.css +2 -0
- package/build-style/verse/style.css +2 -0
- package/package.json +40 -38
- package/src/accordion-heading/style.scss +2 -30
- package/src/audio/index.js +1 -1
- package/src/avatar/edit.js +68 -83
- package/src/breadcrumbs/block.json +3 -2
- package/src/breadcrumbs/edit.js +18 -18
- package/src/breadcrumbs/index.php +38 -17
- package/src/button/block.json +2 -3
- package/src/button/deprecated.js +214 -0
- package/src/button/edit.js +2 -11
- package/src/button/index.js +1 -1
- package/src/button/save.js +0 -2
- package/src/classic.scss +38 -0
- package/src/code/index.js +1 -1
- package/src/comments-pagination-numbers/block.json +7 -0
- package/src/common.scss +4 -0
- package/src/cover/index.js +2 -2
- package/src/details/index.js +1 -1
- package/src/file/index.js +1 -1
- package/src/freeform/block.json +0 -1
- package/src/gallery/edit.js +4 -1
- package/src/gallery/transforms.js +6 -2
- package/src/heading/index.js +1 -1
- package/src/html/modal.js +39 -20
- package/src/image/index.js +1 -1
- package/src/index.js +9 -3
- package/src/list-item/index.js +1 -1
- package/src/math/edit.js +15 -3
- package/src/media-text/index.js +1 -1
- package/src/more/index.js +1 -1
- package/src/navigation/block.json +3 -0
- package/src/navigation/edit/index.js +77 -82
- package/src/navigation/edit/overlay-menu-preview-button.js +82 -0
- package/src/navigation/edit/overlay-menu-preview-controls.js +65 -0
- package/src/navigation/edit/overlay-panel.js +78 -0
- package/src/navigation/edit/overlay-template-part-selector.js +198 -0
- package/src/navigation/edit/overlay-visibility-control.js +40 -0
- package/src/navigation/edit/responsive-wrapper.js +16 -1
- package/src/navigation/edit/test/overlay-template-part-selector.js +461 -0
- package/src/navigation/editor.scss +5 -0
- package/src/navigation-link/edit.js +9 -26
- package/src/navigation-link/index.js +1 -1
- package/src/navigation-link/shared/index.js +1 -0
- package/src/navigation-link/shared/test/use-handle-link-change.test.js +804 -0
- package/src/navigation-link/shared/use-handle-link-change.js +91 -0
- package/src/navigation-submenu/index.js +1 -1
- package/src/page-list/index.php +3 -4
- package/src/page-list-item/edit.js +4 -3
- package/src/paragraph/index.js +1 -1
- package/src/post-title/edit.js +8 -4
- package/src/post-title/index.php +1 -1
- package/src/preformatted/index.js +1 -1
- package/src/pullquote/index.js +1 -1
- package/src/query/edit/inspector-controls/author-control.js +0 -1
- package/src/query/edit/inspector-controls/format-controls.js +0 -1
- package/src/query/edit/inspector-controls/parent-control.js +0 -1
- package/src/query/edit/inspector-controls/taxonomy-controls.js +0 -1
- package/src/search/index.js +1 -1
- package/src/social-link/index.js +1 -1
- package/src/template-part/edit/index.js +5 -41
- package/src/template-part/edit/utils/get-template-part-icon.js +23 -4
- package/src/template-part/edit/utils/hooks.js +10 -2
- package/src/terms-query/edit/inspector-controls/include-control.js +0 -1
- package/src/utils/deprecated-text-align-attributes.js +45 -0
- package/src/utils/migrate-text-align.js +22 -0
- package/src/verse/index.js +1 -1
- package/src/verse/style.scss +4 -0
- package/src/video/index.js +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
// packages/block-library/src/utils/deprecated-text-align-attributes.js
|
|
2
|
+
import { useEvent } from "@wordpress/compose";
|
|
3
|
+
import { useEffect, useRef } from "@wordpress/element";
|
|
4
|
+
import deprecated from "@wordpress/deprecated";
|
|
5
|
+
import { useDispatch } from "@wordpress/data";
|
|
6
|
+
import { store as blockEditorStore } from "@wordpress/block-editor";
|
|
7
|
+
function useDeprecatedTextAlign(props) {
|
|
8
|
+
const { name, attributes, setAttributes } = props;
|
|
9
|
+
const { textAlign } = attributes;
|
|
10
|
+
const { __unstableMarkNextChangeAsNotPersistent } = useDispatch(blockEditorStore);
|
|
11
|
+
const updateStyleWithAlign = useEvent(() => {
|
|
12
|
+
deprecated(`textAlign attribute in ${name}`, {
|
|
13
|
+
alternative: "style.typography.textAlign",
|
|
14
|
+
since: "7.0"
|
|
15
|
+
});
|
|
16
|
+
__unstableMarkNextChangeAsNotPersistent();
|
|
17
|
+
setAttributes((currentAttr) => ({
|
|
18
|
+
style: {
|
|
19
|
+
...currentAttr.style,
|
|
20
|
+
typography: {
|
|
21
|
+
...currentAttr.style?.typography,
|
|
22
|
+
textAlign
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}));
|
|
26
|
+
});
|
|
27
|
+
const lastUpdatedAlignRef = useRef();
|
|
28
|
+
useEffect(() => {
|
|
29
|
+
if (textAlign === lastUpdatedAlignRef.current) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
lastUpdatedAlignRef.current = textAlign;
|
|
33
|
+
updateStyleWithAlign();
|
|
34
|
+
}, [textAlign, updateStyleWithAlign]);
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
useDeprecatedTextAlign as default
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=deprecated-text-align-attributes.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/deprecated-text-align-attributes.js"],
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { useEvent } from '@wordpress/compose';\nimport { useEffect, useRef } from '@wordpress/element';\nimport deprecated from '@wordpress/deprecated';\nimport { useDispatch } from '@wordpress/data';\nimport { store as blockEditorStore } from '@wordpress/block-editor';\n\n/**\n * If a plugin is still using the old textAlign attribute, we need to migrate its value\n * to the new style.typography.textAlign attribute.\n *\n * @param {Object} props Block props.\n */\nexport default function useDeprecatedTextAlign( props ) {\n\tconst { name, attributes, setAttributes } = props;\n\tconst { textAlign } = attributes;\n\tconst { __unstableMarkNextChangeAsNotPersistent } =\n\t\tuseDispatch( blockEditorStore );\n\tconst updateStyleWithAlign = useEvent( () => {\n\t\tdeprecated( `textAlign attribute in ${ name }`, {\n\t\t\talternative: 'style.typography.textAlign',\n\t\t\tsince: '7.0',\n\t\t} );\n\t\t__unstableMarkNextChangeAsNotPersistent();\n\t\tsetAttributes( ( currentAttr ) => ( {\n\t\t\tstyle: {\n\t\t\t\t...currentAttr.style,\n\t\t\t\ttypography: {\n\t\t\t\t\t...currentAttr.style?.typography,\n\t\t\t\t\ttextAlign,\n\t\t\t\t},\n\t\t\t},\n\t\t} ) );\n\t} );\n\tconst lastUpdatedAlignRef = useRef();\n\tuseEffect( () => {\n\t\tif ( textAlign === lastUpdatedAlignRef.current ) {\n\t\t\treturn;\n\t\t}\n\t\tlastUpdatedAlignRef.current = textAlign;\n\t\tupdateStyleWithAlign();\n\t}, [ textAlign, updateStyleWithAlign ] );\n}\n"],
|
|
5
|
+
"mappings": ";AAGA,SAAS,gBAAgB;AACzB,SAAS,WAAW,cAAc;AAClC,OAAO,gBAAgB;AACvB,SAAS,mBAAmB;AAC5B,SAAS,SAAS,wBAAwB;AAQ3B,SAAR,uBAAyC,OAAQ;AACvD,QAAM,EAAE,MAAM,YAAY,cAAc,IAAI;AAC5C,QAAM,EAAE,UAAU,IAAI;AACtB,QAAM,EAAE,wCAAwC,IAC/C,YAAa,gBAAiB;AAC/B,QAAM,uBAAuB,SAAU,MAAM;AAC5C,eAAY,0BAA2B,IAAK,IAAI;AAAA,MAC/C,aAAa;AAAA,MACb,OAAO;AAAA,IACR,CAAE;AACF,4CAAwC;AACxC,kBAAe,CAAE,iBAAmB;AAAA,MACnC,OAAO;AAAA,QACN,GAAG,YAAY;AAAA,QACf,YAAY;AAAA,UACX,GAAG,YAAY,OAAO;AAAA,UACtB;AAAA,QACD;AAAA,MACD;AAAA,IACD,EAAI;AAAA,EACL,CAAE;AACF,QAAM,sBAAsB,OAAO;AACnC,YAAW,MAAM;AAChB,QAAK,cAAc,oBAAoB,SAAU;AAChD;AAAA,IACD;AACA,wBAAoB,UAAU;AAC9B,yBAAqB;AAAA,EACtB,GAAG,CAAE,WAAW,oBAAqB,CAAE;AACxC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// packages/block-library/src/utils/migrate-text-align.js
|
|
2
|
+
function migrate_text_align_default(attributes) {
|
|
3
|
+
const { textAlign, ...restAttributes } = attributes;
|
|
4
|
+
if (!textAlign) {
|
|
5
|
+
return attributes;
|
|
6
|
+
}
|
|
7
|
+
return {
|
|
8
|
+
...restAttributes,
|
|
9
|
+
style: {
|
|
10
|
+
...attributes.style,
|
|
11
|
+
typography: {
|
|
12
|
+
...attributes.style?.typography,
|
|
13
|
+
textAlign
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
migrate_text_align_default as default
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=migrate-text-align.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/utils/migrate-text-align.js"],
|
|
4
|
+
"sourcesContent": ["/**\n * Migrates the current textAlign attribute,\n *\n * @param {Object} attributes The current attributes\n * @return {Object} The updated attributes.\n */\nexport default function ( attributes ) {\n\tconst { textAlign, ...restAttributes } = attributes;\n\tif ( ! textAlign ) {\n\t\treturn attributes;\n\t}\n\treturn {\n\t\t...restAttributes,\n\t\tstyle: {\n\t\t\t...attributes.style,\n\t\t\ttypography: {\n\t\t\t\t...attributes.style?.typography,\n\t\t\t\ttextAlign,\n\t\t\t},\n\t\t},\n\t};\n}\n"],
|
|
5
|
+
"mappings": ";AAMe,SAAR,2BAAmB,YAAa;AACtC,QAAM,EAAE,WAAW,GAAG,eAAe,IAAI;AACzC,MAAK,CAAE,WAAY;AAClB,WAAO;AAAA,EACR;AACA,SAAO;AAAA,IACN,GAAG;AAAA,IACH,OAAO;AAAA,MACN,GAAG,WAAW;AAAA,MACd,YAAY;AAAA,QACX,GAAG,WAAW,OAAO;AAAA,QACrB;AAAA,MACD;AAAA,IACD;AAAA,EACD;AACD;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/verse/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { verse as icon } from '@wordpress/icons';\nimport { privateApis as blocksPrivateApis } from '@wordpress/blocks';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\nimport { unlock } from '../lock-unlock';\n\nconst { fieldsKey, formKey } = unlock( blocksPrivateApis );\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\t/* eslint-disable @wordpress/i18n-no-collapsible-whitespace */\n\t\t\t// translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work.\n\t\t\tcontent: __(\n\t\t\t\t'WHAT was he doing, the great god Pan,\\n\tDown in the reeds by the river?\\nSpreading ruin and scattering ban,\\nSplashing and paddling with hoofs of a goat,\\nAnd breaking the golden lilies afloat\\n With the dragon-fly on the river.'\n\t\t\t),\n\t\t\t/* eslint-enable @wordpress/i18n-no-collapsible-whitespace */\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tmerge( attributes, attributesToMerge ) {\n\t\treturn {\n\t\t\tcontent: attributes.content + '\\n\\n' + attributesToMerge.content,\n\t\t};\n\t},\n\tedit,\n\tsave,\n};\n\nif ( window.
|
|
5
|
-
"mappings": ";AAGA,SAAS,UAAU;AACnB,SAAS,SAAS,YAAY;AAC9B,SAAS,eAAe,yBAAyB;AAKjD,OAAO,eAAe;AACtB,OAAO,gBAAgB;AACvB,OAAO,UAAU;AACjB,OAAO,cAAc;AACrB,OAAO,UAAU;AACjB,OAAO,gBAAgB;AACvB,SAAS,cAAc;AAEvB,IAAM,EAAE,WAAW,QAAQ,IAAI,OAAQ,iBAAkB;AAEzD,IAAM,EAAE,KAAK,IAAI;AAIV,IAAM,WAAW;AAAA,EACvB;AAAA,EACA,SAAS;AAAA,IACR,YAAY;AAAA;AAAA;AAAA,MAGX,SAAS;AAAA,QACR;AAAA,MACD;AAAA;AAAA,IAED;AAAA,EACD;AAAA,EACA;AAAA,EACA;AAAA,EACA,MAAO,YAAY,mBAAoB;AACtC,WAAO;AAAA,MACN,SAAS,WAAW,UAAU,SAAS,kBAAkB;AAAA,IAC1D;AAAA,EACD;AAAA,EACA;AAAA,EACA;AACD;AAEA,IAAK,OAAO,
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { verse as icon } from '@wordpress/icons';\nimport { privateApis as blocksPrivateApis } from '@wordpress/blocks';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\nimport { unlock } from '../lock-unlock';\n\nconst { fieldsKey, formKey } = unlock( blocksPrivateApis );\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\t/* eslint-disable @wordpress/i18n-no-collapsible-whitespace */\n\t\t\t// translators: Sample content for the Verse block. Can be replaced with a more locale-adequate work.\n\t\t\tcontent: __(\n\t\t\t\t'WHAT was he doing, the great god Pan,\\n\tDown in the reeds by the river?\\nSpreading ruin and scattering ban,\\nSplashing and paddling with hoofs of a goat,\\nAnd breaking the golden lilies afloat\\n With the dragon-fly on the river.'\n\t\t\t),\n\t\t\t/* eslint-enable @wordpress/i18n-no-collapsible-whitespace */\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tmerge( attributes, attributesToMerge ) {\n\t\treturn {\n\t\t\tcontent: attributes.content + '\\n\\n' + attributesToMerge.content,\n\t\t};\n\t},\n\tedit,\n\tsave,\n};\n\nif ( window.__experimentalContentOnlyInspectorFields ) {\n\tsettings[ fieldsKey ] = [\n\t\t{\n\t\t\tid: 'content',\n\t\t\tlabel: __( 'Content' ),\n\t\t\ttype: 'richtext',\n\t\t},\n\t];\n\tsettings[ formKey ] = {\n\t\tfields: [ 'content' ],\n\t};\n}\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],
|
|
5
|
+
"mappings": ";AAGA,SAAS,UAAU;AACnB,SAAS,SAAS,YAAY;AAC9B,SAAS,eAAe,yBAAyB;AAKjD,OAAO,eAAe;AACtB,OAAO,gBAAgB;AACvB,OAAO,UAAU;AACjB,OAAO,cAAc;AACrB,OAAO,UAAU;AACjB,OAAO,gBAAgB;AACvB,SAAS,cAAc;AAEvB,IAAM,EAAE,WAAW,QAAQ,IAAI,OAAQ,iBAAkB;AAEzD,IAAM,EAAE,KAAK,IAAI;AAIV,IAAM,WAAW;AAAA,EACvB;AAAA,EACA,SAAS;AAAA,IACR,YAAY;AAAA;AAAA;AAAA,MAGX,SAAS;AAAA,QACR;AAAA,MACD;AAAA;AAAA,IAED;AAAA,EACD;AAAA,EACA;AAAA,EACA;AAAA,EACA,MAAO,YAAY,mBAAoB;AACtC,WAAO;AAAA,MACN,SAAS,WAAW,UAAU,SAAS,kBAAkB;AAAA,IAC1D;AAAA,EACD;AAAA,EACA;AAAA,EACA;AACD;AAEA,IAAK,OAAO,0CAA2C;AACtD,WAAU,SAAU,IAAI;AAAA,IACvB;AAAA,MACC,IAAI;AAAA,MACJ,OAAO,GAAI,SAAU;AAAA,MACrB,MAAM;AAAA,IACP;AAAA,EACD;AACA,WAAU,OAAQ,IAAI;AAAA,IACrB,QAAQ,CAAE,SAAU;AAAA,EACrB;AACD;AAEO,IAAM,OAAO,MAAM,UAAW,EAAE,MAAM,UAAU,SAAS,CAAE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/video/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { video as icon } from '@wordpress/icons';\nimport { privateApis as blocksPrivateApis } from '@wordpress/blocks';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\nimport { unlock } from '../lock-unlock';\n\nconst { fieldsKey, formKey } = unlock( blocksPrivateApis );\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\tsrc: 'https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm',\n\t\t\t// translators: Caption accompanying a video of the wood thrush singing, which serves as an example for the Video block.\n\t\t\tcaption: __( 'Wood thrush singing in Central Park, NYC.' ),\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tedit,\n\tsave,\n};\n\nif ( window.
|
|
5
|
-
"mappings": ";AAGA,SAAS,UAAU;AACnB,SAAS,SAAS,YAAY;AAC9B,SAAS,eAAe,yBAAyB;AAKjD,OAAO,eAAe;AACtB,OAAO,gBAAgB;AACvB,OAAO,UAAU;AACjB,OAAO,cAAc;AACrB,OAAO,UAAU;AACjB,OAAO,gBAAgB;AACvB,SAAS,cAAc;AAEvB,IAAM,EAAE,WAAW,QAAQ,IAAI,OAAQ,iBAAkB;AAEzD,IAAM,EAAE,KAAK,IAAI;AAIV,IAAM,WAAW;AAAA,EACvB;AAAA,EACA,SAAS;AAAA,IACR,YAAY;AAAA,MACX,KAAK;AAAA;AAAA,MAEL,SAAS,GAAI,2CAA4C;AAAA,IAC1D;AAAA,EACD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AAEA,IAAK,OAAO,
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { video as icon } from '@wordpress/icons';\nimport { privateApis as blocksPrivateApis } from '@wordpress/blocks';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport deprecated from './deprecated';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\nimport { unlock } from '../lock-unlock';\n\nconst { fieldsKey, formKey } = unlock( blocksPrivateApis );\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\tsrc: 'https://upload.wikimedia.org/wikipedia/commons/c/ca/Wood_thrush_in_Central_Park_switch_sides_%2816510%29.webm',\n\t\t\t// translators: Caption accompanying a video of the wood thrush singing, which serves as an example for the Video block.\n\t\t\tcaption: __( 'Wood thrush singing in Central Park, NYC.' ),\n\t\t},\n\t},\n\ttransforms,\n\tdeprecated,\n\tedit,\n\tsave,\n};\n\nif ( window.__experimentalContentOnlyInspectorFields ) {\n\tsettings[ fieldsKey ] = [\n\t\t{\n\t\t\tid: 'video',\n\t\t\tlabel: __( 'Video' ),\n\t\t\ttype: 'media',\n\t\t\tmapping: {\n\t\t\t\tid: 'id',\n\t\t\t\turl: 'src',\n\t\t\t\tcaption: 'caption',\n\t\t\t\tposter: 'poster',\n\t\t\t},\n\t\t\targs: {\n\t\t\t\tallowedTypes: [ 'video' ],\n\t\t\t\tmultiple: false,\n\t\t\t},\n\t\t},\n\t\t{\n\t\t\tid: 'caption',\n\t\t\tlabel: __( 'Caption' ),\n\t\t\ttype: 'richtext',\n\t\t},\n\t];\n\tsettings[ formKey ] = {\n\t\tfields: [ 'video' ],\n\t};\n}\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],
|
|
5
|
+
"mappings": ";AAGA,SAAS,UAAU;AACnB,SAAS,SAAS,YAAY;AAC9B,SAAS,eAAe,yBAAyB;AAKjD,OAAO,eAAe;AACtB,OAAO,gBAAgB;AACvB,OAAO,UAAU;AACjB,OAAO,cAAc;AACrB,OAAO,UAAU;AACjB,OAAO,gBAAgB;AACvB,SAAS,cAAc;AAEvB,IAAM,EAAE,WAAW,QAAQ,IAAI,OAAQ,iBAAkB;AAEzD,IAAM,EAAE,KAAK,IAAI;AAIV,IAAM,WAAW;AAAA,EACvB;AAAA,EACA,SAAS;AAAA,IACR,YAAY;AAAA,MACX,KAAK;AAAA;AAAA,MAEL,SAAS,GAAI,2CAA4C;AAAA,IAC1D;AAAA,EACD;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACD;AAEA,IAAK,OAAO,0CAA2C;AACtD,WAAU,SAAU,IAAI;AAAA,IACvB;AAAA,MACC,IAAI;AAAA,MACJ,OAAO,GAAI,OAAQ;AAAA,MACnB,MAAM;AAAA,MACN,SAAS;AAAA,QACR,IAAI;AAAA,QACJ,KAAK;AAAA,QACL,SAAS;AAAA,QACT,QAAQ;AAAA,MACT;AAAA,MACA,MAAM;AAAA,QACL,cAAc,CAAE,OAAQ;AAAA,QACxB,UAAU;AAAA,MACX;AAAA,IACD;AAAA,IACA;AAAA,MACC,IAAI;AAAA,MACJ,OAAO,GAAI,SAAU;AAAA,MACrB,MAAM;AAAA,IACP;AAAA,EACD;AACA,WAAU,OAAQ,IAAI;AAAA,IACrB,QAAQ,CAAE,OAAQ;AAAA,EACnB;AACD;AAEO,IAAM,OAAO,MAAM,UAAW,EAAE,MAAM,UAAU,SAAS,CAAE;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
.wp-block-accordion-heading {
|
|
2
|
-
margin: 0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
1
|
.wp-block-accordion-heading__toggle {
|
|
6
2
|
font-family: inherit;
|
|
7
3
|
font-size: inherit;
|
|
@@ -12,7 +8,9 @@
|
|
|
12
8
|
text-decoration: inherit;
|
|
13
9
|
word-spacing: inherit;
|
|
14
10
|
font-style: inherit;
|
|
11
|
+
background: none;
|
|
15
12
|
border: none;
|
|
13
|
+
color: inherit;
|
|
16
14
|
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
17
15
|
cursor: pointer;
|
|
18
16
|
overflow: hidden;
|
|
@@ -20,24 +18,10 @@
|
|
|
20
18
|
align-items: center;
|
|
21
19
|
text-align: inherit;
|
|
22
20
|
width: 100%;
|
|
23
|
-
background-color: inherit !important;
|
|
24
|
-
color: inherit !important;
|
|
25
21
|
}
|
|
26
22
|
.wp-block-accordion-heading__toggle:not(:focus-visible) {
|
|
27
23
|
outline: none;
|
|
28
24
|
}
|
|
29
|
-
.wp-block-accordion-heading__toggle:hover, .wp-block-accordion-heading__toggle:focus {
|
|
30
|
-
text-decoration: none;
|
|
31
|
-
background-color: inherit !important;
|
|
32
|
-
box-shadow: none;
|
|
33
|
-
color: inherit;
|
|
34
|
-
border: none;
|
|
35
|
-
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
36
|
-
}
|
|
37
|
-
.wp-block-accordion-heading__toggle:focus-visible {
|
|
38
|
-
outline: auto;
|
|
39
|
-
outline-offset: 0;
|
|
40
|
-
}
|
|
41
25
|
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
|
|
42
26
|
text-decoration: underline;
|
|
43
27
|
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
.wp-block-accordion-heading {
|
|
2
|
-
margin: 0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
1
|
.wp-block-accordion-heading__toggle {
|
|
6
2
|
font-family: inherit;
|
|
7
3
|
font-size: inherit;
|
|
@@ -12,7 +8,9 @@
|
|
|
12
8
|
text-decoration: inherit;
|
|
13
9
|
word-spacing: inherit;
|
|
14
10
|
font-style: inherit;
|
|
11
|
+
background: none;
|
|
15
12
|
border: none;
|
|
13
|
+
color: inherit;
|
|
16
14
|
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
17
15
|
cursor: pointer;
|
|
18
16
|
overflow: hidden;
|
|
@@ -20,24 +18,10 @@
|
|
|
20
18
|
align-items: center;
|
|
21
19
|
text-align: inherit;
|
|
22
20
|
width: 100%;
|
|
23
|
-
background-color: inherit !important;
|
|
24
|
-
color: inherit !important;
|
|
25
21
|
}
|
|
26
22
|
.wp-block-accordion-heading__toggle:not(:focus-visible) {
|
|
27
23
|
outline: none;
|
|
28
24
|
}
|
|
29
|
-
.wp-block-accordion-heading__toggle:hover, .wp-block-accordion-heading__toggle:focus {
|
|
30
|
-
text-decoration: none;
|
|
31
|
-
background-color: inherit !important;
|
|
32
|
-
box-shadow: none;
|
|
33
|
-
color: inherit;
|
|
34
|
-
border: none;
|
|
35
|
-
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
36
|
-
}
|
|
37
|
-
.wp-block-accordion-heading__toggle:focus-visible {
|
|
38
|
-
outline: auto;
|
|
39
|
-
outline-offset: 0;
|
|
40
|
-
}
|
|
41
25
|
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
|
|
42
26
|
text-decoration: underline;
|
|
43
27
|
}
|
|
@@ -14,4 +14,28 @@
|
|
|
14
14
|
.wp-block-file__button {
|
|
15
15
|
background: #32373c;
|
|
16
16
|
color: #fff;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.wp-block-accordion-heading {
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.wp-block-accordion-heading__toggle {
|
|
24
|
+
background-color: inherit !important;
|
|
25
|
+
color: inherit !important;
|
|
26
|
+
}
|
|
27
|
+
.wp-block-accordion-heading__toggle:not(:focus-visible) {
|
|
28
|
+
outline: none;
|
|
29
|
+
}
|
|
30
|
+
.wp-block-accordion-heading__toggle:hover, .wp-block-accordion-heading__toggle:focus {
|
|
31
|
+
text-decoration: none;
|
|
32
|
+
background-color: inherit !important;
|
|
33
|
+
box-shadow: none;
|
|
34
|
+
color: inherit;
|
|
35
|
+
border: none;
|
|
36
|
+
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
37
|
+
}
|
|
38
|
+
.wp-block-accordion-heading__toggle:focus-visible {
|
|
39
|
+
outline-offset: 0;
|
|
40
|
+
outline: auto;
|
|
17
41
|
}
|
package/build-style/classic.css
CHANGED
|
@@ -14,4 +14,28 @@
|
|
|
14
14
|
.wp-block-file__button {
|
|
15
15
|
background: #32373c;
|
|
16
16
|
color: #fff;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.wp-block-accordion-heading {
|
|
20
|
+
margin: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.wp-block-accordion-heading__toggle {
|
|
24
|
+
background-color: inherit !important;
|
|
25
|
+
color: inherit !important;
|
|
26
|
+
}
|
|
27
|
+
.wp-block-accordion-heading__toggle:not(:focus-visible) {
|
|
28
|
+
outline: none;
|
|
29
|
+
}
|
|
30
|
+
.wp-block-accordion-heading__toggle:hover, .wp-block-accordion-heading__toggle:focus {
|
|
31
|
+
text-decoration: none;
|
|
32
|
+
background-color: inherit !important;
|
|
33
|
+
box-shadow: none;
|
|
34
|
+
color: inherit;
|
|
35
|
+
border: none;
|
|
36
|
+
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
37
|
+
}
|
|
38
|
+
.wp-block-accordion-heading__toggle:focus-visible {
|
|
39
|
+
outline-offset: 0;
|
|
40
|
+
outline: auto;
|
|
17
41
|
}
|
|
@@ -255,7 +255,7 @@ html :where([style*=border-top-color]) {
|
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
html :where([style*=border-right-color]) {
|
|
258
|
-
border-
|
|
258
|
+
border-right-style: solid;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
html :where([style*=border-bottom-color]) {
|
|
@@ -263,7 +263,7 @@ html :where([style*=border-bottom-color]) {
|
|
|
263
263
|
}
|
|
264
264
|
|
|
265
265
|
html :where([style*=border-left-color]) {
|
|
266
|
-
border-
|
|
266
|
+
border-left-style: solid;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
html :where([style*=border-width]) {
|
|
@@ -275,7 +275,7 @@ html :where([style*=border-top-width]) {
|
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
html :where([style*=border-right-width]) {
|
|
278
|
-
border-
|
|
278
|
+
border-right-style: solid;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
html :where([style*=border-bottom-width]) {
|
|
@@ -283,7 +283,7 @@ html :where([style*=border-bottom-width]) {
|
|
|
283
283
|
}
|
|
284
284
|
|
|
285
285
|
html :where([style*=border-left-width]) {
|
|
286
|
-
border-
|
|
286
|
+
border-left-style: solid;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
/**
|
package/build-style/common.css
CHANGED
|
@@ -257,6 +257,7 @@ html :where([style*=border-top-color]) {
|
|
|
257
257
|
}
|
|
258
258
|
|
|
259
259
|
html :where([style*=border-right-color]) {
|
|
260
|
+
/*rtl:ignore*/
|
|
260
261
|
border-right-style: solid;
|
|
261
262
|
}
|
|
262
263
|
|
|
@@ -265,6 +266,7 @@ html :where([style*=border-bottom-color]) {
|
|
|
265
266
|
}
|
|
266
267
|
|
|
267
268
|
html :where([style*=border-left-color]) {
|
|
269
|
+
/*rtl:ignore*/
|
|
268
270
|
border-left-style: solid;
|
|
269
271
|
}
|
|
270
272
|
|
|
@@ -277,6 +279,7 @@ html :where([style*=border-top-width]) {
|
|
|
277
279
|
}
|
|
278
280
|
|
|
279
281
|
html :where([style*=border-right-width]) {
|
|
282
|
+
/*rtl:ignore*/
|
|
280
283
|
border-right-style: solid;
|
|
281
284
|
}
|
|
282
285
|
|
|
@@ -285,6 +288,7 @@ html :where([style*=border-bottom-width]) {
|
|
|
285
288
|
}
|
|
286
289
|
|
|
287
290
|
html :where([style*=border-left-width]) {
|
|
291
|
+
/*rtl:ignore*/
|
|
288
292
|
border-left-style: solid;
|
|
289
293
|
}
|
|
290
294
|
|
|
@@ -1908,6 +1908,11 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1908
1908
|
grid-column: span 2;
|
|
1909
1909
|
}
|
|
1910
1910
|
|
|
1911
|
+
.wp-block-navigation__overlay-edit-button {
|
|
1912
|
+
margin-top: 8px;
|
|
1913
|
+
width: fit-content;
|
|
1914
|
+
}
|
|
1915
|
+
|
|
1911
1916
|
/**
|
|
1912
1917
|
* Appender
|
|
1913
1918
|
*/
|
package/build-style/editor.css
CHANGED
|
@@ -1916,6 +1916,11 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1916
1916
|
grid-column: span 2;
|
|
1917
1917
|
}
|
|
1918
1918
|
|
|
1919
|
+
.wp-block-navigation__overlay-edit-button {
|
|
1920
|
+
margin-top: 8px;
|
|
1921
|
+
width: fit-content;
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1919
1924
|
/**
|
|
1920
1925
|
* Appender
|
|
1921
1926
|
*/
|
|
@@ -595,4 +595,9 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
595
595
|
|
|
596
596
|
.wp-block-navigation__submenu-accessibility-notice {
|
|
597
597
|
grid-column: span 2;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.wp-block-navigation__overlay-edit-button {
|
|
601
|
+
margin-top: 8px;
|
|
602
|
+
width: fit-content;
|
|
598
603
|
}
|
|
@@ -595,4 +595,9 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
595
595
|
|
|
596
596
|
.wp-block-navigation__submenu-accessibility-notice {
|
|
597
597
|
grid-column: span 2;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.wp-block-navigation__overlay-edit-button {
|
|
601
|
+
margin-top: 8px;
|
|
602
|
+
width: fit-content;
|
|
598
603
|
}
|
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.wp-block-accordion-heading {
|
|
22
|
-
margin: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
21
|
.wp-block-accordion-heading__toggle {
|
|
26
22
|
font-family: inherit;
|
|
27
23
|
font-size: inherit;
|
|
@@ -32,7 +28,9 @@
|
|
|
32
28
|
text-decoration: inherit;
|
|
33
29
|
word-spacing: inherit;
|
|
34
30
|
font-style: inherit;
|
|
31
|
+
background: none;
|
|
35
32
|
border: none;
|
|
33
|
+
color: inherit;
|
|
36
34
|
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
37
35
|
cursor: pointer;
|
|
38
36
|
overflow: hidden;
|
|
@@ -40,24 +38,10 @@
|
|
|
40
38
|
align-items: center;
|
|
41
39
|
text-align: inherit;
|
|
42
40
|
width: 100%;
|
|
43
|
-
background-color: inherit !important;
|
|
44
|
-
color: inherit !important;
|
|
45
41
|
}
|
|
46
42
|
.wp-block-accordion-heading__toggle:not(:focus-visible) {
|
|
47
43
|
outline: none;
|
|
48
44
|
}
|
|
49
|
-
.wp-block-accordion-heading__toggle:hover, .wp-block-accordion-heading__toggle:focus {
|
|
50
|
-
text-decoration: none;
|
|
51
|
-
background-color: inherit !important;
|
|
52
|
-
box-shadow: none;
|
|
53
|
-
color: inherit;
|
|
54
|
-
border: none;
|
|
55
|
-
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
56
|
-
}
|
|
57
|
-
.wp-block-accordion-heading__toggle:focus-visible {
|
|
58
|
-
outline: auto;
|
|
59
|
-
outline-offset: 0;
|
|
60
|
-
}
|
|
61
45
|
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
|
|
62
46
|
text-decoration: underline;
|
|
63
47
|
}
|
|
@@ -4530,6 +4514,8 @@ ul.wp-block-rss.is-grid li {
|
|
|
4530
4514
|
pre.wp-block-verse {
|
|
4531
4515
|
overflow: auto;
|
|
4532
4516
|
white-space: pre-wrap;
|
|
4517
|
+
min-width: 1em;
|
|
4518
|
+
word-break: break-word;
|
|
4533
4519
|
}
|
|
4534
4520
|
|
|
4535
4521
|
:where(pre.wp-block-verse) {
|
|
@@ -4749,7 +4735,7 @@ html :where([style*=border-top-color]) {
|
|
|
4749
4735
|
}
|
|
4750
4736
|
|
|
4751
4737
|
html :where([style*=border-right-color]) {
|
|
4752
|
-
border-
|
|
4738
|
+
border-right-style: solid;
|
|
4753
4739
|
}
|
|
4754
4740
|
|
|
4755
4741
|
html :where([style*=border-bottom-color]) {
|
|
@@ -4757,7 +4743,7 @@ html :where([style*=border-bottom-color]) {
|
|
|
4757
4743
|
}
|
|
4758
4744
|
|
|
4759
4745
|
html :where([style*=border-left-color]) {
|
|
4760
|
-
border-
|
|
4746
|
+
border-left-style: solid;
|
|
4761
4747
|
}
|
|
4762
4748
|
|
|
4763
4749
|
html :where([style*=border-width]) {
|
|
@@ -4769,7 +4755,7 @@ html :where([style*=border-top-width]) {
|
|
|
4769
4755
|
}
|
|
4770
4756
|
|
|
4771
4757
|
html :where([style*=border-right-width]) {
|
|
4772
|
-
border-
|
|
4758
|
+
border-right-style: solid;
|
|
4773
4759
|
}
|
|
4774
4760
|
|
|
4775
4761
|
html :where([style*=border-bottom-width]) {
|
|
@@ -4777,7 +4763,7 @@ html :where([style*=border-bottom-width]) {
|
|
|
4777
4763
|
}
|
|
4778
4764
|
|
|
4779
4765
|
html :where([style*=border-left-width]) {
|
|
4780
|
-
border-
|
|
4766
|
+
border-left-style: solid;
|
|
4781
4767
|
}
|
|
4782
4768
|
|
|
4783
4769
|
/**
|
package/build-style/style.css
CHANGED
|
@@ -18,10 +18,6 @@
|
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.wp-block-accordion-heading {
|
|
22
|
-
margin: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
21
|
.wp-block-accordion-heading__toggle {
|
|
26
22
|
font-family: inherit;
|
|
27
23
|
font-size: inherit;
|
|
@@ -32,7 +28,9 @@
|
|
|
32
28
|
text-decoration: inherit;
|
|
33
29
|
word-spacing: inherit;
|
|
34
30
|
font-style: inherit;
|
|
31
|
+
background: none;
|
|
35
32
|
border: none;
|
|
33
|
+
color: inherit;
|
|
36
34
|
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
37
35
|
cursor: pointer;
|
|
38
36
|
overflow: hidden;
|
|
@@ -40,24 +38,10 @@
|
|
|
40
38
|
align-items: center;
|
|
41
39
|
text-align: inherit;
|
|
42
40
|
width: 100%;
|
|
43
|
-
background-color: inherit !important;
|
|
44
|
-
color: inherit !important;
|
|
45
41
|
}
|
|
46
42
|
.wp-block-accordion-heading__toggle:not(:focus-visible) {
|
|
47
43
|
outline: none;
|
|
48
44
|
}
|
|
49
|
-
.wp-block-accordion-heading__toggle:hover, .wp-block-accordion-heading__toggle:focus {
|
|
50
|
-
text-decoration: none;
|
|
51
|
-
background-color: inherit !important;
|
|
52
|
-
box-shadow: none;
|
|
53
|
-
color: inherit;
|
|
54
|
-
border: none;
|
|
55
|
-
padding: var(--wp--preset--spacing--20, 1em) 0;
|
|
56
|
-
}
|
|
57
|
-
.wp-block-accordion-heading__toggle:focus-visible {
|
|
58
|
-
outline: auto;
|
|
59
|
-
outline-offset: 0;
|
|
60
|
-
}
|
|
61
45
|
.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
|
|
62
46
|
text-decoration: underline;
|
|
63
47
|
}
|
|
@@ -4563,6 +4547,8 @@ ul.wp-block-rss.is-grid li {
|
|
|
4563
4547
|
pre.wp-block-verse {
|
|
4564
4548
|
overflow: auto;
|
|
4565
4549
|
white-space: pre-wrap;
|
|
4550
|
+
min-width: 1em;
|
|
4551
|
+
word-break: break-word;
|
|
4566
4552
|
}
|
|
4567
4553
|
|
|
4568
4554
|
:where(pre.wp-block-verse) {
|
|
@@ -4784,6 +4770,7 @@ html :where([style*=border-top-color]) {
|
|
|
4784
4770
|
}
|
|
4785
4771
|
|
|
4786
4772
|
html :where([style*=border-right-color]) {
|
|
4773
|
+
/*rtl:ignore*/
|
|
4787
4774
|
border-right-style: solid;
|
|
4788
4775
|
}
|
|
4789
4776
|
|
|
@@ -4792,6 +4779,7 @@ html :where([style*=border-bottom-color]) {
|
|
|
4792
4779
|
}
|
|
4793
4780
|
|
|
4794
4781
|
html :where([style*=border-left-color]) {
|
|
4782
|
+
/*rtl:ignore*/
|
|
4795
4783
|
border-left-style: solid;
|
|
4796
4784
|
}
|
|
4797
4785
|
|
|
@@ -4804,6 +4792,7 @@ html :where([style*=border-top-width]) {
|
|
|
4804
4792
|
}
|
|
4805
4793
|
|
|
4806
4794
|
html :where([style*=border-right-width]) {
|
|
4795
|
+
/*rtl:ignore*/
|
|
4807
4796
|
border-right-style: solid;
|
|
4808
4797
|
}
|
|
4809
4798
|
|
|
@@ -4812,6 +4801,7 @@ html :where([style*=border-bottom-width]) {
|
|
|
4812
4801
|
}
|
|
4813
4802
|
|
|
4814
4803
|
html :where([style*=border-left-width]) {
|
|
4804
|
+
/*rtl:ignore*/
|
|
4815
4805
|
border-left-style: solid;
|
|
4816
4806
|
}
|
|
4817
4807
|
|