@woosmap/ui 3.36.0 → 3.40.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/components/Card/Card.styl +2 -2
- package/src/components/DateTime/datetime.styl +1 -1
- package/src/components/Demo/MerchantDemo.styl +1 -1
- package/src/components/Demo/skeletondemo.styl +3 -1
- 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/styles/commons/mixins.styl +0 -8
- package/src/styles/console/button.styl +1 -1
- package/src/styles/console/fonts.styl +1 -1
- package/src/styles/console/mixins.styl +12 -3
- package/src/styles/console/tab.styl +1 -0
- package/src/styles/website/dropdown.styl +7 -6
- package/src/styles/website/mixins.styl +12 -3
- 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
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
align-items center
|
|
14
14
|
text-decoration none
|
|
15
15
|
color $secondary
|
|
16
|
-
font-weight
|
|
16
|
+
font-weight 700
|
|
17
17
|
padding-left 1.6rem
|
|
18
18
|
&.active
|
|
19
19
|
background $primary10
|
|
@@ -168,4 +168,4 @@
|
|
|
168
168
|
box-shadow 0 .2rem .4rem $dark60
|
|
169
169
|
text-transform uppercase
|
|
170
170
|
letter-spacing .1rem
|
|
171
|
-
font-weight
|
|
171
|
+
font-weight 700
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
&-container
|
|
176
176
|
color $inputDemoBgColor
|
|
177
177
|
.btn
|
|
178
|
-
padding 0
|
|
178
|
+
padding 0 .8rem
|
|
179
179
|
&:first-child
|
|
180
180
|
border-radius 2rem 0 0 2rem
|
|
181
181
|
&:last-child
|
|
@@ -185,6 +185,8 @@
|
|
|
185
185
|
background-color $activeColorDark
|
|
186
186
|
border-color $activeColorDark
|
|
187
187
|
color $inputDemoBgColor
|
|
188
|
+
&:hover
|
|
189
|
+
background-color $activeColorDark
|
|
188
190
|
&.language
|
|
189
191
|
&.transportation
|
|
190
192
|
mbi(.6)
|
|
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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@import url('https://fonts.googleapis.com/css2?family=Lato:
|
|
1
|
+
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Roboto+Mono:wght@400;600&display=swap')
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
font()
|
|
2
|
+
font-family $fontFamily
|
|
3
|
+
font-size $fontSize
|
|
4
|
+
font-weight $fontWeight
|
|
5
|
+
color $textColor
|
|
6
|
+
line-height $fontSize + .4
|
|
7
|
+
-webkit-font-smoothing antialiased
|
|
8
|
+
-moz-osx-font-smoothing grayscale
|
|
9
|
+
|
|
10
|
+
inputFont()
|
|
11
|
+
font-family $fontFamily2
|
|
12
|
+
|
|
1
13
|
// Make square
|
|
2
14
|
sq($size = $buttonHeight)
|
|
3
15
|
$size = unit($size, rem)
|
|
@@ -25,9 +37,6 @@ br($a = $borderRadius)
|
|
|
25
37
|
}
|
|
26
38
|
border-radius $a
|
|
27
39
|
|
|
28
|
-
inputFont()
|
|
29
|
-
font-family $fontFamily2
|
|
30
|
-
|
|
31
40
|
// Border and shadow style of dropdowns
|
|
32
41
|
box()
|
|
33
42
|
br()
|
|
@@ -98,15 +98,16 @@
|
|
|
98
98
|
justify-content center
|
|
99
99
|
&__menu
|
|
100
100
|
width 100%
|
|
101
|
-
max-width
|
|
101
|
+
max-width 70rem
|
|
102
102
|
position relative
|
|
103
|
-
left auto
|
|
104
|
-
right auto
|
|
105
|
-
top auto
|
|
106
|
-
bottom auto
|
|
103
|
+
left auto
|
|
104
|
+
right auto
|
|
105
|
+
top auto
|
|
106
|
+
bottom auto
|
|
107
107
|
transform unset !important
|
|
108
|
-
margin-top 3rem
|
|
108
|
+
margin-top 3rem
|
|
109
109
|
flex-wrap wrap
|
|
110
|
+
justify-content center
|
|
110
111
|
&__section
|
|
111
112
|
flex-shrink 1
|
|
112
113
|
width 20rem
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
font()
|
|
2
|
+
font-family $fontFamily
|
|
3
|
+
font-size $fontSize
|
|
4
|
+
font-weight $fontWeight
|
|
5
|
+
color $secondary
|
|
6
|
+
line-height $fontSize + .4
|
|
7
|
+
-webkit-font-smoothing antialiased
|
|
8
|
+
-moz-osx-font-smoothing grayscale
|
|
9
|
+
|
|
10
|
+
inputFont()
|
|
11
|
+
font-family $fontFamily2
|
|
12
|
+
|
|
1
13
|
f1()
|
|
2
14
|
font-size $title
|
|
3
15
|
font-weight 700
|
|
@@ -138,9 +150,6 @@ fullwh()
|
|
|
138
150
|
min-width 0
|
|
139
151
|
min-height 0
|
|
140
152
|
|
|
141
|
-
inputFont()
|
|
142
|
-
font-family $fontFamily2
|
|
143
|
-
|
|
144
153
|
wrapper()
|
|
145
154
|
trans()
|
|
146
155
|
margin 0 auto
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|