@splunk/react-ui 5.0.0-beta.4 → 5.0.0-beta.5

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 (74) hide show
  1. package/Button.js +3 -1
  2. package/CHANGELOG.md +4 -1
  3. package/CHANGELOG.v5.mdx +35 -0
  4. package/Card.js +163 -162
  5. package/Chip.js +171 -225
  6. package/Clickable.js +79 -76
  7. package/ComboBox.js +1 -1
  8. package/Date.js +160 -184
  9. package/DualListbox.js +439 -504
  10. package/File.js +449 -324
  11. package/FormRows.js +143 -142
  12. package/JSONTree.js +496 -521
  13. package/Layer.js +162 -97
  14. package/Link.js +20 -13
  15. package/MIGRATION.v5.mdx +47 -0
  16. package/Markdown.js +1 -1
  17. package/Message.js +119 -141
  18. package/MessageBar.js +109 -168
  19. package/Multiselect.js +595 -602
  20. package/Popover.js +194 -190
  21. package/Progress.js +68 -54
  22. package/RadioBar.js +4 -1
  23. package/RadioList.js +67 -65
  24. package/Resize.js +377 -265
  25. package/ResultsMenu.js +573 -661
  26. package/ScrollContainerContext.js +13 -9
  27. package/Search.js +1 -1
  28. package/Select.js +206 -199
  29. package/Slider.js +455 -329
  30. package/StepBar.js +2 -2
  31. package/Switch.js +88 -87
  32. package/TabBar.js +322 -317
  33. package/TabLayout.js +34 -34
  34. package/Table.js +548 -525
  35. package/Text.js +20 -19
  36. package/TextArea.js +278 -152
  37. package/Tooltip.js +173 -177
  38. package/Tree.js +2 -2
  39. package/Typography.js +30 -28
  40. package/WaitSpinner.js +6 -11
  41. package/cypress/support/commands.ts +14 -4
  42. package/cypress/support/index.d.ts +1 -1
  43. package/package.json +5 -5
  44. package/stubs-splunkui.d.ts +0 -4
  45. package/types/src/Card/Card.d.ts +3 -1
  46. package/types/src/Card/Header.d.ts +2 -0
  47. package/types/src/Card/docs/examples/HeadingTitle.d.ts +3 -0
  48. package/types/src/Clickable/Clickable.d.ts +11 -3
  49. package/types/src/Link/Link.d.ts +4 -0
  50. package/types/src/Message/Message.d.ts +1 -1
  51. package/types/src/MessageBar/MessageBar.d.ts +1 -1
  52. package/types/src/Multiselect/Multiselect.d.ts +1 -8
  53. package/types/src/Multiselect/Normal.d.ts +1 -7
  54. package/types/src/Multiselect/docs/examples/Children.d.ts +2 -9
  55. package/types/src/Multiselect/docs/examples/Controlled.d.ts +2 -9
  56. package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +2 -9
  57. package/types/src/Multiselect/docs/examples/Disabled.d.ts +2 -9
  58. package/types/src/Multiselect/docs/examples/Error.d.ts +2 -9
  59. package/types/src/Multiselect/docs/examples/Fetching.d.ts +2 -22
  60. package/types/src/Multiselect/docs/examples/Headings.d.ts +2 -1
  61. package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -25
  62. package/types/src/Multiselect/docs/examples/NewValues.d.ts +2 -9
  63. package/types/src/Multiselect/docs/examples/TabInput.d.ts +2 -9
  64. package/types/src/ResultsMenu/ResultsMenu.d.ts +23 -34
  65. package/types/src/Select/SelectBase.d.ts +2 -2
  66. package/types/src/TabBar/TabBar.d.ts +8 -5
  67. package/types/src/TabBar/TabBarContext.d.ts +1 -1
  68. package/types/src/TabLayout/TabLayout.d.ts +8 -5
  69. package/types/src/Typography/Typography.d.ts +27 -22
  70. package/types/src/Date/Icon.d.ts +0 -3
  71. package/types/src/TabBar/docs/examples/IconsAbove.d.ts +0 -3
  72. package/types/src/TabBar/docs/examples/VerticalIconsAbove.d.ts +0 -3
  73. /package/types/src/TabBar/docs/examples/{IconsLeft.d.ts → Icons.d.ts} +0 -0
  74. /package/types/src/TabBar/docs/examples/{VerticalIconsLeft.d.ts → VerticalIcons.d.ts} +0 -0
package/Button.js CHANGED
@@ -171,7 +171,9 @@
171
171
  value: i().any
172
172
  };
173
173
  var I = (0, v._)("(Opens new window)");
