@frontile/theme 0.18.0-beta.2 → 0.18.0-beta.4

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 (111) 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 +3 -137
  16. package/declarations/components/accordion.d.ts.map +1 -0
  17. package/declarations/components/alert.d.ts +3 -137
  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 +128 -503
  22. package/declarations/components/button.d.ts.map +1 -0
  23. package/declarations/components/calendar.d.ts +3 -151
  24. package/declarations/components/calendar.d.ts.map +1 -0
  25. package/declarations/components/chip.d.ts +27 -205
  26. package/declarations/components/chip.d.ts.map +1 -0
  27. package/declarations/components/close-button.d.ts +3 -100
  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 +164 -2201
  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 +3 -150
  46. package/declarations/components/kbd.d.ts.map +1 -0
  47. package/declarations/components/listbox.d.ts +30 -278
  48. package/declarations/components/listbox.d.ts.map +1 -0
  49. package/declarations/components/notification-card.d.ts +3 -130
  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 +82 -454
  54. package/declarations/components/overlays.d.ts.map +1 -0
  55. package/declarations/components/pagination.d.ts +3 -161
  56. package/declarations/components/pagination.d.ts.map +1 -0
  57. package/declarations/components/popover.d.ts +21 -83
  58. package/declarations/components/popover.d.ts.map +1 -0
  59. package/declarations/components/progress-bar.d.ts +15 -180
  60. package/declarations/components/progress-bar.d.ts.map +1 -0
  61. package/declarations/components/segmented-control.d.ts +3 -211
  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 +41 -120
  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 +3 -208
  72. package/declarations/components/tabs.d.ts.map +1 -0
  73. package/declarations/components/tooltip.d.ts +3 -132
  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/colors.js +1 -1
  100. package/dist/index.js +48 -8
  101. package/dist/index.js.map +1 -1
  102. package/dist/overlays-DD7muPLd.js.map +1 -1
  103. package/dist/plugin/default.js.map +1 -1
  104. package/dist/plugin.js +20 -6
  105. package/dist/plugin.js.map +1 -1
  106. package/dist/{util-Dp_dlOPq.js → util-PU966Q_x.js} +2 -2
  107. package/dist/util-PU966Q_x.js.map +1 -0
  108. package/package.json +17 -19
  109. package/dist/template-registry.js +0 -2
  110. package/dist/template-registry.js.map +0 -1
  111. package/dist/util-Dp_dlOPq.js.map +0 -1
@@ -1,194 +1,68 @@
1
1
  import { type VariantProps } from '../tw';
