@efolusi/meridian 1.20.0 → 1.21.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/README.md +1 -1
- package/ai/Bubble.d.ts +16 -0
- package/ai/Bubble.js +71 -0
- package/ai/ChatMessage.js +2 -5
- package/ai/Confirmation.d.ts +0 -7
- package/ai/Confirmation.js +3 -6
- package/ai/GeneratedImage.d.ts +0 -2
- package/ai/GeneratedImage.js +2 -4
- package/ai/Marker.d.ts +26 -0
- package/ai/Marker.js +67 -0
- package/ai/Message.d.ts +13 -0
- package/ai/Message.js +68 -0
- package/ai/MessageScroller.d.ts +21 -0
- package/ai/MessageScroller.js +283 -0
- package/ai/ModelSelector.d.ts +2 -2
- package/ai/ModelSelector.js +1 -2
- package/ai/Player.js +1 -1
- package/ai/PromptSteps.js +4 -2
- package/ai/Sandbox.d.ts +0 -2
- package/ai/Sandbox.js +2 -4
- package/ai/Suggestions.d.ts +0 -2
- package/ai/Suggestions.js +1 -4
- package/ai/WebPreview.d.ts +0 -2
- package/ai/WebPreview.js +2 -4
- package/code/Console.js +1 -1
- package/code/EnvList.d.ts +0 -2
- package/code/EnvList.js +2 -3
- package/components.css +652 -418
- package/data/BarChart.d.ts +0 -2
- package/data/BarChart.js +1 -4
- package/data/Chart.d.ts +14 -0
- package/data/Chart.js +149 -0
- package/data/EmptyState.d.ts +8 -13
- package/data/EmptyState.js +62 -24
- package/data/LineChart.js +7 -4
- package/data/Skeleton.d.ts +2 -11
- package/data/Skeleton.js +8 -38
- package/data/Sparkline.js +4 -1
- package/data/StatusDot.d.ts +0 -4
- package/data/StatusDot.js +3 -6
- package/data/Table.d.ts +11 -4
- package/data/Table.js +39 -7
- package/dates/Calendar.d.ts +10 -27
- package/dates/Calendar.js +250 -184
- package/dates/TimePicker.js +2 -2
- package/display/Accordion.d.ts +47 -15
- package/display/Accordion.js +257 -27
- package/display/AspectRatio.d.ts +4 -6
- package/display/AspectRatio.js +7 -5
- package/display/Avatar.d.ts +17 -14
- package/display/Avatar.js +68 -43
- package/display/Badge.d.ts +9 -8
- package/display/Badge.js +32 -14
- package/display/Card.d.ts +11 -13
- package/display/Card.js +74 -29
- package/display/Carousel.d.ts +23 -15
- package/display/Carousel.js +217 -66
- package/display/Collapsible.d.ts +19 -9
- package/display/Collapsible.js +140 -28
- package/display/Direction.d.ts +10 -0
- package/display/Direction.js +24 -0
- package/display/Item.d.ts +19 -0
- package/display/Item.js +152 -0
- package/display/Kbd.d.ts +5 -7
- package/display/Kbd.js +22 -10
- package/display/Link.js +2 -4
- package/display/Resizable.d.ts +6 -16
- package/display/Resizable.js +141 -58
- package/display/ScrollArea.d.ts +3 -1
- package/display/ScrollArea.js +30 -5
- package/display/Separator.d.ts +9 -0
- package/display/Separator.js +18 -0
- package/display/Timeline.d.ts +24 -0
- package/display/Timeline.js +51 -0
- package/display/Toolbar.js +5 -4
- package/display/TreeList.d.ts +0 -2
- package/display/TreeList.js +2 -5
- package/feedback/Alert.d.ts +13 -13
- package/feedback/Alert.js +40 -36
- package/feedback/AlertDialog.d.ts +30 -0
- package/feedback/AlertDialog.js +249 -0
- package/feedback/Banner.d.ts +1 -3
- package/feedback/Banner.js +1 -5
- package/feedback/ConfirmDialog.d.ts +1 -1
- package/feedback/ConfirmDialog.js +18 -20
- package/feedback/Dialog.d.ts +13 -16
- package/feedback/Dialog.js +204 -62
- package/feedback/Progress.d.ts +8 -9
- package/feedback/Progress.js +42 -24
- package/feedback/Sonner.d.ts +8 -0
- package/feedback/Sonner.js +238 -0
- package/feedback/Spinner.d.ts +2 -9
- package/feedback/Spinner.js +19 -28
- package/feedback/Tooltip.d.ts +9 -10
- package/feedback/Tooltip.js +147 -96
- package/files/Attachment.d.ts +27 -0
- package/files/Attachment.js +111 -0
- package/files/FileDrop.js +3 -1
- package/finance/PaymentCard.js +3 -3
- package/forms/Button.d.ts +6 -5
- package/forms/Button.js +22 -8
- package/forms/ButtonGroup.d.ts +11 -3
- package/forms/ButtonGroup.js +57 -6
- package/forms/Checkbox.d.ts +14 -3
- package/forms/Checkbox.js +84 -16
- package/forms/Combobox.d.ts +24 -16
- package/forms/Combobox.js +466 -135
- package/forms/Field.d.ts +14 -0
- package/forms/Field.js +99 -0
- package/forms/IconButton.d.ts +1 -1
- package/forms/IconButton.js +4 -3
- package/forms/Input.d.ts +8 -8
- package/forms/Input.js +46 -33
- package/forms/InputGroup.d.ts +8 -15
- package/forms/InputGroup.js +74 -35
- package/forms/InputOTP.d.ts +13 -0
- package/forms/InputOTP.js +125 -0
- package/forms/Label.d.ts +2 -6
- package/forms/Label.js +6 -4
- package/forms/NativeSelect.d.ts +16 -0
- package/forms/NativeSelect.js +35 -0
- package/forms/NumberInput.js +2 -2
- package/forms/Radio.d.ts +12 -1
- package/forms/Radio.js +76 -6
- package/forms/Select.d.ts +12 -9
- package/forms/Select.js +254 -42
- package/forms/Slider.d.ts +10 -17
- package/forms/Slider.js +78 -39
- package/forms/Switch.d.ts +8 -2
- package/forms/Switch.js +46 -15
- package/forms/Textarea.d.ts +1 -1
- package/forms/Textarea.js +26 -18
- package/forms/Toggle.d.ts +18 -15
- package/forms/Toggle.js +96 -42
- package/icons/_svg.js +2 -0
- package/index.d.ts +20 -8
- package/index.js +50 -38
- package/navigation/Breadcrumbs.d.ts +18 -11
- package/navigation/Breadcrumbs.js +99 -26
- package/navigation/Menubar.d.ts +52 -10
- package/navigation/Menubar.js +191 -146
- package/navigation/NavigationMenu.d.ts +15 -0
- package/navigation/NavigationMenu.js +296 -0
- package/navigation/Pagination.d.ts +10 -9
- package/navigation/Pagination.js +94 -51
- package/navigation/SideNav.js +4 -3
- package/navigation/Sidebar.d.ts +29 -0
- package/navigation/Sidebar.js +311 -0
- package/navigation/Tabs.d.ts +9 -5
- package/navigation/Tabs.js +132 -44
- package/overlay/Command.d.ts +32 -0
- package/overlay/Command.js +257 -0
- package/overlay/ContextMenu.d.ts +40 -8
- package/overlay/ContextMenu.js +468 -107
- package/overlay/Drawer.d.ts +29 -14
- package/overlay/Drawer.js +178 -80
- package/overlay/DropdownMenu.d.ts +43 -0
- package/overlay/DropdownMenu.js +502 -0
- package/overlay/HoverCard.d.ts +21 -12
- package/overlay/HoverCard.js +129 -61
- package/overlay/Popover.d.ts +11 -13
- package/overlay/Popover.js +138 -65
- package/overlay/Portal.js +21 -7
- package/overlay/Sheet.d.ts +11 -0
- package/overlay/Sheet.js +62 -0
- package/package.json +4 -1
- package/tokens/base.css +1 -1
- package/dates/DatePicker.d.ts +0 -14
- package/dates/DatePicker.js +0 -111
- package/dates/DateRangePicker.d.ts +0 -23
- package/dates/DateRangePicker.js +0 -150
- package/display/ListItem.d.ts +0 -19
- package/display/ListItem.js +0 -50
- package/feedback/Toast.d.ts +0 -78
- package/feedback/Toast.js +0 -192
- package/forms/DigitEntry.d.ts +0 -15
- package/forms/DigitEntry.js +0 -79
- package/forms/FormField.d.ts +0 -82
- package/forms/FormField.js +0 -209
- package/overlay/CommandPalette.d.ts +0 -21
- package/overlay/CommandPalette.js +0 -148
- package/overlay/Menu.d.ts +0 -24
- package/overlay/Menu.js +0 -139
package/forms/ButtonGroup.js
CHANGED
|
@@ -1,15 +1,66 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
import React from 'react';
|
|
4
|
-
|
|
4
|
+
import { mergeRefs } from "./Button.js";
|
|
5
|
+
import { Separator } from "../display/Separator.js";
|
|
6
|
+
export function buttonGroupVariants({
|
|
7
|
+
orientation = 'horizontal',
|
|
8
|
+
className = ''
|
|
9
|
+
} = {}) {
|
|
10
|
+
return `ef-btn-group ef-btn-group--${orientation}${className ? ` ${className}` : ''}`;
|
|
11
|
+
}
|
|
12
|
+
export const ButtonGroup = /*#__PURE__*/React.forwardRef(function ButtonGroup({
|
|
13
|
+
orientation = 'horizontal',
|
|
5
14
|
children,
|
|
6
15
|
style,
|
|
7
16
|
className,
|
|
8
17
|
...rest
|
|
9
|
-
}) {
|
|
10
|
-
|
|
18
|
+
}, ref) {
|
|
19
|
+
const axis = orientation === 'vertical' ? 'vertical' : 'horizontal';
|
|
20
|
+
return /*#__PURE__*/React.createElement("div", _extends({}, rest, {
|
|
21
|
+
ref: ref,
|
|
11
22
|
role: "group",
|
|
12
|
-
|
|
23
|
+
"data-slot": "button-group",
|
|
24
|
+
"data-orientation": axis,
|
|
25
|
+
className: buttonGroupVariants({
|
|
26
|
+
orientation: axis,
|
|
27
|
+
className
|
|
28
|
+
}),
|
|
13
29
|
style: style
|
|
14
|
-
}
|
|
15
|
-
}
|
|
30
|
+
}), children);
|
|
31
|
+
});
|
|
32
|
+
export const ButtonGroupText = /*#__PURE__*/React.forwardRef(function ButtonGroupText({
|
|
33
|
+
asChild = false,
|
|
34
|
+
children,
|
|
35
|
+
className,
|
|
36
|
+
...rest
|
|
37
|
+
}, ref) {
|
|
38
|
+
const classes = `ef-btn-group__text${className ? ` ${className}` : ''}`;
|
|
39
|
+
if (asChild) {
|
|
40
|
+
const child = React.Children.only(children);
|
|
41
|
+
return /*#__PURE__*/React.cloneElement(child, {
|
|
42
|
+
...rest,
|
|
43
|
+
'data-slot': 'button-group-text',
|
|
44
|
+
className: `${classes}${child.props.className ? ` ${child.props.className}` : ''}`,
|
|
45
|
+
ref: mergeRefs(ref, child.ref)
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
return /*#__PURE__*/React.createElement("div", _extends({}, rest, {
|
|
49
|
+
ref: ref,
|
|
50
|
+
"data-slot": "button-group-text",
|
|
51
|
+
className: classes
|
|
52
|
+
}), children);
|
|
53
|
+
});
|
|
54
|
+
export const ButtonGroupSeparator = /*#__PURE__*/React.forwardRef(function ButtonGroupSeparator({
|
|
55
|
+
orientation = 'vertical',
|
|
56
|
+
className,
|
|
57
|
+
...rest
|
|
58
|
+
}, ref) {
|
|
59
|
+
return /*#__PURE__*/React.createElement(Separator, _extends({}, rest, {
|
|
60
|
+
ref: ref,
|
|
61
|
+
decorative: true,
|
|
62
|
+
orientation: orientation,
|
|
63
|
+
"data-slot": "button-group-separator",
|
|
64
|
+
className: `ef-btn-group__separator${className ? ` ${className}` : ''}`
|
|
65
|
+
}));
|
|
66
|
+
});
|
package/forms/Checkbox.d.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type CheckedState = boolean | 'indeterminate';
|
|
2
|
+
|
|
3
|
+
export interface CheckboxProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'defaultChecked' | 'value' | 'onChange'> {
|
|
4
|
+
checked?: CheckedState;
|
|
5
|
+
defaultChecked?: CheckedState;
|
|
6
|
+
onCheckedChange?: (checked: CheckedState) => void;
|
|
7
|
+
/** Native-form change callback from the hidden checkbox input. */
|
|
8
|
+
onChange?: React.ChangeEventHandler<HTMLInputElement>;
|
|
9
|
+
name?: string;
|
|
10
|
+
value?: string;
|
|
11
|
+
required?: boolean;
|
|
12
|
+
form?: string;
|
|
2
13
|
label?: React.ReactNode;
|
|
3
|
-
/** Muted second line under the label */
|
|
14
|
+
/** Muted second line under the integrated label. */
|
|
4
15
|
description?: string;
|
|
5
16
|
}
|
|
6
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<
|
|
17
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
package/forms/Checkbox.js
CHANGED
|
@@ -2,37 +2,105 @@
|
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { Icon } from "../icons/Icon.js";
|
|
5
|
-
import { useFieldProps } from "./
|
|
5
|
+
import { useFieldProps } from "./Field.js";
|
|
6
|
+
function stateName(value) {
|
|
7
|
+
return value === 'indeterminate' ? 'indeterminate' : value ? 'checked' : 'unchecked';
|
|
8
|
+
}
|
|
6
9
|
export const Checkbox = /*#__PURE__*/React.forwardRef(function Checkbox({
|
|
10
|
+
checked,
|
|
11
|
+
defaultChecked = false,
|
|
12
|
+
onCheckedChange,
|
|
13
|
+
onChange,
|
|
7
14
|
label,
|
|
8
15
|
description,
|
|
9
16
|
disabled,
|
|
17
|
+
name,
|
|
18
|
+
value = 'on',
|
|
19
|
+
required,
|
|
20
|
+
form,
|
|
21
|
+
id,
|
|
10
22
|
style,
|
|
11
23
|
className,
|
|
24
|
+
'aria-describedby': ariaDescribedBy,
|
|
25
|
+
'aria-labelledby': ariaLabelledBy,
|
|
26
|
+
'aria-invalid': ariaInvalid,
|
|
27
|
+
onClick,
|
|
12
28
|
...rest
|
|
13
29
|
}, ref) {
|
|
14
|
-
|
|
30
|
+
const uid = React.useId();
|
|
31
|
+
const controlled = checked !== undefined;
|
|
32
|
+
const [internal, setInternal] = React.useState(defaultChecked);
|
|
33
|
+
const current = controlled ? checked : internal;
|
|
34
|
+
const state = stateName(current);
|
|
15
35
|
const field = useFieldProps({
|
|
16
|
-
id
|
|
17
|
-
|
|
36
|
+
id,
|
|
37
|
+
required,
|
|
38
|
+
'aria-describedby': ariaDescribedBy,
|
|
39
|
+
invalid: ariaInvalid
|
|
18
40
|
});
|
|
19
|
-
|
|
20
|
-
|
|
41
|
+
const controlId = field.id || id;
|
|
42
|
+
const labelId = label ? `${uid}l` : undefined;
|
|
43
|
+
const descriptionId = description ? `${uid}d` : undefined;
|
|
44
|
+
const describedBy = [...new Set([field.controlProps['aria-describedby'], ariaDescribedBy, descriptionId].filter(Boolean))].join(' ') || undefined;
|
|
45
|
+
const hiddenRef = React.useRef(null);
|
|
46
|
+
React.useEffect(() => {
|
|
47
|
+
if (hiddenRef.current) hiddenRef.current.indeterminate = current === 'indeterminate';
|
|
48
|
+
}, [current]);
|
|
49
|
+
const update = next => {
|
|
50
|
+
if (!controlled) setInternal(next);
|
|
51
|
+
onCheckedChange?.(next);
|
|
52
|
+
};
|
|
53
|
+
const toggle = () => {
|
|
54
|
+
if (!disabled) hiddenRef.current?.click();
|
|
55
|
+
};
|
|
56
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
57
|
+
className: `ef-check${disabled ? ' ef-check--disabled' : ''}`,
|
|
21
58
|
style: style
|
|
22
|
-
}, /*#__PURE__*/React.createElement("input",
|
|
23
|
-
ref:
|
|
24
|
-
type: "checkbox",
|
|
59
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
60
|
+
ref: hiddenRef,
|
|
25
61
|
className: "ef-check__input",
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
62
|
+
type: "checkbox",
|
|
63
|
+
"aria-hidden": "true",
|
|
64
|
+
tabIndex: -1,
|
|
65
|
+
name: name,
|
|
66
|
+
value: value,
|
|
67
|
+
required: required,
|
|
68
|
+
disabled: disabled,
|
|
69
|
+
form: form,
|
|
70
|
+
checked: current === true,
|
|
71
|
+
onChange: event => {
|
|
72
|
+
update(event.target.checked);
|
|
73
|
+
onChange?.(event);
|
|
74
|
+
}
|
|
75
|
+
}), /*#__PURE__*/React.createElement("button", _extends({}, rest, field.controlProps, {
|
|
76
|
+
ref: ref,
|
|
77
|
+
id: controlId,
|
|
78
|
+
type: "button",
|
|
79
|
+
role: "checkbox",
|
|
80
|
+
"data-slot": "checkbox",
|
|
81
|
+
"data-state": state,
|
|
82
|
+
"aria-checked": current === 'indeterminate' ? 'mixed' : !!current,
|
|
83
|
+
"aria-labelledby": ariaLabelledBy || labelId,
|
|
84
|
+
"aria-describedby": describedBy,
|
|
85
|
+
"aria-invalid": ariaInvalid || field.invalid || undefined,
|
|
86
|
+
"aria-required": required || field.required || undefined,
|
|
87
|
+
disabled: disabled,
|
|
88
|
+
className: `ef-check__box${className ? ' ' + className : ''}`,
|
|
89
|
+
onClick: event => {
|
|
90
|
+
onClick?.(event);
|
|
91
|
+
if (!event.defaultPrevented) toggle();
|
|
92
|
+
}
|
|
93
|
+
}), /*#__PURE__*/React.createElement(Icon, {
|
|
94
|
+
name: current === 'indeterminate' ? 'minus' : 'check',
|
|
31
95
|
size: 13,
|
|
32
96
|
strokeWidth: 3
|
|
33
97
|
})), label ? /*#__PURE__*/React.createElement("span", {
|
|
34
|
-
className: "ef-check__label"
|
|
35
|
-
|
|
98
|
+
className: "ef-check__label",
|
|
99
|
+
onClick: toggle
|
|
100
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
101
|
+
id: labelId
|
|
102
|
+
}, label), description ? /*#__PURE__*/React.createElement("span", {
|
|
103
|
+
id: descriptionId,
|
|
36
104
|
className: "ef-check__desc"
|
|
37
105
|
}, description) : null) : null);
|
|
38
106
|
});
|
package/forms/Combobox.d.ts
CHANGED
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
/** Selected value (single) or values (multiple) */
|
|
8
|
-
value?: string | string[] | null;
|
|
9
|
-
onChange?: (value: any) => void;
|
|
10
|
-
/** Multi-select with removable chips */
|
|
11
|
-
multiple?: boolean;
|
|
12
|
-
/** @default 'Search…' */
|
|
13
|
-
placeholder?: string;
|
|
14
|
-
style?: React.CSSProperties;
|
|
15
|
-
className?: string;
|
|
1
|
+
export interface ComboboxProps<T = string> {
|
|
2
|
+
items?: T[]; value?: T | T[] | null; defaultValue?: T | T[] | null;
|
|
3
|
+
onValueChange?: (value: T | T[] | null) => void; multiple?: boolean;
|
|
4
|
+
open?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void;
|
|
5
|
+
inputValue?: string; defaultInputValue?: string; onInputValueChange?: (value: string) => void;
|
|
6
|
+
disabled?: boolean; autoHighlight?: boolean; children?: React.ReactNode;
|
|
16
7
|
}
|
|
17
|
-
export declare function Combobox(props: ComboboxProps): React.JSX.Element;
|
|
8
|
+
export declare function Combobox<T = string>(props: ComboboxProps<T>): React.JSX.Element;
|
|
9
|
+
export declare const ComboboxValue: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & { children?: React.ReactNode | ((value: unknown) => React.ReactNode) } & React.RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
export declare const ComboboxTrigger: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
export declare const ComboboxClear: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
12
|
+
export declare const ComboboxInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & { showTrigger?: boolean; showClear?: boolean } & React.RefAttributes<HTMLInputElement>>;
|
|
13
|
+
export declare const ComboboxContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & { side?: 'top' | 'bottom' | 'left' | 'right'; sideOffset?: number; align?: 'start' | 'center' | 'end'; alignOffset?: number; anchor?: React.RefObject<HTMLElement | null> } & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
export declare const ComboboxList: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & { children?: React.ReactNode | ((item: unknown) => React.ReactNode) } & React.RefAttributes<HTMLDivElement>>;
|
|
15
|
+
export interface ComboboxItemProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'value'> { value?: unknown; keywords?: string[]; }
|
|
16
|
+
export declare const ComboboxItem: React.ForwardRefExoticComponent<ComboboxItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
17
|
+
export declare const ComboboxGroup: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
export declare const ComboboxLabel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
19
|
+
export declare function ComboboxCollection(props: { children?: React.ReactNode }): React.JSX.Element;
|
|
20
|
+
export declare const ComboboxEmpty: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export declare const ComboboxSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
export declare const ComboboxChips: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
23
|
+
export declare const ComboboxChip: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLSpanElement> & { value?: unknown; showRemove?: boolean } & React.RefAttributes<HTMLSpanElement>>;
|
|
24
|
+
export declare const ComboboxChipsInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
25
|
+
export declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
|