@deque/cauldron-react 5.7.1 → 5.8.0-canary.55b0441c

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.
Files changed (148) hide show
  1. package/lib/add-user.js +23 -8
  2. package/lib/arrow-circle.js +23 -8
  3. package/lib/arrow.js +23 -8
  4. package/lib/arrows-alt.js +23 -8
  5. package/lib/bolt.js +23 -8
  6. package/lib/caution.js +23 -8
  7. package/lib/check-circle.js +23 -8
  8. package/lib/check-shield.js +23 -8
  9. package/lib/check-solid.js +23 -8
  10. package/lib/check.js +23 -8
  11. package/lib/checkbox-checked.js +23 -8
  12. package/lib/checkbox-unchecked.js +23 -8
  13. package/lib/chevron-double.js +23 -8
  14. package/lib/chevron.js +23 -8
  15. package/lib/clipboard.js +23 -8
  16. package/lib/clock.js +39 -0
  17. package/lib/close.js +23 -8
  18. package/lib/code.js +23 -8
  19. package/lib/components/Accordion/Accordion.d.ts +4 -4
  20. package/lib/components/Address/index.d.ts +5 -5
  21. package/lib/components/Alert/index.d.ts +3 -3
  22. package/lib/components/Breadcrumb/Breadcrumb.d.ts +1 -1
  23. package/lib/components/Breadcrumb/BreadcrumbItem.d.ts +1 -1
  24. package/lib/components/Card/Card.d.ts +1 -1
  25. package/lib/components/Card/CardContent.d.ts +2 -2
  26. package/lib/components/Card/CardFooter.d.ts +2 -2
  27. package/lib/components/Card/CardHeader.d.ts +2 -2
  28. package/lib/components/Code/index.d.ts +1 -1
  29. package/lib/components/DescriptionList/index.d.ts +8 -8
  30. package/lib/components/Dialog/index.d.ts +5 -5
  31. package/lib/components/ExpandCollapsePanel/ExpandCollapsePanel.d.ts +3 -3
  32. package/lib/components/ExpandCollapsePanel/PanelTrigger.d.ts +2 -2
  33. package/lib/components/Icon/types.d.ts +1 -1
  34. package/lib/components/IconButton/index.d.ts +1 -1
  35. package/lib/components/IssuePanel/index.d.ts +2 -2
  36. package/lib/components/Layout/index.d.ts +4 -4
  37. package/lib/components/Line/index.d.ts +1 -1
  38. package/lib/components/Link/index.d.ts +3 -3
  39. package/lib/components/Listbox/Listbox.d.ts +16 -0
  40. package/lib/components/Listbox/ListboxContext.d.ts +27 -0
  41. package/lib/components/Listbox/ListboxGroup.d.ts +9 -0
  42. package/lib/components/Listbox/ListboxOption.d.ts +10 -0
  43. package/lib/components/Listbox/index.d.ts +4 -0
  44. package/lib/components/LoaderOverlay/axe-loader.d.ts +2 -1
  45. package/lib/components/Main/index.d.ts +4 -4
  46. package/lib/components/MenuBar/index.d.ts +2 -2
  47. package/lib/components/MenuItem/index.d.ts +4 -4
  48. package/lib/components/Modal/index.d.ts +3 -3
  49. package/lib/components/NavBar/NavBar.d.ts +2 -2
  50. package/lib/components/NavBar/NavItem.d.ts +1 -1
  51. package/lib/components/Offscreen/index.d.ts +2 -2
  52. package/lib/components/OptionsMenu/OptionsMenu.d.ts +5 -5
  53. package/lib/components/OptionsMenu/OptionsMenuList.d.ts +4 -4
  54. package/lib/components/OptionsMenu/OptionsMenuWrapper.d.ts +2 -2
  55. package/lib/components/Pointout/index.d.ts +6 -6
  56. package/lib/components/ProgressBar/index.d.ts +1 -1
  57. package/lib/components/RadioCardGroup/index.d.ts +1 -1
  58. package/lib/components/Scrim/index.d.ts +1 -1
  59. package/lib/components/Select/index.d.ts +1 -1
  60. package/lib/components/SideBar/SideBar.d.ts +2 -2
  61. package/lib/components/SkipLink/index.d.ts +1 -1
  62. package/lib/components/Stepper/index.d.ts +4 -4
  63. package/lib/components/Table/Table.d.ts +3 -3
  64. package/lib/components/Table/TableBody.d.ts +3 -3
  65. package/lib/components/Table/TableCell.d.ts +3 -3
  66. package/lib/components/Table/TableFooter.d.ts +3 -3
  67. package/lib/components/Table/TableHead.d.ts +3 -3
  68. package/lib/components/Table/TableHeader.d.ts +4 -4
  69. package/lib/components/Table/TableRow.d.ts +3 -3
  70. package/lib/components/Tabs/Tabs.d.ts +2 -2
  71. package/lib/components/Tag/index.d.ts +4 -4
  72. package/lib/components/TextField/index.d.ts +4 -4
  73. package/lib/components/Toast/index.d.ts +4 -4
  74. package/lib/components/Tooltip/index.d.ts +3 -3
  75. package/lib/components/TooltipTabstop/index.d.ts +2 -2
  76. package/lib/components/TopBar/TopBar.d.ts +1 -1
  77. package/lib/components/TopBar/TopBarMenu.d.ts +2 -2
  78. package/lib/components/TwoColumnPanel/ColumnGroupHeader.d.ts +1 -1
  79. package/lib/components/TwoColumnPanel/ColumnHeader.d.ts +1 -1
  80. package/lib/components/TwoColumnPanel/ColumnLeft.d.ts +1 -1
  81. package/lib/components/TwoColumnPanel/ColumnList.d.ts +1 -1
  82. package/lib/components/TwoColumnPanel/ColumnRight.d.ts +1 -1
  83. package/lib/components/Workspace/index.d.ts +6 -6
  84. package/lib/contexts/theme.d.ts +2 -2
  85. package/lib/copy.js +23 -8
  86. package/lib/download.js +23 -8
  87. package/lib/dropper.js +23 -8
  88. package/lib/exchange.js +23 -8
  89. package/lib/export-solid.js +23 -8
  90. package/lib/external-link.js +23 -8
  91. package/lib/eye.js +23 -8
  92. package/lib/filter-solid.js +23 -8
  93. package/lib/filter.js +23 -8
  94. package/lib/flag.js +23 -8
  95. package/lib/gears.js +23 -7
  96. package/lib/github.js +23 -8
  97. package/lib/grid.js +23 -8
  98. package/lib/hamburger-menu.js +26 -11
  99. package/lib/hashtag.js +23 -8
  100. package/lib/highlight.js +23 -8
  101. package/lib/index.d.ts +1 -0
  102. package/lib/index.js +1097 -6084
  103. package/lib/info-circle-alt.js +23 -8
  104. package/lib/info-circle.js +23 -8
  105. package/lib/info-square.js +23 -8
  106. package/lib/kabob.js +23 -8
  107. package/lib/link.js +23 -8
  108. package/lib/linkedin.js +23 -8
  109. package/lib/list.js +29 -14
  110. package/lib/lock.js +23 -8
  111. package/lib/magnifying-glass.js +23 -8
  112. package/lib/menu.js +23 -8
  113. package/lib/minus.js +23 -8
  114. package/lib/new-releases.js +24 -9
  115. package/lib/new.js +23 -8
  116. package/lib/no.js +23 -8
  117. package/lib/pencil.js +23 -8
  118. package/lib/person-running.js +23 -8
  119. package/lib/play.js +23 -8
  120. package/lib/plus.js +23 -8
  121. package/lib/propTypes.d.ts +1 -1
  122. package/lib/question-circle-alt.js +23 -8
  123. package/lib/question-circle.js +23 -8
  124. package/lib/radio-checked.js +23 -8
  125. package/lib/radio-unchecked.js +23 -8
  126. package/lib/recycle-square.js +23 -8
  127. package/lib/recycle.js +23 -8
  128. package/lib/resend.js +23 -8
  129. package/lib/robot.js +24 -9
  130. package/lib/run-again.js +23 -8
  131. package/lib/save.js +23 -8
  132. package/lib/share-nodes.js +23 -8
  133. package/lib/share.js +23 -8
  134. package/lib/sort-triangle.js +23 -8
  135. package/lib/sort.js +23 -8
  136. package/lib/star.js +23 -8
  137. package/lib/sun.js +23 -8
  138. package/lib/table-sort-ascending.js +24 -9
  139. package/lib/table-sort-descending.js +24 -9
  140. package/lib/tag.js +23 -8
  141. package/lib/target.js +25 -10
  142. package/lib/trash.js +23 -8
  143. package/lib/triangle.js +23 -8
  144. package/lib/twitter.js +23 -8
  145. package/lib/types.d.ts +1 -1
  146. package/lib/upload.js +23 -8
  147. package/lib/utils/polymorphic-type/index.d.ts +4 -4
  148. package/package.json +10 -13
