@woosmap/ui 3.36.0 → 3.37.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 +1 -1
- package/src/components/Card/Card.js +2 -20
- package/src/images/products/product-address-sq.png +0 -0
- package/src/images/products/product-address.png +0 -0
- package/src/images/products/product-distance-sq.png +0 -0
- package/src/images/products/product-distance.png +0 -0
- package/src/images/products/product-geofencing-sq.png +0 -0
- package/src/images/products/product-geofencing.png +0 -0
- package/src/images/products/product-geolocation-sq.png +0 -0
- package/src/images/products/product-geolocation.png +0 -0
- package/src/images/products/product-localities-sq.png +0 -0
- package/src/images/products/product-localities.png +0 -0
- package/src/images/products/product-map-sq.png +0 -0
- package/src/images/products/product-map.png +0 -0
- package/src/images/products/product-mapping-sq.png +0 -0
- package/src/images/products/product-mapping.png +0 -0
- package/src/images/products/product-merchant-sq.png +0 -0
- package/src/images/products/product-merchant.png +0 -0
- package/src/images/products/product-multisearch-sq.png +0 -0
- package/src/images/products/product-multisearch.png +0 -0
- package/src/images/products/product-storelocator-sq.png +0 -0
- package/src/images/products/product-storelocator.png +0 -0
- package/src/images/products/product-stores-sq.png +0 -0
- package/src/images/products/product-stores.png +0 -0
- package/src/images/products/product-traffic-sq.png +0 -0
- package/src/images/products/product-traffic.png +0 -0
- package/src/images/products/product-address-sm.png +0 -0
- package/src/images/products/product-distance-sm.png +0 -0
- package/src/images/products/product-geolocation-sm.png +0 -0
- package/src/images/products/product-localities-sm.png +0 -0
- package/src/images/products/product-map-sm.png +0 -0
- package/src/images/products/product-merchant-sm.png +0 -0
- package/src/images/products/product-stores-sm.png +0 -0
- package/src/images/products/product-traffic-sm.png +0 -0
package/package.json
CHANGED
|
@@ -20,14 +20,6 @@ import addressImgSq from '../../images/products/product-address-sq.png';
|
|
|
20
20
|
import mapImgSq from '../../images/products/product-map-sq.png';
|
|
21
21
|
import trafficImgSq from '../../images/products/product-traffic-sq.png';
|
|
22
22
|
import merchantImgSq from '../../images/products/product-merchant-sq.png';
|
|
23
|
-
import localitiesImgSm from '../../images/products/product-localities-sm.png';
|
|
24
|
-
import geolocationImgSm from '../../images/products/product-geolocation-sm.png';
|
|
25
|
-
import storesImgSm from '../../images/products/product-stores-sm.png';
|
|
26
|
-
import distanceImgSm from '../../images/products/product-distance-sm.png';
|
|
27
|
-
import addressImgSm from '../../images/products/product-address-sm.png';
|
|
28
|
-
import mapImgSm from '../../images/products/product-map-sm.png';
|
|
29
|
-
import trafficImgSm from '../../images/products/product-traffic-sm.png';
|
|
30
|
-
import merchantImgSm from '../../images/products/product-merchant-sm.png';
|
|
31
23
|
|
|
32
24
|
const productImg = {
|
|
33
25
|
LOCALITIES: localitiesImg,
|
|
@@ -49,16 +41,6 @@ const productImgSq = {
|
|
|
49
41
|
TRAFFIC: trafficImgSq,
|
|
50
42
|
MERCHANTS: merchantImgSq,
|
|
51
43
|
};
|
|
52
|
-
const productImgSm = {
|
|
53
|
-
LOCALITIES: localitiesImgSm,
|
|
54
|
-
GEOLOCATION: geolocationImgSm,
|
|
55
|
-
STORES: storesImgSm,
|
|
56
|
-
DISTANCE: distanceImgSm,
|
|
57
|
-
ADDRESS: addressImgSm,
|
|
58
|
-
MAP: mapImgSm,
|
|
59
|
-
TRAFFIC: trafficImgSm,
|
|
60
|
-
MERCHANTS: merchantImgSm,
|
|
61
|
-
};
|
|
62
44
|
|
|
63
45
|
class Header extends Component {
|
|
64
46
|
render() {
|
|
@@ -128,7 +110,7 @@ class Card extends Component {
|
|
|
128
110
|
let imgSize = size;
|
|
129
111
|
switch (imgSize) {
|
|
130
112
|
case 'normal':
|
|
131
|
-
imgSize =
|
|
113
|
+
imgSize = productImg[product];
|
|
132
114
|
break;
|
|
133
115
|
case 'small':
|
|
134
116
|
imgSize = productImgSq[product];
|
|
@@ -137,7 +119,7 @@ class Card extends Component {
|
|
|
137
119
|
imgSize = productImg[product];
|
|
138
120
|
break;
|
|
139
121
|
default:
|
|
140
|
-
imgSize =
|
|
122
|
+
imgSize = productImg[product];
|
|
141
123
|
}
|
|
142
124
|
return (
|
|
143
125
|
<div
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|