@cfx-dev/ui-components 2.1.23 → 3.0.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/{Rail-nVRissv6.js → Rail-XT5PwAlx.js} +1 -1
- package/dist/assets/all_css.css +55 -0
- package/dist/assets/css/Button.css +1 -0
- package/dist/assets/css/Link.css +1 -0
- package/dist/assets/css/Modal.css +1 -0
- package/dist/assets/css/Text.css +1 -0
- package/dist/assets/general/global.css +1 -0
- package/dist/components/Accordion/Accordion.js +1 -1
- package/dist/components/Avatar/Avatar.js +1 -1
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/Button/Button.js +78 -77
- package/dist/components/Button/ButtonBar.js +1 -1
- package/dist/components/Button/ButtonShowcase.js +46 -33
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/ClipboardButton/ClipboardButton.js +1 -1
- package/dist/components/ControlBox/ControlBox.js +1 -1
- package/dist/components/CountryFlag/CountryFlag.js +1 -1
- package/dist/components/Decorate/Decorate.js +1 -1
- package/dist/components/Dot/Dot.js +1 -1
- package/dist/components/Flyout/Flyout.js +1 -1
- package/dist/components/Icon/Icon.js +1 -1
- package/dist/components/IconBig/IconBig.js +1 -1
- package/dist/components/IconButton/IconButton.js +1 -1
- package/dist/components/Indicator/Indicator.js +1 -1
- package/dist/components/InfoPanel/InfoPanel.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Input/RichInput.js +1 -1
- package/dist/components/InputDropzone/InputDropzone.js +1 -1
- package/dist/components/InputDropzone/ItemPreview.js +1 -1
- package/dist/components/Interactive/Interactive.js +1 -1
- package/dist/components/Island/Island.js +1 -1
- package/dist/components/Layout/Box/Box.js +1 -1
- package/dist/components/Layout/Center/Center.js +1 -1
- package/dist/components/Layout/Flex/Flex.js +1 -1
- package/dist/components/Layout/Flex/FlexRestricter.js +1 -1
- package/dist/components/Layout/Flex/FlexShowcase.js +1 -1
- package/dist/components/Layout/Pad/Pad.js +1 -1
- package/dist/components/Layout/Page/Page.js +1 -1
- package/dist/components/Layout/Scrollable/Rail.js +1 -1
- package/dist/components/Layout/Scrollable/Scrollable.js +1 -1
- package/dist/components/Layout/Scrollable/VirtualScrollable.js +1 -1
- package/dist/components/Layout/Scrollable/index.js +1 -1
- package/dist/components/Link/ButtonLink.d.ts +9 -0
- package/dist/components/Link/ButtonLink.js +26 -0
- package/dist/components/Link/Link.d.ts +13 -0
- package/dist/components/Link/Link.js +35 -0
- package/dist/components/Link/LinkShowcase.d.ts +5 -0
- package/dist/components/Link/LinkShowcase.js +62 -0
- package/dist/components/Link/index.d.ts +3 -0
- package/dist/components/Link/index.js +7 -0
- package/dist/components/Loaf/Loaf.js +1 -1
- package/dist/components/Modal/Modal.js +34 -34
- package/dist/components/NavList/NavList.js +1 -1
- package/dist/components/Overlay/Overlay.js +1 -1
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/Popover/PopoverShowcase.js +1 -1
- package/dist/components/PremiumBadge/PremiumBadge.js +1 -1
- package/dist/components/Prose/Prose.js +1 -1
- package/dist/components/Radio/Radio.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Separator/Separator.js +1 -1
- package/dist/components/Shroud/Shroud.js +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Spacer/Spacer.js +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/Table/Table.d.ts +2 -1
- package/dist/components/Table/Table.js +72 -71
- package/dist/components/Tabular/Tabular.js +1 -1
- package/dist/components/Text/Text.js +5 -5
- package/dist/components/Text/TextShowcase.js +1 -1
- package/dist/components/Textarea/Textarea.js +1 -1
- package/dist/components/Title/Title.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/main.d.ts +3 -0
- package/dist/main.js +137 -132
- package/dist/styles-scss/global.scss +16 -8
- package/dist/styles-scss/tokens.scss +7 -0
- package/package.json +1 -2
- package/dist/assets/Button.css +0 -1
- package/dist/assets/ColorShowcase.css +0 -1
- package/dist/assets/ColorVariationsShowcase.css +0 -1
- package/dist/assets/ColorsShowcase.css +0 -1
- package/dist/assets/ControlHeightShowcase.css +0 -1
- package/dist/assets/Modal.css +0 -1
- package/dist/assets/OffsetShowcase.css +0 -1
- package/dist/assets/QuantShowcase.css +0 -1
- package/dist/assets/Text.css +0 -1
- package/dist/assets/global.css +0 -1
- package/dist/style-guide/Colors/ColorShowcase.d.ts +0 -21
- package/dist/style-guide/Colors/ColorShowcase.js +0 -1881
- package/dist/style-guide/Colors/ColorVariationsShowcase.d.ts +0 -5
- package/dist/style-guide/Colors/ColorVariationsShowcase.js +0 -43
- package/dist/style-guide/Colors/ColorsShowcase.d.ts +0 -5
- package/dist/style-guide/Colors/ColorsShowcase.js +0 -43
- package/dist/style-guide/Layout/ControlHeightShowcase.d.ts +0 -5
- package/dist/style-guide/Layout/ControlHeightShowcase.js +0 -27
- package/dist/style-guide/Layout/OffsetShowcase.d.ts +0 -5
- package/dist/style-guide/Layout/OffsetShowcase.js +0 -32
- package/dist/style-guide/Layout/QuantShowcase.d.ts +0 -5
- package/dist/style-guide/Layout/QuantShowcase.js +0 -36
- /package/dist/assets/{Accordion.css → css/Accordion.css} +0 -0
- /package/dist/assets/{Avatar.css → css/Avatar.css} +0 -0
- /package/dist/assets/{Badge.css → css/Badge.css} +0 -0
- /package/dist/assets/{Box.css → css/Box.css} +0 -0
- /package/dist/assets/{ButtonBar.css → css/ButtonBar.css} +0 -0
- /package/dist/assets/{Center.css → css/Center.css} +0 -0
- /package/dist/assets/{Checkbox.css → css/Checkbox.css} +0 -0
- /package/dist/assets/{ClipboardButton.css → css/ClipboardButton.css} +0 -0
- /package/dist/assets/{ControlBox.css → css/ControlBox.css} +0 -0
- /package/dist/assets/{CountryFlag.css → css/CountryFlag.css} +0 -0
- /package/dist/assets/{Decorate.css → css/Decorate.css} +0 -0
- /package/dist/assets/{Dot.css → css/Dot.css} +0 -0
- /package/dist/assets/{Flex.css → css/Flex.css} +0 -0
- /package/dist/assets/{FlexRestricter.css → css/FlexRestricter.css} +0 -0
- /package/dist/assets/{FlexShowcase.css → css/FlexShowcase.css} +0 -0
- /package/dist/assets/{Flyout.css → css/Flyout.css} +0 -0
- /package/dist/assets/{Icon.css → css/Icon.css} +0 -0
- /package/dist/assets/{IconBig.css → css/IconBig.css} +0 -0
- /package/dist/assets/{IconButton.css → css/IconButton.css} +0 -0
- /package/dist/assets/{Indicator.css → css/Indicator.css} +0 -0
- /package/dist/assets/{InfoPanel.css → css/InfoPanel.css} +0 -0
- /package/dist/assets/{Input.css → css/Input.css} +0 -0
- /package/dist/assets/{InputDropzone.css → css/InputDropzone.css} +0 -0
- /package/dist/assets/{Interactive.css → css/Interactive.css} +0 -0
- /package/dist/assets/{Island.css → css/Island.css} +0 -0
- /package/dist/assets/{ItemPreview.css → css/ItemPreview.css} +0 -0
- /package/dist/assets/{Loaf.css → css/Loaf.css} +0 -0
- /package/dist/assets/{NavList.css → css/NavList.css} +0 -0
- /package/dist/assets/{Overlay.css → css/Overlay.css} +0 -0
- /package/dist/assets/{Pad.css → css/Pad.css} +0 -0
- /package/dist/assets/{Page.css → css/Page.css} +0 -0
- /package/dist/assets/{Popover.css → css/Popover.css} +0 -0
- /package/dist/assets/{PopoverShowcase.css → css/PopoverShowcase.css} +0 -0
- /package/dist/assets/{PremiumBadge.css → css/PremiumBadge.css} +0 -0
- /package/dist/assets/{Prose.css → css/Prose.css} +0 -0
- /package/dist/assets/{Radio.css → css/Radio.css} +0 -0
- /package/dist/assets/{Rail.css → css/Rail.css} +0 -0
- /package/dist/assets/{RichInput.css → css/RichInput.css} +0 -0
- /package/dist/assets/{Select.css → css/Select.css} +0 -0
- /package/dist/assets/{Separator.css → css/Separator.css} +0 -0
- /package/dist/assets/{Shroud.css → css/Shroud.css} +0 -0
- /package/dist/assets/{Skeleton.css → css/Skeleton.css} +0 -0
- /package/dist/assets/{Spacer.css → css/Spacer.css} +0 -0
- /package/dist/assets/{Switch.css → css/Switch.css} +0 -0
- /package/dist/assets/{Table.css → css/Table.css} +0 -0
- /package/dist/assets/{Tabular.css → css/Tabular.css} +0 -0
- /package/dist/assets/{TextShowcase.css → css/TextShowcase.css} +0 -0
- /package/dist/assets/{Textarea.css → css/Textarea.css} +0 -0
- /package/dist/assets/{Title.css → css/Title.css} +0 -0
- /package/dist/assets/{ToggleGroup.css → css/ToggleGroup.css} +0 -0
- /package/dist/assets/{themes.css → general/themes.css} +0 -0
|
@@ -4,7 +4,7 @@ import { Icon as C } from "../Icon/Icon.js";
|
|
|
4
4
|
import { Flex as k } from "../Layout/Flex/Flex.js";
|
|
5
5
|
import { Text as I } from "../Text/Text.js";
|
|
6
6
|
import { clsx as h } from "../../utils/clsx.js";
|
|
7
|
-
|
|
7
|
+
const D = "_root_1pwnk_1", y = "_item_1pwnk_5", F = "_header_1pwnk_5", N = "_triggerContainer_1pwnk_10", U = "_iconFlip_1pwnk_23", T = "_iconUp_1pwnk_26", R = "_iconDown_1pwnk_29", $ = "_iconLeft_1pwnk_32", E = "_iconRight_1pwnk_36", L = "_content_1pwnk_49", O = "_open_1pwnk_56", o = {
|
|
8
8
|
root: D,
|
|
9
9
|
item: y,
|
|
10
10
|
header: F,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import k from "react";
|
|
3
3
|
import { clsx as P } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const S = "_root_1vrfs_1", e = "_rounded_1vrfs_7", A = {
|
|
5
5
|
root: S,
|
|
6
6
|
rounded: e,
|
|
7
7
|
"size-small": "_size-small_1vrfs_10",
|
|
@@ -2,7 +2,7 @@ import { jsxs as i, jsx as m } from "react/jsx-runtime";
|
|
|
2
2
|
import h from "react";
|
|
3
3
|
import { Icon as v } from "../Icon/Icon.js";
|
|
4
4
|
import { clsx as u } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const f = "_root_5qhvc_1", q = "_success_5qhvc_12", d = "_hoverable_5qhvc_16", x = "_neutral_5qhvc_19", b = "_warning_5qhvc_23", g = "_error_5qhvc_30", p = "_small_5qhvc_37", w = "_icon_5qhvc_41", o = {
|
|
6
6
|
root: f,
|
|
7
7
|
success: q,
|
|
8
8
|
hoverable: d,
|
|
@@ -1,108 +1,109 @@
|
|
|
1
|
-
import { jsx as
|
|
1
|
+
import { jsx as r, jsxs as W, Fragment as g } from "react/jsx-runtime";
|
|
2
2
|
import m from "react";
|
|
3
|
-
import { Icon as
|
|
4
|
-
import { clsx as
|
|
5
|
-
import { noop as
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
3
|
+
import { Icon as A } from "../Icon/Icon.js";
|
|
4
|
+
import { clsx as B } from "../../utils/clsx.js";
|
|
5
|
+
import { noop as y } from "../../utils/functional.js";
|
|
6
|
+
const q = "_unsetAll_13zdy_1", I = "_root_13zdy_5", M = "_fullWidth_13zdy_38", j = "_primary_13zdy_58", w = "_secondary_13zdy_79", F = "_linked_13zdy_121", R = "_quicklink_13zdy_150", v = "_icon_13zdy_157", D = "_icononly_13zdy_182", L = "_decorator_13zdy_187", o = {
|
|
7
|
+
unsetAll: q,
|
|
8
|
+
root: I,
|
|
9
|
+
fullWidth: M,
|
|
10
|
+
primary: j,
|
|
11
|
+
secondary: w,
|
|
12
|
+
"on-light": "_on-light_13zdy_100",
|
|
13
|
+
linked: F,
|
|
14
|
+
quicklink: R,
|
|
15
|
+
icon: v,
|
|
16
|
+
icononly: D,
|
|
17
|
+
decorator: L
|
|
17
18
|
};
|
|
18
|
-
function
|
|
19
|
+
function U(c) {
|
|
19
20
|
const {
|
|
20
21
|
text: t = null,
|
|
21
|
-
icon:
|
|
22
|
+
icon: l,
|
|
22
23
|
decorator: n = null
|
|
23
|
-
} =
|
|
24
|
-
return /* @__PURE__ */ g
|
|
24
|
+
} = c;
|
|
25
|
+
return /* @__PURE__ */ W(g, { children: [
|
|
25
26
|
t,
|
|
26
|
-
!!
|
|
27
|
-
!!n && /* @__PURE__ */
|
|
27
|
+
!!l && /* @__PURE__ */ r(A, { name: l, className: o.icon }),
|
|
28
|
+
!!n && /* @__PURE__ */ r("div", { className: o.decorator, children: n })
|
|
28
29
|
] });
|
|
29
30
|
}
|
|
30
|
-
function
|
|
31
|
+
function E(c) {
|
|
31
32
|
const {
|
|
32
33
|
text: t = null,
|
|
33
|
-
icon:
|
|
34
|
+
icon: l,
|
|
34
35
|
theme: n = "default",
|
|
35
|
-
disabled:
|
|
36
|
-
className:
|
|
37
|
-
autofocus:
|
|
38
|
-
fullWidth:
|
|
39
|
-
tabIndex:
|
|
40
|
-
} =
|
|
41
|
-
return
|
|
42
|
-
[o.disabled]:
|
|
43
|
-
[o.icononly]: !!
|
|
36
|
+
disabled: s = !1,
|
|
37
|
+
className: d = "",
|
|
38
|
+
autofocus: u = !1,
|
|
39
|
+
fullWidth: a = !1,
|
|
40
|
+
tabIndex: i
|
|
41
|
+
} = c;
|
|
42
|
+
return B(o.unsetAll, o.root, o[n], d, {
|
|
43
|
+
[o.disabled]: s,
|
|
44
|
+
[o.icononly]: !!l && (t === null || typeof t > "u"),
|
|
44
45
|
[o.text]: !!t,
|
|
45
|
-
[o.autofocus]:
|
|
46
|
-
[o.fullWidth]:
|
|
46
|
+
[o.autofocus]: u || typeof i < "u",
|
|
47
|
+
[o.fullWidth]: a
|
|
47
48
|
});
|
|
48
49
|
}
|
|
49
|
-
const
|
|
50
|
+
const P = m.forwardRef(function(t, l) {
|
|
50
51
|
const {
|
|
51
52
|
text: n = null,
|
|
52
|
-
icon:
|
|
53
|
-
title:
|
|
54
|
-
type:
|
|
55
|
-
className:
|
|
56
|
-
theme:
|
|
53
|
+
icon: s,
|
|
54
|
+
title: d = "",
|
|
55
|
+
type: u = "button",
|
|
56
|
+
className: a = "",
|
|
57
|
+
theme: i = "default",
|
|
57
58
|
disabled: e = !1,
|
|
58
|
-
onClick:
|
|
59
|
-
onMouseDown: p =
|
|
60
|
-
onMouseUp:
|
|
61
|
-
autofocus:
|
|
62
|
-
tabIndex:
|
|
63
|
-
fullWidth:
|
|
64
|
-
ariaLabel:
|
|
65
|
-
} = t,
|
|
59
|
+
onClick: h = y,
|
|
60
|
+
onMouseDown: p = y,
|
|
61
|
+
onMouseUp: z = y,
|
|
62
|
+
autofocus: _ = !1,
|
|
63
|
+
tabIndex: f,
|
|
64
|
+
fullWidth: k = !1,
|
|
65
|
+
ariaLabel: b = ""
|
|
66
|
+
} = t, x = m.useMemo(() => E({
|
|
66
67
|
text: n,
|
|
67
|
-
icon:
|
|
68
|
-
theme:
|
|
68
|
+
icon: s,
|
|
69
|
+
theme: i,
|
|
69
70
|
disabled: e,
|
|
70
|
-
className:
|
|
71
|
-
autofocus:
|
|
72
|
-
fullWidth:
|
|
73
|
-
tabIndex:
|
|
71
|
+
className: a,
|
|
72
|
+
autofocus: _,
|
|
73
|
+
fullWidth: k,
|
|
74
|
+
tabIndex: f
|
|
74
75
|
}), [
|
|
75
|
-
f,
|
|
76
|
-
s,
|
|
77
|
-
y,
|
|
78
|
-
e,
|
|
79
|
-
i,
|
|
80
76
|
_,
|
|
77
|
+
a,
|
|
78
|
+
k,
|
|
79
|
+
e,
|
|
80
|
+
s,
|
|
81
|
+
f,
|
|
81
82
|
n,
|
|
82
|
-
|
|
83
|
-
]),
|
|
84
|
-
e ||
|
|
85
|
-
}, [e,
|
|
86
|
-
return /* @__PURE__ */
|
|
83
|
+
i
|
|
84
|
+
]), C = m.useCallback((N) => {
|
|
85
|
+
e || h(N);
|
|
86
|
+
}, [e, h]);
|
|
87
|
+
return /* @__PURE__ */ r(
|
|
87
88
|
"button",
|
|
88
89
|
{
|
|
89
|
-
ref:
|
|
90
|
+
ref: l,
|
|
90
91
|
disabled: e,
|
|
91
|
-
className:
|
|
92
|
-
onClick:
|
|
92
|
+
className: x,
|
|
93
|
+
onClick: C,
|
|
93
94
|
onMouseDown: p,
|
|
94
|
-
onMouseUp:
|
|
95
|
-
autoFocus:
|
|
96
|
-
tabIndex:
|
|
97
|
-
title:
|
|
98
|
-
type:
|
|
99
|
-
"aria-label":
|
|
100
|
-
children: /* @__PURE__ */
|
|
95
|
+
onMouseUp: z,
|
|
96
|
+
autoFocus: _,
|
|
97
|
+
tabIndex: f,
|
|
98
|
+
title: d,
|
|
99
|
+
type: u,
|
|
100
|
+
"aria-label": b,
|
|
101
|
+
children: /* @__PURE__ */ r(U, { ...t })
|
|
101
102
|
}
|
|
102
103
|
);
|
|
103
104
|
});
|
|
104
105
|
export {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
106
|
+
P as Button,
|
|
107
|
+
U as ButtonContent,
|
|
108
|
+
E as getButtonClassName
|
|
108
109
|
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { Flex as n } from "../Layout/Flex/Flex.js";
|
|
4
4
|
import { Text as i } from "../Text/Text.js";
|
|
5
|
-
import { Button as
|
|
6
|
-
import { ButtonBar as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
import { Button as r } from "./Button.js";
|
|
6
|
+
import { ButtonBar as o } from "./ButtonBar.js";
|
|
7
|
+
import { LinkButton as c } from "./LinkButton.js";
|
|
8
|
+
function a() {
|
|
9
|
+
return /* @__PURE__ */ t(n, { gap: "large", vertical: !0, children: [
|
|
10
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
10
11
|
/* @__PURE__ */ e(i, { children: "Default" }),
|
|
11
12
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
12
|
-
|
|
13
|
+
r,
|
|
13
14
|
{
|
|
14
15
|
text: "Sign In",
|
|
15
16
|
theme: "default",
|
|
@@ -17,10 +18,10 @@ function o() {
|
|
|
17
18
|
}
|
|
18
19
|
) })
|
|
19
20
|
] }),
|
|
20
|
-
/* @__PURE__ */
|
|
21
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
21
22
|
/* @__PURE__ */ e(i, { children: "Primary" }),
|
|
22
23
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
23
|
-
|
|
24
|
+
r,
|
|
24
25
|
{
|
|
25
26
|
text: "Sign In",
|
|
26
27
|
theme: "primary",
|
|
@@ -28,10 +29,10 @@ function o() {
|
|
|
28
29
|
}
|
|
29
30
|
) })
|
|
30
31
|
] }),
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
32
33
|
/* @__PURE__ */ e(i, { children: "Secondary" }),
|
|
33
34
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
34
|
-
|
|
35
|
+
r,
|
|
35
36
|
{
|
|
36
37
|
text: "Sign In",
|
|
37
38
|
theme: "secondary",
|
|
@@ -39,10 +40,10 @@ function o() {
|
|
|
39
40
|
}
|
|
40
41
|
) })
|
|
41
42
|
] }),
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
43
44
|
/* @__PURE__ */ e(i, { children: "On Light" }),
|
|
44
45
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
45
|
-
|
|
46
|
+
r,
|
|
46
47
|
{
|
|
47
48
|
text: "Sign In",
|
|
48
49
|
theme: "on-light",
|
|
@@ -50,10 +51,10 @@ function o() {
|
|
|
50
51
|
}
|
|
51
52
|
) })
|
|
52
53
|
] }),
|
|
53
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
54
55
|
/* @__PURE__ */ e(i, { children: "Quick Link" }),
|
|
55
56
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
56
|
-
|
|
57
|
+
r,
|
|
57
58
|
{
|
|
58
59
|
text: "Sign In",
|
|
59
60
|
theme: "quicklink",
|
|
@@ -61,20 +62,20 @@ function o() {
|
|
|
61
62
|
}
|
|
62
63
|
) })
|
|
63
64
|
] }),
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
65
66
|
/* @__PURE__ */ e(i, { children: "No Icon" }),
|
|
66
67
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
67
|
-
|
|
68
|
+
r,
|
|
68
69
|
{
|
|
69
70
|
text: "Sign In",
|
|
70
71
|
theme: "default"
|
|
71
72
|
}
|
|
72
73
|
) })
|
|
73
74
|
] }),
|
|
74
|
-
/* @__PURE__ */
|
|
75
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
75
76
|
/* @__PURE__ */ e(i, { children: "Full Width" }),
|
|
76
77
|
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
77
|
-
|
|
78
|
+
r,
|
|
78
79
|
{
|
|
79
80
|
text: "Sign In",
|
|
80
81
|
theme: "default",
|
|
@@ -83,11 +84,11 @@ function o() {
|
|
|
83
84
|
}
|
|
84
85
|
) })
|
|
85
86
|
] }),
|
|
86
|
-
/* @__PURE__ */
|
|
87
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
87
88
|
/* @__PURE__ */ e(i, { children: "Linked" }),
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
+
/* @__PURE__ */ t(n, { p: 4, style: { backgroundColor: "var(--color-modal-background)" }, children: [
|
|
89
90
|
/* @__PURE__ */ e(
|
|
90
|
-
|
|
91
|
+
r,
|
|
91
92
|
{
|
|
92
93
|
text: "Sign In",
|
|
93
94
|
theme: "linked",
|
|
@@ -95,7 +96,7 @@ function o() {
|
|
|
95
96
|
}
|
|
96
97
|
),
|
|
97
98
|
/* @__PURE__ */ e(
|
|
98
|
-
|
|
99
|
+
r,
|
|
99
100
|
{
|
|
100
101
|
disabled: !0,
|
|
101
102
|
text: "Copy",
|
|
@@ -105,19 +106,31 @@ function o() {
|
|
|
105
106
|
)
|
|
106
107
|
] })
|
|
107
108
|
] }),
|
|
108
|
-
/* @__PURE__ */
|
|
109
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
110
|
+
/* @__PURE__ */ e(i, { children: "LinkButton - look like button but its anchor" }),
|
|
111
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(
|
|
112
|
+
c,
|
|
113
|
+
{
|
|
114
|
+
to: "/",
|
|
115
|
+
text: "Sign In",
|
|
116
|
+
theme: "primary",
|
|
117
|
+
icon: "Users"
|
|
118
|
+
}
|
|
119
|
+
) })
|
|
120
|
+
] }),
|
|
121
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
109
122
|
/* @__PURE__ */ e(i, { children: "Button Bar" }),
|
|
110
|
-
/* @__PURE__ */ e("div", { children: /* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */ e(
|
|
112
|
-
/* @__PURE__ */ e(
|
|
113
|
-
/* @__PURE__ */ e(
|
|
114
|
-
/* @__PURE__ */ e(
|
|
123
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ t(o, { children: [
|
|
124
|
+
/* @__PURE__ */ e(r, { text: "Sign In", theme: "primary", icon: "Users" }),
|
|
125
|
+
/* @__PURE__ */ e(r, { text: "Register", theme: "secondary", icon: "Users" }),
|
|
126
|
+
/* @__PURE__ */ e(r, { text: "Sign Out", theme: "on-light", icon: "Users" }),
|
|
127
|
+
/* @__PURE__ */ e(r, { text: "Create Account", theme: "default", icon: "Users" })
|
|
115
128
|
] }) })
|
|
116
129
|
] }),
|
|
117
|
-
/* @__PURE__ */
|
|
130
|
+
/* @__PURE__ */ t(n, { gap: "normal", vertical: !0, children: [
|
|
118
131
|
/* @__PURE__ */ e(i, { children: "Long text" }),
|
|
119
132
|
/* @__PURE__ */ e("div", { style: { maxWidth: "300px" }, children: /* @__PURE__ */ e(
|
|
120
|
-
|
|
133
|
+
r,
|
|
121
134
|
{
|
|
122
135
|
text: "Long text that should wrap around",
|
|
123
136
|
theme: "default",
|
|
@@ -127,7 +140,7 @@ function o() {
|
|
|
127
140
|
] })
|
|
128
141
|
] });
|
|
129
142
|
}
|
|
130
|
-
const
|
|
143
|
+
const x = l.memo(a);
|
|
131
144
|
export {
|
|
132
|
-
|
|
145
|
+
x as default
|
|
133
146
|
};
|
|
@@ -50,7 +50,7 @@ import "../Icons/cfx-icons-big/Warning.js";
|
|
|
50
50
|
import "../Icons/cfx-icons-big/Confirm.js";
|
|
51
51
|
import { clsx as R } from "../../utils/clsx.js";
|
|
52
52
|
import { getColor as q } from "../../utils/color.js";
|
|
53
|
-
|
|
53
|
+
function X(e, t) {
|
|
54
54
|
return a.useReducer((n, o) => t[n][o] ?? n, e);
|
|
55
55
|
}
|
|
56
56
|
var I = (e) => {
|
|
@@ -8,7 +8,7 @@ import "../../utils/hooks/useGlobalKeyboardEvent.js";
|
|
|
8
8
|
import "../../utils/hooks/useKeyboardClose.js";
|
|
9
9
|
import "../../index-2hJuj4UN.js";
|
|
10
10
|
import { useClipboardComponent as k } from "../../utils/hooks/useClipboardComponent.js";
|
|
11
|
-
|
|
11
|
+
const b = "_root_185u8_1", h = "_copied_185u8_1", e = {
|
|
12
12
|
root: b,
|
|
13
13
|
copied: h
|
|
14
14
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
2
|
import c from "react";
|
|
3
3
|
import { clsx as _ } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const e = "_root_1ykga_1", f = "_small_1ykga_5", g = "_normal_1ykga_8", i = "_large_1ykga_11", o = {
|
|
5
5
|
root: e,
|
|
6
6
|
small: f,
|
|
7
7
|
normal: g,
|
|
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import f from "react";
|
|
3
3
|
import { Title as l } from "../Title/Title.js";
|
|
4
4
|
import { clsx as i } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const m = "_root_n4jzf_1", u = {
|
|
6
6
|
root: m
|
|
7
7
|
}, x = f.forwardRef(function(r, e) {
|
|
8
8
|
const {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as m, jsx as l } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { clsx as t } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const _ = "_root_jt9ac_1", f = "_decorator_jt9ac_4", c = {
|
|
5
5
|
root: _,
|
|
6
6
|
decorator: f
|
|
7
7
|
}, u = i.forwardRef(function(o, a) {
|
|
@@ -2,7 +2,7 @@ import { jsx as e } from "react/jsx-runtime";
|
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { clsx as m } from "../../utils/clsx.js";
|
|
4
4
|
import { getColor as i } from "../../utils/color.js";
|
|
5
|
-
|
|
5
|
+
const _ = "_root_8a36f_1", r = {
|
|
6
6
|
root: _,
|
|
7
7
|
"size-small": "_size-small_8a36f_6",
|
|
8
8
|
"size-normal": "_size-normal_8a36f_10",
|
|
@@ -8,7 +8,7 @@ import { noop as f } from "../../utils/functional.js";
|
|
|
8
8
|
import "../../utils/hooks/useGlobalKeyboardEvent.js";
|
|
9
9
|
import { useKeyboardClose as k } from "../../utils/hooks/useKeyboardClose.js";
|
|
10
10
|
import { useOutlet as q } from "../../utils/hooks/useOutlet.js";
|
|
11
|
-
|
|
11
|
+
const b = "_root_6qvdu_1", C = "_holder_6qvdu_6", N = "_active_6qvdu_15", z = "_backdrop_6qvdu_15", y = "_mask_6qvdu_28", F = "_content_6qvdu_90", L = "_header_6qvdu_95", x = "_title_6qvdu_101", e = {
|
|
12
12
|
root: b,
|
|
13
13
|
"size-normal": "_size-normal_6qvdu_6",
|
|
14
14
|
holder: C,
|
|
@@ -10,7 +10,7 @@ import { getTextOpacity as h } from "../Text/Text.js";
|
|
|
10
10
|
import { ui as t } from "../ui.js";
|
|
11
11
|
import { clsx as y } from "../../utils/clsx.js";
|
|
12
12
|
import { getColor as z } from "../../utils/color.js";
|
|
13
|
-
|
|
13
|
+
const S = "_root_sqbzn_1", _ = {
|
|
14
14
|
root: S
|
|
15
15
|
}, A = l.forwardRef(function(r, i) {
|
|
16
16
|
const {
|
|
@@ -44,7 +44,7 @@ import { I as f } from "../../cfxIconsBig-BLJjMT-Y.js";
|
|
|
44
44
|
import { getTextOpacity as g } from "../Text/Text.js";
|
|
45
45
|
import { clsx as z } from "../../utils/clsx.js";
|
|
46
46
|
import { getColor as y } from "../../utils/color.js";
|
|
47
|
-
|
|
47
|
+
const C = "_root_b0cs1_1", r = {
|
|
48
48
|
root: C,
|
|
49
49
|
"size-small": "_size-small_b0cs1_6",
|
|
50
50
|
"size-normal": "_size-normal_b0cs1_14",
|
|
@@ -2,7 +2,7 @@ import { jsx as t } from "react/jsx-runtime";
|
|
|
2
2
|
import _ from "react";
|
|
3
3
|
import { Icon as p } from "../Icon/Icon.js";
|
|
4
4
|
import { clsx as x } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const d = "_unset_1l0x5_1", f = "_root_1l0x5_5", b = "_medium_1l0x5_19", g = "_large_1l0x5_22", o = {
|
|
6
6
|
unset: d,
|
|
7
7
|
root: f,
|
|
8
8
|
medium: b,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as n, jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { clsx as a } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const s = "_root_2gp9n_1", e = "_indicator_2gp9n_1", r = {
|
|
5
5
|
root: s,
|
|
6
6
|
indicator: e
|
|
7
7
|
}, c = { animationDelay: "0ms" }, m = { animationDelay: "50ms" }, d = { animationDelay: "100ms" }, l = { animationDelay: "150ms" }, v = i.memo(function({
|
|
@@ -2,7 +2,7 @@ import { jsxs as p, jsx as o } from "react/jsx-runtime";
|
|
|
2
2
|
import u from "react";
|
|
3
3
|
import { Icon as r } from "../Icon/Icon.js";
|
|
4
4
|
import { clsx as v } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const y = "_rootUnset_5rtl4_1", f = "_root_5rtl4_1", x = "_interactive_5rtl4_19", z = "_interactiveIcon_5rtl4_22", d = "_icon_5rtl4_70", I = "_content_5rtl4_74", t = {
|
|
6
6
|
rootUnset: y,
|
|
7
7
|
root: f,
|
|
8
8
|
interactive: x,
|
|
@@ -5,7 +5,7 @@ import W from "../IconButton/IconButton.js";
|
|
|
5
5
|
import { Indicator as X } from "../Indicator/Indicator.js";
|
|
6
6
|
import { clsx as $ } from "../../utils/clsx.js";
|
|
7
7
|
import { getValue as q } from "../../utils/getValue.js";
|
|
8
|
-
|
|
8
|
+
const H = "_root_e1sis_1", J = "_input_e1sis_1", L = "_small_e1sis_5", O = "_large_e1sis_9", P = "_placeholderIcon_e1sis_72", Q = "_empty_e1sis_164", U = "_decorator_e1sis_169", Y = "_onlight_e1sis_186", e = {
|
|
9
9
|
root: H,
|
|
10
10
|
input: J,
|
|
11
11
|
small: L,
|
|
@@ -6,7 +6,7 @@ import { useDynamicRef as i } from "../../utils/hooks/useDynamicRef.js";
|
|
|
6
6
|
import "../../utils/hooks/useGlobalKeyboardEvent.js";
|
|
7
7
|
import "../../utils/hooks/useKeyboardClose.js";
|
|
8
8
|
import "../../index-2hJuj4UN.js";
|
|
9
|
-
|
|
9
|
+
const L = "_root_1vnop_1", T = "_renderer_1vnop_1", j = "_small_1vnop_5", E = "_large_1vnop_10", z = "_clear_1vnop_157", o = {
|
|
10
10
|
root: L,
|
|
11
11
|
renderer: T,
|
|
12
12
|
small: j,
|
|
@@ -6,7 +6,7 @@ import { IconBig as Fr } from "../IconBig/IconBig.js";
|
|
|
6
6
|
import { Text as Ue } from "../Text/Text.js";
|
|
7
7
|
import { clsx as Er } from "../../utils/clsx.js";
|
|
8
8
|
import Ye from "./ItemPreview.js";
|
|
9
|
-
|
|
9
|
+
var _r = /* @__PURE__ */ new Map([
|
|
10
10
|
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types
|
|
11
11
|
["aac", "audio/aac"],
|
|
12
12
|
["abw", "application/x-abiword"],
|
|
@@ -3,7 +3,7 @@ import e from "react";
|
|
|
3
3
|
import f from "../IconButton/IconButton.js";
|
|
4
4
|
import { Text as d } from "../Text/Text.js";
|
|
5
5
|
import { clsx as _ } from "../../utils/clsx.js";
|
|
6
|
-
|
|
6
|
+
const h = "_root_1v0i1_1", p = "_failed_1v0i1_12", u = "_filePath_1v0i1_15", a = {
|
|
7
7
|
root: h,
|
|
8
8
|
failed: p,
|
|
9
9
|
filePath: u
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { clsx as m } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const f = "_root_1o2df_1", l = {
|
|
5
5
|
root: f
|
|
6
6
|
}, h = i.forwardRef(function(o, t) {
|
|
7
7
|
const {
|
|
@@ -2,7 +2,7 @@ import { jsx as c } from "react/jsx-runtime";
|
|
|
2
2
|
import b from "react";
|
|
3
3
|
import { ui as p } from "../ui.js";
|
|
4
4
|
import { clsx as h } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const w = "_root_mdgcu_1", R = "_grow_mdgcu_15", t = {
|
|
6
6
|
root: w,
|
|
7
7
|
grow: R,
|
|
8
8
|
"no-round-border-top-left": "_no-round-border-top-left_mdgcu_19",
|
|
@@ -3,7 +3,7 @@ import c from "react";
|
|
|
3
3
|
import { useContextualStyle as W } from "../../Style/Style.js";
|
|
4
4
|
import { ui as a } from "../../ui.js";
|
|
5
5
|
import { clsx as H } from "../../../utils/clsx.js";
|
|
6
|
-
|
|
6
|
+
const z = "_root_1rhjm_1", D = "_grow_1rhjm_16", t = {
|
|
7
7
|
root: z,
|
|
8
8
|
"full-width": "_full-width_1rhjm_1",
|
|
9
9
|
"fit-content-width": "_fit-content-width_1rhjm_4",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s } from "react/jsx-runtime";
|
|
2
2
|
import i from "react";
|
|
3
3
|
import { clsx as _ } from "../../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const f = "_root_gr1d9_1", m = "_vertical_gr1d9_4", d = "_horizontal_gr1d9_8", o = {
|
|
5
5
|
root: f,
|
|
6
6
|
vertical: m,
|
|
7
7
|
horizontal: d
|
|
@@ -3,7 +3,7 @@ import f from "react";
|
|
|
3
3
|
import { Box as u } from "../Box/Box.js";
|
|
4
4
|
import { clsx as b } from "../../../utils/clsx.js";
|
|
5
5
|
import { FlexRestricter as v } from "./FlexRestricter.js";
|
|
6
|
-
|
|
6
|
+
const z = "_root_w5him_1", R = "_centered_w5him_11", F = "_vertical_w5him_30", C = "_repell_w5him_36", N = "_wrap_w5him_39", B = "_stretch_w5him_51", E = "_horizontal_w5him_57", e = {
|
|
7
7
|
root: z,
|
|
8
8
|
"full-width": "_full-width_w5him_5",
|
|
9
9
|
"full-height": "_full-height_w5him_8",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as i } from "react/jsx-runtime";
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { clsx as s } from "../../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const n = "_root_1jvko_1", _ = "_vertical_1jvko_4", v = "_horizontal_1jvko_7", o = {
|
|
5
5
|
root: n,
|
|
6
6
|
vertical: _,
|
|
7
7
|
horizontal: v
|