@frontile/theme 0.18.0-alpha.16 → 0.18.0-alpha.17
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/declarations/colors/util.d.ts +2 -1
- package/declarations/colors.d.ts +1 -0
- package/declarations/components/button.d.ts +49 -1
- package/declarations/components/command.d.ts +281 -0
- package/declarations/components/forms/forms.d.ts +259 -1
- package/declarations/components/index.d.ts +4 -0
- package/declarations/components/kbd.d.ts +315 -0
- package/declarations/components/listbox.d.ts +96 -4
- package/declarations/components/notification-card.d.ts +173 -104
- package/declarations/components/notifications-container.d.ts +102 -33
- package/declarations/components/overlays.d.ts +45 -0
- package/declarations/components/segmented-control.d.ts +463 -0
- package/declarations/components/table.d.ts +1 -1
- package/declarations/components/tabs.d.ts +463 -0
- package/dist/colors.js +2 -1
- package/dist/colors.js.map +1 -1
- package/dist/index.js +2999 -4
- package/dist/index.js.map +1 -1
- package/dist/overlays-aq0rSm6R.js +372 -0
- package/dist/overlays-aq0rSm6R.js.map +1 -0
- package/dist/plugin.js +6 -42
- package/dist/plugin.js.map +1 -1
- package/dist/{config-BZyMPeuH.js → util-CHV5ZmrC.js} +40 -2
- package/dist/util-CHV5ZmrC.js.map +1 -0
- package/package.json +2 -2
- package/src/index.css +17 -0
- package/dist/config-BZyMPeuH.js.map +0 -1
- package/dist/forms-legacy-D7knB8hB.js +0 -2363
- package/dist/forms-legacy-D7knB8hB.js.map +0 -1
|
@@ -1,27 +1,60 @@
|
|
|
1
1
|
declare const notificationCard: import("tailwind-variants").TVReturnType<{
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
intent: {
|
|
3
|
+
default: {};
|
|
4
|
+
info: {};
|
|
5
|
+
success: {};
|
|
6
|
+
warning: {};
|
|
7
|
+
danger: {};
|
|
8
|
+
};
|
|
9
|
+
variant: {
|
|
10
|
+
default: {
|
|
11
|
+
base: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
tonal: {
|
|
4
15
|
base: string;
|
|
16
|
+
description: string;
|
|
5
17
|
};
|
|
6
|
-
|
|
18
|
+
solid: {
|
|
7
19
|
base: string;
|
|
8
20
|
};
|
|
9
|
-
|
|
21
|
+
};
|
|
22
|
+
hasDescription: {
|
|
23
|
+
true: {
|
|
24
|
+
inner: string;
|
|
25
|
+
icon: string;
|
|
26
|
+
spinner: string;
|
|
27
|
+
};
|
|
28
|
+
false: {
|
|
29
|
+
inner: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
stackPlacement: {
|
|
33
|
+
top: {
|
|
10
34
|
base: string;
|
|
11
35
|
};
|
|
12
|
-
|
|
36
|
+
bottom: {
|
|
13
37
|
base: string;
|
|
14
38
|
};
|
|
39
|
+
none: {};
|
|
15
40
|
};
|
|
16
41
|
}, {
|
|
17
|
-
base: string;
|
|
18
|
-
|
|
42
|
+
base: string[];
|
|
43
|
+
inner: string;
|
|
44
|
+
icon: string;
|
|
45
|
+
spinner: string;
|
|
46
|
+
content: string;
|
|
47
|
+
title: string;
|
|
48
|
+
description: string;
|
|
19
49
|
customActions: string;
|
|
20
|
-
customActionButton: string
|
|
50
|
+
customActionButton: string;
|
|
21
51
|
closeButton: string[];
|
|
22
52
|
}, undefined, {
|
|
23
53
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
24
|
-
|
|
54
|
+
intent?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
55
|
+
variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
56
|
+
hasDescription?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
57
|
+
stackPlacement?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
25
58
|
} | undefined;
|
|
26
59
|
} & import("tailwind-variants/dist/config.js").TWMConfig & {
|
|
27
60
|
twMerge: true;
|
|
@@ -65,150 +98,186 @@ declare const notificationCard: import("tailwind-variants").TVReturnType<{
|
|
|
65
98
|
};
|
|
66
99
|
};
|
|
67
100
|
}, {
|
|
68
|
-
|
|
69
|
-
|
|
101
|
+
intent: {
|
|
102
|
+
default: {};
|
|
103
|
+
info: {};
|
|
104
|
+
success: {};
|
|
105
|
+
warning: {};
|
|
106
|
+
danger: {};
|
|
107
|
+
};
|
|
108
|
+
variant: {
|
|
109
|
+
default: {
|
|
110
|
+
base: string;
|
|
111
|
+
description: string;
|
|
112
|
+
};
|
|
113
|
+
tonal: {
|
|
70
114
|
base: string;
|
|
115
|
+
description: string;
|
|
71
116
|
};
|
|
72
|
-
|
|
117
|
+
solid: {
|
|
73
118
|
base: string;
|
|
74
119
|
};
|
|
75
|
-
|
|
120
|
+
};
|
|
121
|
+
hasDescription: {
|
|
122
|
+
true: {
|
|
123
|
+
inner: string;
|
|
124
|
+
icon: string;
|
|
125
|
+
spinner: string;
|
|
126
|
+
};
|
|
127
|
+
false: {
|
|
128
|
+
inner: string;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
stackPlacement: {
|
|
132
|
+
top: {
|
|
76
133
|
base: string;
|
|
77
134
|
};
|
|
78
|
-
|
|
135
|
+
bottom: {
|
|
79
136
|
base: string;
|
|
80
137
|
};
|
|
138
|
+
none: {};
|
|
81
139
|
};
|
|
82
140
|
}, {
|
|
83
|
-
base: string;
|
|
84
|
-
|
|
141
|
+
base: string[];
|
|
142
|
+
inner: string;
|
|
143
|
+
icon: string;
|
|
144
|
+
spinner: string;
|
|
145
|
+
content: string;
|
|
146
|
+
title: string;
|
|
147
|
+
description: string;
|
|
85
148
|
customActions: string;
|
|
86
|
-
customActionButton: string
|
|
149
|
+
customActionButton: string;
|
|
87
150
|
closeButton: string[];
|
|
88
151
|
}, import("tailwind-variants").TVReturnType<{
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
};
|
|
93
|
-
|
|
152
|
+
intent: {
|
|
153
|
+
default: {};
|
|
154
|
+
info: {};
|
|
155
|
+
success: {};
|
|
156
|
+
warning: {};
|
|
157
|
+
danger: {};
|
|
158
|
+
};
|
|
159
|
+
variant: {
|
|
160
|
+
default: {
|
|
94
161
|
base: string;
|
|
162
|
+
description: string;
|
|
95
163
|
};
|
|
96
|
-
|
|
164
|
+
tonal: {
|
|
97
165
|
base: string;
|
|
166
|
+
description: string;
|
|
98
167
|
};
|
|
99
|
-
|
|
168
|
+
solid: {
|
|
100
169
|
base: string;
|
|
101
170
|
};
|
|
102
171
|
};
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
closeButton: string[];
|
|
109
|
-
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
110
|
-
appearance: {
|
|
111
|
-
info: {
|
|
112
|
-
base: string;
|
|
172
|
+
hasDescription: {
|
|
173
|
+
true: {
|
|
174
|
+
inner: string;
|
|
175
|
+
icon: string;
|
|
176
|
+
spinner: string;
|
|
113
177
|
};
|
|
114
|
-
|
|
115
|
-
|
|
178
|
+
false: {
|
|
179
|
+
inner: string;
|
|
116
180
|
};
|
|
117
|
-
|
|
181
|
+
};
|
|
182
|
+
stackPlacement: {
|
|
183
|
+
top: {
|
|
118
184
|
base: string;
|
|
119
185
|
};
|
|
120
|
-
|
|
186
|
+
bottom: {
|
|
121
187
|
base: string;
|
|
122
188
|
};
|
|
189
|
+
none: {};
|
|
123
190
|
};
|
|
124
191
|
}, {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
192
|
+
base: string[];
|
|
193
|
+
inner: string;
|
|
194
|
+
icon: string;
|
|
195
|
+
spinner: string;
|
|
196
|
+
content: string;
|
|
197
|
+
title: string;
|
|
198
|
+
description: string;
|
|
199
|
+
customActions: string;
|
|
200
|
+
customActionButton: string;
|
|
201
|
+
closeButton: string[];
|
|
202
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
203
|
+
intent: {
|
|
204
|
+
default: {};
|
|
205
|
+
info: {};
|
|
206
|
+
success: {};
|
|
207
|
+
warning: {};
|
|
208
|
+
danger: {};
|
|
209
|
+
};
|
|
210
|
+
variant: {
|
|
211
|
+
default: {
|
|
130
212
|
base: string;
|
|
213
|
+
description: string;
|
|
131
214
|
};
|
|
132
|
-
|
|
215
|
+
tonal: {
|
|
133
216
|
base: string;
|
|
217
|
+
description: string;
|
|
134
218
|
};
|
|
135
|
-
|
|
219
|
+
solid: {
|
|
136
220
|
base: string;
|
|
137
221
|
};
|
|
138
222
|
};
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
};
|
|
145
|
-
leaveTo: {
|
|
146
|
-
transform: string;
|
|
147
|
-
opacity: string;
|
|
223
|
+
hasDescription: {
|
|
224
|
+
true: {
|
|
225
|
+
inner: string;
|
|
226
|
+
icon: string;
|
|
227
|
+
spinner: string;
|
|
148
228
|
};
|
|
149
|
-
|
|
150
|
-
|
|
229
|
+
false: {
|
|
230
|
+
inner: string;
|
|
151
231
|
};
|
|
152
232
|
};
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
};
|
|
157
|
-
leaveTo: {
|
|
158
|
-
transform: string;
|
|
159
|
-
opacity: string;
|
|
233
|
+
stackPlacement: {
|
|
234
|
+
top: {
|
|
235
|
+
base: string;
|
|
160
236
|
};
|
|
161
|
-
|
|
162
|
-
|
|
237
|
+
bottom: {
|
|
238
|
+
base: string;
|
|
163
239
|
};
|
|
240
|
+
none: {};
|
|
164
241
|
};
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
};
|
|
173
|
-
leave: {
|
|
174
|
-
transform: string;
|
|
175
|
-
};
|
|
242
|
+
}, {
|
|
243
|
+
intent: {
|
|
244
|
+
default: {};
|
|
245
|
+
info: {};
|
|
246
|
+
success: {};
|
|
247
|
+
warning: {};
|
|
248
|
+
danger: {};
|
|
176
249
|
};
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
250
|
+
variant: {
|
|
251
|
+
default: {
|
|
252
|
+
base: string;
|
|
253
|
+
description: string;
|
|
180
254
|
};
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
255
|
+
tonal: {
|
|
256
|
+
base: string;
|
|
257
|
+
description: string;
|
|
184
258
|
};
|
|
185
|
-
|
|
186
|
-
|
|
259
|
+
solid: {
|
|
260
|
+
base: string;
|
|
187
261
|
};
|
|
188
262
|
};
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
263
|
+
hasDescription: {
|
|
264
|
+
true: {
|
|
265
|
+
inner: string;
|
|
266
|
+
icon: string;
|
|
267
|
+
spinner: string;
|
|
192
268
|
};
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
opacity: string;
|
|
196
|
-
};
|
|
197
|
-
leave: {
|
|
198
|
-
transform: string;
|
|
269
|
+
false: {
|
|
270
|
+
inner: string;
|
|
199
271
|
};
|
|
200
272
|
};
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
};
|
|
205
|
-
leaveTo: {
|
|
206
|
-
transform: string;
|
|
207
|
-
opacity: string;
|
|
273
|
+
stackPlacement: {
|
|
274
|
+
top: {
|
|
275
|
+
base: string;
|
|
208
276
|
};
|
|
209
|
-
|
|
210
|
-
|
|
277
|
+
bottom: {
|
|
278
|
+
base: string;
|
|
211
279
|
};
|
|
280
|
+
none: {};
|
|
212
281
|
};
|
|
213
|
-
}
|
|
214
|
-
export { notificationCard
|
|
282
|
+
}>, unknown, unknown, undefined>>;
|
|
283
|
+
export { notificationCard };
|
|
@@ -1,13 +1,28 @@
|
|
|
1
1
|
declare const notificationsContainer: import("tailwind-variants").TVReturnType<{
|
|
2
2
|
placement: {
|
|
3
|
-
'top-left':
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
'
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
'top-left': {
|
|
4
|
+
base: string;
|
|
5
|
+
};
|
|
6
|
+
'top-center': {
|
|
7
|
+
base: string;
|
|
8
|
+
};
|
|
9
|
+
'top-right': {
|
|
10
|
+
base: string;
|
|
11
|
+
};
|
|
12
|
+
'bottom-left': {
|
|
13
|
+
base: string;
|
|
14
|
+
};
|
|
15
|
+
'bottom-center': {
|
|
16
|
+
base: string;
|
|
17
|
+
};
|
|
18
|
+
'bottom-right': {
|
|
19
|
+
base: string;
|
|
20
|
+
};
|
|
9
21
|
};
|
|
10
|
-
},
|
|
22
|
+
}, {
|
|
23
|
+
base: string[];
|
|
24
|
+
stack: string[];
|
|
25
|
+
}, undefined, {
|
|
11
26
|
responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
|
|
12
27
|
placement?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
|
|
13
28
|
} | undefined;
|
|
@@ -54,39 +69,93 @@ declare const notificationsContainer: import("tailwind-variants").TVReturnType<{
|
|
|
54
69
|
};
|
|
55
70
|
}, {
|
|
56
71
|
placement: {
|
|
57
|
-
'top-left':
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
'
|
|
61
|
-
|
|
62
|
-
|
|
72
|
+
'top-left': {
|
|
73
|
+
base: string;
|
|
74
|
+
};
|
|
75
|
+
'top-center': {
|
|
76
|
+
base: string;
|
|
77
|
+
};
|
|
78
|
+
'top-right': {
|
|
79
|
+
base: string;
|
|
80
|
+
};
|
|
81
|
+
'bottom-left': {
|
|
82
|
+
base: string;
|
|
83
|
+
};
|
|
84
|
+
'bottom-center': {
|
|
85
|
+
base: string;
|
|
86
|
+
};
|
|
87
|
+
'bottom-right': {
|
|
88
|
+
base: string;
|
|
89
|
+
};
|
|
63
90
|
};
|
|
64
|
-
},
|
|
91
|
+
}, {
|
|
92
|
+
base: string[];
|
|
93
|
+
stack: string[];
|
|
94
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
65
95
|
placement: {
|
|
66
|
-
'top-left':
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
'
|
|
70
|
-
|
|
71
|
-
|
|
96
|
+
'top-left': {
|
|
97
|
+
base: string;
|
|
98
|
+
};
|
|
99
|
+
'top-center': {
|
|
100
|
+
base: string;
|
|
101
|
+
};
|
|
102
|
+
'top-right': {
|
|
103
|
+
base: string;
|
|
104
|
+
};
|
|
105
|
+
'bottom-left': {
|
|
106
|
+
base: string;
|
|
107
|
+
};
|
|
108
|
+
'bottom-center': {
|
|
109
|
+
base: string;
|
|
110
|
+
};
|
|
111
|
+
'bottom-right': {
|
|
112
|
+
base: string;
|
|
113
|
+
};
|
|
72
114
|
};
|
|
73
|
-
},
|
|
115
|
+
}, {
|
|
116
|
+
base: string[];
|
|
117
|
+
stack: string[];
|
|
118
|
+
}, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
|
|
74
119
|
placement: {
|
|
75
|
-
'top-left':
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
'
|
|
79
|
-
|
|
80
|
-
|
|
120
|
+
'top-left': {
|
|
121
|
+
base: string;
|
|
122
|
+
};
|
|
123
|
+
'top-center': {
|
|
124
|
+
base: string;
|
|
125
|
+
};
|
|
126
|
+
'top-right': {
|
|
127
|
+
base: string;
|
|
128
|
+
};
|
|
129
|
+
'bottom-left': {
|
|
130
|
+
base: string;
|
|
131
|
+
};
|
|
132
|
+
'bottom-center': {
|
|
133
|
+
base: string;
|
|
134
|
+
};
|
|
135
|
+
'bottom-right': {
|
|
136
|
+
base: string;
|
|
137
|
+
};
|
|
81
138
|
};
|
|
82
139
|
}, {
|
|
83
140
|
placement: {
|
|
84
|
-
'top-left':
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
'
|
|
88
|
-
|
|
89
|
-
|
|
141
|
+
'top-left': {
|
|
142
|
+
base: string;
|
|
143
|
+
};
|
|
144
|
+
'top-center': {
|
|
145
|
+
base: string;
|
|
146
|
+
};
|
|
147
|
+
'top-right': {
|
|
148
|
+
base: string;
|
|
149
|
+
};
|
|
150
|
+
'bottom-left': {
|
|
151
|
+
base: string;
|
|
152
|
+
};
|
|
153
|
+
'bottom-center': {
|
|
154
|
+
base: string;
|
|
155
|
+
};
|
|
156
|
+
'bottom-right': {
|
|
157
|
+
base: string;
|
|
158
|
+
};
|
|
90
159
|
};
|
|
91
160
|
}>, unknown, unknown, undefined>>;
|
|
92
161
|
export { notificationsContainer };
|
|
@@ -530,6 +530,51 @@ declare const overlayTransitions: {
|
|
|
530
530
|
transform: string;
|
|
531
531
|
};
|
|
532
532
|
};
|
|
533
|
+
/**
|
|
534
|
+
* Command palette: a short scale-and-rise. Deliberately faster than `scale`
|
|
535
|
+
* -- a palette is opened mid-task and re-opened constantly, so the animation
|
|
536
|
+
* has to read as instant rather than as a reveal.
|
|
537
|
+
*/
|
|
538
|
+
command: {
|
|
539
|
+
enter: {
|
|
540
|
+
opacity: string;
|
|
541
|
+
transform: string;
|
|
542
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
543
|
+
transform: string;
|
|
544
|
+
};
|
|
545
|
+
};
|
|
546
|
+
enterActive: {
|
|
547
|
+
transitionProperty: string;
|
|
548
|
+
transitionDuration: string;
|
|
549
|
+
transitionTimingFunction: string;
|
|
550
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
551
|
+
transitionProperty: string;
|
|
552
|
+
};
|
|
553
|
+
};
|
|
554
|
+
enterTo: {
|
|
555
|
+
opacity: string;
|
|
556
|
+
transform: string;
|
|
557
|
+
};
|
|
558
|
+
leave: {
|
|
559
|
+
opacity: string;
|
|
560
|
+
transform: string;
|
|
561
|
+
};
|
|
562
|
+
leaveActive: {
|
|
563
|
+
transitionProperty: string;
|
|
564
|
+
transitionDuration: string;
|
|
565
|
+
transitionTimingFunction: string;
|
|
566
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
567
|
+
transitionProperty: string;
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
leaveTo: {
|
|
571
|
+
opacity: string;
|
|
572
|
+
transform: string;
|
|
573
|
+
'@media (prefers-reduced-motion: reduce)': {
|
|
574
|
+
transform: string;
|
|
575
|
+
};
|
|
576
|
+
};
|
|
577
|
+
};
|
|
533
578
|
scale: {
|
|
534
579
|
enter: {
|
|
535
580
|
opacity: string;
|