@frontile/theme 0.18.0-alpha.16 → 0.18.0-alpha.18

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.
@@ -1,27 +1,60 @@
1
1
  declare const notificationCard: import("tailwind-variants").TVReturnType<{
2
- appearance: {
3
- info: {
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
- success: {
18
+ solid: {
7
19
  base: string;
8
20
  };
9
- warning: {
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
- error: {
36
+ bottom: {
13
37
  base: string;
14
38
  };
39
+ none: {};
15
40
  };
16
41
  }, {
17
- base: string;
18
- message: string;
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
- appearance?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
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
- appearance: {
69
- info: {
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
- success: {
117
+ solid: {
73
118
  base: string;
74
119
  };
75
- warning: {
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
- error: {
135
+ bottom: {
79
136
  base: string;
80
137
  };
138
+ none: {};
81
139
  };
82
140
  }, {
83
- base: string;
84
- message: string;
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
- appearance: {
90
- info: {
91
- base: string;
92
- };
93
- success: {
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
- warning: {
164
+ tonal: {
97
165
  base: string;
166
+ description: string;
98
167
  };
99
- error: {
168
+ solid: {
100
169
  base: string;
101
170
  };
102
171
  };
103
- }, {
104
- base: string;
105
- message: string;
106
- customActions: string;
107
- customActionButton: string[];
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
- success: {
115
- base: string;
178
+ false: {
179
+ inner: string;
116
180
  };
117
- warning: {
181
+ };
182
+ stackPlacement: {
183
+ top: {
118
184
  base: string;
119
185
  };
120
- error: {
186
+ bottom: {
121
187
  base: string;
122
188
  };
189
+ none: {};
123
190
  };
124
191
  }, {
125
- appearance: {
126
- info: {
127
- base: string;
128
- };
129
- success: {
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
- warning: {
215
+ tonal: {
133
216
  base: string;
217
+ description: string;
134
218
  };
135
- error: {
219
+ solid: {
136
220
  base: string;
137
221
  };
138
222
  };
139
- }>, unknown, unknown, undefined>>;
140
- declare const notificationTransitions: {
141
- slideFromTopLeft: {
142
- enter: {
143
- transform: string;
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
- leave: {
150
- transform: string;
229
+ false: {
230
+ inner: string;
151
231
  };
152
232
  };
153
- slideFromTopCenter: {
154
- enter: {
155
- transform: string;
156
- };
157
- leaveTo: {
158
- transform: string;
159
- opacity: string;
233
+ stackPlacement: {
234
+ top: {
235
+ base: string;
160
236
  };
161
- leave: {
162
- transform: string;
237
+ bottom: {
238
+ base: string;
163
239
  };
240
+ none: {};
164
241
  };
165
- slideFromTopRight: {
166
- enter: {
167
- transform: string;
168
- };
169
- leaveTo: {
170
- transform: string;
171
- opacity: string;
172
- };
173
- leave: {
174
- transform: string;
175
- };
242
+ }, {
243
+ intent: {
244
+ default: {};
245
+ info: {};
246
+ success: {};
247
+ warning: {};
248
+ danger: {};
176
249
  };
177
- slideFromBottomLeft: {
178
- enter: {
179
- transform: string;
250
+ variant: {
251
+ default: {
252
+ base: string;
253
+ description: string;
180
254
  };
181
- leaveTo: {
182
- transform: string;
183
- opacity: string;
255
+ tonal: {
256
+ base: string;
257
+ description: string;
184
258
  };
185
- leave: {
186
- transform: string;
259
+ solid: {
260
+ base: string;
187
261
  };
188
262
  };
189
- slideFromBottomCenter: {
190
- enter: {
191
- transform: string;
263
+ hasDescription: {
264
+ true: {
265
+ inner: string;
266
+ icon: string;
267
+ spinner: string;
192
268
  };
193
- leaveTo: {
194
- transform: string;
195
- opacity: string;
196
- };
197
- leave: {
198
- transform: string;
269
+ false: {
270
+ inner: string;
199
271
  };
200
272
  };
201
- slideFromBottomRight: {
202
- enter: {
203
- transform: string;
204
- };
205
- leaveTo: {
206
- transform: string;
207
- opacity: string;
273
+ stackPlacement: {
274
+ top: {
275
+ base: string;
208
276
  };
209
- leave: {
210
- transform: string;
277
+ bottom: {
278
+ base: string;
211
279
  };
280
+ none: {};
212
281
  };
213
- };
214
- export { notificationCard, notificationTransitions };
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': string;
4
- 'top-center': string;
5
- 'top-right': string;
6
- 'bottom-left': string;
7
- 'bottom-center': string;
8
- 'bottom-right': string;
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
- }, undefined, string[], {
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': string;
58
- 'top-center': string;
59
- 'top-right': string;
60
- 'bottom-left': string;
61
- 'bottom-center': string;
62
- 'bottom-right': string;
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
- }, undefined, import("tailwind-variants").TVReturnType<{
91
+ }, {
92
+ base: string[];
93
+ stack: string[];
94
+ }, import("tailwind-variants").TVReturnType<{
65
95
  placement: {
66
- 'top-left': string;
67
- 'top-center': string;
68
- 'top-right': string;
69
- 'bottom-left': string;
70
- 'bottom-center': string;
71
- 'bottom-right': string;
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
- }, undefined, string[], import("tailwind-variants/dist/config.js").TVConfig<{
115
+ }, {
116
+ base: string[];
117
+ stack: string[];
118
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
74
119
  placement: {
75
- 'top-left': string;
76
- 'top-center': string;
77
- 'top-right': string;
78
- 'bottom-left': string;
79
- 'bottom-center': string;
80
- 'bottom-right': string;
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': string;
85
- 'top-center': string;
86
- 'top-right': string;
87
- 'bottom-left': string;
88
- 'bottom-center': string;
89
- 'bottom-right': string;
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;