@sytechui/theme 2.5.0 → 2.6.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.
Files changed (170) hide show
  1. package/dist/animations/index.d.mts +9 -0
  2. package/dist/animations/index.d.ts +9 -0
  3. package/dist/animations/index.js +9 -0
  4. package/dist/animations/index.mjs +1 -1
  5. package/dist/{chunk-TRZPE5UW.mjs → chunk-2BUT7L7P.mjs} +1 -1
  6. package/dist/{chunk-6US6AURX.mjs → chunk-2WQ76NXU.mjs} +8 -4
  7. package/dist/{chunk-FQECQOZE.mjs → chunk-4CEUCYJO.mjs} +1 -1
  8. package/dist/{chunk-3INHRVXM.mjs → chunk-7QDYFNL6.mjs} +1 -1
  9. package/dist/{chunk-SSU66MWA.mjs → chunk-7ZVSC6V6.mjs} +1 -1
  10. package/dist/{chunk-4V3RQUZU.mjs → chunk-BHGZZQCH.mjs} +1 -1
  11. package/dist/{chunk-Q5TYW2HJ.mjs → chunk-CPSLANMP.mjs} +2 -2
  12. package/dist/chunk-DBDK3IF7.mjs +31 -0
  13. package/dist/{chunk-3L7WFLSH.mjs → chunk-EOYBTX52.mjs} +1 -1
  14. package/dist/{chunk-NPGKX3MZ.mjs → chunk-FBI452W6.mjs} +1 -1
  15. package/dist/{chunk-JNXXF3DG.mjs → chunk-FFKHVGFX.mjs} +1 -1
  16. package/dist/chunk-FJOYYPB2.mjs +42 -0
  17. package/dist/{chunk-QQVGHMSD.mjs → chunk-FLCPUBBE.mjs} +1 -1
  18. package/dist/{chunk-VDS6DP26.mjs → chunk-FNHXMO5W.mjs} +1 -1
  19. package/dist/{chunk-5PWGYVAP.mjs → chunk-FZM5ZZP2.mjs} +1 -1
  20. package/dist/{chunk-FUKRIH5Z.mjs → chunk-GQMW4NEU.mjs} +1 -1
  21. package/dist/{chunk-Z65VJL4Y.mjs → chunk-JV5J6JHS.mjs} +1 -1
  22. package/dist/{chunk-SGV526OS.mjs → chunk-K3TTKHSU.mjs} +1 -1
  23. package/dist/{chunk-EJDFNA7Y.mjs → chunk-KCPJHUUJ.mjs} +1 -1
  24. package/dist/{chunk-IB36XVBI.mjs → chunk-LYTXO6TG.mjs} +579 -12
  25. package/dist/{chunk-NKYWOWNW.mjs → chunk-QP5CGENQ.mjs} +1 -1
  26. package/dist/{chunk-HYWP3BX7.mjs → chunk-SLRWKURF.mjs} +9 -0
  27. package/dist/{chunk-E34EWEJV.mjs → chunk-SRSOCM2C.mjs} +1 -1
  28. package/dist/{chunk-IAAKK6MJ.mjs → chunk-TOGBVQYA.mjs} +6 -6
  29. package/dist/{chunk-JS2FQJMX.mjs → chunk-VK7USAMR.mjs} +1 -1
  30. package/dist/{chunk-YW4DIYUX.mjs → chunk-ZLTZIM6X.mjs} +1 -1
  31. package/dist/colors/common.mjs +3 -3
  32. package/dist/colors/index.mjs +5 -5
  33. package/dist/colors/semantic.mjs +4 -4
  34. package/dist/colors.mjs +5 -5
  35. package/dist/components/accordion.js +41 -1
  36. package/dist/components/accordion.mjs +30 -28
  37. package/dist/components/alert.js +41 -1
  38. package/dist/components/alert.mjs +30 -28
  39. package/dist/components/autocomplete.js +41 -1
  40. package/dist/components/autocomplete.mjs +6 -5
  41. package/dist/components/avatar.js +41 -1
  42. package/dist/components/avatar.mjs +30 -28
  43. package/dist/components/badge.js +41 -1
  44. package/dist/components/badge.mjs +30 -28
  45. package/dist/components/bottom-bar.d.mts +3 -3
  46. package/dist/components/bottom-bar.d.ts +3 -3
  47. package/dist/components/bottom-bar.js +52 -11
  48. package/dist/components/bottom-bar.mjs +30 -28
  49. package/dist/components/breadcrumbs.js +41 -1
  50. package/dist/components/breadcrumbs.mjs +30 -28
  51. package/dist/components/button.js +41 -1
  52. package/dist/components/button.mjs +30 -28
  53. package/dist/components/calendar.js +41 -1
  54. package/dist/components/calendar.mjs +30 -28
  55. package/dist/components/card.js +41 -1
  56. package/dist/components/card.mjs +30 -28
  57. package/dist/components/checkbox.js +41 -1
  58. package/dist/components/checkbox.mjs +30 -28
  59. package/dist/components/chip.js +41 -1
  60. package/dist/components/chip.mjs +30 -28
  61. package/dist/components/code.js +41 -1
  62. package/dist/components/code.mjs +30 -28
  63. package/dist/components/date-input.js +41 -1
  64. package/dist/components/date-input.mjs +6 -5
  65. package/dist/components/date-picker.js +41 -1
  66. package/dist/components/date-picker.mjs +6 -5
  67. package/dist/components/divider.js +41 -1
  68. package/dist/components/divider.mjs +6 -5
  69. package/dist/components/drawer.js +41 -1
  70. package/dist/components/drawer.mjs +6 -5
  71. package/dist/components/drip.js +41 -1
  72. package/dist/components/drip.mjs +6 -5
  73. package/dist/components/drop-zone.js +41 -1
  74. package/dist/components/drop-zone.mjs +30 -28
  75. package/dist/components/dropdown.js +41 -1
  76. package/dist/components/dropdown.mjs +30 -28
  77. package/dist/components/form.js +41 -1
  78. package/dist/components/form.mjs +6 -5
  79. package/dist/components/image.js +41 -1
  80. package/dist/components/image.mjs +6 -5
  81. package/dist/components/index.d.mts +2 -0
  82. package/dist/components/index.d.ts +2 -0
  83. package/dist/components/index.js +645 -11
  84. package/dist/components/index.mjs +40 -33
  85. package/dist/components/input-otp.js +41 -1
  86. package/dist/components/input-otp.mjs +30 -28
  87. package/dist/components/input.js +41 -1
  88. package/dist/components/input.mjs +30 -28
  89. package/dist/components/kbd.js +41 -1
  90. package/dist/components/kbd.mjs +6 -5
  91. package/dist/components/link.js +41 -1
  92. package/dist/components/link.mjs +30 -28
  93. package/dist/components/listbox.js +41 -1
  94. package/dist/components/listbox.mjs +30 -28
  95. package/dist/components/menu.js +41 -1
  96. package/dist/components/menu.mjs +30 -28
  97. package/dist/components/modal.js +41 -1
  98. package/dist/components/modal.mjs +30 -28
  99. package/dist/components/navbar.js +41 -1
  100. package/dist/components/navbar.mjs +30 -28
  101. package/dist/components/number-input.js +41 -1
  102. package/dist/components/number-input.mjs +30 -28
  103. package/dist/components/pagination.js +41 -1
  104. package/dist/components/pagination.mjs +30 -28
  105. package/dist/components/popover.js +41 -1
  106. package/dist/components/popover.mjs +30 -28
  107. package/dist/components/progress.js +41 -1
  108. package/dist/components/progress.mjs +6 -5
  109. package/dist/components/radio.js +41 -1
  110. package/dist/components/radio.mjs +30 -28
  111. package/dist/components/scroll-area.js +41 -1
  112. package/dist/components/scroll-area.mjs +6 -5
  113. package/dist/components/scroll-shadow.js +41 -1
  114. package/dist/components/scroll-shadow.mjs +6 -5
  115. package/dist/components/select.js +41 -1
  116. package/dist/components/select.mjs +30 -28
  117. package/dist/components/shimmer-text.d.mts +46 -0
  118. package/dist/components/shimmer-text.d.ts +46 -0
  119. package/dist/components/shimmer-text.js +301 -0
  120. package/dist/components/shimmer-text.mjs +15 -0
  121. package/dist/components/skeleton.js +41 -1
  122. package/dist/components/skeleton.mjs +6 -5
  123. package/dist/components/slider.js +41 -1
  124. package/dist/components/slider.mjs +30 -28
  125. package/dist/components/snippet.js +41 -1
  126. package/dist/components/snippet.mjs +30 -28
  127. package/dist/components/spacer.js +41 -1
  128. package/dist/components/spacer.mjs +6 -5
  129. package/dist/components/spinner.js +41 -1
  130. package/dist/components/spinner.mjs +6 -5
  131. package/dist/components/stepper.d.mts +288 -0
  132. package/dist/components/stepper.d.ts +288 -0
  133. package/dist/components/stepper.js +849 -0
  134. package/dist/components/stepper.mjs +53 -0
  135. package/dist/components/table.js +41 -1
  136. package/dist/components/table.mjs +30 -28
  137. package/dist/components/tabs.js +41 -1
  138. package/dist/components/tabs.mjs +30 -28
  139. package/dist/components/toast.js +41 -1
  140. package/dist/components/toast.mjs +30 -28
  141. package/dist/components/toggle.js +41 -1
  142. package/dist/components/toggle.mjs +30 -28
  143. package/dist/components/user.js +41 -1
  144. package/dist/components/user.mjs +30 -28
  145. package/dist/index.d.mts +2 -0
  146. package/dist/index.d.ts +2 -0
  147. package/dist/index.js +654 -11
  148. package/dist/index.mjs +40 -33
  149. package/dist/plugin.js +50 -1
  150. package/dist/plugin.mjs +10 -9
  151. package/dist/utilities/index.d.mts +38 -0
  152. package/dist/utilities/index.d.ts +38 -0
  153. package/dist/utilities/index.js +41 -1
  154. package/dist/utilities/index.mjs +3 -2
  155. package/dist/utilities/shimmer-text.d.mts +42 -0
  156. package/dist/utilities/shimmer-text.d.ts +42 -0
  157. package/dist/utilities/shimmer-text.js +62 -0
  158. package/dist/utilities/shimmer-text.mjs +6 -0
  159. package/dist/utils/cn.js +41 -1
  160. package/dist/utils/cn.mjs +5 -4
  161. package/dist/utils/index.js +41 -1
  162. package/dist/utils/index.mjs +30 -28
  163. package/dist/utils/merge-classes.js +41 -1
  164. package/dist/utils/merge-classes.mjs +30 -28
  165. package/dist/utils/tv.js +41 -1
  166. package/dist/utils/tv.mjs +5 -4
  167. package/dist/utils/tw-merge-config.js +41 -1
  168. package/dist/utils/tw-merge-config.mjs +4 -3
  169. package/package.json +1 -1
  170. package/dist/{chunk-6TOTQSJE.mjs → chunk-IAS3SFA4.mjs} +6 -6
