@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.
- package/Button.js +3 -1
- package/CHANGELOG.md +4 -1
- package/CHANGELOG.v5.mdx +35 -0
- package/Card.js +163 -162
- package/Chip.js +171 -225
- package/Clickable.js +79 -76
- package/ComboBox.js +1 -1
- package/Date.js +160 -184
- package/DualListbox.js +439 -504
- package/File.js +449 -324
- package/FormRows.js +143 -142
- package/JSONTree.js +496 -521
- package/Layer.js +162 -97
- package/Link.js +20 -13
- package/MIGRATION.v5.mdx +47 -0
- package/Markdown.js +1 -1
- package/Message.js +119 -141
- package/MessageBar.js +109 -168
- package/Multiselect.js +595 -602
- package/Popover.js +194 -190
- package/Progress.js +68 -54
- package/RadioBar.js +4 -1
- package/RadioList.js +67 -65
- package/Resize.js +377 -265
- package/ResultsMenu.js +573 -661
- package/ScrollContainerContext.js +13 -9
- package/Search.js +1 -1
- package/Select.js +206 -199
- package/Slider.js +455 -329
- package/StepBar.js +2 -2
- package/Switch.js +88 -87
- package/TabBar.js +322 -317
- package/TabLayout.js +34 -34
- package/Table.js +548 -525
- package/Text.js +20 -19
- package/TextArea.js +278 -152
- package/Tooltip.js +173 -177
- package/Tree.js +2 -2
- package/Typography.js +30 -28
- package/WaitSpinner.js +6 -11
- package/cypress/support/commands.ts +14 -4
- package/cypress/support/index.d.ts +1 -1
- package/package.json +5 -5
- package/stubs-splunkui.d.ts +0 -4
- package/types/src/Card/Card.d.ts +3 -1
- package/types/src/Card/Header.d.ts +2 -0
- package/types/src/Card/docs/examples/HeadingTitle.d.ts +3 -0
- package/types/src/Clickable/Clickable.d.ts +11 -3
- package/types/src/Link/Link.d.ts +4 -0
- package/types/src/Message/Message.d.ts +1 -1
- package/types/src/MessageBar/MessageBar.d.ts +1 -1
- package/types/src/Multiselect/Multiselect.d.ts +1 -8
- package/types/src/Multiselect/Normal.d.ts +1 -7
- package/types/src/Multiselect/docs/examples/Children.d.ts +2 -9
- package/types/src/Multiselect/docs/examples/Controlled.d.ts +2 -9
- package/types/src/Multiselect/docs/examples/CustomizeSelected.d.ts +2 -9
- package/types/src/Multiselect/docs/examples/Disabled.d.ts +2 -9
- package/types/src/Multiselect/docs/examples/Error.d.ts +2 -9
- package/types/src/Multiselect/docs/examples/Fetching.d.ts +2 -22
- package/types/src/Multiselect/docs/examples/Headings.d.ts +2 -1
- package/types/src/Multiselect/docs/examples/LoadMoreOnScrollBottom.d.ts +2 -25
- package/types/src/Multiselect/docs/examples/NewValues.d.ts +2 -9
- package/types/src/Multiselect/docs/examples/TabInput.d.ts +2 -9
- package/types/src/ResultsMenu/ResultsMenu.d.ts +23 -34
- package/types/src/Select/SelectBase.d.ts +2 -2
- package/types/src/TabBar/TabBar.d.ts +8 -5
- package/types/src/TabBar/TabBarContext.d.ts +1 -1
- package/types/src/TabLayout/TabLayout.d.ts +8 -5
- package/types/src/Typography/Typography.d.ts +27 -22
- package/types/src/Date/Icon.d.ts +0 -3
- package/types/src/TabBar/docs/examples/IconsAbove.d.ts +0 -3
- package/types/src/TabBar/docs/examples/VerticalIconsAbove.d.ts +0 -3
- /package/types/src/TabBar/docs/examples/{IconsLeft.d.ts → Icons.d.ts} +0 -0
- /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,
|
|
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 -
|
|
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:
|