codexly-ui 0.12.21 → 0.12.23

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.21",
3
+ "version": "0.12.23",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -3660,14 +3660,23 @@ declare class ClxWishlistComponent {
3660
3660
  * clx-input/clx-select/clx-pagination themselves. Previously this was a required-looking input
3661
3661
  * defaulting to a hardcoded 'indigo' that every zone read directly, bypassing theme entirely. */
3662
3662
  readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
3663
- /** Text color for "Agregar todo al carrito" (variant="light") — independent of `color`, same
3664
- * rationale as clx-button's own [textColor]: a saturated `color` can leave the auto-resolved
3665
- * text illegible against a light-tinted background. Undefined leaves clx-button's own
3666
- * automatic resolution untouched. */
3663
+ /** Override for "Agregar todo al carrito" (variant="light") — same [color]/[textColor]/
3664
+ * [emphasis] precedence as clx-button itself: an explicit checkoutAllColor always wins;
3665
+ * otherwise checkoutAllEmphasis="secondary" resolves the theme's secondaryColor (falling back
3666
+ * to primaryColor) instead of `color()`/primaryColor, same as clx-product-detail's
3667
+ * addToCartColor + emphasis="secondary" treatment for its own secondary CTA. */
3668
+ readonly checkoutAllColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3667
3669
  readonly checkoutAllTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3668
- /** Text color for each item's own "Añadir al carrito" (variant="solid") — independent of
3669
- * `color`, same rationale as checkoutAllTextColor. */
3670
- readonly addToCartTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3670
+ readonly checkoutAllEmphasis: _angular_core.InputSignal<"primary" | "secondary">;
3671
+ /** checkoutAllColor always wins when set. Otherwise: emphasis="secondary" is passed through
3672
+ * as-is (undefined) so clx-button resolves the theme's secondaryColor itself; emphasis="primary"
3673
+ * falls back to `color()`/theme primaryColor, same as every other zone in this component. */
3674
+ protected readonly _checkoutAllColor: _angular_core.Signal<ClxColorInput | undefined>;
3675
+ /** Override for each item's own "Añadir al carrito" button (variant="solid") — same naming as
3676
+ * clx-product-detail's actionColor/actionTextColor. Falls back to `color()` when unset. */
3677
+ readonly actionColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3678
+ readonly actionTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3679
+ protected readonly _actionColor: _angular_core.Signal<ClxColorInput>;
3671
3680
  /** Product card drop shadow — same ClxCardShadow scale as clx-card ('none' turns it off
3672
3681
  * entirely). Falls back to 'sm', the shadow these cards have always rendered with. */
3673
3682
  readonly shadow: _angular_core.InputSignal<ClxCardShadow | undefined>;
@@ -3717,7 +3726,7 @@ declare class ClxWishlistComponent {
3717
3726
  handleRemove(item: ClxWishlistItem): void;
3718
3727
  handleCheckoutAll(): void;
3719
3728
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWishlistComponent, never>;
3720
- 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>;
3729
+ 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; }; "checkoutAllColor": { "alias": "checkoutAllColor"; "required": false; "isSignal": true; }; "checkoutAllTextColor": { "alias": "checkoutAllTextColor"; "required": false; "isSignal": true; }; "checkoutAllEmphasis": { "alias": "checkoutAllEmphasis"; "required": false; "isSignal": true; }; "actionColor": { "alias": "actionColor"; "required": false; "isSignal": true; }; "actionTextColor": { "alias": "actionTextColor"; "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>;
3721
3730
  }
3722
3731
 
3723
3732
  /** Refleja sa_cart_items + ca_variants + ca_products */