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.
package/package.json
CHANGED
package/types/codexly-ui.d.ts
CHANGED
|
@@ -2862,16 +2862,9 @@ declare class ClxProductComponent {
|
|
|
2862
2862
|
readonly layout: _angular_core.InputSignal<ClxProductLayout>;
|
|
2863
2863
|
readonly size: _angular_core.InputSignal<ClxProductSize>;
|
|
2864
2864
|
readonly clxColor: _angular_core.InputSignal<ClxColorInput>;
|
|
2865
|
-
/** 'cover' (default) fills the frame edge-to-edge, cropping overflow — right for photos shot to
|
|
2866
|
-
* fill the frame (apparel on a model). 'contain' keeps the whole image visible with padding
|
|
2867
|
-
* around it — right for products photographed against negative space (helmets, boxed goods),
|
|
2868
|
-
* where 'cover' would crop into the product itself. */
|
|
2869
2865
|
readonly imageFit: _angular_core.InputSignal<"contain" | "cover">;
|
|
2870
2866
|
readonly addToCart: _angular_core.OutputEmitterRef<ClxProduct>;
|
|
2871
2867
|
readonly addToWishlist: _angular_core.OutputEmitterRef<ClxProduct>;
|
|
2872
|
-
/** Emitted instead of addToCart when option_count > 1 — the card can't identify a single
|
|
2873
|
-
* purchasable combination, so the host should route to the product page instead of adding
|
|
2874
|
-
* directly (see ClxProduct.option_count). */
|
|
2875
2868
|
readonly viewOptions: _angular_core.OutputEmitterRef<ClxProduct>;
|
|
2876
2869
|
protected readonly PRODUCT_TAG_LABEL: Record<ClxProductTag, string>;
|
|
2877
2870
|
protected readonly PRODUCT_TAG_COLOR: Record<ClxProductTag, codexly_ui.ClxColor>;
|
|
@@ -3091,7 +3084,7 @@ declare class ClxWishlistComponent {
|
|
|
3091
3084
|
/** Emitted from the empty-state's "Ir a la tienda" CTA — the host navigates to the catalog. */
|
|
3092
3085
|
readonly onBrowseCatalog: _angular_core.OutputEmitterRef<void>;
|
|
3093
3086
|
readonly _skeletonItems: unknown[];
|
|
3094
|
-
protected readonly _cardClass = "bg-clx-surface rounded-2xl shadow-sm transition-[box-shadow,transform] duration-
|
|
3087
|
+
protected readonly _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";
|
|
3095
3088
|
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";
|
|
3096
3089
|
protected readonly _imageClass = "w-full h-full object-cover transition-transform duration-500 group-hover:scale-105";
|
|
3097
3090
|
protected readonly _contentClass = "relative flex flex-col gap-2 flex-1 p-3 min-w-0";
|