@woosmap/ui 3.95.0 → 3.98.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.95.0",
3
+ "version": "3.98.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -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);
@@ -14,11 +14,14 @@
14
14
  justify-content center
15
15
  flex-shrink 0
16
16
  border-radius $borderRadius !important
17
- height auto
18
- min-height $buttonHeight + .6rem
17
+ height auto !important
18
+ min-height $buttonHeight + 1.1rem !important
19
+ text-overflow unset
20
+ white-space normal
21
+ overflow unset
19
22
  > :not(.btn):not(.popover__child)
20
- min-height $buttonHeight + .6rem
21
23
  trans()
24
+ min-height $buttonHeight + 1.1rem !important
22
25
  padding 0 1.2rem 0 .6rem
23
26
  text-decoration none
24
27
  flex-shrink 0
@@ -63,7 +66,7 @@
63
66
  color $dark !important
64
67
  &__icon
65
68
  br()
66
- sq(3.2)
69
+ sq(4.2)
67
70
  trans()
68
71
  display flex
69
72
  align-items center
@@ -71,15 +74,15 @@
71
74
  flex-shrink 0
72
75
  background $logo2
73
76
  margin-right 1rem
74
-
75
77
  .icon
76
78
  fill #fff !important
77
79
  &__container
78
80
  width 100%
79
81
  min-width 0
80
- ellipsis()
82
+ line-height 1.7rem
81
83
  &__name
82
84
  font-weight 600
85
+ white-space normal
83
86
  &__desc
84
87
  color $category
85
88
  .category
@@ -98,7 +101,7 @@
98
101
  justify-content center
99
102
  &__menu
100
103
  width 100%
101
- max-width 70rem
104
+ max-width 80rem
102
105
  position relative
103
106
  left auto
104
107
  right auto
@@ -110,15 +113,17 @@
110
113
  justify-content center
111
114
  &__section
112
115
  flex-shrink 1
113
- width 20rem
116
+ width 23rem
114
117
  margin 0 1rem 3rem 1rem
115
118
  padding 0
116
119
  &--section
117
- padding 1.6rem 2rem 2rem 2rem
120
+ padding 1.6rem 0.6rem 1rem 0.6rem
118
121
  &__item
119
122
  &__title
120
123
  font-size 1.1rem
121
124
  text-transform uppercase
122
125
  color $category
123
126
  font-weight 600
124
- padding 0 0 0 .6rem
127
+ padding 0 0 0 .6rem
128
+ position relative
129
+ left -.6rem