@wordpress/edit-site 6.50.1-next.v.202607070741.0 → 7.1.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.
Files changed (78) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/build/components/add-new-template/add-custom-template-modal-content.cjs +3 -3
  3. package/build/components/add-new-template/add-custom-template-modal-content.cjs.map +2 -2
  4. package/build/components/add-new-template/index.cjs +1 -1
  5. package/build/components/add-new-template/index.cjs.map +2 -2
  6. package/build/components/add-new-template-legacy/add-custom-template-modal-content.cjs +3 -3
  7. package/build/components/add-new-template-legacy/add-custom-template-modal-content.cjs.map +2 -2
  8. package/build/components/add-new-template-legacy/index.cjs +1 -1
  9. package/build/components/add-new-template-legacy/index.cjs.map +2 -2
  10. package/build/components/canvas-loader/index.cjs +8 -3
  11. package/build/components/canvas-loader/index.cjs.map +3 -3
  12. package/build/components/editor/index.cjs +23 -30
  13. package/build/components/editor/index.cjs.map +2 -2
  14. package/build/components/editor/use-editor-title.cjs +1 -2
  15. package/build/components/editor/use-editor-title.cjs.map +3 -3
  16. package/build/components/layout/index.cjs +1 -2
  17. package/build/components/layout/index.cjs.map +2 -2
  18. package/build/components/save-button/index.cjs +3 -3
  19. package/build/components/save-button/index.cjs.map +3 -3
  20. package/build/components/save-panel/index.cjs +7 -4
  21. package/build/components/save-panel/index.cjs.map +3 -3
  22. package/build/components/sidebar-navigation-screen-patterns/index.cjs +3 -2
  23. package/build/components/sidebar-navigation-screen-patterns/index.cjs.map +3 -3
  24. package/build/components/site-editor-routes/styles.cjs +18 -12
  25. package/build/components/site-editor-routes/styles.cjs.map +2 -2
  26. package/build/components/site-hub/index.cjs +9 -41
  27. package/build/components/site-hub/index.cjs.map +3 -3
  28. package/build-module/components/add-new-template/add-custom-template-modal-content.mjs +3 -3
  29. package/build-module/components/add-new-template/add-custom-template-modal-content.mjs.map +2 -2
  30. package/build-module/components/add-new-template/index.mjs +1 -1
  31. package/build-module/components/add-new-template/index.mjs.map +2 -2
  32. package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs +3 -3
  33. package/build-module/components/add-new-template-legacy/add-custom-template-modal-content.mjs.map +2 -2
  34. package/build-module/components/add-new-template-legacy/index.mjs +1 -1
  35. package/build-module/components/add-new-template-legacy/index.mjs.map +2 -2
  36. package/build-module/components/canvas-loader/index.mjs +9 -7
  37. package/build-module/components/canvas-loader/index.mjs.map +2 -2
  38. package/build-module/components/editor/index.mjs +24 -31
  39. package/build-module/components/editor/index.mjs.map +2 -2
  40. package/build-module/components/editor/use-editor-title.mjs +5 -3
  41. package/build-module/components/editor/use-editor-title.mjs.map +2 -2
  42. package/build-module/components/layout/index.mjs +1 -2
  43. package/build-module/components/layout/index.mjs.map +2 -2
  44. package/build-module/components/save-button/index.mjs +6 -6
  45. package/build-module/components/save-button/index.mjs.map +2 -2
  46. package/build-module/components/save-panel/index.mjs +9 -7
  47. package/build-module/components/save-panel/index.mjs.map +2 -2
  48. package/build-module/components/sidebar-navigation-screen-patterns/index.mjs +2 -1
  49. package/build-module/components/sidebar-navigation-screen-patterns/index.mjs.map +2 -2
  50. package/build-module/components/site-editor-routes/styles.mjs +18 -12
  51. package/build-module/components/site-editor-routes/styles.mjs.map +2 -2
  52. package/build-module/components/site-hub/index.mjs +11 -33
  53. package/build-module/components/site-hub/index.mjs.map +2 -2
  54. package/build-style/style-rtl.css +66 -157
  55. package/build-style/style.css +66 -157
  56. package/package.json +52 -53
  57. package/src/components/add-new-template/add-custom-template-modal-content.js +3 -3
  58. package/src/components/add-new-template/index.js +1 -1
  59. package/src/components/add-new-template-legacy/add-custom-template-modal-content.js +3 -3
  60. package/src/components/add-new-template-legacy/index.js +1 -1
  61. package/src/components/canvas-loader/index.js +6 -10
  62. package/src/components/canvas-loader/style.scss +3 -4
  63. package/src/components/editor/index.js +25 -33
  64. package/src/components/editor/style.scss +0 -51
  65. package/src/components/editor/use-editor-title.js +5 -3
  66. package/src/components/layout/index.js +1 -3
  67. package/src/components/layout/style.scss +0 -55
  68. package/src/components/save-button/index.js +6 -6
  69. package/src/components/save-panel/index.js +9 -7
  70. package/src/components/sidebar-button/style.scss +1 -9
  71. package/src/components/sidebar-navigation-item/style.scss +8 -4
  72. package/src/components/sidebar-navigation-screen-navigation-menus/style.scss +2 -2
  73. package/src/components/sidebar-navigation-screen-patterns/index.js +2 -1
  74. package/src/components/sidebar-navigation-screen-patterns/style.scss +1 -1
  75. package/src/components/site-editor-routes/styles.js +22 -11
  76. package/src/components/site-hub/index.js +10 -34
  77. package/src/components/site-hub/style.scss +5 -10
  78. package/src/style.scss +2 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/components/site-editor-routes/styles.js"],
