@caseparts-org/caseblocks 0.0.184 → 0.0.185
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.
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import './assets/Cart.css';const t = "_cartIconButton_a7g4s_2", a = "_count_a7g4s_9", o = "_cartContainer_a7g4s_24", e = "_headerWrapper_a7g4s_35", n = "_header_a7g4s_35", _ = "_cartItems_a7g4s_53", s = "_cartItem_a7g4s_53", c = "_topRow_a7g4s_79", r = "_itemInfo_a7g4s_85", i = "_editUnit_a7g4s_90", m = "_purchaseInformation_a7g4s_104", g = "_availabilitySlot_a7g4s_110", I = "_priceSlot_a7g4s_113", u = "_itemManagement_a7g4s_116", l = "_quantitySlot_a7g4s_122", p = "_itemImage_a7g4s_132", h = "_removeItem_a7g4s_135", d = "_noItems_a7g4s_145", S = "_subtotal_a7g4s_152", y = "_checkoutButton_a7g4s_159", b = {
|
|
2
|
+
cartIconButton: t,
|
|
3
|
+
count: a,
|
|
4
|
+
cartContainer: o,
|
|
5
|
+
headerWrapper: e,
|
|
6
|
+
header: n,
|
|
7
|
+
cartItems: _,
|
|
8
|
+
cartItem: s,
|
|
9
|
+
topRow: c,
|
|
10
|
+
itemInfo: r,
|
|
11
|
+
editUnit: i,
|
|
12
|
+
purchaseInformation: m,
|
|
13
|
+
availabilitySlot: g,
|
|
14
|
+
priceSlot: I,
|
|
15
|
+
itemManagement: u,
|
|
16
|
+
quantitySlot: l,
|
|
17
|
+
itemImage: p,
|
|
18
|
+
removeItem: h,
|
|
19
|
+
noItems: d,
|
|
20
|
+
subtotal: S,
|
|
21
|
+
checkoutButton: y
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
b as s
|
|
25
|
+
};
|
package/dist/assets/Cart.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._cartIconButton_a7g4s_2{position:relative;border:none;padding:0;margin:0;background-color:transparent}._count_a7g4s_9{position:absolute;top:0;left:14px;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_a7g4s_24{height:100vh;width:100%;min-width:320px;max-width:375px;box-sizing:border-box;display:grid;grid-template-rows:auto 1fr auto auto;gap:var(--spacing-1);padding:var(--spacing-1)}._headerWrapper_a7g4s_35{display:flex;flex-direction:row;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._headerWrapper_a7g4s_35>button{padding:0;margin:0;background-color:transparent;border:none}._header_a7g4s_35{display:flex;flex-direction:column;align-items:flex-start;width:100%}._cartItems_a7g4s_53{height:100%;overflow-y:auto;overflow-x:hidden}._cartItems_a7g4s_53 ul{margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-spacing-1xs)}._cartItem_a7g4s_53{display:grid;grid-template-columns:auto 1fr;gap:var(--spacing-0-5);align-items:start;box-sizing:border-box;position:relative;list-style:none;margin:0;padding:var(--spacing-0-5);width:100%;border:1px solid var(--color-neutrals-neutral-2);border-radius:var(--border-radius-md)}._topRow_a7g4s_79{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}._itemInfo_a7g4s_85{display:flex;flex-direction:column;align-items:flex-start}._editUnit_a7g4s_90{display:flex;align-items:center;text-align:start;gap:var(--spacing-spacing-3xs);border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;color:var(--text-text-links);word-break:break-all;word-wrap:break-word}._purchaseInformation_a7g4s_104{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;width:100%}._availabilitySlot_a7g4s_110{min-width:0}._priceSlot_a7g4s_113{justify-self:end}._itemManagement_a7g4s_116{display:flex;flex-direction:column;align-items:stretch;gap:var(--spacing-spacing-3xs)}._quantitySlot_a7g4s_122{align-self:flex-end}._cartItem_a7g4s_53 p{margin:0;padding:0;word-wrap:break-word;white-space:normal;overflow-wrap:break-word}._itemImage_a7g4s_132{object-fit:contain}._removeItem_a7g4s_135{border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;width:min-content;height:min-content}._noItems_a7g4s_145{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%}._subtotal_a7g4s_152{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--spacing-0-5)}._checkoutButton_a7g4s_159{width:100%}
|
|
@@ -2,7 +2,7 @@ import { jsx as a, jsxs as d } from "react/jsx-runtime";
|
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { Icon as g } from "../../atoms/Icon/Icon.js";
|
|
4
4
|
import { Text as p } from "../../atoms/Text/Text.js";
|
|
5
|
-
import { s as m } from "../../Cart.module-
|
|
5
|
+
import { s as m } from "../../Cart.module-B0W9CeI5.js";
|
|
6
6
|
const S = l.forwardRef(function({
|
|
7
7
|
cart: i,
|
|
8
8
|
open: t = !1,
|
|
@@ -7,7 +7,7 @@ import { Pricing as B } from "../Pricing/Pricing.js";
|
|
|
7
7
|
import { QuantityInput as D } from "../QuantityInput/QuantityInput.js";
|
|
8
8
|
import { Icon as y } from "../../atoms/Icon/Icon.js";
|
|
9
9
|
import { c as M } from "../../clsx-OuTLNxxd.js";
|
|
10
|
-
import { s as i } from "../../Cart.module-
|
|
10
|
+
import { s as i } from "../../Cart.module-B0W9CeI5.js";
|
|
11
11
|
function U({
|
|
12
12
|
imageUrl: b,
|
|
13
13
|
imageAlt: g = "Product image",
|
|
@@ -4,7 +4,7 @@ import { Text as l } from "../../atoms/Text/Text.js";
|
|
|
4
4
|
import { Button as k } from "../../atoms/Button/Button.js";
|
|
5
5
|
import { Icon as C } from "../../atoms/Icon/Icon.js";
|
|
6
6
|
import { CartPart as x } from "./CartPart.js";
|
|
7
|
-
import { s as t } from "../../Cart.module-
|
|
7
|
+
import { s as t } from "../../Cart.module-B0W9CeI5.js";
|
|
8
8
|
function L({
|
|
9
9
|
open: c,
|
|
10
10
|
onClose: s,
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import './assets/Cart.css';const t = "_cartIconButton_1k7or_2", o = "_count_1k7or_9", e = "_cartContainer_1k7or_24", n = "_headerWrapper_1k7or_35", r = "_header_1k7or_35", _ = "_cartItems_1k7or_53", a = "_cartItem_1k7or_53", c = "_topRow_1k7or_79", s = "_itemInfo_1k7or_85", i = "_editUnit_1k7or_90", m = "_purchaseInformation_1k7or_102", I = "_availabilitySlot_1k7or_108", k = "_priceSlot_1k7or_111", u = "_itemManagement_1k7or_114", l = "_quantitySlot_1k7or_120", p = "_itemImage_1k7or_130", h = "_removeItem_1k7or_133", d = "_noItems_1k7or_143", S = "_subtotal_1k7or_150", y = "_checkoutButton_1k7or_157", b = {
|
|
2
|
-
cartIconButton: t,
|
|
3
|
-
count: o,
|
|
4
|
-
cartContainer: e,
|
|
5
|
-
headerWrapper: n,
|
|
6
|
-
header: r,
|
|
7
|
-
cartItems: _,
|
|
8
|
-
cartItem: a,
|
|
9
|
-
topRow: c,
|
|
10
|
-
itemInfo: s,
|
|
11
|
-
editUnit: i,
|
|
12
|
-
purchaseInformation: m,
|
|
13
|
-
availabilitySlot: I,
|
|
14
|
-
priceSlot: k,
|
|
15
|
-
itemManagement: u,
|
|
16
|
-
quantitySlot: l,
|
|
17
|
-
itemImage: p,
|
|
18
|
-
removeItem: h,
|
|
19
|
-
noItems: d,
|
|
20
|
-
subtotal: S,
|
|
21
|
-
checkoutButton: y
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
b as s
|
|
25
|
-
};
|