codexly-ui 0.12.22 → 0.12.24
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/fesm2022/codexly-ui.mjs +31 -10
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +22 -7
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -2415,7 +2415,11 @@ declare class ClxModalComponent {
|
|
|
2415
2415
|
protected readonly _confirmColor: _angular_core.Signal<codexly_ui.ClxColorInput>;
|
|
2416
2416
|
protected readonly _confirmVariant: _angular_core.Signal<codexly_ui.ClxButtonVariant>;
|
|
2417
2417
|
protected readonly _cancelText: _angular_core.Signal<string>;
|
|
2418
|
-
|
|
2418
|
+
/** Undefined when the caller didn't pass an explicit cancelButton.color — lets the button's own
|
|
2419
|
+
* emphasis="secondary" resolve the theme's secondaryColor (with secondaryButtonTextColor
|
|
2420
|
+
* auto-applied on solid variants) instead of hardcoding 'slate', same convention as
|
|
2421
|
+
* clx-alert/clx-product-detail/clx-wishlist's secondary actions. */
|
|
2422
|
+
protected readonly _cancelColor: _angular_core.Signal<codexly_ui.ClxColorInput | undefined>;
|
|
2419
2423
|
protected readonly _cancelVariant: _angular_core.Signal<codexly_ui.ClxButtonVariant>;
|
|
2420
2424
|
protected _close(): void;
|
|
2421
2425
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxModalComponent, never>;
|
|
@@ -2591,7 +2595,11 @@ declare class ClxAlertComponent implements OnInit, OnDestroy {
|
|
|
2591
2595
|
protected readonly _confirmText: _angular_core.WritableSignal<string>;
|
|
2592
2596
|
protected readonly _confirmColor: _angular_core.Signal<codexly_ui.ClxColorInput>;
|
|
2593
2597
|
protected readonly _cancelText: _angular_core.WritableSignal<string>;
|
|
2594
|
-
|
|
2598
|
+
/** Undefined when the caller didn't pass an explicit cancelButton.color — lets the button's own
|
|
2599
|
+
* emphasis="secondary" resolve the theme's secondaryColor (with secondaryButtonTextColor
|
|
2600
|
+
* auto-applied on solid variants), same convention as clx-product-detail/clx-wishlist's
|
|
2601
|
+
* secondary CTAs, instead of hardcoding secondaryColor here and losing that auto-text-color. */
|
|
2602
|
+
protected readonly _cancelColor: _angular_core.Signal<codexly_ui.ClxColorInput | undefined>;
|
|
2595
2603
|
protected readonly _cancelVariant: _angular_core.WritableSignal<ClxButtonVariant>;
|
|
2596
2604
|
protected readonly _timerTotal: _angular_core.WritableSignal<number>;
|
|
2597
2605
|
protected readonly _progressPct: _angular_core.WritableSignal<number>;
|
|
@@ -3660,11 +3668,18 @@ declare class ClxWishlistComponent {
|
|
|
3660
3668
|
* clx-input/clx-select/clx-pagination themselves. Previously this was a required-looking input
|
|
3661
3669
|
* defaulting to a hardcoded 'indigo' that every zone read directly, bypassing theme entirely. */
|
|
3662
3670
|
readonly color: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
3663
|
-
/**
|
|
3664
|
-
*
|
|
3665
|
-
*
|
|
3666
|
-
*
|
|
3671
|
+
/** Override for "Agregar todo al carrito" (variant="light") — same [color]/[textColor]/
|
|
3672
|
+
* [emphasis] precedence as clx-button itself: an explicit checkoutAllColor always wins;
|
|
3673
|
+
* otherwise checkoutAllEmphasis="secondary" resolves the theme's secondaryColor (falling back
|
|
3674
|
+
* to primaryColor) instead of `color()`/primaryColor, same as clx-product-detail's
|
|
3675
|
+
* addToCartColor + emphasis="secondary" treatment for its own secondary CTA. */
|
|
3676
|
+
readonly checkoutAllColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
3667
3677
|
readonly checkoutAllTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
3678
|
+
readonly checkoutAllEmphasis: _angular_core.InputSignal<"primary" | "secondary">;
|
|
3679
|
+
/** checkoutAllColor always wins when set. Otherwise: emphasis="secondary" is passed through
|
|
3680
|
+
* as-is (undefined) so clx-button resolves the theme's secondaryColor itself; emphasis="primary"
|
|
3681
|
+
* falls back to `color()`/theme primaryColor, same as every other zone in this component. */
|
|
3682
|
+
protected readonly _checkoutAllColor: _angular_core.Signal<ClxColorInput | undefined>;
|
|
3668
3683
|
/** Override for each item's own "Añadir al carrito" button (variant="solid") — same naming as
|
|
3669
3684
|
* clx-product-detail's actionColor/actionTextColor. Falls back to `color()` when unset. */
|
|
3670
3685
|
readonly actionColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
@@ -3719,7 +3734,7 @@ declare class ClxWishlistComponent {
|
|
|
3719
3734
|
handleRemove(item: ClxWishlistItem): void;
|
|
3720
3735
|
handleCheckoutAll(): void;
|
|
3721
3736
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWishlistComponent, never>;
|
|
3722
|
-
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; }; "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>;
|
|
3737
|
+
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>;
|
|
3723
3738
|
}
|
|
3724
3739
|
|
|
3725
3740
|
/** Refleja sa_cart_items + ca_variants + ca_products */
|