@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/index.mjs
CHANGED
|
@@ -5,6 +5,7 @@ import {
|
|
|
5
5
|
avatar,
|
|
6
6
|
avatarGroup,
|
|
7
7
|
badge,
|
|
8
|
+
bottomBar,
|
|
8
9
|
breadcrumbItem,
|
|
9
10
|
breadcrumbs,
|
|
10
11
|
button,
|
|
@@ -44,70 +45,74 @@ import {
|
|
|
44
45
|
toastRegion,
|
|
45
46
|
toggle,
|
|
46
47
|
user
|
|
47
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-AI6SQS6Z.mjs";
|
|
48
49
|
import {
|
|
49
50
|
colorVariants
|
|
50
51
|
} from "./chunk-GQT3YUX3.mjs";
|
|
51
52
|
import {
|
|
52
53
|
cn
|
|
53
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-P2SWF4YK.mjs";
|
|
55
|
+
import {
|
|
56
|
+
shimmerText
|
|
57
|
+
} from "./chunk-LV6ZC7XH.mjs";
|
|
58
|
+
import {
|
|
59
|
+
skeleton
|
|
60
|
+
} from "./chunk-27EH4573.mjs";
|
|
54
61
|
import {
|
|
55
62
|
spacer
|
|
56
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-6Q4A5IGD.mjs";
|
|
57
64
|
import {
|
|
58
65
|
spinner
|
|
59
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-7MY46DKJ.mjs";
|
|
60
67
|
import {
|
|
61
68
|
circularProgress,
|
|
62
69
|
progress
|
|
63
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-7CAOOET2.mjs";
|
|
64
71
|
import {
|
|
65
72
|
scrollArea
|
|
66
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-GYRKKQKN.mjs";
|
|
67
74
|
import {
|
|
68
75
|
scrollShadow
|
|
69
|
-
} from "./chunk-
|
|
70
|
-
import {
|
|
71
|
-
skeleton
|
|
72
|
-
} from "./chunk-Z65VJL4Y.mjs";
|
|
76
|
+
} from "./chunk-CR7SUL27.mjs";
|
|
73
77
|
import {
|
|
74
78
|
kbd
|
|
75
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-3PBT3W4C.mjs";
|
|
80
|
+
import {
|
|
81
|
+
datePicker,
|
|
82
|
+
dateRangePicker
|
|
83
|
+
} from "./chunk-M5F7VFZT.mjs";
|
|
84
|
+
import {
|
|
85
|
+
divider
|
|
86
|
+
} from "./chunk-XOVETH7K.mjs";
|
|
87
|
+
import {
|
|
88
|
+
drawer
|
|
89
|
+
} from "./chunk-4XFAHRMJ.mjs";
|
|
76
90
|
import {
|
|
77
91
|
drip
|
|
78
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-OBSH26UE.mjs";
|
|
79
93
|
import {
|
|
80
94
|
form
|
|
81
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-K6X3VPO4.mjs";
|
|
82
96
|
import {
|
|
83
97
|
image
|
|
84
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-HRULT2QB.mjs";
|
|
85
99
|
import {
|
|
86
100
|
dateInput
|
|
87
|
-
} from "./chunk-
|
|
88
|
-
import {
|
|
89
|
-
datePicker,
|
|
90
|
-
dateRangePicker
|
|
91
|
-
} from "./chunk-QQVGHMSD.mjs";
|
|
92
|
-
import {
|
|
93
|
-
divider
|
|
94
|
-
} from "./chunk-SSU66MWA.mjs";
|
|
95
|
-
import {
|
|
96
|
-
drawer
|
|
97
|
-
} from "./chunk-3L7WFLSH.mjs";
|
|
101
|
+
} from "./chunk-TYJNRAT2.mjs";
|
|
98
102
|
import {
|
|
99
103
|
autocomplete
|
|
100
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-GXDNTAQH.mjs";
|
|
101
105
|
import {
|
|
102
106
|
tv
|
|
103
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-RAC3PSZO.mjs";
|
|
104
108
|
import {
|
|
105
109
|
COMMON_UNITS,
|
|
106
110
|
twMergeConfig
|
|
107
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-QU72GCNK.mjs";
|
|
108
112
|
import {
|
|
109
113
|
heroui
|
|
110
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-CBIC7UDL.mjs";
|
|
115
|
+
import "./chunk-D2XMP2NC.mjs";
|
|
111
116
|
import {
|
|
112
117
|
absoluteFullClasses,
|
|
113
118
|
baseStyles,
|
|
@@ -119,13 +124,13 @@ import {
|
|
|
119
124
|
ringClasses,
|
|
120
125
|
translateCenterClasses
|
|
121
126
|
} from "./chunk-JGY6VQQQ.mjs";
|
|
122
|
-
import "./chunk-
|
|
123
|
-
import "./chunk-
|
|
127
|
+
import "./chunk-UJC5GXOO.mjs";
|
|
128
|
+
import "./chunk-FJOYYPB2.mjs";
|
|
129
|
+
import "./chunk-RUIUXVZ4.mjs";
|
|
130
|
+
import "./chunk-GSRZWDGA.mjs";
|
|
124
131
|
import "./chunk-AWXUGVFR.mjs";
|
|
125
132
|
import "./chunk-MPVWW3DX.mjs";
|
|
126
133
|
import "./chunk-WH6SPIFG.mjs";
|
|
127
|
-
import "./chunk-RUIUXVZ4.mjs";
|
|
128
|
-
import "./chunk-GSRZWDGA.mjs";
|
|
129
134
|
import "./chunk-WQEDQHKX.mjs";
|
|
130
135
|
import {
|
|
131
136
|
colors
|
|
@@ -141,7 +146,7 @@ import {
|
|
|
141
146
|
lightLayout
|
|
142
147
|
} from "./chunk-HUBDRSA4.mjs";
|
|
143
148
|
import "./chunk-WBQAMGXK.mjs";
|
|
144
|
-
import "./chunk-
|
|
149
|
+
import "./chunk-SLRWKURF.mjs";
|
|
145
150
|
import {
|
|
146
151
|
commonColors
|
|
147
152
|
} from "./chunk-IAS3SFA4.mjs";
|
|
@@ -164,6 +169,7 @@ export {
|
|
|
164
169
|
avatarGroup,
|
|
165
170
|
badge,
|
|
166
171
|
baseStyles,
|
|
172
|
+
bottomBar,
|
|
167
173
|
breadcrumbItem,
|
|
168
174
|
breadcrumbs,
|
|
169
175
|
button,
|
|
@@ -226,6 +232,7 @@ export {
|
|
|
226
232
|
scrollShadow,
|
|
227
233
|
select,
|
|
228
234
|
semanticColors,
|
|
235
|
+
shimmerText,
|
|
229
236
|
skeleton,
|
|
230
237
|
slider,
|
|
231
238
|
snippet,
|
package/dist/plugin.js
CHANGED
|
@@ -384,6 +384,7 @@ var colors = {
|
|
|
384
384
|
var animations = {
|
|
385
385
|
animation: {
|
|
386
386
|
shimmer: "shimmer 2s infinite",
|
|
387
|
+
"shimmer-text": "shimmer-text var(--shimmer-duration, 2s) linear var(--shimmer-iteration, infinite) var(--shimmer-direction, normal)",
|
|
387
388
|
"drip-expand": "drip-expand 420ms linear",
|
|
388
389
|
"spinner-ease-spin": "spinner-spin 0.8s ease infinite",
|
|
389
390
|
"spinner-linear-spin": "spinner-spin 0.8s linear infinite",
|
|
@@ -402,6 +403,14 @@ var animations = {
|
|
|
402
403
|
transform: "translateX(200%)"
|
|
403
404
|
}
|
|
404
405
|
},
|
|
406
|
+
"shimmer-text": {
|
|
407
|
+
"0%": {
|
|
408
|
+
backgroundPosition: "100% 0"
|
|
409
|
+
},
|
|
410
|
+
"100%": {
|
|
411
|
+
backgroundPosition: "0 0"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
405
414
|
"spinner-spin": {
|
|
406
415
|
"0%": {
|
|
407
416
|
transform: "rotate(0deg)"
|
|
@@ -655,13 +664,53 @@ var animation_default = {
|
|
|
655
664
|
}
|
|
656
665
|
};
|
|
657
666
|
|
|
667
|
+
// src/utilities/shimmer-text.ts
|
|
668
|
+
var readableText = {
|
|
669
|
+
animation: "none !important",
|
|
670
|
+
"background-image": "none",
|
|
671
|
+
"-webkit-text-fill-color": "currentColor"
|
|
672
|
+
};
|
|
673
|
+
var shimmer_text_default = {
|
|
674
|
+
".sytech-shimmer-text": {
|
|
675
|
+
color: "currentColor",
|
|
676
|
+
"--shimmer-angle": "20deg",
|
|
677
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
678
|
+
"--shimmer-iteration": "infinite",
|
|
679
|
+
"--shimmer-direction": "normal",
|
|
680
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
681
|
+
"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)))",
|
|
682
|
+
"background-repeat": "no-repeat",
|
|
683
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
684
|
+
"background-position": "100% 0",
|
|
685
|
+
"background-clip": "text",
|
|
686
|
+
"-webkit-background-clip": "text",
|
|
687
|
+
"-webkit-text-fill-color": "transparent"
|
|
688
|
+
},
|
|
689
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
690
|
+
"--shimmer-direction": "reverse"
|
|
691
|
+
},
|
|
692
|
+
"&.sytech-shimmer-text-reverse": {
|
|
693
|
+
"--shimmer-direction": "reverse"
|
|
694
|
+
},
|
|
695
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
696
|
+
"--shimmer-direction": "normal"
|
|
697
|
+
},
|
|
698
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
699
|
+
},
|
|
700
|
+
".sytech-shimmer-text-once": {
|
|
701
|
+
"--shimmer-iteration": "1"
|
|
702
|
+
},
|
|
703
|
+
".sytech-shimmer-text-disabled": readableText
|
|
704
|
+
};
|
|
705
|
+
|
|
658
706
|
// src/utilities/index.ts
|
|
659
707
|
var utilities = {
|
|
660
708
|
...custom_default,
|
|
661
709
|
...transition_default,
|
|
662
710
|
...scrollbar_hide_default,
|
|
663
711
|
...text_default,
|
|
664
|
-
...animation_default
|
|
712
|
+
...animation_default,
|
|
713
|
+
...shimmer_text_default
|
|
665
714
|
};
|
|
666
715
|
|
|
667
716
|
// src/utils/theme.ts
|
package/dist/plugin.mjs
CHANGED
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
heroui
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-JGY6VQQQ.mjs";
|
|
3
|
+
} from "./chunk-CBIC7UDL.mjs";
|
|
5
4
|
import "./chunk-D2XMP2NC.mjs";
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-JGY6VQQQ.mjs";
|
|
6
|
+
import "./chunk-UJC5GXOO.mjs";
|
|
7
|
+
import "./chunk-FJOYYPB2.mjs";
|
|
8
|
+
import "./chunk-RUIUXVZ4.mjs";
|
|
9
|
+
import "./chunk-GSRZWDGA.mjs";
|
|
7
10
|
import "./chunk-AWXUGVFR.mjs";
|
|
8
11
|
import "./chunk-MPVWW3DX.mjs";
|
|
9
12
|
import "./chunk-WH6SPIFG.mjs";
|
|
10
|
-
import "./chunk-RUIUXVZ4.mjs";
|
|
11
|
-
import "./chunk-GSRZWDGA.mjs";
|
|
12
13
|
import "./chunk-WQEDQHKX.mjs";
|
|
13
14
|
import "./chunk-CPSLANMP.mjs";
|
|
14
15
|
import "./chunk-FFKHVGFX.mjs";
|
|
15
16
|
import "./chunk-5ICJA2GK.mjs";
|
|
16
17
|
import "./chunk-M63AFAHO.mjs";
|
|
17
18
|
import "./chunk-HUBDRSA4.mjs";
|
|
18
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-SLRWKURF.mjs";
|
|
19
20
|
import "./chunk-IAS3SFA4.mjs";
|
|
20
21
|
import "./chunk-JUEOCLA3.mjs";
|
|
21
22
|
import "./chunk-3LKKH4AR.mjs";
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const utilities: {
|
|
2
|
+
".sytech-shimmer-text": {
|
|
3
|
+
color: string;
|
|
4
|
+
"--shimmer-angle": string;
|
|
5
|
+
"--shimmer-spread": string;
|
|
6
|
+
"--shimmer-iteration": string;
|
|
7
|
+
"--shimmer-direction": string;
|
|
8
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
9
|
+
"background-image": string;
|
|
10
|
+
"background-repeat": string;
|
|
11
|
+
"background-size": string;
|
|
12
|
+
"background-position": string;
|
|
13
|
+
"background-clip": string;
|
|
14
|
+
"-webkit-background-clip": string;
|
|
15
|
+
"-webkit-text-fill-color": string;
|
|
16
|
+
};
|
|
17
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
18
|
+
"--shimmer-direction": string;
|
|
19
|
+
};
|
|
20
|
+
"&.sytech-shimmer-text-reverse": {
|
|
21
|
+
"--shimmer-direction": string;
|
|
22
|
+
};
|
|
23
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
24
|
+
"--shimmer-direction": string;
|
|
25
|
+
};
|
|
26
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
27
|
+
animation: string;
|
|
28
|
+
"background-image": string;
|
|
29
|
+
"-webkit-text-fill-color": string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
".sytech-shimmer-text-once": {
|
|
33
|
+
"--shimmer-iteration": string;
|
|
34
|
+
};
|
|
35
|
+
".sytech-shimmer-text-disabled": {
|
|
36
|
+
animation: string;
|
|
37
|
+
"background-image": string;
|
|
38
|
+
"-webkit-text-fill-color": string;
|
|
39
|
+
};
|
|
2
40
|
".spinner-bar-animation": {
|
|
3
41
|
animation: string;
|
|
4
42
|
"animation-delay": string;
|
|
@@ -1,4 +1,42 @@
|
|
|
1
1
|
declare const utilities: {
|
|
2
|
+
".sytech-shimmer-text": {
|
|
3
|
+
color: string;
|
|
4
|
+
"--shimmer-angle": string;
|
|
5
|
+
"--shimmer-spread": string;
|
|
6
|
+
"--shimmer-iteration": string;
|
|
7
|
+
"--shimmer-direction": string;
|
|
8
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
9
|
+
"background-image": string;
|
|
10
|
+
"background-repeat": string;
|
|
11
|
+
"background-size": string;
|
|
12
|
+
"background-position": string;
|
|
13
|
+
"background-clip": string;
|
|
14
|
+
"-webkit-background-clip": string;
|
|
15
|
+
"-webkit-text-fill-color": string;
|
|
16
|
+
};
|
|
17
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
18
|
+
"--shimmer-direction": string;
|
|
19
|
+
};
|
|
20
|
+
"&.sytech-shimmer-text-reverse": {
|
|
21
|
+
"--shimmer-direction": string;
|
|
22
|
+
};
|
|
23
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
24
|
+
"--shimmer-direction": string;
|
|
25
|
+
};
|
|
26
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
27
|
+
animation: string;
|
|
28
|
+
"background-image": string;
|
|
29
|
+
"-webkit-text-fill-color": string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
".sytech-shimmer-text-once": {
|
|
33
|
+
"--shimmer-iteration": string;
|
|
34
|
+
};
|
|
35
|
+
".sytech-shimmer-text-disabled": {
|
|
36
|
+
animation: string;
|
|
37
|
+
"background-image": string;
|
|
38
|
+
"-webkit-text-fill-color": string;
|
|
39
|
+
};
|
|
2
40
|
".spinner-bar-animation": {
|
|
3
41
|
animation: string;
|
|
4
42
|
"animation-delay": string;
|
package/dist/utilities/index.js
CHANGED
|
@@ -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
|
// Annotate the CommonJS export names for ESM import in node:
|
|
187
227
|
0 && (module.exports = {
|
package/dist/utilities/index.mjs
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
utilities
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-UJC5GXOO.mjs";
|
|
4
|
+
import "../chunk-FJOYYPB2.mjs";
|
|
5
|
+
import "../chunk-RUIUXVZ4.mjs";
|
|
6
|
+
import "../chunk-GSRZWDGA.mjs";
|
|
4
7
|
import "../chunk-AWXUGVFR.mjs";
|
|
5
8
|
import "../chunk-MPVWW3DX.mjs";
|
|
6
9
|
import "../chunk-WH6SPIFG.mjs";
|
|
7
|
-
import "../chunk-RUIUXVZ4.mjs";
|
|
8
|
-
import "../chunk-GSRZWDGA.mjs";
|
|
9
10
|
export {
|
|
10
11
|
utilities
|
|
11
12
|
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
".sytech-shimmer-text": {
|
|
3
|
+
color: string;
|
|
4
|
+
"--shimmer-angle": string;
|
|
5
|
+
"--shimmer-spread": string;
|
|
6
|
+
"--shimmer-iteration": string;
|
|
7
|
+
"--shimmer-direction": string;
|
|
8
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
9
|
+
"background-image": string;
|
|
10
|
+
"background-repeat": string;
|
|
11
|
+
"background-size": string;
|
|
12
|
+
"background-position": string;
|
|
13
|
+
"background-clip": string;
|
|
14
|
+
"-webkit-background-clip": string;
|
|
15
|
+
"-webkit-text-fill-color": string;
|
|
16
|
+
};
|
|
17
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
18
|
+
"--shimmer-direction": string;
|
|
19
|
+
};
|
|
20
|
+
"&.sytech-shimmer-text-reverse": {
|
|
21
|
+
"--shimmer-direction": string;
|
|
22
|
+
};
|
|
23
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
24
|
+
"--shimmer-direction": string;
|
|
25
|
+
};
|
|
26
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
27
|
+
animation: string;
|
|
28
|
+
"background-image": string;
|
|
29
|
+
"-webkit-text-fill-color": string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
".sytech-shimmer-text-once": {
|
|
33
|
+
"--shimmer-iteration": string;
|
|
34
|
+
};
|
|
35
|
+
".sytech-shimmer-text-disabled": {
|
|
36
|
+
animation: string;
|
|
37
|
+
"background-image": string;
|
|
38
|
+
"-webkit-text-fill-color": string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { _default as default };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
".sytech-shimmer-text": {
|
|
3
|
+
color: string;
|
|
4
|
+
"--shimmer-angle": string;
|
|
5
|
+
"--shimmer-spread": string;
|
|
6
|
+
"--shimmer-iteration": string;
|
|
7
|
+
"--shimmer-direction": string;
|
|
8
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
9
|
+
"background-image": string;
|
|
10
|
+
"background-repeat": string;
|
|
11
|
+
"background-size": string;
|
|
12
|
+
"background-position": string;
|
|
13
|
+
"background-clip": string;
|
|
14
|
+
"-webkit-background-clip": string;
|
|
15
|
+
"-webkit-text-fill-color": string;
|
|
16
|
+
};
|
|
17
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
18
|
+
"--shimmer-direction": string;
|
|
19
|
+
};
|
|
20
|
+
"&.sytech-shimmer-text-reverse": {
|
|
21
|
+
"--shimmer-direction": string;
|
|
22
|
+
};
|
|
23
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
24
|
+
"--shimmer-direction": string;
|
|
25
|
+
};
|
|
26
|
+
"@media (prefers-reduced-motion: reduce)": {
|
|
27
|
+
animation: string;
|
|
28
|
+
"background-image": string;
|
|
29
|
+
"-webkit-text-fill-color": string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
".sytech-shimmer-text-once": {
|
|
33
|
+
"--shimmer-iteration": string;
|
|
34
|
+
};
|
|
35
|
+
".sytech-shimmer-text-disabled": {
|
|
36
|
+
animation: string;
|
|
37
|
+
"background-image": string;
|
|
38
|
+
"-webkit-text-fill-color": string;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export { _default as default };
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/utilities/shimmer-text.ts
|
|
21
|
+
var shimmer_text_exports = {};
|
|
22
|
+
__export(shimmer_text_exports, {
|
|
23
|
+
default: () => shimmer_text_default
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(shimmer_text_exports);
|
|
26
|
+
var readableText = {
|
|
27
|
+
animation: "none !important",
|
|
28
|
+
"background-image": "none",
|
|
29
|
+
"-webkit-text-fill-color": "currentColor"
|
|
30
|
+
};
|
|
31
|
+
var shimmer_text_default = {
|
|
32
|
+
".sytech-shimmer-text": {
|
|
33
|
+
color: "currentColor",
|
|
34
|
+
"--shimmer-angle": "20deg",
|
|
35
|
+
"--shimmer-spread": "calc(3ch + 40px)",
|
|
36
|
+
"--shimmer-iteration": "infinite",
|
|
37
|
+
"--shimmer-direction": "normal",
|
|
38
|
+
"@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
|
|
39
|
+
"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)))",
|
|
40
|
+
"background-repeat": "no-repeat",
|
|
41
|
+
"background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
|
|
42
|
+
"background-position": "100% 0",
|
|
43
|
+
"background-clip": "text",
|
|
44
|
+
"-webkit-background-clip": "text",
|
|
45
|
+
"-webkit-text-fill-color": "transparent"
|
|
46
|
+
},
|
|
47
|
+
"&:where([dir='rtl'], [dir='rtl'] *)": {
|
|
48
|
+
"--shimmer-direction": "reverse"
|
|
49
|
+
},
|
|
50
|
+
"&.sytech-shimmer-text-reverse": {
|
|
51
|
+
"--shimmer-direction": "reverse"
|
|
52
|
+
},
|
|
53
|
+
"&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
|
|
54
|
+
"--shimmer-direction": "normal"
|
|
55
|
+
},
|
|
56
|
+
"@media (prefers-reduced-motion: reduce)": readableText
|
|
57
|
+
},
|
|
58
|
+
".sytech-shimmer-text-once": {
|
|
59
|
+
"--shimmer-iteration": "1"
|
|
60
|
+
},
|
|
61
|
+
".sytech-shimmer-text-disabled": readableText
|
|
62
|
+
};
|
package/dist/utils/cn.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/cn.mjs
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cn
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-P2SWF4YK.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
|
cn
|
|
13
14
|
};
|