@woosmap/ui 3.152.0 → 3.154.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.152.0",
3
+ "version": "3.154.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/WebGeoServices/ui.git"
@@ -119,7 +119,7 @@ class Aside extends Component {
119
119
  <li className="card__aside__list__item">
120
120
  <img
121
121
  className="card__aside__list__item__image"
122
- src={productImg[product.id]}
122
+ src={productImgSq[product.id]}
123
123
  alt={product.name}
124
124
  />
125
125
  <span className="card__aside__list__item__title">{product.name}</span>
@@ -136,7 +136,7 @@ class Aside extends Component {
136
136
  <li className="card__aside__list__item">
137
137
  <img
138
138
  className="card__aside__list__item__image"
139
- src={productImg[product.id]}
139
+ src={productImgSq[product.id]}
140
140
  alt={product.name}
141
141
  />
142
142
  <div>
@@ -155,7 +155,7 @@ class Aside extends Component {
155
155
  <li className="card__aside__list__item">
156
156
  <img
157
157
  className="card__aside__list__item__image"
158
- src={productImg[product.id]}
158
+ src={productImgSq[product.id]}
159
159
  alt={product.name}
160
160
  />
161
161
  <span className="card__aside__list__item__title">{product.name}</span>
@@ -230,7 +230,7 @@ class Card extends Component {
230
230
  role="button"
231
231
  className={cl(
232
232
  'card',
233
- 'card--vertical',
233
+ { 'card--vertical': isVertical },
234
234
  `card--${size}`,
235
235
  { 'card--aside': asideContent },
236
236
  { 'card--no-border': noBorder },
@@ -22,7 +22,7 @@ const renderAsideContent = () => (
22
22
 
23
23
  const Template = () => (
24
24
  <div className="flex-column mbib--large">
25
- <Card asideContent={renderAsideContent()} orientation="vertical" size="small" product="INDOOR_MAP">
25
+ <Card asideContent={renderAsideContent()} isVertical size="small" product="INDOOR_MAP">
26
26
  <Card.Header>
27
27
  <h4 className="card__header__title">Geolocation API</h4>
28
28
  </Card.Header>
@@ -40,7 +40,7 @@ const Template = () => (
40
40
  <Switch text="Activate" />
41
41
  </Card.Footer>
42
42
  </Card>
43
- <Card orientation="vertical" size="large" product="TRAFFIC">
43
+ <Card isVertical size="large" product="TRAFFIC">
44
44
  <Card.Header>
45
45
  <h4 className="card__header__title">Traffic API</h4>
46
46
  <div className="card__status">
@@ -58,7 +58,7 @@
58
58
  .card
59
59
  &__img
60
60
  &__icon
61
- border-radius .6rem 0 0 .6rem
61
+ border-radius .5rem 0 0 .5rem
62
62
  &:hover
63
63
  box-shadow 0 0 .6rem $secondary20
64
64
  border .1rem solid $secondary40