codexly-ui 0.15.4 → 0.15.5

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.
@@ -15957,8 +15957,8 @@ class ClxStatCardComponent {
15957
15957
  _hostClass = computed(() => {
15958
15958
  const border = resolveColor(this.color()).borderLight;
15959
15959
  const radius = resolveContainerRadius(this._themeSvc.config().borderRadius);
15960
- const base = `bg-clx-surface ${radius} shadow-md border ${border} p-5 w-full overflow-hidden min-w-[260px]`;
15961
- return `flex items-center gap-4 ${base}`;
15960
+ const base = `bg-clx-surface ${radius} shadow-md border ${border} p-4 w-full overflow-hidden min-w-[200px]`;
15961
+ return `flex items-center gap-3 ${base}`;
15962
15962
  }, ...(ngDevMode ? [{ debugName: "_hostClass" }] : /* istanbul ignore next */ []));
15963
15963
  _barHeights = computed(() => {
15964
15964
  const data = this.chartData();
@@ -16049,14 +16049,14 @@ class ClxStatCardComponent {
16049
16049
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClxStatCardComponent, isStandalone: true, selector: "clx-stat-card", inputs: { metric: { classPropertyName: "metric", publicName: "metric", isSignal: true, isRequired: true, transformFunction: null }, chartData: { classPropertyName: "chartData", publicName: "chartData", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "_hostClass()" } }, ngImport: i0, template: `
16050
16050
  @if (layout() === 'horizontal') {
16051
16051
  <!-- Icon -->
16052
- <div class="shrink-0 w-12 h-12 rounded-xl flex items-center justify-center" [class]="_iconBg()">
16053
- <span clx-icon [name]="metric().icon" size="md" class="text-white"></span>
16052
+ <div class="shrink-0 w-10 h-10 rounded-lg flex items-center justify-center" [class]="_iconBg()">
16053
+ <span clx-icon [name]="metric().icon" size="sm" class="text-white"></span>
16054
16054
  </div>
16055
16055
 
16056
16056
  <!-- Text block -->
16057
- <div class="flex flex-col gap-1 min-w-0 flex-1">
16058
- <span class="text-sm text-clx-text-muted truncate">{{ metric().title }}</span>
16059
- <span class="text-2xl font-semibold text-clx-text leading-tight">
16057
+ <div class="flex flex-col gap-0.5 min-w-0 flex-1">
16058
+ <span class="text-xs text-clx-text-muted truncate">{{ metric().title }}</span>
16059
+ <span class="text-xl font-semibold text-clx-text leading-tight">
16060
16060
  {{ _formattedValue() }}
16061
16061
  </span>
16062
16062
  @if (_hasTrend()) {
@@ -16072,7 +16072,7 @@ class ClxStatCardComponent {
16072
16072
  </div>
16073
16073
 
16074
16074
  <!-- Sparkline -->
16075
- <div style="flex: 0 0 112px; height: 64px; position: relative; overflow: hidden;">
16075
+ <div style="flex: 0 0 64px; height: 48px; position: relative; overflow: hidden;">
16076
16076
  <svg style="position: absolute; inset: 0; width: 100%; height: 100%;"
16077
16077
  viewBox="0 0 140 64" preserveAspectRatio="none">
16078
16078
  <defs>
@@ -16158,14 +16158,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
16158
16158
  template: `
16159
16159
  @if (layout() === 'horizontal') {
16160
16160
  <!-- Icon -->
16161
- <div class="shrink-0 w-12 h-12 rounded-xl flex items-center justify-center" [class]="_iconBg()">
16162
- <span clx-icon [name]="metric().icon" size="md" class="text-white"></span>
16161
+ <div class="shrink-0 w-10 h-10 rounded-lg flex items-center justify-center" [class]="_iconBg()">
16162
+ <span clx-icon [name]="metric().icon" size="sm" class="text-white"></span>
16163
16163
  </div>
16164
16164
 
16165
16165
  <!-- Text block -->
16166
- <div class="flex flex-col gap-1 min-w-0 flex-1">
16167
- <span class="text-sm text-clx-text-muted truncate">{{ metric().title }}</span>
16168
- <span class="text-2xl font-semibold text-clx-text leading-tight">
16166
+ <div class="flex flex-col gap-0.5 min-w-0 flex-1">
16167
+ <span class="text-xs text-clx-text-muted truncate">{{ metric().title }}</span>
16168
+ <span class="text-xl font-semibold text-clx-text leading-tight">
16169
16169
  {{ _formattedValue() }}
16170
16170
  </span>
16171
16171
  @if (_hasTrend()) {
@@ -16181,7 +16181,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
16181
16181
  </div>
16182
16182
 
16183
16183
  <!-- Sparkline -->
16184
- <div style="flex: 0 0 112px; height: 64px; position: relative; overflow: hidden;">
16184
+ <div style="flex: 0 0 64px; height: 48px; position: relative; overflow: hidden;">
16185
16185
  <svg style="position: absolute; inset: 0; width: 100%; height: 100%;"
16186
16186
  viewBox="0 0 140 64" preserveAspectRatio="none">
16187
16187
  <defs>