grommet 2.41.0 → 2.43.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/all/stories/Colors.js +6 -6
- package/components/Accordion/stories/CustomThemed/Rich.tsx +1 -1
- package/components/AccordionPanel/AccordionPanel.js +1 -7
- package/components/Box/Box.js +1 -1
- package/components/Box/StyledBox.js +1 -6
- package/components/Box/index.d.ts +1 -0
- package/components/Box/propTypes.js +1 -0
- package/components/Box/stories/Background.js +4 -10
- package/components/Button/Button.js +1 -0
- package/components/Button/StyledButton.js +3 -2
- package/components/Calendar/Calendar.js +96 -59
- package/components/Calendar/StyledCalendar.js +89 -7
- package/components/Calendar/utils.js +16 -2
- package/components/Card/stories/Simple.js +2 -2
- package/components/Carousel/Carousel.js +1 -1
- package/components/Chart/Chart.js +3 -3
- package/components/CheckBox/CheckBox.js +3 -2
- package/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
- package/components/Clock/Digital.js +1 -1
- package/components/Data/stories/Cards.js +3 -2
- package/components/Data/stories/Infinite.js +2 -2
- package/components/Data/stories/OnSelect.js +2 -2
- package/components/Data/stories/Properties.js +3 -2
- package/components/Data/stories/SpaceX.js +2 -2
- package/components/Data/stories/StarWars.js +1 -1
- package/components/DataFilter/DataFilter.js +1 -1
- package/components/DataSort/DataSort.js +46 -14
- package/components/DataSort/stories/Simple.js +10 -1
- package/components/DataTable/Body.js +14 -8
- package/components/DataTable/GroupedBody.js +3 -3
- package/components/DataTable/buildState.js +5 -1
- package/components/DataTable/stories/SpaceX.js +2 -2
- package/components/DataTable/stories/SpaceXUngrouped.js +1 -1
- package/components/FileInput/index.d.ts +2 -3
- package/components/FormField/FormField.js +9 -2
- package/components/FormField/stories/ThresholdValidation.js +5 -1
- package/components/Grommet/index.d.ts +19 -1
- package/components/Grommet/propTypes.js +18 -0
- package/components/Grommet/stories/Theme.js +1 -1
- package/components/Grommet/stories/Vars.js +2 -2
- package/components/Layer/Layer.js +1 -1
- package/components/Layer/index.d.ts +2 -0
- package/components/List/List.js +43 -13
- package/components/List/stories/RenderedList.js +1 -1
- package/components/Meter/Circle.js +2 -2
- package/components/Meter/Meter.js +36 -17
- package/components/Meter/index.d.ts +18 -0
- package/components/Meter/propTypes.js +18 -0
- package/components/Notification/Notification.js +18 -6
- package/components/Notification/index.d.ts +1 -0
- package/components/Notification/propTypes.js +1 -0
- package/components/Pagination/Pagination.js +4 -2
- package/components/Pagination/stories/CustomThemed/Custom.tsx +8 -2
- package/components/Pagination/stories/NumberEdgePages.js +2 -0
- package/components/Pagination/stories/NumberMiddlePages.js +2 -0
- package/components/Pagination/stories/Simple.js +4 -2
- package/components/Pagination/stories/Size.js +3 -0
- package/components/Pagination/stories/Steps.js +3 -0
- package/components/RadioButton/RadioButton.js +14 -3
- package/components/RadioButton/stories/Children.js +16 -3
- package/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/components/RadioButtonGroup/stories/Children.js +13 -1
- package/components/Select/Select.js +7 -3
- package/components/Select/SelectContainer.js +41 -34
- package/components/Select/index.d.ts +1 -1
- package/components/Select/utils.js +13 -2
- package/components/SelectMultiple/SelectMultiple.js +10 -0
- package/components/SelectMultiple/SelectMultipleContainer.js +28 -2
- package/components/SelectMultiple/SelectMultipleValue.js +14 -1
- package/components/SkipLinks/index.d.ts +1 -0
- package/components/SkipLinks/propTypes.js +1 -0
- package/components/Tab/Tab.js +1 -1
- package/components/Tabs/stories/Scrollable.js +2 -1
- package/components/Tag/Tag.js +11 -7
- package/components/TextInput/TextInput.js +7 -2
- package/components/ToggleGroup/StyledToggleGroup.js +12 -5
- package/components/ToggleGroup/ToggleGroup.js +21 -10
- package/components/WorldMap/WorldMap.js +1 -1
- package/es6/all/stories/Colors.js +6 -6
- package/es6/components/Accordion/stories/CustomThemed/Rich.tsx +1 -1
- package/es6/components/AccordionPanel/AccordionPanel.js +2 -9
- package/es6/components/Box/Box.js +1 -1
- package/es6/components/Box/StyledBox.js +1 -6
- package/es6/components/Box/index.d.ts +1 -0
- package/es6/components/Box/propTypes.js +1 -0
- package/es6/components/Box/stories/Background.js +4 -10
- package/es6/components/Button/Button.js +1 -0
- package/es6/components/Button/StyledButton.js +4 -3
- package/es6/components/Calendar/Calendar.js +95 -59
- package/es6/components/Calendar/StyledCalendar.js +90 -8
- package/es6/components/Calendar/utils.js +15 -1
- package/es6/components/Card/stories/Simple.js +3 -3
- package/es6/components/Carousel/Carousel.js +1 -1
- package/es6/components/Chart/Chart.js +3 -3
- package/es6/components/CheckBox/CheckBox.js +3 -2
- package/es6/components/CheckBoxGroup/CheckBoxGroup.js +1 -1
- package/es6/components/Clock/Digital.js +1 -1
- package/es6/components/Data/stories/Cards.js +4 -3
- package/es6/components/Data/stories/Infinite.js +2 -2
- package/es6/components/Data/stories/OnSelect.js +2 -2
- package/es6/components/Data/stories/Properties.js +4 -3
- package/es6/components/Data/stories/SpaceX.js +2 -2
- package/es6/components/Data/stories/StarWars.js +1 -1
- package/es6/components/DataFilter/DataFilter.js +1 -1
- package/es6/components/DataSort/DataSort.js +46 -14
- package/es6/components/DataSort/stories/Simple.js +10 -1
- package/es6/components/DataTable/Body.js +14 -8
- package/es6/components/DataTable/GroupedBody.js +3 -3
- package/es6/components/DataTable/buildState.js +5 -1
- package/es6/components/DataTable/stories/SpaceX.js +2 -2
- package/es6/components/DataTable/stories/SpaceXUngrouped.js +1 -1
- package/es6/components/FileInput/index.d.ts +2 -3
- package/es6/components/FormField/FormField.js +10 -3
- package/es6/components/FormField/stories/ThresholdValidation.js +5 -1
- package/es6/components/Grommet/index.d.ts +19 -1
- package/es6/components/Grommet/propTypes.js +18 -0
- package/es6/components/Grommet/stories/Theme.js +1 -1
- package/es6/components/Grommet/stories/Vars.js +2 -2
- package/es6/components/Layer/Layer.js +1 -1
- package/es6/components/Layer/index.d.ts +2 -0
- package/es6/components/List/List.js +43 -13
- package/es6/components/List/stories/RenderedList.js +1 -1
- package/es6/components/Meter/Circle.js +2 -2
- package/es6/components/Meter/Meter.js +37 -18
- package/es6/components/Meter/index.d.ts +18 -0
- package/es6/components/Meter/propTypes.js +18 -0
- package/es6/components/Notification/Notification.js +18 -6
- package/es6/components/Notification/index.d.ts +1 -0
- package/es6/components/Notification/propTypes.js +1 -0
- package/es6/components/Pagination/Pagination.js +4 -2
- package/es6/components/Pagination/stories/CustomThemed/Custom.tsx +8 -2
- package/es6/components/Pagination/stories/NumberEdgePages.js +2 -0
- package/es6/components/Pagination/stories/NumberMiddlePages.js +2 -0
- package/es6/components/Pagination/stories/Simple.js +4 -2
- package/es6/components/Pagination/stories/Size.js +3 -0
- package/es6/components/Pagination/stories/Steps.js +3 -0
- package/es6/components/RadioButton/RadioButton.js +15 -4
- package/es6/components/RadioButton/stories/Children.js +16 -3
- package/es6/components/RadioButtonGroup/RadioButtonGroup.js +1 -1
- package/es6/components/RadioButtonGroup/stories/Children.js +12 -1
- package/es6/components/Select/Select.js +8 -4
- package/es6/components/Select/SelectContainer.js +41 -34
- package/es6/components/Select/index.d.ts +1 -1
- package/es6/components/Select/utils.js +15 -3
- package/es6/components/SelectMultiple/SelectMultiple.js +10 -0
- package/es6/components/SelectMultiple/SelectMultipleContainer.js +28 -2
- package/es6/components/SelectMultiple/SelectMultipleValue.js +14 -1
- package/es6/components/SkipLinks/index.d.ts +1 -0
- package/es6/components/SkipLinks/propTypes.js +1 -0
- package/es6/components/Tab/Tab.js +1 -1
- package/es6/components/Tabs/stories/Scrollable.js +2 -1
- package/es6/components/Tag/Tag.js +11 -7
- package/es6/components/TextInput/TextInput.js +7 -2
- package/es6/components/ToggleGroup/StyledToggleGroup.js +12 -5
- package/es6/components/ToggleGroup/ToggleGroup.js +22 -11
- package/es6/components/WorldMap/WorldMap.js +1 -1
- package/es6/languages/default.json +18 -0
- package/es6/themes/base.d.ts +204 -6
- package/es6/themes/base.js +165 -1
- package/es6/utils/background.js +1 -1
- package/es6/utils/index.js +2 -1
- package/es6/utils/styles.js +8 -0
- package/es6/utils/useId.js +17 -0
- package/grommet.min.js +1 -1
- package/grommet.min.js.map +1 -1
- package/languages/default.json +18 -0
- package/package.json +36 -36
- package/themes/base.d.ts +204 -6
- package/themes/base.js +165 -1
- package/utils/background.js +1 -1
- package/utils/index.js +6 -0
- package/utils/styles.js +9 -1
- package/utils/useId.js +22 -0
- package/components/CheckBox/stories/InsideButton.js +0 -38
- package/es6/components/CheckBox/stories/InsideButton.js +0 -32
package/languages/default.json
CHANGED
|
@@ -104,6 +104,24 @@
|
|
|
104
104
|
"openMenu": "Open Menu",
|
|
105
105
|
"closeMenu": "Close Menu"
|
|
106
106
|
},
|
|
107
|
+
"meter": {
|
|
108
|
+
"bar": {
|
|
109
|
+
"singular": "Bar meter with value {meterValue} out of {max}",
|
|
110
|
+
"plural": "Bar meter with values {meterValue} out of {max}"
|
|
111
|
+
},
|
|
112
|
+
"circle": {
|
|
113
|
+
"singular": "Circle meter with value {meterValue} out of {max}",
|
|
114
|
+
"plural": "Circle meter with values {meterValue} out of {max}"
|
|
115
|
+
},
|
|
116
|
+
"pie": {
|
|
117
|
+
"singular": "Pie meter with value {meterValue} out of {max}",
|
|
118
|
+
"plural": "Pie meter with values {meterValue} out of {max}"
|
|
119
|
+
},
|
|
120
|
+
"semicircle": {
|
|
121
|
+
"singular": "Semicircle meter with value {meterValue} out of {max}",
|
|
122
|
+
"plural": "Semicircle meter with values {meterValue} out of {max}"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
107
125
|
"pagination": {
|
|
108
126
|
"stepLabel": "Items per page",
|
|
109
127
|
"summary": "Showing {start}-{end} of {total}",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "grommet",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.43.0",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"module": "es6/index.js",
|
|
6
6
|
"jsnext:main": "es6/index.js",
|
|
@@ -54,27 +54,27 @@
|
|
|
54
54
|
"styled-components": "^5.1.0 || ^6.0.0"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@emotion/is-prop-valid": "^1.
|
|
57
|
+
"@emotion/is-prop-valid": "^1.3.1",
|
|
58
58
|
"grommet-icons": "^4.12.1",
|
|
59
|
-
"hoist-non-react-statics": "^3.2
|
|
59
|
+
"hoist-non-react-statics": "^3.3.2",
|
|
60
60
|
"markdown-to-jsx": "7.4.4",
|
|
61
61
|
"prop-types": "^15.8.1"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@babel/cli": "^7.25.
|
|
65
|
-
"@babel/core": "^7.
|
|
66
|
-
"@babel/eslint-parser": "^7.25.
|
|
67
|
-
"@babel/node": "^7.
|
|
64
|
+
"@babel/cli": "^7.25.9",
|
|
65
|
+
"@babel/core": "^7.26.0",
|
|
66
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
67
|
+
"@babel/node": "^7.26.0",
|
|
68
68
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
69
|
-
"@babel/plugin-proposal-do-expressions": "^7.
|
|
70
|
-
"@babel/plugin-proposal-export-default-from": "^7.
|
|
71
|
-
"@babel/plugin-proposal-pipeline-operator": "^7.
|
|
72
|
-
"@babel/plugin-transform-class-properties": "^7.25.
|
|
73
|
-
"@babel/plugin-transform-logical-assignment-operators": "^7.
|
|
74
|
-
"@babel/plugin-transform-nullish-coalescing-operator": "^7.
|
|
75
|
-
"@babel/plugin-transform-optional-chaining": "^7.
|
|
76
|
-
"@babel/preset-env": "^7.
|
|
77
|
-
"@babel/preset-react": "^7.
|
|
69
|
+
"@babel/plugin-proposal-do-expressions": "^7.25.9",
|
|
70
|
+
"@babel/plugin-proposal-export-default-from": "^7.25.9",
|
|
71
|
+
"@babel/plugin-proposal-pipeline-operator": "^7.25.9",
|
|
72
|
+
"@babel/plugin-transform-class-properties": "^7.25.9",
|
|
73
|
+
"@babel/plugin-transform-logical-assignment-operators": "^7.25.9",
|
|
74
|
+
"@babel/plugin-transform-nullish-coalescing-operator": "^7.25.9",
|
|
75
|
+
"@babel/plugin-transform-optional-chaining": "^7.25.9",
|
|
76
|
+
"@babel/preset-env": "^7.26.0",
|
|
77
|
+
"@babel/preset-react": "^7.25.9",
|
|
78
78
|
"@storybook/addon-a11y": "7.0.20",
|
|
79
79
|
"@storybook/addon-storysource": "7.0.20",
|
|
80
80
|
"@storybook/addon-toolbars": "7.0.20",
|
|
@@ -83,48 +83,48 @@
|
|
|
83
83
|
"@storybook/react-webpack5": "7.0.20",
|
|
84
84
|
"@storybook/source-loader": "7.0.20",
|
|
85
85
|
"@testing-library/dom": "^10.4.0",
|
|
86
|
-
"@testing-library/jest-dom": "^6.
|
|
86
|
+
"@testing-library/jest-dom": "^6.6.3",
|
|
87
87
|
"@testing-library/react": "^16.0.1",
|
|
88
88
|
"@testing-library/testcafe": "^5.0.1",
|
|
89
89
|
"@testing-library/user-event": "^14.5.2",
|
|
90
|
-
"@types/jest": "^29.5.
|
|
90
|
+
"@types/jest": "^29.5.14",
|
|
91
91
|
"@types/jest-axe": "^3.5.9",
|
|
92
|
-
"@types/node": "^22.
|
|
93
|
-
"@types/react": "^18.3.
|
|
94
|
-
"@types/react-dom": "^18.3.
|
|
92
|
+
"@types/node": "^22.9.0",
|
|
93
|
+
"@types/react": "^18.3.12",
|
|
94
|
+
"@types/react-dom": "^18.3.1",
|
|
95
95
|
"@types/styled-components": "^5.1.34",
|
|
96
96
|
"babel-core": "^7.0.0-bridge.0",
|
|
97
97
|
"babel-jest": "^29.7.0",
|
|
98
|
-
"babel-loader": "^9.1
|
|
98
|
+
"babel-loader": "^9.2.1",
|
|
99
99
|
"babel-plugin-styled-components": "^2.1.4",
|
|
100
100
|
"babel-plugin-transform-imports": "^2.0.0",
|
|
101
101
|
"bundlesize2": "^0.0.31",
|
|
102
|
-
"chromatic": "^11.
|
|
102
|
+
"chromatic": "^11.18.1",
|
|
103
103
|
"clean-webpack-plugin": "^4.0.0",
|
|
104
104
|
"copy-webpack-plugin": "^12.0.2",
|
|
105
105
|
"copyfiles": "^2.4.1",
|
|
106
|
-
"core-js": "^3.
|
|
106
|
+
"core-js": "^3.39.0",
|
|
107
107
|
"cross-env": "^7.0.3",
|
|
108
108
|
"del": "^6.1.1",
|
|
109
109
|
"eslint": "^8.57.0",
|
|
110
110
|
"eslint-config-airbnb": "^19.0.4",
|
|
111
111
|
"eslint-config-prettier": "^9.1.0",
|
|
112
112
|
"eslint-plugin-babel": "^5.3.1",
|
|
113
|
-
"eslint-plugin-import": "^2.
|
|
114
|
-
"eslint-plugin-jsx-a11y": "^6.10.
|
|
113
|
+
"eslint-plugin-import": "^2.31.0",
|
|
114
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
115
115
|
"eslint-plugin-prettier": "4.2.1",
|
|
116
|
-
"eslint-plugin-react": "^7.
|
|
117
|
-
"eslint-plugin-react-hooks": "^
|
|
118
|
-
"eslint-plugin-testing-library": "^6.
|
|
116
|
+
"eslint-plugin-react": "^7.37.2",
|
|
117
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
118
|
+
"eslint-plugin-testing-library": "^6.4.0",
|
|
119
119
|
"fs-extra": "^11.2.0",
|
|
120
|
-
"grommet-theme-hpe": "^5.
|
|
120
|
+
"grommet-theme-hpe": "^5.7.0",
|
|
121
121
|
"jest": "^29.7.0",
|
|
122
122
|
"jest-axe": "^9.0.0",
|
|
123
123
|
"jest-cli": "^29.7.0",
|
|
124
124
|
"jest-environment-jsdom": "^29.7.0",
|
|
125
125
|
"jest-styled-components": "7.0.5",
|
|
126
|
-
"jsdom": "^
|
|
127
|
-
"postcss": "^8.4.
|
|
126
|
+
"jsdom": "^25.0.1",
|
|
127
|
+
"postcss": "^8.4.49",
|
|
128
128
|
"pre-commit": "^1.2.2",
|
|
129
129
|
"prettier": "^2.8.8",
|
|
130
130
|
"pretty-quick": "^3.1.3",
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
"react-is": "^18.3.1",
|
|
135
135
|
"react-shadow": "^20.5.0",
|
|
136
136
|
"regenerator-runtime": "^0.14.1",
|
|
137
|
-
"simple-git": "^3.
|
|
137
|
+
"simple-git": "^3.27.0",
|
|
138
138
|
"storybook": "7.0.20",
|
|
139
139
|
"styled-components": "^6.1.13",
|
|
140
140
|
"tarball-extract": "^0.0.6",
|
|
@@ -143,8 +143,8 @@
|
|
|
143
143
|
"testcafe-reporter-xunit": "^2.2.3",
|
|
144
144
|
"ts-jest": "^29.2.5",
|
|
145
145
|
"ts-loader": "^9.5.1",
|
|
146
|
-
"typescript": "^5.6.
|
|
147
|
-
"webpack": "^5.
|
|
146
|
+
"typescript": "^5.6.3",
|
|
147
|
+
"webpack": "^5.96.1",
|
|
148
148
|
"webpack-cli": "^5.1.4",
|
|
149
149
|
"webpack-dev-server": "^5.1.0"
|
|
150
150
|
},
|
|
@@ -208,7 +208,7 @@
|
|
|
208
208
|
"bundlesize": [
|
|
209
209
|
{
|
|
210
210
|
"path": "./dist/grommet.min.js",
|
|
211
|
-
"maxSize": "
|
|
211
|
+
"maxSize": "174 kB"
|
|
212
212
|
}
|
|
213
213
|
],
|
|
214
214
|
"keywords": [
|
package/themes/base.d.ts
CHANGED
|
@@ -150,6 +150,7 @@ interface ButtonKindType {
|
|
|
150
150
|
| boolean;
|
|
151
151
|
color?: ColorType;
|
|
152
152
|
direction?: DirectionType;
|
|
153
|
+
elevation?: ElevationType;
|
|
153
154
|
font?: {
|
|
154
155
|
size?: string;
|
|
155
156
|
weight?: number | string;
|
|
@@ -182,12 +183,14 @@ interface ButtonType {
|
|
|
182
183
|
};
|
|
183
184
|
};
|
|
184
185
|
gap?: GapType;
|
|
186
|
+
background?: BackgroundType;
|
|
185
187
|
border?: {
|
|
186
188
|
color?: ColorType;
|
|
187
189
|
width?: string;
|
|
188
190
|
radius?: string;
|
|
189
191
|
};
|
|
190
192
|
color?: ColorType;
|
|
193
|
+
elevation?: ElevationType;
|
|
191
194
|
extend?: ExtendType;
|
|
192
195
|
minWidth?: string;
|
|
193
196
|
maxWidth?: string;
|
|
@@ -381,6 +384,7 @@ export interface ThemeType {
|
|
|
381
384
|
medium?: string;
|
|
382
385
|
large?: string;
|
|
383
386
|
xlarge?: string;
|
|
387
|
+
[x: string]: string;
|
|
384
388
|
};
|
|
385
389
|
dark?: {
|
|
386
390
|
none?: string;
|
|
@@ -389,6 +393,7 @@ export interface ThemeType {
|
|
|
389
393
|
medium?: string;
|
|
390
394
|
large?: string;
|
|
391
395
|
xlarge?: string;
|
|
396
|
+
[x: string]: string;
|
|
392
397
|
};
|
|
393
398
|
};
|
|
394
399
|
focus?: {
|
|
@@ -549,10 +554,50 @@ export interface ThemeType {
|
|
|
549
554
|
button?: ButtonType;
|
|
550
555
|
calendar?: {
|
|
551
556
|
day?: {
|
|
557
|
+
hover?: {
|
|
558
|
+
background?: BackgroundType;
|
|
559
|
+
color?: ColorType;
|
|
560
|
+
};
|
|
561
|
+
selected?: {
|
|
562
|
+
background?: BackgroundType;
|
|
563
|
+
color?: ColorType;
|
|
564
|
+
font?: {
|
|
565
|
+
weight?: string | number;
|
|
566
|
+
};
|
|
567
|
+
hover?: {
|
|
568
|
+
background?: BackgroundType;
|
|
569
|
+
color?: ColorType;
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
inRange?: {
|
|
573
|
+
color?: ColorType;
|
|
574
|
+
font?: {
|
|
575
|
+
weight?: string | number;
|
|
576
|
+
};
|
|
577
|
+
hover?: {
|
|
578
|
+
background?: BackgroundType;
|
|
579
|
+
color?: ColorType;
|
|
580
|
+
};
|
|
581
|
+
};
|
|
552
582
|
extend?: ExtendType;
|
|
553
583
|
};
|
|
584
|
+
range?: {
|
|
585
|
+
background?: BackgroundType;
|
|
586
|
+
};
|
|
554
587
|
extend?: ExtendType;
|
|
555
588
|
small?: {
|
|
589
|
+
day?: {
|
|
590
|
+
round?: RoundType;
|
|
591
|
+
};
|
|
592
|
+
range?: {
|
|
593
|
+
round?: RoundType;
|
|
594
|
+
start?: {
|
|
595
|
+
round?: RoundType;
|
|
596
|
+
};
|
|
597
|
+
end?: {
|
|
598
|
+
round?: RoundType;
|
|
599
|
+
};
|
|
600
|
+
};
|
|
556
601
|
title?: TextProps;
|
|
557
602
|
fontSize?: string;
|
|
558
603
|
lineHeight?: number;
|
|
@@ -560,6 +605,18 @@ export interface ThemeType {
|
|
|
560
605
|
slideDuration?: string;
|
|
561
606
|
};
|
|
562
607
|
medium?: {
|
|
608
|
+
day?: {
|
|
609
|
+
round?: RoundType;
|
|
610
|
+
};
|
|
611
|
+
range?: {
|
|
612
|
+
round?: RoundType;
|
|
613
|
+
start?: {
|
|
614
|
+
round?: RoundType;
|
|
615
|
+
};
|
|
616
|
+
end?: {
|
|
617
|
+
round?: RoundType;
|
|
618
|
+
};
|
|
619
|
+
};
|
|
563
620
|
title?: TextProps;
|
|
564
621
|
fontSize?: string;
|
|
565
622
|
lineHeight?: number;
|
|
@@ -567,6 +624,18 @@ export interface ThemeType {
|
|
|
567
624
|
slideDuration?: string;
|
|
568
625
|
};
|
|
569
626
|
large?: {
|
|
627
|
+
day?: {
|
|
628
|
+
round?: RoundType;
|
|
629
|
+
};
|
|
630
|
+
range?: {
|
|
631
|
+
round?: RoundType;
|
|
632
|
+
start?: {
|
|
633
|
+
round?: RoundType;
|
|
634
|
+
};
|
|
635
|
+
end?: {
|
|
636
|
+
round?: RoundType;
|
|
637
|
+
};
|
|
638
|
+
};
|
|
570
639
|
title?: TextProps;
|
|
571
640
|
fontSize?: string;
|
|
572
641
|
lineHeight?: number;
|
|
@@ -726,6 +795,9 @@ export interface ThemeType {
|
|
|
726
795
|
dataTable?: {
|
|
727
796
|
body?: {
|
|
728
797
|
extend?: ExtendType;
|
|
798
|
+
selected?: {
|
|
799
|
+
background?: BackgroundType;
|
|
800
|
+
};
|
|
729
801
|
};
|
|
730
802
|
container?: BoxProps;
|
|
731
803
|
header?: {
|
|
@@ -886,6 +958,13 @@ export interface ThemeType {
|
|
|
886
958
|
margin?: MarginType;
|
|
887
959
|
round?: RoundType;
|
|
888
960
|
extend?: ExtendType;
|
|
961
|
+
survey?: {
|
|
962
|
+
label?: {
|
|
963
|
+
margin?: MarginType;
|
|
964
|
+
size?: string;
|
|
965
|
+
color?: ColorType;
|
|
966
|
+
};
|
|
967
|
+
};
|
|
889
968
|
};
|
|
890
969
|
grommet?: {
|
|
891
970
|
extend?: ExtendType;
|
|
@@ -1162,66 +1241,174 @@ export interface ThemeType {
|
|
|
1162
1241
|
icon?: React.ReactNode | Icon;
|
|
1163
1242
|
background?: BackgroundType;
|
|
1164
1243
|
color?: ColorType;
|
|
1244
|
+
message?: {
|
|
1245
|
+
color?: ColorType;
|
|
1246
|
+
};
|
|
1247
|
+
title?: {
|
|
1248
|
+
color?: ColorType;
|
|
1249
|
+
};
|
|
1165
1250
|
global?: {
|
|
1166
1251
|
background?: BackgroundType;
|
|
1252
|
+
message?: {
|
|
1253
|
+
color?: ColorType;
|
|
1254
|
+
};
|
|
1255
|
+
title?: {
|
|
1256
|
+
color?: ColorType;
|
|
1257
|
+
};
|
|
1167
1258
|
};
|
|
1168
1259
|
toast?: {
|
|
1169
1260
|
background?: BackgroundType;
|
|
1261
|
+
message?: {
|
|
1262
|
+
color?: ColorType;
|
|
1263
|
+
};
|
|
1264
|
+
title?: {
|
|
1265
|
+
color?: ColorType;
|
|
1266
|
+
};
|
|
1170
1267
|
};
|
|
1171
1268
|
};
|
|
1172
1269
|
warning?: {
|
|
1173
1270
|
icon?: React.ReactNode | Icon;
|
|
1174
1271
|
background?: BackgroundType;
|
|
1175
1272
|
color?: ColorType;
|
|
1273
|
+
message?: {
|
|
1274
|
+
color?: ColorType;
|
|
1275
|
+
};
|
|
1276
|
+
title?: {
|
|
1277
|
+
color?: ColorType;
|
|
1278
|
+
};
|
|
1176
1279
|
global?: {
|
|
1177
1280
|
background?: BackgroundType;
|
|
1281
|
+
message?: {
|
|
1282
|
+
color?: ColorType;
|
|
1283
|
+
};
|
|
1284
|
+
title?: {
|
|
1285
|
+
color?: ColorType;
|
|
1286
|
+
};
|
|
1178
1287
|
};
|
|
1179
1288
|
toast?: {
|
|
1180
1289
|
background?: BackgroundType;
|
|
1290
|
+
message?: {
|
|
1291
|
+
color?: ColorType;
|
|
1292
|
+
};
|
|
1293
|
+
title?: {
|
|
1294
|
+
color?: ColorType;
|
|
1295
|
+
};
|
|
1181
1296
|
};
|
|
1182
1297
|
};
|
|
1183
1298
|
normal?: {
|
|
1184
1299
|
icon?: React.ReactNode | Icon;
|
|
1185
1300
|
background?: BackgroundType;
|
|
1186
1301
|
color?: ColorType;
|
|
1302
|
+
message?: {
|
|
1303
|
+
color?: ColorType;
|
|
1304
|
+
};
|
|
1305
|
+
title?: {
|
|
1306
|
+
color?: ColorType;
|
|
1307
|
+
};
|
|
1187
1308
|
global?: {
|
|
1188
1309
|
background?: BackgroundType;
|
|
1310
|
+
message?: {
|
|
1311
|
+
color?: ColorType;
|
|
1312
|
+
};
|
|
1313
|
+
title?: {
|
|
1314
|
+
color?: ColorType;
|
|
1315
|
+
};
|
|
1189
1316
|
};
|
|
1190
1317
|
toast?: {
|
|
1191
1318
|
background?: BackgroundType;
|
|
1319
|
+
message?: {
|
|
1320
|
+
color?: ColorType;
|
|
1321
|
+
};
|
|
1322
|
+
title?: {
|
|
1323
|
+
color?: ColorType;
|
|
1324
|
+
};
|
|
1192
1325
|
};
|
|
1193
1326
|
};
|
|
1194
1327
|
info?: {
|
|
1195
1328
|
icon?: React.ReactNode | Icon;
|
|
1196
1329
|
background?: BackgroundType;
|
|
1197
1330
|
color?: ColorType;
|
|
1331
|
+
message?: {
|
|
1332
|
+
color?: ColorType;
|
|
1333
|
+
};
|
|
1334
|
+
title?: {
|
|
1335
|
+
color?: ColorType;
|
|
1336
|
+
};
|
|
1198
1337
|
global?: {
|
|
1199
1338
|
background?: BackgroundType;
|
|
1339
|
+
message?: {
|
|
1340
|
+
color?: ColorType;
|
|
1341
|
+
};
|
|
1342
|
+
title?: {
|
|
1343
|
+
color?: ColorType;
|
|
1344
|
+
};
|
|
1200
1345
|
};
|
|
1201
1346
|
toast?: {
|
|
1202
1347
|
background?: BackgroundType;
|
|
1348
|
+
message?: {
|
|
1349
|
+
color?: ColorType;
|
|
1350
|
+
};
|
|
1351
|
+
title?: {
|
|
1352
|
+
color?: ColorType;
|
|
1353
|
+
};
|
|
1203
1354
|
};
|
|
1204
1355
|
};
|
|
1205
1356
|
unknown?: {
|
|
1206
1357
|
icon?: React.ReactNode | Icon;
|
|
1207
1358
|
background?: BackgroundType;
|
|
1208
1359
|
color?: ColorType;
|
|
1360
|
+
message?: {
|
|
1361
|
+
color?: ColorType;
|
|
1362
|
+
};
|
|
1363
|
+
title?: {
|
|
1364
|
+
color?: ColorType;
|
|
1365
|
+
};
|
|
1209
1366
|
global?: {
|
|
1210
1367
|
background?: BackgroundType;
|
|
1368
|
+
message?: {
|
|
1369
|
+
color?: ColorType;
|
|
1370
|
+
};
|
|
1371
|
+
title?: {
|
|
1372
|
+
color?: ColorType;
|
|
1373
|
+
};
|
|
1211
1374
|
};
|
|
1212
1375
|
toast?: {
|
|
1213
1376
|
background?: BackgroundType;
|
|
1377
|
+
message?: {
|
|
1378
|
+
color?: ColorType;
|
|
1379
|
+
};
|
|
1380
|
+
title?: {
|
|
1381
|
+
color?: ColorType;
|
|
1382
|
+
};
|
|
1214
1383
|
};
|
|
1215
1384
|
};
|
|
1216
1385
|
undefined?: {
|
|
1217
1386
|
icon?: React.ReactNode | Icon;
|
|
1218
1387
|
background?: BackgroundType;
|
|
1219
1388
|
color?: ColorType;
|
|
1389
|
+
message?: {
|
|
1390
|
+
color?: ColorType;
|
|
1391
|
+
};
|
|
1392
|
+
title?: {
|
|
1393
|
+
color?: ColorType;
|
|
1394
|
+
};
|
|
1220
1395
|
global?: {
|
|
1221
1396
|
background?: BackgroundType;
|
|
1397
|
+
message?: {
|
|
1398
|
+
color?: ColorType;
|
|
1399
|
+
};
|
|
1400
|
+
title?: {
|
|
1401
|
+
color?: ColorType;
|
|
1402
|
+
};
|
|
1222
1403
|
};
|
|
1223
1404
|
toast?: {
|
|
1224
1405
|
background?: BackgroundType;
|
|
1406
|
+
message?: {
|
|
1407
|
+
color?: ColorType;
|
|
1408
|
+
};
|
|
1409
|
+
title?: {
|
|
1410
|
+
color?: ColorType;
|
|
1411
|
+
};
|
|
1225
1412
|
};
|
|
1226
1413
|
};
|
|
1227
1414
|
};
|
|
@@ -1449,7 +1636,7 @@ export interface ThemeType {
|
|
|
1449
1636
|
select?: {
|
|
1450
1637
|
background?: BackgroundType;
|
|
1451
1638
|
clear?: {
|
|
1452
|
-
container?: BoxProps;
|
|
1639
|
+
container?: BoxProps & { hover?: BoxProps };
|
|
1453
1640
|
text?: TextProps;
|
|
1454
1641
|
};
|
|
1455
1642
|
container?: {
|
|
@@ -1609,7 +1796,7 @@ export interface ThemeType {
|
|
|
1609
1796
|
round?: RoundType;
|
|
1610
1797
|
name?: TextProps;
|
|
1611
1798
|
pad?: PadType;
|
|
1612
|
-
remove?: ButtonType;
|
|
1799
|
+
remove?: ButtonType | { kind?: string };
|
|
1613
1800
|
separator?: string;
|
|
1614
1801
|
size?: {
|
|
1615
1802
|
xsmall?: {
|
|
@@ -1617,30 +1804,35 @@ export interface ThemeType {
|
|
|
1617
1804
|
icon?: {
|
|
1618
1805
|
size?: string;
|
|
1619
1806
|
};
|
|
1807
|
+
remove?: { size?: string; margin?: MarginType };
|
|
1620
1808
|
};
|
|
1621
1809
|
small?: {
|
|
1622
1810
|
pad?: PadType;
|
|
1623
1811
|
icon?: {
|
|
1624
1812
|
size?: string;
|
|
1625
1813
|
};
|
|
1814
|
+
remove?: { size?: string; margin?: MarginType };
|
|
1626
1815
|
};
|
|
1627
1816
|
medium?: {
|
|
1628
1817
|
pad?: PadType;
|
|
1629
1818
|
icon?: {
|
|
1630
1819
|
size?: string;
|
|
1631
1820
|
};
|
|
1821
|
+
remove?: { size?: string; margin?: MarginType };
|
|
1632
1822
|
};
|
|
1633
1823
|
large?: {
|
|
1634
1824
|
pad?: PadType;
|
|
1635
1825
|
icon?: {
|
|
1636
1826
|
size?: string;
|
|
1637
1827
|
};
|
|
1828
|
+
remove?: { size?: string; margin?: MarginType };
|
|
1638
1829
|
};
|
|
1639
1830
|
xlarge?: {
|
|
1640
1831
|
pad?: PadType;
|
|
1641
1832
|
icon?: {
|
|
1642
1833
|
size?: string;
|
|
1643
1834
|
};
|
|
1835
|
+
remove?: { size?: string; margin?: MarginType };
|
|
1644
1836
|
};
|
|
1645
1837
|
};
|
|
1646
1838
|
value?: TextProps;
|
|
@@ -1730,15 +1922,21 @@ export interface ThemeType {
|
|
|
1730
1922
|
};
|
|
1731
1923
|
toggleGroup?: {
|
|
1732
1924
|
button?: {
|
|
1733
|
-
|
|
1925
|
+
kind?: string;
|
|
1926
|
+
border?: {
|
|
1927
|
+
radius?: string;
|
|
1928
|
+
};
|
|
1734
1929
|
iconOnly?: {
|
|
1735
1930
|
pad?: PadType;
|
|
1736
1931
|
};
|
|
1932
|
+
pad?: PadType;
|
|
1737
1933
|
};
|
|
1738
1934
|
container?: BoxProps;
|
|
1739
|
-
divider?:
|
|
1740
|
-
|
|
1741
|
-
|
|
1935
|
+
divider?:
|
|
1936
|
+
| {
|
|
1937
|
+
color?: ColorType;
|
|
1938
|
+
}
|
|
1939
|
+
| boolean;
|
|
1742
1940
|
};
|
|
1743
1941
|
video?: {
|
|
1744
1942
|
captions?: {
|