@opengeoweb/theme 9.15.0 → 9.17.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
@@ -1708,6 +1708,92 @@ const CloudLoading = props => ( /*#__PURE__*/React.createElement(SvgIcon, Object
1708
1708
  const CloudIdle = props => ( /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props), /*#__PURE__*/React.createElement("path", {
1709
1709
  d: "M 20.019639,8.2851684 C 18.792859,5.1964317 15.666964,3 12.005358,3 8.343745,3 5.217857,5.1937857 3.991072,8.2825674 1.695536,8.8579553 0,10.854803 0,13.227662 c 0,2.825387 2.397321,5.113826 5.354464,5.113826 h 1.074107 c 0.117857,0 0.214286,-0.09216 0.214286,-0.204552 v -1.534113 c 0,-0.112572 -0.09643,-0.204561 -0.214286,-0.204561 H 5.354464 c -0.902678,0 -1.751785,-0.342612 -2.383928,-0.964026 C 2.341072,14.815514 2.00625,13.981979 2.035714,13.117673 2.059824,12.442646 2.300893,11.808515 2.7375,11.274167 3.184821,10.729577 3.811607,10.333235 4.508036,10.15679 L 5.523215,9.9037192 5.895535,8.9678813 C 6.125892,8.3848073 6.447321,7.8402444 6.851786,7.3466935 7.250895,6.8558785 7.724998,6.4287746 8.255353,6.0708626 9.356252,5.3318997 10.652676,4.9407148 12.005358,4.9407148 c 1.352677,0 2.649105,0.3911849 3.749996,1.1301478 0.533038,0.357912 1.00447,0.7874729 1.40357,1.2758309 0.404468,0.4935509 0.725896,1.0407238 0.956254,1.6211878 l 0.369642,0.9332009 1.0125,0.2557078 c 1.451785,0.373356 2.466962,1.633851 2.466962,3.070872 0,0.846369 -0.345534,1.644102 -0.972322,2.242376 -0.626778,0.598383 -1.459813,0.928224 -2.346424,0.928224 h -1.074103 c -0.117859,0 -0.21429,0.09198 -0.21429,0.204561 v 1.534113 c 0,0.112446 0.09643,0.204552 0.21429,0.204552 h 1.074103 C 21.602679,18.341488 24,16.053049 24,13.227662 24,10.85744 22.309821,8.8630403 20.019639,8.2851684 Z"
1710
1710
  })));