@@ -0,0 +1,9 @@
1
+ import { ContentNode } from '../../types';
2
+ import React from 'react';
3
+ interface ListboxGroupProps extends React.HTMLAttributes<HTMLElement> {
4
+ as?: React.ElementType | string;
5
+ groupLabelProps?: React.HTMLAttributes<HTMLLIElement>;
6
+ label: ContentNode;
7
+ }
8
+ declare const ListboxGroup: React.ForwardRefExoticComponent<ListboxGroupProps & React.RefAttributes<HTMLElement>>;
9
+ export default ListboxGroup;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ export type ListboxValue = Readonly<string | number | undefined>;
3
+ interface ListboxOptionsProps extends React.HTMLAttributes<HTMLElement> {
4
+ as?: React.ElementType | string;
5
+ value?: ListboxValue;
6
+ disabled?: boolean;
7
+ activeClass?: string;
8
+ }
9
+ declare const ListboxOption: React.ForwardRefExoticComponent<ListboxOptionsProps & React.RefAttributes<HTMLElement>>;
10
+ export default ListboxOption;
@@ -0,0 +1,4 @@
1
+ export { default } from './Listbox';
2
+ export { default as ListboxOption } from './ListboxOption';
3
+ export { default as ListboxGroup } from './ListboxGroup';
4
+ export { ListboxProvider, useListboxContext } from './ListboxContext';
@@ -1 +1,2 @@
1
- export default function AxeLoader(): JSX.Element;
1
+ import React from 'react';
2
+ export default function AxeLoader(): React.JSX.Element;
@@ -8,10 +8,10 @@ export default class Main extends Component<MainProps> {
8
8
  mainRef: () => void;
9
9
  };
