@post-pioneer/ui-kit 0.1.29 → 0.1.31
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/index.css +1 -1
- package/dist/ui-kit-postpioneer.es.js +437 -280
- package/dist/ui-kit-postpioneer.umd.js +2 -2
- package/package.json +1 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
const
|
|
4
|
-
({ width:
|
|
1
|
+
import { jsx as t, jsxs as h, Fragment as B } from "react/jsx-runtime";
|
|
2
|
+
import $, { forwardRef as c } from "react";
|
|
3
|
+
const S = c(
|
|
4
|
+
({ width: e = "12", height: n = "14", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
7
7
|
ref: r,
|
|
8
|
-
width:
|
|
9
|
-
height:
|
|
8
|
+
width: e,
|
|
9
|
+
height: n,
|
|
10
10
|
viewBox: "0 0 16 16",
|
|
11
11
|
fill: "none",
|
|
12
12
|
color: o,
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
-
...
|
|
15
|
-
children: /* @__PURE__ */
|
|
14
|
+
...a,
|
|
15
|
+
children: /* @__PURE__ */ t(
|
|
16
16
|
"path",
|
|
17
17
|
{
|
|
18
18
|
fillRule: "evenodd",
|
|
@@ -24,20 +24,20 @@ const H = i(
|
|
|
24
24
|
}
|
|
25
25
|
)
|
|
26
26
|
);
|
|
27
|
-
|
|
28
|
-
const
|
|
29
|
-
({ width:
|
|
27
|
+
S.displayName = "AlertsBellIcon";
|
|
28
|
+
const G = c(
|
|
29
|
+
({ width: e = "6", height: n = "10", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
|
|
30
30
|
"svg",
|
|
31
31
|
{
|
|
32
32
|
ref: r,
|
|
33
|
-
width:
|
|
34
|
-
height:
|
|
33
|
+
width: e,
|
|
34
|
+
height: n,
|
|
35
35
|
viewBox: "0 0 6 10",
|
|
36
36
|
fill: "none",
|
|
37
37
|
color: o,
|
|
38
38
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39
|
-
...
|
|
40
|
-
children: /* @__PURE__ */
|
|
39
|
+
...a,
|
|
40
|
+
children: /* @__PURE__ */ t(
|
|
41
41
|
"path",
|
|
42
42
|
{
|
|
43
43
|
d: "M4.61595 0.51226C4.85625 0.274559 5.2463 0.274559 5.4866 0.51226C5.7269 0.74996 5.7269 1.13579 5.4866 1.37349L1.8197 5.00068L5.4866 8.62786L5.52867 8.6741C5.72588 8.91317 5.71192 9.26621 5.4866 9.48909C5.26128 9.71197 4.90437 9.72578 4.66269 9.5307L4.61595 9.48909L0.513723 5.43129C0.27342 5.19359 0.27342 4.80776 0.513723 4.57006L4.61595 0.51226Z",
|
|
@@ -47,20 +47,20 @@ const R = i(
|
|
|
47
47
|
}
|
|
48
48
|
)
|
|
49
49
|
);
|
|
50
|
-
|
|
51
|
-
const
|
|
52
|
-
({ width:
|
|
50
|
+
G.displayName = "ArrowChevronLeftIcon";
|
|
51
|
+
const I = c(
|
|
52
|
+
({ width: e = "6", height: n = "10", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
|
|
53
53
|
"svg",
|
|
54
54
|
{
|
|
55
55
|
ref: r,
|
|
56
|
-
width:
|
|
57
|
-
height:
|
|
56
|
+
width: e,
|
|
57
|
+
height: n,
|
|
58
58
|
viewBox: "0 0 6 10",
|
|
59
59
|
fill: "none",
|
|
60
60
|
color: o,
|
|
61
61
|
xmlns: "http://www.w3.org/2000/svg",
|
|
62
|
-
...
|
|
63
|
-
children: /* @__PURE__ */
|
|
62
|
+
...a,
|
|
63
|
+
children: /* @__PURE__ */ t(
|
|
64
64
|
"path",
|
|
65
65
|
{
|
|
66
66
|
d: "M1.38405 0.51226C1.14375 0.274559 0.7537 0.274559 0.5134 0.51226C0.2731 0.74996 0.2731 1.13579 0.5134 1.37349L4.1803 5.00068L0.5134 8.62786L0.47133 8.6741C0.27412 8.91317 0.28808 9.26621 0.5134 9.48909C0.73872 9.71197 1.09563 9.72578 1.33731 9.5307L1.38405 9.48909L5.48628 5.43129C5.72658 5.19359 5.72658 4.80776 5.48628 4.57006L1.38405 0.51226Z",
|
|
@@ -70,20 +70,20 @@ const G = i(
|
|
|
70
70
|
}
|
|
71
71
|
)
|
|
72
72
|
);
|
|
73
|
-
|
|
74
|
-
const
|
|
75
|
-
({ width:
|
|
73
|
+
I.displayName = "ArrowChevronRightIcon";
|
|
74
|
+
const z = c(
|
|
75
|
+
({ width: e = "16", height: n = "16", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
|
|
76
76
|
"svg",
|
|
77
77
|
{
|
|
78
78
|
ref: r,
|
|
79
|
-
width:
|
|
80
|
-
height:
|
|
79
|
+
width: e,
|
|
80
|
+
height: n,
|
|
81
81
|
viewBox: "0 0 16 16",
|
|
82
82
|
fill: "none",
|
|
83
83
|
color: o,
|
|
84
84
|
xmlns: "http://www.w3.org/2000/svg",
|
|
85
|
-
...
|
|
86
|
-
children: /* @__PURE__ */
|
|
85
|
+
...a,
|
|
86
|
+
children: /* @__PURE__ */ t(
|
|
87
87
|
"path",
|
|
88
88
|
{
|
|
89
89
|
fillRule: "evenodd",
|
|
@@ -95,20 +95,20 @@ const I = i(
|
|
|
95
95
|
}
|
|
96
96
|
)
|
|
97
97
|
);
|
|
98
|
-
|
|
99
|
-
const
|
|
100
|
-
({ width:
|
|
98
|
+
z.displayName = "ImagePhotoIcon";
|
|
99
|
+
const A = c(
|
|
100
|
+
({ width: e = "12", height: n = "14", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
|
|
101
101
|
"svg",
|
|
102
102
|
{
|
|
103
103
|
ref: r,
|
|
104
|
-
width:
|
|
105
|
-
height:
|
|
104
|
+
width: e,
|
|
105
|
+
height: n,
|
|
106
106
|
viewBox: "0 0 16 16",
|
|
107
107
|
fill: "none",
|
|
108
108
|
color: o,
|
|
109
109
|
xmlns: "http://www.w3.org/2000/svg",
|
|
110
|
-
...
|
|
111
|
-
children: /* @__PURE__ */
|
|
110
|
+
...a,
|
|
111
|
+
children: /* @__PURE__ */ t(
|
|
112
112
|
"path",
|
|
113
113
|
{
|
|
114
114
|
fillRule: "evenodd",
|
|
@@ -120,21 +120,21 @@ const $ = i(
|
|
|
120
120
|
}
|
|
121
121
|
)
|
|
122
122
|
);
|
|
123
|
-
|
|
124
|
-
const
|
|
125
|
-
({ width:
|
|
123
|
+
A.displayName = "ImagePhotoOutline";
|
|
124
|
+
const T = c(
|
|
125
|
+
({ width: e = "16", height: n = "16", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
|
|
126
126
|
"svg",
|
|
127
127
|
{
|
|
128
128
|
ref: r,
|
|
129
|
-
width:
|
|
130
|
-
height:
|
|
129
|
+
width: e,
|
|
130
|
+
height: n,
|
|
131
131
|
viewBox: "0 0 16 16",
|
|
132
132
|
fill: "none",
|
|
133
133
|
color: o,
|
|
134
134
|
xmlns: "http://www.w3.org/2000/svg",
|
|
135
|
-
...
|
|
136
|
-
children: /* @__PURE__ */
|
|
137
|
-
/* @__PURE__ */
|
|
135
|
+
...a,
|
|
136
|
+
children: /* @__PURE__ */ h("g", { opacity: "0.9", children: [
|
|
137
|
+
/* @__PURE__ */ t(
|
|
138
138
|
"path",
|
|
139
139
|
{
|
|
140
140
|
fillRule: "evenodd",
|
|
@@ -143,7 +143,7 @@ const S = i(
|
|
|
143
143
|
fill: "currentColor"
|
|
144
144
|
}
|
|
145
145
|
),
|
|
146
|
-
/* @__PURE__ */
|
|
146
|
+
/* @__PURE__ */ t(
|
|
147
147
|
"path",
|
|
148
148
|
{
|
|
149
149
|
d: "M8.06738 5.37341C8.38057 5.37341 8.63446 5.6273 8.63446 5.94049L8.63446 7.49994H10.1939C10.5071 7.49994 10.761 7.75383 10.761 8.06702C10.761 8.3802 10.5071 8.63409 10.1939 8.63409H8.63446V10.1935C8.63446 10.5067 8.38057 10.7606 8.06738 10.7606C7.7542 10.7606 7.50031 10.5067 7.50031 10.1935V8.63409H5.94085C5.62767 8.63409 5.37378 8.3802 5.37378 8.06702C5.37378 7.75383 5.62767 7.49994 5.94085 7.49994H7.50031L7.50031 5.94049C7.50031 5.6273 7.7542 5.37341 8.06738 5.37341Z",
|
|
@@ -154,20 +154,20 @@ const S = i(
|
|
|
154
154
|
}
|
|
155
155
|
)
|
|
156
156
|
);
|
|
157
|
-
|
|
158
|
-
const
|
|
159
|
-
({ size:
|
|
157
|
+
T.displayName = "MathSymbolsAddSquareV2Icon";
|
|
158
|
+
const P = c(
|
|
159
|
+
({ size: e = 16, color: n = "currentColor", ...o }, a) => /* @__PURE__ */ t(
|
|
160
160
|
"svg",
|
|
161
161
|
{
|
|
162
|
-
ref:
|
|
163
|
-
width:
|
|
164
|
-
height:
|
|
162
|
+
ref: a,
|
|
163
|
+
width: e,
|
|
164
|
+
height: e,
|
|
165
165
|
viewBox: "0 0 16 16",
|
|
166
|
-
color:
|
|
166
|
+
color: n,
|
|
167
167
|
fill: "none",
|
|
168
168
|
xmlns: "http://www.w3.org/2000/svg",
|
|
169
169
|
...o,
|
|
170
|
-
children: /* @__PURE__ */
|
|
170
|
+
children: /* @__PURE__ */ t(
|
|
171
171
|
"path",
|
|
172
172
|
{
|
|
173
173
|
fillRule: "evenodd",
|
|
@@ -179,81 +179,79 @@ const z = i(
|
|
|
179
179
|
}
|
|
180
180
|
)
|
|
181
181
|
);
|
|
182
|
-
|
|
183
|
-
const
|
|
184
|
-
({ width:
|
|
182
|
+
P.displayName = "SwapIcon";
|
|
183
|
+
const O = c(
|
|
184
|
+
({ width: e = "16", height: n = "16", color: o = "currentColor", ...a }, r) => /* @__PURE__ */ t(
|
|
185
185
|
"svg",
|
|
186
186
|
{
|
|
187
187
|
ref: r,
|
|
188
|
-
width:
|
|
189
|
-
height:
|
|
188
|
+
width: e,
|
|
189
|
+
height: n,
|
|
190
190
|
viewBox: "0 0 16 16",
|
|
191
191
|
fill: "none",
|
|
192
192
|
xmlns: "http://www.w3.org/2000/svg",
|
|
193
|
-
...
|
|
194
|
-
children: /* @__PURE__ */
|
|
193
|
+
...a,
|
|
194
|
+
children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.5008 1.33398C4.8359 1.33398 5.10754 1.60533 5.10754 1.94005V2.37294H10.764V1.94005C10.764 1.60533 11.0357 1.33398 11.3708 1.33398C11.7059 1.33398 11.9775 1.60533 11.9775 1.94005V2.4444C13.1464 2.72526 14 3.79983 14 5.05691L14 11.9833C14 13.4495 12.8389 14.6673 11.3708 14.6673H4.62921C3.16114 14.6673 2 13.4495 2 11.9833V5.05691C2 3.84634 2.79165 2.80503 3.89406 2.4788V1.94005C3.89406 1.60533 4.16571 1.33398 4.5008 1.33398ZM4.62921 3.58506C3.86332 3.58506 3.21348 4.22783 3.21348 5.05691V5.32035C3.23562 5.3179 3.25811 5.31665 3.2809 5.31665H12.7191C12.7419 5.31665 12.7644 5.3179 12.7865 5.32035V5.05691C12.7865 4.22783 12.1367 3.58506 11.3708 3.58506H4.62921ZM12.7865 6.52507C12.7644 6.52751 12.7419 6.52877 12.7191 6.52877H3.2809C3.25811 6.52877 3.23562 6.52751 3.21348 6.52507V11.9833C3.21348 12.8124 3.86332 13.4552 4.62921 13.4552H11.3708C12.1367 13.4552 12.7865 12.8124 12.7865 11.9833L12.7865 6.52507ZM8.33708 8.03515C8.67217 8.03515 8.94382 8.30649 8.94382 8.64121V8.69329C8.94382 9.02801 8.67217 9.29935 8.33708 9.29935C8.00198 9.29935 7.73034 9.02801 7.73034 8.69329V8.64121C7.73034 8.30649 8.00198 8.03515 8.33708 8.03515ZM11.0337 8.03515C11.3688 8.03515 11.6404 8.30649 11.6404 8.64121V8.69329C11.6404 9.02801 11.3688 9.29935 11.0337 9.29935C10.6986 9.29935 10.427 9.02801 10.427 8.69329V8.64121C10.427 8.30649 10.6986 8.03515 11.0337 8.03515ZM5.30337 10.8578C5.63847 10.8578 5.91011 11.1291 5.91011 11.4638V11.5159C5.91011 11.8506 5.63847 12.122 5.30337 12.122C4.96828 12.122 4.69663 11.8506 4.69663 11.5159V11.4638C4.69663 11.1291 4.96828 10.8578 5.30337 10.8578ZM8.33708 10.8578C8.67217 10.8578 8.94382 11.1291 8.94382 11.4638V11.5159C8.94382 11.8506 8.67217 12.122 8.33708 12.122C8.00198 12.122 7.73034 11.8506 7.73034 11.5159V11.4638C7.73034 11.1291 8.00198 10.8578 8.33708 10.8578Z" })
|
|
195
195
|
}
|
|
196
196
|
)
|
|
197
197
|
);
|
|
198
|
-
|
|
199
|
-
const W = "
|
|
198
|
+
O.displayName = "TimeCalendarV2Icon";
|
|
199
|
+
const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_687", U = "_avatar_18phg_779", q = "_avatar__wrapper_18phg_830", E = "_avatar__content_18phg_835", J = "_avatar__image_18phg_845", K = "_avatar__initials_18phg_851", Q = "_avatar__placeholder_18phg_880", X = "_avatar__status_18phg_911", w = {
|
|
200
200
|
focus: W,
|
|
201
|
-
"focus--default": "_focus--
|
|
202
|
-
"focus--danger": "_focus--
|
|
203
|
-
"focus--visible": "_focus--
|
|
204
|
-
"focus-danger": "_focus-
|
|
205
|
-
"focus-within--default": "_focus-within--
|
|
206
|
-
"focus-within--danger": "_focus-within--
|
|
207
|
-
"focus--input": "_focus--
|
|
208
|
-
"focus--button": "_focus--
|
|
209
|
-
"focus--card": "_focus--
|
|
210
|
-
swap:
|
|
211
|
-
"swap--text": "_swap--
|
|
212
|
-
"swap--icon": "_swap--
|
|
213
|
-
"swap--icon-xs": "_swap--icon-
|
|
214
|
-
"swap--icon-s": "_swap--icon-
|
|
215
|
-
"swap--icon-m": "_swap--icon-
|
|
216
|
-
"swap--icon-l": "_swap--icon-
|
|
217
|
-
"swap--icon-xl": "_swap--icon-
|
|
218
|
-
swap__content:
|
|
219
|
-
"swap--group-horizontal": "_swap--group-
|
|
220
|
-
"swap--group-vertical": "_swap--group-
|
|
221
|
-
"swap--with-background": "_swap--with-
|
|
222
|
-
"swap--with-border": "_swap--with-
|
|
223
|
-
"swap--interactive": "_swap--
|
|
224
|
-
avatar:
|
|
225
|
-
"avatar--xs": "_avatar--
|
|
226
|
-
"avatar--s": "_avatar--
|
|
227
|
-
"avatar--m": "_avatar--
|
|
228
|
-
"avatar--l": "_avatar--
|
|
229
|
-
"avatar--xl": "_avatar--
|
|
230
|
-
"avatar--xxl": "_avatar--
|
|
231
|
-
"avatar--bordered": "_avatar--
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
size: o = "m",
|
|
244
|
-
status: t = null,
|
|
201
|
+
"focus--default": "_focus--default_18phg_566",
|
|
202
|
+
"focus--danger": "_focus--danger_18phg_570",
|
|
203
|
+
"focus--visible": "_focus--visible_18phg_576",
|
|
204
|
+
"focus-danger": "_focus-danger_18phg_591",
|
|
205
|
+
"focus-within--default": "_focus-within--default_18phg_597",
|
|
206
|
+
"focus-within--danger": "_focus-within--danger_18phg_601",
|
|
207
|
+
"focus--input": "_focus--input_18phg_606",
|
|
208
|
+
"focus--button": "_focus--button_18phg_611",
|
|
209
|
+
"focus--card": "_focus--card_18phg_616",
|
|
210
|
+
swap: D,
|
|
211
|
+
"swap--text": "_swap--text_18phg_640",
|
|
212
|
+
"swap--icon": "_swap--icon_18phg_651",
|
|
213
|
+
"swap--icon-xs": "_swap--icon-xs_18phg_661",
|
|
214
|
+
"swap--icon-s": "_swap--icon-s_18phg_666",
|
|
215
|
+
"swap--icon-m": "_swap--icon-m_18phg_671",
|
|
216
|
+
"swap--icon-l": "_swap--icon-l_18phg_676",
|
|
217
|
+
"swap--icon-xl": "_swap--icon-xl_18phg_681",
|
|
218
|
+
swap__content: F,
|
|
219
|
+
"swap--group-horizontal": "_swap--group-horizontal_18phg_696",
|
|
220
|
+
"swap--group-vertical": "_swap--group-vertical_18phg_703",
|
|
221
|
+
"swap--with-background": "_swap--with-background_18phg_711",
|
|
222
|
+
"swap--with-border": "_swap--with-border_18phg_717",
|
|
223
|
+
"swap--interactive": "_swap--interactive_18phg_725",
|
|
224
|
+
avatar: U,
|
|
225
|
+
"avatar--xs": "_avatar--xs_18phg_789",
|
|
226
|
+
"avatar--s": "_avatar--s_18phg_795",
|
|
227
|
+
"avatar--m": "_avatar--m_18phg_801",
|
|
228
|
+
"avatar--l": "_avatar--l_18phg_807",
|
|
229
|
+
"avatar--xl": "_avatar--xl_18phg_813",
|
|
230
|
+
"avatar--xxl": "_avatar--xxl_18phg_819",
|
|
231
|
+
"avatar--bordered": "_avatar--bordered_18phg_825",
|
|
232
|
+
avatar__wrapper: q,
|
|
233
|
+
avatar__content: E,
|
|
234
|
+
avatar__image: J,
|
|
235
|
+
avatar__initials: K,
|
|
236
|
+
avatar__placeholder: Q,
|
|
237
|
+
avatar__status: X
|
|
238
|
+
}, Y = ({
|
|
239
|
+
src: e,
|
|
240
|
+
name: n,
|
|
241
|
+
size: o = "s",
|
|
242
|
+
status: a = null,
|
|
245
243
|
bordered: r = !1,
|
|
246
|
-
backgroundColor:
|
|
247
|
-
className:
|
|
248
|
-
onError:
|
|
244
|
+
backgroundColor: l,
|
|
245
|
+
className: i = "",
|
|
246
|
+
onError: p
|
|
249
247
|
}) => {
|
|
250
|
-
const
|
|
251
|
-
const
|
|
252
|
-
return
|
|
253
|
-
},
|
|
254
|
-
if (
|
|
255
|
-
if (
|
|
256
|
-
const
|
|
248
|
+
const g = (_) => {
|
|
249
|
+
const d = _.trim().split(" ");
|
|
250
|
+
return d.length === 1 ? d[0].charAt(0).toUpperCase() : `${d[0].charAt(0)}${d[d.length - 1].charAt(0)}`.toUpperCase();
|
|
251
|
+
}, C = () => {
|
|
252
|
+
if (l) return l;
|
|
253
|
+
if (n) {
|
|
254
|
+
const _ = [
|
|
257
255
|
"var(--color-blue-gray-600)",
|
|
258
256
|
"var(--color-indigo-600)",
|
|
259
257
|
"var(--color-success-600)",
|
|
@@ -270,8 +268,8 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
270
268
|
"var(--color-yellow-600)",
|
|
271
269
|
"var(--color-rose-600)",
|
|
272
270
|
"var(--color-pink-600)"
|
|
273
|
-
],
|
|
274
|
-
return
|
|
271
|
+
], d = n.split("").reduce((b, L) => b + L.charCodeAt(0), 0);
|
|
272
|
+
return _[d % _.length];
|
|
275
273
|
}
|
|
276
274
|
return "var(--color-blue-gray-300)";
|
|
277
275
|
}, u = {
|
|
@@ -279,34 +277,34 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
279
277
|
offline: "var(--color-blue-gray-400)",
|
|
280
278
|
away: "var(--color-warning-500)",
|
|
281
279
|
busy: "var(--color-danger-500)"
|
|
282
|
-
},
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
r ?
|
|
286
|
-
|
|
287
|
-
].filter(Boolean).join(" "),
|
|
288
|
-
if (
|
|
289
|
-
return /* @__PURE__ */
|
|
280
|
+
}, m = [
|
|
281
|
+
w.avatar,
|
|
282
|
+
w[`avatar--${o}`],
|
|
283
|
+
r ? w["avatar--bordered"] : "",
|
|
284
|
+
i
|
|
285
|
+
].filter(Boolean).join(" "), x = () => {
|
|
286
|
+
if (e)
|
|
287
|
+
return /* @__PURE__ */ t(
|
|
290
288
|
"img",
|
|
291
289
|
{
|
|
292
|
-
src:
|
|
293
|
-
alt:
|
|
294
|
-
className:
|
|
295
|
-
onError:
|
|
290
|
+
src: e,
|
|
291
|
+
alt: n ? `${n} avatar` : "Avatar",
|
|
292
|
+
className: w.avatar__image,
|
|
293
|
+
onError: p
|
|
296
294
|
}
|
|
297
295
|
);
|
|
298
|
-
if (
|
|
299
|
-
const
|
|
300
|
-
return /* @__PURE__ */
|
|
296
|
+
if (n) {
|
|
297
|
+
const _ = g(n);
|
|
298
|
+
return /* @__PURE__ */ t(
|
|
301
299
|
"div",
|
|
302
300
|
{
|
|
303
|
-
className:
|
|
304
|
-
style: { backgroundColor:
|
|
305
|
-
children:
|
|
301
|
+
className: w.avatar__initials,
|
|
302
|
+
style: { backgroundColor: C() },
|
|
303
|
+
children: _
|
|
306
304
|
}
|
|
307
305
|
);
|
|
308
306
|
}
|
|
309
|
-
return /* @__PURE__ */
|
|
307
|
+
return /* @__PURE__ */ t("div", { className: w.avatar__placeholder, children: /* @__PURE__ */ h(
|
|
310
308
|
"svg",
|
|
311
309
|
{
|
|
312
310
|
width: "24",
|
|
@@ -316,66 +314,66 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
316
314
|
stroke: "currentColor",
|
|
317
315
|
strokeWidth: "2",
|
|
318
316
|
children: [
|
|
319
|
-
/* @__PURE__ */
|
|
320
|
-
/* @__PURE__ */
|
|
317
|
+
/* @__PURE__ */ t("path", { d: "M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2" }),
|
|
318
|
+
/* @__PURE__ */ t("circle", { cx: "12", cy: "7", r: "4" })
|
|
321
319
|
]
|
|
322
320
|
}
|
|
323
321
|
) });
|
|
324
322
|
};
|
|
325
|
-
return /* @__PURE__ */
|
|
326
|
-
/* @__PURE__ */
|
|
327
|
-
|
|
323
|
+
return /* @__PURE__ */ h("div", { className: m, children: [
|
|
324
|
+
/* @__PURE__ */ t("div", { className: w.avatar__content, children: x() }),
|
|
325
|
+
a && /* @__PURE__ */ t(
|
|
328
326
|
"div",
|
|
329
327
|
{
|
|
330
|
-
className:
|
|
331
|
-
style: { backgroundColor: u[
|
|
328
|
+
className: w.avatar__status,
|
|
329
|
+
style: { backgroundColor: u[a] }
|
|
332
330
|
}
|
|
333
331
|
)
|
|
334
332
|
] });
|
|
335
|
-
},
|
|
336
|
-
avatarGroup:
|
|
333
|
+
}, t1 = "_avatarGroup_1teei_779", e1 = "_avatarGroup__item_1teei_783", n1 = "_avatarGroup__more_1teei_794", y = {
|
|
334
|
+
avatarGroup: t1,
|
|
337
335
|
"avatarGroup--overlap": "_avatarGroup--overlap_1teei_783",
|
|
338
|
-
avatarGroup__item:
|
|
336
|
+
avatarGroup__item: e1,
|
|
339
337
|
avatarGroup__more: n1
|
|
340
|
-
},
|
|
341
|
-
items:
|
|
342
|
-
max:
|
|
338
|
+
}, q1 = ({
|
|
339
|
+
items: e,
|
|
340
|
+
max: n = 5,
|
|
343
341
|
size: o = "m",
|
|
344
|
-
overlap:
|
|
342
|
+
overlap: a = !0,
|
|
345
343
|
className: r = ""
|
|
346
344
|
}) => {
|
|
347
|
-
const
|
|
348
|
-
return /* @__PURE__ */
|
|
345
|
+
const l = e.slice(0, n), i = e.length - l.length;
|
|
346
|
+
return /* @__PURE__ */ h(
|
|
349
347
|
"div",
|
|
350
348
|
{
|
|
351
349
|
className: [
|
|
352
|
-
|
|
353
|
-
|
|
350
|
+
y.avatarGroup,
|
|
351
|
+
a ? y["avatarGroup--overlap"] : "",
|
|
354
352
|
r
|
|
355
353
|
].filter(Boolean).join(" "),
|
|
356
354
|
children: [
|
|
357
|
-
|
|
358
|
-
|
|
355
|
+
l.map((p, g) => /* @__PURE__ */ t("div", { className: y.avatarGroup__item, children: /* @__PURE__ */ t(Y, { ...p, size: o }) }, g)),
|
|
356
|
+
i > 0 && /* @__PURE__ */ h("div", { className: `${y.avatarGroup__item} ${y.avatarGroup__more}`, children: [
|
|
359
357
|
"+",
|
|
360
|
-
|
|
358
|
+
i
|
|
361
359
|
] })
|
|
362
360
|
]
|
|
363
361
|
}
|
|
364
362
|
);
|
|
365
|
-
},
|
|
366
|
-
size:
|
|
367
|
-
borderColor:
|
|
363
|
+
}, E1 = ({
|
|
364
|
+
size: e = 80,
|
|
365
|
+
borderColor: n = "#D6DDFF",
|
|
368
366
|
borderWidth: o = 2,
|
|
369
|
-
borderStyle:
|
|
367
|
+
borderStyle: a = "dashed",
|
|
370
368
|
children: r
|
|
371
|
-
}) => /* @__PURE__ */
|
|
369
|
+
}) => /* @__PURE__ */ t(
|
|
372
370
|
"div",
|
|
373
371
|
{
|
|
374
372
|
style: {
|
|
375
|
-
width:
|
|
376
|
-
height:
|
|
373
|
+
width: e,
|
|
374
|
+
height: e,
|
|
377
375
|
borderRadius: "50%",
|
|
378
|
-
border: `${o}px ${
|
|
376
|
+
border: `${o}px ${a} ${n}`,
|
|
379
377
|
padding: o,
|
|
380
378
|
boxSizing: "border-box",
|
|
381
379
|
display: "flex",
|
|
@@ -383,7 +381,7 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
383
381
|
justifyContent: "center",
|
|
384
382
|
overflow: "hidden"
|
|
385
383
|
},
|
|
386
|
-
children: /* @__PURE__ */
|
|
384
|
+
children: /* @__PURE__ */ t(
|
|
387
385
|
"div",
|
|
388
386
|
{
|
|
389
387
|
style: {
|
|
@@ -396,8 +394,8 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
396
394
|
}
|
|
397
395
|
)
|
|
398
396
|
}
|
|
399
|
-
),
|
|
400
|
-
focus:
|
|
397
|
+
), a1 = "_focus_1ckja_549", o1 = "_swap_1ckja_631", r1 = "_swap__content_1ckja_687", s1 = "_spinner_1ckja_779", l1 = "_spinner__label_1ckja_841", f = {
|
|
398
|
+
focus: a1,
|
|
401
399
|
"focus--default": "_focus--default_1ckja_566",
|
|
402
400
|
"focus--danger": "_focus--danger_1ckja_570",
|
|
403
401
|
"focus--visible": "_focus--visible_1ckja_576",
|
|
@@ -407,7 +405,7 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
407
405
|
"focus--input": "_focus--input_1ckja_606",
|
|
408
406
|
"focus--button": "_focus--button_1ckja_611",
|
|
409
407
|
"focus--card": "_focus--card_1ckja_616",
|
|
410
|
-
swap:
|
|
408
|
+
swap: o1,
|
|
411
409
|
"swap--text": "_swap--text_1ckja_640",
|
|
412
410
|
"swap--icon": "_swap--icon_1ckja_651",
|
|
413
411
|
"swap--icon-xs": "_swap--icon-xs_1ckja_661",
|
|
@@ -415,7 +413,7 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
415
413
|
"swap--icon-m": "_swap--icon-m_1ckja_671",
|
|
416
414
|
"swap--icon-l": "_swap--icon-l_1ckja_676",
|
|
417
415
|
"swap--icon-xl": "_swap--icon-xl_1ckja_681",
|
|
418
|
-
swap__content:
|
|
416
|
+
swap__content: r1,
|
|
419
417
|
"swap--group-horizontal": "_swap--group-horizontal_1ckja_696",
|
|
420
418
|
"swap--group-vertical": "_swap--group-vertical_1ckja_703",
|
|
421
419
|
"swap--with-background": "_swap--with-background_1ckja_711",
|
|
@@ -426,7 +424,7 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
426
424
|
"spinner-container--label-bottom": "_spinner-container--label-bottom_1ckja_788",
|
|
427
425
|
"spinner-container--label-left": "_spinner-container--label-left_1ckja_792",
|
|
428
426
|
"spinner-container--label-right": "_spinner-container--label-right_1ckja_796",
|
|
429
|
-
spinner:
|
|
427
|
+
spinner: s1,
|
|
430
428
|
"spinner-rotate": "_spinner-rotate_1ckja_1",
|
|
431
429
|
"spinner--primary": "_spinner--primary_1ckja_807",
|
|
432
430
|
"spinner--inverse": "_spinner--inverse_1ckja_810",
|
|
@@ -437,47 +435,47 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
437
435
|
"spinner--m": "_spinner--m_1ckja_824",
|
|
438
436
|
"spinner--l": "_spinner--l_1ckja_832",
|
|
439
437
|
"spinner--xl": "_spinner--xl_1ckja_836",
|
|
440
|
-
spinner__label:
|
|
438
|
+
spinner__label: l1,
|
|
441
439
|
"spinner-svg": "_spinner-svg_1ckja_856"
|
|
442
|
-
},
|
|
443
|
-
size:
|
|
444
|
-
color:
|
|
440
|
+
}, _1 = ({
|
|
441
|
+
size: e = "m",
|
|
442
|
+
color: n,
|
|
445
443
|
className: o = "",
|
|
446
|
-
label:
|
|
444
|
+
label: a,
|
|
447
445
|
labelPosition: r = "bottom"
|
|
448
446
|
}) => {
|
|
449
|
-
const
|
|
450
|
-
|
|
451
|
-
|
|
447
|
+
const l = !!a, i = [
|
|
448
|
+
f["spinner-container"],
|
|
449
|
+
l && f[`spinner-container--label-${r}`],
|
|
452
450
|
o
|
|
453
|
-
].filter(Boolean).join(" "),
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
451
|
+
].filter(Boolean).join(" "), p = [
|
|
452
|
+
f.spinner,
|
|
453
|
+
f[`spinner--${e}`],
|
|
454
|
+
f[`spinner--${n}`]
|
|
457
455
|
].filter(Boolean).join(" ");
|
|
458
|
-
return /* @__PURE__ */
|
|
459
|
-
/* @__PURE__ */
|
|
460
|
-
switch (
|
|
456
|
+
return /* @__PURE__ */ h("div", { className: i, children: [
|
|
457
|
+
/* @__PURE__ */ t("div", { className: p, children: (() => {
|
|
458
|
+
switch (e) {
|
|
461
459
|
case "xs":
|
|
462
|
-
return /* @__PURE__ */
|
|
460
|
+
return /* @__PURE__ */ t("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.0271 9.32414C11.5487 8.54345 11.8786 7.65462 11.9948 6.7298C12.0466 6.31739 11.7048 5.97912 11.2891 5.97912C10.8735 5.97912 10.5431 6.3186 10.4746 6.72857C10.1176 8.86575 8.25944 10.4946 6.02088 10.4946C3.52695 10.4946 1.50522 8.47291 1.50522 5.97898C1.50522 3.74035 3.13422 1.88219 5.27149 1.52522C5.68143 1.45675 6.02088 1.1264 6.02088 0.710787C6.02088 0.29517 5.68266 -0.0466028 5.27028 0.00521079C4.34544 0.121414 3.45658 0.451289 2.67586 0.972945C1.68573 1.63453 0.914021 2.57486 0.458315 3.67503C0.00260876 4.7752 -0.116625 5.9858 0.115692 7.15374C0.348009 8.32167 0.921443 9.39449 1.76348 10.2365C2.60551 11.0786 3.67833 11.652 4.84627 11.8843C6.0142 12.1166 7.2248 11.9974 8.32497 11.5417C9.42515 11.086 10.3655 10.3143 11.0271 9.32414Z", fill: "currentColor" }) });
|
|
463
461
|
case "s":
|
|
464
|
-
return /* @__PURE__ */
|
|
462
|
+
return /* @__PURE__ */ t("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14.7032 12.4322C15.3987 11.3913 15.8385 10.2062 15.9935 8.97307C16.0626 8.42318 15.6068 7.97216 15.0526 7.97216C14.4984 7.97216 14.0579 8.4248 13.9666 8.97142C13.4905 11.821 11.013 13.9929 8.02827 13.9929C4.70303 13.9929 2.00739 11.2972 2.00739 7.97198C2.00739 4.98714 4.17938 2.50959 7.02908 2.03363C7.57567 1.94234 8.02827 1.50187 8.02827 0.947716C8.02827 0.393559 7.5773 -0.062137 7.02747 0.00694772C5.79434 0.161886 4.60919 0.601719 3.56824 1.29726C2.24807 2.17937 1.21912 3.43315 0.611514 4.90004C0.0039056 6.36694 -0.155072 7.98107 0.154684 9.53831C0.46444 11.0956 1.22902 12.526 2.35173 13.6487C3.47444 14.7714 4.90487 15.536 6.46212 15.8457C8.01937 16.1555 9.6335 15.9965 11.1004 15.3889C12.5673 14.7813 13.8211 13.7524 14.7032 12.4322Z", fill: "currentColor" }) });
|
|
465
463
|
case "ms":
|
|
466
|
-
return /* @__PURE__ */
|
|
464
|
+
return /* @__PURE__ */ t("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M18.3789 15.5402C19.2483 14.2391 19.7981 12.7576 19.9917 11.2163C20.0781 10.5289 19.5085 9.9652 18.8157 9.9652C18.123 9.9652 17.5724 10.531 17.4583 11.2142C16.8632 14.7762 13.7663 17.4911 10.0354 17.4911C5.87883 17.4911 2.50928 14.1215 2.50928 9.96497C2.50928 6.23397 5.2242 3.13707 8.78626 2.54206C9.46949 2.42793 10.0352 1.87734 10.0352 1.18465C10.0352 0.491952 9.47151 -0.0776724 8.78421 0.00868486C7.24281 0.202359 5.76138 0.752150 4.46019 1.62157C2.80998 2.72421 1.5238 4.29143 0.764285 6.12505C0.00477522 7.95867 -0.193947 9.97633 0.193248 11.9229C0.580442 13.8695 1.53616 15.6575 2.93956 17.0609C4.34295 18.4643 6.13098 19.42 8.07754 19.8072C10.0241 20.1944 12.0418 19.9957 13.8754 19.2361C15.709 18.4766 17.2762 17.1904 18.3789 15.5402Z", fill: "currentColor" }) });
|
|
467
465
|
case "m":
|
|
468
|
-
return /* @__PURE__ */
|
|
466
|
+
return /* @__PURE__ */ t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M22.0546 18.6483C23.0978 17.0869 23.7576 15.3092 23.99 13.4596C24.0937 12.6348 23.41 11.9582 22.5787 11.9582C21.7474 11.9582 21.0867 12.6372 20.9497 13.4572C20.2357 17.7316 16.5194 20.9896 12.0422 20.9896C7.05433 20.9896 3.01087 16.9461 3.01087 11.9582C3.01087 7.48102 6.26879 3.76473 10.5433 3.05073C11.3632 2.91377 12.0422 2.253 12.0422 1.42169C12.0422 0.590385 11.3657 -0.0932215 10.5409 0.0104243C8.69121 0.242847 6.91354 0.902591 5.35215 1.94588C3.37189 3.26904 1.82847 5.14971 0.917057 7.35005C0.0056448 9.55040 -0.232822 11.9716 0.231812 14.3075C0.696446 16.6433 1.84331 18.789 3.52738 20.473C5.21145 22.1571 7.35709 23.304 9.69296 23.7686C12.0288 24.2332 14.45 23.9948 16.6504 23.0834C18.8507 22.172 20.7314 20.6285 22.0546 18.6483Z", fill: "currentColor" }) });
|
|
469
467
|
case "l":
|
|
470
|
-
return /* @__PURE__ */
|
|
468
|
+
return /* @__PURE__ */ t("svg", { width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M44.0639 37.3074C46.2418 34.048 47.5831 30.3167 47.9882 26.4427C48.1321 25.0661 46.9965 23.941 45.6124 23.941C44.2283 23.941 43.1236 25.069 42.9436 26.4414C41.7192 35.7789 33.7312 42.9877 24.0595 42.9877C13.5403 42.9877 5.0128 34.4602 5.0128 23.941C5.0128 14.2693 12.2215 6.28128 21.5591 5.05688C22.9315 4.87693 24.0595 3.77219 24.0595 2.38808C24.0595 1.00397 22.9344 -0.131586 21.5578 0.012331C17.6837 0.417347 13.9525 1.7587 10.693 3.93661C6.73656 6.58025 3.65285 10.3378 1.83188 14.734C0.0109128 19.1302 -0.465536 23.9676 0.462787 28.6346C1.39111 33.3016 3.68251 37.5885 7.04723 40.9533C10.4119 44.318 14.6989 46.6094 19.3658 47.5377C24.0328 48.466 28.8703 47.9896 33.2665 46.1686C37.6627 44.3476 41.4202 41.2639 44.0639 37.3074Z", fill: "currentColor" }) });
|
|
471
469
|
case "xl":
|
|
472
|
-
return /* @__PURE__ */
|
|
470
|
+
return /* @__PURE__ */ t("svg", { width: "64", height: "64", viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ t("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M58.7249 49.7501C61.6897 45.3129 63.4913 40.2198 63.9879 34.9378C64.1433 33.2849 62.7828 31.9361 61.1226 31.9361C59.4625 31.9361 58.1348 33.2877 57.9456 34.9371C56.4575 47.9119 45.4377 57.9884 32.0643 57.9884C17.6761 57.9884 6.01208 46.3244 6.01208 31.9361C6.01208 18.5628 16.0886 7.54293 29.0634 6.05482C30.7127 5.86565 32.0643 4.538 32.0643 2.87782C32.0643 1.21763 30.7155 -0.142833 29.0627 0.0125764C23.7807 0.509201 18.6875 2.31078 14.2504 5.2756C8.9774 8.79887 4.86764 13.8066 2.44077 19.6656C0.0138931 25.5246 -0.621088 31.9717 0.616121 38.1916C1.85333 44.4114 4.90716 50.1247 9.39144 54.609C13.8757 59.0933 19.589 62.1471 25.8089 63.3843C32.0288 64.6215 38.4758 63.9866 44.3348 61.5597C50.1938 59.1328 55.2016 55.0231 58.7249 49.7501Z", fill: "currentColor" }) });
|
|
473
471
|
default:
|
|
474
472
|
return null;
|
|
475
473
|
}
|
|
476
474
|
})() }),
|
|
477
|
-
|
|
475
|
+
a && /* @__PURE__ */ t("span", { className: f.spinner__label, "aria-hidden": "true", children: a })
|
|
478
476
|
] });
|
|
479
|
-
},
|
|
480
|
-
focus:
|
|
477
|
+
}, i1 = "_focus_1tyc7_549", c1 = "_swap_1tyc7_631", p1 = "_swap__content_1tyc7_687", u1 = "_button_1tyc7_779", d1 = "_sizeL_1tyc7_804", g1 = "_sizeM_1tyc7_808", w1 = "_sizeS_1tyc7_812", h1 = "_iconOnly_1tyc7_816", C1 = "_primary_1tyc7_828", m1 = "_disabled_1tyc7_833", v1 = "_count_1tyc7_847", x1 = "_secondary_1tyc7_851", f1 = "_ghost_1tyc7_874", y1 = "_link_1tyc7_897", b1 = "_dangerPrimary_1tyc7_926", L1 = "_dangerSecondary_1tyc7_952", k1 = "_dangerGhost_1tyc7_978", j1 = "_dangerLink_1tyc7_1004", V1 = "_open_1tyc7_1031", M1 = "_content_1tyc7_1043", N1 = "_loader_1tyc7_1048", H1 = "_text_1tyc7_1054", R1 = "_icon_1tyc7_816", Z1 = "_chevron_1tyc7_1081", B1 = "_loading_1tyc7_1109", s = {
|
|
478
|
+
focus: i1,
|
|
481
479
|
"focus--default": "_focus--default_1tyc7_566",
|
|
482
480
|
"focus--danger": "_focus--danger_1tyc7_570",
|
|
483
481
|
"focus--visible": "_focus--visible_1tyc7_576",
|
|
@@ -487,7 +485,7 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
487
485
|
"focus--input": "_focus--input_1tyc7_606",
|
|
488
486
|
"focus--button": "_focus--button_1tyc7_611",
|
|
489
487
|
"focus--card": "_focus--card_1tyc7_616",
|
|
490
|
-
swap:
|
|
488
|
+
swap: c1,
|
|
491
489
|
"swap--text": "_swap--text_1tyc7_640",
|
|
492
490
|
"swap--icon": "_swap--icon_1tyc7_651",
|
|
493
491
|
"swap--icon-xs": "_swap--icon-xs_1tyc7_661",
|
|
@@ -495,36 +493,36 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
495
493
|
"swap--icon-m": "_swap--icon-m_1tyc7_671",
|
|
496
494
|
"swap--icon-l": "_swap--icon-l_1tyc7_676",
|
|
497
495
|
"swap--icon-xl": "_swap--icon-xl_1tyc7_681",
|
|
498
|
-
swap__content:
|
|
496
|
+
swap__content: p1,
|
|
499
497
|
"swap--group-horizontal": "_swap--group-horizontal_1tyc7_696",
|
|
500
498
|
"swap--group-vertical": "_swap--group-vertical_1tyc7_703",
|
|
501
499
|
"swap--with-background": "_swap--with-background_1tyc7_711",
|
|
502
500
|
"swap--with-border": "_swap--with-border_1tyc7_717",
|
|
503
501
|
"swap--interactive": "_swap--interactive_1tyc7_725",
|
|
504
|
-
button:
|
|
505
|
-
sizeL:
|
|
506
|
-
sizeM:
|
|
507
|
-
sizeS:
|
|
508
|
-
iconOnly:
|
|
509
|
-
primary:
|
|
510
|
-
disabled:
|
|
511
|
-
count:
|
|
512
|
-
secondary:
|
|
513
|
-
ghost:
|
|
502
|
+
button: u1,
|
|
503
|
+
sizeL: d1,
|
|
504
|
+
sizeM: g1,
|
|
505
|
+
sizeS: w1,
|
|
506
|
+
iconOnly: h1,
|
|
507
|
+
primary: C1,
|
|
508
|
+
disabled: m1,
|
|
509
|
+
count: v1,
|
|
510
|
+
secondary: x1,
|
|
511
|
+
ghost: f1,
|
|
514
512
|
link: y1,
|
|
515
|
-
dangerPrimary:
|
|
516
|
-
dangerSecondary:
|
|
517
|
-
dangerGhost:
|
|
518
|
-
dangerLink:
|
|
519
|
-
open:
|
|
520
|
-
content:
|
|
521
|
-
loader:
|
|
522
|
-
text:
|
|
523
|
-
icon:
|
|
513
|
+
dangerPrimary: b1,
|
|
514
|
+
dangerSecondary: L1,
|
|
515
|
+
dangerGhost: k1,
|
|
516
|
+
dangerLink: j1,
|
|
517
|
+
open: V1,
|
|
518
|
+
content: M1,
|
|
519
|
+
loader: N1,
|
|
520
|
+
text: H1,
|
|
521
|
+
icon: R1,
|
|
524
522
|
chevron: Z1,
|
|
525
|
-
loading:
|
|
526
|
-
},
|
|
527
|
-
switch (
|
|
523
|
+
loading: B1
|
|
524
|
+
}, $1 = (e) => {
|
|
525
|
+
switch (e) {
|
|
528
526
|
case "l":
|
|
529
527
|
return "m";
|
|
530
528
|
case "m":
|
|
@@ -534,85 +532,244 @@ const W = "_focus_pvl5h_549", P = "_swap_pvl5h_631", O = "_swap__content_pvl5h_6
|
|
|
534
532
|
default:
|
|
535
533
|
return "s";
|
|
536
534
|
}
|
|
537
|
-
},
|
|
538
|
-
(
|
|
535
|
+
}, S1 = c(
|
|
536
|
+
(e, n) => {
|
|
539
537
|
const {
|
|
540
538
|
size: o = "m",
|
|
541
|
-
variant:
|
|
539
|
+
variant: a = "primary",
|
|
542
540
|
disabled: r = !1,
|
|
543
|
-
loading:
|
|
544
|
-
active:
|
|
545
|
-
open:
|
|
546
|
-
className:
|
|
547
|
-
children:
|
|
541
|
+
loading: l = !1,
|
|
542
|
+
active: i = !1,
|
|
543
|
+
open: p = !1,
|
|
544
|
+
className: g = "",
|
|
545
|
+
children: C,
|
|
548
546
|
icon: u,
|
|
549
|
-
iconPosition:
|
|
550
|
-
tooltip:
|
|
551
|
-
count:
|
|
552
|
-
withChevron:
|
|
553
|
-
href:
|
|
554
|
-
...
|
|
555
|
-
} =
|
|
547
|
+
iconPosition: m = "left",
|
|
548
|
+
tooltip: x,
|
|
549
|
+
count: _,
|
|
550
|
+
withChevron: d = !1,
|
|
551
|
+
href: b,
|
|
552
|
+
...L
|
|
553
|
+
} = e, k = m === "only" || !C && u, H = d && !k, j = [
|
|
556
554
|
s.button,
|
|
557
555
|
s[`size${o.toUpperCase()}`],
|
|
558
|
-
s[
|
|
556
|
+
s[a],
|
|
559
557
|
r && s.disabled,
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
].filter(Boolean).join(" "),
|
|
566
|
-
/* @__PURE__ */
|
|
567
|
-
u &&
|
|
568
|
-
|
|
569
|
-
u &&
|
|
570
|
-
|
|
571
|
-
|
|
558
|
+
l && s.loading,
|
|
559
|
+
i && s.active,
|
|
560
|
+
p && s.open,
|
|
561
|
+
k && s.iconOnly,
|
|
562
|
+
g
|
|
563
|
+
].filter(Boolean).join(" "), V = () => /* @__PURE__ */ h(B, { children: [
|
|
564
|
+
/* @__PURE__ */ h("span", { className: s.content, children: [
|
|
565
|
+
u && m !== "right" && /* @__PURE__ */ t("span", { className: s.icon, children: u }),
|
|
566
|
+
C && /* @__PURE__ */ t("span", { className: s.text, children: C }),
|
|
567
|
+
u && m === "right" && /* @__PURE__ */ t("span", { className: s.icon, children: u }),
|
|
568
|
+
H && /* @__PURE__ */ t("span", { className: s.chevron }),
|
|
569
|
+
_ !== void 0 && /* @__PURE__ */ t("span", { className: s.count, children: _ > 99 ? "+99" : _ })
|
|
572
570
|
] }),
|
|
573
|
-
|
|
571
|
+
l && /* @__PURE__ */ t("span", { className: s.loader, children: /* @__PURE__ */ t(_1, { size: $1(o) }) })
|
|
574
572
|
] });
|
|
575
|
-
if (
|
|
576
|
-
const
|
|
577
|
-
return r ||
|
|
573
|
+
if (b) {
|
|
574
|
+
const M = L;
|
|
575
|
+
return r || l ? /* @__PURE__ */ t("span", { className: j, ...M, children: V() }) : /* @__PURE__ */ t(
|
|
578
576
|
"a",
|
|
579
577
|
{
|
|
580
|
-
ref:
|
|
581
|
-
href:
|
|
582
|
-
className:
|
|
583
|
-
...
|
|
584
|
-
children:
|
|
578
|
+
ref: n,
|
|
579
|
+
href: b,
|
|
580
|
+
className: j,
|
|
581
|
+
...M,
|
|
582
|
+
children: V()
|
|
585
583
|
}
|
|
586
584
|
);
|
|
587
585
|
}
|
|
588
|
-
const { type:
|
|
589
|
-
return /* @__PURE__ */
|
|
586
|
+
const { type: R = "button", ...Z } = L;
|
|
587
|
+
return /* @__PURE__ */ t(
|
|
590
588
|
"button",
|
|
591
589
|
{
|
|
592
|
-
ref:
|
|
593
|
-
type:
|
|
594
|
-
className:
|
|
595
|
-
disabled: r ||
|
|
596
|
-
"aria-label":
|
|
597
|
-
...
|
|
598
|
-
children:
|
|
590
|
+
ref: n,
|
|
591
|
+
type: R,
|
|
592
|
+
className: j,
|
|
593
|
+
disabled: r || l,
|
|
594
|
+
"aria-label": k && x ? x : void 0,
|
|
595
|
+
...Z,
|
|
596
|
+
children: V()
|
|
599
597
|
}
|
|
600
598
|
);
|
|
601
599
|
}
|
|
602
600
|
);
|
|
603
|
-
|
|
601
|
+
S1.displayName = "Button";
|
|
602
|
+
function N(e) {
|
|
603
|
+
var n, o, a = "";
|
|
604
|
+
if (typeof e == "string" || typeof e == "number") a += e;
|
|
605
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
606
|
+
var r = e.length;
|
|
607
|
+
for (n = 0; n < r; n++) e[n] && (o = N(e[n])) && (a && (a += " "), a += o);
|
|
608
|
+
} else for (o in e) e[o] && (a && (a += " "), a += o);
|
|
609
|
+
return a;
|
|
610
|
+
}
|
|
611
|
+
function G1() {
|
|
612
|
+
for (var e, n, o = 0, a = "", r = arguments.length; o < r; o++) (e = arguments[o]) && (n = N(e)) && (a && (a += " "), a += n);
|
|
613
|
+
return a;
|
|
614
|
+
}
|
|
615
|
+
const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w9_687", T1 = "_typography_1n4w9_779", P1 = "_truncate_1n4w9_990", v = {
|
|
616
|
+
focus: I1,
|
|
617
|
+
"focus--default": "_focus--default_1n4w9_566",
|
|
618
|
+
"focus--danger": "_focus--danger_1n4w9_570",
|
|
619
|
+
"focus--visible": "_focus--visible_1n4w9_576",
|
|
620
|
+
"focus-danger": "_focus-danger_1n4w9_591",
|
|
621
|
+
"focus-within--default": "_focus-within--default_1n4w9_597",
|
|
622
|
+
"focus-within--danger": "_focus-within--danger_1n4w9_601",
|
|
623
|
+
"focus--input": "_focus--input_1n4w9_606",
|
|
624
|
+
"focus--button": "_focus--button_1n4w9_611",
|
|
625
|
+
"focus--card": "_focus--card_1n4w9_616",
|
|
626
|
+
swap: z1,
|
|
627
|
+
"swap--text": "_swap--text_1n4w9_640",
|
|
628
|
+
"swap--icon": "_swap--icon_1n4w9_651",
|
|
629
|
+
"swap--icon-xs": "_swap--icon-xs_1n4w9_661",
|
|
630
|
+
"swap--icon-s": "_swap--icon-s_1n4w9_666",
|
|
631
|
+
"swap--icon-m": "_swap--icon-m_1n4w9_671",
|
|
632
|
+
"swap--icon-l": "_swap--icon-l_1n4w9_676",
|
|
633
|
+
"swap--icon-xl": "_swap--icon-xl_1n4w9_681",
|
|
634
|
+
swap__content: A1,
|
|
635
|
+
"swap--group-horizontal": "_swap--group-horizontal_1n4w9_696",
|
|
636
|
+
"swap--group-vertical": "_swap--group-vertical_1n4w9_703",
|
|
637
|
+
"swap--with-background": "_swap--with-background_1n4w9_711",
|
|
638
|
+
"swap--with-border": "_swap--with-border_1n4w9_717",
|
|
639
|
+
"swap--interactive": "_swap--interactive_1n4w9_725",
|
|
640
|
+
typography: T1,
|
|
641
|
+
"align-left": "_align-left_1n4w9_785",
|
|
642
|
+
"align-center": "_align-center_1n4w9_789",
|
|
643
|
+
"align-right": "_align-right_1n4w9_793",
|
|
644
|
+
"align-inherit": "_align-inherit_1n4w9_797",
|
|
645
|
+
"headline-xl": "_headline-xl_1n4w9_801",
|
|
646
|
+
"headline-l": "_headline-l_1n4w9_808",
|
|
647
|
+
"headline-ml": "_headline-ml_1n4w9_815",
|
|
648
|
+
"headline-m": "_headline-m_1n4w9_815",
|
|
649
|
+
"headline-s": "_headline-s_1n4w9_829",
|
|
650
|
+
"headline-xs": "_headline-xs_1n4w9_836",
|
|
651
|
+
"text-long-l-regular": "_text-long-l-regular_1n4w9_843",
|
|
652
|
+
"text-long-m-regular": "_text-long-m-regular_1n4w9_849",
|
|
653
|
+
"text-long-s-regular": "_text-long-s-regular_1n4w9_855",
|
|
654
|
+
"text-long-xs-regular": "_text-long-xs-regular_1n4w9_861",
|
|
655
|
+
"text-long-l-medium": "_text-long-l-medium_1n4w9_867",
|
|
656
|
+
"text-long-m-medium": "_text-long-m-medium_1n4w9_873",
|
|
657
|
+
"text-long-s-medium": "_text-long-s-medium_1n4w9_879",
|
|
658
|
+
"text-long-xs-medium": "_text-long-xs-medium_1n4w9_885",
|
|
659
|
+
"text-long-l-bold": "_text-long-l-bold_1n4w9_891",
|
|
660
|
+
"text-long-m-bold": "_text-long-m-bold_1n4w9_897",
|
|
661
|
+
"text-long-s-bold": "_text-long-s-bold_1n4w9_903",
|
|
662
|
+
"text-short-m-regular": "_text-short-m-regular_1n4w9_909",
|
|
663
|
+
"text-short-s-regular": "_text-short-s-regular_1n4w9_915",
|
|
664
|
+
"text-short-xs-regular": "_text-short-xs-regular_1n4w9_921",
|
|
665
|
+
"text-short-2xs-regular": "_text-short-2xs-regular_1n4w9_927",
|
|
666
|
+
"text-short-m-medium": "_text-short-m-medium_1n4w9_933",
|
|
667
|
+
"text-short-s-medium": "_text-short-s-medium_1n4w9_939",
|
|
668
|
+
"text-short-xs-medium": "_text-short-xs-medium_1n4w9_945",
|
|
669
|
+
"text-short-m-bold": "_text-short-m-bold_1n4w9_951",
|
|
670
|
+
"text-short-s-bold": "_text-short-s-bold_1n4w9_957",
|
|
671
|
+
"regular-link": "_regular-link_1n4w9_973",
|
|
672
|
+
"small-link": "_small-link_1n4w9_974",
|
|
673
|
+
truncate: P1,
|
|
674
|
+
"multiline-truncate": "_multiline-truncate_1n4w9_996",
|
|
675
|
+
"no-wrap": "_no-wrap_1n4w9_1003",
|
|
676
|
+
"break-word": "_break-word_1n4w9_1007"
|
|
677
|
+
}, O1 = {
|
|
678
|
+
// Headlines
|
|
679
|
+
"headline-xl": "headline-xl",
|
|
680
|
+
"headline-l": "headline-l",
|
|
681
|
+
"headline-ml": "headline-ml",
|
|
682
|
+
"headline-m": "headline-m",
|
|
683
|
+
"headline-s": "headline-s",
|
|
684
|
+
"headline-xs": "headline-xs",
|
|
685
|
+
// Text Long (Regular)
|
|
686
|
+
"text-long-l-regular": "text-long-l-regular",
|
|
687
|
+
"text-long-m-regular": "text-long-m-regular",
|
|
688
|
+
"text-long-s-regular": "text-long-s-regular",
|
|
689
|
+
"text-long-xs-regular": "text-long-xs-regular",
|
|
690
|
+
// Text Long (Medium)
|
|
691
|
+
"text-long-l-medium": "text-long-l-medium",
|
|
692
|
+
"text-long-m-medium": "text-long-m-medium",
|
|
693
|
+
"text-long-s-medium": "text-long-s-medium",
|
|
694
|
+
"text-long-xs-medium": "text-long-xs-medium",
|
|
695
|
+
// Text Long (Bold)
|
|
696
|
+
"text-long-l-bold": "text-long-l-bold",
|
|
697
|
+
"text-long-m-bold": "text-long-m-bold",
|
|
698
|
+
"text-long-s-bold": "text-long-s-bold",
|
|
699
|
+
// Text Short (Regular)
|
|
700
|
+
"text-short-m-regular": "text-short-m-regular",
|
|
701
|
+
"text-short-s-regular": "text-short-s-regular",
|
|
702
|
+
"text-short-xs-regular": "text-short-xs-regular",
|
|
703
|
+
"text-short-2xs-regular": "text-short-2xs-regular",
|
|
704
|
+
// Text Short (Medium)
|
|
705
|
+
"text-short-m-medium": "text-short-m-medium",
|
|
706
|
+
"text-short-s-medium": "text-short-s-medium",
|
|
707
|
+
"text-short-xs-medium": "text-short-xs-medium",
|
|
708
|
+
// Text Short (Bold)
|
|
709
|
+
"text-short-m-bold": "text-short-m-bold",
|
|
710
|
+
"text-short-s-bold": "text-short-s-bold",
|
|
711
|
+
H1: "headline-xl",
|
|
712
|
+
H2: "headline-l",
|
|
713
|
+
H3: "headline-ml",
|
|
714
|
+
Large: "text-long-l-regular",
|
|
715
|
+
RegularText16: "text-long-m-regular",
|
|
716
|
+
RegularText14: "text-long-s-regular",
|
|
717
|
+
MediumText14: "text-long-s-medium",
|
|
718
|
+
BoldText16: "text-long-m-bold",
|
|
719
|
+
BoldText14: "text-long-s-bold",
|
|
720
|
+
SemiBoldSmallText: "text-short-s-medium",
|
|
721
|
+
SmallText: "text-short-s-regular",
|
|
722
|
+
RegularLink: "text-long-m-regular",
|
|
723
|
+
SmallLink: "text-short-s-regular"
|
|
724
|
+
}, W1 = c(
|
|
725
|
+
(e, n) => {
|
|
726
|
+
const {
|
|
727
|
+
as: o = "p",
|
|
728
|
+
children: a,
|
|
729
|
+
className: r,
|
|
730
|
+
textAlign: l = "left",
|
|
731
|
+
variant: i = "text-long-m-regular",
|
|
732
|
+
truncate: p = !1,
|
|
733
|
+
multilineTruncate: g = !1,
|
|
734
|
+
noWrap: C = !1,
|
|
735
|
+
breakWord: u = !1,
|
|
736
|
+
...m
|
|
737
|
+
} = e, x = O1[i], _ = G1(
|
|
738
|
+
v.typography,
|
|
739
|
+
v[x],
|
|
740
|
+
v[`align-${l}`],
|
|
741
|
+
{
|
|
742
|
+
[v.truncate]: p,
|
|
743
|
+
[v.multilineTruncate]: g,
|
|
744
|
+
[v.noWrap]: C,
|
|
745
|
+
[v.breakWord]: u
|
|
746
|
+
},
|
|
747
|
+
r
|
|
748
|
+
);
|
|
749
|
+
return D1(o, {
|
|
750
|
+
className: _,
|
|
751
|
+
ref: n,
|
|
752
|
+
...m
|
|
753
|
+
}, a);
|
|
754
|
+
}
|
|
755
|
+
);
|
|
756
|
+
function D1(e, n, o) {
|
|
757
|
+
return $.createElement(e, n, o);
|
|
758
|
+
}
|
|
759
|
+
W1.displayName = "Typography";
|
|
604
760
|
export {
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
761
|
+
S as AlertsBellIcon,
|
|
762
|
+
G as ArrowChevronLeftIcon,
|
|
763
|
+
I as ArrowChevronRightIcon,
|
|
764
|
+
Y as Avatar,
|
|
765
|
+
q1 as AvatarGroup,
|
|
766
|
+
E1 as AvatarWithCssBorder,
|
|
767
|
+
S1 as Button,
|
|
768
|
+
z as ImagePhotoIcon,
|
|
769
|
+
A as ImagePhotoOutline,
|
|
770
|
+
T as MathSymbolsAddSquareV2Icon,
|
|
771
|
+
_1 as Spinner,
|
|
772
|
+
P as SwapIcon,
|
|
773
|
+
O as TimeCalendarV2Icon,
|
|
774
|
+
W1 as Typography
|
|
618
775
|
};
|