@splunk/react-ui 4.22.1 → 4.24.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 (45) hide show
  1. package/Breadcrumbs.js +99 -124
  2. package/CHANGELOG.md +26 -0
  3. package/Color.js +289 -293
  4. package/ComboBox.js +49 -37
  5. package/DualListbox.js +2 -2
  6. package/File.js +15 -15
  7. package/JSONTree.js +268 -250
  8. package/MIGRATION.mdx +14 -0
  9. package/Menu.js +643 -472
  10. package/Modal.js +261 -222
  11. package/Multiselect.js +793 -779
  12. package/ResultsMenu.js +863 -148
  13. package/Search.js +3 -1
  14. package/Select.js +47 -36
  15. package/TabBar.js +2 -2
  16. package/Table.js +2 -2
  17. package/Tree.js +617 -0
  18. package/package.json +5 -4
  19. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +7 -1
  20. package/types/src/Breadcrumbs/Item.d.ts +8 -2
  21. package/types/src/ComboBox/ComboBox.d.ts +6 -0
  22. package/types/src/Dropdown/Dropdown.d.ts +2 -2
  23. package/types/src/JSONTree/JSONTree.d.ts +23 -13
  24. package/types/src/JSONTree/TreeNode.d.ts +4 -3
  25. package/types/src/JSONTree/docs/examples/ExpandChildrenOnShiftKey.d.ts +1 -0
  26. package/types/src/Menu/Menu.d.ts +14 -1
  27. package/types/src/Modal/Modal.d.ts +6 -0
  28. package/types/src/Multiselect/Compact.d.ts +7 -1
  29. package/types/src/Multiselect/Multiselect.d.ts +8 -1
  30. package/types/src/ResultsMenu/ResultsMenu.d.ts +53 -1
  31. package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedItem.d.ts +9 -0
  32. package/types/src/ResultsMenu/VirtualizedResultsMenu/VirtualizedResultsMenu.d.ts +33 -0
  33. package/types/src/ResultsMenu/VirtualizedResultsMenu/groupChildren.d.ts +16 -0
  34. package/types/src/ResultsMenu/VirtualizedResultsMenu/index.d.ts +3 -0
  35. package/types/src/ResultsMenu/VirtualizedResultsMenu/injectVirtualizedItem.d.ts +21 -0
  36. package/types/src/ResultsMenu/index.d.ts +2 -1
  37. package/types/src/Select/Select.d.ts +2 -0
  38. package/types/src/Select/SelectBase.d.ts +7 -1
  39. package/types/src/Tree/Tree.d.ts +24 -0
  40. package/types/src/Tree/TreeContext.d.ts +13 -0
  41. package/types/src/Tree/TreeItem.d.ts +31 -0
  42. package/types/src/Tree/index.d.ts +3 -0
  43. package/types/src/Tree/treeUtils.d.ts +29 -0
  44. package/types/src/JSONTree/docs/examples/WithShiftModifier.d.ts +0 -1
  45. /package/types/src/Card/docs/examples/{prisma/Actions.d.ts → Actions.d.ts} +0 -0
package/MIGRATION.mdx CHANGED
@@ -5,6 +5,20 @@ import Table from '@splunk/react-ui/Table';
5
5
 
6
6
  This document lists migration guidance for new features and breaking changes.
7
7
 
8
+ ## 4.23.0
9
+
10
+ ### Deprecated `JSONTree`'s `expandChildren="withShiftModifier"` value
11
+
12
+ #### Change
13
+ `JSONTree`'s `expandChildren="withShiftModifier"` value has been deprecated and will be removed in a future major version. A new prop `expandChildrenOnShiftKey` has been added to `JSONTree` to expand all descendant nodes when using `shift + click` or `shift + enter`.
14
+
15
+ #### Context
16
+ Separating the `shift + click` capability from `expandChildren` allows users to decide if they want to enable `shift + click` to expand all descendant nodes independently of
17
+ choosing to initially render the tree expanded.
18
+
19
+ #### Migration steps
20
+ Replace all usage of `JSONTree`'s `expandChildren="withShiftModifier"` value with the `expandChildrenOnShiftKey` prop.
21
+
8
22
  ## 4.18.0
9
23
 
10
24
  ### Deprecated `level="s"` and `level="ss"` and added new `variant` prop for `Heading`