@caseparts-org/caseblocks 0.0.227 → 0.0.228
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.
- package/dist/assets/StatusPage.css +1 -0
- package/dist/main-client.js +62 -60
- package/dist/main-server.d.ts +2 -0
- package/dist/main-server.js +15 -13
- package/dist/not-found-DhBNR9yc.js +4 -0
- package/dist/organisms/NotFound/NotFound.js +26 -25
- package/dist/organisms/StatusPage/StatusPage.d.ts +28 -0
- package/dist/organisms/StatusPage/StatusPage.js +106 -0
- package/dist/organisms/StatusPage/StatusPage.stories.d.ts +7 -0
- package/dist/organisms/StatusPage/StatusPage.stories.js +81 -0
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._main_1t7pe_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}._visual_1t7pe_10{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)}._visual_1t7pe_10:before,._visual_1t7pe_10:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:#cde8f5;pointer-events:none}._visual_1t7pe_10:before{top:-92px;right:-92px}._visual_1t7pe_10:after{left:-100px;bottom:-100px}._content_1t7pe_44{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)}._content_1t7pe_44:before{content:"";position:absolute;left:0;top:0;bottom:0;width:1px;background:var(--border-border-primary)}._statusCode_1t7pe_64{color:var(--color-brand-primary-primary-teal-blue);padding:0;margin:0}._heading_1t7pe_70{line-height:1.1}._badge_1t7pe_74{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_1t7pe_82,._calloutTitle_1t7pe_83,._actionContent_1t7pe_84,._helpRow_1t7pe_85{display:inline-flex;align-items:center;gap:var(--spacing-spacing-xs)}._illustration_1t7pe_91{width:100%;max-width:280px;height:auto;position:relative;z-index:1}._illustrationCaption_1t7pe_99{text-align:center;max-width:320px;position:relative;z-index:1;line-height:1.45}._callout_1t7pe_83{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_1t7pe_117{display:flex;flex-wrap:wrap;gap:var(--spacing-spacing-md)}._actions_1t7pe_117 a{min-width:190px}._help_1t7pe_85{border-top:1px solid var(--border-border-primary);padding-top:var(--spacing-spacing-md);margin-top:var(--spacing-spacing-sm)}@media (max-width: 900px){._main_1t7pe_1{flex-direction:column}._visual_1t7pe_10,._content_1t7pe_44{width:100%;min-width:0}._content_1t7pe_44{padding:var(--spacing-spacing-xl) var(--spacing-spacing-lg)}._content_1t7pe_44:before{left:0;right:0;top:0;width:100%;height:1px}._actions_1t7pe_117{flex-direction:column}._actions_1t7pe_117 a{width:100%;min-width:0;justify-content:center}}
|
package/dist/main-client.js
CHANGED
|
@@ -6,8 +6,8 @@ import { Head as l } from "./atoms/Root/Head.js";
|
|
|
6
6
|
import { Icon as u } from "./atoms/Icon/Icon.js";
|
|
7
7
|
import { Root as g } from "./atoms/Root/Root.js";
|
|
8
8
|
import { Separator as s } from "./atoms/Separator/Separator.js";
|
|
9
|
-
import { Text as
|
|
10
|
-
import { ToggleSwitch as
|
|
9
|
+
import { Text as A } from "./atoms/Text/Text.js";
|
|
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
13
|
import { configureLink as w, routerOverride as L } from "./atoms/Link/configureLink.js";
|
|
@@ -28,90 +28,92 @@ 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 {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
31
|
+
import { StatusPage as no } from "./organisms/StatusPage/StatusPage.js";
|
|
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";
|
|
35
|
+
import { Input as Ao } from "./atoms/Input/Input.js";
|
|
36
|
+
import { InputEndAdornmentButton as Bo } from "./atoms/InputEndAdornmentButton/InputEndAdornmentButton.js";
|
|
37
|
+
import { Select as Io } from "./atoms/Select/Select.js";
|
|
38
|
+
import { Tooltip as ho } from "./atoms/Tooltip/Tooltip.js";
|
|
39
|
+
import { Popover as wo } from "./atoms/Popover/Popover.js";
|
|
40
|
+
import { Accordion as Ho } from "./molecules/Accordion/Accordion.js";
|
|
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";
|
|
45
|
+
import { AddToCartPart as Go } from "./molecules/AddToCartPart/AddToCartPart.js";
|
|
46
|
+
import { CartSlideInPanel as Qo } from "./molecules/Cart/CartSlideInPanel.js";
|
|
47
|
+
import { StatefulButton as Wo } from "./molecules/StatefulButton/StatefulButton.js";
|
|
48
|
+
import { AnimatedCheckMark as jo } from "./molecules/StatefulButton/AnimatedCheckmark.js";
|
|
49
|
+
import { AddToCart as Jo } from "./molecules/AddToCart/AddToCart.js";
|
|
50
|
+
import { Modal as Uo } from "./molecules/Modal/Modal.js";
|
|
51
|
+
import { ImageViewer as Yo } from "./molecules/ImageViewer/ImageViewer.js";
|
|
52
|
+
import { T as $o } from "./Table-BX4PtCNE.js";
|
|
53
|
+
import { Error as rr } from "./molecules/Error/Error.js";
|
|
54
|
+
import { MainNav as er } from "./organisms/MainNav/MainNav.js";
|
|
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";
|
|
59
60
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
Ho as Accordion,
|
|
62
|
+
yo as Account,
|
|
63
|
+
Jo as AddToCart,
|
|
64
|
+
Go as AddToCartPart,
|
|
64
65
|
mo as Admonition,
|
|
65
|
-
|
|
66
|
+
jo as AnimatedCheckMark,
|
|
66
67
|
q as Availability,
|
|
67
68
|
K as Avatar,
|
|
68
69
|
X as BannerCard,
|
|
69
70
|
oo as Breadcrumbs,
|
|
70
71
|
t as Button,
|
|
71
72
|
_ as CardLink,
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
ir as Carousel,
|
|
74
|
+
Do as CartPart,
|
|
75
|
+
Qo as CartSlideInPanel,
|
|
76
|
+
Mo as Chip,
|
|
77
|
+
pr as ChipSelector,
|
|
77
78
|
f as Column,
|
|
78
79
|
fo as CustomWizardBadge,
|
|
79
80
|
to as Disclaimer,
|
|
80
|
-
|
|
81
|
-
|
|
81
|
+
so as DropdownButton,
|
|
82
|
+
rr as Error,
|
|
82
83
|
m as Flex,
|
|
83
|
-
|
|
84
|
+
lr as Footer,
|
|
84
85
|
x as Grid,
|
|
85
86
|
l as Head,
|
|
86
87
|
i as HighlightedText,
|
|
87
|
-
|
|
88
|
+
uo as HorizontalScroll,
|
|
88
89
|
u as Icon,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
Yo as ImageViewer,
|
|
91
|
+
Ao as Input,
|
|
92
|
+
Bo as InputEndAdornmentButton,
|
|
92
93
|
I as Link,
|
|
93
94
|
b as LinkButton,
|
|
94
95
|
E as Logo,
|
|
95
|
-
|
|
96
|
-
|
|
96
|
+
er as MainNav,
|
|
97
|
+
Uo as Modal,
|
|
97
98
|
ao as NotFound,
|
|
98
99
|
F as Pill,
|
|
99
|
-
|
|
100
|
+
wo as Popover,
|
|
100
101
|
R as Pricing,
|
|
101
|
-
|
|
102
|
+
xr as Product,
|
|
102
103
|
Z as ProgressBar,
|
|
103
104
|
O as QuantityInput,
|
|
104
105
|
g as Root,
|
|
105
|
-
|
|
106
|
+
Io as Select,
|
|
106
107
|
s as Separator,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
108
|
+
go as SlideInPanel,
|
|
109
|
+
ur as SpinZoomViewer,
|
|
110
|
+
Wo as StatefulButton,
|
|
111
|
+
no as StatusPage,
|
|
112
|
+
$o as Table,
|
|
113
|
+
A as Text,
|
|
114
|
+
B as ToggleSwitch,
|
|
115
|
+
Vo as ToggleView,
|
|
116
|
+
ho as Tooltip,
|
|
115
117
|
N as configureImage,
|
|
116
118
|
w as configureLink,
|
|
117
119
|
z as getHideAtStyles,
|
package/dist/main-server.d.ts
CHANGED
|
@@ -54,3 +54,5 @@ export { CustomWizardBadge } from './molecules/CustomWizardBadge/CustomWizardBad
|
|
|
54
54
|
export type { CustomWizardBadgeProps } from './molecules/CustomWizardBadge/CustomWizardBadge';
|
|
55
55
|
export { NotFound } from './organisms/NotFound/NotFound';
|
|
56
56
|
export type { NotFoundProps } from './organisms/NotFound/NotFound';
|
|
57
|
+
export { StatusPage } from './organisms/StatusPage/StatusPage';
|
|
58
|
+
export type { StatusPageProps, StatusPageActionProps } from './organisms/StatusPage/StatusPage';
|
package/dist/main-server.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Button as
|
|
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 p } from "./atoms/Grid/Grid.js";
|
|
4
4
|
import { HighlightedText as a } from "./atoms/HighlightedText/HighlightedText.js";
|
|
5
|
-
import { Head as
|
|
5
|
+
import { Head as g } from "./atoms/Root/Head.js";
|
|
6
6
|
import { Icon as l } from "./atoms/Icon/Icon.js";
|
|
7
7
|
import { Root as s } from "./atoms/Root/Root.js";
|
|
8
8
|
import { Separator as B } from "./atoms/Separator/Separator.js";
|
|
9
9
|
import { Text as C } from "./atoms/Text/Text.js";
|
|
10
10
|
import { ToggleSwitch as A } from "./atoms/ToggleSwitch/ToggleSwitch.js";
|
|
11
|
-
import { Link as
|
|
12
|
-
import { linkClassName as
|
|
13
|
-
import { configureLink as
|
|
11
|
+
import { Link as S } from "./atoms/Link/Link.js";
|
|
12
|
+
import { linkClassName as v } from "./atoms/Link/linkClassName.js";
|
|
13
|
+
import { configureLink as H, routerOverride as I } from "./atoms/Link/configureLink.js";
|
|
14
14
|
import { LinkButton as b } from "./atoms/LinkButton/LinkButton.js";
|
|
15
15
|
import { Pill as N } from "./atoms/Pill/Pill.js";
|
|
16
16
|
import { configureImage as z } from "./atoms/Image/configureImage.js";
|
|
@@ -24,27 +24,28 @@ import { Avatar as V } from "./molecules/Avatar/Avatar.js";
|
|
|
24
24
|
import { BannerCard as Y } from "./molecules/BannerCard/BannerCard.js";
|
|
25
25
|
import { CardLink as _ } from "./molecules/CardLink/CardLink.js";
|
|
26
26
|
import { Breadcrumbs as rr } from "./molecules/Breadcrumbs/Breadcrumbs.js";
|
|
27
|
-
import { Disclaimer as
|
|
27
|
+
import { Disclaimer as tr } from "./molecules/Disclaimer/Disclaimer.js";
|
|
28
28
|
import { Admonition as mr } from "./molecules/Admonition/Admonition.js";
|
|
29
29
|
import { CustomWizardBadge as fr } from "./molecules/CustomWizardBadge/CustomWizardBadge.js";
|
|
30
30
|
import { NotFound as ir } from "./organisms/NotFound/NotFound.js";
|
|
31
|
+
import { StatusPage as nr } from "./organisms/StatusPage/StatusPage.js";
|
|
31
32
|
export {
|
|
32
33
|
mr as Admonition,
|
|
33
34
|
M as Availability,
|
|
34
35
|
V as Avatar,
|
|
35
36
|
Y as BannerCard,
|
|
36
37
|
rr as Breadcrumbs,
|
|
37
|
-
|
|
38
|
+
t as Button,
|
|
38
39
|
_ as CardLink,
|
|
39
40
|
f as Column,
|
|
40
41
|
fr as CustomWizardBadge,
|
|
41
|
-
|
|
42
|
+
tr as Disclaimer,
|
|
42
43
|
m as Flex,
|
|
43
44
|
p as Grid,
|
|
44
|
-
|
|
45
|
+
g as Head,
|
|
45
46
|
a as HighlightedText,
|
|
46
47
|
l as Icon,
|
|
47
|
-
|
|
48
|
+
S as Link,
|
|
48
49
|
b as LinkButton,
|
|
49
50
|
Q as Logo,
|
|
50
51
|
ir as NotFound,
|
|
@@ -54,11 +55,12 @@ export {
|
|
|
54
55
|
W as QuantityInput,
|
|
55
56
|
s as Root,
|
|
56
57
|
B as Separator,
|
|
58
|
+
nr as StatusPage,
|
|
57
59
|
C as Text,
|
|
58
60
|
A as ToggleSwitch,
|
|
59
61
|
z as configureImage,
|
|
60
|
-
|
|
62
|
+
H as configureLink,
|
|
61
63
|
G as getHideAtStyles,
|
|
62
|
-
|
|
63
|
-
|
|
64
|
+
v as linkClassName,
|
|
65
|
+
I as routerOverride
|
|
64
66
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const A = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAVAAAAGICAYAAAAXhbibAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAABQCSURBVHgB7d1fjFzXXQfwc+/MbrJOG2/tRI2BVJs8UIRa1QEkEEiw4QVRRGyDhAoS4DxAX6hIH6gEQewuokLkAZI3zAvOUwwCHId/RYC6QQRaBKqjpBKpRLKOIXbbrLvrtLazM3MP98zu2GPXu7bv7mb+3M9HiufOzN3N+vrud37nzz03BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAGC0ZYGxMj13cjYAlUyEsPL1hSOnb3f/ZmCsNLL88wGopAhxsXx49Hb3zwMAlQhQgIoEKEBF+kDH2Ecf2Bs+8sF7w3vl7147F1avtEMMYal8ejwwhrKZLMSjN7669+6J7vn24N6pMGp6520VAnSM/eSHHwifmf1weC+8tPR2eO7ls93tIs8Pr/zOT78cGEvTcyc/3QjhcMyyX89CdjC9tnqlFf61PAc+8bEHw88f/FD4kZn9YVS8efxSeOnMcq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TgRL5X9sJfilc47qUUiKMfHHQVhfldnKu5ieCaNTnPHpxz1Lwp8s8WA+5VvtlLXQtoe2BqQZbPt/0LoDRScv/HtA7/6wp7UHdDrt51oNydSyKZuk1TFpqBN/bcq2Z3VbWIXeSsFYzmgczmtIZrCsdVstxrtRktA1s8dN+H3zf3ldzWLyQeLfGea7z1phDHk8eyFhZ/931DRzVY36q37uK2fLS2022h8K3bS4rvFxdR/OyoLPaSw7fXXpsDthEaz0+xMpNAtwt3NRuvdyV7wpv1T+KbHcQzgXgCm7RSCaTut6ZmCML3WH4bp+dRadrnXjy0UuZltDSJ952/+1f7Uf5dGrtO0oPTaZtVPDOsrgPd/eqf+n+12lqfqMhbhobU8PpjvcnV8o9R323m3vTT21yb3DZ4lqfrtf7sXzDf70nybt/PoKba4rUcKuuv2XW5efX7uwPvXDMSwW0Z6GtP66uzxR9/r4LxRjNnl5d/96bGbsA1sbaSvRDq390rMQrYWBizGluYd1NDoT6T/wz+f2rfa2L8b/bJb6U1ydmUI1Nd4XYnUN69y8vLE3p2Y+nN14KFovRPzqW+FcPliGm39xh/83GoAaq0+l3JuDITc6gqi/quHjLwCAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwDj7fzBtEJR2mj07AAAAAElFTkSuQmCC";
|
|
2
|
+
export {
|
|
3
|
+
A as n
|
|
4
|
+
};
|
|
@@ -1,37 +1,38 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { Image as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { LinkButton as
|
|
5
|
-
import { Flex as
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsxs as n, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { Image as l } from "../../atoms/Image/Image.js";
|
|
3
|
+
import { Text as r } from "../../atoms/Text/Text.js";
|
|
4
|
+
import { LinkButton as t } from "../../atoms/LinkButton/LinkButton.js";
|
|
5
|
+
import { Flex as a } from "../../atoms/Flex/Flex.js";
|
|
6
|
+
import { n as c } from "../../not-found-DhBNR9yc.js";
|
|
7
|
+
import { c as m } from "../../clsx-OuTLNxxd.js";
|
|
8
|
+
import '../../assets/NotFound.css';const d = "_main_1dfh4_1", h = "_column_1dfh4_10", f = "_description_1dfh4_14", _ = "_header_1dfh4_19", p = "_links_1dfh4_24", e = {
|
|
9
|
+
main: d,
|
|
10
|
+
column: h,
|
|
11
|
+
description: f,
|
|
12
|
+
header: _,
|
|
12
13
|
links: p
|
|
13
14
|
};
|
|
14
|
-
function
|
|
15
|
-
primaryLinkButtonProps:
|
|
16
|
-
secondaryLinkButtonProps:
|
|
15
|
+
function b({
|
|
16
|
+
primaryLinkButtonProps: s,
|
|
17
|
+
secondaryLinkButtonProps: o
|
|
17
18
|
}) {
|
|
18
|
-
return /* @__PURE__ */
|
|
19
|
-
/* @__PURE__ */
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
-
/* @__PURE__ */
|
|
22
|
-
/* @__PURE__ */
|
|
19
|
+
return /* @__PURE__ */ n(a, { flexDirection: "row", alignItems: "center", justifyContent: "center", className: e.main, children: [
|
|
20
|
+
/* @__PURE__ */ i("div", { className: e.column, children: /* @__PURE__ */ i(l, { src: c, alt: "Not found image", width: 336, height: 392 }) }),
|
|
21
|
+
/* @__PURE__ */ n("div", { className: m(e.description, e.column), children: [
|
|
22
|
+
/* @__PURE__ */ i(r, { size: "6xl", variant: "display", as: "h1", className: e.header, children: "404" }),
|
|
23
|
+
/* @__PURE__ */ n(r, { size: "xl", children: [
|
|
23
24
|
"Oops! Well this is embarrassing...",
|
|
24
|
-
/* @__PURE__ */
|
|
25
|
+
/* @__PURE__ */ i("br", {}),
|
|
25
26
|
"what you're looking for is missing or something is on the fritz."
|
|
26
27
|
] }),
|
|
27
|
-
/* @__PURE__ */
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
/* @__PURE__ */
|
|
28
|
+
/* @__PURE__ */ i(r, { size: "xl", children: "Don't worry—for assistance call us at 1-800-421-0271" }),
|
|
29
|
+
/* @__PURE__ */ n("div", { className: e.links, children: [
|
|
30
|
+
/* @__PURE__ */ i(t, { variant: "primary", size: "md", href: s.href, children: s.label }),
|
|
31
|
+
/* @__PURE__ */ i(t, { variant: "secondary", size: "md", href: o.href, children: o.label })
|
|
31
32
|
] })
|
|
32
33
|
] })
|
|
33
34
|
] });
|
|
34
35
|
}
|
|
35
36
|
export {
|
|
36
|
-
|
|
37
|
+
b as NotFound
|
|
37
38
|
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { IconProps } from '../../atoms/Icon/Icon';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export type StatusPageActionProps = {
|
|
4
|
+
label: string;
|
|
5
|
+
href: string;
|
|
6
|
+
iconKey?: IconProps['iconKey'];
|
|
7
|
+
};
|
|
8
|
+
export interface StatusPageProps {
|
|
9
|
+
statusCode: string;
|
|
10
|
+
heading: string;
|
|
11
|
+
description: ReactNode;
|
|
12
|
+
illustrationSrc?: string;
|
|
13
|
+
illustrationAlt: string;
|
|
14
|
+
illustrationWidth?: number;
|
|
15
|
+
illustrationHeight?: number;
|
|
16
|
+
statusLabel?: string;
|
|
17
|
+
statusLabelIconKey?: IconProps['iconKey'];
|
|
18
|
+
illustrationCaption?: ReactNode;
|
|
19
|
+
calloutTitle?: string;
|
|
20
|
+
calloutDescription?: ReactNode;
|
|
21
|
+
calloutIconKey?: IconProps['iconKey'];
|
|
22
|
+
primaryLinkButtonProps: StatusPageActionProps;
|
|
23
|
+
secondaryLinkButtonProps?: StatusPageActionProps;
|
|
24
|
+
primaryFirst?: boolean;
|
|
25
|
+
helpText?: ReactNode;
|
|
26
|
+
className?: string;
|
|
27
|
+
}
|
|
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;
|
|
@@ -0,0 +1,106 @@
|
|
|
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";
|
|
3
|
+
import { Icon as t } from "../../atoms/Icon/Icon.js";
|
|
4
|
+
import { Image as y } from "../../atoms/Image/Image.js";
|
|
5
|
+
import { LinkButton as c } from "../../atoms/LinkButton/LinkButton.js";
|
|
6
|
+
import { Pill as R } from "../../atoms/Pill/Pill.js";
|
|
7
|
+
import { Text as s } from "../../atoms/Text/Text.js";
|
|
8
|
+
import { c as T } from "../../clsx-OuTLNxxd.js";
|
|
9
|
+
import { n as j } from "../../not-found-DhBNR9yc.js";
|
|
10
|
+
import '../../assets/StatusPage.css';const F = "_main_1t7pe_1", I = "_visual_1t7pe_10", S = "_content_1t7pe_44", q = "_statusCode_1t7pe_64", A = "_heading_1t7pe_70", E = "_badge_1t7pe_74", G = "_badgeContent_1t7pe_82", H = "_calloutTitle_1t7pe_83", J = "_actionContent_1t7pe_84", M = "_helpRow_1t7pe_85", O = "_illustration_1t7pe_91", Q = "_illustrationCaption_1t7pe_99", U = "_callout_1t7pe_83", V = "_actions_1t7pe_117", W = "_help_1t7pe_85", i = {
|
|
11
|
+
main: F,
|
|
12
|
+
visual: I,
|
|
13
|
+
content: S,
|
|
14
|
+
statusCode: q,
|
|
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
|
|
26
|
+
};
|
|
27
|
+
function ee({
|
|
28
|
+
statusCode: g,
|
|
29
|
+
heading: p,
|
|
30
|
+
description: z,
|
|
31
|
+
illustrationSrc: C = j,
|
|
32
|
+
illustrationAlt: v,
|
|
33
|
+
illustrationWidth: N = 336,
|
|
34
|
+
illustrationHeight: x = 392,
|
|
35
|
+
statusLabel: h,
|
|
36
|
+
statusLabelIconKey: m,
|
|
37
|
+
illustrationCaption: r,
|
|
38
|
+
calloutTitle: o,
|
|
39
|
+
calloutDescription: d,
|
|
40
|
+
calloutIconKey: K = "fa-solid fa-circle-info",
|
|
41
|
+
primaryLinkButtonProps: n,
|
|
42
|
+
secondaryLinkButtonProps: l,
|
|
43
|
+
primaryFirst: b = !0,
|
|
44
|
+
helpText: _,
|
|
45
|
+
className: w
|
|
46
|
+
}) {
|
|
47
|
+
return /* @__PURE__ */ a(u, { flexDirection: "row", alignItems: "stretch", justifyContent: "center", className: T(i.main, w), children: [
|
|
48
|
+
/* @__PURE__ */ a("div", { className: i.visual, children: [
|
|
49
|
+
h && /* @__PURE__ */ e(R, { size: "sm", className: i.badge, children: /* @__PURE__ */ a("span", { className: i.badgeContent, children: [
|
|
50
|
+
m && /* @__PURE__ */ e(t, { iconKey: m, size: "xs" }),
|
|
51
|
+
h
|
|
52
|
+
] }) }),
|
|
53
|
+
/* @__PURE__ */ e(
|
|
54
|
+
y,
|
|
55
|
+
{
|
|
56
|
+
src: C,
|
|
57
|
+
alt: v,
|
|
58
|
+
width: N,
|
|
59
|
+
height: x,
|
|
60
|
+
className: i.illustration
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
r && /* @__PURE__ */ e(s, { size: "sm", className: i.illustrationCaption, children: r })
|
|
64
|
+
] }),
|
|
65
|
+
/* @__PURE__ */ a("div", { className: i.content, children: [
|
|
66
|
+
/* @__PURE__ */ a("div", { children: [
|
|
67
|
+
/* @__PURE__ */ e(s, { size: "6xl", weight: "bold", variant: "display", as: "div", className: i.statusCode, children: g }),
|
|
68
|
+
/* @__PURE__ */ e(s, { size: "3xl", weight: "bold", variant: "display", as: "div", className: i.heading, children: p })
|
|
69
|
+
] }),
|
|
70
|
+
/* @__PURE__ */ e(s, { size: "xl", children: z }),
|
|
71
|
+
(o || d) && /* @__PURE__ */ a("div", { className: i.callout, children: [
|
|
72
|
+
o && /* @__PURE__ */ a(s, { size: "lg", weight: "bold", className: i.calloutTitle, children: [
|
|
73
|
+
/* @__PURE__ */ e(t, { iconKey: K, colorToken: "secondary", size: "xs" }),
|
|
74
|
+
o
|
|
75
|
+
] }),
|
|
76
|
+
d && /* @__PURE__ */ e(s, { size: "md", children: d })
|
|
77
|
+
] }),
|
|
78
|
+
/* @__PURE__ */ e("div", { className: i.actions, children: b ? /* @__PURE__ */ a(f, { children: [
|
|
79
|
+
/* @__PURE__ */ e(c, { variant: "primary", size: "md", href: n.href, children: /* @__PURE__ */ a("span", { className: i.actionContent, children: [
|
|
80
|
+
n.iconKey && /* @__PURE__ */ e(t, { iconKey: n.iconKey, size: "xs" }),
|
|
81
|
+
n.label
|
|
82
|
+
] }) }),
|
|
83
|
+
l && /* @__PURE__ */ e(c, { variant: "secondary", size: "md", href: l.href, children: /* @__PURE__ */ a("span", { className: i.actionContent, children: [
|
|
84
|
+
l.iconKey && /* @__PURE__ */ e(t, { iconKey: l.iconKey, size: "xs" }),
|
|
85
|
+
l.label
|
|
86
|
+
] }) })
|
|
87
|
+
] }) : /* @__PURE__ */ a(f, { children: [
|
|
88
|
+
l && /* @__PURE__ */ e(c, { variant: "secondary", size: "md", href: l.href, children: /* @__PURE__ */ a("span", { className: i.actionContent, children: [
|
|
89
|
+
l.iconKey && /* @__PURE__ */ e(t, { iconKey: l.iconKey, size: "xs" }),
|
|
90
|
+
l.label
|
|
91
|
+
] }) }),
|
|
92
|
+
/* @__PURE__ */ e(c, { variant: "primary", size: "md", href: n.href, children: /* @__PURE__ */ a("span", { className: i.actionContent, children: [
|
|
93
|
+
n.iconKey && /* @__PURE__ */ e(t, { iconKey: n.iconKey, size: "xs" }),
|
|
94
|
+
n.label
|
|
95
|
+
] }) })
|
|
96
|
+
] }) }),
|
|
97
|
+
_ && /* @__PURE__ */ e("div", { className: i.help, children: /* @__PURE__ */ a(s, { size: "sm", className: i.helpRow, children: [
|
|
98
|
+
/* @__PURE__ */ e(t, { iconKey: "fa-solid fa-circle-info", colorToken: "secondary", size: "xs" }),
|
|
99
|
+
_
|
|
100
|
+
] }) })
|
|
101
|
+
] })
|
|
102
|
+
] });
|
|
103
|
+
}
|
|
104
|
+
export {
|
|
105
|
+
ee as StatusPage
|
|
106
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { StatusPage } from './StatusPage';
|
|
3
|
+
declare const meta: Meta<typeof StatusPage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof meta>;
|
|
6
|
+
export declare const NotFound404: Story;
|
|
7
|
+
export declare const Unauthorized403: Story;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { StatusPage as a } from "./StatusPage.js";
|
|
3
|
+
import { n as e } from "../../not-found-DhBNR9yc.js";
|
|
4
|
+
const n = {
|
|
5
|
+
title: "Case Parts/Organisms/StatusPage",
|
|
6
|
+
component: a,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
parameters: {
|
|
9
|
+
layout: "fullscreen",
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: [
|
|
13
|
+
"Reusable status layout for pages like 404 (not found) and 403 (unauthorized).",
|
|
14
|
+
"Use this component to keep status page structure consistent while varying copy, callouts, and actions.",
|
|
15
|
+
"",
|
|
16
|
+
"Required props: statusCode, heading, description, illustrationAlt, primaryLinkButtonProps.",
|
|
17
|
+
"Optional props: illustrationSrc, statusLabel, statusLabelIconKey, illustrationCaption, calloutTitle, calloutDescription,",
|
|
18
|
+
"calloutIconKey, secondaryLinkButtonProps, primaryFirst, helpText."
|
|
19
|
+
].join(" ")
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
decorators: [
|
|
24
|
+
(o) => /* @__PURE__ */ t("div", { style: { padding: "32px 24px", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ t("div", { style: { width: "100%", maxWidth: "1130px" }, children: /* @__PURE__ */ t(o, {}) }) })
|
|
25
|
+
]
|
|
26
|
+
}, l = {
|
|
27
|
+
args: {
|
|
28
|
+
statusCode: "404",
|
|
29
|
+
statusLabel: "Page Not Found",
|
|
30
|
+
statusLabelIconKey: "fa-solid fa-magnifying-glass",
|
|
31
|
+
heading: "We couldn't find that page",
|
|
32
|
+
description: "The page may have moved, the address may be incorrect, or the content may no longer be available.",
|
|
33
|
+
illustrationSrc: e,
|
|
34
|
+
illustrationAlt: "Page not found",
|
|
35
|
+
illustrationCaption: "The requested page could not be located on CaseParts.com.",
|
|
36
|
+
calloutTitle: "What can I do?",
|
|
37
|
+
calloutDescription: "Check the address and try again, search for a part, or use one of the options below to continue.",
|
|
38
|
+
primaryLinkButtonProps: {
|
|
39
|
+
label: "Return to CaseParts.com",
|
|
40
|
+
href: "/",
|
|
41
|
+
iconKey: "fa-solid fa-house"
|
|
42
|
+
},
|
|
43
|
+
secondaryLinkButtonProps: {
|
|
44
|
+
label: "Go to My Account",
|
|
45
|
+
href: "/account",
|
|
46
|
+
iconKey: "fa-regular fa-user"
|
|
47
|
+
},
|
|
48
|
+
primaryFirst: !0,
|
|
49
|
+
helpText: "Still need help? Email hello@caseparts.com or call 1-800-421-0271."
|
|
50
|
+
}
|
|
51
|
+
}, c = {
|
|
52
|
+
args: {
|
|
53
|
+
statusCode: "403",
|
|
54
|
+
statusLabel: "Restricted Area",
|
|
55
|
+
statusLabelIconKey: "fa-solid fa-shield",
|
|
56
|
+
heading: "Unauthorized access",
|
|
57
|
+
description: "Your account is signed in, but it does not currently have the permissions required to view this content.",
|
|
58
|
+
illustrationSrc: e,
|
|
59
|
+
illustrationAlt: "Restricted access",
|
|
60
|
+
illustrationCaption: "This page is available only to users with the required account permissions.",
|
|
61
|
+
calloutTitle: "Why am I seeing this?",
|
|
62
|
+
calloutDescription: "Access may be limited by your company administrator, account role, or the permissions assigned to your CaseParts user.",
|
|
63
|
+
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",
|
|
70
|
+
href: "/",
|
|
71
|
+
iconKey: "fa-solid fa-house"
|
|
72
|
+
},
|
|
73
|
+
primaryFirst: !0,
|
|
74
|
+
helpText: "Need access? Contact your company administrator or email hello@caseparts.com. You can also call 1-800-421-0271."
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
export {
|
|
78
|
+
l as NotFound404,
|
|
79
|
+
c as Unauthorized403,
|
|
80
|
+
n as default
|
|
81
|
+
};
|