welcome-ui 10.0.0-alpha.15 → 10.0.0-alpha.16
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/Stepper.css +1 -1
- package/dist/Stepper.js +69 -34
- package/dist/Tabs.js +479 -159
- package/dist/types/components/Icon/icons.d.ts +5 -4
- package/dist/types/components/Tabs/utils.d.ts +1 -1
- package/package.json +1 -1
package/dist/Stepper.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_whyv1_2{position:relative;gap:var(--components-dimensions-stepper-gap-content);padding-block:var(--components-dimensions-stepper-padding-block);padding-inline:var(--components-dimensions-stepper-padding-inline);border-width:var(--components-dimensions-stepper-border-width-default);border-radius:var(--components-dimensions-stepper-border-radius);border-color:var(--stepperBorderColor, var(--components-colors-stepper-color-border-default));background-color:var(--components-colors-stepper-color-background);transition-duration:var(--duration-fast);box-shadow:var(--stepperBoxShadow, var(--elevation-10));overflow:hidden}._wrapper_whyv1_16{display:flex;align-items:center;overflow-x:auto;border-style:solid;transition-property:border-color,box-shadow;transition-timing-function:ease-in-out}._wrapper_whyv1_16 svg{width:var(--components-dimensions-stepper-size-icon);height:var(--components-dimensions-stepper-size-icon)}._wrapper_whyv1_16._fade-left_whyv1_28:before,._wrapper_whyv1_16._fade-right_whyv1_28:after{content:"";position:absolute;top:0;bottom:0;width:70px;pointer-events:none;z-index:1}._wrapper_whyv1_16._fade-left_whyv1_28:before{left:0;background:linear-gradient(to right,var(--components-colors-stepper-color-background),transparent)}._wrapper_whyv1_16._fade-right_whyv1_28:after{right:0;background:linear-gradient(to left,var(--components-colors-stepper-color-background),transparent)}._wrapper_whyv1_16:hover{--stepperBorderColor: var(--components-colors-stepper-color-border-hover);--stepperBoxShadow: var(--elevation-20)}._separator_whyv1_49{flex-shrink:0;color:var(--components-colors-stepper-color-icon-default)}._item_whyv1_53{display:flex;align-items:center;flex-shrink:0;transition-property:background-color,border-color,color;transition-timing-function:ease-in-out;gap:var(--components-dimensions-stepper-step-gap-content);padding-block:var(--components-dimensions-stepper-step-padding-block);padding-inline:var(--components-dimensions-stepper-step-padding-inline);border-width:var(--components-dimensions-stepper-step-border-width-active);border-radius:var(--components-dimensions-stepper-step-border-radius);transition-duration:var(--duration-medium);background-color:var(--stepperItemBackgroundColor, var(--components-colors-stepper-step-color-background-unchecked-default));border-color:var(--stepperItemBorderColor, transparent);color:var(--stepperItemColor, var(--components-colors-stepper-step-color-text-unchecked-default))}._item_whyv1_53 svg{width:var(--components-dimensions-stepper-step-size-icon);height:var(--components-dimensions-stepper-step-size-icon);color:var(--stepperItemIconColor, var(--components-colors-stepper-step-color-icon-unchecked-default))}._item_whyv1_53[aria-current=true]{--stepperItemColor: var(--components-colors-stepper-step-color-text-checked-default);--stepperItemBorderColor: var(--components-colors-stepper-step-color-border-checked-default);--stepperItemBackgroundColor: var( --components-colors-stepper-step-color-background-checked-default )}._item_whyv1_53[aria-current=true] svg{--stepperItemIconColor: var(--components-colors-stepper-step-color-icon-checked-default)}._item_whyv1_53._clickable_whyv1_87{cursor:pointer}._item_whyv1_53._clickable_whyv1_87:hover{--stepperItemColor: var(--components-colors-stepper-step-color-text-unchecked-hover);--stepperItemBackgroundColor: var( --components-colors-stepper-step-color-background-checked-hover )}._item_whyv1_53._clickable_whyv1_87:hover:not(._completed_whyv1_96) svg{--stepperItemIconColor: var( --components-colors-stepper-step-color-icon-unchecked-hover )}._item_whyv1_53._clickable_whyv1_87[aria-current=true]{--stepperItemColor: var(--components-colors-stepper-step-color-text-checked-default);--stepperItemBackgroundColor: var( --components-colors-stepper-step-color-background-checked-default );--stepperItemBorderColor: var( --components-colors-stepper-step-color-border-checked-default )}._item_whyv1_53._clickable_whyv1_87[aria-current=true]:hover{--stepperItemBackgroundColor: var( --components-colors-stepper-step-color-background-checked-hover );--stepperItemBorderColor: var( --components-colors-stepper-step-color-border-checked-hover )}._item_whyv1_53._clickable_whyv1_87[aria-current=true]:not(._completed_whyv1_96) svg{--stepperItemIconColor: var(--components-colors-stepper-step-color-icon-checked-hover)}._item_whyv1_53._completed_whyv1_96 svg{--stepperItemIconColor: var(--components-colors-stepper-step-color-icon-success)}}
|
package/dist/Stepper.js
CHANGED
|
@@ -1,50 +1,85 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './Stepper.css';
|
|
3
|
-
import { jsx as
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { Icon as
|
|
6
|
-
import { c as
|
|
7
|
-
import { Text as
|
|
8
|
-
const
|
|
9
|
-
root:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
3
|
+
import { jsx as t, jsxs as N } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef as k, useState as _, useRef as R, useEffect as u } from "react";
|
|
5
|
+
import { Icon as i } from "./Icon.js";
|
|
6
|
+
import { c as I } from "./index-PAaZGbyz.js";
|
|
7
|
+
import { Text as x } from "./Text.js";
|
|
8
|
+
const L = "_root_whyv1_2", F = "_wrapper_whyv1_16", j = "_separator_whyv1_49", z = "_item_whyv1_53", E = "_clickable_whyv1_87", O = "_completed_whyv1_96", W = {
|
|
9
|
+
root: L,
|
|
10
|
+
wrapper: F,
|
|
11
|
+
"fade-left": "_fade-left_whyv1_28",
|
|
12
|
+
"fade-right": "_fade-right_whyv1_28",
|
|
13
|
+
separator: j,
|
|
14
|
+
item: z,
|
|
15
|
+
clickable: E,
|
|
16
|
+
completed: O
|
|
14
17
|
};
|
|
15
|
-
function
|
|
16
|
-
icon:
|
|
17
|
-
isCompleted:
|
|
18
|
-
isOpen:
|
|
18
|
+
function q({
|
|
19
|
+
icon: r,
|
|
20
|
+
isCompleted: c,
|
|
21
|
+
isOpen: s
|
|
19
22
|
}) {
|
|
20
|
-
return
|
|
23
|
+
return r || (c ? /* @__PURE__ */ t(i, { name: "check-circle" }) : s ? /* @__PURE__ */ t(i, { name: "folder-open" }) : /* @__PURE__ */ t(i, { name: "folder" }));
|
|
21
24
|
}
|
|
22
|
-
const
|
|
23
|
-
({ children:
|
|
25
|
+
const p = I(W), w = k(
|
|
26
|
+
({ children: r, className: c }, s) => {
|
|
27
|
+
const [a, l] = _(!1), [m, f] = _(!1), y = R(null), n = s || y;
|
|
28
|
+
return u(() => {
|
|
29
|
+
const e = n.current;
|
|
30
|
+
if (!e) return;
|
|
31
|
+
const o = () => {
|
|
32
|
+
const { clientWidth: S, scrollLeft: h, scrollWidth: g } = e;
|
|
33
|
+
l(h > 0), f(h < g - S - 1);
|
|
34
|
+
};
|
|
35
|
+
o(), e.addEventListener("scroll", o);
|
|
36
|
+
const d = new ResizeObserver(o);
|
|
37
|
+
return d.observe(e), () => {
|
|
38
|
+
e.removeEventListener("scroll", o), d.disconnect();
|
|
39
|
+
};
|
|
40
|
+
}, [n]), u(() => {
|
|
41
|
+
const e = n.current;
|
|
42
|
+
if (!e) return;
|
|
43
|
+
const o = e.querySelector('[aria-current="true"]');
|
|
44
|
+
o && o.scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
45
|
+
}, [r, n]), /* @__PURE__ */ t("div", { className: p("root"), children: /* @__PURE__ */ t(
|
|
46
|
+
"ol",
|
|
47
|
+
{
|
|
48
|
+
className: p(
|
|
49
|
+
"wrapper",
|
|
50
|
+
c,
|
|
51
|
+
a && "fade-left",
|
|
52
|
+
m && "fade-right"
|
|
53
|
+
),
|
|
54
|
+
ref: n,
|
|
55
|
+
children: r
|
|
56
|
+
}
|
|
57
|
+
) });
|
|
58
|
+
}
|
|
24
59
|
);
|
|
25
|
-
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
return /* @__PURE__ */
|
|
60
|
+
w.displayName = "Stepper";
|
|
61
|
+
const v = () => /* @__PURE__ */ t("div", { className: p("separator"), children: /* @__PURE__ */ t(i, { name: "angle-right-b", size: "lg" }) });
|
|
62
|
+
v.displayName = "Stepper.Separator";
|
|
63
|
+
const b = ({ children: r, icon: c, isCompleted: s, isOpen: a, onClick: l }) => {
|
|
64
|
+
const m = q({ icon: c, isCompleted: s, isOpen: a });
|
|
65
|
+
return /* @__PURE__ */ N(
|
|
31
66
|
"li",
|
|
32
67
|
{
|
|
33
|
-
"aria-current":
|
|
34
|
-
className:
|
|
35
|
-
onClick:
|
|
68
|
+
"aria-current": a,
|
|
69
|
+
className: p("item", !!l && "clickable", s && "completed"),
|
|
70
|
+
onClick: l,
|
|
36
71
|
children: [
|
|
37
|
-
|
|
38
|
-
/* @__PURE__ */
|
|
72
|
+
m,
|
|
73
|
+
/* @__PURE__ */ t(x, { variant: "label-md", children: r })
|
|
39
74
|
]
|
|
40
75
|
}
|
|
41
76
|
);
|
|
42
77
|
};
|
|
43
|
-
|
|
44
|
-
const
|
|
45
|
-
Item:
|
|
46
|
-
Separator:
|
|
78
|
+
b.displayName = "Stepper.Item";
|
|
79
|
+
const D = Object.assign(w, {
|
|
80
|
+
Item: b,
|
|
81
|
+
Separator: v
|
|
47
82
|
});
|
|
48
83
|
export {
|
|
49
|
-
|
|
84
|
+
D as Stepper
|
|
50
85
|
};
|
package/dist/Tabs.js
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './Tabs.css';
|
|
3
|
-
import { jsx as
|
|
4
|
-
import { T as
|
|
5
|
-
import G, { createContext as
|
|
6
|
-
import { c as
|
|
7
|
-
import { m as X, o as
|
|
3
|
+
import { jsx as I, jsxs as W } from "react/jsx-runtime";
|
|
4
|
+
import { T as K, a as U, b as D } from "./tab-panel-B8NigruF.js";
|
|
5
|
+
import G, { createContext as N, useMemo as H, forwardRef as O, cloneElement as J, isValidElement as Q } from "react";
|
|
6
|
+
import { c as V } from "./index-PAaZGbyz.js";
|
|
7
|
+
import { m as X, o as P, c as Y, s as k, d as m, f as Z, u as M, a as T, b as A } from "./RTNCFSKZ-BywELldk.js";
|
|
8
8
|
import { Badge as ee } from "./Badge.js";
|
|
9
9
|
import { f as te } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
10
|
-
import { Icon as
|
|
11
|
-
import { P as
|
|
12
|
-
import { C as
|
|
13
|
-
import { e as
|
|
14
|
-
import { c as
|
|
10
|
+
import { Icon as ae } from "./Icon.js";
|
|
11
|
+
import { P as oe, b as se } from "./Y67KZUMI-BwLWwpNF.js";
|
|
12
|
+
import { C as re, a as ne } from "./SBSPVDDI-CmtnvvUX.js";
|
|
13
|
+
import { e as le, M as ce, A as w, z as v, B as x, V as z, d as $, a as j, C as E } from "./OE2EFRVA-Dg1R6gaC.js";
|
|
14
|
+
import { c as ie, a as de, u as ue } from "./B7UTNDHN-DDN2hpM5.js";
|
|
15
15
|
import { a as me } from "./OLVWQA7U-UYYsJnlv.js";
|
|
16
|
-
var be =
|
|
17
|
-
[
|
|
18
|
-
[
|
|
19
|
-
),
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
function
|
|
23
|
-
var
|
|
16
|
+
var be = le(
|
|
17
|
+
[se, ne],
|
|
18
|
+
[oe, re]
|
|
19
|
+
), pe = be.useContext;
|
|
20
|
+
N(!1);
|
|
21
|
+
N(null);
|
|
22
|
+
function ge(e = {}) {
|
|
23
|
+
var n = e, {
|
|
24
24
|
composite: t,
|
|
25
|
-
combobox:
|
|
26
|
-
} =
|
|
25
|
+
combobox: l
|
|
26
|
+
} = n, o = ce(n, [
|
|
27
27
|
"composite",
|
|
28
28
|
"combobox"
|
|
29
29
|
]);
|
|
30
|
-
const
|
|
30
|
+
const g = [
|
|
31
31
|
"items",
|
|
32
32
|
"renderedItems",
|
|
33
33
|
"moves",
|
|
@@ -38,145 +38,465 @@ function pe(e = {}) {
|
|
|
38
38
|
"focusLoop",
|
|
39
39
|
"focusShift",
|
|
40
40
|
"focusWrap"
|
|
41
|
-
],
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
),
|
|
46
|
-
store:
|
|
41
|
+
], i = X(
|
|
42
|
+
o.store,
|
|
43
|
+
P(t, g),
|
|
44
|
+
P(l, g)
|
|
45
|
+
), r = i == null ? void 0 : i.getState(), d = ie(w(x({}, o), {
|
|
46
|
+
store: i,
|
|
47
47
|
// We need to explicitly set the default value of `includesBaseElement` to
|
|
48
48
|
// `false` since we don't want the composite store to default it to `true`
|
|
49
49
|
// when the activeId state is null, which could be the case when rendering
|
|
50
50
|
// combobox with tab.
|
|
51
|
-
includesBaseElement:
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
includesBaseElement: v(
|
|
52
|
+
o.includesBaseElement,
|
|
53
|
+
r == null ? void 0 : r.includesBaseElement,
|
|
54
54
|
!1
|
|
55
55
|
),
|
|
56
|
-
orientation:
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
orientation: v(
|
|
57
|
+
o.orientation,
|
|
58
|
+
r == null ? void 0 : r.orientation,
|
|
59
59
|
"horizontal"
|
|
60
60
|
),
|
|
61
|
-
focusLoop:
|
|
62
|
-
})),
|
|
63
|
-
selectedId:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
61
|
+
focusLoop: v(o.focusLoop, r == null ? void 0 : r.focusLoop, !0)
|
|
62
|
+
})), h = de(), y = w(x({}, d.getState()), {
|
|
63
|
+
selectedId: v(
|
|
64
|
+
o.selectedId,
|
|
65
|
+
r == null ? void 0 : r.selectedId,
|
|
66
|
+
o.defaultSelectedId
|
|
67
67
|
),
|
|
68
|
-
selectOnMove:
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
selectOnMove: v(
|
|
69
|
+
o.selectOnMove,
|
|
70
|
+
r == null ? void 0 : r.selectOnMove,
|
|
71
71
|
!0
|
|
72
72
|
)
|
|
73
|
-
}),
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
() => m(
|
|
77
|
-
const { activeId:
|
|
78
|
-
if (!
|
|
79
|
-
const u =
|
|
80
|
-
u && (u.dimmed || u.disabled ||
|
|
73
|
+
}), a = Y(y, d, i);
|
|
74
|
+
k(
|
|
75
|
+
a,
|
|
76
|
+
() => m(a, ["moves"], () => {
|
|
77
|
+
const { activeId: s, selectOnMove: c } = a.getState();
|
|
78
|
+
if (!c || !s) return;
|
|
79
|
+
const u = d.item(s);
|
|
80
|
+
u && (u.dimmed || u.disabled || a.setState("selectedId", u.id));
|
|
81
81
|
})
|
|
82
82
|
);
|
|
83
|
-
let
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
() => Z(
|
|
87
|
-
if (!
|
|
88
|
-
|
|
83
|
+
let f = !0;
|
|
84
|
+
k(
|
|
85
|
+
a,
|
|
86
|
+
() => Z(a, ["selectedId"], (s, c) => {
|
|
87
|
+
if (!f) {
|
|
88
|
+
f = !0;
|
|
89
89
|
return;
|
|
90
90
|
}
|
|
91
|
-
t &&
|
|
91
|
+
t && s.selectedId === c.selectedId || a.setState("activeId", s.selectedId);
|
|
92
92
|
})
|
|
93
|
-
),
|
|
94
|
-
|
|
95
|
-
() => m(
|
|
96
|
-
if (
|
|
97
|
-
const { activeId:
|
|
93
|
+
), k(
|
|
94
|
+
a,
|
|
95
|
+
() => m(a, ["selectedId", "renderedItems"], (s) => {
|
|
96
|
+
if (s.selectedId !== void 0) return;
|
|
97
|
+
const { activeId: c, renderedItems: u } = a.getState(), b = d.item(c);
|
|
98
98
|
if (b && !b.disabled && !b.dimmed)
|
|
99
|
-
|
|
99
|
+
a.setState("selectedId", b.id);
|
|
100
100
|
else {
|
|
101
|
-
const
|
|
102
|
-
(
|
|
101
|
+
const _ = u.find(
|
|
102
|
+
(p) => !p.disabled && !p.dimmed
|
|
103
103
|
);
|
|
104
|
-
|
|
104
|
+
a.setState("selectedId", _ == null ? void 0 : _.id);
|
|
105
105
|
}
|
|
106
106
|
})
|
|
107
|
-
),
|
|
108
|
-
|
|
109
|
-
() => m(
|
|
110
|
-
const
|
|
111
|
-
if (
|
|
112
|
-
return m(
|
|
107
|
+
), k(
|
|
108
|
+
a,
|
|
109
|
+
() => m(a, ["renderedItems"], (s) => {
|
|
110
|
+
const c = s.renderedItems;
|
|
111
|
+
if (c.length)
|
|
112
|
+
return m(h, ["renderedItems"], (u) => {
|
|
113
113
|
const b = u.renderedItems;
|
|
114
|
-
b.some((
|
|
115
|
-
if (
|
|
116
|
-
const
|
|
117
|
-
|
|
114
|
+
b.some((p) => !p.tabId) && b.forEach((p, F) => {
|
|
115
|
+
if (p.tabId) return;
|
|
116
|
+
const C = c[F];
|
|
117
|
+
C && h.renderItem(w(x({}, p), { tabId: C.id }));
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
})
|
|
121
121
|
);
|
|
122
|
-
let
|
|
123
|
-
return
|
|
124
|
-
const
|
|
125
|
-
|
|
126
|
-
},
|
|
127
|
-
|
|
122
|
+
let S = null;
|
|
123
|
+
return k(a, () => {
|
|
124
|
+
const s = () => {
|
|
125
|
+
S = a.getState().selectedId;
|
|
126
|
+
}, c = () => {
|
|
127
|
+
f = !1, a.setState("selectedId", S);
|
|
128
128
|
};
|
|
129
129
|
if (t && "setSelectElement" in t)
|
|
130
|
-
return
|
|
131
|
-
m(t, ["value"],
|
|
132
|
-
m(t, ["mounted"],
|
|
130
|
+
return z(
|
|
131
|
+
m(t, ["value"], s),
|
|
132
|
+
m(t, ["mounted"], c)
|
|
133
133
|
);
|
|
134
|
-
if (
|
|
135
|
-
return
|
|
136
|
-
m(
|
|
137
|
-
m(
|
|
134
|
+
if (l)
|
|
135
|
+
return z(
|
|
136
|
+
m(l, ["selectedValue"], s),
|
|
137
|
+
m(l, ["mounted"], c)
|
|
138
138
|
);
|
|
139
|
-
}),
|
|
140
|
-
panels:
|
|
141
|
-
setSelectedId: (
|
|
142
|
-
select: (
|
|
143
|
-
|
|
139
|
+
}), w(x(x({}, d), a), {
|
|
140
|
+
panels: h,
|
|
141
|
+
setSelectedId: (s) => a.setState("selectedId", s),
|
|
142
|
+
select: (s) => {
|
|
143
|
+
a.setState("selectedId", s), d.move(s);
|
|
144
144
|
}
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
|
|
149
|
-
const [
|
|
150
|
-
return
|
|
151
|
-
H(() =>
|
|
147
|
+
function fe(e, n, t) {
|
|
148
|
+
E(n, [t.composite, t.combobox]), e = ue(e, n, t), T(e, t, "selectedId", "setSelectedId"), T(e, t, "selectOnMove");
|
|
149
|
+
const [l, o] = M(() => e.panels, {});
|
|
150
|
+
return E(o, [e, o]), Object.assign(
|
|
151
|
+
H(() => $(j({}, e), { panels: l }), [e, l]),
|
|
152
152
|
{ composite: t.composite, combobox: t.combobox }
|
|
153
153
|
);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
const
|
|
157
|
-
e =
|
|
155
|
+
function He(e = {}) {
|
|
156
|
+
const n = me(), t = pe() || n;
|
|
157
|
+
e = $(j({}, e), {
|
|
158
158
|
composite: e.composite !== void 0 ? e.composite : t,
|
|
159
|
-
combobox: e.combobox !== void 0 ? e.combobox :
|
|
159
|
+
combobox: e.combobox !== void 0 ? e.combobox : n
|
|
160
160
|
});
|
|
161
|
-
const [
|
|
162
|
-
return
|
|
161
|
+
const [l, o] = M(ge, e);
|
|
162
|
+
return fe(l, o, e);
|
|
163
163
|
}
|
|
164
|
-
const
|
|
165
|
-
root:
|
|
164
|
+
const he = "_root_peui8_2", B = {
|
|
165
|
+
root: he,
|
|
166
166
|
"size-lg": "_size-lg_peui8_56",
|
|
167
167
|
"size-md": "_size-md_peui8_63",
|
|
168
168
|
"tab-list": "_tab-list_peui8_73"
|
|
169
|
-
}
|
|
170
|
-
|
|
169
|
+
}, ke = [
|
|
170
|
+
"angle-left-b",
|
|
171
|
+
"angle-right-b",
|
|
172
|
+
"angle-up",
|
|
173
|
+
"angle-down",
|
|
174
|
+
"arrow-left",
|
|
175
|
+
"arrow-right",
|
|
176
|
+
"arrow-up",
|
|
177
|
+
"arrow-down",
|
|
178
|
+
"left-arrow-to-left",
|
|
179
|
+
"arrow-to-right",
|
|
180
|
+
"top-arrow-to-top",
|
|
181
|
+
"arrow-to-bottom",
|
|
182
|
+
"angle-double-left",
|
|
183
|
+
"angle-double-right",
|
|
184
|
+
"angle-left",
|
|
185
|
+
"angle-right"
|
|
186
|
+
], ve = [
|
|
187
|
+
"asterisk",
|
|
188
|
+
"info-circle",
|
|
189
|
+
"chart-line",
|
|
190
|
+
"plus",
|
|
191
|
+
"chart-line",
|
|
192
|
+
"archive-alt",
|
|
193
|
+
"arrows-merge-v",
|
|
194
|
+
// (not unicons, personal mashup)
|
|
195
|
+
"arrows-shrink-v",
|
|
196
|
+
"apps",
|
|
197
|
+
"edit",
|
|
198
|
+
"user-check",
|
|
199
|
+
"user-plus",
|
|
200
|
+
"user-times",
|
|
201
|
+
"check",
|
|
202
|
+
"times",
|
|
203
|
+
"trash",
|
|
204
|
+
"import",
|
|
205
|
+
"upload",
|
|
206
|
+
"draggable-dots",
|
|
207
|
+
"copy",
|
|
208
|
+
"pen",
|
|
209
|
+
"left-arrow-from-left",
|
|
210
|
+
"arrow-from-right",
|
|
211
|
+
"resize-handle",
|
|
212
|
+
// (not unicons)
|
|
213
|
+
"arrow-resize-diagonal",
|
|
214
|
+
"draggabledots",
|
|
215
|
+
"compress-alt",
|
|
216
|
+
"external-link-alt",
|
|
217
|
+
"heart-solid",
|
|
218
|
+
"heart",
|
|
219
|
+
"filter",
|
|
220
|
+
"eye",
|
|
221
|
+
"eye-slash",
|
|
222
|
+
"link",
|
|
223
|
+
"sign-out-alt",
|
|
224
|
+
"bars",
|
|
225
|
+
"ellipsis-v",
|
|
226
|
+
"ellipsis-h",
|
|
227
|
+
"move-arrow",
|
|
228
|
+
// (not unicons)
|
|
229
|
+
"bell",
|
|
230
|
+
"print",
|
|
231
|
+
"bolt-alt",
|
|
232
|
+
"redo",
|
|
233
|
+
"save",
|
|
234
|
+
"search",
|
|
235
|
+
"setting",
|
|
236
|
+
"share-alt",
|
|
237
|
+
"share"
|
|
238
|
+
], xe = ["chat", "chat-bubble-user", "comment", "comment-alt-lines"], Ie = [
|
|
239
|
+
"music",
|
|
240
|
+
"rocket",
|
|
241
|
+
"file-alt",
|
|
242
|
+
"user-square",
|
|
243
|
+
"book-reader",
|
|
244
|
+
"file-question-alt",
|
|
245
|
+
"sad-solid",
|
|
246
|
+
"smile-beam-solid",
|
|
247
|
+
"sad",
|
|
248
|
+
"smile-beam",
|
|
249
|
+
"sign-right",
|
|
250
|
+
"exclamation-triangle",
|
|
251
|
+
"exclamation-circle",
|
|
252
|
+
"exclamation-octagon",
|
|
253
|
+
"chart-pie",
|
|
254
|
+
"paperclip",
|
|
255
|
+
"chart-bar",
|
|
256
|
+
"fire",
|
|
257
|
+
"user-check",
|
|
258
|
+
"apps",
|
|
259
|
+
"trophy",
|
|
260
|
+
"bookmark-solid",
|
|
261
|
+
"bookmark",
|
|
262
|
+
"clock",
|
|
263
|
+
"comment-alt-lines",
|
|
264
|
+
"file-edit-alt",
|
|
265
|
+
"illustration",
|
|
266
|
+
"calendar",
|
|
267
|
+
"users-alt",
|
|
268
|
+
"globe",
|
|
269
|
+
"graduation-cap",
|
|
270
|
+
"envelope",
|
|
271
|
+
"equal-circle",
|
|
272
|
+
"minus",
|
|
273
|
+
"venus",
|
|
274
|
+
"mars",
|
|
275
|
+
"estate",
|
|
276
|
+
"info-circle",
|
|
277
|
+
"columns",
|
|
278
|
+
"english-to-chinese",
|
|
279
|
+
"bag-alt",
|
|
280
|
+
"chart-line",
|
|
281
|
+
"map-marker-alt",
|
|
282
|
+
"lock-alt",
|
|
283
|
+
"flag",
|
|
284
|
+
// (not unicons)
|
|
285
|
+
"at",
|
|
286
|
+
"user",
|
|
287
|
+
"user-circle",
|
|
288
|
+
"clipboard-check",
|
|
289
|
+
// (not unicons, personal mashup)
|
|
290
|
+
"building",
|
|
291
|
+
"compass",
|
|
292
|
+
"phone",
|
|
293
|
+
"pin",
|
|
294
|
+
// (not unicons)
|
|
295
|
+
"microphone",
|
|
296
|
+
"user-search",
|
|
297
|
+
// (not unicons, personal mashup)
|
|
298
|
+
"house-user",
|
|
299
|
+
"star-solid",
|
|
300
|
+
"star",
|
|
301
|
+
"coins",
|
|
302
|
+
"euro-circle",
|
|
303
|
+
"file-search-alt",
|
|
304
|
+
"question-circle",
|
|
305
|
+
"gift",
|
|
306
|
+
"birthday-cake",
|
|
307
|
+
// (not unicons)
|
|
308
|
+
"bunting-flags",
|
|
309
|
+
// (not unicons)
|
|
310
|
+
"tag-alt",
|
|
311
|
+
"tablet",
|
|
312
|
+
"mobile",
|
|
313
|
+
"video",
|
|
314
|
+
"plus-circle",
|
|
315
|
+
"pen",
|
|
316
|
+
"check-circle",
|
|
317
|
+
"certified",
|
|
318
|
+
// (not unicons, personal mashup)
|
|
319
|
+
"plug"
|
|
320
|
+
], Se = [
|
|
321
|
+
"play",
|
|
322
|
+
"stop-circle-solid",
|
|
323
|
+
"pause-circle-solid",
|
|
324
|
+
"previous",
|
|
325
|
+
"step-forward",
|
|
326
|
+
"expand-arrows-alt",
|
|
327
|
+
"compress-arrows",
|
|
328
|
+
"screen-share",
|
|
329
|
+
// (not unicons)
|
|
330
|
+
"stop-screen-share",
|
|
331
|
+
// (not unicons)
|
|
332
|
+
"microphone",
|
|
333
|
+
"microphone-slash",
|
|
334
|
+
"cast",
|
|
335
|
+
// (not unicons)
|
|
336
|
+
"cast-connected",
|
|
337
|
+
// (not unicons, personal mashup)
|
|
338
|
+
"cast-unavailable",
|
|
339
|
+
// (not unicons, personal mashup)
|
|
340
|
+
"video",
|
|
341
|
+
"video-slash",
|
|
342
|
+
"airplay",
|
|
343
|
+
"history",
|
|
344
|
+
"playlist",
|
|
345
|
+
// (not unicons)
|
|
346
|
+
"volume-up",
|
|
347
|
+
"volume-mute",
|
|
348
|
+
"closed-captioning"
|
|
349
|
+
], we = [
|
|
350
|
+
"icons",
|
|
351
|
+
"package",
|
|
352
|
+
"basketball",
|
|
353
|
+
"bill",
|
|
354
|
+
"book-alt",
|
|
355
|
+
"lightbulb-alt",
|
|
356
|
+
"life-ring",
|
|
357
|
+
"calculator-alt",
|
|
358
|
+
"camera",
|
|
359
|
+
"shopping-cart",
|
|
360
|
+
"clipboard-notes",
|
|
361
|
+
"coffee",
|
|
362
|
+
"ruler",
|
|
363
|
+
"desktop",
|
|
364
|
+
"hard-hat",
|
|
365
|
+
"credit-card",
|
|
366
|
+
"moon-solid",
|
|
367
|
+
"moon",
|
|
368
|
+
"crosshair",
|
|
369
|
+
"crown",
|
|
370
|
+
// (not unicons)
|
|
371
|
+
"restaurant",
|
|
372
|
+
"diamond",
|
|
373
|
+
"industry",
|
|
374
|
+
// (not unicons)
|
|
375
|
+
"fingerprint",
|
|
376
|
+
// (not unicons)
|
|
377
|
+
"flag",
|
|
378
|
+
"flag-solid",
|
|
379
|
+
// (not unicons, personal mashup)
|
|
380
|
+
"setting",
|
|
381
|
+
"handshake",
|
|
382
|
+
"hashtag",
|
|
383
|
+
// (not unicons)
|
|
384
|
+
"headphones",
|
|
385
|
+
"heart",
|
|
386
|
+
"estate",
|
|
387
|
+
"balance-scale",
|
|
388
|
+
"key-skeleton",
|
|
389
|
+
"leaf",
|
|
390
|
+
// (not unicons)
|
|
391
|
+
"map",
|
|
392
|
+
"masonry",
|
|
393
|
+
// (not unicons, personal mashup)
|
|
394
|
+
"masonry-plus",
|
|
395
|
+
// (not unicons, personal mashup)
|
|
396
|
+
"megaphone",
|
|
397
|
+
"microphone",
|
|
398
|
+
"processor",
|
|
399
|
+
"euro-circle",
|
|
400
|
+
"mountains",
|
|
401
|
+
"pen",
|
|
402
|
+
"images",
|
|
403
|
+
"chart-pie-alt",
|
|
404
|
+
"pizza-slice",
|
|
405
|
+
"puzzle-piece-solid",
|
|
406
|
+
"puzzle-piece",
|
|
407
|
+
"shield",
|
|
408
|
+
"wrench",
|
|
409
|
+
"sparkles",
|
|
410
|
+
// (not unicons)
|
|
411
|
+
"server",
|
|
412
|
+
"sun",
|
|
413
|
+
"hunting",
|
|
414
|
+
"thumbs-up",
|
|
415
|
+
"thumbs-down",
|
|
416
|
+
"trees",
|
|
417
|
+
"sofa",
|
|
418
|
+
// (not unicons)
|
|
419
|
+
"exit",
|
|
420
|
+
// (not unicons, personal mashup)
|
|
421
|
+
"redo",
|
|
422
|
+
"play",
|
|
423
|
+
"ban"
|
|
424
|
+
], ye = ["folder", "folder-open", "folder-full", "file", "image"], _e = [
|
|
425
|
+
"bold",
|
|
426
|
+
"arrow",
|
|
427
|
+
"brackets-curly",
|
|
428
|
+
"italic",
|
|
429
|
+
"list-ol-alt",
|
|
430
|
+
"list-ul",
|
|
431
|
+
"quote",
|
|
432
|
+
// (not unicons)
|
|
433
|
+
"text-strike-through",
|
|
434
|
+
"heading",
|
|
435
|
+
// (not unicons, original creation)
|
|
436
|
+
"heading-1",
|
|
437
|
+
// (not unicons, original creation)
|
|
438
|
+
"heading-2",
|
|
439
|
+
// (not unicons, original creation)
|
|
440
|
+
"heading-3",
|
|
441
|
+
// (not unicons, original creation)
|
|
442
|
+
"heading-4",
|
|
443
|
+
// (not unicons, original creation)
|
|
444
|
+
"heading-5",
|
|
445
|
+
// (not unicons, original creation)
|
|
446
|
+
"heading-6",
|
|
447
|
+
// (not unicons, original creation)
|
|
448
|
+
"font",
|
|
449
|
+
"underline"
|
|
450
|
+
], Ce = [
|
|
451
|
+
"behance",
|
|
452
|
+
"dribbble",
|
|
453
|
+
"facebook",
|
|
454
|
+
"github",
|
|
455
|
+
"google",
|
|
456
|
+
"instagram",
|
|
457
|
+
"linkedin",
|
|
458
|
+
"npm",
|
|
459
|
+
// (not unicons)
|
|
460
|
+
"pinterest",
|
|
461
|
+
// (not unicons)
|
|
462
|
+
"slack",
|
|
463
|
+
"stackoverflow",
|
|
464
|
+
// (not unicons)
|
|
465
|
+
"tiktok",
|
|
466
|
+
"twitch",
|
|
467
|
+
// (not unicons)
|
|
468
|
+
"x",
|
|
469
|
+
// (not unicons)
|
|
470
|
+
"xing",
|
|
471
|
+
// (not unicons)
|
|
472
|
+
"youtube",
|
|
473
|
+
"zapier",
|
|
474
|
+
// (not unicons)
|
|
475
|
+
"medium"
|
|
476
|
+
// (not unicons)
|
|
477
|
+
], Pe = ["symbol", "wttj"], Te = ["flag-fr", "flag-en", "flag-us"], ze = [
|
|
478
|
+
...ve,
|
|
479
|
+
...ke,
|
|
480
|
+
...Ce,
|
|
481
|
+
...xe,
|
|
482
|
+
...ye,
|
|
483
|
+
...Te,
|
|
484
|
+
..._e,
|
|
485
|
+
...Ie,
|
|
486
|
+
...Se,
|
|
487
|
+
...Pe,
|
|
488
|
+
...we
|
|
489
|
+
], Ee = (e) => ze.includes(e);
|
|
490
|
+
function Ne({
|
|
171
491
|
icon: e,
|
|
172
|
-
iconColor:
|
|
492
|
+
iconColor: n,
|
|
173
493
|
isActive: t,
|
|
174
|
-
size:
|
|
494
|
+
size: l
|
|
175
495
|
}) {
|
|
176
496
|
if (!e) return null;
|
|
177
|
-
if (typeof e != "string") return e;
|
|
178
|
-
const
|
|
179
|
-
switch (
|
|
497
|
+
if (typeof e != "string" || !Ee(e)) return e;
|
|
498
|
+
const o = (() => {
|
|
499
|
+
switch (n) {
|
|
180
500
|
case "blue":
|
|
181
501
|
return t ? "text-background-accent-blue-strong" : "text-background-accent-blue-primary";
|
|
182
502
|
case "green":
|
|
@@ -195,70 +515,70 @@ function xe({
|
|
|
195
515
|
return "";
|
|
196
516
|
}
|
|
197
517
|
})();
|
|
198
|
-
return /* @__PURE__ */
|
|
518
|
+
return /* @__PURE__ */ I(ae, { className: o, name: e, size: l });
|
|
199
519
|
}
|
|
200
|
-
const
|
|
520
|
+
const Oe = V(B), q = te(
|
|
201
521
|
({
|
|
202
522
|
as: e,
|
|
203
|
-
badge:
|
|
523
|
+
badge: n,
|
|
204
524
|
children: t,
|
|
205
|
-
className:
|
|
206
|
-
icon:
|
|
207
|
-
iconColor:
|
|
208
|
-
id:
|
|
209
|
-
size:
|
|
210
|
-
store:
|
|
211
|
-
...
|
|
212
|
-
},
|
|
213
|
-
const { selectedId:
|
|
214
|
-
icon:
|
|
215
|
-
iconColor:
|
|
216
|
-
isActive:
|
|
217
|
-
size:
|
|
218
|
-
}),
|
|
219
|
-
return /* @__PURE__ */
|
|
220
|
-
|
|
525
|
+
className: l,
|
|
526
|
+
icon: o,
|
|
527
|
+
iconColor: g = "violet",
|
|
528
|
+
id: i,
|
|
529
|
+
size: r = "lg",
|
|
530
|
+
store: d,
|
|
531
|
+
...h
|
|
532
|
+
}, y) => {
|
|
533
|
+
const { selectedId: a } = A(d), f = a === i, S = Ne({
|
|
534
|
+
icon: o,
|
|
535
|
+
iconColor: g,
|
|
536
|
+
isActive: f,
|
|
537
|
+
size: r
|
|
538
|
+
}), s = f ? "neutral" : "warm";
|
|
539
|
+
return /* @__PURE__ */ W(
|
|
540
|
+
K,
|
|
221
541
|
{
|
|
222
|
-
className:
|
|
223
|
-
id:
|
|
224
|
-
ref:
|
|
225
|
-
render: e ? /* @__PURE__ */
|
|
226
|
-
store:
|
|
227
|
-
...
|
|
542
|
+
className: Oe("root", `size-${r}`, l),
|
|
543
|
+
id: i,
|
|
544
|
+
ref: y,
|
|
545
|
+
render: e ? /* @__PURE__ */ I(e, {}) : void 0,
|
|
546
|
+
store: d,
|
|
547
|
+
...h,
|
|
228
548
|
children: [
|
|
229
|
-
|
|
549
|
+
S,
|
|
230
550
|
t,
|
|
231
|
-
|
|
551
|
+
n ? /* @__PURE__ */ I(ee, { size: r, variant: s, children: n }) : null
|
|
232
552
|
]
|
|
233
553
|
}
|
|
234
554
|
);
|
|
235
555
|
}
|
|
236
556
|
);
|
|
237
|
-
|
|
238
|
-
const
|
|
239
|
-
|
|
240
|
-
const
|
|
241
|
-
({ children: e, className:
|
|
242
|
-
const
|
|
557
|
+
q.displayName = "Tabs.Tab";
|
|
558
|
+
const L = O(({ children: e, ...n }, t) => /* @__PURE__ */ I(U, { ref: t, ...n, children: e }));
|
|
559
|
+
L.displayName = "Tabs.Panel";
|
|
560
|
+
const Ve = V(B), R = O(
|
|
561
|
+
({ children: e, className: n, size: t = "lg", store: l, ...o }, g) => {
|
|
562
|
+
const i = G.Children.map(
|
|
243
563
|
e,
|
|
244
|
-
(
|
|
564
|
+
(r) => Q(r) ? J(r, { size: t }) : r
|
|
245
565
|
);
|
|
246
|
-
return /* @__PURE__ */
|
|
566
|
+
return /* @__PURE__ */ I(
|
|
247
567
|
D,
|
|
248
568
|
{
|
|
249
|
-
className:
|
|
250
|
-
ref:
|
|
251
|
-
store:
|
|
252
|
-
...
|
|
253
|
-
children:
|
|
569
|
+
className: Ve("tab-list", `size-${t}`, n),
|
|
570
|
+
ref: g,
|
|
571
|
+
store: l,
|
|
572
|
+
...o,
|
|
573
|
+
children: i
|
|
254
574
|
}
|
|
255
575
|
);
|
|
256
576
|
}
|
|
257
577
|
);
|
|
258
|
-
|
|
259
|
-
const
|
|
578
|
+
R.displayName = "Tabs";
|
|
579
|
+
const Je = Object.assign(R, { Panel: L, Tab: q });
|
|
260
580
|
export {
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
581
|
+
Je as Tabs,
|
|
582
|
+
R as TabsComponent,
|
|
583
|
+
He as useTab
|
|
264
584
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
export declare const arrows: readonly ["angle-left-b", "angle-right-b", "angle-up", "angle-down", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "left-arrow-to-left", "arrow-to-right", "top-arrow-to-top", "arrow-to-bottom", "angle-double-left", "angle-double-right", "angle-left", "angle-right"];
|
|
2
2
|
export declare const actions: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "edit", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "draggabledots", "compress-alt", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share"];
|
|
3
|
-
export declare const chat:
|
|
3
|
+
export declare const chat: readonly ["chat", "chat-bubble-user", "comment", "comment-alt-lines"];
|
|
4
4
|
export declare const miscellaneous: readonly ["music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "sad-solid", "smile-beam-solid", "sad", "smile-beam", "sign-right", "exclamation-triangle", "exclamation-circle", "exclamation-octagon", "chart-pie", "paperclip", "chart-bar", "fire", "user-check", "apps", "trophy", "bookmark-solid", "bookmark", "clock", "comment-alt-lines", "file-edit-alt", "illustration", "calendar", "users-alt", "globe", "graduation-cap", "envelope", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "lock-alt", "flag", "at", "user", "user-circle", "clipboard-check", "building", "compass", "phone", "pin", "microphone", "user-search", "house-user", "star-solid", "star", "coins", "euro-circle", "file-search-alt", "question-circle", "gift", "birthday-cake", "bunting-flags", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug"];
|
|
5
5
|
export declare const player: readonly ["play", "stop-circle-solid", "pause-circle-solid", "previous", "step-forward", "expand-arrows-alt", "compress-arrows", "screen-share", "stop-screen-share", "microphone", "microphone-slash", "cast", "cast-connected", "cast-unavailable", "video", "video-slash", "airplay", "history", "playlist", "volume-up", "volume-mute", "closed-captioning"];
|
|
6
|
-
export declare const wtf: readonly ["icons", "package", "basketball", "book-alt", "lightbulb-alt", "life-ring", "calculator-alt", "camera", "shopping-cart", "clipboard-notes", "coffee", "ruler", "desktop", "hard-hat", "credit-card", "moon-solid", "moon", "crosshair", "crown", "restaurant", "diamond", "industry", "fingerprint", "flag", "flag-solid", "setting", "handshake", "hashtag", "headphones", "heart", "estate", "balance-scale", "key-skeleton", "leaf", "map", "masonry", "masonry-plus", "megaphone", "microphone", "processor", "euro-circle", "mountains", "pen", "images", "chart-pie-alt", "pizza-slice", "puzzle-piece-solid", "puzzle-piece", "shield", "wrench", "sparkles", "server", "sun", "hunting", "thumbs-up", "thumbs-down", "trees", "sofa", "exit", "redo", "play", "ban"];
|
|
6
|
+
export declare const wtf: readonly ["icons", "package", "basketball", "bill", "book-alt", "lightbulb-alt", "life-ring", "calculator-alt", "camera", "shopping-cart", "clipboard-notes", "coffee", "ruler", "desktop", "hard-hat", "credit-card", "moon-solid", "moon", "crosshair", "crown", "restaurant", "diamond", "industry", "fingerprint", "flag", "flag-solid", "setting", "handshake", "hashtag", "headphones", "heart", "estate", "balance-scale", "key-skeleton", "leaf", "map", "masonry", "masonry-plus", "megaphone", "microphone", "processor", "euro-circle", "mountains", "pen", "images", "chart-pie-alt", "pizza-slice", "puzzle-piece-solid", "puzzle-piece", "shield", "wrench", "sparkles", "server", "sun", "hunting", "thumbs-up", "thumbs-down", "trees", "sofa", "exit", "redo", "play", "ban"];
|
|
7
7
|
export declare const foldersAndFiles: readonly ["folder", "folder-open", "folder-full", "file", "image"];
|
|
8
8
|
export declare const markdown: readonly ["bold", "arrow", "brackets-curly", "italic", "list-ol-alt", "list-ul", "quote", "text-strike-through", "heading", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "font", "underline"];
|
|
9
|
-
export declare const brands: readonly ["behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier"];
|
|
9
|
+
export declare const brands: readonly ["behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier", "medium"];
|
|
10
10
|
export declare const welcome: readonly ["symbol", "wttj"];
|
|
11
11
|
export declare const flags: readonly ["flag-fr", "flag-en", "flag-us"];
|
|
12
|
-
export declare const icons: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "edit", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "draggabledots", "compress-alt", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "angle-left-b", "angle-right-b", "angle-up", "angle-down", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "left-arrow-to-left", "arrow-to-right", "top-arrow-to-top", "arrow-to-bottom", "angle-double-left", "angle-double-right", "angle-left", "angle-right", "behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier",
|
|
12
|
+
export declare const icons: readonly ["asterisk", "info-circle", "chart-line", "plus", "chart-line", "archive-alt", "arrows-merge-v", "arrows-shrink-v", "apps", "edit", "user-check", "user-plus", "user-times", "check", "times", "trash", "import", "upload", "draggable-dots", "copy", "pen", "left-arrow-from-left", "arrow-from-right", "resize-handle", "arrow-resize-diagonal", "draggabledots", "compress-alt", "external-link-alt", "heart-solid", "heart", "filter", "eye", "eye-slash", "link", "sign-out-alt", "bars", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "angle-left-b", "angle-right-b", "angle-up", "angle-down", "arrow-left", "arrow-right", "arrow-up", "arrow-down", "left-arrow-to-left", "arrow-to-right", "top-arrow-to-top", "arrow-to-bottom", "angle-double-left", "angle-double-right", "angle-left", "angle-right", "behance", "dribbble", "facebook", "github", "google", "instagram", "linkedin", "npm", "pinterest", "slack", "stackoverflow", "tiktok", "twitch", "x", "xing", "youtube", "zapier", "medium", "chat", "chat-bubble-user", "comment", "comment-alt-lines", "folder", "folder-open", "folder-full", "file", "image", "flag-fr", "flag-en", "flag-us", "bold", "arrow", "brackets-curly", "italic", "list-ol-alt", "list-ul", "quote", "text-strike-through", "heading", "heading-1", "heading-2", "heading-3", "heading-4", "heading-5", "heading-6", "font", "underline", "music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "sad-solid", "smile-beam-solid", "sad", "smile-beam", "sign-right", "exclamation-triangle", "exclamation-circle", "exclamation-octagon", "chart-pie", "paperclip", "chart-bar", "fire", "user-check", "apps", "trophy", "bookmark-solid", "bookmark", "clock", "comment-alt-lines", "file-edit-alt", "illustration", "calendar", "users-alt", "globe", "graduation-cap", "envelope", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "lock-alt", "flag", "at", "user", "user-circle", "clipboard-check", "building", "compass", "phone", "pin", "microphone", "user-search", "house-user", "star-solid", "star", "coins", "euro-circle", "file-search-alt", "question-circle", "gift", "birthday-cake", "bunting-flags", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug", "play", "stop-circle-solid", "pause-circle-solid", "previous", "step-forward", "expand-arrows-alt", "compress-arrows", "screen-share", "stop-screen-share", "microphone", "microphone-slash", "cast", "cast-connected", "cast-unavailable", "video", "video-slash", "airplay", "history", "playlist", "volume-up", "volume-mute", "closed-captioning", "symbol", "wttj", "icons", "package", "basketball", "bill", "book-alt", "lightbulb-alt", "life-ring", "calculator-alt", "camera", "shopping-cart", "clipboard-notes", "coffee", "ruler", "desktop", "hard-hat", "credit-card", "moon-solid", "moon", "crosshair", "crown", "restaurant", "diamond", "industry", "fingerprint", "flag", "flag-solid", "setting", "handshake", "hashtag", "headphones", "heart", "estate", "balance-scale", "key-skeleton", "leaf", "map", "masonry", "masonry-plus", "megaphone", "microphone", "processor", "euro-circle", "mountains", "pen", "images", "chart-pie-alt", "pizza-slice", "puzzle-piece-solid", "puzzle-piece", "shield", "wrench", "sparkles", "server", "sun", "hunting", "thumbs-up", "thumbs-down", "trees", "sofa", "exit", "redo", "play", "ban"];
|
|
13
|
+
export declare const isValidIconName: (iconName: string) => iconName is (typeof icons)[number];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TabProps } from './types';
|
|
2
2
|
export declare function getIcon({ icon, iconColor, isActive, size, }: Pick<TabProps, 'icon' | 'iconColor' | 'size'> & {
|
|
3
3
|
isActive: boolean;
|
|
4
|
-
}): number | true | Iterable<import('react').ReactNode> | import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
}): string | number | true | Iterable<import('react').ReactNode> | import("react/jsx-runtime").JSX.Element;
|