carbon-react 104.54.3 → 104.54.4

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.
@@ -414,8 +414,6 @@ const FilterableSelect = /*#__PURE__*/React.forwardRef(({
414
414
  flipEnabled: flipEnabled
415
415
  }, children);
416
416
  return /*#__PURE__*/React.createElement(StyledSelect, _extends({
417
- "aria-expanded": isOpen,
418
- "aria-haspopup": "listbox",
419
417
  ref: containerRef,
420
418
  hasTextCursor: true,
421
419
  readOnly: readOnly,
@@ -427,8 +427,6 @@ const MultiSelect = /*#__PURE__*/React.forwardRef(({
427
427
  multiselectValues: selectedValue
428
428
  }, children);
429
429
  return /*#__PURE__*/React.createElement(StyledSelectMultiSelect, _extends({
430
- "aria-expanded": isOpen,
431
- "aria-haspopup": "listbox",
432
430
  disabled: disabled,
433
431
  readOnly: readOnly,
434
432
  hasTextCursor: true,
@@ -137,7 +137,7 @@ const SelectTextbox = ({
137
137
 
138
138
  const ariaLabelledby = hasTextCursor ? joinIds(labelId, accessibilityLabelId) : joinIds(labelId, textId.current);
139
139
  return {
140
- "aria-expanded": isOpen,
140
+ "aria-expanded": readOnly ? undefined : isOpen,
141
141
  "aria-labelledby": ariaLabelledby || undefined,
142
142
  "aria-activedescendant": activeDescendantId,
143
143
  "aria-controls": ariaControls,
@@ -340,8 +340,6 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
340
340
  transparent: transparent,
341
341
  disabled: disabled,
342
342
  readOnly: readOnly,
343
- "aria-expanded": isOpen,
344
- "aria-haspopup": "listbox",
345
343
  "data-component": dataComponent,
346
344
  "data-role": dataRole,
347
345
  "data-element": dataElement,
@@ -439,8 +439,6 @@ const FilterableSelect = /*#__PURE__*/_react.default.forwardRef(({
439
439
  }, children);
440
440
 
441
441
  return /*#__PURE__*/_react.default.createElement(_select.default, _extends({
442
- "aria-expanded": isOpen,
443
- "aria-haspopup": "listbox",
444
442
  ref: containerRef,
445
443
  hasTextCursor: true,
446
444
  readOnly: readOnly,
@@ -455,8 +455,6 @@ const MultiSelect = /*#__PURE__*/_react.default.forwardRef(({
455
455
  }, children);
456
456
 
457
457
  return /*#__PURE__*/_react.default.createElement(_multiSelect.StyledSelectMultiSelect, _extends({
458
- "aria-expanded": isOpen,
459
- "aria-haspopup": "listbox",
460
458
  disabled: disabled,
461
459
  readOnly: readOnly,
462
460
  hasTextCursor: true,
@@ -158,7 +158,7 @@ const SelectTextbox = ({
158
158
 
159
159
  const ariaLabelledby = hasTextCursor ? joinIds(labelId, accessibilityLabelId) : joinIds(labelId, textId.current);
160
160
  return {
161
- "aria-expanded": isOpen,
161
+ "aria-expanded": readOnly ? undefined : isOpen,
162
162
  "aria-labelledby": ariaLabelledby || undefined,
163
163
  "aria-activedescendant": activeDescendantId,
164
164
  "aria-controls": ariaControls,
@@ -365,8 +365,6 @@ const SimpleSelect = /*#__PURE__*/_react.default.forwardRef(({
365
365
  transparent: transparent,
366
366
  disabled: disabled,
367
367
  readOnly: readOnly,
368
- "aria-expanded": isOpen,
369
- "aria-haspopup": "listbox",
370
368
  "data-component": dataComponent,
371
369
  "data-role": dataRole,
372
370
  "data-element": dataElement,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "104.54.3",
3
+ "version": "104.54.4",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "engineStrict": true,
6
6
  "engines": {
@@ -104,12 +104,12 @@
104
104
  "conventional-changelog-conventionalcommits": "^4.5.0",
105
105
  "core-js": "^3.20.3",
106
106
  "cross-env": "^5.2.0",
107
- "cypress": "^9.2.0",
108
- "cypress-axe": "^0.13.0",
107
+ "cypress": "^9.5.2",
108
+ "cypress-axe": "^0.14.0",
109
109
  "cypress-cucumber-preprocessor": "^4.3.1",
110
- "cypress-each": "^1.10.0",
110
+ "cypress-each": "^1.11.0",
111
111
  "cypress-plugin-tab": "^1.0.5",
112
- "cypress-real-events": "^1.6.0",
112
+ "cypress-real-events": "^1.7.0",
113
113
  "cypress-storybook": "^0.5.1",
114
114
  "cz-conventional-changelog": "^3.3.0",
115
115
  "date-fns-tz": "^1.2.2",