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