@woosmap/ui 3.38.0 → 3.42.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.38.0",
3
+ "version": "3.42.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -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)
@@ -101,6 +101,7 @@ import { ReactComponent as MenuCircleVertical } from '../../icons/menu-circle-ve
101
101
  import { ReactComponent as MenuHorizontal } from '../../icons/menu-horizontal.svg';
102
102
  import { ReactComponent as MenuCircleHorizontal } from '../../icons/menu-circle-horizontal.svg';
103
103
  import { ReactComponent as Metrics } from '../../icons/metrics.svg';
104
+ import { ReactComponent as More } from '../../icons/more.svg';
104
105
  import { ReactComponent as Organization } from '../../icons/organization.svg';
105
106
  import { ReactComponent as Organizations } from '../../icons/organizations.svg';
106
107
  import { ReactComponent as Phone } from '../../icons/phone.svg';
@@ -246,6 +247,7 @@ const Icons = {
246
247
  members: Members,
247
248
  member: Member,
248
249
  metrics: Metrics,
250
+ more: More,
249
251
  'menu-vertical': MenuVertical,
250
252
  'menu-circle-vertical': MenuCircleVertical,
251
253
  'menu-horizontal': MenuHorizontal,
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12.653 8.293c.688-.243.76-1.135.517-1.823s-1.136-.759-1.823-.516-.76 1.136-.517 1.823 1.136.759 1.823.516ZM12.653 13.17c.688-.244.76-1.136.517-1.823s-1.136-.76-1.823-.517-.76 1.136-.517 1.823 1.136.76 1.823.517ZM12.653 18.046c.688-.243.76-1.136.517-1.823s-1.136-.759-1.823-.516-.76 1.135-.517 1.823 1.136.759 1.823.516Z"/></svg>
@@ -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()
@@ -3,7 +3,6 @@
3
3
 
4
4
  // Specicif style - Do not change order
5
5
  @import "./website/mixins.styl"
6
- @import "./website/fonts.styl"
7
6
  @import "./website/variables.styl"
8
7
  @import "./website/colors.styl"
9
8
 
@@ -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
@@ -138,9 +138,6 @@ fullwh()
138
138
  min-width 0
139
139
  min-height 0
140
140
 
141
- inputFont()
142
- font-family $fontFamily2
143
-
144
141
  wrapper()
145
142
  trans()
146
143
  margin 0 auto
@@ -9,14 +9,10 @@ $gutter2c = 3rem
9
9
  $quoteIcon = 44rem
10
10
 
11
11
 
12
- $fontFamily = "Poppins", arial, sans-serif
13
- $fontFamily2 = 'Roboto Mono', monospace
14
- $fontSize = 1.8rem
15
- $lineHeight = $fontSize * 2 - .8
16
12
  $fontSizeSmall = $fontSize - .2
17
13
  $fontSizeMini = $fontSize - .4
18
14
  $fontSizeNano = $fontSize - .6
19
- $fontWeight = 400
15
+
20
16
  $fontSizeHeader = 1.3rem
21
17
  $fontSizeFooter = 1.6rem
22
18
 
@@ -1 +0,0 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Roboto+Mono:wght@400;600&display=swap');