10
10
  static propTypes: {
11
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
12
- mainRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
11
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
12
+ mainRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
13
13
  current: PropTypes.Requireable<any>;
14
- }>>;
14
+ }> | null | undefined>>;
15
15
  };
16
- render(): JSX.Element;
16
+ render(): React.JSX.Element;
17
17
  }
@@ -10,7 +10,7 @@ interface MenuBarState {
10
10
  }
11
11
  export default class TopBar extends React.Component<MenuBarProps, MenuBarState> {
12
12
  static propTypes: {
13
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
13
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
14
14
  className: PropTypes.Requireable<string>;
15
15
  thin: PropTypes.Requireable<boolean>;
16
16
  hasTrigger: PropTypes.Requireable<boolean>;
@@ -28,6 +28,6 @@ export default class TopBar extends React.Component<MenuBarProps, MenuBarState>
28
28
  private handleThin;
29
29
  private renderChild;
30
30
  onKeyDown(e: React.KeyboardEvent<HTMLElement>): void;
31
- render(): JSX.Element;
31
+ render(): React.JSX.Element;
32
32
  }
33
33
  export {};
@@ -15,10 +15,10 @@ export default class MenuItem extends Component<MenuItemProps> {
15
15
  autoClickLink: boolean;
16
16
  };
17
17
  static propTypes: {
18
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
19
- menuItemRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
18
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
19
+ menuItemRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
20
20
  current: PropTypes.Requireable<any>;
21
- }>>;
21
+ }> | null | undefined>>;
22
22
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
23
23
  onKeyDown: PropTypes.Requireable<(...args: any[]) => any>;
24
24
  autoClickLink: PropTypes.Requireable<boolean>;
@@ -27,6 +27,6 @@ export default class MenuItem extends Component<MenuItemProps> {
27
27
  constructor(props: MenuItemProps);
28
28
  onClick(e: React.MouseEvent<HTMLLIElement>): void;
29
29
  onKeyDown(e: React.KeyboardEvent<HTMLLIElement>): void;
30
- render(): JSX.Element;
30
+ render(): React.JSX.Element;
31
31
  }
32
32
  export {};
@@ -3,9 +3,9 @@ import { DialogProps } from '../Dialog';
3
3
  interface ModalProps extends Omit<DialogProps, 'forceAction'> {
4
4
  variant?: 'info';
5
5
  }