4
- "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { privateApis as routerPrivateApis } from '@wordpress/router';\nimport { privateApis as editorPrivateApis } from '@wordpress/editor';\nimport { addQueryArgs } from '@wordpress/url';\n\n/**\n * Internal dependencies\n */\nimport Editor from '../editor';\nimport { unlock } from '../../lock-unlock';\nimport SidebarNavigationScreenGlobalStyles from '../sidebar-navigation-screen-global-styles';\nimport SidebarGlobalStyles from '../sidebar-global-styles';\n\nconst { useLocation, useHistory } = unlock( routerPrivateApis );\nconst { StyleBookPreview } = unlock( editorPrivateApis );\n\nfunction StylesPreviewArea() {\n\tconst { path, query } = useLocation();\n\tconst history = useHistory();\n\tconst isStylebook = query.preview === 'stylebook';\n\n\t// Get section from URL query params\n\tconst section = query.section ?? '/';\n\tconst onChangeSection = ( updatedSection ) => {\n\t\thistory.navigate(\n\t\t\taddQueryArgs( path, {\n\t\t\t\tsection: updatedSection,\n\t\t\t} )\n\t\t);\n\t};\n\n\tif ( isStylebook ) {\n\t\treturn (\n\t\t\t<StyleBookPreview\n\t\t\t\tpath={ section }\n\t\t\t\tonPathChange={ onChangeSection }\n\t\t\t/>\n\t\t);\n\t}\n\n\treturn <Editor />;\n}\n\nexport const stylesRoute = {\n\tname: 'styles',\n\tpath: '/styles',\n\tareas: {\n\t\tcontent: <SidebarGlobalStyles />,\n\t\tsidebar: <SidebarNavigationScreenGlobalStyles backPath=\"/\" />,\n\t\tpreview: <StylesPreviewArea />,\n\t\tmobileContent: <SidebarGlobalStyles />,\n\t},\n\twidths: {\n\t\tcontent: 380,\n\t},\n};\n"],
5
- "mappings": ";AAGA,SAAS,eAAe,yBAAyB;AACjD,SAAS,eAAe,yBAAyB;AACjD,SAAS,oBAAoB;AAK7B,OAAO,YAAY;AACnB,SAAS,cAAc;AACvB,OAAO,yCAAyC;AAChD,OAAO,yBAAyB;AAsB7B;AApBH,IAAM,EAAE,aAAa,WAAW,IAAI,OAAQ,iBAAkB;AAC9D,IAAM,EAAE,iBAAiB,IAAI,OAAQ,iBAAkB;AAEvD,SAAS,oBAAoB;AAC5B,QAAM,EAAE,MAAM,MAAM,IAAI,YAAY;AACpC,QAAM,UAAU,WAAW;AAC3B,QAAM,cAAc,MAAM,YAAY;AAGtC,QAAM,UAAU,MAAM,WAAW;AACjC,QAAM,kBAAkB,CAAE,mBAAoB;AAC7C,YAAQ;AAAA,MACP,aAAc,MAAM;AAAA,QACnB,SAAS;AAAA,MACV,CAAE;AAAA,IACH;AAAA,EACD;AAEA,MAAK,aAAc;AAClB,WACC;AAAA,MAAC;AAAA;AAAA,QACA,MAAO;AAAA,QACP,cAAe;AAAA;AAAA,IAChB;AAAA,EAEF;AAEA,SAAO,oBAAC,UAAO;AAChB;AAEO,IAAM,cAAc;AAAA,EAC1B,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,IACN,SAAS,oBAAC,uBAAoB;AAAA,IAC9B,SAAS,oBAAC,uCAAoC,UAAS,KAAI;AAAA,IAC3D,SAAS,oBAAC,qBAAkB;AAAA,IAC5B,eAAe,oBAAC,uBAAoB;AAAA,EACrC;AAAA,EACA,QAAQ;AAAA,IACP,SAAS;AAAA,EACV;AACD;",
4
+ "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { privateApis as routerPrivateApis } from '@wordpress/router';\nimport { privateApis as editorPrivateApis } from '@wordpress/editor';\nimport { addQueryArgs } from '@wordpress/url';\n\n/**\n * Internal dependencies\n */\nimport Editor from '../editor';\nimport { unlock } from '../../lock-unlock';\nimport SidebarNavigationScreenGlobalStyles from '../sidebar-navigation-screen-global-styles';\nimport SidebarGlobalStyles from '../sidebar-global-styles';\n\nconst { useLocation, useHistory } = unlock( routerPrivateApis );\nconst { StyleBookPreview, useGlobalStyles } = unlock( editorPrivateApis );\n\nfunction StyleBookPreviewArea( { siteData } ) {\n\tconst { path, query } = useLocation();\n\tconst history = useHistory();\n\tconst { user: userConfig } = useGlobalStyles();\n\n\t// Get section from URL query params\n\tconst section = query.section ?? '/';\n\tconst onChangeSection = ( updatedSection ) => {\n\t\thistory.navigate(\n\t\t\taddQueryArgs( path, {\n\t\t\t\tsection: updatedSection,\n\t\t\t} )\n\t\t);\n\t};\n\n\treturn (\n\t\t<StyleBookPreview\n\t\t\tpath={ section }\n\t\t\tonPathChange={ onChangeSection }\n\t\t\tsettings={ siteData.editorSettings }\n\t\t\t// Without userConfig the preview falls back to the static `settings` styles and unsaved global styles edits are not shown.\n\t\t\tuserConfig={ userConfig }\n\t\t/>\n\t);\n}\n\nfunction StylesPreviewArea( { siteData } ) {\n\tconst { query } = useLocation();\n\n\tif ( query.preview === 'stylebook' ) {\n\t\treturn <StyleBookPreviewArea siteData={ siteData } />;\n\t}\n\n\treturn <Editor />;\n}\n\nexport const stylesRoute = {\n\tname: 'styles',\n\tpath: '/styles',\n\tareas: {\n\t\tcontent: <SidebarGlobalStyles />,\n\t\tsidebar: <SidebarNavigationScreenGlobalStyles backPath=\"/\" />,\n\t\tpreview: ( { siteData } ) => (\n\t\t\t<StylesPreviewArea siteData={ siteData } />\n\t\t),\n\t\tmobileContent: <SidebarGlobalStyles />,\n\t},\n\twidths: {\n\t\tcontent: 380,\n\t},\n};\n"],
5
+ "mappings": ";AAGA,SAAS,eAAe,yBAAyB;AACjD,SAAS,eAAe,yBAAyB;AACjD,SAAS,oBAAoB;AAK7B,OAAO,YAAY;AACnB,SAAS,cAAc;AACvB,OAAO,yCAAyC;AAChD,OAAO,yBAAyB;AAqB9B;AAnBF,IAAM,EAAE,aAAa,WAAW,IAAI,OAAQ,iBAAkB;AAC9D,IAAM,EAAE,kBAAkB,gBAAgB,IAAI,OAAQ,iBAAkB;AAExE,SAAS,qBAAsB,EAAE,SAAS,GAAI;AAC7C,QAAM,EAAE,MAAM,MAAM,IAAI,YAAY;AACpC,QAAM,UAAU,WAAW;AAC3B,QAAM,EAAE,MAAM,WAAW,IAAI,gBAAgB;AAG7C,QAAM,UAAU,MAAM,WAAW;AACjC,QAAM,kBAAkB,CAAE,mBAAoB;AAC7C,YAAQ;AAAA,MACP,aAAc,MAAM;AAAA,QACnB,SAAS;AAAA,MACV,CAAE;AAAA,IACH;AAAA,EACD;AAEA,SACC;AAAA,IAAC;AAAA;AAAA,MACA,MAAO;AAAA,MACP,cAAe;AAAA,MACf,UAAW,SAAS;AAAA,MAEpB;AAAA;AAAA,EACD;AAEF;AAEA,SAAS,kBAAmB,EAAE,SAAS,GAAI;AAC1C,QAAM,EAAE,MAAM,IAAI,YAAY;AAE9B,MAAK,MAAM,YAAY,aAAc;AACpC,WAAO,oBAAC,wBAAqB,UAAsB;AAAA,EACpD;AAEA,SAAO,oBAAC,UAAO;AAChB;AAEO,IAAM,cAAc;AAAA,EAC1B,MAAM;AAAA,EACN,MAAM;AAAA,EACN,OAAO;AAAA,IACN,SAAS,oBAAC,uBAAoB;AAAA,IAC9B,SAAS,oBAAC,uCAAoC,UAAS,KAAI;AAAA,IAC3D,SAAS,CAAE,EAAE,SAAS,MACrB,oBAAC,qBAAkB,UAAsB;AAAA,IAE1C,eAAe,oBAAC,uBAAoB;AAAA,EACrC;AAAA,EACA,QAAQ;AAAA,IACP,SAAS;AAAA,EACV;AACD;",
6
6
  "names": []
