@ngrok/mantle 0.79.3 → 0.80.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 (193) hide show
  1. package/dist/accordion.d.ts +169 -12
  2. package/dist/accordion.js +1 -1
  3. package/dist/agent.json +1 -1
  4. package/dist/alert-dialog.d.ts +496 -30
  5. package/dist/alert-dialog.js +1 -1
  6. package/dist/alert.d.ts +129 -9
  7. package/dist/alert.js +1 -1
  8. package/dist/anchor-_2meGDfj.js +1 -0
  9. package/dist/anchor.d.ts +2 -2
  10. package/dist/anchor.js +1 -1
  11. package/dist/as-child-D23mGo4f.d.ts +49 -0
  12. package/dist/badge.d.ts +44 -5
  13. package/dist/badge.js +1 -1
  14. package/dist/breadcrumb.d.ts +214 -14
  15. package/dist/breadcrumb.js +1 -1
  16. package/dist/button-5WsvzIQ6.js +1 -0
  17. package/dist/{button-DcXOWUYo.d.ts → button-BPMwa2jN.d.ts} +3 -3
  18. package/dist/button-D9n09xUg.js +1 -0
  19. package/dist/button.d.ts +3 -3
  20. package/dist/button.js +1 -1
  21. package/dist/calendar.d.ts +0 -3
  22. package/dist/calendar.js +1 -1
  23. package/dist/card.d.ts +146 -9
  24. package/dist/card.js +1 -1
  25. package/dist/centered-layout.d.ts +224 -8
  26. package/dist/centered-layout.js +1 -1
  27. package/dist/checkbox-Cq17y0-R.js +1 -0
  28. package/dist/checkbox.d.ts +12 -10
  29. package/dist/checkbox.js +1 -1
  30. package/dist/choice-Cc8dA5r8.js +1 -0
  31. package/dist/choice-Ct0KK8jw.d.ts +269 -0
  32. package/dist/choice.d.ts +1 -252
  33. package/dist/choice.js +1 -1
  34. package/dist/code-block.d.ts +270 -50
  35. package/dist/code-block.js +6 -6
  36. package/dist/code.d.ts +3 -2
  37. package/dist/code.js +1 -1
  38. package/dist/combobox.d.ts +190 -11
  39. package/dist/combobox.js +1 -1
  40. package/dist/command.d.ts +285 -81
  41. package/dist/command.js +1 -1
  42. package/dist/compose-refs-BdBMM9ga.js +1 -0
  43. package/dist/data-table.d.ts +33 -5
  44. package/dist/data-table.js +1 -1
  45. package/dist/description-list.d.ts +79 -6
  46. package/dist/description-list.js +1 -1
  47. package/dist/dialog-CQ2C6vkE.js +1 -0
  48. package/dist/dialog.d.ts +239 -18
  49. package/dist/dialog.js +1 -1
  50. package/dist/dropdown-menu-CSCDdA3K.js +1 -0
  51. package/dist/{dropdown-menu-DP_Ne9Mr.d.ts → dropdown-menu-CoyozLzy.d.ts} +170 -29
  52. package/dist/dropdown-menu.d.ts +2 -2
  53. package/dist/dropdown-menu.js +1 -1
  54. package/dist/empty.d.ts +1 -1
  55. package/dist/empty.js +1 -1
  56. package/dist/field.d.ts +596 -45
  57. package/dist/field.js +1 -1
  58. package/dist/flag.d.ts +0 -3
  59. package/dist/flag.js +1 -1
  60. package/dist/hooks.d.ts +3 -4
  61. package/dist/hooks.js +1 -1
  62. package/dist/hover-card.d.ts +54 -4
  63. package/dist/hover-card.js +1 -1
  64. package/dist/{icon-Cevjo93X.d.ts → icon-BDqpcZ-n.d.ts} +1 -1
  65. package/dist/icon-CGgMKpJg.js +1 -0
  66. package/dist/{icon-button-BvQvT790.d.ts → icon-button-C1AfGnQx.d.ts} +6 -60
  67. package/dist/icon-button-DiOhreJD.js +1 -0
  68. package/dist/icon.d.ts +2 -2
  69. package/dist/icon.js +1 -1
  70. package/dist/icons.d.ts +5 -13
  71. package/dist/icons.js +1 -1
  72. package/dist/{in-view-nkSOdED2.d.ts → in-view-DDEGUKDR.d.ts} +17 -9
  73. package/dist/index-B8mIWKIU.d.ts +211 -0
  74. package/dist/{index-Rv8RL7xy.d.ts → index-BtwKJTLq.d.ts} +1 -1
  75. package/dist/{index-BSAizFod.d.ts → index-C2jj8U4a.d.ts} +5 -5
  76. package/dist/index-CdPXa9h1.d.ts +1 -0
  77. package/dist/{index-D47aqlpz.d.ts → index-DA4ig3gj.d.ts} +1 -1
  78. package/dist/input-CVyAVbim.js +1 -0
  79. package/dist/{types-C19IR7jf.d.ts → input-DV9M6K4v.d.ts} +42 -2
  80. package/dist/input.d.ts +4 -55
  81. package/dist/input.js +1 -1
  82. package/dist/{label-v2-bv98k.d.ts → label-C6YH9skg.d.ts} +8 -6
  83. package/dist/label-D-D11mlp.js +1 -0
  84. package/dist/label.d.ts +1 -1
  85. package/dist/label.js +1 -1
  86. package/dist/list.d.ts +150 -6
  87. package/dist/list.js +1 -1
  88. package/dist/llms.txt +1 -1
  89. package/dist/main.d.ts +20 -4
  90. package/dist/main.js +1 -1
  91. package/dist/media-object.d.ts +27 -4
  92. package/dist/media-object.js +1 -1
  93. package/dist/multi-select.d.ts +312 -15
  94. package/dist/multi-select.js +1 -1
  95. package/dist/otp-input.d.ts +129 -5
  96. package/dist/otp-input.js +1 -1
  97. package/dist/pagination.d.ts +70 -6
  98. package/dist/pagination.js +1 -1
  99. package/dist/popover-CBMADtjV.js +1 -0
  100. package/dist/popover.d.ts +1 -181
  101. package/dist/popover.js +1 -1
  102. package/dist/primitive-CJRIlrLz.d.ts +31 -0
  103. package/dist/primitive-DCPHJsRs.js +1 -0
  104. package/dist/progress.js +1 -1
  105. package/dist/qr-code.d.ts +113 -5
  106. package/dist/qr-code.js +1 -1
  107. package/dist/radio-group.d.ts +128 -23
  108. package/dist/radio-group.js +1 -1
  109. package/dist/sandboxed-on-click.d.ts +2 -2
  110. package/dist/sandboxed-on-click.js +1 -1
  111. package/dist/select-SR_9-bxA.js +1 -0
  112. package/dist/select-idm1jy7y.d.ts +600 -0
  113. package/dist/select.d.ts +1 -1
  114. package/dist/select.js +1 -1
  115. package/dist/selectable-list.d.ts +252 -298
  116. package/dist/selectable-list.js +1 -1
  117. package/dist/separator-B5UmkVRL.d.ts +75 -0
  118. package/dist/separator-bpE_kooz.js +1 -0
  119. package/dist/separator.d.ts +1 -52
  120. package/dist/separator.js +1 -1
  121. package/dist/sheet.d.ts +295 -21
  122. package/dist/sheet.js +1 -1
  123. package/dist/skeleton-CsbUHbBA.js +1 -0
  124. package/dist/skeleton.d.ts +4 -7
  125. package/dist/skeleton.js +1 -1
  126. package/dist/skip-to-main-link.d.ts +24 -4
  127. package/dist/skip-to-main-link.js +1 -1
  128. package/dist/slot-CDk0Bb9z.js +1 -0
  129. package/dist/slot.d.ts +1 -1
  130. package/dist/slot.js +1 -1
  131. package/dist/{sort-BPX2Fk9t.js → sort-B_DDQcVD.js} +1 -1
  132. package/dist/split-button.d.ts +28 -13
  133. package/dist/split-button.js +1 -1
  134. package/dist/{svg-only-BFeFS1aa.d.ts → svg-only-CdI_v82i.d.ts} +1 -1
  135. package/dist/svg-only-d-nMCfAI.js +1 -0
  136. package/dist/switch.d.ts +9 -6
  137. package/dist/switch.js +1 -1
  138. package/dist/table-DUSvU_Jw.d.ts +875 -0
  139. package/dist/table-GDkapNFi.js +1 -0
  140. package/dist/table.d.ts +1 -1
  141. package/dist/table.js +1 -1
  142. package/dist/tabs.d.ts +135 -21
  143. package/dist/tabs.js +1 -1
  144. package/dist/text-area.d.ts +1 -1
  145. package/dist/text-area.js +1 -1
  146. package/dist/theme-provider-BftkIiZn.js +1 -0
  147. package/dist/theme-switcher.d.ts +110 -29
  148. package/dist/theme-switcher.js +1 -1
  149. package/dist/theme-wVnzzx2F.js +1 -0
  150. package/dist/theme.d.ts +53 -14
  151. package/dist/theme.js +1 -1
  152. package/dist/toast-DKgMRv4F.js +1 -0
  153. package/dist/toast.d.ts +98 -10
  154. package/dist/toast.js +1 -1
  155. package/dist/tooltip.d.ts +28 -1
  156. package/dist/tooltip.js +1 -1
  157. package/dist/{traffic-policy-file-0g5RXFqu.js → traffic-policy-file-CF1lbWtp.js} +1 -1
  158. package/dist/types.d.ts +2 -2
  159. package/dist/utils.d.ts +1 -1
  160. package/dist/utils.js +1 -1
  161. package/dist/virtual-UrzmaSQm.js +1 -0
  162. package/dist/well.d.ts +3 -3
  163. package/dist/well.js +1 -1
  164. package/package.json +3 -3
  165. package/dist/anchor-C_tjSVy6.js +0 -1
  166. package/dist/as-child-CYEVu1WY.d.ts +0 -23
  167. package/dist/button-5t6-JS_I.js +0 -1
  168. package/dist/button-ClC60Nzg.js +0 -1
  169. package/dist/checkbox-DJ2xl7Rc.js +0 -1
  170. package/dist/choice-DOdyNzFC.js +0 -1
  171. package/dist/compose-refs-Cjf2gfB8.js +0 -1
  172. package/dist/dialog-vxLIvB8M.js +0 -1
  173. package/dist/dropdown-menu-Bt1aKF1g.js +0 -1
  174. package/dist/icon-CDtYjF_H.js +0 -1
  175. package/dist/icon-button-DV2-GZHf.js +0 -1
  176. package/dist/index-g2rfwNCH.d.ts +0 -1
  177. package/dist/input-Ct1YOqSy.js +0 -1
  178. package/dist/label-BMlHW_2D.js +0 -1
  179. package/dist/popover-D5WxxnBY.js +0 -1
  180. package/dist/primitive-C64-m48O.d.ts +0 -13
  181. package/dist/primitive-IKruV2iB.js +0 -1
  182. package/dist/select-Bwt2YduR.d.ts +0 -345
  183. package/dist/select-D-5u0Blc.js +0 -1
  184. package/dist/separator-kBnnv3Cw.js +0 -1
  185. package/dist/skeleton-Bu3tgNcW.js +0 -1
  186. package/dist/slot-DmPrjM7N.js +0 -1
  187. package/dist/svg-only-DDx6FtJd.js +0 -1
  188. package/dist/table-CPH2md2-.js +0 -1
  189. package/dist/table-CwFHXC-G.d.ts +0 -414
  190. package/dist/theme-D3MDng6U.js +0 -1
  191. package/dist/theme-provider-C9zpDyJW.js +0 -1
  192. package/dist/toast-BsCjaMVS.js +0 -1
  193. package/dist/virtual-DZMBu7Ch.js +0 -1