@@ -178,13 +178,53 @@ var animation_default = {
178
178
  }
179
179
  };
180
180
 
181
+ // src/utilities/shimmer-text.ts
182
+ var readableText = {
183
+ animation: "none !important",
184
+ "background-image": "none",
185
+ "-webkit-text-fill-color": "currentColor"
186
+ };
187
+ var shimmer_text_default = {
188
+ ".sytech-shimmer-text": {
189
+ color: "currentColor",
190
+ "--shimmer-angle": "20deg",
191
+ "--shimmer-spread": "calc(3ch + 40px)",
192
+ "--shimmer-iteration": "infinite",
193
+ "--shimmer-direction": "normal",
194
+ "@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
195
+ "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)))",
196
+ "background-repeat": "no-repeat",
197
+ "background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
198
+ "background-position": "100% 0",
199
+ "background-clip": "text",
200
+ "-webkit-background-clip": "text",
201
+ "-webkit-text-fill-color": "transparent"
202
+ },
203
+ "&:where([dir='rtl'], [dir='rtl'] *)": {
204
+ "--shimmer-direction": "reverse"
205
+ },
206
+ "&.sytech-shimmer-text-reverse": {
207
+ "--shimmer-direction": "reverse"
208
+ },
209
+ "&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
210
+ "--shimmer-direction": "normal"
211
+ },
212
+ "@media (prefers-reduced-motion: reduce)": readableText
213
+ },
214
+ ".sytech-shimmer-text-once": {
215
+ "--shimmer-iteration": "1"
216
+ },
217
+ ".sytech-shimmer-text-disabled": readableText
218
+ };
219
+
181
220
  // src/utilities/index.ts
