@opengeoweb/theme 9.20.2 → 9.22.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
@@ -1,6 +1,8 @@
1
1
  import { jsx, jsxs } from 'react/jsx-runtime';
2
2
  import { SvgIcon, createTheme as createTheme$1, ThemeProvider as ThemeProvider$1, CssBaseline, GlobalStyles, StyledEngineProvider } from '@mui/material';
3
3
  import * as React from 'react';
4
+ import 'i18next';
5
+ import 'react-i18next';
4
6
 
5
7
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
6
8
 
@@ -1996,10 +1998,7 @@ const CloudIdle = props => jsx(SvgIcon, Object.assign({}, props, {
1996
1998
  })
1997
1999
  }));
1998
2000
  const Admin = _a => {
1999
- var {
2000
- children
2001
- } = _a,
2002
- props = __rest(_a, ["children"]);
2001
+ var props = __rest(_a, []);
2003
2002
  const title = 'Admin';
2004
2003
  return jsxs(SvgIcon, Object.assign({}, props, {
2005
2004
  width: 32,
@@ -2083,18 +2082,7 @@ const Admin = _a => {
2083
2082
  xlinkHref: "#d",
2084
2083
  fill: "#000",
2085
2084
  filter: "url(#c)"
2086
- }), jsx("text", Object.assign({
2087
- fill: "#FFF",
2088
- fontFamily: "Roboto-Medium, Roboto",
2089
- fontSize: "14",
2090
- fontWeight: "400",
2091
- x: "16",
2092
- y: "16.308",
2093
- alignmentBaseline: "central",
2094
- textAnchor: "middle"
2095
- }, {
2096
- children: children || 'VL'
2097
- }))]
2085
+ })]
2098
2086
  }))]
2099
2087
  }));
2100
2088
  };
@@ -2110,6 +2098,61 @@ const Expire = props => jsx(SvgIcon, Object.assign({}, props, {
2110
2098
  fillRule: "evenodd"
2111
2099
  })
2112
2100
  }));
