@splunk/react-ui 5.1.0 → 5.2.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 (408) hide show
  1. package/Accordion.js +60 -39
  2. package/Anchor.js +9 -9
  3. package/Animation.js +2 -2
  4. package/Avatar.js +10 -10
  5. package/Box.js +2 -2
  6. package/Breadcrumbs.js +13 -13
  7. package/Button.js +12 -12
  8. package/ButtonGroup.js +9 -9
  9. package/ButtonSimple.js +2 -2
  10. package/CHANGELOG.md +23 -0
  11. package/Calendar.js +61 -61
  12. package/Card.js +286 -255
  13. package/CardLayout.js +10 -10
  14. package/Chip.js +31 -31
  15. package/Clickable.js +29 -29
  16. package/Code.js +15 -15
  17. package/CollapsiblePanel.js +93 -91
  18. package/Color.js +10 -10
  19. package/ColumnLayout.js +16 -16
  20. package/ComboBox.js +110 -110
  21. package/ControlGroup.js +99 -99
  22. package/Date.js +62 -62
  23. package/DefinitionList.js +124 -104
  24. package/Divider.js +2 -2
  25. package/DualListbox.js +178 -173
  26. package/File.js +22 -22
  27. package/FormRows.js +15 -15
  28. package/Heading.js +15 -15
  29. package/Image.js +31 -31
  30. package/JSONTree.js +492 -476
  31. package/Layer.js +4 -1
  32. package/Layout.js +10 -10
  33. package/Link.js +2 -2
  34. package/List.js +24 -24
  35. package/Markdown.js +102 -102
  36. package/Menu.js +21 -20
  37. package/Message.js +20 -20
  38. package/MessageBar.js +13 -13
  39. package/Modal.js +33 -33
  40. package/Monogram.js +94 -68
  41. package/Multiselect.js +822 -719
  42. package/Number.js +18 -18
  43. package/Paginator.js +39 -39
  44. package/Paragraph.js +10 -10
  45. package/Popover.js +243 -208
  46. package/Progress.js +6 -6
  47. package/Prose.js +16 -16
  48. package/RadioBar.js +118 -118
  49. package/RadioList.js +137 -113
  50. package/Resize.js +20 -20
  51. package/ResultsMenu.js +48 -48
  52. package/ScreenReaderContent.js +13 -13
  53. package/Scroll.js +24 -24
  54. package/Search.js +25 -25
  55. package/Select.js +941 -838
  56. package/SidePanel.js +29 -29
  57. package/Slider.js +30 -30
  58. package/SlidingPanels.js +28 -28
  59. package/SplitButton.js +100 -72
  60. package/StaticContent.js +6 -6
  61. package/StepBar.js +8 -8
  62. package/Switch.js +2 -2
  63. package/TabBar.js +293 -270
  64. package/TabLayout.js +68 -68
  65. package/Table.js +807 -790
  66. package/Text.js +2 -2
  67. package/TextArea.js +16 -16
  68. package/Tooltip.js +22 -22
  69. package/TransitionOpen.js +11 -11
  70. package/Tree.js +194 -189
  71. package/Typography.js +15 -15
  72. package/WaitSpinner.js +6 -6
  73. package/package.json +15 -18
  74. package/types/src/Accordion/docs/examples/Controlled.d.ts +3 -0
  75. package/types/src/Accordion/docs/examples/Inset.d.ts +4 -0
  76. package/types/src/Accordion/docs/examples/Uncontrolled.d.ts +3 -0
  77. package/types/src/Anchor/docs/examples/Basic.d.ts +4 -0
  78. package/types/src/AnimationToggle/docs/examples/Provider.d.ts +4 -0
  79. package/types/src/AnimationToggle/docs/examples/ReducedMotionComponent.d.ts +4 -0
  80. package/types/src/AnimationToggle/docs/examples/ReducedMotionHook.d.ts +4 -0
  81. package/types/src/AnimationToggle/docs/examples/ToggleComponent.d.ts +4 -0
  82. package/types/src/Avatar/docs/examples/BackgroundColor.d.ts +4 -0
  83. package/types/src/Avatar/docs/examples/Basic.d.ts +4 -0
  84. package/types/src/Avatar/docs/examples/Image.d.ts +4 -0
  85. package/types/src/Avatar/docs/examples/Interactive.d.ts +4 -0
  86. package/types/src/Avatar/docs/examples/Size.d.ts +4 -0
  87. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +4 -0
  88. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +3 -0
  89. package/types/src/Breadcrumbs/docs/examples/CustomizedClick.d.ts +4 -0
  90. package/types/src/Button/docs/examples/Basic.d.ts +3 -0
  91. package/types/src/Button/docs/examples/Block.d.ts +4 -0
  92. package/types/src/Button/docs/examples/Disabled.d.ts +4 -0
  93. package/types/src/Button/docs/examples/Icons.d.ts +4 -0
  94. package/types/src/Button/docs/examples/Menus.d.ts +4 -0
  95. package/types/src/Button/docs/examples/To.d.ts +4 -0
  96. package/types/src/ButtonGroup/docs/examples/Basic.d.ts +3 -0
  97. package/types/src/Card/docs/examples/Basic.d.ts +4 -0
  98. package/types/src/Card/docs/examples/Clickable.d.ts +4 -0
  99. package/types/src/Card/docs/examples/Full.d.ts +4 -0
  100. package/types/src/Card/docs/examples/HeadingTitle.d.ts +4 -0
  101. package/types/src/Card/docs/examples/Images.d.ts +4 -0
  102. package/types/src/Card/docs/examples/Selectable.d.ts +4 -0
  103. package/types/src/CardLayout/docs/examples/Basic.d.ts +3 -0
  104. package/types/src/CardLayout/docs/examples/Interactive.d.ts +4 -0
  105. package/types/src/Chip/docs/examples/Appearance.d.ts +3 -0
  106. package/types/src/Chip/docs/examples/CustomColors.d.ts +4 -0
  107. package/types/src/Chip/docs/examples/Disabled.d.ts +3 -0
  108. package/types/src/Chip/docs/examples/Icon.d.ts +3 -0
  109. package/types/src/Chip/docs/examples/Removable.d.ts +3 -0
  110. package/types/src/Chip/docs/examples/RemovableWithNonStringChildren.d.ts +4 -0
  111. package/types/src/Clickable/docs/examples/Disabled.d.ts +4 -0
  112. package/types/src/Code/docs/examples/Default.d.ts +3 -0
  113. package/types/src/Code/docs/examples/HideIndent.d.ts +4 -0
  114. package/types/src/Code/docs/examples/Language.d.ts +4 -0
  115. package/types/src/Code/docs/examples/LineHighlights.d.ts +4 -0
  116. package/types/src/Code/docs/examples/LineNumbers.d.ts +4 -0
  117. package/types/src/Code/docs/examples/LineNumbersCustomStart.d.ts +4 -0
  118. package/types/src/CollapsiblePanel/docs/examples/Actions.d.ts +4 -0
  119. package/types/src/CollapsiblePanel/docs/examples/BasicControlled.d.ts +3 -0
  120. package/types/src/CollapsiblePanel/docs/examples/BasicUncontrolled.d.ts +3 -0
  121. package/types/src/CollapsiblePanel/docs/examples/Disabled.d.ts +7 -0
  122. package/types/src/CollapsiblePanel/docs/examples/MultiControlled.d.ts +3 -0
  123. package/types/src/CollapsiblePanel/docs/examples/MultiUncontrolled.d.ts +3 -0
  124. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupControlled.d.ts +4 -0
  125. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupInset.d.ts +4 -0
  126. package/types/src/CollapsiblePanel/docs/examples/SingleOpenPanelGroupUncontrolled.d.ts +4 -0
  127. package/types/src/CollapsiblePanel/docs/examples/Subtle.d.ts +4 -0
  128. package/types/src/Color/docs/examples/Controlled.d.ts +3 -0
  129. package/types/src/Color/docs/examples/CustomizedPalette.d.ts +4 -0
  130. package/types/src/Color/docs/examples/HideInput.d.ts +4 -0
  131. package/types/src/Color/docs/examples/Null.d.ts +4 -0
  132. package/types/src/Color/docs/examples/ThemeVariables.d.ts +4 -0
  133. package/types/src/Color/docs/examples/Transparent.d.ts +4 -0
  134. package/types/src/Color/docs/examples/Uncontrolled.d.ts +3 -0
  135. package/types/src/ColumnLayout/docs/examples/AlignItems.d.ts +4 -0
  136. package/types/src/ColumnLayout/docs/examples/Basic.d.ts +4 -0
  137. package/types/src/ColumnLayout/docs/examples/Dividers.d.ts +4 -0
  138. package/types/src/ColumnLayout/docs/examples/Gutters.d.ts +4 -0
  139. package/types/src/ComboBox/docs/examples/Controlled.d.ts +4 -0
  140. package/types/src/ComboBox/docs/examples/Fetching.d.ts +4 -0
  141. package/types/src/ComboBox/docs/examples/Headings.d.ts +3 -0
  142. package/types/src/ComboBox/docs/examples/Label.d.ts +4 -0
  143. package/types/src/ComboBox/docs/examples/Uncontrolled.d.ts +4 -0
  144. package/types/src/ControlGroup/docs/examples/Basic.d.ts +4 -0
  145. package/types/src/ControlGroup/docs/examples/CustomizedLabelTarget.d.ts +4 -0
  146. package/types/src/ControlGroup/docs/examples/Error.d.ts +4 -0
  147. package/types/src/ControlGroup/docs/examples/HelpWithErrorText.d.ts +4 -0
  148. package/types/src/ControlGroup/docs/examples/HelpWithLinks.d.ts +4 -0
  149. package/types/src/ControlGroup/docs/examples/LabelLeft.d.ts +4 -0
  150. package/types/src/ControlGroup/docs/examples/LayoutFill.d.ts +4 -0
  151. package/types/src/ControlGroup/docs/examples/LayoutFillJoin.d.ts +4 -0
  152. package/types/src/ControlGroup/docs/examples/LayoutNone.d.ts +4 -0
  153. package/types/src/ControlGroup/docs/examples/Required.d.ts +4 -0
  154. package/types/src/Date/docs/examples/Basic.d.ts +3 -0
  155. package/types/src/Date/docs/examples/Controlled.d.ts +3 -0
  156. package/types/src/Date/docs/examples/CustomDate.d.ts +4 -0
  157. package/types/src/Date/docs/examples/Disabled.d.ts +3 -0
  158. package/types/src/Date/docs/examples/Error.d.ts +3 -0
  159. package/types/src/Date/docs/examples/HighlightToday.d.ts +4 -0
  160. package/types/src/Date/docs/examples/WithoutCalendar.d.ts +4 -0
  161. package/types/src/DefinitionList/DefinitionList.d.ts +22 -4
  162. package/types/src/DefinitionList/DefinitionListContext.d.ts +2 -0
  163. package/types/src/DefinitionList/docs/examples/Basic.d.ts +3 -0
  164. package/types/src/DefinitionList/docs/examples/CustomizedWidths.d.ts +7 -0
  165. package/types/src/DefinitionList/docs/examples/EmptyDescription.d.ts +4 -0
  166. package/types/src/DefinitionList/docs/examples/WithSeparator.d.ts +4 -0
  167. package/types/src/Divider/docs/examples/Appearance.d.ts +4 -0
  168. package/types/src/Divider/docs/examples/Basic.d.ts +3 -0
  169. package/types/src/Divider/docs/examples/CustomStyle.d.ts +4 -0
  170. package/types/src/Divider/docs/examples/Decorative.d.ts +4 -0
  171. package/types/src/Divider/docs/examples/Vertical.d.ts +3 -0
  172. package/types/src/Dropdown/docs/examples/Basic.d.ts +4 -0
  173. package/types/src/Dropdown/docs/examples/BasicMenu.d.ts +3 -0
  174. package/types/src/Dropdown/docs/examples/ControlledDropdown.d.ts +4 -0
  175. package/types/src/Dropdown/docs/examples/Dialog.d.ts +4 -0
  176. package/types/src/Dropdown/docs/examples/ScrollContainer.d.ts +4 -0
  177. package/types/src/Dropdown/docs/examples/ScrollingMenu.d.ts +4 -0
  178. package/types/src/Dropdown/docs/examples/Submenu.d.ts +3 -0
  179. package/types/src/Dropdown/docs/examples/TooltipButtonToggle.d.ts +4 -0
  180. package/types/src/DualListbox/Option.d.ts +1 -1
  181. package/types/src/DualListbox/docs/examples/Basic.d.ts +3 -0
  182. package/types/src/DualListbox/docs/examples/Controlled.d.ts +3 -0
  183. package/types/src/DualListbox/docs/examples/Fill.d.ts +4 -0
  184. package/types/src/File/docs/examples/CustomizedMessages.d.ts +4 -0
  185. package/types/src/File/docs/examples/Disabled.d.ts +3 -0
  186. package/types/src/File/docs/examples/DropAnywhere.d.ts +4 -0
  187. package/types/src/File/docs/examples/Error.d.ts +4 -0
  188. package/types/src/File/docs/examples/FullScreen.d.ts +4 -0
  189. package/types/src/File/docs/examples/Multi.d.ts +4 -0
  190. package/types/src/File/docs/examples/Progress.d.ts +4 -0
  191. package/types/src/File/docs/examples/Single.d.ts +4 -0
  192. package/types/src/FormRows/docs/examples/Basic.d.ts +3 -0
  193. package/types/src/FormRows/docs/examples/Header.d.ts +4 -0
  194. package/types/src/FormRows/docs/examples/Menu.d.ts +4 -0
  195. package/types/src/FormRows/docs/examples/ReorderOnly.d.ts +4 -0
  196. package/types/src/Heading/docs/examples/Basic.d.ts +3 -0
  197. package/types/src/Heading/docs/examples/Variant.d.ts +4 -0
  198. package/types/src/Image/docs/examples/Basic.d.ts +3 -0
  199. package/types/src/JSONTree/docs/examples/Basic.d.ts +3 -0
  200. package/types/src/JSONTree/docs/examples/Events.d.ts +4 -0
  201. package/types/src/JSONTree/docs/examples/ExpandChildrenOnShiftKey.d.ts +4 -0
  202. package/types/src/Layer/docs/examples/Basic.d.ts +4 -0
  203. package/types/src/Layout/docs/examples/Basic.d.ts +3 -0
  204. package/types/src/Link/docs/examples/Basic.d.ts +4 -0
  205. package/types/src/Link/docs/examples/Disabled.d.ts +4 -0
  206. package/types/src/Link/docs/examples/NewWindow.d.ts +4 -0
  207. package/types/src/Link/docs/examples/Standalone.d.ts +4 -0
  208. package/types/src/List/docs/examples/CustomizedList.d.ts +4 -0
  209. package/types/src/List/docs/examples/OrderedList.d.ts +4 -0
  210. package/types/src/List/docs/examples/UnorderedList.d.ts +3 -0
  211. package/types/src/Markdown/docs/examples/Basic.d.ts +4 -0
  212. package/types/src/Markdown/docs/examples/I18n.d.ts +4 -0
  213. package/types/src/Menu/Item.d.ts +27 -10
  214. package/types/src/Menu/docs/examples/Adornments.d.ts +4 -0
  215. package/types/src/Menu/docs/examples/Basic.d.ts +3 -0
  216. package/types/src/Menu/docs/examples/Complex.d.ts +4 -0
  217. package/types/src/Menu/docs/examples/Descriptions.d.ts +4 -0
  218. package/types/src/Menu/docs/examples/Dimmed.d.ts +4 -0
  219. package/types/src/Menu/docs/examples/Disabled.d.ts +3 -0
  220. package/types/src/Menu/docs/examples/Dividers.d.ts +3 -0
  221. package/types/src/Menu/docs/examples/Headings.d.ts +4 -0
  222. package/types/src/Menu/docs/examples/Links.d.ts +4 -0
  223. package/types/src/Menu/docs/examples/MatchRanges.d.ts +4 -0
  224. package/types/src/Menu/docs/examples/Selectable.d.ts +4 -0
  225. package/types/src/Menu/docs/examples/SelectableWithAdornments.d.ts +4 -0
  226. package/types/src/Menu/docs/examples/Truncate.d.ts +4 -0
  227. package/types/src/Message/docs/examples/Basic.d.ts +3 -0
  228. package/types/src/Message/docs/examples/Content.d.ts +4 -0
  229. package/types/src/Message/docs/examples/Fill.d.ts +3 -0
  230. package/types/src/Message/docs/examples/Removable.d.ts +3 -0
  231. package/types/src/MessageBar/docs/examples/Basic.d.ts +4 -0
  232. package/types/src/MessageBar/docs/examples/Types.d.ts +4 -0
  233. package/types/src/MessageBar/docs/examples/WithActions.d.ts +3 -0
  234. package/types/src/Modal/Modal.d.ts +10 -3
  235. package/types/src/Modal/docs/examples/Basic.d.ts +3 -0
  236. package/types/src/Modal/docs/examples/InitialFocus.d.ts +4 -0
  237. package/types/src/Modal/docs/examples/TypicalUsage.d.ts +4 -0
  238. package/types/src/Modal/docs/examples/Undismissable.d.ts +4 -0
  239. package/types/src/Monogram/Monogram.d.ts +4 -0
  240. package/types/src/Monogram/docs/examples/BackgroundAuto.d.ts +4 -0
  241. package/types/src/Monogram/docs/examples/BackgroundCustom.d.ts +3 -0
  242. package/types/src/Monogram/docs/examples/Basic.d.ts +4 -0
  243. package/types/src/Monogram/docs/examples/Interactive.d.ts +4 -0
  244. package/types/src/Monogram/docs/examples/Size.d.ts +4 -0
  245. package/types/src/Multiselect/Compact.d.ts +1 -1
  246. package/types/src/Multiselect/Multiselect.d.ts +1 -1
  247. package/types/src/Multiselect/docs/examples/Children.d.ts +4 -0
  248. package/types/src/Multiselect/docs/examples/Compact.d.ts +4 -0
  249. package/types/src/Multiselect/docs/examples/Controlled.d.ts +3 -0
  250. package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +4 -0
  251. package/types/src/Multiselect/docs/examples/Disabled.d.ts +3 -0
  252. package/types/src/Multiselect/docs/examples/Error.d.ts +3 -0
  253. package/types/src/Multiselect/docs/examples/Fetching.d.ts +4 -0
  254. package/types/src/Multiselect/docs/examples/Headings.d.ts +3 -0
  255. package/types/src/Multiselect/docs/examples/Icons.d.ts +3 -0
  256. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -0
  257. package/types/src/Multiselect/docs/examples/NewValues.d.ts +4 -0
  258. package/types/src/Multiselect/docs/examples/TabInput.d.ts +4 -0
  259. package/types/src/Multiselect/docs/examples/Uncontrolled.d.ts +3 -0
  260. package/types/src/Number/docs/examples/Basic.d.ts +4 -0
  261. package/types/src/Number/docs/examples/Disabled.d.ts +3 -0
  262. package/types/src/Number/docs/examples/Error.d.ts +3 -0
  263. package/types/src/Number/docs/examples/Limits.d.ts +4 -0
  264. package/types/src/Number/docs/examples/Locale.d.ts +4 -0
  265. package/types/src/Number/docs/examples/Uncontrolled.d.ts +4 -0
  266. package/types/src/Paginator/docs/examples/Basic.d.ts +3 -0
  267. package/types/src/Paginator/docs/examples/Compact.d.ts +4 -0
  268. package/types/src/Paginator/docs/examples/CompactCustomLabel.d.ts +3 -0
  269. package/types/src/Paginator/docs/examples/CompactWithLabel.d.ts +3 -0
  270. package/types/src/Paginator/docs/examples/CustomPages.d.ts +4 -0
  271. package/types/src/Paginator/docs/examples/Labelled.d.ts +4 -0
  272. package/types/src/Paginator/docs/examples/PageControl.d.ts +4 -0
  273. package/types/src/Paragraph/docs/examples/Basic.d.ts +4 -0
  274. package/types/src/Popover/PopoverProvider.d.ts +9 -1
  275. package/types/src/Popover/docs/examples/Basic.d.ts +4 -0
  276. package/types/src/Progress/docs/examples/Basic.d.ts +3 -0
  277. package/types/src/Progress/docs/examples/Type.d.ts +3 -0
  278. package/types/src/Prose/docs/examples/Basic.d.ts +3 -0
  279. package/types/src/Prose/docs/examples/Customize.d.ts +4 -0
  280. package/types/src/RadioBar/docs/examples/AdornmentAriaExamples.d.ts +5 -0
  281. package/types/src/RadioBar/docs/examples/Basic.d.ts +3 -0
  282. package/types/src/RadioBar/docs/examples/Disabled.d.ts +4 -0
  283. package/types/src/RadioBar/docs/examples/Error.d.ts +3 -0
  284. package/types/src/RadioBar/docs/examples/MenuBar.d.ts +4 -0
  285. package/types/src/RadioBar/docs/examples/Uncontrolled.d.ts +3 -0
  286. package/types/src/RadioList/docs/examples/Basic.d.ts +4 -0
  287. package/types/src/RadioList/docs/examples/Disabled.d.ts +3 -0
  288. package/types/src/RadioList/docs/examples/Error.d.ts +3 -0
  289. package/types/src/RadioList/docs/examples/Row.d.ts +3 -0
  290. package/types/src/RadioList/docs/examples/Uncontrolled.d.ts +4 -0
  291. package/types/src/Resize/docs/examples/Appearance.d.ts +4 -0
  292. package/types/src/Resize/docs/examples/Basic.d.ts +4 -0
  293. package/types/src/Resize/docs/examples/Percentage.d.ts +4 -0
  294. package/types/src/Resize/docs/examples/SizingInner.d.ts +4 -0
  295. package/types/src/Resize/docs/examples/SizingOuter.d.ts +4 -0
  296. package/types/src/ScreenReaderContent/docs/examples/Basic.d.ts +4 -0
  297. package/types/src/ScreenReaderContent/docs/examples/SkipLink.d.ts +4 -0
  298. package/types/src/Scroll/docs/examples/Controlled.d.ts +4 -0
  299. package/types/src/Scroll/docs/examples/Uncontrolled.d.ts +4 -0
  300. package/types/src/ScrollContainerContext/docs/examples/Provider.d.ts +4 -0
  301. package/types/src/Search/docs/examples/Controlled.d.ts +4 -0
  302. package/types/src/Search/docs/examples/Loading.d.ts +4 -0
  303. package/types/src/Search/docs/examples/Options.d.ts +4 -0
  304. package/types/src/Search/docs/examples/OptionsLinks.d.ts +4 -0
  305. package/types/src/Select/SelectAllOption.d.ts +5 -10
  306. package/types/src/Select/SelectBase.d.ts +1 -1
  307. package/types/src/Select/docs/examples/Appearance.d.ts +4 -0
  308. package/types/src/Select/docs/examples/Basic.d.ts +4 -0
  309. package/types/src/Select/docs/examples/Children.d.ts +4 -0
  310. package/types/src/Select/docs/examples/Descriptions.d.ts +4 -0
  311. package/types/src/Select/docs/examples/Error.d.ts +3 -0
  312. package/types/src/Select/docs/examples/Fetching.d.ts +4 -0
  313. package/types/src/Select/docs/examples/Filter.d.ts +4 -0
  314. package/types/src/Select/docs/examples/Headings.d.ts +3 -0
  315. package/types/src/Select/docs/examples/Icons.d.ts +3 -0
  316. package/types/src/Select/docs/examples/LoadMoreOnScrollBottom.d.ts +4 -0
  317. package/types/src/Select/docs/examples/Prefix.d.ts +4 -0
  318. package/types/src/Select/docs/examples/Truncate.d.ts +4 -0
  319. package/types/src/Select/docs/examples/Uncontrolled.d.ts +4 -0
  320. package/types/src/SidePanel/docs/examples/Basic.d.ts +4 -0
  321. package/types/src/SidePanel/docs/examples/ChangeSize.d.ts +3 -0
  322. package/types/src/SidePanel/docs/examples/Composition.d.ts +4 -0
  323. package/types/src/Slider/docs/examples/Basic.d.ts +3 -0
  324. package/types/src/Slider/docs/examples/Controlled.d.ts +4 -0
  325. package/types/src/Slider/docs/examples/CustomLabels.d.ts +4 -0
  326. package/types/src/Slider/docs/examples/Disabled.d.ts +3 -0
  327. package/types/src/Slider/docs/examples/Error.d.ts +3 -0
  328. package/types/src/Slider/docs/examples/StepMarks.d.ts +4 -0
  329. package/types/src/SlidingPanels/docs/examples/Basic.d.ts +3 -0
  330. package/types/src/SlidingPanels/docs/examples/Dropdown.d.ts +3 -0
  331. package/types/src/SlidingPanels/docs/examples/Modal.d.ts +3 -0
  332. package/types/src/SplitButton/SplitButton.d.ts +6 -1
  333. package/types/src/SplitButton/docs/examples/Basic.d.ts +3 -0
  334. package/types/src/SplitButton/docs/examples/Block.d.ts +4 -0
  335. package/types/src/SplitButton/docs/examples/ChangeLabel.d.ts +4 -0
  336. package/types/src/SplitButton/docs/examples/Disabled.d.ts +3 -0
  337. package/types/src/StaticContent/docs/examples/Basic.d.ts +4 -0
  338. package/types/src/StaticContent/docs/examples/FieldValue.d.ts +4 -0
  339. package/types/src/StepBar/docs/examples/Basic.d.ts +3 -0
  340. package/types/src/StepBar/docs/examples/Error.d.ts +3 -0
  341. package/types/src/Switch/docs/examples/Basic.d.ts +4 -0
  342. package/types/src/Switch/docs/examples/Disabled.d.ts +3 -0
  343. package/types/src/Switch/docs/examples/Error.d.ts +3 -0
  344. package/types/src/TabBar/docs/examples/Basic.d.ts +3 -0
  345. package/types/src/TabBar/docs/examples/Disabled.d.ts +3 -0
  346. package/types/src/TabBar/docs/examples/Icons.d.ts +3 -0
  347. package/types/src/TabBar/docs/examples/Tooltips.d.ts +3 -0
  348. package/types/src/TabBar/docs/examples/Vertical.d.ts +3 -0
  349. package/types/src/TabBar/docs/examples/VerticalIcons.d.ts +3 -0
  350. package/types/src/TabBar/docs/examples/WithCount.d.ts +3 -0
  351. package/types/src/TabBar/tabBarUtils.d.ts +4 -0
  352. package/types/src/TabBar/types.d.ts +5 -0
  353. package/types/src/TabLayout/docs/examples/AutoActivate.d.ts +4 -0
  354. package/types/src/TabLayout/docs/examples/Controlled.d.ts +4 -0
  355. package/types/src/TabLayout/docs/examples/Icons.d.ts +3 -0
  356. package/types/src/TabLayout/docs/examples/Uncontrolled.d.ts +3 -0
  357. package/types/src/TabLayout/docs/examples/Vertical.d.ts +3 -0
  358. package/types/src/TabLayout/docs/examples/VerticalIcons.d.ts +3 -0
  359. package/types/src/Table/docs/examples/Basic.d.ts +3 -0
  360. package/types/src/Table/docs/examples/Click.d.ts +4 -0
  361. package/types/src/Table/docs/examples/ClickRows.d.ts +4 -0
  362. package/types/src/Table/docs/examples/Complex.d.ts +4 -0
  363. package/types/src/Table/docs/examples/DockedHeaderScrollbar.d.ts +4 -0
  364. package/types/src/Table/docs/examples/FilterColumnValues.d.ts +4 -0
  365. package/types/src/Table/docs/examples/FixedHeader.d.ts +4 -0
  366. package/types/src/Table/docs/examples/HeadDropdownCell.d.ts +4 -0
  367. package/types/src/Table/docs/examples/ReorderColumns.d.ts +4 -0
  368. package/types/src/Table/docs/examples/ReorderRows.d.ts +4 -0
  369. package/types/src/Table/docs/examples/Resizable.d.ts +4 -0
  370. package/types/src/Table/docs/examples/ResizableFill.d.ts +4 -0
  371. package/types/src/Table/docs/examples/RowActions.d.ts +4 -0
  372. package/types/src/Table/docs/examples/Selectable.d.ts +4 -0
  373. package/types/src/Table/docs/examples/SortableColumns.d.ts +4 -0
  374. package/types/src/Table/docs/examples/StripeRows.d.ts +3 -0
  375. package/types/src/Text/docs/examples/Basic.d.ts +4 -0
  376. package/types/src/Text/docs/examples/CustomizedIcon.d.ts +4 -0
  377. package/types/src/Text/docs/examples/Dimmed.d.ts +4 -0
  378. package/types/src/Text/docs/examples/Disabled.d.ts +4 -0
  379. package/types/src/Text/docs/examples/Error.d.ts +4 -0
  380. package/types/src/Text/docs/examples/Inline.d.ts +4 -0
  381. package/types/src/Text/docs/examples/Password.d.ts +4 -0
  382. package/types/src/Text/docs/examples/Uncontrolled.d.ts +4 -0
  383. package/types/src/TextArea/docs/examples/Basic.d.ts +4 -0
  384. package/types/src/TextArea/docs/examples/Disabled.d.ts +3 -0
  385. package/types/src/TextArea/docs/examples/Error.d.ts +4 -0
  386. package/types/src/TextArea/docs/examples/Inline.d.ts +4 -0
  387. package/types/src/TextArea/docs/examples/Uncontrolled.d.ts +4 -0
  388. package/types/src/Tooltip/docs/examples/Basic.d.ts +4 -0
  389. package/types/src/Tooltip/docs/examples/ContentRelationship.d.ts +4 -0
  390. package/types/src/Tooltip/docs/examples/Controlled.d.ts +4 -0
  391. package/types/src/Tooltip/docs/examples/CustomDelay.d.ts +4 -0
  392. package/types/src/Tooltip/docs/examples/CustomProps.d.ts +4 -0
  393. package/types/src/Tooltip/docs/examples/Toggletip.d.ts +4 -0
  394. package/types/src/TransitionOpen/docs/examples/ExpandHeight.d.ts +3 -0
  395. package/types/src/TransitionOpen/docs/examples/ExpandWidth.d.ts +3 -0
  396. package/types/src/TransitionOpen/docs/examples/None.d.ts +4 -0
  397. package/types/src/TransitionOpen/docs/examples/SlideFromBottom.d.ts +4 -0
  398. package/types/src/TransitionOpen/docs/examples/SlideFromLeft.d.ts +4 -0
  399. package/types/src/TransitionOpen/docs/examples/SlideFromRight.d.ts +4 -0
  400. package/types/src/TransitionOpen/docs/examples/SlideFromTop.d.ts +4 -0
  401. package/types/src/Tree/Item.d.ts +4 -4
  402. package/types/src/Tree/docs/examples/Basic.d.ts +5 -0
  403. package/types/src/Tree/docs/examples/ClickableExpansion.d.ts +2 -0
  404. package/types/src/Tree/docs/examples/ClickableExpansionWithSelection.d.ts +2 -0
  405. package/types/src/Typography/docs/examples/Basic.d.ts +4 -0
  406. package/types/src/WaitSpinner/docs/examples/Basic.d.ts +3 -0
  407. package/useResizeObserver.js +2 -2
  408. package/types/src/DefinitionList/docs/examples/Customize.d.ts +0 -3
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Controlled
4
+ */
2
5
  declare function Controlled(): React.JSX.Element;
