@caseparts-org/caseblocks 0.0.203 → 0.0.205
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/Cart.module-CcoNa4Nj.js +25 -0
- package/dist/assets/Cart.css +1 -1
- package/dist/molecules/Cart/Cart.js +1 -1
- package/dist/molecules/Cart/CartPart.js +1 -1
- package/dist/molecules/Cart/CartSlideInPanel.js +1 -1
- package/dist/organisms/Footer/Footer.js +1 -1
- package/package.json +5 -1
- package/dist/Cart.module-Bkx4eSqm.js +0 -25
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import './assets/Cart.css';const t = "_cartIconButton_m34kh_2", o = "_count_m34kh_16", e = "_cartContainer_m34kh_31", n = "_headerWrapper_m34kh_42", _ = "_header_m34kh_42", a = "_cartItems_m34kh_60", m = "_cartItem_m34kh_60", c = "_topRow_m34kh_86", r = "_itemInfo_m34kh_93", s = "_editUnit_m34kh_98", i = "_purchaseInformation_m34kh_114", h = "_availabilitySlot_m34kh_120", I = "_priceSlot_m34kh_123", k = "_itemManagement_m34kh_126", u = "_quantitySlot_m34kh_132", l = "_itemImage_m34kh_142", p = "_removeItem_m34kh_145", d = "_noItems_m34kh_155", S = "_subtotal_m34kh_162", y = "_checkoutButton_m34kh_169", b = {
|
|
2
|
+
cartIconButton: t,
|
|
3
|
+
count: o,
|
|
4
|
+
cartContainer: e,
|
|
5
|
+
headerWrapper: n,
|
|
6
|
+
header: _,
|
|
7
|
+
cartItems: a,
|
|
8
|
+
cartItem: m,
|
|
9
|
+
topRow: c,
|
|
10
|
+
itemInfo: r,
|
|
11
|
+
editUnit: s,
|
|
12
|
+
purchaseInformation: i,
|
|
13
|
+
availabilitySlot: h,
|
|
14
|
+
priceSlot: I,
|
|
15
|
+
itemManagement: k,
|
|
16
|
+
quantitySlot: u,
|
|
17
|
+
itemImage: l,
|
|
18
|
+
removeItem: p,
|
|
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_m34kh_2{position:relative;border:none;padding:0;margin:0;background-color:transparent;cursor:pointer;color:#000;transition:color .3s ease,transform .3s ease}._cartIconButton_m34kh_2:hover{color:var(--color-brand-primary-primary-teal-blue);transform:scale(1.04)}._count_m34kh_16{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_m34kh_31{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_m34kh_42{display:flex;flex-direction:row;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._headerWrapper_m34kh_42>button{padding:0;margin:0;background-color:transparent;border:none}._header_m34kh_42{display:flex;flex-direction:column;align-items:flex-start;width:100%}._cartItems_m34kh_60{height:100%;overflow-y:auto;overflow-x:hidden}._cartItems_m34kh_60 ul{margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-spacing-1xs)}._cartItem_m34kh_60{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_m34kh_86{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--spacing-spacing-4xs)}._itemInfo_m34kh_93{display:flex;flex-direction:column;align-items:flex-start}._editUnit_m34kh_98{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_m34kh_114{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:flex-start;width:100%}._availabilitySlot_m34kh_120{min-width:0}._priceSlot_m34kh_123{justify-self:end}._itemManagement_m34kh_126{display:flex;flex-direction:column;align-items:stretch;gap:var(--spacing-spacing-3xs)}._quantitySlot_m34kh_132{align-self:flex-end}._cartItem_m34kh_60 p{margin:0;padding:0;word-wrap:break-word;white-space:normal;overflow-wrap:break-word}._itemImage_m34kh_142{object-fit:contain}._removeItem_m34kh_145{border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;width:min-content;height:min-content}._noItems_m34kh_155{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%}._subtotal_m34kh_162{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--spacing-0-5)}._checkoutButton_m34kh_169{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-CcoNa4Nj.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-CcoNa4Nj.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-CcoNa4Nj.js";
|
|
8
8
|
function w({
|
|
9
9
|
open: p,
|
|
10
10
|
onClose: s,
|
|
@@ -184,7 +184,7 @@ function ie({
|
|
|
184
184
|
] })
|
|
185
185
|
] }),
|
|
186
186
|
/* @__PURE__ */ o(c, { flexDirection: "row", justifyContent: "flex-start", className: r["icon-gap"], children: [
|
|
187
|
-
/* @__PURE__ */ e(_, { iconKey: "fa-
|
|
187
|
+
/* @__PURE__ */ e(_, { iconKey: "fa-regular fa-sparkles", size: "sm", colorToken: "default-inverted" }),
|
|
188
188
|
/* @__PURE__ */ o("div", { className: m((u || d) && r["part-research-interactive"]), children: [
|
|
189
189
|
u || d ? /* @__PURE__ */ e(a, { href: u || "#", unstyled: !0, onClick: O, children: v }) : /* @__PURE__ */ e(l, { size: "xs", weight: "extra-light", colorToken: "footer", children: v }),
|
|
190
190
|
/* @__PURE__ */ e("br", {}),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@caseparts-org/caseblocks",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.205",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -11,14 +11,17 @@
|
|
|
11
11
|
"exports": {
|
|
12
12
|
".": {
|
|
13
13
|
"import": "./dist/main-server.js",
|
|
14
|
+
"default": "./dist/main-server.js",
|
|
14
15
|
"types": "./dist/main-server.d.ts"
|
|
15
16
|
},
|
|
16
17
|
"./client": {
|
|
17
18
|
"import": "./dist/main-client.js",
|
|
19
|
+
"default": "./dist/main-client.js",
|
|
18
20
|
"types": "./dist/main-client.d.ts"
|
|
19
21
|
},
|
|
20
22
|
"./browser": {
|
|
21
23
|
"import": "./dist/main-browser.js",
|
|
24
|
+
"default": "./dist/main-browser.js",
|
|
22
25
|
"types": "./dist/main-browser.d.ts"
|
|
23
26
|
},
|
|
24
27
|
"./styles/*": {
|
|
@@ -28,6 +31,7 @@
|
|
|
28
31
|
"scripts": {
|
|
29
32
|
"dev": "vite",
|
|
30
33
|
"build": "tsc -b ./tsconfig.lib.json && vite build",
|
|
34
|
+
"build:watch": "vite build --watch",
|
|
31
35
|
"lint": "eslint .",
|
|
32
36
|
"format": "prettier . --write",
|
|
33
37
|
"preview": "vite preview",
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
};
|