@woosmap/ui 4.138.0 → 4.140.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "4.138.0",
3
+ "version": "4.140.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -331,6 +331,7 @@ import { ReactComponent as MapSearch } from '../../icons/map-search.svg';
331
331
  import { ReactComponent as MapArrowTop } from '../../icons/map-arrow-top.svg';
332
332
  import { ReactComponent as MapArrowBottom } from '../../icons/map-arrow-bottom.svg';
333
333
  import { ReactComponent as MapCrosshair } from '../../icons/map-crosshair.svg';
334
+ import { ReactComponent as MapCopy } from '../../icons/map-copy.svg';
334
335
 
335
336
  const WebsiteIcons = {
336
337
  autocomplete: Autocomplete,
@@ -651,6 +652,7 @@ const MapDemo = {
651
652
  'map-arrow-top': MapArrowTop,
652
653
  'map-arrow-bottom': MapArrowBottom,
653
654
  'map-crosshair': MapCrosshair,
655
+ 'map-copy': MapCopy,
654
656
  };
655
657
 
656
658
  const ProductsIcons = {
@@ -293,7 +293,7 @@ export default class CountrySelect extends Component {
293
293
  if (value) {
294
294
  if (Array.isArray(value)) {
295
295
  countryOption = value.map((countryVal) => {
296
- const countryCode = countryVal.toLowerCase();
296
+ const countryCode = countryVal?.value?.toLowerCase() || countryVal?.toLowerCase();
297
297
  if (countryCode.length > 2) {
298
298
  const countryObj = this.filterCountry(countryCode);
299
299
  return countryObj && { ...countryObj, value: countryVal };
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M17.482,7.099v-.299c0-2.057-1.673-3.73-3.73-3.73h-6.952c-2.057,0-3.73,1.673-3.73,3.73v6.952c0,2.057,1.673,3.73,3.73,3.73h.299c.089,1.893,1.643,3.409,3.557,3.409h6.66c1.971,0,3.574-1.604,3.574-3.574v-6.66c0-1.914-1.516-3.469-3.409-3.557ZM4.93,13.752v-6.952c0-1.031.839-1.87,1.87-1.87h6.952c1.031,0,1.87.839,1.87,1.87v.282h-4.965c-1.971,0-3.574,1.604-3.574,3.574v4.965h-.282c-1.031,0-1.87-.839-1.87-1.87ZM19.109,17.317c0,.988-.804,1.792-1.792,1.792h-6.66c-.988,0-1.792-.804-1.792-1.792v-6.66c0-.988.804-1.792,1.792-1.792h6.66c.988,0,1.792.804,1.792,1.792v6.66Z"/></svg>