@opengeoweb/theme 10.1.0 → 10.2.1-spike-ol.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 +49 -4
- package/package.json +1 -1
- package/src/lib/components/Paths/Paths.d.ts +1 -0
- package/src/lib/types.d.ts +6 -0
package/index.esm.js
CHANGED
|
@@ -39,6 +39,7 @@ function _objectWithoutPropertiesLoose(r, e) {
|
|
|
39
39
|
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
40
40
|
* */
|
|
41
41
|
var dragHandlePath = 'M9.5 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm-5 5.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm-5 5.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z';
|
|
42
|
+
var locationPath = 'M11.58 11.758a2.177 2.177 0 1 1 0-4.354 2.177 2.177 0 0 1 0 4.354m0-8.758A6.58 6.58 0 0 0 5 9.58C5 15.15 11.58 21 11.58 21s6.582-5.85 6.582-11.42A6.58 6.58 0 0 0 11.58 3';
|
|
42
43
|
|
|
43
44
|
var _excluded = ["text"],
|
|
44
45
|
_excluded2 = ["isRightAligned", "sx"];
|
|
@@ -108,7 +109,7 @@ var Polygons = function Polygons(props) {
|
|
|
108
109
|
var Location = function Location(props) {
|
|
109
110
|
return jsx(SvgIcon, Object.assign({}, props, {
|
|
110
111
|
children: jsx("path", {
|
|
111
|
-
d:
|
|
112
|
+
d: locationPath
|
|
112
113
|
})
|
|
113
114
|
}));
|
|
114
115
|
};
|
|
@@ -2695,6 +2696,28 @@ var colors$2 = {
|
|
|
2695
2696
|
fill: '#7BACFF',
|
|
2696
2697
|
opacity: 0.2
|
|
2697
2698
|
}
|
|
2699
|
+
},
|
|
2700
|
+
chip: {
|
|
2701
|
+
highlightDefault: {
|
|
2702
|
+
fill: '#FFA800',
|
|
2703
|
+
opacity: 0.15,
|
|
2704
|
+
borderColor: '#374061'
|
|
2705
|
+
},
|
|
2706
|
+
highlightDefaultMouseOver: {
|
|
2707
|
+
fill: '#DEDBD4',
|
|
2708
|
+
opacity: 1,
|
|
2709
|
+
borderColor: '#374061'
|
|
2710
|
+
},
|
|
2711
|
+
highlightActiveDefault: {
|
|
2712
|
+
fill: '#566F94',
|
|
2713
|
+
opacity: 1,
|
|
2714
|
+
borderColor: 'transparent'
|
|
2715
|
+
},
|
|
2716
|
+
highlightActiveMouseOver: {
|
|
2717
|
+
fill: '#345596',
|
|
2718
|
+
opacity: 1,
|
|
2719
|
+
borderColor: 'transparent'
|
|
2720
|
+
}
|
|
2698
2721
|
}
|
|
2699
2722
|
};
|
|
2700
2723
|
// https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/609bb6a5287bd1abe0de39a7
|
|
@@ -4005,6 +4028,28 @@ var colors$1 = {
|
|
|
4005
4028
|
fill: '#7BACFF',
|
|
4006
4029
|
opacity: 0.2
|
|
4007
4030
|
}
|
|
4031
|
+
},
|
|
4032
|
+
chip: {
|
|
4033
|
+
highlightDefault: {
|
|
4034
|
+
fill: '#FFA800',
|
|
4035
|
+
opacity: 0.15,
|
|
4036
|
+
borderColor: '#F8F9F9'
|
|
4037
|
+
},
|
|
4038
|
+
highlightDefaultMouseOver: {
|
|
4039
|
+
fill: '#DEDBD4',
|
|
4040
|
+
opacity: 1,
|
|
4041
|
+
borderColor: '#F8F9F9'
|
|
4042
|
+
},
|
|
4043
|
+
highlightActiveDefault: {
|
|
4044
|
+
fill: '#566F94',
|
|
4045
|
+
opacity: 1,
|
|
4046
|
+
borderColor: 'transparent'
|
|
4047
|
+
},
|
|
4048
|
+
highlightActiveMouseOver: {
|
|
4049
|
+
fill: '#345596',
|
|
4050
|
+
opacity: 1,
|
|
4051
|
+
borderColor: 'transparent'
|
|
4052
|
+
}
|
|
4008
4053
|
}
|
|
4009
4054
|
};
|
|
4010
4055
|
// https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e694124ecf3886de76d4
|
|
@@ -4042,7 +4087,7 @@ var focusButtonStyle = {
|
|
|
4042
4087
|
outline: 'solid 2px #FFFFFF'
|
|
4043
4088
|
};
|
|
4044
4089
|
// https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e5dc12278e35d433aa2d
|
|
4045
|
-
var colors = {
|
|
4090
|
+
var colors = Object.assign({}, colors$2, {
|
|
4046
4091
|
background: {
|
|
4047
4092
|
surface: '#9e1f1e',
|
|
4048
4093
|
surfaceApp: '#740c16',
|
|
@@ -4712,7 +4757,7 @@ var colors = {
|
|
|
4712
4757
|
backgroundColor: 'rgba(0, 35, 65, 0.95)',
|
|
4713
4758
|
backgroundRepeat: 'no-repeat'
|
|
4714
4759
|
}
|
|
4715
|
-
};
|
|
4760
|
+
});
|
|
4716
4761
|
// https://app.zeplin.io/project/5ecf84a3c6ae1047a368f393/screen/6093e694124ecf3886de76d4
|
|
4717
4762
|
var elevations = {
|
|
4718
4763
|
elevation_01: '0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.12), 0 0 2px 0 rgba(0, 0, 0, 0.14)',
|
|
@@ -5519,4 +5564,4 @@ var BackdropElement = function BackdropElement() {
|
|
|
5519
5564
|
return elem === null ? defaultElem : elem;
|
|
5520
5565
|
};
|
|
5521
5566
|
|
|
5522
|
-
export { Add, Admin, Animation, ArrowDown, ArrowDownCompact, ArrowDropDownDown, ArrowDropDownUp, ArrowLeft, ArrowRight, ArrowUp, ArrowUpCompact, AutoUpdateActive, AutoUpdateInActive, BackdropElement, BackdropStyle, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CloudIdle, CloudLoading, CoastalEvent, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, ColumnCollapse, ColumnCollapsed, ContainerStyle, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, EChartsDarkTheme, EChartsLightTheme, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Expire, Export, FastForward, Filter, FlagBritain, FlagFinland, FlagNetherlands, FlagNorway, Fog, FreezingPrecipitation, FunnelCloud, GeoWebLogo, HamburgerMenu, Haze, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, LayersAdd, Lightning, Link, LinkOff, List, ListItem, Location, LockLocked, LockUnlocked, MapAdd, Menu, Minus, ModerateAircraftIcing, ModerateTurbulence, MyLocation, None, Notifications, Now, Options, OverlayStyle, Pause, Picture, Play, Polygons, Preset, PresetTiles, PresetWorkspace, RadioactiveMaterials, Rain, Remove, Resize, SandStorm, Search, SevereAircraftIcing, SevereTurbulence, SevereWaves, Share, SliderThumb, Snow, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, THEME_NAMESPACE, TemperatureHigh, TemperatureLow, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThumbsUp, Thunderstorm, TimeSeriesSelect, UnExpand, Update, Visibility, VisibilityOff, VulcanicEruption, WebAssetOff, Wind, WorldMapProjection, breakpoints, colors$2 as colorsLight, createShadows, createTheme, darkTheme, dragHandlePath, elevations$2 as elevationsLight, getThemeByName, lightTheme, namedDarkTheme, namedLightTheme, namedXmas2024Theme, parseColors, themeTranslations, useThemeContext, xmas2024Theme };
|
|
5567
|
+
export { Add, Admin, Animation, ArrowDown, ArrowDownCompact, ArrowDropDownDown, ArrowDropDownUp, ArrowLeft, ArrowRight, ArrowUp, ArrowUpCompact, AutoUpdateActive, AutoUpdateInActive, BackdropElement, BackdropStyle, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CloudIdle, CloudLoading, CoastalEvent, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, ColumnCollapse, ColumnCollapsed, ContainerStyle, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, EChartsDarkTheme, EChartsLightTheme, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Expire, Export, FastForward, Filter, FlagBritain, FlagFinland, FlagNetherlands, FlagNorway, Fog, FreezingPrecipitation, FunnelCloud, GeoWebLogo, HamburgerMenu, Haze, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, LayersAdd, Lightning, Link, LinkOff, List, ListItem, Location, LockLocked, LockUnlocked, MapAdd, Menu, Minus, ModerateAircraftIcing, ModerateTurbulence, MyLocation, None, Notifications, Now, Options, OverlayStyle, Pause, Picture, Play, Polygons, Preset, PresetTiles, PresetWorkspace, RadioactiveMaterials, Rain, Remove, Resize, SandStorm, Search, SevereAircraftIcing, SevereTurbulence, SevereWaves, Share, SliderThumb, Snow, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, THEME_NAMESPACE, TemperatureHigh, TemperatureLow, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThumbsUp, Thunderstorm, TimeSeriesSelect, UnExpand, Update, Visibility, VisibilityOff, VulcanicEruption, WebAssetOff, Wind, WorldMapProjection, breakpoints, colors$2 as colorsLight, createShadows, createTheme, darkTheme, dragHandlePath, elevations$2 as elevationsLight, getThemeByName, lightTheme, locationPath, namedDarkTheme, namedLightTheme, namedXmas2024Theme, parseColors, themeTranslations, useThemeContext, xmas2024Theme };
|
package/package.json
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
1
|
export declare const dragHandlePath = "M9.5 8a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm-5 5.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm-5 5.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z";
|
|
2
|
+
export declare const locationPath = "M11.58 11.758a2.177 2.177 0 1 1 0-4.354 2.177 2.177 0 0 1 0 4.354m0-8.758A6.58 6.58 0 0 0 5 9.58C5 15.15 11.58 21 11.58 21s6.582-5.85 6.582-11.42A6.58 6.58 0 0 0 11.58 3";
|
package/src/lib/types.d.ts
CHANGED
|
@@ -211,6 +211,12 @@ export interface GeowebColorPalette {
|
|
|
211
211
|
festoonOverlay?: CSSProperties;
|
|
212
212
|
festoonContainer?: CSSProperties;
|
|
213
213
|
festoonBackdrop?: CSSProperties;
|
|
214
|
+
chip: {
|
|
215
|
+
highlightDefault: CSSProperties;
|
|
216
|
+
highlightDefaultMouseOver: CSSProperties;
|
|
217
|
+
highlightActiveDefault: CSSProperties;
|
|
218
|
+
highlightActiveMouseOver: CSSProperties;
|
|
219
|
+
};
|
|
214
220
|
}
|
|
215
221
|
export type Elevations = Record<string, string>;
|
|
216
222
|
declare module '@mui/material/styles' {
|