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/components/DataChart/DataChart.js +9 -4
- package/components/DataTableColumns/DataTableColumns.js +47 -26
- package/components/DataTableColumns/index.d.ts +1 -0
- package/components/DataTableColumns/propTypes.js +1 -0
- package/components/DataTableColumns/stories/OrderColumns.stories.js +48 -0
- package/components/DataTableColumns/stories/SelectColumns.stories.js +48 -0
- package/components/List/List.js +6 -4
- package/es6/components/DataChart/DataChart.js +9 -4
- package/es6/components/DataTableColumns/DataTableColumns.js +47 -26
- package/es6/components/DataTableColumns/index.d.ts +1 -0
- package/es6/components/DataTableColumns/propTypes.js +1 -0
- package/es6/components/DataTableColumns/stories/OrderColumns.stories.js +44 -0
- package/es6/components/DataTableColumns/stories/SelectColumns.stories.js +44 -0
- package/es6/components/List/List.js +6 -4
- package/es6/themes/base.d.ts +4 -1
- package/es6/themes/base.js +1 -0
- package/grommet.min.js +1 -1
- package/grommet.min.js.map +1 -1
- package/package.json +23 -23
- package/themes/base.d.ts +4 -1
- package/themes/base.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grommet",
|
|
3
|
-
"version": "2.
|
|
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.
|
|
79
|
+
"@eslint/eslintrc": "^3.3.3",
|
|
80
80
|
"@eslint/js": "^9.39.1",
|
|
81
|
-
"@storybook/addon-a11y": "^8.6.
|
|
82
|
-
"@storybook/addon-storysource": "^8.6.
|
|
83
|
-
"@storybook/addon-toolbars": "^8.6.
|
|
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.
|
|
86
|
-
"@storybook/react": "^8.6.
|
|
87
|
-
"@storybook/react-webpack5": "^8.6.
|
|
88
|
-
"@storybook/source-loader": "^8.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",
|
|
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": "^
|
|
97
|
-
"@types/react": "^19.2.
|
|
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.
|
|
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.
|
|
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.
|
|
122
|
-
"eslint-plugin-testing-library": "^7.13.
|
|
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.
|
|
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.
|
|
136
|
+
"react": "^19.2.3",
|
|
137
137
|
"react-dev-utils": "^12.0.1",
|
|
138
|
-
"react-dom": "19.2.
|
|
139
|
-
"react-is": "19.2.
|
|
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.
|
|
143
|
+
"storybook": "^8.6.15",
|
|
144
144
|
"styled-components": "^6.1.19",
|
|
145
145
|
"tarball-extract": "^0.0.6",
|
|
146
|
-
"testcafe": "^3.7.
|
|
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.
|
|
149
|
+
"ts-jest": "^29.4.6",
|
|
150
150
|
"ts-loader": "^9.5.4",
|
|
151
151
|
"typescript": "^5.9.3",
|
|
152
|
-
"webpack": "^5.
|
|
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
|
|
1428
|
+
gap?: GapType;
|
|
1426
1429
|
pinned?: {
|
|
1427
1430
|
background?: BackgroundType;
|
|
1428
1431
|
icon?: {
|