@ngrok/mantle 0.66.0 → 0.66.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 (297) hide show
  1. package/dist/accordion.d.ts +158 -154
  2. package/dist/accordion.js +1 -1
  3. package/dist/accordion.js.map +1 -1
  4. package/dist/alert-dialog.d.ts +282 -277
  5. package/dist/alert-dialog.js +1 -1
  6. package/dist/alert-dialog.js.map +1 -1
  7. package/dist/alert.d.ts +145 -138
  8. package/dist/alert.js +1 -1
  9. package/dist/alert.js.map +1 -1
  10. package/dist/anchor.d.ts +25 -22
  11. package/dist/anchor.js +1 -1
  12. package/dist/anchor.js.map +1 -1
  13. package/dist/as-child-XMVTepJu.d.ts +31 -0
  14. package/dist/badge.d.ts +29 -19
  15. package/dist/badge.js +1 -1
  16. package/dist/badge.js.map +1 -1
  17. package/dist/booleanish-CBGdPL3Q.js +2 -0
  18. package/dist/booleanish-CBGdPL3Q.js.map +1 -0
  19. package/dist/browser-only-jrBUqioz.js +2 -0
  20. package/dist/browser-only-jrBUqioz.js.map +1 -0
  21. package/dist/browser-only.d.ts +20 -15
  22. package/dist/browser-only.js +1 -2
  23. package/dist/button-CKL-3sIr.d.ts +175 -0
  24. package/dist/button-CRRPesae.js +2 -0
  25. package/dist/button-CRRPesae.js.map +1 -0
  26. package/dist/button-DA2p0_5F.js +2 -0
  27. package/dist/button-DA2p0_5F.js.map +1 -0
  28. package/dist/button.d.ts +4 -9
  29. package/dist/button.js +1 -2
  30. package/dist/calendar.d.ts +14 -8
  31. package/dist/calendar.js +1 -1
  32. package/dist/calendar.js.map +1 -1
  33. package/dist/card.d.ts +99 -97
  34. package/dist/card.js +1 -1
  35. package/dist/card.js.map +1 -1
  36. package/dist/checkbox.d.ts +14 -12
  37. package/dist/checkbox.js +1 -1
  38. package/dist/checkbox.js.map +1 -1
  39. package/dist/code-block.d.ts +254 -237
  40. package/dist/code-block.js +3 -3
  41. package/dist/code-block.js.map +1 -1
  42. package/dist/code.d.ts +5 -3
  43. package/dist/code.js +1 -1
  44. package/dist/code.js.map +1 -1
  45. package/dist/color.d.ts +2 -38
  46. package/dist/color.js +1 -1
  47. package/dist/color.js.map +1 -1
  48. package/dist/combobox.d.ts +172 -167
  49. package/dist/combobox.js +1 -1
  50. package/dist/combobox.js.map +1 -1
  51. package/dist/command.d.ts +234 -227
  52. package/dist/command.js +1 -1
  53. package/dist/command.js.map +1 -1
  54. package/dist/compose-refs-DeIsFv68.js +2 -0
  55. package/dist/compose-refs-DeIsFv68.js.map +1 -0
  56. package/dist/cx-bKromGBh.js +2 -0
  57. package/dist/cx-bKromGBh.js.map +1 -0
  58. package/dist/cx.d.ts +4 -2
  59. package/dist/cx.js +1 -2
  60. package/dist/data-table.d.ts +211 -184
  61. package/dist/data-table.js +1 -1
  62. package/dist/data-table.js.map +1 -1
  63. package/dist/deep-non-nullable-BLM3Gz0I.d.ts +8 -0
  64. package/dist/description-list.d.ts +61 -59
  65. package/dist/description-list.js +1 -1
  66. package/dist/description-list.js.map +1 -1
  67. package/dist/dialog-BuD_JQf_.d.ts +422 -0
  68. package/dist/dialog-CGBjHvo_.js +2 -0
  69. package/dist/dialog-CGBjHvo_.js.map +1 -0
  70. package/dist/dialog.d.ts +3 -410
  71. package/dist/dialog.js +1 -2
  72. package/dist/direction-DfrtFTny.js +2 -0
  73. package/dist/direction-DfrtFTny.js.map +1 -0
  74. package/dist/{direction-DHheuUag.d.ts → direction-deXpJFDZ.d.ts} +9 -7
  75. package/dist/dropdown-menu-CjOaj-Ap.js +2 -0
  76. package/dist/dropdown-menu-CjOaj-Ap.js.map +1 -0
  77. package/dist/dropdown-menu-D_ZoY1AH.d.ts +330 -0
  78. package/dist/dropdown-menu.d.ts +2 -325
  79. package/dist/dropdown-menu.js +1 -2
  80. package/dist/flag.d.ts +31 -22
  81. package/dist/flag.js +1 -1
  82. package/dist/flag.js.map +1 -1
  83. package/dist/hooks.d.ts +72 -59
  84. package/dist/hooks.js +1 -1
  85. package/dist/hooks.js.map +1 -1
  86. package/dist/hover-card.d.ts +97 -91
  87. package/dist/hover-card.js +1 -1
  88. package/dist/hover-card.js.map +1 -1
  89. package/dist/{icon-DXTMiV1L.d.ts → icon-B1XLv02t.d.ts} +11 -9
  90. package/dist/icon-B5oNYYrJ.js +2 -0
  91. package/dist/icon-B5oNYYrJ.js.map +1 -0
  92. package/dist/icon-button-2r6S3HVA.d.ts +98 -0
  93. package/dist/icon-button-D4e9-dq-.js +2 -0
  94. package/dist/icon-button-D4e9-dq-.js.map +1 -0
  95. package/dist/icon.d.ts +4 -4
  96. package/dist/icon.js +1 -2
  97. package/dist/icons.d.ts +54 -41
  98. package/dist/icons.js +1 -1
  99. package/dist/icons.js.map +1 -1
  100. package/dist/{in-view-aHeQHaUj.d.ts → in-view-CTQRT44m.d.ts} +29 -22
  101. package/dist/in-view-bPnaWEL4.js +2 -0
  102. package/dist/in-view-bPnaWEL4.js.map +1 -0
  103. package/dist/index-BLCvtjLi.d.ts +40 -0
  104. package/dist/index-DWqhfw9n.d.ts +103 -0
  105. package/dist/{button-group-BFnqgdtl.d.ts → index-ViSCOUrU.d.ts} +10 -8
  106. package/dist/index-s8rMcilU.d.ts +47 -0
  107. package/dist/input.d.ts +3 -100
  108. package/dist/input.js +1 -1
  109. package/dist/input.js.map +1 -1
  110. package/dist/is-input-BFR8yMM7.js +2 -0
  111. package/dist/is-input-BFR8yMM7.js.map +1 -0
  112. package/dist/kbd-pyj32aN4.js +2 -0
  113. package/dist/kbd-pyj32aN4.js.map +1 -0
  114. package/dist/kbd.d.ts +10 -4
  115. package/dist/kbd.js +1 -2
  116. package/dist/label.d.ts +8 -6
  117. package/dist/label.js +1 -1
  118. package/dist/label.js.map +1 -1
  119. package/dist/media-object.d.ts +70 -68
  120. package/dist/media-object.js +1 -1
  121. package/dist/media-object.js.map +1 -1
  122. package/dist/multi-select.d.ts +226 -218
  123. package/dist/multi-select.js +1 -1
  124. package/dist/multi-select.js.map +1 -1
  125. package/dist/pagination.d.ts +168 -164
  126. package/dist/pagination.js +1 -1
  127. package/dist/pagination.js.map +1 -1
  128. package/dist/popover.d.ts +119 -117
  129. package/dist/popover.js +1 -1
  130. package/dist/popover.js.map +1 -1
  131. package/dist/primitive-W5Izf14l.js +2 -0
  132. package/dist/primitive-W5Izf14l.js.map +1 -0
  133. package/dist/primitive-tuHqhoRE.d.ts +16 -0
  134. package/dist/progress.d.ts +175 -150
  135. package/dist/progress.js +1 -1
  136. package/dist/progress.js.map +1 -1
  137. package/dist/radio-group.d.ts +246 -230
  138. package/dist/radio-group.js +1 -1
  139. package/dist/radio-group.js.map +1 -1
  140. package/dist/sandboxed-on-click.d.ts +36 -31
  141. package/dist/sandboxed-on-click.js +1 -1
  142. package/dist/sandboxed-on-click.js.map +1 -1
  143. package/dist/select-39Jfc1Cb.d.ts +265 -0
  144. package/dist/select-DZ2ztBkI.js +2 -0
  145. package/dist/select-DZ2ztBkI.js.map +1 -0
  146. package/dist/select.d.ts +2 -263
  147. package/dist/select.js +1 -2
  148. package/dist/separator-BcCNbHBg.js +2 -0
  149. package/dist/separator-BcCNbHBg.js.map +1 -0
  150. package/dist/separator.d.ts +28 -21
  151. package/dist/separator.js +1 -2
  152. package/dist/sheet.d.ts +319 -305
  153. package/dist/sheet.js +1 -1
  154. package/dist/sheet.js.map +1 -1
  155. package/dist/skeleton.d.ts +8 -6
  156. package/dist/skeleton.js +1 -1
  157. package/dist/skeleton.js.map +1 -1
  158. package/dist/slider.d.ts +48 -35
  159. package/dist/slider.js +1 -1
  160. package/dist/slider.js.map +1 -1
  161. package/dist/slot-DdnjeV2n.js +2 -0
  162. package/dist/slot-DdnjeV2n.js.map +1 -0
  163. package/dist/slot.d.ts +6 -4
  164. package/dist/slot.js +1 -2
  165. package/dist/sort-CfPsu1Gs.js +2 -0
  166. package/dist/sort-CfPsu1Gs.js.map +1 -0
  167. package/dist/split-button.d.ts +158 -162
  168. package/dist/split-button.js +1 -1
  169. package/dist/split-button.js.map +1 -1
  170. package/dist/svg-only-BVLlbQ4e.js +2 -0
  171. package/dist/svg-only-BVLlbQ4e.js.map +1 -0
  172. package/dist/{svg-only-Cp8Mu_sh.d.ts → svg-only-Dti1FvNV.d.ts} +11 -9
  173. package/dist/switch.d.ts +10 -8
  174. package/dist/switch.js +1 -1
  175. package/dist/switch.js.map +1 -1
  176. package/dist/table-BWMp12sl.js +2 -0
  177. package/dist/table-BWMp12sl.js.map +1 -0
  178. package/dist/table-Dpt192qt.d.ts +398 -0
  179. package/dist/table.d.ts +2 -396
  180. package/dist/table.js +1 -2
  181. package/dist/tabs.d.ts +110 -104
  182. package/dist/tabs.js +1 -1
  183. package/dist/tabs.js.map +1 -1
  184. package/dist/text-area.d.ts +10 -8
  185. package/dist/text-area.js +1 -1
  186. package/dist/text-area.js.map +1 -1
  187. package/dist/theme-provider-CbzLgte1.js +2 -0
  188. package/dist/theme-provider-CbzLgte1.js.map +1 -0
  189. package/dist/theme.d.ts +65 -38
  190. package/dist/theme.js +1 -2
  191. package/dist/{themes-Bi46K9ZW.d.ts → themes-ClppRAGt.d.ts} +4 -2
  192. package/dist/toast-B4gxB8U0.js +2 -0
  193. package/dist/toast-B4gxB8U0.js.map +1 -0
  194. package/dist/toast.d.ts +95 -87
  195. package/dist/toast.js +1 -2
  196. package/dist/tooltip.d.ts +78 -73
  197. package/dist/tooltip.js +1 -1
  198. package/dist/tooltip.js.map +1 -1
  199. package/dist/{chunk-W2YQRWR5.js → traffic-policy-file-QnF-2YkY.js} +2 -2
  200. package/dist/traffic-policy-file-QnF-2YkY.js.map +1 -0
  201. package/dist/types-884RJJqm.js +2 -0
  202. package/dist/types-884RJJqm.js.map +1 -0
  203. package/dist/{types-DehRoXC5.d.ts → types-DgXUgkpc.d.ts} +38 -36
  204. package/dist/types-Dh4BVhXC.d.ts +9 -0
  205. package/dist/types.d.ts +6 -49
  206. package/dist/types.js +1 -2
  207. package/dist/use-copy-to-clipboard-BEbQOKHc.js +2 -0
  208. package/dist/use-copy-to-clipboard-BEbQOKHc.js.map +1 -0
  209. package/dist/use-matches-media-query-BxTQ5f4i.js +2 -0
  210. package/dist/use-matches-media-query-BxTQ5f4i.js.map +1 -0
  211. package/dist/use-prefers-reduced-motion-BPlsKyCJ.js +2 -0
  212. package/dist/use-prefers-reduced-motion-BPlsKyCJ.js.map +1 -0
  213. package/dist/utils.d.ts +6 -5
  214. package/dist/utils.js +1 -1
  215. package/dist/utils.js.map +1 -1
  216. package/dist/variant-props-UE-phTwh.d.ts +13 -0
  217. package/dist/with-style-props-D1QFTzj6.d.ts +29 -0
  218. package/package.json +6 -6
  219. package/dist/as-child-DJ7x3JFV.d.ts +0 -21
  220. package/dist/browser-only.js.map +0 -1
  221. package/dist/button-DLUUf_c-.d.ts +0 -173
  222. package/dist/button.js.map +0 -1
  223. package/dist/chunk-2FYR6IJV.js +0 -2
  224. package/dist/chunk-2FYR6IJV.js.map +0 -1
  225. package/dist/chunk-5VDCC3YW.js +0 -2
  226. package/dist/chunk-5VDCC3YW.js.map +0 -1
  227. package/dist/chunk-63ZAW25Z.js +0 -2
  228. package/dist/chunk-63ZAW25Z.js.map +0 -1
  229. package/dist/chunk-6J7D73WA.js +0 -2
  230. package/dist/chunk-6J7D73WA.js.map +0 -1
  231. package/dist/chunk-72TJUKMV.js +0 -1
  232. package/dist/chunk-72TJUKMV.js.map +0 -1
  233. package/dist/chunk-7MJQGBE4.js +0 -2
  234. package/dist/chunk-7MJQGBE4.js.map +0 -1
  235. package/dist/chunk-7YLII2US.js +0 -2
  236. package/dist/chunk-7YLII2US.js.map +0 -1
  237. package/dist/chunk-ADF5DAYG.js +0 -2
  238. package/dist/chunk-ADF5DAYG.js.map +0 -1
  239. package/dist/chunk-CBRSMQ26.js +0 -2
  240. package/dist/chunk-CBRSMQ26.js.map +0 -1
  241. package/dist/chunk-COQIVAQH.js +0 -2
  242. package/dist/chunk-COQIVAQH.js.map +0 -1
  243. package/dist/chunk-ELZLLG6G.js +0 -2
  244. package/dist/chunk-ELZLLG6G.js.map +0 -1
  245. package/dist/chunk-EVU5XGB4.js +0 -2
  246. package/dist/chunk-EVU5XGB4.js.map +0 -1
  247. package/dist/chunk-EYZYDUS2.js +0 -2
  248. package/dist/chunk-EYZYDUS2.js.map +0 -1
  249. package/dist/chunk-HKSO72E5.js +0 -2
  250. package/dist/chunk-HKSO72E5.js.map +0 -1
  251. package/dist/chunk-HL2HWYKP.js +0 -2
  252. package/dist/chunk-HL2HWYKP.js.map +0 -1
  253. package/dist/chunk-IVQ626TU.js +0 -2
  254. package/dist/chunk-IVQ626TU.js.map +0 -1
  255. package/dist/chunk-JQ5D5YZR.js +0 -2
  256. package/dist/chunk-JQ5D5YZR.js.map +0 -1
  257. package/dist/chunk-LBO5LEYM.js +0 -2
  258. package/dist/chunk-LBO5LEYM.js.map +0 -1
  259. package/dist/chunk-MLXONRJD.js +0 -2
  260. package/dist/chunk-MLXONRJD.js.map +0 -1
  261. package/dist/chunk-OHPGAB7U.js +0 -2
  262. package/dist/chunk-OHPGAB7U.js.map +0 -1
  263. package/dist/chunk-OP6JMBKJ.js +0 -2
  264. package/dist/chunk-OP6JMBKJ.js.map +0 -1
  265. package/dist/chunk-PFXFESEN.js +0 -2
  266. package/dist/chunk-PFXFESEN.js.map +0 -1
  267. package/dist/chunk-PNL7JOXI.js +0 -2
  268. package/dist/chunk-PNL7JOXI.js.map +0 -1
  269. package/dist/chunk-RED6SFAV.js +0 -2
  270. package/dist/chunk-RED6SFAV.js.map +0 -1
  271. package/dist/chunk-SBQHQ2SJ.js +0 -2
  272. package/dist/chunk-SBQHQ2SJ.js.map +0 -1
  273. package/dist/chunk-SGGOH2WW.js +0 -2
  274. package/dist/chunk-SGGOH2WW.js.map +0 -1
  275. package/dist/chunk-W2YQRWR5.js.map +0 -1
  276. package/dist/chunk-W5A5HSFE.js +0 -2
  277. package/dist/chunk-W5A5HSFE.js.map +0 -1
  278. package/dist/chunk-YPAUKPCE.js +0 -2
  279. package/dist/chunk-YPAUKPCE.js.map +0 -1
  280. package/dist/cx.js.map +0 -1
  281. package/dist/deep-non-nullable-SmpSvoSd.d.ts +0 -8
  282. package/dist/dialog.js.map +0 -1
  283. package/dist/dropdown-menu.js.map +0 -1
  284. package/dist/icon-button-CT71Ti9V.d.ts +0 -96
  285. package/dist/icon.js.map +0 -1
  286. package/dist/kbd.js.map +0 -1
  287. package/dist/primitive-CBR_XmVa.d.ts +0 -14
  288. package/dist/select.js.map +0 -1
  289. package/dist/separator.js.map +0 -1
  290. package/dist/slot.js.map +0 -1
  291. package/dist/table.js.map +0 -1
  292. package/dist/theme.js.map +0 -1
  293. package/dist/toast.js.map +0 -1
  294. package/dist/types-BuKAGhC-.d.ts +0 -7
  295. package/dist/types.js.map +0 -1
  296. package/dist/variant-props-oDo2u-We.d.ts +0 -11
  297. package/dist/with-style-props-VnLWm0Yd.d.ts +0 -27
