@caseparts-org/caseblocks 0.0.230 → 0.0.232

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
- ._main_1mqom_1{border:1px solid var(--border-border-primary);border-radius:var(--radius-radius-lg);background:var(--surface-surface-page);overflow:hidden;max-width:1130px;margin:0 auto}@media (max-width: 767px){._main_1mqom_1{flex-direction:column}}._visual_1mqom_14{position:relative;width:50%;min-width:340px;background:linear-gradient(120deg,#f7f8f8 0%,var(--color-brand-secondary-lt-teal-blue) 55%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--spacing-spacing-xl);padding:var(--spacing-spacing-3xl) var(--spacing-spacing-xl) var(--spacing-spacing-2xl)}@media (max-width: 767px){._visual_1mqom_14{width:100%;min-width:0}}._visual_1mqom_14:before,._visual_1mqom_14:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:#cde8f5;pointer-events:none}._visual_1mqom_14:before{top:-92px;right:-92px}._visual_1mqom_14:after{left:-100px;bottom:-100px}._content_1mqom_53{position:relative;width:50%;min-width:340px;display:flex;flex-direction:column;gap:var(--spacing-spacing-md);padding:var(--spacing-spacing-3xl) var(--spacing-spacing-2xl)}@media (max-width: 767px){._content_1mqom_53{width:100%;min-width:0;padding:var(--spacing-spacing-xl) var(--spacing-spacing-lg)}}._content_1mqom_53:before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:var(--border-border-primary)}@media (max-width: 767px){{right:0;width:100%;height:1px}}._statusCode_1mqom_85{color:var(--color-brand-primary-primary-teal-blue);padding:0;margin:0}._heading_1mqom_91{line-height:1.1}._badge_1mqom_95{background:var(--surface-surface-primary);border:1px solid var(--border-border-primary-btn);color:var(--text-text-secondary);text-transform:uppercase;letter-spacing:.03em}._badgeContent_1mqom_103,._calloutTitle_1mqom_104,._actionContent_1mqom_105,._helpRow_1mqom_106{display:inline-flex;align-items:center;gap:var(--spacing-spacing-xs)}._illustration_1mqom_112{width:100%;max-width:280px;height:auto;position:relative;z-index:1}._illustrationCaption_1mqom_120{text-align:center;max-width:320px;position:relative;z-index:1;line-height:1.45}._callout_1mqom_104{border:1px solid var(--border-border-primary);border-radius:var(--radius-radius-md);background:var(--surface-surface-secondary);padding:var(--spacing-spacing-md);display:flex;flex-direction:column;gap:var(--spacing-spacing-xs)}._actions_1mqom_138{display:flex;flex-wrap:wrap;gap:var(--spacing-spacing-md)}@media (max-width: 767px){._actions_1mqom_138{flex-direction:column}}._actions_1mqom_138 a{min-width:190px}@media (max-width: 767px){._actions_1mqom_138 a{width:100%;min-width:0;justify-content:center}}._help_1mqom_106{border-top:1px solid var(--border-border-primary);padding-top:var(--spacing-spacing-md);margin-top:var(--spacing-spacing-sm)}
1
+ ._main_o7lat_1{border:1px solid var(--border-border-primary);border-radius:var(--radius-radius-lg);background:var(--surface-surface-page);overflow:hidden;max-width:1130px;min-height:580px;margin:0 auto}@media (max-width: 767px){._main_o7lat_1{flex-direction:column}}._visual_o7lat_15{position:relative;width:50%;min-width:340px;background:linear-gradient(120deg,#f7f8f8 0%,var(--color-brand-secondary-lt-teal-blue) 55%);overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--spacing-spacing-xl);padding:var(--spacing-spacing-3xl) var(--spacing-spacing-xl) var(--spacing-spacing-2xl)}@media (max-width: 767px){._visual_o7lat_15{width:100%;min-width:0}}._visual_o7lat_15:before,._visual_o7lat_15:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:#cde8f5;pointer-events:none}._visual_o7lat_15:before{top:-92px;right:-92px}._visual_o7lat_15:after{left:-100px;bottom:-100px}._content_o7lat_55{position:relative;width:50%;min-width:340px;align-self:stretch;display:flex;flex-direction:column;gap:var(--spacing-spacing-md);padding:var(--spacing-spacing-3xl) var(--spacing-spacing-2xl)}@media (max-width: 767px){._content_o7lat_55{width:100%;min-width:0;padding:var(--spacing-spacing-xl) var(--spacing-spacing-lg)}}._content_o7lat_55:before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:var(--border-border-primary)}@media (max-width: 767px){._content_o7lat_55:before{right:0;width:100%;height:1px}}._statusCode_o7lat_90{color:var(--color-brand-primary-primary-teal-blue);padding:0;margin:0}._heading_o7lat_96{line-height:1.1}._badge_o7lat_100{background:var(--surface-surface-primary);border:1px solid var(--border-border-primary-btn);color:var(--text-text-secondary);text-transform:uppercase;letter-spacing:.03em}._badgeContent_o7lat_109,._calloutTitle_o7lat_110{display:inline-flex;align-items:center;gap:var(--spacing-spacing-3xs)}._illustration_o7lat_116{width:100%;max-width:280px;height:auto;position:relative;z-index:1}._illustrationCaption_o7lat_124{text-align:center;max-width:320px;position:relative;z-index:1;line-height:1.45}._callout_o7lat_110{border:1px solid var(--border-border-primary);border-radius:var(--border-radius-md);background:var(--surface-surface-secondary);padding:var(--spacing-spacing-default);display:flex;flex-direction:column;gap:var(--spacing-spacing-2xs)}._actions_o7lat_142{display:grid;grid-template-columns:1fr 1fr;gap:var(--spacing-spacing-md)}@media (max-width: 767px){._actions_o7lat_142{display:flex;flex-wrap:wrap;flex-direction:column}}._actions_o7lat_142 a{width:100%}@media (max-width: 767px){._actions_o7lat_142 a{min-width:0;justify-content:center}}._help_o7lat_163{display:inline-flex;align-items:center;gap:var(--spacing-spacing-3xs);border-top:1px solid var(--border-border-primary);padding-top:var(--spacing-spacing-md);margin-top:auto}
@@ -1,58 +1,64 @@
1
- import { jsxs as w, jsx as t } from "react/jsx-runtime";
2
- import f, { useState as j } from "react";
1
+ import { jsxs as A, jsx as d } from "react/jsx-runtime";
2
+ import x, { useState as D } from "react";
3
3
  import { c as o } from "../../clsx-OuTLNxxd.js";
4
- import { getHideAtStyles as A } from "../HideAt.js";
5
- import '../../assets/Input.css';const F = "_input_wjc1i_1", x = "_search_wjc1i_24", B = "_hasEndAdornment_wjc1i_28", D = "_endAdornment_wjc1i_32", N = "_label_wjc1i_58", y = "_labelPlaceholder_wjc1i_72", E = "_labelDisabled_wjc1i_92", e = {
4
+ import { getHideAtStyles as N } from "../HideAt.js";
5
+ import '../../assets/Input.css';const y = "_input_wjc1i_1", E = "_search_wjc1i_24", F = "_hasEndAdornment_wjc1i_28", I = "_endAdornment_wjc1i_32", g = "_label_wjc1i_58", P = "_labelPlaceholder_wjc1i_72", R = "_labelDisabled_wjc1i_92", e = {
6
6
  "input-container": "_input-container_wjc1i_1",
7
- input: F,
8
- search: x,
9
- hasEndAdornment: B,
10
- endAdornment: D,
11
- label: N,
12
- labelPlaceholder: y,
13
- labelDisabled: E
14
- }, I = f.forwardRef(
7
+ input: y,
8
+ search: E,
9
+ hasEndAdornment: F,
10
+ endAdornment: I,
11
+ label: g,
12
+ labelPlaceholder: P,
13
+ labelDisabled: R
14
+ }, S = x.forwardRef(
15
15
  ({
16
- label: n,
17
- placeholder: c,
18
- value: a,
19
- hideAt: _,
20
- className: m,
21
- variant: u = "default",
22
- endAdornment: s,
23
- ...l
24
- }, b) => {
25
- const [i, d] = j(!1), h = !!l.disabled, r = !!n && (i || !!a), p = !!c && !n && !i && !a;
26
- return /* @__PURE__ */ w("div", { className: o(e["input-container"], A(_)), children: [
27
- (n || p) && /* @__PURE__ */ t(
16
+ label: a,
17
+ placeholder: _,
18
+ value: l,
19
+ hideAt: h,
20
+ className: p,
21
+ variant: w = "default",
22
+ endAdornment: t,
23
+ onFocus: s,
24
+ onBlur: i,
25
+ ...n
26
+ }, f) => {
27
+ const [r, m] = D(!1), j = !!n.disabled, b = !!a && (r || !!l), u = !!_ && !a && !r && !l;
28
+ return /* @__PURE__ */ A("div", { className: o(e["input-container"], N(h)), children: [
29
+ (a || u) && /* @__PURE__ */ d(
28
30
  "label",
29
31
  {
30
- htmlFor: l.name,
32
+ htmlFor: n.name,
31
33
  className: o(
32
- r ? e.label : e.labelPlaceholder,
33
- h ? e.labelDisabled : void 0
34
+ b ? e.label : e.labelPlaceholder,
35
+ j ? e.labelDisabled : void 0
34
36
  ),
35
- children: r ? n : c ?? n
37
+ children: b ? a : _ ?? a
36
38
  }
37
39
  ),
38
- /* @__PURE__ */ t(
40
+ /* @__PURE__ */ d(
39
41
  "input",
40
42
  {
41
- value: a,
42
- ref: b,
43
- id: l.name,
43
+ value: l,
44
+ ref: f,
45
+ id: n.name,
44
46
  type: "text",
45
- onFocus: () => d(!0),
46
- onBlur: () => d(!1),
47
- className: o(e.input, e[u], s && e.hasEndAdornment, m),
48
- ...l
47
+ onFocus: (c) => {
48
+ m(!0), s == null || s(c);
49
+ },
50
+ onBlur: (c) => {
51
+ m(!1), i == null || i(c);
52
+ },
53
+ className: o(e.input, e[w], t && e.hasEndAdornment, p),
54
+ ...n
49
55
  }
50
56
  ),
51
- s && /* @__PURE__ */ t("span", { className: e.endAdornment, children: s })
57
+ t && /* @__PURE__ */ d("span", { className: e.endAdornment, children: t })
52
58
  ] });
53
59
  }
54
60
  );
55
- I.displayName = "Input";
61
+ S.displayName = "Input";
56
62
  export {
57
- I as Input
63
+ S as Input
58
64
  };
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as o, Fragment as B } from "react/jsx-runtime";
2
2
  import F from "react";
3
3
  import { Text as w } from "../../atoms/Text/Text.js";
4
4
  import { Link as y } from "../../atoms/Link/Link.js";
5
- import { Icon as a } from "../../atoms/Icon/Icon.js";
5
+ import { Icon as t } from "../../atoms/Icon/Icon.js";
6
6
  import { Flex as g } from "../../atoms/Flex/Flex.js";
7
7
  import { Grid as Y, Column as Z } from "../../atoms/Grid/Grid.js";
8
8
  import { Input as j } from "../../atoms/Input/Input.js";
@@ -14,16 +14,16 @@ import { Account as ee } from "../../molecules/Account/Account.js";
14
14
  import { CategoryNav as ie } from "../../molecules/CategoryNav/CategoryNav.js";
15
15
  import { SuggestionDropdown as N } from "../SuggestionDropdown/SuggestionDropdown.js";
16
16
  import { getHideAtStyles as M } from "../../atoms/HideAt.js";
17
- import { c as t } from "../../clsx-OuTLNxxd.js";
18
- import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_12974_8", ne = "_topNav_12974_13", ae = "_logo_12974_21", te = "_operations_12974_24", me = "_search_12974_31", ce = "_mobileSearch_12974_36", le = "_suggestionDropdown_12974_39", re = "_siteLink_12974_45", de = "_accountArea_12974_72", fe = "_category_12974_84", ue = "_categoryLink_12974_92", he = "_menuList_12974_108", ge = "_menuItemAction_12974_131", _e = "_shortcutIcon_12974_140", e = {
17
+ import { c as m } from "../../clsx-OuTLNxxd.js";
18
+ import '../../assets/MainNav.css';const oe = "_main_12974_1", ne = "_column_12974_8", se = "_topNav_12974_13", ae = "_logo_12974_21", te = "_operations_12974_24", me = "_search_12974_31", le = "_mobileSearch_12974_36", ce = "_suggestionDropdown_12974_39", re = "_siteLink_12974_45", de = "_accountArea_12974_72", fe = "_category_12974_84", ue = "_categoryLink_12974_92", he = "_menuList_12974_108", ge = "_menuItemAction_12974_131", _e = "_shortcutIcon_12974_140", e = {
19
19
  main: oe,
20
- column: se,
21
- topNav: ne,
20
+ column: ne,
21
+ topNav: se,
22
22
  logo: ae,
23
23
  operations: te,
24
24
  search: me,
25
- mobileSearch: ce,
26
- suggestionDropdown: le,
25
+ mobileSearch: le,
26
+ suggestionDropdown: ce,
27
27
  siteLink: re,
28
28
  accountArea: de,
29
29
  category: fe,
@@ -33,21 +33,21 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
33
33
  shortcutIcon: _e
34
34
  }, je = F.forwardRef(function({
35
35
  account: p,
36
- categories: l,
36
+ categories: r,
37
37
  homeRoute: U,
38
38
  faqRoute: H,
39
39
  customPartsRoute: k,
40
40
  aboutUsRoute: q,
41
- contactRoute: L,
41
+ contactRoute: v,
42
42
  cart: E,
43
43
  open: G,
44
44
  // consume external panel control props from CartPropsBase
45
45
  className: Q,
46
46
  onLoginClick: T,
47
- searchInputProps: s,
48
- searchValue: r,
49
- onClearSearch: v,
50
- onSearch: m,
47
+ searchInputProps: n,
48
+ searchValue: a,
49
+ onClearSearch: L,
50
+ onSearch: l,
51
51
  searchSuggestions: d,
52
52
  recentSearches: f,
53
53
  onClearRecentSearch: z,
@@ -59,18 +59,18 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
59
59
  isCategoriesLoading: R,
60
60
  ...S
61
61
  }, X) {
62
- const [D, K] = F.useState(!1), b = D && !!r && !!d, I = D && !b && !!(f != null && f.length), C = {
63
- ...s,
64
- onFocus: (n) => {
62
+ const [D, K] = F.useState(!1), b = D && !!a && !!d, I = D && !b && !!(f != null && f.length), C = {
63
+ ...n,
64
+ onFocus: (s) => {
65
65
  var u;
66
- (u = s == null ? void 0 : s.onFocus) == null || u.call(s, n), K(!0);
66
+ (u = n == null ? void 0 : n.onFocus) == null || u.call(n, s), K(!0);
67
67
  },
68
- onBlur: (n) => {
68
+ onBlur: (s) => {
69
69
  var u;
70
- (u = s == null ? void 0 : s.onBlur) == null || u.call(s, n), K(!1);
70
+ (u = n == null ? void 0 : n.onBlur) == null || u.call(n, s), K(!1);
71
71
  }
72
72
  };
73
- return /* @__PURE__ */ i(Y, { ...S, gridWrapperClassName: t(e.main, Q), children: /* @__PURE__ */ o(Z, { span: 12, className: e.column, children: [
73
+ return /* @__PURE__ */ i(Y, { ...S, gridWrapperClassName: m(e.main, Q), children: /* @__PURE__ */ o(Z, { span: 12, className: e.column, children: [
74
74
  /* @__PURE__ */ o(
75
75
  g,
76
76
  {
@@ -99,12 +99,13 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
99
99
  autoComplete: "off",
100
100
  "aria-autocomplete": "list",
101
101
  ...C,
102
+ value: a,
102
103
  endAdornment: /* @__PURE__ */ o(B, { children: [
103
- !!r && /* @__PURE__ */ i(
104
+ !!a && /* @__PURE__ */ i(
104
105
  _,
105
106
  {
106
107
  "aria-label": "Clear search",
107
- onClick: v,
108
+ onClick: L,
108
109
  iconProps: { iconKey: "fa-regular fa-xmark", size: "sm" }
109
110
  }
110
111
  ),
@@ -112,7 +113,7 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
112
113
  _,
113
114
  {
114
115
  "aria-label": "Submit search",
115
- onClick: () => m == null ? void 0 : m(r ?? ""),
116
+ onClick: () => l == null ? void 0 : l(a ?? ""),
116
117
  iconProps: { iconKey: "fa-regular fa-magnifying-glass", size: "sm" }
117
118
  }
118
119
  )
@@ -133,12 +134,12 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
133
134
  }
134
135
  )
135
136
  ] }),
136
- /* @__PURE__ */ o("button", { onClick: x, className: t(e.siteLink, M(["sm", "md"])), children: [
137
- /* @__PURE__ */ i(a, { iconKey: "fa-regular fa-sparkles", size: "sm" }),
137
+ /* @__PURE__ */ o("button", { onClick: x, className: m(e.siteLink, M(["sm", "md"])), children: [
138
+ /* @__PURE__ */ i(t, { iconKey: "fa-regular fa-sparkles", size: "sm" }),
138
139
  "Model/Serial"
139
140
  ] }),
140
141
  /* @__PURE__ */ i(c, { href: k, hideAt: ["sm", "md"], children: "Custom Parts" }),
141
- /* @__PURE__ */ i(c, { href: L, hideAt: ["sm", "md"], children: "Contact Us" }),
142
+ /* @__PURE__ */ i(c, { href: v, hideAt: ["sm", "md"], children: "Contact Us" }),
142
143
  /* @__PURE__ */ i("div", { className: e.accountArea, children: /* @__PURE__ */ i(
143
144
  ee,
144
145
  {
@@ -167,43 +168,43 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
167
168
  {
168
169
  onClick: x,
169
170
  "data-hamburger-close": "true",
170
- className: t(e.siteLink, e.menuItemAction, M(["lg"])),
171
+ className: m(e.siteLink, e.menuItemAction, M(["lg"])),
171
172
  children: [
172
- /* @__PURE__ */ i(a, { iconKey: "fa-regular fa-sparkles", size: "sm", className: e.shortcutIcon }),
173
+ /* @__PURE__ */ i(t, { iconKey: "fa-regular fa-sparkles", size: "sm", className: e.shortcutIcon }),
173
174
  "Model/Serial"
174
175
  ]
175
176
  }
176
177
  ) }),
177
- /* @__PURE__ */ i("li", { className: e.menuItem, children: /* @__PURE__ */ o(c, { href: k, className: t(e.siteLink, e.menuItemAction), children: [
178
- /* @__PURE__ */ i(a, { iconKey: "fa-regular fa-screwdriver-wrench", size: "sm", className: e.shortcutIcon }),
178
+ /* @__PURE__ */ i("li", { className: e.menuItem, children: /* @__PURE__ */ o(c, { href: k, className: m(e.siteLink, e.menuItemAction), children: [
179
+ /* @__PURE__ */ i(t, { iconKey: "fa-regular fa-screwdriver-wrench", size: "sm", className: e.shortcutIcon }),
179
180
  "Custom Parts"
180
181
  ] }) }),
181
- /* @__PURE__ */ i("li", { className: e.menuItem, children: /* @__PURE__ */ o(c, { href: L, className: t(e.siteLink, e.menuItemAction), children: [
182
- /* @__PURE__ */ i(a, { iconKey: "fa-regular fa-envelope", size: "sm", className: e.shortcutIcon }),
182
+ /* @__PURE__ */ i("li", { className: e.menuItem, children: /* @__PURE__ */ o(c, { href: v, className: m(e.siteLink, e.menuItemAction), children: [
183
+ /* @__PURE__ */ i(t, { iconKey: "fa-regular fa-envelope", size: "sm", className: e.shortcutIcon }),
183
184
  "Contact Us"
184
185
  ] }) }),
185
- /* @__PURE__ */ i("li", { className: e.menuItem, children: /* @__PURE__ */ o(c, { href: H, className: t(e.siteLink, e.menuItemAction), children: [
186
- /* @__PURE__ */ i(a, { iconKey: "fa-solid fa-question", size: "sm", className: e.shortcutIcon }),
186
+ /* @__PURE__ */ i("li", { className: e.menuItem, children: /* @__PURE__ */ o(c, { href: H, className: m(e.siteLink, e.menuItemAction), children: [
187
+ /* @__PURE__ */ i(t, { iconKey: "fa-solid fa-question", size: "sm", className: e.shortcutIcon }),
187
188
  "FAQ"
188
189
  ] }) }),
189
- /* @__PURE__ */ i("li", { className: e.menuItem, children: /* @__PURE__ */ o(c, { href: q, className: t(e.siteLink, e.menuItemAction), children: [
190
- /* @__PURE__ */ i(a, { iconKey: "fa-regular fa-people-group", size: "sm", className: e.shortcutIcon }),
190
+ /* @__PURE__ */ i("li", { className: e.menuItem, children: /* @__PURE__ */ o(c, { href: q, className: m(e.siteLink, e.menuItemAction), children: [
191
+ /* @__PURE__ */ i(t, { iconKey: "fa-regular fa-people-group", size: "sm", className: e.shortcutIcon }),
191
192
  "About Us"
192
193
  ] }) })
193
194
  ] })
194
195
  ] }),
195
196
  /* @__PURE__ */ o("section", { children: [
196
197
  /* @__PURE__ */ i(w, { size: "md", weight: "semibold", children: "Shop by category" }),
197
- /* @__PURE__ */ i("ul", { className: e.menuList, children: l && l.map((n) => /* @__PURE__ */ i("li", { className: e.category, children: /* @__PURE__ */ o(
198
+ /* @__PURE__ */ i("ul", { className: e.menuList, children: r && r.map((s) => /* @__PURE__ */ i("li", { className: e.category, children: /* @__PURE__ */ o(
198
199
  y,
199
200
  {
200
- href: n.route,
201
+ href: s.route,
201
202
  className: e.categoryLink,
202
- onClick: () => h == null ? void 0 : h(n),
203
+ onClick: () => h == null ? void 0 : h(s),
203
204
  children: [
204
- /* @__PURE__ */ i(w, { size: "sm", children: n.label }),
205
+ /* @__PURE__ */ i(w, { size: "sm", children: s.label }),
205
206
  /* @__PURE__ */ i(
206
- a,
207
+ t,
207
208
  {
208
209
  iconKey: "fa-solid fa-chevron-right",
209
210
  title: "Navigate",
@@ -212,7 +213,7 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
212
213
  )
213
214
  ]
214
215
  }
215
- ) }, n.id)) })
216
+ ) }, s.id)) })
216
217
  ] })
217
218
  ] })
218
219
  ]
@@ -232,12 +233,13 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
232
233
  autoComplete: "off",
233
234
  "aria-autocomplete": "list",
234
235
  ...C,
236
+ value: a,
235
237
  endAdornment: /* @__PURE__ */ o(B, { children: [
236
- !!r && /* @__PURE__ */ i(
238
+ !!a && /* @__PURE__ */ i(
237
239
  _,
238
240
  {
239
241
  "aria-label": "Clear search",
240
- onClick: v,
242
+ onClick: L,
241
243
  iconProps: { iconKey: "fa-regular fa-xmark", size: "sm" }
242
244
  }
243
245
  ),
@@ -245,7 +247,7 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
245
247
  _,
246
248
  {
247
249
  "aria-label": "Submit search",
248
- onClick: () => m == null ? void 0 : m(r ?? ""),
250
+ onClick: () => l == null ? void 0 : l(a ?? ""),
249
251
  iconProps: { iconKey: "fa-regular fa-magnifying-glass", size: "sm" }
250
252
  }
251
253
  )
@@ -269,7 +271,7 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
269
271
  /* @__PURE__ */ i(
270
272
  ie,
271
273
  {
272
- categories: l,
274
+ categories: r,
273
275
  isCategoriesLoading: R,
274
276
  onCategoryClick: h
275
277
  }
@@ -279,9 +281,9 @@ import '../../assets/MainNav.css';const oe = "_main_12974_1", se = "_column_1297
279
281
  function c({
280
282
  href: A,
281
283
  children: p,
282
- ...l
284
+ ...r
283
285
  }) {
284
- return /* @__PURE__ */ i(y, { href: A, className: e.siteLink, ...l, children: p });
286
+ return /* @__PURE__ */ i(y, { href: A, className: e.siteLink, ...r, children: p });
285
287
  }
286
288
  export {
287
289
  je as MainNav
@@ -21,8 +21,7 @@ export interface StatusPageProps {
21
21
  calloutIconKey?: IconProps['iconKey'];
22
22
  primaryLinkButtonProps: StatusPageActionProps;
23
23
  secondaryLinkButtonProps?: StatusPageActionProps;
24
- primaryFirst?: boolean;
25
24
  helpText?: ReactNode;
26
25
  className?: string;
27
26
  }
28
- export declare function StatusPage({ statusCode, heading, description, illustrationSrc, illustrationAlt, illustrationWidth, illustrationHeight, statusLabel, statusLabelIconKey, illustrationCaption, calloutTitle, calloutDescription, calloutIconKey, primaryLinkButtonProps, secondaryLinkButtonProps, primaryFirst, helpText, className, }: StatusPageProps): import("react/jsx-runtime").JSX.Element;
27
+ export declare function StatusPage({ statusCode, heading, description, illustrationSrc, illustrationAlt, illustrationWidth, illustrationHeight, statusLabel, statusLabelIconKey, illustrationCaption, calloutTitle, calloutDescription, calloutIconKey, primaryLinkButtonProps, secondaryLinkButtonProps, helpText, className, }: StatusPageProps): import("react/jsx-runtime").JSX.Element;
@@ -1,106 +1,94 @@
1
- import { jsxs as a, jsx as e, Fragment as f } from "react/jsx-runtime";
2
- import { Flex as u } from "../../atoms/Flex/Flex.js";
1
+ import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
+ import { Flex as y } from "../../atoms/Flex/Flex.js";
3
3
  import { Icon as s } from "../../atoms/Icon/Icon.js";
4
- import { Image as y } from "../../atoms/Image/Image.js";
5
- import { LinkButton as o } from "../../atoms/LinkButton/LinkButton.js";
6
- import { Pill as p } from "../../atoms/Pill/Pill.js";
7
- import { Text as c } from "../../atoms/Text/Text.js";
8
- import { c as R } from "../../clsx-OuTLNxxd.js";
4
+ import { Image as p } from "../../atoms/Image/Image.js";
5
+ import { LinkButton as _ } from "../../atoms/LinkButton/LinkButton.js";
6
+ import { Pill as K } from "../../atoms/Pill/Pill.js";
7
+ import { Text as l } from "../../atoms/Text/Text.js";
8
+ import { c as w } from "../../clsx-OuTLNxxd.js";
9
9
  import { n as T } from "../../not-found-DhBNR9yc.js";
10
- import '../../assets/StatusPage.css';const j = "_main_1mqom_1", F = "_visual_1mqom_14", I = "_content_1mqom_53", S = "_statusCode_1mqom_85", A = "_heading_1mqom_91", E = "_badge_1mqom_95", G = "_badgeContent_1mqom_103", H = "_calloutTitle_1mqom_104", J = "_actionContent_1mqom_105", M = "_helpRow_1mqom_106", O = "_illustration_1mqom_112", Q = "_illustrationCaption_1mqom_120", U = "_callout_1mqom_104", V = "_actions_1mqom_138", W = "_help_1mqom_106", i = {
10
+ import '../../assets/StatusPage.css';const j = "_main_o7lat_1", I = "_visual_o7lat_15", F = "_content_o7lat_55", q = "_statusCode_o7lat_90", S = "_heading_o7lat_96", A = "_badge_o7lat_100", E = "_badgeContent_o7lat_109", G = "_calloutTitle_o7lat_110", H = "_illustration_o7lat_116", J = "_illustrationCaption_o7lat_124", M = "_callout_o7lat_110", O = "_actions_o7lat_142", Q = "_help_o7lat_163", i = {
11
11
  main: j,
12
- visual: F,
13
- content: I,
14
- statusCode: S,
15
- heading: A,
16
- badge: E,
17
- badgeContent: G,
18
- calloutTitle: H,
19
- actionContent: J,
20
- helpRow: M,
21
- illustration: O,
22
- illustrationCaption: Q,
23
- callout: U,
24
- actions: V,
25
- help: W
12
+ visual: I,
13
+ content: F,
14
+ statusCode: q,
15
+ heading: S,
16
+ badge: A,
17
+ badgeContent: E,
18
+ calloutTitle: G,
19
+ illustration: H,
20
+ illustrationCaption: J,
21
+ callout: M,
22
+ actions: O,
23
+ help: Q
26
24
  };
27
- function ee({
25
+ function k({
28
26
  statusCode: g,
29
- heading: z,
30
- description: C,
27
+ heading: f,
28
+ description: u,
31
29
  illustrationSrc: v = T,
32
- illustrationAlt: N,
30
+ illustrationAlt: z,
33
31
  illustrationWidth: x = 336,
34
- illustrationHeight: q = 392,
35
- statusLabel: d,
36
- statusLabelIconKey: h,
37
- illustrationCaption: r,
38
- calloutTitle: t,
39
- calloutDescription: m,
40
- calloutIconKey: K = "fa-solid fa-circle-info",
41
- primaryLinkButtonProps: n,
42
- secondaryLinkButtonProps: l,
43
- primaryFirst: b = !0,
44
- helpText: _,
45
- className: w
32
+ illustrationHeight: N = 392,
33
+ statusLabel: r,
34
+ statusLabelIconKey: d,
35
+ illustrationCaption: m,
36
+ calloutTitle: n,
37
+ calloutDescription: c,
38
+ calloutIconKey: C = "fa-solid fa-circle-info",
39
+ primaryLinkButtonProps: o,
40
+ secondaryLinkButtonProps: t,
41
+ helpText: h,
42
+ className: b
46
43
  }) {
47
- return /* @__PURE__ */ a(u, { flexDirection: "row", alignItems: "stretch", justifyContent: "center", className: R(i.main, w), children: [
44
+ return /* @__PURE__ */ a(y, { flexDirection: "row", alignItems: "stretch", justifyContent: "center", className: w(i.main, b), children: [
48
45
  /* @__PURE__ */ a("div", { className: i.visual, children: [
49
- d && /* @__PURE__ */ e(p, { size: "sm", className: i.badge, children: /* @__PURE__ */ a("span", { className: i.badgeContent, children: [
50
- h && /* @__PURE__ */ e(s, { iconKey: h, size: "xs" }),
51
- d
46
+ r && /* @__PURE__ */ e(K, { size: "sm", className: i.badge, children: /* @__PURE__ */ a("span", { className: i.badgeContent, children: [
47
+ d && /* @__PURE__ */ e(s, { iconKey: d, size: "xs" }),
48
+ r
52
49
  ] }) }),
53
50
  /* @__PURE__ */ e(
54
- y,
51
+ p,
55
52
  {
56
53
  src: v,
57
- alt: N,
54
+ alt: z,
58
55
  width: x,
59
- height: q,
56
+ height: N,
60
57
  className: i.illustration
61
58
  }
62
59
  ),
63
- r && /* @__PURE__ */ e(c, { size: "sm", className: i.illustrationCaption, children: r })
60
+ m && /* @__PURE__ */ e(l, { size: "sm", className: i.illustrationCaption, children: m })
64
61
  ] }),
65
62
  /* @__PURE__ */ a("div", { className: i.content, children: [
66
63
  /* @__PURE__ */ a("div", { children: [
67
- /* @__PURE__ */ e(c, { size: "6xl", weight: "bold", variant: "display", as: "div", className: i.statusCode, children: g }),
68
- /* @__PURE__ */ e(c, { size: "3xl", weight: "bold", variant: "display", as: "div", className: i.heading, children: z })
64
+ /* @__PURE__ */ e(l, { size: "6xl", weight: "bold", variant: "display", as: "div", className: i.statusCode, children: g }),
65
+ /* @__PURE__ */ e(l, { size: "3xl", weight: "bold", variant: "display", as: "div", className: i.heading, children: f })
69
66
  ] }),
70
- /* @__PURE__ */ e(c, { size: "xl", children: C }),
71
- (t || m) && /* @__PURE__ */ a("div", { className: i.callout, children: [
72
- t && /* @__PURE__ */ a(c, { size: "lg", weight: "bold", className: i.calloutTitle, children: [
73
- /* @__PURE__ */ e(s, { iconKey: K, colorToken: "secondary", size: "xs" }),
74
- t
67
+ /* @__PURE__ */ e(l, { size: "lg", weight: "light", children: u }),
68
+ (n || c) && /* @__PURE__ */ a("div", { className: i.callout, children: [
69
+ n && /* @__PURE__ */ a(l, { size: "md", weight: "semibold", className: i.calloutTitle, children: [
70
+ /* @__PURE__ */ e(s, { iconKey: C, colorToken: "secondary", size: "xs" }),
71
+ n
75
72
  ] }),
76
- m && /* @__PURE__ */ e(c, { size: "md", children: m })
73
+ c && /* @__PURE__ */ e(l, { size: "sm", weight: "regular", children: c })
77
74
  ] }),
78
- /* @__PURE__ */ e("div", { className: i.actions, children: b ? /* @__PURE__ */ a(f, { children: [
79
- /* @__PURE__ */ e(o, { variant: "primary", size: "md", href: n.href, children: /* @__PURE__ */ a("span", { className: i.actionContent, children: [
80
- n.iconKey && /* @__PURE__ */ e(s, { iconKey: n.iconKey, size: "xs" }),
81
- n.label
82
- ] }) }),
83
- l && /* @__PURE__ */ e(o, { variant: "secondary", size: "md", href: l.href, children: /* @__PURE__ */ a("span", { className: i.actionContent, children: [
84
- l.iconKey && /* @__PURE__ */ e(s, { iconKey: l.iconKey, size: "xs" }),
85
- l.label
86
- ] }) })
87
- ] }) : /* @__PURE__ */ a(f, { children: [
88
- l && /* @__PURE__ */ e(o, { variant: "secondary", size: "md", href: l.href, children: /* @__PURE__ */ a("span", { className: i.actionContent, children: [
89
- l.iconKey && /* @__PURE__ */ e(s, { iconKey: l.iconKey, size: "xs" }),
90
- l.label
91
- ] }) }),
92
- /* @__PURE__ */ e(o, { variant: "primary", size: "md", href: n.href, children: /* @__PURE__ */ a("span", { className: i.actionContent, children: [
93
- n.iconKey && /* @__PURE__ */ e(s, { iconKey: n.iconKey, size: "xs" }),
94
- n.label
95
- ] }) })
96
- ] }) }),
97
- _ && /* @__PURE__ */ e("div", { className: i.help, children: /* @__PURE__ */ a(c, { size: "sm", className: i.helpRow, children: [
98
- /* @__PURE__ */ e(s, { iconKey: "fa-solid fa-circle-info", colorToken: "secondary", size: "xs" }),
99
- _
100
- ] }) })
75
+ /* @__PURE__ */ a("div", { className: i.actions, children: [
76
+ /* @__PURE__ */ a(_, { variant: "primary", size: "md", href: o.href, children: [
77
+ o.iconKey && /* @__PURE__ */ e(s, { iconKey: o.iconKey, size: "xs" }),
78
+ o.label
79
+ ] }),
80
+ t && /* @__PURE__ */ a(_, { variant: "secondary", size: "md", href: t.href, children: [
81
+ t.iconKey && /* @__PURE__ */ e(s, { iconKey: t.iconKey, size: "xs" }),
82
+ t.label
83
+ ] })
84
+ ] }),
85
+ h && /* @__PURE__ */ a("div", { className: i.help, children: [
86
+ /* @__PURE__ */ e(s, { iconKey: "fa-regular fa-circle-question", colorToken: "secondary", size: "xs" }),
87
+ /* @__PURE__ */ e(l, { size: "sm", children: h })
88
+ ] })
101
89
  ] })
102
90
  ] });
103
91
  }
104
92
  export {
105
- ee as StatusPage
93
+ k as StatusPage
106
94
  };
@@ -1,7 +1,7 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
2
  import { StatusPage as a } from "./StatusPage.js";
3
3
  import { n as e } from "../../not-found-DhBNR9yc.js";
4
- const n = {
4
+ const r = {
5
5
  title: "Case Parts/Organisms/StatusPage",
6
6
  component: a,
7
7
  tags: ["autodocs"],
@@ -36,16 +36,15 @@ const n = {
36
36
  calloutTitle: "What can I do?",
37
37
  calloutDescription: "Check the address and try again, search for a part, or use one of the options below to continue.",
38
38
  primaryLinkButtonProps: {
39
- label: "Return to CaseParts.com",
39
+ label: "Return Home",
40
40
  href: "/",
41
41
  iconKey: "fa-solid fa-house"
42
42
  },
43
43
  secondaryLinkButtonProps: {
44
- label: "Go to My Account",
44
+ label: "My Account",
45
45
  href: "/account",
46
- iconKey: "fa-regular fa-user"
46
+ iconKey: "fa-solid fa-user"
47
47
  },
48
- primaryFirst: !0,
49
48
  helpText: "Still need help? Email hello@caseparts.com or call 1-800-421-0271."
50
49
  }
51
50
  }, c = {
@@ -61,21 +60,20 @@ const n = {
61
60
  calloutTitle: "Why am I seeing this?",
62
61
  calloutDescription: "Access may be limited by your company administrator, account role, or the permissions assigned to your CaseParts user.",
63
62
  primaryLinkButtonProps: {
64
- label: "Go to My Account",
65
- href: "/account",
66
- iconKey: "fa-regular fa-user"
67
- },
68
- secondaryLinkButtonProps: {
69
- label: "Return to CaseParts.com",
63
+ label: "Return Home",
70
64
  href: "/",
71
65
  iconKey: "fa-solid fa-house"
72
66
  },
73
- primaryFirst: !0,
67
+ secondaryLinkButtonProps: {
68
+ label: "My Account",
69
+ href: "/account",
70
+ iconKey: "fa-solid fa-user"
71
+ },
74
72
  helpText: "Need access? Contact your company administrator or email hello@caseparts.com. You can also call 1-800-421-0271."
75
73
  }
76
74
  };
77
75
  export {
78
76
  l as NotFound404,
79
77
  c as Unauthorized403,
80
- n as default
78
+ r as default
81
79
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@caseparts-org/caseblocks",
3
3
  "private": false,
4
- "version": "0.0.230",
4
+ "version": "0.0.232",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",