@photoroom/ui 0.1.226 → 0.1.228
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/colors.css +40 -40
- package/components/feed/FeedTile/FeedTile.d.ts.map +1 -1
- package/components/input/TextInput/TextInput.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +100 -100
- package/package.json +1 -1
- package/{react-textarea-autosize.browser.esm-DDxx9SRA.mjs → react-textarea-autosize.browser.esm-BQmGXYSn.mjs} +3 -3
- package/theme.css +197 -197
package/index.mjs
CHANGED
|
@@ -6008,15 +6008,15 @@ var Ds = bs, Os = Ss, ks = ws, As = U([
|
|
|
6008
6008
|
12: "text-[9px]",
|
|
6009
6009
|
16: "text-[11px]",
|
|
6010
6010
|
20: "text-[11px]",
|
|
6011
|
-
24: "text-
|
|
6012
|
-
32: "text-
|
|
6013
|
-
40: "text-
|
|
6011
|
+
24: "text-400",
|
|
6012
|
+
32: "text-600",
|
|
6013
|
+
40: "text-700",
|
|
6014
6014
|
80: "text-[34px]"
|
|
6015
6015
|
} } }), Ms = U([""], { variants: { size: {
|
|
6016
6016
|
12: "size-[9px]",
|
|
6017
6017
|
16: "size-[11px]",
|
|
6018
6018
|
20: "size-[11px]",
|
|
6019
|
-
24: "size-
|
|
6019
|
+
24: "size-150",
|
|
6020
6020
|
32: "size-[18px]",
|
|
6021
6021
|
40: "size-5",
|
|
6022
6022
|
80: "size-8"
|
|
@@ -9324,14 +9324,14 @@ var yc = /* @__PURE__ */ new Set(), bc = ({ variant: e = "default", label: t, pr
|
|
|
9324
9324
|
onContextMenu: (e) => e.preventDefault()
|
|
9325
9325
|
}),
|
|
9326
9326
|
!_ && d && /* @__PURE__ */ E("div", {
|
|
9327
|
-
className: "absolute
|
|
9327
|
+
className: "absolute inset-e-1 top-1 z-2",
|
|
9328
9328
|
children: d
|
|
9329
9329
|
}),
|
|
9330
|
-
!_ && !d && l && /* @__PURE__ */ E(sc, { className: "absolute
|
|
9330
|
+
!_ && !d && l && /* @__PURE__ */ E(sc, { className: "absolute inset-e-1 top-1 z-2" }),
|
|
9331
9331
|
P && /* @__PURE__ */ E(Ns, {
|
|
9332
9332
|
...f,
|
|
9333
9333
|
size: 24,
|
|
9334
|
-
className: "absolute
|
|
9334
|
+
className: "absolute inset-e-2 bottom-2 z-2"
|
|
9335
9335
|
}),
|
|
9336
9336
|
j && /* @__PURE__ */ E("div", {
|
|
9337
9337
|
className: "absolute inset-0 z-2 flex items-center justify-center",
|
|
@@ -9504,7 +9504,7 @@ var Mc = /* @__PURE__ */ function(e) {
|
|
|
9504
9504
|
},
|
|
9505
9505
|
size: {
|
|
9506
9506
|
default: ["grid min-h-[48px] w-full grid-cols-[48px_auto_48px] items-center"],
|
|
9507
|
-
compact: ["grid
|
|
9507
|
+
compact: ["grid size-600 place-items-center"]
|
|
9508
9508
|
}
|
|
9509
9509
|
},
|
|
9510
9510
|
defaultVariants: { size: "default" }
|
|
@@ -9769,7 +9769,7 @@ Zc.displayName = "PullDownButton";
|
|
|
9769
9769
|
//#endregion
|
|
9770
9770
|
//#region src/components/action/QuickActionCard/QuickActionCard.tsx
|
|
9771
9771
|
var Qc = ({ title: e, imageSrc: t, imageAlt: n, onClick: r, className: i, variant: a = "default", isPro: o = !1, ...s }) => /* @__PURE__ */ D("button", {
|
|
9772
|
-
className: H("flex h-full w-full flex-col", "rounded-400 cursor-pointer overflow-hidden outline-hidden", "transition-all duration-150 ease-out", "focus-visible:ring-misc-focus-indicator focus-visible:ring
|
|
9772
|
+
className: H("flex h-full w-full flex-col", "rounded-400 cursor-pointer overflow-hidden outline-hidden", "transition-all duration-150 ease-out", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", { "bg-background-subdued hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover active:bg-background-subdued-down": a === "default" }, i),
|
|
9773
9773
|
onClick: r,
|
|
9774
9774
|
...s,
|
|
9775
9775
|
children: [/* @__PURE__ */ D("div", {
|
|
@@ -9783,7 +9783,7 @@ var Qc = ({ title: e, imageSrc: t, imageAlt: n, onClick: r, className: i, varian
|
|
|
9783
9783
|
decoding: "async"
|
|
9784
9784
|
}), o && /* @__PURE__ */ E(sc, {
|
|
9785
9785
|
size: "small",
|
|
9786
|
-
className: "absolute
|
|
9786
|
+
className: "absolute inset-e-2 top-2 z-10 shrink-0"
|
|
9787
9787
|
})]
|
|
9788
9788
|
}), /* @__PURE__ */ E("div", {
|
|
9789
9789
|
className: "z-10 flex h-[70px] shrink-0 items-center px-4 pt-3",
|
|
@@ -23529,7 +23529,7 @@ var UT = "en", WT = {
|
|
|
23529
23529
|
onClick: a,
|
|
23530
23530
|
"aria-label": i,
|
|
23531
23531
|
className: H("rounded-500 focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring text-[0] focus-visible:outline-hidden", n),
|
|
23532
|
-
children: /* @__PURE__ */ E(s, { className: "rounded-500 h-
|
|
23532
|
+
children: /* @__PURE__ */ E(s, { className: "rounded-500 size-h-700 w-[180px]" })
|
|
23533
23533
|
});
|
|
23534
23534
|
};
|
|
23535
23535
|
//#endregion
|
|
@@ -23664,7 +23664,7 @@ var tE = ({ children: e }) => vr(e) ? /* @__PURE__ */ E(e, {}) : e, nE = l(({ ti
|
|
|
23664
23664
|
a && /* @__PURE__ */ E("button", {
|
|
23665
23665
|
type: "button",
|
|
23666
23666
|
onClick: a,
|
|
23667
|
-
className: "bg-background-subdued hover:bg-background-subdued-hover absolute
|
|
23667
|
+
className: "bg-background-subdued hover:bg-background-subdued-hover absolute inset-e-2 top-2 flex size-6 items-center justify-center rounded-full",
|
|
23668
23668
|
"aria-label": "Close",
|
|
23669
23669
|
children: /* @__PURE__ */ E(R, { className: "text-content-secondary size-3" })
|
|
23670
23670
|
}),
|
|
@@ -32325,7 +32325,7 @@ var yU = UH, bU = GH, xU = qH, SU = YH, CU = tU, wU = rU, TU = aU, EU = sU, DU =
|
|
|
32325
32325
|
n?.(e), e.key === "Escape" && e.currentTarget.value && (d(), e.stopPropagation());
|
|
32326
32326
|
}, [d, n]);
|
|
32327
32327
|
return /* @__PURE__ */ D("label", {
|
|
32328
|
-
className: H("relative cursor-pointer", "h-[calc(3.5rem-2px)] w-full p-3", "flex items-center gap-2", "bg-surface-default", "
|
|
32328
|
+
className: H("relative cursor-pointer", "h-[calc(3.5rem-2px)] w-full p-3", "flex items-center gap-2", "bg-surface-default", "has-disabled:cursor-not-allowed has-disabled:opacity-30", e),
|
|
32329
32329
|
children: [
|
|
32330
32330
|
/* @__PURE__ */ E(Oe, { className: "text-content-secondary pointer-events-none h-4 w-4 shrink-0" }),
|
|
32331
32331
|
/* @__PURE__ */ E("input", {
|
|
@@ -32339,7 +32339,7 @@ var yU = UH, bU = GH, xU = qH, SU = YH, CU = tU, wU = rU, TU = aU, EU = sU, DU =
|
|
|
32339
32339
|
!c && /* @__PURE__ */ E(Mr, {
|
|
32340
32340
|
"aria-label": i,
|
|
32341
32341
|
onClick: d,
|
|
32342
|
-
className: "absolute
|
|
32342
|
+
className: "absolute inset-e-2 top-1/2 -translate-y-1/2 peer-disabled:pointer-events-none peer-disabled:opacity-30"
|
|
32343
32343
|
})
|
|
32344
32344
|
]
|
|
32345
32345
|
});
|
|
@@ -33240,7 +33240,7 @@ var kW = /* @__PURE__ */ Ft((() => {
|
|
|
33240
33240
|
}), NW = ({ visualLarge: e, visualSmall: t, cssBackgroundColor: n, badgeLabel: r, logo: i, authorName: a, authorJobTitle: s, content: c, cta: l, ...u }) => {
|
|
33241
33241
|
let d = b(() => l ? o(l, { variant: "primary" }) : null, [l]);
|
|
33242
33242
|
return /* @__PURE__ */ E("div", {
|
|
33243
|
-
className: V("flex flex-col", "w-full min-w-0", "rounded-500 @container overflow-hidden", "bg-
|
|
33243
|
+
className: V("flex flex-col", "w-full min-w-0", "rounded-500 @container overflow-hidden", "bg-(--customer-story-card-background-color)"),
|
|
33244
33244
|
style: { "--customer-story-card-background-color": n },
|
|
33245
33245
|
...u,
|
|
33246
33246
|
children: /* @__PURE__ */ E("div", {
|
|
@@ -33260,7 +33260,7 @@ var kW = /* @__PURE__ */ Ft((() => {
|
|
|
33260
33260
|
children: e
|
|
33261
33261
|
})]
|
|
33262
33262
|
}), r && /* @__PURE__ */ E(MW, {
|
|
33263
|
-
className: "absolute
|
|
33263
|
+
className: "absolute inset-s-6 top-6 @[960px]:hidden",
|
|
33264
33264
|
children: r
|
|
33265
33265
|
})]
|
|
33266
33266
|
}), /* @__PURE__ */ E("div", {
|
|
@@ -33279,7 +33279,7 @@ var kW = /* @__PURE__ */ Ft((() => {
|
|
|
33279
33279
|
className: "flex max-w-[448px] grow flex-col gap-6",
|
|
33280
33280
|
children: [
|
|
33281
33281
|
i && /* @__PURE__ */ E("div", {
|
|
33282
|
-
className: "flex h-[88px] w-[120px] items-end justify-start [&>img]
|
|
33282
|
+
className: "flex h-[88px] w-[120px] items-end justify-start [&>img]:static! [&>img]:max-h-full [&>img]:max-w-full [&>img]:object-contain [&>img]:object-bottom-left rtl:[&>img]:object-bottom-right",
|
|
33283
33283
|
children: i
|
|
33284
33284
|
}),
|
|
33285
33285
|
c && /* @__PURE__ */ E("div", {
|
|
@@ -33488,12 +33488,12 @@ var JW = ({ title: e, subtitle: t, image: n, cta: r, className: i, onClick: a, o
|
|
|
33488
33488
|
})]
|
|
33489
33489
|
}),
|
|
33490
33490
|
!!n && /* @__PURE__ */ E("figure", {
|
|
33491
|
-
className: "aspect-
|
|
33491
|
+
className: "size-h-750 aspect-4/3 w-[80px] shrink-0",
|
|
33492
33492
|
children: n
|
|
33493
33493
|
}),
|
|
33494
33494
|
!!o && /* @__PURE__ */ E(jr, {
|
|
33495
33495
|
"aria-label": s,
|
|
33496
|
-
className: "absolute
|
|
33496
|
+
className: "absolute inset-e-2 top-2",
|
|
33497
33497
|
size: "small",
|
|
33498
33498
|
onClick: o
|
|
33499
33499
|
})
|
|
@@ -33596,10 +33596,10 @@ var QW = ({ checkerboard: e, cover: t, imageUrl: n, loading: r, bottomRightIcon:
|
|
|
33596
33596
|
t && /* @__PURE__ */ D("div", {
|
|
33597
33597
|
className: "relative mb-2 max-w-fit",
|
|
33598
33598
|
children: [/* @__PURE__ */ E("div", {
|
|
33599
|
-
className: "relative h-12 w-12 overflow-hidden
|
|
33599
|
+
className: "rounded-600 relative h-12 w-12 overflow-hidden",
|
|
33600
33600
|
children: t
|
|
33601
33601
|
}), n && /* @__PURE__ */ E("div", {
|
|
33602
|
-
className: "absolute -
|
|
33602
|
+
className: "absolute -inset-e-1.5 -top-1.5 flex",
|
|
33603
33603
|
children: n
|
|
33604
33604
|
})]
|
|
33605
33605
|
}),
|
|
@@ -33612,7 +33612,7 @@ var QW = ({ checkerboard: e, cover: t, imageUrl: n, loading: r, bottomRightIcon:
|
|
|
33612
33612
|
children: i
|
|
33613
33613
|
}),
|
|
33614
33614
|
r && /* @__PURE__ */ E("div", {
|
|
33615
|
-
className: "mt-8 flex
|
|
33615
|
+
className: "mt-8 flex *:grow",
|
|
33616
33616
|
children: r
|
|
33617
33617
|
})
|
|
33618
33618
|
]
|
|
@@ -33806,7 +33806,7 @@ var uG = U("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
|
|
|
33806
33806
|
imgClassName: a ? "size-full object-cover" : void 0
|
|
33807
33807
|
}),
|
|
33808
33808
|
n != null && /* @__PURE__ */ E("div", {
|
|
33809
|
-
className: "bg-black-alpha-8 pointer-events-none absolute
|
|
33809
|
+
className: "bg-black-alpha-8 pointer-events-none absolute inset-e-1 bottom-1 flex h-5 w-5 items-center justify-center rounded-full",
|
|
33810
33810
|
children: /* @__PURE__ */ E("span", {
|
|
33811
33811
|
className: V("font-600 text-content-white-primary", n > 99 ? "component-300" : "component-400"),
|
|
33812
33812
|
children: n > 99 ? "99+" : n
|
|
@@ -34145,7 +34145,7 @@ var $G = l(({ dropdownContent: e, className: t, children: n, ...r }, i) => {
|
|
|
34145
34145
|
ref: i,
|
|
34146
34146
|
className: H("group relative flex appearance-none outline-hidden", "bg-surface-high min-h-[64px] min-w-[64px]", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", t),
|
|
34147
34147
|
children: [n, Jo.isMobile ? /* @__PURE__ */ E("span", {
|
|
34148
|
-
className: "rounded-500 absolute
|
|
34148
|
+
className: "rounded-500 absolute inset-e-3 top-3 z-10 flex size-10 items-center justify-center bg-white",
|
|
34149
34149
|
children: /* @__PURE__ */ E(se, { className: "size-5" })
|
|
34150
34150
|
}) : /* @__PURE__ */ E("div", {
|
|
34151
34151
|
className: V("absolute inset-0 z-10", "flex items-center", "hover:bg-misc-visual-hover group-focus-visible:bg-misc-visual-hover group-active:after:bg-misc-visual-down", "group-focus-visible:opacity-100 hover:opacity-100", "interaction-transition transition-all", {
|
|
@@ -34153,7 +34153,7 @@ var $G = l(({ dropdownContent: e, className: t, children: n, ...r }, i) => {
|
|
|
34153
34153
|
"opacity-100": a
|
|
34154
34154
|
}),
|
|
34155
34155
|
children: !!e && /* @__PURE__ */ E("span", {
|
|
34156
|
-
className: "absolute
|
|
34156
|
+
className: "absolute inset-e-2 top-2",
|
|
34157
34157
|
children: /* @__PURE__ */ E(HU, {
|
|
34158
34158
|
className: "z-10 w-60",
|
|
34159
34159
|
align: "end",
|
|
@@ -34310,12 +34310,12 @@ var aK = U("rounded-400 focus-visible:ring-misc-focus-indicator focus-visible:mi
|
|
|
34310
34310
|
children: [
|
|
34311
34311
|
/* @__PURE__ */ E("img", {
|
|
34312
34312
|
src: n,
|
|
34313
|
-
className: V("rounded-400 border-misc-hairline misc-border-size-hairline pointer-events-none absolute z-0 h-auto shrink-0
|
|
34313
|
+
className: V("rounded-400 border-misc-hairline misc-border-size-hairline pointer-events-none absolute z-0 h-auto shrink-0 rotate-[-8deg] select-none", a === "compact" ? "-inset-e-4 -bottom-4 w-20" : "-inset-e-12 -bottom-8 w-[150px]")
|
|
34314
34314
|
}),
|
|
34315
34315
|
r && /* @__PURE__ */ E(Vs, {
|
|
34316
34316
|
variant: "pro",
|
|
34317
34317
|
size: "small",
|
|
34318
|
-
className: "absolute
|
|
34318
|
+
className: "absolute inset-e-2 top-2 shrink-0",
|
|
34319
34319
|
children: "Pro"
|
|
34320
34320
|
}),
|
|
34321
34321
|
/* @__PURE__ */ E("div", {
|
|
@@ -34728,7 +34728,7 @@ var ZK = ({ children: e }) => /* @__PURE__ */ D("div", {
|
|
|
34728
34728
|
className: "h-full w-full overflow-auto outline-hidden",
|
|
34729
34729
|
children: a
|
|
34730
34730
|
}), t && /* @__PURE__ */ E("div", {
|
|
34731
|
-
className: "absolute
|
|
34731
|
+
className: "absolute inset-e-4 top-4 z-20",
|
|
34732
34732
|
children: /* @__PURE__ */ E(KK, {
|
|
34733
34733
|
asChild: !0,
|
|
34734
34734
|
children: /* @__PURE__ */ E(XK, {})
|
|
@@ -34923,7 +34923,7 @@ var aq = {
|
|
|
34923
34923
|
})]
|
|
34924
34924
|
}, t))
|
|
34925
34925
|
}), /* @__PURE__ */ E("div", {
|
|
34926
|
-
className: "component-400 text-content-secondary min-h-
|
|
34926
|
+
className: "component-400 text-content-secondary min-h-lh",
|
|
34927
34927
|
children: i
|
|
34928
34928
|
})]
|
|
34929
34929
|
}),
|
|
@@ -34966,7 +34966,7 @@ var aq = {
|
|
|
34966
34966
|
}, e.label))
|
|
34967
34967
|
})]
|
|
34968
34968
|
}), /* @__PURE__ */ E("div", {
|
|
34969
|
-
className: "component-400 text-content-secondary min-h-
|
|
34969
|
+
className: "component-400 text-content-secondary min-h-lh",
|
|
34970
34970
|
children: i
|
|
34971
34971
|
})]
|
|
34972
34972
|
}),
|
|
@@ -35978,7 +35978,7 @@ var jJ = {
|
|
|
35978
35978
|
className: V("relative", s),
|
|
35979
35979
|
children: [
|
|
35980
35980
|
a && /* @__PURE__ */ E("div", {
|
|
35981
|
-
className: V("pointer-events-none absolute inset-y-0
|
|
35981
|
+
className: V("pointer-events-none absolute inset-y-0 inset-s-0 flex items-center ps-3", c.disabled && "opacity-50"),
|
|
35982
35982
|
children: /* @__PURE__ */ E(a, {
|
|
35983
35983
|
className: "h-5 w-5 text-neutral-600",
|
|
35984
35984
|
"aria-hidden": "true"
|
|
@@ -36002,7 +36002,7 @@ var jJ = {
|
|
|
36002
36002
|
])
|
|
36003
36003
|
}),
|
|
36004
36004
|
!!c.value && o && /* @__PURE__ */ E("div", {
|
|
36005
|
-
className: V("absolute inset-y-0
|
|
36005
|
+
className: V("absolute inset-y-0 inset-e-0 flex items-center", e ? "pe-10" : "pe-3"),
|
|
36006
36006
|
children: /* @__PURE__ */ E("button", {
|
|
36007
36007
|
type: "button",
|
|
36008
36008
|
className: V("rounded-full p-0.5", "disabled:cursor-not-allowed disabled:opacity-50"),
|
|
@@ -36015,7 +36015,7 @@ var jJ = {
|
|
|
36015
36015
|
})
|
|
36016
36016
|
}),
|
|
36017
36017
|
e && /* @__PURE__ */ E("div", {
|
|
36018
|
-
className: V("pointer-events-none absolute inset-y-0
|
|
36018
|
+
className: V("pointer-events-none absolute inset-y-0 inset-e-0 flex items-center", jJ[i]),
|
|
36019
36019
|
children: /* @__PURE__ */ E(de, {
|
|
36020
36020
|
className: V("h-5 w-5", e ? "text-content-negative" : "text-neutral-600"),
|
|
36021
36021
|
"aria-hidden": "true"
|
|
@@ -36198,7 +36198,7 @@ var NJ = (e) => !e || e.length !== 7 ? !1 : Gq(e).isValid(), PJ = (e) => `#${e}`
|
|
|
36198
36198
|
className: "rounded-none! border-transparent! bg-transparent! shadow-none! ring-0! focus-visible:border-transparent! focus-visible:ring-0!"
|
|
36199
36199
|
}), k && /* @__PURE__ */ D("div", {
|
|
36200
36200
|
className: "relative flex shrink-0 items-center self-stretch",
|
|
36201
|
-
children: [/* @__PURE__ */ E("div", { className: "absolute
|
|
36201
|
+
children: [/* @__PURE__ */ E("div", { className: "absolute inset-s-0 top-[3px] bottom-[3px] w-px bg-current opacity-20" }), /* @__PURE__ */ E("select", {
|
|
36202
36202
|
value: M,
|
|
36203
36203
|
onChange: (e) => N(e.currentTarget.value),
|
|
36204
36204
|
disabled: w.disabled,
|
|
@@ -36514,12 +36514,12 @@ var nY = l(({ label: e, labelTestId: t, subtitle: n, isHidden: r, defaultIsHidde
|
|
|
36514
36514
|
active: me,
|
|
36515
36515
|
inactive: pe
|
|
36516
36516
|
},
|
|
36517
|
-
className: "absolute
|
|
36517
|
+
className: "absolute inset-e-12 top-1/2 -translate-y-1/2"
|
|
36518
36518
|
}),
|
|
36519
36519
|
/* @__PURE__ */ E("span", {
|
|
36520
36520
|
...u,
|
|
36521
36521
|
tabIndex: -1,
|
|
36522
|
-
className: H("group cursor-move outline-hidden", "absolute
|
|
36522
|
+
className: H("group cursor-move outline-hidden", "absolute inset-e-0 top-0 bottom-0", "ps-3 pe-5", "flex items-center justify-center", "text-content-primary", { invisible: !u || d?.disabled }, u?.className),
|
|
36523
36523
|
children: /* @__PURE__ */ E(ce, { className: "icon-size-400" })
|
|
36524
36524
|
})
|
|
36525
36525
|
]
|
|
@@ -36682,7 +36682,7 @@ var dY = ({ left: e, top: t, width: n, height: r, rotation: i, users: a, ...o })
|
|
|
36682
36682
|
draggable: !1,
|
|
36683
36683
|
...o,
|
|
36684
36684
|
children: a && /* @__PURE__ */ E("div", {
|
|
36685
|
-
className: "absolute
|
|
36685
|
+
className: "absolute inset-e-0 top-[-22px] m-[-2px] inline-flex text-xs leading-normal whitespace-nowrap",
|
|
36686
36686
|
children: a.map((e, t) => {
|
|
36687
36687
|
let n = t === a.length - 1;
|
|
36688
36688
|
return /* @__PURE__ */ E(uY, {
|
|
@@ -36711,10 +36711,10 @@ var dY = ({ left: e, top: t, width: n, height: r, rotation: i, users: a, ...o })
|
|
|
36711
36711
|
className: "border-accent-alpha-500 pointer-events-none absolute inset-0 border",
|
|
36712
36712
|
children: [
|
|
36713
36713
|
/* @__PURE__ */ E(fY, {}),
|
|
36714
|
-
/* @__PURE__ */ E("div", { className: "border-content-accent absolute top-[-4px] left-[-4px]
|
|
36715
|
-
/* @__PURE__ */ E("div", { className: "border-content-accent absolute top-[-4px] right-[-4px]
|
|
36716
|
-
/* @__PURE__ */ E("div", { className: "border-content-accent absolute bottom-[-4px] left-[-4px]
|
|
36717
|
-
/* @__PURE__ */ E("div", { className: "border-content-accent absolute right-[-4px] bottom-[-4px]
|
|
36714
|
+
/* @__PURE__ */ E("div", { className: "border-content-accent icon-size-300 absolute top-[-4px] left-[-4px] border-t-4 border-l-4" }),
|
|
36715
|
+
/* @__PURE__ */ E("div", { className: "border-content-accent icon-size-300 absolute top-[-4px] right-[-4px] border-t-4 border-r-4" }),
|
|
36716
|
+
/* @__PURE__ */ E("div", { className: "border-content-accent icon-size-300 absolute bottom-[-4px] left-[-4px] border-b-4 border-l-4" }),
|
|
36717
|
+
/* @__PURE__ */ E("div", { className: "border-content-accent icon-size-300 absolute right-[-4px] bottom-[-4px] border-r-4 border-b-4" }),
|
|
36718
36718
|
/* @__PURE__ */ E("div", { className: "bg-content-accent absolute top-[-4px] left-1/2 h-1 w-[18px] -translate-x-1/2" }),
|
|
36719
36719
|
/* @__PURE__ */ E("div", { className: "bg-content-accent absolute bottom-[-4px] left-1/2 h-1 w-[18px] -translate-x-1/2" }),
|
|
36720
36720
|
/* @__PURE__ */ E("div", { className: "bg-content-accent absolute top-1/2 left-[-4px] h-[18px] w-1 -translate-y-1/2" }),
|
|
@@ -46472,7 +46472,7 @@ var Wde = /* @__PURE__ */ function(e) {
|
|
|
46472
46472
|
default: V("[&>.moveable-control]:border-content-accent! [&>.moveable-control]:border-2! [&>.moveable-control]:bg-white!", "[&>.moveable-control:hover]:bg-content-accent! [&>.moveable-control:hover]:text-content-white-primary!", "[&>.moveable-control:focus-visible]:bg-content-accent! [&>.moveable-control:focus-visible]:text-content-white-primary!", "[&>.moveable-control:active]:bg-content-accent! [&>.moveable-control:active]:text-content-white-primary!", "[&>.moveable-e]:rounded-300! [&>.moveable-e]:h-5! [&>.moveable-e]:w-2!", "[&>.moveable-w]:rounded-300! [&>.moveable-w]:h-5! [&>.moveable-w]:w-2!", "[&>.moveable-n]:rounded-300! [&>.moveable-n]:h-2! [&>.moveable-n]:w-5!", "[&>.moveable-s]:rounded-300! [&>.moveable-s]:h-2! [&>.moveable-s]:w-5!", "[&>.moveable-e]:top-[-3px]! [&>.moveable-e]:left-0.5!", "[&>.moveable-w]:top-[-3px]! [&>.moveable-w]:left-1!", "[&>.moveable-n]:top-1! [&>.moveable-n]:left-[-3px]!", "[&>.moveable-s]:top-0.5! [&>.moveable-s]:left-[-3px]!"),
|
|
46473
46473
|
layerBox: O,
|
|
46474
46474
|
cropBox: k
|
|
46475
|
-
}[o], j = V("[&>.moveable-nw]
|
|
46475
|
+
}[o], j = V("[&>.moveable-nw]:mt-[-4px]! [&>.moveable-nw]:ml-[-4px]!", "[&>.moveable-ne]:mt-[-4px]! [&>.moveable-ne]:ml-[-6px]!", "[&>.moveable-sw]:mt-[-6px]! [&>.moveable-sw]:ml-[-4px]!", "[&>.moveable-se]:mt-[-6px]! [&>.moveable-se]:ml-[-6px]!"), M = {
|
|
46476
46476
|
default: V("[&>.moveable-ne]:top-px! [&>.moveable-ne]:-left-px!", "[&>.moveable-nw]:top-px! [&>.moveable-nw]:left-px!", "[&>.moveable-se]:-top-px! [&>.moveable-se]:-left-px!", "[&>.moveable-sw]:-top-px! [&>.moveable-sw]:left-px!"),
|
|
46477
46477
|
layerBox: j,
|
|
46478
46478
|
cropBox: void 0
|
|
@@ -46488,7 +46488,7 @@ var Wde = /* @__PURE__ */ function(e) {
|
|
|
46488
46488
|
origin: !1,
|
|
46489
46489
|
transformOrigin: "center",
|
|
46490
46490
|
target: e,
|
|
46491
|
-
className: V("
|
|
46491
|
+
className: V("z-10!", N, v || y ? "[&>.moveable-line:not(.moveable-edge)]:h-px!" : "[&>.moveable-line]:h-0.5!", (v || y) && "moveable-edge-hover-band", "[&>.moveable-line[data-line-key=render-line-0]]:top-px!", "[&>.moveable-line[data-line-key=render-line-1]]:-left-px!", "[&>.moveable-line[data-line-key=render-line-2]]:-top-px!", "[&>.moveable-line[data-line-key=render-line-3]]:left-px!", A, M),
|
|
46492
46492
|
scalable: !y,
|
|
46493
46493
|
resizable: y,
|
|
46494
46494
|
checkResizableError: y ? !1 : void 0,
|
|
@@ -46782,7 +46782,7 @@ function ofe({ children: e, icon: t, visible: n = !0, className: r }) {
|
|
|
46782
46782
|
opacity: 0,
|
|
46783
46783
|
transition: { duration: .15 }
|
|
46784
46784
|
},
|
|
46785
|
-
className: H("pointer-events-none flex w-fit max-w-[400px] items-center", "bg-black-alpha-7 rounded-full px-4 py-[14px] backdrop-blur-
|
|
46785
|
+
className: H("pointer-events-none flex w-fit max-w-[400px] items-center", "bg-black-alpha-7 rounded-full px-4 py-[14px] backdrop-blur-xs", t && "gap-2", r),
|
|
46786
46786
|
children: [t && /* @__PURE__ */ E(t, { className: "text-content-white-primary size-[18px] shrink-0" }), /* @__PURE__ */ E("span", {
|
|
46787
46787
|
className: "component-500 text-content-white-primary min-w-0 flex-1",
|
|
46788
46788
|
children: e
|
|
@@ -46884,7 +46884,7 @@ var ufe = typeof window < "u" ? y : h, dfe = function(e) {
|
|
|
46884
46884
|
dfe(function() {
|
|
46885
46885
|
e();
|
|
46886
46886
|
});
|
|
46887
|
-
}, pfe = d(() => import("./react-textarea-autosize.browser.esm-
|
|
46887
|
+
}, pfe = d(() => import("./react-textarea-autosize.browser.esm-BQmGXYSn.mjs")), U4 = l(({ className: e, ...t }, n) => /* @__PURE__ */ E(a, {
|
|
46888
46888
|
fallback: null,
|
|
46889
46889
|
children: /* @__PURE__ */ E(pfe, {
|
|
46890
46890
|
ref: n,
|
|
@@ -47736,8 +47736,8 @@ var v3 = ({ indeterminate: e, defaultIndeterminate: t, onIndeterminateChange: n,
|
|
|
47736
47736
|
className: "pointer-events-none relative h-0.5 w-2.5 rounded-[2px] bg-white"
|
|
47737
47737
|
}) : /* @__PURE__ */ E(lce, {
|
|
47738
47738
|
"aria-hidden": "true",
|
|
47739
|
-
className: V("shadow-500 pointer-events-none absolute inline-block rounded-full ring-0", d ? "
|
|
47740
|
-
"group-radix-state-checked/switch:translate-x-[10px] group-radix-state-checked/switch:rtl
|
|
47739
|
+
className: V("shadow-500 pointer-events-none absolute inline-block rounded-full ring-0", d ? "inset-s-px h-3.5 w-3.5" : "inset-s-[2px] h-4 w-4", u ? "bg-content-white-primary-inverted" : "bg-white", "transition-transform duration-200 ease-in-out", {
|
|
47740
|
+
"group-radix-state-checked/switch:translate-x-[10px] group-radix-state-checked/switch:rtl:translate-x-[-10px]": d,
|
|
47741
47741
|
"group-radix-state-checked/switch:translate-x-3 group-radix-state-checked/switch:rtl:-translate-x-3": !d
|
|
47742
47742
|
})
|
|
47743
47743
|
})]
|
|
@@ -47802,7 +47802,7 @@ var Afe = U([
|
|
|
47802
47802
|
"outline-hidden transition-all",
|
|
47803
47803
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring",
|
|
47804
47804
|
"focus-visible:border-content-accent focus-visible:bg-background-accent-subdued",
|
|
47805
|
-
"aspect-
|
|
47805
|
+
"aspect-4/3"
|
|
47806
47806
|
], {
|
|
47807
47807
|
variants: {
|
|
47808
47808
|
dragging: {
|
|
@@ -47892,7 +47892,7 @@ var Afe = U([
|
|
|
47892
47892
|
loading: "lazy",
|
|
47893
47893
|
onLoad: m,
|
|
47894
47894
|
onError: h,
|
|
47895
|
-
className: V("bg-damier-checker bg-damier-large h-full w-full
|
|
47895
|
+
className: V("bg-damier-checker bg-damier-large h-full w-full bg-top-left! object-cover transition-opacity", f === "loaded" ? "opacity-100" : "opacity-0")
|
|
47896
47896
|
})
|
|
47897
47897
|
}),
|
|
47898
47898
|
!j && /* @__PURE__ */ D("div", {
|
|
@@ -47982,7 +47982,7 @@ var C3 = .5, w3 = 2, Nfe = 80, Pfe = 80, T3 = l(({ src: e, alt: t, width: n = Pf
|
|
|
47982
47982
|
onLoad: i ? v : void 0
|
|
47983
47983
|
}), !c && /* @__PURE__ */ E("div", { className: "rounded-400 interaction-transition group-hover:bg-misc-visual-hover group-active:bg-misc-visual-down absolute inset-0 transition-colors" })]
|
|
47984
47984
|
}), w && /* @__PURE__ */ E("div", {
|
|
47985
|
-
className: "absolute
|
|
47985
|
+
className: "absolute inset-e-1 top-1 opacity-0 transition-opacity group-focus-within:opacity-100 group-hover:opacity-100 focus-within:opacity-100",
|
|
47986
47986
|
children: /* @__PURE__ */ E(Yo, {
|
|
47987
47987
|
content: d,
|
|
47988
47988
|
side: "top",
|
|
@@ -48017,7 +48017,7 @@ var E3 = l(({ title: e, description: t, actionLabel: n, placeholder: r, inputPro
|
|
|
48017
48017
|
}),
|
|
48018
48018
|
s && /* @__PURE__ */ E("button", {
|
|
48019
48019
|
type: "button",
|
|
48020
|
-
className: "bg-background-subdued text-content-tertiary hover:text-content-primary absolute
|
|
48020
|
+
className: "bg-background-subdued text-content-tertiary hover:text-content-primary absolute inset-e-2 top-2 flex size-6 shrink-0 items-center justify-center rounded-full",
|
|
48021
48021
|
onClick: s,
|
|
48022
48022
|
"aria-label": c,
|
|
48023
48023
|
children: /* @__PURE__ */ E(R, { className: "icon-size-300" })
|
|
@@ -48154,7 +48154,7 @@ A3.displayName = "DropdownMenuMultipleSelectionItem";
|
|
|
48154
48154
|
//#region src/components/input/OptionGroup/OptionGroupItem/OptionGroupItem.tsx
|
|
48155
48155
|
var Ife = U([
|
|
48156
48156
|
"group",
|
|
48157
|
-
"rounded-500 focus-within:ring-misc-focus-indicator focus-within:misc-border-size-focus-ring p-
|
|
48157
|
+
"rounded-500 focus-within:ring-misc-focus-indicator focus-within:misc-border-size-focus-ring p-px transition-all duration-150 ease-out focus-within:outline-hidden focus-visible:outline-hidden",
|
|
48158
48158
|
"radix-state-unchecked:bg-misc-border-box",
|
|
48159
48159
|
"hover:radix-state-unchecked:bg-misc-border-box-hover",
|
|
48160
48160
|
"active:radix-state-unchecked:bg-misc-border-box-down"
|
|
@@ -48187,7 +48187,7 @@ var Ife = U([
|
|
|
48187
48187
|
disabled: s,
|
|
48188
48188
|
...c,
|
|
48189
48189
|
children: /* @__PURE__ */ D("div", {
|
|
48190
|
-
className: V("rounded-450 w-full p-
|
|
48190
|
+
className: V("rounded-450 w-full p-px transition-all duration-150 ease-out", "group-radix-state-checked:bg-transparent", "group-radix-state-unchecked:bg-surface-higher"),
|
|
48191
48191
|
children: [/* @__PURE__ */ D("div", {
|
|
48192
48192
|
className: V("bg-surface-higher flex w-full items-center gap-2 p-4 transition-all duration-150 ease-out", a ? "rounded-t-400" : "rounded-400"),
|
|
48193
48193
|
children: [
|
|
@@ -48218,7 +48218,7 @@ var Ife = U([
|
|
|
48218
48218
|
})
|
|
48219
48219
|
]
|
|
48220
48220
|
}), a && /* @__PURE__ */ E("div", {
|
|
48221
|
-
className: V("component-400 rounded-b-400 bg-content-tertiary
|
|
48221
|
+
className: V("component-400 rounded-b-400 bg-content-tertiary mx-[-2px] mb-[-2px] px-4 py-1.5 text-white transition duration-150 ease-out", "group-radix-state-checked:bg-transparent"),
|
|
48222
48222
|
children: a
|
|
48223
48223
|
})]
|
|
48224
48224
|
})
|
|
@@ -48372,7 +48372,7 @@ var Lfe = ({ title: e, overline: t, isSkeleton: n, visual: r, className: i, chil
|
|
|
48372
48372
|
value: t,
|
|
48373
48373
|
checked: n
|
|
48374
48374
|
}), r && /* @__PURE__ */ E("div", {
|
|
48375
|
-
className: "absolute
|
|
48375
|
+
className: "absolute inset-e-1.5 top-1.5",
|
|
48376
48376
|
children: r
|
|
48377
48377
|
})]
|
|
48378
48378
|
}), /* @__PURE__ */ E("span", {
|
|
@@ -48397,7 +48397,7 @@ var Bfe = ({ title: e, className: t, children: n, onClick: r }) => {
|
|
|
48397
48397
|
className: H("pointer-events-none w-full", n.props.className)
|
|
48398
48398
|
}) : null, [n]);
|
|
48399
48399
|
return /* @__PURE__ */ E("div", {
|
|
48400
|
-
className: H("flex h-full w-full cursor-pointer", "rounded-400 border-content-accent bg-background-accent-subdued border p-3", "transition-all duration-150 ease-out", "hover:border-content-accent hover:bg-background-accent-subdued-hover", "active:border-content-accent active:bg-background-accent-subdued-down", "focus-visible:ring-misc-focus-indicator focus:
|
|
48400
|
+
className: H("flex h-full w-full cursor-pointer", "rounded-400 border-content-accent bg-background-accent-subdued border p-3", "transition-all duration-150 ease-out", "hover:border-content-accent hover:bg-background-accent-subdued-hover", "active:border-content-accent active:bg-background-accent-subdued-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus:outline-hidden", t),
|
|
48401
48401
|
onClick: r,
|
|
48402
48402
|
onKeyDown: (e) => {
|
|
48403
48403
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), r?.());
|
|
@@ -48411,7 +48411,7 @@ var Bfe = ({ title: e, className: t, children: n, onClick: r }) => {
|
|
|
48411
48411
|
className: "rounded-200 border-accent-alpha-500 flex flex-1 items-center justify-center border border-dashed",
|
|
48412
48412
|
"aria-hidden": "true",
|
|
48413
48413
|
children: /* @__PURE__ */ E(Ne, {
|
|
48414
|
-
className: "text-content-accent h-
|
|
48414
|
+
className: "text-content-accent size-h-600 size-w-600",
|
|
48415
48415
|
"aria-hidden": "true"
|
|
48416
48416
|
})
|
|
48417
48417
|
}), /* @__PURE__ */ D("div", {
|
|
@@ -48474,7 +48474,7 @@ var Hfe = ({ reaction: e, selected: t = !1, onClick: n }) => /* @__PURE__ */ E("
|
|
|
48474
48474
|
children: e
|
|
48475
48475
|
})
|
|
48476
48476
|
}), Ufe = ({ onSelectReaction: e, reactions: t, className: n, ...r }) => /* @__PURE__ */ E("div", {
|
|
48477
|
-
className: H("bg-surface-higher shadow-700 flex w-fit
|
|
48477
|
+
className: H("bg-surface-higher shadow-700 rounded-600 flex w-fit p-1", n),
|
|
48478
48478
|
...r,
|
|
48479
48479
|
children: t.map((t) => /* @__PURE__ */ E(Hfe, {
|
|
48480
48480
|
reaction: t,
|
|
@@ -49791,7 +49791,7 @@ var Y6 = l(({ className: e, placeholder: t, search: n, onOpenChange: r, children
|
|
|
49791
49791
|
className: u,
|
|
49792
49792
|
side: f,
|
|
49793
49793
|
children: /* @__PURE__ */ D(cq, {
|
|
49794
|
-
className: V("w-
|
|
49794
|
+
className: V("w-radix-select-trigger p-0!", "h-max max-h-[min(524px,var(--radix-select-content-available-height))]", "border-misc-border border"),
|
|
49795
49795
|
style: { minHeight: l },
|
|
49796
49796
|
children: [
|
|
49797
49797
|
o && /* @__PURE__ */ E("div", {
|
|
@@ -50621,7 +50621,7 @@ var xme = U(["group rounded-500 border-misc-border bg-surface-high text-500 text
|
|
|
50621
50621
|
])
|
|
50622
50622
|
}),
|
|
50623
50623
|
u && /* @__PURE__ */ E("div", {
|
|
50624
|
-
className: "absolute inset-y-0
|
|
50624
|
+
className: "absolute inset-y-0 inset-e-3 top-2.5 h-fit w-fit",
|
|
50625
50625
|
children: /* @__PURE__ */ E("button", {
|
|
50626
50626
|
type: "button",
|
|
50627
50627
|
"aria-label": "Clear all tags",
|
|
@@ -50718,7 +50718,7 @@ var Sme = U(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral
|
|
|
50718
50718
|
children: t
|
|
50719
50719
|
}),
|
|
50720
50720
|
a && /* @__PURE__ */ E("div", {
|
|
50721
|
-
className: "relative inset-y-0
|
|
50721
|
+
className: "relative inset-y-0 inset-e-0 flex h-5 items-center",
|
|
50722
50722
|
children: /* @__PURE__ */ E("button", {
|
|
50723
50723
|
type: "button",
|
|
50724
50724
|
disabled: r,
|
|
@@ -50760,7 +50760,7 @@ var Sme = U(["min-h-full min-w-full p-1.5 py-2", "duration-200 active:bg-neutral
|
|
|
50760
50760
|
}), k8 = l(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ D("div", {
|
|
50761
50761
|
ref: r,
|
|
50762
50762
|
...n,
|
|
50763
|
-
className: V("relative flex items-center justify-between", "rounded-500 p-2.5 pe-3", "cursor-pointer outline-hidden", "hover:bg-background-subdued-hover active:bg-background-subdued-down", "focus-
|
|
50763
|
+
className: V("relative flex items-center justify-between", "rounded-500 p-2.5 pe-3", "cursor-pointer outline-hidden", "hover:bg-background-subdued-hover active:bg-background-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),
|
|
50764
50764
|
children: [e, /* @__PURE__ */ E(ne, { className: "text-content-tertiary icon-size-500 shrink-0" })]
|
|
50765
50765
|
}));
|
|
50766
50766
|
k8.displayName = "FontFamilyRow";
|
|
@@ -50787,7 +50787,7 @@ var Dme = ({ label: e, description: t, avatar: n, trailingElement: r, className:
|
|
|
50787
50787
|
})]
|
|
50788
50788
|
})]
|
|
50789
50789
|
}), !!r && /* @__PURE__ */ E("div", {
|
|
50790
|
-
className: "
|
|
50790
|
+
className: "size-h-500 flex shrink-0 items-center gap-x-1",
|
|
50791
50791
|
children: r
|
|
50792
50792
|
})]
|
|
50793
50793
|
});
|
|
@@ -51199,7 +51199,7 @@ var $me = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i,
|
|
|
51199
51199
|
})]
|
|
51200
51200
|
}), /* @__PURE__ */ D("div", {
|
|
51201
51201
|
className: V({
|
|
51202
|
-
"bg-background-subdued flex max-w-[220px] flex-col overflow-hidden
|
|
51202
|
+
"bg-background-subdued rounded-600 flex max-w-[220px] flex-col overflow-hidden px-3 pt-2 pb-[10px]": e === "message",
|
|
51203
51203
|
"group-hover:bg-background-subdued-hover group-active:bg-background-subdued-down": e === "message" && l
|
|
51204
51204
|
}),
|
|
51205
51205
|
children: [/* @__PURE__ */ D("div", {
|
|
@@ -51228,7 +51228,7 @@ var $me = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i,
|
|
|
51228
51228
|
"after:rounded-150 after:absolute after:right-0 after:bottom-0 after:h-[90%] after:w-1/2 after:origin-bottom-right after:rotate-[5deg] after:bg-neutral-400 after:content-['']": c
|
|
51229
51229
|
}),
|
|
51230
51230
|
children: /* @__PURE__ */ E("div", {
|
|
51231
|
-
className: "after:border-misc-border after:misc-border-size-hairline relative after:pointer-events-none after:absolute after:inset-0 after:z-10 after:
|
|
51231
|
+
className: "after:border-misc-border after:misc-border-size-hairline after:rounded-150 relative after:pointer-events-none after:absolute after:inset-0 after:z-10 after:content-['']",
|
|
51232
51232
|
children: /* @__PURE__ */ E("img", {
|
|
51233
51233
|
onError: () => f(!0),
|
|
51234
51234
|
className: "rounded-150 relative z-1 block max-h-[60px] w-12 object-cover",
|
|
@@ -51254,7 +51254,7 @@ var $me = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i,
|
|
|
51254
51254
|
/* @__PURE__ */ D("div", {
|
|
51255
51255
|
className: "relative w-fit",
|
|
51256
51256
|
children: [/* @__PURE__ */ D("div", {
|
|
51257
|
-
className: V("flex flex-col gap-1 overflow-hidden
|
|
51257
|
+
className: V("rounded-600 flex flex-col gap-1 overflow-hidden px-3 pt-2 pb-[10px] text-ellipsis transition-colors", {
|
|
51258
51258
|
"animate-spotlight-fade-subdued bg-background-spotlight": s,
|
|
51259
51259
|
"bg-background-subdued": !s,
|
|
51260
51260
|
"group-hover:bg-background-subdued-hover": o
|
|
@@ -51269,11 +51269,11 @@ var $me = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i,
|
|
|
51269
51269
|
children: n
|
|
51270
51270
|
})]
|
|
51271
51271
|
}), /* @__PURE__ */ E("p", {
|
|
51272
|
-
className: V("text-content-subdued-primary min-w-0 overflow-hidden break-
|
|
51272
|
+
className: V("text-content-subdued-primary min-w-0 overflow-hidden wrap-break-word whitespace-pre-wrap", c ? "component-900" : "component-500"),
|
|
51273
51273
|
children: t
|
|
51274
51274
|
})]
|
|
51275
51275
|
}), !!o && /* @__PURE__ */ E("div", {
|
|
51276
|
-
className: "pointer-events-none absolute
|
|
51276
|
+
className: "pointer-events-none absolute inset-e-[-8px] top-[-8px] z-20 opacity-0 transition-opacity group-hover:pointer-events-auto group-hover:opacity-100",
|
|
51277
51277
|
children: o
|
|
51278
51278
|
})]
|
|
51279
51279
|
}),
|
|
@@ -51312,7 +51312,7 @@ var $me = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i,
|
|
|
51312
51312
|
})]
|
|
51313
51313
|
})]
|
|
51314
51314
|
}), !o && /* @__PURE__ */ E("div", {
|
|
51315
|
-
className: "after:border-misc-border after:misc-border-size-hairline relative shrink-0 after:pointer-events-none after:absolute after:inset-0 after:z-10 after:
|
|
51315
|
+
className: "after:border-misc-border after:misc-border-size-hairline after:rounded-150 relative shrink-0 after:pointer-events-none after:absolute after:inset-0 after:z-10 after:content-['']",
|
|
51316
51316
|
children: /* @__PURE__ */ E("img", {
|
|
51317
51317
|
onError: () => s(!0),
|
|
51318
51318
|
className: "rounded-150 relative z-1 block max-h-[60px] w-12 object-cover",
|
|
@@ -51364,8 +51364,8 @@ var $me = ({ variant: e, accountType: t, title: n, description: r, thumbnail: i,
|
|
|
51364
51364
|
12: "h-3 w-3 text-[6px]",
|
|
51365
51365
|
16: "h-4 w-4 text-[8px]",
|
|
51366
51366
|
20: "h-5 w-5 text-[8px]",
|
|
51367
|
-
24: "h-6 w-6
|
|
51368
|
-
32: "h-8 w-8
|
|
51367
|
+
24: "text-300 h-6 w-6",
|
|
51368
|
+
32: "text-500 h-8 w-8",
|
|
51369
51369
|
40: "h-10 w-10 text-[16px]",
|
|
51370
51370
|
80: "h-20 w-20 text-[32px]"
|
|
51371
51371
|
} } }), che = ({ count: e, size: t = 32, className: n }) => /* @__PURE__ */ E("div", {
|
|
@@ -51609,7 +51609,7 @@ var b5 = t.forwardRef((e, t) => {
|
|
|
51609
51609
|
children: t
|
|
51610
51610
|
}),
|
|
51611
51611
|
!!n && /* @__PURE__ */ E("span", {
|
|
51612
|
-
className: "absolute
|
|
51612
|
+
className: "absolute inset-e-[5px] top-[5px] flex select-none",
|
|
51613
51613
|
role: "presentation",
|
|
51614
51614
|
children: n
|
|
51615
51615
|
})
|
|
@@ -51836,7 +51836,7 @@ var k5 = {
|
|
|
51836
51836
|
}, t),
|
|
51837
51837
|
children: [
|
|
51838
51838
|
n === "scroll" && /* @__PURE__ */ E("div", {
|
|
51839
|
-
className: V("absolute inset-y-0
|
|
51839
|
+
className: V("absolute inset-y-0 inset-s-0 z-2", "flex w-20 items-center justify-start", "bg-linear-to-r from-50% to-transparent rtl:bg-linear-to-l", k5[r], "transition-opacity duration-200", "pointer-events-none", { "opacity-0": !o }),
|
|
51840
51840
|
children: /* @__PURE__ */ E(Ar, {
|
|
51841
51841
|
icon: j,
|
|
51842
51842
|
onClick: () => a.current?.scrollBy({
|
|
@@ -51859,7 +51859,7 @@ var k5 = {
|
|
|
51859
51859
|
children: e
|
|
51860
51860
|
}),
|
|
51861
51861
|
n === "scroll" && /* @__PURE__ */ E("div", {
|
|
51862
|
-
className: V("absolute inset-y-0
|
|
51862
|
+
className: V("absolute inset-y-0 inset-e-0 z-2", "flex w-20 items-center justify-end", "bg-linear-to-l from-50% to-transparent rtl:bg-linear-to-r", k5[r], "transition-opacity duration-200", "pointer-events-none", { "opacity-0": !c }),
|
|
51863
51863
|
children: /* @__PURE__ */ E(Ar, {
|
|
51864
51864
|
icon: M,
|
|
51865
51865
|
onClick: () => a.current?.scrollBy({
|
|
@@ -51952,7 +51952,7 @@ var P5 = {
|
|
|
51952
51952
|
className: H("relative -m-1", t),
|
|
51953
51953
|
children: [
|
|
51954
51954
|
/* @__PURE__ */ E("div", {
|
|
51955
|
-
className: V("absolute inset-y-0
|
|
51955
|
+
className: V("absolute inset-y-0 inset-s-0 z-2", "flex w-20 items-center justify-start", "bg-linear-to-r from-50% to-transparent rtl:bg-linear-to-l", P5[r], "transition-opacity duration-200", "pointer-events-none", { "opacity-0": !s }),
|
|
51956
51956
|
children: /* @__PURE__ */ E(Ar, {
|
|
51957
51957
|
icon: j,
|
|
51958
51958
|
"aria-label": "Scroll left",
|
|
@@ -51973,7 +51973,7 @@ var P5 = {
|
|
|
51973
51973
|
children: e
|
|
51974
51974
|
}),
|
|
51975
51975
|
/* @__PURE__ */ E("div", {
|
|
51976
|
-
className: V("absolute inset-y-0
|
|
51976
|
+
className: V("absolute inset-y-0 inset-e-0 z-2", "flex w-20 items-center justify-end", "bg-linear-to-l from-50% to-transparent rtl:bg-linear-to-r", P5[r], "transition-opacity duration-200", "pointer-events-none", { "opacity-0": !l }),
|
|
51977
51977
|
children: /* @__PURE__ */ E(Ar, {
|
|
51978
51978
|
icon: M,
|
|
51979
51979
|
"aria-label": "Scroll right",
|
|
@@ -52025,7 +52025,7 @@ var L5 = l(({ size: e = "default", label: t, showProBadge: n, icon: r, className
|
|
|
52025
52025
|
}),
|
|
52026
52026
|
n && /* @__PURE__ */ E(sc, {
|
|
52027
52027
|
size: "small",
|
|
52028
|
-
className: "absolute
|
|
52028
|
+
className: "absolute inset-e-2 top-2"
|
|
52029
52029
|
})
|
|
52030
52030
|
]
|
|
52031
52031
|
}));
|
|
@@ -52063,7 +52063,7 @@ R5.displayName = "ChoiceGroup";
|
|
|
52063
52063
|
//#region src/components/onboarding/ChoiceGroup/ChoiceTile.tsx
|
|
52064
52064
|
var z5 = ({ label: e, imageSrc: t, className: n, children: r, ...i }) => /* @__PURE__ */ D("label", {
|
|
52065
52065
|
...i,
|
|
52066
|
-
className: H("relative cursor-pointer select-none", "flex w-max flex-col", "rounded-500 misc-border-size-selection outline-hidden", "
|
|
52066
|
+
className: H("relative cursor-pointer 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),
|
|
52067
52067
|
children: [r, /* @__PURE__ */ D("span", {
|
|
52068
52068
|
className: "flex grow flex-col text-start",
|
|
52069
52069
|
children: [/* @__PURE__ */ E("figure", {
|
|
@@ -52083,7 +52083,7 @@ var z5 = ({ label: e, imageSrc: t, className: n, children: r, ...i }) => /* @__P
|
|
|
52083
52083
|
})]
|
|
52084
52084
|
}), B5 = l(({ multiSelect: e }, t) => /* @__PURE__ */ E("span", {
|
|
52085
52085
|
ref: t,
|
|
52086
|
-
className: V("absolute
|
|
52086
|
+
className: V("absolute inset-s-2 top-2 z-20 size-400", "inline-flex items-center justify-center", "shadow-500 rounded-full bg-white outline-hidden", {
|
|
52087
52087
|
"group-radix-state-unchecked:opacity-0": !e,
|
|
52088
52088
|
"group-radix-state-checked:opacity-100": !e,
|
|
52089
52089
|
"transition-opacity duration-150 ease-out": !e
|
|
@@ -52126,7 +52126,7 @@ var Ehe = U([
|
|
|
52126
52126
|
"inline-flex flex-row items-center gap-2",
|
|
52127
52127
|
"w-full px-4 py-3",
|
|
52128
52128
|
"rounded-500 border outline-hidden",
|
|
52129
|
-
"
|
|
52129
|
+
"has-focus-visible:ring-misc-focus-indicator has-focus-visible:misc-border-size-focus-ring",
|
|
52130
52130
|
"transition-all"
|
|
52131
52131
|
], {
|
|
52132
52132
|
variants: {
|
|
@@ -52142,11 +52142,11 @@ var Ehe = U([
|
|
|
52142
52142
|
compoundVariants: [{
|
|
52143
52143
|
variant: "filled",
|
|
52144
52144
|
selected: !1,
|
|
52145
|
-
class: "has-active:bg-background-subdued-down hover:bg-background-subdued-hover
|
|
52145
|
+
class: "has-active:bg-background-subdued-down hover:bg-background-subdued-hover has-focus-visible:bg-background-subdued-hover"
|
|
52146
52146
|
}, {
|
|
52147
52147
|
variant: "outlined",
|
|
52148
52148
|
selected: !1,
|
|
52149
|
-
class: "has-active:border-content-secondary hover:border-content-tertiary
|
|
52149
|
+
class: "has-active:border-content-secondary hover:border-content-tertiary has-focus-visible:border-content-tertiary"
|
|
52150
52150
|
}],
|
|
52151
52151
|
defaultVariants: {
|
|
52152
52152
|
variant: "filled",
|
|
@@ -52162,7 +52162,7 @@ var Ehe = U([
|
|
|
52162
52162
|
className: "flex grow flex-col text-start",
|
|
52163
52163
|
children: [/* @__PURE__ */ D("span", {
|
|
52164
52164
|
className: "component-500 text-content-primary flex items-center gap-2",
|
|
52165
|
-
children: [t && /* @__PURE__ */ E(t, { className: "size-
|
|
52165
|
+
children: [t && /* @__PURE__ */ E(t, { className: "size-350" }), e]
|
|
52166
52166
|
}), !!n && /* @__PURE__ */ E("span", {
|
|
52167
52167
|
className: "component-400 text-content-secondary truncate",
|
|
52168
52168
|
children: n
|
|
@@ -54298,9 +54298,9 @@ var i9 = {
|
|
|
54298
54298
|
asChild: !0,
|
|
54299
54299
|
children: r
|
|
54300
54300
|
}), /* @__PURE__ */ D(i9.Portal, { children: [/* @__PURE__ */ E(i9.Overlay, { className: H("bg-black-alpha-6 fixed inset-0", e) }), /* @__PURE__ */ E(i9.Content, {
|
|
54301
|
-
className: H("fixed inset-x-0 bottom-0
|
|
54301
|
+
className: H("rounded-t-600 fixed inset-x-0 bottom-0 bg-white outline-hidden", t),
|
|
54302
54302
|
children: /* @__PURE__ */ D("div", {
|
|
54303
|
-
className: "rounded-t-
|
|
54303
|
+
className: "rounded-t-600 bg-white",
|
|
54304
54304
|
children: [i && /* @__PURE__ */ E("div", {
|
|
54305
54305
|
className: "pt-4 pb-8",
|
|
54306
54306
|
children: /* @__PURE__ */ E("div", { className: "mx-auto h-1.5 w-12 shrink-0 rounded-full bg-neutral-300" })
|
|
@@ -54471,7 +54471,7 @@ var i9 = {
|
|
|
54471
54471
|
ref: u,
|
|
54472
54472
|
disabled: a,
|
|
54473
54473
|
type: "number",
|
|
54474
|
-
className: V("component-500 border-misc-border-box bg-surface-default text-content-primary h-10 w-10 border-0 border-y p-0 text-center focus:ring-0", "focus-visible:border-content-accent focus-visible:border focus-visible:outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:rounded-
|
|
54474
|
+
className: V("component-500 border-misc-border-box bg-surface-default text-content-primary h-10 w-10 border-0 border-y p-0 text-center focus:ring-0", "focus-visible:border-content-accent focus-visible:border focus-visible:outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:rounded-150", "group-hover:not-focus-visible:border-misc-border-box-hover", "group-focus-visible:not-focus-visible:border-misc-border-box-hover", "group-disabled:opacity-30"),
|
|
54475
54475
|
value: f,
|
|
54476
54476
|
onFocus: F,
|
|
54477
54477
|
onChange: P,
|
|
@@ -54805,7 +54805,7 @@ var r_e = ({ title: e, date: t, className: n }) => /* @__PURE__ */ D("div", {
|
|
|
54805
54805
|
children: /* @__PURE__ */ E("div", {
|
|
54806
54806
|
className: "flex items-center justify-center",
|
|
54807
54807
|
children: /* @__PURE__ */ D("div", {
|
|
54808
|
-
className: "sm:max-w-mdlg flex w-full max-w-xs flex-wrap items-center justify-center gap-x-12 gap-y-6 lg:max-w-
|
|
54808
|
+
className: "sm:max-w-mdlg flex w-full max-w-xs flex-wrap items-center justify-center gap-x-12 gap-y-6 lg:max-w-180",
|
|
54809
54809
|
children: [
|
|
54810
54810
|
/* @__PURE__ */ E("div", {
|
|
54811
54811
|
className: "order-1",
|
|
@@ -54884,7 +54884,7 @@ var r_e = ({ title: e, date: t, className: n }) => /* @__PURE__ */ D("div", {
|
|
|
54884
54884
|
...a,
|
|
54885
54885
|
className: H("relative overflow-hidden", "flex flex-col lg:pb-[148px]", "bg-sand-50 rounded-500", i),
|
|
54886
54886
|
children: [/* @__PURE__ */ E("div", {
|
|
54887
|
-
className: V("relative", "aspect-
|
|
54887
|
+
className: V("relative", "aspect-4/3 w-full lg:aspect-auto lg:h-[300px]", "[&_img]:size-full [&_img]:object-cover lg:[&_img]:object-top-left"),
|
|
54888
54888
|
children: e
|
|
54889
54889
|
}), /* @__PURE__ */ D("div", {
|
|
54890
54890
|
className: V("lg:absolute lg:inset-x-0 lg:bottom-0", "flex flex-1 flex-col justify-between gap-6 lg:flex-row lg:items-end", "p-6 lg:p-8", "bg-sand-50"),
|
|
@@ -55144,9 +55144,9 @@ var p_e = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ D("div", {
|
|
|
55144
55144
|
className: "gap-i500 flex flex-col",
|
|
55145
55145
|
children: [/* @__PURE__ */ E("div", {
|
|
55146
55146
|
ref: d,
|
|
55147
|
-
className: V("[--viewport-content:1200px]", "[--side-padding-raw:calc(50%-var(--viewport-content)/2)]", "[--side-padding:max(var(--side-padding-raw),16px)]", "sm:[--side-padding:max(var(--side-padding-raw),24px)]", "md:[--side-padding:max(var(--side-padding-raw),32px)]", "xl:[--side-padding:max(var(--side-padding-raw),40px)]", "snap-x snap-mandatory scroll-p-
|
|
55147
|
+
className: V("[--viewport-content:1200px]", "[--side-padding-raw:calc(50%-var(--viewport-content)/2)]", "[--side-padding:max(var(--side-padding-raw),16px)]", "sm:[--side-padding:max(var(--side-padding-raw),24px)]", "md:[--side-padding:max(var(--side-padding-raw),32px)]", "xl:[--side-padding:max(var(--side-padding-raw),40px)]", "snap-x snap-mandatory scroll-p-(--side-padding) overflow-x-scroll", "scrollbar-none scroll-smooth"),
|
|
55148
55148
|
children: !!t && /* @__PURE__ */ E("div", {
|
|
55149
|
-
className: V("mx-auto grid w-fit grid-flow-col gap-6", "px-
|
|
55149
|
+
className: V("mx-auto grid w-fit grid-flow-col gap-6", "px-(--side-padding) py-[3px]"),
|
|
55150
55150
|
children: t.map((e, t) => /* @__PURE__ */ E("div", {
|
|
55151
55151
|
className: V("flex snap-start", {
|
|
55152
55152
|
"w-[240px] sm:w-[282px]": r === "default",
|
|
@@ -55289,7 +55289,7 @@ var p_e = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ D("div", {
|
|
|
55289
55289
|
"max-w-sm sm:max-w-lg"
|
|
55290
55290
|
], { variants: { wide: {
|
|
55291
55291
|
true: "lg:max-w-[1200px]",
|
|
55292
|
-
false: "lg:max-w-
|
|
55292
|
+
false: "lg:max-w-268"
|
|
55293
55293
|
} } }), A_e = U("mx-auto grid grid-cols-1 gap-4", { variants: { invertOrder: {
|
|
55294
55294
|
true: "lg:-order-1 lg:pr-16",
|
|
55295
55295
|
false: "lg:pl-16"
|
|
@@ -55420,7 +55420,7 @@ var p_e = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ D("div", {
|
|
|
55420
55420
|
children: /* @__PURE__ */ D("div", {
|
|
55421
55421
|
className: "flex w-full flex-col gap-4 sm:gap-6 sm:@[592px]:flex-row sm:@[592px]:items-start sm:@[592px]:gap-6",
|
|
55422
55422
|
children: [/* @__PURE__ */ E("div", {
|
|
55423
|
-
className: "rounded-500 relative aspect-
|
|
55423
|
+
className: "rounded-500 relative aspect-3/2 w-full shrink-0 overflow-hidden sm:@[592px]:flex-1 sm:@[592px]:basis-0 [&_img]:static [&_img]:size-full [&_img]:object-cover",
|
|
55424
55424
|
children: e
|
|
55425
55425
|
}), /* @__PURE__ */ D("div", {
|
|
55426
55426
|
className: "flex w-full flex-col items-start gap-6 sm:@[592px]:flex-1 sm:@[592px]:basis-0 sm:@[592px]:justify-center",
|
|
@@ -55534,10 +55534,10 @@ function H_e({ title: e, className: t, children: n, ...r }) {
|
|
|
55534
55534
|
children: [/* @__PURE__ */ E("span", {
|
|
55535
55535
|
className: "component-600 text-content-primary",
|
|
55536
55536
|
children: e
|
|
55537
|
-
}), /* @__PURE__ */ E(te, { className: "text-content-secondary icon-size-400 interaction-transition transition-transform group-has-
|
|
55537
|
+
}), /* @__PURE__ */ E(te, { className: "text-content-secondary icon-size-400 interaction-transition transition-transform group-has-checked:rotate-90 sm:hidden" })]
|
|
55538
55538
|
}),
|
|
55539
55539
|
/* @__PURE__ */ E("div", {
|
|
55540
|
-
className: "interaction-transition h-0 overflow-hidden opacity-0 transition-all peer-checked:h-max peer-checked:opacity-100 sm
|
|
55540
|
+
className: "interaction-transition h-0 overflow-hidden opacity-0 transition-all peer-checked:h-max peer-checked:opacity-100 sm:h-auto! sm:opacity-100! sm:transition-none",
|
|
55541
55541
|
children: /* @__PURE__ */ E("div", {
|
|
55542
55542
|
className: "flex flex-col gap-4 pt-6",
|
|
55543
55543
|
children: n
|
|
@@ -55763,7 +55763,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55763
55763
|
children: /* @__PURE__ */ E("div", {
|
|
55764
55764
|
className: V("mx-auto -mb-6 w-full max-w-[1800px] [&>*+*]:mt-2", "columns-2 gap-x-2 sm:columns-4 md:columns-5 lg:columns-6", "[&>:nth-child(n+7)]:hidden", "sm:[&>:nth-child(n+7)]:block sm:[&>:nth-child(n+7):nth-child(n+13)]:hidden", "md:[&>:nth-child(n+7):nth-child(n+13)]:block md:[&>:nth-child(n+7):nth-child(n+16)]:hidden", "lg:[&>:nth-child(n+7):nth-child(n+16)]:block"),
|
|
55765
55765
|
children: t?.slice(0, 18).map((e, t) => /* @__PURE__ */ E("figure", {
|
|
55766
|
-
className: "rounded-500 relative aspect-
|
|
55766
|
+
className: "rounded-500 relative aspect-3/4 break-inside-avoid-column overflow-hidden nth-[6n]:aspect-square nth-[6n+1]:aspect-square",
|
|
55767
55767
|
children: e
|
|
55768
55768
|
}, t.toString()))
|
|
55769
55769
|
})
|
|
@@ -55778,7 +55778,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55778
55778
|
children: [!!t?.length && /* @__PURE__ */ E("div", {
|
|
55779
55779
|
className: "grid grid-cols-2 gap-4 sm:grid-cols-4 lg:gap-6",
|
|
55780
55780
|
children: t.slice(0, 4).map((e, t) => /* @__PURE__ */ E("div", {
|
|
55781
|
-
className: "rounded-500 relative aspect-
|
|
55781
|
+
className: "rounded-500 relative aspect-3/4 overflow-hidden",
|
|
55782
55782
|
children: e
|
|
55783
55783
|
}, u(e) ? e.key ?? t : t))
|
|
55784
55784
|
}), n && /* @__PURE__ */ E("div", {
|
|
@@ -55865,7 +55865,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55865
55865
|
}), /* @__PURE__ */ E("div", {
|
|
55866
55866
|
className: "flex flex-wrap justify-center gap-2 lg:gap-4 xl:gap-8",
|
|
55867
55867
|
children: t.map((e, t) => /* @__PURE__ */ E("figure", {
|
|
55868
|
-
className: "relative aspect-
|
|
55868
|
+
className: "relative aspect-video w-[calc((100%-1rem)/3)] sm:w-[calc((100%-2rem)/5)] lg:w-[calc((100%-5rem)/6)] xl:w-[calc((100%-10rem)/6)]",
|
|
55869
55869
|
children: e
|
|
55870
55870
|
}, t.toString()))
|
|
55871
55871
|
})]
|
|
@@ -56752,12 +56752,12 @@ var Mve = Object.assign(R9, {
|
|
|
56752
56752
|
children: /* @__PURE__ */ D("div", {
|
|
56753
56753
|
className: "mx-auto flex max-w-[1200px] flex-col justify-center gap-8",
|
|
56754
56754
|
children: [/* @__PURE__ */ E("div", {
|
|
56755
|
-
className: V("text-900 font-500 leading-500
|
|
56755
|
+
className: V("text-900 font-500 leading-500 tracking-[-0.058px]", "sm:text-1100 sm:tracking-[-0.357px]", "lg:text-1300 lg:tracking-[-1.05px]"),
|
|
56756
56756
|
children: e
|
|
56757
56757
|
}), /* @__PURE__ */ D("div", {
|
|
56758
56758
|
className: "flex flex-row items-center gap-4 sm:gap-6",
|
|
56759
56759
|
children: [!!t && /* @__PURE__ */ E("div", {
|
|
56760
|
-
className: V("relative", "w-16 sm:w-20", "aspect-
|
|
56760
|
+
className: V("relative", "w-16 sm:w-20", "aspect-square overflow-hidden rounded-full"),
|
|
56761
56761
|
children: t
|
|
56762
56762
|
}), /* @__PURE__ */ D("div", {
|
|
56763
56763
|
className: "flex flex-col gap-1",
|
|
@@ -56859,7 +56859,7 @@ var Mve = Object.assign(R9, {
|
|
|
56859
56859
|
className: "w-full max-w-[760px] text-balance",
|
|
56860
56860
|
children: n
|
|
56861
56861
|
}), !!a && /* @__PURE__ */ E("div", {
|
|
56862
|
-
className: "hidden h-
|
|
56862
|
+
className: "hidden h-lh items-center lg:inline-flex",
|
|
56863
56863
|
children: a
|
|
56864
56864
|
})]
|
|
56865
56865
|
})]
|