@kuzenbo/core 0.0.6 → 0.0.7

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 (39) hide show
  1. package/dist/{dialog-Dzvma_bu.js → dialog-B7kMKriQ.js} +3 -3
  2. package/dist/dialog-B7kMKriQ.js.map +1 -0
  3. package/dist/{sheet-FVsgl5Wk.js → sheet-CcyewAZj.js} +3 -3
  4. package/dist/sheet-CcyewAZj.js.map +1 -0
  5. package/dist/ui/alert-dialog.js +1 -1
  6. package/dist/ui/alert-dialog.js.map +1 -1
  7. package/dist/ui/autocomplete.d.ts +2 -2
  8. package/dist/ui/autocomplete.js +1 -1
  9. package/dist/ui/autocomplete.js.map +1 -1
  10. package/dist/ui/combobox.js +5 -5
  11. package/dist/ui/combobox.js.map +1 -1
  12. package/dist/ui/command.js +1 -1
  13. package/dist/ui/container.d.ts +1 -0
  14. package/dist/ui/container.d.ts.map +1 -1
  15. package/dist/ui/container.js +6 -2
  16. package/dist/ui/container.js.map +1 -1
  17. package/dist/ui/dialog.js +1 -1
  18. package/dist/ui/drawer.d.ts +308 -117
  19. package/dist/ui/drawer.d.ts.map +1 -1
  20. package/dist/ui/drawer.js +254 -114
  21. package/dist/ui/drawer.js.map +1 -1
  22. package/dist/ui/popover.js +1 -1
  23. package/dist/ui/popover.js.map +1 -1
  24. package/dist/ui/preview-card.js +1 -1
  25. package/dist/ui/preview-card.js.map +1 -1
  26. package/dist/ui/select.d.ts +2 -2
  27. package/dist/ui/select.js +1 -1
  28. package/dist/ui/select.js.map +1 -1
  29. package/dist/ui/sheet.js +1 -1
  30. package/dist/ui/sidebar.d.ts.map +1 -1
  31. package/dist/ui/sidebar.js +10 -13
  32. package/dist/ui/sidebar.js.map +1 -1
  33. package/dist/ui/typography.d.ts +1 -1
  34. package/dist/ui/typography.d.ts.map +1 -1
  35. package/dist/ui/typography.js +20 -20
  36. package/dist/ui/typography.js.map +1 -1
  37. package/package.json +6 -6
  38. package/dist/dialog-Dzvma_bu.js.map +0 -1
  39. package/dist/sheet-FVsgl5Wk.js.map +0 -1
@@ -1,13 +1,20 @@
1
1
  import { t as UISize } from "../size-system-BAI1CnwU.js";
2
2
  import "../size-context-DWvVJytl.js";
3
- import { ComponentProps } from "react";
3
+ import { ComponentProps, ReactNode } from "react";
4
4
  import * as react_jsx_runtime0 from "react/jsx-runtime";
5
5
  import * as tailwind_variants0 from "tailwind-variants";
6
6
  import { VariantProps } from "tailwind-variants";
7
7
  import { DrawerPreview } from "@base-ui/react/drawer";
8
8
 
