codexly-ui 0.12.23 → 0.12.25

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.12.23",
3
+ "version": "0.12.25",
4
4
  "description": "Standalone, signal-based Angular UI component library for Codexly, styled with Tailwind CSS.",
5
5
  "keywords": [
6
6
  "angular",
@@ -2415,7 +2415,11 @@ declare class ClxModalComponent {
2415
2415
  protected readonly _confirmColor: _angular_core.Signal<codexly_ui.ClxColorInput>;
2416
2416
  protected readonly _confirmVariant: _angular_core.Signal<codexly_ui.ClxButtonVariant>;
2417
2417
  protected readonly _cancelText: _angular_core.Signal<string>;
2418
- protected readonly _cancelColor: _angular_core.Signal<codexly_ui.ClxColorInput>;
2418
+ /** Undefined when the caller didn't pass an explicit cancelButton.color — lets the button's own
2419
+ * emphasis="secondary" resolve the theme's secondaryColor (with secondaryButtonTextColor
2420
+ * auto-applied on solid variants) instead of hardcoding 'slate', same convention as
2421
+ * clx-alert/clx-product-detail/clx-wishlist's secondary actions. */
2422
+ protected readonly _cancelColor: _angular_core.Signal<codexly_ui.ClxColorInput | undefined>;
2419
2423
  protected readonly _cancelVariant: _angular_core.Signal<codexly_ui.ClxButtonVariant>;
2420
2424
  protected _close(): void;
2421
2425
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxModalComponent, never>;
@@ -2591,7 +2595,11 @@ declare class ClxAlertComponent implements OnInit, OnDestroy {
2591
2595
  protected readonly _confirmText: _angular_core.WritableSignal<string>;
2592
2596
  protected readonly _confirmColor: _angular_core.Signal<codexly_ui.ClxColorInput>;
2593
2597
  protected readonly _cancelText: _angular_core.WritableSignal<string>;
2594
- protected readonly _cancelColor: _angular_core.Signal<codexly_ui.ClxColorInput>;
2598
+ /** Undefined when the caller didn't pass an explicit cancelButton.color — lets the button's own
2599
+ * emphasis="secondary" resolve the theme's secondaryColor (with secondaryButtonTextColor
2600
+ * auto-applied on solid variants), same convention as clx-product-detail/clx-wishlist's
2601
+ * secondary CTAs, instead of hardcoding secondaryColor here and losing that auto-text-color. */
2602
+ protected readonly _cancelColor: _angular_core.Signal<codexly_ui.ClxColorInput | undefined>;
2595
2603
  protected readonly _cancelVariant: _angular_core.WritableSignal<ClxButtonVariant>;
2596
2604
  protected readonly _timerTotal: _angular_core.WritableSignal<number>;
2597
2605
  protected readonly _progressPct: _angular_core.WritableSignal<number>;
@@ -3326,9 +3334,11 @@ declare class ClxProductComponent {
3326
3334
  * variant="ghost" (text tinted at textSubtle strength, not a solid fill), so contrast risk is
3327
3335
  * low, but this is still exposed for full parity with clx-product-detail/clx-wishlist. */
3328
3336
  readonly actionTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3329
- /** Card drop shadow — same ClxCardShadow scale as clx-card ('none' turns it off entirely).
3330
- * Falls back to 'sm', the shadow this card has always rendered with. */
3331
- readonly shadow: _angular_core.InputSignal<ClxCardShadow | undefined>;
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>;
3332
3342
  readonly imageFit: _angular_core.InputSignal<"contain" | "cover">;
3333
3343
  readonly addToCart: _angular_core.OutputEmitterRef<ClxProduct>;
3334
3344
  readonly addToWishlist: _angular_core.OutputEmitterRef<ClxProduct>;
@@ -3361,7 +3371,7 @@ declare class ClxProductComponent {
3361
3371
  protected readonly _descClass: _angular_core.Signal<string>;
3362
3372
  protected readonly _priceClass: _angular_core.Signal<string>;
3363
3373
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProductComponent, never>;
3364
- 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>;
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>;
3365
3375
  }
3366
3376
 
3367
3377
  /** st_spec_options */
@@ -3507,10 +3517,11 @@ declare class ClxProductDetailComponent {
3507
3517
  /** Hides the tabs (Características/Especificaciones/Descripción) and the Reviews section —
3508
3518
  * for contexts like a quick-view modal where only the gallery + spec selector + CTA matter. */
3509
3519
  readonly compact: _angular_core.InputSignal<boolean>;
3510
- /** Drop shadow for the gallery/info panels and each review card same ClxCardShadow scale as
3511
- * clx-card ('none' turns it off entirely). Falls back to 'sm', the shadow these have always
3512
- * rendered with. */
3513
- readonly shadow: _angular_core.InputSignal<ClxCardShadow | undefined>;
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>;
3514
3525
  readonly addToCart: _angular_core.OutputEmitterRef<{
3515
3526
  variationId: string;
3516
3527
  quantity: number;
@@ -3535,7 +3546,7 @@ declare class ClxProductDetailComponent {
3535
3546
  private readonly _initialVariation;
3536
3547
  private readonly _themeSvc;
3537
3548
  /** Same card treatment as clx-product/clx-wishlist/clx-cart — themed border (cardBorderColor)
3538
- * + configurable shadow, keeps the gallery/info panels visually consistent with the rest of
3549
+ * + variant-driven shadow, keeps the gallery/info panels visually consistent with the rest of
3539
3550
  * the e-commerce card set. Was bg-clx-surface + shadow-sm with no border at all. */
3540
3551
  protected readonly _panelClass: _angular_core.Signal<string>;
3541
3552
  /** Same border/shadow treatment for each individual review card. */
@@ -3601,7 +3612,7 @@ declare class ClxProductDetailComponent {
3601
3612
  specsLeft<T>(specs: T[]): T[];
3602
3613
  specsRight<T>(specs: T[]): T[];
3603
3614
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxProductDetailComponent, never>;
3604
- 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; }; "shadow": { "alias": "shadow"; "required": false; "isSignal": true; }; }, { "addToCart": "addToCart"; "buyNow": "buyNow"; "wishlist": "wishlist"; "variationChange": "variationChange"; "leaveReview": "leaveReview"; }, never, never, true, never>;
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>;
3605
3616
  }
3606
3617
 
3607
3618
  interface ClxProductQuickViewData {
@@ -3677,9 +3688,10 @@ declare class ClxWishlistComponent {
3677
3688
  readonly actionColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3678
3689
  readonly actionTextColor: _angular_core.InputSignal<ClxColorInput | undefined>;
3679
3690
  protected readonly _actionColor: _angular_core.Signal<ClxColorInput>;
3680
- /** Product card drop shadow — same ClxCardShadow scale as clx-card ('none' turns it off
3681
- * entirely). Falls back to 'sm', the shadow these cards have always rendered with. */
3682
- readonly shadow: _angular_core.InputSignal<ClxCardShadow | undefined>;
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>;
3683
3695
  readonly sortOptions: _angular_core.InputSignal<ClxSelectOption[]>;
3684
3696
  readonly currentPage: _angular_core.ModelSignal<number>;
3685
3697
  readonly pageSize: _angular_core.ModelSignal<number>;
@@ -3726,7 +3738,7 @@ declare class ClxWishlistComponent {
3726
3738
  handleRemove(item: ClxWishlistItem): void;
3727
3739
  handleCheckoutAll(): void;
3728
3740
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxWishlistComponent, never>;
3729
- 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; }; "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>;
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>;
3730
3742
  }
3731
3743
 
3732
3744
  /** Refleja sa_cart_items + ca_variants + ca_products */
@@ -3767,15 +3779,15 @@ declare class ClxCartComponent {
3767
3779
  * showing a code input that always fails would read as broken, not "not built yet". */
3768
3780
  readonly showCoupon: _angular_core.InputSignal<boolean>;
3769
3781
  readonly coupon: _angular_core.ModelSignal<ClxCouponResult | null>;
3770
- /** Drop shadow for the item cards and Order Summary panel same ClxCardShadow scale as
3771
- * clx-card ('none' turns it off entirely). Falls back to 'sm', the shadow these have always
3772
- * rendered with. */
3773
- readonly shadow: _angular_core.InputSignal<ClxCardShadow | undefined>;
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>;
3774
3786
  private readonly _themeSvc;
3775
3787
  protected readonly _quantityColor: _angular_core.Signal<ClxColorInput>;
3776
3788
  /** Item cards — was bg-clx-surface + shadow-sm with NO border at all (unlike clx-product/
3777
- * clx-wishlist, which already read cardBorderColor). Now consistent: themed border +
3778
- * configurable shadow, same borderLight treatment as clx-card's own elevated variant. */
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. */
3779
3791
  protected readonly _cardClass: _angular_core.Signal<string>;
3780
3792
  /** Order Summary panel — same border/shadow treatment as _cardClass, but no hover lift (it's a
3781
3793
  * static panel, not a clickable card). */
@@ -3800,7 +3812,7 @@ declare class ClxCartComponent {
3800
3812
  applyCoupon(): void;
3801
3813
  removeCoupon(): void;
3802
3814
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<ClxCartComponent, never>;
3803
- 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>;
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>;
3804
3816
  }
3805
3817
 
3806
3818
  interface ClxCartSummaryData {