@frontile/theme 0.18.0-beta.1 → 0.18.0-beta.3

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 (110) hide show
  1. package/declarations/colors/config.d.ts +1 -0
  2. package/declarations/colors/config.d.ts.map +1 -0
  3. package/declarations/colors/palette-absolute.d.ts +1 -0
  4. package/declarations/colors/palette-absolute.d.ts.map +1 -0
  5. package/declarations/colors/palette.d.ts +1 -0
  6. package/declarations/colors/palette.d.ts.map +1 -0
  7. package/declarations/colors/semantic.d.ts +1 -0
  8. package/declarations/colors/semantic.d.ts.map +1 -0
  9. package/declarations/colors/types.d.ts +1 -0
  10. package/declarations/colors/types.d.ts.map +1 -0
  11. package/declarations/colors/util.d.ts +1 -0
  12. package/declarations/colors/util.d.ts.map +1 -0
  13. package/declarations/colors.d.ts +1 -0
  14. package/declarations/colors.d.ts.map +1 -0
  15. package/declarations/components/accordion.d.ts +9 -143
  16. package/declarations/components/accordion.d.ts.map +1 -0
  17. package/declarations/components/alert.d.ts +18 -152
  18. package/declarations/components/alert.d.ts.map +1 -0
  19. package/declarations/components/avatar.d.ts +9 -98
  20. package/declarations/components/avatar.d.ts.map +1 -0
  21. package/declarations/components/button.d.ts +151 -525
  22. package/declarations/components/button.d.ts.map +1 -0
  23. package/declarations/components/calendar.d.ts +9 -157
  24. package/declarations/components/calendar.d.ts.map +1 -0
  25. package/declarations/components/chip.d.ts +36 -214
  26. package/declarations/components/chip.d.ts.map +1 -0
  27. package/declarations/components/close-button.d.ts +9 -106
  28. package/declarations/components/close-button.d.ts.map +1 -0
  29. package/declarations/components/command.d.ts +5 -146
  30. package/declarations/components/command.d.ts.map +1 -0
  31. package/declarations/components/divider.d.ts +19 -61
  32. package/declarations/components/divider.d.ts.map +1 -0
  33. package/declarations/components/dropdown.d.ts +2 -44
  34. package/declarations/components/dropdown.d.ts.map +1 -0
  35. package/declarations/components/external-link.d.ts +3 -88
  36. package/declarations/components/external-link.d.ts.map +1 -0
  37. package/declarations/components/forms/forms-legacy.d.ts +61 -704
  38. package/declarations/components/forms/forms-legacy.d.ts.map +1 -0
  39. package/declarations/components/forms/forms.d.ts +186 -1782
  40. package/declarations/components/forms/forms.d.ts.map +1 -0
  41. package/declarations/components/forms/index.d.ts +1 -0
  42. package/declarations/components/forms/index.d.ts.map +1 -0
  43. package/declarations/components/index.d.ts +1 -0
  44. package/declarations/components/index.d.ts.map +1 -0
  45. package/declarations/components/kbd.d.ts +21 -168
  46. package/declarations/components/kbd.d.ts.map +1 -0
  47. package/declarations/components/listbox.d.ts +54 -250
  48. package/declarations/components/listbox.d.ts.map +1 -0
  49. package/declarations/components/notification-card.d.ts +18 -145
  50. package/declarations/components/notification-card.d.ts.map +1 -0
  51. package/declarations/components/notifications-container.d.ts +3 -89
  52. package/declarations/components/notifications-container.d.ts.map +1 -0
  53. package/declarations/components/overlays.d.ts +91 -463
  54. package/declarations/components/overlays.d.ts.map +1 -0
  55. package/declarations/components/pagination.d.ts +9 -167
  56. package/declarations/components/pagination.d.ts.map +1 -0
  57. package/declarations/components/popover.d.ts +21 -78
  58. package/declarations/components/popover.d.ts.map +1 -0
  59. package/declarations/components/progress-bar.d.ts +21 -186
  60. package/declarations/components/progress-bar.d.ts.map +1 -0
  61. package/declarations/components/segmented-control.d.ts +9 -217
  62. package/declarations/components/segmented-control.d.ts.map +1 -0
  63. package/declarations/components/shared.d.ts +1 -0
  64. package/declarations/components/shared.d.ts.map +1 -0
  65. package/declarations/components/skeleton.d.ts +33 -119
  66. package/declarations/components/skeleton.d.ts.map +1 -0
  67. package/declarations/components/spinner.d.ts +47 -126
  68. package/declarations/components/spinner.d.ts.map +1 -0
  69. package/declarations/components/table.d.ts +3 -191
  70. package/declarations/components/table.d.ts.map +1 -0
  71. package/declarations/components/tabs.d.ts +9 -214
  72. package/declarations/components/tabs.d.ts.map +1 -0
  73. package/declarations/components/tooltip.d.ts +9 -138
  74. package/declarations/components/tooltip.d.ts.map +1 -0
  75. package/declarations/index.d.ts +1 -0
  76. package/declarations/index.d.ts.map +1 -0
  77. package/declarations/plugin/default-config.d.ts +1 -0
  78. package/declarations/plugin/default-config.d.ts.map +1 -0
  79. package/declarations/plugin/default.d.ts +2 -4
  80. package/declarations/plugin/default.d.ts.map +1 -0
  81. package/declarations/plugin/overlays.d.ts +2 -1
  82. package/declarations/plugin/overlays.d.ts.map +1 -0
  83. package/declarations/plugin/power-select.d.ts +2 -1
  84. package/declarations/plugin/power-select.d.ts.map +1 -0
  85. package/declarations/plugin/resolve.d.ts +4 -3
  86. package/declarations/plugin/resolve.d.ts.map +1 -0
  87. package/declarations/plugin/safelist.d.ts +1 -0
  88. package/declarations/plugin/safelist.d.ts.map +1 -0
  89. package/declarations/plugin/transitions.d.ts +2 -1
  90. package/declarations/plugin/transitions.d.ts.map +1 -0
  91. package/declarations/plugin/types.d.ts +11 -0
  92. package/declarations/plugin/types.d.ts.map +1 -0
  93. package/declarations/plugin.d.ts +1 -0
  94. package/declarations/plugin.d.ts.map +1 -0
  95. package/declarations/tw.d.ts +2 -42
  96. package/declarations/tw.d.ts.map +1 -0
  97. package/declarations/types.d.ts +1 -0
  98. package/declarations/types.d.ts.map +1 -0
  99. package/dist/index.js +573 -431
  100. package/dist/index.js.map +1 -1
  101. package/dist/{overlays-DIZlPzFH.js → overlays-DD7muPLd.js} +9 -9
  102. package/dist/overlays-DD7muPLd.js.map +1 -0
  103. package/dist/plugin/default.js.map +1 -1
  104. package/dist/plugin.js +19 -5
  105. package/dist/plugin.js.map +1 -1
  106. package/dist/util-Dp_dlOPq.js.map +1 -1
  107. package/package.json +17 -19
  108. package/dist/overlays-DIZlPzFH.js.map +0 -1
  109. package/dist/template-registry.js +0 -2
  110. package/dist/template-registry.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../../src/components/forms/forms.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,UAAU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,CAAC,OAAO,WAAW,CAAC,CAAC;AAC/D,MAAM,MAAM,kBAAkB,GAAG,YAAY,CAAC,OAAO,UAAU,CAAC,CAAC;AACjE,MAAM,MAAM,eAAe,GAAG,MAAM,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AAElE,OAAO,EACL,KAAK,EACL,eAAe,EACf,YAAY,EACZ,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,MAAM,EACN,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,UAAU,EACV,WAAW,EACX,UAAU,EACX,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export * from './forms';
