@frontile/theme 0.18.0-alpha.9 → 0.18.0-beta.1

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/README.md +3 -2
  2. package/declarations/colors/config.d.ts +10 -4
  3. package/declarations/colors/semantic.d.ts +4 -0
  4. package/declarations/colors/types.d.ts +118 -13
  5. package/declarations/colors/util.d.ts +2 -1
  6. package/declarations/colors.d.ts +1 -0
  7. package/declarations/components/accordion.d.ts +308 -0
  8. package/declarations/components/alert.d.ts +294 -0
  9. package/declarations/components/avatar.d.ts +9 -7
  10. package/declarations/components/button.d.ts +118 -48
  11. package/declarations/components/calendar.d.ts +382 -0
  12. package/declarations/components/chip.d.ts +79 -42
  13. package/declarations/components/close-button.d.ts +9 -7
  14. package/declarations/components/command.d.ts +281 -0
  15. package/declarations/components/divider.d.ts +9 -7
  16. package/declarations/components/dropdown.d.ts +11 -9
  17. package/declarations/components/external-link.d.ts +160 -0
  18. package/declarations/components/forms/forms-legacy.d.ts +108 -84
  19. package/declarations/components/forms/forms.d.ts +652 -162
  20. package/declarations/components/index.d.ts +11 -0
  21. package/declarations/components/kbd.d.ts +315 -0
  22. package/declarations/components/listbox.d.ts +122 -23
  23. package/declarations/components/notification-card.d.ts +182 -111
  24. package/declarations/components/notifications-container.d.ts +111 -40
  25. package/declarations/components/overlays.d.ts +429 -29
  26. package/declarations/components/pagination.d.ts +359 -0
  27. package/declarations/components/popover.d.ts +11 -9
  28. package/declarations/components/progress-bar.d.ts +29 -12
  29. package/declarations/components/segmented-control.d.ts +463 -0
  30. package/declarations/components/shared.d.ts +9 -0
  31. package/declarations/components/skeleton.d.ts +151 -0
  32. package/declarations/components/spinner.d.ts +19 -12
  33. package/declarations/components/table.d.ts +20 -12
  34. package/declarations/components/tabs.d.ts +463 -0
  35. package/declarations/components/tooltip.d.ts +270 -0
  36. package/declarations/plugin/default-config.d.ts +10 -4
  37. package/declarations/tw.d.ts +9 -7
  38. package/declarations/types.d.ts +18 -1
  39. package/dist/colors.js +2 -1
  40. package/dist/colors.js.map +1 -1
  41. package/dist/index.js +3831 -5
  42. package/dist/index.js.map +1 -1
  43. package/dist/overlays-DIZlPzFH.js +654 -0
  44. package/dist/overlays-DIZlPzFH.js.map +1 -0
  45. package/dist/plugin.js +54 -83
  46. package/dist/plugin.js.map +1 -1
  47. package/dist/util-Dp_dlOPq.js +482 -0
  48. package/dist/util-Dp_dlOPq.js.map +1 -0
  49. package/package.json +12 -12
  50. package/src/index.css +64 -15
  51. package/src/styles/font-faces.css +23 -5
  52. package/src/styles/theme.css +18 -7
  53. package/src/styles/typography.css +36 -29
  54. package/declarations/colors/contrast.d.ts +0 -16
  55. package/declarations/colors/defaults.d.ts +0 -66
  56. package/declarations/colors/palette-dark.d.ts +0 -123
  57. package/declarations/colors/palette-light.d.ts +0 -123
  58. package/dist/config-CDp8PRHs.js +0 -370
  59. package/dist/config-CDp8PRHs.js.map +0 -1
  60. package/dist/forms-legacy-CgoY8bbm.js +0 -1967
  61. package/dist/forms-legacy-CgoY8bbm.js.map +0 -1
  62. package/dist/index.css +0 -63
  63. package/dist/styles/font-faces.css +0 -70
  64. package/dist/styles/theme.css +0 -48
  65. package/dist/styles/typography.css +0 -387
