@sytechui/theme 2.6.0 → 2.6.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 (65) hide show
  1. package/dist/{chunk-AI6SQS6Z.mjs → chunk-22RNS2JQ.mjs} +5758 -5524
  2. package/dist/{chunk-XOVETH7K.mjs → chunk-63TVI5PY.mjs} +10 -2
  3. package/dist/{chunk-LV6ZC7XH.mjs → chunk-LD2JADOO.mjs} +8 -8
  4. package/dist/chunk-T754O54S.mjs +96 -0
  5. package/dist/components/accordion.mjs +11 -10
  6. package/dist/components/alert.d.mts +215 -110
  7. package/dist/components/alert.d.ts +215 -110
  8. package/dist/components/alert.js +65 -380
  9. package/dist/components/alert.mjs +5 -41
  10. package/dist/components/avatar.mjs +11 -10
  11. package/dist/components/badge.mjs +11 -10
  12. package/dist/components/bottom-bar.mjs +11 -10
  13. package/dist/components/breadcrumbs.mjs +11 -10
  14. package/dist/components/button.mjs +11 -10
  15. package/dist/components/calendar.mjs +11 -10
  16. package/dist/components/card.mjs +11 -10
  17. package/dist/components/checkbox.mjs +11 -10
  18. package/dist/components/chip.mjs +11 -10
  19. package/dist/components/code.mjs +11 -10
  20. package/dist/components/divider.d.mts +40 -1
  21. package/dist/components/divider.d.ts +40 -1
  22. package/dist/components/divider.js +12 -3
  23. package/dist/components/divider.mjs +5 -3
  24. package/dist/components/drop-zone.mjs +11 -10
  25. package/dist/components/dropdown.mjs +11 -10
  26. package/dist/components/index.d.mts +3 -2
  27. package/dist/components/index.d.ts +3 -2
  28. package/dist/components/index.js +648 -313
  29. package/dist/components/index.mjs +24 -16
  30. package/dist/components/input-otp.mjs +11 -10
  31. package/dist/components/input.mjs +11 -10
  32. package/dist/components/link.mjs +11 -10
  33. package/dist/components/listbox.mjs +11 -10
  34. package/dist/components/menu.mjs +11 -10
  35. package/dist/components/modal.mjs +11 -10
  36. package/dist/components/navbar.mjs +11 -10
  37. package/dist/components/number-input.mjs +11 -10
  38. package/dist/components/pagination.mjs +11 -10
  39. package/dist/components/popover.mjs +11 -10
  40. package/dist/components/radio.mjs +11 -10
  41. package/dist/components/select.mjs +11 -10
  42. package/dist/components/shimmer-text.d.mts +18 -18
  43. package/dist/components/shimmer-text.d.ts +18 -18
  44. package/dist/components/shimmer-text.js +8 -8
  45. package/dist/components/shimmer-text.mjs +1 -1
  46. package/dist/components/slider.mjs +11 -10
  47. package/dist/components/snippet.mjs +11 -10
  48. package/dist/components/stepper.d.mts +288 -0
  49. package/dist/components/stepper.d.ts +288 -0
  50. package/dist/components/stepper.js +849 -0
  51. package/dist/components/stepper.mjs +54 -0
  52. package/dist/components/table.mjs +11 -10
  53. package/dist/components/tabs.mjs +11 -10
  54. package/dist/components/toast.mjs +11 -10
  55. package/dist/components/toggle.mjs +11 -10
  56. package/dist/components/user.mjs +11 -10
  57. package/dist/index.d.mts +3 -2
  58. package/dist/index.d.ts +3 -2
  59. package/dist/index.js +648 -313
  60. package/dist/index.mjs +27 -19
  61. package/dist/plugin.mjs +2 -2
  62. package/dist/utils/index.mjs +15 -14
  63. package/dist/utils/merge-classes.mjs +11 -10
  64. package/package.json +1 -1
  65. package/dist/{chunk-CBIC7UDL.mjs → chunk-YISEC5JS.mjs} +3 -3
@@ -1,43 +1,32 @@
1
1
  import * as tailwind_variants from 'tailwind-variants';
2
2
  import { VariantProps } from 'tailwind-variants';
3
3
 
