@carbon/react 1.2.0 → 1.3.0-rc.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 (662) hide show
  1. package/es/_virtual/ResizeObserver.es.js +1 -1
  2. package/es/_virtual/_commonjsHelpers.js +1 -1
  3. package/es/_virtual/_rollupPluginBabelHelpers.js +1 -1
  4. package/es/_virtual/index.js +1 -1
  5. package/es/_virtual/rangePlugin.js +1 -1
  6. package/es/components/Accordion/Accordion.Skeleton.js +1 -1
  7. package/es/components/Accordion/Accordion.js +1 -1
  8. package/es/components/Accordion/AccordionItem.js +1 -1
  9. package/es/components/Accordion/index.js +1 -1
  10. package/es/components/AccordionItem/index.js +1 -1
  11. package/es/components/AspectRatio/AspectRatio.js +1 -1
  12. package/es/components/Breadcrumb/Breadcrumb.Skeleton.js +1 -1
  13. package/es/components/Breadcrumb/Breadcrumb.js +1 -1
  14. package/es/components/Breadcrumb/BreadcrumbItem.js +1 -1
  15. package/es/components/Button/Button.Skeleton.js +1 -1
  16. package/es/components/Button/Button.js +1 -1
  17. package/es/components/ButtonSet/ButtonSet.js +1 -1
  18. package/es/components/Checkbox/Checkbox.Skeleton.js +1 -1
  19. package/es/components/Checkbox/Checkbox.js +1 -1
  20. package/es/components/ClassPrefix/index.js +1 -1
  21. package/es/components/CodeSnippet/CodeSnippet.Skeleton.js +1 -1
  22. package/es/components/CodeSnippet/CodeSnippet.js +2 -2
  23. package/es/components/ComboBox/ComboBox.js +1 -1
  24. package/es/components/ComboBox/tools/filter.js +1 -1
  25. package/es/components/ComposedModal/ComposedModal.js +1 -1
  26. package/es/components/ComposedModal/index.js +1 -1
  27. package/es/components/ComposedModal/next/ComposedModal.js +1 -1
  28. package/es/components/ComposedModal/next/ModalFooter.js +1 -1
  29. package/es/components/ComposedModal/next/ModalHeader.js +1 -1
  30. package/es/components/ContentSwitcher/ContentSwitcher.js +1 -1
  31. package/es/components/ContentSwitcher/index.js +1 -1
  32. package/es/components/ContextMenu/useContextMenu.js +1 -1
  33. package/es/components/Copy/Copy.js +1 -1
  34. package/es/components/CopyButton/CopyButton.js +1 -1
  35. package/es/components/DangerButton/DangerButton.js +1 -1
  36. package/es/components/DataTable/DataTable.js +1 -1
  37. package/es/components/DataTable/Table.js +1 -1
  38. package/es/components/DataTable/TableActionList.js +1 -1
  39. package/es/components/DataTable/TableBatchAction.js +1 -1
  40. package/es/components/DataTable/TableBatchActions.js +1 -1
  41. package/es/components/DataTable/TableBody.js +1 -1
  42. package/es/components/DataTable/TableCell.js +1 -1
  43. package/es/components/DataTable/TableContainer.js +1 -1
  44. package/es/components/DataTable/TableExpandHeader.js +1 -1
  45. package/es/components/DataTable/TableExpandRow.js +1 -1
  46. package/es/components/DataTable/TableExpandedRow.js +1 -1
  47. package/es/components/DataTable/TableHead.js +1 -1
  48. package/es/components/DataTable/TableHeader.js +1 -1
  49. package/es/components/DataTable/TableRow.js +1 -1
  50. package/es/components/DataTable/TableSelectAll.js +1 -1
  51. package/es/components/DataTable/TableSelectRow.js +1 -1
  52. package/es/components/DataTable/TableToolbar.js +1 -1
  53. package/es/components/DataTable/TableToolbarAction.js +1 -1
  54. package/es/components/DataTable/TableToolbarContent.js +1 -1
  55. package/es/components/DataTable/TableToolbarMenu.js +1 -1
  56. package/es/components/DataTable/TableToolbarSearch.js +1 -1
  57. package/es/components/DataTable/index.js +1 -1
  58. package/es/components/DataTable/state/getDerivedStateFromProps.js +1 -1
  59. package/es/components/DataTable/state/sortStates.js +1 -1
  60. package/es/components/DataTable/state/sorting.js +1 -1
  61. package/es/components/DataTable/tools/cells.js +1 -1
  62. package/es/components/DataTable/tools/denormalize.js +1 -1
  63. package/es/components/DataTable/tools/filter.js +1 -1
  64. package/es/components/DataTable/tools/instanceId.js +1 -1
  65. package/es/components/DataTable/tools/normalize.js +1 -1
  66. package/es/components/DataTable/tools/sorting.js +1 -1
  67. package/es/components/DataTableSkeleton/DataTableSkeleton.js +1 -1
  68. package/es/components/DatePicker/DatePicker.Skeleton.js +1 -1
  69. package/es/components/DatePicker/DatePicker.js +1 -1
  70. package/es/components/DatePicker/index.js +1 -1
  71. package/es/components/DatePicker/next/DatePicker.js +1 -1
  72. package/es/components/DatePicker/plugins/appendToPlugin.js +1 -1
  73. package/es/components/DatePicker/plugins/fixEventsPlugin.js +1 -1
  74. package/es/components/DatePicker/plugins/rangePlugin.js +1 -1
  75. package/es/components/DatePickerInput/DatePickerInput.js +1 -1
  76. package/es/components/DatePickerInput/index.js +1 -1
  77. package/es/components/DatePickerInput/next/DatePickerInput.js +1 -1
  78. package/es/components/Dropdown/Dropdown.Skeleton.js +1 -1
  79. package/es/components/Dropdown/Dropdown.js +1 -1
  80. package/es/components/ErrorBoundary/ErrorBoundary.js +1 -1
  81. package/es/components/ErrorBoundary/ErrorBoundaryContext.js +1 -1
  82. package/es/components/ExpandableSearch/ExpandableSearch.js +1 -1
  83. package/es/components/ExpandableSearch/index.js +1 -1
  84. package/es/components/FeatureFlags/index.js +1 -1
  85. package/es/components/FileUploader/FileUploader.Skeleton.js +1 -1
  86. package/es/components/FileUploader/FileUploader.js +1 -1
  87. package/es/components/FileUploader/FileUploaderButton.js +1 -1
  88. package/es/components/FileUploader/FileUploaderDropContainer.js +1 -1
  89. package/es/components/FileUploader/FileUploaderItem.js +1 -1
  90. package/es/components/FileUploader/Filename.js +1 -1
  91. package/es/components/FileUploader/index.js +1 -1
  92. package/es/components/FluidForm/FluidForm.js +1 -1
  93. package/es/components/FluidForm/FormContext.js +1 -1
  94. package/es/components/Form/Form.js +1 -1
  95. package/es/components/FormGroup/FormGroup.js +1 -1
  96. package/es/components/FormItem/FormItem.js +1 -1
  97. package/es/components/FormLabel/FormLabel.js +1 -1
  98. package/es/components/Grid/CSSGrid.js +1 -1
  99. package/es/components/Grid/Column.js +1 -1
  100. package/es/components/Grid/ColumnHang.js +1 -1
  101. package/es/components/Grid/FlexGrid.js +1 -1
  102. package/es/components/Grid/Grid.js +1 -1
  103. package/es/components/Grid/GridContext.js +1 -1
  104. package/es/components/Grid/Row.js +1 -1
  105. package/es/components/Heading/index.js +1 -1
  106. package/es/components/Icon/Icon.Skeleton.js +1 -1
  107. package/es/components/IconButton/index.js +12 -4
  108. package/es/components/InlineCheckbox/InlineCheckbox.js +1 -1
  109. package/es/components/InlineLoading/InlineLoading.js +1 -1
  110. package/es/components/Layer/LayerContext.js +1 -1
  111. package/es/components/Layer/index.js +1 -1
  112. package/es/components/Link/Link.js +1 -1
  113. package/es/components/ListBox/ListBox.js +1 -1
  114. package/es/components/ListBox/ListBoxField.js +1 -1
  115. package/es/components/ListBox/ListBoxMenu.js +1 -1
  116. package/es/components/ListBox/ListBoxMenuIcon.js +1 -1
  117. package/es/components/ListBox/ListBoxMenuItem.js +1 -1
  118. package/es/components/ListBox/ListBoxPropTypes.js +1 -1
  119. package/es/components/ListBox/ListBoxSelection.js +1 -1
  120. package/es/components/ListBox/index.js +1 -1
  121. package/es/components/ListBox/next/ListBoxSelection.js +1 -1
  122. package/es/components/ListBox/next/ListBoxTrigger.js +1 -1
  123. package/es/components/ListItem/ListItem.js +1 -1
  124. package/es/components/Loading/Loading.js +1 -1
  125. package/es/components/Menu/Menu.js +1 -1
  126. package/es/components/Menu/MenuDivider.js +1 -1
  127. package/es/components/Menu/MenuGroup.js +1 -1
  128. package/es/components/Menu/MenuItem.js +1 -1
  129. package/es/components/Menu/MenuOption.js +1 -1
  130. package/es/components/Menu/MenuRadioGroup.js +1 -1
  131. package/es/components/Menu/MenuRadioGroupOptions.js +1 -1
  132. package/es/components/Menu/MenuSelectableItem.js +1 -1
  133. package/es/components/Menu/_utils.js +1 -1
  134. package/es/components/Menu/index.js +1 -1
  135. package/es/components/Modal/Modal.js +1 -1
  136. package/es/components/Modal/index.js +1 -1
  137. package/es/components/Modal/next/Modal.js +1 -1
  138. package/es/components/ModalWrapper/ModalWrapper.js +1 -1
  139. package/es/components/MultiSelect/FilterableMultiSelect.js +1 -1
  140. package/es/components/MultiSelect/MultiSelect.js +1 -1
  141. package/es/components/MultiSelect/MultiSelectPropTypes.js +1 -1
  142. package/es/components/MultiSelect/index.js +1 -1
  143. package/es/components/MultiSelect/next/FilterableMultiSelect.js +1 -1
  144. package/es/components/MultiSelect/tools/itemToString.js +1 -1
  145. package/es/components/MultiSelect/tools/sorting.js +1 -1
  146. package/es/components/Notification/Notification.js +1 -1
  147. package/es/components/Notification/index.js +1 -1
  148. package/es/components/Notification/next/Notification.js +1 -1
  149. package/es/components/NumberInput/NumberInput.Skeleton.js +1 -1
  150. package/es/components/NumberInput/NumberInput.js +1 -1
  151. package/es/components/OrderedList/OrderedList.js +1 -1
  152. package/es/components/OverflowMenu/OverflowMenu.js +1 -1
  153. package/es/components/OverflowMenu/index.js +1 -1
  154. package/es/components/OverflowMenuItem/OverflowMenuItem.js +1 -1
  155. package/es/components/OverflowMenuItem/index.js +1 -1
  156. package/es/components/OverflowMenuV2/index.js +1 -1
  157. package/es/components/Pagination/Pagination.Skeleton.js +1 -1
  158. package/es/components/Pagination/Pagination.js +1 -1
  159. package/es/components/Pagination/experimental/PageSelector.js +1 -1
  160. package/es/components/Pagination/experimental/Pagination.js +1 -1
  161. package/es/components/Pagination/index.js +1 -1
  162. package/es/components/Pagination/next/Pagination.js +1 -1
  163. package/es/components/PaginationNav/PaginationNav.js +1 -1
  164. package/es/components/Popover/index.js +1 -1
  165. package/es/components/PrimaryButton/PrimaryButton.js +1 -1
  166. package/es/components/ProgressBar/ProgressBar.js +49 -8
  167. package/es/components/ProgressIndicator/ProgressIndicator.Skeleton.js +1 -1
  168. package/es/components/ProgressIndicator/ProgressIndicator.js +1 -1
  169. package/es/components/ProgressIndicator/index.js +1 -1
  170. package/es/components/ProgressIndicator/next/ProgressIndicator.js +1 -1
  171. package/es/components/RadioButton/RadioButton.Skeleton.js +1 -1
  172. package/es/components/RadioButton/RadioButton.js +1 -1
  173. package/es/components/RadioButton/index.js +1 -1
  174. package/es/components/RadioButton/next/RadioButton.js +1 -1
  175. package/es/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  176. package/es/components/RadioButtonGroup/index.js +1 -1
  177. package/es/components/RadioButtonGroup/next/RadioButtonGroup.js +1 -1
  178. package/es/components/RadioTile/RadioTile.js +1 -1
  179. package/es/components/Search/Search.Skeleton.js +1 -1
  180. package/es/components/Search/Search.js +1 -1
  181. package/es/components/Search/index.js +1 -1
  182. package/es/components/Search/next/Search.js +1 -1
  183. package/es/components/SearchFilterButton/SearchFilterButton.js +1 -1
  184. package/es/components/SearchLayoutButton/SearchLayoutButton.js +1 -1
  185. package/es/components/SecondaryButton/SecondaryButton.js +1 -1
  186. package/es/components/Select/Select.Skeleton.js +1 -1
  187. package/es/components/Select/Select.js +1 -1
  188. package/es/components/SelectItem/SelectItem.js +1 -1
  189. package/es/components/SelectItemGroup/SelectItemGroup.js +1 -1
  190. package/es/components/SkeletonIcon/SkeletonIcon.js +1 -1
  191. package/es/components/SkeletonPlaceholder/SkeletonPlaceholder.js +1 -1
  192. package/es/components/SkeletonText/SkeletonText.js +1 -1
  193. package/es/components/Slider/Slider.Skeleton.js +1 -1
  194. package/es/components/Slider/Slider.js +1 -1
  195. package/es/components/Slider/index.js +1 -1
  196. package/es/components/Stack/Stack.js +1 -1
  197. package/es/components/Stack/index.js +1 -1
  198. package/es/components/StructuredList/StructuredList.Skeleton.js +1 -1
  199. package/es/components/StructuredList/StructuredList.js +1 -1
  200. package/es/components/StructuredList/index.js +1 -1
  201. package/es/components/StructuredList/next/StructuredList.js +1 -1
  202. package/es/components/Switch/Switch.js +1 -1
  203. package/es/components/Tab/Tab.js +1 -1
  204. package/es/components/Tab/index.js +1 -1
  205. package/es/components/TabContent/TabContent.js +1 -1
  206. package/es/components/Tabs/Tabs.Skeleton.js +1 -1
  207. package/es/components/Tabs/Tabs.js +1 -1
  208. package/es/components/Tabs/index.js +1 -1
  209. package/es/components/Tabs/next/Tabs.Skeleton.js +1 -1
  210. package/es/components/Tabs/next/Tabs.js +1 -1
  211. package/es/components/Tabs/next/usePressable.js +1 -1
  212. package/es/components/Tag/Tag.Skeleton.js +1 -1
  213. package/es/components/Tag/Tag.js +1 -1
  214. package/es/components/Text/Text.js +1 -1
  215. package/es/components/Text/TextDirectionContext.js +1 -1
  216. package/es/components/Text/createTextComponent.js +1 -1
  217. package/es/components/Text/index.js +1 -1
  218. package/es/components/TextArea/TextArea.Skeleton.js +1 -1
  219. package/es/components/TextArea/TextArea.js +1 -1
  220. package/es/components/TextInput/ControlledPasswordInput.js +1 -1
  221. package/es/components/TextInput/PasswordInput.js +1 -1
  222. package/es/components/TextInput/TextInput.Skeleton.js +1 -1
  223. package/es/components/TextInput/TextInput.js +1 -1
  224. package/es/components/TextInput/index.js +1 -1
  225. package/es/components/TextInput/util.js +1 -1
  226. package/es/components/Theme/index.js +1 -1
  227. package/es/components/Tile/Tile.js +1 -1
  228. package/es/components/Tile/index.js +1 -1
  229. package/es/components/Tile/next/Tile.js +1 -1
  230. package/es/components/TileGroup/TileGroup.js +1 -1
  231. package/es/components/TileGroup/index.js +1 -1
  232. package/es/components/TimePicker/TimePicker.js +1 -1
  233. package/es/components/TimePicker/index.js +1 -1
  234. package/es/components/TimePicker/next/TimePicker.js +1 -1
  235. package/es/components/TimePickerSelect/TimePickerSelect.js +1 -1
  236. package/es/components/TimePickerSelect/index.js +1 -1
  237. package/es/components/TimePickerSelect/next/TimePickerSelect.js +1 -1
  238. package/es/components/Toggle/Toggle.Skeleton.js +1 -1
  239. package/es/components/Toggle/Toggle.js +1 -1
  240. package/es/components/Toggle/index.js +1 -1
  241. package/es/components/Toggle/next/Toggle.js +1 -1
  242. package/es/components/ToggleSmall/ToggleSmall.Skeleton.js +1 -1
  243. package/es/components/Toggletip/index.js +1 -1
  244. package/es/components/Tooltip/next/DefinitionTooltip.js +1 -1
  245. package/es/components/Tooltip/next/Tooltip.js +1 -1
  246. package/es/components/TreeView/TreeNode.js +1 -1
  247. package/es/components/TreeView/TreeView.js +43 -3
  248. package/es/components/TreeView/index.js +1 -1
  249. package/es/components/UIShell/Content.js +1 -1
  250. package/es/components/UIShell/Header.js +1 -1
  251. package/es/components/UIShell/HeaderContainer.js +1 -1
  252. package/es/components/UIShell/HeaderGlobalAction.js +1 -1
  253. package/es/components/UIShell/HeaderGlobalBar.js +1 -1
  254. package/es/components/UIShell/HeaderMenu.js +1 -1
  255. package/es/components/UIShell/HeaderMenuButton.js +1 -1
  256. package/es/components/UIShell/HeaderMenuItem.js +1 -1
  257. package/es/components/UIShell/HeaderName.js +1 -1
  258. package/es/components/UIShell/HeaderNavigation.js +1 -1
  259. package/es/components/UIShell/HeaderPanel.js +1 -1
  260. package/es/components/UIShell/HeaderSideNavItems.js +1 -1
  261. package/es/components/UIShell/Link.js +1 -1
  262. package/es/components/UIShell/SideNav.js +1 -1
  263. package/es/components/UIShell/SideNavDetails.js +1 -1
  264. package/es/components/UIShell/SideNavDivider.js +1 -1
  265. package/es/components/UIShell/SideNavFooter.js +1 -1
  266. package/es/components/UIShell/SideNavHeader.js +1 -1
  267. package/es/components/UIShell/SideNavIcon.js +1 -1
  268. package/es/components/UIShell/SideNavItem.js +1 -1
  269. package/es/components/UIShell/SideNavItems.js +1 -1
  270. package/es/components/UIShell/SideNavLink.js +1 -1
  271. package/es/components/UIShell/SideNavLinkText.js +1 -1
  272. package/es/components/UIShell/SideNavMenu.js +1 -1
  273. package/es/components/UIShell/SideNavMenuItem.js +1 -1
  274. package/es/components/UIShell/SideNavSwitcher.js +1 -1
  275. package/es/components/UIShell/SkipToContent.js +1 -1
  276. package/es/components/UIShell/Switcher.js +1 -1
  277. package/es/components/UIShell/SwitcherDivider.js +1 -1
  278. package/es/components/UIShell/SwitcherItem.js +1 -1
  279. package/es/components/UIShell/_utils.js +1 -1
  280. package/es/components/UIShell/index.js +1 -1
  281. package/es/components/UIShell/next/HeaderNavigation.js +1 -1
  282. package/es/components/UIShell/next/SideNavMenu.js +1 -1
  283. package/es/components/UnorderedList/UnorderedList.js +1 -1
  284. package/es/feature-flags.js +1 -1
  285. package/es/index.js +1 -1
  286. package/es/internal/ClickListener.js +1 -1
  287. package/es/internal/ComponentToggle.js +1 -1
  288. package/es/internal/FeatureFlags.js +1 -1
  289. package/es/internal/FloatingMenu.js +1 -1
  290. package/es/internal/OptimizedResize.js +1 -1
  291. package/es/internal/Selection.js +1 -1
  292. package/es/internal/createClassWrapper.js +1 -1
  293. package/es/internal/deprecateFieldOnObject.js +1 -1
  294. package/es/internal/environment.js +1 -1
  295. package/es/internal/focus/index.js +1 -1
  296. package/es/internal/keyboard/keys.js +23 -12
  297. package/es/internal/keyboard/match.js +4 -3
  298. package/es/internal/keyboard/navigation.js +1 -1
  299. package/es/internal/useControllableState.js +1 -1
  300. package/es/internal/useDelayedState.js +1 -1
  301. package/es/internal/useEffectOnce.js +1 -1
  302. package/es/internal/useEvent.js +1 -1
  303. package/es/internal/useId.js +1 -1
  304. package/es/internal/useIsomorphicEffect.js +1 -1
  305. package/es/internal/useMatchMedia.js +1 -1
  306. package/es/internal/useMergedRefs.js +1 -1
  307. package/es/internal/useNoInteractiveChildren.js +1 -1
  308. package/es/internal/useNormalizedInputProps.js +1 -1
  309. package/es/internal/usePrefix.js +1 -1
  310. package/es/internal/useSavedCallback.js +1 -1
  311. package/es/internal/warning.js +1 -1
  312. package/es/internal/wrapFocus.js +1 -1
  313. package/es/node_modules/flatpickr/dist/l10n/index.js +1 -1
  314. package/es/node_modules/flatpickr/dist/plugins/rangePlugin.js +1 -1
  315. package/es/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
  316. package/es/node_modules/use-resize-observer/polyfilled.js +1 -1
  317. package/es/prop-types/AriaPropTypes.js +1 -1
  318. package/es/prop-types/deprecate.js +1 -1
  319. package/es/prop-types/isRequiredOneOf.js +1 -1
  320. package/es/prop-types/requiredIfGivenPropIsTruthy.js +1 -1
  321. package/es/prop-types/requiredIfValueExists.js +1 -1
  322. package/es/prop-types/types.js +1 -1
  323. package/es/tools/array.js +1 -1
  324. package/es/tools/events.js +1 -1
  325. package/es/tools/mergeRefs.js +1 -1
  326. package/es/tools/setupGetInstanceId.js +1 -1
  327. package/es/tools/toggleClass.js +1 -1
  328. package/es/tools/uniqueId.js +1 -1
  329. package/es/tools/wrapComponent.js +1 -1
  330. package/icons/package.json +1 -2
  331. package/lib/_virtual/ResizeObserver.es.js +1 -1
  332. package/lib/_virtual/_commonjsHelpers.js +1 -1
  333. package/lib/_virtual/_rollupPluginBabelHelpers.js +1 -1
  334. package/lib/_virtual/index.js +1 -1
  335. package/lib/_virtual/rangePlugin.js +1 -1
  336. package/lib/components/Accordion/Accordion.Skeleton.js +1 -1
  337. package/lib/components/Accordion/Accordion.js +1 -1
  338. package/lib/components/Accordion/AccordionItem.js +1 -1
  339. package/lib/components/Accordion/index.js +1 -1
  340. package/lib/components/AccordionItem/index.js +1 -1
  341. package/lib/components/AspectRatio/AspectRatio.js +1 -1
  342. package/lib/components/Breadcrumb/Breadcrumb.Skeleton.js +1 -1
  343. package/lib/components/Breadcrumb/Breadcrumb.js +1 -1
  344. package/lib/components/Breadcrumb/BreadcrumbItem.js +1 -1
  345. package/lib/components/Button/Button.Skeleton.js +1 -1
  346. package/lib/components/Button/Button.js +1 -1
  347. package/lib/components/ButtonSet/ButtonSet.js +1 -1
  348. package/lib/components/Checkbox/Checkbox.Skeleton.js +1 -1
  349. package/lib/components/Checkbox/Checkbox.js +1 -1
  350. package/lib/components/ClassPrefix/index.js +1 -1
  351. package/lib/components/CodeSnippet/CodeSnippet.Skeleton.js +1 -1
  352. package/lib/components/CodeSnippet/CodeSnippet.js +2 -2
  353. package/lib/components/ComboBox/ComboBox.js +1 -1
  354. package/lib/components/ComboBox/tools/filter.js +1 -1
  355. package/lib/components/ComposedModal/ComposedModal.js +1 -1
  356. package/lib/components/ComposedModal/index.js +1 -1
  357. package/lib/components/ComposedModal/next/ComposedModal.js +1 -1
  358. package/lib/components/ComposedModal/next/ModalFooter.js +1 -1
  359. package/lib/components/ComposedModal/next/ModalHeader.js +1 -1
  360. package/lib/components/ContentSwitcher/ContentSwitcher.js +1 -1
  361. package/lib/components/ContentSwitcher/index.js +1 -1
  362. package/lib/components/ContextMenu/useContextMenu.js +1 -1
  363. package/lib/components/Copy/Copy.js +1 -1
  364. package/lib/components/CopyButton/CopyButton.js +1 -1
  365. package/lib/components/DangerButton/DangerButton.js +1 -1
  366. package/lib/components/DataTable/DataTable.js +1 -1
  367. package/lib/components/DataTable/Table.js +1 -1
  368. package/lib/components/DataTable/TableActionList.js +1 -1
  369. package/lib/components/DataTable/TableBatchAction.js +1 -1
  370. package/lib/components/DataTable/TableBatchActions.js +1 -1
  371. package/lib/components/DataTable/TableBody.js +1 -1
  372. package/lib/components/DataTable/TableCell.js +1 -1
  373. package/lib/components/DataTable/TableContainer.js +1 -1
  374. package/lib/components/DataTable/TableExpandHeader.js +1 -1
  375. package/lib/components/DataTable/TableExpandRow.js +1 -1
  376. package/lib/components/DataTable/TableExpandedRow.js +1 -1
  377. package/lib/components/DataTable/TableHead.js +1 -1
  378. package/lib/components/DataTable/TableHeader.js +1 -1
  379. package/lib/components/DataTable/TableRow.js +1 -1
  380. package/lib/components/DataTable/TableSelectAll.js +1 -1
  381. package/lib/components/DataTable/TableSelectRow.js +1 -1
  382. package/lib/components/DataTable/TableToolbar.js +1 -1
  383. package/lib/components/DataTable/TableToolbarAction.js +1 -1
  384. package/lib/components/DataTable/TableToolbarContent.js +1 -1
  385. package/lib/components/DataTable/TableToolbarMenu.js +1 -1
  386. package/lib/components/DataTable/TableToolbarSearch.js +1 -1
  387. package/lib/components/DataTable/index.js +1 -1
  388. package/lib/components/DataTable/state/getDerivedStateFromProps.js +1 -1
  389. package/lib/components/DataTable/state/sortStates.js +1 -1
  390. package/lib/components/DataTable/state/sorting.js +1 -1
  391. package/lib/components/DataTable/tools/cells.js +1 -1
  392. package/lib/components/DataTable/tools/denormalize.js +1 -1
  393. package/lib/components/DataTable/tools/filter.js +1 -1
  394. package/lib/components/DataTable/tools/instanceId.js +1 -1
  395. package/lib/components/DataTable/tools/normalize.js +1 -1
  396. package/lib/components/DataTable/tools/sorting.js +1 -1
  397. package/lib/components/DataTableSkeleton/DataTableSkeleton.js +1 -1
  398. package/lib/components/DatePicker/DatePicker.Skeleton.js +1 -1
  399. package/lib/components/DatePicker/DatePicker.js +1 -1
  400. package/lib/components/DatePicker/index.js +1 -1
  401. package/lib/components/DatePicker/next/DatePicker.js +1 -1
  402. package/lib/components/DatePicker/plugins/appendToPlugin.js +1 -1
  403. package/lib/components/DatePicker/plugins/fixEventsPlugin.js +1 -1
  404. package/lib/components/DatePicker/plugins/rangePlugin.js +1 -1
  405. package/lib/components/DatePickerInput/DatePickerInput.js +1 -1
  406. package/lib/components/DatePickerInput/index.js +1 -1
  407. package/lib/components/DatePickerInput/next/DatePickerInput.js +1 -1
  408. package/lib/components/Dropdown/Dropdown.Skeleton.js +1 -1
  409. package/lib/components/Dropdown/Dropdown.js +1 -1
  410. package/lib/components/ErrorBoundary/ErrorBoundary.js +1 -1
  411. package/lib/components/ErrorBoundary/ErrorBoundaryContext.js +1 -1
  412. package/lib/components/ExpandableSearch/ExpandableSearch.js +1 -1
  413. package/lib/components/ExpandableSearch/index.js +1 -1
  414. package/lib/components/FeatureFlags/index.js +1 -1
  415. package/lib/components/FileUploader/FileUploader.Skeleton.js +1 -1
  416. package/lib/components/FileUploader/FileUploader.js +1 -1
  417. package/lib/components/FileUploader/FileUploaderButton.js +1 -1
  418. package/lib/components/FileUploader/FileUploaderDropContainer.js +1 -1
  419. package/lib/components/FileUploader/FileUploaderItem.js +1 -1
  420. package/lib/components/FileUploader/Filename.js +1 -1
  421. package/lib/components/FileUploader/index.js +1 -1
  422. package/lib/components/FluidForm/FluidForm.js +1 -1
  423. package/lib/components/FluidForm/FormContext.js +1 -1
  424. package/lib/components/Form/Form.js +1 -1
  425. package/lib/components/FormGroup/FormGroup.js +1 -1
  426. package/lib/components/FormItem/FormItem.js +1 -1
  427. package/lib/components/FormLabel/FormLabel.js +1 -1
  428. package/lib/components/Grid/CSSGrid.js +1 -1
  429. package/lib/components/Grid/Column.js +1 -1
  430. package/lib/components/Grid/ColumnHang.js +1 -1
  431. package/lib/components/Grid/FlexGrid.js +1 -1
  432. package/lib/components/Grid/Grid.js +1 -1
  433. package/lib/components/Grid/GridContext.js +1 -1
  434. package/lib/components/Grid/Row.js +1 -1
  435. package/lib/components/Heading/index.js +1 -1
  436. package/lib/components/Icon/Icon.Skeleton.js +1 -1
  437. package/lib/components/IconButton/index.js +12 -3
  438. package/lib/components/InlineCheckbox/InlineCheckbox.js +1 -1
  439. package/lib/components/InlineLoading/InlineLoading.js +1 -1
  440. package/lib/components/Layer/LayerContext.js +1 -1
  441. package/lib/components/Layer/index.js +1 -1
  442. package/lib/components/Link/Link.js +1 -1
  443. package/lib/components/ListBox/ListBox.js +1 -1
  444. package/lib/components/ListBox/ListBoxField.js +1 -1
  445. package/lib/components/ListBox/ListBoxMenu.js +1 -1
  446. package/lib/components/ListBox/ListBoxMenuIcon.js +1 -1
  447. package/lib/components/ListBox/ListBoxMenuItem.js +1 -1
  448. package/lib/components/ListBox/ListBoxPropTypes.js +1 -1
  449. package/lib/components/ListBox/ListBoxSelection.js +1 -1
  450. package/lib/components/ListBox/index.js +1 -1
  451. package/lib/components/ListBox/next/ListBoxSelection.js +1 -1
  452. package/lib/components/ListBox/next/ListBoxTrigger.js +1 -1
  453. package/lib/components/ListItem/ListItem.js +1 -1
  454. package/lib/components/Loading/Loading.js +1 -1
  455. package/lib/components/Menu/Menu.js +1 -1
  456. package/lib/components/Menu/MenuDivider.js +1 -1
  457. package/lib/components/Menu/MenuGroup.js +1 -1
  458. package/lib/components/Menu/MenuItem.js +1 -1
  459. package/lib/components/Menu/MenuOption.js +1 -1
  460. package/lib/components/Menu/MenuRadioGroup.js +1 -1
  461. package/lib/components/Menu/MenuRadioGroupOptions.js +1 -1
  462. package/lib/components/Menu/MenuSelectableItem.js +1 -1
  463. package/lib/components/Menu/_utils.js +1 -1
  464. package/lib/components/Menu/index.js +1 -1
  465. package/lib/components/Modal/Modal.js +1 -1
  466. package/lib/components/Modal/index.js +1 -1
  467. package/lib/components/Modal/next/Modal.js +1 -1
  468. package/lib/components/ModalWrapper/ModalWrapper.js +1 -1
  469. package/lib/components/MultiSelect/FilterableMultiSelect.js +1 -1
  470. package/lib/components/MultiSelect/MultiSelect.js +1 -1
  471. package/lib/components/MultiSelect/MultiSelectPropTypes.js +1 -1
  472. package/lib/components/MultiSelect/index.js +1 -1
  473. package/lib/components/MultiSelect/next/FilterableMultiSelect.js +1 -1
  474. package/lib/components/MultiSelect/tools/itemToString.js +1 -1
  475. package/lib/components/MultiSelect/tools/sorting.js +1 -1
  476. package/lib/components/Notification/Notification.js +1 -1
  477. package/lib/components/Notification/index.js +1 -1
  478. package/lib/components/Notification/next/Notification.js +1 -1
  479. package/lib/components/NumberInput/NumberInput.Skeleton.js +1 -1
  480. package/lib/components/NumberInput/NumberInput.js +1 -1
  481. package/lib/components/OrderedList/OrderedList.js +1 -1
  482. package/lib/components/OverflowMenu/OverflowMenu.js +1 -1
  483. package/lib/components/OverflowMenu/index.js +1 -1
  484. package/lib/components/OverflowMenuItem/OverflowMenuItem.js +1 -1
  485. package/lib/components/OverflowMenuItem/index.js +1 -1
  486. package/lib/components/OverflowMenuV2/index.js +1 -1
  487. package/lib/components/Pagination/Pagination.Skeleton.js +1 -1
  488. package/lib/components/Pagination/Pagination.js +1 -1
  489. package/lib/components/Pagination/experimental/PageSelector.js +1 -1
  490. package/lib/components/Pagination/experimental/Pagination.js +1 -1
  491. package/lib/components/Pagination/index.js +1 -1
  492. package/lib/components/Pagination/next/Pagination.js +1 -1
  493. package/lib/components/PaginationNav/PaginationNav.js +1 -1
  494. package/lib/components/Popover/index.js +1 -1
  495. package/lib/components/PrimaryButton/PrimaryButton.js +1 -1
  496. package/lib/components/ProgressBar/ProgressBar.js +48 -7
  497. package/lib/components/ProgressIndicator/ProgressIndicator.Skeleton.js +1 -1
  498. package/lib/components/ProgressIndicator/ProgressIndicator.js +1 -1
  499. package/lib/components/ProgressIndicator/index.js +1 -1
  500. package/lib/components/ProgressIndicator/next/ProgressIndicator.js +1 -1
  501. package/lib/components/RadioButton/RadioButton.Skeleton.js +1 -1
  502. package/lib/components/RadioButton/RadioButton.js +1 -1
  503. package/lib/components/RadioButton/index.js +1 -1
  504. package/lib/components/RadioButton/next/RadioButton.js +1 -1
  505. package/lib/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
  506. package/lib/components/RadioButtonGroup/index.js +1 -1
  507. package/lib/components/RadioButtonGroup/next/RadioButtonGroup.js +1 -1
  508. package/lib/components/RadioTile/RadioTile.js +1 -1
  509. package/lib/components/Search/Search.Skeleton.js +1 -1
  510. package/lib/components/Search/Search.js +1 -1
  511. package/lib/components/Search/index.js +1 -1
  512. package/lib/components/Search/next/Search.js +1 -1
  513. package/lib/components/SearchFilterButton/SearchFilterButton.js +1 -1
  514. package/lib/components/SearchLayoutButton/SearchLayoutButton.js +1 -1
  515. package/lib/components/SecondaryButton/SecondaryButton.js +1 -1
  516. package/lib/components/Select/Select.Skeleton.js +1 -1
  517. package/lib/components/Select/Select.js +1 -1
  518. package/lib/components/SelectItem/SelectItem.js +1 -1
  519. package/lib/components/SelectItemGroup/SelectItemGroup.js +1 -1
  520. package/lib/components/SkeletonIcon/SkeletonIcon.js +1 -1
  521. package/lib/components/SkeletonPlaceholder/SkeletonPlaceholder.js +1 -1
  522. package/lib/components/SkeletonText/SkeletonText.js +1 -1
  523. package/lib/components/Slider/Slider.Skeleton.js +1 -1
  524. package/lib/components/Slider/Slider.js +1 -1
  525. package/lib/components/Slider/index.js +1 -1
  526. package/lib/components/Stack/Stack.js +1 -1
  527. package/lib/components/Stack/index.js +1 -1
  528. package/lib/components/StructuredList/StructuredList.Skeleton.js +1 -1
  529. package/lib/components/StructuredList/StructuredList.js +1 -1
  530. package/lib/components/StructuredList/index.js +1 -1
  531. package/lib/components/StructuredList/next/StructuredList.js +1 -1
  532. package/lib/components/Switch/Switch.js +1 -1
  533. package/lib/components/Tab/Tab.js +1 -1
  534. package/lib/components/Tab/index.js +1 -1
  535. package/lib/components/TabContent/TabContent.js +1 -1
  536. package/lib/components/Tabs/Tabs.Skeleton.js +1 -1
  537. package/lib/components/Tabs/Tabs.js +1 -1
  538. package/lib/components/Tabs/index.js +1 -1
  539. package/lib/components/Tabs/next/Tabs.Skeleton.js +1 -1
  540. package/lib/components/Tabs/next/Tabs.js +1 -1
  541. package/lib/components/Tabs/next/usePressable.js +1 -1
  542. package/lib/components/Tag/Tag.Skeleton.js +1 -1
  543. package/lib/components/Tag/Tag.js +1 -1
  544. package/lib/components/Text/Text.js +1 -1
  545. package/lib/components/Text/TextDirectionContext.js +1 -1
  546. package/lib/components/Text/createTextComponent.js +1 -1
  547. package/lib/components/Text/index.js +1 -1
  548. package/lib/components/TextArea/TextArea.Skeleton.js +1 -1
  549. package/lib/components/TextArea/TextArea.js +1 -1
  550. package/lib/components/TextInput/ControlledPasswordInput.js +1 -1
  551. package/lib/components/TextInput/PasswordInput.js +1 -1
  552. package/lib/components/TextInput/TextInput.Skeleton.js +1 -1
  553. package/lib/components/TextInput/TextInput.js +1 -1
  554. package/lib/components/TextInput/index.js +1 -1
  555. package/lib/components/TextInput/util.js +1 -1
  556. package/lib/components/Theme/index.js +1 -1
  557. package/lib/components/Tile/Tile.js +1 -1
  558. package/lib/components/Tile/index.js +1 -1
  559. package/lib/components/Tile/next/Tile.js +1 -1
  560. package/lib/components/TileGroup/TileGroup.js +1 -1
  561. package/lib/components/TileGroup/index.js +1 -1
  562. package/lib/components/TimePicker/TimePicker.js +1 -1
  563. package/lib/components/TimePicker/index.js +1 -1
  564. package/lib/components/TimePicker/next/TimePicker.js +1 -1
  565. package/lib/components/TimePickerSelect/TimePickerSelect.js +1 -1
  566. package/lib/components/TimePickerSelect/index.js +1 -1
  567. package/lib/components/TimePickerSelect/next/TimePickerSelect.js +1 -1
  568. package/lib/components/Toggle/Toggle.Skeleton.js +1 -1
  569. package/lib/components/Toggle/Toggle.js +1 -1
  570. package/lib/components/Toggle/index.js +1 -1
  571. package/lib/components/Toggle/next/Toggle.js +1 -1
  572. package/lib/components/ToggleSmall/ToggleSmall.Skeleton.js +1 -1
  573. package/lib/components/Toggletip/index.js +1 -1
  574. package/lib/components/Tooltip/next/DefinitionTooltip.js +1 -1
  575. package/lib/components/Tooltip/next/Tooltip.js +1 -1
  576. package/lib/components/TreeView/TreeNode.js +1 -1
  577. package/lib/components/TreeView/TreeView.js +42 -2
  578. package/lib/components/TreeView/index.js +1 -1
  579. package/lib/components/UIShell/Content.js +1 -1
  580. package/lib/components/UIShell/Header.js +1 -1
  581. package/lib/components/UIShell/HeaderContainer.js +1 -1
  582. package/lib/components/UIShell/HeaderGlobalAction.js +1 -1
  583. package/lib/components/UIShell/HeaderGlobalBar.js +1 -1
  584. package/lib/components/UIShell/HeaderMenu.js +1 -1
  585. package/lib/components/UIShell/HeaderMenuButton.js +1 -1
  586. package/lib/components/UIShell/HeaderMenuItem.js +1 -1
  587. package/lib/components/UIShell/HeaderName.js +1 -1
  588. package/lib/components/UIShell/HeaderNavigation.js +1 -1
  589. package/lib/components/UIShell/HeaderPanel.js +1 -1
  590. package/lib/components/UIShell/HeaderSideNavItems.js +1 -1
  591. package/lib/components/UIShell/Link.js +1 -1
  592. package/lib/components/UIShell/SideNav.js +1 -1
  593. package/lib/components/UIShell/SideNavDetails.js +1 -1
  594. package/lib/components/UIShell/SideNavDivider.js +1 -1
  595. package/lib/components/UIShell/SideNavFooter.js +1 -1
  596. package/lib/components/UIShell/SideNavHeader.js +1 -1
  597. package/lib/components/UIShell/SideNavIcon.js +1 -1
  598. package/lib/components/UIShell/SideNavItem.js +1 -1
  599. package/lib/components/UIShell/SideNavItems.js +1 -1
  600. package/lib/components/UIShell/SideNavLink.js +1 -1
  601. package/lib/components/UIShell/SideNavLinkText.js +1 -1
  602. package/lib/components/UIShell/SideNavMenu.js +1 -1
  603. package/lib/components/UIShell/SideNavMenuItem.js +1 -1
  604. package/lib/components/UIShell/SideNavSwitcher.js +1 -1
  605. package/lib/components/UIShell/SkipToContent.js +1 -1
  606. package/lib/components/UIShell/Switcher.js +1 -1
  607. package/lib/components/UIShell/SwitcherDivider.js +1 -1
  608. package/lib/components/UIShell/SwitcherItem.js +1 -1
  609. package/lib/components/UIShell/_utils.js +1 -1
  610. package/lib/components/UIShell/index.js +1 -1
  611. package/lib/components/UIShell/next/HeaderNavigation.js +1 -1
  612. package/lib/components/UIShell/next/SideNavMenu.js +1 -1
  613. package/lib/components/UnorderedList/UnorderedList.js +1 -1
  614. package/lib/feature-flags.js +1 -1
  615. package/lib/index.js +1 -1
  616. package/lib/internal/ClickListener.js +1 -1
  617. package/lib/internal/ComponentToggle.js +1 -1
  618. package/lib/internal/FeatureFlags.js +1 -1
  619. package/lib/internal/FloatingMenu.js +1 -1
  620. package/lib/internal/OptimizedResize.js +1 -1
  621. package/lib/internal/Selection.js +1 -1
  622. package/lib/internal/createClassWrapper.js +1 -1
  623. package/lib/internal/deprecateFieldOnObject.js +1 -1
  624. package/lib/internal/environment.js +1 -1
  625. package/lib/internal/focus/index.js +1 -1
  626. package/lib/internal/keyboard/keys.js +23 -12
  627. package/lib/internal/keyboard/match.js +4 -3
  628. package/lib/internal/keyboard/navigation.js +1 -1
  629. package/lib/internal/useControllableState.js +1 -1
  630. package/lib/internal/useDelayedState.js +1 -1
  631. package/lib/internal/useEffectOnce.js +1 -1
  632. package/lib/internal/useEvent.js +1 -1
  633. package/lib/internal/useId.js +1 -1
  634. package/lib/internal/useIsomorphicEffect.js +1 -1
  635. package/lib/internal/useMatchMedia.js +1 -1
  636. package/lib/internal/useMergedRefs.js +1 -1
  637. package/lib/internal/useNoInteractiveChildren.js +1 -1
  638. package/lib/internal/useNormalizedInputProps.js +1 -1
  639. package/lib/internal/usePrefix.js +1 -1
  640. package/lib/internal/useSavedCallback.js +1 -1
  641. package/lib/internal/warning.js +1 -1
  642. package/lib/internal/wrapFocus.js +1 -1
  643. package/lib/node_modules/flatpickr/dist/l10n/index.js +1 -1
  644. package/lib/node_modules/flatpickr/dist/plugins/rangePlugin.js +1 -1
  645. package/lib/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.js +1 -1
  646. package/lib/node_modules/use-resize-observer/polyfilled.js +1 -1
  647. package/lib/prop-types/AriaPropTypes.js +1 -1
  648. package/lib/prop-types/deprecate.js +1 -1
  649. package/lib/prop-types/isRequiredOneOf.js +1 -1
  650. package/lib/prop-types/requiredIfGivenPropIsTruthy.js +1 -1
  651. package/lib/prop-types/requiredIfValueExists.js +1 -1
  652. package/lib/prop-types/types.js +1 -1
  653. package/lib/tools/array.js +1 -1
  654. package/lib/tools/events.js +1 -1
  655. package/lib/tools/mergeRefs.js +1 -1
  656. package/lib/tools/setupGetInstanceId.js +1 -1
  657. package/lib/tools/toggleClass.js +1 -1
  658. package/lib/tools/uniqueId.js +1 -1
  659. package/lib/tools/wrapComponent.js +1 -1
  660. package/package.json +10 -17
  661. package/icons/es/index.js +0 -8
  662. package/icons/lib/index.js +0 -21
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -159,7 +159,9 @@ function TreeView(_ref) {
159
159
 
160
160
  event.stopPropagation();
161
161
 
162
- if (match.matches(event, [keys.ArrowUp, keys.ArrowDown])) {
162
+ if (match.matches(event, [keys.ArrowUp, keys.ArrowDown, keys.Home, keys.End, {
163
+ code: 'KeyA'
164
+ }])) {
163
165
  event.preventDefault();
164
166
  }
165
167
 
@@ -174,6 +176,44 @@ function TreeView(_ref) {
174
176
  nextFocusNode = treeWalker.current.nextNode();
175
177
  }
176
178
 
179
+ if (match.matches(event, [keys.Home, keys.End, {
180
+ code: 'KeyA'
181
+ }])) {
182
+ var nodeIds = [];
183
+
184
+ if (match.matches(event, [keys.Home, keys.End])) {
185
+ if (multiselect && event.shiftKey && event.ctrlKey) {
186
+ var _treeWalker$current$c;
187
+
188
+ nodeIds.push((_treeWalker$current$c = treeWalker.current.currentNode) === null || _treeWalker$current$c === void 0 ? void 0 : _treeWalker$current$c.id);
189
+ }
190
+
191
+ while (match.match(event, keys.Home) ? treeWalker.current.previousNode() : treeWalker.current.nextNode()) {
192
+ nextFocusNode = treeWalker.current.currentNode;
193
+
194
+ if (multiselect && event.shiftKey && event.ctrlKey) {
195
+ var _nextFocusNode;
196
+
197
+ nodeIds.push((_nextFocusNode = nextFocusNode) === null || _nextFocusNode === void 0 ? void 0 : _nextFocusNode.id);
198
+ }
199
+ }
200
+ }
201
+
202
+ if (match.match(event, {
203
+ code: 'KeyA'
204
+ }) && event.ctrlKey) {
205
+ treeWalker.current.currentNode = treeWalker.current.root;
206
+
207
+ while (treeWalker.current.nextNode()) {
208
+ var _treeWalker$current$c2;
209
+
210
+ nodeIds.push((_treeWalker$current$c2 = treeWalker.current.currentNode) === null || _treeWalker$current$c2 === void 0 ? void 0 : _treeWalker$current$c2.id);
211
+ }
212
+ }
213
+
214
+ setSelected(selected.concat(nodeIds));
215
+ }
216
+
177
217
  if (nextFocusNode && nextFocusNode !== event.target) {
178
218
  resetNodeTabIndices();
179
219
  nextFocusNode.tabIndex = 0;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Copyright IBM Corp. 2016, 2021
2
+ * Copyright IBM Corp. 2016, 2022
3
3
  *
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.