@woosmap/ui 2.37.0 → 2.41.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
|
@@ -23,10 +23,9 @@
|
|
|
23
23
|
&.disabled
|
|
24
24
|
background #fff url('../../images/texture.png')
|
|
25
25
|
color $secondary60
|
|
26
|
-
.simplecard__content
|
|
27
|
-
opacity .5
|
|
28
26
|
&.active
|
|
29
27
|
background $primary6 url('../../images/texture.png')
|
|
28
|
+
|
|
30
29
|
&__title
|
|
31
30
|
font-weight 600
|
|
32
31
|
margin-bottom .2rem
|
|
@@ -37,6 +36,8 @@
|
|
|
37
36
|
margin-top auto
|
|
38
37
|
padding-top 1rem
|
|
39
38
|
flexMiddle()
|
|
39
|
+
.disabled &
|
|
40
|
+
opacity .5
|
|
40
41
|
&__favorite
|
|
41
42
|
position absolute
|
|
42
43
|
right 1rem
|
|
@@ -43,7 +43,7 @@ export default class GeolocationDemo extends Component {
|
|
|
43
43
|
.then((response) => {
|
|
44
44
|
const { data: geolocation } = response;
|
|
45
45
|
const { stores } = geolocation;
|
|
46
|
-
const hasStores = stores
|
|
46
|
+
const hasStores = stores?.features?.length > 1;
|
|
47
47
|
|
|
48
48
|
this.setState({ geolocation, hasStores, error: null }, this.displayOnMap);
|
|
49
49
|
})
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
padding 0
|
|
57
57
|
min-height unset
|
|
58
58
|
&--LOCALITIES
|
|
59
|
-
|
|
59
|
+
&--localities
|
|
60
60
|
background-color $localities
|
|
61
61
|
&--GEOLOCATION
|
|
62
62
|
&--geolocation
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
&--distance
|
|
66
66
|
background-color $distance
|
|
67
67
|
&--STORES
|
|
68
|
-
|
|
68
|
+
&--stores
|
|
69
69
|
background-color $stores
|
|
70
70
|
&--ADDRESS
|
|
71
71
|
&--address
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
&--MAP
|
|
74
74
|
&--map
|
|
75
75
|
background-color $map
|
|
76
|
-
&--
|
|
77
|
-
&--
|
|
76
|
+
&--MERCHANTS
|
|
77
|
+
&--merchants
|
|
78
78
|
background-color $merchant
|
|
79
79
|
&--TRAFFIC
|
|
80
|
-
&--
|
|
80
|
+
&--traffic
|
|
81
81
|
background-color $traffic
|
|
82
82
|
&--free
|
|
83
83
|
background-color $free
|