@photoroom/ui 0.1.543 → 0.1.545
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 +64 -62
- package/components/action/PullDownButton/utils.d.ts.map +1 -1
- package/components/editor/Pill/PillButton.d.ts.map +1 -1
- package/index.css +1 -1
- package/index.mjs +81 -81
- package/package.json +1 -1
- package/theme.css +25 -223
package/index.mjs
CHANGED
|
@@ -6910,7 +6910,7 @@ var sd = W("focus-visible:misc-border-size-focus-ring relative inline-flex w-fit
|
|
|
6910
6910
|
secondary: "bg-background-subdued text-content-primary hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover focus-visible:ring-misc-focus-indicator active:bg-background-subdued-down",
|
|
6911
6911
|
borderless: "text-content-primary hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover focus-visible:ring-misc-focus-indicator active:bg-background-borderless-subdued-down",
|
|
6912
6912
|
"secondary-outline": "border-misc-border misc-border-size-default text-content-primary hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover focus-visible:ring-misc-focus-indicator active:bg-background-borderless-subdued-down bg-transparent",
|
|
6913
|
-
negative: "bg-negative-alpha-
|
|
6913
|
+
negative: "bg-negative-alpha-100 text-content-negative hover:bg-negative-alpha-200 focus-visible:bg-negative-alpha-200 focus-visible:ring-misc-focus-indicator active:bg-negative-alpha-300",
|
|
6914
6914
|
pro: "bg-content-accent! bg-background-pro hover:bg-background-pro-hover focus-visible:ring-misc-focus-indicator focus-visible:bg-background-pro-hover active:bg-background-pro-down text-white",
|
|
6915
6915
|
flash: "bg-background-flash hover:bg-background-flash-hover focus-visible:bg-background-flash-hover focus-visible:ring-misc-focus-indicator active:bg-background-flash-down text-content-black-primary",
|
|
6916
6916
|
"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",
|
|
@@ -6949,49 +6949,49 @@ var sd = W("focus-visible:misc-border-size-focus-ring relative inline-flex w-fit
|
|
|
6949
6949
|
size: "medium",
|
|
6950
6950
|
density: "compact",
|
|
6951
6951
|
icon: !1,
|
|
6952
|
-
class: "
|
|
6952
|
+
class: "size-h-400 px-3.25"
|
|
6953
6953
|
},
|
|
6954
6954
|
{
|
|
6955
6955
|
size: "medium",
|
|
6956
6956
|
density: "regular",
|
|
6957
6957
|
icon: !1,
|
|
6958
|
-
class: "
|
|
6958
|
+
class: "size-h-500 px-4"
|
|
6959
6959
|
},
|
|
6960
6960
|
{
|
|
6961
6961
|
size: "medium",
|
|
6962
6962
|
density: "spacious",
|
|
6963
6963
|
icon: !1,
|
|
6964
|
-
class: "
|
|
6964
|
+
class: "size-h-600 px-4.75"
|
|
6965
6965
|
},
|
|
6966
6966
|
{
|
|
6967
6967
|
size: "large",
|
|
6968
6968
|
density: "spacious",
|
|
6969
6969
|
icon: !1,
|
|
6970
|
-
class: "
|
|
6970
|
+
class: "size-h-700 px-5.5"
|
|
6971
6971
|
},
|
|
6972
6972
|
{
|
|
6973
6973
|
size: "medium",
|
|
6974
6974
|
density: "compact",
|
|
6975
6975
|
icon: !0,
|
|
6976
|
-
class: "
|
|
6976
|
+
class: "size-h-400 ps-2.75 pe-3.25"
|
|
6977
6977
|
},
|
|
6978
6978
|
{
|
|
6979
6979
|
size: "medium",
|
|
6980
6980
|
density: "regular",
|
|
6981
6981
|
icon: !0,
|
|
6982
|
-
class: "
|
|
6982
|
+
class: "size-h-500 ps-3.5 pe-4"
|
|
6983
6983
|
},
|
|
6984
6984
|
{
|
|
6985
6985
|
size: "medium",
|
|
6986
6986
|
density: "spacious",
|
|
6987
6987
|
icon: !0,
|
|
6988
|
-
class: "
|
|
6988
|
+
class: "size-h-600 ps-4.25 pe-4.75"
|
|
6989
6989
|
},
|
|
6990
6990
|
{
|
|
6991
6991
|
size: "large",
|
|
6992
6992
|
density: "spacious",
|
|
6993
6993
|
icon: !0,
|
|
6994
|
-
class: "
|
|
6994
|
+
class: "size-h-700 ps-4.75 pe-5.5"
|
|
6995
6995
|
}
|
|
6996
6996
|
]
|
|
6997
6997
|
}), Hre = W("flex items-center justify-center", {
|
|
@@ -7031,8 +7031,8 @@ var sd = W("focus-visible:misc-border-size-focus-ring relative inline-flex w-fit
|
|
|
7031
7031
|
class: "component-600"
|
|
7032
7032
|
}]
|
|
7033
7033
|
}), Ure = {
|
|
7034
|
-
medium: "
|
|
7035
|
-
large: "
|
|
7034
|
+
medium: "ms-2",
|
|
7035
|
+
large: "ms-2.5"
|
|
7036
7036
|
}, fd = (({ as: t = "button", type: n, className: r, loading: i = !1, variant: a = "accent", size: o = "medium", density: s = "spacious", stacked: c, children: l, icon: u, ref: d, ...f }) => {
|
|
7037
7037
|
let p = Bre({
|
|
7038
7038
|
icon: u,
|
|
@@ -7152,7 +7152,7 @@ var Wre = ({ open: e, onClose: t, closeLabel: n, text: r, inlineAction: i, child
|
|
|
7152
7152
|
}) }), md = (({ as: e = "button", icon: t, label: n, className: r, ref: i, ...a }) => /* @__PURE__ */ L(e, {
|
|
7153
7153
|
ref: i,
|
|
7154
7154
|
...a,
|
|
7155
|
-
className: H("inline-flex items-center justify-center gap-1.5", "
|
|
7155
|
+
className: H("inline-flex items-center justify-center gap-1.5", "size-h-500 shrink-0 ps-2.5 pe-3", "rounded-500 border-misc-border misc-border-size-default", "bg-background-default hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "component-500 text-content-white-primary-inverted", "interaction-transition transition-colors", r),
|
|
7156
7156
|
children: [/* @__PURE__ */ I(t, { className: "icon-size-400" }), n]
|
|
7157
7157
|
}));
|
|
7158
7158
|
md.displayName = "AppButton";
|
|
@@ -11027,7 +11027,7 @@ var _h = Jm, vh = Qm, yh = eh, bh = ih, xh = oh, Sh = uh, Ch = /* @__PURE__ */ x
|
|
|
11027
11027
|
}), t && /* @__PURE__ */ I(g, { children: /* @__PURE__ */ L(xh, {
|
|
11028
11028
|
side: o,
|
|
11029
11029
|
sideOffset: l,
|
|
11030
|
-
className: U("component-400 rounded-250 bg-background-tooltip z-50 px-1.5 pt-[5px] pb-1.5 [word-break:break-word] text-white", "max-w-[100vw]", "[&_strong]:component-400 [&_strong]:bg-white-alpha-
|
|
11030
|
+
className: U("component-400 rounded-250 bg-background-tooltip z-50 px-1.5 pt-[5px] pb-1.5 [word-break:break-word] text-white", "max-w-[100vw]", "[&_strong]:component-400 [&_strong]:bg-white-alpha-300 [&_strong]:rounded-[2px] [&_strong]:px-[2px]", "[&_b]:component-400 [&_b]:bg-white-alpha-300 [&_b]:rounded-[2px] [&_b]:px-[2px]", "[&_a]:underline", o === "bottom" && "animate-tooltip-slide-down", o === "top" && "animate-tooltip-slide-up", o === "left" && "animate-tooltip-slide-left", o === "right" && "animate-tooltip-slide-right", r),
|
|
11031
11031
|
id: f,
|
|
11032
11032
|
...d,
|
|
11033
11033
|
children: [t, /* @__PURE__ */ I(Sh, {
|
|
@@ -11311,8 +11311,8 @@ var Zh = (({ as: t = "button", type: n = "button", className: r, variant: a = "a
|
|
|
11311
11311
|
...d,
|
|
11312
11312
|
disabled: s || d.disabled,
|
|
11313
11313
|
className: U("relative shrink-0 appearance-none overflow-hidden", "flex items-center justify-center gap-[7px]", "rounded-500", "focus-visible:misc-border-size-focus-ring focus-visible:outline-hidden", "interaction-transition transition-colors", {
|
|
11314
|
-
"
|
|
11315
|
-
"
|
|
11314
|
+
"size-h-600 ps-4.75 pe-3.75": o === "medium",
|
|
11315
|
+
"size-h-700 ps-5.5 pe-[18px]": o === "large",
|
|
11316
11316
|
"bg-background-accent hover:bg-background-accent-hover focus-visible:bg-background-accent-hover active:bg-background-accent-down": a === "accent",
|
|
11317
11317
|
"bg-background-default hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down": a === "primary",
|
|
11318
11318
|
"bg-background-white hover:bg-background-white-hover focus-visible:bg-background-white-hover active:bg-background-white-down": a === "on-dark",
|
|
@@ -11388,7 +11388,7 @@ var tg = W("inline-flex items-center justify-center", {
|
|
|
11388
11388
|
large: "component-semi-strong-500 rounded-300 size-h-300 gap-1 py-[3px]"
|
|
11389
11389
|
},
|
|
11390
11390
|
variant: {
|
|
11391
|
-
default: "bg-black-alpha-
|
|
11391
|
+
default: "bg-black-alpha-700 text-white",
|
|
11392
11392
|
accent: "bg-accent-400 text-white",
|
|
11393
11393
|
pro: "border-misc-border text-accent-500 shadow-400 misc-border-size-hairline bg-background-inverted",
|
|
11394
11394
|
"pro-alt": "bg-background-pro text-white",
|
|
@@ -11412,34 +11412,34 @@ var tg = W("inline-flex items-center justify-center", {
|
|
|
11412
11412
|
size: "small",
|
|
11413
11413
|
icon: !0,
|
|
11414
11414
|
iconOnly: !1,
|
|
11415
|
-
class: "
|
|
11415
|
+
class: "p-1 pe-1.25"
|
|
11416
11416
|
},
|
|
11417
11417
|
{
|
|
11418
11418
|
size: "small",
|
|
11419
11419
|
icon: !1,
|
|
11420
|
-
class: "
|
|
11420
|
+
class: "px-1.25"
|
|
11421
11421
|
},
|
|
11422
11422
|
{
|
|
11423
11423
|
size: "medium",
|
|
11424
11424
|
icon: !0,
|
|
11425
11425
|
iconOnly: !1,
|
|
11426
|
-
class: "
|
|
11426
|
+
class: "p-[5px] pe-1.5"
|
|
11427
11427
|
},
|
|
11428
11428
|
{
|
|
11429
11429
|
size: "medium",
|
|
11430
11430
|
icon: !1,
|
|
11431
|
-
class: "
|
|
11431
|
+
class: "px-1.5"
|
|
11432
11432
|
},
|
|
11433
11433
|
{
|
|
11434
11434
|
size: "large",
|
|
11435
11435
|
icon: !0,
|
|
11436
11436
|
iconOnly: !1,
|
|
11437
|
-
class: "
|
|
11437
|
+
class: "p-[5px] pe-1.75"
|
|
11438
11438
|
},
|
|
11439
11439
|
{
|
|
11440
11440
|
size: "large",
|
|
11441
11441
|
icon: !1,
|
|
11442
|
-
class: "
|
|
11442
|
+
class: "px-1.75"
|
|
11443
11443
|
},
|
|
11444
11444
|
{
|
|
11445
11445
|
iconOnly: !0,
|
|
@@ -12198,7 +12198,7 @@ var qg = /* @__PURE__ */ function(e) {
|
|
|
12198
12198
|
className: H("justify-self-center", r && "invisible"),
|
|
12199
12199
|
children: c
|
|
12200
12200
|
}), /* @__PURE__ */ I("span", {
|
|
12201
|
-
className: "
|
|
12201
|
+
className: "justify-self-center py-3.75",
|
|
12202
12202
|
children: r ? /* @__PURE__ */ I(e, { className: H("icon-size-500", n === qg.Google ? "text-white" : "text-content-accent") }) : t
|
|
12203
12203
|
})] }) : /* @__PURE__ */ I(me, { children: r ? /* @__PURE__ */ I(e, { className: H("icon-size-500", n === qg.Google ? "text-white" : "text-content-accent") }) : /* @__PURE__ */ I("span", {
|
|
12204
12204
|
className: r ? "invisible" : "",
|
|
@@ -12359,7 +12359,7 @@ var a_ = ({ isSelected: e, ref: t, ...n }) => /* @__PURE__ */ I(r_, {
|
|
|
12359
12359
|
a_.displayName = "OverlaySelectButton";
|
|
12360
12360
|
//#endregion
|
|
12361
12361
|
//#region src/components/action/PullDownButton/utils.ts
|
|
12362
|
-
var o_ = W("
|
|
12362
|
+
var o_ = W("flex h-10 items-center justify-center px-4", { variants: { withLabel: {
|
|
12363
12363
|
true: "size-h-600",
|
|
12364
12364
|
false: "size-h-500"
|
|
12365
12365
|
} } }), s_ = W("component-300 overflow-hidden text-start text-ellipsis whitespace-nowrap", { variants: { variant: {
|
|
@@ -12389,7 +12389,7 @@ var o_ = W("content-to-edge-px-650 flex h-10 items-center justify-center", { var
|
|
|
12389
12389
|
}) : i;
|
|
12390
12390
|
}, d_ = (({ as: e = "button", variant: t = "accent", className: n, children: r, label: i, badge: a, ref: o, ...s }) => /* @__PURE__ */ L(e, {
|
|
12391
12391
|
ref: o,
|
|
12392
|
-
className: td(H("
|
|
12392
|
+
className: td(H("flex max-w-full items-center justify-center px-4", sd({
|
|
12393
12393
|
variant: t,
|
|
12394
12394
|
loading: !1
|
|
12395
12395
|
}), o_({ withLabel: !!i }), n)),
|
|
@@ -12408,7 +12408,7 @@ var o_ = W("content-to-edge-px-650 flex h-10 items-center justify-center", { var
|
|
|
12408
12408
|
children: i ?? r
|
|
12409
12409
|
})]
|
|
12410
12410
|
}), /* @__PURE__ */ I(d, {
|
|
12411
|
-
className: "
|
|
12411
|
+
className: "icon-size-400 ms-1",
|
|
12412
12412
|
"aria-hidden": !0
|
|
12413
12413
|
})]
|
|
12414
12414
|
}));
|
|
@@ -12441,7 +12441,7 @@ var f_ = ({ title: e, imageSrc: t, imageAlt: n, onClick: r, className: i, varian
|
|
|
12441
12441
|
})]
|
|
12442
12442
|
}), p_ = ({ className: e, ref: t, ...n }) => /* @__PURE__ */ I("button", {
|
|
12443
12443
|
ref: t,
|
|
12444
|
-
className: U("inline-flex items-center justify-center", "h-12 w-12", "shadow-500 rounded-full", "bg-black-alpha-
|
|
12444
|
+
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:cursor-not-allowed disabled:opacity-30", e),
|
|
12445
12445
|
...n,
|
|
12446
12446
|
children: /* @__PURE__ */ I(ie, {
|
|
12447
12447
|
className: "h-5 w-5",
|
|
@@ -31209,7 +31209,7 @@ var XH = (({ as: e, icon: t, title: n, description: r, href: i, className: a, di
|
|
|
31209
31209
|
className: "body-500 text-content-secondary line-clamp-2",
|
|
31210
31210
|
children: r
|
|
31211
31211
|
})]
|
|
31212
|
-
})] }), d = H("rounded-500
|
|
31212
|
+
})] }), d = H("rounded-500 flex items-start gap-4 px-4 py-4", "border-misc-border bg-surface-higher border transition-colors duration-150 ease-in-out", "overflow-hidden text-start", "cursor-pointer", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", "hover:border-misc-border-hover", "active:border-misc-border-down", "focus-visible:border-misc-border-hover", "h-auto w-full grow", { "pointer-events-none cursor-not-allowed opacity-50": o }, a), f = e || (i ? "a" : "button"), p = {
|
|
31213
31213
|
className: d,
|
|
31214
31214
|
onClick: s
|
|
31215
31215
|
};
|
|
@@ -31522,7 +31522,7 @@ var wU = 175, TU = typeof window < "u" ? Me : De, EU = ({ label: e, isSelected:
|
|
|
31522
31522
|
}), /* @__PURE__ */ I("hr", { className: H("h-px flex-1 border-none", t ? "bg-background-accent" : "bg-misc-border group-hover:bg-misc-border-emphasized") })]
|
|
31523
31523
|
});
|
|
31524
31524
|
}, DU = ({ label: e, className: t }) => /* @__PURE__ */ I("kbd", {
|
|
31525
|
-
className: U("
|
|
31525
|
+
className: U("inline-block shrink-0 px-1.75", "rounded-300 bg-background-subdued", "component-400 font-brand text-content-secondary leading-6 uppercase", "text-center whitespace-nowrap", t),
|
|
31526
31526
|
children: e
|
|
31527
31527
|
}), OU = ({ labels: e, onRename: t, onMoveUp: n, onMoveDown: r, onDownloadAsZip: i, onDelete: a, isMoveUpDisabled: o, isMoveDownDisabled: s, isDownloadAsZipDisabled: c, formatShortcut: l }) => /* @__PURE__ */ L(me, { children: [
|
|
31528
31528
|
/* @__PURE__ */ I(eH.Item, {
|
|
@@ -31882,7 +31882,7 @@ var QU = ({ selection: e, reserveSelection: t, productLabel: n, imagesLabel: r,
|
|
|
31882
31882
|
onImageLoad: o,
|
|
31883
31883
|
children: i
|
|
31884
31884
|
}), n && /* @__PURE__ */ I("div", {
|
|
31885
|
-
className: "bg-black-alpha-
|
|
31885
|
+
className: "bg-black-alpha-300 pointer-events-none absolute inset-0 flex items-center justify-center",
|
|
31886
31886
|
children: /* @__PURE__ */ I(eW, { variant: "on-dark" })
|
|
31887
31887
|
})]
|
|
31888
31888
|
});
|
|
@@ -32233,7 +32233,7 @@ var cW = /* @__PURE__ */ xt((() => {
|
|
|
32233
32233
|
]
|
|
32234
32234
|
});
|
|
32235
32235
|
}, dW = ({ children: e, className: t }) => /* @__PURE__ */ I("div", {
|
|
32236
|
-
className: U("rounded-200 bg-white-alpha-
|
|
32236
|
+
className: U("rounded-200 bg-white-alpha-800 px-2 py-[5px]", "component-semi-strong-500", "text-content-black-primary", t),
|
|
32237
32237
|
children: e
|
|
32238
32238
|
}), fW = ({ visualLarge: e, visualSmall: t, cssBackgroundColor: n, badgeLabel: r, logo: i, authorName: a, authorJobTitle: o, content: s, cta: c, ...l }) => {
|
|
32239
32239
|
let u = Ne(() => c ? ye(c, { variant: "primary" }) : null, [c]);
|
|
@@ -32701,7 +32701,7 @@ var BW = ({ indeterminate: e, defaultIndeterminate: t, onIndeterminateChange: n,
|
|
|
32701
32701
|
}, VW = ({ label: e, description: t, tooltip: n, isTooltipDisabled: r, className: i, inverted: a = !1, indeterminate: o, defaultIndeterminate: s, onIndeterminateChange: c, variant: l, size: u, ...d }) => {
|
|
32702
32702
|
let f = ke(), p = d.id || f;
|
|
32703
32703
|
return /* @__PURE__ */ L("div", {
|
|
32704
|
-
className: H("group
|
|
32704
|
+
className: H("group flex items-start gap-3 py-1.5", a ? "flex-row-reverse" : "flex-row", i),
|
|
32705
32705
|
children: [/* @__PURE__ */ I(BW, {
|
|
32706
32706
|
...d,
|
|
32707
32707
|
id: p,
|
|
@@ -32963,14 +32963,14 @@ var QW = W("rounded-300 component-semi-strong-300 inline-flex h-5 w-fit items-ce
|
|
|
32963
32963
|
imgClassName: a ? "size-full object-cover" : void 0
|
|
32964
32964
|
}),
|
|
32965
32965
|
n != null && /* @__PURE__ */ I("div", {
|
|
32966
|
-
className: "bg-black-alpha-
|
|
32966
|
+
className: "bg-black-alpha-800 pointer-events-none absolute inset-e-1 bottom-1 flex h-5 w-5 items-center justify-center rounded-full",
|
|
32967
32967
|
children: /* @__PURE__ */ I("span", {
|
|
32968
32968
|
className: H("font-600 text-content-white-primary", n > 99 ? "component-300" : "component-400"),
|
|
32969
32969
|
children: n > 99 ? "99+" : n
|
|
32970
32970
|
})
|
|
32971
32971
|
}),
|
|
32972
32972
|
r && /* @__PURE__ */ I("div", {
|
|
32973
|
-
className: "bg-black-alpha-
|
|
32973
|
+
className: "bg-black-alpha-500 pointer-events-none absolute inset-0 flex items-center justify-center",
|
|
32974
32974
|
children: /* @__PURE__ */ I(eW, {
|
|
32975
32975
|
className: "size-500",
|
|
32976
32976
|
variant: "on-dark"
|
|
@@ -33492,7 +33492,7 @@ var WG = /* @__PURE__ */ R.forwardRef(/* @__PURE__ */ vG(function(e, t) {
|
|
|
33492
33492
|
...a,
|
|
33493
33493
|
"aria-labelledby": o,
|
|
33494
33494
|
ref: i,
|
|
33495
|
-
className: H("group relative block appearance-none outline-hidden", "bg-background-subdued overflow-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:content-['']", "hover:after:bg-black-alpha-
|
|
33495
|
+
className: H("group relative block appearance-none outline-hidden", "bg-background-subdued overflow-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:content-['']", "hover:after:bg-black-alpha-200", "active:after:bg-black-alpha-300", "focus-visible:after:bg-black-alpha-200", "after:border", "radix-state-unchecked:after:border-misc-border", "aria-[checked=false]:after:border-misc-border", "radix-state-checked:after:border-content-accent radix-state-checked:after:misc-border-size-selection", "aria-checked:after:border-content-accent aria-checked:after:misc-border-size-selection", "radix-state-checked:after:misc-shadow-selection", "aria-checked:after:misc-shadow-selection", "after:interaction-transition after:transition-colors", {
|
|
33496
33496
|
"rounded-400": e === "default",
|
|
33497
33497
|
"rounded-200": e === "compact"
|
|
33498
33498
|
}, t),
|
|
@@ -33812,7 +33812,7 @@ function TK({ className: t, status: n = "default", nsfwLabel: r, loadingBlur: i,
|
|
|
33812
33812
|
children: n !== "error" && f
|
|
33813
33813
|
}),
|
|
33814
33814
|
n === "loading" && /* @__PURE__ */ I("div", {
|
|
33815
|
-
className: H("bg-black-alpha-
|
|
33815
|
+
className: H("bg-black-alpha-400 text-content-white-primary absolute inset-0 z-5 flex flex-col items-center justify-center gap-2 px-4 text-center", { "backdrop-blur-2xl": i }),
|
|
33816
33816
|
children: a === void 0 ? /* @__PURE__ */ I(e, { className: "size-8 text-white" }) : /* @__PURE__ */ L(me, { children: [/* @__PURE__ */ L("span", {
|
|
33817
33817
|
className: "component-semi-strong-500",
|
|
33818
33818
|
children: [a, "%"]
|
|
@@ -33822,7 +33822,7 @@ function TK({ className: t, status: n = "default", nsfwLabel: r, loadingBlur: i,
|
|
|
33822
33822
|
})] })
|
|
33823
33823
|
}),
|
|
33824
33824
|
n === "error" && /* @__PURE__ */ I("div", {
|
|
33825
|
-
className: "bg-black-alpha-
|
|
33825
|
+
className: "bg-black-alpha-400 text-content-white-primary absolute inset-0 z-5 flex flex-col items-center justify-center text-center",
|
|
33826
33826
|
children: d ? /* @__PURE__ */ I(p_, {
|
|
33827
33827
|
onClick: m,
|
|
33828
33828
|
className: "shadow-none",
|
|
@@ -33833,8 +33833,8 @@ function TK({ className: t, status: n = "default", nsfwLabel: r, loadingBlur: i,
|
|
|
33833
33833
|
className: "component-400 text-content-white-primary absolute inset-0 z-5 flex flex-col items-center justify-center bg-black text-center",
|
|
33834
33834
|
children: r
|
|
33835
33835
|
}),
|
|
33836
|
-
n === "blocked" && /* @__PURE__ */ L(me, { children: [/* @__PURE__ */ I("div", { className: "bg-black-alpha-
|
|
33837
|
-
className: H("absolute inset-x-0 bottom-0 z-5", "flex items-center justify-center gap-1", "px-2 pt-4 pb-2", "to-black-alpha-
|
|
33836
|
+
n === "blocked" && /* @__PURE__ */ L(me, { children: [/* @__PURE__ */ I("div", { className: "bg-black-alpha-700 absolute inset-0 z-4" }), /* @__PURE__ */ L("div", {
|
|
33837
|
+
className: H("absolute inset-x-0 bottom-0 z-5", "flex items-center justify-center gap-1", "px-2 pt-4 pb-2", "to-black-alpha-500 bg-linear-to-b from-transparent", {
|
|
33838
33838
|
"text-content-white-primary": c === "default",
|
|
33839
33839
|
"text-content-negative": c === "urgent"
|
|
33840
33840
|
}),
|
|
@@ -33844,7 +33844,7 @@ function TK({ className: t, status: n = "default", nsfwLabel: r, loadingBlur: i,
|
|
|
33844
33844
|
})]
|
|
33845
33845
|
})] }),
|
|
33846
33846
|
n === "fidelity-check" && /* @__PURE__ */ I("div", {
|
|
33847
|
-
className: "to-black-alpha-
|
|
33847
|
+
className: "to-black-alpha-800 absolute inset-0 z-5 flex flex-col items-center justify-center bg-linear-to-b from-transparent backdrop-blur-xs",
|
|
33848
33848
|
children: /* @__PURE__ */ L("div", {
|
|
33849
33849
|
className: "flex w-full flex-col items-center gap-3 px-3",
|
|
33850
33850
|
children: [/* @__PURE__ */ I("div", {
|
|
@@ -33860,7 +33860,7 @@ function TK({ className: t, status: n = "default", nsfwLabel: r, loadingBlur: i,
|
|
|
33860
33860
|
children: l
|
|
33861
33861
|
})
|
|
33862
33862
|
}), u && /* @__PURE__ */ I("p", {
|
|
33863
|
-
className: "component-light-300 text-white-alpha-
|
|
33863
|
+
className: "component-light-300 text-white-alpha-500 text-center",
|
|
33864
33864
|
children: u
|
|
33865
33865
|
})]
|
|
33866
33866
|
})]
|
|
@@ -34081,7 +34081,7 @@ var PK = W("rounded-400 interaction-transition focus-visible:ring-misc-focus-ind
|
|
|
34081
34081
|
});
|
|
34082
34082
|
}, IK = ({ label: e, onClick: t }) => /* @__PURE__ */ I("button", {
|
|
34083
34083
|
"aria-label": e,
|
|
34084
|
-
className: H("bg-black-alpha-
|
|
34084
|
+
className: H("bg-black-alpha-800 flex h-24 w-24 items-center justify-center rounded-full outline-hidden transition-all", "hover:bg-black", "active:bg-black", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring"),
|
|
34085
34085
|
onClick: t,
|
|
34086
34086
|
children: /* @__PURE__ */ I("svg", {
|
|
34087
34087
|
width: "48",
|
|
@@ -34129,7 +34129,7 @@ var PK = W("rounded-400 interaction-transition focus-visible:ring-misc-focus-ind
|
|
|
34129
34129
|
controls: s && !l,
|
|
34130
34130
|
children: m.map((e) => c ? /* @__PURE__ */ I("source", { "data-src": e }, e) : /* @__PURE__ */ I("source", { src: e }, e))
|
|
34131
34131
|
}), l && /* @__PURE__ */ I("div", {
|
|
34132
|
-
className: "bg-black-alpha-
|
|
34132
|
+
className: "bg-black-alpha-800 absolute inset-0 flex cursor-pointer items-center justify-center",
|
|
34133
34133
|
onClick: p,
|
|
34134
34134
|
children: /* @__PURE__ */ I(IK, {
|
|
34135
34135
|
label: e,
|
|
@@ -34186,15 +34186,15 @@ function HK({ messages: e, totalExpectedDuration: t, generationStartedAt: n, loa
|
|
|
34186
34186
|
return /* @__PURE__ */ I("p", {
|
|
34187
34187
|
className: U("truncate", {
|
|
34188
34188
|
"progress-timer-shimmer text-content-white-primary": n,
|
|
34189
|
-
"text-white-alpha-
|
|
34190
|
-
"text-white-alpha-
|
|
34189
|
+
"text-white-alpha-500": t === g.length - 2,
|
|
34190
|
+
"text-white-alpha-300": t < g.length - 2
|
|
34191
34191
|
}),
|
|
34192
34192
|
children: e
|
|
34193
34193
|
}, `${t}-${e}`);
|
|
34194
34194
|
})
|
|
34195
34195
|
}),
|
|
34196
34196
|
/* @__PURE__ */ I("div", {
|
|
34197
|
-
className: "bg-white-alpha-
|
|
34197
|
+
className: "bg-white-alpha-300 h-1.5 w-full overflow-hidden rounded-full",
|
|
34198
34198
|
children: /* @__PURE__ */ I("div", {
|
|
34199
34199
|
className: "bg-white-1 h-full rounded-full transition-[width] duration-300",
|
|
34200
34200
|
style: { width: `${m * 100}%` }
|
|
@@ -36732,7 +36732,7 @@ var JY = ({ icon: e, label: t, className: n, chevron: r = !1, tooltip: i, ref: a
|
|
|
36732
36732
|
...o,
|
|
36733
36733
|
ref: a,
|
|
36734
36734
|
"aria-label": o["aria-label"] ?? (s ? i : void 0),
|
|
36735
|
-
className: H("group shrink-0 cursor-pointer 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:cursor-not-allowed disabled:opacity-30", "interaction-transition transition-all", s && !r && "size-400", s && r && "size-h-400
|
|
36735
|
+
className: H("group shrink-0 cursor-pointer 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:cursor-not-allowed 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),
|
|
36736
36736
|
children: r ? /* @__PURE__ */ L(me, { children: [/* @__PURE__ */ I("span", {
|
|
36737
36737
|
className: "flex items-center gap-2",
|
|
36738
36738
|
children: u
|
|
@@ -36786,8 +36786,8 @@ var XY = W([
|
|
|
36786
36786
|
},
|
|
36787
36787
|
content: {
|
|
36788
36788
|
icon: "size-400",
|
|
36789
|
-
label: "
|
|
36790
|
-
"icon-label": "
|
|
36789
|
+
label: "size-h-400 px-2.5",
|
|
36790
|
+
"icon-label": "size-h-400 gap-2 ps-2 pe-2.5"
|
|
36791
36791
|
}
|
|
36792
36792
|
},
|
|
36793
36793
|
defaultVariants: {
|
|
@@ -36846,7 +36846,7 @@ var eX = 4e3, tX = ({ backgroundColor: e, displayName: t, initials: n, isLast: r
|
|
|
36846
36846
|
l();
|
|
36847
36847
|
}, [l]), /* @__PURE__ */ I("span", {
|
|
36848
36848
|
ref: a,
|
|
36849
|
-
className: H("ms-[-9px]", "h-5 min-w-5", "
|
|
36849
|
+
className: H("ms-[-9px]", "h-5 min-w-5", "px-1.5", "body-400 text-center whitespace-nowrap text-white", r ? "rounded-300" : "rounded-s-300"),
|
|
36850
36850
|
style: { backgroundColor: e },
|
|
36851
36851
|
children: s
|
|
36852
36852
|
});
|
|
@@ -36897,7 +36897,7 @@ var nX = ({ left: e, top: t, width: n, height: r, rotation: i, users: a, ...o })
|
|
|
36897
36897
|
})
|
|
36898
36898
|
});
|
|
36899
36899
|
}, rX = () => /* @__PURE__ */ I("svg", {
|
|
36900
|
-
className: "text-white-alpha-
|
|
36900
|
+
className: "text-white-alpha-700 pointer-events-none absolute inset-0 size-full",
|
|
36901
36901
|
viewBox: "0 0 100 100",
|
|
36902
36902
|
preserveAspectRatio: "none",
|
|
36903
36903
|
"aria-hidden": "true",
|
|
@@ -46859,7 +46859,7 @@ var h4 = /* @__PURE__ */ new Set(), g4 = ({ label: t, previewUrl: n, previewBitm
|
|
|
46859
46859
|
...f,
|
|
46860
46860
|
"aria-labelledby": p,
|
|
46861
46861
|
ref: d,
|
|
46862
|
-
className: H("relative block appearance-none outline-hidden", "h-full w-full", "rounded-400 bg-background-subdued overflow-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:content-['']", "hover:radix-state-unchecked:after:bg-black-alpha-
|
|
46862
|
+
className: H("relative block appearance-none outline-hidden", "h-full w-full", "rounded-400 bg-background-subdued overflow-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "after:pointer-events-none after:absolute after:inset-0 after:rounded-[inherit] after:content-['']", "hover:radix-state-unchecked:after:bg-black-alpha-200", "active:radix-state-unchecked:after:bg-black-alpha-300", "focus-visible:radix-state-unchecked:after:bg-black-alpha-200", "radix-state-unchecked:after:border-misc-border after:border", "radix-state-checked:after:border-content-accent radix-state-checked:after:misc-border-size-selection", "radix-state-checked:after:misc-shadow-selection", "after:interaction-transition after:transition-colors", l),
|
|
46863
46863
|
children: [/* @__PURE__ */ I("div", {
|
|
46864
46864
|
className: "pointer-events-none relative flex h-full w-full items-center justify-center select-none",
|
|
46865
46865
|
style: { aspectRatio: c },
|
|
@@ -47001,7 +47001,7 @@ var jhe = ({ type: e = "prompt", image: t, icon: n = ee, label: r, ...i }) => {
|
|
|
47001
47001
|
"active:bg-background-borderless-subdued-down",
|
|
47002
47002
|
"focus-visible:bg-surface-high",
|
|
47003
47003
|
"disabled:bg-surface-high"
|
|
47004
|
-
], n ? "
|
|
47004
|
+
], n ? "gap-2 ps-2 pe-2.5" : "px-2.5", r),
|
|
47005
47005
|
...a,
|
|
47006
47006
|
children: [!!n && /* @__PURE__ */ I("span", {
|
|
47007
47007
|
role: "presentation",
|
|
@@ -47030,7 +47030,7 @@ function Mhe({ children: e, icon: t, visible: n = !0, className: r }) {
|
|
|
47030
47030
|
opacity: 0,
|
|
47031
47031
|
transition: { duration: .15 }
|
|
47032
47032
|
},
|
|
47033
|
-
className: U("pointer-events-none flex w-fit max-w-[400px] items-center", "bg-black-alpha-
|
|
47033
|
+
className: U("pointer-events-none flex w-fit max-w-[400px] items-center", "bg-black-alpha-700 rounded-full px-4 py-[14px] backdrop-blur-xs", t && "gap-2", r),
|
|
47034
47034
|
children: [t && /* @__PURE__ */ I(t, { className: "text-content-white-primary size-[18px] shrink-0" }), /* @__PURE__ */ I("span", {
|
|
47035
47035
|
className: "component-500 text-content-white-primary min-w-0 flex-1",
|
|
47036
47036
|
children: e
|
|
@@ -47171,7 +47171,7 @@ x4.displayName = "CanvasInput";
|
|
|
47171
47171
|
var Rhe = ({ label: e, className: t, description: n, tooltip: r, isTooltipDisabled: i, variant: a, ...o }) => {
|
|
47172
47172
|
let s = ke(), c = o.id || s;
|
|
47173
47173
|
return /* @__PURE__ */ L("div", {
|
|
47174
|
-
className: H("
|
|
47174
|
+
className: H("flex items-start gap-3 py-1.5", {
|
|
47175
47175
|
"pointer-events-none opacity-30": o.disabled,
|
|
47176
47176
|
"cursor-pointer": !o.disabled
|
|
47177
47177
|
}, t),
|
|
@@ -48495,10 +48495,10 @@ var b3 = ({ label: e, weight: t, italic: n = !1, selected: r, ref: i, ...a }) =>
|
|
|
48495
48495
|
b3.displayName = "FontWeightSelectorItem";
|
|
48496
48496
|
//#endregion
|
|
48497
48497
|
//#region src/components/input/IconSwitch/IconSwitch.tsx
|
|
48498
|
-
var x3 = "relative z-10 flex h-8 w-10 items-center justify-center text-white-alpha-
|
|
48498
|
+
var x3 = "relative z-10 flex h-8 w-10 items-center justify-center text-white-alpha-700 transition-colors", S3 = "transition-all icon-size-400", C3 = ({ icons: e, label: t, tooltips: n, isTooltipDisabled: r, className: i, ref: a, ...o }) => /* @__PURE__ */ L(mP, {
|
|
48499
48499
|
ref: a,
|
|
48500
48500
|
"aria-label": t,
|
|
48501
|
-
className: U("group/icon-switch rounded-500 bg-black-alpha-
|
|
48501
|
+
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:cursor-not-allowed 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),
|
|
48502
48502
|
...o,
|
|
48503
48503
|
children: [
|
|
48504
48504
|
/* @__PURE__ */ I(gP, {
|
|
@@ -48564,7 +48564,7 @@ var xge = W([
|
|
|
48564
48564
|
}
|
|
48565
48565
|
}), Sge = 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"], {
|
|
48566
48566
|
variants: { error: {
|
|
48567
|
-
true: "bg-black-alpha-
|
|
48567
|
+
true: "bg-black-alpha-300 group-hover:bg-black-alpha-300 group-focus-visible:bg-black-alpha-300 group-active:bg-black-alpha-400",
|
|
48568
48568
|
false: "bg-misc-visual-hover group-hover:bg-misc-visual-hover group-focus-visible:bg-misc-visual-hover group-active:bg-misc-visual-down"
|
|
48569
48569
|
} },
|
|
48570
48570
|
defaultVariants: { error: !1 }
|
|
@@ -48660,7 +48660,7 @@ var xge = W([
|
|
|
48660
48660
|
variant: "primary",
|
|
48661
48661
|
icon: ie,
|
|
48662
48662
|
onClick: E,
|
|
48663
|
-
className: "bg-black-alpha-
|
|
48663
|
+
className: "bg-black-alpha-400 hover:bg-black-alpha-600 active:bg-black-alpha-600 absolute top-1/2 left-1/2 size-600 -translate-x-1/2 -translate-y-1/2 rounded-full",
|
|
48664
48664
|
"aria-label": "Retry"
|
|
48665
48665
|
})
|
|
48666
48666
|
]
|
|
@@ -49260,7 +49260,7 @@ R3.displayName = "PromptInput";
|
|
|
49260
49260
|
//#region src/components/input/RadioGroup/RadioGroupItem/RadioGroupItem.tsx
|
|
49261
49261
|
var Nge = ({ label: e, description: t, className: n, ...r }) => /* @__PURE__ */ I(GG, {
|
|
49262
49262
|
...r,
|
|
49263
|
-
className: H("group/radiogroupitem
|
|
49263
|
+
className: H("group/radiogroupitem relative py-1.5 focus-visible:outline-hidden", n),
|
|
49264
49264
|
children: /* @__PURE__ */ L("div", {
|
|
49265
49265
|
className: H("flex gap-4 text-start", {
|
|
49266
49266
|
"pointer-events-none opacity-30": r.disabled,
|
|
@@ -49423,14 +49423,14 @@ var Pge = ({ reaction: e, selected: t = !1, onClick: n }) => /* @__PURE__ */ I("
|
|
|
49423
49423
|
className: "component-semi-strong-500 text-content-white-primary",
|
|
49424
49424
|
children: n.length
|
|
49425
49425
|
})]
|
|
49426
|
-
}), r !== e.length - 1 && /* @__PURE__ */ I("span", { className: "bg-white-alpha-
|
|
49426
|
+
}), r !== e.length - 1 && /* @__PURE__ */ I("span", { className: "bg-white-alpha-300 mx-1.5 h-5 w-px rounded-full" })]
|
|
49427
49427
|
}, t))
|
|
49428
49428
|
}),
|
|
49429
49429
|
children: o
|
|
49430
49430
|
});
|
|
49431
49431
|
}, Lge = (e) => /* @__PURE__ */ I("button", {
|
|
49432
49432
|
...e,
|
|
49433
|
-
className: H("rounded-200 relative h-10 w-10 overflow-hidden bg-neutral-200 outline-hidden transition-all", "after:rounded-200 after:absolute after:inset-0 after:transition-all after:content-['']", "hover:after:bg-black-alpha-
|
|
49433
|
+
className: H("rounded-200 relative h-10 w-10 overflow-hidden bg-neutral-200 outline-hidden transition-all", "after:rounded-200 after:absolute after:inset-0 after:transition-all after:content-['']", "hover:after:bg-black-alpha-300", "active:after:bg-black-alpha-600", "focus-visible:after:bg-black-alpha-300", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", e.disabled && "opacity-50")
|
|
49434
49434
|
}), H3 = ({ title: e, children: t }) => /* @__PURE__ */ L("div", {
|
|
49435
49435
|
className: "flex flex-col items-center gap-3",
|
|
49436
49436
|
children: [!!e && /* @__PURE__ */ I("div", {
|
|
@@ -50780,7 +50780,7 @@ var L_e = ({ value: e, defaultValue: t = 0, onValueChange: n, onNumberFieldValue
|
|
|
50780
50780
|
...o
|
|
50781
50781
|
}), [o, s]);
|
|
50782
50782
|
return /* @__PURE__ */ L("div", {
|
|
50783
|
-
className: H("
|
|
50783
|
+
className: H("flex items-start gap-4 py-1.5", a),
|
|
50784
50784
|
children: [/* @__PURE__ */ I(VW.Indicator, {
|
|
50785
50785
|
"aria-labelledby": `${c.id}-label`,
|
|
50786
50786
|
...c,
|
|
@@ -50879,7 +50879,7 @@ F6.displayName = "TagField";
|
|
|
50879
50879
|
//#region src/components/input/TextEditionBox/TextEditionBox.tsx
|
|
50880
50880
|
var I6 = ({ className: e, ref: t, ...n }) => /* @__PURE__ */ I(EP, {
|
|
50881
50881
|
ref: t,
|
|
50882
|
-
className: H("component-500 rounded-500 bg-black-alpha-
|
|
50882
|
+
className: H("component-500 rounded-500 bg-black-alpha-800", "max-w-full", "text-content-white-primary placeholder-content-white-secondary", "px-2.5 py-2.25", "backdrop-blur-2xl", "border-none! ring-0!", e),
|
|
50883
50883
|
minRows: 1,
|
|
50884
50884
|
...n
|
|
50885
50885
|
});
|
|
@@ -52270,7 +52270,7 @@ q8.Item = G8;
|
|
|
52270
52270
|
//#endregion
|
|
52271
52271
|
//#region src/components/navigation/TagGroup/Tag/Tag.tsx
|
|
52272
52272
|
var J8 = (({ as: e = "a", children: t, className: n, onClick: r, href: i, ref: a, ...o }) => /* @__PURE__ */ L(e, {
|
|
52273
|
-
className: H("max-w-full", "
|
|
52273
|
+
className: H("max-w-full", "size-h-700 ps-4.25 pe-3.5", "interaction-transition cursor-pointer rounded-full outline-hidden", "component-semi-strong-600 bg-background-subdued text-content-primary", "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", "inline-flex items-center gap-1", n),
|
|
52274
52274
|
href: i,
|
|
52275
52275
|
onClick: r,
|
|
52276
52276
|
role: "link",
|
|
@@ -52295,7 +52295,7 @@ var X8 = (({ selected: e, children: t, className: n, as: r = "button", ref: i, .
|
|
|
52295
52295
|
ref: i,
|
|
52296
52296
|
...r === "button" ? { type: "button" } : {},
|
|
52297
52297
|
"aria-pressed": r === "button" ? e : void 0,
|
|
52298
|
-
className: U("inline-flex items-center", "
|
|
52298
|
+
className: U("inline-flex items-center", "h-6 px-1.75", "outline-hidden", "rounded-300", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-400 whitespace-nowrap", { "shadow-[inset_0_0_0_0.5px_var(--color-misc-border-default)]": !e }, {
|
|
52299
52299
|
"bg-background-default": e,
|
|
52300
52300
|
"hover:bg-background-hover focus-visible:bg-background-hover active:bg-background-down": e,
|
|
52301
52301
|
"hover:bg-background-subdued-hover focus-visible:bg-background-subdued-hover active:bg-background-subdued-down": !e
|
|
@@ -53736,7 +53736,7 @@ function O5({ label: e, status: t = "pending", stepNumber: n, value: r, classNam
|
|
|
53736
53736
|
O5.displayName = "ProgressStep";
|
|
53737
53737
|
//#endregion
|
|
53738
53738
|
//#region src/components/status/ToastProgress/ToastProgress.tsx
|
|
53739
|
-
var k5 = H("absolute inset-0 z-1", "flex h-full items-center gap-1.5 p-1 ps-5", "transition-all duration-200 ease-[cubic-bezier(0.2,0.82,0.61,1)]"), A5 = "min-w-0 grow overflow-hidden text-ellipsis whitespace-nowrap text-start", j5 = H("shrink-0 appearance-none outline-hidden", "flex h-full items-center px-4", "hover:bg-black-alpha-
|
|
53739
|
+
var k5 = H("absolute inset-0 z-1", "flex h-full items-center gap-1.5 p-1 ps-5", "transition-all duration-200 ease-[cubic-bezier(0.2,0.82,0.61,1)]"), A5 = "min-w-0 grow overflow-hidden text-ellipsis whitespace-nowrap text-start", j5 = H("shrink-0 appearance-none outline-hidden", "flex h-full items-center px-4", "hover:bg-black-alpha-200 rounded-full", "focus-visible:bg-black-alpha-200 active:bg-black-alpha-300", "text-content-white-primary-inverted", "transition-colors duration-200");
|
|
53740
53740
|
function abe({ className: e, inProgressLabel: t, completedLabel: n, actionLabel: r, cancelLabel: i, onAction: a, onCancel: s, ...c }) {
|
|
53741
53741
|
let l = Math.min(100, Math.max(0, c.value ?? 0)), u = l === 100, d = ke();
|
|
53742
53742
|
return /* @__PURE__ */ L(SK, {
|
|
@@ -54858,7 +54858,7 @@ var h7 = {
|
|
|
54858
54858
|
children: [r && /* @__PURE__ */ I(h7.Trigger, {
|
|
54859
54859
|
asChild: !0,
|
|
54860
54860
|
children: r
|
|
54861
|
-
}), /* @__PURE__ */ L(h7.Portal, { children: [/* @__PURE__ */ I(h7.Overlay, { className: U("bg-black-alpha-
|
|
54861
|
+
}), /* @__PURE__ */ L(h7.Portal, { children: [/* @__PURE__ */ I(h7.Overlay, { className: U("bg-black-alpha-600 fixed inset-0", e) }), /* @__PURE__ */ I(h7.Content, {
|
|
54862
54862
|
className: U("rounded-t-600 fixed inset-x-0 bottom-0 bg-white outline-hidden", t),
|
|
54863
54863
|
children: /* @__PURE__ */ L("div", {
|
|
54864
54864
|
className: "rounded-t-600 bg-white",
|
|
@@ -55264,7 +55264,7 @@ var Jbe = ({ title: e, date: t, className: n }) => /* @__PURE__ */ L("div", {
|
|
|
55264
55264
|
})]
|
|
55265
55265
|
})
|
|
55266
55266
|
}), Xbe = ({ className: t, isLoading: n, children: r }) => /* @__PURE__ */ I(me, { children: /* @__PURE__ */ L("div", {
|
|
55267
|
-
className: H(t, "rounded-area-500 bg-white-alpha-
|
|
55267
|
+
className: H(t, "rounded-area-500 bg-white-alpha-300 relative h-full w-full overflow-hidden", "pointer-events-none", "after:rounded-area-500 after:pointer-events-none after:absolute after:start-0 after:top-0 after:h-full after:w-full after:border after:border-solid after:content-['']", "after:transition-all after:duration-300", "after:border-neutral-alpha-300"),
|
|
55268
55268
|
children: [/* @__PURE__ */ I("div", {
|
|
55269
55269
|
className: H("flex h-full w-full justify-center", "transition-opacity duration-300", n && "opacity-25"),
|
|
55270
55270
|
children: r
|
|
@@ -55524,7 +55524,7 @@ var rxe = ({ title: e, children: t, cta: n, className: r }) => {
|
|
|
55524
55524
|
]
|
|
55525
55525
|
});
|
|
55526
55526
|
}, ixe = ({ variant: e = "default", author: t, children: n, className: r, ...i }) => /* @__PURE__ */ L("blockquote", {
|
|
55527
|
-
className: H("not-prose flex flex-col gap-4", "
|
|
55527
|
+
className: H("not-prose flex flex-col gap-4", "my-10 ps-5.5 sm:my-12 sm:ps-[30px]", "border-misc-border border-s-2", r),
|
|
55528
55528
|
...i,
|
|
55529
55529
|
children: [/* @__PURE__ */ I("div", {
|
|
55530
55530
|
className: H("text-content-primary", {
|
|
@@ -55562,7 +55562,7 @@ var axe = ({ badge: e, brandName: t, brandDescription: n, backgroundImage: r, pr
|
|
|
55562
55562
|
children: [/* @__PURE__ */ L("div", {
|
|
55563
55563
|
"aria-hidden": !0,
|
|
55564
55564
|
className: "absolute inset-0",
|
|
55565
|
-
children: [r, /* @__PURE__ */ I("div", { className: "bg-black-alpha-
|
|
55565
|
+
children: [r, /* @__PURE__ */ I("div", { className: "bg-black-alpha-700 absolute inset-0" })]
|
|
55566
55566
|
}), /* @__PURE__ */ L("div", {
|
|
55567
55567
|
className: "relative z-10 mx-auto flex w-full max-w-300 flex-col gap-8 lg:flex-row lg:items-center lg:gap-6",
|
|
55568
55568
|
children: [/* @__PURE__ */ I("div", {
|
|
@@ -55789,10 +55789,10 @@ var T7 = ({ label: e, value: t, max: n = 5, tooltip: r, className: i }) => {
|
|
|
55789
55789
|
}), /* @__PURE__ */ L("div", {
|
|
55790
55790
|
className: "flex flex-row sm:inline sm:gap-2",
|
|
55791
55791
|
children: [/* @__PURE__ */ I("span", {
|
|
55792
|
-
className: H("text-neutral-alpha-
|
|
55792
|
+
className: H("text-neutral-alpha-600 component-semi-strong-600", "hidden sm:inline"),
|
|
55793
55793
|
children: "-"
|
|
55794
55794
|
}), /* @__PURE__ */ I("span", {
|
|
55795
|
-
className: "text-neutral-alpha-
|
|
55795
|
+
className: "text-neutral-alpha-600 component-semi-strong-600",
|
|
55796
55796
|
children: t
|
|
55797
55797
|
})]
|
|
55798
55798
|
})]
|
|
@@ -56045,7 +56045,7 @@ var T7 = ({ label: e, value: t, max: n = 5, tooltip: r, className: i }) => {
|
|
|
56045
56045
|
]
|
|
56046
56046
|
})
|
|
56047
56047
|
}), Sxe = ({ className: e, header: t, title: n, description: r, ...i }) => /* @__PURE__ */ L("div", {
|
|
56048
|
-
className: U("bg-white-alpha-
|
|
56048
|
+
className: U("bg-white-alpha-200 rounded-500 flex flex-col justify-between gap-6 overflow-clip p-6 sm:min-h-[360px]", e),
|
|
56049
56049
|
...i,
|
|
56050
56050
|
children: [/* @__PURE__ */ I("div", {
|
|
56051
56051
|
className: "relative h-18 w-full shrink-0 [&_img]:size-full [&_img]:object-contain ltr:[&_img]:object-left rtl:[&_img]:object-right",
|
|
@@ -56764,7 +56764,7 @@ var Zxe = ({ titleBlock: e, logoWallBlock: t, children: n, className: r, ...i })
|
|
|
56764
56764
|
})]
|
|
56765
56765
|
}), I7 = ({ language: e, translatedLanguage: t, selected: n, onClick: r, className: i, ...a }) => /* @__PURE__ */ L("button", {
|
|
56766
56766
|
tabIndex: 0,
|
|
56767
|
-
className: H("rounded-500
|
|
56767
|
+
className: H("rounded-500 box-border flex h-16 w-full flex-col justify-center gap-1 border-2 px-3 text-start", "transition-all duration-100", "hover:cursor-pointer", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden", {
|
|
56768
56768
|
"border-content-primary": n,
|
|
56769
56769
|
"border-transparent": !n,
|
|
56770
56770
|
"hover:bg-background-borderless-subdued-hover focus-visible:bg-background-borderless-subdued-hover active:bg-background-borderless-subdued-down": !n
|
|
@@ -57669,7 +57669,7 @@ var CSe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
57669
57669
|
}, zSe = ({ 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, isError: C, isSelectorLoading: w, ...T }) => {
|
|
57670
57670
|
let [E, D] = Pe(_?.[0]?.value), O = b ?? E, k = x ?? D, A = i === "yearly" && u, { value: j, originalValue: M } = S ?? {}, N = p === "dark";
|
|
57671
57671
|
return /* @__PURE__ */ L("div", {
|
|
57672
|
-
className: H("relative flex w-full flex-col gap-6", "px-4 py-7", "rounded-500", N ? "bg-background-default text-content-white-primary" : "bg-background-inverted", "border", N ? "border-white-alpha-
|
|
57672
|
+
className: H("relative flex w-full flex-col gap-6", "px-4 py-7", "rounded-500", N ? "bg-background-default text-content-white-primary" : "bg-background-inverted", "border", N ? "border-white-alpha-300" : "border-misc-border", d && "max-xl:pt-0", !d && "sm:max-xl:pt-0"),
|
|
57673
57673
|
...T,
|
|
57674
57674
|
children: [/* @__PURE__ */ L("div", {
|
|
57675
57675
|
className: "flex flex-col",
|
|
@@ -57691,7 +57691,7 @@ var CSe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
57691
57691
|
}), a && /* @__PURE__ */ I("div", {
|
|
57692
57692
|
className: "flex items-center",
|
|
57693
57693
|
children: /* @__PURE__ */ I("div", {
|
|
57694
|
-
className: "component-semi-strong-400 rounded-200 bg-content-accent
|
|
57694
|
+
className: "component-semi-strong-400 rounded-200 bg-content-accent px-1.75 py-[2px] text-white",
|
|
57695
57695
|
children: a
|
|
57696
57696
|
})
|
|
57697
57697
|
})]
|
|
@@ -57752,7 +57752,7 @@ var CSe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
57752
57752
|
children: n && /* @__PURE__ */ I("div", {
|
|
57753
57753
|
className: "block *:w-full",
|
|
57754
57754
|
children: v ? /* @__PURE__ */ I("div", {
|
|
57755
|
-
className: H("flex items-center justify-center", "
|
|
57755
|
+
className: H("flex items-center justify-center", "h-12 px-4.75", "rounded-500 border-neutral-alpha-400 border border-dashed", "component-500 text-content-secondary"),
|
|
57756
57756
|
children: y
|
|
57757
57757
|
}) : n
|
|
57758
57758
|
})
|
|
@@ -57760,7 +57760,7 @@ var CSe = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
57760
57760
|
]
|
|
57761
57761
|
}), /* @__PURE__ */ L("div", {
|
|
57762
57762
|
className: H("flex flex-1 flex-col justify-between gap-6", N && "[&_svg]:text-content-white-primary"),
|
|
57763
|
-
children: [r && r.length > 0 && /* @__PURE__ */ L(me, { children: [/* @__PURE__ */ I("div", { className: H("h-px w-full shrink-0", N ? "bg-white-alpha-
|
|
57763
|
+
children: [r && r.length > 0 && /* @__PURE__ */ L(me, { children: [/* @__PURE__ */ I("div", { className: H("h-px w-full shrink-0", N ? "bg-white-alpha-300" : "bg-misc-divider") }), /* @__PURE__ */ I("div", {
|
|
57764
57764
|
className: H("flex flex-1 flex-col justify-between gap-8", r.length > 1 && "[&>*:last-child]:justify-end"),
|
|
57765
57765
|
children: r
|
|
57766
57766
|
})] }), o && o.length > 0 && /* @__PURE__ */ I("div", {
|
|
@@ -58469,7 +58469,7 @@ var iCe = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
58469
58469
|
children: [/* @__PURE__ */ L("div", {
|
|
58470
58470
|
className: "flex items-center",
|
|
58471
58471
|
children: [t, /* @__PURE__ */ I("span", {
|
|
58472
|
-
className: "component-600
|
|
58472
|
+
className: "component-600 ms-1.25",
|
|
58473
58473
|
children: n
|
|
58474
58474
|
})]
|
|
58475
58475
|
}), r && /* @__PURE__ */ I("p", {
|
|
@@ -59377,7 +59377,7 @@ function owe({ logo: e, sections: t, ctas: n, mobileSections: r, mobileCtas: i,
|
|
|
59377
59377
|
return /* @__PURE__ */ L(me, { children: [/* @__PURE__ */ I("div", {
|
|
59378
59378
|
className: "overflow-x-clip",
|
|
59379
59379
|
children: /* @__PURE__ */ I("header", {
|
|
59380
|
-
className: U("relative flex h-(--header-height) items-center px-4 sm:px-6 md:px-8 2xl:px-10", "bg-white-alpha-
|
|
59380
|
+
className: U("relative flex h-(--header-height) items-center px-4 sm:px-6 md:px-8 2xl:px-10", "bg-white-alpha-800 backdrop-blur-md", "before:bg-black-alpha-100 before:pointer-events-none before:absolute before:inset-x-0 before:bottom-0 before:h-px before:transition-opacity before:duration-300 before:content-['']", l ? "before:opacity-100" : "before:opacity-0", u),
|
|
59381
59381
|
...d,
|
|
59382
59382
|
children: /* @__PURE__ */ L("div", {
|
|
59383
59383
|
className: "mx-auto flex w-full max-w-[1200px] items-center justify-between gap-1",
|