@wistia/ui 0.8.26 → 0.8.27-beta.2b8575c3.f6789ae
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 +253 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +40 -8
- package/dist/index.d.ts +40 -8
- package/dist/index.mjs +309 -56
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -1668,7 +1668,7 @@ declare const Icon: {
|
|
|
1668
1668
|
|
|
1669
1669
|
type IconButtonProps = {
|
|
1670
1670
|
/**
|
|
1671
|
-
* Accessible text for screen readers.
|
|
1671
|
+
* Accessible text for screen readers.
|
|
1672
1672
|
*/
|
|
1673
1673
|
label: string;
|
|
1674
1674
|
/**
|
|
@@ -1682,7 +1682,7 @@ type IconButtonProps = {
|
|
|
1682
1682
|
*/
|
|
1683
1683
|
declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
|
|
1684
1684
|
/**
|
|
1685
|
-
* Accessible text for screen readers.
|
|
1685
|
+
* Accessible text for screen readers.
|
|
1686
1686
|
*/
|
|
1687
1687
|
label: string;
|
|
1688
1688
|
/**
|
|
@@ -1691,7 +1691,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
|
|
|
1691
1691
|
children: JSX.Element;
|
|
1692
1692
|
} & Omit<ButtonAsButtonProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref"> | Omit<{
|
|
1693
1693
|
/**
|
|
1694
|
-
* Accessible text for screen readers.
|
|
1694
|
+
* Accessible text for screen readers.
|
|
1695
1695
|
*/
|
|
1696
1696
|
label: string;
|
|
1697
1697
|
/**
|
|
@@ -2242,9 +2242,9 @@ declare const MenuItemLabel: ({ children }: MenuItemLabelProps) => react_jsx_run
|
|
|
2242
2242
|
declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
2243
2243
|
|
|
2244
2244
|
type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
|
|
2245
|
-
/**
|
|
2246
|
-
|
|
2247
|
-
|
|
2245
|
+
/**
|
|
2246
|
+
* The radio items
|
|
2247
|
+
*/
|
|
2248
2248
|
children: ReactNode | ReactNode[];
|
|
2249
2249
|
/**
|
|
2250
2250
|
* @ignore
|
|
@@ -2252,7 +2252,7 @@ type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
|
|
|
2252
2252
|
asChild?: never;
|
|
2253
2253
|
};
|
|
2254
2254
|
declare const MenuRadioGroup: {
|
|
2255
|
-
({ children,
|
|
2255
|
+
({ children, ...props }: MenuRadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
2256
2256
|
displayName: string;
|
|
2257
2257
|
};
|
|
2258
2258
|
|
|
@@ -3275,4 +3275,36 @@ declare const WistiaLogo: {
|
|
|
3275
3275
|
displayName: string;
|
|
3276
3276
|
};
|
|
3277
3277
|
|
|
3278
|
-
|
|
3278
|
+
type ComboboxProps = {
|
|
3279
|
+
/**
|
|
3280
|
+
* If true, the combox will fill the width of its parent
|
|
3281
|
+
*/
|
|
3282
|
+
fullWidth?: boolean;
|
|
3283
|
+
/**
|
|
3284
|
+
* The options to display in the combobox
|
|
3285
|
+
*/
|
|
3286
|
+
children: ReactNode;
|
|
3287
|
+
/**
|
|
3288
|
+
* The placeholder text for the combobox input
|
|
3289
|
+
*/
|
|
3290
|
+
placeholder?: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* The function to call when the search value changes.
|
|
3293
|
+
*/
|
|
3294
|
+
onSearchValueChange: (value: string) => void;
|
|
3295
|
+
/**
|
|
3296
|
+
* The search value of the combobox input
|
|
3297
|
+
*/
|
|
3298
|
+
searchValue: string;
|
|
3299
|
+
/**
|
|
3300
|
+
* vent that fires when a value is selected
|
|
3301
|
+
*/
|
|
3302
|
+
onChange: (value: string[]) => void;
|
|
3303
|
+
/**
|
|
3304
|
+
* The selected values of the combobox
|
|
3305
|
+
*/
|
|
3306
|
+
value: string[];
|
|
3307
|
+
};
|
|
3308
|
+
declare const Combobox: ({ placeholder, value, onChange, searchValue, onSearchValueChange, children, fullWidth, }: ComboboxProps) => react_jsx_runtime.JSX.Element;
|
|
3309
|
+
|
|
3310
|
+
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, 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, 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, Tab, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, 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, useFocusTrap, useForceUpdate, useFormState, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -1668,7 +1668,7 @@ declare const Icon: {
|
|
|
1668
1668
|
|
|
1669
1669
|
type IconButtonProps = {
|
|
1670
1670
|
/**
|
|
1671
|
-
* Accessible text for screen readers.
|
|
1671
|
+
* Accessible text for screen readers.
|
|
1672
1672
|
*/
|
|
1673
1673
|
label: string;
|
|
1674
1674
|
/**
|
|
@@ -1682,7 +1682,7 @@ type IconButtonProps = {
|
|
|
1682
1682
|
*/
|
|
1683
1683
|
declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
|
|
1684
1684
|
/**
|
|
1685
|
-
* Accessible text for screen readers.
|
|
1685
|
+
* Accessible text for screen readers.
|
|
1686
1686
|
*/
|
|
1687
1687
|
label: string;
|
|
1688
1688
|
/**
|
|
@@ -1691,7 +1691,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
|
|
|
1691
1691
|
children: JSX.Element;
|
|
1692
1692
|
} & Omit<ButtonAsButtonProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref"> | Omit<{
|
|
1693
1693
|
/**
|
|
1694
|
-
* Accessible text for screen readers.
|
|
1694
|
+
* Accessible text for screen readers.
|
|
1695
1695
|
*/
|
|
1696
1696
|
label: string;
|
|
1697
1697
|
/**
|
|
@@ -2242,9 +2242,9 @@ declare const MenuItemLabel: ({ children }: MenuItemLabelProps) => react_jsx_run
|
|
|
2242
2242
|
declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
2243
2243
|
|
|
2244
2244
|
type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
|
|
2245
|
-
/**
|
|
2246
|
-
|
|
2247
|
-
|
|
2245
|
+
/**
|
|
2246
|
+
* The radio items
|
|
2247
|
+
*/
|
|
2248
2248
|
children: ReactNode | ReactNode[];
|
|
2249
2249
|
/**
|
|
2250
2250
|
* @ignore
|
|
@@ -2252,7 +2252,7 @@ type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
|
|
|
2252
2252
|
asChild?: never;
|
|
2253
2253
|
};
|
|
2254
2254
|
declare const MenuRadioGroup: {
|
|
2255
|
-
({ children,
|
|
2255
|
+
({ children, ...props }: MenuRadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
2256
2256
|
displayName: string;
|
|
2257
2257
|
};
|
|
2258
2258
|
|
|
@@ -3275,4 +3275,36 @@ declare const WistiaLogo: {
|
|
|
3275
3275
|
displayName: string;
|
|
3276
3276
|
};
|
|
3277
3277
|
|
|
3278
|
-
|
|
3278
|
+
type ComboboxProps = {
|
|
3279
|
+
/**
|
|
3280
|
+
* If true, the combox will fill the width of its parent
|
|
3281
|
+
*/
|
|
3282
|
+
fullWidth?: boolean;
|
|
3283
|
+
/**
|
|
3284
|
+
* The options to display in the combobox
|
|
3285
|
+
*/
|
|
3286
|
+
children: ReactNode;
|
|
3287
|
+
/**
|
|
3288
|
+
* The placeholder text for the combobox input
|
|
3289
|
+
*/
|
|
3290
|
+
placeholder?: string;
|
|
3291
|
+
/**
|
|
3292
|
+
* The function to call when the search value changes.
|
|
3293
|
+
*/
|
|
3294
|
+
onSearchValueChange: (value: string) => void;
|
|
3295
|
+
/**
|
|
3296
|
+
* The search value of the combobox input
|
|
3297
|
+
*/
|
|
3298
|
+
searchValue: string;
|
|
3299
|
+
/**
|
|
3300
|
+
* vent that fires when a value is selected
|
|
3301
|
+
*/
|
|
3302
|
+
onChange: (value: string[]) => void;
|
|
3303
|
+
/**
|
|
3304
|
+
* The selected values of the combobox
|
|
3305
|
+
*/
|
|
3306
|
+
value: string[];
|
|
3307
|
+
};
|
|
3308
|
+
declare const Combobox: ({ placeholder, value, onChange, searchValue, onSearchValueChange, children, fullWidth, }: ComboboxProps) => react_jsx_runtime.JSX.Element;
|
|
3309
|
+
|
|
3310
|
+
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, 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, 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, Tab, type TabProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsProps, 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, useFocusTrap, useForceUpdate, useFormState, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|