@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.
Files changed (45) hide show
  1. package/package.json +1 -1
  2. package/src/components/Card/Card.js +2 -20
  3. package/src/components/Card/Card.styl +2 -2
  4. package/src/components/DateTime/datetime.styl +1 -1
  5. package/src/components/Demo/MerchantDemo.styl +1 -1
  6. package/src/components/Demo/skeletondemo.styl +3 -1
  7. package/src/images/products/product-address-sq.png +0 -0
  8. package/src/images/products/product-address.png +0 -0
  9. package/src/images/products/product-distance-sq.png +0 -0
  10. package/src/images/products/product-distance.png +0 -0
  11. package/src/images/products/product-geofencing-sq.png +0 -0
  12. package/src/images/products/product-geofencing.png +0 -0
  13. package/src/images/products/product-geolocation-sq.png +0 -0
  14. package/src/images/products/product-geolocation.png +0 -0
  15. package/src/images/products/product-localities-sq.png +0 -0
  16. package/src/images/products/product-localities.png +0 -0
  17. package/src/images/products/product-map-sq.png +0 -0
  18. package/src/images/products/product-map.png +0 -0
  19. package/src/images/products/product-mapping-sq.png +0 -0
  20. package/src/images/products/product-mapping.png +0 -0
  21. package/src/images/products/product-merchant-sq.png +0 -0
  22. package/src/images/products/product-merchant.png +0 -0
  23. package/src/images/products/product-multisearch-sq.png +0 -0
  24. package/src/images/products/product-multisearch.png +0 -0
  25. package/src/images/products/product-storelocator-sq.png +0 -0
  26. package/src/images/products/product-storelocator.png +0 -0
  27. package/src/images/products/product-stores-sq.png +0 -0
  28. package/src/images/products/product-stores.png +0 -0
  29. package/src/images/products/product-traffic-sq.png +0 -0
  30. package/src/images/products/product-traffic.png +0 -0
  31. package/src/styles/commons/mixins.styl +0 -8
  32. package/src/styles/console/button.styl +1 -1
  33. package/src/styles/console/fonts.styl +1 -1
  34. package/src/styles/console/mixins.styl +12 -3
  35. package/src/styles/console/tab.styl +1 -0
  36. package/src/styles/website/dropdown.styl +7 -6
  37. package/src/styles/website/mixins.styl +12 -3
  38. package/src/images/products/product-address-sm.png +0 -0
  39. package/src/images/products/product-distance-sm.png +0 -0
  40. package/src/images/products/product-geolocation-sm.png +0 -0
  41. package/src/images/products/product-localities-sm.png +0 -0
  42. package/src/images/products/product-map-sm.png +0 -0
  43. package/src/images/products/product-merchant-sm.png +0 -0
  44. package/src/images/products/product-stores-sm.png +0 -0
  45. package/src/images/products/product-traffic-sm.png +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@woosmap/ui",
3
- "version": "3.36.0",
3
+ "version": "3.40.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -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 = productImgSm[product];
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 = productImgSm[product];
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 600
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 600
171
+ font-weight 700
@@ -97,7 +97,7 @@
97
97
  .rdtSwitch
98
98
  trans(.2s)
99
99
  br()
100
- font-weight 600 !important
100
+ font-weight 700 !important
101
101
  font-size 1.8rem
102
102
  height 3.4rem
103
103
  vertical-align middle
@@ -23,7 +23,7 @@
23
23
  &__title
24
24
  text-align center
25
25
  font-size 1.2rem
26
- font-weight 600
26
+ font-weight 700
27
27
  margin 0 0 1rem 0
28
28
  &__mobile
29
29
  br(1)
@@ -175,7 +175,7 @@
175
175
  &-container
176
176
  color $inputDemoBgColor
177
177
  .btn
178
- padding 0 1.1rem
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
@@ -1,11 +1,3 @@
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
1
  fullw()
10
2
  width 100%
11
3
  min-width 0
@@ -547,7 +547,7 @@
547
547
  color $secondary
548
548
  background-color $primary6
549
549
  border-color $secondary15
550
- font-weight 600
550
+ font-weight 700
551
551
  &:hover
552
552
  color $secondary
553
553
  background-color $primary6
@@ -1 +1 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,100;1,300;1,400;1,700family=Roboto+Mono:wght@400;600&display=swap');
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()
@@ -68,6 +68,7 @@
68
68
  .btn--tab
69
69
  height auto
70
70
  font-size $fontSizeDemo - .1
71
+ padding 0 .8rem
71
72
  &:after
72
73
  top 2.7rem
73
74
  &__content
@@ -98,15 +98,16 @@
98
98
  justify-content center
99
99
  &__menu
100
100
  width 100%
101
- max-width $wrapperReducedWidth
101
+ max-width 70rem
102
102
  position relative
103
- left auto !important
104
- right auto !important
105
- top auto !important
106
- bottom auto !important
103
+ left auto
104
+ right auto
105
+ top auto
106
+ bottom auto
107
107
  transform unset !important
108
- margin-top 3rem !important
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