package/dist/sheet.d.ts CHANGED
@@ -1,15 +1,13 @@
1
- import * as class_variance_authority_types from 'class-variance-authority/types';
2
- import * as _radix_ui_react_dialog from '@radix-ui/react-dialog';
3
- import * as react_jsx_runtime from 'react/jsx-runtime';
4
- import * as react from 'react';
5
- import { HTMLAttributes } from 'react';
6
- import { VariantProps } from 'class-variance-authority';
7
- import { a as IconButtonProps } from './icon-button-CT71Ti9V.js';
8
- import { R as Root } from './primitive-CBR_XmVa.js';
9
- import './as-child-DJ7x3JFV.js';
10
- import './variant-props-oDo2u-We.js';
11
- import './deep-non-nullable-SmpSvoSd.js';
1
+ import { t as Root } from "./primitive-tuHqhoRE.js";
2
+ import { n as IconButtonProps } from "./icon-button-2r6S3HVA.js";
3
+ import * as react from "react";
4
+ import { HTMLAttributes } from "react";
5
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
6
+ import { VariantProps } from "class-variance-authority";
7
+ import * as _radix_ui_react_dialog0 from "@radix-ui/react-dialog";
8
+ import * as class_variance_authority_types0 from "class-variance-authority/types";
12
9
 
