@sytechui/theme 2.5.0 → 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.
Files changed (166) 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-Z65VJL4Y.mjs → chunk-27EH4573.mjs} +1 -1
  6. package/dist/{chunk-FQECQOZE.mjs → chunk-3PBT3W4C.mjs} +1 -1
  7. package/dist/{chunk-3L7WFLSH.mjs → chunk-4XFAHRMJ.mjs} +1 -1
  8. package/dist/{chunk-VDS6DP26.mjs → chunk-6Q4A5IGD.mjs} +1 -1
  9. package/dist/{chunk-NKYWOWNW.mjs → chunk-7CAOOET2.mjs} +1 -1
  10. package/dist/{chunk-TRZPE5UW.mjs → chunk-7MY46DKJ.mjs} +1 -1
  11. package/dist/{chunk-IB36XVBI.mjs → chunk-AI6SQS6Z.mjs} +13 -12
  12. package/dist/{chunk-IAAKK6MJ.mjs → chunk-CBIC7UDL.mjs} +8 -8
  13. package/dist/{chunk-Q5TYW2HJ.mjs → chunk-CPSLANMP.mjs} +2 -2
  14. package/dist/{chunk-SGV526OS.mjs → chunk-CR7SUL27.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-FUKRIH5Z.mjs → chunk-GXDNTAQH.mjs} +1 -1
  18. package/dist/{chunk-4V3RQUZU.mjs → chunk-GYRKKQKN.mjs} +1 -1
  19. package/dist/{chunk-5PWGYVAP.mjs → chunk-HRULT2QB.mjs} +1 -1
  20. package/dist/{chunk-EJDFNA7Y.mjs → chunk-K6X3VPO4.mjs} +1 -1
  21. package/dist/chunk-LV6ZC7XH.mjs +31 -0
  22. package/dist/{chunk-QQVGHMSD.mjs → chunk-M5F7VFZT.mjs} +1 -1
  23. package/dist/{chunk-E34EWEJV.mjs → chunk-OBSH26UE.mjs} +1 -1
  24. package/dist/{chunk-YW4DIYUX.mjs → chunk-P2SWF4YK.mjs} +1 -1
  25. package/dist/{chunk-3INHRVXM.mjs → chunk-QU72GCNK.mjs} +1 -1
  26. package/dist/{chunk-NPGKX3MZ.mjs → chunk-RAC3PSZO.mjs} +1 -1
  27. package/dist/{chunk-HYWP3BX7.mjs → chunk-SLRWKURF.mjs} +9 -0
  28. package/dist/{chunk-JS2FQJMX.mjs → chunk-TYJNRAT2.mjs} +1 -1
  29. package/dist/{chunk-6US6AURX.mjs → chunk-UJC5GXOO.mjs} +11 -7
  30. package/dist/{chunk-SSU66MWA.mjs → chunk-XOVETH7K.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 +32 -30
  37. package/dist/components/alert.js +41 -1
  38. package/dist/components/alert.mjs +32 -30
  39. package/dist/components/autocomplete.js +41 -1
  40. package/dist/components/autocomplete.mjs +7 -6
  41. package/dist/components/avatar.js +41 -1
  42. package/dist/components/avatar.mjs +32 -30
  43. package/dist/components/badge.js +41 -1
  44. package/dist/components/badge.mjs +32 -30
  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 +32 -30
  49. package/dist/components/breadcrumbs.js +41 -1
  50. package/dist/components/breadcrumbs.mjs +32 -30
  51. package/dist/components/button.js +41 -1
  52. package/dist/components/button.mjs +32 -30
  53. package/dist/components/calendar.js +41 -1
  54. package/dist/components/calendar.mjs +32 -30
  55. package/dist/components/card.js +41 -1
  56. package/dist/components/card.mjs +32 -30
  57. package/dist/components/checkbox.js +41 -1
  58. package/dist/components/checkbox.mjs +32 -30
  59. package/dist/components/chip.js +41 -1
  60. package/dist/components/chip.mjs +32 -30
  61. package/dist/components/code.js +41 -1
  62. package/dist/components/code.mjs +32 -30
  63. package/dist/components/date-input.js +41 -1
  64. package/dist/components/date-input.mjs +7 -6
  65. package/dist/components/date-picker.js +41 -1
  66. package/dist/components/date-picker.mjs +7 -6
  67. package/dist/components/divider.js +41 -1
  68. package/dist/components/divider.mjs +7 -6
  69. package/dist/components/drawer.js +41 -1
  70. package/dist/components/drawer.mjs +7 -6
  71. package/dist/components/drip.js +41 -1
  72. package/dist/components/drip.mjs +7 -6
  73. package/dist/components/drop-zone.js +41 -1
  74. package/dist/components/drop-zone.mjs +32 -30
  75. package/dist/components/dropdown.js +41 -1
  76. package/dist/components/dropdown.mjs +32 -30
  77. package/dist/components/form.js +41 -1
  78. package/dist/components/form.mjs +7 -6
  79. package/dist/components/image.js +41 -1
  80. package/dist/components/image.mjs +7 -6
  81. package/dist/components/index.d.mts +1 -0
  82. package/dist/components/index.d.ts +1 -0
  83. package/dist/components/index.js +78 -11
  84. package/dist/components/index.mjs +36 -31
  85. package/dist/components/input-otp.js +41 -1
  86. package/dist/components/input-otp.mjs +32 -30
  87. package/dist/components/input.js +41 -1
  88. package/dist/components/input.mjs +32 -30
  89. package/dist/components/kbd.js +41 -1
  90. package/dist/components/kbd.mjs +7 -6
  91. package/dist/components/link.js +41 -1
  92. package/dist/components/link.mjs +32 -30
  93. package/dist/components/listbox.js +41 -1
  94. package/dist/components/listbox.mjs +32 -30
  95. package/dist/components/menu.js +41 -1
  96. package/dist/components/menu.mjs +32 -30
  97. package/dist/components/modal.js +41 -1
  98. package/dist/components/modal.mjs +32 -30
  99. package/dist/components/navbar.js +41 -1
  100. package/dist/components/navbar.mjs +32 -30
  101. package/dist/components/number-input.js +41 -1
  102. package/dist/components/number-input.mjs +32 -30
  103. package/dist/components/pagination.js +41 -1
  104. package/dist/components/pagination.mjs +32 -30
  105. package/dist/components/popover.js +41 -1
  106. package/dist/components/popover.mjs +32 -30
  107. package/dist/components/progress.js +41 -1
  108. package/dist/components/progress.mjs +7 -6
  109. package/dist/components/radio.js +41 -1
  110. package/dist/components/radio.mjs +32 -30
  111. package/dist/components/scroll-area.js +41 -1
  112. package/dist/components/scroll-area.mjs +7 -6
  113. package/dist/components/scroll-shadow.js +41 -1
  114. package/dist/components/scroll-shadow.mjs +7 -6
  115. package/dist/components/select.js +41 -1
  116. package/dist/components/select.mjs +32 -30
  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 +7 -6
  123. package/dist/components/slider.js +41 -1
  124. package/dist/components/slider.mjs +32 -30
  125. package/dist/components/snippet.js +41 -1
  126. package/dist/components/snippet.mjs +32 -30
  127. package/dist/components/spacer.js +41 -1
  128. package/dist/components/spacer.mjs +7 -6
  129. package/dist/components/spinner.js +41 -1
  130. package/dist/components/spinner.mjs +7 -6
  131. package/dist/components/table.js +41 -1
  132. package/dist/components/table.mjs +32 -30
  133. package/dist/components/tabs.js +41 -1
  134. package/dist/components/tabs.mjs +32 -30
  135. package/dist/components/toast.js +41 -1
  136. package/dist/components/toast.mjs +32 -30
  137. package/dist/components/toggle.js +41 -1
  138. package/dist/components/toggle.mjs +32 -30
  139. package/dist/components/user.js +41 -1
  140. package/dist/components/user.mjs +32 -30
  141. package/dist/index.d.mts +1 -0
  142. package/dist/index.d.ts +1 -0
  143. package/dist/index.js +87 -11
  144. package/dist/index.mjs +40 -35
  145. package/dist/plugin.js +50 -1
  146. package/dist/plugin.mjs +12 -11
  147. package/dist/utilities/index.d.mts +38 -0
  148. package/dist/utilities/index.d.ts +38 -0
  149. package/dist/utilities/index.js +41 -1
  150. package/dist/utilities/index.mjs +4 -3
  151. package/dist/utilities/shimmer-text.d.mts +42 -0
  152. package/dist/utilities/shimmer-text.d.ts +42 -0
  153. package/dist/utilities/shimmer-text.js +62 -0
  154. package/dist/utilities/shimmer-text.mjs +6 -0
  155. package/dist/utils/cn.js +41 -1
  156. package/dist/utils/cn.mjs +6 -5
  157. package/dist/utils/index.js +41 -1
  158. package/dist/utils/index.mjs +32 -30
  159. package/dist/utils/merge-classes.js +41 -1
  160. package/dist/utils/merge-classes.mjs +32 -30
  161. package/dist/utils/tv.js +41 -1
  162. package/dist/utils/tv.mjs +6 -5
  163. package/dist/utils/tw-merge-config.js +41 -1
  164. package/dist/utils/tw-merge-config.mjs +5 -4
  165. package/package.json +1 -1
  166. package/dist/{chunk-6TOTQSJE.mjs → chunk-IAS3SFA4.mjs} +6 -6
@@ -1,51 +1,53 @@
1
1
  import {
2
2
  toggle
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-AI6SQS6Z.mjs";
18
4
  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";
24
- import "../chunk-JGY6VQQQ.mjs";
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-HYWP3BX7.mjs";
27
- import "../chunk-6US6AURX.mjs";
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";
28
31
  import "../chunk-AWXUGVFR.mjs";
29
32
  import "../chunk-MPVWW3DX.mjs";
30
33
  import "../chunk-WH6SPIFG.mjs";
31
- 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
  toggle
51
53
  };
@@ -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,51 +1,53 @@
1
1
  import {
2
2
  user
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-AI6SQS6Z.mjs";
18
4
  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";
24
- import "../chunk-JGY6VQQQ.mjs";
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-HYWP3BX7.mjs";
27
- import "../chunk-6US6AURX.mjs";
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";
28
31
  import "../chunk-AWXUGVFR.mjs";
29
32
  import "../chunk-MPVWW3DX.mjs";
30
33
  import "../chunk-WH6SPIFG.mjs";
31
- 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
  user
51
53
  };
package/dist/index.d.mts CHANGED
@@ -30,6 +30,7 @@ export { DividerVariantProps, divider } from './components/divider.mjs';
30
30
  export { KbdSlots, KbdVariantProps, kbd } from './components/kbd.mjs';
31
31
  export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.mjs';
32
32
  export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.mjs';
33
+ export { ShimmerTextVariantProps, shimmerText } from './components/shimmer-text.mjs';
33
34
  export { SelectSlots, SelectVariantProps, select } from './components/select.mjs';
34
35
  export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './components/menu.mjs';
35
36
  export { ScrollShadowVariantProps, scrollShadow } from './components/scroll-shadow.mjs';
package/dist/index.d.ts CHANGED
@@ -30,6 +30,7 @@ export { DividerVariantProps, divider } from './components/divider.js';
30
30
  export { KbdSlots, KbdVariantProps, kbd } from './components/kbd.js';
31
31
  export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.js';
32
32
  export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.js';
33
+ export { ShimmerTextVariantProps, shimmerText } from './components/shimmer-text.js';
33
34
  export { SelectSlots, SelectVariantProps, select } from './components/select.js';
34
35
  export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './components/menu.js';
35
36
  export { ScrollShadowVariantProps, scrollShadow } from './components/scroll-shadow.js';
package/dist/index.js CHANGED
@@ -103,6 +103,7 @@ __export(index_exports, {
103
103
  scrollShadow: () => scrollShadow,
104
104
  select: () => select,
105
105
  semanticColors: () => semanticColors,
106
+ shimmerText: () => shimmerText,
106
107
  skeleton: () => skeleton,
107
108
  slider: () => slider,
108
109
  snippet: () => snippet,
@@ -274,13 +275,53 @@ var animation_default = {
274
275
  }
275
276
  };
276
277
 
278
+ // src/utilities/shimmer-text.ts
279
+ var readableText = {
280
+ animation: "none !important",
281
+ "background-image": "none",
282
+ "-webkit-text-fill-color": "currentColor"
283
+ };
284
+ var shimmer_text_default = {
285
+ ".sytech-shimmer-text": {
286
+ color: "currentColor",
287
+ "--shimmer-angle": "20deg",
288
+ "--shimmer-spread": "calc(3ch + 40px)",
289
+ "--shimmer-iteration": "infinite",
290
+ "--shimmer-direction": "normal",
291
+ "@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
292
+ "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)))",
293
+ "background-repeat": "no-repeat",
294
+ "background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
295
+ "background-position": "100% 0",
296
+ "background-clip": "text",
297
+ "-webkit-background-clip": "text",
298
+ "-webkit-text-fill-color": "transparent"
299
+ },
300
+ "&:where([dir='rtl'], [dir='rtl'] *)": {
301
+ "--shimmer-direction": "reverse"
302
+ },
303
+ "&.sytech-shimmer-text-reverse": {
304
+ "--shimmer-direction": "reverse"
305
+ },
306
+ "&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
307
+ "--shimmer-direction": "normal"
308
+ },
309
+ "@media (prefers-reduced-motion: reduce)": readableText
310
+ },
311
+ ".sytech-shimmer-text-once": {
312
+ "--shimmer-iteration": "1"
313
+ },
314
+ ".sytech-shimmer-text-disabled": readableText
315
+ };
316
+
277
317
  // src/utilities/index.ts
