codexly-ui 0.10.74 → 0.10.76
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/fesm2022/codexly-ui.mjs
CHANGED
|
@@ -14699,7 +14699,7 @@ class ClxWishlistComponent {
|
|
|
14699
14699
|
onBrowseCatalog = output();
|
|
14700
14700
|
_skeletonItems = Array.from({ length: 6 });
|
|
14701
14701
|
_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';
|
|
14702
|
-
_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';
|
|
14702
|
+
_imageContainerClass = 'relative shrink-0 w-full p-2.5 aspect-square sm:aspect-auto sm:w-40 overflow-hidden rounded-t-2xl sm:rounded-t-none sm:rounded-l-2xl';
|
|
14703
14703
|
_imageClass = 'w-full h-full object-cover transition-transform duration-500 group-hover:scale-105';
|
|
14704
14704
|
_contentClass = 'relative flex flex-col gap-2 flex-1 p-3 min-w-0';
|
|
14705
14705
|
_actionsClass = 'mt-auto pt-2 flex flex-col gap-2';
|
|
@@ -14887,10 +14887,12 @@ class ClxWishlistComponent {
|
|
|
14887
14887
|
|
|
14888
14888
|
<!-- Price -->
|
|
14889
14889
|
<div class="flex items-baseline gap-2 mt-2">
|
|
14890
|
-
<span [class]="_priceClass">
|
|
14890
|
+
<span [class]="_priceClass">
|
|
14891
|
+
{{ (item.has_discount && item.discount_price ? item.discount_price : (item.sale_price ?? item.product_sale_price)) | currency:'COP':'$':'1.0-0' }}
|
|
14892
|
+
</span>
|
|
14891
14893
|
@if (item.has_discount && item.discount_price) {
|
|
14892
14894
|
<span class="text-sm text-clx-text-subtle line-through">
|
|
14893
|
-
{{ item.
|
|
14895
|
+
{{ (item.sale_price ?? item.product_sale_price) | currency:'COP':'$':'1.0-0' }}
|
|
14894
14896
|
</span>
|
|
14895
14897
|
}
|
|
14896
14898
|
</div>
|
|
@@ -15090,10 +15092,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
15090
15092
|
|
|
15091
15093
|
<!-- Price -->
|
|
15092
15094
|
<div class="flex items-baseline gap-2 mt-2">
|
|
15093
|
-
<span [class]="_priceClass">
|
|
15095
|
+
<span [class]="_priceClass">
|
|
15096
|
+
{{ (item.has_discount && item.discount_price ? item.discount_price : (item.sale_price ?? item.product_sale_price)) | currency:'COP':'$':'1.0-0' }}
|
|
15097
|
+
</span>
|
|
15094
15098
|
@if (item.has_discount && item.discount_price) {
|
|
15095
15099
|
<span class="text-sm text-clx-text-subtle line-through">
|
|
15096
|
-
{{ item.
|
|
15100
|
+
{{ (item.sale_price ?? item.product_sale_price) | currency:'COP':'$':'1.0-0' }}
|
|
15097
15101
|
</span>
|
|
15098
15102
|
}
|
|
15099
15103
|
</div>
|