@woosmap/ui 3.91.0 → 3.92.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": "3.91.0",
3
+ "version": "3.92.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -8,8 +8,7 @@
8
8
  width 100%
9
9
  zoom .9
10
10
  padding 2rem
11
- background #31436C
12
- background radial-gradient(circle, #31436C 0%, #262D3E 100%)
11
+ background-color #d5eaff
13
12
  &__mobilewrapper
14
13
  trans()
15
14
  position relative
@@ -69,8 +68,9 @@
69
68
  .merchant__mobile--details--dirty &
70
69
  opacity 1
71
70
  &__button
71
+ sq(3)
72
72
  position absolute
73
- background-color transparent !important
73
+ background-color transparent
74
74
  left -.6rem
75
75
  padding 0
76
76
  display flex
@@ -78,7 +78,7 @@
78
78
  justify-content center
79
79
  flex-shrink 0
80
80
  &:hover
81
- background-color $dark30 !important
81
+ background-color $dark30
82
82
 
83
83
  &__section
84
84
  padding 1.4rem 2rem
@@ -20,9 +20,6 @@
20
20
  position relative
21
21
  // box-shadow 0 0 3rem rgba($logo2, .15)
22
22
  box-shadow 0 .3rem 1rem rgba($secondary, .15)
23
- .demo--merchant &
24
- border .1rem solid $light
25
-
26
23
  &__showcase
27
24
  &__data
28
25
  display flex
@@ -86,45 +86,7 @@ export const woosmapBoundsFromViewport = function woosmapBoundsFromViewport(view
86
86
 
87
87
  export const createWoosmapMap = (node) => {
88
88
  try {
89
- return new window.woosmap.map.Map(node, {
90
- styles: [
91
- {
92
- featureType: 'administrative',
93
- elementType: 'all',
94
- stylers: [{ visibility: 'on' }, { saturation: -100 }, { lightness: 20 }],
95
- },
96
- {
97
- featureType: 'road',
98
- elementType: 'all',
99
- stylers: [{ visibility: 'on' }, { saturation: -100 }, { lightness: 40 }],
100
- },
101
- {
102
- featureType: 'water',
103
- elementType: 'all',
104
- stylers: [{ visibility: 'on' }, { saturation: -10 }, { lightness: 30 }],
105
- },
106
- {
107
- featureType: 'landscape.man_made',
108
- elementType: 'all',
109
- stylers: [{ visibility: 'simplified' }, { saturation: -60 }, { lightness: 10 }],
110
- },
111
- {
112
- featureType: 'landscape.natural',
113
- elementType: 'all',
114
- stylers: [{ visibility: 'simplified' }, { saturation: -60 }, { lightness: 60 }],
115
- },
116
- {
117
- featureType: 'poi',
118
- elementType: 'all',
119
- stylers: [{ visibility: 'off' }, { saturation: -100 }, { lightness: 60 }],
120
- },
121
- {
122
- featureType: 'transit',
123
- elementType: 'all',
124
- stylers: [{ visibility: 'off' }, { saturation: -100 }, { lightness: 60 }],
125
- },
126
- ],
127
- });
89
+ return new window.woosmap.map.Map(node);
128
90
  } catch (e) {
129
91
  console.error('Cound not instantiate a Map');
130
92
  console.error(e);