@bonprix-ds/react-icon 1.0.0 → 1.0.1
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/index.js +168 -168
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2,61 +2,61 @@
|
|
|
2
2
|
import { createContext as e, useContext as t } from "react";
|
|
3
3
|
import { jsx as n } from "react/jsx-runtime";
|
|
4
4
|
//#region ../../utils/src/contexts/SVGSpriteContext.tsx
|
|
5
|
-
var r = e({}), i =
|
|
5
|
+
var r = e({}), i = () => window.__BONPRIX_DESY_CONFIG__ ?? {}, a = {
|
|
6
6
|
iconSprite: "/assets/sprites/icon-sprite.svg",
|
|
7
7
|
logoSprite: "/assets/sprites/logo-sprite.svg",
|
|
8
8
|
figurineSprite: "/assets/sprites/figurine-sprite.svg",
|
|
9
9
|
illustrationSprite: "/assets/sprites/illustration-sprite.svg"
|
|
10
|
-
},
|
|
11
|
-
let e = t(r), n =
|
|
10
|
+
}, o = (e, t, n) => t?.[e] ?? n?.[e] ?? a[e], s = () => {
|
|
11
|
+
let e = t(r), n = i();
|
|
12
12
|
return {
|
|
13
|
-
iconSprite:
|
|
14
|
-
logoSprite:
|
|
15
|
-
figurineSprite:
|
|
16
|
-
illustrationSprite:
|
|
13
|
+
iconSprite: o("iconSprite", e, n),
|
|
14
|
+
logoSprite: o("logoSprite", e, n),
|
|
15
|
+
figurineSprite: o("figurineSprite", e, n),
|
|
16
|
+
illustrationSprite: o("illustrationSprite", e, n)
|
|
17
17
|
};
|
|
18
|
-
},
|
|
19
|
-
let t =
|
|
18
|
+
}, c = "-", l = (e) => {
|
|
19
|
+
let t = p(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
|
|
20
20
|
return {
|
|
21
21
|
getClassGroupId: (e) => {
|
|
22
|
-
let n = e.split(
|
|
23
|
-
return n[0] === "" && n.length !== 1 && n.shift(),
|
|
22
|
+
let n = e.split(c);
|
|
23
|
+
return n[0] === "" && n.length !== 1 && n.shift(), u(n, t) || f(e);
|
|
24
24
|
},
|
|
25
25
|
getConflictingClassGroupIds: (e, t) => {
|
|
26
26
|
let i = n[e] || [];
|
|
27
27
|
return t && r[e] ? [...i, ...r[e]] : i;
|
|
28
28
|
}
|
|
29
29
|
};
|
|
30
|
-
},
|
|
30
|
+
}, u = (e, t) => {
|
|
31
31
|
if (e.length === 0) return t.classGroupId;
|
|
32
|
-
let n = e[0], r = t.nextPart.get(n), i = r ?
|
|
32
|
+
let n = e[0], r = t.nextPart.get(n), i = r ? u(e.slice(1), r) : void 0;
|
|
33
33
|
if (i) return i;
|
|
34
34
|
if (t.validators.length === 0) return;
|
|
35
|
-
let a = e.join(
|
|
35
|
+
let a = e.join(c);
|
|
36
36
|
return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
|
|
37
|
-
},
|
|
38
|
-
if (
|
|
39
|
-
let t =
|
|
37
|
+
}, d = /^\[(.+)\]$/, f = (e) => {
|
|
38
|
+
if (d.test(e)) {
|
|
39
|
+
let t = d.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
|
|
40
40
|
if (n) return "arbitrary.." + n;
|
|
41
41
|
}
|
|
42
|
-
},
|
|
42
|
+
}, p = (e) => {
|
|
43
43
|
let { theme: t, prefix: n } = e, r = {
|
|
44
44
|
nextPart: /* @__PURE__ */ new Map(),
|
|
45
45
|
validators: []
|
|
46
46
|
};
|
|
47
|
-
return
|
|
48
|
-
|
|
47
|
+
return _(Object.entries(e.classGroups), n).forEach(([e, n]) => {
|
|
48
|
+
m(n, r, e, t);
|
|
49
49
|
}), r;
|
|
50
|
-
},
|
|
50
|
+
}, m = (e, t, n, r) => {
|
|
51
51
|
e.forEach((e) => {
|
|
52
52
|
if (typeof e == "string") {
|
|
53
|
-
let r = e === "" ? t :
|
|
53
|
+
let r = e === "" ? t : h(t, e);
|
|
54
54
|
r.classGroupId = n;
|
|
55
55
|
return;
|
|
56
56
|
}
|
|
57
57
|
if (typeof e == "function") {
|
|
58
|
-
if (
|
|
59
|
-
|
|
58
|
+
if (g(e)) {
|
|
59
|
+
m(e(r), t, n, r);
|
|
60
60
|
return;
|
|
61
61
|
}
|
|
62
62
|
t.validators.push({
|
|
@@ -66,18 +66,18 @@ var r = e({}), i = {}, a = () => i, o = {
|
|
|
66
66
|
return;
|
|
67
67
|
}
|
|
68
68
|
Object.entries(e).forEach(([e, i]) => {
|
|
69
|
-
|
|
69
|
+
m(i, h(t, e), n, r);
|
|
70
70
|
});
|
|
71
71
|
});
|
|
72
|
-
},
|
|
72
|
+
}, h = (e, t) => {
|
|
73
73
|
let n = e;
|
|
74
|
-
return t.split(
|
|
74
|
+
return t.split(c).forEach((e) => {
|
|
75
75
|
n.nextPart.has(e) || n.nextPart.set(e, {
|
|
76
76
|
nextPart: /* @__PURE__ */ new Map(),
|
|
77
77
|
validators: []
|
|
78
78
|
}), n = n.nextPart.get(e);
|
|
79
79
|
}), n;
|
|
80
|
-
},
|
|
80
|
+
}, g = (e) => e.isThemeGetter, _ = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, v = (e) => {
|
|
81
81
|
if (e < 1) return {
|
|
82
82
|
get: () => void 0,
|
|
83
83
|
set: () => {}
|
|
@@ -95,7 +95,7 @@ var r = e({}), i = {}, a = () => i, o = {
|
|
|
95
95
|
n.has(e) ? n.set(e, t) : i(e, t);
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
|
-
},
|
|
98
|
+
}, y = "!", b = (e) => {
|
|
99
99
|
let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
|
|
100
100
|
let n = [], o = 0, s = 0, c;
|
|
101
101
|
for (let l = 0; l < e.length; l++) {
|
|
@@ -112,7 +112,7 @@ var r = e({}), i = {}, a = () => i, o = {
|
|
|
112
112
|
}
|
|
113
113
|
u === "[" ? o++ : u === "]" && o--;
|
|
114
114
|
}
|
|
115
|
-
let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(
|
|
115
|
+
let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(y);
|
|
116
116
|
return {
|
|
117
117
|
modifiers: n,
|
|
118
118
|
hasImportantModifier: u,
|
|
@@ -124,18 +124,18 @@ var r = e({}), i = {}, a = () => i, o = {
|
|
|
124
124
|
className: e,
|
|
125
125
|
parseClassName: o
|
|
126
126
|
}) : o;
|
|
127
|
-
},
|
|
127
|
+
}, x = (e) => {
|
|
128
128
|
if (e.length <= 1) return e;
|
|
129
129
|
let t = [], n = [];
|
|
130
130
|
return e.forEach((e) => {
|
|
131
131
|
e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
|
|
132
132
|
}), t.push(...n.sort()), t;
|
|
133
|
-
},
|
|
134
|
-
cache:
|
|
135
|
-
parseClassName:
|
|
136
|
-
...
|
|
137
|
-
}),
|
|
138
|
-
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(
|
|
133
|
+
}, S = (e) => ({
|
|
134
|
+
cache: v(e.cacheSize),
|
|
135
|
+
parseClassName: b(e),
|
|
136
|
+
...l(e)
|
|
137
|
+
}), C = /\s+/, w = (e, t) => {
|
|
138
|
+
let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(C), s = "";
|
|
139
139
|
for (let e = o.length - 1; e >= 0; --e) {
|
|
140
140
|
let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
|
|
141
141
|
if (!p) {
|
|
@@ -149,7 +149,7 @@ var r = e({}), i = {}, a = () => i, o = {
|
|
|
149
149
|
}
|
|
150
150
|
f = !1;
|
|
151
151
|
}
|
|
152
|
-
let m =
|
|
152
|
+
let m = x(c).join(":"), h = l ? m + y : m, g = h + p;
|
|
153
153
|
if (a.includes(g)) continue;
|
|
154
154
|
a.push(g);
|
|
155
155
|
let _ = i(p, f);
|
|
@@ -161,48 +161,48 @@ var r = e({}), i = {}, a = () => i, o = {
|
|
|
161
161
|
}
|
|
162
162
|
return s;
|
|
163
163
|
};
|
|
164
|
-
function
|
|
164
|
+
function T() {
|
|
165
165
|
let e = 0, t, n, r = "";
|
|
166
|
-
for (; e < arguments.length;) (t = arguments[e++]) && (n =
|
|
166
|
+
for (; e < arguments.length;) (t = arguments[e++]) && (n = E(t)) && (r && (r += " "), r += n);
|
|
167
167
|
return r;
|
|
168
168
|
}
|
|
169
|
-
var
|
|
169
|
+
var E = (e) => {
|
|
170
170
|
if (typeof e == "string") return e;
|
|
171
171
|
let t, n = "";
|
|
172
|
-
for (let r = 0; r < e.length; r++) e[r] && (t =
|
|
172
|
+
for (let r = 0; r < e.length; r++) e[r] && (t = E(e[r])) && (n && (n += " "), n += t);
|
|
173
173
|
return n;
|
|
174
174
|
};
|
|
175
|
-
function
|
|
175
|
+
function D(e, ...t) {
|
|
176
176
|
let n, r, i, a = o;
|
|
177
177
|
function o(o) {
|
|
178
|
-
return n =
|
|
178
|
+
return n = S(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
|
|
179
179
|
}
|
|
180
180
|
function s(e) {
|
|
181
181
|
let t = r(e);
|
|
182
182
|
if (t) return t;
|
|
183
|
-
let a =
|
|
183
|
+
let a = w(e, n);
|
|
184
184
|
return i(e, a), a;
|
|
185
185
|
}
|
|
186
186
|
return function() {
|
|
187
|
-
return a(
|
|
187
|
+
return a(T.apply(null, arguments));
|
|
188
188
|
};
|
|
189
189
|
}
|
|
190
|
-
var
|
|
190
|
+
var O = (e) => {
|
|
191
191
|
let t = (t) => t[e] || [];
|
|
192
192
|
return t.isThemeGetter = !0, t;
|
|
193
|
-
},
|
|
193
|
+
}, k = /^\[(?:([a-z-]+):)?(.+)\]$/i, A = /^\d+\/\d+$/, j = /*#__PURE__*/ new Set([
|
|
194
194
|
"px",
|
|
195
195
|
"full",
|
|
196
196
|
"screen"
|
|
197
|
-
]),
|
|
197
|
+
]), M = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, N = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, P = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, F = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, I = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, L = (e) => z(e) || j.has(e) || A.test(e), R = (e) => Z(e, "length", te), z = (e) => !!e && !Number.isNaN(Number(e)), B = (e) => Z(e, "number", z), V = (e) => !!e && Number.isInteger(Number(e)), H = (e) => e.endsWith("%") && z(e.slice(0, -1)), U = (e) => k.test(e), W = (e) => M.test(e), G = /*#__PURE__*/ new Set([
|
|
198
198
|
"length",
|
|
199
199
|
"size",
|
|
200
200
|
"percentage"
|
|
201
|
-
]),
|
|
202
|
-
let r =
|
|
201
|
+
]), K = (e) => Z(e, G, Q), q = (e) => Z(e, "position", Q), J = /*#__PURE__*/ new Set(["image", "url"]), Y = (e) => Z(e, J, re), ee = (e) => Z(e, "", ne), X = () => !0, Z = (e, t, n) => {
|
|
202
|
+
let r = k.exec(e);
|
|
203
203
|
return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
|
|
204
|
-
},
|
|
205
|
-
let e =
|
|
204
|
+
}, te = (e) => N.test(e) && !P.test(e), Q = () => !1, ne = (e) => F.test(e), re = (e) => I.test(e), ie = /*#__PURE__*/ D(() => {
|
|
205
|
+
let e = O("colors"), t = O("spacing"), n = O("blur"), r = O("brightness"), i = O("borderColor"), a = O("borderRadius"), o = O("borderSpacing"), s = O("borderWidth"), c = O("contrast"), l = O("grayscale"), u = O("hueRotate"), d = O("invert"), f = O("gap"), p = O("gradientColorStops"), m = O("gradientColorStopPositions"), h = O("inset"), g = O("margin"), _ = O("opacity"), v = O("padding"), y = O("saturate"), b = O("scale"), x = O("sepia"), S = O("skew"), C = O("space"), w = O("translate"), T = () => [
|
|
206
206
|
"auto",
|
|
207
207
|
"contain",
|
|
208
208
|
"none"
|
|
@@ -214,16 +214,16 @@ var k = (e) => {
|
|
|
214
214
|
"scroll"
|
|
215
215
|
], D = () => [
|
|
216
216
|
"auto",
|
|
217
|
-
|
|
217
|
+
U,
|
|
218
218
|
t
|
|
219
|
-
],
|
|
219
|
+
], k = () => [U, t], A = () => [
|
|
220
220
|
"",
|
|
221
|
-
|
|
222
|
-
|
|
221
|
+
L,
|
|
222
|
+
R
|
|
223
223
|
], j = () => [
|
|
224
224
|
"auto",
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
z,
|
|
226
|
+
U
|
|
227
227
|
], M = () => [
|
|
228
228
|
"bottom",
|
|
229
229
|
"center",
|
|
@@ -268,8 +268,8 @@ var k = (e) => {
|
|
|
268
268
|
], I = () => [
|
|
269
269
|
"",
|
|
270
270
|
"0",
|
|
271
|
-
|
|
272
|
-
],
|
|
271
|
+
U
|
|
272
|
+
], G = () => [
|
|
273
273
|
"auto",
|
|
274
274
|
"avoid",
|
|
275
275
|
"all",
|
|
@@ -278,59 +278,59 @@ var k = (e) => {
|
|
|
278
278
|
"left",
|
|
279
279
|
"right",
|
|
280
280
|
"column"
|
|
281
|
-
],
|
|
281
|
+
], J = () => [z, U];
|
|
282
282
|
return {
|
|
283
283
|
cacheSize: 500,
|
|
284
284
|
separator: ":",
|
|
285
285
|
theme: {
|
|
286
286
|
colors: [X],
|
|
287
|
-
spacing: [
|
|
287
|
+
spacing: [L, R],
|
|
288
288
|
blur: [
|
|
289
289
|
"none",
|
|
290
290
|
"",
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
W,
|
|
292
|
+
U
|
|
293
293
|
],
|
|
294
|
-
brightness:
|
|
294
|
+
brightness: J(),
|
|
295
295
|
borderColor: [e],
|
|
296
296
|
borderRadius: [
|
|
297
297
|
"none",
|
|
298
298
|
"",
|
|
299
299
|
"full",
|
|
300
|
-
|
|
301
|
-
|
|
300
|
+
W,
|
|
301
|
+
U
|
|
302
302
|
],
|
|
303
|
-
borderSpacing:
|
|
303
|
+
borderSpacing: k(),
|
|
304
304
|
borderWidth: A(),
|
|
305
|
-
contrast:
|
|
305
|
+
contrast: J(),
|
|
306
306
|
grayscale: I(),
|
|
307
|
-
hueRotate:
|
|
307
|
+
hueRotate: J(),
|
|
308
308
|
invert: I(),
|
|
309
|
-
gap:
|
|
309
|
+
gap: k(),
|
|
310
310
|
gradientColorStops: [e],
|
|
311
|
-
gradientColorStopPositions: [
|
|
311
|
+
gradientColorStopPositions: [H, R],
|
|
312
312
|
inset: D(),
|
|
313
313
|
margin: D(),
|
|
314
|
-
opacity:
|
|
315
|
-
padding:
|
|
316
|
-
saturate:
|
|
317
|
-
scale:
|
|
314
|
+
opacity: J(),
|
|
315
|
+
padding: k(),
|
|
316
|
+
saturate: J(),
|
|
317
|
+
scale: J(),
|
|
318
318
|
sepia: I(),
|
|
319
|
-
skew:
|
|
320
|
-
space:
|
|
321
|
-
translate:
|
|
319
|
+
skew: J(),
|
|
320
|
+
space: k(),
|
|
321
|
+
translate: k()
|
|
322
322
|
},
|
|
323
323
|
classGroups: {
|
|
324
324
|
aspect: [{ aspect: [
|
|
325
325
|
"auto",
|
|
326
326
|
"square",
|
|
327
327
|
"video",
|
|
328
|
-
|
|
328
|
+
U
|
|
329
329
|
] }],
|
|
330
330
|
container: ["container"],
|
|
331
|
-
columns: [{ columns: [
|
|
332
|
-
"break-after": [{ "break-after":
|
|
333
|
-
"break-before": [{ "break-before":
|
|
331
|
+
columns: [{ columns: [W] }],
|
|
332
|
+
"break-after": [{ "break-after": G() }],
|
|
333
|
+
"break-before": [{ "break-before": G() }],
|
|
334
334
|
"break-inside": [{ "break-inside": [
|
|
335
335
|
"auto",
|
|
336
336
|
"avoid",
|
|
@@ -385,7 +385,7 @@ var k = (e) => {
|
|
|
385
385
|
"none",
|
|
386
386
|
"scale-down"
|
|
387
387
|
] }],
|
|
388
|
-
"object-position": [{ object: [...M(),
|
|
388
|
+
"object-position": [{ object: [...M(), U] }],
|
|
389
389
|
overflow: [{ overflow: E() }],
|
|
390
390
|
"overflow-x": [{ "overflow-x": E() }],
|
|
391
391
|
"overflow-y": [{ "overflow-y": E() }],
|
|
@@ -415,8 +415,8 @@ var k = (e) => {
|
|
|
415
415
|
],
|
|
416
416
|
z: [{ z: [
|
|
417
417
|
"auto",
|
|
418
|
-
|
|
419
|
-
|
|
418
|
+
V,
|
|
419
|
+
U
|
|
420
420
|
] }],
|
|
421
421
|
basis: [{ basis: D() }],
|
|
422
422
|
"flex-direction": [{ flex: [
|
|
@@ -435,7 +435,7 @@ var k = (e) => {
|
|
|
435
435
|
"auto",
|
|
436
436
|
"initial",
|
|
437
437
|
"none",
|
|
438
|
-
|
|
438
|
+
U
|
|
439
439
|
] }],
|
|
440
440
|
grow: [{ grow: I() }],
|
|
441
441
|
shrink: [{ shrink: I() }],
|
|
@@ -443,26 +443,26 @@ var k = (e) => {
|
|
|
443
443
|
"first",
|
|
444
444
|
"last",
|
|
445
445
|
"none",
|
|
446
|
-
|
|
447
|
-
|
|
446
|
+
V,
|
|
447
|
+
U
|
|
448
448
|
] }],
|
|
449
449
|
"grid-cols": [{ "grid-cols": [X] }],
|
|
450
450
|
"col-start-end": [{ col: [
|
|
451
451
|
"auto",
|
|
452
452
|
{ span: [
|
|
453
453
|
"full",
|
|
454
|
-
|
|
455
|
-
|
|
454
|
+
V,
|
|
455
|
+
U
|
|
456
456
|
] },
|
|
457
|
-
|
|
457
|
+
U
|
|
458
458
|
] }],
|
|
459
459
|
"col-start": [{ "col-start": j() }],
|
|
460
460
|
"col-end": [{ "col-end": j() }],
|
|
461
461
|
"grid-rows": [{ "grid-rows": [X] }],
|
|
462
462
|
"row-start-end": [{ row: [
|
|
463
463
|
"auto",
|
|
464
|
-
{ span: [
|
|
465
|
-
|
|
464
|
+
{ span: [V, U] },
|
|
465
|
+
U
|
|
466
466
|
] }],
|
|
467
467
|
"row-start": [{ "row-start": j() }],
|
|
468
468
|
"row-end": [{ "row-end": j() }],
|
|
@@ -478,14 +478,14 @@ var k = (e) => {
|
|
|
478
478
|
"min",
|
|
479
479
|
"max",
|
|
480
480
|
"fr",
|
|
481
|
-
|
|
481
|
+
U
|
|
482
482
|
] }],
|
|
483
483
|
"auto-rows": [{ "auto-rows": [
|
|
484
484
|
"auto",
|
|
485
485
|
"min",
|
|
486
486
|
"max",
|
|
487
487
|
"fr",
|
|
488
|
-
|
|
488
|
+
U
|
|
489
489
|
] }],
|
|
490
490
|
gap: [{ gap: [f] }],
|
|
491
491
|
"gap-x": [{ "gap-x": [f] }],
|
|
@@ -569,18 +569,18 @@ var k = (e) => {
|
|
|
569
569
|
"svw",
|
|
570
570
|
"lvw",
|
|
571
571
|
"dvw",
|
|
572
|
-
|
|
572
|
+
U,
|
|
573
573
|
t
|
|
574
574
|
] }],
|
|
575
575
|
"min-w": [{ "min-w": [
|
|
576
|
-
|
|
576
|
+
U,
|
|
577
577
|
t,
|
|
578
578
|
"min",
|
|
579
579
|
"max",
|
|
580
580
|
"fit"
|
|
581
581
|
] }],
|
|
582
582
|
"max-w": [{ "max-w": [
|
|
583
|
-
|
|
583
|
+
U,
|
|
584
584
|
t,
|
|
585
585
|
"none",
|
|
586
586
|
"full",
|
|
@@ -588,11 +588,11 @@ var k = (e) => {
|
|
|
588
588
|
"max",
|
|
589
589
|
"fit",
|
|
590
590
|
"prose",
|
|
591
|
-
{ screen: [
|
|
592
|
-
|
|
591
|
+
{ screen: [W] },
|
|
592
|
+
W
|
|
593
593
|
] }],
|
|
594
594
|
h: [{ h: [
|
|
595
|
-
|
|
595
|
+
U,
|
|
596
596
|
t,
|
|
597
597
|
"auto",
|
|
598
598
|
"min",
|
|
@@ -603,7 +603,7 @@ var k = (e) => {
|
|
|
603
603
|
"dvh"
|
|
604
604
|
] }],
|
|
605
605
|
"min-h": [{ "min-h": [
|
|
606
|
-
|
|
606
|
+
U,
|
|
607
607
|
t,
|
|
608
608
|
"min",
|
|
609
609
|
"max",
|
|
@@ -613,7 +613,7 @@ var k = (e) => {
|
|
|
613
613
|
"dvh"
|
|
614
614
|
] }],
|
|
615
615
|
"max-h": [{ "max-h": [
|
|
616
|
-
|
|
616
|
+
U,
|
|
617
617
|
t,
|
|
618
618
|
"min",
|
|
619
619
|
"max",
|
|
@@ -623,7 +623,7 @@ var k = (e) => {
|
|
|
623
623
|
"dvh"
|
|
624
624
|
] }],
|
|
625
625
|
size: [{ size: [
|
|
626
|
-
|
|
626
|
+
U,
|
|
627
627
|
t,
|
|
628
628
|
"auto",
|
|
629
629
|
"min",
|
|
@@ -632,8 +632,8 @@ var k = (e) => {
|
|
|
632
632
|
] }],
|
|
633
633
|
"font-size": [{ text: [
|
|
634
634
|
"base",
|
|
635
|
-
|
|
636
|
-
|
|
635
|
+
W,
|
|
636
|
+
R
|
|
637
637
|
] }],
|
|
638
638
|
"font-smoothing": ["antialiased", "subpixel-antialiased"],
|
|
639
639
|
"font-style": ["italic", "not-italic"],
|
|
@@ -647,7 +647,7 @@ var k = (e) => {
|
|
|
647
647
|
"bold",
|
|
648
648
|
"extrabold",
|
|
649
649
|
"black",
|
|
650
|
-
|
|
650
|
+
B
|
|
651
651
|
] }],
|
|
652
652
|
"font-family": [{ font: [X] }],
|
|
653
653
|
"fvn-normal": ["normal-nums"],
|
|
@@ -663,12 +663,12 @@ var k = (e) => {
|
|
|
663
663
|
"wide",
|
|
664
664
|
"wider",
|
|
665
665
|
"widest",
|
|
666
|
-
|
|
666
|
+
U
|
|
667
667
|
] }],
|
|
668
668
|
"line-clamp": [{ "line-clamp": [
|
|
669
669
|
"none",
|
|
670
|
-
|
|
671
|
-
|
|
670
|
+
z,
|
|
671
|
+
B
|
|
672
672
|
] }],
|
|
673
673
|
leading: [{ leading: [
|
|
674
674
|
"none",
|
|
@@ -677,15 +677,15 @@ var k = (e) => {
|
|
|
677
677
|
"normal",
|
|
678
678
|
"relaxed",
|
|
679
679
|
"loose",
|
|
680
|
-
|
|
681
|
-
|
|
680
|
+
L,
|
|
681
|
+
U
|
|
682
682
|
] }],
|
|
683
|
-
"list-image": [{ "list-image": ["none",
|
|
683
|
+
"list-image": [{ "list-image": ["none", U] }],
|
|
684
684
|
"list-style-type": [{ list: [
|
|
685
685
|
"none",
|
|
686
686
|
"disc",
|
|
687
687
|
"decimal",
|
|
688
|
-
|
|
688
|
+
U
|
|
689
689
|
] }],
|
|
690
690
|
"list-style-position": [{ list: ["inside", "outside"] }],
|
|
691
691
|
"placeholder-color": [{ placeholder: [e] }],
|
|
@@ -710,13 +710,13 @@ var k = (e) => {
|
|
|
710
710
|
"text-decoration-thickness": [{ decoration: [
|
|
711
711
|
"auto",
|
|
712
712
|
"from-font",
|
|
713
|
-
|
|
714
|
-
|
|
713
|
+
L,
|
|
714
|
+
R
|
|
715
715
|
] }],
|
|
716
716
|
"underline-offset": [{ "underline-offset": [
|
|
717
717
|
"auto",
|
|
718
|
-
|
|
719
|
-
|
|
718
|
+
L,
|
|
719
|
+
U
|
|
720
720
|
] }],
|
|
721
721
|
"text-decoration-color": [{ decoration: [e] }],
|
|
722
722
|
"text-transform": [
|
|
@@ -736,7 +736,7 @@ var k = (e) => {
|
|
|
736
736
|
"balance",
|
|
737
737
|
"pretty"
|
|
738
738
|
] }],
|
|
739
|
-
indent: [{ indent:
|
|
739
|
+
indent: [{ indent: k() }],
|
|
740
740
|
"vertical-align": [{ align: [
|
|
741
741
|
"baseline",
|
|
742
742
|
"top",
|
|
@@ -746,7 +746,7 @@ var k = (e) => {
|
|
|
746
746
|
"text-bottom",
|
|
747
747
|
"sub",
|
|
748
748
|
"super",
|
|
749
|
-
|
|
749
|
+
U
|
|
750
750
|
] }],
|
|
751
751
|
whitespace: [{ whitespace: [
|
|
752
752
|
"normal",
|
|
@@ -767,7 +767,7 @@ var k = (e) => {
|
|
|
767
767
|
"manual",
|
|
768
768
|
"auto"
|
|
769
769
|
] }],
|
|
770
|
-
content: [{ content: ["none",
|
|
770
|
+
content: [{ content: ["none", U] }],
|
|
771
771
|
"bg-attachment": [{ bg: [
|
|
772
772
|
"fixed",
|
|
773
773
|
"local",
|
|
@@ -785,7 +785,7 @@ var k = (e) => {
|
|
|
785
785
|
"padding",
|
|
786
786
|
"content"
|
|
787
787
|
] }],
|
|
788
|
-
"bg-position": [{ bg: [...M(),
|
|
788
|
+
"bg-position": [{ bg: [...M(), q] }],
|
|
789
789
|
"bg-repeat": [{ bg: ["no-repeat", { repeat: [
|
|
790
790
|
"",
|
|
791
791
|
"x",
|
|
@@ -797,7 +797,7 @@ var k = (e) => {
|
|
|
797
797
|
"auto",
|
|
798
798
|
"cover",
|
|
799
799
|
"contain",
|
|
800
|
-
|
|
800
|
+
K
|
|
801
801
|
] }],
|
|
802
802
|
"bg-image": [{ bg: [
|
|
803
803
|
"none",
|
|
@@ -811,7 +811,7 @@ var k = (e) => {
|
|
|
811
811
|
"l",
|
|
812
812
|
"tl"
|
|
813
813
|
] },
|
|
814
|
-
|
|
814
|
+
Y
|
|
815
815
|
] }],
|
|
816
816
|
"bg-color": [{ bg: [e] }],
|
|
817
817
|
"gradient-from-pos": [{ from: [m] }],
|
|
@@ -863,21 +863,21 @@ var k = (e) => {
|
|
|
863
863
|
"border-color-l": [{ "border-l": [i] }],
|
|
864
864
|
"divide-color": [{ divide: [i] }],
|
|
865
865
|
"outline-style": [{ outline: ["", ...N()] }],
|
|
866
|
-
"outline-offset": [{ "outline-offset": [
|
|
867
|
-
"outline-w": [{ outline: [
|
|
866
|
+
"outline-offset": [{ "outline-offset": [L, U] }],
|
|
867
|
+
"outline-w": [{ outline: [L, R] }],
|
|
868
868
|
"outline-color": [{ outline: [e] }],
|
|
869
869
|
"ring-w": [{ ring: A() }],
|
|
870
870
|
"ring-w-inset": ["ring-inset"],
|
|
871
871
|
"ring-color": [{ ring: [e] }],
|
|
872
872
|
"ring-opacity": [{ "ring-opacity": [_] }],
|
|
873
|
-
"ring-offset-w": [{ "ring-offset": [
|
|
873
|
+
"ring-offset-w": [{ "ring-offset": [L, R] }],
|
|
874
874
|
"ring-offset-color": [{ "ring-offset": [e] }],
|
|
875
875
|
shadow: [{ shadow: [
|
|
876
876
|
"",
|
|
877
877
|
"inner",
|
|
878
878
|
"none",
|
|
879
|
-
|
|
880
|
-
|
|
879
|
+
W,
|
|
880
|
+
ee
|
|
881
881
|
] }],
|
|
882
882
|
"shadow-color": [{ shadow: [X] }],
|
|
883
883
|
opacity: [{ opacity: [_] }],
|
|
@@ -894,8 +894,8 @@ var k = (e) => {
|
|
|
894
894
|
"drop-shadow": [{ "drop-shadow": [
|
|
895
895
|
"",
|
|
896
896
|
"none",
|
|
897
|
-
|
|
898
|
-
|
|
897
|
+
W,
|
|
898
|
+
U
|
|
899
899
|
] }],
|
|
900
900
|
grayscale: [{ grayscale: [l] }],
|
|
901
901
|
"hue-rotate": [{ "hue-rotate": [u] }],
|
|
@@ -926,24 +926,24 @@ var k = (e) => {
|
|
|
926
926
|
"opacity",
|
|
927
927
|
"shadow",
|
|
928
928
|
"transform",
|
|
929
|
-
|
|
929
|
+
U
|
|
930
930
|
] }],
|
|
931
|
-
duration: [{ duration:
|
|
931
|
+
duration: [{ duration: J() }],
|
|
932
932
|
ease: [{ ease: [
|
|
933
933
|
"linear",
|
|
934
934
|
"in",
|
|
935
935
|
"out",
|
|
936
936
|
"in-out",
|
|
937
|
-
|
|
937
|
+
U
|
|
938
938
|
] }],
|
|
939
|
-
delay: [{ delay:
|
|
939
|
+
delay: [{ delay: J() }],
|
|
940
940
|
animate: [{ animate: [
|
|
941
941
|
"none",
|
|
942
942
|
"spin",
|
|
943
943
|
"ping",
|
|
944
944
|
"pulse",
|
|
945
945
|
"bounce",
|
|
946
|
-
|
|
946
|
+
U
|
|
947
947
|
] }],
|
|
948
948
|
transform: [{ transform: [
|
|
949
949
|
"",
|
|
@@ -953,7 +953,7 @@ var k = (e) => {
|
|
|
953
953
|
scale: [{ scale: [b] }],
|
|
954
954
|
"scale-x": [{ "scale-x": [b] }],
|
|
955
955
|
"scale-y": [{ "scale-y": [b] }],
|
|
956
|
-
rotate: [{ rotate: [
|
|
956
|
+
rotate: [{ rotate: [V, U] }],
|
|
957
957
|
"translate-x": [{ "translate-x": [w] }],
|
|
958
958
|
"translate-y": [{ "translate-y": [w] }],
|
|
959
959
|
"skew-x": [{ "skew-x": [S] }],
|
|
@@ -968,7 +968,7 @@ var k = (e) => {
|
|
|
968
968
|
"bottom-left",
|
|
969
969
|
"left",
|
|
970
970
|
"top-left",
|
|
971
|
-
|
|
971
|
+
U
|
|
972
972
|
] }],
|
|
973
973
|
accent: [{ accent: ["auto", e] }],
|
|
974
974
|
appearance: [{ appearance: ["none", "auto"] }],
|
|
@@ -1009,7 +1009,7 @@ var k = (e) => {
|
|
|
1009
1009
|
"nwse-resize",
|
|
1010
1010
|
"zoom-in",
|
|
1011
1011
|
"zoom-out",
|
|
1012
|
-
|
|
1012
|
+
U
|
|
1013
1013
|
] }],
|
|
1014
1014
|
"caret-color": [{ caret: [e] }],
|
|
1015
1015
|
"pointer-events": [{ "pointer-events": ["none", "auto"] }],
|
|
@@ -1020,24 +1020,24 @@ var k = (e) => {
|
|
|
1020
1020
|
""
|
|
1021
1021
|
] }],
|
|
1022
1022
|
"scroll-behavior": [{ scroll: ["auto", "smooth"] }],
|
|
1023
|
-
"scroll-m": [{ "scroll-m":
|
|
1024
|
-
"scroll-mx": [{ "scroll-mx":
|
|
1025
|
-
"scroll-my": [{ "scroll-my":
|
|
1026
|
-
"scroll-ms": [{ "scroll-ms":
|
|
1027
|
-
"scroll-me": [{ "scroll-me":
|
|
1028
|
-
"scroll-mt": [{ "scroll-mt":
|
|
1029
|
-
"scroll-mr": [{ "scroll-mr":
|
|
1030
|
-
"scroll-mb": [{ "scroll-mb":
|
|
1031
|
-
"scroll-ml": [{ "scroll-ml":
|
|
1032
|
-
"scroll-p": [{ "scroll-p":
|
|
1033
|
-
"scroll-px": [{ "scroll-px":
|
|
1034
|
-
"scroll-py": [{ "scroll-py":
|
|
1035
|
-
"scroll-ps": [{ "scroll-ps":
|
|
1036
|
-
"scroll-pe": [{ "scroll-pe":
|
|
1037
|
-
"scroll-pt": [{ "scroll-pt":
|
|
1038
|
-
"scroll-pr": [{ "scroll-pr":
|
|
1039
|
-
"scroll-pb": [{ "scroll-pb":
|
|
1040
|
-
"scroll-pl": [{ "scroll-pl":
|
|
1023
|
+
"scroll-m": [{ "scroll-m": k() }],
|
|
1024
|
+
"scroll-mx": [{ "scroll-mx": k() }],
|
|
1025
|
+
"scroll-my": [{ "scroll-my": k() }],
|
|
1026
|
+
"scroll-ms": [{ "scroll-ms": k() }],
|
|
1027
|
+
"scroll-me": [{ "scroll-me": k() }],
|
|
1028
|
+
"scroll-mt": [{ "scroll-mt": k() }],
|
|
1029
|
+
"scroll-mr": [{ "scroll-mr": k() }],
|
|
1030
|
+
"scroll-mb": [{ "scroll-mb": k() }],
|
|
1031
|
+
"scroll-ml": [{ "scroll-ml": k() }],
|
|
1032
|
+
"scroll-p": [{ "scroll-p": k() }],
|
|
1033
|
+
"scroll-px": [{ "scroll-px": k() }],
|
|
1034
|
+
"scroll-py": [{ "scroll-py": k() }],
|
|
1035
|
+
"scroll-ps": [{ "scroll-ps": k() }],
|
|
1036
|
+
"scroll-pe": [{ "scroll-pe": k() }],
|
|
1037
|
+
"scroll-pt": [{ "scroll-pt": k() }],
|
|
1038
|
+
"scroll-pr": [{ "scroll-pr": k() }],
|
|
1039
|
+
"scroll-pb": [{ "scroll-pb": k() }],
|
|
1040
|
+
"scroll-pl": [{ "scroll-pl": k() }],
|
|
1041
1041
|
"snap-align": [{ snap: [
|
|
1042
1042
|
"start",
|
|
1043
1043
|
"end",
|
|
@@ -1079,13 +1079,13 @@ var k = (e) => {
|
|
|
1079
1079
|
"scroll",
|
|
1080
1080
|
"contents",
|
|
1081
1081
|
"transform",
|
|
1082
|
-
|
|
1082
|
+
U
|
|
1083
1083
|
] }],
|
|
1084
1084
|
fill: [{ fill: [e, "none"] }],
|
|
1085
1085
|
"stroke-w": [{ stroke: [
|
|
1086
|
+
L,
|
|
1086
1087
|
R,
|
|
1087
|
-
|
|
1088
|
-
V
|
|
1088
|
+
B
|
|
1089
1089
|
] }],
|
|
1090
1090
|
stroke: [{ stroke: [e, "none"] }],
|
|
1091
1091
|
sr: ["sr-only", "not-sr-only"],
|
|
@@ -1229,7 +1229,7 @@ var k = (e) => {
|
|
|
1229
1229
|
},
|
|
1230
1230
|
conflictingClassGroupModifiers: { "font-size": ["leading"] }
|
|
1231
1231
|
};
|
|
1232
|
-
}),
|
|
1232
|
+
}), ae = /* @__PURE__ */ "account-balanced.address-book.ai.alarm-clock.alert.app.apple.armchair.arrow-down.arrow-left.arrow-right.arrow-up.back.bell.bra.briefcase.cake-piece-full.cake-piece.calendar.cart.catalog.chat.check-bold.check.child.closer.clothing-basic.clothing-blazer.clothing-blouse.clothing-dress.clothing-homewear.clothing.clothing-jacket.clothing-jeans.clothing-jumpsuit.clothing-knitwear.clothing-maternity-wear.clothing-party-wear.clothing-set.clothing-shirt.clothing-shorts.clothing-size.clothing-skirt.clothing-sport.clothing-sweater.clothing-sweatshirt.clothing-trousers.communication.connection.control-panel.cookie.copy.credit-card.crown.culture.curtain-almost-dark.curtain-dark.curtain-opaque.curtain-semi-transparent.curtain-transparent.customer.delivery.denied.desktop.diamond.discount.dots.download.edit.education.email.error.exchange.family.faq.fast-delivery.feedback-negative.feedback-positive.first-aid.fitness.fossil-fuel.free-delivery.friendship.giftbox.global-warming.globe.glossary.handshake.hanger.hashtag.health.heart-eyes-emoji.heart-full.heart.help.hint.home.home2.image-placeholder.info.invoice.light-bulb-heart.light-bulb.lightning.location.locations.lock.lock-open.logged-in.logout.mail.menu.minus.newsletter.not-yet-available.order.order2.out-of-stock.pause.personal-data.phone.pin.pinch-zoom.plane.play.plus.prepaid.print.process.production-site.puzzle.qr-code.quality.question.radio.recently-viewed.recycling.religion.return.review-full.review.rocket.roots.saved-money.scale.search-categories.search-form-arrow.search.sepa.service.share.shopping-bag.signpost.signpost-single.similar-products.size.social.sold-out.sort.spark.store.success.suitcase.sustainable-animal-welfare.sustainable-energy-efficient.sustainable-natural-cosmetics.sustainable-organic-materials.sustainable-production.sustainable-recyclable-design.sustainable-recycling.sustainable-resource.sustainable-social-initiatives.swords.tablet.teacup.thumb-down-full.thumb-down.thumb-up-full.thumb-up.trash-bin.tv.user.visibility.visibility-off.voucher.wallet.water-pollution.water-usage.whatsapp-bell.whatsapp-phone.zoom-in.zoom-out".split("."), $ = {
|
|
1233
1233
|
"account-balanced": ["24", "24"],
|
|
1234
1234
|
"address-book": ["24", "24"],
|
|
1235
1235
|
ai: ["24", "24"],
|
|
@@ -1422,21 +1422,21 @@ var k = (e) => {
|
|
|
1422
1422
|
"whatsapp-phone": ["24", "24"],
|
|
1423
1423
|
"zoom-in": ["24", "24"],
|
|
1424
1424
|
"zoom-out": ["24", "24"]
|
|
1425
|
-
},
|
|
1426
|
-
let { iconSprite: r } =
|
|
1425
|
+
}, oe = ({ variant: e, className: t }) => {
|
|
1426
|
+
let { iconSprite: r } = s(), i = "fill-clr-primary";
|
|
1427
1427
|
e.startsWith("sustainable-") && (i = "fill-clr-sustainable");
|
|
1428
|
-
let a =
|
|
1428
|
+
let a = ie("shrink-0 w-6 h-6", i, t), [o, c] = $[e];
|
|
1429
1429
|
return /* @__PURE__ */ n("svg", {
|
|
1430
1430
|
className: a,
|
|
1431
1431
|
"aria-hidden": "true",
|
|
1432
1432
|
focusable: "false",
|
|
1433
1433
|
"data-bpds": "icon",
|
|
1434
1434
|
"data-bpds-variant": e,
|
|
1435
|
-
style: { aspectRatio: `${o} / ${
|
|
1435
|
+
style: { aspectRatio: `${o} / ${c}` },
|
|
1436
1436
|
children: /* @__PURE__ */ n("use", { href: `${r}#${e}-icon` })
|
|
1437
1437
|
});
|
|
1438
1438
|
};
|
|
1439
1439
|
//#endregion
|
|
1440
|
-
export {
|
|
1440
|
+
export { oe as default, $ as iconAspectRatios, ae as iconNames };
|
|
1441
1441
|
|
|
1442
1442
|
//# sourceMappingURL=index.js.map
|