@overmap-ai/blocks 1.0.44-use-context-selector.1 → 1.0.45
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/dist/Spinner/Spinner.d.ts +9 -3
- package/dist/Spinner/cva.d.ts +3 -0
- package/dist/Spinner/index.d.ts +1 -0
- package/dist/Spinner/typings.d.ts +9 -0
- package/dist/blocks.js +129 -110
- package/dist/blocks.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/blocks.js
CHANGED
|
@@ -184,7 +184,7 @@ const Wt = v([
|
|
|
184
184
|
et.displayName = "AlertDialogContent";
|
|
185
185
|
const Xt = P(() => {
|
|
186
186
|
throw new Error("No AlertDialogProvider found");
|
|
187
|
-
}),
|
|
187
|
+
}), Lc = () => {
|
|
188
188
|
const n = j(Xt);
|
|
189
189
|
if (!n)
|
|
190
190
|
throw new Error("No AlertDialogProvider found");
|
|
@@ -434,14 +434,14 @@ const uo = u((n) => {
|
|
|
434
434
|
/* @__PURE__ */ i($.Description, { children: s == null ? void 0 : s.description })
|
|
435
435
|
] }),
|
|
436
436
|
/* @__PURE__ */ W("div", { className: "flex justify-end gap-2", children: [
|
|
437
|
-
/* @__PURE__ */ i($.Cancel, { onClick: s == null ? void 0 : s.onCancel, children: /* @__PURE__ */ i(We, { variant: "soft", size: s == null ? void 0 : s.size, accentColor: "base", children: s == null ? void 0 : s.cancel }) }),
|
|
438
|
-
/* @__PURE__ */ i($.Action, { onClick: s == null ? void 0 : s.onAction, children: /* @__PURE__ */ i(We, { variant: "solid", size: s == null ? void 0 : s.size, children: s == null ? void 0 : s.action }) })
|
|
437
|
+
/* @__PURE__ */ i($.Cancel, { onClick: s == null ? void 0 : s.onCancel, asChild: !0, children: /* @__PURE__ */ i(We, { variant: "soft", size: s == null ? void 0 : s.size, accentColor: "base", children: s == null ? void 0 : s.cancel }) }),
|
|
438
|
+
/* @__PURE__ */ i($.Action, { onClick: s == null ? void 0 : s.onAction, asChild: !0, children: /* @__PURE__ */ i(We, { variant: "solid", size: s == null ? void 0 : s.size, children: s == null ? void 0 : s.action }) })
|
|
439
439
|
] })
|
|
440
440
|
] }) }) })
|
|
441
441
|
] });
|
|
442
442
|
});
|
|
443
443
|
uo.displayName = "AlertDialogProvider";
|
|
444
|
-
const
|
|
444
|
+
const Ac = {
|
|
445
445
|
Content: et,
|
|
446
446
|
Trigger: $.Trigger,
|
|
447
447
|
Root: $.Root,
|
|
@@ -514,7 +514,7 @@ const aa = u((n) => {
|
|
|
514
514
|
);
|
|
515
515
|
});
|
|
516
516
|
aa.displayName = "AvatarRoot";
|
|
517
|
-
const
|
|
517
|
+
const Dc = {
|
|
518
518
|
Fallback: ea,
|
|
519
519
|
Image: ta,
|
|
520
520
|
Root: aa
|
|
@@ -740,16 +740,16 @@ const at = v(
|
|
|
740
740
|
);
|
|
741
741
|
});
|
|
742
742
|
sa.displayName = "CheckboxRoot";
|
|
743
|
-
const
|
|
743
|
+
const Gc = {
|
|
744
744
|
Root: sa,
|
|
745
745
|
Indicator: na
|
|
746
|
-
}, Ne = P({}), Z = P({}),
|
|
746
|
+
}, Ne = P({}), Z = P({}), Ec = (n) => {
|
|
747
747
|
const { xs: a, sm: t, md: e, lg: s, xl: o } = n, [r, c] = E("initial"), [l, d] = E("initial"), m = be({ minWidth: a }), g = be({ minWidth: t }), p = be({ minWidth: e }), f = be({ minWidth: s }), C = be({ minWidth: o });
|
|
748
748
|
return ue(() => {
|
|
749
749
|
d((S) => (c(S), C ? "xl" : f ? "lg" : p ? "md" : g ? "sm" : m ? "xs" : "initial"));
|
|
750
750
|
}, [f, p, g, C, m]), { size: l, prevSize: r, xs: m, sm: g, md: p, lg: f, xl: C };
|
|
751
751
|
};
|
|
752
|
-
function
|
|
752
|
+
function Fc(n, a) {
|
|
753
753
|
const [t, e] = E([]), [s, o] = E("");
|
|
754
754
|
return B(() => {
|
|
755
755
|
e(n.filter((r) => a(r, s)));
|
|
@@ -979,7 +979,7 @@ const ia = u((n) => {
|
|
|
979
979
|
);
|
|
980
980
|
});
|
|
981
981
|
ia.displayName = "CheckboxGroupSelectAllItem";
|
|
982
|
-
const
|
|
982
|
+
const _c = {
|
|
983
983
|
Root: ca,
|
|
984
984
|
Item: oa,
|
|
985
985
|
SelectAllItem: ia,
|
|
@@ -1455,7 +1455,7 @@ const Na = u((n) => {
|
|
|
1455
1455
|
Na.displayName = "CommandMenuSeparator";
|
|
1456
1456
|
const wa = u((n) => /* @__PURE__ */ i(As, { ...n }));
|
|
1457
1457
|
wa.displayName = "CommandMenuTrigger";
|
|
1458
|
-
const
|
|
1458
|
+
const Hc = {
|
|
1459
1459
|
Root: ya,
|
|
1460
1460
|
Overlay: ha,
|
|
1461
1461
|
Content: ga,
|
|
@@ -1752,7 +1752,7 @@ const Ra = u((n) => {
|
|
|
1752
1752
|
return /* @__PURE__ */ i(H.Root, { open: m, onOpenChange: g, children: /* @__PURE__ */ i(Ia.Provider, { value: p, children: a }) });
|
|
1753
1753
|
});
|
|
1754
1754
|
Ra.displayName = "DialogRoot";
|
|
1755
|
-
const
|
|
1755
|
+
const Bc = {
|
|
1756
1756
|
Root: Ra,
|
|
1757
1757
|
Content: Sa,
|
|
1758
1758
|
Overlay: ka,
|
|
@@ -1879,7 +1879,7 @@ const jo = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
|
|
|
1879
1879
|
) });
|
|
1880
1880
|
});
|
|
1881
1881
|
Ta.displayName = "HoverCardContent";
|
|
1882
|
-
const
|
|
1882
|
+
const $c = {
|
|
1883
1883
|
Arrow: Pa,
|
|
1884
1884
|
Content: Ta,
|
|
1885
1885
|
Root: ye.Root,
|
|
@@ -2008,12 +2008,12 @@ const Va = u((n) => {
|
|
|
2008
2008
|
return /* @__PURE__ */ i("div", { className: x(Ko({ size: o, variant: r }), "flex items-center", e), ref: a, ...s, children: t });
|
|
2009
2009
|
});
|
|
2010
2010
|
Va.displayName = "InputSlot";
|
|
2011
|
-
const
|
|
2011
|
+
const jc = {
|
|
2012
2012
|
Field: Ma,
|
|
2013
2013
|
Root: Oa,
|
|
2014
2014
|
Slot: Va
|
|
2015
2015
|
}, dt = Ks({}), ke = () => Xs(dt);
|
|
2016
|
-
function
|
|
2016
|
+
function qc(n) {
|
|
2017
2017
|
return Ys(dt, n);
|
|
2018
2018
|
}
|
|
2019
2019
|
const La = u((n) => {
|
|
@@ -2338,7 +2338,7 @@ const ft = u((n) => {
|
|
|
2338
2338
|
}, [o, s, r == null ? void 0 : r.style]), /* @__PURE__ */ i("div", { ref: we([a, e]), ...t });
|
|
2339
2339
|
});
|
|
2340
2340
|
ft.displayName = "SlideOutViewport";
|
|
2341
|
-
const
|
|
2341
|
+
const Uc = {
|
|
2342
2342
|
Close: ut,
|
|
2343
2343
|
Content: mt,
|
|
2344
2344
|
Handle: gt,
|
|
@@ -2400,7 +2400,7 @@ const ja = u((n) => {
|
|
|
2400
2400
|
return /* @__PURE__ */ i(ft, { ref: a, ...t });
|
|
2401
2401
|
});
|
|
2402
2402
|
ja.displayName = "LayoutSlideOutViewport";
|
|
2403
|
-
const
|
|
2403
|
+
const Wc = {
|
|
2404
2404
|
Root: Aa,
|
|
2405
2405
|
Container: La,
|
|
2406
2406
|
SlideOutClose: Ea,
|
|
@@ -3270,7 +3270,7 @@ const gn = u((n) => {
|
|
|
3270
3270
|
}, [t, e, o, a]), null;
|
|
3271
3271
|
});
|
|
3272
3272
|
gn.displayName = "VirtualTrigger";
|
|
3273
|
-
const
|
|
3273
|
+
const Kc = {
|
|
3274
3274
|
Root: on,
|
|
3275
3275
|
Content: Xa,
|
|
3276
3276
|
// sub
|
|
@@ -3728,7 +3728,7 @@ const Ir = _(function(a) {
|
|
|
3728
3728
|
return /* @__PURE__ */ i(Je.Root, { className: x(yr({ size: s }), t), ref: a, ...e });
|
|
3729
3729
|
});
|
|
3730
3730
|
Nn.displayName = "MenuSeparator";
|
|
3731
|
-
const
|
|
3731
|
+
const Xc = {
|
|
3732
3732
|
Root: yn,
|
|
3733
3733
|
Group: Be,
|
|
3734
3734
|
GroupLabel: hn,
|
|
@@ -3832,7 +3832,7 @@ const kn = u((n) => {
|
|
|
3832
3832
|
return /* @__PURE__ */ i(Ze.Root, { ref: t, "data-accent-color": c, ...l, children: /* @__PURE__ */ i(In, { value: d, children: e }) });
|
|
3833
3833
|
});
|
|
3834
3834
|
kn.displayName = "OneTimePasswordFieldRoot";
|
|
3835
|
-
const
|
|
3835
|
+
const Yc = {
|
|
3836
3836
|
HiddenInput: wn,
|
|
3837
3837
|
Input: Sn,
|
|
3838
3838
|
Root: kn
|
|
@@ -3881,7 +3881,7 @@ const Vn = u((n) => {
|
|
|
3881
3881
|
return /* @__PURE__ */ i(H.Trigger, { ref: a, ...t });
|
|
3882
3882
|
});
|
|
3883
3883
|
Vn.displayName = "OverlayTrigger";
|
|
3884
|
-
const
|
|
3884
|
+
const Qc = {
|
|
3885
3885
|
Root: Mn,
|
|
3886
3886
|
Content: Pn,
|
|
3887
3887
|
Title: On,
|
|
@@ -3967,7 +3967,7 @@ const Tr = v(["bg-(--color-background)", "dark:bg-(--base-2)", "ring-1", "ring-(
|
|
|
3967
3967
|
) });
|
|
3968
3968
|
});
|
|
3969
3969
|
Dn.displayName = "PopoverContent";
|
|
3970
|
-
const
|
|
3970
|
+
const Jc = {
|
|
3971
3971
|
...Te,
|
|
3972
3972
|
Content: Dn,
|
|
3973
3973
|
Arrow: An
|
|
@@ -4135,7 +4135,7 @@ const Fn = u((n) => {
|
|
|
4135
4135
|
);
|
|
4136
4136
|
});
|
|
4137
4137
|
Fn.displayName = "RadioCardsRoot";
|
|
4138
|
-
const
|
|
4138
|
+
const Zc = {
|
|
4139
4139
|
Root: Fn,
|
|
4140
4140
|
Item: En
|
|
4141
4141
|
}, _n = u((n) => {
|
|
@@ -4218,7 +4218,7 @@ const $n = u((n) => {
|
|
|
4218
4218
|
return /* @__PURE__ */ i(ae.Root, { className: x(e), ref: t, "data-accent-color": s, ...l, children: /* @__PURE__ */ i(Hn.Provider, { value: d, children: c }) });
|
|
4219
4219
|
});
|
|
4220
4220
|
$n.displayName = "RadioGroupRoot";
|
|
4221
|
-
const
|
|
4221
|
+
const ei = {
|
|
4222
4222
|
Indicator: _n,
|
|
4223
4223
|
Item: Bn,
|
|
4224
4224
|
Root: $n
|
|
@@ -4265,7 +4265,7 @@ const Wn = u((n) => {
|
|
|
4265
4265
|
);
|
|
4266
4266
|
});
|
|
4267
4267
|
Wn.displayName = "RatingRoot";
|
|
4268
|
-
const
|
|
4268
|
+
const ti = {
|
|
4269
4269
|
Item: qn,
|
|
4270
4270
|
ItemIndicator: Un,
|
|
4271
4271
|
Root: Wn
|
|
@@ -4456,7 +4456,7 @@ const Yn = u((n) => {
|
|
|
4456
4456
|
);
|
|
4457
4457
|
});
|
|
4458
4458
|
Yn.displayName = "SegmentedControlRoot";
|
|
4459
|
-
const
|
|
4459
|
+
const ai = {
|
|
4460
4460
|
Item: Xn,
|
|
4461
4461
|
Root: Yn
|
|
4462
4462
|
}, Qn = P({}), _r = v(
|
|
@@ -4652,7 +4652,7 @@ const es = u((n) => {
|
|
|
4652
4652
|
);
|
|
4653
4653
|
});
|
|
4654
4654
|
es.displayName = "TabsTrigger";
|
|
4655
|
-
const
|
|
4655
|
+
const ni = {
|
|
4656
4656
|
Root: Zn,
|
|
4657
4657
|
List: Jn,
|
|
4658
4658
|
Trigger: es,
|
|
@@ -4993,9 +4993,28 @@ const jr = v(["relative", "select-none", "touch-none", "flex", "items-center"],
|
|
|
4993
4993
|
);
|
|
4994
4994
|
});
|
|
4995
4995
|
Kr.displayName = "Slider";
|
|
4996
|
-
const Xr =
|
|
4997
|
-
|
|
4998
|
-
|
|
4996
|
+
const Xr = v(
|
|
4997
|
+
["box-border", "shrink-0", "animate-spin", "rounded-full", "border-(--accent-9)", "border-b-transparent"],
|
|
4998
|
+
{
|
|
4999
|
+
variants: {
|
|
5000
|
+
size: {
|
|
5001
|
+
xs: ["size-4", "border-2"],
|
|
5002
|
+
sm: ["size-5", "border-[2.25px]"],
|
|
5003
|
+
md: ["size-6", "border-[2.5px]"],
|
|
5004
|
+
lg: ["size-7", "border-[2.75px]"],
|
|
5005
|
+
xl: ["size-8", "border-[3px]"]
|
|
5006
|
+
}
|
|
5007
|
+
},
|
|
5008
|
+
defaultVariants: {
|
|
5009
|
+
size: "md"
|
|
5010
|
+
}
|
|
5011
|
+
}
|
|
5012
|
+
), Yr = u((n) => {
|
|
5013
|
+
const a = M(), { ref: t, className: e, size: s = "md", accentColor: o = a.accentColor, ...r } = n;
|
|
5014
|
+
return /* @__PURE__ */ i("div", { className: x(Xr({ size: s }), e), ref: t, "data-accent-color": o, ...r });
|
|
5015
|
+
});
|
|
5016
|
+
Yr.displayName = "Spinner";
|
|
5017
|
+
const ts = P({}), Qr = v(
|
|
4999
5018
|
[
|
|
5000
5019
|
"shrink-0",
|
|
5001
5020
|
// select
|
|
@@ -5028,7 +5047,7 @@ const ts = P({}), Yr = v(
|
|
|
5028
5047
|
size: "md"
|
|
5029
5048
|
}
|
|
5030
5049
|
}
|
|
5031
|
-
),
|
|
5050
|
+
), Jr = v(
|
|
5032
5051
|
[
|
|
5033
5052
|
"flex",
|
|
5034
5053
|
"items-center",
|
|
@@ -5065,7 +5084,7 @@ const ts = P({}), Yr = v(
|
|
|
5065
5084
|
return /* @__PURE__ */ i(
|
|
5066
5085
|
qt.Root,
|
|
5067
5086
|
{
|
|
5068
|
-
className: x(
|
|
5087
|
+
className: x(Qr({ size: o }), k({ radius: r, maxLarge: !1 }), s),
|
|
5069
5088
|
ref: t,
|
|
5070
5089
|
"data-accent-color": c,
|
|
5071
5090
|
...l,
|
|
@@ -5079,14 +5098,14 @@ const ns = u((n) => {
|
|
|
5079
5098
|
return /* @__PURE__ */ i(
|
|
5080
5099
|
qt.Thumb,
|
|
5081
5100
|
{
|
|
5082
|
-
className: x(
|
|
5101
|
+
className: x(Jr({ size: s }), k({ radius: o, maxLarge: !1 }), t),
|
|
5083
5102
|
ref: a,
|
|
5084
5103
|
...e
|
|
5085
5104
|
}
|
|
5086
5105
|
);
|
|
5087
5106
|
});
|
|
5088
5107
|
ns.displayName = "SwitchThumb";
|
|
5089
|
-
const
|
|
5108
|
+
const si = {
|
|
5090
5109
|
Root: as,
|
|
5091
5110
|
Thumb: ns
|
|
5092
5111
|
}, ss = u((n) => {
|
|
@@ -5094,7 +5113,7 @@ const ni = {
|
|
|
5094
5113
|
return /* @__PURE__ */ i("tbody", { ref: a, className: x(t), ...e });
|
|
5095
5114
|
});
|
|
5096
5115
|
ss.displayName = "TableBody";
|
|
5097
|
-
const $e = P({}),
|
|
5116
|
+
const $e = P({}), Zr = v(["border-collapse text-left"], {
|
|
5098
5117
|
variants: {
|
|
5099
5118
|
variant: {
|
|
5100
5119
|
ghost: [],
|
|
@@ -5199,7 +5218,7 @@ const ls = u((n) => {
|
|
|
5199
5218
|
{
|
|
5200
5219
|
ref: t,
|
|
5201
5220
|
className: x(
|
|
5202
|
-
|
|
5221
|
+
Zr({ size: o, variant: l }),
|
|
5203
5222
|
k({ radius: a.radius, maxLarge: !0 }),
|
|
5204
5223
|
s
|
|
5205
5224
|
),
|
|
@@ -5227,7 +5246,7 @@ const us = u((n) => {
|
|
|
5227
5246
|
);
|
|
5228
5247
|
});
|
|
5229
5248
|
us.displayName = "TableRowHeaderCell";
|
|
5230
|
-
const
|
|
5249
|
+
const oi = {
|
|
5231
5250
|
Root: ls,
|
|
5232
5251
|
Header: is,
|
|
5233
5252
|
Body: ss,
|
|
@@ -5236,7 +5255,7 @@ const si = {
|
|
|
5236
5255
|
Cell: os,
|
|
5237
5256
|
RowHeaderCell: us,
|
|
5238
5257
|
ColumnHeaderCell: rs
|
|
5239
|
-
}, ms = P({}),
|
|
5258
|
+
}, ms = P({}), ec = v(["flex", "border-box", "inset-shadow-[0_-1px_0_0_var(--base-a6)]"], {
|
|
5240
5259
|
variants: {
|
|
5241
5260
|
size: {
|
|
5242
5261
|
xs: ["h-6", "text-xs"],
|
|
@@ -5249,7 +5268,7 @@ const si = {
|
|
|
5249
5268
|
defaultVariants: {
|
|
5250
5269
|
size: "md"
|
|
5251
5270
|
}
|
|
5252
|
-
}),
|
|
5271
|
+
}), tc = v(
|
|
5253
5272
|
[
|
|
5254
5273
|
"select-none",
|
|
5255
5274
|
"shrink-0",
|
|
@@ -5289,7 +5308,7 @@ const si = {
|
|
|
5289
5308
|
ne.List,
|
|
5290
5309
|
{
|
|
5291
5310
|
ref: t,
|
|
5292
|
-
className: x(
|
|
5311
|
+
className: x(ec({ size: o }), s),
|
|
5293
5312
|
"data-accent-color": r,
|
|
5294
5313
|
...c,
|
|
5295
5314
|
children: /* @__PURE__ */ i(ms.Provider, { value: { size: o }, children: e })
|
|
@@ -5302,22 +5321,22 @@ const ps = u((n) => {
|
|
|
5302
5321
|
return /* @__PURE__ */ i(ne.Root, { ref: a, className: x("flex flex-col", t), ...e });
|
|
5303
5322
|
});
|
|
5304
5323
|
ps.displayName = "TabsRoot";
|
|
5305
|
-
const
|
|
5324
|
+
const ac = () => {
|
|
5306
5325
|
const n = j(ms);
|
|
5307
5326
|
if (!n)
|
|
5308
5327
|
throw new Error("useTabsList must be used within a TabsList component");
|
|
5309
5328
|
return n;
|
|
5310
5329
|
}, xs = u((n) => {
|
|
5311
|
-
const { ref: a, children: t, className: e, ...s } = n, { size: o } =
|
|
5312
|
-
return /* @__PURE__ */ i(ne.Trigger, { ref: a, className: x(
|
|
5330
|
+
const { ref: a, children: t, className: e, ...s } = n, { size: o } = ac();
|
|
5331
|
+
return /* @__PURE__ */ i(ne.Trigger, { ref: a, className: x(tc({ size: o }), e), ...s, children: t });
|
|
5313
5332
|
});
|
|
5314
5333
|
xs.displayName = "TabsTrigger";
|
|
5315
|
-
const
|
|
5334
|
+
const ri = {
|
|
5316
5335
|
Root: ps,
|
|
5317
5336
|
List: gs,
|
|
5318
5337
|
Trigger: xs,
|
|
5319
5338
|
Content: ne.Content
|
|
5320
|
-
},
|
|
5339
|
+
}, nc = v([], {
|
|
5321
5340
|
variants: {
|
|
5322
5341
|
size: {
|
|
5323
5342
|
xs: ["text-xs"],
|
|
@@ -5353,7 +5372,7 @@ const oi = {
|
|
|
5353
5372
|
{
|
|
5354
5373
|
ref: a,
|
|
5355
5374
|
className: x(
|
|
5356
|
-
|
|
5375
|
+
nc({ size: e, weight: s, align: o }),
|
|
5357
5376
|
{
|
|
5358
5377
|
"text-(--accent-a11)": !!r,
|
|
5359
5378
|
"text-(--accent-a12)": c
|
|
@@ -5366,7 +5385,7 @@ const oi = {
|
|
|
5366
5385
|
);
|
|
5367
5386
|
});
|
|
5368
5387
|
Xe.displayName = "Text";
|
|
5369
|
-
const
|
|
5388
|
+
const sc = v(
|
|
5370
5389
|
[
|
|
5371
5390
|
"focus:outline-(--accent-a8)",
|
|
5372
5391
|
"focus:outline-2",
|
|
@@ -5426,7 +5445,7 @@ const nc = v(
|
|
|
5426
5445
|
resize: "none"
|
|
5427
5446
|
}
|
|
5428
5447
|
}
|
|
5429
|
-
),
|
|
5448
|
+
), oc = u((n) => {
|
|
5430
5449
|
const a = M(), {
|
|
5431
5450
|
ref: t,
|
|
5432
5451
|
className: e,
|
|
@@ -5439,14 +5458,14 @@ const nc = v(
|
|
|
5439
5458
|
return /* @__PURE__ */ i(
|
|
5440
5459
|
"textarea",
|
|
5441
5460
|
{
|
|
5442
|
-
className: x(
|
|
5461
|
+
className: x(sc({ size: s, variant: o }), k({ radius: r, maxLarge: !0 }), e),
|
|
5443
5462
|
ref: t,
|
|
5444
5463
|
"data-accent-color": c,
|
|
5445
5464
|
...l
|
|
5446
5465
|
}
|
|
5447
5466
|
);
|
|
5448
5467
|
});
|
|
5449
|
-
|
|
5468
|
+
oc.displayName = "TextArea";
|
|
5450
5469
|
const Re = u((n) => {
|
|
5451
5470
|
const { toastId: a, title: t, description: e, icon: s, accentColor: o, closeButton: r, action: c } = n, { radius: l } = M(), d = h(() => {
|
|
5452
5471
|
K.dismiss(a);
|
|
@@ -5490,7 +5509,7 @@ const Re = u((n) => {
|
|
|
5490
5509
|
info: /* @__PURE__ */ i(U, { icon: Us, color: "var(--base-11)" }),
|
|
5491
5510
|
warning: /* @__PURE__ */ i(U, { icon: qs, color: "var(--accent-9)" }),
|
|
5492
5511
|
error: /* @__PURE__ */ i(U, { icon: js, color: "var(--accent-9)" })
|
|
5493
|
-
},
|
|
5512
|
+
}, rc = (n) => {
|
|
5494
5513
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5495
5514
|
return K.custom(
|
|
5496
5515
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5506,7 +5525,7 @@ const Re = u((n) => {
|
|
|
5506
5525
|
),
|
|
5507
5526
|
r
|
|
5508
5527
|
);
|
|
5509
|
-
},
|
|
5528
|
+
}, cc = (n) => {
|
|
5510
5529
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5511
5530
|
return K.custom(
|
|
5512
5531
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5523,7 +5542,7 @@ const Re = u((n) => {
|
|
|
5523
5542
|
),
|
|
5524
5543
|
r
|
|
5525
5544
|
);
|
|
5526
|
-
},
|
|
5545
|
+
}, ic = (n) => {
|
|
5527
5546
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5528
5547
|
return K.custom(
|
|
5529
5548
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5540,7 +5559,7 @@ const Re = u((n) => {
|
|
|
5540
5559
|
),
|
|
5541
5560
|
r
|
|
5542
5561
|
);
|
|
5543
|
-
},
|
|
5562
|
+
}, lc = (n) => {
|
|
5544
5563
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5545
5564
|
return K.custom(
|
|
5546
5565
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5557,7 +5576,7 @@ const Re = u((n) => {
|
|
|
5557
5576
|
),
|
|
5558
5577
|
r
|
|
5559
5578
|
);
|
|
5560
|
-
},
|
|
5579
|
+
}, dc = (n) => {
|
|
5561
5580
|
const { icon: a, description: t, title: e, closeButton: s, action: o, ...r } = n;
|
|
5562
5581
|
return K.custom(
|
|
5563
5582
|
(c) => /* @__PURE__ */ i(
|
|
@@ -5574,22 +5593,22 @@ const Re = u((n) => {
|
|
|
5574
5593
|
),
|
|
5575
5594
|
r
|
|
5576
5595
|
);
|
|
5577
|
-
},
|
|
5578
|
-
|
|
5596
|
+
}, ci = Object.assign(
|
|
5597
|
+
rc,
|
|
5579
5598
|
{
|
|
5580
|
-
success:
|
|
5581
|
-
info:
|
|
5582
|
-
warning:
|
|
5583
|
-
error:
|
|
5599
|
+
success: cc,
|
|
5600
|
+
info: ic,
|
|
5601
|
+
warning: lc,
|
|
5602
|
+
error: dc,
|
|
5584
5603
|
custom: K.custom,
|
|
5585
5604
|
dismiss: K.dismiss
|
|
5586
5605
|
},
|
|
5587
5606
|
{ getHistory: K.getHistory, getToasts: K.getToasts }
|
|
5588
|
-
),
|
|
5607
|
+
), uc = {
|
|
5589
5608
|
unstyled: !0
|
|
5590
|
-
},
|
|
5591
|
-
|
|
5592
|
-
const
|
|
5609
|
+
}, mc = u((n) => /* @__PURE__ */ i(ro, { toastOptions: uc, richColors: !1, closeButton: !1, theme: "system", ...n }));
|
|
5610
|
+
mc.displayName = "Toaster";
|
|
5611
|
+
const gc = v(
|
|
5593
5612
|
[
|
|
5594
5613
|
"flex",
|
|
5595
5614
|
"items-center",
|
|
@@ -5723,18 +5742,18 @@ const mc = v(
|
|
|
5723
5742
|
co.Root,
|
|
5724
5743
|
{
|
|
5725
5744
|
ref: t,
|
|
5726
|
-
className: x(
|
|
5745
|
+
className: x(gc({ size: s, variant: r, icon: o }), k({ radius: c, maxLarge: !1 }), e),
|
|
5727
5746
|
"data-accent-color": l,
|
|
5728
5747
|
...d
|
|
5729
5748
|
}
|
|
5730
5749
|
);
|
|
5731
5750
|
});
|
|
5732
5751
|
yt.displayName = "BaseToggleButton";
|
|
5733
|
-
const
|
|
5734
|
-
|
|
5735
|
-
const
|
|
5736
|
-
|
|
5737
|
-
const fs = P({}),
|
|
5752
|
+
const pc = u((n) => /* @__PURE__ */ i(yt, { icon: !0, ...n }));
|
|
5753
|
+
pc.displayName = "IconToggleButton";
|
|
5754
|
+
const xc = u((n) => /* @__PURE__ */ i(yt, { icon: !1, ...n }));
|
|
5755
|
+
xc.displayName = "ToggleButton";
|
|
5756
|
+
const fs = P({}), fc = v(
|
|
5738
5757
|
[
|
|
5739
5758
|
"flex",
|
|
5740
5759
|
"items-center",
|
|
@@ -5864,7 +5883,7 @@ const fs = P({}), xc = v(
|
|
|
5864
5883
|
{
|
|
5865
5884
|
ref: t,
|
|
5866
5885
|
className: x(
|
|
5867
|
-
|
|
5886
|
+
fc({ icon: s, variant: c, size: l }),
|
|
5868
5887
|
k({ radius: r, maxLarge: !1 }),
|
|
5869
5888
|
e
|
|
5870
5889
|
),
|
|
@@ -5899,7 +5918,7 @@ const bs = u((n) => {
|
|
|
5899
5918
|
return /* @__PURE__ */ i(Oe.Root, { ref: t, "data-accent-color": s, ...l, children: /* @__PURE__ */ i(fs, { value: d, children: e }) });
|
|
5900
5919
|
});
|
|
5901
5920
|
bs.displayName = "ToggleGroupRoot";
|
|
5902
|
-
const
|
|
5921
|
+
const ii = {
|
|
5903
5922
|
Root: bs,
|
|
5904
5923
|
Item: vs,
|
|
5905
5924
|
IconItem: hs
|
|
@@ -5908,7 +5927,7 @@ const ci = {
|
|
|
5908
5927
|
return /* @__PURE__ */ i(de.Arrow, { className: x("fill-(--base-6)", t), ref: a, ...e });
|
|
5909
5928
|
});
|
|
5910
5929
|
Cs.displayName = "TooltipArrow";
|
|
5911
|
-
const
|
|
5930
|
+
const hc = v(
|
|
5912
5931
|
[
|
|
5913
5932
|
"data-[state=delayed-open]:animate-in",
|
|
5914
5933
|
"data-[state=delayed-open]:fade-in-0",
|
|
@@ -5959,7 +5978,7 @@ const fc = v(
|
|
|
5959
5978
|
return /* @__PURE__ */ i(de.Portal, { container: d, children: /* @__PURE__ */ i(
|
|
5960
5979
|
de.Content,
|
|
5961
5980
|
{
|
|
5962
|
-
className: x(
|
|
5981
|
+
className: x(hc({ size: r, side: o }), k({ radius: c, maxLarge: !1 }), s),
|
|
5963
5982
|
ref: t,
|
|
5964
5983
|
sideOffset: l,
|
|
5965
5984
|
"data-floating-content": "",
|
|
@@ -5969,7 +5988,7 @@ const fc = v(
|
|
|
5969
5988
|
) });
|
|
5970
5989
|
});
|
|
5971
5990
|
ys.displayName = "TooltipContent";
|
|
5972
|
-
const
|
|
5991
|
+
const li = {
|
|
5973
5992
|
Arrow: Cs,
|
|
5974
5993
|
Content: ys,
|
|
5975
5994
|
Root: de.Root,
|
|
@@ -5977,10 +5996,10 @@ const ii = {
|
|
|
5977
5996
|
Provider: de.Provider
|
|
5978
5997
|
};
|
|
5979
5998
|
export {
|
|
5980
|
-
|
|
5999
|
+
Ac as AlertDialog,
|
|
5981
6000
|
et as AlertDialogContent,
|
|
5982
6001
|
uo as AlertDialogProvider,
|
|
5983
|
-
|
|
6002
|
+
Dc as Avatar,
|
|
5984
6003
|
ea as AvatarFallback,
|
|
5985
6004
|
ta as AvatarImage,
|
|
5986
6005
|
aa as AvatarRoot,
|
|
@@ -5988,15 +6007,15 @@ export {
|
|
|
5988
6007
|
We as Button,
|
|
5989
6008
|
lo as ButtonGroup,
|
|
5990
6009
|
ho as Card,
|
|
5991
|
-
|
|
5992
|
-
|
|
6010
|
+
Gc as Checkbox,
|
|
6011
|
+
_c as CheckboxGroup,
|
|
5993
6012
|
oa as CheckboxGroupItem,
|
|
5994
6013
|
ra as CheckboxGroupItemIndicator,
|
|
5995
6014
|
ca as CheckboxGroupRoot,
|
|
5996
6015
|
ia as CheckboxGroupSelectAllItem,
|
|
5997
6016
|
na as CheckboxIndicator,
|
|
5998
6017
|
sa as CheckboxRoot,
|
|
5999
|
-
|
|
6018
|
+
Hc as CommandMenu,
|
|
6000
6019
|
la as CommandMenuCheckboxIndicator,
|
|
6001
6020
|
ma as CommandMenuCheckboxItem,
|
|
6002
6021
|
ga as CommandMenuContent,
|
|
@@ -6019,22 +6038,22 @@ export {
|
|
|
6019
6038
|
Na as CommandMenuSeparator,
|
|
6020
6039
|
wa as CommandMenuTrigger,
|
|
6021
6040
|
Fo as DayPicker,
|
|
6022
|
-
|
|
6041
|
+
Bc as Dialog,
|
|
6023
6042
|
Sa as DialogContent,
|
|
6024
6043
|
ka as DialogOverlay,
|
|
6025
6044
|
Ra as DialogRoot,
|
|
6026
6045
|
$o as Heading,
|
|
6027
|
-
|
|
6046
|
+
$c as HoverCard,
|
|
6028
6047
|
Pa as HoverCardArrow,
|
|
6029
6048
|
Ta as HoverCardContent,
|
|
6030
6049
|
qo as HoverUtility,
|
|
6031
6050
|
tt as IconButton,
|
|
6032
|
-
|
|
6033
|
-
|
|
6051
|
+
pc as IconToggleButton,
|
|
6052
|
+
jc as Input,
|
|
6034
6053
|
Ma as InputField,
|
|
6035
6054
|
Oa as InputRoot,
|
|
6036
6055
|
Va as InputSlot,
|
|
6037
|
-
|
|
6056
|
+
Wc as Layout,
|
|
6038
6057
|
La as LayoutContainer,
|
|
6039
6058
|
Aa as LayoutRoot,
|
|
6040
6059
|
Ea as LayoutSlideOutClose,
|
|
@@ -6045,7 +6064,7 @@ export {
|
|
|
6045
6064
|
$a as LayoutSlideOutTrigger,
|
|
6046
6065
|
ar as Link,
|
|
6047
6066
|
U as LuIcon,
|
|
6048
|
-
|
|
6067
|
+
Kc as Menu,
|
|
6049
6068
|
Ua as MenuCheckboxItem,
|
|
6050
6069
|
Wa as MenuCheckboxItemIndicator,
|
|
6051
6070
|
Ka as MenuClickTrigger,
|
|
@@ -6072,7 +6091,7 @@ export {
|
|
|
6072
6091
|
dn as MenuSub,
|
|
6073
6092
|
un as MenuSubContent,
|
|
6074
6093
|
mn as MenuSubTrigger,
|
|
6075
|
-
|
|
6094
|
+
Xc as MenuV2,
|
|
6076
6095
|
xn as MenuV2CheckboxItem,
|
|
6077
6096
|
fn as MenuV2CheckedIndicator,
|
|
6078
6097
|
Be as MenuV2Group,
|
|
@@ -6090,11 +6109,11 @@ export {
|
|
|
6090
6109
|
zn as MenuV2SelectedIndicator,
|
|
6091
6110
|
Nn as MenuV2Separator,
|
|
6092
6111
|
gn as MenuVirtualTrigger,
|
|
6093
|
-
|
|
6112
|
+
Yc as OneTimePasswordField,
|
|
6094
6113
|
wn as OneTimePasswordFieldHiddenInput,
|
|
6095
6114
|
Sn as OneTimePasswordFieldInput,
|
|
6096
6115
|
kn as OneTimePasswordFieldRoot,
|
|
6097
|
-
|
|
6116
|
+
Qc as Overlay,
|
|
6098
6117
|
Rn as OverlayClose,
|
|
6099
6118
|
Pn as OverlayContent,
|
|
6100
6119
|
Tn as OverlayDescription,
|
|
@@ -6102,31 +6121,31 @@ export {
|
|
|
6102
6121
|
On as OverlayTitle,
|
|
6103
6122
|
Vn as OverlayTrigger,
|
|
6104
6123
|
Pr as OvermapErrorBoundary,
|
|
6105
|
-
|
|
6124
|
+
Jc as Popover,
|
|
6106
6125
|
An as PopoverArrow,
|
|
6107
6126
|
Dn as PopoverContent,
|
|
6108
6127
|
Vr as Progress,
|
|
6109
6128
|
io as Provider,
|
|
6110
|
-
|
|
6129
|
+
Zc as RadioCards,
|
|
6111
6130
|
En as RadioCardsItem,
|
|
6112
6131
|
Fn as RadioCardsRoot,
|
|
6113
|
-
|
|
6132
|
+
ei as RadioGroup,
|
|
6114
6133
|
_n as RadioGroupIndicator,
|
|
6115
6134
|
Bn as RadioGroupItem,
|
|
6116
6135
|
$n as RadioGroupRoot,
|
|
6117
|
-
|
|
6136
|
+
ti as Rating,
|
|
6118
6137
|
qn as RatingItem,
|
|
6119
6138
|
Un as RatingItemIndicator,
|
|
6120
6139
|
Wn as RatingRoot,
|
|
6121
|
-
|
|
6140
|
+
ai as SegmentedControl,
|
|
6122
6141
|
Xn as SegmentedControlItem,
|
|
6123
6142
|
Yn as SegmentedControlRoot,
|
|
6124
|
-
|
|
6143
|
+
ni as SegmentedTabs,
|
|
6125
6144
|
Jn as SegmentedTabsList,
|
|
6126
6145
|
Zn as SegmentedTabsRoot,
|
|
6127
6146
|
es as SegmentedTabsTrigger,
|
|
6128
6147
|
$r as Separator,
|
|
6129
|
-
|
|
6148
|
+
Uc as SlideOut,
|
|
6130
6149
|
ut as SlideOutClose,
|
|
6131
6150
|
mt as SlideOutContent,
|
|
6132
6151
|
gt as SlideOutHandle,
|
|
@@ -6135,11 +6154,11 @@ export {
|
|
|
6135
6154
|
Ga as SlideOutTrigger,
|
|
6136
6155
|
ft as SlideOutViewport,
|
|
6137
6156
|
Kr as Slider,
|
|
6138
|
-
|
|
6139
|
-
|
|
6157
|
+
Yr as Spinner,
|
|
6158
|
+
si as Switch,
|
|
6140
6159
|
as as SwitchRoot,
|
|
6141
6160
|
ns as SwitchThumb,
|
|
6142
|
-
|
|
6161
|
+
oi as Table,
|
|
6143
6162
|
ss as TableBody,
|
|
6144
6163
|
os as TableCell,
|
|
6145
6164
|
rs as TableColumnHeaderCell,
|
|
@@ -6148,19 +6167,19 @@ export {
|
|
|
6148
6167
|
ls as TableRoot,
|
|
6149
6168
|
ds as TableRow,
|
|
6150
6169
|
us as TableRowHeaderCell,
|
|
6151
|
-
|
|
6170
|
+
ri as Tabs,
|
|
6152
6171
|
gs as TabsList,
|
|
6153
6172
|
ps as TabsRoot,
|
|
6154
6173
|
xs as TabsTrigger,
|
|
6155
6174
|
Xe as Text,
|
|
6156
|
-
|
|
6157
|
-
|
|
6158
|
-
|
|
6159
|
-
|
|
6175
|
+
oc as TextArea,
|
|
6176
|
+
mc as Toaster,
|
|
6177
|
+
xc as ToggleButton,
|
|
6178
|
+
ii as ToggleGroup,
|
|
6160
6179
|
hs as ToggleGroupIconItem,
|
|
6161
6180
|
vs as ToggleGroupItem,
|
|
6162
6181
|
bs as ToggleGroupRoot,
|
|
6163
|
-
|
|
6182
|
+
li as Tooltip,
|
|
6164
6183
|
Cs as TooltipArrow,
|
|
6165
6184
|
ys as TooltipContent,
|
|
6166
6185
|
po as badge,
|
|
@@ -6175,15 +6194,15 @@ export {
|
|
|
6175
6194
|
we as mergeRefs,
|
|
6176
6195
|
k as radiusCva,
|
|
6177
6196
|
bo as stopPropagation,
|
|
6178
|
-
|
|
6179
|
-
|
|
6197
|
+
ci as toast,
|
|
6198
|
+
Lc as useAlertDialog,
|
|
6180
6199
|
Qt as useButtonGroup,
|
|
6181
6200
|
X as useControlledState,
|
|
6182
6201
|
vo as useFallbackId,
|
|
6183
6202
|
nt as useLatest,
|
|
6184
6203
|
ke as useLayoutContext,
|
|
6185
|
-
|
|
6204
|
+
qc as useLayoutContextSelector,
|
|
6186
6205
|
M as useProvider,
|
|
6187
|
-
|
|
6188
|
-
|
|
6206
|
+
Fc as useTextFilter,
|
|
6207
|
+
Ec as useViewportSize
|
|
6189
6208
|
};
|