9
- //#region src/ui/drawer/drawer-actions.d.ts
10
- declare const drawerActionsVariants: tailwind_variants0.TVReturnType<{
9
+ //#region src/ui/drawer/drawer-backdrop.d.ts
10
+ type DrawerBackdropProps = DrawerPreview.Backdrop.Props;
11
+ declare const DrawerBackdrop: ({
12
+ className,
13
+ ...props
14
+ }: DrawerBackdropProps) => react_jsx_runtime0.JSX.Element;
15
+ //#endregion
16
+ //#region src/ui/drawer/drawer-content.d.ts
17
+ declare const drawerContentVariants: tailwind_variants0.TVReturnType<{
11
18
  size: {
12
19
  lg: string;
13
20
  md: string;
@@ -15,7 +22,7 @@ declare const drawerActionsVariants: tailwind_variants0.TVReturnType<{
15
22
  xl: string;
16
23
  xs: string;
17
24
  };
18
- }, undefined, "flex justify-end", {
25
+ }, undefined, "mx-auto w-full", {
19
26
  size: {
20
27
  lg: string;
21
28
  md: string;
@@ -31,26 +38,19 @@ declare const drawerActionsVariants: tailwind_variants0.TVReturnType<{
31
38
  xl: string;
32
39
  xs: string;
33
40
  };
34
- }, undefined, "flex justify-end", unknown, unknown, undefined>>;
35
- type DrawerActionsVariantProps = Omit<VariantProps<typeof drawerActionsVariants>, "size"> & {
41
+ }, undefined, "mx-auto w-full", unknown, unknown, undefined>>;
42
+ type DrawerContentVariantProps = Omit<VariantProps<typeof drawerContentVariants>, "size"> & {
36
43
  size?: UISize;
37
44
  };
38
- type DrawerActionsProps = ComponentProps<"div"> & DrawerActionsVariantProps;
39
- declare const DrawerActions: ({
45
+ type DrawerContentProps = DrawerPreview.Content.Props & DrawerContentVariantProps;
46
+ declare const DrawerContent: ({
40
47
  className,
41
48
  size,
42
49
  ...props
43
- }: DrawerActionsProps) => react_jsx_runtime0.JSX.Element;
44
- //#endregion
45
- //#region src/ui/drawer/drawer-backdrop.d.ts
46
- type DrawerBackdropProps = DrawerPreview.Backdrop.Props;
47
- declare const DrawerBackdrop: ({
48
- className,
49
- ...props
50
- }: DrawerBackdropProps) => react_jsx_runtime0.JSX.Element;
50
+ }: DrawerContentProps) => react_jsx_runtime0.JSX.Element;
51
51
  //#endregion
52
- //#region src/ui/drawer/drawer-close.d.ts
53
- declare const drawerCloseVariants: tailwind_variants0.TVReturnType<{
52
+ //#region src/ui/drawer/drawer-popup.d.ts
53
+ declare const drawerPopupSizeVariants: tailwind_variants0.TVReturnType<{
54
54
  size: {
55
55
  lg: string;
56
56
  md: string;
@@ -58,7 +58,7 @@ declare const drawerCloseVariants: tailwind_variants0.TVReturnType<{
58
58
  xl: string;
59
59
  xs: string;
60
60
  };
61
- }, undefined, "cursor-clickable text-foreground hover:bg-muted focus-visible:outline-ring active:bg-muted inline-flex items-center justify-center rounded-md transition-colors select-none focus-visible:outline focus-visible:-outline-offset-1 disabled:pointer-events-none disabled:opacity-50", {
61
+ }, undefined, undefined, {
62
62
  size: {
63
63
  lg: string;
64
64
  md: string;
@@ -74,19 +74,29 @@ declare const drawerCloseVariants: tailwind_variants0.TVReturnType<{
74
74
  xl: string;
75
75
  xs: string;
76
76
  };
77
- }, undefined, "cursor-clickable text-foreground hover:bg-muted focus-visible:outline-ring active:bg-muted inline-flex items-center justify-center rounded-md transition-colors select-none focus-visible:outline focus-visible:-outline-offset-1 disabled:pointer-events-none disabled:opacity-50", unknown, unknown, undefined>>;
78
- type DrawerCloseVariantProps = Omit<VariantProps<typeof drawerCloseVariants>, "size"> & {
77
+ }, undefined, undefined, unknown, unknown, undefined>>;
78
+ type DrawerPopupVariantProps = Omit<VariantProps<typeof drawerPopupSizeVariants>, "size"> & {
79
79
  size?: UISize;
80
80
  };
81
- type DrawerCloseProps = DrawerPreview.Close.Props & DrawerCloseVariantProps;
82
- declare const DrawerClose: ({
81
+ type DrawerPopupSize = UISize;
82
+ type DrawerPopupProps = DrawerPreview.Popup.Props & DrawerPopupVariantProps;
83
+ declare const DrawerPopup: ({
83
84
  className,
84
85
  size,
85
86
  ...props
86
- }: DrawerCloseProps) => react_jsx_runtime0.JSX.Element;
87
+ }: DrawerPopupProps) => react_jsx_runtime0.JSX.Element;
87
88
  //#endregion
88
- //#region src/ui/drawer/drawer-content.d.ts
89
- declare const drawerContentVariants: tailwind_variants0.TVReturnType<{
89
+ //#region src/ui/drawer/drawer-portal.d.ts
90
+ type DrawerPortalProps = DrawerPreview.Portal.Props;
91
+ declare const DrawerPortal: ({
92
+ ...props
93
+ }: DrawerPortalProps) => react_jsx_runtime0.JSX.Element;
94
+ //#endregion
95
+ //#region src/ui/drawer/drawer-size-context.d.ts
96
+ type DrawerSize = UISize;
97
+ //#endregion
98
+ //#region src/ui/drawer/drawer-trigger.d.ts
99
+ declare const drawerTriggerVariants: tailwind_variants0.TVReturnType<{
90
100
  size: {
91
101
  lg: string;
92
102
  md: string;
@@ -94,7 +104,7 @@ declare const drawerContentVariants: tailwind_variants0.TVReturnType<{
94
104
  xl: string;
95
105
  xs: string;
96
106
  };
97
- }, undefined, "mx-auto w-full", {
107
+ }, undefined, "cursor-clickable border-border bg-background text-foreground hover:bg-muted focus-visible:outline-ring active:bg-muted inline-flex items-center justify-center border font-medium transition-colors select-none focus-visible:outline focus-visible:-outline-offset-1 disabled:pointer-events-none disabled:opacity-50", {
98
108
  size: {
99
109
  lg: string;
100
110
  md: string;
@@ -110,19 +120,55 @@ declare const drawerContentVariants: tailwind_variants0.TVReturnType<{
110
120
  xl: string;
111
121
  xs: string;
112
122
  };
113
- }, undefined, "mx-auto w-full", unknown, unknown, undefined>>;
114
- type DrawerContentVariantProps = Omit<VariantProps<typeof drawerContentVariants>, "size"> & {
123
+ }, undefined, "cursor-clickable border-border bg-background text-foreground hover:bg-muted focus-visible:outline-ring active:bg-muted inline-flex items-center justify-center border font-medium transition-colors select-none focus-visible:outline focus-visible:-outline-offset-1 disabled:pointer-events-none disabled:opacity-50", unknown, unknown, undefined>>;
124
+ type DrawerTriggerVariantProps = Omit<VariantProps<typeof drawerTriggerVariants>, "size"> & {
115
125
  size?: UISize;
116
126
  };
117
- type DrawerContentProps = DrawerPreview.Content.Props & DrawerContentVariantProps;
118
- declare const DrawerContent: ({
127
+ type DrawerTriggerProps = DrawerPreview.Trigger.Props & DrawerTriggerVariantProps;
128
+ declare const DrawerTrigger: ({
119
129
  className,
120
130
  size,
121
131
  ...props
122
- }: DrawerContentProps) => react_jsx_runtime0.JSX.Element;
132
+ }: DrawerTriggerProps) => react_jsx_runtime0.JSX.Element;
123
133
  //#endregion
124
- //#region src/ui/drawer/drawer-description.d.ts
125
- declare const drawerDescriptionVariants: tailwind_variants0.TVReturnType<{
134
+ //#region src/ui/drawer/drawer-viewport.d.ts
135
+ type DrawerViewportProps = DrawerPreview.Viewport.Props;
136
+ declare const DrawerViewport: ({
137
+ className,
138
+ ...props
139
+ }: DrawerViewportProps) => react_jsx_runtime0.JSX.Element;
140
+ //#endregion
141
+ //#region src/ui/drawer/drawer-action-sheet.d.ts
142
+ type DrawerActionSheetRootProps<T = unknown> = Omit<DrawerPreview.Root.Props<T>, "children" | "swipeDirection"> & {
143
+ size?: DrawerSize;
144
+ };
145
+ type DrawerActionSheetProps<T = unknown> = DrawerActionSheetRootProps<T> & {
146
+ backdropProps?: DrawerBackdropProps;
147
+ children: ReactNode;
148
+ contentProps?: DrawerContentProps;
149
+ destructiveAction?: ReactNode;
150
+ popupProps?: DrawerPopupProps;
151
+ portalProps?: DrawerPortalProps;
152
+ trigger?: ReactNode;
153
+ triggerProps?: Omit<DrawerTriggerProps, "children">;
154
+ viewportProps?: DrawerViewportProps;
155
+ };
156
+ declare const DrawerActionSheet: <T>({
157
+ backdropProps,
158
+ children,
159
+ contentProps,
160
+ destructiveAction,
161
+ popupProps,
162
+ portalProps,
163
+ size: providedSize,
164
+ trigger,
165
+ triggerProps,
166
+ viewportProps,
167
+ ...rootProps
168
+ }: DrawerActionSheetProps<T>) => react_jsx_runtime0.JSX.Element;
169
+ //#endregion
170
+ //#region src/ui/drawer/drawer-actions.d.ts
171
+ declare const drawerActionsVariants: tailwind_variants0.TVReturnType<{
126
172
  size: {
127
173
  lg: string;
128
174
  md: string;
@@ -130,7 +176,7 @@ declare const drawerDescriptionVariants: tailwind_variants0.TVReturnType<{
130
176
  xl: string;
131
177
  xs: string;
132
178
  };
133
- }, undefined, "text-muted-foreground", {
179
+ }, undefined, "flex justify-end", {
134
180
  size: {
135
181
  lg: string;
136
182
  md: string;
@@ -146,33 +192,48 @@ declare const drawerDescriptionVariants: tailwind_variants0.TVReturnType<{
146
192
  xl: string;
147
193
  xs: string;
148
194
  };
149
- }, undefined, "text-muted-foreground", unknown, unknown, undefined>>;
150
- type DrawerDescriptionVariantProps = Omit<VariantProps<typeof drawerDescriptionVariants>, "size"> & {
195
+ }, undefined, "flex justify-end", unknown, unknown, undefined>>;
196
+ type DrawerActionsVariantProps = Omit<VariantProps<typeof drawerActionsVariants>, "size"> & {
151
197
  size?: UISize;
152
198
  };
153
- type DrawerDescriptionProps = DrawerPreview.Description.Props & DrawerDescriptionVariantProps;
154
- declare const DrawerDescription: ({
199
+ type DrawerActionsProps = ComponentProps<"div"> & DrawerActionsVariantProps;
200
+ declare const DrawerActions: ({
155
201
  className,
156
202
  size,
157
203
  ...props
158
- }: DrawerDescriptionProps) => react_jsx_runtime0.JSX.Element;
159
- //#endregion
160
- //#region src/ui/drawer/drawer-indent.d.ts
161
- type DrawerIndentProps = DrawerPreview.Indent.Props;
162
- declare const DrawerIndent: ({
163
- className,
164
- ...props
165
- }: DrawerIndentProps) => react_jsx_runtime0.JSX.Element;
204
+ }: DrawerActionsProps) => react_jsx_runtime0.JSX.Element;
166
205
  //#endregion
167
- //#region src/ui/drawer/drawer-indent-background.d.ts
168
- type DrawerIndentBackgroundProps = DrawerPreview.IndentBackground.Props;
169
- declare const DrawerIndentBackground: ({
170
- className,
171
- ...props
172
- }: DrawerIndentBackgroundProps) => react_jsx_runtime0.JSX.Element;
206
+ //#region src/ui/drawer/drawer-bottom-sheet.d.ts
207
+ type DrawerBottomSheetRootProps<T = unknown> = Omit<DrawerPreview.Root.Props<T>, "children" | "swipeDirection"> & {
208
+ size?: DrawerSize;
209
+ };
210
+ type DrawerBottomSheetProps<T = unknown> = DrawerBottomSheetRootProps<T> & {
211
+ backdropProps?: DrawerBackdropProps;
212
+ children: ReactNode;
213
+ contentProps?: DrawerContentProps;
214
+ popupProps?: DrawerPopupProps;
215
+ portalProps?: DrawerPortalProps;
216
+ showHandle?: boolean;
217
+ trigger?: ReactNode;
218
+ triggerProps?: Omit<DrawerTriggerProps, "children">;
219
+ viewportProps?: DrawerViewportProps;
220
+ };
221
+ declare const DrawerBottomSheet: <T>({
222
+ backdropProps,
223
+ children,
224
+ contentProps,
225
+ popupProps,
226
+ portalProps,
227
+ showHandle,
228
+ size: providedSize,
229
+ trigger,
230
+ triggerProps,
231
+ viewportProps,
232
+ ...rootProps
233
+ }: DrawerBottomSheetProps<T>) => react_jsx_runtime0.JSX.Element;
173
234
  //#endregion
174
- //#region src/ui/drawer/drawer-handle.d.ts
175
- declare const drawerHandleVariants: tailwind_variants0.TVReturnType<{
235
+ //#region src/ui/drawer/drawer-close.d.ts
236
+ declare const drawerCloseVariants: tailwind_variants0.TVReturnType<{
176
237
  size: {
177
238
  lg: string;
178
239
  md: string;
@@ -180,7 +241,7 @@ declare const drawerHandleVariants: tailwind_variants0.TVReturnType<{
180
241
  xl: string;
181
242
  xs: string;
182
243
  };
183
- }, undefined, "bg-muted-foreground/40 mx-auto h-1 shrink-0 rounded-full", {
244
+ }, undefined, "cursor-clickable text-foreground hover:bg-muted focus-visible:outline-ring active:bg-muted inline-flex items-center justify-center rounded-md transition-colors select-none focus-visible:outline focus-visible:-outline-offset-1 disabled:pointer-events-none disabled:opacity-50", {
184
245
  size: {
185
246
  lg: string;
186
247
  md: string;
@@ -196,19 +257,20 @@ declare const drawerHandleVariants: tailwind_variants0.TVReturnType<{
196
257
  xl: string;
197
258
  xs: string;
198
259
  };
199
- }, undefined, "bg-muted-foreground/40 mx-auto h-1 shrink-0 rounded-full", unknown, unknown, undefined>>;
200
- type DrawerHandleVariantProps = Omit<VariantProps<typeof drawerHandleVariants>, "size"> & {
260
+ }, undefined, "cursor-clickable text-foreground hover:bg-muted focus-visible:outline-ring active:bg-muted inline-flex items-center justify-center rounded-md transition-colors select-none focus-visible:outline focus-visible:-outline-offset-1 disabled:pointer-events-none disabled:opacity-50", unknown, unknown, undefined>>;
261
+ type DrawerCloseVariantProps = Omit<VariantProps<typeof drawerCloseVariants>, "size"> & {
201
262
  size?: UISize;
202
263
  };
203
- type DrawerHandleProps = ComponentProps<"div"> & DrawerHandleVariantProps;
204
- declare const DrawerHandle: ({
264
+ type DrawerCloseProps = DrawerPreview.Close.Props & DrawerCloseVariantProps;
265
+ declare const DrawerClose: ({
205
266
  className,
267
+ render,
206
268
  size,
207
269
  ...props
208
- }: DrawerHandleProps) => react_jsx_runtime0.JSX.Element;
270
+ }: DrawerCloseProps) => react_jsx_runtime0.JSX.Element;
209
271
  //#endregion
210
- //#region src/ui/drawer/drawer-header.d.ts
211
- declare const drawerHeaderVariants: tailwind_variants0.TVReturnType<{
272
+ //#region src/ui/drawer/drawer-description.d.ts
273
+ declare const drawerDescriptionVariants: tailwind_variants0.TVReturnType<{
212
274
  size: {
213
275
  lg: string;
214
276
  md: string;
@@ -216,7 +278,7 @@ declare const drawerHeaderVariants: tailwind_variants0.TVReturnType<{
216
278
  xl: string;
217
279
  xs: string;
218
280
  };
219
- }, undefined, "border-border flex shrink-0 touch-none flex-col border-b", {
281
+ }, undefined, "text-muted-foreground", {
220
282
  size: {
221
283
  lg: string;
222
284
  md: string;
@@ -232,19 +294,45 @@ declare const drawerHeaderVariants: tailwind_variants0.TVReturnType<{
232
294
  xl: string;
233
295
  xs: string;
234
296
  };
235
- }, undefined, "border-border flex shrink-0 touch-none flex-col border-b", unknown, unknown, undefined>>;
236
- type DrawerHeaderVariantProps = Omit<VariantProps<typeof drawerHeaderVariants>, "size"> & {
297
+ }, undefined, "text-muted-foreground", unknown, unknown, undefined>>;
298
+ type DrawerDescriptionVariantProps = Omit<VariantProps<typeof drawerDescriptionVariants>, "size"> & {
237
299
  size?: UISize;
238
300
  };
239
- type DrawerHeaderProps = ComponentProps<"div"> & DrawerHeaderVariantProps;
240
- declare const DrawerHeader: ({
301
+ type DrawerDescriptionProps = DrawerPreview.Description.Props & DrawerDescriptionVariantProps;
302
+ declare const DrawerDescription: ({
241
303
  className,
242
304
  size,
243
305
  ...props
244
- }: DrawerHeaderProps) => react_jsx_runtime0.JSX.Element;
306
+ }: DrawerDescriptionProps) => react_jsx_runtime0.JSX.Element;
245
307
  //#endregion
246
- //#region src/ui/drawer/drawer-popup.d.ts
247
- declare const drawerPopupSizeVariants: tailwind_variants0.TVReturnType<{
308
+ //#region src/ui/drawer/drawer-indent.d.ts
309
+ type DrawerIndentProps = DrawerPreview.Indent.Props;
310
+ declare const DrawerIndent: ({
311
+ className,
312
+ ...props
313
+ }: DrawerIndentProps) => react_jsx_runtime0.JSX.Element;
314
+ //#endregion
315
+ //#region src/ui/drawer/drawer-indent-background.d.ts
316
+ type DrawerIndentBackgroundProps = DrawerPreview.IndentBackground.Props;
317
+ declare const DrawerIndentBackground: ({
318
+ className,
319
+ ...props
320
+ }: DrawerIndentBackgroundProps) => react_jsx_runtime0.JSX.Element;
321
+ //#endregion
322
+ //#region src/ui/drawer/drawer-indent-shell.d.ts
323
+ interface DrawerIndentShellProps {
324
+ children: ReactNode;
325
+ indentBackgroundProps?: DrawerIndentBackgroundProps;
326
+ indentProps?: DrawerIndentProps;
327
+ }
328
+ declare const DrawerIndentShell: ({
329
+ children,
330
+ indentBackgroundProps,
331
+ indentProps
332
+ }: DrawerIndentShellProps) => react_jsx_runtime0.JSX.Element;
333
+ //#endregion
334
+ //#region src/ui/drawer/drawer-handle.d.ts
335
+ declare const drawerHandleVariants: tailwind_variants0.TVReturnType<{
248
336
  size: {
249
337
  lg: string;
250
338
  md: string;
@@ -252,7 +340,7 @@ declare const drawerPopupSizeVariants: tailwind_variants0.TVReturnType<{
252
340
  xl: string;
253
341
  xs: string;
254
342
  };
255
- }, undefined, undefined, {
343
+ }, undefined, "bg-muted-foreground/40 mx-auto h-1 shrink-0 rounded-full", {
256
344
  size: {
257
345
  lg: string;
258
346
  md: string;
@@ -268,32 +356,19 @@ declare const drawerPopupSizeVariants: tailwind_variants0.TVReturnType<{
268
356
  xl: string;
269
357
  xs: string;
270
358
  };
271
- }, undefined, undefined, unknown, unknown, undefined>>;
272
- type DrawerPopupVariantProps = Omit<VariantProps<typeof drawerPopupSizeVariants>, "size"> & {
359
+ }, undefined, "bg-muted-foreground/40 mx-auto h-1 shrink-0 rounded-full", unknown, unknown, undefined>>;
360
+ type DrawerHandleVariantProps = Omit<VariantProps<typeof drawerHandleVariants>, "size"> & {
273
361
  size?: UISize;
274
362
  };
275
- type DrawerPopupSize = UISize;
276
- type DrawerPopupProps = DrawerPreview.Popup.Props & DrawerPopupVariantProps;
277
- declare const DrawerPopup: ({
363
+ type DrawerHandleProps = ComponentProps<"div"> & DrawerHandleVariantProps;
364
+ declare const DrawerHandle: ({
278
365
  className,
279
366
  size,
280
367
  ...props
281
- }: DrawerPopupProps) => react_jsx_runtime0.JSX.Element;
282
- //#endregion
283
- //#region src/ui/drawer/drawer-portal.d.ts
284
- type DrawerPortalProps = DrawerPreview.Portal.Props;
285
- declare const DrawerPortal: ({
286
- ...props
287
- }: DrawerPortalProps) => react_jsx_runtime0.JSX.Element;
288
- //#endregion
289
- //#region src/ui/drawer/drawer-provider.d.ts
290
- type DrawerProviderProps = DrawerPreview.Provider.Props;
291
- declare const DrawerProvider: ({
292
- ...props
293
- }: DrawerProviderProps) => react_jsx_runtime0.JSX.Element;
368
+ }: DrawerHandleProps) => react_jsx_runtime0.JSX.Element;
294
369
  //#endregion
295
- //#region src/ui/drawer/drawer-title.d.ts
296
- declare const drawerTitleVariants: tailwind_variants0.TVReturnType<{
370
+ //#region src/ui/drawer/drawer-header.d.ts
371
+ declare const drawerHeaderVariants: tailwind_variants0.TVReturnType<{
297
372
  size: {
298
373
  lg: string;
299
374
  md: string;
@@ -301,7 +376,7 @@ declare const drawerTitleVariants: tailwind_variants0.TVReturnType<{
301
376
  xl: string;
302
377
  xs: string;
303
378
  };
304
- }, undefined, "text-foreground font-medium", {
379
+ }, undefined, "border-border flex shrink-0 touch-none flex-col border-b", {
305
380
  size: {
306
381
  lg: string;
307
382
  md: string;
@@ -317,19 +392,55 @@ declare const drawerTitleVariants: tailwind_variants0.TVReturnType<{
317
392
  xl: string;
318
393
  xs: string;
319
394
  };
320
- }, undefined, "text-foreground font-medium", unknown, unknown, undefined>>;
321
- type DrawerTitleVariantProps = Omit<VariantProps<typeof drawerTitleVariants>, "size"> & {
395
+ }, undefined, "border-border flex shrink-0 touch-none flex-col border-b", unknown, unknown, undefined>>;
396
+ type DrawerHeaderVariantProps = Omit<VariantProps<typeof drawerHeaderVariants>, "size"> & {
322
397
  size?: UISize;
323
398
  };
324
- type DrawerTitleProps = DrawerPreview.Title.Props & DrawerTitleVariantProps;
325
- declare const DrawerTitle: ({
399
+ type DrawerHeaderProps = ComponentProps<"div"> & DrawerHeaderVariantProps;
400
+ declare const DrawerHeader: ({
326
401
  className,
327
402
  size,
328
403
  ...props
329
- }: DrawerTitleProps) => react_jsx_runtime0.JSX.Element;
404
+ }: DrawerHeaderProps) => react_jsx_runtime0.JSX.Element;
330
405
  //#endregion
331
- //#region src/ui/drawer/drawer-trigger.d.ts
332
- declare const drawerTriggerVariants: tailwind_variants0.TVReturnType<{
406
+ //#region src/ui/drawer/drawer-provider.d.ts
407
+ type DrawerProviderProps = DrawerPreview.Provider.Props;
408
+ declare const DrawerProvider: ({
409
+ ...props
410
+ }: DrawerProviderProps) => react_jsx_runtime0.JSX.Element;
411
+ //#endregion
412
+ //#region src/ui/drawer/drawer-side-panel.d.ts
413
+ type DrawerSidePanelRootProps<T = unknown> = Omit<DrawerPreview.Root.Props<T>, "children" | "swipeDirection"> & {
414
+ size?: DrawerSize;
415
+ };
416
+ type DrawerSidePanelSide = "left" | "right";
417
+ type DrawerSidePanelProps<T = unknown> = DrawerSidePanelRootProps<T> & {
418
+ backdropProps?: DrawerBackdropProps;
419
+ children: ReactNode;
420
+ contentProps?: DrawerContentProps;
421
+ popupProps?: DrawerPopupProps;
422
+ portalProps?: DrawerPortalProps;
423
+ side?: DrawerSidePanelSide;
424
+ trigger?: ReactNode;
425
+ triggerProps?: Omit<DrawerTriggerProps, "children">;
426
+ viewportProps?: DrawerViewportProps;
427
+ };
428
+ declare const DrawerSidePanel: <T>({
429
+ backdropProps,
430
+ children,
431
+ contentProps,
432
+ popupProps,
433
+ portalProps,
434
+ side,
435
+ size: providedSize,
436
+ trigger,
437
+ triggerProps,
438
+ viewportProps,
439
+ ...rootProps
440
+ }: DrawerSidePanelProps<T>) => react_jsx_runtime0.JSX.Element;
441
+ //#endregion
442
+ //#region src/ui/drawer/drawer-title.d.ts
443
+ declare const drawerTitleVariants: tailwind_variants0.TVReturnType<{
333
444
  size: {
334
445
  lg: string;
335
446
  md: string;
@@ -337,7 +448,7 @@ declare const drawerTriggerVariants: tailwind_variants0.TVReturnType<{
337
448
  xl: string;
338
449
  xs: string;
339
450
  };
340
- }, undefined, "cursor-clickable border-border bg-background text-foreground hover:bg-muted focus-visible:outline-ring active:bg-muted inline-flex items-center justify-center border font-medium transition-colors select-none focus-visible:outline focus-visible:-outline-offset-1 disabled:pointer-events-none disabled:opacity-50", {
451
+ }, undefined, "text-foreground font-medium", {
341
452
  size: {
342
453
  lg: string;
343
454
  md: string;
@@ -353,26 +464,16 @@ declare const drawerTriggerVariants: tailwind_variants0.TVReturnType<{
353
464
  xl: string;
354
465
  xs: string;
355
466
  };
356
- }, undefined, "cursor-clickable border-border bg-background text-foreground hover:bg-muted focus-visible:outline-ring active:bg-muted inline-flex items-center justify-center border font-medium transition-colors select-none focus-visible:outline focus-visible:-outline-offset-1 disabled:pointer-events-none disabled:opacity-50", unknown, unknown, undefined>>;
357
- type DrawerTriggerVariantProps = Omit<VariantProps<typeof drawerTriggerVariants>, "size"> & {
467
+ }, undefined, "text-foreground font-medium", unknown, unknown, undefined>>;
468
+ type DrawerTitleVariantProps = Omit<VariantProps<typeof drawerTitleVariants>, "size"> & {
358
469
  size?: UISize;
359
470
  };
360
- type DrawerTriggerProps = DrawerPreview.Trigger.Props & DrawerTriggerVariantProps;
361
- declare const DrawerTrigger: ({
471
+ type DrawerTitleProps = DrawerPreview.Title.Props & DrawerTitleVariantProps;
472
+ declare const DrawerTitle: ({
362
473
  className,
363
474
  size,
364
475
  ...props
365
- }: DrawerTriggerProps) => react_jsx_runtime0.JSX.Element;
366
- //#endregion
367
- //#region src/ui/drawer/drawer-viewport.d.ts
368
- type DrawerViewportProps = DrawerPreview.Viewport.Props;
369
- declare const DrawerViewport: ({
370
- className,
371
- ...props
372
- }: DrawerViewportProps) => react_jsx_runtime0.JSX.Element;
373
- //#endregion
374
- //#region src/ui/drawer/drawer-size-context.d.ts
375
- type DrawerSize = UISize;
476
+ }: DrawerTitleProps) => react_jsx_runtime0.JSX.Element;
376
477
  //#endregion
377
478
  //#region src/ui/drawer/drawer.d.ts
378
479
  type DrawerRootProps<T = unknown> = DrawerPreview.Root.Props<T> & {
@@ -385,6 +486,19 @@ declare const Drawer: {
385
486
  ...props
386
487
  }: DrawerRootProps<T>): react_jsx_runtime0.JSX.Element;
387
488
  Root: /*elided*/any;
489
+ ActionSheet: <T>({
490
+ backdropProps,
491
+ children,
492
+ contentProps,
493
+ destructiveAction,
494
+ popupProps,
495
+ portalProps,
496
+ size: providedSize,
497
+ trigger,
498
+ triggerProps,
499
+ viewportProps,
500
+ ...rootProps
501
+ }: DrawerActionSheetProps<T>) => react_jsx_runtime0.JSX.Element;
388
502
  Actions: ({
389
503
  className,
390
504
  size,
@@ -394,8 +508,22 @@ declare const Drawer: {
394
508
  className,
395
509
  ...props
396
510
  }: DrawerBackdropProps) => react_jsx_runtime0.JSX.Element;
511
+ BottomSheet: <T>({
512
+ backdropProps,
513
+ children,
514
+ contentProps,
515
+ popupProps,
516
+ portalProps,
517
+ showHandle,
518
+ size: providedSize,
519
+ trigger,
520
+ triggerProps,
521
+ viewportProps,
522
+ ...rootProps
523
+ }: DrawerBottomSheetProps<T>) => react_jsx_runtime0.JSX.Element;
397
524
  Close: ({
398
525
  className,
526
+ render,
399
527
  size,
400
528
  ...props
401
529
  }: DrawerCloseProps) => react_jsx_runtime0.JSX.Element;
@@ -417,6 +545,11 @@ declare const Drawer: {
417
545
  className,
418
546
  ...props
419
547
  }: DrawerIndentBackgroundProps) => react_jsx_runtime0.JSX.Element;
548
+ IndentShell: ({
549
+ children,
550
+ indentBackgroundProps,
551
+ indentProps
552
+ }: DrawerIndentShellProps) => react_jsx_runtime0.JSX.Element;
420
553
  Handle: ({
421
554
  className,
422
555
  size,
@@ -438,6 +571,19 @@ declare const Drawer: {
438
571
  Provider: ({
439
572
  ...props
440
573
  }: DrawerProviderProps) => react_jsx_runtime0.JSX.Element;
574
+ SidePanel: <T>({
575
+ backdropProps,
576
+ children,
577
+ contentProps,
578
+ popupProps,
579
+ portalProps,
580
+ side,
581
+ size: providedSize,
582
+ trigger,
583
+ triggerProps,
584
+ viewportProps,
585
+ ...rootProps
586
+ }: DrawerSidePanelProps<T>) => react_jsx_runtime0.JSX.Element;
441
587
  Title: ({
442
588
  className,
443
589
  size,
@@ -460,6 +606,19 @@ declare const DrawerRoot: {
460
606
  ...props
461
607
  }: DrawerRootProps<T>): react_jsx_runtime0.JSX.Element;
462
608
  Root: /*elided*/any;
609
+ ActionSheet: <T>({
610
+ backdropProps,
611
+ children,
612
+ contentProps,
613
+ destructiveAction,
614
+ popupProps,
615
+ portalProps,
616
+ size: providedSize,
617
+ trigger,
618
+ triggerProps,
619
+ viewportProps,
620
+ ...rootProps
621
+ }: DrawerActionSheetProps<T>) => react_jsx_runtime0.JSX.Element;
463
622
  Actions: ({
464
623
  className,
465
624
  size,
@@ -469,8 +628,22 @@ declare const DrawerRoot: {
469
628
  className,
470
629
  ...props
471
630
  }: DrawerBackdropProps) => react_jsx_runtime0.JSX.Element;
631
+ BottomSheet: <T>({
632
+ backdropProps,
633
+ children,
634
+ contentProps,
635
+ popupProps,
636
+ portalProps,
637
+ showHandle,
638
+ size: providedSize,
639
+ trigger,
640
+ triggerProps,
641
+ viewportProps,
642
+ ...rootProps
643
+ }: DrawerBottomSheetProps<T>) => react_jsx_runtime0.JSX.Element;
472
644
  Close: ({
473
645
  className,
646
+ render,
474
647
  size,
475
648
  ...props
476
649
  }: DrawerCloseProps) => react_jsx_runtime0.JSX.Element;
@@ -492,6 +665,11 @@ declare const DrawerRoot: {
492
665
  className,
493
666
  ...props
494
667
  }: DrawerIndentBackgroundProps) => react_jsx_runtime0.JSX.Element;
668
+ IndentShell: ({
669
+ children,
670
+ indentBackgroundProps,
671
+ indentProps
672
+ }: DrawerIndentShellProps) => react_jsx_runtime0.JSX.Element;
495
673
  Handle: ({
496
674
  className,
497
675
  size,
@@ -513,6 +691,19 @@ declare const DrawerRoot: {
513
691
  Provider: ({
514
692
  ...props
515
693
  }: DrawerProviderProps) => react_jsx_runtime0.JSX.Element;
694
+ SidePanel: <T>({
695
+ backdropProps,
696
+ children,
697
+ contentProps,
698
+ popupProps,
699
+ portalProps,
700
+ side,
701
+ size: providedSize,
702
+ trigger,
703
+ triggerProps,
704
+ viewportProps,
705
+ ...rootProps
706
+ }: DrawerSidePanelProps<T>) => react_jsx_runtime0.JSX.Element;
516
707
  Title: ({
517
708
  className,
518
709
  size,
@@ -531,5 +722,5 @@ declare const DrawerRoot: {
531
722
  };
532
723
  declare const createDrawerHandle: typeof DrawerPreview.createHandle;
533
724
  //#endregion
534
- export { Drawer, DrawerActions, type DrawerActionsProps, DrawerBackdrop, type DrawerBackdropProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerHandle, type DrawerHandleProps, DrawerHeader, type DrawerHeaderProps, DrawerIndent, DrawerIndentBackground, type DrawerIndentBackgroundProps, type DrawerIndentProps, DrawerPopup, type DrawerPopupProps, type DrawerPopupSize, DrawerPortal, type DrawerPortalProps, DrawerProps, DrawerProvider, type DrawerProviderProps, DrawerRoot, DrawerRootProps, type DrawerSize, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DrawerViewport, type DrawerViewportProps, createDrawerHandle };
725
+ export { Drawer, DrawerActionSheet, type DrawerActionSheetProps, DrawerActions, type DrawerActionsProps, DrawerBackdrop, type DrawerBackdropProps, DrawerBottomSheet, type DrawerBottomSheetProps, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerHandle, type DrawerHandleProps, DrawerHeader, type DrawerHeaderProps, DrawerIndent, DrawerIndentBackground, type DrawerIndentBackgroundProps, type DrawerIndentProps, DrawerIndentShell, type DrawerIndentShellProps, DrawerPopup, type DrawerPopupProps, type DrawerPopupSize, DrawerPortal, type DrawerPortalProps, DrawerProps, DrawerProvider, type DrawerProviderProps, DrawerRoot, DrawerRootProps, DrawerSidePanel, type DrawerSidePanelProps, type DrawerSize, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DrawerViewport, type DrawerViewportProps, createDrawerHandle };
535
726
  //# sourceMappingURL=drawer.d.ts.map