2
2
  export * from './forms-legacy';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/forms/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC"}
@@ -24,3 +24,4 @@ export * from './notifications-container';
24
24
  export * from './notification-card';
25
25
  export * from './overlays';
26
26
  export * from './forms';
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC;AAC1B,cAAc,OAAO,CAAC;AACtB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,iBAAiB,CAAC;AAChC,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,qBAAqB,CAAC;AACpC,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAE1B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC"}
@@ -14,14 +14,14 @@ declare const kbd: import("tailwind-variants").TVReturnType<{
14
14
  key: string;
15
15
  };
16
16
  };
17
- appearance: {
18
- default: {
17
+ variant: {
18
+ solid: {
19
19
  key: string;
20
20
  };
21
- outlined: {
21
+ outline: {
22
22
  key: string;
23
23
  };
24
- faded: {
24
+ subtle: {
25
25
  key: string;
26
26
  };
27
27
  inherit: {
@@ -31,8 +31,8 @@ declare const kbd: import("tailwind-variants").TVReturnType<{
31
31
  key: string;
32
32
  };
33
33
  };
34
- intent: {
35
- default: {};
34
+ color: {
35
+ neutral: {};
36
36
  primary: {};
37
37
  secondary: {};
38
38
  tertiary: {};
@@ -54,54 +54,6 @@ declare const kbd: import("tailwind-variants").TVReturnType<{
54
54
  key: string[];
55
55
  separator: string[];
56
56
  }, undefined, {
57
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
58
- size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
59
- appearance?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
60
- intent?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
61
- isMerged?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
62
- } | undefined;
63
- } & import("tailwind-variants/dist/config.js").TWMConfig & {
64
- twMerge: true;
65
- twMergeConfig: {
66
- readonly extend: {
67
- readonly classGroups: {
68
- readonly 'icon-size': readonly [{
69
- readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
70
- }];
71
- readonly 'border-w': readonly [{
72
- readonly border: readonly ["thin", "heavy", "aggressive"];
73
- }];
74
- readonly rounded: readonly [{
75
- readonly rounded: readonly ["default", "pill"];
76
- }];
77
- readonly shadow: readonly [{
78
- readonly 'shadow-elevation': string[];
79
- }];
80
- readonly opacity: readonly [{
81
- readonly opacity: readonly ["hover", "disabled"];
82
- }];
83
- readonly 'font-size': readonly [{
84
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
85
- }, {
86
- readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
87
- }, {
88
- readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
89
- }, {
90
- readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
91
- }, {
92
- readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
93
- }, {
94
- readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
95
- }, {
96
- readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
97
- }];
98
- };
99
- readonly conflictingClassGroups: {
100
- readonly 'icon-size': readonly ["w", "h", "size"];
101
- };
102
- };
103
- };
104
- }, {
105
57
  size: {
106
58
  sm: {
107
59
  base: string;
@@ -116,14 +68,14 @@ declare const kbd: import("tailwind-variants").TVReturnType<{
116
68
  key: string;
117
69
  };
118
70
  };
119
- appearance: {
120
- default: {
71
+ variant: {
72
+ solid: {
121
73
  key: string;
122
74
  };
123
- outlined: {
75
+ outline: {
124
76
  key: string;
125
77
  };
126
- faded: {
78
+ subtle: {
127
79
  key: string;
128
80
  };
129
81
  inherit: {
@@ -133,8 +85,8 @@ declare const kbd: import("tailwind-variants").TVReturnType<{
133
85
  key: string;
134
86
  };
135
87
  };
136
- intent: {
137
- default: {};
88
+ color: {
89
+ neutral: {};
138
90
  primary: {};
139
91
  secondary: {};
140
92
  tertiary: {};
@@ -155,7 +107,7 @@ declare const kbd: import("tailwind-variants").TVReturnType<{
155
107
  base: string[];
156
108
  key: string[];
157
109
  separator: string[];
158
- }, import("tailwind-variants").TVReturnType<{
110
+ }, import("tailwind-variants").TVReturnTypeLike<{
159
111
  size: {
160
112
  sm: {
161
113
  base: string;
@@ -170,14 +122,14 @@ declare const kbd: import("tailwind-variants").TVReturnType<{
170
122
  key: string;
171
123
  };
172
124
  };
173
- appearance: {
174
- default: {
125
+ variant: {
126
+ solid: {
175
127
  key: string;
176
128
  };
177
- outlined: {
129
+ outline: {
178
130
  key: string;
179
131
  };
180
- faded: {
132
+ subtle: {
181
133
  key: string;
182
134
  };
183
135
  inherit: {
@@ -187,8 +139,8 @@ declare const kbd: import("tailwind-variants").TVReturnType<{
187
139
  key: string;
188
140
  };
189
141
  };
190
- intent: {
191
- default: {};
142
+ color: {
143
+ neutral: {};
192
144
  primary: {};
193
145
  secondary: {};
194
146
  tertiary: {};
@@ -209,107 +161,8 @@ declare const kbd: import("tailwind-variants").TVReturnType<{
209
161
  base: string[];
210
162
  key: string[];
211
163
  separator: string[];
212
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
213
- size: {
214
- sm: {
215
- base: string;
216
- key: string;
217
- };
218
- md: {
219
- base: string;
220
- key: string;
221
- };
222
- lg: {
223
- base: string;
224
- key: string;
225
- };
226
- };
227
- appearance: {
228
- default: {
229
- key: string;
230
- };
231
- outlined: {
232
- key: string;
233
- };
234
- faded: {
235
- key: string;
236
- };
237
- inherit: {
238
- key: string;
239
- };
240
- plain: {
241
- key: string;
242
- };
243
- };
244
- intent: {
245
- default: {};
246
- primary: {};
247
- secondary: {};
248
- tertiary: {};
249
- success: {};
250
- warning: {};
251
- danger: {};
252
- };
253
- /**
254
- * `merged` puts every glyph inside one cap (`⌘K`); `split` gives each key
255
- * its own (`⌘` `K`).
256
- */
257
- isMerged: {
258
- true: {
259
- base: string;
260
- };
261
- };
262
- }, {
263
- size: {
264
- sm: {
265
- base: string;
266
- key: string;
267
- };
268
- md: {
269
- base: string;
270
- key: string;
271
- };
272
- lg: {
273
- base: string;
274
- key: string;
275
- };
276
- };
277
- appearance: {
278
- default: {
279
- key: string;
280
- };
281
- outlined: {
282
- key: string;
283
- };
284
- faded: {
285
- key: string;
286
- };
287
- inherit: {
288
- key: string;
289
- };
290
- plain: {
291
- key: string;
292
- };
293
- };
294
- intent: {
295
- default: {};
296
- primary: {};
297
- secondary: {};
298
- tertiary: {};
299
- success: {};
300
- warning: {};
301
- danger: {};
302
- };
303
- /**
304
- * `merged` puts every glyph inside one cap (`⌘K`); `split` gives each key
305
- * its own (`⌘` `K`).
306
- */
307
- isMerged: {
308
- true: {
309
- base: string;
310
- };
311
- };
312
- }>, unknown, unknown, undefined>>;
164
+ }>>;
313
165
  export type KbdVariants = VariantProps<typeof kbd>;
314
166
  export type KbdSlots = keyof ReturnType<typeof kbd>;
315
167
  export { kbd };
168
+ //# sourceMappingURL=kbd.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../../src/components/kbd.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,QAAA,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkEL;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAHH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAHH;;;OAGG;;;;;;;;;;GAuIL,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,YAAY,CAAC,OAAO,GAAG,CAAC,CAAC;AACnD,MAAM,MAAM,QAAQ,GAAG,MAAM,UAAU,CAAC,OAAO,GAAG,CAAC,CAAC;AAEpD,OAAO,EAAE,GAAG,EAAE,CAAC"}
@@ -1,61 +1,48 @@
1
- declare const listbox: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "w-full flex flex-col gap-0.5 outline-hidden p-1", {
2
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
3
- } & import("tailwind-variants/dist/config.js").TWMConfig & {
4
- twMerge: true;
5
- twMergeConfig: {
6
- readonly extend: {
7
- readonly classGroups: {
8
- readonly 'icon-size': readonly [{
9
- readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
10
- }];
11
- readonly 'border-w': readonly [{
12
- readonly border: readonly ["thin", "heavy", "aggressive"];
13
- }];
14
- readonly rounded: readonly [{
15
- readonly rounded: readonly ["default", "pill"];
16
- }];
17
- readonly shadow: readonly [{
18
- readonly 'shadow-elevation': string[];
19
- }];
20
- readonly opacity: readonly [{
21
- readonly opacity: readonly ["hover", "disabled"];
22
- }];
23
- readonly 'font-size': readonly [{
24
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
25
- }, {
26
- readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
27
- }, {
28
- readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
29
- }, {
30
- readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
31
- }, {
32
- readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
33
- }, {
34
- readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
35
- }, {
36
- readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
37
- }];
38
- };
39
- readonly conflictingClassGroups: {
40
- readonly 'icon-size': readonly ["w", "h", "size"];
41
- };
42
- };
43
- };
44
- }, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "w-full flex flex-col gap-0.5 outline-hidden p-1", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
1
+ declare const listbox: import("tailwind-variants").TVReturnType<{
2
+ color: {
3
+ neutral: "";
4
+ primary: "";
5
+ secondary: "";
6
+ tertiary: "";
7
+ success: "";
8
+ warning: "";
9
+ danger: "";
10
+ };
11
+ }, undefined, "w-full flex flex-col gap-0.5 outline-hidden p-1", {
12
+ color: {
13
+ neutral: "";
14
+ primary: "";
15
+ secondary: "";
16
+ tertiary: "";
17
+ success: "";
18
+ warning: "";
19
+ danger: "";
20
+ };
21
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
22
+ color: {
23
+ neutral: "";
24
+ primary: "";
25
+ secondary: "";
26
+ tertiary: "";
27
+ success: "";
28
+ warning: "";
29
+ danger: "";
30
+ };
31
+ }, undefined>>;
45
32
  declare const listboxItem: import("tailwind-variants").TVReturnType<{
46
- appearance: {
47
- default: {
33
+ variant: {
34
+ solid: {
48
35
  base: string;
49
36
  };
50
- outlined: {
37
+ outline: {
51
38
  base: string;
52
39
  };
53
- faded: {
40
+ subtle: {
54
41
  base: string[];
55
42
  };
56
43
  };
57
- intent: {
58
- default: {};
44
+ color: {
45
+ neutral: {};
59
46
  primary: {};
60
47
  secondary: {};
61
48
  tertiary: {};
@@ -91,69 +78,19 @@ declare const listboxItem: import("tailwind-variants").TVReturnType<{
91
78
  selectedIcon: string[];
92
79
  submenuIndicator: string[];
93
80
  }, undefined, {
94
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
95
- appearance?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
96
- intent?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
97
- isSelected?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
98
- isDisabled?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
99
- isActive?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
100
- withDivider?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
101
- } | undefined;
102
- } & import("tailwind-variants/dist/config.js").TWMConfig & {
103
- twMerge: true;
104
- twMergeConfig: {
105
- readonly extend: {
106
- readonly classGroups: {
107
- readonly 'icon-size': readonly [{
108
- readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
109
- }];
110
- readonly 'border-w': readonly [{
111
- readonly border: readonly ["thin", "heavy", "aggressive"];
112
- }];
113
- readonly rounded: readonly [{
114
- readonly rounded: readonly ["default", "pill"];
115
- }];
116
- readonly shadow: readonly [{
117
- readonly 'shadow-elevation': string[];
118
- }];
119
- readonly opacity: readonly [{
120
- readonly opacity: readonly ["hover", "disabled"];
121
- }];
122
- readonly 'font-size': readonly [{
123
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
124
- }, {
125
- readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
126
- }, {
127
- readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
128
- }, {
129
- readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
130
- }, {
131
- readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
132
- }, {
133
- readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
134
- }, {
135
- readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
136
- }];
137
- };
138
- readonly conflictingClassGroups: {
139
- readonly 'icon-size': readonly ["w", "h", "size"];
140
- };
141
- };
142
- };
143
- }, {
144
- appearance: {
145
- default: {
81
+ variant: {
82
+ solid: {
146
83
  base: string;
147
84
  };
148
- outlined: {
85
+ outline: {
149
86
  base: string;
150
87
  };
151
- faded: {
88
+ subtle: {
152
89
  base: string[];
153
90
  };
154
91
  };
155
- intent: {
156
- default: {};
92
+ color: {
93
+ neutral: {};
157
94
  primary: {};
158
95
  secondary: {};
159
96
  tertiary: {};
@@ -188,20 +125,20 @@ declare const listboxItem: import("tailwind-variants").TVReturnType<{
188
125
  description: string[];
189
126
  selectedIcon: string[];
190
127
  submenuIndicator: string[];
191
- }, import("tailwind-variants").TVReturnType<{
192
- appearance: {
193
- default: {
128
+ }, import("tailwind-variants").TVReturnTypeLike<{
129
+ variant: {
130
+ solid: {
194
131
  base: string;
195
132
  };
196
- outlined: {
133
+ outline: {
197
134
  base: string;
198
135
  };
199
- faded: {
136
+ subtle: {
200
137
  base: string[];
201
138
  };
202
139
  };
203
- intent: {
204
- default: {};
140
+ color: {
141
+ neutral: {};
205
142
  primary: {};
206
143
  secondary: {};
207
144
  tertiary: {};
@@ -236,89 +173,7 @@ declare const listboxItem: import("tailwind-variants").TVReturnType<{
236
173
  description: string[];
237
174
  selectedIcon: string[];
238
175
  submenuIndicator: string[];
239
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
240
- appearance: {
241
- default: {
242
- base: string;
243
- };
244
- outlined: {
245
- base: string;
246
- };
247
- faded: {
248
- base: string[];
249
- };
250
- };
251
- intent: {
252
- default: {};
253
- primary: {};
254
- secondary: {};
255
- tertiary: {};
256
- success: {};
257
- warning: {};
258
- danger: {};
259
- };
260
- isActive: {
261
- true: {
262
- base: never[];
263
- };
264
- };
265
- withDivider: {
266
- true: {
267
- base: string[];
268
- };
269
- };
270
- isDisabled: {
271
- true: {
272
- base: string;
273
- };
274
- };
275
- isSelected: {
276
- true: {
277
- base: string;
278
- };
279
- };
280
- }, {
281
- appearance: {
282
- default: {
283
- base: string;
284
- };
285
- outlined: {
286
- base: string;
287
- };
288
- faded: {
289
- base: string[];
290
- };
291
- };
292
- intent: {
293
- default: {};
294
- primary: {};
295
- secondary: {};
296
- tertiary: {};
297
- success: {};
298
- warning: {};
299
- danger: {};
300
- };
301
- isActive: {
302
- true: {
303
- base: never[];
304
- };
305
- };
306
- withDivider: {
307
- true: {
308
- base: string[];
309
- };
310
- };
311
- isDisabled: {
312
- true: {
313
- base: string;
314
- };
315
- };
316
- isSelected: {
317
- true: {
318
- base: string;
319
- };
320
- };
321
- }>, unknown, unknown, undefined>>;
176
+ }>>;
322
177
  declare const listboxGroup: import("tailwind-variants").TVReturnType<{
323
178
  [key: string]: {
324
179
  [key: string]: import("tailwind-variants").ClassValue | {
@@ -343,49 +198,6 @@ declare const listboxGroup: import("tailwind-variants").TVReturnType<{
343
198
  title: string[];
344
199
  list: string;
345
200
  }, undefined, {
346
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
347
- } & import("tailwind-variants/dist/config.js").TWMConfig & {
348
- twMerge: true;
349
- twMergeConfig: {
350
- readonly extend: {
351
- readonly classGroups: {
352
- readonly 'icon-size': readonly [{
353
- readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
354
- }];
355
- readonly 'border-w': readonly [{
356
- readonly border: readonly ["thin", "heavy", "aggressive"];
357
- }];
358
- readonly rounded: readonly [{
359
- readonly rounded: readonly ["default", "pill"];
360
- }];
361
- readonly shadow: readonly [{
362
- readonly 'shadow-elevation': string[];
363
- }];
364
- readonly opacity: readonly [{
365
- readonly opacity: readonly ["hover", "disabled"];
366
- }];
367
- readonly 'font-size': readonly [{
368
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
369
- }, {
370
- readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
371
- }, {
372
- readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
373
- }, {
374
- readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
375
- }, {
376
- readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
377
- }, {
378
- readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
379
- }, {
380
- readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
381
- }];
382
- };
383
- readonly conflictingClassGroups: {
384
- readonly 'icon-size': readonly ["w", "h", "size"];
385
- };
386
- };
387
- };
388
- }, {
389
201
  [key: string]: {
390
202
  [key: string]: import("tailwind-variants").ClassValue | {
391
203
  base?: import("tailwind-variants").ClassValue;
@@ -399,19 +211,11 @@ declare const listboxGroup: import("tailwind-variants").TVReturnType<{
399
211
  divider: string;
400
212
  title: string[];
401
213
  list: string;
402
- }, import("tailwind-variants").TVReturnType<unknown, {
214
+ }, import("tailwind-variants").TVReturnTypeLike<unknown, {
403
215
  base: string;
404
216
  divider: string;
405
217
  title: string[];
406
218
  list: string;
407
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<unknown, {
408
- [key: string]: {
409
- [key: string]: import("tailwind-variants").ClassValue | {
410
- base?: import("tailwind-variants").ClassValue;
411
- title?: import("tailwind-variants").ClassValue;
412
- list?: import("tailwind-variants").ClassValue;
413
- divider?: import("tailwind-variants").ClassValue;
414
- };
415
- };
416
- } | {}>, unknown, unknown, undefined>>;
219
+ }>>;
417
220
  export { listbox, listboxItem, listboxGroup };
221
+ //# sourceMappingURL=listbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listbox.d.ts","sourceRoot":"","sources":["../../src/components/listbox.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBX,CAAC;AAEH,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqTf,CAAC;AAEH,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmBhB,CAAC;AAEH,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,CAAC"}