@wistia/ui 0.10.5 → 0.10.6
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/index.cjs +4353 -4228
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +109 -60
- package/dist/index.d.ts +109 -60
- package/dist/index.mjs +4424 -4295
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -1
package/dist/index.d.mts
CHANGED
|
@@ -1110,6 +1110,43 @@ type CollapsibleContentProps = {
|
|
|
1110
1110
|
};
|
|
1111
1111
|
declare const CollapsibleContent: ({ clamp, children }: CollapsibleContentProps) => react_jsx_runtime.JSX.Element;
|
|
1112
1112
|
|
|
1113
|
+
type ComboboxOptionProps = {
|
|
1114
|
+
value: string;
|
|
1115
|
+
children: ReactNode;
|
|
1116
|
+
};
|
|
1117
|
+
declare const ComboboxOption: ({ value, children }: ComboboxOptionProps) => react_jsx_runtime.JSX.Element;
|
|
1118
|
+
type ComboboxProps = {
|
|
1119
|
+
/**
|
|
1120
|
+
* If true, the combox will fill the width of its parent
|
|
1121
|
+
*/
|
|
1122
|
+
fullWidth?: boolean;
|
|
1123
|
+
/**
|
|
1124
|
+
* The options to display in the combobox
|
|
1125
|
+
*/
|
|
1126
|
+
children: ReactNode;
|
|
1127
|
+
/**
|
|
1128
|
+
* The placeholder text for the combobox input
|
|
1129
|
+
*/
|
|
1130
|
+
placeholder?: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* The function to call when the search value changes.
|
|
1133
|
+
*/
|
|
1134
|
+
onSearchValueChange: (value: string) => void;
|
|
1135
|
+
/**
|
|
1136
|
+
* The search value of the combobox input
|
|
1137
|
+
*/
|
|
1138
|
+
searchValue: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Callback that fires when a value is selected
|
|
1141
|
+
*/
|
|
1142
|
+
onChange: (value: string[]) => void;
|
|
1143
|
+
/**
|
|
1144
|
+
* The selected values of the combobox
|
|
1145
|
+
*/
|
|
1146
|
+
value: string[];
|
|
1147
|
+
};
|
|
1148
|
+
declare const Combobox: ({ placeholder, value, onChange, searchValue, onSearchValueChange, children, fullWidth, }: ComboboxProps) => react_jsx_runtime.JSX.Element;
|
|
1149
|
+
|
|
1113
1150
|
type DataCardProps = ComponentPropsWithoutRef<'div'> & Partial<Pick<ButtonAsLinkProps, 'beforeAction' | 'disabled' | 'href' | 'onClick' | 'type'>> & {
|
|
1114
1151
|
/**
|
|
1115
1152
|
* Label text displayed above the value
|
|
@@ -1933,6 +1970,28 @@ declare const Label: {
|
|
|
1933
1970
|
displayName: string;
|
|
1934
1971
|
};
|
|
1935
1972
|
|
|
1973
|
+
type VariantType = 'breadcrumbs' | 'bullets' | 'commas' | 'ordered' | 'slashes' | 'spaces' | 'unbulleted';
|
|
1974
|
+
type ItemType = ItemType[] | string[] | string;
|
|
1975
|
+
type ListProps = ComponentPropsWithoutRef<'ul'> & {
|
|
1976
|
+
/**
|
|
1977
|
+
* Children should be wrapped in `<ListItem>`
|
|
1978
|
+
*/
|
|
1979
|
+
children?: ReactNode;
|
|
1980
|
+
/**
|
|
1981
|
+
* As an alternative to passing children you can supply an array of strings that
|
|
1982
|
+
* will be rendered as child `<ListItems>`s. Note that all items will be of the same variant.
|
|
1983
|
+
*/
|
|
1984
|
+
items?: ItemType[];
|
|
1985
|
+
/**
|
|
1986
|
+
* The kind of list to render
|
|
1987
|
+
*/
|
|
1988
|
+
variant?: VariantType;
|
|
1989
|
+
};
|
|
1990
|
+
declare const List: {
|
|
1991
|
+
({ children, items, variant, ...otherProps }: ListProps): JSX.Element | null;
|
|
1992
|
+
displayName: string;
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1936
1995
|
type ControlledMenuProps = {
|
|
1937
1996
|
/**
|
|
1938
1997
|
* Is the menu open.
|
|
@@ -2802,6 +2861,55 @@ type SelectOptionGroupProps = {
|
|
|
2802
2861
|
};
|
|
2803
2862
|
declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
|
|
2804
2863
|
|
|
2864
|
+
type SliderProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
|
|
2865
|
+
/**
|
|
2866
|
+
* aria-label for screen-readers to apply to the slider
|
|
2867
|
+
*/
|
|
2868
|
+
'aria-label'?: string;
|
|
2869
|
+
/**
|
|
2870
|
+
* aria-labelledby for screen-readers to apply to the slider
|
|
2871
|
+
*/
|
|
2872
|
+
'aria-labelledby'?: string;
|
|
2873
|
+
/**
|
|
2874
|
+
* @ignore
|
|
2875
|
+
*/
|
|
2876
|
+
'data-testid'?: string;
|
|
2877
|
+
/**
|
|
2878
|
+
* Determines the initial position(s) of the thumb(s)
|
|
2879
|
+
* Must be an array of numbers.
|
|
2880
|
+
*/
|
|
2881
|
+
initialValue?: number[];
|
|
2882
|
+
/**
|
|
2883
|
+
* If `true` the thumbs can't be moved.
|
|
2884
|
+
*/
|
|
2885
|
+
disabled?: boolean;
|
|
2886
|
+
/**
|
|
2887
|
+
* The maximum value of the slider.
|
|
2888
|
+
*/
|
|
2889
|
+
max?: number;
|
|
2890
|
+
/**
|
|
2891
|
+
* The minimum value of the slider.
|
|
2892
|
+
*/
|
|
2893
|
+
min?: number;
|
|
2894
|
+
/**
|
|
2895
|
+
* Callback called on value change
|
|
2896
|
+
*/
|
|
2897
|
+
onChange?: (value: number[]) => void;
|
|
2898
|
+
/**
|
|
2899
|
+
* Value to be added or subtracted on each step
|
|
2900
|
+
*/
|
|
2901
|
+
step?: number;
|
|
2902
|
+
/**
|
|
2903
|
+
* Current value of the slider
|
|
2904
|
+
* Must be an array of numbers if provided.
|
|
2905
|
+
*/
|
|
2906
|
+
value?: number[];
|
|
2907
|
+
};
|
|
2908
|
+
declare const Slider: {
|
|
2909
|
+
({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, disabled, initialValue, max, min, onChange, step, value, "data-testid": dataTestId, ...otherProps }: SliderProps): JSX.Element;
|
|
2910
|
+
displayName: string;
|
|
2911
|
+
};
|
|
2912
|
+
|
|
2805
2913
|
type StackProps = {
|
|
2806
2914
|
/**
|
|
2807
2915
|
* Optional children
|
|
@@ -3290,63 +3398,4 @@ declare const WistiaLogo: {
|
|
|
3290
3398
|
displayName: string;
|
|
3291
3399
|
};
|
|
3292
3400
|
|
|
3293
|
-
type
|
|
3294
|
-
type ItemType = ItemType[] | string[] | string;
|
|
3295
|
-
type ListProps = ComponentPropsWithoutRef<'ul'> & {
|
|
3296
|
-
/**
|
|
3297
|
-
* Children should be wrapped in `<ListItem>`
|
|
3298
|
-
*/
|
|
3299
|
-
children?: ReactNode;
|
|
3300
|
-
/**
|
|
3301
|
-
* As an alternative to passing children you can supply an array of strings that
|
|
3302
|
-
* will be rendered as child `<ListItems>`s. Note that all items will be of the same variant.
|
|
3303
|
-
*/
|
|
3304
|
-
items?: ItemType[];
|
|
3305
|
-
/**
|
|
3306
|
-
* The kind of list to render
|
|
3307
|
-
*/
|
|
3308
|
-
variant?: VariantType;
|
|
3309
|
-
};
|
|
3310
|
-
declare const List: {
|
|
3311
|
-
({ children, items, variant, ...otherProps }: ListProps): JSX.Element | null;
|
|
3312
|
-
displayName: string;
|
|
3313
|
-
};
|
|
3314
|
-
|
|
3315
|
-
type ComboboxOptionProps = {
|
|
3316
|
-
value: string;
|
|
3317
|
-
children: ReactNode;
|
|
3318
|
-
};
|
|
3319
|
-
declare const ComboboxOption: ({ value, children }: ComboboxOptionProps) => react_jsx_runtime.JSX.Element;
|
|
3320
|
-
type ComboboxProps = {
|
|
3321
|
-
/**
|
|
3322
|
-
* If true, the combox will fill the width of its parent
|
|
3323
|
-
*/
|
|
3324
|
-
fullWidth?: boolean;
|
|
3325
|
-
/**
|
|
3326
|
-
* The options to display in the combobox
|
|
3327
|
-
*/
|
|
3328
|
-
children: ReactNode;
|
|
3329
|
-
/**
|
|
3330
|
-
* The placeholder text for the combobox input
|
|
3331
|
-
*/
|
|
3332
|
-
placeholder?: string;
|
|
3333
|
-
/**
|
|
3334
|
-
* The function to call when the search value changes.
|
|
3335
|
-
*/
|
|
3336
|
-
onSearchValueChange: (value: string) => void;
|
|
3337
|
-
/**
|
|
3338
|
-
* The search value of the combobox input
|
|
3339
|
-
*/
|
|
3340
|
-
searchValue: string;
|
|
3341
|
-
/**
|
|
3342
|
-
* Callback that fires when a value is selected
|
|
3343
|
-
*/
|
|
3344
|
-
onChange: (value: string[]) => void;
|
|
3345
|
-
/**
|
|
3346
|
-
* The selected values of the combobox
|
|
3347
|
-
*/
|
|
3348
|
-
value: string[];
|
|
3349
|
-
};
|
|
3350
|
-
declare const Combobox: ({ placeholder, value, onChange, searchValue, onSearchValueChange, children, fullWidth, }: ComboboxProps) => react_jsx_runtime.JSX.Element;
|
|
3351
|
-
|
|
3352
|
-
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Center, type CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, type EllipsisProps, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, Text, type TextProps, Thumbnail, ThumbnailBadge, type ThumbnailBadgeProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFocusTrap, useForceUpdate, useFormState, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|
|
3401
|
+
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Center, type CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, type EllipsisProps, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Slider, type SliderProps, Stack, SubMenu, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, Text, type TextProps, Thumbnail, ThumbnailBadge, type ThumbnailBadgeProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFocusTrap, useForceUpdate, useFormState, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -1110,6 +1110,43 @@ type CollapsibleContentProps = {
|
|
|
1110
1110
|
};
|
|
1111
1111
|
declare const CollapsibleContent: ({ clamp, children }: CollapsibleContentProps) => react_jsx_runtime.JSX.Element;
|
|
1112
1112
|
|
|
1113
|
+
type ComboboxOptionProps = {
|
|
1114
|
+
value: string;
|
|
1115
|
+
children: ReactNode;
|
|
1116
|
+
};
|
|
1117
|
+
declare const ComboboxOption: ({ value, children }: ComboboxOptionProps) => react_jsx_runtime.JSX.Element;
|
|
1118
|
+
type ComboboxProps = {
|
|
1119
|
+
/**
|
|
1120
|
+
* If true, the combox will fill the width of its parent
|
|
1121
|
+
*/
|
|
1122
|
+
fullWidth?: boolean;
|
|
1123
|
+
/**
|
|
1124
|
+
* The options to display in the combobox
|
|
1125
|
+
*/
|
|
1126
|
+
children: ReactNode;
|
|
1127
|
+
/**
|
|
1128
|
+
* The placeholder text for the combobox input
|
|
1129
|
+
*/
|
|
1130
|
+
placeholder?: string;
|
|
1131
|
+
/**
|
|
1132
|
+
* The function to call when the search value changes.
|
|
1133
|
+
*/
|
|
1134
|
+
onSearchValueChange: (value: string) => void;
|
|
1135
|
+
/**
|
|
1136
|
+
* The search value of the combobox input
|
|
1137
|
+
*/
|
|
1138
|
+
searchValue: string;
|
|
1139
|
+
/**
|
|
1140
|
+
* Callback that fires when a value is selected
|
|
1141
|
+
*/
|
|
1142
|
+
onChange: (value: string[]) => void;
|
|
1143
|
+
/**
|
|
1144
|
+
* The selected values of the combobox
|
|
1145
|
+
*/
|
|
1146
|
+
value: string[];
|
|
1147
|
+
};
|
|
1148
|
+
declare const Combobox: ({ placeholder, value, onChange, searchValue, onSearchValueChange, children, fullWidth, }: ComboboxProps) => react_jsx_runtime.JSX.Element;
|
|
1149
|
+
|
|
1113
1150
|
type DataCardProps = ComponentPropsWithoutRef<'div'> & Partial<Pick<ButtonAsLinkProps, 'beforeAction' | 'disabled' | 'href' | 'onClick' | 'type'>> & {
|
|
1114
1151
|
/**
|
|
1115
1152
|
* Label text displayed above the value
|
|
@@ -1933,6 +1970,28 @@ declare const Label: {
|
|
|
1933
1970
|
displayName: string;
|
|
1934
1971
|
};
|
|
1935
1972
|
|
|
1973
|
+
type VariantType = 'breadcrumbs' | 'bullets' | 'commas' | 'ordered' | 'slashes' | 'spaces' | 'unbulleted';
|
|
1974
|
+
type ItemType = ItemType[] | string[] | string;
|
|
1975
|
+
type ListProps = ComponentPropsWithoutRef<'ul'> & {
|
|
1976
|
+
/**
|
|
1977
|
+
* Children should be wrapped in `<ListItem>`
|
|
1978
|
+
*/
|
|
1979
|
+
children?: ReactNode;
|
|
1980
|
+
/**
|
|
1981
|
+
* As an alternative to passing children you can supply an array of strings that
|
|
1982
|
+
* will be rendered as child `<ListItems>`s. Note that all items will be of the same variant.
|
|
1983
|
+
*/
|
|
1984
|
+
items?: ItemType[];
|
|
1985
|
+
/**
|
|
1986
|
+
* The kind of list to render
|
|
1987
|
+
*/
|
|
1988
|
+
variant?: VariantType;
|
|
1989
|
+
};
|
|
1990
|
+
declare const List: {
|
|
1991
|
+
({ children, items, variant, ...otherProps }: ListProps): JSX.Element | null;
|
|
1992
|
+
displayName: string;
|
|
1993
|
+
};
|
|
1994
|
+
|
|
1936
1995
|
type ControlledMenuProps = {
|
|
1937
1996
|
/**
|
|
1938
1997
|
* Is the menu open.
|
|
@@ -2802,6 +2861,55 @@ type SelectOptionGroupProps = {
|
|
|
2802
2861
|
};
|
|
2803
2862
|
declare const SelectOptionGroup: ({ children, label, ...props }: SelectOptionGroupProps) => react_jsx_runtime.JSX.Element;
|
|
2804
2863
|
|
|
2864
|
+
type SliderProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
|
|
2865
|
+
/**
|
|
2866
|
+
* aria-label for screen-readers to apply to the slider
|
|
2867
|
+
*/
|
|
2868
|
+
'aria-label'?: string;
|
|
2869
|
+
/**
|
|
2870
|
+
* aria-labelledby for screen-readers to apply to the slider
|
|
2871
|
+
*/
|
|
2872
|
+
'aria-labelledby'?: string;
|
|
2873
|
+
/**
|
|
2874
|
+
* @ignore
|
|
2875
|
+
*/
|
|
2876
|
+
'data-testid'?: string;
|
|
2877
|
+
/**
|
|
2878
|
+
* Determines the initial position(s) of the thumb(s)
|
|
2879
|
+
* Must be an array of numbers.
|
|
2880
|
+
*/
|
|
2881
|
+
initialValue?: number[];
|
|
2882
|
+
/**
|
|
2883
|
+
* If `true` the thumbs can't be moved.
|
|
2884
|
+
*/
|
|
2885
|
+
disabled?: boolean;
|
|
2886
|
+
/**
|
|
2887
|
+
* The maximum value of the slider.
|
|
2888
|
+
*/
|
|
2889
|
+
max?: number;
|
|
2890
|
+
/**
|
|
2891
|
+
* The minimum value of the slider.
|
|
2892
|
+
*/
|
|
2893
|
+
min?: number;
|
|
2894
|
+
/**
|
|
2895
|
+
* Callback called on value change
|
|
2896
|
+
*/
|
|
2897
|
+
onChange?: (value: number[]) => void;
|
|
2898
|
+
/**
|
|
2899
|
+
* Value to be added or subtracted on each step
|
|
2900
|
+
*/
|
|
2901
|
+
step?: number;
|
|
2902
|
+
/**
|
|
2903
|
+
* Current value of the slider
|
|
2904
|
+
* Must be an array of numbers if provided.
|
|
2905
|
+
*/
|
|
2906
|
+
value?: number[];
|
|
2907
|
+
};
|
|
2908
|
+
declare const Slider: {
|
|
2909
|
+
({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, disabled, initialValue, max, min, onChange, step, value, "data-testid": dataTestId, ...otherProps }: SliderProps): JSX.Element;
|
|
2910
|
+
displayName: string;
|
|
2911
|
+
};
|
|
2912
|
+
|
|
2805
2913
|
type StackProps = {
|
|
2806
2914
|
/**
|
|
2807
2915
|
* Optional children
|
|
@@ -3290,63 +3398,4 @@ declare const WistiaLogo: {
|
|
|
3290
3398
|
displayName: string;
|
|
3291
3399
|
};
|
|
3292
3400
|
|
|
3293
|
-
type
|
|
3294
|
-
type ItemType = ItemType[] | string[] | string;
|
|
3295
|
-
type ListProps = ComponentPropsWithoutRef<'ul'> & {
|
|
3296
|
-
/**
|
|
3297
|
-
* Children should be wrapped in `<ListItem>`
|
|
3298
|
-
*/
|
|
3299
|
-
children?: ReactNode;
|
|
3300
|
-
/**
|
|
3301
|
-
* As an alternative to passing children you can supply an array of strings that
|
|
3302
|
-
* will be rendered as child `<ListItems>`s. Note that all items will be of the same variant.
|
|
3303
|
-
*/
|
|
3304
|
-
items?: ItemType[];
|
|
3305
|
-
/**
|
|
3306
|
-
* The kind of list to render
|
|
3307
|
-
*/
|
|
3308
|
-
variant?: VariantType;
|
|
3309
|
-
};
|
|
3310
|
-
declare const List: {
|
|
3311
|
-
({ children, items, variant, ...otherProps }: ListProps): JSX.Element | null;
|
|
3312
|
-
displayName: string;
|
|
3313
|
-
};
|
|
3314
|
-
|
|
3315
|
-
type ComboboxOptionProps = {
|
|
3316
|
-
value: string;
|
|
3317
|
-
children: ReactNode;
|
|
3318
|
-
};
|
|
3319
|
-
declare const ComboboxOption: ({ value, children }: ComboboxOptionProps) => react_jsx_runtime.JSX.Element;
|
|
3320
|
-
type ComboboxProps = {
|
|
3321
|
-
/**
|
|
3322
|
-
* If true, the combox will fill the width of its parent
|
|
3323
|
-
*/
|
|
3324
|
-
fullWidth?: boolean;
|
|
3325
|
-
/**
|
|
3326
|
-
* The options to display in the combobox
|
|
3327
|
-
*/
|
|
3328
|
-
children: ReactNode;
|
|
3329
|
-
/**
|
|
3330
|
-
* The placeholder text for the combobox input
|
|
3331
|
-
*/
|
|
3332
|
-
placeholder?: string;
|
|
3333
|
-
/**
|
|
3334
|
-
* The function to call when the search value changes.
|
|
3335
|
-
*/
|
|
3336
|
-
onSearchValueChange: (value: string) => void;
|
|
3337
|
-
/**
|
|
3338
|
-
* The search value of the combobox input
|
|
3339
|
-
*/
|
|
3340
|
-
searchValue: string;
|
|
3341
|
-
/**
|
|
3342
|
-
* Callback that fires when a value is selected
|
|
3343
|
-
*/
|
|
3344
|
-
onChange: (value: string[]) => void;
|
|
3345
|
-
/**
|
|
3346
|
-
* The selected values of the combobox
|
|
3347
|
-
*/
|
|
3348
|
-
value: string[];
|
|
3349
|
-
};
|
|
3350
|
-
declare const Combobox: ({ placeholder, value, onChange, searchValue, onSearchValueChange, children, fullWidth, }: ComboboxProps) => react_jsx_runtime.JSX.Element;
|
|
3351
|
-
|
|
3352
|
-
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Center, type CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, type EllipsisProps, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Stack, SubMenu, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, Text, type TextProps, Thumbnail, ThumbnailBadge, type ThumbnailBadgeProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFocusTrap, useForceUpdate, useFormState, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|
|
3401
|
+
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Center, type CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, type EllipsisProps, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Slider, type SliderProps, Stack, SubMenu, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, Text, type TextProps, Thumbnail, ThumbnailBadge, type ThumbnailBadgeProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Tooltip, type TooltipProps, UIProvider, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFocusTrap, useForceUpdate, useFormState, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|