3
6
  export default Controlled;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Customize selected Options
4
+ * @description It's possible to customize the appearance of selected Options.
5
+ */
2
6
  declare function CustomizeSelected(): React.JSX.Element;
3
7
  export default CustomizeSelected;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Disabled
4
+ */
2
5
  declare function Disabled(): React.JSX.Element;
3
6
  export default Disabled;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Error
4
+ */
2
5
  declare function MultiselectError(): React.JSX.Element;
3
6
  export default MultiselectError;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Fetching
4
+ * @description It's possible to populate the Options from a server. Here, that behavior is simulated. This simplified example only matches the start of the label. The matchRange prop may be set manually to reflect the matching algorithm used to filter the results. Otherwise matching text is not shown.
5
+ */
2
6
  declare function Fetching(): React.JSX.Element;
3
7
  export default Fetching;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Headings
4
+ */
2
5
  declare function Headings(): React.JSX.Element;
3
6
  export default Headings;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Icons
4
+ */
2
5
  declare function Icons(): React.JSX.Element;
3
6
  export default Icons;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Load more on scroll bottom
4
+ * @description Similar example as fetching but it's also possible to append more Options from a server when the list is scrolled to the bottom. Here, that behavior is simulated. The onScrollBottom prop is a function that should fetch more results and append them to the current Options. Once all items are loaded, the onScrollBottom prop should be set to null.
5
+ */
2
6
  declare function LoadMoreOnScrollBottom(): React.JSX.Element;
