@opengeoweb/theme 4.15.0 → 4.16.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
@@ -671,6 +671,12 @@ var ExitDomain = function ExitDomain(props) {
671
671
  transform: "translate(4 4)"
672
672
  }));
673
673
  };
674
+ var Menu = function Menu(props) {
675
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
676
+ transform: "translate(6 6)",
677
+ d: "M0,9.27 L2.73,9.27 L2.73,12 L0,12 Z M0,4.64 L2.73,4.64 L2.73,7.37 L0,7.37 Z M0,0 L2.73,0 L2.73,2.73 L0,2.73 Z M5,9.27 L12,9.27 L12,12 L5,12 Z M5,4.64 L12,4.64 L12,7.37 L5,7.37 Z M5,0 L12,0 L12,2.73 L5,2.73 Z"
678
+ }));
679
+ };
674
680
  var None = function None(props) {
675
681
  return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("g", {
676
682
  transform: "translate(3 3)"
@@ -786,6 +792,7 @@ var index = /*#__PURE__*/Object.freeze({
786
792
  CollapseMedium: CollapseMedium,
787
793
  CollapseSmall: CollapseSmall,
788
794
  ExitDomain: ExitDomain,
795
+ Menu: Menu,
789
796
  None: None,
790
797
  Both: Both
791
798
  });
@@ -886,12 +893,14 @@ var ThemeTypes;
886
893
 
887
894
  var gwButtonVariants = ['primary', 'secondary', 'tertiary', 'flat', 'tool', 'boxed', 'icon'];
888
895
 
896
+ var BORDER_RADIUS = 3;
889
897
  var defaultButtonStyle = function defaultButtonStyle(button) {
890
898
  return {
891
899
  // default styling
892
900
  color: button["default"].color,
893
901
  backgroundColor: button["default"].fill,
894
902
  textTransform: 'capitalize',
903
+ borderRadius: BORDER_RADIUS,
895
904
  // hover styling
896
905
  '&:hover': {
897
906
  backgroundColor: button.mouseOver.fill,
@@ -921,7 +930,7 @@ var buttonStyle = function buttonStyle(button) {
921
930
  borderStyle: 'solid',
922
931
  borderWidth: '1px',
923
932
  borderColor: button["default"].borderColor,
924
- borderRadius: '5px',
933
+ borderRadius: BORDER_RADIUS,
925
934
  // size styling
926
935
  '&[class*="sizeSmall"]': {
927
936
  fontSize: '12px',
@@ -1004,7 +1013,6 @@ var createShadows = function createShadows(elevations) {
1004
1013
  return value;
1005
1014
  });
1006
1015
  };
1007
- var BORDER_RADIUS = 3;
1008
1016
  var breakpoints = {
1009
1017
  mobile: 0,
1010
1018
  tablet: 768,
@@ -1457,7 +1465,8 @@ var createTheme = function createTheme(paletteType, geowebColors, shadows) {
1457
1465
  },
1458
1466
  height: 32,
1459
1467
  width: 32,
1460
- fontSize: 16
1468
+ fontSize: 16,
1469
+ borderRadius: '50%'
1461
1470
  })
1462
1471
  }
1463
1472
  },
@@ -1765,7 +1774,8 @@ var colors$1 = {
1765
1774
  },
1766
1775
  screenManager: {
1767
1776
  activeWindow: '#FFFFFF',
1768
- inactiveWindow: '#E8E5E5'
1777
+ inactiveWindow: '#E8E5E5',
1778
+ tabButtonHover: 'rgba(123, 172, 255, 0.12)'
1769
1779
  },
1770
1780
  timeSlider: {
1771
1781
  // player
@@ -2571,7 +2581,8 @@ var colors = {
2571
2581
  },
2572
2582
  screenManager: {
2573
2583
  activeWindow: '#242424',
2574
- inactiveWindow: '#303030'
2584
+ inactiveWindow: '#303030',
2585
+ tabButtonHover: 'rgba(123, 172, 255, 0.12);'
2575
2586
  },
2576
2587
  timeSlider: {
2577
2588
  // player
@@ -2864,4 +2875,4 @@ var ThemeWrapperOldTheme = function ThemeWrapperOldTheme(_a) {
2864
2875
  }, props), children);
2865
2876
  };
2866
2877
 
2867
- export { Add, Animation, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, GWTheme, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, Link, LinkOff, List, ListItem, Location, Minus, None, Notifications, Now, Options, Pause, Picture, Play, Preset, PresetTiles, PresetWorkspace, Resize, Search, SliderThumb, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesManager, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, darkTheme, dragHandlePath, gwButtonVariants, lightTheme, useThemeContext };
2878
+ export { Add, Animation, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, GWTheme, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, Link, LinkOff, List, ListItem, Location, Menu, Minus, None, Notifications, Now, Options, Pause, Picture, Play, Preset, PresetTiles, PresetWorkspace, Resize, Search, SliderThumb, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThemeWrapperOldTheme, ThumbsUp, TimeSeriesManager, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, darkTheme, dragHandlePath, gwButtonVariants, lightTheme, useThemeContext };
package/index.umd.js CHANGED
@@ -722,6 +722,12 @@
722
722
  transform: "translate(4 4)"
723
723
  }));
724
724
  };
