@codesinger0/shared-components 1.1.5 → 1.1.7

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.
@@ -37,7 +37,7 @@ const SmallItemCard = ({
37
37
 
38
38
  return (
39
39
  <div
40
- className={`glass-card cursor-pointer transition-all duration-300 hover:scale-104 ${className}`}
40
+ className={`glass-card cursor-pointer transition-all duration-300 hover:scale-104 flex flex-col ${className}`}
41
41
  onClick={handleCardClickWrapper}
42
42
  dir="rtl"
43
43
  {...props}
@@ -85,7 +85,7 @@ const SmallItemCard = ({
85
85
  </div>
86
86
 
87
87
  {/* Content */}
88
- <div className="p-4 flex flex-col">
88
+ <div className="p-4 flex flex-col flex-grow">
89
89
  {/* Name */}
90
90
  <h3 className="subtitle font-semibold line-clamp-2 flex-shrink-0">
91
91
  {label}
@@ -134,6 +134,11 @@ const SmallItemCard = ({
134
134
  </div>
135
135
  )}
136
136
 
137
+
138
+
139
+ </div>
140
+
141
+ <div className='mb-4 px-4'>
137
142
  <SmallButton
138
143
  onClick={handleAddToCartClick}
139
144
  disabled={amountAvailable !== undefined && amountAvailable <= 0}
@@ -142,7 +147,6 @@ const SmallItemCard = ({
142
147
  <ShoppingCart size={16} />
143
148
  הוסף לעגלה
144
149
  </SmallButton>
145
-
146
150
  </div>
147
151
  </div>
148
152
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codesinger0/shared-components",
3
- "version": "1.1.5",
3
+ "version": "1.1.7",
4
4
  "description": "Shared React components for customer projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [