@sytechui/theme 2.4.27 → 2.6.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/animations/index.d.mts +9 -0
- package/dist/animations/index.d.ts +9 -0
- package/dist/animations/index.js +9 -0
- package/dist/animations/index.mjs +1 -1
- package/dist/{chunk-Z65VJL4Y.mjs → chunk-27EH4573.mjs} +1 -1
- package/dist/{chunk-FQECQOZE.mjs → chunk-3PBT3W4C.mjs} +1 -1
- package/dist/{chunk-3L7WFLSH.mjs → chunk-4XFAHRMJ.mjs} +1 -1
- package/dist/{chunk-VDS6DP26.mjs → chunk-6Q4A5IGD.mjs} +1 -1
- package/dist/{chunk-NKYWOWNW.mjs → chunk-7CAOOET2.mjs} +1 -1
- package/dist/{chunk-TRZPE5UW.mjs → chunk-7MY46DKJ.mjs} +1 -1
- package/dist/{chunk-YLA7KS3I.mjs → chunk-AI6SQS6Z.mjs} +182 -2
- package/dist/{chunk-WDM42WDU.mjs → chunk-CBIC7UDL.mjs} +5 -5
- package/dist/{chunk-SGV526OS.mjs → chunk-CR7SUL27.mjs} +1 -1
- package/dist/chunk-FJOYYPB2.mjs +42 -0
- package/dist/{chunk-FUKRIH5Z.mjs → chunk-GXDNTAQH.mjs} +1 -1
- package/dist/{chunk-4V3RQUZU.mjs → chunk-GYRKKQKN.mjs} +1 -1
- package/dist/{chunk-5PWGYVAP.mjs → chunk-HRULT2QB.mjs} +1 -1
- package/dist/{chunk-EJDFNA7Y.mjs → chunk-K6X3VPO4.mjs} +1 -1
- package/dist/chunk-LV6ZC7XH.mjs +31 -0
- package/dist/{chunk-QQVGHMSD.mjs → chunk-M5F7VFZT.mjs} +1 -1
- package/dist/{chunk-E34EWEJV.mjs → chunk-OBSH26UE.mjs} +1 -1
- package/dist/{chunk-YW4DIYUX.mjs → chunk-P2SWF4YK.mjs} +1 -1
- package/dist/{chunk-3INHRVXM.mjs → chunk-QU72GCNK.mjs} +1 -1
- package/dist/{chunk-NPGKX3MZ.mjs → chunk-RAC3PSZO.mjs} +1 -1
- package/dist/{chunk-HYWP3BX7.mjs → chunk-SLRWKURF.mjs} +9 -0
- package/dist/{chunk-JS2FQJMX.mjs → chunk-TYJNRAT2.mjs} +1 -1
- package/dist/{chunk-6US6AURX.mjs → chunk-UJC5GXOO.mjs} +11 -7
- package/dist/{chunk-SSU66MWA.mjs → chunk-XOVETH7K.mjs} +1 -1
- package/dist/components/accordion.js +41 -1
- package/dist/components/accordion.mjs +27 -25
- package/dist/components/alert.js +41 -1
- package/dist/components/alert.mjs +27 -25
- package/dist/components/autocomplete.js +41 -1
- package/dist/components/autocomplete.mjs +7 -6
- package/dist/components/avatar.js +41 -1
- package/dist/components/avatar.mjs +27 -25
- package/dist/components/badge.js +41 -1
- package/dist/components/badge.mjs +27 -25
- package/dist/components/bottom-bar.d.mts +263 -0
- package/dist/components/bottom-bar.d.ts +263 -0
- package/dist/components/bottom-bar.js +463 -0
- package/dist/components/bottom-bar.mjs +53 -0
- package/dist/components/breadcrumbs.js +41 -1
- package/dist/components/breadcrumbs.mjs +27 -25
- package/dist/components/button.js +41 -1
- package/dist/components/button.mjs +27 -25
- package/dist/components/calendar.js +41 -1
- package/dist/components/calendar.mjs +27 -25
- package/dist/components/card.js +41 -1
- package/dist/components/card.mjs +27 -25
- package/dist/components/checkbox.js +41 -1
- package/dist/components/checkbox.mjs +27 -25
- package/dist/components/chip.js +41 -1
- package/dist/components/chip.mjs +27 -25
- package/dist/components/code.js +41 -1
- package/dist/components/code.mjs +27 -25
- package/dist/components/date-input.js +41 -1
- package/dist/components/date-input.mjs +7 -6
- package/dist/components/date-picker.js +41 -1
- package/dist/components/date-picker.mjs +7 -6
- package/dist/components/divider.js +41 -1
- package/dist/components/divider.mjs +7 -6
- package/dist/components/drawer.js +41 -1
- package/dist/components/drawer.mjs +7 -6
- package/dist/components/drip.js +41 -1
- package/dist/components/drip.mjs +7 -6
- package/dist/components/drop-zone.js +41 -1
- package/dist/components/drop-zone.mjs +27 -25
- package/dist/components/dropdown.js +41 -1
- package/dist/components/dropdown.mjs +27 -25
- package/dist/components/form.js +41 -1
- package/dist/components/form.mjs +7 -6
- package/dist/components/image.js +41 -1
- package/dist/components/image.mjs +7 -6
- package/dist/components/index.d.mts +2 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +253 -1
- package/dist/components/index.mjs +41 -34
- package/dist/components/input-otp.js +41 -1
- package/dist/components/input-otp.mjs +27 -25
- package/dist/components/input.js +41 -1
- package/dist/components/input.mjs +27 -25
- package/dist/components/kbd.js +41 -1
- package/dist/components/kbd.mjs +7 -6
- package/dist/components/link.js +41 -1
- package/dist/components/link.mjs +27 -25
- package/dist/components/listbox.js +41 -1
- package/dist/components/listbox.mjs +27 -25
- package/dist/components/menu.js +41 -1
- package/dist/components/menu.mjs +27 -25
- package/dist/components/modal.js +41 -1
- package/dist/components/modal.mjs +27 -25
- package/dist/components/navbar.js +41 -1
- package/dist/components/navbar.mjs +27 -25
- package/dist/components/number-input.js +41 -1
- package/dist/components/number-input.mjs +27 -25
- package/dist/components/pagination.js +41 -1
- package/dist/components/pagination.mjs +27 -25
- package/dist/components/popover.js +41 -1
- package/dist/components/popover.mjs +27 -25
- package/dist/components/progress.js +41 -1
- package/dist/components/progress.mjs +7 -6
- package/dist/components/radio.js +41 -1
- package/dist/components/radio.mjs +27 -25
- package/dist/components/scroll-area.js +41 -1
- package/dist/components/scroll-area.mjs +7 -6
- package/dist/components/scroll-shadow.js +41 -1
- package/dist/components/scroll-shadow.mjs +7 -6
- package/dist/components/select.js +41 -1
- package/dist/components/select.mjs +27 -25
- package/dist/components/shimmer-text.d.mts +46 -0
- package/dist/components/shimmer-text.d.ts +46 -0
- package/dist/components/shimmer-text.js +301 -0
- package/dist/components/shimmer-text.mjs +15 -0
- package/dist/components/skeleton.js +41 -1
- package/dist/components/skeleton.mjs +7 -6
- package/dist/components/slider.js +41 -1
- package/dist/components/slider.mjs +27 -25
- package/dist/components/snippet.js +41 -1
- package/dist/components/snippet.mjs +27 -25
- package/dist/components/spacer.js +41 -1
- package/dist/components/spacer.mjs +7 -6
- package/dist/components/spinner.js +41 -1
- package/dist/components/spinner.mjs +7 -6
- package/dist/components/table.js +41 -1
- package/dist/components/table.mjs +27 -25
- package/dist/components/tabs.js +41 -1
- package/dist/components/tabs.mjs +27 -25
- package/dist/components/toast.js +41 -1
- package/dist/components/toast.mjs +27 -25
- package/dist/components/toggle.js +41 -1
- package/dist/components/toggle.mjs +27 -25
- package/dist/components/user.js +41 -1
- package/dist/components/user.mjs +27 -25
- package/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +256 -1
- package/dist/index.mjs +41 -34
- package/dist/plugin.js +50 -1
- package/dist/plugin.mjs +7 -6
- package/dist/utilities/index.d.mts +38 -0
- package/dist/utilities/index.d.ts +38 -0
- package/dist/utilities/index.js +41 -1
- package/dist/utilities/index.mjs +4 -3
- package/dist/utilities/shimmer-text.d.mts +42 -0
- package/dist/utilities/shimmer-text.d.ts +42 -0
- package/dist/utilities/shimmer-text.js +62 -0
- package/dist/utilities/shimmer-text.mjs +6 -0
- package/dist/utils/cn.js +41 -1
- package/dist/utils/cn.mjs +6 -5
- package/dist/utils/index.js +41 -1
- package/dist/utils/index.mjs +27 -25
- package/dist/utils/merge-classes.js +41 -1
- package/dist/utils/merge-classes.mjs +27 -25
- package/dist/utils/tv.js +41 -1
- package/dist/utils/tv.mjs +6 -5
- package/dist/utils/tw-merge-config.js +41 -1
- package/dist/utils/tw-merge-config.mjs +5 -4
- package/package.json +1 -1
package/dist/utils/index.js
CHANGED
|
@@ -338,13 +338,53 @@ var animation_default = {
|
|
|
338
338
|
}
|
|
339
339
|
};
|
|
340
340
|
|
|
341
|
+
// src/utilities/shimmer-text.ts
|
|
342
|
+
var readableText = {
|
|
343
|
+
animation: "none !important",
|
|
344
|
+
"background-image": "none",
|
|
345
|
+
"-webkit-text-fill-color": "currentColor"
|
|
346
|
+
};
|
|
347
|
+
var shimmer_text_default = {
|
|
348
|
+
".sytech-shimmer-text": {
|
|
349
|
+
color: "currentColor",
|
|
350
|
+
"--shimmer-angle": "20deg",
|
|
351
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
352
|
+
"--shimmer-iteration": "infinite",
|
|
353
|
+
"--shimmer-direction": "normal",
|
|
354
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
355
|
+
"background-image": "linear-gradient(calc(90deg + var(--shimmer-angle)), currentColor calc(50% - var(--shimmer-spread)), color-mix(in srgb, var(--shimmer-color, currentColor) 35%, transparent) 50%, currentColor calc(50% + var(--shimmer-spread)))",
|
|
356
|
+
"background-repeat": "no-repeat",
|
|
357
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
358
|
+
"background-position": "100% 0",
|
|
359
|
+
"background-clip": "text",
|
|
360
|
+
"-webkit-background-clip": "text",
|
|
361
|
+
"-webkit-text-fill-color": "transparent"
|
|
362
|
+
},
|
|
363
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
364
|
+
"--shimmer-direction": "reverse"
|
|
365
|
+
},
|
|
366
|
+
"&.sytech-shimmer-text-reverse": {
|
|
367
|
+
"--shimmer-direction": "reverse"
|
|
368
|
+
},
|
|
369
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
370
|
+
"--shimmer-direction": "normal"
|
|
371
|
+
},
|
|
372
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
373
|
+
},
|
|
374
|
+
".sytech-shimmer-text-once": {
|
|
375
|
+
"--shimmer-iteration": "1"
|
|
376
|
+
},
|
|
377
|
+
".sytech-shimmer-text-disabled": readableText
|
|
378
|
+
};
|
|
379
|
+
|
|
341
380
|
// src/utilities/index.ts
|
|
342
381
|
var utilities = {
|
|
343
382
|
...custom_default,
|
|
344
383
|
...transition_default,
|
|
345
384
|
...scrollbar_hide_default,
|
|
346
385
|
...text_default,
|
|
347
|
-
...animation_default
|
|
386
|
+
...animation_default,
|
|
387
|
+
...shimmer_text_default
|
|
348
388
|
};
|
|
349
389
|
|
|
350
390
|
// src/utils/tw-merge-config.ts
|
package/dist/utils/index.mjs
CHANGED
|
@@ -1,33 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeClasses
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-AI6SQS6Z.mjs";
|
|
4
4
|
import {
|
|
5
5
|
colorVariants
|
|
6
6
|
} from "../chunk-GQT3YUX3.mjs";
|
|
7
7
|
import {
|
|
8
8
|
cn
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-P2SWF4YK.mjs";
|
|
10
|
+
import "../chunk-LV6ZC7XH.mjs";
|
|
11
|
+
import "../chunk-27EH4573.mjs";
|
|
12
|
+
import "../chunk-6Q4A5IGD.mjs";
|
|
13
|
+
import "../chunk-7MY46DKJ.mjs";
|
|
14
|
+
import "../chunk-7CAOOET2.mjs";
|
|
15
|
+
import "../chunk-GYRKKQKN.mjs";
|
|
16
|
+
import "../chunk-CR7SUL27.mjs";
|
|
17
|
+
import "../chunk-3PBT3W4C.mjs";
|
|
18
|
+
import "../chunk-M5F7VFZT.mjs";
|
|
19
|
+
import "../chunk-XOVETH7K.mjs";
|
|
20
|
+
import "../chunk-4XFAHRMJ.mjs";
|
|
21
|
+
import "../chunk-OBSH26UE.mjs";
|
|
22
|
+
import "../chunk-K6X3VPO4.mjs";
|
|
23
|
+
import "../chunk-HRULT2QB.mjs";
|
|
24
|
+
import "../chunk-TYJNRAT2.mjs";
|
|
25
|
+
import "../chunk-GXDNTAQH.mjs";
|
|
26
|
+
import "../chunk-RAC3PSZO.mjs";
|
|
26
27
|
import {
|
|
27
28
|
COMMON_UNITS,
|
|
28
29
|
twMergeConfig
|
|
29
|
-
} from "../chunk-
|
|
30
|
-
import "../chunk-
|
|
30
|
+
} from "../chunk-QU72GCNK.mjs";
|
|
31
|
+
import "../chunk-CBIC7UDL.mjs";
|
|
32
|
+
import "../chunk-D2XMP2NC.mjs";
|
|
31
33
|
import {
|
|
32
34
|
absoluteFullClasses,
|
|
33
35
|
baseStyles,
|
|
@@ -39,13 +41,13 @@ import {
|
|
|
39
41
|
ringClasses,
|
|
40
42
|
translateCenterClasses
|
|
41
43
|
} from "../chunk-JGY6VQQQ.mjs";
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
44
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
45
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
46
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
47
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
44
48
|
import "../chunk-AWXUGVFR.mjs";
|
|
45
49
|
import "../chunk-MPVWW3DX.mjs";
|
|
46
50
|
import "../chunk-WH6SPIFG.mjs";
|
|
47
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
48
|
-
import "../chunk-GSRZWDGA.mjs";
|
|
49
51
|
import "../chunk-WQEDQHKX.mjs";
|
|
50
52
|
import "../chunk-CPSLANMP.mjs";
|
|
51
53
|
import "../chunk-FFKHVGFX.mjs";
|
|
@@ -53,7 +55,7 @@ import "../chunk-5ICJA2GK.mjs";
|
|
|
53
55
|
import "../chunk-M63AFAHO.mjs";
|
|
54
56
|
import "../chunk-HUBDRSA4.mjs";
|
|
55
57
|
import "../chunk-WBQAMGXK.mjs";
|
|
56
|
-
import "../chunk-
|
|
58
|
+
import "../chunk-SLRWKURF.mjs";
|
|
57
59
|
import "../chunk-IAS3SFA4.mjs";
|
|
58
60
|
import "../chunk-JUEOCLA3.mjs";
|
|
59
61
|
import "../chunk-3LKKH4AR.mjs";
|
|
@@ -175,13 +175,53 @@ var animation_default = {
|
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
177
|
|
|
178
|
+
// src/utilities/shimmer-text.ts
|
|
179
|
+
var readableText = {
|
|
180
|
+
animation: "none !important",
|
|
181
|
+
"background-image": "none",
|
|
182
|
+
"-webkit-text-fill-color": "currentColor"
|
|
183
|
+
};
|
|
184
|
+
var shimmer_text_default = {
|
|
185
|
+
".sytech-shimmer-text": {
|
|
186
|
+
color: "currentColor",
|
|
187
|
+
"--shimmer-angle": "20deg",
|
|
188
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
189
|
+
"--shimmer-iteration": "infinite",
|
|
190
|
+
"--shimmer-direction": "normal",
|
|
191
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
192
|
+
"background-image": "linear-gradient(calc(90deg + var(--shimmer-angle)), currentColor calc(50% - var(--shimmer-spread)), color-mix(in srgb, var(--shimmer-color, currentColor) 35%, transparent) 50%, currentColor calc(50% + var(--shimmer-spread)))",
|
|
193
|
+
"background-repeat": "no-repeat",
|
|
194
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
195
|
+
"background-position": "100% 0",
|
|
196
|
+
"background-clip": "text",
|
|
197
|
+
"-webkit-background-clip": "text",
|
|
198
|
+
"-webkit-text-fill-color": "transparent"
|
|
199
|
+
},
|
|
200
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
201
|
+
"--shimmer-direction": "reverse"
|
|
202
|
+
},
|
|
203
|
+
"&.sytech-shimmer-text-reverse": {
|
|
204
|
+
"--shimmer-direction": "reverse"
|
|
205
|
+
},
|
|
206
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
207
|
+
"--shimmer-direction": "normal"
|
|
208
|
+
},
|
|
209
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
210
|
+
},
|
|
211
|
+
".sytech-shimmer-text-once": {
|
|
212
|
+
"--shimmer-iteration": "1"
|
|
213
|
+
},
|
|
214
|
+
".sytech-shimmer-text-disabled": readableText
|
|
215
|
+
};
|
|
216
|
+
|
|
178
217
|
// src/utilities/index.ts
|
|
179
218
|
var utilities = {
|
|
180
219
|
...custom_default,
|
|
181
220
|
...transition_default,
|
|
182
221
|
...scrollbar_hide_default,
|
|
183
222
|
...text_default,
|
|
184
|
-
...animation_default
|
|
223
|
+
...animation_default,
|
|
224
|
+
...shimmer_text_default
|
|
185
225
|
};
|
|
186
226
|
|
|
187
227
|
// src/utils/tw-merge-config.ts
|
|
@@ -1,34 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeClasses
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-AI6SQS6Z.mjs";
|
|
4
4
|
import "../chunk-GQT3YUX3.mjs";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-P2SWF4YK.mjs";
|
|
6
|
+
import "../chunk-LV6ZC7XH.mjs";
|
|
7
|
+
import "../chunk-27EH4573.mjs";
|
|
8
|
+
import "../chunk-6Q4A5IGD.mjs";
|
|
9
|
+
import "../chunk-7MY46DKJ.mjs";
|
|
10
|
+
import "../chunk-7CAOOET2.mjs";
|
|
11
|
+
import "../chunk-GYRKKQKN.mjs";
|
|
12
|
+
import "../chunk-CR7SUL27.mjs";
|
|
13
|
+
import "../chunk-3PBT3W4C.mjs";
|
|
14
|
+
import "../chunk-M5F7VFZT.mjs";
|
|
15
|
+
import "../chunk-XOVETH7K.mjs";
|
|
16
|
+
import "../chunk-4XFAHRMJ.mjs";
|
|
17
|
+
import "../chunk-OBSH26UE.mjs";
|
|
18
|
+
import "../chunk-K6X3VPO4.mjs";
|
|
19
|
+
import "../chunk-HRULT2QB.mjs";
|
|
20
|
+
import "../chunk-TYJNRAT2.mjs";
|
|
21
|
+
import "../chunk-GXDNTAQH.mjs";
|
|
22
|
+
import "../chunk-RAC3PSZO.mjs";
|
|
23
|
+
import "../chunk-QU72GCNK.mjs";
|
|
24
|
+
import "../chunk-CBIC7UDL.mjs";
|
|
25
25
|
import "../chunk-D2XMP2NC.mjs";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-JGY6VQQQ.mjs";
|
|
27
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
28
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
29
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
30
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
27
31
|
import "../chunk-AWXUGVFR.mjs";
|
|
28
32
|
import "../chunk-MPVWW3DX.mjs";
|
|
29
33
|
import "../chunk-WH6SPIFG.mjs";
|
|
30
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
31
|
-
import "../chunk-GSRZWDGA.mjs";
|
|
32
34
|
import "../chunk-WQEDQHKX.mjs";
|
|
33
35
|
import "../chunk-CPSLANMP.mjs";
|
|
34
36
|
import "../chunk-FFKHVGFX.mjs";
|
|
@@ -36,7 +38,7 @@ import "../chunk-5ICJA2GK.mjs";
|
|
|
36
38
|
import "../chunk-M63AFAHO.mjs";
|
|
37
39
|
import "../chunk-HUBDRSA4.mjs";
|
|
38
40
|
import "../chunk-WBQAMGXK.mjs";
|
|
39
|
-
import "../chunk-
|
|
41
|
+
import "../chunk-SLRWKURF.mjs";
|
|
40
42
|
import "../chunk-IAS3SFA4.mjs";
|
|
41
43
|
import "../chunk-JUEOCLA3.mjs";
|
|
42
44
|
import "../chunk-3LKKH4AR.mjs";
|
package/dist/utils/tv.js
CHANGED
|
@@ -176,13 +176,53 @@ var animation_default = {
|
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
178
|
|
|
179
|
+
// src/utilities/shimmer-text.ts
|
|
180
|
+
var readableText = {
|
|
181
|
+
animation: "none !important",
|
|
182
|
+
"background-image": "none",
|
|
183
|
+
"-webkit-text-fill-color": "currentColor"
|
|
184
|
+
};
|
|
185
|
+
var shimmer_text_default = {
|
|
186
|
+
".sytech-shimmer-text": {
|
|
187
|
+
color: "currentColor",
|
|
188
|
+
"--shimmer-angle": "20deg",
|
|
189
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
190
|
+
"--shimmer-iteration": "infinite",
|
|
191
|
+
"--shimmer-direction": "normal",
|
|
192
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
193
|
+
"background-image": "linear-gradient(calc(90deg + var(--shimmer-angle)), currentColor calc(50% - var(--shimmer-spread)), color-mix(in srgb, var(--shimmer-color, currentColor) 35%, transparent) 50%, currentColor calc(50% + var(--shimmer-spread)))",
|
|
194
|
+
"background-repeat": "no-repeat",
|
|
195
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
196
|
+
"background-position": "100% 0",
|
|
197
|
+
"background-clip": "text",
|
|
198
|
+
"-webkit-background-clip": "text",
|
|
199
|
+
"-webkit-text-fill-color": "transparent"
|
|
200
|
+
},
|
|
201
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
202
|
+
"--shimmer-direction": "reverse"
|
|
203
|
+
},
|
|
204
|
+
"&.sytech-shimmer-text-reverse": {
|
|
205
|
+
"--shimmer-direction": "reverse"
|
|
206
|
+
},
|
|
207
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
208
|
+
"--shimmer-direction": "normal"
|
|
209
|
+
},
|
|
210
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
211
|
+
},
|
|
212
|
+
".sytech-shimmer-text-once": {
|
|
213
|
+
"--shimmer-iteration": "1"
|
|
214
|
+
},
|
|
215
|
+
".sytech-shimmer-text-disabled": readableText
|
|
216
|
+
};
|
|
217
|
+
|
|
179
218
|
// src/utilities/index.ts
|
|
180
219
|
var utilities = {
|
|
181
220
|
...custom_default,
|
|
182
221
|
...transition_default,
|
|
183
222
|
...scrollbar_hide_default,
|
|
184
223
|
...text_default,
|
|
185
|
-
...animation_default
|
|
224
|
+
...animation_default,
|
|
225
|
+
...shimmer_text_default
|
|
186
226
|
};
|
|
187
227
|
|
|
188
228
|
// src/utils/tw-merge-config.ts
|
package/dist/utils/tv.mjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tv
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-RAC3PSZO.mjs";
|
|
4
|
+
import "../chunk-QU72GCNK.mjs";
|
|
5
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
6
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
7
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
8
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
6
9
|
import "../chunk-AWXUGVFR.mjs";
|
|
7
10
|
import "../chunk-MPVWW3DX.mjs";
|
|
8
11
|
import "../chunk-WH6SPIFG.mjs";
|
|
9
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
10
|
-
import "../chunk-GSRZWDGA.mjs";
|
|
11
12
|
export {
|
|
12
13
|
tv
|
|
13
14
|
};
|
|
@@ -176,13 +176,53 @@ var animation_default = {
|
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
178
|
|
|
179
|
+
// src/utilities/shimmer-text.ts
|
|
180
|
+
var readableText = {
|
|
181
|
+
animation: "none !important",
|
|
182
|
+
"background-image": "none",
|
|
183
|
+
"-webkit-text-fill-color": "currentColor"
|
|
184
|
+
};
|
|
185
|
+
var shimmer_text_default = {
|
|
186
|
+
".sytech-shimmer-text": {
|
|
187
|
+
color: "currentColor",
|
|
188
|
+
"--shimmer-angle": "20deg",
|
|
189
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
190
|
+
"--shimmer-iteration": "infinite",
|
|
191
|
+
"--shimmer-direction": "normal",
|
|
192
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
193
|
+
"background-image": "linear-gradient(calc(90deg + var(--shimmer-angle)), currentColor calc(50% - var(--shimmer-spread)), color-mix(in srgb, var(--shimmer-color, currentColor) 35%, transparent) 50%, currentColor calc(50% + var(--shimmer-spread)))",
|
|
194
|
+
"background-repeat": "no-repeat",
|
|
195
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
196
|
+
"background-position": "100% 0",
|
|
197
|
+
"background-clip": "text",
|
|
198
|
+
"-webkit-background-clip": "text",
|
|
199
|
+
"-webkit-text-fill-color": "transparent"
|
|
200
|
+
},
|
|
201
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
202
|
+
"--shimmer-direction": "reverse"
|
|
203
|
+
},
|
|
204
|
+
"&.sytech-shimmer-text-reverse": {
|
|
205
|
+
"--shimmer-direction": "reverse"
|
|
206
|
+
},
|
|
207
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
208
|
+
"--shimmer-direction": "normal"
|
|
209
|
+
},
|
|
210
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
211
|
+
},
|
|
212
|
+
".sytech-shimmer-text-once": {
|
|
213
|
+
"--shimmer-iteration": "1"
|
|
214
|
+
},
|
|
215
|
+
".sytech-shimmer-text-disabled": readableText
|
|
216
|
+
};
|
|
217
|
+
|
|
179
218
|
// src/utilities/index.ts
|
|
180
219
|
var utilities = {
|
|
181
220
|
...custom_default,
|
|
182
221
|
...transition_default,
|
|
183
222
|
...scrollbar_hide_default,
|
|
184
223
|
...text_default,
|
|
185
|
-
...animation_default
|
|
224
|
+
...animation_default,
|
|
225
|
+
...shimmer_text_default
|
|
186
226
|
};
|
|
187
227
|
|
|
188
228
|
// src/utils/tw-merge-config.ts
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMON_UNITS,
|
|
3
3
|
twMergeConfig
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-QU72GCNK.mjs";
|
|
5
|
+
import "../chunk-UJC5GXOO.mjs";
|
|
6
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
7
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
8
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
6
9
|
import "../chunk-AWXUGVFR.mjs";
|
|
7
10
|
import "../chunk-MPVWW3DX.mjs";
|
|
8
11
|
import "../chunk-WH6SPIFG.mjs";
|
|
9
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
10
|
-
import "../chunk-GSRZWDGA.mjs";
|
|
11
12
|
export {
|
|
12
13
|
COMMON_UNITS,
|
|
13
14
|
twMergeConfig
|