codexly-ui 0.10.63 → 0.10.64

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.
@@ -14110,16 +14110,9 @@ class ClxProductComponent {
14110
14110
  layout = input('vertical', ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
14111
14111
  size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
14112
14112
  clxColor = input('indigo', ...(ngDevMode ? [{ debugName: "clxColor" }] : /* istanbul ignore next */ []));
14113
- /** 'cover' (default) fills the frame edge-to-edge, cropping overflow — right for photos shot to
14114
- * fill the frame (apparel on a model). 'contain' keeps the whole image visible with padding
14115
- * around it — right for products photographed against negative space (helmets, boxed goods),
14116
- * where 'cover' would crop into the product itself. */
14117
14113
  imageFit = input('cover', ...(ngDevMode ? [{ debugName: "imageFit" }] : /* istanbul ignore next */ []));
14118
14114
  addToCart = output();
14119
14115
  addToWishlist = output();
14120
- /** Emitted instead of addToCart when option_count > 1 — the card can't identify a single
14121
- * purchasable combination, so the host should route to the product page instead of adding
14122
- * directly (see ClxProduct.option_count). */
14123
14116
  viewOptions = output();
14124
14117
  PRODUCT_TAG_LABEL = PRODUCT_TAG_LABEL;
14125
14118
  PRODUCT_TAG_COLOR = PRODUCT_TAG_COLOR;
@@ -14134,8 +14127,8 @@ class ClxProductComponent {
14134
14127
  _skeletonW = computed(() => this._sm() ? 'sm:w-32' : 'sm:w-44', ...(ngDevMode ? [{ debugName: "_skeletonW" }] : /* istanbul ignore next */ []));
14135
14128
  _skeletonH = computed(() => this._sm() ? '160px' : '200px', ...(ngDevMode ? [{ debugName: "_skeletonH" }] : /* istanbul ignore next */ []));
14136
14129
  _cardClass = computed(() => {
14137
- const hover = this._disabled() ? '' : 'hover:shadow-xl hover:-translate-y-0.5';
14138
- return `bg-clx-surface rounded-2xl shadow-sm transition-[box-shadow,transform] duration-300 overflow-hidden group ${hover} ${this._h() ? 'flex flex-col sm:flex-row' : 'flex flex-col'}`;
14130
+ const hover = this._disabled() ? '' : 'hover:shadow-md hover:-translate-y-0.5';
14131
+ return `bg-clx-surface rounded-2xl shadow-sm transition-[box-shadow,transform] duration-200 overflow-hidden group ${hover} ${this._h() ? 'flex flex-col sm:flex-row' : 'flex flex-col'}`;
14139
14132
  }, ...(ngDevMode ? [{ debugName: "_cardClass" }] : /* istanbul ignore next */ []));
14140
14133
  _imageContainerClass = computed(() => this._h()
14141
14134
  ? `relative shrink-0 w-full aspect-square sm:aspect-auto ${this._sm() ? 'sm:w-32' : 'sm:w-44'} overflow-hidden rounded-t-2xl sm:rounded-t-none sm:rounded-l-2xl`
@@ -14635,7 +14628,7 @@ class ClxWishlistComponent {
14635
14628
  /** Emitted from the empty-state's "Ir a la tienda" CTA — the host navigates to the catalog. */
14636
14629
  onBrowseCatalog = output();
14637
14630
  _skeletonItems = Array.from({ length: 6 });
14638
- _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';
14631
+ _cardClass = 'bg-clx-surface rounded-2xl shadow-sm transition-[box-shadow,transform] duration-200 overflow-hidden group hover:shadow-md hover:-translate-y-0.5 flex flex-col sm:flex-row';
14639
14632
  _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';
14640
14633
  _imageClass = 'w-full h-full object-cover transition-transform duration-500 group-hover:scale-105';
14641
14634
  _contentClass = 'relative flex flex-col gap-2 flex-1 p-3 min-w-0';
@@ -15205,7 +15198,7 @@ class ClxCartComponent {
15205
15198
 
15206
15199
  <!-- Item cards -->
15207
15200
  @for (item of items(); track item.id) {
15208
- <article class="bg-clx-surface rounded-2xl shadow-sm flex gap-0 overflow-hidden group transition-[box-shadow,transform] duration-300 hover:shadow-md hover:-translate-y-0.5">
15201
+ <article class="bg-clx-surface rounded-2xl shadow-sm flex gap-0 overflow-hidden group transition-[box-shadow,transform] duration-200 hover:shadow-md hover:-translate-y-0.5">
15209
15202
 
15210
15203
  <!-- Image — fixed square -->
15211
15204
  <div class="relative shrink-0 w-28 h-28 lg:w-36 lg:h-36 overflow-hidden bg-clx-surface-2">
@@ -15465,7 +15458,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
15465
15458
 
15466
15459
  <!-- Item cards -->
15467
15460
  @for (item of items(); track item.id) {
15468
- <article class="bg-clx-surface rounded-2xl shadow-sm flex gap-0 overflow-hidden group transition-[box-shadow,transform] duration-300 hover:shadow-md hover:-translate-y-0.5">
15461
+ <article class="bg-clx-surface rounded-2xl shadow-sm flex gap-0 overflow-hidden group transition-[box-shadow,transform] duration-200 hover:shadow-md hover:-translate-y-0.5">
15469
15462
 
15470
15463
  <!-- Image — fixed square -->
15471
15464
  <div class="relative shrink-0 w-28 h-28 lg:w-36 lg:h-36 overflow-hidden bg-clx-surface-2">