codexly-ui 0.15.11 → 0.15.13
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
|
@@ -15964,9 +15964,11 @@ class ClxStatCardComponent {
|
|
|
15964
15964
|
// actually fit the grid's default rowHeight (92px × h).
|
|
15965
15965
|
const sizing = `${radius} shadow-md p-3 w-full h-full justify-center overflow-hidden min-w-[200px]`;
|
|
15966
15966
|
// banner is a solid gradient fill in the chosen color (no border, no surface bg — it IS the
|
|
15967
|
-
// color) so it reads as a distinct "announcement" card rather than another bordered tile.
|
|
15967
|
+
// color) so it reads as a distinct "announcement" card rather than another bordered tile. Kept
|
|
15968
|
+
// light/close together (400→500, not the base shade down to -2 steps) so it reads as a tint
|
|
15969
|
+
// rather than a saturated block.
|
|
15968
15970
|
const surface = this.layout() === 'banner'
|
|
15969
|
-
? `bg-gradient-to-br
|
|
15971
|
+
? `bg-gradient-to-br from-${parseColorInput(this.color()).color}-400 to-${parseColorInput(this.color()).color}-500`
|
|
15970
15972
|
: `bg-clx-surface border ${resolveColor(this.color()).borderLight}`;
|
|
15971
15973
|
// horizontal, bar and corner each stack a full-width row above another (flex-col) — corner's
|
|
15972
15974
|
// top row (badge/icon) and bottom row (value/title) never share space either; vertical and
|
|
@@ -16081,6 +16083,7 @@ class ClxStatCardComponent {
|
|
|
16081
16083
|
</span>
|
|
16082
16084
|
@if (_hasTrend()) {
|
|
16083
16085
|
<span clx-badge
|
|
16086
|
+
size="xs"
|
|
16084
16087
|
[color]="_trendColor()"
|
|
16085
16088
|
variant="light"
|
|
16086
16089
|
shape="pill"
|
|
@@ -16168,6 +16171,7 @@ class ClxStatCardComponent {
|
|
|
16168
16171
|
<div class="w-full flex items-start justify-between">
|
|
16169
16172
|
@if (_hasTrend()) {
|
|
16170
16173
|
<span clx-badge
|
|
16174
|
+
size="xs"
|
|
16171
16175
|
[color]="_trendColor()"
|
|
16172
16176
|
variant="light"
|
|
16173
16177
|
shape="pill"
|
|
@@ -16193,6 +16197,7 @@ class ClxStatCardComponent {
|
|
|
16193
16197
|
<div class="flex flex-col justify-between flex-1 min-w-0 gap-1">
|
|
16194
16198
|
@if (_hasTrend()) {
|
|
16195
16199
|
<span clx-badge
|
|
16200
|
+
size="xs"
|
|
16196
16201
|
[color]="_trendColor()"
|
|
16197
16202
|
variant="light"
|
|
16198
16203
|
shape="pill"
|
|
@@ -16243,6 +16248,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
16243
16248
|
</span>
|
|
16244
16249
|
@if (_hasTrend()) {
|
|
16245
16250
|
<span clx-badge
|
|
16251
|
+
size="xs"
|
|
16246
16252
|
[color]="_trendColor()"
|
|
16247
16253
|
variant="light"
|
|
16248
16254
|
shape="pill"
|
|
@@ -16330,6 +16336,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
16330
16336
|
<div class="w-full flex items-start justify-between">
|
|
16331
16337
|
@if (_hasTrend()) {
|
|
16332
16338
|
<span clx-badge
|
|
16339
|
+
size="xs"
|
|
16333
16340
|
[color]="_trendColor()"
|
|
16334
16341
|
variant="light"
|
|
16335
16342
|
shape="pill"
|
|
@@ -16355,6 +16362,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
16355
16362
|
<div class="flex flex-col justify-between flex-1 min-w-0 gap-1">
|
|
16356
16363
|
@if (_hasTrend()) {
|
|
16357
16364
|
<span clx-badge
|
|
16365
|
+
size="xs"
|
|
16358
16366
|
[color]="_trendColor()"
|
|
16359
16367
|
variant="light"
|
|
16360
16368
|
shape="pill"
|