grommet 2.52.0 → 2.53.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.52.0",
3
+ "version": "2.53.0",
4
4
  "main": "index.js",
5
5
  "module": "es6/index.js",
6
6
  "jsnext:main": "es6/index.js",
@@ -76,16 +76,16 @@
76
76
  "@babel/preset-react": "^7.28.5",
77
77
  "@chromatic-com/storybook": "^3.2.6",
78
78
  "@eslint/compat": "^2.0.0",
79
- "@eslint/eslintrc": "^3.3.1",
79
+ "@eslint/eslintrc": "^3.3.3",
80
80
  "@eslint/js": "^9.39.1",
81
- "@storybook/addon-a11y": "^8.6.14",
82
- "@storybook/addon-storysource": "^8.6.14",
83
- "@storybook/addon-toolbars": "^8.6.14",
81
+ "@storybook/addon-a11y": "^8.6.15",
82
+ "@storybook/addon-storysource": "^8.6.15",
83
+ "@storybook/addon-toolbars": "^8.6.15",
84
84
  "@storybook/addon-webpack5-compiler-babel": "^3.0.6",
85
- "@storybook/manager-api": "^8.6.14",
86
- "@storybook/react": "^8.6.14",
87
- "@storybook/react-webpack5": "^8.6.14",
88
- "@storybook/source-loader": "^8.6.14",
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",
89
89
  "@testing-library/dom": "^10.4.1",
90
90
  "@testing-library/jest-dom": "^6.9.1",
91
91
  "@testing-library/react": "^16.3.0",
@@ -93,10 +93,10 @@
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.10.1",
97
- "@types/react": "^19.2.4",
96
+ "@types/node": "^25.0.1",
97
+ "@types/react": "^19.2.7",
98
98
  "@types/react-dom": "^19.2.3",
99
- "@types/styled-components": "^5.1.35",
99
+ "@types/styled-components": "^5.1.36",
100
100
  "babel-core": "^7.0.0-bridge.0",
101
101
  "babel-jest": "^30.2.0",
102
102
  "babel-loader": "^10.0.0",
@@ -107,7 +107,7 @@
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.46.0",
110
+ "core-js": "^3.47.0",
111
111
  "cross-env": "^10.1.0",
112
112
  "del": "^6.1.1",
113
113
  "eslint": "^9.39.1",
@@ -118,8 +118,8 @@
118
118
  "eslint-plugin-jsx-a11y": "^6.10.2",
119
119
  "eslint-plugin-prettier": "^5.5.4",
120
120
  "eslint-plugin-react": "^7.37.5",
121
- "eslint-plugin-react-hooks": "7.0.0",
122
- "eslint-plugin-testing-library": "^7.13.4",
121
+ "eslint-plugin-react-hooks": "^7.0.1",
122
+ "eslint-plugin-testing-library": "^7.13.6",
123
123
  "fs-extra": "^11.3.2",
124
124
  "globals": "^16.5.0",
125
125
  "grommet-theme-hpe": "^7.0.2",
@@ -128,28 +128,28 @@
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.2.0",
131
+ "jsdom": "^27.3.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.0",
136
+ "react": "^19.2.3",
137
137
  "react-dev-utils": "^12.0.1",
138
- "react-dom": "19.2.0",
139
- "react-is": "19.2.0",
138
+ "react-dom": "^19.2.3",
139
+ "react-is": "^19.2.3",
140
140
  "react-shadow": "^20.6.0",
141
141
  "regenerator-runtime": "^0.14.1",
142
142
  "simple-git": "^3.30.0",
143
- "storybook": "^8.6.14",
143
+ "storybook": "^8.6.15",
144
144
  "styled-components": "^6.1.19",
145
145
  "tarball-extract": "^0.0.6",
146
- "testcafe": "^3.7.2",
146
+ "testcafe": "^3.7.4",
147
147
  "testcafe-react-selectors": "^5.0.3",
148
148
  "testcafe-reporter-xunit": "^2.2.3",
149
- "ts-jest": "^29.4.5",
149
+ "ts-jest": "^29.4.6",
150
150
  "ts-loader": "^9.5.4",
151
151
  "typescript": "^5.9.3",
152
- "webpack": "^5.102.1",
152
+ "webpack": "^5.103.0",
153
153
  "webpack-cli": "^6.0.1",
154
154
  "webpack-dev-server": "^5.2.2"
155
155
  },
package/themes/base.d.ts CHANGED
@@ -468,6 +468,8 @@ export interface ThemeType {
468
468
  variant?: string;
469
469
  };
470
470
  graph?: {
471
+ // remove in v3. Should have been removed in
472
+ // https://github.com/grommet/grommet/pull/3608/
471
473
  colors?: GraphColorsType;
472
474
  };
473
475
  hover?: {
@@ -886,6 +888,7 @@ export interface ThemeType {
886
888
  };
887
889
  };
888
890
  dataChart?: {
891
+ colors?: string[];
889
892
  gap?: GapType;
890
893
  granularity?: {
891
894
  y?: {
@@ -1422,7 +1425,7 @@ export interface ThemeType {
1422
1425
  color?: ColorType;
1423
1426
  cursor?: string;
1424
1427
  };
1425
- gap: GapType;
1428
+ gap?: GapType;
1426
1429
  pinned?: {
1427
1430
  background?: BackgroundType;
1428
1431
  icon?: {
package/themes/base.js CHANGED
@@ -1034,6 +1034,7 @@ var generate = exports.generate = function generate(baseSpacing, scale) {
1034
1034
  }
1035
1035
  },
1036
1036
  dataChart: {
1037
+ // colors: [],
1037
1038
  gap: 'small',
1038
1039
  // granularity: {
1039
1040
  // y: {},