@sytechui/theme 2.6.4 → 2.6.5

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 (219) hide show
  1. package/dist/{chunk-T6HDMOJB.mjs → chunk-C4PASXVH.mjs} +1 -1
  2. package/dist/{chunk-NJBUOBAS.mjs → chunk-RXQFUPJE.mjs} +1 -1
  3. package/dist/{chunk-7K2CWEHT.mjs → chunk-ZHIADCEL.mjs} +1 -0
  4. package/dist/components/accordion.mjs +3 -3
  5. package/dist/components/avatar.mjs +3 -3
  6. package/dist/components/badge.mjs +3 -3
  7. package/dist/components/bottom-bar.mjs +3 -3
  8. package/dist/components/breadcrumbs.mjs +3 -3
  9. package/dist/components/button.mjs +3 -3
  10. package/dist/components/calendar.mjs +3 -3
  11. package/dist/components/card.mjs +3 -3
  12. package/dist/components/checkbox.mjs +3 -3
  13. package/dist/components/chip.mjs +3 -3
  14. package/dist/components/code.mjs +3 -3
  15. package/dist/components/drop-zone.mjs +3 -3
  16. package/dist/components/dropdown.mjs +3 -3
  17. package/dist/components/index.mjs +3 -3
  18. package/dist/components/input-otp.mjs +3 -3
  19. package/dist/components/input.mjs +3 -3
  20. package/dist/components/link.mjs +3 -3
  21. package/dist/components/listbox.mjs +3 -3
  22. package/dist/components/menu.mjs +3 -3
  23. package/dist/components/modal.mjs +3 -3
  24. package/dist/components/navbar.mjs +3 -3
  25. package/dist/components/number-input.mjs +3 -3
  26. package/dist/components/pagination.mjs +3 -3
  27. package/dist/components/popover.mjs +3 -3
  28. package/dist/components/radio.mjs +3 -3
  29. package/dist/components/select.mjs +3 -3
  30. package/dist/components/slider.mjs +3 -3
  31. package/dist/components/snippet.mjs +3 -3
  32. package/dist/components/stepper.mjs +3 -3
  33. package/dist/components/table.mjs +3 -3
  34. package/dist/components/tabs.mjs +3 -3
  35. package/dist/components/toast.mjs +3 -3
  36. package/dist/components/toggle.mjs +3 -3
  37. package/dist/components/user.mjs +3 -3
  38. package/dist/index.js +1 -0
  39. package/dist/index.mjs +3 -3
  40. package/dist/plugin.js +1 -0
  41. package/dist/plugin.mjs +2 -2
  42. package/dist/utils/classes.js +1 -0
  43. package/dist/utils/classes.mjs +1 -1
  44. package/dist/utils/index.js +1 -0
  45. package/dist/utils/index.mjs +3 -3
  46. package/dist/utils/merge-classes.mjs +3 -3
  47. package/package.json +1 -1
  48. package/dist/animations/index.d.mts +0 -132
  49. package/dist/animations/index.d.ts +0 -132
  50. package/dist/colors/blue.d.mts +0 -14
  51. package/dist/colors/blue.d.ts +0 -14
  52. package/dist/colors/common.d.mts +0 -103
  53. package/dist/colors/common.d.ts +0 -103
  54. package/dist/colors/cyan.d.mts +0 -14
  55. package/dist/colors/cyan.d.ts +0 -14
  56. package/dist/colors/green.d.mts +0 -14
  57. package/dist/colors/green.d.ts +0 -14
  58. package/dist/colors/index.d.mts +0 -109
  59. package/dist/colors/index.d.ts +0 -109
  60. package/dist/colors/pink.d.mts +0 -14
  61. package/dist/colors/pink.d.ts +0 -14
  62. package/dist/colors/purple.d.mts +0 -14
  63. package/dist/colors/purple.d.ts +0 -14
  64. package/dist/colors/red.d.mts +0 -14
  65. package/dist/colors/red.d.ts +0 -14
  66. package/dist/colors/semantic.d.mts +0 -10
  67. package/dist/colors/semantic.d.ts +0 -10
  68. package/dist/colors/types.d.mts +0 -39
  69. package/dist/colors/types.d.ts +0 -39
  70. package/dist/colors/yellow.d.mts +0 -14
  71. package/dist/colors/yellow.d.ts +0 -14
  72. package/dist/colors/zinc.d.mts +0 -14
  73. package/dist/colors/zinc.d.ts +0 -14
  74. package/dist/colors.d.mts +0 -4
  75. package/dist/colors.d.ts +0 -4
  76. package/dist/components/accordion.d.mts +0 -228
  77. package/dist/components/accordion.d.ts +0 -228
  78. package/dist/components/alert.d.mts +0 -316
  79. package/dist/components/alert.d.ts +0 -316
  80. package/dist/components/autocomplete.d.mts +0 -95
  81. package/dist/components/autocomplete.d.ts +0 -95
  82. package/dist/components/avatar.d.mts +0 -300
  83. package/dist/components/avatar.d.ts +0 -300
  84. package/dist/components/badge.d.mts +0 -223
  85. package/dist/components/badge.d.ts +0 -223
  86. package/dist/components/bottom-bar.d.mts +0 -263
  87. package/dist/components/bottom-bar.d.ts +0 -263
  88. package/dist/components/breadcrumbs.d.mts +0 -379
  89. package/dist/components/breadcrumbs.d.ts +0 -379
  90. package/dist/components/button.d.mts +0 -188
  91. package/dist/components/button.d.ts +0 -188
  92. package/dist/components/calendar.d.mts +0 -279
  93. package/dist/components/calendar.d.ts +0 -279
  94. package/dist/components/card.d.mts +0 -257
  95. package/dist/components/card.d.ts +0 -257
  96. package/dist/components/checkbox.d.mts +0 -375
  97. package/dist/components/checkbox.d.ts +0 -375
  98. package/dist/components/chip.d.mts +0 -340
  99. package/dist/components/chip.d.ts +0 -340
  100. package/dist/components/code.d.mts +0 -80
  101. package/dist/components/code.d.ts +0 -80
  102. package/dist/components/date-input.d.mts +0 -392
  103. package/dist/components/date-input.d.ts +0 -392
  104. package/dist/components/date-picker.d.mts +0 -220
  105. package/dist/components/date-picker.d.ts +0 -220
  106. package/dist/components/divider.d.mts +0 -70
  107. package/dist/components/divider.d.ts +0 -70
  108. package/dist/components/drawer.d.mts +0 -190
  109. package/dist/components/drawer.d.ts +0 -190
  110. package/dist/components/drip.d.mts +0 -13
  111. package/dist/components/drip.d.ts +0 -13
  112. package/dist/components/drop-zone.d.mts +0 -434
  113. package/dist/components/drop-zone.d.ts +0 -434
  114. package/dist/components/dropdown.d.mts +0 -247
  115. package/dist/components/dropdown.d.ts +0 -247
  116. package/dist/components/form.d.mts +0 -19
  117. package/dist/components/form.d.ts +0 -19
  118. package/dist/components/image.d.mts +0 -174
  119. package/dist/components/image.d.ts +0 -174
  120. package/dist/components/index.d.mts +0 -51
  121. package/dist/components/index.d.ts +0 -51
  122. package/dist/components/input-otp.d.mts +0 -282
  123. package/dist/components/input-otp.d.ts +0 -282
  124. package/dist/components/input.d.mts +0 -458
  125. package/dist/components/input.d.ts +0 -458
  126. package/dist/components/kbd.d.mts +0 -50
  127. package/dist/components/kbd.d.ts +0 -50
  128. package/dist/components/link.d.mts +0 -107
  129. package/dist/components/link.d.ts +0 -107
  130. package/dist/components/listbox.d.mts +0 -3
  131. package/dist/components/listbox.d.ts +0 -3
  132. package/dist/components/menu.d.mts +0 -324
  133. package/dist/components/menu.d.ts +0 -324
  134. package/dist/components/modal.d.mts +0 -380
  135. package/dist/components/modal.d.ts +0 -380
  136. package/dist/components/navbar.d.mts +0 -246
  137. package/dist/components/navbar.d.ts +0 -246
  138. package/dist/components/number-input.d.mts +0 -476
  139. package/dist/components/number-input.d.ts +0 -476
  140. package/dist/components/pagination.d.mts +0 -288
  141. package/dist/components/pagination.d.ts +0 -288
  142. package/dist/components/popover.d.mts +0 -339
  143. package/dist/components/popover.d.ts +0 -339
  144. package/dist/components/progress.d.mts +0 -498
  145. package/dist/components/progress.d.ts +0 -498
  146. package/dist/components/radio.d.mts +0 -354
  147. package/dist/components/radio.d.ts +0 -354
  148. package/dist/components/scroll-area.d.mts +0 -109
  149. package/dist/components/scroll-area.d.ts +0 -109
  150. package/dist/components/scroll-shadow.d.mts +0 -48
  151. package/dist/components/scroll-shadow.d.ts +0 -48
  152. package/dist/components/select.d.mts +0 -530
  153. package/dist/components/select.d.ts +0 -530
  154. package/dist/components/shimmer-text.d.mts +0 -46
  155. package/dist/components/shimmer-text.d.ts +0 -46
  156. package/dist/components/skeleton.d.mts +0 -60
  157. package/dist/components/skeleton.d.ts +0 -60
  158. package/dist/components/slider.d.mts +0 -482
  159. package/dist/components/slider.d.ts +0 -482
  160. package/dist/components/snippet.d.mts +0 -206
  161. package/dist/components/snippet.d.ts +0 -206
  162. package/dist/components/spacer.d.mts +0 -31
  163. package/dist/components/spacer.d.ts +0 -31
  164. package/dist/components/spinner.d.mts +0 -398
  165. package/dist/components/spinner.d.ts +0 -398
  166. package/dist/components/stepper.d.mts +0 -288
  167. package/dist/components/stepper.d.ts +0 -288
  168. package/dist/components/table.d.mts +0 -509
  169. package/dist/components/table.d.ts +0 -509
  170. package/dist/components/tabs.d.mts +0 -413
  171. package/dist/components/tabs.d.ts +0 -413
  172. package/dist/components/toast.d.mts +0 -329
  173. package/dist/components/toast.d.ts +0 -329
  174. package/dist/components/toggle.d.mts +0 -243
  175. package/dist/components/toggle.d.ts +0 -243
  176. package/dist/components/user.d.mts +0 -63
  177. package/dist/components/user.d.ts +0 -63
  178. package/dist/default-layout.d.mts +0 -8
  179. package/dist/default-layout.d.ts +0 -8
  180. package/dist/index.d.mts +0 -66
  181. package/dist/index.d.ts +0 -66
  182. package/dist/plugin.d.mts +0 -12
  183. package/dist/plugin.d.ts +0 -12
  184. package/dist/types.d.mts +0 -138
  185. package/dist/types.d.ts +0 -138
  186. package/dist/utilities/animation.d.mts +0 -16
  187. package/dist/utilities/animation.d.ts +0 -16
  188. package/dist/utilities/custom.d.mts +0 -27
  189. package/dist/utilities/custom.d.ts +0 -27
  190. package/dist/utilities/index.d.mts +0 -171
  191. package/dist/utilities/index.d.ts +0 -171
  192. package/dist/utilities/scrollbar-hide.d.mts +0 -59
  193. package/dist/utilities/scrollbar-hide.d.ts +0 -59
  194. package/dist/utilities/shimmer-text.d.mts +0 -42
  195. package/dist/utilities/shimmer-text.d.ts +0 -42
  196. package/dist/utilities/text.d.mts +0 -23
  197. package/dist/utilities/text.d.ts +0 -23
  198. package/dist/utilities/transition.d.mts +0 -58
  199. package/dist/utilities/transition.d.ts +0 -58
  200. package/dist/utils/classes.d.mts +0 -42
  201. package/dist/utils/classes.d.ts +0 -42
  202. package/dist/utils/cn.d.mts +0 -13
  203. package/dist/utils/cn.d.ts +0 -13
  204. package/dist/utils/index.d.mts +0 -7
  205. package/dist/utils/index.d.ts +0 -7
  206. package/dist/utils/merge-classes.d.mts +0 -12
  207. package/dist/utils/merge-classes.d.ts +0 -12
  208. package/dist/utils/object.d.mts +0 -13
  209. package/dist/utils/object.d.ts +0 -13
  210. package/dist/utils/theme.d.mts +0 -9
  211. package/dist/utils/theme.d.ts +0 -9
  212. package/dist/utils/tv.d.mts +0 -5
  213. package/dist/utils/tv.d.ts +0 -5
  214. package/dist/utils/tw-merge-config.d.mts +0 -25
  215. package/dist/utils/tw-merge-config.d.ts +0 -25
  216. package/dist/utils/types.d.mts +0 -10
  217. package/dist/utils/types.d.ts +0 -10
  218. package/dist/utils/variants.d.mts +0 -67
  219. package/dist/utils/variants.d.ts +0 -67
