grommet 2.50.0 → 2.51.0

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.
@@ -166,7 +166,9 @@
166
166
  "upper": "Upper Bounds"
167
167
  },
168
168
  "select": {
169
+ "optionsA11y": "list of options",
169
170
  "multiple": "multiple",
171
+ "searchA11y": "Search options",
170
172
  "selected": "; Selected: {currentSelectedValue}"
171
173
  },
172
174
  "selectMultiple": {
@@ -174,6 +176,7 @@
174
176
  "clearAllA11y": "{selected} options selected. Clear all?",
175
177
  "open": "Open drop",
176
178
  "optionNotSelected": "{optionLabel} not selected",
179
+ "optionsA11y": "list of options",
177
180
  "optionSelected": "{optionLabel} selected",
178
181
  "search": "Search to filter options",
179
182
  "selectAll": "Select All",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grommet",
3
- "version": "2.50.0",
3
+ "version": "2.51.0",
4
4
  "main": "index.js",
5
5
  "module": "es6/index.js",
6
6
  "jsnext:main": "es6/index.js",
@@ -54,30 +54,30 @@
54
54
  "styled-components": "^5.1.0 || ^6.0.0"
55
55
  },
56
56
  "dependencies": {
57
- "@emotion/is-prop-valid": "^1.3.1",
58
- "grommet-icons": "^4.12.4",
57
+ "@emotion/is-prop-valid": "^1.4.0",
58
+ "grommet-icons": "^4.14.0",
59
59
  "markdown-to-jsx": "7.4.4",
60
60
  "prop-types": "^15.8.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@babel/cli": "^7.28.0",
64
- "@babel/core": "^7.28.0",
65
- "@babel/eslint-parser": "^7.28.0",
63
+ "@babel/cli": "^7.28.3",
64
+ "@babel/core": "^7.28.5",
65
+ "@babel/eslint-parser": "^7.28.5",
66
66
  "@babel/node": "^7.28.0",
67
67
  "@babel/plugin-proposal-class-properties": "^7.18.6",
68
- "@babel/plugin-proposal-do-expressions": "^7.28.1",
68
+ "@babel/plugin-proposal-do-expressions": "^7.28.3",
69
69
  "@babel/plugin-proposal-export-default-from": "^7.27.1",
70
70
  "@babel/plugin-proposal-pipeline-operator": "^7.27.1",
71
71
  "@babel/plugin-transform-class-properties": "^7.27.1",
72
- "@babel/plugin-transform-logical-assignment-operators": "^7.27.1",
72
+ "@babel/plugin-transform-logical-assignment-operators": "^7.28.5",
73
73
  "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",
74
- "@babel/plugin-transform-optional-chaining": "^7.27.1",
75
- "@babel/preset-env": "^7.28.0",
76
- "@babel/preset-react": "^7.27.1",
74
+ "@babel/plugin-transform-optional-chaining": "^7.28.5",
75
+ "@babel/preset-env": "^7.28.5",
76
+ "@babel/preset-react": "^7.28.5",
77
77
  "@chromatic-com/storybook": "^3.2.6",
78
- "@eslint/compat": "^1.2.9",
78
+ "@eslint/compat": "^1.4.0",
79
79
  "@eslint/eslintrc": "^3.3.1",
80
- "@eslint/js": "^9.32.0",
80
+ "@eslint/js": "^9.38.0",
81
81
  "@storybook/addon-a11y": "^8.6.14",
82
82
  "@storybook/addon-storysource": "^8.6.14",
83
83
  "@storybook/addon-toolbars": "^8.6.14",
@@ -87,56 +87,56 @@
87
87
  "@storybook/react-webpack5": "^8.6.14",
88
88
  "@storybook/source-loader": "^8.6.14",
89
89
  "@testing-library/dom": "^10.4.1",
90
- "@testing-library/jest-dom": "^6.6.4",
90
+ "@testing-library/jest-dom": "^6.9.1",
91
91
  "@testing-library/react": "^16.3.0",
92
92
  "@testing-library/testcafe": "^5.0.1",
93
93
  "@testing-library/user-event": "^14.6.1",
94
94
  "@types/jest": "^30.0.0",
95
95
  "@types/jest-axe": "^3.5.9",
96
- "@types/node": "^24.1.0",
97
- "@types/react": "^19.1.9",
98
- "@types/react-dom": "^19.1.7",
96
+ "@types/node": "^24.9.1",
97
+ "@types/react": "^19.2.2",
98
+ "@types/react-dom": "^19.2.2",
99
99
  "@types/styled-components": "^5.1.34",
100
100
  "babel-core": "^7.0.0-bridge.0",
101
- "babel-jest": "^30.1.2",
101
+ "babel-jest": "^30.2.0",
102
102
  "babel-loader": "^10.0.0",
103
103
  "babel-plugin-styled-components": "^2.1.4",
104
104
  "babel-plugin-transform-imports": "^2.0.0",
105
105
  "bundlesize2": "^0.0.35",
106
- "chromatic": "^13.1.2",
106
+ "chromatic": "^13.3.1",
107
107
  "clean-webpack-plugin": "^4.0.0",
108
- "copy-webpack-plugin": "^12.0.2",
108
+ "copy-webpack-plugin": "^13.0.1",
109
109
  "copyfiles": "^2.4.1",
110
- "core-js": "^3.44.0",
111
- "cross-env": "^7.0.3",
110
+ "core-js": "^3.46.0",
111
+ "cross-env": "^10.1.0",
112
112
  "del": "^6.1.1",
113
- "eslint": "^9.32.0",
113
+ "eslint": "^9.38.0",
114
114
  "eslint-config-airbnb": "^19.0.4",
115
115
  "eslint-config-prettier": "^10.1.8",
116
116
  "eslint-plugin-babel": "^5.3.1",
117
117
  "eslint-plugin-import": "^2.32.0",
118
118
  "eslint-plugin-jsx-a11y": "^6.10.2",
119
- "eslint-plugin-prettier": "^5.5.3",
119
+ "eslint-plugin-prettier": "^5.5.4",
120
120
  "eslint-plugin-react": "^7.37.5",
121
- "eslint-plugin-react-hooks": "5.2.0",
122
- "eslint-plugin-testing-library": "^7.6.3",
123
- "fs-extra": "^11.3.0",
124
- "globals": "^16.3.0",
125
- "grommet-theme-hpe": "^7.0.1",
126
- "jest": "^30.1.3",
121
+ "eslint-plugin-react-hooks": "7.0.0",
122
+ "eslint-plugin-testing-library": "^7.13.3",
123
+ "fs-extra": "^11.3.2",
124
+ "globals": "^16.4.0",
125
+ "grommet-theme-hpe": "^7.0.2",
126
+ "jest": "^30.2.0",
127
127
  "jest-axe": "^10.0.0",
128
- "jest-cli": "^30.1.3",
129
- "jest-environment-jsdom": "^30.1.2",
128
+ "jest-cli": "^30.2.0",
129
+ "jest-environment-jsdom": "^30.2.0",
130
130
  "jest-styled-components": "7.0.5",
131
- "jsdom": "^26.1.0",
131
+ "jsdom": "^27.0.1",
132
132
  "postcss": "^8.5.6",
133
133
  "pre-commit": "^1.2.2",
134
134
  "prettier": "^2.8.8",
135
135
  "pretty-quick": "^4.2.2",
136
- "react": "19.1.1",
136
+ "react": "19.2.0",
137
137
  "react-dev-utils": "^12.0.1",
138
- "react-dom": "19.1.1",
139
- "react-is": "19.1.1",
138
+ "react-dom": "19.2.0",
139
+ "react-is": "19.2.0",
140
140
  "react-shadow": "^20.6.0",
141
141
  "regenerator-runtime": "^0.14.1",
142
142
  "simple-git": "^3.28.0",
@@ -146,10 +146,10 @@
146
146
  "testcafe": "^3.7.2",
147
147
  "testcafe-react-selectors": "^5.0.3",
148
148
  "testcafe-reporter-xunit": "^2.2.3",
149
- "ts-jest": "^29.4.0",
150
- "ts-loader": "^9.5.2",
151
- "typescript": "^5.8.3",
152
- "webpack": "^5.97.1",
149
+ "ts-jest": "^29.4.5",
150
+ "ts-loader": "^9.5.4",
151
+ "typescript": "^5.9.3",
152
+ "webpack": "^5.102.1",
153
153
  "webpack-cli": "^6.0.1",
154
154
  "webpack-dev-server": "^5.2.2"
155
155
  },
@@ -213,7 +213,7 @@
213
213
  "bundlesize": [
214
214
  {
215
215
  "path": "./dist/grommet.min.js",
216
- "maxSize": "184 kB"
216
+ "maxSize": "192 kB"
217
217
  }
218
218
  ],
219
219
  "keywords": [
package/themes/base.d.ts CHANGED
@@ -1928,6 +1928,7 @@ export interface ThemeType {
1928
1928
  down?: React.ReactNode | Icon;
1929
1929
  up?: React.ReactNode | Icon;
1930
1930
  margin?: MarginType;
1931
+ search?: React.ReactNode | Icon;
1931
1932
  };
1932
1933
  listbox?: {
1933
1934
  extend?: ExtendType;