codexly-ui 0.12.25 → 0.12.26
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/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -1597,17 +1597,19 @@ class ClxCardComponent {
|
|
|
1597
1597
|
const shadowClass = shadowInput !== undefined ? CARD_SHADOW_MAP[shadowInput] : 'shadow-md';
|
|
1598
1598
|
variantClass = showBorder
|
|
1599
1599
|
? `bg-clx-surface ${shadowClass} border ${t.borderLight}`
|
|
1600
|
-
: `bg-clx-surface ${shadowClass}
|
|
1600
|
+
: `bg-clx-surface ${shadowClass}`;
|
|
1601
1601
|
}
|
|
1602
1602
|
else if (variant === 'outlined') {
|
|
1603
1603
|
const shadowClass = shadowInput !== undefined ? CARD_SHADOW_MAP[shadowInput] : '';
|
|
1604
|
+
// Same t.borderLight/intensity as 'elevated' — the two variants differ only in whether a
|
|
1605
|
+
// shadow accompanies the border, never in the border's own color or weight.
|
|
1604
1606
|
variantClass = showBorder
|
|
1605
|
-
? `bg-clx-surface border ${t.
|
|
1606
|
-
: `bg-clx-surface
|
|
1607
|
+
? `bg-clx-surface border ${t.borderLight} ${shadowClass}`
|
|
1608
|
+
: `bg-clx-surface ${shadowClass}`;
|
|
1607
1609
|
}
|
|
1608
1610
|
else {
|
|
1609
1611
|
const shadowClass = shadowInput !== undefined ? CARD_SHADOW_MAP[shadowInput] : '';
|
|
1610
|
-
variantClass = `bg-clx-surface-2
|
|
1612
|
+
variantClass = `bg-clx-surface-2 ${shadowClass}`;
|
|
1611
1613
|
}
|
|
1612
1614
|
const disabledCls = this.disabled() ? 'opacity-50' : '';
|
|
1613
1615
|
const radius = this.radius() ?? this._themeSvc.config().borderRadius;
|