@opengeoweb/theme 4.1.0 → 4.3.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/index.esm.js CHANGED
@@ -110,7 +110,8 @@ var ThumbsUp = function ThumbsUp(props) {
110
110
  };
111
111
  var Edit = function Edit(props) {
112
112
  return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
113
- d: "m8.332 17.09-.005.001-2.652.604.956-2.542.001-.001.001-.001.857-.744 1.69 1.945-.848.738zm.71.815L20.932 7.577 17.823 4 5.933 14.329l-.01.008.005.005L4.173 19l4.857-1.09-.004-.02.019.02-.002-.005z"
113
+ d: "m12.718 3.807-5.214 9.426-1.3 2.325.325 5.58 4.905-2.683 6.494-11.711-5.21-2.937zM11.514 5.98l-.616 1.111 5.23 2.9.616-1.11-5.23-2.901zm-4.69 8.462-.612 1.113 5.225 2.898.616-1.11-5.23-2.901z",
114
+ fillRule: "evenodd"
114
115
  }));
115
116
  };
116
117
  var Export = function Export(props) {
@@ -329,6 +330,13 @@ var AutoUpdateInActive = function AutoUpdateInActive(props) {
329
330
  y: 17.3
330
331
  }, "AUTO"))));
331
332
  };
333
+ var Now = function Now(props) {
334
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("g", {
335
+ transform: "translate(0 2)"
336
+ }, /*#__PURE__*/React.createElement("path", {
337
+ d: "M4.85,15.55 L5.89,15.55 L7.39013512,18.2040258 L7.39,15.55 L8.42,15.55 L8.42,19.82 L7.39,19.815 L5.89,17.19 L5.89,19.82 L4.85,19.815 L4.85,15.55 Z M11.275,15.49 C12.55,15.49 13.14,16.4749736 13.14,17.69 C13.14,18.9050264 12.55,19.89 11.275,19.89 C10,19.89 9.4,18.9050264 9.4,17.69 C9.4,16.4749736 10,15.49 11.275,15.49 Z M11.265,16.3 C10.63,16.3 10.46,16.8781414 10.46,17.69 C10.46,18.5018586 10.63,19.08 11.265,19.08 C11.9,19.08 12.09,18.5018586 12.09,17.69 C12.09,16.8781414 11.9,16.3 11.265,16.3 Z M13.85,15.55 L14.88,15.55 L15.37,18.23 L15.96,15.55 L16.83,15.55 L17.42,18.23 L17.91,15.55 L18.93,15.55 L18.03,19.82 L16.96,19.82 L16.39,17.38 L15.83,19.82 L14.76,19.82 L13.85,15.55 Z M12,0 C16.7,0 18.85,4.12 18.85,6.82 C18.85,9.52 17.0960097,13.63 12,13.63 C9.06797949,13.63 7.24456537,12.2694474 6.22334015,10.5996971 C6.10797504,10.4110698 6.00732732,9.72319365 6.59320378,9.33888177 C7.17908025,8.95456988 7.71708662,9.39022217 7.84387287,9.58248667 C8.70143045,10.8829264 10.1633005,11.82 12,11.82 C15,11.82 17,9.32 17,6.82 C17,4.32 15,1.81 12,1.81 C10.5492584,1.81 9.33236686,2.39696387 8.46241089,3.28591644 L9.474995,3.73670576 C9.86718007,3.9113178 9.95685384,4.26087798 9.84288406,4.51685828 C9.78589918,4.64484843 9.68395359,4.74990886 9.54141806,4.83107363 L6.67469458,6.47927087 C6.45916744,6.60267712 6.21814322,6.61960842 6.01095111,6.52736055 C5.80211462,6.43438056 5.65295882,6.24275928 5.60209611,6.00074862 L4.90755008,2.76794268 C4.87285304,2.60689825 4.88471829,2.46076082 4.94098185,2.3343908 C5.05495162,2.0784105 5.37472892,1.91114968 5.7660918,2.08539566 L6.7215416,2.51032096 C7.8443708,1.0870475 9.58579853,0 12,0 Z"
338
+ })));
339
+ };
332
340
  var Pause = function Pause(props) {
333
341
  return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
334
342
  d: "M8.579 4c.865 0 1.565.7 1.565 1.564v12.87c0 .866-.7 1.566-1.565 1.566-.863 0-1.565-.7-1.565-1.565v-4.87H7v-3.13h.014V5.564C7.014 4.7 7.716 4 8.579 4zm6.915 0c.865 0 1.565.7 1.565 1.564v12.871c0 .865-.7 1.565-1.565 1.565-.863 0-1.565-.7-1.565-1.565v-4.87h-.014v-3.13h.014v-4.87C13.93 4.7 14.631 4 15.494 4z"
@@ -485,11 +493,6 @@ var Minus = function Minus(props) {
485
493
  d: "M13,11 L11,11 L8,11 C7.43301962,11 7,11.4597824 7,12.0268006 C7,12.5938188 7.43301962,13 8,13 L11,13 L13,13 L16,13 C16.5669804,13 17,12.5938188 17,12.0268006 C17,11.4597824 16.5669804,11 16,11 L13,11 Z"
486
494
  }));
487
495
  };
488
- var Sort = function Sort(props) {
489
- return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
490
- d: "M5.5,20 L5.5,22 L3,22 L3,20 L5.5,20 Z M17,2 L20,6 L18,6 L18,18 L20,18 L17,22 L14,18 L16,18 L16,6 L14,6 L17,2 Z M7,15.5 L7,17.5 L3,17.5 L3,15.5 L7,15.5 Z M8.5,11 L8.5,13 L3,13 L3,11 L8.5,11 Z M10,6.5 L10,8.5 L3,8.5 L3,6.5 L10,6.5 Z M11.5,2 L11.5,4 L3,4 L3,2 L11.5,2 Z"
491
- }));
492
- };
493
496
  var Equalizer = function Equalizer(props) {
494
497
  return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
495
498
  d: "M5,2 L5.00043449,14.0500973 C6.14133817,14.2819003 7,15.2906746 7,16.5 C7,17.3174727 6.60764218,18.0433054 6.00097133,18.4994531 L6,22 L3,22 L3.00004507,18.5002169 C2.39279608,18.0441159 2,17.3179292 2,16.5 C2,15.2903182 2.85916789,14.2813059 4.00057405,14.0498926 L4,2 L5,2 Z M12.5,2 L12.5004345,5.05009729 C13.6413382,5.28190033 14.5,6.29067455 14.5,7.5 C14.5,8.31747272 14.1076422,9.04330535 13.5009713,9.49945313 L13.5,22 L10.5,22 L10.5000451,9.50021694 C9.89279608,9.04411586 9.5,8.31792915 9.5,7.5 C9.5,6.29031824 10.3591679,5.2813059 11.500574,5.0498926 L11.5,2 L12.5,2 Z M20,2 L20.0004345,11.0500973 C21.1413382,11.2819003 22,12.2906746 22,13.5 C22,14.3174727 21.6076422,15.0433054 21.0009713,15.4994531 L21,22 L18,22 L18.0000451,15.5002169 C17.3927961,15.0441159 17,14.3179292 17,13.5 C17,12.2903182 17.8591679,11.2813059 19.000574,11.0498926 L19,2 L20,2 Z"
@@ -543,6 +546,42 @@ var SubdirectoryArrowRight = function SubdirectoryArrowRight(props) {
543
546
  d: "M5.08 2c.595 0 1.078.59 1.078 1.317V14.84h10.469l-3.784-3.578a1.037 1.037 0 0 1 0-1.526 1.19 1.19 0 0 1 1.614 0l6.54 6.183-6.54 6.185c-.223.21-.515.316-.807.316-.292 0-.585-.106-.807-.316a1.038 1.038 0 0 1 0-1.527L16.627 17H5.08a.912.912 0 0 1-.387-.086A1.081 1.081 0 0 1 4 15.92l.006-.1L4 15.684V3.317C4 2.59 4.483 2 5.08 2z"
544
547
  }));