6
- declare const Modal: ({ children, className, variant, ...other }: ModalProps) => JSX.Element;
6
+ declare const Modal: ({ children, className, variant, ...other }: ModalProps) => React.JSX.Element;
7
7
  declare const ModalContent: {
8
- ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
8
+ ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
9
9
  displayName: string;
10
10
  propTypes: {
11
11
  className: import("prop-types").Requireable<string>;
@@ -13,7 +13,7 @@ declare const ModalContent: {
13
13
  };
14
14
  };
15
15
  declare const ModalFooter: {
16
- ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
16
+ ({ children, className, ...other }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
17
17
  displayName: string;
18
18
  propTypes: {
19
19
  className: import("prop-types").Requireable<string>;
@@ -8,10 +8,10 @@ interface NavBarProps extends React.HTMLAttributes<HTMLDivElement> {
8
8
  propId?: string;
9
9
  }
10
10
  declare const NavBar: {
11
- ({ children, className, collapsed, navTriggerLabel, propId, ...props }: NavBarProps): JSX.Element;
11
+ ({ children, className, collapsed, navTriggerLabel, propId, ...props }: NavBarProps): React.JSX.Element;
12
12
  displayName: string;
13
13
  propTypes: {
14
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
14
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
15
15
  className: PropTypes.Requireable<string>;
16
16
  collapsed: PropTypes.Requireable<boolean>;
17
17
  navTriggerLabel: PropTypes.Requireable<string>;
@@ -9,7 +9,7 @@ declare const NavItem: {
9
9
  ({ children, active, "aria-current": ariaCurrent, ...other }: NavItemProps): JSX.Element;
10
10
  displayName: string;
11
11
  propTypes: {
12
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
12
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
13
13
  };
14
14
  };
15
15
  export default NavItem;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
- export declare type OffscreenProps = React.HTMLAttributes<HTMLSpanElement>;
3
- declare const Offscreen: (props: OffscreenProps) => JSX.Element;
2
+ export type OffscreenProps = React.HTMLAttributes<HTMLSpanElement>;
3
+ declare const Offscreen: (props: OffscreenProps) => React.JSX.Element;
4
4
  export default Offscreen;
@@ -22,7 +22,7 @@ export interface OptionsMenuProps extends OptionsMenuAlignmentProps {
22
22
  interface OptionsMenuState {
23
23
  show: boolean;
24
24
  }
25
- declare type AllOptionsMenuProps = OptionsMenuProps & React.HTMLAttributes<HTMLLIElement>;
25
+ type AllOptionsMenuProps = OptionsMenuProps & React.HTMLAttributes<HTMLLIElement>;
26
26
  export default class OptionsMenu extends Component<AllOptionsMenuProps, OptionsMenuState> {
27
27
  static defaultProps: {
28
28
  onClose: () => void;
@@ -31,14 +31,14 @@ export default class OptionsMenu extends Component<AllOptionsMenuProps, OptionsM
31
31
  };
32
32
  static propTypes: {
33
33
  trigger: PropTypes.Requireable<(...args: any[]) => any>;
34
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
34
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
35
35
  onClose: PropTypes.Requireable<(...args: any[]) => any>;
36
36
  className: PropTypes.Requireable<string>;
37
37
  onSelect: PropTypes.Requireable<(...args: any[]) => any>;
38
38
  closeOnSelect: PropTypes.Requireable<boolean>;
39
- menuRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
39
+ menuRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
40
40
  current: PropTypes.Requireable<any>;
41
- }>>;
41
+ }> | null | undefined>>;
42
42
  align: PropTypes.Requireable<string>;
43
43
  };
44
44
  private triggerRef;
@@ -46,6 +46,6 @@ export default class OptionsMenu extends Component<AllOptionsMenuProps, OptionsM
46
46
  toggleMenu: (event: React.MouseEvent<HTMLButtonElement>) => void;
47
47
  handleClose: () => void;
48
48
  handleTriggerKeyDown: (event: React.KeyboardEvent<HTMLElement>) => void;
49
- render(): JSX.Element;
49
+ render(): React.JSX.Element;
50
50
  }
51
51
  export {};
@@ -15,14 +15,14 @@ export default class OptionsMenuList extends React.Component<OptionsMenuListProp
15
15
  };
16
16
  static propTypes: {
17
17
  show: PropTypes.Requireable<boolean>;
18
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
18
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
19
19
  onClose: PropTypes.Requireable<(...args: any[]) => any>;
20
20
  className: PropTypes.Requireable<string>;
21
21
  onSelect: PropTypes.Requireable<(...args: any[]) => any>;
22
22
  closeOnSelect: PropTypes.Requireable<boolean>;
23
- menuRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
23
+ menuRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
24
24
  current: PropTypes.Requireable<any>;
25
- }>>;
25
+ }> | null | undefined>>;
26
26
  };
27
27
  private itemRefs;
28
28
  private menuRef;
@@ -33,6 +33,6 @@ export default class OptionsMenuList extends React.Component<OptionsMenuListProp
33
33
  private handleClickOutside;
34
34
  componentDidMount(): void;
35
35
  componentWillUnmount(): void;
36
- render(): JSX.Element;
36
+ render(): React.JSX.Element;
37
37
  }
38
38
  export {};
@@ -7,9 +7,9 @@ export interface OptionsMenuWrapperProps extends React.HTMLAttributes<HTMLDivEle
7
7
  * Wrapper / parent component for the <OptionsMenuTrigger /> and <OptionsMenu /> components
8
8
  */
9
9
  declare const OptionsMenuWrapper: {
10
- ({ className, align, ...other }: OptionsMenuWrapperProps): JSX.Element;
10
+ ({ className, align, ...other }: OptionsMenuWrapperProps): React.JSX.Element;
11
11
  propTypes: {
12
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
12
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
13
13
  className: PropTypes.Requireable<string>;
14
14
  align: PropTypes.Requireable<string>;
15
15
  };
@@ -41,18 +41,18 @@ export default class Pointout extends React.Component<PointoutProps, PointoutSta
41
41
  };
42
42
  static propTypes: {
43
43
  heading: PropTypes.Requireable<PropTypes.ReactNodeLike>;
44
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
45
- ftpRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
44
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
45
+ ftpRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
46
46
  current: PropTypes.Requireable<any>;
47
- }>>;
47
+ }> | null | undefined>>;
48
48
  noArrow: (props: PointoutProps, propName: keyof PointoutProps) => Error | undefined;
