codexly-ui 0.10.13 → 0.10.14

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.10.13",
3
+ "version": "0.10.14",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -2958,6 +2958,18 @@ declare class ClxProductDetailComponent {
2958
2958
  readonly clxColor: _angular_core.InputSignal<ClxColorInput>;
2959
2959
  readonly loading: _angular_core.InputSignal<boolean>;
2960
2960
  readonly currency: _angular_core.InputSignal<string>;
2961
+ /** Emits the active variation's id + selected quantity — the host decides what "add to cart"
2962
+ * and "buy now" actually do (cart service, checkout redirect, etc.), this component only
2963
+ * knows about the product/variation model, not commerce flows. */
2964
+ readonly addToCart: _angular_core.OutputEmitterRef<{
2965
+ variationId: string;
2966
+ quantity: number;
2967
+ }>;
2968
+ readonly buyNow: _angular_core.OutputEmitterRef<{
2969
+ variationId: string;
2970
+ quantity: number;
2971
+ }>;
2972
+ readonly wishlist: _angular_core.OutputEmitterRef<void>;
2961
2973
  readonly _carousel: _angular_core.Signal<ClxCarouselComponent | undefined>;
2962
2974
  readonly quantity: _angular_core.WritableSignal<number>;
2963
2975
  readonly activeTab: _angular_core.WritableSignal<string>;
@@ -2971,11 +2983,13 @@ declare class ClxProductDetailComponent {
2971
2983
  selectSpec(specTypeId: string, specOptionId: string): void;
2972
2984
  isSpecSelected(specTypeId: string, specOptionId: string): boolean;
2973
2985
  selectedOptionLabel(specType: ClxSpecType): string;
2986
+ protected _emitAddToCart(): void;
2987
+ protected _emitBuyNow(): void;
2974
2988
  asColor(value: string): ClxColorInput;
2975
2989
  specsLeft<T>(specs: T[]): T[];
2976
2990
  specsRight<T>(specs: T[]): T[];
2977
2991
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProductDetailComponent, never>;
2978
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProductDetailComponent, "clx-product-detail", never, { "product": { "alias": "product"; "required": false; "isSignal": true; }; "clxColor": { "alias": "clxColor"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
2992
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ClxProductDetailComponent, "clx-product-detail", never, { "product": { "alias": "product"; "required": false; "isSignal": true; }; "clxColor": { "alias": "clxColor"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "currency": { "alias": "currency"; "required": false; "isSignal": true; }; }, { "addToCart": "addToCart"; "buyNow": "buyNow"; "wishlist": "wishlist"; }, never, never, true, never>;
2979
2993
  }
2980
2994
 
2981
2995
  /** Refleja st_variations + st_products (campos necesarios para la wishlist card) */