545
548
  };
549
+ var Speed = function Speed(props) {
550
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
551
+ d: "M13.0185689,0.0297138829 C13.2816828,0.125479523 13.375552,0.393860848 13.3173741,0.670655588 C13.2591962,0.947450328 11.1238887,11.0829138 10.7956738,11.9846767 C10.4178888,13.0226325 9.27020413,13.5578066 8.23224832,13.1800216 C7.19429251,12.8022366 6.65911834,11.6545519 7.03690336,10.6165961 C7.19777378,10.1746082 8.45223163,7.753762 9.7051842,5.37094004 L10.0053032,4.80082548 C11.2011782,2.53154866 12.314927,0.44601574 12.3776815,0.328635445 C12.5110348,0.0792023166 12.755455,-0.0660517572 13.0185689,0.0297138829 Z M19.4360969,8.53332236 C19.7202953,9.34072717 20.0334312,10.6740767 20.0334312,12.9435947 L15.8134312,12.9409726 C15.9147467,12.4409651 16.0334312,11.9234904 16.0334312,11.3935947 C16.0334312,10.7848462 15.9747709,10.1930974 15.860471,9.62582623 L19.4360969,8.53332236 Z M0.24,9.02480771 L1.14284266,9.30137886 C0.796626585,10.38249 0.683431191,11.5887966 0.683431191,12.8935947 L0.193431191,12.8935947 C-0.149932748,11.3243559 0.0281771199,9.95042242 0.233431191,9.05635532 L0.24,9.02480771 Z M7.97460351,10.9640905 C7.785711,11.4830684 8.05329808,12.0569108 8.57227599,12.2458033 C9.09125389,12.4346958 9.66509624,12.1671087 9.85398875,11.6481308 C10.0428813,11.1291529 9.77529418,10.5553105 9.25631627,10.366418 C8.73733837,10.1775255 8.16349602,10.4451126 7.97460351,10.9640905 Z M15.66294,3.32668699 C17.1046645,4.36667952 18.3549992,5.93102775 19.0441285,7.59528372 L19.048,7.60580771 L15.6041584,8.65930693 C15.2288334,7.53006422 14.6145128,6.52875923 13.7894188,5.72525838 L15.66294,3.32668699 Z M3.151,3.91680771 L4.07227289,5.23343855 C3.04988317,6.02547664 2.14199378,7.08924721 1.51712115,8.36942033 L0.504,8.05980771 L0.66653777,7.65768052 C0.946845496,6.97287844 1.22267153,6.3505113 1.58343119,5.78752126 C2.04185637,5.07211751 2.62700543,4.45259196 3.14662121,3.92267024 Z M13.5370427,2.15601523 C13.9045004,2.32031554 14.3000944,2.51472051 14.7316953,2.74422981 L14.813,2.78880771 L13.0229815,5.08063176 L12.9211263,5.01013613 C13.1339222,4.03128992 13.3442549,3.05520552 13.5370427,2.15601523 Z M8.64330378,1.36555752 L8.60273799,3.67605906 C8.53008184,3.67441939 8.45697828,3.67359473 8.38343119,3.67359473 C7.29621364,3.67359473 5.99983997,4.00544303 4.89787799,4.66702681 L3.90244703,3.24533554 C5.38148072,2.08015309 7.15804171,1.51034477 8.64330378,1.36555752 Z M9.64483088,1.31952159 C10.1808707,1.31407534 10.6831894,1.3389592 11.2036076,1.42293267 L11.1277192,1.56621248 C10.7501769,2.27968921 10.3484138,3.04068828 9.94570637,3.80634031 C9.83236728,3.78598023 9.71777754,3.76829082 9.60184741,3.75281542 L9.64483088,1.31952159 Z",
552
+ transform: "translate(2 6)"
553
+ }));
554
+ };
555
+ var DimensionsElevation = function DimensionsElevation(props) {
556
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
557
+ d: "M4,16 L4,19 L0,19 L0,16 L4,16 Z M7,11 L7,14 L0,14 L0,11 L7,11 Z M9,6 L9,9 L0,9 L0,6 L9,6 Z M12,1 L12,4 L0,4 L0,1 L12,1 Z M16,0 L13,4 L15,4 L15,16 L13,16 L16,20 L19,16 L17,16 L17,4 L19,4 L16,0 Z",
558
+ transform: "translate(2 2)"
559
+ }));
560
+ };
561
+ var DimensionsTime = function DimensionsTime(props) {
562
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
563
+ d: "M12.13,5 C16.0677903,5 19.26,8.19220973 19.26,12.13 C19.26,16.0677903 16.0677903,19.26 12.13,19.26 C8.19220973,19.26 5,16.0677903 5,12.13 C5,8.19220973 8.19220973,5 12.13,5 Z M5.1376547,18.0009318 L0,18 L0,15 L3.46039175,15.000536 C3.82762817,16.1102542 4.40198,17.1256503 5.1376547,18.0009318 Z M12.13,7 C9.29677923,7 7,9.29677923 7,12.13 C7,14.9632208 9.29677923,17.26 12.13,17.26 C14.9632208,17.26 17.26,14.9632208 17.26,12.13 C17.26,9.29677923 14.9632208,7 12.13,7 Z M12.547494,8.35 L12.547,11.769 L14.7493339,13.0406354 L14.0651234,14.2257228 L12.183,13.139 L11.179073,13.1394737 L11.179073,8.35 L12.547494,8.35 Z M3,12.13 C3,12.4237363 3.0138714,12.7142328 3.04099487,13.0008701 L0,13 L0,10 L3.24967033,10.0005024 C3.08643451,10.6837249 3,11.3967685 3,12.13 Z M3.98526578,8.00011679 L0,8 L0,5 L6.42694067,4.99991383 C5.41424324,5.81098129 4.57807756,6.83332299 3.98526578,8.00011679 Z M18,0 L18,3 L0,3 L0,0 L18,0 Z",
564
+ transform: "translate(2 2)"
565
+ }));
566
+ };
567
+ var DimensionsRefTime = function DimensionsRefTime(props) {
568
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
569
+ d: "M14.41,3.78240772 L14.41,5.15240772 L12.66,5.15240772 L12.6594767,6.01936211 C13.545349,6.08439076 14.3862477,6.31127801 15.1527207,6.67057174 L15.7989136,5.55168032 L16.9160864,6.19668032 L16.2670916,7.32230296 C18.0787957,8.61518068 19.26,10.7346478 19.26,13.13 C19.26,17.0677903 16.0677903,20.26 12.13,20.26 C8.19220973,20.26 5,17.0677903 5,13.13 C5,9.4490968 7.78929885,6.41966926 11.3695371,6.04007678 L11.37,5.15240772 L9.62,5.15240772 L9.62,3.78240772 L14.41,3.78240772 Z M12.13,8 C9.29677923,8 7,10.2967792 7,13.13 C7,15.9632208 9.29677923,18.26 12.13,18.26 C14.9632208,18.26 17.26,15.9632208 17.26,13.13 C17.26,10.2967792 14.9632208,8 12.13,8 Z M3.19183937,15.0007752 C3.41732809,16.0836244 3.83463472,17.0961214 4.40661658,18.0011235 L0,18 L0,15 Z M14.3819805,9.95760756 L15.3496003,10.9252274 L12.1676198,14.1072079 L11.2,13.1395881 L14.3819805,9.95760756 Z M3.55058156,10.0001683 C3.19435424,10.9763976 3,12.0305019 3,13.13 L3.002,13 L0,13 L0,10 Z M7.97195056,4.9996378 C6.60386085,5.70071412 5.43590345,6.73695253 4.57644304,7.99998836 L0,8 L0,5 Z M18,0 L18,3 L16,3 L16,2.5 L8,2.5 L8,3 L0,3 L0,0 L18,0 Z",
570
+ transform: "translate(2 2)"
571
+ }));
572
+ };
573
+ var DimensionsOther = function DimensionsOther(props) {
574
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
575
+ d: "M5.1376547,18.0009318 L0,18 L0,15 L3.46039175,15.000536 C3.82762817,16.1102542 4.40198,17.1256503 5.1376547,18.0009318 Z M12.5,7 L12.5,11 L16.5,11 L16.5,12.5 L12.5,12.5 L12.5,16.5 L11,16.5 L11,12.5 L7,12.5 L7,11 L11,11 L11,7 L12.5,7 Z M3,12.13 C3,12.4237363 3.0138714,12.7142328 3.04099487,13.0008701 L0,13 L0,10 L3.24967033,10.0005024 C3.08643451,10.6837249 3,11.3967685 3,12.13 Z M3.98526578,8.00011679 L0,8 L0,5 L6.42694067,4.99991383 C5.41424324,5.81098129 4.57807756,6.83332299 3.98526578,8.00011679 Z M18,0 L18,3 L0,3 L0,0 L18,0 Z",
576
+ transform: "translate(3 3)"
577
+ }));
578
+ };
579
+ var Picture = function Picture(props) {
580
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
581
+ d: "M19.9986404,0 C21,0 22,1 22,2 L22,17.9956787 C22,19 21,20 20,20 L2,20 C0.8954305,20 1.3527075e-16,19.1045695 0,18 L0,2 C0,0.996459653 1,0 2,0 L19.9986404,0 Z M19.5,2.5 L2.5,2.5 L2.5,17.5 L19.5,17.5 L19.5,2.5 Z M12.8300654,7 L18,15.5204398 L4,15.5204398 L8.02614379,9 L9.81960446,11.7515969 L12.8300654,7 Z M6,4.35 C7.1045695,4.35 8,5.2454305 8,6.35 C8,7.4545695 7.1045695,8.35 6,8.35 C4.8954305,8.35 4,7.4545695 4,6.35 C4,5.2454305 4.8954305,4.35 6,4.35 Z",
582
+ transform: "translate(1 2)"
583
+ }));
584
+ };
546
585
 
547
586
  /* *
548
587
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -596,6 +635,7 @@ var index = /*#__PURE__*/Object.freeze({
596
635
  DragHandle: DragHandle,
597
636
  AutoUpdateActive: AutoUpdateActive,
598
637
  AutoUpdateInActive: AutoUpdateInActive,
638
+ Now: Now,
599
639
  Pause: Pause,
600
640
  Play: Play,
601
641
  Info: Info,
@@ -620,7 +660,6 @@ var index = /*#__PURE__*/Object.freeze({
620
660
  List: List,
621
661
  Home: Home,
622
662
  Minus: Minus,
623
- Sort: Sort,
624
663
  Equalizer: Equalizer,
625
664
  Link: Link,
626
665
  LinkOff: LinkOff,
@@ -629,7 +668,13 @@ var index = /*#__PURE__*/Object.freeze({
629
668
  WebAssetOff: WebAssetOff,
630
669
  Notifications: Notifications,
631
670
  Update: Update,
632
- SubdirectoryArrowRight: SubdirectoryArrowRight
671
+ SubdirectoryArrowRight: SubdirectoryArrowRight,
672
+ Speed: Speed,
673
+ DimensionsElevation: DimensionsElevation,
674
+ DimensionsTime: DimensionsTime,
675
+ DimensionsRefTime: DimensionsRefTime,
676
+ DimensionsOther: DimensionsOther,
677
+ Picture: Picture
633
678
  });
634
679
 
635
680
  function _defineProperty(obj, key, value) {
@@ -719,7 +764,7 @@ function _nonIterableRest() {
719
764
  * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
720
765
  * Copyright 2021 - Finnish Meteorological Institute (FMI)
721
766
  * */
722
- var gwButtonVariants = ['primary', 'secondary', 'tertiary', 'flat', 'tool', 'boxed'];
767
+ var gwButtonVariants = ['primary', 'secondary', 'tertiary', 'flat', 'tool', 'boxed', 'icon'];
723
768
 
724
769
  var defaultButtonStyle = function defaultButtonStyle(button) {
725
770
  return {
@@ -923,8 +968,8 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
923
968
  styleOverrides: {
924
969
  root: {
925
970
  color: geowebColors.typographyAndIcons.iconLinkActive,
926
- '&.Mui-disabled': {
927
- color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled, "!important")
971
+ '&.MuiRadio-root.Mui-disabled': {
972
+ color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled)
928
973
  },
929
974
  '&.Mui-checked': {
930
975
  color: geowebColors.typographyAndIcons.iconLinkActive
@@ -1183,6 +1228,17 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
1183
1228
  '&:after': {
1184
1229
  borderColor: geowebColors.captions.captionError.color
1185
1230
  }
1231
+ },
1232
+ // can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
1233
+ '&.MuiInputBase-readOnly': {
1234
+ background: 'transparent',
1235
+ color: geowebColors.typographyAndIcons.text,
1236
+ ' .MuiInputBase-readOnly': {
1237
+ WebkitTextFillColor: 'inherit'
1238
+ },
1239
+ '&:before': {
1240
+ border: 'transparent'
1241
+ }
1186
1242
  }
1187
1243
  },
1188
1244
  underline: {
@@ -1470,6 +1526,33 @@ var colors$1 = {
1470
1526
  borderColor: 'transparent'
1471
1527
  }
1472
1528
  },
1529
+ icon: {
1530
+ "default": {
1531
+ fill: 'transparent',
1532
+ color: '#374061',
1533
+ borderColor: 'transparent'
1534
+ },
1535
+ mouseOver: {
1536
+ fill: '#E3E4E7',
1537
+ color: '#374061',
1538
+ borderColor: 'transparent'
1539
+ },
1540
+ active: {
1541
+ fill: 'transparent',
1542
+ color: '#186DFF',
1543
+ borderColor: 'transparent'
1544
+ },
1545
+ activeMouseOver: {
1546
+ fill: 'rgba(24, 109, 255, 0.1)',
1547
+ color: '#186DFF',
1548
+ borderColor: 'transparent'
1549
+ },
1550
+ disabled: {
1551
+ fill: 'transparent',
1552
+ color: '#707070',
1553
+ borderColor: 'transparent'
1554
+ }
1555
+ },
1473
1556
  focusDefault: {
1474
1557
  outline: 'solid 2px #419cfe'
1475
1558
  }
@@ -1496,6 +1579,10 @@ var colors$1 = {
1496
1579
  disabled: {
1497
1580
  fill: '#000000',
1498
1581
  opacity: 0
1582
+ },
1583
+ label: {
1584
+ fill: '#051039',
1585
+ opacity: 0.67
1499
1586
  }
1500
1587
  },
1501
1588
  tab: {
@@ -2218,6 +2305,33 @@ var colors = {
2218
2305
  borderColor: 'transparent'
2219
2306
  }
2220
2307
  },
2308
+ icon: {
2309
+ "default": {
2310
+ fill: 'transparent',
2311
+ color: '#F8F9F9',
2312
+ borderColor: 'transparent'
2313
+ },
2314
+ mouseOver: {
2315
+ fill: '#494949',
2316
+ color: '#F8F9F9',
2317
+ borderColor: 'transparent'
2318
+ },
2319
+ active: {
2320
+ fill: 'transparent',
2321
+ color: '#7BACFF',
2322
+ borderColor: 'transparent'
2323
+ },
2324
+ activeMouseOver: {
2325
+ fill: 'rgba(24, 109, 255, 0.1)',
2326
+ color: '#488BFD',
2327
+ borderColor: 'transparent'
2328
+ },
2329
+ disabled: {
2330
+ fill: 'transparent',
2331
+ color: '#B4B4B4',
2332
+ borderColor: 'transparent'
2333
+ }
2334
+ },
2221
2335
  focusDefault: {
2222
2336
  outline: 'solid 2px #419cfe'
2223
2337
  }
@@ -2244,6 +2358,10 @@ var colors = {
2244
2358
  disabled: {
2245
2359
  color: '#000000',
2246
2360
  opacity: 0
2361
+ },
2362
+ label: {
2363
+ fill: '#FFFFFF',
2364
+ opacity: 0.7
2247
2365
  }
2248
2366
  },
2249
2367
  tab: {
@@ -2483,8 +2601,8 @@ var elevations = {
2483
2601
  var darkTheme = createTheme('dark', parseColors(colors), createShadows(elevations));
2484
2602
 
2485
2603
  var ThemeContext = /*#__PURE__*/React.createContext({
2486
- toggleTheme: null,
2487
- isDark: null
2604
+ toggleTheme: undefined,
2605
+ isDark: undefined
2488
2606
  });
2489
2607
  var ThemeProvider = function ThemeProvider(_ref) {
2490
2608
  var children = _ref.children,
@@ -2543,4 +2661,4 @@ var ThemeWrapperOldTheme = function ThemeWrapperOldTheme(_a) {
2543
2661
  }, props), children);
2544
2662
  };
2545
2663
 
2546
- export { Add, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, Copy, Delete, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, Edit, Equalizer, Exclamation, Expand, Export, FastForward, Filter, Flag, GWTheme, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, Link, LinkOff, List, ListItem, Location, Minus, Notifications, Options, Pause, Play, Preset, PresetTiles, PresetWorkspace, Resize, Search, SliderThumb, Sort, SplitHorizontal, SplitVertical, SubdirectoryArrowRight, Success, TextIcon, ThemeContext, ThemeProvider, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesManager, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, darkTheme, gwButtonVariants, lightTheme, useThemeContext };
2664
+ export { Add, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, Edit, Equalizer, Exclamation, Expand, Export, FastForward, Filter, Flag, GWTheme, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, Link, LinkOff, List, ListItem, Location, Minus, Notifications, Now, Options, Pause, Picture, Play, Preset, PresetTiles, PresetWorkspace, Resize, Search, SliderThumb, Speed, SplitHorizontal, SplitVertical, SubdirectoryArrowRight, Success, TextIcon, ThemeContext, ThemeProvider, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesManager, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, darkTheme, gwButtonVariants, lightTheme, useThemeContext };
package/index.umd.js CHANGED
@@ -161,7 +161,8 @@
161
161
  };
162
162
  var Edit = function Edit(props) {
163
163
  return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
164
- d: "m8.332 17.09-.005.001-2.652.604.956-2.542.001-.001.001-.001.857-.744 1.69 1.945-.848.738zm.71.815L20.932 7.577 17.823 4 5.933 14.329l-.01.008.005.005L4.173 19l4.857-1.09-.004-.02.019.02-.002-.005z"
164
+ d: "m12.718 3.807-5.214 9.426-1.3 2.325.325 5.58 4.905-2.683 6.494-11.711-5.21-2.937zM11.514 5.98l-.616 1.111 5.23 2.9.616-1.11-5.23-2.901zm-4.69 8.462-.612 1.113 5.225 2.898.616-1.11-5.23-2.901z",
165
+ fillRule: "evenodd"
165
166
  }));
166
167
  };
167
168
  var Export = function Export(props) {
@@ -380,6 +381,13 @@
380
381
  y: 17.3
381
382
  }, "AUTO"))));
