codexly-ui 0.12.14 → 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/fesm2022/codexly-ui.mjs +53 -15
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +26 -3
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -2936,6 +2936,11 @@ declare class ClxFilterPanelComponent {
|
|
|
2936
2936
|
readonly applyButtonSize: _angular_core.InputSignal<ClxButtonSize>;
|
|
2937
2937
|
protected readonly _color: _angular_core.Signal<ClxColorInput>;
|
|
2938
2938
|
protected readonly _applyButtonColor: _angular_core.Signal<ClxColorInput>;
|
|
2939
|
+
/** Outer border — was a hardcoded border-clx-border (a fixed global CSS var, same gray in every
|
|
2940
|
+
* theme) instead of reading the theme like every other card-shaped component (clx-card,
|
|
2941
|
+
* clx-product, clx-wishlist, clx-notification all use cardBorderColor/borderLight). Now
|
|
2942
|
+
* consistent with those. */
|
|
2943
|
+
protected readonly _hostClass: _angular_core.Signal<string>;
|
|
2939
2944
|
readonly values: _angular_core.ModelSignal<ClxFilterValues>;
|
|
2940
2945
|
readonly filterChange: _angular_core.OutputEmitterRef<ClxFilterChangeEvent>;
|
|
2941
2946
|
readonly applyChange: _angular_core.OutputEmitterRef<ClxFilterValues>;
|
|
@@ -3316,6 +3321,9 @@ declare class ClxProductComponent {
|
|
|
3316
3321
|
* variant="ghost" (text tinted at textSubtle strength, not a solid fill), so contrast risk is
|
|
3317
3322
|
* low, but this is still exposed for full parity with clx-product-detail/clx-wishlist. */
|
|
3318
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>;
|
|
3319
3327
|
readonly imageFit: _angular_core.InputSignal<"contain" | "cover">;
|
|
3320
3328
|
readonly addToCart: _angular_core.OutputEmitterRef<ClxProduct>;
|
|
3321
3329
|
readonly addToWishlist: _angular_core.OutputEmitterRef<ClxProduct>;
|
|
@@ -3348,7 +3356,7 @@ declare class ClxProductComponent {
|
|
|
3348
3356
|
protected readonly _descClass: _angular_core.Signal<string>;
|
|
3349
3357
|
protected readonly _priceClass: _angular_core.Signal<string>;
|
|
3350
3358
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProductComponent, never>;
|
|
3351
|
-
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>;
|
|
3352
3360
|
}
|
|
3353
3361
|
|
|
3354
3362
|
/** st_spec_options */
|
|
@@ -3636,6 +3644,9 @@ declare class ClxWishlistComponent {
|
|
|
3636
3644
|
/** Text color for each item's own "Añadir al carrito" (variant="solid") — independent of
|
|
3637
3645
|
* `color`, same rationale as checkoutAllTextColor. */
|
|
3638
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>;
|
|
3639
3650
|
readonly sortOptions: _angular_core.InputSignal<ClxSelectOption[]>;
|
|
3640
3651
|
readonly currentPage: _angular_core.ModelSignal<number>;
|
|
3641
3652
|
readonly pageSize: _angular_core.ModelSignal<number>;
|
|
@@ -3682,7 +3693,7 @@ declare class ClxWishlistComponent {
|
|
|
3682
3693
|
handleRemove(item: ClxWishlistItem): void;
|
|
3683
3694
|
handleCheckoutAll(): void;
|
|
3684
3695
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWishlistComponent, never>;
|
|
3685
|
-
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>;
|
|
3686
3697
|
}
|
|
3687
3698
|
|
|
3688
3699
|
/** Refleja sa_cart_items + ca_variants + ca_products */
|
|
@@ -3723,7 +3734,19 @@ declare class ClxCartComponent {
|
|
|
3723
3734
|
* showing a code input that always fails would read as broken, not "not built yet". */
|
|
3724
3735
|
readonly showCoupon: _angular_core.InputSignal<boolean>;
|
|
3725
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;
|
|
3726
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>;
|
|
3727
3750
|
readonly onRemove: _angular_core.OutputEmitterRef<ClxCartItem>;
|
|
3728
3751
|
readonly onQuantityChange: _angular_core.OutputEmitterRef<{
|
|
3729
3752
|
item: ClxCartItem;
|
|
@@ -3744,7 +3767,7 @@ declare class ClxCartComponent {
|
|
|
3744
3767
|
applyCoupon(): void;
|
|
3745
3768
|
removeCoupon(): void;
|
|
3746
3769
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxCartComponent, never>;
|
|
3747
|
-
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>;
|
|
3748
3771
|
}
|
|
3749
3772
|
|
|
3750
3773
|
interface ClxCartSummaryData {
|