@post-pioneer/ui-kit 0.1.31 → 0.1.33
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 +382 -273
- package/dist/ui-kit-postpioneer.umd.js +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import
|
|
3
|
-
const S =
|
|
4
|
-
({ width: e = "12", height: n = "14", color:
|
|
1
|
+
import { jsx as t, jsxs as v, Fragment as B } from "react/jsx-runtime";
|
|
2
|
+
import z, { forwardRef as u } from "react";
|
|
3
|
+
const S = u(
|
|
4
|
+
({ width: e = "12", height: n = "14", color: a = "currentColor", ...o }, r) => /* @__PURE__ */ t(
|
|
5
5
|
"svg",
|
|
6
6
|
{
|
|
7
7
|
ref: r,
|
|
@@ -9,9 +9,9 @@ const S = c(
|
|
|
9
9
|
height: n,
|
|
10
10
|
viewBox: "0 0 16 16",
|
|
11
11
|
fill: "none",
|
|
12
|
-
color:
|
|
12
|
+
color: a,
|
|
13
13
|
xmlns: "http://www.w3.org/2000/svg",
|
|
14
|
-
...
|
|
14
|
+
...o,
|
|
15
15
|
children: /* @__PURE__ */ t(
|
|
16
16
|
"path",
|
|
17
17
|
{
|
|
@@ -25,8 +25,8 @@ const S = c(
|
|
|
25
25
|
)
|
|
26
26
|
);
|
|
27
27
|
S.displayName = "AlertsBellIcon";
|
|
28
|
-
const G =
|
|
29
|
-
({ width: e = "6", height: n = "10", color:
|
|
28
|
+
const G = u(
|
|
29
|
+
({ width: e = "6", height: n = "10", color: a = "currentColor", ...o }, r) => /* @__PURE__ */ t(
|
|
30
30
|
"svg",
|
|
31
31
|
{
|
|
32
32
|
ref: r,
|
|
@@ -34,9 +34,9 @@ const G = c(
|
|
|
34
34
|
height: n,
|
|
35
35
|
viewBox: "0 0 6 10",
|
|
36
36
|
fill: "none",
|
|
37
|
-
color:
|
|
37
|
+
color: a,
|
|
38
38
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39
|
-
...
|
|
39
|
+
...o,
|
|
40
40
|
children: /* @__PURE__ */ t(
|
|
41
41
|
"path",
|
|
42
42
|
{
|
|
@@ -48,8 +48,8 @@ const G = c(
|
|
|
48
48
|
)
|
|
49
49
|
);
|
|
50
50
|
G.displayName = "ArrowChevronLeftIcon";
|
|
51
|
-
const I =
|
|
52
|
-
({ width: e = "6", height: n = "10", color:
|
|
51
|
+
const I = u(
|
|
52
|
+
({ width: e = "6", height: n = "10", color: a = "currentColor", ...o }, r) => /* @__PURE__ */ t(
|
|
53
53
|
"svg",
|
|
54
54
|
{
|
|
55
55
|
ref: r,
|
|
@@ -57,9 +57,9 @@ const I = c(
|
|
|
57
57
|
height: n,
|
|
58
58
|
viewBox: "0 0 6 10",
|
|
59
59
|
fill: "none",
|
|
60
|
-
color:
|
|
60
|
+
color: a,
|
|
61
61
|
xmlns: "http://www.w3.org/2000/svg",
|
|
62
|
-
...
|
|
62
|
+
...o,
|
|
63
63
|
children: /* @__PURE__ */ t(
|
|
64
64
|
"path",
|
|
65
65
|
{
|
|
@@ -71,8 +71,8 @@ const I = c(
|
|
|
71
71
|
)
|
|
72
72
|
);
|
|
73
73
|
I.displayName = "ArrowChevronRightIcon";
|
|
74
|
-
const
|
|
75
|
-
({ width: e = "16", height: n = "16", color:
|
|
74
|
+
const A = u(
|
|
75
|
+
({ width: e = "16", height: n = "16", color: a = "currentColor", ...o }, r) => /* @__PURE__ */ t(
|
|
76
76
|
"svg",
|
|
77
77
|
{
|
|
78
78
|
ref: r,
|
|
@@ -80,9 +80,9 @@ const z = c(
|
|
|
80
80
|
height: n,
|
|
81
81
|
viewBox: "0 0 16 16",
|
|
82
82
|
fill: "none",
|
|
83
|
-
color:
|
|
83
|
+
color: a,
|
|
84
84
|
xmlns: "http://www.w3.org/2000/svg",
|
|
85
|
-
...
|
|
85
|
+
...o,
|
|
86
86
|
children: /* @__PURE__ */ t(
|
|
87
87
|
"path",
|
|
88
88
|
{
|
|
@@ -95,9 +95,9 @@ const z = c(
|
|
|
95
95
|
}
|
|
96
96
|
)
|
|
97
97
|
);
|
|
98
|
-
|
|
99
|
-
const
|
|
100
|
-
({ width: e = "12", height: n = "14", color:
|
|
98
|
+
A.displayName = "ImagePhotoIcon";
|
|
99
|
+
const T = u(
|
|
100
|
+
({ width: e = "12", height: n = "14", color: a = "currentColor", ...o }, r) => /* @__PURE__ */ t(
|
|
101
101
|
"svg",
|
|
102
102
|
{
|
|
103
103
|
ref: r,
|
|
@@ -105,9 +105,9 @@ const A = c(
|
|
|
105
105
|
height: n,
|
|
106
106
|
viewBox: "0 0 16 16",
|
|
107
107
|
fill: "none",
|
|
108
|
-
color:
|
|
108
|
+
color: a,
|
|
109
109
|
xmlns: "http://www.w3.org/2000/svg",
|
|
110
|
-
...
|
|
110
|
+
...o,
|
|
111
111
|
children: /* @__PURE__ */ t(
|
|
112
112
|
"path",
|
|
113
113
|
{
|
|
@@ -120,9 +120,34 @@ const A = c(
|
|
|
120
120
|
}
|
|
121
121
|
)
|
|
122
122
|
);
|
|
123
|
-
|
|
124
|
-
const
|
|
125
|
-
({ width: e = "
|
|
123
|
+
T.displayName = "ImagePhotoOutline";
|
|
124
|
+
const O = u(
|
|
125
|
+
({ width: e = "24", height: n = "24", color: a = "currentColor", ...o }, r) => /* @__PURE__ */ t(
|
|
126
|
+
"svg",
|
|
127
|
+
{
|
|
128
|
+
ref: r,
|
|
129
|
+
width: e,
|
|
130
|
+
height: n,
|
|
131
|
+
viewBox: "0 0 24 24",
|
|
132
|
+
fill: "none",
|
|
133
|
+
color: a,
|
|
134
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
135
|
+
...o,
|
|
136
|
+
children: /* @__PURE__ */ t(
|
|
137
|
+
"path",
|
|
138
|
+
{
|
|
139
|
+
"fill-rule": "evenodd",
|
|
140
|
+
"clip-rule": "evenodd",
|
|
141
|
+
d: "M21.1084 20.1522C20.5387 20.6959 19.7676 21 18.9652 21L15.2382 21C14.7383 21 14.333 20.6101 14.333 20.129C14.333 19.648 14.7383 19.2581 15.2382 19.2581L18.9652 19.2581C19.2924 19.2581 19.6047 19.134 19.8338 18.9154C20.0626 18.697 20.1897 18.4024 20.1897 18.0968L20.1897 5.90323C20.1897 5.5976 20.0626 5.303 19.8338 5.08464C19.6047 4.86604 19.2924 4.74194 18.9652 4.74194L15.2382 4.74194C14.7383 4.74194 14.333 4.35199 14.333 3.87097C14.333 3.38995 14.7383 3 15.2382 3L18.9652 3C19.7676 3 20.5387 3.30412 21.1084 3.84776C21.6784 4.39165 22 5.13088 22 5.90323L22 18.0968C22 18.8691 21.6784 19.6083 21.1084 20.1522ZM8.1416 17.275C7.78013 17.6072 7.20719 17.5946 6.86189 17.2468L2.25062 12.6016C1.91646 12.265 1.91646 11.735 2.25062 11.3984L6.86189 6.75323C7.20719 6.4054 7.78013 6.39278 8.1416 6.72504C8.50307 7.0573 8.51619 7.60862 8.1709 7.95645L5.02146 11.129L14.9735 11.129C15.4734 11.129 15.8786 11.519 15.8786 12C15.8786 12.481 15.4734 12.871 14.9735 12.871L5.02146 12.871L8.1709 16.0435C8.51619 16.3914 8.50307 16.9427 8.1416 17.275Z",
|
|
142
|
+
fill: "currentColor"
|
|
143
|
+
}
|
|
144
|
+
)
|
|
145
|
+
}
|
|
146
|
+
)
|
|
147
|
+
);
|
|
148
|
+
O.displayName = "LogoutV1Outline";
|
|
149
|
+
const P = u(
|
|
150
|
+
({ width: e = "16", height: n = "16", color: a = "currentColor", ...o }, r) => /* @__PURE__ */ t(
|
|
126
151
|
"svg",
|
|
127
152
|
{
|
|
128
153
|
ref: r,
|
|
@@ -130,10 +155,10 @@ const T = c(
|
|
|
130
155
|
height: n,
|
|
131
156
|
viewBox: "0 0 16 16",
|
|
132
157
|
fill: "none",
|
|
133
|
-
color:
|
|
158
|
+
color: a,
|
|
134
159
|
xmlns: "http://www.w3.org/2000/svg",
|
|
135
|
-
...
|
|
136
|
-
children: /* @__PURE__ */
|
|
160
|
+
...o,
|
|
161
|
+
children: /* @__PURE__ */ v("g", { opacity: "0.9", children: [
|
|
137
162
|
/* @__PURE__ */ t(
|
|
138
163
|
"path",
|
|
139
164
|
{
|
|
@@ -154,19 +179,19 @@ const T = c(
|
|
|
154
179
|
}
|
|
155
180
|
)
|
|
156
181
|
);
|
|
157
|
-
|
|
158
|
-
const
|
|
159
|
-
({ size: e = 16, color: n = "currentColor", ...
|
|
182
|
+
P.displayName = "MathSymbolsAddSquareV2Icon";
|
|
183
|
+
const W = u(
|
|
184
|
+
({ size: e = 16, color: n = "currentColor", ...a }, o) => /* @__PURE__ */ t(
|
|
160
185
|
"svg",
|
|
161
186
|
{
|
|
162
|
-
ref:
|
|
187
|
+
ref: o,
|
|
163
188
|
width: e,
|
|
164
189
|
height: e,
|
|
165
190
|
viewBox: "0 0 16 16",
|
|
166
191
|
color: n,
|
|
167
192
|
fill: "none",
|
|
168
193
|
xmlns: "http://www.w3.org/2000/svg",
|
|
169
|
-
...
|
|
194
|
+
...a,
|
|
170
195
|
children: /* @__PURE__ */ t(
|
|
171
196
|
"path",
|
|
172
197
|
{
|
|
@@ -179,9 +204,9 @@ const P = c(
|
|
|
179
204
|
}
|
|
180
205
|
)
|
|
181
206
|
);
|
|
182
|
-
|
|
183
|
-
const
|
|
184
|
-
({ width: e = "16", height: n = "16", color:
|
|
207
|
+
W.displayName = "SwapIcon";
|
|
208
|
+
const D = u(
|
|
209
|
+
({ width: e = "16", height: n = "16", color: a = "currentColor", ...o }, r) => /* @__PURE__ */ t(
|
|
185
210
|
"svg",
|
|
186
211
|
{
|
|
187
212
|
ref: r,
|
|
@@ -190,68 +215,69 @@ const O = c(
|
|
|
190
215
|
viewBox: "0 0 16 16",
|
|
191
216
|
fill: "none",
|
|
192
217
|
xmlns: "http://www.w3.org/2000/svg",
|
|
193
|
-
|
|
194
|
-
|
|
218
|
+
color: a,
|
|
219
|
+
...o,
|
|
220
|
+
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", fill: "currentColor" })
|
|
195
221
|
}
|
|
196
222
|
)
|
|
197
223
|
);
|
|
198
|
-
|
|
199
|
-
const
|
|
200
|
-
focus:
|
|
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
|
-
avatar__wrapper:
|
|
233
|
-
avatar__content:
|
|
234
|
-
avatar__image:
|
|
235
|
-
avatar__initials:
|
|
236
|
-
avatar__placeholder:
|
|
237
|
-
avatar__status:
|
|
238
|
-
},
|
|
224
|
+
D.displayName = "TimeCalendarV2Icon";
|
|
225
|
+
const F = "_focus_ojhug_549", U = "_swap_ojhug_631", q = "_swap__content_ojhug_687", E = "_avatar_ojhug_779", J = "_avatar__wrapper_ojhug_831", K = "_avatar__content_ojhug_836", Q = "_avatar__image_ojhug_846", X = "_avatar__initials_ojhug_852", Y = "_avatar__placeholder_ojhug_881", e1 = "_avatar__status_ojhug_912", h = {
|
|
226
|
+
focus: F,
|
|
227
|
+
"focus--default": "_focus--default_ojhug_566",
|
|
228
|
+
"focus--danger": "_focus--danger_ojhug_570",
|
|
229
|
+
"focus--visible": "_focus--visible_ojhug_576",
|
|
230
|
+
"focus-danger": "_focus-danger_ojhug_591",
|
|
231
|
+
"focus-within--default": "_focus-within--default_ojhug_597",
|
|
232
|
+
"focus-within--danger": "_focus-within--danger_ojhug_601",
|
|
233
|
+
"focus--input": "_focus--input_ojhug_606",
|
|
234
|
+
"focus--button": "_focus--button_ojhug_611",
|
|
235
|
+
"focus--card": "_focus--card_ojhug_616",
|
|
236
|
+
swap: U,
|
|
237
|
+
"swap--text": "_swap--text_ojhug_640",
|
|
238
|
+
"swap--icon": "_swap--icon_ojhug_651",
|
|
239
|
+
"swap--icon-xs": "_swap--icon-xs_ojhug_661",
|
|
240
|
+
"swap--icon-s": "_swap--icon-s_ojhug_666",
|
|
241
|
+
"swap--icon-m": "_swap--icon-m_ojhug_671",
|
|
242
|
+
"swap--icon-l": "_swap--icon-l_ojhug_676",
|
|
243
|
+
"swap--icon-xl": "_swap--icon-xl_ojhug_681",
|
|
244
|
+
swap__content: q,
|
|
245
|
+
"swap--group-horizontal": "_swap--group-horizontal_ojhug_696",
|
|
246
|
+
"swap--group-vertical": "_swap--group-vertical_ojhug_703",
|
|
247
|
+
"swap--with-background": "_swap--with-background_ojhug_711",
|
|
248
|
+
"swap--with-border": "_swap--with-border_ojhug_717",
|
|
249
|
+
"swap--interactive": "_swap--interactive_ojhug_725",
|
|
250
|
+
avatar: E,
|
|
251
|
+
"avatar--xs": "_avatar--xs_ojhug_790",
|
|
252
|
+
"avatar--s": "_avatar--s_ojhug_796",
|
|
253
|
+
"avatar--m": "_avatar--m_ojhug_802",
|
|
254
|
+
"avatar--l": "_avatar--l_ojhug_808",
|
|
255
|
+
"avatar--xl": "_avatar--xl_ojhug_814",
|
|
256
|
+
"avatar--xxl": "_avatar--xxl_ojhug_820",
|
|
257
|
+
"avatar--bordered": "_avatar--bordered_ojhug_826",
|
|
258
|
+
avatar__wrapper: J,
|
|
259
|
+
avatar__content: K,
|
|
260
|
+
avatar__image: Q,
|
|
261
|
+
avatar__initials: X,
|
|
262
|
+
avatar__placeholder: Y,
|
|
263
|
+
avatar__status: e1
|
|
264
|
+
}, t1 = ({
|
|
239
265
|
src: e,
|
|
240
266
|
name: n,
|
|
241
|
-
size:
|
|
242
|
-
status:
|
|
267
|
+
size: a = "s",
|
|
268
|
+
status: o = null,
|
|
243
269
|
bordered: r = !1,
|
|
244
|
-
backgroundColor:
|
|
245
|
-
className:
|
|
246
|
-
onError:
|
|
270
|
+
backgroundColor: s,
|
|
271
|
+
className: _ = "",
|
|
272
|
+
onError: l
|
|
247
273
|
}) => {
|
|
248
|
-
const
|
|
249
|
-
const
|
|
250
|
-
return
|
|
251
|
-
},
|
|
252
|
-
if (
|
|
274
|
+
const c = (d) => {
|
|
275
|
+
const g = d.trim().split(" ");
|
|
276
|
+
return g.length === 1 ? g[0].charAt(0).toUpperCase() : `${g[0].charAt(0)}${g[g.length - 1].charAt(0)}`.toUpperCase();
|
|
277
|
+
}, p = () => {
|
|
278
|
+
if (s) return s;
|
|
253
279
|
if (n) {
|
|
254
|
-
const
|
|
280
|
+
const d = [
|
|
255
281
|
"var(--color-blue-gray-600)",
|
|
256
282
|
"var(--color-indigo-600)",
|
|
257
283
|
"var(--color-success-600)",
|
|
@@ -268,43 +294,43 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
268
294
|
"var(--color-yellow-600)",
|
|
269
295
|
"var(--color-rose-600)",
|
|
270
296
|
"var(--color-pink-600)"
|
|
271
|
-
],
|
|
272
|
-
return
|
|
297
|
+
], g = n.split("").reduce((j, L) => j + L.charCodeAt(0), 0);
|
|
298
|
+
return d[g % d.length];
|
|
273
299
|
}
|
|
274
300
|
return "var(--color-blue-gray-300)";
|
|
275
|
-
},
|
|
301
|
+
}, w = {
|
|
276
302
|
online: "var(--color-success-500)",
|
|
277
303
|
offline: "var(--color-blue-gray-400)",
|
|
278
304
|
away: "var(--color-warning-500)",
|
|
279
305
|
busy: "var(--color-danger-500)"
|
|
280
|
-
},
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
r ?
|
|
284
|
-
|
|
285
|
-
].filter(Boolean).join(" "),
|
|
306
|
+
}, x = [
|
|
307
|
+
h.avatar,
|
|
308
|
+
h[`avatar--${a}`],
|
|
309
|
+
r ? h["avatar--bordered"] : "",
|
|
310
|
+
_
|
|
311
|
+
].filter(Boolean).join(" "), f = () => {
|
|
286
312
|
if (e)
|
|
287
313
|
return /* @__PURE__ */ t(
|
|
288
314
|
"img",
|
|
289
315
|
{
|
|
290
316
|
src: e,
|
|
291
317
|
alt: n ? `${n} avatar` : "Avatar",
|
|
292
|
-
className:
|
|
293
|
-
onError:
|
|
318
|
+
className: h.avatar__image,
|
|
319
|
+
onError: l
|
|
294
320
|
}
|
|
295
321
|
);
|
|
296
322
|
if (n) {
|
|
297
|
-
const
|
|
323
|
+
const d = c(n);
|
|
298
324
|
return /* @__PURE__ */ t(
|
|
299
325
|
"div",
|
|
300
326
|
{
|
|
301
|
-
className:
|
|
302
|
-
style: { backgroundColor:
|
|
303
|
-
children:
|
|
327
|
+
className: h.avatar__initials,
|
|
328
|
+
style: { backgroundColor: p() },
|
|
329
|
+
children: d
|
|
304
330
|
}
|
|
305
331
|
);
|
|
306
332
|
}
|
|
307
|
-
return /* @__PURE__ */ t("div", { className:
|
|
333
|
+
return /* @__PURE__ */ t("div", { className: h.avatar__placeholder, children: /* @__PURE__ */ v(
|
|
308
334
|
"svg",
|
|
309
335
|
{
|
|
310
336
|
width: "24",
|
|
@@ -320,51 +346,51 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
320
346
|
}
|
|
321
347
|
) });
|
|
322
348
|
};
|
|
323
|
-
return /* @__PURE__ */
|
|
324
|
-
/* @__PURE__ */ t("div", { className:
|
|
325
|
-
|
|
349
|
+
return /* @__PURE__ */ v("div", { className: x, children: [
|
|
350
|
+
/* @__PURE__ */ t("div", { className: h.avatar__content, children: f() }),
|
|
351
|
+
o && /* @__PURE__ */ t(
|
|
326
352
|
"div",
|
|
327
353
|
{
|
|
328
|
-
className:
|
|
329
|
-
style: { backgroundColor:
|
|
354
|
+
className: h.avatar__status,
|
|
355
|
+
style: { backgroundColor: w[o] }
|
|
330
356
|
}
|
|
331
357
|
)
|
|
332
358
|
] });
|
|
333
|
-
},
|
|
334
|
-
avatarGroup:
|
|
359
|
+
}, n1 = "_avatarGroup_1teei_779", o1 = "_avatarGroup__item_1teei_783", a1 = "_avatarGroup__more_1teei_794", b = {
|
|
360
|
+
avatarGroup: n1,
|
|
335
361
|
"avatarGroup--overlap": "_avatarGroup--overlap_1teei_783",
|
|
336
|
-
avatarGroup__item:
|
|
337
|
-
avatarGroup__more:
|
|
338
|
-
},
|
|
362
|
+
avatarGroup__item: o1,
|
|
363
|
+
avatarGroup__more: a1
|
|
364
|
+
}, e9 = ({
|
|
339
365
|
items: e,
|
|
340
366
|
max: n = 5,
|
|
341
|
-
size:
|
|
342
|
-
overlap:
|
|
367
|
+
size: a = "m",
|
|
368
|
+
overlap: o = !0,
|
|
343
369
|
className: r = ""
|
|
344
370
|
}) => {
|
|
345
|
-
const
|
|
346
|
-
return /* @__PURE__ */
|
|
371
|
+
const s = e.slice(0, n), _ = e.length - s.length;
|
|
372
|
+
return /* @__PURE__ */ v(
|
|
347
373
|
"div",
|
|
348
374
|
{
|
|
349
375
|
className: [
|
|
350
|
-
|
|
351
|
-
|
|
376
|
+
b.avatarGroup,
|
|
377
|
+
o ? b["avatarGroup--overlap"] : "",
|
|
352
378
|
r
|
|
353
379
|
].filter(Boolean).join(" "),
|
|
354
380
|
children: [
|
|
355
|
-
|
|
356
|
-
|
|
381
|
+
s.map((l, c) => /* @__PURE__ */ t("div", { className: b.avatarGroup__item, children: /* @__PURE__ */ t(t1, { ...l, size: a }) }, c)),
|
|
382
|
+
_ > 0 && /* @__PURE__ */ v("div", { className: `${b.avatarGroup__item} ${b.avatarGroup__more}`, children: [
|
|
357
383
|
"+",
|
|
358
|
-
|
|
384
|
+
_
|
|
359
385
|
] })
|
|
360
386
|
]
|
|
361
387
|
}
|
|
362
388
|
);
|
|
363
|
-
},
|
|
389
|
+
}, t9 = ({
|
|
364
390
|
size: e = 80,
|
|
365
391
|
borderColor: n = "#D6DDFF",
|
|
366
|
-
borderWidth:
|
|
367
|
-
borderStyle:
|
|
392
|
+
borderWidth: a = 2,
|
|
393
|
+
borderStyle: o = "dashed",
|
|
368
394
|
children: r
|
|
369
395
|
}) => /* @__PURE__ */ t(
|
|
370
396
|
"div",
|
|
@@ -373,8 +399,8 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
373
399
|
width: e,
|
|
374
400
|
height: e,
|
|
375
401
|
borderRadius: "50%",
|
|
376
|
-
border: `${
|
|
377
|
-
padding:
|
|
402
|
+
border: `${a}px ${o} ${n}`,
|
|
403
|
+
padding: a,
|
|
378
404
|
boxSizing: "border-box",
|
|
379
405
|
display: "flex",
|
|
380
406
|
alignItems: "center",
|
|
@@ -394,8 +420,8 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
394
420
|
}
|
|
395
421
|
)
|
|
396
422
|
}
|
|
397
|
-
),
|
|
398
|
-
focus:
|
|
423
|
+
), r1 = "_focus_1ckja_549", s1 = "_swap_1ckja_631", i1 = "_swap__content_1ckja_687", _1 = "_spinner_1ckja_779", l1 = "_spinner__label_1ckja_841", y = {
|
|
424
|
+
focus: r1,
|
|
399
425
|
"focus--default": "_focus--default_1ckja_566",
|
|
400
426
|
"focus--danger": "_focus--danger_1ckja_570",
|
|
401
427
|
"focus--visible": "_focus--visible_1ckja_576",
|
|
@@ -405,7 +431,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
405
431
|
"focus--input": "_focus--input_1ckja_606",
|
|
406
432
|
"focus--button": "_focus--button_1ckja_611",
|
|
407
433
|
"focus--card": "_focus--card_1ckja_616",
|
|
408
|
-
swap:
|
|
434
|
+
swap: s1,
|
|
409
435
|
"swap--text": "_swap--text_1ckja_640",
|
|
410
436
|
"swap--icon": "_swap--icon_1ckja_651",
|
|
411
437
|
"swap--icon-xs": "_swap--icon-xs_1ckja_661",
|
|
@@ -413,7 +439,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
413
439
|
"swap--icon-m": "_swap--icon-m_1ckja_671",
|
|
414
440
|
"swap--icon-l": "_swap--icon-l_1ckja_676",
|
|
415
441
|
"swap--icon-xl": "_swap--icon-xl_1ckja_681",
|
|
416
|
-
swap__content:
|
|
442
|
+
swap__content: i1,
|
|
417
443
|
"swap--group-horizontal": "_swap--group-horizontal_1ckja_696",
|
|
418
444
|
"swap--group-vertical": "_swap--group-vertical_1ckja_703",
|
|
419
445
|
"swap--with-background": "_swap--with-background_1ckja_711",
|
|
@@ -424,7 +450,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
424
450
|
"spinner-container--label-bottom": "_spinner-container--label-bottom_1ckja_788",
|
|
425
451
|
"spinner-container--label-left": "_spinner-container--label-left_1ckja_792",
|
|
426
452
|
"spinner-container--label-right": "_spinner-container--label-right_1ckja_796",
|
|
427
|
-
spinner:
|
|
453
|
+
spinner: _1,
|
|
428
454
|
"spinner-rotate": "_spinner-rotate_1ckja_1",
|
|
429
455
|
"spinner--primary": "_spinner--primary_1ckja_807",
|
|
430
456
|
"spinner--inverse": "_spinner--inverse_1ckja_810",
|
|
@@ -437,24 +463,24 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
437
463
|
"spinner--xl": "_spinner--xl_1ckja_836",
|
|
438
464
|
spinner__label: l1,
|
|
439
465
|
"spinner-svg": "_spinner-svg_1ckja_856"
|
|
440
|
-
},
|
|
466
|
+
}, c1 = ({
|
|
441
467
|
size: e = "m",
|
|
442
468
|
color: n,
|
|
443
|
-
className:
|
|
444
|
-
label:
|
|
469
|
+
className: a = "",
|
|
470
|
+
label: o,
|
|
445
471
|
labelPosition: r = "bottom"
|
|
446
472
|
}) => {
|
|
447
|
-
const
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
].filter(Boolean).join(" "),
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
473
|
+
const s = !!o, _ = [
|
|
474
|
+
y["spinner-container"],
|
|
475
|
+
s && y[`spinner-container--label-${r}`],
|
|
476
|
+
a
|
|
477
|
+
].filter(Boolean).join(" "), l = [
|
|
478
|
+
y.spinner,
|
|
479
|
+
y[`spinner--${e}`],
|
|
480
|
+
y[`spinner--${n}`]
|
|
455
481
|
].filter(Boolean).join(" ");
|
|
456
|
-
return /* @__PURE__ */
|
|
457
|
-
/* @__PURE__ */ t("div", { className:
|
|
482
|
+
return /* @__PURE__ */ v("div", { className: _, children: [
|
|
483
|
+
/* @__PURE__ */ t("div", { className: l, children: (() => {
|
|
458
484
|
switch (e) {
|
|
459
485
|
case "xs":
|
|
460
486
|
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" }) });
|
|
@@ -472,10 +498,10 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
472
498
|
return null;
|
|
473
499
|
}
|
|
474
500
|
})() }),
|
|
475
|
-
|
|
501
|
+
o && /* @__PURE__ */ t("span", { className: y.spinner__label, "aria-hidden": "true", children: o })
|
|
476
502
|
] });
|
|
477
|
-
},
|
|
478
|
-
focus:
|
|
503
|
+
}, d1 = "_focus_1tyc7_549", u1 = "_swap_1tyc7_631", p1 = "_swap__content_1tyc7_687", w1 = "_button_1tyc7_779", g1 = "_sizeL_1tyc7_804", h1 = "_sizeM_1tyc7_808", C1 = "_sizeS_1tyc7_812", v1 = "_iconOnly_1tyc7_816", x1 = "_primary_1tyc7_828", m1 = "_disabled_1tyc7_833", f1 = "_count_1tyc7_847", y1 = "_secondary_1tyc7_851", b1 = "_ghost_1tyc7_874", j1 = "_link_1tyc7_897", L1 = "_dangerPrimary_1tyc7_926", k1 = "_dangerSecondary_1tyc7_952", V1 = "_dangerGhost_1tyc7_978", M1 = "_dangerLink_1tyc7_1004", N1 = "_open_1tyc7_1031", H1 = "_content_1tyc7_1043", Z1 = "_loader_1tyc7_1048", $1 = "_text_1tyc7_1054", R1 = "_icon_1tyc7_816", B1 = "_chevron_1tyc7_1081", z1 = "_loading_1tyc7_1109", i = {
|
|
504
|
+
focus: d1,
|
|
479
505
|
"focus--default": "_focus--default_1tyc7_566",
|
|
480
506
|
"focus--danger": "_focus--danger_1tyc7_570",
|
|
481
507
|
"focus--visible": "_focus--visible_1tyc7_576",
|
|
@@ -485,7 +511,7 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
485
511
|
"focus--input": "_focus--input_1tyc7_606",
|
|
486
512
|
"focus--button": "_focus--button_1tyc7_611",
|
|
487
513
|
"focus--card": "_focus--card_1tyc7_616",
|
|
488
|
-
swap:
|
|
514
|
+
swap: u1,
|
|
489
515
|
"swap--text": "_swap--text_1tyc7_640",
|
|
490
516
|
"swap--icon": "_swap--icon_1tyc7_651",
|
|
491
517
|
"swap--icon-xs": "_swap--icon-xs_1tyc7_661",
|
|
@@ -499,29 +525,29 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
499
525
|
"swap--with-background": "_swap--with-background_1tyc7_711",
|
|
500
526
|
"swap--with-border": "_swap--with-border_1tyc7_717",
|
|
501
527
|
"swap--interactive": "_swap--interactive_1tyc7_725",
|
|
502
|
-
button:
|
|
503
|
-
sizeL:
|
|
504
|
-
sizeM:
|
|
505
|
-
sizeS:
|
|
506
|
-
iconOnly:
|
|
507
|
-
primary:
|
|
528
|
+
button: w1,
|
|
529
|
+
sizeL: g1,
|
|
530
|
+
sizeM: h1,
|
|
531
|
+
sizeS: C1,
|
|
532
|
+
iconOnly: v1,
|
|
533
|
+
primary: x1,
|
|
508
534
|
disabled: m1,
|
|
509
|
-
count:
|
|
510
|
-
secondary:
|
|
511
|
-
ghost:
|
|
512
|
-
link:
|
|
513
|
-
dangerPrimary:
|
|
514
|
-
dangerSecondary:
|
|
515
|
-
dangerGhost:
|
|
516
|
-
dangerLink:
|
|
517
|
-
open:
|
|
518
|
-
content:
|
|
519
|
-
loader:
|
|
520
|
-
text:
|
|
535
|
+
count: f1,
|
|
536
|
+
secondary: y1,
|
|
537
|
+
ghost: b1,
|
|
538
|
+
link: j1,
|
|
539
|
+
dangerPrimary: L1,
|
|
540
|
+
dangerSecondary: k1,
|
|
541
|
+
dangerGhost: V1,
|
|
542
|
+
dangerLink: M1,
|
|
543
|
+
open: N1,
|
|
544
|
+
content: H1,
|
|
545
|
+
loader: Z1,
|
|
546
|
+
text: $1,
|
|
521
547
|
icon: R1,
|
|
522
|
-
chevron:
|
|
523
|
-
loading:
|
|
524
|
-
},
|
|
548
|
+
chevron: B1,
|
|
549
|
+
loading: z1
|
|
550
|
+
}, S1 = (e) => {
|
|
525
551
|
switch (e) {
|
|
526
552
|
case "l":
|
|
527
553
|
return "m";
|
|
@@ -532,88 +558,88 @@ const W = "_focus_18phg_549", D = "_swap_18phg_631", F = "_swap__content_18phg_6
|
|
|
532
558
|
default:
|
|
533
559
|
return "s";
|
|
534
560
|
}
|
|
535
|
-
},
|
|
561
|
+
}, G1 = u(
|
|
536
562
|
(e, n) => {
|
|
537
563
|
const {
|
|
538
|
-
size:
|
|
539
|
-
variant:
|
|
564
|
+
size: a = "m",
|
|
565
|
+
variant: o = "primary",
|
|
540
566
|
disabled: r = !1,
|
|
541
|
-
loading:
|
|
542
|
-
active:
|
|
543
|
-
open:
|
|
544
|
-
className:
|
|
545
|
-
children:
|
|
546
|
-
icon:
|
|
547
|
-
iconPosition:
|
|
548
|
-
tooltip:
|
|
549
|
-
count:
|
|
550
|
-
withChevron:
|
|
551
|
-
href:
|
|
567
|
+
loading: s = !1,
|
|
568
|
+
active: _ = !1,
|
|
569
|
+
open: l = !1,
|
|
570
|
+
className: c = "",
|
|
571
|
+
children: p,
|
|
572
|
+
icon: w,
|
|
573
|
+
iconPosition: x = "left",
|
|
574
|
+
tooltip: f,
|
|
575
|
+
count: d,
|
|
576
|
+
withChevron: g = !1,
|
|
577
|
+
href: j,
|
|
552
578
|
...L
|
|
553
|
-
} = e, k =
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
r &&
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
k &&
|
|
562
|
-
|
|
563
|
-
].filter(Boolean).join(" "),
|
|
564
|
-
/* @__PURE__ */
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
579
|
+
} = e, k = x === "only" || !p && w, Z = g && !k, V = [
|
|
580
|
+
i.button,
|
|
581
|
+
i[`size${a.toUpperCase()}`],
|
|
582
|
+
i[o],
|
|
583
|
+
r && i.disabled,
|
|
584
|
+
s && i.loading,
|
|
585
|
+
_ && i.active,
|
|
586
|
+
l && i.open,
|
|
587
|
+
k && i.iconOnly,
|
|
588
|
+
c
|
|
589
|
+
].filter(Boolean).join(" "), M = () => /* @__PURE__ */ v(B, { children: [
|
|
590
|
+
/* @__PURE__ */ v("span", { className: i.content, children: [
|
|
591
|
+
w && x !== "right" && /* @__PURE__ */ t("span", { className: i.icon, children: w }),
|
|
592
|
+
p && /* @__PURE__ */ t("span", { className: i.text, children: p }),
|
|
593
|
+
w && x === "right" && /* @__PURE__ */ t("span", { className: i.icon, children: w }),
|
|
594
|
+
Z && /* @__PURE__ */ t("span", { className: i.chevron }),
|
|
595
|
+
d !== void 0 && /* @__PURE__ */ t("span", { className: i.count, children: d > 99 ? "+99" : d })
|
|
570
596
|
] }),
|
|
571
|
-
|
|
597
|
+
s && /* @__PURE__ */ t("span", { className: i.loader, children: /* @__PURE__ */ t(c1, { size: S1(a) }) })
|
|
572
598
|
] });
|
|
573
|
-
if (
|
|
574
|
-
const
|
|
575
|
-
return r ||
|
|
599
|
+
if (j) {
|
|
600
|
+
const N = L;
|
|
601
|
+
return r || s ? /* @__PURE__ */ t("span", { className: V, ...N, children: M() }) : /* @__PURE__ */ t(
|
|
576
602
|
"a",
|
|
577
603
|
{
|
|
578
604
|
ref: n,
|
|
579
|
-
href:
|
|
580
|
-
className:
|
|
581
|
-
...
|
|
582
|
-
children:
|
|
605
|
+
href: j,
|
|
606
|
+
className: V,
|
|
607
|
+
...N,
|
|
608
|
+
children: M()
|
|
583
609
|
}
|
|
584
610
|
);
|
|
585
611
|
}
|
|
586
|
-
const { type:
|
|
612
|
+
const { type: $ = "button", ...R } = L;
|
|
587
613
|
return /* @__PURE__ */ t(
|
|
588
614
|
"button",
|
|
589
615
|
{
|
|
590
616
|
ref: n,
|
|
591
|
-
type:
|
|
592
|
-
className:
|
|
593
|
-
disabled: r ||
|
|
594
|
-
"aria-label": k &&
|
|
595
|
-
...
|
|
596
|
-
children:
|
|
617
|
+
type: $,
|
|
618
|
+
className: V,
|
|
619
|
+
disabled: r || s,
|
|
620
|
+
"aria-label": k && f ? f : void 0,
|
|
621
|
+
...R,
|
|
622
|
+
children: M()
|
|
597
623
|
}
|
|
598
624
|
);
|
|
599
625
|
}
|
|
600
626
|
);
|
|
601
|
-
|
|
602
|
-
function
|
|
603
|
-
var n,
|
|
604
|
-
if (typeof e == "string" || typeof e == "number")
|
|
627
|
+
G1.displayName = "Button";
|
|
628
|
+
function H(e) {
|
|
629
|
+
var n, a, o = "";
|
|
630
|
+
if (typeof e == "string" || typeof e == "number") o += e;
|
|
605
631
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
606
632
|
var r = e.length;
|
|
607
|
-
for (n = 0; n < r; n++) e[n] && (
|
|
608
|
-
} else for (
|
|
609
|
-
return
|
|
633
|
+
for (n = 0; n < r; n++) e[n] && (a = H(e[n])) && (o && (o += " "), o += a);
|
|
634
|
+
} else for (a in e) e[a] && (o && (o += " "), o += a);
|
|
635
|
+
return o;
|
|
610
636
|
}
|
|
611
|
-
function
|
|
612
|
-
for (var e, n,
|
|
613
|
-
return
|
|
637
|
+
function I1() {
|
|
638
|
+
for (var e, n, a = 0, o = "", r = arguments.length; a < r; a++) (e = arguments[a]) && (n = H(e)) && (o && (o += " "), o += n);
|
|
639
|
+
return o;
|
|
614
640
|
}
|
|
615
|
-
const
|
|
616
|
-
focus:
|
|
641
|
+
const A1 = "_focus_1n4w9_549", T1 = "_swap_1n4w9_631", O1 = "_swap__content_1n4w9_687", P1 = "_typography_1n4w9_779", W1 = "_truncate_1n4w9_990", m = {
|
|
642
|
+
focus: A1,
|
|
617
643
|
"focus--default": "_focus--default_1n4w9_566",
|
|
618
644
|
"focus--danger": "_focus--danger_1n4w9_570",
|
|
619
645
|
"focus--visible": "_focus--visible_1n4w9_576",
|
|
@@ -623,7 +649,7 @@ const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w
|
|
|
623
649
|
"focus--input": "_focus--input_1n4w9_606",
|
|
624
650
|
"focus--button": "_focus--button_1n4w9_611",
|
|
625
651
|
"focus--card": "_focus--card_1n4w9_616",
|
|
626
|
-
swap:
|
|
652
|
+
swap: T1,
|
|
627
653
|
"swap--text": "_swap--text_1n4w9_640",
|
|
628
654
|
"swap--icon": "_swap--icon_1n4w9_651",
|
|
629
655
|
"swap--icon-xs": "_swap--icon-xs_1n4w9_661",
|
|
@@ -631,13 +657,13 @@ const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w
|
|
|
631
657
|
"swap--icon-m": "_swap--icon-m_1n4w9_671",
|
|
632
658
|
"swap--icon-l": "_swap--icon-l_1n4w9_676",
|
|
633
659
|
"swap--icon-xl": "_swap--icon-xl_1n4w9_681",
|
|
634
|
-
swap__content:
|
|
660
|
+
swap__content: O1,
|
|
635
661
|
"swap--group-horizontal": "_swap--group-horizontal_1n4w9_696",
|
|
636
662
|
"swap--group-vertical": "_swap--group-vertical_1n4w9_703",
|
|
637
663
|
"swap--with-background": "_swap--with-background_1n4w9_711",
|
|
638
664
|
"swap--with-border": "_swap--with-border_1n4w9_717",
|
|
639
665
|
"swap--interactive": "_swap--interactive_1n4w9_725",
|
|
640
|
-
typography:
|
|
666
|
+
typography: P1,
|
|
641
667
|
"align-left": "_align-left_1n4w9_785",
|
|
642
668
|
"align-center": "_align-center_1n4w9_789",
|
|
643
669
|
"align-right": "_align-right_1n4w9_793",
|
|
@@ -670,11 +696,11 @@ const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w
|
|
|
670
696
|
"text-short-s-bold": "_text-short-s-bold_1n4w9_957",
|
|
671
697
|
"regular-link": "_regular-link_1n4w9_973",
|
|
672
698
|
"small-link": "_small-link_1n4w9_974",
|
|
673
|
-
truncate:
|
|
699
|
+
truncate: W1,
|
|
674
700
|
"multiline-truncate": "_multiline-truncate_1n4w9_996",
|
|
675
701
|
"no-wrap": "_no-wrap_1n4w9_1003",
|
|
676
702
|
"break-word": "_break-word_1n4w9_1007"
|
|
677
|
-
},
|
|
703
|
+
}, D1 = {
|
|
678
704
|
// Headlines
|
|
679
705
|
"headline-xl": "headline-xl",
|
|
680
706
|
"headline-l": "headline-l",
|
|
@@ -721,55 +747,138 @@ const I1 = "_focus_1n4w9_549", z1 = "_swap_1n4w9_631", A1 = "_swap__content_1n4w
|
|
|
721
747
|
SmallText: "text-short-s-regular",
|
|
722
748
|
RegularLink: "text-long-m-regular",
|
|
723
749
|
SmallLink: "text-short-s-regular"
|
|
724
|
-
},
|
|
750
|
+
}, F1 = u(
|
|
725
751
|
(e, n) => {
|
|
726
752
|
const {
|
|
727
|
-
as:
|
|
728
|
-
children:
|
|
753
|
+
as: a = "p",
|
|
754
|
+
children: o,
|
|
729
755
|
className: r,
|
|
730
|
-
textAlign:
|
|
731
|
-
variant:
|
|
732
|
-
truncate:
|
|
733
|
-
multilineTruncate:
|
|
734
|
-
noWrap:
|
|
735
|
-
breakWord:
|
|
736
|
-
...
|
|
737
|
-
} = e,
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
756
|
+
textAlign: s = "left",
|
|
757
|
+
variant: _ = "text-long-m-regular",
|
|
758
|
+
truncate: l = !1,
|
|
759
|
+
multilineTruncate: c = !1,
|
|
760
|
+
noWrap: p = !1,
|
|
761
|
+
breakWord: w = !1,
|
|
762
|
+
...x
|
|
763
|
+
} = e, f = D1[_], d = I1(
|
|
764
|
+
m.typography,
|
|
765
|
+
m[f],
|
|
766
|
+
m[`align-${s}`],
|
|
741
767
|
{
|
|
742
|
-
[
|
|
743
|
-
[
|
|
744
|
-
[
|
|
745
|
-
[
|
|
768
|
+
[m.truncate]: l,
|
|
769
|
+
[m.multilineTruncate]: c,
|
|
770
|
+
[m.noWrap]: p,
|
|
771
|
+
[m.breakWord]: w
|
|
746
772
|
},
|
|
747
773
|
r
|
|
748
774
|
);
|
|
749
|
-
return
|
|
750
|
-
className:
|
|
775
|
+
return U1(a, {
|
|
776
|
+
className: d,
|
|
751
777
|
ref: n,
|
|
752
|
-
...
|
|
753
|
-
},
|
|
778
|
+
...x
|
|
779
|
+
}, o);
|
|
754
780
|
}
|
|
755
781
|
);
|
|
756
|
-
function
|
|
757
|
-
return
|
|
782
|
+
function U1(e, n, a) {
|
|
783
|
+
return z.createElement(e, n, a);
|
|
758
784
|
}
|
|
759
|
-
|
|
785
|
+
F1.displayName = "Typography";
|
|
786
|
+
const q1 = "_focus_95x9i_549", E1 = "_swap_95x9i_631", J1 = "_swap__content_95x9i_687", K1 = "_divider_95x9i_779", Q1 = "_divider__text_95x9i_851", C = {
|
|
787
|
+
focus: q1,
|
|
788
|
+
"focus--default": "_focus--default_95x9i_566",
|
|
789
|
+
"focus--danger": "_focus--danger_95x9i_570",
|
|
790
|
+
"focus--visible": "_focus--visible_95x9i_576",
|
|
791
|
+
"focus-danger": "_focus-danger_95x9i_591",
|
|
792
|
+
"focus-within--default": "_focus-within--default_95x9i_597",
|
|
793
|
+
"focus-within--danger": "_focus-within--danger_95x9i_601",
|
|
794
|
+
"focus--input": "_focus--input_95x9i_606",
|
|
795
|
+
"focus--button": "_focus--button_95x9i_611",
|
|
796
|
+
"focus--card": "_focus--card_95x9i_616",
|
|
797
|
+
swap: E1,
|
|
798
|
+
"swap--text": "_swap--text_95x9i_640",
|
|
799
|
+
"swap--icon": "_swap--icon_95x9i_651",
|
|
800
|
+
"swap--icon-xs": "_swap--icon-xs_95x9i_661",
|
|
801
|
+
"swap--icon-s": "_swap--icon-s_95x9i_666",
|
|
802
|
+
"swap--icon-m": "_swap--icon-m_95x9i_671",
|
|
803
|
+
"swap--icon-l": "_swap--icon-l_95x9i_676",
|
|
804
|
+
"swap--icon-xl": "_swap--icon-xl_95x9i_681",
|
|
805
|
+
swap__content: J1,
|
|
806
|
+
"swap--group-horizontal": "_swap--group-horizontal_95x9i_696",
|
|
807
|
+
"swap--group-vertical": "_swap--group-vertical_95x9i_703",
|
|
808
|
+
"swap--with-background": "_swap--with-background_95x9i_711",
|
|
809
|
+
"swap--with-border": "_swap--with-border_95x9i_717",
|
|
810
|
+
"swap--interactive": "_swap--interactive_95x9i_725",
|
|
811
|
+
divider: K1,
|
|
812
|
+
"divider--horizontal": "_divider--horizontal_95x9i_784",
|
|
813
|
+
"divider--vertical": "_divider--vertical_95x9i_788",
|
|
814
|
+
"divider--dashed": "_divider--dashed_95x9i_793",
|
|
815
|
+
"divider--dotted": "_divider--dotted_95x9i_796",
|
|
816
|
+
"divider--s": "_divider--s_95x9i_799",
|
|
817
|
+
"divider--m": "_divider--m_95x9i_805",
|
|
818
|
+
"divider--l": "_divider--l_95x9i_811",
|
|
819
|
+
"divider--default": "_divider--default_95x9i_817",
|
|
820
|
+
"divider--soft": "_divider--soft_95x9i_820",
|
|
821
|
+
"divider--strong": "_divider--strong_95x9i_823",
|
|
822
|
+
"divider--inverse": "_divider--inverse_95x9i_826",
|
|
823
|
+
"divider--with-text": "_divider--with-text_95x9i_829",
|
|
824
|
+
"divider--text-center": "_divider--text-center_95x9i_848",
|
|
825
|
+
divider__text: Q1,
|
|
826
|
+
"divider--text-left": "_divider--text-left_95x9i_854",
|
|
827
|
+
"divider--text-right": "_divider--text-right_95x9i_863"
|
|
828
|
+
}, n9 = ({
|
|
829
|
+
orientation: e = "horizontal",
|
|
830
|
+
variant: n = "solid",
|
|
831
|
+
size: a = "m",
|
|
832
|
+
color: o = "default",
|
|
833
|
+
className: r = "",
|
|
834
|
+
children: s,
|
|
835
|
+
textPosition: _ = "center",
|
|
836
|
+
...l
|
|
837
|
+
}) => {
|
|
838
|
+
const c = !!s, p = [
|
|
839
|
+
C.divider,
|
|
840
|
+
C[`divider--${e}`],
|
|
841
|
+
C[`divider--${n}`],
|
|
842
|
+
C[`divider--${a}`],
|
|
843
|
+
C[`divider--${o}`],
|
|
844
|
+
c && C["divider--with-text"],
|
|
845
|
+
c && C[`divider--text-${_}`],
|
|
846
|
+
r
|
|
847
|
+
].filter(Boolean).join(" ");
|
|
848
|
+
return c && e === "horizontal" ? /* @__PURE__ */ t(
|
|
849
|
+
"div",
|
|
850
|
+
{
|
|
851
|
+
className: p,
|
|
852
|
+
role: "separator",
|
|
853
|
+
"aria-orientation": e,
|
|
854
|
+
...l,
|
|
855
|
+
children: /* @__PURE__ */ t("span", { className: C.divider__text, children: s })
|
|
856
|
+
}
|
|
857
|
+
) : /* @__PURE__ */ t(
|
|
858
|
+
"div",
|
|
859
|
+
{
|
|
860
|
+
className: p,
|
|
861
|
+
role: "separator",
|
|
862
|
+
"aria-orientation": e,
|
|
863
|
+
...l
|
|
864
|
+
}
|
|
865
|
+
);
|
|
866
|
+
};
|
|
760
867
|
export {
|
|
761
868
|
S as AlertsBellIcon,
|
|
762
869
|
G as ArrowChevronLeftIcon,
|
|
763
870
|
I as ArrowChevronRightIcon,
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
A as
|
|
770
|
-
T as
|
|
771
|
-
|
|
772
|
-
P as
|
|
773
|
-
|
|
774
|
-
|
|
871
|
+
t1 as Avatar,
|
|
872
|
+
e9 as AvatarGroup,
|
|
873
|
+
t9 as AvatarWithCssBorder,
|
|
874
|
+
G1 as Button,
|
|
875
|
+
n9 as Divider,
|
|
876
|
+
A as ImagePhotoIcon,
|
|
877
|
+
T as ImagePhotoOutline,
|
|
878
|
+
O as LogoutV1Outline,
|
|
879
|
+
P as MathSymbolsAddSquareV2Icon,
|
|
880
|
+
c1 as Spinner,
|
|
881
|
+
W as SwapIcon,
|
|
882
|
+
D as TimeCalendarV2Icon,
|
|
883
|
+
F1 as Typography
|
|
775
884
|
};
|