@sytechui/theme 3.0.0 → 3.0.2

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 (261) hide show
  1. package/dist/{chunk-GRXVRRMQ.mjs → chunk-2QZDAFQ3.mjs} +5 -5
  2. package/dist/{chunk-CVEUMSFB.mjs → chunk-2TFOWOJL.mjs} +1 -1
  3. package/dist/{chunk-LNIOH7P3.mjs → chunk-47BB6GL3.mjs} +1 -1
  4. package/dist/{chunk-27PW7EKT.mjs → chunk-4N2PLITL.mjs} +1 -1
  5. package/dist/{chunk-3CPLY5GO.mjs → chunk-5DJU5KUL.mjs} +1 -1
  6. package/dist/{chunk-W5EOCY2Q.mjs → chunk-7ARJ2TQM.mjs} +1 -1
  7. package/dist/{chunk-CEXS5CRG.mjs → chunk-AGSAOCCR.mjs} +1 -1
  8. package/dist/{chunk-E6CTGLWE.mjs → chunk-AL5UNXQI.mjs} +1 -1
  9. package/dist/chunk-BF4542X6.mjs +142 -0
  10. package/dist/{chunk-HR4NECU7.mjs → chunk-CV2E4DI2.mjs} +2 -2
  11. package/dist/{chunk-XSOFQFH2.mjs → chunk-ECD4ABCS.mjs} +1 -1
  12. package/dist/{chunk-HQL3C3RQ.mjs → chunk-EZ47UJPD.mjs} +1 -1
  13. package/dist/{chunk-KFYNGEBZ.mjs → chunk-I5YZBAB3.mjs} +1 -1
  14. package/dist/{chunk-U2PPTT27.mjs → chunk-KKEJLP4U.mjs} +1 -1
  15. package/dist/{chunk-3PMV23D5.mjs → chunk-MTBQ5EO5.mjs} +1 -1
  16. package/dist/{chunk-P576IVAB.mjs → chunk-OSP4OLTO.mjs} +1 -1
  17. package/dist/{chunk-YUIGJJHE.mjs → chunk-P5HLCB43.mjs} +1 -1
  18. package/dist/{chunk-HNHTWJN2.mjs → chunk-PY74IHS4.mjs} +1 -1
  19. package/dist/{chunk-6R3AOQOQ.mjs → chunk-USGOG5QI.mjs} +1 -1
  20. package/dist/{chunk-MKKI3P75.mjs → chunk-W37Q6YFS.mjs} +1 -1
  21. package/dist/{chunk-VRZZBSOR.mjs → chunk-WH4ODSEM.mjs} +1 -1
  22. package/dist/{chunk-2ANGJDXN.mjs → chunk-XBJNS5SU.mjs} +1 -1
  23. package/dist/{chunk-UDC2HH2I.mjs → chunk-ZWG2GMCI.mjs} +1 -1
  24. package/dist/components/accordion.mjs +27 -26
  25. package/dist/components/alert.mjs +7 -7
  26. package/dist/components/autocomplete.mjs +7 -7
  27. package/dist/components/avatar.mjs +27 -26
  28. package/dist/components/badge.mjs +27 -26
  29. package/dist/components/bottom-bar.mjs +27 -26
  30. package/dist/components/breadcrumbs.mjs +27 -26
  31. package/dist/components/button.mjs +27 -26
  32. package/dist/components/calendar.mjs +27 -26
  33. package/dist/components/card.mjs +27 -26
  34. package/dist/components/checkbox.mjs +27 -26
  35. package/dist/components/chip.mjs +27 -26
  36. package/dist/components/code.mjs +27 -26
  37. package/dist/components/date-input.mjs +7 -7
  38. package/dist/components/date-picker.mjs +7 -7
  39. package/dist/components/divider.js +4 -4
  40. package/dist/components/divider.mjs +7 -7
  41. package/dist/components/drawer.mjs +7 -7
  42. package/dist/components/drip.mjs +7 -7
  43. package/dist/components/drop-zone.mjs +27 -26
  44. package/dist/components/dropdown.mjs +27 -26
  45. package/dist/components/form.mjs +7 -7
  46. package/dist/components/image.mjs +7 -7
  47. package/dist/components/index.js +141 -4
  48. package/dist/components/index.mjs +33 -29
  49. package/dist/components/input-otp.mjs +27 -26
  50. package/dist/components/input.mjs +27 -26
  51. package/dist/components/kbd.mjs +7 -7
  52. package/dist/components/link.mjs +27 -26
  53. package/dist/components/listbox.mjs +27 -26
  54. package/dist/components/menu.mjs +27 -26
  55. package/dist/components/modal.mjs +27 -26
  56. package/dist/components/navbar.mjs +27 -26
  57. package/dist/components/number-input.mjs +27 -26
  58. package/dist/components/pagination.mjs +27 -26
  59. package/dist/components/popover.mjs +27 -26
  60. package/dist/components/progress.mjs +7 -7
  61. package/dist/components/radio.mjs +27 -26
  62. package/dist/components/scroll-area.mjs +7 -7
  63. package/dist/components/scroll-shadow.mjs +7 -7
  64. package/dist/components/select.mjs +27 -26
  65. package/dist/components/shimmer-text.mjs +7 -7
  66. package/dist/components/sidebar.js +433 -0
  67. package/dist/components/sidebar.mjs +15 -0
  68. package/dist/components/skeleton.mjs +7 -7
  69. package/dist/components/slider.mjs +27 -26
  70. package/dist/components/snippet.mjs +27 -26
  71. package/dist/components/spacer.mjs +7 -7
  72. package/dist/components/spinner.mjs +7 -7
  73. package/dist/components/stepper.mjs +27 -26
  74. package/dist/components/table.mjs +27 -26
  75. package/dist/components/tabs.mjs +27 -26
  76. package/dist/components/toast.mjs +27 -26
  77. package/dist/components/toggle.mjs +27 -26
  78. package/dist/components/user.mjs +27 -26
  79. package/dist/index.js +141 -4
  80. package/dist/index.mjs +33 -29
  81. package/dist/plugin.mjs +5 -5
  82. package/dist/utilities/index.mjs +4 -4
  83. package/dist/utils/cn.mjs +6 -6
  84. package/dist/utils/index.mjs +27 -26
  85. package/dist/utils/merge-classes.mjs +27 -26
  86. package/dist/utils/tv.mjs +6 -6
  87. package/dist/utils/tw-merge-config.mjs +5 -5
  88. package/package.json +1 -1
  89. package/dist/animations/index.d.mts +0 -132
  90. package/dist/animations/index.d.ts +0 -132
  91. package/dist/colors/blue.d.mts +0 -14
  92. package/dist/colors/blue.d.ts +0 -14
  93. package/dist/colors/common.d.mts +0 -103
  94. package/dist/colors/common.d.ts +0 -103
  95. package/dist/colors/cyan.d.mts +0 -14
  96. package/dist/colors/cyan.d.ts +0 -14
  97. package/dist/colors/green.d.mts +0 -14
  98. package/dist/colors/green.d.ts +0 -14
  99. package/dist/colors/index.d.mts +0 -109
  100. package/dist/colors/index.d.ts +0 -109
  101. package/dist/colors/pink.d.mts +0 -14
  102. package/dist/colors/pink.d.ts +0 -14
  103. package/dist/colors/purple.d.mts +0 -14
  104. package/dist/colors/purple.d.ts +0 -14
  105. package/dist/colors/red.d.mts +0 -14
  106. package/dist/colors/red.d.ts +0 -14
  107. package/dist/colors/semantic.d.mts +0 -10
  108. package/dist/colors/semantic.d.ts +0 -10
  109. package/dist/colors/types.d.mts +0 -39
  110. package/dist/colors/types.d.ts +0 -39
  111. package/dist/colors/yellow.d.mts +0 -14
  112. package/dist/colors/yellow.d.ts +0 -14
  113. package/dist/colors/zinc.d.mts +0 -14
  114. package/dist/colors/zinc.d.ts +0 -14
  115. package/dist/colors.d.mts +0 -4
  116. package/dist/colors.d.ts +0 -4
  117. package/dist/components/accordion.d.mts +0 -228
  118. package/dist/components/accordion.d.ts +0 -228
  119. package/dist/components/alert.d.mts +0 -316
  120. package/dist/components/alert.d.ts +0 -316
  121. package/dist/components/autocomplete.d.mts +0 -95
  122. package/dist/components/autocomplete.d.ts +0 -95
  123. package/dist/components/avatar.d.mts +0 -300
  124. package/dist/components/avatar.d.ts +0 -300
  125. package/dist/components/badge.d.mts +0 -223
  126. package/dist/components/badge.d.ts +0 -223
  127. package/dist/components/bottom-bar.d.mts +0 -263
  128. package/dist/components/bottom-bar.d.ts +0 -263
  129. package/dist/components/breadcrumbs.d.mts +0 -379
  130. package/dist/components/breadcrumbs.d.ts +0 -379
  131. package/dist/components/button.d.mts +0 -188
  132. package/dist/components/button.d.ts +0 -188
  133. package/dist/components/calendar.d.mts +0 -279
  134. package/dist/components/calendar.d.ts +0 -279
  135. package/dist/components/card.d.mts +0 -257
  136. package/dist/components/card.d.ts +0 -257
  137. package/dist/components/checkbox.d.mts +0 -375
  138. package/dist/components/checkbox.d.ts +0 -375
  139. package/dist/components/chip.d.mts +0 -340
  140. package/dist/components/chip.d.ts +0 -340
  141. package/dist/components/code.d.mts +0 -80
  142. package/dist/components/code.d.ts +0 -80
  143. package/dist/components/date-input.d.mts +0 -392
  144. package/dist/components/date-input.d.ts +0 -392
  145. package/dist/components/date-picker.d.mts +0 -220
  146. package/dist/components/date-picker.d.ts +0 -220
  147. package/dist/components/divider.d.mts +0 -85
  148. package/dist/components/divider.d.ts +0 -85
  149. package/dist/components/drawer.d.mts +0 -190
  150. package/dist/components/drawer.d.ts +0 -190
  151. package/dist/components/drip.d.mts +0 -13
  152. package/dist/components/drip.d.ts +0 -13
  153. package/dist/components/drop-zone.d.mts +0 -434
  154. package/dist/components/drop-zone.d.ts +0 -434
  155. package/dist/components/dropdown.d.mts +0 -247
  156. package/dist/components/dropdown.d.ts +0 -247
  157. package/dist/components/form.d.mts +0 -19
  158. package/dist/components/form.d.ts +0 -19
  159. package/dist/components/image.d.mts +0 -174
  160. package/dist/components/image.d.ts +0 -174
  161. package/dist/components/index.d.mts +0 -51
  162. package/dist/components/index.d.ts +0 -51
  163. package/dist/components/input-otp.d.mts +0 -282
  164. package/dist/components/input-otp.d.ts +0 -282
  165. package/dist/components/input.d.mts +0 -458
  166. package/dist/components/input.d.ts +0 -458
  167. package/dist/components/kbd.d.mts +0 -50
  168. package/dist/components/kbd.d.ts +0 -50
  169. package/dist/components/link.d.mts +0 -107
  170. package/dist/components/link.d.ts +0 -107
  171. package/dist/components/listbox.d.mts +0 -3
  172. package/dist/components/listbox.d.ts +0 -3
  173. package/dist/components/menu.d.mts +0 -324
  174. package/dist/components/menu.d.ts +0 -324
  175. package/dist/components/modal.d.mts +0 -380
  176. package/dist/components/modal.d.ts +0 -380
  177. package/dist/components/navbar.d.mts +0 -246
  178. package/dist/components/navbar.d.ts +0 -246
  179. package/dist/components/number-input.d.mts +0 -476
  180. package/dist/components/number-input.d.ts +0 -476
  181. package/dist/components/pagination.d.mts +0 -288
  182. package/dist/components/pagination.d.ts +0 -288
  183. package/dist/components/popover.d.mts +0 -339
  184. package/dist/components/popover.d.ts +0 -339
  185. package/dist/components/progress.d.mts +0 -498
  186. package/dist/components/progress.d.ts +0 -498
  187. package/dist/components/radio.d.mts +0 -354
  188. package/dist/components/radio.d.ts +0 -354
  189. package/dist/components/scroll-area.d.mts +0 -109
  190. package/dist/components/scroll-area.d.ts +0 -109
  191. package/dist/components/scroll-shadow.d.mts +0 -48
  192. package/dist/components/scroll-shadow.d.ts +0 -48
  193. package/dist/components/select.d.mts +0 -530
  194. package/dist/components/select.d.ts +0 -530
  195. package/dist/components/shimmer-text.d.mts +0 -46
  196. package/dist/components/shimmer-text.d.ts +0 -46
  197. package/dist/components/skeleton.d.mts +0 -60
  198. package/dist/components/skeleton.d.ts +0 -60
  199. package/dist/components/slider.d.mts +0 -482
  200. package/dist/components/slider.d.ts +0 -482
  201. package/dist/components/snippet.d.mts +0 -206
  202. package/dist/components/snippet.d.ts +0 -206
  203. package/dist/components/spacer.d.mts +0 -31
  204. package/dist/components/spacer.d.ts +0 -31
  205. package/dist/components/spinner.d.mts +0 -398
  206. package/dist/components/spinner.d.ts +0 -398
  207. package/dist/components/stepper.d.mts +0 -288
  208. package/dist/components/stepper.d.ts +0 -288
  209. package/dist/components/table.d.mts +0 -509
  210. package/dist/components/table.d.ts +0 -509
  211. package/dist/components/tabs.d.mts +0 -413
  212. package/dist/components/tabs.d.ts +0 -413
  213. package/dist/components/toast.d.mts +0 -329
  214. package/dist/components/toast.d.ts +0 -329
  215. package/dist/components/toggle.d.mts +0 -243
  216. package/dist/components/toggle.d.ts +0 -243
  217. package/dist/components/user.d.mts +0 -63
  218. package/dist/components/user.d.ts +0 -63
  219. package/dist/default-layout.d.mts +0 -8
  220. package/dist/default-layout.d.ts +0 -8
  221. package/dist/index.d.mts +0 -66
  222. package/dist/index.d.ts +0 -66
  223. package/dist/plugin.d.mts +0 -12
  224. package/dist/plugin.d.ts +0 -12
  225. package/dist/types.d.mts +0 -138
  226. package/dist/types.d.ts +0 -138
  227. package/dist/utilities/animation.d.mts +0 -16
  228. package/dist/utilities/animation.d.ts +0 -16
  229. package/dist/utilities/custom.d.mts +0 -27
  230. package/dist/utilities/custom.d.ts +0 -27
  231. package/dist/utilities/index.d.mts +0 -171
  232. package/dist/utilities/index.d.ts +0 -171
  233. package/dist/utilities/scrollbar-hide.d.mts +0 -59
  234. package/dist/utilities/scrollbar-hide.d.ts +0 -59
  235. package/dist/utilities/shimmer-text.d.mts +0 -42
  236. package/dist/utilities/shimmer-text.d.ts +0 -42
  237. package/dist/utilities/text.d.mts +0 -23
  238. package/dist/utilities/text.d.ts +0 -23
  239. package/dist/utilities/transition.d.mts +0 -58
  240. package/dist/utilities/transition.d.ts +0 -58
  241. package/dist/utils/classes.d.mts +0 -43
  242. package/dist/utils/classes.d.ts +0 -43
  243. package/dist/utils/cn.d.mts +0 -13
  244. package/dist/utils/cn.d.ts +0 -13
  245. package/dist/utils/index.d.mts +0 -7
  246. package/dist/utils/index.d.ts +0 -7
  247. package/dist/utils/merge-classes.d.mts +0 -12
  248. package/dist/utils/merge-classes.d.ts +0 -12
  249. package/dist/utils/object.d.mts +0 -13
  250. package/dist/utils/object.d.ts +0 -13
  251. package/dist/utils/theme.d.mts +0 -9
  252. package/dist/utils/theme.d.ts +0 -9
  253. package/dist/utils/tv.d.mts +0 -5
  254. package/dist/utils/tv.d.ts +0 -5
  255. package/dist/utils/tw-merge-config.d.mts +0 -25
  256. package/dist/utils/tw-merge-config.d.ts +0 -25
  257. package/dist/utils/types.d.mts +0 -10
  258. package/dist/utils/types.d.ts +0 -10
  259. package/dist/utils/variants.d.mts +0 -67
  260. package/dist/utils/variants.d.ts +0 -67
  261. package/dist/{chunk-OQQBKYNE.mjs → chunk-ROFEKAS6.mjs} +9 -9
