@splunk/react-ui 4.19.0 → 4.21.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 (114) hide show
  1. package/Accordion.js +114 -230
  2. package/Anchor.js +74 -150
  3. package/Animation.js +52 -124
  4. package/AnimationToggle.js +86 -146
  5. package/Box.js +77 -153
  6. package/Breadcrumbs.d.ts +2 -0
  7. package/Breadcrumbs.js +207 -0
  8. package/Button.js +168 -316
  9. package/ButtonGroup.js +84 -168
  10. package/ButtonSimple.js +224 -324
  11. package/CHANGELOG.md +35 -0
  12. package/Calendar.js +264 -462
  13. package/Card.js +223 -371
  14. package/CardLayout.js +87 -163
  15. package/Chip.js +199 -323
  16. package/Clickable.js +132 -248
  17. package/CloseButton.js +92 -200
  18. package/Code.js +188 -251
  19. package/CollapsiblePanel.js +214 -370
  20. package/Color.js +267 -495
  21. package/ColumnLayout.js +152 -254
  22. package/ComboBox.js +197 -371
  23. package/Concertina.js +214 -374
  24. package/ControlGroup.js +164 -288
  25. package/Date.js +154 -304
  26. package/DefinitionList.js +104 -180
  27. package/Divider.js +80 -156
  28. package/Dropdown.js +121 -263
  29. package/DualListbox.js +408 -601
  30. package/EventListener.js +70 -138
  31. package/File.js +343 -547
  32. package/FormRows.js +232 -414
  33. package/Heading.js +94 -164
  34. package/Image.js +167 -323
  35. package/JSONTree.js +166 -314
  36. package/Layer.js +221 -388
  37. package/Link.js +133 -239
  38. package/List.js +85 -161
  39. package/Markdown.js +230 -355
  40. package/Menu.js +396 -647
  41. package/Message.js +248 -437
  42. package/MessageBar.js +220 -408
  43. package/Modal.js +201 -365
  44. package/ModalLayer.js +96 -196
  45. package/Monogram.js +112 -204
  46. package/Multiselect.js +2675 -2807
  47. package/Number.js +178 -334
  48. package/Paginator.js +170 -336
  49. package/Paragraph.js +77 -153
  50. package/Popover.js +436 -623
  51. package/Progress.js +139 -255
  52. package/RadioBar.js +156 -280
  53. package/RadioList.js +182 -282
  54. package/Resize.js +173 -307
  55. package/ResultsMenu.js +183 -304
  56. package/ScreenReaderContent.js +75 -151
  57. package/Scroll.js +125 -267
  58. package/ScrollContainerContext.js +129 -201
  59. package/Search.js +188 -354
  60. package/Select.js +1243 -1248
  61. package/SidePanel.js +106 -214
  62. package/Slider.js +198 -348
  63. package/SlidingPanels.js +138 -280
  64. package/SplitButton.js +141 -273
  65. package/StaticContent.js +84 -168
  66. package/StepBar.js +138 -246
  67. package/Switch.js +261 -385
  68. package/TabBar.js +261 -398
  69. package/TabLayout.js +122 -238
  70. package/Table.js +975 -1447
  71. package/Text.js +335 -549
  72. package/TextArea.js +315 -537
  73. package/Tooltip.js +152 -292
  74. package/TransitionOpen.js +118 -242
  75. package/Typography.js +81 -157
  76. package/WaitSpinner.js +117 -209
  77. package/package.json +20 -21
  78. package/stubs-splunkui.d.ts +4 -1
  79. package/types/src/Breadcrumbs/Breadcrumbs.d.ts +25 -0
  80. package/types/src/Breadcrumbs/Item.d.ts +42 -0
  81. package/types/src/Breadcrumbs/docs/examples/Adornments.d.ts +2 -0
  82. package/types/src/Breadcrumbs/docs/examples/Basic.d.ts +2 -0
  83. package/types/src/Breadcrumbs/index.d.ts +2 -0
  84. package/types/src/Code/Code.d.ts +1 -1
  85. package/types/src/ComboBox/Option.d.ts +1 -1
  86. package/types/src/Concertina/Concertina.d.ts +4 -0
  87. package/types/src/Link/Link.d.ts +12 -3
  88. package/types/src/Link/docs/examples/NewWindow.d.ts +2 -0
  89. package/types/src/Markdown/Markdown.d.ts +1 -1
  90. package/types/src/Markdown/renderers/MarkdownHeading.d.ts +1 -1
  91. package/types/src/Menu/Item.d.ts +1 -1
  92. package/types/src/Menu/Menu.d.ts +1 -0
  93. package/types/src/MessageBar/docs/examples/WithActions.d.ts +2 -0
  94. package/types/src/Multiselect/Compact.d.ts +4 -0
  95. package/types/src/Multiselect/Multiselect.d.ts +5 -0
  96. package/types/src/Multiselect/Option.d.ts +1 -1
  97. package/types/src/Multiselect/docs/examples/CompactSelectAll.d.ts +2 -0
  98. package/types/src/Search/Option.d.ts +1 -1
  99. package/types/src/Select/Option.d.ts +1 -1
  100. package/types/src/Select/OptionBase.d.ts +1 -1
  101. package/types/src/Select/SelectAllOption.d.ts +14 -0
  102. package/types/src/Select/SelectBase.d.ts +11 -3
  103. package/types/src/Table/Table.d.ts +4 -0
  104. package/types/src/Text/Text.d.ts +3 -3
  105. package/types/src/TextArea/TextArea.d.ts +3 -3
  106. package/types/src/fixtures/FetchOptions.d.ts +2 -8
  107. package/useForceUpdate.js +46 -110
  108. package/useKeyPress.js +50 -107
  109. package/usePrevious.js +47 -111
  110. package/useRovingFocus.js +53 -133
  111. package/types/src/Link/docs/examples/NewTab.d.ts +0 -2
  112. package/types/src/Typography/docs/examples/Variants.d.ts +0 -2
  113. /package/types/src/Table/docs/examples/{DockedHeader.d.ts → DockedHeaderScrollbar.d.ts} +0 -0
  114. /package/types/src/Table/docs/examples/prisma/{DockedHeader.d.ts → DockedHeaderScrollbar.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,15 +1,50 @@
1
1
  Change Log
2
2
  ============
3
3
 
4
+ 4.21.0 - October 4, 2023
5
+ ----------
6
+
7
+ New Features:
8
+ * `Link` supports type `string` for `openInNewContext` to customize the default message (SUI-5784).
9
+
10
+ Bug Fixes:
11
+ * Swapped the styles of `Heading`'s `level=5` and `level=6` so that font sizes are ordered correctly (SUI-5668).
12
+ * Note: To continue using the original level 5 styles use level 6 instead and vice versa.
13
+ * `Link` now correctly informs users when a link will open in a new window in Prisma themes (SUI-5784).
14
+ * `Link` has updated screen reader text better describing the `openInNewContext` behavior to users (SUI-5784).
15
+ * `Message` now has increased spacing between icon and text in Prisma themes for `appearance="fill"` (SUI-5755).
16
+ * `Message`'s padding, border, and icon alignment have been adjusted to now match the Splunk Design System (SUI-5524).
17
+ * `TabBar`'s `count` prop is now properly announced to screen readers (SUI-5754).
18
+
19
+ Docs:
20
+ * Added missing documentation for `Markdown`'s `elementRef` prop (SUI-5621).
21
+
22
+ 4.20.0 - September 5, 2023
23
+ ----------
24
+ New Features:
25
+ * New `Breacrumbs` component (SUI-1819).
26
+ * `Code` now supports `language="splunk-spl"` (SUI-5737).
27
+
28
+ Bug Fixes:
29
+ * The loading spinner and loading message in `Select` no longer overlap (SUI-5576).
30
+ * `Popover` handles resize and scroll events only when it's open to improve performance (SUI-5670).
31
+ * Updated `Multiselect` and `Select` components to reduce rerenders (SCP-65071).
32
+ * `Tooltip` and `Popover` no longer detach from the anchor with pinch-to-zoom in Safari (SUI-5408).
33
+
34
+ Deprecations:
35
+ * `Concertina` has been deprecated and will be removed in a future major version (SUI-5741).
36
+
4
37
  4.19.0 - August 1, 2023
5
38
  ----------
6
39
  New Features:
7
40
  * Heading now supports `elementRef` (SUI-5534).
41
+ * `Multiselect` with `compact` displays "Select all/Clear all" as an option when `selectAllAppearance="checkbox"` (SUI-5607).
8
42
 
9
43
  Bug Fixes:
10
44
  * The `TabBar` tooltip now aligns to the center of the `Tab` in Prisma theme (SUI-5598).
11
45
  * Clicking the "clear" button in `ComboBox`, `Multiselect.Compact`, `Search`, `Select`, `Text`, and `TextArea` will no longer cause focus to be lost (SUI-5667).
12
46
  * Updated `Chip`'s background-colors and text-color to fix contrast failures in Enterprise theme (SUI-2836).
47
+ * `Multiselect` with `compact` should no longer take `disabled` or new options into account when determining if "Select All" or "Clear All" should be enabled (SUI-5645).
13
48
 
14
49
  4.18.0 - July 12, 2023
15
50
  ----------