382
383
  };
384
+ var Now = function Now(props) {
385
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("g", {
386
+ transform: "translate(0 2)"
387
+ }, /*#__PURE__*/React__namespace.createElement("path", {
388
+ d: "M4.85,15.55 L5.89,15.55 L7.39013512,18.2040258 L7.39,15.55 L8.42,15.55 L8.42,19.82 L7.39,19.815 L5.89,17.19 L5.89,19.82 L4.85,19.815 L4.85,15.55 Z M11.275,15.49 C12.55,15.49 13.14,16.4749736 13.14,17.69 C13.14,18.9050264 12.55,19.89 11.275,19.89 C10,19.89 9.4,18.9050264 9.4,17.69 C9.4,16.4749736 10,15.49 11.275,15.49 Z M11.265,16.3 C10.63,16.3 10.46,16.8781414 10.46,17.69 C10.46,18.5018586 10.63,19.08 11.265,19.08 C11.9,19.08 12.09,18.5018586 12.09,17.69 C12.09,16.8781414 11.9,16.3 11.265,16.3 Z M13.85,15.55 L14.88,15.55 L15.37,18.23 L15.96,15.55 L16.83,15.55 L17.42,18.23 L17.91,15.55 L18.93,15.55 L18.03,19.82 L16.96,19.82 L16.39,17.38 L15.83,19.82 L14.76,19.82 L13.85,15.55 Z M12,0 C16.7,0 18.85,4.12 18.85,6.82 C18.85,9.52 17.0960097,13.63 12,13.63 C9.06797949,13.63 7.24456537,12.2694474 6.22334015,10.5996971 C6.10797504,10.4110698 6.00732732,9.72319365 6.59320378,9.33888177 C7.17908025,8.95456988 7.71708662,9.39022217 7.84387287,9.58248667 C8.70143045,10.8829264 10.1633005,11.82 12,11.82 C15,11.82 17,9.32 17,6.82 C17,4.32 15,1.81 12,1.81 C10.5492584,1.81 9.33236686,2.39696387 8.46241089,3.28591644 L9.474995,3.73670576 C9.86718007,3.9113178 9.95685384,4.26087798 9.84288406,4.51685828 C9.78589918,4.64484843 9.68395359,4.74990886 9.54141806,4.83107363 L6.67469458,6.47927087 C6.45916744,6.60267712 6.21814322,6.61960842 6.01095111,6.52736055 C5.80211462,6.43438056 5.65295882,6.24275928 5.60209611,6.00074862 L4.90755008,2.76794268 C4.87285304,2.60689825 4.88471829,2.46076082 4.94098185,2.3343908 C5.05495162,2.0784105 5.37472892,1.91114968 5.7660918,2.08539566 L6.7215416,2.51032096 C7.8443708,1.0870475 9.58579853,0 12,0 Z"
389
+ })));
390
+ };
383
391
  var Pause = function Pause(props) {
384
392
  return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
385
393
  d: "M8.579 4c.865 0 1.565.7 1.565 1.564v12.87c0 .866-.7 1.566-1.565 1.566-.863 0-1.565-.7-1.565-1.565v-4.87H7v-3.13h.014V5.564C7.014 4.7 7.716 4 8.579 4zm6.915 0c.865 0 1.565.7 1.565 1.564v12.871c0 .865-.7 1.565-1.565 1.565-.863 0-1.565-.7-1.565-1.565v-4.87h-.014v-3.13h.014v-4.87C13.93 4.7 14.631 4 15.494 4z"
@@ -536,11 +544,6 @@
536
544
  d: "M13,11 L11,11 L8,11 C7.43301962,11 7,11.4597824 7,12.0268006 C7,12.5938188 7.43301962,13 8,13 L11,13 L13,13 L16,13 C16.5669804,13 17,12.5938188 17,12.0268006 C17,11.4597824 16.5669804,11 16,11 L13,11 Z"
537
545
  }));
538
546
  };
539
- var Sort = function Sort(props) {
540
- return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
541
- d: "M5.5,20 L5.5,22 L3,22 L3,20 L5.5,20 Z M17,2 L20,6 L18,6 L18,18 L20,18 L17,22 L14,18 L16,18 L16,6 L14,6 L17,2 Z M7,15.5 L7,17.5 L3,17.5 L3,15.5 L7,15.5 Z M8.5,11 L8.5,13 L3,13 L3,11 L8.5,11 Z M10,6.5 L10,8.5 L3,8.5 L3,6.5 L10,6.5 Z M11.5,2 L11.5,4 L3,4 L3,2 L11.5,2 Z"
542
- }));
543
- };
544
547
  var Equalizer = function Equalizer(props) {
545
548
  return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
546
549
  d: "M5,2 L5.00043449,14.0500973 C6.14133817,14.2819003 7,15.2906746 7,16.5 C7,17.3174727 6.60764218,18.0433054 6.00097133,18.4994531 L6,22 L3,22 L3.00004507,18.5002169 C2.39279608,18.0441159 2,17.3179292 2,16.5 C2,15.2903182 2.85916789,14.2813059 4.00057405,14.0498926 L4,2 L5,2 Z M12.5,2 L12.5004345,5.05009729 C13.6413382,5.28190033 14.5,6.29067455 14.5,7.5 C14.5,8.31747272 14.1076422,9.04330535 13.5009713,9.49945313 L13.5,22 L10.5,22 L10.5000451,9.50021694 C9.89279608,9.04411586 9.5,8.31792915 9.5,7.5 C9.5,6.29031824 10.3591679,5.2813059 11.500574,5.0498926 L11.5,2 L12.5,2 Z M20,2 L20.0004345,11.0500973 C21.1413382,11.2819003 22,12.2906746 22,13.5 C22,14.3174727 21.6076422,15.0433054 21.0009713,15.4994531 L21,22 L18,22 L18.0000451,15.5002169 C17.3927961,15.0441159 17,14.3179292 17,13.5 C17,12.2903182 17.8591679,11.2813059 19.000574,11.0498926 L19,2 L20,2 Z"
@@ -594,6 +597,42 @@
594
597
  d: "M5.08 2c.595 0 1.078.59 1.078 1.317V14.84h10.469l-3.784-3.578a1.037 1.037 0 0 1 0-1.526 1.19 1.19 0 0 1 1.614 0l6.54 6.183-6.54 6.185c-.223.21-.515.316-.807.316-.292 0-.585-.106-.807-.316a1.038 1.038 0 0 1 0-1.527L16.627 17H5.08a.912.912 0 0 1-.387-.086A1.081 1.081 0 0 1 4 15.92l.006-.1L4 15.684V3.317C4 2.59 4.483 2 5.08 2z"
595
598
  }));
596
599
  };