182
221
  var utilities = {
183
222
  ...custom_default,
184
223
  ...transition_default,
185
224
  ...scrollbar_hide_default,
186
225
  ...text_default,
187
- ...animation_default
226
+ ...animation_default,
227
+ ...shimmer_text_default
188
228
  };
189
229
 
190
230
  // src/utils/tw-merge-config.ts
@@ -1,14 +1,15 @@
1
1
  import {
2
2
  scrollShadow
3
- } from "../chunk-SGV526OS.mjs";
4
- import "../chunk-NPGKX3MZ.mjs";
5
- import "../chunk-3INHRVXM.mjs";
6
- import "../chunk-6US6AURX.mjs";
3
+ } from "../chunk-K3TTKHSU.mjs";
4
+ import "../chunk-FBI452W6.mjs";
5
+ import "../chunk-7QDYFNL6.mjs";
6
+ import "../chunk-2WQ76NXU.mjs";
7
+ import "../chunk-GSRZWDGA.mjs";
7
8
  import "../chunk-AWXUGVFR.mjs";
8
9
  import "../chunk-MPVWW3DX.mjs";
9
10
  import "../chunk-WH6SPIFG.mjs";
11
+ import "../chunk-FJOYYPB2.mjs";
10
12
  import "../chunk-RUIUXVZ4.mjs";
