@pismo/marola 2.1.72 → 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/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/main.js +2 -2
- package/dist/utils/iconsList.js +19 -13
- package/package.json +3 -2
|
@@ -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 {
|
package/dist/utils/iconsList.js
CHANGED
|
@@ -260,12 +260,12 @@ const a = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.
|
|
|
260
260
|
color: "currentcolor",
|
|
261
261
|
width: "1em",
|
|
262
262
|
height: "1em"
|
|
263
|
-
}, ...t }, /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("style", null, ".fa-secondary{opacity:.4}")), /* @__PURE__ */ e.createElement("path", { className: "fa-primary", d: "M512 352H128V96h384V352z" }), /* @__PURE__ */ e.createElement("path", { className: "fa-secondary", d: "M624 383.1h-608c-8.75 0-16 7.25-16 16v16c0 35.25 28.75 64 64 64h512c35.25 0 64-28.75 64-64v-16C640 391.2 632.8 383.1 624 383.1zM128 96h384v256h64v-272c0-26.38-21.62-48-48-48h-416c-26.38 0-48 21.62-48 48V352h64V96z" })),
|
|
263
|
+
}, ...t }, /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("style", null, ".fa-secondary{opacity:.4}")), /* @__PURE__ */ e.createElement("path", { className: "fa-primary", d: "M512 352H128V96h384V352z" }), /* @__PURE__ */ e.createElement("path", { className: "fa-secondary", d: "M624 383.1h-608c-8.75 0-16 7.25-16 16v16c0 35.25 28.75 64 64 64h512c35.25 0 64-28.75 64-64v-16C640 391.2 632.8 383.1 624 383.1zM128 96h384v256h64v-272c0-26.38-21.62-48-48-48h-416c-26.38 0-48 21.62-48 48V352h64V96z" })), l2 = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", "data-waves-icon": "fa/duotone/list", fill: "currentColor", color: "currentColor", width: "1em", height: "1em", style: {
|
|
264
264
|
fill: "currentcolor",
|
|
265
265
|
color: "currentcolor",
|
|
266
266
|
width: "1em",
|
|
267
267
|
height: "1em"
|
|
268
|
-
}, ...t }, /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("style", null, ".fa-secondary{opacity:.4}")), /* @__PURE__ */ e.createElement("path", { className: "fa-primary", d: "M16 72C16 58.75 26.75 48 40 48H88C101.3 48 112 58.75 112 72V120C112 133.3 101.3 144 88 144H40C26.75 144 16 133.3 16 120V72zM16 232C16 218.7 26.75 208 40 208H88C101.3 208 112 218.7 112 232V280C112 293.3 101.3 304 88 304H40C26.75 304 16 293.3 16 280V232zM88 368C101.3 368 112 378.7 112 392V440C112 453.3 101.3 464 88 464H40C26.75 464 16 453.3 16 440V392C16 378.7 26.75 368 40 368H88z" }), /* @__PURE__ */ e.createElement("path", { className: "fa-secondary", d: "M160 96C160 78.33 174.3 64 192 64H480C497.7 64 512 78.33 512 96C512 113.7 497.7 128 480 128H192C174.3 128 160 113.7 160 96zM160 256C160 238.3 174.3 224 192 224H480C497.7 224 512 238.3 512 256C512 273.7 497.7 288 480 288H192C174.3 288 160 273.7 160 256zM480 384C497.7 384 512 398.3 512 416C512 433.7 497.7 448 480 448H192C174.3 448 160 433.7 160 416C160 398.3 174.3 384 192 384H480z" })),
|
|
268
|
+
}, ...t }, /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("style", null, ".fa-secondary{opacity:.4}")), /* @__PURE__ */ e.createElement("path", { className: "fa-primary", d: "M16 72C16 58.75 26.75 48 40 48H88C101.3 48 112 58.75 112 72V120C112 133.3 101.3 144 88 144H40C26.75 144 16 133.3 16 120V72zM16 232C16 218.7 26.75 208 40 208H88C101.3 208 112 218.7 112 232V280C112 293.3 101.3 304 88 304H40C26.75 304 16 293.3 16 280V232zM88 368C101.3 368 112 378.7 112 392V440C112 453.3 101.3 464 88 464H40C26.75 464 16 453.3 16 440V392C16 378.7 26.75 368 40 368H88z" }), /* @__PURE__ */ e.createElement("path", { className: "fa-secondary", d: "M160 96C160 78.33 174.3 64 192 64H480C497.7 64 512 78.33 512 96C512 113.7 497.7 128 480 128H192C174.3 128 160 113.7 160 96zM160 256C160 238.3 174.3 224 192 224H480C497.7 224 512 238.3 512 256C512 273.7 497.7 288 480 288H192C174.3 288 160 273.7 160 256zM480 384C497.7 384 512 398.3 512 416C512 433.7 497.7 448 480 448H192C174.3 448 160 433.7 160 416C160 398.3 174.3 384 192 384H480z" })), c2 = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 576 512", "data-waves-icon": "fa/duotone/loader", fill: "currentColor", color: "currentColor", width: "1em", height: "1em", style: {
|
|
269
269
|
fill: "currentcolor",
|
|
270
270
|
color: "currentcolor",
|
|
271
271
|
width: "1em",
|
|
@@ -325,7 +325,13 @@ const a = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.
|
|
|
325
325
|
color: "currentcolor",
|
|
326
326
|
width: "1em",
|
|
327
327
|
height: "1em"
|
|
328
|
-
}, ...t }, /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("style", null,
|
|
328
|
+
}, ...t }, /* @__PURE__ */ e.createElement("defs", null, /* @__PURE__ */ e.createElement("style", null, `
|
|
329
|
+
.color-1 { fill: currentColor; }
|
|
330
|
+
.color-2 { fill: color-mix(in oklab, currentColor, white 23%); }
|
|
331
|
+
.color-3 { fill: color-mix(in oklab, currentColor, white 66%); }
|
|
332
|
+
.color-4 { fill: color-mix(in oklab, currentColor, white 41%); }
|
|
333
|
+
.color-5 { fill: color-mix(in oklab, currentColor, white 52%); }
|
|
334
|
+
`)), /* @__PURE__ */ e.createElement("path", { className: "color-1", d: "M26.1081 16.0844L22.7102 17.7898L21.4512 18.4216C21.494 17.9554 21.5733 17.5566 21.7078 17.207C22.0073 16.385 22.5695 15.888 23.3824 15.7224C24.1585 15.5567 25.063 15.6795 26.1081 16.0844Z", stroke: "currentColor" }), /* @__PURE__ */ e.createElement("path", { className: "color-3", d: "M39.9867 26.6417L37.7069 26.4822L34.3212 26.249C34.1562 25.5497 33.9361 24.8443 33.6489 24.1327C33.27 23.1512 32.775 22.1574 32.1638 21.1452C31.1126 19.3969 29.6459 17.9798 27.7575 16.8878C27.1708 16.5505 26.6206 16.2806 26.1072 16.0843C25.0622 15.6794 24.1577 15.5567 23.3815 15.7223C22.5687 15.8879 22.0064 16.3849 21.7069 17.2069C21.5725 17.5566 21.4931 17.9552 21.4503 18.4215L15.2715 14.839C15.2837 14.3851 15.3143 13.9495 15.3693 13.5385C15.6199 11.4773 16.3716 9.93751 17.6184 8.91306C17.9667 8.61861 18.3517 8.37329 18.7795 8.16472C21.0347 7.07279 23.9804 7.58195 27.629 9.69833C29.2363 10.6308 30.7337 11.7534 32.1149 13.0723C33.16 14.0722 34.144 15.1887 35.0607 16.4094C35.9958 17.6547 36.833 19.0104 37.5786 20.4765C38.532 22.3536 39.3327 24.4088 39.9867 26.6417Z" }), /* @__PURE__ */ e.createElement("path", { className: "color-4", d: "M65.4664 36.6351L53.2433 42.7695L53.2005 42.745L51.5994 41.8187L46.5635 38.8987L44.3877 37.6412L1.75977 12.9377L13.9828 6.80322L17.6192 8.91348C16.3724 9.93793 15.6207 11.4777 15.3701 13.5389C15.3151 13.9499 15.2845 14.3854 15.2723 14.8394L21.4511 18.4219L22.7101 17.7901L26.108 16.0847C26.6214 16.281 27.1715 16.5509 27.7582 16.8883C29.6467 17.9802 31.1134 19.3973 32.1646 21.1456C32.7758 22.1578 33.2708 23.1515 33.6497 24.1331C33.9369 24.8447 34.157 25.5501 34.322 26.2494L37.7077 26.4826L39.9875 26.642L44.3999 24.4275L65.4664 36.6351Z" }), /* @__PURE__ */ e.createElement("path", { className: "color-2", d: "M65.4662 36.6348V42.5667L53.2799 48.6828L53.2432 48.7012V42.7692L65.4662 36.6348Z" }), /* @__PURE__ */ e.createElement("path", { className: "color-1", d: "M27.2074 33.6166L26.7857 33.8251L19.3907 37.5365L13.7314 37.0703L24.1455 31.8438L26.6084 33.2669L27.2074 33.6166Z" }), /* @__PURE__ */ e.createElement("path", { className: "color-2", d: "M53.2798 48.6832C52.8703 51.002 51.8618 52.5356 50.2667 53.2962H50.2606L38.2393 59.3265C40.2438 58.2652 41.2583 55.8972 41.2705 52.2227V52.143C41.2705 51.3026 41.2216 50.4928 41.1116 49.7137C41.0016 48.9346 40.8427 48.1371 40.6288 47.3213L43.5746 45.8429H43.5807L46.1108 44.5669L46.7587 44.9472L53.2431 48.7015L53.2798 48.6832Z" }), /* @__PURE__ */ e.createElement("path", { className: "color-3", d: "M41.27 52.1427V52.2224C41.2578 55.8969 40.2433 58.2649 38.2387 59.3261C37.9514 59.4795 37.6459 59.6083 37.3158 59.7065C34.6757 60.4978 31.5344 59.8414 27.8858 57.725C24.6284 55.8356 21.7315 53.0444 19.2013 49.3576C16.6712 45.6647 14.8437 41.573 13.7314 37.0703L19.3907 37.5365C19.9958 40.2541 21.0348 42.8122 22.5138 45.1985C23.9928 47.5909 25.8262 49.419 28.0142 50.6827C29.8171 51.7317 31.4488 52.1795 32.9034 52.0384C34.364 51.8912 35.0913 50.7379 35.0913 48.5601C35.0913 48.2534 35.073 47.9405 35.0363 47.6277C34.9691 47.0449 34.8408 46.45 34.6452 45.8549C34.3458 44.9409 33.9363 44.0391 33.4229 43.1434L40.6283 47.3209C40.8422 48.1368 41.0011 48.9344 41.1111 49.7134C41.2211 50.4925 41.27 51.3023 41.27 52.1427Z" }), /* @__PURE__ */ e.createElement("path", { className: "color-2", d: "M35.0362 47.6278C35.0729 47.9407 35.0913 48.2535 35.0913 48.5602C35.0913 50.738 34.364 51.8912 32.9033 52.0385C31.4488 52.1796 29.817 51.7318 28.0141 50.6828C25.8261 49.4191 23.9927 47.591 22.5137 45.1986C21.0347 42.8123 19.9957 40.2542 19.3906 37.5366L26.7856 33.8253L27.2073 33.6167L33.82 37.4446C34.1012 37.9967 34.4067 38.5304 34.7368 39.0641C35.299 39.9781 35.9163 40.8063 36.5886 41.5547L33.4228 43.1435C33.9362 44.0391 34.3457 44.941 34.6451 45.855C34.8407 46.45 34.969 47.045 35.0362 47.6278Z" }), /* @__PURE__ */ e.createElement("path", { className: "color-5", d: "M52.2105 20.5074L44.3999 24.4273L39.9874 26.6419C39.3335 24.4089 38.5327 22.3538 37.5793 20.4767C36.8337 19.0106 35.9966 17.6549 35.0615 16.4096C34.1448 15.1889 33.1608 14.0724 32.1157 13.0725C30.7345 11.7536 29.2371 10.631 27.6298 9.69853C23.9812 7.58214 21.0354 7.07298 18.7803 8.16491L31.0033 2.03044C33.2585 0.93851 36.2043 1.44767 39.8528 3.56406C42.6825 5.20195 45.1639 7.44105 47.2846 10.2752C49.4114 13.1154 51.0493 16.5262 52.2105 20.5074Z" }), /* @__PURE__ */ e.createElement("path", { className: "color-3", d: "M53.2434 42.7694V48.7014L46.759 44.9471L46.1111 44.5667L38.9057 40.3954L33.8209 37.4446L27.2081 33.6167L26.6092 33.2671L24.1463 31.8439L1.75977 18.8695V12.9375L44.3877 37.641L46.5635 38.8985L51.5994 41.8185L53.2005 42.7448L53.2434 42.7694Z" }), /* @__PURE__ */ e.createElement("path", { className: "color-1", d: "M46.1112 44.5669L43.5811 45.8429H43.575L40.6291 47.3212L33.4238 43.1437L36.5895 41.5549L38.9058 40.3955L46.1112 44.5669Z" })), f2 = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 512 512", "data-waves-icon": "fa/duotone/notes-medical", fill: "currentColor", color: "currentColor", width: "1em", height: "1em", style: {
|
|
329
335
|
fill: "currentcolor",
|
|
330
336
|
color: "currentcolor",
|
|
331
337
|
width: "1em",
|
|
@@ -530,12 +536,12 @@ const a = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.
|
|
|
530
536
|
color: "currentcolor",
|
|
531
537
|
width: "1em",
|
|
532
538
|
height: "1em"
|
|
533
|
-
}, ...t }, /* @__PURE__ */ e.createElement("path", { d: "M287.9 435.9L150.1 509.1C142.9 513.4 133.1 512.7 125.6 507.4C118.2 502.1 114.5 492.9 115.1 483.9L142.2 328.4L31.11 218.2C24.65 211.9 22.36 202.4 25.2 193.7C28.03 185.1 35.5 178.8 44.49 177.5L197.7 154.8L266.3 13.52C270.4 5.249 278.7 0 287.9 0C297.1 0 305.5 5.25 309.5 13.52L378.1 154.8L531.4 177.5C540.4 178.8 547.8 185.1 550.7 193.7C553.5 202.4 551.2 211.9 544.8 218.2L433.6 328.4L459.9 483.9C461.4 492.9 457.7 502.1 450.2 507.4C442.8 512.7 432.1 513.4 424.9 509.1L287.9 435.9zM226.5 168.8C221.9 178.3 212.9 184.9 202.4 186.5L64.99 206.8L164.8 305.6C172.1 312.9 175.5 323.4 173.8 333.7L150.2 473.2L272.8 407.7C282.3 402.6 293.6 402.6 303 407.7L425.6 473.2L402.1 333.7C400.3 323.4 403.7 312.9 411.1 305.6L510.9 206.8L373.4 186.5C362.1 184.9 353.1 178.3 349.3 168.8L287.9 42.32L226.5 168.8z" })),
|
|
539
|
+
}, ...t }, /* @__PURE__ */ e.createElement("path", { d: "M287.9 435.9L150.1 509.1C142.9 513.4 133.1 512.7 125.6 507.4C118.2 502.1 114.5 492.9 115.1 483.9L142.2 328.4L31.11 218.2C24.65 211.9 22.36 202.4 25.2 193.7C28.03 185.1 35.5 178.8 44.49 177.5L197.7 154.8L266.3 13.52C270.4 5.249 278.7 0 287.9 0C297.1 0 305.5 5.25 309.5 13.52L378.1 154.8L531.4 177.5C540.4 178.8 547.8 185.1 550.7 193.7C553.5 202.4 551.2 211.9 544.8 218.2L433.6 328.4L459.9 483.9C461.4 492.9 457.7 502.1 450.2 507.4C442.8 512.7 432.1 513.4 424.9 509.1L287.9 435.9zM226.5 168.8C221.9 178.3 212.9 184.9 202.4 186.5L64.99 206.8L164.8 305.6C172.1 312.9 175.5 323.4 173.8 333.7L150.2 473.2L272.8 407.7C282.3 402.6 293.6 402.6 303 407.7L425.6 473.2L402.1 333.7C400.3 323.4 403.7 312.9 411.1 305.6L510.9 206.8L373.4 186.5C362.1 184.9 353.1 178.3 349.3 168.8L287.9 42.32L226.5 168.8z" })), l1 = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", "data-waves-icon": "fa/solid/arrow-left", fill: "currentColor", color: "currentColor", width: "1em", height: "1em", style: {
|
|
534
540
|
fill: "currentcolor",
|
|
535
541
|
color: "currentcolor",
|
|
536
542
|
width: "1em",
|
|
537
543
|
height: "1em"
|
|
538
|
-
}, ...t }, /* @__PURE__ */ e.createElement("path", { d: "M447.1 256C447.1 273.7 433.7 288 416 288H109.3l105.4 105.4c12.5 12.5 12.5 32.75 0 45.25C208.4 444.9 200.2 448 192 448s-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L109.3 224H416C433.7 224 447.1 238.3 447.1 256z" })),
|
|
544
|
+
}, ...t }, /* @__PURE__ */ e.createElement("path", { d: "M447.1 256C447.1 273.7 433.7 288 416 288H109.3l105.4 105.4c12.5 12.5 12.5 32.75 0 45.25C208.4 444.9 200.2 448 192 448s-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25L109.3 224H416C433.7 224 447.1 238.3 447.1 256z" })), c1 = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 448 512", fill: "currentColor", color: "currentColor", width: "1em", height: "1em", style: {
|
|
539
545
|
fill: "currentcolor",
|
|
540
546
|
color: "currentcolor",
|
|
541
547
|
width: "1em",
|
|
@@ -575,7 +581,7 @@ const a = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.
|
|
|
575
581
|
color: "currentcolor",
|
|
576
582
|
width: "1em",
|
|
577
583
|
height: "1em"
|
|
578
|
-
}, ...t }, /* @__PURE__ */ e.createElement("path", { d: "M391.42 125.965C448.039 184.645 504.938 243.615 565.81 185.331C583.085 168.806 588.671 138.702 583.932 117.95C552.33 -20.4551 366.687 -26.094 284.964 44.5249L285.069 45.0613C321.006 52.9875 356.159 89.4202 391.42 125.965Z" }), /* @__PURE__ */ e.createElement("path", { d: "M522.431 495.702C448.189 455.82 486.69 383.483 525.002 311.503C548.862 266.674 572.648 221.983 569.081 185.356L569.559 185.09C661.976 240.991 713.98 419.291 592.114 492.115C573.842 503.035 543.486 507.025 522.431 495.702V495.702Z" }), /* @__PURE__ */ e.createElement("path", { d: "M213.844 550.355C228.833 467.423 309.526 481.686 389.823 495.879C439.831 504.719 489.685 513.531 523.417 498.82L523.818 499.192C499.211 604.36 345.708 708.916 238.789 615.519C222.757 601.516 209.582 573.878 213.844 550.355Z" }), /* @__PURE__ */ e.createElement("path", { d: "M284.035 48.1638C320.656 124.068 246.989 159.959 173.686 195.673C128.033 217.916 82.5196 240.09 63.8762 271.819L63.3335 271.753C21.4251 172.207 84.1548 -2.6076 225.552 10.1071C246.753 12.0131 273.657 26.6279 284.035 48.1638Z" }), /* @__PURE__ */ e.createElement("path", { d: "M172.699 424.293C161.384 343.54 150.014 262.389 66.5079 273.761C42.819 276.977 20.6057 298.048 12.2415 317.622C-43.5448 448.169 103.33 561.849 210.954 552.754L211.185 552.258C186.77 524.722 179.745 474.585 172.699 424.293Z" })),
|
|
584
|
+
}, ...t }, /* @__PURE__ */ e.createElement("path", { d: "M391.42 125.965C448.039 184.645 504.938 243.615 565.81 185.331C583.085 168.806 588.671 138.702 583.932 117.95C552.33 -20.4551 366.687 -26.094 284.964 44.5249L285.069 45.0613C321.006 52.9875 356.159 89.4202 391.42 125.965Z" }), /* @__PURE__ */ e.createElement("path", { d: "M522.431 495.702C448.189 455.82 486.69 383.483 525.002 311.503C548.862 266.674 572.648 221.983 569.081 185.356L569.559 185.09C661.976 240.991 713.98 419.291 592.114 492.115C573.842 503.035 543.486 507.025 522.431 495.702V495.702Z" }), /* @__PURE__ */ e.createElement("path", { d: "M213.844 550.355C228.833 467.423 309.526 481.686 389.823 495.879C439.831 504.719 489.685 513.531 523.417 498.82L523.818 499.192C499.211 604.36 345.708 708.916 238.789 615.519C222.757 601.516 209.582 573.878 213.844 550.355Z" }), /* @__PURE__ */ e.createElement("path", { d: "M284.035 48.1638C320.656 124.068 246.989 159.959 173.686 195.673C128.033 217.916 82.5196 240.09 63.8762 271.819L63.3335 271.753C21.4251 172.207 84.1548 -2.6076 225.552 10.1071C246.753 12.0131 273.657 26.6279 284.035 48.1638Z" }), /* @__PURE__ */ e.createElement("path", { d: "M172.699 424.293C161.384 343.54 150.014 262.389 66.5079 273.761C42.819 276.977 20.6057 298.048 12.2415 317.622C-43.5448 448.169 103.33 561.849 210.954 552.754L211.185 552.258C186.77 524.722 179.745 474.585 172.699 424.293Z" })), l = Object.entries(
|
|
579
585
|
/* @__PURE__ */ Object.assign({
|
|
580
586
|
"../components/Icon/assets/fa/duotone/alien-8bit.svg": a,
|
|
581
587
|
"../components/Icon/assets/fa/duotone/arrow-down-arrow-up.svg": n,
|
|
@@ -628,8 +634,8 @@ const a = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.
|
|
|
628
634
|
"../components/Icon/assets/fa/duotone/id-badge.svg": e2,
|
|
629
635
|
"../components/Icon/assets/fa/duotone/inbox-full.svg": t2,
|
|
630
636
|
"../components/Icon/assets/fa/duotone/laptop.svg": o2,
|
|
631
|
-
"../components/Icon/assets/fa/duotone/list.svg":
|
|
632
|
-
"../components/Icon/assets/fa/duotone/loader.svg":
|
|
637
|
+
"../components/Icon/assets/fa/duotone/list.svg": l2,
|
|
638
|
+
"../components/Icon/assets/fa/duotone/loader.svg": c2,
|
|
633
639
|
"../components/Icon/assets/fa/duotone/lock-keyhole-open.svg": r2,
|
|
634
640
|
"../components/Icon/assets/fa/duotone/lock-keyhole.svg": a2,
|
|
635
641
|
"../components/Icon/assets/fa/duotone/magnifying-glass.svg": n2,
|
|
@@ -682,8 +688,8 @@ const a = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.
|
|
|
682
688
|
"../components/Icon/assets/fa/light/circle-xmark-outline.svg": e1,
|
|
683
689
|
"../components/Icon/assets/fa/light/rotate.svg": t1,
|
|
684
690
|
"../components/Icon/assets/fa/light/star.svg": o1,
|
|
685
|
-
"../components/Icon/assets/fa/solid/arrow-left.svg":
|
|
686
|
-
"../components/Icon/assets/fa/solid/check.svg":
|
|
691
|
+
"../components/Icon/assets/fa/solid/arrow-left.svg": l1,
|
|
692
|
+
"../components/Icon/assets/fa/solid/check.svg": c1,
|
|
687
693
|
"../components/Icon/assets/fa/solid/circle.svg": r1,
|
|
688
694
|
"../components/Icon/assets/fa/solid/credit-card-blank.svg": a1,
|
|
689
695
|
"../components/Icon/assets/fa/solid/credit-card-front.svg": n1,
|
|
@@ -693,10 +699,10 @@ const a = (t) => /* @__PURE__ */ e.createElement("svg", { xmlns: "http://www.w3.
|
|
|
693
699
|
"../components/Icon/assets/pi/logo.svg": i1
|
|
694
700
|
})
|
|
695
701
|
).map(([t, o]) => {
|
|
696
|
-
const
|
|
697
|
-
return { iconFamily:
|
|
702
|
+
const c = t.split("/").at(-2), r = t.split("/").at(-1).split(".svg")[0];
|
|
703
|
+
return { iconFamily: c, iconName: r, file: o };
|
|
698
704
|
}), h1 = Object.fromEntries(
|
|
699
|
-
|
|
705
|
+
l.map((t) => l.filter((o) => o.iconName === t.iconName).length > 1 ? [`${t.iconFamily}/${t.iconName}`, t.file] : [t.iconName, t.file])
|
|
700
706
|
);
|
|
701
707
|
export {
|
|
702
708
|
h1 as iconsList
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pismo/marola",
|
|
3
3
|
"description": "CDX tribe component library",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.74",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
"tmp": "^0.2.5",
|
|
124
124
|
"brace-expansion": "^2.0.2",
|
|
125
125
|
"debug": "^4.4.3",
|
|
126
|
-
"js-yaml": "^4.1.1"
|
|
126
|
+
"js-yaml": "^4.1.1",
|
|
127
|
+
"nwsapi": "2.2.13"
|
|
127
128
|
}
|
|
128
129
|
}
|