@scbt-ecom/ui 0.83.0 → 0.84.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/dist/config.js +118 -326
- package/dist/config.js.map +1 -1
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +224 -0
- package/dist/constants.js.map +1 -0
- package/dist/hooks.js +2 -2
- package/dist/{index-BrNBKEzf.js → index-5WLPawT4.js} +9979 -10606
- package/dist/index-5WLPawT4.js.map +1 -0
- package/dist/{index-9VvWDfzt.js → index-BO81H324.js} +2 -2
- package/dist/{index-9VvWDfzt.js.map → index-BO81H324.js.map} +1 -1
- package/dist/lib/exports/constants.d.ts +1 -0
- package/dist/lib/shared/constants/designSystem/index.d.ts +1 -0
- package/dist/lib/shared/constants/designSystem/types.d.ts +2 -0
- package/dist/lib/shared/ui/customLink/CustomLink.d.ts +2 -1
- package/dist/lib/shared/utils/index.d.ts +1 -0
- package/dist/lib/shared/utils/renderImage.d.ts +6 -0
- package/dist/lib/widgets/banner/Banner.d.ts +9 -14
- package/dist/lib/widgets/index.d.ts +1 -0
- package/dist/lib/widgets/infoBlock/InfoBlock.d.ts +19 -0
- package/dist/lib/widgets/infoBlock/index.d.ts +1 -0
- package/dist/lib/widgets/infoBlock/ui/LinksList.d.ts +10 -0
- package/dist/lib/widgets/infoBlock/ui/RootContent.d.ts +22 -0
- package/dist/lib/widgets/infoBlock/ui/index.d.ts +1 -0
- package/dist/lib/widgets/model/helpers.d.ts +2 -1
- package/dist/mergeRefs-Danc3mp8.js +640 -0
- package/dist/mergeRefs-Danc3mp8.js.map +1 -0
- package/dist/renderImage-D1GvKq_K.js +49 -0
- package/dist/renderImage-D1GvKq_K.js.map +1 -0
- package/dist/ui.js +7 -7
- package/dist/{useDebounce-maGDilFr.js → useDebounce-CEu2ysPk.js} +3 -3
- package/dist/{useDebounce-maGDilFr.js.map → useDebounce-CEu2ysPk.js.map} +1 -1
- package/dist/{useFieldsProgress-egXj013a.js → useFieldsProgress-DvWCpALA.js} +6 -6
- package/dist/{useFieldsProgress-egXj013a.js.map → useFieldsProgress-DvWCpALA.js.map} +1 -1
- package/dist/{utils-Bu1Zg675.js → utils-CnDzHNQ6.js} +62 -62
- package/dist/{utils-Bu1Zg675.js.map → utils-CnDzHNQ6.js.map} +1 -1
- package/dist/utils.js +16 -15
- package/dist/validation.js +2 -2
- package/dist/widget.js +413 -352
- package/dist/widget.js.map +1 -1
- package/package.json +5 -1
- package/dist/index-BrNBKEzf.js.map +0 -1
- package/dist/lib/widgets/banner/model/constants.d.ts +0 -15
- package/dist/localStorageActions-DRn18qhh.js +0 -47
- package/dist/localStorageActions-DRn18qhh.js.map +0 -1
- package/dist/mergeRefs-qDToYXtM.js +0 -12
- package/dist/mergeRefs-qDToYXtM.js.map +0 -1
package/dist/config.js
CHANGED
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
import { g } from "./_commonjsHelpers-C6fGbg64.js";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { g as p } from "./_commonjsHelpers-C6fGbg64.js";
|
|
2
|
+
import { allowedBackgroundDeg as f, allowedBackgroundColors as l, allowedLineHeight as m, allowedFontSize as w, allowedBorderRadius as x, allowedStrokeColors as s, allowedIconsColors as o, allowedTextColors as b, allowedBannersBackgroundColors as v, allowedTextStyles as y, allowedZIndex as T } from "./constants.js";
|
|
3
|
+
var D = {}, k = {};
|
|
4
|
+
(function(e) {
|
|
5
|
+
Object.defineProperty(e, "__esModule", {
|
|
5
6
|
value: !0
|
|
6
|
-
}), Object.defineProperty(
|
|
7
|
+
}), Object.defineProperty(e, "default", {
|
|
7
8
|
enumerable: !0,
|
|
8
9
|
get: function() {
|
|
9
10
|
return a;
|
|
10
11
|
}
|
|
11
12
|
});
|
|
12
|
-
function n(
|
|
13
|
+
function n(t, i) {
|
|
13
14
|
return {
|
|
14
|
-
handler:
|
|
15
|
+
handler: t,
|
|
15
16
|
config: i
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
|
-
n.withOptions = function(
|
|
19
|
-
const
|
|
19
|
+
n.withOptions = function(t, i = () => ({})) {
|
|
20
|
+
const r = function(u) {
|
|
20
21
|
return {
|
|
21
|
-
__options:
|
|
22
|
-
handler:
|
|
23
|
-
config: i(
|
|
22
|
+
__options: u,
|
|
23
|
+
handler: t(u),
|
|
24
|
+
config: i(u)
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
|
-
return
|
|
27
|
+
return r.__isOptionsFunction = !0, r.__pluginFunction = t, r.__configFunction = i, r;
|
|
27
28
|
};
|
|
28
29
|
const a = n;
|
|
29
|
-
})(
|
|
30
|
-
(function(
|
|
31
|
-
Object.defineProperty(
|
|
30
|
+
})(k);
|
|
31
|
+
(function(e) {
|
|
32
|
+
Object.defineProperty(e, "__esModule", {
|
|
32
33
|
value: !0
|
|
33
|
-
}), Object.defineProperty(
|
|
34
|
+
}), Object.defineProperty(e, "default", {
|
|
34
35
|
enumerable: !0,
|
|
35
36
|
get: function() {
|
|
36
|
-
return
|
|
37
|
+
return t;
|
|
37
38
|
}
|
|
38
39
|
});
|
|
39
|
-
const n = /* @__PURE__ */ a(
|
|
40
|
+
const n = /* @__PURE__ */ a(k);
|
|
40
41
|
function a(i) {
|
|
41
42
|
return i && i.__esModule ? i : {
|
|
42
43
|
default: i
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
|
-
const
|
|
46
|
-
})(
|
|
47
|
-
let
|
|
48
|
-
var
|
|
49
|
-
const d = /* @__PURE__ */
|
|
50
|
-
function
|
|
46
|
+
const t = n.default;
|
|
47
|
+
})(D);
|
|
48
|
+
let c = D;
|
|
49
|
+
var F = (c.__esModule ? c : { default: c }).default;
|
|
50
|
+
const d = /* @__PURE__ */ p(F), C = F;
|
|
51
|
+
function g(e) {
|
|
51
52
|
return Object.fromEntries(
|
|
52
|
-
Object.entries(
|
|
53
|
+
Object.entries(e).filter(([n]) => n !== "DEFAULT")
|
|
53
54
|
);
|
|
54
55
|
}
|
|
55
|
-
var
|
|
56
|
-
({ addUtilities:
|
|
57
|
-
|
|
56
|
+
var P = C(
|
|
57
|
+
({ addUtilities: e, matchUtilities: n, theme: a }) => {
|
|
58
|
+
e({
|
|
58
59
|
"@keyframes enter": a("keyframes.enter"),
|
|
59
60
|
"@keyframes exit": a("keyframes.exit"),
|
|
60
61
|
".animate-in": {
|
|
@@ -77,85 +78,85 @@ var T = _(
|
|
|
77
78
|
}
|
|
78
79
|
}), n(
|
|
79
80
|
{
|
|
80
|
-
"fade-in": (
|
|
81
|
-
"fade-out": (
|
|
81
|
+
"fade-in": (t) => ({ "--tw-enter-opacity": t }),
|
|
82
|
+
"fade-out": (t) => ({ "--tw-exit-opacity": t })
|
|
82
83
|
},
|
|
83
84
|
{ values: a("animationOpacity") }
|
|
84
85
|
), n(
|
|
85
86
|
{
|
|
86
|
-
"zoom-in": (
|
|
87
|
-
"zoom-out": (
|
|
87
|
+
"zoom-in": (t) => ({ "--tw-enter-scale": t }),
|
|
88
|
+
"zoom-out": (t) => ({ "--tw-exit-scale": t })
|
|
88
89
|
},
|
|
89
90
|
{ values: a("animationScale") }
|
|
90
91
|
), n(
|
|
91
92
|
{
|
|
92
|
-
"spin-in": (
|
|
93
|
-
"spin-out": (
|
|
93
|
+
"spin-in": (t) => ({ "--tw-enter-rotate": t }),
|
|
94
|
+
"spin-out": (t) => ({ "--tw-exit-rotate": t })
|
|
94
95
|
},
|
|
95
96
|
{ values: a("animationRotate") }
|
|
96
97
|
), n(
|
|
97
98
|
{
|
|
98
|
-
"slide-in-from-top": (
|
|
99
|
-
"--tw-enter-translate-y": `-${
|
|
99
|
+
"slide-in-from-top": (t) => ({
|
|
100
|
+
"--tw-enter-translate-y": `-${t}`
|
|
100
101
|
}),
|
|
101
|
-
"slide-in-from-bottom": (
|
|
102
|
-
"--tw-enter-translate-y":
|
|
102
|
+
"slide-in-from-bottom": (t) => ({
|
|
103
|
+
"--tw-enter-translate-y": t
|
|
103
104
|
}),
|
|
104
|
-
"slide-in-from-left": (
|
|
105
|
-
"--tw-enter-translate-x": `-${
|
|
105
|
+
"slide-in-from-left": (t) => ({
|
|
106
|
+
"--tw-enter-translate-x": `-${t}`
|
|
106
107
|
}),
|
|
107
|
-
"slide-in-from-right": (
|
|
108
|
-
"--tw-enter-translate-x":
|
|
108
|
+
"slide-in-from-right": (t) => ({
|
|
109
|
+
"--tw-enter-translate-x": t
|
|
109
110
|
}),
|
|
110
|
-
"slide-out-to-top": (
|
|
111
|
-
"--tw-exit-translate-y": `-${
|
|
111
|
+
"slide-out-to-top": (t) => ({
|
|
112
|
+
"--tw-exit-translate-y": `-${t}`
|
|
112
113
|
}),
|
|
113
|
-
"slide-out-to-bottom": (
|
|
114
|
-
"--tw-exit-translate-y":
|
|
114
|
+
"slide-out-to-bottom": (t) => ({
|
|
115
|
+
"--tw-exit-translate-y": t
|
|
115
116
|
}),
|
|
116
|
-
"slide-out-to-left": (
|
|
117
|
-
"--tw-exit-translate-x": `-${
|
|
117
|
+
"slide-out-to-left": (t) => ({
|
|
118
|
+
"--tw-exit-translate-x": `-${t}`
|
|
118
119
|
}),
|
|
119
|
-
"slide-out-to-right": (
|
|
120
|
-
"--tw-exit-translate-x":
|
|
120
|
+
"slide-out-to-right": (t) => ({
|
|
121
|
+
"--tw-exit-translate-x": t
|
|
121
122
|
})
|
|
122
123
|
},
|
|
123
124
|
{ values: a("animationTranslate") }
|
|
124
125
|
), n(
|
|
125
|
-
{ duration: (
|
|
126
|
-
{ values:
|
|
126
|
+
{ duration: (t) => ({ animationDuration: t }) },
|
|
127
|
+
{ values: g(a("animationDuration")) }
|
|
127
128
|
), n(
|
|
128
|
-
{ delay: (
|
|
129
|
+
{ delay: (t) => ({ animationDelay: t }) },
|
|
129
130
|
{ values: a("animationDelay") }
|
|
130
131
|
), n(
|
|
131
|
-
{ ease: (
|
|
132
|
-
{ values:
|
|
133
|
-
),
|
|
132
|
+
{ ease: (t) => ({ animationTimingFunction: t }) },
|
|
133
|
+
{ values: g(a("animationTimingFunction")) }
|
|
134
|
+
), e({
|
|
134
135
|
".running": { animationPlayState: "running" },
|
|
135
136
|
".paused": { animationPlayState: "paused" }
|
|
136
137
|
}), n(
|
|
137
|
-
{ "fill-mode": (
|
|
138
|
+
{ "fill-mode": (t) => ({ animationFillMode: t }) },
|
|
138
139
|
{ values: a("animationFillMode") }
|
|
139
140
|
), n(
|
|
140
|
-
{ direction: (
|
|
141
|
+
{ direction: (t) => ({ animationDirection: t }) },
|
|
141
142
|
{ values: a("animationDirection") }
|
|
142
143
|
), n(
|
|
143
|
-
{ repeat: (
|
|
144
|
+
{ repeat: (t) => ({ animationIterationCount: t }) },
|
|
144
145
|
{ values: a("animationRepeat") }
|
|
145
146
|
);
|
|
146
147
|
},
|
|
147
148
|
{
|
|
148
149
|
theme: {
|
|
149
150
|
extend: {
|
|
150
|
-
animationDelay: ({ theme:
|
|
151
|
-
...
|
|
151
|
+
animationDelay: ({ theme: e }) => ({
|
|
152
|
+
...e("transitionDelay")
|
|
152
153
|
}),
|
|
153
|
-
animationDuration: ({ theme:
|
|
154
|
+
animationDuration: ({ theme: e }) => ({
|
|
154
155
|
0: "0ms",
|
|
155
|
-
...
|
|
156
|
+
...e("transitionDuration")
|
|
156
157
|
}),
|
|
157
|
-
animationTimingFunction: ({ theme:
|
|
158
|
-
...
|
|
158
|
+
animationTimingFunction: ({ theme: e }) => ({
|
|
159
|
+
...e("transitionTimingFunction")
|
|
159
160
|
}),
|
|
160
161
|
animationFillMode: {
|
|
161
162
|
none: "none",
|
|
@@ -169,21 +170,21 @@ var T = _(
|
|
|
169
170
|
alternate: "alternate",
|
|
170
171
|
"alternate-reverse": "alternate-reverse"
|
|
171
172
|
},
|
|
172
|
-
animationOpacity: ({ theme:
|
|
173
|
+
animationOpacity: ({ theme: e }) => ({
|
|
173
174
|
DEFAULT: 0,
|
|
174
|
-
...
|
|
175
|
+
...e("opacity")
|
|
175
176
|
}),
|
|
176
|
-
animationTranslate: ({ theme:
|
|
177
|
+
animationTranslate: ({ theme: e }) => ({
|
|
177
178
|
DEFAULT: "100%",
|
|
178
|
-
...
|
|
179
|
+
...e("translate")
|
|
179
180
|
}),
|
|
180
|
-
animationScale: ({ theme:
|
|
181
|
+
animationScale: ({ theme: e }) => ({
|
|
181
182
|
DEFAULT: 0,
|
|
182
|
-
...
|
|
183
|
+
...e("scale")
|
|
183
184
|
}),
|
|
184
|
-
animationRotate: ({ theme:
|
|
185
|
+
animationRotate: ({ theme: e }) => ({
|
|
185
186
|
DEFAULT: "30deg",
|
|
186
|
-
...
|
|
187
|
+
...e("rotate")
|
|
187
188
|
}),
|
|
188
189
|
animationRepeat: {
|
|
189
190
|
0: "0",
|
|
@@ -208,242 +209,33 @@ var T = _(
|
|
|
208
209
|
}
|
|
209
210
|
}
|
|
210
211
|
);
|
|
211
|
-
const
|
|
212
|
-
transparent: "transparent",
|
|
213
|
-
current: "currentColor",
|
|
214
|
-
inherit: "inherit",
|
|
215
|
-
initial: "initial"
|
|
216
|
-
}, s = {
|
|
217
|
-
"blue-grey-100": "#f3f4f7",
|
|
218
|
-
"blue-grey-200": "#eaedf1",
|
|
219
|
-
"blue-grey-300": "#d4dbe2",
|
|
220
|
-
"blue-grey-500": "#a9b6c5",
|
|
221
|
-
footer: "#40465a",
|
|
222
|
-
negative: "#f42500",
|
|
223
|
-
"negative-light": "#ffd2ca",
|
|
224
|
-
positive: "#76bc21",
|
|
225
|
-
"positive-light": "#e4f6ce",
|
|
226
|
-
"primary-default": "#003790",
|
|
227
|
-
"primary-focus": "#2477ff",
|
|
228
|
-
"primary-hover": "#042e73",
|
|
229
|
-
"primary-light-default": "#f0f4f9",
|
|
230
|
-
"primary-tr-focus": "#0037901f",
|
|
231
|
-
"primary-tr-hover": "#00379014",
|
|
232
|
-
"primary-tr-pressed": "#00379033",
|
|
233
|
-
"secondary-default": "#fc5055",
|
|
234
|
-
"secondary-hover": "#f12f34",
|
|
235
|
-
warning: "#f49f00",
|
|
236
|
-
"warning-light": "#ffeecc",
|
|
237
|
-
white: "#ffffff",
|
|
238
|
-
"primary-disabled": "#809bc7",
|
|
239
|
-
"secondary-disabled": "#FFB7BF",
|
|
240
|
-
dark: "#292929",
|
|
241
|
-
purple: "#5f40bd",
|
|
242
|
-
"purple-hover": "#52399d",
|
|
243
|
-
overlay: "#0000004d",
|
|
244
|
-
...o
|
|
245
|
-
}, v = {
|
|
246
|
-
dark: "#292929",
|
|
247
|
-
disabled: "#a9b6c5",
|
|
248
|
-
footer: "#c3c3c3",
|
|
249
|
-
negative: "#f42500",
|
|
250
|
-
positive: "#76bc21",
|
|
251
|
-
"primary-default": "#003790",
|
|
252
|
-
"primary-hover": "#042e73",
|
|
253
|
-
secondary: "#40465a",
|
|
254
|
-
tetriary: "#5a6e85",
|
|
255
|
-
warning: "#f49f00",
|
|
256
|
-
white: "#ffffff",
|
|
257
|
-
"primary-disabled": "#809bc7",
|
|
258
|
-
"blue-grey-600": "#94a4b7",
|
|
259
|
-
...o
|
|
260
|
-
}, w = {
|
|
261
|
-
"barvcray-200": "#ebeef4",
|
|
262
|
-
"barvcray-300": "#dde1e8",
|
|
263
|
-
"greymint-200": "#deecee",
|
|
264
|
-
"lavender-100": "#f7f7ff",
|
|
265
|
-
"lavender-200": "#ecedfa",
|
|
266
|
-
"lavender-300": "#d0d3f1",
|
|
267
|
-
"lightblue-300": "#bed3ec",
|
|
268
|
-
"mint-200": "#e4f5ed",
|
|
269
|
-
"salmon-200": "#faecec",
|
|
270
|
-
"skyblue-100": "#f4f8fe",
|
|
271
|
-
"skyblue-200": "#e7f3ff",
|
|
272
|
-
"skyblue-300": "#d9edff",
|
|
273
|
-
...o
|
|
274
|
-
}, r = {
|
|
275
|
-
"accent-default": "#2477ff",
|
|
276
|
-
"accent-hover": "#0053da",
|
|
277
|
-
"blue-grey-100": "#f3f4f7",
|
|
278
|
-
"blue-grey-600": "#94a4b7",
|
|
279
|
-
"blue-grey-700": "#69809a",
|
|
280
|
-
"blue-grey-800": "#5a6e85",
|
|
281
|
-
"dark-default": "#292929",
|
|
282
|
-
"dark-hover": "#535353",
|
|
283
|
-
disabled: "#a9b6c5",
|
|
284
|
-
"negative-default": "#f42500",
|
|
285
|
-
"negative-hover": "#c31e00",
|
|
286
|
-
"positive-default": "#76bc21",
|
|
287
|
-
"positive-hover": "#598d19",
|
|
288
|
-
"primary-default": "#003790",
|
|
289
|
-
"primary-hover": "#042e73",
|
|
290
|
-
"secondary-dark-default": "#f12f34",
|
|
291
|
-
"secondary-dark-hover": "#c40309",
|
|
292
|
-
"secondary-default": "#fc5055",
|
|
293
|
-
"secondary-hover": "#f12f34",
|
|
294
|
-
"warning-default": "#f49f00",
|
|
295
|
-
"warning-hover": "#d68b00",
|
|
296
|
-
white: "#ffffff",
|
|
297
|
-
"primary-disabled": "#809bc7",
|
|
298
|
-
footer: "#C3C3C3",
|
|
299
|
-
...o
|
|
300
|
-
}, f = {
|
|
301
|
-
"blue-grey-500": "#a9b6c5",
|
|
302
|
-
"blue-grey-700": "#69809a",
|
|
303
|
-
"blue-grey-800": "#5a6e85",
|
|
304
|
-
dark: "#292929",
|
|
305
|
-
negative: "#f42500",
|
|
306
|
-
positive: "#76bc21",
|
|
307
|
-
"primary-default": "#003790",
|
|
308
|
-
"primary-focus": "#2477ff",
|
|
309
|
-
"primary-hover": "#042e73",
|
|
310
|
-
"primary-light": "#f0f4f9",
|
|
311
|
-
"secondary-default": "#fc5055",
|
|
312
|
-
"secondary-hover": "#f12f34",
|
|
313
|
-
"warm-grey-200": "#e4e4e4",
|
|
314
|
-
"warm-grey-300": "#c3c3c3",
|
|
315
|
-
warning: "#f49f00",
|
|
316
|
-
white: "#ffffff",
|
|
317
|
-
"primary-disabled": "#809bc7",
|
|
318
|
-
...o
|
|
319
|
-
}, k = {
|
|
320
|
-
none: "0",
|
|
321
|
-
sm: "4px",
|
|
322
|
-
md: "8px",
|
|
323
|
-
lg: "16px",
|
|
324
|
-
full: "9999px"
|
|
325
|
-
}, h = {
|
|
326
|
-
30: "30deg",
|
|
327
|
-
45: "45deg",
|
|
328
|
-
80: "80deg",
|
|
329
|
-
90: "90deg",
|
|
330
|
-
110: "110deg",
|
|
331
|
-
180: "180deg"
|
|
332
|
-
}, P = {
|
|
333
|
-
0: "0",
|
|
334
|
-
1: "1",
|
|
335
|
-
10: "10",
|
|
336
|
-
30: "30",
|
|
337
|
-
50: "50",
|
|
338
|
-
100: "100",
|
|
339
|
-
250: "250",
|
|
340
|
-
500: "500",
|
|
341
|
-
1e3: "1000"
|
|
342
|
-
}, D = {
|
|
343
|
-
12: "12px",
|
|
344
|
-
14: "14px",
|
|
345
|
-
16: "16px",
|
|
346
|
-
18: "18px",
|
|
347
|
-
20: "20px",
|
|
348
|
-
24: "24px",
|
|
349
|
-
28: "28px",
|
|
350
|
-
32: "32px",
|
|
351
|
-
40: "40px"
|
|
352
|
-
}, F = {
|
|
353
|
-
16: "16px",
|
|
354
|
-
20: "20px",
|
|
355
|
-
22: "22px",
|
|
356
|
-
24: "24px",
|
|
357
|
-
30: "30px",
|
|
358
|
-
32: "32px",
|
|
359
|
-
40: "40px",
|
|
360
|
-
48: "48px"
|
|
361
|
-
}, C = {
|
|
362
|
-
/* # Headline */
|
|
363
|
-
".mob-headline-bold-m": {
|
|
364
|
-
"@apply font-bold text-28 leading-32": ""
|
|
365
|
-
},
|
|
366
|
-
".mob-headline-bold-s": {
|
|
367
|
-
"@apply font-bold text-24 leading-30": ""
|
|
368
|
-
},
|
|
369
|
-
/* # Title */
|
|
370
|
-
".mob-title-bold-l": {
|
|
371
|
-
"@apply font-bold text-20 leading-24": ""
|
|
372
|
-
},
|
|
373
|
-
".mob-title-bold-m": {
|
|
374
|
-
"@apply font-bold text-18 leading-22": ""
|
|
375
|
-
},
|
|
376
|
-
/* # Body */
|
|
377
|
-
".mob-body-medium-l": {
|
|
378
|
-
"@apply font-medium text-16 leading-22": ""
|
|
379
|
-
},
|
|
380
|
-
".mob-body-regular-l": {
|
|
381
|
-
"@apply font-normal text-16 leading-22": ""
|
|
382
|
-
},
|
|
383
|
-
".mob-body-medium-m": {
|
|
384
|
-
"@apply font-medium text-14 leading-20": ""
|
|
385
|
-
},
|
|
386
|
-
".mob-body-regular-m": {
|
|
387
|
-
"@apply font-normal text-14 leading-20": ""
|
|
388
|
-
},
|
|
389
|
-
".mob-body-regular-s": {
|
|
390
|
-
"@apply font-normal text-12 leading-20": ""
|
|
391
|
-
},
|
|
392
|
-
/* -------- Desktop Typography -------- */
|
|
393
|
-
/* # Headline */
|
|
394
|
-
".desk-headline-bold-l": {
|
|
395
|
-
"@apply font-bold text-40 leading-48": ""
|
|
396
|
-
},
|
|
397
|
-
".desk-headline-bold-m": {
|
|
398
|
-
"@apply font-bold text-32 leading-40": ""
|
|
399
|
-
},
|
|
400
|
-
/* # Title */
|
|
401
|
-
".desk-title-bold-l": {
|
|
402
|
-
"@apply font-bold text-24 leading-30": ""
|
|
403
|
-
},
|
|
404
|
-
".desk-title-bold-s": {
|
|
405
|
-
"@apply font-bold text-18 leading-22": ""
|
|
406
|
-
},
|
|
407
|
-
/* # Body */
|
|
408
|
-
".desk-body-medium-l": {
|
|
409
|
-
"@apply font-medium text-16 leading-22": ""
|
|
410
|
-
},
|
|
411
|
-
".desk-body-regular-l": {
|
|
412
|
-
"@apply font-normal text-16 leading-22": ""
|
|
413
|
-
},
|
|
414
|
-
".desk-body-regular-m": {
|
|
415
|
-
"@apply font-normal text-14 leading-20": ""
|
|
416
|
-
},
|
|
417
|
-
".desk-body-regular-s": {
|
|
418
|
-
"@apply font-normal text-12 leading-16": ""
|
|
419
|
-
}
|
|
420
|
-
}, A = {
|
|
212
|
+
const _ = /* @__PURE__ */ p(P), S = {
|
|
421
213
|
theme: {
|
|
422
214
|
backgroundColor: {
|
|
423
|
-
color:
|
|
424
|
-
banner:
|
|
425
|
-
icon:
|
|
215
|
+
color: l,
|
|
216
|
+
banner: v,
|
|
217
|
+
icon: o
|
|
426
218
|
},
|
|
427
219
|
textColor: {
|
|
428
|
-
icon:
|
|
429
|
-
color:
|
|
220
|
+
icon: o,
|
|
221
|
+
color: b
|
|
430
222
|
},
|
|
431
|
-
fill:
|
|
432
|
-
stroke:
|
|
433
|
-
borderColor:
|
|
434
|
-
outlineColor:
|
|
435
|
-
borderRadius:
|
|
223
|
+
fill: o,
|
|
224
|
+
stroke: o,
|
|
225
|
+
borderColor: s,
|
|
226
|
+
outlineColor: s,
|
|
227
|
+
borderRadius: x,
|
|
436
228
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
437
|
-
fontSize:
|
|
438
|
-
lineHeight:
|
|
439
|
-
gradientColorStops:
|
|
229
|
+
fontSize: w,
|
|
230
|
+
lineHeight: m,
|
|
231
|
+
gradientColorStops: l,
|
|
440
232
|
boxShadow: {
|
|
441
233
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
442
234
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
443
235
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
444
236
|
},
|
|
445
237
|
extend: {
|
|
446
|
-
bgGradientDeg:
|
|
238
|
+
bgGradientDeg: f,
|
|
447
239
|
width: {
|
|
448
240
|
"popper-content": "var(--radix-popover-content-available-width)",
|
|
449
241
|
"popper-trigger": "var(--radix-popover-trigger-width)",
|
|
@@ -487,12 +279,12 @@ const x = /* @__PURE__ */ g(T), o = {
|
|
|
487
279
|
}
|
|
488
280
|
},
|
|
489
281
|
plugins: [
|
|
490
|
-
|
|
491
|
-
d(({ addComponents:
|
|
492
|
-
|
|
282
|
+
_,
|
|
283
|
+
d(({ addComponents: e }) => {
|
|
284
|
+
e(y);
|
|
493
285
|
}),
|
|
494
|
-
d(function({ matchUtilities:
|
|
495
|
-
|
|
286
|
+
d(function({ matchUtilities: e, theme: n }) {
|
|
287
|
+
e(
|
|
496
288
|
{
|
|
497
289
|
"bg-deg-gradient": (a) => ({
|
|
498
290
|
"background-image": `linear-gradient(${a}, var(--tw-gradient-stops))`
|
|
@@ -504,7 +296,7 @@ const x = /* @__PURE__ */ g(T), o = {
|
|
|
504
296
|
);
|
|
505
297
|
})
|
|
506
298
|
]
|
|
507
|
-
},
|
|
299
|
+
}, h = {
|
|
508
300
|
theme: {
|
|
509
301
|
extend: {
|
|
510
302
|
transitionDuration: {
|
|
@@ -551,40 +343,40 @@ const x = /* @__PURE__ */ g(T), o = {
|
|
|
551
343
|
desktop: "1188px"
|
|
552
344
|
},
|
|
553
345
|
backgroundColor: {
|
|
554
|
-
color:
|
|
555
|
-
banner:
|
|
556
|
-
icon:
|
|
346
|
+
color: l,
|
|
347
|
+
banner: v,
|
|
348
|
+
icon: o
|
|
557
349
|
},
|
|
558
350
|
textColor: {
|
|
559
|
-
icon:
|
|
560
|
-
color:
|
|
351
|
+
icon: o,
|
|
352
|
+
color: b
|
|
561
353
|
},
|
|
562
|
-
fill:
|
|
563
|
-
stroke:
|
|
564
|
-
borderColor:
|
|
565
|
-
outlineColor:
|
|
566
|
-
borderRadius:
|
|
354
|
+
fill: o,
|
|
355
|
+
stroke: o,
|
|
356
|
+
borderColor: s,
|
|
357
|
+
outlineColor: s,
|
|
358
|
+
borderRadius: x,
|
|
567
359
|
fontFamily: { roboto: ["var(--ff-roboto)", "sans-serif"] },
|
|
568
|
-
fontSize:
|
|
569
|
-
lineHeight:
|
|
570
|
-
gradientColorStops:
|
|
360
|
+
fontSize: w,
|
|
361
|
+
lineHeight: m,
|
|
362
|
+
gradientColorStops: l,
|
|
571
363
|
boxShadow: {
|
|
572
364
|
sm: "0 8px 20px 0 rgba(0, 0, 0, 0.08)",
|
|
573
365
|
md: "0 12px 20px 0 rgba(0, 33, 87, 0.10)",
|
|
574
366
|
lg: "0 16px 24px 0 rgba(0, 33, 87, 0.16)"
|
|
575
367
|
},
|
|
576
|
-
zIndex:
|
|
368
|
+
zIndex: T,
|
|
577
369
|
extend: {
|
|
578
|
-
bgGradientDeg:
|
|
370
|
+
bgGradientDeg: f
|
|
579
371
|
}
|
|
580
372
|
},
|
|
581
373
|
plugins: [
|
|
582
|
-
|
|
583
|
-
d(({ addComponents:
|
|
584
|
-
|
|
374
|
+
_,
|
|
375
|
+
d(({ addComponents: e }) => {
|
|
376
|
+
e(y);
|
|
585
377
|
}),
|
|
586
|
-
d(function({ matchUtilities:
|
|
587
|
-
|
|
378
|
+
d(function({ matchUtilities: e, theme: n }) {
|
|
379
|
+
e(
|
|
588
380
|
{
|
|
589
381
|
"bg-deg-gradient": (a) => ({
|
|
590
382
|
"background-image": `linear-gradient(${a}, var(--tw-gradient-stops))`
|
|
@@ -598,8 +390,8 @@ const x = /* @__PURE__ */ g(T), o = {
|
|
|
598
390
|
]
|
|
599
391
|
};
|
|
600
392
|
export {
|
|
601
|
-
|
|
393
|
+
h as extendsPreset,
|
|
602
394
|
L as resetPreset,
|
|
603
|
-
|
|
395
|
+
S as tailwindConfigBase
|
|
604
396
|
};
|
|
605
397
|
//# sourceMappingURL=config.js.map
|