@splunk/react-ui 4.29.0 → 4.31.0

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 (206) hide show
  1. package/Accordion.js +1 -0
  2. package/CHANGELOG.md +39 -3
  3. package/Card.js +17 -17
  4. package/Chip.js +5 -5
  5. package/Clickable.js +107 -87
  6. package/Code.js +10 -22
  7. package/CollapsiblePanel.js +8 -8
  8. package/ComboBox.js +43 -38
  9. package/Date.js +6 -6
  10. package/Divider.js +96 -45
  11. package/DualListbox.js +1 -1
  12. package/Link.js +77 -75
  13. package/MIGRATION.mdx +51 -1
  14. package/Markdown.js +10 -9
  15. package/Menu.js +5 -5
  16. package/Message.js +160 -149
  17. package/ModalLayer.js +2 -1
  18. package/Multiselect.js +9 -6
  19. package/Number.js +19 -18
  20. package/Paginator.js +239 -223
  21. package/RadioBar.js +43 -39
  22. package/ResultsMenu.js +14 -11
  23. package/Search.js +227 -220
  24. package/Select.js +77 -72
  25. package/SidePanel.js +1 -1
  26. package/StepBar.js +1 -1
  27. package/Table.js +2082 -1594
  28. package/Text.js +1 -0
  29. package/TextArea.d.ts +1 -1
  30. package/cypress/support/component.ts +2 -2
  31. package/package.json +21 -20
  32. package/test-runner-jest.config.js +1 -0
  33. package/types/src/Accordion/Accordion.d.ts +3 -7
  34. package/types/src/Accordion/Panel.d.ts +2 -2
  35. package/types/src/Anchor/Anchor.d.ts +1 -1
  36. package/types/src/AnimationToggle/AnimationToggle.d.ts +3 -3
  37. package/types/src/Box/Box.d.ts +1 -1
  38. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +4 -4
  39. package/types/src/Breadcrumbs/Item.d.ts +1 -1
  40. package/types/src/Button/Button.d.ts +5 -5
  41. package/types/src/ButtonGroup/ButtonGroup.d.ts +1 -1
  42. package/types/src/ButtonSimple/ButtonSimple.d.ts +10 -10
  43. package/types/src/Calendar/Calendar.d.ts +3 -3
  44. package/types/src/Calendar/DateTable.d.ts +2 -2
  45. package/types/src/Calendar/Day.d.ts +3 -3
  46. package/types/src/Calendar/MonthHeader.d.ts +6 -6
  47. package/types/src/Card/Body.d.ts +1 -1
  48. package/types/src/Card/Card.d.ts +6 -6
  49. package/types/src/Card/Footer.d.ts +1 -1
  50. package/types/src/Card/Header.d.ts +1 -1
  51. package/types/src/CardLayout/CardLayout.d.ts +4 -4
  52. package/types/src/Chip/Chip.d.ts +5 -5
  53. package/types/src/Clickable/Clickable.d.ts +12 -4
  54. package/types/src/Clickable/NavigationProvider.d.ts +26 -5
  55. package/types/src/CloseButton/CloseButton.d.ts +1 -1
  56. package/types/src/Code/Code.d.ts +2 -2
  57. package/types/src/CollapsiblePanel/CollapsiblePanel.d.ts +9 -5
  58. package/types/src/CollapsiblePanel/SingleOpenPanelGroup.d.ts +2 -2
  59. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupInset.d.ts +2 -0
  60. package/types/src/CollapsiblePanel/icons/ExpandPanel.d.ts +1 -1
  61. package/types/src/Color/Color.d.ts +8 -8
  62. package/types/src/Color/Swatch.d.ts +2 -2
  63. package/types/src/ColumnLayout/Column.d.ts +1 -1
  64. package/types/src/ColumnLayout/ColumnLayout.d.ts +1 -1
  65. package/types/src/ColumnLayout/Row.d.ts +1 -1
  66. package/types/src/ComboBox/ComboBox.d.ts +7 -6
  67. package/types/src/ComboBox/Option.d.ts +3 -3
  68. package/types/src/Concertina/Concertina.d.ts +2 -2
  69. package/types/src/Concertina/Heading.d.ts +3 -3
  70. package/types/src/Concertina/Panel.d.ts +4 -4
  71. package/types/src/Concertina/types.d.ts +1 -1
  72. package/types/src/ControlGroup/ControlGroup.d.ts +5 -5
  73. package/types/src/Date/Date.d.ts +10 -10
  74. package/types/src/DefinitionList/DefinitionList.d.ts +2 -2
  75. package/types/src/DefinitionList/Description.d.ts +1 -1
  76. package/types/src/DefinitionList/Term.d.ts +1 -1
  77. package/types/src/Divider/Divider.d.ts +7 -2
  78. package/types/src/Divider/docs/examples/Decorative.d.ts +2 -0
  79. package/types/src/Dropdown/Dropdown.d.ts +10 -10
  80. package/types/src/DualListbox/DualListbox.d.ts +4 -4
  81. package/types/src/DualListbox/DualListboxContext.d.ts +7 -7
  82. package/types/src/DualListbox/Label.d.ts +2 -2
  83. package/types/src/DualListbox/Listbox.d.ts +4 -4
  84. package/types/src/DualListbox/ListboxContext.d.ts +3 -3
  85. package/types/src/DualListbox/Option.d.ts +2 -2
  86. package/types/src/DualListbox/ToolbarButton.d.ts +3 -3
  87. package/types/src/DualListbox/ToolbarContext.d.ts +3 -3
  88. package/types/src/EventListener/EventListener.d.ts +1 -1
  89. package/types/src/File/File.d.ts +8 -8
  90. package/types/src/File/Item.d.ts +2 -2
  91. package/types/src/FormRows/FormRows.d.ts +6 -6
  92. package/types/src/FormRows/Row.d.ts +2 -2
  93. package/types/src/FormRows/RowInternal.d.ts +1 -1
  94. package/types/src/FormRows/SortableList.d.ts +1 -1
  95. package/types/src/FormRows/SortableRow.d.ts +3 -3
  96. package/types/src/Heading/Heading.d.ts +2 -2
  97. package/types/src/Image/Image.d.ts +2 -2
  98. package/types/src/JSONTree/JSONTree.d.ts +6 -6
  99. package/types/src/JSONTree/JSONTreeItem.d.ts +3 -3
  100. package/types/src/JSONTree/renderTreeItems.d.ts +1 -1
  101. package/types/src/Layer/Layer.d.ts +3 -3
  102. package/types/src/Link/Link.d.ts +4 -4
  103. package/types/src/List/Item.d.ts +1 -1
  104. package/types/src/List/List.d.ts +3 -3
  105. package/types/src/Markdown/Markdown.d.ts +18 -12
  106. package/types/src/Markdown/renderers/MarkdownAnchorHeading.d.ts +1 -1
  107. package/types/src/Markdown/renderers/MarkdownBlockquote.d.ts +1 -1
  108. package/types/src/Markdown/renderers/MarkdownCode.d.ts +1 -1
  109. package/types/src/Markdown/renderers/MarkdownCodeBlock.d.ts +1 -1
  110. package/types/src/Markdown/renderers/MarkdownHeading.d.ts +1 -1
  111. package/types/src/Markdown/renderers/MarkdownImage.d.ts +1 -1
  112. package/types/src/Markdown/renderers/MarkdownItem.d.ts +1 -1
  113. package/types/src/Markdown/renderers/MarkdownLink.d.ts +1 -1
  114. package/types/src/Markdown/renderers/MarkdownList.d.ts +3 -3
  115. package/types/src/Markdown/renderers/MarkdownParagraph.d.ts +1 -1
  116. package/types/src/Menu/Divider.d.ts +1 -1
  117. package/types/src/Menu/Heading.d.ts +1 -1
  118. package/types/src/Menu/Item.d.ts +10 -10
  119. package/types/src/Menu/Menu.d.ts +9 -9
  120. package/types/src/Message/Link.d.ts +3 -3
  121. package/types/src/Message/Message.d.ts +1 -1
  122. package/types/src/MessageBar/MessageBar.d.ts +2 -2
  123. package/types/src/Modal/Body.d.ts +1 -1
  124. package/types/src/Modal/Footer.d.ts +1 -1
  125. package/types/src/Modal/Header.d.ts +1 -1
  126. package/types/src/Modal/Modal.d.ts +4 -4
  127. package/types/src/ModalLayer/ModalLayer.d.ts +3 -3
  128. package/types/src/Monogram/Monogram.d.ts +5 -5
  129. package/types/src/Multiselect/Compact.d.ts +2 -2
  130. package/types/src/Multiselect/Multiselect.d.ts +7 -7
  131. package/types/src/Multiselect/Normal.d.ts +2 -2
  132. package/types/src/Multiselect/Option.d.ts +3 -3
  133. package/types/src/Multiselect/docs/examples/Fetching.d.ts +1 -1
  134. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +1 -1
  135. package/types/src/Number/Number.d.ts +22 -22
  136. package/types/src/Paginator/Button.d.ts +3 -3
  137. package/types/src/Paginator/Compact.d.ts +4 -4
  138. package/types/src/Paginator/PageControl.d.ts +2 -2
  139. package/types/src/Paginator/PageSelect.d.ts +2 -2
  140. package/types/src/Paginator/Paginator.d.ts +2 -2
  141. package/types/src/Paragraph/Paragraph.d.ts +1 -1
  142. package/types/src/Popover/Popover.d.ts +11 -11
  143. package/types/src/Popover/PopoverHitArea.d.ts +1 -1
  144. package/types/src/Progress/Progress.d.ts +1 -1
  145. package/types/src/RadioBar/Option.d.ts +8 -4
  146. package/types/src/RadioBar/RadioBar.d.ts +8 -8
  147. package/types/src/RadioList/Option.d.ts +1 -1
  148. package/types/src/RadioList/RadioList.d.ts +3 -3
  149. package/types/src/Resize/Resize.d.ts +4 -4
  150. package/types/src/Resize/docs/examples/Basic.d.ts +2 -0
  151. package/types/src/ResultsMenu/ResultsMenu.d.ts +7 -5
  152. package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedItem.d.ts +1 -1
  153. package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.d.ts +1 -1
  154. package/types/src/ResultsMenu/VirtualizedResultsMenu/injectVirtualizedItem.d.ts +2 -2
  155. package/types/src/ScreenReaderContent/ScreenReaderContent.d.ts +2 -2
  156. package/types/src/Scroll/Inner.d.ts +3 -3
  157. package/types/src/Scroll/Scroll.d.ts +2 -2
  158. package/types/src/Search/Option.d.ts +8 -8
  159. package/types/src/Search/Search.d.ts +4 -4
  160. package/types/src/Select/Option.d.ts +2 -2
  161. package/types/src/Select/OptionBase.d.ts +8 -8
  162. package/types/src/Select/Select.d.ts +5 -5
  163. package/types/src/Select/SelectAllOption.d.ts +1 -1
  164. package/types/src/Select/SelectBase.d.ts +9 -8
  165. package/types/src/SidePanel/SidePanel.d.ts +3 -3
  166. package/types/src/Slider/Slider.d.ts +8 -8
  167. package/types/src/SlidingPanels/Panel.d.ts +2 -2
  168. package/types/src/SlidingPanels/SlidingPanels.d.ts +2 -2
  169. package/types/src/SplitButton/Item.d.ts +2 -2
  170. package/types/src/SplitButton/SplitButton.d.ts +1 -1
  171. package/types/src/StaticContent/StaticContent.d.ts +1 -1
  172. package/types/src/StepBar/Step.d.ts +1 -1
  173. package/types/src/StepBar/StepBar.d.ts +1 -1
  174. package/types/src/Switch/Switch.d.ts +4 -8
  175. package/types/src/TabBar/Tab.d.ts +7 -8
  176. package/types/src/TabBar/TabBar.d.ts +5 -5
  177. package/types/src/TabLayout/Panel.d.ts +2 -2
  178. package/types/src/TabLayout/TabLayout.d.ts +3 -3
  179. package/types/src/Table/Body.d.ts +4 -8
  180. package/types/src/Table/Caption.d.ts +2 -2
  181. package/types/src/Table/Cell.d.ts +3 -3
  182. package/types/src/Table/DragHandle.d.ts +1 -1
  183. package/types/src/Table/Head.d.ts +6 -6
  184. package/types/src/Table/HeadCell.d.ts +9 -9
  185. package/types/src/Table/HeadDropdownCell.d.ts +11 -11
  186. package/types/src/Table/HeadInner.d.ts +5 -5
  187. package/types/src/Table/HeadTable.d.ts +2 -2
  188. package/types/src/Table/KeyboardSensor.d.ts +79 -0
  189. package/types/src/Table/Row.d.ts +12 -14
  190. package/types/src/Table/RowDragCell.d.ts +9 -40
  191. package/types/src/Table/Table.d.ts +12 -10
  192. package/types/src/Table/Toggle.d.ts +1 -1
  193. package/types/src/Table/docs/examples/FilterColumnValues.d.ts +1 -1
  194. package/types/src/Text/Text.d.ts +13 -11
  195. package/types/src/TextArea/TextArea.d.ts +10 -10
  196. package/types/src/Tooltip/Tooltip.d.ts +9 -9
  197. package/types/src/TransitionOpen/TransitionOpen.d.ts +2 -2
  198. package/types/src/Tree/Tree.d.ts +3 -3
  199. package/types/src/Tree/TreeItem.d.ts +4 -4
  200. package/types/src/Typography/Typography.d.ts +5 -5
  201. package/types/src/WaitSpinner/WaitSpinner.d.ts +1 -1
  202. package/types/src/fixtures/FetchOptions.d.ts +2 -2
  203. package/types/src/useKeyPress/index.d.ts +2 -2
  204. package/types/src/utils/types.d.ts +4 -4
  205. package/types/src/Divider/docs/examples/AriaHidden.d.ts +0 -2
  206. package/types/src/Resize/docs/examples/Typical.d.ts +0 -2
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { ComponentProps } from '../utils/types';
4
- declare type PaginatorButtonClickHandler = (event: React.MouseEvent<HTMLButtonElement>, data: {
4
+ type PaginatorButtonClickHandler = (event: React.MouseEvent<HTMLButtonElement>, data: {
5
5
  page?: number;
6
6
  }) => void;
7
7
  interface PaginatorButtonPropsBase {
@@ -17,12 +17,12 @@ interface PaginatorButtonPropsBase {
17
17
  /** @private */
18
18
  selected?: boolean;
19
19
  }
20
- declare type PaginatorButtonProps = ComponentProps<PaginatorButtonPropsBase, 'button'>;
20
+ type PaginatorButtonProps = ComponentProps<PaginatorButtonPropsBase, 'button'>;
21
21
  declare function PaginatorButton({ children, disabled, onClick, page, selected, ...otherProps }: PaginatorButtonProps): JSX.Element;
22
22
  declare namespace PaginatorButton {
23
23
  var propTypes: {
24
24
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
25
- disabled: PropTypes.Requireable<string | boolean>;
25
+ disabled: PropTypes.Requireable<NonNullable<string | boolean | null | undefined>>;
26
26
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
27
27
  page: PropTypes.Requireable<number>;
28
28
  /** @private */
@@ -2,12 +2,12 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { ComponentProps } from '../utils/types';
4
4
  /** @public */
5
- declare type PaginatorCompactChangeHandler = (event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>, data: {
5
+ type PaginatorCompactChangeHandler = (event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>, data: {
6
6
  direction: 'prev' | 'next';
7
7
  page?: number;
8
8
  }) => void;
9
9
  /** @public */
10
- declare type PaginatorCompactRenderLabelCallback = (data: {
10
+ type PaginatorCompactRenderLabelCallback = (data: {
11
11
  current?: number;
12
12
  totalPages?: number;
13
13
  }) => React.ReactNode;
@@ -35,14 +35,14 @@ interface PaginatorCompactPropsBase {
35
35
  */
36
36
  totalPages?: number;
37
37
  }
38
- declare type PageButtonProps = ComponentProps<PaginatorCompactPropsBase, 'nav'>;
38
+ type PageButtonProps = ComponentProps<PaginatorCompactPropsBase, 'nav'>;
39
39
  declare function Compact({ onChange, current, renderLabel, totalPages, ...otherProps }: PageButtonProps): JSX.Element;
40
40
  declare namespace Compact {
41
41
  var propTypes: {
42
42
  current: PropTypes.Requireable<number>;
43
43
  elementRef: PropTypes.Requireable<object>;
44
44
  onChange: PropTypes.Requireable<(...args: any[]) => any>;
45
- renderLabel: PropTypes.Requireable<boolean | ((...args: any[]) => any)>;
45
+ renderLabel: PropTypes.Requireable<NonNullable<boolean | ((...args: any[]) => any) | null | undefined>>;
46
46
  totalPages: PropTypes.Requireable<number>;
47
47
  };
48
48
  }
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { ComponentProps } from '../utils/types';
4
4
  /** @public */
5
- declare type PaginatorPageControlChangeHandler = (event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>, data: {
5
+ type PaginatorPageControlChangeHandler = (event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>, data: {
6
6
  page: number;
7
7
  }) => void;
8
8
  interface PaginatorPageControlPropsBase {
@@ -23,7 +23,7 @@ interface PaginatorPageControlPropsBase {
23
23
  */
24
24
  totalPages: number;
25
25
  }
26
- declare type PageControlProps = ComponentProps<PaginatorPageControlPropsBase, 'nav'>;
26
+ type PageControlProps = ComponentProps<PaginatorPageControlPropsBase, 'nav'>;
27
27
  declare function PageControl({ onChange, current, totalPages, ...otherProps }: PageControlProps): JSX.Element;
28
28
  declare namespace PageControl {
29
29
  var propTypes: {
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { ComponentProps } from '../utils/types';
4
4
  /** @public */
5
- declare type PaginatorPageSelectChangeHandler = (event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>, data: {
5
+ type PaginatorPageSelectChangeHandler = (event: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>, data: {
6
6
  page: number;
7
7
  }) => void;
8
8
  interface PaginatorPageSelectPropsBase {
@@ -19,7 +19,7 @@ interface PaginatorPageSelectPropsBase {
19
19
  */
20
20
  totalPages: number;
21
21
  }
22
- declare type PageControlProps = ComponentProps<PaginatorPageSelectPropsBase, 'div'>;
22
+ type PageControlProps = ComponentProps<PaginatorPageSelectPropsBase, 'div'>;
23
23
  declare function PageSelect({ onChange, current, totalPages, ...otherProps }: PageControlProps): JSX.Element;
24
24
  declare namespace PageSelect {
25
25
  var propTypes: {
@@ -4,7 +4,7 @@ import Compact, { PaginatorCompactChangeHandler } from './Compact';
4
4
  import PageControl, { PaginatorPageControlChangeHandler } from './PageControl';
5
5
  import { ComponentProps } from '../utils/types';
6
6
  /** @public */
7
- declare type PaginatorChangeHandler = (event: React.MouseEvent<HTMLButtonElement>, data: {
7
+ type PaginatorChangeHandler = (event: React.MouseEvent<HTMLButtonElement>, data: {
8
8
  page: number;
9
9
  }) => void;
10
10
  interface PaginatorPropsBase {
@@ -25,7 +25,7 @@ interface PaginatorPropsBase {
25
25
  /** The total number of pages. */
26
26
  totalPages: number;
27
27
  }
28
- declare type PaginatorProps = ComponentProps<PaginatorPropsBase, 'nav'>;
28
+ type PaginatorProps = ComponentProps<PaginatorPropsBase, 'nav'>;
29
29
  declare function Paginator({ onChange, current, alwaysShowLastPageLink, numPageLinks, totalPages, ...otherProps }: PaginatorProps): JSX.Element | null;
30
30
  declare namespace Paginator {
31
31
  var Compact: typeof import("./Compact").default;
@@ -9,7 +9,7 @@ interface ParagraphPropsBase {
9
9
  */
10
10
  elementRef?: React.Ref<HTMLParagraphElement>;
11
11
  }
12
- declare type ParagraphProps = ComponentProps<ParagraphPropsBase, 'p'>;
12
+ type ParagraphProps = ComponentProps<ParagraphPropsBase, 'p'>;
13
13
  declare function Paragraph({ children, elementRef, ...otherProps }: ParagraphProps): JSX.Element;
14
14
  declare namespace Paragraph {
15
15
  var propTypes: {
@@ -5,7 +5,7 @@ import { AnyTheme } from '@splunk/themes';
5
5
  import ScrollContainerContext from '@splunk/react-ui/ScrollContainerContext';
6
6
  import { ClassComponentProps } from '../utils/types';
7
7
  /** @public */
8
- declare type PopoverChildrenRenderer = (data: {
8
+ type PopoverChildrenRenderer = (data: {
9
9
  anchorHeight: number | null;
10
10
  anchorWidth: number | null;
11
11
  maxHeight: number | null;
@@ -13,13 +13,13 @@ declare type PopoverChildrenRenderer = (data: {
13
13
  placement: PopoverPlacementStatus | null;
14
14
  }) => React.ReactNode;
15
15
  /** @public */
16
- declare type PopoverPlacement = 'above' | 'below' | 'left' | 'right' | 'vertical' | 'horizontal';
16
+ type PopoverPlacement = 'above' | 'below' | 'left' | 'right' | 'vertical' | 'horizontal';
17
17
  /** @public */
18
- declare type PopoverPlacementStatus = 'above' | 'below' | 'left' | 'right' | 'misaligned';
18
+ type PopoverPlacementStatus = 'above' | 'below' | 'left' | 'right' | 'misaligned';
19
19
  /** @public */
20
- declare type PopoverPossibleCloseReason = 'clickAway' | 'escapeKey' | 'offScreen' | 'tabKey';
20
+ type PopoverPossibleCloseReason = 'clickAway' | 'escapeKey' | 'offScreen' | 'tabKey';
21
21
  /** @public */
22
- declare type PopoverRequestCloseHandler = (data: {
22
+ type PopoverRequestCloseHandler = (data: {
23
23
  event?: MouseEvent | KeyboardEvent | TouchEvent;
24
24
  reason: PopoverPossibleCloseReason;
25
25
  }) => void;
@@ -143,12 +143,12 @@ interface PopoverPropsBase {
143
143
  splunkTheme: AnyTheme;
144
144
  }
145
145
  declare const defaultProps: Required<Pick<PopoverPropsBase, 'align' | 'animation' | 'animationConfig' | 'appearance' | 'autoCloseWhenOffScreen' | 'canCoverAnchor' | 'closeReasons' | 'defaultPlacement' | 'open' | 'repositionMode' | 'retainFocus' | 'takeFocus'>>;
146
- declare type PopoverProps = ClassComponentProps<PopoverPropsBase, typeof defaultProps, 'div'>;
146
+ type PopoverProps = ClassComponentProps<PopoverPropsBase, typeof defaultProps, 'div'>;
147
147
  interface ExtendedDOMRect extends DOMRect {
148
148
  middle: number;
149
149
  center: number;
150
150
  }
151
- declare type TransformMeta = {
151
+ type TransformMeta = {
152
152
  translateX: number;
153
153
  translateY: number;
154
154
  rotate: number;
@@ -181,7 +181,7 @@ declare class Popover extends Component<PopoverProps, PopoverState> {
181
181
  context: React.ContextType<typeof ScrollContainerContext>;
182
182
  static contextType: React.Context<Window | Document | HTMLElement | null | undefined>;
183
183
  static defaultProps: Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>;
184
- static propTypes: React.WeakValidationMap<ClassComponentProps<PopoverPropsBase, Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>, "div", never>>;
184
+ static propTypes: React.WeakValidationMap<PopoverProps>;
185
185
  private static getArrowStyle;
186
186
  static getDerivedStateFromProps: React.GetDerivedStateFromProps<PopoverProps, PopoverState>;
187
187
  constructor(props: Readonly<PopoverProps>);
@@ -201,8 +201,8 @@ declare class Popover extends Component<PopoverProps, PopoverState> {
201
201
  private renderLayer;
202
202
  render(): (false | JSX.Element)[];
203
203
  }
204
- declare const PopoverWithTheme: React.ForwardRefExoticComponent<Pick<Pick<Pick<ClassComponentProps<PopoverPropsBase, Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>, "div", never>, "slot" | "style" | "title" | "children" | "onChange" | "onPause" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "open" | "align" | "appearance" | "animation" | "anchor" | "retainFocus" | "takeFocus" | "elementRef" | "closeReasons" | "onRequestClose" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen" | "pointTo" | "hitAreaRef" | "outerRef" | "splunkTheme"> & Pick<PropTypes.InferProps<React.WeakValidationMap<ClassComponentProps<PopoverPropsBase, Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>, "div", never>>>, "inlist"> & Pick<ClassComponentProps<PopoverPropsBase, Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>, "div", never>, never>, "slot" | "style" | "title" | "children" | "onChange" | "onPause" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "anchor" | "elementRef" | "onRequestClose" | "pointTo" | "hitAreaRef" | "outerRef" | "splunkTheme"> & Partial<Pick<Pick<ClassComponentProps<PopoverPropsBase, Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>, "div", never>, "slot" | "style" | "title" | "children" | "onChange" | "onPause" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "open" | "align" | "appearance" | "animation" | "anchor" | "retainFocus" | "takeFocus" | "elementRef" | "closeReasons" | "onRequestClose" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen" | "pointTo" | "hitAreaRef" | "outerRef" | "splunkTheme"> & Pick<PropTypes.InferProps<React.WeakValidationMap<ClassComponentProps<PopoverPropsBase, Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>, "div", never>>>, "inlist"> & Pick<ClassComponentProps<PopoverPropsBase, Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>, "div", never>, never>, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">> & Partial<Pick<Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>, never>> & {
205
- ref?: ((instance: Popover | null) => void) | React.RefObject<Popover> | null | undefined;
206
- }, "ref" | "slot" | "style" | "title" | "children" | "onChange" | "onPause" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "open" | "align" | "appearance" | "animation" | "anchor" | "retainFocus" | "takeFocus" | "elementRef" | "closeReasons" | "onRequestClose" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen" | "pointTo" | "hitAreaRef" | "outerRef">>;
204
+ declare const PopoverWithTheme: React.ForwardRefExoticComponent<Omit<Pick<Pick<PopoverProps, "slot" | "style" | "title" | "onChange" | "onPause" | "className" | "color" | "lang" | "role" | "tabIndex" | "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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof PopoverPropsBase> & Pick<PropTypes.InferProps<React.WeakValidationMap<PopoverProps>>, "inlist"> & Pick<PopoverProps, never>, "anchor" | "slot" | "style" | "title" | "children" | "onChange" | "onPause" | "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "elementRef" | "onRequestClose" | "pointTo" | "hitAreaRef" | "outerRef" | "splunkTheme"> & Partial<Pick<Pick<PopoverProps, "slot" | "style" | "title" | "onChange" | "onPause" | "className" | "color" | "lang" | "role" | "tabIndex" | "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" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "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" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "placeholder" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof PopoverPropsBase> & Pick<PropTypes.InferProps<React.WeakValidationMap<PopoverProps>>, "inlist"> & Pick<PopoverProps, never>, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">> & Partial<Pick<Required<Pick<PopoverPropsBase, "open" | "align" | "appearance" | "animation" | "retainFocus" | "takeFocus" | "closeReasons" | "canCoverAnchor" | "defaultPlacement" | "repositionMode" | "animationConfig" | "autoCloseWhenOffScreen">>, never>> & {
205
+ ref?: React.Ref<Popover> | undefined;
206
+ }, "splunkTheme">>;
207
207
  export default PopoverWithTheme;
208
208
  export type { Popover as PopoverWithoutTheme, PopoverChildrenRenderer, PopoverPlacement, PopoverPlacementStatus, PopoverPossibleCloseReason, PopoverRequestCloseHandler, };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type PopoverPlacementStatus = 'above' | 'below' | 'left' | 'right' | 'misaligned';
2
+ type PopoverPlacementStatus = 'above' | 'below' | 'left' | 'right' | 'misaligned';
3
3
  interface HitAreaProps {
4
4
  anchorRect?: DOMRect;
5
5
  popoverEl?: HTMLElement;
@@ -18,7 +18,7 @@ interface ProgressPropsBase {
18
18
  */
19
19
  type?: 'info' | 'success' | 'warning' | 'error';
20
20
  }
21
- declare type ProgressProps = ComponentProps<ProgressPropsBase, 'div'>;
21
+ type ProgressProps = ComponentProps<ProgressPropsBase, 'div'>;
22
22
  declare function Progress({ percentage, tooltip, type, ...otherProps }: ProgressProps): JSX.Element;
23
23
  declare namespace Progress {
24
24
  var propTypes: {
@@ -1,15 +1,15 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { ComponentProps } from '../utils/types';
4
- declare type OptionClickHandler = (event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement> | React.KeyboardEvent<HTMLElement>, data: {
4
+ type OptionClickHandler = (event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement> | React.KeyboardEvent<HTMLElement>, data: {
5
5
  label?: string;
6
6
  value: any;
7
7
  }) => void;
8
- declare type OnKeyDownHandler = (event: React.KeyboardEvent<HTMLElement>, data: {
8
+ type OnKeyDownHandler = (event: React.KeyboardEvent<HTMLElement>, data: {
9
9
  label?: string;
10
10
  value: any;
11
11
  }) => void;
12
- declare type OnChangeHandler = (event: React.KeyboardEvent<HTMLElement> | React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>, data: {
12
+ type OnChangeHandler = (event: React.KeyboardEvent<HTMLElement> | React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>, data: {
13
13
  label?: string;
14
14
  value: any;
15
15
  }) => void;
@@ -38,16 +38,20 @@ interface OptionPropsBase {
38
38
  /** The value of the `Option`. */
39
39
  value: any;
40
40
  }
41
- declare type OptionProps = ComponentProps<OptionPropsBase, 'button'>;
41
+ type OptionProps = ComponentProps<OptionPropsBase, 'button'>;
42
42
  declare function Option({ disabled, icon, label, selected, startAdornment, endAdornment, value, ...otherProps }: OptionProps): JSX.Element;
43
43
  declare namespace Option {
44
44
  var propTypes: {
45
+ /** @private Set by `RadioBar`. */
46
+ append: PropTypes.Requireable<boolean>;
45
47
  disabled: PropTypes.Requireable<boolean>;
46
48
  startAdornment: PropTypes.Requireable<PropTypes.ReactNodeLike>;
47
49
  endAdornment: PropTypes.Requireable<PropTypes.ReactNodeLike>;
48
50
  icon: PropTypes.Requireable<PropTypes.ReactNodeLike>;
49
51
  label: PropTypes.Requireable<string>;
50
52
  /** @private Set by `RadioBar`. */
53
+ prepend: PropTypes.Requireable<boolean>;
54
+ /** @private Set by `RadioBar`. */
51
55
  selected: PropTypes.Requireable<boolean>;
52
56
  /** The value of the `Option`. */
53
57
  value: PropTypes.Validator<any>;