@wordpress/block-library 9.13.0 → 9.13.1-next.a9f418477.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/build/block/edit.js +2 -29
- package/build/block/edit.js.map +1 -1
- package/build/cover/edit/index.js +4 -2
- package/build/cover/edit/index.js.map +1 -1
- package/build/cover/edit/inspector-controls.js +6 -4
- package/build/cover/edit/inspector-controls.js.map +1 -1
- package/build/form/index.js +1 -2
- package/build/form/index.js.map +1 -1
- package/build/form/view.js +10 -5
- package/build/form/view.js.map +1 -1
- package/build/list-item/hooks/use-merge.js +2 -2
- package/build/list-item/hooks/use-merge.js.map +1 -1
- package/build/navigation/edit/deleted-navigation-warning.js +9 -2
- package/build/navigation/edit/deleted-navigation-warning.js.map +1 -1
- package/build/navigation-link/edit.js +1 -2
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-submenu/edit.js +3 -1
- package/build/navigation-submenu/edit.js.map +1 -1
- package/build/pattern/recursion-detector.js +0 -1
- package/build/pattern/recursion-detector.js.map +1 -1
- package/build/query/edit/index.js +2 -2
- package/build/query/edit/index.js.map +1 -1
- package/build/query/edit/inspector-controls/author-control.js +0 -1
- package/build/query/edit/inspector-controls/author-control.js.map +1 -1
- package/build/query/edit/inspector-controls/parent-control.js +0 -1
- package/build/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build/query/edit/inspector-controls/taxonomy-controls.js +0 -1
- package/build/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
- package/build/query/edit/{pattern-selection-modal.js → pattern-selection.js} +55 -36
- package/build/query/edit/pattern-selection.js.map +1 -0
- package/build/query/edit/query-content.js +5 -8
- package/build/query/edit/query-content.js.map +1 -1
- package/build/query/edit/query-placeholder.js +5 -11
- package/build/query/edit/query-placeholder.js.map +1 -1
- package/build/query/edit/query-toolbar.js +31 -11
- package/build/query/edit/query-toolbar.js.map +1 -1
- package/build/separator/deprecated.js +2 -1
- package/build/separator/deprecated.js.map +1 -1
- package/build/separator/edit.js +29 -4
- package/build/separator/edit.js.map +1 -1
- package/build/separator/index.js +5 -0
- package/build/separator/index.js.map +1 -1
- package/build/separator/save.js +3 -2
- package/build/separator/save.js.map +1 -1
- package/build/template-part/edit/import-controls.js +0 -1
- package/build/template-part/edit/import-controls.js.map +1 -1
- package/build-module/block/edit.js +3 -30
- package/build-module/block/edit.js.map +1 -1
- package/build-module/cover/edit/index.js +4 -2
- package/build-module/cover/edit/index.js.map +1 -1
- package/build-module/cover/edit/inspector-controls.js +6 -4
- package/build-module/cover/edit/inspector-controls.js.map +1 -1
- package/build-module/form/index.js +1 -2
- package/build-module/form/index.js.map +1 -1
- package/build-module/form/view.js +10 -5
- package/build-module/form/view.js.map +1 -1
- package/build-module/list-item/hooks/use-merge.js +2 -2
- package/build-module/list-item/hooks/use-merge.js.map +1 -1
- package/build-module/navigation/edit/deleted-navigation-warning.js +10 -3
- package/build-module/navigation/edit/deleted-navigation-warning.js.map +1 -1
- package/build-module/navigation-link/edit.js +1 -2
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-submenu/edit.js +3 -1
- package/build-module/navigation-submenu/edit.js.map +1 -1
- package/build-module/pattern/recursion-detector.js +0 -1
- package/build-module/pattern/recursion-detector.js.map +1 -1
- package/build-module/query/edit/index.js +1 -1
- package/build-module/query/edit/index.js.map +1 -1
- package/build-module/query/edit/inspector-controls/author-control.js +0 -1
- package/build-module/query/edit/inspector-controls/author-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/parent-control.js +0 -1
- package/build-module/query/edit/inspector-controls/parent-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js +0 -1
- package/build-module/query/edit/inspector-controls/taxonomy-controls.js.map +1 -1
- package/build-module/query/edit/{pattern-selection-modal.js → pattern-selection.js} +53 -36
- package/build-module/query/edit/pattern-selection.js.map +1 -0
- package/build-module/query/edit/query-content.js +5 -8
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-module/query/edit/query-placeholder.js +6 -12
- package/build-module/query/edit/query-placeholder.js.map +1 -1
- package/build-module/query/edit/query-toolbar.js +31 -13
- package/build-module/query/edit/query-toolbar.js.map +1 -1
- package/build-module/separator/deprecated.js +2 -1
- package/build-module/separator/deprecated.js.map +1 -1
- package/build-module/separator/edit.js +32 -7
- package/build-module/separator/edit.js.map +1 -1
- package/build-module/separator/index.js +5 -0
- package/build-module/separator/index.js.map +1 -1
- package/build-module/separator/save.js +3 -2
- package/build-module/separator/save.js.map +1 -1
- package/build-module/template-part/edit/import-controls.js +0 -1
- package/build-module/template-part/edit/import-controls.js.map +1 -1
- package/build-style/button/style-rtl.css +3 -3
- package/build-style/button/style.css +3 -3
- package/build-style/comments/editor-rtl.css +1 -1
- package/build-style/comments/editor.css +1 -1
- package/build-style/comments/style-rtl.css +1 -1
- package/build-style/comments/style.css +1 -1
- package/build-style/comments-pagination/editor-rtl.css +1 -0
- package/build-style/comments-pagination/editor.css +1 -0
- package/build-style/comments-pagination/style-rtl.css +1 -0
- package/build-style/comments-pagination/style.css +1 -0
- package/build-style/common-rtl.css +17 -17
- package/build-style/common.css +17 -17
- package/build-style/editor-rtl.css +72 -41
- package/build-style/editor.css +72 -41
- package/build-style/gallery/style-rtl.css +2 -2
- package/build-style/gallery/style.css +2 -2
- package/build-style/heading/style-rtl.css +11 -11
- package/build-style/heading/style.css +11 -11
- package/build-style/image/style-rtl.css +4 -3
- package/build-style/image/style.css +4 -3
- package/build-style/latest-comments/style-rtl.css +4 -4
- package/build-style/latest-comments/style.css +4 -4
- package/build-style/latest-posts/style-rtl.css +2 -1
- package/build-style/latest-posts/style.css +2 -1
- package/build-style/more/editor-rtl.css +1 -1
- package/build-style/more/editor.css +1 -1
- package/build-style/nextpage/editor-rtl.css +1 -1
- package/build-style/nextpage/editor.css +1 -1
- package/build-style/post-comments-form/style-rtl.css +2 -2
- package/build-style/post-comments-form/style.css +2 -2
- package/build-style/post-featured-image/editor-rtl.css +27 -27
- package/build-style/post-featured-image/editor.css +27 -27
- package/build-style/pullquote/style-rtl.css +1 -0
- package/build-style/pullquote/style.css +1 -0
- package/build-style/query/editor-rtl.css +30 -0
- package/build-style/query/editor.css +30 -0
- package/build-style/read-more/style-rtl.css +2 -2
- package/build-style/read-more/style.css +2 -2
- package/build-style/social-link/editor-rtl.css +2 -2
- package/build-style/social-link/editor.css +2 -2
- package/build-style/social-links/editor-rtl.css +2 -2
- package/build-style/social-links/editor.css +2 -2
- package/build-style/social-links/style-rtl.css +2 -2
- package/build-style/social-links/style.css +2 -2
- package/build-style/style-rtl.css +55 -51
- package/build-style/style.css +55 -51
- package/build-style/text-columns/style-rtl.css +3 -3
- package/build-style/text-columns/style.css +3 -3
- package/build-types/lock-unlock.d.ts +1 -1
- package/build-types/lock-unlock.d.ts.map +1 -1
- package/package.json +35 -34
- package/src/block/edit.js +6 -51
- package/src/comments-pagination/editor.scss +1 -0
- package/src/comments-pagination/style.scss +1 -0
- package/src/cover/edit/index.js +4 -1
- package/src/cover/edit/inspector-controls.js +10 -3
- package/src/cover/index.php +2 -2
- package/src/form/block.json +1 -2
- package/src/form/index.php +1 -20
- package/src/form/view.js +18 -5
- package/src/image/style.scss +4 -3
- package/src/latest-posts/style.scss +2 -1
- package/src/list-item/hooks/use-merge.js +2 -2
- package/src/missing/test/edit.native.js +0 -1
- package/src/navigation/README.md +1 -0
- package/src/navigation/edit/deleted-navigation-warning.js +11 -2
- package/src/navigation/index.php +9 -35
- package/src/navigation-link/edit.js +0 -6
- package/src/navigation-submenu/edit.js +5 -6
- package/src/navigation-submenu/index.php +17 -1
- package/src/pullquote/style.scss +1 -0
- package/src/query/edit/index.js +1 -1
- package/src/query/edit/{pattern-selection-modal.js → pattern-selection.js} +53 -33
- package/src/query/edit/query-content.js +4 -10
- package/src/query/edit/query-placeholder.js +5 -14
- package/src/query/edit/query-toolbar.js +38 -17
- package/src/query/editor.scss +30 -0
- package/src/search/index.php +3 -3
- package/src/separator/block.json +5 -0
- package/src/separator/deprecated.js +1 -0
- package/src/separator/edit.js +28 -3
- package/src/separator/save.js +2 -2
- package/src/separator/test/edit.js +1 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/build/query/edit/pattern-selection-modal.js.map +0 -1
- package/build-module/query/edit/pattern-selection-modal.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["separator","icon","initBlock","edit","metadata","$schema","apiVersion","name","title","category","description","keywords","textdomain","attributes","opacity","type","supports","anchor","align","color","enableContrastChecker","__experimentalSkipSerialization","gradients","background","text","__experimentalDefaultControls","spacing","margin","interactivity","clientNavigation","styles","label","isDefault","editorStyle","style","save","transforms","deprecated","settings","example","customColor","className","init"],"sources":["@wordpress/block-library/src/separator/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { separator as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\nimport deprecated from './deprecated';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\tcustomColor: '#065174',\n\t\t\tclassName: 'is-style-wide',\n\t\t},\n\t},\n\ttransforms,\n\tedit,\n\tsave,\n\tdeprecated,\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,SAAS,IAAIC,IAAI,QAAQ,kBAAkB;;AAEpD;AACA;AACA;AACA,OAAOC,SAAS,MAAM,qBAAqB;AAC3C,OAAOC,IAAI,MAAM,QAAQ;AAAC,MAAAC,QAAA;EAAAC,OAAA;EAAAC,UAAA;EAAAC,IAAA;EAAAC,KAAA;EAAAC,QAAA;EAAAC,WAAA;EAAAC,QAAA;EAAAC,UAAA;EAAAC,UAAA;IAAAC,OAAA;MAAAC,IAAA;MAAA;IAAA;EAAA;
|
|
1
|
+
{"version":3,"names":["separator","icon","initBlock","edit","metadata","$schema","apiVersion","name","title","category","description","keywords","textdomain","attributes","opacity","type","tagName","supports","anchor","align","color","enableContrastChecker","__experimentalSkipSerialization","gradients","background","text","__experimentalDefaultControls","spacing","margin","interactivity","clientNavigation","styles","label","isDefault","editorStyle","style","save","transforms","deprecated","settings","example","customColor","className","init"],"sources":["@wordpress/block-library/src/separator/index.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { separator as icon } from '@wordpress/icons';\n\n/**\n * Internal dependencies\n */\nimport initBlock from '../utils/init-block';\nimport edit from './edit';\nimport metadata from './block.json';\nimport save from './save';\nimport transforms from './transforms';\nimport deprecated from './deprecated';\n\nconst { name } = metadata;\n\nexport { metadata, name };\n\nexport const settings = {\n\ticon,\n\texample: {\n\t\tattributes: {\n\t\t\tcustomColor: '#065174',\n\t\t\tclassName: 'is-style-wide',\n\t\t},\n\t},\n\ttransforms,\n\tedit,\n\tsave,\n\tdeprecated,\n};\n\nexport const init = () => initBlock( { name, metadata, settings } );\n"],"mappings":"AAAA;AACA;AACA;AACA,SAASA,SAAS,IAAIC,IAAI,QAAQ,kBAAkB;;AAEpD;AACA;AACA;AACA,OAAOC,SAAS,MAAM,qBAAqB;AAC3C,OAAOC,IAAI,MAAM,QAAQ;AAAC,MAAAC,QAAA;EAAAC,OAAA;EAAAC,UAAA;EAAAC,IAAA;EAAAC,KAAA;EAAAC,QAAA;EAAAC,WAAA;EAAAC,QAAA;EAAAC,UAAA;EAAAC,UAAA;IAAAC,OAAA;MAAAC,IAAA;MAAA;IAAA;IAAAC,OAAA;MAAAD,IAAA;MAAA;MAAA;IAAA;EAAA;EAAAE,QAAA;IAAAC,MAAA;IAAAC,KAAA;IAAAC,KAAA;MAAAC,qBAAA;MAAAC,+BAAA;MAAAC,SAAA;MAAAC,UAAA;MAAAC,IAAA;MAAAC,6BAAA;QAAAF,UAAA;MAAA;IAAA;IAAAG,OAAA;MAAAC,MAAA;IAAA;IAAAC,aAAA;MAAAC,gBAAA;IAAA;EAAA;EAAAC,MAAA;IAAAxB,IAAA;IAAAyB,KAAA;IAAAC,SAAA;EAAA;IAAA1B,IAAA;IAAAyB,KAAA;EAAA;IAAAzB,IAAA;IAAAyB,KAAA;EAAA;EAAAE,WAAA;EAAAC,KAAA;AAAA;AAE1B,OAAOC,IAAI,MAAM,QAAQ;AACzB,OAAOC,UAAU,MAAM,cAAc;AACrC,OAAOC,UAAU,MAAM,cAAc;AAErC,MAAM;EAAE/B;AAAK,CAAC,GAAGH,QAAQ;AAEzB,SAASA,QAAQ,EAAEG,IAAI;AAEvB,OAAO,MAAMgC,QAAQ,GAAG;EACvBtC,IAAI;EACJuC,OAAO,EAAE;IACR3B,UAAU,EAAE;MACX4B,WAAW,EAAE,SAAS;MACtBC,SAAS,EAAE;IACZ;EACD,CAAC;EACDL,UAAU;EACVlC,IAAI;EACJiC,IAAI;EACJE;AACD,CAAC;AAED,OAAO,MAAMK,IAAI,GAAGA,CAAA,KAAMzC,SAAS,CAAE;EAAEK,IAAI;EAAEH,QAAQ;EAAEmC;AAAS,CAAE,CAAC","ignoreList":[]}
|
|
@@ -14,7 +14,8 @@ export default function separatorSave({
|
|
|
14
14
|
const {
|
|
15
15
|
backgroundColor,
|
|
16
16
|
style,
|
|
17
|
-
opacity
|
|
17
|
+
opacity,
|
|
18
|
+
tagName: Tag
|
|
18
19
|
} = attributes;
|
|
19
20
|
const customColor = style?.color?.background;
|
|
20
21
|
const colorProps = getColorClassesAndStyles(attributes);
|
|
@@ -34,7 +35,7 @@ export default function separatorSave({
|
|
|
34
35
|
backgroundColor: colorProps?.style?.backgroundColor,
|
|
35
36
|
color: colorClass ? undefined : customColor
|
|
36
37
|
};
|
|
37
|
-
return /*#__PURE__*/_jsx(
|
|
38
|
+
return /*#__PURE__*/_jsx(Tag, {
|
|
38
39
|
...useBlockProps.save({
|
|
39
40
|
className,
|
|
40
41
|
style: styles
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["clsx","getColorClassName","useBlockProps","__experimentalGetColorClassesAndStyles","getColorClassesAndStyles","jsx","_jsx","separatorSave","attributes","backgroundColor","style","opacity","customColor","color","background","colorProps","colorClass","className","styles","undefined","save"],"sources":["@wordpress/block-library/src/separator/save.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tgetColorClassName,\n\tuseBlockProps,\n\t__experimentalGetColorClassesAndStyles as getColorClassesAndStyles,\n} from '@wordpress/block-editor';\n\nexport default function separatorSave( { attributes } ) {\n\tconst { backgroundColor, style, opacity } = attributes;\n\tconst customColor = style?.color?.background;\n\tconst colorProps = getColorClassesAndStyles( attributes );\n\t// The hr support changing color using border-color, since border-color\n\t// is not yet supported in the color palette, we use background-color.\n\n\t// The dots styles uses text for the dots, to change those dots color is\n\t// using color, not backgroundColor.\n\tconst colorClass = getColorClassName( 'color', backgroundColor );\n\n\tconst className = clsx(\n\t\t{\n\t\t\t'has-text-color': backgroundColor || customColor,\n\t\t\t[ colorClass ]: colorClass,\n\t\t\t'has-css-opacity': opacity === 'css',\n\t\t\t'has-alpha-channel-opacity': opacity === 'alpha-channel',\n\t\t},\n\t\tcolorProps.className\n\t);\n\n\tconst styles = {\n\t\tbackgroundColor: colorProps?.style?.backgroundColor,\n\t\tcolor: colorClass ? undefined : customColor,\n\t};\n\treturn <
|
|
1
|
+
{"version":3,"names":["clsx","getColorClassName","useBlockProps","__experimentalGetColorClassesAndStyles","getColorClassesAndStyles","jsx","_jsx","separatorSave","attributes","backgroundColor","style","opacity","tagName","Tag","customColor","color","background","colorProps","colorClass","className","styles","undefined","save"],"sources":["@wordpress/block-library/src/separator/save.js"],"sourcesContent":["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport {\n\tgetColorClassName,\n\tuseBlockProps,\n\t__experimentalGetColorClassesAndStyles as getColorClassesAndStyles,\n} from '@wordpress/block-editor';\n\nexport default function separatorSave( { attributes } ) {\n\tconst { backgroundColor, style, opacity, tagName: Tag } = attributes;\n\tconst customColor = style?.color?.background;\n\tconst colorProps = getColorClassesAndStyles( attributes );\n\t// The hr support changing color using border-color, since border-color\n\t// is not yet supported in the color palette, we use background-color.\n\n\t// The dots styles uses text for the dots, to change those dots color is\n\t// using color, not backgroundColor.\n\tconst colorClass = getColorClassName( 'color', backgroundColor );\n\n\tconst className = clsx(\n\t\t{\n\t\t\t'has-text-color': backgroundColor || customColor,\n\t\t\t[ colorClass ]: colorClass,\n\t\t\t'has-css-opacity': opacity === 'css',\n\t\t\t'has-alpha-channel-opacity': opacity === 'alpha-channel',\n\t\t},\n\t\tcolorProps.className\n\t);\n\n\tconst styles = {\n\t\tbackgroundColor: colorProps?.style?.backgroundColor,\n\t\tcolor: colorClass ? undefined : customColor,\n\t};\n\treturn <Tag { ...useBlockProps.save( { className, style: styles } ) } />;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAOA,IAAI,MAAM,MAAM;;AAEvB;AACA;AACA;AACA,SACCC,iBAAiB,EACjBC,aAAa,EACbC,sCAAsC,IAAIC,wBAAwB,QAC5D,yBAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEjC,eAAe,SAASC,aAAaA,CAAE;EAAEC;AAAW,CAAC,EAAG;EACvD,MAAM;IAAEC,eAAe;IAAEC,KAAK;IAAEC,OAAO;IAAEC,OAAO,EAAEC;EAAI,CAAC,GAAGL,UAAU;EACpE,MAAMM,WAAW,GAAGJ,KAAK,EAAEK,KAAK,EAAEC,UAAU;EAC5C,MAAMC,UAAU,GAAGb,wBAAwB,CAAEI,UAAW,CAAC;EACzD;EACA;;EAEA;EACA;EACA,MAAMU,UAAU,GAAGjB,iBAAiB,CAAE,OAAO,EAAEQ,eAAgB,CAAC;EAEhE,MAAMU,SAAS,GAAGnB,IAAI,CACrB;IACC,gBAAgB,EAAES,eAAe,IAAIK,WAAW;IAChD,CAAEI,UAAU,GAAIA,UAAU;IAC1B,iBAAiB,EAAEP,OAAO,KAAK,KAAK;IACpC,2BAA2B,EAAEA,OAAO,KAAK;EAC1C,CAAC,EACDM,UAAU,CAACE,SACZ,CAAC;EAED,MAAMC,MAAM,GAAG;IACdX,eAAe,EAAEQ,UAAU,EAAEP,KAAK,EAAED,eAAe;IACnDM,KAAK,EAAEG,UAAU,GAAGG,SAAS,GAAGP;EACjC,CAAC;EACD,oBAAOR,IAAA,CAACO,GAAG;IAAA,GAAMX,aAAa,CAACoB,IAAI,CAAE;MAAEH,SAAS;MAAET,KAAK,EAAEU;IAAO,CAAE;EAAC,CAAI,CAAC;AACzE","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__","_x","sprintf","useMemo","useState","useDispatch","useSelect","useRegistry","Button","FlexBlock","FlexItem","SelectControl","__experimentalHStack","HStack","__experimentalSpacer","Spacer","store","coreStore","noticesStore","useCreateTemplatePartFromBlocks","transformWidgetToBlock","jsx","_jsx","jsxs","_jsxs","SIDEBARS_QUERY","per_page","_fields","TemplatePartImportControls","area","setAttributes","selectedSidebar","setSelectedSidebar","isBusy","setIsBusy","registry","sidebars","hasResolved","select","getSidebars","hasFinishedResolution","createErrorNotice","createFromBlocks","options","sidebarOptions","filter","widgetArea","id","widgets","length","map","value","label","name","marginBottom","createFromWidgets","event","preventDefault","sidebar","find","getWidgets","resolveSelect","_embed","skippedWidgets","Set","blocks","flatMap","widget","block","add","id_base","size","Array","from","join","type","children","as","onSubmit","onChange","disabled","__next40pxDefaultSize","__nextHasNoMarginBottom","style","marginTop","variant"],"sources":["@wordpress/block-library/src/template-part/edit/import-controls.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __, _x, sprintf } from '@wordpress/i18n';\nimport { useMemo, useState } from '@wordpress/element';\nimport { useDispatch, useSelect, useRegistry } from '@wordpress/data';\nimport {\n\tButton,\n\tFlexBlock,\n\tFlexItem,\n\tSelectControl,\n\t__experimentalHStack as HStack,\n\t__experimentalSpacer as Spacer,\n} from '@wordpress/components';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { store as noticesStore } from '@wordpress/notices';\n\n/**\n * Internal dependencies\n */\nimport { useCreateTemplatePartFromBlocks } from './utils/hooks';\nimport { transformWidgetToBlock } from './utils/transformers';\n\nconst SIDEBARS_QUERY = {\n\tper_page: -1,\n\t_fields: 'id,name,description,status,widgets',\n};\n\nexport function TemplatePartImportControls( { area, setAttributes } ) {\n\tconst [ selectedSidebar, setSelectedSidebar ] = useState( '' );\n\tconst [ isBusy, setIsBusy ] = useState( false );\n\n\tconst registry = useRegistry();\n\tconst { sidebars, hasResolved } = useSelect( ( select ) => {\n\t\tconst { getSidebars, hasFinishedResolution } = select( coreStore );\n\n\t\treturn {\n\t\t\tsidebars: getSidebars( SIDEBARS_QUERY ),\n\t\t\thasResolved: hasFinishedResolution( 'getSidebars', [\n\t\t\t\tSIDEBARS_QUERY,\n\t\t\t] ),\n\t\t};\n\t}, [] );\n\tconst { createErrorNotice } = useDispatch( noticesStore );\n\n\tconst createFromBlocks = useCreateTemplatePartFromBlocks(\n\t\tarea,\n\t\tsetAttributes\n\t);\n\n\tconst options = useMemo( () => {\n\t\tconst sidebarOptions = ( sidebars ?? [] )\n\t\t\t.filter(\n\t\t\t\t( widgetArea ) =>\n\t\t\t\t\twidgetArea.id !== 'wp_inactive_widgets' &&\n\t\t\t\t\twidgetArea.widgets.length > 0\n\t\t\t)\n\t\t\t.map( ( widgetArea ) => {\n\t\t\t\treturn {\n\t\t\t\t\tvalue: widgetArea.id,\n\t\t\t\t\tlabel: widgetArea.name,\n\t\t\t\t};\n\t\t\t} );\n\n\t\tif ( ! sidebarOptions.length ) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn [\n\t\t\t{ value: '', label: __( 'Select widget area' ) },\n\t\t\t...sidebarOptions,\n\t\t];\n\t}, [ sidebars ] );\n\n\t// Render an empty node while data is loading to avoid SlotFill re-positioning bug.\n\t// See: https://github.com/WordPress/gutenberg/issues/15641.\n\tif ( ! hasResolved ) {\n\t\treturn <Spacer marginBottom=\"0\" />;\n\t}\n\n\tif ( hasResolved && ! options.length ) {\n\t\treturn null;\n\t}\n\n\tasync function createFromWidgets( event ) {\n\t\tevent.preventDefault();\n\n\t\tif ( isBusy || ! selectedSidebar ) {\n\t\t\treturn;\n\t\t}\n\n\t\tsetIsBusy( true );\n\n\t\tconst sidebar = options.find(\n\t\t\t( { value } ) => value === selectedSidebar\n\t\t);\n\t\tconst { getWidgets } = registry.resolveSelect( coreStore );\n\n\t\t// The widgets API always returns a successful response.\n\t\tconst widgets = await getWidgets( {\n\t\t\tsidebar: sidebar.value,\n\t\t\t_embed: 'about',\n\t\t} );\n\n\t\tconst skippedWidgets = new Set();\n\t\tconst blocks = widgets.flatMap( ( widget ) => {\n\t\t\tconst block = transformWidgetToBlock( widget );\n\n\t\t\t// Skip the block if we have no matching transformations.\n\t\t\tif ( ! block ) {\n\t\t\t\tskippedWidgets.add( widget.id_base );\n\t\t\t\treturn [];\n\t\t\t}\n\n\t\t\treturn block;\n\t\t} );\n\n\t\tawait createFromBlocks(\n\t\t\tblocks,\n\t\t\t/* translators: %s: name of the widget area */\n\t\t\tsprintf( __( 'Widget area: %s' ), sidebar.label )\n\t\t);\n\n\t\tif ( skippedWidgets.size ) {\n\t\t\tcreateErrorNotice(\n\t\t\t\tsprintf(\n\t\t\t\t\t/* translators: %s: the list of widgets */\n\t\t\t\t\t__( 'Unable to import the following widgets: %s.' ),\n\t\t\t\t\tArray.from( skippedWidgets ).join( ', ' )\n\t\t\t\t),\n\t\t\t\t{\n\t\t\t\t\ttype: 'snackbar',\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\tsetIsBusy( false );\n\t}\n\n\treturn (\n\t\t<Spacer marginBottom=\"4\">\n\t\t\t<HStack as=\"form\" onSubmit={ createFromWidgets }>\n\t\t\t\t<FlexBlock>\n\t\t\t\t\t<SelectControl\n\t\t\t\t\t\tlabel={ __( 'Import widget area' ) }\n\t\t\t\t\t\tvalue={ selectedSidebar }\n\t\t\t\t\t\toptions={ options }\n\t\t\t\t\t\tonChange={ ( value ) => setSelectedSidebar( value ) }\n\t\t\t\t\t\tdisabled={ ! options.length }\n\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t\t/>\n\t\t\t\t</FlexBlock>\n\t\t\t\t<FlexItem\n\t\t\t\t\tstyle={ {\n\t\t\t\t\t\tmarginBottom: '8px',\n\t\t\t\t\t\tmarginTop: 'auto',\n\t\t\t\t\t} }\n\t\t\t\t>\n\t\t\t\t\t<Button\n\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\tisBusy={ isBusy }\n\t\t\t\t\t\taria-disabled={ isBusy || ! selectedSidebar }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ _x( 'Import', 'button label' ) }\n\t\t\t\t\t</Button>\n\t\t\t\t</FlexItem>\n\t\t\t</HStack>\n\t\t</Spacer>\n\t);\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"names":["__","_x","sprintf","useMemo","useState","useDispatch","useSelect","useRegistry","Button","FlexBlock","FlexItem","SelectControl","__experimentalHStack","HStack","__experimentalSpacer","Spacer","store","coreStore","noticesStore","useCreateTemplatePartFromBlocks","transformWidgetToBlock","jsx","_jsx","jsxs","_jsxs","SIDEBARS_QUERY","per_page","_fields","TemplatePartImportControls","area","setAttributes","selectedSidebar","setSelectedSidebar","isBusy","setIsBusy","registry","sidebars","hasResolved","select","getSidebars","hasFinishedResolution","createErrorNotice","createFromBlocks","options","sidebarOptions","filter","widgetArea","id","widgets","length","map","value","label","name","marginBottom","createFromWidgets","event","preventDefault","sidebar","find","getWidgets","resolveSelect","_embed","skippedWidgets","Set","blocks","flatMap","widget","block","add","id_base","size","Array","from","join","type","children","as","onSubmit","onChange","disabled","__next40pxDefaultSize","__nextHasNoMarginBottom","style","marginTop","variant"],"sources":["@wordpress/block-library/src/template-part/edit/import-controls.js"],"sourcesContent":["/**\n * WordPress dependencies\n */\nimport { __, _x, sprintf } from '@wordpress/i18n';\nimport { useMemo, useState } from '@wordpress/element';\nimport { useDispatch, useSelect, useRegistry } from '@wordpress/data';\nimport {\n\tButton,\n\tFlexBlock,\n\tFlexItem,\n\tSelectControl,\n\t__experimentalHStack as HStack,\n\t__experimentalSpacer as Spacer,\n} from '@wordpress/components';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { store as noticesStore } from '@wordpress/notices';\n\n/**\n * Internal dependencies\n */\nimport { useCreateTemplatePartFromBlocks } from './utils/hooks';\nimport { transformWidgetToBlock } from './utils/transformers';\n\nconst SIDEBARS_QUERY = {\n\tper_page: -1,\n\t_fields: 'id,name,description,status,widgets',\n};\n\nexport function TemplatePartImportControls( { area, setAttributes } ) {\n\tconst [ selectedSidebar, setSelectedSidebar ] = useState( '' );\n\tconst [ isBusy, setIsBusy ] = useState( false );\n\n\tconst registry = useRegistry();\n\tconst { sidebars, hasResolved } = useSelect( ( select ) => {\n\t\tconst { getSidebars, hasFinishedResolution } = select( coreStore );\n\n\t\treturn {\n\t\t\tsidebars: getSidebars( SIDEBARS_QUERY ),\n\t\t\thasResolved: hasFinishedResolution( 'getSidebars', [\n\t\t\t\tSIDEBARS_QUERY,\n\t\t\t] ),\n\t\t};\n\t}, [] );\n\tconst { createErrorNotice } = useDispatch( noticesStore );\n\n\tconst createFromBlocks = useCreateTemplatePartFromBlocks(\n\t\tarea,\n\t\tsetAttributes\n\t);\n\n\tconst options = useMemo( () => {\n\t\tconst sidebarOptions = ( sidebars ?? [] )\n\t\t\t.filter(\n\t\t\t\t( widgetArea ) =>\n\t\t\t\t\twidgetArea.id !== 'wp_inactive_widgets' &&\n\t\t\t\t\twidgetArea.widgets.length > 0\n\t\t\t)\n\t\t\t.map( ( widgetArea ) => {\n\t\t\t\treturn {\n\t\t\t\t\tvalue: widgetArea.id,\n\t\t\t\t\tlabel: widgetArea.name,\n\t\t\t\t};\n\t\t\t} );\n\n\t\tif ( ! sidebarOptions.length ) {\n\t\t\treturn [];\n\t\t}\n\n\t\treturn [\n\t\t\t{ value: '', label: __( 'Select widget area' ) },\n\t\t\t...sidebarOptions,\n\t\t];\n\t}, [ sidebars ] );\n\n\t// Render an empty node while data is loading to avoid SlotFill re-positioning bug.\n\t// See: https://github.com/WordPress/gutenberg/issues/15641.\n\tif ( ! hasResolved ) {\n\t\treturn <Spacer marginBottom=\"0\" />;\n\t}\n\n\tif ( hasResolved && ! options.length ) {\n\t\treturn null;\n\t}\n\n\tasync function createFromWidgets( event ) {\n\t\tevent.preventDefault();\n\n\t\tif ( isBusy || ! selectedSidebar ) {\n\t\t\treturn;\n\t\t}\n\n\t\tsetIsBusy( true );\n\n\t\tconst sidebar = options.find(\n\t\t\t( { value } ) => value === selectedSidebar\n\t\t);\n\t\tconst { getWidgets } = registry.resolveSelect( coreStore );\n\n\t\t// The widgets API always returns a successful response.\n\t\tconst widgets = await getWidgets( {\n\t\t\tsidebar: sidebar.value,\n\t\t\t_embed: 'about',\n\t\t} );\n\n\t\tconst skippedWidgets = new Set();\n\t\tconst blocks = widgets.flatMap( ( widget ) => {\n\t\t\tconst block = transformWidgetToBlock( widget );\n\n\t\t\t// Skip the block if we have no matching transformations.\n\t\t\tif ( ! block ) {\n\t\t\t\tskippedWidgets.add( widget.id_base );\n\t\t\t\treturn [];\n\t\t\t}\n\n\t\t\treturn block;\n\t\t} );\n\n\t\tawait createFromBlocks(\n\t\t\tblocks,\n\t\t\t/* translators: %s: name of the widget area */\n\t\t\tsprintf( __( 'Widget area: %s' ), sidebar.label )\n\t\t);\n\n\t\tif ( skippedWidgets.size ) {\n\t\t\tcreateErrorNotice(\n\t\t\t\tsprintf(\n\t\t\t\t\t/* translators: %s: the list of widgets */\n\t\t\t\t\t__( 'Unable to import the following widgets: %s.' ),\n\t\t\t\t\tArray.from( skippedWidgets ).join( ', ' )\n\t\t\t\t),\n\t\t\t\t{\n\t\t\t\t\ttype: 'snackbar',\n\t\t\t\t}\n\t\t\t);\n\t\t}\n\n\t\tsetIsBusy( false );\n\t}\n\n\treturn (\n\t\t<Spacer marginBottom=\"4\">\n\t\t\t<HStack as=\"form\" onSubmit={ createFromWidgets }>\n\t\t\t\t<FlexBlock>\n\t\t\t\t\t<SelectControl\n\t\t\t\t\t\tlabel={ __( 'Import widget area' ) }\n\t\t\t\t\t\tvalue={ selectedSidebar }\n\t\t\t\t\t\toptions={ options }\n\t\t\t\t\t\tonChange={ ( value ) => setSelectedSidebar( value ) }\n\t\t\t\t\t\tdisabled={ ! options.length }\n\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t__nextHasNoMarginBottom\n\t\t\t\t\t/>\n\t\t\t\t</FlexBlock>\n\t\t\t\t<FlexItem\n\t\t\t\t\tstyle={ {\n\t\t\t\t\t\tmarginBottom: '8px',\n\t\t\t\t\t\tmarginTop: 'auto',\n\t\t\t\t\t} }\n\t\t\t\t>\n\t\t\t\t\t<Button\n\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\tvariant=\"primary\"\n\t\t\t\t\t\ttype=\"submit\"\n\t\t\t\t\t\tisBusy={ isBusy }\n\t\t\t\t\t\taria-disabled={ isBusy || ! selectedSidebar }\n\t\t\t\t\t>\n\t\t\t\t\t\t{ _x( 'Import', 'button label' ) }\n\t\t\t\t\t</Button>\n\t\t\t\t</FlexItem>\n\t\t\t</HStack>\n\t\t</Spacer>\n\t);\n}\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -136,13 +136,13 @@
|
|
|
136
136
|
font-size: inherit;
|
|
137
137
|
}
|
|
138
138
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
|
|
139
|
-
width: calc(25% -
|
|
139
|
+
width: calc(25% - var(--wp--style--block-gap, 0.5em) * 0.75);
|
|
140
140
|
}
|
|
141
141
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
|
|
142
|
-
width: calc(50% -
|
|
142
|
+
width: calc(50% - var(--wp--style--block-gap, 0.5em) * 0.5);
|
|
143
143
|
}
|
|
144
144
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
|
|
145
|
-
width: calc(75% -
|
|
145
|
+
width: calc(75% - var(--wp--style--block-gap, 0.5em) * 0.25);
|
|
146
146
|
}
|
|
147
147
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
|
|
148
148
|
width: 100%;
|
|
@@ -137,13 +137,13 @@
|
|
|
137
137
|
font-size: inherit;
|
|
138
138
|
}
|
|
139
139
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-25 {
|
|
140
|
-
width: calc(25% -
|
|
140
|
+
width: calc(25% - var(--wp--style--block-gap, 0.5em) * 0.75);
|
|
141
141
|
}
|
|
142
142
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-50 {
|
|
143
|
-
width: calc(50% -
|
|
143
|
+
width: calc(50% - var(--wp--style--block-gap, 0.5em) * 0.5);
|
|
144
144
|
}
|
|
145
145
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-75 {
|
|
146
|
-
width: calc(75% -
|
|
146
|
+
width: calc(75% - var(--wp--style--block-gap, 0.5em) * 0.25);
|
|
147
147
|
}
|
|
148
148
|
.wp-block-buttons > .wp-block-button.wp-block-button__width-100 {
|
|
149
149
|
width: 100%;
|
|
@@ -116,6 +116,7 @@
|
|
|
116
116
|
margin-top: 0.5em;
|
|
117
117
|
margin-right: 0.5em;
|
|
118
118
|
margin-bottom: 0.5em;
|
|
119
|
+
font-size: inherit;
|
|
119
120
|
}
|
|
120
121
|
.wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
|
|
121
122
|
.wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
|
|
@@ -117,6 +117,7 @@
|
|
|
117
117
|
/*rtl:ignore*/
|
|
118
118
|
margin-right: 0.5em;
|
|
119
119
|
margin-bottom: 0.5em;
|
|
120
|
+
font-size: inherit;
|
|
120
121
|
}
|
|
121
122
|
.wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
|
|
122
123
|
.wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
.wp-block-comments-pagination > .wp-block-comments-pagination-numbers {
|
|
104
104
|
margin-right: 0.5em;
|
|
105
105
|
margin-bottom: 0.5em;
|
|
106
|
+
font-size: inherit;
|
|
106
107
|
}
|
|
107
108
|
.wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
|
|
108
109
|
.wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
|
|
@@ -104,6 +104,7 @@
|
|
|
104
104
|
/*rtl:ignore*/
|
|
105
105
|
margin-right: 0.5em;
|
|
106
106
|
margin-bottom: 0.5em;
|
|
107
|
+
font-size: inherit;
|
|
107
108
|
}
|
|
108
109
|
.wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
|
|
109
110
|
.wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
|
|
@@ -142,25 +142,25 @@
|
|
|
142
142
|
color: #313131;
|
|
143
143
|
}
|
|
144
144
|
:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
|
|
145
|
-
background: linear-gradient(-135deg,
|
|
145
|
+
background: linear-gradient(-135deg, rgb(0, 208, 132) 0%, rgb(6, 147, 227) 100%);
|
|
146
146
|
}
|
|
147
147
|
:root .has-purple-crush-gradient-background {
|
|
148
|
-
background: linear-gradient(-135deg,
|
|
148
|
+
background: linear-gradient(-135deg, rgb(52, 226, 228) 0%, rgb(71, 33, 251) 50%, rgb(171, 29, 254) 100%);
|
|
149
149
|
}
|
|
150
150
|
:root .has-hazy-dawn-gradient-background {
|
|
151
|
-
background: linear-gradient(-135deg,
|
|
151
|
+
background: linear-gradient(-135deg, rgb(250, 172, 168) 0%, rgb(218, 208, 236) 100%);
|
|
152
152
|
}
|
|
153
153
|
:root .has-subdued-olive-gradient-background {
|
|
154
|
-
background: linear-gradient(-135deg,
|
|
154
|
+
background: linear-gradient(-135deg, rgb(250, 250, 225) 0%, rgb(103, 166, 113) 100%);
|
|
155
155
|
}
|
|
156
156
|
:root .has-atomic-cream-gradient-background {
|
|
157
|
-
background: linear-gradient(-135deg,
|
|
157
|
+
background: linear-gradient(-135deg, rgb(253, 215, 154) 0%, rgb(0, 74, 89) 100%);
|
|
158
158
|
}
|
|
159
159
|
:root .has-nightshade-gradient-background {
|
|
160
|
-
background: linear-gradient(-135deg,
|
|
160
|
+
background: linear-gradient(-135deg, rgb(51, 9, 104) 0%, rgb(49, 205, 207) 100%);
|
|
161
161
|
}
|
|
162
162
|
:root .has-midnight-gradient-background {
|
|
163
|
-
background: linear-gradient(-135deg,
|
|
163
|
+
background: linear-gradient(-135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
.has-regular-font-size {
|
|
@@ -258,46 +258,46 @@ html :where(.has-border-color) {
|
|
|
258
258
|
border-style: solid;
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
html :where([style*=
|
|
261
|
+
html :where([style*=border-top-color]) {
|
|
262
262
|
border-top-style: solid;
|
|
263
263
|
}
|
|
264
264
|
|
|
265
|
-
html :where([style*=
|
|
265
|
+
html :where([style*=border-right-color]) {
|
|
266
266
|
border-left-style: solid;
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
html :where([style*=
|
|
269
|
+
html :where([style*=border-bottom-color]) {
|
|
270
270
|
border-bottom-style: solid;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
html :where([style*=
|
|
273
|
+
html :where([style*=border-left-color]) {
|
|
274
274
|
border-right-style: solid;
|
|
275
275
|
}
|
|
276
276
|
|
|
277
|
-
html :where([style*=
|
|
277
|
+
html :where([style*=border-width]) {
|
|
278
278
|
border-style: solid;
|
|
279
279
|
}
|
|
280
280
|
|
|
281
|
-
html :where([style*=
|
|
281
|
+
html :where([style*=border-top-width]) {
|
|
282
282
|
border-top-style: solid;
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
html :where([style*=
|
|
285
|
+
html :where([style*=border-right-width]) {
|
|
286
286
|
border-left-style: solid;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
html :where([style*=
|
|
289
|
+
html :where([style*=border-bottom-width]) {
|
|
290
290
|
border-bottom-style: solid;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
html :where([style*=
|
|
293
|
+
html :where([style*=border-left-width]) {
|
|
294
294
|
border-right-style: solid;
|
|
295
295
|
}
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
298
|
* Provide baseline responsiveness for images.
|
|
299
299
|
*/
|
|
300
|
-
html :where(img[class*=
|
|
300
|
+
html :where(img[class*=wp-image-]) {
|
|
301
301
|
height: auto;
|
|
302
302
|
max-width: 100%;
|
|
303
303
|
}
|
package/build-style/common.css
CHANGED
|
@@ -142,25 +142,25 @@
|
|
|
142
142
|
color: #313131;
|
|
143
143
|
}
|
|
144
144
|
:root .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
|
|
145
|
-
background: linear-gradient(135deg,
|
|
145
|
+
background: linear-gradient(135deg, rgb(0, 208, 132) 0%, rgb(6, 147, 227) 100%);
|
|
146
146
|
}
|
|
147
147
|
:root .has-purple-crush-gradient-background {
|
|
148
|
-
background: linear-gradient(135deg,
|
|
148
|
+
background: linear-gradient(135deg, rgb(52, 226, 228) 0%, rgb(71, 33, 251) 50%, rgb(171, 29, 254) 100%);
|
|
149
149
|
}
|
|
150
150
|
:root .has-hazy-dawn-gradient-background {
|
|
151
|
-
background: linear-gradient(135deg,
|
|
151
|
+
background: linear-gradient(135deg, rgb(250, 172, 168) 0%, rgb(218, 208, 236) 100%);
|
|
152
152
|
}
|
|
153
153
|
:root .has-subdued-olive-gradient-background {
|
|
154
|
-
background: linear-gradient(135deg,
|
|
154
|
+
background: linear-gradient(135deg, rgb(250, 250, 225) 0%, rgb(103, 166, 113) 100%);
|
|
155
155
|
}
|
|
156
156
|
:root .has-atomic-cream-gradient-background {
|
|
157
|
-
background: linear-gradient(135deg,
|
|
157
|
+
background: linear-gradient(135deg, rgb(253, 215, 154) 0%, rgb(0, 74, 89) 100%);
|
|
158
158
|
}
|
|
159
159
|
:root .has-nightshade-gradient-background {
|
|
160
|
-
background: linear-gradient(135deg,
|
|
160
|
+
background: linear-gradient(135deg, rgb(51, 9, 104) 0%, rgb(49, 205, 207) 100%);
|
|
161
161
|
}
|
|
162
162
|
:root .has-midnight-gradient-background {
|
|
163
|
-
background: linear-gradient(135deg,
|
|
163
|
+
background: linear-gradient(135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
.has-regular-font-size {
|
|
@@ -260,46 +260,46 @@ html :where(.has-border-color) {
|
|
|
260
260
|
border-style: solid;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
html :where([style*=
|
|
263
|
+
html :where([style*=border-top-color]) {
|
|
264
264
|
border-top-style: solid;
|
|
265
265
|
}
|
|
266
266
|
|
|
267
|
-
html :where([style*=
|
|
267
|
+
html :where([style*=border-right-color]) {
|
|
268
268
|
border-right-style: solid;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
-
html :where([style*=
|
|
271
|
+
html :where([style*=border-bottom-color]) {
|
|
272
272
|
border-bottom-style: solid;
|
|
273
273
|
}
|
|
274
274
|
|
|
275
|
-
html :where([style*=
|
|
275
|
+
html :where([style*=border-left-color]) {
|
|
276
276
|
border-left-style: solid;
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
html :where([style*=
|
|
279
|
+
html :where([style*=border-width]) {
|
|
280
280
|
border-style: solid;
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
-
html :where([style*=
|
|
283
|
+
html :where([style*=border-top-width]) {
|
|
284
284
|
border-top-style: solid;
|
|
285
285
|
}
|
|
286
286
|
|
|
287
|
-
html :where([style*=
|
|
287
|
+
html :where([style*=border-right-width]) {
|
|
288
288
|
border-right-style: solid;
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
-
html :where([style*=
|
|
291
|
+
html :where([style*=border-bottom-width]) {
|
|
292
292
|
border-bottom-style: solid;
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
-
html :where([style*=
|
|
295
|
+
html :where([style*=border-left-width]) {
|
|
296
296
|
border-left-style: solid;
|
|
297
297
|
}
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
300
|
* Provide baseline responsiveness for images.
|
|
301
301
|
*/
|
|
302
|
-
html :where(img[class*=
|
|
302
|
+
html :where(img[class*=wp-image-]) {
|
|
303
303
|
height: auto;
|
|
304
304
|
max-width: 100%;
|
|
305
305
|
}
|
|
@@ -349,7 +349,7 @@ html :where(.wp-block-column) {
|
|
|
349
349
|
padding: calc(0.667em + 2px);
|
|
350
350
|
}
|
|
351
351
|
|
|
352
|
-
:where(.wp-block-post-comments input[type=
|
|
352
|
+
:where(.wp-block-post-comments input[type=submit], .wp-block-comments__legacy-placeholder input[type=submit]) {
|
|
353
353
|
border: none;
|
|
354
354
|
}
|
|
355
355
|
|
|
@@ -391,6 +391,7 @@ html :where(.wp-block-column) {
|
|
|
391
391
|
margin-top: 0.5em;
|
|
392
392
|
margin-right: 0.5em;
|
|
393
393
|
margin-bottom: 0.5em;
|
|
394
|
+
font-size: inherit;
|
|
394
395
|
}
|
|
395
396
|
.wp-block-comments-pagination > .wp-block-comments-pagination-next:last-child,
|
|
396
397
|
.wp-block-comments-pagination > .wp-block-comments-pagination-previous:last-child,
|
|
@@ -1450,7 +1451,7 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1450
1451
|
.wp-block-more::before {
|
|
1451
1452
|
content: "";
|
|
1452
1453
|
position: absolute;
|
|
1453
|
-
top:
|
|
1454
|
+
top: 50%;
|
|
1454
1455
|
right: 0;
|
|
1455
1456
|
left: 0;
|
|
1456
1457
|
border-top: 3px dashed #ccc;
|
|
@@ -2109,7 +2110,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2109
2110
|
.wp-block-nextpage::before {
|
|
2110
2111
|
content: "";
|
|
2111
2112
|
position: absolute;
|
|
2112
|
-
top:
|
|
2113
|
+
top: 50%;
|
|
2113
2114
|
right: 0;
|
|
2114
2115
|
left: 0;
|
|
2115
2116
|
border-top: 3px dashed #ccc;
|
|
@@ -2412,8 +2413,8 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2412
2413
|
}
|
|
2413
2414
|
|
|
2414
2415
|
:root :where(.wp-block-social-links.is-style-pill-shape .wp-social-link button) {
|
|
2415
|
-
padding-right:
|
|
2416
|
-
padding-left:
|
|
2416
|
+
padding-right: 0.6666666667em;
|
|
2417
|
+
padding-left: 0.6666666667em;
|
|
2417
2418
|
}
|
|
2418
2419
|
|
|
2419
2420
|
:root :where(.wp-block-social-links.is-style-logos-only .wp-social-link button) {
|
|
@@ -2443,8 +2444,8 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2443
2444
|
}
|
|
2444
2445
|
|
|
2445
2446
|
:root :where(.wp-block-social-links.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link) {
|
|
2446
|
-
padding-right:
|
|
2447
|
-
padding-left:
|
|
2447
|
+
padding-right: 0.6666666667em;
|
|
2448
|
+
padding-left: 0.6666666667em;
|
|
2448
2449
|
}
|
|
2449
2450
|
|
|
2450
2451
|
.wp-block-social-links__social-placeholder {
|
|
@@ -2774,6 +2775,10 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2774
2775
|
z-index: 2;
|
|
2775
2776
|
}
|
|
2776
2777
|
|
|
2778
|
+
.block-library-query-toolspanel__design .block-library-query-pattern__selection-content {
|
|
2779
|
+
margin-top: 8px;
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2777
2782
|
@media (min-width: 600px) {
|
|
2778
2783
|
.wp-block-query__enhanced-pagination-modal {
|
|
2779
2784
|
max-width: 480px;
|
|
@@ -2784,6 +2789,32 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2784
2789
|
margin: 0;
|
|
2785
2790
|
}
|
|
2786
2791
|
|
|
2792
|
+
.block-editor-block-settings-menu__popover.is-expanded {
|
|
2793
|
+
overflow-y: scroll;
|
|
2794
|
+
}
|
|
2795
|
+
.block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content {
|
|
2796
|
+
height: 100%;
|
|
2797
|
+
}
|
|
2798
|
+
.block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
|
|
2799
|
+
display: grid;
|
|
2800
|
+
grid-template-columns: 1fr;
|
|
2801
|
+
grid-gap: 12px;
|
|
2802
|
+
min-width: 280px;
|
|
2803
|
+
}
|
|
2804
|
+
@media (min-width: 600px) {
|
|
2805
|
+
.block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
|
|
2806
|
+
grid-template-columns: 1fr 1fr;
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
@media (min-width: 600px) {
|
|
2810
|
+
.block-editor-block-settings-menu__popover .block-editor-block-patterns-list {
|
|
2811
|
+
min-width: 480px;
|
|
2812
|
+
}
|
|
2813
|
+
}
|
|
2814
|
+
.block-editor-block-settings-menu__popover .block-editor-block-patterns-list__list-item {
|
|
2815
|
+
margin-bottom: 0;
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2787
2818
|
.wp-block[data-align=center] > .wp-block-query-pagination {
|
|
2788
2819
|
justify-content: center;
|
|
2789
2820
|
}
|
|
@@ -2847,49 +2878,49 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2847
2878
|
.wp-block-post-featured-image img:where(.has-border-color) {
|
|
2848
2879
|
border-style: solid;
|
|
2849
2880
|
}
|
|
2850
|
-
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=
|
|
2851
|
-
.wp-block-post-featured-image .components-placeholder:where([style*=
|
|
2852
|
-
.wp-block-post-featured-image img:where([style*=
|
|
2881
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-color]),
|
|
2882
|
+
.wp-block-post-featured-image .components-placeholder:where([style*=border-top-color]),
|
|
2883
|
+
.wp-block-post-featured-image img:where([style*=border-top-color]) {
|
|
2853
2884
|
border-top-style: solid;
|
|
2854
2885
|
}
|
|
2855
|
-
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=
|
|
2856
|
-
.wp-block-post-featured-image .components-placeholder:where([style*=
|
|
2857
|
-
.wp-block-post-featured-image img:where([style*=
|
|
2886
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-color]),
|
|
2887
|
+
.wp-block-post-featured-image .components-placeholder:where([style*=border-right-color]),
|
|
2888
|
+
.wp-block-post-featured-image img:where([style*=border-right-color]) {
|
|
2858
2889
|
border-left-style: solid;
|
|
2859
2890
|
}
|
|
2860
|
-
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=
|
|
2861
|
-
.wp-block-post-featured-image .components-placeholder:where([style*=
|
|
2862
|
-
.wp-block-post-featured-image img:where([style*=
|
|
2891
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-color]),
|
|
2892
|
+
.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-color]),
|
|
2893
|
+
.wp-block-post-featured-image img:where([style*=border-bottom-color]) {
|
|
2863
2894
|
border-bottom-style: solid;
|
|
2864
2895
|
}
|
|
2865
|
-
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=
|
|
2866
|
-
.wp-block-post-featured-image .components-placeholder:where([style*=
|
|
2867
|
-
.wp-block-post-featured-image img:where([style*=
|
|
2896
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-color]),
|
|
2897
|
+
.wp-block-post-featured-image .components-placeholder:where([style*=border-left-color]),
|
|
2898
|
+
.wp-block-post-featured-image img:where([style*=border-left-color]) {
|
|
2868
2899
|
border-right-style: solid;
|
|
2869
2900
|
}
|
|
2870
|
-
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=
|
|
2871
|
-
.wp-block-post-featured-image .components-placeholder:where([style*=
|
|
2872
|
-
.wp-block-post-featured-image img:where([style*=
|
|
2901
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-width]),
|
|
2902
|
+
.wp-block-post-featured-image .components-placeholder:where([style*=border-width]),
|
|
2903
|
+
.wp-block-post-featured-image img:where([style*=border-width]) {
|
|
2873
2904
|
border-style: solid;
|
|
2874
2905
|
}
|
|
2875
|
-
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=
|
|
2876
|
-
.wp-block-post-featured-image .components-placeholder:where([style*=
|
|
2877
|
-
.wp-block-post-featured-image img:where([style*=
|
|
2906
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-top-width]),
|
|
2907
|
+
.wp-block-post-featured-image .components-placeholder:where([style*=border-top-width]),
|
|
2908
|
+
.wp-block-post-featured-image img:where([style*=border-top-width]) {
|
|
2878
2909
|
border-top-style: solid;
|
|
2879
2910
|
}
|
|
2880
|
-
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=
|
|
2881
|
-
.wp-block-post-featured-image .components-placeholder:where([style*=
|
|
2882
|
-
.wp-block-post-featured-image img:where([style*=
|
|
2911
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-right-width]),
|
|
2912
|
+
.wp-block-post-featured-image .components-placeholder:where([style*=border-right-width]),
|
|
2913
|
+
.wp-block-post-featured-image img:where([style*=border-right-width]) {
|
|
2883
2914
|
border-left-style: solid;
|
|
2884
2915
|
}
|
|
2885
|
-
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=
|
|
2886
|
-
.wp-block-post-featured-image .components-placeholder:where([style*=
|
|
2887
|
-
.wp-block-post-featured-image img:where([style*=
|
|
2916
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-bottom-width]),
|
|
2917
|
+
.wp-block-post-featured-image .components-placeholder:where([style*=border-bottom-width]),
|
|
2918
|
+
.wp-block-post-featured-image img:where([style*=border-bottom-width]) {
|
|
2888
2919
|
border-bottom-style: solid;
|
|
2889
2920
|
}
|
|
2890
|
-
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=
|
|
2891
|
-
.wp-block-post-featured-image .components-placeholder:where([style*=
|
|
2892
|
-
.wp-block-post-featured-image img:where([style*=
|
|
2921
|
+
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder:where([style*=border-left-width]),
|
|
2922
|
+
.wp-block-post-featured-image .components-placeholder:where([style*=border-left-width]),
|
|
2923
|
+
.wp-block-post-featured-image img:where([style*=border-left-width]) {
|
|
2893
2924
|
border-right-style: solid;
|
|
2894
2925
|
}
|
|
2895
2926
|
.wp-block-post-featured-image[style*=height] .components-placeholder {
|
|
@@ -2960,25 +2991,25 @@ div[data-type="core/post-featured-image"] img {
|
|
|
2960
2991
|
color: #313131;
|
|
2961
2992
|
}
|
|
2962
2993
|
:root .editor-styles-wrapper .has-vivid-green-cyan-to-vivid-cyan-blue-gradient-background {
|
|
2963
|
-
background: linear-gradient(-135deg,
|
|
2994
|
+
background: linear-gradient(-135deg, rgb(0, 208, 132) 0%, rgb(6, 147, 227) 100%);
|
|
2964
2995
|
}
|
|
2965
2996
|
:root .editor-styles-wrapper .has-purple-crush-gradient-background {
|
|
2966
|
-
background: linear-gradient(-135deg,
|
|
2997
|
+
background: linear-gradient(-135deg, rgb(52, 226, 228) 0%, rgb(71, 33, 251) 50%, rgb(171, 29, 254) 100%);
|
|
2967
2998
|
}
|
|
2968
2999
|
:root .editor-styles-wrapper .has-hazy-dawn-gradient-background {
|
|
2969
|
-
background: linear-gradient(-135deg,
|
|
3000
|
+
background: linear-gradient(-135deg, rgb(250, 172, 168) 0%, rgb(218, 208, 236) 100%);
|
|
2970
3001
|
}
|
|
2971
3002
|
:root .editor-styles-wrapper .has-subdued-olive-gradient-background {
|
|
2972
|
-
background: linear-gradient(-135deg,
|
|
3003
|
+
background: linear-gradient(-135deg, rgb(250, 250, 225) 0%, rgb(103, 166, 113) 100%);
|
|
2973
3004
|
}
|
|
2974
3005
|
:root .editor-styles-wrapper .has-atomic-cream-gradient-background {
|
|
2975
|
-
background: linear-gradient(-135deg,
|
|
3006
|
+
background: linear-gradient(-135deg, rgb(253, 215, 154) 0%, rgb(0, 74, 89) 100%);
|
|
2976
3007
|
}
|
|
2977
3008
|
:root .editor-styles-wrapper .has-nightshade-gradient-background {
|
|
2978
|
-
background: linear-gradient(-135deg,
|
|
3009
|
+
background: linear-gradient(-135deg, rgb(51, 9, 104) 0%, rgb(49, 205, 207) 100%);
|
|
2979
3010
|
}
|
|
2980
3011
|
:root .editor-styles-wrapper .has-midnight-gradient-background {
|
|
2981
|
-
background: linear-gradient(-135deg,
|
|
3012
|
+
background: linear-gradient(-135deg, rgb(2, 3, 129) 0%, rgb(40, 116, 252) 100%);
|
|
2982
3013
|
}
|
|
2983
3014
|
|
|
2984
3015
|
:where(.editor-styles-wrapper) .has-regular-font-size {
|