@frontile/theme 0.18.0-alpha.15 → 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.
Files changed (41) hide show
  1. package/declarations/colors/util.d.ts +2 -1
  2. package/declarations/colors.d.ts +1 -0
  3. package/declarations/components/avatar.d.ts +8 -8
  4. package/declarations/components/button.d.ts +89 -41
  5. package/declarations/components/chip.d.ts +8 -8
  6. package/declarations/components/close-button.d.ts +8 -8
  7. package/declarations/components/command.d.ts +281 -0
  8. package/declarations/components/divider.d.ts +8 -8
  9. package/declarations/components/dropdown.d.ts +8 -8
  10. package/declarations/components/forms/forms-legacy.d.ts +96 -96
  11. package/declarations/components/forms/forms.d.ts +431 -173
  12. package/declarations/components/index.d.ts +4 -0
  13. package/declarations/components/kbd.d.ts +315 -0
  14. package/declarations/components/listbox.d.ts +112 -20
  15. package/declarations/components/notification-card.d.ts +181 -112
  16. package/declarations/components/notifications-container.d.ts +110 -41
  17. package/declarations/components/overlays.d.ts +77 -32
  18. package/declarations/components/popover.d.ts +8 -8
  19. package/declarations/components/progress-bar.d.ts +8 -8
  20. package/declarations/components/segmented-control.d.ts +463 -0
  21. package/declarations/components/skeleton.d.ts +8 -8
  22. package/declarations/components/spinner.d.ts +8 -8
  23. package/declarations/components/table.d.ts +9 -9
  24. package/declarations/components/tabs.d.ts +463 -0
  25. package/declarations/tw.d.ts +8 -8
  26. package/dist/colors.js +2 -1
  27. package/dist/colors.js.map +1 -1
  28. package/dist/index.js +2999 -4
  29. package/dist/index.js.map +1 -1
  30. package/dist/overlays-aq0rSm6R.js +372 -0
  31. package/dist/overlays-aq0rSm6R.js.map +1 -0
  32. package/dist/plugin.js +6 -42
  33. package/dist/plugin.js.map +1 -1
  34. package/dist/{config-BZyMPeuH.js → util-CHV5ZmrC.js} +40 -2
  35. package/dist/util-CHV5ZmrC.js.map +1 -0
  36. package/package.json +2 -2
  37. package/src/index.css +17 -0
  38. package/src/styles/typography.css +27 -22
  39. package/dist/config-BZyMPeuH.js.map +0 -1
  40. package/dist/forms-legacy-9Umui1Bp.js +0 -2363
  41. package/dist/forms-legacy-9Umui1Bp.js.map +0 -1
@@ -0,0 +1,281 @@
1
+ import type { VariantProps } from 'tailwind-variants';
2
+ declare const command: import("tailwind-variants").TVReturnType<{
3
+ size: {
4
+ sm: {
5
+ list: string;
6
+ };
7
+ md: {
8
+ list: string;
9
+ };
10
+ lg: {
11
+ list: string;
12
+ };
13
+ };
14
+ /**
15
+ * Draws the palette's own surface, for use outside a dialog. A shrink-wrap
16
+ * layout would otherwise size it to its widest row, so it also carries a
17
+ * sensible minimum width.
18
+ */
19
+ isBordered: {
20
+ true: {
21
+ base: string[];
22
+ footer: string;
23
+ };
24
+ };
25
+ }, {
26
+ base: string[];
27
+ inputWrapper: string[];
28
+ inputIcon: string[];
29
+ input: string[];
30
+ list: string[];
31
+ empty: string[];
32
+ loading: string[];
33
+ footer: string[];
34
+ footerHint: string;
35
+ kbd: string;
36
+ }, undefined, {
37
+ responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
38
+ size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
39
+ isBordered?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
40
+ } | undefined;
41
+ } & import("tailwind-variants/dist/config.js").TWMConfig & {
42
+ twMerge: true;
43
+ twMergeConfig: {
44
+ readonly extend: {
45
+ readonly classGroups: {
46
+ readonly 'icon-size': readonly [{
47
+ readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
48
+ }];
49
+ readonly 'border-w': readonly [{
50
+ readonly border: readonly ["thin", "heavy", "aggressive"];
51
+ }];
52
+ readonly rounded: readonly [{
53
+ readonly rounded: readonly ["default", "pill"];
54
+ }];
55
+ readonly shadow: readonly [{
56
+ readonly 'shadow-elevation': string[];
57
+ }];
58
+ readonly opacity: readonly [{
59
+ readonly opacity: readonly ["hover", "disabled"];
60
+ }];
61
+ readonly 'font-size': readonly [{
62
+ readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
63
+ }, {
64
+ readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
65
+ }, {
66
+ readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
67
+ }, {
68
+ readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
69
+ }, {
70
+ readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
71
+ }, {
72
+ readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
73
+ }, {
74
+ readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
75
+ }];
76
+ };
77
+ readonly conflictingClassGroups: {
78
+ readonly 'icon-size': readonly ["w", "h", "size"];
79
+ };
80
+ };
81
+ };
82
+ }, {
83
+ size: {
84
+ sm: {
85
+ list: string;
86
+ };
87
+ md: {
88
+ list: string;
89
+ };
90
+ lg: {
91
+ list: string;
92
+ };
93
+ };
94
+ /**
95
+ * Draws the palette's own surface, for use outside a dialog. A shrink-wrap
96
+ * layout would otherwise size it to its widest row, so it also carries a
97
+ * sensible minimum width.
98
+ */
99
+ isBordered: {
100
+ true: {
101
+ base: string[];
102
+ footer: string;
103
+ };
104
+ };
105
+ }, {
106
+ base: string[];
107
+ inputWrapper: string[];
108
+ inputIcon: string[];
109
+ input: string[];
110
+ list: string[];
111
+ empty: string[];
112
+ loading: string[];
113
+ footer: string[];
114
+ footerHint: string;
115
+ kbd: string;
116
+ }, import("tailwind-variants").TVReturnType<{
117
+ size: {
118
+ sm: {
119
+ list: string;
120
+ };
121
+ md: {
122
+ list: string;
123
+ };
124
+ lg: {
125
+ list: string;
126
+ };
127
+ };
128
+ /**
129
+ * Draws the palette's own surface, for use outside a dialog. A shrink-wrap
130
+ * layout would otherwise size it to its widest row, so it also carries a
131
+ * sensible minimum width.
132
+ */
133
+ isBordered: {
134
+ true: {
135
+ base: string[];
136
+ footer: string;
137
+ };
138
+ };
139
+ }, {
140
+ base: string[];
141
+ inputWrapper: string[];
142
+ inputIcon: string[];
143
+ input: string[];
144
+ list: string[];
145
+ empty: string[];
146
+ loading: string[];
147
+ footer: string[];
148
+ footerHint: string;
149
+ kbd: string;
150
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
151
+ size: {
152
+ sm: {
153
+ list: string;
154
+ };
155
+ md: {
156
+ list: string;
157
+ };
158
+ lg: {
159
+ list: string;
160
+ };
161
+ };
162
+ /**
163
+ * Draws the palette's own surface, for use outside a dialog. A shrink-wrap
164
+ * layout would otherwise size it to its widest row, so it also carries a
165
+ * sensible minimum width.
166
+ */
167
+ isBordered: {
168
+ true: {
169
+ base: string[];
170
+ footer: string;
171
+ };
172
+ };
173
+ }, {
174
+ size: {
175
+ sm: {
176
+ list: string;
177
+ };
178
+ md: {
179
+ list: string;
180
+ };
181
+ lg: {
182
+ list: string;
183
+ };
184
+ };
185
+ /**
186
+ * Draws the palette's own surface, for use outside a dialog. A shrink-wrap
187
+ * layout would otherwise size it to its widest row, so it also carries a
188
+ * sensible minimum width.
189
+ */
190
+ isBordered: {
191
+ true: {
192
+ base: string[];
193
+ footer: string;
194
+ };
195
+ };
196
+ }>, unknown, unknown, undefined>>;
197
+ declare const commandDialog: import("tailwind-variants").TVReturnType<{
198
+ [key: string]: {
199
+ [key: string]: import("tailwind-variants").ClassValue | {
200
+ base?: import("tailwind-variants").ClassValue;
201
+ panel?: import("tailwind-variants").ClassValue;
202
+ };
203
+ };
204
+ } | {
205
+ [x: string]: {
206
+ [x: string]: import("tailwind-variants").ClassValue | {
207
+ base?: import("tailwind-variants").ClassValue;
208
+ panel?: import("tailwind-variants").ClassValue;
209
+ };
210
+ };
211
+ } | {}, {
212
+ base: string;
213
+ panel: string[];
214
+ }, undefined, {
215
+ responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
216
+ } & import("tailwind-variants/dist/config.js").TWMConfig & {
217
+ twMerge: true;
218
+ twMergeConfig: {
219
+ readonly extend: {
220
+ readonly classGroups: {
221
+ readonly 'icon-size': readonly [{
222
+ readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
223
+ }];
224
+ readonly 'border-w': readonly [{
225
+ readonly border: readonly ["thin", "heavy", "aggressive"];
226
+ }];
227
+ readonly rounded: readonly [{
228
+ readonly rounded: readonly ["default", "pill"];
229
+ }];
230
+ readonly shadow: readonly [{
231
+ readonly 'shadow-elevation': string[];
232
+ }];
233
+ readonly opacity: readonly [{
234
+ readonly opacity: readonly ["hover", "disabled"];
235
+ }];
236
+ readonly 'font-size': readonly [{
237
+ readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
238
+ }, {
239
+ readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
240
+ }, {
241
+ readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
242
+ }, {
243
+ readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
244
+ }, {
245
+ readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
246
+ }, {
247
+ readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
248
+ }, {
249
+ readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
250
+ }];
251
+ };
252
+ readonly conflictingClassGroups: {
253
+ readonly 'icon-size': readonly ["w", "h", "size"];
254
+ };
255
+ };
256
+ };
257
+ }, {
258
+ [key: string]: {
259
+ [key: string]: import("tailwind-variants").ClassValue | {
260
+ base?: import("tailwind-variants").ClassValue;
261
+ panel?: import("tailwind-variants").ClassValue;
262
+ };
263
+ };
264
+ } | {}, {
265
+ base: string;
266
+ panel: string[];
267
+ }, import("tailwind-variants").TVReturnType<unknown, {
268
+ base: string;
269
+ panel: string[];
270
+ }, undefined, import("tailwind-variants/dist/config.js").TVConfig<unknown, {
271
+ [key: string]: {
272
+ [key: string]: import("tailwind-variants").ClassValue | {
273
+ base?: import("tailwind-variants").ClassValue;
274
+ panel?: import("tailwind-variants").ClassValue;
275
+ };
276
+ };
277
+ } | {}>, unknown, unknown, undefined>>;
278
+ export type CommandVariants = VariantProps<typeof command>;
279
+ export type CommandSlots = keyof ReturnType<typeof command>;
280
+ export type CommandDialogSlots = keyof ReturnType<typeof commandDialog>;
281
+ export { command, commandDialog };
@@ -13,7 +13,7 @@ declare const divider: import("tailwind-variants").TVReturnType<{
13
13
  readonly extend: {
14
14
  readonly classGroups: {
15
15
  readonly 'icon-size': readonly [{
16
- readonly 'size-icon': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
16
+ readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
17
17
  }];
18
18
  readonly 'border-w': readonly [{
19
19
  readonly border: readonly ["thin", "heavy", "aggressive"];
@@ -28,19 +28,19 @@ declare const divider: import("tailwind-variants").TVReturnType<{
28
28
  readonly opacity: readonly ["hover", "disabled"];
29
29
  }];
30
30
  readonly 'font-size': readonly [{
31
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
31
+ readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
32
32
  }, {
33
- readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
33
+ readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
34
34
  }, {
35
- readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
35
+ readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
36
36
  }, {
37
- readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
37
+ readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
38
38
  }, {
39
- readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
39
+ readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
40
40
  }, {
41
- readonly 'text-caption': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
41
+ readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
42
42
  }, {
43
- readonly 'text-label': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
43
+ readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
44
44
  }];
45
45
  };
46
46
  readonly conflictingClassGroups: {
@@ -6,7 +6,7 @@ declare const dropdownContent: import("tailwind-variants").TVReturnType<{} | {}
6
6
  readonly extend: {
7
7
  readonly classGroups: {
8
8
  readonly 'icon-size': readonly [{
9
- readonly 'size-icon': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
9
+ readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
10
10
  }];
11
11
  readonly 'border-w': readonly [{
12
12
  readonly border: readonly ["thin", "heavy", "aggressive"];
@@ -21,19 +21,19 @@ declare const dropdownContent: import("tailwind-variants").TVReturnType<{} | {}
21
21
  readonly opacity: readonly ["hover", "disabled"];
22
22
  }];
23
23
  readonly 'font-size': readonly [{
24
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
24
+ readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
25
25
  }, {
26
- readonly 'text-header': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
26
+ readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
27
27
  }, {
28
- readonly 'text-body': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
28
+ readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
29
29
  }, {
30
- readonly 'text-strong': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
30
+ readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
31
31
  }, {
32
- readonly 'text-code': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
32
+ readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
33
33
  }, {
34
- readonly 'text-caption': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
34
+ readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
35
35
  }, {
36
- readonly 'text-label': readonly ["pico", "nano", "micro", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
36
+ readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
37
37
  }];
38
38
  };
39
39
  readonly conflictingClassGroups: {