@cfx-dev/ui-components 2.1.12 → 2.1.13
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/assets/Badge.css +1 -1
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/InputDropzone.css +1 -1
- package/dist/assets/ItemPreview.css +1 -1
- package/dist/assets/RichInput.css +1 -1
- package/dist/assets/Select.css +1 -1
- package/dist/assets/Table.css +1 -1
- package/dist/assets/Tabular.css +1 -1
- package/dist/assets/global.css +1 -1
- package/dist/components/Badge/Badge.d.ts +2 -0
- package/dist/components/Badge/Badge.js +23 -21
- package/dist/components/Badge/BadgeShowcase.js +44 -22
- package/dist/components/IconButton/IconButton.d.ts +2 -0
- package/dist/components/IconButton/IconButton.js +27 -24
- package/dist/components/Input/Input.d.ts +2 -0
- package/dist/components/Input/Input.js +94 -72
- package/dist/components/Input/InputShowcase.js +24 -10
- package/dist/components/Input/RichInput.js +28 -28
- package/dist/components/InputDropzone/InputDropzone.d.ts +9 -1
- package/dist/components/InputDropzone/InputDropzone.js +316 -300
- package/dist/components/InputDropzone/InputDropzoneShowcase.js +28 -18
- package/dist/components/InputDropzone/ItemPreview.d.ts +2 -1
- package/dist/components/InputDropzone/ItemPreview.js +20 -18
- package/dist/components/Modal/ModalShowcase.js +18 -14
- package/dist/components/Select/Select.js +53 -53
- package/dist/components/Table/Table.d.ts +2 -0
- package/dist/components/Table/Table.js +87 -82
- package/dist/components/Tabular/Tabular.js +46 -46
- package/dist/main.d.ts +1 -1
- package/dist/main.js +43 -42
- package/dist/styles-scss/tokens.scss +5 -0
- package/package.json +1 -1
|
@@ -1,85 +1,89 @@
|
|
|
1
|
-
import { jsx as t, jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as t, jsxs as C } from "react/jsx-runtime";
|
|
2
|
+
import s, { useState as p } from "react";
|
|
3
3
|
import B from "../Checkbox/Checkbox.js";
|
|
4
|
-
import
|
|
5
|
-
import { Text as
|
|
6
|
-
import { clsx as
|
|
7
|
-
import '../../assets/Table.css';const j = "
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
sortButton: H
|
|
4
|
+
import T from "../IconButton/IconButton.js";
|
|
5
|
+
import { Text as $ } from "../Text/Text.js";
|
|
6
|
+
import { clsx as k } from "../../utils/clsx.js";
|
|
7
|
+
import '../../assets/Table.css';const j = "_iconButton_1yv0x_1", z = "_root_1yv0x_21", A = "_radio_1yv0x_34", E = "_radioContent_1yv0x_37", O = "_pointer_1yv0x_44", S = "_selectedRow_1yv0x_47", F = "_headerContent_1yv0x_57", l = {
|
|
8
|
+
iconButton: j,
|
|
9
|
+
root: z,
|
|
10
|
+
radio: A,
|
|
11
|
+
radioContent: E,
|
|
12
|
+
pointer: O,
|
|
13
|
+
selectedRow: S,
|
|
14
|
+
headerContent: F
|
|
16
15
|
};
|
|
17
|
-
function
|
|
16
|
+
function H(r) {
|
|
17
|
+
const {
|
|
18
|
+
className: e,
|
|
19
|
+
color: o = "inherit"
|
|
20
|
+
} = r, n = k(l.iconButton, e);
|
|
21
|
+
return /* @__PURE__ */ t(T, { ...r, className: n, color: o });
|
|
22
|
+
}
|
|
23
|
+
function I(r) {
|
|
18
24
|
const {
|
|
19
25
|
item: e,
|
|
20
26
|
onSortClick: o
|
|
21
|
-
} =
|
|
27
|
+
} = r, n = s.useCallback(() => {
|
|
22
28
|
o && o(e.sortKey || e.text);
|
|
23
|
-
}, [e.sortKey, e.text, o]),
|
|
24
|
-
[
|
|
25
|
-
[
|
|
29
|
+
}, [e.sortKey, e.text, o]), _ = k(l.headerContent, {
|
|
30
|
+
[l.sortable]: e.sortable,
|
|
31
|
+
[l.empty]: !e.text
|
|
26
32
|
});
|
|
27
33
|
return /* @__PURE__ */ t(
|
|
28
34
|
"th",
|
|
29
35
|
{
|
|
30
|
-
className: e.sortable ?
|
|
31
|
-
onClick: e.sortable ?
|
|
32
|
-
children: /* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */ t(
|
|
36
|
+
className: e.sortable ? l.pointer : void 0,
|
|
37
|
+
onClick: e.sortable ? n : void 0,
|
|
38
|
+
children: /* @__PURE__ */ C("div", { className: _, children: [
|
|
39
|
+
/* @__PURE__ */ t($, { color: "secondary", weight: "bold", uppercase: !0, size: "xxsmall", children: e.text }),
|
|
34
40
|
!!e.sortable && /* @__PURE__ */ t(
|
|
35
|
-
|
|
41
|
+
H,
|
|
36
42
|
{
|
|
37
|
-
className: r.sortButton,
|
|
38
|
-
color: "secondary",
|
|
39
43
|
name: "Sort",
|
|
40
|
-
onClick:
|
|
44
|
+
onClick: n
|
|
41
45
|
}
|
|
42
46
|
)
|
|
43
47
|
] })
|
|
44
48
|
}
|
|
45
49
|
);
|
|
46
50
|
}
|
|
47
|
-
function
|
|
51
|
+
function V(r) {
|
|
48
52
|
const {
|
|
49
53
|
index: e,
|
|
50
54
|
includeRadio: o = !1,
|
|
51
|
-
selectedRow:
|
|
52
|
-
item:
|
|
53
|
-
dataContainer:
|
|
54
|
-
onSelectChange:
|
|
55
|
-
} =
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
selectedRow: n,
|
|
56
|
+
item: _,
|
|
57
|
+
dataContainer: h,
|
|
58
|
+
onSelectChange: i
|
|
59
|
+
} = r, f = s.useCallback((a) => {
|
|
60
|
+
i(
|
|
61
|
+
a ? e : null
|
|
58
62
|
);
|
|
59
|
-
}, [
|
|
60
|
-
|
|
61
|
-
}, [
|
|
62
|
-
[
|
|
63
|
-
[
|
|
63
|
+
}, [i, e]), u = s.useCallback(() => {
|
|
64
|
+
i(e);
|
|
65
|
+
}, [i, e]), b = k({
|
|
66
|
+
[l.selectedRow]: n === e,
|
|
67
|
+
[l.pointer]: o
|
|
64
68
|
});
|
|
65
|
-
return /* @__PURE__ */
|
|
69
|
+
return /* @__PURE__ */ C(
|
|
66
70
|
"tr",
|
|
67
71
|
{
|
|
68
|
-
className:
|
|
69
|
-
onClick: o ?
|
|
72
|
+
className: b,
|
|
73
|
+
onClick: o ? u : void 0,
|
|
70
74
|
children: [
|
|
71
|
-
o && /* @__PURE__ */ t("td", { className:
|
|
75
|
+
o && /* @__PURE__ */ t("td", { className: l.radio, children: /* @__PURE__ */ t("div", { className: l.radioContent, children: /* @__PURE__ */ t(
|
|
72
76
|
B,
|
|
73
77
|
{
|
|
74
78
|
size: "small",
|
|
75
79
|
onCheckedChange: f,
|
|
76
80
|
"aria-label": `${e}`,
|
|
77
|
-
checked:
|
|
81
|
+
checked: n === e
|
|
78
82
|
}
|
|
79
|
-
) }),
|
|
80
|
-
|
|
81
|
-
let
|
|
82
|
-
return
|
|
83
|
+
) }) }),
|
|
84
|
+
_.map((a, x) => {
|
|
85
|
+
let m;
|
|
86
|
+
return s.isValidElement(a) ? m = a : h ? m = s.createElement(h, { item: a }) : m = String(a), /* @__PURE__ */ t("td", { children: m }, `item-${x}`);
|
|
83
87
|
})
|
|
84
88
|
]
|
|
85
89
|
},
|
|
@@ -87,59 +91,60 @@ function q(h) {
|
|
|
87
91
|
);
|
|
88
92
|
}
|
|
89
93
|
function M({
|
|
90
|
-
headers:
|
|
94
|
+
headers: r = [],
|
|
91
95
|
data: e = [],
|
|
92
96
|
includeRadio: o = !1,
|
|
93
|
-
onSelectChange:
|
|
94
|
-
dataContainer:
|
|
95
|
-
selectedRow:
|
|
96
|
-
sortBy:
|
|
97
|
+
onSelectChange: n,
|
|
98
|
+
dataContainer: _,
|
|
99
|
+
selectedRow: h = null,
|
|
100
|
+
sortBy: i,
|
|
97
101
|
sortOrder: f = "asc",
|
|
98
|
-
onSortChange:
|
|
102
|
+
onSortChange: u
|
|
99
103
|
}) {
|
|
100
|
-
const [
|
|
101
|
-
const
|
|
102
|
-
|
|
103
|
-
}, [
|
|
104
|
+
const [b, a] = p(h), [x, m] = p(i), [v, w] = p(f), N = s.useCallback((c) => {
|
|
105
|
+
const y = x === c && v === "asc" ? "desc" : "asc";
|
|
106
|
+
m(c), w(y), u == null || u(c, y);
|
|
107
|
+
}, [u, x, v]), R = s.useCallback(
|
|
104
108
|
(c) => {
|
|
105
|
-
const
|
|
106
|
-
|
|
109
|
+
const d = c === b ? null : c;
|
|
110
|
+
a(d), n == null || n(d);
|
|
107
111
|
},
|
|
108
|
-
[
|
|
112
|
+
[n, b]
|
|
109
113
|
);
|
|
110
|
-
return
|
|
111
|
-
|
|
112
|
-
}, [
|
|
113
|
-
|
|
114
|
-
}, [
|
|
115
|
-
|
|
116
|
-
}, [f]), /* @__PURE__ */ t("div", { className:
|
|
117
|
-
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */
|
|
114
|
+
return s.useEffect(() => {
|
|
115
|
+
a(h);
|
|
116
|
+
}, [h]), s.useEffect(() => {
|
|
117
|
+
m(i);
|
|
118
|
+
}, [i]), s.useEffect(() => {
|
|
119
|
+
w(f);
|
|
120
|
+
}, [f]), /* @__PURE__ */ t("div", { className: l.root, children: /* @__PURE__ */ C("table", { children: [
|
|
121
|
+
/* @__PURE__ */ t("thead", { children: /* @__PURE__ */ C("tr", { children: [
|
|
118
122
|
o && /* @__PURE__ */ t("th", { "aria-label": "Select Row" }),
|
|
119
|
-
|
|
120
|
-
|
|
123
|
+
r.map((c, d) => /* @__PURE__ */ t(
|
|
124
|
+
I,
|
|
121
125
|
{
|
|
122
126
|
item: c,
|
|
123
|
-
onSortClick:
|
|
127
|
+
onSortClick: N
|
|
124
128
|
},
|
|
125
|
-
`header-${
|
|
129
|
+
`header-${d}`
|
|
126
130
|
))
|
|
127
131
|
] }) }),
|
|
128
|
-
/* @__PURE__ */ t("tbody", { children: e.map((c,
|
|
129
|
-
|
|
132
|
+
/* @__PURE__ */ t("tbody", { children: e.map((c, d) => /* @__PURE__ */ t(
|
|
133
|
+
V,
|
|
130
134
|
{
|
|
131
|
-
index:
|
|
135
|
+
index: d,
|
|
132
136
|
item: c,
|
|
133
137
|
includeRadio: o,
|
|
134
|
-
selectedRow:
|
|
135
|
-
onSelectChange:
|
|
136
|
-
dataContainer:
|
|
138
|
+
selectedRow: b,
|
|
139
|
+
onSelectChange: R,
|
|
140
|
+
dataContainer: _
|
|
137
141
|
},
|
|
138
|
-
`row-${
|
|
142
|
+
`row-${d}`
|
|
139
143
|
)) })
|
|
140
144
|
] }) });
|
|
141
145
|
}
|
|
142
146
|
export {
|
|
143
147
|
M as Table,
|
|
144
|
-
|
|
148
|
+
I as TableHeaderItem,
|
|
149
|
+
H as TableIconButton
|
|
145
150
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { jsx as r, jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsx as r, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import h, { createElement as k } from "react";
|
|
3
3
|
import { Dot as v } from "../Dot/Dot.js";
|
|
4
|
-
import { clsx as
|
|
5
|
-
import '../../assets/Tabular.css';const C = "
|
|
4
|
+
import { clsx as b } from "../../utils/clsx.js";
|
|
5
|
+
import '../../assets/Tabular.css';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
|
-
root:
|
|
8
|
-
"theme-dark": "_theme-
|
|
9
|
-
"theme-light": "_theme-
|
|
7
|
+
root: p,
|
|
8
|
+
"theme-dark": "_theme-dark_1xcn9_11",
|
|
9
|
+
"theme-light": "_theme-light_1xcn9_14",
|
|
10
10
|
item: I,
|
|
11
11
|
active: R,
|
|
12
12
|
hasNotification: g,
|
|
@@ -14,77 +14,77 @@ import '../../assets/Tabular.css';const C = "_reset_17apb_1", x = "_root_17apb_5
|
|
|
14
14
|
};
|
|
15
15
|
function m(_) {
|
|
16
16
|
const {
|
|
17
|
-
items:
|
|
17
|
+
items: i,
|
|
18
18
|
activeItem: o,
|
|
19
|
-
onActivate:
|
|
20
|
-
itemClassName:
|
|
21
|
-
...
|
|
22
|
-
} = _,
|
|
23
|
-
|
|
24
|
-
}, [
|
|
25
|
-
return /* @__PURE__ */ r(m.Root, { ...
|
|
19
|
+
onActivate: e,
|
|
20
|
+
itemClassName: c,
|
|
21
|
+
...n
|
|
22
|
+
} = _, s = h.useCallback((t) => {
|
|
23
|
+
e && e(t);
|
|
24
|
+
}, [e]);
|
|
25
|
+
return /* @__PURE__ */ r(m.Root, { ...n, children: i.map((t) => /* @__PURE__ */ k(
|
|
26
26
|
m.Item,
|
|
27
27
|
{
|
|
28
28
|
...t,
|
|
29
|
-
className:
|
|
29
|
+
className: c,
|
|
30
30
|
key: t.id,
|
|
31
31
|
active: t.id === o,
|
|
32
|
-
onClick:
|
|
32
|
+
onClick: s
|
|
33
33
|
}
|
|
34
34
|
)) });
|
|
35
35
|
}
|
|
36
|
-
m.Root = function(
|
|
36
|
+
m.Root = function(i) {
|
|
37
37
|
const {
|
|
38
38
|
children: o,
|
|
39
|
-
className:
|
|
40
|
-
ariaLabel:
|
|
41
|
-
tabIndex:
|
|
42
|
-
theme:
|
|
39
|
+
className: e,
|
|
40
|
+
ariaLabel: c,
|
|
41
|
+
tabIndex: n,
|
|
42
|
+
theme: s = "dark",
|
|
43
43
|
role: t = "tablist"
|
|
44
|
-
} =
|
|
44
|
+
} = i, l = b(a.root, a[`theme-${s}`], e);
|
|
45
45
|
return /* @__PURE__ */ r(
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
48
|
role: t,
|
|
49
|
-
"aria-label":
|
|
50
|
-
tabIndex:
|
|
49
|
+
"aria-label": c,
|
|
50
|
+
tabIndex: n,
|
|
51
51
|
className: l,
|
|
52
52
|
children: o
|
|
53
53
|
}
|
|
54
54
|
);
|
|
55
55
|
};
|
|
56
|
-
m.Item = function(
|
|
56
|
+
m.Item = function(i) {
|
|
57
57
|
const {
|
|
58
58
|
id: o,
|
|
59
|
-
label:
|
|
60
|
-
onClick:
|
|
61
|
-
ariaLabel:
|
|
62
|
-
ariaControls:
|
|
59
|
+
label: e,
|
|
60
|
+
onClick: c,
|
|
61
|
+
ariaLabel: n,
|
|
62
|
+
ariaControls: s,
|
|
63
63
|
className: t,
|
|
64
64
|
active: l = !1,
|
|
65
|
-
disabled:
|
|
66
|
-
hasNotification:
|
|
67
|
-
} =
|
|
68
|
-
|
|
69
|
-
}, [
|
|
70
|
-
[
|
|
71
|
-
[
|
|
65
|
+
disabled: d = !1,
|
|
66
|
+
hasNotification: f = !1
|
|
67
|
+
} = i, N = h.useCallback(() => {
|
|
68
|
+
d || c(o);
|
|
69
|
+
}, [d, c, o]), u = b(a.reset, a.item, t, {
|
|
70
|
+
[a.active]: l,
|
|
71
|
+
[a.hasNotification]: f
|
|
72
72
|
});
|
|
73
73
|
return /* @__PURE__ */ r(
|
|
74
74
|
"button",
|
|
75
75
|
{
|
|
76
|
-
disabled:
|
|
76
|
+
disabled: d,
|
|
77
77
|
type: "button",
|
|
78
78
|
role: "tab",
|
|
79
|
-
className:
|
|
80
|
-
onClick:
|
|
81
|
-
"aria-label":
|
|
82
|
-
"aria-controls":
|
|
83
|
-
"data-text":
|
|
79
|
+
className: u,
|
|
80
|
+
onClick: N,
|
|
81
|
+
"aria-label": n,
|
|
82
|
+
"aria-controls": s,
|
|
83
|
+
"data-text": e,
|
|
84
84
|
"aria-selected": l,
|
|
85
|
-
children: /* @__PURE__ */
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
children: /* @__PURE__ */ x("span", { className: a.content, children: [
|
|
86
|
+
e,
|
|
87
|
+
f && /* @__PURE__ */ r(v, { color: "green", className: a.notification })
|
|
88
88
|
] })
|
|
89
89
|
}
|
|
90
90
|
);
|
package/dist/main.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ export { Style, useContextualStyle } from './components/Style/Style';
|
|
|
60
60
|
export { Switch } from './components/Switch';
|
|
61
61
|
export { ToggleGroup } from './components/ToggleGroup/ToggleGroup';
|
|
62
62
|
export { Tabular } from './components/Tabular';
|
|
63
|
-
export { Table } from './components/Table/Table';
|
|
63
|
+
export { Table, TableIconButton, } from './components/Table/Table';
|
|
64
64
|
export { Text, TextBlock, getTextOpacity, } from './components/Text';
|
|
65
65
|
export { Textarea } from './components/Textarea/Textarea';
|
|
66
66
|
export { Title, TITLE_OUTLET_ID } from './components/Title/Title';
|
package/dist/main.js
CHANGED
|
@@ -3,13 +3,13 @@ import { clsx as f } from "./utils/clsx.js";
|
|
|
3
3
|
import { getValue as m } from "./utils/getValue.js";
|
|
4
4
|
import { usePopoverController as l } from "./utils/hooks/usePopoverController.js";
|
|
5
5
|
import { useInstance as i } from "./utils/hooks/useInstance.js";
|
|
6
|
-
import { useDynamicRef as
|
|
6
|
+
import { useDynamicRef as s } from "./utils/hooks/useDynamicRef.js";
|
|
7
7
|
import { useGlobalKeyboardEvent as d } from "./utils/hooks/useGlobalKeyboardEvent.js";
|
|
8
8
|
import { useKeyboardClose as T } from "./utils/hooks/useKeyboardClose.js";
|
|
9
|
-
import { useWindowResize as
|
|
9
|
+
import { useWindowResize as B } from "./utils/hooks/useWindowResize.js";
|
|
10
10
|
import { useOutlet as y } from "./utils/hooks/useOutlet.js";
|
|
11
|
-
import { identity as S, invoke as C, noop as A, returnFalse as
|
|
12
|
-
import { Linkify as
|
|
11
|
+
import { identity as S, invoke as C, noop as A, returnFalse as b, returnTrue as k } from "./utils/functional.js";
|
|
12
|
+
import { Linkify as P, defaultLinkReplacer as E, defaultLinkReplacerx as D, isExternalUrl as _, linkify as h, linkifyx as v, matchLinkNodes as F, matchLinks as U } from "./utils/links.js";
|
|
13
13
|
import { clamp as K, clamp01 as N } from "./utils/math.js";
|
|
14
14
|
import { isFalseString as w, isTrueString as G, normalizeSlashes as Y, replaceRange as H, splitByIndices as M, unicodeCharAt as W } from "./utils/string.js";
|
|
15
15
|
import { debounce as q, throttle as J } from "./utils/execution.js";
|
|
@@ -18,14 +18,14 @@ import { default as $ } from "./components/IconButton/IconButton.js";
|
|
|
18
18
|
import { Accordion as ro, AccordionContent as eo, AccordionHeader as to, AccordionItem as po, AccordionTrigger as fo } from "./components/Accordion/Accordion.js";
|
|
19
19
|
import { CLIPBOARD_TITLE_APPEARANCE as mo, default as ao } from "./components/ClipboardButton/ClipboardButton.js";
|
|
20
20
|
import { default as no } from "./components/Checkbox/Checkbox.js";
|
|
21
|
-
import { Button as
|
|
21
|
+
import { Button as co } from "./components/Button/Button.js";
|
|
22
22
|
import { LinkButton as uo } from "./components/Button/LinkButton.js";
|
|
23
23
|
import { ButtonBar as To } from "./components/Button/ButtonBar.js";
|
|
24
|
-
import { Avatar as
|
|
24
|
+
import { Avatar as Bo } from "./components/Avatar/Avatar.js";
|
|
25
25
|
import { BACKDROP_OUTLET_ID as yo, BackdropPortal as Ro } from "./components/BackdropPortal/BackdropPortal.js";
|
|
26
26
|
import { Badge as Co } from "./components/Badge/Badge.js";
|
|
27
|
-
import { ControlBox as
|
|
28
|
-
import { CountryFlag as
|
|
27
|
+
import { ControlBox as bo } from "./components/ControlBox/ControlBox.js";
|
|
28
|
+
import { CountryFlag as Oo } from "./components/CountryFlag/CountryFlag.js";
|
|
29
29
|
import { Decorate as Eo } from "./components/Decorate/Decorate.js";
|
|
30
30
|
import { Dot as _o } from "./components/Dot/Dot.js";
|
|
31
31
|
import { FLYOUT_OUTLET_ID as vo, Flyout as Fo } from "./components/Flyout/Flyout.js";
|
|
@@ -44,15 +44,15 @@ import { Box as fr } from "./components/Layout/Box/Box.js";
|
|
|
44
44
|
import { Center as mr } from "./components/Layout/Center/Center.js";
|
|
45
45
|
import { Flex as lr } from "./components/Layout/Flex/Flex.js";
|
|
46
46
|
import { FlexRestricter as ir } from "./components/Layout/Flex/FlexRestricter.js";
|
|
47
|
-
import { Pad as
|
|
47
|
+
import { Pad as sr } from "./components/Layout/Pad/Pad.js";
|
|
48
48
|
import { Page as dr } from "./components/Layout/Page/Page.js";
|
|
49
49
|
import { R as Tr } from "./Rail-nVRissv6.js";
|
|
50
|
-
import { Scrollable as
|
|
50
|
+
import { Scrollable as Br } from "./components/Layout/Scrollable/Scrollable.js";
|
|
51
51
|
import { VirtualScrollable as yr } from "./components/Layout/Scrollable/VirtualScrollable.js";
|
|
52
52
|
import { Loaf as Sr } from "./components/Loaf/Loaf.js";
|
|
53
53
|
import { Modal as Ar } from "./components/Modal/Modal.js";
|
|
54
|
-
import { NavList as
|
|
55
|
-
import { OVERLAY_OUTLET_ID as
|
|
54
|
+
import { NavList as kr } from "./components/NavList/NavList.js";
|
|
55
|
+
import { OVERLAY_OUTLET_ID as Pr, Overlay as Er } from "./components/Overlay/Overlay.js";
|
|
56
56
|
import { Popover as _r } from "./components/Popover/Popover.js";
|
|
57
57
|
import { PremiumBadge as vr } from "./components/PremiumBadge/PremiumBadge.js";
|
|
58
58
|
import { Prose as Ur } from "./components/Prose/Prose.js";
|
|
@@ -65,34 +65,34 @@ import { Style as qr, useContextualStyle as Jr } from "./components/Style/Style.
|
|
|
65
65
|
import { default as Xr } from "./components/Switch/Switch.js";
|
|
66
66
|
import { ToggleGroup as $r } from "./components/ToggleGroup/ToggleGroup.js";
|
|
67
67
|
import { Tabular as re } from "./components/Tabular/Tabular.js";
|
|
68
|
-
import { Table as te } from "./components/Table/Table.js";
|
|
69
|
-
import { Text as
|
|
70
|
-
import { Textarea as
|
|
71
|
-
import { TITLE_OUTLET_ID as
|
|
72
|
-
import { default as
|
|
68
|
+
import { Table as te, TableIconButton as pe } from "./components/Table/Table.js";
|
|
69
|
+
import { Text as xe, TextBlock as me, getTextOpacity as ae } from "./components/Text/Text.js";
|
|
70
|
+
import { Textarea as ne } from "./components/Textarea/Textarea.js";
|
|
71
|
+
import { TITLE_OUTLET_ID as ce, Title as se } from "./components/Title/Title.js";
|
|
72
|
+
import { default as de } from "./components/InputDropzone/InputDropzone.js";
|
|
73
73
|
import "./components/InputDropzone/ItemPreview.js";
|
|
74
|
-
import { OnScreenSensor as
|
|
75
|
-
import { ui as
|
|
76
|
-
import { Symbols as
|
|
74
|
+
import { OnScreenSensor as Te } from "./components/OnScreenSensor.js";
|
|
75
|
+
import { ui as Be } from "./components/ui.js";
|
|
76
|
+
import { Symbols as ye } from "./components/Symbols.js";
|
|
77
77
|
export {
|
|
78
78
|
ro as Accordion,
|
|
79
79
|
eo as AccordionContent,
|
|
80
80
|
to as AccordionHeader,
|
|
81
81
|
po as AccordionItem,
|
|
82
82
|
fo as AccordionTrigger,
|
|
83
|
-
|
|
83
|
+
Bo as Avatar,
|
|
84
84
|
yo as BACKDROP_OUTLET_ID,
|
|
85
85
|
Ro as BackdropPortal,
|
|
86
86
|
Co as Badge,
|
|
87
87
|
fr as Box,
|
|
88
|
-
|
|
88
|
+
co as Button,
|
|
89
89
|
To as ButtonBar,
|
|
90
90
|
mo as CLIPBOARD_TITLE_APPEARANCE,
|
|
91
91
|
mr as Center,
|
|
92
92
|
no as Checkbox,
|
|
93
93
|
ao as ClipboardButton,
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
bo as ControlBox,
|
|
95
|
+
Oo as CountryFlag,
|
|
96
96
|
Eo as Decorate,
|
|
97
97
|
_o as Dot,
|
|
98
98
|
vo as FLYOUT_OUTLET_ID,
|
|
@@ -107,19 +107,19 @@ export {
|
|
|
107
107
|
jo as Indicator,
|
|
108
108
|
Jo as InfoPanel,
|
|
109
109
|
Xo as Input,
|
|
110
|
-
|
|
110
|
+
de as InputDropzone,
|
|
111
111
|
rr as Interactive,
|
|
112
112
|
tr as Island,
|
|
113
113
|
uo as LinkButton,
|
|
114
|
-
|
|
114
|
+
P as Linkify,
|
|
115
115
|
Sr as Loaf,
|
|
116
116
|
zo as Logos,
|
|
117
117
|
Ar as Modal,
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
kr as NavList,
|
|
119
|
+
Pr as OVERLAY_OUTLET_ID,
|
|
120
|
+
Te as OnScreenSensor,
|
|
121
121
|
Er as Overlay,
|
|
122
|
-
|
|
122
|
+
sr as Pad,
|
|
123
123
|
dr as Page,
|
|
124
124
|
_r as Popover,
|
|
125
125
|
vr as PremiumBadge,
|
|
@@ -127,20 +127,21 @@ export {
|
|
|
127
127
|
Kr as Radio,
|
|
128
128
|
Tr as Rail,
|
|
129
129
|
$o as RichInput,
|
|
130
|
-
|
|
130
|
+
Br as Scrollable,
|
|
131
131
|
Vr as Select,
|
|
132
132
|
Gr as Separator,
|
|
133
133
|
Hr as Shroud,
|
|
134
134
|
Wr as Spacer,
|
|
135
135
|
qr as Style,
|
|
136
136
|
Xr as Switch,
|
|
137
|
-
|
|
138
|
-
|
|
137
|
+
ye as Symbols,
|
|
138
|
+
ce as TITLE_OUTLET_ID,
|
|
139
139
|
te as Table,
|
|
140
|
+
pe as TableIconButton,
|
|
140
141
|
re as Tabular,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
xe as Text,
|
|
143
|
+
me as TextBlock,
|
|
144
|
+
ne as Textarea,
|
|
144
145
|
se as Title,
|
|
145
146
|
$r as ToggleGroup,
|
|
146
147
|
yr as VirtualScrollable,
|
|
@@ -151,7 +152,7 @@ export {
|
|
|
151
152
|
E as defaultLinkReplacer,
|
|
152
153
|
D as defaultLinkReplacerx,
|
|
153
154
|
X as getColor,
|
|
154
|
-
|
|
155
|
+
ae as getTextOpacity,
|
|
155
156
|
m as getValue,
|
|
156
157
|
S as identity,
|
|
157
158
|
C as invoke,
|
|
@@ -166,18 +167,18 @@ export {
|
|
|
166
167
|
A as noop,
|
|
167
168
|
Y as normalizeSlashes,
|
|
168
169
|
H as replaceRange,
|
|
169
|
-
|
|
170
|
-
|
|
170
|
+
b as returnFalse,
|
|
171
|
+
k as returnTrue,
|
|
171
172
|
M as splitByIndices,
|
|
172
173
|
J as throttle,
|
|
173
|
-
|
|
174
|
+
Be as ui,
|
|
174
175
|
W as unicodeCharAt,
|
|
175
176
|
Jr as useContextualStyle,
|
|
176
|
-
|
|
177
|
+
s as useDynamicRef,
|
|
177
178
|
d as useGlobalKeyboardEvent,
|
|
178
179
|
i as useInstance,
|
|
179
180
|
T as useKeyboardClose,
|
|
180
181
|
y as useOutlet,
|
|
181
182
|
l as usePopoverController,
|
|
182
|
-
|
|
183
|
+
B as useWindowResize
|
|
183
184
|
};
|
|
@@ -127,6 +127,11 @@ $control-heights: (
|
|
|
127
127
|
@include ui.define-color-token('input-hover-border', ui.color('primary', $alpha: .1));
|
|
128
128
|
@include ui.define-color-token('input-focus-border', ui.color('bg-dark'));
|
|
129
129
|
@include ui.define-color-token('input-disabled-border', ui.color('bg-light'));
|
|
130
|
+
|
|
131
|
+
@include ui.define-color-token('input-onlight-border', ui.color('primary', $alpha: .1));
|
|
132
|
+
@include ui.define-color-token('input-onlight-hover-border', ui.color('primary', $alpha: .2));
|
|
133
|
+
@include ui.define-color-token('input-onlight-focus-border', ui.color('primary', $alpha: .2));
|
|
134
|
+
@include ui.define-color-token('input-onlight-disabled-border', ui.color('primary', $alpha: .1));
|
|
130
135
|
}
|
|
131
136
|
|
|
132
137
|
@mixin accordion-tokens() {
|