2
2
  declare const overlay: import("tailwind-variants").TVReturnType<{
3
3
  enableFlexContent: {
4
- true: string;
4
+ true: "flex items-center fixed inset-0 flex-col";
5
5
  };
6
6
  inPlace: {
7
- true: string;
7
+ true: "absolute";
8
8
  };
9
9
  }, undefined, "will-change-transform overflow-auto", {
10
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
11
- enableFlexContent?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
12
- inPlace?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
13
- } | undefined;
14
- } & import("tailwind-variants/dist/config.js").TWMConfig & {
15
- twMerge: true;
16
- twMergeConfig: {
17
- readonly extend: {
18
- readonly classGroups: {
19
- readonly 'icon-size': readonly [{
20
- readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
21
- }];
22
- readonly 'border-w': readonly [{
23
- readonly border: readonly ["thin", "heavy", "aggressive"];
24
- }];
25
- readonly rounded: readonly [{
26
- readonly rounded: readonly ["default", "pill"];
27
- }];
28
- readonly shadow: readonly [{
29
- readonly 'shadow-elevation': string[];
30
- }];
31
- readonly opacity: readonly [{
32
- readonly opacity: readonly ["hover", "disabled"];
33
- }];
34
- readonly 'font-size': readonly [{
35
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
36
- }, {
37
- readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
38
- }, {
39
- readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
40
- }, {
41
- readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
42
- }, {
43
- readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
44
- }, {
45
- readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
46
- }, {
47
- readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
48
- }];
49
- };
50
- readonly conflictingClassGroups: {
51
- readonly 'icon-size': readonly ["w", "h", "size"];
52
- };
53
- };
54
- };
55
- }, {
56
10
  enableFlexContent: {
57
- true: string;
11
+ true: "flex items-center fixed inset-0 flex-col";
58
12
  };
59
13
  inPlace: {
60
- true: string;
14
+ true: "absolute";
61
15
  };
62
- }, undefined, import("tailwind-variants").TVReturnType<{
16
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
63
17
  enableFlexContent: {
64
- true: string;
18
+ true: "flex items-center fixed inset-0 flex-col";
65
19
  };
66
20
  inPlace: {
67
- true: string;
68
- };
69
- }, undefined, "will-change-transform overflow-auto", import("tailwind-variants/dist/config.js").TVConfig<{
70
- enableFlexContent: {
71
- true: string;
21
+ true: "absolute";
72
22
  };
73
- inPlace: {
74
- true: string;
75
- };
76
- }, {
77
- enableFlexContent: {
78
- true: string;
79
- };
80
- inPlace: {
81
- true: string;
82
- };
83
- }>, unknown, unknown, undefined>>;
23
+ }, undefined>>;
84
24
  declare const backdrop: import("tailwind-variants").TVReturnType<{
85
25
  type: {
86
- none: string;
87
- transparent: string;
88
- blur: string;
89
- faded: string;
26
+ none: "";
27
+ transparent: "";
28
+ blur: "bg-surface-overlay-strong dark:bg-surface-lift-strong backdrop-blur-sm";
29
+ faded: "bg-surface-overlay-strong dark:bg-surface-lift-strong";
90
30
  };
91
31
  inPlace: {
92
- true: string;
32
+ true: "absolute";
93
33
  };
94
34
  }, undefined, "fixed inset-0 select-none", {
95
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
96
- inPlace?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
97
- type?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
98
- } | undefined;
99
- } & import("tailwind-variants/dist/config.js").TWMConfig & {
100
- twMerge: true;
101
- twMergeConfig: {
102
- readonly extend: {
103
- readonly classGroups: {
104
- readonly 'icon-size': readonly [{
105
- readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
106
- }];
107
- readonly 'border-w': readonly [{
108
- readonly border: readonly ["thin", "heavy", "aggressive"];
109
- }];
110
- readonly rounded: readonly [{
111
- readonly rounded: readonly ["default", "pill"];
112
- }];
113
- readonly shadow: readonly [{
114
- readonly 'shadow-elevation': string[];
115
- }];
116
- readonly opacity: readonly [{
117
- readonly opacity: readonly ["hover", "disabled"];
118
- }];
119
- readonly 'font-size': readonly [{
120
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
121
- }, {
122
- readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
123
- }, {
124
- readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
125
- }, {
126
- readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
127
- }, {
128
- readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
129
- }, {
130
- readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
131
- }, {
132
- readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
133
- }];
134
- };
135
- readonly conflictingClassGroups: {
136
- readonly 'icon-size': readonly ["w", "h", "size"];
137
- };
138
- };
139
- };
140
- }, {
141
- type: {
142
- none: string;
143
- transparent: string;
144
- blur: string;
145
- faded: string;
146
- };
147
- inPlace: {
148
- true: string;
149
- };
150
- }, undefined, import("tailwind-variants").TVReturnType<{
151
35
  type: {
152
- none: string;
153
- transparent: string;
154
- blur: string;
155
- faded: string;
36
+ none: "";
37
+ transparent: "";
38
+ blur: "bg-surface-overlay-strong dark:bg-surface-lift-strong backdrop-blur-sm";
39
+ faded: "bg-surface-overlay-strong dark:bg-surface-lift-strong";
156
40
  };
157
41
  inPlace: {
158
- true: string;
42
+ true: "absolute";
159
43
  };
160
- }, undefined, "fixed inset-0 select-none", import("tailwind-variants/dist/config.js").TVConfig<{
44
+ }, undefined, import("tailwind-variants").TVReturnTypeLike<{
161
45
  type: {
162
- none: string;
163
- transparent: string;
164
- blur: string;
165
- faded: string;
46
+ none: "";
47
+ transparent: "";
48
+ blur: "bg-surface-overlay-strong dark:bg-surface-lift-strong backdrop-blur-sm";
49
+ faded: "bg-surface-overlay-strong dark:bg-surface-lift-strong";
166
50
  };
167
51
  inPlace: {
168
- true: string;
169
- };
170
- }, {
171
- type: {
172
- none: string;
173
- transparent: string;
174
- blur: string;
175
- faded: string;
52
+ true: "absolute";
176
53
  };
177
- inPlace: {
178
- true: string;
179
- };
180
- }>, unknown, unknown, undefined>>;
54
+ }, undefined>>;
181
55
  declare const modal: import("tailwind-variants").TVReturnType<{
182
56
  size: {
183
- xs: string;
184
- sm: string;
185
- md: string;
186
- lg: string;
187
- xl: string;
188
- full: string;
57
+ xs: "modal--xs";
58
+ sm: "modal--sm";
59
+ md: "modal--md";
60
+ lg: "modal--lg";
61
+ xl: "modal--xl";
62
+ full: "modal--full";
189
63
  };
190
64
  isCentered: {
191
- true: string;
65
+ true: "my-auto";
192
66
  };
193
67
  }, {
194
68
  base: string;
@@ -197,62 +71,16 @@ declare const modal: import("tailwind-variants").TVReturnType<{
197
71
  body: string;
198
72
  footer: string;
199
73
  }, undefined, {
200
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
201
- size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
202
- isCentered?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
203
- } | undefined;
204
- } & import("tailwind-variants/dist/config.js").TWMConfig & {
205
- twMerge: true;
206
- twMergeConfig: {
207
- readonly extend: {
208
- readonly classGroups: {
209
- readonly 'icon-size': readonly [{
210
- readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
211
- }];
212
- readonly 'border-w': readonly [{
213
- readonly border: readonly ["thin", "heavy", "aggressive"];
214
- }];
215
- readonly rounded: readonly [{
216
- readonly rounded: readonly ["default", "pill"];
217
- }];
218
- readonly shadow: readonly [{
219
- readonly 'shadow-elevation': string[];
220
- }];
221
- readonly opacity: readonly [{
222
- readonly opacity: readonly ["hover", "disabled"];
223
- }];
224
- readonly 'font-size': readonly [{
225
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
226
- }, {
227
- readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
228
- }, {
229
- readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
230
- }, {
231
- readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
232
- }, {
233
- readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
234
- }, {
235
- readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
236
- }, {
237
- readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
238
- }];
239
- };
240
- readonly conflictingClassGroups: {
241
- readonly 'icon-size': readonly ["w", "h", "size"];
242
- };
243
- };
244
- };
245
- }, {
246
74
  size: {
247
- xs: string;
248
- sm: string;
249
- md: string;
250
- lg: string;
251
- xl: string;
252
- full: string;
75
+ xs: "modal--xs";
76
+ sm: "modal--sm";
77
+ md: "modal--md";
78
+ lg: "modal--lg";
79
+ xl: "modal--xl";
80
+ full: "modal--full";
253
81
  };
254
82
  isCentered: {
255
- true: string;
83
+ true: "my-auto";
256
84
  };
257
85
  }, {
258
86
  base: string;
@@ -260,17 +88,17 @@ declare const modal: import("tailwind-variants").TVReturnType<{
260
88
  header: string;
261
89
  body: string;
262
90
  footer: string;
263
- }, import("tailwind-variants").TVReturnType<{
91
+ }, import("tailwind-variants").TVReturnTypeLike<{
264
92
  size: {
265
- xs: string;
266
- sm: string;
267
- md: string;
268
- lg: string;
269
- xl: string;
270
- full: string;
93
+ xs: "modal--xs";
94
+ sm: "modal--sm";
95
+ md: "modal--md";
96
+ lg: "modal--lg";
97
+ xl: "modal--xl";
98
+ full: "modal--full";
271
99
  };
272
100
  isCentered: {
273
- true: string;
101
+ true: "my-auto";
274
102
  };
275
103
  }, {
276
104
  base: string;
@@ -278,31 +106,7 @@ declare const modal: import("tailwind-variants").TVReturnType<{
278
106
  header: string;
279
107
  body: string;
280
108
  footer: string;
281
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
282
- size: {
283
- xs: string;
284
- sm: string;
285
- md: string;
286
- lg: string;
287
- xl: string;
288
- full: string;
289
- };
290
- isCentered: {
291
- true: string;
292
- };
293
- }, {
294
- size: {
295
- xs: string;
296
- sm: string;
297
- md: string;
298
- lg: string;
299
- xl: string;
300
- full: string;
301
- };
302
- isCentered: {
303
- true: string;
304
- };
305
- }>, unknown, unknown, undefined>>;
109
+ }>>;
306
110
  declare const drawer: import("tailwind-variants").TVReturnType<{
307
111
  variant: {
308
112
  sectioned: {
@@ -333,18 +137,18 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
333
137
  };
334
138
  };
335
139
  size: {
336
- xs: string;
337
- sm: string;
338
- md: string;
339
- lg: string;
340
- xl: string;
341
- full: string;
140
+ xs: "";
141
+ sm: "";
142
+ md: "";
143
+ lg: "";
144
+ xl: "";
145
+ full: "";
342
146
  };
343
147
  placement: {
344
- top: string;
345
- bottom: string;
346
- left: string;
347
- right: string;
148
+ top: "top-2 right-2 left-2 h-full";
149
+ bottom: "bottom-2 right-2 left-2 h-full";
150
+ left: "top-2 bottom-2 left-2 w-full";
151
+ right: "top-2 bottom-2 right-2 w-full";
348
152
  };
349
153
  }, {
350
154
  base: string;
@@ -361,54 +165,6 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
361
165
  dragHandle: string;
362
166
  dragHandleBar: string;
363
167
  }, undefined, {
364
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {
365
- size?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
366
- variant?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
367
- hasCloseButton?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
368
- placement?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | undefined;
369
- } | undefined;
370
- } & import("tailwind-variants/dist/config.js").TWMConfig & {
371
- twMerge: true;
372
- twMergeConfig: {
373
- readonly extend: {
374
- readonly classGroups: {
375
- readonly 'icon-size': readonly [{
376
- readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
377
- }];
378
- readonly 'border-w': readonly [{
379
- readonly border: readonly ["thin", "heavy", "aggressive"];
380
- }];
381
- readonly rounded: readonly [{
382
- readonly rounded: readonly ["default", "pill"];
383
- }];
384
- readonly shadow: readonly [{
385
- readonly 'shadow-elevation': string[];
386
- }];
387
- readonly opacity: readonly [{
388
- readonly opacity: readonly ["hover", "disabled"];
389
- }];
390
- readonly 'font-size': readonly [{
391
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
392
- }, {
393
- readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
394
- }, {
395
- readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
396
- }, {
397
- readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
398
- }, {
399
- readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
400
- }, {
401
- readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
402
- }, {
403
- readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
404
- }];
405
- };
406
- readonly conflictingClassGroups: {
407
- readonly 'icon-size': readonly ["w", "h", "size"];
408
- };
409
- };
410
- };
411
- }, {
412
168
  variant: {
413
169
  sectioned: {
414
170
  base: string;
@@ -438,18 +194,18 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
438
194
  };
439
195
  };
440
196
  size: {
441
- xs: string;
442
- sm: string;
443
- md: string;
444
- lg: string;
445
- xl: string;
446
- full: string;
197
+ xs: "";
198
+ sm: "";
199
+ md: "";
200
+ lg: "";
201
+ xl: "";
202
+ full: "";
447
203
  };
448
204
  placement: {
449
- top: string;
450
- bottom: string;
451
- left: string;
452
- right: string;
205
+ top: "top-2 right-2 left-2 h-full";
206
+ bottom: "bottom-2 right-2 left-2 h-full";
207
+ left: "top-2 bottom-2 left-2 w-full";
208
+ right: "top-2 bottom-2 right-2 w-full";
453
209
  };
454
210
  }, {
455
211
  base: string;
@@ -465,7 +221,7 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
465
221
  description: string;
466
222
  dragHandle: string;
467
223
  dragHandleBar: string;
468
- }, import("tailwind-variants").TVReturnType<{
224
+ }, import("tailwind-variants").TVReturnTypeLike<{
469
225
  variant: {
470
226
  sectioned: {
471
227
  base: string;
@@ -495,18 +251,18 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
495
251
  };
496
252
  };
497
253
  size: {
498
- xs: string;
499
- sm: string;
500
- md: string;
501
- lg: string;
502
- xl: string;
503
- full: string;
254
+ xs: "";
255
+ sm: "";
256
+ md: "";
257
+ lg: "";
258
+ xl: "";
259
+ full: "";
504
260
  };
505
261
  placement: {
506
- top: string;
507
- bottom: string;
508
- left: string;
509
- right: string;
262
+ top: "top-2 right-2 left-2 h-full";
263
+ bottom: "bottom-2 right-2 left-2 h-full";
264
+ left: "top-2 bottom-2 left-2 w-full";
265
+ right: "top-2 bottom-2 right-2 w-full";
510
266
  };
511
267
  }, {
512
268
  base: string;
@@ -522,93 +278,7 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
522
278
  description: string;
523
279
  dragHandle: string;
524
280
  dragHandleBar: string;
525
- }, undefined, import("tailwind-variants/dist/config.js").TVConfig<{
526
- variant: {
527
- sectioned: {
528
- base: string;
529
- body: string;
530
- header: string;
531
- footer: string;
532
- closeButton: string;
533
- headerCloseButton: string;
534
- icon: string;
535
- title: string;
536
- description: string;
537
- dragHandleBar: string;
538
- };
539
- flat: {
540
- base: string;
541
- body: string;
542
- header: string;
543
- footer: string;
544
- title: string;
545
- description: string;
546
- dragHandleBar: string;
547
- };
548
- };
549
- hasCloseButton: {
550
- true: {
551
- header: string;
552
- };
553
- };
554
- size: {
555
- xs: string;
556
- sm: string;
557
- md: string;
558
- lg: string;
559
- xl: string;
560
- full: string;
561
- };
562
- placement: {
563
- top: string;
564
- bottom: string;
565
- left: string;
566
- right: string;
567
- };
568
- }, {
569
- variant: {
570
- sectioned: {
571
- base: string;
572
- body: string;
573
- header: string;
574
- footer: string;
575
- closeButton: string;
576
- headerCloseButton: string;
577
- icon: string;
578
- title: string;
579
- description: string;
580
- dragHandleBar: string;
581
- };
582
- flat: {
583
- base: string;
584
- body: string;
585
- header: string;
586
- footer: string;
587
- title: string;
588
- description: string;
589
- dragHandleBar: string;
590
- };
591
- };
592
- hasCloseButton: {
593
- true: {
594
- header: string;
595
- };
596
- };
597
- size: {
598
- xs: string;
599
- sm: string;
600
- md: string;
601
- lg: string;
602
- xl: string;
603
- full: string;
604
- };
605
- placement: {
606
- top: string;
607
- bottom: string;
608
- left: string;
609
- right: string;
610
- };
611
- }>, unknown, unknown, undefined>>;
281
+ }>>;
612
282
  /**
613
283
  * The arrow shared by `Popover.Content` and `Tooltip`.
614
284
  *
@@ -619,50 +289,7 @@ declare const drawer: import("tailwind-variants").TVReturnType<{
619
289
  * floating-ui `arrow` middleware and is written as inline `left`/`top`; the
620
290
  * static side is pinned by the component from the resolved placement.
621
291
  */
