@opengeoweb/theme 4.2.0 → 4.4.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
@@ -330,6 +330,13 @@ var AutoUpdateInActive = function AutoUpdateInActive(props) {
330
330
  y: 17.3
331
331
  }, "AUTO"))));
332
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
+ };
333
340
  var Pause = function Pause(props) {
334
341
  return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
335
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"
@@ -340,6 +347,18 @@ var Play = function Play(props) {
340
347
  d: "M15.18 12.688l-3.909 2.81c-.161.115-.325.175-.486.175-.303 0-.629-.234-.629-.748v-5.85c0-.514.325-.747.63-.747.16 0 .324.059.485.174l3.91 2.81c.24.172.378.423.378.688 0 .265-.137.517-.379.688M12 4c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8"
341
348
  }));
342
349
  };
350
+ var StepBackward = function StepBackward(props) {
351
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
352
+ d: "M15.5794386,6.68811254 L8.12440829,1.33228882 C7.81918795,1.11107407 7.50556704,1 7.19941329,1 C6.62070805,1 6,1.44616308 6,2.42342823 L6,13.5775052 C6,14.5547703 6.62164144,15 7.19941329,15 C7.50556704,15 7.81918795,14.8889259 8.12720848,14.6686446 L15.5785052,9.31282085 C16.0377358,8.98426562 16.2990866,8.50636709 16.2990866,7.9995333 C16.2990866,7.4945663 16.0368025,7.01760117 15.5794386,6.68811254 M2,0 C3.05,0 3.9177686,0.820041322 3.99448723,1.85130541 L4,2 L4,14 C4,15.1 3.1,16 2,16 C0.9,16 0,15.1 0,14 L0,2 C0,0.9 0.9,0 2,0 Z",
353
+ transform: "translate(4.000000, 4.000000) translate(8.149543, 8.000000) scale(-1, 1) translate(-8.149543, -8.000000) "
354
+ }));
355
+ };
356
+ var StepForward = function StepForward(props) {
357
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
358
+ d: "M15.5794386,6.68811254 L8.12440829,1.33228882 C7.81918795,1.11107407 7.50556704,1 7.19941329,1 C6.62070805,1 6,1.44616308 6,2.42342823 L6,13.5775052 C6,14.5547703 6.62164144,15 7.19941329,15 C7.50556704,15 7.81918795,14.8889259 8.12720848,14.6686446 L15.5785052,9.31282085 C16.0377358,8.98426562 16.2990866,8.50636709 16.2990866,7.9995333 C16.2990866,7.4945663 16.0368025,7.01760117 15.5794386,6.68811254 M2,0 C3.05,0 3.9177686,0.820041322 3.99448723,1.85130541 L4,2 L4,14 C4,15.1 3.1,16 2,16 C0.9,16 0,15.1 0,14 L0,2 C0,0.9 0.9,0 2,0 Z",
359
+ transform: "translate(4.000000, 4.000000)"
360
+ }));
361
+ };
343
362
  var Info = function Info(props) {
344
363
  return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
345
364
  d: "M12.0004012,4 C16.4182338,4 20,7.58096384 20,11.9995988 C20,16.4182338 16.4182338,20 12.0004012,20 C7.58176621,20 4,16.4182338 4,11.9995988 C4,7.58096384 7.58176621,4 12.0004012,4 Z M13.0518404,10 L10,10 L10,11.6134693 L10.9489304,11.6134693 L10.9489304,15.3873607 L10,15.3873607 L10,17 L14,17 L14,15.3873607 L13.0518404,15.3873607 L13.0518404,10 Z M11.9907922,6 C11.1541947,6 10.5,6.65419468 10.5,7.49079217 C10.5,8.32738965 11.1541947,9 11.9907922,9 C12.8273897,9 13.5,8.32738965 13.5,7.49079217 C13.5,6.65419468 12.8273897,6 11.9907922,6 Z"
@@ -628,8 +647,11 @@ var index = /*#__PURE__*/Object.freeze({
628
647
  DragHandle: DragHandle,
629
648
  AutoUpdateActive: AutoUpdateActive,
630
649
  AutoUpdateInActive: AutoUpdateInActive,
650
+ Now: Now,
631
651
  Pause: Pause,
632
652
  Play: Play,
653
+ StepBackward: StepBackward,
654
+ StepForward: StepForward,
633
655
  Info: Info,
634
656
  TextIcon: TextIcon,
635
657
  FastForward: FastForward,
@@ -960,8 +982,8 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
960
982
  styleOverrides: {
961
983
  root: {
962
984
  color: geowebColors.typographyAndIcons.iconLinkActive,
963
- '&.Mui-disabled': {
964
- color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled, "!important")
985
+ '&.MuiRadio-root.Mui-disabled': {
986
+ color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled)
965
987
  },
966
988
  '&.Mui-checked': {
967
989
  color: geowebColors.typographyAndIcons.iconLinkActive
@@ -973,8 +995,8 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
973
995
  styleOverrides: {
974
996
  root: {
975
997
  color: geowebColors.typographyAndIcons.iconLinkActive,
976
- '&.Mui-disabled': {
977
- color: "".concat(geowebColors.typographyAndIcons.iconLinkDisabled, "!important")
998
+ '&.MuiCheckbox-root.Mui-disabled': {
999
+ color: geowebColors.typographyAndIcons.iconLinkDisabled
978
1000
  },
979
1001
  '&.Mui-checked': {
980
1002
  color: geowebColors.typographyAndIcons.iconLinkActive
@@ -1220,6 +1242,17 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
1220
1242
  '&:after': {
1221
1243
  borderColor: geowebColors.captions.captionError.color
1222
1244
  }
1245
+ },
1246
+ // can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
1247
+ '&.MuiInputBase-readOnly': {
1248
+ background: 'transparent',
1249
+ color: geowebColors.typographyAndIcons.text,
1250
+ ' .MuiInputBase-readOnly': {
1251
+ WebkitTextFillColor: 'inherit'
1252
+ },
1253
+ '&:before': {
1254
+ border: 'transparent'
1255
+ }
1223
1256
  }
1224
1257
  },
1225
1258
  underline: {
@@ -1560,6 +1593,10 @@ var colors$1 = {
1560
1593
  disabled: {
1561
1594
  fill: '#000000',
1562
1595
  opacity: 0
1596
+ },
1597
+ label: {
1598
+ fill: '#051039',
1599
+ opacity: 0.67
1563
1600
  }
1564
1601
  },
1565
1602
  tab: {
@@ -1638,7 +1675,7 @@ var colors$1 = {
1638
1675
  },
1639
1676
  timelineText: {
1640
1677
  fontSize: 14,
1641
- color: '#051039',
1678
+ color: '#FFFFFF',
1642
1679
  fontFamily: 'Roboto'
1643
1680
  },
1644
1681
  timelineTimeScale: {
@@ -1656,8 +1693,8 @@ var colors$1 = {
1656
1693
  opacity: 0.5
1657
1694
  },
1658
1695
  timelineSelectionBackground: {
1659
- fill: '#11D1C6',
1660
- opacity: 0.25
1696
+ fill: '#FFFFFF',
1697
+ opacity: 0.32
1661
1698
  },
1662
1699
  // time scale
1663
1700
  timeScalePointer: {
@@ -1675,6 +1712,16 @@ var colors$1 = {
1675
1712
  },
1676
1713
  timeScaleShadowButtonScale: {
1677
1714
  filter: 'drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.28)) drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.24)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.40))'
1715
+ },
1716
+ ledgendObservedBackground: {
1717
+ fill: '#00649F'
1718
+ },
1719
+ legendForecastBackground: {
1720
+ fill: '#9900B1'
1721
+ },
1722
+ legendNoDataBackground: {
1723
+ fill: '#575F7A',
1724
+ opacity: '0.95'
1678
1725
  }
1679
1726
  },
1680
1727
  customSlider: {
@@ -1751,17 +1798,20 @@ var colors$1 = {
1751
1798
  success: '#72BB23',
1752
1799
  successOutline: {
1753
1800
  fill: '#FCFFEB',
1754
- border: ' 1px solid #72BB23'
1801
+ border: '1px solid #72BB23',
1802
+ borderColor: '#72BB23'
1755
1803
  },
1756
1804
  error: '#C00000',
1757
1805
  errorOutline: {
1758
1806
  fill: '#F9E8EA',
1759
- border: '1px solid #C00000'
1807
+ border: '1px solid #C00000',
1808
+ borderColor: '#C00000'
1760
1809
  },
1761
1810
  warning: '#FFA800',
1762
1811
  warningOutline: {
1763
1812
  fill: '#FFF8EB',
1764
- border: '1px solid #FFA800'
1813
+ border: '1px solid #FFA800',
1814
+ borderColor: '#FFA800'
1765
1815
  },
1766
1816
  warningHighlight: {
1767
1817
  fill: '#FFA800',
@@ -1770,7 +1820,20 @@ var colors$1 = {
1770
1820
  notification: '#0062E6',
1771
1821
  notificationOutline: {
1772
1822
  fill: '#DFF2FD',
1773
- border: '1px solid #0062E6'
1823
+ border: '1px solid #0062E6',
1824
+ borderColor: '#0062E6'
1825
+ },
1826
+ summary: '#9595FF',
1827
+ summaryOutline: {
1828
+ fill: '#F8F9F9',
1829
+ border: '1px solid #8383F2',
1830
+ borderColor: '#8383F2'
1831
+ },
1832
+ disabled: '#9B9FB0',
1833
+ disabledOutline: {
1834
+ fill: '#F8F9F9',
1835
+ border: '1p solid #9B9FB0',
1836
+ borderColor: '#9B9FB0'
1774
1837
  }
1775
1838
  },
1776
1839
  snackbar: {
@@ -1817,6 +1880,15 @@ var lightTheme = createTheme('light', parseColors(colors$1), createShadows(eleva
1817
1880
 
1818
1881
  var geowebColors = Object.assign({}, colors$1);
1819
1882
  var GWTheme = createTheme$1({
1883
+ breakpoints: {
1884
+ values: {
1885
+ xs: breakpoints.mobile,
1886
+ sm: breakpoints.tablet,
1887
+ md: breakpoints.desktop,
1888
+ lg: breakpoints.dekstopHD,
1889
+ xl: breakpoints.dekstopHDWide
1890
+ }
1891
+ },
1820
1892
  palette: {
1821
1893
  secondary: {
1822
1894
  main: '#0075a9'
@@ -2335,6 +2407,10 @@ var colors = {
2335
2407
  disabled: {
2336
2408
  color: '#000000',
2337
2409
  opacity: 0
2410
+ },
2411
+ label: {
2412
+ fill: '#FFFFFF',
2413
+ opacity: 0.7
2338
2414
  }
2339
2415
  },
2340
2416
  tab: {
@@ -2431,8 +2507,8 @@ var colors = {
2431
2507
  opacity: 0.5
2432
2508
  },
2433
2509
  timelineSelectionBackground: {
2434
- fill: '#11D1C6',
2435
- opacity: 0.25
2510
+ fill: '#FFFFFF',
2511
+ opacity: 0.32
2436
2512
  },
2437
2513
  // time scale
2438
2514
  timeScalePointer: {
@@ -2450,6 +2526,17 @@ var colors = {
2450
2526
  },
2451
2527
  timeScaleShadowButtonScale: {
2452
2528
  filter: 'drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.28)) drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.24)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.40))'
2529
+ },
2530
+ // legend
2531
+ ledgendObservedBackground: {
2532
+ fill: '#00649F'
2533
+ },
2534
+ legendForecastBackground: {
2535
+ fill: '#9900B1'
2536
+ },
2537
+ legendNoDataBackground: {
2538
+ fill: '#575F7A',
2539
+ opacity: '0.95'
2453
2540
  }
2454
2541
  },
2455
2542
  customSlider: {
@@ -2526,17 +2613,20 @@ var colors = {
2526
2613
  success: '#72BB23',
2527
2614
  successOutline: {
2528
2615
  fill: 'rgba(114, 187, 35, 0.25)',
2529
- border: ' 1px solid #72BB23'
2616
+ border: '1px solid #72BB23',
2617
+ borderColor: '#72BB23'
2530
2618
  },
2531
2619
  error: '#C00000',
2532
2620
  errorOutline: {
2533
2621
  fill: 'rgba(192, 0, 0, 0.25)',
2534
- border: '1px solid #C00000'
2622
+ border: '1px solid #C00000',
2623
+ borderColor: '#C00000'
2535
2624
  },
2536
2625
  warning: '#FFA800',
2537
2626
  warningOutline: {
2538
2627
  fill: 'rgba(255, 168, 0, 0.25)',
2539
- border: '1px solid #FFA800'
2628
+ border: '1px solid #FFA800',
2629
+ borderColor: '#FFA800'
2540
2630
  },
2541
2631
  warningHighlight: {
2542
2632
  fill: '#FFA800',
@@ -2545,7 +2635,20 @@ var colors = {
2545
2635
  notification: '#186DFF',
2546
2636
  notificationOutline: {
2547
2637
  fill: 'rgba(24, 109, 255, 0.25)',
2548
- border: '1px solid #186DFF'
2638
+ border: '1px solid #186DFF',
2639
+ borderColor: '#186DFF'
2640
+ },
2641
+ summary: '#9595FF',
2642
+ summaryOutline: {
2643
+ fill: 'rgba(131, 131, 242, 0.25)',
2644
+ border: '1px solid #8383F2',
2645
+ borderColor: '#8383F2'
2646
+ },
2647
+ disabled: '#9B9FB0',
2648
+ disabledOutline: {
2649
+ fill: 'rgba(155, 159, 176, 0.25)',
2650
+ border: '1px solid #9B9FB0',
2651
+ borderColor: '#9B9FB0'
2549
2652
  }
2550
2653
  },
2551
2654
  snackbar: {
@@ -2634,4 +2737,4 @@ var ThemeWrapperOldTheme = function ThemeWrapperOldTheme(_a) {
2634
2737
  }, props), children);
2635
2738
  };
2636
2739
 
2637
- 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, 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 };
2740
+ 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, StepBackward, StepForward, SubdirectoryArrowRight, Success, TextIcon, ThemeContext, ThemeProvider, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesManager, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, darkTheme, gwButtonVariants, lightTheme, useThemeContext };
package/index.umd.js CHANGED
@@ -381,6 +381,13 @@
381
381
  y: 17.3
382
382
  }, "AUTO"))));
383
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
+ };
384
391
  var Pause = function Pause(props) {
385
392
  return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
386
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"
@@ -391,6 +398,18 @@
391
398
  d: "M15.18 12.688l-3.909 2.81c-.161.115-.325.175-.486.175-.303 0-.629-.234-.629-.748v-5.85c0-.514.325-.747.63-.747.16 0 .324.059.485.174l3.91 2.81c.24.172.378.423.378.688 0 .265-.137.517-.379.688M12 4c-4.418 0-8 3.582-8 8s3.582 8 8 8 8-3.582 8-8-3.582-8-8-8"
392
399
  }));
393
400
  };
401
+ var StepBackward = function StepBackward(props) {
402
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
403
+ d: "M15.5794386,6.68811254 L8.12440829,1.33228882 C7.81918795,1.11107407 7.50556704,1 7.19941329,1 C6.62070805,1 6,1.44616308 6,2.42342823 L6,13.5775052 C6,14.5547703 6.62164144,15 7.19941329,15 C7.50556704,15 7.81918795,14.8889259 8.12720848,14.6686446 L15.5785052,9.31282085 C16.0377358,8.98426562 16.2990866,8.50636709 16.2990866,7.9995333 C16.2990866,7.4945663 16.0368025,7.01760117 15.5794386,6.68811254 M2,0 C3.05,0 3.9177686,0.820041322 3.99448723,1.85130541 L4,2 L4,14 C4,15.1 3.1,16 2,16 C0.9,16 0,15.1 0,14 L0,2 C0,0.9 0.9,0 2,0 Z",
404
+ transform: "translate(4.000000, 4.000000) translate(8.149543, 8.000000) scale(-1, 1) translate(-8.149543, -8.000000) "
405
+ }));
406
+ };
407
+ var StepForward = function StepForward(props) {
408
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
409
+ d: "M15.5794386,6.68811254 L8.12440829,1.33228882 C7.81918795,1.11107407 7.50556704,1 7.19941329,1 C6.62070805,1 6,1.44616308 6,2.42342823 L6,13.5775052 C6,14.5547703 6.62164144,15 7.19941329,15 C7.50556704,15 7.81918795,14.8889259 8.12720848,14.6686446 L15.5785052,9.31282085 C16.0377358,8.98426562 16.2990866,8.50636709 16.2990866,7.9995333 C16.2990866,7.4945663 16.0368025,7.01760117 15.5794386,6.68811254 M2,0 C3.05,0 3.9177686,0.820041322 3.99448723,1.85130541 L4,2 L4,14 C4,15.1 3.1,16 2,16 C0.9,16 0,15.1 0,14 L0,2 C0,0.9 0.9,0 2,0 Z",
410
+ transform: "translate(4.000000, 4.000000)"
411
+ }));
412
+ };
394
413
  var Info = function Info(props) {
395
414
  return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
396
415
  d: "M12.0004012,4 C16.4182338,4 20,7.58096384 20,11.9995988 C20,16.4182338 16.4182338,20 12.0004012,20 C7.58176621,20 4,16.4182338 4,11.9995988 C4,7.58096384 7.58176621,4 12.0004012,4 Z M13.0518404,10 L10,10 L10,11.6134693 L10.9489304,11.6134693 L10.9489304,15.3873607 L10,15.3873607 L10,17 L14,17 L14,15.3873607 L13.0518404,15.3873607 L13.0518404,10 Z M11.9907922,6 C11.1541947,6 10.5,6.65419468 10.5,7.49079217 C10.5,8.32738965 11.1541947,9 11.9907922,9 C12.8273897,9 13.5,8.32738965 13.5,7.49079217 C13.5,6.65419468 12.8273897,6 11.9907922,6 Z"
@@ -679,8 +698,11 @@
679
698
  DragHandle: DragHandle,
680
699
  AutoUpdateActive: AutoUpdateActive,
681
700
  AutoUpdateInActive: AutoUpdateInActive,
701
+ Now: Now,
682
702
  Pause: Pause,
683
703
  Play: Play,
704
+ StepBackward: StepBackward,
705
+ StepForward: StepForward,
684
706
  Info: Info,
685
707
  TextIcon: TextIcon,
686
708
  FastForward: FastForward,
@@ -947,8 +969,8 @@
947
969
  styleOverrides: {
948
970
  root: {
949
971
  color: geowebColors.typographyAndIcons.iconLinkActive,
950
- '&.Mui-disabled': {
951
- color: geowebColors.typographyAndIcons.iconLinkDisabled + "!important"
972
+ '&.MuiRadio-root.Mui-disabled': {
973
+ color: "" + geowebColors.typographyAndIcons.iconLinkDisabled
952
974
  },
953
975
  '&.Mui-checked': {
954
976
  color: geowebColors.typographyAndIcons.iconLinkActive
@@ -960,8 +982,8 @@
960
982
  styleOverrides: {
961
983
  root: {
962
984
  color: geowebColors.typographyAndIcons.iconLinkActive,
963
- '&.Mui-disabled': {
964
- color: geowebColors.typographyAndIcons.iconLinkDisabled + "!important"
985
+ '&.MuiCheckbox-root.Mui-disabled': {
986
+ color: geowebColors.typographyAndIcons.iconLinkDisabled
965
987
  },
966
988
  '&.Mui-checked': {
967
989
  color: geowebColors.typographyAndIcons.iconLinkActive
@@ -1207,6 +1229,17 @@
1207
1229
  '&:after': {
1208
1230
  borderColor: geowebColors.captions.captionError.color
1209
1231
  }
1232
+ },
1233
+ // can be improved in MUI6 or after this PR is merged https://github.com/mui/material-ui/pull/32822#issuecomment-1275927288
1234
+ '&.MuiInputBase-readOnly': {
1235
+ background: 'transparent',
1236
+ color: geowebColors.typographyAndIcons.text,
1237
+ ' .MuiInputBase-readOnly': {
1238
+ WebkitTextFillColor: 'inherit'
1239
+ },
1240
+ '&:before': {
1241
+ border: 'transparent'
1242
+ }
1210
1243
  }
1211
1244
  },
1212
1245
  underline: {
@@ -1547,6 +1580,10 @@
1547
1580
  disabled: {
1548
1581
  fill: '#000000',
1549
1582
  opacity: 0
1583
+ },
1584
+ label: {
1585
+ fill: '#051039',
1586
+ opacity: 0.67
1550
1587
  }
1551
1588
  },
1552
1589
  tab: {
@@ -1625,7 +1662,7 @@
1625
1662
  },
1626
1663
  timelineText: {
1627
1664
  fontSize: 14,
1628
- color: '#051039',
1665
+ color: '#FFFFFF',
1629
1666
  fontFamily: 'Roboto'
1630
1667
  },
1631
1668
  timelineTimeScale: {
@@ -1643,8 +1680,8 @@
1643
1680
  opacity: 0.5
1644
1681
  },
1645
1682
  timelineSelectionBackground: {
1646
- fill: '#11D1C6',
1647
- opacity: 0.25
1683
+ fill: '#FFFFFF',
1684
+ opacity: 0.32
1648
1685
  },
1649
1686
  // time scale
1650
1687
  timeScalePointer: {
@@ -1662,6 +1699,16 @@
1662
1699
  },
1663
1700
  timeScaleShadowButtonScale: {
1664
1701
  filter: 'drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.28)) drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.24)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.40))'
1702
+ },
1703
+ ledgendObservedBackground: {
1704
+ fill: '#00649F'
1705
+ },
1706
+ legendForecastBackground: {
1707
+ fill: '#9900B1'
1708
+ },
1709
+ legendNoDataBackground: {
1710
+ fill: '#575F7A',
1711
+ opacity: '0.95'
1665
1712
  }
1666
1713
  },
1667
1714
  customSlider: {
@@ -1738,17 +1785,20 @@
1738
1785
  success: '#72BB23',
1739
1786
  successOutline: {
1740
1787
  fill: '#FCFFEB',
1741
- border: ' 1px solid #72BB23'
1788
+ border: '1px solid #72BB23',
1789
+ borderColor: '#72BB23'
1742
1790
  },
1743
1791
  error: '#C00000',
1744
1792
  errorOutline: {
1745
1793
  fill: '#F9E8EA',
1746
- border: '1px solid #C00000'
1794
+ border: '1px solid #C00000',
1795
+ borderColor: '#C00000'
1747
1796
  },
1748
1797
  warning: '#FFA800',
1749
1798
  warningOutline: {
1750
1799
  fill: '#FFF8EB',
1751
- border: '1px solid #FFA800'
1800
+ border: '1px solid #FFA800',
1801
+ borderColor: '#FFA800'
1752
1802
  },
1753
1803
  warningHighlight: {
1754
1804
  fill: '#FFA800',
@@ -1757,7 +1807,20 @@
1757
1807
  notification: '#0062E6',
1758
1808
  notificationOutline: {
1759
1809
  fill: '#DFF2FD',
1760
- border: '1px solid #0062E6'
1810
+ border: '1px solid #0062E6',
1811
+ borderColor: '#0062E6'
1812
+ },
1813
+ summary: '#9595FF',
1814
+ summaryOutline: {
1815
+ fill: '#F8F9F9',
1816
+ border: '1px solid #8383F2',
1817
+ borderColor: '#8383F2'
1818
+ },
1819
+ disabled: '#9B9FB0',
1820
+ disabledOutline: {
1821
+ fill: '#F8F9F9',
1822
+ border: '1p solid #9B9FB0',
1823
+ borderColor: '#9B9FB0'
1761
1824
  }
1762
1825
  },
1763
1826
  snackbar: {
@@ -1788,6 +1851,15 @@
1788
1851
  var geowebColors = __assign({}, colors$1);
1789
1852
 
1790
1853
  var GWTheme = material.createTheme({
1854
+ breakpoints: {
1855
+ values: {
1856
+ xs: breakpoints.mobile,
1857
+ sm: breakpoints.tablet,
1858
+ md: breakpoints.desktop,
1859
+ lg: breakpoints.dekstopHD,
1860
+ xl: breakpoints.dekstopHDWide
1861
+ }
1862
+ },
1791
1863
  palette: {
1792
1864
  secondary: {
1793
1865
  main: '#0075a9'
@@ -2306,6 +2378,10 @@
2306
2378
  disabled: {
2307
2379
  color: '#000000',
2308
2380
  opacity: 0
2381
+ },
2382
+ label: {
2383
+ fill: '#FFFFFF',
2384
+ opacity: 0.7
2309
2385
  }
2310
2386
  },
2311
2387
  tab: {
@@ -2402,8 +2478,8 @@
2402
2478
  opacity: 0.5
2403
2479
  },
2404
2480
  timelineSelectionBackground: {
2405
- fill: '#11D1C6',
2406
- opacity: 0.25
2481
+ fill: '#FFFFFF',
2482
+ opacity: 0.32
2407
2483
  },
2408
2484
  // time scale
2409
2485
  timeScalePointer: {
@@ -2421,6 +2497,17 @@
2421
2497
  },
2422
2498
  timeScaleShadowButtonScale: {
2423
2499
  filter: 'drop-shadow(0px 0px 2px rgba(0, 0, 0, 0.28)) drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.24)) drop-shadow(0px 1px 3px rgba(0, 0, 0, 0.40))'
2500
+ },
2501
+ // legend
2502
+ ledgendObservedBackground: {
2503
+ fill: '#00649F'
2504
+ },
2505
+ legendForecastBackground: {
2506
+ fill: '#9900B1'
2507
+ },
2508
+ legendNoDataBackground: {
2509
+ fill: '#575F7A',
2510
+ opacity: '0.95'
2424
2511
  }
2425
2512
  },
2426
2513
  customSlider: {
@@ -2497,17 +2584,20 @@
2497
2584
  success: '#72BB23',
2498
2585
  successOutline: {
2499
2586
  fill: 'rgba(114, 187, 35, 0.25)',
2500
- border: ' 1px solid #72BB23'
2587
+ border: '1px solid #72BB23',
2588
+ borderColor: '#72BB23'
2501
2589
  },
2502
2590
  error: '#C00000',
2503
2591
  errorOutline: {
2504
2592
  fill: 'rgba(192, 0, 0, 0.25)',
2505
- border: '1px solid #C00000'
2593
+ border: '1px solid #C00000',
2594
+ borderColor: '#C00000'
2506
2595
  },
2507
2596
  warning: '#FFA800',
2508
2597
  warningOutline: {
2509
2598
  fill: 'rgba(255, 168, 0, 0.25)',
2510
- border: '1px solid #FFA800'
2599
+ border: '1px solid #FFA800',
2600
+ borderColor: '#FFA800'
2511
2601
  },
2512
2602
  warningHighlight: {
2513
2603
  fill: '#FFA800',
@@ -2516,7 +2606,20 @@
2516
2606
  notification: '#186DFF',
2517
2607
  notificationOutline: {
2518
2608
  fill: 'rgba(24, 109, 255, 0.25)',
2519
- border: '1px solid #186DFF'
2609
+ border: '1px solid #186DFF',
2610
+ borderColor: '#186DFF'
2611
+ },
2612
+ summary: '#9595FF',
2613
+ summaryOutline: {
2614
+ fill: 'rgba(131, 131, 242, 0.25)',
2615
+ border: '1px solid #8383F2',
2616
+ borderColor: '#8383F2'
2617
+ },
2618
+ disabled: '#9B9FB0',
2619
+ disabledOutline: {
2620
+ fill: 'rgba(155, 159, 176, 0.25)',
2621
+ border: '1px solid #9B9FB0',
2622
+ borderColor: '#9B9FB0'
2520
2623
  }
2521
2624
  },
2522
2625
  snackbar: {
@@ -2655,6 +2758,7 @@
2655
2758
  exports.Location = Location;
2656
2759
  exports.Minus = Minus;
2657
2760
  exports.Notifications = Notifications;
2761
+ exports.Now = Now;
2658
2762
  exports.Options = Options;
2659
2763
  exports.Pause = Pause;
2660
2764
  exports.Picture = Picture;
@@ -2668,6 +2772,8 @@
2668
2772
  exports.Speed = Speed;
2669
2773
  exports.SplitHorizontal = SplitHorizontal;
2670
2774
  exports.SplitVertical = SplitVertical;
2775
+ exports.StepBackward = StepBackward;
2776
+ exports.StepForward = StepForward;
2671
2777
  exports.SubdirectoryArrowRight = SubdirectoryArrowRight;
2672
2778
  exports.Success = Success;
2673
2779
  exports.TextIcon = TextIcon;
@@ -33,8 +33,11 @@ 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;
39
+ export declare const StepBackward: (props: SvgIconProps) => JSX.Element;
40
+ export declare const StepForward: (props: SvgIconProps) => JSX.Element;
38
41
  export declare const Info: (props: SvgIconProps) => JSX.Element;
39
42
  interface TextIconProps extends SvgIconProps {
40
43
  text?: string;
@@ -45,6 +45,7 @@ export declare type GeowebColorPalette = {
45
45
  default: CSSProperties;
46
46
  active: CSSProperties;
47
47
  disabled: CSSProperties;
48
+ label: CSSProperties;
48
49
  };
49
50
  tab: {
50
51
  mouseOver: CSSProperties;
@@ -88,6 +89,9 @@ export declare type GeowebColorPalette = {
88
89
  timeScaleTimeIndicators: CSSProperties;
89
90
  timeScaleTimeIndicatorsActive: CSSProperties;
90
91
  timeScaleShadowButtonScale: CSSProperties;
92
+ ledgendObservedBackground: CSSProperties;
93
+ legendForecastBackground: CSSProperties;
94
+ legendNoDataBackground: CSSProperties;
91
95
  };
92
96
  customSlider: {
93
97
  rail: CSSProperties['color'];
@@ -134,6 +138,10 @@ export declare type GeowebColorPalette = {
134
138
  warningHighlight: CSSProperties;
135
139
  notification: CSSProperties['color'];
136
140
  notificationOutline: CSSProperties;
141
+ summary: CSSProperties['color'];
142
+ summaryOutline: CSSProperties;
143
+ disabled: CSSProperties['color'];
144
+ disabledOutline: CSSProperties;
137
145
  };
138
146
  snackbar: {
139
147
  background: CSSProperties['color'];
@@ -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.2.0",
3
+ "version": "4.4.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
  }