2101
+ const Thunderstorm = props => jsx(SvgIcon, Object.assign({}, props, {
2102
+ children: jsx("path", {
2103
+ d: "M4.72 1.26v1.26h.88V23h3V2.52h7.448l-.151.21C11.641 8.652 8.72 12.732 8.72 12.753c0 .015 1.831 1.858 4.07 4.097l4.07 4.07-.9.9-.899.9H20.8v-2.84c0-1.562-.014-2.84-.03-2.84-.017 0-.426.396-.91.88l-.88.88-3.17-3.17c-1.744-1.743-3.162-3.191-3.152-3.218.009-.026 2.008-2.819 4.44-6.207C19.53 2.817 21.52.035 21.52.022 21.52.01 17.74 0 13.12 0h-8.4v1.26"
2104
+ })
2105
+ }));
2106
+ const SevereWaves = props => jsx(SvgIcon, Object.assign({}, props, {
2107
+ children: jsx("path", {
2108
+ d: "M11.08 6.264c-.714.033-1.623.107-2.169.177-3.29.422-6.069 1.5-7.585 2.941C.685 9.991.32 10.538.114 11.2c-.135.431-.135 1.169 0 1.6.428 1.37 1.795 2.598 3.889 3.492 1.7.726 3.664 1.18 6.037 1.395.764.069 3.156.069 3.92 0 3.935-.357 7.02-1.449 8.743-3.096.616-.589.981-1.141 1.182-1.791.134-.43.134-1.17 0-1.6-.205-.661-.57-1.208-1.211-1.818-1.699-1.615-4.996-2.77-8.734-3.059-.568-.044-2.382-.081-2.86-.059M8.88 11.5c-1.793 1.793-3.273 3.26-3.29 3.26-.072 0-.812-.309-1.309-.546l-.538-.257 2.778-2.777L9.3 8.404l.42-.044c.47-.05 1.463-.105 2.04-.114l.38-.006-3.26 3.26m5.942-3.078c.263.034.775.117 1.138.185l.77.143c.061.01.11.031.11.045 0 .014-1.544 1.57-3.432 3.457l-3.432 3.432-.638-.082c-.69-.088-1.663-.253-1.914-.325l-.157-.044 3.437-3.437c2.753-2.754 3.456-3.436 3.538-3.436.056 0 .317.028.58.062M4.604 10.976l-2.056 2.057-.136-.163c-.463-.554-.512-.979-.172-1.505.397-.615 1.205-1.205 2.371-1.733.53-.24 1.783-.681 2.009-.707.022-.003-.886.92-2.016 2.051M18.92 9.428c.332.128 1.4.651 1.4.686 0 .014-1.222 1.248-2.716 2.742l-2.717 2.716-.233.034c-.393.056-1.81.153-2.234.154h-.4l3.24-3.24c2.65-2.65 3.254-3.235 3.32-3.215.044.013.197.069.34.123m2.811 1.894c.216.307.292.592.232.862-.2.891-1.629 1.914-3.643 2.607-.864.298-.964.44 1.22-1.747 1.078-1.08 1.978-1.958 2-1.951.022.007.108.11.191.229"
2109
+ })
2110
+ }));
2111
+ const VulcanicEruption = props => jsx(SvgIcon, Object.assign({}, props, {
2112
+ children: jsx("path", {
2113
+ d: "m11.993 2.578-.011 2.577-1.251-2.297L9.479.561l-.178.103c-.099.057-.495.275-.881.484l-.701.381.124.221c.483.863 2.34 4.294 2.34 4.323 0 .019-.46.041-1.024.047l-1.023.012-3.807 9.208a2261.356 2261.356 0 0 0-3.808 9.241c-.001.018 2.251.032 5.004.032h5.005v-2.036l-3.507-.011-3.508-.011 2.982-7.215 2.981-7.215h7.044l2.981 7.215 2.982 7.215-3.67.022-3.67.021v1.994l5.168.011c2.842.006 5.167-.004 5.166-.022-.001-.018-1.714-4.176-3.808-9.241l-3.806-9.208-1.05-.012c-.811-.009-1.046-.024-1.03-.065.012-.029.571-1.097 1.243-2.372a160.802 160.802 0 0 0 1.229-2.356c.008-.038-1.646-.935-1.725-.935-.024 0-.604 1.067-1.289 2.371l-1.246 2.372V0H12.004l-.011 2.578m.162 20.059c-.569.269-.843.886-.67 1.509.067.239.296.514.562.673.216.13.263.141.604.14.432-.001.641-.077.884-.32a1.234 1.234 0 0 0 .055-1.708 1.154 1.154 0 0 0-.915-.397c-.229 0-.356.025-.52.103m.95.519c.207.158.297.346.297.62 0 .774-1.082 1.005-1.403.3a.743.743 0 0 1 .373-1.007c.203-.095.548-.054.733.087m-.614.424c-.083.082-.065.274.034.363.068.062.112.071.201.039.16-.057.215-.161.163-.309-.034-.097-.072-.124-.193-.134-.083-.007-.176.011-.205.041"
2114
+ })
2115
+ }));
2116
+ const ModerateAircraftIcing = props => jsx(SvgIcon, Object.assign({}, props, {
2117
+ children: jsx("path", {
2118
+ d: "M.645 4.375c-.192.07-.433.284-.529.473-.155.304-.147.522.043 1.095a12.33 12.33 0 0 0 2.878 4.751c1.682 1.725 3.648 2.859 5.965 3.441l.538.135.02 2.335c.019 2.165.025 2.347.095 2.506.09.207.383.474.58.528.226.063.567.047.747-.034.203-.093.469-.392.531-.597.034-.112.047-.779.047-2.323V14.52h.88v2.165c0 1.544.013 2.211.047 2.323.062.205.328.504.531.597.18.081.521.097.747.034.197-.054.49-.321.58-.528.07-.159.076-.341.095-2.506l.02-2.335.538-.135a12.468 12.468 0 0 0 8.863-8.25c.122-.373.145-.493.127-.665a.995.995 0 0 0-1.649-.654c-.176.154-.25.298-.42.814-.962 2.915-3.315 5.35-6.23 6.447-.331.124-1.142.373-1.217.373-.016 0-.034-.752-.04-1.67-.012-1.624-.014-1.674-.098-1.83-.336-.621-1.122-.746-1.611-.257-.272.273-.262.188-.275 2.203l-.011 1.825-.219.027c-.12.015-.316.015-.436 0l-.219-.027-.011-1.825c-.013-2.015-.003-1.93-.275-2.203a.933.933 0 0 0-.695-.294.991.991 0 0 0-.916.551c-.084.156-.086.206-.098 1.83-.006.918-.024 1.67-.04 1.67-.075 0-.886-.249-1.217-.373C5.392 10.728 3.046 8.3 2.08 5.377a5.999 5.999 0 0 0-.203-.541 1.123 1.123 0 0 0-.503-.456c-.17-.071-.539-.074-.729-.005"
2119
+ })
2120
+ }));
2121
+ const SevereAircraftIcing = props => jsx(SvgIcon, Object.assign({}, props, {
2122
+ children: jsx("path", {
2123
+ d: "M.645 4.375c-.192.07-.433.284-.529.473-.155.304-.147.522.043 1.095A12.516 12.516 0 0 0 5.54 12.7c.479.292 1.305.706 1.78.893l.3.118.02 2.615.02 2.614.093.189c.17.345.507.549.907.549a.903.903 0 0 0 .708-.303c.282-.295.272-.193.272-2.778v-2.326l.092.023c.216.055.947.149 1.332.173l.416.025v2.204l.001 2.204.094.2c.112.235.306.431.514.518.169.07.502.081.714.022.187-.052.458-.287.568-.494.088-.165.089-.179.1-2.449l.011-2.283.349-.047c.192-.026.389-.058.439-.072l.09-.024.001 2.334c.001 2.625-.013 2.5.304 2.803.203.194.4.272.684.271a.986.986 0 0 0 .898-.55l.093-.189.02-2.614.02-2.615.3-.118a14.372 14.372 0 0 0 1.78-.893 12.534 12.534 0 0 0 5.401-6.815c.122-.373.145-.493.127-.665a.995.995 0 0 0-1.649-.654c-.176.154-.25.298-.42.814-.77 2.333-2.506 4.456-4.659 5.7-.434.251-.803.44-.859.44-.027 0-.041-.415-.041-1.233 0-1.399-.021-1.536-.272-1.816a.94.94 0 0 0-.745-.32 1.286 1.286 0 0 0-.343.041 1.099 1.099 0 0 0-.535.492l-.105.212v1.672c0 .92-.008 1.672-.017 1.672-.01 0-.14.025-.29.056-.15.03-.34.067-.422.081l-.149.026-.011-1.771c-.012-1.961-.005-1.908-.281-2.19a.91.91 0 0 0-.71-.294.934.934 0 0 0-.735.315c-.26.268-.265.31-.265 2.27v1.759l-.33-.026a12.136 12.136 0 0 1-1.3-.187l-.21-.046V8.896l-.105-.212A1.099 1.099 0 0 0 9 8.192a1.286 1.286 0 0 0-.343-.041.94.94 0 0 0-.745.32c-.251.28-.272.417-.272 1.816 0 .818-.014 1.233-.041 1.233-.056 0-.425-.189-.859-.44-2.159-1.247-3.886-3.361-4.66-5.703a5.999 5.999 0 0 0-.203-.541 1.123 1.123 0 0 0-.503-.456c-.17-.071-.539-.074-.729-.005"
2124
+ })
2125
+ }));
2126
+ const SandStorm = props => jsx(SvgIcon, Object.assign({}, props, {
2127
+ children: jsx("path", {
2128
+ d: "M10.26 5.679a2.34 2.34 0 0 0-.68.14c-.154.059-.465.167-.69.241-.297.096-.463.176-.6.29a6.227 6.227 0 0 1-.375.282c-.168.113-.413.384-.729.806-.11.147-.239.556-.41 1.302-.089.389-.053.785.12 1.326.076.239.158.51.182.602.024.093.106.25.182.349.075.099.187.279.249.399a.98.98 0 0 0 .283.344c.14.101.171.144.16.231-.019.167-.152.208-.684.208-.447.001-.477.006-.57.099-.095.096-.118.195-.102.442.013.207.084.332.214.377.079.028.72.043 1.812.043 1.95 0 2.213.027 2.558.262.11.075.302.171.426.214.282.096.387.15.514.262.055.049.181.135.28.191.099.057.245.172.325.257.079.085.207.21.283.278.113.103.158.195.253.52.162.557.159.87-.014 1.41-.155.484-.307.68-.679.879a3.183 3.183 0 0 0-.381.241 1.038 1.038 0 0 1-.338.163c-.588.139-1.972.16-2.978.046-.612-.07-.698-.089-1.02-.236a3.945 3.945 0 0 0-.68-.229c-.304-.064-.336-.064-.428-.004-.138.091-.182.293-.169.791.007.314.027.451.076.526.073.11.659.445.85.485.523.108 1.819.201 2.82.203.652.001.95-.018 1.453-.091.702-.102.772-.122.968-.271.074-.057.271-.154.436-.216.286-.107.525-.274.838-.586.392-.393.585-.612.585-.666 0-.033.09-.237.2-.454.177-.35.204-.439.239-.775a6.063 6.063 0 0 0 0-1.361c-.053-.43-.094-.557-.245-.746a1.508 1.508 0 0 1-.18-.293 2.414 2.414 0 0 0-.198-.343c-.156-.226-.15-.307.027-.398.182-.095.447-.076.571.039.097.089.106.125.106.399 0 .272.009.307.094.363.135.088.466.013.65-.149.075-.066.265-.172.421-.236.156-.063.35-.168.431-.232.081-.064.249-.161.372-.216.124-.055.273-.154.332-.22.105-.117.702-.407.84-.407.123 0 .054-.174-.08-.202-.138-.029-.443-.205-.705-.405a1.788 1.788 0 0 0-.318-.193 2.873 2.873 0 0 1-.388-.225 2.732 2.732 0 0 0-.47-.252 2.358 2.358 0 0 1-.419-.219c-.367-.252-.622-.282-.713-.083-.027.058-.047.291-.047.539 0 .403-.007.444-.096.548l-.097.112-1.253.012c-1.384.013-1.488.001-1.839-.214a1.792 1.792 0 0 0-.52-.199c-.404-.084-.405-.084-.601-.24a1.93 1.93 0 0 0-.482-.241 1.917 1.917 0 0 1-.458-.222 4.427 4.427 0 0 0-.382-.261c-.313-.19-.768-.748-.858-1.053-.082-.276-.058-1.022.04-1.254.071-.169.478-.795.562-.865a1.9 1.9 0 0 1 .336-.14 3.1 3.1 0 0 0 .459-.2c.446-.261 1.833-.244 2.638.031.606.208 1.359.358 1.544.308.243-.066.319-.145.406-.428.146-.472.085-.868-.153-.991a3.67 3.67 0 0 0-.573-.161A12.866 12.866 0 0 1 13 5.859a4.995 4.995 0 0 0-.6-.138c-.389-.053-1.684-.079-2.14-.042"
2129
+ })
2130
+ }));
2131
+ const SevereTurbulence = props => jsx(SvgIcon, Object.assign({}, props, {
2132
+ children: jsx("path", {
2133
+ d: "M10.239 8.747c-1.26 1.734-2.334 3.208-2.385 3.276l-.092.122.766.558c.421.306.788.57.814.586.033.02.55-.66 1.56-2.05.832-1.143 1.523-2.078 1.535-2.077.013.001.599.912 1.303 2.024s1.3 2.03 1.325 2.04c.025.011.416-.217.868-.506l.823-.524-.311-.488-2.064-3.248a243.235 243.235 0 0 0-1.801-2.813c-.039-.042-.5.569-2.341 3.1m-.179 4.135-2.2 2.757H4.43L1 15.64v2l3.91-.001h3.91l1.676-2.098c.922-1.154 1.689-2.09 1.703-2.082.015.009.682.954 1.483 2.099l1.457 2.082H23v-2l-3.41-.001h-3.41l-1.921-2.747c-1.057-1.51-1.939-2.751-1.96-2.757-.021-.006-1.029 1.23-2.239 2.747"
2134
+ })
2135
+ }));
2136
+ const RadioactiveMaterials = props => jsx(SvgIcon, Object.assign({}, props, {
2137
+ children: jsx("path", {
2138
+ d: "M11.22.023C9.739.166 8.752.389 7.589.846A12.005 12.005 0 0 0 2.421 4.78C1.196 6.407.439 8.224.114 10.32c-.077.497-.09.738-.09 1.68s.013 1.183.09 1.68c.386 2.483 1.392 4.61 3.038 6.42 1.85 2.034 4.347 3.353 7.168 3.786.494.076.743.089 1.68.089.937 0 1.186-.013 1.68-.089 2.821-.433 5.318-1.752 7.168-3.786 1.643-1.806 2.66-3.955 3.038-6.42.076-.494.089-.743.089-1.68 0-.937-.013-1.186-.089-1.68-.581-3.785-2.727-6.914-6.032-8.793C16.594.81 15.071.309 13.512.097 13.084.039 11.564-.01 11.22.023m1.6 2.019a9.93 9.93 0 0 1 3.278.841c.21.093.382.181.382.197 0 .066-4.325 7.859-4.378 7.889-.042.024-.084-.013-.156-.138a1992.32 1992.32 0 0 1-4.331-7.77c-.011-.027.128-.11.334-.199 1.579-.686 3.216-.962 4.871-.82m-1.669 10.612c-.399.767-4.337 7.866-4.363 7.866-.13 0-1.218-.836-1.743-1.339-1.655-1.584-2.822-4.007-2.986-6.201a5.447 5.447 0 0 0-.042-.41l-.019-.09h9.244l-.091.174m10.801.21c-.217 2.695-1.589 5.253-3.732 6.958-.403.321-.812.601-.836.573-.033-.04-4.384-7.872-4.384-7.892 0-.013 2.021-.023 4.491-.023h4.492l-.031.384"
2139
+ })
2140
+ }));
2141
+ const FreezingPrecipitation = props => jsx(SvgIcon, Object.assign({}, props, {
2142
+ children: jsx("path", {
2143
+ d: "M6.44 5.266C3.397 5.428.882 7.519.187 10.464c-.152.645-.194 1.138-.18 2.097l.013.861.131.266c.267.543.749.843 1.349.843.406 0 .701-.107.979-.358.441-.396.509-.628.534-1.833.02-.949.05-1.171.231-1.66.431-1.168 1.499-2.082 2.736-2.34.38-.08 1.091-.09 1.46-.021a3.79 3.79 0 0 1 2.659 2.021c.264.535.334.842.401 1.76.063.876.091 1.078.217 1.569a6.7 6.7 0 0 0 1.764 3.09 6.754 6.754 0 0 0 3.819 1.924c.416.065 1.472.065 1.88.001 1.751-.275 3.254-1.13 4.328-2.464a6.793 6.793 0 0 0 1.434-3.379c.079-.589.077-2.036-.003-2.298-.223-.736-.903-1.167-1.673-1.061-.478.066-.922.405-1.138.869-.103.222-.107.258-.134 1.229-.028 1.021-.052 1.198-.232 1.717-.304.874-1.077 1.714-1.934 2.102a3.75 3.75 0 0 1-2.388.258 3.762 3.762 0 0 1-2.539-1.997c-.267-.541-.336-.843-.401-1.76-.063-.873-.09-1.074-.217-1.569-.636-2.485-2.665-4.422-5.165-4.931-.333-.068-1.359-.176-1.438-.151a3.564 3.564 0 0 1-.24.017m-.32 3.937c-.64.123-1.355.619-1.756 1.218a2.834 2.834 0 0 0 0 3.157 2.863 2.863 0 0 0 3.73.951c.326-.17.837-.637 1.052-.96.308-.465.451-.961.451-1.569 0-.861-.275-1.491-.914-2.089-.571-.534-1.143-.754-1.939-.747a5.06 5.06 0 0 0-.624.039"
2144
+ })
2145
+ }));
2146
+ const Haze = props => jsx(SvgIcon, Object.assign({}, props, {
2147
+ children: jsx("path", {
2148
+ d: "M4.84 9.126c-1.678.153-3.29.744-4.128 1.512-.911.835-.945 1.772-.094 2.625.348.349.674.572 1.198.818 1.066.502 2.197.762 3.622.834 1.623.082 3.165-.121 4.388-.578.973-.363 1.732-.874 2.106-1.416l.068-.099.068.099c.606.88 2.217 1.641 4.012 1.896 1.294.184 2.985.142 4.18-.103 1.412-.29 2.592-.854 3.217-1.539.57-.623.669-1.282.295-1.96-.141-.256-.605-.721-.932-.933-.819-.532-2.048-.946-3.34-1.122-.586-.081-2.293-.095-2.947-.026-1.162.124-2.135.383-2.999.797-.576.277-.954.546-1.295.923l-.271.299-.148-.187c-.737-.929-2.378-1.617-4.352-1.827-.598-.063-2.022-.071-2.648-.013m2.184 1.475c1.178.094 2.08.327 2.909.75.377.192.787.531.787.649 0 .138-.431.475-.896.7-.985.477-1.931.682-3.364.728-1.623.052-2.905-.18-4.053-.733-.451-.218-.887-.56-.887-.696 0-.13.445-.476.892-.694 1.219-.594 2.857-.844 4.612-.704m12.216.039c.906.116 1.661.33 2.348.665.447.218.892.564.892.694 0 .136-.436.478-.887.696-1.148.553-2.43.785-4.053.733-1.433-.046-2.379-.251-3.364-.728-.465-.225-.896-.562-.896-.7 0-.118.41-.457.787-.649.797-.407 1.722-.652 2.833-.75.489-.044 1.876-.02 2.34.039"
2149
+ })
2150
+ }));
2151
+ const ModerateTurbulence = props => jsx(SvgIcon, Object.assign({}, props, {
2152
+ children: jsx("path", {
2153
+ d: "m10.06 10.682-2.2 2.757H4.43L1 13.44v2l3.91-.001h3.91l1.676-2.098c.922-1.154 1.689-2.09 1.703-2.082.015.009.682.954 1.483 2.099l1.457 2.082H23v-2l-3.41-.001h-3.41l-1.921-2.747c-1.057-1.51-1.939-2.751-1.96-2.757-.021-.006-1.029 1.23-2.239 2.747"
2154
+ })
2155
+ }));
2113
2156
 
