@caseparts-org/caseblocks 0.0.229 → 0.0.231

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}
@@ -48,6 +48,8 @@ export { MainNav } from './organisms/MainNav/MainNav';
48
48
  export type { MainNavProps } from './organisms/MainNav/MainNav';
49
49
  export { ChipSelector } from './organisms/ChipSelector/ChipSelector';
50
50
  export type { ChipSelectorProps } from './organisms/ChipSelector/ChipSelector';
51
+ export { SuggestionDropdown } from './organisms/SuggestionDropdown/SuggestionDropdown';
52
+ export type { SuggestionDropdownProps, SuggestedCategory, SuggestedTerm, SuggestedItem, RecentSearch, } from './organisms/SuggestionDropdown/SuggestionDropdown';
51
53
  export { Product } from './organisms/Product/Product';
52
54
  export type { ProductProps, ProductView } from './organisms/Product/Product';
53
55
  export { Carousel } from './organisms/Carousel/Carousel';
@@ -1,20 +1,20 @@
1
1
  import { Button as t } from "./atoms/Button/Button.js";
2
2
  import { Flex as m } from "./atoms/Flex/Flex.js";
3
3
  import { Column as f, Grid as x } from "./atoms/Grid/Grid.js";
4
- import { HighlightedText as i } from "./atoms/HighlightedText/HighlightedText.js";
4
+ import { HighlightedText as n } from "./atoms/HighlightedText/HighlightedText.js";
5
5
  import { Head as l } from "./atoms/Root/Head.js";
6
6
  import { Icon as u } from "./atoms/Icon/Icon.js";
7
- import { Root as g } from "./atoms/Root/Root.js";
8
- import { Separator as s } from "./atoms/Separator/Separator.js";
7
+ import { Root as c } from "./atoms/Root/Root.js";
8
+ import { Separator as C } from "./atoms/Separator/Separator.js";
9
9
  import { Text as A } from "./atoms/Text/Text.js";
10
10
  import { ToggleSwitch as B } from "./atoms/ToggleSwitch/ToggleSwitch.js";
11
11
  import { Link as I } from "./atoms/Link/Link.js";
12
12
  import { linkClassName as h } from "./atoms/Link/linkClassName.js";
13
- import { configureLink as w, routerOverride as L } from "./atoms/Link/configureLink.js";
13
+ import { configureLink as v, routerOverride as L } from "./atoms/Link/configureLink.js";
14
14
  import { LinkButton as b } from "./atoms/LinkButton/LinkButton.js";
15
- import { Pill as F } from "./atoms/Pill/Pill.js";
16
- import { configureImage as N } from "./atoms/Image/configureImage.js";
17
- import { getHideAtStyles as z } from "./atoms/HideAt.js";
15
+ import { Pill as D } from "./atoms/Pill/Pill.js";
16
+ import { configureImage as M } from "./atoms/Image/configureImage.js";
17
+ import { getHideAtStyles as V } from "./atoms/HideAt.js";
18
18
  import { Logo as E } from "./molecules/Logo/Logo.js";
19
19
  import { QuantityInput as O } from "./molecules/QuantityInput/QuantityInput.js";
20
20
  import { Pricing as R } from "./molecules/Pricing/Pricing.js";
@@ -28,20 +28,20 @@ import { Disclaimer as to } from "./molecules/Disclaimer/Disclaimer.js";
28
28
  import { Admonition as mo } from "./molecules/Admonition/Admonition.js";
29
29
  import { CustomWizardBadge as fo } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
30
30
  import { NotFound as ao } from "./organisms/NotFound/NotFound.js";
31
- import { StatusPage as no } from "./organisms/StatusPage/StatusPage.js";
31
+ import { StatusPage as io } from "./organisms/StatusPage/StatusPage.js";
32
32
  import { HorizontalScroll as uo } from "./atoms/HorizontalScroll/HorizontalScroll.js";
33
- import { SlideInPanel as go } from "./atoms/SlideInPanel/SlideInPanel.js";
34
- import { DropdownButton as so } from "./atoms/DropdownButton/DropdownButton.js";
33
+ import { SlideInPanel as co } from "./atoms/SlideInPanel/SlideInPanel.js";
34
+ import { DropdownButton as Co } from "./atoms/DropdownButton/DropdownButton.js";
35
35
  import { Input as Ao } from "./atoms/Input/Input.js";
36
36
  import { InputEndAdornmentButton as Bo } from "./atoms/InputEndAdornmentButton/InputEndAdornmentButton.js";
37
37
  import { Select as Io } from "./atoms/Select/Select.js";
38
38
  import { Tooltip as ho } from "./atoms/Tooltip/Tooltip.js";
39
- import { Popover as wo } from "./atoms/Popover/Popover.js";
39
+ import { Popover as vo } from "./atoms/Popover/Popover.js";
40
40
  import { Accordion as Ho } from "./molecules/Accordion/Accordion.js";
41
41
  import { Account as yo } from "./molecules/Account/Account.js";
42
- import { Chip as Mo } from "./molecules/Chip/Chip.js";
43
- import { ToggleView as Vo } from "./molecules/ToggleView/ToggleView.js";
44
- import { CartPart as Do } from "./molecules/Cart/CartPart.js";
42
+ import { Chip as Fo } from "./molecules/Chip/Chip.js";
43
+ import { ToggleView as No } from "./molecules/ToggleView/ToggleView.js";
44
+ import { CartPart as zo } from "./molecules/Cart/CartPart.js";
45
45
  import { AddToCartPart as Go } from "./molecules/AddToCartPart/AddToCartPart.js";
46
46
  import { CartSlideInPanel as Qo } from "./molecules/Cart/CartSlideInPanel.js";
47
47
  import { StatefulButton as Wo } from "./molecules/StatefulButton/StatefulButton.js";
@@ -53,10 +53,11 @@ import { T as $o } from "./Table-BX4PtCNE.js";
53
53
  import { Error as rr } from "./molecules/Error/Error.js";
54
54
  import { MainNav as er } from "./organisms/MainNav/MainNav.js";
55
55
  import { ChipSelector as pr } from "./organisms/ChipSelector/ChipSelector.js";
