welcome-ui 10.6.4 → 10.6.6
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/Accordion.js +6 -6
- package/dist/Button.js +2 -2
- package/dist/Checkbox.js +1 -1
- package/dist/{CustomPopper-C1wIDHbM.js → CustomPopper-DWdMQOgg.js} +1 -1
- package/dist/D5lwkpmX-BTxFdaqc.js +1061 -0
- package/dist/DatePicker.js +2 -2
- package/dist/DateTimePicker.js +3 -3
- package/dist/DjvJNLSl-CB2sOBlX.js +88 -0
- package/dist/Drawer.js +4 -4
- package/dist/DropdownMenu.js +811 -925
- package/dist/Modal.js +14 -14
- package/dist/Popover.js +25 -24
- package/dist/Radio.js +1 -1
- package/dist/RadioGroup.js +41 -46
- package/dist/RadioTab.js +1 -1
- package/dist/Search.css +1 -1
- package/dist/Search.js +105 -106
- package/dist/Select.css +1 -1
- package/dist/Select.js +257 -251
- package/dist/Tabs.js +192 -198
- package/dist/TimePicker.js +4 -4
- package/dist/Toggle.js +1 -1
- package/dist/Tooltip.css +1 -1
- package/dist/Tooltip.js +150 -185
- package/dist/WelcomeLoader.js +86 -86
- package/dist/Window.js +5 -5
- package/dist/button-BmXyuOyT.js +24 -0
- package/dist/combobox-context-COdkPD-I.js +14 -0
- package/dist/command-JKE9Az0e.js +78 -0
- package/dist/composite-BOnUaIWf.js +198 -0
- package/dist/composite-item-CzuZunbi.js +763 -0
- package/dist/composite-store-BbsZpdXc.js +21 -0
- package/dist/dialog-RAMLmAdq.js +1222 -0
- package/dist/dialog-disclosure-xHQQLmS6.js +25 -0
- package/dist/dialog-dismiss-DVxKs13g.js +48 -0
- package/dist/disclosure-BQqv9Q8p.js +47 -0
- package/dist/disclosure-store-KfU9xwem.js +168 -0
- package/dist/hovercard-anchor-CgWES4cl.js +19 -0
- package/dist/hovercard-store-DjVhDVte.js +569 -0
- package/dist/index-B0vSTNCB.js +609 -0
- package/dist/popover-context-B2YQ_e3N.js +12 -0
- package/dist/popover-disclosure-a-bqp8Gt.js +183 -0
- package/dist/radio-J8ogFsWS.js +77 -0
- package/dist/tab-panel-DMICXMJc.js +187 -0
- package/dist/types/components/Accordion/index.d.ts +1 -1
- package/dist/types/components/Alert/components/Title.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/CustomHeader.d.ts +1 -1
- package/dist/types/components/DateTimePickerCommon/CustomPopper.d.ts +1 -1
- package/dist/types/components/Drawer/AssetDrawer/Header.d.ts +1 -1
- package/dist/types/components/Drawer/AssetDrawer/IconBlock.d.ts +1 -1
- package/dist/types/components/Drawer/components/Close.d.ts +1 -1
- package/dist/types/components/Drawer/index.d.ts +6 -6
- package/dist/types/components/FileDrop/components/FilePreview.d.ts +1 -1
- package/dist/types/components/FileDrop/components/Message.d.ts +1 -1
- package/dist/types/components/Icon/Sprite.d.ts +1 -1
- package/dist/types/components/Loader/index.d.ts +1 -1
- package/dist/types/components/Modal/Assets/AssetContent.d.ts +1 -1
- package/dist/types/components/Modal/Assets/AssetTitle.d.ts +1 -1
- package/dist/types/components/Modal/Assets/CloseButton.d.ts +1 -1
- package/dist/types/components/Modal/Assets/Iframe.d.ts +1 -1
- package/dist/types/components/Modal/Assets/index.d.ts +3 -3
- package/dist/types/components/Modal/components/Footer.d.ts +2 -2
- package/dist/types/components/Modal/index.d.ts +9 -9
- package/dist/types/components/PasswordInput/ToggleButton.d.ts +1 -1
- package/dist/types/components/Popover/Arrow.d.ts +1 -1
- package/dist/types/components/Popover/ContentWrapper.d.ts +1 -1
- package/dist/types/components/RadioGroup/index.d.ts +1 -1
- package/dist/types/components/Stepper/index.d.ts +2 -2
- package/dist/types/components/Stepper/utils.d.ts +1 -1
- package/dist/types/components/StickyNote/components/Button.d.ts +1 -1
- package/dist/types/components/StickyNote/components/Title.d.ts +1 -1
- package/dist/types/components/StickyNote/index.d.ts +2 -2
- package/dist/types/components/Swiper/components/SwiperNextButton.d.ts +1 -1
- package/dist/types/components/Swiper/components/SwiperPrevButton.d.ts +1 -1
- package/dist/types/components/Swiper/components/SwiperSlides.d.ts +1 -1
- package/dist/types/components/Swiper/index.d.ts +4 -4
- package/dist/types/components/Table/index.d.ts +5 -5
- package/dist/types/components/Tabs/utils.d.ts +1 -1
- package/dist/types/components/Toast/index.d.ts +2 -2
- package/dist/types/components/Window/components/Header.d.ts +4 -4
- package/dist/types/components/Window/index.d.ts +4 -4
- package/package.json +2 -2
- package/dist/5TKKKQCL-rs260p95.js +0 -80
- package/dist/7PRQYBBV-D9IY4qtU.js +0 -14
- package/dist/APVORPDK-i7Z_eBMP.js +0 -25
- package/dist/CVCFNOHX-Ck0bUDvo.js +0 -20
- package/dist/ECBEZ4YM-o09xUuV6.js +0 -600
- package/dist/HMKTUWOU-NkVXWCyR.js +0 -25
- package/dist/I7KWAPMF-DQWZpGyL.js +0 -86
- package/dist/IQYAUKXT-Cltvp3KN.js +0 -303
- package/dist/JMU4N4M5-DnfyqGdJ.js +0 -15
- package/dist/NDVACHQI-WTOpOfgG.js +0 -37
- package/dist/OCCHVUS4-BJVLPRH8.js +0 -48
- package/dist/PZ3OL7I2-Cfim3UGe.js +0 -61
- package/dist/Q5W46E73-5xQblshY.js +0 -346
- package/dist/RFRKSHIZ-C_FLl4qI.js +0 -147
- package/dist/U6HHPQDW-CzxyP5H7.js +0 -856
- package/dist/WLZ6H5FH-CuTcX7sR.js +0 -183
- package/dist/WZWDIE3S-CGqoM1Fy.js +0 -290
- package/dist/Z32PU2LQ-DMjfxuT9.js +0 -945
- package/dist/ZMWF7ASR-Jc8y_k3t.js +0 -166
- package/dist/tab-panel-Cc3MfOBM.js +0 -212
package/dist/Tabs.js
CHANGED
|
@@ -1,175 +1,169 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './Tabs.css';
|
|
3
3
|
import { jsx as h, jsxs as L } from "react/jsx-runtime";
|
|
4
|
-
import { T as
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
)
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
27
|
-
|
|
4
|
+
import { T as A, b as R, a as W } from "./tab-panel-DMICXMJc.js";
|
|
5
|
+
import { a as K } from "./combobox-context-COdkPD-I.js";
|
|
6
|
+
import { u as U } from "./composite-store-BbsZpdXc.js";
|
|
7
|
+
import { P as D, b as G } from "./popover-context-B2YQ_e3N.js";
|
|
8
|
+
import { C as H, a as J, c as Q, m as X } from "./composite-item-CzuZunbi.js";
|
|
9
|
+
import { b as Y, w as _, V as z, ab as Z, x as y } from "./D5lwkpmX-BTxFdaqc.js";
|
|
10
|
+
import O, { createContext as F, useMemo as ee, forwardRef as M } from "react";
|
|
11
|
+
import { m as te, o as E, c as oe, s as I, d as f, g as re, a as N, b as C, u as se } from "./index-B0vSTNCB.js";
|
|
12
|
+
import { c as j } from "./index-B6iGEm-i.js";
|
|
13
|
+
import { Badge as ae } from "./Badge.js";
|
|
14
|
+
import { f as ne } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
15
|
+
import { Icon as le } from "./Icon.js";
|
|
16
|
+
const ie = Y([G, J], [D, H]), ce = ie.useContext;
|
|
17
|
+
F(!1);
|
|
18
|
+
F(null);
|
|
19
|
+
function de(e) {
|
|
20
|
+
var a;
|
|
21
|
+
const o = (a = e[0]) == null ? void 0 : a.element;
|
|
22
|
+
if (!o) return;
|
|
23
|
+
const t = Z(o);
|
|
24
|
+
if (t)
|
|
25
|
+
return e.find((l) => l.element === t);
|
|
26
|
+
}
|
|
27
|
+
function ue(e, o) {
|
|
28
|
+
if (o != null)
|
|
29
|
+
return e.find((t) => t.id === o);
|
|
30
|
+
}
|
|
31
|
+
function w(e) {
|
|
32
|
+
return !(!e || e.disabled || e.dimmed);
|
|
33
|
+
}
|
|
34
|
+
function me() {
|
|
35
|
+
const e = X(), o = /* @__PURE__ */ new Map();
|
|
36
|
+
return f(e, ["items"], (t) => {
|
|
37
|
+
o.clear();
|
|
38
|
+
for (const a of t.items) {
|
|
39
|
+
const { tabId: l } = a;
|
|
40
|
+
l != null && (o.has(l) || o.set(l, a));
|
|
41
|
+
}
|
|
42
|
+
}), {
|
|
43
|
+
panels: e,
|
|
44
|
+
panel: (t) => t == null ? null : o.get(t) || null
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function fe({ composite: e, combobox: o, ...t } = {}) {
|
|
48
|
+
const a = [
|
|
28
49
|
"items",
|
|
29
50
|
"renderedItems",
|
|
30
51
|
"moves",
|
|
31
52
|
"orientation",
|
|
32
53
|
"virtualFocus",
|
|
54
|
+
"compositeElementInFocusOrder",
|
|
33
55
|
"includesBaseElement",
|
|
56
|
+
"compositeElement",
|
|
34
57
|
"baseElement",
|
|
35
58
|
"focusLoop",
|
|
36
59
|
"focusShift",
|
|
37
|
-
"focusWrap"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
y(e, i),
|
|
41
|
-
y(a, i)
|
|
42
|
-
), r = l == null ? void 0 : l.getState(), d = te({
|
|
60
|
+
"focusWrap",
|
|
61
|
+
"selectOnMove"
|
|
62
|
+
], l = te(t.store, E(e, a), E(o, a)), r = l == null ? void 0 : l.getState(), m = Q({
|
|
43
63
|
...t,
|
|
44
64
|
store: l,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
e && s.selectedId === n.selectedId || o.setState("activeId", s.selectedId);
|
|
91
|
-
})
|
|
92
|
-
), p(
|
|
93
|
-
o,
|
|
94
|
-
() => m(o, ["selectedId", "renderedItems"], (s) => {
|
|
95
|
-
if (s.selectedId !== void 0) return;
|
|
96
|
-
const { activeId: n, renderedItems: c } = o.getState(), f = d.item(n);
|
|
97
|
-
if (f && !f.disabled && !f.dimmed)
|
|
98
|
-
o.setState("selectedId", f.id);
|
|
99
|
-
else {
|
|
100
|
-
const k = c.find(
|
|
101
|
-
(g) => !g.disabled && !g.dimmed
|
|
102
|
-
);
|
|
103
|
-
o.setState("selectedId", k == null ? void 0 : k.id);
|
|
104
|
-
}
|
|
105
|
-
})
|
|
106
|
-
), p(
|
|
107
|
-
o,
|
|
108
|
-
() => m(o, ["renderedItems"], (s) => {
|
|
109
|
-
const n = s.renderedItems;
|
|
110
|
-
if (n.length)
|
|
111
|
-
return m(b, ["renderedItems"], (c) => {
|
|
112
|
-
const f = c.renderedItems;
|
|
113
|
-
f.some((g) => !g.tabId) && f.forEach((g, B) => {
|
|
114
|
-
if (g.tabId) return;
|
|
115
|
-
const x = n[B];
|
|
116
|
-
x && b.renderItem({ ...g, tabId: x.id });
|
|
65
|
+
compositeElementInFocusOrder: _(t.compositeElementInFocusOrder, t.includesBaseElement, r == null ? void 0 : r.compositeElementInFocusOrder, r == null ? void 0 : r.includesBaseElement, !1),
|
|
66
|
+
orientation: _(t.orientation, r == null ? void 0 : r.orientation, "horizontal"),
|
|
67
|
+
focusLoop: _(t.focusLoop, r == null ? void 0 : r.focusLoop, !0)
|
|
68
|
+
}), { panels: b, panel: x } = me(), S = {
|
|
69
|
+
...m.getState(),
|
|
70
|
+
selectedId: _(t.selectedId, r == null ? void 0 : r.selectedId, t.defaultSelectedId),
|
|
71
|
+
selectOnMove: _(t.selectOnMove, r == null ? void 0 : r.selectOnMove, !0)
|
|
72
|
+
}, s = oe(S, m, l);
|
|
73
|
+
I(s, () => f(s, ["moves"], () => {
|
|
74
|
+
const { activeId: n, selectOnMove: d } = s.getState();
|
|
75
|
+
if (!d || !n) return;
|
|
76
|
+
const u = m.item(n);
|
|
77
|
+
w(u) && s.setState("selectedId", u.id);
|
|
78
|
+
}));
|
|
79
|
+
let g = !1, v;
|
|
80
|
+
I(s, () => (g = !1, re(s, ["selectedId"], (n, d) => {
|
|
81
|
+
if (g && (g = !1, n.selectedId === v) || e && n.selectedId === d.selectedId) return;
|
|
82
|
+
const { activeId: u, renderedItems: i } = s.getState();
|
|
83
|
+
if (u === n.selectedId) return;
|
|
84
|
+
const c = de(i), k = ue(i, n.selectedId);
|
|
85
|
+
if (c && w(k)) {
|
|
86
|
+
m.move(k.id);
|
|
87
|
+
return;
|
|
88
|
+
}
|
|
89
|
+
s.setState("activeId", n.selectedId);
|
|
90
|
+
}))), I(s, () => f(s, ["selectedId", "renderedItems"], (n) => {
|
|
91
|
+
if (n.selectedId !== void 0) return;
|
|
92
|
+
const { activeId: d, renderedItems: u } = s.getState(), i = m.item(d);
|
|
93
|
+
if (w(i)) s.setState("selectedId", i.id);
|
|
94
|
+
else {
|
|
95
|
+
const c = u.find(w);
|
|
96
|
+
s.setState("selectedId", c == null ? void 0 : c.id);
|
|
97
|
+
}
|
|
98
|
+
})), I(s, () => f(s, ["renderedItems"], (n) => {
|
|
99
|
+
const d = n.renderedItems;
|
|
100
|
+
if (d.length)
|
|
101
|
+
return f(b, ["renderedItems"], (u) => {
|
|
102
|
+
const i = u.renderedItems;
|
|
103
|
+
i.some((c) => !c.tabId) && i.forEach((c, k) => {
|
|
104
|
+
if (c.tabId) return;
|
|
105
|
+
const P = d[k];
|
|
106
|
+
P && b.renderItem({
|
|
107
|
+
...c,
|
|
108
|
+
tabId: P.id
|
|
117
109
|
});
|
|
118
110
|
});
|
|
119
|
-
|
|
120
|
-
);
|
|
121
|
-
let
|
|
122
|
-
return
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
},
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
);
|
|
133
|
-
if (a)
|
|
134
|
-
return z(
|
|
135
|
-
m(a, ["selectedValue"], s),
|
|
136
|
-
m(a, ["mounted"], n)
|
|
137
|
-
);
|
|
111
|
+
});
|
|
112
|
+
}));
|
|
113
|
+
let p = null;
|
|
114
|
+
return I(s, () => {
|
|
115
|
+
const n = () => {
|
|
116
|
+
p = s.getState().selectedId;
|
|
117
|
+
}, d = () => {
|
|
118
|
+
const { selectedId: c } = s.getState();
|
|
119
|
+
c !== p && (g = !0, v = p, s.setState("selectedId", p));
|
|
120
|
+
}, u = !!e && "setSelectedValue" in e, i = u ? e : o;
|
|
121
|
+
if (e && !u && "setSelectElement" in e) return z(f(e, ["value"], n), f(e, ["mounted"], d));
|
|
122
|
+
if (i)
|
|
123
|
+
return z(f(i, ["selectedValue"], n), f(i, ["mounted"], d));
|
|
138
124
|
}), {
|
|
139
|
-
...
|
|
140
|
-
...
|
|
125
|
+
...m,
|
|
126
|
+
...s,
|
|
141
127
|
panels: b,
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
128
|
+
panel: x,
|
|
129
|
+
setSelectedId: (n) => s.setState("selectedId", n),
|
|
130
|
+
select: (n) => {
|
|
131
|
+
s.setState("selectedId", n), m.move(n);
|
|
145
132
|
}
|
|
146
133
|
};
|
|
147
134
|
}
|
|
148
|
-
function
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
);
|
|
135
|
+
function be(e, o, t) {
|
|
136
|
+
y(o, [
|
|
137
|
+
t.composite,
|
|
138
|
+
t.combobox,
|
|
139
|
+
o
|
|
140
|
+
]);
|
|
141
|
+
const a = U(e, o, t);
|
|
142
|
+
C(a, t, "selectedId", "setSelectedId"), C(a, t, "selectOnMove");
|
|
143
|
+
const [l, r] = N(() => a.panels, {});
|
|
144
|
+
return y(r, [a, r]), Object.assign(ee(() => ({
|
|
145
|
+
...a,
|
|
146
|
+
panels: l
|
|
147
|
+
}), [a, l]), {
|
|
148
|
+
composite: t.composite,
|
|
149
|
+
combobox: t.combobox
|
|
150
|
+
});
|
|
155
151
|
}
|
|
156
|
-
function
|
|
157
|
-
const
|
|
158
|
-
e = {
|
|
152
|
+
function Ge(e = {}) {
|
|
153
|
+
const o = K(), t = ce() || o, a = {
|
|
159
154
|
...e,
|
|
160
155
|
composite: e.composite !== void 0 ? e.composite : t,
|
|
161
|
-
combobox: e.combobox !== void 0 ? e.combobox :
|
|
162
|
-
};
|
|
163
|
-
|
|
164
|
-
return ne(i, l, e);
|
|
156
|
+
combobox: e.combobox !== void 0 ? e.combobox : o
|
|
157
|
+
}, [l, r] = N(fe, a);
|
|
158
|
+
return be(l, r, a);
|
|
165
159
|
}
|
|
166
|
-
const
|
|
167
|
-
function
|
|
168
|
-
const e =
|
|
160
|
+
const $ = O.createContext(null);
|
|
161
|
+
function ge() {
|
|
162
|
+
const e = O.useContext($);
|
|
169
163
|
return (e == null ? void 0 : e.size) || "lg";
|
|
170
164
|
}
|
|
171
|
-
const
|
|
172
|
-
root:
|
|
165
|
+
const pe = "_root_ijogm_2", T = {
|
|
166
|
+
root: pe,
|
|
173
167
|
"size-lg": "_size-lg_ijogm_58",
|
|
174
168
|
"size-md": "_size-md_ijogm_65",
|
|
175
169
|
"folder-icon": "_folder-icon_ijogm_75",
|
|
@@ -188,7 +182,7 @@ const de = "_root_ijogm_2", S = {
|
|
|
188
182
|
"folder-icon-warm": "_folder-icon-warm_ijogm_114",
|
|
189
183
|
"folder-icon-warm-active": "_folder-icon-warm-active_ijogm_117",
|
|
190
184
|
"tab-list": "_tab-list_ijogm_123"
|
|
191
|
-
},
|
|
185
|
+
}, he = [
|
|
192
186
|
"angle-left-b",
|
|
193
187
|
"angle-right-b",
|
|
194
188
|
"angle-up",
|
|
@@ -205,7 +199,7 @@ const de = "_root_ijogm_2", S = {
|
|
|
205
199
|
"angle-double-right",
|
|
206
200
|
"angle-left",
|
|
207
201
|
"angle-right"
|
|
208
|
-
],
|
|
202
|
+
], ve = [
|
|
209
203
|
"asterisk",
|
|
210
204
|
"info-circle",
|
|
211
205
|
"chart-line",
|
|
@@ -261,13 +255,13 @@ const de = "_root_ijogm_2", S = {
|
|
|
261
255
|
"share",
|
|
262
256
|
"bulk",
|
|
263
257
|
"bulk-active"
|
|
264
|
-
],
|
|
258
|
+
], _e = [
|
|
265
259
|
"chat",
|
|
266
260
|
"chat-bubble-user",
|
|
267
261
|
"comment",
|
|
268
262
|
"comment-alt-lines",
|
|
269
263
|
"comment-chart-line"
|
|
270
|
-
],
|
|
264
|
+
], Ie = [
|
|
271
265
|
"music",
|
|
272
266
|
"rocket",
|
|
273
267
|
"file-alt",
|
|
@@ -354,7 +348,7 @@ const de = "_root_ijogm_2", S = {
|
|
|
354
348
|
"certified",
|
|
355
349
|
// (not unicons, personal mashup)
|
|
356
350
|
"plug"
|
|
357
|
-
],
|
|
351
|
+
], ke = [
|
|
358
352
|
"play",
|
|
359
353
|
"play-solid",
|
|
360
354
|
"stop-circle-solid",
|
|
@@ -384,7 +378,7 @@ const de = "_root_ijogm_2", S = {
|
|
|
384
378
|
"volume-up",
|
|
385
379
|
"volume-mute",
|
|
386
380
|
"closed-captioning"
|
|
387
|
-
],
|
|
381
|
+
], we = [
|
|
388
382
|
"icons",
|
|
389
383
|
"package",
|
|
390
384
|
"basketball",
|
|
@@ -460,14 +454,14 @@ const de = "_root_ijogm_2", S = {
|
|
|
460
454
|
"redo",
|
|
461
455
|
"play",
|
|
462
456
|
"ban"
|
|
463
|
-
],
|
|
457
|
+
], xe = [
|
|
464
458
|
"folder",
|
|
465
459
|
"folder-open",
|
|
466
460
|
"folder-full",
|
|
467
461
|
"folder-plus",
|
|
468
462
|
"file",
|
|
469
463
|
"image"
|
|
470
|
-
],
|
|
464
|
+
], Se = [
|
|
471
465
|
"bold",
|
|
472
466
|
"arrow",
|
|
473
467
|
"brackets-curly",
|
|
@@ -493,7 +487,7 @@ const de = "_root_ijogm_2", S = {
|
|
|
493
487
|
// (not unicons, original creation)
|
|
494
488
|
"font",
|
|
495
489
|
"underline"
|
|
496
|
-
],
|
|
490
|
+
], je = [
|
|
497
491
|
"behance",
|
|
498
492
|
"dribbble",
|
|
499
493
|
"facebook",
|
|
@@ -520,80 +514,80 @@ const de = "_root_ijogm_2", S = {
|
|
|
520
514
|
// (not unicons)
|
|
521
515
|
"medium"
|
|
522
516
|
// (not unicons)
|
|
523
|
-
],
|
|
524
|
-
...ue,
|
|
525
|
-
...me,
|
|
526
|
-
..._e,
|
|
527
|
-
...fe,
|
|
528
|
-
...pe,
|
|
529
|
-
...ke,
|
|
517
|
+
], Te = ["symbol", "wttj"], Pe = ["flag-fr", "flag-en", "flag-us"], ze = [
|
|
530
518
|
...ve,
|
|
531
|
-
...
|
|
532
|
-
...
|
|
519
|
+
...he,
|
|
520
|
+
...je,
|
|
521
|
+
..._e,
|
|
522
|
+
...xe,
|
|
523
|
+
...Pe,
|
|
524
|
+
...Se,
|
|
533
525
|
...Ie,
|
|
534
|
-
...
|
|
535
|
-
|
|
536
|
-
|
|
526
|
+
...ke,
|
|
527
|
+
...Te,
|
|
528
|
+
...we
|
|
529
|
+
], ye = (e) => ze.includes(e), Ee = j(T);
|
|
530
|
+
function Ce({
|
|
537
531
|
icon: e,
|
|
538
|
-
iconColor:
|
|
532
|
+
iconColor: o,
|
|
539
533
|
isActive: t,
|
|
540
|
-
size:
|
|
534
|
+
size: a
|
|
541
535
|
}) {
|
|
542
|
-
return e ? typeof e != "string" || !
|
|
543
|
-
|
|
536
|
+
return e ? typeof e != "string" || !ye(e) ? e : /* @__PURE__ */ h(
|
|
537
|
+
le,
|
|
544
538
|
{
|
|
545
|
-
className:
|
|
539
|
+
className: o ? Ee("folder-icon", `folder-icon-${o}${t ? "-active" : ""}`) : void 0,
|
|
546
540
|
name: e,
|
|
547
|
-
size:
|
|
541
|
+
size: a
|
|
548
542
|
}
|
|
549
543
|
) : null;
|
|
550
544
|
}
|
|
551
|
-
const
|
|
552
|
-
({ as: e, badge:
|
|
553
|
-
const
|
|
545
|
+
const Oe = j(T), V = ne(
|
|
546
|
+
({ as: e, badge: o, children: t, className: a, icon: l, iconColor: r = "violet", id: m, store: b, ...x }, S) => {
|
|
547
|
+
const s = ge(), { selectedId: g } = se(b), v = g === m, p = Ce({
|
|
554
548
|
icon: l,
|
|
555
549
|
iconColor: r,
|
|
556
|
-
isActive:
|
|
557
|
-
size:
|
|
558
|
-
}),
|
|
550
|
+
isActive: v,
|
|
551
|
+
size: s
|
|
552
|
+
}), n = v ? "neutral" : "warm";
|
|
559
553
|
return /* @__PURE__ */ L(
|
|
560
|
-
|
|
554
|
+
A,
|
|
561
555
|
{
|
|
562
|
-
className:
|
|
563
|
-
id:
|
|
564
|
-
ref:
|
|
556
|
+
className: Oe("root", `size-${s}`, a),
|
|
557
|
+
id: m,
|
|
558
|
+
ref: S,
|
|
565
559
|
render: e ? /* @__PURE__ */ h(e, {}) : void 0,
|
|
566
560
|
store: b,
|
|
567
|
-
...
|
|
561
|
+
...x,
|
|
568
562
|
children: [
|
|
569
|
-
|
|
563
|
+
p,
|
|
570
564
|
t,
|
|
571
|
-
|
|
565
|
+
o ? /* @__PURE__ */ h(ae, { size: s, variant: n, children: o }) : null
|
|
572
566
|
]
|
|
573
567
|
}
|
|
574
568
|
);
|
|
575
569
|
}
|
|
576
570
|
);
|
|
577
|
-
|
|
578
|
-
const
|
|
579
|
-
|
|
580
|
-
const
|
|
581
|
-
({ children: e, className:
|
|
582
|
-
|
|
571
|
+
V.displayName = "Tabs.Tab";
|
|
572
|
+
const B = M(({ children: e, ...o }, t) => /* @__PURE__ */ h(R, { ref: t, ...o, children: e }));
|
|
573
|
+
B.displayName = "Tabs.Panel";
|
|
574
|
+
const Fe = j(T), q = M(
|
|
575
|
+
({ children: e, className: o, size: t = "lg", store: a, ...l }, r) => /* @__PURE__ */ h(
|
|
576
|
+
W,
|
|
583
577
|
{
|
|
584
|
-
className:
|
|
578
|
+
className: Fe("tab-list", `size-${t}`, o),
|
|
585
579
|
ref: r,
|
|
586
|
-
store:
|
|
580
|
+
store: a,
|
|
587
581
|
...l,
|
|
588
|
-
children: /* @__PURE__ */ h(
|
|
582
|
+
children: /* @__PURE__ */ h($.Provider, { value: { size: t }, children: e })
|
|
589
583
|
}
|
|
590
584
|
)
|
|
591
585
|
);
|
|
592
586
|
q.displayName = "Tabs";
|
|
593
|
-
const
|
|
587
|
+
const He = Object.assign(q, { Panel: B, Tab: V });
|
|
594
588
|
export {
|
|
595
|
-
|
|
589
|
+
He as Tabs,
|
|
596
590
|
q as TabsComponent,
|
|
597
|
-
|
|
598
|
-
|
|
591
|
+
T as tabsClasses,
|
|
592
|
+
Ge as useTab
|
|
599
593
|
};
|
package/dist/TimePicker.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as f } from "react/jsx-runtime";
|
|
3
3
|
import { forwardRef as S, useState as j, useRef as F, useEffect as d } from "react";
|
|
4
|
-
import { D as I, C as L } from "./CustomPopper-
|
|
5
|
-
import {
|
|
4
|
+
import { D as I, C as L } from "./CustomPopper-DWdMQOgg.js";
|
|
5
|
+
import { D as M, b as O, s as U } from "./utils-ZE_dEXnJ.js";
|
|
6
6
|
import { InputText as _ } from "./InputText.js";
|
|
7
7
|
import { c as q } from "./index-B6iGEm-i.js";
|
|
8
8
|
const a = q(U), z = S(
|
|
@@ -18,10 +18,10 @@ const a = q(U), z = S(
|
|
|
18
18
|
size: x = "md",
|
|
19
19
|
timeIntervals: m = 15,
|
|
20
20
|
transparent: y,
|
|
21
|
-
value: r =
|
|
21
|
+
value: r = M,
|
|
22
22
|
...c
|
|
23
23
|
}, p) => {
|
|
24
|
-
const i = (e) =>
|
|
24
|
+
const i = (e) => O(e, m), [A, l] = j(i(r)), H = F(), P = p || H;
|
|
25
25
|
d(() => {
|
|
26
26
|
t == null || t(i(r));
|
|
27
27
|
}, []), d(() => {
|
package/dist/Toggle.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './Toggle.css';
|
|
3
3
|
import { jsxs as d, jsx as s } from "react/jsx-runtime";
|
|
4
|
-
import { a as f } from "./
|
|
4
|
+
import { a as f } from "./DjvJNLSl-CB2sOBlX.js";
|
|
5
5
|
import { forwardRef as h } from "react";
|
|
6
6
|
import { useField as w } from "./Field.js";
|
|
7
7
|
import { Icon as a } from "./Icon.js";
|
package/dist/Tooltip.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_auyq0_2{display:flex;flex-direction:column;gap:var(--tooltip-gap-content);background-color:var(--tooltip-color-background);border:var(--tooltip-border-width) solid var(--tooltip-color-border);border-radius:var(--tooltip-border-radius);box-sizing:border-box;color:var(--tooltip-color-text);max-width:12.5rem;padding:var(--tooltip-padding-block) var(--tooltip-padding-inline);transition-property:opacity,visibility;transition-duration:var(--duration-medium);z-index:10;visibility:var(--visibility, hidden);opacity:var(--opacity, 0);box-shadow:var(--elevation-20)}._root_auyq0_2[data-enter=true]{--visibility: visible;--opacity: 1}._childItem_auyq0_24{display:inline-block;width:fit-content}}
|