codexly-ui 0.12.13 → 0.12.14

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.
@@ -13259,6 +13259,11 @@ class ClxFilterPanelComponent {
13259
13259
  * host keep a saturated brand color on checkboxes/slider (small accents) while giving the CTA
13260
13260
  * button its own color and a bigger size if the sidebar's width calls for it. */
13261
13261
  applyButtonColor = input(undefined, ...(ngDevMode ? [{ debugName: "applyButtonColor" }] : /* istanbul ignore next */ []));
13262
+ /** Text color for the same "Aplicar filtros" button — independent of applyButtonColor, same
13263
+ * rationale as clx-button's own [textColor]: a saturated applyButtonColor can leave the
13264
+ * auto-resolved contrast text illegible. Undefined leaves clx-button's own automatic
13265
+ * resolution untouched. */
13266
+ applyButtonTextColor = input(undefined, ...(ngDevMode ? [{ debugName: "applyButtonTextColor" }] : /* istanbul ignore next */ []));
13262
13267
  applyButtonSize = input('sm', ...(ngDevMode ? [{ debugName: "applyButtonSize" }] : /* istanbul ignore next */ []));
13263
13268
  _color = computed(() => this.color() ?? this._themeSvc.config().primaryColor, ...(ngDevMode ? [{ debugName: "_color" }] : /* istanbul ignore next */ []));
13264
13269
  _applyButtonColor = computed(() => this.applyButtonColor() ?? this._color(), ...(ngDevMode ? [{ debugName: "_applyButtonColor" }] : /* istanbul ignore next */ []));
@@ -13346,7 +13351,7 @@ class ClxFilterPanelComponent {
13346
13351
  return `text-xs px-1.5 py-0.5 rounded-full font-medium ${t.bgSubtle} ${t.textSubtle}`;
13347
13352
  }
13348
13353
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.15", ngImport: i0, type: ClxFilterPanelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
13349
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClxFilterPanelComponent, isStandalone: true, selector: "clx-filter-panel", inputs: { fields: { classPropertyName: "fields", publicName: "fields", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, showApply: { classPropertyName: "showApply", publicName: "showApply", isSignal: true, isRequired: false, transformFunction: null }, applyButtonColor: { classPropertyName: "applyButtonColor", publicName: "applyButtonColor", isSignal: true, isRequired: false, transformFunction: null }, applyButtonSize: { classPropertyName: "applyButtonSize", publicName: "applyButtonSize", isSignal: true, isRequired: false, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { values: "valuesChange", filterChange: "filterChange", applyChange: "applyChange" }, host: { classAttribute: "flex flex-col bg-clx-surface border border-clx-border rounded-xl overflow-hidden" }, ngImport: i0, template: `
13354
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.15", type: ClxFilterPanelComponent, isStandalone: true, selector: "clx-filter-panel", inputs: { fields: { classPropertyName: "fields", publicName: "fields", isSignal: true, isRequired: true, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, showApply: { classPropertyName: "showApply", publicName: "showApply", isSignal: true, isRequired: false, transformFunction: null }, applyButtonColor: { classPropertyName: "applyButtonColor", publicName: "applyButtonColor", isSignal: true, isRequired: false, transformFunction: null }, applyButtonTextColor: { classPropertyName: "applyButtonTextColor", publicName: "applyButtonTextColor", isSignal: true, isRequired: false, transformFunction: null }, applyButtonSize: { classPropertyName: "applyButtonSize", publicName: "applyButtonSize", isSignal: true, isRequired: false, transformFunction: null }, values: { classPropertyName: "values", publicName: "values", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { values: "valuesChange", filterChange: "filterChange", applyChange: "applyChange" }, host: { classAttribute: "flex flex-col bg-clx-surface border border-clx-border rounded-xl overflow-hidden" }, ngImport: i0, template: `
13350
13355
  <!-- Header -->
13351
13356
  <div class="flex items-center justify-between px-4 py-3 border-b border-clx-border-soft">
13352
13357
  <div class="flex items-center gap-2">
@@ -13467,7 +13472,7 @@ class ClxFilterPanelComponent {
13467
13472
  <!-- Apply footer -->
13468
13473
  @if (showApply()) {
13469
13474
  <div class="px-4 py-3 border-t border-clx-border-soft flex gap-2">
13470
- <button clx-button type="button" variant="solid" [color]="_applyButtonColor()" [size]="applyButtonSize()" class="flex-1" (click)="_apply()">
13475
+ <button clx-button type="button" variant="solid" [color]="_applyButtonColor()" [textColor]="applyButtonTextColor()" [size]="applyButtonSize()" class="flex-1" (click)="_apply()">
13471
13476
  Aplicar filtros
13472
13477
  </button>
13473
13478
  </div>
@@ -13601,7 +13606,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
13601
13606
  <!-- Apply footer -->
13602
13607
  @if (showApply()) {
13603
13608
  <div class="px-4 py-3 border-t border-clx-border-soft flex gap-2">
13604
- <button clx-button type="button" variant="solid" [color]="_applyButtonColor()" [size]="applyButtonSize()" class="flex-1" (click)="_apply()">
13609
+ <button clx-button type="button" variant="solid" [color]="_applyButtonColor()" [textColor]="applyButtonTextColor()" [size]="applyButtonSize()" class="flex-1" (click)="_apply()">
13605
13610
  Aplicar filtros
13606
13611
  </button>
13607
13612
  </div>
@@ -13611,7 +13616,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
13611
13616
  changeDetection: ChangeDetectionStrategy.OnPush,
13612
13617
  host: { class: 'flex flex-col bg-clx-surface border border-clx-border rounded-xl overflow-hidden' },
13613
13618
  }]
13614
- }], propDecorators: { fields: [{ type: i0.Input, args: [{ isSignal: true, alias: "fields", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], showApply: [{ type: i0.Input, args: [{ isSignal: true, alias: "showApply", required: false }] }], applyButtonColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "applyButtonColor", required: false }] }], applyButtonSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "applyButtonSize", required: false }] }], values: [{ type: i0.Input, args: [{ isSignal: true, alias: "values", required: false }] }, { type: i0.Output, args: ["valuesChange"] }], filterChange: [{ type: i0.Output, args: ["filterChange"] }], applyChange: [{ type: i0.Output, args: ["applyChange"] }] } });
13619
+ }], propDecorators: { fields: [{ type: i0.Input, args: [{ isSignal: true, alias: "fields", required: true }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], showApply: [{ type: i0.Input, args: [{ isSignal: true, alias: "showApply", required: false }] }], applyButtonColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "applyButtonColor", required: false }] }], applyButtonTextColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "applyButtonTextColor", required: false }] }], applyButtonSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "applyButtonSize", required: false }] }], values: [{ type: i0.Input, args: [{ isSignal: true, alias: "values", required: false }] }, { type: i0.Output, args: ["valuesChange"] }], filterChange: [{ type: i0.Output, args: ["filterChange"] }], applyChange: [{ type: i0.Output, args: ["applyChange"] }] } });
13615
13620
 
13616
13621
  class ClxCarouselDirective {
13617
13622
  templateRef;