4
- /**
5
- * Alert wrapper **Tailwind Variants** component
6
- *
7
- * @example
8
- * ```js
9
- * const {base, mainWrapper, title, description, closeButton, alertIcon} = alert({...})
10
- *
11
- *
12
- * <div className={base()}>
13
- * {alertIcon}
14
- * <div className={mainWrapper()}>
15
- * <div className={title()}>Title</div>
16
- * <div className={description()}>Description</div>
17
- * </div>
18
- * <button>
19
- * // close button
20
- * </button>
21
- * </div>
22
- * ```
23
- */
24
- declare const alert: tailwind_variants.TVReturnType<{
25
- color: {
26
- default: {};
27
- primary: {};
28
- secondary: {};
29
- success: {};
30
- warning: {};
31
- danger: {};
32
- };
33
- variant: {
34
- solid: {};
35
- flat: {};
36
- faded: {
4
+ declare const alertVariants: tailwind_variants.TVReturnType<{
5
+ status: {
6
+ default: {
7
+ base: string;
8
+ indicator: string;
9
+ title: string;
10
+ };
11
+ accent: {
12
+ base: string;
13
+ indicator: string[];
14
+ title: string[];
15
+ };
16
+ success: {
17
+ base: string;
18
+ indicator: string[];
19
+ title: string[];
20
+ };
21
+ warning: {
37
22
  base: string;
23
+ indicator: string[];
24
+ title: string[];
38
25
  };
39
- bordered: {
26
+ danger: {
40
27
  base: string;
28
+ indicator: string[];
29
+ title: string[];
41
30
  };
42
31
  };
43
32
  radius: {
@@ -57,48 +46,89 @@ declare const alert: tailwind_variants.TVReturnType<{
57
46
  base: string;
58
47
  };
59
48
  };
60
- hideIcon: {
61
- true: {
62
- iconWrapper: string;
49
+ }, {
50
+ base: string[];
51
+ content: string;
52
+ indicator: string[];
53
+ title: string;
54
+ description: string;
55
+ }, undefined, {
56
+ status: {
57
+ default: {
58
+ base: string;
59
+ indicator: string;
60
+ title: string;
63
61
  };
64
- };
65
- hideIconWrapper: {
66
- true: {
62
+ accent: {
67
63
  base: string;
68
- iconWrapper: string;
64
+ indicator: string[];
65
+ title: string[];
66
+ };
67
+ success: {
68
+ base: string;
69
+ indicator: string[];
70
+ title: string[];
71
+ };
72
+ warning: {
73
+ base: string;
74
+ indicator: string[];
75
+ title: string[];
76
+ };
77
+ danger: {
78
+ base: string;
79
+ indicator: string[];
80
+ title: string[];
69
81
  };
70
82
  };
71
- hasContent: {
72
- false: {
83
+ radius: {
84
+ none: {
85
+ base: string;
86
+ };
87
+ sm: {
88
+ base: string;
89
+ };
90
+ md: {
91
+ base: string;
92
+ };
93
+ lg: {
94
+ base: string;
95
+ };
96
+ full: {
73
97
  base: string;
74
- mainWrapper: string;
75
98
  };
76
99
  };
77
100
  }, {
78
- base: string;
79
- mainWrapper: string;
101
+ base: string[];
102
+ content: string;
103
+ indicator: string[];
80
104
  title: string;
81
105
  description: string;
82
- closeButton: string;
83
- iconWrapper: string;
84
- alertIcon: string;
85
- }, undefined, {
86
- color: {
87
- default: {};
88
- primary: {};
89
- secondary: {};
90
- success: {};
91
- warning: {};
92
- danger: {};
93
- };
94
- variant: {
95
- solid: {};
96
- flat: {};
97
- faded: {
106
+ }, tailwind_variants.TVReturnType<{
107
+ status: {
108
+ default: {
109
+ base: string;
110
+ indicator: string;
111
+ title: string;
112
+ };
113
+ accent: {
114
+ base: string;
115
+ indicator: string[];
116
+ title: string[];
117
+ };
118
+ success: {
119
+ base: string;
120
+ indicator: string[];
121
+ title: string[];
122
+ };
123
+ warning: {
98
124
  base: string;
125
+ indicator: string[];
126
+ title: string[];
99
127
  };
100
- bordered: {
128
+ danger: {
101
129
  base: string;
130
+ indicator: string[];
131
+ title: string[];
102
132
  };
103
133
  };
104
134
  radius: {
@@ -118,48 +148,92 @@ declare const alert: tailwind_variants.TVReturnType<{
118
148
  base: string;
119
149
  };
120
150
  };
121
- hideIcon: {
122
- true: {
123
- iconWrapper: string;
151
+ }, {
152
+ base: string[];
153
+ content: string;
154
+ indicator: string[];
155
+ title: string;
156
+ description: string;
157
+ }, undefined, unknown, unknown, undefined>>;
158
+ type AlertVariants = VariantProps<typeof alertVariants>;
159
+ type AlertSlots = keyof ReturnType<typeof alertVariants>;
160
+ declare const alert: tailwind_variants.TVReturnType<{
161
+ status: {
162
+ default: {
163
+ base: string;
164
+ indicator: string;
165
+ title: string;
124
166
  };
125
- };
126
- hideIconWrapper: {
127
- true: {
167
+ accent: {
128
168
  base: string;
129
- iconWrapper: string;
169
+ indicator: string[];
170
+ title: string[];
171
+ };
172
+ success: {
173
+ base: string;
174
+ indicator: string[];
175
+ title: string[];
176
+ };
177
+ warning: {
178
+ base: string;
179
+ indicator: string[];
180
+ title: string[];
181
+ };
182
+ danger: {
183
+ base: string;
184
+ indicator: string[];
185
+ title: string[];
130
186
  };
131
187
  };
132
- hasContent: {
133
- false: {
188
+ radius: {
189
+ none: {
190
+ base: string;
191
+ };
192
+ sm: {
193
+ base: string;
194
+ };
195
+ md: {
196
+ base: string;
197
+ };
198
+ lg: {
199
+ base: string;
200
+ };
201
+ full: {
134
202
  base: string;
135
- mainWrapper: string;
136
203
  };
137
204
  };
138
205
  }, {
139
- base: string;
140
- mainWrapper: string;
206
+ base: string[];
207
+ content: string;
208
+ indicator: string[];
141
209
  title: string;
142
210
  description: string;
143
- closeButton: string;
144
- iconWrapper: string;
145
- alertIcon: string;
146
- }, tailwind_variants.TVReturnType<{
147
- color: {
148
- default: {};
149
- primary: {};
150
- secondary: {};
151
- success: {};
152
- warning: {};
153
- danger: {};
154
- };
155
- variant: {
156
- solid: {};
157
- flat: {};
158
- faded: {
211
+ }, undefined, {
212
+ status: {
213
+ default: {
214
+ base: string;
215
+ indicator: string;
216
+ title: string;
217
+ };
218
+ accent: {
219
+ base: string;
220
+ indicator: string[];
221
+ title: string[];
222
+ };
223
+ success: {
224
+ base: string;
225
+ indicator: string[];
226
+ title: string[];
227
+ };
228
+ warning: {
159
229
  base: string;
230
+ indicator: string[];
231
+ title: string[];
160
232
  };
161
- bordered: {
233
+ danger: {
162
234
  base: string;
235
+ indicator: string[];
236
+ title: string[];
163
237
  };
164
238
  };
165
239
  radius: {
@@ -179,33 +253,64 @@ declare const alert: tailwind_variants.TVReturnType<{
179
253
  base: string;
180
254
  };
181
255
  };
182
- hideIcon: {
183
- true: {
184
- iconWrapper: string;
256
+ }, {
257
+ base: string[];
258
+ content: string;
259
+ indicator: string[];
260
+ title: string;
261
+ description: string;
262
+ }, tailwind_variants.TVReturnType<{
263
+ status: {
264
+ default: {
265
+ base: string;
266
+ indicator: string;
267
+ title: string;
185
268
  };
186
- };
187
- hideIconWrapper: {
188
- true: {
269
+ accent: {
189
270
  base: string;
190
- iconWrapper: string;
271
+ indicator: string[];
272
+ title: string[];
273
+ };
274
+ success: {
275
+ base: string;
276
+ indicator: string[];
277
+ title: string[];
278
+ };
279
+ warning: {
280
+ base: string;
281
+ indicator: string[];
282
+ title: string[];
283
+ };
284
+ danger: {
285
+ base: string;
286
+ indicator: string[];
287
+ title: string[];
191
288
  };
192
289
  };
193
- hasContent: {
194
- false: {
290
+ radius: {
291
+ none: {
292
+ base: string;
293
+ };
294
+ sm: {
295
+ base: string;
296
+ };
297
+ md: {
298
+ base: string;
299
+ };
300
+ lg: {
301
+ base: string;
302
+ };
303
+ full: {
195
304
  base: string;
196
- mainWrapper: string;
197
305
  };
198
306
  };
199
307
  }, {
200
- base: string;
201
- mainWrapper: string;
308
+ base: string[];
309
+ content: string;
310
+ indicator: string[];
202
311
  title: string;
203
312
  description: string;
204
- closeButton: string;
205
- iconWrapper: string;
206
- alertIcon: string;
207
313
  }, undefined, unknown, unknown, undefined>>;
208
- type AlertVariantProps = VariantProps<typeof alert>;
209
- type AlertSlots = keyof ReturnType<typeof alert>;
314
+ type AlertVariantProps = AlertVariants;
210
315
 
211
- export { type AlertSlots, type AlertVariantProps, alert };
316
+ export { type AlertSlots, type AlertVariantProps, type AlertVariants, alert, alertVariants };