@splunk/react-ui 5.6.0 → 5.7.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/AnchorMenu.js +124 -120
- package/ButtonSimple.js +165 -101
- package/CHANGELOG.md +22 -1
- package/Card.js +147 -137
- package/Menu.js +12 -12
- package/Multiselect.js +3 -0
- package/Slider.js +1 -0
- package/TransitionOpen.js +112 -112
- package/package.json +3 -3
- package/types/src/Button/Button.d.ts +4 -4
- package/types/src/ButtonSimple/ButtonSimple.d.ts +1 -3
- package/types/src/Card/Header.d.ts +6 -1
- package/types/src/Card/docs/examples/Icon.d.ts +7 -0
- package/types/src/Multiselect/Option.d.ts +4 -0
- package/types/src/TransitionOpen/TransitionOpen.d.ts +1 -1
package/ButtonSimple.js
CHANGED
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
r.r(e);
|
|
62
62
|
// EXPORTS
|
|
63
63
|
r.d(e, {
|
|
64
|
-
buttonMixin: () => /* reexport */
|
|
65
|
-
default: () => /* reexport */
|
|
64
|
+
buttonMixin: () => /* reexport */ C,
|
|
65
|
+
default: () => /* reexport */ $
|
|
66
66
|
});
|
|
67
67
|
// CONCATENATED MODULE: external "react"
|
|
68
68
|
const o = require("react");
|
|
@@ -75,23 +75,23 @@
|
|
|
75
75
|
var c = r.n(i);
|
|
76
76
|
// CONCATENATED MODULE: external "@splunk/react-ui/Clickable"
|
|
77
77
|
const l = require("@splunk/react-ui/Clickable");
|
|
78
|
-
var
|
|
78
|
+
var s = r.n(l);
|
|
79
79
|
// CONCATENATED MODULE: external "@splunk/themes"
|
|
80
|
-
const
|
|
80
|
+
const d = require("@splunk/themes");
|
|
81
81
|
// CONCATENATED MODULE: external "lodash/merge"
|
|
82
82
|
const b = require("lodash/merge");
|
|
83
|
-
var
|
|
83
|
+
var u = r.n(b);
|
|
84
84
|
// CONCATENATED MODULE: ./src/ButtonSimple/mixin.ts
|
|
85
|
-
function
|
|
85
|
+
function v(r) {
|
|
86
86
|
"@babel/helpers - typeof";
|
|
87
|
-
return
|
|
87
|
+
return v = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(r) {
|
|
88
88
|
return typeof r;
|
|
89
89
|
} : function(r) {
|
|
90
90
|
return r && "function" == typeof Symbol && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
91
|
-
},
|
|
91
|
+
}, v(r);
|
|
92
92
|
}
|
|
93
|
-
var
|
|
94
|
-
function
|
|
93
|
+
var y = [ "primary", "secondary", "destructive", "destructiveSecondary", "subtle", "standalone" ];
|
|
94
|
+
function p(r) {
|
|
95
95
|
var e = "transparent";
|
|
96
96
|
var o = "transparent";
|
|
97
97
|
var a = "transparent";
|
|
@@ -100,78 +100,78 @@
|
|
|
100
100
|
var i;
|
|
101
101
|
var c;
|
|
102
102
|
var l;
|
|
103
|
-
var
|
|
103
|
+
var s = d.variables.actionColorContentSecondary;
|
|
104
104
|
var b;
|
|
105
|
-
var
|
|
106
|
-
var
|
|
105
|
+
var u = d.variables.actionColorContentSecondaryDisabled;
|
|
106
|
+
var v;
|
|
107
107
|
switch (r) {
|
|
108
108
|
case "primary":
|
|
109
109
|
{
|
|
110
|
-
e =
|
|
111
|
-
o =
|
|
112
|
-
a =
|
|
113
|
-
t =
|
|
114
|
-
|
|
115
|
-
|
|
110
|
+
e = d.variables.actionColorBackgroundPrimary;
|
|
111
|
+
o = d.variables.actionColorBackgroundPrimaryActive;
|
|
112
|
+
a = d.variables.actionColorBackgroundPrimaryDisabled;
|
|
113
|
+
t = d.variables.actionColorBackgroundPrimaryHover;
|
|
114
|
+
s = d.variables.actionColorContentPrimary;
|
|
115
|
+
u = d.variables.actionColorContentPrimaryDisabled;
|
|
116
116
|
break;
|
|
117
117
|
}
|
|
118
118
|
|
|
119
119
|
case "destructive":
|
|
120
120
|
{
|
|
121
|
-
e =
|
|
122
|
-
o =
|
|
123
|
-
a =
|
|
124
|
-
t =
|
|
125
|
-
|
|
126
|
-
|
|
121
|
+
e = d.variables.actionColorBackgroundDestructive;
|
|
122
|
+
o = d.variables.actionColorBackgroundDestructiveActive;
|
|
123
|
+
a = d.variables.actionColorBackgroundDestructiveDisabled;
|
|
124
|
+
t = d.variables.actionColorBackgroundDestructiveHover;
|
|
125
|
+
s = d.variables.actionColorContentDestructive;
|
|
126
|
+
u = d.variables.actionColorContentDestructiveDisabled;
|
|
127
127
|
break;
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
case "destructiveSecondary":
|
|
131
131
|
{
|
|
132
|
-
n =
|
|
133
|
-
i =
|
|
134
|
-
c =
|
|
135
|
-
l =
|
|
136
|
-
e =
|
|
137
|
-
o =
|
|
138
|
-
a =
|
|
139
|
-
t =
|
|
140
|
-
|
|
141
|
-
|
|
132
|
+
n = d.variables.actionColorBorderDestructiveSecondary;
|
|
133
|
+
i = d.variables.actionColorBorderDestructiveSecondaryActive;
|
|
134
|
+
c = d.variables.actionColorBorderDestructiveSecondaryDisabled;
|
|
135
|
+
l = d.variables.actionColorBorderDestructiveSecondaryHover;
|
|
136
|
+
e = d.variables.actionColorBackgroundDestructiveSecondary;
|
|
137
|
+
o = d.variables.actionColorBackgroundDestructiveSecondaryActive;
|
|
138
|
+
a = d.variables.actionColorBackgroundDestructiveSecondaryDisabled;
|
|
139
|
+
t = d.variables.actionColorBackgroundDestructiveSecondaryHover;
|
|
140
|
+
s = d.variables.actionColorContentDestructiveSecondary;
|
|
141
|
+
u = d.variables.actionColorContentDestructiveSecondaryDisabled;
|
|
142
142
|
break;
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
case "secondary":
|
|
146
|
-
n =
|
|
147
|
-
i =
|
|
148
|
-
c =
|
|
149
|
-
l =
|
|
150
|
-
e =
|
|
151
|
-
o =
|
|
152
|
-
t =
|
|
146
|
+
n = d.variables.actionColorBorderSecondary;
|
|
147
|
+
i = d.variables.actionColorBorderSecondaryActive;
|
|
148
|
+
c = d.variables.actionColorBorderSecondaryDisabled;
|
|
149
|
+
l = d.variables.actionColorBorderSecondaryHover;
|
|
150
|
+
e = d.variables.actionColorBackgroundSecondary;
|
|
151
|
+
o = d.variables.actionColorBackgroundSecondaryActive;
|
|
152
|
+
t = d.variables.actionColorBackgroundSecondaryHover;
|
|
153
153
|
break;
|
|
154
154
|
|
|
155
155
|
case "subtle":
|
|
156
|
-
o =
|
|
157
|
-
t =
|
|
158
|
-
b =
|
|
159
|
-
|
|
156
|
+
o = d.variables.actionColorBackgroundSubtleActive;
|
|
157
|
+
t = d.variables.actionColorBackgroundSubtleHover;
|
|
158
|
+
b = d.variables.actionColorContentSubtleActive;
|
|
159
|
+
v = d.variables.actionColorContentSubtleHover;
|
|
160
160
|
break;
|
|
161
161
|
|
|
162
162
|
case "standalone":
|
|
163
|
-
e =
|
|
164
|
-
o =
|
|
165
|
-
t =
|
|
166
|
-
|
|
167
|
-
b =
|
|
168
|
-
|
|
169
|
-
|
|
163
|
+
e = d.variables.actionColorBackgroundSubtle;
|
|
164
|
+
o = d.variables.actionColorBackgroundSubtleActive;
|
|
165
|
+
t = d.variables.actionColorBackgroundSubtleHover;
|
|
166
|
+
s = d.variables.actionColorContentStandalone;
|
|
167
|
+
b = d.variables.actionColorContentStandaloneActive;
|
|
168
|
+
u = d.variables.actionColorContentStandaloneDisabled;
|
|
169
|
+
v = d.variables.actionColorContentStandaloneHover;
|
|
170
170
|
break;
|
|
171
171
|
|
|
172
172
|
default:
|
|
173
173
|
}
|
|
174
|
-
var
|
|
174
|
+
var y = {
|
|
175
175
|
background: e,
|
|
176
176
|
backgroundActive: o,
|
|
177
177
|
backgroundDisabled: a,
|
|
@@ -180,66 +180,130 @@
|
|
|
180
180
|
borderColorActive: i,
|
|
181
181
|
borderColorDisabled: c,
|
|
182
182
|
borderColorHover: l,
|
|
183
|
-
color:
|
|
183
|
+
color: s,
|
|
184
184
|
colorActive: b,
|
|
185
|
-
colorDisabled:
|
|
186
|
-
colorHover:
|
|
185
|
+
colorDisabled: u,
|
|
186
|
+
colorHover: v
|
|
187
187
|
};
|
|
188
|
-
return
|
|
188
|
+
return y;
|
|
189
189
|
}
|
|
190
|
-
function
|
|
191
|
-
var o = typeof r === "string" &&
|
|
190
|
+
function f(r, e) {
|
|
191
|
+
var o = typeof r === "string" && y.includes(r) ? r : undefined;
|
|
192
192
|
var a = {};
|
|
193
193
|
if (o && e !== undefined) {
|
|
194
194
|
a = e;
|
|
195
|
-
} else if (o === undefined &&
|
|
195
|
+
} else if (o === undefined && v(r) === "object" && e === undefined) {
|
|
196
196
|
a = r;
|
|
197
197
|
}
|
|
198
|
-
var t =
|
|
199
|
-
var n =
|
|
200
|
-
var
|
|
198
|
+
var t = p(o);
|
|
199
|
+
var n = u()(t, a), c = n.background, l = n.backgroundActive, s = n.backgroundDisabled, b = n.backgroundDisabledSelected, f = n.backgroundHover, C = n.borderColor, g = n.borderColorActive, S = n.borderColorDisabled, m = n.borderColorHover, k = n.color, D = n.colorActive, O = n.colorDisabled, B = n.colorHover;
|
|
200
|
+
var h = c != null && c !== "transparent";
|
|
201
201
|
return function() {
|
|
202
|
-
return (0, i.css)([ "border:", " solid ", ";border-radius:", ";", " ", " cursor:pointer;position:relative;font-weight:", ";&:focus,&:hover{z-index:3;}&:focus{box-shadow:", ";}&:not([disabled],[aria-disabled='true']){background-color:", ";color:", ";transition:background-color 0.2s,box-shadow 0.2s,text-decoration 0.2s;&:hover{background-color:", ";border-color:", ";color:", ";}&:active{background-color:", ";border-color:", ";color:", ";transition:none;}}&[disabled],&[aria-disabled='true']{border-color:", ";color:", ";", "}" ],
|
|
202
|
+
return (0, i.css)([ "border:", " solid ", ";border-radius:", ";", " ", " cursor:pointer;position:relative;font-weight:", ";&:focus,&:hover{z-index:3;}&:focus{box-shadow:", ";}&:not([disabled],[aria-disabled='true']){background-color:", ";color:", ";transition:background-color 0.2s,box-shadow 0.2s,text-decoration 0.2s;&:hover{background-color:", ";border-color:", ";color:", ";}&:active{background-color:", ";border-color:", ";color:", ";transition:none;}}&[disabled],&[aria-disabled='true']{border-color:", ";color:", ";", "}" ], d.variables.inputBorderWidth, C, d.variables.borderRadius, (function(r) {
|
|
203
203
|
var e = r.$append;
|
|
204
204
|
return e && (0, i.css)([ "border-top-right-radius:0.1px;border-bottom-right-radius:0.1px;border-right:none;" ]);
|
|
205
205
|
}), (function(r) {
|
|
206
206
|
var e = r.$prepend;
|
|
207
207
|
return e && (0, i.css)([ "border-top-left-radius:0.1px;border-bottom-left-radius:0.1px;" ]);
|
|
208
|
-
}),
|
|
208
|
+
}), d.variables.fontWeightSemiBold, d.variables.focusShadow, c, k, f, m, B, l, g, D, S, O, (function(r) {
|
|
209
209
|
var e = r.$selected;
|
|
210
|
-
return
|
|
210
|
+
return h && (0, i.css)([ "background-color:", ";" ], e ? b : s);
|
|
211
211
|
}));
|
|
212
212
|
};
|
|
213
213
|
}
|
|
214
|
-
/* harmony default export */ const
|
|
214
|
+
/* harmony default export */ const C = f;
|
|
215
215
|
// CONCATENATED MODULE: ./src/ButtonSimple/ButtonSimpleStyles.ts
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
216
|
+
function g(r) {
|
|
217
|
+
"@babel/helpers - typeof";
|
|
218
|
+
return g = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(r) {
|
|
219
|
+
return typeof r;
|
|
220
|
+
} : function(r) {
|
|
221
|
+
return r && "function" == typeof Symbol && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
222
|
+
}, g(r);
|
|
223
|
+
}
|
|
224
|
+
function S(r, e) {
|
|
225
|
+
var o = Object.keys(r);
|
|
226
|
+
if (Object.getOwnPropertySymbols) {
|
|
227
|
+
var a = Object.getOwnPropertySymbols(r);
|
|
228
|
+
e && (a = a.filter((function(e) {
|
|
229
|
+
return Object.getOwnPropertyDescriptor(r, e).enumerable;
|
|
230
|
+
}))), o.push.apply(o, a);
|
|
231
|
+
}
|
|
232
|
+
return o;
|
|
233
|
+
}
|
|
234
|
+
function m(r) {
|
|
235
|
+
for (var e = 1; e < arguments.length; e++) {
|
|
236
|
+
var o = null != arguments[e] ? arguments[e] : {};
|
|
237
|
+
e % 2 ? S(Object(o), !0).forEach((function(e) {
|
|
238
|
+
k(r, e, o[e]);
|
|
239
|
+
})) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(o)) : S(Object(o)).forEach((function(e) {
|
|
240
|
+
Object.defineProperty(r, e, Object.getOwnPropertyDescriptor(o, e));
|
|
241
|
+
}));
|
|
242
|
+
}
|
|
243
|
+
return r;
|
|
244
|
+
}
|
|
245
|
+
function k(r, e, o) {
|
|
246
|
+
return (e = D(e)) in r ? Object.defineProperty(r, e, {
|
|
247
|
+
value: o,
|
|
248
|
+
enumerable: !0,
|
|
249
|
+
configurable: !0,
|
|
250
|
+
writable: !0
|
|
251
|
+
}) : r[e] = o, r;
|
|
252
|
+
}
|
|
253
|
+
function D(r) {
|
|
254
|
+
var e = O(r, "string");
|
|
255
|
+
return "symbol" == g(e) ? e : e + "";
|
|
256
|
+
}
|
|
257
|
+
function O(r, e) {
|
|
258
|
+
if ("object" != g(r) || !r) return r;
|
|
259
|
+
var o = r[Symbol.toPrimitive];
|
|
260
|
+
if (void 0 !== o) {
|
|
261
|
+
var a = o.call(r, e || "default");
|
|
262
|
+
if ("object" != g(a)) return a;
|
|
263
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
264
|
+
}
|
|
265
|
+
return ("string" === e ? String : Number)(r);
|
|
266
|
+
}
|
|
267
|
+
var B = {
|
|
268
|
+
borderColor: d.variables.interactiveColorAccentError,
|
|
269
|
+
borderColorActive: d.variables.interactiveColorAccentError,
|
|
270
|
+
borderColorHover: d.mixins.overlayColors(d.variables.interactiveColorAccentError, d.variables.interactiveColorBorderHover)
|
|
220
271
|
};
|
|
221
|
-
|
|
272
|
+
/**
|
|
273
|
+
* When `isMenu` is true, the button should use interactive tokens (e.g. Select) rather than action tokens (e.g. Button).
|
|
274
|
+
*/ var h = {
|
|
275
|
+
color: d.variables.contentColorActive,
|
|
276
|
+
colorDisabled: d.variables.contentColorDisabled,
|
|
277
|
+
borderColor: d.variables.interactiveColorBorder,
|
|
278
|
+
borderColorActive: d.variables.interactiveColorBorderActive,
|
|
279
|
+
borderColorHover: d.variables.interactiveColorBorderHover,
|
|
280
|
+
borderColorDisabled: d.variables.interactiveColorBorderDisabled
|
|
281
|
+
};
|
|
282
|
+
var j = c()(s()).withConfig({
|
|
222
283
|
displayName: "ButtonSimpleStyles__StyledClickable",
|
|
223
284
|
componentId: "vlarwe-0"
|
|
224
|
-
})([ "", " align-items:center;justify-content:center;&:not([disabled],[aria-disabled='true']){", "}", "" ],
|
|
225
|
-
var e = r.$error;
|
|
226
|
-
return e && (0, i.css)([ "", "" ], (0,
|
|
227
|
-
default:
|
|
228
|
-
secondary:
|
|
229
|
-
subtle:
|
|
285
|
+
})([ "", " align-items:center;justify-content:center;&:not([disabled],[aria-disabled='true']){", "}", "" ], d.mixins.reset("flex"), (function(r) {
|
|
286
|
+
var e = r.$error, o = r.$isMenu;
|
|
287
|
+
return e && (0, i.css)([ "", "" ], (0, d.pickVariant)("$variant", {
|
|
288
|
+
default: o ? C("secondary", m(m({}, h), B)) : C("secondary", B),
|
|
289
|
+
secondary: o ? C("secondary", m(m({}, h), B)) : C("secondary", B),
|
|
290
|
+
subtle: C("subtle", B)
|
|
230
291
|
}));
|
|
231
|
-
}), (
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
292
|
+
}), (function(r) {
|
|
293
|
+
var e = r.$isMenu;
|
|
294
|
+
return (0, d.pickVariant)("$variant", {
|
|
295
|
+
default: e ? C("secondary", h) : C("secondary"),
|
|
296
|
+
primary: C("primary"),
|
|
297
|
+
secondary: e ? C("secondary", h) : C("secondary"),
|
|
298
|
+
subtle: C("subtle"),
|
|
299
|
+
destructive: C("destructive"),
|
|
300
|
+
destructiveSecondary: C("destructiveSecondary"),
|
|
301
|
+
standalone: C("standalone")
|
|
302
|
+
});
|
|
239
303
|
}));
|
|
240
304
|
// CONCATENATED MODULE: ./src/ButtonSimple/ButtonSimple.tsx
|
|
241
|
-
function
|
|
242
|
-
return
|
|
305
|
+
function P() {
|
|
306
|
+
return P = Object.assign ? Object.assign.bind() : function(r) {
|
|
243
307
|
for (var e = 1; e < arguments.length; e++) {
|
|
244
308
|
var o = arguments[e];
|
|
245
309
|
for (var a in o) {
|
|
@@ -247,11 +311,11 @@
|
|
|
247
311
|
}
|
|
248
312
|
}
|
|
249
313
|
return r;
|
|
250
|
-
},
|
|
314
|
+
}, P.apply(null, arguments);
|
|
251
315
|
}
|
|
252
|
-
function
|
|
316
|
+
function w(r, e) {
|
|
253
317
|
if (null == r) return {};
|
|
254
|
-
var o, a, t =
|
|
318
|
+
var o, a, t = A(r, e);
|
|
255
319
|
if (Object.getOwnPropertySymbols) {
|
|
256
320
|
var n = Object.getOwnPropertySymbols(r);
|
|
257
321
|
for (a = 0; a < n.length; a++) {
|
|
@@ -260,7 +324,7 @@
|
|
|
260
324
|
}
|
|
261
325
|
return t;
|
|
262
326
|
}
|
|
263
|
-
function
|
|
327
|
+
function A(r, e) {
|
|
264
328
|
if (null == r) return {};
|
|
265
329
|
var o = {};
|
|
266
330
|
for (var a in r) {
|
|
@@ -271,7 +335,7 @@
|
|
|
271
335
|
}
|
|
272
336
|
return o;
|
|
273
337
|
}
|
|
274
|
-
var
|
|
338
|
+
var H = {
|
|
275
339
|
action: n().string,
|
|
276
340
|
appearance: n().oneOf([ "default", "secondary", "primary", "destructive", "destructiveSecondary", "subtle", "standalone" ]),
|
|
277
341
|
append: n().bool,
|
|
@@ -284,24 +348,24 @@
|
|
|
284
348
|
prepend: n().bool,
|
|
285
349
|
to: n().string
|
|
286
350
|
};
|
|
287
|
-
var
|
|
288
|
-
var o = r.appearance, t = o === void 0 ? "default" : o, n = r.append, i = r.children, c = r.disabled, l = r.error,
|
|
351
|
+
var x = a().forwardRef((function(r, e) {
|
|
352
|
+
var o = r.appearance, t = o === void 0 ? "default" : o, n = r.append, i = r.children, c = r.disabled, l = r.error, s = r.isMenu, d = r.prepend, b = w(r, [ "appearance", "append", "children", "disabled", "error", "isMenu", "prepend" ]);
|
|
289
353
|
// @docs-props-type ButtonSimplePropsBase
|
|
290
354
|
|
|
291
|
-
return a().createElement(
|
|
355
|
+
return a().createElement(j, P({
|
|
292
356
|
"aria-invalid": l,
|
|
293
357
|
"data-test": "button-simple",
|
|
294
358
|
disabled: c,
|
|
295
359
|
$variant: t,
|
|
296
360
|
$append: n,
|
|
297
|
-
$prepend:
|
|
361
|
+
$prepend: d,
|
|
298
362
|
$error: l,
|
|
299
|
-
$isMenu:
|
|
363
|
+
$isMenu: s,
|
|
300
364
|
ref: e
|
|
301
365
|
}, b), i);
|
|
302
366
|
}));
|
|
303
|
-
|
|
304
|
-
/* harmony default export */ const
|
|
367
|
+
x.propTypes = H;
|
|
368
|
+
/* harmony default export */ const $ = x;
|
|
305
369
|
// only for styled-components that wrap ButtonSimple
|
|
306
370
|
// CONCATENATED MODULE: ./src/ButtonSimple/index.ts
|
|
307
371
|
module.exports = e;
|
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,32 @@
|
|
|
1
1
|
Change Log
|
|
2
2
|
============
|
|
3
3
|
|
|
4
|
+
5.7.1 - January 6, 2026
|
|
5
|
+
----------
|
|
6
|
+
Bug Fixes:
|
|
7
|
+
* `TransitionOpen` now adjusts to change in content size (SUI-8518).
|
|
8
|
+
|
|
9
|
+
5.7.0 - December 10, 2025
|
|
10
|
+
----------
|
|
11
|
+
New Features:
|
|
12
|
+
* `Card.Header` now supports a new `icon` prop (SUI-8473).
|
|
13
|
+
|
|
14
|
+
Bug Fixes:
|
|
15
|
+
* `Card.Header`'s text is now aligned properly when it's positioned below `Card.Body`.
|
|
16
|
+
* `Button` uses interactive tokens for styling when `isMenu={true}` (SUI-8354).
|
|
17
|
+
* Fixes styling for `Select` in magnetic themes.
|
|
18
|
+
* `Menu.Item` no longer reports a `PropTypes` error for `role="link"` (SUI-8393).
|
|
19
|
+
* `AnchorMenu`'s `label` will no longer collapse when the number of items exceeds the page height.
|
|
20
|
+
* `Slider`'s thumb will no longer submit a `form` (SUI-8463).
|
|
21
|
+
|
|
22
|
+
Docs:
|
|
23
|
+
* `Multiselect.Option`'s unsupported `elementRef` prop was removed from documentation (SUI-8286).
|
|
24
|
+
|
|
4
25
|
5.6.0 - December 3, 2025
|
|
5
26
|
----------
|
|
6
27
|
New Features:
|
|
7
28
|
* New `AnchorMenu` component (SUI-8367).
|
|
8
|
-
* `Menu.Item` now supports `role="link" (SUI-8393).
|
|
29
|
+
* `Menu.Item` now supports `role="link"` (SUI-8393).
|
|
9
30
|
|
|
10
31
|
Bug Fixes:
|
|
11
32
|
* `Multiselect` now retains new values when select all is used (SUI-8402).
|