@wistia/ui 0.8.26 → 0.8.27-beta.415fcaaf.2aacc73

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.d.mts CHANGED
@@ -709,11 +709,6 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
709
709
  * *Note: only works for nested `<Box />`*
710
710
  */
711
711
  grow?: number | string;
712
- /**
713
- * @ignore
714
- * Used internally to track if a Box is a child of another Box component
715
- */
716
- hasBoxParent?: boolean;
717
712
  /**
718
713
  * Specifies the height of the box.
719
714
  *
@@ -1668,7 +1663,7 @@ declare const Icon: {
1668
1663
 
1669
1664
  type IconButtonProps = {
1670
1665
  /**
1671
- * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1666
+ * Accessible text for screen readers.
1672
1667
  */
1673
1668
  label: string;
1674
1669
  /**
@@ -1682,7 +1677,7 @@ type IconButtonProps = {
1682
1677
  */
1683
1678
  declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1684
1679
  /**
1685
- * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1680
+ * Accessible text for screen readers.
1686
1681
  */
1687
1682
  label: string;
1688
1683
  /**
@@ -1691,7 +1686,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1691
1686
  children: JSX.Element;
1692
1687
  } & Omit<ButtonAsButtonProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref"> | Omit<{
1693
1688
  /**
1694
- * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1689
+ * Accessible text for screen readers.
1695
1690
  */
1696
1691
  label: string;
1697
1692
  /**
@@ -2242,9 +2237,9 @@ declare const MenuItemLabel: ({ children }: MenuItemLabelProps) => react_jsx_run
2242
2237
  declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => react_jsx_runtime.JSX.Element;
2243
2238
 
2244
2239
  type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
2245
- /** The label for the radio group */
2246
- label: ReactNode;
2247
- /** The radio items */
2240
+ /**
2241
+ * The radio items
2242
+ */
2248
2243
  children: ReactNode | ReactNode[];
2249
2244
  /**
2250
2245
  * @ignore
@@ -2252,7 +2247,7 @@ type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
2252
2247
  asChild?: never;
2253
2248
  };
2254
2249
  declare const MenuRadioGroup: {
2255
- ({ children, label, ...props }: MenuRadioGroupProps): react_jsx_runtime.JSX.Element;
2250
+ ({ children, ...props }: MenuRadioGroupProps): react_jsx_runtime.JSX.Element;
2256
2251
  displayName: string;
2257
2252
  };
2258
2253
 
@@ -3275,4 +3270,26 @@ declare const WistiaLogo: {
3275
3270
  displayName: string;
3276
3271
  };
3277
3272
 
3278
- 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, 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 };
3273
+ type VariantType = 'breadcrumbs' | 'bullets' | 'commas' | 'ordered' | 'slashes' | 'spaces' | 'unbulleted';
3274
+ type ItemType = ItemType[] | string[] | string;
3275
+ type ListProps = ComponentPropsWithoutRef<'ul'> & {
3276
+ /**
3277
+ * Children should be wrapped in `<ListItem>`
3278
+ */
3279
+ children?: ReactNode;
3280
+ /**
3281
+ * As an alternative to passing children you can supply an array of strings that
3282
+ * will be rendered as child `<ListItems>`s. Note that all items will be of the same variant.
3283
+ */
3284
+ items?: ItemType[];
3285
+ /**
3286
+ * The kind of list to render
3287
+ */
3288
+ variant?: VariantType;
3289
+ };
3290
+ declare const List: {
3291
+ ({ children, items, variant, ...otherProps }: ListProps): JSX.Element | null;
3292
+ displayName: string;
3293
+ };
3294
+
3295
+ 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, 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, 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
@@ -709,11 +709,6 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
709
709
  * *Note: only works for nested `<Box />`*
710
710
  */
711
711
  grow?: number | string;
712
- /**
713
- * @ignore
714
- * Used internally to track if a Box is a child of another Box component
715
- */
716
- hasBoxParent?: boolean;
717
712
  /**
718
713
  * Specifies the height of the box.
719
714
  *
@@ -1668,7 +1663,7 @@ declare const Icon: {
1668
1663
 
1669
1664
  type IconButtonProps = {
1670
1665
  /**
1671
- * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1666
+ * Accessible text for screen readers.
1672
1667
  */
1673
1668
  label: string;
1674
1669
  /**
@@ -1682,7 +1677,7 @@ type IconButtonProps = {
1682
1677
  */
1683
1678
  declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1684
1679
  /**
1685
- * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1680
+ * Accessible text for screen readers.
1686
1681
  */
1687
1682
  label: string;
1688
1683
  /**
@@ -1691,7 +1686,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1691
1686
  children: JSX.Element;
1692
1687
  } & Omit<ButtonAsButtonProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref"> | Omit<{
1693
1688
  /**
1694
- * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1689
+ * Accessible text for screen readers.
1695
1690
  */
1696
1691
  label: string;
1697
1692
  /**
@@ -2242,9 +2237,9 @@ declare const MenuItemLabel: ({ children }: MenuItemLabelProps) => react_jsx_run
2242
2237
  declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => react_jsx_runtime.JSX.Element;
2243
2238
 
2244
2239
  type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
2245
- /** The label for the radio group */
2246
- label: ReactNode;
2247
- /** The radio items */
2240
+ /**
2241
+ * The radio items
2242
+ */
2248
2243
  children: ReactNode | ReactNode[];
2249
2244
  /**
2250
2245
  * @ignore
@@ -2252,7 +2247,7 @@ type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
2252
2247
  asChild?: never;
2253
2248
  };
2254
2249
  declare const MenuRadioGroup: {
2255
- ({ children, label, ...props }: MenuRadioGroupProps): react_jsx_runtime.JSX.Element;
2250
+ ({ children, ...props }: MenuRadioGroupProps): react_jsx_runtime.JSX.Element;
2256
2251
  displayName: string;
2257
2252
  };
2258
2253
 
@@ -3275,4 +3270,26 @@ declare const WistiaLogo: {
3275
3270
  displayName: string;
3276
3271
  };
3277
3272
 
3278
- 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, 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 };
3273
+ type VariantType = 'breadcrumbs' | 'bullets' | 'commas' | 'ordered' | 'slashes' | 'spaces' | 'unbulleted';
3274
+ type ItemType = ItemType[] | string[] | string;
3275
+ type ListProps = ComponentPropsWithoutRef<'ul'> & {
3276
+ /**
3277
+ * Children should be wrapped in `<ListItem>`
3278
+ */
3279
+ children?: ReactNode;
3280
+ /**
3281
+ * As an alternative to passing children you can supply an array of strings that
3282
+ * will be rendered as child `<ListItems>`s. Note that all items will be of the same variant.
3283
+ */
3284
+ items?: ItemType[];
3285
+ /**
3286
+ * The kind of list to render
3287
+ */
3288
+ variant?: VariantType;
3289
+ };
3290
+ declare const List: {
3291
+ ({ children, items, variant, ...otherProps }: ListProps): JSX.Element | null;
3292
+ displayName: string;
3293
+ };
3294
+
3295
+ 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, 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, 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 };