@pismo/marola 1.1.0 → 1.1.1
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/Dialog.module-BlXtafuW.js +28 -0
- package/dist/Group-ZXteFV4M.js +1 -2
- package/dist/Popover.module-B4boCutS.js +1 -2
- package/dist/SelectButton-B38avP9u.js +1 -2
- package/dist/Tabs.module-BNRwj3Z0.js +1 -2
- package/dist/Toggle-BuZjueQ7.js +1 -2
- package/dist/assets/BankCard.css +1 -1
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Calendar.css +1 -1
- package/dist/assets/Description.css +1 -1
- package/dist/assets/Dialog.css +1 -1
- package/dist/assets/PageHeader.css +1 -1
- package/dist/assets/Pagination.css +1 -1
- package/dist/assets/StepperNavigator.css +1 -1
- package/dist/assets/Tag.css +1 -1
- package/dist/components/Adornment/Adornment.js +1 -2
- package/dist/components/Advice/Advice.js +1 -2
- package/dist/components/Alert/Alert.js +1 -2
- package/dist/components/Autocomplete/Autocomplete.js +1 -2
- package/dist/components/Avatar/Avatar.js +1 -2
- package/dist/components/BankCard/BankCard.js +57 -58
- package/dist/components/Button/Button.js +69 -70
- package/dist/components/Calendar/Calendar.js +19 -20
- package/dist/components/Checkbox/Checkbox.js +1 -2
- package/dist/components/Chip/Chip.stories.d.ts +1 -1
- package/dist/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +1 -1
- package/dist/components/Description/Description.js +37 -38
- package/dist/components/Dialog/Actions.js +1 -1
- package/dist/components/Dialog/Backdrop.js +1 -1
- package/dist/components/Dialog/CloseIconButton.js +1 -1
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dialog/Dialog.stories.d.ts +1 -1
- package/dist/components/Dialog/DialogTitle.js +1 -1
- package/dist/components/EllipsisTooltip/EllipsisTooltip.js +1 -2
- package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -1
- package/dist/components/IconButton/IconButton.js +1 -2
- package/dist/components/Input/Input.js +1 -2
- package/dist/components/InputSearch/InputSearch.js +1 -2
- package/dist/components/LoadingSpinner/LoadingSpinner.js +1 -2
- package/dist/components/LoadingSpinner/LoadingSpinner.stories.d.ts +1 -1
- package/dist/components/PageHeader/PageHeader.js +110 -90
- package/dist/components/PageHeader/PageHeader.stories.d.ts +6 -3
- package/dist/components/Pagination/Pagination.js +62 -63
- package/dist/components/Popover/Popover.stories.d.ts +1 -1
- package/dist/components/RadioButton/RadioButton.js +1 -2
- package/dist/components/ResultWithChips/ResultWithChips.js +1 -2
- package/dist/components/Skeleton/Skeleton.js +1 -2
- package/dist/components/Snackbar/Snackbar.js +1 -2
- package/dist/components/Snackbar/Snackbar.stories.d.ts +1 -1
- package/dist/components/SortTooltip/SortTooltip.js +1 -2
- package/dist/components/Stepper/Stepper.js +1 -2
- package/dist/components/StepperNavigator/StepperNavigator.js +79 -73
- package/dist/components/StepperNavigator/StepperNavigator.stories.d.ts +0 -1
- package/dist/components/Table/Table.js +1 -2
- package/dist/components/Tag/Tag.js +54 -55
- package/dist/components/TextDisplay/TextDisplay.js +1 -2
- package/dist/components/Toggle/Toggle.js +1 -2
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -2
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/components/TransactionRow/TransactionRow.js +1 -2
- package/dist/components/Typography/Typography.js +1 -2
- package/dist/components/Typography/Typography.stories.d.ts +1 -1
- package/dist/contexts/SnackbarProvider/SnackbarProvider.stories.d.ts +1 -1
- package/package.json +2 -2
- package/dist/Dialog.module-BFRHcF1J.js +0 -29
|
@@ -1,91 +1,90 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
"u-typography-
|
|
9
|
-
"u-typography-
|
|
10
|
-
"u-typography-
|
|
11
|
-
"u-typography-
|
|
12
|
-
"u-typography-
|
|
13
|
-
"u-typography-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"u-typography-base--
|
|
17
|
-
"u-typography-base--
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"u-typography-base--
|
|
21
|
-
"u-typography-base--
|
|
22
|
-
"u-typography-base--
|
|
23
|
-
"u-typography-base--underlined": "_u-typography-base--
|
|
24
|
-
"
|
|
25
|
-
"button--
|
|
26
|
-
"button--
|
|
27
|
-
"button--primary": "_button--
|
|
28
|
-
"button--
|
|
29
|
-
"button--default": "_button--
|
|
30
|
-
"button--
|
|
31
|
-
"button--dashed": "_button--
|
|
32
|
-
"button--
|
|
33
|
-
"button--link": "_button--
|
|
34
|
-
"button--
|
|
35
|
-
"button--text": "_button--
|
|
36
|
-
"button--
|
|
37
|
-
"button--
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
}, w = k((p, s) => {
|
|
1
|
+
import { jsx as _, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as c, useMemo as f } from "react";
|
|
3
|
+
import { c as k } from "../../clsx-DB4S2d7J.js";
|
|
4
|
+
import { LoadingSpinner as x } from "../LoadingSpinner/LoadingSpinner.js";
|
|
5
|
+
import { B as q } from "../../Button-BAljjMv3.js";
|
|
6
|
+
import '../../assets/Button.css';const B = "_button_1wddv_43", d = {
|
|
7
|
+
"u-typography-h1": "_u-typography-h1_1wddv_1",
|
|
8
|
+
"u-typography-h2": "_u-typography-h2_1wddv_8",
|
|
9
|
+
"u-typography-h3": "_u-typography-h3_1wddv_15",
|
|
10
|
+
"u-typography-h4": "_u-typography-h4_1wddv_22",
|
|
11
|
+
"u-typography-h5": "_u-typography-h5_1wddv_29",
|
|
12
|
+
"u-typography-h6": "_u-typography-h6_1wddv_36",
|
|
13
|
+
"u-typography-base": "_u-typography-base_1wddv_43",
|
|
14
|
+
button: B,
|
|
15
|
+
"u-typography-base--xxl": "_u-typography-base--xxl_1wddv_49",
|
|
16
|
+
"u-typography-base--xl": "_u-typography-base--xl_1wddv_53",
|
|
17
|
+
"u-typography-base--lg": "_u-typography-base--lg_1wddv_57",
|
|
18
|
+
"button--large": "_button--large_1wddv_57",
|
|
19
|
+
"u-typography-base--sm": "_u-typography-base--sm_1wddv_61",
|
|
20
|
+
"u-typography-base--bold": "_u-typography-base--bold_1wddv_65",
|
|
21
|
+
"u-typography-base--strikethrough": "_u-typography-base--strikethrough_1wddv_68",
|
|
22
|
+
"u-typography-base--underlined": "_u-typography-base--underlined_1wddv_71",
|
|
23
|
+
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1wddv_74",
|
|
24
|
+
"button--small": "_button--small_1wddv_93",
|
|
25
|
+
"button--round": "_button--round_1wddv_96",
|
|
26
|
+
"button--primary": "_button--primary_1wddv_99",
|
|
27
|
+
"button--primary--danger": "_button--primary--danger_1wddv_118",
|
|
28
|
+
"button--default": "_button--default_1wddv_130",
|
|
29
|
+
"button--default--danger": "_button--default--danger_1wddv_151",
|
|
30
|
+
"button--dashed": "_button--dashed_1wddv_163",
|
|
31
|
+
"button--dashed--danger": "_button--dashed--danger_1wddv_184",
|
|
32
|
+
"button--link": "_button--link_1wddv_196",
|
|
33
|
+
"button--link--danger": "_button--link--danger_1wddv_213",
|
|
34
|
+
"button--text": "_button--text_1wddv_223",
|
|
35
|
+
"button--text--danger": "_button--text--danger_1wddv_239",
|
|
36
|
+
"button--secondary": "_button--secondary_1wddv_254",
|
|
37
|
+
"button--quick": "_button--quick_1wddv_271",
|
|
38
|
+
"button__loading-container": "_button__loading-container_1wddv_291"
|
|
39
|
+
}, P = c((e, p) => {
|
|
41
40
|
const {
|
|
42
|
-
onClick:
|
|
43
|
-
link:
|
|
41
|
+
onClick: s,
|
|
42
|
+
link: y,
|
|
44
43
|
children: o,
|
|
45
44
|
type: b = "button",
|
|
46
|
-
disabled:
|
|
47
|
-
loading:
|
|
45
|
+
disabled: h,
|
|
46
|
+
loading: g,
|
|
48
47
|
className: a,
|
|
49
48
|
size: n = "medium",
|
|
50
49
|
variant: t = "default",
|
|
51
|
-
shape:
|
|
52
|
-
danger:
|
|
53
|
-
muiButtonBaseProps:
|
|
54
|
-
"data-testid":
|
|
55
|
-
} =
|
|
50
|
+
shape: r = "square",
|
|
51
|
+
danger: u,
|
|
52
|
+
muiButtonBaseProps: i,
|
|
53
|
+
"data-testid": l
|
|
54
|
+
} = e, v = {
|
|
56
55
|
invert: t !== "primary"
|
|
57
56
|
};
|
|
58
|
-
(t === "quick" || t === "secondary") && (
|
|
59
|
-
const
|
|
60
|
-
() =>
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
(t === "quick" || t === "secondary") && (r !== "square" || n !== "medium" || u) && console.error("Secondary and Quick variants do not support shape, size or danger props");
|
|
58
|
+
const w = f(
|
|
59
|
+
() => k([
|
|
60
|
+
d.button,
|
|
61
|
+
d[`button--${t}`],
|
|
62
|
+
d[`button--${n}`],
|
|
63
|
+
d[`button--${r}`],
|
|
64
|
+
u && d[`button--${t}--danger`],
|
|
66
65
|
a
|
|
67
66
|
]),
|
|
68
67
|
[a, t]
|
|
69
68
|
);
|
|
70
|
-
return /* @__PURE__ */
|
|
71
|
-
|
|
69
|
+
return /* @__PURE__ */ _(
|
|
70
|
+
q,
|
|
72
71
|
{
|
|
73
72
|
type: b,
|
|
74
|
-
href:
|
|
75
|
-
onClick:
|
|
76
|
-
disabled:
|
|
77
|
-
className:
|
|
78
|
-
ref:
|
|
79
|
-
"data-testid":
|
|
80
|
-
...
|
|
81
|
-
children:
|
|
82
|
-
/* @__PURE__ */
|
|
73
|
+
href: y,
|
|
74
|
+
onClick: s,
|
|
75
|
+
disabled: h,
|
|
76
|
+
className: w,
|
|
77
|
+
ref: p,
|
|
78
|
+
"data-testid": l,
|
|
79
|
+
...i ?? {},
|
|
80
|
+
children: g ? /* @__PURE__ */ m("div", { className: d["button__loading-container"], children: [
|
|
81
|
+
/* @__PURE__ */ _(x, { ...v }),
|
|
83
82
|
o
|
|
84
83
|
] }) : o
|
|
85
84
|
}
|
|
86
85
|
);
|
|
87
86
|
});
|
|
88
87
|
export {
|
|
89
|
-
|
|
90
|
-
|
|
88
|
+
P as Button,
|
|
89
|
+
P as default
|
|
91
90
|
};
|
|
@@ -1,38 +1,37 @@
|
|
|
1
|
-
import '../../assets/Calendar.css';
|
|
2
1
|
import { jsx as s, jsxs as k } from "react/jsx-runtime";
|
|
3
2
|
import { c as v } from "../../clsx-DB4S2d7J.js";
|
|
4
|
-
const
|
|
5
|
-
"calendar-wrapper": "_calendar-
|
|
6
|
-
"mode-view": "_mode-
|
|
7
|
-
"calendar-day": "_calendar-
|
|
8
|
-
"day-number": "_day-
|
|
9
|
-
"day-id": "_day-
|
|
10
|
-
"day-active": "_day-
|
|
11
|
-
"mode-edit": "_mode-
|
|
12
|
-
"day-checkbox": "_day-
|
|
13
|
-
},
|
|
3
|
+
import '../../assets/Calendar.css';const c = {
|
|
4
|
+
"calendar-wrapper": "_calendar-wrapper_1cyku_1",
|
|
5
|
+
"mode-view": "_mode-view_1cyku_1",
|
|
6
|
+
"calendar-day": "_calendar-day_1cyku_7",
|
|
7
|
+
"day-number": "_day-number_1cyku_12",
|
|
8
|
+
"day-id": "_day-id_1cyku_18",
|
|
9
|
+
"day-active": "_day-active_1cyku_28",
|
|
10
|
+
"mode-edit": "_mode-edit_1cyku_33",
|
|
11
|
+
"day-checkbox": "_day-checkbox_1cyku_51"
|
|
12
|
+
}, b = ({ days: t = [], onChangeDay: l, mode: o = "view", totalDays: e = 28, className: m, ...p }) => {
|
|
14
13
|
const u = (a, d) => {
|
|
15
14
|
let r = [...t];
|
|
16
|
-
d !== void 0 ? a.active || a.id ? r[d] = a : r.splice(d, 1) : a.active && r.push(a), r = r.sort((
|
|
15
|
+
d !== void 0 ? a.active || a.id ? r[d] = a : r.splice(d, 1) : a.active && r.push(a), r = r.sort((_, i) => _.day - i.day), l == null || l({
|
|
17
16
|
changedDay: a,
|
|
18
17
|
changedDayIndex: d,
|
|
19
18
|
selectedDays: r
|
|
20
19
|
});
|
|
21
20
|
};
|
|
22
|
-
return /* @__PURE__ */ s("div", { className: v(
|
|
23
|
-
const r = d + 1,
|
|
21
|
+
return /* @__PURE__ */ s("div", { className: v(c["calendar-wrapper"], c[`mode-${o}`], m), ...p, children: new Array(e).fill(null).map((a, d) => {
|
|
22
|
+
const r = d + 1, _ = t.findIndex((n) => n.day === r), i = _ >= 0 ? t[_] : void 0;
|
|
24
23
|
return /* @__PURE__ */ k(
|
|
25
24
|
"div",
|
|
26
25
|
{
|
|
27
|
-
className: v(
|
|
26
|
+
className: v(c["calendar-day"], (i == null ? void 0 : i.active) && c["day-active"]),
|
|
28
27
|
onClick: o === "edit" ? () => u(
|
|
29
28
|
{ day: r, id: i == null ? void 0 : i.id, active: !(i != null && i.active) },
|
|
30
|
-
|
|
29
|
+
_ >= 0 ? _ : void 0
|
|
31
30
|
) : void 0,
|
|
32
31
|
children: [
|
|
33
|
-
/* @__PURE__ */ s("span", { className:
|
|
34
|
-
/* @__PURE__ */ s("span", { className:
|
|
35
|
-
o === "view" && /* @__PURE__ */ s("span", { className:
|
|
32
|
+
/* @__PURE__ */ s("span", { className: c["day-checkbox"] }),
|
|
33
|
+
/* @__PURE__ */ s("span", { className: c["day-number"], children: String(r).padStart(2, "0") }),
|
|
34
|
+
o === "view" && /* @__PURE__ */ s("span", { className: c["day-id"], children: i != null && i.id && (i != null && i.active) ? `ID: ${i == null ? void 0 : i.id}` : "" })
|
|
36
35
|
]
|
|
37
36
|
},
|
|
38
37
|
d
|
|
@@ -40,5 +39,5 @@ const _ = {
|
|
|
40
39
|
}) });
|
|
41
40
|
};
|
|
42
41
|
export {
|
|
43
|
-
|
|
42
|
+
b as Calendar
|
|
44
43
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import '../../assets/Checkbox.css';
|
|
2
1
|
import { jsxs as w, jsx as c } from "react/jsx-runtime";
|
|
3
2
|
import * as l from "react";
|
|
4
3
|
import { useState as k, useEffect as i } from "react";
|
|
5
4
|
import { c as _ } from "../../clsx-DB4S2d7J.js";
|
|
6
|
-
const v = (a) => /* @__PURE__ */ l.createElement("svg", { width: 14, height: 10, viewBox: "0 0 14 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ l.createElement("path", { d: "M13.7063 0.293438C14.0969 0.684062 14.0969 1.31531 13.7063 1.70594L5.70625 9.70594C5.31563 10.0966 4.68437 10.0966 4.29375 9.70594L0.292875 5.70594C-0.097625 5.31531 -0.097625 4.68406 0.292875 4.29344C0.683437 3.90281 1.31656 3.90281 1.70719 4.29344L4.97188 7.58406L12.2937 0.293438C12.6844 -0.0978125 13.3156 -0.0978125 13.7063 0.293438Z", fill: "#F7F7FC" })), N = "_label_xqg5n_65", z = "_checkmark_xqg5n_94", e = {
|
|
5
|
+
import '../../assets/Checkbox.css';const v = (a) => /* @__PURE__ */ l.createElement("svg", { width: 14, height: 10, viewBox: "0 0 14 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...a }, /* @__PURE__ */ l.createElement("path", { d: "M13.7063 0.293438C14.0969 0.684062 14.0969 1.31531 13.7063 1.70594L5.70625 9.70594C5.31563 10.0966 4.68437 10.0966 4.29375 9.70594L0.292875 5.70594C-0.097625 5.31531 -0.097625 4.68406 0.292875 4.29344C0.683437 3.90281 1.31656 3.90281 1.70719 4.29344L4.97188 7.58406L12.2937 0.293438C12.6844 -0.0978125 13.3156 -0.0978125 13.7063 0.293438Z", fill: "#F7F7FC" })), N = "_label_xqg5n_65", z = "_checkmark_xqg5n_94", e = {
|
|
7
6
|
"u-typography-h1": "_u-typography-h1_xqg5n_1",
|
|
8
7
|
"u-typography-h2": "_u-typography-h2_xqg5n_8",
|
|
9
8
|
"u-typography-h3": "_u-typography-h3_xqg5n_15",
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -1,61 +1,60 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import { c as g } from "../../clsx-DB4S2d7J.js";
|
|
1
|
+
import { jsxs as i, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { c as u } from "../../clsx-DB4S2d7J.js";
|
|
4
3
|
import { Skeleton as y } from "../Skeleton/Skeleton.js";
|
|
5
4
|
import { Typography as _ } from "../Typography/Typography.js";
|
|
6
|
-
const
|
|
7
|
-
"u-typography-h1": "_u-typography-
|
|
8
|
-
"u-typography-h2": "_u-typography-
|
|
9
|
-
"u-typography-h3": "_u-typography-
|
|
10
|
-
"u-typography-h4": "_u-typography-
|
|
11
|
-
"u-typography-h5": "_u-typography-
|
|
12
|
-
"u-typography-h6": "_u-typography-
|
|
13
|
-
"u-typography-base": "_u-typography-
|
|
14
|
-
"u-typography-base--xxl": "_u-typography-base--
|
|
15
|
-
"u-typography-base--xl": "_u-typography-base--
|
|
16
|
-
"u-typography-base--lg": "_u-typography-base--
|
|
17
|
-
"u-typography-base--sm": "_u-typography-base--
|
|
18
|
-
"u-typography-base--bold": "_u-typography-base--
|
|
19
|
-
"u-typography-base--strikethrough": "_u-typography-base--
|
|
20
|
-
"u-typography-base--underlined": "_u-typography-base--
|
|
21
|
-
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-
|
|
22
|
-
container:
|
|
23
|
-
"container--text": "_container--
|
|
24
|
-
"container--inline": "_container--
|
|
5
|
+
import '../../assets/Description.css';const g = "_container_1hzzl_78", e = {
|
|
6
|
+
"u-typography-h1": "_u-typography-h1_1hzzl_1",
|
|
7
|
+
"u-typography-h2": "_u-typography-h2_1hzzl_8",
|
|
8
|
+
"u-typography-h3": "_u-typography-h3_1hzzl_15",
|
|
9
|
+
"u-typography-h4": "_u-typography-h4_1hzzl_22",
|
|
10
|
+
"u-typography-h5": "_u-typography-h5_1hzzl_29",
|
|
11
|
+
"u-typography-h6": "_u-typography-h6_1hzzl_36",
|
|
12
|
+
"u-typography-base": "_u-typography-base_1hzzl_43",
|
|
13
|
+
"u-typography-base--xxl": "_u-typography-base--xxl_1hzzl_49",
|
|
14
|
+
"u-typography-base--xl": "_u-typography-base--xl_1hzzl_53",
|
|
15
|
+
"u-typography-base--lg": "_u-typography-base--lg_1hzzl_57",
|
|
16
|
+
"u-typography-base--sm": "_u-typography-base--sm_1hzzl_61",
|
|
17
|
+
"u-typography-base--bold": "_u-typography-base--bold_1hzzl_65",
|
|
18
|
+
"u-typography-base--strikethrough": "_u-typography-base--strikethrough_1hzzl_68",
|
|
19
|
+
"u-typography-base--underlined": "_u-typography-base--underlined_1hzzl_71",
|
|
20
|
+
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1hzzl_74",
|
|
21
|
+
container: g,
|
|
22
|
+
"container--text": "_container--text_1hzzl_82",
|
|
23
|
+
"container--inline": "_container--inline_1hzzl_85"
|
|
25
24
|
}, m = ({
|
|
26
|
-
label:
|
|
27
|
-
value:
|
|
25
|
+
label: l,
|
|
26
|
+
value: s,
|
|
28
27
|
isLoading: r,
|
|
29
28
|
color: h = "var(--gray-95)",
|
|
30
|
-
"data-testid":
|
|
29
|
+
"data-testid": t = "Description",
|
|
31
30
|
inline: p,
|
|
32
|
-
labelVariant:
|
|
31
|
+
labelVariant: n = "base",
|
|
33
32
|
valueVariant: o
|
|
34
|
-
}) => /* @__PURE__ */
|
|
33
|
+
}) => /* @__PURE__ */ i(
|
|
35
34
|
"div",
|
|
36
35
|
{
|
|
37
|
-
className:
|
|
38
|
-
"data-testid": `${
|
|
36
|
+
className: u([e.container, { [e["container--inline"]]: p }]),
|
|
37
|
+
"data-testid": `${t}-container`,
|
|
39
38
|
children: [
|
|
40
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ a(
|
|
41
40
|
_,
|
|
42
41
|
{
|
|
43
42
|
color: h,
|
|
44
|
-
className:
|
|
45
|
-
variant:
|
|
46
|
-
"data-testid": `${
|
|
47
|
-
children: r ? /* @__PURE__ */
|
|
43
|
+
className: e["container--text"],
|
|
44
|
+
variant: n,
|
|
45
|
+
"data-testid": `${t}-label`,
|
|
46
|
+
children: r ? /* @__PURE__ */ a(y, { style: { width: 70, marginBottom: 2 }, "data-testid": `${t}-skeletonLabel` }) : l
|
|
48
47
|
}
|
|
49
48
|
),
|
|
50
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ a(
|
|
51
50
|
_,
|
|
52
51
|
{
|
|
53
|
-
className:
|
|
52
|
+
className: e["container--text"],
|
|
54
53
|
bold: !0,
|
|
55
54
|
color: h,
|
|
56
55
|
variant: o || (p ? "base" : "base-lg"),
|
|
57
|
-
"data-testid": `${
|
|
58
|
-
children: r ? /* @__PURE__ */
|
|
56
|
+
"data-testid": `${t}-value`,
|
|
57
|
+
children: r ? /* @__PURE__ */ a(y, { style: { width: 100 }, "data-testid": `${t}-skeletonValue` }) : s || "-"
|
|
59
58
|
}
|
|
60
59
|
)
|
|
61
60
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { s as t } from "../../Dialog.module-
|
|
2
|
+
import { s as t } from "../../Dialog.module-BlXtafuW.js";
|
|
3
3
|
const i = ({ children: s }) => /* @__PURE__ */ o("div", { className: t.dialog__actions, children: s });
|
|
4
4
|
export {
|
|
5
5
|
i as default
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { forwardRef as s } from "react";
|
|
3
3
|
import { c as t } from "../../clsx-DB4S2d7J.js";
|
|
4
|
-
import { s as m } from "../../Dialog.module-
|
|
4
|
+
import { s as m } from "../../Dialog.module-BlXtafuW.js";
|
|
5
5
|
const l = s(
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
7
7
|
({ ownerState: e, ...r }, o) => /* @__PURE__ */ a("div", { ...r, className: t(m.dialog__backdrop, r.className), ref: o })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as i } from "../Icon/Icon.js";
|
|
3
|
-
import { s as r } from "../../Dialog.module-
|
|
3
|
+
import { s as r } from "../../Dialog.module-BlXtafuW.js";
|
|
4
4
|
import { B as s } from "../../Button-BAljjMv3.js";
|
|
5
5
|
const n = ({ handleOnClose: t }) => /* @__PURE__ */ o(
|
|
6
6
|
s,
|
|
@@ -4,7 +4,7 @@ import ie from "./Actions.js";
|
|
|
4
4
|
import ae from "./Backdrop.js";
|
|
5
5
|
import le from "./CloseIconButton.js";
|
|
6
6
|
import ce from "./Content.js";
|
|
7
|
-
import { s as z } from "../../Dialog.module-
|
|
7
|
+
import { s as z } from "../../Dialog.module-BlXtafuW.js";
|
|
8
8
|
import ee from "./DialogTitle.js";
|
|
9
9
|
import { u as te, P as i, f as de, b as C, g as ue, a as fe, _ as pe, c as G, d as be, e as he } from "../../useSlotProps-C_I1kEHr.js";
|
|
10
10
|
import * as f from "react";
|
|
@@ -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>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as l, Fragment as s, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { Icon as d } from "../Icon/Icon.js";
|
|
3
3
|
import { Typography as i } from "../Typography/Typography.js";
|
|
4
|
-
import { s as r } from "../../Dialog.module-
|
|
4
|
+
import { s as r } from "../../Dialog.module-BlXtafuW.js";
|
|
5
5
|
const g = ({ title: o, subTitle: t, icon: a }) => /* @__PURE__ */ l(s, { children: [
|
|
6
6
|
/* @__PURE__ */ l(
|
|
7
7
|
i,
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import '../../assets/EllipsisTooltip.css';
|
|
2
1
|
import { jsx as s, jsxs as d, Fragment as f } from "react/jsx-runtime";
|
|
3
2
|
import { useState as g } from "react";
|
|
4
3
|
import { c as v } from "../../clsx-DB4S2d7J.js";
|
|
5
4
|
import { Tooltip as x } from "../Tooltip/Tooltip.js";
|
|
6
|
-
const H = {
|
|
5
|
+
import '../../assets/EllipsisTooltip.css';const H = {
|
|
7
6
|
"ellipsis-tooltip": "_ellipsis-tooltip_1ov97_1"
|
|
8
7
|
}, W = ({
|
|
9
8
|
lineClamp: e = 1,
|
|
@@ -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;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import '../../assets/IconButton.css';
|
|
2
1
|
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
3
2
|
import { forwardRef as d, useMemo as l } from "react";
|
|
4
3
|
import { c as j } from "../../clsx-DB4S2d7J.js";
|
|
5
4
|
import { LoadingSpinner as m } from "../LoadingSpinner/LoadingSpinner.js";
|
|
6
5
|
import { B as x } from "../../Button-BAljjMv3.js";
|
|
7
|
-
const o = {
|
|
6
|
+
import '../../assets/IconButton.css';const o = {
|
|
8
7
|
"u-typography-h1": "_u-typography-h1_gt5j9_1",
|
|
9
8
|
"u-typography-h2": "_u-typography-h2_gt5j9_8",
|
|
10
9
|
"u-typography-h3": "_u-typography-h3_gt5j9_15",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import '../../assets/Input.css';
|
|
2
1
|
import { jsxs as K, jsx as A } from "react/jsx-runtime";
|
|
3
2
|
import * as N from "react";
|
|
4
3
|
import { forwardRef as de, useState as ce, useId as _e, useMemo as ye } from "react";
|
|
@@ -6,7 +5,7 @@ import { c as k } from "../../clsx-DB4S2d7J.js";
|
|
|
6
5
|
import { Icon as me } from "../Icon/Icon.js";
|
|
7
6
|
import { Typography as Q } from "../Typography/Typography.js";
|
|
8
7
|
import { g as fe, a as he, u as ge, f as X, b as h, _ as be, c as oe, i as xe, P as e, d as Ce, e as we } from "../../useSlotProps-C_I1kEHr.js";
|
|
9
|
-
function Ne(s) {
|
|
8
|
+
import '../../assets/Input.css';function Ne(s) {
|
|
10
9
|
let l = "https://mui.com/production-error/?code=" + s;
|
|
11
10
|
for (let c = 1; c < arguments.length; c += 1)
|
|
12
11
|
l += "&args[]=" + encodeURIComponent(arguments[c]);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import '../../assets/InputSearch.css';
|
|
2
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
3
2
|
import { forwardRef as p } from "react";
|
|
4
3
|
import { c as u } from "../../clsx-DB4S2d7J.js";
|
|
5
4
|
import { Icon as f } from "../Icon/Icon.js";
|
|
6
5
|
import { Input as l } from "../Input/Input.js";
|
|
7
|
-
const h = "_inputSearch_114e1_1", g = {
|
|
6
|
+
import '../../assets/InputSearch.css';const h = "_inputSearch_114e1_1", g = {
|
|
8
7
|
inputSearch: h
|
|
9
8
|
};
|
|
10
9
|
let r;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import '../../assets/LoadingSpinner.css';
|
|
2
1
|
import { jsxs as e, jsx as s } from "react/jsx-runtime";
|
|
3
2
|
import { useMemo as o } from "react";
|
|
4
3
|
import { c as t } from "../../clsx-DB4S2d7J.js";
|
|
5
|
-
const n = {
|
|
4
|
+
import '../../assets/LoadingSpinner.css';const n = {
|
|
6
5
|
"ls-ring": "_ls-ring_elvjz_1",
|
|
7
6
|
"ls-ring--invert": "_ls-ring--invert_elvjz_34"
|
|
8
7
|
}, a = ({ invert: i = !1, classNames: r }) => {
|
|
@@ -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)[];
|