@ngrok/mantle 0.77.0 → 0.79.0

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 (192) hide show
  1. package/dist/accordion.d.ts +63 -21
  2. package/dist/accordion.js +1 -1
  3. package/dist/agent.json +4 -1
  4. package/dist/alert-dialog.d.ts +102 -70
  5. package/dist/alert-dialog.js +1 -1
  6. package/dist/alert.d.ts +39 -39
  7. package/dist/alert.js +1 -1
  8. package/dist/{anchor-BtgEJoPN.js → anchor-C_tjSVy6.js} +1 -1
  9. package/dist/anchor.d.ts +3 -4
  10. package/dist/anchor.js +1 -1
  11. package/dist/{as-child-uN_018tj.d.ts → as-child-CYEVu1WY.d.ts} +0 -7
  12. package/dist/badge.d.ts +5 -56
  13. package/dist/badge.js +1 -1
  14. package/dist/breadcrumb.d.ts +212 -0
  15. package/dist/breadcrumb.js +1 -0
  16. package/dist/browser-only.d.ts +2 -6
  17. package/dist/{button-CERx95KE.js → button-5t6-JS_I.js} +1 -1
  18. package/dist/button-ClC60Nzg.js +1 -0
  19. package/dist/button-DcXOWUYo.d.ts +131 -0
  20. package/dist/button.d.ts +6 -4
  21. package/dist/button.js +1 -1
  22. package/dist/calendar.d.ts +2 -8
  23. package/dist/calendar.js +1 -1
  24. package/dist/card.d.ts +8 -8
  25. package/dist/card.js +1 -1
  26. package/dist/centered-layout.d.ts +147 -0
  27. package/dist/centered-layout.js +1 -0
  28. package/dist/checkbox-DJ2xl7Rc.js +1 -0
  29. package/dist/checkbox.d.ts +9 -11
  30. package/dist/checkbox.js +1 -1
  31. package/dist/{choice-D6S38dPs.js → choice-DOdyNzFC.js} +1 -1
  32. package/dist/choice.d.ts +16 -14
  33. package/dist/choice.js +1 -1
  34. package/dist/code-block.d.ts +5 -17
  35. package/dist/code-block.js +1 -1
  36. package/dist/code-block_highlight-utils.d.ts +1 -1
  37. package/dist/code-block_highlight-utils.js +1 -1
  38. package/dist/code.d.ts +4 -5
  39. package/dist/code.js +1 -1
  40. package/dist/combobox.d.ts +40 -19
  41. package/dist/combobox.js +1 -1
  42. package/dist/command.d.ts +71 -49
  43. package/dist/command.js +1 -1
  44. package/dist/cx-IiQEAKf5.js +1 -0
  45. package/dist/cx.js +1 -1
  46. package/dist/data-slot-CChfb_cv.d.ts +17 -0
  47. package/dist/data-table.d.ts +77 -137
  48. package/dist/data-table.js +1 -1
  49. package/dist/description-list.d.ts +7 -7
  50. package/dist/description-list.js +1 -1
  51. package/dist/{dialog-uyJcNks7.js → dialog-ZCgG41hx.js} +1 -1
  52. package/dist/dialog.d.ts +213 -88
  53. package/dist/dialog.js +1 -1
  54. package/dist/{direction-CcTY0FmA.d.ts → direction-BjU0bPST.d.ts} +1 -1
  55. package/dist/{dropdown-menu-OEuW4GLp.js → dropdown-menu-ByUQkAvJ.js} +1 -1
  56. package/dist/{dropdown-menu-CADgs9gz.d.ts → dropdown-menu-DMNw8ItM.d.ts} +26 -27
  57. package/dist/dropdown-menu.d.ts +2 -1
  58. package/dist/dropdown-menu.js +1 -1
  59. package/dist/empty.d.ts +139 -59
  60. package/dist/empty.js +1 -1
  61. package/dist/{field-context-4k1kI7Bo.js → field-context-BR01g789.js} +1 -1
  62. package/dist/field.d.ts +41 -36
  63. package/dist/field.js +1 -1
  64. package/dist/flag.d.ts +2 -9
  65. package/dist/flag.js +1 -1
  66. package/dist/hooks.d.ts +13 -15
  67. package/dist/hooks.js +1 -1
  68. package/dist/hover-card.d.ts +42 -20
  69. package/dist/hover-card.js +1 -1
  70. package/dist/icon-CDtYjF_H.js +1 -0
  71. package/dist/{icon-n49kOh4_.d.ts → icon-Cevjo93X.d.ts} +2 -3
  72. package/dist/{icon-button-D7hs6bX2.d.ts → icon-button-B7uEj1qq.d.ts} +73 -11
  73. package/dist/icon-button-DV2-GZHf.js +1 -0
  74. package/dist/icon.d.ts +3 -3
  75. package/dist/icon.js +1 -1
  76. package/dist/icons.d.ts +7 -19
  77. package/dist/icons.js +1 -1
  78. package/dist/{in-view-bItE1fkG.d.ts → in-view-nkSOdED2.d.ts} +1 -6
  79. package/dist/{index-CTU6apE6.d.ts → index-BivvYYs-.d.ts} +8 -7
  80. package/dist/{index-Bed_XLWa.d.ts → index-D47aqlpz.d.ts} +3 -2
  81. package/dist/index-DZRbVkZa.d.ts +1 -0
  82. package/dist/index-Rv8RL7xy.d.ts +25 -0
  83. package/dist/{input-B3TS9yAP.js → input-Ct1YOqSy.js} +1 -1
  84. package/dist/input.d.ts +10 -11
  85. package/dist/input.js +1 -1
  86. package/dist/intents-DdSKSj1c.d.ts +28 -0
  87. package/dist/{kbd-D6k4Dnrf.js → kbd-K8iaZ-Ti.js} +1 -1
  88. package/dist/kbd.d.ts +3 -8
  89. package/dist/kbd.js +1 -1
  90. package/dist/{label-BLXfnQmn.js → label-BMlHW_2D.js} +1 -1
  91. package/dist/{label-PY0qM0G5.d.ts → label-v2-bv98k.d.ts} +1 -1
  92. package/dist/label.d.ts +1 -1
  93. package/dist/label.js +1 -1
  94. package/dist/list.d.ts +18 -60
  95. package/dist/list.js +1 -1
  96. package/dist/llms.txt +4 -1
  97. package/dist/main.d.ts +4 -27
  98. package/dist/main.js +1 -1
  99. package/dist/mantle.css +6 -6
  100. package/dist/media-object.d.ts +6 -7
  101. package/dist/media-object.js +1 -1
  102. package/dist/multi-select.d.ts +80 -33
  103. package/dist/multi-select.js +1 -1
  104. package/dist/otp-input.d.ts +7 -8
  105. package/dist/otp-input.js +1 -1
  106. package/dist/pagination.d.ts +11 -22
  107. package/dist/pagination.js +1 -1
  108. package/dist/{popover-Bq52EC7X.js → popover-D5WxxnBY.js} +1 -1
  109. package/dist/popover.d.ts +17 -18
  110. package/dist/popover.js +1 -1
  111. package/dist/{primitive-FoWela9a.d.ts → primitive-C64-m48O.d.ts} +0 -1
  112. package/dist/{primitive-BuVqb6zf.js → primitive-M-kZdNIS.js} +1 -1
  113. package/dist/progress.d.ts +55 -46
  114. package/dist/progress.js +1 -1
  115. package/dist/qr-code.d.ts +10 -9
  116. package/dist/qr-code.js +1 -1
  117. package/dist/radio-group.d.ts +71 -60
  118. package/dist/radio-group.js +1 -1
  119. package/dist/{resolve-pre-rendered-props-DxJ9-DAl.d.ts → resolve-pre-rendered-props-B6OlZrSI.d.ts} +13 -26
  120. package/dist/{resolve-pre-rendered-props-DwIF_M_K.js → resolve-pre-rendered-props-C3e5Auo3.js} +1 -1
  121. package/dist/sandboxed-on-click.d.ts +4 -8
  122. package/dist/sandboxed-on-click.js +1 -1
  123. package/dist/{select-BUGOJMER.d.ts → select-Bwt2YduR.d.ts} +11 -12
  124. package/dist/{select-Bxq_N-_o.js → select-D-5u0Blc.js} +1 -1
  125. package/dist/select.d.ts +1 -1
  126. package/dist/select.js +1 -1
  127. package/dist/selectable-list.d.ts +160 -146
  128. package/dist/selectable-list.js +1 -1
  129. package/dist/{separator-CqohKk4z.js → separator-kBnnv3Cw.js} +1 -1
  130. package/dist/separator.d.ts +6 -37
  131. package/dist/separator.js +1 -1
  132. package/dist/sheet.d.ts +302 -89
  133. package/dist/sheet.js +1 -1
  134. package/dist/sizes-BCoI4bhP.d.ts +29 -0
  135. package/dist/skeleton-Bu3tgNcW.js +1 -0
  136. package/dist/skeleton.d.ts +2 -2
  137. package/dist/skeleton.js +1 -1
  138. package/dist/skip-to-main-link.d.ts +4 -34
  139. package/dist/skip-to-main-link.js +1 -1
  140. package/dist/slider.d.ts +2 -21
  141. package/dist/slider.js +1 -1
  142. package/dist/slot-DmPrjM7N.js +1 -0
  143. package/dist/slot.d.ts +1 -1
  144. package/dist/slot.js +1 -1
  145. package/dist/split-button.d.ts +21 -13
  146. package/dist/split-button.js +1 -1
  147. package/dist/{svg-only-f6ToFLH0.d.ts → svg-only-BFeFS1aa.d.ts} +2 -3
  148. package/dist/{svg-only-CSOaF1tL.js → svg-only-DDx6FtJd.js} +1 -1
  149. package/dist/switch.d.ts +4 -5
  150. package/dist/switch.js +1 -1
  151. package/dist/{table-CAitdL78.js → table-CPH2md2-.js} +1 -1
  152. package/dist/{table-BWD9IlIN.d.ts → table-CwFHXC-G.d.ts} +10 -10
  153. package/dist/table.d.ts +1 -1
  154. package/dist/table.js +1 -1
  155. package/dist/tabs.d.ts +29 -15
  156. package/dist/tabs.js +1 -1
  157. package/dist/text-area.d.ts +2 -3
  158. package/dist/text-area.js +1 -1
  159. package/dist/theme-D8kZCOzM.js +1 -0
  160. package/dist/theme-provider-Djj_jBo6.js +1 -0
  161. package/dist/theme-switcher.d.ts +53 -0
  162. package/dist/theme-switcher.js +1 -0
  163. package/dist/theme.d.ts +15 -101
  164. package/dist/theme.js +1 -1
  165. package/dist/toast-D3ntBmn4.js +1 -0
  166. package/dist/toast.d.ts +32 -50
  167. package/dist/toast.js +1 -1
  168. package/dist/tooltip.d.ts +16 -50
  169. package/dist/tooltip.js +1 -1
  170. package/dist/{types-CTam1uIW.d.ts → types-C19IR7jf.d.ts} +1 -0
  171. package/dist/{types-BvUzforF.d.ts → types-D1RY5Tcj.d.ts} +0 -1
  172. package/dist/types.d.ts +3 -3
  173. package/dist/use-prefers-reduced-motion-CagaNRgm.js +1 -0
  174. package/dist/utils.d.ts +2 -3
  175. package/dist/{validation-xyX_6kph.d.ts → validation-7QeiTFwl.d.ts} +3 -12
  176. package/dist/{validation-DCyx-ceH.js → validation-Bpptk_9t.js} +1 -1
  177. package/dist/{virtual-PBNiHjMK.js → virtual-DZMBu7Ch.js} +1 -1
  178. package/dist/well.d.ts +3 -3
  179. package/dist/well.js +1 -1
  180. package/dist/{with-style-props-CyImx7vd.d.ts → with-style-props-Dq5Vntqy.d.ts} +0 -1
  181. package/package.json +17 -14
  182. package/dist/button-C9GW9nAr.js +0 -1
  183. package/dist/button-mfYak6Rx.d.ts +0 -71
  184. package/dist/checkbox-Apow0ipK.js +0 -1
  185. package/dist/cx-C1UYP5We.js +0 -1
  186. package/dist/icon-SUx16Sl3.js +0 -1
  187. package/dist/icon-button-DiX9iZ9n.js +0 -1
  188. package/dist/index-CJbKEKr2.d.ts +0 -20
  189. package/dist/slot-DT_E5BQx.js +0 -1
  190. package/dist/theme-provider-C5XYi2-H.js +0 -1
  191. package/dist/toast-CZBWjXcP.js +0 -1
  192. package/dist/use-prefers-reduced-motion-DBqNw1wB.js +0 -1