278
318
  var utilities = {
279
319
  ...custom_default,
280
320
  ...transition_default,
281
321
  ...scrollbar_hide_default,
282
322
  ...text_default,
283
- ...animation_default
323
+ ...animation_default,
324
+ ...shimmer_text_default
284
325
  };
285
326
 
286
327
  // src/utils/tw-merge-config.ts
@@ -3137,27 +3178,27 @@ var bottomBar = tv({
3137
3178
  color: {
3138
3179
  default: {
3139
3180
  link: "data-[selected=true]:text-foreground",
3140
- selectionIndicator: ["border-foreground/30", "bg-default-200/80", "after:bg-foreground"]
3181
+ selectionIndicator: ["bg-default-200/80", "after:bg-foreground"]
3141
3182
  },
3142
3183
  primary: {
3143
3184
  link: "data-[selected=true]:text-primary",
3144
- selectionIndicator: ["border-primary/40", "bg-primary/15", "after:bg-primary"]
3185
+ selectionIndicator: ["bg-primary/15", "after:bg-primary"]
3145
3186
  },
3146
3187
  secondary: {
3147
3188
  link: "data-[selected=true]:text-secondary",
3148
- selectionIndicator: ["border-secondary/40", "bg-secondary/15", "after:bg-secondary"]
3189
+ selectionIndicator: ["bg-secondary/15", "after:bg-secondary"]
3149
3190
  },
3150
3191
  success: {
3151
3192
  link: "data-[selected=true]:text-success",
3152
- selectionIndicator: ["border-success/40", "bg-success/15", "after:bg-success"]
3193
+ selectionIndicator: ["bg-success/15", "after:bg-success"]
3153
3194
  },
3154
3195
  warning: {
3155
3196
  link: "data-[selected=true]:text-warning",
3156
- selectionIndicator: ["border-warning/40", "bg-warning/15", "after:bg-warning"]
3197
+ selectionIndicator: ["bg-warning/15", "after:bg-warning"]
3157
3198
  },
3158
3199
  danger: {
3159
3200
  link: "data-[selected=true]:text-danger",
3160
- selectionIndicator: ["border-danger/40", "bg-danger/15", "after:bg-danger"]
3201
+ selectionIndicator: ["bg-danger/15", "after:bg-danger"]
3161
3202
  }
3162
3203
  },
3163
3204
  variant: {
@@ -3167,15 +3208,16 @@ var bottomBar = tv({
3167
3208
  "bg-transparent",
3168
3209
  "after:absolute",
3169
3210
  "after:bottom-0",
3170
- "after:left-[10%]",
3171
- "after:h-0.5",
3172
- "after:w-4/5",
3211
+ "after:left-1/2",
3212
+ "after:h-[5px]",
3213
+ "after:w-5",
3214
+ "after:-translate-x-1/2",
3173
3215
  "after:rounded-full",
3174
3216
  "after:content-['']"
3175
3217
  ]
3176
3218
  },
3177
3219
  ghost: {
3178
- selectionIndicator: ["border", "bg-transparent"]
3220
+ selectionIndicator: "bg-transparent"
3179
3221
  }
3180
3222
  },
3181
3223
  hideLabels: {
@@ -7783,6 +7825,30 @@ var skeleton = tv({
7783
7825
  defaultVariants: {}
7784
7826
  });
7785
7827
 
7828
+ // src/components/shimmer-text.ts
7829
+ var shimmerText = tv({
7830
+ base: "sytech-shimmer-text animate-shimmer-text",
7831
+ variants: {
7832
+ direction: {
7833
+ auto: "",
7834
+ reverse: "sytech-shimmer-text-reverse"
7835
+ },
7836
+ iteration: {
7837
+ infinite: "",
7838
+ once: "sytech-shimmer-text-once"
7839
+ },
7840
+ disableAnimation: {
7841
+ true: "sytech-shimmer-text-disabled !animate-none",
7842
+ false: ""
7843
+ }
7844
+ },
7845
+ defaultVariants: {
7846
+ direction: "auto",
7847
+ iteration: "infinite",
7848
+ disableAnimation: false
7849
+ }
7850
+ });
7851
+
7786
7852
  // src/components/select.ts
7787
7853
  var select = tv({
7788
7854
  slots: {
@@ -12900,6 +12966,7 @@ var import_shared_utils = require("@sytechui/shared-utils");
12900
12966
  var animations = {
12901
12967
  animation: {
12902
12968
  shimmer: "shimmer 2s infinite",
12969
+ "shimmer-text": "shimmer-text var(--shimmer-duration, 2s) linear var(--shimmer-iteration, infinite) var(--shimmer-direction, normal)",
12903
12970
  "drip-expand": "drip-expand 420ms linear",
12904
12971
  "spinner-ease-spin": "spinner-spin 0.8s ease infinite",
12905
12972
  "spinner-linear-spin": "spinner-spin 0.8s linear infinite",
@@ -12918,6 +12985,14 @@ var animations = {
12918
12985
  transform: "translateX(200%)"
12919
12986
  }
12920
12987
  },
12988
+ "shimmer-text": {
12989
+ "0%": {
12990
+ backgroundPosition: "100% 0"
12991
+ },
12992
+ "100%": {
12993
+ backgroundPosition: "0 0"
12994
+ }
12995
+ },
12921
12996
  "spinner-spin": {
12922
12997
  "0%": {
12923
12998
  transform: "rotate(0deg)"
@@ -13332,6 +13407,7 @@ var heroui = (config = {}) => {
13332
13407
  scrollShadow,
13333
13408
  select,
13334
13409
  semanticColors,
13410
+ shimmerText,
13335
13411
  skeleton,
13336
13412
  slider,
13337
13413
  snippet,
package/dist/index.mjs CHANGED
@@ -45,70 +45,74 @@ import {
45
45
  toastRegion,
46
46
  toggle,
47
47
  user
48
- } from "./chunk-IB36XVBI.mjs";
48
+ } from "./chunk-AI6SQS6Z.mjs";
49
+ import {
50
+ colorVariants
51
+ } from "./chunk-GQT3YUX3.mjs";
52
+ import {
53
+ cn
54
+ } from "./chunk-P2SWF4YK.mjs";
55
+ import {
56
+ shimmerText
57
+ } from "./chunk-LV6ZC7XH.mjs";
49
58
  import {
50
59
  skeleton
51
- } from "./chunk-Z65VJL4Y.mjs";
60
+ } from "./chunk-27EH4573.mjs";
52
61
  import {
53
62
  spacer
54
- } from "./chunk-VDS6DP26.mjs";
63
+ } from "./chunk-6Q4A5IGD.mjs";
55
64
  import {
56
65
  spinner
57
- } from "./chunk-TRZPE5UW.mjs";
66
+ } from "./chunk-7MY46DKJ.mjs";
58
67
  import {
59
68
  circularProgress,
60
69
  progress
61
- } from "./chunk-NKYWOWNW.mjs";
70
+ } from "./chunk-7CAOOET2.mjs";
62
71
  import {
63
72
  scrollArea
64
- } from "./chunk-4V3RQUZU.mjs";
73
+ } from "./chunk-GYRKKQKN.mjs";
65
74
  import {
66
75
  scrollShadow
67
- } from "./chunk-SGV526OS.mjs";
76
+ } from "./chunk-CR7SUL27.mjs";
68
77
  import {
69
78
  kbd
70
- } from "./chunk-FQECQOZE.mjs";
79
+ } from "./chunk-3PBT3W4C.mjs";
71
80
  import {
72
81
  datePicker,
73
82
  dateRangePicker
74
- } from "./chunk-QQVGHMSD.mjs";
83
+ } from "./chunk-M5F7VFZT.mjs";
75
84
  import {
76
85
  divider
77
- } from "./chunk-SSU66MWA.mjs";
86
+ } from "./chunk-XOVETH7K.mjs";
78
87
  import {
79
88
  drawer
80
- } from "./chunk-3L7WFLSH.mjs";
89
+ } from "./chunk-4XFAHRMJ.mjs";
81
90
  import {
82
91
  drip
83
- } from "./chunk-E34EWEJV.mjs";
92
+ } from "./chunk-OBSH26UE.mjs";
84
93
  import {
85
94
  form
86
- } from "./chunk-EJDFNA7Y.mjs";
95
+ } from "./chunk-K6X3VPO4.mjs";
87
96
  import {
88
97
  image
89
- } from "./chunk-5PWGYVAP.mjs";
98
+ } from "./chunk-HRULT2QB.mjs";
90
99
  import {
91
100
  dateInput
92
- } from "./chunk-JS2FQJMX.mjs";
93
- import {
94
- colorVariants
95
- } from "./chunk-GQT3YUX3.mjs";
101
+ } from "./chunk-TYJNRAT2.mjs";
96
102
  import {
97
103
  autocomplete
98
- } from "./chunk-FUKRIH5Z.mjs";
99
- import {
100
- cn
101
- } from "./chunk-YW4DIYUX.mjs";
104
+ } from "./chunk-GXDNTAQH.mjs";
102
105
  import {
103
106
  tv
104
- } from "./chunk-NPGKX3MZ.mjs";
107
+ } from "./chunk-RAC3PSZO.mjs";
105
108
  import {
106
109
  COMMON_UNITS,
107
110
  twMergeConfig
108
- } from "./chunk-3INHRVXM.mjs";
111
+ } from "./chunk-QU72GCNK.mjs";
109
112
  import {
110
113
  heroui
111
- } from "./chunk-IAAKK6MJ.mjs";
114
+ } from "./chunk-CBIC7UDL.mjs";
115
+ import "./chunk-D2XMP2NC.mjs";
112
116
  import {
113
117
  absoluteFullClasses,
114
118
  baseStyles,
@@ -120,21 +124,20 @@ import {
120
124
  ringClasses,
121
125
  translateCenterClasses
122
126
  } from "./chunk-JGY6VQQQ.mjs";
123
- import "./chunk-D2XMP2NC.mjs";
124
- import "./chunk-HYWP3BX7.mjs";
125
- import "./chunk-6US6AURX.mjs";
127
+ import "./chunk-UJC5GXOO.mjs";
128
+ import "./chunk-FJOYYPB2.mjs";
129
+ import "./chunk-RUIUXVZ4.mjs";
130
+ import "./chunk-GSRZWDGA.mjs";
126
131
  import "./chunk-AWXUGVFR.mjs";
127
132
  import "./chunk-MPVWW3DX.mjs";
128
133
  import "./chunk-WH6SPIFG.mjs";
129
- import "./chunk-RUIUXVZ4.mjs";
130
- import "./chunk-GSRZWDGA.mjs";
131
134
  import "./chunk-WQEDQHKX.mjs";
132
135
  import {
133
136
  colors
134
- } from "./chunk-Q5TYW2HJ.mjs";
137
+ } from "./chunk-CPSLANMP.mjs";
135
138
  import {
136
139
  semanticColors
137
- } from "./chunk-JNXXF3DG.mjs";
140
+ } from "./chunk-FFKHVGFX.mjs";
138
141
  import "./chunk-5ICJA2GK.mjs";
