codexly-ui 0.10.59 → 0.10.61
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 +22 -10
- package/fesm2022/codexly-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/types/codexly-ui.d.ts +10 -2
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -3005,6 +3005,10 @@ declare class ClxProductDetailComponent {
|
|
|
3005
3005
|
readonly quantity: _angular_core.WritableSignal<number>;
|
|
3006
3006
|
readonly activeTab: _angular_core.WritableSignal<string>;
|
|
3007
3007
|
readonly selectedSpecs: _angular_core.WritableSignal<Record<string, string>>;
|
|
3008
|
+
/** Soft brand-tinted background for the gallery/info panels — same tone the rest of the
|
|
3009
|
+
* library uses for chips/badges (resolveColor().bgSubtle), so the quick-view/detail reads as
|
|
3010
|
+
* branded instead of a flat white card. */
|
|
3011
|
+
protected readonly _panelClass: _angular_core.Signal<string>;
|
|
3008
3012
|
readonly tabItems: ClxTabItem[];
|
|
3009
3013
|
constructor();
|
|
3010
3014
|
readonly activeVariation: _angular_core.Signal<ClxVariation | null>;
|
|
@@ -3085,6 +3089,8 @@ declare class ClxWishlistComponent {
|
|
|
3085
3089
|
readonly onSortChange: _angular_core.OutputEmitterRef<string>;
|
|
3086
3090
|
readonly onPageChange: _angular_core.OutputEmitterRef<ClxWishlistPageChangeEvent>;
|
|
3087
3091
|
readonly onCheckoutAll: _angular_core.OutputEmitterRef<ClxWishlistItem[]>;
|
|
3092
|
+
/** Emitted from the empty-state's "Ir a la tienda" CTA — the host navigates to the catalog. */
|
|
3093
|
+
readonly onBrowseCatalog: _angular_core.OutputEmitterRef<void>;
|
|
3088
3094
|
readonly _skeletonItems: unknown[];
|
|
3089
3095
|
protected readonly _cardClass = "bg-clx-surface rounded-2xl shadow-sm transition-[box-shadow,transform] duration-300 overflow-hidden group hover:shadow-xl hover:-translate-y-0.5 flex flex-col sm:flex-row";
|
|
3090
3096
|
protected readonly _imageContainerClass = "relative shrink-0 w-full aspect-square sm:aspect-auto sm:w-40 overflow-hidden rounded-t-2xl sm:rounded-t-none sm:rounded-l-2xl";
|
|
@@ -3108,7 +3114,7 @@ declare class ClxWishlistComponent {
|
|
|
3108
3114
|
handleRemove(item: ClxWishlistItem): void;
|
|
3109
3115
|
handleCheckoutAll(): void;
|
|
3110
3116
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWishlistComponent, never>;
|
|
3111
|
-
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; }; "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"; }, never, never, true, never>;
|
|
3117
|
+
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; }; "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>;
|
|
3112
3118
|
}
|
|
3113
3119
|
|
|
3114
3120
|
/** Refleja sa_cart_items + ca_variants + ca_products */
|
|
@@ -3154,6 +3160,8 @@ declare class ClxCartComponent {
|
|
|
3154
3160
|
readonly onClearCart: _angular_core.OutputEmitterRef<void>;
|
|
3155
3161
|
readonly onApplyCoupon: _angular_core.OutputEmitterRef<string>;
|
|
3156
3162
|
readonly onCheckout: _angular_core.OutputEmitterRef<void>;
|
|
3163
|
+
/** Emitted from the empty-state's "Ir a la tienda" CTA — the host navigates to the catalog. */
|
|
3164
|
+
readonly onBrowseCatalog: _angular_core.OutputEmitterRef<void>;
|
|
3157
3165
|
protected _couponCode: string;
|
|
3158
3166
|
protected readonly _skeletons: unknown[];
|
|
3159
3167
|
protected readonly _subtotal: _angular_core.Signal<number>;
|
|
@@ -3164,7 +3172,7 @@ declare class ClxCartComponent {
|
|
|
3164
3172
|
applyCoupon(): void;
|
|
3165
3173
|
removeCoupon(): void;
|
|
3166
3174
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxCartComponent, never>;
|
|
3167
|
-
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; }; "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"; }, never, never, true, never>;
|
|
3175
|
+
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; }; "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>;
|
|
3168
3176
|
}
|
|
3169
3177
|
|
|
3170
3178
|
interface ClxCartSummaryData {
|