@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
@@ -1,6 +1,7 @@
1
1
  declare const animations: {
2
2
  animation: {
3
3
  shimmer: string;
4
+ "shimmer-text": string;
4
5
  "drip-expand": string;
5
6
  "spinner-ease-spin": string;
6
7
  "spinner-linear-spin": string;
@@ -19,6 +20,14 @@ declare const animations: {
19
20
  transform: string;
20
21
  };
21
22
  };
23
+ "shimmer-text": {
24
+ "0%": {
25
+ backgroundPosition: string;
26
+ };
27
+ "100%": {
28
+ backgroundPosition: string;
29
+ };
30
+ };
22
31
  "spinner-spin": {
23
32
  "0%": {
24
33
  transform: string;
@@ -1,6 +1,7 @@
1
1
  declare const animations: {
2
2
  animation: {
3
3
  shimmer: string;
4
+ "shimmer-text": string;
4
5
  "drip-expand": string;
5
6
  "spinner-ease-spin": string;
6
7
  "spinner-linear-spin": string;
@@ -19,6 +20,14 @@ declare const animations: {
19
20
  transform: string;
20
21
  };
21
22
  };
23
+ "shimmer-text": {
24
+ "0%": {
25
+ backgroundPosition: string;
26
+ };
27
+ "100%": {
28
+ backgroundPosition: string;
29
+ };
30
+ };
22
31
  "spinner-spin": {
23
32
  "0%": {
24
33
  transform: string;
@@ -26,6 +26,7 @@ module.exports = __toCommonJS(animations_exports);
26
26
  var animations = {
27
27
  animation: {
28
28
  shimmer: "shimmer 2s infinite",
29
+ "shimmer-text": "shimmer-text var(--shimmer-duration, 2s) linear var(--shimmer-iteration, infinite) var(--shimmer-direction, normal)",
29
30
  "drip-expand": "drip-expand 420ms linear",
30
31
  "spinner-ease-spin": "spinner-spin 0.8s ease infinite",
31
32
  "spinner-linear-spin": "spinner-spin 0.8s linear infinite",
@@ -44,6 +45,14 @@ var animations = {
44
45
  transform: "translateX(200%)"
45
46
  }
46
47
  },
48
+ "shimmer-text": {
49
+ "0%": {
50
+ backgroundPosition: "100% 0"
51
+ },
52
+ "100%": {
53
+ backgroundPosition: "0 0"
54
+ }
55
+ },
47
56
  "spinner-spin": {
48
57
  "0%": {
49
58
  transform: "rotate(0deg)"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  animations
3
- } from "../chunk-HYWP3BX7.mjs";
3
+ } from "../chunk-SLRWKURF.mjs";
4
4
  export {
5
5
  animations
6
6
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/spinner.ts
6
6
  var spinner = tv({
@@ -1,3 +1,6 @@
1
+ import {
2
+ transition_default
3
+ } from "./chunk-GSRZWDGA.mjs";
1
4
  import {
2
5
  animation_default
3
6
  } from "./chunk-AWXUGVFR.mjs";
@@ -7,12 +10,12 @@ import {
7
10
  import {
8
11
  scrollbar_hide_default
9
12
  } from "./chunk-WH6SPIFG.mjs";
13
+ import {
14
+ shimmer_text_default
15
+ } from "./chunk-FJOYYPB2.mjs";
10
16
  import {
11
17
  text_default
12
18
  } from "./chunk-RUIUXVZ4.mjs";
13
- import {
14
- transition_default
15
- } from "./chunk-GSRZWDGA.mjs";
16
19
 
17
20
  // src/utilities/index.ts
18
21
  var utilities = {
@@ -20,7 +23,8 @@ var utilities = {
20
23
  ...transition_default,
21
24
  ...scrollbar_hide_default,
22
25
  ...text_default,
23
- ...animation_default
26
+ ...animation_default,
27
+ ...shimmer_text_default
24
28
  };
25
29
 
26
30
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/kbd.ts
6
6
  var kbd = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  utilities
3
- } from "./chunk-6US6AURX.mjs";
3
+ } from "./chunk-2WQ76NXU.mjs";
4
4
 
5
5
  // src/utils/tw-merge-config.ts
6
6
  var COMMON_UNITS = ["small", "medium", "large"];
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/divider.ts
6
6
  var divider = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/scroll-area.ts
6
6
  var scrollArea = tv({
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  semanticColors
3
- } from "./chunk-JNXXF3DG.mjs";
3
+ } from "./chunk-FFKHVGFX.mjs";
4
4
  import {
5
5
  commonColors
6
- } from "./chunk-6TOTQSJE.mjs";
6
+ } from "./chunk-IAS3SFA4.mjs";
7
7
 
8
8
  // src/colors/index.ts
9
9
  var colors = {
@@ -0,0 +1,31 @@
1
+ import {
2
+ tv
3
+ } from "./chunk-FBI452W6.mjs";
4
+
5
+ // src/components/shimmer-text.ts
6
+ var shimmerText = tv({
7
+ base: "sytech-shimmer-text animate-shimmer-text",
8
+ variants: {
9
+ once: {
10
+ true: "sytech-shimmer-text-once",
11
+ false: ""
12
+ },
13
+ reverse: {
14
+ true: "sytech-shimmer-text-reverse",
15
+ false: ""
16
+ },
17
+ disableAnimation: {
18
+ true: "sytech-shimmer-text-disabled !animate-none",
19
+ false: ""
20
+ }
21
+ },
22
+ defaultVariants: {
23
+ once: false,
24
+ reverse: false,
25
+ disableAnimation: false
26
+ }
27
+ });
28
+
29
+ export {
30
+ shimmerText
31
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/drawer.ts
6
6
  var drawer = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  twMergeConfig
3
- } from "./chunk-3INHRVXM.mjs";
3
+ } from "./chunk-7QDYFNL6.mjs";
4
4
 
5
5
  // src/utils/tv.ts
6
6
  import { tv as tvBase } from "tailwind-variants";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-5ICJA2GK.mjs";
4
4
  import {
5
5
  commonColors
6
- } from "./chunk-6TOTQSJE.mjs";
6
+ } from "./chunk-IAS3SFA4.mjs";
7
7
 
8
8
  // src/colors/semantic.ts
9
9
  import { readableColor } from "color2k";
@@ -0,0 +1,42 @@
1
+ // src/utilities/shimmer-text.ts
2
+ var readableText = {
3
+ animation: "none !important",
4
+ "background-image": "none",
5
+ "-webkit-text-fill-color": "currentColor"
6
+ };
7
+ var shimmer_text_default = {
8
+ ".sytech-shimmer-text": {
9
+ color: "currentColor",
10
+ "--shimmer-angle": "20deg",
11
+ "--shimmer-spread": "calc(3ch + 40px)",
12
+ "--shimmer-iteration": "infinite",
13
+ "--shimmer-direction": "normal",
14
+ "@supports ((background-clip: text) or (-webkit-background-clip: text)) and (color: color-mix(in srgb, red, blue))": {
15
+ "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)))",
16
+ "background-repeat": "no-repeat",
17
+ "background-size": "calc(200% + var(--shimmer-spread) + var(--shimmer-spread)) 100%",
18
+ "background-position": "100% 0",
19
+ "background-clip": "text",
20
+ "-webkit-background-clip": "text",
21
+ "-webkit-text-fill-color": "transparent"
22
+ },
23
+ "&:where([dir='rtl'], [dir='rtl'] *)": {
24
+ "--shimmer-direction": "reverse"
25
+ },
26
+ "&.sytech-shimmer-text-reverse": {
27
+ "--shimmer-direction": "reverse"
28
+ },
29
+ "&.sytech-shimmer-text-reverse:where([dir='rtl'], [dir='rtl'] *)": {
30
+ "--shimmer-direction": "normal"
31
+ },
32
+ "@media (prefers-reduced-motion: reduce)": readableText
33
+ },
34
+ ".sytech-shimmer-text-once": {
35
+ "--shimmer-iteration": "1"
36
+ },
37
+ ".sytech-shimmer-text-disabled": readableText
38
+ };
39
+
40
+ export {
41
+ shimmer_text_default
42
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/date-picker.ts
6
6
  var datePicker = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/spacer.ts
6
6
  var spacer = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/image.ts
6
6
  var image = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/autocomplete.ts
6
6
  var autocomplete = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/skeleton.ts
6
6
  var skeleton = tv({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/scroll-shadow.ts
6
6
  var verticalShadow = [
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  tv
3
- } from "./chunk-NPGKX3MZ.mjs";
3
+ } from "./chunk-FBI452W6.mjs";
4
4
 
5
5
  // src/components/form.ts
6
6
  var form = tv({