carbon-react 134.0.0 → 134.0.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.
@@ -137,7 +137,7 @@ const SimpleSelect = /*#__PURE__*/React.forwardRef(({
137
137
  if (readOnly) {
138
138
  return;
139
139
  }
140
- if (key === "Enter" || key === " " || isNavigationKey(key)) {
140
+ if (key === " " || isNavigationKey(key)) {
141
141
  event.preventDefault();
142
142
  setOpenState(isAlreadyOpen => {
143
143
  if (!isAlreadyOpen && onOpen) {
@@ -146,7 +146,7 @@ const SimpleSelect = exports.SimpleSelect = /*#__PURE__*/_react.default.forwardR
146
146
  if (readOnly) {
147
147
  return;
148
148
  }
149
- if (key === "Enter" || key === " " || (0, _isNavigationKey.default)(key)) {
149
+ if (key === " " || (0, _isNavigationKey.default)(key)) {
150
150
  event.preventDefault();
151
151
  setOpenState(isAlreadyOpen => {
152
152
  if (!isAlreadyOpen && onOpen) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "134.0.0",
3
+ "version": "134.0.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",
@@ -24,7 +24,6 @@
24
24
  "build-storybook": "cross-env STORYBOOK_BUILD=true storybook build -c .storybook",
25
25
  "start-storybook": "cross-env STORYBOOK_BUILD=true storybook dev -c .storybook",
26
26
  "start:static": "npx http-server -p 9001 ./storybook-static",
27
- "babel": "cross-env NODE_ENV=production babel ./src --config-file ./babel.config.js --out-dir ./lib --ignore '**/*.spec.js','**/*.spec.ts','**/*.spec.tsx','**/*.d.ts' --quiet --extensions '.js','.ts','.tsx'",
28
27
  "clean-lib": "rimraf ./lib && rimraf ./esm",
29
28
  "commit": "git-cz",
30
29
  "generate-metadata": "node ./scripts/generate_metadata/index.mjs",
@@ -134,13 +133,14 @@
134
133
  "eslint-config-prettier": "^9.1.0",
135
134
  "eslint-plugin-import": "^2.29.0",
136
135
  "eslint-plugin-jest": "^27.6.0",
137
- "eslint-plugin-jest-dom": "^5.1.0",
136
+ "eslint-plugin-jest-dom": "^5.2.0",
138
137
  "eslint-plugin-jsx-a11y": "^6.8.0",
139
138
  "eslint-plugin-mdx": "^3.0.0",
140
139
  "eslint-plugin-no-unsanitized": "^4.0.2",
141
140
  "eslint-plugin-playwright": "^1.6.0",
142
141
  "eslint-plugin-react": "^7.33.2",
143
142
  "eslint-plugin-react-hooks": "^4.6.0",
143
+ "eslint-plugin-testing-library": "^6.2.2",
144
144
  "events": "~1.1.1",
145
145
  "fast-glob": "^3.3.2",
146
146
  "file-loader": "^6.2.0",