@photoroom/ui 0.1.676 → 0.1.678
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/colors.css +25 -13
- package/components/content/EditorialCard/EditorialCard.d.ts.map +1 -1
- package/components/content/Tile/TileSize.d.ts.map +1 -1
- package/components/multiplayer/CommentRow/CommentRow.d.ts.map +1 -1
- package/components/navigation/Tabs/Tabs.d.ts +1 -1
- package/components/navigation/Tabs/Tabs.d.ts.map +1 -1
- package/components/navigation/TagNavigation/TagNavigation.d.ts +1 -1
- package/components/navigation/TagNavigation/TagNavigation.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +126 -128
- package/package.json +2 -2
- package/theme.css +18 -6
package/index.mjs
CHANGED
|
@@ -11487,7 +11487,7 @@ var yoe = W([
|
|
|
11487
11487
|
...r,
|
|
11488
11488
|
ref: n,
|
|
11489
11489
|
type: "button",
|
|
11490
|
-
className: H("relative overflow-hidden", "size-h-400 w-8 cursor-pointer rounded-full outline-hidden", "ring-misc-border ring-1", "bg-surface-
|
|
11490
|
+
className: H("relative overflow-hidden", "size-h-400 w-8 cursor-pointer rounded-full outline-hidden", "ring-misc-border ring-1", "bg-surface-primary-elevated text-content-primary shadow-500", "flex items-center justify-center", "before:absolute before:inset-0 before:rounded-full before:transition-colors", "hover:before:bg-background-borderless-subdued-hover", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:before:bg-background-borderless-subdued-hover", "active:before:bg-background-borderless-subdued-down", "interaction-transition transition-all", r.className),
|
|
11491
11491
|
children: /* @__PURE__ */ I(ie, { className: "icon-size-500 relative" })
|
|
11492
11492
|
})
|
|
11493
11493
|
});
|
|
@@ -12084,7 +12084,7 @@ var rh = /* @__PURE__ */ new Set(), Roe = ({ variant: t = "default", label: n, p
|
|
|
12084
12084
|
})]: t === "stack" }, y.className),
|
|
12085
12085
|
disabled: w,
|
|
12086
12086
|
children: /* @__PURE__ */ L("div", {
|
|
12087
|
-
className: U("relative z-1 overflow-hidden", "flex items-center justify-center", "rounded-500 bg-surface-
|
|
12087
|
+
className: U("relative z-1 overflow-hidden", "flex items-center justify-center", "rounded-500 bg-surface-primary-elevated", "group-focus-visible:ring-misc-focus-indicator group-focus-visible:misc-border-size-focus-ring", "interaction-transition transition-all", "after:border-misc-border after:misc-border-size-default after:absolute after:inset-0 after:rounded-[inherit] after:content-['']", "group-focus-active:after:bg-misc-visual-down group-hover:after:bg-misc-visual-hover group-focus-visible:after:bg-misc-visual-hover", "after:interaction-transition after:transition-all", {
|
|
12088
12088
|
"h-[160px] max-w-[360px] min-w-[40px]": s === "height",
|
|
12089
12089
|
"h-auto w-full": s === "width"
|
|
12090
12090
|
}, v),
|
|
@@ -12385,7 +12385,7 @@ _h.displayName = "NavigationButton";
|
|
|
12385
12385
|
var vh = ({ className: e, buttonRef: t, children: n, as: r = "button", ...i }) => /* @__PURE__ */ I(r, {
|
|
12386
12386
|
ref: t,
|
|
12387
12387
|
type: "button",
|
|
12388
|
-
className: H("shadow-500 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring inline-flex appearance-none items-center justify-center rounded-full outline-hidden transition-colors", "bg-surface-
|
|
12388
|
+
className: H("shadow-500 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring inline-flex appearance-none items-center justify-center rounded-full outline-hidden transition-colors", "bg-surface-primary-elevated text-content-secondary hover:text-content-primary focus:text-content-primary active:text-content-primary", "h-8 w-8", e),
|
|
12389
12389
|
...i,
|
|
12390
12390
|
children: /* @__PURE__ */ I("div", {
|
|
12391
12391
|
className: "h-4 w-4",
|
|
@@ -12572,7 +12572,7 @@ var wh = ({ direction: e = "end", className: t, ref: n, ...r }) => {
|
|
|
12572
12572
|
...r,
|
|
12573
12573
|
type: "button",
|
|
12574
12574
|
ref: n,
|
|
12575
|
-
className: U("group relative appearance-none", "inline-flex items-center justify-center overflow-hidden", "size-10 shrink-0", "bg-surface-
|
|
12575
|
+
className: U("group relative appearance-none", "inline-flex items-center justify-center overflow-hidden", "size-10 shrink-0", "bg-surface-primary-elevated rounded-full outline-hidden", "shadow-500 ring-misc-border ring-1", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-30", "interaction-transition transition-colors", t),
|
|
12576
12576
|
children: [/* @__PURE__ */ I("div", { className: H("pointer-events-none absolute inset-0 rounded-full", "group-hover:bg-background-borderless-subdued-hover group-active:bg-background-borderless-subdued-down", "group-focus-visible:bg-background-borderless-subdued-hover", "interaction-transition transition-colors") }), /* @__PURE__ */ I(i, { className: "text-content-primary icon-size-500 relative z-10" })]
|
|
12577
12577
|
});
|
|
12578
12578
|
};
|
|
@@ -28721,7 +28721,7 @@ AF.displayName = "TextAreaAutosize";
|
|
|
28721
28721
|
//#endregion
|
|
28722
28722
|
//#region src/components/input/TextArea/TextArea.tsx
|
|
28723
28723
|
var jF = ({ label: e, helper: t, className: n, invalid: r, trailingElement: i, autosized: a, style: o, ref: s, ...c }) => {
|
|
28724
|
-
let l = Ae(), u = r || c["aria-invalid"], d = [c["aria-describedby"], t ? l : null].filter(Boolean).join(" ") || void 0, f = U("rounded-500
|
|
28724
|
+
let l = Ae(), u = r || c["aria-invalid"], d = [c["aria-describedby"], t ? l : null].filter(Boolean).join(" ") || void 0, f = U("rounded-500 w-full bg-transparent", "outline-hidden transition duration-200", "component-500 text-content-primary", "placeholder:text-content-tertiary", "disabled:cursor-not-allowed disabled:opacity-30", {
|
|
28725
28725
|
"border-content-negative focus-visible:border-content-negative focus-visible:ring-0": r,
|
|
28726
28726
|
"border-misc-border hover:border-misc-border-hover focus-visible:border-content-accent focus-visible:ring-misc-focus-indicator-subdued focus-visible:misc-border-size-focus-ring": !r
|
|
28727
28727
|
}, n);
|
|
@@ -28768,7 +28768,7 @@ var MF = ({ title: e, description: t, loading: n, disabled: r, onClick: i, onClo
|
|
|
28768
28768
|
children: u
|
|
28769
28769
|
}) : null;
|
|
28770
28770
|
return /* @__PURE__ */ L("div", {
|
|
28771
|
-
className: H("bg-surface-
|
|
28771
|
+
className: H("bg-surface-primary-elevated relative flex flex-col items-center gap-3", o ? "px-4 pt-3 pb-4" : "p-4"),
|
|
28772
28772
|
children: [
|
|
28773
28773
|
a && /* @__PURE__ */ I("button", {
|
|
28774
28774
|
type: "button",
|
|
@@ -32435,7 +32435,7 @@ var KH = ({ enabled: e, onDragEnter: t, onDragOver: n, onDrop: r, onDragLeave: i
|
|
|
32435
32435
|
]);
|
|
32436
32436
|
}, qH = ({ children: e, ref: t }) => /* @__PURE__ */ I(ou.div, {
|
|
32437
32437
|
ref: t,
|
|
32438
|
-
className: H("misc-hairline-spacing flex flex-col", "bg-surface-
|
|
32438
|
+
className: H("misc-hairline-spacing flex flex-col", "bg-surface-primary-elevated shadow-700 misc-dropdown-padding misc-dropdown-rounding outline-hidden", "misc-outer-border", "max-w-[100vw]", "max-h-[inherit]", "overflow-auto"),
|
|
32439
32439
|
initial: {
|
|
32440
32440
|
opacity: 0,
|
|
32441
32441
|
scale: .95
|
|
@@ -32516,7 +32516,7 @@ var eU = function({ className: e, ref: t, ...n }) {
|
|
|
32516
32516
|
...n
|
|
32517
32517
|
});
|
|
32518
32518
|
}, tU = ({ children: e, className: t }) => /* @__PURE__ */ I(ou.div, {
|
|
32519
|
-
className: U("misc-hairline-spacing flex flex-col", "bg-surface-
|
|
32519
|
+
className: U("misc-hairline-spacing flex flex-col", "bg-surface-primary-elevated shadow-700 misc-dropdown-padding misc-dropdown-rounding outline-hidden", "misc-outer-border", "max-w-[100vw]", "overflow-auto", t),
|
|
32520
32520
|
initial: {
|
|
32521
32521
|
opacity: 0,
|
|
32522
32522
|
scale: .95
|
|
@@ -32765,7 +32765,7 @@ var iU = Object.defineProperty, aU = (e, t) => iU(e, "name", {
|
|
|
32765
32765
|
e.key !== "ArrowDown" && e.key !== "ArrowUp" && e.key !== "Escape" && e.stopPropagation();
|
|
32766
32766
|
}, [d, n]);
|
|
32767
32767
|
return /* @__PURE__ */ L("label", {
|
|
32768
|
-
className: U("relative cursor-pointer", "h-[calc(3.5rem-2px)] w-full p-3", "flex items-center gap-2", "bg-surface-
|
|
32768
|
+
className: U("relative cursor-pointer", "h-[calc(3.5rem-2px)] w-full p-3", "flex items-center gap-2", "bg-surface-primary-elevated", "has-disabled:cursor-not-allowed has-disabled:opacity-30", e),
|
|
32769
32769
|
children: [
|
|
32770
32770
|
/* @__PURE__ */ I(F, { className: "text-content-secondary pointer-events-none h-4 w-4 shrink-0" }),
|
|
32771
32771
|
/* @__PURE__ */ I("input", {
|
|
@@ -32968,7 +32968,7 @@ var YU = ({ triggerProps: e, children: t, className: n, withPortal: r, open: i,
|
|
|
32968
32968
|
collisionPadding: a,
|
|
32969
32969
|
onClick: (e) => e.stopPropagation(),
|
|
32970
32970
|
children: p ? /* @__PURE__ */ L(ou.div, {
|
|
32971
|
-
className: U("flex flex-col overflow-hidden", "bg-surface-
|
|
32971
|
+
className: U("flex flex-col overflow-hidden", "bg-surface-primary-elevated shadow-700 misc-dropdown-rounding misc-outer-border outline-hidden", "max-h-[inherit] max-w-[100vw]"),
|
|
32972
32972
|
...XU,
|
|
32973
32973
|
children: [
|
|
32974
32974
|
/* @__PURE__ */ I(VU, {
|
|
@@ -33033,7 +33033,7 @@ var $U = (({ as: e, icon: t, title: n, description: r, href: i, className: a, di
|
|
|
33033
33033
|
className: "body-500 text-content-secondary line-clamp-2",
|
|
33034
33034
|
children: r
|
|
33035
33035
|
})]
|
|
33036
|
-
})] }), d = H("rounded-500 flex items-start gap-4 px-4 py-4", "border-misc-border bg-surface-
|
|
33036
|
+
})] }), d = H("rounded-500 flex items-start gap-4 px-4 py-4", "border-misc-border bg-surface-primary-elevated border transition-colors duration-150 ease-in-out", "overflow-hidden text-start", "cursor-pointer", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", "hover:border-misc-border-hover", "active:border-misc-border-down", "focus-visible:border-misc-border-hover", "h-auto w-full grow", { "pointer-events-none cursor-not-allowed opacity-50": o }, a), f = e || (i ? "a" : "button"), p = {
|
|
33037
33037
|
className: d,
|
|
33038
33038
|
onClick: s
|
|
33039
33039
|
};
|
|
@@ -33259,7 +33259,7 @@ var xW = sW, SW = lW, CW = pW, wW = hW, TW = ({ children: e }) => /* @__PURE__ *
|
|
|
33259
33259
|
onOpenAutoFocus: (e) => {
|
|
33260
33260
|
h && e.preventDefault();
|
|
33261
33261
|
},
|
|
33262
|
-
className: U("bg-surface-
|
|
33262
|
+
className: U("bg-surface-primary-elevated shadow-700 misc-dropdown-rounding outline-hidden", "max-w-[100vw]", "overflow-auto", o && "misc-outer-border", l),
|
|
33263
33263
|
side: e,
|
|
33264
33264
|
align: t,
|
|
33265
33265
|
alignOffset: f || 0,
|
|
@@ -33329,7 +33329,7 @@ var DW = 175, OW = typeof window < "u" ? Ne : Oe, kW = ({ label: e, isSelected:
|
|
|
33329
33329
|
onBlur: g,
|
|
33330
33330
|
onKeyDown: h,
|
|
33331
33331
|
autoFocus: !0,
|
|
33332
|
-
className: "component-semi-strong-500 rounded-200 bg-surface-
|
|
33332
|
+
className: "component-semi-strong-500 rounded-200 bg-surface-primary-elevated text-content-primary outline-content-accent col-start-1 row-start-1 min-w-0 border-none px-2 py-1 outline-1 outline-solid",
|
|
33333
33333
|
"data-testid": "board-section-input",
|
|
33334
33334
|
"aria-label": "Section name"
|
|
33335
33335
|
})]
|
|
@@ -33623,7 +33623,7 @@ eG.displayName = "CheckboxPullDown";
|
|
|
33623
33623
|
var tG = ({ selection: e, reserveSelection: t, productLabel: n, imagesLabel: r, statusLabel: i, listingScoreLabel: a, className: o }) => {
|
|
33624
33624
|
let s = !e && t ? "min-w-[308px]" : "min-w-60";
|
|
33625
33625
|
return /* @__PURE__ */ L("div", {
|
|
33626
|
-
className: U("bg-surface-
|
|
33626
|
+
className: U("bg-surface-primary-elevated flex flex-col gap-2 pt-2", o),
|
|
33627
33627
|
children: [/* @__PURE__ */ L("div", {
|
|
33628
33628
|
className: "flex items-center px-4",
|
|
33629
33629
|
children: [e && /* @__PURE__ */ I(eG, {
|
|
@@ -34219,12 +34219,12 @@ var dG = /* @__PURE__ */ gt((() => {
|
|
|
34219
34219
|
}), EG = ({ image: e, cardLink: t, categoryLink: n, direction: r = "vertical", title: i, description: a, authorName: o, authorAvatar: s, border: c = !0, ...l }) => {
|
|
34220
34220
|
let u = Pe(() => t ? xe(t, { className: H("rounded-500 absolute h-full w-full outline-hidden", "interaction-transition focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring transition-all focus-visible:outline-hidden") }) : null, [t]), d = Pe(() => n ? xe(n, { className: yG({ direction: r }) }) : null, [n, r]);
|
|
34221
34221
|
return /* @__PURE__ */ L("div", {
|
|
34222
|
-
className: H("@container", "relative flex-1", "rounded-500 bg-surface-
|
|
34222
|
+
className: H("@container", "relative flex-1", "rounded-500 bg-surface-primary-elevated", "after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:content-['']", { "after:border-misc-border after:border": c }),
|
|
34223
34223
|
...l,
|
|
34224
34224
|
children: [u, /* @__PURE__ */ L("div", {
|
|
34225
34225
|
className: gG({ direction: r }),
|
|
34226
34226
|
children: [/* @__PURE__ */ I("div", {
|
|
34227
|
-
className: H(bG({ direction: r }), { "bg-surface-
|
|
34227
|
+
className: H(bG({ direction: r }), { "bg-surface-primary-elevated": !e }),
|
|
34228
34228
|
children: e
|
|
34229
34229
|
}), /* @__PURE__ */ L("div", {
|
|
34230
34230
|
className: _G({ direction: r }),
|
|
@@ -34398,7 +34398,7 @@ var PG = ({ checkerboard: t, cover: n, imageUrl: r, loading: i, bottomRightIcon:
|
|
|
34398
34398
|
let s = r ? `url(${r})` : void 0;
|
|
34399
34399
|
return /* @__PURE__ */ L("div", {
|
|
34400
34400
|
...o,
|
|
34401
|
-
className: U("rounded-200 border-misc-divider relative h-10 w-10 shrink-0 border bg-center bg-no-repeat", n ? "bg-cover" : "bg-contain", i && "bg-surface-
|
|
34401
|
+
className: U("rounded-200 border-misc-divider relative h-10 w-10 shrink-0 border bg-center bg-no-repeat", n ? "bg-cover" : "bg-contain", i && "bg-surface-primary", t && "bg-damier-checker", o.className),
|
|
34402
34402
|
style: {
|
|
34403
34403
|
backgroundImage: i ? void 0 : s,
|
|
34404
34404
|
...o.style
|
|
@@ -34826,7 +34826,7 @@ var tK = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
|
|
|
34826
34826
|
e.stopPropagation();
|
|
34827
34827
|
};
|
|
34828
34828
|
return /* @__PURE__ */ L("div", {
|
|
34829
|
-
className: U("bg-surface-
|
|
34829
|
+
className: U("bg-surface-primary-elevated flex flex-col gap-3", d && [
|
|
34830
34830
|
"hover:bg-background-subdued-down cursor-pointer",
|
|
34831
34831
|
"outline-hidden transition-colors",
|
|
34832
34832
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring"
|
|
@@ -34899,7 +34899,7 @@ var tK = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
|
|
|
34899
34899
|
onClick: n,
|
|
34900
34900
|
...a,
|
|
34901
34901
|
ref: i,
|
|
34902
|
-
className: U("group bg-surface-
|
|
34902
|
+
className: U("group bg-surface-primary-elevated flex w-full items-center py-3 ps-4 text-start", "border-b border-transparent", "cursor-pointer outline-hidden transition-colors", "hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover", "active:bg-background-borderless-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:pointer-events-none disabled:opacity-30", r),
|
|
34903
34903
|
children: /* @__PURE__ */ L("span", {
|
|
34904
34904
|
className: "flex items-center gap-4 ps-3",
|
|
34905
34905
|
children: [/* @__PURE__ */ I("span", {
|
|
@@ -34916,7 +34916,7 @@ uK.displayName = "ProductListNewItem";
|
|
|
34916
34916
|
//#region src/components/content/ProductTile/ProductTile.tsx
|
|
34917
34917
|
var dK = ({ title: e, imageUrl: t, sellScore: n, mediaCount: r, onClick: i, hasUnpublishedChanges: a = !1, unpublishedChangesLabel: o, className: s }) => /* @__PURE__ */ L("div", {
|
|
34918
34918
|
onClick: i,
|
|
34919
|
-
className: U("rounded-500 bg-surface-
|
|
34919
|
+
className: U("rounded-500 bg-surface-primary-elevated relative flex cursor-pointer items-center justify-start gap-3 p-1 pe-9", "border-misc-hairline misc-border-size-hairline hover:border-misc-border-emphasized", "active:bg-background-subdued-down", s),
|
|
34920
34920
|
children: [/* @__PURE__ */ I(oK, {
|
|
34921
34921
|
imageUrl: t,
|
|
34922
34922
|
alt: e,
|
|
@@ -35568,7 +35568,7 @@ var rq = ({ isOver: e, label: t, className: n }) => /* @__PURE__ */ L("div", {
|
|
|
35568
35568
|
return /* @__PURE__ */ L("button", {
|
|
35569
35569
|
...i,
|
|
35570
35570
|
ref: r,
|
|
35571
|
-
className: U("group relative flex appearance-none outline-hidden", "bg-surface-
|
|
35571
|
+
className: U("group relative flex appearance-none outline-hidden", "bg-surface-primary-elevated min-h-[64px] min-w-[64px]", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", t),
|
|
35572
35572
|
children: [n, Mm.isMobile ? /* @__PURE__ */ I("span", {
|
|
35573
35573
|
className: "rounded-500 absolute inset-e-3 top-3 z-10 flex size-10 items-center justify-center bg-white",
|
|
35574
35574
|
children: /* @__PURE__ */ I(x, { className: "size-5" })
|
|
@@ -35614,7 +35614,7 @@ var aq = ({ index: e, title: t, children: n, className: r, ...i }) => /* @__PURE
|
|
|
35614
35614
|
})]
|
|
35615
35615
|
})]
|
|
35616
35616
|
}), oq = ({ title: e, description: t, icon: n, action: r, className: i }) => /* @__PURE__ */ L("div", {
|
|
35617
|
-
className: U("rounded-500 border-misc-border bg-surface-
|
|
35617
|
+
className: U("rounded-500 border-misc-border bg-surface-primary-elevated flex flex-col gap-4 border p-4", i),
|
|
35618
35618
|
children: [/* @__PURE__ */ L("div", {
|
|
35619
35619
|
className: "flex min-w-0 flex-col gap-0.5",
|
|
35620
35620
|
children: [/* @__PURE__ */ L("div", {
|
|
@@ -35640,7 +35640,7 @@ oq.displayName = "Task";
|
|
|
35640
35640
|
//#region src/components/content/Tile/TileFont.tsx
|
|
35641
35641
|
function sq({ name: e, label: t, badge: n, className: r, ...i }) {
|
|
35642
35642
|
return /* @__PURE__ */ L("div", {
|
|
35643
|
-
className: U("size-full p-3", "flex flex-col", "bg-surface-
|
|
35643
|
+
className: U("size-full p-3", "flex flex-col", "bg-surface-primary text-center", r),
|
|
35644
35644
|
role: "presentation",
|
|
35645
35645
|
...i,
|
|
35646
35646
|
children: [/* @__PURE__ */ I("div", {
|
|
@@ -35671,7 +35671,7 @@ function cq({ children: e, className: t, ...n }) {
|
|
|
35671
35671
|
//#region src/components/content/Tile/TileIcon.tsx
|
|
35672
35672
|
function lq({ icon: e, className: t, ...n }) {
|
|
35673
35673
|
return /* @__PURE__ */ I("div", {
|
|
35674
|
-
className: U("flex size-full items-center justify-center", "text-content-tertiary bg-surface-
|
|
35674
|
+
className: U("flex size-full items-center justify-center", "text-content-tertiary bg-surface-primary-grouped", t),
|
|
35675
35675
|
...n,
|
|
35676
35676
|
children: wd(e) ? /* @__PURE__ */ I(e, { className: "size-8" }) : e
|
|
35677
35677
|
});
|
|
@@ -35894,11 +35894,11 @@ Nq.displayName = "TileSelectable";
|
|
|
35894
35894
|
function Pq({ icon: e, iconDarkMode: t, aspectRatio: n = "1/1", className: r, children: i, ...a }) {
|
|
35895
35895
|
let [o, s] = n.split("/").map(Number), c = o / s;
|
|
35896
35896
|
return /* @__PURE__ */ L("div", {
|
|
35897
|
-
className: U("size-full p-2", "flex items-center justify-center", "bg-surface-
|
|
35897
|
+
className: U("size-full p-2", "flex items-center justify-center", "bg-surface-primary-grouped text-content-primary", r),
|
|
35898
35898
|
role: "presentation",
|
|
35899
35899
|
...a,
|
|
35900
35900
|
children: [/* @__PURE__ */ I("div", {
|
|
35901
|
-
className: H("rounded-200 bg-surface-
|
|
35901
|
+
className: H("rounded-200 bg-surface-primary-elevated relative flex items-center justify-center", {
|
|
35902
35902
|
"h-auto w-full": c >= 1,
|
|
35903
35903
|
"h-full w-auto": c < 1
|
|
35904
35904
|
}),
|
|
@@ -35962,7 +35962,7 @@ var zq = (({ as: e = "button", layout: t = "fixedHeight128", aspectRatio: n = "1
|
|
|
35962
35962
|
type: e === "button" ? "button" : void 0,
|
|
35963
35963
|
...g,
|
|
35964
35964
|
children: [/* @__PURE__ */ L("div", {
|
|
35965
|
-
className: U("relative isolate overflow-hidden", "rounded-400 bg-surface-
|
|
35965
|
+
className: U("relative isolate overflow-hidden", "rounded-400 bg-surface-primary", "group-focus-visible/tile:ring-misc-focus-indicator group-focus-visible/tile:misc-border-size-focus-ring", "interaction-transition transition-shadow", "before:pointer-events-none before:absolute before:inset-0 before:z-8 before:content-['']", "before:interaction-transition before:transition-colors", "after:pointer-events-none after:absolute after:inset-0 after:z-9 after:content-['']", "after:border-misc-border after:misc-border-size-default after:rounded-[inherit]", "after:interaction-transition after:transition-all", "group-data-[checked=true]/tile:after:border-content-accent group-data-[checked=true]/tile:after:misc-border-size-selection", "group-data-[checked=true]/tile:after:shadow-[inset_0_0_0_1px_var(--color-content-white-inverted-primary)]", {
|
|
35966
35966
|
"w-full min-w-21": t === "fluidWidth",
|
|
35967
35967
|
"h-32": t === "fixedHeight128",
|
|
35968
35968
|
"group-hover/tile:before:bg-misc-visual-hover": u,
|
|
@@ -36051,7 +36051,7 @@ var Vq = W("rounded-400 interaction-transition focus-visible:ring-misc-focus-ind
|
|
|
36051
36051
|
...o,
|
|
36052
36052
|
children: [
|
|
36053
36053
|
/* @__PURE__ */ I("div", {
|
|
36054
|
-
className: H("rounded-200 flex size-12 shrink-0 items-center justify-center", s ? "bg-background-accent-subdued" : "bg-surface-
|
|
36054
|
+
className: H("rounded-200 flex size-12 shrink-0 items-center justify-center", s ? "bg-background-accent-subdued" : "bg-surface-primary"),
|
|
36055
36055
|
children: /* @__PURE__ */ I(t, { className: H("size-5", s ? "text-content-accent" : "text-content-subdued-primary") })
|
|
36056
36056
|
}),
|
|
36057
36057
|
/* @__PURE__ */ I("span", {
|
|
@@ -36521,7 +36521,7 @@ NJ.displayName = "DialogCloseButton";
|
|
|
36521
36521
|
var PJ = ({ children: e }) => /* @__PURE__ */ L("div", {
|
|
36522
36522
|
className: "rounded-t-500 sticky top-0 overflow-hidden",
|
|
36523
36523
|
children: [/* @__PURE__ */ I("div", {
|
|
36524
|
-
className: "bg-surface-
|
|
36524
|
+
className: "bg-surface-primary-elevated py-4 ps-4 pe-[60px]",
|
|
36525
36525
|
children: /* @__PURE__ */ I("div", {
|
|
36526
36526
|
className: "flex items-center py-[5px]",
|
|
36527
36527
|
children: /* @__PURE__ */ I(wJ, {
|
|
@@ -36632,7 +36632,7 @@ var PJ = ({ children: e }) => /* @__PURE__ */ L("div", {
|
|
|
36632
36632
|
defaultVariants: { layout: "default" }
|
|
36633
36633
|
}), BJ = W([
|
|
36634
36634
|
"group/dialog",
|
|
36635
|
-
"bg-surface-
|
|
36635
|
+
"bg-surface-primary-elevated relative outline-hidden",
|
|
36636
36636
|
"radix-state-closed:animate-dialog-leave radix-state-open:animate-dialog-enter"
|
|
36637
36637
|
], {
|
|
36638
36638
|
variants: { layout: {
|
|
@@ -36728,7 +36728,7 @@ var HJ = ({ "aria-label": e = "Close", ...t }) => /* @__PURE__ */ I(OJ, {
|
|
|
36728
36728
|
onPointerDownOutside: (e) => {
|
|
36729
36729
|
n?.(e), !e.defaultPrevented && e.target instanceof Element && (!e.target.closest("[data-dialog-overlay]") || e.target.closest("[data-sonner-toast]")) && e.preventDefault();
|
|
36730
36730
|
},
|
|
36731
|
-
className: U("bg-surface-
|
|
36731
|
+
className: U("bg-surface-primary-elevated shadow-700 misc-dialog-rounding relative h-full w-full outline-hidden", "radix-state-closed:animate-dialog-leave radix-state-open:animate-dialog-enter", e),
|
|
36732
36732
|
...r,
|
|
36733
36733
|
children: t
|
|
36734
36734
|
}), WJ = ({ className: e, children: t, ...n }) => /* @__PURE__ */ I(hJ, {
|
|
@@ -36816,7 +36816,7 @@ var JJ = Se(null), YJ = () => {
|
|
|
36816
36816
|
className: U("relative isolate z-10 flex shrink-0 items-center gap-4 px-6 pt-4", e),
|
|
36817
36817
|
children: [/* @__PURE__ */ I("div", {
|
|
36818
36818
|
"aria-hidden": "true",
|
|
36819
|
-
className: H("bg-surface-
|
|
36819
|
+
className: H("bg-surface-primary-elevated border-misc-border-default absolute inset-x-0 top-0 -bottom-4 -z-10 border-b", "interaction-transition transition-opacity", n ? "opacity-100" : "opacity-0")
|
|
36820
36820
|
}), t]
|
|
36821
36821
|
});
|
|
36822
36822
|
}, ZJ = ({ leading: e, trailing: t, className: n }) => /* @__PURE__ */ L("div", {
|
|
@@ -36856,7 +36856,7 @@ var JJ = Se(null), YJ = () => {
|
|
|
36856
36856
|
children: n
|
|
36857
36857
|
})]
|
|
36858
36858
|
}), eY = ({ image: e, multiple: t = !1, previousImage: n, className: r }) => {
|
|
36859
|
-
let i = H("bg-surface-
|
|
36859
|
+
let i = H("bg-surface-primary-elevated absolute inset-1 overflow-hidden", "border-misc-hairline misc-border-size-hairline rounded-200 border", "transition-transform duration-300 ease-[cubic-bezier(0.2,0,0,1)]", "[&_img]:size-full [&_img]:object-cover");
|
|
36860
36860
|
return /* @__PURE__ */ L("div", {
|
|
36861
36861
|
className: H("relative size-10", r),
|
|
36862
36862
|
children: [/* @__PURE__ */ I("div", {
|
|
@@ -37021,7 +37021,7 @@ cY.displayName = "PillToggle";
|
|
|
37021
37021
|
//#region src/components/editor/Pill/Pill.tsx
|
|
37022
37022
|
var lY = ({ className: e, ...t }) => /* @__PURE__ */ I("div", {
|
|
37023
37023
|
...t,
|
|
37024
|
-
className: U("flex w-max items-center gap-1 p-1", "rounded-500 shadow-500 misc-outer-border", "bg-surface-
|
|
37024
|
+
className: U("flex w-max items-center gap-1 p-1", "rounded-500 shadow-500 misc-outer-border", "bg-surface-primary-elevated", e)
|
|
37025
37025
|
});
|
|
37026
37026
|
lY.Button = iY, lY.Divider = aY, lY.Toggle = cY;
|
|
37027
37027
|
//#endregion
|
|
@@ -37060,10 +37060,10 @@ var uY = (e) => /* @__PURE__ */ I("svg", {
|
|
|
37060
37060
|
/* @__PURE__ */ L("div", {
|
|
37061
37061
|
className: "relative flex min-h-0 flex-1",
|
|
37062
37062
|
children: [o && /* @__PURE__ */ I("div", {
|
|
37063
|
-
className: H("bg-surface-
|
|
37063
|
+
className: H("bg-surface-primary-elevated border-misc-divider flex w-80 shrink-0 flex-col overflow-y-auto border-e", "max-[800px]:border-misc-border max-[800px]:rounded-500 max-[800px]:absolute max-[800px]:inset-y-3 max-[800px]:start-3 max-[800px]:z-10 max-[800px]:w-74 max-[800px]:border", !m && "max-[800px]:hidden"),
|
|
37064
37064
|
children: o
|
|
37065
37065
|
}), /* @__PURE__ */ L("div", {
|
|
37066
|
-
className: "bg-surface-
|
|
37066
|
+
className: "bg-surface-canvas relative min-w-0 flex-1",
|
|
37067
37067
|
children: [(s || o) && /* @__PURE__ */ I("div", {
|
|
37068
37068
|
className: H("absolute start-3 top-3 z-20", o && m && "max-[800px]:start-80"),
|
|
37069
37069
|
children: /* @__PURE__ */ L(lY, {
|
|
@@ -37115,11 +37115,11 @@ var mY = ({ open: e, defaultOpen: t, onOpenChange: n, trigger: r, title: i, side
|
|
|
37115
37115
|
children: i
|
|
37116
37116
|
}),
|
|
37117
37117
|
/* @__PURE__ */ I("div", {
|
|
37118
|
-
className: H("bg-surface-
|
|
37118
|
+
className: H("bg-surface-primary-elevated border-misc-divider w-70 shrink-0 overflow-y-auto border-e p-4", "max-[800px]:border-misc-border max-[800px]:rounded-500 max-[800px]:absolute max-[800px]:inset-y-3 max-[800px]:start-3 max-[800px]:z-10 max-[800px]:w-70 max-[800px]:border", !p && "max-[800px]:hidden"),
|
|
37119
37119
|
children: a
|
|
37120
37120
|
}),
|
|
37121
37121
|
/* @__PURE__ */ L("div", {
|
|
37122
|
-
className: "bg-surface-
|
|
37122
|
+
className: "bg-surface-primary-grouped relative min-w-0 flex-1",
|
|
37123
37123
|
children: [/* @__PURE__ */ I("div", {
|
|
37124
37124
|
className: H("absolute start-3 top-3 z-20 hidden max-[800px]:block", p && "max-[800px]:start-76"),
|
|
37125
37125
|
children: /* @__PURE__ */ I(lY, { children: /* @__PURE__ */ I(lY.Button, {
|
|
@@ -37409,7 +37409,7 @@ var mY = ({ open: e, defaultOpen: t, onOpenChange: n, trigger: r, title: i, side
|
|
|
37409
37409
|
})
|
|
37410
37410
|
});
|
|
37411
37411
|
}, bY = ({ visualSrc: e, visual: t, overline: n, title: r, description: i, children: a, onClose: o, closeAriaLabel: s }) => /* @__PURE__ */ L("div", {
|
|
37412
|
-
className: "rounded-500 bg-surface-
|
|
37412
|
+
className: "rounded-500 bg-surface-primary-elevated shadow-700 relative flex w-full max-w-[640px] flex-col overflow-hidden",
|
|
37413
37413
|
children: [
|
|
37414
37414
|
o && /* @__PURE__ */ I(Bd, {
|
|
37415
37415
|
className: "absolute inset-e-4 top-4 z-10",
|
|
@@ -37507,7 +37507,7 @@ var xY = ({ open: e, defaultOpen: t, onOpenChange: n, trigger: r, visual: i, tit
|
|
|
37507
37507
|
});
|
|
37508
37508
|
}, SY = ({ children: e, className: t, ref: n, ...r }) => /* @__PURE__ */ I("div", {
|
|
37509
37509
|
ref: n,
|
|
37510
|
-
className: U("border-misc-border bg-surface-
|
|
37510
|
+
className: U("border-misc-border bg-surface-primary-elevated shadow-700 misc-hairline-spacing misc-dropdown-padding misc-dropdown-rounding relative flex flex-col", t),
|
|
37511
37511
|
...r,
|
|
37512
37512
|
children: e
|
|
37513
37513
|
});
|
|
@@ -38409,7 +38409,7 @@ var lhe = typeof window < "u" ? Ne : Oe, uhe = function() {
|
|
|
38409
38409
|
{
|
|
38410
38410
|
variant: "default",
|
|
38411
38411
|
highlighted: !1,
|
|
38412
|
-
class: "bg-
|
|
38412
|
+
class: "bg-transparent"
|
|
38413
38413
|
},
|
|
38414
38414
|
{
|
|
38415
38415
|
variant: "editor",
|
|
@@ -38509,7 +38509,7 @@ var _he = {
|
|
|
38509
38509
|
...u,
|
|
38510
38510
|
"aria-invalid": e || u["aria-invalid"],
|
|
38511
38511
|
className: Sd([
|
|
38512
|
-
"w-full appearance-none rounded-500 bg-
|
|
38512
|
+
"w-full appearance-none rounded-500 bg-transparent component-500 text-content-primary placeholder-neutral-600 outline-hidden transition duration-200 disabled:cursor-not-allowed disabled:opacity-50",
|
|
38513
38513
|
"focus-visible:misc-border-size-focus-ring",
|
|
38514
38514
|
e ? ["border border-content-negative caret-content-primary", "focus-visible:border-content-negative focus-visible:ring-background-negative-subdued-down"] : [
|
|
38515
38515
|
"border caret-content-accent",
|
|
@@ -38586,7 +38586,7 @@ var vhe = (e) => !e || e.length !== 7 ? !1 : tX(e).isValid(), xX = (e) => `#${e}
|
|
|
38586
38586
|
variants: {
|
|
38587
38587
|
variant: {
|
|
38588
38588
|
editor: "bg-background-subdued hover:outline-misc-border outline-transparent",
|
|
38589
|
-
default: "
|
|
38589
|
+
default: "outline-misc-border hover:outline-misc-border-hover"
|
|
38590
38590
|
},
|
|
38591
38591
|
disabled: {
|
|
38592
38592
|
true: "cursor-not-allowed opacity-50",
|
|
@@ -38989,7 +38989,7 @@ var Dhe = ({ color: e, onChange: t, label: n }) => {
|
|
|
38989
38989
|
className: U("relative isolate z-10 flex shrink-0 flex-col gap-2.5 px-4 pt-4", t),
|
|
38990
38990
|
children: [/* @__PURE__ */ I("div", {
|
|
38991
38991
|
"aria-hidden": "true",
|
|
38992
|
-
className: H("bg-surface-
|
|
38992
|
+
className: H("bg-surface-primary-elevated border-misc-border-default absolute inset-x-0 top-0 -bottom-4 -z-10 border-b", "interaction-transition transition-opacity", n ? "opacity-100" : "opacity-0")
|
|
38993
38993
|
}), e]
|
|
38994
38994
|
});
|
|
38995
38995
|
};
|
|
@@ -39011,7 +39011,7 @@ var AX = ({ children: e, className: t }) => {
|
|
|
39011
39011
|
m.current = null;
|
|
39012
39012
|
}), [m, t]), /* @__PURE__ */ L("div", {
|
|
39013
39013
|
ref: d,
|
|
39014
|
-
className: U("border-misc-border-default bg-surface-
|
|
39014
|
+
className: U("border-misc-border-default bg-surface-primary-elevated flex shrink-0 flex-col border-b px-4", f && "cursor-grab active:cursor-grabbing", u),
|
|
39015
39015
|
...f ? p : {},
|
|
39016
39016
|
children: [/* @__PURE__ */ L("div", {
|
|
39017
39017
|
className: H("flex h-14 items-center gap-2", c && "-mb-2"),
|
|
@@ -39182,7 +39182,7 @@ var Nhe = ({ x: e, y: t }, { width: n, height: r }, i, a) => ({
|
|
|
39182
39182
|
height: c ? void 0 : i
|
|
39183
39183
|
},
|
|
39184
39184
|
onKeyDown: g,
|
|
39185
|
-
className: U("border-misc-border-default bg-surface-
|
|
39185
|
+
className: U("border-misc-border-default bg-surface-primary-elevated shadow-600 misc-dropdown-rounding fixed isolate z-50 flex flex-col overflow-clip border", t),
|
|
39186
39186
|
children: e
|
|
39187
39187
|
})
|
|
39188
39188
|
});
|
|
@@ -49267,7 +49267,7 @@ var h4 = /* @__PURE__ */ new Set(), g4 = ({ label: t, previewUrl: n, previewBitm
|
|
|
49267
49267
|
style: { aspectRatio: c },
|
|
49268
49268
|
children: s || (r ? /* @__PURE__ */ I("canvas", {
|
|
49269
49269
|
ref: _,
|
|
49270
|
-
className: H("bg-surface-
|
|
49270
|
+
className: H("bg-surface-primary bg-damier-checker bg-size-[32px_32px] bg-top-left"),
|
|
49271
49271
|
style: {
|
|
49272
49272
|
width: "100%",
|
|
49273
49273
|
height: "100%",
|
|
@@ -49277,7 +49277,7 @@ var h4 = /* @__PURE__ */ new Set(), g4 = ({ label: t, previewUrl: n, previewBitm
|
|
|
49277
49277
|
}) : /* @__PURE__ */ I(nh, {
|
|
49278
49278
|
src: n ?? "",
|
|
49279
49279
|
alt: "",
|
|
49280
|
-
className: H("bg-surface-
|
|
49280
|
+
className: H("bg-surface-primary bg-damier-checker bg-size-[32px_32px] bg-top-left", "interaction-transition transition-opacity", { "opacity-0": v }),
|
|
49281
49281
|
fadeInDuration: 0,
|
|
49282
49282
|
style: {
|
|
49283
49283
|
width: "100%",
|
|
@@ -49401,8 +49401,8 @@ var zye = ({ type: e = "prompt", image: t, icon: n = P, label: r, ...i }) => {
|
|
|
49401
49401
|
"border-misc-border text-content-secondary misc-border-size-default",
|
|
49402
49402
|
"hover:bg-background-borderless-subdued-hover",
|
|
49403
49403
|
"active:bg-background-borderless-subdued-down",
|
|
49404
|
-
"focus-visible:bg-surface-
|
|
49405
|
-
"disabled:bg-surface-
|
|
49404
|
+
"focus-visible:bg-surface-primary-elevated",
|
|
49405
|
+
"disabled:bg-surface-primary-elevated"
|
|
49406
49406
|
], n ? "gap-2 ps-2 pe-2.5" : "px-2.5", r),
|
|
49407
49407
|
...a,
|
|
49408
49408
|
children: [!!n && /* @__PURE__ */ I("span", {
|
|
@@ -49568,7 +49568,7 @@ var Vye = W(["component-500 text-content-primary flex flex-row items-center"], {
|
|
|
49568
49568
|
})]
|
|
49569
49569
|
});
|
|
49570
49570
|
}, Gye = 4, S4 = ({ title: e, onBack: t, backLabel: n, loading: r = !1, children: i, className: a }) => /* @__PURE__ */ L("div", {
|
|
49571
|
-
className: U("bg-surface-
|
|
49571
|
+
className: U("bg-surface-primary-elevated misc-outer-border shadow-700 misc-dropdown-rounding flex flex-col overflow-clip pb-1", a),
|
|
49572
49572
|
children: [/* @__PURE__ */ I(b4, {
|
|
49573
49573
|
title: e,
|
|
49574
49574
|
onBack: t,
|
|
@@ -49602,7 +49602,7 @@ var Kye = ({ status: e }) => {
|
|
|
49602
49602
|
let e = requestAnimationFrame(() => s(!0));
|
|
49603
49603
|
return () => cancelAnimationFrame(e);
|
|
49604
49604
|
}, []), /* @__PURE__ */ L("div", {
|
|
49605
|
-
className: U("bg-surface-
|
|
49605
|
+
className: U("bg-surface-secondary rounded-500 flex min-h-12 w-full items-center justify-between gap-3 px-3 py-2", i),
|
|
49606
49606
|
...a,
|
|
49607
49607
|
children: [/* @__PURE__ */ L("div", {
|
|
49608
49608
|
role: "status",
|
|
@@ -49632,7 +49632,7 @@ var Kye = ({ status: e }) => {
|
|
|
49632
49632
|
h.current?.focus();
|
|
49633
49633
|
}, 0);
|
|
49634
49634
|
}), /* @__PURE__ */ L("div", {
|
|
49635
|
-
className: H("rounded-area-500 bg-surface-
|
|
49635
|
+
className: H("rounded-area-500 bg-surface-primary-elevated box-border flex w-[440px] items-center gap-2 py-2 ps-3 pe-2", "border-misc-border border transition duration-200", "hover:border-misc-border-hover", "focus-within:border-content-accent focus-within:ring-misc-focus-indicator-subdued focus-within:misc-border-size-focus-ring", n && "cursor-not-allowed opacity-30"),
|
|
49636
49636
|
onClick: () => {
|
|
49637
49637
|
n || h.current?.focus();
|
|
49638
49638
|
},
|
|
@@ -49744,7 +49744,7 @@ var Xye = ({ label: e, className: t, description: n, tooltip: r, isTooltipDisabl
|
|
|
49744
49744
|
...i,
|
|
49745
49745
|
onFocus: o,
|
|
49746
49746
|
onKeyDown: s,
|
|
49747
|
-
className: U("appearance-none", "h-14 w-10", "rounded-500 bg-
|
|
49747
|
+
className: U("appearance-none", "h-14 w-10", "rounded-500 bg-transparent outline-hidden", "transition duration-200", "component-strong-900 text-content-primary", "disabled:cursor-not-allowed disabled:opacity-50", "focus-visible:misc-border-size-focus-ring", "px-0 text-center", e ? [
|
|
49748
49748
|
"border-content-negative caret-content-primary border",
|
|
49749
49749
|
"focus-visible:border-content-negative focus-visible:ring-background-negative-subdued-down",
|
|
49750
49750
|
"text-content-negative"
|
|
@@ -50795,7 +50795,7 @@ var c3 = (e) => e.isFile === !0, l3 = (e) => e.isDirectory === !0, Tbe = new Int
|
|
|
50795
50795
|
ref: a,
|
|
50796
50796
|
type: "button",
|
|
50797
50797
|
disabled: i,
|
|
50798
|
-
className: U("cursor-pointer outline-hidden", "flex h-10 w-full items-center gap-2 px-3", "rounded-500 border-misc-border bg-surface-
|
|
50798
|
+
className: U("cursor-pointer outline-hidden", "flex h-10 w-full items-center gap-2 px-3", "rounded-500 border-misc-border bg-surface-primary-elevated border", "focus-visible:border-content-accent hover:border-neutral-400", "invalid:border-content-negative invalid:hover:border-content-negative invalid:focus-visible:border-content-negative", "component-500 text-content-primary font-medium placeholder-neutral-600", "focus-visible:ring-misc-focus-indicator-subdued", "focus-visible:misc-border-size-focus-ring disabled:cursor-not-allowed disabled:opacity-50", "transition duration-200", r),
|
|
50799
50799
|
...o,
|
|
50800
50800
|
children: [
|
|
50801
50801
|
t,
|
|
@@ -50875,7 +50875,7 @@ var _3 = .5, v3 = 2, Abe = 80, jbe = 80, y3 = ({ src: e, alt: t, width: n = jbe,
|
|
|
50875
50875
|
},
|
|
50876
50876
|
children: [
|
|
50877
50877
|
/* @__PURE__ */ L("div", {
|
|
50878
|
-
className: H("rounded-400
|
|
50878
|
+
className: H("rounded-400 relative h-full w-full overflow-hidden", "after:rounded-400 after:pointer-events-none after:absolute after:inset-0 after:content-['']", s ? "after:shadow-[inset_0_0_0_2px_var(--color-content-accent)]" : "after:shadow-[inset_0_0_0_1px_var(--color-misc-border)]"),
|
|
50879
50879
|
children: [o ? /* @__PURE__ */ I("div", {
|
|
50880
50880
|
className: "flex h-full w-full items-center justify-center",
|
|
50881
50881
|
children: /* @__PURE__ */ I(rG, { className: "size-6" })
|
|
@@ -50974,7 +50974,7 @@ var Mbe = ({ referenceImages: e, disabled: t }) => {
|
|
|
50974
50974
|
className: H("w-full border-none bg-transparent p-0", p ? "py-0" : "py-[11px]", "component-500 text-content-primary placeholder:text-content-tertiary leading-[19px]", "outline-hidden focus:ring-0", "disabled:cursor-not-allowed")
|
|
50975
50975
|
});
|
|
50976
50976
|
return /* @__PURE__ */ L("div", {
|
|
50977
|
-
className: U("rounded-450 border-misc-border bg-surface-
|
|
50977
|
+
className: U("rounded-450 border-misc-border bg-surface-primary shadow-500 flex w-[320px] flex-col overflow-hidden border", "focus-within:ring-misc-focus-indicator-subdued focus-within:misc-border-size-focus-ring", u),
|
|
50978
50978
|
children: [p ? /* @__PURE__ */ L("div", {
|
|
50979
50979
|
className: "flex items-center gap-3 px-3 py-2.5",
|
|
50980
50980
|
children: [/* @__PURE__ */ I("div", {
|
|
@@ -51064,7 +51064,7 @@ var w3 = "relative z-10 flex h-8 w-10 items-center justify-center text-white-alp
|
|
|
51064
51064
|
children: [
|
|
51065
51065
|
/* @__PURE__ */ I(Hh, {
|
|
51066
51066
|
"aria-hidden": "true",
|
|
51067
|
-
className: "rounded-500 border-misc-border-default bg-surface-
|
|
51067
|
+
className: "rounded-500 border-misc-border-default bg-surface-primary-elevated pointer-events-none absolute inset-s-0 top-0 h-8 w-10 border transition-transform duration-200 ease-out data-[state=checked]:translate-x-10 data-[state=checked]:rtl:-translate-x-10"
|
|
51068
51068
|
}),
|
|
51069
51069
|
/* @__PURE__ */ I(Nm, {
|
|
51070
51070
|
content: n?.off,
|
|
@@ -51098,7 +51098,7 @@ E3.displayName = "IconSwitch";
|
|
|
51098
51098
|
var Pbe = W([
|
|
51099
51099
|
"group rounded-500 relative w-full overflow-hidden",
|
|
51100
51100
|
"misc-border-size-default border border-solid",
|
|
51101
|
-
"bg-surface-
|
|
51101
|
+
"bg-surface-primary",
|
|
51102
51102
|
"outline-hidden transition-all",
|
|
51103
51103
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
51104
51104
|
"focus-visible:border-content-accent focus-visible:bg-background-accent-subdued",
|
|
@@ -51130,7 +51130,7 @@ var Pbe = W([
|
|
|
51130
51130
|
} },
|
|
51131
51131
|
defaultVariants: { error: !1 }
|
|
51132
51132
|
}), Ibe = ({ dropFileLabel: e }) => /* @__PURE__ */ I("div", {
|
|
51133
|
-
className: "rounded-500 bg-surface-
|
|
51133
|
+
className: "rounded-500 bg-surface-primary absolute inset-0 flex overflow-hidden",
|
|
51134
51134
|
children: /* @__PURE__ */ I("div", {
|
|
51135
51135
|
className: "rounded-500 border-content-accent bg-background-accent-subdued flex flex-1 flex-col items-center justify-center border p-6",
|
|
51136
51136
|
children: /* @__PURE__ */ I("p", {
|
|
@@ -51198,7 +51198,7 @@ var Pbe = W([
|
|
|
51198
51198
|
!O && /* @__PURE__ */ L("div", {
|
|
51199
51199
|
className: "rounded-500 pointer-events-none absolute inset-0",
|
|
51200
51200
|
"aria-hidden": "true",
|
|
51201
|
-
children: [/* @__PURE__ */ I("div", { className: "rounded-500 bg-surface-
|
|
51201
|
+
children: [/* @__PURE__ */ I("div", { className: "rounded-500 bg-surface-primary absolute inset-0" }), /* @__PURE__ */ I("div", { className: "rounded-500 bg-damier-checker bg-damier-large absolute inset-0 bg-top-left opacity-6" })]
|
|
51202
51202
|
}),
|
|
51203
51203
|
/* @__PURE__ */ I("div", { className: Fbe({ error: r }) }),
|
|
51204
51204
|
k && /* @__PURE__ */ I(Pd, {
|
|
@@ -51410,9 +51410,9 @@ var Rbe = W([
|
|
|
51410
51410
|
disabled: s,
|
|
51411
51411
|
...l,
|
|
51412
51412
|
children: /* @__PURE__ */ L("div", {
|
|
51413
|
-
className: H("rounded-450 w-full p-px transition-all duration-150 ease-out", "group-radix-state-checked:bg-transparent", "group-radix-state-unchecked:bg-surface-
|
|
51413
|
+
className: H("rounded-450 w-full p-px transition-all duration-150 ease-out", "group-radix-state-checked:bg-transparent", "group-radix-state-unchecked:bg-surface-primary-elevated"),
|
|
51414
51414
|
children: [/* @__PURE__ */ L("div", {
|
|
51415
|
-
className: H("bg-surface-
|
|
51415
|
+
className: H("bg-surface-primary-elevated flex w-full items-center gap-2 p-4 transition-all duration-150 ease-out", a ? "rounded-t-400" : "rounded-400"),
|
|
51416
51416
|
children: [
|
|
51417
51417
|
/* @__PURE__ */ I($K, {
|
|
51418
51418
|
asChild: !0,
|
|
@@ -51464,10 +51464,10 @@ P3.displayName = "OptionGroup", P3.Item = N3;
|
|
|
51464
51464
|
var F3 = ({ title: e, description: t, imageSrc: n, altLabel: r = "", showCheckerboard: i = !1, className: a, ref: o, ...s }) => /* @__PURE__ */ L(ZK, {
|
|
51465
51465
|
...s,
|
|
51466
51466
|
ref: o,
|
|
51467
|
-
className: U("bg-surface-
|
|
51467
|
+
className: U("bg-surface-primary rounded-500 relative flex w-full cursor-pointer items-center gap-3 py-1 ps-1 pe-8 text-start outline-hidden", "radix-state-unchecked:shadow-[inset_0_0_0_1px_var(--color-misc-border)]", "hover:radix-state-unchecked:shadow-[inset_0_0_0_1px_var(--color-misc-border-hover)]", "focus-visible:radix-state-unchecked:shadow-[inset_0_0_0_1px_var(--color-misc-border-hover)]", "active:radix-state-unchecked:shadow-[inset_0_0_0_1px_var(--color-misc-border-down)]", "radix-state-checked:shadow-[inset_0_0_0_2px_var(--color-content-accent)]", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", a),
|
|
51468
51468
|
children: [
|
|
51469
51469
|
/* @__PURE__ */ L("div", {
|
|
51470
|
-
className: "rounded-concentric-500-4px bg-surface-
|
|
51470
|
+
className: "rounded-concentric-500-4px bg-surface-primary relative h-24 w-24 shrink-0 self-center overflow-hidden",
|
|
51471
51471
|
children: [
|
|
51472
51472
|
i && /* @__PURE__ */ I("div", { className: "bg-damier-neutral-200 bg-damier-large absolute inset-0 bg-top-left" }),
|
|
51473
51473
|
/* @__PURE__ */ I("img", {
|
|
@@ -51573,7 +51573,7 @@ var L3 = ({ value: e, onChange: t, placeholder: n, options: r = [], leadingSlot:
|
|
|
51573
51573
|
}, [t]);
|
|
51574
51574
|
return /* @__PURE__ */ L("div", {
|
|
51575
51575
|
role: "textbox",
|
|
51576
|
-
className: U("flex min-h-[113px] flex-col", "rounded-500
|
|
51576
|
+
className: U("flex min-h-[113px] flex-col", "rounded-500", "interaction-transition border transition-colors", "border-misc-border [&:not(:focus-within):hover]:border-misc-border-hover", "focus-within:border-content-accent focus-within:ring-misc-focus-indicator-subdued focus-within:misc-border-size-focus-ring", l),
|
|
51577
51577
|
children: [/* @__PURE__ */ I("div", {
|
|
51578
51578
|
className: H("px-3 pt-3", c && "opacity-50"),
|
|
51579
51579
|
children: /* @__PURE__ */ I(AF, {
|
|
@@ -51710,7 +51710,7 @@ var z3 = {
|
|
|
51710
51710
|
}),
|
|
51711
51711
|
children: [/* @__PURE__ */ L("div", {
|
|
51712
51712
|
"aria-hidden": !0,
|
|
51713
|
-
className: H("aspect-square", "relative flex items-center justify-center overflow-hidden", "w-full", "rounded-500 border-misc-border bg-surface-
|
|
51713
|
+
className: H("aspect-square", "relative flex items-center justify-center overflow-hidden", "w-full", "rounded-500 border-misc-border bg-surface-primary-elevated border", "group-radix-state-unchecked/PresetGroupItem:hover:border-misc-border-hover", "group-radix-state-unchecked/PresetGroupItem:group-focus-visible/PresetGroupItem:border-misc-border-hover", "group-radix-state-unchecked/PresetGroupItem:active:border-misc-border-down", "group-radix-state-checked/PresetGroupItem:border-content-accent group-radix-state-checked/PresetGroupItem:misc-border-size-selection", "group-focus-visible/PresetGroupItem:ring-misc-focus-indicator group-focus-visible/PresetGroupItem:misc-border-size-focus-ring"),
|
|
51714
51714
|
children: [i ? /* @__PURE__ */ I("img", {
|
|
51715
51715
|
src: i,
|
|
51716
51716
|
alt: "",
|
|
@@ -51747,7 +51747,7 @@ var Ube = 204, Wbe = [
|
|
|
51747
51747
|
n
|
|
51748
51748
|
]);
|
|
51749
51749
|
return /* @__PURE__ */ L("div", {
|
|
51750
|
-
className: U("relative flex flex-col gap-6", "rounded-500 border-misc-border bg-surface-
|
|
51750
|
+
className: U("relative flex flex-col gap-6", "rounded-500 border-misc-border bg-surface-primary-elevated shadow-500 border", "px-3 pt-1.5 pb-3", "transition-shadow duration-200", "focus-within:ring-misc-focus-indicator focus-within:misc-border-size-focus-ring", m),
|
|
51751
51751
|
children: [
|
|
51752
51752
|
/* @__PURE__ */ I("style", { children: Wbe }),
|
|
51753
51753
|
/* @__PURE__ */ I("div", {
|
|
@@ -51870,7 +51870,7 @@ var Kbe = ({ reaction: e, selected: t = !1, onClick: n }) => /* @__PURE__ */ I("
|
|
|
51870
51870
|
children: e
|
|
51871
51871
|
})
|
|
51872
51872
|
}), qbe = ({ onSelectReaction: e, reactions: t, className: n, ...r }) => /* @__PURE__ */ I("div", {
|
|
51873
|
-
className: U("bg-surface-
|
|
51873
|
+
className: U("bg-surface-primary-elevated shadow-700 misc-outer-border misc-dropdown-rounding misc-dropdown-padding flex w-fit", n),
|
|
51874
51874
|
...r,
|
|
51875
51875
|
children: t.map((t) => /* @__PURE__ */ I(Kbe, {
|
|
51876
51876
|
reaction: t,
|
|
@@ -52010,10 +52010,10 @@ var K3 = (e) => /* @__PURE__ */ I(bX, {
|
|
|
52010
52010
|
type: "search",
|
|
52011
52011
|
leadingIcon: F,
|
|
52012
52012
|
borderLess: !0,
|
|
52013
|
-
className: H(e.invalid ? "bg-surface-
|
|
52014
|
-
"bg-surface-
|
|
52013
|
+
className: H(e.invalid ? "bg-surface-primary-elevated" : [
|
|
52014
|
+
"bg-surface-secondary",
|
|
52015
52015
|
"hover:border-transparent hover:bg-neutral-200",
|
|
52016
|
-
"focus-visible:bg-surface-
|
|
52016
|
+
"focus-visible:bg-surface-primary-elevated"
|
|
52017
52017
|
], e.className)
|
|
52018
52018
|
});
|
|
52019
52019
|
K3.displayName = "SearchInput";
|
|
@@ -53023,7 +53023,7 @@ j6.displayName = "SearchableSelectItem";
|
|
|
53023
53023
|
var Gxe = W([
|
|
53024
53024
|
"outline-hidden",
|
|
53025
53025
|
"flex w-full gap-1",
|
|
53026
|
-
"rounded-500 border-misc-border bg-surface-
|
|
53026
|
+
"rounded-500 border-misc-border bg-surface-primary-elevated border",
|
|
53027
53027
|
"focus-visible:border-content-accent hover:border-neutral-400",
|
|
53028
53028
|
"invalid:border-content-negative invalid:hover:border-content-negative invalid:focus-visible:border-content-negative",
|
|
53029
53029
|
"component-500 text-content-primary font-medium placeholder-neutral-600",
|
|
@@ -53121,7 +53121,7 @@ var N6 = ({ className: e, placeholder: t, search: n, onOpenChange: r, children:
|
|
|
53121
53121
|
style: { minHeight: c },
|
|
53122
53122
|
children: [
|
|
53123
53123
|
a && /* @__PURE__ */ I("div", {
|
|
53124
|
-
className: "rounded-t-500 border-misc-border bg-surface-
|
|
53124
|
+
className: "rounded-t-500 border-misc-border bg-surface-primary-elevated absolute inset-x-0 top-0 z-1 overflow-hidden border-b",
|
|
53125
53125
|
children: /* @__PURE__ */ I(VU, {
|
|
53126
53126
|
...n,
|
|
53127
53127
|
tabIndex: -1,
|
|
@@ -53131,7 +53131,7 @@ var N6 = ({ className: e, placeholder: t, search: n, onOpenChange: r, children:
|
|
|
53131
53131
|
})
|
|
53132
53132
|
}),
|
|
53133
53133
|
s && /* @__PURE__ */ I("div", {
|
|
53134
|
-
className: "bg-surface-
|
|
53134
|
+
className: "bg-surface-primary-elevated absolute inset-x-0 top-[55px] z-1 overflow-hidden px-3 py-2",
|
|
53135
53135
|
children: s
|
|
53136
53136
|
}),
|
|
53137
53137
|
/* @__PURE__ */ I(Lxe, {
|
|
@@ -53338,7 +53338,7 @@ var Kxe = ({ value: e, defaultValue: t = 0, onValueChange: n, onNumberFieldValue
|
|
|
53338
53338
|
F6.Item = qxe;
|
|
53339
53339
|
//#endregion
|
|
53340
53340
|
//#region src/components/input/TagField/TagField.tsx
|
|
53341
|
-
var Jxe = W(["group rounded-500 border-misc-border
|
|
53341
|
+
var Jxe = W(["group rounded-500 border-misc-border text-500 text-content-primary placeholder-content-tertiary w-full appearance-none border font-medium", "focus-within:misc-border-size-focus-ring outline-hidden transition duration-200 disabled:cursor-not-allowed disabled:opacity-50"], {
|
|
53342
53342
|
variants: { invalid: {
|
|
53343
53343
|
true: ["border-content-negative border caret-black", "focus-within:border-content-negative focus-within:ring-background-negative-subdued-down"],
|
|
53344
53344
|
false: [
|
|
@@ -53368,7 +53368,7 @@ var Jxe = W(["group rounded-500 border-misc-border bg-surface-high text-500 text
|
|
|
53368
53368
|
ref: o,
|
|
53369
53369
|
...s,
|
|
53370
53370
|
className: U([
|
|
53371
|
-
"peer rounded-500
|
|
53371
|
+
"peer rounded-500 caret-content-accent w-full appearance-none border-transparent bg-transparent p-0 px-0.5",
|
|
53372
53372
|
"outline-hidden transition duration-200 focus-visible:border-transparent focus-visible:ring-0 disabled:cursor-not-allowed disabled:opacity-50",
|
|
53373
53373
|
"component-500 text-content-primary placeholder-content-tertiary leading-none",
|
|
53374
53374
|
r
|
|
@@ -53594,11 +53594,11 @@ var Qxe = ({ label: e, description: t, avatar: n, trailingElement: r, className:
|
|
|
53594
53594
|
ref: o,
|
|
53595
53595
|
type: "button",
|
|
53596
53596
|
disabled: i,
|
|
53597
|
-
className: U("group rounded-500 flex w-full items-center justify-between gap-3 overflow-hidden p-2", "bg-surface-
|
|
53597
|
+
className: U("group rounded-500 flex w-full items-center justify-between gap-3 overflow-hidden p-2", "bg-surface-primary-elevated hover:bg-background-borderless-subdued-hover focus-visible:bg-background-subdued active:bg-background-borderless-subdued-down", "transition-colors duration-150 ease-out", "focus-visible:ring-misc-focus-indicator focus:outline-hidden focus-visible:ring-2 focus-visible:ring-offset-2", "disabled:pointer-events-none disabled:opacity-30", "cursor-pointer", a),
|
|
53598
53598
|
...s,
|
|
53599
53599
|
children: [
|
|
53600
53600
|
/* @__PURE__ */ I("div", {
|
|
53601
|
-
className: H("rounded-200 bg-surface-
|
|
53601
|
+
className: H("rounded-200 bg-surface-primary-elevated flex shrink-0 items-center justify-center p-2", c ? "shadow-[inset_0_0_0_2px_var(--color-content-accent)]" : "shadow-[inset_0_0_0_0.5px_var(--color-misc-hairline-emphasized)]"),
|
|
53602
53602
|
children: (() => {
|
|
53603
53603
|
let e = n;
|
|
53604
53604
|
return xe(e, { className: H("text-content-primary h-5 w-5", e.props.className) });
|
|
@@ -53905,7 +53905,7 @@ var s8 = xSe, c8 = OSe, l8 = ASe, u8 = jSe, d8 = NSe, PSe = ({ children: e, clas
|
|
|
53905
53905
|
className: H("rounded-200 border-misc-border misc-border-size-default block h-10 w-10 object-cover", "border-misc-border hover:border-content-accent-hover active:border-content-accent-down")
|
|
53906
53906
|
}), /* @__PURE__ */ I("div", {
|
|
53907
53907
|
className: "rounded-200 bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down absolute inset-0 flex items-center justify-center opacity-0 transition-opacity group-hover:opacity-100",
|
|
53908
|
-
children: /* @__PURE__ */ I(v, { className: "text-surface-
|
|
53908
|
+
children: /* @__PURE__ */ I(v, { className: "text-surface-primary icon-size-500" })
|
|
53909
53909
|
})]
|
|
53910
53910
|
})
|
|
53911
53911
|
}) : /* @__PURE__ */ I("div", {
|
|
@@ -53959,7 +53959,7 @@ h8.HeaderItem = ISe, h8.ValueItem = m8, h8.Trailing = f8, h8.Leading = p8;
|
|
|
53959
53959
|
var LSe = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i, time: a, avatar: o, unread: s = !1, stacked: c = !1, selectable: l = !0, showUnread: u = !0 }) => {
|
|
53960
53960
|
let [d, f] = Fe(!1), p = Ae();
|
|
53961
53961
|
return /* @__PURE__ */ L("div", {
|
|
53962
|
-
className: H("group bg-surface-
|
|
53962
|
+
className: H("group bg-surface-primary-elevated flex cursor-pointer gap-3 p-2 pe-4", { "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down": l && e === "event" }),
|
|
53963
53963
|
children: [/* @__PURE__ */ L("div", {
|
|
53964
53964
|
className: "w-full pb-2",
|
|
53965
53965
|
children: [/* @__PURE__ */ L("div", {
|
|
@@ -54022,7 +54022,7 @@ var LSe = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i,
|
|
|
54022
54022
|
});
|
|
54023
54023
|
}, RSe = ({ name: e, message: t, info: n, avatar: r, className: i, status: a, overlayButton: o, isHighlighted: s = !1, largeText: c = !1, ...l }) => /* @__PURE__ */ I("div", {
|
|
54024
54024
|
...l,
|
|
54025
|
-
className: U("group bg-surface-
|
|
54025
|
+
className: U("group bg-surface-primary-elevated relative flex gap-3 px-4 py-2", i),
|
|
54026
54026
|
children: /* @__PURE__ */ L("div", {
|
|
54027
54027
|
className: "grid w-full grid-cols-[auto_1fr] grid-rows-none gap-x-2 gap-y-1",
|
|
54028
54028
|
children: [
|
|
@@ -54370,7 +54370,7 @@ var YSe = Object.defineProperty, XSe = (e, t) => YSe(e, "name", {
|
|
|
54370
54370
|
activePillColor: "#141414"
|
|
54371
54371
|
}
|
|
54372
54372
|
}, D8 = ({ className: e, ...t }) => /* @__PURE__ */ I(T8, {
|
|
54373
|
-
className: U("group relative flex-1", "min-h-10 min-w-0 px-1", "flex items-center justify-center", "rounded-500 outline-hidden", "misc-border-size-default radix-state-off:border-transparent radix-state-on:border-misc-border", "radix-state-off:bg-transparent radix-state-on:bg-surface-
|
|
54373
|
+
className: U("group relative flex-1", "min-h-10 min-w-0 px-1", "flex items-center justify-center", "rounded-500 outline-hidden", "misc-border-size-default radix-state-off:border-transparent radix-state-on:border-misc-border", "radix-state-off:bg-transparent radix-state-on:bg-surface-primary-elevated", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-500 radix-state-off:text-content-secondary radix-state-on:text-content-primary", "radix-state-off:enabled:hover:text-content-primary radix-state-off:enabled:focus-visible:text-content-primary radix-state-off:enabled:active:text-content-primary", "interaction-transition transition-colors", "disabled:cursor-not-allowed disabled:opacity-30", e),
|
|
54374
54374
|
...t
|
|
54375
54375
|
}), sCe = ({ icon: e, label: t, tooltip: n, side: r = "top", withPortal: i = !0, disabled: a, className: o, ...s }) => {
|
|
54376
54376
|
let c = wd(e) ? /* @__PURE__ */ I(e, { className: "icon-size-500" }) : e;
|
|
@@ -54702,10 +54702,9 @@ K8.displayName = "TabsItem";
|
|
|
54702
54702
|
//#endregion
|
|
54703
54703
|
//#region src/components/navigation/Tabs/Tabs.tsx
|
|
54704
54704
|
var q8 = {
|
|
54705
|
-
"surface-
|
|
54706
|
-
"surface-
|
|
54707
|
-
|
|
54708
|
-
}, J8 = ({ children: e, className: t, overflow: n = "wrap", bgGradientColor: a = "surface-high", ...o }) => {
|
|
54705
|
+
"surface-primary": "from-surface-primary",
|
|
54706
|
+
"surface-primary-elevated": "from-surface-primary-elevated"
|
|
54707
|
+
}, J8 = ({ children: e, className: t, overflow: n = "wrap", bgGradientColor: a = "surface-primary-elevated", ...o }) => {
|
|
54709
54708
|
let s = V(null), [c, l] = Fe(!1), [u, d] = Fe(!0), f = B(() => {
|
|
54710
54709
|
if (n === "scroll" && s.current) {
|
|
54711
54710
|
let { scrollLeft: e, scrollWidth: t, offsetWidth: n } = s.current;
|
|
@@ -54805,10 +54804,9 @@ Z8.displayName = "TagNavigationItem";
|
|
|
54805
54804
|
//#endregion
|
|
54806
54805
|
//#region src/components/navigation/TagNavigation/TagNavigation.tsx
|
|
54807
54806
|
var Q8 = {
|
|
54808
|
-
"surface-
|
|
54809
|
-
"surface-
|
|
54810
|
-
|
|
54811
|
-
}, $8 = ({ children: e, className: t, overflow: n = "wrap", bgGradientColor: a = "surface-high", onScroll: o, ...s }) => {
|
|
54807
|
+
"surface-primary": "from-surface-primary",
|
|
54808
|
+
"surface-primary-elevated": "from-surface-primary-elevated"
|
|
54809
|
+
}, $8 = ({ children: e, className: t, overflow: n = "wrap", bgGradientColor: a = "surface-primary-elevated", onScroll: o, ...s }) => {
|
|
54812
54810
|
let c = V(null), [l, u] = Fe(!1), [d, f] = Fe(!0), p = B(() => {
|
|
54813
54811
|
if (n === "scroll" && c.current) {
|
|
54814
54812
|
let { scrollLeft: e, scrollWidth: t, offsetWidth: n } = c.current;
|
|
@@ -55446,7 +55444,7 @@ var DCe = () => /* @__PURE__ */ I("div", {
|
|
|
55446
55444
|
variant: "borderless",
|
|
55447
55445
|
density: "regular",
|
|
55448
55446
|
loading: !1
|
|
55449
|
-
}), "rounded-500 bg-surface-
|
|
55447
|
+
}), "rounded-500 bg-surface-primary-elevated size-h-500 inline-flex items-center justify-center px-3", "border-misc-border misc-border-size-default", "hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "focus-visible:border-content-accent", "focus-visible:ring-misc-focus-indicator-subdued", i),
|
|
55450
55448
|
...s,
|
|
55451
55449
|
children: /* @__PURE__ */ I(eK, {
|
|
55452
55450
|
score: e,
|
|
@@ -55493,7 +55491,7 @@ var PCe = W("flex size-300 shrink-0 items-center justify-center rounded-full", {
|
|
|
55493
55491
|
}), v5 = ({ type: e, preview: t, label: n, description: r, action: i, className: a, progress: o, isStacked: s = !1, dismissible: c = !0, closeLabel: l, onClose: u }) => {
|
|
55494
55492
|
let d = !!e || !!t, f = o !== void 0 && Number.isFinite(o) ? Math.min(100, Math.max(0, o)) : null, p = r ?? (e === "progress" && f !== null ? FCe(f / 100) : void 0);
|
|
55495
55493
|
return /* @__PURE__ */ L("div", {
|
|
55496
|
-
className: U("rounded-500 border-misc-border bg-surface-
|
|
55494
|
+
className: U("rounded-500 border-misc-border bg-surface-primary-elevated shadow-500 relative isolate flex min-h-[56px] w-72 items-center gap-3 overflow-hidden border py-2", d ? "px-3" : "ps-4 pe-3", a),
|
|
55497
55495
|
children: [
|
|
55498
55496
|
e === "danger" && /* @__PURE__ */ I("div", {
|
|
55499
55497
|
"aria-hidden": "true",
|
|
@@ -56241,8 +56239,8 @@ var cwe = /*#__PURE__*/ z.forwardRef(function(e, t) {
|
|
|
56241
56239
|
#n;
|
|
56242
56240
|
}, fwe = W(["rounded-500 flex items-center gap-3 border px-4 py-3", "transition-colors duration-200"], {
|
|
56243
56241
|
variants: { status: {
|
|
56244
|
-
pending: "border-misc-border bg-surface-
|
|
56245
|
-
loading: "border-misc-border bg-surface-
|
|
56242
|
+
pending: "border-misc-border bg-surface-primary-elevated",
|
|
56243
|
+
loading: "border-misc-border bg-surface-primary-elevated",
|
|
56246
56244
|
completed: "border-accent-500 bg-background-accent-subdued"
|
|
56247
56245
|
} },
|
|
56248
56246
|
defaultVariants: { status: "pending" }
|
|
@@ -56469,7 +56467,7 @@ M5.displayName = "PanelHeaderTrailing";
|
|
|
56469
56467
|
var N5 = ({ children: e, className: t, isSticky: n = !0 }) => {
|
|
56470
56468
|
let r = ve.count(e) === 1;
|
|
56471
56469
|
return /* @__PURE__ */ I("div", {
|
|
56472
|
-
className: U("flex w-full flex-col gap-3 px-4 pt-4", n && "bg-surface-
|
|
56470
|
+
className: U("flex w-full flex-col gap-3 px-4 pt-4", n && "bg-surface-primary-elevated sticky inset-x-0 top-0 z-20", r ? "pb-3" : "pb-2", t),
|
|
56473
56471
|
children: e
|
|
56474
56472
|
});
|
|
56475
56473
|
};
|
|
@@ -57465,7 +57463,7 @@ var m7 = {
|
|
|
57465
57463
|
}), h7 = ({ size: e = "default", className: t, children: n, ...r }) => /* @__PURE__ */ I("button", {
|
|
57466
57464
|
...r,
|
|
57467
57465
|
type: "button",
|
|
57468
|
-
className: U("bg-surface-
|
|
57466
|
+
className: U("bg-surface-primary-elevated flex w-10 items-center justify-center outline-hidden", e === "compact" ? "size-h-400" : "size-h-500", "border-misc-border border", "first:rounded-s-500 first:border-e-0", "last:rounded-e-500 last:border-s-0", "hover:bg-background-borderless-subdued-hover", "active:bg-background-borderless-subdued-down", "group-hover:border-misc-border-hover", "group-focus-visible:border-misc-border-hover", "disabled:pointer-events-none", "group", t),
|
|
57469
57467
|
tabIndex: -1,
|
|
57470
57468
|
children: /* @__PURE__ */ I("span", {
|
|
57471
57469
|
className: "group-disabled:opacity-30",
|
|
@@ -57633,7 +57631,7 @@ var m7 = {
|
|
|
57633
57631
|
ref: p,
|
|
57634
57632
|
disabled: o,
|
|
57635
57633
|
type: "number",
|
|
57636
|
-
className: H(d ? "size-h-400" : "size-h-500", "component-500 border-misc-border bg-surface-
|
|
57634
|
+
className: H(d ? "size-h-400" : "size-h-500", "component-500 border-misc-border bg-surface-primary-elevated text-content-primary w-10 border-0 border-y p-0 text-center focus:ring-0", "focus-visible:border-content-accent focus-visible:border focus-visible:outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:rounded-150", "focus-visible:relative focus-visible:z-10", "group-hover:not-focus-visible:border-misc-border-hover", "group-focus-visible:not-focus-visible:border-misc-border-hover", "group-disabled:opacity-30"),
|
|
57637
57635
|
value: h,
|
|
57638
57636
|
onFocus: ee,
|
|
57639
57637
|
onChange: M,
|
|
@@ -58057,11 +58055,11 @@ var nTe = ({ title: e, date: t, className: n }) => /* @__PURE__ */ L("div", {
|
|
|
58057
58055
|
ref: i,
|
|
58058
58056
|
...a,
|
|
58059
58057
|
className: U({
|
|
58060
|
-
"bg-surface-
|
|
58058
|
+
"bg-surface-primary": t === "surface-default",
|
|
58061
58059
|
"bg-neutral-50": t === "neutral-50",
|
|
58062
58060
|
"bg-sand-50": t === "sand-50",
|
|
58063
|
-
"to-surface-
|
|
58064
|
-
"from-surface-
|
|
58061
|
+
"to-surface-primary bg-linear-to-b from-neutral-50": t === "neutral-50-top",
|
|
58062
|
+
"from-surface-primary bg-linear-to-b to-neutral-50": t === "neutral-50-bottom"
|
|
58065
58063
|
}, n),
|
|
58066
58064
|
children: r
|
|
58067
58065
|
}));
|
|
@@ -58665,7 +58663,7 @@ var w7 = ({ label: e, value: t, max: n = 5, tooltip: r, className: i }) => {
|
|
|
58665
58663
|
className: H("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", o),
|
|
58666
58664
|
...s,
|
|
58667
58665
|
children: /* @__PURE__ */ L("div", {
|
|
58668
|
-
className: H("mx-auto flex max-w-[1200px] flex-col gap-6 p-4 sm:flex-row sm:p-6 lg:gap-12 lg:p-12", "border-content-accent bg-surface-
|
|
58666
|
+
className: H("mx-auto flex max-w-[1200px] flex-col gap-6 p-4 sm:flex-row sm:p-6 lg:gap-12 lg:p-12", "border-content-accent bg-surface-primary rounded-500 border-2"),
|
|
58669
58667
|
children: [/* @__PURE__ */ I("div", {
|
|
58670
58668
|
className: "flex flex-1 flex-col justify-center",
|
|
58671
58669
|
children: /* @__PURE__ */ L("div", {
|
|
@@ -58726,7 +58724,7 @@ var w7 = ({ label: e, value: t, max: n = 5, tooltip: r, className: i }) => {
|
|
|
58726
58724
|
c
|
|
58727
58725
|
].some(d);
|
|
58728
58726
|
return /* @__PURE__ */ L("div", {
|
|
58729
|
-
className: U("flex flex-col gap-6 md:flex-row md:items-start md:gap-8 lg:gap-10", "rounded-500 border-misc-border bg-surface-
|
|
58727
|
+
className: U("flex flex-col gap-6 md:flex-row md:items-start md:gap-8 lg:gap-10", "rounded-500 border-misc-border bg-surface-primary border p-4 md:p-6 lg:p-10", l),
|
|
58730
58728
|
...u,
|
|
58731
58729
|
children: [/* @__PURE__ */ L("div", {
|
|
58732
58730
|
className: "flex flex-1 flex-col md:max-w-[420px]",
|
|
@@ -58786,7 +58784,7 @@ var w7 = ({ label: e, value: t, max: n = 5, tooltip: r, className: i }) => {
|
|
|
58786
58784
|
}), LTe = ({ titleBlock: e, background: t = "lightgrey", className: n, children: r, ...i }) => /* @__PURE__ */ I("section", {
|
|
58787
58785
|
...i,
|
|
58788
58786
|
className: U("py-e700 px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
58789
|
-
"bg-surface-
|
|
58787
|
+
"bg-surface-primary": t === "white",
|
|
58790
58788
|
"bg-neutral-50": t === "lightgrey"
|
|
58791
58789
|
}, n),
|
|
58792
58790
|
children: /* @__PURE__ */ L("div", {
|
|
@@ -59089,7 +59087,7 @@ function QTe({ title: e, className: t, children: n, ...r }) {
|
|
|
59089
59087
|
//#region src/components/website/FooterBlockV2/FooterV2Block.tsx
|
|
59090
59088
|
function O7({ appsSectionTitle: e, appButtons: t, linksSections: n, socialLinks: r, legalLinks: i, languageSelector: a, ...o }) {
|
|
59091
59089
|
return /* @__PURE__ */ I("footer", {
|
|
59092
|
-
className: "bg-surface-
|
|
59090
|
+
className: "bg-surface-primary px-4 py-6 sm:px-6 sm:pt-20 md:px-8 lg:pt-24 lg:pb-10",
|
|
59093
59091
|
...o,
|
|
59094
59092
|
children: /* @__PURE__ */ L("div", {
|
|
59095
59093
|
className: "mx-auto flex max-w-[1200px] flex-col gap-12 md:gap-16 lg:gap-32",
|
|
@@ -59547,7 +59545,7 @@ var _Ee = ({ variant: e = "default", trustLabel: t, logos: n, ...r }) => {
|
|
|
59547
59545
|
}), /* @__PURE__ */ I("div", {
|
|
59548
59546
|
className: H("grid w-full flex-1 grid-cols-3 gap-3 sm:grid-cols-6 md:gap-[10px]", "lg:grid-cols-4 lg:gap-3 xl:grid-cols-6"),
|
|
59549
59547
|
children: n.map((e, t) => /* @__PURE__ */ I("div", {
|
|
59550
|
-
className: H("bg-surface-
|
|
59548
|
+
className: H("bg-surface-primary rounded-300 aspect-3/2 items-center justify-center overflow-hidden p-1", {
|
|
59551
59549
|
flex: t < 6,
|
|
59552
59550
|
"hidden sm:flex": t >= 6
|
|
59553
59551
|
}),
|
|
@@ -59606,7 +59604,7 @@ function bEe({ title: e, overline: t, className: n, ...r }) {
|
|
|
59606
59604
|
//#endregion
|
|
59607
59605
|
//#region src/components/website/OffersBlock/OffersBlock.tsx
|
|
59608
59606
|
var xEe = ({ title: e, children: t, ...n }) => /* @__PURE__ */ I("section", {
|
|
59609
|
-
className: "bg-surface-
|
|
59607
|
+
className: "bg-surface-primary pt-e700 pb-e1000 px-4 sm:px-6 md:px-8",
|
|
59610
59608
|
...n,
|
|
59611
59609
|
children: /* @__PURE__ */ L("div", {
|
|
59612
59610
|
className: "mx-auto flex max-w-[1200px] flex-col items-center",
|
|
@@ -59685,7 +59683,7 @@ var xEe = ({ title: e, children: t, ...n }) => /* @__PURE__ */ I("section", {
|
|
|
59685
59683
|
})]
|
|
59686
59684
|
}), r]
|
|
59687
59685
|
}), /* @__PURE__ */ L("div", {
|
|
59688
|
-
className: H("bg-surface-
|
|
59686
|
+
className: H("bg-surface-primary flex w-full flex-col justify-between p-6", "sm:flex-1 sm:basis-0"),
|
|
59689
59687
|
children: [/* @__PURE__ */ I("div", {
|
|
59690
59688
|
className: "flex h-10 w-[120px] items-center justify-start [&_img]:size-full [&_img]:object-contain [&_img]:object-left",
|
|
59691
59689
|
children: i
|
|
@@ -59778,7 +59776,7 @@ var xEe = ({ title: e, children: t, ...n }) => /* @__PURE__ */ I("section", {
|
|
|
59778
59776
|
})
|
|
59779
59777
|
}), OEe = ({ titleBlock: e, background: t = "lightgrey", cta: n, children: r, className: i, ...a }) => /* @__PURE__ */ I("section", {
|
|
59780
59778
|
className: H("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
59781
|
-
"bg-surface-
|
|
59779
|
+
"bg-surface-primary": t === "white",
|
|
59782
59780
|
"bg-neutral-50": t === "lightgrey"
|
|
59783
59781
|
}, i),
|
|
59784
59782
|
...a,
|
|
@@ -60127,7 +60125,7 @@ var IEe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
60127
60125
|
children: [
|
|
60128
60126
|
/* @__PURE__ */ I("div", {
|
|
60129
60127
|
"aria-hidden": !0,
|
|
60130
|
-
className: "bg-surface-
|
|
60128
|
+
className: "bg-surface-primary pointer-events-none sticky top-0 z-1 hidden xl:block",
|
|
60131
60129
|
style: {
|
|
60132
60130
|
height: "var(--header-stack-height, var(--header-height, 5rem))",
|
|
60133
60131
|
marginBottom: "calc(-1 * (var(--header-stack-height, var(--header-height, 5rem)) + 1.5rem))"
|
|
@@ -60135,7 +60133,7 @@ var IEe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
60135
60133
|
}),
|
|
60136
60134
|
/* @__PURE__ */ L("div", {
|
|
60137
60135
|
ref: c,
|
|
60138
|
-
className: "bg-surface-
|
|
60136
|
+
className: "bg-surface-primary relative hidden xl:sticky xl:top-[var(--header-stack-height,var(--header-height))] xl:z-1 xl:block",
|
|
60139
60137
|
children: [o && /* @__PURE__ */ I(K7, {
|
|
60140
60138
|
columnHighlights: i,
|
|
60141
60139
|
highlightRoundingClassName: "rounded-t-400"
|
|
@@ -60344,7 +60342,7 @@ var IEe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
60344
60342
|
]
|
|
60345
60343
|
});
|
|
60346
60344
|
}, ZEe = ({ label: e, variant: t = "neutral", children: n, ...r }) => /* @__PURE__ */ L("div", {
|
|
60347
|
-
className: H("relative flex flex-col", "xl:rounded-[16px] xl:p-1.5 xl:pt-8", t === "accent" ? "xl:bg-background-pro" : "xl:bg-surface-
|
|
60345
|
+
className: H("relative flex flex-col", "xl:rounded-[16px] xl:p-1.5 xl:pt-8", t === "accent" ? "xl:bg-background-pro" : "xl:bg-surface-secondary", ve.count(n) > 1 && "sm:col-span-2 xl:col-span-2"),
|
|
60348
60346
|
...r,
|
|
60349
60347
|
children: [/* @__PURE__ */ I("div", {
|
|
60350
60348
|
className: H("component-400 absolute inset-x-0 top-0 hidden h-8 items-center justify-center px-2 text-center xl:flex", t === "accent" ? "text-content-white-primary" : "text-content-primary"),
|
|
@@ -60422,7 +60420,7 @@ var IEe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
60422
60420
|
/* @__PURE__ */ I("div", {
|
|
60423
60421
|
className: H("flex items-end justify-end xl:hidden", d && "h-10", !d && "xs:h-4 sm:h-10"),
|
|
60424
60422
|
children: d && /* @__PURE__ */ I("div", {
|
|
60425
|
-
className: H("component-semi-strong-400 rounded-300 px-3 py-1", f === "accent" ? "bg-background-accent text-content-white-primary" : "bg-surface-
|
|
60423
|
+
className: H("component-semi-strong-400 rounded-300 px-3 py-1", f === "accent" ? "bg-background-accent text-content-white-primary" : "bg-surface-secondary text-content-primary"),
|
|
60426
60424
|
children: d
|
|
60427
60425
|
})
|
|
60428
60426
|
}),
|
|
@@ -60604,7 +60602,7 @@ var aDe = Object.assign($7, {
|
|
|
60604
60602
|
className: "component-400 text-content-white-primary absolute inset-x-0 top-0 flex h-8 items-center justify-center px-2 text-center",
|
|
60605
60603
|
children: c
|
|
60606
60604
|
}), /* @__PURE__ */ L("div", {
|
|
60607
|
-
className: H("flex flex-1 flex-col gap-8 md:flex-row md:items-start xl:flex-col", "rounded-500 bg-surface-
|
|
60605
|
+
className: H("flex flex-1 flex-col gap-8 md:flex-row md:items-start xl:flex-col", "rounded-500 bg-surface-primary p-4 md:p-6", !c && "border-misc-border border"),
|
|
60608
60606
|
children: [/* @__PURE__ */ L("div", {
|
|
60609
60607
|
className: "flex flex-col md:max-xl:flex-1",
|
|
60610
60608
|
children: [
|
|
@@ -60662,10 +60660,10 @@ var aDe = Object.assign($7, {
|
|
|
60662
60660
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
60663
60661
|
"interaction-transition transition-colors"
|
|
60664
60662
|
], { variants: { index: {
|
|
60665
|
-
0: "border-misc-border bg-surface-
|
|
60666
|
-
1: "group-has-[>span:nth-of-type(2):target]/tabs:border-misc-border group-has-[>span:nth-of-type(2):target]/tabs:bg-surface-
|
|
60667
|
-
2: "group-has-[>span:nth-of-type(3):target]/tabs:border-misc-border group-has-[>span:nth-of-type(3):target]/tabs:bg-surface-
|
|
60668
|
-
3: "group-has-[>span:nth-of-type(4):target]/tabs:border-misc-border group-has-[>span:nth-of-type(4):target]/tabs:bg-surface-
|
|
60663
|
+
0: "border-misc-border bg-surface-primary-elevated text-content-primary group-has-[>span:not(:nth-of-type(1)):target]/tabs:text-content-secondary group-has-[>div:not(:nth-of-type(1))_:target]/tabs:text-content-secondary group-has-[>div:not(:nth-of-type(1))_:target]/tabs:border-transparent group-has-[>div:not(:nth-of-type(1))_:target]/tabs:bg-transparent group-has-[>span:not(:nth-of-type(1)):target]/tabs:border-transparent group-has-[>span:not(:nth-of-type(1)):target]/tabs:bg-transparent",
|
|
60664
|
+
1: "group-has-[>span:nth-of-type(2):target]/tabs:border-misc-border group-has-[>span:nth-of-type(2):target]/tabs:bg-surface-primary-elevated group-has-[>span:nth-of-type(2):target]/tabs:text-content-primary group-has-[>div:nth-of-type(2)_:target]/tabs:border-misc-border group-has-[>div:nth-of-type(2)_:target]/tabs:bg-surface-primary-elevated group-has-[>div:nth-of-type(2)_:target]/tabs:text-content-primary",
|
|
60665
|
+
2: "group-has-[>span:nth-of-type(3):target]/tabs:border-misc-border group-has-[>span:nth-of-type(3):target]/tabs:bg-surface-primary-elevated group-has-[>span:nth-of-type(3):target]/tabs:text-content-primary group-has-[>div:nth-of-type(3)_:target]/tabs:border-misc-border group-has-[>div:nth-of-type(3)_:target]/tabs:bg-surface-primary-elevated group-has-[>div:nth-of-type(3)_:target]/tabs:text-content-primary",
|
|
60666
|
+
3: "group-has-[>span:nth-of-type(4):target]/tabs:border-misc-border group-has-[>span:nth-of-type(4):target]/tabs:bg-surface-primary-elevated group-has-[>span:nth-of-type(4):target]/tabs:text-content-primary group-has-[>div:nth-of-type(4)_:target]/tabs:border-misc-border group-has-[>div:nth-of-type(4)_:target]/tabs:bg-surface-primary-elevated group-has-[>div:nth-of-type(4)_:target]/tabs:text-content-primary"
|
|
60669
60667
|
} } }), lDe = W("", { variants: { index: {
|
|
60670
60668
|
0: "block group-has-[>div:not(:nth-of-type(1))_:target]/tabs:hidden group-has-[>span:not(:nth-of-type(1)):target]/tabs:hidden",
|
|
60671
60669
|
1: "hidden group-has-[>div:nth-of-type(2)_:target]/tabs:block group-has-[>span:nth-of-type(2):target]/tabs:block",
|
|
@@ -61298,14 +61296,14 @@ var SDe = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
61298
61296
|
className: U("relative flex flex-col", "items-start gap-4 ps-8", "lg:items-center lg:gap-11 lg:ps-0", r),
|
|
61299
61297
|
children: [
|
|
61300
61298
|
/* @__PURE__ */ I("div", {
|
|
61301
|
-
className: "rounded-500 bg-surface-
|
|
61299
|
+
className: "rounded-500 bg-surface-primary border-misc-border flex h-9 items-center justify-center border px-3",
|
|
61302
61300
|
children: /* @__PURE__ */ I("p", {
|
|
61303
61301
|
className: "component-600 text-content-primary max-w-full truncate text-center",
|
|
61304
61302
|
children: e
|
|
61305
61303
|
})
|
|
61306
61304
|
}),
|
|
61307
61305
|
/* @__PURE__ */ L("div", {
|
|
61308
|
-
className: "rounded-500 bg-surface-
|
|
61306
|
+
className: "rounded-500 bg-surface-primary border-misc-border flex w-full flex-col gap-2 border p-6",
|
|
61309
61307
|
children: [/* @__PURE__ */ I("h3", {
|
|
61310
61308
|
className: "component-700 text-content-primary text-pretty",
|
|
61311
61309
|
children: t
|
|
@@ -61316,7 +61314,7 @@ var SDe = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
61316
61314
|
}),
|
|
61317
61315
|
/* @__PURE__ */ I("span", {
|
|
61318
61316
|
"aria-hidden": "true",
|
|
61319
|
-
className: H("bg-surface-
|
|
61317
|
+
className: H("bg-surface-primary border-misc-border absolute size-3 rounded-full border", "start-0 top-3", "lg:start-1/2 lg:top-14 lg:-translate-x-1/2 lg:rtl:translate-x-1/2")
|
|
61320
61318
|
})
|
|
61321
61319
|
]
|
|
61322
61320
|
}), r9 = (({ as: e = "a", icon: t, title: n, description: r, image: i, ref: a, ...o }) => o.href ? /* @__PURE__ */ L(e, {
|
|
@@ -61460,7 +61458,7 @@ var FDe = ({ title: e, logos: t, className: n, ...r }) => {
|
|
|
61460
61458
|
}), /* @__PURE__ */ I("div", {
|
|
61461
61459
|
className: H("flex flex-wrap items-center justify-center gap-6", "max-w-[432px] lg:max-w-none lg:flex-nowrap"),
|
|
61462
61460
|
children: i.map((e, t) => /* @__PURE__ */ I("div", {
|
|
61463
|
-
className: "bg-surface-
|
|
61461
|
+
className: "bg-surface-primary rounded-500 flex size-32 shrink-0 items-center justify-center overflow-clip",
|
|
61464
61462
|
children: /* @__PURE__ */ I("div", {
|
|
61465
61463
|
className: "flex size-24 items-center justify-center",
|
|
61466
61464
|
children: e
|
|
@@ -61519,7 +61517,7 @@ var FDe = ({ title: e, logos: t, className: n, ...r }) => {
|
|
|
61519
61517
|
let a = ve.toArray(n), o = a.length;
|
|
61520
61518
|
return /* @__PURE__ */ I("section", {
|
|
61521
61519
|
className: U("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
61522
|
-
"bg-surface-
|
|
61520
|
+
"bg-surface-primary": t === "white",
|
|
61523
61521
|
"bg-neutral-50": t === "lightgrey"
|
|
61524
61522
|
}, r),
|
|
61525
61523
|
...i,
|
|
@@ -62190,7 +62188,7 @@ function N9({ children: e, className: t, label: n = "Main" }) {
|
|
|
62190
62188
|
}), /* @__PURE__ */ I(xOe, {
|
|
62191
62189
|
ref: f,
|
|
62192
62190
|
style: { insetInlineStart: SOe },
|
|
62193
|
-
className: U("bg-surface-
|
|
62191
|
+
className: U("bg-surface-primary shadow-700 rounded-500 ring-misc-border-default absolute top-full z-50 mt-3 ring-[0.5px]", "h-[var(--radix-navigation-menu-viewport-height,0px)] w-[var(--radix-navigation-menu-viewport-width,0px)]", "max-w-[calc(100vw-2rem)] origin-top overflow-hidden", "duration-500 ease-[cubic-bezier(0.16,1,0.3,1)]", a ? "transition-[opacity,transform,width,height,inset-inline-start]" : "transition-[opacity,transform]", l ? "translate-y-0 opacity-100" : "-translate-y-3 opacity-0", "data-[state=closed]:animate-nav-content-fade-out")
|
|
62194
62192
|
})]
|
|
62195
62193
|
}) : /* @__PURE__ */ I("nav", {
|
|
62196
62194
|
"aria-label": n,
|
|
@@ -62406,7 +62404,7 @@ var R9 = (({ as: e = "a", className: t, title: n, subtitle: r, ref: i, ...a }) =
|
|
|
62406
62404
|
children: r
|
|
62407
62405
|
})]
|
|
62408
62406
|
}), /* @__PURE__ */ I("span", {
|
|
62409
|
-
className: "bg-surface-
|
|
62407
|
+
className: "bg-surface-primary flex size-7 shrink-0 items-center justify-center rounded-full transition-transform group-hover:translate-x-0.5 group-active:translate-x-0.5 rtl:group-hover:-translate-x-0.5 rtl:group-active:-translate-x-0.5",
|
|
62410
62408
|
children: /* @__PURE__ */ I(m, {
|
|
62411
62409
|
"aria-hidden": !0,
|
|
62412
62410
|
className: "text-content-primary icon-size-300"
|
|
@@ -62447,7 +62445,7 @@ function DOe({ trigger: e, children: t, stackTarget: n }) {
|
|
|
62447
62445
|
}) : e] }, Te(e) ? e.key ?? t : t);
|
|
62448
62446
|
});
|
|
62449
62447
|
return n ? /* @__PURE__ */ L(_e, { children: [e, nee(/* @__PURE__ */ I("div", {
|
|
62450
|
-
className: "bg-surface-
|
|
62448
|
+
className: "bg-surface-primary shadow-700 rounded-500 ring-misc-border-default flex min-h-64 text-start whitespace-normal ring-[0.5px]",
|
|
62451
62449
|
children: f
|
|
62452
62450
|
}), n)] }) : a ? /* @__PURE__ */ L(M9, { children: [/* @__PURE__ */ I(vOe, {
|
|
62453
62451
|
asChild: !0,
|
|
@@ -62462,7 +62460,7 @@ function DOe({ trigger: e, children: t, stackTarget: n }) {
|
|
|
62462
62460
|
})] }) : /* @__PURE__ */ L("li", {
|
|
62463
62461
|
className: "group/panel",
|
|
62464
62462
|
children: [e, /* @__PURE__ */ I("div", {
|
|
62465
|
-
className: H("absolute inset-x-0 top-full z-50 mx-auto mt-3 hidden w-max", "group-focus-within/panel:block group-hover/panel:block", "before:absolute before:inset-x-0 before:-top-7 before:h-7 before:content-['']", "bg-surface-
|
|
62463
|
+
className: H("absolute inset-x-0 top-full z-50 mx-auto mt-3 hidden w-max", "group-focus-within/panel:block group-hover/panel:block", "before:absolute before:inset-x-0 before:-top-7 before:h-7 before:content-['']", "bg-surface-primary shadow-700 rounded-500 ring-misc-border-default ring-[0.5px]", "max-w-[calc(100vw-2rem)] min-w-96"),
|
|
62466
62464
|
children: /* @__PURE__ */ I("div", {
|
|
62467
62465
|
className: "rounded-500 flex min-h-64 w-full overflow-x-auto text-start whitespace-normal",
|
|
62468
62466
|
children: f
|
|
@@ -62478,7 +62476,7 @@ var B9 = ({ className: e, title: t, children: n, footer: r, background: i = "sur
|
|
|
62478
62476
|
ref: a,
|
|
62479
62477
|
role: "group",
|
|
62480
62478
|
"aria-labelledby": s,
|
|
62481
|
-
className: U("flex flex-col p-4 lg:min-w-[280px] lg:p-6", i === "sand-50" ? "lg:bg-sand-50" : "lg:bg-surface-
|
|
62479
|
+
className: U("flex flex-col p-4 lg:min-w-[280px] lg:p-6", i === "sand-50" ? "lg:bg-sand-50" : "lg:bg-surface-primary", e),
|
|
62482
62480
|
...o,
|
|
62483
62481
|
children: [
|
|
62484
62482
|
/* @__PURE__ */ I("span", {
|