@voxel51/voodo 0.0.8 → 0.0.9
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/components/Select/Select.d.ts +10 -0
- package/dist/components/Select/Select.d.ts.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +126 -113
- package/dist/index.js.map +1 -1
- package/dist/voodo.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -18475,67 +18475,79 @@ const Af = ({
|
|
|
18475
18475
|
}
|
|
18476
18476
|
) });
|
|
18477
18477
|
Af.displayName = "Option";
|
|
18478
|
-
|
|
18479
|
-
|
|
18480
|
-
|
|
18481
|
-
|
|
18482
|
-
|
|
18483
|
-
|
|
18484
|
-
|
|
18485
|
-
|
|
18478
|
+
var Eg = /* @__PURE__ */ ((e) => (e.Bottom = "bottom", e.BottomStart = "bottom start", e.BottomEnd = "bottom end", e.Top = "top", e.TopStart = "top start", e.TopEnd = "top end", e))(Eg || {});
|
|
18479
|
+
const kg = ({
|
|
18480
|
+
anchor: e = "bottom start",
|
|
18481
|
+
className: r,
|
|
18482
|
+
disabled: n,
|
|
18483
|
+
exclusive: t,
|
|
18484
|
+
onChange: o,
|
|
18485
|
+
options: a,
|
|
18486
|
+
portal: i,
|
|
18487
|
+
value: s,
|
|
18488
|
+
...l
|
|
18486
18489
|
}) => {
|
|
18487
|
-
const [
|
|
18490
|
+
const [c, u] = ne(!1), [d, p] = ne(() => []);
|
|
18488
18491
|
re(() => {
|
|
18489
|
-
|
|
18490
|
-
}, [
|
|
18491
|
-
const
|
|
18492
|
-
(
|
|
18493
|
-
|
|
18492
|
+
s && s.length > 0 && p([...s]);
|
|
18493
|
+
}, [s]);
|
|
18494
|
+
const f = U(
|
|
18495
|
+
(m) => {
|
|
18496
|
+
m && p(typeof m == "string" ? [m] : [...m]), t && u(!1), o?.(m);
|
|
18494
18497
|
},
|
|
18495
|
-
[t]
|
|
18496
|
-
),
|
|
18497
|
-
(
|
|
18498
|
-
[
|
|
18498
|
+
[o, t]
|
|
18499
|
+
), h = U(
|
|
18500
|
+
(m) => m && m.length > 0 ? typeof m == "string" ? a?.find((v) => v.id === m)?.data.label ?? "" : m.map((v) => a?.find((g) => g.id === v)?.data.label).filter((v) => !!v).join(", ") : "",
|
|
18501
|
+
[a]
|
|
18499
18502
|
);
|
|
18500
|
-
return /* @__PURE__ */ P("div", { className:
|
|
18503
|
+
return /* @__PURE__ */ P("div", { className: A(r, "w-full"), ...l, children: /* @__PURE__ */ Me(
|
|
18501
18504
|
X2,
|
|
18502
18505
|
{
|
|
18503
|
-
disabled:
|
|
18504
|
-
value:
|
|
18505
|
-
onChange:
|
|
18506
|
-
multiple: !
|
|
18506
|
+
disabled: n,
|
|
18507
|
+
value: s,
|
|
18508
|
+
onChange: f,
|
|
18509
|
+
multiple: !t,
|
|
18507
18510
|
children: [
|
|
18508
18511
|
/* @__PURE__ */ P(
|
|
18509
18512
|
ad,
|
|
18510
18513
|
{
|
|
18511
|
-
displayValue:
|
|
18512
|
-
onFocus: () =>
|
|
18513
|
-
onBlur: () =>
|
|
18514
|
-
className: lf({ disabled:
|
|
18514
|
+
displayValue: h,
|
|
18515
|
+
onFocus: () => u(!0),
|
|
18516
|
+
onBlur: () => u(!1),
|
|
18517
|
+
className: A(lf({ disabled: n }), "w-full")
|
|
18515
18518
|
}
|
|
18516
18519
|
),
|
|
18517
18520
|
/* @__PURE__ */ P(
|
|
18518
18521
|
id,
|
|
18519
18522
|
{
|
|
18520
|
-
static:
|
|
18521
|
-
anchor:
|
|
18522
|
-
|
|
18523
|
-
|
|
18524
|
-
|
|
18525
|
-
|
|
18526
|
-
|
|
18527
|
-
|
|
18528
|
-
|
|
18529
|
-
|
|
18530
|
-
|
|
18531
|
-
|
|
18523
|
+
static: c,
|
|
18524
|
+
anchor: e,
|
|
18525
|
+
portal: i,
|
|
18526
|
+
className: A(
|
|
18527
|
+
"mt-1",
|
|
18528
|
+
"w-[var(--anchor-width)]",
|
|
18529
|
+
i && "z-[var(--z-above-modal)]",
|
|
18530
|
+
at(Le.Md)
|
|
18531
|
+
),
|
|
18532
|
+
children: a?.map((m) => {
|
|
18533
|
+
const v = s ?? d, g = Array.isArray(v) ? v.includes(m.id) : v === m.id;
|
|
18534
|
+
return /* @__PURE__ */ P(
|
|
18535
|
+
Af,
|
|
18536
|
+
{
|
|
18537
|
+
value: m.id,
|
|
18538
|
+
selected: g,
|
|
18539
|
+
children: /* @__PURE__ */ P(nt, { children: m.data.content ?? m.data.label })
|
|
18540
|
+
},
|
|
18541
|
+
m.id
|
|
18542
|
+
);
|
|
18543
|
+
})
|
|
18532
18544
|
}
|
|
18533
18545
|
)
|
|
18534
18546
|
]
|
|
18535
18547
|
}
|
|
18536
18548
|
) });
|
|
18537
18549
|
};
|
|
18538
|
-
|
|
18550
|
+
kg.displayName = "Select";
|
|
18539
18551
|
const bs = ({
|
|
18540
18552
|
position: e,
|
|
18541
18553
|
onDragStart: r,
|
|
@@ -18679,8 +18691,8 @@ const $f = ({
|
|
|
18679
18691
|
);
|
|
18680
18692
|
};
|
|
18681
18693
|
$f.displayName = "SliderBar";
|
|
18682
|
-
const
|
|
18683
|
-
const o =
|
|
18694
|
+
const Mg = (e, r, n) => (e - r) / (n - r), Bi = ({ max: e, min: r, value: n, threshold: t = 0.1 }) => {
|
|
18695
|
+
const o = Mg(n, r, e);
|
|
18684
18696
|
return o < t || 1 - o < t ? null : /* @__PURE__ */ P(
|
|
18685
18697
|
nt,
|
|
18686
18698
|
{
|
|
@@ -18717,13 +18729,13 @@ const kg = (e, r, n) => (e - r) / (n - r), Bi = ({ max: e, min: r, value: n, thr
|
|
|
18717
18729
|
}
|
|
18718
18730
|
);
|
|
18719
18731
|
Hf.displayName = "SliderLabels";
|
|
18720
|
-
const
|
|
18721
|
-
if (!
|
|
18732
|
+
const Pg = (e) => e != null, Og = (e) => {
|
|
18733
|
+
if (!Pg(e))
|
|
18722
18734
|
return !1;
|
|
18723
18735
|
const r = Number.parseFloat(e.toString());
|
|
18724
18736
|
return Number.isFinite(r);
|
|
18725
18737
|
}, y1 = (e, r) => (n) => {
|
|
18726
|
-
if (!
|
|
18738
|
+
if (!Og(n))
|
|
18727
18739
|
return !1;
|
|
18728
18740
|
const t = n.toString();
|
|
18729
18741
|
return Number.parseFloat(t) >= e && Number.parseFloat(t) <= r;
|
|
@@ -18820,7 +18832,7 @@ const Mg = (e) => e != null, Pg = (e) => {
|
|
|
18820
18832
|
]
|
|
18821
18833
|
}
|
|
18822
18834
|
);
|
|
18823
|
-
},
|
|
18835
|
+
}, _g = ({
|
|
18824
18836
|
onChange: e,
|
|
18825
18837
|
max: r,
|
|
18826
18838
|
min: n,
|
|
@@ -18834,7 +18846,7 @@ const Mg = (e) => e != null, Pg = (e) => {
|
|
|
18834
18846
|
multi: !1,
|
|
18835
18847
|
onChange: e
|
|
18836
18848
|
}
|
|
18837
|
-
),
|
|
18849
|
+
), Tg = ({
|
|
18838
18850
|
onChange: e,
|
|
18839
18851
|
max: r,
|
|
18840
18852
|
min: n,
|
|
@@ -18850,8 +18862,8 @@ const Mg = (e) => e != null, Pg = (e) => {
|
|
|
18850
18862
|
}
|
|
18851
18863
|
);
|
|
18852
18864
|
xl.displayName = "BaseSlider";
|
|
18853
|
-
|
|
18854
|
-
|
|
18865
|
+
_g.displayName = "SingleValueSlider";
|
|
18866
|
+
Tg.displayName = "MultiValueSlider";
|
|
18855
18867
|
const Yf = ({ className: e, ...r }) => /* @__PURE__ */ Me(
|
|
18856
18868
|
"svg",
|
|
18857
18869
|
{
|
|
@@ -18884,12 +18896,12 @@ const Yf = ({ className: e, ...r }) => /* @__PURE__ */ Me(
|
|
|
18884
18896
|
}
|
|
18885
18897
|
);
|
|
18886
18898
|
Yf.displayName = "SpinnerIcon";
|
|
18887
|
-
const
|
|
18899
|
+
const Lg = {
|
|
18888
18900
|
[B.Xs]: "size-3",
|
|
18889
18901
|
[B.Sm]: "size-4",
|
|
18890
18902
|
[B.Md]: "size-5",
|
|
18891
18903
|
[B.Lg]: "size-6"
|
|
18892
|
-
},
|
|
18904
|
+
}, Rg = ({
|
|
18893
18905
|
className: e,
|
|
18894
18906
|
size: r = B.Md,
|
|
18895
18907
|
...n
|
|
@@ -18897,7 +18909,7 @@ const Tg = {
|
|
|
18897
18909
|
"div",
|
|
18898
18910
|
{
|
|
18899
18911
|
className: he(
|
|
18900
|
-
|
|
18912
|
+
Lg[r],
|
|
18901
18913
|
ke(Ce.Primary),
|
|
18902
18914
|
e
|
|
18903
18915
|
),
|
|
@@ -18905,18 +18917,18 @@ const Tg = {
|
|
|
18905
18917
|
children: /* @__PURE__ */ P(Yf, { className: "animate-spin" })
|
|
18906
18918
|
}
|
|
18907
18919
|
);
|
|
18908
|
-
|
|
18909
|
-
const
|
|
18920
|
+
Rg.displayName = "Spinner";
|
|
18921
|
+
const Ng = {
|
|
18910
18922
|
[B.Xs]: A("px-2.5 py-1.5", "text-xs/5"),
|
|
18911
18923
|
[B.Sm]: A("px-3 py-2", "text-sm/6"),
|
|
18912
18924
|
[B.Md]: A("px-3.5 py-2.5", "text-md/7"),
|
|
18913
18925
|
[B.Lg]: A("px-4 py-3", "text-lg/9")
|
|
18914
|
-
},
|
|
18926
|
+
}, Ig = {
|
|
18915
18927
|
none: "resize-none",
|
|
18916
18928
|
vertical: "resize-y",
|
|
18917
18929
|
horizontal: "resize-x",
|
|
18918
18930
|
both: "resize"
|
|
18919
|
-
},
|
|
18931
|
+
}, Fg = ({
|
|
18920
18932
|
size: e = B.Md,
|
|
18921
18933
|
radius: r = Le.Sm,
|
|
18922
18934
|
error: n = !1,
|
|
@@ -18950,27 +18962,27 @@ const Rg = {
|
|
|
18950
18962
|
"disabled:bg-content-bg-muted",
|
|
18951
18963
|
n && "border-semantic-destructive",
|
|
18952
18964
|
n && "focus:ring-semantic-destructive",
|
|
18953
|
-
|
|
18965
|
+
Ng[e],
|
|
18954
18966
|
at(r),
|
|
18955
|
-
|
|
18967
|
+
Ig[t],
|
|
18956
18968
|
a
|
|
18957
18969
|
),
|
|
18958
18970
|
...l
|
|
18959
18971
|
}
|
|
18960
18972
|
) });
|
|
18961
|
-
|
|
18962
|
-
const
|
|
18973
|
+
Fg.displayName = "TextArea";
|
|
18974
|
+
const Ag = ({
|
|
18963
18975
|
color: e = ur.Brand,
|
|
18964
18976
|
children: r,
|
|
18965
18977
|
...n
|
|
18966
18978
|
}) => /* @__PURE__ */ P(nt, { color: e, variant: Oe.Label, ...n, children: r });
|
|
18967
|
-
|
|
18968
|
-
const
|
|
18979
|
+
Ag.displayName = "TextBadge";
|
|
18980
|
+
const $g = {
|
|
18969
18981
|
[ft.Primary]: ke(Ce.Primary),
|
|
18970
18982
|
[ft.Secondary]: ke(Ce.Secondary),
|
|
18971
18983
|
[ft.Success]: ke(ur.Success),
|
|
18972
18984
|
[ft.Danger]: ke(ur.Destructive)
|
|
18973
|
-
},
|
|
18985
|
+
}, ub = ({
|
|
18974
18986
|
action: e,
|
|
18975
18987
|
anchor: r = je.Bottom,
|
|
18976
18988
|
className: n,
|
|
@@ -18994,7 +19006,7 @@ const Ag = {
|
|
|
18994
19006
|
),
|
|
18995
19007
|
...l,
|
|
18996
19008
|
children: [
|
|
18997
|
-
o && /* @__PURE__ */ P("span", { className: A("size-5",
|
|
19009
|
+
o && /* @__PURE__ */ P("span", { className: A("size-5", $g[s]), children: /* @__PURE__ */ P(o, {}) }),
|
|
18998
19010
|
/* @__PURE__ */ Me("div", { className: "flex items-center gap-x-xl", children: [
|
|
18999
19011
|
/* @__PURE__ */ Me("div", { className: "flex flex-col", children: [
|
|
19000
19012
|
i && /* @__PURE__ */ P(nt, { className: "font-semibold", children: i }),
|
|
@@ -19004,16 +19016,16 @@ const Ag = {
|
|
|
19004
19016
|
] })
|
|
19005
19017
|
]
|
|
19006
19018
|
}
|
|
19007
|
-
) }),
|
|
19019
|
+
) }), Hg = {
|
|
19008
19020
|
[B.Sm]: he("w-8 h-4"),
|
|
19009
19021
|
[B.Md]: he("w-9 h-5")
|
|
19010
|
-
},
|
|
19022
|
+
}, Yg = {
|
|
19011
19023
|
[B.Sm]: he("w-3 h-3"),
|
|
19012
19024
|
[B.Md]: he("w-4 h-4")
|
|
19013
|
-
},
|
|
19025
|
+
}, Vg = {
|
|
19014
19026
|
[B.Sm]: ba[Oe.Sm],
|
|
19015
19027
|
[B.Md]: ba[Oe.Md]
|
|
19016
|
-
},
|
|
19028
|
+
}, Bg = (e) => {
|
|
19017
19029
|
switch (e) {
|
|
19018
19030
|
case B.Sm:
|
|
19019
19031
|
return "group-data-checked:translate-x-[calc(2.3rem-1rem-0.28rem)]";
|
|
@@ -19022,7 +19034,7 @@ const Ag = {
|
|
|
19022
19034
|
default:
|
|
19023
19035
|
return "";
|
|
19024
19036
|
}
|
|
19025
|
-
},
|
|
19037
|
+
}, Wg = ({
|
|
19026
19038
|
checked: e = !1,
|
|
19027
19039
|
disabled: r = !1,
|
|
19028
19040
|
onChange: n = void 0,
|
|
@@ -19062,7 +19074,7 @@ const Ag = {
|
|
|
19062
19074
|
// when checked
|
|
19063
19075
|
"data-checked:bg-action-primary-primary",
|
|
19064
19076
|
"data-checked:border-action-primary-primary",
|
|
19065
|
-
|
|
19077
|
+
Hg[t],
|
|
19066
19078
|
at(Le.Full),
|
|
19067
19079
|
// intentionally require Full radius
|
|
19068
19080
|
o
|
|
@@ -19082,8 +19094,8 @@ const Ag = {
|
|
|
19082
19094
|
// show focus on outside of track
|
|
19083
19095
|
"transition-transform",
|
|
19084
19096
|
"translate-x-0.5",
|
|
19085
|
-
|
|
19086
|
-
|
|
19097
|
+
Yg[t],
|
|
19098
|
+
Bg(t)
|
|
19087
19099
|
)
|
|
19088
19100
|
}
|
|
19089
19101
|
)
|
|
@@ -19094,7 +19106,7 @@ const Ag = {
|
|
|
19094
19106
|
{
|
|
19095
19107
|
className: he(
|
|
19096
19108
|
ke(Ce.Muted),
|
|
19097
|
-
|
|
19109
|
+
Vg[t],
|
|
19098
19110
|
"cursor-pointer",
|
|
19099
19111
|
a
|
|
19100
19112
|
),
|
|
@@ -19102,21 +19114,21 @@ const Ag = {
|
|
|
19102
19114
|
}
|
|
19103
19115
|
)
|
|
19104
19116
|
] });
|
|
19105
|
-
|
|
19106
|
-
var
|
|
19107
|
-
const
|
|
19117
|
+
Wg.displayName = "Toggle";
|
|
19118
|
+
var zg = /* @__PURE__ */ ((e) => (e.Default = "default", e.Soft = "soft", e.Full = "full", e.Borderless = "borderless", e))(zg || {});
|
|
19119
|
+
const jg = {
|
|
19108
19120
|
[B.Xs]: A(Ht(Oe.Xs), "min-w-5 min-h-5"),
|
|
19109
19121
|
[B.Sm]: A(Ht(Oe.Sm), "min-w-6 min-h-6"),
|
|
19110
19122
|
[B.Md]: A(Ht(Oe.Md), "min-w-7 min-h-7")
|
|
19111
|
-
},
|
|
19123
|
+
}, Ug = {
|
|
19112
19124
|
[B.Xs]: A("min-w-5 min-h-5"),
|
|
19113
19125
|
[B.Sm]: A("min-w-6 min-h-6"),
|
|
19114
19126
|
[B.Md]: A("min-w-7 min-h-7")
|
|
19115
|
-
},
|
|
19127
|
+
}, Zg = {
|
|
19116
19128
|
[B.Xs]: A("py-1 px-3"),
|
|
19117
19129
|
[B.Sm]: A("py-1.5 px-3.75"),
|
|
19118
19130
|
[B.Md]: A("py-2 px-4")
|
|
19119
|
-
},
|
|
19131
|
+
}, Kg = {
|
|
19120
19132
|
soft: A(
|
|
19121
19133
|
"m-1",
|
|
19122
19134
|
"py-1 px-1.5",
|
|
@@ -19136,10 +19148,10 @@ const zg = {
|
|
|
19136
19148
|
ke(Ce.Primary, fe.Selected),
|
|
19137
19149
|
"data-[selected]:border-b-2"
|
|
19138
19150
|
)
|
|
19139
|
-
},
|
|
19140
|
-
const n = [
|
|
19141
|
-
return e !== "soft" ? n.push(
|
|
19142
|
-
},
|
|
19151
|
+
}, Gg = (e, r, n) => e === "soft" || e === "borderless" ? "" : r && n ? "rounded-md" : r ? "rounded-l-md" : n ? "rounded-r-md" : "", Qg = (e, r) => {
|
|
19152
|
+
const n = [Kg[e], jg[r]];
|
|
19153
|
+
return e !== "soft" ? n.push(Zg[r]) : n.push(Ug[r]), A(...n);
|
|
19154
|
+
}, qg = ({
|
|
19143
19155
|
tabs: e,
|
|
19144
19156
|
variant: r = "default",
|
|
19145
19157
|
defaultIndex: n = 0,
|
|
@@ -19177,8 +19189,8 @@ const zg = {
|
|
|
19177
19189
|
ke(Ce.Primary, fe.Hover),
|
|
19178
19190
|
Ee(pt.Card2, fe.Selected),
|
|
19179
19191
|
"data-[focus]:outline-none",
|
|
19180
|
-
|
|
19181
|
-
|
|
19192
|
+
Gg(r, p, f),
|
|
19193
|
+
Qg(r, o)
|
|
19182
19194
|
),
|
|
19183
19195
|
children: u.label
|
|
19184
19196
|
},
|
|
@@ -19189,18 +19201,18 @@ const zg = {
|
|
|
19189
19201
|
),
|
|
19190
19202
|
/* @__PURE__ */ P(xd, { className: he(s), children: e.map(({ id: c, data: u }) => /* @__PURE__ */ P(Dd, { className: he("focus:outline-none"), children: u.content }, c)) })
|
|
19191
19203
|
] });
|
|
19192
|
-
|
|
19193
|
-
const
|
|
19204
|
+
qg.displayName = "ToggleSwitch";
|
|
19205
|
+
const Xg = {
|
|
19194
19206
|
[je.Top]: "-translate-y-2",
|
|
19195
19207
|
[je.Right]: "translate-x-4",
|
|
19196
19208
|
[je.Bottom]: "translate-y-2",
|
|
19197
19209
|
[je.Left]: "-translate-x-4"
|
|
19198
|
-
},
|
|
19210
|
+
}, Jg = {
|
|
19199
19211
|
[je.Top]: "bottom-0 left-1/2 -translate-x-1/2 translate-y-1/2",
|
|
19200
19212
|
[je.Right]: "left-0 top-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
19201
19213
|
[je.Bottom]: "top-0 left-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
19202
19214
|
[je.Left]: "right-0 top-1/2 translate-x-1/2 -translate-y-1/2"
|
|
19203
|
-
},
|
|
19215
|
+
}, eb = ({ anchor: e }) => /* @__PURE__ */ P(
|
|
19204
19216
|
"div",
|
|
19205
19217
|
{
|
|
19206
19218
|
className: A(
|
|
@@ -19208,10 +19220,10 @@ const qg = {
|
|
|
19208
19220
|
"w-2 h-2",
|
|
19209
19221
|
"rotate-45",
|
|
19210
19222
|
"bg-inherit",
|
|
19211
|
-
|
|
19223
|
+
Jg[e]
|
|
19212
19224
|
)
|
|
19213
19225
|
}
|
|
19214
|
-
),
|
|
19226
|
+
), tb = ({
|
|
19215
19227
|
anchor: e = je.Top,
|
|
19216
19228
|
content: r,
|
|
19217
19229
|
children: n,
|
|
@@ -19242,19 +19254,19 @@ const qg = {
|
|
|
19242
19254
|
"!overflow-visible",
|
|
19243
19255
|
Ee(pt.Card2),
|
|
19244
19256
|
at(Le.Sm),
|
|
19245
|
-
|
|
19257
|
+
Xg[e],
|
|
19246
19258
|
t
|
|
19247
19259
|
),
|
|
19248
19260
|
children: [
|
|
19249
19261
|
/* @__PURE__ */ P("div", { className: "max-w-[500px] break-words", children: r }),
|
|
19250
|
-
/* @__PURE__ */ P(
|
|
19262
|
+
/* @__PURE__ */ P(eb, { anchor: e })
|
|
19251
19263
|
]
|
|
19252
19264
|
}
|
|
19253
19265
|
)
|
|
19254
19266
|
] });
|
|
19255
19267
|
};
|
|
19256
|
-
|
|
19257
|
-
const
|
|
19268
|
+
tb.displayName = "Tooltip";
|
|
19269
|
+
const nb = (e) => ({
|
|
19258
19270
|
components: {
|
|
19259
19271
|
MuiButtonBase: {
|
|
19260
19272
|
defaultProps: {
|
|
@@ -19357,7 +19369,7 @@ const tb = (e) => ({
|
|
|
19357
19369
|
}
|
|
19358
19370
|
}
|
|
19359
19371
|
}
|
|
19360
|
-
}),
|
|
19372
|
+
}), rb = {
|
|
19361
19373
|
dark: {
|
|
19362
19374
|
content: {
|
|
19363
19375
|
bg: {
|
|
@@ -19421,7 +19433,7 @@ const tb = (e) => ({
|
|
|
19421
19433
|
mode: e = "dark",
|
|
19422
19434
|
overrides: r = {}
|
|
19423
19435
|
} = {}) => {
|
|
19424
|
-
const { light: n, dark: t } =
|
|
19436
|
+
const { light: n, dark: t } = rb, o = e === "light" ? n : t, a = {
|
|
19425
19437
|
palette: {
|
|
19426
19438
|
mode: e,
|
|
19427
19439
|
primary: {
|
|
@@ -19475,7 +19487,7 @@ const tb = (e) => ({
|
|
|
19475
19487
|
}
|
|
19476
19488
|
},
|
|
19477
19489
|
spacing: (s) => `${s * 0.25}rem`
|
|
19478
|
-
}, i =
|
|
19490
|
+
}, i = nb(a);
|
|
19479
19491
|
return {
|
|
19480
19492
|
...a,
|
|
19481
19493
|
...i,
|
|
@@ -19486,7 +19498,7 @@ const tb = (e) => ({
|
|
|
19486
19498
|
...r.components
|
|
19487
19499
|
}
|
|
19488
19500
|
};
|
|
19489
|
-
},
|
|
19501
|
+
}, db = Vf({ mode: "dark" }), fb = Vf({ mode: "light" });
|
|
19490
19502
|
export {
|
|
19491
19503
|
qe as ActionColor,
|
|
19492
19504
|
Kp as ActivityToast,
|
|
@@ -19511,7 +19523,7 @@ export {
|
|
|
19511
19523
|
fs as Input,
|
|
19512
19524
|
k9 as InputType,
|
|
19513
19525
|
cf as ListItem,
|
|
19514
|
-
|
|
19526
|
+
Tg as MultiValueSlider,
|
|
19515
19527
|
dr as Orientation,
|
|
19516
19528
|
O9 as Pill,
|
|
19517
19529
|
df as Radio,
|
|
@@ -19520,36 +19532,37 @@ export {
|
|
|
19520
19532
|
ff as RichButton,
|
|
19521
19533
|
F9 as RichButtonGroup,
|
|
19522
19534
|
Sg as RichList,
|
|
19523
|
-
|
|
19535
|
+
kg as Select,
|
|
19536
|
+
Eg as SelectAnchor,
|
|
19524
19537
|
E1 as SemanticColor,
|
|
19525
19538
|
nr as Shadow,
|
|
19526
|
-
|
|
19539
|
+
_g as SingleValueSlider,
|
|
19527
19540
|
B as Size,
|
|
19528
19541
|
Tt as Spacing,
|
|
19529
|
-
|
|
19542
|
+
Rg as Spinner,
|
|
19530
19543
|
_o as Stack,
|
|
19531
19544
|
ep as StatusColor,
|
|
19532
19545
|
nt as Text,
|
|
19533
|
-
|
|
19534
|
-
|
|
19546
|
+
Fg as TextArea,
|
|
19547
|
+
Ag as TextBadge,
|
|
19535
19548
|
Ce as TextColor,
|
|
19536
19549
|
Oe as TextVariant,
|
|
19537
|
-
|
|
19550
|
+
ub as Toast,
|
|
19538
19551
|
Ss as ToastContainer,
|
|
19539
|
-
|
|
19540
|
-
|
|
19541
|
-
|
|
19542
|
-
|
|
19552
|
+
Wg as Toggle,
|
|
19553
|
+
qg as ToggleSwitch,
|
|
19554
|
+
zg as ToggleSwitchVariant,
|
|
19555
|
+
tb as Tooltip,
|
|
19543
19556
|
ft as Variant,
|
|
19544
19557
|
Ee as bgColorClass,
|
|
19545
19558
|
Ye as borderColorClass,
|
|
19546
19559
|
Vf as createMUIThemeConfig,
|
|
19547
|
-
|
|
19560
|
+
db as defaultMUIThemeConfig,
|
|
19548
19561
|
Ds as getColorCssVar,
|
|
19549
|
-
|
|
19562
|
+
nb as getComponentThemeConfig,
|
|
19550
19563
|
_8 as iconMap,
|
|
19551
19564
|
lf as inputStyle,
|
|
19552
|
-
|
|
19565
|
+
fb as lightMUIThemeConfig,
|
|
19553
19566
|
ke as textColorClass,
|
|
19554
19567
|
xs as withElementState
|
|
19555
19568
|
};
|