package/dist/sheet.d.ts CHANGED
@@ -1,10 +1,245 @@
1
- import { t as Root } from "./primitive-FoWela9a.js";
2
- import { n as IconButtonProps } from "./icon-button-D7hs6bX2.js";
1
+ import { t as ButtonIntent } from "./intents-DdSKSj1c.js";
2
+ import { t as Root } from "./primitive-C64-m48O.js";
3
+ import { n as IconButtonAppearance, r as IconButtonProps } from "./icon-button-B7uEj1qq.js";
3
4
  import { HTMLAttributes } from "react";
4
5
  import { VariantProps } from "class-variance-authority";
5
-
6
6
  //#region src/components/sheet/sheet.d.ts
7
- type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
7
+ type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon" | "appearance" | "intent">> & {
8
+ /**
9
+ * The visual style of the close icon button. Optional here —
10
+ * `Sheet.CloseIconButton` defaults to `"ghost"` so it stays visually quiet
11
+ * in the `Sheet.Header` beside the title.
12
+ *
13
+ * @default "ghost"
14
+ */
15
+ appearance?: IconButtonAppearance;
16
+ /**
17
+ * The tone of the close icon button. Optional here — `Sheet.CloseIconButton`
18
+ * defaults to `"neutral"`, the workhorse tone for routine dismissal.
19
+ *
20
+ * @default "neutral"
21
+ */
22
+ intent?: ButtonIntent;
23
+ };
24
+ /**
25
+ * An icon button that closes the `Sheet` when clicked.
26
+ * Should be rendered within the `Sheet.Header` as a child of `Sheet.Actions`.
27
+ *
28
+ * Composes around the mantle `IconButton` and defaults to
29
+ * `appearance="ghost"` and `intent="neutral"`.
30
+ *
31
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetcloseiconbutton
32
+ *
33
+ * @example
34
+ * ```tsx
35
+ * // Sheet without a trigger (e.g. router controlled)
36
+ * <Sheet open onOpenChange={() => onClose()}>
37
+ * <Sheet.Content>
38
+ * <Sheet.Header>
39
+ * <Sheet.TitleGroup>
40
+ * <Sheet.Title>Are you absolutely sure?</Sheet.Title>
41
+ * <Sheet.Actions>
42
+ * <IconButton
43
+ * appearance="ghost"
44
+ * intent="neutral"
45
+ * type="button"
46
+ * icon={<TrashSimple />}
47
+ * label="Delete"
48
+ * />
49
+ * <Separator orientation="vertical" className="h-[80%]" />
50
+ * <Sheet.CloseIconButton />
51
+ * </Sheet.Actions>
52
+ * </Sheet.TitleGroup>
53
+ * <Sheet.Description>
54
+ * This action cannot be undone. This will permanently delete your account and remove your data from our servers.
55
+ * </Sheet.Description>
56
+ * </Sheet.Header>
57
+ * <Sheet.Body>
58
+ * <p>
59
+ * Consequat do voluptate culpa fugiat consequat nostrud duis
60
+ * aliqua minim. Tempor voluptate cillum elit velit. Voluptate
61
+ * aliqua ipsum aliqua dolore in nisi ea fugiat aliqua velit
62
+ * proident amet.
63
+ * </p>
64
+ * </Sheet.Body>
65
+ * <Sheet.Footer>
66
+ * <Sheet.Close asChild>
67
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
68
+ * </Sheet.Close>
69
+ * <Button type="button" appearance="filled" intent="neutral">
70
+ * Save
71
+ * </Button>
72
+ * </Sheet.Footer>
73
+ * </Sheet.Content>
74
+ * </Sheet.Root>
75
+ * ```
76
+ */
77
+ declare const CloseIconButton: {
78
+ ({ size, type, label, appearance, intent, ...props }: SheetCloseIconButtonProps): import("react").JSX.Element;
79
+ displayName: string;
80
+ };
81
+ /**
82
+ * The body container for a `Sheet`. This is where you would typically place the main content of the sheet, such as forms or text.
83
+ * Should be rendered as a child of `Sheet.Content`.
84
+ *
85
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetbody
86
+ *
87
+ * @example
88
+ * ```tsx
89
+ * // Sheet without a trigger (e.g. router controlled)
90
+ * <Sheet open onOpenChange={() => onClose()}>
91
+ * <Sheet.Content>
92
+ * <Sheet.Header>
93
+ * <Sheet.TitleGroup>
94
+ * <Sheet.Title>Are you absolutely sure?</Sheet.Title>
95
+ * <Sheet.Actions>
96
+ * <IconButton
97
+ * appearance="ghost"
98
+ * intent="neutral"
99
+ * type="button"
100
+ * icon={<TrashSimple />}
101
+ * label="Delete"
102
+ * />
103
+ * <Separator orientation="vertical" className="h-[80%]" />
104
+ * <Sheet.CloseIconButton />
105
+ * </Sheet.Actions>
106
+ * </Sheet.TitleGroup>
107
+ * <Sheet.Description>
108
+ * This action cannot be undone. This will permanently delete your account and remove your data from our servers.
109
+ * </Sheet.Description>
110
+ * </Sheet.Header>
111
+ * <Sheet.Body>
112
+ * <p>
113
+ * Consequat do voluptate culpa fugiat consequat nostrud duis
114
+ * aliqua minim. Tempor voluptate cillum elit velit. Voluptate
115
+ * aliqua ipsum aliqua dolore in nisi ea fugiat aliqua velit
116
+ * proident amet.
117
+ * </p>
118
+ * </Sheet.Body>
119
+ * <Sheet.Footer>
120
+ * <Sheet.Close asChild>
121
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
122
+ * </Sheet.Close>
123
+ * <Button type="button" appearance="filled" intent="neutral">
124
+ * Save
125
+ * </Button>
126
+ * </Sheet.Footer>
127
+ * </Sheet.Content>
128
+ * </Sheet.Root>
129
+ * ```
130
+ */
131
+ declare const Body: {
132
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
133
+ displayName: string;
134
+ };
135
+ /**
136
+ * The header container for a `Sheet`. This is where you would typically place the title, description, and actions.
137
+ * Should be rendered as a child of `Sheet.Content`.
138
+ *
139
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetheader
140
+ *
141
+ * @example
142
+ * ```tsx
143
+ * // Sheet without a trigger (e.g. router controlled)
144
+ * <Sheet open onOpenChange={() => onClose()}>
145
+ * <Sheet.Content>
146
+ * <Sheet.Header>
147
+ * <Sheet.TitleGroup>
148
+ * <Sheet.Title>Are you absolutely sure?</Sheet.Title>
149
+ * <Sheet.Actions>
150
+ * <IconButton
151
+ * appearance="ghost"
152
+ * intent="neutral"
153
+ * type="button"
154
+ * icon={<TrashSimple />}
155
+ * label="Delete"
156
+ * />
157
+ * <Separator orientation="vertical" className="h-[80%]" />
158
+ * <Sheet.CloseIconButton />
159
+ * </Sheet.Actions>
160
+ * </Sheet.TitleGroup>
161
+ * <Sheet.Description>
162
+ * This action cannot be undone. This will permanently delete your account and remove your data from our servers.
163
+ * </Sheet.Description>
164
+ * </Sheet.Header>
165
+ * <Sheet.Body>
166
+ * <p>
167
+ * Consequat do voluptate culpa fugiat consequat nostrud duis
168
+ * aliqua minim. Tempor voluptate cillum elit velit. Voluptate
169
+ * aliqua ipsum aliqua dolore in nisi ea fugiat aliqua velit
170
+ * proident amet.
171
+ * </p>
172
+ * </Sheet.Body>
173
+ * <Sheet.Footer>
174
+ * <Sheet.Close asChild>
175
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
176
+ * </Sheet.Close>
177
+ * <Button type="button" appearance="filled" intent="neutral">
178
+ * Save
179
+ * </Button>
180
+ * </Sheet.Footer>
181
+ * </Sheet.Content>
182
+ * </Sheet.Root>
183
+ * ```
184
+ */
185
+ declare const Header: {
186
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
187
+ displayName: string;
188
+ };
189
+ /**
190
+ * The footer container for a `Sheet`. This is where you would typically place close and submit buttons.
191
+ * Should be rendered as a child of `Sheet.Content`.
192
+ *
193
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetfooter
194
+ *
195
+ * @example
196
+ * ```tsx
197
+ * // Sheet without a trigger (e.g. router controlled)
198
+ * <Sheet open onOpenChange={() => onClose()}>
199
+ * <Sheet.Content>
200
+ * <Sheet.Header>
201
+ * <Sheet.TitleGroup>
202
+ * <Sheet.Title>Are you absolutely sure?</Sheet.Title>
203
+ * <Sheet.Actions>
204
+ * <IconButton
205
+ * appearance="ghost"
206
+ * intent="neutral"
207
+ * type="button"
208
+ * icon={<TrashSimple />}
209
+ * label="Delete"
210
+ * />
211
+ * <Separator orientation="vertical" className="h-[80%]" />
212
+ * <Sheet.CloseIconButton />
213
+ * </Sheet.Actions>
214
+ * </Sheet.TitleGroup>
215
+ * <Sheet.Description>
216
+ * This action cannot be undone. This will permanently delete your account and remove your data from our servers.
217
+ * </Sheet.Description>
218
+ * </Sheet.Header>
219
+ * <Sheet.Body>
220
+ * <p>
221
+ * Consequat do voluptate culpa fugiat consequat nostrud duis
222
+ * aliqua minim. Tempor voluptate cillum elit velit. Voluptate
223
+ * aliqua ipsum aliqua dolore in nisi ea fugiat aliqua velit
224
+ * proident amet.
225
+ * </p>
226
+ * </Sheet.Body>
227
+ * <Sheet.Footer>
228
+ * <Sheet.Close asChild>
229
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
230
+ * </Sheet.Close>
231
+ * <Button type="button" appearance="filled" intent="neutral">
232
+ * Save
233
+ * </Button>
234
+ * </Sheet.Footer>
235
+ * </Sheet.Content>
236
+ * </Sheet.Root>
237
+ * ```
238
+ */
239
+ declare const Footer: {
240
+ ({ className, ...props }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
241
+ displayName: string;
242
+ };
8
243
  /**
9
244
  * A container that overlays the current view from the edge of the screen.
10
245
  * It is a lightweight way of allowing users to complete a task without losing
@@ -18,7 +253,7 @@ type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
18
253
  * floating z-index. When multiple shared layers are open, the most recently
19
254
  * mounted layer renders on top.
20
255
  *
21
- * @see https://mantle.ngrok.com/components/sheet
256
+ * @see https://mantle.ngrok.com/components/overlays/sheet
22
257
  *
23
258
  * @example
24
259
  * Composition:
@@ -41,7 +276,7 @@ type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
41
276
  * // Triggering a stateful sheet
42
277
  * <Sheet.Root>
43
278
  * <Sheet.Trigger asChild>
44
- * <Button type="button" appearance="filled">
279
+ * <Button type="button" appearance="filled" intent="neutral">
45
280
  * Open Sheet
46
281
  * </Button>
47
282
  * </Sheet.Trigger>
@@ -52,6 +287,7 @@ type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
52
287
  * <Sheet.Actions>
53
288
  * <IconButton
54
289
  * appearance="ghost"
290
+ * intent="neutral"
55
291
  * type="button"
56
292
  * icon={<TrashSimple />}
57
293
  * label="Delete"
@@ -74,9 +310,9 @@ type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
74
310
  * </Sheet.Body>
75
311
  * <Sheet.Footer>
76
312
  * <Sheet.Close asChild>
77
- * <Button type="button">Close</Button>
313
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
78
314
  * </Sheet.Close>
79
- * <Button type="button" appearance="filled">
315
+ * <Button type="button" appearance="filled" intent="neutral">
80
316
  * Save
81
317
  * </Button>
82
318
  * </Sheet.Footer>
@@ -95,6 +331,7 @@ type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
95
331
  * <Sheet.Actions>
96
332
  * <IconButton
97
333
  * appearance="ghost"
334
+ * intent="neutral"
98
335
  * type="button"
99
336
  * icon={<TrashSimple />}
100
337
  * label="Delete"
@@ -117,9 +354,9 @@ type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
117
354
  * </Sheet.Body>
118
355
  * <Sheet.Footer>
119
356
  * <Sheet.Close asChild>
120
- * <Button type="button">Close</Button>
357
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
121
358
  * </Sheet.Close>
122
- * <Button type="button" appearance="filled">
359
+ * <Button type="button" appearance="filled" intent="neutral">
123
360
  * Save
124
361
  * </Button>
125
362
  * </Sheet.Footer>
@@ -136,13 +373,13 @@ declare const Sheet: {
136
373
  * floating z-index. When multiple shared layers are open, the most recently
137
374
  * mounted layer renders on top.
138
375
  *
139
- * @see https://mantle.ngrok.com/components/sheet#sheetroot
376
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetroot
140
377
  *
141
378
  * @example
142
379
  * ```tsx
143
380
  * <Sheet.Root>
144
381
  * <Sheet.Trigger asChild>
145
- * <Button type="button" appearance="filled">Open Sheet</Button>
382
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
146
383
  * </Sheet.Trigger>
147
384
  * <Sheet.Content>
148
385
  * <Sheet.Header>
@@ -161,9 +398,9 @@ declare const Sheet: {
161
398
  * </Sheet.Body>
162
399
  * <Sheet.Footer>
163
400
  * <Sheet.Close asChild>
164
- * <Button type="button">Close</Button>
401
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
165
402
  * </Sheet.Close>
166
- * <Button type="button" appearance="filled">Save</Button>
403
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
167
404
  * </Sheet.Footer>
168
405
  * </Sheet.Content>
169
406
  * </Sheet.Root>
@@ -173,13 +410,13 @@ declare const Sheet: {
173
410
  /**
174
411
  * A group container for the actions of a `Sheet`. Typically rendered as a child of `Sheet.TitleGroup`.
175
412
  *
176
- * @see https://mantle.ngrok.com/components/sheet#sheetactions
413
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetactions
177
414
  *
178
415
  * @example
179
416
  * ```tsx
180
417
  * <Sheet.Root>
181
418
  * <Sheet.Trigger asChild>
182
- * <Button type="button" appearance="filled">Open Sheet</Button>
419
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
183
420
  * </Sheet.Trigger>
184
421
  * <Sheet.Content>
185
422
  * <Sheet.Header>
@@ -198,9 +435,9 @@ declare const Sheet: {
198
435
  * </Sheet.Body>
199
436
  * <Sheet.Footer>
200
437
  * <Sheet.Close asChild>
201
- * <Button type="button">Close</Button>
438
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
202
439
  * </Sheet.Close>
203
- * <Button type="button" appearance="filled">Save</Button>
440
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
204
441
  * </Sheet.Footer>
205
442
  * </Sheet.Content>
206
443
  * </Sheet.Root>
@@ -211,13 +448,13 @@ declare const Sheet: {
211
448
  * The body container for a `Sheet`. This is where you would typically place the main content of the sheet, such as forms or text.
212
449
  * Should be rendered as a child of `Sheet.Content`.
213
450
  *
214
- * @see https://mantle.ngrok.com/components/sheet#sheetbody
451
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetbody
215
452
  *
216
453
  * @example
217
454
  * ```tsx
218
455
  * <Sheet.Root>
219
456
  * <Sheet.Trigger asChild>
220
- * <Button type="button" appearance="filled">Open Sheet</Button>
457
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
221
458
  * </Sheet.Trigger>
222
459
  * <Sheet.Content>
223
460
  * <Sheet.Header>
@@ -236,33 +473,27 @@ declare const Sheet: {
236
473
  * </Sheet.Body>
237
474
  * <Sheet.Footer>
238
475
  * <Sheet.Close asChild>
239
- * <Button type="button">Close</Button>
476
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
240
477
  * </Sheet.Close>
241
- * <Button type="button" appearance="filled">Save</Button>
478
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
242
479
  * </Sheet.Footer>
243
480
  * </Sheet.Content>
244
481
  * </Sheet.Root>
245
482
  * ```
246
483
  */
247
- readonly Body: {
248
- ({
249
- className,
250
- ...props
251
- }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
252
- displayName: string;
253
- };
484
+ readonly Body: typeof Body;
254
485
  /**
255
486
  * The close button for a `Sheet`. Should be rendered as a child of the `Sheet.Content` component.
256
487
  * Usually contained within the `Sheet.Footer` component.
257
488
  * Renders an unstyled button by default, but can be customized with the `asChild` prop.
258
489
  *
259
- * @see https://mantle.ngrok.com/components/sheet#sheetclose
490
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetclose
260
491
  *
261
492
  * @example
262
493
  * ```tsx
263
494
  * <Sheet.Root>
264
495
  * <Sheet.Trigger asChild>
265
- * <Button type="button" appearance="filled">Open Sheet</Button>
496
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
266
497
  * </Sheet.Trigger>
267
498
  * <Sheet.Content>
268
499
  * <Sheet.Header>
@@ -281,9 +512,9 @@ declare const Sheet: {
281
512
  * </Sheet.Body>
282
513
  * <Sheet.Footer>
283
514
  * <Sheet.Close asChild>
284
- * <Button type="button">Close</Button>
515
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
285
516
  * </Sheet.Close>
286
- * <Button type="button" appearance="filled">Save</Button>
517
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
287
518
  * </Sheet.Footer>
288
519
  * </Sheet.Content>
289
520
  * </Sheet.Root>
@@ -294,13 +525,16 @@ declare const Sheet: {
294
525
  * An icon button that closes the `Sheet` when clicked.
295
526
  * Should be rendered within the `Sheet.Header` as a child of `Sheet.Actions`.
296
527
  *
297
- * @see https://mantle.ngrok.com/components/sheet#sheetcloseiconbutton
528
+ * Composes around the mantle `IconButton` and defaults to
529
+ * `appearance="ghost"` and `intent="neutral"`.
530
+ *
531
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetcloseiconbutton
298
532
  *
299
533
  * @example
300
534
  * ```tsx
301
535
  * <Sheet.Root>
302
536
  * <Sheet.Trigger asChild>
303
- * <Button type="button" appearance="filled">Open Sheet</Button>
537
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
304
538
  * </Sheet.Trigger>
305
539
  * <Sheet.Content>
306
540
  * <Sheet.Header>
@@ -319,24 +553,15 @@ declare const Sheet: {
319
553
  * </Sheet.Body>
320
554
  * <Sheet.Footer>
321
555
  * <Sheet.Close asChild>
322
- * <Button type="button">Close</Button>
556
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
323
557
  * </Sheet.Close>
324
- * <Button type="button" appearance="filled">Save</Button>
558
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
325
559
  * </Sheet.Footer>
326
560
  * </Sheet.Content>
327
561
  * </Sheet.Root>
328
562
  * ```
329
563
  */
330
- readonly CloseIconButton: {
331
- ({
332
- size,
333
- type,
334
- label,
335
- appearance,
336
- ...props
337
- }: SheetCloseIconButtonProps): import("react").JSX.Element;
338
- displayName: string;
339
- };
564
+ readonly CloseIconButton: typeof CloseIconButton;
340
565
  /**
341
566
  * The main container for a `Sheet`. Should be rendered as a child of the `Sheet` component.
342
567
  * Renders on top of the overlay backdrop.
@@ -346,13 +571,13 @@ declare const Sheet: {
346
571
  * shared floating z-index. When multiple shared layers are open, the most
347
572
  * recently mounted layer renders on top.
348
573
  *
349
- * @see https://mantle.ngrok.com/components/sheet#sheetcontent
574
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetcontent
350
575
  *
351
576
  * @example
352
577
  * ```tsx
353
578
  * <Sheet.Root>
354
579
  * <Sheet.Trigger asChild>
355
- * <Button type="button" appearance="filled">Open Sheet</Button>
580
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
356
581
  * </Sheet.Trigger>
357
582
  * <Sheet.Content>
358
583
  * <Sheet.Header>
@@ -371,9 +596,9 @@ declare const Sheet: {
371
596
  * </Sheet.Body>
372
597
  * <Sheet.Footer>
373
598
  * <Sheet.Close asChild>
374
- * <Button type="button">Close</Button>
599
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
375
600
  * </Sheet.Close>
376
- * <Button type="button" appearance="filled">Save</Button>
601
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
377
602
  * </Sheet.Footer>
378
603
  * </Sheet.Content>
379
604
  * </Sheet.Root>
@@ -396,13 +621,13 @@ declare const Sheet: {
396
621
  /**
397
622
  * A description for a sheet. Typically rendered as a child of `Sheet.Header`.
398
623
  *
399
- * @see https://mantle.ngrok.com/components/sheet#sheetdescription
624
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetdescription
400
625
  *
401
626
  * @example
402
627
  * ```tsx
403
628
  * <Sheet.Root>
404
629
  * <Sheet.Trigger asChild>
405
- * <Button type="button" appearance="filled">Open Sheet</Button>
630
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
406
631
  * </Sheet.Trigger>
407
632
  * <Sheet.Content>
408
633
  * <Sheet.Header>
@@ -421,9 +646,9 @@ declare const Sheet: {
421
646
  * </Sheet.Body>
422
647
  * <Sheet.Footer>
423
648
  * <Sheet.Close asChild>
424
- * <Button type="button">Close</Button>
649
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
425
650
  * </Sheet.Close>
426
- * <Button type="button" appearance="filled">Save</Button>
651
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
427
652
  * </Sheet.Footer>
428
653
  * </Sheet.Content>
429
654
  * </Sheet.Root>
@@ -434,13 +659,13 @@ declare const Sheet: {
434
659
  * The footer container for a `Sheet`. This is where you would typically place close and submit buttons.
435
660
  * Should be rendered as a child of `Sheet.Content`.
436
661
  *
437
- * @see https://mantle.ngrok.com/components/sheet#sheetfooter
662
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetfooter
438
663
  *
439
664
  * @example
440
665
  * ```tsx
441
666
  * <Sheet.Root>
442
667
  * <Sheet.Trigger asChild>
443
- * <Button type="button" appearance="filled">Open Sheet</Button>
668
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
444
669
  * </Sheet.Trigger>
445
670
  * <Sheet.Content>
446
671
  * <Sheet.Header>
@@ -459,32 +684,26 @@ declare const Sheet: {
459
684
  * </Sheet.Body>
460
685
  * <Sheet.Footer>
461
686
  * <Sheet.Close asChild>
462
- * <Button type="button">Close</Button>
687
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
463
688
  * </Sheet.Close>
464
- * <Button type="button" appearance="filled">Save</Button>
689
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
465
690
  * </Sheet.Footer>
466
691
  * </Sheet.Content>
467
692
  * </Sheet.Root>
468
693
  * ```
469
694
  */
470
- readonly Footer: {
471
- ({
472
- className,
473
- ...props
474
- }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
475
- displayName: string;
476
- };
695
+ readonly Footer: typeof Footer;
477
696
  /**
478
697
  * The header container for a `Sheet`. This is where you would typically place the title, description, and actions.
479
698
  * Should be rendered as a child of `Sheet.Content`.
480
699
  *
481
- * @see https://mantle.ngrok.com/components/sheet#sheetheader
700
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheetheader
482
701
  *
483
702
  * @example
484
703
  * ```tsx
485
704
  * <Sheet.Root>
486
705
  * <Sheet.Trigger asChild>
487
- * <Button type="button" appearance="filled">Open Sheet</Button>
706
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
488
707
  * </Sheet.Trigger>
489
708
  * <Sheet.Content>
490
709
  * <Sheet.Header>
@@ -503,32 +722,26 @@ declare const Sheet: {
503
722
  * </Sheet.Body>
504
723
  * <Sheet.Footer>
505
724
  * <Sheet.Close asChild>
506
- * <Button type="button">Close</Button>
725
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
507
726
  * </Sheet.Close>
508
- * <Button type="button" appearance="filled">Save</Button>
727
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
509
728
  * </Sheet.Footer>
510
729
  * </Sheet.Content>
511
730
  * </Sheet.Root>
512
731
  * ```
513
732
  */
514
- readonly Header: {
515
- ({
516
- className,
517
- ...props
518
- }: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
519
- displayName: string;
520
- };
733
+ readonly Header: typeof Header;
521
734
  /**
522
735
  * The title for a `Sheet`. Typically rendered as a child of `Sheet.TitleGroup`.
523
736
  * Defaults to an `h2` element, but can be changed via the `asChild` prop.
524
737
  *
525
- * @see https://mantle.ngrok.com/components/sheet#sheettitle
738
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheettitle
526
739
  *
527
740
  * @example
528
741
  * ```tsx
529
742
  * <Sheet.Root>
530
743
  * <Sheet.Trigger asChild>
531
- * <Button type="button" appearance="filled">Open Sheet</Button>
744
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
532
745
  * </Sheet.Trigger>
533
746
  * <Sheet.Content>
534
747
  * <Sheet.Header>
@@ -547,9 +760,9 @@ declare const Sheet: {
547
760
  * </Sheet.Body>
548
761
  * <Sheet.Footer>
549
762
  * <Sheet.Close asChild>
550
- * <Button type="button">Close</Button>
763
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
551
764
  * </Sheet.Close>
552
- * <Button type="button" appearance="filled">Save</Button>
765
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
553
766
  * </Sheet.Footer>
554
767
  * </Sheet.Content>
555
768
  * </Sheet.Root>
@@ -559,13 +772,13 @@ declare const Sheet: {
559
772
  /**
560
773
  * A group container for the title and actions of a sheet. Typically rendered as a child of `Sheet.Header`.
561
774
  *
562
- * @see https://mantle.ngrok.com/components/sheet#sheettitlegroup
775
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheettitlegroup
563
776
  *
564
777
  * @example
565
778
  * ```tsx
566
779
  * <Sheet.Root>
567
780
  * <Sheet.Trigger asChild>
568
- * <Button type="button" appearance="filled">Open Sheet</Button>
781
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
569
782
  * </Sheet.Trigger>
570
783
  * <Sheet.Content>
571
784
  * <Sheet.Header>
@@ -584,9 +797,9 @@ declare const Sheet: {
584
797
  * </Sheet.Body>
585
798
  * <Sheet.Footer>
586
799
  * <Sheet.Close asChild>
587
- * <Button type="button">Close</Button>
800
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
588
801
  * </Sheet.Close>
589
- * <Button type="button" appearance="filled">Save</Button>
802
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
590
803
  * </Sheet.Footer>
591
804
  * </Sheet.Content>
592
805
  * </Sheet.Root>
@@ -597,13 +810,13 @@ declare const Sheet: {
597
810
  * The button trigger for a `Sheet`. Should be rendered as a child of the `Sheet` component.
598
811
  * Renders an unstyled button by default, but can be customized with the `asChild` prop.
599
812
  *
600
- * @see https://mantle.ngrok.com/components/sheet#sheettrigger
813
+ * @see https://mantle.ngrok.com/components/overlays/sheet#sheettrigger
601
814
  *
602
815
  * @example
603
816
  * ```tsx
604
817
  * <Sheet.Root>
605
818
  * <Sheet.Trigger asChild>
606
- * <Button type="button" appearance="filled">Open Sheet</Button>
819
+ * <Button type="button" appearance="filled" intent="neutral">Open Sheet</Button>
607
820
  * </Sheet.Trigger>
608
821
  * <Sheet.Content>
609
822
  * <Sheet.Header>
@@ -622,9 +835,9 @@ declare const Sheet: {
622
835
  * </Sheet.Body>
623
836
  * <Sheet.Footer>
624
837
  * <Sheet.Close asChild>
625
- * <Button type="button">Close</Button>
838
+ * <Button type="button" appearance="outlined" intent="neutral">Close</Button>
626
839
  * </Sheet.Close>
627
- * <Button type="button" appearance="filled">Save</Button>
840
+ * <Button type="button" appearance="filled" intent="neutral">Save</Button>
628
841
  * </Sheet.Footer>
629
842
  * </Sheet.Content>
630
843
  * </Sheet.Root>