@shmidko61/lc-ui-kit 0.11.0 → 0.12.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 +78 -0
- package/dist/box/box.d.ts +1 -1
- package/dist/box/box.types.d.ts +20 -0
- package/dist/box.cjs +1 -1
- package/dist/box.js +262 -203
- package/dist/button.cjs +1 -1
- package/dist/button.js +152 -141
- package/dist/flex.cjs +1 -1
- package/dist/flex.js +18 -18
- package/dist/grid.cjs +1 -1
- package/dist/grid.js +57 -57
- package/dist/index.d.ts +3 -2
- package/dist/styles.css +1 -1
- package/package.json +8 -3
- package/dist/vite.config.d.ts +0 -2
package/dist/box.js
CHANGED
|
@@ -1,130 +1,183 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import { a as
|
|
4
|
-
function
|
|
1
|
+
import { jsx as bo } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as mo } from "react";
|
|
3
|
+
import { a as H, c as po } from "./responsive-style.config-DFuATrIM.js";
|
|
4
|
+
function Z({
|
|
5
5
|
background: t,
|
|
6
6
|
backgroundColor: o,
|
|
7
7
|
bg: i,
|
|
8
|
-
bgSize:
|
|
9
|
-
bgRepeat:
|
|
8
|
+
bgSize: a,
|
|
9
|
+
bgRepeat: n,
|
|
10
10
|
bgPosition: s,
|
|
11
|
-
border:
|
|
12
|
-
boxShadow:
|
|
13
|
-
color:
|
|
14
|
-
cursor:
|
|
15
|
-
opacity:
|
|
16
|
-
overflow:
|
|
17
|
-
overflowX:
|
|
18
|
-
overflowY:
|
|
11
|
+
border: p,
|
|
12
|
+
boxShadow: c,
|
|
13
|
+
color: r,
|
|
14
|
+
cursor: u,
|
|
15
|
+
opacity: l,
|
|
16
|
+
overflow: d,
|
|
17
|
+
overflowX: v,
|
|
18
|
+
overflowY: y,
|
|
19
19
|
pointerEvents: B,
|
|
20
|
-
aspectRatio:
|
|
21
|
-
transform:
|
|
22
|
-
transformOrigin:
|
|
23
|
-
p:
|
|
24
|
-
m:
|
|
25
|
-
outlineColor:
|
|
26
|
-
outlineWidth:
|
|
27
|
-
outlineOffset:
|
|
20
|
+
aspectRatio: h,
|
|
21
|
+
transform: g,
|
|
22
|
+
transformOrigin: b,
|
|
23
|
+
p: S,
|
|
24
|
+
m: x,
|
|
25
|
+
outlineColor: k,
|
|
26
|
+
outlineWidth: R,
|
|
27
|
+
outlineOffset: W,
|
|
28
28
|
outlineStyle: L,
|
|
29
|
-
listStyle:
|
|
30
|
-
display:
|
|
31
|
-
position:
|
|
32
|
-
width:
|
|
29
|
+
listStyle: C,
|
|
30
|
+
display: w,
|
|
31
|
+
position: m,
|
|
32
|
+
width: P,
|
|
33
33
|
maxWidth: N,
|
|
34
|
-
minWidth:
|
|
34
|
+
minWidth: I,
|
|
35
35
|
height: j,
|
|
36
|
-
maxHeight:
|
|
37
|
-
minHeight:
|
|
36
|
+
maxHeight: O,
|
|
37
|
+
minHeight: E
|
|
38
38
|
}) {
|
|
39
|
-
const
|
|
40
|
-
return i !== void 0 ?
|
|
39
|
+
const e = {};
|
|
40
|
+
return i !== void 0 ? wo(e, i) : t !== void 0 && (e.background = G(t)), o !== void 0 && (e.backgroundColor = G(o)), a !== void 0 && (e.backgroundSize = To(a)), n !== void 0 && (e.backgroundRepeat = Vo(n)), s !== void 0 && (e.backgroundPosition = Lo(s)), Ro(e, p), c !== void 0 && (e.boxShadow = $(c)), r !== void 0 && (e.color = $(r)), u !== void 0 && (e.cursor = u), l !== void 0 && (e.opacity = typeof l == "number" ? l : $(l)), d !== void 0 && (e.overflowX = d, e.overflowY = d), v !== void 0 && (e.overflowX = v), y !== void 0 && (e.overflowY = y), B !== void 0 && (e.pointerEvents = B), h !== void 0 && (e.aspectRatio = typeof h == "number" ? String(h) : $(h)), g !== void 0 && (e.transform = $(g)), b !== void 0 && (e.transformOrigin = $(b)), yo(e, S), ko(e, x), k !== void 0 && (e.outlineColor = $(k)), R !== void 0 && (e.outlineWidth = R), W !== void 0 && (e.outlineOffset = W), L !== void 0 && (e.outlineStyle = L), C?.position !== void 0 && (e.listStylePosition = C.position), C?.type !== void 0 && (e.listStyleType = C.type), w !== void 0 && (e.display = zo(w)), m?.type !== void 0 && (e.position = m.type), m?.top !== void 0 && (e.top = A(m.top)), m?.left !== void 0 && (e.left = A(m.left)), m?.right !== void 0 && (e.right = A(m.right)), m?.bottom !== void 0 && (e.bottom = A(m.bottom)), m?.zIndex !== void 0 && (e.zIndex = m.zIndex), P !== void 0 && (e.width = z(P)), N !== void 0 && (e.maxWidth = z(N)), I !== void 0 && (e.minWidth = z(I)), j !== void 0 && (e.height = z(j)), O !== void 0 && (e.maxHeight = z(O)), E !== void 0 && (e.minHeight = z(E)), Object.keys(e).length > 0 ? e : void 0;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
43
|
-
const o = [], i = {},
|
|
44
|
-
|
|
45
|
-
for (const
|
|
46
|
-
const s = t[
|
|
47
|
-
s &&
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
`${a}-`,
|
|
53
|
-
d
|
|
54
|
-
);
|
|
42
|
+
function go(t) {
|
|
43
|
+
const o = [], i = {}, a = t.groupParent === !0;
|
|
44
|
+
K(t, o, i, { isGroupParent: a });
|
|
45
|
+
for (const n of H) {
|
|
46
|
+
const s = t[n];
|
|
47
|
+
s && K(s, o, i, {
|
|
48
|
+
classPrefix: `${n}:`,
|
|
49
|
+
variablePrefix: `${n}-`,
|
|
50
|
+
isGroupParent: a
|
|
51
|
+
});
|
|
55
52
|
}
|
|
56
|
-
return
|
|
53
|
+
return ho(t, o, i), {
|
|
57
54
|
className: o.join(" "),
|
|
58
55
|
style: Object.keys(i).length > 0 ? i : void 0
|
|
59
56
|
};
|
|
60
57
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
58
|
+
const X = [
|
|
59
|
+
{
|
|
60
|
+
prop: "hover",
|
|
61
|
+
name: "hover",
|
|
62
|
+
variant: "[@media(hover:hover)_and_(pointer:fine)]:[&:hover:not(:disabled):not([aria-disabled=true]):not([data-disabled=true])]"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
prop: "focusVisible",
|
|
66
|
+
name: "focus-visible",
|
|
67
|
+
variant: "[&:focus-visible:not(:disabled):not([aria-disabled=true]):not([data-disabled=true])]"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
prop: "active",
|
|
71
|
+
name: "active",
|
|
72
|
+
variant: "[&:active:not(:disabled):not([aria-disabled=true]):not([data-disabled=true])]"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
prop: "disabledStyle",
|
|
76
|
+
name: "disabled",
|
|
77
|
+
variant: "[&:is(:disabled,[aria-disabled=true],[data-disabled=true]):is(:disabled,[aria-disabled=true],[data-disabled=true])]"
|
|
78
|
+
}
|
|
79
|
+
];
|
|
80
|
+
function ho(t, o, i) {
|
|
81
|
+
const a = [t, ...H.map((r) => t[r] ?? {})], n = /* @__PURE__ */ new Set();
|
|
82
|
+
for (const r of X)
|
|
83
|
+
for (const u of a)
|
|
84
|
+
Object.keys(F(u, r.prop)).forEach(
|
|
85
|
+
(l) => n.add(l)
|
|
86
|
+
), r.prop === "hover" && u.hover === null && n.add("backgroundColor");
|
|
87
|
+
if (n.size === 0) return;
|
|
88
|
+
for (const r of n) {
|
|
89
|
+
const u = D(r);
|
|
90
|
+
for (const l of X)
|
|
91
|
+
o.push(`[--ui-state-${l.name}-${u}:initial]`);
|
|
92
|
+
}
|
|
93
|
+
let s = {};
|
|
94
|
+
const p = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
|
|
95
|
+
a.forEach((r, u) => {
|
|
96
|
+
s = { ...s, ...Y(r) };
|
|
97
|
+
const l = u === 0 ? "" : `${H[u - 1]}:`;
|
|
98
|
+
for (const d of X) {
|
|
99
|
+
const v = p.get(d.name) ?? {}, y = F(r, d.prop), B = r[d.prop] === null ? {} : { ...v, ...y }, h = c.get(d.name) ?? /* @__PURE__ */ new Set();
|
|
100
|
+
Object.keys(y).forEach((g) => h.add(g)), d.prop === "hover" && r.hover === null && h.add("backgroundColor"), p.set(d.name, B), c.set(d.name, h);
|
|
101
|
+
for (const g of h) {
|
|
102
|
+
const b = D(g), S = s[g] ?? vo(g, u), x = `--ui-state-normal-${u}-${b}`;
|
|
103
|
+
i[x] = String(S);
|
|
104
|
+
const k = `--${d.name}-${u}-${b}`;
|
|
105
|
+
i[k] = String(B[g] ?? S);
|
|
106
|
+
const R = `--ui-state-value-${d.name}-${u}-${b}`;
|
|
107
|
+
i[R] = B[g] === void 0 ? "initial" : `var(${k})`;
|
|
108
|
+
const W = `var(--ui-state-disabled-${b},var(--ui-state-active-${b},var(--ui-state-focus-visible-${b},var(--ui-state-hover-${b},var(${x})))))`;
|
|
109
|
+
o.push(
|
|
110
|
+
`${l}${d.variant}:[--ui-state-${d.name}-${b}:var(${R})]`,
|
|
111
|
+
`${l}${d.variant}:[${b}:${W}]`
|
|
112
|
+
);
|
|
113
|
+
}
|
|
79
114
|
}
|
|
80
115
|
});
|
|
81
116
|
}
|
|
117
|
+
function F(t, o) {
|
|
118
|
+
const i = t[o];
|
|
119
|
+
return i ? o !== "hover" && "outlineWidth" in i && i.outlineStyle === void 0 ? Y({ ...i, outlineStyle: "solid" }) : Y(i) : {};
|
|
120
|
+
}
|
|
121
|
+
function vo(t, o) {
|
|
122
|
+
const i = t === "color" ? "inherit" : "initial";
|
|
123
|
+
if (t !== "background" && t !== "backgroundColor" && t !== "color")
|
|
124
|
+
return i;
|
|
125
|
+
const a = t === "color" ? "color" : "bg";
|
|
126
|
+
let n = `var(--button-${a},${i})`;
|
|
127
|
+
for (let s = 0; s < o; s += 1)
|
|
128
|
+
n = `var(--${H[s]}-button-${a},${n})`;
|
|
129
|
+
return n;
|
|
130
|
+
}
|
|
82
131
|
function Y(t) {
|
|
83
|
-
const o = { ...
|
|
132
|
+
const o = { ...Z(t) };
|
|
84
133
|
if (o.borderWidth !== void 0) {
|
|
85
|
-
const i = String(o.borderWidth).split(/\s+(?![^()]*\))/),
|
|
134
|
+
const i = String(o.borderWidth).split(/\s+(?![^()]*\))/), a = i[0], n = i[1] ?? a, s = i[2] ?? a, p = i[3] ?? n;
|
|
86
135
|
Object.assign(o, {
|
|
87
|
-
borderTopWidth:
|
|
88
|
-
borderRightWidth:
|
|
136
|
+
borderTopWidth: a,
|
|
137
|
+
borderRightWidth: n,
|
|
89
138
|
borderBottomWidth: s,
|
|
90
|
-
borderLeftWidth:
|
|
139
|
+
borderLeftWidth: p
|
|
91
140
|
}), delete o.borderWidth;
|
|
92
141
|
}
|
|
93
142
|
if (o.borderRadius !== void 0) {
|
|
94
|
-
const [i,
|
|
95
|
-
const
|
|
143
|
+
const [i, a = i] = String(o.borderRadius).split("/"), n = (c) => {
|
|
144
|
+
const r = c.trim().split(/\s+(?![^()]*\))/);
|
|
96
145
|
return [
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
146
|
+
r[0],
|
|
147
|
+
r[1] ?? r[0],
|
|
148
|
+
r[2] ?? r[0],
|
|
149
|
+
r[3] ?? r[1] ?? r[0]
|
|
101
150
|
];
|
|
102
|
-
}, s =
|
|
103
|
-
["TopLeft", "TopRight", "BottomRight", "BottomLeft"].forEach((
|
|
104
|
-
o[`border${
|
|
151
|
+
}, s = n(i), p = n(a);
|
|
152
|
+
["TopLeft", "TopRight", "BottomRight", "BottomLeft"].forEach((c, r) => {
|
|
153
|
+
o[`border${c}Radius`] = `${s[r]} ${p[r]}`;
|
|
105
154
|
}), delete o.borderRadius;
|
|
106
155
|
}
|
|
107
156
|
return o;
|
|
108
157
|
}
|
|
109
|
-
function
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
158
|
+
function K(t, o, i, {
|
|
159
|
+
classPrefix: a = "",
|
|
160
|
+
variablePrefix: n = "",
|
|
161
|
+
isGroupParent: s = !1
|
|
162
|
+
} = {}) {
|
|
163
|
+
const p = Z(t);
|
|
164
|
+
for (const [c, r] of Object.entries(p ?? {})) {
|
|
165
|
+
if (r == null)
|
|
113
166
|
continue;
|
|
114
|
-
const
|
|
115
|
-
if (
|
|
116
|
-
o.push(`${
|
|
167
|
+
const u = String(r), l = $o(c, u);
|
|
168
|
+
if (l) {
|
|
169
|
+
o.push(`${a}${l}`);
|
|
117
170
|
continue;
|
|
118
171
|
}
|
|
119
|
-
const
|
|
120
|
-
|
|
172
|
+
const d = `${n}${D(c)}`, v = Bo(c, d);
|
|
173
|
+
v && (i[`--${d}`] = u, o.push(`${a}${v}`));
|
|
121
174
|
}
|
|
122
175
|
if (t.bgGroup !== void 0) {
|
|
123
|
-
const
|
|
124
|
-
i[`--${
|
|
176
|
+
const c = `${n}group-background`;
|
|
177
|
+
i[`--${c}`] = G(t.bgGroup), o.push(`${a}group-hover:[background:var(--${c})]`), s && o.push(`${a}hover:[background:var(--${c})]`);
|
|
125
178
|
}
|
|
126
179
|
}
|
|
127
|
-
function
|
|
180
|
+
function $o(t, o) {
|
|
128
181
|
if (t === "display")
|
|
129
182
|
return o === "none" ? "hidden" : o;
|
|
130
183
|
if (t === "position")
|
|
@@ -167,7 +220,7 @@ function bo(t, o) {
|
|
|
167
220
|
if (t === "listStyleType")
|
|
168
221
|
return `list-${o}`;
|
|
169
222
|
}
|
|
170
|
-
function
|
|
223
|
+
function Bo(t, o) {
|
|
171
224
|
const i = `var(--${o})`;
|
|
172
225
|
return {
|
|
173
226
|
background: `[background:${i}]`,
|
|
@@ -220,10 +273,10 @@ function mo(t, o) {
|
|
|
220
273
|
zIndex: `z-[${i}]`
|
|
221
274
|
}[t];
|
|
222
275
|
}
|
|
223
|
-
function
|
|
276
|
+
function D(t) {
|
|
224
277
|
return t.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`);
|
|
225
278
|
}
|
|
226
|
-
function
|
|
279
|
+
function yo(t, o) {
|
|
227
280
|
if (o !== void 0) {
|
|
228
281
|
if (Array.isArray(o)) {
|
|
229
282
|
t.padding = o.map(f).join(" ");
|
|
@@ -236,7 +289,7 @@ function po(t, o) {
|
|
|
236
289
|
"px" in o && o.px !== void 0 && (t.paddingLeft = f(o.px), t.paddingRight = f(o.px)), "py" in o && o.py !== void 0 && (t.paddingTop = f(o.py), t.paddingBottom = f(o.py)), "pt" in o && o.pt !== void 0 && (t.paddingTop = f(o.pt)), "pb" in o && o.pb !== void 0 && (t.paddingBottom = f(o.pb)), "pl" in o && o.pl !== void 0 && (t.paddingLeft = f(o.pl)), "pr" in o && o.pr !== void 0 && (t.paddingRight = f(o.pr));
|
|
237
290
|
}
|
|
238
291
|
}
|
|
239
|
-
function
|
|
292
|
+
function ko(t, o) {
|
|
240
293
|
if (o !== void 0) {
|
|
241
294
|
if (Array.isArray(o)) {
|
|
242
295
|
t.margin = o.map(f).join(" ");
|
|
@@ -249,51 +302,51 @@ function go(t, o) {
|
|
|
249
302
|
"mx" in o && o.mx !== void 0 && (t.marginLeft = f(o.mx), t.marginRight = f(o.mx)), "my" in o && o.my !== void 0 && (t.marginTop = f(o.my), t.marginBottom = f(o.my)), "mt" in o && o.mt !== void 0 && (t.marginTop = f(o.mt)), "mb" in o && o.mb !== void 0 && (t.marginBottom = f(o.mb)), "ml" in o && o.ml !== void 0 && (t.marginLeft = f(o.ml)), "mr" in o && o.mr !== void 0 && (t.marginRight = f(o.mr));
|
|
250
303
|
}
|
|
251
304
|
}
|
|
252
|
-
function
|
|
253
|
-
o && (o.radius !== void 0 &&
|
|
305
|
+
function Ro(t, o) {
|
|
306
|
+
o && (o.radius !== void 0 && So(t, o.radius), o.color !== void 0 && (t.borderColor = $(o.color)), o.width !== void 0 && xo(t, o.width), o.style !== void 0 && (t.borderStyle = o.style));
|
|
254
307
|
}
|
|
255
|
-
function
|
|
256
|
-
if (
|
|
257
|
-
o.topLeft !== void 0 && (t.borderTopLeftRadius =
|
|
308
|
+
function So(t, o) {
|
|
309
|
+
if (Wo(o)) {
|
|
310
|
+
o.topLeft !== void 0 && (t.borderTopLeftRadius = T(o.topLeft)), o.topRight !== void 0 && (t.borderTopRightRadius = T(o.topRight)), o.bottomLeft !== void 0 && (t.borderBottomLeftRadius = T(o.bottomLeft)), o.bottomRight !== void 0 && (t.borderBottomRightRadius = T(o.bottomRight));
|
|
258
311
|
return;
|
|
259
312
|
}
|
|
260
|
-
t.borderRadius =
|
|
313
|
+
t.borderRadius = T(o);
|
|
261
314
|
}
|
|
262
|
-
function
|
|
263
|
-
if (
|
|
264
|
-
o.top !== void 0 && (t.borderTopWidth =
|
|
315
|
+
function xo(t, o) {
|
|
316
|
+
if (Co(o)) {
|
|
317
|
+
o.top !== void 0 && (t.borderTopWidth = V(o.top)), o.bottom !== void 0 && (t.borderBottomWidth = V(o.bottom)), o.left !== void 0 && (t.borderLeftWidth = V(o.left)), o.right !== void 0 && (t.borderRightWidth = V(o.right));
|
|
265
318
|
return;
|
|
266
319
|
}
|
|
267
|
-
t.borderWidth =
|
|
320
|
+
t.borderWidth = V(o);
|
|
268
321
|
}
|
|
269
|
-
function
|
|
322
|
+
function Wo(t) {
|
|
270
323
|
return typeof t == "object";
|
|
271
324
|
}
|
|
272
|
-
function
|
|
325
|
+
function Co(t) {
|
|
273
326
|
return typeof t == "object";
|
|
274
327
|
}
|
|
275
|
-
function
|
|
328
|
+
function T(t) {
|
|
276
329
|
return t.startsWith("--") ? `var(${t})` : t;
|
|
277
330
|
}
|
|
278
|
-
function
|
|
331
|
+
function V(t) {
|
|
279
332
|
return t.startsWith("--") ? `var(${t})` : t;
|
|
280
333
|
}
|
|
281
|
-
function
|
|
334
|
+
function zo(t) {
|
|
282
335
|
return t === "hidden" ? "none" : t;
|
|
283
336
|
}
|
|
284
|
-
function
|
|
337
|
+
function A(t) {
|
|
285
338
|
return typeof t == "number" ? `${t}px` : t;
|
|
286
339
|
}
|
|
287
340
|
function f(t) {
|
|
288
341
|
return typeof t == "number" ? `${t}px` : t;
|
|
289
342
|
}
|
|
290
|
-
function
|
|
343
|
+
function z(t) {
|
|
291
344
|
return typeof t == "number" ? `${t}px` : t;
|
|
292
345
|
}
|
|
293
|
-
function
|
|
346
|
+
function To(t) {
|
|
294
347
|
return typeof t == "number" ? `${t}px` : t;
|
|
295
348
|
}
|
|
296
|
-
function
|
|
349
|
+
function Vo(t) {
|
|
297
350
|
return {
|
|
298
351
|
"no-repeat": "no-repeat",
|
|
299
352
|
repeat: "repeat",
|
|
@@ -303,129 +356,135 @@ function xo(t) {
|
|
|
303
356
|
"repeat-y": "repeat-y"
|
|
304
357
|
}[t];
|
|
305
358
|
}
|
|
306
|
-
function
|
|
359
|
+
function Lo(t) {
|
|
307
360
|
return t.replace("-", " ");
|
|
308
361
|
}
|
|
309
|
-
function
|
|
362
|
+
function G(t) {
|
|
310
363
|
return $(t);
|
|
311
364
|
}
|
|
312
|
-
function
|
|
313
|
-
const i =
|
|
314
|
-
if (
|
|
365
|
+
function wo(t, o) {
|
|
366
|
+
const i = G(o);
|
|
367
|
+
if (Po(o)) {
|
|
315
368
|
t.background = i;
|
|
316
369
|
return;
|
|
317
370
|
}
|
|
318
371
|
t.backgroundColor = i;
|
|
319
372
|
}
|
|
320
|
-
function
|
|
373
|
+
function Po(t) {
|
|
321
374
|
const o = t.trim().toLowerCase();
|
|
322
375
|
return o.includes("url(") || o.includes("gradient(") || o.includes("image-set(") || o.includes("cross-fade(") || o.includes("element(") || o.includes("paint(");
|
|
323
376
|
}
|
|
324
377
|
function $(t) {
|
|
325
378
|
return t.startsWith("--") ? `var(${t})` : t;
|
|
326
379
|
}
|
|
327
|
-
function
|
|
380
|
+
function No(t, o) {
|
|
328
381
|
const {
|
|
329
382
|
as: i,
|
|
330
|
-
children:
|
|
331
|
-
className:
|
|
383
|
+
children: a,
|
|
384
|
+
className: n,
|
|
332
385
|
background: s,
|
|
333
|
-
backgroundColor:
|
|
334
|
-
bg:
|
|
335
|
-
bgSize:
|
|
336
|
-
bgRepeat:
|
|
337
|
-
bgGroup:
|
|
338
|
-
groupParent:
|
|
339
|
-
bgPosition:
|
|
340
|
-
border:
|
|
386
|
+
backgroundColor: p,
|
|
387
|
+
bg: c,
|
|
388
|
+
bgSize: r,
|
|
389
|
+
bgRepeat: u,
|
|
390
|
+
bgGroup: l,
|
|
391
|
+
groupParent: d,
|
|
392
|
+
bgPosition: v,
|
|
393
|
+
border: y,
|
|
341
394
|
boxShadow: B,
|
|
342
|
-
color:
|
|
343
|
-
cursor:
|
|
344
|
-
opacity:
|
|
345
|
-
overflow:
|
|
346
|
-
overflowX:
|
|
347
|
-
overflowY:
|
|
348
|
-
pointerEvents:
|
|
349
|
-
aspectRatio:
|
|
395
|
+
color: h,
|
|
396
|
+
cursor: g,
|
|
397
|
+
opacity: b,
|
|
398
|
+
overflow: S,
|
|
399
|
+
overflowX: x,
|
|
400
|
+
overflowY: k,
|
|
401
|
+
pointerEvents: R,
|
|
402
|
+
aspectRatio: W,
|
|
350
403
|
transform: L,
|
|
351
|
-
transformOrigin:
|
|
352
|
-
p:
|
|
353
|
-
m
|
|
354
|
-
outlineColor:
|
|
404
|
+
transformOrigin: C,
|
|
405
|
+
p: w,
|
|
406
|
+
m,
|
|
407
|
+
outlineColor: P,
|
|
355
408
|
outlineWidth: N,
|
|
356
|
-
outlineOffset:
|
|
409
|
+
outlineOffset: I,
|
|
357
410
|
outlineStyle: j,
|
|
358
|
-
listStyle:
|
|
359
|
-
display:
|
|
360
|
-
position:
|
|
361
|
-
width:
|
|
362
|
-
maxWidth:
|
|
363
|
-
minWidth:
|
|
364
|
-
height:
|
|
365
|
-
hover:
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
411
|
+
listStyle: O,
|
|
412
|
+
display: E,
|
|
413
|
+
position: e,
|
|
414
|
+
width: q,
|
|
415
|
+
maxWidth: J,
|
|
416
|
+
minWidth: Q,
|
|
417
|
+
height: U,
|
|
418
|
+
hover: oo,
|
|
419
|
+
focusVisible: to,
|
|
420
|
+
active: io,
|
|
421
|
+
disabledStyle: eo,
|
|
422
|
+
maxHeight: ro,
|
|
423
|
+
minHeight: no,
|
|
424
|
+
md: ao,
|
|
425
|
+
lg: so,
|
|
426
|
+
xl: fo,
|
|
427
|
+
style: _,
|
|
428
|
+
...co
|
|
429
|
+
} = t, uo = i ?? "div", M = go({
|
|
430
|
+
hover: oo,
|
|
431
|
+
focusVisible: to,
|
|
432
|
+
active: io,
|
|
433
|
+
disabledStyle: eo,
|
|
375
434
|
background: s,
|
|
376
|
-
backgroundColor:
|
|
377
|
-
bg:
|
|
378
|
-
bgSize:
|
|
379
|
-
bgRepeat:
|
|
380
|
-
bgGroup:
|
|
381
|
-
groupParent:
|
|
382
|
-
bgPosition:
|
|
383
|
-
border:
|
|
435
|
+
backgroundColor: p,
|
|
436
|
+
bg: c,
|
|
437
|
+
bgSize: r,
|
|
438
|
+
bgRepeat: u,
|
|
439
|
+
bgGroup: l,
|
|
440
|
+
groupParent: d,
|
|
441
|
+
bgPosition: v,
|
|
442
|
+
border: y,
|
|
384
443
|
boxShadow: B,
|
|
385
|
-
color:
|
|
386
|
-
cursor:
|
|
387
|
-
opacity:
|
|
388
|
-
overflow:
|
|
389
|
-
overflowX:
|
|
390
|
-
overflowY:
|
|
391
|
-
pointerEvents:
|
|
392
|
-
aspectRatio:
|
|
444
|
+
color: h,
|
|
445
|
+
cursor: g,
|
|
446
|
+
opacity: b,
|
|
447
|
+
overflow: S,
|
|
448
|
+
overflowX: x,
|
|
449
|
+
overflowY: k,
|
|
450
|
+
pointerEvents: R,
|
|
451
|
+
aspectRatio: W,
|
|
393
452
|
transform: L,
|
|
394
|
-
transformOrigin:
|
|
395
|
-
p:
|
|
396
|
-
m
|
|
397
|
-
outlineColor:
|
|
453
|
+
transformOrigin: C,
|
|
454
|
+
p: w,
|
|
455
|
+
m,
|
|
456
|
+
outlineColor: P,
|
|
398
457
|
outlineWidth: N,
|
|
399
|
-
outlineOffset:
|
|
458
|
+
outlineOffset: I,
|
|
400
459
|
outlineStyle: j,
|
|
401
|
-
listStyle:
|
|
402
|
-
display:
|
|
403
|
-
position:
|
|
404
|
-
width:
|
|
405
|
-
maxWidth:
|
|
406
|
-
minWidth:
|
|
407
|
-
height:
|
|
408
|
-
maxHeight:
|
|
409
|
-
minHeight:
|
|
410
|
-
md:
|
|
411
|
-
lg:
|
|
412
|
-
xl:
|
|
413
|
-
}),
|
|
414
|
-
...
|
|
415
|
-
...
|
|
460
|
+
listStyle: O,
|
|
461
|
+
display: E,
|
|
462
|
+
position: e,
|
|
463
|
+
width: q,
|
|
464
|
+
maxWidth: J,
|
|
465
|
+
minWidth: Q,
|
|
466
|
+
height: U,
|
|
467
|
+
maxHeight: ro,
|
|
468
|
+
minHeight: no,
|
|
469
|
+
md: ao,
|
|
470
|
+
lg: so,
|
|
471
|
+
xl: fo
|
|
472
|
+
}), lo = M.style || _ ? {
|
|
473
|
+
...M.style,
|
|
474
|
+
..._
|
|
416
475
|
} : void 0;
|
|
417
|
-
return /* @__PURE__ */
|
|
418
|
-
|
|
476
|
+
return /* @__PURE__ */ bo(
|
|
477
|
+
uo,
|
|
419
478
|
{
|
|
420
|
-
className:
|
|
479
|
+
className: po(M.className, d && "group", n),
|
|
421
480
|
ref: o,
|
|
422
|
-
style:
|
|
423
|
-
...
|
|
424
|
-
children:
|
|
481
|
+
style: lo,
|
|
482
|
+
...co,
|
|
483
|
+
children: a
|
|
425
484
|
}
|
|
426
485
|
);
|
|
427
486
|
}
|
|
428
|
-
const
|
|
487
|
+
const Ao = mo(No);
|
|
429
488
|
export {
|
|
430
|
-
|
|
489
|
+
Ao as Box
|
|
431
490
|
};
|