11
- import "../chunk-GSRZWDGA.mjs";
12
13
  export {
13
14
  scrollShadow
14
15
  };
@@ -184,13 +184,53 @@ var animation_default = {
184
184
  }
185
185
  };
186
186
 
187
+ // src/utilities/shimmer-text.ts
188
+ var readableText = {
189
+ animation: "none !important",
190
+ "background-image": "none",
191
+ "-webkit-text-fill-color": "currentColor"
192
+ };
193
+ var shimmer_text_default = {
194
+ ".sytech-shimmer-text": {
195
+ color: "currentColor",
196
+ "--shimmer-angle": "20deg",
197
+ "--shimmer-spread": "calc(3ch + 40px)",
198
+ "--shimmer-iteration": "infinite",
199
+ "--shimmer-direction": "normal",
200
+ "@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
201
+ "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)))",
202
+ "background-repeat": "no-repeat",
203
+ "background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
204
+ "background-position": "100% 0",
205
+ "background-clip": "text",
206
+ "-webkit-background-clip": "text",
207
+ "-webkit-text-fill-color": "transparent"
208
+ },
209
+ "&:where([dir='rtl'], [dir='rtl'] *)": {
210
+ "--shimmer-direction": "reverse"
211
+ },
212
+ "&.sytech-shimmer-text-reverse": {
213
+ "--shimmer-direction": "reverse"
214
+ },
215
+ "&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
216
+ "--shimmer-direction": "normal"
217
+ },
218
+ "@media (prefers-reduced-motion: reduce)": readableText
219
+ },
220
+ ".sytech-shimmer-text-once": {
221
+ "--shimmer-iteration": "1"
222
+ },
223
+ ".sytech-shimmer-text-disabled": readableText
224
+ };
225
+
187
226
  // src/utilities/index.ts
188
227
  var utilities = {
189
228
  ...custom_default,
190
229
  ...transition_default,
191
230
  ...scrollbar_hide_default,
192
231
  ...text_default,
193
- ...animation_default
232
+ ...animation_default,
233
+ ...shimmer_text_default
194
234
  };
195
235
 
196
236
  // src/utils/tw-merge-config.ts
@@ -1,51 +1,53 @@
1
1
  import {
2
2
  select
3
- } from "../chunk-IB36XVBI.mjs";
4
- import "../chunk-Z65VJL4Y.mjs";
5
- import "../chunk-VDS6DP26.mjs";
6
- import "../chunk-TRZPE5UW.mjs";
7
- import "../chunk-NKYWOWNW.mjs";
8
- import "../chunk-4V3RQUZU.mjs";
9
- import "../chunk-SGV526OS.mjs";
10
- import "../chunk-FQECQOZE.mjs";
11
- import "../chunk-QQVGHMSD.mjs";
12
- import "../chunk-SSU66MWA.mjs";
13
- import "../chunk-3L7WFLSH.mjs";
14
- import "../chunk-E34EWEJV.mjs";
15
- import "../chunk-EJDFNA7Y.mjs";
16
- import "../chunk-5PWGYVAP.mjs";
17
- import "../chunk-JS2FQJMX.mjs";
3
+ } from "../chunk-LYTXO6TG.mjs";
4
+ import "../chunk-K3TTKHSU.mjs";
5
+ import "../chunk-DBDK3IF7.mjs";
6
+ import "../chunk-JV5J6JHS.mjs";
7
+ import "../chunk-FNHXMO5W.mjs";
8
+ import "../chunk-2BUT7L7P.mjs";
9
+ import "../chunk-QP5CGENQ.mjs";
10
+ import "../chunk-BHGZZQCH.mjs";
11
+ import "../chunk-FZM5ZZP2.mjs";
12
+ import "../chunk-4CEUCYJO.mjs";
13
+ import "../chunk-VK7USAMR.mjs";
14
+ import "../chunk-FLCPUBBE.mjs";
15
+ import "../chunk-7ZVSC6V6.mjs";
16
+ import "../chunk-EOYBTX52.mjs";
17
+ import "../chunk-SRSOCM2C.mjs";
18
+ import "../chunk-KCPJHUUJ.mjs";
18
19
  import "../chunk-GQT3YUX3.mjs";
19
- import "../chunk-FUKRIH5Z.mjs";
20
- import "../chunk-YW4DIYUX.mjs";
21
- import "../chunk-NPGKX3MZ.mjs";
22
- import "../chunk-3INHRVXM.mjs";
23
- import "../chunk-IAAKK6MJ.mjs";
20
+ import "../chunk-GQMW4NEU.mjs";
21
+ import "../chunk-ZLTZIM6X.mjs";
22
+ import "../chunk-FBI452W6.mjs";
23
+ import "../chunk-7QDYFNL6.mjs";
24
+ import "../chunk-TOGBVQYA.mjs";
24
25
  import "../chunk-JGY6VQQQ.mjs";
