@wordpress/boot 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/build-module/components/canvas/back-button.mjs +9 -67
- package/build-module/components/canvas/back-button.mjs.map +3 -3
- package/build-module/components/navigation/navigation-item/index.mjs +3 -3
- package/build-module/components/navigation/navigation-item/index.mjs.map +2 -2
- package/build-module/components/root/index.mjs +6 -3
- package/build-module/components/root/index.mjs.map +2 -2
- package/build-module/components/root/single-page.mjs +6 -3
- package/build-module/components/root/single-page.mjs.map +2 -2
- package/build-module/components/root/use-sync-body-background.mjs +26 -0
- package/build-module/components/root/use-sync-body-background.mjs.map +7 -0
- package/build-module/components/sidebar/index.mjs +4 -6
- package/build-module/components/sidebar/index.mjs.map +2 -2
- package/build-module/index.mjs +6 -6
- package/build-module/index.mjs.map +2 -2
- package/build-style/style-rtl.css +6 -453
- package/build-style/style.css +6 -453
- package/build-style/view-transitions-rtl.css +0 -13
- package/build-style/view-transitions.css +0 -13
- package/build-types/components/app/index.d.ts +2 -2
- package/build-types/components/app/index.d.ts.map +1 -1
- package/build-types/components/app/router.d.ts +1 -1
- package/build-types/components/app/router.d.ts.map +1 -1
- package/build-types/components/canvas/back-button.d.ts +1 -8
- package/build-types/components/canvas/back-button.d.ts.map +1 -1
- package/build-types/components/canvas-renderer/index.d.ts +1 -1
- package/build-types/components/canvas-renderer/index.d.ts.map +1 -1
- package/build-types/components/navigation/drilldown-item/index.d.ts +2 -2
- package/build-types/components/navigation/drilldown-item/index.d.ts.map +1 -1
- package/build-types/components/navigation/dropdown-item/index.d.ts +1 -1
- package/build-types/components/navigation/dropdown-item/index.d.ts.map +1 -1
- package/build-types/components/navigation/navigation-item/index.d.ts +1 -1
- package/build-types/components/navigation/navigation-item/index.d.ts.map +1 -1
- package/build-types/components/navigation/navigation-screen/index.d.ts +2 -2
- package/build-types/components/navigation/navigation-screen/index.d.ts.map +1 -1
- package/build-types/components/root/index.d.ts.map +1 -1
- package/build-types/components/root/single-page.d.ts.map +1 -1
- package/build-types/components/root/use-sync-body-background.d.ts +13 -0
- package/build-types/components/root/use-sync-body-background.d.ts.map +1 -0
- package/build-types/components/save-panel/use-save-shortcut.d.ts +1 -1
- package/build-types/components/save-panel/use-save-shortcut.d.ts.map +1 -1
- package/build-types/components/sidebar/index.d.ts +0 -5
- package/build-types/components/sidebar/index.d.ts.map +1 -1
- package/package.json +28 -28
- package/src/components/canvas/back-button.tsx +9 -77
- package/src/components/navigation/navigation-item/style.scss +2 -2
- package/src/components/root/index.tsx +4 -0
- package/src/components/root/single-page.tsx +4 -0
- package/src/components/root/style.scss +15 -1
- package/src/components/root/use-sync-body-background.ts +41 -0
- package/src/components/sidebar/index.tsx +1 -9
- package/src/components/sidebar/style.scss +1 -1
- package/src/style.scss +0 -2
- package/src/view-transitions.scss +0 -18
- package/build-module/components/site-hub/index.mjs +0 -78
- package/build-module/components/site-hub/index.mjs.map +0 -7
- package/build-module/components/site-icon/index.mjs +0 -57
- package/build-module/components/site-icon/index.mjs.map +0 -7
- package/build-module/components/site-icon-link/index.mjs +0 -53
- package/build-module/components/site-icon-link/index.mjs.map +0 -7
- package/build-style/experimental-omnibar-rtl.css +0 -37
- package/build-style/experimental-omnibar.css +0 -37
- package/build-types/components/site-hub/index.d.ts +0 -4
- package/build-types/components/site-hub/index.d.ts.map +0 -1
- package/build-types/components/site-icon/index.d.ts +0 -9
- package/build-types/components/site-icon/index.d.ts.map +0 -1
- package/build-types/components/site-icon-link/index.d.ts +0 -8
- package/build-types/components/site-icon-link/index.d.ts.map +0 -1
- package/src/components/canvas/back-button.scss +0 -67
- package/src/components/site-hub/index.tsx +0 -77
- package/src/components/site-hub/style.scss +0 -69
- package/src/components/site-icon/index.tsx +0 -60
- package/src/components/site-icon/style.scss +0 -19
- package/src/components/site-icon-link/index.tsx +0 -57
- package/src/components/site-icon-link/style.scss +0 -24
- package/src/experimental-omnibar.scss +0 -48
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../src/style.scss", "../src/view-transitions.scss", "../src/index.tsx"],
|
|
4
|
-
"sourcesContent": ["if (typeof document !== 'undefined' && process.env.NODE_ENV !== 'test' && !document.head.querySelector(\"style[data-wp-hash='7b8d694406']\")) {\n\tconst style = document.createElement(\"style\");\n\tstyle.setAttribute(\"data-wp-hash\", \"7b8d694406\");\n\tstyle.appendChild(document.createTextNode(\":root{--wpds-border-radius-xs:1px;--wpds-border-radius-sm:2px;--wpds-border-radius-md:4px;--wpds-border-radius-lg:8px;--wpds-border-radius-xl:12px;--wpds-border-width-xs:1px;--wpds-border-width-sm:2px;--wpds-border-width-md:4px;--wpds-border-width-lg:8px;--wpds-border-width-focus:2px;--wpds-color-background-surface-neutral:#fcfcfc;--wpds-color-background-surface-neutral-strong:#fff;--wpds-color-background-surface-neutral-weak:#f4f4f4;--wpds-color-background-surface-brand:#ecf0fa;--wpds-color-background-surface-success:#c6f7cd;--wpds-color-background-surface-success-weak:#ebffed;--wpds-color-background-surface-info:#deebfa;--wpds-color-background-surface-info-weak:#f3f9ff;--wpds-color-background-surface-warning:#fde6be;--wpds-color-background-surface-warning-weak:#fff7e1;--wpds-color-background-surface-caution:#fee995;--wpds-color-background-surface-caution-weak:#fff9ca;--wpds-color-background-surface-error:#f6e6e3;--wpds-color-background-surface-error-weak:#fff6f5;--wpds-color-background-interactive-neutral-strong:#2d2d2d;--wpds-color-background-interactive-neutral-strong-active:#1e1e1e;--wpds-color-background-interactive-neutral-strong-disabled:#e6e6e6;--wpds-color-background-interactive-neutral-weak:#0000;--wpds-color-background-interactive-neutral-weak-active:#ededed;--wpds-color-background-interactive-neutral-weak-disabled:#0000;--wpds-color-background-interactive-brand-strong:#3858e9;--wpds-color-background-interactive-brand-strong-active:#2e49d9;--wpds-color-background-interactive-brand-strong-disabled:#e6e6e6;--wpds-color-background-interactive-brand-weak:#0000;--wpds-color-background-interactive-brand-weak-active:#e6eaf4;--wpds-color-background-interactive-brand-weak-disabled:#0000;--wpds-color-background-interactive-error:#0000;--wpds-color-background-interactive-error-active:#fff6f5;--wpds-color-background-interactive-error-disabled:#0000;--wpds-color-background-interactive-error-strong:#cc1818;--wpds-color-background-interactive-error-strong-active:#b90000;--wpds-color-background-interactive-error-strong-disabled:#e6e6e6;--wpds-color-background-interactive-error-weak:#0000;--wpds-color-background-interactive-error-weak-active:#f6e6e3;--wpds-color-background-interactive-error-weak-disabled:#0000;--wpds-color-background-track-neutral-weak:#f0f0f0;--wpds-color-background-track-neutral:#dbdbdb;--wpds-color-background-thumb-neutral-weak:#8d8d8d;--wpds-color-background-thumb-neutral-weak-active:#6e6e6e;--wpds-color-background-thumb-brand:#3858e9;--wpds-color-background-thumb-brand-active:#3858e9;--wpds-color-background-thumb-neutral-disabled:#dbdbdb;--wpds-color-foreground-content-neutral:#1e1e1e;--wpds-color-foreground-content-neutral-weak:#707070;--wpds-color-foreground-content-success:#002900;--wpds-color-foreground-content-success-weak:#008030;--wpds-color-foreground-content-info:#001b4f;--wpds-color-foreground-content-info-weak:#006bd7;--wpds-color-foreground-content-warning:#2e1900;--wpds-color-foreground-content-warning-weak:#926300;--wpds-color-foreground-content-caution:#281d00;--wpds-color-foreground-content-caution-weak:#826a00;--wpds-color-foreground-content-error:#470000;--wpds-color-foreground-content-error-weak:#cc1818;--wpds-color-foreground-interactive-neutral:#1e1e1e;--wpds-color-foreground-interactive-neutral-active:#1e1e1e;--wpds-color-foreground-interactive-neutral-disabled:#8d8d8d;--wpds-color-foreground-interactive-neutral-strong:#f0f0f0;--wpds-color-foreground-interactive-neutral-strong-active:#f0f0f0;--wpds-color-foreground-interactive-neutral-strong-disabled:#8d8d8d;--wpds-color-foreground-interactive-neutral-weak:#707070;--wpds-color-foreground-interactive-neutral-weak-disabled:#8d8d8d;--wpds-color-foreground-interactive-brand:#3858e9;--wpds-color-foreground-interactive-brand-active:#0b0070;--wpds-color-foreground-interactive-brand-disabled:#8d8d8d;--wpds-color-foreground-interactive-brand-strong:#eff0f2;--wpds-color-foreground-interactive-brand-strong-active:#eff0f2;--wpds-color-foreground-interactive-brand-strong-disabled:#8d8d8d;--wpds-color-foreground-interactive-error:#cc1818;--wpds-color-foreground-interactive-error-active:#470000;--wpds-color-foreground-interactive-error-disabled:#8d8d8d;--wpds-color-foreground-interactive-error-strong:#f2efef;--wpds-color-foreground-interactive-error-strong-active:#f2efef;--wpds-color-foreground-interactive-error-strong-disabled:#8d8d8d;--wpds-color-stroke-surface-neutral:#dbdbdb;--wpds-color-stroke-surface-neutral-weak:#f0f0f0;--wpds-color-stroke-surface-neutral-strong:#8d8d8d;--wpds-color-stroke-surface-brand:#b0bbd6;--wpds-color-stroke-surface-brand-strong:#3858e9;--wpds-color-stroke-surface-success:#94d29e;--wpds-color-stroke-surface-success-strong:#008030;--wpds-color-stroke-surface-info:#a9c6e7;--wpds-color-stroke-surface-info-strong:#006bd7;--wpds-color-stroke-surface-warning:#e1bc7c;--wpds-color-stroke-surface-warning-strong:#926300;--wpds-color-stroke-surface-caution:#cfc28d;--wpds-color-stroke-surface-caution-strong:#826a00;--wpds-color-stroke-surface-error:#dab1aa;--wpds-color-stroke-surface-error-strong:#cc1818;--wpds-color-stroke-interactive-neutral:#8d8d8d;--wpds-color-stroke-interactive-neutral-active:#6e6e6e;--wpds-color-stroke-interactive-neutral-disabled:#dbdbdb;--wpds-color-stroke-interactive-neutral-strong:#6e6e6e;--wpds-color-stroke-interactive-brand:#3858e9;--wpds-color-stroke-interactive-brand-active:#2337c8;--wpds-color-stroke-interactive-brand-disabled:#dbdbdb;--wpds-color-stroke-interactive-error:#cc1818;--wpds-color-stroke-interactive-error-active:#9d0000;--wpds-color-stroke-interactive-error-disabled:#dbdbdb;--wpds-color-stroke-interactive-error-strong:#cc1818;--wpds-color-stroke-focus:#3858e9;--wpds-cursor-control:pointer;--wpds-dimension-padding-xs:4px;--wpds-dimension-padding-sm:8px;--wpds-dimension-padding-md:12px;--wpds-dimension-padding-lg:16px;--wpds-dimension-padding-xl:20px;--wpds-dimension-padding-2xl:24px;--wpds-dimension-padding-3xl:32px;--wpds-dimension-gap-xs:4px;--wpds-dimension-gap-sm:8px;--wpds-dimension-gap-md:12px;--wpds-dimension-gap-lg:16px;--wpds-dimension-gap-xl:24px;--wpds-dimension-gap-2xl:32px;--wpds-dimension-gap-3xl:40px;--wpds-dimension-size-5xs:4px;--wpds-dimension-size-4xs:8px;--wpds-dimension-size-3xs:12px;--wpds-dimension-size-2xs:16px;--wpds-dimension-size-xs:20px;--wpds-dimension-size-sm:24px;--wpds-dimension-size-md:32px;--wpds-dimension-size-lg:40px;--wpds-dimension-surface-width-xs:240px;--wpds-dimension-surface-width-sm:320px;--wpds-dimension-surface-width-md:400px;--wpds-dimension-surface-width-lg:560px;--wpds-dimension-surface-width-xl:720px;--wpds-dimension-surface-width-2xl:960px;--wpds-elevation-xs:0 1px 1px 0 #00000008,0 1px 2px 0 #00000005,0 3px 3px 0 #00000005,0 4px 4px 0 #00000003;--wpds-elevation-sm:0 1px 2px 0 #0000000d,0 2px 3px 0 #0000000a,0 6px 6px 0 #00000008,0 8px 8px 0 #00000005;--wpds-elevation-md:0 2px 3px 0 #0000000d,0 4px 5px 0 #0000000a,0 12px 12px 0 #00000008,0 16px 16px 0 #00000005;--wpds-elevation-lg:0 5px 15px 0 #00000014,0 15px 27px 0 #00000012,0 30px 36px 0 #0000000a,0 50px 43px 0 #00000005;--wpds-motion-duration-xs:50ms;--wpds-motion-duration-sm:100ms;--wpds-motion-duration-md:200ms;--wpds-motion-duration-lg:300ms;--wpds-motion-duration-xl:400ms;--wpds-motion-easing-subtle:cubic-bezier(0.15,0,0.15,1);--wpds-motion-easing-balanced:cubic-bezier(0.4,0,0.2,1);--wpds-motion-easing-expressive:cubic-bezier(0.25,0,0,1);--wpds-typography-font-family-heading:-apple-system,system-ui,\\\"Segoe UI\\\",\\\"Roboto\\\",\\\"Oxygen-Sans\\\",\\\"Ubuntu\\\",\\\"Cantarell\\\",\\\"Helvetica Neue\\\",sans-serif;--wpds-typography-font-family-body:-apple-system,system-ui,\\\"Segoe UI\\\",\\\"Roboto\\\",\\\"Oxygen-Sans\\\",\\\"Ubuntu\\\",\\\"Cantarell\\\",\\\"Helvetica Neue\\\",sans-serif;--wpds-typography-font-family-mono:\\\"Menlo\\\",\\\"Consolas\\\",monaco,monospace;--wpds-typography-font-size-xs:11px;--wpds-typography-font-size-sm:12px;--wpds-typography-font-size-md:13px;--wpds-typography-font-size-lg:15px;--wpds-typography-font-size-xl:20px;--wpds-typography-font-size-2xl:32px;--wpds-typography-line-height-xs:16px;--wpds-typography-line-height-sm:20px;--wpds-typography-line-height-md:24px;--wpds-typography-line-height-lg:28px;--wpds-typography-line-height-xl:32px;--wpds-typography-line-height-2xl:40px;--wpds-typography-font-weight-regular:400;--wpds-typography-font-weight-medium:499}@media (-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wpds-border-width-focus:1.5px}}:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=none]),[data-wpds-corner-radius=none]{--wpds-border-radius-xs:0;--wpds-border-radius-sm:0;--wpds-border-radius-md:0;--wpds-border-radius-lg:0;--wpds-border-radius-xl:0}:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=subtle]),[data-wpds-corner-radius=subtle]{--wpds-border-radius-xs:1px;--wpds-border-radius-sm:2px;--wpds-border-radius-md:4px;--wpds-border-radius-lg:8px;--wpds-border-radius-xl:12px}:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=moderate]),[data-wpds-corner-radius=moderate]{--wpds-border-radius-xs:6px;--wpds-border-radius-sm:8px;--wpds-border-radius-md:12px;--wpds-border-radius-lg:16px;--wpds-border-radius-xl:20px}:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=pronounced]),[data-wpds-corner-radius=pronounced]{--wpds-border-radius-xs:18px;--wpds-border-radius-sm:20px;--wpds-border-radius-md:22px;--wpds-border-radius-lg:24px;--wpds-border-radius-xl:26px}body.has-admin-bar-in-editor #wpadminbar{display:block}body.has-admin-bar-in-editor .boot-canvas-back-button__link{background:transparent}body.has-admin-bar-in-editor .boot-canvas-back-button__icon{background-color:transparent}body.has-admin-bar-in-editor #site-editor-v2-app{bottom:0;height:calc(100vh - 32px)!important;left:0;position:fixed;right:0;top:32px}body.has-admin-bar-in-editor .boot-layout.has-full-canvas .boot-layout__canvas{height:calc(100vh - 32px);top:32px}@media (max-width:782px){body.has-admin-bar-in-editor #site-editor-v2-app{height:calc(100vh - 46px)!important;top:46px}body.has-admin-bar-in-editor .boot-layout.has-full-canvas .boot-layout__canvas,body.has-admin-bar-in-editor .boot-layout__canvas:not(.has-mobile-drawer),body.has-admin-bar-in-editor .boot-layout__inspector,body.has-admin-bar-in-editor .boot-layout__stage{height:calc(100vh - 46px);top:46px}body.has-admin-bar-in-editor .boot-layout__mobile-sidebar-drawer{top:46px}}@media (min-width:600px){.boot-layout-container .boot-layout{bottom:0;left:0;min-height:calc(100vh - 46px);position:absolute;right:0;top:0}}@media (min-width:782px){.boot-layout-container .boot-layout{min-height:calc(100vh - 32px)}body:has(.boot-layout.has-full-canvas) .boot-layout-container .boot-layout{min-height:100vh}}.boot-layout-container .boot-layout img{height:auto;max-width:100%}.boot-layout .boot-notices__snackbar{bottom:24px;box-sizing:border-box;display:flex;flex-direction:column;left:0;padding-inline:16px;pointer-events:none;position:fixed;right:0}.boot-layout .boot-notices__snackbar .components-snackbar{margin-inline:auto}\"));\n\tdocument.head.appendChild(style);\n}\n", "if (typeof document !== 'undefined' && process.env.NODE_ENV !== 'test' && !document.head.querySelector(\"style[data-wp-hash='e529861242']\")) {\n\tconst style = document.createElement(\"style\");\n\tstyle.setAttribute(\"data-wp-hash\", \"e529861242\");\n\tstyle.appendChild(document.createTextNode(\"@media (max-width:782px){*{view-transition-name:none!important}}::view-transition-new(root),::view-transition-old(root){animation-duration:.25s}@media not (prefers-reduced-motion:reduce){.boot-layout__canvas .interface-interface-skeleton__header{view-transition-name:boot--canvas-header}.boot-layout__canvas .interface-interface-skeleton__sidebar{view-transition-name:boot--canvas-sidebar}.boot-layout.has-full-canvas .boot-layout__canvas .boot-site-icon-link,.boot-layout:not(.has-full-canvas) .boot-site-hub .boot-site-icon-link{view-transition-name:boot--site-icon-link}.boot-layout__stage{view-transition-name:boot--stage}.boot-layout__inspector{view-transition-name:boot--inspector}.boot-layout__canvas.is-full-canvas .interface-interface-skeleton__content,.boot-layout__canvas:not(.is-full-canvas){view-transition-name:boot--canvas}@supports (-webkit-hyphens:none) and (not (-moz-appearance:none)){.boot-layout__stage{view-transition-name:boot-safari--stage}.boot-layout__inspector{view-transition-name:boot-safari--inspector}.boot-layout__canvas.is-full-canvas .interface-interface-skeleton__content,.boot-layout__canvas:not(.is-full-canvas){view-transition-name:boot-safari--canvas}}.components-popover:first-of-type{view-transition-name:boot--components-popover}}::view-transition-group(boot--canvas),::view-transition-group(boot--canvas-header),::view-transition-group(boot--canvas-sidebar),::view-transition-group(boot-safari--canvas){z-index:1}::view-transition-group(boot--site-icon-link){z-index:2}::view-transition-new(boot--site-icon-link),::view-transition-old(boot--site-icon-link){animation:none}::view-transition-new(boot-safari--canvas),::view-transition-new(boot-safari--inspector),::view-transition-new(boot-safari--stage),::view-transition-old(boot-safari--canvas),::view-transition-old(boot-safari--inspector),::view-transition-old(boot-safari--stage){width:auto}::view-transition-new(boot--canvas),::view-transition-new(boot--inspector),::view-transition-new(boot--stage),::view-transition-old(boot--canvas),::view-transition-old(boot--inspector),::view-transition-old(boot--stage){background:#fff;border-radius:var(--wpds-border-radius-xl,12px);height:100%;object-fit:none;object-position:left top;overflow:hidden;width:100%}::view-transition-new(boot--canvas),::view-transition-old(boot--canvas){object-position:center top}::view-transition-old(boot--inspector):only-child,::view-transition-old(boot--stage):only-child,::view-transition-old(boot-safari--inspector):only-child,::view-transition-old(boot-safari--stage):only-child{animation-name:zoomOut;will-change:transform,opacity}::view-transition-new(boot--inspector):only-child,::view-transition-new(boot--stage):only-child,::view-transition-new(boot-safari--inspector):only-child,::view-transition-new(boot-safari--stage):only-child{animation-name:zoomIn;will-change:transform,opacity}@keyframes zoomOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}@keyframes zoomIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}::view-transition-new(boot--canvas):only-child,::view-transition-new(boot-safari--canvas):only-child{animation-name:slideFromRight;will-change:transform}::view-transition-old(boot--canvas):only-child,::view-transition-old(boot-safari--canvas):only-child{animation-name:slideToRight;will-change:transform}@keyframes slideFromRight{0%{transform:translateX(100vw)}to{transform:translateX(0)}}@keyframes slideToRight{0%{transform:translateX(0)}to{transform:translateX(100vw)}}::view-transition-new(boot--canvas-header):only-child{animation-name:slideHeaderFromTop;will-change:transform}::view-transition-old(boot--canvas-header):only-child{animation-name:slideHeaderToTop;will-change:transform}@keyframes slideHeaderFromTop{0%{transform:translateY(-100%)}}@keyframes slideHeaderToTop{to{transform:translateY(-100%)}}::view-transition-new(boot--canvas-sidebar):only-child{animation-name:slideSidebarFromRight;will-change:transform}::view-transition-old(boot--canvas-sidebar):only-child{animation-name:slideSidebarToRight;will-change:transform}@keyframes slideSidebarFromRight{0%{transform:translateX(100%)}}@keyframes slideSidebarToRight{to{transform:translateX(100%)}}\"));\n\tdocument.head.appendChild(style);\n}\n", "/**\n * Internal dependencies\n */\nimport './style.scss';\nimport './view-transitions.scss';\nexport { init, initSinglePage } from './components/app';\nexport { store } from './store';\n"],
|
|
5
|
-
"mappings": ";AAAA,IAAI,OAAO,aAAa,eAAe,QAAQ,IAAI,aAAa,UAAU,CAAC,SAAS,KAAK,cAAc,kCAAkC,GAAG;AAC3I,QAAM,QAAQ,SAAS,cAAc,OAAO;AAC5C,QAAM,aAAa,gBAAgB,YAAY;AAC/C,QAAM,YAAY,SAAS,eAAe,
|
|
4
|
+
"sourcesContent": ["if (typeof document !== 'undefined' && process.env.NODE_ENV !== 'test' && !document.head.querySelector(\"style[data-wp-hash='54fd778906']\")) {\n\tconst style = document.createElement(\"style\");\n\tstyle.setAttribute(\"data-wp-hash\", \"54fd778906\");\n\tstyle.appendChild(document.createTextNode(\"@media (min-width:600px){.boot-layout-container .boot-layout{bottom:0;left:0;min-height:calc(100vh - 46px);position:absolute;right:0;top:0}}@media (min-width:782px){.boot-layout-container .boot-layout{min-height:calc(100vh - 32px)}body:has(.boot-layout.has-full-canvas) .boot-layout-container .boot-layout{min-height:100vh}}.boot-layout-container .boot-layout img{height:auto;max-width:100%}.boot-layout .boot-notices__snackbar{bottom:24px;box-sizing:border-box;display:flex;flex-direction:column;left:0;padding-inline:16px;pointer-events:none;position:fixed;right:0}.boot-layout .boot-notices__snackbar .components-snackbar{margin-inline:auto}\"));\n\tdocument.head.appendChild(style);\n}\n", "if (typeof document !== 'undefined' && process.env.NODE_ENV !== 'test' && !document.head.querySelector(\"style[data-wp-hash='28f077581a']\")) {\n\tconst style = document.createElement(\"style\");\n\tstyle.setAttribute(\"data-wp-hash\", \"28f077581a\");\n\tstyle.appendChild(document.createTextNode(\"@media (max-width:782px){*{view-transition-name:none!important}}::view-transition-new(root),::view-transition-old(root){animation-duration:.25s}@media not (prefers-reduced-motion:reduce){.boot-layout__canvas .interface-interface-skeleton__header{view-transition-name:boot--canvas-header}.boot-layout__canvas .interface-interface-skeleton__sidebar{view-transition-name:boot--canvas-sidebar}.boot-layout__stage{view-transition-name:boot--stage}.boot-layout__inspector{view-transition-name:boot--inspector}.boot-layout__canvas.is-full-canvas .interface-interface-skeleton__content,.boot-layout__canvas:not(.is-full-canvas){view-transition-name:boot--canvas}@supports (-webkit-hyphens:none) and (not (-moz-appearance:none)){.boot-layout__stage{view-transition-name:boot-safari--stage}.boot-layout__inspector{view-transition-name:boot-safari--inspector}.boot-layout__canvas.is-full-canvas .interface-interface-skeleton__content,.boot-layout__canvas:not(.is-full-canvas){view-transition-name:boot-safari--canvas}}.components-popover:first-of-type{view-transition-name:boot--components-popover}}::view-transition-group(boot--canvas),::view-transition-group(boot--canvas-header),::view-transition-group(boot--canvas-sidebar),::view-transition-group(boot-safari--canvas){z-index:1}::view-transition-new(boot-safari--canvas),::view-transition-new(boot-safari--inspector),::view-transition-new(boot-safari--stage),::view-transition-old(boot-safari--canvas),::view-transition-old(boot-safari--inspector),::view-transition-old(boot-safari--stage){width:auto}::view-transition-new(boot--canvas),::view-transition-new(boot--inspector),::view-transition-new(boot--stage),::view-transition-old(boot--canvas),::view-transition-old(boot--inspector),::view-transition-old(boot--stage){background:#fff;border-radius:var(--wpds-border-radius-xl,12px);height:100%;object-fit:none;object-position:left top;overflow:hidden;width:100%}::view-transition-new(boot--canvas),::view-transition-old(boot--canvas){object-position:center top}::view-transition-old(boot--inspector):only-child,::view-transition-old(boot--stage):only-child,::view-transition-old(boot-safari--inspector):only-child,::view-transition-old(boot-safari--stage):only-child{animation-name:zoomOut;will-change:transform,opacity}::view-transition-new(boot--inspector):only-child,::view-transition-new(boot--stage):only-child,::view-transition-new(boot-safari--inspector):only-child,::view-transition-new(boot-safari--stage):only-child{animation-name:zoomIn;will-change:transform,opacity}@keyframes zoomOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.9)}}@keyframes zoomIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}::view-transition-new(boot--canvas):only-child,::view-transition-new(boot-safari--canvas):only-child{animation-name:slideFromRight;will-change:transform}::view-transition-old(boot--canvas):only-child,::view-transition-old(boot-safari--canvas):only-child{animation-name:slideToRight;will-change:transform}@keyframes slideFromRight{0%{transform:translateX(100vw)}to{transform:translateX(0)}}@keyframes slideToRight{0%{transform:translateX(0)}to{transform:translateX(100vw)}}::view-transition-new(boot--canvas-header):only-child{animation-name:slideHeaderFromTop;will-change:transform}::view-transition-old(boot--canvas-header):only-child{animation-name:slideHeaderToTop;will-change:transform}@keyframes slideHeaderFromTop{0%{transform:translateY(-100%)}}@keyframes slideHeaderToTop{to{transform:translateY(-100%)}}::view-transition-new(boot--canvas-sidebar):only-child{animation-name:slideSidebarFromRight;will-change:transform}::view-transition-old(boot--canvas-sidebar):only-child{animation-name:slideSidebarToRight;will-change:transform}@keyframes slideSidebarFromRight{0%{transform:translateX(100%)}}@keyframes slideSidebarToRight{to{transform:translateX(100%)}}\"));\n\tdocument.head.appendChild(style);\n}\n", "/**\n * Internal dependencies\n */\nimport './style.scss';\nimport './view-transitions.scss';\nexport { init, initSinglePage } from './components/app';\nexport { store } from './store';\n"],
|
|
5
|
+
"mappings": ";AAAA,IAAI,OAAO,aAAa,eAAe,QAAQ,IAAI,aAAa,UAAU,CAAC,SAAS,KAAK,cAAc,kCAAkC,GAAG;AAC3I,QAAM,QAAQ,SAAS,cAAc,OAAO;AAC5C,QAAM,aAAa,gBAAgB,YAAY;AAC/C,QAAM,YAAY,SAAS,eAAe,soBAAsoB,CAAC;AACjrB,WAAS,KAAK,YAAY,KAAK;AAChC;;;ACLA,IAAI,OAAO,aAAa,eAAe,QAAQ,IAAI,aAAa,UAAU,CAAC,SAAS,KAAK,cAAc,kCAAkC,GAAG;AAC3I,QAAM,QAAQ,SAAS,cAAc,OAAO;AAC5C,QAAM,aAAa,gBAAgB,YAAY;AAC/C,QAAM,YAAY,SAAS,eAAe,qxHAAqxH,CAAC;AACh0H,WAAS,KAAK,YAAY,KAAK;AAChC;;;ACAA,SAAS,MAAM,sBAAsB;AACrC,SAAS,aAAa;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,418 +1,3 @@
|
|
|
1
|
-
@charset "UTF-8";
|
|
2
|
-
/* -------------------------------------------
|
|
3
|
-
* Autogenerated by ⛋ Terrazzo. DO NOT EDIT!
|
|
4
|
-
* ------------------------------------------- */
|
|
5
|
-
:root {
|
|
6
|
-
/* Buttons and other elements nested inside controls. */
|
|
7
|
-
--wpds-border-radius-xs: 1px;
|
|
8
|
-
/* Standalone buttons, inputs, and compact controls. */
|
|
9
|
-
--wpds-border-radius-sm: 2px;
|
|
10
|
-
/* Menus, popovers, and other small portaled overlays. */
|
|
11
|
-
--wpds-border-radius-md: 4px;
|
|
12
|
-
/* Cards, dialogs, notices, and other larger content containers. */
|
|
13
|
-
--wpds-border-radius-lg: 8px;
|
|
14
|
-
/* Page and app shell surfaces. */
|
|
15
|
-
--wpds-border-radius-xl: 12px;
|
|
16
|
-
/* Extra small width */
|
|
17
|
-
--wpds-border-width-xs: 1px;
|
|
18
|
-
/* Small width */
|
|
19
|
-
--wpds-border-width-sm: 2px;
|
|
20
|
-
/* Medium width */
|
|
21
|
-
--wpds-border-width-md: 4px;
|
|
22
|
-
/* Large width */
|
|
23
|
-
--wpds-border-width-lg: 8px;
|
|
24
|
-
/* Border width for focus ring */
|
|
25
|
-
--wpds-border-width-focus: 2px;
|
|
26
|
-
/* Background color for surfaces with normal emphasis. */
|
|
27
|
-
--wpds-color-background-surface-neutral: #fcfcfc;
|
|
28
|
-
/* Background color for surfaces with strong emphasis. */
|
|
29
|
-
--wpds-color-background-surface-neutral-strong: #fff;
|
|
30
|
-
/* Background color for surfaces with weak emphasis. */
|
|
31
|
-
--wpds-color-background-surface-neutral-weak: #f4f4f4;
|
|
32
|
-
/* Background color for surfaces with brand tone and normal emphasis. */
|
|
33
|
-
--wpds-color-background-surface-brand: #ecf0fa;
|
|
34
|
-
/* Background color for surfaces with success tone and normal emphasis. */
|
|
35
|
-
--wpds-color-background-surface-success: #c6f7cd;
|
|
36
|
-
/* Background color for surfaces with success tone and weak emphasis. */
|
|
37
|
-
--wpds-color-background-surface-success-weak: #ebffed;
|
|
38
|
-
/* Background color for surfaces with info tone and normal emphasis. */
|
|
39
|
-
--wpds-color-background-surface-info: #deebfa;
|
|
40
|
-
/* Background color for surfaces with info tone and weak emphasis. */
|
|
41
|
-
--wpds-color-background-surface-info-weak: #f3f9ff;
|
|
42
|
-
/* Background color for surfaces with warning tone and normal emphasis. */
|
|
43
|
-
--wpds-color-background-surface-warning: #fde6be;
|
|
44
|
-
/* Background color for surfaces with warning tone and weak emphasis. */
|
|
45
|
-
--wpds-color-background-surface-warning-weak: #fff7e1;
|
|
46
|
-
/* Background color for surfaces with caution tone and normal emphasis. */
|
|
47
|
-
--wpds-color-background-surface-caution: #fee995;
|
|
48
|
-
/* Background color for surfaces with caution tone and weak emphasis. */
|
|
49
|
-
--wpds-color-background-surface-caution-weak: #fff9ca;
|
|
50
|
-
/* Background color for surfaces with error tone and normal emphasis. */
|
|
51
|
-
--wpds-color-background-surface-error: #f6e6e3;
|
|
52
|
-
/* Background color for surfaces with error tone and weak emphasis. */
|
|
53
|
-
--wpds-color-background-surface-error-weak: #fff6f5;
|
|
54
|
-
/* Background color for interactive elements with neutral tone and strong emphasis. */
|
|
55
|
-
--wpds-color-background-interactive-neutral-strong: #2d2d2d;
|
|
56
|
-
/* Background color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
57
|
-
--wpds-color-background-interactive-neutral-strong-active: #1e1e1e;
|
|
58
|
-
/* Background color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
|
|
59
|
-
--wpds-color-background-interactive-neutral-strong-disabled: #e6e6e6;
|
|
60
|
-
/* Background color for interactive elements with neutral tone and weak emphasis. */
|
|
61
|
-
--wpds-color-background-interactive-neutral-weak: #0000;
|
|
62
|
-
/* Background color for interactive elements with neutral tone and weak emphasis that are hovered, focused, or active. */
|
|
63
|
-
--wpds-color-background-interactive-neutral-weak-active: #ededed;
|
|
64
|
-
/* Background color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
|
|
65
|
-
--wpds-color-background-interactive-neutral-weak-disabled: #0000;
|
|
66
|
-
/* Background color for interactive elements with brand tone and strong emphasis. */
|
|
67
|
-
--wpds-color-background-interactive-brand-strong: #3858e9;
|
|
68
|
-
/* Background color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
69
|
-
--wpds-color-background-interactive-brand-strong-active: #2e49d9;
|
|
70
|
-
/* Background color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
71
|
-
--wpds-color-background-interactive-brand-strong-disabled: #e6e6e6;
|
|
72
|
-
/* Background color for interactive elements with brand tone and weak emphasis. */
|
|
73
|
-
--wpds-color-background-interactive-brand-weak: #0000;
|
|
74
|
-
/* Background color for interactive elements with brand tone and weak emphasis that are hovered, focused, or active. */
|
|
75
|
-
--wpds-color-background-interactive-brand-weak-active: #e6eaf4;
|
|
76
|
-
/* Background color for interactive elements with brand tone and weak emphasis, in their disabled state. */
|
|
77
|
-
--wpds-color-background-interactive-brand-weak-disabled: #0000;
|
|
78
|
-
/* Background color for interactive elements with error tone and normal emphasis. */
|
|
79
|
-
--wpds-color-background-interactive-error: #0000;
|
|
80
|
-
/* Background color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
81
|
-
--wpds-color-background-interactive-error-active: #fff6f5;
|
|
82
|
-
/* Background color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
83
|
-
--wpds-color-background-interactive-error-disabled: #0000;
|
|
84
|
-
/* Background color for interactive elements with error tone and strong emphasis. */
|
|
85
|
-
--wpds-color-background-interactive-error-strong: #cc1818;
|
|
86
|
-
/* Background color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
87
|
-
--wpds-color-background-interactive-error-strong-active: #b90000;
|
|
88
|
-
/* Background color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
89
|
-
--wpds-color-background-interactive-error-strong-disabled: #e6e6e6;
|
|
90
|
-
/* Background color for interactive elements with error tone and weak emphasis. */
|
|
91
|
-
--wpds-color-background-interactive-error-weak: #0000;
|
|
92
|
-
/* Background color for interactive elements with error tone and weak emphasis that are hovered, focused, or active. */
|
|
93
|
-
--wpds-color-background-interactive-error-weak-active: #f6e6e3;
|
|
94
|
-
/* Background color for interactive elements with error tone and weak emphasis, in their disabled state. */
|
|
95
|
-
--wpds-color-background-interactive-error-weak-disabled: #0000;
|
|
96
|
-
/* Background color for tracks with a neutral tone and weak emphasis (eg. scrollbar track). */
|
|
97
|
-
--wpds-color-background-track-neutral-weak: #f0f0f0;
|
|
98
|
-
/* Background color for tracks with a neutral tone and normal emphasis (eg. slider or progressbar track). */
|
|
99
|
-
--wpds-color-background-track-neutral: #dbdbdb;
|
|
100
|
-
/* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb). */
|
|
101
|
-
--wpds-color-background-thumb-neutral-weak: #8d8d8d;
|
|
102
|
-
/* Background color for thumbs with a neutral tone and weak emphasis (eg. scrollbar thumb) that are hovered, focused, or active. */
|
|
103
|
-
--wpds-color-background-thumb-neutral-weak-active: #6e6e6e;
|
|
104
|
-
/* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track). */
|
|
105
|
-
--wpds-color-background-thumb-brand: #3858e9;
|
|
106
|
-
/* Background color for thumbs with a brand tone and normal emphasis (eg. slider thumb and filled track) that are hovered, focused, or active. */
|
|
107
|
-
--wpds-color-background-thumb-brand-active: #3858e9;
|
|
108
|
-
/* Background color for thumbs with normal emphasis (eg. slider thumb and filled track), in their disabled state, regardless of the tone. */
|
|
109
|
-
--wpds-color-background-thumb-neutral-disabled: #dbdbdb;
|
|
110
|
-
/* Foreground color for content like text with normal emphasis. */
|
|
111
|
-
--wpds-color-foreground-content-neutral: #1e1e1e;
|
|
112
|
-
/* Foreground color for content like text with weak emphasis. */
|
|
113
|
-
--wpds-color-foreground-content-neutral-weak: #707070;
|
|
114
|
-
/* Foreground color for content like text with success tone and normal emphasis. */
|
|
115
|
-
--wpds-color-foreground-content-success: #002900;
|
|
116
|
-
/* Foreground color for content like text with success tone and weak emphasis. */
|
|
117
|
-
--wpds-color-foreground-content-success-weak: #008030;
|
|
118
|
-
/* Foreground color for content like text with info tone and normal emphasis. */
|
|
119
|
-
--wpds-color-foreground-content-info: #001b4f;
|
|
120
|
-
/* Foreground color for content like text with info tone and weak emphasis. */
|
|
121
|
-
--wpds-color-foreground-content-info-weak: #006bd7;
|
|
122
|
-
/* Foreground color for content like text with warning tone and normal emphasis. */
|
|
123
|
-
--wpds-color-foreground-content-warning: #2e1900;
|
|
124
|
-
/* Foreground color for content like text with warning tone and weak emphasis. */
|
|
125
|
-
--wpds-color-foreground-content-warning-weak: #926300;
|
|
126
|
-
/* Foreground color for content like text with caution tone and normal emphasis. */
|
|
127
|
-
--wpds-color-foreground-content-caution: #281d00;
|
|
128
|
-
/* Foreground color for content like text with caution tone and weak emphasis. */
|
|
129
|
-
--wpds-color-foreground-content-caution-weak: #826a00;
|
|
130
|
-
/* Foreground color for content like text with error tone and normal emphasis. */
|
|
131
|
-
--wpds-color-foreground-content-error: #470000;
|
|
132
|
-
/* Foreground color for content like text with error tone and weak emphasis. */
|
|
133
|
-
--wpds-color-foreground-content-error-weak: #cc1818;
|
|
134
|
-
/* Foreground color for interactive elements with neutral tone and normal emphasis. */
|
|
135
|
-
--wpds-color-foreground-interactive-neutral: #1e1e1e;
|
|
136
|
-
/* Foreground color for interactive elements with neutral tone and normal emphasis that are hovered, focused, or active. */
|
|
137
|
-
--wpds-color-foreground-interactive-neutral-active: #1e1e1e;
|
|
138
|
-
/* Foreground color for interactive elements with neutral tone and normal emphasis, in their disabled state. */
|
|
139
|
-
--wpds-color-foreground-interactive-neutral-disabled: #8d8d8d;
|
|
140
|
-
/* Foreground color for interactive elements with neutral tone and strong emphasis. */
|
|
141
|
-
--wpds-color-foreground-interactive-neutral-strong: #f0f0f0;
|
|
142
|
-
/* Foreground color for interactive elements with neutral tone and strong emphasis that are hovered, focused, or active. */
|
|
143
|
-
--wpds-color-foreground-interactive-neutral-strong-active: #f0f0f0;
|
|
144
|
-
/* Foreground color for interactive elements with neutral tone and strong emphasis, in their disabled state. */
|
|
145
|
-
--wpds-color-foreground-interactive-neutral-strong-disabled: #8d8d8d;
|
|
146
|
-
/* Foreground color for interactive elements with neutral tone and weak emphasis. */
|
|
147
|
-
--wpds-color-foreground-interactive-neutral-weak: #707070;
|
|
148
|
-
/* Foreground color for interactive elements with neutral tone and weak emphasis, in their disabled state. */
|
|
149
|
-
--wpds-color-foreground-interactive-neutral-weak-disabled: #8d8d8d;
|
|
150
|
-
/* Foreground color for interactive elements with brand tone and normal emphasis. */
|
|
151
|
-
--wpds-color-foreground-interactive-brand: #3858e9;
|
|
152
|
-
/* Foreground color for interactive elements with brand tone and normal emphasis that are hovered, focused, or active. */
|
|
153
|
-
--wpds-color-foreground-interactive-brand-active: #0b0070;
|
|
154
|
-
/* Foreground color for interactive elements with brand tone and normal emphasis, in their disabled state. */
|
|
155
|
-
--wpds-color-foreground-interactive-brand-disabled: #8d8d8d;
|
|
156
|
-
/* Foreground color for interactive elements with brand tone and strong emphasis. */
|
|
157
|
-
--wpds-color-foreground-interactive-brand-strong: #eff0f2;
|
|
158
|
-
/* Foreground color for interactive elements with brand tone and strong emphasis that are hovered, focused, or active. */
|
|
159
|
-
--wpds-color-foreground-interactive-brand-strong-active: #eff0f2;
|
|
160
|
-
/* Foreground color for interactive elements with brand tone and strong emphasis, in their disabled state. */
|
|
161
|
-
--wpds-color-foreground-interactive-brand-strong-disabled: #8d8d8d;
|
|
162
|
-
/* Foreground color for interactive elements with error tone and normal emphasis. */
|
|
163
|
-
--wpds-color-foreground-interactive-error: #cc1818;
|
|
164
|
-
/* Foreground color for interactive elements with error tone and normal emphasis that are hovered, focused, or active. */
|
|
165
|
-
--wpds-color-foreground-interactive-error-active: #470000;
|
|
166
|
-
/* Foreground color for interactive elements with error tone and normal emphasis, in their disabled state. */
|
|
167
|
-
--wpds-color-foreground-interactive-error-disabled: #8d8d8d;
|
|
168
|
-
/* Foreground color for interactive elements with error tone and strong emphasis. */
|
|
169
|
-
--wpds-color-foreground-interactive-error-strong: #f2efef;
|
|
170
|
-
/* Foreground color for interactive elements with error tone and strong emphasis that are hovered, focused, or active. */
|
|
171
|
-
--wpds-color-foreground-interactive-error-strong-active: #f2efef;
|
|
172
|
-
/* Foreground color for interactive elements with error tone and strong emphasis, in their disabled state. */
|
|
173
|
-
--wpds-color-foreground-interactive-error-strong-disabled: #8d8d8d;
|
|
174
|
-
/* Decorative stroke color used to define neutrally-toned surface boundaries with normal emphasis. */
|
|
175
|
-
--wpds-color-stroke-surface-neutral: #dbdbdb;
|
|
176
|
-
/* Decorative stroke color used to define neutrally-toned surface boundaries with weak emphasis. */
|
|
177
|
-
--wpds-color-stroke-surface-neutral-weak: #f0f0f0;
|
|
178
|
-
/* Decorative stroke color used to define neutrally-toned surface boundaries with strong emphasis. */
|
|
179
|
-
--wpds-color-stroke-surface-neutral-strong: #8d8d8d;
|
|
180
|
-
/* Decorative stroke color used to define brand-toned surface boundaries with normal emphasis. */
|
|
181
|
-
--wpds-color-stroke-surface-brand: #b0bbd6;
|
|
182
|
-
/* Decorative stroke color used to define brand-toned surface boundaries with strong emphasis. */
|
|
183
|
-
--wpds-color-stroke-surface-brand-strong: #3858e9;
|
|
184
|
-
/* Decorative stroke color used to define success-toned surface boundaries with normal emphasis. */
|
|
185
|
-
--wpds-color-stroke-surface-success: #94d29e;
|
|
186
|
-
/* Decorative stroke color used to define success-toned surface boundaries with strong emphasis. */
|
|
187
|
-
--wpds-color-stroke-surface-success-strong: #008030;
|
|
188
|
-
/* Decorative stroke color used to define info-toned surface boundaries with normal emphasis. */
|
|
189
|
-
--wpds-color-stroke-surface-info: #a9c6e7;
|
|
190
|
-
/* Decorative stroke color used to define info-toned surface boundaries with strong emphasis. */
|
|
191
|
-
--wpds-color-stroke-surface-info-strong: #006bd7;
|
|
192
|
-
/* Decorative stroke color used to define warning-toned surface boundaries with normal emphasis. */
|
|
193
|
-
--wpds-color-stroke-surface-warning: #e1bc7c;
|
|
194
|
-
/* Decorative stroke color used to define warning-toned surface boundaries with strong emphasis. */
|
|
195
|
-
--wpds-color-stroke-surface-warning-strong: #926300;
|
|
196
|
-
/* Decorative stroke color used to define caution-toned surface boundaries with normal emphasis. */
|
|
197
|
-
--wpds-color-stroke-surface-caution: #cfc28d;
|
|
198
|
-
/* Decorative stroke color used to define caution-toned surface boundaries with strong emphasis. */
|
|
199
|
-
--wpds-color-stroke-surface-caution-strong: #826a00;
|
|
200
|
-
/* Decorative stroke color used to define error-toned surface boundaries with normal emphasis. */
|
|
201
|
-
--wpds-color-stroke-surface-error: #dab1aa;
|
|
202
|
-
/* Decorative stroke color used to define error-toned surface boundaries with strong emphasis. */
|
|
203
|
-
--wpds-color-stroke-surface-error-strong: #cc1818;
|
|
204
|
-
/* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis. */
|
|
205
|
-
--wpds-color-stroke-interactive-neutral: #8d8d8d;
|
|
206
|
-
/* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
207
|
-
--wpds-color-stroke-interactive-neutral-active: #6e6e6e;
|
|
208
|
-
/* Accessible stroke color used for interactive neutrally-toned elements with normal emphasis, in their disabled state. */
|
|
209
|
-
--wpds-color-stroke-interactive-neutral-disabled: #dbdbdb;
|
|
210
|
-
/* Accessible stroke color used for interactive neutrally-toned elements with strong emphasis. */
|
|
211
|
-
--wpds-color-stroke-interactive-neutral-strong: #6e6e6e;
|
|
212
|
-
/* Accessible stroke color used for interactive brand-toned elements with normal emphasis. */
|
|
213
|
-
--wpds-color-stroke-interactive-brand: #3858e9;
|
|
214
|
-
/* Accessible stroke color used for interactive brand-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
215
|
-
--wpds-color-stroke-interactive-brand-active: #2337c8;
|
|
216
|
-
/* Accessible stroke color used for interactive brand-toned elements with normal emphasis, in their disabled state. */
|
|
217
|
-
--wpds-color-stroke-interactive-brand-disabled: #dbdbdb;
|
|
218
|
-
/* Accessible stroke color used for interactive error-toned elements with normal emphasis. */
|
|
219
|
-
--wpds-color-stroke-interactive-error: #cc1818;
|
|
220
|
-
/* Accessible stroke color used for interactive error-toned elements with normal emphasis that are hovered, focused, or active. */
|
|
221
|
-
--wpds-color-stroke-interactive-error-active: #9d0000;
|
|
222
|
-
/* Accessible stroke color used for interactive error-toned elements with normal emphasis, in their disabled state. */
|
|
223
|
-
--wpds-color-stroke-interactive-error-disabled: #dbdbdb;
|
|
224
|
-
/* Accessible stroke color used for interactive error-toned elements with strong emphasis. */
|
|
225
|
-
--wpds-color-stroke-interactive-error-strong: #cc1818;
|
|
226
|
-
/* Accessible stroke color applied to focus rings. */
|
|
227
|
-
--wpds-color-stroke-focus: #3858e9;
|
|
228
|
-
/* Cursor style for interactive controls that are not links (e.g. buttons, checkboxes, and toggles). */
|
|
229
|
-
--wpds-cursor-control: pointer;
|
|
230
|
-
/* Extra small padding */
|
|
231
|
-
--wpds-dimension-padding-xs: 4px;
|
|
232
|
-
/* Small padding */
|
|
233
|
-
--wpds-dimension-padding-sm: 8px;
|
|
234
|
-
/* Medium padding */
|
|
235
|
-
--wpds-dimension-padding-md: 12px;
|
|
236
|
-
/* Large padding */
|
|
237
|
-
--wpds-dimension-padding-lg: 16px;
|
|
238
|
-
/* Extra large padding */
|
|
239
|
-
--wpds-dimension-padding-xl: 20px;
|
|
240
|
-
/* 2x extra large padding */
|
|
241
|
-
--wpds-dimension-padding-2xl: 24px;
|
|
242
|
-
/* 3x extra large padding */
|
|
243
|
-
--wpds-dimension-padding-3xl: 32px;
|
|
244
|
-
/* Extra small gap */
|
|
245
|
-
--wpds-dimension-gap-xs: 4px;
|
|
246
|
-
/* Small gap */
|
|
247
|
-
--wpds-dimension-gap-sm: 8px;
|
|
248
|
-
/* Medium gap */
|
|
249
|
-
--wpds-dimension-gap-md: 12px;
|
|
250
|
-
/* Large gap */
|
|
251
|
-
--wpds-dimension-gap-lg: 16px;
|
|
252
|
-
/* Extra large gap */
|
|
253
|
-
--wpds-dimension-gap-xl: 24px;
|
|
254
|
-
/* 2x extra large gap */
|
|
255
|
-
--wpds-dimension-gap-2xl: 32px;
|
|
256
|
-
/* 3x extra large gap */
|
|
257
|
-
--wpds-dimension-gap-3xl: 40px;
|
|
258
|
-
/* Notification indicators */
|
|
259
|
-
--wpds-dimension-size-5xs: 4px;
|
|
260
|
-
/* Visual size for small interactive elements like resize handles */
|
|
261
|
-
--wpds-dimension-size-4xs: 8px;
|
|
262
|
-
/* Small markers */
|
|
263
|
-
--wpds-dimension-size-3xs: 12px;
|
|
264
|
-
/* For small controls like checkboxes and radios, or small decorative icons */
|
|
265
|
-
--wpds-dimension-size-2xs: 16px;
|
|
266
|
-
/* For medium sized icons */
|
|
267
|
-
--wpds-dimension-size-xs: 20px;
|
|
268
|
-
/* For icons and small buttons */
|
|
269
|
-
--wpds-dimension-size-sm: 24px;
|
|
270
|
-
/* For medium-sized buttons and inputs */
|
|
271
|
-
--wpds-dimension-size-md: 32px;
|
|
272
|
-
/* Default size for buttons and inputs */
|
|
273
|
-
--wpds-dimension-size-lg: 40px;
|
|
274
|
-
/* Extra small surface width */
|
|
275
|
-
--wpds-dimension-surface-width-xs: 240px;
|
|
276
|
-
/* Small surface width */
|
|
277
|
-
--wpds-dimension-surface-width-sm: 320px;
|
|
278
|
-
/* Medium surface width */
|
|
279
|
-
--wpds-dimension-surface-width-md: 400px;
|
|
280
|
-
/* Large surface width */
|
|
281
|
-
--wpds-dimension-surface-width-lg: 560px;
|
|
282
|
-
/* Extra large surface width */
|
|
283
|
-
--wpds-dimension-surface-width-xl: 720px;
|
|
284
|
-
/* 2x extra large surface width */
|
|
285
|
-
--wpds-dimension-surface-width-2xl: 960px;
|
|
286
|
-
/* For sections and containers that group related content and controls, which may overlap other content. Example: Preview Frame. */
|
|
287
|
-
--wpds-elevation-xs: 0 1px 1px 0 #00000008, 0 1px 2px 0 #00000005,
|
|
288
|
-
0 3px 3px 0 #00000005, 0 4px 4px 0 #00000003;
|
|
289
|
-
/* For components that provide contextual feedback without being intrusive. Generally non-interruptive. Example: Tooltips, Snackbar. */
|
|
290
|
-
--wpds-elevation-sm: 0 1px 2px 0 #0000000d, 0 2px 3px 0 #0000000a,
|
|
291
|
-
0 6px 6px 0 #00000008, 0 8px 8px 0 #00000005;
|
|
292
|
-
/* For components that offer additional actions. Example: Menus, Command Palette */
|
|
293
|
-
--wpds-elevation-md: 0 2px 3px 0 #0000000d, 0 4px 5px 0 #0000000a,
|
|
294
|
-
0 12px 12px 0 #00000008, 0 16px 16px 0 #00000005;
|
|
295
|
-
/* For components that confirm decisions or handle necessary interruptions. Example: Modals. */
|
|
296
|
-
--wpds-elevation-lg: 0 5px 15px 0 #00000014, 0 15px 27px 0 #00000012,
|
|
297
|
-
0 30px 36px 0 #0000000a, 0 50px 43px 0 #00000005;
|
|
298
|
-
/* Micro-delays and transition offsets */
|
|
299
|
-
--wpds-motion-duration-xs: 50ms;
|
|
300
|
-
/* Micro-interactions like focus rings and state changes */
|
|
301
|
-
--wpds-motion-duration-sm: 100ms;
|
|
302
|
-
/* Standard transitions like menus and popovers */
|
|
303
|
-
--wpds-motion-duration-md: 200ms;
|
|
304
|
-
/* Deliberate animations like slides and reveals */
|
|
305
|
-
--wpds-motion-duration-lg: 300ms;
|
|
306
|
-
/* Extended animations like complex or multi-step transitions */
|
|
307
|
-
--wpds-motion-duration-xl: 400ms;
|
|
308
|
-
/* Nearly imperceptible easing for hover, color, and background transitions */
|
|
309
|
-
--wpds-motion-easing-subtle: cubic-bezier( 0.15, 0, 0.15, 1 );
|
|
310
|
-
/* General-purpose easing for on-screen movement like resizing, morphing, and layout shifts */
|
|
311
|
-
--wpds-motion-easing-balanced: cubic-bezier( 0.4, 0, 0.2, 1 );
|
|
312
|
-
/* Noticeable easing for enter/exit and spatial transitions like menus, popovers, dialogs, and drawers */
|
|
313
|
-
--wpds-motion-easing-expressive: cubic-bezier( 0.25, 0, 0, 1 );
|
|
314
|
-
/* Headings font family */
|
|
315
|
-
--wpds-typography-font-family-heading: -apple-system, system-ui, 'Segoe UI',
|
|
316
|
-
'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue',
|
|
317
|
-
sans-serif;
|
|
318
|
-
/* Body font family */
|
|
319
|
-
--wpds-typography-font-family-body: -apple-system, system-ui, 'Segoe UI',
|
|
320
|
-
'Roboto', 'Oxygen-Sans', 'Ubuntu', 'Cantarell', 'Helvetica Neue',
|
|
321
|
-
sans-serif;
|
|
322
|
-
/* Monospace font family */
|
|
323
|
-
--wpds-typography-font-family-mono: 'Menlo', 'Consolas', monaco, monospace;
|
|
324
|
-
/* Extra small font size */
|
|
325
|
-
--wpds-typography-font-size-xs: 11px;
|
|
326
|
-
/* Small font size */
|
|
327
|
-
--wpds-typography-font-size-sm: 12px;
|
|
328
|
-
/* Medium font size */
|
|
329
|
-
--wpds-typography-font-size-md: 13px;
|
|
330
|
-
/* Large font size */
|
|
331
|
-
--wpds-typography-font-size-lg: 15px;
|
|
332
|
-
/* Extra large font size */
|
|
333
|
-
--wpds-typography-font-size-xl: 20px;
|
|
334
|
-
/* 2X large font size */
|
|
335
|
-
--wpds-typography-font-size-2xl: 32px;
|
|
336
|
-
/* Extra small line height */
|
|
337
|
-
--wpds-typography-line-height-xs: 16px;
|
|
338
|
-
/* Small line height */
|
|
339
|
-
--wpds-typography-line-height-sm: 20px;
|
|
340
|
-
/* Medium line height */
|
|
341
|
-
--wpds-typography-line-height-md: 24px;
|
|
342
|
-
/* Large line height */
|
|
343
|
-
--wpds-typography-line-height-lg: 28px;
|
|
344
|
-
/* Extra large line height */
|
|
345
|
-
--wpds-typography-line-height-xl: 32px;
|
|
346
|
-
/* 2X large line height */
|
|
347
|
-
--wpds-typography-line-height-2xl: 40px;
|
|
348
|
-
/* Regular font weight for body text */
|
|
349
|
-
--wpds-typography-font-weight-regular: 400;
|
|
350
|
-
/* Medium font weight for emphasis and headings */
|
|
351
|
-
--wpds-typography-font-weight-medium: 499;
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
@media (min-resolution: 192dpi) {
|
|
355
|
-
:root {
|
|
356
|
-
/* Border width for focus ring */
|
|
357
|
-
--wpds-border-width-focus: 1.5px;
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
[data-wpds-corner-radius=none],
|
|
361
|
-
:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=none]) {
|
|
362
|
-
/* Buttons and other elements nested inside controls. */
|
|
363
|
-
--wpds-border-radius-xs: 0;
|
|
364
|
-
/* Standalone buttons, inputs, and compact controls. */
|
|
365
|
-
--wpds-border-radius-sm: 0;
|
|
366
|
-
/* Menus, popovers, and other small portaled overlays. */
|
|
367
|
-
--wpds-border-radius-md: 0;
|
|
368
|
-
/* Cards, dialogs, notices, and other larger content containers. */
|
|
369
|
-
--wpds-border-radius-lg: 0;
|
|
370
|
-
/* Page and app shell surfaces. */
|
|
371
|
-
--wpds-border-radius-xl: 0;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
[data-wpds-corner-radius=subtle],
|
|
375
|
-
:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=subtle]) {
|
|
376
|
-
/* Buttons and other elements nested inside controls. */
|
|
377
|
-
--wpds-border-radius-xs: 1px;
|
|
378
|
-
/* Standalone buttons, inputs, and compact controls. */
|
|
379
|
-
--wpds-border-radius-sm: 2px;
|
|
380
|
-
/* Menus, popovers, and other small portaled overlays. */
|
|
381
|
-
--wpds-border-radius-md: 4px;
|
|
382
|
-
/* Cards, dialogs, notices, and other larger content containers. */
|
|
383
|
-
--wpds-border-radius-lg: 8px;
|
|
384
|
-
/* Page and app shell surfaces. */
|
|
385
|
-
--wpds-border-radius-xl: 12px;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
[data-wpds-corner-radius=moderate],
|
|
389
|
-
:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=moderate]) {
|
|
390
|
-
/* Buttons and other elements nested inside controls. */
|
|
391
|
-
--wpds-border-radius-xs: 6px;
|
|
392
|
-
/* Standalone buttons, inputs, and compact controls. */
|
|
393
|
-
--wpds-border-radius-sm: 8px;
|
|
394
|
-
/* Menus, popovers, and other small portaled overlays. */
|
|
395
|
-
--wpds-border-radius-md: 12px;
|
|
396
|
-
/* Cards, dialogs, notices, and other larger content containers. */
|
|
397
|
-
--wpds-border-radius-lg: 16px;
|
|
398
|
-
/* Page and app shell surfaces. */
|
|
399
|
-
--wpds-border-radius-xl: 20px;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
[data-wpds-corner-radius=pronounced],
|
|
403
|
-
:root:has([data-wpds-root-provider=true][data-wpds-corner-radius=pronounced]) {
|
|
404
|
-
/* Buttons and other elements nested inside controls. */
|
|
405
|
-
--wpds-border-radius-xs: 18px;
|
|
406
|
-
/* Standalone buttons, inputs, and compact controls. */
|
|
407
|
-
--wpds-border-radius-sm: 20px;
|
|
408
|
-
/* Menus, popovers, and other small portaled overlays. */
|
|
409
|
-
--wpds-border-radius-md: 22px;
|
|
410
|
-
/* Cards, dialogs, notices, and other larger content containers. */
|
|
411
|
-
--wpds-border-radius-lg: 24px;
|
|
412
|
-
/* Page and app shell surfaces. */
|
|
413
|
-
--wpds-border-radius-xl: 26px;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
1
|
/**
|
|
417
2
|
* Typography
|
|
418
3
|
*/
|
|
@@ -482,6 +67,12 @@
|
|
|
482
67
|
/**
|
|
483
68
|
* Focus styles.
|
|
484
69
|
*/
|
|
70
|
+
/**
|
|
71
|
+
* Standard focus rings for the WordPress Design System.
|
|
72
|
+
*
|
|
73
|
+
* Apply `outset-ring__focus` inside the relevant pseudo-class at the call site,
|
|
74
|
+
* e.g. `&:focus { @include outset-ring__focus(); }`.
|
|
75
|
+
*/
|
|
485
76
|
/**
|
|
486
77
|
* Applies editor left position to the selector passed as argument
|
|
487
78
|
*/
|
|
@@ -502,44 +93,6 @@
|
|
|
502
93
|
* Creates a checkerboard pattern background to indicate transparency.
|
|
503
94
|
* @param {String} $size - The size of the squares in the checkerboard pattern. Default is 12px.
|
|
504
95
|
*/
|
|
505
|
-
body.has-admin-bar-in-editor #wpadminbar {
|
|
506
|
-
display: block;
|
|
507
|
-
}
|
|
508
|
-
body.has-admin-bar-in-editor .boot-canvas-back-button__link {
|
|
509
|
-
background: transparent;
|
|
510
|
-
}
|
|
511
|
-
body.has-admin-bar-in-editor .boot-canvas-back-button__icon {
|
|
512
|
-
background-color: transparent;
|
|
513
|
-
}
|
|
514
|
-
body.has-admin-bar-in-editor #site-editor-v2-app {
|
|
515
|
-
position: fixed;
|
|
516
|
-
top: 32px;
|
|
517
|
-
right: 0;
|
|
518
|
-
left: 0;
|
|
519
|
-
bottom: 0;
|
|
520
|
-
height: calc(100vh - 32px) !important;
|
|
521
|
-
}
|
|
522
|
-
body.has-admin-bar-in-editor .boot-layout.has-full-canvas .boot-layout__canvas {
|
|
523
|
-
top: 32px;
|
|
524
|
-
height: calc(100vh - 32px);
|
|
525
|
-
}
|
|
526
|
-
@media (max-width: 782px) {
|
|
527
|
-
body.has-admin-bar-in-editor #site-editor-v2-app {
|
|
528
|
-
top: 46px;
|
|
529
|
-
height: calc(100vh - 46px) !important;
|
|
530
|
-
}
|
|
531
|
-
body.has-admin-bar-in-editor .boot-layout__stage,
|
|
532
|
-
body.has-admin-bar-in-editor .boot-layout__inspector,
|
|
533
|
-
body.has-admin-bar-in-editor .boot-layout__canvas:not(.has-mobile-drawer),
|
|
534
|
-
body.has-admin-bar-in-editor .boot-layout.has-full-canvas .boot-layout__canvas {
|
|
535
|
-
top: 46px;
|
|
536
|
-
height: calc(100vh - 46px);
|
|
537
|
-
}
|
|
538
|
-
body.has-admin-bar-in-editor .boot-layout__mobile-sidebar-drawer {
|
|
539
|
-
top: 46px;
|
|
540
|
-
}
|
|
541
|
-
}
|
|
542
|
-
|
|
543
96
|
@media (min-width: 600px) {
|
|
544
97
|
.boot-layout-container .boot-layout {
|
|
545
98
|
position: absolute;
|