@@ -1,59 +0,0 @@
1
- declare const scrollbarModes: {
2
- '[data-scrollbar="thin"]': {
3
- "--scrollbar-width": string;
4
- "--scrollbar-color": string;
5
- "--scrollbar-gutter": string;
6
- };
7
- '[data-scrollbar="default"]': {
8
- "--scrollbar-width": string;
9
- "--scrollbar-color": string;
10
- "--scrollbar-gutter": string;
11
- };
12
- '[data-scrollbar="none"]': {
13
- "--scrollbar-width": string;
14
- "--scrollbar-color": string;
15
- "--scrollbar-gutter": string;
16
- };
17
- };
18
- declare const _default: {
19
- /**
20
- * Theme-aware scrollbar
21
- */
22
- ".scrollbar": {
23
- "scrollbar-width": string;
24
- "scrollbar-color": string;
25
- "scrollbar-gutter": string;
26
- };
27
- ".scrollbar-thin": {
28
- "scrollbar-width": string;
29
- "scrollbar-color": string;
30
- "scrollbar-gutter": string;
31
- };
32
- /**
33
- * Scroll Hide
34
- */
35
- ".scrollbar-hide": {
36
- "-ms-overflow-style": string;
37
- "scrollbar-width": string;
38
- "&::-webkit-scrollbar": {
39
- display: string;
40
- };
41
- };
42
- ".scrollbar-default": {
43
- "-ms-overflow-style": string;
44
- "scrollbar-width": string;
45
- "scrollbar-color": string;
46
- "scrollbar-gutter": string;
47
- "&::-webkit-scrollbar": {
48
- display: string;
49
- };
50
- };
51
- ".scrollbar-none": {
52
- "-ms-overflow-style": string;
53
- "scrollbar-width": string;
54
- "scrollbar-color": string;
55
- "scrollbar-gutter": string;
56
- };
57
- };
58
-
59
- export { _default as default, scrollbarModes };
@@ -1,59 +0,0 @@
1
- declare const scrollbarModes: {
2
- '[data-scrollbar="thin"]': {
3
- "--scrollbar-width": string;
4
- "--scrollbar-color": string;
5
- "--scrollbar-gutter": string;
6
- };
7
- '[data-scrollbar="default"]': {
8
- "--scrollbar-width": string;
9
- "--scrollbar-color": string;
10
- "--scrollbar-gutter": string;
11
- };
12
- '[data-scrollbar="none"]': {
13
- "--scrollbar-width": string;
14
- "--scrollbar-color": string;
15
- "--scrollbar-gutter": string;
16
- };
17
- };
18
- declare const _default: {
19
- /**
20
- * Theme-aware scrollbar
21
- */
22
- ".scrollbar": {
23
- "scrollbar-width": string;
24
- "scrollbar-color": string;
25
- "scrollbar-gutter": string;
26
- };
27
- ".scrollbar-thin": {
28
- "scrollbar-width": string;
29
- "scrollbar-color": string;
30
- "scrollbar-gutter": string;
31
- };
32
- /**
33
- * Scroll Hide
34
- */
35
- ".scrollbar-hide": {
36
- "-ms-overflow-style": string;
37
- "scrollbar-width": string;
38
- "&::-webkit-scrollbar": {
39
- display: string;
40
- };
41
- };
42
- ".scrollbar-default": {
43
- "-ms-overflow-style": string;
44
- "scrollbar-width": string;
45
- "scrollbar-color": string;
46
- "scrollbar-gutter": string;
47
- "&::-webkit-scrollbar": {
48
- display: string;
49
- };
50
- };
51
- ".scrollbar-none": {
52
- "-ms-overflow-style": string;
53
- "scrollbar-width": string;
54
- "scrollbar-color": string;
55
- "scrollbar-gutter": string;
56
- };
57
- };
58
-
59
- export { _default as default, scrollbarModes };
@@ -1,42 +0,0 @@
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 };
@@ -1,42 +0,0 @@
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 };
@@ -1,23 +0,0 @@
1
- declare const _default: {
2
- /**
3
- * Text utilities
4
- */
5
- ".text-tiny": {
6
- "font-size": string;
7
- "line-height": string;
8
- };
9
- ".text-small": {
10
- "font-size": string;
11
- "line-height": string;
12
- };
13
- ".text-medium": {
14
- "font-size": string;
15
- "line-height": string;
16
- };
17
- ".text-large": {
18
- "font-size": string;
19
- "line-height": string;
20
- };
21
- };
22
-
23
- export { _default as default };
@@ -1,23 +0,0 @@
1
- declare const _default: {
2
- /**
3
- * Text utilities
4
- */
5
- ".text-tiny": {
6
- "font-size": string;
7
- "line-height": string;
8
- };
9
- ".text-small": {
10
- "font-size": string;
11
- "line-height": string;
12
- };
13
- ".text-medium": {
14
- "font-size": string;
15
- "line-height": string;
16
- };
17
- ".text-large": {
18
- "font-size": string;
19
- "line-height": string;
20
- };
21
- };
22
-
23
- export { _default as default };
@@ -1,58 +0,0 @@
1
- declare const DEFAULT_TRANSITION_DURATION = "250ms";
2
- declare const _default: {
3
- /**
4
- * Transition utilities
5
- */
6
- ".transition-background": {
7
- "transition-property": string;
8
- "transition-timing-function": string;
9
- "transition-duration": string;
10
- };
11
- ".transition-colors-opacity": {
12
- "transition-property": string;
13
- "transition-timing-function": string;
14
- "transition-duration": string;
15
- };
16
- ".transition-width": {
17
- "transition-property": string;
18
- "transition-timing-function": string;
19
- "transition-duration": string;
20
- };
21
- ".transition-height": {
22
- "transition-property": string;
23
- "transition-timing-function": string;
24
- "transition-duration": string;
25
- };
26
- ".transition-size": {
27
- "transition-property": string;
28
- "transition-timing-function": string;
29
- "transition-duration": string;
30
- };
31
- ".transition-left": {
32
- "transition-property": string;
33
- "transition-timing-function": string;
34
- "transition-duration": string;
35
- };
36
- ".transition-transform-opacity": {
37
- "transition-property": string;
38
- "transition-timing-function": string;
39
- "transition-duration": string;
40
- };
41
- ".transition-transform-background": {
42
- "transition-property": string;
43
- "transition-timing-function": string;
44
- "transition-duration": string;
45
- };
46
- ".transition-transform-colors": {
47
- "transition-property": string;
48
- "transition-timing-function": string;
49
- "transition-duration": string;
50
- };
51
- ".transition-transform-colors-opacity": {
52
- "transition-property": string;
53
- "transition-timing-function": string;
54
- "transition-duration": string;
55
- };
56
- };
57
-
58
- export { DEFAULT_TRANSITION_DURATION, _default as default };
@@ -1,58 +0,0 @@
1
- declare const DEFAULT_TRANSITION_DURATION = "250ms";
2
- declare const _default: {
3
- /**
4
- * Transition utilities
5
- */
6
- ".transition-background": {
7
- "transition-property": string;
8
- "transition-timing-function": string;
9
- "transition-duration": string;
10
- };
11
- ".transition-colors-opacity": {
12
- "transition-property": string;
13
- "transition-timing-function": string;
14
- "transition-duration": string;
15
- };
16
- ".transition-width": {
17
- "transition-property": string;
18
- "transition-timing-function": string;
19
- "transition-duration": string;
20
- };
21
- ".transition-height": {
22
- "transition-property": string;
23
- "transition-timing-function": string;
24
- "transition-duration": string;
25
- };
26
- ".transition-size": {
27
- "transition-property": string;
28
- "transition-timing-function": string;
29
- "transition-duration": string;
30
- };
31
- ".transition-left": {
32
- "transition-property": string;
33
- "transition-timing-function": string;
34
- "transition-duration": string;
35
- };
36
- ".transition-transform-opacity": {
37
- "transition-property": string;
38
- "transition-timing-function": string;
39
- "transition-duration": string;
40
- };
41
- ".transition-transform-background": {
42
- "transition-property": string;
43
- "transition-timing-function": string;
44
- "transition-duration": string;
45
- };
46
- ".transition-transform-colors": {
47
- "transition-property": string;
48
- "transition-timing-function": string;
49
- "transition-duration": string;
50
- };
51
- ".transition-transform-colors-opacity": {
52
- "transition-property": string;
53
- "transition-timing-function": string;
54
- "transition-duration": string;
55
- };
56
- };
57
-
58
- export { DEFAULT_TRANSITION_DURATION, _default as default };
@@ -1,43 +0,0 @@
1
- /**
2
- * This is the base classNames for all elements.
3
- * Is meant to be used with the `addBase` method from tailwindcss.
4
- */
5
- declare const baseStyles: (prefix: string) => {
6
- color: string;
7
- backgroundColor: string;
8
- "--scrollbar-thumb": string;
9
- "--scrollbar-track": string;
10
- "--scrollbar-gutter": string;
11
- "--scrollbar-width": string;
12
- "--scrollbar-color": string;
13
- "--table-pinned-bg": string;
14
- "--table-pinned-footer-bg": string;
15
- "--table-pinned-shadow": string;
16
- };
17
- /**
18
- * focus classNames when the element is focused by keyboard.
19
- */
20
- declare const focusVisibleClasses: string[];
21
- declare const dataFocusVisibleClasses: string[];
22
- declare const groupDataFocusVisibleClasses: string[];
23
- declare const ringClasses: string[];
24
- /**
25
- * This classes centers the element by using absolute positioning.
26
- */
27
- declare const translateCenterClasses: string[];
28
- declare const absoluteFullClasses: string[];
29
- /**
30
- * This object defines CSS classes for collapsing adjacent variant borders.
31
- * It includes classes for different variants like default, primary, secondary, etc.
32
- */
33
- declare const collapseAdjacentVariantBorders: {
34
- default: string[];
35
- primary: string[];
36
- secondary: string[];
37
- success: string[];
38
- warning: string[];
39
- danger: string[];
40
- };
41
- declare const hiddenInputClasses: string[];
42
-
43
- export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses };
@@ -1,43 +0,0 @@
1
- /**
2
- * This is the base classNames for all elements.
3
- * Is meant to be used with the `addBase` method from tailwindcss.
4
- */
5
- declare const baseStyles: (prefix: string) => {
6
- color: string;
7
- backgroundColor: string;
8
- "--scrollbar-thumb": string;
9
- "--scrollbar-track": string;
10
- "--scrollbar-gutter": string;
11
- "--scrollbar-width": string;
12
- "--scrollbar-color": string;
13
- "--table-pinned-bg": string;
14
- "--table-pinned-footer-bg": string;
15
- "--table-pinned-shadow": string;
16
- };
17
- /**
18
- * focus classNames when the element is focused by keyboard.
19
- */
20
- declare const focusVisibleClasses: string[];
21
- declare const dataFocusVisibleClasses: string[];
22
- declare const groupDataFocusVisibleClasses: string[];
23
- declare const ringClasses: string[];
24
- /**
25
- * This classes centers the element by using absolute positioning.
26
- */
27
- declare const translateCenterClasses: string[];
28
- declare const absoluteFullClasses: string[];
29
- /**
30
- * This object defines CSS classes for collapsing adjacent variant borders.
31
- * It includes classes for different variants like default, primary, secondary, etc.
32
- */
33
- declare const collapseAdjacentVariantBorders: {
34
- default: string[];
35
- primary: string[];
36
- secondary: string[];
37
- success: string[];
38
- warning: string[];
39
- danger: string[];
40
- };
41
- declare const hiddenInputClasses: string[];
42
-
43
- export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses };
@@ -1,13 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
-
3
- type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
4
- type ClassDictionary = Record<string, any>;
5
- type ClassArray = ClassValue[];
6
- /**
7
- * We need to extend the tailwind merge to include HeroUI's custom classes.
8
- *
9
- * So we can use classes like `text-small` or `text-default-500` and override them.
10
- */
11
- declare function cn(...inputs: ClassValue[]): tailwind_variants.CnReturn;
12
-
13
- export { type ClassArray, type ClassDictionary, type ClassValue, cn };
@@ -1,13 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
-
3
- type ClassValue = ClassArray | ClassDictionary | string | number | bigint | null | boolean | undefined;
4
- type ClassDictionary = Record<string, any>;
5
- type ClassArray = ClassValue[];
6
- /**
7
- * We need to extend the tailwind merge to include HeroUI's custom classes.
8
- *
9
- * So we can use classes like `text-small` or `text-default-500` and override them.
10
- */
11
- declare function cn(...inputs: ClassValue[]): tailwind_variants.CnReturn;
12
-
13
- export { type ClassArray, type ClassDictionary, type ClassValue, cn };
@@ -1,7 +0,0 @@
1
- export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses } from './classes.mjs';
2
- export { SlotsToClasses } from './types.mjs';
3
- export { colorVariants } from './variants.mjs';
4
- export { COMMON_UNITS, twMergeConfig } from './tw-merge-config.mjs';
5
- export { mergeClasses } from './merge-classes.mjs';
6
- export { cn } from './cn.mjs';
7
- import 'tailwind-variants';
@@ -1,7 +0,0 @@
1
- export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses } from './classes.js';
2
- export { SlotsToClasses } from './types.js';
3
- export { colorVariants } from './variants.js';
4
- export { COMMON_UNITS, twMergeConfig } from './tw-merge-config.js';
5
- export { mergeClasses } from './merge-classes.js';
6
- export { cn } from './cn.js';
7
- import 'tailwind-variants';
@@ -1,12 +0,0 @@
1
- import { SlotsToClasses } from './types.mjs';
2
- import 'tailwind-variants';
3
-
4
- /**
5
- * Merges two sets of class names for each slot in a component.
6
- * @param itemClasses - Base classes for each slot
7
- * @param itemPropsClasses - Additional classes from props for each slot
8
- * @returns A merged object containing the combined classes for each slot
9
- */
10
- declare const mergeClasses: <T extends SlotsToClasses<string>, P extends SlotsToClasses<string>>(itemClasses?: T, itemPropsClasses?: P) => T;
11
-
12
- export { mergeClasses };
@@ -1,12 +0,0 @@
1
- import { SlotsToClasses } from './types.js';
2
- import 'tailwind-variants';
3
-
4
- /**
5
- * Merges two sets of class names for each slot in a component.
6
- * @param itemClasses - Base classes for each slot
7
- * @param itemPropsClasses - Additional classes from props for each slot
8
- * @returns A merged object containing the combined classes for each slot
9
- */
10
- declare const mergeClasses: <T extends SlotsToClasses<string>, P extends SlotsToClasses<string>>(itemClasses?: T, itemPropsClasses?: P) => T;
11
-
12
- export { mergeClasses };
@@ -1,13 +0,0 @@
1
- declare function swapColorValues<T extends Object>(colors: T): {};
2
- declare function removeDefaultKeys<T extends Object>(obj: T): {};
3
- declare function flatten(target: any, opts: any): {};
4
- /**
5
- *
6
- * Flatten theme object and remove default keys
7
- *
8
- * @param obj theme object
9
- * @returns object with flattened keys
10
- */
11
- declare const flattenThemeObject: <TTarget>(obj: TTarget) => {};
12
-
13
- export { flatten, flattenThemeObject, removeDefaultKeys, swapColorValues };
@@ -1,13 +0,0 @@
1
- declare function swapColorValues<T extends Object>(colors: T): {};
2
- declare function removeDefaultKeys<T extends Object>(obj: T): {};
3
- declare function flatten(target: any, opts: any): {};
4
- /**
5
- *
6
- * Flatten theme object and remove default keys
7
- *
8
- * @param obj theme object
9
- * @returns object with flattened keys
10
- */
11
- declare const flattenThemeObject: <TTarget>(obj: TTarget) => {};
12
-
13
- export { flatten, flattenThemeObject, removeDefaultKeys, swapColorValues };
@@ -1,9 +0,0 @@
1
- /**
2
- * Determines if the theme is a base theme
3
- *
4
- * @param theme string
5
- * @returns "light" | "dark
6
- */
7
- declare const isBaseTheme: (theme: string) => theme is "light" | "dark";
8
-
9
- export { isBaseTheme };
@@ -1,9 +0,0 @@
1
- /**
2
- * Determines if the theme is a base theme
3
- *
4
- * @param theme string
5
- * @returns "light" | "dark
6
- */
7
- declare const isBaseTheme: (theme: string) => theme is "light" | "dark";
8
-
9
- export { isBaseTheme };
@@ -1,5 +0,0 @@
1
- import { TV } from 'tailwind-variants';
2
-
3
- declare const tv: TV;
4
-
5
- export { tv };
@@ -1,5 +0,0 @@
1
- import { TV } from 'tailwind-variants';
2
-
3
- declare const tv: TV;
4
-
5
- export { tv };
@@ -1,25 +0,0 @@
1
- declare const COMMON_UNITS: string[];
2
- declare const twMergeConfig: {
3
- theme: {
4
- spacing: string[];
5
- radius: string[];
6
- };
7
- classGroups: {
8
- shadow: {
9
- shadow: string[];
10
- }[];
11
- opacity: {
12
- opacity: string[];
13
- }[];
14
- "font-size": {
15
- text: string[];
16
- }[];
17
- "border-w": {
18
- border: string[];
19
- }[];
20
- "bg-image": string[];
21
- transition: string[];
22
- };
23
- };
24
-
25
- export { COMMON_UNITS, twMergeConfig };
@@ -1,25 +0,0 @@
1
- declare const COMMON_UNITS: string[];
2
- declare const twMergeConfig: {
3
- theme: {
4
- spacing: string[];
5
- radius: string[];
6
- };
7
- classGroups: {
8
- shadow: {
9
- shadow: string[];
10
- }[];
11
- opacity: {
12
- opacity: string[];
13
- }[];
14
- "font-size": {
15
- text: string[];
16
- }[];
17
- "border-w": {
18
- border: string[];
19
- }[];
20
- "bg-image": string[];
21
- transition: string[];
22
- };
23
- };
24
-
25
- export { COMMON_UNITS, twMergeConfig };
@@ -1,10 +0,0 @@
1
- import { ClassValue } from 'tailwind-variants';
2
-
3
- /**
4
- * This Typescript utility transform a list of slots into a list of {slot: classes}
5
- */
6
- type SlotsToClasses<S extends string> = {
7
- [key in S]?: Exclude<ClassValue, 0n>;
8
- };
9
-
10
- export type { SlotsToClasses };
@@ -1,10 +0,0 @@
1
- import { ClassValue } from 'tailwind-variants';
2
-
3
- /**
4
- * This Typescript utility transform a list of slots into a list of {slot: classes}
5
- */
6
- type SlotsToClasses<S extends string> = {
7
- [key in S]?: Exclude<ClassValue, 0n>;
8
- };
9
-
10
- export type { SlotsToClasses };