@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
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { jsx as t, jsxs as C } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { Text as
|
|
6
|
-
import { clsx as
|
|
7
|
-
|
|
8
|
-
tableIcon:
|
|
9
|
-
iconButton:
|
|
10
|
-
root:
|
|
11
|
-
radio:
|
|
12
|
-
radioContent:
|
|
13
|
-
pointer:
|
|
14
|
-
selectedRow:
|
|
15
|
-
headerText:
|
|
16
|
-
headerContent:
|
|
17
|
-
hidden:
|
|
2
|
+
import s, { useState as k } from "react";
|
|
3
|
+
import y from "../Checkbox/Checkbox.js";
|
|
4
|
+
import I from "../IconButton/IconButton.js";
|
|
5
|
+
import { Text as $ } from "../Text/Text.js";
|
|
6
|
+
import { clsx as f } from "../../utils/clsx.js";
|
|
7
|
+
const S = "_tableIcon_jm0lw_1", z = "_iconButton_jm0lw_1", A = "_root_jm0lw_21", E = "_radio_jm0lw_38", O = "_radioContent_jm0lw_42", g = "_pointer_jm0lw_49", F = "_selectedRow_jm0lw_52", H = "_headerText_jm0lw_56", V = "_headerContent_jm0lw_65", q = "_hidden_jm0lw_84", o = {
|
|
8
|
+
tableIcon: S,
|
|
9
|
+
iconButton: z,
|
|
10
|
+
root: A,
|
|
11
|
+
radio: E,
|
|
12
|
+
radioContent: O,
|
|
13
|
+
pointer: g,
|
|
14
|
+
selectedRow: F,
|
|
15
|
+
headerText: H,
|
|
16
|
+
headerContent: V,
|
|
17
|
+
hidden: q
|
|
18
18
|
};
|
|
19
|
-
function
|
|
19
|
+
function D(r) {
|
|
20
20
|
const {
|
|
21
21
|
className: e,
|
|
22
22
|
color: n = "inherit"
|
|
23
|
-
} = r, i =
|
|
24
|
-
return /* @__PURE__ */ t(
|
|
23
|
+
} = r, i = f(o.tableIcon, o.iconButton, e);
|
|
24
|
+
return /* @__PURE__ */ t(I, { ...r, className: i, color: n });
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function G(r) {
|
|
27
27
|
const {
|
|
28
28
|
item: e,
|
|
29
29
|
onSortClick: n
|
|
30
|
-
} = r, i =
|
|
30
|
+
} = r, i = s.useCallback(() => {
|
|
31
31
|
n && n(e.sortKey || e.text);
|
|
32
|
-
}, [e.sortKey, e.text, n]),
|
|
32
|
+
}, [e.sortKey, e.text, n]), a = f(o.headerContent, {
|
|
33
33
|
[o.sortable]: e.sortable,
|
|
34
34
|
[o.empty]: !e.text
|
|
35
35
|
});
|
|
@@ -38,9 +38,9 @@ function D(r) {
|
|
|
38
38
|
{
|
|
39
39
|
className: e.sortable ? o.pointer : void 0,
|
|
40
40
|
onClick: e.sortable ? i : void 0,
|
|
41
|
-
children: /* @__PURE__ */ C("div", { className:
|
|
41
|
+
children: /* @__PURE__ */ C("div", { className: a, children: [
|
|
42
42
|
/* @__PURE__ */ t(
|
|
43
|
-
|
|
43
|
+
$,
|
|
44
44
|
{
|
|
45
45
|
className: o.headerText,
|
|
46
46
|
color: "secondary",
|
|
@@ -52,7 +52,7 @@ function D(r) {
|
|
|
52
52
|
}
|
|
53
53
|
),
|
|
54
54
|
!!e.sortable && /* @__PURE__ */ t(
|
|
55
|
-
|
|
55
|
+
D,
|
|
56
56
|
{
|
|
57
57
|
name: "Sort",
|
|
58
58
|
onClick: i
|
|
@@ -62,106 +62,107 @@ function D(r) {
|
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function J(r) {
|
|
66
66
|
const {
|
|
67
67
|
index: e,
|
|
68
68
|
includeRadio: n = !1,
|
|
69
69
|
loading: i,
|
|
70
|
-
selectedRow:
|
|
71
|
-
item:
|
|
70
|
+
selectedRow: a,
|
|
71
|
+
item: p,
|
|
72
72
|
dataContainer: _,
|
|
73
73
|
onSelectChange: d
|
|
74
|
-
} = r, u =
|
|
74
|
+
} = r, u = s.useCallback((c) => {
|
|
75
75
|
d(
|
|
76
|
-
|
|
76
|
+
c ? e : null
|
|
77
77
|
);
|
|
78
|
-
}, [d, e]), b =
|
|
78
|
+
}, [d, e]), b = s.useCallback(() => {
|
|
79
79
|
d(e);
|
|
80
|
-
}, [d, e]),
|
|
81
|
-
[o.selectedRow]:
|
|
80
|
+
}, [d, e]), x = f({
|
|
81
|
+
[o.selectedRow]: a === e,
|
|
82
82
|
[o.pointer]: n
|
|
83
83
|
});
|
|
84
84
|
return /* @__PURE__ */ C(
|
|
85
85
|
"tr",
|
|
86
86
|
{
|
|
87
|
-
className:
|
|
87
|
+
className: x,
|
|
88
88
|
onClick: n ? b : void 0,
|
|
89
89
|
children: [
|
|
90
|
-
n && /* @__PURE__ */ t("td", { className:
|
|
91
|
-
|
|
90
|
+
n && /* @__PURE__ */ t("td", { className: f(o.radio, { [o.hidden]: i }), children: /* @__PURE__ */ t("div", { className: o.radioContent, children: /* @__PURE__ */ t(
|
|
91
|
+
y,
|
|
92
92
|
{
|
|
93
93
|
size: "small",
|
|
94
94
|
onCheckedChange: u,
|
|
95
95
|
"aria-label": `${e}`,
|
|
96
|
-
checked:
|
|
96
|
+
checked: a === e
|
|
97
97
|
}
|
|
98
98
|
) }) }),
|
|
99
|
-
|
|
99
|
+
p.map((c, w) => {
|
|
100
100
|
let h;
|
|
101
|
-
return
|
|
101
|
+
return s.isValidElement(c) ? h = c : _ ? h = s.createElement(_, { item: c }) : h = String(c), /* @__PURE__ */ t("td", { children: h }, `item-${w}`);
|
|
102
102
|
})
|
|
103
103
|
]
|
|
104
104
|
},
|
|
105
105
|
`row-${e}`
|
|
106
106
|
);
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function W({
|
|
109
109
|
headers: r = [],
|
|
110
110
|
data: e = [],
|
|
111
111
|
includeRadio: n = !1,
|
|
112
112
|
loading: i = !1,
|
|
113
|
-
onSelectChange:
|
|
114
|
-
dataContainer:
|
|
113
|
+
onSelectChange: a,
|
|
114
|
+
dataContainer: p,
|
|
115
115
|
selectedRow: _ = null,
|
|
116
116
|
sortBy: d,
|
|
117
117
|
sortOrder: u = "asc",
|
|
118
|
-
onSortChange: b
|
|
118
|
+
onSortChange: b,
|
|
119
|
+
className: x
|
|
119
120
|
}) {
|
|
120
|
-
const [
|
|
121
|
-
const
|
|
122
|
-
|
|
123
|
-
}, [b,
|
|
124
|
-
(
|
|
125
|
-
const m =
|
|
126
|
-
|
|
121
|
+
const [c, w] = k(_), [h, j] = k(d), [N, R] = k(u), B = s.useCallback((l) => {
|
|
122
|
+
const T = h === l && N === "asc" ? "desc" : "asc";
|
|
123
|
+
j(l), R(T), b == null || b(l, T);
|
|
124
|
+
}, [b, h, N]), v = s.useCallback(
|
|
125
|
+
(l) => {
|
|
126
|
+
const m = l === c ? null : l;
|
|
127
|
+
w(m), a == null || a(m);
|
|
127
128
|
},
|
|
128
|
-
[
|
|
129
|
+
[a, c]
|
|
129
130
|
);
|
|
130
|
-
return
|
|
131
|
-
|
|
132
|
-
}, [_]),
|
|
133
|
-
|
|
134
|
-
}, [d]),
|
|
135
|
-
|
|
136
|
-
}, [u]), /* @__PURE__ */ t("div", { className: o.root, children: /* @__PURE__ */ C("table", { children: [
|
|
131
|
+
return s.useEffect(() => {
|
|
132
|
+
w(_);
|
|
133
|
+
}, [_]), s.useEffect(() => {
|
|
134
|
+
j(d);
|
|
135
|
+
}, [d]), s.useEffect(() => {
|
|
136
|
+
R(u);
|
|
137
|
+
}, [u]), /* @__PURE__ */ t("div", { className: f(o.root, x), children: /* @__PURE__ */ C("table", { children: [
|
|
137
138
|
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */ C("tr", { children: [
|
|
138
139
|
n && /* @__PURE__ */ t("th", { "aria-label": "Select Row" }),
|
|
139
|
-
r.map((
|
|
140
|
-
|
|
140
|
+
r.map((l, m) => /* @__PURE__ */ t(
|
|
141
|
+
G,
|
|
141
142
|
{
|
|
142
|
-
item:
|
|
143
|
-
onSortClick:
|
|
143
|
+
item: l,
|
|
144
|
+
onSortClick: B
|
|
144
145
|
},
|
|
145
146
|
`header-${m}`
|
|
146
147
|
))
|
|
147
148
|
] }) }),
|
|
148
|
-
/* @__PURE__ */ t("tbody", { children: e.map((
|
|
149
|
-
|
|
149
|
+
/* @__PURE__ */ t("tbody", { children: e.map((l, m) => /* @__PURE__ */ t(
|
|
150
|
+
J,
|
|
150
151
|
{
|
|
151
152
|
index: m,
|
|
152
|
-
item:
|
|
153
|
+
item: l,
|
|
153
154
|
includeRadio: n,
|
|
154
155
|
loading: i,
|
|
155
|
-
selectedRow:
|
|
156
|
-
onSelectChange:
|
|
157
|
-
dataContainer:
|
|
156
|
+
selectedRow: c,
|
|
157
|
+
onSelectChange: v,
|
|
158
|
+
dataContainer: p
|
|
158
159
|
},
|
|
159
160
|
`row-${m}`
|
|
160
161
|
)) })
|
|
161
162
|
] }) });
|
|
162
163
|
}
|
|
163
164
|
export {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
W as Table,
|
|
166
|
+
G as TableHeaderItem,
|
|
167
|
+
D as TableIconButton
|
|
167
168
|
};
|
|
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as x } from "react/jsx-runtime";
|
|
|
2
2
|
import h, { createElement as k } from "react";
|
|
3
3
|
import { Dot as v } from "../Dot/Dot.js";
|
|
4
4
|
import { clsx as b } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const C = "_reset_1xcn9_1", p = "_root_1xcn9_5", I = "_item_1xcn9_17", R = "_active_1xcn9_38", g = "_hasNotification_1xcn9_65", T = "_content_1xcn9_68", a = {
|
|
6
6
|
reset: C,
|
|
7
7
|
root: p,
|
|
8
8
|
"theme-dark": "_theme-dark_1xcn9_11",
|
|
@@ -3,7 +3,7 @@ import l from "react";
|
|
|
3
3
|
import { ui as C } from "../ui.js";
|
|
4
4
|
import { clsx as w } from "../../utils/clsx.js";
|
|
5
5
|
import { getColor as A } from "../../utils/color.js";
|
|
6
|
-
|
|
6
|
+
const O = "_root_14isi_1", R = "_centered_14isi_4", S = "_underlined_14isi_7", $ = "_truncated_14isi_10", E = "_typographic_14isi_18", N = "_block_14isi_28", o = {
|
|
7
7
|
root: O,
|
|
8
8
|
centered: R,
|
|
9
9
|
underlined: S,
|
|
@@ -40,9 +40,9 @@ import '../../assets/Text.css';const O = "_root_e9tvt_1", R = "_centered_e9tvt_1
|
|
|
40
40
|
userSelectable: u = !1,
|
|
41
41
|
underlined: y = !1,
|
|
42
42
|
children: g,
|
|
43
|
-
className:
|
|
44
|
-
} = t,
|
|
45
|
-
[o.block]:
|
|
43
|
+
className: x
|
|
44
|
+
} = t, T = n === "div", v = w(o.root, x, {
|
|
45
|
+
[o.block]: T,
|
|
46
46
|
[o.centered]: d,
|
|
47
47
|
[o.truncated]: m,
|
|
48
48
|
[o.underlined]: y,
|
|
@@ -60,7 +60,7 @@ import '../../assets/Text.css';const O = "_root_e9tvt_1", R = "_centered_e9tvt_1
|
|
|
60
60
|
letterSpacing: `var(--letter-spacing-${p})`,
|
|
61
61
|
fontWeight: `var(--font-weight-${f})`
|
|
62
62
|
};
|
|
63
|
-
return h && (i.textTransform = "uppercase"), /* @__PURE__ */ s(n, { ref: e, dir: "auto", className:
|
|
63
|
+
return h && (i.textTransform = "uppercase"), /* @__PURE__ */ s(n, { ref: e, dir: "auto", className: v, style: i, children: g });
|
|
64
64
|
}), G = l.forwardRef(function(t, e) {
|
|
65
65
|
return /* @__PURE__ */ s(F, { ref: e, ...t, as: "div" });
|
|
66
66
|
});
|
|
@@ -2,7 +2,7 @@ import { jsx as o, jsxs as t, Fragment as e } from "react/jsx-runtime";
|
|
|
2
2
|
import a from "react";
|
|
3
3
|
import { Text as c } from "./Text.js";
|
|
4
4
|
import { Separator as d } from "../Separator/Separator.js";
|
|
5
|
-
|
|
5
|
+
const h = "_root_18nng_1", f = {
|
|
6
6
|
root: h
|
|
7
7
|
}, T = "The quick brown fox jumps over the lazy dog.", m = "How vexingly quick daft zebras jump.";
|
|
8
8
|
function u() {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as t, jsxs as p } from "react/jsx-runtime";
|
|
2
2
|
import _ from "react";
|
|
3
3
|
import { clsx as g } from "../../utils/clsx.js";
|
|
4
|
-
|
|
4
|
+
const x = "_root_fya03_1", k = "_small_fya03_7", v = "_large_fya03_11", C = "_error_fya03_15", N = "_disabled_fya03_19", e = {
|
|
5
5
|
root: x,
|
|
6
6
|
"full-width": "_full-width_fya03_4",
|
|
7
7
|
small: k,
|
|
@@ -5,7 +5,7 @@ import "../../utils/hooks/useGlobalKeyboardEvent.js";
|
|
|
5
5
|
import "../../utils/hooks/useKeyboardClose.js";
|
|
6
6
|
import { useOutlet as M } from "../../utils/hooks/useOutlet.js";
|
|
7
7
|
import { mergeRefs as C } from "../../utils/mergeRefs.js";
|
|
8
|
-
|
|
8
|
+
const N = "_wrapper_11ky5_1", $ = "_appearance_11ky5_1", A = "_animated_11ky5_26", F = "_root_11ky5_71", I = "_shortcut_11ky5_84", _ = {
|
|
9
9
|
wrapper: N,
|
|
10
10
|
appearance: $,
|
|
11
11
|
animated: A,
|
|
@@ -2,7 +2,7 @@ import { jsxs as d, jsx as p } from "react/jsx-runtime";
|
|
|
2
2
|
import l from "react";
|
|
3
3
|
import { Interactive as D } from "../Interactive/Interactive.js";
|
|
4
4
|
import { clsx as _ } from "../../utils/clsx.js";
|
|
5
|
-
|
|
5
|
+
const j = "_root_1500i_1", k = "_disabled_1500i_6", E = "_descripted_1500i_10", L = "_multiline_1500i_13", O = "_options_1500i_17", S = "_option_1500i_17", w = "_description_1500i_24", G = "_active_1500i_69", e = {
|
|
6
6
|
root: j,
|
|
7
7
|
disabled: k,
|
|
8
8
|
descripted: E,
|
package/dist/main.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export { ClipboardButton } from './components/ClipboardButton';
|
|
|
19
19
|
export { Checkbox } from './components/Checkbox';
|
|
20
20
|
export { Button } from './components/Button/Button';
|
|
21
21
|
export { LinkButton } from './components/Button/LinkButton';
|
|
22
|
+
export { Link, ButtonLink, getLinkClassName, } from './components/Link';
|
|
22
23
|
export { ButtonBar } from './components/Button/ButtonBar';
|
|
23
24
|
export { Avatar } from './components/Avatar';
|
|
24
25
|
export { BackdropPortal, BACKDROP_OUTLET_ID } from './components/BackdropPortal/BackdropPortal';
|
|
@@ -66,6 +67,8 @@ export { Textarea } from './components/Textarea/Textarea';
|
|
|
66
67
|
export { Title, TITLE_OUTLET_ID } from './components/Title/Title';
|
|
67
68
|
export { InputDropzone } from './components/InputDropzone';
|
|
68
69
|
export { Skeleton } from './components/Skeleton';
|
|
70
|
+
export type { FlexProps } from './components/Layout/Flex/Flex';
|
|
71
|
+
export type { LinkProps, LinkBaseProps } from './components/Link';
|
|
69
72
|
export type { ButtonProps, ButtonTheme } from './components/Button/Button';
|
|
70
73
|
export type { TitleProps, FixedOn } from './components/Title/Title';
|
|
71
74
|
export type { IconButtonProps } from './components/IconButton';
|