codexly-ui 0.12.24 → 0.12.26
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 +60 -42
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +25 -21
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -3334,9 +3334,11 @@ declare class ClxProductComponent {
|
|
|
3334
3334
|
* variant="ghost" (text tinted at textSubtle strength, not a solid fill), so contrast risk is
|
|
3335
3335
|
* low, but this is still exposed for full parity with clx-product-detail/clx-wishlist. */
|
|
3336
3336
|
readonly actionTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
3337
|
-
/**
|
|
3338
|
-
*
|
|
3339
|
-
|
|
3337
|
+
/** Same ClxCardVariant concept as clx-card: 'elevated' (border + shadow, the default this card
|
|
3338
|
+
* has always rendered with), 'outlined' (border, no shadow), 'flat' (neither). The border
|
|
3339
|
+
* itself always reads cardBorderColor() regardless of variant — only whether it's shown at
|
|
3340
|
+
* all, and whether a shadow accompanies it, changes. */
|
|
3341
|
+
readonly variant: _angular_core.InputSignal<ClxCardVariant>;
|
|
3340
3342
|
readonly imageFit: _angular_core.InputSignal<"contain" | "cover">;
|
|
3341
3343
|
readonly addToCart: _angular_core.OutputEmitterRef<ClxProduct>;
|
|
3342
3344
|
readonly addToWishlist: _angular_core.OutputEmitterRef<ClxProduct>;
|
|
@@ -3369,7 +3371,7 @@ declare class ClxProductComponent {
|
|
|
3369
3371
|
protected readonly _descClass: _angular_core.Signal<string>;
|
|
3370
3372
|
protected readonly _priceClass: _angular_core.Signal<string>;
|
|
3371
3373
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProductComponent, never>;
|
|
3372
|
-
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; }; "
|
|
3374
|
+
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; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "imageFit": { "alias": "imageFit"; "required": false; "isSignal": true; }; }, { "addToCart": "addToCart"; "addToWishlist": "addToWishlist"; "viewOptions": "viewOptions"; }, never, never, true, never>;
|
|
3373
3375
|
}
|
|
3374
3376
|
|
|
3375
3377
|
/** st_spec_options */
|
|
@@ -3515,10 +3517,11 @@ declare class ClxProductDetailComponent {
|
|
|
3515
3517
|
/** Hides the tabs (Características/Especificaciones/Descripción) and the Reviews section —
|
|
3516
3518
|
* for contexts like a quick-view modal where only the gallery + spec selector + CTA matter. */
|
|
3517
3519
|
readonly compact: _angular_core.InputSignal<boolean>;
|
|
3518
|
-
/**
|
|
3519
|
-
*
|
|
3520
|
-
*
|
|
3521
|
-
|
|
3520
|
+
/** Same ClxCardVariant concept as clx-card: 'elevated' (border + shadow, the default the
|
|
3521
|
+
* gallery/info panels and each review card have always rendered with), 'outlined' (border, no
|
|
3522
|
+
* shadow), 'flat' (neither). The border itself always reads cardBorderColor() regardless of
|
|
3523
|
+
* variant. */
|
|
3524
|
+
readonly variant: _angular_core.InputSignal<ClxCardVariant>;
|
|
3522
3525
|
readonly addToCart: _angular_core.OutputEmitterRef<{
|
|
3523
3526
|
variationId: string;
|
|
3524
3527
|
quantity: number;
|
|
@@ -3543,7 +3546,7 @@ declare class ClxProductDetailComponent {
|
|
|
3543
3546
|
private readonly _initialVariation;
|
|
3544
3547
|
private readonly _themeSvc;
|
|
3545
3548
|
/** Same card treatment as clx-product/clx-wishlist/clx-cart — themed border (cardBorderColor)
|
|
3546
|
-
* +
|
|
3549
|
+
* + variant-driven shadow, keeps the gallery/info panels visually consistent with the rest of
|
|
3547
3550
|
* the e-commerce card set. Was bg-clx-surface + shadow-sm with no border at all. */
|
|
3548
3551
|
protected readonly _panelClass: _angular_core.Signal<string>;
|
|
3549
3552
|
/** Same border/shadow treatment for each individual review card. */
|
|
@@ -3609,7 +3612,7 @@ declare class ClxProductDetailComponent {
|
|
|
3609
3612
|
specsLeft<T>(specs: T[]): T[];
|
|
3610
3613
|
specsRight<T>(specs: T[]): T[];
|
|
3611
3614
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProductDetailComponent, never>;
|
|
3612
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProductDetailComponent, "clx-product-detail", never, { "product": { "alias": "product"; "required": false; "isSignal": true; }; "initialVariationId": { "alias": "initialVariationId"; "required": false; "isSignal": true; }; "clxColor": { "alias": "clxColor"; "required": false; "isSignal": true; }; "buyNowColor": { "alias": "buyNowColor"; "required": false; "isSignal": true; }; "buyNowTextColor": { "alias": "buyNowTextColor"; "required": false; "isSignal": true; }; "addToCartColor": { "alias": "addToCartColor"; "required": false; "isSignal": true; }; "addToCartTextColor": { "alias": "addToCartTextColor"; "required": false; "isSignal": true; }; "leaveReviewColor": { "alias": "leaveReviewColor"; "required": false; "isSignal": true; }; "leaveReviewTextColor": { "alias": "leaveReviewTextColor"; "required": false; "isSignal": true; }; "wishlistColor": { "alias": "wishlistColor"; "required": false; "isSignal": true; }; "wishlistTextColor": { "alias": "wishlistTextColor"; "required": false; "isSignal": true; }; "wishlistVariant": { "alias": "wishlistVariant"; "required": false; "isSignal": true; }; "stockBadgeColor": { "alias": "stockBadgeColor"; "required": false; "isSignal": true; }; "discountBadgeColor": { "alias": "discountBadgeColor"; "required": false; "isSignal": true; }; "quantityColor": { "alias": "quantityColor"; "required": false; "isSignal": true; }; "specButtonColor": { "alias": "specButtonColor"; "required": false; "isSignal": true; }; "specButtonTextColor": { "alias": "specButtonTextColor"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "
|
|
3615
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProductDetailComponent, "clx-product-detail", never, { "product": { "alias": "product"; "required": false; "isSignal": true; }; "initialVariationId": { "alias": "initialVariationId"; "required": false; "isSignal": true; }; "clxColor": { "alias": "clxColor"; "required": false; "isSignal": true; }; "buyNowColor": { "alias": "buyNowColor"; "required": false; "isSignal": true; }; "buyNowTextColor": { "alias": "buyNowTextColor"; "required": false; "isSignal": true; }; "addToCartColor": { "alias": "addToCartColor"; "required": false; "isSignal": true; }; "addToCartTextColor": { "alias": "addToCartTextColor"; "required": false; "isSignal": true; }; "leaveReviewColor": { "alias": "leaveReviewColor"; "required": false; "isSignal": true; }; "leaveReviewTextColor": { "alias": "leaveReviewTextColor"; "required": false; "isSignal": true; }; "wishlistColor": { "alias": "wishlistColor"; "required": false; "isSignal": true; }; "wishlistTextColor": { "alias": "wishlistTextColor"; "required": false; "isSignal": true; }; "wishlistVariant": { "alias": "wishlistVariant"; "required": false; "isSignal": true; }; "stockBadgeColor": { "alias": "stockBadgeColor"; "required": false; "isSignal": true; }; "discountBadgeColor": { "alias": "discountBadgeColor"; "required": false; "isSignal": true; }; "quantityColor": { "alias": "quantityColor"; "required": false; "isSignal": true; }; "specButtonColor": { "alias": "specButtonColor"; "required": false; "isSignal": true; }; "specButtonTextColor": { "alias": "specButtonTextColor"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; "compact": { "alias": "compact"; "required": false; "isSignal": true; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "addToCart": "addToCart"; "buyNow": "buyNow"; "wishlist": "wishlist"; "variationChange": "variationChange"; "leaveReview": "leaveReview"; }, never, never, true, never>;
|
|
3613
3616
|
}
|
|
3614
3617
|
|
|
3615
3618
|
interface ClxProductQuickViewData {
|
|
@@ -3685,9 +3688,10 @@ declare class ClxWishlistComponent {
|
|
|
3685
3688
|
readonly actionColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
3686
3689
|
readonly actionTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
|
|
3687
3690
|
protected readonly _actionColor: _angular_core.Signal<ClxColorInput>;
|
|
3688
|
-
/**
|
|
3689
|
-
*
|
|
3690
|
-
|
|
3691
|
+
/** Same ClxCardVariant concept as clx-card: 'elevated' (border + shadow, the default these
|
|
3692
|
+
* cards have always rendered with), 'outlined' (border, no shadow), 'flat' (neither). The
|
|
3693
|
+
* border itself always reads cardBorderColor() regardless of variant. */
|
|
3694
|
+
readonly variant: _angular_core.InputSignal<ClxCardVariant>;
|
|
3691
3695
|
readonly sortOptions: _angular_core.InputSignal<ClxSelectOption[]>;
|
|
3692
3696
|
readonly currentPage: _angular_core.ModelSignal<number>;
|
|
3693
3697
|
readonly pageSize: _angular_core.ModelSignal<number>;
|
|
@@ -3734,7 +3738,7 @@ declare class ClxWishlistComponent {
|
|
|
3734
3738
|
handleRemove(item: ClxWishlistItem): void;
|
|
3735
3739
|
handleCheckoutAll(): void;
|
|
3736
3740
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWishlistComponent, 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; }; "
|
|
3741
|
+
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; }; "variant": { "alias": "variant"; "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>;
|
|
3738
3742
|
}
|
|
3739
3743
|
|
|
3740
3744
|
/** Refleja sa_cart_items + ca_variants + ca_products */
|
|
@@ -3775,15 +3779,15 @@ declare class ClxCartComponent {
|
|
|
3775
3779
|
* showing a code input that always fails would read as broken, not "not built yet". */
|
|
3776
3780
|
readonly showCoupon: _angular_core.InputSignal<boolean>;
|
|
3777
3781
|
readonly coupon: _angular_core.ModelSignal<ClxCouponResult | null>;
|
|
3778
|
-
/**
|
|
3779
|
-
*
|
|
3780
|
-
*
|
|
3781
|
-
readonly
|
|
3782
|
+
/** Same ClxCardVariant concept as clx-card: 'elevated' (border + shadow, the default the item
|
|
3783
|
+
* cards and Order Summary panel have always rendered with), 'outlined' (border, no shadow),
|
|
3784
|
+
* 'flat' (neither). The border itself always reads cardBorderColor() regardless of variant. */
|
|
3785
|
+
readonly variant: _angular_core.InputSignal<ClxCardVariant>;
|
|
3782
3786
|
private readonly _themeSvc;
|
|
3783
3787
|
protected readonly _quantityColor: _angular_core.Signal<ClxColorInput>;
|
|
3784
3788
|
/** Item cards — was bg-clx-surface + shadow-sm with NO border at all (unlike clx-product/
|
|
3785
|
-
* clx-wishlist, which already read cardBorderColor). Now consistent: themed border
|
|
3786
|
-
*
|
|
3789
|
+
* clx-wishlist, which already read cardBorderColor). Now consistent: themed border, shadow
|
|
3790
|
+
* driven by variant, same borderLight treatment as clx-card's own elevated variant. */
|
|
3787
3791
|
protected readonly _cardClass: _angular_core.Signal<string>;
|
|
3788
3792
|
/** Order Summary panel — same border/shadow treatment as _cardClass, but no hover lift (it's a
|
|
3789
3793
|
* static panel, not a clickable card). */
|
|
@@ -3808,7 +3812,7 @@ declare class ClxCartComponent {
|
|
|
3808
3812
|
applyCoupon(): void;
|
|
3809
3813
|
removeCoupon(): void;
|
|
3810
3814
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxCartComponent, never>;
|
|
3811
|
-
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; }; "
|
|
3815
|
+
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; }; "variant": { "alias": "variant"; "required": false; "isSignal": true; }; }, { "coupon": "couponChange"; "onRemove": "onRemove"; "onQuantityChange": "onQuantityChange"; "onClearCart": "onClearCart"; "onApplyCoupon": "onApplyCoupon"; "onCheckout": "onCheckout"; "onBrowseCatalog": "onBrowseCatalog"; }, never, never, true, never>;
|
|
3812
3816
|
}
|
|
3813
3817
|
|
|
3814
3818
|
interface ClxCartSummaryData {
|