@mcp-b/react-components 0.34.1 → 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-CV-GuYA6.d.ts → AgentChat-CVO7xyLC.d.ts} +22 -3
- 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-en0UbkVv.js → ThinkChat-ByR-QT_D.js} +19 -12
- package/dist/{ThinkChatActivity-CgqpROz_.d.ts → ThinkChatActivity-Dkmm2pIj.d.ts} +1 -1
- package/dist/{ToggleGroup-CSBWfPXo.d.ts → ToggleGroup-BrQZOQn_.d.ts} +4 -6
- package/dist/{WorkspaceFile-C8Riev9j.d.ts → WorkspaceFile-BLaFmMrt.d.ts} +18 -2
- package/dist/{WorkspaceFileView-BtzVKAed.js → WorkspaceFileView-DTHJLKW_.js} +11 -17
- package/dist/components/agents-sdk/AgentChat.d.ts +2 -2
- package/dist/components/agents-sdk/AgentChat.js +47 -26
- 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/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.js +14 -15
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +17 -24
- package/dist/components/agents-sdk/McpServerPicker.d.ts +2 -2
- package/dist/components/agents-sdk/McpServerPicker.js +19 -17
- 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/SubagentRunDetails.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +18 -95
- 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/ThinkChatActivitySummary.js +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +3 -8
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +5 -3
- package/dist/components/agents-sdk/ThinkExecutionRun.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +2 -2
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +4 -4
- package/dist/components/agents-sdk/ThinkFullApp.js +12 -14
- package/dist/components/agents-sdk/ThinkFullAppViewSwitch.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkPendingApproval.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +5 -4
- 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 +11 -15
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -4
- 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/Workspace.js +1 -1
- 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 +2 -2
- package/dist/components/agents-sdk/WorkspaceFile.js +41 -4
- 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/Approval.d.ts +1 -2
- package/dist/components/ai-sdk/Approval.js +4 -7
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/Message.js +2 -6
- 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/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.d.ts +2 -2
- package/dist/components/ai-sdk/PromptInput.js +124 -127
- 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/ai-sdk/ToolInvocation.js +2 -2
- package/dist/components/extension/ChatGptSignInScreen.js +2 -2
- package/dist/components/extension/CodexModelSelector.d.ts +1 -1
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.js +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/EmptyState.d.ts +5 -2
- package/dist/components/foundations/EmptyState.js +11 -7
- 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/ResizableSidePanel.js +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -67
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +1 -1
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +7 -2
- package/dist/components/general-purpose/SettingsFormDialog.js +18 -3
- 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 +6 -7
- package/dist/{format-CmopcfqJ.js → format-DB2mX9DA.js} +16 -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/{progress-ring-Dz_ztrW2.js → progress-ring-BEocM1e3.js} +1 -1
- package/dist/provider-logos-zjZycgV6.js +74 -0
- package/dist/styles/agent-chat.css +25 -0
- package/dist/styles/agent-connection.css +4 -31
- package/dist/styles/agent-tool-detail.css +0 -7
- 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/field.css +2 -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/think-execution-workbench.css +9 -13
- package/dist/styles/think-routine-library.css +2 -30
- 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-DzdEs2fX.js +0 -504
- package/dist/Workspace-EhvvlHOB.d.ts +0 -278
- package/dist/WorkspaceExplorer-DygQnEyi.d.ts +0 -32
- package/dist/components/foundations/DescriptionListParts.d.ts +0 -37
- package/dist/components/foundations/DescriptionListParts.js +0 -35
|
@@ -3,8 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/foundations/AlertDialog.d.ts
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
type AlertDialogProps<Payload = unknown> = AlertDialog$1.Root.Props<Payload>;
|
|
7
|
+
type AlertDialogTriggerProps<Payload = unknown> = AlertDialog$1.Trigger.Props<Payload>;
|
|
8
8
|
interface AlertDialogBackdropProps extends React.ComponentPropsWithRef<typeof AlertDialog$1.Backdrop> {}
|
|
9
9
|
interface AlertDialogViewportProps extends React.ComponentPropsWithRef<typeof AlertDialog$1.Viewport> {}
|
|
10
10
|
interface AlertDialogPopupProps extends React.ComponentPropsWithRef<typeof AlertDialog$1.Popup> {
|
|
@@ -38,9 +38,9 @@ interface AlertDialogCloseProps extends Omit<BaseAlertDialogCloseProps, "color">
|
|
|
38
38
|
*/
|
|
39
39
|
size?: ButtonSize;
|
|
40
40
|
}
|
|
41
|
-
interface AlertDialogHeaderProps extends React.
|
|
42
|
-
interface AlertDialogFooterProps extends React.
|
|
43
|
-
interface AlertDialogMediaProps extends React.
|
|
41
|
+
interface AlertDialogHeaderProps extends React.ComponentPropsWithRef<"div"> {}
|
|
42
|
+
interface AlertDialogFooterProps extends React.ComponentPropsWithRef<"div"> {}
|
|
43
|
+
interface AlertDialogMediaProps extends React.ComponentPropsWithRef<"div"> {}
|
|
44
44
|
/**
|
|
45
45
|
* An alert dialog component for important confirmations and warnings.
|
|
46
46
|
* Unlike regular dialogs, alert dialogs require explicit user action to dismiss.
|
|
@@ -69,71 +69,53 @@ interface AlertDialogMediaProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
|
69
69
|
*
|
|
70
70
|
* @see {@link https://base-ui.com/react/components/alert-dialog | Base UI Alert Dialog}
|
|
71
71
|
*/
|
|
72
|
-
declare function AlertDialogTrigger({
|
|
72
|
+
declare function AlertDialogTrigger<Payload>({
|
|
73
73
|
render,
|
|
74
74
|
className,
|
|
75
75
|
ref,
|
|
76
76
|
...props
|
|
77
|
-
}: AlertDialogTriggerProps
|
|
78
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
79
|
-
}): React.JSX.Element;
|
|
77
|
+
}: AlertDialogTriggerProps<Payload>): React.JSX.Element;
|
|
80
78
|
declare function AlertDialogBackdrop({
|
|
81
79
|
className,
|
|
82
80
|
ref,
|
|
83
81
|
...props
|
|
84
|
-
}: AlertDialogBackdropProps
|
|
85
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
86
|
-
}): React.JSX.Element;
|
|
82
|
+
}: AlertDialogBackdropProps): React.JSX.Element;
|
|
87
83
|
declare function AlertDialogViewport({
|
|
88
84
|
className,
|
|
89
85
|
ref,
|
|
90
86
|
...props
|
|
91
|
-
}: AlertDialogViewportProps
|
|
92
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
93
|
-
}): React.JSX.Element;
|
|
87
|
+
}: AlertDialogViewportProps): React.JSX.Element;
|
|
94
88
|
declare function AlertDialogPopup({
|
|
95
89
|
size,
|
|
96
90
|
className,
|
|
97
91
|
ref,
|
|
98
92
|
...props
|
|
99
|
-
}: AlertDialogPopupProps
|
|
100
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
101
|
-
}): React.JSX.Element;
|
|
93
|
+
}: AlertDialogPopupProps): React.JSX.Element;
|
|
102
94
|
declare function AlertDialogHeader({
|
|
103
95
|
className,
|
|
104
96
|
ref,
|
|
105
97
|
...props
|
|
106
|
-
}: AlertDialogHeaderProps
|
|
107
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
108
|
-
}): React.JSX.Element;
|
|
98
|
+
}: AlertDialogHeaderProps): React.JSX.Element;
|
|
109
99
|
declare function AlertDialogFooter({
|
|
110
100
|
className,
|
|
111
101
|
ref,
|
|
112
102
|
...props
|
|
113
|
-
}: AlertDialogFooterProps
|
|
114
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
115
|
-
}): React.JSX.Element;
|
|
103
|
+
}: AlertDialogFooterProps): React.JSX.Element;
|
|
116
104
|
declare function AlertDialogMedia({
|
|
117
105
|
className,
|
|
118
106
|
ref,
|
|
119
107
|
...props
|
|
120
|
-
}: AlertDialogMediaProps
|
|
121
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
122
|
-
}): React.JSX.Element;
|
|
108
|
+
}: AlertDialogMediaProps): React.JSX.Element;
|
|
123
109
|
declare function AlertDialogTitle({
|
|
124
110
|
className,
|
|
125
111
|
ref,
|
|
126
112
|
...props
|
|
127
|
-
}: AlertDialogTitleProps
|
|
128
|
-
ref?: React.Ref<HTMLHeadingElement>;
|
|
129
|
-
}): React.JSX.Element;
|
|
113
|
+
}: AlertDialogTitleProps): React.JSX.Element;
|
|
130
114
|
declare function AlertDialogDescription({
|
|
131
115
|
className,
|
|
132
116
|
ref,
|
|
133
117
|
...props
|
|
134
|
-
}: AlertDialogDescriptionProps
|
|
135
|
-
ref?: React.Ref<HTMLParagraphElement>;
|
|
136
|
-
}): React.JSX.Element;
|
|
118
|
+
}: AlertDialogDescriptionProps): React.JSX.Element;
|
|
137
119
|
declare function AlertDialogClose({
|
|
138
120
|
variant,
|
|
139
121
|
color,
|
|
@@ -142,9 +124,7 @@ declare function AlertDialogClose({
|
|
|
142
124
|
className,
|
|
143
125
|
ref,
|
|
144
126
|
...props
|
|
145
|
-
}: AlertDialogCloseProps
|
|
146
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
147
|
-
}): React.JSX.Element;
|
|
127
|
+
}: AlertDialogCloseProps): React.JSX.Element;
|
|
148
128
|
declare const AlertDialog: {
|
|
149
129
|
Root: typeof AlertDialog$1.Root;
|
|
150
130
|
Trigger: typeof AlertDialogTrigger;
|
|
@@ -6,79 +6,57 @@ declare function Input({
|
|
|
6
6
|
className,
|
|
7
7
|
ref,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Input>
|
|
10
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
11
|
-
}): React.JSX.Element;
|
|
9
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Input>): React.JSX.Element;
|
|
12
10
|
declare function Trigger({
|
|
13
11
|
className,
|
|
14
12
|
ref,
|
|
15
13
|
...props
|
|
16
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Trigger>
|
|
17
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
18
|
-
}): React.JSX.Element;
|
|
14
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Trigger>): React.JSX.Element;
|
|
19
15
|
declare function Clear({
|
|
20
16
|
className,
|
|
21
17
|
ref,
|
|
22
18
|
...props
|
|
23
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Clear>
|
|
24
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
25
|
-
}): React.JSX.Element;
|
|
19
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Clear>): React.JSX.Element;
|
|
26
20
|
declare function Positioner({
|
|
27
21
|
className,
|
|
28
22
|
ref,
|
|
29
23
|
...props
|
|
30
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Positioner>
|
|
31
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
32
|
-
}): React.JSX.Element;
|
|
24
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Positioner>): React.JSX.Element;
|
|
33
25
|
declare function Popup({
|
|
34
26
|
className,
|
|
35
27
|
ref,
|
|
36
28
|
...props
|
|
37
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Popup>
|
|
38
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
39
|
-
}): React.JSX.Element;
|
|
29
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Popup>): React.JSX.Element;
|
|
40
30
|
declare function List({
|
|
41
31
|
className,
|
|
42
32
|
ref,
|
|
43
33
|
...props
|
|
44
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.List>
|
|
45
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
46
|
-
}): React.JSX.Element;
|
|
34
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.List>): React.JSX.Element;
|
|
47
35
|
declare function Item({
|
|
48
36
|
className,
|
|
49
37
|
ref,
|
|
50
38
|
...props
|
|
51
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Item>
|
|
52
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
53
|
-
}): React.JSX.Element;
|
|
39
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Item>): React.JSX.Element;
|
|
54
40
|
declare function Empty({
|
|
55
41
|
className,
|
|
56
42
|
ref,
|
|
57
43
|
...props
|
|
58
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Empty>
|
|
59
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
60
|
-
}): React.JSX.Element;
|
|
44
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Empty>): React.JSX.Element;
|
|
61
45
|
declare function Status({
|
|
62
46
|
className,
|
|
63
47
|
ref,
|
|
64
48
|
...props
|
|
65
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Status>
|
|
66
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
67
|
-
}): React.JSX.Element;
|
|
49
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Status>): React.JSX.Element;
|
|
68
50
|
declare function Group({
|
|
69
51
|
className,
|
|
70
52
|
ref,
|
|
71
53
|
...props
|
|
72
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Group>
|
|
73
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
74
|
-
}): React.JSX.Element;
|
|
54
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.Group>): React.JSX.Element;
|
|
75
55
|
declare function GroupLabel({
|
|
76
56
|
className,
|
|
77
57
|
ref,
|
|
78
58
|
...props
|
|
79
|
-
}: React.ComponentPropsWithRef<typeof Autocomplete$1.GroupLabel>
|
|
80
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
81
|
-
}): React.JSX.Element;
|
|
59
|
+
}: React.ComponentPropsWithRef<typeof Autocomplete$1.GroupLabel>): React.JSX.Element;
|
|
82
60
|
/**
|
|
83
61
|
* An input with a list of filtered options for auto-completion.
|
|
84
62
|
* Supports async search, grouping, and various autocomplete modes.
|
|
@@ -159,6 +137,7 @@ declare const Autocomplete: {
|
|
|
159
137
|
Status: typeof Status;
|
|
160
138
|
Group: typeof Group;
|
|
161
139
|
GroupLabel: typeof GroupLabel;
|
|
140
|
+
Collection: typeof Autocomplete$1.Collection;
|
|
162
141
|
};
|
|
163
142
|
//#endregion
|
|
164
143
|
export { Autocomplete };
|
|
@@ -1,2 +1,119 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
|
|
3
|
+
|
|
4
|
+
//#region src/components/foundations/Combobox.d.ts
|
|
5
|
+
declare function ComboboxInputGroup({
|
|
6
|
+
className,
|
|
7
|
+
ref,
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.InputGroup>): React.JSX.Element;
|
|
10
|
+
declare function ComboboxInput({
|
|
11
|
+
className,
|
|
12
|
+
ref,
|
|
13
|
+
...props
|
|
14
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.Input>): React.JSX.Element;
|
|
15
|
+
declare function ComboboxTrigger({
|
|
16
|
+
className,
|
|
17
|
+
ref,
|
|
18
|
+
...props
|
|
19
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.Trigger>): React.JSX.Element;
|
|
20
|
+
declare function ComboboxPositioner({
|
|
21
|
+
className,
|
|
22
|
+
ref,
|
|
23
|
+
...props
|
|
24
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.Positioner>): React.JSX.Element;
|
|
25
|
+
declare function ComboboxPopup({
|
|
26
|
+
className,
|
|
27
|
+
ref,
|
|
28
|
+
...props
|
|
29
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.Popup>): React.JSX.Element;
|
|
30
|
+
declare function ComboboxList({
|
|
31
|
+
className,
|
|
32
|
+
ref,
|
|
33
|
+
...props
|
|
34
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.List>): React.JSX.Element;
|
|
35
|
+
declare function ComboboxItem({
|
|
36
|
+
className,
|
|
37
|
+
ref,
|
|
38
|
+
...props
|
|
39
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.Item>): React.JSX.Element;
|
|
40
|
+
declare function ItemIndicator({
|
|
41
|
+
className,
|
|
42
|
+
ref,
|
|
43
|
+
...props
|
|
44
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.ItemIndicator>): React.JSX.Element;
|
|
45
|
+
declare function ComboboxEmpty({
|
|
46
|
+
className,
|
|
47
|
+
ref,
|
|
48
|
+
...props
|
|
49
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.Empty>): React.JSX.Element;
|
|
50
|
+
declare function ComboboxGroup({
|
|
51
|
+
className,
|
|
52
|
+
ref,
|
|
53
|
+
...props
|
|
54
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.Group>): React.JSX.Element;
|
|
55
|
+
declare function ComboboxGroupLabel({
|
|
56
|
+
className,
|
|
57
|
+
ref,
|
|
58
|
+
...props
|
|
59
|
+
}: React.ComponentPropsWithRef<typeof Combobox$1.GroupLabel>): React.JSX.Element;
|
|
60
|
+
/**
|
|
61
|
+
* An input combined with a filterable list of predefined items.
|
|
62
|
+
* Supports bounded selection with filtering and grouped options.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```tsx
|
|
66
|
+
* // Basic single select
|
|
67
|
+
* const fruits = [
|
|
68
|
+
* { label: 'Apple', value: 'apple' },
|
|
69
|
+
* { label: 'Banana', value: 'banana' },
|
|
70
|
+
* { label: 'Orange', value: 'orange' },
|
|
71
|
+
* ];
|
|
72
|
+
*
|
|
73
|
+
* <Combobox.Root items={fruits}>
|
|
74
|
+
* <Combobox.InputGroup>
|
|
75
|
+
* <Combobox.Input aria-label="Fruit" placeholder="Select a fruit" />
|
|
76
|
+
* <Combobox.Trigger aria-label="Open fruit options">
|
|
77
|
+
* <ChevronDownIcon />
|
|
78
|
+
* </Combobox.Trigger>
|
|
79
|
+
* </Combobox.InputGroup>
|
|
80
|
+
* <Combobox.Portal>
|
|
81
|
+
* <Combobox.Positioner>
|
|
82
|
+
* <Combobox.Popup>
|
|
83
|
+
* <Combobox.List>
|
|
84
|
+
* {(item) => (
|
|
85
|
+
* <Combobox.Item value={item}>
|
|
86
|
+
* <Combobox.ItemIndicator>
|
|
87
|
+
* <CheckIcon />
|
|
88
|
+
* </Combobox.ItemIndicator>
|
|
89
|
+
* {item.label}
|
|
90
|
+
* </Combobox.Item>
|
|
91
|
+
* )}
|
|
92
|
+
* </Combobox.List>
|
|
93
|
+
* <Combobox.Empty>No results found</Combobox.Empty>
|
|
94
|
+
* </Combobox.Popup>
|
|
95
|
+
* </Combobox.Positioner>
|
|
96
|
+
* </Combobox.Portal>
|
|
97
|
+
* </Combobox.Root>
|
|
98
|
+
* ```
|
|
99
|
+
*
|
|
100
|
+
* @see {@link https://base-ui.com/react/components/combobox | Base UI Combobox}
|
|
101
|
+
*/
|
|
102
|
+
declare const Combobox: {
|
|
103
|
+
Root: typeof Combobox$1.Root;
|
|
104
|
+
InputGroup: typeof ComboboxInputGroup;
|
|
105
|
+
Input: typeof ComboboxInput;
|
|
106
|
+
Trigger: typeof ComboboxTrigger;
|
|
107
|
+
Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompletePortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
108
|
+
Positioner: typeof ComboboxPositioner;
|
|
109
|
+
Popup: typeof ComboboxPopup;
|
|
110
|
+
List: typeof ComboboxList;
|
|
111
|
+
Item: typeof ComboboxItem;
|
|
112
|
+
ItemIndicator: typeof ItemIndicator;
|
|
113
|
+
Empty: typeof ComboboxEmpty;
|
|
114
|
+
Group: typeof ComboboxGroup;
|
|
115
|
+
GroupLabel: typeof ComboboxGroupLabel;
|
|
116
|
+
Collection: typeof Combobox$1.Collection;
|
|
117
|
+
};
|
|
118
|
+
//#endregion
|
|
119
|
+
export { Combobox };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import
|
|
2
|
+
import "react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
|
|
5
5
|
//#region src/components/foundations/Combobox.tsx
|
|
@@ -30,15 +30,6 @@ function ComboboxTrigger({ className, ref, ...props }) {
|
|
|
30
30
|
...props
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
function Clear({ className, ref, ...props }) {
|
|
34
|
-
const classes = mergeBaseClassName("combobox__clear", className);
|
|
35
|
-
return /* @__PURE__ */ jsx(Combobox$1.Clear, {
|
|
36
|
-
ref,
|
|
37
|
-
"data-slot": "combobox-clear",
|
|
38
|
-
className: classes,
|
|
39
|
-
...props
|
|
40
|
-
});
|
|
41
|
-
}
|
|
42
33
|
function ComboboxPositioner({ className, ref, ...props }) {
|
|
43
34
|
const classes = mergeBaseClassName("combobox__positioner base-ui-positioner", className);
|
|
44
35
|
return /* @__PURE__ */ jsx(Combobox$1.Positioner, {
|
|
@@ -113,7 +104,7 @@ function ComboboxGroupLabel({ className, ref, ...props }) {
|
|
|
113
104
|
}
|
|
114
105
|
/**
|
|
115
106
|
* An input combined with a filterable list of predefined items.
|
|
116
|
-
* Supports
|
|
107
|
+
* Supports bounded selection with filtering and grouped options.
|
|
117
108
|
*
|
|
118
109
|
* @example
|
|
119
110
|
* ```tsx
|
|
@@ -126,8 +117,8 @@ function ComboboxGroupLabel({ className, ref, ...props }) {
|
|
|
126
117
|
*
|
|
127
118
|
* <Combobox.Root items={fruits}>
|
|
128
119
|
* <Combobox.InputGroup>
|
|
129
|
-
* <Combobox.Input placeholder="Select a fruit" />
|
|
130
|
-
* <Combobox.Trigger>
|
|
120
|
+
* <Combobox.Input aria-label="Fruit" placeholder="Select a fruit" />
|
|
121
|
+
* <Combobox.Trigger aria-label="Open fruit options">
|
|
131
122
|
* <ChevronDownIcon />
|
|
132
123
|
* </Combobox.Trigger>
|
|
133
124
|
* </Combobox.InputGroup>
|
|
@@ -153,15 +144,11 @@ function ComboboxGroupLabel({ className, ref, ...props }) {
|
|
|
153
144
|
*
|
|
154
145
|
* @see {@link https://base-ui.com/react/components/combobox | Base UI Combobox}
|
|
155
146
|
*/
|
|
156
|
-
function useComboboxAnchor() {
|
|
157
|
-
return React.useRef(null);
|
|
158
|
-
}
|
|
159
147
|
const Combobox = {
|
|
160
148
|
Root: Combobox$1.Root,
|
|
161
149
|
InputGroup: ComboboxInputGroup,
|
|
162
150
|
Input: ComboboxInput,
|
|
163
151
|
Trigger: ComboboxTrigger,
|
|
164
|
-
Clear,
|
|
165
152
|
Portal: Combobox$1.Portal,
|
|
166
153
|
Positioner: ComboboxPositioner,
|
|
167
154
|
Popup: ComboboxPopup,
|
|
@@ -171,11 +158,7 @@ const Combobox = {
|
|
|
171
158
|
Empty: ComboboxEmpty,
|
|
172
159
|
Group: ComboboxGroup,
|
|
173
160
|
GroupLabel: ComboboxGroupLabel,
|
|
174
|
-
|
|
175
|
-
Chips: Combobox$1.Chips,
|
|
176
|
-
Chip: Combobox$1.Chip,
|
|
177
|
-
Collection: Combobox$1.Collection,
|
|
178
|
-
Separator: Combobox$1.Separator
|
|
161
|
+
Collection: Combobox$1.Collection
|
|
179
162
|
};
|
|
180
163
|
//#endregion
|
|
181
|
-
export { Combobox
|
|
164
|
+
export { Combobox };
|
|
@@ -5,56 +5,73 @@ import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
|
|
|
5
5
|
/**
|
|
6
6
|
* Props for the ContextMenu.Root component.
|
|
7
7
|
*/
|
|
8
|
-
interface ContextMenuProps extends
|
|
8
|
+
interface ContextMenuProps extends ContextMenu$1.Root.Props {}
|
|
9
9
|
/**
|
|
10
10
|
* Props for the ContextMenu.Trigger component.
|
|
11
11
|
*/
|
|
12
|
-
interface ContextMenuTriggerProps extends React.
|
|
12
|
+
interface ContextMenuTriggerProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.Trigger> {}
|
|
13
13
|
/**
|
|
14
14
|
* Props for the ContextMenu.Portal component.
|
|
15
15
|
*/
|
|
16
|
-
interface ContextMenuPortalProps extends React.
|
|
16
|
+
interface ContextMenuPortalProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.Portal> {}
|
|
17
17
|
/**
|
|
18
18
|
* Props for the ContextMenu.Positioner component.
|
|
19
19
|
*/
|
|
20
|
-
interface ContextMenuPositionerProps extends React.
|
|
20
|
+
interface ContextMenuPositionerProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.Positioner> {}
|
|
21
21
|
/**
|
|
22
22
|
* Props for the ContextMenu.Popup component.
|
|
23
23
|
*/
|
|
24
|
-
interface ContextMenuPopupProps extends React.
|
|
24
|
+
interface ContextMenuPopupProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.Popup> {}
|
|
25
25
|
/**
|
|
26
26
|
* Props for the ContextMenu.Item component.
|
|
27
27
|
*/
|
|
28
|
-
interface ContextMenuItemProps extends React.
|
|
28
|
+
interface ContextMenuItemProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.Item> {
|
|
29
29
|
inset?: boolean;
|
|
30
30
|
variant?: "default" | "destructive";
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Props for the ContextMenu.Separator component.
|
|
34
34
|
*/
|
|
35
|
-
interface ContextMenuSeparatorProps extends React.
|
|
36
|
-
interface ContextMenuGroupProps extends React.
|
|
37
|
-
interface ContextMenuGroupLabelProps extends React.
|
|
35
|
+
interface ContextMenuSeparatorProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.Separator> {}
|
|
36
|
+
interface ContextMenuGroupProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.Group> {}
|
|
37
|
+
interface ContextMenuGroupLabelProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.GroupLabel> {
|
|
38
38
|
inset?: boolean;
|
|
39
39
|
}
|
|
40
|
-
interface ContextMenuCheckboxItemProps extends React.
|
|
41
|
-
interface ContextMenuRadioGroupProps extends React.
|
|
42
|
-
interface ContextMenuRadioItemProps extends React.
|
|
43
|
-
interface ContextMenuShortcutProps extends React.
|
|
44
|
-
interface ContextMenuSubmenuRootProps extends
|
|
45
|
-
interface ContextMenuSubmenuTriggerProps extends React.
|
|
40
|
+
interface ContextMenuCheckboxItemProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.CheckboxItem> {}
|
|
41
|
+
interface ContextMenuRadioGroupProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.RadioGroup> {}
|
|
42
|
+
interface ContextMenuRadioItemProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.RadioItem> {}
|
|
43
|
+
interface ContextMenuShortcutProps extends React.ComponentPropsWithRef<"span"> {}
|
|
44
|
+
interface ContextMenuSubmenuRootProps extends ContextMenu$1.SubmenuRoot.Props {}
|
|
45
|
+
interface ContextMenuSubmenuTriggerProps extends React.ComponentPropsWithRef<typeof ContextMenu$1.SubmenuTrigger> {
|
|
46
46
|
inset?: boolean;
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Root component that manages context menu state.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```tsx
|
|
53
|
+
* <ContextMenu.Root>
|
|
54
|
+
* <ContextMenu.Trigger>Right click here</ContextMenu.Trigger>
|
|
55
|
+
* <ContextMenu.Portal>
|
|
56
|
+
* <ContextMenu.Positioner>
|
|
57
|
+
* <ContextMenu.Popup>
|
|
58
|
+
* <ContextMenu.Item>Cut</ContextMenu.Item>
|
|
59
|
+
* <ContextMenu.Item>Copy</ContextMenu.Item>
|
|
60
|
+
* <ContextMenu.Item>Paste</ContextMenu.Item>
|
|
61
|
+
* </ContextMenu.Popup>
|
|
62
|
+
* </ContextMenu.Positioner>
|
|
63
|
+
* </ContextMenu.Portal>
|
|
64
|
+
* </ContextMenu.Root>
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @see {@link https://base-ui.com/react/components/context-menu | Base UI ContextMenu}
|
|
50
68
|
*/
|
|
69
|
+
/** Interactive area that activates the menu on right-click or long-press. */
|
|
51
70
|
declare function ContextMenuTrigger({
|
|
52
71
|
className,
|
|
53
72
|
ref,
|
|
54
73
|
...props
|
|
55
|
-
}: ContextMenuTriggerProps
|
|
56
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
57
|
-
}): React.JSX.Element;
|
|
74
|
+
}: ContextMenuTriggerProps): React.JSX.Element;
|
|
58
75
|
/**
|
|
59
76
|
* Positions the menu at the pointer location.
|
|
60
77
|
*/
|
|
@@ -62,9 +79,7 @@ declare function ContextMenuPositioner({
|
|
|
62
79
|
className,
|
|
63
80
|
ref,
|
|
64
81
|
...props
|
|
65
|
-
}: ContextMenuPositionerProps
|
|
66
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
67
|
-
}): React.JSX.Element;
|
|
82
|
+
}: ContextMenuPositionerProps): React.JSX.Element;
|
|
68
83
|
/**
|
|
69
84
|
* Container for menu items.
|
|
70
85
|
*/
|
|
@@ -72,9 +87,7 @@ declare function ContextMenuPopup({
|
|
|
72
87
|
className,
|
|
73
88
|
ref,
|
|
74
89
|
...props
|
|
75
|
-
}: ContextMenuPopupProps
|
|
76
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
77
|
-
}): React.JSX.Element;
|
|
90
|
+
}: ContextMenuPopupProps): React.JSX.Element;
|
|
78
91
|
/**
|
|
79
92
|
* Interactive menu item.
|
|
80
93
|
*/
|
|
@@ -84,9 +97,7 @@ declare function ContextMenuItem({
|
|
|
84
97
|
variant,
|
|
85
98
|
ref,
|
|
86
99
|
...props
|
|
87
|
-
}: ContextMenuItemProps
|
|
88
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
89
|
-
}): React.JSX.Element;
|
|
100
|
+
}: ContextMenuItemProps): React.JSX.Element;
|
|
90
101
|
/**
|
|
91
102
|
* Visual separator between menu sections.
|
|
92
103
|
*/
|
|
@@ -94,31 +105,23 @@ declare function ContextMenuSeparator({
|
|
|
94
105
|
className,
|
|
95
106
|
ref,
|
|
96
107
|
...props
|
|
97
|
-
}: ContextMenuSeparatorProps
|
|
98
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
99
|
-
}): React.JSX.Element;
|
|
108
|
+
}: ContextMenuSeparatorProps): React.JSX.Element;
|
|
100
109
|
declare function ContextMenuGroup({
|
|
101
110
|
className,
|
|
102
111
|
ref,
|
|
103
112
|
...props
|
|
104
|
-
}: ContextMenuGroupProps
|
|
105
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
106
|
-
}): React.JSX.Element;
|
|
113
|
+
}: ContextMenuGroupProps): React.JSX.Element;
|
|
107
114
|
declare function ContextMenuGroupLabel({
|
|
108
115
|
className,
|
|
109
116
|
inset,
|
|
110
117
|
ref,
|
|
111
118
|
...props
|
|
112
|
-
}: ContextMenuGroupLabelProps
|
|
113
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
114
|
-
}): React.JSX.Element;
|
|
119
|
+
}: ContextMenuGroupLabelProps): React.JSX.Element;
|
|
115
120
|
declare function ContextMenuCheckboxItem({
|
|
116
121
|
className,
|
|
117
122
|
ref,
|
|
118
123
|
...props
|
|
119
|
-
}: ContextMenuCheckboxItemProps
|
|
120
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
121
|
-
}): React.JSX.Element;
|
|
124
|
+
}: ContextMenuCheckboxItemProps): React.JSX.Element;
|
|
122
125
|
declare function ContextMenuCheckboxItemIndicator({
|
|
123
126
|
children,
|
|
124
127
|
className,
|
|
@@ -128,16 +131,12 @@ declare function ContextMenuRadioGroup({
|
|
|
128
131
|
className,
|
|
129
132
|
ref,
|
|
130
133
|
...props
|
|
131
|
-
}: ContextMenuRadioGroupProps
|
|
132
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
133
|
-
}): React.JSX.Element;
|
|
134
|
+
}: ContextMenuRadioGroupProps): React.JSX.Element;
|
|
134
135
|
declare function ContextMenuRadioItem({
|
|
135
136
|
className,
|
|
136
137
|
ref,
|
|
137
138
|
...props
|
|
138
|
-
}: ContextMenuRadioItemProps
|
|
139
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
140
|
-
}): React.JSX.Element;
|
|
139
|
+
}: ContextMenuRadioItemProps): React.JSX.Element;
|
|
141
140
|
declare function ContextMenuRadioItemIndicator({
|
|
142
141
|
children,
|
|
143
142
|
className,
|
|
@@ -147,18 +146,13 @@ declare function ContextMenuShortcut({
|
|
|
147
146
|
className,
|
|
148
147
|
ref,
|
|
149
148
|
...props
|
|
150
|
-
}: ContextMenuShortcutProps
|
|
151
|
-
ref?: React.Ref<HTMLSpanElement>;
|
|
152
|
-
}): React.JSX.Element;
|
|
153
|
-
declare function ContextMenuSubmenuRoot(props: ContextMenuSubmenuRootProps): React.JSX.Element;
|
|
149
|
+
}: ContextMenuShortcutProps): React.JSX.Element;
|
|
154
150
|
declare function ContextMenuSubmenuTrigger({
|
|
155
151
|
className,
|
|
156
152
|
inset,
|
|
157
153
|
ref,
|
|
158
154
|
...props
|
|
159
|
-
}: ContextMenuSubmenuTriggerProps
|
|
160
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
161
|
-
}): React.JSX.Element;
|
|
155
|
+
}: ContextMenuSubmenuTriggerProps): React.JSX.Element;
|
|
162
156
|
/**
|
|
163
157
|
* A context menu that appears at the pointer on right-click or long-press.
|
|
164
158
|
* Provides keyboard navigation and supports nested submenus.
|
|
@@ -189,13 +183,12 @@ declare function ContextMenuSubmenuTrigger({
|
|
|
189
183
|
* @see {@link https://base-ui.com/react/components/context-menu | Base UI ContextMenu}
|
|
190
184
|
*/
|
|
191
185
|
declare const ContextMenu: {
|
|
192
|
-
Root:
|
|
186
|
+
Root: typeof ContextMenu$1.Root;
|
|
193
187
|
Trigger: typeof ContextMenuTrigger;
|
|
194
|
-
Portal: (
|
|
188
|
+
Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ContextMenuPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
195
189
|
Positioner: typeof ContextMenuPositioner;
|
|
196
190
|
Popup: typeof ContextMenuPopup;
|
|
197
191
|
Backdrop: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ContextMenuBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
198
|
-
Arrow: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").ContextMenuArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
199
192
|
Item: typeof ContextMenuItem;
|
|
200
193
|
Separator: typeof ContextMenuSeparator;
|
|
201
194
|
Group: typeof ContextMenuGroup;
|
|
@@ -207,7 +200,7 @@ declare const ContextMenu: {
|
|
|
207
200
|
RadioItem: typeof ContextMenuRadioItem;
|
|
208
201
|
RadioItemIndicator: typeof ContextMenuRadioItemIndicator;
|
|
209
202
|
Shortcut: typeof ContextMenuShortcut;
|
|
210
|
-
SubmenuRoot: typeof
|
|
203
|
+
SubmenuRoot: typeof ContextMenu$1.SubmenuRoot;
|
|
211
204
|
SubmenuTrigger: typeof ContextMenuSubmenuTrigger;
|
|
212
205
|
};
|
|
213
206
|
//#endregion
|