inviton-powerduck 0.0.211 → 0.0.212
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/components/card/card.tsx +4 -12
- package/package.json +1 -1
package/components/card/card.tsx
CHANGED
|
@@ -68,7 +68,7 @@ class CardComponent extends TsxComponent<CardArgs> implements CardArgs {
|
|
|
68
68
|
|
|
69
69
|
getBoxShadowCardCss(): string {
|
|
70
70
|
if (this.renderMode == 'inlined' || this.hasShadow == true) {
|
|
71
|
-
return '
|
|
71
|
+
return 'with-card-shadow';
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
return '';
|
|
@@ -76,26 +76,18 @@ class CardComponent extends TsxComponent<CardArgs> implements CardArgs {
|
|
|
76
76
|
|
|
77
77
|
getRenderModeCardCss(): string {
|
|
78
78
|
if (this.renderMode == 'inlined') {
|
|
79
|
-
return '
|
|
79
|
+
return 'card-render-inlined';
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
return '';
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
getShadowClass(): string {
|
|
86
|
-
|
|
87
|
-
return `card--shadow-${this.shadow}`;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
return '';
|
|
86
|
+
return `card--shadow-${this.shadow ?? 'default'}`;
|
|
91
87
|
}
|
|
92
88
|
|
|
93
89
|
getPaddingClass(): string {
|
|
94
|
-
|
|
95
|
-
return `card--padding-${this.padding}`;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return '';
|
|
90
|
+
return `card--padding-${this.padding ?? 'default'}`;
|
|
99
91
|
}
|
|
100
92
|
|
|
101
93
|
getRole() {
|