@splunk/react-ui 4.44.0 → 4.44.1
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/CHANGELOG.md +7 -2
- package/ComboBox.js +10 -8
- package/Multiselect.js +12 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
4.44.1 - April 10, 2025
|
|
5
|
+
----------
|
|
6
|
+
Bug Fixes:
|
|
7
|
+
* `Combobox` and `Multiselect` no longer call `onOpen` after selecting a value (SUI-7624).
|
|
8
|
+
|
|
4
9
|
4.44.0 - April 1, 2025
|
|
5
10
|
----------
|
|
6
11
|
New Features:
|
|
@@ -8,11 +13,11 @@ New Features:
|
|
|
8
13
|
* `Date` does not render 'Invalid value' for empty strings when controlled (SUI-5993).
|
|
9
14
|
* `Date` does not revert value for empty strings when uncontrolled (SUI-5993).
|
|
10
15
|
|
|
11
|
-
Bug Fixes:
|
|
16
|
+
Bug Fixes:
|
|
12
17
|
* `StaticContent` supports new prop `labelledBy` (SUI-5326).
|
|
13
18
|
* `Clickable` now displays the `not-allowed` cursor when disabled (SUI-7297).
|
|
14
19
|
* `Table` now renders dynamically added expansionRows (SUI-7403).
|
|
15
|
-
* `ButtonGroup`'s `role` has changed from `menubar` to `group`. Child `Button`'s `role`s have changed from `menuitem` to `button`. See the migration guide for details (SUI-6551).
|
|
20
|
+
* `ButtonGroup`'s `role` has changed from `menubar` to `group`. Child `Button`'s `role`s have changed from `menuitem` to `button`. See the migration guide for details (SUI-6551).
|
|
16
21
|
* `Table`'s resize handler no longer triggers sorting or opening dropdown when `enter` key is pressed (SUI-7320).
|
|
17
22
|
* `Slider`'s disabled state now prevents the appearance of thumb focus when active and displays `not-allowed` cursor on the entire input (SUI-7498).
|
|
18
23
|
* `Table`'s stripe rows now extend all the way across the table for rows without actions (SUI-7232).
|
package/ComboBox.js
CHANGED
|
@@ -654,7 +654,7 @@
|
|
|
654
654
|
}));
|
|
655
655
|
pe(ue(i), "handleInputClick", (function(e) {
|
|
656
656
|
e.stopPropagation();
|
|
657
|
-
if (!i.
|
|
657
|
+
if (!i.props.disabled) {
|
|
658
658
|
i.open();
|
|
659
659
|
}
|
|
660
660
|
}));
|
|
@@ -807,13 +807,15 @@
|
|
|
807
807
|
key: "open",
|
|
808
808
|
value: function e() {
|
|
809
809
|
var t = this;
|
|
810
|
-
this.
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
810
|
+
if (!this.state.open) {
|
|
811
|
+
this.setState({
|
|
812
|
+
open: true,
|
|
813
|
+
activeIndex: 0
|
|
814
|
+
}, (function() {
|
|
815
|
+
var e, n;
|
|
816
|
+
(e = (n = t.props).onOpen) === null || e === void 0 ? void 0 : e.call(n);
|
|
817
|
+
}));
|
|
818
|
+
}
|
|
817
819
|
}
|
|
818
820
|
}, {
|
|
819
821
|
key: "close",
|
package/Multiselect.js
CHANGED
|
@@ -2560,16 +2560,18 @@
|
|
|
2560
2560
|
}));
|
|
2561
2561
|
tn(Yr(a), "open", (function(e) {
|
|
2562
2562
|
var t = e.resetFilterKeyword;
|
|
2563
|
-
a.
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2563
|
+
if (!a.state.open) {
|
|
2564
|
+
a.setState((function(e) {
|
|
2565
|
+
return {
|
|
2566
|
+
filterKeyword: t ? "" : e.filterKeyword,
|
|
2567
|
+
hasFocus: true,
|
|
2568
|
+
open: true
|
|
2569
|
+
};
|
|
2570
|
+
}), (function() {
|
|
2571
|
+
var e, t;
|
|
2572
|
+
(e = (t = a.props).onOpen) === null || e === void 0 ? void 0 : e.call(t);
|
|
2573
|
+
}));
|
|
2574
|
+
}
|
|
2573
2575
|
}));
|
|
2574
2576
|
tn(Yr(a), "handleInputFocus", (function(e) {
|
|
2575
2577
|
if (a.state.filterKeyword !== "") {
|