@sytechui/theme 2.4.27 → 2.5.0
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-WDM42WDU.mjs → chunk-IAAKK6MJ.mjs} +5 -5
- package/dist/{chunk-YLA7KS3I.mjs → chunk-IB36XVBI.mjs} +179 -0
- package/dist/{chunk-FFKHVGFX.mjs → chunk-JNXXF3DG.mjs} +1 -1
- package/dist/{chunk-CPSLANMP.mjs → chunk-Q5TYW2HJ.mjs} +2 -2
- package/dist/colors/common.mjs +3 -3
- package/dist/colors/index.mjs +5 -5
- package/dist/colors/semantic.mjs +4 -4
- package/dist/colors.mjs +5 -5
- package/dist/components/accordion.mjs +14 -14
- package/dist/components/alert.mjs +14 -14
- package/dist/components/avatar.mjs +14 -14
- package/dist/components/badge.mjs +14 -14
- package/dist/components/bottom-bar.d.mts +263 -0
- package/dist/components/bottom-bar.d.ts +263 -0
- package/dist/components/bottom-bar.js +422 -0
- package/dist/components/bottom-bar.mjs +51 -0
- package/dist/components/breadcrumbs.mjs +14 -14
- package/dist/components/button.mjs +14 -14
- package/dist/components/calendar.mjs +14 -14
- package/dist/components/card.mjs +14 -14
- package/dist/components/checkbox.mjs +14 -14
- package/dist/components/chip.mjs +14 -14
- package/dist/components/code.mjs +14 -14
- package/dist/components/drop-zone.mjs +14 -14
- package/dist/components/dropdown.mjs +14 -14
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +185 -0
- package/dist/components/index.mjs +25 -23
- package/dist/components/input-otp.mjs +14 -14
- package/dist/components/input.mjs +14 -14
- package/dist/components/link.mjs +14 -14
- package/dist/components/listbox.mjs +14 -14
- package/dist/components/menu.mjs +14 -14
- package/dist/components/modal.mjs +14 -14
- package/dist/components/navbar.mjs +14 -14
- package/dist/components/number-input.mjs +14 -14
- package/dist/components/pagination.mjs +14 -14
- package/dist/components/popover.mjs +14 -14
- package/dist/components/radio.mjs +14 -14
- package/dist/components/select.mjs +14 -14
- package/dist/components/slider.mjs +14 -14
- package/dist/components/snippet.mjs +14 -14
- package/dist/components/table.mjs +14 -14
- package/dist/components/tabs.mjs +14 -14
- package/dist/components/toast.mjs +14 -14
- package/dist/components/toggle.mjs +14 -14
- package/dist/components/user.mjs +14 -14
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +179 -0
- package/dist/index.mjs +27 -25
- package/dist/plugin.mjs +7 -7
- package/dist/utils/index.mjs +18 -18
- package/dist/utils/merge-classes.mjs +14 -14
- package/package.json +1 -1
- package/dist/{chunk-IAS3SFA4.mjs → chunk-6TOTQSJE.mjs} +6 -6
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* BottomBar **Tailwind Variants** component.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* const {base, list, item, link, selectionIndicator, icon, label} = bottomBar();
|
|
10
|
+
*
|
|
11
|
+
* <nav className={base()}>
|
|
12
|
+
* <ul className={list()}>
|
|
13
|
+
* <li className={selectionIndicator()} role="presentation" />
|
|
14
|
+
* <li className={item()}>
|
|
15
|
+
* <a className={link()} data-selected="true">
|
|
16
|
+
* <span className={icon()} />
|
|
17
|
+
* <span className={label()}>Home</span>
|
|
18
|
+
* </a>
|
|
19
|
+
* </li>
|
|
20
|
+
* </ul>
|
|
21
|
+
* </nav>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare const bottomBar: tailwind_variants.TVReturnType<{
|
|
25
|
+
position: {
|
|
26
|
+
fixed: {
|
|
27
|
+
base: string[];
|
|
28
|
+
};
|
|
29
|
+
sticky: {
|
|
30
|
+
base: string[];
|
|
31
|
+
};
|
|
32
|
+
static: {
|
|
33
|
+
base: string[];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
color: {
|
|
37
|
+
default: {
|
|
38
|
+
link: string;
|
|
39
|
+
selectionIndicator: string[];
|
|
40
|
+
};
|
|
41
|
+
primary: {
|
|
42
|
+
link: string;
|
|
43
|
+
selectionIndicator: string[];
|
|
44
|
+
};
|
|
45
|
+
secondary: {
|
|
46
|
+
link: string;
|
|
47
|
+
selectionIndicator: string[];
|
|
48
|
+
};
|
|
49
|
+
success: {
|
|
50
|
+
link: string;
|
|
51
|
+
selectionIndicator: string[];
|
|
52
|
+
};
|
|
53
|
+
warning: {
|
|
54
|
+
link: string;
|
|
55
|
+
selectionIndicator: string[];
|
|
56
|
+
};
|
|
57
|
+
danger: {
|
|
58
|
+
link: string;
|
|
59
|
+
selectionIndicator: string[];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
variant: {
|
|
63
|
+
solid: {};
|
|
64
|
+
underlined: {
|
|
65
|
+
selectionIndicator: string[];
|
|
66
|
+
};
|
|
67
|
+
ghost: {
|
|
68
|
+
selectionIndicator: string[];
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
hideLabels: {
|
|
72
|
+
always: {
|
|
73
|
+
label: string;
|
|
74
|
+
};
|
|
75
|
+
selected: {
|
|
76
|
+
label: string[];
|
|
77
|
+
};
|
|
78
|
+
never: {};
|
|
79
|
+
};
|
|
80
|
+
disableAnimation: {
|
|
81
|
+
true: {
|
|
82
|
+
link: string;
|
|
83
|
+
selectionIndicator: string;
|
|
84
|
+
icon: string;
|
|
85
|
+
label: string;
|
|
86
|
+
};
|
|
87
|
+
false: {
|
|
88
|
+
link: string;
|
|
89
|
+
selectionIndicator: string[];
|
|
90
|
+
icon: string;
|
|
91
|
+
label: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}, {
|
|
95
|
+
base: string[];
|
|
96
|
+
list: string[];
|
|
97
|
+
item: string[];
|
|
98
|
+
link: string[];
|
|
99
|
+
selectionIndicator: string[];
|
|
100
|
+
icon: string[];
|
|
101
|
+
label: string[];
|
|
102
|
+
}, undefined, {
|
|
103
|
+
position: {
|
|
104
|
+
fixed: {
|
|
105
|
+
base: string[];
|
|
106
|
+
};
|
|
107
|
+
sticky: {
|
|
108
|
+
base: string[];
|
|
109
|
+
};
|
|
110
|
+
static: {
|
|
111
|
+
base: string[];
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
color: {
|
|
115
|
+
default: {
|
|
116
|
+
link: string;
|
|
117
|
+
selectionIndicator: string[];
|
|
118
|
+
};
|
|
119
|
+
primary: {
|
|
120
|
+
link: string;
|
|
121
|
+
selectionIndicator: string[];
|
|
122
|
+
};
|
|
123
|
+
secondary: {
|
|
124
|
+
link: string;
|
|
125
|
+
selectionIndicator: string[];
|
|
126
|
+
};
|
|
127
|
+
success: {
|
|
128
|
+
link: string;
|
|
129
|
+
selectionIndicator: string[];
|
|
130
|
+
};
|
|
131
|
+
warning: {
|
|
132
|
+
link: string;
|
|
133
|
+
selectionIndicator: string[];
|
|
134
|
+
};
|
|
135
|
+
danger: {
|
|
136
|
+
link: string;
|
|
137
|
+
selectionIndicator: string[];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
variant: {
|
|
141
|
+
solid: {};
|
|
142
|
+
underlined: {
|
|
143
|
+
selectionIndicator: string[];
|
|
144
|
+
};
|
|
145
|
+
ghost: {
|
|
146
|
+
selectionIndicator: string[];
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
hideLabels: {
|
|
150
|
+
always: {
|
|
151
|
+
label: string;
|
|
152
|
+
};
|
|
153
|
+
selected: {
|
|
154
|
+
label: string[];
|
|
155
|
+
};
|
|
156
|
+
never: {};
|
|
157
|
+
};
|
|
158
|
+
disableAnimation: {
|
|
159
|
+
true: {
|
|
160
|
+
link: string;
|
|
161
|
+
selectionIndicator: string;
|
|
162
|
+
icon: string;
|
|
163
|
+
label: string;
|
|
164
|
+
};
|
|
165
|
+
false: {
|
|
166
|
+
link: string;
|
|
167
|
+
selectionIndicator: string[];
|
|
168
|
+
icon: string;
|
|
169
|
+
label: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
}, {
|
|
173
|
+
base: string[];
|
|
174
|
+
list: string[];
|
|
175
|
+
item: string[];
|
|
176
|
+
link: string[];
|
|
177
|
+
selectionIndicator: string[];
|
|
178
|
+
icon: string[];
|
|
179
|
+
label: string[];
|
|
180
|
+
}, tailwind_variants.TVReturnType<{
|
|
181
|
+
position: {
|
|
182
|
+
fixed: {
|
|
183
|
+
base: string[];
|
|
184
|
+
};
|
|
185
|
+
sticky: {
|
|
186
|
+
base: string[];
|
|
187
|
+
};
|
|
188
|
+
static: {
|
|
189
|
+
base: string[];
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
color: {
|
|
193
|
+
default: {
|
|
194
|
+
link: string;
|
|
195
|
+
selectionIndicator: string[];
|
|
196
|
+
};
|
|
197
|
+
primary: {
|
|
198
|
+
link: string;
|
|
199
|
+
selectionIndicator: string[];
|
|
200
|
+
};
|
|
201
|
+
secondary: {
|
|
202
|
+
link: string;
|
|
203
|
+
selectionIndicator: string[];
|
|
204
|
+
};
|
|
205
|
+
success: {
|
|
206
|
+
link: string;
|
|
207
|
+
selectionIndicator: string[];
|
|
208
|
+
};
|
|
209
|
+
warning: {
|
|
210
|
+
link: string;
|
|
211
|
+
selectionIndicator: string[];
|
|
212
|
+
};
|
|
213
|
+
danger: {
|
|
214
|
+
link: string;
|
|
215
|
+
selectionIndicator: string[];
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
variant: {
|
|
219
|
+
solid: {};
|
|
220
|
+
underlined: {
|
|
221
|
+
selectionIndicator: string[];
|
|
222
|
+
};
|
|
223
|
+
ghost: {
|
|
224
|
+
selectionIndicator: string[];
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
hideLabels: {
|
|
228
|
+
always: {
|
|
229
|
+
label: string;
|
|
230
|
+
};
|
|
231
|
+
selected: {
|
|
232
|
+
label: string[];
|
|
233
|
+
};
|
|
234
|
+
never: {};
|
|
235
|
+
};
|
|
236
|
+
disableAnimation: {
|
|
237
|
+
true: {
|
|
238
|
+
link: string;
|
|
239
|
+
selectionIndicator: string;
|
|
240
|
+
icon: string;
|
|
241
|
+
label: string;
|
|
242
|
+
};
|
|
243
|
+
false: {
|
|
244
|
+
link: string;
|
|
245
|
+
selectionIndicator: string[];
|
|
246
|
+
icon: string;
|
|
247
|
+
label: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
}, {
|
|
251
|
+
base: string[];
|
|
252
|
+
list: string[];
|
|
253
|
+
item: string[];
|
|
254
|
+
link: string[];
|
|
255
|
+
selectionIndicator: string[];
|
|
256
|
+
icon: string[];
|
|
257
|
+
label: string[];
|
|
258
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
259
|
+
type BottomBarVariantProps = VariantProps<typeof bottomBar>;
|
|
260
|
+
type BottomBarSlots = keyof ReturnType<typeof bottomBar>;
|
|
261
|
+
type BottomBarReturnType = ReturnType<typeof bottomBar>;
|
|
262
|
+
|
|
263
|
+
export { type BottomBarReturnType, type BottomBarSlots, type BottomBarVariantProps, bottomBar };
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
import * as tailwind_variants from 'tailwind-variants';
|
|
2
|
+
import { VariantProps } from 'tailwind-variants';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* BottomBar **Tailwind Variants** component.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* ```tsx
|
|
9
|
+
* const {base, list, item, link, selectionIndicator, icon, label} = bottomBar();
|
|
10
|
+
*
|
|
11
|
+
* <nav className={base()}>
|
|
12
|
+
* <ul className={list()}>
|
|
13
|
+
* <li className={selectionIndicator()} role="presentation" />
|
|
14
|
+
* <li className={item()}>
|
|
15
|
+
* <a className={link()} data-selected="true">
|
|
16
|
+
* <span className={icon()} />
|
|
17
|
+
* <span className={label()}>Home</span>
|
|
18
|
+
* </a>
|
|
19
|
+
* </li>
|
|
20
|
+
* </ul>
|
|
21
|
+
* </nav>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
declare const bottomBar: tailwind_variants.TVReturnType<{
|
|
25
|
+
position: {
|
|
26
|
+
fixed: {
|
|
27
|
+
base: string[];
|
|
28
|
+
};
|
|
29
|
+
sticky: {
|
|
30
|
+
base: string[];
|
|
31
|
+
};
|
|
32
|
+
static: {
|
|
33
|
+
base: string[];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
color: {
|
|
37
|
+
default: {
|
|
38
|
+
link: string;
|
|
39
|
+
selectionIndicator: string[];
|
|
40
|
+
};
|
|
41
|
+
primary: {
|
|
42
|
+
link: string;
|
|
43
|
+
selectionIndicator: string[];
|
|
44
|
+
};
|
|
45
|
+
secondary: {
|
|
46
|
+
link: string;
|
|
47
|
+
selectionIndicator: string[];
|
|
48
|
+
};
|
|
49
|
+
success: {
|
|
50
|
+
link: string;
|
|
51
|
+
selectionIndicator: string[];
|
|
52
|
+
};
|
|
53
|
+
warning: {
|
|
54
|
+
link: string;
|
|
55
|
+
selectionIndicator: string[];
|
|
56
|
+
};
|
|
57
|
+
danger: {
|
|
58
|
+
link: string;
|
|
59
|
+
selectionIndicator: string[];
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
variant: {
|
|
63
|
+
solid: {};
|
|
64
|
+
underlined: {
|
|
65
|
+
selectionIndicator: string[];
|
|
66
|
+
};
|
|
67
|
+
ghost: {
|
|
68
|
+
selectionIndicator: string[];
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
hideLabels: {
|
|
72
|
+
always: {
|
|
73
|
+
label: string;
|
|
74
|
+
};
|
|
75
|
+
selected: {
|
|
76
|
+
label: string[];
|
|
77
|
+
};
|
|
78
|
+
never: {};
|
|
79
|
+
};
|
|
80
|
+
disableAnimation: {
|
|
81
|
+
true: {
|
|
82
|
+
link: string;
|
|
83
|
+
selectionIndicator: string;
|
|
84
|
+
icon: string;
|
|
85
|
+
label: string;
|
|
86
|
+
};
|
|
87
|
+
false: {
|
|
88
|
+
link: string;
|
|
89
|
+
selectionIndicator: string[];
|
|
90
|
+
icon: string;
|
|
91
|
+
label: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}, {
|
|
95
|
+
base: string[];
|
|
96
|
+
list: string[];
|
|
97
|
+
item: string[];
|
|
98
|
+
link: string[];
|
|
99
|
+
selectionIndicator: string[];
|
|
100
|
+
icon: string[];
|
|
101
|
+
label: string[];
|
|
102
|
+
}, undefined, {
|
|
103
|
+
position: {
|
|
104
|
+
fixed: {
|
|
105
|
+
base: string[];
|
|
106
|
+
};
|
|
107
|
+
sticky: {
|
|
108
|
+
base: string[];
|
|
109
|
+
};
|
|
110
|
+
static: {
|
|
111
|
+
base: string[];
|
|
112
|
+
};
|
|
113
|
+
};
|
|
114
|
+
color: {
|
|
115
|
+
default: {
|
|
116
|
+
link: string;
|
|
117
|
+
selectionIndicator: string[];
|
|
118
|
+
};
|
|
119
|
+
primary: {
|
|
120
|
+
link: string;
|
|
121
|
+
selectionIndicator: string[];
|
|
122
|
+
};
|
|
123
|
+
secondary: {
|
|
124
|
+
link: string;
|
|
125
|
+
selectionIndicator: string[];
|
|
126
|
+
};
|
|
127
|
+
success: {
|
|
128
|
+
link: string;
|
|
129
|
+
selectionIndicator: string[];
|
|
130
|
+
};
|
|
131
|
+
warning: {
|
|
132
|
+
link: string;
|
|
133
|
+
selectionIndicator: string[];
|
|
134
|
+
};
|
|
135
|
+
danger: {
|
|
136
|
+
link: string;
|
|
137
|
+
selectionIndicator: string[];
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
variant: {
|
|
141
|
+
solid: {};
|
|
142
|
+
underlined: {
|
|
143
|
+
selectionIndicator: string[];
|
|
144
|
+
};
|
|
145
|
+
ghost: {
|
|
146
|
+
selectionIndicator: string[];
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
hideLabels: {
|
|
150
|
+
always: {
|
|
151
|
+
label: string;
|
|
152
|
+
};
|
|
153
|
+
selected: {
|
|
154
|
+
label: string[];
|
|
155
|
+
};
|
|
156
|
+
never: {};
|
|
157
|
+
};
|
|
158
|
+
disableAnimation: {
|
|
159
|
+
true: {
|
|
160
|
+
link: string;
|
|
161
|
+
selectionIndicator: string;
|
|
162
|
+
icon: string;
|
|
163
|
+
label: string;
|
|
164
|
+
};
|
|
165
|
+
false: {
|
|
166
|
+
link: string;
|
|
167
|
+
selectionIndicator: string[];
|
|
168
|
+
icon: string;
|
|
169
|
+
label: string;
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
}, {
|
|
173
|
+
base: string[];
|
|
174
|
+
list: string[];
|
|
175
|
+
item: string[];
|
|
176
|
+
link: string[];
|
|
177
|
+
selectionIndicator: string[];
|
|
178
|
+
icon: string[];
|
|
179
|
+
label: string[];
|
|
180
|
+
}, tailwind_variants.TVReturnType<{
|
|
181
|
+
position: {
|
|
182
|
+
fixed: {
|
|
183
|
+
base: string[];
|
|
184
|
+
};
|
|
185
|
+
sticky: {
|
|
186
|
+
base: string[];
|
|
187
|
+
};
|
|
188
|
+
static: {
|
|
189
|
+
base: string[];
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
color: {
|
|
193
|
+
default: {
|
|
194
|
+
link: string;
|
|
195
|
+
selectionIndicator: string[];
|
|
196
|
+
};
|
|
197
|
+
primary: {
|
|
198
|
+
link: string;
|
|
199
|
+
selectionIndicator: string[];
|
|
200
|
+
};
|
|
201
|
+
secondary: {
|
|
202
|
+
link: string;
|
|
203
|
+
selectionIndicator: string[];
|
|
204
|
+
};
|
|
205
|
+
success: {
|
|
206
|
+
link: string;
|
|
207
|
+
selectionIndicator: string[];
|
|
208
|
+
};
|
|
209
|
+
warning: {
|
|
210
|
+
link: string;
|
|
211
|
+
selectionIndicator: string[];
|
|
212
|
+
};
|
|
213
|
+
danger: {
|
|
214
|
+
link: string;
|
|
215
|
+
selectionIndicator: string[];
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
variant: {
|
|
219
|
+
solid: {};
|
|
220
|
+
underlined: {
|
|
221
|
+
selectionIndicator: string[];
|
|
222
|
+
};
|
|
223
|
+
ghost: {
|
|
224
|
+
selectionIndicator: string[];
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
hideLabels: {
|
|
228
|
+
always: {
|
|
229
|
+
label: string;
|
|
230
|
+
};
|
|
231
|
+
selected: {
|
|
232
|
+
label: string[];
|
|
233
|
+
};
|
|
234
|
+
never: {};
|
|
235
|
+
};
|
|
236
|
+
disableAnimation: {
|
|
237
|
+
true: {
|
|
238
|
+
link: string;
|
|
239
|
+
selectionIndicator: string;
|
|
240
|
+
icon: string;
|
|
241
|
+
label: string;
|
|
242
|
+
};
|
|
243
|
+
false: {
|
|
244
|
+
link: string;
|
|
245
|
+
selectionIndicator: string[];
|
|
246
|
+
icon: string;
|
|
247
|
+
label: string;
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
}, {
|
|
251
|
+
base: string[];
|
|
252
|
+
list: string[];
|
|
253
|
+
item: string[];
|
|
254
|
+
link: string[];
|
|
255
|
+
selectionIndicator: string[];
|
|
256
|
+
icon: string[];
|
|
257
|
+
label: string[];
|
|
258
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
259
|
+
type BottomBarVariantProps = VariantProps<typeof bottomBar>;
|
|
260
|
+
type BottomBarSlots = keyof ReturnType<typeof bottomBar>;
|
|
261
|
+
type BottomBarReturnType = ReturnType<typeof bottomBar>;
|
|
262
|
+
|
|
263
|
+
export { type BottomBarReturnType, type BottomBarSlots, type BottomBarVariantProps, bottomBar };
|