codexly-ui 0.12.7 → 0.12.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codexly-ui",
3
- "version": "0.12.7",
3
+ "version": "0.12.8",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -3316,6 +3316,8 @@ declare class ClxProductComponent {
3316
3316
  protected readonly _buttonSize: _angular_core.Signal<"sm" | "md">;
3317
3317
  protected readonly _skeletonW: _angular_core.Signal<"sm:w-32" | "sm:w-44">;
3318
3318
  protected readonly _skeletonH: _angular_core.Signal<"160px" | "200px">;
3319
+ /** Themed border — same accent as the rest of the card (clxColor), same borderLight treatment
3320
+ * as clx-card's own elevated variant. */
3319
3321
  protected readonly _cardClass: _angular_core.Signal<string>;
3320
3322
  protected readonly _imageContainerClass: _angular_core.Signal<string>;
3321
3323
  protected readonly _imageClass: _angular_core.Signal<string>;
@@ -3582,9 +3584,15 @@ interface ClxWishlistPageChangeEvent {
3582
3584
  }
3583
3585
 
3584
3586
  declare class ClxWishlistComponent {
3587
+ private readonly _themeSvc;
3585
3588
  readonly items: _angular_core.InputSignal<ClxWishlistItem[]>;
3586
3589
  readonly loading: _angular_core.InputSignal<boolean>;
3587
- readonly color: _angular_core.InputSignal<ClxColorInput>;
3590
+ /** Optional per-instance override — when unset, every zone below resolves independently from
3591
+ * the app-wide theme (search input from formControls.input, "Agregar todo"/badge/"Añadir al
3592
+ * carrito" from primaryColor, pagination from its own paginationStyle()), same convention as
3593
+ * clx-input/clx-select/clx-pagination themselves. Previously this was a required-looking input
3594
+ * defaulting to a hardcoded 'indigo' that every zone read directly, bypassing theme entirely. */
3595
+ readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
3588
3596
  readonly sortOptions: _angular_core.InputSignal<ClxSelectOption[]>;
3589
3597
  readonly currentPage: _angular_core.ModelSignal<number>;
3590
3598
  readonly pageSize: _angular_core.ModelSignal<number>;
@@ -3592,6 +3600,9 @@ declare class ClxWishlistComponent {
3592
3600
  readonly searchValue: _angular_core.ModelSignal<string>;
3593
3601
  protected _searchModel: string;
3594
3602
  protected _sortModel: string | null;
3603
+ protected readonly _inputColor: _angular_core.Signal<ClxColorInput>;
3604
+ protected readonly _selectColor: _angular_core.Signal<ClxColorInput>;
3605
+ protected readonly _accentColor: _angular_core.Signal<ClxColorInput>;
3595
3606
  readonly onRemove: _angular_core.OutputEmitterRef<ClxWishlistItem>;
3596
3607
  readonly onAddToCart: _angular_core.OutputEmitterRef<ClxWishlistItem>;
3597
3608
  readonly onSearchChange: _angular_core.OutputEmitterRef<string>;
@@ -3601,7 +3612,9 @@ declare class ClxWishlistComponent {
3601
3612
  /** Emitted from the empty-state's "Ir a la tienda" CTA — the host navigates to the catalog. */
3602
3613
  readonly onBrowseCatalog: _angular_core.OutputEmitterRef<void>;
3603
3614
  readonly _skeletonItems: unknown[];
3604
- protected readonly _cardClass = "bg-clx-surface rounded-2xl shadow-sm transition-[box-shadow,transform] duration-200 overflow-hidden group hover:shadow-md hover:-translate-y-0.5 flex flex-col sm:flex-row";
3615
+ /** Themed border falls back to cardBorderColor() (itself falling back to primaryColor) when
3616
+ * `color` is unset, same borderLight treatment as clx-card's own elevated variant. */
3617
+ protected readonly _cardClass: _angular_core.Signal<string>;
3605
3618
  protected readonly _imageContainerClass = "relative shrink-0 w-full p-2.5 aspect-square sm:aspect-auto sm:w-40 overflow-hidden rounded-t-2xl sm:rounded-t-none sm:rounded-l-2xl";
3606
3619
  protected readonly _imageClass = "w-full h-full object-cover transition-transform duration-500 group-hover:scale-105";
3607
3620
  protected readonly _contentClass = "relative flex flex-col gap-2 flex-1 p-3 min-w-0";