139
142
  import "./chunk-M63AFAHO.mjs";
140
143
  import {
@@ -143,17 +146,18 @@ import {
143
146
  lightLayout
144
147
  } from "./chunk-HUBDRSA4.mjs";
145
148
  import "./chunk-WBQAMGXK.mjs";
149
+ import "./chunk-SLRWKURF.mjs";
146
150
  import {
147
151
  commonColors
148
- } from "./chunk-6TOTQSJE.mjs";
152
+ } from "./chunk-IAS3SFA4.mjs";
153
+ import "./chunk-JUEOCLA3.mjs";
149
154
  import "./chunk-3LKKH4AR.mjs";
155
+ import "./chunk-T3GWIVAM.mjs";
150
156
  import "./chunk-OR5PUD24.mjs";
151
157
  import "./chunk-DCEG5LGX.mjs";
152
158
  import "./chunk-L2OL7R23.mjs";
153
159
  import "./chunk-YZYGFPNK.mjs";
154
- import "./chunk-JUEOCLA3.mjs";
155
160
  import "./chunk-GHZ36ATJ.mjs";
156
- import "./chunk-T3GWIVAM.mjs";
157
161
  export {
158
162
  COMMON_UNITS,
159
163
  absoluteFullClasses,
@@ -228,6 +232,7 @@ export {
228
232
  scrollShadow,
229
233
  select,
230
234
  semanticColors,
235
+ shimmerText,
231
236
  skeleton,
232
237
  slider,
233
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