49
49
  arrowPosition: PropTypes.Requireable<string>;
50
50
  onClose: PropTypes.Requireable<(...args: any[]) => any>;
51
51
  dismissText: PropTypes.Requireable<string>;
52
52
  className: PropTypes.Requireable<string>;
53
- target: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
53
+ target: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
54
54
  current: PropTypes.Requireable<any>;
55
- }>>;
55
+ }> | null | undefined>>;
56
56
  disableOffscreenPointout: PropTypes.Requireable<boolean>;
57
57
  portal: PropTypes.Requireable<any>;
58
58
  previousButtonProps: PropTypes.Requireable<any>;
@@ -76,7 +76,7 @@ export default class Pointout extends React.Component<PointoutProps, PointoutSta
76
76
  handleOffscreenFocusOut: ({ target }: FocusEvent) => void;
77
77
  positionRelativeToTarget: () => void;
78
78
  componentDidUpdate(nextProps: PointoutProps): void;
79
- render(): JSX.Element | null;
79
+ render(): React.JSX.Element | null;
80
80
  onCloseClick(): void;
81
81
  }
82
82
  export {};
@@ -1,6 +1,6 @@
1
1
  import { Cauldron } from '../../types';
2
2
  import React from 'react';
3
- declare type ProgressBarProps = {
3
+ type ProgressBarProps = {
4
4
  progress: number;
5
5
  progressMax?: number;
6
6
  progressMin?: number;
@@ -16,7 +16,7 @@ export interface RadioCardGroupProps {
16
16
  onChange: (radio: RadioItem, input: HTMLElement) => void;
17
17
  }
18
18
  declare const RadioCardGroup: {
19
- ({ name, radios, defaultValue, value, onChange, className, ...other }: RadioCardGroupProps): JSX.Element;
19
+ ({ name, radios, defaultValue, value, onChange, className, ...other }: RadioCardGroupProps): React.JSX.Element;
20
20
  propTypes: {
21
21
  name: PropTypes.Requireable<string>;
22
22
  radios: PropTypes.Validator<(PropTypes.InferProps<{
@@ -17,6 +17,6 @@ export default class Scrim extends React.Component<ScrimProps, ScrimState> {
17
17
  fadeIn(): void;
18
18
  fadeOut(): void;
19
19
  componentDidUpdate(prevProps: ScrimProps): void;
20
- render(): JSX.Element | null;
20
+ render(): React.JSX.Element | null;
21
21
  }
22
22
  export {};
@@ -16,5 +16,5 @@ export interface SelectProps extends Omit<React.HTMLProps<HTMLSelectElement>, 'c
16
16
  defaultValue?: any;
17
17
  onChange?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
18
18
  }
19
- declare const Select: React.ForwardRefExoticComponent<Pick<SelectProps, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "list" | "step" | "cite" | "data" | "label" | "span" | "summary" | "pattern" | "type" | "key" | "download" | "target" | "name" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "open" | "error" | "start" | "content" | "size" | "default" | "wrap" | "multiple" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "media" | "mediaGroup" | "method" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "width" | "wmode" | "options" | "requiredText"> & React.RefAttributes<HTMLSelectElement>>;
19
+ declare const Select: React.ForwardRefExoticComponent<Omit<SelectProps, "ref"> & React.RefAttributes<HTMLSelectElement>>;
20
20
  export default Select;
@@ -17,7 +17,7 @@ export default class SideBar extends Component<SideBarProps, SideBarState> {
17
17
  show: boolean;
18
18
  };
19
19
  static propTypes: {
20
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
20
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
21
21
  onDismiss: PropTypes.Validator<(...args: any[]) => any>;
22
22
  className: PropTypes.Requireable<string>;
23
23
  show: PropTypes.Requireable<boolean>;
@@ -33,6 +33,6 @@ export default class SideBar extends Component<SideBarProps, SideBarState> {
33
33
  private handleClickOutside;
34
34
  componentDidUpdate(prevProps: SideBarProps): void;
35
35
  private animate;
36
- render(): JSX.Element;
36
+ render(): React.JSX.Element;
37
37
  }
38
38
  export {};
@@ -22,7 +22,7 @@ export default class SkipLink extends React.Component<SkipLinkProps, SkipLinkSta
22
22
  targetText: PropTypes.Requireable<string>;
23
23
  };
24
24
  constructor(props: SkipLinkProps);
25
- render(): JSX.Element;
25
+ render(): React.JSX.Element;
26
26
  private onClick;
27
27
  private onFocus;
28
28
  private onBlur;
@@ -10,9 +10,9 @@ interface StepWithTooltip extends BaseStepProps {
10
10
  tooltip: React.ReactNode;
11
11
  tooltipText: string;
12
12
  }
13
- declare type StepProps = StepWithChildren | StepWithTooltip;
13
+ type StepProps = StepWithChildren | StepWithTooltip;
14
14
  export declare const Step: {
15
- (props: StepProps): JSX.Element;
15
+ (props: StepProps): React.JSX.Element;
16
16
  displayName: string;
17
17
  propTypes: {
18
18
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
@@ -26,10 +26,10 @@ interface StepperProps {
26
26
  className?: string;
27
27
  }
28
28
  declare const Stepper: {
29
- ({ children, className, ...other }: StepperProps): JSX.Element;
29
+ ({ children, className, ...other }: StepperProps): React.JSX.Element;
30
30
  displayName: string;
31
31
  propTypes: {
32
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
32
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
33
33
  className: PropTypes.Requireable<string>;
34
34
  };
35
35
  };
@@ -1,13 +1,13 @@
1
- import { TableHTMLAttributes } from 'react';
1
+ import React, { TableHTMLAttributes } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
4
4
  variant?: 'border';
5
5
  }
6
6
  declare const Table: {
7
- ({ children, className, variant, ...other }: TableProps): JSX.Element;
7
+ ({ children, className, variant, ...other }: TableProps): React.JSX.Element;
8
8
  displayName: string;
9
9
  propTypes: {
10
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
10
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
11
11
  className: PropTypes.Requireable<string>;
12
12
  variant: PropTypes.Requireable<string>;
13
13
  };
@@ -1,10 +1,10 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  declare const TableBody: {
4
- ({ children, className, ...other }: HTMLAttributes<HTMLTableSectionElement>): JSX.Element;
4
+ ({ children, className, ...other }: HTMLAttributes<HTMLTableSectionElement>): React.JSX.Element;
5
5
  displayName: string;
6
6
  propTypes: {
7
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
7
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
8
  className: PropTypes.Requireable<string>;
9
9
  };
10
10
  };
@@ -1,10 +1,10 @@
1
- import { TdHTMLAttributes } from 'react';
1
+ import React, { TdHTMLAttributes } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  declare const TableCell: {
4
- ({ children, className, ...other }: TdHTMLAttributes<HTMLTableCellElement>): JSX.Element;
4
+ ({ children, className, ...other }: TdHTMLAttributes<HTMLTableCellElement>): React.JSX.Element;
5
5
  displayName: string;
6
6
  propTypes: {
7
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
7
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
8
  className: PropTypes.Requireable<string>;
9
9
  };
10
10
  };
@@ -1,10 +1,10 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  declare const TableFooter: {
4
- ({ children, className, ...other }: HTMLAttributes<HTMLTableSectionElement>): JSX.Element;
4
+ ({ children, className, ...other }: HTMLAttributes<HTMLTableSectionElement>): React.JSX.Element;
5
5
  displayName: string;
6
6
  propTypes: {
7
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
7
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
8
  className: PropTypes.Requireable<string>;
9
9
  };
10
10
  };
@@ -1,10 +1,10 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  declare const TableHead: {
4
- ({ children, className, ...other }: HTMLAttributes<HTMLTableSectionElement>): JSX.Element;
4
+ ({ children, className, ...other }: HTMLAttributes<HTMLTableSectionElement>): React.JSX.Element;
5
5
  displayName: string;
6
6
  propTypes: {
7
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
7
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
8
  className: PropTypes.Requireable<string>;
9
9
  };
10
10
  };
@@ -1,6 +1,6 @@
1
- import { ThHTMLAttributes } from 'react';
1
+ import React, { ThHTMLAttributes } from 'react';
2
2
  import PropTypes from 'prop-types';
3
- declare type SortDirection = 'ascending' | 'descending' | 'none';
3
+ type SortDirection = 'ascending' | 'descending' | 'none';
4
4
  interface TableHeaderProps extends ThHTMLAttributes<HTMLTableCellElement> {
5
5
  sortDirection?: SortDirection;
6
6
  onSort?: () => void;
@@ -8,10 +8,10 @@ interface TableHeaderProps extends ThHTMLAttributes<HTMLTableCellElement> {
8
8
  sortDescendingAnnouncement?: string;
9
9
  }
10
10
  declare const TableHeader: {
11
- ({ children, sortDirection, onSort, className, sortAscendingAnnouncement, sortDescendingAnnouncement, ...other }: TableHeaderProps): JSX.Element;
11
+ ({ children, sortDirection, onSort, className, sortAscendingAnnouncement, sortDescendingAnnouncement, ...other }: TableHeaderProps): React.JSX.Element;
12
12
  displayName: string;
13
13
  propTypes: {
14
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
14
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
15
15
  sortDirection: PropTypes.Requireable<string>;
16
16
  onSort: PropTypes.Requireable<(...args: any[]) => any>;
17
17
  className: PropTypes.Requireable<string>;
@@ -1,10 +1,10 @@
1
- import { HTMLAttributes } from 'react';
1
+ import React, { HTMLAttributes } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  declare const TableRow: {
4
- ({ children, className, ...other }: HTMLAttributes<HTMLTableRowElement>): JSX.Element;
4
+ ({ children, className, ...other }: HTMLAttributes<HTMLTableRowElement>): React.JSX.Element;
5
5
  displayName: string;
6
6
  propTypes: {
7
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
7
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
8
8
  className: PropTypes.Requireable<string>;
9
9
  };
10
10
  };
@@ -1,7 +1,7 @@
1
1
  import { Cauldron } from '../../types';
2
2
  import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
- declare type TabsProps = {
4
+ type TabsProps = {
5
5
  children: React.ReactNode;
6
6
  initialActiveIndex?: number;
7
7
  thin?: boolean;
@@ -16,7 +16,7 @@ declare const Tabs: {
16
16
  ({ children, thin, orientation, initialActiveIndex, className, onChange, ...labelProp }: TabsProps): JSX.Element;
17
17
  displayName: string;
18
18
  propTypes: {
19
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
19
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
20
20
  'aria-label': PropTypes.Requireable<string>;
21
21
  'aria-labelledby': PropTypes.Requireable<string>;
22
22
  initialActiveIndex: PropTypes.Requireable<number>;
@@ -5,18 +5,18 @@ interface TagProps {
5
5
  className?: string;
6
6
  }
7
7
  export declare const TagLabel: {
8
- ({ children, className, ...other }: TagProps): JSX.Element;
8
+ ({ children, className, ...other }: TagProps): React.JSX.Element;
9
9
  displayName: string;
10
10
  propTypes: {
11
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
11
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
12
12
  className: PropTypes.Requireable<string>;
13
13
  };
14
14
  };
15
15
  declare const Tag: {
16
- ({ children, className, ...other }: TagProps): JSX.Element;
16
+ ({ children, className, ...other }: TagProps): React.JSX.Element;
17
17
  displayName: string;
18
18
  propTypes: {
19
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
19
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
20
20
  className: PropTypes.Requireable<string>;
21
21
  };
22
22
  };
@@ -24,15 +24,15 @@ export default class TextField extends React.Component<TextFieldProps, TextField
24
24
  multiline: boolean;
25
25
  };
26
26
  static propTypes: {
27
- label: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
27
+ label: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
28
28
  id: PropTypes.Requireable<string>;
29
29
  error: PropTypes.Requireable<PropTypes.ReactNodeLike>;
30
30
  defaultValue: PropTypes.Requireable<string>;
31
31
  value: PropTypes.Requireable<string>;
32
32
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
33
- fieldRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
33
+ fieldRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
34
34
  current: PropTypes.Requireable<any>;
35
- }>>;
35
+ }> | null | undefined>>;
36
36
  required: PropTypes.Requireable<boolean>;
37
37
  requiredText: PropTypes.Requireable<string>;
38
38
  multiline: PropTypes.Requireable<boolean>;
@@ -42,7 +42,7 @@ export default class TextField extends React.Component<TextFieldProps, TextField
42
42
  private errorId;
43
43
  private input;
44
44
  constructor(props: TextFieldProps);
45
- render(): JSX.Element;
45
+ render(): React.JSX.Element;
46
46
  onChange(e: ChangeEvent<HTMLInputElement | HTMLTextAreaElement>): void;
47
47
  }
48
48
  export {};
@@ -28,13 +28,13 @@ export default class Toast extends React.Component<ToastProps, ToastState> {
28
28
  dismissible: boolean;
29
29
  };
30
30
  static propTypes: {
31
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
31
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
32
32
  type: PropTypes.Validator<string>;
33
33
  onDismiss: PropTypes.Requireable<(...args: any[]) => any>;
34
34
  dismissText: PropTypes.Requireable<string>;
35
- toastRef: PropTypes.Requireable<((...args: any[]) => any) | PropTypes.InferProps<{
35
+ toastRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
36
36
  current: PropTypes.Requireable<any>;
37
- }>>;
37
+ }> | null | undefined>>;
38
38
  focus: PropTypes.Requireable<boolean>;
39
39
  show: PropTypes.Requireable<boolean>;
40
40
  dismissible: PropTypes.Requireable<boolean>;
@@ -45,7 +45,7 @@ export default class Toast extends React.Component<ToastProps, ToastState> {
45
45
  componentDidMount(): void;
46
46
  componentDidUpdate(prevProps: ToastProps): void;
47
47
  componentWillUnmount(): void;
48
- render(): JSX.Element;
48
+ render(): React.JSX.Element;
49
49
  dismissToast(): void;
50
50
  showToast(): void;
51
51
  }
@@ -15,7 +15,7 @@ declare function Tooltip({ id: propId, placement: initialPlacement, children, po
15
15
  declare namespace Tooltip {
16
16
  var displayName: string;
17
17
  var propTypes: {
18
- children: PropTypes.Validator<string | number | boolean | {} | PropTypes.ReactElementLike | PropTypes.ReactNodeArray>;
18
+ children: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
19
19
  target: PropTypes.Validator<any>;
20
20
  association: PropTypes.Requireable<string>;
21
21
  show: PropTypes.Requireable<boolean>;
@@ -26,13 +26,13 @@ declare namespace Tooltip {
26
26
  }
27
27
  export default Tooltip;
28
28
  export declare const TooltipHead: {
29
- ({ className, ...other }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
29
+ ({ className, ...other }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
30
30
  propTypes: {
31
31
  className: PropTypes.Requireable<string>;
32
32
  };
33
33
  };
34
34
  export declare const TooltipContent: {
35
- ({ className, ...other }: React.HTMLAttributes<HTMLDivElement>): JSX.Element;
35
+ ({ className, ...other }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
36
36
  propTypes: {
37
37
  className: PropTypes.Requireable<string>;
38
38
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { TooltipProps } from '../Tooltip';
3
- declare type TooltipTabstopProps = Omit<TooltipProps, 'target'> & {
3
+ type TooltipTabstopProps = Omit<TooltipProps, 'target'> & {
4
4
  children: React.ReactNode;
5
5
  tooltip: React.ReactNode;
6
6
  } & React.HTMLAttributes<HTMLButtonElement>;
@@ -10,7 +10,7 @@ declare type TooltipTabstopProps = Omit<TooltipProps, 'target'> & {
10
10
  * - Inform AT users that clicking the button does not perform any action
11
11
  * - Is presented as a focusable control to trigger the associated tooltip
12
12
  */
13
- declare function TooltipTabstop({ children, className, tooltip, variant, association, show, placement, portal, hideElementOnHidden, ...buttonProps }: TooltipTabstopProps): JSX.Element;
13
+ declare function TooltipTabstop({ children, className, tooltip, variant, association, show, placement, portal, hideElementOnHidden, ...buttonProps }: TooltipTabstopProps): React.JSX.Element;
14
14
  declare namespace TooltipTabstop {
15
15
  var displayName: string;
16
16
  }