@shmidko61/lc-ui-kit 0.12.0 → 0.15.0
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/README.md +65 -0
- package/dist/alert/alert.d.ts +5 -0
- package/dist/alert/helpers/alert.helpers.d.ts +27 -0
- package/dist/alert/helpers/index.d.ts +1 -0
- package/dist/alert/index.d.ts +2 -0
- package/dist/alert/types/alert.types.d.ts +25 -0
- package/dist/alert/types/index.d.ts +1 -0
- package/dist/alert-CTIWpkmD.js +128 -0
- package/dist/alert-DTc0Usg-.cjs +1 -0
- package/dist/alert.cjs +1 -0
- package/dist/alert.js +4 -0
- package/dist/box/box.d.ts +1 -1
- package/dist/box/box.types.d.ts +2 -2
- package/dist/box/helpers/box-animation.helpers.d.ts +8 -0
- package/dist/box/helpers/index.d.ts +1 -0
- package/dist/box/index.d.ts +1 -0
- package/dist/box/types/box-animation.types.d.ts +3 -0
- package/dist/box/types/index.d.ts +1 -0
- package/dist/box.cjs +1 -1
- package/dist/box.js +436 -312
- package/dist/button/button.helpers.d.ts +1 -1
- package/dist/button/index.d.ts +1 -0
- package/dist/button.cjs +1 -1
- package/dist/button.js +163 -156
- package/dist/flex/flex.d.ts +1 -1
- package/dist/flex/flex.types.d.ts +1 -1
- package/dist/flex/index.d.ts +1 -0
- package/dist/icons/icons.d.ts +8 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons.cjs +1 -1
- package/dist/icons.js +40 -36
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +111 -92
- package/dist/input/input.types.d.ts +1 -1
- package/dist/loader/helpers/index.d.ts +1 -0
- package/dist/loader/helpers/loader.helpers.d.ts +2 -0
- package/dist/loader/index.d.ts +2 -0
- package/dist/loader/loader.d.ts +5 -0
- package/dist/loader/types/index.d.ts +1 -0
- package/dist/loader/types/loader.types.d.ts +28 -0
- package/dist/loader-Daam055i.js +104 -0
- package/dist/loader-ODTCTLKE.cjs +1 -0
- package/dist/loader.cjs +1 -0
- package/dist/loader.js +4 -0
- package/dist/media-gallery.cjs +1 -1
- package/dist/media-gallery.js +42 -30
- package/dist/notification-provider/helpers/index.d.ts +1 -0
- package/dist/notification-provider/helpers/notification-provider.helpers.d.ts +8 -0
- package/dist/notification-provider/hooks/index.d.ts +1 -0
- package/dist/notification-provider/hooks/notification-provider.hooks.d.ts +5 -0
- package/dist/notification-provider/index.d.ts +3 -0
- package/dist/notification-provider/notification-provider.d.ts +4 -0
- package/dist/notification-provider/types/index.d.ts +1 -0
- package/dist/notification-provider/types/notification-provider.types.d.ts +61 -0
- package/dist/notification-provider-C2ypXy2W.cjs +1 -0
- package/dist/notification-provider-WLUaZyMB.js +113 -0
- package/dist/notification-provider.cjs +1 -0
- package/dist/notification-provider.js +6 -0
- package/dist/progress-bar/helpers/index.d.ts +1 -0
- package/dist/progress-bar/helpers/progress-bar.helpers.d.ts +6 -0
- package/dist/progress-bar/index.d.ts +2 -0
- package/dist/progress-bar/progress-bar.d.ts +5 -0
- package/dist/progress-bar/types/index.d.ts +1 -0
- package/dist/progress-bar/types/progress-bar.types.d.ts +80 -0
- package/dist/progress-bar-D4CL9r42.js +236 -0
- package/dist/progress-bar-XIJDb_UM.cjs +1 -0
- package/dist/progress-bar.cjs +1 -0
- package/dist/progress-bar.js +4 -0
- package/dist/shared/responsive-style/index.d.ts +1 -0
- package/dist/shared/responsive-style/responsive-style.types.d.ts +1 -1
- package/dist/styles.css +1 -1
- package/dist/tabs/helpers/index.d.ts +1 -0
- package/dist/tabs/helpers/tabs.helpers.d.ts +7 -0
- package/dist/tabs/hooks/index.d.ts +1 -0
- package/dist/tabs/hooks/tabs.hooks.d.ts +5 -0
- package/dist/tabs/index.d.ts +2 -0
- package/dist/tabs/tabs.d.ts +4 -0
- package/dist/tabs/types/index.d.ts +1 -0
- package/dist/tabs/types/tabs.types.d.ts +95 -0
- package/dist/tabs-BNZDJRz_.cjs +1 -0
- package/dist/tabs-DIPSJX1z.js +264 -0
- package/dist/tabs.cjs +1 -0
- package/dist/tabs.js +5 -0
- package/dist/toast/index.d.ts +2 -0
- package/dist/toast/toast.d.ts +5 -0
- package/dist/toast/types/index.d.ts +1 -0
- package/dist/toast/types/toast.types.d.ts +10 -0
- package/dist/toast-CH8VqvLC.cjs +1 -0
- package/dist/toast-DpjugQ8H.js +49 -0
- package/dist/toast.cjs +1 -0
- package/dist/toast.js +4 -0
- package/dist/tooltip/helpers/index.d.ts +1 -0
- package/dist/tooltip/helpers/tooltip.helpers.d.ts +7 -0
- package/dist/tooltip/index.d.ts +2 -0
- package/dist/tooltip/tooltip.d.ts +5 -0
- package/dist/tooltip/types/index.d.ts +1 -0
- package/dist/tooltip/types/tooltip.types.d.ts +51 -0
- package/dist/tooltip-0RbTCYn_.cjs +1 -0
- package/dist/tooltip-CWnHAfbI.js +166 -0
- package/dist/tooltip.cjs +1 -0
- package/dist/tooltip.js +4 -0
- package/dist/types/animation.types.d.ts +35 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/typography/index.d.ts +1 -0
- package/dist/typography/typography.helpers.d.ts +1 -1
- package/package.json +68 -4
package/dist/box.js
CHANGED
|
@@ -1,61 +1,98 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { a as
|
|
4
|
-
function
|
|
5
|
-
background:
|
|
6
|
-
backgroundColor:
|
|
1
|
+
import { jsx as ht } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as $t, useMemo as yt } from "react";
|
|
3
|
+
import { a as x, r as Bt, c as xt } from "./responsive-style.config-DFuATrIM.js";
|
|
4
|
+
function ot({
|
|
5
|
+
background: o,
|
|
6
|
+
backgroundColor: t,
|
|
7
7
|
bg: i,
|
|
8
|
-
bgSize:
|
|
9
|
-
bgRepeat:
|
|
10
|
-
bgPosition:
|
|
11
|
-
border:
|
|
12
|
-
boxShadow:
|
|
13
|
-
color:
|
|
14
|
-
cursor:
|
|
15
|
-
opacity:
|
|
16
|
-
overflow:
|
|
17
|
-
overflowX:
|
|
8
|
+
bgSize: e,
|
|
9
|
+
bgRepeat: s,
|
|
10
|
+
bgPosition: a,
|
|
11
|
+
border: c,
|
|
12
|
+
boxShadow: d,
|
|
13
|
+
color: n,
|
|
14
|
+
cursor: l,
|
|
15
|
+
opacity: b,
|
|
16
|
+
overflow: f,
|
|
17
|
+
overflowX: h,
|
|
18
18
|
overflowY: y,
|
|
19
|
-
pointerEvents:
|
|
20
|
-
aspectRatio:
|
|
21
|
-
transform:
|
|
22
|
-
transformOrigin:
|
|
23
|
-
p:
|
|
24
|
-
m:
|
|
25
|
-
outlineColor:
|
|
26
|
-
outlineWidth:
|
|
27
|
-
outlineOffset:
|
|
28
|
-
outlineStyle:
|
|
29
|
-
listStyle:
|
|
30
|
-
display:
|
|
31
|
-
position:
|
|
32
|
-
width:
|
|
33
|
-
maxWidth:
|
|
34
|
-
minWidth:
|
|
35
|
-
height:
|
|
19
|
+
pointerEvents: p,
|
|
20
|
+
aspectRatio: u,
|
|
21
|
+
transform: $,
|
|
22
|
+
transformOrigin: g,
|
|
23
|
+
p: C,
|
|
24
|
+
m: W,
|
|
25
|
+
outlineColor: S,
|
|
26
|
+
outlineWidth: k,
|
|
27
|
+
outlineOffset: R,
|
|
28
|
+
outlineStyle: T,
|
|
29
|
+
listStyle: w,
|
|
30
|
+
display: I,
|
|
31
|
+
position: v,
|
|
32
|
+
width: V,
|
|
33
|
+
maxWidth: P,
|
|
34
|
+
minWidth: j,
|
|
35
|
+
height: M,
|
|
36
36
|
maxHeight: O,
|
|
37
|
-
minHeight:
|
|
37
|
+
minHeight: A
|
|
38
38
|
}) {
|
|
39
|
-
const
|
|
40
|
-
return i !== void 0 ?
|
|
41
|
-
}
|
|
42
|
-
function
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
for (const
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
classPrefix: `${
|
|
49
|
-
variablePrefix: `${
|
|
50
|
-
isGroupParent:
|
|
39
|
+
const r = {};
|
|
40
|
+
return i !== void 0 ? Et(r, i) : o !== void 0 && (r.background = D(o)), t !== void 0 && (r.backgroundColor = D(t)), e !== void 0 && (r.backgroundSize = Mt(e)), s !== void 0 && (r.backgroundRepeat = Ot(s)), a !== void 0 && (r.backgroundPosition = At(a)), Nt(r, c), d !== void 0 && (r.boxShadow = B(d)), n !== void 0 && (r.color = B(n)), l !== void 0 && (r.cursor = l), b !== void 0 && (r.opacity = typeof b == "number" ? b : B(b)), f !== void 0 && (r.overflowX = f, r.overflowY = f), h !== void 0 && (r.overflowX = h), y !== void 0 && (r.overflowY = y), p !== void 0 && (r.pointerEvents = p), u !== void 0 && (r.aspectRatio = typeof u == "number" ? String(u) : B(u)), $ !== void 0 && (r.transform = B($)), g !== void 0 && (r.transformOrigin = B(g)), zt(r, C), Lt(r, W), S !== void 0 && (r.outlineColor = B(S)), k !== void 0 && (r.outlineWidth = k), R !== void 0 && (r.outlineOffset = R), T !== void 0 && (r.outlineStyle = T), w?.position !== void 0 && (r.listStylePosition = w.position), w?.type !== void 0 && (r.listStyleType = w.type), I !== void 0 && (r.display = jt(I)), v?.type !== void 0 && (r.position = v.type), v?.top !== void 0 && (r.top = F(v.top)), v?.left !== void 0 && (r.left = F(v.left)), v?.right !== void 0 && (r.right = F(v.right)), v?.bottom !== void 0 && (r.bottom = F(v.bottom)), v?.zIndex !== void 0 && (r.zIndex = v.zIndex), V !== void 0 && (r.width = z(V)), P !== void 0 && (r.maxWidth = z(P)), j !== void 0 && (r.minWidth = z(j)), M !== void 0 && (r.height = z(M)), O !== void 0 && (r.maxHeight = z(O)), A !== void 0 && (r.minHeight = z(A)), Object.keys(r).length > 0 ? r : void 0;
|
|
41
|
+
}
|
|
42
|
+
function St(o) {
|
|
43
|
+
const t = [], i = {}, e = o.groupParent === !0;
|
|
44
|
+
Q(o, t, i, { isGroupParent: e });
|
|
45
|
+
for (const s of x) {
|
|
46
|
+
const a = o[s];
|
|
47
|
+
a && Q(a, t, i, {
|
|
48
|
+
classPrefix: `${s}:`,
|
|
49
|
+
variablePrefix: `${s}-`,
|
|
50
|
+
isGroupParent: e
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
return
|
|
54
|
-
className:
|
|
53
|
+
return kt(o, t, i), Rt(o, t, i), {
|
|
54
|
+
className: t.join(" "),
|
|
55
55
|
style: Object.keys(i).length > 0 ? i : void 0
|
|
56
56
|
};
|
|
57
57
|
}
|
|
58
|
-
|
|
58
|
+
function kt(o, t, i) {
|
|
59
|
+
let e = {};
|
|
60
|
+
const s = [
|
|
61
|
+
{ value: o.animation, prefix: "", variable: "" },
|
|
62
|
+
...x.map((a) => ({
|
|
63
|
+
value: o[a]?.animation,
|
|
64
|
+
prefix: a + ":",
|
|
65
|
+
variable: a + "-"
|
|
66
|
+
}))
|
|
67
|
+
];
|
|
68
|
+
for (const a of s)
|
|
69
|
+
if (a.value !== void 0) {
|
|
70
|
+
if (a.value === "none")
|
|
71
|
+
e = {}, i[`--${a.variable}animation`] = "none";
|
|
72
|
+
else {
|
|
73
|
+
const c = a.value === "spin" ? { preset: "spin", keyframes: null } : a.value;
|
|
74
|
+
e = {
|
|
75
|
+
...e,
|
|
76
|
+
...c,
|
|
77
|
+
...c.easing !== void 0 ? { timingFunction: c.easing } : {},
|
|
78
|
+
...c.iterations !== void 0 ? { iterationCount: c.iterations === 1 / 0 ? "infinite" : c.iterations } : {}
|
|
79
|
+
};
|
|
80
|
+
const d = e.keyframes || e.preset === "spin" ? "none" : e.preset ?? "none";
|
|
81
|
+
i[`--${a.variable}animation`] = [
|
|
82
|
+
d,
|
|
83
|
+
typeof e.duration == "number" ? e.duration + "ms" : e.duration ?? "1s",
|
|
84
|
+
e.timingFunction ?? "linear",
|
|
85
|
+
typeof e.delay == "number" ? e.delay + "ms" : e.delay ?? "0ms",
|
|
86
|
+
e.iterationCount ?? "infinite",
|
|
87
|
+
e.direction ?? "normal",
|
|
88
|
+
e.fillMode ?? "none",
|
|
89
|
+
e.playState ?? "running"
|
|
90
|
+
].join(" ");
|
|
91
|
+
}
|
|
92
|
+
t.push(`${a.prefix}[animation:var(--${a.variable}animation)]`);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
const q = [
|
|
59
96
|
{
|
|
60
97
|
prop: "hover",
|
|
61
98
|
name: "hover",
|
|
@@ -77,114 +114,114 @@ const X = [
|
|
|
77
114
|
variant: "[&:is(:disabled,[aria-disabled=true],[data-disabled=true]):is(:disabled,[aria-disabled=true],[data-disabled=true])]"
|
|
78
115
|
}
|
|
79
116
|
];
|
|
80
|
-
function
|
|
81
|
-
const
|
|
82
|
-
for (const
|
|
83
|
-
for (const
|
|
84
|
-
Object.keys(
|
|
85
|
-
(
|
|
86
|
-
),
|
|
87
|
-
if (
|
|
88
|
-
for (const
|
|
89
|
-
const
|
|
90
|
-
for (const
|
|
91
|
-
|
|
117
|
+
function Rt(o, t, i) {
|
|
118
|
+
const e = [o, ...x.map((n) => o[n] ?? {})], s = /* @__PURE__ */ new Set();
|
|
119
|
+
for (const n of q)
|
|
120
|
+
for (const l of e)
|
|
121
|
+
Object.keys(Z(l, n.prop)).forEach(
|
|
122
|
+
(b) => s.add(b)
|
|
123
|
+
), n.prop === "hover" && l.hover === null && s.add("backgroundColor");
|
|
124
|
+
if (s.size === 0) return;
|
|
125
|
+
for (const n of s) {
|
|
126
|
+
const l = X(n);
|
|
127
|
+
for (const b of q)
|
|
128
|
+
t.push(`[--ui-state-${b.name}-${l}:initial]`);
|
|
92
129
|
}
|
|
93
|
-
let
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
const
|
|
98
|
-
for (const
|
|
99
|
-
const
|
|
100
|
-
Object.keys(y).forEach((
|
|
101
|
-
for (const
|
|
102
|
-
const
|
|
103
|
-
i[
|
|
104
|
-
const
|
|
105
|
-
i[
|
|
106
|
-
const
|
|
107
|
-
i[
|
|
108
|
-
const
|
|
109
|
-
|
|
110
|
-
`${
|
|
111
|
-
`${
|
|
130
|
+
let a = {};
|
|
131
|
+
const c = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Map();
|
|
132
|
+
e.forEach((n, l) => {
|
|
133
|
+
a = { ...a, ...K(n) };
|
|
134
|
+
const b = l === 0 ? "" : `${x[l - 1]}:`;
|
|
135
|
+
for (const f of q) {
|
|
136
|
+
const h = c.get(f.name) ?? {}, y = Z(n, f.prop), p = n[f.prop] === null ? {} : { ...h, ...y }, u = d.get(f.name) ?? /* @__PURE__ */ new Set();
|
|
137
|
+
Object.keys(y).forEach(($) => u.add($)), f.prop === "hover" && n.hover === null && u.add("backgroundColor"), c.set(f.name, p), d.set(f.name, u);
|
|
138
|
+
for (const $ of u) {
|
|
139
|
+
const g = X($), C = a[$] ?? Ct($, l), W = `--ui-state-normal-${l}-${g}`;
|
|
140
|
+
i[W] = String(C);
|
|
141
|
+
const S = `--${f.name}-${l}-${g}`;
|
|
142
|
+
i[S] = String(p[$] ?? C);
|
|
143
|
+
const k = `--ui-state-value-${f.name}-${l}-${g}`;
|
|
144
|
+
i[k] = p[$] === void 0 ? "initial" : `var(${S})`;
|
|
145
|
+
const R = `var(--ui-state-disabled-${g},var(--ui-state-active-${g},var(--ui-state-focus-visible-${g},var(--ui-state-hover-${g},var(${W})))))`;
|
|
146
|
+
t.push(
|
|
147
|
+
`${b}${f.variant}:[--ui-state-${f.name}-${g}:var(${k})]`,
|
|
148
|
+
`${b}${f.variant}:[${g}:${R}]`
|
|
112
149
|
);
|
|
113
150
|
}
|
|
114
151
|
}
|
|
115
152
|
});
|
|
116
153
|
}
|
|
117
|
-
function
|
|
118
|
-
const i = t
|
|
119
|
-
return i ?
|
|
154
|
+
function Z(o, t) {
|
|
155
|
+
const i = o[t];
|
|
156
|
+
return i ? t !== "hover" && "outlineWidth" in i && i.outlineStyle === void 0 ? K({ ...i, outlineStyle: "solid" }) : K(i) : {};
|
|
120
157
|
}
|
|
121
|
-
function
|
|
122
|
-
const i =
|
|
123
|
-
if (
|
|
158
|
+
function Ct(o, t) {
|
|
159
|
+
const i = o === "color" ? "inherit" : "initial";
|
|
160
|
+
if (o !== "background" && o !== "backgroundColor" && o !== "color")
|
|
124
161
|
return i;
|
|
125
|
-
const
|
|
126
|
-
let
|
|
127
|
-
for (let
|
|
128
|
-
|
|
129
|
-
return
|
|
130
|
-
}
|
|
131
|
-
function
|
|
132
|
-
const
|
|
133
|
-
if (
|
|
134
|
-
const i = String(
|
|
135
|
-
Object.assign(
|
|
136
|
-
borderTopWidth:
|
|
137
|
-
borderRightWidth:
|
|
138
|
-
borderBottomWidth:
|
|
139
|
-
borderLeftWidth:
|
|
140
|
-
}), delete
|
|
162
|
+
const e = o === "color" ? "color" : "bg";
|
|
163
|
+
let s = `var(--button-${e},${i})`;
|
|
164
|
+
for (let a = 0; a < t; a += 1)
|
|
165
|
+
s = `var(--${x[a]}-button-${e},${s})`;
|
|
166
|
+
return s;
|
|
167
|
+
}
|
|
168
|
+
function K(o) {
|
|
169
|
+
const t = { ...ot(o) };
|
|
170
|
+
if (t.borderWidth !== void 0) {
|
|
171
|
+
const i = String(t.borderWidth).split(/\s+(?![^()]*\))/), e = i[0], s = i[1] ?? e, a = i[2] ?? e, c = i[3] ?? s;
|
|
172
|
+
Object.assign(t, {
|
|
173
|
+
borderTopWidth: e,
|
|
174
|
+
borderRightWidth: s,
|
|
175
|
+
borderBottomWidth: a,
|
|
176
|
+
borderLeftWidth: c
|
|
177
|
+
}), delete t.borderWidth;
|
|
141
178
|
}
|
|
142
|
-
if (
|
|
143
|
-
const [i,
|
|
144
|
-
const
|
|
179
|
+
if (t.borderRadius !== void 0) {
|
|
180
|
+
const [i, e = i] = String(t.borderRadius).split("/"), s = (d) => {
|
|
181
|
+
const n = d.trim().split(/\s+(?![^()]*\))/);
|
|
145
182
|
return [
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
183
|
+
n[0],
|
|
184
|
+
n[1] ?? n[0],
|
|
185
|
+
n[2] ?? n[0],
|
|
186
|
+
n[3] ?? n[1] ?? n[0]
|
|
150
187
|
];
|
|
151
|
-
},
|
|
152
|
-
["TopLeft", "TopRight", "BottomRight", "BottomLeft"].forEach((
|
|
153
|
-
|
|
154
|
-
}), delete
|
|
188
|
+
}, a = s(i), c = s(e);
|
|
189
|
+
["TopLeft", "TopRight", "BottomRight", "BottomLeft"].forEach((d, n) => {
|
|
190
|
+
t[`border${d}Radius`] = `${a[n]} ${c[n]}`;
|
|
191
|
+
}), delete t.borderRadius;
|
|
155
192
|
}
|
|
156
|
-
return
|
|
193
|
+
return t;
|
|
157
194
|
}
|
|
158
|
-
function
|
|
159
|
-
classPrefix:
|
|
160
|
-
variablePrefix:
|
|
161
|
-
isGroupParent:
|
|
195
|
+
function Q(o, t, i, {
|
|
196
|
+
classPrefix: e = "",
|
|
197
|
+
variablePrefix: s = "",
|
|
198
|
+
isGroupParent: a = !1
|
|
162
199
|
} = {}) {
|
|
163
|
-
const
|
|
164
|
-
for (const [
|
|
165
|
-
if (
|
|
200
|
+
const c = ot(o);
|
|
201
|
+
for (const [d, n] of Object.entries(c ?? {})) {
|
|
202
|
+
if (n == null)
|
|
166
203
|
continue;
|
|
167
|
-
const
|
|
168
|
-
if (
|
|
169
|
-
|
|
204
|
+
const l = String(n), b = Wt(d, l);
|
|
205
|
+
if (b) {
|
|
206
|
+
t.push(`${e}${b}`);
|
|
170
207
|
continue;
|
|
171
208
|
}
|
|
172
|
-
const
|
|
173
|
-
|
|
209
|
+
const f = `${s}${X(d)}`, h = wt(d, f);
|
|
210
|
+
h && (i[`--${f}`] = l, t.push(`${e}${h}`));
|
|
174
211
|
}
|
|
175
|
-
if (
|
|
176
|
-
const
|
|
177
|
-
i[`--${
|
|
212
|
+
if (o.bgGroup !== void 0) {
|
|
213
|
+
const d = `${s}group-background`;
|
|
214
|
+
i[`--${d}`] = D(o.bgGroup), t.push(`${e}group-hover:[background:var(--${d})]`), a && t.push(`${e}hover:[background:var(--${d})]`);
|
|
178
215
|
}
|
|
179
216
|
}
|
|
180
|
-
function
|
|
181
|
-
if (
|
|
182
|
-
return
|
|
183
|
-
if (
|
|
184
|
-
return
|
|
185
|
-
if (
|
|
186
|
-
return `cursor-${
|
|
187
|
-
if (
|
|
217
|
+
function Wt(o, t) {
|
|
218
|
+
if (o === "display")
|
|
219
|
+
return t === "none" ? "hidden" : t;
|
|
220
|
+
if (o === "position")
|
|
221
|
+
return t === "inherit" ? "[position:inherit]" : t;
|
|
222
|
+
if (o === "cursor")
|
|
223
|
+
return `cursor-${t}`;
|
|
224
|
+
if (o === "backgroundRepeat")
|
|
188
225
|
return {
|
|
189
226
|
"no-repeat": "bg-no-repeat",
|
|
190
227
|
repeat: "bg-repeat",
|
|
@@ -192,14 +229,14 @@ function $o(t, o) {
|
|
|
192
229
|
space: "bg-repeat-space",
|
|
193
230
|
"repeat-x": "bg-repeat-x",
|
|
194
231
|
"repeat-y": "bg-repeat-y"
|
|
195
|
-
}[
|
|
196
|
-
if (
|
|
232
|
+
}[t];
|
|
233
|
+
if (o === "backgroundSize")
|
|
197
234
|
return {
|
|
198
235
|
auto: "bg-auto",
|
|
199
236
|
contain: "bg-contain",
|
|
200
237
|
cover: "bg-cover"
|
|
201
|
-
}[
|
|
202
|
-
if (
|
|
238
|
+
}[t];
|
|
239
|
+
if (o === "backgroundPosition")
|
|
203
240
|
return {
|
|
204
241
|
bottom: "bg-bottom",
|
|
205
242
|
center: "bg-center",
|
|
@@ -210,18 +247,18 @@ function $o(t, o) {
|
|
|
210
247
|
"right bottom": "bg-right-bottom",
|
|
211
248
|
"right top": "bg-right-top",
|
|
212
249
|
top: "bg-top"
|
|
213
|
-
}[
|
|
214
|
-
if (
|
|
215
|
-
return
|
|
216
|
-
if (
|
|
217
|
-
return
|
|
218
|
-
if (
|
|
219
|
-
return `list-${
|
|
220
|
-
if (
|
|
221
|
-
return `list-${
|
|
222
|
-
}
|
|
223
|
-
function
|
|
224
|
-
const i = `var(--${
|
|
250
|
+
}[t];
|
|
251
|
+
if (o === "borderStyle")
|
|
252
|
+
return t === "none" ? "border-none" : `border-${t}`;
|
|
253
|
+
if (o === "outlineStyle")
|
|
254
|
+
return t === "none" ? "outline-none" : `outline-${t}`;
|
|
255
|
+
if (o === "listStylePosition")
|
|
256
|
+
return `list-${t}`;
|
|
257
|
+
if (o === "listStyleType")
|
|
258
|
+
return `list-${t}`;
|
|
259
|
+
}
|
|
260
|
+
function wt(o, t) {
|
|
261
|
+
const i = `var(--${t})`;
|
|
225
262
|
return {
|
|
226
263
|
background: `[background:${i}]`,
|
|
227
264
|
backgroundColor: `bg-[${i}]`,
|
|
@@ -271,82 +308,82 @@ function Bo(t, o) {
|
|
|
271
308
|
transformOrigin: `[transform-origin:${i}]`,
|
|
272
309
|
width: `w-[${i}]`,
|
|
273
310
|
zIndex: `z-[${i}]`
|
|
274
|
-
}[
|
|
311
|
+
}[o];
|
|
275
312
|
}
|
|
276
|
-
function
|
|
277
|
-
return
|
|
313
|
+
function X(o) {
|
|
314
|
+
return o.replace(/[A-Z]/g, (t) => `-${t.toLowerCase()}`);
|
|
278
315
|
}
|
|
279
|
-
function
|
|
280
|
-
if (
|
|
281
|
-
if (Array.isArray(
|
|
282
|
-
|
|
316
|
+
function zt(o, t) {
|
|
317
|
+
if (t !== void 0) {
|
|
318
|
+
if (Array.isArray(t)) {
|
|
319
|
+
o.padding = t.map(m).join(" ");
|
|
283
320
|
return;
|
|
284
321
|
}
|
|
285
|
-
if (typeof
|
|
286
|
-
|
|
322
|
+
if (typeof t != "object") {
|
|
323
|
+
o.padding = m(t);
|
|
287
324
|
return;
|
|
288
325
|
}
|
|
289
|
-
"px" in
|
|
326
|
+
"px" in t && t.px !== void 0 && (o.paddingLeft = m(t.px), o.paddingRight = m(t.px)), "py" in t && t.py !== void 0 && (o.paddingTop = m(t.py), o.paddingBottom = m(t.py)), "pt" in t && t.pt !== void 0 && (o.paddingTop = m(t.pt)), "pb" in t && t.pb !== void 0 && (o.paddingBottom = m(t.pb)), "pl" in t && t.pl !== void 0 && (o.paddingLeft = m(t.pl)), "pr" in t && t.pr !== void 0 && (o.paddingRight = m(t.pr));
|
|
290
327
|
}
|
|
291
328
|
}
|
|
292
|
-
function
|
|
293
|
-
if (
|
|
294
|
-
if (Array.isArray(
|
|
295
|
-
|
|
329
|
+
function Lt(o, t) {
|
|
330
|
+
if (t !== void 0) {
|
|
331
|
+
if (Array.isArray(t)) {
|
|
332
|
+
o.margin = t.map(m).join(" ");
|
|
296
333
|
return;
|
|
297
334
|
}
|
|
298
|
-
if (typeof
|
|
299
|
-
|
|
335
|
+
if (typeof t != "object") {
|
|
336
|
+
o.margin = m(t);
|
|
300
337
|
return;
|
|
301
338
|
}
|
|
302
|
-
"mx" in
|
|
339
|
+
"mx" in t && t.mx !== void 0 && (o.marginLeft = m(t.mx), o.marginRight = m(t.mx)), "my" in t && t.my !== void 0 && (o.marginTop = m(t.my), o.marginBottom = m(t.my)), "mt" in t && t.mt !== void 0 && (o.marginTop = m(t.mt)), "mb" in t && t.mb !== void 0 && (o.marginBottom = m(t.mb)), "ml" in t && t.ml !== void 0 && (o.marginLeft = m(t.ml)), "mr" in t && t.mr !== void 0 && (o.marginRight = m(t.mr));
|
|
303
340
|
}
|
|
304
341
|
}
|
|
305
|
-
function
|
|
306
|
-
|
|
342
|
+
function Nt(o, t) {
|
|
343
|
+
t && (t.radius !== void 0 && Tt(o, t.radius), t.color !== void 0 && (o.borderColor = B(t.color)), t.width !== void 0 && It(o, t.width), t.style !== void 0 && (o.borderStyle = t.style));
|
|
307
344
|
}
|
|
308
|
-
function
|
|
309
|
-
if (
|
|
310
|
-
|
|
345
|
+
function Tt(o, t) {
|
|
346
|
+
if (Vt(t)) {
|
|
347
|
+
t.topLeft !== void 0 && (o.borderTopLeftRadius = L(t.topLeft)), t.topRight !== void 0 && (o.borderTopRightRadius = L(t.topRight)), t.bottomLeft !== void 0 && (o.borderBottomLeftRadius = L(t.bottomLeft)), t.bottomRight !== void 0 && (o.borderBottomRightRadius = L(t.bottomRight));
|
|
311
348
|
return;
|
|
312
349
|
}
|
|
313
|
-
|
|
350
|
+
o.borderRadius = L(t);
|
|
314
351
|
}
|
|
315
|
-
function
|
|
316
|
-
if (
|
|
317
|
-
|
|
352
|
+
function It(o, t) {
|
|
353
|
+
if (Pt(t)) {
|
|
354
|
+
t.top !== void 0 && (o.borderTopWidth = N(t.top)), t.bottom !== void 0 && (o.borderBottomWidth = N(t.bottom)), t.left !== void 0 && (o.borderLeftWidth = N(t.left)), t.right !== void 0 && (o.borderRightWidth = N(t.right));
|
|
318
355
|
return;
|
|
319
356
|
}
|
|
320
|
-
|
|
357
|
+
o.borderWidth = N(t);
|
|
321
358
|
}
|
|
322
|
-
function
|
|
323
|
-
return typeof
|
|
359
|
+
function Vt(o) {
|
|
360
|
+
return typeof o == "object";
|
|
324
361
|
}
|
|
325
|
-
function
|
|
326
|
-
return typeof
|
|
362
|
+
function Pt(o) {
|
|
363
|
+
return typeof o == "object";
|
|
327
364
|
}
|
|
328
|
-
function
|
|
329
|
-
return
|
|
365
|
+
function L(o) {
|
|
366
|
+
return o.startsWith("--") ? `var(${o})` : o;
|
|
330
367
|
}
|
|
331
|
-
function
|
|
332
|
-
return
|
|
368
|
+
function N(o) {
|
|
369
|
+
return o.startsWith("--") ? `var(${o})` : o;
|
|
333
370
|
}
|
|
334
|
-
function
|
|
335
|
-
return
|
|
371
|
+
function jt(o) {
|
|
372
|
+
return o === "hidden" ? "none" : o;
|
|
336
373
|
}
|
|
337
|
-
function
|
|
338
|
-
return typeof
|
|
374
|
+
function F(o) {
|
|
375
|
+
return typeof o == "number" ? `${o}px` : o;
|
|
339
376
|
}
|
|
340
|
-
function
|
|
341
|
-
return typeof
|
|
377
|
+
function m(o) {
|
|
378
|
+
return typeof o == "number" ? `${o}px` : o;
|
|
342
379
|
}
|
|
343
|
-
function z(
|
|
344
|
-
return typeof
|
|
380
|
+
function z(o) {
|
|
381
|
+
return typeof o == "number" ? `${o}px` : o;
|
|
345
382
|
}
|
|
346
|
-
function
|
|
347
|
-
return typeof
|
|
383
|
+
function Mt(o) {
|
|
384
|
+
return typeof o == "number" ? `${o}px` : o;
|
|
348
385
|
}
|
|
349
|
-
function
|
|
386
|
+
function Ot(o) {
|
|
350
387
|
return {
|
|
351
388
|
"no-repeat": "no-repeat",
|
|
352
389
|
repeat: "repeat",
|
|
@@ -354,137 +391,224 @@ function Vo(t) {
|
|
|
354
391
|
"repeat-space": "space",
|
|
355
392
|
"repeat-x": "repeat-x",
|
|
356
393
|
"repeat-y": "repeat-y"
|
|
357
|
-
}[
|
|
394
|
+
}[o];
|
|
358
395
|
}
|
|
359
|
-
function
|
|
360
|
-
return
|
|
396
|
+
function At(o) {
|
|
397
|
+
return o.replace("-", " ");
|
|
361
398
|
}
|
|
362
|
-
function
|
|
363
|
-
return
|
|
399
|
+
function D(o) {
|
|
400
|
+
return B(o);
|
|
364
401
|
}
|
|
365
|
-
function
|
|
366
|
-
const i =
|
|
367
|
-
if (
|
|
368
|
-
|
|
402
|
+
function Et(o, t) {
|
|
403
|
+
const i = D(t);
|
|
404
|
+
if (Ft(t)) {
|
|
405
|
+
o.background = i;
|
|
369
406
|
return;
|
|
370
407
|
}
|
|
371
|
-
|
|
408
|
+
o.backgroundColor = i;
|
|
372
409
|
}
|
|
373
|
-
function
|
|
374
|
-
const
|
|
375
|
-
return
|
|
410
|
+
function Ft(o) {
|
|
411
|
+
const t = o.trim().toLowerCase();
|
|
412
|
+
return t.includes("url(") || t.includes("gradient(") || t.includes("image-set(") || t.includes("cross-fade(") || t.includes("element(") || t.includes("paint(");
|
|
376
413
|
}
|
|
377
|
-
function
|
|
378
|
-
return
|
|
414
|
+
function B(o) {
|
|
415
|
+
return o.startsWith("--") ? `var(${o})` : o;
|
|
416
|
+
}
|
|
417
|
+
function Dt(o) {
|
|
418
|
+
return [o.animation, ...x.map((t) => o[t]?.animation)].some(
|
|
419
|
+
(t) => t === "spin" || typeof t == "object" && t !== null && (Array.isArray(t.keyframes) || t.preset === "spin")
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
function U(o, t) {
|
|
423
|
+
if (typeof o == "number") return Number.isFinite(o) ? o : t;
|
|
424
|
+
if (o === void 0) return t;
|
|
425
|
+
const i = /^\s*(-?(?:\d+(?:\.\d*)?|\.\d+))(ms|s)\s*$/.exec(o);
|
|
426
|
+
return i ? Number(i[1]) * (i[2] === "s" ? 1e3 : 1) : t;
|
|
427
|
+
}
|
|
428
|
+
function tt(o, t, i) {
|
|
429
|
+
const e = x.map(
|
|
430
|
+
(n) => window.matchMedia("(min-width: " + Bt[n] + ")")
|
|
431
|
+
), s = window.matchMedia("(prefers-reduced-motion: reduce)");
|
|
432
|
+
let a, c = "";
|
|
433
|
+
const d = () => {
|
|
434
|
+
let n = {};
|
|
435
|
+
const l = [
|
|
436
|
+
t.animation,
|
|
437
|
+
...x.map(
|
|
438
|
+
(p, u) => e[u].matches ? t[p]?.animation : void 0
|
|
439
|
+
)
|
|
440
|
+
];
|
|
441
|
+
for (const p of l)
|
|
442
|
+
if (p !== void 0)
|
|
443
|
+
if (p === "none") n = {};
|
|
444
|
+
else {
|
|
445
|
+
const u = p === "spin" ? { preset: "spin", keyframes: null } : p;
|
|
446
|
+
n = {
|
|
447
|
+
...n,
|
|
448
|
+
...u,
|
|
449
|
+
...u.easing !== void 0 ? { timingFunction: u.easing } : {},
|
|
450
|
+
...u.iterations !== void 0 ? { iterationCount: u.iterations === 1 / 0 ? "infinite" : u.iterations } : {}
|
|
451
|
+
};
|
|
452
|
+
}
|
|
453
|
+
const b = n.keyframes ?? (n.preset === "spin" ? [{ transform: "rotate(0deg)" }, { transform: "rotate(360deg)" }] : void 0), f = i?.animation !== void 0 || i?.animationName !== void 0 || s.matches && n.reducedMotion !== "keep", h = b?.map(
|
|
454
|
+
(p) => Object.fromEntries(
|
|
455
|
+
Object.entries(p).filter(
|
|
456
|
+
([u]) => u === "offset" || u === "easing" || u === "composite" || !(u in (i ?? {}))
|
|
457
|
+
)
|
|
458
|
+
)
|
|
459
|
+
), y = JSON.stringify([h, n, f]);
|
|
460
|
+
c !== y && (c = y, a?.cancel(), a = void 0, !(!h?.length || f || typeof o.animate != "function") && (a = o.animate(h, {
|
|
461
|
+
duration: Math.max(0, U(i?.animationDuration ?? n.duration, 1e3)),
|
|
462
|
+
delay: U(i?.animationDelay ?? n.delay, 0),
|
|
463
|
+
easing: i?.animationTimingFunction ?? n.timingFunction ?? "linear",
|
|
464
|
+
iterations: i?.animationIterationCount !== void 0 ? i.animationIterationCount === "infinite" ? 1 / 0 : Math.max(0, Number(i.animationIterationCount)) : n.iterationCount === "infinite" || n.iterationCount === void 0 ? 1 / 0 : Math.max(0, n.iterationCount),
|
|
465
|
+
direction: i?.animationDirection ?? n.direction ?? "normal",
|
|
466
|
+
fill: i?.animationFillMode ?? n.fillMode ?? "none"
|
|
467
|
+
}), (i?.animationPlayState ?? n.playState) === "paused" && a.pause()));
|
|
468
|
+
};
|
|
469
|
+
for (const n of [...e, s]) n.addEventListener("change", d);
|
|
470
|
+
return d(), () => {
|
|
471
|
+
for (const n of [...e, s]) n.removeEventListener("change", d);
|
|
472
|
+
a?.cancel();
|
|
473
|
+
};
|
|
474
|
+
}
|
|
475
|
+
function Ht(o, t, i) {
|
|
476
|
+
return (e) => {
|
|
477
|
+
if (typeof o == "function") {
|
|
478
|
+
const a = o(e);
|
|
479
|
+
if (!e) return;
|
|
480
|
+
const c = tt(e, t, i);
|
|
481
|
+
return () => {
|
|
482
|
+
c(), typeof a == "function" ? a() : o(null);
|
|
483
|
+
};
|
|
484
|
+
}
|
|
485
|
+
if (o && (o.current = e), !e) return;
|
|
486
|
+
const s = tt(e, t, i);
|
|
487
|
+
return () => {
|
|
488
|
+
s(), o && (o.current = null);
|
|
489
|
+
};
|
|
490
|
+
};
|
|
379
491
|
}
|
|
380
|
-
function
|
|
492
|
+
function Gt(o, t) {
|
|
381
493
|
const {
|
|
382
494
|
as: i,
|
|
383
|
-
children:
|
|
384
|
-
className:
|
|
385
|
-
background:
|
|
386
|
-
backgroundColor:
|
|
387
|
-
bg:
|
|
388
|
-
bgSize:
|
|
389
|
-
bgRepeat:
|
|
390
|
-
bgGroup:
|
|
391
|
-
groupParent:
|
|
392
|
-
bgPosition:
|
|
495
|
+
children: e,
|
|
496
|
+
className: s,
|
|
497
|
+
background: a,
|
|
498
|
+
backgroundColor: c,
|
|
499
|
+
bg: d,
|
|
500
|
+
bgSize: n,
|
|
501
|
+
bgRepeat: l,
|
|
502
|
+
bgGroup: b,
|
|
503
|
+
groupParent: f,
|
|
504
|
+
bgPosition: h,
|
|
393
505
|
border: y,
|
|
394
|
-
boxShadow:
|
|
395
|
-
color:
|
|
396
|
-
cursor:
|
|
397
|
-
opacity:
|
|
398
|
-
overflow:
|
|
399
|
-
overflowX:
|
|
400
|
-
overflowY:
|
|
401
|
-
pointerEvents:
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
506
|
+
boxShadow: p,
|
|
507
|
+
color: u,
|
|
508
|
+
cursor: $,
|
|
509
|
+
opacity: g,
|
|
510
|
+
overflow: C,
|
|
511
|
+
overflowX: W,
|
|
512
|
+
overflowY: S,
|
|
513
|
+
pointerEvents: k,
|
|
514
|
+
animation: R,
|
|
515
|
+
aspectRatio: T,
|
|
516
|
+
transform: w,
|
|
517
|
+
transformOrigin: I,
|
|
518
|
+
p: v,
|
|
519
|
+
m: V,
|
|
407
520
|
outlineColor: P,
|
|
408
|
-
outlineWidth:
|
|
409
|
-
outlineOffset:
|
|
410
|
-
outlineStyle:
|
|
411
|
-
listStyle:
|
|
412
|
-
display:
|
|
413
|
-
position:
|
|
414
|
-
width:
|
|
415
|
-
maxWidth:
|
|
416
|
-
minWidth:
|
|
417
|
-
height:
|
|
418
|
-
hover:
|
|
419
|
-
focusVisible:
|
|
420
|
-
active:
|
|
421
|
-
disabledStyle:
|
|
422
|
-
maxHeight:
|
|
423
|
-
minHeight:
|
|
424
|
-
md:
|
|
425
|
-
lg:
|
|
426
|
-
xl:
|
|
427
|
-
style:
|
|
428
|
-
...
|
|
429
|
-
} =
|
|
430
|
-
hover:
|
|
431
|
-
focusVisible:
|
|
432
|
-
active:
|
|
433
|
-
disabledStyle:
|
|
434
|
-
background:
|
|
435
|
-
backgroundColor:
|
|
436
|
-
bg:
|
|
437
|
-
bgSize:
|
|
438
|
-
bgRepeat:
|
|
439
|
-
bgGroup:
|
|
440
|
-
groupParent:
|
|
441
|
-
bgPosition:
|
|
521
|
+
outlineWidth: j,
|
|
522
|
+
outlineOffset: M,
|
|
523
|
+
outlineStyle: O,
|
|
524
|
+
listStyle: A,
|
|
525
|
+
display: r,
|
|
526
|
+
position: it,
|
|
527
|
+
width: nt,
|
|
528
|
+
maxWidth: et,
|
|
529
|
+
minWidth: rt,
|
|
530
|
+
height: at,
|
|
531
|
+
hover: st,
|
|
532
|
+
focusVisible: dt,
|
|
533
|
+
active: ft,
|
|
534
|
+
disabledStyle: ut,
|
|
535
|
+
maxHeight: ct,
|
|
536
|
+
minHeight: lt,
|
|
537
|
+
md: Y,
|
|
538
|
+
lg: J,
|
|
539
|
+
xl: _,
|
|
540
|
+
style: E,
|
|
541
|
+
...mt
|
|
542
|
+
} = o, bt = i ?? "div", H = {
|
|
543
|
+
hover: st,
|
|
544
|
+
focusVisible: dt,
|
|
545
|
+
active: ft,
|
|
546
|
+
disabledStyle: ut,
|
|
547
|
+
background: a,
|
|
548
|
+
backgroundColor: c,
|
|
549
|
+
bg: d,
|
|
550
|
+
bgSize: n,
|
|
551
|
+
bgRepeat: l,
|
|
552
|
+
bgGroup: b,
|
|
553
|
+
groupParent: f,
|
|
554
|
+
bgPosition: h,
|
|
442
555
|
border: y,
|
|
443
|
-
boxShadow:
|
|
444
|
-
color:
|
|
445
|
-
cursor:
|
|
446
|
-
opacity:
|
|
447
|
-
overflow:
|
|
448
|
-
overflowX:
|
|
449
|
-
overflowY:
|
|
450
|
-
pointerEvents:
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
556
|
+
boxShadow: p,
|
|
557
|
+
color: u,
|
|
558
|
+
cursor: $,
|
|
559
|
+
opacity: g,
|
|
560
|
+
overflow: C,
|
|
561
|
+
overflowX: W,
|
|
562
|
+
overflowY: S,
|
|
563
|
+
pointerEvents: k,
|
|
564
|
+
animation: R,
|
|
565
|
+
aspectRatio: T,
|
|
566
|
+
transform: w,
|
|
567
|
+
transformOrigin: I,
|
|
568
|
+
p: v,
|
|
569
|
+
m: V,
|
|
456
570
|
outlineColor: P,
|
|
457
|
-
outlineWidth:
|
|
458
|
-
outlineOffset:
|
|
459
|
-
outlineStyle:
|
|
460
|
-
listStyle:
|
|
461
|
-
display:
|
|
462
|
-
position:
|
|
463
|
-
width:
|
|
464
|
-
maxWidth:
|
|
465
|
-
minWidth:
|
|
466
|
-
height:
|
|
467
|
-
maxHeight:
|
|
468
|
-
minHeight:
|
|
469
|
-
md:
|
|
470
|
-
lg:
|
|
471
|
-
xl:
|
|
472
|
-
}
|
|
473
|
-
|
|
474
|
-
|
|
571
|
+
outlineWidth: j,
|
|
572
|
+
outlineOffset: M,
|
|
573
|
+
outlineStyle: O,
|
|
574
|
+
listStyle: A,
|
|
575
|
+
display: r,
|
|
576
|
+
position: it,
|
|
577
|
+
width: nt,
|
|
578
|
+
maxWidth: et,
|
|
579
|
+
minWidth: rt,
|
|
580
|
+
height: at,
|
|
581
|
+
maxHeight: ct,
|
|
582
|
+
minHeight: lt,
|
|
583
|
+
md: Y,
|
|
584
|
+
lg: J,
|
|
585
|
+
xl: _
|
|
586
|
+
}, pt = JSON.stringify([
|
|
587
|
+
R,
|
|
588
|
+
Y?.animation,
|
|
589
|
+
J?.animation,
|
|
590
|
+
_?.animation,
|
|
591
|
+
E
|
|
592
|
+
]), gt = yt(
|
|
593
|
+
() => Ht(t, H, E),
|
|
594
|
+
// Значения захваченных настроек представлены стабильным ключом.
|
|
595
|
+
[t, pt]
|
|
596
|
+
), G = St(H), vt = G.style || E ? {
|
|
597
|
+
...G.style,
|
|
598
|
+
...E
|
|
475
599
|
} : void 0;
|
|
476
|
-
return /* @__PURE__ */
|
|
477
|
-
|
|
600
|
+
return /* @__PURE__ */ ht(
|
|
601
|
+
bt,
|
|
478
602
|
{
|
|
479
|
-
className:
|
|
480
|
-
ref:
|
|
481
|
-
style:
|
|
482
|
-
...
|
|
483
|
-
children:
|
|
603
|
+
className: xt(G.className, f && "group", s),
|
|
604
|
+
ref: Dt(H) ? gt : t,
|
|
605
|
+
style: vt,
|
|
606
|
+
...mt,
|
|
607
|
+
children: e
|
|
484
608
|
}
|
|
485
609
|
);
|
|
486
610
|
}
|
|
487
|
-
const
|
|
611
|
+
const Yt = $t(Gt);
|
|
488
612
|
export {
|
|
489
|
-
|
|
613
|
+
Yt as Box
|
|
490
614
|
};
|