1711
+ const Admin = _a => {
1712
+ var {
1713
+ children
1714
+ } = _a,
1715
+ props = __rest(_a, ["children"]);
1716
+ const title = 'Admin';
1717
+ return /*#__PURE__*/React.createElement(SvgIcon, Object.assign({}, props, {
1718
+ width: 32,
1719
+ height: 32,
1720
+ viewBox: "0 0 32 32"
1721
+ }), /*#__PURE__*/React.createElement("title", null, title), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("linearGradient", {
1722
+ id: "a",
1723
+ x1: "50%",
1724
+ x2: "14.341%",
1725
+ y1: "35.33%",
1726
+ y2: "57.117%"
1727
+ }, /*#__PURE__*/React.createElement("stop", {
1728
+ offset: "0%",
1729
+ stopColor: "#A7001E"
1730
+ }), /*#__PURE__*/React.createElement("stop", {
1731
+ offset: "100%",
1732
+ stopColor: "#F70000"
1733
+ })), /*#__PURE__*/React.createElement("linearGradient", {
1734
+ id: "b",
1735
+ x1: "84.464%",
1736
+ x2: "50%",
1737
+ y1: "43.5%",
1738
+ y2: "63.781%"
1739
+ }, /*#__PURE__*/React.createElement("stop", {
1740
+ offset: "0%",
1741
+ stopColor: "#A7001E"
1742
+ }), /*#__PURE__*/React.createElement("stop", {
1743
+ offset: "100%",
1744
+ stopColor: "#F70000"
1745
+ })), /*#__PURE__*/React.createElement("filter", {
1746
+ id: "c",
1747
+ width: "131.7%",
1748
+ height: "131.7%",
1749
+ x: "-15.9%",
1750
+ y: "-15.9%",
1751
+ filterUnits: "objectBoundingBox"
1752
+ }, /*#__PURE__*/React.createElement("feGaussianBlur", {
1753
+ in: "SourceAlpha",
1754
+ result: "shadowBlurInner1",
1755
+ stdDeviation: "2"
1756
+ }), /*#__PURE__*/React.createElement("feOffset", {
1757
+ in: "shadowBlurInner1",
1758
+ result: "shadowOffsetInner1"
1759
+ }), /*#__PURE__*/React.createElement("feComposite", {
1760
+ in: "shadowOffsetInner1",
1761
+ in2: "SourceAlpha",
1762
+ k2: "-1",
1763
+ k3: "1",
1764
+ operator: "arithmetic",
1765
+ result: "shadowInnerInner1"
1766
+ }), /*#__PURE__*/React.createElement("feColorMatrix", {
1767
+ in: "shadowInnerInner1",
1768
+ values: "0 0 0 0 0.0717146857 0 0 0 0 0.0638191765 0 0 0 0 0.448211228 0 0 0 0.5 0"
1769
+ })), /*#__PURE__*/React.createElement("circle", {
1770
+ id: "d",
1771
+ cx: "16.308",
1772
+ cy: "16.308",
1773
+ r: "6.308"
1774
+ })), /*#__PURE__*/React.createElement("g", {
1775
+ fill: "none",
1776
+ fillRule: "evenodd"
1777
+ }, /*#__PURE__*/React.createElement("path", {
1778
+ fill: "url(#a)",
1779
+ d: "M16 16c5.333 1.333 10.667 1 16-1v3l-4.588 1.721a11.925 11.925 0 0 1-.712 1.717l2.028 4.461-2.829 2.829-4.461-2.028c-.55.28-1.122.518-1.716.712L18 32h-4l-1.721-4.588a11.925 11.925 0 0 1-1.717-.712l-4.461 2.028-2.829-2.829L5.3 21.44c-.28-.55-.519-1.124-.712-1.719L0 18v-3c5.333-.667 10.667-.333 16 1Z"
1780
+ }), /*#__PURE__*/React.createElement("path", {
1781
+ fill: "url(#b)",
1782
+ d: "m18 0 1.722 4.588c.594.194 1.167.432 1.716.712l4.461-2.028 2.829 2.829-2.028 4.461c.28.55.518 1.122.712 1.716L32 14v1c-5.333 2-10.667 2.333-16 1-5.333-1.333-10.667-1.667-16-1v-1l4.588-1.721c.194-.594.432-1.167.712-1.717L3.272 6.101l2.829-2.829L10.56 5.3c.55-.28 1.124-.519 1.719-.712L14 0h4Z"
1783
+ }), /*#__PURE__*/React.createElement("use", {
1784
+ xlinkHref: "#d",
1785
+ fill: "#000",
1786
+ filter: "url(#c)"
1787
+ }), /*#__PURE__*/React.createElement("text", {
1788
+ fill: "#FFF",
1789
+ fontFamily: "Roboto-Medium, Roboto",
1790
+ fontSize: "16",
1791
+ fontWeight: "400"
1792
+ }, /*#__PURE__*/React.createElement("tspan", {
1793
+ x: "6.496",
1794
+ y: "21.7"
1795
+ }, children || 'VL'))));
1796
+ };
1711
1797
 
1712
1798
  /* *
1713
1799
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1832,9 +1918,29 @@ var index = /*#__PURE__*/Object.freeze({
1832
1918
  WorldMapProjection: WorldMapProjection,
1833
1919
  FunnelCloud: FunnelCloud,
1834
1920
  CloudLoading: CloudLoading,
1835
- CloudIdle: CloudIdle
1921
+ CloudIdle: CloudIdle,
1922
+ Admin: Admin
1836
1923
  });
1837
1924
 
1925
+ var en = {
1926
+ theme: "Theme"
1927
+ };
1928
+ var fi = {
1929
+ theme: "ei käännetty"
1930
+ };
1931
+ var no = {
1932
+ theme: "ikke oversatt"
1933
+ };
1934
+ var nl = {
1935
+ theme: "niet vertaald"
1936
+ };
1937
+ var theme = {
1938
+ en: en,
1939
+ fi: fi,
1940
+ no: no,
1941
+ nl: nl
1942
+ };
1943
+
1838
1944
  var objectDefineProperties = {};
1839
1945
 
1840
1946
  var DESCRIPTORS$1 = descriptors;
@@ -5893,4 +5999,4 @@ const EChartsLightTheme = {
5893
5999
  }
5894
6000
  };
