@ngrok/mantle 0.32.3 → 0.40.1

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 (85) hide show
  1. package/dist/accordion.d.ts +72 -61
  2. package/dist/accordion.js +1 -1
  3. package/dist/accordion.js.map +1 -1
  4. package/dist/alert-dialog.d.ts +311 -462
  5. package/dist/alert-dialog.js +1 -1
  6. package/dist/alert-dialog.js.map +1 -1
  7. package/dist/alert.d.ts +113 -92
  8. package/dist/alert.js +1 -1
  9. package/dist/alert.js.map +1 -1
  10. package/dist/card.d.ts +112 -112
  11. package/dist/card.js +1 -1
  12. package/dist/card.js.map +1 -1
  13. package/dist/{chunk-IVXZIYX4.js → chunk-2ID2TLYD.js} +1 -1
  14. package/dist/chunk-2ID2TLYD.js.map +1 -0
  15. package/dist/{chunk-3X4AKTRA.js → chunk-4GGDPFNZ.js} +2 -2
  16. package/dist/chunk-4GGDPFNZ.js.map +1 -0
  17. package/dist/{chunk-ERBZR6SY.js → chunk-EYZYDUS2.js} +1 -1
  18. package/dist/chunk-EYZYDUS2.js.map +1 -0
  19. package/dist/chunk-F4N3P7B7.js +2 -0
  20. package/dist/chunk-F4N3P7B7.js.map +1 -0
  21. package/dist/{chunk-CGUSOD4E.js → chunk-HSTG2BTX.js} +1 -1
  22. package/dist/chunk-HSTG2BTX.js.map +1 -0
  23. package/dist/chunk-UUXOG7WW.js +2 -0
  24. package/dist/chunk-UUXOG7WW.js.map +1 -0
  25. package/dist/code-block.d.ts +188 -178
  26. package/dist/code-block.js +3 -3
  27. package/dist/code-block.js.map +1 -1
  28. package/dist/combobox.d.ts +178 -141
  29. package/dist/combobox.js +1 -1
  30. package/dist/combobox.js.map +1 -1
  31. package/dist/data-table.d.ts +191 -30
  32. package/dist/data-table.js +1 -1
  33. package/dist/data-table.js.map +1 -1
  34. package/dist/dialog.d.ts +374 -264
  35. package/dist/dialog.js +1 -1
  36. package/dist/dialog.js.map +1 -1
  37. package/dist/dropdown-menu.d.ts +304 -102
  38. package/dist/dropdown-menu.js +1 -1
  39. package/dist/dropdown-menu.js.map +1 -1
  40. package/dist/hover-card.d.ts +94 -58
  41. package/dist/hover-card.js +1 -1
  42. package/dist/hover-card.js.map +1 -1
  43. package/dist/icons.js +1 -1
  44. package/dist/input.d.ts +11 -0
  45. package/dist/input.js +1 -1
  46. package/dist/media-object.d.ts +75 -46
  47. package/dist/media-object.js +1 -1
  48. package/dist/media-object.js.map +1 -1
  49. package/dist/pagination.d.ts +124 -62
  50. package/dist/pagination.js +1 -1
  51. package/dist/pagination.js.map +1 -1
  52. package/dist/popover.d.ts +124 -102
  53. package/dist/popover.js +1 -1
  54. package/dist/popover.js.map +1 -1
  55. package/dist/progress.d.ts +112 -35
  56. package/dist/progress.js +1 -1
  57. package/dist/progress.js.map +1 -1
  58. package/dist/radio-group.d.ts +234 -105
  59. package/dist/radio-group.js +1 -1
  60. package/dist/radio-group.js.map +1 -1
  61. package/dist/select.d.ts +242 -212
  62. package/dist/select.js +1 -1
  63. package/dist/sheet.d.ts +343 -575
  64. package/dist/sheet.js +1 -1
  65. package/dist/sheet.js.map +1 -1
  66. package/dist/table.d.ts +384 -425
  67. package/dist/table.js +1 -1
  68. package/dist/tabs.d.ts +105 -95
  69. package/dist/tabs.js +1 -1
  70. package/dist/tabs.js.map +1 -1
  71. package/dist/theme-provider.js +1 -1
  72. package/dist/toast.d.ts +77 -61
  73. package/dist/toast.js +1 -1
  74. package/dist/tooltip.d.ts +72 -49
  75. package/dist/tooltip.js +1 -1
  76. package/dist/tooltip.js.map +1 -1
  77. package/package.json +4 -5
  78. package/dist/chunk-3X4AKTRA.js.map +0 -1
  79. package/dist/chunk-CGUSOD4E.js.map +0 -1
  80. package/dist/chunk-ERBZR6SY.js.map +0 -1
  81. package/dist/chunk-IDCDPWR4.js +0 -2
  82. package/dist/chunk-IDCDPWR4.js.map +0 -1
  83. package/dist/chunk-IVXZIYX4.js.map +0 -1
  84. package/dist/chunk-JIRNFNH5.js +0 -2
  85. package/dist/chunk-JIRNFNH5.js.map +0 -1
package/dist/dialog.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
2
1
  import * as react from 'react';
3
2
  import { ComponentProps } from 'react';
4
3
  import * as _radix_ui_react_dialog from '@radix-ui/react-dialog';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
5
5
  import { a as IconButtonProps } from './icon-button-D4BTvC7F.js';
6
6
  import { R as Root } from './primitive-BUbUB7RS.js';
7
7
  import 'class-variance-authority/types';
@@ -10,290 +10,400 @@ import './variant-props-oDo2u-We.js';
10
10
  import 'class-variance-authority';
11
11
  import './deep-non-nullable-SmpSvoSd.js';
12
12
 
13
+ type CloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
13
14
  /**
14
15
  * A window overlaid on either the primary window or another dialog window.
15
- * The root stateful component for the Dialog.
16
- *
17
- * @see https://mantle.ngrok.com/components/dialog#api-dialog
18
- *
19
- * @example
20
- * ```tsx
21
- * <Dialog>
22
- * <DialogTrigger asChild>
23
- * <Button type="button" appearance="outlined">
24
- * Open Dialog
25
- * </Button>
26
- * </DialogTrigger>
27
- * <DialogContent>
28
- * <DialogHeader>
29
- * <DialogTitle>Dialog Title</DialogTitle>
30
- * <DialogCloseIconButton />
31
- * </DialogHeader>
32
- * <DialogBody>
33
- * <p>This is the dialog content.</p>
34
- * </DialogBody>
35
- * <DialogFooter>
36
- * <Button type="button" appearance="outlined">
37
- * Cancel
38
- * </Button>
39
- * <Button type="button" appearance="filled">
40
- * Save
41
- * </Button>
42
- * </DialogFooter>
43
- * </DialogContent>
44
- * </Dialog>
45
- * ```
46
- */
47
- declare const Dialog: typeof Root;
48
- /**
49
- * A button that opens the dialog.
50
16
  *
51
- * @see https://mantle.ngrok.com/components/dialog#api-dialog-trigger
17
+ * @see https://mantle.ngrok.com/components/dialog
52
18
  *
53
19
  * @example
54
20
  * ```tsx
55
- * <Dialog>
56
- * <DialogTrigger asChild>
21
+ * <Dialog.Root>
22
+ * <Dialog.Trigger asChild>
57
23
  * <Button type="button" appearance="outlined">
58
24
  * Open Dialog
59
25
  * </Button>
60
- * </DialogTrigger>
61
- * <DialogContent>
62
- * <DialogHeader>
63
- * <DialogTitle>Dialog Title</DialogTitle>
64
- * </DialogHeader>
65
- * <DialogBody>
26
+ * </Dialog.Trigger>
27
+ * <Dialog.Content>
28
+ * <Dialog.Header>
29
+ * <Dialog.Title>Dialog Title</Dialog.Title>
30
+ * <Dialog.CloseIconButton />
31
+ * </Dialog.Header>
32
+ * <Dialog.Body>
66
33
  * <p>This is the dialog content.</p>
67
- * </DialogBody>
68
- * </DialogContent>
69
- * </Dialog>
70
- * ```
71
- */
72
- declare const DialogTrigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
73
- declare const DialogPortal: react.FC<_radix_ui_react_dialog.DialogPortalProps>;
74
- declare const DialogClose: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
75
- declare const DialogOverlay: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogOverlayProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
76
- /**
77
- * The container for the dialog content.
78
- * Renders on top of the overlay and is centered in the viewport.
79
- *
80
- * @see https://mantle.ngrok.com/components/dialog#api-dialog-content
81
- *
82
- * @example
83
- * ```tsx
84
- * <Dialog>
85
- * <DialogTrigger asChild>
86
- * <Button type="button" appearance="outlined">
87
- * Open Dialog
88
- * </Button>
89
- * </DialogTrigger>
90
- * <DialogContent>
91
- * <DialogHeader>
92
- * <DialogTitle>Dialog Title</DialogTitle>
93
- * <DialogCloseIconButton />
94
- * </DialogHeader>
95
- * <DialogBody>
96
- * <p>This is the dialog content.</p>
97
- * </DialogBody>
98
- * <DialogFooter>
34
+ * </Dialog.Body>
35
+ * <Dialog.Footer>
99
36
  * <Button type="button" appearance="outlined">
100
37
  * Cancel
101
38
  * </Button>
102
39
  * <Button type="button" appearance="filled">
103
40
  * Save
104
41
  * </Button>
105
- * </DialogFooter>
106
- * </DialogContent>
107
- * </Dialog>
42
+ * </Dialog.Footer>
43
+ * </Dialog.Content>
44
+ * </Dialog.Root>
108
45
  * ```
109
46
  */