600
+ var Speed = function Speed(props) {
601
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
602
+ d: "M13.0185689,0.0297138829 C13.2816828,0.125479523 13.375552,0.393860848 13.3173741,0.670655588 C13.2591962,0.947450328 11.1238887,11.0829138 10.7956738,11.9846767 C10.4178888,13.0226325 9.27020413,13.5578066 8.23224832,13.1800216 C7.19429251,12.8022366 6.65911834,11.6545519 7.03690336,10.6165961 C7.19777378,10.1746082 8.45223163,7.753762 9.7051842,5.37094004 L10.0053032,4.80082548 C11.2011782,2.53154866 12.314927,0.44601574 12.3776815,0.328635445 C12.5110348,0.0792023166 12.755455,-0.0660517572 13.0185689,0.0297138829 Z M19.4360969,8.53332236 C19.7202953,9.34072717 20.0334312,10.6740767 20.0334312,12.9435947 L15.8134312,12.9409726 C15.9147467,12.4409651 16.0334312,11.9234904 16.0334312,11.3935947 C16.0334312,10.7848462 15.9747709,10.1930974 15.860471,9.62582623 L19.4360969,8.53332236 Z M0.24,9.02480771 L1.14284266,9.30137886 C0.796626585,10.38249 0.683431191,11.5887966 0.683431191,12.8935947 L0.193431191,12.8935947 C-0.149932748,11.3243559 0.0281771199,9.95042242 0.233431191,9.05635532 L0.24,9.02480771 Z M7.97460351,10.9640905 C7.785711,11.4830684 8.05329808,12.0569108 8.57227599,12.2458033 C9.09125389,12.4346958 9.66509624,12.1671087 9.85398875,11.6481308 C10.0428813,11.1291529 9.77529418,10.5553105 9.25631627,10.366418 C8.73733837,10.1775255 8.16349602,10.4451126 7.97460351,10.9640905 Z M15.66294,3.32668699 C17.1046645,4.36667952 18.3549992,5.93102775 19.0441285,7.59528372 L19.048,7.60580771 L15.6041584,8.65930693 C15.2288334,7.53006422 14.6145128,6.52875923 13.7894188,5.72525838 L15.66294,3.32668699 Z M3.151,3.91680771 L4.07227289,5.23343855 C3.04988317,6.02547664 2.14199378,7.08924721 1.51712115,8.36942033 L0.504,8.05980771 L0.66653777,7.65768052 C0.946845496,6.97287844 1.22267153,6.3505113 1.58343119,5.78752126 C2.04185637,5.07211751 2.62700543,4.45259196 3.14662121,3.92267024 Z M13.5370427,2.15601523 C13.9045004,2.32031554 14.3000944,2.51472051 14.7316953,2.74422981 L14.813,2.78880771 L13.0229815,5.08063176 L12.9211263,5.01013613 C13.1339222,4.03128992 13.3442549,3.05520552 13.5370427,2.15601523 Z M8.64330378,1.36555752 L8.60273799,3.67605906 C8.53008184,3.67441939 8.45697828,3.67359473 8.38343119,3.67359473 C7.29621364,3.67359473 5.99983997,4.00544303 4.89787799,4.66702681 L3.90244703,3.24533554 C5.38148072,2.08015309 7.15804171,1.51034477 8.64330378,1.36555752 Z M9.64483088,1.31952159 C10.1808707,1.31407534 10.6831894,1.3389592 11.2036076,1.42293267 L11.1277192,1.56621248 C10.7501769,2.27968921 10.3484138,3.04068828 9.94570637,3.80634031 C9.83236728,3.78598023 9.71777754,3.76829082 9.60184741,3.75281542 L9.64483088,1.31952159 Z",
603
+ transform: "translate(2 6)"
604
+ }));
605
+ };
606
+ var DimensionsElevation = function DimensionsElevation(props) {
607
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
608
+ d: "M4,16 L4,19 L0,19 L0,16 L4,16 Z M7,11 L7,14 L0,14 L0,11 L7,11 Z M9,6 L9,9 L0,9 L0,6 L9,6 Z M12,1 L12,4 L0,4 L0,1 L12,1 Z M16,0 L13,4 L15,4 L15,16 L13,16 L16,20 L19,16 L17,16 L17,4 L19,4 L16,0 Z",
609
+ transform: "translate(2 2)"
610
+ }));
611
+ };
612
+ var DimensionsTime = function DimensionsTime(props) {
613
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
614
+ d: "M12.13,5 C16.0677903,5 19.26,8.19220973 19.26,12.13 C19.26,16.0677903 16.0677903,19.26 12.13,19.26 C8.19220973,19.26 5,16.0677903 5,12.13 C5,8.19220973 8.19220973,5 12.13,5 Z M5.1376547,18.0009318 L0,18 L0,15 L3.46039175,15.000536 C3.82762817,16.1102542 4.40198,17.1256503 5.1376547,18.0009318 Z M12.13,7 C9.29677923,7 7,9.29677923 7,12.13 C7,14.9632208 9.29677923,17.26 12.13,17.26 C14.9632208,17.26 17.26,14.9632208 17.26,12.13 C17.26,9.29677923 14.9632208,7 12.13,7 Z M12.547494,8.35 L12.547,11.769 L14.7493339,13.0406354 L14.0651234,14.2257228 L12.183,13.139 L11.179073,13.1394737 L11.179073,8.35 L12.547494,8.35 Z M3,12.13 C3,12.4237363 3.0138714,12.7142328 3.04099487,13.0008701 L0,13 L0,10 L3.24967033,10.0005024 C3.08643451,10.6837249 3,11.3967685 3,12.13 Z M3.98526578,8.00011679 L0,8 L0,5 L6.42694067,4.99991383 C5.41424324,5.81098129 4.57807756,6.83332299 3.98526578,8.00011679 Z M18,0 L18,3 L0,3 L0,0 L18,0 Z",
615
+ transform: "translate(2 2)"
616
+ }));
617
+ };
618
+ var DimensionsRefTime = function DimensionsRefTime(props) {
619
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
620
+ d: "M14.41,3.78240772 L14.41,5.15240772 L12.66,5.15240772 L12.6594767,6.01936211 C13.545349,6.08439076 14.3862477,6.31127801 15.1527207,6.67057174 L15.7989136,5.55168032 L16.9160864,6.19668032 L16.2670916,7.32230296 C18.0787957,8.61518068 19.26,10.7346478 19.26,13.13 C19.26,17.0677903 16.0677903,20.26 12.13,20.26 C8.19220973,20.26 5,17.0677903 5,13.13 C5,9.4490968 7.78929885,6.41966926 11.3695371,6.04007678 L11.37,5.15240772 L9.62,5.15240772 L9.62,3.78240772 L14.41,3.78240772 Z M12.13,8 C9.29677923,8 7,10.2967792 7,13.13 C7,15.9632208 9.29677923,18.26 12.13,18.26 C14.9632208,18.26 17.26,15.9632208 17.26,13.13 C17.26,10.2967792 14.9632208,8 12.13,8 Z M3.19183937,15.0007752 C3.41732809,16.0836244 3.83463472,17.0961214 4.40661658,18.0011235 L0,18 L0,15 Z M14.3819805,9.95760756 L15.3496003,10.9252274 L12.1676198,14.1072079 L11.2,13.1395881 L14.3819805,9.95760756 Z M3.55058156,10.0001683 C3.19435424,10.9763976 3,12.0305019 3,13.13 L3.002,13 L0,13 L0,10 Z M7.97195056,4.9996378 C6.60386085,5.70071412 5.43590345,6.73695253 4.57644304,7.99998836 L0,8 L0,5 Z M18,0 L18,3 L16,3 L16,2.5 L8,2.5 L8,3 L0,3 L0,0 L18,0 Z",
621
+ transform: "translate(2 2)"
622
+ }));
623
+ };
624
+ var DimensionsOther = function DimensionsOther(props) {
625
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
626
+ d: "M5.1376547,18.0009318 L0,18 L0,15 L3.46039175,15.000536 C3.82762817,16.1102542 4.40198,17.1256503 5.1376547,18.0009318 Z M12.5,7 L12.5,11 L16.5,11 L16.5,12.5 L12.5,12.5 L12.5,16.5 L11,16.5 L11,12.5 L7,12.5 L7,11 L11,11 L11,7 L12.5,7 Z M3,12.13 C3,12.4237363 3.0138714,12.7142328 3.04099487,13.0008701 L0,13 L0,10 L3.24967033,10.0005024 C3.08643451,10.6837249 3,11.3967685 3,12.13 Z M3.98526578,8.00011679 L0,8 L0,5 L6.42694067,4.99991383 C5.41424324,5.81098129 4.57807756,6.83332299 3.98526578,8.00011679 Z M18,0 L18,3 L0,3 L0,0 L18,0 Z",
627
+ transform: "translate(3 3)"
628
+ }));
629
+ };
630
+ var Picture = function Picture(props) {
631
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
632
+ d: "M19.9986404,0 C21,0 22,1 22,2 L22,17.9956787 C22,19 21,20 20,20 L2,20 C0.8954305,20 1.3527075e-16,19.1045695 0,18 L0,2 C0,0.996459653 1,0 2,0 L19.9986404,0 Z M19.5,2.5 L2.5,2.5 L2.5,17.5 L19.5,17.5 L19.5,2.5 Z M12.8300654,7 L18,15.5204398 L4,15.5204398 L8.02614379,9 L9.81960446,11.7515969 L12.8300654,7 Z M6,4.35 C7.1045695,4.35 8,5.2454305 8,6.35 C8,7.4545695 7.1045695,8.35 6,8.35 C4.8954305,8.35 4,7.4545695 4,6.35 C4,5.2454305 4.8954305,4.35 6,4.35 Z",
633
+ transform: "translate(1 2)"
634
+ }));
635
+ };
597
636
 
