@ssa-ui-kit/core 2.27.2 → 2.27.3
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/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -4873,7 +4873,7 @@ const Dropdown = ({
|
|
|
4873
4873
|
const onChange = item => {
|
|
4874
4874
|
const innerItem = options.filter(option => option.value === item)[0];
|
|
4875
4875
|
setIsOpen(false);
|
|
4876
|
-
if (isDisabled || !
|
|
4876
|
+
if (isDisabled || !innerItem) {
|
|
4877
4877
|
return;
|
|
4878
4878
|
}
|
|
4879
4879
|
if (innerItem.value === activeItem?.value) {
|
|
@@ -11358,6 +11358,7 @@ const NavContentToggle = ({
|
|
|
11358
11358
|
children: (0,jsx_runtime_namespaceObject.jsx)("label", {
|
|
11359
11359
|
htmlFor: id,
|
|
11360
11360
|
"data-testid": "collapsible-nav-content-toggle-label",
|
|
11361
|
+
"aria-expanded": isChecked,
|
|
11361
11362
|
css: CollapsibleNavContentToggle_ref,
|
|
11362
11363
|
children: (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
11363
11364
|
name: isChecked ? 'carrot-left' : 'carrot-right',
|