@caseparts-org/caseblocks 0.0.217 → 0.0.218

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.
@@ -1 +1 @@
1
- ._productCard_sx511_3{box-sizing:border-box;position:relative;background:var(--surface-surface-primary, #FFF);display:flex;width:232px;height:296px;padding:var(--spacing-spacing-default, 16px) var(--spacing-spacing-sm, 20px);flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._productCard_sx511_3._sm_sx511_16{width:180px;height:230px}._productCard_sx511_3>img{object-fit:contain;flex-shrink:0;margin:0 auto}._productCard_sx511_3 ._productInformation_sx511_26{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:auto}._productCard_sx511_3 ._purchaseInformation_sx511_33{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%}._productCard_sx511_3 ._addToCart_sx511_41,._productCard_sx511_3 ._addToCartButton_sx511_44{width:100%}._productInformation_sx511_26>a{font-weight:var(--font-weight-semibold);white-space:break-spaces;word-wrap:normal}._partNumber_sx511_54{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-3xs)}._partNumberLabel_sx511_61{color:var(--text-text-quaternary)}._productTile_sx511_65{box-sizing:border-box;position:relative;z-index:1;width:100%;max-width:1072px;display:flex;flex-direction:row;align-items:flex-start;background:var(--surface-surface-primary, #FFF);padding:var(--spacing-spacing-default, 16px) var(--spacing-spacing-sm, 20px);gap:var(--spacing-spacing-1xs)}._productTile_sx511_65>img{object-fit:contain}._productTile_sx511_65 ._productInformation_sx511_26{display:flex;flex-direction:column;align-items:flex-start;gap:2px}._productTile_sx511_65 ._productData_sx511_93{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:var(--spacing-spacing-2xs)}._productTile_sx511_65 ._purchase_sx511_33{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;width:100%}@media (max-width: 480px){._productTile_sx511_65 ._purchase_sx511_33{flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-3xs)}}._productTile_sx511_65 ._purchaseInformation_sx511_33{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-2xs)}@media (max-width: 480px){._productTile_sx511_65 ._purchaseInformation_sx511_33{flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%;gap:0px}}._productTile_sx511_65 ._attributeContainer_sx511_130{margin:0;padding:0;padding-top:var(--spacing-spacing-1xs);border-top:1px solid var(--border-border-primary);width:100%;list-style:none;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;column-gap:var(--spacing-spacing-lg);row-gap:var(--spacing-spacing-3xs)}@media (max-width: 640px){._productTile_sx511_65 ._attributeContainer_sx511_130{display:none}}._productTile_sx511_65 ._attributeContainer_sx511_130 li{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-3xs)}._productTile_sx511_65 ._addToCart_sx511_41{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-md)}@media (max-width: 480px){._productTile_sx511_65 ._addToCart_sx511_41{gap:var(--spacing-spacing-2xs);width:100%}}._productTile_sx511_65 ._addToCartButton_sx511_44{width:96px;font-size:var(--font-size-md);font-weight:var(--font-weight-semibold)}@media (max-width: 640px){._productTile_sx511_65 ._addToCartButton_sx511_44{width:100%}}._customWizardBadge_sx511_177{position:absolute;top:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:var(--spacing-spacing-4xs);max-width:70%;overflow:hidden;padding:var(--spacing-spacing-3xs) var(--spacing-spacing-3xs);border-radius:0 0 0 12px;background-color:var(--color-brand-primary-primary-tangerine);text-align:center;text-decoration:none;white-space:nowrap}@media (max-width: 768px){._customWizardBadge_sx511_177{padding:var(--spacing-spacing-3xs);border-radius:0 0 0 10px}}._customWizardBadgeText_sx511_200{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--font-size-xs);line-height:var(--font-line-height-xs)}@media (max-width: 768px){._customWizardBadgeText_sx511_200{font-size:var(--font-size-xxs);line-height:var(--font-line-height-xxs)}}._elevated_sx511_213{border:1px solid var(--border-border-primary, #DFDFDF);box-shadow:2px 4px 12px #00000026}._noImage_sx511_219 ._productInformation_sx511_26{margin-top:0}._sm_sx511_16{padding:var(--spacing-spacing-1xs)}
1
+ ._productCard_1adwd_3{box-sizing:border-box;position:relative;background:var(--surface-surface-primary, #FFF);display:flex;width:232px;height:296px;padding:var(--spacing-spacing-default, 16px) var(--spacing-spacing-sm, 20px);flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-2xs)}._productCard_1adwd_3._sm_1adwd_16{width:180px;height:230px}._productCard_1adwd_3>img{object-fit:contain;flex-shrink:0;margin:0 auto}._productCard_1adwd_3 ._productInformation_1adwd_26{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:auto}._productCard_1adwd_3 ._purchaseInformation_1adwd_33{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%}._productCard_1adwd_3 ._addToCart_1adwd_41,._productCard_1adwd_3 ._addToCartButton_1adwd_44{width:100%}._productInformation_1adwd_26>a{font-weight:var(--font-weight-semibold);white-space:break-spaces;word-wrap:normal}._partNumber_1adwd_54{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-3xs)}._partNumberLabel_1adwd_61{color:var(--text-text-quaternary)}._productTile_1adwd_65{box-sizing:border-box;position:relative;z-index:1;width:100%;max-width:1072px;display:flex;flex-direction:row;align-items:flex-start;background:var(--surface-surface-primary, #FFF);padding:var(--spacing-spacing-default, 16px) var(--spacing-spacing-sm, 20px);gap:var(--spacing-spacing-1xs)}._productTile_1adwd_65>img{object-fit:contain}._productTile_1adwd_65 ._productInformation_1adwd_26{display:flex;flex-direction:column;align-items:flex-start;gap:2px}._productTile_1adwd_65 ._productData_1adwd_93{display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:var(--spacing-spacing-2xs)}._productTile_1adwd_65 ._purchase_1adwd_33{display:flex;flex-direction:row;align-items:flex-end;justify-content:space-between;width:100%}@media (max-width: 480px){._productTile_1adwd_65 ._purchase_1adwd_33{flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-3xs)}}._productTile_1adwd_65 ._purchaseInformation_1adwd_33{display:flex;flex-direction:column;align-items:flex-start;gap:var(--spacing-spacing-2xs)}@media (max-width: 480px){._productTile_1adwd_65 ._purchaseInformation_1adwd_33{flex-direction:row;align-items:flex-start;justify-content:space-between;width:100%;gap:0px}}._productTile_1adwd_65 ._attributeContainer_1adwd_130{margin:0;padding:0;padding-top:var(--spacing-spacing-1xs);border-top:1px solid var(--border-border-primary);width:100%;list-style:none;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;flex-wrap:wrap;column-gap:var(--spacing-spacing-lg);row-gap:var(--spacing-spacing-3xs)}@media (max-width: 640px){._productTile_1adwd_65 ._attributeContainer_1adwd_130{display:none}}._productTile_1adwd_65 ._attributeContainer_1adwd_130 li{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-3xs)}._productTile_1adwd_65 ._addToCart_1adwd_41{display:flex;flex-direction:row;align-items:center;gap:var(--spacing-spacing-md)}@media (max-width: 480px){._productTile_1adwd_65 ._addToCart_1adwd_41{gap:var(--spacing-spacing-2xs);width:100%}}._productTile_1adwd_65 ._addToCartButton_1adwd_44{width:96px;font-size:var(--font-size-md);font-weight:var(--font-weight-semibold)}@media (max-width: 640px){._productTile_1adwd_65 ._addToCartButton_1adwd_44{width:100%}}._customWizardBadge_1adwd_177{position:absolute;top:0;right:0;z-index:2;display:flex;align-items:center;justify-content:center;gap:var(--spacing-spacing-4xs);max-width:70%;overflow:hidden;padding:var(--spacing-spacing-3xs) var(--spacing-spacing-2xs);border-radius:0 0 0 12px;background-color:var(--text-text-secondary);text-align:center;text-decoration:none;white-space:nowrap}@media (max-width: 768px){._customWizardBadge_1adwd_177{padding:var(--spacing-spacing-3xs);border-radius:0 0 0 10px}}._customWizardBadge-inherit_1adwd_200{background-color:inherit}._customWizardBadge-warning_1adwd_204{background-color:var(--text-text-caution)}._customWizardBadge-disabled_1adwd_208{background-color:var(--text-text-disabled)}._customWizardBadge-error-warning_1adwd_212{background-color:var(--text-text-error-warning)}._customWizardBadge-default-inverted_1adwd_216{background-color:var(--text-text-invert)}._customWizardBadge-links_1adwd_220{background-color:var(--text-text-links)}._customWizardBadge-links-hover-press_1adwd_224{background-color:var(--text-text-links-hover-press)}._customWizardBadge-primary_1adwd_228{background-color:var(--text-text-primary)}._customWizardBadge-quaternary_1adwd_232{background-color:var(--text-text-quaternary)}._customWizardBadge-search-bar_1adwd_236{background-color:var(--text-text-search-bar)}._customWizardBadge-secondary_1adwd_240{background-color:var(--text-text-secondary)}._customWizardBadge-success_1adwd_244{background-color:var(--text-text-success)}._customWizardBadge-tertiary_1adwd_248{background-color:var(--text-text-tertiary)}._customWizardBadge-footer_1adwd_252{background-color:var(--text-text-footer)}._customWizardBadgeText_1adwd_256{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:var(--font-size-xs);line-height:var(--font-line-height-xs)}@media (max-width: 768px){._customWizardBadgeText_1adwd_256{font-size:var(--font-size-xxs);line-height:var(--font-line-height-xxs)}}._elevated_1adwd_269{border:1px solid var(--border-border-primary, #DFDFDF);box-shadow:2px 4px 12px #00000026}._noImage_1adwd_275 ._productInformation_1adwd_26{margin-top:0}._sm_1adwd_16{padding:var(--spacing-spacing-1xs)}
@@ -1,4 +1,4 @@
1
- import { IconProps } from '../../atoms/Icon/Icon';
1
+ import { TextProps } from '../../atoms/Text/Text';
2
2
  import { AvailabilityProps } from '../../molecules/Availability/Availability';
3
3
  export type ProductView = "Card" | "Tile";
4
4
  export type Size = "md" | "sm";
@@ -8,7 +8,7 @@ export interface ProductProps extends AvailabilityProps {
8
8
  availDescription: string;
9
9
  customWizardUrl?: string;
10
10
  customWizardText?: string;
11
- customWizardIconKey?: IconProps['iconKey'] | null;
11
+ customWizardColorToken?: TextProps["colorToken"];
12
12
  productHref?: string;
13
13
  itemKey: number;
14
14
  partNumber: string;
@@ -28,4 +28,4 @@ export interface ProductProps extends AvailabilityProps {
28
28
  requiresUnitDetails?: boolean;
29
29
  maxQuantity?: number;
30
30
  }
31
- export declare function Product({ productView, itemKey, partNumber, productDescription, availDescription, availId, inventory, productHref, customWizardUrl, customWizardText, customWizardIconKey, priceLabel, price, imgSrc, attributes, className, onAddToCart, flat, size, showQuantity, onLinkClicked, requiresUnitDetails, maxQuantity, ...otherProps }: ProductProps): import("react/jsx-runtime").JSX.Element;
31
+ export declare function Product({ productView, itemKey, partNumber, productDescription, availDescription, availId, inventory, productHref, customWizardUrl, customWizardText, customWizardColorToken, priceLabel, price, imgSrc, attributes, className, onAddToCart, flat, size, showQuantity, onLinkClicked, requiresUnitDetails, maxQuantity, ...otherProps }: ProductProps): import("react/jsx-runtime").JSX.Element;
@@ -1,172 +1,179 @@
1
- import { jsxs as e, jsx as t } from "react/jsx-runtime";
2
- import { Image as P } from "../../atoms/Image/Image.js";
3
- import { Icon as W } from "../../atoms/Icon/Icon.js";
4
- import { Link as p } from "../../atoms/Link/Link.js";
5
- import { Text as o } from "../../atoms/Text/Text.js";
6
- import { Availability as j } from "../../molecules/Availability/Availability.js";
7
- import { Pricing as D } from "../../molecules/Pricing/Pricing.js";
8
- import { AddToCart as V } from "../../molecules/AddToCart/AddToCart.js";
9
- import { c as E } from "../../clsx-OuTLNxxd.js";
10
- import '../../assets/Product.css';const G = "_productCard_sx511_3", J = "_sm_sx511_16", M = "_productInformation_sx511_26", O = "_purchaseInformation_sx511_33", R = "_addToCart_sx511_41", X = "_addToCartButton_sx511_44", Y = "_partNumber_sx511_54", Z = "_partNumberLabel_sx511_61", q = "_productTile_sx511_65", H = "_productData_sx511_93", y = "_purchase_sx511_33", L = "_attributeContainer_sx511_130", Q = "_customWizardBadge_sx511_177", K = "_customWizardBadgeText_sx511_200", S = "_elevated_sx511_213", U = "_noImage_sx511_219", a = {
11
- productCard: G,
12
- sm: J,
13
- productInformation: M,
14
- purchaseInformation: O,
15
- addToCart: R,
16
- addToCartButton: X,
17
- partNumber: Y,
18
- partNumberLabel: Z,
19
- productTile: q,
20
- productData: H,
21
- purchase: y,
1
+ import { jsxs as e, jsx as d } from "react/jsx-runtime";
2
+ import { Image as $ } from "../../atoms/Image/Image.js";
3
+ import { Link as g } from "../../atoms/Link/Link.js";
4
+ import { Text as t } from "../../atoms/Text/Text.js";
5
+ import { Availability as P } from "../../molecules/Availability/Availability.js";
6
+ import { Pricing as j } from "../../molecules/Pricing/Pricing.js";
7
+ import { AddToCart as D } from "../../molecules/AddToCart/AddToCart.js";
8
+ import { c as h } from "../../clsx-OuTLNxxd.js";
9
+ import '../../assets/Product.css';const E = "_productCard_1adwd_3", F = "_sm_1adwd_16", G = "_productInformation_1adwd_26", J = "_purchaseInformation_1adwd_33", M = "_addToCart_1adwd_41", O = "_addToCartButton_1adwd_44", R = "_partNumber_1adwd_54", X = "_partNumberLabel_1adwd_61", Y = "_productTile_1adwd_65", Z = "_productData_1adwd_93", H = "_purchase_1adwd_33", L = "_attributeContainer_1adwd_130", K = "_customWizardBadge_1adwd_177", Q = "_customWizardBadgeText_1adwd_256", S = "_elevated_1adwd_269", U = "_noImage_1adwd_275", a = {
10
+ productCard: E,
11
+ sm: F,
12
+ productInformation: G,
13
+ purchaseInformation: J,
14
+ addToCart: M,
15
+ addToCartButton: O,
16
+ partNumber: R,
17
+ partNumberLabel: X,
18
+ productTile: Y,
19
+ productData: Z,
20
+ purchase: H,
22
21
  attributeContainer: L,
23
- customWizardBadge: Q,
24
- customWizardBadgeText: K,
22
+ customWizardBadge: K,
23
+ "customWizardBadge-inherit": "_customWizardBadge-inherit_1adwd_200",
24
+ "customWizardBadge-warning": "_customWizardBadge-warning_1adwd_204",
25
+ "customWizardBadge-disabled": "_customWizardBadge-disabled_1adwd_208",
26
+ "customWizardBadge-error-warning": "_customWizardBadge-error-warning_1adwd_212",
27
+ "customWizardBadge-default-inverted": "_customWizardBadge-default-inverted_1adwd_216",
28
+ "customWizardBadge-links": "_customWizardBadge-links_1adwd_220",
29
+ "customWizardBadge-links-hover-press": "_customWizardBadge-links-hover-press_1adwd_224",
30
+ "customWizardBadge-primary": "_customWizardBadge-primary_1adwd_228",
31
+ "customWizardBadge-quaternary": "_customWizardBadge-quaternary_1adwd_232",
32
+ "customWizardBadge-search-bar": "_customWizardBadge-search-bar_1adwd_236",
33
+ "customWizardBadge-secondary": "_customWizardBadge-secondary_1adwd_240",
34
+ "customWizardBadge-success": "_customWizardBadge-success_1adwd_244",
35
+ "customWizardBadge-tertiary": "_customWizardBadge-tertiary_1adwd_248",
36
+ "customWizardBadge-footer": "_customWizardBadge-footer_1adwd_252",
37
+ customWizardBadgeText: Q,
25
38
  elevated: S,
26
39
  noImage: U
27
40
  };
28
- function na({
29
- productView: F,
41
+ function ca({
42
+ productView: q,
30
43
  itemKey: c,
31
- partNumber: n,
32
- productDescription: g,
33
- availDescription: N,
34
- availId: l,
35
- inventory: T,
44
+ partNumber: m,
45
+ productDescription: w,
46
+ availDescription: W,
47
+ availId: i,
48
+ inventory: z,
36
49
  productHref: b,
37
- customWizardUrl: m,
38
- customWizardText: B = "Customize",
39
- customWizardIconKey: u,
40
- priceLabel: v,
41
- price: i,
42
- imgSrc: d,
43
- attributes: x,
44
- className: C,
45
- onAddToCart: I,
46
- flat: w,
50
+ customWizardUrl: n,
51
+ customWizardText: f = "Customize",
52
+ customWizardColorToken: V = "secondary",
53
+ priceLabel: N,
54
+ price: u,
55
+ imgSrc: o,
56
+ attributes: B,
57
+ className: T,
58
+ onAddToCart: v,
59
+ flat: x,
47
60
  size: r = "md",
48
- showQuantity: f = !0,
61
+ showQuantity: p = !0,
49
62
  onLinkClicked: s,
50
- requiresUnitDetails: A = !1,
51
- maxQuantity: $,
52
- ...z
63
+ requiresUnitDetails: C = !1,
64
+ maxQuantity: I,
65
+ ...y
53
66
  }) {
54
- const h = r === "sm" ? "xs" : "sm";
55
- return F === "Card" ? /* @__PURE__ */ e(
67
+ const _ = r === "sm" ? "xs" : "sm", A = a[`customWizardBadge-${V}`];
68
+ return q === "Card" ? /* @__PURE__ */ e(
56
69
  "div",
57
70
  {
58
- className: E(
71
+ className: h(
59
72
  a.productCard,
60
73
  r && a[r],
61
- C,
62
- !w && a.elevated,
63
- !d && a.noImage
74
+ T,
75
+ !x && a.elevated,
76
+ !o && a.noImage
64
77
  ),
65
- ...z,
78
+ ...y,
66
79
  children: [
67
- m && /* @__PURE__ */ e(p, { href: m, unstyled: !0, className: a.customWizardBadge, children: [
68
- u && /* @__PURE__ */ t(W, { iconKey: u, size: "3xs", colorToken: "default-inverted" }),
69
- /* @__PURE__ */ t(o, { size: "xs", weight: "regular", colorToken: "default-inverted", className: a.customWizardBadgeText, children: B })
70
- ] }),
71
- d && /* @__PURE__ */ t(
72
- P,
80
+ n && /* @__PURE__ */ d(g, { href: n, unstyled: !0, className: h(a.customWizardBadge, A), children: /* @__PURE__ */ d(t, { size: "xs", weight: "regular", colorToken: "default-inverted", className: a.customWizardBadgeText, children: f }) }),
81
+ o && /* @__PURE__ */ d(
82
+ $,
73
83
  {
74
- src: d,
75
- alt: `${n} product image`,
84
+ src: o,
85
+ alt: `${m} product image`,
76
86
  height: r === "sm" ? 78 : 96,
77
87
  width: r === "sm" ? 78 : 96
78
88
  }
79
89
  ),
80
90
  /* @__PURE__ */ e("div", { className: a.productInformation, children: [
81
- /* @__PURE__ */ t(p, { onClick: () => s == null ? void 0 : s(c), size: r, href: b || "#", children: g }),
91
+ /* @__PURE__ */ d(g, { onClick: () => s == null ? void 0 : s(c), size: r, href: b || "#", children: w }),
82
92
  /* @__PURE__ */ e("div", { className: a.partNumber, children: [
83
- /* @__PURE__ */ t(o, { size: h, className: a.partNumberLabel, children: "Part #" }),
84
- /* @__PURE__ */ t(o, { size: h, weight: "semibold", children: n })
93
+ /* @__PURE__ */ d(t, { size: _, className: a.partNumberLabel, children: "Part #" }),
94
+ /* @__PURE__ */ d(t, { size: _, weight: "semibold", children: m })
85
95
  ] })
86
96
  ] }),
87
97
  /* @__PURE__ */ e("div", { className: a.purchaseInformation, children: [
88
- l && /* @__PURE__ */ t(
89
- j,
98
+ i && /* @__PURE__ */ d(
99
+ P,
90
100
  {
91
- availId: l,
92
- availDescription: N,
93
- inventory: T,
101
+ availId: i,
102
+ availDescription: W,
103
+ inventory: z,
94
104
  enableTooltip: !0
95
105
  }
96
106
  ),
97
- i && /* @__PURE__ */ t(D, { pricingLabel: v, price: i })
107
+ u && /* @__PURE__ */ d(j, { pricingLabel: N, price: u })
98
108
  ] }),
99
- /* @__PURE__ */ t(
100
- V,
109
+ /* @__PURE__ */ d(
110
+ D,
101
111
  {
102
112
  itemKey: c,
103
- onAdd: I,
104
- max: $,
113
+ onAdd: v,
114
+ max: I,
105
115
  className: a.addToCart,
106
116
  addButtonClassName: a.addToCartButton,
107
- addButtonVariant: f ? "cta-primary" : "secondary",
117
+ addButtonVariant: p ? "cta-primary" : "secondary",
108
118
  size: r,
109
119
  buttonDoneText: "",
110
- buttonText: f ? "Add" : "Add to Cart",
111
- showQuantity: f,
112
- requiresUnitDetails: A
120
+ buttonText: p ? "Add" : "Add to Cart",
121
+ showQuantity: p,
122
+ requiresUnitDetails: C
113
123
  }
114
124
  )
115
125
  ]
116
126
  }
117
- ) : /* @__PURE__ */ e("div", { className: E(
127
+ ) : /* @__PURE__ */ e("div", { className: h(
118
128
  a.productTile,
119
- C,
129
+ T,
120
130
  r && a[r],
121
- !w && a.elevated,
122
- !d && a.noImage
123
- ), ...z, children: [
124
- m && /* @__PURE__ */ e(p, { href: m, unstyled: !0, className: a.customWizardBadge, children: [
125
- u && /* @__PURE__ */ t(W, { iconKey: u, size: "3xs", colorToken: "default-inverted" }),
126
- /* @__PURE__ */ t(o, { size: "xs", weight: "regular", colorToken: "default-inverted", className: a.customWizardBadgeText, children: B })
127
- ] }),
128
- d && /* @__PURE__ */ t(
129
- P,
131
+ !x && a.elevated,
132
+ !o && a.noImage
133
+ ), ...y, children: [
134
+ n && /* @__PURE__ */ d(g, { href: n, unstyled: !0, className: h(a.customWizardBadge, A), children: /* @__PURE__ */ d(t, { size: "xs", weight: "regular", colorToken: "default-inverted", className: a.customWizardBadgeText, children: f }) }),
135
+ o && /* @__PURE__ */ d(
136
+ $,
130
137
  {
131
- src: d,
132
- alt: `${n} product image`,
138
+ src: o,
139
+ alt: `${m} product image`,
133
140
  height: r === "sm" ? 86 : 108,
134
141
  width: r === "sm" ? 86 : 108
135
142
  }
136
143
  ),
137
144
  /* @__PURE__ */ e("div", { className: a.productData, children: [
138
145
  /* @__PURE__ */ e("div", { className: a.productInformation, children: [
139
- /* @__PURE__ */ t(p, { onClick: () => s == null ? void 0 : s(c), size: r, href: b || "#", children: g }),
146
+ /* @__PURE__ */ d(g, { onClick: () => s == null ? void 0 : s(c), size: r, href: b || "#", children: w }),
140
147
  /* @__PURE__ */ e("div", { className: a.partNumber, children: [
141
- /* @__PURE__ */ t(o, { size: h, className: a.partNumberLabel, children: "Part #" }),
142
- /* @__PURE__ */ t(o, { size: h, weight: "semibold", children: n })
148
+ /* @__PURE__ */ d(t, { size: _, className: a.partNumberLabel, children: "Part #" }),
149
+ /* @__PURE__ */ d(t, { size: _, weight: "semibold", children: m })
143
150
  ] })
144
151
  ] }),
145
152
  /* @__PURE__ */ e("div", { className: a.purchase, children: [
146
153
  /* @__PURE__ */ e("div", { className: a.purchaseInformation, children: [
147
- l && /* @__PURE__ */ t(
148
- j,
154
+ i && /* @__PURE__ */ d(
155
+ P,
149
156
  {
150
- availId: l,
151
- availDescription: N,
152
- inventory: T,
157
+ availId: i,
158
+ availDescription: W,
159
+ inventory: z,
153
160
  enableTooltip: !0
154
161
  }
155
162
  ),
156
- i && /* @__PURE__ */ t(D, { pricingLabel: v, price: i })
163
+ u && /* @__PURE__ */ d(j, { pricingLabel: N, price: u })
157
164
  ] }),
158
- /* @__PURE__ */ t(V, { size: r, itemKey: c, onAdd: I, max: $, className: a.addToCart, addButtonClassName: a.addToCartButton, requiresUnitDetails: A })
165
+ /* @__PURE__ */ d(D, { size: r, itemKey: c, onAdd: v, max: I, className: a.addToCart, addButtonClassName: a.addToCartButton, requiresUnitDetails: C })
159
166
  ] }),
160
- x && x.length > 0 && /* @__PURE__ */ t("ul", { className: a.attributeContainer, children: x.map((_) => /* @__PURE__ */ e("li", { children: [
161
- /* @__PURE__ */ e(o, { size: "xs", weight: "light", children: [
162
- _.label,
167
+ B && B.length > 0 && /* @__PURE__ */ d("ul", { className: a.attributeContainer, children: B.map((l) => /* @__PURE__ */ e("li", { children: [
168
+ /* @__PURE__ */ e(t, { size: "xs", weight: "light", children: [
169
+ l.label,
163
170
  ":"
164
171
  ] }),
165
- /* @__PURE__ */ t(o, { size: "xs", weight: "semibold", children: _.value })
166
- ] }, `${_.label}.${_.value}`)) })
172
+ /* @__PURE__ */ d(t, { size: "xs", weight: "semibold", children: l.value })
173
+ ] }, `${l.label}.${l.value}`)) })
167
174
  ] })
168
175
  ] });
169
176
  }
170
177
  export {
171
- na as Product
178
+ ca as Product
172
179
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.217",
4
+ "version": "0.0.218",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",