@@ -0,0 +1,294 @@
1
+ declare const alert: import("tailwind-variants").TVReturnType<{
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: {
15
+ base: string;
16
+ description: string;
17
+ };
18
+ solid: {
19
+ base: string;
20
+ };
21
+ };
22
+ layout: {
23
+ inline: {};
24
+ banner: {
25
+ base: string;
26
+ inner: string;
27
+ content: string;
28
+ closeButton: string;
29
+ };
30
+ };
31
+ hasDescription: {
32
+ true: {
33
+ inner: string;
34
+ icon: string;
35
+ };
36
+ false: {
37
+ inner: string;
38
+ };
39
+ };
40
+ hasCloseButton: {
41
+ true: {};
42
+ false: {};
43
+ };
44
+ }, {
45
+ base: string;
46
+ inner: string;
47
+ icon: string;
48
+ content: string;
49
+ title: string;
50
+ description: string;
51
+ actions: string;
52
+ closeButton: string[];
53
+ }, undefined, {
54
+ responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
55
+ variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
56
+ intent?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
57
+ layout?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
58
+ hasDescription?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
59
+ hasCloseButton?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
60
+ } | undefined;
61
+ } & import("tailwind-variants/dist/config.js").TWMConfig & {
62
+ twMerge: true;
63
+ twMergeConfig: {
64
+ readonly extend: {
65
+ readonly classGroups: {
66
+ readonly 'icon-size': readonly [{
67
+ readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
68
+ }];
69
+ readonly 'border-w': readonly [{
70
+ readonly border: readonly ["thin", "heavy", "aggressive"];
71
+ }];
72
+ readonly rounded: readonly [{
73
+ readonly rounded: readonly ["default", "pill"];
74
+ }];
75
+ readonly shadow: readonly [{
76
+ readonly 'shadow-elevation': string[];
77
+ }];
78
+ readonly opacity: readonly [{
79
+ readonly opacity: readonly ["hover", "disabled"];
80
+ }];
81
+ readonly 'font-size': readonly [{
82
+ readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
83
+ }, {
84
+ readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
85
+ }, {
86
+ readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
87
+ }, {
88
+ readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
89
+ }, {
90
+ readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
91
+ }, {
92
+ readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
93
+ }, {
94
+ readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
95
+ }];
96
+ };
97
+ readonly conflictingClassGroups: {
98
+ readonly 'icon-size': readonly ["w", "h", "size"];
99
+ };
100
+ };
101
+ };
102
+ }, {
103
+ intent: {
104
+ default: {};
105
+ info: {};
106
+ success: {};
107
+ warning: {};
108
+ danger: {};
109
+ };
110
+ variant: {
111
+ default: {
112
+ base: string;
113
+ description: string;
114
+ };
115
+ tonal: {
116
+ base: string;
117
+ description: string;
118
+ };
119
+ solid: {
120
+ base: string;
121
+ };
122
+ };
123
+ layout: {
124
+ inline: {};
125
+ banner: {
126
+ base: string;
127
+ inner: string;
128
+ content: string;
129
+ closeButton: string;
130
+ };
131
+ };
132
+ hasDescription: {
133
+ true: {
134
+ inner: string;
135
+ icon: string;
136
+ };
137
+ false: {
138
+ inner: string;
139
+ };
140
+ };
141
+ hasCloseButton: {
142
+ true: {};
143
+ false: {};
144
+ };
145
+ }, {
146
+ base: string;
147
+ inner: string;
148
+ icon: string;
149
+ content: string;
150
+ title: string;
151
+ description: string;
152
+ actions: string;
153
+ closeButton: string[];
154
+ }, import("tailwind-variants").TVReturnType<{
155
+ intent: {
156
+ default: {};
157
+ info: {};
158
+ success: {};
159
+ warning: {};
160
+ danger: {};
161
+ };
162
+ variant: {
163
+ default: {
164
+ base: string;
165
+ description: string;
166
+ };
167
+ tonal: {
168
+ base: string;
169
+ description: string;
170
+ };
171
+ solid: {
172
+ base: string;
173
+ };
174
+ };
175
+ layout: {
176
+ inline: {};
177
+ banner: {
178
+ base: string;
179
+ inner: string;
180
+ content: string;
181
+ closeButton: string;
182
+ };
183
+ };
184
+ hasDescription: {
185
+ true: {
186
+ inner: string;
187
+ icon: string;
188
+ };
189
+ false: {
190
+ inner: string;
191
+ };
192
+ };
193
+ hasCloseButton: {
194
+ true: {};
195
+ false: {};
196
+ };
197
+ }, {
198
+ base: string;
199
+ inner: string;
200
+ icon: string;
201
+ content: string;
202
+ title: string;
203
+ description: string;
204
+ actions: string;
205
+ closeButton: string[];
206
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
207
+ intent: {
208
+ default: {};
209
+ info: {};
210
+ success: {};
211
+ warning: {};
212
+ danger: {};
213
+ };
214
+ variant: {
215
+ default: {
216
+ base: string;
217
+ description: string;
218
+ };
219
+ tonal: {
220
+ base: string;
221
+ description: string;
222
+ };
223
+ solid: {
224
+ base: string;
225
+ };
226
+ };
227
+ layout: {
228
+ inline: {};
229
+ banner: {
230
+ base: string;
231
+ inner: string;
232
+ content: string;
233
+ closeButton: string;
234
+ };
235
+ };
236
+ hasDescription: {
237
+ true: {
238
+ inner: string;
239
+ icon: string;
240
+ };
241
+ false: {
242
+ inner: string;
243
+ };
244
+ };
245
+ hasCloseButton: {
246
+ true: {};
247
+ false: {};
248
+ };
249
+ }, {
250
+ intent: {
251
+ default: {};
252
+ info: {};
253
+ success: {};
254
+ warning: {};
255
+ danger: {};
256
+ };
257
+ variant: {
258
+ default: {
259
+ base: string;
260
+ description: string;
261
+ };
262
+ tonal: {
263
+ base: string;
264
+ description: string;
265
+ };
266
+ solid: {
267
+ base: string;
268
+ };
269
+ };
270
+ layout: {
271
+ inline: {};
272
+ banner: {
273
+ base: string;
274
+ inner: string;
275
+ content: string;
276
+ closeButton: string;
277
+ };
278
+ };
279
+ hasDescription: {
280
+ true: {
281
+ inner: string;
282
+ icon: string;
283
+ };
284
+ false: {
285
+ inner: string;
286
+ };
287
+ };
288
+ hasCloseButton: {
289
+ true: {};
290
+ false: {};
291
+ };
292
+ }>, unknown, unknown, undefined>>;
293
+ export type AlertSlots = keyof ReturnType<typeof alert>;
294
+ export { alert };
@@ -36,7 +36,7 @@ declare const avatar: import("tailwind-variants").TVReturnType<{
36
36
  readonly extend: {
37
37
  readonly classGroups: {
38
38
  readonly 'icon-size': readonly [{
39
- readonly 'size-icon': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
39
+ readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
40
40
  }];
41
41
  readonly 'border-w': readonly [{
42
42
  readonly border: readonly ["thin", "heavy", "aggressive"];
@@ -51,17 +51,19 @@ declare const avatar: import("tailwind-variants").TVReturnType<{
51
51
  readonly opacity: readonly ["hover", "disabled"];
52
52
  }];
53
53
  readonly 'font-size': readonly [{
54
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
54
+ readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
55
55
  }, {
56
- readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
56
+ readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
57
57
  }, {
58
- readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
58
+ readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
59
59
  }, {
60
- readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
60
+ readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
61
61
  }, {
62
- readonly 'text-caption': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
62
+ readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
63
63
  }, {
64
- readonly 'text-label': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
64
+ readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
65
+ }, {
66
+ readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
65
67
  }];
66
68
  };
67
69
  readonly conflictingClassGroups: {