@@ -1,8 +1,166 @@
1
- import { t as WithAsChild } from "./as-child-CYEVu1WY.js";
2
1
  import { t as WithDataSlot } from "./data-slot-CChfb_cv.js";
2
+ import { n as Separator } from "./separator-B5UmkVRL.js";
3
3
  import { ComponentProps } from "react";
4
4
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
5
5
  //#region src/components/dropdown-menu/dropdown-menu.d.ts
6
+ /**
7
+ * The trigger button that opens the dropdown menu.
8
+ *
9
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenutrigger
10
+ *
11
+ * @example
12
+ * ```tsx
13
+ * <DropdownMenu.Root>
14
+ * <DropdownMenu.Trigger asChild>
15
+ * <Button type="button" appearance="outlined" intent="neutral">
16
+ * Open Menu
17
+ * </Button>
18
+ * </DropdownMenu.Trigger>
19
+ * <DropdownMenu.Content>
20
+ * <DropdownMenu.Item>Item 1</DropdownMenu.Item>
21
+ * </DropdownMenu.Content>
22
+ * </DropdownMenu.Root>
23
+ * ```
24
+ */
25
+ declare const Trigger: {
26
+ (props: ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react").JSX.Element;
27
+ displayName: string;
28
+ };
29
+ declare const Group: {
30
+ ({ className, ...props }: ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react").JSX.Element;
31
+ displayName: string;
32
+ };
33
+ declare const RadioGroup: {
34
+ ({ className, ...props }: ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react").JSX.Element;
35
+ displayName: string;
36
+ };
37
+ /**
38
+ * A trigger for a dropdown menu sub-menu.
39
+ *
40
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenusubtrigger
41
+ */
42
+ declare const SubTrigger: {
43
+ ({ className, inset, children, ...props }: ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
44
+ inset?: boolean;
45
+ }): import("react").JSX.Element;
46
+ displayName: string;
47
+ };
48
+ /**
49
+ * The content container for a dropdown menu sub-menu.
50
+ *
51
+ * `DropdownMenu.SubContent` renders at Tailwind `z-50`, Mantle's shared
52
+ * floating z-index. When multiple shared layers are open, the most recently
53
+ * mounted layer renders on top.
54
+ *
55
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenusubcontent
56
+ */
57
+ declare const SubContent: {
58
+ ({ className, loop, ...props }: ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react").JSX.Element;
59
+ displayName: string;
60
+ };
61
+ type DropdownMenuContentProps = ComponentProps<typeof DropdownMenuPrimitive.Content> & WithDataSlot & {
62
+ /**
63
+ * Whether the DropdownMenuContent should match the width of the trigger or use the intrinsic content width.
64
+ */
65
+ width?: "trigger" | "content";
66
+ };
67
+ /**
68
+ * The container for the dropdown menu content.
69
+ *
70
+ * `DropdownMenu.Content` renders at Tailwind `z-50`, Mantle's shared floating
71
+ * z-index. When multiple shared layers are open, the most recently mounted
72
+ * layer renders on top.
73
+ *
74
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenucontent
75
+ *
76
+ * @example
77
+ * ```tsx
78
+ * <DropdownMenu.Root>
79
+ * <DropdownMenu.Trigger asChild>
80
+ * <Button type="button" appearance="outlined" intent="neutral">
81
+ * Open Menu
82
+ * </Button>
83
+ * </DropdownMenu.Trigger>
84
+ * <DropdownMenu.Content>
85
+ * <DropdownMenu.Item>Item 1</DropdownMenu.Item>
86
+ * <DropdownMenu.Item>Item 2</DropdownMenu.Item>
87
+ * </DropdownMenu.Content>
88
+ * </DropdownMenu.Root>
89
+ * ```
90
+ */
91
+ declare const Content: {
92
+ ({ className, "data-slot": dataSlot, onClick, loop, width, ...props }: DropdownMenuContentProps): import("react").JSX.Element;
93
+ displayName: string;
94
+ };
95
+ /**
96
+ * An item in the dropdown menu.
97
+ *
98
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenuitem
99
+ *
100
+ * @example
101
+ * ```tsx
102
+ * <DropdownMenu.Root>
103
+ * <DropdownMenu.Trigger asChild>
104
+ * <Button type="button" appearance="outlined" intent="neutral">
105
+ * Open Menu
106
+ * </Button>
107
+ * </DropdownMenu.Trigger>
108
+ * <DropdownMenu.Content>
109
+ * <DropdownMenu.Item>Item 1</DropdownMenu.Item>
110
+ * <DropdownMenu.Item>Item 2</DropdownMenu.Item>
111
+ * </DropdownMenu.Content>
112
+ * </DropdownMenu.Root>
113
+ * ```
114
+ */
115
+ declare const Item: {
116
+ ({ className, inset, ...props }: ComponentProps<typeof DropdownMenuPrimitive.Item> & {
117
+ inset?: boolean;
118
+ }): import("react").JSX.Element;
119
+ displayName: string;
120
+ };
121
+ /**
122
+ * A menu item with a checkbox that can be controlled or uncontrolled.
123
+ *
124
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenucheckboxitem
125
+ */
126
+ declare const CheckboxItem: {
127
+ ({ className, children, checked, ...props }: ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem>): import("react").JSX.Element;
128
+ displayName: string;
129
+ };
130
+ type DropdownMenuRadioItemProps = ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
131
+ name?: string;
132
+ id?: string;
133
+ };
134
+ /**
135
+ * A menu item with a radio button that can be controlled or uncontrolled.
136
+ * Used within a RadioGroup to create a set of mutually exclusive options.
137
+ *
138
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenuradioitem
139
+ */
140
+ declare const RadioItem: {
141
+ ({ className, children, ...props }: DropdownMenuRadioItemProps): import("react").JSX.Element;
142
+ displayName: string;
143
+ };
144
+ /**
145
+ * A label for a group of dropdown menu items.
146
+ *
147
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenulabel
148
+ */
149
+ declare const Label: {
150
+ ({ className, inset, ...props }: ComponentProps<typeof DropdownMenuPrimitive.Label> & {
151
+ inset?: boolean;
152
+ }): import("react").JSX.Element;
153
+ displayName: string;
154
+ };
155
+ /**
156
+ * A visual separator between dropdown menu items or groups.
157
+ *
158
+ * @see https://mantle.ngrok.com/components/overlays/dropdown-menu#dropdownmenuseparator
159
+ */
160
+ declare const DropdownSeparator: {
161
+ ({ className, ...props }: ComponentProps<typeof Separator>): import("react").JSX.Element;
162
+ displayName: string;
163
+ };
6
164
  declare const Shortcut: {
7
165
  ({ className, ...props }: ComponentProps<"span">): import("react").JSX.Element;
8
166
  displayName: string;
@@ -92,7 +250,7 @@ declare const DropdownMenu: {
92
250
  * </DropdownMenu.Root>
93
251
  * ```
94
252
  */
95
- readonly CheckboxItem: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
253
+ readonly CheckboxItem: typeof CheckboxItem;
96
254
  /**
97
255
  * The container for the dropdown menu content. Appears in a portal with scrolling and animations.
98
256
  *
@@ -113,12 +271,7 @@ declare const DropdownMenu: {
113
271
  * </DropdownMenu.Root>
114
272
  * ```
115
273
  */
116
- readonly Content: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & WithDataSlot & {
117
- /**
118
- * Whether the DropdownMenuContent should match the width of the trigger or use the intrinsic content width.
119
- */
120
- width?: "trigger" | "content";
121
- } & import("react").RefAttributes<HTMLDivElement>>;
274
+ readonly Content: typeof Content;
122
275
  /**
123
276
  * A group container for organizing related dropdown menu items.
124
277
  *
@@ -138,7 +291,7 @@ declare const DropdownMenu: {
138
291
  * </DropdownMenu.Root>
139
292
  * ```
140
293
  */
141
- readonly Group: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
294
+ readonly Group: typeof Group;
142
295
  /**
143
296
  * A standard item in the dropdown menu that can be selected or activated.
144
297
  *
@@ -159,9 +312,7 @@ declare const DropdownMenu: {
159
312
  * </DropdownMenu.Root>
160
313
  * ```
161
314
  */
162
- readonly Item: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
163
- inset?: boolean;
164
- } & import("react").RefAttributes<HTMLDivElement>>;
315
+ readonly Item: typeof Item;
165
316
  /**
166
317
  * A label for grouping and describing sections within the dropdown menu.
167
318
  *
@@ -179,9 +330,7 @@ declare const DropdownMenu: {
179
330
  * </DropdownMenu.Root>
180
331
  * ```
181
332
  */
182
- readonly Label: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
183
- inset?: boolean;
184
- } & import("react").RefAttributes<HTMLDivElement>>;
333
+ readonly Label: typeof Label;
185
334
  /**
186
335
  * A radio group container for exclusive selection within the dropdown menu.
187
336
  *
@@ -200,7 +349,7 @@ declare const DropdownMenu: {
200
349
  * </DropdownMenu.Root>
201
350
  * ```
202
351
  */
203
- readonly RadioGroup: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
352
+ readonly RadioGroup: typeof RadioGroup;
204
353
  /**
205
354
  * A radio item in the dropdown menu where only one item in the group can be selected.
206
355
  *
@@ -220,10 +369,7 @@ declare const DropdownMenu: {
220
369
  * </DropdownMenu.Root>
221
370
  * ```
222
371
  */
223
- readonly RadioItem: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
224
- name?: string;
225
- id?: string;
226
- } & import("react").RefAttributes<HTMLInputElement>>;
372
+ readonly RadioItem: typeof RadioItem;
227
373
  /**
228
374
  * A visual separator for dividing sections within the dropdown menu.
229
375
  *
@@ -242,10 +388,7 @@ declare const DropdownMenu: {
242
388
  * </DropdownMenu.Root>
243
389
  * ```
244
390
  */
245
- readonly Separator: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & WithAsChild & {
246
- orientation?: "horizontal" | "vertical";
247
- semantic?: boolean;
248
- }, "ref"> & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
391
+ readonly Separator: typeof DropdownSeparator;
249
392
  /**
250
393
  * A keyboard shortcut indicator for dropdown menu items.
251
394
  *
@@ -312,7 +455,7 @@ declare const DropdownMenu: {
312
455
  * </DropdownMenu.Root>
313
456
  * ```
314
457
  */
315
- readonly SubContent: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
458
+ readonly SubContent: typeof SubContent;
316
459
  /**
317
460
  * The trigger item that opens a submenu when hovered or focused.
318
461
  *
@@ -334,9 +477,7 @@ declare const DropdownMenu: {
334
477
  * </DropdownMenu.Root>
335
478
  * ```
336
479
  */
337
- readonly SubTrigger: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & import("react").RefAttributes<HTMLDivElement>, "ref"> & {
338
- inset?: boolean;
339
- } & import("react").RefAttributes<HTMLDivElement>>;
480
+ readonly SubTrigger: typeof SubTrigger;
340
481
  /**
341
482
  * The trigger button that opens the dropdown menu.
342
483
  *
@@ -356,7 +497,7 @@ declare const DropdownMenu: {
356
497
  * </DropdownMenu.Root>
357
498
  * ```
358
499
  */
359
- readonly Trigger: import("react").ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuTriggerProps & import("react").RefAttributes<HTMLButtonElement>, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
500
+ readonly Trigger: typeof Trigger;
360
501
  };