25
26
  import "../chunk-D2XMP2NC.mjs";
26
- import "../chunk-HYWP3BX7.mjs";
27
- import "../chunk-6US6AURX.mjs";
27
+ import "../chunk-2WQ76NXU.mjs";
28
+ import "../chunk-GSRZWDGA.mjs";
28
29
  import "../chunk-AWXUGVFR.mjs";
29
30
  import "../chunk-MPVWW3DX.mjs";
30
31
  import "../chunk-WH6SPIFG.mjs";
32
+ import "../chunk-FJOYYPB2.mjs";
31
33
  import "../chunk-RUIUXVZ4.mjs";
32
- import "../chunk-GSRZWDGA.mjs";
33
34
  import "../chunk-WQEDQHKX.mjs";
34
- import "../chunk-Q5TYW2HJ.mjs";
35
- import "../chunk-JNXXF3DG.mjs";
35
+ import "../chunk-CPSLANMP.mjs";
36
+ import "../chunk-FFKHVGFX.mjs";
36
37
  import "../chunk-5ICJA2GK.mjs";
37
38
  import "../chunk-M63AFAHO.mjs";
38
39
  import "../chunk-HUBDRSA4.mjs";
39
40
  import "../chunk-WBQAMGXK.mjs";
40
- import "../chunk-6TOTQSJE.mjs";
41
+ import "../chunk-SLRWKURF.mjs";
42
+ import "../chunk-IAS3SFA4.mjs";
43
+ import "../chunk-JUEOCLA3.mjs";
41
44
  import "../chunk-3LKKH4AR.mjs";
45
+ import "../chunk-T3GWIVAM.mjs";
42
46
  import "../chunk-OR5PUD24.mjs";
43
47
  import "../chunk-DCEG5LGX.mjs";
44
48
  import "../chunk-L2OL7R23.mjs";
45
49
  import "../chunk-YZYGFPNK.mjs";
46
- import "../chunk-JUEOCLA3.mjs";
47
50
  import "../chunk-GHZ36ATJ.mjs";
48
- import "../chunk-T3GWIVAM.mjs";
49
51
  export {
50
52
  select
51
53
  };
