welcome-ui 10.1.13 → 10.2.0
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/Checkbox.css +1 -1
- package/dist/Checkbox.js +19 -19
- package/dist/Drawer.js +44 -42
- package/dist/Icon.js +3 -2
- package/dist/Tabs.js +13 -9
- package/dist/Toast.js +7 -5
- package/dist/types/components/Icon/icons.d.ts +2 -2
- package/dist/types/components/Toast/index.d.ts +1 -0
- package/package.json +1 -1
package/dist/Checkbox.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_12gm3_2{position:relative;display:flex;align-items:center;justify-content:center;height:var(--checkbox-size-container);width:var(--checkbox-size-container);flex-shrink:0;cursor:pointer;border-style:solid;border-width:var(--checkbox-border-width-default);border-radius:var(--checkbox-border-radius);outline:transparent solid var(--checkbox-border-width-focused);transition-property:border-color,background-color,color,outline-color;transition-duration:var(--duration-medium);color:var(--color, var(--checkbox-color-icon-default));background-color:var(--backgroundColor, var(--checkbox-color-background-unchecked-default));border-color:var(--borderColor, var(--checkbox-color-border-unchecked-default))}._root_12gm3_2:disabled,._root_12gm3_2[aria-disabled=true]{--color: var(--checkbox-color-icon-disabled);--backgroundColor: var(--checkbox-color-border-disabled);--borderColor: var(--checkbox-color-border-disabled);cursor:not-allowed}._root_12gm3_2:not([aria-disabled]):hover{--borderColor: var(--borderColorHover, var(--checkbox-color-border-unchecked-hover))}._root_12gm3_2[data-focus-visible],._root_12gm3_2:focus-visible{--borderColor: var(--borderColorFocused, var(--checkbox-color-border-focused));outline-color:var(--outlineColorFocus, var(--checkbox-color-border-focused))}._root_12gm3_2[aria-checked=true]:not([aria-disabled]){--backgroundColor: var(--checkbox-color-background-checked-default);--borderColor: var(--checkbox-color-background-checked-default)}._root_12gm3_2[aria-checked=true]:not([aria-disabled]):hover{--backgroundColor: var(--checkbox-color-background-checked-hover);--borderColor: var(--backgroundColor)}._variant-danger_12gm3_43{--borderColor: var(--checkbox-color-border-error);--borderColorHover: var(--checkbox-color-border-error);--borderColorFocused: var(--checkbox-color-border-error);--outlineColorFocus: var(--color-background-danger-secondary)}._variant-warning_12gm3_49{--borderColor: var(--color-background-warning-stronger);--borderColorHover: var(--color-background-warning-stronger);--borderColorFocused: var(--color-background-warning-stronger);--outlineColorFocus: var(--color-background-warning-secondary)}._variant-success_12gm3_55{--borderColor: var(--color-background-accent-green-strongest);--borderColorHover: var(--color-background-accent-green-strongest);--borderColorFocused: var(--color-background-accent-green-strongest);--outlineColorFocus: var(--color-background-accent-green-primary)}._indeterminate_12gm3_61:not([aria-disabled]){--backgroundColor: var(--checkbox-color-background-checked-default);--borderColor: var(--checkbox-color-background-checked-default)}._indeterminate_12gm3_61:not([aria-disabled]):hover{--backgroundColor: var(--checkbox-color-background-checked-hover);--borderColor: var(--backgroundColor)}}
|
package/dist/Checkbox.js
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './Checkbox.css';
|
|
3
3
|
import { jsxs as b, jsx as s } from "react/jsx-runtime";
|
|
4
|
-
import { a as
|
|
5
|
-
import { forwardRef as
|
|
6
|
-
import { useField as
|
|
7
|
-
import { VisuallyHidden as
|
|
8
|
-
import { c as
|
|
4
|
+
import { a as g } from "./I7KWAPMF-CuA_ygsc.js";
|
|
5
|
+
import { forwardRef as x, useState as h } from "react";
|
|
6
|
+
import { useField as C } from "./Field.js";
|
|
7
|
+
import { VisuallyHidden as V } from "./VisuallyHidden.js";
|
|
8
|
+
import { c as k } from "./index-PAaZGbyz.js";
|
|
9
9
|
import { Icon as l } from "./Icon.js";
|
|
10
|
-
const
|
|
11
|
-
root:
|
|
12
|
-
"variant-danger": "_variant-
|
|
13
|
-
"variant-warning": "_variant-
|
|
14
|
-
"variant-success": "_variant-
|
|
10
|
+
const w = "_root_12gm3_2", y = "_indeterminate_12gm3_61", F = {
|
|
11
|
+
root: w,
|
|
12
|
+
"variant-danger": "_variant-danger_12gm3_43",
|
|
13
|
+
"variant-warning": "_variant-warning_12gm3_49",
|
|
14
|
+
"variant-success": "_variant-success_12gm3_55",
|
|
15
15
|
indeterminate: y
|
|
16
|
-
}, N =
|
|
17
|
-
({ checked: a = !1, className: m, indeterminate: i = !1, onChange: e, variant:
|
|
18
|
-
const [
|
|
19
|
-
e && e(!a,
|
|
16
|
+
}, N = k(F), j = x(
|
|
17
|
+
({ checked: a = !1, className: m, indeterminate: i = !1, onChange: e, variant: d, ...o }, f) => {
|
|
18
|
+
const [u, n] = h(!1), { getInputProps: t, variant: _ } = C(), r = _ || d, { disabled: c } = t(o), v = (p) => {
|
|
19
|
+
e && e(!a, p);
|
|
20
20
|
};
|
|
21
21
|
return /* @__PURE__ */ b(
|
|
22
22
|
"div",
|
|
@@ -30,17 +30,17 @@ const k = "_root_uppw9_2", y = "_indeterminate_uppw9_67", F = {
|
|
|
30
30
|
"field-input",
|
|
31
31
|
m
|
|
32
32
|
),
|
|
33
|
-
"data-focus-visible":
|
|
34
|
-
onClick: c ? void 0 :
|
|
33
|
+
"data-focus-visible": u || void 0,
|
|
34
|
+
onClick: c ? void 0 : v,
|
|
35
35
|
children: [
|
|
36
|
-
/* @__PURE__ */ s(
|
|
37
|
-
|
|
36
|
+
/* @__PURE__ */ s(V, { children: /* @__PURE__ */ s(
|
|
37
|
+
g,
|
|
38
38
|
{
|
|
39
39
|
...t(o),
|
|
40
40
|
checked: a,
|
|
41
41
|
onBlur: () => n(!1),
|
|
42
42
|
onFocusVisible: () => n(!0),
|
|
43
|
-
ref:
|
|
43
|
+
ref: f
|
|
44
44
|
}
|
|
45
45
|
) }),
|
|
46
46
|
a ? /* @__PURE__ */ s(l, { name: "check", size: "sm" }) : null,
|
package/dist/Drawer.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './Drawer.css';
|
|
3
|
-
import { jsx as e, jsxs as d, Fragment as
|
|
3
|
+
import { jsx as e, jsxs as d, Fragment as O } from "react/jsx-runtime";
|
|
4
4
|
import { D as R } from "./Z32PU2LQ-7OK4psIK.js";
|
|
5
5
|
import { u as ve } from "./Z32PU2LQ-7OK4psIK.js";
|
|
6
|
-
import { useCallback as
|
|
6
|
+
import { useCallback as y, forwardRef as p } from "react";
|
|
7
7
|
import { Window as l } from "./Window.js";
|
|
8
8
|
import { c as o } from "./index-PAaZGbyz.js";
|
|
9
9
|
import { f as W } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
@@ -24,7 +24,7 @@ const L = "_content_t51i3_14", Q = "_title_t51i3_68", k = {
|
|
|
24
24
|
"size-md": "_size-md_t51i3_88",
|
|
25
25
|
"size-sm": "_size-sm_t51i3_91",
|
|
26
26
|
"icon-element": "_icon-element_t51i3_94"
|
|
27
|
-
},
|
|
27
|
+
}, f = o(k), F = W(
|
|
28
28
|
({
|
|
29
29
|
children: t,
|
|
30
30
|
className: r,
|
|
@@ -34,39 +34,39 @@ const L = "_content_t51i3_14", Q = "_title_t51i3_68", k = {
|
|
|
34
34
|
store: i,
|
|
35
35
|
..._
|
|
36
36
|
}, h) => {
|
|
37
|
-
const c =
|
|
37
|
+
const c = y(
|
|
38
38
|
() => Array.from(
|
|
39
39
|
s ? s() : document.querySelectorAll("[data-wui-persistent]")
|
|
40
40
|
),
|
|
41
41
|
[s]
|
|
42
|
-
),
|
|
43
|
-
(
|
|
42
|
+
), x = y(
|
|
43
|
+
(N) => {
|
|
44
44
|
if (!a) return !1;
|
|
45
|
-
const u =
|
|
45
|
+
const u = N.target;
|
|
46
46
|
return !c().some(
|
|
47
|
-
(
|
|
47
|
+
(b) => b.contains(u)
|
|
48
48
|
);
|
|
49
49
|
},
|
|
50
50
|
[c, a]
|
|
51
|
-
),
|
|
51
|
+
), g = typeof n == "number" ? `${n}px` : n;
|
|
52
52
|
return /* @__PURE__ */ e(
|
|
53
53
|
ce,
|
|
54
54
|
{
|
|
55
55
|
autoFocusOnShow: !1,
|
|
56
|
-
className:
|
|
56
|
+
className: f("asset-drawer", r),
|
|
57
57
|
getPersistentElements: c,
|
|
58
|
-
hideOnInteractOutside:
|
|
58
|
+
hideOnInteractOutside: x,
|
|
59
59
|
placement: "bottom",
|
|
60
60
|
ref: h,
|
|
61
61
|
store: i,
|
|
62
62
|
withBackdrop: !0,
|
|
63
63
|
..._,
|
|
64
|
-
children: /* @__PURE__ */ e("div", { className:
|
|
64
|
+
children: /* @__PURE__ */ e("div", { className: f("content-wrapper"), children: /* @__PURE__ */ e(
|
|
65
65
|
"div",
|
|
66
66
|
{
|
|
67
|
-
className:
|
|
68
|
-
style: { "--assetDrawerContentMaxWidth":
|
|
69
|
-
children: /* @__PURE__ */ e("div", { className:
|
|
67
|
+
className: f("content-max-width"),
|
|
68
|
+
style: { "--assetDrawerContentMaxWidth": g },
|
|
69
|
+
children: /* @__PURE__ */ e("div", { className: f("content"), children: t })
|
|
70
70
|
}
|
|
71
71
|
) })
|
|
72
72
|
}
|
|
@@ -76,7 +76,7 @@ const L = "_content_t51i3_14", Q = "_title_t51i3_68", k = {
|
|
|
76
76
|
F.displayName = "AssetDrawer";
|
|
77
77
|
const B = o(k), U = { md: "lg", sm: "md" }, H = ({ iconName: t, size: r = "md" }) => /* @__PURE__ */ e("div", { className: B("icon-block", `size-${r}`), children: /* @__PURE__ */ e($, { className: B("icon-element"), name: t, size: U[r] }) });
|
|
78
78
|
H.displayName = "AssetDrawer.IconBlock";
|
|
79
|
-
const w = o(k),
|
|
79
|
+
const w = o(k), P = ({
|
|
80
80
|
action: t,
|
|
81
81
|
className: r,
|
|
82
82
|
iconName: s,
|
|
@@ -94,7 +94,7 @@ const w = o(k), I = ({
|
|
|
94
94
|
] }),
|
|
95
95
|
t ? /* @__PURE__ */ e("div", { className: w("actions"), children: t }) : null
|
|
96
96
|
] });
|
|
97
|
-
|
|
97
|
+
P.displayName = "AssetDrawer.Header";
|
|
98
98
|
const V = "_root_hxy3b_3", X = "_fullscreen_hxy3b_124", Y = "_media_hxy3b_142", G = "_backdrop_hxy3b_152", ee = "_content_hxy3b_166", te = "_footer_hxy3b_181", re = "_title_hxy3b_200", m = {
|
|
99
99
|
root: V,
|
|
100
100
|
"drawer-close": "_drawer-close_hxy3b_44",
|
|
@@ -141,7 +141,7 @@ const ae = o(m), C = ({ className: t }) => /* @__PURE__ */ e(
|
|
|
141
141
|
}
|
|
142
142
|
);
|
|
143
143
|
C.displayName = "Drawer.Close";
|
|
144
|
-
const D = o(m),
|
|
144
|
+
const D = o(m), E = p(
|
|
145
145
|
({ children: t, className: r, iconName: s, subtitle: a, title: n, ...i }, _) => {
|
|
146
146
|
const h = !!(s || n);
|
|
147
147
|
return /* @__PURE__ */ d("div", { className: D("content", r), ref: _, ...i, children: [
|
|
@@ -154,15 +154,15 @@ const D = o(m), O = p(
|
|
|
154
154
|
] });
|
|
155
155
|
}
|
|
156
156
|
);
|
|
157
|
-
|
|
158
|
-
const ne = o(m),
|
|
157
|
+
E.displayName = "Drawer.Content";
|
|
158
|
+
const ne = o(m), M = p(
|
|
159
159
|
({ className: t, variant: r = "right", ...s }, a) => /* @__PURE__ */ e("div", { className: ne("footer", `variant-${r}`, t), ref: a, ...s })
|
|
160
160
|
);
|
|
161
|
-
|
|
162
|
-
const oe = o(m),
|
|
161
|
+
M.displayName = "Drawer.Footer";
|
|
162
|
+
const oe = o(m), j = p(
|
|
163
163
|
({ className: t, ...r }, s) => /* @__PURE__ */ e(l.Media, { className: oe("media", t), ref: s, ...r })
|
|
164
164
|
);
|
|
165
|
-
|
|
165
|
+
j.displayName = "Drawer.Media";
|
|
166
166
|
const T = W(
|
|
167
167
|
({ as: t, store: r, ...s }, a) => /* @__PURE__ */ e(
|
|
168
168
|
K,
|
|
@@ -175,7 +175,7 @@ const T = W(
|
|
|
175
175
|
)
|
|
176
176
|
);
|
|
177
177
|
T.displayName = "Drawer.Trigger";
|
|
178
|
-
const ie = o(m),
|
|
178
|
+
const ie = o(m), I = p(
|
|
179
179
|
({
|
|
180
180
|
children: t,
|
|
181
181
|
className: r,
|
|
@@ -186,20 +186,22 @@ const ie = o(m), M = p(
|
|
|
186
186
|
size: _ = "lg",
|
|
187
187
|
store: h,
|
|
188
188
|
withBackdrop: c = !1,
|
|
189
|
-
withCloseButton:
|
|
190
|
-
...
|
|
191
|
-
},
|
|
192
|
-
const u =
|
|
189
|
+
withCloseButton: x = !0,
|
|
190
|
+
...g
|
|
191
|
+
}, N) => {
|
|
192
|
+
const u = y(
|
|
193
193
|
() => Array.from(
|
|
194
194
|
a ? a() : document.querySelectorAll("[data-wui-persistent]")
|
|
195
195
|
),
|
|
196
196
|
[a]
|
|
197
|
-
), A =
|
|
198
|
-
(
|
|
197
|
+
), A = y(
|
|
198
|
+
(b) => {
|
|
199
199
|
if (!n) return !1;
|
|
200
|
-
|
|
200
|
+
if (typeof n == "function")
|
|
201
|
+
return n(b);
|
|
202
|
+
const S = b.target;
|
|
201
203
|
return !u().some(
|
|
202
|
-
(
|
|
204
|
+
(q) => q.contains(S)
|
|
203
205
|
);
|
|
204
206
|
},
|
|
205
207
|
[u, n]
|
|
@@ -211,7 +213,7 @@ const ie = o(m), M = p(
|
|
|
211
213
|
getPersistentElements: u,
|
|
212
214
|
hideOnInteractOutside: A,
|
|
213
215
|
modal: c,
|
|
214
|
-
ref:
|
|
216
|
+
ref: N,
|
|
215
217
|
render: /* @__PURE__ */ e(
|
|
216
218
|
"div",
|
|
217
219
|
{
|
|
@@ -225,28 +227,28 @@ const ie = o(m), M = p(
|
|
|
225
227
|
}
|
|
226
228
|
),
|
|
227
229
|
store: h,
|
|
228
|
-
...
|
|
229
|
-
children: /* @__PURE__ */ d(
|
|
230
|
-
|
|
230
|
+
...g,
|
|
231
|
+
children: /* @__PURE__ */ d(O, { children: [
|
|
232
|
+
x ? /* @__PURE__ */ e(C, {}) : null,
|
|
231
233
|
t
|
|
232
234
|
] })
|
|
233
235
|
}
|
|
234
236
|
);
|
|
235
237
|
}
|
|
236
238
|
);
|
|
237
|
-
|
|
238
|
-
const ce = Object.assign(
|
|
239
|
+
I.displayName = "Drawer";
|
|
240
|
+
const ce = Object.assign(I, {
|
|
239
241
|
Backdrop: z,
|
|
240
242
|
Body: l.Body,
|
|
241
243
|
BoxText: l.BoxText,
|
|
242
244
|
Close: C,
|
|
243
|
-
Content:
|
|
244
|
-
Footer:
|
|
245
|
+
Content: E,
|
|
246
|
+
Footer: M,
|
|
245
247
|
Header: l.Header,
|
|
246
|
-
Media:
|
|
248
|
+
Media: j,
|
|
247
249
|
Trigger: T,
|
|
248
250
|
WindowTabPanel: l.TabPanel
|
|
249
|
-
}), ge = Object.assign(F, { Header:
|
|
251
|
+
}), ge = Object.assign(F, { Header: P, Trigger: T });
|
|
250
252
|
export {
|
|
251
253
|
ge as AssetDrawer,
|
|
252
254
|
ce as Drawer,
|
package/dist/Icon.js
CHANGED
|
@@ -14,7 +14,7 @@ const s = "_root_576cf_2", n = {
|
|
|
14
14
|
"size-2xl": "_size-2xl_576cf_25",
|
|
15
15
|
"size-3xl": "_size-3xl_576cf_28",
|
|
16
16
|
"name-folder-full": "_name-folder-full_576cf_31"
|
|
17
|
-
}, v = () => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", className: "hidden", children: [
|
|
17
|
+
}, v = () => /* @__PURE__ */ o("svg", { xmlns: "http://www.w3.org/2000/svg", className: "hidden", "aria-hidden": "true", children: [
|
|
18
18
|
/* @__PURE__ */ a("defs", {}),
|
|
19
19
|
/* @__PURE__ */ a("symbol", { id: "asterisk", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18.562,14.63379,14.00031,12,18.562,9.36621a1.00016,1.00016,0,0,0-1-1.73242L13,10.26776V5a1,1,0,0,0-2,0v5.26776l-4.562-2.634a1.00016,1.00016,0,0,0-1,1.73242L9.99969,12,5.438,14.63379a1.00016,1.00016,0,0,0,1,1.73242L11,13.73224V19a1,1,0,0,0,2,0V13.73224l4.562,2.634a1.00016,1.00016,0,0,0,1-1.73242Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
20
20
|
/* @__PURE__ */ a("symbol", { id: "info-circle", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M12,2A10,10,0,1,0,22,12,10.01114,10.01114,0,0,0,12,2Zm0,18a8,8,0,1,1,8-8A8.00917,8.00917,0,0,1,12,20Zm0-8.5a1,1,0,0,0-1,1v3a1,1,0,0,0,2,0v-3A1,1,0,0,0,12,11.5Zm0-4a1.25,1.25,0,1,0,1.25,1.25A1.25,1.25,0,0,0,12,7.5Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
@@ -43,12 +43,13 @@ const s = "_root_576cf_2", n = {
|
|
|
43
43
|
/* @__PURE__ */ a("symbol", { id: "external-link-alt", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18,10.82a1,1,0,0,0-1,1V19a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V8A1,1,0,0,1,5,7h7.18a1,1,0,0,0,0-2H5A3,3,0,0,0,2,8V19a3,3,0,0,0,3,3H16a3,3,0,0,0,3-3V11.82A1,1,0,0,0,18,10.82Zm3.92-8.2a1,1,0,0,0-.54-.54A1,1,0,0,0,21,2H15a1,1,0,0,0,0,2h3.59L8.29,14.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L20,5.41V9a1,1,0,0,0,2,0V3A1,1,0,0,0,21.92,2.62Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
44
44
|
/* @__PURE__ */ a("symbol", { id: "heart-solid", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M20.16,5A6.29,6.29,0,0,0,12,4.36a6.27,6.27,0,0,0-8.16,9.48l6.21,6.22a2.78,2.78,0,0,0,3.9,0l6.21-6.22A6.27,6.27,0,0,0,20.16,5Zm-1.41,7.46-6.21,6.21a.76.76,0,0,1-1.08,0L5.25,12.43a4.29,4.29,0,0,1,0-6,4.27,4.27,0,0,1,6,0,1,1,0,0,0,1.42,0,4.27,4.27,0,0,1,6,0A4.29,4.29,0,0,1,18.75,12.43Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
45
45
|
/* @__PURE__ */ a("symbol", { id: "heart", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M20.16,5A6.29,6.29,0,0,0,12,4.36a6.27,6.27,0,0,0-8.16,9.48l6.21,6.22a2.78,2.78,0,0,0,3.9,0l6.21-6.22A6.27,6.27,0,0,0,20.16,5Zm-1.41,7.46-6.21,6.21a.76.76,0,0,1-1.08,0L5.25,12.43a4.29,4.29,0,0,1,0-6,4.27,4.27,0,0,1,6,0,1,1,0,0,0,1.42,0,4.27,4.27,0,0,1,6,0A4.29,4.29,0,0,1,18.75,12.43Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
46
|
-
/* @__PURE__ */ a("symbol", { id: "filter", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "
|
|
46
|
+
/* @__PURE__ */ a("symbol", { id: "filter", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M20,8.18V3a1,1,0,0,0-2,0V8.18a3,3,0,0,0,0,5.64V21a1,1,0,0,0,2,0V13.82a3,3,0,0,0,0-5.64ZM19,12a1,1,0,1,1,1-1A1,1,0,0,1,19,12Zm-6,2.18V3a1,1,0,0,0-2,0V14.18a3,3,0,0,0,0,5.64V21a1,1,0,0,0,2,0V19.82a3,3,0,0,0,0-5.64ZM12,18a1,1,0,1,1,1-1A1,1,0,0,1,12,18ZM6,6.18V3A1,1,0,0,0,4,3V6.18a3,3,0,0,0,0,5.64V21a1,1,0,0,0,2,0V11.82A3,3,0,0,0,6,6.18ZM5,10A1,1,0,1,1,6,9,1,1,0,0,1,5,10Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
47
47
|
/* @__PURE__ */ a("symbol", { id: "eye", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M21.92,11.6C19.9,6.91,16.1,4,12,4S4.1,6.91,2.08,11.6a1,1,0,0,0,0,.8C4.1,17.09,7.9,20,12,20s7.9-2.91,9.92-7.6A1,1,0,0,0,21.92,11.6ZM12,18c-3.17,0-6.17-2.29-7.9-6C5.83,8.29,8.83,6,12,6s6.17,2.29,7.9,6C18.17,15.71,15.17,18,12,18ZM12,8a4,4,0,1,0,4,4A4,4,0,0,0,12,8Zm0,6a2,2,0,1,1,2-2A2,2,0,0,1,12,14Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
48
48
|
/* @__PURE__ */ a("symbol", { id: "eye-slash", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M10.94,6.08A6.93,6.93,0,0,1,12,6c3.18,0,6.17,2.29,7.91,6a15.23,15.23,0,0,1-.9,1.64,1,1,0,0,0-.16.55,1,1,0,0,0,1.86.5,15.77,15.77,0,0,0,1.21-2.3,1,1,0,0,0,0-.79C19.9,6.91,16.1,4,12,4a7.77,7.77,0,0,0-1.4.12,1,1,0,1,0,.34,2ZM3.71,2.29A1,1,0,0,0,2.29,3.71L5.39,6.8a14.62,14.62,0,0,0-3.31,4.8,1,1,0,0,0,0,.8C4.1,17.09,7.9,20,12,20a9.26,9.26,0,0,0,5.05-1.54l3.24,3.25a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Zm6.36,9.19,2.45,2.45A1.81,1.81,0,0,1,12,14a2,2,0,0,1-2-2A1.81,1.81,0,0,1,10.07,11.48ZM12,18c-3.18,0-6.17-2.29-7.9-6A12.09,12.09,0,0,1,6.8,8.21L8.57,10A4,4,0,0,0,14,15.43L15.59,17A7.24,7.24,0,0,1,12,18Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
49
49
|
/* @__PURE__ */ a("symbol", { id: "link", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M10,17.55,8.23,19.27a2.47,2.47,0,0,1-3.5-3.5l4.54-4.55a2.46,2.46,0,0,1,3.39-.09l.12.1a1,1,0,0,0,1.4-1.43A2.75,2.75,0,0,0,14,9.59a4.46,4.46,0,0,0-6.09.22L3.31,14.36a4.48,4.48,0,0,0,6.33,6.33L11.37,19A1,1,0,0,0,10,17.55ZM20.69,3.31a4.49,4.49,0,0,0-6.33,0L12.63,5A1,1,0,0,0,14,6.45l1.73-1.72a2.47,2.47,0,0,1,3.5,3.5l-4.54,4.55a2.46,2.46,0,0,1-3.39.09l-.12-.1a1,1,0,0,0-1.4,1.43,2.75,2.75,0,0,0,.23.21,4.47,4.47,0,0,0,6.09-.22l4.55-4.55A4.49,4.49,0,0,0,20.69,3.31Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
50
50
|
/* @__PURE__ */ a("symbol", { id: "sign-out-alt", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M12.59,13l-2.3,2.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l4-4a1,1,0,0,0,.21-.33,1,1,0,0,0,0-.76,1,1,0,0,0-.21-.33l-4-4a1,1,0,1,0-1.42,1.42L12.59,11H3a1,1,0,0,0,0,2ZM12,2A10,10,0,0,0,3,7.55a1,1,0,0,0,1.8.9A8,8,0,1,1,12,20a7.93,7.93,0,0,1-7.16-4.45,1,1,0,0,0-1.8.9A10,10,0,1,0,12,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
51
51
|
/* @__PURE__ */ a("symbol", { id: "bars", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M3,8H21a1,1,0,0,0,0-2H3A1,1,0,0,0,3,8Zm18,8H3a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Zm0-5H3a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
52
|
+
/* @__PURE__ */ a("symbol", { id: "sort-amount-down", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M6.29,14.29l-.29.3V7A1,1,0,0,0,4,7v7.59l-.29-.3a1,1,0,0,0-1.42,1.42l2,2a1,1,0,0,0,.33.21.94.94,0,0,0,.76,0,1,1,0,0,0,.33-.21l2-2a1,1,0,0,0-1.42-1.42ZM11,8H21a1,1,0,0,0,0-2H11a1,1,0,0,0,0,2Zm10,3H11a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Zm0,5H11a1,1,0,0,0,0,2H21a1,1,0,0,0,0-2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
52
53
|
/* @__PURE__ */ a("symbol", { id: "ellipsis-v", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M12,7a2,2,0,1,0-2-2A2,2,0,0,0,12,7Zm0,10a2,2,0,1,0,2,2A2,2,0,0,0,12,17Zm0-7a2,2,0,1,0,2,2A2,2,0,0,0,12,10Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
53
54
|
/* @__PURE__ */ a("symbol", { id: "ellipsis-h", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M12,10a2,2,0,1,0,2,2A2,2,0,0,0,12,10ZM5,10a2,2,0,1,0,2,2A2,2,0,0,0,5,10Zm14,0a2,2,0,1,0,2,2A2,2,0,0,0,19,10Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
54
55
|
/* @__PURE__ */ a("symbol", { id: "bell", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18,13.18V10a6,6,0,0,0-5-5.91V3a1,1,0,0,0-2,0V4.09A6,6,0,0,0,6,10v3.18A3,3,0,0,0,4,16v2a1,1,0,0,0,1,1H8.14a4,4,0,0,0,7.72,0H19a1,1,0,0,0,1-1V16A3,3,0,0,0,18,13.18ZM8,10a4,4,0,0,1,8,0v3H8Zm4,10a2,2,0,0,1-1.72-1h3.44A2,2,0,0,1,12,20Zm6-3H6V16a1,1,0,0,1,1-1H17a1,1,0,0,1,1,1Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
package/dist/Tabs.js
CHANGED
|
@@ -3,7 +3,7 @@ import './Tabs.css';
|
|
|
3
3
|
import { jsx as h, jsxs as L } from "react/jsx-runtime";
|
|
4
4
|
import { T as V, b as A, a as F } from "./tab-panel-BFzjhpJq.js";
|
|
5
5
|
import C, { createContext as O, useMemo as R, forwardRef as E } from "react";
|
|
6
|
-
import { c as
|
|
6
|
+
import { c as w } from "./index-PAaZGbyz.js";
|
|
7
7
|
import { m as W, o as y, c as K, s as g, d as u, g as Q, u as N, a as z, b as U } from "./Q5W46E73-ClIlNE6g.js";
|
|
8
8
|
import { Badge as D } from "./Badge.js";
|
|
9
9
|
import { f as G } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
@@ -168,7 +168,7 @@ function ce() {
|
|
|
168
168
|
const e = C.useContext($);
|
|
169
169
|
return (e == null ? void 0 : e.size) || "lg";
|
|
170
170
|
}
|
|
171
|
-
const de = "_root_cdobv_2",
|
|
171
|
+
const de = "_root_cdobv_2", S = {
|
|
172
172
|
root: de,
|
|
173
173
|
"size-lg": "_size-lg_cdobv_58",
|
|
174
174
|
"size-md": "_size-md_cdobv_65",
|
|
@@ -241,9 +241,11 @@ const de = "_root_cdobv_2", w = {
|
|
|
241
241
|
"filter",
|
|
242
242
|
"eye",
|
|
243
243
|
"eye-slash",
|
|
244
|
+
"sliders-v-alt",
|
|
244
245
|
"link",
|
|
245
246
|
"sign-out-alt",
|
|
246
247
|
"bars",
|
|
248
|
+
"sort-amount-down",
|
|
247
249
|
"ellipsis-v",
|
|
248
250
|
"ellipsis-h",
|
|
249
251
|
"move-arrow",
|
|
@@ -256,7 +258,9 @@ const de = "_root_cdobv_2", w = {
|
|
|
256
258
|
"search",
|
|
257
259
|
"setting",
|
|
258
260
|
"share-alt",
|
|
259
|
-
"share"
|
|
261
|
+
"share",
|
|
262
|
+
"bulk",
|
|
263
|
+
"bulk-active"
|
|
260
264
|
], fe = ["chat", "chat-bubble-user", "comment", "comment-alt-lines"], be = [
|
|
261
265
|
"music",
|
|
262
266
|
"rocket",
|
|
@@ -500,7 +504,7 @@ const de = "_root_cdobv_2", w = {
|
|
|
500
504
|
// (not unicons)
|
|
501
505
|
"medium"
|
|
502
506
|
// (not unicons)
|
|
503
|
-
], Ie = ["symbol", "wttj"], ke = ["flag-fr", "flag-en", "flag-us"],
|
|
507
|
+
], Ie = ["symbol", "wttj"], ke = ["flag-fr", "flag-en", "flag-us"], we = [
|
|
504
508
|
...me,
|
|
505
509
|
...ue,
|
|
506
510
|
..._e,
|
|
@@ -512,14 +516,14 @@ const de = "_root_cdobv_2", w = {
|
|
|
512
516
|
...ve,
|
|
513
517
|
...Ie,
|
|
514
518
|
...he
|
|
515
|
-
],
|
|
519
|
+
], Se = (e) => we.includes(e), xe = w(S);
|
|
516
520
|
function ye({
|
|
517
521
|
icon: e,
|
|
518
522
|
iconColor: a,
|
|
519
523
|
isActive: t,
|
|
520
524
|
size: l
|
|
521
525
|
}) {
|
|
522
|
-
return e ? typeof e != "string" || !
|
|
526
|
+
return e ? typeof e != "string" || !Se(e) ? e : /* @__PURE__ */ h(
|
|
523
527
|
H,
|
|
524
528
|
{
|
|
525
529
|
className: a ? xe("folder-icon", `folder-icon-${a}${t ? "-active" : ""}`) : void 0,
|
|
@@ -528,7 +532,7 @@ function ye({
|
|
|
528
532
|
}
|
|
529
533
|
) : null;
|
|
530
534
|
}
|
|
531
|
-
const ze = S
|
|
535
|
+
const ze = w(S), M = G(
|
|
532
536
|
({ as: e, badge: a, children: t, className: l, icon: i, iconColor: r = "violet", id: d, store: v, ...I }, o) => {
|
|
533
537
|
const m = ce(), { selectedId: _ } = U(v), s = _ === d, n = ye({
|
|
534
538
|
icon: i,
|
|
@@ -557,7 +561,7 @@ const ze = S(w), M = G(
|
|
|
557
561
|
M.displayName = "Tabs.Tab";
|
|
558
562
|
const j = E(({ children: e, ...a }, t) => /* @__PURE__ */ h(A, { ref: t, ...a, children: e }));
|
|
559
563
|
j.displayName = "Tabs.Panel";
|
|
560
|
-
const Pe = S
|
|
564
|
+
const Pe = w(S), q = E(
|
|
561
565
|
({ children: e, className: a, size: t = "lg", store: l, ...i }, r) => /* @__PURE__ */ h(
|
|
562
566
|
F,
|
|
563
567
|
{
|
|
@@ -574,6 +578,6 @@ const Re = Object.assign(q, { Panel: j, Tab: M });
|
|
|
574
578
|
export {
|
|
575
579
|
Re as Tabs,
|
|
576
580
|
q as TabsComponent,
|
|
577
|
-
|
|
581
|
+
S as tabsClasses,
|
|
578
582
|
Fe as useTab
|
|
579
583
|
};
|
package/dist/Toast.js
CHANGED
|
@@ -521,7 +521,7 @@ const $ = M(G), ce = q(
|
|
|
521
521
|
ce.displayName = "Toast.Snackbar";
|
|
522
522
|
const de = J((e, t) => /* @__PURE__ */ y(K, { ref: t, size: "md", variant: "secondary", ...e }));
|
|
523
523
|
de.displayName = "Toast.SnackbarAction";
|
|
524
|
-
const pt = M(G), pe = {
|
|
524
|
+
const { dismiss: wt, remove: _t } = u, pt = M(G), pe = {
|
|
525
525
|
error: "exclamation-octagon",
|
|
526
526
|
info: "info-circle",
|
|
527
527
|
success: "check-circle",
|
|
@@ -535,7 +535,7 @@ const pt = M(G), pe = {
|
|
|
535
535
|
ue.displayName = "Toast.Title";
|
|
536
536
|
const me = ({ children: e, ...t }) => /* @__PURE__ */ y(L, { variant: "body-md", ...t, children: e });
|
|
537
537
|
me.displayName = "Toast.Subtitle";
|
|
538
|
-
const
|
|
538
|
+
const Nt = (e, t) => {
|
|
539
539
|
const s = ("type" in e ? e.type.displayName || e.type.name : void 0) === "Growl" ? "top-right" : "bottom-center", i = () => {
|
|
540
540
|
t != null && t.onClose && t.onClose(), u.dismiss(t == null ? void 0 : t.id);
|
|
541
541
|
}, o = e.props.variant || "info", r = {
|
|
@@ -555,7 +555,7 @@ const wt = (e, t) => {
|
|
|
555
555
|
);
|
|
556
556
|
};
|
|
557
557
|
ie.displayName = "Toast";
|
|
558
|
-
const
|
|
558
|
+
const kt = Object.assign(ie, {
|
|
559
559
|
Growl: ne,
|
|
560
560
|
GrowlAction: le,
|
|
561
561
|
Snackbar: ce,
|
|
@@ -565,7 +565,9 @@ const _t = Object.assign(ie, {
|
|
|
565
565
|
});
|
|
566
566
|
export {
|
|
567
567
|
pe as ICON,
|
|
568
|
-
|
|
569
|
-
wt as
|
|
568
|
+
kt as Toast,
|
|
569
|
+
wt as dismiss,
|
|
570
|
+
_t as remove,
|
|
571
|
+
Nt as toast,
|
|
570
572
|
G as toastClasses
|
|
571
573
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
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
|
-
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"];
|
|
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"];
|
|
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", "map-pin", "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", "swatchbook", "tag-alt", "tablet", "mobile", "video", "plus-circle", "pen", "check-circle", "certified", "plug"];
|
|
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"];
|
|
@@ -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", "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", "map-pin", "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", "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", "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", "map-pin", "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", "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"];
|
|
13
13
|
export declare const isValidIconName: (iconName: string) => iconName is (typeof icons)[number];
|
|
@@ -3,6 +3,7 @@ import { TextProps } from '../Text/types';
|
|
|
3
3
|
import { default as toastStyles } from './toast.module.scss';
|
|
4
4
|
import { ToastOptions, ToastVariant } from './types';
|
|
5
5
|
export { toastStyles as toastClasses };
|
|
6
|
+
export declare const dismiss: (toastId?: string, toasterId?: string) => void, remove: (toastId?: string, toasterId?: string) => void;
|
|
6
7
|
export declare const ICON: Record<ToastVariant, IconProps['name']>;
|
|
7
8
|
export declare const toast: (component: JSX.Element, options?: ToastOptions) => string;
|
|
8
9
|
export declare const Toast: import('react').FC<import('react-hot-toast').ToasterProps> & {
|