codexly-ui 0.10.56 → 0.10.57

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.56",
3
+ "version": "0.10.57",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -3124,6 +3124,9 @@ declare class ClxCartComponent {
3124
3124
  readonly items: _angular_core.InputSignal<ClxCartItem[]>;
3125
3125
  readonly loading: _angular_core.InputSignal<boolean>;
3126
3126
  readonly color: _angular_core.InputSignal<ClxColorInput>;
3127
+ /** Hide the coupon block entirely when the host app has no coupon backend to back it —
3128
+ * showing a code input that always fails would read as broken, not "not built yet". */
3129
+ readonly showCoupon: _angular_core.InputSignal<boolean>;
3127
3130
  readonly coupon: _angular_core.ModelSignal<ClxCouponResult | null>;
3128
3131
  readonly onRemove: _angular_core.OutputEmitterRef<ClxCartItem>;
3129
3132
  readonly onQuantityChange: _angular_core.OutputEmitterRef<{
@@ -3143,7 +3146,7 @@ declare class ClxCartComponent {
3143
3146
  applyCoupon(): void;
3144
3147
  removeCoupon(): void;
3145
3148
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxCartComponent, never>;
3146
- 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; }; "coupon": { "alias": "coupon"; "required": false; "isSignal": true; }; }, { "coupon": "couponChange"; "onRemove": "onRemove"; "onQuantityChange": "onQuantityChange"; "onClearCart": "onClearCart"; "onApplyCoupon": "onApplyCoupon"; "onCheckout": "onCheckout"; }, never, never, true, never>;
3149
+ 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>;
3147
3150
  }
3148
3151
 
3149
3152
  interface ClxCartSummaryData {