grommet 2.53.0 → 2.54.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grommet",
3
- "version": "2.53.0",
3
+ "version": "2.54.0",
4
4
  "main": "index.js",
5
5
  "module": "es6/index.js",
6
6
  "jsnext:main": "es6/index.js",
@@ -60,41 +60,41 @@
60
60
  "prop-types": "^15.8.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@babel/cli": "^7.28.3",
64
- "@babel/core": "^7.28.5",
65
- "@babel/eslint-parser": "^7.28.5",
66
- "@babel/node": "^7.28.0",
63
+ "@babel/cli": "^7.28.6",
64
+ "@babel/core": "^7.29.0",
65
+ "@babel/eslint-parser": "^7.28.6",
66
+ "@babel/node": "^7.29.0",
67
67
  "@babel/plugin-proposal-class-properties": "^7.18.6",
68
- "@babel/plugin-proposal-do-expressions": "^7.28.3",
68
+ "@babel/plugin-proposal-do-expressions": "^7.28.6",
69
69
  "@babel/plugin-proposal-export-default-from": "^7.27.1",
70
- "@babel/plugin-proposal-pipeline-operator": "^7.27.1",
71
- "@babel/plugin-transform-class-properties": "^7.27.1",
72
- "@babel/plugin-transform-logical-assignment-operators": "^7.28.5",
73
- "@babel/plugin-transform-nullish-coalescing-operator": "^7.27.1",
74
- "@babel/plugin-transform-optional-chaining": "^7.28.5",
75
- "@babel/preset-env": "^7.28.5",
70
+ "@babel/plugin-proposal-pipeline-operator": "^7.28.6",
71
+ "@babel/plugin-transform-class-properties": "^7.28.6",
72
+ "@babel/plugin-transform-logical-assignment-operators": "^7.28.6",
73
+ "@babel/plugin-transform-nullish-coalescing-operator": "^7.28.6",
74
+ "@babel/plugin-transform-optional-chaining": "^7.28.6",
75
+ "@babel/preset-env": "^7.29.0",
76
76
  "@babel/preset-react": "^7.28.5",
77
- "@chromatic-com/storybook": "^3.2.6",
78
- "@eslint/compat": "^2.0.0",
79
- "@eslint/eslintrc": "^3.3.3",
80
- "@eslint/js": "^9.39.1",
81
- "@storybook/addon-a11y": "^8.6.15",
82
- "@storybook/addon-storysource": "^8.6.15",
83
- "@storybook/addon-toolbars": "^8.6.15",
77
+ "@chromatic-com/storybook": "^3.2.7",
78
+ "@eslint/compat": "^2.0.2",
79
+ "@eslint/eslintrc": "^3.3.4",
80
+ "@eslint/js": "^9.39.3",
81
+ "@storybook/addon-a11y": "^8.6.17",
82
+ "@storybook/addon-storysource": "^8.6.17",
83
+ "@storybook/addon-toolbars": "^8.6.17",
84
84
  "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
85
- "@storybook/manager-api": "^8.6.15",
86
- "@storybook/react": "^8.6.15",
87
- "@storybook/react-webpack5": "^8.6.15",
88
- "@storybook/source-loader": "^8.6.15",
85
+ "@storybook/manager-api": "^8.6.17",
86
+ "@storybook/react": "^8.6.17",
87
+ "@storybook/react-webpack5": "^8.6.17",
88
+ "@storybook/source-loader": "^8.6.17",
89
89
  "@testing-library/dom": "^10.4.1",
90
90
  "@testing-library/jest-dom": "^6.9.1",
91
- "@testing-library/react": "^16.3.0",
91
+ "@testing-library/react": "^16.3.2",
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": "^25.0.1",
97
- "@types/react": "^19.2.7",
96
+ "@types/node": "^25.3.0",
97
+ "@types/react": "^19.2.14",
98
98
  "@types/react-dom": "^19.2.3",
