@splunk/react-ui 4.21.0 → 4.22.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 (92) hide show
  1. package/Accordion.js +425 -325
  2. package/Anchor.js +147 -117
  3. package/Animation.js +142 -94
  4. package/AnimationToggle.js +197 -193
  5. package/Box.js +145 -118
  6. package/Breadcrumbs.js +288 -206
  7. package/Button.js +488 -465
  8. package/ButtonGroup.js +160 -128
  9. package/ButtonSimple.js +543 -462
  10. package/CHANGELOG.md +24 -3
  11. package/Calendar.js +1111 -1001
  12. package/Card.js +771 -598
  13. package/CardLayout.js +205 -147
  14. package/Chip.js +509 -488
  15. package/Clickable.js +414 -352
  16. package/CloseButton.js +165 -142
  17. package/Code.js +1807 -2084
  18. package/CollapsiblePanel.js +586 -519
  19. package/Color.js +1068 -1068
  20. package/ColumnLayout.js +402 -363
  21. package/ComboBox.js +903 -794
  22. package/Concertina.js +997 -802
  23. package/ControlGroup.js +687 -594
  24. package/Date.js +567 -547
  25. package/DefinitionList.js +308 -234
  26. package/Divider.js +149 -118
  27. package/Dropdown.js +459 -416
  28. package/DualListbox.js +1479 -1541
  29. package/EventListener.js +94 -97
  30. package/File.js +1051 -969
  31. package/FormRows.js +883 -696
  32. package/Heading.js +216 -193
  33. package/Image.js +446 -402
  34. package/JSONTree.js +690 -551
  35. package/Layer.js +437 -410
  36. package/Link.js +336 -255
  37. package/List.js +213 -161
  38. package/Markdown.js +509 -487
  39. package/Menu.js +1104 -1056
  40. package/Message.js +475 -441
  41. package/MessageBar.js +387 -373
  42. package/Modal.js +810 -634
  43. package/ModalLayer.js +326 -243
  44. package/Monogram.js +308 -276
  45. package/Multiselect.js +3564 -3364
  46. package/Number.js +729 -687
  47. package/Paginator.js +510 -449
  48. package/Paragraph.js +145 -112
  49. package/Popover.js +1459 -1432
  50. package/Progress.js +301 -246
  51. package/RadioBar.js +634 -527
  52. package/RadioList.js +483 -444
  53. package/Resize.js +530 -489
  54. package/ResultsMenu.js +479 -455
  55. package/ScreenReaderContent.js +142 -111
  56. package/Scroll.js +595 -456
  57. package/ScrollContainerContext.js +197 -206
  58. package/Search.js +756 -650
  59. package/Select.js +2446 -2345
  60. package/SidePanel.js +390 -284
  61. package/Slider.js +680 -676
  62. package/SlidingPanels.js +639 -503
  63. package/SplitButton.js +464 -367
  64. package/StaticContent.js +161 -133
  65. package/StepBar.js +386 -358
  66. package/Switch.js +710 -640
  67. package/TabBar.js +741 -680
  68. package/TabLayout.js +406 -322
  69. package/Table.js +4974 -4616
  70. package/Text.js +1170 -1138
  71. package/TextArea.js +1102 -1090
  72. package/Tooltip.js +624 -581
  73. package/TransitionOpen.js +489 -422
  74. package/Typography.js +176 -153
  75. package/WaitSpinner.js +230 -206
  76. package/package.json +7 -7
  77. package/types/src/Color/Color.d.ts +0 -1
  78. package/types/src/JSONTree/JSONTreeContext.d.ts +7 -0
  79. package/types/src/JSONTree/TreeNode.d.ts +5 -0
  80. package/types/src/RadioBar/RadioBar.d.ts +1 -0
  81. package/types/src/ResultsMenu/ResultsMenu.d.ts +0 -2
  82. package/types/src/Select/docs/examples/Icons.d.ts +1 -9
  83. package/types/src/Slider/Slider.d.ts +1 -0
  84. package/types/src/TabBar/Tab.d.ts +10 -1
  85. package/types/src/TabBar/TabBar.d.ts +4 -2
  86. package/types/src/Table/Head.d.ts +7 -3
  87. package/types/src/Table/Table.d.ts +3 -2
  88. package/types/src/Table/TableContext.d.ts +2 -0
  89. package/useForceUpdate.js +112 -82
  90. package/useKeyPress.js +74 -71
  91. package/usePrevious.js +65 -65
  92. package/useRovingFocus.js +122 -138
package/CHANGELOG.md CHANGED
@@ -1,10 +1,31 @@
1
1
  Change Log
2
2
  ============
3
+ 4.22.0 - Nov 7, 2023
4
+ ----------
5
+ New Features:
6
+ * `Color` Enterprise theme includes toolbar from Prisma theme. (SUI-5803).
3
7
 
4
- 4.21.0 - October 4, 2023
8
+ Bug Fixes:
9
+ * `Menu`'s `hasSubmenu` icon uses `ChevronRight` in prisma theme now (SUI-5791).
10
+ * Disabled `RadioBar.Option`s are no longer selectable with keyboard navigation (SUI-5804).
11
+ * `Slider`s with `step` prop respects `min` and `max` values that are not multiples of the `step` value (SUI-5796).
12
+ * `Select` should no longer throw a "maximum update depth exceeded" error in certain situations (SUI-5834).
13
+ * `TabBar` in vertical mode does not change widths when focused (SUI-5782).
14
+ * Padding between count and label has been adjusted.
15
+ * `Table` column widths are prevented from shrinking below 60px wide when using the `resizableFillLayout` prop (SUI-5484).
16
+
17
+ Docs:
18
+ * `Button` and `Select` examples now have icon size parity (SUI-5757).
19
+
20
+ 4.21.1 - October 11, 2023
5
21
  ----------
22
+ Bug Fixes:
23
+ * This package should now load correctly in Webpack 4 environments (SUI-5802).
24
+
6
25
 
7
- New Features:
26
+ 4.21.0 - October 4, 2023
27
+ ----------
28
+ New Features:
8
29
  * `Link` supports type `string` for `openInNewContext` to customize the default message (SUI-5784).
9
30
 
10
31
  Bug Fixes:
@@ -16,7 +37,7 @@ Bug Fixes:
16
37
  * `Message`'s padding, border, and icon alignment have been adjusted to now match the Splunk Design System (SUI-5524).
17
38
  * `TabBar`'s `count` prop is now properly announced to screen readers (SUI-5754).
18
39
 
19
- Docs:
40
+ Docs:
20
41
  * Added missing documentation for `Markdown`'s `elementRef` prop (SUI-5621).
21
42
 
22
43
  4.20.0 - September 5, 2023