@caseparts-org/caseblocks 0.0.198 → 0.0.199
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_pdd52_2", o = "_count_pdd52_9", e = "_cartContainer_pdd52_24", n = "_headerWrapper_pdd52_35", _ = "_header_pdd52_35", a = "_cartItems_pdd52_53", c = "_cartItem_pdd52_53", d = "_topRow_pdd52_79", r = "_itemInfo_pdd52_86", s = "_editUnit_pdd52_91", i = "_purchaseInformation_pdd52_107", p = "_availabilitySlot_pdd52_113", m = "_priceSlot_pdd52_116", I = "_itemManagement_pdd52_119", u = "_quantitySlot_pdd52_125", l = "_itemImage_pdd52_135", h = "_removeItem_pdd52_138", S = "_noItems_pdd52_148", y = "_subtotal_pdd52_155", b = "_checkoutButton_pdd52_162", f = {
|
|
2
|
+
cartIconButton: t,
|
|
3
|
+
count: o,
|
|
4
|
+
cartContainer: e,
|
|
5
|
+
headerWrapper: n,
|
|
6
|
+
header: _,
|
|
7
|
+
cartItems: a,
|
|
8
|
+
cartItem: c,
|
|
9
|
+
topRow: d,
|
|
10
|
+
itemInfo: r,
|
|
11
|
+
editUnit: s,
|
|
12
|
+
purchaseInformation: i,
|
|
13
|
+
availabilitySlot: p,
|
|
14
|
+
priceSlot: m,
|
|
15
|
+
itemManagement: I,
|
|
16
|
+
quantitySlot: u,
|
|
17
|
+
itemImage: l,
|
|
18
|
+
removeItem: h,
|
|
19
|
+
noItems: S,
|
|
20
|
+
subtotal: y,
|
|
21
|
+
checkoutButton: b
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
f as s
|
|
25
|
+
};
|
package/dist/assets/Cart.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._cartIconButton_pdd52_2{position:relative;border:none;padding:0;margin:0;background-color:transparent}._count_pdd52_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_pdd52_24{height:100vh;width:100%;min-width:320px;max-width:375px;box-sizing:border-box;display:grid;grid-template-rows:auto auto 1fr auto auto;gap:var(--spacing-1);padding:var(--spacing-1)}._headerWrapper_pdd52_35{display:flex;flex-direction:row;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._headerWrapper_pdd52_35>button{padding:0;margin:0;background-color:transparent;border:none}._header_pdd52_35{display:flex;flex-direction:column;align-items:flex-start;width:100%}._cartItems_pdd52_53{height:100%;overflow-y:auto;overflow-x:hidden}._cartItems_pdd52_53 ul{margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-spacing-1xs)}._cartItem_pdd52_53{display:grid;grid-template-columns:auto minmax(0,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_pdd52_79{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--spacing-spacing-4xs)}._itemInfo_pdd52_86{display:flex;flex-direction:column;align-items:flex-start}._editUnit_pdd52_91{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-wrap:break-word;font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold)}._purchaseInformation_pdd52_107{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;width:100%}._availabilitySlot_pdd52_113{min-width:0}._priceSlot_pdd52_116{justify-self:end}._itemManagement_pdd52_119{display:flex;flex-direction:column;align-items:stretch;gap:var(--spacing-spacing-3xs)}._quantitySlot_pdd52_125{align-self:flex-end}._cartItem_pdd52_53 p{margin:0;padding:0;word-wrap:break-word;white-space:normal;overflow-wrap:break-word}._itemImage_pdd52_135{object-fit:contain}._removeItem_pdd52_138{border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;width:min-content;height:min-content}._noItems_pdd52_148{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%}._subtotal_pdd52_155{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--spacing-0-5)}._checkoutButton_pdd52_162{width:100%;height:fit-content}
|
|
@@ -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-Bkx4eSqm.js";
|
|
6
6
|
const S = l.forwardRef(function({
|
|
7
7
|
cart: i,
|
|
8
8
|
open: t = !1,
|
|
@@ -8,7 +8,7 @@ import { QuantityInput as D } from "../QuantityInput/QuantityInput.js";
|
|
|
8
8
|
import { Icon as c } from "../../atoms/Icon/Icon.js";
|
|
9
9
|
import { Tooltip as F } from "../../atoms/Tooltip/Tooltip.js";
|
|
10
10
|
import { c as _ } from "../../clsx-OuTLNxxd.js";
|
|
11
|
-
import { s as i } from "../../Cart.module-
|
|
11
|
+
import { s as i } from "../../Cart.module-Bkx4eSqm.js";
|
|
12
12
|
function $({
|
|
13
13
|
imageUrl: g,
|
|
14
14
|
imageAlt: I = "Product image",
|
|
@@ -4,7 +4,7 @@ import { Text as l } from "../../atoms/Text/Text.js";
|
|
|
4
4
|
import { Button as h } from "../../atoms/Button/Button.js";
|
|
5
5
|
import { Icon as u } from "../../atoms/Icon/Icon.js";
|
|
6
6
|
import { CartPart as C } from "./CartPart.js";
|
|
7
|
-
import { s as t } from "../../Cart.module-
|
|
7
|
+
import { s as t } from "../../Cart.module-Bkx4eSqm.js";
|
|
8
8
|
function w({
|
|
9
9
|
open: p,
|
|
10
10
|
onClose: s,
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import './assets/Cart.css';const t = "_cartIconButton_pzhyb_2", o = "_count_pzhyb_9", e = "_cartContainer_pzhyb_24", n = "_headerWrapper_pzhyb_35", _ = "_header_pzhyb_35", a = "_cartItems_pzhyb_53", c = "_cartItem_pzhyb_53", r = "_topRow_pzhyb_79", s = "_itemInfo_pzhyb_85", i = "_editUnit_pzhyb_90", p = "_purchaseInformation_pzhyb_106", m = "_availabilitySlot_pzhyb_112", h = "_priceSlot_pzhyb_115", y = "_itemManagement_pzhyb_118", b = "_quantitySlot_pzhyb_124", I = "_itemImage_pzhyb_134", u = "_removeItem_pzhyb_137", z = "_noItems_pzhyb_147", l = "_subtotal_pzhyb_154", d = "_checkoutButton_pzhyb_161", S = {
|
|
2
|
-
cartIconButton: t,
|
|
3
|
-
count: o,
|
|
4
|
-
cartContainer: e,
|
|
5
|
-
headerWrapper: n,
|
|
6
|
-
header: _,
|
|
7
|
-
cartItems: a,
|
|
8
|
-
cartItem: c,
|
|
9
|
-
topRow: r,
|
|
10
|
-
itemInfo: s,
|
|
11
|
-
editUnit: i,
|
|
12
|
-
purchaseInformation: p,
|
|
13
|
-
availabilitySlot: m,
|
|
14
|
-
priceSlot: h,
|
|
15
|
-
itemManagement: y,
|
|
16
|
-
quantitySlot: b,
|
|
17
|
-
itemImage: I,
|
|
18
|
-
removeItem: u,
|
|
19
|
-
noItems: z,
|
|
20
|
-
subtotal: l,
|
|
21
|
-
checkoutButton: d
|
|
22
|
-
};
|
|
23
|
-
export {
|
|
24
|
-
S as s
|
|
25
|
-
};
|