| @@ -80,19 +80,25 @@ | ||
| 80 | 80 | |
| 81 | 81 | // packages/icons/build-module/library/layout.mjs |
| 82 | 82 | var import_primitives = __toESM(require_primitives(), 1); |
| 83 | 83 | var import_jsx_runtime = __toESM(require_jsx_runtime(), 1); |
| 84 | -var layout_default = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.Path, { d: "M18 5.5H6a.5.5 0 00-.5.5v3h13V6a.5.5 0 00-.5-.5zm.5 5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z" }) }); | |
| 84 | +var layout_default = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", style: { fill: "none" }, stroke: "currentColor", strokeWidth: "1.5", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_primitives.Path, { d: "M9.75 19.25H18C18.6904 19.25 19.25 18.6904 19.25 18V9.75M9.75 19.25H6C5.30964 19.25 4.75 18.6904 4.75 18V9.75M9.75 19.25V9.75M19.25 9.75V6C19.25 5.30964 18.6904 4.75 18 4.75H6C5.30964 4.75 4.75 5.30964 4.75 6V9.75M19.25 9.75H9.75M9.75 9.75H4.75", vectorEffect: "non-scaling-stroke" }) }); | |
| 85 | 85 | |
| 86 | 86 | // packages/icons/build-module/library/pencil.mjs |
| 87 | 87 | var import_primitives2 = __toESM(require_primitives(), 1); |
| 88 | 88 | var import_jsx_runtime2 = __toESM(require_jsx_runtime(), 1); |
| 89 | -var pencil_default = /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_primitives2.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_primitives2.Path, { d: "m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z" }) }); | |
| 89 | +var pencil_default = /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_primitives2.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", style: { fill: "none" }, stroke: "currentColor", strokeWidth: "1.5", children: [ | |
| 90 | + /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_primitives2.Path, { d: "M5 19.25H12", vectorEffect: "non-scaling-stroke" }), | |
| 91 | + /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_primitives2.Path, { d: "M10 15L7.5 15.5L8 13L16 5L18 7L10 15Z", fill: "currentColor", vectorEffect: "non-scaling-stroke" }) | |
| 92 | +] }); | |
| 90 | 93 | |
| 91 | 94 | // packages/icons/build-module/library/styles.mjs |
| 92 | 95 | var import_primitives3 = __toESM(require_primitives(), 1); |
| 93 | 96 | var import_jsx_runtime3 = __toESM(require_jsx_runtime(), 1); |
| 94 | -var styles_default = /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives3.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives3.Path, { fillRule: "evenodd", clipRule: "evenodd", d: "M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z" }) }); | |
| 97 | +var styles_default = /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_primitives3.SVG, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", style: { fill: "none" }, stroke: "currentColor", strokeWidth: "1.5", children: [ | |
| 98 | + /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives3.Path, { d: "M12 4.75C7.99594 4.75 4.75 7.99593 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25L12 4.75Z", fill: "currentColor", stroke: "none" }), | |
| 99 | + /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_primitives3.Path, { d: "M12 19.25C16.0041 19.25 19.25 16.0041 19.25 12C19.25 7.99594 16.0041 4.75 12 4.75C7.99594 4.75 4.75 7.99594 4.75 12C4.75 16.0041 7.99594 19.25 12 19.25Z", strokeLinejoin: "round", vectorEffect: "non-scaling-stroke" }) | |
| 100 | +] }); | |
| 95 | 101 | |
| 96 | 102 | // node_modules/clsx/dist/clsx.mjs |
| 97 | 103 | function r(e) { |
| 98 | 104 | var t, f, n = ""; |
| @@ -108,9 +114,32 @@ | ||
| 108 | 114 | return n; |
| 109 | 115 | } |
| 110 | 116 | var clsx_default = clsx; |
| 111 | 117 | |
| 112 | -// node_modules/@base-ui/utils/esm/useRefWithInit.js | |
| 118 | +// node_modules/@base-ui/utils/createLogOnce.mjs | |
| 119 | +var loggedMessages; | |
| 120 | +if (true) { | |
| 121 | + loggedMessages = /* @__PURE__ */ new Set(); | |
| 122 | +} | |
| 123 | +function createLogOnce(severity, prefix) { | |
| 124 | + return function logOnce(...messages) { | |
| 125 | + if (true) { | |
| 126 | + const message = messages.join(" "); | |
| 127 | + const output = prefix ? `${prefix}: ${message}` : message; | |
| 128 | + const key = `${severity}:${output}`; | |
| 129 | + if (!loggedMessages.has(key)) { | |
| 130 | + loggedMessages.add(key); | |
| 131 | + if (severity === "warn") { | |
| 132 | + console.warn(output); | |
| 133 | + } else { | |
| 134 | + console.error(output); | |
| 135 | + } | |
| 136 | + } | |
| 137 | + } | |
| 138 | + }; | |
| 139 | +} | |
| 140 | + | |
| 141 | +// node_modules/@base-ui/utils/useRefWithInit.mjs | |
| 113 | 142 | var React = __toESM(require_react(), 1); |
| 114 | 143 | var UNINITIALIZED = {}; |
| 115 | 144 | function useRefWithInit(init, initArg) { |
| 116 | 145 | const ref = React.useRef(UNINITIALIZED); |
| @@ -119,27 +148,19 @@ | ||
| 119 | 148 | } |
| 120 | 149 | return ref; |
| 121 | 150 | } |
| 122 | 151 | |
| 123 | -// node_modules/@base-ui/utils/esm/warn.js | |
| 124 | -var set; | |
| 125 | -if (true) { | |
| 126 | - set = /* @__PURE__ */ new Set(); | |
| 127 | -} | |
| 128 | -function warn(...messages) { | |
| 129 | - if (true) { | |
| 130 | - const messageKey = messages.join(" "); | |
| 131 | - if (!set.has(messageKey)) { | |
| 132 | - set.add(messageKey); | |
| 133 | - console.warn(`Base UI: ${messageKey}`); | |
| 134 | - } | |
| 135 | - } | |
| 136 | -} | |
| 152 | +// node_modules/@base-ui/utils/warn.mjs | |
| 153 | +var warn = createLogOnce("warn", "Base UI"); | |
| 137 | 154 | |
| 138 | -// node_modules/@base-ui/react/esm/internals/useRenderElement.js | |
| 155 | +// node_modules/@base-ui/utils/empty.mjs | |
| 156 | +var EMPTY_ARRAY = Object.freeze([]); | |
| 157 | +var EMPTY_OBJECT = Object.freeze({}); | |
| 158 | + | |
| 159 | +// node_modules/@base-ui/react/internals/useRenderElement.mjs | |
| 139 | 160 | var React4 = __toESM(require_react(), 1); |
| 140 | 161 | |
| 141 | -// node_modules/@base-ui/utils/esm/useMergedRefs.js | |
| 162 | +// node_modules/@base-ui/utils/useMergedRefs.mjs | |
| 142 | 163 | function useMergedRefs(a, b, c, d) { |
| 143 | 164 | const forkRef = useRefWithInit(createForkRef).current; |
| 144 | 165 | if (didChange(forkRef, a, b, c, d)) { |
| 145 | 166 | update(forkRef, [a, b, c, d]); |
| @@ -210,9 +231,9 @@ | ||
| 210 | 231 | const cleanupCallback = cleanupCallbacks[i]; |
| 211 | 232 | if (typeof cleanupCallback === "function") { |
| 212 | 233 | cleanupCallback(); |
| 213 | 234 | } else { |
| 214 | - ref(null); | |
| 235 | + void ref(null); | |
| 215 | 236 | } |
| 216 | 237 | break; |
| 217 | 238 | } |
| 218 | 239 | case "object": { |
| @@ -226,12 +247,12 @@ | ||
| 226 | 247 | } |
| 227 | 248 | }; |
| 228 | 249 | } |
| 229 | 250 | |
| 230 | -// node_modules/@base-ui/utils/esm/getReactElementRef.js | |
| 251 | +// node_modules/@base-ui/utils/getReactElementRef.mjs | |
| 231 | 252 | var React3 = __toESM(require_react(), 1); |
| 232 | 253 | |
| 233 | -// node_modules/@base-ui/utils/esm/reactVersion.js | |
| 254 | +// node_modules/@base-ui/utils/reactVersion.mjs | |
| 234 | 255 | var React2 = __toESM(require_react(), 1); |
| 235 | 256 | var majorVersion = parseInt(React2.version, 10); |
| 236 | 257 | function isReactVersionAtLeast(reactVersionToCheck) { |
| 237 | 258 | return majorVersion >= reactVersionToCheck; |
| @@ -236,9 +257,9 @@ | ||
| 236 | 257 | function isReactVersionAtLeast(reactVersionToCheck) { |
| 237 | 258 | return majorVersion >= reactVersionToCheck; |
| 238 | 259 | } |
| 239 | 260 | |
| 240 | -// node_modules/@base-ui/utils/esm/getReactElementRef.js | |
| 261 | +// node_modules/@base-ui/utils/getReactElementRef.mjs | |
| 241 | 262 | function getReactElementRef(element) { |
| 242 | 263 | if (!/* @__PURE__ */ React3.isValidElement(element)) { |
| 243 | 264 | return null; |
| 244 | 265 | } |
| @@ -246,9 +267,9 @@ | ||
| 246 | 267 | const propsWithRef = reactElement.props; |
| 247 | 268 | return (isReactVersionAtLeast(19) ? propsWithRef?.ref : reactElement.ref) ?? null; |
| 248 | 269 | } |
| 249 | 270 | |
| 250 | -// node_modules/@base-ui/utils/esm/mergeObjects.js | |
| 271 | +// node_modules/@base-ui/utils/mergeObjects.mjs | |
| 251 | 272 | function mergeObjects(a, b) { |
| 252 | 273 | if (a && !b) { |
| 253 | 274 | return a; |
| 254 | 275 | } |
| @@ -263,13 +284,9 @@ | ||
| 263 | 284 | } |
| 264 | 285 | return void 0; |
| 265 | 286 | } |
| 266 | 287 | |
| 267 | -// node_modules/@base-ui/utils/esm/empty.js | |
| 268 | -var EMPTY_ARRAY = Object.freeze([]); | |
| 269 | -var EMPTY_OBJECT = Object.freeze({}); | |
| 270 | - | |
| 271 | -// node_modules/@base-ui/react/esm/internals/getStateAttributesProps.js | |
| 288 | +// node_modules/@base-ui/react/internals/getStateAttributesProps.mjs | |
| 272 | 289 | function getStateAttributesProps(state, customMapping) { |
| 273 | 290 | const props = {}; |
| 274 | 291 | for (const key in state) { |
| 275 | 292 | const value = state[key]; |
| @@ -288,19 +305,19 @@ | ||
| 288 | 305 | } |
| 289 | 306 | return props; |
| 290 | 307 | } |
| 291 | 308 | |
| 292 | -// node_modules/@base-ui/react/esm/utils/resolveClassName.js | |
| 309 | +// node_modules/@base-ui/react/utils/resolveClassName.mjs | |
| 293 | 310 | function resolveClassName(className, state) { |
| 294 | 311 | return typeof className === "function" ? className(state) : className; |
| 295 | 312 | } |
| 296 | 313 | |
| 297 | -// node_modules/@base-ui/react/esm/utils/resolveStyle.js | |
| 314 | +// node_modules/@base-ui/react/utils/resolveStyle.mjs | |
| 298 | 315 | function resolveStyle(style, state) { |
| 299 | 316 | return typeof style === "function" ? style(state) : style; |
| 300 | 317 | } |
| 301 | 318 | |
| 302 | -// node_modules/@base-ui/react/esm/merge-props/mergeProps.js | |
| 319 | +// node_modules/@base-ui/react/merge-props/mergeProps.mjs | |
| 303 | 320 | var EMPTY_PROPS = {}; |
| 304 | 321 | function mergeProps(a, b, c, d, e) { |
| 305 | 322 | if (!c && !d && !e && !a) { |
| 306 | 323 | return createInitialMergedProps(b); |
| @@ -453,13 +470,16 @@ | ||
| 453 | 470 | function isSyntheticEvent(event) { |
| 454 | 471 | return event != null && typeof event === "object" && "nativeEvent" in event; |
| 455 | 472 | } |
| 456 | 473 | |
| 457 | -// node_modules/@base-ui/react/esm/internals/useRenderElement.js | |
| 474 | +// node_modules/@base-ui/react/internals/useRenderElement.mjs | |
| 458 | 475 | var import_react = __toESM(require_react(), 1); |
| 459 | 476 | function useRenderElement(element, componentProps, params = {}) { |
| 460 | - const renderProp = componentProps.render; | |
| 461 | - const outProps = useRenderElementProps(componentProps, params); | |
| 477 | + let renderProp = componentProps.render; | |
| 478 | + if (params.enabled !== false) { | |
| 479 | + renderProp = unwrapLazyRenderProp(renderProp); | |
| 480 | + } | |
| 481 | + const outProps = useRenderElementProps(componentProps, params, renderProp); | |
| 462 | 482 | if (params.enabled === false) { |
| 463 | 483 | return null; |
| 464 | 484 | } |
| 465 | 485 | const state = params.state ?? EMPTY_OBJECT; |
| @@ -464,13 +484,12 @@ | ||
| 464 | 484 | } |
| 465 | 485 | const state = params.state ?? EMPTY_OBJECT; |
| 466 | 486 | return evaluateRenderProp(element, renderProp, outProps, state); |
| 467 | 487 | } |
| 468 | -function useRenderElementProps(componentProps, params = {}) { | |
| 488 | +function useRenderElementProps(componentProps, params, renderProp) { | |
| 469 | 489 | const { |
| 470 | 490 | className: classNameProp, |
| 471 | - style: styleProp, | |
| 472 | - render: renderProp | |
| 491 | + style: styleProp | |
| 473 | 492 | } = componentProps; |
| 474 | 493 | const { |
| 475 | 494 | state = EMPTY_OBJECT, |
| 476 | 495 | ref, |
| @@ -484,9 +503,9 @@ | ||
| 484 | 503 | const resolvedProps = enabled && props ? resolveRenderFunctionProps(props) : void 0; |
| 485 | 504 | const outProps = enabled ? mergeObjects(stateProps, resolvedProps) ?? {} : EMPTY_OBJECT; |
| 486 | 505 | if (typeof document !== "undefined") { |
| 487 | 506 | if (!enabled) { |
| 488 | - useMergedRefs(null, null); | |
| 507 | + void useMergedRefs(null, null); | |
| 489 | 508 | } else if (Array.isArray(ref)) { |
| 490 | 509 | outProps.ref = useMergedRefsN([outProps.ref, getReactElementRef(renderProp), ...ref]); |
| 491 | 510 | } else { |
| 492 | 511 | outProps.ref = useMergedRefs(outProps.ref, getReactElementRef(renderProp), ref); |
| @@ -511,8 +530,15 @@ | ||
| 511 | 530 | } |
| 512 | 531 | var REACT_LAZY_TYPE = /* @__PURE__ */ Symbol.for("react.lazy"); |
| 513 | 532 | var COMPONENT_IDENTIFIER_PATTERN = /^[A-Z][A-Za-z0-9$]*$/; |
| 514 | 533 | var LOWERCASE_CHARACTER_PATTERN = /[a-z]/; |
| 534 | +function unwrapLazyRenderProp(render) { | |
| 535 | + if (render?.$$typeof !== REACT_LAZY_TYPE) { | |
| 536 | + return render; | |
| 537 | + } | |
| 538 | + const unwrapped = React4.Children.toArray(render)[0]; | |
| 539 | + return /* @__PURE__ */ React4.isValidElement(unwrapped) ? unwrapped : render; | |
| 540 | +} | |
| 515 | 541 | function evaluateRenderProp(element, render, props, state) { |
| 516 | 542 | if (render) { |
| 517 | 543 | if (typeof render === "function") { |
| 518 | 544 | if (true) { |
| @@ -521,19 +547,14 @@ | ||
| 521 | 547 | return render(props, state); |
| 522 | 548 | } |
| 523 | 549 | const mergedProps = mergeProps(props, render.props); |
| 524 | 550 | mergedProps.ref = props.ref; |
| 525 | - let newElement = render; | |
| 526 | - if (newElement?.$$typeof === REACT_LAZY_TYPE) { | |
| 527 | - const children = React4.Children.toArray(render); | |
| 528 | - newElement = children[0]; | |
| 529 | - } | |
| 530 | 551 | if (true) { |
| 531 | - if (!/* @__PURE__ */ React4.isValidElement(newElement)) { | |
| 552 | + if (!/* @__PURE__ */ React4.isValidElement(render)) { | |
| 532 | 553 | throw new Error(["Base UI: The `render` prop was provided an invalid React element as `React.isValidElement(render)` is `false`.", "A valid React element must be provided to the `render` prop because it is cloned with props to replace the default element.", "https://base-ui.com/r/invalid-render-prop"].join("\n")); |
| 533 | 554 | } |
| 534 | 555 | } |
| 535 | - return /* @__PURE__ */ React4.cloneElement(newElement, mergedProps); | |
| 556 | + return /* @__PURE__ */ React4.cloneElement(render, mergedProps); | |
| 536 | 557 | } |
| 537 | 558 | if (element) { |
| 538 | 559 | if (typeof element === "string") { |
| 539 | 560 | return renderTag(element, props); |
| @@ -571,9 +592,9 @@ | ||
| 571 | 592 | } |
| 572 | 593 | return /* @__PURE__ */ React4.createElement(Tag, props); |
| 573 | 594 | } |
| 574 | 595 | |
| 575 | -// node_modules/@base-ui/react/esm/use-render/useRender.js | |
| 596 | +// node_modules/@base-ui/react/use-render/useRender.mjs | |
| 576 | 597 | function useRender(params) { |
| 577 | 598 | return useRenderElement(params.defaultTagName ?? "div", params, params); |
| 578 | 599 | } |
| 579 | 600 | |
| @@ -659,15 +680,15 @@ | ||
| 659 | 680 | injectStyle(targetDocument, hash, css); |
| 660 | 681 | } |
| 661 | 682 | } |
| 662 | 683 | if (typeof process === "undefined" || true) { |
| 663 | - registerStyle("0c5702ddca", '@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._83ed8a8da5dd50ea__text{margin:0}._14437cfb77831647__heading-2xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-p-line-height:var(--wpds-typography-line-height-2xl,40px);font-size:var(--wpds-typography-font-size-2xl,32px);line-height:var(--wpds-typography-line-height-2xl,40px)}._14437cfb77831647__heading-2xl,._3c78b7fa9b4072dd__heading-xl{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-medium,499)}._3c78b7fa9b4072dd__heading-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-md,24px)}.aa58f227716bcde2__heading-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-lg,15px)}.aa58f227716bcde2__heading-lg,.fc4da56d8dfe52c4__heading-md{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-medium,499);line-height:var(--wpds-typography-line-height-sm,20px)}.fc4da56d8dfe52c4__heading-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px)}.a9b78c7c82e8dff7__heading-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-medium,499);--_gcd-p-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-medium,499);line-height:var(--wpds-typography-line-height-xs,16px);text-transform:uppercase}._305ff559e52180d5__body-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-xl,32px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-xl,32px)}._305ff559e52180d5__body-xl,.ca1aa3fc2029e958__body-lg{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-regular,400)}.ca1aa3fc2029e958__body-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-lg,15px);line-height:var(--wpds-typography-line-height-md,24px)}._131101940be12424__body-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--wpds-typography-line-height-sm,20px)}._0e8d87a42c1f75fa__body-sm,._131101940be12424__body-md{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-regular,400)}._0e8d87a42c1f75fa__body-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-regular,400);--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-size:var(--wpds-typography-font-size-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}'); | |
| 684 | + registerStyle("3167e7d116", '@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._83ed8a8da5dd50ea__text{text-wrap:pretty;margin:0}._14437cfb77831647__heading-2xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-2xl,32px);--_gcd-p-line-height:var(--wpds-typography-line-height-2xl,40px);font-size:var(--wpds-typography-font-size-2xl,32px);line-height:var(--wpds-typography-line-height-2xl,40px)}._14437cfb77831647__heading-2xl,._3c78b7fa9b4072dd__heading-xl{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-emphasis,600)}._3c78b7fa9b4072dd__heading-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-md,24px)}.aa58f227716bcde2__heading-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-lg,15px)}.aa58f227716bcde2__heading-lg,.fc4da56d8dfe52c4__heading-md{font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:var(--wpds-typography-line-height-sm,20px)}.fc4da56d8dfe52c4__heading-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px)}.a9b78c7c82e8dff7__heading-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-emphasis,600);--_gcd-p-font-size:var(--wpds-typography-font-size-xs,11px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-family:var(--wpds-typography-font-family-heading,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-size:var(--wpds-typography-font-size-xs,11px);font-weight:var(--wpds-typography-font-weight-emphasis,600);line-height:var(--wpds-typography-line-height-xs,16px);text-transform:uppercase}._305ff559e52180d5__body-xl{--_gcd-heading-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-xl,20px);--_gcd-p-line-height:var(--wpds-typography-line-height-xl,32px);font-size:var(--wpds-typography-font-size-xl,20px);line-height:var(--wpds-typography-line-height-xl,32px)}._305ff559e52180d5__body-xl,.ca1aa3fc2029e958__body-lg{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-default,400)}.ca1aa3fc2029e958__body-lg{--_gcd-heading-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-lg,15px);--_gcd-p-line-height:var(--wpds-typography-line-height-md,24px);font-size:var(--wpds-typography-font-size-lg,15px);line-height:var(--wpds-typography-line-height-md,24px)}._131101940be12424__body-md{--_gcd-heading-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-md,13px);--_gcd-p-line-height:var(--wpds-typography-line-height-sm,20px);font-size:var(--wpds-typography-font-size-md,13px);line-height:var(--wpds-typography-line-height-sm,20px)}._0e8d87a42c1f75fa__body-sm,._131101940be12424__body-md{font-family:var(--wpds-typography-font-family-body,-apple-system,system-ui,"Segoe UI","Roboto","Oxygen-Sans","Ubuntu","Cantarell","Helvetica Neue",sans-serif);font-weight:var(--wpds-typography-font-weight-default,400)}._0e8d87a42c1f75fa__body-sm{--_gcd-heading-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-heading-font-weight:var(--wpds-typography-font-weight-default,400);--_gcd-p-font-size:var(--wpds-typography-font-size-sm,12px);--_gcd-p-line-height:var(--wpds-typography-line-height-xs,16px);font-size:var(--wpds-typography-font-size-sm,12px);line-height:var(--wpds-typography-line-height-xs,16px)}}}'); | |
| 664 | 685 | } |
| 665 | 686 | var style_default = { "text": "_83ed8a8da5dd50ea__text", "heading-2xl": "_14437cfb77831647__heading-2xl", "heading-xl": "_3c78b7fa9b4072dd__heading-xl", "heading-lg": "aa58f227716bcde2__heading-lg", "heading-md": "fc4da56d8dfe52c4__heading-md", "heading-sm": "a9b78c7c82e8dff7__heading-sm", "body-xl": "_305ff559e52180d5__body-xl", "body-lg": "ca1aa3fc2029e958__body-lg", "body-md": "_131101940be12424__body-md", "body-sm": "_0e8d87a42c1f75fa__body-sm" }; |
| 666 | 687 | if (typeof process === "undefined" || true) { |
| 667 | - registerStyle("d5c1b736fd", "._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-fg-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-fg-interactive-neutral-disabled,#8d8d8d))}&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-fg-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-fg-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-medium,499));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}"); | |
| 688 | + registerStyle("e8e31009f5", "._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}"); | |
| 668 | 689 | } |
| 669 | -var global_css_defense_default = { "button": "_6defc79820e382c6__button", "input": "d2cff2e5dea83bd1__input", "textarea": "_547d86373d02e108__textarea", "div": "_8c15fd0ed9f28ba4__div", "p": "_43cec3e1eec1066d__p", "heading": "e97669c6d9a38497__heading", "a": "_2c0831b0499dbd6e__a" }; | |
| 690 | +var global_css_defense_default = { "button": "_6defc79820e382c6__button", "input": "d2cff2e5dea83bd1__input", "textarea": "_547d86373d02e108__textarea", "div": "_8c15fd0ed9f28ba4__div", "p": "_43cec3e1eec1066d__p", "heading": "e97669c6d9a38497__heading", "a": "_2c0831b0499dbd6e__a", "ol": "c59a0ebebd71fa4a__ol", "li": "_46b5cb0c8e24e8c9__li" }; | |
| 670 | 691 | var Text = (0, import_element.forwardRef)(function Text2({ variant = "body-md", render, className, ...props }, ref) { |
| 671 | 692 | const element = useRender({ |
| 672 | 693 | render, |
| 673 | 694 | defaultTagName: "span", |
| @@ -684,28 +705,12 @@ | ||
| 684 | 705 | }); |
| 685 | 706 | return element; |
| 686 | 707 | }); |
| 687 | 708 | |
| 688 | -// packages/ui/build-module/icon/icon.mjs | |
| 709 | +// packages/ui/build-module/link/link.mjs | |
| 689 | 710 | var import_element2 = __toESM(require_element(), 1); |
| 690 | -var import_primitives4 = __toESM(require_primitives(), 1); | |
| 711 | +var import_i18n = __toESM(require_i18n(), 1); | |
| 691 | 712 | var import_jsx_runtime4 = __toESM(require_jsx_runtime(), 1); |
| 692 | -var Icon = (0, import_element2.forwardRef)(function Icon2({ icon, size = 24, ...restProps }, ref) { | |
| 693 | - return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)( | |
| 694 | - import_primitives4.SVG, | |
| 695 | - { | |
| 696 | - ref, | |
| 697 | - fill: "currentColor", | |
| 698 | - ...icon.props, | |
| 699 | - ...restProps, | |
| 700 | - width: size, | |
| 701 | - height: size | |
| 702 | - } | |
| 703 | - ); | |
| 704 | -}); | |
| 705 | - | |
| 706 | -// packages/ui/build-module/stack/stack.mjs | |
| 707 | -var import_element3 = __toESM(require_element(), 1); | |
| 708 | 713 | var STYLE_HASH_ATTRIBUTE2 = "data-wp-hash"; |
| 709 | 714 | function getRuntime2() { |
| 710 | 715 | const globalScope = globalThis; |
| 711 | 716 | if (globalScope.__wpStyleRuntime) { |
| @@ -785,40 +790,89 @@ | ||
| 785 | 790 | injectStyle2(targetDocument, hash, css); |
| 786 | 791 | } |
| 787 | 792 | } |
| 788 | 793 | if (typeof process === "undefined" || true) { |
| 789 | - registerStyle2("32aba35fe1", "@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._19ce0419607e1896__stack{display:flex}}}"); | |
| 794 | + registerStyle2("10f3806643", "@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}"); | |
| 790 | 795 | } |
| 791 | -var style_default2 = { "stack": "_19ce0419607e1896__stack" }; | |
| 792 | -var gapTokens = { | |
| 793 | - xs: "var(--wpds-dimension-gap-xs, 4px)", | |
| 794 | - sm: "var(--wpds-dimension-gap-sm, 8px)", | |
| 795 | - md: "var(--wpds-dimension-gap-md, 12px)", | |
| 796 | - lg: "var(--wpds-dimension-gap-lg, 16px)", | |
| 797 | - xl: "var(--wpds-dimension-gap-xl, 24px)", | |
| 798 | - "2xl": "var(--wpds-dimension-gap-2xl, 32px)", | |
| 799 | - "3xl": "var(--wpds-dimension-gap-3xl, 40px)" | |
| 800 | -}; | |
| 801 | -var Stack = (0, import_element3.forwardRef)(function Stack2({ direction, gap, align, justify, wrap, render, ...props }, ref) { | |
| 802 | - const style = { | |
| 803 | - gap: gap && gapTokens[gap], | |
| 804 | - alignItems: align, | |
| 805 | - justifyContent: justify, | |
| 806 | - flexDirection: direction, | |
| 807 | - flexWrap: wrap | |
| 808 | - }; | |
| 796 | +var resets_default = { "box-sizing": "_336cd3e4e743482f__box-sizing" }; | |
| 797 | +if (typeof process === "undefined" || true) { | |
| 798 | + registerStyle2("08122b3d53", "@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{.af79fb116edb0dd7__outset-ring--focus:focus,.dfcfdc28396e5d98__outset-ring--focus-visible:focus-visible,.e5cd9ee879f6403a__outset-ring--focus-within:focus-within,:focus-visible ._81935a08e952f267__outset-ring--focus-parent-visible{--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}._3c9f5ee9fc9c136d__outset-ring--focus-within-except-active:focus-within,.abc777e9713fa711__outset-ring--focus-except-active:focus{outline:none}._3c9f5ee9fc9c136d__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.abc777e9713fa711__outset-ring--focus-except-active:focus:not(:active){--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--focus-color,var(--wpds-color-stroke-focus,var(--wp-admin-theme-color,#3858e9)));outline-offset:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px))}}}"); | |
| 799 | +} | |
| 800 | +var focus_module_default = { "outset-ring--focus": "af79fb116edb0dd7__outset-ring--focus", "outset-ring--focus-visible": "dfcfdc28396e5d98__outset-ring--focus-visible", "outset-ring--focus-within": "e5cd9ee879f6403a__outset-ring--focus-within", "outset-ring--focus-parent-visible": "_81935a08e952f267__outset-ring--focus-parent-visible", "outset-ring--focus-except-active": "abc777e9713fa711__outset-ring--focus-except-active", "outset-ring--focus-within-except-active": "_3c9f5ee9fc9c136d__outset-ring--focus-within-except-active" }; | |
| 801 | +if (typeof process === "undefined" || true) { | |
| 802 | + registerStyle2("e8e6a9be37", '@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d4250949359b05ce__link{text-decoration-thickness:from-font;text-underline-offset:.2em}.c6055659b8e2cd2c__is-brand,.c6055659b8e2cd2c__is-brand:visited{--_gcd-a-color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9));color:var(--wpds-color-foreground-interactive-brand,var(--wp-admin-theme-color,#3858e9))}.c6055659b8e2cd2c__is-brand:active,.c6055659b8e2cd2c__is-brand:hover{--_gcd-a-color:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000));color:var(--wpds-color-foreground-interactive-brand-active,color-mix(in oklch,var(--wp-admin-theme-color,#3858e9) 52%,#000))}._92e0dfcaeee15b88__is-neutral,._92e0dfcaeee15b88__is-neutral:visited{--_gcd-a-color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);color:var(--wpds-color-foreground-interactive-neutral,#1e1e1e);text-decoration-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d)}._92e0dfcaeee15b88__is-neutral:active,._92e0dfcaeee15b88__is-neutral:hover{--_gcd-a-color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e);color:var(--wpds-color-foreground-interactive-neutral-active,#1e1e1e)}.cf122a9bf1035d42__is-unstyled{--_gcd-a-color:inherit;color:inherit;text-decoration:none}._0cb411afac4c86c7__link-icon{display:inline-block;font-weight:var(--wpds-typography-font-weight-default,400);line-height:1;margin-inline-start:var(--wpds-dimension-padding-xs,4px);text-decoration:none}._0cb411afac4c86c7__link-icon:after{content:"\\2197"}._0cb411afac4c86c7__link-icon:dir(rtl):after{content:"\\2196"}}}'); | |
| 803 | +} | |
| 804 | +var style_default2 = { "link": "d4250949359b05ce__link", "is-brand": "c6055659b8e2cd2c__is-brand", "is-neutral": "_92e0dfcaeee15b88__is-neutral", "is-unstyled": "cf122a9bf1035d42__is-unstyled", "link-icon": "_0cb411afac4c86c7__link-icon" }; | |
| 805 | +if (typeof process === "undefined" || true) { | |
| 806 | + registerStyle2("e8e31009f5", "._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-foreground-interactive-neutral-weak,#707070))}&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-foreground-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-foreground-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-foreground-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-emphasis,600));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}.c59a0ebebd71fa4a__ol{list-style:var(--_gcd-ol-list-style,none);margin:var(--_gcd-ol-margin,0);padding-block:var(--_gcd-ol-padding-block,0);padding-inline:var(--_gcd-ol-padding-inline,0)}._46b5cb0c8e24e8c9__li{margin:var(--_gcd-li-margin,0)}"); | |
| 807 | +} | |
| 808 | +var global_css_defense_default2 = { "button": "_6defc79820e382c6__button", "input": "d2cff2e5dea83bd1__input", "textarea": "_547d86373d02e108__textarea", "div": "_8c15fd0ed9f28ba4__div", "p": "_43cec3e1eec1066d__p", "heading": "e97669c6d9a38497__heading", "a": "_2c0831b0499dbd6e__a", "ol": "c59a0ebebd71fa4a__ol", "li": "_46b5cb0c8e24e8c9__li" }; | |
| 809 | +var Link = (0, import_element2.forwardRef)(function Link2({ | |
| 810 | + children, | |
| 811 | + variant = "default", | |
| 812 | + tone = "brand", | |
| 813 | + openInNewTab = false, | |
| 814 | + target, | |
| 815 | + render, | |
| 816 | + className, | |
| 817 | + ...props | |
| 818 | +}, ref) { | |
| 819 | + const shouldShowNewTabIndicator = openInNewTab || /^_blank$/i.test(target ?? ""); | |
| 809 | 820 | const element = useRender({ |
| 810 | 821 | render, |
| 822 | + defaultTagName: "a", | |
| 811 | 823 | ref, |
| 812 | - props: mergeProps(props, { style, className: style_default2.stack }) | |
| 824 | + props: mergeProps(props, { | |
| 825 | + className: clsx_default( | |
| 826 | + global_css_defense_default2.a, | |
| 827 | + resets_default["box-sizing"], | |
| 828 | + focus_module_default["outset-ring--focus-except-active"], | |
| 829 | + variant !== "unstyled" && style_default2.link, | |
| 830 | + variant !== "unstyled" && style_default2[`is-${tone}`], | |
| 831 | + variant === "unstyled" && style_default2["is-unstyled"], | |
| 832 | + className | |
| 833 | + ), | |
| 834 | + target: target ?? (openInNewTab ? "_blank" : void 0), | |
| 835 | + children: /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [ | |
| 836 | + children, | |
| 837 | + shouldShowNewTabIndicator && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)( | |
| 838 | + "span", | |
| 839 | + { | |
| 840 | + className: style_default2["link-icon"], | |
| 841 | + role: "img", | |
| 842 | + "aria-label": ( | |
| 843 | + /* translators: accessibility text appended to link text */ | |
| 844 | + (0, import_i18n.__)("(opens in a new tab)") | |
| 845 | + ) | |
| 846 | + } | |
| 847 | + ) | |
| 848 | + ] }) | |
| 849 | + }) | |
| 813 | 850 | }); |
| 814 | 851 | return element; |
| 815 | 852 | }); |
| 816 | 853 | |
| 817 | -// packages/ui/build-module/link/link.mjs | |
| 854 | +// packages/ui/build-module/icon/icon.mjs | |
| 855 | +var import_element3 = __toESM(require_element(), 1); | |
| 856 | +var import_primitives4 = __toESM(require_primitives(), 1); | |
| 857 | +var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1); | |
| 858 | +var Icon = (0, import_element3.forwardRef)(function Icon2({ icon, size = 24, style, ...restProps }, ref) { | |
| 859 | + const mergedStyle = icon.props.style || style ? { ...icon.props.style, ...style } : void 0; | |
| 860 | + return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)( | |
| 861 | + import_primitives4.SVG, | |
| 862 | + { | |
| 863 | + ref, | |
| 864 | + ...icon.props, | |
| 865 | + ...restProps, | |
| 866 | + ...mergedStyle ? { style: mergedStyle } : {}, | |
| 867 | + width: size, | |
| 868 | + height: size | |
| 869 | + } | |
| 870 | + ); | |
| 871 | +}); | |
| 872 | + | |
| 873 | +// packages/ui/build-module/stack/stack.mjs | |
| 818 | 874 | var import_element4 = __toESM(require_element(), 1); |
| 819 | -var import_i18n = __toESM(require_i18n(), 1); | |
| 820 | -var import_jsx_runtime5 = __toESM(require_jsx_runtime(), 1); | |
| 821 | 875 | var STYLE_HASH_ATTRIBUTE3 = "data-wp-hash"; |
| 822 | 876 | function getRuntime3() { |
| 823 | 877 | const globalScope = globalThis; |
| 824 | 878 | if (globalScope.__wpStyleRuntime) { |
| @@ -898,62 +952,32 @@ | ||
| 898 | 952 | injectStyle3(targetDocument, hash, css); |
| 899 | 953 | } |
| 900 | 954 | } |
| 901 | 955 | if (typeof process === "undefined" || true) { |
| 902 | - registerStyle3("10f3806643", "@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._336cd3e4e743482f__box-sizing{box-sizing:border-box;*,:after,:before{box-sizing:inherit}}}}"); | |
| 956 | + registerStyle3("32aba35fe1", "@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{._19ce0419607e1896__stack{display:flex}}}"); | |
| 903 | 957 | } |
| 904 | -var resets_default = { "box-sizing": "_336cd3e4e743482f__box-sizing" }; | |
| 905 | -if (typeof process === "undefined" || true) { | |
| 906 | - registerStyle3("693cd16544", "@layer wp-ui{@layer utilities, components, compositions, overrides;@layer utilities{._08e8a2e44959f892__outset-ring--focus,._970d04df7376df67__outset-ring--focus-within-except-active,.c5cb3ee4bddaa8e4__outset-ring--focus-within-visible,.cd83dfc2126a0846__outset-ring--focus-within,.d0541bc9dd9dc7b6__outset-ring--focus-visible,.e25b2bdd7aa21721__outset-ring--focus-except-active,.ecadb9e080e2dfa5__outset-ring--focus-parent-visible{@media not (prefers-reduced-motion){--_gcd-a-transition:outline 0.1s ease-out;transition:outline .1s ease-out}outline:0 solid transparent;outline-offset:1px}._08e8a2e44959f892__outset-ring--focus:focus,._970d04df7376df67__outset-ring--focus-within-except-active:focus-within:not(:has(:active)),.c5cb3ee4bddaa8e4__outset-ring--focus-within-visible:focus-within:has(:focus-visible),.cd83dfc2126a0846__outset-ring--focus-within:focus-within,.d0541bc9dd9dc7b6__outset-ring--focus-visible:focus-visible,.e25b2bdd7aa21721__outset-ring--focus-except-active:focus:not(:active),:focus-visible .ecadb9e080e2dfa5__outset-ring--focus-parent-visible{--_gcd-a-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus-brand,var(--wp-admin-theme-color,#3858e9));--_gcd-div-outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus-brand,var(--wp-admin-theme-color,#3858e9));outline:var(--wpds-border-width-focus,var(--wp-admin-border-width-focus,2px)) solid var(--wpds-color-stroke-focus-brand,var(--wp-admin-theme-color,#3858e9))}}}"); | |
| 907 | -} | |
| 908 | -var focus_default = { "outset-ring--focus": "_08e8a2e44959f892__outset-ring--focus", "outset-ring--focus-except-active": "e25b2bdd7aa21721__outset-ring--focus-except-active", "outset-ring--focus-visible": "d0541bc9dd9dc7b6__outset-ring--focus-visible", "outset-ring--focus-within": "cd83dfc2126a0846__outset-ring--focus-within", "outset-ring--focus-within-except-active": "_970d04df7376df67__outset-ring--focus-within-except-active", "outset-ring--focus-within-visible": "c5cb3ee4bddaa8e4__outset-ring--focus-within-visible", "outset-ring--focus-parent-visible": "ecadb9e080e2dfa5__outset-ring--focus-parent-visible" }; | |
| 909 | -if (typeof process === "undefined" || true) { | |
| 910 | - registerStyle3("9f01019e30", '@layer wp-ui{@layer utilities, components, compositions, overrides;@layer components{.d4250949359b05ce__link{text-decoration-thickness:from-font;text-underline-offset:.2em}.c6055659b8e2cd2c__is-brand,.c6055659b8e2cd2c__is-brand:visited{--_gcd-a-color:var(--wpds-color-fg-interactive-brand,var(--wp-admin-theme-color,#3858e9));color:var(--wpds-color-fg-interactive-brand,var(--wp-admin-theme-color,#3858e9))}.c6055659b8e2cd2c__is-brand:active,.c6055659b8e2cd2c__is-brand:hover{--_gcd-a-color:var(--wpds-color-fg-interactive-brand-active,var(--wp-admin-theme-color,#3858e9));color:var(--wpds-color-fg-interactive-brand-active,var(--wp-admin-theme-color,#3858e9))}._92e0dfcaeee15b88__is-neutral,._92e0dfcaeee15b88__is-neutral:visited{--_gcd-a-color:var(--wpds-color-fg-interactive-neutral,#1e1e1e);color:var(--wpds-color-fg-interactive-neutral,#1e1e1e);text-decoration-color:var(--wpds-color-stroke-interactive-neutral,#8d8d8d)}._92e0dfcaeee15b88__is-neutral:active,._92e0dfcaeee15b88__is-neutral:hover{--_gcd-a-color:var(--wpds-color-fg-interactive-neutral-active,#1e1e1e);color:var(--wpds-color-fg-interactive-neutral-active,#1e1e1e)}.cf122a9bf1035d42__is-unstyled{--_gcd-a-color:inherit;color:inherit;text-decoration:none}._0cb411afac4c86c7__link-icon{display:inline-block;font-weight:var(--wpds-typography-font-weight-regular,400);line-height:1;margin-inline-start:var(--wpds-dimension-padding-xs,4px);text-decoration:none}._0cb411afac4c86c7__link-icon:after{content:"\\2197"}._0cb411afac4c86c7__link-icon:dir(rtl):after{content:"\\2196"}}}'); | |
| 911 | -} | |
| 912 | -var style_default3 = { "link": "d4250949359b05ce__link", "is-brand": "c6055659b8e2cd2c__is-brand", "is-neutral": "_92e0dfcaeee15b88__is-neutral", "is-unstyled": "cf122a9bf1035d42__is-unstyled", "link-icon": "_0cb411afac4c86c7__link-icon" }; | |
| 913 | -if (typeof process === "undefined" || true) { | |
| 914 | - registerStyle3("d5c1b736fd", "._6defc79820e382c6__button{box-sizing:var(--_gcd-button-box-sizing,border-box);font-family:var(--_gcd-button-font-family,inherit);font-size:var(--_gcd-button-font-size,inherit);font-weight:var(--_gcd-button-font-weight,inherit)}.d2cff2e5dea83bd1__input{box-sizing:var(--_gcd-input-box-sizing,border-box);font-family:var(--_gcd-input-font-family,inherit);font-size:var(--_gcd-input-font-size,inherit);font-weight:var(--_gcd-input-font-weight,inherit);margin:var(--_gcd-input-margin,0);&:is(textarea,[type=text],[type=password],[type=color],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){background-color:var(--_gcd-input-background-color,transparent);border:var(--_gcd-input-border,none);border-radius:var(--_gcd-input-border-radius,0);box-shadow:var(--_gcd-input-box-shadow,0 0 0 transparent);color:var(--_gcd-input-color,var(--wpds-color-fg-interactive-neutral,#1e1e1e));&:focus{border-color:var(--_gcd-input-border-color-focus,var(--wp-admin-theme-color));box-shadow:var(--_gcd-input-box-shadow-focus,none);outline:var(--_gcd-input-outline-focus,none)}&:disabled{background:var(--_gcd-input-background-disabled,transparent);border-color:var(--_gcd-input-border-color-disabled,transparent);box-shadow:var(--_gcd-input-box-shadow-disabled,none);color:var(--_gcd-input-color-disabled,var(--wpds-color-fg-interactive-neutral-disabled,#8d8d8d))}&::placeholder{color:var(--_gcd-input-placeholder-color,var(--wpds-color-fg-interactive-neutral-disabled,#8d8d8d))}}&:is(textarea,[type=text],[type=password],[type=date],[type=datetime],[type=datetime-local],[type=email],[type=month],[type=number],[type=search],[type=tel],[type=time],[type=url],[type=week]){line-height:var(--_gcd-input-line-height,inherit);min-height:var(--_gcd-input-min-height,auto);padding:var(--_gcd-input-padding,0)}}._547d86373d02e108__textarea{box-sizing:var(--_gcd-textarea-box-sizing,border-box);overflow:var(--_gcd-textarea-overflow,auto);resize:var(--_gcd-textarea-resize,block)}._8c15fd0ed9f28ba4__div{outline:var(--_gcd-div-outline,0 solid transparent)}p._43cec3e1eec1066d__p{font-size:var(--_gcd-p-font-size,13px);line-height:var(--_gcd-p-line-height,1.5);margin:var(--_gcd-p-margin,0)}:is(h1,h2,h3,h4,h5,h6).e97669c6d9a38497__heading{color:var(--_gcd-heading-color,var(--wpds-color-fg-content-neutral,#1e1e1e));font-size:var(--_gcd-heading-font-size,inherit);font-weight:var(--_gcd-heading-font-weight,var(--wpds-typography-font-weight-medium,499));margin:var(--_gcd-heading-margin,0)}._2c0831b0499dbd6e__a,._2c0831b0499dbd6e__a:is(:hover,:focus,:active){border-radius:var(--_gcd-a-border-radius,0);box-shadow:var(--_gcd-a-box-shadow,none);color:var(--_gcd-a-color,inherit);outline:var(--_gcd-a-outline,0 solid transparent);transition:var(--_gcd-a-transition,none)}"); | |
| 915 | -} | |
| 916 | -var global_css_defense_default2 = { "button": "_6defc79820e382c6__button", "input": "d2cff2e5dea83bd1__input", "textarea": "_547d86373d02e108__textarea", "div": "_8c15fd0ed9f28ba4__div", "p": "_43cec3e1eec1066d__p", "heading": "e97669c6d9a38497__heading", "a": "_2c0831b0499dbd6e__a" }; | |
| 917 | -var Link = (0, import_element4.forwardRef)(function Link2({ | |
| 918 | - children, | |
| 919 | - variant = "default", | |
| 920 | - tone = "brand", | |
| 921 | - openInNewTab = false, | |
| 922 | - render, | |
| 923 | - className, | |
| 924 | - ...props | |
| 925 | -}, ref) { | |
| 958 | +var style_default3 = { "stack": "_19ce0419607e1896__stack" }; | |
| 959 | +var gapTokens = { | |
| 960 | + xs: "var(--wpds-dimension-gap-xs, 4px)", | |
| 961 | + sm: "var(--wpds-dimension-gap-sm, 8px)", | |
| 962 | + md: "var(--wpds-dimension-gap-md, 12px)", | |
| 963 | + lg: "var(--wpds-dimension-gap-lg, 16px)", | |
| 964 | + xl: "var(--wpds-dimension-gap-xl, 24px)", | |
| 965 | + "2xl": "var(--wpds-dimension-gap-2xl, 32px)", | |
| 966 | + "3xl": "var(--wpds-dimension-gap-3xl, 40px)" | |
| 967 | +}; | |
| 968 | +var Stack = (0, import_element4.forwardRef)(function Stack2({ direction, gap, align, justify, wrap, render, ...props }, ref) { | |
| 969 | + const style = { | |
| 970 | + gap: gap && gapTokens[gap], | |
| 971 | + alignItems: align, | |
| 972 | + justifyContent: justify, | |
| 973 | + flexDirection: direction, | |
| 974 | + flexWrap: wrap | |
| 975 | + }; | |
| 926 | 976 | const element = useRender({ |
| 927 | 977 | render, |
| 928 | - defaultTagName: "a", | |
| 929 | 978 | ref, |
| 930 | - props: mergeProps(props, { | |
| 931 | - className: clsx_default( | |
| 932 | - global_css_defense_default2.a, | |
| 933 | - resets_default["box-sizing"], | |
| 934 | - focus_default["outset-ring--focus"], | |
| 935 | - variant !== "unstyled" && style_default3.link, | |
| 936 | - variant !== "unstyled" && style_default3[`is-${tone}`], | |
| 937 | - variant === "unstyled" && style_default3["is-unstyled"], | |
| 938 | - className | |
| 939 | - ), | |
| 940 | - target: openInNewTab ? "_blank" : void 0, | |
| 941 | - children: /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(import_jsx_runtime5.Fragment, { children: [ | |
| 942 | - children, | |
| 943 | - openInNewTab && /* @__PURE__ */ (0, import_jsx_runtime5.jsx)( | |
| 944 | - "span", | |
| 945 | - { | |
| 946 | - className: style_default3["link-icon"], | |
| 947 | - role: "img", | |
| 948 | - "aria-label": ( | |
| 949 | - /* translators: accessibility text appended to link text */ | |
| 950 | - (0, import_i18n.__)("(opens in a new tab)") | |
| 951 | - ) | |
| 952 | - } | |
| 953 | - ) | |
| 954 | - ] }) | |
| 955 | - }) | |
| 979 | + props: mergeProps(props, { style, className: style_default3.stack }) | |
| 956 | 980 | }); |
| 957 | 981 | return element; |
| 958 | 982 | }); |
| 959 | 983 | |
| @@ -1318,11 +1342,11 @@ | ||
| 1318 | 1342 | } |
| 1319 | 1343 | |
| 1320 | 1344 | // widgets/welcome/components/banner/banner.module.css |
| 1321 | 1345 | if (typeof process === "undefined" || true) { |
| 1322 | - registerStyle4("2cc416d3f5", ".b895e30353489bf2__banner{--banner-bg:var(--wpds-color-bg-interactive-neutral-strong,#2d2d2d);--banner-fg:var(--wpds-color-fg-interactive-neutral-strong,#f0f0f0);--banner-accent-brand:var(--wpds-color-bg-interactive-brand-strong,var(--wp-admin-theme-color,#3858e9));--banner-accent-warm:color-mix(in srgb,var(--wpds-color-stroke-surface-warning,#e1bc7c) 60%,var(--wpds-color-bg-surface-neutral-strong,#fff));--banner-accent-dark:var(--wpds-color-fg-content-neutral,#1e1e1e);--banner-glint:color-mix(in srgb,var(--banner-fg) 80%,var(--banner-accent-warm));background-color:var(--banner-bg);background-image:linear-gradient(108deg,var(--banner-bg) 0,var(--banner-bg) 26%,var(--banner-accent-brand) 66%,var(--banner-accent-warm) 100%);color:var(--banner-fg);min-height:clamp(180px,20cqi,320px);overflow:hidden;padding:var(--wpds-dimension-padding-3xl,32px);position:relative}._4e4405b6dd233bb1__bannerContent{position:relative;z-index:1}._97b3d6d6e1182c1e__bannerLink{color:inherit;text-decoration:underline;text-underline-offset:.2em}@container (max-width: 420px){.b895e30353489bf2__banner{padding:var(--wpds-dimension-padding-lg,16px)}}"); | |
| 1346 | + registerStyle4("28d97e4107", ".b895e30353489bf2__banner{--banner-bg:var(--wpds-color-background-interactive-neutral-strong,#2d2d2d);--banner-fg:var(--wpds-color-foreground-interactive-neutral-strong,#f0f0f0);--banner-accent-brand:var(--wpds-color-background-interactive-brand-strong,var(--wp-admin-theme-color,#3858e9));--banner-accent-warm:color-mix(in srgb,var(--wpds-color-stroke-surface-warning,#e1bd7c) 60%,var(--wpds-color-background-surface-neutral-strong,#fff));--banner-accent-dark:var(--wpds-color-foreground-content-neutral,#1e1e1e);--banner-glint:color-mix(in srgb,var(--banner-fg) 80%,var(--banner-accent-warm));background-color:var(--banner-bg);background-image:linear-gradient(108deg,var(--banner-bg) 0,var(--banner-bg) 26%,var(--banner-accent-brand) 66%,var(--banner-accent-warm) 100%);color:var(--banner-fg);min-height:clamp(180px,20cqi,320px);overflow:hidden;padding:var(--wpds-dimension-padding-3xl,32px);position:relative}.ccc416739f0cea2c__banner-content{position:relative;z-index:1}._1e0c93c7c571b6d1__banner-link{color:inherit;text-decoration:underline;text-underline-offset:.2em}@container (max-width: 420px){.b895e30353489bf2__banner{padding:var(--wpds-dimension-padding-lg,16px)}}"); | |
| 1323 | 1347 | } |
| 1324 | -var banner_default = { "banner": "b895e30353489bf2__banner", "bannerContent": "_4e4405b6dd233bb1__bannerContent", "bannerLink": "_97b3d6d6e1182c1e__bannerLink" }; | |
| 1348 | +var banner_default = { "banner": "b895e30353489bf2__banner", "banner-content": "ccc416739f0cea2c__banner-content", "banner-link": "_1e0c93c7c571b6d1__banner-link" }; | |
| 1325 | 1349 | |
| 1326 | 1350 | // widgets/welcome/components/banner/banner.tsx |
| 1327 | 1351 | var import_jsx_runtime7 = __toESM(require_jsx_runtime()); |
| 1328 | 1352 | var DISPLAY_VERSION = "7.1"; |
| @@ -1331,9 +1355,9 @@ | ||
| 1331 | 1355 | /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(HeaderBackground, { version: DISPLAY_VERSION }), |
| 1332 | 1356 | /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)( |
| 1333 | 1357 | Stack, |
| 1334 | 1358 | { |
| 1335 | - className: banner_default.bannerContent, | |
| 1359 | + className: banner_default["banner-content"], | |
| 1336 | 1360 | gap: "sm", |
| 1337 | 1361 | direction: "column", |
| 1338 | 1362 | children: [ |
| 1339 | 1363 | /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Text, { variant: "heading-2xl", children: (0, import_i18n2.__)("Welcome to WordPress!") }), |
| @@ -1339,9 +1363,9 @@ | ||
| 1339 | 1363 | /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Text, { variant: "heading-2xl", children: (0, import_i18n2.__)("Welcome to WordPress!") }), |
| 1340 | 1364 | /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(Text, { variant: "heading-lg", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)( |
| 1341 | 1365 | Link, |
| 1342 | 1366 | { |
| 1343 | - className: banner_default.bannerLink, | |
| 1367 | + className: banner_default["banner-link"], | |
| 1344 | 1368 | href: "/wp-admin/about.php", |
| 1345 | 1369 | variant: "unstyled", |
| 1346 | 1370 | children: (0, import_i18n2.sprintf)( |
| 1347 | 1371 | /* translators: %s: Current WordPress version. */ |
| @@ -1357,11 +1381,11 @@ | ||
| 1357 | 1381 | } |
| 1358 | 1382 | |
| 1359 | 1383 | // widgets/welcome/components/feature-highlight/feature-highlight.module.css |
| 1360 | 1384 | if (typeof process === "undefined" || true) { |
| 1361 | - registerStyle4("a009d3fc8d", ".ec4cdaa2ef617aad__iconBox{background-color:var(--wpds-color-bg-interactive-neutral-strong,#2d2d2d);block-size:calc(var(--wpds-dimension-padding-2xl, 24px)*2);border-radius:var(--wpds-border-radius-md,4px);color:var(--wpds-color-fg-interactive-neutral-strong,#f0f0f0);flex-shrink:0;inline-size:calc(var(--wpds-dimension-padding-2xl, 24px)*2)}"); | |
| 1385 | + registerStyle4("4329b2b2c0", "._180910d8a0c62db5__icon-box{background-color:var(--wpds-color-background-interactive-neutral-strong,#2d2d2d);block-size:calc(var(--wpds-dimension-padding-2xl, 24px)*2);border-radius:var(--wpds-border-radius-md,4px);color:var(--wpds-color-foreground-interactive-neutral-strong,#f0f0f0);flex-shrink:0;inline-size:calc(var(--wpds-dimension-padding-2xl, 24px)*2)}"); | |
| 1362 | 1386 | } |
| 1363 | -var feature_highlight_default = { "iconBox": "ec4cdaa2ef617aad__iconBox" }; | |
| 1387 | +var feature_highlight_default = { "icon-box": "_180910d8a0c62db5__icon-box" }; | |
| 1364 | 1388 | |
| 1365 | 1389 | // widgets/welcome/components/feature-highlight/feature-highlight.tsx |
| 1366 | 1390 | var import_jsx_runtime8 = __toESM(require_jsx_runtime()); |
| 1367 | 1391 | function FeatureHighlight({ |
| @@ -1374,9 +1398,9 @@ | ||
| 1374 | 1398 | return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(Stack, { direction: "row", gap: "lg", align: "start", children: [ |
| 1375 | 1399 | /* @__PURE__ */ (0, import_jsx_runtime8.jsx)( |
| 1376 | 1400 | Stack, |
| 1377 | 1401 | { |
| 1378 | - className: feature_highlight_default.iconBox, | |
| 1402 | + className: feature_highlight_default["icon-box"], | |
| 1379 | 1403 | direction: "column", |
| 1380 | 1404 | align: "center", |
| 1381 | 1405 | justify: "center", |
| 1382 | 1406 | children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(Icon, { icon }) |