5895
6001
 
5896
- export { Add, Animation, ArrowDown, ArrowDropDownDown, ArrowDropDownUp, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CloudIdle, CloudLoading, CoastalEvent, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, EChartsDarkTheme, EChartsLightTheme, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, Fog, FunnelCloud, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, LayersAdd, Lightning, Link, LinkOff, List, ListItem, Location, LockLocked, LockUnlocked, MapAdd, Menu, Minus, MyLocation, None, Notifications, Now, Options, Pause, Picture, Play, Polygons, Preset, PresetTiles, PresetWorkspace, Rain, Resize, Search, Share, SliderThumb, Snow, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TemperatureHigh, TemperatureLow, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThumbsUp, TimeSeriesSelect, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, Wind, WorldMapProjection, breakpoints, colors$1 as colorsLight, createShadows, createTheme, darkTheme, dragHandlePath, elevations$1 as elevationsLight, lightTheme, parseColors, useThemeContext };
6002
+ export { Add, Admin, Animation, ArrowDown, ArrowDropDownDown, ArrowDropDownUp, ArrowLeft, ArrowRight, ArrowUp, AutoUpdateActive, AutoUpdateInActive, Both, Cached, CalendarToday, Cancel, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clear, Clock, Close, CloudIdle, CloudLoading, CoastalEvent, CollapseLarge, CollapseMedium, CollapseSmall, CollapseWindow, Copy, Delete, DimensionsElevation, DimensionsOther, DimensionsRefTime, DimensionsTime, DragHandle, DrawFIRLand, DrawPolygon, DrawRegion, EChartsDarkTheme, EChartsLightTheme, Edit, Equalizer, Exclamation, ExitDomain, Expand, ExpandWindow, Export, FastForward, Filter, Fog, FunnelCloud, GeoWebLogo, HamburgerMenu, Home, index as Icons, Info, KeyCommand, KeyOption, Layers, LayersAdd, Lightning, Link, LinkOff, List, ListItem, Location, LockLocked, LockUnlocked, MapAdd, Menu, Minus, MyLocation, None, Notifications, Now, Options, Pause, Picture, Play, Polygons, Preset, PresetTiles, PresetWorkspace, Rain, Resize, Search, Share, SliderThumb, Snow, Speed, SplitHorizontal, SplitVertical, StepBackward, StepForward, SubdirectoryArrowRight, Success, TemperatureHigh, TemperatureLow, TextIcon, ThemeContext, ThemeProvider, ThemeTypes, ThemeWrapper, ThumbsUp, TimeSeriesSelect, UnExpand, Update, Visibility, VisibilityOff, WebAssetOff, Wind, WorldMapProjection, breakpoints, colors$1 as colorsLight, createShadows, createTheme, darkTheme, dragHandlePath, elevations$1 as elevationsLight, lightTheme, parseColors, theme as themeTranslations, useThemeContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "9.15.0",
3
+ "version": "9.17.0",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
package/src/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as Icons from './lib/components/Icons';
2
+ import themeTranslations from '../locales/theme.json';
2
3
  export { Icons };
3
4
  export * from './lib/components/Theme';
4
5
  export { parseColors, createShadows } from './lib/utils/utils';
@@ -8,3 +9,4 @@ export * from './lib/components/Icons';
8
9
  export * from './lib/components/Paths';
9
10
  export * from './lib/types';
10
11
  export * from './lib/utils/EChartsThemes';
12
+ export { themeTranslations };
@@ -111,4 +111,5 @@ export declare const WorldMapProjection: (props: SvgIconProps) => JSX.Element;
111
111
  export declare const FunnelCloud: (props: SvgIconProps) => JSX.Element;
112
112
  export declare const CloudLoading: (props: SvgIconProps) => JSX.Element;
113
113
  export declare const CloudIdle: (props: SvgIconProps) => JSX.Element;
114
+ export declare const Admin: ({ children, ...props }: SvgIconProps) => JSX.Element;
114
115
  export {};
@@ -2,6 +2,5 @@ import React from 'react';
2
2
  interface ThemeTranslationWrapperProps {
3
3
  children?: React.ReactNode;
4
4
  }
5
- export declare const ThemeTranslationsWrapper: React.FC<ThemeTranslationWrapperProps>;
6
5
  export declare const ThemeI18nProvider: React.FC<ThemeTranslationWrapperProps>;
7
6
  export {};