@frontile/theme 0.18.0-alpha.4 → 0.18.0-alpha.6

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 (47) hide show
  1. package/README.md +20 -22
  2. package/declarations/colors/config.d.ts +8 -32
  3. package/declarations/colors/palette-absolute.d.ts +2 -2
  4. package/declarations/colors/palette.d.ts +1 -1
  5. package/declarations/colors/types.d.ts +102 -151
  6. package/declarations/components/button.d.ts +25 -0
  7. package/declarations/components/dropdown.d.ts +2 -2
  8. package/declarations/components/forms/forms.d.ts +9 -4
  9. package/declarations/components/listbox.d.ts +5 -0
  10. package/declarations/components/popover.d.ts +2 -2
  11. package/declarations/components/progress-bar.d.ts +15 -0
  12. package/declarations/components/spinner.d.ts +5 -0
  13. package/declarations/plugin/default-config.d.ts +8 -32
  14. package/dist/colors.js +1 -1
  15. package/dist/config-C7vXQ4-a.js +539 -0
  16. package/dist/config-C7vXQ4-a.js.map +1 -0
  17. package/dist/config-CBa5Uj8t.js +523 -0
  18. package/dist/config-CBa5Uj8t.js.map +1 -0
  19. package/dist/config-CHoxd5sI.js +523 -0
  20. package/dist/config-CHoxd5sI.js.map +1 -0
  21. package/dist/config-CWYC8yYP.js +535 -0
  22. package/dist/config-CWYC8yYP.js.map +1 -0
  23. package/dist/config-DloXBqGi.js +370 -0
  24. package/dist/config-DloXBqGi.js.map +1 -0
  25. package/dist/config-mOd3rEnK.js +414 -0
  26. package/dist/config-mOd3rEnK.js.map +1 -0
  27. package/dist/forms-legacy-CrC9B8no.js +1869 -0
  28. package/dist/forms-legacy-CrC9B8no.js.map +1 -0
  29. package/dist/forms-legacy-DpUs6ftu.js +1944 -0
  30. package/dist/forms-legacy-DpUs6ftu.js.map +1 -0
  31. package/dist/forms-legacy-zJdd4qoI.js +1944 -0
  32. package/dist/forms-legacy-zJdd4qoI.js.map +1 -0
  33. package/dist/index.js +2 -2
  34. package/dist/plugin.js +4 -4
  35. package/dist/plugin.js.map +1 -1
  36. package/dist/styles/font-faces.css +52 -8
  37. package/dist/styles/typography.css +213 -117
  38. package/package.json +22 -20
  39. package/public/fonts/domine-variable.woff2 +0 -0
  40. package/public/fonts/open-sans-italic-variable.woff2 +0 -0
  41. package/public/fonts/open-sans-variable.woff2 +0 -0
  42. package/public/fonts/source-code-pro-italic-variable.woff2 +0 -0
  43. package/public/fonts/source-code-pro-variable.woff2 +0 -0
  44. package/src/styles/font-faces.css +52 -8
  45. package/src/styles/typography.css +213 -117
  46. package/public/fonts/stix-two-text-italic-variable.woff2 +0 -0
  47. package/public/fonts/stix-two-text-variable.woff2 +0 -0
@@ -1,4 +1,4 @@
1
- declare const dropdownContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "bg-surface-solid-1 w-[260px] rounded-sm border border-neutral-subtle", {
1
+ declare const dropdownContent: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "bg-surface-input w-[260px] rounded-sm border border-neutral-subtle", {
2
2
  responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
3
3
  } & import("tailwind-variants/dist/config.js").TWMConfig & {
4
4
  twMerge: true;
@@ -39,5 +39,5 @@ declare const dropdownContent: import("tailwind-variants").TVReturnType<{} | {}
39
39
  };
40
40
  };
41
41
  };
42
- }, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "bg-surface-solid-1 w-[260px] rounded-sm border border-neutral-subtle", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
42
+ }, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "bg-surface-input w-[260px] rounded-sm border border-neutral-subtle", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
43
43
  export { dropdownContent };
@@ -108,7 +108,7 @@ declare const formDescription: import("tailwind-variants").TVReturnType<{
108
108
  md: string;
109
109
  lg: string;
110
110
  };
111
- }, undefined, "text-neutral-medium text-xs pb-1 last:pb-0", {
111
+ }, undefined, "text-neutral font-body text-body-micro pb-1 last:pb-0", {
112
112
  responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
113
113
  size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
114
114
  } | undefined;
@@ -163,7 +163,7 @@ declare const formDescription: import("tailwind-variants").TVReturnType<{
163
163
  md: string;
164
164
  lg: string;
165
165
  };
166
- }, undefined, "text-neutral-medium text-xs pb-1 last:pb-0", import("tailwind-variants/dist/config.js").TVConfig<{
166
+ }, undefined, "text-neutral font-body text-body-micro pb-1 last:pb-0", import("tailwind-variants/dist/config.js").TVConfig<{
167
167
  size: {
168
168
  sm: string;
169
169
  md: string;
@@ -179,6 +179,7 @@ declare const formDescription: import("tailwind-variants").TVReturnType<{
179
179
  declare const formFeedback: import("tailwind-variants").TVReturnType<{
180
180
  intent: {
181
181
  primary: string;
182
+ accent: string;
182
183
  success: string;
183
184
  danger: string;
184
185
  warning: string;
@@ -188,7 +189,7 @@ declare const formFeedback: import("tailwind-variants").TVReturnType<{
188
189
  md: string;
189
190
  lg: string;
190
191
  };
191
- }, undefined, "text-xs pt-1", {
192
+ }, undefined, "font-body text-body-micro pt-1", {
192
193
  responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
193
194
  size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
194
195
  intent?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
@@ -235,6 +236,7 @@ declare const formFeedback: import("tailwind-variants").TVReturnType<{
235
236
  }, {
236
237
  intent: {
237
238
  primary: string;
239
+ accent: string;
238
240
  success: string;
239
241
  danger: string;
240
242
  warning: string;
@@ -247,6 +249,7 @@ declare const formFeedback: import("tailwind-variants").TVReturnType<{
247
249
  }, undefined, import("tailwind-variants").TVReturnType<{
248
250
  intent: {
249
251
  primary: string;
252
+ accent: string;
250
253
  success: string;
251
254
  danger: string;
252
255
  warning: string;
@@ -256,9 +259,10 @@ declare const formFeedback: import("tailwind-variants").TVReturnType<{
256
259
  md: string;
257
260
  lg: string;
258
261
  };
259
- }, undefined, "text-xs pt-1", import("tailwind-variants/dist/config.js").TVConfig<{
262
+ }, undefined, "font-body text-body-micro pt-1", import("tailwind-variants/dist/config.js").TVConfig<{
260
263
  intent: {
261
264
  primary: string;
265
+ accent: string;
262
266
  success: string;
263
267
  danger: string;
264
268
  warning: string;
@@ -271,6 +275,7 @@ declare const formFeedback: import("tailwind-variants").TVReturnType<{
271
275
  }, {
272
276
  intent: {
273
277
  primary: string;
278
+ accent: string;
274
279
  success: string;
275
280
  danger: string;
276
281
  warning: string;
@@ -56,6 +56,7 @@ declare const listboxItem: import("tailwind-variants").TVReturnType<{
56
56
  default: {};
57
57
  primary: {};
58
58
  secondary: {};
59
+ accent: {};
59
60
  success: {};
60
61
  warning: {};
61
62
  danger: {};
@@ -151,6 +152,7 @@ declare const listboxItem: import("tailwind-variants").TVReturnType<{
151
152
  default: {};
152
153
  primary: {};
153
154
  secondary: {};
155
+ accent: {};
154
156
  success: {};
155
157
  warning: {};
156
158
  danger: {};
@@ -198,6 +200,7 @@ declare const listboxItem: import("tailwind-variants").TVReturnType<{
198
200
  default: {};
199
201
  primary: {};
200
202
  secondary: {};
203
+ accent: {};
201
204
  success: {};
202
205
  warning: {};
203
206
  danger: {};
@@ -245,6 +248,7 @@ declare const listboxItem: import("tailwind-variants").TVReturnType<{
245
248
  default: {};
246
249
  primary: {};
247
250
  secondary: {};
251
+ accent: {};
248
252
  success: {};
249
253
  warning: {};
250
254
  danger: {};
@@ -285,6 +289,7 @@ declare const listboxItem: import("tailwind-variants").TVReturnType<{
285
289
  default: {};
286
290
  primary: {};
287
291
  secondary: {};
292
+ accent: {};
288
293
  success: {};
289
294
  warning: {};
290
295
  danger: {};
@@ -6,7 +6,7 @@ declare const popover: import("tailwind-variants").TVReturnType<{
6
6
  xl: string;
7
7
  trigger: string;
8
8
  };
9
- }, undefined, "bg-surface-solid-1 rounded-sm border border-neutral-subtle", {
9
+ }, undefined, "bg-surface-input rounded-sm border border-neutral-subtle", {
10
10
  responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
11
11
  size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
12
12
  } | undefined;
@@ -65,7 +65,7 @@ declare const popover: import("tailwind-variants").TVReturnType<{
65
65
  xl: string;
66
66
  trigger: string;
67
67
  };
68
- }, undefined, "bg-surface-solid-1 rounded-sm border border-neutral-subtle", import("tailwind-variants/dist/config.js").TVConfig<{
68
+ }, undefined, "bg-surface-input rounded-sm border border-neutral-subtle", import("tailwind-variants/dist/config.js").TVConfig<{
69
69
  size: {
70
70
  sm: string;
71
71
  md: string;
@@ -11,6 +11,9 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
11
11
  primary: {
12
12
  progress: string;
13
13
  };
14
+ accent: {
15
+ progress: string;
16
+ };
14
17
  success: {
15
18
  progress: string;
16
19
  };
@@ -115,6 +118,9 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
115
118
  primary: {
116
119
  progress: string;
117
120
  };
121
+ accent: {
122
+ progress: string;
123
+ };
118
124
  success: {
119
125
  progress: string;
120
126
  };
@@ -173,6 +179,9 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
173
179
  primary: {
174
180
  progress: string;
175
181
  };
182
+ accent: {
183
+ progress: string;
184
+ };
176
185
  success: {
177
186
  progress: string;
178
187
  };
@@ -231,6 +240,9 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
231
240
  primary: {
232
241
  progress: string;
233
242
  };
243
+ accent: {
244
+ progress: string;
245
+ };
234
246
  success: {
235
247
  progress: string;
236
248
  };
@@ -284,6 +296,9 @@ declare const progressBar: import("tailwind-variants").TVReturnType<{
284
296
  primary: {
285
297
  progress: string;
286
298
  };
299
+ accent: {
300
+ progress: string;
301
+ };
287
302
  success: {
288
303
  progress: string;
289
304
  };
@@ -10,6 +10,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
10
10
  intent: {
11
11
  default: string;
12
12
  primary: string;
13
+ accent: string;
13
14
  success: string;
14
15
  warning: string;
15
16
  danger: string;
@@ -69,6 +70,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
69
70
  intent: {
70
71
  default: string;
71
72
  primary: string;
73
+ accent: string;
72
74
  success: string;
73
75
  warning: string;
74
76
  danger: string;
@@ -84,6 +86,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
84
86
  intent: {
85
87
  default: string;
86
88
  primary: string;
89
+ accent: string;
87
90
  success: string;
88
91
  warning: string;
89
92
  danger: string;
@@ -99,6 +102,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
99
102
  intent: {
100
103
  default: string;
101
104
  primary: string;
105
+ accent: string;
102
106
  success: string;
103
107
  warning: string;
104
108
  danger: string;
@@ -114,6 +118,7 @@ declare const spinner: import("tailwind-variants").TVReturnType<{
114
118
  intent: {
115
119
  default: string;
116
120
  primary: string;
121
+ accent: string;
117
122
  success: string;
118
123
  warning: string;
119
124
  danger: string;
@@ -5,32 +5,20 @@ declare const defaultConfig: {
5
5
  light: {
6
6
  colors: {
7
7
  neutral: import("../colors").SemanticColorCategory;
8
- brand: import("../colors").SemanticColorCategory;
8
+ primary: import("../colors").SemanticColorCategory;
9
9
  accent: import("../colors").SemanticColorCategory;
10
10
  success: import("../colors").SemanticColorCategory;
11
11
  warning: import("../colors").SemanticColorCategory;
12
12
  danger: import("../colors").SemanticColorCategory;
13
13
  surface: import("../colors").SurfaceColors;
14
14
  'on-neutral'?: import("../colors").OnColorCategory;
15
- 'on-brand'?: import("../colors").OnColorCategory;
15
+ 'on-primary'?: import("../colors").OnColorCategory;
16
16
  'on-accent'?: import("../colors").OnColorCategory;
17
17
  'on-success'?: import("../colors").OnColorCategory;
18
18
  'on-warning'?: import("../colors").OnColorCategory;
19
19
  'on-danger'?: import("../colors").OnColorCategory;
20
- 'on-surface-solid'?: {
21
- 0?: string;
22
- 1?: string;
23
- 2?: string;
24
- 3?: string;
25
- 4?: string;
26
- 5?: string;
27
- 6?: string;
28
- 7?: string;
29
- 8?: string;
30
- 9?: string;
31
- 10?: string;
32
- 11?: string;
33
- };
20
+ 'on-surface-modal'?: string;
21
+ background: import("../colors").ColorScale;
34
22
  divider: import("../colors").ColorScale;
35
23
  focus: import("../colors").ColorScale;
36
24
  };
@@ -39,32 +27,20 @@ declare const defaultConfig: {
39
27
  dark: {
40
28
  colors: {
41
29
  neutral: import("../colors").SemanticColorCategory;
42
- brand: import("../colors").SemanticColorCategory;
30
+ primary: import("../colors").SemanticColorCategory;
43
31
  accent: import("../colors").SemanticColorCategory;
44
32
  success: import("../colors").SemanticColorCategory;
45
33
  warning: import("../colors").SemanticColorCategory;
46
34
  danger: import("../colors").SemanticColorCategory;
47
35
  surface: import("../colors").SurfaceColors;
48
36
  'on-neutral'?: import("../colors").OnColorCategory;
49
- 'on-brand'?: import("../colors").OnColorCategory;
37
+ 'on-primary'?: import("../colors").OnColorCategory;
50
38
  'on-accent'?: import("../colors").OnColorCategory;
51
39
  'on-success'?: import("../colors").OnColorCategory;
52
40
  'on-warning'?: import("../colors").OnColorCategory;
53
41
  'on-danger'?: import("../colors").OnColorCategory;
54
- 'on-surface-solid'?: {
55
- 0?: string;
56
- 1?: string;
57
- 2?: string;
58
- 3?: string;
59
- 4?: string;
60
- 5?: string;
61
- 6?: string;
62
- 7?: string;
63
- 8?: string;
64
- 9?: string;
65
- 10?: string;
66
- 11?: string;
67
- };
42
+ 'on-surface-modal'?: string;
43
+ background: import("../colors").ColorScale;
68
44
  divider: import("../colors").ColorScale;
69
45
  focus: import("../colors").ColorScale;
70
46
  };
package/dist/colors.js CHANGED
@@ -1,2 +1,2 @@
1
- export { b as blue, g as gray, a as green, o as orange, p as pink, r as red, s as semanticColors, t as teal, v as violet, y as yellow } from './config-Cle59Y4k.js';
1
+ export { b as blue, g as gray, a as green, o as orange, p as pink, r as red, s as semanticColors, t as teal, v as violet, y as yellow } from './config-DloXBqGi.js';
2
2
  //# sourceMappingURL=colors.js.map