3
7
  export default LoadMoreOnScrollBottom;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name New values
4
+ * @description Optionally, users can be allowed to add arbitrary values.
5
+ */
2
6
  declare function NewValues(): React.JSX.Element;
3
7
  export default NewValues;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Tab to confirm new value
4
+ * @description If a new value is entered and there are no other Options available, pressing the Tab key will confirm the new value.
5
+ */
2
6
  declare function TabInput(): React.JSX.Element;
3
7
  export default TabInput;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Uncontrolled
4
+ */
2
5
  declare function Uncontrolled(): React.JSX.Element;
3
6
  export default Uncontrolled;
@@ -1,5 +1,9 @@
1
1
  import React, { Component } from 'react';
2
2
  import { NumberChangeHandler } from '@splunk/react-ui/Number';
3
+ /**
4
+ * @name Controlled
5
+ * @description Number requires a value prop and an onChange callback to update the value prop for most use cases. Set value to null.
6
+ */
3
7
  declare class Basic extends Component<object, {
4
8
  value?: number;
5
9
  }> {
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Disabled
4
+ */
2
5
  declare function Disabled(): React.JSX.Element;
3
6
  export default Disabled;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Error
4
+ */
2
5
  declare function NumberError(): React.JSX.Element;
3
6
  export default NumberError;
@@ -1,5 +1,9 @@
1
1
  import React, { Component } from 'react';
2
2
  import { NumberChangeHandler } from '@splunk/react-ui/Number';
3
+ /**
4
+ * @name Limits
5
+ * @description Number accepts min, max, step, and roundTo props.
6
+ */
3
7
  declare class Limits extends Component<object, {
4
8
  value?: number;
5
9
  }> {
@@ -1,5 +1,9 @@
1
1
  import React, { Component } from 'react';
2
2
  import { NumberChangeHandler } from '@splunk/react-ui/Number';
3
+ /**
4
+ * @name Locale
5
+ * @description A locale can be included which may change the decimal separator to a comma.
6
+ */
3
7
  declare class Locale extends Component<object, {
4
8
  value?: number;
5
9
  }> {
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Uncontrolled
4
+ * @description Alternately, Number can be uncontrolled and optionally provided a defaultValue. The onChange callback still fires. The value prop cannot be set or updated externally.
5
+ */
2
6
  declare function Uncontrolled(): React.JSX.Element;
3
7
  export default Uncontrolled;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Basic
4
+ */
2
5
  declare function Basic(): React.JSX.Element;
3
6
  export default Basic;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Compact
4
+ * @description A Paginator control with buttons only.
5
+ */
2
6
  declare function Compact(): React.JSX.Element;
3
7
  export default Compact;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Compact with custom label
4
+ */
2
5
  declare function CompactCustomLabel(): React.JSX.Element;
3
6
  export default CompactCustomLabel;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Compact with label
4
+ */
2
5
  declare function CompactWithLabel(): React.JSX.Element;
3
6
  export default CompactWithLabel;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Custom pages
4
+ * @description Customize Paginator's pages and Prev/Next buttons with generatePageProps.
5
+ */
2
6
  declare function CustomPages(): React.JSX.Element;
3
7
  export default CustomPages;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Labelled
4
+ * @description When possible, a Paginator should use aria-labelledby or aria-label to provide an accessible label describing the content that is being paginated.
5
+ */
2
6
  declare function Labelled(): React.JSX.Element;
3
7
  export default Labelled;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Page control
4
+ * @description A Paginator control that allows any page to be selected.
5
+ */
2
6
  declare function PageControl(): React.JSX.Element;
3
7
  export default PageControl;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Basic
4
+ * @description Paragraph provides default fonts, line heights, and spacing. Margins can be removed when necessary.
5
+ */
2
6
  declare function Basic(): React.JSX.Element;
3
7
  export default Basic;
@@ -1,6 +1,12 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  interface PopoverContextProps {
4
+ /**
5
+ * @private
6
+ *
7
+ * If set, Popover will not call `stopPropagation` on click events.
8
+ */
9
+ allowPropagation?: boolean;
4
10
  children?: React.ReactNode;
5
11
  /**
6
12
  * Whether or not to hide the arrow pointing to the `Popover` anchor.
@@ -14,8 +20,10 @@ declare const PopoverContext: React.Context<PopoverContextProps>;
14
20
  * Provides a method for controlling certain `Popover` props in components that use `Popover`.
15
21
  */
16
22
  declare const PopoverProvider: {
17
- ({ children, hideArrow }: PopoverContextProps): React.JSX.Element;
23
+ ({ allowPropagation, children, hideArrow }: PopoverContextProps): React.JSX.Element;
18
24
  propTypes: {
25
+ /** @private */
26
+ allowPropagation: PropTypes.Requireable<boolean>;
19
27
  children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
20
28
  hideArrow: PropTypes.Requireable<boolean>;
21
29
  };
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Basic
4
+ * @description Click the button to view the Popover.
5
+ */
2
6
  declare function Example(): React.JSX.Element;
3
7
  export default Example;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Basic
4
+ */
2
5
  declare function Example(): React.JSX.Element;
3
6
  export default Example;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Type
4
+ */
2
5
  declare function Type(): React.JSX.Element;
3
6
  export default Type;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Basic Example
4
+ */
2
5
  declare function Basic(): React.JSX.Element;
3
6
  export default Basic;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Customize
4
+ * @description Content elements can be styled while still retaining the prose styling
5
+ */
2
6
  declare function Customize(): React.JSX.Element;
3
7
  export default Customize;
@@ -1,3 +1,8 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Adornments using aria-* attributes
4
+ * @description startAdornment and endAdornment will be part of the Options' label by default.
5
+ * Change the semantics of adornments where they are not labels using the `aria-*` attributes: aria-labelledby, aria-describedby, aria-hidden.
6
+ */
2
7
  declare function AdornmentAriaExamples(): React.JSX.Element;
3
8
  export default AdornmentAriaExamples;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Controlled
4
+ */
2
5
  declare function Basic(): React.JSX.Element;
3
6
  export default Basic;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Disabled
4
+ * @description Either the entire RadioBar or individual Options can be disabled using the disabled prop. When set on the RadioBar, this overrides any individual Option disabled states.
5
+ */
2
6
  declare function Disabled(): React.JSX.Element;
3
7
  export default Disabled;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Error
4
+ */
2
5
  declare function RadioBarError(): React.JSX.Element;
3
6
  export default RadioBarError;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Menu bar
4
+ * @description Radio Bar can be used outside of a form context to behave like a menu bar by setting role="menubar"
5
+ */
2
6
  declare function MenuBar(): React.JSX.Element;
3
7
  export default MenuBar;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Uncontrolled
4
+ */
2
5
  declare function Uncontrolled(): React.JSX.Element;
3
6
  export default Uncontrolled;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Controlled
4
+ * @description Radio List requires a value prop and an onChange callback to update the value prop for most use cases.
5
+ */
2
6
  declare function Basic(): React.JSX.Element;
3
7
  export default Basic;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Disabled
4
+ */
2
5
  declare function Disabled(): React.JSX.Element;
3
6
  export default Disabled;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Error
4
+ */
2
5
  declare function RadioListError(): React.JSX.Element;
3
6
  export default RadioListError;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Row layout
4
+ */
2
5
  declare function Row(): React.JSX.Element;
3
6
  export default Row;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Uncontrolled
4
+ * @description Alternately, Radio List can be uncontrolled and optionally provided a defaultValue. The onChange callback still fires. The value prop cannot be set or updated externally.
5
+ */
2
6
  declare function Uncontrolled(): React.JSX.Element;
3
7
  export default Uncontrolled;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Appearance
4
+ * @description Resize handles can be placed on any edge or corner. Note that margin cannot be overridden when using the "border" appearance.
5
+ */
2
6
  declare function Appearance(): React.JSX.Element;
3
7
  export default Appearance;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Basic
4
+ * @description The onRequestResize handler must handle any desired constraints on size.
5
+ */
2
6
  declare function Basic(): React.JSX.Element;
3
7
  export default Basic;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Percentage
4
+ * @description Sizes don't need to be defined in pixels or with height and width styles. Here, flex-basis is calculated as a percentage.
5
+ */
2
6
  declare function Percentage(): React.JSX.Element;
3
7
  export default Percentage;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Sizing inner
4
+ * @description In this example, styles are placed on the inner content.
5
+ */
2
6
  declare function SizingInner(): React.JSX.Element;
3
7
  export default SizingInner;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Sizing outer
4
+ * @description Resize does not dictate how it is sized. In this example, styles are placed on an outer container.
5
+ */
2
6
  declare function SizingOuter(): React.JSX.Element;
3
7
  export default SizingOuter;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Basic
4
+ * @description Click 'Show Code' to view the hidden Screen Reader Content.
5
+ */
2
6
  declare function Basic(): React.JSX.Element;
3
7
  export default Basic;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Skip-link
4
+ * @description For initially hidden interactive content, such as skip-links, use the skipLink mixin.
5
+ */
2
6
  declare function SkipLink(): React.JSX.Element;
3
7
  export default SkipLink;
@@ -1,4 +1,8 @@
1
1
  import React, { Component } from 'react';
2
+ /**
3
+ * @name Controlled
4
+ * @description The controlled method must be used to set the Scroll position.
5
+ */
2
6
  declare class Basic extends Component<object, {
3
7
  top?: number;
4
8
  }> {
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Uncontrolled with scroll propagation
4
+ * @description The uncontrolled approach is useful for stopping propagation of the Scroll. Here, scrolling with the mouse wheel over the container does not scroll the window.
5
+ */
2
6
  declare function Uncontrolled(): React.JSX.Element;
3
7
  export default Uncontrolled;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Provider
4
+ * @description A Dropdown inside a custom Scroll Container. The Dropdown (when open) scrolls with the custom container, not the window.
5
+ */
2
6
  declare function Provider(): React.JSX.Element;
3
7
  export default Provider;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Controlled
4
+ * @description The Search component can be used as both uncontrolled default variant and as a controlled variant. In this example we show the controlled variant.
5
+ */
2
6
  declare const Controlled: () => React.JSX.Element;
3
7
  export default Controlled;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Asynchronously loaded options
4
+ * @description The Search component's quick Options can be loaded asynchronously. In this example we show the input paired with asycnchrously loaded and filtered Options.
5
+ */
2
6
  declare function Loading(): React.JSX.Element;
3
7
  export default Loading;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Quick options
4
+ * @description The Search component can be populated with quick Options. In this example the user can select a quick Option or search via the input, but the Options are not filtered.
5
+ */
2
6
  declare const Options: () => React.JSX.Element;
3
7
  export default Options;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Options as links
4
+ * @description The option on a list of results of search can be a link redirecting to a product page
5
+ */
2
6
  declare const OptionsLinks: () => React.JSX.Element;
3
7
  export default OptionsLinks;
@@ -1,17 +1,12 @@
1
1
  import React from 'react';
2
+ import OptionBase from './OptionBase';
2
3
  import { ComponentProps } from '../utils/types';
3
- interface SelectAllOptionPropsBase {
4
- active?: boolean;
5
- changedToggle?: boolean;
6
- elementRef?: React.Ref<HTMLAnchorElement | HTMLButtonElement>;
7
- id?: string;
8
- onClick: (e: React.MouseEvent<HTMLButtonElement> | React.KeyboardEvent<HTMLInputElement>) => void;
9
- selectAllLabel: string;
10
- selected?: boolean | 'some';
4
+ interface SelectAllOptionPropsBase extends Omit<React.ComponentProps<typeof OptionBase>, 'value'> {
11
5
  totalCount?: number;
6
+ value?: string;
12
7
  }
13
- type SelectAllOptionProps = ComponentProps<SelectAllOptionPropsBase, 'div'>;
14
- declare function SelectAllOption({ active, elementRef, id, onClick, selectAllLabel, totalCount, changedToggle, selected, }: SelectAllOptionProps): React.JSX.Element;
8
+ type SelectAllOptionProps = ComponentProps<SelectAllOptionPropsBase, 'button'>;
9
+ declare function SelectAllOption({ active, elementRef, id, label, onClick, selected, totalCount, value, ...otherProps }: SelectAllOptionProps): React.JSX.Element;
15
10
  declare namespace SelectAllOption {
16
11
  var propTypes: React.WeakValidationMap<SelectAllOptionPropsBase>;
17
12
  }
@@ -164,7 +164,7 @@ interface SelectBasePropsBase {
164
164
  /**
165
165
  * Determines how to display Select all/Clear all.
166
166
  */
167
- selectAllAppearance?: 'buttongroup' | 'checkbox';
167
+ selectAllAppearance?: 'buttongroup' | 'checkbox' | 'none';
168
168
  showSelectedValuesFirst?: 'nextOpen' | 'immediately' | 'never';
169
169
  /**
170
170
  * Places this string after the selected label.
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Appearance
4
+ * @description The appearance prop changes the toggle to any button appearance, or a link for use in sentences.
5
+ */
2
6
  declare function Appearance(): React.JSX.Element;
3
7
  export default Appearance;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Controlled
4
+ * @description Select requires a value prop and an onChange callback to update the value prop for most use cases.
5
+ */
2
6
  declare function Basic(): React.JSX.Element;
3
7
  export default Basic;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Children
4
+ * @description children replace label when provided. label is still used for matching to the filter.
5
+ */
2
6
  declare function Children(): React.JSX.Element;
3
7
  export default Children;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Descriptions
4
+ * @description Descriptions can be placed below or to the right of the label.
5
+ */
2
6
  declare function Descriptions(): React.JSX.Element;
3
7
  export default Descriptions;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Error
4
+ */
2
5
  declare function SelectError(): React.JSX.Element;
3
6
  export default SelectError;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Fetching
4
+ * @description It's possible to populate the Options from a server. Here, that behavior is simulated. This simplified example only matches the start of the label. The matchRange prop may be set manually to reflect the matching algorithm used to filter the results. Otherwise matching text is not shown.
5
+ */
2
6
  declare function Fetching(): React.JSX.Element;
3
7
  export default Fetching;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Filter select items
4
+ * @description An additional filter box can be enabled.
5
+ */
2
6
  declare function Filter(): React.JSX.Element;
3
7
  export default Filter;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Headings and dividers
4
+ */
2
5
  declare function Headings(): React.JSX.Element;
3
6
  export default Headings;
@@ -1,3 +1,6 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Icons
4
+ */
2
5
  declare function Icons(): React.JSX.Element;
3
6
  export default Icons;
@@ -1,3 +1,7 @@
1
1
  import React from 'react';
2
+ /**
3
+ * @name Load more on scroll bottom
4
+ * @description This example is similar to the example for fetching. You can append more Options from a server when the list is scrolled to the bottom. Here, that behavior is simulated. The onScrollBottom prop is a function that should fetches more results and appends them to the current Options. Once all items are loaded, the onScrollBottom prop should be set to null.
5
+ */
2
6
  declare function LoadMoreOnScrollBottom(): React.JSX.Element;
3
7
  export default LoadMoreOnScrollBottom;