99
99
  "@types/styled-components": "^5.1.36",
100
100
  "babel-core": "^7.0.0-bridge.0",
@@ -103,24 +103,24 @@
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.3.3",
106
+ "chromatic": "^13.3.5",
107
107
  "clean-webpack-plugin": "^4.0.0",
108
108
  "copy-webpack-plugin": "^13.0.1",
109
109
  "copyfiles": "^2.4.1",
110
- "core-js": "^3.47.0",
110
+ "core-js": "^3.48.0",
111
111
  "cross-env": "^10.1.0",
112
112
  "del": "^6.1.1",
113
- "eslint": "^9.39.1",
113
+ "eslint": "^9.39.3",
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.4",
119
+ "eslint-plugin-prettier": "^5.5.5",
120
120
  "eslint-plugin-react": "^7.37.5",
121
121
  "eslint-plugin-react-hooks": "^7.0.1",
122
- "eslint-plugin-testing-library": "^7.13.6",
123
- "fs-extra": "^11.3.2",
122
+ "eslint-plugin-testing-library": "^7.16.0",
123
+ "fs-extra": "^11.3.3",
124
124
  "globals": "^16.5.0",
125
125
  "grommet-theme-hpe": "^7.0.2",
126
126
  "jest": "^30.2.0",
@@ -128,20 +128,20 @@
128
128
  "jest-cli": "^30.2.0",
129
129
  "jest-environment-jsdom": "^30.2.0",
130
130
  "jest-styled-components": "7.0.5",
131
- "jsdom": "^27.3.0",
131
+ "jsdom": "^27.4.0",
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.2.3",
136
+ "react": "^19.2.4",
137
137
  "react-dev-utils": "^12.0.1",
138
- "react-dom": "^19.2.3",
139
- "react-is": "^19.2.3",
138
+ "react-dom": "^19.2.4",
139
+ "react-is": "^19.2.4",
140
140
  "react-shadow": "^20.6.0",
141
141
  "regenerator-runtime": "^0.14.1",
142
- "simple-git": "^3.30.0",
143
- "storybook": "^8.6.15",
144
- "styled-components": "^6.1.19",
142
+ "simple-git": "^3.32.2",
143
+ "storybook": "^8.6.17",
144
+ "styled-components": "^6.3.11",
145
145
  "tarball-extract": "^0.0.6",
146
146
  "testcafe": "^3.7.4",
147
147
  "testcafe-react-selectors": "^5.0.3",
@@ -149,9 +149,9 @@
149
149
  "ts-jest": "^29.4.6",
150
150
  "ts-loader": "^9.5.4",
151
151
  "typescript": "^5.9.3",
152
- "webpack": "^5.103.0",
152
+ "webpack": "^5.105.2",
153
153
  "webpack-cli": "^6.0.1",
154
- "webpack-dev-server": "^5.2.2"
154
+ "webpack-dev-server": "^5.2.3"
155
155
  },
156
156
  "jest": {
157
157
  "transform": {
package/themes/base.d.ts CHANGED
@@ -1474,6 +1474,11 @@ export interface ThemeType {
1474
1474
  up?: any;
1475
1475
  color?: ColorType;
1476
1476
  };
1477
+ disabled?: {
1478
+ icons?: {
1479
+ color?: ColorType;
1480
+ };
1481
+ };
1477
1482
  };
1478
1483
  meter?: {
1479
1484
  background?: BackgroundType;
package/themes/base.js CHANGED
@@ -1620,6 +1620,11 @@ var generate = exports.generate = function generate(baseSpacing, scale) {
1620
1620
  // up: undefined,
1621
1621
  // color: { dark: undefined, light: undefined },
1622
1622
  }
1623
+ // disabled: {
1624
+ // icons: {
1625
+ // color: undefined,
1626
+ // },
1627
+ // },
1623
1628
  },
1624
1629
  meter: {
1625
1630
  background: {