@mcp-b/react-components 0.35.0 → 0.36.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/{AgentChat-mpacmRU1.d.ts → AgentChat-CVO7xyLC.d.ts} +1 -1
- package/dist/{CodeBlock-CM5gfmdq.js → CodeBlock-Bk4nn7l-.js} +4 -3
- package/dist/{CodeBlock-DzGhYyNe.d.ts → CodeBlock-C380GD5t.d.ts} +2 -5
- package/dist/{Dialog-DeOSJ0Oy.d.ts → Dialog-B_FhRWaz.d.ts} +22 -37
- package/dist/{Menu-DVmjBIuM.d.ts → Menu-yb6QXWA3.d.ts} +64 -75
- package/dist/{PromptInput-DOyee1kM.d.ts → PromptInput-BRX7FhjH.d.ts} +7 -272
- package/dist/ResponsiveSidebarShell-DWjULskY.d.ts +68 -0
- package/dist/{Select-D96d09ww.d.ts → Select-RrceeEIe.d.ts} +17 -52
- package/dist/{ThinkChat-DbzqSTBt.js → ThinkChat-ByR-QT_D.js} +5 -7
- package/dist/{ThinkChatActivity-BZyN5MBg.d.ts → ThinkChatActivity-Dkmm2pIj.d.ts} +1 -1
- package/dist/{ToggleGroup-CSBWfPXo.d.ts → ToggleGroup-BrQZOQn_.d.ts} +4 -6
- package/dist/{WorkspaceFile-CVAzjTt6.d.ts → WorkspaceFile-BLaFmMrt.d.ts} +1 -1
- package/dist/{WorkspaceFileView-BmxSbhRu.js → WorkspaceFileView-DTHJLKW_.js} +9 -15
- package/dist/components/agents-sdk/AgentChat.d.ts +1 -1
- package/dist/components/agents-sdk/AgentChat.js +27 -21
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +47 -1
- package/dist/components/agents-sdk/BrowserReplay.d.ts +40 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +13 -14
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +16 -23
- package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +18 -16
- package/dist/components/agents-sdk/ModelSelector.d.ts +9 -9
- package/dist/components/agents-sdk/ModelSelector.js +504 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +17 -107
- package/dist/components/agents-sdk/ThinkChat.js +2 -12
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +2 -4
- package/dist/components/agents-sdk/ThinkChatActivity.js +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +1 -1
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +4 -4
- package/dist/components/agents-sdk/ThinkFullApp.js +7 -11
- package/dist/components/agents-sdk/ThinkFullAppViewSwitch.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkRoutineForm.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineLibrary.d.ts +2 -3
- package/dist/components/agents-sdk/ThinkRoutineLibrary.js +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +2 -3
- package/dist/components/agents-sdk/ThinkThreadShell.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +140 -2
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +32 -5
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -5
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/ai-sdk/Activity.d.ts +5 -0
- package/dist/components/ai-sdk/Activity.js +33 -13
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/Message.js +1 -5
- package/dist/components/ai-sdk/MessageScroller.d.ts +5 -0
- package/dist/components/ai-sdk/MessageScroller.js +18 -12
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +18 -10
- package/dist/components/ai-sdk/PromptInput.d.ts +2 -2
- package/dist/components/ai-sdk/PromptInput.js +123 -126
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.d.ts +3 -4
- package/dist/components/ai-sdk/Reasoning.js +29 -13
- package/dist/components/ai-sdk/ToolInvocation.d.ts +3 -5
- package/dist/components/extension/ChatGptSignInScreen.js +2 -2
- package/dist/components/extension/CodexModelSelector.d.ts +1 -1
- package/dist/components/foundations/Accordion.d.ts +1 -3
- package/dist/components/foundations/Accordion.js +1 -3
- package/dist/components/foundations/AlertDialog.d.ts +16 -36
- package/dist/components/foundations/Autocomplete.d.ts +12 -33
- package/dist/components/foundations/Autocomplete.js +2 -1
- package/dist/components/foundations/Combobox.d.ts +119 -2
- package/dist/components/foundations/Combobox.js +6 -23
- package/dist/components/foundations/ContextMenu.d.ts +50 -57
- package/dist/components/foundations/ContextMenu.js +4 -28
- package/dist/components/foundations/DescriptionList.d.ts +34 -2
- package/dist/components/foundations/DescriptionList.js +33 -2
- package/dist/components/foundations/Dialog.d.ts +1 -1
- package/dist/components/foundations/Dialog.js +2 -1
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menu.js +3 -21
- package/dist/components/foundations/Menubar.d.ts +35 -64
- package/dist/components/foundations/Menubar.js +3 -22
- package/dist/components/foundations/Popover.d.ts +8 -21
- package/dist/components/foundations/Popover.js +3 -48
- package/dist/components/foundations/PreviewCard.d.ts +44 -29
- package/dist/components/foundations/PreviewCard.js +3 -6
- package/dist/components/foundations/RadioGroup.d.ts +4 -6
- package/dist/components/foundations/Select.d.ts +1 -1
- package/dist/components/foundations/Select.js +7 -21
- package/dist/components/foundations/Slider.d.ts +31 -44
- package/dist/components/foundations/Slider.js +26 -25
- package/dist/components/foundations/Stepper.d.ts +3 -3
- package/dist/components/foundations/Stepper.js +5 -6
- package/dist/components/foundations/ToggleGroup.d.ts +1 -1
- package/dist/components/foundations/Tooltip.d.ts +6 -8
- package/dist/components/foundations/Tooltip.js +4 -3
- package/dist/components/general-purpose/Commit.js +1 -1
- package/dist/components/general-purpose/EnvironmentVariables.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.d.ts +2 -3
- package/dist/components/general-purpose/PricingBillingToggle.js +4 -22
- package/dist/components/general-purpose/PricingPage.d.ts +3 -4
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -67
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +7 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +17 -2
- package/dist/components/general-purpose/Terminal.js +3 -3
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.js +4 -4
- package/dist/components/nanites/AgentConnection.js +16 -11
- package/dist/components/nanites/AgentToolDetail.js +1 -1
- package/dist/{mcp-server-U71zhxFF.js → mcp-server-SD_S-IpB.js} +18 -2
- package/dist/message-scroller-C8cplcQO.js +32 -0
- package/dist/provider-logos-zjZycgV6.js +74 -0
- package/dist/styles/agent-chat.css +9 -0
- package/dist/styles/agent-connection.css +4 -31
- package/dist/styles/alert-dialog.css +0 -2
- package/dist/styles/base-ui-motion.css +7 -5
- package/dist/styles/chatgpt-sign-in-screen.css +5 -3
- package/dist/styles/dialog.css +0 -2
- package/dist/styles/model-selector.css +30 -12
- package/dist/styles/popover.css +0 -1
- package/dist/styles/preview-card.css +0 -4
- package/dist/styles/pricing-page.css +1 -13
- package/dist/styles/prompt-input.css +12 -10
- package/dist/styles/recipes.css +22 -14
- package/dist/styles/slider.css +2 -2
- package/dist/styles/tooltip.css +0 -1
- package/dist/utils/structured-code.d.ts +1 -1
- package/package.json +17 -7
- package/dist/BrowserLiveView-tJTWkoyu.d.ts +0 -48
- package/dist/BrowserReplay-B0BQZr-N.d.ts +0 -41
- package/dist/Combobox-WrrDDaEv.d.ts +0 -154
- package/dist/ModelSelector-DtBxWqRn.js +0 -504
- package/dist/Workspace-GTlqvcIn.d.ts +0 -278
- package/dist/WorkspaceExplorer-Cu044amt.d.ts +0 -32
- package/dist/components/foundations/DescriptionListParts.d.ts +0 -37
- package/dist/components/foundations/DescriptionListParts.js +0 -35
|
@@ -6,57 +6,56 @@ import { Menubar as Menubar$1 } from "@base-ui/react/menubar";
|
|
|
6
6
|
/**
|
|
7
7
|
* Props for the Menubar component.
|
|
8
8
|
*/
|
|
9
|
-
interface MenubarProps extends React.
|
|
9
|
+
interface MenubarProps extends React.ComponentPropsWithRef<typeof Menubar$1> {}
|
|
10
10
|
/**
|
|
11
11
|
* Props for the Menubar.Menu component.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
type MenubarMenuProps<Payload = unknown> = Menu.Root.Props<Payload>;
|
|
14
14
|
/**
|
|
15
15
|
* Props for the Menubar.Trigger component.
|
|
16
16
|
*/
|
|
17
|
-
|
|
18
|
-
/** Skip the default Button chrome when a composed control owns its visuals. */
|
|
19
|
-
|
|
20
|
-
}
|
|
17
|
+
type MenubarTriggerProps<Payload = unknown> = Menu.Trigger.Props<Payload> & React.RefAttributes<HTMLElement> & {
|
|
18
|
+
/** Skip the default Button chrome when a composed control owns its visuals. */unstyled?: boolean;
|
|
19
|
+
};
|
|
21
20
|
/**
|
|
22
21
|
* Props for the Menubar.Portal component.
|
|
23
22
|
*/
|
|
24
|
-
interface MenubarPortalProps extends React.
|
|
23
|
+
interface MenubarPortalProps extends React.ComponentPropsWithRef<typeof Menu.Portal> {}
|
|
25
24
|
/**
|
|
26
25
|
* Props for the Menubar.Positioner component.
|
|
27
26
|
*/
|
|
28
|
-
interface MenubarPositionerProps extends React.
|
|
27
|
+
interface MenubarPositionerProps extends React.ComponentPropsWithRef<typeof Menu.Positioner> {}
|
|
29
28
|
/**
|
|
30
29
|
* Props for the Menubar.Popup component.
|
|
31
30
|
*/
|
|
32
|
-
interface MenubarPopupProps extends React.
|
|
31
|
+
interface MenubarPopupProps extends React.ComponentPropsWithRef<typeof Menu.Popup> {}
|
|
33
32
|
/**
|
|
34
33
|
* Props for the Menubar.Item component.
|
|
35
34
|
*/
|
|
36
|
-
interface MenubarItemProps extends React.
|
|
35
|
+
interface MenubarItemProps extends React.ComponentPropsWithRef<typeof Menu.Item> {
|
|
37
36
|
inset?: boolean;
|
|
38
37
|
variant?: "default" | "destructive";
|
|
39
38
|
}
|
|
40
39
|
/**
|
|
41
40
|
* Props for the Menubar.Separator component.
|
|
42
41
|
*/
|
|
43
|
-
interface MenubarSeparatorProps extends React.
|
|
42
|
+
interface MenubarSeparatorProps extends React.ComponentPropsWithRef<typeof Menu.Separator> {}
|
|
44
43
|
/**
|
|
45
44
|
* Props for the Menubar.Group component.
|
|
46
45
|
*/
|
|
47
|
-
interface MenubarGroupProps extends React.
|
|
46
|
+
interface MenubarGroupProps extends React.ComponentPropsWithRef<typeof Menu.Group> {}
|
|
48
47
|
/**
|
|
49
48
|
* Props for the Menubar.GroupLabel component.
|
|
50
49
|
*/
|
|
51
|
-
interface MenubarGroupLabelProps extends React.
|
|
50
|
+
interface MenubarGroupLabelProps extends React.ComponentPropsWithRef<typeof Menu.GroupLabel> {
|
|
52
51
|
inset?: boolean;
|
|
53
52
|
}
|
|
54
|
-
interface MenubarCheckboxItemProps extends React.
|
|
55
|
-
interface MenubarRadioGroupProps extends React.
|
|
56
|
-
interface MenubarRadioItemProps extends React.
|
|
57
|
-
interface MenubarShortcutProps extends React.
|
|
58
|
-
interface MenubarSubmenuRootProps extends
|
|
59
|
-
interface MenubarSubmenuTriggerProps extends React.
|
|
53
|
+
interface MenubarCheckboxItemProps extends React.ComponentPropsWithRef<typeof Menu.CheckboxItem> {}
|
|
54
|
+
interface MenubarRadioGroupProps extends React.ComponentPropsWithRef<typeof Menu.RadioGroup> {}
|
|
55
|
+
interface MenubarRadioItemProps extends React.ComponentPropsWithRef<typeof Menu.RadioItem> {}
|
|
56
|
+
interface MenubarShortcutProps extends React.ComponentPropsWithRef<"span"> {}
|
|
57
|
+
interface MenubarSubmenuRootProps extends Menu.SubmenuRoot.Props {}
|
|
58
|
+
interface MenubarSubmenuTriggerProps extends React.ComponentPropsWithRef<typeof Menu.SubmenuTrigger> {
|
|
60
59
|
inset?: boolean;
|
|
61
60
|
}
|
|
62
61
|
/**
|
|
@@ -86,20 +85,16 @@ declare function MenubarRoot({
|
|
|
86
85
|
className,
|
|
87
86
|
ref,
|
|
88
87
|
...props
|
|
89
|
-
}: MenubarProps
|
|
90
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
91
|
-
}): React.JSX.Element;
|
|
88
|
+
}: MenubarProps): React.JSX.Element;
|
|
92
89
|
/**
|
|
93
90
|
* Button that opens the menu.
|
|
94
91
|
*/
|
|
95
|
-
declare function MenubarTrigger({
|
|
92
|
+
declare function MenubarTrigger<Payload>({
|
|
96
93
|
unstyled,
|
|
97
94
|
className,
|
|
98
95
|
ref,
|
|
99
96
|
...props
|
|
100
|
-
}: MenubarTriggerProps
|
|
101
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
102
|
-
}): React.JSX.Element;
|
|
97
|
+
}: MenubarTriggerProps<Payload>): React.JSX.Element;
|
|
103
98
|
/**
|
|
104
99
|
* Positions the menu popup.
|
|
105
100
|
*/
|
|
@@ -107,9 +102,7 @@ declare function MenubarPositioner({
|
|
|
107
102
|
className,
|
|
108
103
|
ref,
|
|
109
104
|
...props
|
|
110
|
-
}: MenubarPositionerProps
|
|
111
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
112
|
-
}): React.JSX.Element;
|
|
105
|
+
}: MenubarPositionerProps): React.JSX.Element;
|
|
113
106
|
/**
|
|
114
107
|
* Container for menu items.
|
|
115
108
|
*/
|
|
@@ -117,9 +110,7 @@ declare function MenubarPopup({
|
|
|
117
110
|
className,
|
|
118
111
|
ref,
|
|
119
112
|
...props
|
|
120
|
-
}: MenubarPopupProps
|
|
121
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
122
|
-
}): React.JSX.Element;
|
|
113
|
+
}: MenubarPopupProps): React.JSX.Element;
|
|
123
114
|
/**
|
|
124
115
|
* Interactive menu item.
|
|
125
116
|
*/
|
|
@@ -129,9 +120,7 @@ declare function MenubarItem({
|
|
|
129
120
|
variant,
|
|
130
121
|
ref,
|
|
131
122
|
...props
|
|
132
|
-
}: MenubarItemProps
|
|
133
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
134
|
-
}): React.JSX.Element;
|
|
123
|
+
}: MenubarItemProps): React.JSX.Element;
|
|
135
124
|
/**
|
|
136
125
|
* Visual separator between menu sections.
|
|
137
126
|
*/
|
|
@@ -139,9 +128,7 @@ declare function MenubarSeparator({
|
|
|
139
128
|
className,
|
|
140
129
|
ref,
|
|
141
130
|
...props
|
|
142
|
-
}: MenubarSeparatorProps
|
|
143
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
144
|
-
}): React.JSX.Element;
|
|
131
|
+
}: MenubarSeparatorProps): React.JSX.Element;
|
|
145
132
|
/**
|
|
146
133
|
* Groups related menu items.
|
|
147
134
|
*/
|
|
@@ -149,9 +136,7 @@ declare function MenubarGroup({
|
|
|
149
136
|
className,
|
|
150
137
|
ref,
|
|
151
138
|
...props
|
|
152
|
-
}: MenubarGroupProps
|
|
153
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
154
|
-
}): React.JSX.Element;
|
|
139
|
+
}: MenubarGroupProps): React.JSX.Element;
|
|
155
140
|
/**
|
|
156
141
|
* Label for a menu item group.
|
|
157
142
|
*/
|
|
@@ -160,16 +145,12 @@ declare function MenubarGroupLabel({
|
|
|
160
145
|
inset,
|
|
161
146
|
ref,
|
|
162
147
|
...props
|
|
163
|
-
}: MenubarGroupLabelProps
|
|
164
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
165
|
-
}): React.JSX.Element;
|
|
148
|
+
}: MenubarGroupLabelProps): React.JSX.Element;
|
|
166
149
|
declare function MenubarCheckboxItem({
|
|
167
150
|
className,
|
|
168
151
|
ref,
|
|
169
152
|
...props
|
|
170
|
-
}: MenubarCheckboxItemProps
|
|
171
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
172
|
-
}): React.JSX.Element;
|
|
153
|
+
}: MenubarCheckboxItemProps): React.JSX.Element;
|
|
173
154
|
declare function MenubarCheckboxItemIndicator({
|
|
174
155
|
children,
|
|
175
156
|
className,
|
|
@@ -179,16 +160,12 @@ declare function MenubarRadioGroup({
|
|
|
179
160
|
className,
|
|
180
161
|
ref,
|
|
181
162
|
...props
|
|
182
|
-
}: MenubarRadioGroupProps
|
|
183
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
184
|
-
}): React.JSX.Element;
|
|
163
|
+
}: MenubarRadioGroupProps): React.JSX.Element;
|
|
185
164
|
declare function MenubarRadioItem({
|
|
186
165
|
className,
|
|
187
166
|
ref,
|
|
188
167
|
...props
|
|
189
|
-
}: MenubarRadioItemProps
|
|
190
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
191
|
-
}): React.JSX.Element;
|
|
168
|
+
}: MenubarRadioItemProps): React.JSX.Element;
|
|
192
169
|
declare function MenubarRadioItemIndicator({
|
|
193
170
|
children,
|
|
194
171
|
className,
|
|
@@ -198,18 +175,13 @@ declare function MenubarShortcut({
|
|
|
198
175
|
className,
|
|
199
176
|
ref,
|
|
200
177
|
...props
|
|
201
|
-
}: MenubarShortcutProps
|
|
202
|
-
ref?: React.Ref<HTMLSpanElement>;
|
|
203
|
-
}): React.JSX.Element;
|
|
204
|
-
declare function MenubarSubmenuRoot(props: MenubarSubmenuRootProps): React.JSX.Element;
|
|
178
|
+
}: MenubarShortcutProps): React.JSX.Element;
|
|
205
179
|
declare function MenubarSubmenuTrigger({
|
|
206
180
|
className,
|
|
207
181
|
inset,
|
|
208
182
|
ref,
|
|
209
183
|
...props
|
|
210
|
-
}: MenubarSubmenuTriggerProps
|
|
211
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
212
|
-
}): React.JSX.Element;
|
|
184
|
+
}: MenubarSubmenuTriggerProps): React.JSX.Element;
|
|
213
185
|
/**
|
|
214
186
|
* A horizontal menu bar component typically used for application menus.
|
|
215
187
|
* Provides keyboard navigation and supports nested submenus.
|
|
@@ -253,13 +225,12 @@ declare function MenubarSubmenuTrigger({
|
|
|
253
225
|
*/
|
|
254
226
|
declare const Menubar: {
|
|
255
227
|
Root: typeof MenubarRoot;
|
|
256
|
-
Menu: (props:
|
|
228
|
+
Menu: <Payload>(props: Menu.Root.Props<Payload>) => import("react/jsx-runtime").JSX.Element;
|
|
257
229
|
Trigger: typeof MenubarTrigger;
|
|
258
|
-
Portal: (
|
|
230
|
+
Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ContextMenuPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
259
231
|
Positioner: typeof MenubarPositioner;
|
|
260
232
|
Popup: typeof MenubarPopup;
|
|
261
233
|
Backdrop: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ContextMenuBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
262
|
-
Arrow: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ContextMenuArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
263
234
|
Item: typeof MenubarItem;
|
|
264
235
|
Separator: typeof MenubarSeparator;
|
|
265
236
|
Group: typeof MenubarGroup;
|
|
@@ -271,7 +242,7 @@ declare const Menubar: {
|
|
|
271
242
|
RadioItem: typeof MenubarRadioItem;
|
|
272
243
|
RadioItemIndicator: typeof MenubarRadioItemIndicator;
|
|
273
244
|
Shortcut: typeof MenubarShortcut;
|
|
274
|
-
SubmenuRoot: typeof
|
|
245
|
+
SubmenuRoot: typeof Menu.SubmenuRoot;
|
|
275
246
|
SubmenuTrigger: typeof MenubarSubmenuTrigger;
|
|
276
247
|
};
|
|
277
248
|
//#endregion
|
|
@@ -38,12 +38,6 @@ function MenubarRoot({ className, ref, ...props }) {
|
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
|
-
* Individual menu within the menubar.
|
|
42
|
-
*/
|
|
43
|
-
const MenubarMenu = (props) => {
|
|
44
|
-
return /* @__PURE__ */ jsx(Menu.Root, { ...props });
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
41
|
* Button that opens the menu.
|
|
48
42
|
*/
|
|
49
43
|
function MenubarTrigger({ unstyled = false, className, ref, ...props }) {
|
|
@@ -62,15 +56,6 @@ function MenubarTrigger({ unstyled = false, className, ref, ...props }) {
|
|
|
62
56
|
});
|
|
63
57
|
}
|
|
64
58
|
/**
|
|
65
|
-
* Renders menu content in a portal.
|
|
66
|
-
*/
|
|
67
|
-
const MenubarPortal = (props) => {
|
|
68
|
-
return /* @__PURE__ */ jsx(Menu.Portal, {
|
|
69
|
-
"data-slot": "menubar-portal",
|
|
70
|
-
...props
|
|
71
|
-
});
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
59
|
* Positions the menu popup.
|
|
75
60
|
*/
|
|
76
61
|
function MenubarPositioner({ className, ref, ...props }) {
|
|
@@ -196,9 +181,6 @@ function MenubarShortcut({ className, ref, ...props }) {
|
|
|
196
181
|
...props
|
|
197
182
|
});
|
|
198
183
|
}
|
|
199
|
-
function MenubarSubmenuRoot(props) {
|
|
200
|
-
return /* @__PURE__ */ jsx(Menu.SubmenuRoot, { ...props });
|
|
201
|
-
}
|
|
202
184
|
function MenubarSubmenuTrigger({ className, inset, ref, ...props }) {
|
|
203
185
|
const classes = mergeBaseClassName(cx("menubar__submenu-trigger", inset && "menubar__item--inset"), className);
|
|
204
186
|
return /* @__PURE__ */ jsx(Menu.SubmenuTrigger, {
|
|
@@ -252,13 +234,12 @@ function MenubarSubmenuTrigger({ className, inset, ref, ...props }) {
|
|
|
252
234
|
*/
|
|
253
235
|
const Menubar = {
|
|
254
236
|
Root: MenubarRoot,
|
|
255
|
-
Menu:
|
|
237
|
+
Menu: Menu.Root,
|
|
256
238
|
Trigger: MenubarTrigger,
|
|
257
|
-
Portal:
|
|
239
|
+
Portal: Menu.Portal,
|
|
258
240
|
Positioner: MenubarPositioner,
|
|
259
241
|
Popup: MenubarPopup,
|
|
260
242
|
Backdrop: Menu.Backdrop,
|
|
261
|
-
Arrow: Menu.Arrow,
|
|
262
243
|
Item: MenubarItem,
|
|
263
244
|
Separator: MenubarSeparator,
|
|
264
245
|
Group: MenubarGroup,
|
|
@@ -270,7 +251,7 @@ const Menubar = {
|
|
|
270
251
|
RadioItem: MenubarRadioItem,
|
|
271
252
|
RadioItemIndicator: MenubarRadioItemIndicator,
|
|
272
253
|
Shortcut: MenubarShortcut,
|
|
273
|
-
SubmenuRoot:
|
|
254
|
+
SubmenuRoot: Menu.SubmenuRoot,
|
|
274
255
|
SubmenuTrigger: MenubarSubmenuTrigger
|
|
275
256
|
};
|
|
276
257
|
//#endregion
|
|
@@ -5,15 +5,13 @@ import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
|
5
5
|
/**
|
|
6
6
|
* Props for the Popover.Root component.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
type PopoverProps<Payload = unknown> = Popover$1.Root.Props<Payload>;
|
|
9
9
|
/**
|
|
10
10
|
* Props for the Popover.Trigger component.
|
|
11
11
|
*/
|
|
12
|
-
|
|
13
|
-
/** Keep Base UI trigger behavior without the default popover trigger chrome. */
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
interface PopoverAnchorProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
12
|
+
type PopoverTriggerProps<Payload = unknown> = Popover$1.Trigger.Props<Payload> & React.RefAttributes<HTMLElement> & {
|
|
13
|
+
/** Keep Base UI trigger behavior without the default popover trigger chrome. */unstyled?: boolean;
|
|
14
|
+
};
|
|
17
15
|
/**
|
|
18
16
|
* Props for the Popover.Portal component.
|
|
19
17
|
*/
|
|
@@ -52,25 +50,16 @@ interface PopoverDescriptionProps extends React.ComponentPropsWithoutRef<typeof
|
|
|
52
50
|
*/
|
|
53
51
|
interface PopoverCloseProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Close> {}
|
|
54
52
|
interface PopoverHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
55
|
-
declare function PopoverAnchor({
|
|
56
|
-
className,
|
|
57
|
-
ref,
|
|
58
|
-
...props
|
|
59
|
-
}: PopoverAnchorProps & {
|
|
60
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
61
|
-
}): React.JSX.Element;
|
|
62
53
|
/**
|
|
63
54
|
* Button that toggles the popover visibility.
|
|
64
55
|
* Renders a `<button>` element.
|
|
65
56
|
*/
|
|
66
|
-
declare function PopoverTrigger({
|
|
57
|
+
declare function PopoverTrigger<Payload>({
|
|
67
58
|
className,
|
|
68
59
|
unstyled,
|
|
69
60
|
ref,
|
|
70
61
|
...props
|
|
71
|
-
}: PopoverTriggerProps
|
|
72
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
73
|
-
}): React.JSX.Element;
|
|
62
|
+
}: PopoverTriggerProps<Payload>): React.JSX.Element;
|
|
74
63
|
/**
|
|
75
64
|
* Optional backdrop that appears behind the popover.
|
|
76
65
|
*/
|
|
@@ -94,7 +83,6 @@ declare function PopoverBackdrop({
|
|
|
94
83
|
*/
|
|
95
84
|
declare function PopoverPositioner({
|
|
96
85
|
className,
|
|
97
|
-
anchor,
|
|
98
86
|
ref,
|
|
99
87
|
...props
|
|
100
88
|
}: PopoverPositionerProps & {
|
|
@@ -215,8 +203,7 @@ declare function PopoverClose({
|
|
|
215
203
|
*/
|
|
216
204
|
declare const Popover: {
|
|
217
205
|
createHandle: typeof Popover$1.createHandle;
|
|
218
|
-
Root:
|
|
219
|
-
Anchor: typeof PopoverAnchor;
|
|
206
|
+
Root: typeof Popover$1.Root;
|
|
220
207
|
Trigger: typeof PopoverTrigger;
|
|
221
208
|
Portal: (props: PopoverPortalProps) => React.JSX.Element;
|
|
222
209
|
Backdrop: typeof PopoverBackdrop;
|
|
@@ -230,4 +217,4 @@ declare const Popover: {
|
|
|
230
217
|
Close: typeof PopoverClose;
|
|
231
218
|
};
|
|
232
219
|
//#endregion
|
|
233
|
-
export { Popover,
|
|
220
|
+
export { Popover, PopoverArrowProps, PopoverBackdropProps, PopoverCloseProps, PopoverDescriptionProps, PopoverHeaderProps, PopoverPopupProps, PopoverPortalProps, PopoverPositionerProps, PopoverProps, PopoverTitleProps, PopoverTriggerProps, PopoverViewportProps };
|
|
@@ -1,51 +1,9 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { buttonVariants } from "./Button.js";
|
|
3
|
-
import
|
|
4
|
-
import * as React from "react";
|
|
3
|
+
import "react";
|
|
5
4
|
import { jsx } from "react/jsx-runtime";
|
|
6
5
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
7
6
|
//#region src/components/foundations/Popover.tsx
|
|
8
|
-
const PopoverAnchorContext = React.createContext(null);
|
|
9
|
-
/**
|
|
10
|
-
* Controls the popover's open state and manages triggers.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <Popover.Root>
|
|
15
|
-
* <Popover.Trigger>Open</Popover.Trigger>
|
|
16
|
-
* <Popover.Portal>
|
|
17
|
-
* <Popover.Positioner>
|
|
18
|
-
* <Popover.Popup>
|
|
19
|
-
* <Popover.Title>Popover Title</Popover.Title>
|
|
20
|
-
* <Popover.Description>Content here</Popover.Description>
|
|
21
|
-
* </Popover.Popup>
|
|
22
|
-
* </Popover.Positioner>
|
|
23
|
-
* </Popover.Portal>
|
|
24
|
-
* </Popover.Root>
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link https://base-ui.com/react/components/popover | Base UI Popover}
|
|
28
|
-
*/
|
|
29
|
-
const PopoverRoot = (props) => {
|
|
30
|
-
const anchorRef = React.useRef(null);
|
|
31
|
-
return /* @__PURE__ */ jsx(PopoverAnchorContext.Provider, {
|
|
32
|
-
value: anchorRef,
|
|
33
|
-
children: /* @__PURE__ */ jsx(Popover$1.Root, {
|
|
34
|
-
"data-slot": "popover",
|
|
35
|
-
...props
|
|
36
|
-
})
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
function PopoverAnchor({ className, ref, ...props }) {
|
|
40
|
-
const anchorRef = React.useContext(PopoverAnchorContext);
|
|
41
|
-
const classes = mergeBaseClassName("popover__anchor", className);
|
|
42
|
-
return /* @__PURE__ */ jsx("div", {
|
|
43
|
-
ref: mergeRefs(anchorRef ?? void 0, ref),
|
|
44
|
-
"data-slot": "popover-anchor",
|
|
45
|
-
className: classes,
|
|
46
|
-
...props
|
|
47
|
-
});
|
|
48
|
-
}
|
|
49
7
|
/**
|
|
50
8
|
* Button that toggles the popover visibility.
|
|
51
9
|
* Renders a `<button>` element.
|
|
@@ -89,12 +47,10 @@ function PopoverBackdrop({ className, ref, ...props }) {
|
|
|
89
47
|
* </Popover.Positioner>
|
|
90
48
|
* ```
|
|
91
49
|
*/
|
|
92
|
-
function PopoverPositioner({ className,
|
|
93
|
-
const anchorRef = React.useContext(PopoverAnchorContext);
|
|
50
|
+
function PopoverPositioner({ className, ref, ...props }) {
|
|
94
51
|
const classes = mergeBaseClassName("popover__positioner base-ui-positioner", className);
|
|
95
52
|
return /* @__PURE__ */ jsx(Popover$1.Positioner, {
|
|
96
53
|
ref,
|
|
97
|
-
anchor: anchor ?? anchorRef ?? void 0,
|
|
98
54
|
className: classes,
|
|
99
55
|
...props
|
|
100
56
|
});
|
|
@@ -232,8 +188,7 @@ function PopoverClose({ render, className, ref, ...props }) {
|
|
|
232
188
|
*/
|
|
233
189
|
const Popover = {
|
|
234
190
|
createHandle: Popover$1.createHandle,
|
|
235
|
-
Root:
|
|
236
|
-
Anchor: PopoverAnchor,
|
|
191
|
+
Root: Popover$1.Root,
|
|
237
192
|
Trigger: PopoverTrigger,
|
|
238
193
|
Portal: PopoverPortal,
|
|
239
194
|
Backdrop: PopoverBackdrop,
|
|
@@ -5,46 +5,71 @@ import { PreviewCard as PreviewCard$1 } from "@base-ui/react/preview-card";
|
|
|
5
5
|
/**
|
|
6
6
|
* Props for the PreviewCard.Root component.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
type PreviewCardProps<Payload = unknown> = PreviewCard$1.Root.Props<Payload>;
|
|
9
9
|
/**
|
|
10
10
|
* Props for the PreviewCard.Trigger component.
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
type PreviewCardTriggerProps<Payload = unknown> = PreviewCard$1.Trigger.Props<Payload> & React.RefAttributes<HTMLElement>;
|
|
13
13
|
/**
|
|
14
14
|
* Props for the PreviewCard.Portal component.
|
|
15
15
|
*/
|
|
16
|
-
interface PreviewCardPortalProps extends React.
|
|
16
|
+
interface PreviewCardPortalProps extends React.ComponentPropsWithRef<typeof PreviewCard$1.Portal> {}
|
|
17
17
|
/**
|
|
18
18
|
* Props for the PreviewCard.Backdrop component.
|
|
19
19
|
*/
|
|
20
|
-
interface PreviewCardBackdropProps extends React.
|
|
20
|
+
interface PreviewCardBackdropProps extends React.ComponentPropsWithRef<typeof PreviewCard$1.Backdrop> {}
|
|
21
21
|
/**
|
|
22
22
|
* Props for the PreviewCard.Positioner component.
|
|
23
23
|
*/
|
|
24
|
-
interface PreviewCardPositionerProps extends React.
|
|
24
|
+
interface PreviewCardPositionerProps extends React.ComponentPropsWithRef<typeof PreviewCard$1.Positioner> {}
|
|
25
25
|
/**
|
|
26
26
|
* Props for the PreviewCard.Popup component.
|
|
27
27
|
*/
|
|
28
|
-
interface PreviewCardPopupProps extends React.
|
|
28
|
+
interface PreviewCardPopupProps extends React.ComponentPropsWithRef<typeof PreviewCard$1.Popup> {}
|
|
29
29
|
/**
|
|
30
30
|
* Props for the PreviewCard.Viewport component. Use this only when one
|
|
31
31
|
* preview card moves between triggers and its content changes in place.
|
|
32
32
|
*/
|
|
33
|
-
interface PreviewCardViewportProps extends React.
|
|
33
|
+
interface PreviewCardViewportProps extends React.ComponentPropsWithRef<typeof PreviewCard$1.Viewport> {}
|
|
34
34
|
/**
|
|
35
35
|
* Props for the PreviewCard.Arrow component.
|
|
36
36
|
*/
|
|
37
|
-
interface PreviewCardArrowProps extends React.
|
|
37
|
+
interface PreviewCardArrowProps extends React.ComponentPropsWithRef<typeof PreviewCard$1.Arrow> {}
|
|
38
|
+
/**
|
|
39
|
+
* Root component that manages preview card state.
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```tsx
|
|
43
|
+
* <PreviewCard.Root>
|
|
44
|
+
* <PreviewCard.Trigger href="/profile">
|
|
45
|
+
* View Profile
|
|
46
|
+
* </PreviewCard.Trigger>
|
|
47
|
+
* <PreviewCard.Portal>
|
|
48
|
+
* <PreviewCard.Positioner>
|
|
49
|
+
* <PreviewCard.Popup>
|
|
50
|
+
* <img src="/avatar.jpg" alt="User avatar" />
|
|
51
|
+
* <h3>John Doe</h3>
|
|
52
|
+
* <p>Software Engineer</p>
|
|
53
|
+
* </PreviewCard.Popup>
|
|
54
|
+
* </PreviewCard.Positioner>
|
|
55
|
+
* </PreviewCard.Portal>
|
|
56
|
+
* </PreviewCard.Root>
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @see {@link https://base-ui.com/react/components/preview-card | Base UI PreviewCard}
|
|
60
|
+
*/
|
|
38
61
|
/**
|
|
39
62
|
* Link element that triggers the preview card on hover.
|
|
40
63
|
*/
|
|
41
|
-
declare function PreviewCardTrigger({
|
|
64
|
+
declare function PreviewCardTrigger<Payload>({
|
|
42
65
|
className,
|
|
43
66
|
ref,
|
|
44
67
|
...props
|
|
45
|
-
}: PreviewCardTriggerProps
|
|
46
|
-
|
|
47
|
-
|
|
68
|
+
}: PreviewCardTriggerProps<Payload>): React.JSX.Element;
|
|
69
|
+
/**
|
|
70
|
+
* Renders preview card content in a portal.
|
|
71
|
+
*/
|
|
72
|
+
declare function PreviewCardPortal(props: PreviewCardPortalProps): React.JSX.Element;
|
|
48
73
|
/**
|
|
49
74
|
* Optional backdrop behind the preview card.
|
|
50
75
|
*/
|
|
@@ -52,9 +77,7 @@ declare function PreviewCardBackdrop({
|
|
|
52
77
|
className,
|
|
53
78
|
ref,
|
|
54
79
|
...props
|
|
55
|
-
}: PreviewCardBackdropProps
|
|
56
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
57
|
-
}): React.JSX.Element;
|
|
80
|
+
}: PreviewCardBackdropProps): React.JSX.Element;
|
|
58
81
|
/**
|
|
59
82
|
* Positions the preview card relative to the trigger.
|
|
60
83
|
*/
|
|
@@ -62,9 +85,7 @@ declare function PreviewCardPositioner({
|
|
|
62
85
|
className,
|
|
63
86
|
ref,
|
|
64
87
|
...props
|
|
65
|
-
}: PreviewCardPositionerProps
|
|
66
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
67
|
-
}): React.JSX.Element;
|
|
88
|
+
}: PreviewCardPositionerProps): React.JSX.Element;
|
|
68
89
|
/**
|
|
69
90
|
* Container for preview card content.
|
|
70
91
|
*/
|
|
@@ -72,9 +93,7 @@ declare function PreviewCardPopup({
|
|
|
72
93
|
className,
|
|
73
94
|
ref,
|
|
74
95
|
...props
|
|
75
|
-
}: PreviewCardPopupProps
|
|
76
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
77
|
-
}): React.JSX.Element;
|
|
96
|
+
}: PreviewCardPopupProps): React.JSX.Element;
|
|
78
97
|
/**
|
|
79
98
|
* Transition container for content that changes as a preview card moves
|
|
80
99
|
* between triggers. Pair the adaptive classes from `base-ui-motion.css` with
|
|
@@ -84,9 +103,7 @@ declare function PreviewCardViewport({
|
|
|
84
103
|
className,
|
|
85
104
|
ref,
|
|
86
105
|
...props
|
|
87
|
-
}: PreviewCardViewportProps
|
|
88
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
89
|
-
}): React.JSX.Element;
|
|
106
|
+
}: PreviewCardViewportProps): React.JSX.Element;
|
|
90
107
|
/**
|
|
91
108
|
* Decorative arrow pointing to the trigger.
|
|
92
109
|
*/
|
|
@@ -94,9 +111,7 @@ declare function PreviewCardArrow({
|
|
|
94
111
|
className,
|
|
95
112
|
ref,
|
|
96
113
|
...props
|
|
97
|
-
}: PreviewCardArrowProps
|
|
98
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
99
|
-
}): React.JSX.Element;
|
|
114
|
+
}: PreviewCardArrowProps): React.JSX.Element;
|
|
100
115
|
/**
|
|
101
116
|
* A popup that appears when a link is hovered, showing a preview for sighted users.
|
|
102
117
|
* Useful for showing user profiles, link previews, or additional context.
|
|
@@ -127,9 +142,9 @@ declare function PreviewCardArrow({
|
|
|
127
142
|
*/
|
|
128
143
|
declare const PreviewCard: {
|
|
129
144
|
createHandle: typeof PreviewCard$1.createHandle;
|
|
130
|
-
Root: (props:
|
|
145
|
+
Root: <Payload>(props: PreviewCard$1.Root.Props<Payload>) => import("react/jsx-runtime").JSX.Element;
|
|
131
146
|
Trigger: typeof PreviewCardTrigger;
|
|
132
|
-
Portal:
|
|
147
|
+
Portal: typeof PreviewCardPortal;
|
|
133
148
|
Backdrop: typeof PreviewCardBackdrop;
|
|
134
149
|
Positioner: typeof PreviewCardPositioner;
|
|
135
150
|
Popup: typeof PreviewCardPopup;
|
|
@@ -26,9 +26,6 @@ import { PreviewCard as PreviewCard$1 } from "@base-ui/react/preview-card";
|
|
|
26
26
|
*
|
|
27
27
|
* @see {@link https://base-ui.com/react/components/preview-card | Base UI PreviewCard}
|
|
28
28
|
*/
|
|
29
|
-
const PreviewCardRoot = (props) => {
|
|
30
|
-
return /* @__PURE__ */ jsx(PreviewCard$1.Root, { ...props });
|
|
31
|
-
};
|
|
32
29
|
/**
|
|
33
30
|
* Link element that triggers the preview card on hover.
|
|
34
31
|
*/
|
|
@@ -44,12 +41,12 @@ function PreviewCardTrigger({ className, ref, ...props }) {
|
|
|
44
41
|
/**
|
|
45
42
|
* Renders preview card content in a portal.
|
|
46
43
|
*/
|
|
47
|
-
|
|
44
|
+
function PreviewCardPortal(props) {
|
|
48
45
|
return /* @__PURE__ */ jsx(PreviewCard$1.Portal, {
|
|
49
46
|
"data-slot": "hover-card-portal",
|
|
50
47
|
...props
|
|
51
48
|
});
|
|
52
|
-
}
|
|
49
|
+
}
|
|
53
50
|
/**
|
|
54
51
|
* Optional backdrop behind the preview card.
|
|
55
52
|
*/
|
|
@@ -142,7 +139,7 @@ function PreviewCardArrow({ className, ref, ...props }) {
|
|
|
142
139
|
*/
|
|
143
140
|
const PreviewCard = {
|
|
144
141
|
createHandle: PreviewCard$1.createHandle,
|
|
145
|
-
Root:
|
|
142
|
+
Root: PreviewCard$1.Root,
|
|
146
143
|
Trigger: PreviewCardTrigger,
|
|
147
144
|
Portal: PreviewCardPortal,
|
|
148
145
|
Backdrop: PreviewCardBackdrop,
|
|
@@ -3,13 +3,13 @@ import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
|
3
3
|
import { Radio as Radio$1 } from "@base-ui/react/radio";
|
|
4
4
|
|
|
5
5
|
//#region src/components/foundations/RadioGroup.d.ts
|
|
6
|
-
|
|
6
|
+
type RadioGroupProps<Value = unknown> = RadioGroup$1.Props<Value> & {
|
|
7
7
|
/**
|
|
8
8
|
* The orientation of the radio group.
|
|
9
9
|
* @default 'vertical'
|
|
10
10
|
*/
|
|
11
11
|
orientation?: "horizontal" | "vertical";
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
interface RadioProps extends React.ComponentPropsWithRef<typeof Radio$1.Root> {}
|
|
14
14
|
interface RadioIndicatorProps extends React.ComponentPropsWithRef<typeof Radio$1.Indicator> {}
|
|
15
15
|
/**
|
|
@@ -35,14 +35,12 @@ interface RadioIndicatorProps extends React.ComponentPropsWithRef<typeof Radio$1
|
|
|
35
35
|
*
|
|
36
36
|
* @see {@link https://base-ui.com/react/components/radio-group | Base UI Radio Group}
|
|
37
37
|
*/
|
|
38
|
-
declare function RadioGroupRoot({
|
|
38
|
+
declare function RadioGroupRoot<Value>({
|
|
39
39
|
orientation,
|
|
40
40
|
className,
|
|
41
41
|
ref,
|
|
42
42
|
...props
|
|
43
|
-
}: RadioGroupProps
|
|
44
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
45
|
-
}): React.JSX.Element;
|
|
43
|
+
}: RadioGroupProps<Value>): React.JSX.Element;
|
|
46
44
|
/**
|
|
47
45
|
* A single radio button within a RadioGroup.
|
|
48
46
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as SelectSeparatorProps, a as SelectIconProps, c as SelectItemTextProps, d as SelectPopupProps, f as SelectPortalProps, g as SelectScrollUpArrowProps, h as SelectScrollDownArrowProps, i as SelectGroupProps, l as SelectLabelProps, m as SelectProps, n as SelectBackdropProps, o as SelectItemIndicatorProps, p as SelectPositionerProps, r as SelectGroupLabelProps, s as SelectItemProps, t as Select, u as SelectListProps, v as SelectTriggerProps, y as SelectValueProps } from "../../Select-
|
|
1
|
+
import { _ as SelectSeparatorProps, a as SelectIconProps, c as SelectItemTextProps, d as SelectPopupProps, f as SelectPortalProps, g as SelectScrollUpArrowProps, h as SelectScrollDownArrowProps, i as SelectGroupProps, l as SelectLabelProps, m as SelectProps, n as SelectBackdropProps, o as SelectItemIndicatorProps, p as SelectPositionerProps, r as SelectGroupLabelProps, s as SelectItemProps, t as Select, u as SelectListProps, v as SelectTriggerProps, y as SelectValueProps } from "../../Select-RrceeEIe.js";
|
|
2
2
|
export { Select, SelectBackdropProps, SelectGroupLabelProps, SelectGroupProps, SelectIconProps, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectLabelProps, SelectListProps, SelectPopupProps, SelectPortalProps, SelectPositionerProps, SelectProps, SelectScrollDownArrowProps, SelectScrollUpArrowProps, SelectSeparatorProps, SelectTriggerProps, SelectValueProps };
|