@caseparts-org/caseblocks 0.0.32 → 0.0.33
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/dist/assets/Cart.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._cart_h4033_1{position:relative;border:none;padding:0;margin:0;background-color:transparent}._count_h4033_8{position:absolute;top:4px;left:17px;border-radius:50%;width:18px;height:18px;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:var(--color-brand-primary-primary-tangerine);color:var(--color-neutrals-neutral-1);font-weight:var(--font-weight-semibold)}._cartContainer_h4033_23{height:calc(100vh - 120px);width:375px;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr auto;gap:var(--spacing-1)}._cartItems_h4033_32{height:100%;overflow-y:auto;overflow-x:hidden}._cartItems_h4033_32 ul{margin:0;padding:0}._cartItems_h4033_32 li{list-style:none;margin:0;padding:var(--spacing-0-25);width:100%;display:flex;flex-direction:row;align-items:center;gap:var(--spacing-0-5)}._cartItems_h4033_32 li p{margin:0;padding:0}._cartItems_h4033_32 img{height:40px;width:40px;object-fit:contain}._noItems_h4033_60{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%}
|
|
@@ -3,18 +3,18 @@ import { Icon as m } from "../../atoms/Icon/Icon.js";
|
|
|
3
3
|
import { Text as s } from "../../atoms/Text/Text.js";
|
|
4
4
|
import { Button as a } from "../../atoms/Button/Button.js";
|
|
5
5
|
import { Tooltip as l } from "../Tooltip/Tooltip.js";
|
|
6
|
-
import '../../assets/Cart.css';const
|
|
7
|
-
cart:
|
|
8
|
-
count:
|
|
6
|
+
import '../../assets/Cart.css';const h = "_cart_h4033_1", d = "_count_h4033_8", p = "_cartContainer_h4033_23", _ = "_cartItems_h4033_32", g = "_noItems_h4033_60", o = {
|
|
7
|
+
cart: h,
|
|
8
|
+
count: d,
|
|
9
9
|
cartContainer: p,
|
|
10
10
|
cartItems: _,
|
|
11
11
|
noItems: g
|
|
12
12
|
};
|
|
13
|
-
function
|
|
13
|
+
function N({
|
|
14
14
|
cart: e,
|
|
15
15
|
onItemQtyChange: I,
|
|
16
16
|
onItemDelete: u,
|
|
17
|
-
onItemEdit:
|
|
17
|
+
onItemEdit: C,
|
|
18
18
|
onCheckout: r,
|
|
19
19
|
...c
|
|
20
20
|
}) {
|
|
@@ -54,5 +54,5 @@ function v({
|
|
|
54
54
|
);
|
|
55
55
|
}
|
|
56
56
|
export {
|
|
57
|
-
|
|
57
|
+
N as ShoppingCart
|
|
58
58
|
};
|