codexly-ui 0.12.15 → 0.12.16

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.15",
3
+ "version": "0.12.16",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -3321,6 +3321,9 @@ declare class ClxProductComponent {
3321
3321
  * variant="ghost" (text tinted at textSubtle strength, not a solid fill), so contrast risk is
3322
3322
  * low, but this is still exposed for full parity with clx-product-detail/clx-wishlist. */
3323
3323
  readonly actionTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3324
+ /** Card drop shadow — same ClxCardShadow scale as clx-card ('none' turns it off entirely).
3325
+ * Falls back to 'sm', the shadow this card has always rendered with. */
3326
+ readonly shadow: _angular_core.InputSignal<ClxCardShadow | undefined>;
3324
3327
  readonly imageFit: _angular_core.InputSignal<"contain" | "cover">;
3325
3328
  readonly addToCart: _angular_core.OutputEmitterRef<ClxProduct>;
3326
3329
  readonly addToWishlist: _angular_core.OutputEmitterRef<ClxProduct>;
@@ -3353,7 +3356,7 @@ declare class ClxProductComponent {
3353
3356
  protected readonly _descClass: _angular_core.Signal<string>;
3354
3357
  protected readonly _priceClass: _angular_core.Signal<string>;
3355
3358
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProductComponent, never>;
3356
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProductComponent, "clx-product", never, { "product": { "alias": "product"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "priority": { "alias": "priority"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "clxColor": { "alias": "clxColor"; "required": false; "isSignal": true; }; "actionTextColor": { "alias": "actionTextColor"; "required": false; "isSignal": true; }; "imageFit": { "alias": "imageFit"; "required": false; "isSignal": true; }; }, { "addToCart": "addToCart"; "addToWishlist": "addToWishlist"; "viewOptions": "viewOptions"; }, never, never, true, never>;
3359
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProductComponent, "clx-product", never, { "product": { "alias": "product"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "priority": { "alias": "priority"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "clxColor": { "alias": "clxColor"; "required": false; "isSignal": true; }; "actionTextColor": { "alias": "actionTextColor"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "imageFit": { "alias": "imageFit"; "required": false; "isSignal": true; }; }, { "addToCart": "addToCart"; "addToWishlist": "addToWishlist"; "viewOptions": "viewOptions"; }, never, never, true, never>;
3357
3360
  }
3358
3361
 
3359
3362
  /** st_spec_options */
@@ -3641,6 +3644,9 @@ declare class ClxWishlistComponent {
3641
3644
  /** Text color for each item's own "Añadir al carrito" (variant="solid") — independent of
3642
3645
  * `color`, same rationale as checkoutAllTextColor. */
3643
3646
  readonly addToCartTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3647
+ /** Product card drop shadow — same ClxCardShadow scale as clx-card ('none' turns it off
3648
+ * entirely). Falls back to 'sm', the shadow these cards have always rendered with. */
3649
+ readonly shadow: _angular_core.InputSignal<ClxCardShadow | undefined>;
3644
3650
  readonly sortOptions: _angular_core.InputSignal<ClxSelectOption[]>;
3645
3651
  readonly currentPage: _angular_core.ModelSignal<number>;
3646
3652
  readonly pageSize: _angular_core.ModelSignal<number>;
@@ -3687,7 +3693,7 @@ declare class ClxWishlistComponent {
3687
3693
  handleRemove(item: ClxWishlistItem): void;
3688
3694
  handleCheckoutAll(): void;
3689
3695
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWishlistComponent, never>;
3690
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxWishlistComponent, "clx-wishlist", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "checkoutAllTextColor": { "alias": "checkoutAllTextColor"; "required": false; "isSignal": true; }; "addToCartTextColor": { "alias": "addToCartTextColor"; "required": false; "isSignal": true; }; "sortOptions": { "alias": "sortOptions"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "sortValue": { "alias": "sortValue"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; }, { "currentPage": "currentPageChange"; "pageSize": "pageSizeChange"; "sortValue": "sortValueChange"; "searchValue": "searchValueChange"; "onRemove": "onRemove"; "onAddToCart": "onAddToCart"; "onSearchChange": "onSearchChange"; "onSortChange": "onSortChange"; "onPageChange": "onPageChange"; "onCheckoutAll": "onCheckoutAll"; "onBrowseCatalog": "onBrowseCatalog"; }, never, never, true, never>;
3696
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxWishlistComponent, "clx-wishlist", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "checkoutAllTextColor": { "alias": "checkoutAllTextColor"; "required": false; "isSignal": true; }; "addToCartTextColor": { "alias": "addToCartTextColor"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; "sortOptions": { "alias": "sortOptions"; "required": false; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": false; "isSignal": true; }; "pageSize": { "alias": "pageSize"; "required": false; "isSignal": true; }; "sortValue": { "alias": "sortValue"; "required": false; "isSignal": true; }; "searchValue": { "alias": "searchValue"; "required": false; "isSignal": true; }; }, { "currentPage": "currentPageChange"; "pageSize": "pageSizeChange"; "sortValue": "sortValueChange"; "searchValue": "searchValueChange"; "onRemove": "onRemove"; "onAddToCart": "onAddToCart"; "onSearchChange": "onSearchChange"; "onSortChange": "onSortChange"; "onPageChange": "onPageChange"; "onCheckoutAll": "onCheckoutAll"; "onBrowseCatalog": "onBrowseCatalog"; }, never, never, true, never>;
3691
3697
  }
3692
3698
 
3693
3699
  /** Refleja sa_cart_items + ca_variants + ca_products */
@@ -3728,7 +3734,19 @@ declare class ClxCartComponent {
3728
3734
  * showing a code input that always fails would read as broken, not "not built yet". */
3729
3735
  readonly showCoupon: _angular_core.InputSignal<boolean>;
3730
3736
  readonly coupon: _angular_core.ModelSignal<ClxCouponResult | null>;
3737
+ /** Drop shadow for the item cards and Order Summary panel — same ClxCardShadow scale as
3738
+ * clx-card ('none' turns it off entirely). Falls back to 'sm', the shadow these have always
3739
+ * rendered with. */
3740
+ readonly shadow: _angular_core.InputSignal<ClxCardShadow | undefined>;
3741
+ private readonly _themeSvc;
3731
3742
  protected readonly _quantityColor: _angular_core.Signal<ClxColorInput>;
3743
+ /** Item cards — was bg-clx-surface + shadow-sm with NO border at all (unlike clx-product/
3744
+ * clx-wishlist, which already read cardBorderColor). Now consistent: themed border +
3745
+ * configurable shadow, same borderLight treatment as clx-card's own elevated variant. */
3746
+ protected readonly _cardClass: _angular_core.Signal<string>;
3747
+ /** Order Summary panel — same border/shadow treatment as _cardClass, but no hover lift (it's a
3748
+ * static panel, not a clickable card). */
3749
+ protected readonly _summaryClass: _angular_core.Signal<string>;
3732
3750
  readonly onRemove: _angular_core.OutputEmitterRef<ClxCartItem>;
3733
3751
  readonly onQuantityChange: _angular_core.OutputEmitterRef<{
3734
3752
  item: ClxCartItem;
@@ -3749,7 +3767,7 @@ declare class ClxCartComponent {
3749
3767
  applyCoupon(): void;
3750
3768
  removeCoupon(): void;
3751
3769
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxCartComponent, never>;
3752
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCartComponent, "clx-cart", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "quantityColor": { "alias": "quantityColor"; "required": false; "isSignal": true; }; "showCoupon": { "alias": "showCoupon"; "required": false; "isSignal": true; }; "coupon": { "alias": "coupon"; "required": false; "isSignal": true; }; }, { "coupon": "couponChange"; "onRemove": "onRemove"; "onQuantityChange": "onQuantityChange"; "onClearCart": "onClearCart"; "onApplyCoupon": "onApplyCoupon"; "onCheckout": "onCheckout"; "onBrowseCatalog": "onBrowseCatalog"; }, never, never, true, never>;
3770
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxCartComponent, "clx-cart", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "quantityColor": { "alias": "quantityColor"; "required": false; "isSignal": true; }; "showCoupon": { "alias": "showCoupon"; "required": false; "isSignal": true; }; "coupon": { "alias": "coupon"; "required": false; "isSignal": true; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; }, { "coupon": "couponChange"; "onRemove": "onRemove"; "onQuantityChange": "onQuantityChange"; "onClearCart": "onClearCart"; "onApplyCoupon": "onApplyCoupon"; "onCheckout": "onCheckout"; "onBrowseCatalog": "onBrowseCatalog"; }, never, never, true, never>;
3753
3771
  }
3754
3772
 
3755
3773
  interface ClxCartSummaryData {