598
637
  /* *
599
638
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -647,6 +686,7 @@
647
686
  DragHandle: DragHandle,
648
687
  AutoUpdateActive: AutoUpdateActive,
649
688
  AutoUpdateInActive: AutoUpdateInActive,
689
+ Now: Now,
650
690
  Pause: Pause,
651
691
  Play: Play,
652
692
  Info: Info,
@@ -671,7 +711,6 @@
671
711
  List: List,
672
712
  Home: Home,
673
713
  Minus: Minus,
674
- Sort: Sort,
675
714
  Equalizer: Equalizer,
676
715
  Link: Link,
677
716
  LinkOff: LinkOff,
@@ -680,7 +719,13 @@
680
719
  WebAssetOff: WebAssetOff,
681
720
  Notifications: Notifications,
682
721
  Update: Update,
683
- SubdirectoryArrowRight: SubdirectoryArrowRight
722
+ SubdirectoryArrowRight: SubdirectoryArrowRight,
723
+ Speed: Speed,
724
+ DimensionsElevation: DimensionsElevation,
725
+ DimensionsTime: DimensionsTime,
726
+ DimensionsRefTime: DimensionsRefTime,
727
+ DimensionsOther: DimensionsOther,
728
+ Picture: Picture
684
729
  });
685
730
 
686
731
  /* *
@@ -699,7 +744,7 @@
699
744
  * Copyright 2021 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
700
745
  * Copyright 2021 - Finnish Meteorological Institute (FMI)
701
746
  * */
702
- var gwButtonVariants = ['primary', 'secondary', 'tertiary', 'flat', 'tool', 'boxed'];
747
+ var gwButtonVariants = ['primary', 'secondary', 'tertiary', 'flat', 'tool', 'boxed', 'icon'];
703
748
 
704
749
  var defaultButtonStyle = function defaultButtonStyle(button) {
705
750
  return {
@@ -910,8 +955,8 @@
910
955
  styleOverrides: {
911
956
  root: {
912
957
  color: geowebColors.typographyAndIcons.iconLinkActive,
913
- '&.Mui-disabled': {
914
- color: geowebColors.typographyAndIcons.iconLinkDisabled + "!important"
958
+ '&.MuiRadio-root.Mui-disabled': {
959
+ color: "" + geowebColors.typographyAndIcons.iconLinkDisabled
915
960
  },
916
961
  '&.Mui-checked': {
917
962
  color: geowebColors.typographyAndIcons.iconLinkActive
@@ -1170,6 +1215,17 @@
1170
1215
  '&:after': {
1171
1216
  borderColor: geowebColors.captions.captionError.color
1172
1217
  }
1218
+ },
1219
+ // can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
1220
+ '&.MuiInputBase-readOnly': {
1221
+ background: 'transparent',
1222
+ color: geowebColors.typographyAndIcons.text,
1223
+ ' .MuiInputBase-readOnly': {
1224
+ WebkitTextFillColor: 'inherit'
1225
+ },
1226
+ '&:before': {
1227
+ border: 'transparent'
1228
+ }
1173
1229
  }
1174
1230
  },
1175
1231
  underline: {
@@ -1457,6 +1513,33 @@
1457
1513
  borderColor: 'transparent'
1458
1514
  }
1459
1515
  },
1516
+ icon: {
1517
+ "default": {
1518
+ fill: 'transparent',
1519
+ color: '#374061',
1520
+ borderColor: 'transparent'
1521
+ },
1522
+ mouseOver: {
1523
+ fill: '#E3E4E7',
1524
+ color: '#374061',
1525
+ borderColor: 'transparent'
1526
+ },
1527
+ active: {
1528
+ fill: 'transparent',
1529
+ color: '#186DFF',
1530
+ borderColor: 'transparent'
1531
+ },
1532
+ activeMouseOver: {
1533
+ fill: 'rgba(24, 109, 255, 0.1)',
1534
+ color: '#186DFF',
1535
+ borderColor: 'transparent'
1536
+ },
1537
+ disabled: {
1538
+ fill: 'transparent',
1539
+ color: '#707070',
1540
+ borderColor: 'transparent'
1541
+ }
1542
+ },
1460
1543
  focusDefault: {
1461
1544
  outline: 'solid 2px #419cfe'
1462
1545
  }
@@ -1483,6 +1566,10 @@
1483
1566
  disabled: {
1484
1567
  fill: '#000000',
1485
1568
  opacity: 0
1569
+ },
1570
+ label: {
1571
+ fill: '#051039',
1572
+ opacity: 0.67
1486
1573
  }
1487
1574
  },
1488
1575
  tab: {
@@ -2189,6 +2276,33 @@
2189
2276
  borderColor: 'transparent'
2190
2277
  }
2191
2278
  },
2279
+ icon: {
2280
+ "default": {
2281
+ fill: 'transparent',
2282
+ color: '#F8F9F9',
2283
+ borderColor: 'transparent'
2284
+ },
2285
+ mouseOver: {
2286
+ fill: '#494949',
2287
+ color: '#F8F9F9',
2288
+ borderColor: 'transparent'
2289
+ },
2290
+ active: {
2291
+ fill: 'transparent',
2292
+ color: '#7BACFF',
2293
+ borderColor: 'transparent'
2294
+ },
2295
+ activeMouseOver: {
2296
+ fill: 'rgba(24, 109, 255, 0.1)',
2297
+ color: '#488BFD',
2298
+ borderColor: 'transparent'
2299
+ },
2300
+ disabled: {
2301
+ fill: 'transparent',
2302
+ color: '#B4B4B4',
2303
+ borderColor: 'transparent'
2304
+ }
2305
+ },
2192
2306
  focusDefault: {
2193
2307
  outline: 'solid 2px #419cfe'
2194
2308
  }
@@ -2215,6 +2329,10 @@
2215
2329
  disabled: {
2216
2330
  color: '#000000',
2217
2331
  opacity: 0
2332
+ },
2333
+ label: {
2334
+ fill: '#FFFFFF',
2335
+ opacity: 0.7
2218
2336
  }
2219
2337
  },