725
+ var Menu = function Menu(props) {
726
+ return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("path", {
727
+ transform: "translate(6 6)",
728
+ d: "M0,9.27 L2.73,9.27 L2.73,12 L0,12 Z M0,4.64 L2.73,4.64 L2.73,7.37 L0,7.37 Z M0,0 L2.73,0 L2.73,2.73 L0,2.73 Z M5,9.27 L12,9.27 L12,12 L5,12 Z M5,4.64 L12,4.64 L12,7.37 L5,7.37 Z M5,0 L12,0 L12,2.73 L5,2.73 Z"
729
+ }));
730
+ };
725
731
  var None = function None(props) {
726
732
  return /*#__PURE__*/React__namespace.createElement(material.SvgIcon, __assign({}, props), /*#__PURE__*/React__namespace.createElement("g", {
727
733
  transform: "translate(3 3)"
@@ -837,6 +843,7 @@
837
843
  CollapseMedium: CollapseMedium,
838
844
  CollapseSmall: CollapseSmall,
839
845
  ExitDomain: ExitDomain,
846
+ Menu: Menu,
840
847
  None: None,
841
848
  Both: Both
842
849
  });
@@ -866,12 +873,14 @@
866
873
 
867
874
  var gwButtonVariants = ['primary', 'secondary', 'tertiary', 'flat', 'tool', 'boxed', 'icon'];
868
875
 
876
+ var BORDER_RADIUS = 3;
869
877
  var defaultButtonStyle = function defaultButtonStyle(button) {
870
878
  return {
871
879
  // default styling
872
880
  color: button["default"].color,
873
881
  backgroundColor: button["default"].fill,
874
882
  textTransform: 'capitalize',
883
+ borderRadius: BORDER_RADIUS,
875
884
  // hover styling
876
885
  '&:hover': {
877
886
  backgroundColor: button.mouseOver.fill,
@@ -901,7 +910,7 @@
901
910
  borderStyle: 'solid',
902
911
  borderWidth: '1px',
903
912
  borderColor: button["default"].borderColor,
904
- borderRadius: '5px',
913
+ borderRadius: BORDER_RADIUS,
905
914
  // size styling
906
915
  '&[class*="sizeSmall"]': {
907
916
  fontSize: '12px',
@@ -991,7 +1000,6 @@
991
1000
  return value;
992
1001
  });
993
1002
  };
994
- var BORDER_RADIUS = 3;
995
1003
  var breakpoints = {
996
1004
  mobile: 0,
997
1005
  tablet: 768,
@@ -1444,7 +1452,8 @@
1444
1452
  },
1445
1453
  height: 32,
1446
1454
  width: 32,
1447
- fontSize: 16
1455
+ fontSize: 16,
1456
+ borderRadius: '50%'
1448
1457
  })
1449
1458
  }
1450
1459
  },
@@ -1752,7 +1761,8 @@
1752
1761
  },
1753
1762
  screenManager: {
1754
1763
  activeWindow: '#FFFFFF',
1755
- inactiveWindow: '#E8E5E5'
1764
+ inactiveWindow: '#E8E5E5',
1765
+ tabButtonHover: 'rgba(123, 172, 255, 0.12)'
1756
1766
  },
1757
1767
  timeSlider: {
1758
1768
  // player
@@ -2542,7 +2552,8 @@
2542
2552
  },
2543
2553
  screenManager: {
2544
2554
  activeWindow: '#242424',
2545
- inactiveWindow: '#303030'
2555
+ inactiveWindow: '#303030',
2556
+ tabButtonHover: 'rgba(123, 172, 255, 0.12);'
2546
2557
  },
2547
2558
  timeSlider: {
2548
2559
  // player
@@ -2890,6 +2901,7 @@
2890
2901
  exports.List = List;
2891
2902
  exports.ListItem = ListItem;
2892
2903
  exports.Location = Location;
2904
+ exports.Menu = Menu;
2893
2905
  exports.Minus = Minus;
2894
2906
  exports.None = None;
2895
2907
  exports.Notifications = Notifications;
@@ -87,6 +87,7 @@ export declare const CollapseLarge: (props: SvgIconProps) => JSX.Element;
87
87
  export declare const CollapseMedium: (props: SvgIconProps) => JSX.Element;
88
88
  export declare const CollapseSmall: (props: SvgIconProps) => JSX.Element;
89
89
  export declare const ExitDomain: (props: SvgIconProps) => JSX.Element;
90
+ export declare const Menu: (props: SvgIconProps) => JSX.Element;
90
91
  export declare const None: (props: SvgIconProps) => JSX.Element;
91
92
  export declare const Both: (props: SvgIconProps) => JSX.Element;
92
93
  export {};
@@ -1,5 +1,6 @@
1
1
  import { ComponentsVariants, CSSInterpolation, CSSObject } from '@mui/material';
2
2
  import { ButtonStyles, ButtonStyle } from './types';
3
+ export declare const BORDER_RADIUS = 3;
3
4
  export declare const defaultButtonStyle: (button: ButtonStyle) => CSSObject;
4
5
  export declare const buttonStyle: (button: ButtonStyle) => CSSInterpolation;
5
6
  export declare const variantsToClassName: (buttonVariants: ComponentsVariants['MuiButton']) => CSSInterpolation;
@@ -69,6 +69,7 @@ export declare type GeowebColorPalette = {
69
69
  screenManager: {
70
70
  activeWindow: CSSProperties['color'];
71
71
  inactiveWindow: CSSProperties['color'];
72
+ tabButtonHover: CSSProperties['color'];
72
73
  };
73
74
  timeSlider: {
74
75
  playerNeedleTimeTop: CSSProperties;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "4.15.0",
3
+ "version": "4.16.0",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {