@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.
- package/dist/{chunk-Z4ZQGUPY.mjs → chunk-C4PASXVH.mjs} +11 -52
- package/dist/{chunk-NJBUOBAS.mjs → chunk-RXQFUPJE.mjs} +1 -1
- package/dist/{chunk-7K2CWEHT.mjs → chunk-ZHIADCEL.mjs} +1 -0
- package/dist/components/accordion.mjs +3 -3
- package/dist/components/avatar.mjs +3 -3
- package/dist/components/badge.mjs +3 -3
- package/dist/components/bottom-bar.mjs +3 -3
- package/dist/components/breadcrumbs.mjs +3 -3
- package/dist/components/button.mjs +3 -3
- package/dist/components/calendar.mjs +3 -3
- package/dist/components/card.mjs +3 -3
- package/dist/components/checkbox.mjs +3 -3
- package/dist/components/chip.mjs +3 -3
- package/dist/components/code.mjs +3 -3
- package/dist/components/drop-zone.mjs +3 -3
- package/dist/components/dropdown.mjs +3 -3
- package/dist/components/index.js +10 -51
- package/dist/components/index.mjs +3 -3
- package/dist/components/input-otp.mjs +3 -3
- package/dist/components/input.mjs +3 -3
- package/dist/components/link.mjs +3 -3
- package/dist/components/listbox.mjs +3 -3
- package/dist/components/menu.mjs +3 -3
- package/dist/components/modal.mjs +3 -3
- package/dist/components/navbar.mjs +3 -3
- package/dist/components/number-input.mjs +3 -3
- package/dist/components/pagination.mjs +3 -3
- package/dist/components/popover.mjs +3 -3
- package/dist/components/radio.mjs +3 -3
- package/dist/components/select.mjs +3 -3
- package/dist/components/slider.mjs +3 -3
- package/dist/components/snippet.mjs +3 -3
- package/dist/components/stepper.mjs +3 -3
- package/dist/components/table.js +8 -50
- package/dist/components/table.mjs +3 -3
- package/dist/components/tabs.js +2 -1
- package/dist/components/tabs.mjs +3 -3
- package/dist/components/toast.mjs +3 -3
- package/dist/components/toggle.mjs +3 -3
- package/dist/components/user.mjs +3 -3
- package/dist/index.js +11 -51
- package/dist/index.mjs +3 -3
- package/dist/plugin.js +1 -0
- package/dist/plugin.mjs +2 -2
- package/dist/utils/classes.js +1 -0
- package/dist/utils/classes.mjs +1 -1
- package/dist/utils/index.js +1 -0
- package/dist/utils/index.mjs +3 -3
- package/dist/utils/merge-classes.mjs +3 -3
- package/package.json +1 -1
- package/dist/animations/index.d.mts +0 -132
- package/dist/animations/index.d.ts +0 -132
- package/dist/colors/blue.d.mts +0 -14
- package/dist/colors/blue.d.ts +0 -14
- package/dist/colors/common.d.mts +0 -103
- package/dist/colors/common.d.ts +0 -103
- package/dist/colors/cyan.d.mts +0 -14
- package/dist/colors/cyan.d.ts +0 -14
- package/dist/colors/green.d.mts +0 -14
- package/dist/colors/green.d.ts +0 -14
- package/dist/colors/index.d.mts +0 -109
- package/dist/colors/index.d.ts +0 -109
- package/dist/colors/pink.d.mts +0 -14
- package/dist/colors/pink.d.ts +0 -14
- package/dist/colors/purple.d.mts +0 -14
- package/dist/colors/purple.d.ts +0 -14
- package/dist/colors/red.d.mts +0 -14
- package/dist/colors/red.d.ts +0 -14
- package/dist/colors/semantic.d.mts +0 -10
- package/dist/colors/semantic.d.ts +0 -10
- package/dist/colors/types.d.mts +0 -39
- package/dist/colors/types.d.ts +0 -39
- package/dist/colors/yellow.d.mts +0 -14
- package/dist/colors/yellow.d.ts +0 -14
- package/dist/colors/zinc.d.mts +0 -14
- package/dist/colors/zinc.d.ts +0 -14
- package/dist/colors.d.mts +0 -4
- package/dist/colors.d.ts +0 -4
- package/dist/components/accordion.d.mts +0 -228
- package/dist/components/accordion.d.ts +0 -228
- package/dist/components/alert.d.mts +0 -316
- package/dist/components/alert.d.ts +0 -316
- package/dist/components/autocomplete.d.mts +0 -95
- package/dist/components/autocomplete.d.ts +0 -95
- package/dist/components/avatar.d.mts +0 -300
- package/dist/components/avatar.d.ts +0 -300
- package/dist/components/badge.d.mts +0 -223
- package/dist/components/badge.d.ts +0 -223
- package/dist/components/bottom-bar.d.mts +0 -263
- package/dist/components/bottom-bar.d.ts +0 -263
- package/dist/components/breadcrumbs.d.mts +0 -379
- package/dist/components/breadcrumbs.d.ts +0 -379
- package/dist/components/button.d.mts +0 -188
- package/dist/components/button.d.ts +0 -188
- package/dist/components/calendar.d.mts +0 -279
- package/dist/components/calendar.d.ts +0 -279
- package/dist/components/card.d.mts +0 -257
- package/dist/components/card.d.ts +0 -257
- package/dist/components/checkbox.d.mts +0 -375
- package/dist/components/checkbox.d.ts +0 -375
- package/dist/components/chip.d.mts +0 -340
- package/dist/components/chip.d.ts +0 -340
- package/dist/components/code.d.mts +0 -80
- package/dist/components/code.d.ts +0 -80
- package/dist/components/date-input.d.mts +0 -392
- package/dist/components/date-input.d.ts +0 -392
- package/dist/components/date-picker.d.mts +0 -220
- package/dist/components/date-picker.d.ts +0 -220
- package/dist/components/divider.d.mts +0 -70
- package/dist/components/divider.d.ts +0 -70
- package/dist/components/drawer.d.mts +0 -190
- package/dist/components/drawer.d.ts +0 -190
- package/dist/components/drip.d.mts +0 -13
- package/dist/components/drip.d.ts +0 -13
- package/dist/components/drop-zone.d.mts +0 -434
- package/dist/components/drop-zone.d.ts +0 -434
- package/dist/components/dropdown.d.mts +0 -247
- package/dist/components/dropdown.d.ts +0 -247
- package/dist/components/form.d.mts +0 -19
- package/dist/components/form.d.ts +0 -19
- package/dist/components/image.d.mts +0 -174
- package/dist/components/image.d.ts +0 -174
- package/dist/components/index.d.mts +0 -51
- package/dist/components/index.d.ts +0 -51
- package/dist/components/input-otp.d.mts +0 -282
- package/dist/components/input-otp.d.ts +0 -282
- package/dist/components/input.d.mts +0 -458
- package/dist/components/input.d.ts +0 -458
- package/dist/components/kbd.d.mts +0 -50
- package/dist/components/kbd.d.ts +0 -50
- package/dist/components/link.d.mts +0 -107
- package/dist/components/link.d.ts +0 -107
- package/dist/components/listbox.d.mts +0 -3
- package/dist/components/listbox.d.ts +0 -3
- package/dist/components/menu.d.mts +0 -324
- package/dist/components/menu.d.ts +0 -324
- package/dist/components/modal.d.mts +0 -380
- package/dist/components/modal.d.ts +0 -380
- package/dist/components/navbar.d.mts +0 -246
- package/dist/components/navbar.d.ts +0 -246
- package/dist/components/number-input.d.mts +0 -476
- package/dist/components/number-input.d.ts +0 -476
- package/dist/components/pagination.d.mts +0 -288
- package/dist/components/pagination.d.ts +0 -288
- package/dist/components/popover.d.mts +0 -339
- package/dist/components/popover.d.ts +0 -339
- package/dist/components/progress.d.mts +0 -498
- package/dist/components/progress.d.ts +0 -498
- package/dist/components/radio.d.mts +0 -354
- package/dist/components/radio.d.ts +0 -354
- package/dist/components/scroll-area.d.mts +0 -109
- package/dist/components/scroll-area.d.ts +0 -109
- package/dist/components/scroll-shadow.d.mts +0 -48
- package/dist/components/scroll-shadow.d.ts +0 -48
- package/dist/components/select.d.mts +0 -530
- package/dist/components/select.d.ts +0 -530
- package/dist/components/shimmer-text.d.mts +0 -46
- package/dist/components/shimmer-text.d.ts +0 -46
- package/dist/components/skeleton.d.mts +0 -60
- package/dist/components/skeleton.d.ts +0 -60
- package/dist/components/slider.d.mts +0 -482
- package/dist/components/slider.d.ts +0 -482
- package/dist/components/snippet.d.mts +0 -206
- package/dist/components/snippet.d.ts +0 -206
- package/dist/components/spacer.d.mts +0 -31
- package/dist/components/spacer.d.ts +0 -31
- package/dist/components/spinner.d.mts +0 -398
- package/dist/components/spinner.d.ts +0 -398
- package/dist/components/stepper.d.mts +0 -288
- package/dist/components/stepper.d.ts +0 -288
- package/dist/components/table.d.mts +0 -509
- package/dist/components/table.d.ts +0 -509
- package/dist/components/tabs.d.mts +0 -413
- package/dist/components/tabs.d.ts +0 -413
- package/dist/components/toast.d.mts +0 -329
- package/dist/components/toast.d.ts +0 -329
- package/dist/components/toggle.d.mts +0 -243
- package/dist/components/toggle.d.ts +0 -243
- package/dist/components/user.d.mts +0 -63
- package/dist/components/user.d.ts +0 -63
- package/dist/default-layout.d.mts +0 -8
- package/dist/default-layout.d.ts +0 -8
- package/dist/index.d.mts +0 -66
- package/dist/index.d.ts +0 -66
- package/dist/plugin.d.mts +0 -12
- package/dist/plugin.d.ts +0 -12
- package/dist/types.d.mts +0 -138
- package/dist/types.d.ts +0 -138
- package/dist/utilities/animation.d.mts +0 -16
- package/dist/utilities/animation.d.ts +0 -16
- package/dist/utilities/custom.d.mts +0 -27
- package/dist/utilities/custom.d.ts +0 -27
- package/dist/utilities/index.d.mts +0 -171
- package/dist/utilities/index.d.ts +0 -171
- package/dist/utilities/scrollbar-hide.d.mts +0 -59
- package/dist/utilities/scrollbar-hide.d.ts +0 -59
- package/dist/utilities/shimmer-text.d.mts +0 -42
- package/dist/utilities/shimmer-text.d.ts +0 -42
- package/dist/utilities/text.d.mts +0 -23
- package/dist/utilities/text.d.ts +0 -23
- package/dist/utilities/transition.d.mts +0 -58
- package/dist/utilities/transition.d.ts +0 -58
- package/dist/utils/classes.d.mts +0 -42
- package/dist/utils/classes.d.ts +0 -42
- package/dist/utils/cn.d.mts +0 -13
- package/dist/utils/cn.d.ts +0 -13
- package/dist/utils/index.d.mts +0 -7
- package/dist/utils/index.d.ts +0 -7
- package/dist/utils/merge-classes.d.mts +0 -12
- package/dist/utils/merge-classes.d.ts +0 -12
- package/dist/utils/object.d.mts +0 -13
- package/dist/utils/object.d.ts +0 -13
- package/dist/utils/theme.d.mts +0 -9
- package/dist/utils/theme.d.ts +0 -9
- package/dist/utils/tv.d.mts +0 -5
- package/dist/utils/tv.d.ts +0 -5
- package/dist/utils/tw-merge-config.d.mts +0 -25
- package/dist/utils/tw-merge-config.d.ts +0 -25
- package/dist/utils/types.d.mts +0 -10
- package/dist/utils/types.d.ts +0 -10
- package/dist/utils/variants.d.mts +0 -67
- package/dist/utils/variants.d.ts +0 -67
|
@@ -1,243 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import { VariantProps } from 'tailwind-variants';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Toggle (Switch) wrapper **Tailwind Variants** component
|
|
6
|
-
*
|
|
7
|
-
* const {base, wrapper, thumb, thumbIcon, label, startContent, endContent} = toggle({...})
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* <label
|
|
11
|
-
* className={base())}
|
|
12
|
-
* data-selected={true/false}
|
|
13
|
-
* data-pressed={true/false}
|
|
14
|
-
* data-focus={true/false}
|
|
15
|
-
* data-hover={true/false}
|
|
16
|
-
* data-focus-visible={true/false}
|
|
17
|
-
* >
|
|
18
|
-
* <input/> // hidden input
|
|
19
|
-
* <span className={wrapper()} aria-hidden="true">
|
|
20
|
-
* <svg className={startContent()}>...</svg>
|
|
21
|
-
* <span className={thumb()}>
|
|
22
|
-
* <svg className={thumbIcon()}>...</svg>
|
|
23
|
-
* </span>
|
|
24
|
-
* <svg className={endContent()}>...</svg>
|
|
25
|
-
* </span>
|
|
26
|
-
* <span className={label()}>Label</span>
|
|
27
|
-
* </label>
|
|
28
|
-
*/
|
|
29
|
-
declare const toggle: tailwind_variants.TVReturnType<{
|
|
30
|
-
color: {
|
|
31
|
-
default: {
|
|
32
|
-
wrapper: string[];
|
|
33
|
-
};
|
|
34
|
-
primary: {
|
|
35
|
-
wrapper: string[];
|
|
36
|
-
};
|
|
37
|
-
secondary: {
|
|
38
|
-
wrapper: string[];
|
|
39
|
-
};
|
|
40
|
-
success: {
|
|
41
|
-
wrapper: string[];
|
|
42
|
-
};
|
|
43
|
-
warning: {
|
|
44
|
-
wrapper: string[];
|
|
45
|
-
};
|
|
46
|
-
danger: {
|
|
47
|
-
wrapper: string[];
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
size: {
|
|
51
|
-
sm: {
|
|
52
|
-
wrapper: string;
|
|
53
|
-
thumb: string[];
|
|
54
|
-
endContent: string;
|
|
55
|
-
startContent: string;
|
|
56
|
-
label: string;
|
|
57
|
-
};
|
|
58
|
-
md: {
|
|
59
|
-
wrapper: string;
|
|
60
|
-
thumb: string[];
|
|
61
|
-
endContent: string;
|
|
62
|
-
startContent: string;
|
|
63
|
-
label: string;
|
|
64
|
-
};
|
|
65
|
-
lg: {
|
|
66
|
-
wrapper: string;
|
|
67
|
-
thumb: string[];
|
|
68
|
-
endContent: string;
|
|
69
|
-
startContent: string;
|
|
70
|
-
label: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
isDisabled: {
|
|
74
|
-
true: {
|
|
75
|
-
base: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
disableAnimation: {
|
|
79
|
-
true: {
|
|
80
|
-
wrapper: string;
|
|
81
|
-
thumb: string;
|
|
82
|
-
};
|
|
83
|
-
false: {
|
|
84
|
-
wrapper: string;
|
|
85
|
-
thumb: string;
|
|
86
|
-
startContent: string[];
|
|
87
|
-
endContent: string[];
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
}, {
|
|
91
|
-
base: string;
|
|
92
|
-
wrapper: string[];
|
|
93
|
-
thumb: string[];
|
|
94
|
-
hiddenInput: string[];
|
|
95
|
-
startContent: string;
|
|
96
|
-
endContent: string;
|
|
97
|
-
thumbIcon: string;
|
|
98
|
-
label: string;
|
|
99
|
-
}, undefined, {
|
|
100
|
-
color: {
|
|
101
|
-
default: {
|
|
102
|
-
wrapper: string[];
|
|
103
|
-
};
|
|
104
|
-
primary: {
|
|
105
|
-
wrapper: string[];
|
|
106
|
-
};
|
|
107
|
-
secondary: {
|
|
108
|
-
wrapper: string[];
|
|
109
|
-
};
|
|
110
|
-
success: {
|
|
111
|
-
wrapper: string[];
|
|
112
|
-
};
|
|
113
|
-
warning: {
|
|
114
|
-
wrapper: string[];
|
|
115
|
-
};
|
|
116
|
-
danger: {
|
|
117
|
-
wrapper: string[];
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
size: {
|
|
121
|
-
sm: {
|
|
122
|
-
wrapper: string;
|
|
123
|
-
thumb: string[];
|
|
124
|
-
endContent: string;
|
|
125
|
-
startContent: string;
|
|
126
|
-
label: string;
|
|
127
|
-
};
|
|
128
|
-
md: {
|
|
129
|
-
wrapper: string;
|
|
130
|
-
thumb: string[];
|
|
131
|
-
endContent: string;
|
|
132
|
-
startContent: string;
|
|
133
|
-
label: string;
|
|
134
|
-
};
|
|
135
|
-
lg: {
|
|
136
|
-
wrapper: string;
|
|
137
|
-
thumb: string[];
|
|
138
|
-
endContent: string;
|
|
139
|
-
startContent: string;
|
|
140
|
-
label: string;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
isDisabled: {
|
|
144
|
-
true: {
|
|
145
|
-
base: string;
|
|
146
|
-
};
|
|
147
|
-
};
|
|
148
|
-
disableAnimation: {
|
|
149
|
-
true: {
|
|
150
|
-
wrapper: string;
|
|
151
|
-
thumb: string;
|
|
152
|
-
};
|
|
153
|
-
false: {
|
|
154
|
-
wrapper: string;
|
|
155
|
-
thumb: string;
|
|
156
|
-
startContent: string[];
|
|
157
|
-
endContent: string[];
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
}, {
|
|
161
|
-
base: string;
|
|
162
|
-
wrapper: string[];
|
|
163
|
-
thumb: string[];
|
|
164
|
-
hiddenInput: string[];
|
|
165
|
-
startContent: string;
|
|
166
|
-
endContent: string;
|
|
167
|
-
thumbIcon: string;
|
|
168
|
-
label: string;
|
|
169
|
-
}, tailwind_variants.TVReturnType<{
|
|
170
|
-
color: {
|
|
171
|
-
default: {
|
|
172
|
-
wrapper: string[];
|
|
173
|
-
};
|
|
174
|
-
primary: {
|
|
175
|
-
wrapper: string[];
|
|
176
|
-
};
|
|
177
|
-
secondary: {
|
|
178
|
-
wrapper: string[];
|
|
179
|
-
};
|
|
180
|
-
success: {
|
|
181
|
-
wrapper: string[];
|
|
182
|
-
};
|
|
183
|
-
warning: {
|
|
184
|
-
wrapper: string[];
|
|
185
|
-
};
|
|
186
|
-
danger: {
|
|
187
|
-
wrapper: string[];
|
|
188
|
-
};
|
|
189
|
-
};
|
|
190
|
-
size: {
|
|
191
|
-
sm: {
|
|
192
|
-
wrapper: string;
|
|
193
|
-
thumb: string[];
|
|
194
|
-
endContent: string;
|
|
195
|
-
startContent: string;
|
|
196
|
-
label: string;
|
|
197
|
-
};
|
|
198
|
-
md: {
|
|
199
|
-
wrapper: string;
|
|
200
|
-
thumb: string[];
|
|
201
|
-
endContent: string;
|
|
202
|
-
startContent: string;
|
|
203
|
-
label: string;
|
|
204
|
-
};
|
|
205
|
-
lg: {
|
|
206
|
-
wrapper: string;
|
|
207
|
-
thumb: string[];
|
|
208
|
-
endContent: string;
|
|
209
|
-
startContent: string;
|
|
210
|
-
label: string;
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
isDisabled: {
|
|
214
|
-
true: {
|
|
215
|
-
base: string;
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
disableAnimation: {
|
|
219
|
-
true: {
|
|
220
|
-
wrapper: string;
|
|
221
|
-
thumb: string;
|
|
222
|
-
};
|
|
223
|
-
false: {
|
|
224
|
-
wrapper: string;
|
|
225
|
-
thumb: string;
|
|
226
|
-
startContent: string[];
|
|
227
|
-
endContent: string[];
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
}, {
|
|
231
|
-
base: string;
|
|
232
|
-
wrapper: string[];
|
|
233
|
-
thumb: string[];
|
|
234
|
-
hiddenInput: string[];
|
|
235
|
-
startContent: string;
|
|
236
|
-
endContent: string;
|
|
237
|
-
thumbIcon: string;
|
|
238
|
-
label: string;
|
|
239
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
240
|
-
type ToggleVariantProps = VariantProps<typeof toggle>;
|
|
241
|
-
type ToggleSlots = keyof ReturnType<typeof toggle>;
|
|
242
|
-
|
|
243
|
-
export { type ToggleSlots, type ToggleVariantProps, toggle };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* User wrapper **Tailwind Variants** component
|
|
6
|
-
*
|
|
7
|
-
* const {base, wrapper, name, description} = user({...})
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* <div className={base())}>
|
|
11
|
-
* // avatar element @see avatar
|
|
12
|
-
* <div className={wrapper())}>
|
|
13
|
-
* <span className={name())}>user name</span>
|
|
14
|
-
* <span className={description())}>user description</span>
|
|
15
|
-
* </div>
|
|
16
|
-
* </div>
|
|
17
|
-
*/
|
|
18
|
-
declare const user: tailwind_variants.TVReturnType<{
|
|
19
|
-
[key: string]: {
|
|
20
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
21
|
-
description?: tailwind_merge.ClassNameValue;
|
|
22
|
-
base?: tailwind_merge.ClassNameValue;
|
|
23
|
-
name?: tailwind_merge.ClassNameValue;
|
|
24
|
-
wrapper?: tailwind_merge.ClassNameValue;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
} | {
|
|
28
|
-
[x: string]: {
|
|
29
|
-
[x: string]: tailwind_merge.ClassNameValue | {
|
|
30
|
-
description?: tailwind_merge.ClassNameValue;
|
|
31
|
-
base?: tailwind_merge.ClassNameValue;
|
|
32
|
-
name?: tailwind_merge.ClassNameValue;
|
|
33
|
-
wrapper?: tailwind_merge.ClassNameValue;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
} | {}, {
|
|
37
|
-
base: string[];
|
|
38
|
-
wrapper: string;
|
|
39
|
-
name: string;
|
|
40
|
-
description: string;
|
|
41
|
-
}, undefined, {
|
|
42
|
-
[key: string]: {
|
|
43
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
44
|
-
description?: tailwind_merge.ClassNameValue;
|
|
45
|
-
base?: tailwind_merge.ClassNameValue;
|
|
46
|
-
name?: tailwind_merge.ClassNameValue;
|
|
47
|
-
wrapper?: tailwind_merge.ClassNameValue;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
} | {}, {
|
|
51
|
-
base: string[];
|
|
52
|
-
wrapper: string;
|
|
53
|
-
name: string;
|
|
54
|
-
description: string;
|
|
55
|
-
}, tailwind_variants.TVReturnType<unknown, {
|
|
56
|
-
base: string[];
|
|
57
|
-
wrapper: string;
|
|
58
|
-
name: string;
|
|
59
|
-
description: string;
|
|
60
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
61
|
-
type UserSlots = keyof ReturnType<typeof user>;
|
|
62
|
-
|
|
63
|
-
export { type UserSlots, user };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
-
import * as tailwind_merge from 'tailwind-merge';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* User wrapper **Tailwind Variants** component
|
|
6
|
-
*
|
|
7
|
-
* const {base, wrapper, name, description} = user({...})
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* <div className={base())}>
|
|
11
|
-
* // avatar element @see avatar
|
|
12
|
-
* <div className={wrapper())}>
|
|
13
|
-
* <span className={name())}>user name</span>
|
|
14
|
-
* <span className={description())}>user description</span>
|
|
15
|
-
* </div>
|
|
16
|
-
* </div>
|
|
17
|
-
*/
|
|
18
|
-
declare const user: tailwind_variants.TVReturnType<{
|
|
19
|
-
[key: string]: {
|
|
20
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
21
|
-
description?: tailwind_merge.ClassNameValue;
|
|
22
|
-
base?: tailwind_merge.ClassNameValue;
|
|
23
|
-
name?: tailwind_merge.ClassNameValue;
|
|
24
|
-
wrapper?: tailwind_merge.ClassNameValue;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
} | {
|
|
28
|
-
[x: string]: {
|
|
29
|
-
[x: string]: tailwind_merge.ClassNameValue | {
|
|
30
|
-
description?: tailwind_merge.ClassNameValue;
|
|
31
|
-
base?: tailwind_merge.ClassNameValue;
|
|
32
|
-
name?: tailwind_merge.ClassNameValue;
|
|
33
|
-
wrapper?: tailwind_merge.ClassNameValue;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
} | {}, {
|
|
37
|
-
base: string[];
|
|
38
|
-
wrapper: string;
|
|
39
|
-
name: string;
|
|
40
|
-
description: string;
|
|
41
|
-
}, undefined, {
|
|
42
|
-
[key: string]: {
|
|
43
|
-
[key: string]: tailwind_merge.ClassNameValue | {
|
|
44
|
-
description?: tailwind_merge.ClassNameValue;
|
|
45
|
-
base?: tailwind_merge.ClassNameValue;
|
|
46
|
-
name?: tailwind_merge.ClassNameValue;
|
|
47
|
-
wrapper?: tailwind_merge.ClassNameValue;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
} | {}, {
|
|
51
|
-
base: string[];
|
|
52
|
-
wrapper: string;
|
|
53
|
-
name: string;
|
|
54
|
-
description: string;
|
|
55
|
-
}, tailwind_variants.TVReturnType<unknown, {
|
|
56
|
-
base: string[];
|
|
57
|
-
wrapper: string;
|
|
58
|
-
name: string;
|
|
59
|
-
description: string;
|
|
60
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
61
|
-
type UserSlots = keyof ReturnType<typeof user>;
|
|
62
|
-
|
|
63
|
-
export { type UserSlots, user };
|
package/dist/default-layout.d.ts
DELETED
package/dist/index.d.mts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
export { AvatarGroupSlots, AvatarGroupVariantProps, AvatarSlots, AvatarVariantProps, avatar, avatarGroup } from './components/avatar.mjs';
|
|
2
|
-
export { CardReturnType, CardSlots, CardVariantProps, card } from './components/card.mjs';
|
|
3
|
-
export { LinkVariantProps, link, linkAnchorClasses } from './components/link.mjs';
|
|
4
|
-
export { UserSlots, user } from './components/user.mjs';
|
|
5
|
-
export { ButtonGroupVariantProps, ButtonVariantProps, button, buttonGroup } from './components/button.mjs';
|
|
6
|
-
export { drip } from './components/drip.mjs';
|
|
7
|
-
export { SpinnerSlots, SpinnerVariantProps, spinner } from './components/spinner.mjs';
|
|
8
|
-
export { StepperReturnType, StepperSlots, StepperVariantProps, stepper } from './components/stepper.mjs';
|
|
9
|
-
export { CodeVariantProps, code } from './components/code.mjs';
|
|
10
|
-
export { PopoverSlots, PopoverVariantProps, popover } from './components/popover.mjs';
|
|
11
|
-
export { SnippetSlots, SnippetVariantProps, snippet } from './components/snippet.mjs';
|
|
12
|
-
export { ChipSlots, ChipVariantProps, chip } from './components/chip.mjs';
|
|
13
|
-
export { BadgeSlots, BadgeVariantProps, badge } from './components/badge.mjs';
|
|
14
|
-
export { BottomBarReturnType, BottomBarSlots, BottomBarVariantProps, bottomBar } from './components/bottom-bar.mjs';
|
|
15
|
-
export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './components/checkbox.mjs';
|
|
16
|
-
export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './components/radio.mjs';
|
|
17
|
-
export { PaginationSlots, PaginationVariantProps, pagination } from './components/pagination.mjs';
|
|
18
|
-
export { ToggleSlots, ToggleVariantProps, toggle } from './components/toggle.mjs';
|
|
19
|
-
export { AccordionGroupVariantProps, AccordionItemSlots, AccordionItemVariantProps, accordion, accordionItem } from './components/accordion.mjs';
|
|
20
|
-
export { CircularProgressSlots, CircularProgressVariantProps, ProgressSlots, ProgressVariantProps, circularProgress, progress } from './components/progress.mjs';
|
|
21
|
-
export { InputOtpReturnType, InputOtpSlots, InputOtpVariantProps, inputOtp } from './components/input-otp.mjs';
|
|
22
|
-
export { InputSlots, InputVariantProps, input } from './components/input.mjs';
|
|
23
|
-
export { DropdownItemSlots, DropdownItemVariantProps, DropdownSectionSlots, DropdownSectionVariantProps, dropdown, dropdownItem, dropdownMenu, dropdownSection } from './components/dropdown.mjs';
|
|
24
|
-
export { DropZoneSlots, DropZoneVariantProps, dropZone } from './components/drop-zone.mjs';
|
|
25
|
-
export { ImageSlots, ImageVariantProps, image } from './components/image.mjs';
|
|
26
|
-
export { ModalSlots, ModalVariantProps, modal } from './components/modal.mjs';
|
|
27
|
-
export { NavbarSlots, NavbarVariantProps, navbar } from './components/navbar.mjs';
|
|
28
|
-
export { TableReturnType, TableSlots, TableVariantProps, table } from './components/table.mjs';
|
|
29
|
-
export { SpacerVariantProps, spacer } from './components/spacer.mjs';
|
|
30
|
-
export { DividerVariantProps, LabeledDividerSlots, divider, labeledDivider } from './components/divider.mjs';
|
|
31
|
-
export { KbdSlots, KbdVariantProps, kbd } from './components/kbd.mjs';
|
|
32
|
-
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.mjs';
|
|
33
|
-
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.mjs';
|
|
34
|
-
export { ShimmerTextVariantProps, shimmerText } from './components/shimmer-text.mjs';
|
|
35
|
-
export { SelectSlots, SelectVariantProps, select } from './components/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 './components/menu.mjs';
|
|
37
|
-
export { ScrollShadowVariantProps, scrollShadow } from './components/scroll-shadow.mjs';
|
|
38
|
-
export { ScrollAreaReturnType, ScrollAreaSlots, ScrollAreaVariantProps, scrollArea } from './components/scroll-area.mjs';
|
|
39
|
-
export { SliderSlots, SliderVariantProps, slider } from './components/slider.mjs';
|
|
40
|
-
export { BreadcrumbItemSlots, BreadcrumbItemVariantProps, BreadcrumbsSlots, BreadcrumbsVariantProps, breadcrumbItem, breadcrumbs } from './components/breadcrumbs.mjs';
|
|
41
|
-
export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './components/autocomplete.mjs';
|
|
42
|
-
export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './components/calendar.mjs';
|
|
43
|
-
export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './components/date-input.mjs';
|
|
44
|
-
export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './components/date-picker.mjs';
|
|
45
|
-
export { AlertSlots, AlertVariantProps, AlertVariants, alert, alertVariants } from './components/alert.mjs';
|
|
46
|
-
export { DrawerVariants, drawer } from './components/drawer.mjs';
|
|
47
|
-
export { FormVariantProps, form } from './components/form.mjs';
|
|
48
|
-
export { NumberInputSlots, NumberInputVariantProps, numberInput } from './components/number-input.mjs';
|
|
49
|
-
export { ToastRegionSlots, ToastRegionVariantProps, ToastSlots, ToastVariantProps, toast, toastRegion } from './components/toast.mjs';
|
|
50
|
-
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses } from './utils/classes.mjs';
|
|
51
|
-
export { SlotsToClasses } from './utils/types.mjs';
|
|
52
|
-
export { colorVariants } from './utils/variants.mjs';
|
|
53
|
-
export { COMMON_UNITS, twMergeConfig } from './utils/tw-merge-config.mjs';
|
|
54
|
-
export { mergeClasses } from './utils/merge-classes.mjs';
|
|
55
|
-
export { cn } from './utils/cn.mjs';
|
|
56
|
-
export { colors } from './colors/index.mjs';
|
|
57
|
-
export { heroui } from './plugin.mjs';
|
|
58
|
-
export { BaseThemeUnit, ConfigTheme, ConfigThemes, DefaultThemeType, FontThemeUnit, HeroUIPluginConfig, LayoutTheme } from './types.mjs';
|
|
59
|
-
export { darkLayout, defaultLayout, lightLayout } from './default-layout.mjs';
|
|
60
|
-
export { tv } from './utils/tv.mjs';
|
|
61
|
-
export { TV, VariantProps } from 'tailwind-variants';
|
|
62
|
-
export { BaseColors, ColorScale, SemanticBaseColors, ThemeColors } from './colors/types.mjs';
|
|
63
|
-
export { commonColors } from './colors/common.mjs';
|
|
64
|
-
export { semanticColors } from './colors/semantic.mjs';
|
|
65
|
-
import 'tailwind-merge';
|
|
66
|
-
import 'tailwindcss/plugin.js';
|
package/dist/index.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
export { AvatarGroupSlots, AvatarGroupVariantProps, AvatarSlots, AvatarVariantProps, avatar, avatarGroup } from './components/avatar.js';
|
|
2
|
-
export { CardReturnType, CardSlots, CardVariantProps, card } from './components/card.js';
|
|
3
|
-
export { LinkVariantProps, link, linkAnchorClasses } from './components/link.js';
|
|
4
|
-
export { UserSlots, user } from './components/user.js';
|
|
5
|
-
export { ButtonGroupVariantProps, ButtonVariantProps, button, buttonGroup } from './components/button.js';
|
|
6
|
-
export { drip } from './components/drip.js';
|
|
7
|
-
export { SpinnerSlots, SpinnerVariantProps, spinner } from './components/spinner.js';
|
|
8
|
-
export { StepperReturnType, StepperSlots, StepperVariantProps, stepper } from './components/stepper.js';
|
|
9
|
-
export { CodeVariantProps, code } from './components/code.js';
|
|
10
|
-
export { PopoverSlots, PopoverVariantProps, popover } from './components/popover.js';
|
|
11
|
-
export { SnippetSlots, SnippetVariantProps, snippet } from './components/snippet.js';
|
|
12
|
-
export { ChipSlots, ChipVariantProps, chip } from './components/chip.js';
|
|
13
|
-
export { BadgeSlots, BadgeVariantProps, badge } from './components/badge.js';
|
|
14
|
-
export { BottomBarReturnType, BottomBarSlots, BottomBarVariantProps, bottomBar } from './components/bottom-bar.js';
|
|
15
|
-
export { CheckboxGroupSlots, CheckboxSlots, CheckboxVariantProps, checkbox, checkboxGroup } from './components/checkbox.js';
|
|
16
|
-
export { RadioGroupSlots, RadioSlots, RadioVariantProps, radio, radioGroup } from './components/radio.js';
|
|
17
|
-
export { PaginationSlots, PaginationVariantProps, pagination } from './components/pagination.js';
|
|
18
|
-
export { ToggleSlots, ToggleVariantProps, toggle } from './components/toggle.js';
|
|
19
|
-
export { AccordionGroupVariantProps, AccordionItemSlots, AccordionItemVariantProps, accordion, accordionItem } from './components/accordion.js';
|
|
20
|
-
export { CircularProgressSlots, CircularProgressVariantProps, ProgressSlots, ProgressVariantProps, circularProgress, progress } from './components/progress.js';
|
|
21
|
-
export { InputOtpReturnType, InputOtpSlots, InputOtpVariantProps, inputOtp } from './components/input-otp.js';
|
|
22
|
-
export { InputSlots, InputVariantProps, input } from './components/input.js';
|
|
23
|
-
export { DropdownItemSlots, DropdownItemVariantProps, DropdownSectionSlots, DropdownSectionVariantProps, dropdown, dropdownItem, dropdownMenu, dropdownSection } from './components/dropdown.js';
|
|
24
|
-
export { DropZoneSlots, DropZoneVariantProps, dropZone } from './components/drop-zone.js';
|
|
25
|
-
export { ImageSlots, ImageVariantProps, image } from './components/image.js';
|
|
26
|
-
export { ModalSlots, ModalVariantProps, modal } from './components/modal.js';
|
|
27
|
-
export { NavbarSlots, NavbarVariantProps, navbar } from './components/navbar.js';
|
|
28
|
-
export { TableReturnType, TableSlots, TableVariantProps, table } from './components/table.js';
|
|
29
|
-
export { SpacerVariantProps, spacer } from './components/spacer.js';
|
|
30
|
-
export { DividerVariantProps, LabeledDividerSlots, divider, labeledDivider } from './components/divider.js';
|
|
31
|
-
export { KbdSlots, KbdVariantProps, kbd } from './components/kbd.js';
|
|
32
|
-
export { TabsReturnType, TabsSlots, TabsVariantProps, tabs } from './components/tabs.js';
|
|
33
|
-
export { SkeletonSlots, SkeletonVariantProps, skeleton } from './components/skeleton.js';
|
|
34
|
-
export { ShimmerTextVariantProps, shimmerText } from './components/shimmer-text.js';
|
|
35
|
-
export { SelectSlots, SelectVariantProps, select } from './components/select.js';
|
|
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 './components/menu.js';
|
|
37
|
-
export { ScrollShadowVariantProps, scrollShadow } from './components/scroll-shadow.js';
|
|
38
|
-
export { ScrollAreaReturnType, ScrollAreaSlots, ScrollAreaVariantProps, scrollArea } from './components/scroll-area.js';
|
|
39
|
-
export { SliderSlots, SliderVariantProps, slider } from './components/slider.js';
|
|
40
|
-
export { BreadcrumbItemSlots, BreadcrumbItemVariantProps, BreadcrumbsSlots, BreadcrumbsVariantProps, breadcrumbItem, breadcrumbs } from './components/breadcrumbs.js';
|
|
41
|
-
export { AutocompleteSlots, AutocompleteVariantProps, autocomplete } from './components/autocomplete.js';
|
|
42
|
-
export { CalendarReturnType, CalendarSlots, CalendarVariantProps, calendar } from './components/calendar.js';
|
|
43
|
-
export { DateInputReturnType, DateInputSlots, DateInputVariantProps, dateInput } from './components/date-input.js';
|
|
44
|
-
export { DatePickerReturnType, DatePickerSlots, DatePickerVariantProps, DateRangePickerReturnType, DateRangePickerSlots, DateRangePickerVariantProps, datePicker, dateRangePicker } from './components/date-picker.js';
|
|
45
|
-
export { AlertSlots, AlertVariantProps, AlertVariants, alert, alertVariants } from './components/alert.js';
|
|
46
|
-
export { DrawerVariants, drawer } from './components/drawer.js';
|
|
47
|
-
export { FormVariantProps, form } from './components/form.js';
|
|
48
|
-
export { NumberInputSlots, NumberInputVariantProps, numberInput } from './components/number-input.js';
|
|
49
|
-
export { ToastRegionSlots, ToastRegionVariantProps, ToastSlots, ToastVariantProps, toast, toastRegion } from './components/toast.js';
|
|
50
|
-
export { absoluteFullClasses, baseStyles, collapseAdjacentVariantBorders, dataFocusVisibleClasses, focusVisibleClasses, groupDataFocusVisibleClasses, hiddenInputClasses, ringClasses, translateCenterClasses } from './utils/classes.js';
|
|
51
|
-
export { SlotsToClasses } from './utils/types.js';
|
|
52
|
-
export { colorVariants } from './utils/variants.js';
|
|
53
|
-
export { COMMON_UNITS, twMergeConfig } from './utils/tw-merge-config.js';
|
|
54
|
-
export { mergeClasses } from './utils/merge-classes.js';
|
|
55
|
-
export { cn } from './utils/cn.js';
|
|
56
|
-
export { colors } from './colors/index.js';
|
|
57
|
-
export { heroui } from './plugin.js';
|
|
58
|
-
export { BaseThemeUnit, ConfigTheme, ConfigThemes, DefaultThemeType, FontThemeUnit, HeroUIPluginConfig, LayoutTheme } from './types.js';
|
|
59
|
-
export { darkLayout, defaultLayout, lightLayout } from './default-layout.js';
|
|
60
|
-
export { tv } from './utils/tv.js';
|
|
61
|
-
export { TV, VariantProps } from 'tailwind-variants';
|
|
62
|
-
export { BaseColors, ColorScale, SemanticBaseColors, ThemeColors } from './colors/types.js';
|
|
63
|
-
export { commonColors } from './colors/common.js';
|
|
64
|
-
export { semanticColors } from './colors/semantic.js';
|
|
65
|
-
import 'tailwind-merge';
|
|
66
|
-
import 'tailwindcss/plugin.js';
|
package/dist/plugin.d.mts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HeroUIPluginConfig } from './types.mjs';
|
|
2
|
-
import plugin from 'tailwindcss/plugin.js';
|
|
3
|
-
import './colors/types.mjs';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Based on tw-colors by L-Blondy
|
|
7
|
-
* @see https://github.com/L-Blondy/tw-colors
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
declare const heroui: (config?: HeroUIPluginConfig) => ReturnType<typeof plugin>;
|
|
11
|
-
|
|
12
|
-
export { heroui };
|
package/dist/plugin.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { HeroUIPluginConfig } from './types.js';
|
|
2
|
-
import plugin from 'tailwindcss/plugin.js';
|
|
3
|
-
import './colors/types.js';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Based on tw-colors by L-Blondy
|
|
7
|
-
* @see https://github.com/L-Blondy/tw-colors
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
declare const heroui: (config?: HeroUIPluginConfig) => ReturnType<typeof plugin>;
|
|
11
|
-
|
|
12
|
-
export { heroui };
|