@pismo/marola 1.1.3 → 1.1.5
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/PageHeader.css +1 -1
- package/dist/assets/Stepper.css +1 -1
- package/dist/components/Chip/Chip.stories.d.ts +1 -1
- package/dist/components/ConfirmationDialog/ConfirmationDialog.js +26 -26
- package/dist/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +1 -1
- package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -1
- package/dist/components/LoadingSpinner/LoadingSpinner.stories.d.ts +1 -1
- package/dist/components/PageHeader/PageHeader.js +45 -45
- package/dist/components/Popover/Popover.stories.d.ts +1 -1
- package/dist/components/Snackbar/Snackbar.stories.d.ts +1 -1
- package/dist/components/Stepper/Stepper.js +35 -35
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/components/Typography/Typography.stories.d.ts +1 -1
- package/dist/contexts/SnackbarProvider/SnackbarProvider.stories.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
._u-typography-
|
|
1
|
+
._u-typography-h1_10ecr_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_10ecr_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_10ecr_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_10ecr_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_10ecr_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_10ecr_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_10ecr_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_10ecr_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_10ecr_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_10ecr_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_10ecr_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_10ecr_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_10ecr_68{text-decoration:line-through}._u-typography-base--underlined_10ecr_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_10ecr_74{text-decoration:underline line-through}._page-header_10ecr_78{width:100%;background-color:var(--cream);min-height:7.375rem}._page-header__main-content_10ecr_83{position:relative;width:64rem;max-width:100%;padding:1rem 0;margin:0 auto}._page-header__bottom-content_10ecr_90{width:64rem;max-width:100%;margin:0 auto}._page-header__breadcrumb_10ecr_95{display:flex;gap:.5rem;align-items:center;height:2rem}._page-header__breadcrumb_10ecr_95 button{padding:0;line-height:1.25rem;color:var(--colors-neutral-text-color-text)}._page-header__breadcrumb_10ecr_95 button:active,._page-header__breadcrumb_10ecr_95 button:focus{color:var(--colors-neutral-text-color-text);outline:none}._page-header__breadcrumb_10ecr_95 button:hover:enabled{color:var(--accent-dark)}._page-header__breadcrumb_10ecr_95 button *:not(svg){font-size:.75rem}._page-header__breadcrumb_10ecr_95 button:disabled{color:var(--colors-neutral-text-color-text-tertiary)}._page-header__breadcrumb_10ecr_95 button svg{width:1rem;height:1rem}._page-header__breadcrumb__separator_10ecr_123{height:1.125rem;padding:0;line-height:1.125rem;color:var(--colors-neutral-text-color-text-description)}._page-header__right-children-wrapper_10ecr_129{display:flex;align-items:center;justify-content:space-between}._header-bubble_10ecr_135{flex:1}._header-bubble--container_10ecr_138{position:absolute;max-width:80%;height:5.75rem;background-color:var(--white-100);border:1px solid var(--border-secondary);border-radius:8px}._header-bubble--container--full_10ecr_146{max-width:100%}._header-bubble-margin_10ecr_150{padding-bottom:1rem}
|
package/dist/assets/Stepper.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
._u-typography-
|
|
1
|
+
._u-typography-h1_1h8au_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1h8au_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1h8au_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1h8au_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1h8au_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1h8au_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1h8au_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1h8au_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1h8au_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1h8au_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1h8au_61,._stepper_1h8au_61 ._item_1h8au_61 ._name_1h8au_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1h8au_65,._stepper_1h8au_61 ._item--active_1h8au_65 ._name_1h8au_61,._stepper_1h8au_61 ._item--completed_1h8au_65 ._counter_1h8au_65,._stepper_1h8au_61 ._item_1h8au_61 ._counter_1h8au_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1h8au_68{text-decoration:line-through}._u-typography-base--underlined_1h8au_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_1h8au_74{text-decoration:underline line-through}._stepper_1h8au_61{display:flex;justify-content:space-between;margin:2.5rem auto}._stepper_1h8au_61 ._item_1h8au_61{position:relative;display:flex;flex:1;flex-direction:column;align-items:center}._stepper_1h8au_61 ._item_1h8au_61:before{position:absolute;top:20px;left:-50%;z-index:2;width:100%;content:"";border-bottom:2px solid var(--gray-50);transition:all var(--transition-long)}._stepper_1h8au_61 ._item_1h8au_61:after{position:absolute;top:20px;left:50%;z-index:2;width:100%;content:"";border-bottom:2px solid var(--gray-50);transition:all var(--transition-long)}._stepper_1h8au_61 ._item_1h8au_61 ._counter_1h8au_65{position:relative;z-index:5;display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;margin-bottom:.5rem;line-height:1rem;color:var(--gray-50);background-color:var(--white-100);border:2px solid var(--gray-50);border-radius:50%;transition:all var(--transition-long)}._stepper_1h8au_61 ._item_1h8au_61 ._name_1h8au_61{color:var(--gray-50);text-align:center;transition:all var(--transition-long)}._stepper_1h8au_61 ._item_1h8au_61:first-child:before,._stepper_1h8au_61 ._item_1h8au_61:last-child:after{content:none}._stepper_1h8au_61 ._item--completed_1h8au_65 ._counter_1h8au_65{color:var(--white-100);background-color:var(--secondary-green-dark);border-color:var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1h8au_61 ._item--completed_1h8au_65 ._name_1h8au_61{font-weight:900;color:var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1h8au_61 ._item--completed_1h8au_65:after{position:absolute;top:20px;left:50%;z-index:3;width:100%;content:"";border-bottom:2px solid var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1h8au_61 ._item--active_1h8au_65 ._counter_1h8au_65{font-weight:700;color:var(--secondary-green-dark);background-color:var(--white-100);border-color:var(--secondary-green-dark);transition:all var(--transition-long)}._stepper_1h8au_61 ._item--active_1h8au_65 ._name_1h8au_61{color:var(--gray-75);transition:all var(--transition-long)}
|
|
@@ -4,7 +4,7 @@ declare const meta: {
|
|
|
4
4
|
title: string;
|
|
5
5
|
component: import('react').ForwardRefExoticComponent<import('./Chip').ChipProps & import('react').RefAttributes<unknown>>;
|
|
6
6
|
tags: string[];
|
|
7
|
-
decorators: ((Story: import('@storybook/
|
|
7
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
8
8
|
label: import('react').ReactNode;
|
|
9
9
|
loading?: boolean | undefined;
|
|
10
10
|
leftAdornment?: import('../Adornment/Adornment').AdornmentProps | undefined;
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as o, Fragment as s } from "react/jsx-runtime";
|
|
2
2
|
import { Button as n } from "../Button/Button.js";
|
|
3
|
-
import { Dialog as
|
|
4
|
-
import { Typography as
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
const
|
|
8
|
-
open:
|
|
9
|
-
onClose:
|
|
10
|
-
title:
|
|
11
|
-
subtitle:
|
|
12
|
-
content:
|
|
3
|
+
import { Dialog as g } from "../Dialog/Dialog.js";
|
|
4
|
+
import { Typography as e } from "../Typography/Typography.js";
|
|
5
|
+
import f from "../Dialog/Content.js";
|
|
6
|
+
import u from "../Dialog/Actions.js";
|
|
7
|
+
const z = ({
|
|
8
|
+
open: t,
|
|
9
|
+
onClose: l,
|
|
10
|
+
title: a,
|
|
11
|
+
subtitle: m,
|
|
12
|
+
content: i,
|
|
13
13
|
cancelAction: d,
|
|
14
|
-
confirmAction:
|
|
15
|
-
confirmLabel:
|
|
16
|
-
cancelLabel:
|
|
17
|
-
}) => /* @__PURE__ */
|
|
18
|
-
|
|
14
|
+
confirmAction: p,
|
|
15
|
+
confirmLabel: c,
|
|
16
|
+
cancelLabel: h
|
|
17
|
+
}) => /* @__PURE__ */ r(
|
|
18
|
+
g,
|
|
19
19
|
{
|
|
20
|
-
open:
|
|
21
|
-
dialogTitle:
|
|
22
|
-
dialogSubtitle:
|
|
20
|
+
open: t,
|
|
21
|
+
dialogTitle: a,
|
|
22
|
+
dialogSubtitle: m,
|
|
23
23
|
onClose: () => {
|
|
24
|
-
|
|
24
|
+
l();
|
|
25
25
|
},
|
|
26
|
-
children: /* @__PURE__ */
|
|
27
|
-
|
|
28
|
-
/* @__PURE__ */
|
|
29
|
-
/* @__PURE__ */
|
|
30
|
-
/* @__PURE__ */
|
|
26
|
+
children: /* @__PURE__ */ o(s, { children: [
|
|
27
|
+
i && /* @__PURE__ */ r(f, { children: i }),
|
|
28
|
+
/* @__PURE__ */ o(u, { children: [
|
|
29
|
+
/* @__PURE__ */ r(n, { shape: "round", variant: "text", size: "large", onClick: () => d(), children: /* @__PURE__ */ r(e, { children: h }) }),
|
|
30
|
+
/* @__PURE__ */ r(n, { shape: "round", variant: "primary", size: "large", onClick: () => p(), children: /* @__PURE__ */ r(e, { children: c }) })
|
|
31
31
|
] })
|
|
32
32
|
] })
|
|
33
33
|
}
|
|
34
34
|
);
|
|
35
35
|
export {
|
|
36
|
-
|
|
36
|
+
z as ConfirmationDialog
|
|
37
37
|
};
|
|
@@ -5,7 +5,7 @@ declare const meta: {
|
|
|
5
5
|
title: string;
|
|
6
6
|
component: ({ open, onClose, title, subtitle, content, cancelAction, confirmAction, confirmLabel, cancelLabel, }: ConfirmationDialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
tags: string[];
|
|
8
|
-
decorators: ((Story: import('@storybook/
|
|
8
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
9
9
|
open: boolean;
|
|
10
10
|
onClose: () => void;
|
|
11
11
|
title?: import('react').ReactNode;
|
|
@@ -10,7 +10,7 @@ declare const meta: {
|
|
|
10
10
|
Actions: import('react').FunctionComponent<import('./Actions').DialogActionProps>;
|
|
11
11
|
};
|
|
12
12
|
tags: string[];
|
|
13
|
-
decorators: ((Story: import('@storybook/
|
|
13
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
14
14
|
color?: string | undefined;
|
|
15
15
|
ref?: ((instance: HTMLDivElement | null) => void) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
16
16
|
children: import('react').ReactElement<any, string | import('react').JSXElementConstructor<any>> & import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<unknown>>;
|
|
@@ -8,7 +8,7 @@ declare const meta: {
|
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
10
10
|
};
|
|
11
|
-
decorators: ((Story: import('@storybook/
|
|
11
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
12
12
|
children: import('react').ReactNode;
|
|
13
13
|
title: import('react').ReactNode;
|
|
14
14
|
style?: import('react').CSSProperties | undefined;
|
|
@@ -4,7 +4,7 @@ declare const meta: {
|
|
|
4
4
|
title: string;
|
|
5
5
|
component: ({ invert, classNames }: import('./LoadingSpinner').LoadingSpinnerProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
tags: string[];
|
|
7
|
-
decorators: ((Story: import('@storybook/
|
|
7
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
8
8
|
invert?: boolean | undefined;
|
|
9
9
|
classNames?: string | undefined;
|
|
10
10
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import '../../assets/PageHeader.css';
|
|
2
2
|
import { jsx as e, jsxs as _, Fragment as h } from "react/jsx-runtime";
|
|
3
3
|
import { useMemo as I } from "react";
|
|
4
|
-
import { c as
|
|
4
|
+
import { c as y } from "../../clsx-DB4S2d7J.js";
|
|
5
5
|
import { Icon as P } from "../Icon/Icon.js";
|
|
6
6
|
import { IconButton as $ } from "../IconButton/IconButton.js";
|
|
7
|
-
import { Text as
|
|
7
|
+
import { Text as m } from "../Typography/Typography.js";
|
|
8
8
|
const a = {
|
|
9
|
-
"u-typography-h1": "_u-typography-
|
|
10
|
-
"u-typography-h2": "_u-typography-
|
|
11
|
-
"u-typography-h3": "_u-typography-
|
|
12
|
-
"u-typography-h4": "_u-typography-
|
|
13
|
-
"u-typography-h5": "_u-typography-
|
|
14
|
-
"u-typography-h6": "_u-typography-
|
|
15
|
-
"u-typography-base": "_u-typography-
|
|
16
|
-
"u-typography-base--xxl": "_u-typography-base--
|
|
17
|
-
"u-typography-base--xl": "_u-typography-base--
|
|
18
|
-
"u-typography-base--lg": "_u-typography-base--
|
|
19
|
-
"u-typography-base--sm": "_u-typography-base--
|
|
20
|
-
"u-typography-base--bold": "_u-typography-base--
|
|
21
|
-
"u-typography-base--strikethrough": "_u-typography-base--
|
|
22
|
-
"u-typography-base--underlined": "_u-typography-base--
|
|
23
|
-
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-
|
|
24
|
-
"page-header": "_page-
|
|
25
|
-
"page-header__main-content": "_page-header__main-
|
|
26
|
-
"page-header__bottom-content": "_page-header__bottom-
|
|
27
|
-
"page-header__breadcrumb": "_page-
|
|
28
|
-
"page-header__breadcrumb__separator": "_page-
|
|
29
|
-
"page-header__right-children-wrapper": "_page-header__right-children-
|
|
30
|
-
"header-bubble": "_header-
|
|
31
|
-
"header-bubble--container": "_header-bubble--
|
|
32
|
-
"header-bubble--container--full": "_header-bubble--container--
|
|
33
|
-
"header-bubble-margin": "_header-bubble-
|
|
9
|
+
"u-typography-h1": "_u-typography-h1_10ecr_1",
|
|
10
|
+
"u-typography-h2": "_u-typography-h2_10ecr_8",
|
|
11
|
+
"u-typography-h3": "_u-typography-h3_10ecr_15",
|
|
12
|
+
"u-typography-h4": "_u-typography-h4_10ecr_22",
|
|
13
|
+
"u-typography-h5": "_u-typography-h5_10ecr_29",
|
|
14
|
+
"u-typography-h6": "_u-typography-h6_10ecr_36",
|
|
15
|
+
"u-typography-base": "_u-typography-base_10ecr_43",
|
|
16
|
+
"u-typography-base--xxl": "_u-typography-base--xxl_10ecr_49",
|
|
17
|
+
"u-typography-base--xl": "_u-typography-base--xl_10ecr_53",
|
|
18
|
+
"u-typography-base--lg": "_u-typography-base--lg_10ecr_57",
|
|
19
|
+
"u-typography-base--sm": "_u-typography-base--sm_10ecr_61",
|
|
20
|
+
"u-typography-base--bold": "_u-typography-base--bold_10ecr_65",
|
|
21
|
+
"u-typography-base--strikethrough": "_u-typography-base--strikethrough_10ecr_68",
|
|
22
|
+
"u-typography-base--underlined": "_u-typography-base--underlined_10ecr_71",
|
|
23
|
+
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_10ecr_74",
|
|
24
|
+
"page-header": "_page-header_10ecr_78",
|
|
25
|
+
"page-header__main-content": "_page-header__main-content_10ecr_83",
|
|
26
|
+
"page-header__bottom-content": "_page-header__bottom-content_10ecr_90",
|
|
27
|
+
"page-header__breadcrumb": "_page-header__breadcrumb_10ecr_95",
|
|
28
|
+
"page-header__breadcrumb__separator": "_page-header__breadcrumb__separator_10ecr_123",
|
|
29
|
+
"page-header__right-children-wrapper": "_page-header__right-children-wrapper_10ecr_129",
|
|
30
|
+
"header-bubble": "_header-bubble_10ecr_135",
|
|
31
|
+
"header-bubble--container": "_header-bubble--container_10ecr_138",
|
|
32
|
+
"header-bubble--container--full": "_header-bubble--container--full_10ecr_146",
|
|
33
|
+
"header-bubble-margin": "_header-bubble-margin_10ecr_150"
|
|
34
34
|
}, E = ({
|
|
35
35
|
title: n,
|
|
36
|
-
subtitle:
|
|
36
|
+
subtitle: b,
|
|
37
37
|
rightChildren: p,
|
|
38
38
|
bottomChildren: l,
|
|
39
39
|
classNameWrapper: k,
|
|
40
40
|
classNameTitle: N,
|
|
41
41
|
classNameSubtitle: f,
|
|
42
|
-
headerBubble:
|
|
42
|
+
headerBubble: c,
|
|
43
43
|
fullWidthHeaderBubble: x,
|
|
44
44
|
"data-testid-wrapper": v,
|
|
45
45
|
"data-testid-title": w,
|
|
@@ -52,30 +52,30 @@ const a = {
|
|
|
52
52
|
backLinkText: s,
|
|
53
53
|
onBackLinkClick: d,
|
|
54
54
|
classNameBackLink: u,
|
|
55
|
-
"data-testid-backLink":
|
|
55
|
+
"data-testid-backLink": g,
|
|
56
56
|
...B
|
|
57
57
|
} = T;
|
|
58
|
-
|
|
59
|
-
const j =
|
|
58
|
+
c && (n || b || l) && console.error("headerBubble prop can not be used with title, subtitle or bottomChildren"), !c && !n && console.error("title prop is required when not using headerBubble"), (s || d) && console.error("backLinkText and onBackLinkClick props are deprecated. Please use breadcrumb instead");
|
|
59
|
+
const j = y([a["page-header"], k]), H = I(() => {
|
|
60
60
|
const o = [];
|
|
61
61
|
return s && d && o.push({
|
|
62
62
|
label: s,
|
|
63
63
|
className: u,
|
|
64
|
-
"data-testid":
|
|
64
|
+
"data-testid": g,
|
|
65
65
|
onClick: d
|
|
66
|
-
}), r && o.push(...r), /* @__PURE__ */ e("div", { className: a["page-header__breadcrumb"], children: o.map((t,
|
|
66
|
+
}), r && o.push(...r), /* @__PURE__ */ e("div", { className: a["page-header__breadcrumb"], children: o.map((t, i) => /* @__PURE__ */ e(
|
|
67
67
|
$,
|
|
68
68
|
{
|
|
69
|
-
icon:
|
|
69
|
+
icon: i === 0 ? /* @__PURE__ */ e(P, { icon: "house-blank" }) : /* @__PURE__ */ e("span", { className: a["page-header__breadcrumb__separator"], children: "/" }),
|
|
70
70
|
onClick: () => t.onClick && t.onClick(),
|
|
71
71
|
className: t.className,
|
|
72
72
|
"data-testid": t["data-testid"],
|
|
73
|
-
disabled: o.length === 1 ? !1 :
|
|
73
|
+
disabled: o.length === 1 ? !1 : i === o.length - 1,
|
|
74
74
|
children: t.label
|
|
75
75
|
},
|
|
76
|
-
`${t.label}_${
|
|
76
|
+
`${t.label}_${i}`
|
|
77
77
|
)) });
|
|
78
|
-
}, [r, s, u,
|
|
78
|
+
}, [r, s, u, g, d]);
|
|
79
79
|
return /* @__PURE__ */ _(h, { children: [
|
|
80
80
|
/* @__PURE__ */ _("div", { className: j, "data-testid": v, ...B, children: [
|
|
81
81
|
/* @__PURE__ */ _("div", { className: a["page-header__main-content"], children: [
|
|
@@ -85,7 +85,7 @@ const a = {
|
|
|
85
85
|
] }),
|
|
86
86
|
/* @__PURE__ */ _("div", { className: a["page-header__right-children-wrapper"], children: [
|
|
87
87
|
/* @__PURE__ */ e(
|
|
88
|
-
|
|
88
|
+
m,
|
|
89
89
|
{
|
|
90
90
|
variant: "h4",
|
|
91
91
|
element: "h1",
|
|
@@ -98,28 +98,28 @@ const a = {
|
|
|
98
98
|
!r && p && /* @__PURE__ */ e(h, { children: p })
|
|
99
99
|
] }),
|
|
100
100
|
/* @__PURE__ */ e(
|
|
101
|
-
|
|
101
|
+
m,
|
|
102
102
|
{
|
|
103
103
|
variant: "base",
|
|
104
104
|
element: "p",
|
|
105
105
|
color: "var(--colors-neutral-text-color-text)",
|
|
106
106
|
className: f,
|
|
107
107
|
"data-testid": L,
|
|
108
|
-
children:
|
|
108
|
+
children: b
|
|
109
109
|
}
|
|
110
110
|
),
|
|
111
|
-
|
|
111
|
+
c && /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e("div", { className: a["header-bubble"], children: /* @__PURE__ */ e(
|
|
112
112
|
"div",
|
|
113
113
|
{
|
|
114
|
-
className: x ?
|
|
114
|
+
className: x ? y(a["header-bubble--container"], a["header-bubble--container--full"]) : a["header-bubble--container"],
|
|
115
115
|
"data-testid": C,
|
|
116
|
-
children:
|
|
116
|
+
children: c
|
|
117
117
|
}
|
|
118
118
|
) }) })
|
|
119
119
|
] }),
|
|
120
120
|
l && /* @__PURE__ */ e("div", { className: a["page-header__bottom-content"], children: l })
|
|
121
121
|
] }),
|
|
122
|
-
|
|
122
|
+
c && /* @__PURE__ */ e("div", { className: a["header-bubble-margin"] })
|
|
123
123
|
] });
|
|
124
124
|
};
|
|
125
125
|
export {
|
|
@@ -25,7 +25,7 @@ declare const meta: {
|
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
tags: string[];
|
|
28
|
-
decorators: ((Story: import('@storybook/
|
|
28
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
29
29
|
[x: string]: any;
|
|
30
30
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
31
31
|
};
|
|
@@ -5,7 +5,7 @@ declare const meta: {
|
|
|
5
5
|
title: string;
|
|
6
6
|
component: ({ snackbarMessage, variant, autoHideDuration, open, onClose, onClosed, classNameWrapper, "data-testid": dataTestId, }: SnackbarProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
tags: string[];
|
|
8
|
-
decorators: ((Story: import('@storybook/
|
|
8
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
9
9
|
accept?: string | undefined;
|
|
10
10
|
alt?: string | undefined;
|
|
11
11
|
autoComplete?: import('react').HTMLInputAutoCompleteAttribute | undefined;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import '../../assets/Stepper.css';
|
|
2
|
-
import { jsx as
|
|
3
|
-
import { c as
|
|
4
|
-
const
|
|
5
|
-
"u-typography-h1": "_u-typography-
|
|
6
|
-
"u-typography-h2": "_u-typography-
|
|
7
|
-
"u-typography-h3": "_u-typography-
|
|
8
|
-
"u-typography-h4": "_u-typography-
|
|
9
|
-
"u-typography-h5": "_u-typography-
|
|
10
|
-
"u-typography-h6": "_u-typography-
|
|
11
|
-
"u-typography-base": "_u-typography-
|
|
12
|
-
"u-typography-base--xxl": "_u-typography-base--
|
|
13
|
-
"u-typography-base--xl": "_u-typography-base--
|
|
14
|
-
"u-typography-base--lg": "_u-typography-base--
|
|
15
|
-
"u-typography-base--sm": "_u-typography-base--
|
|
16
|
-
stepper:
|
|
17
|
-
item:
|
|
18
|
-
name:
|
|
19
|
-
"u-typography-base--bold": "_u-typography-base--
|
|
20
|
-
"item--active": "_item--
|
|
21
|
-
"item--completed": "_item--
|
|
2
|
+
import { jsx as h, jsxs as d } from "react/jsx-runtime";
|
|
3
|
+
import { c as p } from "../../clsx-DB4S2d7J.js";
|
|
4
|
+
const m = "_stepper_1h8au_61", c = "_item_1h8au_61", n = "_name_1h8au_61", l = "_counter_1h8au_65", a = {
|
|
5
|
+
"u-typography-h1": "_u-typography-h1_1h8au_1",
|
|
6
|
+
"u-typography-h2": "_u-typography-h2_1h8au_8",
|
|
7
|
+
"u-typography-h3": "_u-typography-h3_1h8au_15",
|
|
8
|
+
"u-typography-h4": "_u-typography-h4_1h8au_22",
|
|
9
|
+
"u-typography-h5": "_u-typography-h5_1h8au_29",
|
|
10
|
+
"u-typography-h6": "_u-typography-h6_1h8au_36",
|
|
11
|
+
"u-typography-base": "_u-typography-base_1h8au_43",
|
|
12
|
+
"u-typography-base--xxl": "_u-typography-base--xxl_1h8au_49",
|
|
13
|
+
"u-typography-base--xl": "_u-typography-base--xl_1h8au_53",
|
|
14
|
+
"u-typography-base--lg": "_u-typography-base--lg_1h8au_57",
|
|
15
|
+
"u-typography-base--sm": "_u-typography-base--sm_1h8au_61",
|
|
16
|
+
stepper: m,
|
|
17
|
+
item: c,
|
|
18
|
+
name: n,
|
|
19
|
+
"u-typography-base--bold": "_u-typography-base--bold_1h8au_65",
|
|
20
|
+
"item--active": "_item--active_1h8au_65",
|
|
21
|
+
"item--completed": "_item--completed_1h8au_65",
|
|
22
22
|
counter: l,
|
|
23
|
-
"u-typography-base--strikethrough": "_u-typography-base--
|
|
24
|
-
"u-typography-base--underlined": "_u-typography-base--
|
|
25
|
-
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-
|
|
26
|
-
},
|
|
27
|
-
const
|
|
28
|
-
return /* @__PURE__ */
|
|
23
|
+
"u-typography-base--strikethrough": "_u-typography-base--strikethrough_1h8au_68",
|
|
24
|
+
"u-typography-base--underlined": "_u-typography-base--underlined_1h8au_71",
|
|
25
|
+
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1h8au_74"
|
|
26
|
+
}, x = ({ currentStep: u = 0, steps: _, classNameItem: y, classNameCounter: r, classNameName: s, ...t }) => /* @__PURE__ */ h("div", { className: p(a.stepper, t.className), "data-testid": t["data-testid"], children: _.map((o, e) => {
|
|
27
|
+
const i = e < u, g = e === u;
|
|
28
|
+
return /* @__PURE__ */ d(
|
|
29
29
|
"div",
|
|
30
30
|
{
|
|
31
|
-
className:
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
className: p(
|
|
32
|
+
a.item,
|
|
33
|
+
i && a["item--completed"],
|
|
34
|
+
g && a["item--active"],
|
|
35
35
|
y
|
|
36
36
|
),
|
|
37
|
-
"data-testid":
|
|
37
|
+
"data-testid": t["data-testid-item"],
|
|
38
38
|
children: [
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ h("div", { className: p(a.counter, r), "data-testid": t["data-testid-counter"], children: e + 1 }),
|
|
40
|
+
/* @__PURE__ */ h("div", { className: p(a.name, s), "data-testid": t["data-testid-name"], children: o })
|
|
41
41
|
]
|
|
42
42
|
},
|
|
43
|
-
|
|
43
|
+
e
|
|
44
44
|
);
|
|
45
45
|
}) });
|
|
46
46
|
export {
|
|
47
|
-
|
|
47
|
+
x as Stepper
|
|
48
48
|
};
|
|
@@ -6,7 +6,7 @@ declare const meta: {
|
|
|
6
6
|
title: string;
|
|
7
7
|
component: import('react').ForwardRefExoticComponent<ToggleGroupProps & import('react').RefAttributes<HTMLFieldSetElement>>;
|
|
8
8
|
tags: string[];
|
|
9
|
-
decorators: ((Story: import('@storybook/
|
|
9
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
10
10
|
legend?: import('react').ReactNode;
|
|
11
11
|
error?: import('react').ReactNode;
|
|
12
12
|
children: import('react').ReactElement<import('./Toggle.tsx').ToggleGroupItemProps<string | number>, string | import('react').JSXElementConstructor<any>>[];
|
|
@@ -8,7 +8,7 @@ declare const meta: {
|
|
|
8
8
|
parameters: {
|
|
9
9
|
layout: string;
|
|
10
10
|
};
|
|
11
|
-
decorators: ((Story: import('@storybook/
|
|
11
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
12
12
|
children: import('react').ReactNode;
|
|
13
13
|
title: import('react').ReactNode;
|
|
14
14
|
open?: boolean | undefined;
|
|
@@ -12,7 +12,7 @@ declare const meta: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
|
-
decorators: ((Story: import('@storybook/
|
|
15
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
16
16
|
children: import('react').ReactNode;
|
|
17
17
|
element?: import('react').ElementType | undefined;
|
|
18
18
|
variant?: import('./Typography').VariantType | undefined;
|
|
@@ -12,7 +12,7 @@ declare const meta: {
|
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
tags: string[];
|
|
15
|
-
decorators: ((Story: import('@storybook/
|
|
15
|
+
decorators: ((Story: import('@storybook/csf').PartialStoryFn<import('@storybook/react').ReactRenderer, {
|
|
16
16
|
[x: string]: any;
|
|
17
17
|
}>) => import("react/jsx-runtime").JSX.Element)[];
|
|
18
18
|
};
|