@woosmap/ui 3.151.0 → 3.152.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
|
@@ -189,7 +189,7 @@ class Card extends Component {
|
|
|
189
189
|
size,
|
|
190
190
|
testId,
|
|
191
191
|
isNew,
|
|
192
|
-
|
|
192
|
+
isVertical,
|
|
193
193
|
asideContent,
|
|
194
194
|
...rest
|
|
195
195
|
} = this.props;
|
|
@@ -230,7 +230,7 @@ class Card extends Component {
|
|
|
230
230
|
role="button"
|
|
231
231
|
className={cl(
|
|
232
232
|
'card',
|
|
233
|
-
|
|
233
|
+
'card--vertical',
|
|
234
234
|
`card--${size}`,
|
|
235
235
|
{ 'card--aside': asideContent },
|
|
236
236
|
{ 'card--no-border': noBorder },
|
|
@@ -262,7 +262,7 @@ class Card extends Component {
|
|
|
262
262
|
Card.defaultProps = {
|
|
263
263
|
asideContent: null,
|
|
264
264
|
size: 'normal',
|
|
265
|
-
|
|
265
|
+
isVertical: false,
|
|
266
266
|
useIcon: false,
|
|
267
267
|
isList: false,
|
|
268
268
|
className: null,
|
|
@@ -279,7 +279,7 @@ Card.defaultProps = {
|
|
|
279
279
|
Card.propTypes = {
|
|
280
280
|
asideContent: PropTypes.node,
|
|
281
281
|
size: PropTypes.oneOf(['small', 'large', 'normal']),
|
|
282
|
-
|
|
282
|
+
isVertical: PropTypes.bool,
|
|
283
283
|
testId: PropTypes.string,
|
|
284
284
|
children: PropTypes.node.isRequired,
|
|
285
285
|
useIcon: PropTypes.bool,
|