@sytechui/theme 2.6.3 → 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 (222) hide show
  1. package/dist/{chunk-Z4ZQGUPY.mjs → chunk-C4PASXVH.mjs} +11 -52
  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.js +10 -51
  18. package/dist/components/index.mjs +3 -3
  19. package/dist/components/input-otp.mjs +3 -3
  20. package/dist/components/input.mjs +3 -3
  21. package/dist/components/link.mjs +3 -3
  22. package/dist/components/listbox.mjs +3 -3
  23. package/dist/components/menu.mjs +3 -3
  24. package/dist/components/modal.mjs +3 -3
  25. package/dist/components/navbar.mjs +3 -3
  26. package/dist/components/number-input.mjs +3 -3
  27. package/dist/components/pagination.mjs +3 -3
  28. package/dist/components/popover.mjs +3 -3
  29. package/dist/components/radio.mjs +3 -3
  30. package/dist/components/select.mjs +3 -3
  31. package/dist/components/slider.mjs +3 -3
  32. package/dist/components/snippet.mjs +3 -3
  33. package/dist/components/stepper.mjs +3 -3
  34. package/dist/components/table.js +8 -50
  35. package/dist/components/table.mjs +3 -3
  36. package/dist/components/tabs.js +2 -1
  37. package/dist/components/tabs.mjs +3 -3
  38. package/dist/components/toast.mjs +3 -3
  39. package/dist/components/toggle.mjs +3 -3
  40. package/dist/components/user.mjs +3 -3
  41. package/dist/index.js +11 -51
  42. package/dist/index.mjs +3 -3
  43. package/dist/plugin.js +1 -0
  44. package/dist/plugin.mjs +2 -2
  45. package/dist/utils/classes.js +1 -0
  46. package/dist/utils/classes.mjs +1 -1
  47. package/dist/utils/index.js +1 -0
  48. package/dist/utils/index.mjs +3 -3
  49. package/dist/utils/merge-classes.mjs +3 -3
  50. package/package.json +1 -1
  51. package/dist/animations/index.d.mts +0 -132
  52. package/dist/animations/index.d.ts +0 -132
  53. package/dist/colors/blue.d.mts +0 -14
  54. package/dist/colors/blue.d.ts +0 -14
  55. package/dist/colors/common.d.mts +0 -103
  56. package/dist/colors/common.d.ts +0 -103
  57. package/dist/colors/cyan.d.mts +0 -14
  58. package/dist/colors/cyan.d.ts +0 -14
  59. package/dist/colors/green.d.mts +0 -14
  60. package/dist/colors/green.d.ts +0 -14
  61. package/dist/colors/index.d.mts +0 -109
  62. package/dist/colors/index.d.ts +0 -109
  63. package/dist/colors/pink.d.mts +0 -14
  64. package/dist/colors/pink.d.ts +0 -14
  65. package/dist/colors/purple.d.mts +0 -14
  66. package/dist/colors/purple.d.ts +0 -14
  67. package/dist/colors/red.d.mts +0 -14
  68. package/dist/colors/red.d.ts +0 -14
  69. package/dist/colors/semantic.d.mts +0 -10
  70. package/dist/colors/semantic.d.ts +0 -10
  71. package/dist/colors/types.d.mts +0 -39
  72. package/dist/colors/types.d.ts +0 -39
  73. package/dist/colors/yellow.d.mts +0 -14
  74. package/dist/colors/yellow.d.ts +0 -14
  75. package/dist/colors/zinc.d.mts +0 -14
  76. package/dist/colors/zinc.d.ts +0 -14
  77. package/dist/colors.d.mts +0 -4
  78. package/dist/colors.d.ts +0 -4
  79. package/dist/components/accordion.d.mts +0 -228
  80. package/dist/components/accordion.d.ts +0 -228
  81. package/dist/components/alert.d.mts +0 -316
  82. package/dist/components/alert.d.ts +0 -316
  83. package/dist/components/autocomplete.d.mts +0 -95
  84. package/dist/components/autocomplete.d.ts +0 -95
  85. package/dist/components/avatar.d.mts +0 -300
  86. package/dist/components/avatar.d.ts +0 -300
  87. package/dist/components/badge.d.mts +0 -223
  88. package/dist/components/badge.d.ts +0 -223
  89. package/dist/components/bottom-bar.d.mts +0 -263
  90. package/dist/components/bottom-bar.d.ts +0 -263
  91. package/dist/components/breadcrumbs.d.mts +0 -379
  92. package/dist/components/breadcrumbs.d.ts +0 -379
  93. package/dist/components/button.d.mts +0 -188
  94. package/dist/components/button.d.ts +0 -188
  95. package/dist/components/calendar.d.mts +0 -279
  96. package/dist/components/calendar.d.ts +0 -279
  97. package/dist/components/card.d.mts +0 -257
  98. package/dist/components/card.d.ts +0 -257
  99. package/dist/components/checkbox.d.mts +0 -375
  100. package/dist/components/checkbox.d.ts +0 -375
  101. package/dist/components/chip.d.mts +0 -340
  102. package/dist/components/chip.d.ts +0 -340
  103. package/dist/components/code.d.mts +0 -80
  104. package/dist/components/code.d.ts +0 -80
  105. package/dist/components/date-input.d.mts +0 -392
  106. package/dist/components/date-input.d.ts +0 -392
  107. package/dist/components/date-picker.d.mts +0 -220
  108. package/dist/components/date-picker.d.ts +0 -220
  109. package/dist/components/divider.d.mts +0 -70
  110. package/dist/components/divider.d.ts +0 -70
  111. package/dist/components/drawer.d.mts +0 -190
  112. package/dist/components/drawer.d.ts +0 -190
  113. package/dist/components/drip.d.mts +0 -13
  114. package/dist/components/drip.d.ts +0 -13
  115. package/dist/components/drop-zone.d.mts +0 -434
  116. package/dist/components/drop-zone.d.ts +0 -434
  117. package/dist/components/dropdown.d.mts +0 -247
  118. package/dist/components/dropdown.d.ts +0 -247
  119. package/dist/components/form.d.mts +0 -19
  120. package/dist/components/form.d.ts +0 -19
  121. package/dist/components/image.d.mts +0 -174
  122. package/dist/components/image.d.ts +0 -174
  123. package/dist/components/index.d.mts +0 -51
  124. package/dist/components/index.d.ts +0 -51
  125. package/dist/components/input-otp.d.mts +0 -282
  126. package/dist/components/input-otp.d.ts +0 -282
  127. package/dist/components/input.d.mts +0 -458
  128. package/dist/components/input.d.ts +0 -458
  129. package/dist/components/kbd.d.mts +0 -50
  130. package/dist/components/kbd.d.ts +0 -50
  131. package/dist/components/link.d.mts +0 -107
  132. package/dist/components/link.d.ts +0 -107
  133. package/dist/components/listbox.d.mts +0 -3
  134. package/dist/components/listbox.d.ts +0 -3
  135. package/dist/components/menu.d.mts +0 -324
  136. package/dist/components/menu.d.ts +0 -324
  137. package/dist/components/modal.d.mts +0 -380
  138. package/dist/components/modal.d.ts +0 -380
  139. package/dist/components/navbar.d.mts +0 -246
  140. package/dist/components/navbar.d.ts +0 -246
  141. package/dist/components/number-input.d.mts +0 -476
  142. package/dist/components/number-input.d.ts +0 -476
  143. package/dist/components/pagination.d.mts +0 -288
  144. package/dist/components/pagination.d.ts +0 -288
  145. package/dist/components/popover.d.mts +0 -339
  146. package/dist/components/popover.d.ts +0 -339
  147. package/dist/components/progress.d.mts +0 -498
  148. package/dist/components/progress.d.ts +0 -498
  149. package/dist/components/radio.d.mts +0 -354
  150. package/dist/components/radio.d.ts +0 -354
  151. package/dist/components/scroll-area.d.mts +0 -109
  152. package/dist/components/scroll-area.d.ts +0 -109
  153. package/dist/components/scroll-shadow.d.mts +0 -48
  154. package/dist/components/scroll-shadow.d.ts +0 -48
  155. package/dist/components/select.d.mts +0 -530
  156. package/dist/components/select.d.ts +0 -530
  157. package/dist/components/shimmer-text.d.mts +0 -46
  158. package/dist/components/shimmer-text.d.ts +0 -46
  159. package/dist/components/skeleton.d.mts +0 -60
  160. package/dist/components/skeleton.d.ts +0 -60
  161. package/dist/components/slider.d.mts +0 -482
  162. package/dist/components/slider.d.ts +0 -482
  163. package/dist/components/snippet.d.mts +0 -206
  164. package/dist/components/snippet.d.ts +0 -206
  165. package/dist/components/spacer.d.mts +0 -31
  166. package/dist/components/spacer.d.ts +0 -31
  167. package/dist/components/spinner.d.mts +0 -398
  168. package/dist/components/spinner.d.ts +0 -398
  169. package/dist/components/stepper.d.mts +0 -288
  170. package/dist/components/stepper.d.ts +0 -288
  171. package/dist/components/table.d.mts +0 -509
  172. package/dist/components/table.d.ts +0 -509
  173. package/dist/components/tabs.d.mts +0 -413
  174. package/dist/components/tabs.d.ts +0 -413
  175. package/dist/components/toast.d.mts +0 -329
  176. package/dist/components/toast.d.ts +0 -329
  177. package/dist/components/toggle.d.mts +0 -243
  178. package/dist/components/toggle.d.ts +0 -243
  179. package/dist/components/user.d.mts +0 -63
  180. package/dist/components/user.d.ts +0 -63
  181. package/dist/default-layout.d.mts +0 -8
  182. package/dist/default-layout.d.ts +0 -8
  183. package/dist/index.d.mts +0 -66
  184. package/dist/index.d.ts +0 -66
  185. package/dist/plugin.d.mts +0 -12
  186. package/dist/plugin.d.ts +0 -12
  187. package/dist/types.d.mts +0 -138
  188. package/dist/types.d.ts +0 -138
  189. package/dist/utilities/animation.d.mts +0 -16
  190. package/dist/utilities/animation.d.ts +0 -16
  191. package/dist/utilities/custom.d.mts +0 -27
  192. package/dist/utilities/custom.d.ts +0 -27
  193. package/dist/utilities/index.d.mts +0 -171
  194. package/dist/utilities/index.d.ts +0 -171
  195. package/dist/utilities/scrollbar-hide.d.mts +0 -59
  196. package/dist/utilities/scrollbar-hide.d.ts +0 -59
  197. package/dist/utilities/shimmer-text.d.mts +0 -42
  198. package/dist/utilities/shimmer-text.d.ts +0 -42
  199. package/dist/utilities/text.d.mts +0 -23
  200. package/dist/utilities/text.d.ts +0 -23
  201. package/dist/utilities/transition.d.mts +0 -58
  202. package/dist/utilities/transition.d.ts +0 -58
  203. package/dist/utils/classes.d.mts +0 -42
  204. package/dist/utils/classes.d.ts +0 -42
  205. package/dist/utils/cn.d.mts +0 -13
  206. package/dist/utils/cn.d.ts +0 -13
  207. package/dist/utils/index.d.mts +0 -7
  208. package/dist/utils/index.d.ts +0 -7
  209. package/dist/utils/merge-classes.d.mts +0 -12
  210. package/dist/utils/merge-classes.d.ts +0 -12
  211. package/dist/utils/object.d.mts +0 -13
  212. package/dist/utils/object.d.ts +0 -13
  213. package/dist/utils/theme.d.mts +0 -9
  214. package/dist/utils/theme.d.ts +0 -9
  215. package/dist/utils/tv.d.mts +0 -5
  216. package/dist/utils/tv.d.ts +0 -5
  217. package/dist/utils/tw-merge-config.d.mts +0 -25
  218. package/dist/utils/tw-merge-config.d.ts +0 -25
  219. package/dist/utils/types.d.mts +0 -10
  220. package/dist/utils/types.d.ts +0 -10
  221. package/dist/utils/variants.d.mts +0 -67
  222. package/dist/utils/variants.d.ts +0 -67
