@caseparts-org/caseblocks 0.0.237 → 0.0.238

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,126 +1,126 @@
1
- import { jsx as o, jsxs as l, Fragment as G } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as l, Fragment as Q } from "react/jsx-runtime";
2
2
  import x from "react";
3
3
  import { Text as O } from "../../atoms/Text/Text.js";
4
4
  import { Link as U } from "../../atoms/Link/Link.js";
5
- import { Icon as _ } from "../../atoms/Icon/Icon.js";
6
- import { Flex as g } from "../../atoms/Flex/Flex.js";
7
- import { Grid as ni, Column as li } from "../../atoms/Grid/Grid.js";
8
- import { Input as Q } from "../../atoms/Input/Input.js";
9
- import { InputEndAdornmentButton as z } from "../../atoms/InputEndAdornmentButton/InputEndAdornmentButton.js";
10
- import { Logo as mi } from "../../molecules/Logo/Logo.js";
11
- import { HamburgerMenu as ai } from "../../molecules/HamburgerMenu/HamburgerMenu.js";
12
- import { ShoppingCart as ci } from "../../molecules/Cart/Cart.js";
5
+ import { Icon as N } from "../../atoms/Icon/Icon.js";
6
+ import { Flex as z } from "../../atoms/Flex/Flex.js";
7
+ import { Grid as li, Column as mi } from "../../atoms/Grid/Grid.js";
8
+ import { Input as W } from "../../atoms/Input/Input.js";
9
+ import { InputEndAdornmentButton as p } from "../../atoms/InputEndAdornmentButton/InputEndAdornmentButton.js";
10
+ import { Logo as ai } from "../../molecules/Logo/Logo.js";
11
+ import { HamburgerMenu as ci } from "../../molecules/HamburgerMenu/HamburgerMenu.js";
12
+ import { ShoppingCart as si } from "../../molecules/Cart/Cart.js";
13
13
  import { Account as di } from "../../molecules/Account/Account.js";