2114
2157
  /* *
2115
2158
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -2180,9 +2223,11 @@ var index = /*#__PURE__*/Object.freeze({
2180
2223
  FastForward: FastForward,
2181
2224
  Filter: Filter,
2182
2225
  Fog: Fog,
2226
+ FreezingPrecipitation: FreezingPrecipitation,
2183
2227
  FunnelCloud: FunnelCloud,
2184
2228
  GeoWebLogo: GeoWebLogo,
2185
2229
  HamburgerMenu: HamburgerMenu,
2230
+ Haze: Haze,
2186
2231
  Home: Home,
2187
2232
  Info: Info,
2188
2233
  KeyCommand: KeyCommand,
@@ -2200,6 +2245,8 @@ var index = /*#__PURE__*/Object.freeze({
2200
2245
  MapAdd: MapAdd,
2201
2246
  Menu: Menu,
2202
2247
  Minus: Minus,
2248
+ ModerateAircraftIcing: ModerateAircraftIcing,
2249
+ ModerateTurbulence: ModerateTurbulence,
2203
2250
  MyLocation: MyLocation,
2204
2251
  None: None,
2205
2252
  Notifications: Notifications,
@@ -2212,10 +2259,15 @@ var index = /*#__PURE__*/Object.freeze({
2212
2259
  Preset: Preset,
2213
2260
  PresetTiles: PresetTiles,
2214
2261
  PresetWorkspace: PresetWorkspace,
2262
+ RadioactiveMaterials: RadioactiveMaterials,
2215
2263
  Rain: Rain,
2216
2264
  Remove: Remove,
2217
2265
  Resize: Resize,
2266
+ SandStorm: SandStorm,
2218
2267
  Search: Search,
2268
+ SevereAircraftIcing: SevereAircraftIcing,
2269
+ SevereTurbulence: SevereTurbulence,
2270
+ SevereWaves: SevereWaves,
2219
2271
  Share: Share,
2220
2272
  SliderThumb: SliderThumb,
2221
2273
  Snow: Snow,
@@ -2230,11 +2282,13 @@ var index = /*#__PURE__*/Object.freeze({
2230
2282
  TemperatureLow: TemperatureLow,
2231
2283
  TextIcon: TextIcon,
2232
2284
  ThumbsUp: ThumbsUp,
2285
+ Thunderstorm: Thunderstorm,
2233
2286
  TimeSeriesSelect: TimeSeriesSelect,
2234
2287
  UnExpand: UnExpand,
2235
2288
  Update: Update,
2236
2289
  Visibility: Visibility,
2237
2290
  VisibilityOff: VisibilityOff,
2291
+ VulcanicEruption: VulcanicEruption,
2238
2292
  WebAssetOff: WebAssetOff,
2239
2293
  Wind: Wind,
2240
2294
  WorldMapProjection: WorldMapProjection
@@ -2252,7 +2306,7 @@ var no = {
2252
2306
  var nl = {
2253
2307
  theme: "niet vertaald"
2254
2308
  };
2255
- var theme = {
2309
+ var themeTranslations = {
2256
2310
  en: en,
2257
2311
  fi: fi,
2258
2312
  no: no,
@@ -3195,7 +3249,9 @@ const buttonVariants = (buttons, stylingFn = buttonStyle) => {
3195
3249
  };
3196
3250
  });
3197
3251
  };
3198
- const variantsToClassName = buttonVariants => buttonVariants.reduce((variants, {
3252
+ const variantsToClassName = buttonVariants => buttonVariants.reduce(
3253
+ // @ts-expect-error Somehow typecheck thinks variant is not part of ButtonProps here
3254
+ (variants, {
3199
3255
  props: {
3200
3256
  variant
3201
3257
  },
@@ -6325,4 +6381,22 @@ const EChartsLightTheme = {
6325
6381
  }
6326
6382
  };
6327
6383
 
6328
- 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, Expire, 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, Remove, 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 };
6384
+ /* *
6385
+ * Licensed under the Apache License, Version 2.0 (the "License");
6386
+ * you may not use this file except in compliance with the License.
6387
+ * You may obtain a copy of the License at
6388
+ *
6389
+ * http://www.apache.org/licenses/LICENSE-2.0
6390
+ *
6391
+ * Unless required by applicable law or agreed to in writing, software
6392
+ * distributed under the License is distributed on an "AS IS" BASIS,
6393
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
6394
+ * See the License for the specific language governing permissions and
6395
+ * limitations under the License.
6396
+ *
6397
+ * Copyright 2023 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
6398
+ * Copyright 2023 - Finnish Meteorological Institute (FMI)
6399
+ * */
6400
+ const THEME_NAMESPACE = 'theme';
6401
+
6402
+ 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, Expire, Export, FastForward, Filter, 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, 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$1 as colorsLight, createShadows, createTheme, darkTheme, dragHandlePath, elevations$1 as elevationsLight, lightTheme, parseColors, themeTranslations, useThemeContext };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengeoweb/theme",
3
- "version": "9.20.2",
3
+ "version": "9.22.0",
4
4
  "description": "GeoWeb Theme library for the opengeoweb project",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -8,11 +8,11 @@
8
8
  "url": "git@gitlab.com:opengeoweb/opengeoweb.git"
9
9
  },
10
10
  "dependencies": {
11
- "@mui/material": "~5.15.11",
11
+ "@mui/material": "^5.16.0",
12
12
  "@mui/system": "^5.15.1",
13
13
  "@mui/x-date-pickers": "^6.18.5",
14
- "i18next": "^23.7.11",
15
- "react-i18next": "^13.5.0"
14
+ "i18next": "^23.11.5",
15
+ "react-i18next": "^14.1.2"
16
16
  },
17
17
  "peerDependencies": {
18
18
  "react": "18"
package/src/index.d.ts CHANGED
@@ -9,4 +9,5 @@ export * from './lib/components/Icons';
9
9
  export * from './lib/components/Paths';
10
10
  export * from './lib/types';
11
11
  export * from './lib/utils/EChartsThemes';
12
+ export { THEME_NAMESPACE } from './lib/utils/i18n';
12
13
  export { themeTranslations };
@@ -111,7 +111,18 @@ 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
+ export declare const Admin: ({ ...props }: SvgIconProps) => JSX.Element;
115
115
  export declare const Remove: (props: SvgIconProps) => JSX.Element;
116
116
  export declare const Expire: (props: SvgIconProps) => JSX.Element;
117
+ export declare const Thunderstorm: (props: SvgIconProps) => JSX.Element;
118
+ export declare const SevereWaves: (props: SvgIconProps) => JSX.Element;
119
+ export declare const VulcanicEruption: (props: SvgIconProps) => JSX.Element;
120
+ export declare const ModerateAircraftIcing: (props: SvgIconProps) => JSX.Element;
121
+ export declare const SevereAircraftIcing: (props: SvgIconProps) => JSX.Element;
122
+ export declare const SandStorm: (props: SvgIconProps) => JSX.Element;
123
+ export declare const SevereTurbulence: (props: SvgIconProps) => JSX.Element;
124
+ export declare const RadioactiveMaterials: (props: SvgIconProps) => JSX.Element;
125
+ export declare const FreezingPrecipitation: (props: SvgIconProps) => JSX.Element;
126
+ export declare const Haze: (props: SvgIconProps) => JSX.Element;
127
+ export declare const ModerateTurbulence: (props: SvgIconProps) => JSX.Element;
117
128
  export {};