110
- declare const DialogContent: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & {
47
+ declare const Dialog: {
111
48
  /**
112
- * The preferred width of the `DialogContent` as a tailwind `max-w-` class.
49
+ * A window overlaid on either the primary window or another dialog window.
50
+ * The root stateful component for the Dialog.
113
51
  *
114
- * By default, a `Dialog`'s content width is responsive with a default
115
- * preferred width: the maximum width of the `DialogContent`
52
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog
116
53
  *
117
- * @default `max-w-lg`
54
+ * @example
55
+ * ```tsx
56
+ * <Dialog.Root>
57
+ * <Dialog.Trigger asChild>
58
+ * <Button type="button" appearance="outlined">
59
+ * Open Dialog
60
+ * </Button>
61
+ * </Dialog.Trigger>
62
+ * <Dialog.Content>
63
+ * <Dialog.Header>
64
+ * <Dialog.Title>Dialog Title</Dialog.Title>
65
+ * <Dialog.CloseIconButton />
66
+ * </Dialog.Header>
67
+ * <Dialog.Body>
68
+ * <p>This is the dialog content.</p>
69
+ * </Dialog.Body>
70
+ * <Dialog.Footer>
71
+ * <Button type="button" appearance="outlined">
72
+ * Cancel
73
+ * </Button>
74
+ * <Button type="button" appearance="filled">
75
+ * Save
76
+ * </Button>
77
+ * </Dialog.Footer>
78
+ * </Dialog.Content>
79
+ * </Dialog.Root>
80
+ * ```
118
81
  */
119
- preferredWidth?: `max-w-${string}`;
120
- } & react.RefAttributes<HTMLDivElement>>;
121
- /**
122
- * Contains the header content of the dialog, including the title and close button.
123
- *
124
- * @see https://mantle.ngrok.com/components/dialog#api-dialog-header
125
- *
126
- * @example
127
- * ```tsx
128
- * <Dialog>
129
- * <DialogTrigger asChild>
130
- * <Button type="button" appearance="outlined">
131
- * Open Dialog
132
- * </Button>
133
- * </DialogTrigger>
134
- * <DialogContent>
135
- * <DialogHeader>
136
- * <DialogTitle>Dialog Title</DialogTitle>
137
- * <DialogCloseIconButton />
138
- * </DialogHeader>
139
- * <DialogBody>
140
- * <p>This is the dialog content.</p>
141
- * </DialogBody>
142
- * </DialogContent>
143
- * </Dialog>
144
- * ```
145
- */
146
- declare const DialogHeader: {
147
- ({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
148
- displayName: string;
149
- };
150
- type DialogCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
151
- /**
152
- * An icon button that closes the dialog when clicked.
153
- *
154
- * @see https://mantle.ngrok.com/components/dialog#api-dialog-close-icon-button
155
- *
156
- * @example
157
- * ```tsx
158
- * <Dialog>
159
- * <DialogTrigger asChild>
160
- * <Button type="button" appearance="outlined">
161
- * Open Dialog
162
- * </Button>
163
- * </DialogTrigger>
164
- * <DialogContent>
165
- * <DialogHeader>
166
- * <DialogTitle>Dialog Title</DialogTitle>
167
- * <DialogCloseIconButton />
168
- * </DialogHeader>
169
- * <DialogBody>
170
- * <p>This is the dialog content.</p>
171
- * </DialogBody>
172
- * </DialogContent>
173
- * </Dialog>
174
- * ```
175
- */
176
- declare const DialogCloseIconButton: {
177
- ({ size, type, label, appearance, ...props }: DialogCloseIconButtonProps): react_jsx_runtime.JSX.Element;
178
- displayName: string;
179
- };
180
- /**
181
- * Contains the main content of the dialog.
182
- *
183
- * @see https://mantle.ngrok.com/components/dialog#api-dialog-body
184
- *
185
- * @example
186
- * ```tsx
187
- * <Dialog>
188
- * <DialogTrigger asChild>
189
- * <Button type="button" appearance="outlined">
190
- * Open Dialog
191
- * </Button>
192
- * </DialogTrigger>
193
- * <DialogContent>
194
- * <DialogHeader>
195
- * <DialogTitle>Dialog Title</DialogTitle>
196
- * </DialogHeader>
197
- * <DialogBody>
198
- * <p>This is the dialog content.</p>
199
- * </DialogBody>
200
- * </DialogContent>
201
- * </Dialog>
202
- * ```
203
- */
204
- declare const DialogBody: {
205
- ({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
206
- displayName: string;
207
- };
208
- /**
209
- * Contains the footer content of the dialog, including action buttons.
210
- *
211
- * @see https://mantle.ngrok.com/components/dialog#api-dialog-footer
212
- *
213
- * @example
214
- * ```tsx
215
- * <Dialog>
216
- * <DialogTrigger asChild>
217
- * <Button type="button" appearance="outlined">
218
- * Open Dialog
219
- * </Button>
220
- * </DialogTrigger>
221
- * <DialogContent>
222
- * <DialogHeader>
223
- * <DialogTitle>Dialog Title</DialogTitle>
224
- * </DialogHeader>
225
- * <DialogBody>
226
- * <p>This is the dialog content.</p>
227
- * </DialogBody>
228
- * <DialogFooter>
229
- * <Button type="button" appearance="outlined">
230
- * Cancel
231
- * </Button>
232
- * <Button type="button" appearance="filled">
233
- * Save
234
- * </Button>
235
- * </DialogFooter>
236
- * </DialogContent>
237
- * </Dialog>
238
- * ```
239
- */
240
- declare const DialogFooter: {
241
- ({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
242
- displayName: string;
82
+ readonly Root: typeof Root;
83
+ /**
84
+ * Contains the main content of the dialog.
85
+ *
86
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-body
87
+ *
88
+ * @example
89
+ * ```tsx
90
+ * <Dialog.Root>
91
+ * <Dialog.Trigger asChild>
92
+ * <Button type="button" appearance="outlined">
93
+ * Open Dialog
94
+ * </Button>
95
+ * </Dialog.Trigger>
96
+ * <Dialog.Content>
97
+ * <Dialog.Header>
98
+ * <Dialog.Title>Dialog Title</Dialog.Title>
99
+ * </Dialog.Header>
100
+ * <Dialog.Body>
101
+ * <p>This is the dialog content.</p>
102
+ * </Dialog.Body>
103
+ * </Dialog.Content>
104
+ * </Dialog.Root>
105
+ * ```
106
+ */
107
+ readonly Body: {
108
+ ({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
109
+ displayName: string;
110
+ };
111
+ /**
112
+ * A button that closes the dialog when clicked.
113
+ *
114
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-close
115
+ *
116
+ * @example
117
+ * ```tsx
118
+ * <Dialog.Root>
119
+ * <Dialog.Trigger asChild>
120
+ * <Button type="button">Open Dialog</Button>
121
+ * </Dialog.Trigger>
122
+ * <Dialog.Content>
123
+ * <Dialog.Header>
124
+ * <Dialog.Title>Confirm Action</Dialog.Title>
125
+ * </Dialog.Header>
126
+ * <Dialog.Body>
127
+ * <Text>Are you sure you want to proceed?</Text>
128
+ * </Dialog.Body>
129
+ * <Dialog.Footer>
130
+ * <Dialog.Close asChild>
131
+ * <Button type="button" appearance="outlined">Cancel</Button>
132
+ * </Dialog.Close>
133
+ * <Button type="submit">Confirm</Button>
134
+ * </Dialog.Footer>
135
+ * </Dialog.Content>
136
+ * </Dialog.Root>
137
+ * ```
138
+ */
139
+ readonly Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
140
+ /**
141
+ * An icon button that closes the dialog when clicked.
142
+ *
143
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-close-icon-button
144
+ *
145
+ * @example
146
+ * ```tsx
147
+ * <Dialog.Root>
148
+ * <Dialog.Trigger asChild>
149
+ * <Button type="button" appearance="outlined">
150
+ * Open Dialog
151
+ * </Button>
152
+ * </Dialog.Trigger>
153
+ * <Dialog.Content>
154
+ * <Dialog.Header>
155
+ * <Dialog.Title>Dialog Title</Dialog.Title>
156
+ * <Dialog.CloseIconButton />
157
+ * </Dialog.Header>
158
+ * <Dialog.Body>
159
+ * <p>This is the dialog content.</p>
160
+ * </Dialog.Body>
161
+ * </Dialog.Content>
162
+ * </Dialog.Root>
163
+ * ```
164
+ */
165
+ readonly CloseIconButton: {
166
+ ({ size, type, label, appearance, ...props }: CloseIconButtonProps): react_jsx_runtime.JSX.Element;
167
+ displayName: string;
168
+ };
169
+ /**
170
+ * The container for the dialog content.
171
+ * Renders on top of the overlay and is centered in the viewport.
172
+ *
173
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-content
174
+ *
175
+ * @example
176
+ * ```tsx
177
+ * <Dialog.Root>
178
+ * <Dialog.Trigger asChild>
179
+ * <Button type="button" appearance="outlined">
180
+ * Open Dialog
181
+ * </Button>
182
+ * </Dialog.Trigger>
183
+ * <Dialog.Content>
184
+ * <Dialog.Header>
185
+ * <Dialog.Title>Dialog Title</Dialog.Title>
186
+ * <Dialog.CloseIconButton />
187
+ * </Dialog.Header>
188
+ * <Dialog.Body>
189
+ * <p>This is the dialog content.</p>
190
+ * </Dialog.Body>
191
+ * <Dialog.Footer>
192
+ * <Button type="button" appearance="outlined">
193
+ * Cancel
194
+ * </Button>
195
+ * <Button type="button" appearance="filled">
196
+ * Save
197
+ * </Button>
198
+ * </Dialog.Footer>
199
+ * </Dialog.Content>
200
+ * </Dialog.Root>
201
+ * ```
202
+ */
203
+ readonly Content: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & {
204
+ /**
205
+ * The preferred width of the `Dialog.Content` as a tailwind `max-w-` class.
206
+ *
207
+ * By default, a `Dialog`'s content width is responsive with a default
208
+ * preferred width: the maximum width of the `Dialog.Content`
209
+ *
210
+ * @default `max-w-lg`
211
+ */
212
+ preferredWidth?: `max-w-${string}`;
213
+ } & react.RefAttributes<HTMLDivElement>>;
214
+ /**
215
+ * An accessible description to be announced when the dialog is opened.
216
+ *
217
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-description
218
+ *
219
+ * @example
220
+ * ```tsx
221
+ * <Dialog.Root>
222
+ * <Dialog.Trigger asChild>
223
+ * <Button type="button" appearance="outlined">
224
+ * Open Dialog
225
+ * </Button>
226
+ * </Dialog.Trigger>
227
+ * <Dialog.Content>
228
+ * <Dialog.Header>
229
+ * <Dialog.Title>Dialog Title</Dialog.Title>
230
+ * <Dialog.Description>
231
+ * This is an optional description.
232
+ * </Dialog.Description>
233
+ * </Dialog.Header>
234
+ * <Dialog.Body>
235
+ * <p>This is the dialog content.</p>
236
+ * </Dialog.Body>
237
+ * </Dialog.Content>
238
+ * </Dialog.Root>
239
+ * ```
240
+ */
241
+ readonly Description: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
242
+ /**
243
+ * Contains the footer content of the dialog, including action buttons.
244
+ *
245
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-footer
246
+ *
247
+ * @example
248
+ * ```tsx
249
+ * <Dialog.Root>
250
+ * <Dialog.Trigger asChild>
251
+ * <Button type="button" appearance="outlined">
252
+ * Open Dialog
253
+ * </Button>
254
+ * </Dialog.Trigger>
255
+ * <Dialog.Content>
256
+ * <Dialog.Header>
257
+ * <Dialog.Title>Dialog Title</Dialog.Title>
258
+ * </Dialog.Header>
259
+ * <Dialog.Body>
260
+ * <p>This is the dialog content.</p>
261
+ * </Dialog.Body>
262
+ * <Dialog.Footer>
263
+ * <Button type="button" appearance="outlined">
264
+ * Cancel
265
+ * </Button>
266
+ * <Button type="button" appearance="filled">
267
+ * Save
268
+ * </Button>
269
+ * </Dialog.Footer>
270
+ * </Dialog.Content>
271
+ * </Dialog.Root>
272
+ * ```
273
+ */
274
+ readonly Footer: {
275
+ ({ className, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
276
+ displayName: string;
277
+ };
278
+ /**
279
+ * Contains the header content of the dialog, including the title and close button.
280
+ *
281
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-header
282
+ *
283
+ * @example
284
+ * ```tsx
285
+ * <Dialog.Root>
286
+ * <Dialog.Trigger asChild>
287
+ * <Button type="button" appearance="outlined">
288
+ * Open Dialog
289
+ * </Button>
290
+ * </Dialog.Trigger>
291
+ * <Dialog.Content>
292
+ * <Dialog.Header>
293
+ * <Dialog.Title>Dialog Title</Dialog.Title>
294
+ * <Dialog.CloseIconButton />
295
+ * </Dialog.Header>
296
+ * <Dialog.Body>
297
+ * <p>This is the dialog content.</p>
298
+ * </Dialog.Body>
299
+ * </Dialog.Content>
300
+ * </Dialog.Root>
301
+ * ```
302
+ */
303
+ readonly Header: {
304
+ ({ className, children, ...props }: ComponentProps<"div">): react_jsx_runtime.JSX.Element;
305
+ displayName: string;
306
+ };
307
+ /**
308
+ * The overlay backdrop for the dialog.
309
+ *
310
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-overlay
311
+ *
312
+ * @example
313
+ * ```tsx
314
+ * <Dialog.Root>
315
+ * <Dialog.Portal>
316
+ * <Dialog.Overlay />
317
+ * <Dialog.Content>
318
+ * <Dialog.Header>
319
+ * <Dialog.Title>Dialog Title</Dialog.Title>
320
+ * </Dialog.Header>
321
+ * <Dialog.Body>
322
+ * <Text>Dialog content here.</Text>
323
+ * </Dialog.Body>
324
+ * </Dialog.Content>
325
+ * </Dialog.Portal>
326
+ * </Dialog.Root>
327
+ * ```
328
+ */
329
+ readonly Overlay: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogOverlayProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
330
+ /**
331
+ * The portal container for the dialog.
332
+ *
333
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-portal
334
+ *
335
+ * @example
336
+ * ```tsx
337
+ * <Dialog.Root>
338
+ * <Dialog.Trigger asChild>
339
+ * <Button type="button">Open Dialog</Button>
340
+ * </Dialog.Trigger>
341
+ * <Dialog.Portal>
342
+ * <Dialog.Overlay />
343
+ * <Dialog.Content>
344
+ * <Dialog.Header>
345
+ * <Dialog.Title>Portal Dialog</Dialog.Title>
346
+ * </Dialog.Header>
347
+ * <Dialog.Body>
348
+ * <Text>This dialog is rendered in a portal.</Text>
349
+ * </Dialog.Body>
350
+ * </Dialog.Content>
351
+ * </Dialog.Portal>
352
+ * </Dialog.Root>
353
+ * ```
354
+ */
355
+ readonly Portal: react.FC<_radix_ui_react_dialog.DialogPortalProps>;
356
+ /**
357
+ * An accessible name to be announced when the dialog is opened.
358
+ *
359
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-title
360
+ *
361
+ * @example
362
+ * ```tsx
363
+ * <Dialog.Root>
364
+ * <Dialog.Trigger asChild>
365
+ * <Button type="button" appearance="outlined">
366
+ * Open Dialog
367
+ * </Button>
368
+ * </Dialog.Trigger>
369
+ * <Dialog.Content>
370
+ * <Dialog.Header>
371
+ * <Dialog.Title>Dialog Title</Dialog.Title>
372
+ * <Dialog.CloseIconButton />
373
+ * </Dialog.Header>
374
+ * <Dialog.Body>
375
+ * <p>This is the dialog content.</p>
376
+ * </Dialog.Body>
377
+ * </Dialog.Content>
378
+ * </Dialog.Root>
379
+ * ```
380
+ */
381
+ readonly Title: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
382
+ /**
383
+ * A button that opens the dialog.
384
+ *
385
+ * @see https://mantle.ngrok.com/components/dialog#api-dialog-trigger
386
+ *
387
+ * @example
388
+ * ```tsx
389
+ * <Dialog.Root>
390
+ * <Dialog.Trigger asChild>
391
+ * <Button type="button" appearance="outlined">
392
+ * Open Dialog
393
+ * </Button>
394
+ * </Dialog.Trigger>
395
+ * <Dialog.Content>
396
+ * <Dialog.Header>
397
+ * <Dialog.Title>Dialog Title</Dialog.Title>
398
+ * </Dialog.Header>
399
+ * <Dialog.Body>
400
+ * <p>This is the dialog content.</p>
401
+ * </Dialog.Body>
402
+ * </Dialog.Content>
403
+ * </Dialog.Root>
404
+ * ```
405
+ */
406
+ readonly Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
243
407
  };
244
- /**
245
- * An accessible name to be announced when the dialog is opened.
246
- *
247
- * @see https://mantle.ngrok.com/components/dialog#api-dialog-title
248
- *
249
- * @example
250
- * ```tsx
251
- * <Dialog>
252
- * <DialogTrigger asChild>
253
- * <Button type="button" appearance="outlined">
254
- * Open Dialog
255
- * </Button>
256
- * </DialogTrigger>
257
- * <DialogContent>
258
- * <DialogHeader>
259
- * <DialogTitle>Dialog Title</DialogTitle>
260
- * <DialogCloseIconButton />
261
- * </DialogHeader>
262
- * <DialogBody>
263
- * <p>This is the dialog content.</p>
264
- * </DialogBody>
265
- * </DialogContent>
266
- * </Dialog>
267
- * ```
268
- */
269
- declare const DialogTitle: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
270
- /**
271
- * An accessible description to be announced when the dialog is opened.
272
- *
273
- * @see https://mantle.ngrok.com/components/dialog#api-dialog-description
274
- *
275
- * @example
276
- * ```tsx
277
- * <Dialog>
278
- * <DialogTrigger asChild>
279
- * <Button type="button" appearance="outlined">
280
- * Open Dialog
281
- * </Button>
282
- * </DialogTrigger>
283
- * <DialogContent>
284
- * <DialogHeader>
285
- * <DialogTitle>Dialog Title</DialogTitle>
286
- * <DialogDescription>
287
- * This is an optional description.
288
- * </DialogDescription>
289
- * </DialogHeader>
290
- * <DialogBody>
291
- * <p>This is the dialog content.</p>
292
- * </DialogBody>
293
- * </DialogContent>
294
- * </Dialog>
295
- * ```
296
- */
297
- declare const DialogDescription: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
298
408
 
299
- export { Dialog, DialogBody, DialogClose, DialogCloseIconButton, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger };
409
+ export { Dialog };