622
- declare const overlayArrow: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "absolute w-2 h-2 rotate-45 bg-inherit border border-neutral-subtle pointer-events-none", {
623
- responsiveVariants?: boolean | ("sm" | "md" | "lg" | "xl" | "2xl")[] | {} | undefined;
624
- } & import("tailwind-variants/dist/config.js").TWMConfig & {
625
- twMerge: true;
626
- twMergeConfig: {
627
- readonly extend: {
628
- readonly classGroups: {
629
- readonly 'icon-size': readonly [{
630
- readonly 'size-icon': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
631
- }];
632
- readonly 'border-w': readonly [{
633
- readonly border: readonly ["thin", "heavy", "aggressive"];
634
- }];
635
- readonly rounded: readonly [{
636
- readonly rounded: readonly ["default", "pill"];
637
- }];
638
- readonly shadow: readonly [{
639
- readonly 'shadow-elevation': string[];
640
- }];
641
- readonly opacity: readonly [{
642
- readonly opacity: readonly ["hover", "disabled"];
643
- }];
644
- readonly 'font-size': readonly [{
645
- readonly 'text-marquee': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
646
- }, {
647
- readonly 'text-header': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
648
- }, {
649
- readonly 'text-body': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
650
- }, {
651
- readonly 'text-strong': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
652
- }, {
653
- readonly 'text-code': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
654
- }, {
655
- readonly 'text-caption': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
656
- }, {
657
- readonly 'text-label': readonly ["pico", "nano", "micro", "5xs", "4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl", "2xl", "3xl", "kilo", "mega"];
658
- }];
659
- };
660
- readonly conflictingClassGroups: {
661
- readonly 'icon-size': readonly ["w", "h", "size"];
662
- };
663
- };
664
- };
665
- }, {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "absolute w-2 h-2 rotate-45 bg-inherit border border-neutral-subtle pointer-events-none", import("tailwind-variants/dist/config.js").TVConfig<unknown, {} | {}>, unknown, unknown, undefined>>;
292
+ declare const overlayArrow: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "absolute w-2 h-2 rotate-45 bg-inherit border border-neutral-subtle pointer-events-none", {} | {}, undefined, import("tailwind-variants").TVReturnTypeLike<unknown, undefined>>;
666
293
  declare const overlayTransitions: {
667
294
  /**
668
295
  * Deliberately has no `prefers-reduced-motion` branch: a cross-fade is not
@@ -960,3 +587,4 @@ export type BackdropVariants = VariantProps<typeof backdrop>;
960
587
  export type BackdropSlots = keyof ReturnType<typeof backdrop>;
961
588
  export type OverlayArrowVariants = VariantProps<typeof overlayArrow>;
962
589
  export { overlay, drawer, modal, overlayTransitions, backdrop, overlayArrow };
590
+ //# sourceMappingURL=overlays.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"overlays.d.ts","sourceRoot":"","sources":["../../src/components/overlays.ts"],"names":[],"mappings":"AAAA,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AAI9C,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;cAUX,CAAC;AAEH,QAAA,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBZ,CAAC;AAEH,QAAA,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqBT,CAAC;AAEH,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6PV,CAAC;AA6CH;;;;;;;;;GASG;AACH,QAAA,MAAM,YAAY,mPAEhB,CAAC;AAEH,QAAA,MAAM,kBAAkB;IACtB;;;;;OAKG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmFH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4CH;;;;;;OAMG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+EJ,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,YAAY,CAAC,OAAO,OAAO,CAAC,CAAC;AAC3D,MAAM,MAAM,YAAY,GAAG,MAAM,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAC5D,MAAM,MAAM,cAAc,GAAG,YAAY,CAAC,OAAO,MAAM,CAAC,CAAC;AACzD,MAAM,MAAM,WAAW,GAAG,MAAM,UAAU,CAAC,OAAO,MAAM,CAAC,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,OAAO,KAAK,CAAC,CAAC;AACvD,MAAM,MAAM,UAAU,GAAG,MAAM,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC;AACxD,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC7D,MAAM,MAAM,aAAa,GAAG,MAAM,UAAU,CAAC,OAAO,QAAQ,CAAC,CAAC;AAC9D,MAAM,MAAM,oBAAoB,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC;AAErE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,YAAY,EAAE,CAAC"}