2220
2338
  tab: {
@@ -2454,8 +2572,8 @@
2454
2572
  var darkTheme = createTheme('dark', parseColors(colors), createShadows(elevations));
2455
2573
 
2456
2574
  var ThemeContext = /*#__PURE__*/React__namespace.createContext({
2457
- toggleTheme: null,
2458
- isDark: null
2575
+ toggleTheme: undefined,
2576
+ isDark: undefined
2459
2577
  });
2460
2578
  var ThemeProvider = function ThemeProvider(_a) {
2461
2579
  var children = _a.children,
@@ -2532,6 +2650,10 @@
2532
2650
  exports.Close = Close;
2533
2651
  exports.Copy = Copy;
2534
2652
  exports.Delete = Delete;
2653
+ exports.DimensionsElevation = DimensionsElevation;
2654
+ exports.DimensionsOther = DimensionsOther;
2655
+ exports.DimensionsRefTime = DimensionsRefTime;
2656
+ exports.DimensionsTime = DimensionsTime;
2535
2657
  exports.DragHandle = DragHandle;
2536
2658
  exports.DrawFIRLand = DrawFIRLand;
2537
2659
  exports.DrawPolygon = DrawPolygon;
@@ -2560,8 +2682,10 @@
2560
2682
  exports.Location = Location;
2561
2683
  exports.Minus = Minus;
2562
2684
  exports.Notifications = Notifications;
2685
+ exports.Now = Now;
2563
2686
  exports.Options = Options;
2564
2687
  exports.Pause = Pause;
2688
+ exports.Picture = Picture;
2565
2689
  exports.Play = Play;
2566
2690
  exports.Preset = Preset;
2567
2691
  exports.PresetTiles = PresetTiles;
@@ -2569,7 +2693,7 @@
2569
2693
  exports.Resize = Resize;
2570
2694
  exports.Search = Search;
2571
2695
  exports.SliderThumb = SliderThumb;
2572
- exports.Sort = Sort;
2696
+ exports.Speed = Speed;
2573
2697
  exports.SplitHorizontal = SplitHorizontal;
2574
2698
  exports.SplitVertical = SplitVertical;
2575
2699
  exports.SubdirectoryArrowRight = SubdirectoryArrowRight;
@@ -33,6 +33,7 @@ export declare const Cancel: (props: SvgIconProps) => JSX.Element;
33
33
  export declare const DragHandle: (props: SvgIconProps) => JSX.Element;
34
34
  export declare const AutoUpdateActive: (props: SvgIconProps) => JSX.Element;
35
35
  export declare const AutoUpdateInActive: (props: SvgIconProps) => JSX.Element;
36
+ export declare const Now: (props: SvgIconProps) => JSX.Element;
36
37
  export declare const Pause: (props: SvgIconProps) => JSX.Element;
37
38
  export declare const Play: (props: SvgIconProps) => JSX.Element;
38
39
  export declare const Info: (props: SvgIconProps) => JSX.Element;
@@ -63,7 +64,6 @@ export declare const PresetTiles: (props: SvgIconProps) => JSX.Element;
63
64
  export declare const List: React.FC;
64
65
  export declare const Home: React.FC;
65
66
  export declare const Minus: React.FC;
66
- export declare const Sort: React.FC;
67
67
  export declare const Equalizer: React.FC;
68
68
  export declare const Link: React.FC;
69
69
  export declare const LinkOff: React.FC;
@@ -73,4 +73,10 @@ export declare const WebAssetOff: React.FC<SvgIconProps>;
73
73
  export declare const Notifications: React.FC<SvgIconProps>;
74
74
  export declare const Update: React.FC<SvgIconProps>;
75
75
  export declare const SubdirectoryArrowRight: React.FC<SvgIconProps>;
76
+ export declare const Speed: (props: SvgIconProps) => JSX.Element;
77
+ export declare const DimensionsElevation: (props: SvgIconProps) => JSX.Element;
78
+ export declare const DimensionsTime: (props: SvgIconProps) => JSX.Element;
79
+ export declare const DimensionsRefTime: (props: SvgIconProps) => JSX.Element;
80
+ export declare const DimensionsOther: (props: SvgIconProps) => JSX.Element;
81
+ export declare const Picture: (props: SvgIconProps) => JSX.Element;
76
82
  export {};
@@ -2,7 +2,7 @@
2
2
  interface CSSProperties extends React.CSSProperties {
3
3
  rgba?: string;
4
4
  }
5
- export declare const gwButtonVariants: readonly ["primary", "secondary", "tertiary", "flat", "tool", "boxed"];
5
+ export declare const gwButtonVariants: readonly ["primary", "secondary", "tertiary", "flat", "tool", "boxed", "icon"];
6
6
  export declare type ButtonVariant = typeof gwButtonVariants[number];
7
7
  export interface ButtonStyle {
8
8
  default: CSSProperties;
@@ -18,6 +18,7 @@ export interface ButtonStyles {
18
18
  flat: ButtonStyle;
19
19
  tool: ButtonStyle;
20
20
  boxed: ButtonStyle;
21
+ icon: ButtonStyle;
21
22
  focusDefault: CSSProperties;
22
23
  }
23
24
  export declare type GeowebColorPalette = {
@@ -44,6 +45,7 @@ export declare type GeowebColorPalette = {
44
45
  default: CSSProperties;
45
46
  active: CSSProperties;
46
47
  disabled: CSSProperties;
48
+ label: CSSProperties;
47
49
  };
48
50
  tab: {
49
51
  mouseOver: CSSProperties;
@@ -160,6 +162,7 @@ declare module '@mui/material/Button' {
160
162
  flat: true;
161
163
  tool: true;
162
164
  boxed: true;
165
+ icon: true;
163
166
  }
164
167
  }
165
168
  export {};
@@ -2,13 +2,11 @@ import * as React from 'react';
2
2
  export declare const ButtonDemo: React.FC;
3
3
  export declare const Buttons: {
4
4
  (): React.ReactElement;
5
- story: {
6
- name: string;
7
- parameters: {
8
- zeplinLink: {
9
- name: string;
10
- link: string;
11
- }[];
12
- };
5
+ storyName: string;
6
+ parameters: {
7
+ zeplinLink: {
8
+ name: string;
9
+ link: string;
10
+ }[];
13
11
  };
14
12
  };
@@ -2,13 +2,11 @@ import * as React from 'react';
2
2
  export declare const CardDemo: React.FC;
3
3
  export declare const Cards: {
4
4
  (): React.ReactElement;
5
- story: {
6
- name: string;
7
- parameters: {
8
- zeplinLink: {
9
- name: string;
10
- link: string;
11
- }[];
12
- };
5
+ storyName: string;
6
+ parameters: {
7
+ zeplinLink: {
8
+ name: string;
9
+ link: string;
10
+ }[];
13
11
  };
14
12
  };
@@ -2,13 +2,11 @@ import * as React from 'react';
2
2
  export declare const IconButtonDemo: React.FC;
3
3
  export declare const IconButtons: {
4
4
  (): React.ReactElement;
5
- story: {
6
- name: string;
7
- parameters: {
8
- zeplinLink: {
9
- name: string;
10
- link: string;
11
- }[];
12
- };
5
+ storyName: string;
6
+ parameters: {
7
+ zeplinLink: {
8
+ name: string;
9
+ link: string;
10
+ }[];
13
11
  };
14
12
  };
@@ -2,13 +2,11 @@ import * as React from 'react';
2
2
  export declare const TextFieldDemo: React.FC;
3
3
  export declare const TextFields: {
4
4
  (): React.ReactElement;
5
- story: {
6
- name: string;
7
- parameters: {
8
- zeplinLink: {
9
- name: string;
10
- link: string;
11
- }[];
12
- };
5
+ storyName: string;
6
+ parameters: {
7
+ zeplinLink: {
8
+ name: string;
9
+ link: string;
10
+ }[];
13
11
  };
14
12
  };
@@ -2,13 +2,11 @@ import * as React from 'react';
2
2
  export declare const ToggleButtonDemo: React.FC;
3
3
  export declare const ToggleButtons: {
4
4
  (): React.ReactElement;
5
- story: {
6
- name: string;
7
- parameters: {
8
- zeplinLink: {
9
- name: string;
10
- link: string;
11
- }[];
12
- };
5
+ storyName: string;
6
+ parameters: {
7
+ zeplinLink: {
8
+ name: string;
9
+ link: string;
10
+ }[];
13
11
  };
14
12
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,6 +13,6 @@
13
13
  "dependencies": {},
14
14
  "peerDependencies": {
15
15
  "react": "^17.0.2",
16
- "@mui/material": "^5.2.8"
16
+ "@mui/material": "^5.10.8"
17
17
  }
18
18
  }