@@ -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,42 +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-shadow": string;
15
- };
16
- /**
17
- * focus classNames when the element is focused by keyboard.
18
- */
19
- declare const focusVisibleClasses: string[];
20
- declare const dataFocusVisibleClasses: string[];
21
- declare const groupDataFocusVisibleClasses: string[];
22
- declare const ringClasses: string[];
23
- /**
24
- * This classes centers the element by using absolute positioning.
25
- */
26
- declare const translateCenterClasses: string[];
27
- declare const absoluteFullClasses: string[];
28
- /**
29
- * This object defines CSS classes for collapsing adjacent variant borders.
30
- * It includes classes for different variants like default, primary, secondary, etc.
31
- */
32
- declare const collapseAdjacentVariantBorders: {
33
- default: string[];
34
- primary: string[];
35
- secondary: string[];
36
- success: string[];
37
- warning: string[];
38
- danger: string[];
39
- };
40
- declare const hiddenInputClasses: string[];
41
-
42
- export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses };
@@ -1,42 +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-shadow": string;
15
- };
16
- /**
17
- * focus classNames when the element is focused by keyboard.
18
- */
19
- declare const focusVisibleClasses: string[];
20
- declare const dataFocusVisibleClasses: string[];
21
- declare const groupDataFocusVisibleClasses: string[];
22
- declare const ringClasses: string[];
23
- /**
24
- * This classes centers the element by using absolute positioning.
25
- */
26
- declare const translateCenterClasses: string[];
27
- declare const absoluteFullClasses: string[];
28
- /**
29
- * This object defines CSS classes for collapsing adjacent variant borders.
30
- * It includes classes for different variants like default, primary, secondary, etc.
31
- */
32
- declare const collapseAdjacentVariantBorders: {
33
- default: string[];
34
- primary: string[];
35
- secondary: string[];
36
- success: string[];
37
- warning: string[];
38
- danger: string[];
39
- };
40
- declare const hiddenInputClasses: string[];
41
-
42
- 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 };