welcome-ui 10.6.6 → 10.6.8
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/Icon.js +2 -0
- package/dist/Tabs.css +1 -1
- package/dist/Tabs.js +192 -173
- package/dist/types/components/Icon/icons.d.ts +2 -2
- package/dist/types/components/Tabs/TabContext.d.ts +3 -0
- package/package.json +1 -1
package/dist/Icon.js
CHANGED
|
@@ -179,6 +179,8 @@ const s = "_root_576cf_2", n = {
|
|
|
179
179
|
/* @__PURE__ */ a("symbol", { id: "plus-circle", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,1,1,8-8A8,8,0,0,1,12,20Zm4-9H13V8a1,1,0,0,0-2,0v3H8a1,1,0,0,0,0,2h3v3a1,1,0,0,0,2,0V13h3a1,1,0,0,0,0-2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
180
180
|
/* @__PURE__ */ a("symbol", { id: "check-circle", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M14.72,8.79l-4.29,4.3L8.78,11.44a1,1,0,1,0-1.41,1.41l2.35,2.36a1,1,0,0,0,.71.29,1,1,0,0,0,.7-.29l5-5a1,1,0,0,0,0-1.42A1,1,0,0,0,14.72,8.79ZM12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
181
181
|
/* @__PURE__ */ a("symbol", { id: "plug", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M19,6H16V3a1,1,0,0,0-2,0V6H10V3A1,1,0,0,0,8,3V6H5A1,1,0,0,0,5,8H6v5a1,1,0,0,0,.29.71L9,16.41V21a1,1,0,0,0,2,0V17h2v4a1,1,0,0,0,2,0V16.41l2.71-2.7A1,1,0,0,0,18,13V8h1a1,1,0,0,0,0-2Zm-3,6.59L13.59,15H10.41L8,12.59V8h8ZM11,13h2a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
182
|
+
/* @__PURE__ */ a("symbol", { id: "hourglass", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18.9917,21.002h-1V19.335a5.00057,5.00057,0,0,0-.29956-1.67773c-.01093-.02936-.0224-.05658-.03589-.08454a4.97694,4.97694,0,0,0-.66455-1.23675l-1.3999-1.86719a3.01933,3.01933,0,0,1-.6001-1.80078V11.6582a3.02108,3.02108,0,0,1,.87842-2.12109l.65722-.65723A4.94566,4.94566,0,0,0,17.92365,6.0415c.00054-.01391.008-.02551.008-.03955l-.00281-.01373a5.01836,5.01836,0,0,0,.06287-.64349V3.002h1a1,1,0,0,0,0-2h-14a1,1,0,0,0,0,2h1V5.34473a5.01836,5.01836,0,0,0,.06287.64349L6.05176,6.002c0,.014.00744.02564.008.03955a4.94571,4.94571,0,0,0,1.3963,2.83838l.65723.65723A3.02108,3.02108,0,0,1,8.9917,11.6582V12.668a3.02212,3.02212,0,0,1-.59961,1.80078L6.99121,16.33594a4.98221,4.98221,0,0,0-.66437,1.23718c-.0133.02771-.02472.05463-.03552.08368A5.00309,5.00309,0,0,0,5.9917,19.335v1.667h-1a1,1,0,0,0,0,2h14a1,1,0,0,0,0-2Zm-11-16v-2h8v2Zm.87842,2.46387A2.97036,2.97036,0,0,1,8.49323,7.002h6.99694a2.97094,2.97094,0,0,1-.37689.46387l-.65723.65723a4.9603,4.9603,0,0,0-1.42187,2.8789h-2.085A4.96025,4.96025,0,0,0,9.52734,8.123ZM9.99219,15.668a5.03688,5.03688,0,0,0,.98828-2.666h2.02246a5.03332,5.03332,0,0,0,.98877,2.666l1.00012,1.334H8.99133Zm5.99951,5.334h-8V19.335a2.954,2.954,0,0,1,.02722-.333h7.94556a2.954,2.954,0,0,1,.02722.333Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
183
|
+
/* @__PURE__ */ a("symbol", { id: "focus-target", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M3,9A1,1,0,0,0,4,8V5A1,1,0,0,1,5,4H8A1,1,0,0,0,8,2H5A3,3,0,0,0,2,5V8A1,1,0,0,0,3,9ZM8,20H5a1,1,0,0,1-1-1V16a1,1,0,0,0-2,0v3a3,3,0,0,0,3,3H8a1,1,0,0,0,0-2Zm9-7a1,1,0,0,0,0-2H15.86A4,4,0,0,0,13,8.14V7a1,1,0,0,0-2,0V8.14A4,4,0,0,0,8.14,11H7a1,1,0,0,0,0,2H8.14A4,4,0,0,0,11,15.86V17a1,1,0,0,0,2,0V15.86A4,4,0,0,0,15.86,13Zm-5,1a2,2,0,1,1,2-2A2,2,0,0,1,12,14Zm9,1a1,1,0,0,0-1,1v3a1,1,0,0,1-1,1H16a1,1,0,0,0,0,2h3a3,3,0,0,0,3-3V16A1,1,0,0,0,21,15ZM19,2H16a1,1,0,0,0,0,2h3a1,1,0,0,1,1,1V8a1,1,0,0,0,2,0V5A3,3,0,0,0,19,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
182
184
|
/* @__PURE__ */ a("symbol", { id: "play", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18.54,9,8.88,3.46a3.42,3.42,0,0,0-5.13,3V17.58A3.42,3.42,0,0,0,7.17,21a3.43,3.43,0,0,0,1.71-.46L18.54,15a3.42,3.42,0,0,0,0-5.92Zm-1,4.19L7.88,18.81a1.44,1.44,0,0,1-1.42,0,1.42,1.42,0,0,1-.71-1.23V6.42a1.42,1.42,0,0,1,.71-1.23A1.51,1.51,0,0,1,7.17,5a1.54,1.54,0,0,1,.71.19l9.66,5.58a1.42,1.42,0,0,1,0,2.46Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
183
185
|
/* @__PURE__ */ a("symbol", { id: "play-solid", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18.54,9,8.88,3.46a3.42,3.42,0,0,0-5.13,3V17.58A3.42,3.42,0,0,0,7.17,21a3.43,3.43,0,0,0,1.71-.46L18.54,15a3.42,3.42,0,0,0,0-5.92Zm-1,4.19L7.88,18.81a1.44,1.44,0,0,1-1.42,0,1.42,1.42,0,0,1-.71-1.23V6.42a1.42,1.42,0,0,1,.71-1.23A1.51,1.51,0,0,1,7.17,5a1.54,1.54,0,0,1,.71.19l9.66,5.58a1.42,1.42,0,0,1,0,2.46Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
184
186
|
/* @__PURE__ */ a("symbol", { id: "stop-circle-solid", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M15,8H9A1,1,0,0,0,8,9v6a1,1,0,0,0,1,1h6a1,1,0,0,0,1-1V9A1,1,0,0,0,15,8Zm-1,6H10V10h4ZM12,2A10,10,0,1,0,22,12,10,10,0,0,0,12,2Zm0,18a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
package/dist/Tabs.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_2romh_2{display:flex;align-items:center;transition-property:background-color,border-color,color,box-shadow;transition-timing-function:ease-in-out;cursor:pointer;border-radius:var(--radius-md);transition-duration:var(--duration-medium);font-weight:var(--font-weight-medium);gap:var(--tabGap);max-height:var(--tabItemMaxHeight);padding-block:var(--tabPaddingBlock);padding-inline:var(--tabPaddingInline);font-size:var(--tabFontSize);background-color:var(--tabItemBackgroundColor, var(--tab-color-background-unchecked-default));color:var(--tabItemColor, var(--tab-color-text-unchecked-default));box-shadow:inset 0 0 0 var(--tabItemBorderSize, var(--tab-border-width-unchecked)) var(--tabItemBorderColor, var(--tab-color-border-unchecked-default)),var(--tabItemBoxShadow, var(--elevation-10))}._root_2romh_2:focus{outline:none!important;--tabItemColor: var(--tab-color-text-unchecked-pressed);--tabItemBackgroundColor: var(--tab-color-background-unchecked-pressed);--tabItemBorderColor: var(--tab-color-border-unchecked-pressed)}._root_2romh_2:focus[aria-selected=true]{--tabItemColor: var(--tab-color-text-checked-default);--tabItemBackgroundColor: var(--tab-color-background-checked-default);--tabItemBorderColor: var(--tab-color-border-checked-default)}._root_2romh_2[aria-selected=true]{--tabItemColor: var(--tab-color-text-checked-default);--tabItemBackgroundColor: var(--tab-color-background-checked-default);--tabItemBorderColor: var(--tab-color-border-checked-default);--tabItemBorderSize: var(--tab-border-width-checked)}._root_2romh_2[aria-selected=true]:hover{--tabItemColor: var(--tab-color-text-checked-hover);--tabItemBackgroundColor: var(--tab-color-background-checked-hover);--tabItemBorderColor: var(--tab-color-border-checked-hover);--tabItemBorderSize: var(--tab-border-width-checked);--tabItemBoxShadow: var(--elevation-20)}._root_2romh_2[aria-disabled=true]{cursor:not-allowed;--tabItemColor: var(--button-color-text-secondary-main-disabled);background:repeating-linear-gradient(-45deg,transparent,transparent 2.4px,color-mix(in srgb,var(--color-neutral-50) 12%,transparent) 2.4px,color-mix(in srgb,var(--color-neutral-50) 12%,transparent) 4.3px),var(--button-color-background-secondary-main-disabled)}._root_2romh_2:hover:not([aria-selected=true]):not([aria-disabled=true]){--tabItemColor: var(--tab-color-text-unchecked-hover);--tabItemBackgroundColor: var(--tab-color-background-unchecked-hover);--tabItemBorderColor: var(--tab-color-border-unchecked-hover);--tabItemBoxShadow: var(--elevation-20)}._root_2romh_2._orientation-vertical_2romh_58{width:100%}._content_2romh_61{display:flex;flex:1;align-items:center;gap:var(--tabGap);min-width:0}._content_2romh_61 ._icon_2romh_68{display:flex;flex-shrink:0}._size-lg_2romh_72{--tabItemMaxHeight: var(--tab-size-max-height-lg);--tabPaddingBlock: var(--tab-padding-block-lg);--tabPaddingInline: var(--tab-padding-inline-lg);--tabFontSize: var(--font-size-sm);--tabGap: var(--tab-gap-content-lg)}._size-md_2romh_79{--tabItemMaxHeight: var(--tab-size-max-height-md);--tabPaddingBlock: var(--tab-padding-block-md);--tabPaddingInline: var(--tab-padding-inline-md);--tabFontSize: var(--font-size-xs);--tabGap: var(--tab-gap-content-md)}._folder-icon_2romh_89{color:var(--tabIconColor)}._folder-icon-blue_2romh_92{--tabIconColor: var(--color-background-accent-blue-primary)}._folder-icon-blue-active_2romh_95{--tabIconColor: var(--color-background-accent-blue-strong)}._folder-icon-green_2romh_98{--tabIconColor: var(--color-background-accent-green-primary)}._folder-icon-green-active_2romh_101{--tabIconColor: var(--color-background-accent-green-strong)}._folder-icon-orange_2romh_104{--tabIconColor: var(--color-background-accent-orange-primary)}._folder-icon-orange-active_2romh_107{--tabIconColor: var(--color-background-accent-orange-strong)}._folder-icon-pink_2romh_110{--tabIconColor: var(--color-background-accent-pink-primary)}._folder-icon-pink-active_2romh_113{--tabIconColor: var(--color-background-accent-pink-strong)}._folder-icon-teal_2romh_116{--tabIconColor: var(--color-background-accent-teal-primary)}._folder-icon-teal-active_2romh_119{--tabIconColor: var(--color-background-accent-teal-strong)}._folder-icon-violet_2romh_122{--tabIconColor: var(--color-background-accent-violet-primary)}._folder-icon-violet-active_2romh_125{--tabIconColor: var(--color-background-accent-violet-strong)}._folder-icon-warm_2romh_128{--tabIconColor: var(--color-background-warm-stronger)}._folder-icon-warm-active_2romh_131{--tabIconColor: var(--color-beige-60)}._tab-list_2romh_137{display:flex;align-items:center;gap:var(--tabsGap, 0)}._tab-list_2romh_137._size-lg_2romh_72{--tabsGap: var(--tab-gap-content-lg)}._tab-list_2romh_137._size-md_2romh_79{--tabsGap: var(--tab-gap-content-md)}._tab-list_2romh_137._orientation-vertical_2romh_58{flex-direction:column;align-items:stretch;--tabsGap: var(--tab-gap-content-lg)}}
|
package/dist/Tabs.js
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './Tabs.css';
|
|
3
|
-
import { jsx as
|
|
4
|
-
import { T as
|
|
5
|
-
import { a as
|
|
6
|
-
import { u as
|
|
7
|
-
import { P as
|
|
8
|
-
import { C as
|
|
9
|
-
import { b as
|
|
10
|
-
import
|
|
11
|
-
import { m as
|
|
12
|
-
import { c as
|
|
13
|
-
import { Badge as
|
|
14
|
-
import { f as
|
|
3
|
+
import { jsx as g, jsxs as O } from "react/jsx-runtime";
|
|
4
|
+
import { T as W, b as K, a as U } from "./tab-panel-DMICXMJc.js";
|
|
5
|
+
import { a as D } from "./combobox-context-COdkPD-I.js";
|
|
6
|
+
import { u as G } from "./composite-store-BbsZpdXc.js";
|
|
7
|
+
import { P as H, b as J } from "./popover-context-B2YQ_e3N.js";
|
|
8
|
+
import { C as Q, a as X, c as Y, m as Z } from "./composite-item-CzuZunbi.js";
|
|
9
|
+
import { b as ee, w as _, V as N, ab as te, x as F } from "./D5lwkpmX-BTxFdaqc.js";
|
|
10
|
+
import z, { createContext as $, useMemo as oe, forwardRef as B } from "react";
|
|
11
|
+
import { m as re, o as M, c as ne, s as I, d as b, g as ae, a as j, b as V, u as q } from "./index-B0vSTNCB.js";
|
|
12
|
+
import { c as P } from "./index-B6iGEm-i.js";
|
|
13
|
+
import { Badge as se } from "./Badge.js";
|
|
14
|
+
import { f as ie } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
15
15
|
import { Icon as le } from "./Icon.js";
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
function
|
|
16
|
+
const ce = ee([J, X], [H, Q]), de = ce.useContext;
|
|
17
|
+
$(!1);
|
|
18
|
+
$(null);
|
|
19
|
+
function ue(e) {
|
|
20
20
|
var a;
|
|
21
21
|
const o = (a = e[0]) == null ? void 0 : a.element;
|
|
22
22
|
if (!o) return;
|
|
23
|
-
const t =
|
|
23
|
+
const t = te(o);
|
|
24
24
|
if (t)
|
|
25
|
-
return e.find((
|
|
25
|
+
return e.find((i) => i.element === t);
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function me(e, o) {
|
|
28
28
|
if (o != null)
|
|
29
29
|
return e.find((t) => t.id === o);
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function x(e) {
|
|
32
32
|
return !(!e || e.disabled || e.dimmed);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
const e =
|
|
36
|
-
return
|
|
34
|
+
function fe() {
|
|
35
|
+
const e = Z(), o = /* @__PURE__ */ new Map();
|
|
36
|
+
return b(e, ["items"], (t) => {
|
|
37
37
|
o.clear();
|
|
38
38
|
for (const a of t.items) {
|
|
39
|
-
const { tabId:
|
|
40
|
-
|
|
39
|
+
const { tabId: i } = a;
|
|
40
|
+
i != null && (o.has(i) || o.set(i, a));
|
|
41
41
|
}
|
|
42
42
|
}), {
|
|
43
43
|
panels: e,
|
|
44
44
|
panel: (t) => t == null ? null : o.get(t) || null
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function be({ composite: e, combobox: o, ...t } = {}) {
|
|
48
48
|
const a = [
|
|
49
49
|
"items",
|
|
50
50
|
"renderedItems",
|
|
@@ -59,130 +59,137 @@ function fe({ composite: e, combobox: o, ...t } = {}) {
|
|
|
59
59
|
"focusShift",
|
|
60
60
|
"focusWrap",
|
|
61
61
|
"selectOnMove"
|
|
62
|
-
],
|
|
62
|
+
], i = re(t.store, M(e, a), M(o, a)), r = i == null ? void 0 : i.getState(), c = Y({
|
|
63
63
|
...t,
|
|
64
|
-
store:
|
|
64
|
+
store: i,
|
|
65
65
|
compositeElementInFocusOrder: _(t.compositeElementInFocusOrder, t.includesBaseElement, r == null ? void 0 : r.compositeElementInFocusOrder, r == null ? void 0 : r.includesBaseElement, !1),
|
|
66
66
|
orientation: _(t.orientation, r == null ? void 0 : r.orientation, "horizontal"),
|
|
67
67
|
focusLoop: _(t.focusLoop, r == null ? void 0 : r.focusLoop, !0)
|
|
68
|
-
}), { panels:
|
|
69
|
-
...
|
|
68
|
+
}), { panels: f, panel: v } = fe(), S = {
|
|
69
|
+
...c.getState(),
|
|
70
70
|
selectedId: _(t.selectedId, r == null ? void 0 : r.selectedId, t.defaultSelectedId),
|
|
71
71
|
selectOnMove: _(t.selectOnMove, r == null ? void 0 : r.selectOnMove, !0)
|
|
72
|
-
},
|
|
73
|
-
I(
|
|
74
|
-
const { activeId:
|
|
75
|
-
if (!
|
|
76
|
-
const
|
|
77
|
-
|
|
72
|
+
}, n = ne(S, c, i);
|
|
73
|
+
I(n, () => b(n, ["moves"], () => {
|
|
74
|
+
const { activeId: s, selectOnMove: l } = n.getState();
|
|
75
|
+
if (!l || !s) return;
|
|
76
|
+
const m = c.item(s);
|
|
77
|
+
x(m) && n.setState("selectedId", m.id);
|
|
78
78
|
}));
|
|
79
|
-
let
|
|
80
|
-
I(
|
|
81
|
-
if (
|
|
82
|
-
const { activeId:
|
|
83
|
-
if (
|
|
84
|
-
const
|
|
85
|
-
if (
|
|
86
|
-
|
|
79
|
+
let p = !1, k;
|
|
80
|
+
I(n, () => (p = !1, ae(n, ["selectedId"], (s, l) => {
|
|
81
|
+
if (p && (p = !1, s.selectedId === k) || e && s.selectedId === l.selectedId) return;
|
|
82
|
+
const { activeId: m, renderedItems: d } = n.getState();
|
|
83
|
+
if (m === s.selectedId) return;
|
|
84
|
+
const u = ue(d), w = me(d, s.selectedId);
|
|
85
|
+
if (u && x(w)) {
|
|
86
|
+
c.move(w.id);
|
|
87
87
|
return;
|
|
88
88
|
}
|
|
89
|
-
|
|
90
|
-
}))), I(
|
|
91
|
-
if (
|
|
92
|
-
const { activeId:
|
|
93
|
-
if (
|
|
89
|
+
n.setState("activeId", s.selectedId);
|
|
90
|
+
}))), I(n, () => b(n, ["selectedId", "renderedItems"], (s) => {
|
|
91
|
+
if (s.selectedId !== void 0) return;
|
|
92
|
+
const { activeId: l, renderedItems: m } = n.getState(), d = c.item(l);
|
|
93
|
+
if (x(d)) n.setState("selectedId", d.id);
|
|
94
94
|
else {
|
|
95
|
-
const
|
|
96
|
-
|
|
95
|
+
const u = m.find(x);
|
|
96
|
+
n.setState("selectedId", u == null ? void 0 : u.id);
|
|
97
97
|
}
|
|
98
|
-
})), I(
|
|
99
|
-
const
|
|
100
|
-
if (
|
|
101
|
-
return f
|
|
102
|
-
const
|
|
103
|
-
|
|
104
|
-
if (
|
|
105
|
-
const
|
|
106
|
-
|
|
107
|
-
...
|
|
108
|
-
tabId:
|
|
98
|
+
})), I(n, () => b(n, ["renderedItems"], (s) => {
|
|
99
|
+
const l = s.renderedItems;
|
|
100
|
+
if (l.length)
|
|
101
|
+
return b(f, ["renderedItems"], (m) => {
|
|
102
|
+
const d = m.renderedItems;
|
|
103
|
+
d.some((u) => !u.tabId) && d.forEach((u, w) => {
|
|
104
|
+
if (u.tabId) return;
|
|
105
|
+
const C = l[w];
|
|
106
|
+
C && f.renderItem({
|
|
107
|
+
...u,
|
|
108
|
+
tabId: C.id
|
|
109
109
|
});
|
|
110
110
|
});
|
|
111
111
|
});
|
|
112
112
|
}));
|
|
113
|
-
let
|
|
114
|
-
return I(
|
|
115
|
-
const
|
|
116
|
-
|
|
117
|
-
},
|
|
118
|
-
const { selectedId:
|
|
119
|
-
|
|
120
|
-
},
|
|
121
|
-
if (e && !
|
|
122
|
-
if (
|
|
123
|
-
return
|
|
113
|
+
let h = null;
|
|
114
|
+
return I(n, () => {
|
|
115
|
+
const s = () => {
|
|
116
|
+
h = n.getState().selectedId;
|
|
117
|
+
}, l = () => {
|
|
118
|
+
const { selectedId: u } = n.getState();
|
|
119
|
+
u !== h && (p = !0, k = h, n.setState("selectedId", h));
|
|
120
|
+
}, m = !!e && "setSelectedValue" in e, d = m ? e : o;
|
|
121
|
+
if (e && !m && "setSelectElement" in e) return N(b(e, ["value"], s), b(e, ["mounted"], l));
|
|
122
|
+
if (d)
|
|
123
|
+
return N(b(d, ["selectedValue"], s), b(d, ["mounted"], l));
|
|
124
124
|
}), {
|
|
125
|
-
...
|
|
126
|
-
...
|
|
127
|
-
panels:
|
|
128
|
-
panel:
|
|
129
|
-
setSelectedId: (
|
|
130
|
-
select: (
|
|
131
|
-
|
|
125
|
+
...c,
|
|
126
|
+
...n,
|
|
127
|
+
panels: f,
|
|
128
|
+
panel: v,
|
|
129
|
+
setSelectedId: (s) => n.setState("selectedId", s),
|
|
130
|
+
select: (s) => {
|
|
131
|
+
n.setState("selectedId", s), c.move(s);
|
|
132
132
|
}
|
|
133
133
|
};
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
|
|
135
|
+
function he(e, o, t) {
|
|
136
|
+
F(o, [
|
|
137
137
|
t.composite,
|
|
138
138
|
t.combobox,
|
|
139
139
|
o
|
|
140
140
|
]);
|
|
141
|
-
const a =
|
|
142
|
-
|
|
143
|
-
const [
|
|
144
|
-
return
|
|
141
|
+
const a = G(e, o, t);
|
|
142
|
+
V(a, t, "selectedId", "setSelectedId"), V(a, t, "selectOnMove");
|
|
143
|
+
const [i, r] = j(() => a.panels, {});
|
|
144
|
+
return F(r, [a, r]), Object.assign(oe(() => ({
|
|
145
145
|
...a,
|
|
146
|
-
panels:
|
|
147
|
-
}), [a,
|
|
146
|
+
panels: i
|
|
147
|
+
}), [a, i]), {
|
|
148
148
|
composite: t.composite,
|
|
149
149
|
combobox: t.combobox
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
const o =
|
|
152
|
+
function Qe(e = {}) {
|
|
153
|
+
const o = D(), t = de() || o, a = {
|
|
154
154
|
...e,
|
|
155
155
|
composite: e.composite !== void 0 ? e.composite : t,
|
|
156
156
|
combobox: e.combobox !== void 0 ? e.combobox : o
|
|
157
|
-
}, [
|
|
158
|
-
return
|
|
157
|
+
}, [i, r] = j(be, a);
|
|
158
|
+
return he(i, r, a);
|
|
159
159
|
}
|
|
160
|
-
const
|
|
160
|
+
const y = z.createContext(null);
|
|
161
161
|
function ge() {
|
|
162
|
-
const e =
|
|
162
|
+
const e = z.useContext(y);
|
|
163
|
+
return (e == null ? void 0 : e.orientation) ?? "horizontal";
|
|
164
|
+
}
|
|
165
|
+
function pe() {
|
|
166
|
+
const e = z.useContext(y);
|
|
163
167
|
return (e == null ? void 0 : e.size) || "lg";
|
|
164
168
|
}
|
|
165
|
-
const
|
|
166
|
-
root:
|
|
167
|
-
"
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"folder-icon
|
|
173
|
-
"folder-icon-
|
|
174
|
-
"folder-icon-
|
|
175
|
-
"folder-icon-
|
|
176
|
-
"folder-icon-
|
|
177
|
-
"folder-icon-
|
|
178
|
-
"folder-icon-
|
|
179
|
-
"folder-icon-
|
|
180
|
-
"folder-icon-
|
|
181
|
-
"folder-icon-
|
|
182
|
-
"folder-icon-
|
|
183
|
-
"folder-icon-
|
|
184
|
-
"
|
|
185
|
-
|
|
169
|
+
const ve = "_root_2romh_2", _e = "_content_2romh_61", Ie = "_icon_2romh_68", E = {
|
|
170
|
+
root: ve,
|
|
171
|
+
"orientation-vertical": "_orientation-vertical_2romh_58",
|
|
172
|
+
content: _e,
|
|
173
|
+
icon: Ie,
|
|
174
|
+
"size-lg": "_size-lg_2romh_72",
|
|
175
|
+
"size-md": "_size-md_2romh_79",
|
|
176
|
+
"folder-icon": "_folder-icon_2romh_89",
|
|
177
|
+
"folder-icon-blue": "_folder-icon-blue_2romh_92",
|
|
178
|
+
"folder-icon-blue-active": "_folder-icon-blue-active_2romh_95",
|
|
179
|
+
"folder-icon-green": "_folder-icon-green_2romh_98",
|
|
180
|
+
"folder-icon-green-active": "_folder-icon-green-active_2romh_101",
|
|
181
|
+
"folder-icon-orange": "_folder-icon-orange_2romh_104",
|
|
182
|
+
"folder-icon-orange-active": "_folder-icon-orange-active_2romh_107",
|
|
183
|
+
"folder-icon-pink": "_folder-icon-pink_2romh_110",
|
|
184
|
+
"folder-icon-pink-active": "_folder-icon-pink-active_2romh_113",
|
|
185
|
+
"folder-icon-teal": "_folder-icon-teal_2romh_116",
|
|
186
|
+
"folder-icon-teal-active": "_folder-icon-teal-active_2romh_119",
|
|
187
|
+
"folder-icon-violet": "_folder-icon-violet_2romh_122",
|
|
188
|
+
"folder-icon-violet-active": "_folder-icon-violet-active_2romh_125",
|
|
189
|
+
"folder-icon-warm": "_folder-icon-warm_2romh_128",
|
|
190
|
+
"folder-icon-warm-active": "_folder-icon-warm-active_2romh_131",
|
|
191
|
+
"tab-list": "_tab-list_2romh_137"
|
|
192
|
+
}, ke = [
|
|
186
193
|
"angle-left-b",
|
|
187
194
|
"angle-right-b",
|
|
188
195
|
"angle-up",
|
|
@@ -199,7 +206,7 @@ const pe = "_root_ijogm_2", T = {
|
|
|
199
206
|
"angle-double-right",
|
|
200
207
|
"angle-left",
|
|
201
208
|
"angle-right"
|
|
202
|
-
],
|
|
209
|
+
], we = [
|
|
203
210
|
"asterisk",
|
|
204
211
|
"info-circle",
|
|
205
212
|
"chart-line",
|
|
@@ -255,13 +262,13 @@ const pe = "_root_ijogm_2", T = {
|
|
|
255
262
|
"share",
|
|
256
263
|
"bulk",
|
|
257
264
|
"bulk-active"
|
|
258
|
-
],
|
|
265
|
+
], xe = [
|
|
259
266
|
"chat",
|
|
260
267
|
"chat-bubble-user",
|
|
261
268
|
"comment",
|
|
262
269
|
"comment-alt-lines",
|
|
263
270
|
"comment-chart-line"
|
|
264
|
-
],
|
|
271
|
+
], Se = [
|
|
265
272
|
"music",
|
|
266
273
|
"rocket",
|
|
267
274
|
"file-alt",
|
|
@@ -347,8 +354,10 @@ const pe = "_root_ijogm_2", T = {
|
|
|
347
354
|
"check-circle",
|
|
348
355
|
"certified",
|
|
349
356
|
// (not unicons, personal mashup)
|
|
350
|
-
"plug"
|
|
351
|
-
|
|
357
|
+
"plug",
|
|
358
|
+
"hourglass",
|
|
359
|
+
"focus-target"
|
|
360
|
+
], Te = [
|
|
352
361
|
"play",
|
|
353
362
|
"play-solid",
|
|
354
363
|
"stop-circle-solid",
|
|
@@ -378,7 +387,7 @@ const pe = "_root_ijogm_2", T = {
|
|
|
378
387
|
"volume-up",
|
|
379
388
|
"volume-mute",
|
|
380
389
|
"closed-captioning"
|
|
381
|
-
],
|
|
390
|
+
], ze = [
|
|
382
391
|
"icons",
|
|
383
392
|
"package",
|
|
384
393
|
"basketball",
|
|
@@ -454,14 +463,14 @@ const pe = "_root_ijogm_2", T = {
|
|
|
454
463
|
"redo",
|
|
455
464
|
"play",
|
|
456
465
|
"ban"
|
|
457
|
-
],
|
|
466
|
+
], Pe = [
|
|
458
467
|
"folder",
|
|
459
468
|
"folder-open",
|
|
460
469
|
"folder-full",
|
|
461
470
|
"folder-plus",
|
|
462
471
|
"file",
|
|
463
472
|
"image"
|
|
464
|
-
],
|
|
473
|
+
], ye = [
|
|
465
474
|
"bold",
|
|
466
475
|
"arrow",
|
|
467
476
|
"brackets-curly",
|
|
@@ -487,7 +496,7 @@ const pe = "_root_ijogm_2", T = {
|
|
|
487
496
|
// (not unicons, original creation)
|
|
488
497
|
"font",
|
|
489
498
|
"underline"
|
|
490
|
-
],
|
|
499
|
+
], Ee = [
|
|
491
500
|
"behance",
|
|
492
501
|
"dribbble",
|
|
493
502
|
"facebook",
|
|
@@ -514,80 +523,90 @@ const pe = "_root_ijogm_2", T = {
|
|
|
514
523
|
// (not unicons)
|
|
515
524
|
"medium"
|
|
516
525
|
// (not unicons)
|
|
517
|
-
],
|
|
518
|
-
...
|
|
519
|
-
...
|
|
520
|
-
...
|
|
521
|
-
..._e,
|
|
526
|
+
], Ce = ["symbol", "wttj"], Oe = ["flag-fr", "flag-en", "flag-us"], Ne = [
|
|
527
|
+
...we,
|
|
528
|
+
...ke,
|
|
529
|
+
...Ee,
|
|
522
530
|
...xe,
|
|
523
531
|
...Pe,
|
|
532
|
+
...Oe,
|
|
533
|
+
...ye,
|
|
524
534
|
...Se,
|
|
525
|
-
...Ie,
|
|
526
|
-
...ke,
|
|
527
535
|
...Te,
|
|
528
|
-
...
|
|
529
|
-
|
|
530
|
-
|
|
536
|
+
...Ce,
|
|
537
|
+
...ze
|
|
538
|
+
], Fe = (e) => Ne.includes(e), Me = P(E);
|
|
539
|
+
function Ve({
|
|
531
540
|
icon: e,
|
|
532
541
|
iconColor: o,
|
|
533
542
|
isActive: t,
|
|
534
543
|
size: a
|
|
535
544
|
}) {
|
|
536
|
-
return e ? typeof e != "string" || !
|
|
545
|
+
return e ? typeof e != "string" || !Fe(e) ? e : /* @__PURE__ */ g(
|
|
537
546
|
le,
|
|
538
547
|
{
|
|
539
|
-
className: o ?
|
|
548
|
+
className: o ? Me("folder-icon", `folder-icon-${o}${t ? "-active" : ""}`) : void 0,
|
|
540
549
|
name: e,
|
|
541
550
|
size: a
|
|
542
551
|
}
|
|
543
552
|
) : null;
|
|
544
553
|
}
|
|
545
|
-
const
|
|
546
|
-
({ as: e, badge: o, children: t, className: a, icon:
|
|
547
|
-
const
|
|
548
|
-
icon:
|
|
554
|
+
const T = P(E), L = ie(
|
|
555
|
+
({ as: e, badge: o, children: t, className: a, icon: i, iconColor: r = "violet", id: c, store: f, ...v }, S) => {
|
|
556
|
+
const n = pe(), p = ge(), { selectedId: k } = q(f), h = k === c, s = Ve({
|
|
557
|
+
icon: i,
|
|
549
558
|
iconColor: r,
|
|
550
|
-
isActive:
|
|
551
|
-
size:
|
|
552
|
-
}),
|
|
553
|
-
return /* @__PURE__ */
|
|
554
|
-
|
|
559
|
+
isActive: h,
|
|
560
|
+
size: n
|
|
561
|
+
}), l = h ? "neutral" : "warm";
|
|
562
|
+
return /* @__PURE__ */ O(
|
|
563
|
+
W,
|
|
555
564
|
{
|
|
556
|
-
className:
|
|
557
|
-
|
|
565
|
+
className: T(
|
|
566
|
+
"root",
|
|
567
|
+
`size-${n}`,
|
|
568
|
+
p === "vertical" && "orientation-vertical",
|
|
569
|
+
a
|
|
570
|
+
),
|
|
571
|
+
id: c,
|
|
558
572
|
ref: S,
|
|
559
|
-
render: e ? /* @__PURE__ */
|
|
560
|
-
store:
|
|
561
|
-
...
|
|
573
|
+
render: e ? /* @__PURE__ */ g(e, {}) : void 0,
|
|
574
|
+
store: f,
|
|
575
|
+
...v,
|
|
562
576
|
children: [
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
577
|
+
/* @__PURE__ */ O("span", { className: T("content"), children: [
|
|
578
|
+
s ? /* @__PURE__ */ g("span", { className: T("icon"), children: s }) : null,
|
|
579
|
+
t
|
|
580
|
+
] }),
|
|
581
|
+
o ? /* @__PURE__ */ g(se, { size: n, variant: l, children: o }) : null
|
|
566
582
|
]
|
|
567
583
|
}
|
|
568
584
|
);
|
|
569
585
|
}
|
|
570
586
|
);
|
|
571
|
-
|
|
572
|
-
const
|
|
573
|
-
|
|
574
|
-
const
|
|
575
|
-
({ children: e, className: o, size: t = "lg", store: a, ...
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
587
|
+
L.displayName = "Tabs.Tab";
|
|
588
|
+
const A = B(({ children: e, ...o }, t) => /* @__PURE__ */ g(K, { ref: t, ...o, children: e }));
|
|
589
|
+
A.displayName = "Tabs.Panel";
|
|
590
|
+
const $e = P(E), R = B(
|
|
591
|
+
({ children: e, className: o, size: t = "lg", store: a, ...i }, r) => {
|
|
592
|
+
const { orientation: c } = q(a), f = c === "vertical", v = f ? "vertical" : "horizontal";
|
|
593
|
+
return /* @__PURE__ */ g(
|
|
594
|
+
U,
|
|
595
|
+
{
|
|
596
|
+
className: $e("tab-list", `size-${t}`, f && "orientation-vertical", o),
|
|
597
|
+
ref: r,
|
|
598
|
+
store: a,
|
|
599
|
+
...i,
|
|
600
|
+
children: /* @__PURE__ */ g(y.Provider, { value: { orientation: v, size: t }, children: e })
|
|
601
|
+
}
|
|
602
|
+
);
|
|
603
|
+
}
|
|
585
604
|
);
|
|
586
|
-
|
|
587
|
-
const
|
|
605
|
+
R.displayName = "Tabs";
|
|
606
|
+
const Xe = Object.assign(R, { Panel: A, Tab: L });
|
|
588
607
|
export {
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
608
|
+
Xe as Tabs,
|
|
609
|
+
R as TabsComponent,
|
|
610
|
+
E as tabsClasses,
|
|
611
|
+
Qe as useTab
|
|
593
612
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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", "sliders-v-alt", "link", "sign-out-alt", "bars", "sort-amount-down", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "bulk", "bulk-active"];
|
|
3
3
|
export declare const chat: readonly ["chat", "chat-bubble-user", "comment", "comment-alt-lines", "comment-chart-line"];
|
|
4
|
-
export declare const miscellaneous: readonly ["music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "file-slash", "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", "envelope-star", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "unlock", "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", "swatchbook", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug"];
|
|
4
|
+
export declare const miscellaneous: readonly ["music", "rocket", "file-alt", "user-square", "book-reader", "file-question-alt", "file-slash", "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", "envelope-star", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "unlock", "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", "swatchbook", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug", "hourglass", "focus-target"];
|
|
5
5
|
export declare const player: readonly ["play", "play-solid", "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
6
|
export declare const wtf: readonly ["icons", "package", "basketball", "bill", "invoice", "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", "folder-plus", "file", "image"];
|
|
@@ -9,5 +9,5 @@ export declare const markdown: readonly ["bold", "arrow", "brackets-curly", "ita
|
|
|
9
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", "sliders-v-alt", "link", "sign-out-alt", "bars", "sort-amount-down", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "bulk", "bulk-active", "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", "comment-chart-line", "folder", "folder-open", "folder-full", "folder-plus", "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", "file-slash", "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", "envelope-star", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "unlock", "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", "swatchbook", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug", "play", "play-solid", "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", "invoice", "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"];
|
|
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", "sliders-v-alt", "link", "sign-out-alt", "bars", "sort-amount-down", "ellipsis-v", "ellipsis-h", "move-arrow", "bell", "print", "bolt-alt", "redo", "save", "search", "setting", "share-alt", "share", "bulk", "bulk-active", "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", "comment-chart-line", "folder", "folder-open", "folder-full", "folder-plus", "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", "file-slash", "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", "envelope-star", "equal-circle", "minus", "venus", "mars", "estate", "info-circle", "columns", "english-to-chinese", "bag-alt", "chart-line", "map-marker-alt", "map-pin", "lock-alt", "unlock", "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", "swatchbook", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug", "hourglass", "focus-target", "play", "play-solid", "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", "invoice", "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
13
|
export declare const isValidIconName: (iconName: string) => iconName is (typeof icons)[number];
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Size } from './types';
|
|
3
|
+
export type TabOrientation = 'horizontal' | 'vertical';
|
|
3
4
|
type TabContextType = {
|
|
5
|
+
orientation?: TabOrientation;
|
|
4
6
|
size?: Size;
|
|
5
7
|
};
|
|
6
8
|
export declare const TabContext: React.Context<TabContextType>;
|
|
9
|
+
export declare function useTabOrientation(): TabOrientation;
|
|
7
10
|
export declare function useTabSize(): Size;
|
|
8
11
|
export {};
|