174
- var P = r().forwardRef((function(e, n) {
174
+ var P = r().forwardRef((function(e,
175
+ // SUI-7623 - needs to be specified for react-docgen versions less than 7.1.0
176
+ n) {
175
177
  var a = e.action, i = e.appearance, l = i === void 0 ? "default" : i, s = e.append, c = e.children, d = e.className, v = e.classNamePrivate, m = e.disabled, y = e.error, g = e.icon, h = e.inline, w = h === void 0 ? true : h, N = e.isMenu, k = e.label, P = e.onClick, _ = e.openInNewContext, j = e.prepend, M = e.value, E = C(e, [ "action", "appearance", "append", "children", "className", "classNamePrivate", "disabled", "error", "icon", "inline", "isMenu", "label", "onClick", "openInNewContext", "prepend", "value" ]);
176
178
  // @docs-props-type ButtonPropsBase
177
179
  var T = (0, t.useCallback)((function(e) {
package/CHANGELOG.md CHANGED
@@ -1,10 +1,13 @@
1
1
  Change Log
2
2
  ============
3
3
 
4
- 4.45.0 - TBD
4
+ 4.45.0 - May 6, 2025
5
5
  ----------
6
6
  Bug Fixes:
7
7
  * `Table` now displays `cursor: default` when a row is not clickable and is an empty action cell (SUI-7232).
8
+ * `Table` now maintains consistent IDs for expansion rows through renders (SUI-7698).
9
+ * `Layer` will now render at the correct `z-index` when `separateStackingContexts` is set in `LayerStackGlobalProvider` (SUI-7241).
10
+ * `Concertina`, `File`, `Layer`, `Slider`, `Resize`, and `TextArea` will no longer cause issues with server-side rendering (SUI-7737)
8
11
 
9
12
  4.44.1 - April 10, 2025
10
13
  ----------
package/CHANGELOG.v5.mdx CHANGED
@@ -1,6 +1,41 @@
1
1
  Change Log
2
2
  ============
3
3
 
4
+ 5.0.0-beta.5 - May 7, 2025
5
+ ----------
6
+ New Features:
7
+ * `TabBar` supports a new prop `maxTabWidth` prop (SUI-7599).
8
+ * `data-test-disabled` test hook has been added to data entry components for testing (SUI-7575).
9
+ * `Table`'s resize handler now supports hover state (SUI-7302).
10
+ * `Card.Header`'s `truncateTitle` prop now truncates title when a node with text content is passed into `title` prop (SUI-6333).
11
+ * `Typography` has reintroduced the `withReset` prop, which defaults to `true` and removes all browser-default styles while applying theme-specific defaults (SUI-7638).
12
+
13
+ Bug Fixes:
14
+ * `Message` content are now displayed using flow layout instead of flex (SUI-6271).
15
+ * `Progress` performance improved by preventing styled-components from generating excessive classes (SUI-7625).
16
+ * `Tooltip`'s toggletip focus and hover styles now have the correct shape (SUI-6155, SUI-7719).
17
+ * `Card.Header`'s `actions` now center align with the first line of the title (SUI-7657).
18
+ * `Slider` now correctly displays the bar when `minLabel` or `maxLabel` are set to null (SUI-7730).
19
+ * `Slider`'s drag handle no longer covers labels (SUI-7732).
20
+ * `RadioBar` now has improved visual contrast to better differentiate between selected and unselected options (SUI-7654).
21
+ * `Table` now correctly aligns multiline content when it wraps to a new line (SUI-7606).
22
+ * `Prose` should no longer apply margin to the last element (SUI-7227).
23
+ * `Text` now displays the `not-allowed` cursor on adornments when disabled (SUI-7532).
24
+ * `Typography`'s styles are now consistent with equivalent content components (SUI-7638).
25
+ * `Link` will now always render as an `a` tag, even when disabled (SUI-7543).
26
+
27
+ API Changes:
28
+ * `TabBar`'s `tabWidth` prop has been removed. See migration guide for details (SUI-7599).
29
+ * For enforcing a max width of `TabBar.Tab`s use `maxTabWidth` instead.
30
+ * `Multiselect`'s `useClickawayOverlay` prop has been removed (SUI-7722).
31
+
32
+ Deprecations:
33
+ * `TabBar` and `TabLayout`'s `iconPosition` prop has been deprecated and will be removed in the next major version. See the migration guide for details (SUI-7736).
34
+ Bug Fixes:
35
+ * FormRows correctly takes up the full width given (SUI-7716)
36
+ * FormRows no longer reserves extra space for remove button when rows are not removable (SUI-7717)
37
+ * `Card.Header`'s `anchor` prop is deprecated and will be removed in the next major version. See the migration guide for details (SUI-6577).
38
+
4
39
  5.0.0-beta.4 - April 22, 2025
5
40
  ----------
6
41
  New Features: