@wistia/ui 0.8.13 → 0.8.14-beta.2385e790.bd3e5c4

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
@@ -86,6 +86,14 @@ type UseBooleanReturn = [
86
86
  ];
87
87
  declare const useBoolean: (initialValue?: boolean) => UseBooleanReturn;
88
88
 
89
+ declare const useClipboard: (textToCopy: string, timeout?: number) => [() => Promise<void>, boolean, boolean];
90
+
91
+ type UseFocusTrapOptions = {
92
+ disableAriaHider?: boolean;
93
+ focusSelector?: HTMLElement | RefObject<HTMLElement> | string | null | undefined;
94
+ };
95
+ declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => (node: HTMLElement | null | undefined) => void;
96
+
89
97
  type AddEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
90
98
  type RemoveEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
91
99
  declare const useEvent: <T extends Event>(eventName: Parameters<AddEventListenerType>[0], eventHandler: (event: T) => unknown, eventTarget?: unknown, eventOptions?: Parameters<RemoveEventListenerType>[2]) => void;
@@ -105,9 +113,6 @@ declare const useLocalStorage: <T, _>(key: Parameters<SetItemType>[0], initialVa
105
113
 
106
114
  declare const useLockBodyScroll: (locked: boolean) => void;
107
115
 
108
- type EventType = 'focusin' | 'focusout' | 'mousedown' | 'mouseup' | 'touchend' | 'touchstart';
109
- declare const useOnClickOutside: (ref: RefObject<HTMLElement | null | undefined>, handler: (event: Event) => unknown, eventTypes?: EventType | EventType[]) => void;
110
-
111
116
  type MediaQueryBooleans = {
112
117
  isXlAndUp: boolean;
113
118
  isLgAndUp: boolean;
@@ -124,6 +129,9 @@ declare const useMq: () => MediaQueryBooleans;
124
129
  type MediaQueryLabels = keyof MediaQueryBooleans;
125
130
  declare const useActiveMq: () => MediaQueryLabels[];
126
131
 
132
+ type EventType = 'focusin' | 'focusout' | 'mousedown' | 'mouseup' | 'touchend' | 'touchstart';
133
+ declare const useOnClickOutside: (ref: RefObject<HTMLElement | null | undefined>, handler: (event: Event) => unknown, eventTypes?: EventType | EventType[]) => void;
134
+
127
135
  declare const colorSchemeOptions: readonly ["default", "inherit", "error", "info", "success", "warning", "blue", "green", "orange", "pink", "purple", "yellow", "vendor-hubspot", "vendor-marketo", "vendor-pardot"];
128
136
  type ColorSchemeTypes = (typeof colorSchemeOptions)[number];
129
137
  type ColorSchemeWrapperProps = ComponentPropsWithoutRef<'div'> & {
@@ -395,12 +403,6 @@ declare const useWindowSize: (interval?: number) => {
395
403
  height: number;
396
404
  };
397
405
 
398
- type UseFocusTrapOptions = {
399
- disableAriaHider?: boolean;
400
- focusSelector?: HTMLElement | RefObject<HTMLElement> | string | null | undefined;
401
- };
402
- declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => (node: HTMLElement | null | undefined) => void;
403
-
404
406
  type ActionButtonProps = {
405
407
  /**
406
408
  * @override
@@ -596,6 +598,7 @@ type Gap = {
596
598
  column: Spacings;
597
599
  row: Spacings;
598
600
  };
601
+ type ResponsiveGap = ResponsiveObject<Gap | Spacings>;
599
602
  type FlexModeType = 'equal' | 'fluid' | 'grow' | 'initial' | 'rigid';
600
603
  declare const DEFAULT_ELEMENT$1 = "div";
601
604
  /**
@@ -612,17 +615,18 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
612
615
  /**
613
616
  * Specifies how the browser distributes space between and around
614
617
  * items along the cross-axis of their container; has no effect on
615
- * single line flexible boxes
618
+ * single line flexible boxes. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
616
619
  */
617
- alignContent?: AlignContentType;
620
+ alignContent?: AlignContentType | ResponsiveObject<AlignContentType>;
618
621
  /**
619
622
  * Specifies how the browser distributes space between and around
620
623
  * items along the cross-axis of their container; the difference
621
624
  * to the alignContent prop is that alignItems specifies the
622
625
  * alignment of the items within the current container's line,
623
- * whereas alignContent specifies the alignment of the lines themselves
626
+ * whereas alignContent specifies the alignment of the lines themselves.
627
+ * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
624
628
  */
625
- alignItems?: AlignItemsType;
629
+ alignItems?: AlignItemsType | ResponsiveObject<AlignItemsType>;
626
630
  /**
627
631
  * Specifies how the browser aligns items of the current line, overriding the
628
632
  * alignItems value of parent; if any of the item's cross-axis margin is set to auto,
@@ -644,18 +648,19 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
644
648
  */
645
649
  children?: ReactNode;
646
650
  /**
647
- * Specifies the main axis of the container
651
+ * Specifies the main axis of the container. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
648
652
  */
649
- direction?: DirectionType;
653
+ direction?: DirectionType | ResponsiveObject<DirectionType>;
650
654
  /**
651
655
  * Specifies whether the width and/or height should fill the container.
656
+ * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
652
657
  *
653
658
  * *Note: Cannot be used with height/width props when setting the corresponding dimension.*
654
659
  *
655
660
  * For example, `fill="vertical"` or `fill={true}` cannot be used with the `height` prop,
656
661
  * and `fill="horizontal"` or `fill={true}` cannot be used with the `width` prop.
657
662
  */
658
- fill?: FillType;
663
+ fill?: FillType | ResponsiveObject<FillType>;
659
664
  /**
660
665
  * Specifies whether the width and/or height should fill the viewport.
661
666
  *
@@ -676,9 +681,13 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
676
681
  */
677
682
  flexMode?: FlexModeType;
678
683
  /**
679
- * Specifies the gaps (gutters) between rows and columns
684
+ * Specifies the gaps (gutters) between rows and columns.
685
+ * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
686
+ *
687
+ * Can be either a single spacing value that applies to both row and column gaps,
688
+ * or an object specifying different values for row and column gaps.
680
689
  */
681
- gap?: Gap | Spacings;
690
+ gap?: Gap | ResponsiveGap | Spacings;
682
691
  /**
683
692
  * Specifies what amount of space inside the flex container the item should take up
684
693
  *
@@ -704,9 +713,9 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
704
713
  inline?: boolean;
705
714
  /**
706
715
  * Specifies how the browser distributes space between and around
707
- * items along the main axis of their container
716
+ * items along the main axis of their container. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
708
717
  */
709
- justifyContent?: JustifyContentType;
718
+ justifyContent?: JustifyContentType | ResponsiveObject<JustifyContentType>;
710
719
  /**
711
720
  * Specifies the order used to lay out an item in its container. Items within the same
712
721
  * container are rendered in ascending order according to their order values.
@@ -2839,10 +2848,10 @@ type TableCellProps = CellAttrs & {
2839
2848
  };
2840
2849
  declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
2841
2850
 
2842
- type TableFooterProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2851
+ type TableFootProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2843
2852
  children?: ReactNode;
2844
2853
  };
2845
- declare const TableFooter: ({ children, ...props }: TableFooterProps) => JSX.Element;
2854
+ declare const TableFoot: ({ children, ...props }: TableFootProps) => JSX.Element;
2846
2855
 
2847
2856
  type TableHeadProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2848
2857
  children?: ReactNode;
@@ -2851,22 +2860,28 @@ declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element
2851
2860
 
2852
2861
  type TableProps = ComponentPropsWithoutRef<'table'> & {
2853
2862
  /**
2854
- * Should be some combination of `TableHead` and/or `TableBody` and/or `TableFooter`
2863
+ * Should be some combination of `TableHead` and/or `TableBody` and/or `TableFoot`
2855
2864
  */
2856
2865
  children: ReactNode;
2866
+ /**
2867
+ * If true, will add dividing lines between rows
2868
+ */
2869
+ divided?: boolean;
2857
2870
  /**
2858
2871
  * If true, will stripe every other row
2859
2872
  */
2860
2873
  striped?: boolean;
2861
2874
  /**
2862
- * If true, will add dividing lines between rows
2875
+ * If true, will visually hide the table header while keeping it accessible to screen readers
2876
+ *
2877
+ * @see https://www.accessibility-developer-guide.com/examples/tables/hidden-headers/
2863
2878
  */
2864
- divided?: boolean;
2879
+ visuallyHiddenHeader?: boolean;
2865
2880
  };
2866
2881
  /**
2867
2882
  * Semantic table element for presenting data
2868
2883
  */
2869
- declare const Table: ({ children, striped, divided, ...props }: TableProps) => JSX.Element;
2884
+ declare const Table: ({ children, divided, striped, visuallyHiddenHeader, ...props }: TableProps) => JSX.Element;
2870
2885
 
2871
2886
  type TableRowProps = HTMLAttributes<HTMLTableRowElement> & {
2872
2887
  children?: ReactNode;
@@ -3195,4 +3210,4 @@ declare const WistiaLogo: {
3195
3210
  displayName: string;
3196
3211
  };
3197
3212
 
3198
- 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, 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, TableFooter, type TableFooterProps, 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, useFocusTrap, useFormState, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, useToast, useWindowSize };
3213
+ 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, 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, useFormState, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -86,6 +86,14 @@ type UseBooleanReturn = [
86
86
  ];
87
87
  declare const useBoolean: (initialValue?: boolean) => UseBooleanReturn;
88
88
 
89
+ declare const useClipboard: (textToCopy: string, timeout?: number) => [() => Promise<void>, boolean, boolean];
90
+
91
+ type UseFocusTrapOptions = {
92
+ disableAriaHider?: boolean;
93
+ focusSelector?: HTMLElement | RefObject<HTMLElement> | string | null | undefined;
94
+ };
95
+ declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => (node: HTMLElement | null | undefined) => void;
96
+
89
97
  type AddEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
90
98
  type RemoveEventListenerType = (type: string, listener: (evt: Event) => void, options?: AddEventListenerOptions | boolean) => void;
91
99
  declare const useEvent: <T extends Event>(eventName: Parameters<AddEventListenerType>[0], eventHandler: (event: T) => unknown, eventTarget?: unknown, eventOptions?: Parameters<RemoveEventListenerType>[2]) => void;
@@ -105,9 +113,6 @@ declare const useLocalStorage: <T, _>(key: Parameters<SetItemType>[0], initialVa
105
113
 
106
114
  declare const useLockBodyScroll: (locked: boolean) => void;
107
115
 
108
- type EventType = 'focusin' | 'focusout' | 'mousedown' | 'mouseup' | 'touchend' | 'touchstart';
109
- declare const useOnClickOutside: (ref: RefObject<HTMLElement | null | undefined>, handler: (event: Event) => unknown, eventTypes?: EventType | EventType[]) => void;
110
-
111
116
  type MediaQueryBooleans = {
112
117
  isXlAndUp: boolean;
113
118
  isLgAndUp: boolean;
@@ -124,6 +129,9 @@ declare const useMq: () => MediaQueryBooleans;
124
129
  type MediaQueryLabels = keyof MediaQueryBooleans;
125
130
  declare const useActiveMq: () => MediaQueryLabels[];
126
131
 
132
+ type EventType = 'focusin' | 'focusout' | 'mousedown' | 'mouseup' | 'touchend' | 'touchstart';
133
+ declare const useOnClickOutside: (ref: RefObject<HTMLElement | null | undefined>, handler: (event: Event) => unknown, eventTypes?: EventType | EventType[]) => void;
134
+
127
135
  declare const colorSchemeOptions: readonly ["default", "inherit", "error", "info", "success", "warning", "blue", "green", "orange", "pink", "purple", "yellow", "vendor-hubspot", "vendor-marketo", "vendor-pardot"];
128
136
  type ColorSchemeTypes = (typeof colorSchemeOptions)[number];
129
137
  type ColorSchemeWrapperProps = ComponentPropsWithoutRef<'div'> & {
@@ -395,12 +403,6 @@ declare const useWindowSize: (interval?: number) => {
395
403
  height: number;
396
404
  };
397
405
 
398
- type UseFocusTrapOptions = {
399
- disableAriaHider?: boolean;
400
- focusSelector?: HTMLElement | RefObject<HTMLElement> | string | null | undefined;
401
- };
402
- declare const useFocusTrap: (active?: boolean, options?: UseFocusTrapOptions) => (node: HTMLElement | null | undefined) => void;
403
-
404
406
  type ActionButtonProps = {
405
407
  /**
406
408
  * @override
@@ -596,6 +598,7 @@ type Gap = {
596
598
  column: Spacings;
597
599
  row: Spacings;
598
600
  };
601
+ type ResponsiveGap = ResponsiveObject<Gap | Spacings>;
599
602
  type FlexModeType = 'equal' | 'fluid' | 'grow' | 'initial' | 'rigid';
600
603
  declare const DEFAULT_ELEMENT$1 = "div";
601
604
  /**
@@ -612,17 +615,18 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
612
615
  /**
613
616
  * Specifies how the browser distributes space between and around
614
617
  * items along the cross-axis of their container; has no effect on
615
- * single line flexible boxes
618
+ * single line flexible boxes. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
616
619
  */
617
- alignContent?: AlignContentType;
620
+ alignContent?: AlignContentType | ResponsiveObject<AlignContentType>;
618
621
  /**
619
622
  * Specifies how the browser distributes space between and around
620
623
  * items along the cross-axis of their container; the difference
621
624
  * to the alignContent prop is that alignItems specifies the
622
625
  * alignment of the items within the current container's line,
623
- * whereas alignContent specifies the alignment of the lines themselves
626
+ * whereas alignContent specifies the alignment of the lines themselves.
627
+ * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
624
628
  */
625
- alignItems?: AlignItemsType;
629
+ alignItems?: AlignItemsType | ResponsiveObject<AlignItemsType>;
626
630
  /**
627
631
  * Specifies how the browser aligns items of the current line, overriding the
628
632
  * alignItems value of parent; if any of the item's cross-axis margin is set to auto,
@@ -644,18 +648,19 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
644
648
  */
645
649
  children?: ReactNode;
646
650
  /**
647
- * Specifies the main axis of the container
651
+ * Specifies the main axis of the container. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
648
652
  */
649
- direction?: DirectionType;
653
+ direction?: DirectionType | ResponsiveObject<DirectionType>;
650
654
  /**
651
655
  * Specifies whether the width and/or height should fill the container.
656
+ * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
652
657
  *
653
658
  * *Note: Cannot be used with height/width props when setting the corresponding dimension.*
654
659
  *
655
660
  * For example, `fill="vertical"` or `fill={true}` cannot be used with the `height` prop,
656
661
  * and `fill="horizontal"` or `fill={true}` cannot be used with the `width` prop.
657
662
  */
658
- fill?: FillType;
663
+ fill?: FillType | ResponsiveObject<FillType>;
659
664
  /**
660
665
  * Specifies whether the width and/or height should fill the viewport.
661
666
  *
@@ -676,9 +681,13 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
676
681
  */
677
682
  flexMode?: FlexModeType;
678
683
  /**
679
- * Specifies the gaps (gutters) between rows and columns
684
+ * Specifies the gaps (gutters) between rows and columns.
685
+ * Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
686
+ *
687
+ * Can be either a single spacing value that applies to both row and column gaps,
688
+ * or an object specifying different values for row and column gaps.
680
689
  */
681
- gap?: Gap | Spacings;
690
+ gap?: Gap | ResponsiveGap | Spacings;
682
691
  /**
683
692
  * Specifies what amount of space inside the flex container the item should take up
684
693
  *
@@ -704,9 +713,9 @@ type BoxProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT$1> & {
704
713
  inline?: boolean;
705
714
  /**
706
715
  * Specifies how the browser distributes space between and around
707
- * items along the main axis of their container
716
+ * items along the main axis of their container. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
708
717
  */
709
- justifyContent?: JustifyContentType;
718
+ justifyContent?: JustifyContentType | ResponsiveObject<JustifyContentType>;
710
719
  /**
711
720
  * Specifies the order used to lay out an item in its container. Items within the same
712
721
  * container are rendered in ascending order according to their order values.
@@ -2839,10 +2848,10 @@ type TableCellProps = CellAttrs & {
2839
2848
  };
2840
2849
  declare const TableCell: ({ children, ...props }: TableCellProps) => JSX.Element;
2841
2850
 
2842
- type TableFooterProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2851
+ type TableFootProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2843
2852
  children?: ReactNode;
2844
2853
  };
2845
- declare const TableFooter: ({ children, ...props }: TableFooterProps) => JSX.Element;
2854
+ declare const TableFoot: ({ children, ...props }: TableFootProps) => JSX.Element;
2846
2855
 
2847
2856
  type TableHeadProps = react__default.HTMLAttributes<HTMLTableSectionElement> & {
2848
2857
  children?: ReactNode;
@@ -2851,22 +2860,28 @@ declare const TableHead: ({ children, ...props }: TableHeadProps) => JSX.Element
2851
2860
 
2852
2861
  type TableProps = ComponentPropsWithoutRef<'table'> & {
2853
2862
  /**
2854
- * Should be some combination of `TableHead` and/or `TableBody` and/or `TableFooter`
2863
+ * Should be some combination of `TableHead` and/or `TableBody` and/or `TableFoot`
2855
2864
  */
2856
2865
  children: ReactNode;
2866
+ /**
2867
+ * If true, will add dividing lines between rows
2868
+ */
2869
+ divided?: boolean;
2857
2870
  /**
2858
2871
  * If true, will stripe every other row
2859
2872
  */
2860
2873
  striped?: boolean;
2861
2874
  /**
2862
- * If true, will add dividing lines between rows
2875
+ * If true, will visually hide the table header while keeping it accessible to screen readers
2876
+ *
2877
+ * @see https://www.accessibility-developer-guide.com/examples/tables/hidden-headers/
2863
2878
  */
2864
- divided?: boolean;
2879
+ visuallyHiddenHeader?: boolean;
2865
2880
  };
2866
2881
  /**
2867
2882
  * Semantic table element for presenting data
2868
2883
  */
2869
- declare const Table: ({ children, striped, divided, ...props }: TableProps) => JSX.Element;
2884
+ declare const Table: ({ children, divided, striped, visuallyHiddenHeader, ...props }: TableProps) => JSX.Element;
2870
2885
 
2871
2886
  type TableRowProps = HTMLAttributes<HTMLTableRowElement> & {
2872
2887
  children?: ReactNode;
@@ -3195,4 +3210,4 @@ declare const WistiaLogo: {
3195
3210
  displayName: string;
3196
3211
  };
3197
3212
 
3198
- 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, 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, TableFooter, type TableFooterProps, 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, useFocusTrap, useFormState, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, useToast, useWindowSize };
3213
+ 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, 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, useFormState, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, useToast, useWindowSize };