14
- import { CategoryNav as si } from "../../molecules/CategoryNav/CategoryNav.js";
15
- import { SuggestionDropdown as p } from "../SuggestionDropdown/SuggestionDropdown.js";
16
- import { getHideAtStyles as W } from "../../atoms/HideAt.js";
17
- import { c as N } from "../../clsx-OuTLNxxd.js";
18
- import '../../assets/MainNav.css';const fi = "_main_12974_1", ri = "_column_12974_8", _i = "_topNav_12974_13", Ni = "_logo_12974_21", yi = "_operations_12974_24", ui = "_search_12974_31", ki = "_mobileSearch_12974_36", wi = "_suggestionDropdown_12974_39", Ai = "_siteLink_12974_45", Di = "_accountArea_12974_72", bi = "_category_12974_84", vi = "_categoryLink_12974_92", xi = "_menuList_12974_108", Li = "_menuItemAction_12974_131", Ki = "_shortcutIcon_12974_140", i = {
14
+ import { CategoryNav as ri } from "../../molecules/CategoryNav/CategoryNav.js";
15
+ import { SuggestionDropdown as B } from "../SuggestionDropdown/SuggestionDropdown.js";
16
+ import { getHideAtStyles as J } from "../../atoms/HideAt.js";
17
+ import { c as u } from "../../clsx-OuTLNxxd.js";
18
+ import '../../assets/MainNav.css';const fi = "_main_12974_1", _i = "_column_12974_8", Ni = "_topNav_12974_13", ui = "_logo_12974_21", yi = "_operations_12974_24", ki = "_search_12974_31", wi = "_mobileSearch_12974_36", Ai = "_suggestionDropdown_12974_39", bi = "_siteLink_12974_45", Di = "_accountArea_12974_72", vi = "_category_12974_84", xi = "_categoryLink_12974_92", Li = "_menuList_12974_108", Ki = "_menuItemAction_12974_131", gi = "_shortcutIcon_12974_140", i = {
19
19
  main: fi,
20
- column: ri,
21
- topNav: _i,
22
- logo: Ni,
20
+ column: _i,
21
+ topNav: Ni,
22
+ logo: ui,
23
23
  operations: yi,
24
- search: ui,
25
- mobileSearch: ki,
26
- suggestionDropdown: wi,
27
- siteLink: Ai,
24
+ search: ki,
25
+ mobileSearch: wi,
26
+ suggestionDropdown: Ai,
27
+ siteLink: bi,
28
28
  accountArea: Di,
29
- category: bi,
30
- categoryLink: vi,
31
- menuList: xi,
32
- menuItemAction: Li,
33
- shortcutIcon: Ki
34
- }, Qi = x.forwardRef(function({
35
- account: B,
29
+ category: vi,
30
+ categoryLink: xi,
31
+ menuList: Li,
32
+ menuItemAction: Ki,
33
+ shortcutIcon: gi
34
+ }, Wi = x.forwardRef(function({
35
+ account: $,
36
36
  categories: A,
37
- homeRoute: J,
38
- faqRoute: X,
37
+ homeRoute: X,
38
+ faqRoute: Y,
39
39
  customPartsRoute: E,
40
- aboutUsRoute: Y,
40
+ aboutUsRoute: Z,
41
41
  contactRoute: I,
42
- cart: Z,
43
- open: C,
42
+ cart: C,
43
+ open: V,
44
44
  // consume external panel control props from CartPropsBase
45
- className: V,
46
- onLoginClick: h,
45
+ className: h,
46
+ onLoginClick: P,
47
47
  searchInputProps: t,
48
48
  searchValue: c,
49
49
  onSearchValueChange: y,
50
- onClearSearch: u,
51
- onSearch: d,
50
+ onClearSearch: k,
51
+ onSearch: s,
52
52
  searchSuggestions: n,
53
- recentSearches: f,
53
+ recentSearches: r,
54
54
  onClearRecentSearch: M,
55
55
  onCategoryClick: L,
56
56
  onClickModelSerial: H,
57
- onCartClick: P,
58
- accountPopoverContent: S,
59
- isAccountLoading: ii,
60
- isCategoriesLoading: oi,
61
- ...ei
62
- }, ti) {
63
- const [R, k] = x.useState(!1), [m, r] = x.useState(-1), $ = x.useRef(null), s = x.useId(), D = R && !!c && !!n, F = R && !D && !!(f != null && f.length), b = D ? ((n == null ? void 0 : n.terms.length) ?? 0) + ((n == null ? void 0 : n.categories.length) ?? 0) + ((n == null ? void 0 : n.items.length) ?? 0) : F ? (f == null ? void 0 : f.length) ?? 0 : 0, T = {
57
+ onCartClick: S,
58
+ accountPopoverContent: ii,
59
+ isAccountLoading: oi,
60
+ isCategoriesLoading: ei,
61
+ ...ti
62
+ }, ni) {
63
+ const [R, f] = x.useState(!1), [m, _] = x.useState(-1), K = x.useRef(null), d = x.useId(), b = R && !!c && !!n, F = R && !b && !!(r != null && r.length), D = b ? ((n == null ? void 0 : n.terms.length) ?? 0) + ((n == null ? void 0 : n.categories.length) ?? 0) + ((n == null ? void 0 : n.items.length) ?? 0) : F ? (r == null ? void 0 : r.length) ?? 0 : 0, T = {
64
64
  ...t,
65
65
  onChange: (e) => {
66
66
  var a;
67
- r(-1), (a = t == null ? void 0 : t.onChange) == null || a.call(t, e);
67
+ _(-1), (a = t == null ? void 0 : t.onChange) == null || a.call(t, e);
68
68
  },
69
69
  onFocus: (e) => {
70
70
  var a;
71
- (a = t == null ? void 0 : t.onFocus) == null || a.call(t, e), k(!0);
71
+ (a = t == null ? void 0 : t.onFocus) == null || a.call(t, e), f(!0);
72
72
  },
73
73
  onBlur: (e) => {
74
74
  var a;
75
- (a = t == null ? void 0 : t.onBlur) == null || a.call(t, e), k(!1);
75
+ (a = t == null ? void 0 : t.onBlur) == null || a.call(t, e), f(!1);
76
76
  },
77
77
  onKeyDown: (e) => {
78
- var a, q;
78
+ var a, q, G;
79
79
  if ((a = t == null ? void 0 : t.onKeyDown) == null || a.call(t, e), !e.defaultPrevented) {
80
- if (e.key === "ArrowDown" && b > 0) {
81
- e.preventDefault(), r((v) => v >= b - 1 ? 0 : v + 1);
80
+ if (e.key === "ArrowDown" && D > 0) {
81
+ e.preventDefault(), _((v) => v >= D - 1 ? 0 : v + 1);
82
82
  return;
83
83
  }
84
- if (e.key === "ArrowUp" && b > 0) {
85
- e.preventDefault(), r((v) => v <= 0 ? b - 1 : v - 1);
84
+ if (e.key === "ArrowUp" && D > 0) {
85
+ e.preventDefault(), _((v) => v <= 0 ? D - 1 : v - 1);
86
86
  return;
87
87
  }
88
- if (e.key === "Tab" && D && m >= 0 && m < ((n == null ? void 0 : n.terms.length) ?? 0)) {
89
- e.preventDefault(), y == null || y((n == null ? void 0 : n.terms[m].name) ?? ""), r(-1);
88
+ if (e.key === "Tab" && b && m >= 0 && m < ((n == null ? void 0 : n.terms.length) ?? 0)) {
89
+ e.preventDefault(), y == null || y((n == null ? void 0 : n.terms[m].name) ?? ""), _(-1);
90
90
  return;
91
91
  }
92
- if (e.key === "Enter" && m >= 0 && m < b) {
93
- e.preventDefault(), (q = document.getElementById(`${s}-${m}`)) == null || q.click();
92
+ if (e.key === "Enter" && m >= 0 && m < D) {
93
+ e.preventDefault(), (q = document.getElementById(`${d}-${m}`)) == null || q.click();
94
94
  return;
95
95
  }
96
- e.key === "Enter" && (e.preventDefault(), d == null || d(c ?? ""));
96
+ e.key === "Enter" && (e.preventDefault(), f(!1), (G = K.current) == null || G.blur(), s == null || s(c ?? ""));
97
97
  }
98
98
  }
99
- }, K = (e) => {
99
+ }, g = (e) => {
100
100
  var a;
101
- e.key.length !== 1 || e.altKey || e.ctrlKey || e.metaKey || (e.preventDefault(), r(-1), y == null || y(`${c ?? ""}${e.key}`), (a = $.current) == null || a.focus());
101
+ e.key.length !== 1 || e.altKey || e.ctrlKey || e.metaKey || (e.preventDefault(), _(-1), y == null || y(`${c ?? ""}${e.key}`), (a = K.current) == null || a.focus());
102
102
  };
103
- return /* @__PURE__ */ o(ni, { ...ei, gridWrapperClassName: N(i.main, V), children: /* @__PURE__ */ l(li, { span: 12, className: i.column, children: [
103
+ return /* @__PURE__ */ o(li, { ...ti, gridWrapperClassName: u(i.main, h), children: /* @__PURE__ */ l(mi, { span: 12, className: i.column, children: [
104
104
  /* @__PURE__ */ l(
105
- g,
105
+ z,
106
106
  {
107
107
  flexDirection: "row",
108
108
  alignItems: "center",
109
109
  justifyContent: "space-between",
110
110
  className: i.topNav,
111
111
  children: [
112
- /* @__PURE__ */ o("div", { className: i.logo, children: /* @__PURE__ */ o(U, { href: J, children: /* @__PURE__ */ o(mi, {}) }) }),
112
+ /* @__PURE__ */ o("div", { className: i.logo, children: /* @__PURE__ */ o(U, { href: X, children: /* @__PURE__ */ o(ai, {}) }) }),
113
113
  /* @__PURE__ */ l(
114
- g,
114
+ z,
115
115
  {
116
116
  flexDirection: "row",
117
117
  alignItems: "center",
118
118
  justifyContent: "flex-end",
119
119
  className: i.operations,
120
120
  children: [
121
- /* @__PURE__ */ l(g, { flexDirection: "row", hideAt: ["sm"], className: i.search, children: [
121
+ /* @__PURE__ */ l(z, { flexDirection: "row", hideAt: ["sm"], className: i.search, children: [
122
122
  /* @__PURE__ */ o(
123
- Q,
123
+ W,
124
124
  {
125
125
  variant: "search",
126
126
  label: "Search",
@@ -128,53 +128,53 @@ import '../../assets/MainNav.css';const fi = "_main_12974_1", ri = "_column_1297
128
128
  name: "cpc-search",
129
129
  autoComplete: "off",
130
130
  "aria-autocomplete": "list",
131
- "aria-controls": s,
132
- "aria-activedescendant": m >= 0 ? `${s}-${m}` : void 0,
131
+ "aria-controls": d,
132
+ "aria-activedescendant": m >= 0 ? `${d}-${m}` : void 0,
133
133
  ...T,
134
- ref: $,
134
+ ref: K,
135
135
  value: c,
136
- endAdornment: /* @__PURE__ */ l(G, { children: [
136
+ endAdornment: /* @__PURE__ */ l(Q, { children: [
137
137
  !!c && /* @__PURE__ */ o(
138
- z,
138
+ p,
139
139
  {
140
140
  "aria-label": "Clear search",
141
141
  onClick: () => {
142
- r(-1), u == null || u();
142
+ _(-1), k == null || k();
143
143
  },
144
144
  iconProps: { iconKey: "fa-regular fa-xmark", size: "sm" }
145
145
  }
146
146
  ),
147
147
  /* @__PURE__ */ o(
148
- z,
148
+ p,
149
149
  {
150
150
  "aria-label": "Submit search",
151
- onClick: () => d == null ? void 0 : d(c ?? ""),
151
+ onClick: () => s == null ? void 0 : s(c ?? ""),
152
152
  iconProps: { iconKey: "fa-regular fa-magnifying-glass", size: "sm" }
153
153
  }
154
154
  )
155
155
  ] })
156
156
  }
157
157
  ),
158
- D && n && /* @__PURE__ */ o(p, { ...n, activeOptionIndex: m, optionIdPrefix: s, onKeyDown: K, onSuggestionClick: () => k(!1), className: i.suggestionDropdown }),
158
+ b && n && /* @__PURE__ */ o(B, { ...n, activeOptionIndex: m, optionIdPrefix: d, onKeyDown: g, onSuggestionClick: () => f(!1), className: i.suggestionDropdown }),
159
159
  F && /* @__PURE__ */ o(
160
- p,
160
+ B,
161
161
  {
162
162
  terms: [],
163
163
  categories: [],
164
164
  items: [],
165
165
  view: "recent-searches",
166
- recentSearches: f,
166
+ recentSearches: r,
167
167
  onClearRecentSearch: M,
168
168
  activeOptionIndex: m,
169
- optionIdPrefix: s,
170
- onKeyDown: K,
171
- onSuggestionClick: () => k(!1),
169
+ optionIdPrefix: d,
170
+ onKeyDown: g,
171
+ onSuggestionClick: () => f(!1),
172
172
  className: i.suggestionDropdown
173
173
  }
174
174
  )
175
175
  ] }),
176
- /* @__PURE__ */ l("button", { onClick: H, className: N(i.siteLink, W(["sm", "md"])), children: [
177
- /* @__PURE__ */ o(_, { iconKey: "fa-regular fa-sparkles", size: "sm" }),
176
+ /* @__PURE__ */ l("button", { onClick: H, className: u(i.siteLink, J(["sm", "md"])), children: [
177
+ /* @__PURE__ */ o(N, { iconKey: "fa-regular fa-sparkles", size: "sm" }),
178
178
  "Model/Serial"
179
179
  ] }),
180
180
  /* @__PURE__ */ o(w, { href: E, hideAt: ["sm", "md"], children: "Custom Parts" }),
@@ -182,23 +182,23 @@ import '../../assets/MainNav.css';const fi = "_main_12974_1", ri = "_column_1297
182
182
  /* @__PURE__ */ o("div", { className: i.accountArea, children: /* @__PURE__ */ o(
183
183
  di,
184
184
  {
185
- account: B,
186
- onLoginClick: h,
185
+ account: $,
186
+ onLoginClick: P,
187
187
  className: i.avatar,
188
- popoverContent: S,
189
- isAccountLoading: ii
188
+ popoverContent: ii,
189
+ isAccountLoading: oi
190
190
  }
191
191
  ) }),
192
192
  /* @__PURE__ */ o(
193
- ci,
193
+ si,
194
194
  {
195
- ref: ti,
196
- cart: Z,
197
- open: C,
198
- onCartClick: P
195
+ ref: ni,
196
+ cart: C,
197
+ open: V,
198
+ onCartClick: S
199
199
  }
200
200
  ),
201
- /* @__PURE__ */ l(ai, { hideAt: ["lg"], children: [
201
+ /* @__PURE__ */ l(ci, { hideAt: ["lg"], children: [
202
202
  /* @__PURE__ */ l("section", { children: [
203
203
  /* @__PURE__ */ o(O, { size: "md", weight: "semibold", children: "Useful shortcuts" }),
204
204
  /* @__PURE__ */ l("ul", { className: i.menuList, children: [
@@ -207,27 +207,27 @@ import '../../assets/MainNav.css';const fi = "_main_12974_1", ri = "_column_1297
207
207
  {
208
208
  onClick: H,
209
209
  "data-hamburger-close": "true",
210
- className: N(i.siteLink, i.menuItemAction, W(["lg"])),
210
+ className: u(i.siteLink, i.menuItemAction, J(["lg"])),
211
211
  children: [
212
- /* @__PURE__ */ o(_, { iconKey: "fa-regular fa-sparkles", size: "sm", className: i.shortcutIcon }),
212
+ /* @__PURE__ */ o(N, { iconKey: "fa-regular fa-sparkles", size: "sm", className: i.shortcutIcon }),
213
213
  "Model/Serial"
214
214
  ]
215
215
  }
216
216
  ) }),
217
- /* @__PURE__ */ o("li", { className: i.menuItem, children: /* @__PURE__ */ l(w, { href: E, className: N(i.siteLink, i.menuItemAction), children: [
218
- /* @__PURE__ */ o(_, { iconKey: "fa-regular fa-screwdriver-wrench", size: "sm", className: i.shortcutIcon }),
217
+ /* @__PURE__ */ o("li", { className: i.menuItem, children: /* @__PURE__ */ l(w, { href: E, className: u(i.siteLink, i.menuItemAction), children: [
218
+ /* @__PURE__ */ o(N, { iconKey: "fa-regular fa-screwdriver-wrench", size: "sm", className: i.shortcutIcon }),
219
219
  "Custom Parts"
220
220
  ] }) }),
221
- /* @__PURE__ */ o("li", { className: i.menuItem, children: /* @__PURE__ */ l(w, { href: I, className: N(i.siteLink, i.menuItemAction), children: [
222
- /* @__PURE__ */ o(_, { iconKey: "fa-regular fa-envelope", size: "sm", className: i.shortcutIcon }),
221
+ /* @__PURE__ */ o("li", { className: i.menuItem, children: /* @__PURE__ */ l(w, { href: I, className: u(i.siteLink, i.menuItemAction), children: [
222
+ /* @__PURE__ */ o(N, { iconKey: "fa-regular fa-envelope", size: "sm", className: i.shortcutIcon }),
223
223
  "Contact Us"
224
224
  ] }) }),
225
- /* @__PURE__ */ o("li", { className: i.menuItem, children: /* @__PURE__ */ l(w, { href: X, className: N(i.siteLink, i.menuItemAction), children: [
226
- /* @__PURE__ */ o(_, { iconKey: "fa-solid fa-question", size: "sm", className: i.shortcutIcon }),
225
+ /* @__PURE__ */ o("li", { className: i.menuItem, children: /* @__PURE__ */ l(w, { href: Y, className: u(i.siteLink, i.menuItemAction), children: [
226
+ /* @__PURE__ */ o(N, { iconKey: "fa-solid fa-question", size: "sm", className: i.shortcutIcon }),
227
227
  "FAQ"
228
228
  ] }) }),
229
- /* @__PURE__ */ o("li", { className: i.menuItem, children: /* @__PURE__ */ l(w, { href: Y, className: N(i.siteLink, i.menuItemAction), children: [
230
- /* @__PURE__ */ o(_, { iconKey: "fa-regular fa-people-group", size: "sm", className: i.shortcutIcon }),
229
+ /* @__PURE__ */ o("li", { className: i.menuItem, children: /* @__PURE__ */ l(w, { href: Z, className: u(i.siteLink, i.menuItemAction), children: [
230
+ /* @__PURE__ */ o(N, { iconKey: "fa-regular fa-people-group", size: "sm", className: i.shortcutIcon }),
231
231
  "About Us"
232
232
  ] }) })
233
233
  ] })
@@ -243,7 +243,7 @@ import '../../assets/MainNav.css';const fi = "_main_12974_1", ri = "_column_1297
243
243
  children: [
244
244
  /* @__PURE__ */ o(O, { size: "sm", children: e.label }),
245
245
  /* @__PURE__ */ o(
246
- _,
246
+ N,
247
247
  {
248
248
  iconKey: "fa-solid fa-chevron-right",
249
249
  title: "Navigate",
@@ -261,9 +261,9 @@ import '../../assets/MainNav.css';const fi = "_main_12974_1", ri = "_column_1297
261
261
  ]
262
262
  }
263
263
  ),
264
- /* @__PURE__ */ o(g, { flexDirection: "row", hideAt: ["md", "lg"], className: i.mobileSearch, children: /* @__PURE__ */ l("div", { className: i.search, children: [
264
+ /* @__PURE__ */ o(z, { flexDirection: "row", hideAt: ["md", "lg"], className: i.mobileSearch, children: /* @__PURE__ */ l("div", { className: i.search, children: [
265
265
  /* @__PURE__ */ o(
266
- Q,
266
+ W,
267
267
  {
268
268
  variant: "search",
269
269
  label: "Search",
@@ -271,56 +271,56 @@ import '../../assets/MainNav.css';const fi = "_main_12974_1", ri = "_column_1297
271
271
  name: "cpc-search",
272
272
  autoComplete: "off",
273
273
  "aria-autocomplete": "list",
274
- "aria-controls": s,
275
- "aria-activedescendant": m >= 0 ? `${s}-${m}` : void 0,
274
+ "aria-controls": d,
275
+ "aria-activedescendant": m >= 0 ? `${d}-${m}` : void 0,
276
276
  ...T,
277
- ref: $,
277
+ ref: K,
278
278
  value: c,
279
- endAdornment: /* @__PURE__ */ l(G, { children: [
279
+ endAdornment: /* @__PURE__ */ l(Q, { children: [
280
280
  !!c && /* @__PURE__ */ o(
281
- z,
281
+ p,
282
282
  {
283
283
  "aria-label": "Clear search",
284
284
  onClick: () => {
285
- r(-1), u == null || u();
285
+ _(-1), k == null || k();
286
286
  },
287
287
  iconProps: { iconKey: "fa-regular fa-xmark", size: "sm" }
288
288
  }
289
289
  ),
290
290
  /* @__PURE__ */ o(
291
- z,
291
+ p,
292
292
  {
293
293
  "aria-label": "Submit search",
294
- onClick: () => d == null ? void 0 : d(c ?? ""),
294
+ onClick: () => s == null ? void 0 : s(c ?? ""),
295
295
  iconProps: { iconKey: "fa-regular fa-magnifying-glass", size: "sm" }
296
296
  }
297
297
  )
298
298
  ] })
299
299
  }
300
300
  ),
301
- D && n && /* @__PURE__ */ o(p, { ...n, activeOptionIndex: m, optionIdPrefix: s, onKeyDown: K, onSuggestionClick: () => k(!1), className: i.suggestionDropdown }),
301
+ b && n && /* @__PURE__ */ o(B, { ...n, activeOptionIndex: m, optionIdPrefix: d, onKeyDown: g, onSuggestionClick: () => f(!1), className: i.suggestionDropdown }),
302
302
  F && /* @__PURE__ */ o(
303
- p,
303
+ B,
304
304
  {
305
305
  terms: [],
306
306
  categories: [],
307
307
  items: [],
308
308
  view: "recent-searches",
309
- recentSearches: f,
309
+ recentSearches: r,
310
310
  onClearRecentSearch: M,
311
311
  activeOptionIndex: m,
312
- optionIdPrefix: s,
313
- onKeyDown: K,
314
- onSuggestionClick: () => k(!1),
312
+ optionIdPrefix: d,
313
+ onKeyDown: g,
314
+ onSuggestionClick: () => f(!1),
315
315
  className: i.suggestionDropdown
316
316
  }
317
317
  )
318
318
  ] }) }),
319
319
  /* @__PURE__ */ o(
320
- si,
320
+ ri,
321
321
  {
322
322
  categories: A,
323
- isCategoriesLoading: oi,
323
+ isCategoriesLoading: ei,
324
324
  onCategoryClick: L
325
325
  }
326
326
  )
@@ -328,11 +328,11 @@ import '../../assets/MainNav.css';const fi = "_main_12974_1", ri = "_column_1297
328
328
  });
329
329
  function w({
330
330
  href: j,
331
- children: B,
331
+ children: $,
332
332
  ...A
333
333
  }) {
334
- return /* @__PURE__ */ o(U, { href: j, className: i.siteLink, ...A, children: B });
334
+ return /* @__PURE__ */ o(U, { href: j, className: i.siteLink, ...A, children: $ });
335
335
  }
336
336
  export {
337
- Qi as MainNav
337
+ Wi as MainNav
338
338
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.237",
4
+ "version": "0.0.238",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",