7
7
  }
@@ -1,11 +1,10 @@
1
1
  // packages/edit-site/src/components/site-hub/index.js
2
- import clsx from "clsx";
3
2
  import { useSelect } from "@wordpress/data";
4
- import { Button, __experimentalHStack as HStack } from "@wordpress/components";
3
+ import { Button } from "@wordpress/components";
5
4
  import { __, isRTL } from "@wordpress/i18n";
6
5
  import { store as coreStore } from "@wordpress/core-data";
7
6
  import { memo, forwardRef, useContext } from "@wordpress/element";
8
- import { Icon, chevronLeft, chevronRight } from "@wordpress/icons";
7
+ import { chevronLeft, chevronRight } from "@wordpress/icons";
9
8
  import { privateApis as routerPrivateApis } from "@wordpress/router";
10
9
  import { store as editSiteStore } from "../../store/index.mjs";
11
10
  import { unlock } from "../../lock-unlock.mjs";
@@ -13,7 +12,7 @@ import { SidebarNavigationContext } from "../sidebar/index.mjs";
13
12
  import { jsx } from "react/jsx-runtime";
14
13
  var { useLocation, useHistory } = unlock(routerPrivateApis);
15
14
  var SiteHubMobile = memo(
16
- forwardRef(({ isTransparent }, ref) => {
15
+ forwardRef((props, ref) => {
17
16
  const { path } = useLocation();
18
17
  const history = useHistory();
19
18
  const { navigate } = useContext(SidebarNavigationContext);
@@ -50,37 +49,16 @@ var SiteHubMobile = memo(
50
49
  navigate("back");
51
50
  } : void 0
52
51
  };
53
- return /* @__PURE__ */ jsx("div", { className: "edit-site-site-hub", children: /* @__PURE__ */ jsx(HStack, { justify: "flex-start", spacing: "0", children: /* @__PURE__ */ jsx(
54
- "div",
52
+ return /* @__PURE__ */ jsx("div", { className: "edit-site-site-hub", children: /* @__PURE__ */ jsx(
53
+ Button,
55
54
  {
56
- className: clsx(
57
- "edit-site-site-hub__view-mode-toggle-container",
58
- {
59
- "has-transparent-background": isTransparent
60
- }
61
- ),
62
- children: /* @__PURE__ */ jsx(
63
- Button,
64
- {
65
- __next40pxDefaultSize: true,
66
- ref,
67
- className: "edit-site-layout__view-mode-toggle",
68
- style: {
69
- transform: "scale(0.5)",
70
- borderRadius: 4
71
- },
72
- ...backButtonProps,
73
- children: /* @__PURE__ */ jsx(
74
- Icon,
75
- {
76
- icon: isRTL() ? chevronRight : chevronLeft,
77
- size: 48
78
- }
79
- )
80
- }
81
- )
55
+ size: "compact",
56
+ ref,
57
+ className: "edit-site-site-hub__back-button",
58
+ icon: isRTL() ? chevronRight : chevronLeft,
59
+ ...backButtonProps
82
60
  }
83
- ) }) });
61
+ ) });
84
62
  })
85
63
  );
86
64
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/components/site-hub/index.js"],
4
- "sourcesContent": ["/**\n * External dependencies\n */\nimport clsx from 'clsx';\n\n/**\n * WordPress dependencies\n */\nimport { useSelect } from '@wordpress/data';\nimport { Button, __experimentalHStack as HStack } from '@wordpress/components';\nimport { __, isRTL } from '@wordpress/i18n';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { memo, forwardRef, useContext } from '@wordpress/element';\nimport { Icon, chevronLeft, chevronRight } from '@wordpress/icons';\nimport { privateApis as routerPrivateApis } from '@wordpress/router';\n\n/**\n * Internal dependencies\n */\nimport { store as editSiteStore } from '../../store';\nimport { unlock } from '../../lock-unlock';\nimport { SidebarNavigationContext } from '../sidebar';\nconst { useLocation, useHistory } = unlock( routerPrivateApis );\n\nexport const SiteHubMobile = memo(\n\tforwardRef( ( { isTransparent }, ref ) => {\n\t\tconst { path } = useLocation();\n\t\tconst history = useHistory();\n\t\tconst { navigate } = useContext( SidebarNavigationContext );\n\n\t\tconst {\n\t\t\tdashboardLink,\n\t\t\tisBlockTheme,\n\t\t\tisClassicThemeWithStyleBookSupport,\n\t\t} = useSelect( ( select ) => {\n\t\t\tconst { getSettings } = unlock( select( editSiteStore ) );\n\t\t\tconst { getCurrentTheme } = select( coreStore );\n\t\t\tconst currentTheme = getCurrentTheme();\n\t\t\tconst settings = getSettings();\n\t\t\tconst supportsEditorStyles =\n\t\t\t\tcurrentTheme?.theme_supports[ 'editor-styles' ];\n\t\t\t// This is a temp solution until the has_theme_json value is available for the current theme.\n\t\t\tconst hasThemeJson = settings.supportsLayout;\n\n\t\t\treturn {\n\t\t\t\tdashboardLink: settings.__experimentalDashboardLink,\n\t\t\t\tisBlockTheme: currentTheme?.is_block_theme,\n\t\t\t\tisClassicThemeWithStyleBookSupport:\n\t\t\t\t\t! currentTheme?.is_block_theme &&\n\t\t\t\t\t( supportsEditorStyles || hasThemeJson ),\n\t\t\t};\n\t\t}, [] );\n\n\t\tlet backPath;\n\n\t\t// If the current path is not the root page, find a page to back to.\n\t\tif ( path !== '/' ) {\n\t\t\tif ( isBlockTheme || isClassicThemeWithStyleBookSupport ) {\n\t\t\t\t// If the current theme is a block theme or a classic theme that supports StyleBook,\n\t\t\t\t// back to the Design screen.\n\t\t\t\tbackPath = '/';\n\t\t\t} else if ( path !== '/pattern' ) {\n\t\t\t\t// If the current theme is a classic theme that does not support StyleBook,\n\t\t\t\t// back to the Patterns page.\n\t\t\t\tbackPath = '/pattern';\n\t\t\t}\n\t\t}\n\n\t\tconst backButtonProps = {\n\t\t\thref: !! backPath ? undefined : dashboardLink,\n\t\t\tlabel: !! backPath\n\t\t\t\t? __( 'Go to Site Editor' )\n\t\t\t\t: __( 'Go to the Dashboard' ),\n\t\t\tonClick: !! backPath\n\t\t\t\t? () => {\n\t\t\t\t\t\thistory.navigate( backPath );\n\t\t\t\t\t\tnavigate( 'back' );\n\t\t\t\t }\n\t\t\t\t: undefined,\n\t\t};\n\n\t\treturn (\n\t\t\t<div className=\"edit-site-site-hub\">\n\t\t\t\t<HStack justify=\"flex-start\" spacing=\"0\">\n\t\t\t\t\t<div\n\t\t\t\t\t\tclassName={ clsx(\n\t\t\t\t\t\t\t'edit-site-site-hub__view-mode-toggle-container',\n\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t'has-transparent-background': isTransparent,\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t) }\n\t\t\t\t\t>\n\t\t\t\t\t\t<Button\n\t\t\t\t\t\t\t__next40pxDefaultSize\n\t\t\t\t\t\t\tref={ ref }\n\t\t\t\t\t\t\tclassName=\"edit-site-layout__view-mode-toggle\"\n\t\t\t\t\t\t\tstyle={ {\n\t\t\t\t\t\t\t\ttransform: 'scale(0.5)',\n\t\t\t\t\t\t\t\tborderRadius: 4,\n\t\t\t\t\t\t\t} }\n\t\t\t\t\t\t\t{ ...backButtonProps }\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<Icon\n\t\t\t\t\t\t\t\ticon={ isRTL() ? chevronRight : chevronLeft }\n\t\t\t\t\t\t\t\tsize={ 48 }\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</Button>\n\t\t\t\t\t</div>\n\t\t\t\t</HStack>\n\t\t\t</div>\n\t\t);\n\t} )\n);\n"],
5
- "mappings": ";AAGA,OAAO,UAAU;AAKjB,SAAS,iBAAiB;AAC1B,SAAS,QAAQ,wBAAwB,cAAc;AACvD,SAAS,IAAI,aAAa;AAC1B,SAAS,SAAS,iBAAiB;AACnC,SAAS,MAAM,YAAY,kBAAkB;AAC7C,SAAS,MAAM,aAAa,oBAAoB;AAChD,SAAS,eAAe,yBAAyB;AAKjD,SAAS,SAAS,qBAAqB;AACvC,SAAS,cAAc;AACvB,SAAS,gCAAgC;AAiFlC;AAhFP,IAAM,EAAE,aAAa,WAAW,IAAI,OAAQ,iBAAkB;AAEvD,IAAM,gBAAgB;AAAA,EAC5B,WAAY,CAAE,EAAE,cAAc,GAAG,QAAS;AACzC,UAAM,EAAE,KAAK,IAAI,YAAY;AAC7B,UAAM,UAAU,WAAW;AAC3B,UAAM,EAAE,SAAS,IAAI,WAAY,wBAAyB;AAE1D,UAAM;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD,IAAI,UAAW,CAAE,WAAY;AAC5B,YAAM,EAAE,YAAY,IAAI,OAAQ,OAAQ,aAAc,CAAE;AACxD,YAAM,EAAE,gBAAgB,IAAI,OAAQ,SAAU;AAC9C,YAAM,eAAe,gBAAgB;AACrC,YAAM,WAAW,YAAY;AAC7B,YAAM,uBACL,cAAc,eAAgB,eAAgB;AAE/C,YAAM,eAAe,SAAS;AAE9B,aAAO;AAAA,QACN,eAAe,SAAS;AAAA,QACxB,cAAc,cAAc;AAAA,QAC5B,oCACC,CAAE,cAAc,mBACd,wBAAwB;AAAA,MAC5B;AAAA,IACD,GAAG,CAAC,CAAE;AAEN,QAAI;AAGJ,QAAK,SAAS,KAAM;AACnB,UAAK,gBAAgB,oCAAqC;AAGzD,mBAAW;AAAA,MACZ,WAAY,SAAS,YAAa;AAGjC,mBAAW;AAAA,MACZ;AAAA,IACD;AAEA,UAAM,kBAAkB;AAAA,MACvB,MAAM,CAAC,CAAE,WAAW,SAAY;AAAA,MAChC,OAAO,CAAC,CAAE,WACP,GAAI,mBAAoB,IACxB,GAAI,qBAAsB;AAAA,MAC7B,SAAS,CAAC,CAAE,WACT,MAAM;AACN,gBAAQ,SAAU,QAAS;AAC3B,iBAAU,MAAO;AAAA,MACjB,IACA;AAAA,IACJ;AAEA,WACC,oBAAC,SAAI,WAAU,sBACd,8BAAC,UAAO,SAAQ,cAAa,SAAQ,KACpC;AAAA,MAAC;AAAA;AAAA,QACA,WAAY;AAAA,UACX;AAAA,UACA;AAAA,YACC,8BAA8B;AAAA,UAC/B;AAAA,QACD;AAAA,QAEA;AAAA,UAAC;AAAA;AAAA,YACA,uBAAqB;AAAA,YACrB;AAAA,YACA,WAAU;AAAA,YACV,OAAQ;AAAA,cACP,WAAW;AAAA,cACX,cAAc;AAAA,YACf;AAAA,YACE,GAAG;AAAA,YAEL;AAAA,cAAC;AAAA;AAAA,gBACA,MAAO,MAAM,IAAI,eAAe;AAAA,gBAChC,MAAO;AAAA;AAAA,YACR;AAAA;AAAA,QACD;AAAA;AAAA,IACD,GACD,GACD;AAAA,EAEF,CAAE;AACH;",
4
+ "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { useSelect } from '@wordpress/data';\nimport { Button } from '@wordpress/components';\nimport { __, isRTL } from '@wordpress/i18n';\nimport { store as coreStore } from '@wordpress/core-data';\nimport { memo, forwardRef, useContext } from '@wordpress/element';\nimport { chevronLeft, chevronRight } from '@wordpress/icons';\nimport { privateApis as routerPrivateApis } from '@wordpress/router';\n\n/**\n * Internal dependencies\n */\nimport { store as editSiteStore } from '../../store';\nimport { unlock } from '../../lock-unlock';\nimport { SidebarNavigationContext } from '../sidebar';\nconst { useLocation, useHistory } = unlock( routerPrivateApis );\n\nexport const SiteHubMobile = memo(\n\tforwardRef( ( props, ref ) => {\n\t\tconst { path } = useLocation();\n\t\tconst history = useHistory();\n\t\tconst { navigate } = useContext( SidebarNavigationContext );\n\n\t\tconst {\n\t\t\tdashboardLink,\n\t\t\tisBlockTheme,\n\t\t\tisClassicThemeWithStyleBookSupport,\n\t\t} = useSelect( ( select ) => {\n\t\t\tconst { getSettings } = unlock( select( editSiteStore ) );\n\t\t\tconst { getCurrentTheme } = select( coreStore );\n\t\t\tconst currentTheme = getCurrentTheme();\n\t\t\tconst settings = getSettings();\n\t\t\tconst supportsEditorStyles =\n\t\t\t\tcurrentTheme?.theme_supports[ 'editor-styles' ];\n\t\t\t// This is a temp solution until the has_theme_json value is available for the current theme.\n\t\t\tconst hasThemeJson = settings.supportsLayout;\n\n\t\t\treturn {\n\t\t\t\tdashboardLink: settings.__experimentalDashboardLink,\n\t\t\t\tisBlockTheme: currentTheme?.is_block_theme,\n\t\t\t\tisClassicThemeWithStyleBookSupport:\n\t\t\t\t\t! currentTheme?.is_block_theme &&\n\t\t\t\t\t( supportsEditorStyles || hasThemeJson ),\n\t\t\t};\n\t\t}, [] );\n\n\t\tlet backPath;\n\n\t\t// If the current path is not the root page, find a page to back to.\n\t\tif ( path !== '/' ) {\n\t\t\tif ( isBlockTheme || isClassicThemeWithStyleBookSupport ) {\n\t\t\t\t// If the current theme is a block theme or a classic theme that supports StyleBook,\n\t\t\t\t// back to the Design screen.\n\t\t\t\tbackPath = '/';\n\t\t\t} else if ( path !== '/pattern' ) {\n\t\t\t\t// If the current theme is a classic theme that does not support StyleBook,\n\t\t\t\t// back to the Patterns page.\n\t\t\t\tbackPath = '/pattern';\n\t\t\t}\n\t\t}\n\n\t\tconst backButtonProps = {\n\t\t\thref: !! backPath ? undefined : dashboardLink,\n\t\t\tlabel: !! backPath\n\t\t\t\t? __( 'Go to Site Editor' )\n\t\t\t\t: __( 'Go to the Dashboard' ),\n\t\t\tonClick: !! backPath\n\t\t\t\t? () => {\n\t\t\t\t\t\thistory.navigate( backPath );\n\t\t\t\t\t\tnavigate( 'back' );\n\t\t\t\t }\n\t\t\t\t: undefined,\n\t\t};\n\n\t\treturn (\n\t\t\t<div className=\"edit-site-site-hub\">\n\t\t\t\t<Button\n\t\t\t\t\tsize=\"compact\"\n\t\t\t\t\tref={ ref }\n\t\t\t\t\tclassName=\"edit-site-site-hub__back-button\"\n\t\t\t\t\ticon={ isRTL() ? chevronRight : chevronLeft }\n\t\t\t\t\t{ ...backButtonProps }\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t} )\n);\n"],
5
+ "mappings": ";AAGA,SAAS,iBAAiB;AAC1B,SAAS,cAAc;AACvB,SAAS,IAAI,aAAa;AAC1B,SAAS,SAAS,iBAAiB;AACnC,SAAS,MAAM,YAAY,kBAAkB;AAC7C,SAAS,aAAa,oBAAoB;AAC1C,SAAS,eAAe,yBAAyB;AAKjD,SAAS,SAAS,qBAAqB;AACvC,SAAS,cAAc;AACvB,SAAS,gCAAgC;AA8DrC;AA7DJ,IAAM,EAAE,aAAa,WAAW,IAAI,OAAQ,iBAAkB;AAEvD,IAAM,gBAAgB;AAAA,EAC5B,WAAY,CAAE,OAAO,QAAS;AAC7B,UAAM,EAAE,KAAK,IAAI,YAAY;AAC7B,UAAM,UAAU,WAAW;AAC3B,UAAM,EAAE,SAAS,IAAI,WAAY,wBAAyB;AAE1D,UAAM;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD,IAAI,UAAW,CAAE,WAAY;AAC5B,YAAM,EAAE,YAAY,IAAI,OAAQ,OAAQ,aAAc,CAAE;AACxD,YAAM,EAAE,gBAAgB,IAAI,OAAQ,SAAU;AAC9C,YAAM,eAAe,gBAAgB;AACrC,YAAM,WAAW,YAAY;AAC7B,YAAM,uBACL,cAAc,eAAgB,eAAgB;AAE/C,YAAM,eAAe,SAAS;AAE9B,aAAO;AAAA,QACN,eAAe,SAAS;AAAA,QACxB,cAAc,cAAc;AAAA,QAC5B,oCACC,CAAE,cAAc,mBACd,wBAAwB;AAAA,MAC5B;AAAA,IACD,GAAG,CAAC,CAAE;AAEN,QAAI;AAGJ,QAAK,SAAS,KAAM;AACnB,UAAK,gBAAgB,oCAAqC;AAGzD,mBAAW;AAAA,MACZ,WAAY,SAAS,YAAa;AAGjC,mBAAW;AAAA,MACZ;AAAA,IACD;AAEA,UAAM,kBAAkB;AAAA,MACvB,MAAM,CAAC,CAAE,WAAW,SAAY;AAAA,MAChC,OAAO,CAAC,CAAE,WACP,GAAI,mBAAoB,IACxB,GAAI,qBAAsB;AAAA,MAC7B,SAAS,CAAC,CAAE,WACT,MAAM;AACN,gBAAQ,SAAU,QAAS;AAC3B,iBAAU,MAAO;AAAA,MACjB,IACA;AAAA,IACJ;AAEA,WACC,oBAAC,SAAI,WAAU,sBACd;AAAA,MAAC;AAAA;AAAA,QACA,MAAK;AAAA,QACL;AAAA,QACA,WAAU;AAAA,QACV,MAAO,MAAM,IAAI,eAAe;AAAA,QAC9B,GAAG;AAAA;AAAA,IACN,GACD;AAAA,EAEF,CAAE;AACH;",
6
6
  "names": []
