@photoroom/ui 0.1.751 → 0.1.753
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/components/action/HeroButton/HeroButton.d.ts.map +1 -1
- package/components/action/NavigationToggleButton/NavigationToggleButton.d.ts.map +1 -1
- package/components/collections/MultiActionWidget/ActionButton.d.ts.map +1 -1
- package/components/input/FolderList/FolderListItem.d.ts.map +1 -1
- package/components/input/ImagePicker/ImagePicker.d.ts.map +1 -1
- package/components/input/InlineRadioGroup/InlineRadioGroupItem.d.ts.map +1 -1
- package/components/input/NumberField/NumberField.d.ts.map +1 -1
- package/components/input/PresetGroup/PresetGroupItem.d.ts.map +1 -1
- package/components/input/RadioGroup/RadioGroupItem/RadioGroupItem.d.ts.map +1 -1
- package/components/input/TextFieldLabel/TextFieldLabel.d.ts.map +1 -1
- package/components/navigation/SideNavigation/SideNavigationItem/SideNavigationItem.d.ts.map +1 -1
- package/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingSubscriptionTypeSelector.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +125 -152
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -7027,7 +7027,7 @@ var Gd = {
|
|
|
7027
7027
|
"on-dark": "bg-background-white hover:bg-background-white-hover focus-visible:bg-background-white-hover focus-visible:ring-misc-white-focus-indicator active:bg-background-white text-black",
|
|
7028
7028
|
"secondary-on-dark": "bg-background-white-subdued text-content-white-primary hover:bg-background-white-subdued-hover focus-visible:bg-background-white-subdued-hover focus-visible:ring-misc-white-focus-indicator active:bg-background-white-subdued-down",
|
|
7029
7029
|
"borderless-on-dark": "hover:bg-background-white-subdued-hover focus-visible:bg-background-white-subdued-hover active:bg-background-white-subdued-down focus-visible:ring-misc-white-focus-indicator text-white"
|
|
7030
|
-
}, Kd = W("focus-visible:misc-border-size-focus-ring relative inline-flex w-fit max-w-full appearance-none items-center justify-center truncate overflow-hidden text-center outline-hidden transition-all duration-200 disabled:pointer-events-none
|
|
7030
|
+
}, Kd = W("focus-visible:misc-border-size-focus-ring relative inline-flex w-fit max-w-full appearance-none items-center justify-center truncate overflow-hidden text-center outline-hidden transition-all duration-200 disabled:pointer-events-none", {
|
|
7031
7031
|
variants: {
|
|
7032
7032
|
variant: Gd,
|
|
7033
7033
|
density: {
|
|
@@ -7285,7 +7285,7 @@ var gre = ({ as: e }) => e ? /* @__PURE__ */ I(e, {
|
|
|
7285
7285
|
"inline-flex items-center justify-center",
|
|
7286
7286
|
"box-border shrink-0 truncate overflow-hidden",
|
|
7287
7287
|
"rounded-full outline-hidden",
|
|
7288
|
-
"
|
|
7288
|
+
"disabled:pointer-events-none disabled:opacity-30",
|
|
7289
7289
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
7290
7290
|
"interaction-transition transition-colors"
|
|
7291
7291
|
], {
|
|
@@ -7421,7 +7421,7 @@ var af = ({ className: e, ...t }) => /* @__PURE__ */ I("button", {
|
|
|
7421
7421
|
return /* @__PURE__ */ L("button", {
|
|
7422
7422
|
ref: a,
|
|
7423
7423
|
type: "button",
|
|
7424
|
-
className: U("
|
|
7424
|
+
className: U("outline-hidden", "flex shrink-0 items-center", s ? H("rounded-400 h-8 gap-1.25 pe-2", t > 0 ? "ps-2" : "ps-2.75") : "rounded-500 h-10 gap-2 px-3", "bg-background-subdued", "hover:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-500 text-content-primary", "disabled:bg-background-subdued-down disabled:pointer-events-none disabled:opacity-30", "transition duration-200", i),
|
|
7425
7425
|
...o,
|
|
7426
7426
|
children: [
|
|
7427
7427
|
t > 0 ? /* @__PURE__ */ I("div", {
|
|
@@ -7455,7 +7455,7 @@ var sf = ({ label: e, onRemove: t, removeAriaLabel: n, removeTestId: r, classNam
|
|
|
7455
7455
|
onClick: t,
|
|
7456
7456
|
"aria-label": n ?? `Remove ${e}`,
|
|
7457
7457
|
"data-testid": r,
|
|
7458
|
-
className: H("rounded-150 text-content-secondary flex size-5 shrink-0
|
|
7458
|
+
className: H("rounded-150 text-content-secondary flex size-5 shrink-0 items-center justify-center outline-hidden transition-colors", "hover:bg-background-borderless-subdued-hover hover:text-content-primary", "active:bg-background-borderless-subdued-down", "focus-visible:bg-background-borderless-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring"),
|
|
7459
7459
|
children: /* @__PURE__ */ I(g, {
|
|
7460
7460
|
className: "icon-size-300",
|
|
7461
7461
|
"aria-hidden": "true"
|
|
@@ -7473,7 +7473,7 @@ var bre = Object.assign(({ onClearAll: e, clearAllLabel: t = "Clear all", clearA
|
|
|
7473
7473
|
type: "button",
|
|
7474
7474
|
onClick: e,
|
|
7475
7475
|
"data-testid": n,
|
|
7476
|
-
className: H("component-500 rounded-200 text-content-secondary shrink-0
|
|
7476
|
+
className: H("component-500 rounded-200 text-content-secondary shrink-0 outline-hidden transition-colors", "hover:text-content-primary", "focus-visible:text-content-primary focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring"),
|
|
7477
7477
|
children: t
|
|
7478
7478
|
})]
|
|
7479
7479
|
}), { Group: ({ label: e, children: t }) => {
|
|
@@ -11420,7 +11420,7 @@ var Hae = W([
|
|
|
11420
11420
|
...r,
|
|
11421
11421
|
ref: n,
|
|
11422
11422
|
type: "button",
|
|
11423
|
-
className: H("relative overflow-hidden", "size-h-400 w-8
|
|
11423
|
+
className: H("relative overflow-hidden", "size-h-400 w-8 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),
|
|
11424
11424
|
children: /* @__PURE__ */ I(re, { className: "icon-size-500 relative" })
|
|
11425
11425
|
})
|
|
11426
11426
|
});
|
|
@@ -11450,8 +11450,7 @@ var uh = (({ as: t = "button", type: n = "button", className: r, variant: a = "a
|
|
|
11450
11450
|
"flash"
|
|
11451
11451
|
].includes(a),
|
|
11452
11452
|
"focus-visible:ring-misc-white-focus-indicator": a === "on-dark",
|
|
11453
|
-
"
|
|
11454
|
-
"cursor-not-allowed opacity-30": d.disabled && !s
|
|
11453
|
+
"opacity-30": d.disabled && !s
|
|
11455
11454
|
}, r),
|
|
11456
11455
|
children: [
|
|
11457
11456
|
s && /* @__PURE__ */ I(e, { className: H("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2", "icon-size-500", "[&~*]:pointer-events-none! [&~*]:opacity-0!") }),
|
|
@@ -11476,7 +11475,7 @@ var qae = W([
|
|
|
11476
11475
|
"flex items-center justify-center",
|
|
11477
11476
|
"rounded-250 h-5 w-5 outline-hidden",
|
|
11478
11477
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
11479
|
-
"disabled:
|
|
11478
|
+
"disabled:opacity-30"
|
|
11480
11479
|
], {
|
|
11481
11480
|
variants: { variant: {
|
|
11482
11481
|
accent: "text-content-accent hover:text-content-accent-hover focus-visible:text-content-accent-hover active:text-content-accent-down",
|
|
@@ -11497,7 +11496,7 @@ var fh = ({ className: e, children: t, ref: n, ...r }) => /* @__PURE__ */ L("but
|
|
|
11497
11496
|
type: "button",
|
|
11498
11497
|
...r,
|
|
11499
11498
|
ref: n,
|
|
11500
|
-
className: U("component-400 rounded-200 inline-flex
|
|
11499
|
+
className: U("component-400 rounded-200 inline-flex items-center gap-0.5", "text-content-tertiary hover:text-content-primary active:text-content-primary", "radix-state-open:text-content-primary", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:text-content-primary outline-hidden", "transition-colors duration-150 ease-out", e),
|
|
11501
11500
|
children: [t, /* @__PURE__ */ I(d, { className: "size-3.5 shrink-0" })]
|
|
11502
11501
|
});
|
|
11503
11502
|
fh.displayName = "InlineButton";
|
|
@@ -12078,7 +12077,7 @@ var Th = /* @__PURE__ */ new Set(), soe = ({ variant: t = "default", label: n, p
|
|
|
12078
12077
|
return /* @__PURE__ */ L("button", {
|
|
12079
12078
|
...a,
|
|
12080
12079
|
ref: i,
|
|
12081
|
-
className: H("inline-flex h-8 w-fit max-w-full items-center gap-1.5 py-1 pe-2.5", o ? "ps-1" : "ps-2.5", "appearance-none rounded-full", "bg-background-subdued text-center outline-hidden", "interaction-transition transition-colors", "hover:bg-background-subdued-hover", "focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "active:bg-background-subdued-down", "aria-expanded:bg-background-subdued-hover", "disabled:pointer-events-none disabled:
|
|
12080
|
+
className: H("inline-flex h-8 w-fit max-w-full items-center gap-1.5 py-1 pe-2.5", o ? "ps-1" : "ps-2.5", "appearance-none rounded-full", "bg-background-subdued text-center outline-hidden", "interaction-transition transition-colors", "hover:bg-background-subdued-hover", "focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "active:bg-background-subdued-down", "aria-expanded:bg-background-subdued-hover", "disabled:pointer-events-none disabled:opacity-30", r),
|
|
12082
12081
|
children: [/* @__PURE__ */ I(coe, {
|
|
12083
12082
|
leadingIcon: t,
|
|
12084
12083
|
leadingImage: n
|
|
@@ -12128,7 +12127,7 @@ var Dh = 16, Oh = 2, kh = 7, Ah = 2 * Math.PI * kh, jh = ({ value: e = 0, max: t
|
|
|
12128
12127
|
let o = ke();
|
|
12129
12128
|
return /* @__PURE__ */ L("button", {
|
|
12130
12129
|
ref: i,
|
|
12131
|
-
className: U("h-10 px-3", "flex items-center gap-2", "rounded-500", "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 focus-visible:outline-hidden", "interaction-transition transition-colors", "disabled:
|
|
12130
|
+
className: U("h-10 px-3", "flex items-center gap-2", "rounded-500", "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 focus-visible:outline-hidden", "interaction-transition transition-colors", "disabled:opacity-30", r),
|
|
12132
12131
|
...a,
|
|
12133
12132
|
children: [/* @__PURE__ */ I(jh, {
|
|
12134
12133
|
value: e,
|
|
@@ -12148,7 +12147,7 @@ var Nh = /* @__PURE__ */ function(e) {
|
|
|
12148
12147
|
return e.Apple = "apple", e.Facebook = "facebook", e.Google = "google", e.GoogleOneTap = "google one tap", e.Email = "email", e;
|
|
12149
12148
|
}({}), loe = W([
|
|
12150
12149
|
"interaction-transition outline-hidden transition",
|
|
12151
|
-
"disabled:pointer-events-none disabled:
|
|
12150
|
+
"disabled:pointer-events-none disabled:opacity-50",
|
|
12152
12151
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
12153
12152
|
"component-500 rounded-500"
|
|
12154
12153
|
], {
|
|
@@ -12213,10 +12212,7 @@ Fh.displayName = "MobileNavigationButton";
|
|
|
12213
12212
|
//#endregion
|
|
12214
12213
|
//#region src/components/action/NavigationToggleButton/NavigationToggleButton.tsx
|
|
12215
12214
|
var doe = W("group flex w-full flex-col items-center justify-center gap-0.5 outline-hidden", {
|
|
12216
|
-
variants: { disabled: {
|
|
12217
|
-
true: "cursor-not-allowed opacity-30",
|
|
12218
|
-
false: "cursor-pointer"
|
|
12219
|
-
} },
|
|
12215
|
+
variants: { disabled: { true: "opacity-30" } },
|
|
12220
12216
|
defaultVariants: { disabled: !1 }
|
|
12221
12217
|
}), foe = W("rounded-500 relative p-2", {
|
|
12222
12218
|
variants: {
|
|
@@ -12387,7 +12383,7 @@ Vh.displayName = "PullDownButton";
|
|
|
12387
12383
|
//#region src/components/action/RetryButton/RetryButton.tsx
|
|
12388
12384
|
var Hh = ({ className: e, ref: t, ...n }) => /* @__PURE__ */ I("button", {
|
|
12389
12385
|
ref: t,
|
|
12390
|
-
className: U("inline-flex items-center justify-center", "h-12 w-12", "shadow-500 rounded-full", "bg-black-alpha-400 hover:bg-black-alpha-500 active:bg-black-alpha-600", "text-white", "appearance-none outline-hidden transition-colors", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:pointer-events-none disabled:
|
|
12386
|
+
className: U("inline-flex items-center justify-center", "h-12 w-12", "shadow-500 rounded-full", "bg-black-alpha-400 hover:bg-black-alpha-500 active:bg-black-alpha-600", "text-white", "appearance-none outline-hidden transition-colors", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:pointer-events-none disabled:opacity-30", e),
|
|
12391
12387
|
...n,
|
|
12392
12388
|
children: /* @__PURE__ */ I(ae, {
|
|
12393
12389
|
className: "h-5 w-5",
|
|
@@ -12407,7 +12403,7 @@ var Uh = W("inline-flex flex-col items-center", {
|
|
|
12407
12403
|
"shrink-0 appearance-none overflow-hidden",
|
|
12408
12404
|
"inline-flex items-center justify-center",
|
|
12409
12405
|
"rounded-full",
|
|
12410
|
-
"
|
|
12406
|
+
"disabled:opacity-30",
|
|
12411
12407
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden",
|
|
12412
12408
|
"interaction-transition transition-colors"
|
|
12413
12409
|
], {
|
|
@@ -12481,7 +12477,7 @@ var Jh = ({ direction: e = "end", className: t, ref: n, ...r }) => {
|
|
|
12481
12477
|
...r,
|
|
12482
12478
|
type: "button",
|
|
12483
12479
|
ref: n,
|
|
12484
|
-
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:
|
|
12480
|
+
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:opacity-30", "interaction-transition transition-colors", t),
|
|
12485
12481
|
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" })]
|
|
12486
12482
|
});
|
|
12487
12483
|
};
|
|
@@ -12553,7 +12549,7 @@ var voe = ({ href: e, title: t, size: n = "default", icon: r, iconElement: i, cl
|
|
|
12553
12549
|
"icon-size-800": n === "default",
|
|
12554
12550
|
"icon-size-600": n === "small"
|
|
12555
12551
|
}) }) : i
|
|
12556
|
-
}), yoe = W(H("inline-flex max-w-full min-w-24 flex-col items-center justify-center gap-0.5 px-1 py-2.5", "rounded-500 appearance-none outline-hidden", "focus-visible:misc-border-size-focus-ring", "disabled:pointer-events-none disabled:
|
|
12552
|
+
}), yoe = W(H("inline-flex max-w-full min-w-24 flex-col items-center justify-center gap-0.5 px-1 py-2.5", "rounded-500 appearance-none outline-hidden", "focus-visible:misc-border-size-focus-ring", "disabled:pointer-events-none disabled:opacity-30", "interaction-transition transition-all"), {
|
|
12557
12553
|
variants: { variant: Gd },
|
|
12558
12554
|
defaultVariants: { variant: "accent" }
|
|
12559
12555
|
}), Zh = ({ icon: e, variant: t, type: n = "button", className: r, children: i, ref: a, ...o }) => /* @__PURE__ */ L("button", {
|
|
@@ -12719,7 +12715,7 @@ Qh(fg, "getState");
|
|
|
12719
12715
|
var pg = ({ icons: e, className: t, children: n, ref: r, ...i }) => /* @__PURE__ */ L(og, {
|
|
12720
12716
|
...i,
|
|
12721
12717
|
ref: r,
|
|
12722
|
-
className: U("group inline-flex max-w-full min-w-24 flex-col items-center justify-center gap-0.5 px-1 py-2.5", "rounded-500
|
|
12718
|
+
className: U("group inline-flex max-w-full min-w-24 flex-col items-center justify-center gap-0.5 px-1 py-2.5", "rounded-500 outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:opacity-30", "interaction-transition transition-all", "radix-state-unchecked:bg-background-subdued radix-state-unchecked:text-content-primary", "hover:radix-state-unchecked:bg-background-subdued-hover focus-visible:radix-state-unchecked:bg-background-subdued-hover active:radix-state-unchecked:bg-background-subdued-down", "radix-state-checked:bg-background-accent radix-state-checked:text-content-white-primary", "hover:radix-state-checked:bg-background-accent-hover focus-visible:radix-state-checked:bg-background-accent-hover active:radix-state-checked:bg-background-accent-down", t),
|
|
12723
12719
|
children: [/* @__PURE__ */ L("div", {
|
|
12724
12720
|
role: "presentation",
|
|
12725
12721
|
className: "icon-size-500",
|
|
@@ -12736,7 +12732,7 @@ var pg = ({ icons: e, className: t, children: n, ref: r, ...i }) => /* @__PURE__
|
|
|
12736
12732
|
})]
|
|
12737
12733
|
});
|
|
12738
12734
|
pg.displayName = "StackToggleButton";
|
|
12739
|
-
var mg = ({ children: e }) => Vd(e) ? /* @__PURE__ */ I(e, {}) : e, Coe = W("rounded-200 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring cursor-
|
|
12735
|
+
var mg = ({ children: e }) => Vd(e) ? /* @__PURE__ */ I(e, {}) : e, Coe = W("rounded-200 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring cursor-default outline-hidden transition-colors duration-150 ease-out [&[href]]:cursor-pointer", {
|
|
12740
12736
|
variants: { variant: {
|
|
12741
12737
|
accent: "text-content-accent hover:text-content-accent-hover focus-visible:text-content-accent-hover active:text-content-accent-down",
|
|
12742
12738
|
primary: "text-content-primary underline",
|
|
@@ -28707,7 +28703,7 @@ var _F = "en", vF = {
|
|
|
28707
28703
|
});
|
|
28708
28704
|
}, xF = ({ icons: e, className: t, ref: n, ...r }) => /* @__PURE__ */ I(og, {
|
|
28709
28705
|
...r,
|
|
28710
|
-
className: H("group shrink-0
|
|
28706
|
+
className: H("group shrink-0 outline-hidden", "inline-flex aspect-square items-center justify-center p-2.5", "rounded-500", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "radix-state-unchecked:text-content-primary", "disabled:opacity-30", "interaction-transition transition-all", "focus-visible:radix-state-unchecked:bg-background-borderless-subdued-hover active:radix-state-unchecked:bg-background-borderless-subdued-down", "focus-visible:radix-state-checked:bg-background-subdued-hover active:radix-state-checked:bg-background-subdued-down", t),
|
|
28711
28707
|
ref: n,
|
|
28712
28708
|
children: /* @__PURE__ */ L("div", {
|
|
28713
28709
|
role: "presentation",
|
|
@@ -28916,7 +28912,7 @@ qF.displayName = "TextAreaAutosize";
|
|
|
28916
28912
|
//#endregion
|
|
28917
28913
|
//#region src/components/input/TextArea/TextArea.tsx
|
|
28918
28914
|
var JF = ({ label: e, helper: t, className: n, invalid: r, trailingElement: i, autosized: a, style: o, ref: s, ...c }) => {
|
|
28919
|
-
let l = ke(), 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:
|
|
28915
|
+
let l = ke(), 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:opacity-30", {
|
|
28920
28916
|
"border-content-negative focus-visible:border-content-negative focus-visible:ring-0": r,
|
|
28921
28917
|
"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
|
|
28922
28918
|
}, n);
|
|
@@ -29012,7 +29008,7 @@ YF.displayName = "ValidationBanner";
|
|
|
29012
29008
|
//#endregion
|
|
29013
29009
|
//#region src/components/collections/CommonMenu/MenuItemButton.tsx
|
|
29014
29010
|
var XF = W([
|
|
29015
|
-
"component-500 misc-dropdown-inner-rounding flex w-full
|
|
29011
|
+
"component-500 misc-dropdown-inner-rounding flex w-full pe-3 outline-hidden",
|
|
29016
29012
|
"hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down",
|
|
29017
29013
|
"disabled:pointer-events-none disabled:opacity-30 disabled:select-none",
|
|
29018
29014
|
"aria-disabled:pointer-events-none aria-disabled:opacity-30 aria-disabled:select-none"
|
|
@@ -33021,7 +33017,7 @@ var iU = Object.defineProperty, aU = (e, t) => iU(e, "name", {
|
|
|
33021
33017
|
e.key !== "ArrowDown" && e.key !== "ArrowUp" && e.key !== "Escape" && e.stopPropagation();
|
|
33022
33018
|
}, [d, n]);
|
|
33023
33019
|
return /* @__PURE__ */ L("label", {
|
|
33024
|
-
className: U("relative cursor-
|
|
33020
|
+
className: U("relative cursor-text", "h-[calc(3.5rem-2px)] w-full p-3", "flex items-center gap-2", "bg-surface-primary-elevated", "has-disabled:opacity-30", e),
|
|
33025
33021
|
children: [
|
|
33026
33022
|
/* @__PURE__ */ I(le, { className: "text-content-secondary pointer-events-none h-4 w-4 shrink-0" }),
|
|
33027
33023
|
/* @__PURE__ */ I("input", {
|
|
@@ -33051,7 +33047,7 @@ var OU = ({ children: e, className: t, description: n, noWrap: r, onSelect: i, r
|
|
|
33051
33047
|
s.current?.getAttribute("data-state") === "checked" && s.current.scrollIntoView({ block: "center" });
|
|
33052
33048
|
}, []), /* @__PURE__ */ I(yU, {
|
|
33053
33049
|
ref: c,
|
|
33054
|
-
className: U("component-500 misc-dropdown-inner-rounding w-full cursor-
|
|
33050
|
+
className: U("component-500 misc-dropdown-inner-rounding w-full cursor-default outline-hidden", "disabled:pointer-events-none disabled:opacity-30 disabled:select-none", "aria-disabled:pointer-events-none aria-disabled:opacity-30 aria-disabled:select-none", "text-content-primary hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "min-h-[40px] py-2.5", "px-2", t),
|
|
33055
33051
|
onSelect: (e) => {
|
|
33056
33052
|
e.preventDefault(), i?.(e);
|
|
33057
33053
|
},
|
|
@@ -33114,7 +33110,7 @@ var MU = ({ children: e, className: t, description: n, noWrap: r, ref: i, ...a }
|
|
|
33114
33110
|
o.current?.getAttribute("data-state") === "checked" && o.current.scrollIntoView({ block: "center" });
|
|
33115
33111
|
}, []), /* @__PURE__ */ I(xU, {
|
|
33116
33112
|
ref: s,
|
|
33117
|
-
className: U("component-500 misc-dropdown-inner-rounding w-full cursor-
|
|
33113
|
+
className: U("component-500 misc-dropdown-inner-rounding w-full cursor-default outline-hidden", "disabled:pointer-events-none disabled:opacity-30 disabled:select-none", "aria-disabled:pointer-events-none aria-disabled:opacity-30 aria-disabled:select-none", "text-content-primary hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "min-h-[40px] py-2.5", "pe-2", "radix-state-checked:ps-2", "radix-state-unchecked:ps-8", t),
|
|
33118
33114
|
...a,
|
|
33119
33115
|
children: /* @__PURE__ */ L("div", {
|
|
33120
33116
|
className: "flex items-center gap-1",
|
|
@@ -33289,27 +33285,27 @@ var zU = (({ as: e, icon: t, title: n, description: r, href: i, className: a, di
|
|
|
33289
33285
|
className: "body-500 text-content-secondary line-clamp-2",
|
|
33290
33286
|
children: r
|
|
33291
33287
|
})]
|
|
33292
|
-
})] }), d =
|
|
33293
|
-
className:
|
|
33288
|
+
})] }), d = e || (i ? "a" : "button"), f = {
|
|
33289
|
+
className: 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", "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 opacity-50": o }, a),
|
|
33294
33290
|
onClick: s
|
|
33295
33291
|
};
|
|
33296
|
-
if (
|
|
33292
|
+
if (d === "a") {
|
|
33297
33293
|
let e = l;
|
|
33298
33294
|
return /* @__PURE__ */ I("a", {
|
|
33299
33295
|
ref: c,
|
|
33300
33296
|
href: i,
|
|
33301
|
-
...
|
|
33297
|
+
...f,
|
|
33302
33298
|
...e,
|
|
33303
33299
|
children: u
|
|
33304
33300
|
});
|
|
33305
33301
|
}
|
|
33306
|
-
let
|
|
33302
|
+
let p = l;
|
|
33307
33303
|
return /* @__PURE__ */ I("button", {
|
|
33308
33304
|
ref: c,
|
|
33309
|
-
type:
|
|
33305
|
+
type: p.type ?? "button",
|
|
33310
33306
|
disabled: o,
|
|
33307
|
+
...f,
|
|
33311
33308
|
...p,
|
|
33312
|
-
...m,
|
|
33313
33309
|
children: u
|
|
33314
33310
|
});
|
|
33315
33311
|
});
|
|
@@ -33620,7 +33616,7 @@ var uW = 175, dW = typeof window < "u" ? Me : De, fW = ({ label: e, isSelected:
|
|
|
33620
33616
|
onDoubleClick: y,
|
|
33621
33617
|
"data-testid": "board-section-label",
|
|
33622
33618
|
"aria-pressed": t,
|
|
33623
|
-
className: U("component-semi-strong-500 rounded-300
|
|
33619
|
+
className: U("component-semi-strong-500 rounded-300 px-2 py-1", t ? "bg-background-accent text-white" : "text-content-secondary not-in-data-[batch-tile-hover-suppressed]:hover:bg-background-borderless-subdued-hover not-in-data-[batch-tile-hover-suppressed]:group-hover:bg-background-borderless-subdued-hover", l?.className),
|
|
33624
33620
|
children: e
|
|
33625
33621
|
}), /* @__PURE__ */ I("hr", { className: H("h-px flex-1 border-none", t ? "bg-background-accent" : "bg-misc-border not-in-data-[batch-tile-hover-suppressed]:group-hover:bg-misc-border-emphasized") })]
|
|
33626
33622
|
});
|
|
@@ -33867,7 +33863,7 @@ var MW = W("group/checkbox-indicator rounded-200 relative flex h-5 w-5 shrink-0
|
|
|
33867
33863
|
}), /* @__PURE__ */ I("span", { className: PW({ variant: e }) })]
|
|
33868
33864
|
})
|
|
33869
33865
|
}), IW = [
|
|
33870
|
-
"
|
|
33866
|
+
"outline-hidden",
|
|
33871
33867
|
"hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down",
|
|
33872
33868
|
"focus-visible:bg-background-borderless-subdued-hover",
|
|
33873
33869
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
@@ -34330,7 +34326,7 @@ var JW = /* @__PURE__ */ gt((() => {
|
|
|
34330
34326
|
}),
|
|
34331
34327
|
/* @__PURE__ */ L("div", {
|
|
34332
34328
|
slot: "handle",
|
|
34333
|
-
className: H("inline-flex h-8 w-8 cursor-
|
|
34329
|
+
className: H("inline-flex h-8 w-8 cursor-default items-center justify-center rounded-full", a === "on-dark" ? "bg-background-white text-content-black-primary" : "bg-background-accent text-content-white-primary"),
|
|
34334
34330
|
children: [/* @__PURE__ */ I(f, { className: "-me-1.5 size-4" }), /* @__PURE__ */ I(m, { className: "size-4" })]
|
|
34335
34331
|
})
|
|
34336
34332
|
]
|
|
@@ -34542,7 +34538,7 @@ var JW = /* @__PURE__ */ gt((() => {
|
|
|
34542
34538
|
ref: i,
|
|
34543
34539
|
type: e === "button" ? "button" : void 0,
|
|
34544
34540
|
...a,
|
|
34545
|
-
className: U("rounded-400 bg-background-subdued flex h-12 items-center gap-3 p-3.5", "appearance-none outline-hidden", "component-500 text-content-primary", "hover:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "interaction-transition transition-colors", "disabled:pointer-events-none disabled:
|
|
34541
|
+
className: U("rounded-400 bg-background-subdued flex h-12 items-center gap-3 p-3.5", "appearance-none outline-hidden", "component-500 text-content-primary", "hover:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "interaction-transition transition-colors", "disabled:pointer-events-none disabled:opacity-30", t),
|
|
34546
34542
|
children: [/* @__PURE__ */ I(r, { className: "icon-size-500 text-content-primary shrink-0" }), /* @__PURE__ */ I("span", {
|
|
34547
34543
|
className: "min-w-0 truncate text-start",
|
|
34548
34544
|
children: n
|
|
@@ -34612,7 +34608,7 @@ var mG = ({ className: e, title: t, description: n, image: r, badge: i, ...a })
|
|
|
34612
34608
|
role: a.role ?? (o ? "button" : void 0),
|
|
34613
34609
|
tabIndex: a.tabIndex ?? (o ? 0 : void 0),
|
|
34614
34610
|
onKeyDown: o ? s : a.onKeyDown,
|
|
34615
|
-
className: U("rounded-500 flex w-full
|
|
34611
|
+
className: U("rounded-500 flex w-full items-center gap-3 p-3", o ? "cursor-default" : "cursor-pointer", "bg-background-subdued hover:bg-background-subdued-hover focus-visible:bg-background-subdued active:bg-background-subdued-down", "focus:ring-misc-focus-indicator focus:misc-border-size-focus-ring transition-all", e),
|
|
34616
34612
|
children: [
|
|
34617
34613
|
/* @__PURE__ */ I("figure", {
|
|
34618
34614
|
className: "bg-background-accent-subdued rounded-200 relative h-12 w-12 shrink-0 overflow-hidden",
|
|
@@ -34694,7 +34690,7 @@ var _G = ({ checkerboard: t, cover: n, imageUrl: r, loading: i, bottomRightIcon:
|
|
|
34694
34690
|
let i = Ne(() => e ? 5 : vG, [e]);
|
|
34695
34691
|
return /* @__PURE__ */ L("div", {
|
|
34696
34692
|
onClick: r,
|
|
34697
|
-
className: "rounded-500 border-misc-hairline bg-background-subdued hover:bg-background-subdued-hover active:bg-background-subdued-down flex w-full cursor-
|
|
34693
|
+
className: "rounded-500 border-misc-hairline bg-background-subdued hover:bg-background-subdued-hover active:bg-background-subdued-down flex w-full cursor-default items-center justify-between gap-2 p-3",
|
|
34698
34694
|
"data-testid": "brandkit-palette-tile",
|
|
34699
34695
|
children: [/* @__PURE__ */ L("div", {
|
|
34700
34696
|
className: "flex items-center gap-2",
|
|
@@ -34786,7 +34782,7 @@ var EG = ({ indeterminate: e, defaultIndeterminate: t, onIndeterminateChange: n,
|
|
|
34786
34782
|
onCheckedChange: l,
|
|
34787
34783
|
role: "checkbox",
|
|
34788
34784
|
...s ? { "aria-checked": "mixed" } : {},
|
|
34789
|
-
className: H("group/switch peer relative inline-flex shrink-0 items-center justify-center rounded-full", d ? "h-4 w-[26px]" : "h-5 w-8", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "
|
|
34785
|
+
className: H("group/switch peer relative inline-flex shrink-0 items-center justify-center rounded-full", d ? "h-4 w-[26px]" : "h-5 w-8", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "disabled:opacity-30"),
|
|
34790
34786
|
children: [/* @__PURE__ */ I("span", {
|
|
34791
34787
|
"aria-hidden": "true",
|
|
34792
34788
|
className: H("pointer-events-none absolute mx-auto rounded-full transition-colors duration-200 ease-in-out", d ? "h-4 w-[26px]" : "h-5 w-8", s ? "bg-content-accent" : "bg-neutral-400", "group-focus-visible/switch:bg-neutral-500", u ? "group-focus-visible/switch:bg-background-down group-radix-state-checked/switch:bg-background-default" : "group-focus-visible/switch:bg-content-accent-down group-radix-state-checked/switch:bg-content-accent")
|
|
@@ -34879,7 +34875,7 @@ OG.displayName = "ProductActionBar";
|
|
|
34879
34875
|
//#region src/components/input/Checkbox/Checkbox.tsx
|
|
34880
34876
|
var kG = ({ className: e, variant: t, ...n }) => /* @__PURE__ */ I(wW, {
|
|
34881
34877
|
...n,
|
|
34882
|
-
className: H("group/checkbox relative inline-flex focus-visible:outline-hidden", "
|
|
34878
|
+
className: H("group/checkbox relative inline-flex focus-visible:outline-hidden", "disabled:pointer-events-none disabled:opacity-30", e),
|
|
34883
34879
|
children: /* @__PURE__ */ I(FW, {
|
|
34884
34880
|
variant: t,
|
|
34885
34881
|
className: "group-focus-visible/checkbox:ring-misc-focus-indicator group-focus-visible/checkbox:misc-border-size-focus-ring"
|
|
@@ -35107,7 +35103,7 @@ var RG = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
|
|
|
35107
35103
|
};
|
|
35108
35104
|
return /* @__PURE__ */ L("div", {
|
|
35109
35105
|
className: U("bg-surface-primary-elevated flex flex-col gap-3", f && [
|
|
35110
|
-
"hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down cursor-
|
|
35106
|
+
"hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down cursor-default",
|
|
35111
35107
|
"outline-hidden transition-colors",
|
|
35112
35108
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring"
|
|
35113
35109
|
], d),
|
|
@@ -35172,7 +35168,7 @@ var RG = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
|
|
|
35172
35168
|
onClick: r,
|
|
35173
35169
|
...o,
|
|
35174
35170
|
ref: a,
|
|
35175
|
-
className: U("group bg-surface-primary-elevated flex w-full items-center py-3 ps-4 text-start", "border-b border-transparent", "
|
|
35171
|
+
className: U("group bg-surface-primary-elevated flex w-full items-center py-3 ps-4 text-start", "border-b border-transparent", "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", i),
|
|
35176
35172
|
children: /* @__PURE__ */ L("span", {
|
|
35177
35173
|
className: H("flex items-center gap-4", n ? "ps-11" : "ps-3"),
|
|
35178
35174
|
children: [/* @__PURE__ */ I("span", {
|
|
@@ -35189,7 +35185,7 @@ qG.displayName = "ProductListNewItem";
|
|
|
35189
35185
|
//#region src/components/content/ProductTile/ProductTile.tsx
|
|
35190
35186
|
var JG = ({ title: e, imageUrl: t, sellScore: n, mediaCount: r, onClick: i, hasUnpublishedChanges: a = !1, unpublishedChangesLabel: o, className: s }) => /* @__PURE__ */ L("div", {
|
|
35191
35187
|
onClick: i,
|
|
35192
|
-
className: U("rounded-500 bg-surface-primary-elevated relative flex
|
|
35188
|
+
className: U("rounded-500 bg-surface-primary-elevated relative flex 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),
|
|
35193
35189
|
children: [/* @__PURE__ */ I(UG, {
|
|
35194
35190
|
imageUrl: t,
|
|
35195
35191
|
alt: e,
|
|
@@ -35772,7 +35768,7 @@ RK.displayName = "SelectionBadge";
|
|
|
35772
35768
|
var zK = ({ title: e, items: t, imageSrc: n, videoSrc: r, altLabel: i = "", badgeLabel: a, className: o, ref: s, ...c }) => /* @__PURE__ */ L(PK, {
|
|
35773
35769
|
...c,
|
|
35774
35770
|
ref: s,
|
|
35775
|
-
className: U("rounded-500 relative flex min-h-[140px] w-full min-w-[360px]
|
|
35771
|
+
className: U("rounded-500 relative flex min-h-[140px] w-full min-w-[360px] overflow-hidden text-start outline-hidden", "after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:content-['']", "radix-state-unchecked:after:border-misc-border after:border", "hover:radix-state-unchecked:after:border-misc-border-hover focus-visible:radix-state-unchecked:after:border-misc-border-hover", "active:radix-state-unchecked:after:border-misc-border-down", "radix-state-checked:after:border-content-accent radix-state-checked:after:misc-border-size-selection", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", o),
|
|
35776
35772
|
children: [/* @__PURE__ */ I("div", {
|
|
35777
35773
|
className: "relative w-[100px] shrink-0 self-stretch overflow-hidden",
|
|
35778
35774
|
children: r ? /* @__PURE__ */ I("video", {
|
|
@@ -36388,7 +36384,7 @@ var Sq = W("rounded-400 interaction-transition focus-visible:ring-misc-focus-ind
|
|
|
36388
36384
|
controls: s && !l,
|
|
36389
36385
|
children: m.map((e) => c ? /* @__PURE__ */ I("source", { "data-src": e }, e) : /* @__PURE__ */ I("source", { src: e }, e))
|
|
36390
36386
|
}), l && /* @__PURE__ */ I("div", {
|
|
36391
|
-
className: "bg-black-alpha-800 absolute inset-0 flex cursor-
|
|
36387
|
+
className: "bg-black-alpha-800 absolute inset-0 flex cursor-default items-center justify-center",
|
|
36392
36388
|
onClick: p,
|
|
36393
36389
|
children: /* @__PURE__ */ I(wq, {
|
|
36394
36390
|
label: e,
|
|
@@ -37219,7 +37215,7 @@ var RJ = ({ icon: e, label: t, className: n, chevron: r = !1, tooltip: i, ref: a
|
|
|
37219
37215
|
...o,
|
|
37220
37216
|
ref: a,
|
|
37221
37217
|
"aria-label": o["aria-label"] ?? (s ? i : void 0),
|
|
37222
|
-
className: H("group shrink-0
|
|
37218
|
+
className: H("group shrink-0 outline-hidden", "inline-flex items-center justify-center", "rounded-300", "hover:bg-background-borderless-subdued-hover", "active:bg-background-borderless-subdued-down", "focus-visible:bg-background-borderless-subdued-hover", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "text-content-primary", "disabled:opacity-30", "interaction-transition transition-all", s && !r && "size-400", s && r && "size-h-400 gap-1 ps-1.5 pe-1", c && !r && "size-h-400 px-2.5", c && r && "size-h-400 gap-1 ps-2.5 pe-1.5", l && !r && "size-h-400 gap-2 ps-2 pe-2.5", l && r && "size-h-400 gap-1 ps-2 pe-1.5", n),
|
|
37223
37219
|
children: r ? /* @__PURE__ */ L(ge, { children: [/* @__PURE__ */ I("span", {
|
|
37224
37220
|
className: "flex items-center gap-2",
|
|
37225
37221
|
children: u
|
|
@@ -37249,11 +37245,11 @@ zJ.displayName = "PillDivider";
|
|
|
37249
37245
|
//#endregion
|
|
37250
37246
|
//#region src/components/editor/Pill/PillToggle.tsx
|
|
37251
37247
|
var BJ = W([
|
|
37252
|
-
"group shrink-0
|
|
37248
|
+
"group shrink-0 outline-hidden",
|
|
37253
37249
|
"inline-flex items-center justify-center",
|
|
37254
37250
|
"rounded-300",
|
|
37255
37251
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
37256
|
-
"disabled:
|
|
37252
|
+
"disabled:opacity-30",
|
|
37257
37253
|
"interaction-transition transition-all"
|
|
37258
37254
|
], {
|
|
37259
37255
|
variants: {
|
|
@@ -37813,7 +37809,7 @@ var rY = ({ label: e, selected: t, badge: n, thumbnail: r, icon: i, multiline: a
|
|
|
37813
37809
|
ref: s,
|
|
37814
37810
|
tabIndex: 0,
|
|
37815
37811
|
...c,
|
|
37816
|
-
className: U("misc-dropdown-inner-rounding flex w-full cursor-
|
|
37812
|
+
className: U("misc-dropdown-inner-rounding flex w-full cursor-default gap-1 pe-3 outline-hidden", a ? "min-h-12 items-start py-2" : "h-12 items-center", "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "focus-visible:border-size-ring-3 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", {
|
|
37817
37813
|
"ps-2": t,
|
|
37818
37814
|
"ps-8": !t
|
|
37819
37815
|
}, o),
|
|
@@ -37852,7 +37848,7 @@ var iY = (e) => /* @__PURE__ */ I(CU, {
|
|
|
37852
37848
|
}), aY = ({ selected: e, className: t, children: n, ...r }) => /* @__PURE__ */ L("button", {
|
|
37853
37849
|
...r,
|
|
37854
37850
|
type: "button",
|
|
37855
|
-
className: U("group component-500 misc-dropdown-inner-rounding relative flex h-10 w-16
|
|
37851
|
+
className: U("group component-500 misc-dropdown-inner-rounding relative flex h-10 w-16 items-center justify-center px-3 outline-none select-none", "text-content-primary", "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "focus-visible:bg-background-borderless-subdued-hover", "disabled:pointer-events-none disabled:opacity-30", e && "bg-background-borderless-subdued-hover", t),
|
|
37856
37852
|
"aria-current": e || void 0,
|
|
37857
37853
|
children: [n, /* @__PURE__ */ I("div", { className: "border-misc-focus-indicator misc-dropdown-inner-rounding pointer-events-none absolute inset-0 hidden border-[3px] group-focus-visible:block" })]
|
|
37858
37854
|
});
|
|
@@ -37865,7 +37861,7 @@ var oY = ({ children: e }) => /* @__PURE__ */ I(_U, {
|
|
|
37865
37861
|
}), sY = ({ label: e, icon: t, compact: n = !1, className: r, ref: i, ...a }) => /* @__PURE__ */ L("button", {
|
|
37866
37862
|
ref: i,
|
|
37867
37863
|
...a,
|
|
37868
|
-
className: H("shrink-0
|
|
37864
|
+
className: H("shrink-0 outline-hidden", "rounded-300 flex w-full items-center", n ? "gap-3 p-2" : "gap-4 p-3", "active:bg-background-borderless-subdued-down", "data-radix-collection-item:focus:bg-background-borderless-subdued-hover", "[&:not([data-radix-collection-item])]:hover:bg-background-borderless-subdued-hover", "[&:not([data-radix-collection-item])]:focus-visible:bg-background-borderless-subdued-hover", "[&:not([data-radix-collection-item])]:focus-visible:misc-border-size-focus-ring", "[&:not([data-radix-collection-item])]:focus-visible:ring-misc-focus-indicator", r),
|
|
37869
37865
|
children: [/* @__PURE__ */ I("div", {
|
|
37870
37866
|
className: "bg-background-accent-subdued relative flex size-500 shrink-0 items-center justify-center rounded-full",
|
|
37871
37867
|
children: /* @__PURE__ */ I("span", {
|
|
@@ -37883,7 +37879,7 @@ sY.displayName = "DropdownMenuSpaceActionItem";
|
|
|
37883
37879
|
var cY = ({ title: e, subtitle: t, avatar: n, badgeLabel: r, icon: i, compact: a = !1, className: o, ref: s, ...c }) => /* @__PURE__ */ L("button", {
|
|
37884
37880
|
ref: s,
|
|
37885
37881
|
...c,
|
|
37886
|
-
className: H("shrink-0 outline-hidden", "rounded-300 flex w-full items-center", a ? "gap-3 p-2" : "gap-4 p-3", "disabled:
|
|
37882
|
+
className: H("shrink-0 outline-hidden", "rounded-300 flex w-full items-center", a ? "gap-3 p-2" : "gap-4 p-3", "disabled:opacity-50", "enabled:active:bg-background-borderless-subdued-down", "data-radix-collection-item:focus:bg-background-borderless-subdued-hover", "[&:not([data-radix-collection-item])]:enabled:hover:bg-background-borderless-subdued-hover", "[&:not([data-radix-collection-item])]:focus-visible:bg-background-borderless-subdued-hover", "[&:not([data-radix-collection-item])]:focus-visible:misc-border-size-focus-ring", "[&:not([data-radix-collection-item])]:focus-visible:ring-misc-focus-indicator", o),
|
|
37887
37883
|
children: [
|
|
37888
37884
|
/* @__PURE__ */ I(ch, {
|
|
37889
37885
|
...n,
|
|
@@ -37917,7 +37913,7 @@ cY.displayName = "DropdownMenuSpaceItem";
|
|
|
37917
37913
|
var lY = ({ title: e, avatar: t, badgeLabel: n, className: r, ref: i, ...a }) => /* @__PURE__ */ L("button", {
|
|
37918
37914
|
ref: i,
|
|
37919
37915
|
...a,
|
|
37920
|
-
className: H("shrink-0
|
|
37916
|
+
className: H("shrink-0 outline-hidden", "rounded-500 flex h-14 w-full items-center gap-3 p-2", "data-radix-collection-item:focus:bg-background-borderless-subdued-hover", "data-radix-collection-item:active:bg-background-borderless-subdued-down", "[&:not([data-radix-collection-item])]:hover:bg-background-borderless-subdued-hover", "[&:not([data-radix-collection-item])]:focus-visible:bg-background-borderless-subdued-hover", "[&:not([data-radix-collection-item])]:active:bg-background-borderless-subdued-down", "[&:not([data-radix-collection-item])]:focus-visible:misc-border-size-focus-ring", "[&:not([data-radix-collection-item])]:focus-visible:ring-misc-focus-indicator", "aria-expanded:bg-background-borderless-subdued-hover", r),
|
|
37921
37917
|
children: [/* @__PURE__ */ I(ch, {
|
|
37922
37918
|
...t,
|
|
37923
37919
|
size: 40
|
|
@@ -38673,7 +38669,7 @@ var Fme = typeof window < "u" ? Me : De, Ime = function() {
|
|
|
38673
38669
|
equal: Nme
|
|
38674
38670
|
}, Bme = function(e) {
|
|
38675
38671
|
return z.createElement(Rme, KY({}, e, { colorModel: zme }));
|
|
38676
|
-
}, Vme = W("rounded-500 text-500 text-content-primary placeholder-content-tertiary focus-visible:misc-border-size-focus-ring h-10 w-full appearance-none font-medium outline-hidden transition transition-colors duration-200 disabled:
|
|
38672
|
+
}, Vme = W("rounded-500 text-500 text-content-primary placeholder-content-tertiary focus-visible:misc-border-size-focus-ring h-10 w-full appearance-none font-medium outline-hidden transition transition-colors duration-200 disabled:opacity-50", {
|
|
38677
38673
|
variants: {
|
|
38678
38674
|
variant: {
|
|
38679
38675
|
editor: "bg-background-subdued",
|
|
@@ -38797,7 +38793,7 @@ var Ume = {
|
|
|
38797
38793
|
...u,
|
|
38798
38794
|
"aria-invalid": e || u["aria-invalid"],
|
|
38799
38795
|
className: zd([
|
|
38800
|
-
"w-full appearance-none rounded-500 bg-transparent component-500 text-content-primary placeholder-neutral-600 outline-hidden transition duration-200 disabled:
|
|
38796
|
+
"w-full appearance-none rounded-500 bg-transparent component-500 text-content-primary placeholder-neutral-600 outline-hidden transition duration-200 disabled:opacity-50",
|
|
38801
38797
|
"focus-visible:misc-border-size-focus-ring",
|
|
38802
38798
|
e ? ["border border-content-negative caret-content-primary", "focus-visible:border-content-negative focus-visible:ring-background-negative-subdued-down"] : [
|
|
38803
38799
|
"border caret-content-accent",
|
|
@@ -38813,7 +38809,7 @@ var Ume = {
|
|
|
38813
38809
|
className: H("absolute inset-y-0 inset-e-0 flex items-center", e ? "pe-10" : "pe-3"),
|
|
38814
38810
|
children: /* @__PURE__ */ I("button", {
|
|
38815
38811
|
type: "button",
|
|
38816
|
-
className: H("rounded-full p-0.5", "disabled:
|
|
38812
|
+
className: H("rounded-full p-0.5", "disabled:opacity-50"),
|
|
38817
38813
|
onClick: p,
|
|
38818
38814
|
disabled: u.disabled,
|
|
38819
38815
|
"aria-label": s,
|
|
@@ -38877,7 +38873,7 @@ var Wme = (e) => !e || e.length !== 7 ? !1 : GY(e).isValid(), dX = (e) => `#${e}
|
|
|
38877
38873
|
default: "outline-misc-border hover:outline-misc-border-hover"
|
|
38878
38874
|
},
|
|
38879
38875
|
disabled: {
|
|
38880
|
-
true: "cursor-
|
|
38876
|
+
true: "cursor-default opacity-50",
|
|
38881
38877
|
false: ""
|
|
38882
38878
|
},
|
|
38883
38879
|
keyboardFocus: {
|
|
@@ -38904,7 +38900,7 @@ var Wme = (e) => !e || e.length !== 7 ? !1 : GY(e).isValid(), dX = (e) => `#${e}
|
|
|
38904
38900
|
"rounded-e-300 border-misc-border border-0 border-s bg-transparent",
|
|
38905
38901
|
"hover:rounded-300 hover:bg-background-borderless-subdued-hover hover:border-transparent",
|
|
38906
38902
|
"active:rounded-300 active:bg-background-borderless-subdued-down active:border-transparent",
|
|
38907
|
-
"
|
|
38903
|
+
"transition duration-200"
|
|
38908
38904
|
], {
|
|
38909
38905
|
variants: {
|
|
38910
38906
|
density: {
|
|
@@ -38912,10 +38908,6 @@ var Wme = (e) => !e || e.length !== 7 ? !1 : GY(e).isValid(), dX = (e) => `#${e}
|
|
|
38912
38908
|
compact: "h-6 ps-2 pe-5",
|
|
38913
38909
|
large: "h-10 ps-2.5 pe-5.5"
|
|
38914
38910
|
},
|
|
38915
|
-
disabled: {
|
|
38916
|
-
true: "cursor-not-allowed",
|
|
38917
|
-
false: ""
|
|
38918
|
-
},
|
|
38919
38911
|
keyboardFocus: {
|
|
38920
38912
|
true: "focus:rounded-300 focus:border-content-accent focus:bg-background-borderless-subdued-hover focus:border",
|
|
38921
38913
|
false: ""
|
|
@@ -38923,7 +38915,6 @@ var Wme = (e) => !e || e.length !== 7 ? !1 : GY(e).isValid(), dX = (e) => `#${e}
|
|
|
38923
38915
|
},
|
|
38924
38916
|
defaultVariants: {
|
|
38925
38917
|
density: "default",
|
|
38926
|
-
disabled: !1,
|
|
38927
38918
|
keyboardFocus: !1
|
|
38928
38919
|
}
|
|
38929
38920
|
}), hX = ({ label: e, density: t = "default", value: n, defaultValue: r = 0, onValueChange: i, unit: a, defaultUnit: o, onUnitChange: s, unitOptions: c = [], min: l, max: u, step: f, shiftStepFactor: p = 10, className: m, leadingIcon: h, variant: g = "default", isMixed: _, mixedLabel: v, ref: y, ...b }) => {
|
|
@@ -39041,7 +39032,6 @@ var Wme = (e) => !e || e.length !== 7 ? !1 : GY(e).isValid(), dX = (e) => `#${e}
|
|
|
39041
39032
|
disabled: b.disabled,
|
|
39042
39033
|
className: Qme({
|
|
39043
39034
|
density: t,
|
|
39044
|
-
disabled: !!b.disabled,
|
|
39045
39035
|
keyboardFocus: T
|
|
39046
39036
|
}),
|
|
39047
39037
|
children: c.map((e) => /* @__PURE__ */ I("option", {
|
|
@@ -39495,7 +39485,7 @@ var DX = "outline-content-accent outline-1 outline-solid", uhe = ({ className: e
|
|
|
39495
39485
|
}), OX = ({ className: e, label: t, icon: n, trailing: r, ref: i, ...a }) => /* @__PURE__ */ I("button", {
|
|
39496
39486
|
...a,
|
|
39497
39487
|
ref: i,
|
|
39498
|
-
className: U("group w-full appearance-none", "focus-visible:outline-hidden", "disabled:
|
|
39488
|
+
className: U("group w-full appearance-none", "focus-visible:outline-hidden", "disabled:opacity-30", e),
|
|
39499
39489
|
children: /* @__PURE__ */ L("div", {
|
|
39500
39490
|
className: H("flex justify-between gap-1", "rounded-500", "hover:bg-background-borderless-subdued-hover group-focus-visible:bg-background-borderless-subdued-hover group-active:bg-background-borderless-subdued-down", "group-focus-visible:ring-misc-focus-indicator group-focus-visible:misc-border-size-focus-ring", "interaction-transition transition-colors"),
|
|
39501
39491
|
children: [/* @__PURE__ */ L("div", {
|
|
@@ -49625,7 +49615,7 @@ var uye = ({ title: e, images: t, objectFit: n, imageContainerClassName: r, onCl
|
|
|
49625
49615
|
className: H("resize-none appearance-none", "flex w-full items-center justify-between gap-2", {
|
|
49626
49616
|
"p-1.5 pe-4": t,
|
|
49627
49617
|
"px-4 py-3": !t
|
|
49628
|
-
}, "rounded-400 border-misc-border border outline-hidden", "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "focus-visible:bg-background-borderless-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:
|
|
49618
|
+
}, "rounded-400 border-misc-border border outline-hidden", "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "focus-visible:bg-background-borderless-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:opacity-50", "component-500 text-start [word-break:break-word] placeholder-neutral-600", "transition duration-200", e),
|
|
49629
49619
|
children: [
|
|
49630
49620
|
!!t && /* @__PURE__ */ I("img", {
|
|
49631
49621
|
src: t,
|
|
@@ -49680,7 +49670,7 @@ var dye = ({ type: e = "prompt", image: t, icon: n = te, label: r, ...i }) => {
|
|
|
49680
49670
|
}, l4 = ({ label: e, variant: t = "filled", icon: n, className: r, ref: i, ...a }) => /* @__PURE__ */ L("button", {
|
|
49681
49671
|
ref: i,
|
|
49682
49672
|
type: "button",
|
|
49683
|
-
className: H("flex items-center justify-center", "rounded-400 outline-hidden", "size-h-400", "component-500", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:
|
|
49673
|
+
className: H("flex items-center justify-center", "rounded-400 outline-hidden", "size-h-400", "component-500", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:opacity-30", t === "filled" && [
|
|
49684
49674
|
"bg-background-accent-subdued text-content-accent",
|
|
49685
49675
|
"hover:bg-background-accent-subdued-hover",
|
|
49686
49676
|
"active:bg-background-accent-subdued-down",
|
|
@@ -49824,7 +49814,7 @@ var pye = W(["component-500 text-content-primary flex flex-row items-center"], {
|
|
|
49824
49814
|
}) : /* @__PURE__ */ I("button", {
|
|
49825
49815
|
type: "button",
|
|
49826
49816
|
...r,
|
|
49827
|
-
className: U("misc-dropdown-inner-rounding flex h-10 w-full shrink-0
|
|
49817
|
+
className: U("misc-dropdown-inner-rounding flex h-10 w-full shrink-0 items-center ps-3 text-start", "component-500 text-content-primary", "interaction-transition outline-hidden transition-colors", "hover:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "disabled:pointer-events-none disabled:opacity-30", n),
|
|
49828
49818
|
children: /* @__PURE__ */ I("span", {
|
|
49829
49819
|
className: "min-w-0 flex-1 truncate",
|
|
49830
49820
|
children: e
|
|
@@ -49844,7 +49834,7 @@ var pye = W(["component-500 text-content-primary flex flex-row items-center"], {
|
|
|
49844
49834
|
onChange: (e) => r(e.target.value),
|
|
49845
49835
|
onFocus: () => u(!0),
|
|
49846
49836
|
onBlur: () => u(!1),
|
|
49847
|
-
className: H("h-10 min-w-0 flex-1 border-none bg-transparent px-3 outline-hidden focus:ring-0", "component-500 text-content-primary placeholder:text-content-primary focus:placeholder:text-content-secondary", "cursor-
|
|
49837
|
+
className: H("h-10 min-w-0 flex-1 border-none bg-transparent px-3 outline-hidden focus:ring-0", "component-500 text-content-primary placeholder:text-content-primary focus:placeholder:text-content-secondary", "cursor-default focus:cursor-text")
|
|
49848
49838
|
}), /* @__PURE__ */ I(Zd, {
|
|
49849
49839
|
type: "submit",
|
|
49850
49840
|
variant: "primary",
|
|
@@ -49920,7 +49910,7 @@ var vye = ({ status: e }) => {
|
|
|
49920
49910
|
h.current?.focus();
|
|
49921
49911
|
}, 0);
|
|
49922
49912
|
}), /* @__PURE__ */ L("div", {
|
|
49923
|
-
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-
|
|
49913
|
+
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-default opacity-30"),
|
|
49924
49914
|
onClick: () => {
|
|
49925
49915
|
n || h.current?.focus();
|
|
49926
49916
|
},
|
|
@@ -49969,7 +49959,7 @@ var Sye = ({ label: e, className: t, description: n, tooltip: r, isTooltipDisabl
|
|
|
49969
49959
|
return /* @__PURE__ */ L("div", {
|
|
49970
49960
|
className: H("flex items-start gap-3 py-1.5", {
|
|
49971
49961
|
"pointer-events-none opacity-30": o.disabled,
|
|
49972
|
-
"cursor-
|
|
49962
|
+
"cursor-default": !o.disabled
|
|
49973
49963
|
}, t),
|
|
49974
49964
|
children: [/* @__PURE__ */ I(kG, {
|
|
49975
49965
|
...o,
|
|
@@ -50032,7 +50022,7 @@ var Sye = ({ label: e, className: t, description: n, tooltip: r, isTooltipDisabl
|
|
|
50032
50022
|
...i,
|
|
50033
50023
|
onFocus: o,
|
|
50034
50024
|
onKeyDown: s,
|
|
50035
|
-
className: U("appearance-none", "h-14 w-10", "rounded-500 bg-transparent outline-hidden", "transition duration-200", "component-strong-900 text-content-primary", "disabled:
|
|
50025
|
+
className: U("appearance-none", "h-14 w-10", "rounded-500 bg-transparent outline-hidden", "transition duration-200", "component-strong-900 text-content-primary", "disabled:opacity-50", "focus-visible:misc-border-size-focus-ring", "px-0 text-center", e ? [
|
|
50036
50026
|
"border-content-negative caret-content-primary border",
|
|
50037
50027
|
"focus-visible:border-content-negative focus-visible:ring-background-negative-subdued-down",
|
|
50038
50028
|
"text-content-negative"
|
|
@@ -50644,7 +50634,7 @@ var G4 = (e, t) => (n) => 100 * (n - e) / (t - e), K4 = [
|
|
|
50644
50634
|
}), /* @__PURE__ */ I("label", {
|
|
50645
50635
|
id: _,
|
|
50646
50636
|
htmlFor: v,
|
|
50647
|
-
className: "component-500 text-content-primary min-w-0 grow cursor-
|
|
50637
|
+
className: "component-500 text-content-primary min-w-0 grow cursor-default truncate",
|
|
50648
50638
|
children: e
|
|
50649
50639
|
})]
|
|
50650
50640
|
}), /* @__PURE__ */ I("div", {
|
|
@@ -51100,7 +51090,7 @@ var $4 = (e) => e.isFile === !0, e3 = (e) => e.isDirectory === !0, Qye = new Int
|
|
|
51100
51090
|
ref: a,
|
|
51101
51091
|
type: "button",
|
|
51102
51092
|
disabled: i,
|
|
51103
|
-
className: U("
|
|
51093
|
+
className: U("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:opacity-50", "transition duration-200", r),
|
|
51104
51094
|
...o,
|
|
51105
51095
|
children: [
|
|
51106
51096
|
t,
|
|
@@ -51238,7 +51228,7 @@ var abe = ({ referenceImages: e, disabled: t }) => {
|
|
|
51238
51228
|
disabled: t,
|
|
51239
51229
|
"aria-pressed": n,
|
|
51240
51230
|
onClick: () => a(e.id),
|
|
51241
|
-
className: H("rounded-400 shrink-0
|
|
51231
|
+
className: H("rounded-400 shrink-0", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", "disabled:opacity-50"),
|
|
51242
51232
|
children: /* @__PURE__ */ I(d3, {
|
|
51243
51233
|
src: e.url,
|
|
51244
51234
|
alt: e.alt,
|
|
@@ -51276,7 +51266,7 @@ var abe = ({ referenceImages: e, disabled: t }) => {
|
|
|
51276
51266
|
disabled: o,
|
|
51277
51267
|
minRows: 1,
|
|
51278
51268
|
maxRows: 3,
|
|
51279
|
-
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"
|
|
51269
|
+
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")
|
|
51280
51270
|
});
|
|
51281
51271
|
return /* @__PURE__ */ L("div", {
|
|
51282
51272
|
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),
|
|
@@ -51304,7 +51294,7 @@ f3.displayName = "FloatingInput";
|
|
|
51304
51294
|
var p3 = ({ icon: e, children: t, className: n, ref: r, ...i }) => /* @__PURE__ */ L("button", {
|
|
51305
51295
|
...i,
|
|
51306
51296
|
ref: r,
|
|
51307
|
-
className: H("flex items-center gap-2 px-3 py-2", "rounded-300", "hover:bg-background-accent-subdued-hover focus-visible:bg-background-accent-subdued-hover active:bg-background-accent-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "interaction-transition transition-colors", "component-semi-strong-500 text-content-accent", "
|
|
51297
|
+
className: H("flex items-center gap-2 px-3 py-2", "rounded-300", "hover:bg-background-accent-subdued-hover focus-visible:bg-background-accent-subdued-hover active:bg-background-accent-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "interaction-transition transition-colors", "component-semi-strong-500 text-content-accent", "disabled:pointer-events-none disabled:opacity-30", n),
|
|
51308
51298
|
children: [!!e && /* @__PURE__ */ I("span", {
|
|
51309
51299
|
className: "size-5 shrink-0",
|
|
51310
51300
|
children: e
|
|
@@ -51318,10 +51308,7 @@ p3.displayName = "FolderListButton";
|
|
|
51318
51308
|
//#region src/components/input/FolderList/FolderListItem.tsx
|
|
51319
51309
|
var obe = ({ children: e, className: t, ...n }) => /* @__PURE__ */ L(PK, {
|
|
51320
51310
|
...n,
|
|
51321
|
-
className: H("flex items-center gap-2 px-3 py-2", "rounded-300", "hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "interaction-transition transition-colors",
|
|
51322
|
-
"pointer-events-none opacity-30": n.disabled,
|
|
51323
|
-
"cursor-pointer": !n.disabled
|
|
51324
|
-
}, t),
|
|
51311
|
+
className: H("flex items-center gap-2 px-3 py-2", "rounded-300", "hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "interaction-transition transition-colors", n.disabled && "pointer-events-none opacity-30", t),
|
|
51325
51312
|
children: [
|
|
51326
51313
|
/* @__PURE__ */ I(A, {
|
|
51327
51314
|
"aria-hidden": "true",
|
|
@@ -51348,7 +51335,7 @@ m3.Button = p3, m3.Item = obe;
|
|
|
51348
51335
|
var h3 = ({ label: e, weight: t, italic: n = !1, selected: r, ref: i, ...a }) => /* @__PURE__ */ L("div", {
|
|
51349
51336
|
ref: i,
|
|
51350
51337
|
...a,
|
|
51351
|
-
className: H("flex items-center justify-between", "rounded-500 gap-2 px-4 py-2", "cursor-
|
|
51338
|
+
className: H("flex items-center justify-between", "rounded-500 gap-2 px-4 py-2", "cursor-default outline-hidden", "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "focus-visble:border-size-ring-3 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring"),
|
|
51352
51339
|
children: [/* @__PURE__ */ I("span", {
|
|
51353
51340
|
style: {
|
|
51354
51341
|
fontWeight: t ?? "normal",
|
|
@@ -51364,7 +51351,7 @@ h3.displayName = "FontWeightSelectorItem";
|
|
|
51364
51351
|
var g3 = "relative z-10 flex h-8 w-10 items-center justify-center text-white-alpha-700 transition-colors", _3 = "transition-all icon-size-400", v3 = ({ icons: e, label: t, tooltips: n, isTooltipDisabled: r, className: i, ref: a, ...o }) => /* @__PURE__ */ L(og, {
|
|
51365
51352
|
ref: a,
|
|
51366
51353
|
"aria-label": t,
|
|
51367
|
-
className: U("group/icon-switch rounded-500 bg-black-alpha-700 relative inline-flex h-8 w-fit items-center", "active:bg-black-alpha-800 disabled:
|
|
51354
|
+
className: U("group/icon-switch rounded-500 bg-black-alpha-700 relative inline-flex h-8 w-fit items-center", "active:bg-black-alpha-800 disabled:opacity-30", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "interaction-transition transition-colors", i),
|
|
51368
51355
|
...o,
|
|
51369
51356
|
children: [
|
|
51370
51357
|
/* @__PURE__ */ I(cg, {
|
|
@@ -51404,7 +51391,7 @@ var sbe = W([
|
|
|
51404
51391
|
"group rounded-500 relative w-full overflow-hidden",
|
|
51405
51392
|
"misc-border-size-default border border-solid",
|
|
51406
51393
|
"bg-surface-primary",
|
|
51407
|
-
"outline-hidden transition-all",
|
|
51394
|
+
"cursor-default outline-hidden transition-all",
|
|
51408
51395
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
51409
51396
|
"focus-visible:border-content-accent focus-visible:bg-background-accent-subdued",
|
|
51410
51397
|
"aspect-4/3"
|
|
@@ -51414,10 +51401,6 @@ var sbe = W([
|
|
|
51414
51401
|
true: "border-content-accent bg-background-accent-subdued",
|
|
51415
51402
|
false: "border-misc-border"
|
|
51416
51403
|
},
|
|
51417
|
-
interactive: {
|
|
51418
|
-
true: "cursor-pointer",
|
|
51419
|
-
false: "cursor-default"
|
|
51420
|
-
},
|
|
51421
51404
|
disabled: {
|
|
51422
51405
|
true: "opacity-30",
|
|
51423
51406
|
false: ""
|
|
@@ -51425,7 +51408,6 @@ var sbe = W([
|
|
|
51425
51408
|
},
|
|
51426
51409
|
defaultVariants: {
|
|
51427
51410
|
dragging: !1,
|
|
51428
|
-
interactive: !0,
|
|
51429
51411
|
disabled: !1
|
|
51430
51412
|
}
|
|
51431
51413
|
}), cbe = W(["pointer-events-none absolute -inset-px transition-[opacity,background-color]", "opacity-0 group-hover:opacity-100 group-focus-visible:opacity-100 group-active:opacity-100"], {
|
|
@@ -51462,7 +51444,7 @@ var sbe = W([
|
|
|
51462
51444
|
w
|
|
51463
51445
|
]), E = B((e) => {
|
|
51464
51446
|
e.stopPropagation(), a?.();
|
|
51465
|
-
}, [a]), D =
|
|
51447
|
+
}, [a]), D = t, O = !n && !r, k = r && a, A = g, j = t ? c : s;
|
|
51466
51448
|
return /* @__PURE__ */ L("div", {
|
|
51467
51449
|
className: "relative",
|
|
51468
51450
|
children: [/* @__PURE__ */ I(Y4, {
|
|
@@ -51479,14 +51461,13 @@ var sbe = W([
|
|
|
51479
51461
|
"aria-disabled": f || n,
|
|
51480
51462
|
className: U(sbe({
|
|
51481
51463
|
dragging: g,
|
|
51482
|
-
interactive: D,
|
|
51483
51464
|
disabled: f
|
|
51484
51465
|
}), u),
|
|
51485
51466
|
onClick: w,
|
|
51486
51467
|
onKeyDown: T,
|
|
51487
51468
|
"data-testid": d,
|
|
51488
51469
|
children: [
|
|
51489
|
-
|
|
51470
|
+
D && /* @__PURE__ */ I("div", {
|
|
51490
51471
|
className: H("rounded-500 pointer-events-none absolute -inset-px overflow-hidden", {
|
|
51491
51472
|
"blur-md": r,
|
|
51492
51473
|
"bg-background-subdued animate-pulse": p === "loading"
|
|
@@ -51500,21 +51481,21 @@ var sbe = W([
|
|
|
51500
51481
|
className: H("bg-damier-checker bg-damier-large h-full w-full bg-top-left! object-cover transition-opacity", p === "loaded" ? "opacity-100" : "opacity-0")
|
|
51501
51482
|
})
|
|
51502
51483
|
}),
|
|
51503
|
-
!
|
|
51484
|
+
!D && /* @__PURE__ */ L("div", {
|
|
51504
51485
|
className: "rounded-500 pointer-events-none absolute inset-0",
|
|
51505
51486
|
"aria-hidden": "true",
|
|
51506
51487
|
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" })]
|
|
51507
51488
|
}),
|
|
51508
51489
|
/* @__PURE__ */ I("div", { className: cbe({ error: r }) }),
|
|
51509
|
-
|
|
51490
|
+
O && /* @__PURE__ */ I(Zd, {
|
|
51510
51491
|
variant: "primary",
|
|
51511
51492
|
icon: P,
|
|
51512
51493
|
loading: n,
|
|
51513
|
-
className: H("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
51494
|
+
className: H("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2", D && "opacity-0 transition-opacity group-hover:opacity-100 group-focus-visible:opacity-100 group-active:opacity-100"),
|
|
51514
51495
|
disabled: f,
|
|
51515
|
-
children:
|
|
51496
|
+
children: j
|
|
51516
51497
|
}),
|
|
51517
|
-
|
|
51498
|
+
A && /* @__PURE__ */ I("p", {
|
|
51518
51499
|
className: "component-500 text-content-accent absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 text-center whitespace-pre-wrap",
|
|
51519
51500
|
children: l
|
|
51520
51501
|
}),
|
|
@@ -51522,7 +51503,7 @@ var sbe = W([
|
|
|
51522
51503
|
className: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
51523
51504
|
children: /* @__PURE__ */ I(e, { className: "icon-size-800 text-white" })
|
|
51524
51505
|
}),
|
|
51525
|
-
|
|
51506
|
+
k && /* @__PURE__ */ I(Zd, {
|
|
51526
51507
|
variant: "primary",
|
|
51527
51508
|
icon: ae,
|
|
51528
51509
|
onClick: E,
|
|
@@ -51591,10 +51572,7 @@ var ube = ({ label: e, icon: t, className: n, ...r }) => /* @__PURE__ */ I(PK, {
|
|
|
51591
51572
|
...r,
|
|
51592
51573
|
className: H("group/radiogroupitem relative focus-visible:outline-hidden", n),
|
|
51593
51574
|
children: /* @__PURE__ */ L("div", {
|
|
51594
|
-
className: H("flex min-h-[32px] flex-nowrap items-center gap-2", {
|
|
51595
|
-
"pointer-events-none opacity-30": r.disabled,
|
|
51596
|
-
"cursor-pointer": !r.disabled
|
|
51597
|
-
}),
|
|
51575
|
+
className: H("flex min-h-[32px] flex-nowrap items-center gap-2", { "pointer-events-none opacity-30": r.disabled }),
|
|
51598
51576
|
children: [
|
|
51599
51577
|
/* @__PURE__ */ I("span", {
|
|
51600
51578
|
className: H("group-radix-state-checked/radiogroupitem:border-content-accent border-neutral-400 hover:border-neutral-500", "group-focus-visible/radiogroupitem:ring-misc-focus-indicator group-focus-visible/radiogroupitem:misc-border-size-focus-ring", "misc-border-size-selection flex h-5 w-5 shrink-0 items-center justify-center rounded-full"),
|
|
@@ -51635,7 +51613,7 @@ x3.Item = ube;
|
|
|
51635
51613
|
var S3 = ({ className: e, children: t, disabled: n, ref: r, ...i }) => /* @__PURE__ */ L("button", {
|
|
51636
51614
|
ref: r,
|
|
51637
51615
|
"aria-disabled": n,
|
|
51638
|
-
className: U("rounded-400 flex h-8 items-center gap-1 ps-2 pe-1.5", n && "
|
|
51616
|
+
className: U("rounded-400 flex h-8 items-center gap-1 ps-2 pe-1.5", n && "opacity-30", !n && "hover:bg-background-borderless-subdued-hover focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring active:bg-background-borderless-subdued-down focus-visible:outline-hidden", e),
|
|
51639
51617
|
...i,
|
|
51640
51618
|
children: [/* @__PURE__ */ I("span", {
|
|
51641
51619
|
className: "component-400",
|
|
@@ -51653,7 +51631,7 @@ var C3 = {
|
|
|
51653
51631
|
type: "button",
|
|
51654
51632
|
...s,
|
|
51655
51633
|
ref: o,
|
|
51656
|
-
className: U("w-[160px]", "bg-background-subdued hover:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", "rounded-400", "flex flex-col items-center gap-2 p-3", "
|
|
51634
|
+
className: U("w-[160px]", "bg-background-subdued hover:bg-background-subdued-hover active:bg-background-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", "rounded-400", "flex flex-col items-center gap-2 p-3", "interaction-transition transition-colors", "disabled:pointer-events-none disabled:opacity-30", a),
|
|
51657
51635
|
children: [n === "color" && i ? /* @__PURE__ */ I("span", {
|
|
51658
51636
|
className: H("rounded-200 shrink-0 shadow-[inset_0_0_0_1px_var(--color-misc-border)]", C3[n]),
|
|
51659
51637
|
style: { backgroundColor: i }
|
|
@@ -51769,7 +51747,7 @@ E3.displayName = "OptionGroup", E3.Item = T3;
|
|
|
51769
51747
|
var D3 = ({ title: e, description: t, imageSrc: n, altLabel: r = "", showCheckerboard: i = !1, className: a, ref: o, ...s }) => /* @__PURE__ */ L(PK, {
|
|
51770
51748
|
...s,
|
|
51771
51749
|
ref: o,
|
|
51772
|
-
className: U("bg-surface-primary rounded-500 relative flex w-full
|
|
51750
|
+
className: U("bg-surface-primary rounded-500 relative flex w-full 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),
|
|
51773
51751
|
children: [
|
|
51774
51752
|
/* @__PURE__ */ L("div", {
|
|
51775
51753
|
className: "rounded-concentric-500-4px bg-surface-primary relative h-24 w-24 shrink-0 self-center overflow-hidden",
|
|
@@ -51809,7 +51787,7 @@ D3.displayName = "OptionSelectionListItem";
|
|
|
51809
51787
|
var fbe = W([
|
|
51810
51788
|
"bg-background-subdued hover:bg-background-subdued-hover active:bg-background-subdued-down",
|
|
51811
51789
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden",
|
|
51812
|
-
"component-500 rounded-400 flex
|
|
51790
|
+
"component-500 rounded-400 flex items-center gap-3 ps-3",
|
|
51813
51791
|
"interaction-transition transition-colors",
|
|
51814
51792
|
"disabled:pointer-events-none disabled:opacity-30"
|
|
51815
51793
|
], {
|
|
@@ -51892,7 +51870,7 @@ var k3 = ({ value: e, onChange: t, placeholder: n, options: r = [], leadingSlot:
|
|
|
51892
51870
|
disabled: c,
|
|
51893
51871
|
minRows: 1,
|
|
51894
51872
|
maxRows: 6,
|
|
51895
|
-
className: H("min-h-[54px] w-full bg-transparent p-0", "border-none outline-hidden", "component-500 text-content-primary", "placeholder:text-content-tertiary", "
|
|
51873
|
+
className: H("min-h-[54px] w-full bg-transparent p-0", "border-none outline-hidden", "component-500 text-content-primary", "placeholder:text-content-tertiary", "focus:ring-0"),
|
|
51896
51874
|
...d
|
|
51897
51875
|
})
|
|
51898
51876
|
}), /* @__PURE__ */ L("div", {
|
|
@@ -51948,7 +51926,7 @@ var pbe = ({ title: e, overline: t, isSkeleton: n, visual: r, className: i, chil
|
|
|
51948
51926
|
"aria-label": r ?? t,
|
|
51949
51927
|
...o,
|
|
51950
51928
|
ref: a,
|
|
51951
|
-
className: U("size-[200px]", "bg-background-transparent rounded-400 border-misc-border border border-dashed", "flex flex-col items-center justify-center gap-2", "
|
|
51929
|
+
className: U("size-[200px]", "bg-background-transparent rounded-400 border-misc-border border border-dashed", "flex flex-col items-center justify-center gap-2", "hover:border-content-accent-hover active:border-content-accent-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", "disabled:pointer-events-none disabled:opacity-30", i),
|
|
51952
51930
|
children: [/* @__PURE__ */ I(e, { className: "text-content-tertiary icon-size-600" }), /* @__PURE__ */ I("span", {
|
|
51953
51931
|
className: "text-200 text-content-tertiary",
|
|
51954
51932
|
children: t
|
|
@@ -52009,10 +51987,7 @@ var j3 = {
|
|
|
52009
51987
|
...a,
|
|
52010
51988
|
checked: n,
|
|
52011
51989
|
value: t,
|
|
52012
|
-
className: H("group/PresetGroupItem w-full focus-visible:outline-hidden", "flex flex-col items-center justify-center gap-1.5 transition-opacity", {
|
|
52013
|
-
"pointer-events-none opacity-30": a.disabled,
|
|
52014
|
-
"cursor-pointer": !a.disabled
|
|
52015
|
-
}),
|
|
51990
|
+
className: H("group/PresetGroupItem w-full focus-visible:outline-hidden", "flex flex-col items-center justify-center gap-1.5 transition-opacity", { "pointer-events-none opacity-30": a.disabled }),
|
|
52016
51991
|
children: [/* @__PURE__ */ L("div", {
|
|
52017
51992
|
"aria-hidden": !0,
|
|
52018
51993
|
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"),
|
|
@@ -52128,10 +52103,7 @@ var vbe = ({ label: e, description: t, className: n, ...r }) => /* @__PURE__ */
|
|
|
52128
52103
|
...r,
|
|
52129
52104
|
className: H("group/radiogroupitem relative py-1.5 focus-visible:outline-hidden", n),
|
|
52130
52105
|
children: /* @__PURE__ */ L("div", {
|
|
52131
|
-
className: H("flex gap-4 text-start", {
|
|
52132
|
-
"pointer-events-none opacity-30": r.disabled,
|
|
52133
|
-
"cursor-pointer": !r.disabled
|
|
52134
|
-
}),
|
|
52106
|
+
className: H("flex gap-4 text-start", { "pointer-events-none opacity-30": r.disabled }),
|
|
52135
52107
|
children: [/* @__PURE__ */ I("span", {
|
|
52136
52108
|
className: H("group-radix-state-checked/radiogroupitem:border-content-accent border-neutral-400 hover:border-neutral-500", "group-focus-visible/radiogroupitem:ring-misc-focus-indicator group-focus-visible/radiogroupitem:misc-border-size-focus-ring", "misc-border-size-selection flex h-5 w-5 shrink-0 items-center justify-center rounded-full"),
|
|
52137
52109
|
"aria-hidden": "true",
|
|
@@ -52168,7 +52140,7 @@ var ybe = ({ reaction: e, selected: t = !1, onClick: n }) => /* @__PURE__ */ I("
|
|
|
52168
52140
|
onClick: () => n(e),
|
|
52169
52141
|
tabIndex: 0,
|
|
52170
52142
|
type: "button",
|
|
52171
|
-
className: H("misc-dropdown-inner-rounding flex h-10 w-10
|
|
52143
|
+
className: H("misc-dropdown-inner-rounding flex h-10 w-10 flex-col items-center justify-center transition duration-200", "focus-visible:ring-misc-focus-indicator focus-visible:border-0 focus-visible:ring-4 focus-visible:outline-hidden", t ? "bg-background-borderless-subdued-hover" : "hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down"),
|
|
52172
52144
|
children: /* @__PURE__ */ I("span", {
|
|
52173
52145
|
role: "img",
|
|
52174
52146
|
className: "text-800 leading-6",
|
|
@@ -52181,7 +52153,7 @@ var ybe = ({ reaction: e, selected: t = !1, onClick: n }) => /* @__PURE__ */ I("
|
|
|
52181
52153
|
reaction: t,
|
|
52182
52154
|
onClick: e
|
|
52183
52155
|
}, t))
|
|
52184
|
-
}), F3 = W(["flex w-fit
|
|
52156
|
+
}), F3 = W(["flex w-fit items-center justify-center rounded-full border px-2 py-1", "focus-visible:ring-misc-focus-indicator focus-visible:ring-4 focus-visible:outline-hidden"], {
|
|
52185
52157
|
variants: { selected: {
|
|
52186
52158
|
true: "border-content-accent bg-background-accent-subdued hover:bg-background-accent-subdued-hover focus-visible:bg-background-accent-subdued-hover active:bg-background-accent-subdued-down",
|
|
52187
52159
|
false: "bg-background-subdued hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover active:bg-background-subdued-down border-transparent"
|
|
@@ -53340,7 +53312,7 @@ var bxe = W([
|
|
|
53340
53312
|
"invalid:border-content-negative invalid:hover:border-content-negative invalid:focus-visible:border-content-negative",
|
|
53341
53313
|
"component-500 text-content-primary font-medium placeholder-neutral-600",
|
|
53342
53314
|
"focus-visible:ring-misc-focus-indicator-subdued",
|
|
53343
|
-
"focus-visible:misc-border-size-focus-ring disabled:
|
|
53315
|
+
"focus-visible:misc-border-size-focus-ring disabled:opacity-50",
|
|
53344
53316
|
"transition duration-200"
|
|
53345
53317
|
], {
|
|
53346
53318
|
variants: {
|
|
@@ -53626,7 +53598,7 @@ var xxe = ({ value: e, defaultValue: t = 0, onValueChange: n, onNumberFieldValue
|
|
|
53626
53598
|
}), /* @__PURE__ */ L("label", {
|
|
53627
53599
|
id: `${c.id}-label`,
|
|
53628
53600
|
htmlFor: c.id,
|
|
53629
|
-
className: "flex cursor-
|
|
53601
|
+
className: "flex cursor-default flex-col gap-1 peer-disabled:opacity-30",
|
|
53630
53602
|
children: [/* @__PURE__ */ I("span", {
|
|
53631
53603
|
className: "component-500 text-content-primary",
|
|
53632
53604
|
children: e
|
|
@@ -53650,7 +53622,7 @@ var xxe = ({ value: e, defaultValue: t = 0, onValueChange: n, onNumberFieldValue
|
|
|
53650
53622
|
O6.Item = Sxe;
|
|
53651
53623
|
//#endregion
|
|
53652
53624
|
//#region src/components/input/TagField/TagField.tsx
|
|
53653
|
-
var Cxe = 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:
|
|
53625
|
+
var Cxe = 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:opacity-50"], {
|
|
53654
53626
|
variants: { invalid: {
|
|
53655
53627
|
true: ["border-content-negative border caret-black", "focus-within:border-content-negative focus-within:ring-background-negative-subdued-down"],
|
|
53656
53628
|
false: [
|
|
@@ -53666,7 +53638,7 @@ var Cxe = W(["group rounded-500 border-misc-border text-500 text-content-primary
|
|
|
53666
53638
|
className: "relative flex flex-col gap-2",
|
|
53667
53639
|
children: [
|
|
53668
53640
|
e && /* @__PURE__ */ I(wF, {
|
|
53669
|
-
className: "text-sm leading-none font-medium peer-disabled:
|
|
53641
|
+
className: "text-sm leading-none font-medium peer-disabled:opacity-70",
|
|
53670
53642
|
children: e
|
|
53671
53643
|
}),
|
|
53672
53644
|
/* @__PURE__ */ I("div", {
|
|
@@ -53681,7 +53653,7 @@ var Cxe = W(["group rounded-500 border-misc-border text-500 text-content-primary
|
|
|
53681
53653
|
...s,
|
|
53682
53654
|
className: U([
|
|
53683
53655
|
"peer rounded-500 caret-content-accent w-full appearance-none border-transparent bg-transparent p-0 px-0.5",
|
|
53684
|
-
"outline-hidden transition duration-200 focus-visible:border-transparent focus-visible:ring-0 disabled:
|
|
53656
|
+
"outline-hidden transition duration-200 focus-visible:border-transparent focus-visible:ring-0 disabled:opacity-50",
|
|
53685
53657
|
"component-500 text-content-primary placeholder-content-tertiary leading-none",
|
|
53686
53658
|
r
|
|
53687
53659
|
])
|
|
@@ -53691,7 +53663,7 @@ var Cxe = W(["group rounded-500 border-misc-border text-500 text-content-primary
|
|
|
53691
53663
|
children: /* @__PURE__ */ I("button", {
|
|
53692
53664
|
type: "button",
|
|
53693
53665
|
"aria-label": "Clear all tags",
|
|
53694
|
-
className: H("rounded-full bg-neutral-600 p-0.5", "disabled:
|
|
53666
|
+
className: H("rounded-full bg-neutral-600 p-0.5", "disabled:opacity-50"),
|
|
53695
53667
|
onClick: i,
|
|
53696
53668
|
disabled: s.disabled,
|
|
53697
53669
|
children: /* @__PURE__ */ I(Hee, {
|
|
@@ -53741,13 +53713,13 @@ var j6 = ({ label: e, helper: t, className: n, ref: r, ...i }) => {
|
|
|
53741
53713
|
j6.displayName = "TextField";
|
|
53742
53714
|
//#endregion
|
|
53743
53715
|
//#region src/components/input/TextFieldLabel/TextFieldLabel.tsx
|
|
53744
|
-
var wxe = W(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral-400 disabled:
|
|
53716
|
+
var wxe = W(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral-400 disabled:opacity-50"], {
|
|
53745
53717
|
variants: { invalid: {
|
|
53746
53718
|
true: ["hover:bg-background-negative-subdued-hover active:bg-background-negative-subdued-down"],
|
|
53747
53719
|
false: ["hover:bg-background-subdued-hover active:bg-background-subdued-down"]
|
|
53748
53720
|
} },
|
|
53749
53721
|
defaultVariants: { invalid: !1 }
|
|
53750
|
-
}), Txe = W("rounded-250 text-500 font-500 inline-flex h-full cursor-
|
|
53722
|
+
}), Txe = W("rounded-250 text-500 font-500 inline-flex h-full cursor-default items-center overflow-hidden transition-all disabled:opacity-50", {
|
|
53751
53723
|
variants: {
|
|
53752
53724
|
hasRemoveButton: {
|
|
53753
53725
|
true: "ps-1.5",
|
|
@@ -53756,16 +53728,11 @@ var wxe = W(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral
|
|
|
53756
53728
|
invalid: {
|
|
53757
53729
|
true: "bg-background-negative-subdued text-content-negative",
|
|
53758
53730
|
false: "bg-background/subdued bg-background-subdued text-content-primary focus-visible:bg-background-subdued-hover"
|
|
53759
|
-
},
|
|
53760
|
-
disabled: {
|
|
53761
|
-
true: "disabled:cursor-not-allowed",
|
|
53762
|
-
false: ""
|
|
53763
53731
|
}
|
|
53764
53732
|
},
|
|
53765
53733
|
defaultVariants: {
|
|
53766
53734
|
hasRemoveButton: !1,
|
|
53767
|
-
invalid: !1
|
|
53768
|
-
disabled: !1
|
|
53735
|
+
invalid: !1
|
|
53769
53736
|
}
|
|
53770
53737
|
}), Exe = ({ avatar: e, children: t, invalid: n, disabled: r, className: i, onRemove: a, ...o }) => {
|
|
53771
53738
|
let s = Ne(() => e ? be(e, {
|
|
@@ -53775,8 +53742,7 @@ var wxe = W(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral
|
|
|
53775
53742
|
return /* @__PURE__ */ L("span", {
|
|
53776
53743
|
className: U(Txe({
|
|
53777
53744
|
hasRemoveButton: !!a,
|
|
53778
|
-
invalid: n
|
|
53779
|
-
disabled: r
|
|
53745
|
+
invalid: n
|
|
53780
53746
|
}), i),
|
|
53781
53747
|
...o,
|
|
53782
53748
|
children: [
|
|
@@ -53803,7 +53769,7 @@ var wxe = W(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral
|
|
|
53803
53769
|
}, M6 = ({ children: e, className: t, ref: n, ...r }) => /* @__PURE__ */ L("div", {
|
|
53804
53770
|
ref: n,
|
|
53805
53771
|
...r,
|
|
53806
|
-
className: H("relative flex items-center justify-between", "rounded-500 p-2.5 pe-3", "cursor-
|
|
53772
|
+
className: H("relative flex items-center justify-between", "rounded-500 p-2.5 pe-3", "cursor-default outline-hidden", "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down", "focus-visible:border-size-ring-3 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "[&>img]:size-h-250 [&>img]:object-cover [&>img]:py-[3.5px] [&>img]:filter-(--font-thumbnail-filter)", t),
|
|
53807
53773
|
children: [e, /* @__PURE__ */ I(m, { className: "text-content-tertiary icon-size-500 shrink-0" })]
|
|
53808
53774
|
});
|
|
53809
53775
|
M6.displayName = "FontFamilyRow";
|
|
@@ -53906,7 +53872,7 @@ var Dxe = ({ label: e, description: t, avatar: n, trailingElement: r, className:
|
|
|
53906
53872
|
ref: o,
|
|
53907
53873
|
type: "button",
|
|
53908
53874
|
disabled: i,
|
|
53909
|
-
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",
|
|
53875
|
+
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", a),
|
|
53910
53876
|
...s,
|
|
53911
53877
|
children: [
|
|
53912
53878
|
/* @__PURE__ */ I("div", {
|
|
@@ -54219,7 +54185,7 @@ var rSe = ({ children: e, className: t }) => /* @__PURE__ */ I(q6, {
|
|
|
54219
54185
|
children: /* @__PURE__ */ L("button", {
|
|
54220
54186
|
ref: n,
|
|
54221
54187
|
type: "button",
|
|
54222
|
-
className: "group relative block h-10 w-10 shrink-0
|
|
54188
|
+
className: "group relative block h-10 w-10 shrink-0 transition-all",
|
|
54223
54189
|
...r,
|
|
54224
54190
|
children: [/* @__PURE__ */ I("img", {
|
|
54225
54191
|
src: e,
|
|
@@ -54235,7 +54201,7 @@ var rSe = ({ children: e, className: t }) => /* @__PURE__ */ I(q6, {
|
|
|
54235
54201
|
children: /* @__PURE__ */ I("button", {
|
|
54236
54202
|
ref: n,
|
|
54237
54203
|
type: "button",
|
|
54238
|
-
className: H("rounded-200 border-misc-border bg-background-subdued flex h-10 w-10
|
|
54204
|
+
className: H("rounded-200 border-misc-border bg-background-subdued flex h-10 w-10 items-center justify-center border border-dashed", "border-misc-border hover:border-content-accent-hover active:border-content-accent-down"),
|
|
54239
54205
|
...r,
|
|
54240
54206
|
children: /* @__PURE__ */ I(ee, { className: "text-content-primary icon-size-500" })
|
|
54241
54207
|
})
|
|
@@ -54285,7 +54251,7 @@ l8.HeaderItem = iSe, l8.ValueItem = aSe, l8.Trailing = c8, l8.Leading = s8;
|
|
|
54285
54251
|
var oSe = ({ 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 }) => {
|
|
54286
54252
|
let [d, f] = Pe(!1), p = ke();
|
|
54287
54253
|
return /* @__PURE__ */ L("div", {
|
|
54288
|
-
className: H("group bg-surface-primary-elevated flex
|
|
54254
|
+
className: H("group bg-surface-primary-elevated flex gap-3 p-2 pe-4", { "hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down": l && e === "event" }),
|
|
54289
54255
|
children: [/* @__PURE__ */ L("div", {
|
|
54290
54256
|
className: "w-full pb-2",
|
|
54291
54257
|
children: [/* @__PURE__ */ L("div", {
|
|
@@ -54498,7 +54464,7 @@ var oSe = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i,
|
|
|
54498
54464
|
t
|
|
54499
54465
|
]);
|
|
54500
54466
|
return /* @__PURE__ */ L("div", {
|
|
54501
|
-
className: H("flex w-fit flex-row-reverse items-center justify-end -space-x-1 space-x-reverse", { "bg-background-subdued hover:bg-background-subdued-hover active:bg-background-subdued-down cursor-
|
|
54467
|
+
className: H("flex w-fit flex-row-reverse items-center justify-end -space-x-1 space-x-reverse", { "bg-background-subdued hover:bg-background-subdued-hover active:bg-background-subdued-down cursor-default rounded-full p-2": i }, r),
|
|
54502
54468
|
onClick: a,
|
|
54503
54469
|
children: [
|
|
54504
54470
|
s.type === "count" && /* @__PURE__ */ I(hSe, {
|
|
@@ -54699,7 +54665,7 @@ var vSe = Object.defineProperty, ySe = (e, t) => vSe(e, "name", {
|
|
|
54699
54665
|
activePillColor: "#141414"
|
|
54700
54666
|
}
|
|
54701
54667
|
}, S8 = ({ className: e, ...t }) => /* @__PURE__ */ I(b8, {
|
|
54702
|
-
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:
|
|
54668
|
+
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:opacity-30", e),
|
|
54703
54669
|
...t
|
|
54704
54670
|
}), ASe = ({ icon: e, label: t, tooltip: n, side: r = "top", withPortal: i = !0, disabled: a, className: o, ...s }) => {
|
|
54705
54671
|
let c = Vd(e) ? /* @__PURE__ */ I(e, { className: "icon-size-500" }) : e;
|
|
@@ -54744,7 +54710,7 @@ var vSe = Object.defineProperty, ySe = (e, t) => vSe(e, "name", {
|
|
|
54744
54710
|
})]
|
|
54745
54711
|
});
|
|
54746
54712
|
}, C8 = ({ className: e, testId: t, disabled: n, ...r }) => /* @__PURE__ */ I(h8, {
|
|
54747
|
-
className: H("rounded-500 bg-background-subdued flex", { "
|
|
54713
|
+
className: H("rounded-500 bg-background-subdued flex", { "opacity-30": n }, e),
|
|
54748
54714
|
type: "single",
|
|
54749
54715
|
"data-testid": t,
|
|
54750
54716
|
disabled: n,
|
|
@@ -54764,7 +54730,7 @@ var w8 = ({ children: e, label: t, badgeLabel: n, hasPaddingTop: r = !1, noAccor
|
|
|
54764
54730
|
children: [
|
|
54765
54731
|
/* @__PURE__ */ L("button", {
|
|
54766
54732
|
type: "button",
|
|
54767
|
-
className: H("flex w-full flex-row items-center gap-2 px-3 py-[11px]", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring disabled:opacity-30", "rounded-500 outline-hidden transition duration-200"
|
|
54733
|
+
className: H("flex w-full flex-row items-center gap-2 px-3 py-[11px]", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring disabled:opacity-30", "rounded-500 outline-hidden transition duration-200"),
|
|
54768
54734
|
onClick: () => !!e && u((e) => !e),
|
|
54769
54735
|
disabled: a,
|
|
54770
54736
|
children: [
|
|
@@ -54821,7 +54787,7 @@ var T8 = (({ isSelected: e = !1, label: t, variant: n = "default", disabled: r,
|
|
|
54821
54787
|
})
|
|
54822
54788
|
}) : /* @__PURE__ */ I(s, {
|
|
54823
54789
|
ref: l,
|
|
54824
|
-
className: U("group flex w-full outline-hidden", r && "opacity-30", c),
|
|
54790
|
+
className: U("group flex w-full cursor-pointer outline-hidden", r && "opacity-30", c),
|
|
54825
54791
|
...u,
|
|
54826
54792
|
children: ({ isActive: t }) => /* @__PURE__ */ I(E8, {
|
|
54827
54793
|
...d,
|
|
@@ -54833,7 +54799,7 @@ T8.displayName = "SideNavigationItem";
|
|
|
54833
54799
|
var E8 = ({ variant: e = "default", label: t, isActive: n, activeIcon: r, icon: i, trailingElement: a }) => {
|
|
54834
54800
|
let o = n ? r : i;
|
|
54835
54801
|
return /* @__PURE__ */ L("span", {
|
|
54836
|
-
className: H("flex w-full flex-row items-center gap-3 py-[10px] pe-3", "group-focus-visible:ring-misc-focus-indicator group-focus-visible:misc-border-size-focus-ring group-disabled:opacity-30", "rounded-500
|
|
54802
|
+
className: H("flex w-full flex-row items-center gap-3 py-[10px] pe-3", "group-focus-visible:ring-misc-focus-indicator group-focus-visible:misc-border-size-focus-ring group-disabled:opacity-30", "rounded-500 outline-hidden transition duration-200", {
|
|
54837
54803
|
"text-content-primary": !n && e === "default",
|
|
54838
54804
|
"text-content-positive": !n && e === "positive",
|
|
54839
54805
|
"hover:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down group-focus-visible:bg-background-borderless-subdued-hover bg-transparent": !n,
|
|
@@ -55285,7 +55251,7 @@ Q8.displayName = "ChoiceGroup";
|
|
|
55285
55251
|
//#region src/components/onboarding/ChoiceGroup/ChoiceTile.tsx
|
|
55286
55252
|
var $8 = ({ label: e, imageSrc: t, className: n, children: r, ...i }) => /* @__PURE__ */ L("label", {
|
|
55287
55253
|
...i,
|
|
55288
|
-
className: U("relative cursor-
|
|
55254
|
+
className: U("relative cursor-default select-none", "flex w-max flex-col", "rounded-500 misc-border-size-selection outline-hidden", "has-data-[state=unchecked]:border-transparent", "has-data-[state=checked]:border-accent-500", "has-data-[state=checked]:misc-shadow-selection", "bg-background-subdued", "has-active:bg-background-subdued-down hover:bg-background-subdued-hover has-focus-visible:bg-background-subdued-hover", "has-focus-visible:ring-misc-focus-indicator has-focus-visible:misc-border-size-focus-ring", "transition-all", n),
|
|
55289
55255
|
children: [r, /* @__PURE__ */ L("span", {
|
|
55290
55256
|
className: "flex grow flex-col text-start",
|
|
55291
55257
|
children: [/* @__PURE__ */ I("figure", {
|
|
@@ -55353,7 +55319,7 @@ var USe = {
|
|
|
55353
55319
|
label: "component-500"
|
|
55354
55320
|
}
|
|
55355
55321
|
}, WSe = W([
|
|
55356
|
-
"relative cursor-
|
|
55322
|
+
"relative cursor-default select-none",
|
|
55357
55323
|
"inline-flex w-full flex-col items-start justify-center px-4 py-3",
|
|
55358
55324
|
"rounded-500 outline-hidden",
|
|
55359
55325
|
"has-focus-visible:ring-misc-focus-indicator has-focus-visible:misc-border-size-focus-ring",
|
|
@@ -55402,7 +55368,7 @@ r5.displayName = "GridMultipleTile";
|
|
|
55402
55368
|
//#endregion
|
|
55403
55369
|
//#region src/components/onboarding/ChoiceGroup/ListChoiceTile.tsx
|
|
55404
55370
|
var GSe = W([
|
|
55405
|
-
"relative cursor-
|
|
55371
|
+
"relative cursor-default select-none",
|
|
55406
55372
|
"inline-flex flex-row items-center gap-2",
|
|
55407
55373
|
"w-full px-4 py-3",
|
|
55408
55374
|
"rounded-500 outline-hidden",
|
|
@@ -60717,6 +60683,7 @@ var eEe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
60717
60683
|
}) : /* @__PURE__ */ I(D6, {
|
|
60718
60684
|
isSearchable: !1,
|
|
60719
60685
|
multiline: !0,
|
|
60686
|
+
rawOption: !0,
|
|
60720
60687
|
className: "w-full",
|
|
60721
60688
|
placeholder: r,
|
|
60722
60689
|
value: t,
|
|
@@ -60725,6 +60692,12 @@ var eEe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
60725
60692
|
value: e.value,
|
|
60726
60693
|
label: e.label
|
|
60727
60694
|
})),
|
|
60695
|
+
renderOption: (e) => /* @__PURE__ */ I(rY, {
|
|
60696
|
+
multiline: !0,
|
|
60697
|
+
className: "min-h-10 py-2.5",
|
|
60698
|
+
selected: e.value === t,
|
|
60699
|
+
label: e.label
|
|
60700
|
+
}),
|
|
60728
60701
|
renderValue: (t) => e.find((e) => e.value === t)?.label ?? null
|
|
60729
60702
|
});
|
|
60730
60703
|
}, gEe = ({ planType: e, description: t, cta: n, propLists: r, billingPeriod: i, specialOfferLabel: a, clientLogos: o, planPriceLabelOverride: s, planPriceSubLabel: c, planName: l, showYearlyPriceAsMonthly: u, tagLabel: d, tagVariant: f = "neutral", variant: p = "default", perMonthLabel: m, perYearLabel: h, billedAnnuallyLabel: g, subscriptionOptions: _, isUnavailable: v, unavailableLabel: y, subscriptionType: b, onSubscriptionTypeChange: x, resolvedPrice: S, pendingPrice: C, isError: w, isSelectorLoading: T, ...E }) => {
|