@@ -0,0 +1,46 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const shimmerText: tailwind_variants.TVReturnType<{
5
+ once: {
6
+ true: string;
7
+ false: string;
8
+ };
9
+ reverse: {
10
+ true: string;
11
+ false: string;
12
+ };
13
+ disableAnimation: {
14
+ true: string;
15
+ false: string;
16
+ };
17
+ }, undefined, "sytech-shimmer-text animate-shimmer-text", {
18
+ once: {
19
+ true: string;
20
+ false: string;
21
+ };
22
+ reverse: {
23
+ true: string;
24
+ false: string;
25
+ };
26
+ disableAnimation: {
27
+ true: string;
28
+ false: string;
29
+ };
30
+ }, undefined, tailwind_variants.TVReturnType<{
31
+ once: {
32
+ true: string;
33
+ false: string;
34
+ };
35
+ reverse: {
36
+ true: string;
37
+ false: string;
38
+ };
39
+ disableAnimation: {
40
+ true: string;
41
+ false: string;
42
+ };
43
+ }, undefined, "sytech-shimmer-text animate-shimmer-text", unknown, unknown, undefined>>;
44
+ type ShimmerTextVariantProps = VariantProps<typeof shimmerText>;
45
+
46
+ export { type ShimmerTextVariantProps, shimmerText };
@@ -0,0 +1,46 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const shimmerText: tailwind_variants.TVReturnType<{
5
+ once: {
6
+ true: string;
7
+ false: string;
8
+ };
9
+ reverse: {
10
+ true: string;
11
+ false: string;
12
+ };
13
+ disableAnimation: {
14
+ true: string;
15
+ false: string;
16
+ };
17
+ }, undefined, "sytech-shimmer-text animate-shimmer-text", {
18
+ once: {
19
+ true: string;
20
+ false: string;
21
+ };
22
+ reverse: {
23
+ true: string;
24
+ false: string;
25
+ };
26
+ disableAnimation: {
27
+ true: string;
28
+ false: string;
29
+ };
30
+ }, undefined, tailwind_variants.TVReturnType<{
31
+ once: {
32
+ true: string;
33
+ false: string;
34
+ };
35
+ reverse: {
36
+ true: string;
37
+ false: string;
38
+ };
39
+ disableAnimation: {
40
+ true: string;
41
+ false: string;
42
+ };
43
+ }, undefined, "sytech-shimmer-text animate-shimmer-text", unknown, unknown, undefined>>;
44
+ type ShimmerTextVariantProps = VariantProps<typeof shimmerText>;
45
+
46
+ export { type ShimmerTextVariantProps, shimmerText };
@@ -0,0 +1,301 @@
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/components/shimmer-text.ts
21
+ var shimmer_text_exports = {};
22
+ __export(shimmer_text_exports, {
23
+ shimmerText: () => shimmerText
24
+ });
25
+ module.exports = __toCommonJS(shimmer_text_exports);
26
+
27
+ // src/utils/tv.ts
28
+ var import_tailwind_variants = require("tailwind-variants");
29
+
30
+ // src/utilities/transition.ts
31
+ var DEFAULT_TRANSITION_DURATION = "250ms";
32
+ var transition_default = {
33
+ /**
34
+ * Transition utilities
35
+ */
36
+ ".transition-background": {
37
+ "transition-property": "background",
38
+ "transition-timing-function": "ease",
39
+ "transition-duration": DEFAULT_TRANSITION_DURATION
40
+ },
41
+ ".transition-colors-opacity": {
42
+ "transition-property": "color, background-color, border-color, text-decoration-color, fill, stroke, opacity",
43
+ "transition-timing-function": "ease",
44
+ "transition-duration": DEFAULT_TRANSITION_DURATION
45
+ },
46
+ ".transition-width": {
47
+ "transition-property": "width",
48
+ "transition-timing-function": "ease",
49
+ "transition-duration": DEFAULT_TRANSITION_DURATION
50
+ },
51
+ ".transition-height": {
52
+ "transition-property": "height",
53
+ "transition-timing-function": "ease",
54
+ "transition-duration": DEFAULT_TRANSITION_DURATION
55
+ },
56
+ ".transition-size": {
57
+ "transition-property": "width, height",
58
+ "transition-timing-function": "ease",
59
+ "transition-duration": DEFAULT_TRANSITION_DURATION
60
+ },
61
+ ".transition-left": {
62
+ "transition-property": "left",
63
+ "transition-timing-function": "ease",
64
+ "transition-duration": DEFAULT_TRANSITION_DURATION
65
+ },
66
+ ".transition-transform-opacity": {
67
+ "transition-property": "transform, scale, opacity rotate",
68
+ "transition-timing-function": "ease",
69
+ "transition-duration": DEFAULT_TRANSITION_DURATION
70
+ },
71
+ ".transition-transform-background": {
72
+ "transition-property": "transform, scale, background",
73
+ "transition-timing-function": "ease",
74
+ "transition-duration": DEFAULT_TRANSITION_DURATION
75
+ },
76
+ ".transition-transform-colors": {
77
+ "transition-property": "transform, scale, color, background, background-color, border-color, text-decoration-color, fill, stroke",
78
+ "transition-timing-function": "ease",
79
+ "transition-duration": DEFAULT_TRANSITION_DURATION
80
+ },
81
+ ".transition-transform-colors-opacity": {
82
+ "transition-property": "transform, scale, color, background, background-color, border-color, text-decoration-color, fill, stroke, opacity",
83
+ "transition-timing-function": "ease",
84
+ "transition-duration": DEFAULT_TRANSITION_DURATION
85
+ }
86
+ };
87
+
88
+ // src/utilities/custom.ts
89
+ var custom_default = {
90
+ /**
91
+ * Custom utilities
92
+ */
93
+ ".leading-inherit": {
94
+ "line-height": "inherit"
95
+ },
96
+ ".bg-img-inherit": {
97
+ "background-image": "inherit"
98
+ },
99
+ ".bg-clip-inherit": {
100
+ "background-clip": "inherit"
101
+ },
102
+ ".text-fill-inherit": {
103
+ "-webkit-text-fill-color": "inherit"
104
+ },
105
+ ".tap-highlight-transparent": {
106
+ "-webkit-tap-highlight-color": "transparent"
107
+ },
108
+ ".input-search-cancel-button-none": {
109
+ "&::-webkit-search-cancel-button": {
110
+ "-webkit-appearance": "none"
111
+ }
112
+ }
113
+ };
114
+
115
+ // src/utilities/scrollbar-hide.ts
116
+ var scrollbar_hide_default = {
117
+ /**
118
+ * Scroll Hide
119
+ */
120
+ ".scrollbar-hide": {
121
+ /* IE and Edge */
122
+ "-ms-overflow-style": "none",
123
+ /* Firefox */
124
+ "scrollbar-width": "none",
125
+ /* Safari and Chrome */
126
+ "&::-webkit-scrollbar": {
127
+ display: "none"
128
+ }
129
+ },
130
+ ".scrollbar-default": {
131
+ /* IE and Edge */
132
+ "-ms-overflow-style": "auto",
133
+ /* Firefox */
134
+ "scrollbar-width": "auto",
135
+ /* Safari and Chrome */
136
+ "&::-webkit-scrollbar": {
137
+ display: "block"
138
+ }
139
+ }
140
+ };
141
+
142
+ // src/utilities/text.ts
143
+ var text_default = {
144
+ /**
145
+ * Text utilities
146
+ */
147
+ ".text-tiny": {
148
+ "font-size": "var(--heroui-font-size-tiny)",
149
+ "line-height": "var(--heroui-line-height-tiny)"
150
+ },
151
+ ".text-small": {
152
+ "font-size": "var(--heroui-font-size-small)",
153
+ "line-height": "var(--heroui-line-height-small)"
154
+ },
155
+ ".text-medium": {
156
+ "font-size": "var(--heroui-font-size-medium)",
157
+ "line-height": "var(--heroui-line-height-medium)"
158
+ },
159
+ ".text-large": {
160
+ "font-size": "var(--heroui-font-size-large)",
161
+ "line-height": "var(--heroui-line-height-large)"
162
+ }
163
+ };
164
+
165
+ // src/utilities/animation.ts
166
+ var animation_default = {
167
+ /** Animation Utilities */
168
+ ".spinner-bar-animation": {
169
+ animation: "fade-out 1.2s linear infinite",
170
+ "animation-delay": "calc(-1.2s + (0.1s * var(--bar-index)))",
171
+ transform: "rotate(calc(30deg * var(--bar-index))) translate(140%)"
172
+ },
173
+ ".spinner-dot-animation": {
174
+ "animation-delay": "calc(250ms * var(--dot-index))"
175
+ },
176
+ ".spinner-dot-blink-animation": {
177
+ "animation-delay": "calc(200ms * var(--dot-index))"
178
+ }
179
+ };
180
+
181
+ // src/utilities/shimmer-text.ts
182
+ var readableText = {
183
+ animation: "none !important",
184
+ "background-image": "none",
185
+ "-webkit-text-fill-color": "currentColor"
186
+ };
187
+ var shimmer_text_default = {
188
+ ".sytech-shimmer-text": {
189
+ color: "currentColor",
190
+ "--shimmer-angle": "20deg",
191
+ "--shimmer-spread": "calc(3ch + 40px)",
192
+ "--shimmer-iteration": "infinite",
193
+ "--shimmer-direction": "normal",
194
+ "@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
195
+ "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)))",
196
+ "background-repeat": "no-repeat",
197
+ "background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
198
+ "background-position": "100% 0",
199
+ "background-clip": "text",
200
+ "-webkit-background-clip": "text",
201
+ "-webkit-text-fill-color": "transparent"
202
+ },
203
+ "&:where([dir='rtl'], [dir='rtl'] *)": {
204
+ "--shimmer-direction": "reverse"
205
+ },
206
+ "&.sytech-shimmer-text-reverse": {
207
+ "--shimmer-direction": "reverse"
208
+ },
209
+ "&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
210
+ "--shimmer-direction": "normal"
211
+ },
212
+ "@media (prefers-reduced-motion: reduce)": readableText
213
+ },
214
+ ".sytech-shimmer-text-once": {
215
+ "--shimmer-iteration": "1"
216
+ },
217
+ ".sytech-shimmer-text-disabled": readableText
218
+ };
219
+
220
+ // src/utilities/index.ts
221
+ var utilities = {
222
+ ...custom_default,
223
+ ...transition_default,
224
+ ...scrollbar_hide_default,
225
+ ...text_default,
226
+ ...animation_default,
227
+ ...shimmer_text_default
228
+ };
229
+
230
+ // src/utils/tw-merge-config.ts
231
+ var COMMON_UNITS = ["small", "medium", "large"];
232
+ var twMergeConfig = {
233
+ theme: {
234
+ spacing: ["divider"],
235
+ radius: COMMON_UNITS
236
+ },
237
+ classGroups: {
238
+ shadow: [{ shadow: COMMON_UNITS }],
239
+ opacity: [{ opacity: ["disabled"] }],
240
+ "font-size": [{ text: ["tiny", ...COMMON_UNITS] }],
241
+ "border-w": [{ border: COMMON_UNITS }],
242
+ "bg-image": [
243
+ "bg-stripe-gradient-default",
244
+ "bg-stripe-gradient-primary",
245
+ "bg-stripe-gradient-secondary",
246
+ "bg-stripe-gradient-success",
247
+ "bg-stripe-gradient-warning",
248
+ "bg-stripe-gradient-danger"
249
+ ],
250
+ transition: Object.keys(utilities).filter((key) => key.includes(".transition")).map((key) => key.replace(".", ""))
251
+ // remove the dot from the key, .transition-background -> transition-background
252
+ }
253
+ };
254
+
255
+ // src/utils/tv.ts
256
+ var tv = (options, config) => {
257
+ var _a, _b, _c;
258
+ return (0, import_tailwind_variants.tv)(options, {
259
+ ...config,
260
+ twMerge: (_a = config == null ? void 0 : config.twMerge) != null ? _a : true,
261
+ twMergeConfig: {
262
+ ...config == null ? void 0 : config.twMergeConfig,
263
+ theme: {
264
+ ...(_b = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _b.theme,
265
+ ...twMergeConfig.theme
266
+ },
267
+ classGroups: {
268
+ ...(_c = config == null ? void 0 : config.twMergeConfig) == null ? void 0 : _c.classGroups,
269
+ ...twMergeConfig.classGroups
270
+ }
271
+ }
272
+ });
273
+ };
274
+
275
+ // src/components/shimmer-text.ts
276
+ var shimmerText = tv({
277
+ base: "sytech-shimmer-text animate-shimmer-text",
278
+ variants: {
279
+ once: {
280
+ true: "sytech-shimmer-text-once",
281
+ false: ""
282
+ },
283
+ reverse: {
284
+ true: "sytech-shimmer-text-reverse",
285
+ false: ""
286
+ },
287
+ disableAnimation: {
288
+ true: "sytech-shimmer-text-disabled !animate-none",
289
+ false: ""
290
+ }
291
+ },
292
+ defaultVariants: {
293
+ once: false,
294
+ reverse: false,
295
+ disableAnimation: false
296
+ }
297
+ });
298
+ // Annotate the CommonJS export names for ESM import in node:
299
+ 0 && (module.exports = {
300
+ shimmerText
301
+ });
@@ -0,0 +1,15 @@
1
+ import {
2
+ shimmerText
3
+ } from "../chunk-DBDK3IF7.mjs";
4
+ import "../chunk-FBI452W6.mjs";
5
+ import "../chunk-7QDYFNL6.mjs";
6
+ import "../chunk-2WQ76NXU.mjs";
7
+ import "../chunk-GSRZWDGA.mjs";
8
+ import "../chunk-AWXUGVFR.mjs";
9
+ import "../chunk-MPVWW3DX.mjs";
10
+ import "../chunk-WH6SPIFG.mjs";
11
+ import "../chunk-FJOYYPB2.mjs";
12
+ import "../chunk-RUIUXVZ4.mjs";
13
+ export {
14
+ shimmerText
15
+ };
@@ -178,13 +178,53 @@ var animation_default = {
178
178
  }
179
179
  };