56
- import { Product as xr } from "./organisms/Product/Product.js";
57
- import { Carousel as ir } from "./organisms/Carousel/Carousel.js";
58
- import { Footer as lr } from "./organisms/Footer/Footer.js";
59
- import { default as ur } from "./organisms/SpinZoomViewer/SpinZoomViewer.js";
56
+ import { SuggestionDropdown as xr } from "./organisms/SuggestionDropdown/SuggestionDropdown.js";
57
+ import { Product as nr } from "./organisms/Product/Product.js";
58
+ import { Carousel as lr } from "./organisms/Carousel/Carousel.js";
59
+ import { Footer as ur } from "./organisms/Footer/Footer.js";
60
+ import { default as cr } from "./organisms/SpinZoomViewer/SpinZoomViewer.js";
60
61
  export {
61
62
  Ho as Accordion,
62
63
  yo as Account,
@@ -70,21 +71,21 @@ export {
70
71
  oo as Breadcrumbs,
71
72
  t as Button,
72
73
  _ as CardLink,
73
- ir as Carousel,
74
- Do as CartPart,
74
+ lr as Carousel,
75
+ zo as CartPart,
75
76
  Qo as CartSlideInPanel,
76
- Mo as Chip,
77
+ Fo as Chip,
77
78
  pr as ChipSelector,
78
79
  f as Column,
79
80
  fo as CustomWizardBadge,
80
81
  to as Disclaimer,
81
- so as DropdownButton,
82
+ Co as DropdownButton,
82
83
  rr as Error,
83
84
  m as Flex,
84
- lr as Footer,
85
+ ur as Footer,
85
86
  x as Grid,
86
87
  l as Head,
87
- i as HighlightedText,
88
+ n as HighlightedText,
88
89
  uo as HorizontalScroll,
89
90
  u as Icon,
90
91
  Yo as ImageViewer,
@@ -96,27 +97,28 @@ export {
96
97
  er as MainNav,
97
98
  Uo as Modal,
98
99
  ao as NotFound,
99
- F as Pill,
100
- wo as Popover,
100
+ D as Pill,
101
+ vo as Popover,
101
102
  R as Pricing,
102
- xr as Product,
103
+ nr as Product,
103
104
  Z as ProgressBar,
104
105
  O as QuantityInput,
105
- g as Root,
106
+ c as Root,
106
107
  Io as Select,
107
- s as Separator,
108
- go as SlideInPanel,
109
- ur as SpinZoomViewer,
108
+ C as Separator,
109
+ co as SlideInPanel,
110
+ cr as SpinZoomViewer,
110
111
  Wo as StatefulButton,
111
- no as StatusPage,
112
+ io as StatusPage,
113
+ xr as SuggestionDropdown,
112
114
  $o as Table,
113
115
  A as Text,
114
116
  B as ToggleSwitch,
115
- Vo as ToggleView,
117
+ No as ToggleView,
116
118
  ho as Tooltip,
117
- N as configureImage,
118
- w as configureLink,
119
- z as getHideAtStyles,
119
+ M as configureImage,
120
+ v as configureLink,
121
+ V as getHideAtStyles,
120
122
  h as linkClassName,
121
123
  L as routerOverride
122
124
  };
package/dist/main.d.ts CHANGED
@@ -33,3 +33,5 @@ export type { ToggleViewProps, ToggleOptionProps, ToggleOptionBaseProps, } from
33
33
  export { MainNav } from './organisms/MainNav/MainNav';
34
34
  export { ChipSelector } from './organisms/ChipSelector/ChipSelector';
35
35
  export type { ChipSelectorProps } from './organisms/ChipSelector/ChipSelector';
36
+ export { SuggestionDropdown } from './organisms/SuggestionDropdown/SuggestionDropdown';
37
+ export type { SuggestionDropdownProps, SuggestedCategory, SuggestedTerm, SuggestedItem, RecentSearch, } from './organisms/SuggestionDropdown/SuggestionDropdown';
package/dist/main.js CHANGED
@@ -1,43 +1,45 @@
1
1
  import { Button as t } from "./atoms/Button/Button.js";
2
2
  import { Flex as p } from "./atoms/Flex/Flex.js";
3
3
  import { Column as x, Grid as f } from "./atoms/Grid/Grid.js";
4
- import { Head as a } from "./atoms/Root/Head.js";
4
+ import { Head as i } from "./atoms/Root/Head.js";
5
5
  import { Icon as u } from "./atoms/Icon/Icon.js";
6
- import { Root as d } from "./atoms/Root/Root.js";
7
- import { Separator as A } from "./atoms/Separator/Separator.js";
8
- import { Text as C } from "./atoms/Text/Text.js";
9
- import { Input as S } from "./atoms/Input/Input.js";
6
+ import { Root as c } from "./atoms/Root/Root.js";
7
+ import { Separator as l } from "./atoms/Separator/Separator.js";
8
+ import { Text as S } from "./atoms/Text/Text.js";
9
+ import { Input as I } from "./atoms/Input/Input.js";
10
10
  import { InputEndAdornmentButton as v } from "./atoms/InputEndAdornmentButton/InputEndAdornmentButton.js";
11
- import { Select as E } from "./atoms/Select/Select.js";
12
- import { Account as w } from "./molecules/Account/Account.js";
13
- import { Avatar as G } from "./molecules/Avatar/Avatar.js";
14
- import { Chip as L } from "./molecules/Chip/Chip.js";
15
- import { Logo as N } from "./molecules/Logo/Logo.js";
16
- import { Error as V } from "./molecules/Error/Error.js";
17
- import { Admonition as j } from "./molecules/Admonition/Admonition.js";
18
- import { ToggleView as q } from "./molecules/ToggleView/ToggleView.js";
19
- import { MainNav as y } from "./organisms/MainNav/MainNav.js";
20
- import { ChipSelector as D } from "./organisms/ChipSelector/ChipSelector.js";
11
+ import { Select as B } from "./atoms/Select/Select.js";
12
+ import { Account as T } from "./molecules/Account/Account.js";
13
+ import { Avatar as D } from "./molecules/Avatar/Avatar.js";
14
+ import { Chip as G } from "./molecules/Chip/Chip.js";
15
+ import { Logo as L } from "./molecules/Logo/Logo.js";
16
+ import { Error as N } from "./molecules/Error/Error.js";
17
+ import { Admonition as V } from "./molecules/Admonition/Admonition.js";
18
+ import { ToggleView as j } from "./molecules/ToggleView/ToggleView.js";
19
+ import { MainNav as q } from "./organisms/MainNav/MainNav.js";
20
+ import { ChipSelector as z } from "./organisms/ChipSelector/ChipSelector.js";
21
+ import { SuggestionDropdown as K } from "./organisms/SuggestionDropdown/SuggestionDropdown.js";
21
22
  export {
22
- w as Account,
23
- j as Admonition,
24
- G as Avatar,
23
+ T as Account,
24
+ V as Admonition,
25
+ D as Avatar,
25
26
  t as Button,
26
- L as Chip,
27
- D as ChipSelector,
27
+ G as Chip,
28
+ z as ChipSelector,
28
29
  x as Column,
29
- V as Error,
30
+ N as Error,
30
31
  p as Flex,
31
32
  f as Grid,
32
- a as Head,
33
+ i as Head,
33
34
  u as Icon,
34
- S as Input,
35
+ I as Input,
35
36
  v as InputEndAdornmentButton,
36
- N as Logo,
37
- y as MainNav,
38
- d as Root,
39
- E as Select,
40
- A as Separator,
41
- C as Text,
42
- q as ToggleView
37
+ L as Logo,
38
+ q as MainNav,
39
+ c as Root,
40
+ B as Select,
41
+ l as Separator,
42
+ K as SuggestionDropdown,
43
+ S as Text,
44
+ j as ToggleView
43
45
  };
@@ -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.229",
4
+ "version": "0.0.231",
5
5
  "type": "module",
6
6
  "module": "dist/main.js",
7
7
  "types": "dist/main.d.ts",