10
+ //#region src/components/sheet/sheet.d.ts
13
11
  type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
14
12
  /**
15
13
  * A container that overlays the current view from the edge of the screen.
@@ -110,303 +108,319 @@ type SheetCloseIconButtonProps = Partial<Omit<IconButtonProps, "icon">>;
110
108
  * ```
111
109
  */
112
110
  declare const Sheet: {
111
+ /**
112
+ * The root component for a `Sheet`. Should compose the `Sheet.Trigger` and `Sheet.Content`.
113
+ * Acts as a stateful provider for the Sheet's open/closed state.
114
+ *
115
+ * @see https://mantle.ngrok.com/components/sheet#sheetroot
116
+ *
117
+ * @example
118
+ * ```tsx
119
+ * // Triggering a stateful sheet
120
+ * <Sheet.Root>
121
+ * <Sheet.Trigger asChild>
122
+ * <Button type="button" appearance="filled">
123
+ * Open Sheet
124
+ * </Button>
125
+ * </Sheet.Trigger>
126
+ * <Sheet.Content>
127
+ * <Sheet.Header>
128
+ * <Sheet.TitleGroup>
129
+ * <Sheet.Title>Are you absolutely sure?</Sheet.Title>
130
+ * <Sheet.Actions>
131
+ * <Sheet.CloseIconButton />
132
+ * </Sheet.Actions>
133
+ * </Sheet.TitleGroup>
134
+ * </Sheet.Header>
135
+ * </Sheet.Content>
136
+ * </Sheet.Root>
137
+ * ```
138
+ */
139
+ readonly Root: typeof Root;
140
+ /**
141
+ * A group container for the actions of a `Sheet`. Typically rendered as a child of `Sheet.TitleGroup`.
142
+ *
143
+ * @see https://mantle.ngrok.com/components/sheet#sheetactions
144
+ *
145
+ * @example
146
+ * ```tsx
147
+ * <Sheet.TitleGroup>
148
+ * <Sheet.Title>Are you absolutely sure?</Sheet.Title>
149
+ * <Sheet.Actions>
150
+ * <Sheet.CloseIconButton />
151
+ * </Sheet.Actions>
152
+ * </Sheet.TitleGroup>
153
+ * ```
154
+ */
155
+ readonly Actions: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
156
+ /**
157
+ * The body container for a `Sheet`. This is where you would typically place the main content of the sheet, such as forms or text.
158
+ * Should be rendered as a child of `Sheet.Content`.
159
+ *
160
+ * @see https://mantle.ngrok.com/components/sheet#sheetbody
161
+ *
162
+ * @example
163
+ * ```tsx
164
+ * <Sheet.Content>
165
+ * <Sheet.Header>
166
+ * <Sheet.TitleGroup>
167
+ * <Sheet.Title>Sheet Title</Sheet.Title>
168
+ * <Sheet.Actions>
169
+ * <Sheet.CloseIconButton />
170
+ * </Sheet.Actions>
171
+ * </Sheet.TitleGroup>
172
+ * </Sheet.Header>
173
+ * <Sheet.Body>
174
+ * <p>This is the sheet content.</p>
175
+ * </Sheet.Body>
176
+ * </Sheet.Content>
177
+ * ```
178
+ */
179
+ readonly Body: {
180
+ ({
181
+ className,
182
+ ...props
183
+ }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
184
+ displayName: string;
185
+ };
186
+ /**
187
+ * The close button for a `Sheet`. Should be rendered as a child of the `Sheet.Content` component.
188
+ * Usually contained within the `Sheet.Footer` component.
189
+ * Renders an unstyled button by default, but can be customized with the `asChild` prop.
190
+ *
191
+ * @see https://mantle.ngrok.com/components/sheet#sheetclose
192
+ *
193
+ * @example
194
+ * ```tsx
195
+ * <Sheet.Footer>
196
+ * <Sheet.Close asChild>
197
+ * <Button type="button">Close</Button>
198
+ * </Sheet.Close>
199
+ * </Sheet.Footer>
200
+ * ```
201
+ */
202
+ readonly Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog0.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
203
+ /**
204
+ * An icon button that closes the `Sheet` when clicked.
205
+ * Should be rendered within the `Sheet.Header` as a child of `Sheet.Actions`.
206
+ *
207
+ * @see https://mantle.ngrok.com/components/sheet#sheetcloseiconbutton
208
+ *
209
+ * @example
210
+ * ```tsx
211
+ * <Sheet.Header>
212
+ * <Sheet.TitleGroup>
213
+ * <Sheet.Title>Sheet Title</Sheet.Title>
214
+ * <Sheet.Actions>
215
+ * <Sheet.CloseIconButton />
216
+ * </Sheet.Actions>
217
+ * </Sheet.TitleGroup>
218
+ * </Sheet.Header>
219
+ * ```
220
+ */
221
+ readonly CloseIconButton: {
222
+ ({
223
+ size,
224
+ type,
225
+ label,
226
+ appearance,
227
+ ...props
228
+ }: SheetCloseIconButtonProps): react_jsx_runtime0.JSX.Element;
229
+ displayName: string;
230
+ };
231
+ /**
232
+ * The main container for a `Sheet`. Should be rendered as a child of the `Sheet` component.
233
+ * Renders on top of the overlay backdrop.
234
+ * Should contain the `Sheet.Header`, `Sheet.Body`, and `Sheet.Footer`.
235
+ *
236
+ * @see https://mantle.ngrok.com/components/sheet#sheetcontent
237
+ *
238
+ * @example
239
+ * ```tsx
240
+ * <Sheet.Root>
241
+ * <Sheet.Trigger asChild>
242
+ * <Button type="button" appearance="filled">
243
+ * Open Sheet
244
+ * </Button>
245
+ * </Sheet.Trigger>
246
+ * <Sheet.Content>
247
+ * <Sheet.Header>
248
+ * <Sheet.TitleGroup>
249
+ * <Sheet.Title>Sheet Title</Sheet.Title>
250
+ * <Sheet.Actions>
251
+ * <Sheet.CloseIconButton />
252
+ * </Sheet.Actions>
253
+ * </Sheet.TitleGroup>
254
+ * </Sheet.Header>
255
+ * <Sheet.Body>
256
+ * <p>This is the sheet content.</p>
257
+ * </Sheet.Body>
258
+ * </Sheet.Content>
259
+ * </Sheet.Root>
260
+ * ```
261
+ */
262
+ readonly Content: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog0.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
263
+ side?: "left" | "right" | null | undefined;
264
+ } & class_variance_authority_types0.ClassProp) | undefined) => string> & {
113
265
  /**
114
- * The root component for a `Sheet`. Should compose the `Sheet.Trigger` and `Sheet.Content`.
115
- * Acts as a stateful provider for the Sheet's open/closed state.
266
+ * The preferred width of the `Sheet.Content` as a tailwind `max-w-` class.
116
267
  *
117
- * @see https://mantle.ngrok.com/components/sheet#sheetroot
268
+ * By default, a `Sheet`'s content width is responsive with a default
269
+ * preferred width: the maximum width of the `Sheet.Content` when the window
270
+ * viewport is larger than the mobile breakpoint (`sm`).
118
271
  *
119
- * @example
120
- * ```tsx
121
- * // Triggering a stateful sheet
122
- * <Sheet.Root>
123
- * <Sheet.Trigger asChild>
124
- * <Button type="button" appearance="filled">
125
- * Open Sheet
126
- * </Button>
127
- * </Sheet.Trigger>
128
- * <Sheet.Content>
129
- * <Sheet.Header>
130
- * <Sheet.TitleGroup>
131
- * <Sheet.Title>Are you absolutely sure?</Sheet.Title>
132
- * <Sheet.Actions>
133
- * <Sheet.CloseIconButton />
134
- * </Sheet.Actions>
135
- * </Sheet.TitleGroup>
136
- * </Sheet.Header>
137
- * </Sheet.Content>
138
- * </Sheet.Root>
139
- * ```
272
+ * @default `sm:max-w-[30rem]`
140
273
  */
141
- readonly Root: typeof Root;
142
- /**
143
- * A group container for the actions of a `Sheet`. Typically rendered as a child of `Sheet.TitleGroup`.
144
- *
145
- * @see https://mantle.ngrok.com/components/sheet#sheetactions
146
- *
147
- * @example
148
- * ```tsx
149
- * <Sheet.TitleGroup>
150
- * <Sheet.Title>Are you absolutely sure?</Sheet.Title>
151
- * <Sheet.Actions>
152
- * <Sheet.CloseIconButton />
153
- * </Sheet.Actions>
154
- * </Sheet.TitleGroup>
155
- * ```
156
- */
157
- readonly Actions: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
158
- /**
159
- * The body container for a `Sheet`. This is where you would typically place the main content of the sheet, such as forms or text.
160
- * Should be rendered as a child of `Sheet.Content`.
161
- *
162
- * @see https://mantle.ngrok.com/components/sheet#sheetbody
163
- *
164
- * @example
165
- * ```tsx
166
- * <Sheet.Content>
167
- * <Sheet.Header>
168
- * <Sheet.TitleGroup>
169
- * <Sheet.Title>Sheet Title</Sheet.Title>
170
- * <Sheet.Actions>
171
- * <Sheet.CloseIconButton />
172
- * </Sheet.Actions>
173
- * </Sheet.TitleGroup>
174
- * </Sheet.Header>
175
- * <Sheet.Body>
176
- * <p>This is the sheet content.</p>
177
- * </Sheet.Body>
178
- * </Sheet.Content>
179
- * ```
180
- */
181
- readonly Body: {
182
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
183
- displayName: string;
184
- };
185
- /**
186
- * The close button for a `Sheet`. Should be rendered as a child of the `Sheet.Content` component.
187
- * Usually contained within the `Sheet.Footer` component.
188
- * Renders an unstyled button by default, but can be customized with the `asChild` prop.
189
- *
190
- * @see https://mantle.ngrok.com/components/sheet#sheetclose
191
- *
192
- * @example
193
- * ```tsx
194
- * <Sheet.Footer>
195
- * <Sheet.Close asChild>
196
- * <Button type="button">Close</Button>
197
- * </Sheet.Close>
198
- * </Sheet.Footer>
199
- * ```
200
- */
201
- readonly Close: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & react.RefAttributes<HTMLButtonElement>>;
202
- /**
203
- * An icon button that closes the `Sheet` when clicked.
204
- * Should be rendered within the `Sheet.Header` as a child of `Sheet.Actions`.
205
- *
206
- * @see https://mantle.ngrok.com/components/sheet#sheetcloseiconbutton
207
- *
208
- * @example
209
- * ```tsx
210
- * <Sheet.Header>
211
- * <Sheet.TitleGroup>
212
- * <Sheet.Title>Sheet Title</Sheet.Title>
213
- * <Sheet.Actions>
214
- * <Sheet.CloseIconButton />
215
- * </Sheet.Actions>
216
- * </Sheet.TitleGroup>
217
- * </Sheet.Header>
218
- * ```
219
- */
220
- readonly CloseIconButton: {
221
- ({ size, type, label, appearance, ...props }: SheetCloseIconButtonProps): react_jsx_runtime.JSX.Element;
222
- displayName: string;
223
- };
224
- /**
225
- * The main container for a `Sheet`. Should be rendered as a child of the `Sheet` component.
226
- * Renders on top of the overlay backdrop.
227
- * Should contain the `Sheet.Header`, `Sheet.Body`, and `Sheet.Footer`.
228
- *
229
- * @see https://mantle.ngrok.com/components/sheet#sheetcontent
230
- *
231
- * @example
232
- * ```tsx
233
- * <Sheet.Root>
234
- * <Sheet.Trigger asChild>
235
- * <Button type="button" appearance="filled">
236
- * Open Sheet
237
- * </Button>
238
- * </Sheet.Trigger>
239
- * <Sheet.Content>
240
- * <Sheet.Header>
241
- * <Sheet.TitleGroup>
242
- * <Sheet.Title>Sheet Title</Sheet.Title>
243
- * <Sheet.Actions>
244
- * <Sheet.CloseIconButton />
245
- * </Sheet.Actions>
246
- * </Sheet.TitleGroup>
247
- * </Sheet.Header>
248
- * <Sheet.Body>
249
- * <p>This is the sheet content.</p>
250
- * </Sheet.Body>
251
- * </Sheet.Content>
252
- * </Sheet.Root>
253
- * ```
254
- */
255
- readonly Content: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
256
- side?: "left" | "right" | null | undefined;
257
- } & class_variance_authority_types.ClassProp) | undefined) => string> & {
258
- /**
259
- * The preferred width of the `Sheet.Content` as a tailwind `max-w-` class.
260
- *
261
- * By default, a `Sheet`'s content width is responsive with a default
262
- * preferred width: the maximum width of the `Sheet.Content` when the window
263
- * viewport is larger than the mobile breakpoint (`sm`).
264
- *
265
- * @default `sm:max-w-[30rem]`
266
- */
267
- preferredWidth?: `sm:max-w-${string}`;
268
- } & react.RefAttributes<HTMLDivElement>>;
269
- /**
270
- * A description for a sheet. Typically rendered as a child of `Sheet.Header`.
271
- *
272
- * @see https://mantle.ngrok.com/components/sheet#sheetdescription
273
- *
274
- * @example
275
- * ```tsx
276
- * <Sheet.Header>
277
- * <Sheet.TitleGroup>
278
- * <Sheet.Title>Sheet Title</Sheet.Title>
279
- * <Sheet.Actions>
280
- * <Sheet.CloseIconButton />
281
- * </Sheet.Actions>
282
- * </Sheet.TitleGroup>
283
- * <Sheet.Description>
284
- * This action cannot be undone.
285
- * </Sheet.Description>
286
- * </Sheet.Header>
287
- * ```
288
- */
289
- readonly Description: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
290
- /**
291
- * The footer container for a `Sheet`. This is where you would typically place close and submit buttons.
292
- * Should be rendered as a child of `Sheet.Content`.
293
- *
294
- * @see https://mantle.ngrok.com/components/sheet#sheetfooter
295
- *
296
- * @example
297
- * ```tsx
298
- * <Sheet.Content>
299
- * <Sheet.Header>
300
- * <Sheet.TitleGroup>
301
- * <Sheet.Title>Sheet Title</Sheet.Title>
302
- * <Sheet.Actions>
303
- * <Sheet.CloseIconButton />
304
- * </Sheet.Actions>
305
- * </Sheet.TitleGroup>
306
- * </Sheet.Header>
307
- * <Sheet.Body>
308
- * <p>This is the sheet content.</p>
309
- * </Sheet.Body>
310
- * <Sheet.Footer>
311
- * <Sheet.Close asChild>
312
- * <Button type="button">Close</Button>
313
- * </Sheet.Close>
314
- * <Button type="button" appearance="filled">
315
- * Save
316
- * </Button>
317
- * </Sheet.Footer>
318
- * </Sheet.Content>
319
- * ```
320
- */
321
- readonly Footer: {
322
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
323
- displayName: string;
324
- };
325
- /**
326
- * The header container for a `Sheet`. This is where you would typically place the title, description, and actions.
327
- * Should be rendered as a child of `Sheet.Content`.
328
- *
329
- * @see https://mantle.ngrok.com/components/sheet#sheetheader
330
- *
331
- * @example
332
- * ```tsx
333
- * <Sheet.Content>
334
- * <Sheet.Header>
335
- * <Sheet.TitleGroup>
336
- * <Sheet.Title>Sheet Title</Sheet.Title>
337
- * <Sheet.Actions>
338
- * <Sheet.CloseIconButton />
339
- * </Sheet.Actions>
340
- * </Sheet.TitleGroup>
341
- * <Sheet.Description>
342
- * This action cannot be undone.
343
- * </Sheet.Description>
344
- * </Sheet.Header>
345
- * </Sheet.Content>
346
- * ```
347
- */
348
- readonly Header: {
349
- ({ className, ...props }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
350
- displayName: string;
351
- };
352
- /**
353
- * The title for a `Sheet`. Typically rendered as a child of `Sheet.TitleGroup`.
354
- * Defaults to an `h2` element, but can be changed via the `asChild` prop.
355
- *
356
- * @see https://mantle.ngrok.com/components/sheet#sheettitle
357
- *
358
- * @example
359
- * ```tsx
360
- * <Sheet.Header>
361
- * <Sheet.TitleGroup>
362
- * <Sheet.Title>Sheet Title</Sheet.Title>
363
- * <Sheet.Actions>
364
- * <Sheet.CloseIconButton />
365
- * </Sheet.Actions>
366
- * </Sheet.TitleGroup>
367
- * </Sheet.Header>
368
- * ```
369
- */
370
- readonly Title: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
371
- /**
372
- * A group container for the title and actions of a sheet. Typically rendered as a child of `Sheet.Header`.
373
- *
374
- * @see https://mantle.ngrok.com/components/sheet#sheettitlegroup
375
- *
376
- * @example
377
- * ```tsx
378
- * <Sheet.Header>
379
- * <Sheet.TitleGroup>
380
- * <Sheet.Title>Sheet Title</Sheet.Title>
381
- * <Sheet.Actions>
382
- * <Sheet.CloseIconButton />
383
- * </Sheet.Actions>
384
- * </Sheet.TitleGroup>
385
- * </Sheet.Header>
386
- * ```
387
- */
388
- readonly TitleGroup: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
389
- /**
390
- * The button trigger for a `Sheet`. Should be rendered as a child of the `Sheet` component.
391
- * Renders an unstyled button by default, but can be customized with the `asChild` prop.
392
- *
393
- * @see https://mantle.ngrok.com/components/sheet#sheettrigger
394
- *
395
- * @example
396
- * ```tsx
397
- * <Sheet.Root>
398
- * <Sheet.Trigger asChild>
399
- * <Button type="button" appearance="filled">
400
- * Open Sheet
401
- * </Button>
402
- * </Sheet.Trigger>
403
- * <Sheet.Content>
404
- * <p>This is the sheet content.</p>
405
- * </Sheet.Content>
406
- * </Sheet.Root>
407
- * ```
408
- */
409
- readonly Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
274
+ preferredWidth?: `sm:max-w-${string}`;
275
+ } & react.RefAttributes<HTMLDivElement>>;
276
+ /**
277
+ * A description for a sheet. Typically rendered as a child of `Sheet.Header`.
278
+ *
279
+ * @see https://mantle.ngrok.com/components/sheet#sheetdescription
280
+ *
281
+ * @example
282
+ * ```tsx
283
+ * <Sheet.Header>
284
+ * <Sheet.TitleGroup>
285
+ * <Sheet.Title>Sheet Title</Sheet.Title>
286
+ * <Sheet.Actions>
287
+ * <Sheet.CloseIconButton />
288
+ * </Sheet.Actions>
289
+ * </Sheet.TitleGroup>
290
+ * <Sheet.Description>
291
+ * This action cannot be undone.
292
+ * </Sheet.Description>
293
+ * </Sheet.Header>
294
+ * ```
295
+ */
296
+ readonly Description: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog0.DialogDescriptionProps & react.RefAttributes<HTMLParagraphElement>, "ref"> & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
297
+ /**
298
+ * The footer container for a `Sheet`. This is where you would typically place close and submit buttons.
299
+ * Should be rendered as a child of `Sheet.Content`.
300
+ *
301
+ * @see https://mantle.ngrok.com/components/sheet#sheetfooter
302
+ *
303
+ * @example
304
+ * ```tsx
305
+ * <Sheet.Content>
306
+ * <Sheet.Header>
307
+ * <Sheet.TitleGroup>
308
+ * <Sheet.Title>Sheet Title</Sheet.Title>
309
+ * <Sheet.Actions>
310
+ * <Sheet.CloseIconButton />
311
+ * </Sheet.Actions>
312
+ * </Sheet.TitleGroup>
313
+ * </Sheet.Header>
314
+ * <Sheet.Body>
315
+ * <p>This is the sheet content.</p>
316
+ * </Sheet.Body>
317
+ * <Sheet.Footer>
318
+ * <Sheet.Close asChild>
319
+ * <Button type="button">Close</Button>
320
+ * </Sheet.Close>
321
+ * <Button type="button" appearance="filled">
322
+ * Save
323
+ * </Button>
324
+ * </Sheet.Footer>
325
+ * </Sheet.Content>
326
+ * ```
327
+ */
328
+ readonly Footer: {
329
+ ({
330
+ className,
331
+ ...props
332
+ }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
333
+ displayName: string;
334
+ };
335
+ /**
336
+ * The header container for a `Sheet`. This is where you would typically place the title, description, and actions.
337
+ * Should be rendered as a child of `Sheet.Content`.
338
+ *
339
+ * @see https://mantle.ngrok.com/components/sheet#sheetheader
340
+ *
341
+ * @example
342
+ * ```tsx
343
+ * <Sheet.Content>
344
+ * <Sheet.Header>
345
+ * <Sheet.TitleGroup>
346
+ * <Sheet.Title>Sheet Title</Sheet.Title>
347
+ * <Sheet.Actions>
348
+ * <Sheet.CloseIconButton />
349
+ * </Sheet.Actions>
350
+ * </Sheet.TitleGroup>
351
+ * <Sheet.Description>
352
+ * This action cannot be undone.
353
+ * </Sheet.Description>
354
+ * </Sheet.Header>
355
+ * </Sheet.Content>
356
+ * ```
357
+ */
358
+ readonly Header: {
359
+ ({
360
+ className,
361
+ ...props
362
+ }: HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
363
+ displayName: string;
364
+ };
365
+ /**
366
+ * The title for a `Sheet`. Typically rendered as a child of `Sheet.TitleGroup`.
367
+ * Defaults to an `h2` element, but can be changed via the `asChild` prop.
368
+ *
369
+ * @see https://mantle.ngrok.com/components/sheet#sheettitle
370
+ *
371
+ * @example
372
+ * ```tsx
373
+ * <Sheet.Header>
374
+ * <Sheet.TitleGroup>
375
+ * <Sheet.Title>Sheet Title</Sheet.Title>
376
+ * <Sheet.Actions>
377
+ * <Sheet.CloseIconButton />
378
+ * </Sheet.Actions>
379
+ * </Sheet.TitleGroup>
380
+ * </Sheet.Header>
381
+ * ```
382
+ */
383
+ readonly Title: react.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog0.DialogTitleProps & react.RefAttributes<HTMLHeadingElement>, "ref"> & react.RefAttributes<HTMLHeadingElement>>;
384
+ /**
385
+ * A group container for the title and actions of a sheet. Typically rendered as a child of `Sheet.Header`.
386
+ *
387
+ * @see https://mantle.ngrok.com/components/sheet#sheettitlegroup
388
+ *
389
+ * @example
390
+ * ```tsx
391
+ * <Sheet.Header>
392
+ * <Sheet.TitleGroup>
393
+ * <Sheet.Title>Sheet Title</Sheet.Title>
394
+ * <Sheet.Actions>
395
+ * <Sheet.CloseIconButton />
396
+ * </Sheet.Actions>
397
+ * </Sheet.TitleGroup>
398
+ * </Sheet.Header>
399
+ * ```
400
+ */
401
+ readonly TitleGroup: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & react.RefAttributes<HTMLDivElement>>;
402
+ /**
403
+ * The button trigger for a `Sheet`. Should be rendered as a child of the `Sheet` component.
404
+ * Renders an unstyled button by default, but can be customized with the `asChild` prop.
405
+ *
406
+ * @see https://mantle.ngrok.com/components/sheet#sheettrigger
407
+ *
408
+ * @example
409
+ * ```tsx
410
+ * <Sheet.Root>
411
+ * <Sheet.Trigger asChild>
412
+ * <Button type="button" appearance="filled">
413
+ * Open Sheet
414
+ * </Button>
415
+ * </Sheet.Trigger>
416
+ * <Sheet.Content>
417
+ * <p>This is the sheet content.</p>
418
+ * </Sheet.Content>
419
+ * </Sheet.Root>
420
+ * ```
421
+ */
422
+ readonly Trigger: react.ForwardRefExoticComponent<_radix_ui_react_dialog0.DialogTriggerProps & react.RefAttributes<HTMLButtonElement>>;
410
423
  };
411
-
424
+ //#endregion
412
425
  export { Sheet };
426
+ //# sourceMappingURL=sheet.d.ts.map