@@ -1,247 +0,0 @@
1
- import * as tailwind_merge from 'tailwind-merge';
2
- import * as tailwind_variants from 'tailwind-variants';
3
- import { VariantProps } from 'tailwind-variants';
4
-
5
- /**
6
- * Dropdown wrapper **Tailwind Variants** component
7
- *
8
- * const { base, menu } = dropdown({...})
9
- *
10
- * @example
11
- * <div>
12
- * <button className={trigger()} aria-expanded="true/false">your trigger</button>
13
- * <div className={base()}>
14
- * // dropdown content
15
- * <span className={arrow()} data-placement="top/bottom/left/right..." /> // arrow
16
- * </div>
17
- * </div>
18
- */
19
- declare const dropdown: tailwind_variants.TVReturnType<{} | {} | {}, undefined, string[], {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, string[], unknown, unknown, undefined>>;
20
- /**
21
- * DropdownItem wrapper **Tailwind Variants** component
22
- *
23
- * const {base, heading, indicator, trigger, leftIndicator, title, subtitle, content } = dropdownItem({...})
24
- *
25
- * @example
26
- * <div className={base())} data-focus-visible={boolean} data-hover={boolean}>
27
- * <div className={heading())}>
28
- * <button className={trigger())}>
29
- * <div className={leftIndicator()}>
30
- * // content
31
- * </div>
32
- * <div className={titleWrapper()}>
33
- * <h3 className={title())}>Title</h3>
34
- * <span className={subtitle())}>Subtitle</span>
35
- * </div>
36
- * <span className={indicator())}>Indicator</span>
37
- * </button>
38
- * </div>
39
- * <div className={content())}>Content</div>
40
- * </div>
41
- */
42
- declare const dropdownItem: tailwind_variants.TVReturnType<{
43
- variant: {
44
- solid: {
45
- base: string;
46
- };
47
- bordered: {
48
- base: string;
49
- };
50
- light: {
51
- base: string;
52
- };
53
- faded: {
54
- base: string;
55
- };
56
- flat: {
57
- base: string;
58
- };
59
- shadow: {
60
- base: string;
61
- };
62
- };
63
- color: {
64
- default: {};
65
- primary: {};
66
- secondary: {};
67
- success: {};
68
- warning: {};
69
- danger: {};
70
- };
71
- isDisabled: {
72
- true: {
73
- base: string;
74
- };
75
- };
76
- disableAnimation: {
77
- true: {};
78
- false: {};
79
- };
80
- }, {
81
- base: string[];
82
- wrapper: string;
83
- title: string;
84
- description: string[];
85
- selectedIcon: string[];
86
- shortcut: string[];
87
- }, undefined, {
88
- variant: {
89
- solid: {
90
- base: string;
91
- };
92
- bordered: {
93
- base: string;
94
- };
95
- light: {
96
- base: string;
97
- };
98
- faded: {
99
- base: string;
100
- };
101
- flat: {
102
- base: string;
103
- };
104
- shadow: {
105
- base: string;
106
- };
107
- };
108
- color: {
109
- default: {};
110
- primary: {};
111
- secondary: {};
112
- success: {};
113
- warning: {};
114
- danger: {};
115
- };
116
- isDisabled: {
117
- true: {
118
- base: string;
119
- };
120
- };
121
- disableAnimation: {
122
- true: {};
123
- false: {};
124
- };
125
- }, {
126
- base: string[];
127
- wrapper: string;
128
- title: string;
129
- description: string[];
130
- selectedIcon: string[];
131
- shortcut: string[];
132
- }, tailwind_variants.TVReturnType<{
133
- variant: {
134
- solid: {
135
- base: string;
136
- };
137
- bordered: {
138
- base: string;
139
- };
140
- light: {
141
- base: string;
142
- };
143
- faded: {
144
- base: string;
145
- };
146
- flat: {
147
- base: string;
148
- };
149
- shadow: {
150
- base: string;
151
- };
152
- };
153
- color: {
154
- default: {};
155
- primary: {};
156
- secondary: {};
157
- success: {};
158
- warning: {};
159
- danger: {};
160
- };
161
- isDisabled: {
162
- true: {
163
- base: string;
164
- };
165
- };
166
- disableAnimation: {
167
- true: {};
168
- false: {};
169
- };
170
- }, {
171
- base: string[];
172
- wrapper: string;
173
- title: string;
174
- description: string[];
175
- selectedIcon: string[];
176
- shortcut: string[];
177
- }, undefined, unknown, unknown, undefined>>;
178
- /**
179
- * Dropdown wrapper **Tailwind Variants** component
180
- *
181
- * const { base, section, heading } = dropdownSection({...})
182
- *
183
- * @example
184
- * <div className={base()}>
185
- * <button className={trigger()} aria-expanded="true/false">your trigger</button>
186
- * <div className={section()}>
187
- * // dropdown content
188
- * <span className={arrow()} data-placement="top/bottom/left/right..." /> // arrow
189
- * </div>
190
- * </div>
191
- */
192
- declare const dropdownSection: tailwind_variants.TVReturnType<{
193
- [key: string]: {
194
- [key: string]: tailwind_merge.ClassNameValue | {
195
- divider?: tailwind_merge.ClassNameValue;
196
- base?: tailwind_merge.ClassNameValue;
197
- group?: tailwind_merge.ClassNameValue;
198
- heading?: tailwind_merge.ClassNameValue;
199
- };
200
- };
201
- } | {
202
- [x: string]: {
203
- [x: string]: tailwind_merge.ClassNameValue | {
204
- divider?: tailwind_merge.ClassNameValue;
205
- base?: tailwind_merge.ClassNameValue;
206
- group?: tailwind_merge.ClassNameValue;
207
- heading?: tailwind_merge.ClassNameValue;
208
- };
209
- };
210
- } | {}, {
211
- base: string;
212
- heading: string;
213
- group: string;
214
- divider: string;
215
- }, undefined, {
216
- [key: string]: {
217
- [key: string]: tailwind_merge.ClassNameValue | {
218
- divider?: tailwind_merge.ClassNameValue;
219
- base?: tailwind_merge.ClassNameValue;
220
- group?: tailwind_merge.ClassNameValue;
221
- heading?: tailwind_merge.ClassNameValue;
222
- };
223
- };
224
- } | {}, {
225
- base: string;
226
- heading: string;
227
- group: string;
228
- divider: string;
229
- }, tailwind_variants.TVReturnType<unknown, {
230
- base: string;
231
- heading: string;
232
- group: string;
233
- divider: string;
234
- }, undefined, unknown, unknown, undefined>>;
235
- /**
236
- * Dropdown Menu wrapper **Tailwind Variants** component
237
- *
238
- * const classNames = dropdownMenu({...})
239
-
240
- */
241
- declare const dropdownMenu: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "w-full flex flex-col gap-0.5 p-1", {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "w-full flex flex-col gap-0.5 p-1", unknown, unknown, undefined>>;
242
- type DropdownSectionVariantProps = VariantProps<typeof dropdownSection>;
243
- type DropdownSectionSlots = keyof ReturnType<typeof dropdownSection>;
244
- type DropdownItemVariantProps = VariantProps<typeof dropdownItem>;
245
- type DropdownItemSlots = keyof ReturnType<typeof dropdownItem>;
246
-
247
- export { type DropdownItemSlots, type DropdownItemVariantProps, type DropdownSectionSlots, type DropdownSectionVariantProps, dropdown, dropdownItem, dropdownMenu, dropdownSection };
@@ -1,19 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
-
4
- /**
5
- * Card **Tailwind Variants** component
6
- *
7
- * @example
8
- * ```js
9
- * const classNames = form({...})
10
- *
11
- * <form className={base()}>
12
- * // form content
13
- * </form>
14
- * ```
15
- */
16
- declare const form: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "flex flex-col gap-2 items-start", {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "flex flex-col gap-2 items-start", unknown, unknown, undefined>>;
17
- type FormVariantProps = VariantProps<typeof form>;
18
-
19
- export { type FormVariantProps, form };
@@ -1,19 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
-
4
- /**
5
- * Card **Tailwind Variants** component
6
- *
7
- * @example
8
- * ```js
9
- * const classNames = form({...})
10
- *
11
- * <form className={base()}>
12
- * // form content
13
- * </form>
14
- * ```
15
- */
16
- declare const form: tailwind_variants.TVReturnType<{} | {} | {}, undefined, "flex flex-col gap-2 items-start", {} | {}, undefined, tailwind_variants.TVReturnType<unknown, undefined, "flex flex-col gap-2 items-start", unknown, unknown, undefined>>;
17
- type FormVariantProps = VariantProps<typeof form>;
18
-
19
- export { type FormVariantProps, form };
@@ -1,174 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
-
4
- /**
5
- * Image wrapper **Tailwind Variants** component
6
- *
7
- * const {img, wrapper, blurredImg, zoomedWrapper} = image({...})
8
- *
9
- * @example
10
- * <div className={wrapper()}>
11
- * <img alt="image" className={img())} src="https://..." />
12
- * // wrap the image if you want to zoom it
13
- * <div className={zoomedWrapper()}>
14
- * <img alt="image" className={img())} src="https://..." />
15
- * </div>
16
- * // duplicate it for the blur effect
17
- * <img alt="image" className={blurredImg())} src="https://..." />
18
- * </div>
19
- */
20
- declare const image: tailwind_variants.TVReturnType<{
21
- radius: {
22
- none: {};
23
- sm: {};
24
- md: {};
25
- lg: {};
26
- full: {};
27
- };
28
- shadow: {
29
- none: {
30
- wrapper: string;
31
- img: string;
32
- };
33
- sm: {
34
- wrapper: string;
35
- img: string;
36
- };
37
- md: {
38
- wrapper: string;
39
- img: string;
40
- };
41
- lg: {
42
- wrapper: string;
43
- img: string;
44
- };
45
- };
46
- isZoomed: {
47
- true: {
48
- img: string[];
49
- };
50
- };
51
- showSkeleton: {
52
- true: {
53
- wrapper: string[];
54
- img: string;
55
- };
56
- };
57
- disableAnimation: {
58
- true: {
59
- img: string;
60
- };
61
- false: {
62
- img: string;
63
- };
64
- };
65
- }, {
66
- wrapper: string;
67
- zoomedWrapper: string;
68
- img: string;
69
- blurredImg: string[];
70
- }, undefined, {
71
- radius: {
72
- none: {};
73
- sm: {};
74
- md: {};
75
- lg: {};
76
- full: {};
77
- };
78
- shadow: {
79
- none: {
80
- wrapper: string;
81
- img: string;
82
- };
83
- sm: {
84
- wrapper: string;
85
- img: string;
86
- };
87
- md: {
88
- wrapper: string;
89
- img: string;
90
- };
91
- lg: {
92
- wrapper: string;
93
- img: string;
94
- };
95
- };
96
- isZoomed: {
97
- true: {
98
- img: string[];
99
- };
100
- };
101
- showSkeleton: {
102
- true: {
103
- wrapper: string[];
104
- img: string;
105
- };
106
- };
107
- disableAnimation: {
108
- true: {
109
- img: string;
110
- };
111
- false: {
112
- img: string;
113
- };
114
- };
115
- }, {
116
- wrapper: string;
117
- zoomedWrapper: string;
118
- img: string;
119
- blurredImg: string[];
120
- }, tailwind_variants.TVReturnType<{
121
- radius: {
122
- none: {};
123
- sm: {};
124
- md: {};
125
- lg: {};
126
- full: {};
127
- };
128
- shadow: {
129
- none: {
130
- wrapper: string;
131
- img: string;
132
- };
133
- sm: {
134
- wrapper: string;
135
- img: string;
136
- };
137
- md: {
138
- wrapper: string;
139
- img: string;
140
- };
141
- lg: {
142
- wrapper: string;
143
- img: string;
144
- };
145
- };
146
- isZoomed: {
147
- true: {
148
- img: string[];
149
- };
150
- };
151
- showSkeleton: {
152
- true: {
153
- wrapper: string[];
154
- img: string;
155
- };
156
- };
157
- disableAnimation: {
158
- true: {
159
- img: string;
160
- };
161
- false: {
162
- img: string;
163
- };
164
- };
165
- }, {
166
- wrapper: string;
167
- zoomedWrapper: string;
168
- img: string;
169
- blurredImg: string[];
170
- }, undefined, unknown, unknown, undefined>>;
171
- type ImageVariantProps = VariantProps<typeof image>;
172
- type ImageSlots = keyof ReturnType<typeof image>;
173
-
174
- export { type ImageSlots, type ImageVariantProps, image };
@@ -1,174 +0,0 @@
1
- import * as tailwind_variants from 'tailwind-variants';
2
- import { VariantProps } from 'tailwind-variants';
3
-
4
- /**
5
- * Image wrapper **Tailwind Variants** component
6
- *
7
- * const {img, wrapper, blurredImg, zoomedWrapper} = image({...})
8
- *
9
- * @example
10
- * <div className={wrapper()}>
11
- * <img alt="image" className={img())} src="https://..." />
12
- * // wrap the image if you want to zoom it
13
- * <div className={zoomedWrapper()}>
14
- * <img alt="image" className={img())} src="https://..." />
15
- * </div>
16
- * // duplicate it for the blur effect
17
- * <img alt="image" className={blurredImg())} src="https://..." />
18
- * </div>
19
- */
20
- declare const image: tailwind_variants.TVReturnType<{
21
- radius: {
22
- none: {};
23
- sm: {};
24
- md: {};
25
- lg: {};
26
- full: {};
27
- };
28
- shadow: {
29
- none: {
30
- wrapper: string;
31
- img: string;
32
- };
33
- sm: {
34
- wrapper: string;
35
- img: string;
36
- };
37
- md: {
38
- wrapper: string;
39
- img: string;
40
- };
41
- lg: {
42
- wrapper: string;
43
- img: string;
44
- };
45
- };
46
- isZoomed: {
47
- true: {
48
- img: string[];
49
- };
50
- };
51
- showSkeleton: {
52
- true: {
53
- wrapper: string[];
54
- img: string;
55
- };
56
- };
57
- disableAnimation: {
58
- true: {
59
- img: string;
60
- };
61
- false: {
62
- img: string;
63
- };
64
- };
65
- }, {
66
- wrapper: string;
67
- zoomedWrapper: string;
68
- img: string;
69
- blurredImg: string[];
70
- }, undefined, {
71
- radius: {
72
- none: {};
73
- sm: {};
74
- md: {};
75
- lg: {};
76
- full: {};
77
- };
78
- shadow: {
79
- none: {
80
- wrapper: string;
81
- img: string;
82
- };
83
- sm: {
84
- wrapper: string;
85
- img: string;
86
- };
87
- md: {
88
- wrapper: string;
89
- img: string;
90
- };
91
- lg: {
92
- wrapper: string;
93
- img: string;
94
- };
95
- };
96
- isZoomed: {
97
- true: {
98
- img: string[];
99
- };
100
- };
101
- showSkeleton: {
102
- true: {
103
- wrapper: string[];
104
- img: string;
105
- };
106
- };
107
- disableAnimation: {
108
- true: {
109
- img: string;
110
- };
111
- false: {
112
- img: string;
113
- };
114
- };
115
- }, {
116
- wrapper: string;
117
- zoomedWrapper: string;
118
- img: string;
119
- blurredImg: string[];
120
- }, tailwind_variants.TVReturnType<{
121
- radius: {
122
- none: {};
123
- sm: {};
124
- md: {};
125
- lg: {};
126
- full: {};
127
- };
128
- shadow: {
129
- none: {
130
- wrapper: string;
131
- img: string;
132
- };
133
- sm: {
134
- wrapper: string;
135
- img: string;
136
- };
137
- md: {
138
- wrapper: string;
139
- img: string;
140
- };
141
- lg: {
142
- wrapper: string;
143
- img: string;
144
- };
145
- };
146
- isZoomed: {
147
- true: {
148
- img: string[];
149
- };
150
- };
151
- showSkeleton: {
152
- true: {
153
- wrapper: string[];
154
- img: string;
155
- };
156
- };
157
- disableAnimation: {
158
- true: {
159
- img: string;
160
- };
161
- false: {
162
- img: string;
163
- };
164
- };
165
- }, {
166
- wrapper: string;
167
- zoomedWrapper: string;
168
- img: string;
169
- blurredImg: string[];
170
- }, undefined, unknown, unknown, undefined>>;
171
- type ImageVariantProps = VariantProps<typeof image>;
172
- type ImageSlots = keyof ReturnType<typeof image>;
173
-
174
- export { type ImageSlots, type ImageVariantProps, image };
@@ -1,51 +0,0 @@
1
- export { AvatarGroupSlots, AvatarGroupVariantProps, AvatarSlots, AvatarVariantProps, avatar, avatarGroup } from './avatar.mjs';
2
- export { CardReturnType, CardSlots, CardVariantProps, card } from './card.mjs';
3
- export { LinkVariantProps, link, linkAnchorClasses } from './link.mjs';
4
- export { UserSlots, user } from './user.mjs';
5
- export { ButtonGroupVariantProps, ButtonVariantProps, button, buttonGroup } from './button.mjs';
6
- export { drip } from './drip.mjs';
7
- export { SpinnerSlots, SpinnerVariantProps, spinner } from './spinner.mjs';
8
- export { StepperReturnType, StepperSlots, StepperVariantProps, stepper } from './stepper.mjs';
9
- export { CodeVariantProps, code } from './code.mjs';
10
- export { PopoverSlots, PopoverVariantProps, popover } from './popover.mjs';
11
- export { SnippetSlots, SnippetVariantProps, snippet } from './snippet.mjs';
12
- export { ChipSlots, ChipVariantProps, chip } from './chip.mjs';
13
- export { BadgeSlots, BadgeVariantProps, badge } from './badge.mjs';
14
- export { BottomBarReturnType, BottomBarSlots, BottomBarVariantProps, bottomBar } from './bottom-bar.mjs';
15
- export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './checkbox.mjs';
16
- export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './radio.mjs';
17
- export { PaginationSlots, PaginationVariantProps, pagination } from './pagination.mjs';
18
- export { ToggleSlots, ToggleVariantProps, toggle } from './toggle.mjs';
19
- export { AccordionGroupVariantProps, AccordionItemSlots, AccordionItemVariantProps, accordion, accordionItem } from './accordion.mjs';
20
- export { CircularProgressSlots, CircularProgressVariantProps, ProgressSlots, ProgressVariantProps, circularProgress, progress } from './progress.mjs';
21
- export { InputOtpReturnType, InputOtpSlots, InputOtpVariantProps, inputOtp } from './input-otp.mjs';
22
- export { InputSlots, InputVariantProps, input } from './input.mjs';
23
- export { DropdownItemSlots, DropdownItemVariantProps, DropdownSectionSlots, DropdownSectionVariantProps, dropdown, dropdownItem, dropdownMenu, dropdownSection } from './dropdown.mjs';
24
- export { DropZoneSlots, DropZoneVariantProps, dropZone } from './drop-zone.mjs';
25
- export { ImageSlots, ImageVariantProps, image } from './image.mjs';
26
- export { ModalSlots, ModalVariantProps, modal } from './modal.mjs';
27
- export { NavbarSlots, NavbarVariantProps, navbar } from './navbar.mjs';
28
- export { TableReturnType, TableSlots, TableVariantProps, table } from './table.mjs';
29
- export { SpacerVariantProps, spacer } from './spacer.mjs';
30
- export { DividerVariantProps, LabeledDividerSlots, divider, labeledDivider } from './divider.mjs';
31
- export { KbdSlots, KbdVariantProps, kbd } from './kbd.mjs';
32
- export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './tabs.mjs';
33
- export { SkeletonSlots, SkeletonVariantProps, skeleton } from './skeleton.mjs';
34
- export { ShimmerTextVariantProps, shimmerText } from './shimmer-text.mjs';
35
- export { SelectSlots, SelectVariantProps, select } from './select.mjs';
36
- export { MenuItemSlots as ListboxItemSlots, MenuItemVariantProps as ListboxItemVariantProps, MenuSectionSlots as ListboxSectionSlots, MenuSectionVariantProps as ListboxSectionVariantProps, MenuSlots as ListboxSlots, MenuVariantProps as ListboxVariantProps, MenuItemSlots, MenuItemVariantProps, MenuSectionSlots, MenuSectionVariantProps, MenuSlots, MenuVariantProps, menu as listbox, menuItem as listboxItem, menuSection as listboxSection, menu, menuItem, menuSection } from './menu.mjs';
37
- export { ScrollShadowVariantProps, scrollShadow } from './scroll-shadow.mjs';
38
- export { ScrollAreaReturnType, ScrollAreaSlots, ScrollAreaVariantProps, scrollArea } from './scroll-area.mjs';
39
- export { SliderSlots, SliderVariantProps, slider } from './slider.mjs';
40
- export { BreadcrumbItemSlots, BreadcrumbItemVariantProps, BreadcrumbsSlots, BreadcrumbsVariantProps, breadcrumbItem, breadcrumbs } from './breadcrumbs.mjs';
41
- export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './autocomplete.mjs';
42
- export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './calendar.mjs';
43
- export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './date-input.mjs';
44
- export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './date-picker.mjs';
45
- export { AlertSlots, AlertVariantProps, AlertVariants, alert, alertVariants } from './alert.mjs';
46
- export { DrawerVariants, drawer } from './drawer.mjs';
47
- export { FormVariantProps, form } from './form.mjs';
48
- export { NumberInputSlots, NumberInputVariantProps, numberInput } from './number-input.mjs';
49
- export { ToastRegionSlots, ToastRegionVariantProps, ToastSlots, ToastVariantProps, toast, toastRegion } from './toast.mjs';
50
- import 'tailwind-variants';
51
- import 'tailwind-merge';