@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.
- package/dist/accordion.d.ts +169 -12
- package/dist/accordion.js +1 -1
- package/dist/agent.json +1 -1
- package/dist/alert-dialog.d.ts +496 -30
- package/dist/alert-dialog.js +1 -1
- package/dist/alert.d.ts +129 -9
- package/dist/alert.js +1 -1
- package/dist/anchor-_2meGDfj.js +1 -0
- package/dist/anchor.d.ts +2 -2
- package/dist/anchor.js +1 -1
- package/dist/as-child-D23mGo4f.d.ts +49 -0
- package/dist/badge.d.ts +44 -5
- package/dist/badge.js +1 -1
- package/dist/breadcrumb.d.ts +214 -14
- package/dist/breadcrumb.js +1 -1
- package/dist/button-5WsvzIQ6.js +1 -0
- package/dist/{button-DcXOWUYo.d.ts → button-BPMwa2jN.d.ts} +3 -3
- package/dist/button-D9n09xUg.js +1 -0
- package/dist/button.d.ts +3 -3
- package/dist/button.js +1 -1
- package/dist/calendar.d.ts +0 -3
- package/dist/calendar.js +1 -1
- package/dist/card.d.ts +146 -9
- package/dist/card.js +1 -1
- package/dist/centered-layout.d.ts +224 -8
- package/dist/centered-layout.js +1 -1
- package/dist/checkbox-Cq17y0-R.js +1 -0
- package/dist/checkbox.d.ts +12 -10
- package/dist/checkbox.js +1 -1
- package/dist/choice-Cc8dA5r8.js +1 -0
- package/dist/choice-Ct0KK8jw.d.ts +269 -0
- package/dist/choice.d.ts +1 -252
- package/dist/choice.js +1 -1
- package/dist/code-block.d.ts +270 -50
- package/dist/code-block.js +6 -6
- package/dist/code.d.ts +3 -2
- package/dist/code.js +1 -1
- package/dist/combobox.d.ts +190 -11
- package/dist/combobox.js +1 -1
- package/dist/command.d.ts +285 -81
- package/dist/command.js +1 -1
- package/dist/compose-refs-BdBMM9ga.js +1 -0
- package/dist/data-table.d.ts +33 -5
- package/dist/data-table.js +1 -1
- package/dist/description-list.d.ts +79 -6
- package/dist/description-list.js +1 -1
- package/dist/dialog-CQ2C6vkE.js +1 -0
- package/dist/dialog.d.ts +239 -18
- package/dist/dialog.js +1 -1
- package/dist/dropdown-menu-CSCDdA3K.js +1 -0
- package/dist/{dropdown-menu-DP_Ne9Mr.d.ts → dropdown-menu-CoyozLzy.d.ts} +170 -29
- package/dist/dropdown-menu.d.ts +2 -2
- package/dist/dropdown-menu.js +1 -1
- package/dist/empty.d.ts +1 -1
- package/dist/empty.js +1 -1
- package/dist/field.d.ts +596 -45
- package/dist/field.js +1 -1
- package/dist/flag.d.ts +0 -3
- package/dist/flag.js +1 -1
- package/dist/hooks.d.ts +3 -4
- package/dist/hooks.js +1 -1
- package/dist/hover-card.d.ts +54 -4
- package/dist/hover-card.js +1 -1
- package/dist/{icon-Cevjo93X.d.ts → icon-BDqpcZ-n.d.ts} +1 -1
- package/dist/icon-CGgMKpJg.js +1 -0
- package/dist/{icon-button-BvQvT790.d.ts → icon-button-C1AfGnQx.d.ts} +6 -60
- package/dist/icon-button-DiOhreJD.js +1 -0
- package/dist/icon.d.ts +2 -2
- package/dist/icon.js +1 -1
- package/dist/icons.d.ts +5 -13
- package/dist/icons.js +1 -1
- package/dist/{in-view-nkSOdED2.d.ts → in-view-DDEGUKDR.d.ts} +17 -9
- package/dist/index-B8mIWKIU.d.ts +211 -0
- package/dist/{index-Rv8RL7xy.d.ts → index-BtwKJTLq.d.ts} +1 -1
- package/dist/{index-BSAizFod.d.ts → index-C2jj8U4a.d.ts} +5 -5
- package/dist/index-CdPXa9h1.d.ts +1 -0
- package/dist/{index-D47aqlpz.d.ts → index-DA4ig3gj.d.ts} +1 -1
- package/dist/input-CVyAVbim.js +1 -0
- package/dist/{types-C19IR7jf.d.ts → input-DV9M6K4v.d.ts} +42 -2
- package/dist/input.d.ts +4 -55
- package/dist/input.js +1 -1
- package/dist/{label-v2-bv98k.d.ts → label-C6YH9skg.d.ts} +8 -6
- package/dist/label-D-D11mlp.js +1 -0
- package/dist/label.d.ts +1 -1
- package/dist/label.js +1 -1
- package/dist/list.d.ts +150 -6
- package/dist/list.js +1 -1
- package/dist/llms.txt +1 -1
- package/dist/main.d.ts +20 -4
- package/dist/main.js +1 -1
- package/dist/media-object.d.ts +27 -4
- package/dist/media-object.js +1 -1
- package/dist/multi-select.d.ts +312 -15
- package/dist/multi-select.js +1 -1
- package/dist/otp-input.d.ts +129 -5
- package/dist/otp-input.js +1 -1
- package/dist/pagination.d.ts +70 -6
- package/dist/pagination.js +1 -1
- package/dist/popover-CBMADtjV.js +1 -0
- package/dist/popover.d.ts +1 -181
- package/dist/popover.js +1 -1
- package/dist/primitive-CJRIlrLz.d.ts +31 -0
- package/dist/primitive-DCPHJsRs.js +1 -0
- package/dist/progress.js +1 -1
- package/dist/qr-code.d.ts +113 -5
- package/dist/qr-code.js +1 -1
- package/dist/radio-group.d.ts +128 -23
- package/dist/radio-group.js +1 -1
- package/dist/sandboxed-on-click.d.ts +2 -2
- package/dist/sandboxed-on-click.js +1 -1
- package/dist/select-SR_9-bxA.js +1 -0
- package/dist/select-idm1jy7y.d.ts +600 -0
- package/dist/select.d.ts +1 -1
- package/dist/select.js +1 -1
- package/dist/selectable-list.d.ts +252 -298
- package/dist/selectable-list.js +1 -1
- package/dist/separator-B5UmkVRL.d.ts +75 -0
- package/dist/separator-bpE_kooz.js +1 -0
- package/dist/separator.d.ts +1 -52
- package/dist/separator.js +1 -1
- package/dist/sheet.d.ts +295 -21
- package/dist/sheet.js +1 -1
- package/dist/skeleton-CsbUHbBA.js +1 -0
- package/dist/skeleton.d.ts +4 -7
- package/dist/skeleton.js +1 -1
- package/dist/skip-to-main-link.d.ts +24 -4
- package/dist/skip-to-main-link.js +1 -1
- package/dist/slot-CDk0Bb9z.js +1 -0
- package/dist/slot.d.ts +1 -1
- package/dist/slot.js +1 -1
- package/dist/{sort-BPX2Fk9t.js → sort-B_DDQcVD.js} +1 -1
- package/dist/split-button.d.ts +28 -13
- package/dist/split-button.js +1 -1
- package/dist/{svg-only-BFeFS1aa.d.ts → svg-only-CdI_v82i.d.ts} +1 -1
- package/dist/svg-only-d-nMCfAI.js +1 -0
- package/dist/switch.d.ts +9 -6
- package/dist/switch.js +1 -1
- package/dist/table-DUSvU_Jw.d.ts +875 -0
- package/dist/table-GDkapNFi.js +1 -0
- package/dist/table.d.ts +1 -1
- package/dist/table.js +1 -1
- package/dist/tabs.d.ts +135 -21
- package/dist/tabs.js +1 -1
- package/dist/text-area.d.ts +1 -1
- package/dist/text-area.js +1 -1
- package/dist/theme-provider-BftkIiZn.js +1 -0
- package/dist/theme-switcher.d.ts +110 -29
- package/dist/theme-switcher.js +1 -1
- package/dist/theme-wVnzzx2F.js +1 -0
- package/dist/theme.d.ts +53 -14
- package/dist/theme.js +1 -1
- package/dist/toast-DKgMRv4F.js +1 -0
- package/dist/toast.d.ts +98 -10
- package/dist/toast.js +1 -1
- package/dist/tooltip.d.ts +28 -1
- package/dist/tooltip.js +1 -1
- package/dist/{traffic-policy-file-0g5RXFqu.js → traffic-policy-file-CF1lbWtp.js} +1 -1
- package/dist/types.d.ts +2 -2
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/dist/virtual-UrzmaSQm.js +1 -0
- package/dist/well.d.ts +3 -3
- package/dist/well.js +1 -1
- package/package.json +3 -3
- package/dist/anchor-C_tjSVy6.js +0 -1
- package/dist/as-child-CYEVu1WY.d.ts +0 -23
- package/dist/button-5t6-JS_I.js +0 -1
- package/dist/button-ClC60Nzg.js +0 -1
- package/dist/checkbox-DJ2xl7Rc.js +0 -1
- package/dist/choice-DOdyNzFC.js +0 -1
- package/dist/compose-refs-Cjf2gfB8.js +0 -1
- package/dist/dialog-vxLIvB8M.js +0 -1
- package/dist/dropdown-menu-Bt1aKF1g.js +0 -1
- package/dist/icon-CDtYjF_H.js +0 -1
- package/dist/icon-button-DV2-GZHf.js +0 -1
- package/dist/index-g2rfwNCH.d.ts +0 -1
- package/dist/input-Ct1YOqSy.js +0 -1
- package/dist/label-BMlHW_2D.js +0 -1
- package/dist/popover-D5WxxnBY.js +0 -1
- package/dist/primitive-C64-m48O.d.ts +0 -13
- package/dist/primitive-IKruV2iB.js +0 -1
- package/dist/select-Bwt2YduR.d.ts +0 -345
- package/dist/select-D-5u0Blc.js +0 -1
- package/dist/separator-kBnnv3Cw.js +0 -1
- package/dist/skeleton-Bu3tgNcW.js +0 -1
- package/dist/slot-DmPrjM7N.js +0 -1
- package/dist/svg-only-DDx6FtJd.js +0 -1
- package/dist/table-CPH2md2-.js +0 -1
- package/dist/table-CwFHXC-G.d.ts +0 -414
- package/dist/theme-D3MDng6U.js +0 -1
- package/dist/theme-provider-C9zpDyJW.js +0 -1
- package/dist/toast-BsCjaMVS.js +0 -1
- 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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
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:
|
|
500
|
+
readonly Trigger: typeof Trigger;
|
|
360
501
|
};
|
|
361
502
|
//#endregion
|
|
362
503
|
export { DropdownMenu as t };
|
package/dist/dropdown-menu.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as DropdownMenu } from "./dropdown-menu-
|
|
2
|
-
import "./index-
|
|
1
|
+
import { t as DropdownMenu } from "./dropdown-menu-CoyozLzy.js";
|
|
2
|
+
import "./index-CdPXa9h1.js";
|
|
3
3
|
export { DropdownMenu };
|
package/dist/dropdown-menu.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as e}from"./dropdown-menu-
|
|
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 {
|
|
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-
|
|
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};
|