@caseparts-org/caseblocks 0.0.187 → 0.0.188
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_gazlm_2", a = "_count_gazlm_9", o = "_cartContainer_gazlm_24", e = "_headerWrapper_gazlm_35", n = "_header_gazlm_35", _ = "_cartItems_gazlm_53", m = "_cartItem_gazlm_53", c = "_topRow_gazlm_79", r = "_itemInfo_gazlm_85", l = "_editUnit_gazlm_90", s = "_purchaseInformation_gazlm_104", i = "_availabilitySlot_gazlm_110", g = "_priceSlot_gazlm_113", I = "_itemManagement_gazlm_116", u = "_quantitySlot_gazlm_122", z = "_itemImage_gazlm_132", p = "_removeItem_gazlm_135", h = "_noItems_gazlm_145", d = "_subtotal_gazlm_152", S = "_checkoutButton_gazlm_159", y = {
|
|
2
|
+
cartIconButton: t,
|
|
3
|
+
count: a,
|
|
4
|
+
cartContainer: o,
|
|
5
|
+
headerWrapper: e,
|
|
6
|
+
header: n,
|
|
7
|
+
cartItems: _,
|
|
8
|
+
cartItem: m,
|
|
9
|
+
topRow: c,
|
|
10
|
+
itemInfo: r,
|
|
11
|
+
editUnit: l,
|
|
12
|
+
purchaseInformation: s,
|
|
13
|
+
availabilitySlot: i,
|
|
14
|
+
priceSlot: g,
|
|
15
|
+
itemManagement: I,
|
|
16
|
+
quantitySlot: u,
|
|
17
|
+
itemImage: z,
|
|
18
|
+
removeItem: p,
|
|
19
|
+
noItems: h,
|
|
20
|
+
subtotal: d,
|
|
21
|
+
checkoutButton: S
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
y as s
|
|
25
|
+
};
|
package/dist/assets/Cart.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.
|
|
1
|
+
._cartIconButton_gazlm_2{position:relative;border:none;padding:0;margin:0;background-color:transparent}._count_gazlm_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_gazlm_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_gazlm_35{display:flex;flex-direction:row;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._headerWrapper_gazlm_35>button{padding:0;margin:0;background-color:transparent;border:none}._header_gazlm_35{display:flex;flex-direction:column;align-items:flex-start;width:100%}._cartItems_gazlm_53{height:100%;overflow-y:auto;overflow-x:hidden}._cartItems_gazlm_53 ul{margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-spacing-1xs)}._cartItem_gazlm_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_gazlm_79{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}._itemInfo_gazlm_85{display:flex;flex-direction:column;align-items:flex-start}._editUnit_gazlm_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_gazlm_104{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;width:100%}._availabilitySlot_gazlm_110{min-width:0}._priceSlot_gazlm_113{justify-self:end}._itemManagement_gazlm_116{display:flex;flex-direction:column;align-items:stretch;gap:var(--spacing-spacing-3xs)}._quantitySlot_gazlm_122{align-self:flex-end}._cartItem_gazlm_53 p{margin:0;padding:0;word-wrap:break-word;white-space:normal;overflow-wrap:break-word}._itemImage_gazlm_132{object-fit:contain}._removeItem_gazlm_135{border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;width:min-content;height:min-content}._noItems_gazlm_145{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%}._subtotal_gazlm_152{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--spacing-0-5)}._checkoutButton_gazlm_159{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-BwqCrR3s.js";
|
|
6
6
|
const S = l.forwardRef(function({
|
|
7
7
|
cart: i,
|
|
8
8
|
open: t = !1,
|
|
@@ -8,7 +8,7 @@ import { QuantityInput as A } from "../QuantityInput/QuantityInput.js";
|
|
|
8
8
|
import { Icon as o } from "../../atoms/Icon/Icon.js";
|
|
9
9
|
import { Tooltip as B } from "../../atoms/Tooltip/Tooltip.js";
|
|
10
10
|
import { c as D } from "../../clsx-OuTLNxxd.js";
|
|
11
|
-
import { s as i } from "../../Cart.module-
|
|
11
|
+
import { s as i } from "../../Cart.module-BwqCrR3s.js";
|
|
12
12
|
function X({
|
|
13
13
|
imageUrl: b,
|
|
14
14
|
imageAlt: g = "Product image",
|
|
@@ -4,7 +4,7 @@ import { Text as r } from "../../atoms/Text/Text.js";
|
|
|
4
4
|
import { Button as h } from "../../atoms/Button/Button.js";
|
|
5
5
|
import { Icon as z } 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-BwqCrR3s.js";
|
|
8
8
|
function L({
|
|
9
9
|
open: u,
|
|
10
10
|
onClose: s,
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
};
|