@wordpress/edit-site 6.40.2-next.v.202602271551.0 → 6.40.2
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/components/page-patterns/index.cjs +2 -1
- package/build/components/page-patterns/index.cjs.map +2 -2
- package/build/components/page-patterns/use-pattern-settings.cjs +14 -2
- package/build/components/page-patterns/use-pattern-settings.cjs.map +3 -3
- package/build/components/page-templates/index-legacy.cjs +1 -0
- package/build/components/page-templates/index-legacy.cjs.map +2 -2
- package/build/components/page-templates/index.cjs +1 -0
- package/build/components/page-templates/index.cjs.map +2 -2
- package/build/components/page-templates/view-utils.cjs +3 -2
- package/build/components/page-templates/view-utils.cjs.map +2 -2
- package/build/components/post-list/index.cjs +1 -0
- package/build/components/post-list/index.cjs.map +2 -2
- package/build/components/post-list/view-utils.cjs +14 -2
- package/build/components/post-list/view-utils.cjs.map +2 -2
- package/build/components/sidebar-global-styles/index.cjs +1 -0
- package/build/components/sidebar-global-styles/index.cjs.map +2 -2
- package/build/components/site-editor-routes/stylebook.cjs +14 -2
- package/build/components/site-editor-routes/stylebook.cjs.map +2 -2
- package/build/index.cjs +3 -1
- package/build/index.cjs.map +2 -2
- package/build-module/components/page-patterns/index.mjs +2 -1
- package/build-module/components/page-patterns/index.mjs.map +2 -2
- package/build-module/components/page-patterns/use-pattern-settings.mjs +14 -2
- package/build-module/components/page-patterns/use-pattern-settings.mjs.map +2 -2
- package/build-module/components/page-templates/index-legacy.mjs +1 -0
- package/build-module/components/page-templates/index-legacy.mjs.map +2 -2
- package/build-module/components/page-templates/index.mjs +1 -0
- package/build-module/components/page-templates/index.mjs.map +2 -2
- package/build-module/components/page-templates/view-utils.mjs +3 -2
- package/build-module/components/page-templates/view-utils.mjs.map +2 -2
- package/build-module/components/post-list/index.mjs +1 -0
- package/build-module/components/post-list/index.mjs.map +2 -2
- package/build-module/components/post-list/view-utils.mjs +14 -2
- package/build-module/components/post-list/view-utils.mjs.map +2 -2
- package/build-module/components/sidebar-global-styles/index.mjs +1 -0
- package/build-module/components/sidebar-global-styles/index.mjs.map +2 -2
- package/build-module/components/site-editor-routes/stylebook.mjs +14 -2
- package/build-module/components/site-editor-routes/stylebook.mjs.map +2 -2
- package/build-module/index.mjs +3 -1
- package/build-module/index.mjs.map +2 -2
- package/build-style/style-rtl.css +85 -110
- package/build-style/style.css +85 -110
- package/package.json +46 -46
- package/src/components/page-patterns/index.js +2 -1
- package/src/components/page-patterns/use-pattern-settings.js +16 -2
- package/src/components/page-templates/index-legacy.js +1 -0
- package/src/components/page-templates/index.js +1 -0
- package/src/components/page-templates/view-utils.js +3 -2
- package/src/components/post-list/index.js +1 -0
- package/src/components/post-list/view-utils.js +14 -2
- package/src/components/sidebar-global-styles/index.js +1 -0
- package/src/components/site-editor-routes/stylebook.js +8 -2
- package/src/index.js +2 -0
|
@@ -24,10 +24,22 @@ var stylebookRoute = {
|
|
|
24
24
|
) : /* @__PURE__ */ jsx(SidebarNavigationScreenUnsupported, {});
|
|
25
25
|
},
|
|
26
26
|
preview({ siteData }) {
|
|
27
|
-
return isClassicThemeWithStyleBookSupport(siteData) ? /* @__PURE__ */ jsx(
|
|
27
|
+
return isClassicThemeWithStyleBookSupport(siteData) ? /* @__PURE__ */ jsx(
|
|
28
|
+
StyleBookPreview,
|
|
29
|
+
{
|
|
30
|
+
isStatic: true,
|
|
31
|
+
settings: siteData.editorSettings
|
|
32
|
+
}
|
|
33
|
+
) : void 0;
|
|
28
34
|
},
|
|
29
35
|
mobile({ siteData }) {
|
|
30
|
-
return isClassicThemeWithStyleBookSupport(siteData) ? /* @__PURE__ */ jsx(
|
|
36
|
+
return isClassicThemeWithStyleBookSupport(siteData) ? /* @__PURE__ */ jsx(
|
|
37
|
+
StyleBookPreview,
|
|
38
|
+
{
|
|
39
|
+
isStatic: true,
|
|
40
|
+
settings: siteData.editorSettings
|
|
41
|
+
}
|
|
42
|
+
) : void 0;
|
|
31
43
|
}
|
|
32
44
|
}
|
|
33
45
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/components/site-editor-routes/stylebook.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { privateApis as editorPrivateApis } from '@wordpress/editor';\n\n/**\n * Internal dependencies\n */\nimport SidebarNavigationScreen from '../sidebar-navigation-screen';\nimport SidebarNavigationScreenUnsupported from '../sidebar-navigation-screen-unsupported';\nimport { unlock } from '../../lock-unlock';\nimport { isClassicThemeWithStyleBookSupport } from './utils';\n\nconst { StyleBookPreview } = unlock( editorPrivateApis );\n\nexport const stylebookRoute = {\n\tname: 'stylebook',\n\tpath: '/stylebook',\n\tareas: {\n\t\tsidebar( { siteData } ) {\n\t\t\treturn isClassicThemeWithStyleBookSupport( siteData ) ? (\n\t\t\t\t<SidebarNavigationScreen\n\t\t\t\t\ttitle={ __( 'Styles' ) }\n\t\t\t\t\tbackPath=\"/\"\n\t\t\t\t\tdescription={ __(\n\t\t\t\t\t\t`Preview your website's visual identity: colors, typography, and blocks.`\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t) : (\n\t\t\t\t<SidebarNavigationScreenUnsupported />\n\t\t\t);\n\t\t},\n\t\tpreview( { siteData } ) {\n\t\t\treturn isClassicThemeWithStyleBookSupport( siteData ) ? (\n\t\t\t\t<StyleBookPreview
|
|
5
|
-
"mappings": ";AAGA,SAAS,UAAU;AACnB,SAAS,eAAe,yBAAyB;AAKjD,OAAO,6BAA6B;AACpC,OAAO,wCAAwC;AAC/C,SAAS,cAAc;AACvB,SAAS,0CAA0C;AAU/C;AARJ,IAAM,EAAE,iBAAiB,IAAI,OAAQ,iBAAkB;AAEhD,IAAM,iBAAiB;AAAA,EAC7B,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,IACN,QAAS,EAAE,SAAS,GAAI;AACvB,aAAO,mCAAoC,QAAS,IACnD;AAAA,QAAC;AAAA;AAAA,UACA,OAAQ,GAAI,QAAS;AAAA,UACrB,UAAS;AAAA,UACT,aAAc;AAAA,YACb;AAAA,UACD;AAAA;AAAA,MACD,IAEA,oBAAC,sCAAmC;AAAA,IAEtC;AAAA,IACA,QAAS,EAAE,SAAS,GAAI;AACvB,aAAO,mCAAoC,QAAS,IACnD,
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { __ } from '@wordpress/i18n';\nimport { privateApis as editorPrivateApis } from '@wordpress/editor';\n\n/**\n * Internal dependencies\n */\nimport SidebarNavigationScreen from '../sidebar-navigation-screen';\nimport SidebarNavigationScreenUnsupported from '../sidebar-navigation-screen-unsupported';\nimport { unlock } from '../../lock-unlock';\nimport { isClassicThemeWithStyleBookSupport } from './utils';\n\nconst { StyleBookPreview } = unlock( editorPrivateApis );\n\nexport const stylebookRoute = {\n\tname: 'stylebook',\n\tpath: '/stylebook',\n\tareas: {\n\t\tsidebar( { siteData } ) {\n\t\t\treturn isClassicThemeWithStyleBookSupport( siteData ) ? (\n\t\t\t\t<SidebarNavigationScreen\n\t\t\t\t\ttitle={ __( 'Styles' ) }\n\t\t\t\t\tbackPath=\"/\"\n\t\t\t\t\tdescription={ __(\n\t\t\t\t\t\t`Preview your website's visual identity: colors, typography, and blocks.`\n\t\t\t\t\t) }\n\t\t\t\t/>\n\t\t\t) : (\n\t\t\t\t<SidebarNavigationScreenUnsupported />\n\t\t\t);\n\t\t},\n\t\tpreview( { siteData } ) {\n\t\t\treturn isClassicThemeWithStyleBookSupport( siteData ) ? (\n\t\t\t\t<StyleBookPreview\n\t\t\t\t\tisStatic\n\t\t\t\t\tsettings={ siteData.editorSettings }\n\t\t\t\t/>\n\t\t\t) : undefined;\n\t\t},\n\t\tmobile( { siteData } ) {\n\t\t\treturn isClassicThemeWithStyleBookSupport( siteData ) ? (\n\t\t\t\t<StyleBookPreview\n\t\t\t\t\tisStatic\n\t\t\t\t\tsettings={ siteData.editorSettings }\n\t\t\t\t/>\n\t\t\t) : undefined;\n\t\t},\n\t},\n};\n"],
|
|
5
|
+
"mappings": ";AAGA,SAAS,UAAU;AACnB,SAAS,eAAe,yBAAyB;AAKjD,OAAO,6BAA6B;AACpC,OAAO,wCAAwC;AAC/C,SAAS,cAAc;AACvB,SAAS,0CAA0C;AAU/C;AARJ,IAAM,EAAE,iBAAiB,IAAI,OAAQ,iBAAkB;AAEhD,IAAM,iBAAiB;AAAA,EAC7B,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,IACN,QAAS,EAAE,SAAS,GAAI;AACvB,aAAO,mCAAoC,QAAS,IACnD;AAAA,QAAC;AAAA;AAAA,UACA,OAAQ,GAAI,QAAS;AAAA,UACrB,UAAS;AAAA,UACT,aAAc;AAAA,YACb;AAAA,UACD;AAAA;AAAA,MACD,IAEA,oBAAC,sCAAmC;AAAA,IAEtC;AAAA,IACA,QAAS,EAAE,SAAS,GAAI;AACvB,aAAO,mCAAoC,QAAS,IACnD;AAAA,QAAC;AAAA;AAAA,UACA,UAAQ;AAAA,UACR,UAAW,SAAS;AAAA;AAAA,MACrB,IACG;AAAA,IACL;AAAA,IACA,OAAQ,EAAE,SAAS,GAAI;AACtB,aAAO,mCAAoC,QAAS,IACnD;AAAA,QAAC;AAAA;AAAA,UACA,UAAQ;AAAA,UACR,UAAW,SAAS;AAAA;AAAA,MACrB,IACG;AAAA,IACL;AAAA,EACD;AACD;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/build-module/index.mjs
CHANGED
|
@@ -57,7 +57,9 @@ function initializeEditor(id, settings) {
|
|
|
57
57
|
openPanels: ["post-status"],
|
|
58
58
|
showBlockBreadcrumbs: true,
|
|
59
59
|
showListViewByDefault: false,
|
|
60
|
-
enableChoosePatternModal: true
|
|
60
|
+
enableChoosePatternModal: true,
|
|
61
|
+
showCollaborationCursor: false,
|
|
62
|
+
showCollaborationNotifications: true
|
|
61
63
|
});
|
|
62
64
|
if (window.__clientSideMediaProcessing) {
|
|
63
65
|
dispatch(preferencesStore).setDefaults("core/media", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/index.js"],
|
|
4
|
-
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { store as blocksStore } from '@wordpress/blocks';\nimport {\n\tregisterCoreBlocks,\n\t__experimentalGetCoreBlocks,\n\t__experimentalRegisterExperimentalCoreBlocks,\n} from '@wordpress/block-library';\nimport { dispatch } from '@wordpress/data';\nimport deprecated from '@wordpress/deprecated';\nimport { createRoot, StrictMode } from '@wordpress/element';\nimport { privateApis as editorPrivateApis } from '@wordpress/editor';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport {\n\tregisterLegacyWidgetBlock,\n\tregisterWidgetGroupBlock,\n} from '@wordpress/widgets';\n\n/**\n * Internal dependencies\n */\nimport { store as editSiteStore } from './store';\nimport { unlock } from './lock-unlock';\nimport App from './components/app';\n\nconst { registerCoreBlockBindingsSources } = unlock( editorPrivateApis );\n\n/**\n * Initializes the site editor screen.\n *\n * @param {string} id ID of the root element to render the screen in.\n * @param {Object} settings Editor settings.\n */\nexport function initializeEditor( id, settings ) {\n\tconst target = document.getElementById( id );\n\tconst root = createRoot( target );\n\n\tdispatch( blocksStore ).reapplyBlockTypeFilters();\n\tconst coreBlocks = __experimentalGetCoreBlocks().filter(\n\t\t( { name } ) => name !== 'core/freeform'\n\t);\n\tregisterCoreBlocks( coreBlocks );\n\tregisterCoreBlockBindingsSources();\n\tdispatch( blocksStore ).setFreeformFallbackBlockName( 'core/html' );\n\tregisterLegacyWidgetBlock( { inserter: false } );\n\tregisterWidgetGroupBlock( { inserter: false } );\n\tif ( globalThis.IS_GUTENBERG_PLUGIN ) {\n\t\t__experimentalRegisterExperimentalCoreBlocks( {\n\t\t\tenableFSEBlocks: true,\n\t\t} );\n\t}\n\n\t// We dispatch actions and update the store synchronously before rendering\n\t// so that we won't trigger unnecessary re-renders with useEffect.\n\tdispatch( preferencesStore ).setDefaults( 'core/edit-site', {\n\t\twelcomeGuide: true,\n\t\twelcomeGuideStyles: true,\n\t\twelcomeGuidePage: true,\n\t\twelcomeGuideTemplate: true,\n\t} );\n\n\tdispatch( preferencesStore ).setDefaults( 'core', {\n\t\tallowRightClickOverrides: true,\n\t\tdistractionFree: false,\n\t\teditorMode: 'visual',\n\t\teditorTool: 'edit',\n\t\tfixedToolbar: false,\n\t\tfocusMode: false,\n\t\tinactivePanels: [],\n\t\tkeepCaretInsideBlock: false,\n\t\topenPanels: [ 'post-status' ],\n\t\tshowBlockBreadcrumbs: true,\n\t\tshowListViewByDefault: false,\n\t\tenableChoosePatternModal: true,\n\t} );\n\n\tif ( window.__clientSideMediaProcessing ) {\n\t\tdispatch( preferencesStore ).setDefaults( 'core/media', {\n\t\t\trequireApproval: true,\n\t\t\toptimizeOnUpload: true,\n\t\t} );\n\t}\n\n\tdispatch( editSiteStore ).updateSettings( settings );\n\n\t// Prevent the default browser action for files dropped outside of dropzones.\n\twindow.addEventListener( 'dragover', ( e ) => e.preventDefault(), false );\n\twindow.addEventListener( 'drop', ( e ) => e.preventDefault(), false );\n\n\troot.render(\n\t\t<StrictMode>\n\t\t\t<App />\n\t\t</StrictMode>\n\t);\n\n\treturn root;\n}\n\nexport function reinitializeEditor() {\n\tdeprecated( 'wp.editSite.reinitializeEditor', {\n\t\tsince: '6.2',\n\t\tversion: '6.3',\n\t} );\n}\n\nexport { default as PluginTemplateSettingPanel } from './components/plugin-template-setting-panel';\nexport { store } from './store';\nexport * from './deprecated';\n"],
|
|
5
|
-
"mappings": ";AAGA,SAAS,SAAS,mBAAmB;AACrC;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,SAAS,gBAAgB;AACzB,OAAO,gBAAgB;AACvB,SAAS,YAAY,kBAAkB;AACvC,SAAS,eAAe,yBAAyB;AACjD,SAAS,SAAS,wBAAwB;AAC1C;AAAA,EACC;AAAA,EACA;AAAA,OACM;AAKP,SAAS,SAAS,qBAAqB;AACvC,SAAS,cAAc;AACvB,OAAO,SAAS;
|
|
4
|
+
"sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { store as blocksStore } from '@wordpress/blocks';\nimport {\n\tregisterCoreBlocks,\n\t__experimentalGetCoreBlocks,\n\t__experimentalRegisterExperimentalCoreBlocks,\n} from '@wordpress/block-library';\nimport { dispatch } from '@wordpress/data';\nimport deprecated from '@wordpress/deprecated';\nimport { createRoot, StrictMode } from '@wordpress/element';\nimport { privateApis as editorPrivateApis } from '@wordpress/editor';\nimport { store as preferencesStore } from '@wordpress/preferences';\nimport {\n\tregisterLegacyWidgetBlock,\n\tregisterWidgetGroupBlock,\n} from '@wordpress/widgets';\n\n/**\n * Internal dependencies\n */\nimport { store as editSiteStore } from './store';\nimport { unlock } from './lock-unlock';\nimport App from './components/app';\n\nconst { registerCoreBlockBindingsSources } = unlock( editorPrivateApis );\n\n/**\n * Initializes the site editor screen.\n *\n * @param {string} id ID of the root element to render the screen in.\n * @param {Object} settings Editor settings.\n */\nexport function initializeEditor( id, settings ) {\n\tconst target = document.getElementById( id );\n\tconst root = createRoot( target );\n\n\tdispatch( blocksStore ).reapplyBlockTypeFilters();\n\tconst coreBlocks = __experimentalGetCoreBlocks().filter(\n\t\t( { name } ) => name !== 'core/freeform'\n\t);\n\tregisterCoreBlocks( coreBlocks );\n\tregisterCoreBlockBindingsSources();\n\tdispatch( blocksStore ).setFreeformFallbackBlockName( 'core/html' );\n\tregisterLegacyWidgetBlock( { inserter: false } );\n\tregisterWidgetGroupBlock( { inserter: false } );\n\tif ( globalThis.IS_GUTENBERG_PLUGIN ) {\n\t\t__experimentalRegisterExperimentalCoreBlocks( {\n\t\t\tenableFSEBlocks: true,\n\t\t} );\n\t}\n\n\t// We dispatch actions and update the store synchronously before rendering\n\t// so that we won't trigger unnecessary re-renders with useEffect.\n\tdispatch( preferencesStore ).setDefaults( 'core/edit-site', {\n\t\twelcomeGuide: true,\n\t\twelcomeGuideStyles: true,\n\t\twelcomeGuidePage: true,\n\t\twelcomeGuideTemplate: true,\n\t} );\n\n\tdispatch( preferencesStore ).setDefaults( 'core', {\n\t\tallowRightClickOverrides: true,\n\t\tdistractionFree: false,\n\t\teditorMode: 'visual',\n\t\teditorTool: 'edit',\n\t\tfixedToolbar: false,\n\t\tfocusMode: false,\n\t\tinactivePanels: [],\n\t\tkeepCaretInsideBlock: false,\n\t\topenPanels: [ 'post-status' ],\n\t\tshowBlockBreadcrumbs: true,\n\t\tshowListViewByDefault: false,\n\t\tenableChoosePatternModal: true,\n\t\tshowCollaborationCursor: false,\n\t\tshowCollaborationNotifications: true,\n\t} );\n\n\tif ( window.__clientSideMediaProcessing ) {\n\t\tdispatch( preferencesStore ).setDefaults( 'core/media', {\n\t\t\trequireApproval: true,\n\t\t\toptimizeOnUpload: true,\n\t\t} );\n\t}\n\n\tdispatch( editSiteStore ).updateSettings( settings );\n\n\t// Prevent the default browser action for files dropped outside of dropzones.\n\twindow.addEventListener( 'dragover', ( e ) => e.preventDefault(), false );\n\twindow.addEventListener( 'drop', ( e ) => e.preventDefault(), false );\n\n\troot.render(\n\t\t<StrictMode>\n\t\t\t<App />\n\t\t</StrictMode>\n\t);\n\n\treturn root;\n}\n\nexport function reinitializeEditor() {\n\tdeprecated( 'wp.editSite.reinitializeEditor', {\n\t\tsince: '6.2',\n\t\tversion: '6.3',\n\t} );\n}\n\nexport { default as PluginTemplateSettingPanel } from './components/plugin-template-setting-panel';\nexport { store } from './store';\nexport * from './deprecated';\n"],
|
|
5
|
+
"mappings": ";AAGA,SAAS,SAAS,mBAAmB;AACrC;AAAA,EACC;AAAA,EACA;AAAA,EACA;AAAA,OACM;AACP,SAAS,gBAAgB;AACzB,OAAO,gBAAgB;AACvB,SAAS,YAAY,kBAAkB;AACvC,SAAS,eAAe,yBAAyB;AACjD,SAAS,SAAS,wBAAwB;AAC1C;AAAA,EACC;AAAA,EACA;AAAA,OACM;AAKP,SAAS,SAAS,qBAAqB;AACvC,SAAS,cAAc;AACvB,OAAO,SAAS;AAoFhB,SAAoB,WAAXA,gBAA6C;AACtD,SAAS,aAAa;AACtB,cAAc;AAhBX;AApEH,IAAM,EAAE,iCAAiC,IAAI,OAAQ,iBAAkB;AAQhE,SAAS,iBAAkB,IAAI,UAAW;AAChD,QAAM,SAAS,SAAS,eAAgB,EAAG;AAC3C,QAAM,OAAO,WAAY,MAAO;AAEhC,WAAU,WAAY,EAAE,wBAAwB;AAChD,QAAM,aAAa,4BAA4B,EAAE;AAAA,IAChD,CAAE,EAAE,KAAK,MAAO,SAAS;AAAA,EAC1B;AACA,qBAAoB,UAAW;AAC/B,mCAAiC;AACjC,WAAU,WAAY,EAAE,6BAA8B,WAAY;AAClE,4BAA2B,EAAE,UAAU,MAAM,CAAE;AAC/C,2BAA0B,EAAE,UAAU,MAAM,CAAE;AAC9C,MAAK,WAAW,qBAAsB;AACrC,iDAA8C;AAAA,MAC7C,iBAAiB;AAAA,IAClB,CAAE;AAAA,EACH;AAIA,WAAU,gBAAiB,EAAE,YAAa,kBAAkB;AAAA,IAC3D,cAAc;AAAA,IACd,oBAAoB;AAAA,IACpB,kBAAkB;AAAA,IAClB,sBAAsB;AAAA,EACvB,CAAE;AAEF,WAAU,gBAAiB,EAAE,YAAa,QAAQ;AAAA,IACjD,0BAA0B;AAAA,IAC1B,iBAAiB;AAAA,IACjB,YAAY;AAAA,IACZ,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,WAAW;AAAA,IACX,gBAAgB,CAAC;AAAA,IACjB,sBAAsB;AAAA,IACtB,YAAY,CAAE,aAAc;AAAA,IAC5B,sBAAsB;AAAA,IACtB,uBAAuB;AAAA,IACvB,0BAA0B;AAAA,IAC1B,yBAAyB;AAAA,IACzB,gCAAgC;AAAA,EACjC,CAAE;AAEF,MAAK,OAAO,6BAA8B;AACzC,aAAU,gBAAiB,EAAE,YAAa,cAAc;AAAA,MACvD,iBAAiB;AAAA,MACjB,kBAAkB;AAAA,IACnB,CAAE;AAAA,EACH;AAEA,WAAU,aAAc,EAAE,eAAgB,QAAS;AAGnD,SAAO,iBAAkB,YAAY,CAAE,MAAO,EAAE,eAAe,GAAG,KAAM;AACxE,SAAO,iBAAkB,QAAQ,CAAE,MAAO,EAAE,eAAe,GAAG,KAAM;AAEpE,OAAK;AAAA,IACJ,oBAAC,cACA,8BAAC,OAAI,GACN;AAAA,EACD;AAEA,SAAO;AACR;AAEO,SAAS,qBAAqB;AACpC,aAAY,kCAAkC;AAAA,IAC7C,OAAO;AAAA,IACP,SAAS;AAAA,EACV,CAAE;AACH;",
|
|
6
6
|
"names": ["default"]
|
|
7
7
|
}
|
|
@@ -107,100 +107,11 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
/**
|
|
111
|
-
* Colors
|
|
112
|
-
*/
|
|
113
|
-
/**
|
|
114
|
-
* SCSS Variables.
|
|
115
|
-
*
|
|
116
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
117
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
118
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
119
|
-
*/
|
|
120
|
-
/**
|
|
121
|
-
* Fonts & basic variables.
|
|
122
|
-
*/
|
|
123
|
-
/**
|
|
124
|
-
* Typography
|
|
125
|
-
*/
|
|
126
|
-
/**
|
|
127
|
-
* Grid System.
|
|
128
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
129
|
-
*/
|
|
130
|
-
/**
|
|
131
|
-
* Radius scale.
|
|
132
|
-
*/
|
|
133
|
-
/**
|
|
134
|
-
* Elevation scale.
|
|
135
|
-
*/
|
|
136
|
-
/**
|
|
137
|
-
* Dimensions.
|
|
138
|
-
*/
|
|
139
|
-
/**
|
|
140
|
-
* Mobile specific styles
|
|
141
|
-
*/
|
|
142
|
-
/**
|
|
143
|
-
* Editor styles.
|
|
144
|
-
*/
|
|
145
|
-
/**
|
|
146
|
-
* Block & Editor UI.
|
|
147
|
-
*/
|
|
148
|
-
/**
|
|
149
|
-
* Block paddings.
|
|
150
|
-
*/
|
|
151
|
-
/**
|
|
152
|
-
* React Native specific.
|
|
153
|
-
* These variables do not appear to be used anywhere else.
|
|
154
|
-
*/
|
|
155
|
-
/**
|
|
156
|
-
* Typography
|
|
157
|
-
*/
|
|
158
|
-
/**
|
|
159
|
-
* Breakpoints & Media Queries
|
|
160
|
-
*/
|
|
161
|
-
/**
|
|
162
|
-
* Converts a hex value into the rgb equivalent.
|
|
163
|
-
*
|
|
164
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
165
|
-
* @return {string} comma separated rgb values
|
|
166
|
-
*/
|
|
167
|
-
/**
|
|
168
|
-
* Long content fade mixin
|
|
169
|
-
*
|
|
170
|
-
* Creates a fading overlay to signify that the content is longer
|
|
171
|
-
* than the space allows.
|
|
172
|
-
*/
|
|
173
|
-
/**
|
|
174
|
-
* Breakpoint mixins
|
|
175
|
-
*/
|
|
176
|
-
/**
|
|
177
|
-
* Focus styles.
|
|
178
|
-
*/
|
|
179
|
-
/**
|
|
180
|
-
* Applies editor left position to the selector passed as argument
|
|
181
|
-
*/
|
|
182
|
-
/**
|
|
183
|
-
* Styles that are reused verbatim in a few places
|
|
184
|
-
*/
|
|
185
|
-
/**
|
|
186
|
-
* Allows users to opt-out of animations via OS-level preferences.
|
|
187
|
-
*/
|
|
188
|
-
/**
|
|
189
|
-
* Reset default styles for JavaScript UI based pages.
|
|
190
|
-
* This is a WP-admin agnostic reset
|
|
191
|
-
*/
|
|
192
|
-
/**
|
|
193
|
-
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
194
|
-
*/
|
|
195
|
-
/**
|
|
196
|
-
* Creates a checkerboard pattern background to indicate transparency.
|
|
197
|
-
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
198
|
-
*/
|
|
199
110
|
.admin-ui-page {
|
|
200
111
|
display: flex;
|
|
201
112
|
height: 100%;
|
|
202
|
-
background-color: #
|
|
203
|
-
color: #
|
|
113
|
+
background-color: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
114
|
+
color: var(--wpds-color-fg-content-neutral, #1e1e1e);
|
|
204
115
|
position: relative;
|
|
205
116
|
z-index: 1;
|
|
206
117
|
flex-flow: column;
|
|
@@ -208,25 +119,34 @@
|
|
|
208
119
|
}
|
|
209
120
|
|
|
210
121
|
.admin-ui-page__header {
|
|
211
|
-
padding: 16px 24px;
|
|
212
|
-
border-bottom: 1px solid #
|
|
213
|
-
background: #
|
|
122
|
+
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
123
|
+
border-bottom: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0);
|
|
124
|
+
background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
214
125
|
position: sticky;
|
|
215
126
|
top: 0;
|
|
216
127
|
z-index: 1;
|
|
217
128
|
}
|
|
218
129
|
|
|
130
|
+
.admin-ui-page__header-title {
|
|
131
|
+
font-family: var(--wpds-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
132
|
+
font-size: var(--wpds-font-size-xl, 20px);
|
|
133
|
+
font-weight: var(--wpds-font-weight-medium, 499);
|
|
134
|
+
line-height: var(--wpds-font-line-height-xl, 32px);
|
|
135
|
+
margin: 0;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
text-overflow: ellipsis;
|
|
138
|
+
white-space: nowrap;
|
|
139
|
+
}
|
|
140
|
+
|
|
219
141
|
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
220
142
|
display: none;
|
|
221
143
|
}
|
|
222
144
|
|
|
223
145
|
.admin-ui-page__header-subtitle {
|
|
224
|
-
padding-block-end:
|
|
225
|
-
color: #
|
|
226
|
-
font-
|
|
227
|
-
|
|
228
|
-
font-size: 13px;
|
|
229
|
-
line-height: 20px;
|
|
146
|
+
padding-block-end: var(--wpds-dimension-padding-xs, 4px);
|
|
147
|
+
color: var(--wpds-color-fg-content-neutral-weak, #6d6d6d);
|
|
148
|
+
font-size: var(--wpds-font-size-md, 13px);
|
|
149
|
+
line-height: var(--wpds-font-line-height-md, 24px);
|
|
230
150
|
margin: 0;
|
|
231
151
|
}
|
|
232
152
|
|
|
@@ -238,12 +158,12 @@
|
|
|
238
158
|
}
|
|
239
159
|
|
|
240
160
|
.admin-ui-page__content.has-padding {
|
|
241
|
-
padding: 16px 24px;
|
|
161
|
+
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
242
162
|
}
|
|
243
163
|
|
|
244
164
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
245
165
|
width: auto;
|
|
246
|
-
padding: 0
|
|
166
|
+
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
247
167
|
}
|
|
248
168
|
|
|
249
169
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
|
|
@@ -252,9 +172,54 @@
|
|
|
252
172
|
|
|
253
173
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
|
|
254
174
|
content: attr(aria-label);
|
|
255
|
-
font-size: 12px;
|
|
175
|
+
font-size: var(--wpds-font-size-sm, 12px);
|
|
256
176
|
}
|
|
257
177
|
|
|
178
|
+
/**
|
|
179
|
+
* SCSS Variables.
|
|
180
|
+
*
|
|
181
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
182
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
183
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
184
|
+
*/
|
|
185
|
+
/**
|
|
186
|
+
* Colors
|
|
187
|
+
*/
|
|
188
|
+
/**
|
|
189
|
+
* Fonts & basic variables.
|
|
190
|
+
*/
|
|
191
|
+
/**
|
|
192
|
+
* Typography
|
|
193
|
+
*/
|
|
194
|
+
/**
|
|
195
|
+
* Grid System.
|
|
196
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
197
|
+
*/
|
|
198
|
+
/**
|
|
199
|
+
* Radius scale.
|
|
200
|
+
*/
|
|
201
|
+
/**
|
|
202
|
+
* Elevation scale.
|
|
203
|
+
*/
|
|
204
|
+
/**
|
|
205
|
+
* Dimensions.
|
|
206
|
+
*/
|
|
207
|
+
/**
|
|
208
|
+
* Mobile specific styles
|
|
209
|
+
*/
|
|
210
|
+
/**
|
|
211
|
+
* Editor styles.
|
|
212
|
+
*/
|
|
213
|
+
/**
|
|
214
|
+
* Block & Editor UI.
|
|
215
|
+
*/
|
|
216
|
+
/**
|
|
217
|
+
* Block paddings.
|
|
218
|
+
*/
|
|
219
|
+
/**
|
|
220
|
+
* React Native specific.
|
|
221
|
+
* These variables do not appear to be used anywhere else.
|
|
222
|
+
*/
|
|
258
223
|
.admin-ui-breadcrumbs__list {
|
|
259
224
|
list-style: none;
|
|
260
225
|
padding: 0;
|
|
@@ -1972,6 +1937,7 @@ div.dataviews-view-list {
|
|
|
1972
1937
|
|
|
1973
1938
|
.dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-end {
|
|
1974
1939
|
justify-content: flex-end;
|
|
1940
|
+
font-variant-numeric: tabular-nums;
|
|
1975
1941
|
}
|
|
1976
1942
|
|
|
1977
1943
|
.dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-center {
|
|
@@ -2084,7 +2050,7 @@ div.dataviews-view-list {
|
|
|
2084
2050
|
}
|
|
2085
2051
|
|
|
2086
2052
|
/* Column width intents via colgroup: make non-primary columns shrink-to-fit */
|
|
2087
|
-
.dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data)
|
|
2053
|
+
.dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data) {
|
|
2088
2054
|
width: 1%;
|
|
2089
2055
|
}
|
|
2090
2056
|
|
|
@@ -2766,7 +2732,6 @@ div.dataviews-view-list {
|
|
|
2766
2732
|
display: flex;
|
|
2767
2733
|
flex-direction: row;
|
|
2768
2734
|
gap: 16px;
|
|
2769
|
-
align-items: center;
|
|
2770
2735
|
}
|
|
2771
2736
|
|
|
2772
2737
|
.dataforms-layouts-details__summary-content {
|
|
@@ -3146,7 +3111,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded.is-empty .components-dr
|
|
|
3146
3111
|
fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-preview {
|
|
3147
3112
|
position: relative;
|
|
3148
3113
|
width: 100%;
|
|
3149
|
-
aspect-ratio:
|
|
3114
|
+
aspect-ratio: 3/2;
|
|
3150
3115
|
border-radius: 2px;
|
|
3151
3116
|
padding: 4px;
|
|
3152
3117
|
overflow: hidden;
|
|
@@ -3229,13 +3194,22 @@ fieldset.fields__media-edit .fields__media-edit-expanded.is-empty .fields__media
|
|
|
3229
3194
|
}
|
|
3230
3195
|
|
|
3231
3196
|
fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
|
|
3232
|
-
grid-template-columns: repeat(
|
|
3197
|
+
grid-template-columns: repeat(3, 1fr);
|
|
3233
3198
|
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
|
|
3234
3199
|
}
|
|
3235
3200
|
|
|
3236
|
-
@container (max-width:
|
|
3201
|
+
@container (max-width: 768px) {
|
|
3202
|
+
fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
|
|
3203
|
+
grid-template-columns: repeat(2, 1fr);
|
|
3204
|
+
}
|
|
3205
|
+
}
|
|
3206
|
+
fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
|
|
3207
|
+
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
@container (max-width: 280px) {
|
|
3237
3211
|
fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
|
|
3238
|
-
grid-template-columns:
|
|
3212
|
+
grid-template-columns: 1fr;
|
|
3239
3213
|
}
|
|
3240
3214
|
}
|
|
3241
3215
|
fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields__media-edit-picker-button {
|
|
@@ -3246,7 +3220,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3246
3220
|
display: flex;
|
|
3247
3221
|
align-items: center;
|
|
3248
3222
|
justify-content: center;
|
|
3249
|
-
aspect-ratio:
|
|
3223
|
+
aspect-ratio: 3/2;
|
|
3250
3224
|
}
|
|
3251
3225
|
|
|
3252
3226
|
.fields-controls__slug {
|
|
@@ -3793,6 +3767,7 @@ button.font-library__upload-area {
|
|
|
3793
3767
|
background: #fff;
|
|
3794
3768
|
padding: 12px;
|
|
3795
3769
|
border-top: 1px solid #ddd;
|
|
3770
|
+
box-sizing: border-box;
|
|
3796
3771
|
}
|
|
3797
3772
|
|
|
3798
3773
|
.global-styles-ui-variations_item {
|
package/build-style/style.css
CHANGED
|
@@ -107,100 +107,11 @@
|
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
/**
|
|
111
|
-
* Colors
|
|
112
|
-
*/
|
|
113
|
-
/**
|
|
114
|
-
* SCSS Variables.
|
|
115
|
-
*
|
|
116
|
-
* Please use variables from this sheet to ensure consistency across the UI.
|
|
117
|
-
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
118
|
-
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
119
|
-
*/
|
|
120
|
-
/**
|
|
121
|
-
* Fonts & basic variables.
|
|
122
|
-
*/
|
|
123
|
-
/**
|
|
124
|
-
* Typography
|
|
125
|
-
*/
|
|
126
|
-
/**
|
|
127
|
-
* Grid System.
|
|
128
|
-
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
129
|
-
*/
|
|
130
|
-
/**
|
|
131
|
-
* Radius scale.
|
|
132
|
-
*/
|
|
133
|
-
/**
|
|
134
|
-
* Elevation scale.
|
|
135
|
-
*/
|
|
136
|
-
/**
|
|
137
|
-
* Dimensions.
|
|
138
|
-
*/
|
|
139
|
-
/**
|
|
140
|
-
* Mobile specific styles
|
|
141
|
-
*/
|
|
142
|
-
/**
|
|
143
|
-
* Editor styles.
|
|
144
|
-
*/
|
|
145
|
-
/**
|
|
146
|
-
* Block & Editor UI.
|
|
147
|
-
*/
|
|
148
|
-
/**
|
|
149
|
-
* Block paddings.
|
|
150
|
-
*/
|
|
151
|
-
/**
|
|
152
|
-
* React Native specific.
|
|
153
|
-
* These variables do not appear to be used anywhere else.
|
|
154
|
-
*/
|
|
155
|
-
/**
|
|
156
|
-
* Typography
|
|
157
|
-
*/
|
|
158
|
-
/**
|
|
159
|
-
* Breakpoints & Media Queries
|
|
160
|
-
*/
|
|
161
|
-
/**
|
|
162
|
-
* Converts a hex value into the rgb equivalent.
|
|
163
|
-
*
|
|
164
|
-
* @param {string} hex - the hexadecimal value to convert
|
|
165
|
-
* @return {string} comma separated rgb values
|
|
166
|
-
*/
|
|
167
|
-
/**
|
|
168
|
-
* Long content fade mixin
|
|
169
|
-
*
|
|
170
|
-
* Creates a fading overlay to signify that the content is longer
|
|
171
|
-
* than the space allows.
|
|
172
|
-
*/
|
|
173
|
-
/**
|
|
174
|
-
* Breakpoint mixins
|
|
175
|
-
*/
|
|
176
|
-
/**
|
|
177
|
-
* Focus styles.
|
|
178
|
-
*/
|
|
179
|
-
/**
|
|
180
|
-
* Applies editor left position to the selector passed as argument
|
|
181
|
-
*/
|
|
182
|
-
/**
|
|
183
|
-
* Styles that are reused verbatim in a few places
|
|
184
|
-
*/
|
|
185
|
-
/**
|
|
186
|
-
* Allows users to opt-out of animations via OS-level preferences.
|
|
187
|
-
*/
|
|
188
|
-
/**
|
|
189
|
-
* Reset default styles for JavaScript UI based pages.
|
|
190
|
-
* This is a WP-admin agnostic reset
|
|
191
|
-
*/
|
|
192
|
-
/**
|
|
193
|
-
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
194
|
-
*/
|
|
195
|
-
/**
|
|
196
|
-
* Creates a checkerboard pattern background to indicate transparency.
|
|
197
|
-
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
198
|
-
*/
|
|
199
110
|
.admin-ui-page {
|
|
200
111
|
display: flex;
|
|
201
112
|
height: 100%;
|
|
202
|
-
background-color: #
|
|
203
|
-
color: #
|
|
113
|
+
background-color: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
114
|
+
color: var(--wpds-color-fg-content-neutral, #1e1e1e);
|
|
204
115
|
position: relative;
|
|
205
116
|
z-index: 1;
|
|
206
117
|
flex-flow: column;
|
|
@@ -208,25 +119,34 @@
|
|
|
208
119
|
}
|
|
209
120
|
|
|
210
121
|
.admin-ui-page__header {
|
|
211
|
-
padding: 16px 24px;
|
|
212
|
-
border-bottom: 1px solid #
|
|
213
|
-
background: #
|
|
122
|
+
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
123
|
+
border-bottom: var(--wpds-border-width-xs, 1px) solid var(--wpds-color-stroke-surface-neutral-weak, #e0e0e0);
|
|
124
|
+
background: var(--wpds-color-bg-surface-neutral-strong, #ffffff);
|
|
214
125
|
position: sticky;
|
|
215
126
|
top: 0;
|
|
216
127
|
z-index: 1;
|
|
217
128
|
}
|
|
218
129
|
|
|
130
|
+
.admin-ui-page__header-title {
|
|
131
|
+
font-family: var(--wpds-font-family-heading, -apple-system, system-ui, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif);
|
|
132
|
+
font-size: var(--wpds-font-size-xl, 20px);
|
|
133
|
+
font-weight: var(--wpds-font-weight-medium, 499);
|
|
134
|
+
line-height: var(--wpds-font-line-height-xl, 32px);
|
|
135
|
+
margin: 0;
|
|
136
|
+
overflow: hidden;
|
|
137
|
+
text-overflow: ellipsis;
|
|
138
|
+
white-space: nowrap;
|
|
139
|
+
}
|
|
140
|
+
|
|
219
141
|
.admin-ui-page__sidebar-toggle-slot:empty {
|
|
220
142
|
display: none;
|
|
221
143
|
}
|
|
222
144
|
|
|
223
145
|
.admin-ui-page__header-subtitle {
|
|
224
|
-
padding-block-end:
|
|
225
|
-
color: #
|
|
226
|
-
font-
|
|
227
|
-
|
|
228
|
-
font-size: 13px;
|
|
229
|
-
line-height: 20px;
|
|
146
|
+
padding-block-end: var(--wpds-dimension-padding-xs, 4px);
|
|
147
|
+
color: var(--wpds-color-fg-content-neutral-weak, #6d6d6d);
|
|
148
|
+
font-size: var(--wpds-font-size-md, 13px);
|
|
149
|
+
line-height: var(--wpds-font-line-height-md, 24px);
|
|
230
150
|
margin: 0;
|
|
231
151
|
}
|
|
232
152
|
|
|
@@ -238,12 +158,12 @@
|
|
|
238
158
|
}
|
|
239
159
|
|
|
240
160
|
.admin-ui-page__content.has-padding {
|
|
241
|
-
padding: 16px 24px;
|
|
161
|
+
padding: var(--wpds-dimension-padding-lg, 16px) var(--wpds-dimension-padding-2xl, 24px);
|
|
242
162
|
}
|
|
243
163
|
|
|
244
164
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon {
|
|
245
165
|
width: auto;
|
|
246
|
-
padding: 0
|
|
166
|
+
padding: 0 var(--wpds-dimension-padding-xs, 4px);
|
|
247
167
|
}
|
|
248
168
|
|
|
249
169
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon svg {
|
|
@@ -252,9 +172,54 @@
|
|
|
252
172
|
|
|
253
173
|
.show-icon-labels .admin-ui-page__header-actions .components-button.has-icon::after {
|
|
254
174
|
content: attr(aria-label);
|
|
255
|
-
font-size: 12px;
|
|
175
|
+
font-size: var(--wpds-font-size-sm, 12px);
|
|
256
176
|
}
|
|
257
177
|
|
|
178
|
+
/**
|
|
179
|
+
* SCSS Variables.
|
|
180
|
+
*
|
|
181
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
182
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
183
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
184
|
+
*/
|
|
185
|
+
/**
|
|
186
|
+
* Colors
|
|
187
|
+
*/
|
|
188
|
+
/**
|
|
189
|
+
* Fonts & basic variables.
|
|
190
|
+
*/
|
|
191
|
+
/**
|
|
192
|
+
* Typography
|
|
193
|
+
*/
|
|
194
|
+
/**
|
|
195
|
+
* Grid System.
|
|
196
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
197
|
+
*/
|
|
198
|
+
/**
|
|
199
|
+
* Radius scale.
|
|
200
|
+
*/
|
|
201
|
+
/**
|
|
202
|
+
* Elevation scale.
|
|
203
|
+
*/
|
|
204
|
+
/**
|
|
205
|
+
* Dimensions.
|
|
206
|
+
*/
|
|
207
|
+
/**
|
|
208
|
+
* Mobile specific styles
|
|
209
|
+
*/
|
|
210
|
+
/**
|
|
211
|
+
* Editor styles.
|
|
212
|
+
*/
|
|
213
|
+
/**
|
|
214
|
+
* Block & Editor UI.
|
|
215
|
+
*/
|
|
216
|
+
/**
|
|
217
|
+
* Block paddings.
|
|
218
|
+
*/
|
|
219
|
+
/**
|
|
220
|
+
* React Native specific.
|
|
221
|
+
* These variables do not appear to be used anywhere else.
|
|
222
|
+
*/
|
|
258
223
|
.admin-ui-breadcrumbs__list {
|
|
259
224
|
list-style: none;
|
|
260
225
|
padding: 0;
|
|
@@ -1972,6 +1937,7 @@ div.dataviews-view-list {
|
|
|
1972
1937
|
|
|
1973
1938
|
.dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-end {
|
|
1974
1939
|
justify-content: flex-end;
|
|
1940
|
+
font-variant-numeric: tabular-nums;
|
|
1975
1941
|
}
|
|
1976
1942
|
|
|
1977
1943
|
.dataviews-view-table tbody .dataviews-view-table__cell-content-wrapper.dataviews-view-table__cell-align-center {
|
|
@@ -2084,7 +2050,7 @@ div.dataviews-view-list {
|
|
|
2084
2050
|
}
|
|
2085
2051
|
|
|
2086
2052
|
/* Column width intents via colgroup: make non-primary columns shrink-to-fit */
|
|
2087
|
-
.dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data)
|
|
2053
|
+
.dataviews-view-table col[class^=dataviews-view-table__col-]:not(.dataviews-view-table__col-first-data) {
|
|
2088
2054
|
width: 1%;
|
|
2089
2055
|
}
|
|
2090
2056
|
|
|
@@ -2766,7 +2732,6 @@ div.dataviews-view-list {
|
|
|
2766
2732
|
display: flex;
|
|
2767
2733
|
flex-direction: row;
|
|
2768
2734
|
gap: 16px;
|
|
2769
|
-
align-items: center;
|
|
2770
2735
|
}
|
|
2771
2736
|
|
|
2772
2737
|
.dataforms-layouts-details__summary-content {
|
|
@@ -3146,7 +3111,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded.is-empty .components-dr
|
|
|
3146
3111
|
fieldset.fields__media-edit .fields__media-edit-expanded .fields__media-edit-expanded-preview {
|
|
3147
3112
|
position: relative;
|
|
3148
3113
|
width: 100%;
|
|
3149
|
-
aspect-ratio:
|
|
3114
|
+
aspect-ratio: 3/2;
|
|
3150
3115
|
border-radius: 2px;
|
|
3151
3116
|
padding: 4px;
|
|
3152
3117
|
overflow: hidden;
|
|
@@ -3229,13 +3194,22 @@ fieldset.fields__media-edit .fields__media-edit-expanded.is-empty .fields__media
|
|
|
3229
3194
|
}
|
|
3230
3195
|
|
|
3231
3196
|
fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
|
|
3232
|
-
grid-template-columns: repeat(
|
|
3197
|
+
grid-template-columns: repeat(3, 1fr);
|
|
3233
3198
|
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
|
|
3234
3199
|
}
|
|
3235
3200
|
|
|
3236
|
-
@container (max-width:
|
|
3201
|
+
@container (max-width: 768px) {
|
|
3202
|
+
fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
|
|
3203
|
+
grid-template-columns: repeat(2, 1fr);
|
|
3204
|
+
}
|
|
3205
|
+
}
|
|
3206
|
+
fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
|
|
3207
|
+
/* stylelint-disable-next-line property-no-unknown -- '@container' not globally permitted */
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
@container (max-width: 280px) {
|
|
3237
3211
|
fieldset.fields__media-edit .fields__media-edit-expanded.is-multiple:not(.is-empty) {
|
|
3238
|
-
grid-template-columns:
|
|
3212
|
+
grid-template-columns: 1fr;
|
|
3239
3213
|
}
|
|
3240
3214
|
}
|
|
3241
3215
|
fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields__media-edit-picker-button {
|
|
@@ -3246,7 +3220,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
|
|
|
3246
3220
|
display: flex;
|
|
3247
3221
|
align-items: center;
|
|
3248
3222
|
justify-content: center;
|
|
3249
|
-
aspect-ratio:
|
|
3223
|
+
aspect-ratio: 3/2;
|
|
3250
3224
|
}
|
|
3251
3225
|
|
|
3252
3226
|
.fields-controls__slug {
|
|
@@ -3793,6 +3767,7 @@ button.font-library__upload-area {
|
|
|
3793
3767
|
background: #fff;
|
|
3794
3768
|
padding: 12px;
|
|
3795
3769
|
border-top: 1px solid #ddd;
|
|
3770
|
+
box-sizing: border-box;
|
|
3796
3771
|
}
|
|
3797
3772
|
|
|
3798
3773
|
.global-styles-ui-variations_item {
|