@cfx-dev/ui-components 2.0.2 → 2.0.4
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/Table.css +1 -1
- package/dist/components/Accordion/index.d.ts +1 -1
- package/dist/components/Accordion/index.js +3 -2
- package/dist/components/Select/Select.js +757 -703
- package/dist/components/Table/Table.js +67 -48
- package/dist/components/Table/TableShowcase.d.ts +5 -0
- package/dist/components/Table/TableShowcase.js +55 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.js +129 -128
- package/package.json +1 -1
- package/dist/iconBase-C6DV9qqL.js +0 -60
|
@@ -1,60 +1,79 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"table-responsive": "_table-responsive_1jg2j_1",
|
|
12
|
-
selectedRow: z
|
|
1
|
+
import { jsx as o, jsxs as i } from "react/jsx-runtime";
|
|
2
|
+
import f, { useState as m } from "react";
|
|
3
|
+
import O from "../Checkbox/Checkbox.js";
|
|
4
|
+
import j from "../IconButton/IconButton.js";
|
|
5
|
+
import '../../assets/Table.css';const x = "_pointer_19b0f_18", A = "_selectedRow_19b0f_22", E = "_headerContent_19b0f_40", z = "_sortButton_19b0f_47", l = {
|
|
6
|
+
"table-responsive": "_table-responsive_19b0f_1",
|
|
7
|
+
pointer: x,
|
|
8
|
+
selectedRow: A,
|
|
9
|
+
headerContent: E,
|
|
10
|
+
sortButton: z
|
|
13
11
|
};
|
|
14
|
-
function
|
|
15
|
-
headers:
|
|
16
|
-
data:
|
|
17
|
-
includeRadio:
|
|
18
|
-
onSelectChange:
|
|
19
|
-
dataContainer:
|
|
20
|
-
useSort:
|
|
21
|
-
sortBy:
|
|
22
|
-
sortOrder:
|
|
23
|
-
onSortChange:
|
|
12
|
+
function F({
|
|
13
|
+
headers: u = [],
|
|
14
|
+
data: B = [],
|
|
15
|
+
includeRadio: r = !1,
|
|
16
|
+
onSelectChange: c,
|
|
17
|
+
dataContainer: b,
|
|
18
|
+
useSort: n = !1,
|
|
19
|
+
sortBy: k,
|
|
20
|
+
sortOrder: v = "asc",
|
|
21
|
+
onSortChange: d
|
|
24
22
|
}) {
|
|
25
|
-
const [
|
|
26
|
-
const
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
23
|
+
const [p, y] = m(null), [R, w] = m(k), [$, N] = m(v), _ = (e) => {
|
|
24
|
+
const t = R === e && $ === "asc" ? "desc" : "asc";
|
|
25
|
+
w(e), N(t), d == null || d(e, t);
|
|
26
|
+
}, h = f.useCallback(
|
|
27
|
+
(e, s) => {
|
|
28
|
+
if (typeof e == "boolean") {
|
|
29
|
+
const t = e ? s : null;
|
|
30
|
+
y(t), t !== null && (c == null || c(t));
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
[c]
|
|
34
|
+
);
|
|
35
|
+
return /* @__PURE__ */ o("div", { className: l.tableResponsive, children: /* @__PURE__ */ i("table", { children: [
|
|
36
|
+
/* @__PURE__ */ o("thead", { children: /* @__PURE__ */ i("tr", { children: [
|
|
37
|
+
r && /* @__PURE__ */ o("th", { "aria-label": "Select Row" }),
|
|
38
|
+
u.map((e, s) => /* @__PURE__ */ o(
|
|
39
|
+
"th",
|
|
40
|
+
{
|
|
41
|
+
className: n ? l.pointer : "",
|
|
42
|
+
onClick: () => n && _(e),
|
|
43
|
+
children: /* @__PURE__ */ i("div", { className: l.headerContent, children: [
|
|
44
|
+
e,
|
|
45
|
+
n && /* @__PURE__ */ o(
|
|
46
|
+
j,
|
|
47
|
+
{
|
|
48
|
+
className: l.sortButton,
|
|
49
|
+
color: "secondary",
|
|
50
|
+
name: "Sort",
|
|
51
|
+
onClick: n ? () => _(e) : void 0
|
|
52
|
+
}
|
|
53
|
+
)
|
|
54
|
+
] })
|
|
55
|
+
},
|
|
56
|
+
`header-${s}`
|
|
57
|
+
))
|
|
38
58
|
] }) }),
|
|
39
|
-
/* @__PURE__ */
|
|
59
|
+
/* @__PURE__ */ o("tbody", { children: B.map((e, s) => /* @__PURE__ */ i(
|
|
40
60
|
"tr",
|
|
41
61
|
{
|
|
42
|
-
className:
|
|
62
|
+
className: `${p === s ? l.selectedRow : ""} ${r ? l.pointer : ""}`,
|
|
63
|
+
onClick: r ? () => h(!0, s) : void 0,
|
|
43
64
|
children: [
|
|
44
|
-
|
|
45
|
-
|
|
65
|
+
r && /* @__PURE__ */ o("td", { children: /* @__PURE__ */ o(
|
|
66
|
+
O,
|
|
46
67
|
{
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
checked:
|
|
51
|
-
onChange: O,
|
|
52
|
-
"aria-label": `${s}`
|
|
68
|
+
size: "small",
|
|
69
|
+
onCheckedChange: (t) => h(t, s),
|
|
70
|
+
"aria-label": `${s}`,
|
|
71
|
+
checked: p === s
|
|
53
72
|
}
|
|
54
73
|
) }),
|
|
55
|
-
|
|
74
|
+
e.map((t, C) => {
|
|
56
75
|
let a;
|
|
57
|
-
return
|
|
76
|
+
return f.isValidElement(t) ? a = t : b ? a = f.createElement(b, { item: t }) : a = String(t), /* @__PURE__ */ o("td", { children: a }, `item-${C}`);
|
|
58
77
|
})
|
|
59
78
|
]
|
|
60
79
|
},
|
|
@@ -63,5 +82,5 @@ function G({
|
|
|
63
82
|
] }) });
|
|
64
83
|
}
|
|
65
84
|
export {
|
|
66
|
-
|
|
85
|
+
F as Table
|
|
67
86
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import d from "react";
|
|
3
|
+
import { Badge as l } from "../Badge/Badge.js";
|
|
4
|
+
import { Flex as a } from "../Layout/Flex/Flex.js";
|
|
5
|
+
import "../Interactive/Interactive.js";
|
|
6
|
+
import { Scrollable as c } from "../Layout/Scrollable/Scrollable.js";
|
|
7
|
+
import "../Layout/Scrollable/VirtualScrollable.js";
|
|
8
|
+
import { Text as r } from "../Text/Text.js";
|
|
9
|
+
import { Table as o } from "./Table.js";
|
|
10
|
+
const i = [
|
|
11
|
+
[
|
|
12
|
+
"Cell 1",
|
|
13
|
+
"Cell 2",
|
|
14
|
+
"Cell 3",
|
|
15
|
+
new Date(2023, 0, 1).toLocaleDateString(),
|
|
16
|
+
/* @__PURE__ */ e(l, { color: "error", children: "Error" }, "1")
|
|
17
|
+
],
|
|
18
|
+
["Cell 4", "Cell 5", "Cell 6", new Date(2023, 1, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "2")],
|
|
19
|
+
["Cell 7", "Cell 8", "Cell 9", new Date(2023, 2, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "3")],
|
|
20
|
+
["Cell 4", "Cell 5", "Cell 6", new Date(2023, 1, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "2")],
|
|
21
|
+
["Cell 7", "Cell 8", "Cell 9", new Date(2023, 2, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "3")],
|
|
22
|
+
["Cell 4", "Cell 5", "Cell 6", new Date(2023, 1, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "2")],
|
|
23
|
+
["Cell 7", "Cell 8", "Cell 9", new Date(2023, 2, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "3")],
|
|
24
|
+
["Cell 4", "Cell 5", "Cell 6", new Date(2023, 1, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "2")],
|
|
25
|
+
["Cell 7", "Cell 8", "Cell 9", new Date(2023, 2, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "3")],
|
|
26
|
+
["Cell 4", "Cell 5", "Cell 6", new Date(2023, 1, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "2")],
|
|
27
|
+
["Cell 7", "Cell 8", "Cell 9", new Date(2023, 2, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "3")],
|
|
28
|
+
["Cell 4", "Cell 5", "Cell 6", new Date(2023, 1, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "2")],
|
|
29
|
+
["Cell 7", "Cell 8", "Cell 9", new Date(2023, 2, 1).toLocaleDateString(), /* @__PURE__ */ e(l, { children: "Badge" }, "3")]
|
|
30
|
+
], n = ["Header 1", "Header 2", "Header 3", "Date", "Item"];
|
|
31
|
+
function C() {
|
|
32
|
+
return /* @__PURE__ */ t(a, { gap: "large", vertical: !0, children: [
|
|
33
|
+
/* @__PURE__ */ t(a, { gap: "normal", vertical: !0, children: [
|
|
34
|
+
/* @__PURE__ */ e(r, { children: "Table" }),
|
|
35
|
+
/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(o, { includeRadio: !0, headers: n, data: i }) })
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ t(a, { fullWidth: !0, vertical: !0, children: [
|
|
38
|
+
/* @__PURE__ */ e(r, { children: "Table with scroll" }),
|
|
39
|
+
/* @__PURE__ */ e(
|
|
40
|
+
"div",
|
|
41
|
+
{
|
|
42
|
+
style: {
|
|
43
|
+
height: "400px",
|
|
44
|
+
overflow: "hidden"
|
|
45
|
+
},
|
|
46
|
+
children: /* @__PURE__ */ e(c, { children: /* @__PURE__ */ e(o, { includeRadio: !0, headers: n, data: i }) })
|
|
47
|
+
}
|
|
48
|
+
)
|
|
49
|
+
] })
|
|
50
|
+
] });
|
|
51
|
+
}
|
|
52
|
+
const B = d.memo(C);
|
|
53
|
+
export {
|
|
54
|
+
B as default
|
|
55
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export type { ILinkSubstitute, ILinkMatch, LinkifyProps, } from './utils/links';
|
|
|
12
12
|
export type { OutletPosition } from './utils/hooks';
|
|
13
13
|
export type { SetTimeoutReturn } from './utils/execution';
|
|
14
14
|
export { IconButton } from './components/IconButton';
|
|
15
|
-
export { Accordion, AccordionTrigger, AccordionHeader, AccordionItem, } from './components/Accordion';
|
|
15
|
+
export { Accordion, AccordionTrigger, AccordionHeader, AccordionItem, AccordionContent, } from './components/Accordion';
|
|
16
16
|
export { ClipboardButton, CLIPBOARD_TITLE_APPEARANCE } from './components/ClipboardButton';
|
|
17
17
|
export { Checkbox } from './components/Checkbox';
|
|
18
18
|
export { Button } from './components/Button/Button';
|
package/dist/main.js
CHANGED
|
@@ -3,155 +3,156 @@ 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 c } 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
9
|
import { useWindowResize as g } from "./utils/hooks/useWindowResize.js";
|
|
10
10
|
import { useOutlet as y } from "./utils/hooks/useOutlet.js";
|
|
11
|
-
import { identity as S, invoke as
|
|
11
|
+
import { identity as S, invoke as A, noop as C, returnFalse as k, returnTrue as O } from "./utils/functional.js";
|
|
12
12
|
import { Linkify as b, 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";
|
|
16
16
|
import { default as X } from "./components/IconButton/IconButton.js";
|
|
17
|
-
import { Accordion as $,
|
|
18
|
-
import { CLIPBOARD_TITLE_APPEARANCE as
|
|
19
|
-
import { default as
|
|
20
|
-
import { Button as
|
|
21
|
-
import { LinkButton as
|
|
17
|
+
import { Accordion as $, AccordionContent as oo, AccordionHeader as ro, AccordionItem as eo, AccordionTrigger as to } from "./components/Accordion/Accordion.js";
|
|
18
|
+
import { CLIPBOARD_TITLE_APPEARANCE as fo, default as xo } from "./components/ClipboardButton/ClipboardButton.js";
|
|
19
|
+
import { default as ao } from "./components/Checkbox/Checkbox.js";
|
|
20
|
+
import { Button as no } from "./components/Button/Button.js";
|
|
21
|
+
import { LinkButton as so } from "./components/Button/LinkButton.js";
|
|
22
22
|
import { ButtonBar as uo } from "./components/Button/ButtonBar.js";
|
|
23
|
-
import { Avatar as
|
|
24
|
-
import { BACKDROP_OUTLET_ID as
|
|
25
|
-
import { Badge as
|
|
26
|
-
import { ControlBox as
|
|
27
|
-
import { CountryFlag as
|
|
28
|
-
import { Decorate as
|
|
29
|
-
import { Dot as
|
|
30
|
-
import { FLYOUT_OUTLET_ID as
|
|
31
|
-
import { Logos as
|
|
32
|
-
import { I as
|
|
33
|
-
import { I as
|
|
34
|
-
import { Icon as
|
|
35
|
-
import { IconBig as
|
|
36
|
-
import { Indicator as
|
|
37
|
-
import { default as
|
|
38
|
-
import { default as
|
|
39
|
-
import { default as
|
|
40
|
-
import { Interactive as
|
|
41
|
-
import { Island as
|
|
42
|
-
import { Box as
|
|
43
|
-
import { Center as
|
|
44
|
-
import { Flex as
|
|
45
|
-
import { FlexRestricter as
|
|
46
|
-
import { Pad as
|
|
47
|
-
import { Page as
|
|
48
|
-
import { R as
|
|
49
|
-
import { Scrollable as
|
|
50
|
-
import { VirtualScrollable as
|
|
51
|
-
import { Loaf as
|
|
52
|
-
import { Modal as
|
|
53
|
-
import { NavList as
|
|
54
|
-
import { OVERLAY_OUTLET_ID as
|
|
55
|
-
import { Popover as
|
|
56
|
-
import { PremiumBadge as
|
|
57
|
-
import { Prose as
|
|
58
|
-
import { Radio as
|
|
59
|
-
import { Select as
|
|
60
|
-
import { Separator as
|
|
61
|
-
import { Shroud as
|
|
62
|
-
import { Spacer as
|
|
63
|
-
import { Style as
|
|
64
|
-
import { default as
|
|
65
|
-
import { ToggleGroup as
|
|
66
|
-
import { Tabular as
|
|
67
|
-
import { Table as
|
|
68
|
-
import { Text as
|
|
69
|
-
import { Textarea as
|
|
70
|
-
import { TITLE_OUTLET_ID as
|
|
71
|
-
import { default as
|
|
23
|
+
import { Avatar as To } from "./components/Avatar/Avatar.js";
|
|
24
|
+
import { BACKDROP_OUTLET_ID as go, BackdropPortal as Bo } from "./components/BackdropPortal/BackdropPortal.js";
|
|
25
|
+
import { Badge as Ro } from "./components/Badge/Badge.js";
|
|
26
|
+
import { ControlBox as Ao } from "./components/ControlBox/ControlBox.js";
|
|
27
|
+
import { CountryFlag as ko } from "./components/CountryFlag/CountryFlag.js";
|
|
28
|
+
import { Decorate as Po } from "./components/Decorate/Decorate.js";
|
|
29
|
+
import { Dot as Eo } from "./components/Dot/Dot.js";
|
|
30
|
+
import { FLYOUT_OUTLET_ID as _o, Flyout as ho } from "./components/Flyout/Flyout.js";
|
|
31
|
+
import { Logos as Fo } from "./components/Logos/index.js";
|
|
32
|
+
import { I as zo } from "./cfxIcons-BlbKR-zU.js";
|
|
33
|
+
import { I as No } from "./cfxIconsBig-CNY8zL27.js";
|
|
34
|
+
import { Icon as wo } from "./components/Icon/Icon.js";
|
|
35
|
+
import { IconBig as Yo } from "./components/IconBig/IconBig.js";
|
|
36
|
+
import { Indicator as Mo } from "./components/Indicator/Indicator.js";
|
|
37
|
+
import { default as jo } from "./components/InfoPanel/InfoPanel.js";
|
|
38
|
+
import { default as Jo } from "./components/Input/Input.js";
|
|
39
|
+
import { default as Xo } from "./components/Input/RichInput.js";
|
|
40
|
+
import { Interactive as $o } from "./components/Interactive/Interactive.js";
|
|
41
|
+
import { Island as rr } from "./components/Island/Island.js";
|
|
42
|
+
import { Box as tr } from "./components/Layout/Box/Box.js";
|
|
43
|
+
import { Center as fr } from "./components/Layout/Center/Center.js";
|
|
44
|
+
import { Flex as mr } from "./components/Layout/Flex/Flex.js";
|
|
45
|
+
import { FlexRestricter as lr } from "./components/Layout/Flex/FlexRestricter.js";
|
|
46
|
+
import { Pad as ir } from "./components/Layout/Pad/Pad.js";
|
|
47
|
+
import { Page as cr } from "./components/Layout/Page/Page.js";
|
|
48
|
+
import { R as dr } from "./Rail-rtPENZs2.js";
|
|
49
|
+
import { Scrollable as Tr } from "./components/Layout/Scrollable/Scrollable.js";
|
|
50
|
+
import { VirtualScrollable as gr } from "./components/Layout/Scrollable/VirtualScrollable.js";
|
|
51
|
+
import { Loaf as yr } from "./components/Loaf/Loaf.js";
|
|
52
|
+
import { Modal as Sr } from "./components/Modal/Modal.js";
|
|
53
|
+
import { NavList as Cr } from "./components/NavList/NavList.js";
|
|
54
|
+
import { OVERLAY_OUTLET_ID as Or, Overlay as Pr } from "./components/Overlay/Overlay.js";
|
|
55
|
+
import { Popover as Er } from "./components/Popover/Popover.js";
|
|
56
|
+
import { PremiumBadge as _r } from "./components/PremiumBadge/PremiumBadge.js";
|
|
57
|
+
import { Prose as vr } from "./components/Prose/Prose.js";
|
|
58
|
+
import { Radio as Ur } from "./components/Radio/Radio.js";
|
|
59
|
+
import { Select as Kr } from "./components/Select/Select.js";
|
|
60
|
+
import { Separator as Vr } from "./components/Separator/Separator.js";
|
|
61
|
+
import { Shroud as Gr } from "./components/Shroud/Shroud.js";
|
|
62
|
+
import { Spacer as Hr } from "./components/Spacer/Spacer.js";
|
|
63
|
+
import { Style as Wr, useContextualStyle as jr } from "./components/Style/Style.js";
|
|
64
|
+
import { default as Jr } from "./components/Switch/Switch.js";
|
|
65
|
+
import { ToggleGroup as Xr } from "./components/ToggleGroup/ToggleGroup.js";
|
|
66
|
+
import { Tabular as $r } from "./components/Tabular/Tabular.js";
|
|
67
|
+
import { Table as re } from "./components/Table/Table.js";
|
|
68
|
+
import { Text as te, TextBlock as pe, getTextOpacity as fe } from "./components/Text/Text.js";
|
|
69
|
+
import { Textarea as me } from "./components/Textarea/Textarea.js";
|
|
70
|
+
import { TITLE_OUTLET_ID as le, Title as ne } from "./components/Title/Title.js";
|
|
71
|
+
import { default as se } from "./components/InputDropzone/InputDropzone.js";
|
|
72
72
|
import "./components/InputDropzone/ItemPreview.js";
|
|
73
73
|
import { OnScreenSensor as ue } from "./components/OnScreenSensor.js";
|
|
74
|
-
import { ui as
|
|
75
|
-
import { Symbols as
|
|
74
|
+
import { ui as Ie } from "./components/ui.js";
|
|
75
|
+
import { Symbols as Le } from "./components/Symbols.js";
|
|
76
76
|
export {
|
|
77
77
|
$ as Accordion,
|
|
78
|
-
oo as
|
|
79
|
-
ro as
|
|
80
|
-
eo as
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
go as
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
78
|
+
oo as AccordionContent,
|
|
79
|
+
ro as AccordionHeader,
|
|
80
|
+
eo as AccordionItem,
|
|
81
|
+
to as AccordionTrigger,
|
|
82
|
+
To as Avatar,
|
|
83
|
+
go as BACKDROP_OUTLET_ID,
|
|
84
|
+
Bo as BackdropPortal,
|
|
85
|
+
Ro as Badge,
|
|
86
|
+
tr as Box,
|
|
87
|
+
no as Button,
|
|
87
88
|
uo as ButtonBar,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
89
|
+
fo as CLIPBOARD_TITLE_APPEARANCE,
|
|
90
|
+
fr as Center,
|
|
91
|
+
ao as Checkbox,
|
|
92
|
+
xo as ClipboardButton,
|
|
93
|
+
Ao as ControlBox,
|
|
94
|
+
ko as CountryFlag,
|
|
95
|
+
Po as Decorate,
|
|
96
|
+
Eo as Dot,
|
|
97
|
+
_o as FLYOUT_OUTLET_ID,
|
|
98
|
+
mr as Flex,
|
|
99
|
+
lr as FlexRestricter,
|
|
100
|
+
ho as Flyout,
|
|
101
|
+
wo as Icon,
|
|
102
|
+
Yo as IconBig,
|
|
102
103
|
X as IconButton,
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
104
|
+
zo as Icons,
|
|
105
|
+
No as IconsBig,
|
|
106
|
+
Mo as Indicator,
|
|
107
|
+
jo as InfoPanel,
|
|
108
|
+
Jo as Input,
|
|
109
|
+
se as InputDropzone,
|
|
110
|
+
$o as Interactive,
|
|
111
|
+
rr as Island,
|
|
112
|
+
so as LinkButton,
|
|
112
113
|
b as Linkify,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
yr as Loaf,
|
|
115
|
+
Fo as Logos,
|
|
116
|
+
Sr as Modal,
|
|
117
|
+
Cr as NavList,
|
|
118
|
+
Or as OVERLAY_OUTLET_ID,
|
|
118
119
|
ue as OnScreenSensor,
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
120
|
+
Pr as Overlay,
|
|
121
|
+
ir as Pad,
|
|
122
|
+
cr as Page,
|
|
123
|
+
Er as Popover,
|
|
124
|
+
_r as PremiumBadge,
|
|
125
|
+
vr as Prose,
|
|
126
|
+
Ur as Radio,
|
|
127
|
+
dr as Rail,
|
|
128
|
+
Xo as RichInput,
|
|
129
|
+
Tr as Scrollable,
|
|
130
|
+
Kr as Select,
|
|
131
|
+
Vr as Separator,
|
|
132
|
+
Gr as Shroud,
|
|
133
|
+
Hr as Spacer,
|
|
134
|
+
Wr as Style,
|
|
135
|
+
Jr as Switch,
|
|
136
|
+
Le as Symbols,
|
|
137
|
+
le as TITLE_OUTLET_ID,
|
|
138
|
+
re as Table,
|
|
139
|
+
$r as Tabular,
|
|
140
|
+
te as Text,
|
|
141
|
+
pe as TextBlock,
|
|
142
|
+
me as Textarea,
|
|
143
|
+
ne as Title,
|
|
144
|
+
Xr as ToggleGroup,
|
|
145
|
+
gr as VirtualScrollable,
|
|
145
146
|
K as clamp,
|
|
146
147
|
N as clamp01,
|
|
147
148
|
f as clsx,
|
|
148
149
|
q as debounce,
|
|
149
150
|
E as defaultLinkReplacer,
|
|
150
151
|
D as defaultLinkReplacerx,
|
|
151
|
-
|
|
152
|
+
fe as getTextOpacity,
|
|
152
153
|
m as getValue,
|
|
153
154
|
S as identity,
|
|
154
|
-
|
|
155
|
+
A as invoke,
|
|
155
156
|
_ as isExternalUrl,
|
|
156
157
|
w as isFalseString,
|
|
157
158
|
G as isTrueString,
|
|
@@ -160,17 +161,17 @@ export {
|
|
|
160
161
|
F as matchLinkNodes,
|
|
161
162
|
U as matchLinks,
|
|
162
163
|
t as mergeRefs,
|
|
163
|
-
|
|
164
|
+
C as noop,
|
|
164
165
|
Y as normalizeSlashes,
|
|
165
166
|
H as replaceRange,
|
|
166
|
-
|
|
167
|
+
k as returnFalse,
|
|
167
168
|
O as returnTrue,
|
|
168
169
|
M as splitByIndices,
|
|
169
170
|
J as throttle,
|
|
170
|
-
|
|
171
|
+
Ie as ui,
|
|
171
172
|
W as unicodeCharAt,
|
|
172
|
-
|
|
173
|
-
|
|
173
|
+
jr as useContextualStyle,
|
|
174
|
+
c as useDynamicRef,
|
|
174
175
|
d as useGlobalKeyboardEvent,
|
|
175
176
|
i as useInstance,
|
|
176
177
|
T as useKeyboardClose,
|
package/package.json
CHANGED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import i from "react";
|
|
2
|
-
var s = {
|
|
3
|
-
color: void 0,
|
|
4
|
-
size: void 0,
|
|
5
|
-
className: void 0,
|
|
6
|
-
style: void 0,
|
|
7
|
-
attr: void 0
|
|
8
|
-
}, f = i.createContext && i.createContext(s), l = function() {
|
|
9
|
-
return l = Object.assign || function(e) {
|
|
10
|
-
for (var n, t = 1, r = arguments.length; t < r; t++) {
|
|
11
|
-
n = arguments[t];
|
|
12
|
-
for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
|
|
13
|
-
}
|
|
14
|
-
return e;
|
|
15
|
-
}, l.apply(this, arguments);
|
|
16
|
-
}, y = function(e, n) {
|
|
17
|
-
var t = {};
|
|
18
|
-
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && n.indexOf(r) < 0 && (t[r] = e[r]);
|
|
19
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var a = 0, r = Object.getOwnPropertySymbols(e); a < r.length; a++)
|
|
20
|
-
n.indexOf(r[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[a]) && (t[r[a]] = e[r[a]]);
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
|
-
function m(e) {
|
|
24
|
-
return e && e.map(function(n, t) {
|
|
25
|
-
return i.createElement(n.tag, l({
|
|
26
|
-
key: t
|
|
27
|
-
}, n.attr), m(n.child));
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
function h(e) {
|
|
31
|
-
return function(n) {
|
|
32
|
-
return i.createElement(g, l({
|
|
33
|
-
attr: l({}, e.attr)
|
|
34
|
-
}, n), m(e.child));
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function g(e) {
|
|
38
|
-
var n = function(t) {
|
|
39
|
-
var r = e.attr, a = e.size, c = e.title, d = y(e, ["attr", "size", "title"]), o = a || t.size || "1em", u;
|
|
40
|
-
return t.className && (u = t.className), e.className && (u = (u ? u + " " : "") + e.className), i.createElement("svg", l({
|
|
41
|
-
stroke: "currentColor",
|
|
42
|
-
fill: "currentColor",
|
|
43
|
-
strokeWidth: "0"
|
|
44
|
-
}, t.attr, r, d, {
|
|
45
|
-
className: u,
|
|
46
|
-
style: l(l({
|
|
47
|
-
color: e.color || t.color
|
|
48
|
-
}, t.style), e.style),
|
|
49
|
-
height: o,
|
|
50
|
-
width: o,
|
|
51
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
52
|
-
}), c && i.createElement("title", null, c), e.children);
|
|
53
|
-
};
|
|
54
|
-
return f !== void 0 ? i.createElement(f.Consumer, null, function(t) {
|
|
55
|
-
return n(t);
|
|
56
|
-
}) : n(s);
|
|
57
|
-
}
|
|
58
|
-
export {
|
|
59
|
-
h as G
|
|
60
|
-
};
|