7
7
  }
@@ -238,6 +238,10 @@
238
238
  transition: padding ease-out 0.1s;
239
239
  }
240
240
  }
241
+ .dataviews__search {
242
+ flex-grow: 1;
243
+ }
244
+
241
245
  .dataviews-no-results,
242
246
  .dataviews-loading {
243
247
  padding: 0 var(--wpds-dimension-padding-2xl, 24px);
@@ -288,7 +292,7 @@
288
292
  }
289
293
  .dataviews-title-field {
290
294
  font-size: var(--wpds-typography-font-size-md, 13px);
291
- font-weight: var(--wpds-typography-font-weight-medium, 499);
295
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
292
296
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
293
297
  text-overflow: ellipsis;
294
298
  white-space: nowrap;
@@ -488,7 +492,7 @@
488
492
  }
489
493
 
490
494
  .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip .dataviews-filters-__summary-filter-text-name {
491
- font-weight: var(--wpds-typography-font-weight-medium, 499);
495
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
492
496
  }
493
497
 
494
498
  .dataviews-filters__summary-chip-container .dataviews-filters__summary-chip-remove {
@@ -541,7 +545,7 @@
541
545
  }
542
546
 
543
547
  .dataviews-filters__search-widget-filter-combobox-list .dataviews-filters__search-widget-filter-combobox-item-value [data-user-value] {
544
- font-weight: 600;
548
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
545
549
  }