180
180
 
181
+ // src/utilities/shimmer-text.ts
182
+ var readableText = {
183
+ animation: "none !important",
184
+ "background-image": "none",
185
+ "-webkit-text-fill-color": "currentColor"
186
+ };
187
+ var shimmer_text_default = {
188
+ ".sytech-shimmer-text": {
189
+ color: "currentColor",
190
+ "--shimmer-angle": "20deg",
191
+ "--shimmer-spread": "calc(3ch + 40px)",
192
+ "--shimmer-iteration": "infinite",
193
+ "--shimmer-direction": "normal",
194
+ "@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
195
+ "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)))",
196
+ "background-repeat": "no-repeat",
197
+ "background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
198
+ "background-position": "100% 0",
199
+ "background-clip": "text",
200
+ "-webkit-background-clip": "text",
201
+ "-webkit-text-fill-color": "transparent"
202
+ },
203
+ "&:where([dir='rtl'], [dir='rtl'] *)": {
204
+ "--shimmer-direction": "reverse"
205
+ },
206
+ "&.sytech-shimmer-text-reverse": {
207
+ "--shimmer-direction": "reverse"
208
+ },
209
+ "&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
210
+ "--shimmer-direction": "normal"
211
+ },
212
+ "@media (prefers-reduced-motion: reduce)": readableText
213
+ },
214
+ ".sytech-shimmer-text-once": {
215
+ "--shimmer-iteration": "1"
216
+ },
217
+ ".sytech-shimmer-text-disabled": readableText
218
+ };
219
+
181
220
  // src/utilities/index.ts
182
221
  var utilities = {
183
222
  ...custom_default,
184
223
  ...transition_default,
185
224
  ...scrollbar_hide_default,
186
225
  ...text_default,
187
- ...animation_default
226
+ ...animation_default,
227
+ ...shimmer_text_default
188
228
  };
189
229
 
190
230
  // src/utils/tw-merge-config.ts