361
502
  //#endregion
362
503
  export { DropdownMenu as t };
@@ -1,3 +1,3 @@
1
- import { t as DropdownMenu } from "./dropdown-menu-DP_Ne9Mr.js";
2
- import "./index-g2rfwNCH.js";
1
+ import { t as DropdownMenu } from "./dropdown-menu-CoyozLzy.js";
2
+ import "./index-CdPXa9h1.js";
3
3
  export { DropdownMenu };
@@ -1 +1 @@
1
- import{t as e}from"./dropdown-menu-Bt1aKF1g.js";export{e as DropdownMenu};
1
+ import{t as e}from"./dropdown-menu-CSCDdA3K.js";export{e as DropdownMenu};
package/dist/empty.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as WithAsChild } from "./as-child-CYEVu1WY.js";
1
+ import { n as WithAsChild } from "./as-child-D23mGo4f.js";
2
2
  import { t as SvgAttributes } from "./types-D1RY5Tcj.js";
3
3
  import { ComponentProps, HTMLAttributes, ReactNode } from "react";
4
4
  //#region src/components/empty/empty.d.ts
package/dist/empty.js CHANGED
@@ -1 +1 @@
1
- import{t as e}from"./cx-IiQEAKf5.js";import{t}from"./svg-only-DDx6FtJd.js";import{t as n}from"./slot-DmPrjM7N.js";import{jsx as r}from"react/jsx-runtime";const i=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty`,className:e(`mx-auto flex max-w-lg flex-col items-center p-6 text-center`,a),...o,children:i});i.displayName=`Empty`;const a=({className:n,svg:i,...a})=>r(t,{"data-slot":`empty-icon`,className:e(`mb-1 size-10 text-neutral-400`,n),svg:i,...a});a.displayName=`EmptyIcon`;const o=({asChild:t,children:i,className:a,...o})=>r(t?n:`h3`,{"data-slot":`empty-title`,className:e(`text-strong text-sm font-medium font-sans`,a),...o,children:i});o.displayName=`EmptyTitle`;const s=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty-description`,className:e(`text-muted space-y-4 text-sm font-sans`,a),...o,children:i});s.displayName=`EmptyDescription`;const c=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty-actions`,className:e(`mt-4 flex items-center gap-2`,a),...o,children:i});c.displayName=`EmptyActions`;const l={Root:i,Icon:a,Title:o,Description:s,Actions:c};export{l as Empty};
1
+ import{t as e}from"./cx-IiQEAKf5.js";import{t}from"./svg-only-d-nMCfAI.js";import{t as n}from"./slot-CDk0Bb9z.js";import{jsx as r}from"react/jsx-runtime";const i=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty`,className:e(`mx-auto flex max-w-lg flex-col items-center p-6 text-center`,a),...o,children:i});i.displayName=`Empty`;const a=({className:n,svg:i,...a})=>r(t,{"data-slot":`empty-icon`,className:e(`mb-1 size-10 text-neutral-400`,n),svg:i,...a});a.displayName=`EmptyIcon`;const o=({asChild:t,children:i,className:a,...o})=>r(t?n:`h3`,{"data-slot":`empty-title`,className:e(`text-strong text-sm font-medium font-sans`,a),...o,children:i});o.displayName=`EmptyTitle`;const s=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty-description`,className:e(`text-muted space-y-4 text-sm font-sans`,a),...o,children:i});s.displayName=`EmptyDescription`;const c=({asChild:t,children:i,className:a,...o})=>r(t?n:`div`,{"data-slot":`empty-actions`,className:e(`mt-4 flex items-center gap-2`,a),...o,children:i});c.displayName=`EmptyActions`;const l={Root:i,Icon:a,Title:o,Description:s,Actions:c};export{l as Empty};