welcome-ui 10.7.0 → 10.7.2
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/Alert.css +1 -1
- package/dist/Alert.js +50 -50
- package/dist/Icon.js +5 -3
- package/dist/Tabs.js +2 -0
- package/dist/types/components/Icon/icons.d.ts +3 -3
- package/package.json +1 -1
package/dist/Alert.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer components{.
|
|
1
|
+
@layer components{._root_csad4_2{position:relative;display:flex;align-items:flex-start;width:100%;gap:var(--gap, var(--alert-gap-content-md));border-radius:var(--alert-border-radius);border-width:var(--border-width-sm);border-style:solid;padding:var(--padding);max-width:var(--maxWidth, max-content);background-color:var(--backgroundColor, var(--alert-color-background-brand));border-color:var(--borderColor, var(--alert-color-background-brand));color:var(--color, var(--alert-color-text-brand-body))}._size-md_csad4_18{--padding: var(--alert-padding-inline-md);--iconOffset: 2px}._size-md_csad4_18 ._content-actions_csad4_22{--gap: var(--alert-gap-actions-md)}._size-md_csad4_18 ._without-title_csad4_25 ._icon-wrapper_csad4_25{margin-top:calc(-1 * var(--iconOffset))}._size-md_csad4_18 ._content_csad4_22:has(>._without-title_csad4_25){margin-top:calc(-1 * var(--iconOffset));padding-top:var(--iconOffset)}._size-lg_csad4_32{--padding: var(--alert-padding-inline-lg);--gap: var(--alert-gap-content-lg)}._size-lg_csad4_32 ._content-actions_csad4_22{--gap: var(--alert-gap-actions-lg)}._variant-ai_csad4_39{--backgroundColor: var(--alert-color-background-ai);--borderColor: transparent;background:linear-gradient(var(--alert-color-background-ai) 0 0) padding-box,linear-gradient(90deg,var(--color-green-30) 0%,var(--color-teal-40) 20%,var(--color-blue-40) 40%,var(--color-violet-40) 60%,var(--color-pink-40) 80%,var(--color-red-orange-40) 100%) border-box}._variant-danger_csad4_44{--backgroundColor: var(--alert-color-background-danger);--borderColor: var(--alert-color-background-danger);--color: var(--color-icon-danger-primary)}._variant-info_csad4_49{--backgroundColor: var(--alert-color-background-information);--borderColor: var(--alert-color-background-information);--color: var(--color-icon-accent-blue-primary)}._variant-success_csad4_54{--backgroundColor: var(--alert-color-background-success);--borderColor: var(--alert-color-background-success);--color: var(--color-icon-accent-green-primary)}._variant-warning_csad4_59{--backgroundColor: var(--alert-color-background-warning);--borderColor: var(--alert-color-background-warning);--color: var(--color-icon-warning-primary)}._full-width_csad4_64{--maxWidth: 100%}._content_csad4_22{overflow:hidden;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;gap:var(--gap, var(--alert-gap-content-md))}._content-text_csad4_76{display:flex;flex-direction:column;gap:var(--gap, var(--alert-gap-content-md))}._content-text_csad4_76._without-title_csad4_25{flex-direction:row}._content-text_csad4_76._without-title_csad4_25 ._icon-wrapper_csad4_25{align-self:flex-start}._content-actions_csad4_22{display:flex;align-items:center;gap:var(--gap)}._title-close-button_csad4_93{margin-right:var(--spacing-xl)}._title-with-icon_csad4_96{display:flex;align-items:center;gap:var(--spacing-sm)}._close-button_csad4_102{position:absolute;right:var(--spacing-sm);top:var(--spacing-sm)}._icon-wrapper_csad4_25{display:flex;flex-shrink:0;padding:var(--alert-icon-padding-block);border-radius:var(--alert-icon-border-radius);background-color:var(--iconWrapperBackgroundColor, var(--alert-icon-color-background-brand));color:var(--iconWrapperColor, var(--alert-icon-color-icon-brand))}._icon-wrapper-success_csad4_116{--iconWrapperBackgroundColor: var(--alert-icon-color-background-success);--iconWrapperColor: var(--alert-icon-color-icon-success)}._icon-wrapper-danger_csad4_120{--iconWrapperBackgroundColor: var(--alert-icon-color-background-danger);--iconWrapperColor: var(--alert-icon-color-icon-danger)}._icon-wrapper-info_csad4_124{--iconWrapperBackgroundColor: var(--alert-icon-color-background-information);--iconWrapperColor: var(--alert-icon-color-icon-information)}._icon-wrapper-warning_csad4_128{--iconWrapperBackgroundColor: var(--alert-icon-color-background-warning);--iconWrapperColor: var(--alert-icon-color-icon-warning)}._icon-wrapper-ai_csad4_132{background:conic-gradient(from 30deg at 50% 50%,var(--color-green-30) 0deg,var(--color-blue-40) 25.96deg,var(--color-violet-40) 51.92deg,var(--color-pink-40) 76.15deg,var(--color-red-orange-40) 110.77deg,var(--color-pink-40) 162.69deg,var(--color-violet-40) 209.42deg,var(--color-blue-40) 254.42deg,var(--color-teal-40) 306.35deg,var(--color-green-30) 360deg);--iconWrapperColor: var(--alert-icon-color-icon-ai)}._alert-buttons_csad4_137{flex-shrink:0;width:fit-content}}
|
package/dist/Alert.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './Alert.css';
|
|
3
|
-
import { jsx as
|
|
4
|
-
import
|
|
3
|
+
import { jsx as s, jsxs as l } from "react/jsx-runtime";
|
|
4
|
+
import d, { forwardRef as V, Children as m, cloneElement as u } from "react";
|
|
5
5
|
import { CloseButton as I } from "./CloseButton.js";
|
|
6
6
|
import { Icon as O } from "./Icon.js";
|
|
7
7
|
import { Text as x } from "./Text.js";
|
|
8
8
|
import { c as f } from "./index-B6iGEm-i.js";
|
|
9
9
|
import { Button as h } from "./Button.js";
|
|
10
10
|
import { f as B } from "./forwardRefWithAs-8eP3ZN15.js";
|
|
11
|
-
const z = "
|
|
11
|
+
const z = "_root_csad4_2", F = "_content_csad4_22", w = {
|
|
12
12
|
root: z,
|
|
13
|
-
"size-md": "_size-
|
|
14
|
-
"content-actions": "_content-
|
|
15
|
-
"without-title": "_without-
|
|
16
|
-
"icon-wrapper": "_icon-
|
|
17
|
-
"size-lg": "_size-lg_s4so0_27",
|
|
18
|
-
"variant-ai": "_variant-ai_s4so0_34",
|
|
19
|
-
"variant-danger": "_variant-danger_s4so0_39",
|
|
20
|
-
"variant-info": "_variant-info_s4so0_44",
|
|
21
|
-
"variant-success": "_variant-success_s4so0_49",
|
|
22
|
-
"variant-warning": "_variant-warning_s4so0_54",
|
|
23
|
-
"full-width": "_full-width_s4so0_59",
|
|
13
|
+
"size-md": "_size-md_csad4_18",
|
|
14
|
+
"content-actions": "_content-actions_csad4_22",
|
|
15
|
+
"without-title": "_without-title_csad4_25",
|
|
16
|
+
"icon-wrapper": "_icon-wrapper_csad4_25",
|
|
24
17
|
content: F,
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
18
|
+
"size-lg": "_size-lg_csad4_32",
|
|
19
|
+
"variant-ai": "_variant-ai_csad4_39",
|
|
20
|
+
"variant-danger": "_variant-danger_csad4_44",
|
|
21
|
+
"variant-info": "_variant-info_csad4_49",
|
|
22
|
+
"variant-success": "_variant-success_csad4_54",
|
|
23
|
+
"variant-warning": "_variant-warning_csad4_59",
|
|
24
|
+
"full-width": "_full-width_csad4_64",
|
|
25
|
+
"content-text": "_content-text_csad4_76",
|
|
26
|
+
"title-close-button": "_title-close-button_csad4_93",
|
|
27
|
+
"title-with-icon": "_title-with-icon_csad4_96",
|
|
28
|
+
"close-button": "_close-button_csad4_102",
|
|
29
|
+
"icon-wrapper-success": "_icon-wrapper-success_csad4_116",
|
|
30
|
+
"icon-wrapper-danger": "_icon-wrapper-danger_csad4_120",
|
|
31
|
+
"icon-wrapper-info": "_icon-wrapper-info_csad4_124",
|
|
32
|
+
"icon-wrapper-warning": "_icon-wrapper-warning_csad4_128",
|
|
33
|
+
"icon-wrapper-ai": "_icon-wrapper-ai_csad4_132",
|
|
34
|
+
"alert-buttons": "_alert-buttons_csad4_137"
|
|
35
35
|
}, $ = f(w), y = B(
|
|
36
|
-
({ variant:
|
|
36
|
+
({ variant: n = "primary", ...r }, a) => /* @__PURE__ */ s(h, { className: $("alert-buttons"), ref: a, variant: n, ...r })
|
|
37
37
|
), g = B(
|
|
38
|
-
({ variant:
|
|
38
|
+
({ variant: n = "secondary", ...r }, a) => /* @__PURE__ */ s(h, { className: $("alert-buttons"), ref: a, variant: n, ...r })
|
|
39
39
|
);
|
|
40
40
|
y.displayName = "Alert.Button";
|
|
41
41
|
g.displayName = "Alert.SecondaryButton";
|
|
42
|
-
const M = f(w), _ = ({ children:
|
|
42
|
+
const M = f(w), _ = ({ children: n, hasCloseButton: r, ...a }) => /* @__PURE__ */ s(x, { as: "span", className: M(r && "title-close-button"), ...a, children: n });
|
|
43
43
|
_.displayName = "Alert.Title";
|
|
44
|
-
const
|
|
44
|
+
const o = f(w), W = {
|
|
45
45
|
ai: "sparkles",
|
|
46
46
|
brand: "lightbulb-alt",
|
|
47
47
|
danger: "exclamation-octagon",
|
|
@@ -50,56 +50,56 @@ const r = f(w), W = {
|
|
|
50
50
|
warning: "exclamation-triangle"
|
|
51
51
|
}, C = V(
|
|
52
52
|
({
|
|
53
|
-
children:
|
|
54
|
-
className:
|
|
55
|
-
cta:
|
|
53
|
+
children: n,
|
|
54
|
+
className: r,
|
|
55
|
+
cta: a,
|
|
56
56
|
handleClose: p,
|
|
57
57
|
icon: T,
|
|
58
58
|
isFullWidth: E,
|
|
59
|
-
size:
|
|
60
|
-
variant:
|
|
59
|
+
size: c = "md",
|
|
60
|
+
variant: i = "brand",
|
|
61
61
|
...S
|
|
62
62
|
}, j) => {
|
|
63
|
-
const k =
|
|
63
|
+
const k = i === "ai", b = m.toArray(n).some((e) => d.isValidElement(e) ? e.type === _ : !1), v = /* @__PURE__ */ s("div", { className: o("icon-wrapper", `icon-wrapper-${i}`), children: /* @__PURE__ */ s(O, { name: T || W[i] }) }), R = m.toArray(n).map((e, t) => e.type === _ ? /* @__PURE__ */ l("div", { className: o("title-with-icon"), children: [
|
|
64
64
|
v,
|
|
65
|
-
|
|
65
|
+
u(e, {
|
|
66
66
|
hasCloseButton: !!p,
|
|
67
|
-
variant: `body-${
|
|
67
|
+
variant: `body-${c}-strong`
|
|
68
68
|
})
|
|
69
|
-
] }, `alert-title-${t}`) :
|
|
70
|
-
size:
|
|
69
|
+
] }, `alert-title-${t}`) : e), N = (e) => m.toArray(e).flatMap((t) => d.isValidElement(t) && t.type === d.Fragment ? N(t.props.children) : t.type === y ? u(t, {
|
|
70
|
+
size: c,
|
|
71
71
|
variant: k ? "primary-ai" : void 0
|
|
72
|
-
}) : t.type === g ?
|
|
73
|
-
size:
|
|
74
|
-
}) : t), A = !!
|
|
72
|
+
}) : t.type === g ? u(t, {
|
|
73
|
+
size: c
|
|
74
|
+
}) : t), A = !!a && N(a);
|
|
75
75
|
return /* @__PURE__ */ l(
|
|
76
76
|
"div",
|
|
77
77
|
{
|
|
78
|
-
className:
|
|
78
|
+
className: o(
|
|
79
79
|
"root",
|
|
80
80
|
E && "full-width",
|
|
81
|
-
`size-${
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
`size-${c}`,
|
|
82
|
+
i && `variant-${i}`,
|
|
83
|
+
r
|
|
84
84
|
),
|
|
85
85
|
ref: j,
|
|
86
86
|
...S,
|
|
87
87
|
children: [
|
|
88
|
-
!!p && /* @__PURE__ */
|
|
89
|
-
/* @__PURE__ */ l("div", { className:
|
|
88
|
+
!!p && /* @__PURE__ */ s(I, { className: o("close-button"), onClick: p }),
|
|
89
|
+
/* @__PURE__ */ l("div", { className: o("content"), children: [
|
|
90
90
|
/* @__PURE__ */ l(
|
|
91
91
|
x,
|
|
92
92
|
{
|
|
93
93
|
as: "div",
|
|
94
|
-
className:
|
|
95
|
-
variant: `body-${
|
|
94
|
+
className: o("content-text", !b && "without-title"),
|
|
95
|
+
variant: `body-${c}`,
|
|
96
96
|
children: [
|
|
97
97
|
!b && v,
|
|
98
98
|
R
|
|
99
99
|
]
|
|
100
100
|
}
|
|
101
101
|
),
|
|
102
|
-
!!A && /* @__PURE__ */
|
|
102
|
+
!!A && /* @__PURE__ */ s("div", { className: o("content-actions"), children: A })
|
|
103
103
|
] })
|
|
104
104
|
]
|
|
105
105
|
}
|
package/dist/Icon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import './Icon.css';
|
|
3
3
|
import { jsxs as o, jsx as a } from "react/jsx-runtime";
|
|
4
|
-
import { forwardRef as
|
|
5
|
-
import { c as
|
|
4
|
+
import { forwardRef as e } from "react";
|
|
5
|
+
import { c as C } from "./index-B6iGEm-i.js";
|
|
6
6
|
const s = "_root_576cf_2", n = {
|
|
7
7
|
root: s,
|
|
8
8
|
"size-xs": "_size-xs_576cf_7",
|
|
@@ -29,6 +29,7 @@ const s = "_root_576cf_2", n = {
|
|
|
29
29
|
/* @__PURE__ */ a("symbol", { id: "user-times", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M13.3,12.22A4.92,4.92,0,0,0,15,8.5a5,5,0,0,0-10,0,4.92,4.92,0,0,0,1.7,3.72A8,8,0,0,0,2,19.5a1,1,0,0,0,2,0,6,6,0,0,1,12,0,1,1,0,0,0,2,0A8,8,0,0,0,13.3,12.22ZM10,11.5a3,3,0,1,1,3-3A3,3,0,0,1,10,11.5Zm10.91.5.8-.79a1,1,0,0,0-1.42-1.42l-.79.8-.79-.8a1,1,0,0,0-1.42,1.42l.8.79-.8.79a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0l.79-.8.79.8a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
30
30
|
/* @__PURE__ */ a("symbol", { id: "check", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M18.71,7.21a1,1,0,0,0-1.42,0L9.84,14.67,6.71,11.53A1,1,0,1,0,5.29,13l3.84,3.84a1,1,0,0,0,1.42,0l8.16-8.16A1,1,0,0,0,18.71,7.21Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
31
31
|
/* @__PURE__ */ a("symbol", { id: "times", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M13.41,12l4.3-4.29a1,1,0,1,0-1.42-1.42L12,10.59,7.71,6.29A1,1,0,0,0,6.29,7.71L10.59,12l-4.3,4.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l4.29,4.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
32
|
+
/* @__PURE__ */ a("symbol", { id: "times-circle", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M15.71,8.29a1,1,0,0,0-1.42,0L12,10.59,9.71,8.29A1,1,0,0,0,8.29,9.71L10.59,12l-2.3,2.29a1,1,0,0,0,0,1.42,1,1,0,0,0,1.42,0L12,13.41l2.29,2.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42L13.41,12l2.3-2.29A1,1,0,0,0,15.71,8.29Zm3.36-3.36A10,10,0,1,0,4.93,19.07,10,10,0,1,0,19.07,4.93ZM17.66,17.66A8,8,0,1,1,20,12,7.95,7.95,0,0,1,17.66,17.66Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
32
33
|
/* @__PURE__ */ a("symbol", { id: "trash", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M20,6H16V5a3,3,0,0,0-3-3H11A3,3,0,0,0,8,5V6H4A1,1,0,0,0,4,8H5V19a3,3,0,0,0,3,3h8a3,3,0,0,0,3-3V8h1a1,1,0,0,0,0-2ZM10,5a1,1,0,0,1,1-1h2a1,1,0,0,1,1,1V6H10Zm7,14a1,1,0,0,1-1,1H8a1,1,0,0,1-1-1V8H17Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
33
34
|
/* @__PURE__ */ a("symbol", { id: "import", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M21,14a1,1,0,0,0-1,1v4a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V15a1,1,0,0,0-2,0v4a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V15A1,1,0,0,0,21,14Zm-9.71,1.71a1,1,0,0,0,.33.21.94.94,0,0,0,.76,0,1,1,0,0,0,.33-.21l4-4a1,1,0,0,0-1.42-1.42L13,12.59V3a1,1,0,0,0-2,0v9.59l-2.29-2.3a1,1,0,1,0-1.42,1.42Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
34
35
|
/* @__PURE__ */ a("symbol", { id: "upload", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M8.71,7.71,11,5.41V15a1,1,0,0,0,2,0V5.41l2.29,2.3a1,1,0,0,0,1.42,0,1,1,0,0,0,0-1.42l-4-4a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-4,4A1,1,0,1,0,8.71,7.71ZM21,12a1,1,0,0,0-1,1v6a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V13a1,1,0,0,0-2,0v6a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V13A1,1,0,0,0,21,12Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
@@ -144,6 +145,7 @@ const s = "_root_576cf_2", n = {
|
|
|
144
145
|
/* @__PURE__ */ a("symbol", { id: "graduation-cap", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M21.49,10.19l-1-.55h0l-9-5-.11,0a1.06,1.06,0,0,0-.19-.06l-.19,0-.18,0a1.17,1.17,0,0,0-.2.06l-.11,0-9,5a1,1,0,0,0,0,1.74L4,12.76V17.5a3,3,0,0,0,3,3h8a3,3,0,0,0,3-3V12.76l2-1.12V14.5a1,1,0,0,0,2,0V11.06A1,1,0,0,0,21.49,10.19ZM16,17.5a1,1,0,0,1-1,1H7a1,1,0,0,1-1-1V13.87l4.51,2.5.15.06.09,0a1,1,0,0,0,.25,0h0a1,1,0,0,0,.25,0l.09,0a.47.47,0,0,0,.15-.06L16,13.87Zm-5-3.14L4.06,10.5,11,6.64l6.94,3.86Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
145
146
|
/* @__PURE__ */ a("symbol", { id: "envelope", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M19,4H5A3,3,0,0,0,2,7V17a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V7A3,3,0,0,0,19,4Zm-.41,2-5.88,5.88a1,1,0,0,1-1.42,0L5.41,6ZM20,17a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V7.41l5.88,5.88a3,3,0,0,0,4.24,0L20,7.41Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
146
147
|
/* @__PURE__ */ a("symbol", { id: "envelope-star", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M13.64,9.74l-.29,1.73A1.55,1.55,0,0,0,14,13a1.46,1.46,0,0,0,1.58.09L17,12.28l1.44.79A1.46,1.46,0,0,0,20,13a1.55,1.55,0,0,0,.63-1.51l-.29-1.73,1.2-1.22a1.54,1.54,0,0,0-.85-2.6l-1.62-.24-.73-1.55a1.5,1.5,0,0,0-2.72,0l-.73,1.55-1.62.24a1.54,1.54,0,0,0-.85,2.6Zm1.83-2.13a1.51,1.51,0,0,0,1.14-.85L17,5.93l.39.83a1.55,1.55,0,0,0,1.14.86l1,.14-.73.74a1.57,1.57,0,0,0-.42,1.34l.16,1-.79-.43a1.48,1.48,0,0,0-1.44,0l-.79.43.16-1a1.54,1.54,0,0,0-.42-1.33l-.73-.75ZM21,15.26a1,1,0,0,0-1,1v3a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V9.67l5.88,5.88a2.94,2.94,0,0,0,2.1.88l.27,0a1,1,0,0,0,.91-1.08,1,1,0,0,0-1.09-.91.94.94,0,0,1-.77-.28L5.41,8.26H9a1,1,0,0,0,0-2H5a3,3,0,0,0-3,3v10a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3v-3A1,1,0,0,0,21,15.26Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
148
|
+
/* @__PURE__ */ a("symbol", { id: "envelope-check", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M16.29,8.71a1,1,0,0,0,1.42,0l4-4a1,1,0,1,0-1.42-1.42L17,6.59l-1.29-1.3a1,1,0,0,0-1.42,1.42ZM21,8a1,1,0,0,0-1,1v9a1,1,0,0,1-1,1H5a1,1,0,0,1-1-1V8.41L9.88,14.3a3,3,0,0,0,2.11.87,3.08,3.08,0,0,0,2.16-.9l1.72-1.72a1,1,0,1,0-1.42-1.42L12.7,12.88a1,1,0,0,1-1.4,0L5.41,7H11a1,1,0,0,0,0-2H5A3,3,0,0,0,2,8V18a3,3,0,0,0,3,3H19a3,3,0,0,0,3-3V9A1,1,0,0,0,21,8Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
147
149
|
/* @__PURE__ */ a("symbol", { id: "equal-circle", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M15,13H9a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2Zm0-4H9a1,1,0,0,0,0,2h6a1,1,0,0,0,0-2ZM12,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" }) }),
|
|
148
150
|
/* @__PURE__ */ a("symbol", { id: "minus", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M19,11H5a1,1,0,0,0,0,2H19a1,1,0,0,0,0-2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
149
151
|
/* @__PURE__ */ a("symbol", { id: "venus", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M19,9a7,7,0,1,0-8,6.92V18H10a1,1,0,0,0,0,2h1v1a1,1,0,0,0,2,0V20h1a1,1,0,0,0,0-2H13V15.92A7,7,0,0,0,19,9Zm-7,5a5,5,0,1,1,5-5A5,5,0,0,1,12,14Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
@@ -240,7 +242,7 @@ const s = "_root_576cf_2", n = {
|
|
|
240
242
|
/* @__PURE__ */ a("symbol", { id: "trees", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M16.5,5A4.86,4.86,0,0,0,14,5.69,6,6,0,0,0,2.5,8v4a6,6,0,0,0,5,5.91V21a1,1,0,0,0,2,0V17.91a6.08,6.08,0,0,0,2.78-1.26A5,5,0,0,0,15.5,18.9V21a1,1,0,0,0,2,0V18.9a5,5,0,0,0,4-4.9V10A5,5,0,0,0,16.5,5Zm-5,5v4a5.23,5.23,0,0,0,.06.57,4,4,0,0,1-2.06,1.3V13a1,1,0,0,0-2,0v2.86A4,4,0,0,1,4.5,12V8a4,4,0,0,1,6.83-2.84,3.94,3.94,0,0,1,1.06,2A5,5,0,0,0,11.5,10Zm8,4a3,3,0,0,1-2,2.82V13a1,1,0,0,0-2,0v3.82a3,3,0,0,1-2-2.82V10a3,3,0,0,1,6,0Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
241
243
|
/* @__PURE__ */ a("symbol", { id: "exit", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M4,12a1,1,0,0,0,1,1h7.59l-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,11H5A1,1,0,0,0,4,12ZM17,2H7A3,3,0,0,0,4,5V8A1,1,0,0,0,6,8V5A1,1,0,0,1,7,4H17a1,1,0,0,1,1,1V19a1,1,0,0,1-1,1H7a1,1,0,0,1-1-1V16a1,1,0,0,0-2,0v3a3,3,0,0,0,3,3H17a3,3,0,0,0,3-3V5A3,3,0,0,0,17,2Z", xmlns: "http://www.w3.org/2000/svg" }) }),
|
|
242
244
|
/* @__PURE__ */ a("symbol", { id: "ban", 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,0,1-8-8A7.92,7.92,0,0,1,5.69,7.1L16.9,18.31A7.92,7.92,0,0,1,12,20Zm6.31-3.1L7.1,5.69A7.92,7.92,0,0,1,12,4a8,8,0,0,1,8,8A7.92,7.92,0,0,1,18.31,16.9Z", xmlns: "http://www.w3.org/2000/svg" }) })
|
|
243
|
-
] }), m =
|
|
245
|
+
] }), m = C(n), A = e(
|
|
244
246
|
({ "aria-label": l, className: w, name: r, size: h = "md", ...t }, i) => /* @__PURE__ */ a(
|
|
245
247
|
"svg",
|
|
246
248
|
{
|
package/dist/Tabs.js
CHANGED
|
@@ -224,6 +224,7 @@ const ve = "_root_393s0_2", _e = "_dashed_393s0_23", Ie = "_content_393s0_94", k
|
|
|
224
224
|
"user-times",
|
|
225
225
|
"check",
|
|
226
226
|
"times",
|
|
227
|
+
"times-circle",
|
|
227
228
|
"trash",
|
|
228
229
|
"import",
|
|
229
230
|
"upload",
|
|
@@ -304,6 +305,7 @@ const ve = "_root_393s0_2", _e = "_dashed_393s0_23", Ie = "_content_393s0_94", k
|
|
|
304
305
|
"graduation-cap",
|
|
305
306
|
"envelope",
|
|
306
307
|
"envelope-star",
|
|
308
|
+
"envelope-check",
|
|
307
309
|
"equal-circle",
|
|
308
310
|
"minus",
|
|
309
311
|
"venus",
|
|
@@ -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
|
-
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"];
|
|
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", "times-circle", "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", "hourglass", "focus-target"];
|
|
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", "envelope-check", "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", "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"];
|
|
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", "times-circle", "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", "envelope-check", "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];
|