@woosmap/ui 3.177.0 → 3.179.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.177.0",
3
+ "version": "3.179.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -126,6 +126,7 @@
126
126
  .card
127
127
  &__img
128
128
  border-radius .9rem .9rem 0 0
129
+ overflow hidden
129
130
  max-width 100%
130
131
  width 100%
131
132
  &__content
@@ -73,7 +73,7 @@ Label.defaultProps = {
73
73
  Label.propTypes = {
74
74
  label: PropTypes.string,
75
75
  testId: PropTypes.string,
76
- color: PropTypes.oneOf(['bleu', 'mauve', 'green', 'grey', 'orange', 'red', 'white', undefined, '']),
76
+ color: PropTypes.oneOf(['bleu', 'mauve', 'green', 'grey', 'orange', 'red', 'dark', 'white', undefined, '']),
77
77
  className: PropTypes.string,
78
78
  product: PropTypes.oneOf([
79
79
  'localities',
@@ -7,7 +7,7 @@
7
7
  font-size $buttonFontSize
8
8
  line-height 1.6
9
9
  padding .6rem $padding .6rem $padding
10
- color white
10
+ color $light
11
11
  background-color $primary
12
12
  margin .2rem 0
13
13
  word-break break-all
@@ -116,6 +116,8 @@
116
116
  background-color $labelOrange
117
117
  &--red
118
118
  background-color $labelRed
119
+ &--dark
120
+ background-color $secondary
119
121
  &--white
120
122
  background-color $light
121
123
  color $secondary