@caseparts-org/caseblocks 0.0.266 → 0.0.267

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,38 @@
1
+ import './assets/Cart.css';const t = "_cartIconButton_c4sg9_2", n = "_count_c4sg9_15", o = "_cartContainer_c4sg9_30", e = "_headerWrapper_c4sg9_42", a = "_header_c4sg9_42", c = "_cartItems_c4sg9_60", i = "_cartItem_c4sg9_60", s = "_cartItemContent_c4sg9_78", _ = "_carItemSeparator_c4sg9_90", r = "_itemContainer_c4sg9_94", m = "_topRow_c4sg9_98", d = "_itemInfo_c4sg9_105", g = "_unitDetails_c4sg9_110", I = "_editUnit_c4sg9_114", l = "_purchaseInformation_c4sg9_130", p = "_availabilitySlot_c4sg9_136", u = "_priceSlot_c4sg9_143", A = "_itemManagement_c4sg9_145", C = "_itemImage_c4sg9_158", h = "_removeItem_c4sg9_161", v = "_cartItemAdmonitionsPanel_c4sg9_170", R = "_admonitionsPanelCollapsed_c4sg9_175", S = "_cartItemAdmonitionsTrigger_c4sg9_180", T = "_cartItemAdmonitionHeader_c4sg9_192", x = "_admonitionsReveal_c4sg9_200", b = "_admonitionsRevealExpanded_c4sg9_205", f = "_cartItemAdmonitions_c4sg9_170", B = "_admonitionTriggerIconExpanded_c4sg9_211", E = "_admonitionTriggerIcon_c4sg9_211", P = "_cartItemAdmonitionContent_c4sg9_224", y = "_noItems_c4sg9_234", k = "_subtotal_c4sg9_241", w = "_checkoutButton_c4sg9_248", D = {
2
+ cartIconButton: t,
3
+ count: n,
4
+ cartContainer: o,
5
+ headerWrapper: e,
6
+ header: a,
7
+ cartItems: c,
8
+ cartItem: i,
9
+ cartItemContent: s,
10
+ carItemSeparator: _,
11
+ itemContainer: r,
12
+ topRow: m,
13
+ itemInfo: d,
14
+ unitDetails: g,
15
+ editUnit: I,
16
+ purchaseInformation: l,
17
+ availabilitySlot: p,
18
+ priceSlot: u,
19
+ itemManagement: A,
20
+ itemImage: C,
21
+ removeItem: h,
22
+ cartItemAdmonitionsPanel: v,
23
+ admonitionsPanelCollapsed: R,
24
+ cartItemAdmonitionsTrigger: S,
25
+ cartItemAdmonitionHeader: T,
26
+ admonitionsReveal: x,
27
+ admonitionsRevealExpanded: b,
28
+ cartItemAdmonitions: f,
29
+ admonitionTriggerIconExpanded: B,
30
+ admonitionTriggerIcon: E,
31
+ cartItemAdmonitionContent: P,
32
+ noItems: y,
33
+ subtotal: k,
34
+ checkoutButton: w
35
+ };
36
+ export {
37
+ D as s
38
+ };
@@ -1 +1 @@
1
- ._cartIconButton_bxnb6_2{position:relative;border:none;padding:0;margin:0;background-color:transparent;cursor:pointer;color:#000;transition:color .3s ease,transform .3s ease}._cartIconButton_bxnb6_2:hover{color:var(--color-brand-primary-primary-teal-blue)}._count_bxnb6_15{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_bxnb6_30{background-color:#f9f9f9;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_bxnb6_42{display:flex;flex-direction:row;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._headerWrapper_bxnb6_42>button{padding:0;margin:0;background-color:transparent;border:none}._header_bxnb6_42{display:flex;flex-direction:column;align-items:flex-start;width:100%}._cartItems_bxnb6_60{height:100%;overflow-y:auto;overflow-x:hidden}._cartItems_bxnb6_60 ul{margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-spacing-1xs)}._cartItem_bxnb6_60{background-color:#fff;border:1px solid var(--color-neutrals-neutral-2);border-radius:var(--border-radius-sm)}._cartItemContent_bxnb6_78{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--spacing-spacing-2xs);align-items:start;box-sizing:border-box;position:relative;list-style:none;margin:0;padding:var(--spacing-spacing-2xs);width:100%}._carItemSeparator_bxnb6_90{width:100%;border-bottom:1px solid var(--border-border-primary)}._itemContainer_bxnb6_94{display:grid;gap:var(--spacing-spacing-3xs)}._topRow_bxnb6_98{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--spacing-spacing-4xs)}._itemInfo_bxnb6_105{display:flex;flex-direction:column;align-items:flex-start}._editUnit_bxnb6_110{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_bxnb6_126{display:flex;flex-direction:column;align-items:flex-end;gap:var(--spacing-spacing-3xs)}._availabilitySlot_bxnb6_132{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-3xs)}._itemManagement_bxnb6_141{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}._cartItem_bxnb6_60 p{margin:0;padding:0;word-wrap:break-word;white-space:normal;overflow-wrap:break-word}._itemImage_bxnb6_154{object-fit:contain}._removeItem_bxnb6_157{border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;width:min-content;height:min-content}._cartItemAdmonitionsPanel_bxnb6_166{padding:var(--spacing-spacing-2xs);display:grid;gap:var(--spacing-spacing-2xs)}._admonitionsPanelCollapsed_bxnb6_171{padding-block:var(--spacing-spacing-3xs);gap:0}._cartItemAdmonitionsTrigger_bxnb6_176{border:none;background-color:transparent;outline:none;margin:0;padding:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:space-between}._cartItemAdmonitionHeader_bxnb6_188{display:inline-flex;align-items:center;gap:var(--spacing-spacing-4xs)}._cartItemAdmonitionHeader_bxnb6_188>span{text-align:start}._admonitionsReveal_bxnb6_196{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in}._admonitionsRevealExpanded_bxnb6_201{grid-template-rows:1fr}._admonitionsReveal_bxnb6_196>._cartItemAdmonitions_bxnb6_166{overflow:hidden}._admonitionTriggerIconExpanded_bxnb6_207{transform:rotate(180deg)}._admonitionTriggerIcon_bxnb6_207{transition:transform .2s ease-in}._cartItemAdmonitions_bxnb6_166{list-style:none;margin:0;padding:0}._cartItemAdmonitionContent_bxnb6_220{font-size:var(--font-size-xs)}._noItems_bxnb6_230{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%}._subtotal_bxnb6_237{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--spacing-0-5)}._checkoutButton_bxnb6_244{width:100%;height:fit-content;display:inline-flex;gap:var(--spacing-spacing-2xs)}
1
+ ._cartIconButton_c4sg9_2{position:relative;border:none;padding:0;margin:0;background-color:transparent;cursor:pointer;color:#000;transition:color .3s ease,transform .3s ease}._cartIconButton_c4sg9_2:hover{color:var(--color-brand-primary-primary-teal-blue)}._count_c4sg9_15{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_c4sg9_30{background-color:#f9f9f9;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_c4sg9_42{display:flex;flex-direction:row;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._headerWrapper_c4sg9_42>button{padding:0;margin:0;background-color:transparent;border:none}._header_c4sg9_42{display:flex;flex-direction:column;align-items:flex-start;width:100%}._cartItems_c4sg9_60{height:100%;overflow-y:auto;overflow-x:hidden}._cartItems_c4sg9_60 ul{margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-spacing-1xs)}._cartItem_c4sg9_60{background-color:#fff;border:1px solid var(--color-neutrals-neutral-2);border-radius:var(--border-radius-sm)}._cartItemContent_c4sg9_78{display:grid;grid-template-columns:auto minmax(0,1fr);gap:var(--spacing-spacing-2xs);align-items:start;box-sizing:border-box;position:relative;list-style:none;margin:0;padding:var(--spacing-spacing-2xs);width:100%}._carItemSeparator_c4sg9_90{width:100%;border-bottom:1px solid var(--border-border-primary)}._itemContainer_c4sg9_94{display:grid;gap:var(--spacing-spacing-3xs)}._topRow_c4sg9_98{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;gap:var(--spacing-spacing-4xs)}._itemInfo_c4sg9_105{display:flex;flex-direction:column;align-items:flex-start}._unitDetails_c4sg9_110{min-width:0;width:100%}._editUnit_c4sg9_114{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_c4sg9_130{display:flex;flex-direction:column;align-items:flex-end;gap:var(--spacing-spacing-3xs)}._availabilitySlot_c4sg9_136{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-3xs)}._itemManagement_c4sg9_145{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}._cartItem_c4sg9_60 p{margin:0;padding:0;word-wrap:break-word;white-space:normal;overflow-wrap:break-word}._itemImage_c4sg9_158{object-fit:contain}._removeItem_c4sg9_161{border:none;background-color:transparent;padding:0;margin:0;cursor:pointer;width:min-content;height:min-content}._cartItemAdmonitionsPanel_c4sg9_170{padding:var(--spacing-spacing-2xs);display:grid;gap:var(--spacing-spacing-2xs)}._admonitionsPanelCollapsed_c4sg9_175{padding-block:var(--spacing-spacing-3xs);gap:0}._cartItemAdmonitionsTrigger_c4sg9_180{border:none;background-color:transparent;outline:none;margin:0;padding:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:space-between}._cartItemAdmonitionHeader_c4sg9_192{display:inline-flex;align-items:center;gap:var(--spacing-spacing-4xs)}._cartItemAdmonitionHeader_c4sg9_192>span{text-align:start}._admonitionsReveal_c4sg9_200{display:grid;grid-template-rows:0fr;transition:grid-template-rows .2s ease-in}._admonitionsRevealExpanded_c4sg9_205{grid-template-rows:1fr}._admonitionsReveal_c4sg9_200>._cartItemAdmonitions_c4sg9_170{overflow:hidden}._admonitionTriggerIconExpanded_c4sg9_211{transform:rotate(180deg)}._admonitionTriggerIcon_c4sg9_211{transition:transform .2s ease-in}._cartItemAdmonitions_c4sg9_170{list-style:none;margin:0;padding:0}._cartItemAdmonitionContent_c4sg9_224{font-size:var(--font-size-xs)}._noItems_c4sg9_234{display:flex;flex-direction:row;align-items:center;justify-content:center;height:100%}._subtotal_c4sg9_241{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:var(--spacing-0-5)}._checkoutButton_c4sg9_248{width:100%;height:fit-content;display:inline-flex;gap:var(--spacing-spacing-2xs)}
@@ -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-BCmEDBeq.js";
5
+ import { s as m } from "../../Cart.module-O7qDv3cN.js";
6
6
  const S = l.forwardRef(function({
7
7
  cart: i,
8
8
  open: t = !1,
@@ -1,4 +1,4 @@
1
- import { jsxs as c, jsx as l } from "react/jsx-runtime";
1
+ import { jsxs as c, jsx as r } from "react/jsx-runtime";
2
2
  import J, { useState as Q, useId as V } from "react";
3
3
  import { Link as W } from "../../atoms/Link/Link.js";
4
4
  import { Text as t } from "../../atoms/Text/Text.js";
@@ -6,28 +6,28 @@ import { Image as X } from "../../atoms/Image/Image.js";
6
6
  import { Availability as Y } from "../Availability/Availability.js";
7
7
  import { Pricing as Z } from "../Pricing/Pricing.js";
8
8
  import { QuantityInput as $ } from "../QuantityInput/QuantityInput.js";
9
- import { Icon as m } from "../../atoms/Icon/Icon.js";
9
+ import { Icon as n } from "../../atoms/Icon/Icon.js";
10
10
  import { Pill as ee } from "../../atoms/Pill/Pill.js";
11
11
  import { Tooltip as re } from "../../atoms/Tooltip/Tooltip.js";
12
- import { c as n } from "../../clsx-OuTLNxxd.js";
13
- import { s as r } from "../../Cart.module-BCmEDBeq.js";
12
+ import { c as f } from "../../clsx-OuTLNxxd.js";
13
+ import { s as l } from "../../Cart.module-O7qDv3cN.js";
14
14
  import { ADMONITION_ICON_COLOR_TOKENS as le, ADMONITION_DEFAULT_ICONS as ae } from "../Admonition/admonitionTokens.js";
15
15
  import { Admonition as ce } from "../Admonition/Admonition.js";
16
16
  function be({
17
17
  imageUrl: O,
18
18
  imageAlt: S = "Product image",
19
- title: d,
19
+ title: p,
20
20
  titleHref: u,
21
- onTitleNavigate: f,
21
+ onTitleNavigate: d,
22
22
  partNumber: I,
23
23
  unit: _,
24
24
  make: E,
25
25
  model: M,
26
26
  serial: R,
27
27
  custom: w,
28
- availabilityId: L,
28
+ availabilityId: D,
29
29
  availability: g,
30
- inventory: D,
30
+ inventory: L,
31
31
  source: i = "none",
32
32
  priceLabel: j = "List Price",
33
33
  price: N,
@@ -39,72 +39,72 @@ function be({
39
39
  requiresUnitDetails: F = !1,
40
40
  className: q,
41
41
  admonitions: e,
42
- AdmonitionContent: k,
42
+ AdmonitionContent: x,
43
43
  ...B
44
44
  }) {
45
- var v, x, C, A, K, P;
45
+ var k, v, C, A, K, P;
46
46
  const [s, U] = Q(!1), z = V();
47
47
  function G(a) {
48
- a.defaultPrevented || a.button === 0 && (a.metaKey || a.altKey || a.ctrlKey || a.shiftKey || a.currentTarget.target && a.currentTarget.target !== "_self" || f == null || f(a));
48
+ a.defaultPrevented || a.button === 0 && (a.metaKey || a.altKey || a.ctrlKey || a.shiftKey || a.currentTarget.target && a.currentTarget.target !== "_self" || d == null || d(a));
49
49
  }
50
- const p = _ || [E, M, R].filter(Boolean).join(" / "), H = typeof h == "number" && Number.isFinite(h) ? h : void 0;
51
- return /* @__PURE__ */ c("li", { className: n(r.cartItem, q), ...B, children: [
52
- /* @__PURE__ */ c("div", { className: r.cartItemContent, children: [
53
- /* @__PURE__ */ l(X, { height: 50, width: 50, src: O || "", alt: S, className: r.itemImage }),
54
- /* @__PURE__ */ c("div", { className: r.itemContainer, children: [
55
- /* @__PURE__ */ c("div", { className: r.topRow, children: [
56
- /* @__PURE__ */ c("div", { className: r.itemInfo, children: [
57
- /* @__PURE__ */ l(t, { size: "sm", weight: "semibold", children: u ? /* @__PURE__ */ l(W, { href: u, onClick: G, children: d }) : d }),
50
+ const m = _ || [E, M, R].filter(Boolean).join(" / "), H = typeof h == "number" && Number.isFinite(h) ? h : void 0;
51
+ return /* @__PURE__ */ c("li", { className: f(l.cartItem, q), ...B, children: [
52
+ /* @__PURE__ */ c("div", { className: l.cartItemContent, children: [
53
+ /* @__PURE__ */ r(X, { height: 50, width: 50, src: O || "", alt: S, className: l.itemImage }),
54
+ /* @__PURE__ */ c("div", { className: l.itemContainer, children: [
55
+ /* @__PURE__ */ c("div", { className: l.topRow, children: [
56
+ /* @__PURE__ */ c("div", { className: l.itemInfo, children: [
57
+ /* @__PURE__ */ r(t, { size: "sm", weight: "semibold", children: u ? /* @__PURE__ */ r(W, { href: u, onClick: G, children: p }) : p }),
58
58
  I != null && /* @__PURE__ */ c(t, { size: "sm", children: [
59
- /* @__PURE__ */ l(t, { colorToken: "quaternary", size: "xs", children: w ? "Specs " : "Part # " }),
59
+ /* @__PURE__ */ r(t, { colorToken: "quaternary", size: "xs", children: w ? "Specs " : "Part # " }),
60
60
  I
61
- ] }),
62
- p && o && (F ? /* @__PURE__ */ l(
63
- re,
64
- {
65
- trigger: /* @__PURE__ */ c(
66
- "button",
67
- {
68
- onClick: o,
69
- className: r.editUnit,
70
- "aria-label": "Edit make, model, and serial",
71
- type: "button",
72
- children: [
73
- /* @__PURE__ */ l(m, { iconKey: "fa-light fa-file-pen", size: "sm" }),
74
- p
75
- ]
76
- }
77
- ),
78
- children: /* @__PURE__ */ l(t, { size: "sm", children: "Requires Make, Model, and Serial" })
79
- }
80
- ) : /* @__PURE__ */ c(
61
+ ] })
62
+ ] }),
63
+ T && /* @__PURE__ */ r("button", { onClick: T, className: l.removeItem, "aria-label": "Remove item", type: "button", children: /* @__PURE__ */ r(n, { iconKey: "fa-regular fa-trash", size: "sm" }) })
64
+ ] }),
65
+ m && /* @__PURE__ */ r("div", { className: l.unitDetails, children: o ? F ? /* @__PURE__ */ r(
66
+ re,
67
+ {
68
+ trigger: /* @__PURE__ */ c(
81
69
  "button",
82
70
  {
83
71
  onClick: o,
84
- className: r.editUnit,
72
+ className: l.editUnit,
85
73
  "aria-label": "Edit make, model, and serial",
86
74
  type: "button",
87
75
  children: [
88
- /* @__PURE__ */ l(m, { iconKey: "fa-light fa-file-pen", size: "sm" }),
89
- /* @__PURE__ */ l(t, { size: "sm", children: p })
76
+ /* @__PURE__ */ r(n, { iconKey: "fa-light fa-file-pen", size: "sm" }),
77
+ m
90
78
  ]
91
79
  }
92
- ))
93
- ] }),
94
- T && /* @__PURE__ */ l("button", { onClick: T, className: r.removeItem, "aria-label": "Remove item", type: "button", children: /* @__PURE__ */ l(m, { iconKey: "fa-regular fa-trash", size: "sm" }) })
95
- ] }),
96
- /* @__PURE__ */ c("div", { className: r.itemManagement, children: [
97
- /* @__PURE__ */ c("div", { className: r.availabilitySlot, children: [
98
- g && /* @__PURE__ */ l(
80
+ ),
81
+ children: /* @__PURE__ */ r(t, { size: "xs", children: "Requires Make, Model, and Serial" })
82
+ }
83
+ ) : /* @__PURE__ */ c(
84
+ "button",
85
+ {
86
+ onClick: o,
87
+ className: l.editUnit,
88
+ "aria-label": "Edit make, model, and serial",
89
+ type: "button",
90
+ children: [
91
+ /* @__PURE__ */ r(n, { iconKey: "fa-light fa-file-pen", size: "sm" }),
92
+ /* @__PURE__ */ r(t, { size: "xs", children: m })
93
+ ]
94
+ }
95
+ ) : /* @__PURE__ */ r(t, { size: "xs", children: m }) }),
96
+ /* @__PURE__ */ c("div", { className: l.itemManagement, children: [
97
+ /* @__PURE__ */ c("div", { className: l.availabilitySlot, children: [
98
+ g && /* @__PURE__ */ r(
99
99
  Y,
100
100
  {
101
- availId: L || "not-found",
101
+ availId: D || "not-found",
102
102
  availDescription: g,
103
103
  enableTooltip: !0,
104
- inventory: D
104
+ inventory: L
105
105
  }
106
106
  ),
107
- i !== "none" && /* @__PURE__ */ l(
107
+ i !== "none" && /* @__PURE__ */ r(
108
108
  ee,
109
109
  {
110
110
  colorToken: i === "cart" ? "neutral" : "success",
@@ -115,9 +115,9 @@ function be({
115
115
  }
116
116
  )
117
117
  ] }),
118
- /* @__PURE__ */ c("div", { className: r.purchaseInformation, children: [
119
- /* @__PURE__ */ l("div", { className: r.priceSlot, children: N && /* @__PURE__ */ l(Z, { pricingLabel: j, price: N }) }),
120
- typeof y == "number" && b && /* @__PURE__ */ l(
118
+ /* @__PURE__ */ c("div", { className: l.purchaseInformation, children: [
119
+ /* @__PURE__ */ r("div", { className: l.priceSlot, children: N && /* @__PURE__ */ r(Z, { pricingLabel: j, price: N }) }),
120
+ typeof y == "number" && b && /* @__PURE__ */ r(
121
121
  $,
122
122
  {
123
123
  quantity: y,
@@ -131,22 +131,22 @@ function be({
131
131
  ] })
132
132
  ] }),
133
133
  ((e == null ? void 0 : e.length) ?? 0) > 0 && /* @__PURE__ */ c(J.Fragment, { children: [
134
- /* @__PURE__ */ l("div", { className: r.carItemSeparator }),
135
- /* @__PURE__ */ c("div", { className: n(r.cartItemAdmonitionsPanel, !s && r.admonitionsPanelCollapsed), children: [
134
+ /* @__PURE__ */ r("div", { className: l.carItemSeparator }),
135
+ /* @__PURE__ */ c("div", { className: f(l.cartItemAdmonitionsPanel, !s && l.admonitionsPanelCollapsed), children: [
136
136
  /* @__PURE__ */ c(
137
137
  "button",
138
138
  {
139
- className: r.cartItemAdmonitionsTrigger,
139
+ className: l.cartItemAdmonitionsTrigger,
140
140
  onClick: () => U(!s),
141
141
  type: "button",
142
142
  "aria-expanded": s,
143
143
  "aria-controls": z,
144
144
  children: [
145
- /* @__PURE__ */ c("div", { className: r.cartItemAdmonitionHeader, children: [
146
- /* @__PURE__ */ l(
147
- m,
145
+ /* @__PURE__ */ c("div", { className: l.cartItemAdmonitionHeader, children: [
146
+ /* @__PURE__ */ r(
147
+ n,
148
148
  {
149
- iconKey: ((x = (v = e == null ? void 0 : e[0]) == null ? void 0 : v.icon) == null ? void 0 : x.trim()) || ae[(C = e == null ? void 0 : e[0]) == null ? void 0 : C.variant],
149
+ iconKey: ((v = (k = e == null ? void 0 : e[0]) == null ? void 0 : k.icon) == null ? void 0 : v.trim()) || ae[(C = e == null ? void 0 : e[0]) == null ? void 0 : C.variant],
150
150
  size: "sm",
151
151
  colorToken: le[((A = e == null ? void 0 : e[0]) == null ? void 0 : A.variant) ?? "unknown"] ?? "default"
152
152
  }
@@ -161,16 +161,16 @@ function be({
161
161
  ] })
162
162
  ] })
163
163
  ] }),
164
- /* @__PURE__ */ l(m, { className: n(r.admonitionTriggerIcon, s ? r.admonitionTriggerIconExpanded : r.admonitionTriggerIconCollapsed), iconKey: "fa-regular fa-chevron-down", size: "xs", colorToken: "secondary" })
164
+ /* @__PURE__ */ r(n, { className: f(l.admonitionTriggerIcon, s ? l.admonitionTriggerIconExpanded : l.admonitionTriggerIconCollapsed), iconKey: "fa-regular fa-chevron-down", size: "xs", colorToken: "secondary" })
165
165
  ]
166
166
  }
167
167
  ),
168
- /* @__PURE__ */ l(
168
+ /* @__PURE__ */ r(
169
169
  "div",
170
170
  {
171
- className: n(r.admonitionsReveal, s && r.admonitionsRevealExpanded),
171
+ className: f(l.admonitionsReveal, s && l.admonitionsRevealExpanded),
172
172
  id: z,
173
- children: /* @__PURE__ */ l("ol", { className: r.cartItemAdmonitions, children: e == null ? void 0 : e.map((a) => /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(
173
+ children: /* @__PURE__ */ r("ol", { className: l.cartItemAdmonitions, children: e == null ? void 0 : e.map((a) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ r(
174
174
  ce,
175
175
  {
176
176
  admonitionType: a.type,
@@ -178,7 +178,7 @@ function be({
178
178
  size: "sm",
179
179
  icon: a.icon,
180
180
  title: a.title,
181
- children: k ? /* @__PURE__ */ l(k, { admonition: a, className: r.cartItemAdmonitionContent }) : a.content
181
+ children: x ? /* @__PURE__ */ r(x, { admonition: a, className: l.cartItemAdmonitionContent }) : a.content
182
182
  }
183
183
  ) }, a.variant)) })
184
184
  }
@@ -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 z } from "./CartPart.js";
7
- import { s as t } from "../../Cart.module-BCmEDBeq.js";
7
+ import { s as t } from "../../Cart.module-O7qDv3cN.js";
8
8
  function q({
9
9
  open: p,
10
10
  onClose: m,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.266",
4
+ "version": "0.0.267",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",
@@ -1,37 +0,0 @@
1
- import './assets/Cart.css';const t = "_cartIconButton_bxnb6_2", n = "_count_bxnb6_15", o = "_cartContainer_bxnb6_30", e = "_headerWrapper_bxnb6_42", a = "_header_bxnb6_42", i = "_cartItems_bxnb6_60", _ = "_cartItem_bxnb6_60", r = "_cartItemContent_bxnb6_78", c = "_carItemSeparator_bxnb6_90", m = "_itemContainer_bxnb6_94", b = "_topRow_bxnb6_98", s = "_itemInfo_bxnb6_105", d = "_editUnit_bxnb6_110", I = "_purchaseInformation_bxnb6_126", x = "_availabilitySlot_bxnb6_132", l = "_priceSlot_bxnb6_139", p = "_itemManagement_bxnb6_141", g = "_itemImage_bxnb6_154", u = "_removeItem_bxnb6_157", A = "_cartItemAdmonitionsPanel_bxnb6_166", C = "_admonitionsPanelCollapsed_bxnb6_171", h = "_cartItemAdmonitionsTrigger_bxnb6_176", v = "_cartItemAdmonitionHeader_bxnb6_188", R = "_admonitionsReveal_bxnb6_196", S = "_admonitionsRevealExpanded_bxnb6_201", T = "_cartItemAdmonitions_bxnb6_166", f = "_admonitionTriggerIconExpanded_bxnb6_207", B = "_admonitionTriggerIcon_bxnb6_207", E = "_cartItemAdmonitionContent_bxnb6_220", P = "_noItems_bxnb6_230", y = "_subtotal_bxnb6_237", k = "_checkoutButton_bxnb6_244", w = {
2
- cartIconButton: t,
3
- count: n,
4
- cartContainer: o,
5
- headerWrapper: e,
6
- header: a,
7
- cartItems: i,
8
- cartItem: _,
9
- cartItemContent: r,
10
- carItemSeparator: c,
11
- itemContainer: m,
12
- topRow: b,
13
- itemInfo: s,
14
- editUnit: d,
15
- purchaseInformation: I,
16
- availabilitySlot: x,
17
- priceSlot: l,
18
- itemManagement: p,
19
- itemImage: g,
20
- removeItem: u,
21
- cartItemAdmonitionsPanel: A,
22
- admonitionsPanelCollapsed: C,
23
- cartItemAdmonitionsTrigger: h,
24
- cartItemAdmonitionHeader: v,
25
- admonitionsReveal: R,
26
- admonitionsRevealExpanded: S,
27
- cartItemAdmonitions: T,
28
- admonitionTriggerIconExpanded: f,
29
- admonitionTriggerIcon: B,
30
- cartItemAdmonitionContent: E,
31
- noItems: P,
32
- subtotal: y,
33
- checkoutButton: k
34
- };
35
- export {
36
- w as s
37
- };