@evercam/ui 0.0.18 → 0.0.19
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/attributes.json +157 -0
- package/dist/index.mjs +88 -87
- package/dist/index.mjs.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/src/index.d.ts +105 -0
- package/dist/tags.json +66 -0
- package/dist/web-types.json +434 -0
- package/package.json +10 -3
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
{
|
|
2
|
+
"EAvatar/size": {
|
|
3
|
+
"type": "any",
|
|
4
|
+
"description": "",
|
|
5
|
+
"default": "base"
|
|
6
|
+
},
|
|
7
|
+
"EAvatar/show-badge": {
|
|
8
|
+
"type": "any",
|
|
9
|
+
"description": "",
|
|
10
|
+
"default": false
|
|
11
|
+
},
|
|
12
|
+
"EAvatar/badge-color": {
|
|
13
|
+
"type": "any",
|
|
14
|
+
"description": "",
|
|
15
|
+
"default": "error"
|
|
16
|
+
},
|
|
17
|
+
"EAvatar/badge-text": {
|
|
18
|
+
"type": "any",
|
|
19
|
+
"description": "",
|
|
20
|
+
"default": ""
|
|
21
|
+
},
|
|
22
|
+
"EAvatar/badge-size": {
|
|
23
|
+
"type": "any",
|
|
24
|
+
"description": "",
|
|
25
|
+
"default": "base"
|
|
26
|
+
},
|
|
27
|
+
"EAvatar/image": {
|
|
28
|
+
"type": "any",
|
|
29
|
+
"description": "",
|
|
30
|
+
"default": ""
|
|
31
|
+
},
|
|
32
|
+
"EBadge/text": {
|
|
33
|
+
"type": "any",
|
|
34
|
+
"description": "",
|
|
35
|
+
"default": ""
|
|
36
|
+
},
|
|
37
|
+
"EBadge/color": {
|
|
38
|
+
"type": "any",
|
|
39
|
+
"description": "",
|
|
40
|
+
"default": "default"
|
|
41
|
+
},
|
|
42
|
+
"EBadge/size": {
|
|
43
|
+
"type": "any",
|
|
44
|
+
"description": "",
|
|
45
|
+
"default": "base"
|
|
46
|
+
},
|
|
47
|
+
"EIcon/icon": {
|
|
48
|
+
"type": "any",
|
|
49
|
+
"description": "",
|
|
50
|
+
"default": ""
|
|
51
|
+
},
|
|
52
|
+
"EIcon/color": {
|
|
53
|
+
"type": "any",
|
|
54
|
+
"description": "",
|
|
55
|
+
"default": "default"
|
|
56
|
+
},
|
|
57
|
+
"EIcon/size": {
|
|
58
|
+
"type": "any",
|
|
59
|
+
"description": "",
|
|
60
|
+
"default": "sm"
|
|
61
|
+
},
|
|
62
|
+
"ESpinner/dark": {
|
|
63
|
+
"type": "any",
|
|
64
|
+
"description": "",
|
|
65
|
+
"default": false
|
|
66
|
+
},
|
|
67
|
+
"ESpinner/color": {
|
|
68
|
+
"type": "any",
|
|
69
|
+
"description": "",
|
|
70
|
+
"default": true
|
|
71
|
+
},
|
|
72
|
+
"ESpinner/animation-duration": {
|
|
73
|
+
"type": "number|string",
|
|
74
|
+
"description": "",
|
|
75
|
+
"default": 1000
|
|
76
|
+
},
|
|
77
|
+
"ESpinner/size": {
|
|
78
|
+
"type": "any",
|
|
79
|
+
"description": "",
|
|
80
|
+
"default": "base"
|
|
81
|
+
},
|
|
82
|
+
"ESpinner/opacity": {
|
|
83
|
+
"type": "string|number",
|
|
84
|
+
"description": "",
|
|
85
|
+
"default": 1
|
|
86
|
+
},
|
|
87
|
+
"ERow/align": {
|
|
88
|
+
"type": "any",
|
|
89
|
+
"description": ""
|
|
90
|
+
},
|
|
91
|
+
"ERow/align-content": {
|
|
92
|
+
"type": "any",
|
|
93
|
+
"description": ""
|
|
94
|
+
},
|
|
95
|
+
"ERow/justify": {
|
|
96
|
+
"type": "any",
|
|
97
|
+
"description": ""
|
|
98
|
+
},
|
|
99
|
+
"ERow/no-gutters": {
|
|
100
|
+
"type": "any",
|
|
101
|
+
"description": "",
|
|
102
|
+
"default": false
|
|
103
|
+
},
|
|
104
|
+
"ECol/align-self": {
|
|
105
|
+
"type": "any",
|
|
106
|
+
"description": "",
|
|
107
|
+
"default": "auto"
|
|
108
|
+
},
|
|
109
|
+
"ECol/cols": {
|
|
110
|
+
"type": "boolean|string|number",
|
|
111
|
+
"description": ""
|
|
112
|
+
},
|
|
113
|
+
"ECol/lg": {
|
|
114
|
+
"type": "boolean|string|number",
|
|
115
|
+
"description": ""
|
|
116
|
+
},
|
|
117
|
+
"ECol/md": {
|
|
118
|
+
"type": "boolean|string|number",
|
|
119
|
+
"description": ""
|
|
120
|
+
},
|
|
121
|
+
"ECol/offset": {
|
|
122
|
+
"type": "string|number",
|
|
123
|
+
"description": ""
|
|
124
|
+
},
|
|
125
|
+
"ECol/offset-lg": {
|
|
126
|
+
"type": "string|number",
|
|
127
|
+
"description": ""
|
|
128
|
+
},
|
|
129
|
+
"ECol/offset-md": {
|
|
130
|
+
"type": "string|number",
|
|
131
|
+
"description": ""
|
|
132
|
+
},
|
|
133
|
+
"ECol/offset-sm": {
|
|
134
|
+
"type": "string|number",
|
|
135
|
+
"description": ""
|
|
136
|
+
},
|
|
137
|
+
"ECol/offset-xs": {
|
|
138
|
+
"type": "string|number",
|
|
139
|
+
"description": ""
|
|
140
|
+
},
|
|
141
|
+
"ECol/offset-xl": {
|
|
142
|
+
"type": "string|number",
|
|
143
|
+
"description": ""
|
|
144
|
+
},
|
|
145
|
+
"ECol/sm": {
|
|
146
|
+
"type": "boolean|string|number",
|
|
147
|
+
"description": ""
|
|
148
|
+
},
|
|
149
|
+
"ECol/xs": {
|
|
150
|
+
"type": "boolean|string|number",
|
|
151
|
+
"description": ""
|
|
152
|
+
},
|
|
153
|
+
"ECol/xl": {
|
|
154
|
+
"type": "boolean|string|number",
|
|
155
|
+
"description": ""
|
|
156
|
+
}
|
|
157
|
+
}
|
package/dist/index.mjs
CHANGED
|
@@ -2109,11 +2109,11 @@ var te = {}, ye = {}, G = {};
|
|
|
2109
2109
|
Object.defineProperty(e, "__esModule", {
|
|
2110
2110
|
value: !0
|
|
2111
2111
|
});
|
|
2112
|
-
function i(l,
|
|
2113
|
-
for (var P in
|
|
2112
|
+
function i(l, v) {
|
|
2113
|
+
for (var P in v)
|
|
2114
2114
|
Object.defineProperty(l, P, {
|
|
2115
2115
|
enumerable: !0,
|
|
2116
|
-
get:
|
|
2116
|
+
get: v[P]
|
|
2117
2117
|
});
|
|
2118
2118
|
}
|
|
2119
2119
|
i(e, {
|
|
@@ -2157,7 +2157,7 @@ var te = {}, ye = {}, G = {};
|
|
|
2157
2157
|
return s;
|
|
2158
2158
|
},
|
|
2159
2159
|
absoluteSize: function() {
|
|
2160
|
-
return
|
|
2160
|
+
return x;
|
|
2161
2161
|
},
|
|
2162
2162
|
relativeSize: function() {
|
|
2163
2163
|
return C;
|
|
@@ -2171,16 +2171,16 @@ var te = {}, ye = {}, G = {};
|
|
|
2171
2171
|
"calc"
|
|
2172
2172
|
];
|
|
2173
2173
|
function r(l) {
|
|
2174
|
-
return u.some((
|
|
2174
|
+
return u.some((v) => new RegExp(`^${v}\\(.*\\)`).test(l));
|
|
2175
2175
|
}
|
|
2176
2176
|
const y = "--tw-placeholder", a = new RegExp(y, "g");
|
|
2177
|
-
function t(l,
|
|
2178
|
-
return l.startsWith("--") ? `var(${l})` : l.includes("url(") ? l.split(/(url\(.*?\))/g).filter(Boolean).map((P) => /^url\(.*?\)$/.test(P) ? P : t(P, !1)).join("") : (l = l.replace(/([^\\])_+/g, (P, A) => A + " ".repeat(P.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"),
|
|
2177
|
+
function t(l, v = !0) {
|
|
2178
|
+
return l.startsWith("--") ? `var(${l})` : l.includes("url(") ? l.split(/(url\(.*?\))/g).filter(Boolean).map((P) => /^url\(.*?\)$/.test(P) ? P : t(P, !1)).join("") : (l = l.replace(/([^\\])_+/g, (P, A) => A + " ".repeat(P.length - 1)).replace(/^_/g, " ").replace(/\\_/g, "_"), v && (l = l.trim()), l = d(l), l);
|
|
2179
2179
|
}
|
|
2180
2180
|
function d(l) {
|
|
2181
|
-
return l.replace(/(calc|min|max|clamp)\(.+\)/g, (
|
|
2181
|
+
return l.replace(/(calc|min|max|clamp)\(.+\)/g, (v) => {
|
|
2182
2182
|
let P = [];
|
|
2183
|
-
return
|
|
2183
|
+
return v.replace(/var\((--.+?)[,)]/g, (A, I) => (P.push(I), A.replace(I, y))).replace(/(-?\d*\.?\d(?!\b-\d.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g, "$1 $2 ").replace(a, () => P.shift());
|
|
2184
2184
|
});
|
|
2185
2185
|
}
|
|
2186
2186
|
function m(l) {
|
|
@@ -2237,26 +2237,26 @@ var te = {}, ye = {}, G = {};
|
|
|
2237
2237
|
return T.has(l);
|
|
2238
2238
|
}
|
|
2239
2239
|
function z(l) {
|
|
2240
|
-
let
|
|
2241
|
-
for (let P of
|
|
2240
|
+
let v = (0, b.parseBoxShadowValue)(t(l));
|
|
2241
|
+
for (let P of v)
|
|
2242
2242
|
if (!P.valid)
|
|
2243
2243
|
return !1;
|
|
2244
2244
|
return !0;
|
|
2245
2245
|
}
|
|
2246
2246
|
function D(l) {
|
|
2247
|
-
let
|
|
2247
|
+
let v = 0;
|
|
2248
2248
|
return (0, o.splitAtTopLevelOnly)(l, "_").every((A) => (A = t(A), A.startsWith("var(") ? !0 : (0, n.parseColor)(A, {
|
|
2249
2249
|
loose: !0
|
|
2250
|
-
}) !== null ? (
|
|
2250
|
+
}) !== null ? (v++, !0) : !1)) ? v > 0 : !1;
|
|
2251
2251
|
}
|
|
2252
2252
|
function F(l) {
|
|
2253
|
-
let
|
|
2253
|
+
let v = 0;
|
|
2254
2254
|
return (0, o.splitAtTopLevelOnly)(l, ",").every((A) => (A = t(A), A.startsWith("var(") ? !0 : m(A) || B(A) || [
|
|
2255
2255
|
"element(",
|
|
2256
2256
|
"image(",
|
|
2257
2257
|
"cross-fade(",
|
|
2258
2258
|
"image-set("
|
|
2259
|
-
].some((I) => A.startsWith(I)) ? (
|
|
2259
|
+
].some((I) => A.startsWith(I)) ? (v++, !0) : !1)) ? v > 0 : !1;
|
|
2260
2260
|
}
|
|
2261
2261
|
let R = /* @__PURE__ */ new Set([
|
|
2262
2262
|
"conic-gradient",
|
|
@@ -2268,8 +2268,8 @@ var te = {}, ye = {}, G = {};
|
|
|
2268
2268
|
]);
|
|
2269
2269
|
function B(l) {
|
|
2270
2270
|
l = t(l);
|
|
2271
|
-
for (let
|
|
2272
|
-
if (l.startsWith(`${
|
|
2271
|
+
for (let v of R)
|
|
2272
|
+
if (l.startsWith(`${v}(`))
|
|
2273
2273
|
return !0;
|
|
2274
2274
|
return !1;
|
|
2275
2275
|
}
|
|
@@ -2281,12 +2281,12 @@ var te = {}, ye = {}, G = {};
|
|
|
2281
2281
|
"left"
|
|
2282
2282
|
]);
|
|
2283
2283
|
function p(l) {
|
|
2284
|
-
let
|
|
2285
|
-
return (0, o.splitAtTopLevelOnly)(l, "_").every((A) => (A = t(A), A.startsWith("var(") ? !0 : U.has(A) || $(A) || S(A) ? (
|
|
2284
|
+
let v = 0;
|
|
2285
|
+
return (0, o.splitAtTopLevelOnly)(l, "_").every((A) => (A = t(A), A.startsWith("var(") ? !0 : U.has(A) || $(A) || S(A) ? (v++, !0) : !1)) ? v > 0 : !1;
|
|
2286
2286
|
}
|
|
2287
2287
|
function O(l) {
|
|
2288
|
-
let
|
|
2289
|
-
return (0, o.splitAtTopLevelOnly)(l, ",").every((A) => (A = t(A), A.startsWith("var(") ? !0 : A.includes(" ") && !/(['"])([^"']+)\1/g.test(A) || /^\d/g.test(A) ? !1 : (
|
|
2288
|
+
let v = 0;
|
|
2289
|
+
return (0, o.splitAtTopLevelOnly)(l, ",").every((A) => (A = t(A), A.startsWith("var(") ? !0 : A.includes(" ") && !/(['"])([^"']+)\1/g.test(A) || /^\d/g.test(A) ? !1 : (v++, !0))) ? v > 0 : !1;
|
|
2290
2290
|
}
|
|
2291
2291
|
let _ = /* @__PURE__ */ new Set([
|
|
2292
2292
|
"serif",
|
|
@@ -2316,7 +2316,7 @@ var te = {}, ye = {}, G = {};
|
|
|
2316
2316
|
"x-large",
|
|
2317
2317
|
"xxx-large"
|
|
2318
2318
|
]);
|
|
2319
|
-
function
|
|
2319
|
+
function x(l) {
|
|
2320
2320
|
return h.has(l);
|
|
2321
2321
|
}
|
|
2322
2322
|
let c = /* @__PURE__ */ new Set([
|
|
@@ -2327,7 +2327,7 @@ var te = {}, ye = {}, G = {};
|
|
|
2327
2327
|
return c.has(l);
|
|
2328
2328
|
}
|
|
2329
2329
|
})(te);
|
|
2330
|
-
var
|
|
2330
|
+
var xe = {};
|
|
2331
2331
|
(function(e) {
|
|
2332
2332
|
Object.defineProperty(e, "__esModule", {
|
|
2333
2333
|
value: !0
|
|
@@ -2348,7 +2348,7 @@ var ve = {};
|
|
|
2348
2348
|
return y.length === 1 && u.includes(y[0]) ? !0 : y.length !== 1 && y.length !== 2 ? !1 : y.every((a) => (0, i.length)(a) || (0, i.percentage)(a) || a === "auto");
|
|
2349
2349
|
});
|
|
2350
2350
|
}
|
|
2351
|
-
})(
|
|
2351
|
+
})(xe);
|
|
2352
2352
|
(function(e) {
|
|
2353
2353
|
Object.defineProperty(e, "__esModule", {
|
|
2354
2354
|
value: !0
|
|
@@ -2386,7 +2386,7 @@ var ve = {};
|
|
|
2386
2386
|
return U;
|
|
2387
2387
|
}
|
|
2388
2388
|
});
|
|
2389
|
-
const n = /* @__PURE__ */ a(he), b = Z, o = te, u = /* @__PURE__ */ a(K), r =
|
|
2389
|
+
const n = /* @__PURE__ */ a(he), b = Z, o = te, u = /* @__PURE__ */ a(K), r = xe, y = q;
|
|
2390
2390
|
function a(p) {
|
|
2391
2391
|
return p && p.__esModule ? p : {
|
|
2392
2392
|
default: p
|
|
@@ -2450,11 +2450,11 @@ var ve = {};
|
|
|
2450
2450
|
var h;
|
|
2451
2451
|
return k((h = O.values) === null || h === void 0 ? void 0 : h[p]);
|
|
2452
2452
|
}
|
|
2453
|
-
let [
|
|
2453
|
+
let [x, c] = g(p);
|
|
2454
2454
|
if (c !== void 0) {
|
|
2455
|
-
var C, l,
|
|
2456
|
-
let A = (P = (C = O.values) === null || C === void 0 ? void 0 : C[
|
|
2457
|
-
return A === void 0 ? void 0 : (A = k(A), S(c) ? (0, b.withAlphaValue)(A, $(c)) : ((l = _.theme) === null || l === void 0 || (
|
|
2455
|
+
var C, l, v, P;
|
|
2456
|
+
let A = (P = (C = O.values) === null || C === void 0 ? void 0 : C[x]) !== null && P !== void 0 ? P : S(x) ? x.slice(1, -1) : void 0;
|
|
2457
|
+
return A === void 0 ? void 0 : (A = k(A), S(c) ? (0, b.withAlphaValue)(A, $(c)) : ((l = _.theme) === null || l === void 0 || (v = l.opacity) === null || v === void 0 ? void 0 : v[c]) === void 0 ? void 0 : (0, b.withAlphaValue)(A, _.theme.opacity[c]));
|
|
2458
2458
|
}
|
|
2459
2459
|
return f(p, O, {
|
|
2460
2460
|
validate: o.color
|
|
@@ -2499,21 +2499,21 @@ var ve = {};
|
|
|
2499
2499
|
}
|
|
2500
2500
|
function B(p, O, _, s) {
|
|
2501
2501
|
if (_.values && O in _.values)
|
|
2502
|
-
for (let { type:
|
|
2503
|
-
let c = D[
|
|
2502
|
+
for (let { type: x } of p != null ? p : []) {
|
|
2503
|
+
let c = D[x](O, _, {
|
|
2504
2504
|
tailwindConfig: s
|
|
2505
2505
|
});
|
|
2506
2506
|
if (c !== void 0)
|
|
2507
2507
|
return [
|
|
2508
2508
|
c,
|
|
2509
|
-
|
|
2509
|
+
x,
|
|
2510
2510
|
null
|
|
2511
2511
|
];
|
|
2512
2512
|
}
|
|
2513
2513
|
if (S(O)) {
|
|
2514
|
-
let
|
|
2514
|
+
let x = O.slice(1, -1), [c, C] = R(x, ":");
|
|
2515
2515
|
if (!/^[\w-_]+$/g.test(c))
|
|
2516
|
-
C =
|
|
2516
|
+
C = x;
|
|
2517
2517
|
else if (c !== void 0 && !F.includes(c))
|
|
2518
2518
|
return [];
|
|
2519
2519
|
if (C.length > 0 && F.includes(c))
|
|
@@ -2524,19 +2524,19 @@ var ve = {};
|
|
|
2524
2524
|
];
|
|
2525
2525
|
}
|
|
2526
2526
|
let h = U(p, O, _, s);
|
|
2527
|
-
for (let
|
|
2528
|
-
return
|
|
2527
|
+
for (let x of h)
|
|
2528
|
+
return x;
|
|
2529
2529
|
return [];
|
|
2530
2530
|
}
|
|
2531
2531
|
function* U(p, O, _, s) {
|
|
2532
|
-
let h = (0, y.flagEnabled)(s, "generalizedModifiers"), [
|
|
2533
|
-
if (h && _.modifiers != null && (_.modifiers === "any" || typeof _.modifiers == "object" && (c && S(c) || c in _.modifiers)) || (
|
|
2534
|
-
var l,
|
|
2535
|
-
let P = (
|
|
2532
|
+
let h = (0, y.flagEnabled)(s, "generalizedModifiers"), [x, c] = g(O);
|
|
2533
|
+
if (h && _.modifiers != null && (_.modifiers === "any" || typeof _.modifiers == "object" && (c && S(c) || c in _.modifiers)) || (x = O, c = void 0), c !== void 0 && x === "" && (x = "DEFAULT"), c !== void 0 && typeof _.modifiers == "object") {
|
|
2534
|
+
var l, v;
|
|
2535
|
+
let P = (v = (l = _.modifiers) === null || l === void 0 ? void 0 : l[c]) !== null && v !== void 0 ? v : null;
|
|
2536
2536
|
P !== null ? c = P : S(c) && (c = $(c));
|
|
2537
2537
|
}
|
|
2538
2538
|
for (let { type: P } of p != null ? p : []) {
|
|
2539
|
-
let A = D[P](
|
|
2539
|
+
let A = D[P](x, _, {
|
|
2540
2540
|
tailwindConfig: s
|
|
2541
2541
|
});
|
|
2542
2542
|
A !== void 0 && (yield [
|
|
@@ -2547,7 +2547,7 @@ var ve = {};
|
|
|
2547
2547
|
}
|
|
2548
2548
|
}
|
|
2549
2549
|
})(ge);
|
|
2550
|
-
var
|
|
2550
|
+
var ve = {};
|
|
2551
2551
|
(function(e) {
|
|
2552
2552
|
Object.defineProperty(e, "__esModule", {
|
|
2553
2553
|
value: !0
|
|
@@ -2560,7 +2560,7 @@ var xe = {};
|
|
|
2560
2560
|
function i(n) {
|
|
2561
2561
|
return typeof n == "function" ? n({}) : n;
|
|
2562
2562
|
}
|
|
2563
|
-
})(
|
|
2563
|
+
})(ve);
|
|
2564
2564
|
(function(e) {
|
|
2565
2565
|
Object.defineProperty(e, "__esModule", {
|
|
2566
2566
|
value: !0
|
|
@@ -2570,7 +2570,7 @@ var xe = {};
|
|
|
2570
2570
|
return _;
|
|
2571
2571
|
}
|
|
2572
2572
|
});
|
|
2573
|
-
const i = /* @__PURE__ */ S(K), n = /* @__PURE__ */ S(oe), b = /* @__PURE__ */ S(le), o = /* @__PURE__ */ S(J), u = fe, r = ce, y = de, a = /* @__PURE__ */ S(pe), t = me, d = ge, m = Z, f = /* @__PURE__ */ S(
|
|
2573
|
+
const i = /* @__PURE__ */ S(K), n = /* @__PURE__ */ S(oe), b = /* @__PURE__ */ S(le), o = /* @__PURE__ */ S(J), u = fe, r = ce, y = de, a = /* @__PURE__ */ S(pe), t = me, d = ge, m = Z, f = /* @__PURE__ */ S(ve);
|
|
2574
2574
|
function S(s) {
|
|
2575
2575
|
return s && s.__esModule ? s : {
|
|
2576
2576
|
default: s
|
|
@@ -2580,26 +2580,26 @@ var xe = {};
|
|
|
2580
2580
|
return typeof s == "function";
|
|
2581
2581
|
}
|
|
2582
2582
|
function k(s, ...h) {
|
|
2583
|
-
let
|
|
2583
|
+
let x = h.pop();
|
|
2584
2584
|
for (let c of h)
|
|
2585
2585
|
for (let C in c) {
|
|
2586
|
-
let l =
|
|
2587
|
-
l === void 0 ? (0, a.default)(s[C]) && (0, a.default)(c[C]) ? s[C] = k({}, s[C], c[C],
|
|
2586
|
+
let l = x(s[C], c[C]);
|
|
2587
|
+
l === void 0 ? (0, a.default)(s[C]) && (0, a.default)(c[C]) ? s[C] = k({}, s[C], c[C], x) : s[C] = c[C] : s[C] = l;
|
|
2588
2588
|
}
|
|
2589
2589
|
return s;
|
|
2590
2590
|
}
|
|
2591
2591
|
const $ = {
|
|
2592
2592
|
colors: o.default,
|
|
2593
2593
|
negative(s) {
|
|
2594
|
-
return Object.keys(s).filter((h) => s[h] !== "0").reduce((h,
|
|
2595
|
-
let c = (0, i.default)(s[
|
|
2596
|
-
return c !== void 0 && (h[`-${
|
|
2594
|
+
return Object.keys(s).filter((h) => s[h] !== "0").reduce((h, x) => {
|
|
2595
|
+
let c = (0, i.default)(s[x]);
|
|
2596
|
+
return c !== void 0 && (h[`-${x}`] = c), h;
|
|
2597
2597
|
}, {});
|
|
2598
2598
|
},
|
|
2599
2599
|
breakpoints(s) {
|
|
2600
|
-
return Object.keys(s).filter((h) => typeof s[h] == "string").reduce((h,
|
|
2600
|
+
return Object.keys(s).filter((h) => typeof s[h] == "string").reduce((h, x) => ({
|
|
2601
2601
|
...h,
|
|
2602
|
-
[`screen-${
|
|
2602
|
+
[`screen-${x}`]: s[x]
|
|
2603
2603
|
}), {});
|
|
2604
2604
|
}
|
|
2605
2605
|
};
|
|
@@ -2607,7 +2607,7 @@ var xe = {};
|
|
|
2607
2607
|
return g(s) ? s(...h) : s;
|
|
2608
2608
|
}
|
|
2609
2609
|
function j(s) {
|
|
2610
|
-
return s.reduce((h, { extend:
|
|
2610
|
+
return s.reduce((h, { extend: x }) => k(h, x, (c, C) => c === void 0 ? [
|
|
2611
2611
|
C
|
|
2612
2612
|
] : Array.isArray(c) ? [
|
|
2613
2613
|
C,
|
|
@@ -2619,7 +2619,7 @@ var xe = {};
|
|
|
2619
2619
|
}
|
|
2620
2620
|
function z(s) {
|
|
2621
2621
|
return {
|
|
2622
|
-
...s.reduce((h,
|
|
2622
|
+
...s.reduce((h, x) => (0, u.defaults)(h, x), {}),
|
|
2623
2623
|
// In order to resolve n config objects, we combine all of their `extend` properties
|
|
2624
2624
|
// into arrays instead of objects so they aren't overridden.
|
|
2625
2625
|
extend: j(s)
|
|
@@ -2637,33 +2637,33 @@ var xe = {};
|
|
|
2637
2637
|
return h;
|
|
2638
2638
|
}
|
|
2639
2639
|
function F({ extend: s, ...h }) {
|
|
2640
|
-
return k(h, s, (
|
|
2641
|
-
|
|
2640
|
+
return k(h, s, (x, c) => !g(x) && !c.some(g) ? k({}, x, ...c, D) : (C, l) => k({}, ...[
|
|
2641
|
+
x,
|
|
2642
2642
|
...c
|
|
2643
|
-
].map((
|
|
2643
|
+
].map((v) => T(v, C, l)), D));
|
|
2644
2644
|
}
|
|
2645
2645
|
function* R(s) {
|
|
2646
2646
|
let h = (0, r.toPath)(s);
|
|
2647
2647
|
if (h.length === 0 || (yield h, Array.isArray(s)))
|
|
2648
2648
|
return;
|
|
2649
|
-
let
|
|
2649
|
+
let x = /^(.*?)\s*\/\s*([^/]+)$/, c = s.match(x);
|
|
2650
2650
|
if (c !== null) {
|
|
2651
|
-
let [, C, l] = c,
|
|
2652
|
-
|
|
2651
|
+
let [, C, l] = c, v = (0, r.toPath)(C);
|
|
2652
|
+
v.alpha = l, yield v;
|
|
2653
2653
|
}
|
|
2654
2654
|
}
|
|
2655
2655
|
function B(s) {
|
|
2656
|
-
const h = (
|
|
2657
|
-
for (const C of R(
|
|
2658
|
-
let l = 0,
|
|
2659
|
-
for (;
|
|
2660
|
-
|
|
2661
|
-
if (
|
|
2656
|
+
const h = (x, c) => {
|
|
2657
|
+
for (const C of R(x)) {
|
|
2658
|
+
let l = 0, v = s;
|
|
2659
|
+
for (; v != null && l < C.length; )
|
|
2660
|
+
v = v[C[l++]], v = g(v) && (C.alpha === void 0 || l <= C.length - 1) ? v(h, $) : v;
|
|
2661
|
+
if (v !== void 0) {
|
|
2662
2662
|
if (C.alpha !== void 0) {
|
|
2663
|
-
let P = (0, d.parseColorFormat)(
|
|
2663
|
+
let P = (0, d.parseColorFormat)(v);
|
|
2664
2664
|
return (0, m.withAlphaValue)(P, C.alpha, (0, f.default)(P));
|
|
2665
2665
|
}
|
|
2666
|
-
return (0, a.default)(
|
|
2666
|
+
return (0, a.default)(v) ? (0, t.cloneDeep)(v) : v;
|
|
2667
2667
|
}
|
|
2668
2668
|
}
|
|
2669
2669
|
return c;
|
|
@@ -2671,24 +2671,24 @@ var xe = {};
|
|
|
2671
2671
|
return Object.assign(h, {
|
|
2672
2672
|
theme: h,
|
|
2673
2673
|
...$
|
|
2674
|
-
}), Object.keys(s).reduce((
|
|
2674
|
+
}), Object.keys(s).reduce((x, c) => (x[c] = g(s[c]) ? s[c](h, $) : s[c], x), {});
|
|
2675
2675
|
}
|
|
2676
2676
|
function U(s) {
|
|
2677
2677
|
let h = [];
|
|
2678
|
-
return s.forEach((
|
|
2678
|
+
return s.forEach((x) => {
|
|
2679
2679
|
h = [
|
|
2680
2680
|
...h,
|
|
2681
|
-
|
|
2681
|
+
x
|
|
2682
2682
|
];
|
|
2683
2683
|
var c;
|
|
2684
|
-
const C = (c =
|
|
2684
|
+
const C = (c = x == null ? void 0 : x.plugins) !== null && c !== void 0 ? c : [];
|
|
2685
2685
|
C.length !== 0 && C.forEach((l) => {
|
|
2686
2686
|
l.__isOptionsFunction && (l = l());
|
|
2687
|
-
var
|
|
2687
|
+
var v;
|
|
2688
2688
|
h = [
|
|
2689
2689
|
...h,
|
|
2690
2690
|
...U([
|
|
2691
|
-
(
|
|
2691
|
+
(v = l == null ? void 0 : l.config) !== null && v !== void 0 ? v : {}
|
|
2692
2692
|
])
|
|
2693
2693
|
];
|
|
2694
2694
|
});
|
|
@@ -2697,15 +2697,15 @@ var xe = {};
|
|
|
2697
2697
|
function p(s) {
|
|
2698
2698
|
return [
|
|
2699
2699
|
...s
|
|
2700
|
-
].reduceRight((
|
|
2701
|
-
corePlugins:
|
|
2702
|
-
}) : (0, b.default)(c,
|
|
2700
|
+
].reduceRight((x, c) => g(c) ? c({
|
|
2701
|
+
corePlugins: x
|
|
2702
|
+
}) : (0, b.default)(c, x), n.default);
|
|
2703
2703
|
}
|
|
2704
2704
|
function O(s) {
|
|
2705
2705
|
return [
|
|
2706
2706
|
...s
|
|
2707
|
-
].reduceRight((
|
|
2708
|
-
...
|
|
2707
|
+
].reduceRight((x, c) => [
|
|
2708
|
+
...x,
|
|
2709
2709
|
...c
|
|
2710
2710
|
], []);
|
|
2711
2711
|
}
|
|
@@ -2718,9 +2718,9 @@ var xe = {};
|
|
|
2718
2718
|
separator: ":"
|
|
2719
2719
|
}
|
|
2720
2720
|
];
|
|
2721
|
-
var
|
|
2721
|
+
var x, c;
|
|
2722
2722
|
return (0, y.normalizeConfig)((0, u.defaults)({
|
|
2723
|
-
theme: B(F(z(h.map((C) => (
|
|
2723
|
+
theme: B(F(z(h.map((C) => (x = C == null ? void 0 : C.theme) !== null && x !== void 0 ? x : {})))),
|
|
2724
2724
|
corePlugins: p(h.map((C) => C.corePlugins)),
|
|
2725
2725
|
plugins: O(s.map((C) => (c = C == null ? void 0 : C.plugins) !== null && c !== void 0 ? c : []))
|
|
2726
2726
|
}, ...h));
|
|
@@ -4186,12 +4186,12 @@ const rt = tt.exports, nt = W.extend({
|
|
|
4186
4186
|
[this.autoClasses("xl:e", this.xl)]: this.isSizePropAuto(this.xl),
|
|
4187
4187
|
[this.autoClasses("", this.cols)]: this.isSizePropAuto(this.cols, !0),
|
|
4188
4188
|
// cols="12"
|
|
4189
|
-
"xs:e-basis-full": this.xs === 12 || this.xs === "12",
|
|
4190
|
-
"sm:e-basis-full": this.sm === 12 || this.sm === "12",
|
|
4191
|
-
"md:e-basis-full": this.md === 12 || this.md === "12",
|
|
4192
|
-
"lg:e-basis-full": this.lg === 12 || this.lg === "12",
|
|
4193
|
-
"xl:e-basis-full": this.xl === 12 || this.xl === "12",
|
|
4194
|
-
"e-basis-full": this.cols === 12 || this.cols === "12",
|
|
4189
|
+
"xs:e-basis-full xs:!e-max-w-12/12": this.xs === 12 || this.xs === "12",
|
|
4190
|
+
"sm:e-basis-full sm:!e-max-w-12/12": this.sm === 12 || this.sm === "12",
|
|
4191
|
+
"md:e-basis-full md:!e-max-w-12/12": this.md === 12 || this.md === "12",
|
|
4192
|
+
"lg:e-basis-full lg:!e-max-w-12/12": this.lg === 12 || this.lg === "12",
|
|
4193
|
+
"xl:e-basis-full xl:!e-max-w-12/12": this.xl === 12 || this.xl === "12",
|
|
4194
|
+
"e-basis-full e-max-w-12/12": this.cols === 12 || this.cols === "12",
|
|
4195
4195
|
// cols="n"
|
|
4196
4196
|
[`xs:e-basis-${this.xs}/12 xs:!e-max-w-${this.xs}/12`]: this.isSizePropertyNumeric(this.xs),
|
|
4197
4197
|
[`sm:e-basis-${this.sm}/12 sm:!e-max-w-${this.sm}/12`]: this.isSizePropertyNumeric(this.sm),
|
|
@@ -4264,6 +4264,7 @@ export {
|
|
|
4264
4264
|
Be as IconSizes,
|
|
4265
4265
|
w as Size,
|
|
4266
4266
|
Ue as TextSizes,
|
|
4267
|
+
re as components,
|
|
4267
4268
|
dt as default,
|
|
4268
4269
|
we as fullConfig
|
|
4269
4270
|
};
|