@opengeoweb/theme 4.0.0 → 4.1.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/README.md +1 -1
- package/index.esm.js +89 -78
- package/index.umd.js +89 -78
- package/lib/components/Theme/types.d.ts +1 -2
- package/lib/stories/Avatar.stories.d.ts +11 -0
- package/lib/stories/Breakpoints.stories.d.ts +9 -1
- package/lib/stories/Button.stories.d.ts +9 -1
- package/lib/stories/Card.stories.d.ts +12 -1
- package/lib/stories/Colors.stories.d.ts +9 -1
- package/lib/stories/Elevation.stories.d.ts +9 -1
- package/lib/stories/FormElements.stories.d.ts +9 -1
- package/lib/stories/IconButton.stories.d.ts +9 -1
- package/lib/stories/List.stories.d.ts +9 -1
- package/lib/stories/MenuItem.stories.d.ts +9 -1
- package/lib/stories/Slider.stories.d.ts +9 -1
- package/lib/stories/Snackbar.stories.d.ts +9 -1
- package/lib/stories/StoryWrapper.d.ts +0 -2
- package/lib/stories/Switch.stories.d.ts +9 -1
- package/lib/stories/Table.stories.d.ts +9 -1
- package/lib/stories/Tabs.stories.d.ts +9 -1
- package/lib/stories/TextField.stories.d.ts +9 -1
- package/lib/stories/ToggleButton.stories.d.ts +9 -1
- package/lib/stories/Tooltip.stories.d.ts +9 -1
- package/lib/stories/Typography.stories.d.ts +9 -1
- package/lib/stories/index.stories.d.ts +1 -0
- package/lib/stories/snapshots/Avatar.stories.d.ts +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -320,7 +320,7 @@ If there are mistakes in naming, colors are missing in the Design, contact [Didi
|
|
|
320
320
|
|
|
321
321
|
## Theme Stories `(lib/stories)`
|
|
322
322
|
|
|
323
|
-
Contains demo stories with MUI components. Every story is build with the `StoryWrapper` component
|
|
323
|
+
Contains demo stories with MUI components. Every story is build with the `StoryWrapper` component and can be toggled from light to dark theme. It does not export anything, it only shows the MUI components in light or dark theme.
|
|
324
324
|
|
|
325
325
|
- The **Color** story shows all the colors, styles and other properties of the defined theme. Could be handy for reviewing styling values. On the right the `geowebColor` object is shown, and these values are accessible throughout all components with the ThemeProvider wrapper. Not that more values are shown than given, this is because of the parsers that adds in some cases extra properties as for example `rgba`
|
|
326
326
|
- The **Elevation** shows all elevations we currently have. These can be used for defining `box-shadow` for elements. If you want to use the elevation in code:
|
package/index.esm.js
CHANGED
|
@@ -195,91 +195,84 @@ var HamburgerMenu = function HamburgerMenu(props) {
|
|
|
195
195
|
d: "M18.693 7.732H5.306C4.584 7.732 4 7.12 4 6.366 4 5.611 4.584 5 5.306 5h13.387C19.414 5 20 5.611 20 6.366c0 .754-.586 1.366-1.307 1.366m0 5.634H5.306C4.584 13.366 4 12.754 4 12c0-.755.584-1.367 1.306-1.367h13.387c.721 0 1.307.612 1.307 1.367 0 .753-.586 1.365-1.307 1.365m0 5.634H5.306C4.584 19 4 18.388 4 17.634c0-.754.584-1.367 1.306-1.367h13.387c.721 0 1.307.613 1.307 1.367S19.414 19 18.693 19"
|
|
196
196
|
}));
|
|
197
197
|
};
|
|
198
|
-
var GeoWebLogo = function GeoWebLogo() {
|
|
199
|
-
return /*#__PURE__*/React.createElement("svg", {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
height: 30
|
|
204
|
-
},
|
|
205
|
-
xmlns: "http://www.w3.org/2000/svg,Rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#,Cc:http://creativecommons.org/ns#,Dc:http://purl.org/dc/elements/1.1/",
|
|
206
|
-
height: "55.156mm",
|
|
207
|
-
viewBox: "0 0 289.84072 195.43326",
|
|
208
|
-
width: "81.799mm",
|
|
198
|
+
var GeoWebLogo = function GeoWebLogo(props) {
|
|
199
|
+
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
200
|
+
width: "47px",
|
|
201
|
+
height: "29px",
|
|
202
|
+
viewBox: "0 0 71 44",
|
|
209
203
|
version: "1.1",
|
|
204
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
210
205
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
211
|
-
}, /*#__PURE__*/React.createElement("defs", {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
y2: "
|
|
216
|
-
|
|
217
|
-
y1: "76.066",
|
|
218
|
-
gradientTransform: "translate(0 -.0012816)",
|
|
219
|
-
x2: "199.26",
|
|
220
|
-
x1: "160.9"
|
|
206
|
+
}, props), /*#__PURE__*/React.createElement("title", null, "Geoweb logo"), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
|
|
207
|
+
x1: "16.8198885%",
|
|
208
|
+
y1: "6.54485841%",
|
|
209
|
+
x2: "57.3699143%",
|
|
210
|
+
y2: "42.3856856%",
|
|
211
|
+
id: "linearGradient-1"
|
|
221
212
|
}, /*#__PURE__*/React.createElement("stop", {
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
offset: "0"
|
|
213
|
+
stopColor: "#FFFFFF",
|
|
214
|
+
stopOpacity: "0.33333",
|
|
215
|
+
offset: "0%"
|
|
226
216
|
}), /*#__PURE__*/React.createElement("stop", {
|
|
227
|
-
|
|
228
|
-
stopColor: "#fff",
|
|
217
|
+
stopColor: "#FFFFFF",
|
|
229
218
|
stopOpacity: "0",
|
|
230
|
-
offset: "
|
|
219
|
+
offset: "100%"
|
|
231
220
|
})), /*#__PURE__*/React.createElement("linearGradient", {
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
x1: "128.56"
|
|
221
|
+
x1: "50.9318547%",
|
|
222
|
+
y1: "46.4796835%",
|
|
223
|
+
x2: "43.0090172%",
|
|
224
|
+
y2: "0.844973858%",
|
|
225
|
+
id: "linearGradient-2"
|
|
238
226
|
}, /*#__PURE__*/React.createElement("stop", {
|
|
239
|
-
|
|
240
|
-
stopColor: "#fff",
|
|
227
|
+
stopColor: "#FFFFFF",
|
|
241
228
|
stopOpacity: "0",
|
|
242
|
-
offset: "0"
|
|
229
|
+
offset: "0%"
|
|
243
230
|
}), /*#__PURE__*/React.createElement("stop", {
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
offset: "1"
|
|
231
|
+
stopColor: "#FFFFFF",
|
|
232
|
+
stopOpacity: "0.33333",
|
|
233
|
+
offset: "100%"
|
|
248
234
|
}))), /*#__PURE__*/React.createElement("g", {
|
|
249
|
-
id: "
|
|
250
|
-
|
|
235
|
+
id: "Geoweb-logo",
|
|
236
|
+
stroke: "none",
|
|
237
|
+
strokeWidth: "1",
|
|
238
|
+
fill: "none",
|
|
239
|
+
fillRule: "evenodd"
|
|
240
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
241
|
+
transform: "translate(-0.000002, 0.000000)",
|
|
242
|
+
fillRule: "nonzero"
|
|
243
|
+
}, /*#__PURE__*/React.createElement("g", {
|
|
244
|
+
id: "layer1"
|
|
251
245
|
}, /*#__PURE__*/React.createElement("g", {
|
|
252
246
|
id: "g4"
|
|
253
247
|
}, /*#__PURE__*/React.createElement("path", {
|
|
248
|
+
d: "M29.0244012,8.24968403 C22.1632139,8.25834657 16.1741523,12.832579 14.4544599,19.3776076 C13.832111,19.279281 13.20312,19.2272122 12.5728452,19.2218415 C5.62905014,19.2217232 1.99977785e-06,24.7686157 1.99977785e-06,31.6109206 C1.99977785e-06,38.4532254 6.62905014,44 12.5728452,44 C22.6625546,44 49.500002,43.9979372 53.3350238,44 C56.2372834,44 63.2828385,43.8604971 68.2761419,37.5041138 C73.2694453,31.147461 70.2632768,17.4867764 68.1881953,11.6493259 C66.1131138,5.81187538 59.6578291,0 53.3280106,0 C45.8866154,0 39.2715769,4.00456749 35.9382426,9.91929332 C33.8018082,8.82655405 31.4311891,8.25413905 29.0244012,8.24968403 Z",
|
|
254
249
|
id: "path4220",
|
|
255
|
-
|
|
256
|
-
fill: "#0b9ee5"
|
|
250
|
+
fill: "#0B9EE5"
|
|
257
251
|
}), /*#__PURE__*/React.createElement("path", {
|
|
252
|
+
d: "M12.6356798,44 C22.7746907,43.937003 33.0654278,43.9720938 43.255762,43.9720938 C46.0886384,43.9720938 50.8633856,43.9748907 55.181552,43.9769417 C58.5400012,43.846454 64.6600826,42.7286231 68.900002,36.6595013 C70.4781085,33.855306 70.7241054,31.4933791 70.870002,29.9999998 C61.0123574,29.9967644 4.74480574,30.0001193 0.107164182,30.0001762 C0.0357213941,30.3929005 0,30.9706094 0,31.7333029 C0,38.2015669 6.41531361,44 12.6356798,44 Z",
|
|
258
253
|
id: "path4220-7",
|
|
259
|
-
|
|
260
|
-
d: "m-335.78 758.74c-0.00043 24.881 20.17 45.051 45.051 45.051 36.152-0.20272 72.845-0.0898 109.18-0.0898 10.101 0 27.126 0.009 42.523 0.0156 11.975-0.4199 32.775-4.017 47.893-23.547 4.439-5.7347 7.1108-13.107 8.5098-21.271-35.448-0.0105-239.67-0.15823-253.16-0.15823z",
|
|
261
|
-
fill: "#60bce9"
|
|
254
|
+
fill: "#60BCE9"
|
|
262
255
|
})), /*#__PURE__*/React.createElement("path", {
|
|
256
|
+
d: "M53.3593361,0 C47.918804,0 42.9223401,2.15054275 39.3299564,5.62541069 C38.0351939,6.90249749 36.9198138,8.3502422 36.000002,9.92363493 C36.000002,21.1882124 36.0054345,31.3594567 36.0054345,43.9919386 C38.3685237,43.9938645 40.7366832,43.9957078 43.0921391,43.9957078 C45.9061498,43.9957078 50.6490992,43.9981839 54.9385085,44 C58.2745918,43.8844761 64.0692084,42.8948363 68.2808918,37.5217121 C73.2653764,31.1622771 70.2646844,17.4953381 68.1932872,11.6553326 C66.1218901,5.8153271 59.6782653,0.000907901172 53.3596259,0.000907901172 L53.3593361,0 Z",
|
|
263
257
|
id: "path4220-2",
|
|
264
|
-
|
|
265
|
-
fill: "#
|
|
266
|
-
fillOpacity: ".31373"
|
|
258
|
+
fillOpacity: "0.31373",
|
|
259
|
+
fill: "#FFFFFF"
|
|
267
260
|
})), /*#__PURE__*/React.createElement("g", {
|
|
268
261
|
id: "g4244",
|
|
269
|
-
transform: "translate(
|
|
262
|
+
transform: "translate(20.000002, 14.500000)"
|
|
270
263
|
}, /*#__PURE__*/React.createElement("path", {
|
|
264
|
+
d: "M33.2943298,6.72474814 C36.4490656,9.02287887 37.3756525,8.9287324 39.4713926,11.7544337 C40.4745953,13.1069689 40.9988188,14.8107298 41,16.5033269 C41,21.1960094 37.0027377,25.0000392 32.0720208,24.9997778 C27.1415787,24.9997778 23.1445911,21.195748 23.1445911,16.5033269 C23.1462393,16.3723481 23.1510741,16.241411 23.1590681,16.110636 C22.2077851,15.8184709 21.258837,15.606125 20.5069638,15.606125 C19.7497338,15.606125 18.7925446,15.8208605 17.8344763,16.1162571 C17.8443657,16.2451131 17.851151,16.3741703 17.8548595,16.5033269 C17.8548101,21.195748 13.8578719,24.9997778 8.92742977,24.9997778 C3.9969876,24.9997778 0,21.195748 0,16.5033269 C0.00164824231,15.5820197 0.197168239,14.6813928 0.515927314,13.8208977 C2.01967372,8.45577777 2.93181101,2.25743153 8.1156979,1.57087606 C10.3834596,1.27052764 12.4978248,3.88414447 15.0127678,3.88414447 C17.5279307,3.88407126 17.5724882,0.0722713368 21.3552043,0.0053413284 C25.9779745,-0.0763080529 29.9219437,4.26794624 33.2945221,6.72474814 L33.2943298,6.72474814 Z M31.9884,10.3640673 C28.347158,10.3640673 25.3954308,13.1732976 25.3954308,16.6387556 C25.3954308,20.1042137 28.347158,22.9134439 31.9884,22.9134439 C35.629642,22.9134439 38.5813692,20.1042137 38.5813692,16.6387556 C38.5813692,13.1732976 35.629642,10.3640673 31.9884,10.3640673 L31.9884,10.3640673 Z M8.87866927,10.3640673 C5.23742729,10.3640673 2.28570002,13.1732976 2.28570002,16.6387556 C2.28570002,20.1042137 5.23742729,22.9134439 8.87866927,22.9134439 C12.5199112,22.9134439 15.4716385,20.1042137 15.4716385,16.6387556 C15.4716385,13.1732976 12.5199112,10.3640673 8.87866927,10.3640673 L8.87866927,10.3640673 Z",
|
|
271
265
|
id: "path4329",
|
|
272
|
-
fill: "#003232"
|
|
273
|
-
d: "m211.54 98.88c11.484 8.7901 14.857 8.43 22.486 19.238 3.6519 5.1733 5.5602 11.69 5.5645 18.164-0.00018 17.949-14.551 32.499-32.5 32.498-17.948-0.00018-32.498-14.55-32.498-32.498 0.006-0.50098 0.0236-1.0018 0.0527-1.502-3.4629-1.1175-6.9173-1.9297-9.6543-1.9297-2.7565 0-6.2409 0.82134-9.7285 1.9512 0.036 0.49286 0.0607 0.98649 0.0742 1.4805-0.00018 17.948-14.55 32.498-32.498 32.498-17.948-0.00019-32.498-14.55-32.498-32.498 0.006-3.5239 0.71774-6.9687 1.8781-10.26 5.474-20.521 8.7944-44.229 27.665-46.855 8.2552-1.1488 15.952 8.848 25.107 8.848 9.1558-0.00028 9.318-14.58 23.088-14.836 16.828-0.3123 31.185 16.304 43.462 25.701zm-4.7539 13.92c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-84.125 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24z"
|
|
266
|
+
fill: "#003232"
|
|
274
267
|
}), /*#__PURE__*/React.createElement("path", {
|
|
268
|
+
d: "M18.3777369,1.23152 C17.7953855,1.80024206 17.3777758,2.40363177 16.8938244,2.93721557 C16.7477214,3.09830251 16.551869,3.28208813 16.3862482,3.40648382 C16.0550064,3.65530136 15.686377,3.82759384 15.2412692,3.87167353 C15.1670845,3.87902014 15.0907654,3.88290522 15.012169,3.88290783 C16.4111971,7.35960803 18.259481,10.684147 20.50631,15.6045484 C21.2581832,15.6045484 22.2071313,15.8168943 23.1584143,16.1090595 C23.1504203,16.2398345 23.1455855,16.3707663 23.1439372,16.5017504 C23.1439372,18.7013163 24.021901,20.7057916 25.4628494,22.2148541 C25.5589117,22.3154426 25.6575095,22.4133931 25.7584891,22.509503 C27.3740413,24.0470369 29.6063108,24.998332 32.0712571,24.998332 C32.2253403,24.998332 32.3783796,24.9944364 32.5305399,24.9870898 C33.4435562,24.9430912 34.3203662,24.7689529 35.1408063,24.4831016 C35.4142881,24.3878153 35.6816495,24.2796919 35.941852,24.1603735 C36.3321558,23.9814063 36.7064442,23.7766502 37.0626843,23.5475979 C39.4375267,22.0207571 40.9992363,19.4348012 40.9992363,16.5019073 C40.9981375,14.8093101 40.4264996,13.1363214 39.4706289,11.753014 C37.5293291,8.94378381 35.4368306,8.41618711 33.2935662,6.7233285 C30.0479023,4.15990918 25.8852664,0 21.5836287,0 C19.877588,0 19.0182769,0.606161033 18.3777974,1.23172131 L18.3777369,1.23152 Z M31.9875484,10.3622372 C33.3530073,10.3622372 34.6213297,10.7575164 35.6735676,11.4340586 C35.8489406,11.5468173 36.018325,11.6672051 36.1811164,11.7950884 C36.3439243,11.9229614 36.5003809,12.0580763 36.6495194,12.200015 C37.8425996,13.3354983 38.5805176,14.9041442 38.5805176,16.6370039 C38.5805176,19.9942236 35.810097,22.7354781 32.3265369,22.9035874 C32.2141652,22.9089993 32.1012359,22.9117445 31.9874385,22.9117445 C30.6221445,22.9117445 29.3536022,22.5168313 28.3014193,21.8404461 C28.3012984,21.8403676 28.3008699,21.8405219 28.3008699,21.8404461 C26.5471401,20.7128584 25.3944693,18.8029741 25.3944693,16.6371608 C25.3944693,14.9044318 26.1323874,13.335629 27.3254676,12.2001719 C27.4746005,12.0582358 27.6310517,11.9231182 27.7938705,11.7952453 C27.9566784,11.6673724 28.1255244,11.5469847 28.3008974,11.4342154 C29.3531352,10.7576472 30.6219796,10.3623941 31.987466,10.3623941 L31.9875484,10.3622372 Z",
|
|
275
269
|
id: "path4329-2",
|
|
276
|
-
fill: "url(#
|
|
277
|
-
d: "m157.24 77.869c-2.1199 2.1753-3.6401 4.4832-5.4018 6.5241-0.53185 0.61614-1.2448 1.3191-1.8477 1.7949-1.2058 0.9517-2.5477 1.6107-4.168 1.7793-0.27005 0.0281-0.54787 0.04296-0.83398 0.04297 5.0928 13.298 11.821 26.014 20 44.834 2.737 0 6.1914 0.8122 9.6543 1.9297-0.0291 0.5002-0.0467 1.001-0.0527 1.502 0 8.4131 3.196 16.08 8.4414 21.852 0.34969 0.38474 0.70861 0.75939 1.0762 1.127 5.881 5.8809 14.007 9.5194 22.98 9.5195 0.5609 0.00004 1.118-0.0149 1.6719-0.043 3.3236-0.16829 6.5154-0.83435 9.502-1.9277 0.99554-0.36446 1.9688-0.77802 2.916-1.2344 1.4208-0.68453 2.7833-1.4677 4.0801-2.3438 8.645-5.84 14.33-15.731 14.33-26.949-0.004-6.474-2.0849-12.873-5.5645-18.164-7.0668-10.745-14.684-12.763-22.486-19.238-11.815-9.8048-26.968-25.716-42.627-25.716-6.2104 0-9.3385 2.3185-11.67 4.7112zm49.543 34.924c4.9706 0 9.5876 1.5119 13.418 4.0996 0.6384 0.43129 1.255 0.89176 1.8476 1.3809 0.59266 0.4891 1.1622 1.0059 1.7051 1.5488 4.3431 4.3431 7.0293 10.343 7.0293 16.971 0 12.841-10.085 23.326-22.766 23.969-0.40906 0.0207-0.82015 0.0312-1.2344 0.0312-4.97 0-9.5878-1.5105-13.418-4.0976-0.00044-0.0003-0.002 0.00029-0.002 0-6.384-4.3129-10.58-11.618-10.58-19.902 0-6.6275 2.6862-12.628 7.0293-16.971 0.54288-0.54289 1.1124-1.0597 1.7051-1.5488 0.59266-0.4891 1.2073-0.94957 1.8457-1.3809 3.8304-2.5878 8.4493-4.0996 13.42-4.0996z"
|
|
270
|
+
fill: "url(#linearGradient-1)"
|
|
278
271
|
}), /*#__PURE__*/React.createElement("path", {
|
|
272
|
+
d: "M8.54047741,1.54734597 C8.39980543,1.54470276 8.25835327,1.55206506 8.11660443,1.57083684 C2.93260766,2.25739231 2.02085496,8.456 0.517108554,13.8211199 C0.198338491,14.681615 0.00260971699,15.5821896 0.000961474681,16.5035492 C0.000961474681,21.1959702 3.99794908,25 8.92839124,25 C13.8588334,25 17.855821,21.1959702 17.855821,16.5035492 C17.8521125,16.3743899 17.8453272,16.2453405 17.8354377,16.1164793 C18.7972421,15.8531777 19.4247005,15.6277596 20.4971568,15.6132493 C19.1526306,12.6387856 16.571593,7.26948259 15.0137293,3.88402682 C12.6559736,3.88402708 10.6505572,1.58699416 8.54025765,1.5473329 L8.54047741,1.54734597 Z M8.8795758,10.3640673 C12.5208178,10.3640673 15.472545,13.1732976 15.472545,16.6387556 C15.472545,20.1042137 12.5208178,22.9134439 8.8795758,22.9134439 C5.23833383,22.9134439 2.28660656,20.1042137 2.28660656,16.6387556 C2.28660656,13.1732976 5.23833383,10.3640673 8.8795758,10.3640673 L8.8795758,10.3640673 Z",
|
|
279
273
|
id: "path4329-7",
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
})));
|
|
274
|
+
fill: "url(#linearGradient-2)"
|
|
275
|
+
})))));
|
|
283
276
|
};
|
|
284
277
|
var Add = function Add(props) {
|
|
285
278
|
return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
|
|
@@ -1274,9 +1267,23 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
|
|
|
1274
1267
|
color: geowebColors.snackbar.text,
|
|
1275
1268
|
fontSize: '16px',
|
|
1276
1269
|
letterSpacing: '0.44px',
|
|
1277
|
-
borderRadius: '2px'
|
|
1270
|
+
borderRadius: '2px',
|
|
1271
|
+
boxShadow: shadows[8]
|
|
1278
1272
|
}
|
|
1279
1273
|
}
|
|
1274
|
+
},
|
|
1275
|
+
MuiAvatar: {
|
|
1276
|
+
styleOverrides: {
|
|
1277
|
+
root: Object.assign(Object.assign({}, defaultButtonStyle(geowebColors.buttons.primary)), {
|
|
1278
|
+
fontWeight: 500,
|
|
1279
|
+
'&:hover': {
|
|
1280
|
+
backgroundColor: 'geowebColors.buttons.primary.default.fill'
|
|
1281
|
+
},
|
|
1282
|
+
height: 32,
|
|
1283
|
+
width: 32,
|
|
1284
|
+
fontSize: 16
|
|
1285
|
+
})
|
|
1286
|
+
}
|
|
1280
1287
|
}
|
|
1281
1288
|
}
|
|
1282
1289
|
});
|
|
@@ -1295,8 +1302,8 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
|
|
|
1295
1302
|
* See the License for the specific language governing permissions and
|
|
1296
1303
|
* limitations under the License.
|
|
1297
1304
|
*
|
|
1298
|
-
* Copyright
|
|
1299
|
-
* Copyright
|
|
1305
|
+
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1306
|
+
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
1300
1307
|
* */
|
|
1301
1308
|
|
|
1302
1309
|
var colors$1 = {
|
|
@@ -1306,7 +1313,7 @@ var colors$1 = {
|
|
|
1306
1313
|
surfaceBrowser: '#CFCFCF'
|
|
1307
1314
|
},
|
|
1308
1315
|
brand: {
|
|
1309
|
-
brand: '#
|
|
1316
|
+
brand: '#FFFFFF'
|
|
1310
1317
|
},
|
|
1311
1318
|
buttons: {
|
|
1312
1319
|
primary: {
|
|
@@ -1589,9 +1596,6 @@ var colors$1 = {
|
|
|
1589
1596
|
opacity: 0.25
|
|
1590
1597
|
},
|
|
1591
1598
|
// time scale
|
|
1592
|
-
timeScaleText: {
|
|
1593
|
-
fontSize: 12
|
|
1594
|
-
},
|
|
1595
1599
|
timeScalePointer: {
|
|
1596
1600
|
fill: '#F8F9F9'
|
|
1597
1601
|
},
|
|
@@ -1638,7 +1642,8 @@ var colors$1 = {
|
|
|
1638
1642
|
},
|
|
1639
1643
|
tableRowDefaultCardContainer: {
|
|
1640
1644
|
fill: '#FFFFFF',
|
|
1641
|
-
border: '1px solid #EEEEEE'
|
|
1645
|
+
border: '1px solid #EEEEEE',
|
|
1646
|
+
borderColor: '#EEEEEE'
|
|
1642
1647
|
},
|
|
1643
1648
|
tableRowDisabledText: {
|
|
1644
1649
|
color: '#767676',
|
|
@@ -1647,7 +1652,8 @@ var colors$1 = {
|
|
|
1647
1652
|
},
|
|
1648
1653
|
tableRowDisabledCardContainer: {
|
|
1649
1654
|
fill: '#F5F5F5',
|
|
1650
|
-
border: '1px solid #EEEEEE'
|
|
1655
|
+
border: '1px solid #EEEEEE',
|
|
1656
|
+
borderColor: '#EEEEEE'
|
|
1651
1657
|
}
|
|
1652
1658
|
},
|
|
1653
1659
|
tooltips: {
|
|
@@ -1707,7 +1713,10 @@ var colors$1 = {
|
|
|
1707
1713
|
background: '#051039',
|
|
1708
1714
|
text: '#FFFFFF',
|
|
1709
1715
|
action: '#98e1f1',
|
|
1710
|
-
actionHover:
|
|
1716
|
+
actionHover: {
|
|
1717
|
+
fill: '#7BACFF',
|
|
1718
|
+
opacity: 0.2
|
|
1719
|
+
}
|
|
1711
1720
|
}
|
|
1712
1721
|
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/609bb6a5287bd1abe0de39a7
|
|
1713
1722
|
|
|
@@ -2041,8 +2050,8 @@ var GWTheme = createTheme$1({
|
|
|
2041
2050
|
* See the License for the specific language governing permissions and
|
|
2042
2051
|
* limitations under the License.
|
|
2043
2052
|
*
|
|
2044
|
-
* Copyright
|
|
2045
|
-
* Copyright
|
|
2053
|
+
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2054
|
+
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
2046
2055
|
* */
|
|
2047
2056
|
|
|
2048
2057
|
var colors = {
|
|
@@ -2052,7 +2061,7 @@ var colors = {
|
|
|
2052
2061
|
surfaceBrowser: '#181818'
|
|
2053
2062
|
},
|
|
2054
2063
|
brand: {
|
|
2055
|
-
brand: '#
|
|
2064
|
+
brand: '#313131'
|
|
2056
2065
|
},
|
|
2057
2066
|
buttons: {
|
|
2058
2067
|
primary: {
|
|
@@ -2335,9 +2344,6 @@ var colors = {
|
|
|
2335
2344
|
opacity: 0.25
|
|
2336
2345
|
},
|
|
2337
2346
|
// time scale
|
|
2338
|
-
timeScaleText: {
|
|
2339
|
-
fontSize: 12
|
|
2340
|
-
},
|
|
2341
2347
|
timeScalePointer: {
|
|
2342
2348
|
fill: '#F8F9F9'
|
|
2343
2349
|
},
|
|
@@ -2384,7 +2390,8 @@ var colors = {
|
|
|
2384
2390
|
},
|
|
2385
2391
|
tableRowDefaultCardContainer: {
|
|
2386
2392
|
fill: '#303030',
|
|
2387
|
-
border: '1px solid #404040'
|
|
2393
|
+
border: '1px solid #404040',
|
|
2394
|
+
borderColor: '#404040'
|
|
2388
2395
|
},
|
|
2389
2396
|
tableRowDisabledText: {
|
|
2390
2397
|
color: '#909090',
|
|
@@ -2393,7 +2400,8 @@ var colors = {
|
|
|
2393
2400
|
},
|
|
2394
2401
|
tableRowDisabledCardContainer: {
|
|
2395
2402
|
fill: '#2B2B2B',
|
|
2396
|
-
border: '1px solid #404040'
|
|
2403
|
+
border: '1px solid #404040',
|
|
2404
|
+
borderColor: '#404040'
|
|
2397
2405
|
}
|
|
2398
2406
|
},
|
|
2399
2407
|
tooltips: {
|
|
@@ -2453,7 +2461,10 @@ var colors = {
|
|
|
2453
2461
|
background: '#051039',
|
|
2454
2462
|
text: '#FFFFFF',
|
|
2455
2463
|
action: '#98e1f1',
|
|
2456
|
-
actionHover:
|
|
2464
|
+
actionHover: {
|
|
2465
|
+
fill: '#7BACFF',
|
|
2466
|
+
opacity: 0.2
|
|
2467
|
+
}
|
|
2457
2468
|
}
|
|
2458
2469
|
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e694124ecf3886de76d4
|
|
2459
2470
|
|
package/index.umd.js
CHANGED
|
@@ -246,91 +246,84 @@
|
|
|
246
246
|
d: "M18.693 7.732H5.306C4.584 7.732 4 7.12 4 6.366 4 5.611 4.584 5 5.306 5h13.387C19.414 5 20 5.611 20 6.366c0 .754-.586 1.366-1.307 1.366m0 5.634H5.306C4.584 13.366 4 12.754 4 12c0-.755.584-1.367 1.306-1.367h13.387c.721 0 1.307.612 1.307 1.367 0 .753-.586 1.365-1.307 1.365m0 5.634H5.306C4.584 19 4 18.388 4 17.634c0-.754.584-1.367 1.306-1.367h13.387c.721 0 1.307.613 1.307 1.367S19.414 19 18.693 19"
|
|
247
247
|
}));
|
|
248
248
|
};
|
|
249
|
-
var GeoWebLogo = function GeoWebLogo() {
|
|
250
|
-
return /*#__PURE__*/React__namespace.createElement("svg", {
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
height: 30
|
|
255
|
-
},
|
|
256
|
-
xmlns: "http://www.w3.org/2000/svg,Rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns#,Cc:http://creativecommons.org/ns#,Dc:http://purl.org/dc/elements/1.1/",
|
|
257
|
-
height: "55.156mm",
|
|
258
|
-
viewBox: "0 0 289.84072 195.43326",
|
|
259
|
-
width: "81.799mm",
|
|
249
|
+
var GeoWebLogo = function GeoWebLogo(props) {
|
|
250
|
+
return /*#__PURE__*/React__namespace.createElement("svg", __assign({
|
|
251
|
+
width: "47px",
|
|
252
|
+
height: "29px",
|
|
253
|
+
viewBox: "0 0 71 44",
|
|
260
254
|
version: "1.1",
|
|
255
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
261
256
|
xmlnsXlink: "http://www.w3.org/1999/xlink"
|
|
262
|
-
}, /*#__PURE__*/React__namespace.createElement("defs", {
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
y2: "
|
|
267
|
-
|
|
268
|
-
y1: "76.066",
|
|
269
|
-
gradientTransform: "translate(0 -.0012816)",
|
|
270
|
-
x2: "199.26",
|
|
271
|
-
x1: "160.9"
|
|
257
|
+
}, props), /*#__PURE__*/React__namespace.createElement("title", null, "Geoweb logo"), /*#__PURE__*/React__namespace.createElement("defs", null, /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
258
|
+
x1: "16.8198885%",
|
|
259
|
+
y1: "6.54485841%",
|
|
260
|
+
x2: "57.3699143%",
|
|
261
|
+
y2: "42.3856856%",
|
|
262
|
+
id: "linearGradient-1"
|
|
272
263
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
offset: "0"
|
|
264
|
+
stopColor: "#FFFFFF",
|
|
265
|
+
stopOpacity: "0.33333",
|
|
266
|
+
offset: "0%"
|
|
277
267
|
}), /*#__PURE__*/React__namespace.createElement("stop", {
|
|
278
|
-
|
|
279
|
-
stopColor: "#fff",
|
|
268
|
+
stopColor: "#FFFFFF",
|
|
280
269
|
stopOpacity: "0",
|
|
281
|
-
offset: "
|
|
270
|
+
offset: "100%"
|
|
282
271
|
})), /*#__PURE__*/React__namespace.createElement("linearGradient", {
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
x1: "128.56"
|
|
272
|
+
x1: "50.9318547%",
|
|
273
|
+
y1: "46.4796835%",
|
|
274
|
+
x2: "43.0090172%",
|
|
275
|
+
y2: "0.844973858%",
|
|
276
|
+
id: "linearGradient-2"
|
|
289
277
|
}, /*#__PURE__*/React__namespace.createElement("stop", {
|
|
290
|
-
|
|
291
|
-
stopColor: "#fff",
|
|
278
|
+
stopColor: "#FFFFFF",
|
|
292
279
|
stopOpacity: "0",
|
|
293
|
-
offset: "0"
|
|
280
|
+
offset: "0%"
|
|
294
281
|
}), /*#__PURE__*/React__namespace.createElement("stop", {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
offset: "1"
|
|
282
|
+
stopColor: "#FFFFFF",
|
|
283
|
+
stopOpacity: "0.33333",
|
|
284
|
+
offset: "100%"
|
|
299
285
|
}))), /*#__PURE__*/React__namespace.createElement("g", {
|
|
300
|
-
id: "
|
|
301
|
-
|
|
286
|
+
id: "Geoweb-logo",
|
|
287
|
+
stroke: "none",
|
|
288
|
+
strokeWidth: "1",
|
|
289
|
+
fill: "none",
|
|
290
|
+
fillRule: "evenodd"
|
|
291
|
+
}, /*#__PURE__*/React__namespace.createElement("g", {
|
|
292
|
+
transform: "translate(-0.000002, 0.000000)",
|
|
293
|
+
fillRule: "nonzero"
|
|
294
|
+
}, /*#__PURE__*/React__namespace.createElement("g", {
|
|
295
|
+
id: "layer1"
|
|
302
296
|
}, /*#__PURE__*/React__namespace.createElement("g", {
|
|
303
297
|
id: "g4"
|
|
304
298
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
299
|
+
d: "M29.0244012,8.24968403 C22.1632139,8.25834657 16.1741523,12.832579 14.4544599,19.3776076 C13.832111,19.279281 13.20312,19.2272122 12.5728452,19.2218415 C5.62905014,19.2217232 1.99977785e-06,24.7686157 1.99977785e-06,31.6109206 C1.99977785e-06,38.4532254 6.62905014,44 12.5728452,44 C22.6625546,44 49.500002,43.9979372 53.3350238,44 C56.2372834,44 63.2828385,43.8604971 68.2761419,37.5041138 C73.2694453,31.147461 70.2632768,17.4867764 68.1881953,11.6493259 C66.1131138,5.81187538 59.6578291,0 53.3280106,0 C45.8866154,0 39.2715769,4.00456749 35.9382426,9.91929332 C33.8018082,8.82655405 31.4311891,8.25413905 29.0244012,8.24968403 Z",
|
|
305
300
|
id: "path4220",
|
|
306
|
-
|
|
307
|
-
fill: "#0b9ee5"
|
|
301
|
+
fill: "#0B9EE5"
|
|
308
302
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
303
|
+
d: "M12.6356798,44 C22.7746907,43.937003 33.0654278,43.9720938 43.255762,43.9720938 C46.0886384,43.9720938 50.8633856,43.9748907 55.181552,43.9769417 C58.5400012,43.846454 64.6600826,42.7286231 68.900002,36.6595013 C70.4781085,33.855306 70.7241054,31.4933791 70.870002,29.9999998 C61.0123574,29.9967644 4.74480574,30.0001193 0.107164182,30.0001762 C0.0357213941,30.3929005 0,30.9706094 0,31.7333029 C0,38.2015669 6.41531361,44 12.6356798,44 Z",
|
|
309
304
|
id: "path4220-7",
|
|
310
|
-
|
|
311
|
-
d: "m-335.78 758.74c-0.00043 24.881 20.17 45.051 45.051 45.051 36.152-0.20272 72.845-0.0898 109.18-0.0898 10.101 0 27.126 0.009 42.523 0.0156 11.975-0.4199 32.775-4.017 47.893-23.547 4.439-5.7347 7.1108-13.107 8.5098-21.271-35.448-0.0105-239.67-0.15823-253.16-0.15823z",
|
|
312
|
-
fill: "#60bce9"
|
|
305
|
+
fill: "#60BCE9"
|
|
313
306
|
})), /*#__PURE__*/React__namespace.createElement("path", {
|
|
307
|
+
d: "M53.3593361,0 C47.918804,0 42.9223401,2.15054275 39.3299564,5.62541069 C38.0351939,6.90249749 36.9198138,8.3502422 36.000002,9.92363493 C36.000002,21.1882124 36.0054345,31.3594567 36.0054345,43.9919386 C38.3685237,43.9938645 40.7366832,43.9957078 43.0921391,43.9957078 C45.9061498,43.9957078 50.6490992,43.9981839 54.9385085,44 C58.2745918,43.8844761 64.0692084,42.8948363 68.2808918,37.5217121 C73.2653764,31.1622771 70.2646844,17.4953381 68.1932872,11.6553326 C66.1218901,5.8153271 59.6782653,0.000907901172 53.3596259,0.000907901172 L53.3593361,0 Z",
|
|
314
308
|
id: "path4220-2",
|
|
315
|
-
|
|
316
|
-
fill: "#
|
|
317
|
-
fillOpacity: ".31373"
|
|
309
|
+
fillOpacity: "0.31373",
|
|
310
|
+
fill: "#FFFFFF"
|
|
318
311
|
})), /*#__PURE__*/React__namespace.createElement("g", {
|
|
319
312
|
id: "g4244",
|
|
320
|
-
transform: "translate(
|
|
313
|
+
transform: "translate(20.000002, 14.500000)"
|
|
321
314
|
}, /*#__PURE__*/React__namespace.createElement("path", {
|
|
315
|
+
d: "M33.2943298,6.72474814 C36.4490656,9.02287887 37.3756525,8.9287324 39.4713926,11.7544337 C40.4745953,13.1069689 40.9988188,14.8107298 41,16.5033269 C41,21.1960094 37.0027377,25.0000392 32.0720208,24.9997778 C27.1415787,24.9997778 23.1445911,21.195748 23.1445911,16.5033269 C23.1462393,16.3723481 23.1510741,16.241411 23.1590681,16.110636 C22.2077851,15.8184709 21.258837,15.606125 20.5069638,15.606125 C19.7497338,15.606125 18.7925446,15.8208605 17.8344763,16.1162571 C17.8443657,16.2451131 17.851151,16.3741703 17.8548595,16.5033269 C17.8548101,21.195748 13.8578719,24.9997778 8.92742977,24.9997778 C3.9969876,24.9997778 0,21.195748 0,16.5033269 C0.00164824231,15.5820197 0.197168239,14.6813928 0.515927314,13.8208977 C2.01967372,8.45577777 2.93181101,2.25743153 8.1156979,1.57087606 C10.3834596,1.27052764 12.4978248,3.88414447 15.0127678,3.88414447 C17.5279307,3.88407126 17.5724882,0.0722713368 21.3552043,0.0053413284 C25.9779745,-0.0763080529 29.9219437,4.26794624 33.2945221,6.72474814 L33.2943298,6.72474814 Z M31.9884,10.3640673 C28.347158,10.3640673 25.3954308,13.1732976 25.3954308,16.6387556 C25.3954308,20.1042137 28.347158,22.9134439 31.9884,22.9134439 C35.629642,22.9134439 38.5813692,20.1042137 38.5813692,16.6387556 C38.5813692,13.1732976 35.629642,10.3640673 31.9884,10.3640673 L31.9884,10.3640673 Z M8.87866927,10.3640673 C5.23742729,10.3640673 2.28570002,13.1732976 2.28570002,16.6387556 C2.28570002,20.1042137 5.23742729,22.9134439 8.87866927,22.9134439 C12.5199112,22.9134439 15.4716385,20.1042137 15.4716385,16.6387556 C15.4716385,13.1732976 12.5199112,10.3640673 8.87866927,10.3640673 L8.87866927,10.3640673 Z",
|
|
322
316
|
id: "path4329",
|
|
323
|
-
fill: "#003232"
|
|
324
|
-
d: "m211.54 98.88c11.484 8.7901 14.857 8.43 22.486 19.238 3.6519 5.1733 5.5602 11.69 5.5645 18.164-0.00018 17.949-14.551 32.499-32.5 32.498-17.948-0.00018-32.498-14.55-32.498-32.498 0.006-0.50098 0.0236-1.0018 0.0527-1.502-3.4629-1.1175-6.9173-1.9297-9.6543-1.9297-2.7565 0-6.2409 0.82134-9.7285 1.9512 0.036 0.49286 0.0607 0.98649 0.0742 1.4805-0.00018 17.948-14.55 32.498-32.498 32.498-17.948-0.00019-32.498-14.55-32.498-32.498 0.006-3.5239 0.71774-6.9687 1.8781-10.26 5.474-20.521 8.7944-44.229 27.665-46.855 8.2552-1.1488 15.952 8.848 25.107 8.848 9.1558-0.00028 9.318-14.58 23.088-14.836 16.828-0.3123 31.185 16.304 43.462 25.701zm-4.7539 13.92c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24zm-84.125 0c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24z"
|
|
317
|
+
fill: "#003232"
|
|
325
318
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
319
|
+
d: "M18.3777369,1.23152 C17.7953855,1.80024206 17.3777758,2.40363177 16.8938244,2.93721557 C16.7477214,3.09830251 16.551869,3.28208813 16.3862482,3.40648382 C16.0550064,3.65530136 15.686377,3.82759384 15.2412692,3.87167353 C15.1670845,3.87902014 15.0907654,3.88290522 15.012169,3.88290783 C16.4111971,7.35960803 18.259481,10.684147 20.50631,15.6045484 C21.2581832,15.6045484 22.2071313,15.8168943 23.1584143,16.1090595 C23.1504203,16.2398345 23.1455855,16.3707663 23.1439372,16.5017504 C23.1439372,18.7013163 24.021901,20.7057916 25.4628494,22.2148541 C25.5589117,22.3154426 25.6575095,22.4133931 25.7584891,22.509503 C27.3740413,24.0470369 29.6063108,24.998332 32.0712571,24.998332 C32.2253403,24.998332 32.3783796,24.9944364 32.5305399,24.9870898 C33.4435562,24.9430912 34.3203662,24.7689529 35.1408063,24.4831016 C35.4142881,24.3878153 35.6816495,24.2796919 35.941852,24.1603735 C36.3321558,23.9814063 36.7064442,23.7766502 37.0626843,23.5475979 C39.4375267,22.0207571 40.9992363,19.4348012 40.9992363,16.5019073 C40.9981375,14.8093101 40.4264996,13.1363214 39.4706289,11.753014 C37.5293291,8.94378381 35.4368306,8.41618711 33.2935662,6.7233285 C30.0479023,4.15990918 25.8852664,0 21.5836287,0 C19.877588,0 19.0182769,0.606161033 18.3777974,1.23172131 L18.3777369,1.23152 Z M31.9875484,10.3622372 C33.3530073,10.3622372 34.6213297,10.7575164 35.6735676,11.4340586 C35.8489406,11.5468173 36.018325,11.6672051 36.1811164,11.7950884 C36.3439243,11.9229614 36.5003809,12.0580763 36.6495194,12.200015 C37.8425996,13.3354983 38.5805176,14.9041442 38.5805176,16.6370039 C38.5805176,19.9942236 35.810097,22.7354781 32.3265369,22.9035874 C32.2141652,22.9089993 32.1012359,22.9117445 31.9874385,22.9117445 C30.6221445,22.9117445 29.3536022,22.5168313 28.3014193,21.8404461 C28.3012984,21.8403676 28.3008699,21.8405219 28.3008699,21.8404461 C26.5471401,20.7128584 25.3944693,18.8029741 25.3944693,16.6371608 C25.3944693,14.9044318 26.1323874,13.335629 27.3254676,12.2001719 C27.4746005,12.0582358 27.6310517,11.9231182 27.7938705,11.7952453 C27.9566784,11.6673724 28.1255244,11.5469847 28.3008974,11.4342154 C29.3531352,10.7576472 30.6219796,10.3623941 31.987466,10.3623941 L31.9875484,10.3622372 Z",
|
|
326
320
|
id: "path4329-2",
|
|
327
|
-
fill: "url(#
|
|
328
|
-
d: "m157.24 77.869c-2.1199 2.1753-3.6401 4.4832-5.4018 6.5241-0.53185 0.61614-1.2448 1.3191-1.8477 1.7949-1.2058 0.9517-2.5477 1.6107-4.168 1.7793-0.27005 0.0281-0.54787 0.04296-0.83398 0.04297 5.0928 13.298 11.821 26.014 20 44.834 2.737 0 6.1914 0.8122 9.6543 1.9297-0.0291 0.5002-0.0467 1.001-0.0527 1.502 0 8.4131 3.196 16.08 8.4414 21.852 0.34969 0.38474 0.70861 0.75939 1.0762 1.127 5.881 5.8809 14.007 9.5194 22.98 9.5195 0.5609 0.00004 1.118-0.0149 1.6719-0.043 3.3236-0.16829 6.5154-0.83435 9.502-1.9277 0.99554-0.36446 1.9688-0.77802 2.916-1.2344 1.4208-0.68453 2.7833-1.4677 4.0801-2.3438 8.645-5.84 14.33-15.731 14.33-26.949-0.004-6.474-2.0849-12.873-5.5645-18.164-7.0668-10.745-14.684-12.763-22.486-19.238-11.815-9.8048-26.968-25.716-42.627-25.716-6.2104 0-9.3385 2.3185-11.67 4.7112zm49.543 34.924c4.9706 0 9.5876 1.5119 13.418 4.0996 0.6384 0.43129 1.255 0.89176 1.8476 1.3809 0.59266 0.4891 1.1622 1.0059 1.7051 1.5488 4.3431 4.3431 7.0293 10.343 7.0293 16.971 0 12.841-10.085 23.326-22.766 23.969-0.40906 0.0207-0.82015 0.0312-1.2344 0.0312-4.97 0-9.5878-1.5105-13.418-4.0976-0.00044-0.0003-0.002 0.00029-0.002 0-6.384-4.3129-10.58-11.618-10.58-19.902 0-6.6275 2.6862-12.628 7.0293-16.971 0.54288-0.54289 1.1124-1.0597 1.7051-1.5488 0.59266-0.4891 1.2073-0.94957 1.8457-1.3809 3.8304-2.5878 8.4493-4.0996 13.42-4.0996z"
|
|
321
|
+
fill: "url(#linearGradient-1)"
|
|
329
322
|
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
323
|
+
d: "M8.54047741,1.54734597 C8.39980543,1.54470276 8.25835327,1.55206506 8.11660443,1.57083684 C2.93260766,2.25739231 2.02085496,8.456 0.517108554,13.8211199 C0.198338491,14.681615 0.00260971699,15.5821896 0.000961474681,16.5035492 C0.000961474681,21.1959702 3.99794908,25 8.92839124,25 C13.8588334,25 17.855821,21.1959702 17.855821,16.5035492 C17.8521125,16.3743899 17.8453272,16.2453405 17.8354377,16.1164793 C18.7972421,15.8531777 19.4247005,15.6277596 20.4971568,15.6132493 C19.1526306,12.6387856 16.571593,7.26948259 15.0137293,3.88402682 C12.6559736,3.88402708 10.6505572,1.58699416 8.54025765,1.5473329 L8.54047741,1.54734597 Z M8.8795758,10.3640673 C12.5208178,10.3640673 15.472545,13.1732976 15.472545,16.6387556 C15.472545,20.1042137 12.5208178,22.9134439 8.8795758,22.9134439 C5.23833383,22.9134439 2.28660656,20.1042137 2.28660656,16.6387556 C2.28660656,13.1732976 5.23833383,10.3640673 8.8795758,10.3640673 L8.8795758,10.3640673 Z",
|
|
330
324
|
id: "path4329-7",
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
})));
|
|
325
|
+
fill: "url(#linearGradient-2)"
|
|
326
|
+
})))));
|
|
334
327
|
};
|
|
335
328
|
var Add = function Add(props) {
|
|
336
329
|
return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
|
|
@@ -1261,9 +1254,23 @@
|
|
|
1261
1254
|
color: geowebColors.snackbar.text,
|
|
1262
1255
|
fontSize: '16px',
|
|
1263
1256
|
letterSpacing: '0.44px',
|
|
1264
|
-
borderRadius: '2px'
|
|
1257
|
+
borderRadius: '2px',
|
|
1258
|
+
boxShadow: shadows[8]
|
|
1265
1259
|
}
|
|
1266
1260
|
}
|
|
1261
|
+
},
|
|
1262
|
+
MuiAvatar: {
|
|
1263
|
+
styleOverrides: {
|
|
1264
|
+
root: __assign(__assign({}, defaultButtonStyle(geowebColors.buttons.primary)), {
|
|
1265
|
+
fontWeight: 500,
|
|
1266
|
+
'&:hover': {
|
|
1267
|
+
backgroundColor: 'geowebColors.buttons.primary.default.fill'
|
|
1268
|
+
},
|
|
1269
|
+
height: 32,
|
|
1270
|
+
width: 32,
|
|
1271
|
+
fontSize: 16
|
|
1272
|
+
})
|
|
1273
|
+
}
|
|
1267
1274
|
}
|
|
1268
1275
|
}
|
|
1269
1276
|
});
|
|
@@ -1282,8 +1289,8 @@
|
|
|
1282
1289
|
* See the License for the specific language governing permissions and
|
|
1283
1290
|
* limitations under the License.
|
|
1284
1291
|
*
|
|
1285
|
-
* Copyright
|
|
1286
|
-
* Copyright
|
|
1292
|
+
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
1293
|
+
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
1287
1294
|
* */
|
|
1288
1295
|
|
|
1289
1296
|
var colors$1 = {
|
|
@@ -1293,7 +1300,7 @@
|
|
|
1293
1300
|
surfaceBrowser: '#CFCFCF'
|
|
1294
1301
|
},
|
|
1295
1302
|
brand: {
|
|
1296
|
-
brand: '#
|
|
1303
|
+
brand: '#FFFFFF'
|
|
1297
1304
|
},
|
|
1298
1305
|
buttons: {
|
|
1299
1306
|
primary: {
|
|
@@ -1576,9 +1583,6 @@
|
|
|
1576
1583
|
opacity: 0.25
|
|
1577
1584
|
},
|
|
1578
1585
|
// time scale
|
|
1579
|
-
timeScaleText: {
|
|
1580
|
-
fontSize: 12
|
|
1581
|
-
},
|
|
1582
1586
|
timeScalePointer: {
|
|
1583
1587
|
fill: '#F8F9F9'
|
|
1584
1588
|
},
|
|
@@ -1625,7 +1629,8 @@
|
|
|
1625
1629
|
},
|
|
1626
1630
|
tableRowDefaultCardContainer: {
|
|
1627
1631
|
fill: '#FFFFFF',
|
|
1628
|
-
border: '1px solid #EEEEEE'
|
|
1632
|
+
border: '1px solid #EEEEEE',
|
|
1633
|
+
borderColor: '#EEEEEE'
|
|
1629
1634
|
},
|
|
1630
1635
|
tableRowDisabledText: {
|
|
1631
1636
|
color: '#767676',
|
|
@@ -1634,7 +1639,8 @@
|
|
|
1634
1639
|
},
|
|
1635
1640
|
tableRowDisabledCardContainer: {
|
|
1636
1641
|
fill: '#F5F5F5',
|
|
1637
|
-
border: '1px solid #EEEEEE'
|
|
1642
|
+
border: '1px solid #EEEEEE',
|
|
1643
|
+
borderColor: '#EEEEEE'
|
|
1638
1644
|
}
|
|
1639
1645
|
},
|
|
1640
1646
|
tooltips: {
|
|
@@ -1694,7 +1700,10 @@
|
|
|
1694
1700
|
background: '#051039',
|
|
1695
1701
|
text: '#FFFFFF',
|
|
1696
1702
|
action: '#98e1f1',
|
|
1697
|
-
actionHover:
|
|
1703
|
+
actionHover: {
|
|
1704
|
+
fill: '#7BACFF',
|
|
1705
|
+
opacity: 0.2
|
|
1706
|
+
}
|
|
1698
1707
|
}
|
|
1699
1708
|
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/609bb6a5287bd1abe0de39a7
|
|
1700
1709
|
|
|
@@ -2012,8 +2021,8 @@
|
|
|
2012
2021
|
* See the License for the specific language governing permissions and
|
|
2013
2022
|
* limitations under the License.
|
|
2014
2023
|
*
|
|
2015
|
-
* Copyright
|
|
2016
|
-
* Copyright
|
|
2024
|
+
* Copyright 2022 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
2025
|
+
* Copyright 2022 - Finnish Meteorological Institute (FMI)
|
|
2017
2026
|
* */
|
|
2018
2027
|
|
|
2019
2028
|
var colors = {
|
|
@@ -2023,7 +2032,7 @@
|
|
|
2023
2032
|
surfaceBrowser: '#181818'
|
|
2024
2033
|
},
|
|
2025
2034
|
brand: {
|
|
2026
|
-
brand: '#
|
|
2035
|
+
brand: '#313131'
|
|
2027
2036
|
},
|
|
2028
2037
|
buttons: {
|
|
2029
2038
|
primary: {
|
|
@@ -2306,9 +2315,6 @@
|
|
|
2306
2315
|
opacity: 0.25
|
|
2307
2316
|
},
|
|
2308
2317
|
// time scale
|
|
2309
|
-
timeScaleText: {
|
|
2310
|
-
fontSize: 12
|
|
2311
|
-
},
|
|
2312
2318
|
timeScalePointer: {
|
|
2313
2319
|
fill: '#F8F9F9'
|
|
2314
2320
|
},
|
|
@@ -2355,7 +2361,8 @@
|
|
|
2355
2361
|
},
|
|
2356
2362
|
tableRowDefaultCardContainer: {
|
|
2357
2363
|
fill: '#303030',
|
|
2358
|
-
border: '1px solid #404040'
|
|
2364
|
+
border: '1px solid #404040',
|
|
2365
|
+
borderColor: '#404040'
|
|
2359
2366
|
},
|
|
2360
2367
|
tableRowDisabledText: {
|
|
2361
2368
|
color: '#909090',
|
|
@@ -2364,7 +2371,8 @@
|
|
|
2364
2371
|
},
|
|
2365
2372
|
tableRowDisabledCardContainer: {
|
|
2366
2373
|
fill: '#2B2B2B',
|
|
2367
|
-
border: '1px solid #404040'
|
|
2374
|
+
border: '1px solid #404040',
|
|
2375
|
+
borderColor: '#404040'
|
|
2368
2376
|
}
|
|
2369
2377
|
},
|
|
2370
2378
|
tooltips: {
|
|
@@ -2424,7 +2432,10 @@
|
|
|
2424
2432
|
background: '#051039',
|
|
2425
2433
|
text: '#FFFFFF',
|
|
2426
2434
|
action: '#98e1f1',
|
|
2427
|
-
actionHover:
|
|
2435
|
+
actionHover: {
|
|
2436
|
+
fill: '#7BACFF',
|
|
2437
|
+
opacity: 0.2
|
|
2438
|
+
}
|
|
2428
2439
|
}
|
|
2429
2440
|
}; // https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e694124ecf3886de76d4
|
|
2430
2441
|
|
|
@@ -82,7 +82,6 @@ export declare type GeowebColorPalette = {
|
|
|
82
82
|
timelineTimelineSurface: CSSProperties;
|
|
83
83
|
timelineMonthChangeDash: CSSProperties;
|
|
84
84
|
timelineSelectionBackground: CSSProperties;
|
|
85
|
-
timeScaleText: CSSProperties;
|
|
86
85
|
timeScalePointer: CSSProperties;
|
|
87
86
|
timeScaleHorizontalScale: CSSProperties;
|
|
88
87
|
timeScaleTimeIndicators: CSSProperties;
|
|
@@ -139,7 +138,7 @@ export declare type GeowebColorPalette = {
|
|
|
139
138
|
background: CSSProperties['color'];
|
|
140
139
|
text: CSSProperties['color'];
|
|
141
140
|
action: CSSProperties['color'];
|
|
142
|
-
actionHover: CSSProperties
|
|
141
|
+
actionHover: CSSProperties;
|
|
143
142
|
};
|
|
144
143
|
};
|
|
145
144
|
export declare type Elevations = {
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const BreakpointDemo: React.FC;
|
|
3
|
-
export declare const Breakpoints:
|
|
3
|
+
export declare const Breakpoints: {
|
|
4
|
+
(): React.ReactElement;
|
|
5
|
+
parameters: {
|
|
6
|
+
zeplinLink: {
|
|
7
|
+
name: string;
|
|
8
|
+
link: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -2,5 +2,13 @@ import * as React from 'react';
|
|
|
2
2
|
export declare const ButtonDemo: React.FC;
|
|
3
3
|
export declare const Buttons: {
|
|
4
4
|
(): React.ReactElement;
|
|
5
|
-
|
|
5
|
+
story: {
|
|
6
|
+
name: string;
|
|
7
|
+
parameters: {
|
|
8
|
+
zeplinLink: {
|
|
9
|
+
name: string;
|
|
10
|
+
link: string;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
6
14
|
};
|
|
@@ -1,3 +1,14 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const CardDemo: React.FC;
|
|
3
|
-
export declare const Cards:
|
|
3
|
+
export declare const Cards: {
|
|
4
|
+
(): React.ReactElement;
|
|
5
|
+
story: {
|
|
6
|
+
name: string;
|
|
7
|
+
parameters: {
|
|
8
|
+
zeplinLink: {
|
|
9
|
+
name: string;
|
|
10
|
+
link: string;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
};
|
|
@@ -3,5 +3,13 @@ interface ColorsDemoProps {
|
|
|
3
3
|
showSourceCode?: boolean;
|
|
4
4
|
}
|
|
5
5
|
export declare const ColorsDemo: React.FC<ColorsDemoProps>;
|
|
6
|
-
export declare const Colors:
|
|
6
|
+
export declare const Colors: {
|
|
7
|
+
(): React.ReactElement;
|
|
8
|
+
parameters: {
|
|
9
|
+
zeplinLink: {
|
|
10
|
+
name: string;
|
|
11
|
+
link: string;
|
|
12
|
+
}[];
|
|
13
|
+
};
|
|
14
|
+
};
|
|
7
15
|
export {};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const ElevationDemo: React.FC;
|
|
3
|
-
export declare const Elevation:
|
|
3
|
+
export declare const Elevation: {
|
|
4
|
+
(): React.ReactElement;
|
|
5
|
+
parameters: {
|
|
6
|
+
zeplinLink: {
|
|
7
|
+
name: string;
|
|
8
|
+
link: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const FormElementsDemo: React.FC;
|
|
3
3
|
export declare const FormElementsGWTheme: React.FC;
|
|
4
|
-
export declare const FormElements:
|
|
4
|
+
export declare const FormElements: {
|
|
5
|
+
(): React.ReactElement;
|
|
6
|
+
parameters: {
|
|
7
|
+
zeplinLink: {
|
|
8
|
+
name: string;
|
|
9
|
+
link: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -2,5 +2,13 @@ import * as React from 'react';
|
|
|
2
2
|
export declare const IconButtonDemo: React.FC;
|
|
3
3
|
export declare const IconButtons: {
|
|
4
4
|
(): React.ReactElement;
|
|
5
|
-
|
|
5
|
+
story: {
|
|
6
|
+
name: string;
|
|
7
|
+
parameters: {
|
|
8
|
+
zeplinLink: {
|
|
9
|
+
name: string;
|
|
10
|
+
link: string;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
6
14
|
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const MenuItemDemo: React.FC;
|
|
3
|
-
export declare const MenuItem:
|
|
3
|
+
export declare const MenuItem: {
|
|
4
|
+
(): React.ReactElement;
|
|
5
|
+
parameters: {
|
|
6
|
+
zeplinLink: {
|
|
7
|
+
name: string;
|
|
8
|
+
link: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const SliderDemo: React.FC;
|
|
3
|
-
export declare const Slider:
|
|
3
|
+
export declare const Slider: {
|
|
4
|
+
(): React.ReactElement;
|
|
5
|
+
parameters: {
|
|
6
|
+
zeplinLink: {
|
|
7
|
+
name: string;
|
|
8
|
+
link: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -4,5 +4,13 @@ interface SnackbarDemoProps {
|
|
|
4
4
|
handleClose?: () => void;
|
|
5
5
|
}
|
|
6
6
|
export declare const SnackbarDemo: React.FC<SnackbarDemoProps>;
|
|
7
|
-
export declare const Snackbar:
|
|
7
|
+
export declare const Snackbar: {
|
|
8
|
+
(): React.ReactElement;
|
|
9
|
+
parameters: {
|
|
10
|
+
zeplinLink: {
|
|
11
|
+
name: string;
|
|
12
|
+
link: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
8
16
|
export {};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const SwitchDemo: React.FC;
|
|
3
|
-
export declare const Switch:
|
|
3
|
+
export declare const Switch: {
|
|
4
|
+
(): React.ReactElement;
|
|
5
|
+
parameters: {
|
|
6
|
+
zeplinLink: {
|
|
7
|
+
name: string;
|
|
8
|
+
link: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -4,5 +4,13 @@ interface TabsDemoProps {
|
|
|
4
4
|
onChange?: (event: React.ChangeEvent, index: number) => void;
|
|
5
5
|
}
|
|
6
6
|
export declare const TabsDemo: React.FC<TabsDemoProps>;
|
|
7
|
-
export declare const Tabs:
|
|
7
|
+
export declare const Tabs: {
|
|
8
|
+
(): React.ReactElement;
|
|
9
|
+
parameters: {
|
|
10
|
+
zeplinLink: {
|
|
11
|
+
name: string;
|
|
12
|
+
link: string;
|
|
13
|
+
}[];
|
|
14
|
+
};
|
|
15
|
+
};
|
|
8
16
|
export {};
|
|
@@ -2,5 +2,13 @@ import * as React from 'react';
|
|
|
2
2
|
export declare const TextFieldDemo: React.FC;
|
|
3
3
|
export declare const TextFields: {
|
|
4
4
|
(): React.ReactElement;
|
|
5
|
-
|
|
5
|
+
story: {
|
|
6
|
+
name: string;
|
|
7
|
+
parameters: {
|
|
8
|
+
zeplinLink: {
|
|
9
|
+
name: string;
|
|
10
|
+
link: string;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
6
14
|
};
|
|
@@ -2,5 +2,13 @@ import * as React from 'react';
|
|
|
2
2
|
export declare const ToggleButtonDemo: React.FC;
|
|
3
3
|
export declare const ToggleButtons: {
|
|
4
4
|
(): React.ReactElement;
|
|
5
|
-
|
|
5
|
+
story: {
|
|
6
|
+
name: string;
|
|
7
|
+
parameters: {
|
|
8
|
+
zeplinLink: {
|
|
9
|
+
name: string;
|
|
10
|
+
link: string;
|
|
11
|
+
}[];
|
|
12
|
+
};
|
|
13
|
+
};
|
|
6
14
|
};
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const TooltipDemo: React.FC;
|
|
3
|
-
export declare const Tooltips:
|
|
3
|
+
export declare const Tooltips: {
|
|
4
|
+
(): React.ReactElement;
|
|
5
|
+
parameters: {
|
|
6
|
+
zeplinLink: {
|
|
7
|
+
name: string;
|
|
8
|
+
link: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export declare const TypographyDemo: React.FC;
|
|
3
3
|
export declare const TypographyGWTheme: React.FC;
|
|
4
|
-
export declare const Typography:
|
|
4
|
+
export declare const Typography: {
|
|
5
|
+
(): React.ReactElement;
|
|
6
|
+
parameters: {
|
|
7
|
+
zeplinLink: {
|
|
8
|
+
name: string;
|
|
9
|
+
link: string;
|
|
10
|
+
}[];
|
|
11
|
+
};
|
|
12
|
+
};
|