546
550
 
547
551
  .dataviews-filters__search-widget-listbox {
@@ -558,10 +562,11 @@
558
562
  padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-md, 12px);
559
563
  cursor: default;
560
564
  min-height: var(--wpds-dimension-size-md, 32px);
561
- font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
562
- font-weight: 400;
565
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
566
+ font-weight: var(--wpds-typography-font-weight-default, 400);
563
567
  font-size: 13px;
564
568
  line-height: 20px;
569
+ color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
565
570
  }
566
571
 
567
572
  .dataviews-filters__search-widget-listitem:last-child {
@@ -570,6 +575,7 @@
570
575
 
571
576
  .dataviews-filters__search-widget-listitem:hover, .dataviews-filters__search-widget-listitem[data-active-item], .dataviews-filters__search-widget-listitem:focus {
572
577
  background-color: var(--wpds-color-background-interactive-brand-weak-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 12%, white));
578
+ color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
573
579
  }
574
580
 
575
581
  .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-single-selection, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-single-selection {
@@ -592,6 +598,10 @@
592
598
  background: var(--wpds-color-background-interactive-brand-strong-active, color-mix(in oklch, var(--wp-admin-theme-color, #3858e9) 93%, black));
593
599
  }
594
600
 
601
+ .dataviews-filters__search-widget-listitem:hover .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem[data-active-item] .dataviews-filters__search-widget-listitem-description, .dataviews-filters__search-widget-listitem:focus .dataviews-filters__search-widget-listitem-description {
602
+ color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
603
+ }
604
+
595
605
  .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-value {
596
606
  overflow: hidden;
597
607
  text-overflow: ellipsis;
@@ -605,7 +615,7 @@
605
615
  text-overflow: ellipsis;
606
616
  font-size: var(--wpds-typography-font-size-sm, 12px);
607
617
  line-height: 16px;
608
- color: var(--wpds-color-foreground-content-neutral-weak, #707070);
618
+ color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
609
619
  }
610
620
 
611
621
  .dataviews-filters__search-widget-listitem .dataviews-filters__search-widget-listitem-single-selection {
@@ -700,7 +710,7 @@
700
710
  margin-left: 12px;
701
711
  transition: none;
702
712
  border-radius: 2px;
703
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
713
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
704
714
  padding: 6px 8px;
705
715
  /* Fonts smaller than 16px causes mobile safari to zoom. */
706
716
  font-size: 16px;
@@ -835,7 +845,7 @@
835
845
  }
836
846
 
837
847
  .dataviews-filters__search-widget-filter-combobox__wrapper .dataviews-filters__search-widget-filter-combobox__input {
838
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
848
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
839
849
  padding: 6px 8px;
840
850
  /* Fonts smaller than 16px causes mobile safari to zoom. */
841
851
  font-size: 16px;
@@ -944,8 +954,7 @@
944
954
  }
945
955
 
946
956
  .dataviews-search {
947
- width: -moz-fit-content;
948
- width: fit-content;
957
+ flex-basis: 210px;
949
958
  }
950
959
 
951
960
  .dataviews-filters__user-input-widget {
@@ -1010,14 +1019,14 @@
1010
1019
  }
1011
1020
  .dataviews-pagination__page-select {
1012
1021
  font-size: 11px;
1013
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1022
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1014
1023
  text-transform: uppercase;
1015
1024
  }
1016
1025
 
1017
1026
  @media (min-width: 600px) {
1018
1027
  .dataviews-pagination__page-select .components-select-control__input {
1019
1028
  font-size: 11px !important;
1020
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1029
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1021
1030
  }
1022
1031
  }
1023
1032
  .dataviews-action-modal {
@@ -1422,7 +1431,7 @@
1422
1431
 
1423
1432
  .dataviews-view-grid__group-header {
1424
1433
  font-size: var(--wpds-typography-font-size-lg, 15px);
1425
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1434
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1426
1435
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1427
1436
  margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
1428
1437
  padding: 0 var(--wpds-dimension-padding-2xl, 24px);
@@ -1716,9 +1725,9 @@ div.dataviews-view-list {
1716
1725
  }
1717
1726
  .dataviews-view-list__group-header {
1718
1727
  font-size: var(--wpds-typography-font-size-lg, 15px);
1719
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1728
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1720
1729
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
1721
- margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
1730
+ margin: 0 0 var(--wpds-dimension-gap-lg, 16px) 0;
1722
1731
  padding: 0 var(--wpds-dimension-padding-2xl, 24px);
1723
1732
  }
1724
1733
 
@@ -1861,7 +1870,7 @@ div.dataviews-view-list {
1861
1870
  padding-bottom: var(--wpds-dimension-padding-sm, 8px);
1862
1871
  font-size: 11px;
1863
1872
  text-transform: uppercase;
1864
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1873
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1865
1874
  }
1866
1875
 
1867
1876
  .dataviews-view-table thead th:has(.dataviews-view-table-header-button) {
@@ -1909,7 +1918,7 @@ div.dataviews-view-list {
1909
1918
  padding: var(--wpds-dimension-padding-xs, 4px) var(--wpds-dimension-padding-sm, 8px);
1910
1919
  font-size: 11px;
1911
1920
  text-transform: uppercase;
1912
- font-weight: var(--wpds-typography-font-weight-medium, 499);
1921
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
1913
1922
  }
1914
1923
 
1915
1924
  .dataviews-view-table .dataviews-view-table-header-button:not(:hover) {
@@ -2002,7 +2011,7 @@ div.dataviews-view-list {
2002
2011
  }
2003
2012
 
2004
2013
  .dataviews-view-table__group-header-row .dataviews-view-table__group-header-cell {
2005
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2014
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2006
2015
  padding: var(--wpds-dimension-padding-md, 12px) var(--wpds-dimension-padding-2xl, 24px);
2007
2016
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2008
2017
  }
@@ -2183,7 +2192,7 @@ div.dataviews-view-list {
2183
2192
 
2184
2193
  .dataviews-view-picker-grid-group__header {
2185
2194
  font-size: var(--wpds-typography-font-size-lg, 15px);
2186
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2195
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2187
2196
  color: var(--wpds-color-foreground-content-neutral, #1e1e1e);
2188
2197
  margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2189
2198
  padding: 0 48px;
@@ -2233,7 +2242,7 @@ div.dataviews-view-list {
2233
2242
 
2234
2243
  .dataviews-view-activity .dataviews-view-activity__group-header {
2235
2244
  font-size: var(--wpds-typography-font-size-lg, 15px);
2236
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2245
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2237
2246
  color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2238
2247
  margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2239
2248
  padding: 0;
@@ -2604,7 +2613,7 @@ div.dataviews-view-list {
2604
2613
 
2605
2614
  .dataviews-view-picker-activity .dataviews-view-picker-activity-group__header {
2606
2615
  font-size: var(--wpds-typography-font-size-lg, 15px);
2607
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2616
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2608
2617
  color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2609
2618
  margin: 0 0 var(--wpds-dimension-gap-sm, 8px) 0;
2610
2619
  padding: 0;
@@ -2648,6 +2657,11 @@ div.dataviews-view-list {
2648
2657
  align-self: flex-end;
2649
2658
  }
2650
2659
 
2660
+ .dataviews-controls__richtext [data-rich-text-placeholder]::after {
2661
+ content: attr(data-rich-text-placeholder);
2662
+ color: color-mix(in srgb, currentColor, transparent 38%);
2663
+ }
2664
+
2651
2665
  .dataviews-controls__datetime {
2652
2666
  border: none;
2653
2667
  padding: 0;
@@ -2724,7 +2738,7 @@ div.dataviews-view-list {
2724
2738
 
2725
2739
  .dataforms-layouts-panel__field-trigger.is-disabled .dataforms-layouts-panel__field-control {
2726
2740
  color: var(--wpds-color-foreground-content-neutral-weak, #707070);
2727
- font-weight: var(--wpds-typography-font-weight-regular, 400);
2741
+ font-weight: var(--wpds-typography-font-weight-default, 400);
2728
2742
  }
2729
2743
 
2730
2744
  .dataforms-layouts-panel__field-trigger--edit-always .dataforms-layouts-panel__field-trigger-icon {
@@ -2800,7 +2814,7 @@ div.dataviews-view-list {
2800
2814
  padding-inline: var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px));
2801
2815
  margin-inline: calc(-1 * var(--wpds-border-width-focus, var(--wp-admin-border-width-focus, 2px)));
2802
2816
  word-break: break-word;
2803
- font-weight: var(--wpds-typography-font-weight-medium, 499);
2817
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
2804
2818
  }
2805
2819
 
2806
2820
  .dataforms-layouts-panel__field-control > * {
@@ -2919,8 +2933,8 @@ div.dataviews-view-list {
2919
2933
  }
2920
2934
 
2921
2935
  .dataforms-layouts__wrapper {
2922
- font-family: -apple-system, "system-ui", "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2923
- font-weight: 400;
2936
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
2937
+ font-weight: var(--wpds-typography-font-weight-default, 400);
2924
2938
  font-size: 13px;
2925
2939
  line-height: 20px;
2926
2940
  }
@@ -3465,7 +3479,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3465
3479
  }
3466
3480
 
3467
3481
  .fields-controls__slug .fields-controls__slug-help .fields-controls__slug-help-slug {
3468
- font-weight: 600;
3482
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3469
3483
  }
3470
3484
 
3471
3485
  .fields-controls__featured-image-image,
@@ -3627,7 +3641,7 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3627
3641
 
3628
3642
  .font-library-modal .font-library__subtitle {
3629
3643
  text-transform: uppercase;
3630
- font-weight: 499;
3644
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3631
3645
  font-size: 11px;
3632
3646
  }
3633
3647
 
@@ -3678,20 +3692,24 @@ fieldset.fields__media-edit .fields__media-edit-expanded:not(.is-empty) .fields_
3678
3692
 
3679
3693
  .font-library__page-selection {
3680
3694
  font-size: 11px;
3681
- font-weight: 499;
3695
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3682
3696
  text-transform: uppercase;
3683
3697
  }
3684
3698
 
3685
3699
  @media (min-width: 600px) {
3686
- .font-library__page-selection .font-library__page-selection-trigger {
3700
+ .font-library__page-selection .components-select-control__input {
3687
3701
  font-size: 11px !important;
3688
- font-weight: 499;
3702
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3689
3703
  }
3690
3704
  }
3705
+ .font-library__search {
3706
+ width: 240px;
3707
+ }
3708
+
3691
3709
  .font-library__fonts-title {
3692
3710
  text-transform: uppercase;
3693
3711
  font-size: 11px;
3694
- font-weight: 600;
3712
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3695
3713
  margin-top: 0;
3696
3714
  margin-bottom: 0;
3697
3715
  }
@@ -3928,7 +3946,7 @@ button.font-library__upload-area {
3928
3946
 
3929
3947
  .global-styles-ui-screen-revisions__description .global-styles-ui-screen-revisions__date {
3930
3948
  text-transform: uppercase;
3931
- font-weight: 600;
3949
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
3932
3950
  font-size: 12px;
3933
3951
  }
3934
3952
 
@@ -4113,13 +4131,13 @@ button.font-library__upload-area {
4113
4131
  .global-styles-ui-subtitle {
4114
4132
  margin-bottom: 0 !important;
4115
4133
  text-transform: uppercase;
4116
- font-weight: 499 !important;
4134
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600) !important;
4117
4135
  font-size: 11px !important;
4118
4136
  }
4119
4137
 
4120
4138
  .global-styles-ui-section-title {
4121
4139
  color: #2f2f2f;
4122
- font-weight: 600;
4140
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
4123
4141
  line-height: 1.2;
4124
4142
  padding: 16px 16px 0;
4125
4143
  margin: 0;
@@ -4456,6 +4474,7 @@ button.font-library__upload-area {
4456
4474
  }
4457
4475
 
4458
4476
  .edit-site-canvas-loader {
4477
+ --wp-components-color-foreground: var(--color);
4459
4478
  width: 100%;
4460
4479
  height: 100%;
4461
4480
  display: flex;
@@ -4472,9 +4491,6 @@ button.font-library__upload-area {
4472
4491
  animation-fill-mode: forwards;
4473
4492
  }
4474
4493
  }
4475
- .edit-site-canvas-loader > div {
4476
- width: 160px;
4477
- }
4478
4494
 
4479
4495
  @keyframes edit-site-canvas-loader__fade-in-animation {
4480
4496
  from {
@@ -4639,52 +4655,6 @@ button.font-library__upload-area {
4639
4655
  justify-content: center;
4640
4656
  }
4641
4657
 
4642
- .edit-site-editor__view-mode-toggle {
4643
- view-transition-name: toggle;
4644
- position: relative;
4645
- top: 0;
4646
- right: 0;
4647
- height: 32px;
4648
- width: 32px;
4649
- z-index: 100;
4650
- }
4651
- .edit-site-editor__view-mode-toggle .components-button {
4652
- color: #fff;
4653
- height: 100%;
4654
- width: 100%;
4655
- border-radius: 0;
4656
- overflow: hidden;
4657
- padding: 0;
4658
- display: flex;
4659
- align-items: center;
4660
- justify-content: center;
4661
- }
4662
- .edit-site-editor__view-mode-toggle .components-button:hover, .edit-site-editor__view-mode-toggle .components-button:active {
4663
- color: #fff;
4664
- }
4665
- .edit-site-editor__view-mode-toggle .components-button:focus {
4666
- box-shadow: none;
4667
- }
4668
- .edit-site-editor__view-mode-toggle:hover .edit-site-editor__back-icon {
4669
- color: var(--wp-admin-theme-color);
4670
- }
4671
-
4672
- .edit-site-editor__back-icon {
4673
- position: absolute;
4674
- top: 0;
4675
- right: 0;
4676
- width: 32px;
4677
- height: 32px;
4678
- display: flex;
4679
- align-items: center;
4680
- justify-content: center;
4681
- background-color: transparent;
4682
- pointer-events: none;
4683
- }
4684
- .edit-site-editor__back-icon svg {
4685
- fill: currentColor;
4686
- }
4687
-
4688
4658
  .edit-site-welcome-guide {
4689
4659
  width: 312px;
4690
4660
  }
@@ -4709,7 +4679,7 @@ button.font-library__upload-area {
4709
4679
  object-fit: cover;
4710
4680
  }
4711
4681
  .edit-site-welcome-guide__heading {
4712
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4682
+ font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
4713
4683
  font-size: 24px;
4714
4684
  line-height: 1.4;
4715
4685
  margin: 16px 0 16px 0;
@@ -4890,56 +4860,6 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
4890
4860
  animation: none !important;
4891
4861
  }
4892
4862
  }
4893
- .edit-site-layout.is-full-canvas .edit-site-layout__sidebar-region .edit-site-layout__view-mode-toggle {
4894
- display: none;
4895
- }
4896
-
4897
- .edit-site-layout__view-mode-toggle.components-button {
4898
- view-transition-name: toggle;
4899
- position: relative;
4900
- color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
4901
- height: 64px;
4902
- width: 64px;
4903
- overflow: hidden;
4904
- padding: 0;
4905
- display: flex;
4906
- align-items: center;
4907
- justify-content: center;
4908
- background: var(--wpds-color-background-surface-neutral-weak, #f4f4f4);
4909
- border-radius: 0;
4910
- }
4911
- .edit-site-layout__view-mode-toggle.components-button:hover, .edit-site-layout__view-mode-toggle.components-button:active {
4912
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
4913
- }
4914
- .edit-site-layout__view-mode-toggle.components-button:focus-visible, .edit-site-layout__view-mode-toggle.components-button:focus {
4915
- box-shadow: 0 0 0 3px #1e1e1e, 0 0 0 6px var(--wp-admin-theme-color);
4916
- outline: 4px solid rgba(0, 0, 0, 0);
4917
- outline-offset: 4px;
4918
- }
4919
- .edit-site-layout__view-mode-toggle.components-button::before {
4920
- content: "";
4921
- display: block;
4922
- position: absolute;
4923
- top: 9px;
4924
- left: 9px;
4925
- bottom: 9px;
4926
- right: 17px;
4927
- border-radius: 4px;
4928
- box-shadow: none;
4929
- }
4930
- @media not (prefers-reduced-motion) {
4931
- .edit-site-layout__view-mode-toggle.components-button::before {
4932
- transition: box-shadow 0.1s ease;
4933
- }
4934
- }
4935
- .edit-site-layout__view-mode-toggle.components-button .edit-site-layout__view-mode-toggle-icon {
4936
- display: flex;
4937
- height: 64px;
4938
- width: 64px;
4939
- justify-content: center;
4940
- align-items: center;
4941
- }
4942
-
4943
4863
  .edit-site-layout__actions {
4944
4864
  z-index: 100000;
4945
4865
  position: fixed !important;
@@ -5112,14 +5032,9 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5112
5032
  color: var(--wpds-color-foreground-interactive-neutral, #1e1e1e);
5113
5033
  flex-shrink: 0;
5114
5034
  }
5115
- .edit-site-sidebar-button:focus:not(:disabled) {
5116
- box-shadow: none;
5035
+ .edit-site-sidebar-button:focus:not(:focus-visible) {
5117
5036
  outline: none;
5118
5037
  }
5119
- .edit-site-sidebar-button:focus-visible:not(:disabled) {
5120
- box-shadow: 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
5121
- outline: 3px solid transparent;
5122
- }
5123
5038
  .edit-site-sidebar-button:hover:not(:disabled, [aria-disabled=true]), .edit-site-sidebar-button:focus-visible, .edit-site-sidebar-button:focus, .edit-site-sidebar-button:not(:disabled, [aria-disabled=true]):active, .edit-site-sidebar-button[aria-expanded=true] {
5124
5039
  color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5125
5040
  }
@@ -5131,17 +5046,18 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5131
5046
  min-height: 40px;
5132
5047
  }
5133
5048
  .edit-site-sidebar-navigation-item.components-item:hover, .edit-site-sidebar-navigation-item.components-item:focus, .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
5134
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5049
+ color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5135
5050
  }
5136
5051
  .edit-site-sidebar-navigation-item.components-item:hover .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item:focus .edit-site-sidebar-navigation-item__drilldown-indicator, .edit-site-sidebar-navigation-item.components-item[aria-current=true] .edit-site-sidebar-navigation-item__drilldown-indicator {
5137
- fill: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5052
+ fill: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5138
5053
  }
5139
5054
  .edit-site-sidebar-navigation-item.components-item[aria-current=true] {
5140
5055
  background: var(--wpds-color-background-interactive-neutral-weak-active, #ededed);
5141
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5142
- font-weight: 499;
5056
+ color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5057
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5143
5058
  }
5144
5059
  .edit-site-sidebar-navigation-item.components-item:focus-visible {
5060
+ --wp-components-color-accent: var(--wpds-color-stroke-focus, var(--wp-admin-theme-color, #3858e9));
5145
5061
  transform: translateZ(0);
5146
5062
  }
5147
5063
  .edit-site-sidebar-navigation-item.components-item .edit-site-sidebar-navigation-item__drilldown-indicator {
@@ -5295,7 +5211,7 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5295
5211
  }
5296
5212
  .edit-site-sidebar-navigation-screen-patterns__group-header h2 {
5297
5213
  font-size: 11px;
5298
- font-weight: 499;
5214
+ font-weight: var(--wpds-typography-font-weight-emphasis, 600);
5299
5215
  text-transform: uppercase;
5300
5216
  }
5301
5217
 
@@ -5326,13 +5242,13 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5326
5242
  color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
5327
5243
  }
5328
5244
  .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:hover, .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button:focus, .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block-select-button[aria-current] {
5329
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5245
+ color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5330
5246
  }
5331
5247
  .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu {
5332
5248
  color: var(--wpds-color-foreground-interactive-neutral-weak, #707070);
5333
5249
  }
5334
5250
  .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu:hover, .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-list-view-block__menu:focus {
5335
- color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5251
+ color: var(--wpds-color-foreground-interactive-neutral-weak-active, #1e1e1e);
5336
5252
  }
5337
5253
  .edit-site-sidebar-navigation-screen-navigation-menus__content .block-editor-inserter__toggle {
5338
5254
  background: var(--wpds-color-background-interactive-brand-strong, var(--wp-admin-theme-color, #3858e9));
@@ -5371,19 +5287,12 @@ html.canvas-mode-edit-transition::view-transition-group(toggle) {
5371
5287
  .edit-site-site-hub {
5372
5288
  display: flex;
5373
5289
  align-items: center;
5374
- justify-content: space-between;
5375
- gap: 8px;
5376
- margin-left: 12px;
5290
+ padding-right: 16px;
5377
5291
  height: 64px;
5378
5292
  }
5379
5293
 
5380
- .edit-site-site-hub__view-mode-toggle-container {
5381
- height: 64px;
5382
- width: 64px;
5383
- flex-shrink: 0;
5384
- }
5385
- .edit-site-site-hub__view-mode-toggle-container.has-transparent-background .edit-site-layout__view-mode-toggle-icon {
5386
- background: transparent;
5294
+ .edit-site-site-hub__back-button:hover:not(:disabled, [aria-disabled=true]), .edit-site-site-hub__back-button:active:not(:disabled, [aria-disabled=true]) {
5295
+ color: var(--wpds-color-foreground-interactive-neutral-active, #1e1e1e);
5387
5296
  }
5388
5297
 
5389
5298
  .fields-controls__password {