@sproutsocial/seeds-react-menu 1.17.0 → 1.18.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/.turbo/turbo-build.log +14 -22
- package/CHANGELOG.md +30 -0
- package/dist/esm/index.js +542 -229
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/v3/index.js +793 -1038
- package/dist/esm/v3/index.js.map +1 -1
- package/dist/v3/index.d.mts +64 -38
- package/dist/v3/index.d.ts +64 -38
- package/dist/v3/index.js +813 -1058
- package/dist/v3/index.js.map +1 -1
- package/dist/v3/menu.css +947 -0
- package/package.json +20 -21
- package/src/v3/ActionMenuStyles.tsx +169 -149
- package/src/v3/Common/ComboboxStyles.tsx +396 -511
- package/src/v3/Common/SelectIcons.tsx +17 -8
- package/src/v3/Common/SelectItem.tsx +25 -38
- package/src/v3/Common/SelectStyles.tsx +146 -144
- package/src/v3/Common/cn.ts +38 -0
- package/src/v3/MenuButtonStyles.tsx +55 -34
- package/src/v3/MultiSearchableSelect.tsx +8 -8
- package/src/v3/MultiSelect.tsx +11 -16
- package/src/v3/SingleSelect.tsx +13 -13
- package/src/v3/menu.css +947 -0
- package/tsup.config.ts +0 -1
- package/dist/esm/chunk-ROQATIB7.js +0 -357
- package/dist/esm/chunk-ROQATIB7.js.map +0 -1
- package/dist/esm/v2/index.js +0 -2089
- package/dist/esm/v2/index.js.map +0 -1
- package/dist/v2/index.d.mts +0 -108
- package/dist/v2/index.d.ts +0 -108
- package/dist/v2/index.js +0 -2280
- package/dist/v2/index.js.map +0 -1
- package/src/v2/Autocomplete/Autocomplete.stories.tsx +0 -645
- package/src/v2/Autocomplete/MultiAutocomplete.tsx +0 -487
- package/src/v2/Autocomplete/SingleAutocomplete.tsx +0 -366
- package/src/v2/Autocomplete/index.ts +0 -2
- package/src/v2/Common-V2/ComboboxContent.tsx +0 -457
- package/src/v2/Common-V2/MenuGroup.tsx +0 -60
- package/src/v2/Common-V2/MenuGroupTypes.ts +0 -30
- package/src/v2/Common-V2/MenuHeading.tsx +0 -83
- package/src/v2/Common-V2/MenuItem.tsx +0 -138
- package/src/v2/Common-V2/Popout.tsx +0 -124
- package/src/v2/Common-V2/PopoutTypes.tsx +0 -109
- package/src/v2/Common-V2/SelectToggleButton.tsx +0 -99
- package/src/v2/Common-V2/index.ts +0 -11
- package/src/v2/Common-V2/props.ts +0 -84
- package/src/v2/Common-V2/styles.tsx +0 -41
- package/src/v2/Common-V2/types.ts +0 -16
- package/src/v2/Common-V2/useHighlightedIndex.ts +0 -62
- package/src/v2/Common-V2/utils.ts +0 -238
- package/src/v2/SearchableSelect/AutocompleteContent.tsx +0 -325
- package/src/v2/SearchableSelect/SearchableMultiSelect.tsx +0 -527
- package/src/v2/SearchableSelect/SearchableSelect.tsx +0 -395
- package/src/v2/SearchableSelect/index.ts +0 -12
- package/src/v2/Select/MultiSelect.tsx +0 -417
- package/src/v2/Select/Select.stories.tsx +0 -593
- package/src/v2/Select/SingleSelect.tsx +0 -285
- package/src/v2/Select/index.ts +0 -2
- package/src/v2/index.ts +0 -2
package/dist/v3/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as _base_ui_react_combobox from '@base-ui/react/combobox';
|
|
4
|
-
import
|
|
4
|
+
import { Combobox } from '@base-ui/react/combobox';
|
|
5
5
|
import { MenuRootChangeEventDetails } from '@base-ui/react/menu';
|
|
6
6
|
import { TypeButtonProps } from '@sproutsocial/seeds-react-button';
|
|
7
7
|
|
|
@@ -330,51 +330,77 @@ interface MultiSearchableSelectChildrenProps extends MultiSearchableSelectBasePr
|
|
|
330
330
|
type MultiSearchableSelectProps<T extends DataWithId> = MultiSearchableSelectDataProps<T> | MultiSearchableSelectChildrenProps;
|
|
331
331
|
declare function MultiSearchableSelect<T extends DataWithId>(props: MultiSearchableSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
332
332
|
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
/**
|
|
334
|
+
* Local class-name merge helper for the v3 menu CSS-class components.
|
|
335
|
+
*
|
|
336
|
+
* `cn` is not exported from @sproutsocial/seeds-react-utilities, so — mirroring
|
|
337
|
+
* ButtonTailwind/MessageTailwind — the menu package keeps a local copy. Accepts
|
|
338
|
+
* strings and { className: boolean } records; falsy entries are dropped.
|
|
339
|
+
*/
|
|
340
|
+
/**
|
|
341
|
+
* Narrow a Base UI component's props so `className` is a plain string. Base UI
|
|
342
|
+
* types `className` as `string | ((state) => string)`; the v3 CSS-class
|
|
343
|
+
* wrappers only ever forward a string (no consumer uses the function form), and
|
|
344
|
+
* a string is what `cn` accepts.
|
|
345
|
+
*/
|
|
346
|
+
type WithStringClassName<P> = Omit<P, "className"> & {
|
|
347
|
+
className?: string;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* v3 Combobox / Searchable Select surface, rendered with CSS classes from
|
|
352
|
+
* menu.css (imported via @sproutsocial/seeds-react-menu/base/css) instead of
|
|
353
|
+
* styled-components. Each export keeps its previous name and forwards
|
|
354
|
+
* props/refs to the underlying Base UI component; the transient `$isInvalid`
|
|
355
|
+
* prop is translated to a modifier class here so call sites are unchanged.
|
|
356
|
+
*/
|
|
357
|
+
declare const ComboboxLabel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
358
|
+
type InputGroupProps = WithStringClassName<React.ComponentProps<typeof Combobox.InputGroup>> & {
|
|
335
359
|
$isInvalid?: boolean;
|
|
336
|
-
}
|
|
337
|
-
declare const
|
|
338
|
-
declare const
|
|
339
|
-
declare const
|
|
340
|
-
declare const
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
declare const
|
|
344
|
-
declare const
|
|
345
|
-
declare const
|
|
346
|
-
declare const
|
|
347
|
-
declare const
|
|
348
|
-
declare const
|
|
349
|
-
declare const
|
|
350
|
-
declare const
|
|
351
|
-
declare const
|
|
352
|
-
declare const
|
|
353
|
-
declare const
|
|
354
|
-
declare const
|
|
355
|
-
declare const ComboboxSelectAllItem: styled_components.StyledComponent<React.NamedExoticComponent<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>, styled_components.DefaultTheme, {}, never>;
|
|
360
|
+
};
|
|
361
|
+
declare const ComboboxInputGroup: React.ForwardRefExoticComponent<Omit<InputGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
362
|
+
declare const ComboboxInput: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
363
|
+
declare const ComboboxTokenInput: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
364
|
+
declare const ComboboxActionButtons: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
365
|
+
declare const ComboboxClear: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxClearProps, "ref"> & React.RefAttributes<HTMLButtonElement>>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
366
|
+
declare const ComboboxTrigger: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
367
|
+
declare const ComboboxPositioner: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxPositionerProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
368
|
+
declare const ComboboxPopup: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
369
|
+
declare const ComboboxList: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxListProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
370
|
+
declare const ComboboxStatus: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxStatusProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
371
|
+
declare const ComboboxEmpty: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
372
|
+
declare const ComboboxItem: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
373
|
+
declare const ComboboxItemIndicator: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxItemIndicatorProps, "ref"> & React.RefAttributes<HTMLSpanElement>>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
374
|
+
declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
375
|
+
declare const ComboboxGroupLabel: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
376
|
+
declare const ComboboxSeparator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
377
|
+
declare const ComboboxGroupHeaderItem: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
378
|
+
declare const ComboboxSelectAllItem: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
356
379
|
declare function ComboboxGroupHeaderCheckbox({ $state, id, }: {
|
|
357
380
|
$state: "none" | "partial" | "all";
|
|
358
381
|
id: string;
|
|
359
382
|
}): react_jsx_runtime.JSX.Element;
|
|
360
|
-
declare const ComboboxToken:
|
|
361
|
-
|
|
383
|
+
declare const ComboboxToken: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxChipsProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
384
|
+
type TokenInputGroupProps = WithStringClassName<React.ComponentProps<typeof Combobox.InputGroup>> & {
|
|
362
385
|
$isInvalid?: boolean;
|
|
363
|
-
}
|
|
364
|
-
declare const
|
|
365
|
-
declare const
|
|
366
|
-
declare const
|
|
386
|
+
};
|
|
387
|
+
declare const ComboboxTokenInputGroup: React.ForwardRefExoticComponent<Omit<TokenInputGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
388
|
+
declare const Token: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
389
|
+
declare const TokenRemove: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
390
|
+
type SearchableTriggerProps = WithStringClassName<React.ComponentProps<typeof Combobox.Trigger>> & {
|
|
367
391
|
$isInvalid?: boolean;
|
|
368
|
-
}
|
|
369
|
-
declare const
|
|
370
|
-
declare const
|
|
371
|
-
declare const
|
|
372
|
-
declare const
|
|
373
|
-
declare const
|
|
374
|
-
declare const
|
|
375
|
-
declare const
|
|
392
|
+
};
|
|
393
|
+
declare const SearchableSelectTrigger: React.ForwardRefExoticComponent<Omit<SearchableTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
394
|
+
declare const SearchableSelectTriggerIcon: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
395
|
+
declare const SearchableSelectPlaceholder: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
396
|
+
declare const SearchableSelectPopup: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
397
|
+
declare const SearchableSelectSearchContainer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
398
|
+
declare const SearchableSelectInput: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
399
|
+
declare const SearchableSelectList: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxListProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
400
|
+
type TokenTriggerProps = WithStringClassName<React.ComponentProps<typeof Combobox.Trigger>> & {
|
|
376
401
|
$isInvalid?: boolean;
|
|
377
|
-
}
|
|
402
|
+
};
|
|
403
|
+
declare const SearchableSelectTokenTrigger: React.ForwardRefExoticComponent<Omit<TokenTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
378
404
|
|
|
379
405
|
interface ActionMenuProps {
|
|
380
406
|
/** The button element that opens the menu */
|
package/dist/v3/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import * as _base_ui_react_combobox from '@base-ui/react/combobox';
|
|
4
|
-
import
|
|
4
|
+
import { Combobox } from '@base-ui/react/combobox';
|
|
5
5
|
import { MenuRootChangeEventDetails } from '@base-ui/react/menu';
|
|
6
6
|
import { TypeButtonProps } from '@sproutsocial/seeds-react-button';
|
|
7
7
|
|
|
@@ -330,51 +330,77 @@ interface MultiSearchableSelectChildrenProps extends MultiSearchableSelectBasePr
|
|
|
330
330
|
type MultiSearchableSelectProps<T extends DataWithId> = MultiSearchableSelectDataProps<T> | MultiSearchableSelectChildrenProps;
|
|
331
331
|
declare function MultiSearchableSelect<T extends DataWithId>(props: MultiSearchableSelectProps<T>): react_jsx_runtime.JSX.Element;
|
|
332
332
|
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
/**
|
|
334
|
+
* Local class-name merge helper for the v3 menu CSS-class components.
|
|
335
|
+
*
|
|
336
|
+
* `cn` is not exported from @sproutsocial/seeds-react-utilities, so — mirroring
|
|
337
|
+
* ButtonTailwind/MessageTailwind — the menu package keeps a local copy. Accepts
|
|
338
|
+
* strings and { className: boolean } records; falsy entries are dropped.
|
|
339
|
+
*/
|
|
340
|
+
/**
|
|
341
|
+
* Narrow a Base UI component's props so `className` is a plain string. Base UI
|
|
342
|
+
* types `className` as `string | ((state) => string)`; the v3 CSS-class
|
|
343
|
+
* wrappers only ever forward a string (no consumer uses the function form), and
|
|
344
|
+
* a string is what `cn` accepts.
|
|
345
|
+
*/
|
|
346
|
+
type WithStringClassName<P> = Omit<P, "className"> & {
|
|
347
|
+
className?: string;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
/**
|
|
351
|
+
* v3 Combobox / Searchable Select surface, rendered with CSS classes from
|
|
352
|
+
* menu.css (imported via @sproutsocial/seeds-react-menu/base/css) instead of
|
|
353
|
+
* styled-components. Each export keeps its previous name and forwards
|
|
354
|
+
* props/refs to the underlying Base UI component; the transient `$isInvalid`
|
|
355
|
+
* prop is translated to a modifier class here so call sites are unchanged.
|
|
356
|
+
*/
|
|
357
|
+
declare const ComboboxLabel: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
358
|
+
type InputGroupProps = WithStringClassName<React.ComponentProps<typeof Combobox.InputGroup>> & {
|
|
335
359
|
$isInvalid?: boolean;
|
|
336
|
-
}
|
|
337
|
-
declare const
|
|
338
|
-
declare const
|
|
339
|
-
declare const
|
|
340
|
-
declare const
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
declare const
|
|
344
|
-
declare const
|
|
345
|
-
declare const
|
|
346
|
-
declare const
|
|
347
|
-
declare const
|
|
348
|
-
declare const
|
|
349
|
-
declare const
|
|
350
|
-
declare const
|
|
351
|
-
declare const
|
|
352
|
-
declare const
|
|
353
|
-
declare const
|
|
354
|
-
declare const
|
|
355
|
-
declare const ComboboxSelectAllItem: styled_components.StyledComponent<React.NamedExoticComponent<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>, styled_components.DefaultTheme, {}, never>;
|
|
360
|
+
};
|
|
361
|
+
declare const ComboboxInputGroup: React.ForwardRefExoticComponent<Omit<InputGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
362
|
+
declare const ComboboxInput: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
363
|
+
declare const ComboboxTokenInput: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
364
|
+
declare const ComboboxActionButtons: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
365
|
+
declare const ComboboxClear: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxClearProps, "ref"> & React.RefAttributes<HTMLButtonElement>>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
366
|
+
declare const ComboboxTrigger: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
367
|
+
declare const ComboboxPositioner: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxPositionerProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
368
|
+
declare const ComboboxPopup: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
369
|
+
declare const ComboboxList: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxListProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
370
|
+
declare const ComboboxStatus: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxStatusProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
371
|
+
declare const ComboboxEmpty: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
372
|
+
declare const ComboboxItem: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
373
|
+
declare const ComboboxItemIndicator: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxItemIndicatorProps, "ref"> & React.RefAttributes<HTMLSpanElement>>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
374
|
+
declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
375
|
+
declare const ComboboxGroupLabel: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
376
|
+
declare const ComboboxSeparator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
377
|
+
declare const ComboboxGroupHeaderItem: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
378
|
+
declare const ComboboxSelectAllItem: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
356
379
|
declare function ComboboxGroupHeaderCheckbox({ $state, id, }: {
|
|
357
380
|
$state: "none" | "partial" | "all";
|
|
358
381
|
id: string;
|
|
359
382
|
}): react_jsx_runtime.JSX.Element;
|
|
360
|
-
declare const ComboboxToken:
|
|
361
|
-
|
|
383
|
+
declare const ComboboxToken: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxChipsProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
384
|
+
type TokenInputGroupProps = WithStringClassName<React.ComponentProps<typeof Combobox.InputGroup>> & {
|
|
362
385
|
$isInvalid?: boolean;
|
|
363
|
-
}
|
|
364
|
-
declare const
|
|
365
|
-
declare const
|
|
366
|
-
declare const
|
|
386
|
+
};
|
|
387
|
+
declare const ComboboxTokenInputGroup: React.ForwardRefExoticComponent<Omit<TokenInputGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
388
|
+
declare const Token: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
389
|
+
declare const TokenRemove: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
390
|
+
type SearchableTriggerProps = WithStringClassName<React.ComponentProps<typeof Combobox.Trigger>> & {
|
|
367
391
|
$isInvalid?: boolean;
|
|
368
|
-
}
|
|
369
|
-
declare const
|
|
370
|
-
declare const
|
|
371
|
-
declare const
|
|
372
|
-
declare const
|
|
373
|
-
declare const
|
|
374
|
-
declare const
|
|
375
|
-
declare const
|
|
392
|
+
};
|
|
393
|
+
declare const SearchableSelectTrigger: React.ForwardRefExoticComponent<Omit<SearchableTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
394
|
+
declare const SearchableSelectTriggerIcon: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxIconProps, "ref"> & React.RefAttributes<HTMLSpanElement>>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
395
|
+
declare const SearchableSelectPlaceholder: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
396
|
+
declare const SearchableSelectPopup: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
397
|
+
declare const SearchableSelectSearchContainer: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
398
|
+
declare const SearchableSelectInput: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
399
|
+
declare const SearchableSelectList: React.ForwardRefExoticComponent<Omit<WithStringClassName<Omit<_base_ui_react_combobox.ComboboxListProps, "ref"> & React.RefAttributes<HTMLDivElement>>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
400
|
+
type TokenTriggerProps = WithStringClassName<React.ComponentProps<typeof Combobox.Trigger>> & {
|
|
376
401
|
$isInvalid?: boolean;
|
|
377
|
-
}
|
|
402
|
+
};
|
|
403
|
+
declare const SearchableSelectTokenTrigger: React.ForwardRefExoticComponent<Omit<TokenTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
378
404
|
|
|
379
405
|
interface ActionMenuProps {
|
|
380
406
|
/** The button element that opens the menu */
|