@caseparts-org/caseblocks 0.0.278 → 0.0.279

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.
@@ -2,13 +2,13 @@ import { jsxs as e, jsx as a } from "react/jsx-runtime";
2
2
  import O from "react";
3
3
  import { Image as R } from "../../atoms/Image/Image.js";
4
4
  import { Link as V } from "../../atoms/Link/Link.js";
5
- import { Text as c } from "../../atoms/Text/Text.js";
5
+ import { Text as n } from "../../atoms/Text/Text.js";
6
6
  import { Availability as q } from "../../molecules/Availability/Availability.js";
7
7
  import { Pricing as E } from "../../molecules/Pricing/Pricing.js";
8
8
  import { AddToCart as F } from "../../molecules/AddToCart/AddToCart.js";
9
9
  import { CustomWizardBadge as G } from "../../molecules/CustomWizardBadge/CustomWizardBadge.js";
10
10
  import { c as J } from "../../clsx-OuTLNxxd.js";
11
- import '../../assets/Product.css';const Q = "_productCard_ntcb7_3", X = "_sm_ntcb7_16", Y = "_productInformation_ntcb7_26", Z = "_purchaseInformation_ntcb7_33", H = "_purchaseControls_ntcb7_39", K = "_addToCart_ntcb7_46", L = "_addToCartButton_ntcb7_49", S = "_pricing_ntcb7_53", U = "_partNumber_ntcb7_64", W = "_partNumberLabel_ntcb7_71", z = "_productTile_ntcb7_75", k = "_productData_ntcb7_102", tt = "_purchase_ntcb7_33", at = "_attributeContainer_ntcb7_148", rt = "_elevated_ntcb7_196", et = "_noImage_ntcb7_202", t = {
11
+ import '../../assets/Product.css';const Q = "_productCard_y50sy_3", X = "_sm_y50sy_16", Y = "_productInformation_y50sy_26", Z = "_purchaseInformation_y50sy_33", H = "_purchaseControls_y50sy_39", K = "_addToCart_y50sy_46", L = "_addToCartButton_y50sy_49", S = "_pricing_y50sy_53", U = "_partNumber_y50sy_64", W = "_partNumberLabel_y50sy_71", z = "_productTile_y50sy_75", k = "_productData_y50sy_102", tt = "_purchase_y50sy_33", at = "_attributeContainer_y50sy_148", rt = "_elevated_y50sy_196", et = "_noImage_y50sy_202", t = {
12
12
  productCard: Q,
13
13
  sm: X,
14
14
  productInformation: Y,
@@ -29,30 +29,30 @@ import '../../assets/Product.css';const Q = "_productCard_ntcb7_3", X = "_sm_ntc
29
29
  function it({
30
30
  productView: M,
31
31
  itemKey: d,
32
- partNumber: s,
33
- productDescription: b,
32
+ partNumber: c,
33
+ productDescription: y,
34
34
  availDescription: N,
35
35
  availId: l,
36
36
  inventory: f,
37
- productHref: C,
37
+ productHref: b,
38
38
  customWizardUrl: m,
39
- customWizardText: T = "Customize",
40
- customWizardColorToken: g = "secondary",
39
+ customWizardText: C = "Customize",
40
+ customWizardColorToken: T = "secondary",
41
41
  price: u,
42
- listPrice: v,
43
- isSignedIn: x = !1,
44
- customerClass: I,
42
+ listPrice: g,
43
+ isSignedIn: v = !1,
44
+ customerClass: x,
45
45
  imgSrc: o,
46
46
  attributes: i,
47
- className: B,
48
- onAddToCart: A,
49
- flat: w,
47
+ className: I,
48
+ onAddToCart: B,
49
+ flat: A,
50
50
  size: r = "md",
51
51
  showQuantity: _ = !0,
52
- onLinkClicked: n,
53
- requiresUnitDetails: $ = !1,
54
- maxQuantity: j,
55
- ...y
52
+ onLinkClicked: s,
53
+ requiresUnitDetails: w = !1,
54
+ maxQuantity: $,
55
+ ...j
56
56
  }) {
57
57
  const [D, P] = O.useState(1), p = r === "sm" ? "xs" : "sm";
58
58
  return M === "Card" ? /* @__PURE__ */ e(
@@ -61,27 +61,27 @@ function it({
61
61
  className: J(
62
62
  t.productCard,
63
63
  r && t[r],
64
- B,
65
- !w && t.elevated,
64
+ I,
65
+ !A && t.elevated,
66
66
  !o && t.noImage
67
67
  ),
68
- ...y,
68
+ ...j,
69
69
  children: [
70
- m && /* @__PURE__ */ a(G, { href: m, text: T, colorToken: g }),
70
+ m && /* @__PURE__ */ a(G, { href: m, text: C, colorToken: T }),
71
71
  o && /* @__PURE__ */ a(
72
72
  R,
73
73
  {
74
74
  src: o,
75
- alt: `${s} product image`,
75
+ alt: `${c} product image`,
76
76
  height: r === "sm" ? 78 : 96,
77
77
  width: r === "sm" ? 78 : 96
78
78
  }
79
79
  ),
80
80
  /* @__PURE__ */ e("div", { className: t.productInformation, children: [
81
- /* @__PURE__ */ a(V, { onClick: () => n == null ? void 0 : n(d), size: r, href: C || "#", children: b }),
81
+ /* @__PURE__ */ a(V, { onClick: () => s == null ? void 0 : s(d), size: r, href: b || "#", children: y }),
82
82
  /* @__PURE__ */ e("div", { className: t.partNumber, children: [
83
- /* @__PURE__ */ a(c, { size: p, className: t.partNumberLabel, children: "Part #" }),
84
- /* @__PURE__ */ a(c, { size: p, weight: "semibold", children: s })
83
+ /* @__PURE__ */ a(n, { size: p, className: t.partNumberLabel, children: "Part #" }),
84
+ /* @__PURE__ */ a(n, { size: p, weight: "semibold", children: c })
85
85
  ] })
86
86
  ] }),
87
87
  /* @__PURE__ */ a("div", { className: t.purchaseInformation, children: l && /* @__PURE__ */ a(
@@ -98,9 +98,9 @@ function it({
98
98
  E,
99
99
  {
100
100
  price: u,
101
- listPrice: v,
102
- isSignedIn: x,
103
- customerClass: I,
101
+ listPrice: g,
102
+ isSignedIn: v,
103
+ customerClass: x,
104
104
  quantity: D,
105
105
  className: t.pricing
106
106
  }
@@ -109,8 +109,8 @@ function it({
109
109
  F,
110
110
  {
111
111
  itemKey: d,
112
- onAdd: A,
113
- max: j,
112
+ onAdd: B,
113
+ max: $,
114
114
  className: t.addToCart,
115
115
  addButtonClassName: t.addToCartButton,
116
116
  addButtonVariant: _ ? "cta-primary" : "secondary",
@@ -118,7 +118,7 @@ function it({
118
118
  buttonDoneText: "",
119
119
  buttonText: _ ? "Add" : "Add to Cart",
120
120
  showQuantity: _,
121
- requiresUnitDetails: $,
121
+ requiresUnitDetails: w,
122
122
  onQuantityChange: P
123
123
  }
124
124
  )
@@ -127,27 +127,27 @@ function it({
127
127
  }
128
128
  ) : /* @__PURE__ */ e("div", { className: J(
129
129
  t.productTile,
130
- B,
130
+ I,
131
131
  r && t[r],
132
- !w && t.elevated,
132
+ !A && t.elevated,
133
133
  !o && t.noImage
134
- ), ...y, children: [
135
- m && /* @__PURE__ */ a(G, { href: m, text: T, colorToken: g }),
134
+ ), ...j, children: [
135
+ m && /* @__PURE__ */ a(G, { href: m, text: C, colorToken: T }),
136
136
  o && /* @__PURE__ */ a(
137
137
  R,
138
138
  {
139
139
  src: o,
140
- alt: `${s} product image`,
140
+ alt: `${c} product image`,
141
141
  height: r === "sm" ? 86 : 108,
142
142
  width: r === "sm" ? 86 : 108
143
143
  }
144
144
  ),
145
145
  /* @__PURE__ */ e("div", { className: t.productData, children: [
146
146
  /* @__PURE__ */ e("div", { className: t.productInformation, children: [
147
- /* @__PURE__ */ a(V, { onClick: () => n == null ? void 0 : n(d), size: r, href: C || "#", children: b }),
147
+ /* @__PURE__ */ a(V, { onClick: () => s == null ? void 0 : s(d), size: r, href: b || "#", children: y }),
148
148
  /* @__PURE__ */ e("div", { className: t.partNumber, children: [
149
- /* @__PURE__ */ a(c, { size: p, className: t.partNumberLabel, children: "Part #" }),
150
- /* @__PURE__ */ a(c, { size: p, weight: "semibold", children: s })
149
+ /* @__PURE__ */ a(n, { size: p, className: t.partNumberLabel, children: "Part #" }),
150
+ /* @__PURE__ */ a(n, { size: p, weight: "semibold", children: c })
151
151
  ] })
152
152
  ] }),
153
153
  /* @__PURE__ */ e("div", { className: t.purchase, children: [
@@ -165,22 +165,22 @@ function it({
165
165
  E,
166
166
  {
167
167
  price: u,
168
- listPrice: v,
169
- isSignedIn: x,
170
- customerClass: I,
168
+ listPrice: g,
169
+ isSignedIn: v,
170
+ customerClass: x,
171
171
  quantity: D,
172
172
  className: t.pricing
173
173
  }
174
174
  ),
175
- /* @__PURE__ */ a(F, { size: r, itemKey: d, onAdd: A, max: j, className: t.addToCart, addButtonClassName: t.addToCartButton, requiresUnitDetails: $, onQuantityChange: P })
175
+ /* @__PURE__ */ a(F, { size: r, itemKey: d, onAdd: B, max: $, className: t.addToCart, addButtonClassName: t.addToCartButton, requiresUnitDetails: w, onQuantityChange: P })
176
176
  ] })
177
177
  ] }),
178
178
  i && i.length > 0 && /* @__PURE__ */ a("ul", { className: t.attributeContainer, children: i.map((h) => /* @__PURE__ */ e("li", { children: [
179
- /* @__PURE__ */ e(c, { size: "xs", weight: "light", children: [
179
+ /* @__PURE__ */ e(n, { size: "xs", weight: "light", children: [
180
180
  h.label,
181
181
  ":"
182
182
  ] }),
183
- /* @__PURE__ */ a(c, { size: "xs", weight: "semibold", children: h.value })
183
+ /* @__PURE__ */ a(n, { size: "xs", weight: "semibold", children: h.value })
184
184
  ] }, `${h.label}.${h.value}`)) })
185
185
  ] })
186
186
  ] });
@@ -1,18 +1,18 @@
1
- import { jsxs as c, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as a, jsx as l } from "react/jsx-runtime";
2
2
  import { Text as h } from "../../atoms/Text/Text.js";
3
- import { Link as d } from "../../atoms/Link/Link.js";
4
- import { Icon as p } from "../../atoms/Icon/Icon.js";
3
+ import { Link as g } from "../../atoms/Link/Link.js";
4
+ import { Icon as N } from "../../atoms/Icon/Icon.js";
5
+ import { Image as y } from "../../atoms/Image/Image.js";
5
6
  import { c as o } from "../../clsx-OuTLNxxd.js";
6
- import { Image as v } from "../../atoms/Image/Image.js";
7
- import '../../assets/SuggestionDropdown.css';const z = "_suggestionDropdown_ukyka_1", F = "_leftColumn_ukyka_31", H = "_leftColumnFullWidth_ukyka_59", $ = "_suggestionSectionFullHeight_ukyka_69", D = "_rightColumn_ukyka_79", w = "_categorySection_ukyka_99", b = "_suggestions_ukyka_105", T = "_categories_ukyka_107", q = "_suggestionsFullHeight_ukyka_121", W = "_customPartLink_ukyka_129", j = "_suggestionLink_ukyka_173", K = "_categoryLink_ukyka_175", M = "_activeOption_ukyka_211", O = "_itemList_ukyka_219", R = "_item_ukyka_219", x = "_recentSearch_ukyka_257", A = "_activeItem_ukyka_275", B = "_itemInfo_ukyka_311", E = "_recentSearches_ukyka_321", G = "_recentSearchesHeader_ukyka_335", J = "_recentSearchesList_ukyka_343", Q = "_recentSearchLink_ukyka_375", U = "_clearRecentSearch_ukyka_399", l = {
8
- suggestionDropdown: z,
9
- leftColumn: F,
10
- leftColumnFullWidth: H,
11
- suggestionSectionFullHeight: $,
12
- rightColumn: D,
13
- categorySection: w,
14
- suggestions: b,
15
- categories: T,
7
+ import '../../assets/SuggestionDropdown.css';const F = "_suggestionDropdown_zn0un_1", H = "_leftColumn_zn0un_31", $ = "_leftColumnFullWidth_zn0un_59", D = "_suggestionSectionFullHeight_zn0un_69", w = "_rightColumn_zn0un_79", b = "_categorySection_zn0un_99", T = "_suggestions_zn0un_105", k = "_categories_zn0un_107", q = "_suggestionsFullHeight_zn0un_121", W = "_customPartLink_zn0un_129", j = "_suggestionLink_zn0un_173", K = "_categoryLink_zn0un_175", M = "_activeOption_zn0un_211", O = "_itemList_zn0un_219", R = "_item_zn0un_219", x = "_recentSearch_zn0un_257", A = "_activeItem_zn0un_275", B = "_itemInfo_zn0un_311", E = "_recentSearches_zn0un_321", G = "_recentSearchesHeader_zn0un_335", J = "_recentSearchesList_zn0un_343", Q = "_recentSearchLink_zn0un_375", U = "_clearRecentSearch_zn0un_399", n = {
8
+ suggestionDropdown: F,
9
+ leftColumn: H,
10
+ leftColumnFullWidth: $,
11
+ suggestionSectionFullHeight: D,
12
+ rightColumn: w,
13
+ categorySection: b,
14
+ suggestions: T,
15
+ categories: k,
16
16
  suggestionsFullHeight: q,
17
17
  customPartLink: W,
18
18
  suggestionLink: j,
@@ -31,106 +31,106 @@ import '../../assets/SuggestionDropdown.css';const z = "_suggestionDropdown_ukyk
31
31
  };
32
32
  function I({
33
33
  terms: i,
34
- categories: a,
35
- items: g,
34
+ categories: r,
35
+ items: m,
36
36
  customParts: _ = [],
37
- view: N = "suggestions",
38
- recentSearches: k = [],
39
- onClearRecentSearch: m,
40
- onSuggestionClick: n,
41
- activeOptionIndex: r = -1,
37
+ view: v = "suggestions",
38
+ recentSearches: d = [],
39
+ onClearRecentSearch: z,
40
+ onSuggestionClick: t,
41
+ activeOptionIndex: c = -1,
42
42
  optionIdPrefix: u,
43
- onKeyDown: f,
44
- className: L
43
+ onKeyDown: L,
44
+ className: p
45
45
  }) {
46
- return i.length === 0 && a.length === 0 && g.length === 0 && _.length === 0 && k.length === 0 ? null : N === "recent-searches" ? /* @__PURE__ */ c(
46
+ return i.length === 0 && r.length === 0 && m.length === 0 && _.length === 0 && d.length === 0 ? null : v === "recent-searches" ? /* @__PURE__ */ a(
47
47
  "div",
48
48
  {
49
49
  id: u,
50
50
  role: "listbox",
51
- className: o(l.suggestionDropdown, l.recentSearches, L),
52
- onKeyDown: f,
51
+ className: o(n.suggestionDropdown, n.recentSearches, p),
52
+ onKeyDown: L,
53
53
  onMouseDown: (e) => e.preventDefault(),
54
54
  children: [
55
- /* @__PURE__ */ t("div", { className: l.recentSearchesHeader, children: /* @__PURE__ */ t(h, { size: "xxs", colorToken: "quaternary", children: "Recent Searches" }) }),
56
- /* @__PURE__ */ t("ol", { className: l.recentSearchesList, children: k.map((e) => /* @__PURE__ */ c("li", { className: l.recentSearch, children: [
57
- /* @__PURE__ */ t(
58
- d,
55
+ /* @__PURE__ */ l("div", { className: n.recentSearchesHeader, children: /* @__PURE__ */ l(h, { size: "xxs", colorToken: "quaternary", children: "Recent Searches" }) }),
56
+ /* @__PURE__ */ l("ol", { className: n.recentSearchesList, children: d.map((e) => /* @__PURE__ */ a("li", { className: n.recentSearch, children: [
57
+ /* @__PURE__ */ l(
58
+ g,
59
59
  {
60
60
  href: e.url,
61
- id: `${u}-${k.indexOf(e)}`,
61
+ id: `${u}-${d.indexOf(e)}`,
62
62
  role: "option",
63
- "aria-selected": r === k.indexOf(e),
64
- className: o(l.recentSearchLink, { [l.activeOption]: r === k.indexOf(e) }),
65
- onClick: () => n == null ? void 0 : n(e),
66
- children: /* @__PURE__ */ t(h, { size: "sm", children: e.term })
63
+ "aria-selected": c === d.indexOf(e),
64
+ className: o(n.recentSearchLink, { [n.activeOption]: c === d.indexOf(e) }),
65
+ onClick: () => t == null ? void 0 : t(e),
66
+ children: /* @__PURE__ */ l(h, { size: "sm", children: e.term })
67
67
  }
68
68
  ),
69
- /* @__PURE__ */ t(
69
+ /* @__PURE__ */ l(
70
70
  "button",
71
71
  {
72
72
  type: "button",
73
- className: l.clearRecentSearch,
73
+ className: n.clearRecentSearch,
74
74
  "aria-label": `Clear recent search: ${e.term}`,
75
- onClick: () => m == null ? void 0 : m(e),
76
- children: /* @__PURE__ */ t(p, { iconKey: "fa-regular fa-xmark", size: "sm" })
75
+ onClick: () => z == null ? void 0 : z(e),
76
+ children: /* @__PURE__ */ l(N, { iconKey: "fa-regular fa-xmark", size: "sm" })
77
77
  }
78
78
  )
79
79
  ] }, e.url)) })
80
80
  ]
81
81
  }
82
- ) : /* @__PURE__ */ c("div", { id: u, role: "listbox", className: o(l.suggestionDropdown, L), onKeyDown: f, onMouseDown: (e) => e.preventDefault(), children: [
83
- (i.length > 0 || a.length > 0 || _.length > 0) && /* @__PURE__ */ c("div", { className: o(l.leftColumn, { [l.leftColumnFullWidth]: g.length === 0 }), children: [
84
- i.length > 0 && /* @__PURE__ */ t("div", { className: o(l.suggestionSection, { [l.suggestionSectionFullHeight]: a.length === 0 }), children: /* @__PURE__ */ c("div", { className: o(l.suggestions, { [l.suggestionsFullHeight]: a.length === 0 }), children: [
85
- /* @__PURE__ */ t(h, { size: "xxs", colorToken: "quaternary", children: "Suggestions" }),
82
+ ) : /* @__PURE__ */ a("div", { id: u, role: "listbox", className: o(n.suggestionDropdown, p), onKeyDown: L, onMouseDown: (e) => e.preventDefault(), children: [
83
+ (i.length > 0 || r.length > 0 || _.length > 0) && /* @__PURE__ */ a("div", { className: o(n.leftColumn, { [n.leftColumnFullWidth]: m.length === 0 }), children: [
84
+ i.length > 0 && /* @__PURE__ */ l("div", { className: o(n.suggestionSection, { [n.suggestionSectionFullHeight]: r.length === 0 }), children: /* @__PURE__ */ a("div", { className: o(n.suggestions, { [n.suggestionsFullHeight]: r.length === 0 }), children: [
85
+ /* @__PURE__ */ l(h, { size: "xxs", colorToken: "quaternary", children: "Suggestions" }),
86
86
  i.map(
87
- (e, s) => /* @__PURE__ */ t(h, { size: "sm", children: /* @__PURE__ */ t(
88
- d,
87
+ (e, s) => /* @__PURE__ */ l(h, { size: "sm", children: /* @__PURE__ */ l(
88
+ g,
89
89
  {
90
90
  href: e.url,
91
91
  id: `${u}-${s}`,
92
92
  role: "option",
93
- "aria-selected": r === s,
94
- className: o(l.suggestionLink, { [l.activeOption]: r === s }),
95
- onClick: () => n == null ? void 0 : n(e),
93
+ "aria-selected": c === s,
94
+ className: o(n.suggestionLink, { [n.activeOption]: c === s }),
95
+ onClick: () => t == null ? void 0 : t(e),
96
96
  children: e.name
97
97
  }
98
98
  ) }, e.url)
99
99
  )
100
100
  ] }) }),
101
- a.length > 0 && /* @__PURE__ */ t("div", { className: l.categorySection, children: /* @__PURE__ */ c("div", { className: l.categories, children: [
102
- /* @__PURE__ */ t(h, { size: "xxs", colorToken: "quaternary", children: "Categories" }),
103
- a.map(
104
- (e, s) => /* @__PURE__ */ t(h, { size: "sm", children: /* @__PURE__ */ t(
105
- d,
101
+ r.length > 0 && /* @__PURE__ */ l("div", { className: n.categorySection, children: /* @__PURE__ */ a("div", { className: n.categories, children: [
102
+ /* @__PURE__ */ l(h, { size: "xxs", colorToken: "quaternary", children: "Categories" }),
103
+ r.map(
104
+ (e, s) => /* @__PURE__ */ l(h, { size: "sm", children: /* @__PURE__ */ l(
105
+ g,
106
106
  {
107
107
  href: e.url,
108
108
  id: `${u}-${i.length + s}`,
109
109
  role: "option",
110
- "aria-selected": r === i.length + s,
111
- className: o(l.categoryLink, { [l.activeOption]: r === i.length + s }),
112
- onClick: () => n == null ? void 0 : n(e),
110
+ "aria-selected": c === i.length + s,
111
+ className: o(n.categoryLink, { [n.activeOption]: c === i.length + s }),
112
+ onClick: () => t == null ? void 0 : t(e),
113
113
  children: e.name
114
114
  }
115
115
  ) }, e.categoryKey)
116
116
  )
117
117
  ] }) }),
118
- _.length > 0 && /* @__PURE__ */ t("div", { className: l.categorySection, children: /* @__PURE__ */ c("div", { className: l.categories, children: [
119
- /* @__PURE__ */ t(h, { size: "xxs", colorToken: "quaternary", children: "Custom Parts" }),
118
+ _.length > 0 && /* @__PURE__ */ l("div", { className: n.categorySection, children: /* @__PURE__ */ a("div", { className: n.categories, children: [
119
+ /* @__PURE__ */ l(h, { size: "xxs", colorToken: "quaternary", children: "Custom Parts" }),
120
120
  _.map((e, s) => {
121
- const y = i.length + a.length + s;
122
- return /* @__PURE__ */ c(
123
- d,
121
+ const f = i.length + r.length + s;
122
+ return /* @__PURE__ */ a(
123
+ g,
124
124
  {
125
125
  href: e.url,
126
- id: `${u}-${y}`,
126
+ id: `${u}-${f}`,
127
127
  role: "option",
128
- "aria-selected": r === y,
129
- className: o(l.customPartLink, { [l.activeOption]: r === y }),
130
- onClick: () => n == null ? void 0 : n(e),
128
+ "aria-selected": c === f,
129
+ className: o(n.customPartLink, { [n.activeOption]: c === f }),
130
+ onClick: () => t == null ? void 0 : t(e),
131
131
  children: [
132
- /* @__PURE__ */ t(p, { iconKey: e.icon, size: "sm" }),
133
- /* @__PURE__ */ t(h, { size: "sm", children: e.label })
132
+ /* @__PURE__ */ l(N, { iconKey: e.icon, size: "sm" }),
133
+ /* @__PURE__ */ l(h, { size: "sm", children: e.label })
134
134
  ]
135
135
  },
136
136
  e.id
@@ -138,20 +138,20 @@ function I({
138
138
  })
139
139
  ] }) })
140
140
  ] }),
141
- g.length > 0 && /* @__PURE__ */ t("div", { className: l.rightColumn, children: /* @__PURE__ */ t("ol", { className: l.itemList, children: g.map(
142
- (e, s) => /* @__PURE__ */ t("li", { className: o(l.item, { [l.activeItem]: r === i.length + a.length + _.length + s }), children: /* @__PURE__ */ c(
143
- d,
141
+ m.length > 0 && /* @__PURE__ */ l("div", { className: n.rightColumn, children: /* @__PURE__ */ l("ol", { className: n.itemList, children: m.map(
142
+ (e, s) => /* @__PURE__ */ l("li", { className: o(n.item, { [n.activeItem]: c === i.length + r.length + _.length + s }), children: /* @__PURE__ */ a(
143
+ g,
144
144
  {
145
145
  href: e.url,
146
- id: `${u}-${i.length + a.length + _.length + s}`,
146
+ id: `${u}-${i.length + r.length + _.length + s}`,
147
147
  role: "option",
148
- "aria-selected": r === i.length + a.length + _.length + s,
149
- onClick: () => n == null ? void 0 : n(e),
148
+ "aria-selected": c === i.length + r.length + _.length + s,
149
+ onClick: () => t == null ? void 0 : t(e),
150
150
  children: [
151
- /* @__PURE__ */ t(v, { src: e.image, alt: `${e.description} product image`, height: 72, width: 72 }),
152
- /* @__PURE__ */ c("div", { className: l.itemInfo, children: [
153
- /* @__PURE__ */ t(h, { size: "sm", children: e.description }),
154
- /* @__PURE__ */ t(h, { size: "xs", colorToken: "quaternary", children: e.itemId })
151
+ /* @__PURE__ */ l(y, { src: e.image, alt: `${e.description} product image`, height: 72, width: 72 }),
152
+ /* @__PURE__ */ a("div", { className: n.itemInfo, children: [
153
+ /* @__PURE__ */ l(h, { size: "sm", children: e.description }),
154
+ /* @__PURE__ */ l(h, { size: "xs", colorToken: "quaternary", children: e.itemId })
155
155
  ] })
156
156
  ]
157
157
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.278",
4
+ "version": "0.0.279",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",