@pismo/marola 2.1.73 → 2.1.74
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/{RadioOption-DyRY8xlF.js → RadioOption-CbeBwSaN.js} +1 -1
- package/dist/{Toggle-nnDfpqI1.js → Toggle-C4jN6Ewk.js} +51 -49
- package/dist/components/Chip/Chip.js +1 -1
- package/dist/components/DoubleAutocomplete/DoubleAutocomplete.js +1 -1
- package/dist/components/Draggable/useDraggable.js +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/components/IconButton/IconButton.d.ts +2 -0
- package/dist/components/IconButton/IconButton.js +19 -17
- package/dist/components/RadioButton/RadioButton.js +4 -4
- package/dist/components/RadioButton/RadioOption.js +2 -2
- package/dist/components/ResultWithChips/ResultWithChips.js +1 -1
- package/dist/components/RowItem/RowItem.js +1 -1
- package/dist/components/ToastCard/ToastCard.js +15 -7
- package/dist/components/ToggleGroup/Toggle.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/contexts/DraggableProvider/DraggableProvider.js +1 -1
- package/dist/main.js +2 -2
- package/dist/react-BTbo_5A3.js +526 -0
- package/package.json +3 -2
- package/dist/react-Dj06mE6D.js +0 -526
|
@@ -10,7 +10,7 @@ import { createElement as fe } from "react";
|
|
|
10
10
|
import "./components/Input/Input.js";
|
|
11
11
|
import "./components/Avatar/Avatar.js";
|
|
12
12
|
import "./components/Button/Button.js";
|
|
13
|
-
import "./Toggle-
|
|
13
|
+
import "./Toggle-C4jN6Ewk.js";
|
|
14
14
|
import "./components/Dialog/Dialog.js";
|
|
15
15
|
import "./components/DatePicker/DatePicker.js";
|
|
16
16
|
import { r as H } from "./index-ew-96uBP.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as i, jsxs as k } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as
|
|
2
|
+
import { forwardRef as g, useId as C } from "react";
|
|
3
3
|
import { c as d } from "./clsx-OuTLNxxd.js";
|
|
4
4
|
import "./utils/iconsList.js";
|
|
5
|
-
import { Typography as
|
|
5
|
+
import { Typography as N } from "./components/Typography/Typography.js";
|
|
6
6
|
import "./components/Input/Input.js";
|
|
7
7
|
import "./components/Avatar/Avatar.js";
|
|
8
8
|
import "./components/Button/Button.js";
|
|
9
9
|
import { Adornment as v } from "./components/Adornment/Adornment.js";
|
|
10
|
-
import { Icon as
|
|
11
|
-
import { Skeleton as
|
|
10
|
+
import { Icon as f } from "./components/Icon/Icon.js";
|
|
11
|
+
import { Skeleton as x } from "./components/Skeleton/Skeleton.js";
|
|
12
12
|
import "./components/Dialog/Dialog.js";
|
|
13
13
|
import "./components/DatePicker/DatePicker.js";
|
|
14
14
|
import "./index-ew-96uBP.js";
|
|
@@ -19,10 +19,10 @@ import "./components/Select/Select.js";
|
|
|
19
19
|
import "./components/Popover/Popover.js";
|
|
20
20
|
import "./components/Table/Table.js";
|
|
21
21
|
import "./components/Tabs/Tabs.js";
|
|
22
|
-
import { s as
|
|
22
|
+
import { s as u } from "./Group-DJz1rK2n.js";
|
|
23
23
|
import "./contexts/SnackbarProvider/SnackbarProvider.js";
|
|
24
|
-
import { B as
|
|
25
|
-
import './assets/Toggle2.css';const
|
|
24
|
+
import { B as I } from "./Button-CJaBSdv1.js";
|
|
25
|
+
import './assets/Toggle2.css';const P = "_chip_1wvod_61", z = "_chip__adornment_1wvod_116", S = "_chip__remove_1wvod_121", n = {
|
|
26
26
|
"u-typography-h1": "_u-typography-h1_1wvod_1",
|
|
27
27
|
"u-typography-h2": "_u-typography-h2_1wvod_8",
|
|
28
28
|
"u-typography-h3": "_u-typography-h3_1wvod_15",
|
|
@@ -34,7 +34,7 @@ import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_
|
|
|
34
34
|
"u-typography-base--xl": "_u-typography-base--xl_1wvod_53",
|
|
35
35
|
"u-typography-base--lg": "_u-typography-base--lg_1wvod_57",
|
|
36
36
|
"u-typography-base--sm": "_u-typography-base--sm_1wvod_61",
|
|
37
|
-
chip:
|
|
37
|
+
chip: P,
|
|
38
38
|
"u-typography-base--bold": "_u-typography-base--bold_1wvod_65",
|
|
39
39
|
"u-typography-base--strikethrough": "_u-typography-base--strikethrough_1wvod_68",
|
|
40
40
|
"u-typography-base--underlined": "_u-typography-base--underlined_1wvod_71",
|
|
@@ -42,12 +42,12 @@ import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_
|
|
|
42
42
|
"chip--button": "_chip--button_1wvod_90",
|
|
43
43
|
"chip--outlined": "_chip--outlined_1wvod_104",
|
|
44
44
|
"chip--contained": "_chip--contained_1wvod_110",
|
|
45
|
-
chip__adornment:
|
|
46
|
-
chip__remove:
|
|
45
|
+
chip__adornment: z,
|
|
46
|
+
chip__remove: S,
|
|
47
47
|
"chip__remove--disabled": "_chip__remove--disabled_1wvod_133",
|
|
48
48
|
"chip-loading": "_chip-loading_1wvod_137"
|
|
49
|
-
},
|
|
50
|
-
const { children:
|
|
49
|
+
}, R = g((t, l) => {
|
|
50
|
+
const { children: p, onClickContent: a, disabled: r, className: o, variant: s } = t;
|
|
51
51
|
let e = d(
|
|
52
52
|
n.chip,
|
|
53
53
|
{ [n["chip--outlined"]]: s === "outlined" },
|
|
@@ -55,30 +55,30 @@ import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_
|
|
|
55
55
|
o
|
|
56
56
|
);
|
|
57
57
|
return a ? (e += ` ${n["chip--button"]}`, /* @__PURE__ */ i(
|
|
58
|
-
|
|
58
|
+
I,
|
|
59
59
|
{
|
|
60
60
|
onClick: a,
|
|
61
61
|
disabled: r,
|
|
62
62
|
"data-testid": t["data-testid"],
|
|
63
|
-
ref:
|
|
63
|
+
ref: l,
|
|
64
64
|
className: e,
|
|
65
|
-
children:
|
|
65
|
+
children: p
|
|
66
66
|
}
|
|
67
|
-
)) : /* @__PURE__ */ i("span", { "data-testid": t["data-testid"], ref:
|
|
68
|
-
}),
|
|
67
|
+
)) : /* @__PURE__ */ i("span", { "data-testid": t["data-testid"], ref: l, className: e, children: p });
|
|
68
|
+
}), ao = g((t, l) => {
|
|
69
69
|
const {
|
|
70
|
-
label:
|
|
70
|
+
label: p,
|
|
71
71
|
className: a,
|
|
72
72
|
onClickContent: r,
|
|
73
73
|
leftAdornment: o,
|
|
74
74
|
loading: s = !1,
|
|
75
75
|
disabled: e = !1,
|
|
76
|
-
variant:
|
|
77
|
-
onClickRemove:
|
|
76
|
+
variant: h = "default",
|
|
77
|
+
onClickRemove: y
|
|
78
78
|
} = t;
|
|
79
79
|
if (s)
|
|
80
80
|
return /* @__PURE__ */ i(
|
|
81
|
-
|
|
81
|
+
x,
|
|
82
82
|
{
|
|
83
83
|
className: d(n["chip-loading"], t["className-skeleton"]),
|
|
84
84
|
"data-testid": t["data-testid-skeleton"]
|
|
@@ -86,18 +86,18 @@ import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_
|
|
|
86
86
|
);
|
|
87
87
|
const b = d(o == null ? void 0 : o.className, n.chip__adornment), w = o != null && o.customIcon ? { ...o, className: b } : { ...o, disabled: e, className: b };
|
|
88
88
|
return /* @__PURE__ */ k(
|
|
89
|
-
|
|
89
|
+
R,
|
|
90
90
|
{
|
|
91
|
-
ref:
|
|
91
|
+
ref: l,
|
|
92
92
|
"data-testid": t["data-testid"],
|
|
93
93
|
onClickContent: r,
|
|
94
94
|
disabled: e,
|
|
95
95
|
className: a,
|
|
96
|
-
variant:
|
|
96
|
+
variant: h,
|
|
97
97
|
children: [
|
|
98
98
|
o && /* @__PURE__ */ i(v, { ...w }),
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
p,
|
|
100
|
+
y && /* @__PURE__ */ i(
|
|
101
101
|
"span",
|
|
102
102
|
{
|
|
103
103
|
className: d(n.chip__remove, { [n["chip__remove--disabled"]]: e }),
|
|
@@ -105,22 +105,22 @@ import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_
|
|
|
105
105
|
tabIndex: e ? -1 : 0,
|
|
106
106
|
"aria-label": "remove",
|
|
107
107
|
onClick: (_) => {
|
|
108
|
-
_ == null || _.stopPropagation(), _ == null || _.nativeEvent.stopImmediatePropagation(),
|
|
108
|
+
_ == null || _.stopPropagation(), _ == null || _.nativeEvent.stopImmediatePropagation(), y();
|
|
109
109
|
},
|
|
110
110
|
"aria-disabled": e,
|
|
111
|
-
children: /* @__PURE__ */ i(
|
|
111
|
+
children: /* @__PURE__ */ i(f, { icon: "circle-xmark", size: "1.125rem", color: "rgba(var(--gray-95-rgb), 0.45)" })
|
|
112
112
|
}
|
|
113
113
|
)
|
|
114
114
|
]
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
|
-
}),
|
|
117
|
+
}), m = {
|
|
118
118
|
"row-item": "_row-item_11zdk_1",
|
|
119
119
|
"row-item--clickable": "_row-item--clickable_11zdk_12",
|
|
120
120
|
"row-item--disabled": "_row-item--disabled_11zdk_18",
|
|
121
121
|
"row-item__content": "_row-item__content_11zdk_24"
|
|
122
|
-
},
|
|
123
|
-
const { children:
|
|
122
|
+
}, to = g((t, l) => {
|
|
123
|
+
const { children: p, leftAdornment: a, disabled: r, onClick: o, buttons: s, ariaLabel: e, className: h } = t, y = d(a == null ? void 0 : a.className, m["row-item__adornment"]), w = {
|
|
124
124
|
onClick: (c) => {
|
|
125
125
|
r || o && o(c);
|
|
126
126
|
},
|
|
@@ -133,16 +133,16 @@ import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_
|
|
|
133
133
|
{
|
|
134
134
|
"data-testid": t["data-testid"],
|
|
135
135
|
className: d(
|
|
136
|
-
|
|
137
|
-
o &&
|
|
138
|
-
o && r &&
|
|
139
|
-
|
|
136
|
+
m["row-item"],
|
|
137
|
+
o && m["row-item--clickable"],
|
|
138
|
+
o && r && m["row-item--disabled"],
|
|
139
|
+
h
|
|
140
140
|
),
|
|
141
141
|
...!!o && w,
|
|
142
|
-
ref:
|
|
142
|
+
ref: l,
|
|
143
143
|
children: [
|
|
144
|
-
a && /* @__PURE__ */ i(v, { ..._, className:
|
|
145
|
-
/* @__PURE__ */ i("span", { className: d(
|
|
144
|
+
a && /* @__PURE__ */ i(v, { ..._, className: y, disabled: r }),
|
|
145
|
+
/* @__PURE__ */ i("span", { className: d(m["row-item__content"]), children: p }),
|
|
146
146
|
s && /* @__PURE__ */ i(
|
|
147
147
|
"div",
|
|
148
148
|
{
|
|
@@ -155,39 +155,41 @@ import './assets/Toggle2.css';const I = "_chip_1wvod_61", P = "_chip__adornment_
|
|
|
155
155
|
]
|
|
156
156
|
}
|
|
157
157
|
);
|
|
158
|
-
}),
|
|
159
|
-
const { text:
|
|
158
|
+
}), eo = g((t, l) => {
|
|
159
|
+
const { text: p, isSelected: a = !1, value: r, onChange: o, disabled: s, type: e } = t, h = C();
|
|
160
160
|
return /* @__PURE__ */ k(
|
|
161
161
|
"label",
|
|
162
162
|
{
|
|
163
163
|
className: d(
|
|
164
|
-
[
|
|
165
|
-
a &&
|
|
166
|
-
s &&
|
|
164
|
+
[u.toggle__label],
|
|
165
|
+
a && u["toggle__label--selected"],
|
|
166
|
+
s && u["toggle__label--disabled"]
|
|
167
167
|
),
|
|
168
168
|
"data-testid": t["data-testid"],
|
|
169
|
+
id: h,
|
|
169
170
|
children: [
|
|
170
171
|
/* @__PURE__ */ i(
|
|
171
172
|
"input",
|
|
172
173
|
{
|
|
173
|
-
className: d([
|
|
174
|
+
className: d([u.toggle__input]),
|
|
174
175
|
type: e ?? "radio",
|
|
175
|
-
ref:
|
|
176
|
+
ref: l,
|
|
176
177
|
value: r.toString(),
|
|
177
178
|
onChange: () => o(r),
|
|
178
179
|
role: e ?? "radio",
|
|
179
180
|
checked: a,
|
|
180
181
|
"aria-checked": a,
|
|
182
|
+
"aria-labelledby": h,
|
|
181
183
|
disabled: s
|
|
182
184
|
}
|
|
183
185
|
),
|
|
184
|
-
/* @__PURE__ */ i(
|
|
186
|
+
/* @__PURE__ */ i(N, { bold: !0, children: p })
|
|
185
187
|
]
|
|
186
188
|
}
|
|
187
189
|
);
|
|
188
190
|
});
|
|
189
191
|
export {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
192
|
+
ao as C,
|
|
193
|
+
to as R,
|
|
194
|
+
eo as T
|
|
193
195
|
};
|
|
@@ -8,7 +8,7 @@ import "../Input/Input.js";
|
|
|
8
8
|
import "../Avatar/Avatar.js";
|
|
9
9
|
import "../Skeleton/Skeleton.js";
|
|
10
10
|
import "../Button/Button.js";
|
|
11
|
-
import { C as z } from "../../Toggle-
|
|
11
|
+
import { C as z } from "../../Toggle-C4jN6Ewk.js";
|
|
12
12
|
import "../Dialog/Dialog.js";
|
|
13
13
|
import "../DatePicker/DatePicker.js";
|
|
14
14
|
import "../../index-ew-96uBP.js";
|
|
@@ -6,7 +6,7 @@ import { Autocomplete as i } from "../Autocomplete/Autocomplete.js";
|
|
|
6
6
|
import "../Avatar/Avatar.js";
|
|
7
7
|
import "react";
|
|
8
8
|
import "../Button/Button.js";
|
|
9
|
-
import "../../Toggle-
|
|
9
|
+
import "../../Toggle-C4jN6Ewk.js";
|
|
10
10
|
import "../Dialog/Dialog.js";
|
|
11
11
|
import "../DatePicker/DatePicker.js";
|
|
12
12
|
import "../Input/Input.js";
|
|
@@ -6,7 +6,7 @@ import { Typography as p } from "../Typography/Typography.js";
|
|
|
6
6
|
import "../Input/Input.js";
|
|
7
7
|
import "../Avatar/Avatar.js";
|
|
8
8
|
import { Button as k } from "../Button/Button.js";
|
|
9
|
-
import "../../Toggle-
|
|
9
|
+
import "../../Toggle-C4jN6Ewk.js";
|
|
10
10
|
import "../Dialog/Dialog.js";
|
|
11
11
|
import "../DatePicker/DatePicker.js";
|
|
12
12
|
import "../../index-ew-96uBP.js";
|
|
@@ -16,6 +16,8 @@ type IconButtonCoreProps = {
|
|
|
16
16
|
variant?: variant;
|
|
17
17
|
/** Id to be applied as `data-testid` on the container element */
|
|
18
18
|
'data-testid'?: string;
|
|
19
|
+
/** An accessible name for the element */
|
|
20
|
+
'aria-label'?: string;
|
|
19
21
|
};
|
|
20
22
|
interface IconButtonPropsWithLink extends IconButtonCoreProps {
|
|
21
23
|
/** Link to access when Icon Button is clicked */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as d, useMemo as
|
|
3
|
-
import { c as
|
|
4
|
-
import { LoadingSpinner as
|
|
5
|
-
import { B as
|
|
6
|
-
import '../../assets/IconButton.css';const
|
|
2
|
+
import { forwardRef as d, useMemo as j } from "react";
|
|
3
|
+
import { c as m } from "../../clsx-OuTLNxxd.js";
|
|
4
|
+
import { LoadingSpinner as x } from "../LoadingSpinner/LoadingSpinner.js";
|
|
5
|
+
import { B as f } from "../../Button-CJaBSdv1.js";
|
|
6
|
+
import '../../assets/IconButton.css';const a = {
|
|
7
7
|
"u-typography-h1": "_u-typography-h1_gt5j9_1",
|
|
8
8
|
"u-typography-h2": "_u-typography-h2_gt5j9_8",
|
|
9
9
|
"u-typography-h3": "_u-typography-h3_gt5j9_15",
|
|
@@ -23,7 +23,7 @@ import '../../assets/IconButton.css';const o = {
|
|
|
23
23
|
"icon-button--primary": "_icon-button--primary_gt5j9_87",
|
|
24
24
|
"icon-button--square": "_icon-button--square_gt5j9_109",
|
|
25
25
|
"icon-button__container": "_icon-button__container_gt5j9_125"
|
|
26
|
-
},
|
|
26
|
+
}, I = d((p, y) => {
|
|
27
27
|
const {
|
|
28
28
|
onClick: _,
|
|
29
29
|
icon: e,
|
|
@@ -32,31 +32,33 @@ import '../../assets/IconButton.css';const o = {
|
|
|
32
32
|
children: n,
|
|
33
33
|
type: h = "button",
|
|
34
34
|
disabled: s,
|
|
35
|
-
className:
|
|
35
|
+
className: o,
|
|
36
36
|
variant: t = "primary",
|
|
37
|
-
"data-testid": i
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
[a, t]
|
|
37
|
+
"data-testid": i,
|
|
38
|
+
"aria-label": b
|
|
39
|
+
} = p, l = j(
|
|
40
|
+
() => m([a["icon-button"], a[`icon-button--${t}`], o]),
|
|
41
|
+
[o, t]
|
|
41
42
|
);
|
|
42
43
|
return /* @__PURE__ */ r(
|
|
43
|
-
|
|
44
|
+
f,
|
|
44
45
|
{
|
|
45
46
|
type: h,
|
|
46
47
|
href: u,
|
|
47
48
|
onClick: _,
|
|
48
49
|
disabled: s,
|
|
49
|
-
className:
|
|
50
|
+
className: l,
|
|
50
51
|
ref: y,
|
|
51
52
|
"data-testid": i,
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
"aria-label": b,
|
|
54
|
+
children: /* @__PURE__ */ c("div", { className: a["icon-button__container"], children: [
|
|
55
|
+
g ? /* @__PURE__ */ r(x, { invert: !0 }) : e,
|
|
54
56
|
t !== "square" && n
|
|
55
57
|
] })
|
|
56
58
|
}
|
|
57
59
|
);
|
|
58
60
|
});
|
|
59
61
|
export {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
+
I as IconButton,
|
|
63
|
+
I as default
|
|
62
64
|
};
|
|
@@ -7,7 +7,7 @@ import { Typography as ze } from "../Typography/Typography.js";
|
|
|
7
7
|
import "../Input/Input.js";
|
|
8
8
|
import "../Avatar/Avatar.js";
|
|
9
9
|
import "../Button/Button.js";
|
|
10
|
-
import "../../Toggle-
|
|
10
|
+
import "../../Toggle-C4jN6Ewk.js";
|
|
11
11
|
import "../Dialog/Dialog.js";
|
|
12
12
|
import "../DatePicker/DatePicker.js";
|
|
13
13
|
import { r as Be } from "../../index-ew-96uBP.js";
|
|
@@ -21,8 +21,8 @@ import "../Tabs/Tabs.js";
|
|
|
21
21
|
import "../../Group-DJz1rK2n.js";
|
|
22
22
|
import "../../contexts/SnackbarProvider/SnackbarProvider.js";
|
|
23
23
|
import "../../utils/iconsList.js";
|
|
24
|
-
import { u as L, a as he, b as F, C as Ue, f as we, N as Oe, c as Ne, d as be, A as Ye, E as pe, e as Ge, g as $e, h as ve, i as je, j as Je, m as Xe, k as qe, l as Ze, v as Qe, s as j } from "../../RadioOption-
|
|
25
|
-
import { R as ln } from "../../RadioOption-
|
|
24
|
+
import { u as L, a as he, b as F, C as Ue, f as we, N as Oe, c as Ne, d as be, A as Ye, E as pe, e as Ge, g as $e, h as ve, i as je, j as Je, m as Xe, k as qe, l as Ze, v as Qe, s as j } from "../../RadioOption-CbeBwSaN.js";
|
|
25
|
+
import { R as ln } from "../../RadioOption-CbeBwSaN.js";
|
|
26
26
|
import { i as et, a as me, b as Ce } from "../../Popup-D267EI4e.js";
|
|
27
27
|
function tt({
|
|
28
28
|
controlled: e,
|
|
@@ -820,7 +820,7 @@ const on = ({
|
|
|
820
820
|
De,
|
|
821
821
|
{
|
|
822
822
|
"data-testid": u,
|
|
823
|
-
onValueChange: (b, S) => m(b, S
|
|
823
|
+
onValueChange: (b, S) => m(b, S),
|
|
824
824
|
name: t,
|
|
825
825
|
defaultValue: l,
|
|
826
826
|
className: e,
|
|
@@ -6,7 +6,7 @@ import "react";
|
|
|
6
6
|
import "../Input/Input.js";
|
|
7
7
|
import "../Avatar/Avatar.js";
|
|
8
8
|
import "../Button/Button.js";
|
|
9
|
-
import "../../Toggle-
|
|
9
|
+
import "../../Toggle-C4jN6Ewk.js";
|
|
10
10
|
import "../Dialog/Dialog.js";
|
|
11
11
|
import "../DatePicker/DatePicker.js";
|
|
12
12
|
import "../../index-ew-96uBP.js";
|
|
@@ -15,7 +15,7 @@ import "../IconButton/IconButton.js";
|
|
|
15
15
|
import "../InputSearch/InputSearch.js";
|
|
16
16
|
import "../Select/Select.js";
|
|
17
17
|
import "../Popover/Popover.js";
|
|
18
|
-
import { R as u } from "../../RadioOption-
|
|
18
|
+
import { R as u } from "../../RadioOption-CbeBwSaN.js";
|
|
19
19
|
import "../Table/Table.js";
|
|
20
20
|
import "../Tabs/Tabs.js";
|
|
21
21
|
import "../../Group-DJz1rK2n.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r } from "react/jsx-runtime";
|
|
2
2
|
import { c as s } from "../../clsx-OuTLNxxd.js";
|
|
3
|
-
import { C as i } from "../../Toggle-
|
|
3
|
+
import { C as i } from "../../Toggle-C4jN6Ewk.js";
|
|
4
4
|
import { ResultContainer as o } from "../ResultContainer/ResultContainer.js";
|
|
5
5
|
import '../../assets/ResultWithChips.css';const h = "_container_hgp0p_1", n = {
|
|
6
6
|
container: h,
|
|
@@ -7,7 +7,7 @@ import "../Typography/Typography.js";
|
|
|
7
7
|
import "../Input/Input.js";
|
|
8
8
|
import "../Avatar/Avatar.js";
|
|
9
9
|
import "../Button/Button.js";
|
|
10
|
-
import { R as n, R as q } from "../../Toggle-
|
|
10
|
+
import { R as n, R as q } from "../../Toggle-C4jN6Ewk.js";
|
|
11
11
|
import "../Dialog/Dialog.js";
|
|
12
12
|
import "../DatePicker/DatePicker.js";
|
|
13
13
|
import "../../index-ew-96uBP.js";
|
|
@@ -14,7 +14,7 @@ import '../../assets/ToastCard.css';const h = "_divider_19nbp_6", t = {
|
|
|
14
14
|
"toast-card-title--info": "_toast-card-title--info_19nbp_52",
|
|
15
15
|
"toast-card-title--default": "_toast-card-title--default_19nbp_55"
|
|
16
16
|
}, C = ({
|
|
17
|
-
variant:
|
|
17
|
+
variant: e = "default",
|
|
18
18
|
className: r,
|
|
19
19
|
"data-testid": c,
|
|
20
20
|
title: o,
|
|
@@ -23,24 +23,32 @@ import '../../assets/ToastCard.css';const h = "_divider_19nbp_6", t = {
|
|
|
23
23
|
children: _,
|
|
24
24
|
"data-testid-children-wrapper": p,
|
|
25
25
|
classNameChildrenWrapper: m,
|
|
26
|
-
footer:
|
|
26
|
+
footer: i,
|
|
27
27
|
"data-testid-footer-wrapper": b,
|
|
28
28
|
classNameFooterWrapper: g,
|
|
29
29
|
onClose: v
|
|
30
|
-
}) => /* @__PURE__ */ s("div", { className: d(t["toast-card"], t[`toast-card--${
|
|
30
|
+
}) => /* @__PURE__ */ s("div", { className: d(t["toast-card"], t[`toast-card--${e}`], r), "data-testid": c, children: [
|
|
31
31
|
/* @__PURE__ */ s(
|
|
32
32
|
"div",
|
|
33
33
|
{
|
|
34
34
|
className: d(
|
|
35
35
|
t["toast-card-padding"],
|
|
36
36
|
t["toast-card-title"],
|
|
37
|
-
t[`toast-card-title--${
|
|
37
|
+
t[`toast-card-title--${e}`],
|
|
38
38
|
l
|
|
39
39
|
),
|
|
40
40
|
"data-testid": n,
|
|
41
41
|
children: [
|
|
42
42
|
o,
|
|
43
|
-
/* @__PURE__ */ a(
|
|
43
|
+
/* @__PURE__ */ a(
|
|
44
|
+
N,
|
|
45
|
+
{
|
|
46
|
+
"aria-label": "close",
|
|
47
|
+
className: t["close-btn"],
|
|
48
|
+
icon: /* @__PURE__ */ a(u, { icon: "xmark", size: "1rem" }),
|
|
49
|
+
onClick: v
|
|
50
|
+
}
|
|
51
|
+
)
|
|
44
52
|
]
|
|
45
53
|
}
|
|
46
54
|
),
|
|
@@ -53,14 +61,14 @@ import '../../assets/ToastCard.css';const h = "_divider_19nbp_6", t = {
|
|
|
53
61
|
children: _
|
|
54
62
|
}
|
|
55
63
|
),
|
|
56
|
-
|
|
64
|
+
i && /* @__PURE__ */ s(f, { children: [
|
|
57
65
|
/* @__PURE__ */ a("div", { className: t.divider }),
|
|
58
66
|
/* @__PURE__ */ a(
|
|
59
67
|
"div",
|
|
60
68
|
{
|
|
61
69
|
className: d(t["toast-card-padding"], g),
|
|
62
70
|
"data-testid": b,
|
|
63
|
-
children:
|
|
71
|
+
children: i
|
|
64
72
|
}
|
|
65
73
|
)
|
|
66
74
|
] })
|
|
@@ -6,7 +6,7 @@ import "../Typography/Typography.js";
|
|
|
6
6
|
import "../Input/Input.js";
|
|
7
7
|
import "../Avatar/Avatar.js";
|
|
8
8
|
import "../Button/Button.js";
|
|
9
|
-
import { T as q } from "../../Toggle-
|
|
9
|
+
import { T as q } from "../../Toggle-C4jN6Ewk.js";
|
|
10
10
|
import "../Dialog/Dialog.js";
|
|
11
11
|
import "../DatePicker/DatePicker.js";
|
|
12
12
|
import "../../index-ew-96uBP.js";
|
package/dist/main.js
CHANGED
|
@@ -10,7 +10,7 @@ import { Button as b } from "./components/Button/Button.js";
|
|
|
10
10
|
import { Calendar as C } from "./components/Calendar/Calendar.js";
|
|
11
11
|
import { Card as I } from "./components/Card/Card.js";
|
|
12
12
|
import { Checkbox as D } from "./components/Checkbox/Checkbox.js";
|
|
13
|
-
import { C as h, R, T as A } from "./Toggle-
|
|
13
|
+
import { C as h, R, T as A } from "./Toggle-C4jN6Ewk.js";
|
|
14
14
|
import { ConfirmationDialog as v } from "./components/ConfirmationDialog/ConfirmationDialog.js";
|
|
15
15
|
import { DatePicker as O } from "./components/DatePicker/DatePicker.js";
|
|
16
16
|
import { Description as E } from "./components/Description/Description.js";
|
|
@@ -57,7 +57,7 @@ import { bemify as Pr, getBEMBase as vr, getBEMBlock as wr } from "./utils/style
|
|
|
57
57
|
import { default as Mr } from "./components/Dialog/DialogTitle.js";
|
|
58
58
|
import { default as Gr } from "./components/Dialog/Content.js";
|
|
59
59
|
import { default as Hr } from "./components/Dialog/Actions.js";
|
|
60
|
-
import { R as Lr } from "./RadioOption-
|
|
60
|
+
import { R as Lr } from "./RadioOption-CbeBwSaN.js";
|
|
61
61
|
import { Tab as Vr } from "./components/Tabs/Tab.js";
|
|
62
62
|
import { TabPanel as jr } from "./components/Tabs/TabPanel.js";
|
|
63
63
|
export {
|