@cfx-dev/ui-components 4.2.20 → 4.2.21
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/components/Accordion/Accordion.d.ts +1 -7
- package/dist/components/Accordion/index.d.ts +1 -0
- package/dist/components/BackdropPortal/BackdropPortal.d.ts +2 -0
- package/dist/components/BackdropPortal/BackdropPortal.js +7 -5
- package/dist/components/BackdropPortal/index.d.ts +2 -0
- package/dist/components/BackdropPortal/index.js +5 -0
- package/dist/components/Badge/index.d.ts +1 -1
- package/dist/components/ClipboardButton/ClipboardButton.d.ts +3 -3
- package/dist/components/ClipboardButton/ClipboardButton.js +10 -9
- package/dist/components/ControlBox/ControlBox.d.ts +2 -0
- package/dist/components/ControlBox/ControlBox.js +10 -9
- package/dist/components/ControlBox/index.d.ts +2 -0
- package/dist/components/ControlBox/index.js +4 -0
- package/dist/components/CountryFlag/CountryFlag.d.ts +2 -0
- package/dist/components/CountryFlag/CountryFlag.js +14 -13
- package/dist/components/CountryFlag/index.d.ts +2 -0
- package/dist/components/CountryFlag/index.js +4 -0
- package/dist/components/Decorate/Decorate.d.ts +2 -0
- package/dist/components/Decorate/Decorate.js +15 -14
- package/dist/components/Decorate/index.d.ts +2 -0
- package/dist/components/Decorate/index.js +4 -0
- package/dist/components/DropdownSelect/DropdownSelect.js +802 -1040
- package/dist/components/DropdownSelect/index.d.ts +1 -0
- package/dist/components/Flyout/Flyout.d.ts +2 -1
- package/dist/components/Flyout/index.d.ts +2 -0
- package/dist/components/Flyout/index.js +5 -0
- package/dist/components/IconButton/IconButton.d.ts +2 -3
- package/dist/components/IconButton/index.d.ts +1 -1
- package/dist/components/Indicator/index.d.ts +2 -0
- package/dist/components/Indicator/index.js +4 -0
- package/dist/components/Input/index.d.ts +1 -1
- package/dist/components/InputDropzone/index.d.ts +3 -3
- package/dist/components/InputDropzone/index.js +3 -3
- package/dist/components/Interactive/index.d.ts +2 -0
- package/dist/components/Interactive/index.js +4 -0
- package/dist/components/Island/index.d.ts +2 -0
- package/dist/components/Island/index.js +5 -0
- package/dist/components/Layout/Box/Box.d.ts +1 -0
- package/dist/components/Layout/Box/Box.js +2 -1
- package/dist/components/Layout/Box/index.d.ts +2 -0
- package/dist/components/Layout/Box/index.js +5 -0
- package/dist/components/Layout/Center/index.d.ts +2 -0
- package/dist/components/Layout/Center/index.js +4 -0
- package/dist/components/Layout/Flex/Flex.d.ts +3 -3
- package/dist/components/Layout/Flex/Flex.types.d.ts +7 -0
- package/dist/components/Layout/Flex/Flex.types.js +6 -5
- package/dist/components/Layout/Flex/index.d.ts +5 -0
- package/dist/components/Layout/Flex/index.js +6 -0
- package/dist/components/Layout/Pad/index.d.ts +2 -0
- package/dist/components/Layout/Pad/index.js +4 -0
- package/dist/components/Layout/Page/index.d.ts +2 -0
- package/dist/components/Layout/Page/index.js +4 -0
- package/dist/components/Loaf/index.d.ts +2 -0
- package/dist/components/Loaf/index.js +4 -0
- package/dist/components/NavList/index.d.ts +2 -0
- package/dist/components/NavList/index.js +4 -0
- package/dist/components/Overlay/index.d.ts +2 -0
- package/dist/components/Overlay/index.js +5 -0
- package/dist/components/PremiumBadge/index.d.ts +2 -0
- package/dist/components/PremiumBadge/index.js +4 -0
- package/dist/components/Prose/Prose.d.ts +1 -2
- package/dist/components/Prose/index.d.ts +2 -0
- package/dist/components/Prose/index.js +4 -0
- package/dist/components/Radio/index.d.ts +2 -0
- package/dist/components/Radio/index.js +4 -0
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Separator/index.d.ts +2 -0
- package/dist/components/Separator/index.js +4 -0
- package/dist/components/Shroud/index.d.ts +2 -0
- package/dist/components/Shroud/index.js +4 -0
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -0
- package/dist/components/Slider/Slider.js +294 -374
- package/dist/components/Spacer/index.d.ts +2 -0
- package/dist/components/Spacer/index.js +4 -0
- package/dist/components/Style/index.d.ts +2 -0
- package/dist/components/Style/index.js +5 -0
- package/dist/components/Table/Table.d.ts +13 -4
- package/dist/components/Table/Table.js +2 -1
- package/dist/components/Table/index.d.ts +2 -2
- package/dist/components/Table/index.js +5 -2
- package/dist/components/Text/Text.types.d.ts +2 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/Textarea/index.d.ts +2 -0
- package/dist/components/Textarea/index.js +4 -0
- package/dist/components/Title/Title.d.ts +5 -4
- package/dist/components/Title/Title.js +4 -2
- package/dist/components/Title/index.d.ts +2 -0
- package/dist/components/Title/index.js +7 -0
- package/dist/index-AweK2ufS.js +171 -0
- package/dist/{index-DBus3GoO.js → index-Bz27DCHt.js} +2 -2
- package/dist/main.d.ts +92 -69
- package/dist/main.js +185 -173
- package/package.json +1 -1
- package/dist/index-CjTSD6zB.js +0 -161
|
@@ -7,22 +7,32 @@ export interface TableHeaderType {
|
|
|
7
7
|
sortKey?: string;
|
|
8
8
|
}
|
|
9
9
|
export type TableRowType = Array<string | number | Date | React.ReactNode>;
|
|
10
|
-
export type
|
|
10
|
+
export type TableDataContainerType = React.FC<{
|
|
11
11
|
item: string | number | Date | React.ReactNode;
|
|
12
12
|
}>;
|
|
13
13
|
export declare function TableIconButton(props: IconButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
interface TableHeaderItemProps {
|
|
14
|
+
export interface TableHeaderItemProps {
|
|
15
15
|
item: TableHeaderType;
|
|
16
16
|
onSortClick?: (sortKey: string) => void;
|
|
17
17
|
}
|
|
18
18
|
export declare function TableHeaderItem(props: TableHeaderItemProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export interface TableRowProps {
|
|
20
|
+
index: number;
|
|
21
|
+
item: TableRowType;
|
|
22
|
+
onSelectChange: (rowIndex: number | null) => void;
|
|
23
|
+
includeRadio?: boolean;
|
|
24
|
+
loading?: boolean;
|
|
25
|
+
selectedRow?: number | null;
|
|
26
|
+
dataContainer?: TableDataContainerType;
|
|
27
|
+
}
|
|
28
|
+
export declare function TableRow(props: TableRowProps): import("react/jsx-runtime").JSX.Element;
|
|
19
29
|
export interface TableProps {
|
|
20
30
|
headers: TableHeaderType[];
|
|
21
31
|
data: TableRowType[];
|
|
22
32
|
includeRadio?: boolean;
|
|
23
33
|
loading?: boolean;
|
|
24
34
|
onSelectChange?: (rowIndex: number | null) => void;
|
|
25
|
-
dataContainer?:
|
|
35
|
+
dataContainer?: TableDataContainerType;
|
|
26
36
|
selectedRow?: number | null;
|
|
27
37
|
sortBy?: string;
|
|
28
38
|
sortOrder?: 'asc' | 'desc';
|
|
@@ -30,4 +40,3 @@ export interface TableProps {
|
|
|
30
40
|
className?: string;
|
|
31
41
|
}
|
|
32
42
|
export declare function Table({ headers, data, includeRadio, loading, onSelectChange, dataContainer, selectedRow: outerSelectedRow, sortBy: outerSortBy, sortOrder: outerSortOrder, onSortChange, className, }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Table } from './Table';
|
|
2
|
-
export type { TableProps } from './Table';
|
|
1
|
+
export { Table, TableIconButton, TableHeaderItem, TableRow, } from './Table';
|
|
2
|
+
export type { TableHeaderType, TableProps, TableRowType, TableDataContainerType, TableHeaderItemProps, TableRowProps, } from './Table';
|
|
@@ -7,6 +7,7 @@ export type TextWeight = 'thin' | 'normal' | 'bold' | 'bolder';
|
|
|
7
7
|
export type TextOpacity = '0' | '25' | '50' | '75' | '100';
|
|
8
8
|
export type TextAs = 'span' | 'div' | 'p' | 'label' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
9
9
|
export type TextLetterSpacing = 'normal' | 'large';
|
|
10
|
+
export type TextFamaly = 'primary' | 'secondary';
|
|
10
11
|
interface TextPropsBase {
|
|
11
12
|
as?: TextAs;
|
|
12
13
|
centered?: boolean;
|
|
@@ -25,7 +26,7 @@ interface TextPropsBase {
|
|
|
25
26
|
size?: ResponsiveValueType<ResponsiveTextSize>;
|
|
26
27
|
weight?: TextWeight;
|
|
27
28
|
letterSpacing?: TextLetterSpacing;
|
|
28
|
-
family?:
|
|
29
|
+
family?: TextFamaly;
|
|
29
30
|
children?: React.ReactNode;
|
|
30
31
|
className?: string;
|
|
31
32
|
style?: React.CSSProperties;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Text, TextBlock, TEXT_OPACITY_MAP, DEFAULT_TEXT_COLOR, getTextOpacity, textSizeResponsiveValueFormatter, } from './Text';
|
|
2
2
|
export { TextSizeEnum } from '../ui';
|
|
3
|
-
export type { TextSize, TextWeight, TextOpacity, TextAs, TextLetterSpacing, TextProps, TextColorProps, ResponsiveTextSize, } from './Text.types';
|
|
3
|
+
export type { TextSize, TextWeight, TextOpacity, TextAs, TextLetterSpacing, TextProps, TextColorProps, ResponsiveTextSize, TextFamaly, } from './Text.types';
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
|
|
3
3
|
export declare const TITLE_OUTLET_ID = "title-outlet";
|
|
4
|
-
export type
|
|
5
|
-
|
|
4
|
+
export type TitleFixedOn = 'top' | 'top-left' | 'right' | 'bottom' | 'bottom-left' | 'bottom-right' | 'left';
|
|
5
|
+
export declare function titleGetCssStyle(fixed: boolean, delay: number, [x, y]: number[]): React.CSSProperties;
|
|
6
|
+
export declare function titleGetCoords(element: HTMLElement, fixedOn: TitleFixedOn): [number, number];
|
|
7
|
+
export type TitleChildren = ((ref: React.RefObject<any>) => React.ReactNode) | React.ReactElement;
|
|
6
8
|
export interface TitleProps {
|
|
7
9
|
children: TitleChildren;
|
|
8
10
|
title?: React.ReactNode;
|
|
9
11
|
delay?: number;
|
|
10
12
|
animated?: boolean;
|
|
11
13
|
suppressMouseActivation?: boolean;
|
|
12
|
-
fixedOn?:
|
|
14
|
+
fixedOn?: TitleFixedOn;
|
|
13
15
|
active?: boolean;
|
|
14
16
|
className?: string;
|
|
15
17
|
rootClassName?: string;
|
|
16
18
|
}
|
|
17
19
|
export declare function Title(props: TitleProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
-
export {};
|
|
@@ -61,7 +61,7 @@ function D(u, f) {
|
|
|
61
61
|
}
|
|
62
62
|
return [c, t];
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function z(u) {
|
|
65
65
|
const {
|
|
66
66
|
title: f,
|
|
67
67
|
children: e,
|
|
@@ -116,5 +116,7 @@ function G(u) {
|
|
|
116
116
|
}
|
|
117
117
|
export {
|
|
118
118
|
S as TITLE_OUTLET_ID,
|
|
119
|
-
|
|
119
|
+
z as Title,
|
|
120
|
+
D as titleGetCoords,
|
|
121
|
+
j as titleGetCssStyle
|
|
120
122
|
};
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
import * as l from "react";
|
|
2
|
+
import h from "react";
|
|
3
|
+
import { jsx as y, Fragment as w } from "react/jsx-runtime";
|
|
4
|
+
function L(e, t, { checkForDefaultPrevented: o = !0 } = {}) {
|
|
5
|
+
return function(n) {
|
|
6
|
+
if (e == null || e(n), o === !1 || !n.defaultPrevented)
|
|
7
|
+
return t == null ? void 0 : t(n);
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
function A(e, t) {
|
|
11
|
+
if (typeof e == "function")
|
|
12
|
+
return e(t);
|
|
13
|
+
e != null && (e.current = t);
|
|
14
|
+
}
|
|
15
|
+
function O(...e) {
|
|
16
|
+
return (t) => {
|
|
17
|
+
let o = !1;
|
|
18
|
+
const r = e.map((n) => {
|
|
19
|
+
const c = A(n, t);
|
|
20
|
+
return !o && typeof c == "function" && (o = !0), c;
|
|
21
|
+
});
|
|
22
|
+
if (o)
|
|
23
|
+
return () => {
|
|
24
|
+
for (let n = 0; n < r.length; n++) {
|
|
25
|
+
const c = r[n];
|
|
26
|
+
typeof c == "function" ? c() : A(e[n], null);
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function I(...e) {
|
|
32
|
+
return l.useCallback(O(...e), e);
|
|
33
|
+
}
|
|
34
|
+
function E(e, t = []) {
|
|
35
|
+
let o = [];
|
|
36
|
+
function r(c, s) {
|
|
37
|
+
const i = l.createContext(s), f = o.length;
|
|
38
|
+
o = [...o, s];
|
|
39
|
+
const S = (R) => {
|
|
40
|
+
var d;
|
|
41
|
+
const { scope: C, children: a, ...u } = R, p = ((d = C == null ? void 0 : C[e]) == null ? void 0 : d[f]) || i, m = l.useMemo(() => u, Object.values(u));
|
|
42
|
+
return /* @__PURE__ */ y(p.Provider, { value: m, children: a });
|
|
43
|
+
};
|
|
44
|
+
S.displayName = c + "Provider";
|
|
45
|
+
function M(R, C) {
|
|
46
|
+
var p;
|
|
47
|
+
const a = ((p = C == null ? void 0 : C[e]) == null ? void 0 : p[f]) || i, u = l.useContext(a);
|
|
48
|
+
if (u) return u;
|
|
49
|
+
if (s !== void 0) return s;
|
|
50
|
+
throw new Error(`\`${R}\` must be used within \`${c}\``);
|
|
51
|
+
}
|
|
52
|
+
return [S, M];
|
|
53
|
+
}
|
|
54
|
+
const n = () => {
|
|
55
|
+
const c = o.map((s) => l.createContext(s));
|
|
56
|
+
return function(i) {
|
|
57
|
+
const f = (i == null ? void 0 : i[e]) || c;
|
|
58
|
+
return l.useMemo(
|
|
59
|
+
() => ({ [`__scope${e}`]: { ...i, [e]: f } }),
|
|
60
|
+
[i, f]
|
|
61
|
+
);
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
return n.scopeName = e, [r, v(n, ...t)];
|
|
65
|
+
}
|
|
66
|
+
function v(...e) {
|
|
67
|
+
const t = e[0];
|
|
68
|
+
if (e.length === 1) return t;
|
|
69
|
+
const o = () => {
|
|
70
|
+
const r = e.map((n) => ({
|
|
71
|
+
useScope: n(),
|
|
72
|
+
scopeName: n.scopeName
|
|
73
|
+
}));
|
|
74
|
+
return function(c) {
|
|
75
|
+
const s = r.reduce((i, { useScope: f, scopeName: S }) => {
|
|
76
|
+
const R = f(c)[`__scope${S}`];
|
|
77
|
+
return { ...i, ...R };
|
|
78
|
+
}, {});
|
|
79
|
+
return l.useMemo(() => ({ [`__scope${t.scopeName}`]: s }), [s]);
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
return o.scopeName = t.scopeName, o;
|
|
83
|
+
}
|
|
84
|
+
var _ = l.forwardRef((e, t) => {
|
|
85
|
+
const { children: o, ...r } = e, n = l.Children.toArray(o), c = n.find(V);
|
|
86
|
+
if (c) {
|
|
87
|
+
const s = c.props.children, i = n.map((f) => f === c ? l.Children.count(s) > 1 ? l.Children.only(null) : l.isValidElement(s) ? s.props.children : null : f);
|
|
88
|
+
return /* @__PURE__ */ y(N, { ...r, ref: t, children: l.isValidElement(s) ? l.cloneElement(s, void 0, i) : null });
|
|
89
|
+
}
|
|
90
|
+
return /* @__PURE__ */ y(N, { ...r, ref: t, children: o });
|
|
91
|
+
});
|
|
92
|
+
_.displayName = "Slot";
|
|
93
|
+
var N = l.forwardRef((e, t) => {
|
|
94
|
+
const { children: o, ...r } = e;
|
|
95
|
+
if (l.isValidElement(o)) {
|
|
96
|
+
const n = j(o);
|
|
97
|
+
return l.cloneElement(o, {
|
|
98
|
+
...$(r, o.props),
|
|
99
|
+
// @ts-ignore
|
|
100
|
+
ref: t ? O(t, n) : n
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
return l.Children.count(o) > 1 ? l.Children.only(null) : null;
|
|
104
|
+
});
|
|
105
|
+
N.displayName = "SlotClone";
|
|
106
|
+
var T = ({ children: e }) => /* @__PURE__ */ y(w, { children: e });
|
|
107
|
+
function V(e) {
|
|
108
|
+
return l.isValidElement(e) && e.type === T;
|
|
109
|
+
}
|
|
110
|
+
function $(e, t) {
|
|
111
|
+
const o = { ...t };
|
|
112
|
+
for (const r in t) {
|
|
113
|
+
const n = e[r], c = t[r];
|
|
114
|
+
/^on[A-Z]/.test(r) ? n && c ? o[r] = (...i) => {
|
|
115
|
+
c(...i), n(...i);
|
|
116
|
+
} : n && (o[r] = n) : r === "style" ? o[r] = { ...n, ...c } : r === "className" && (o[r] = [n, c].filter(Boolean).join(" "));
|
|
117
|
+
}
|
|
118
|
+
return { ...e, ...o };
|
|
119
|
+
}
|
|
120
|
+
function j(e) {
|
|
121
|
+
var r, n;
|
|
122
|
+
let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, o = t && "isReactWarning" in t && t.isReactWarning;
|
|
123
|
+
return o ? e.ref : (t = (n = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : n.get, o = t && "isReactWarning" in t && t.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
|
|
124
|
+
}
|
|
125
|
+
function k(e) {
|
|
126
|
+
const t = e + "CollectionProvider", [o, r] = E(t), [n, c] = o(
|
|
127
|
+
t,
|
|
128
|
+
{ collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
|
|
129
|
+
), s = (a) => {
|
|
130
|
+
const { scope: u, children: p } = a, m = h.useRef(null), d = h.useRef(/* @__PURE__ */ new Map()).current;
|
|
131
|
+
return /* @__PURE__ */ y(n, { scope: u, itemMap: d, collectionRef: m, children: p });
|
|
132
|
+
};
|
|
133
|
+
s.displayName = t;
|
|
134
|
+
const i = e + "CollectionSlot", f = h.forwardRef(
|
|
135
|
+
(a, u) => {
|
|
136
|
+
const { scope: p, children: m } = a, d = c(i, p), x = I(u, d.collectionRef);
|
|
137
|
+
return /* @__PURE__ */ y(_, { ref: x, children: m });
|
|
138
|
+
}
|
|
139
|
+
);
|
|
140
|
+
f.displayName = i;
|
|
141
|
+
const S = e + "CollectionItemSlot", M = "data-radix-collection-item", R = h.forwardRef(
|
|
142
|
+
(a, u) => {
|
|
143
|
+
const { scope: p, children: m, ...d } = a, x = h.useRef(null), g = I(u, x), P = c(S, p);
|
|
144
|
+
return h.useEffect(() => (P.itemMap.set(x, { ref: x, ...d }), () => void P.itemMap.delete(x))), /* @__PURE__ */ y(_, { [M]: "", ref: g, children: m });
|
|
145
|
+
}
|
|
146
|
+
);
|
|
147
|
+
R.displayName = S;
|
|
148
|
+
function C(a) {
|
|
149
|
+
const u = c(e + "CollectionConsumer", a);
|
|
150
|
+
return h.useCallback(() => {
|
|
151
|
+
const m = u.collectionRef.current;
|
|
152
|
+
if (!m) return [];
|
|
153
|
+
const d = Array.from(m.querySelectorAll(`[${M}]`));
|
|
154
|
+
return Array.from(u.itemMap.values()).sort(
|
|
155
|
+
(P, b) => d.indexOf(P.ref.current) - d.indexOf(b.ref.current)
|
|
156
|
+
);
|
|
157
|
+
}, [u.collectionRef, u.itemMap]);
|
|
158
|
+
}
|
|
159
|
+
return [
|
|
160
|
+
{ Provider: s, Slot: f, ItemSlot: R },
|
|
161
|
+
C,
|
|
162
|
+
r
|
|
163
|
+
];
|
|
164
|
+
}
|
|
165
|
+
export {
|
|
166
|
+
k as a,
|
|
167
|
+
E as b,
|
|
168
|
+
O as c,
|
|
169
|
+
L as d,
|
|
170
|
+
I as u
|
|
171
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -1,105 +1,128 @@
|
|
|
1
1
|
export { mergeRefs } from './utils/mergeRefs';
|
|
2
2
|
export { clsx } from './utils/clsx';
|
|
3
3
|
export { getValue } from './utils/getValue';
|
|
4
|
+
export type { ValueOrGetter } from './utils/getValue';
|
|
4
5
|
export { useInstance, useDynamicRef, useGlobalKeyboardEvent, useKeyboardClose, useWindowResize, useOutlet, usePopoverController, useClipboardComponent, CLIPBOARD_TITLE_APPEARANCE, } from './utils/hooks';
|
|
6
|
+
export type { OutletPosition, UseClipboardProps, } from './utils/hooks';
|
|
5
7
|
export { noop, returnTrue, returnFalse, identity, invoke, } from './utils/functional';
|
|
6
8
|
export { isExternalUrl, matchLinks, matchLinkNodes, defaultLinkReplacerx, defaultLinkReplacer, linkifyx, linkify, Linkify, } from './utils/links';
|
|
9
|
+
export type { ILinkSubstitute, ILinkMatch, LinkifyProps, } from './utils/links';
|
|
7
10
|
export { clamp01, clamp, } from './utils/math';
|
|
8
11
|
export { unicodeCharAt, splitByIndices, replaceRange, normalizeSlashes, isTrueString, isFalseString, } from './utils/string';
|
|
9
12
|
export { debounce, throttle, } from './utils/execution';
|
|
10
|
-
export { getColor } from './utils/color';
|
|
11
|
-
export type { ValueOrGetter } from './utils/getValue';
|
|
12
|
-
export type { ILinkSubstitute, ILinkMatch, LinkifyProps, } from './utils/links';
|
|
13
|
-
export type { OutletPosition, UseClipboardProps, } from './utils/hooks';
|
|
14
13
|
export type { SetTimeoutReturn } from './utils/execution';
|
|
14
|
+
export { getColor } from './utils/color';
|
|
15
15
|
export type { GetColorProps } from './utils/color';
|
|
16
16
|
export { IconButton } from './components/IconButton';
|
|
17
|
+
export type { IconButtonProps, IconButtonAreaSize } from './components/IconButton';
|
|
17
18
|
export { Accordion, AccordionTrigger, AccordionHeader, AccordionItem, AccordionContent, } from './components/Accordion';
|
|
19
|
+
export type { AccordionProps, AccordionTriggerProps } from './components/Accordion';
|
|
18
20
|
export { ClipboardButton } from './components/ClipboardButton';
|
|
21
|
+
export type { ClipboardButtonProps } from './components/ClipboardButton';
|
|
19
22
|
export { Checkbox } from './components/Checkbox';
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export {
|
|
23
|
-
export {
|
|
23
|
+
export type { CheckboxSize, CheckboxProps } from './components/Checkbox';
|
|
24
|
+
export { Button, ButtonContent, getButtonClassName, ButtonBar, LinkButton, } from './components/Button';
|
|
25
|
+
export type { ButtonProps, ButtonTheme, ButtonBarProps, LinkButtonProps, } from './components/Button';
|
|
26
|
+
export { BurgerMenu, BurgerMenuButton } from './components/BurgerMenu';
|
|
27
|
+
export type { BurgerMenuItem, BurgerMenuProps, BurgerMenuButtonProps, } from './components/BurgerMenu';
|
|
24
28
|
export { Link, ButtonLink, getLinkClassName, } from './components/Link';
|
|
25
|
-
export {
|
|
29
|
+
export type { LinkProps, LinkBaseProps } from './components/Link';
|
|
26
30
|
export { Avatar } from './components/Avatar';
|
|
27
|
-
export {
|
|
31
|
+
export type { AvatarProps, AvatarSize } from './components/Avatar';
|
|
32
|
+
export { BackdropPortal, BACKDROP_OUTLET_ID } from './components/BackdropPortal';
|
|
33
|
+
export type { BackdropPortalProps } from './components/BackdropPortal';
|
|
28
34
|
export { Badge } from './components/Badge';
|
|
29
|
-
export {
|
|
30
|
-
export {
|
|
31
|
-
export {
|
|
35
|
+
export type { BadgeProps, BadgeColor, BadgeSize, } from './components/Badge';
|
|
36
|
+
export { ControlBox } from './components/ControlBox';
|
|
37
|
+
export type { ControlBoxProps } from './components/ControlBox';
|
|
38
|
+
export { CountryFlag } from './components/CountryFlag';
|
|
39
|
+
export type { CountryFlagProps } from './components/CountryFlag';
|
|
40
|
+
export { Decorate } from './components/Decorate';
|
|
41
|
+
export type { DecorateProps } from './components/Decorate';
|
|
32
42
|
export { Dot } from './components/Dot';
|
|
33
|
-
export {
|
|
43
|
+
export type { DotProps, DotSize } from './components/Dot';
|
|
44
|
+
export { Flyout, FLYOUT_OUTLET_ID } from './components/Flyout';
|
|
45
|
+
export type { FlyoutSize, FlyoutProps } from './components/Flyout';
|
|
34
46
|
export { Logos } from './components/Logos';
|
|
47
|
+
export type { LogoNames } from './components/Logos';
|
|
35
48
|
export { Icons, IconsBig } from './components/Icons';
|
|
49
|
+
export type { IconName, IconBigName } from './components/Icons';
|
|
36
50
|
export { Icon } from './components/Icon';
|
|
51
|
+
export type { IconProps, IconSize } from './components/Icon';
|
|
37
52
|
export { IconBig } from './components/IconBig';
|
|
38
|
-
export {
|
|
53
|
+
export type { IconBigProps, IconBigSize } from './components/IconBig';
|
|
54
|
+
export { Indicator } from './components/Indicator';
|
|
55
|
+
export type { IndicatorProps } from './components/Indicator';
|
|
39
56
|
export { InfoPanel } from './components/InfoPanel';
|
|
57
|
+
export type { InfoPanelProps, InfoPanelSize, InfoPanelType, } from './components/InfoPanel';
|
|
40
58
|
export { Input, RichInput } from './components/Input';
|
|
41
|
-
export {
|
|
42
|
-
export {
|
|
43
|
-
export {
|
|
44
|
-
export {
|
|
45
|
-
export {
|
|
46
|
-
export {
|
|
47
|
-
export {
|
|
48
|
-
export {
|
|
59
|
+
export type { InputSize, InputProps, InputTheme, RichInputProps, } from './components/Input';
|
|
60
|
+
export { Interactive } from './components/Interactive';
|
|
61
|
+
export type { InteractiveProps } from './components/Interactive';
|
|
62
|
+
export { Island, IslandCorner } from './components/Island';
|
|
63
|
+
export type { IslandProps } from './components/Island';
|
|
64
|
+
export { Box, flexPropFormater } from './components/Layout/Box';
|
|
65
|
+
export type { BoxProps } from './components/Layout/Box';
|
|
66
|
+
export { Center } from './components/Layout/Center';
|
|
67
|
+
export type { CenterProps } from './components/Layout/Center';
|
|
68
|
+
export { Flex, FlexRestricter } from './components/Layout/Flex';
|
|
69
|
+
export type { FlexType, FlexProps, FlexRestricterProps, FlexAlignItemsType, FlexAlignItemsEnum, FlexDirectionType, FlexDirectionEnum, FlexJustifyContentType, FlexJustifyContentEnum, FlexWrapType, FlexWrapEnum, } from './components/Layout/Flex';
|
|
70
|
+
export { Pad } from './components/Layout/Pad';
|
|
71
|
+
export type { PadProps } from './components/Layout/Pad';
|
|
72
|
+
export { Page } from './components/Layout/Page';
|
|
73
|
+
export type { PageProps } from './components/Layout/Page';
|
|
49
74
|
export { Scrollable, VirtualScrollable, Rail, } from './components/Layout/Scrollable';
|
|
50
|
-
export {
|
|
75
|
+
export type { ScrollableProps, VirtualScrollableProps, RailProps, } from './components/Layout/Scrollable';
|
|
76
|
+
export { Loaf } from './components/Loaf';
|
|
77
|
+
export type { LoafProps, LoafSize, LoafColor, } from './components/Loaf';
|
|
51
78
|
export { Modal } from './components/Modal';
|
|
52
|
-
export {
|
|
53
|
-
export {
|
|
79
|
+
export type { ModalProps, ModalHeaderProps, ModalFooterProps, } from './components/Modal';
|
|
80
|
+
export { NavList } from './components/NavList';
|
|
81
|
+
export type { NavListProps, NavListItem } from './components/NavList';
|
|
82
|
+
export { Overlay, OVERLAY_OUTLET_ID } from './components/Overlay';
|
|
83
|
+
export type { OverlayProps, OverlayBackdropProps, OverlayContentProps, } from './components/Overlay';
|
|
54
84
|
export { Popover } from './components/Popover';
|
|
55
|
-
export {
|
|
56
|
-
export {
|
|
57
|
-
export {
|
|
85
|
+
export type { PopoverProps, PopoverPosition } from './components/Popover';
|
|
86
|
+
export { PremiumBadge } from './components/PremiumBadge';
|
|
87
|
+
export type { PremiumBadgeProps, PremiumBadgeLevel } from './components/PremiumBadge';
|
|
88
|
+
export { Prose } from './components/Prose';
|
|
89
|
+
export type { ProseProps } from './components/Prose';
|
|
90
|
+
export { Radio } from './components/Radio';
|
|
91
|
+
export type { RadioProps, RadioSize } from './components/Radio';
|
|
58
92
|
export { Select } from './components/Select';
|
|
93
|
+
export type { SelectOption, SelectProps } from './components/Select';
|
|
59
94
|
export { DropdownSelect } from './components/DropdownSelect';
|
|
60
|
-
export {
|
|
61
|
-
export {
|
|
95
|
+
export type { DropdownSelectProps } from './components/DropdownSelect';
|
|
96
|
+
export { Separator } from './components/Separator';
|
|
97
|
+
export type { SeparatorProps } from './components/Separator';
|
|
98
|
+
export { Shroud } from './components/Shroud';
|
|
99
|
+
export type { ShroudProps } from './components/Shroud';
|
|
62
100
|
export { Slider } from './components/Slider';
|
|
63
|
-
export { Spacer } from './components/Spacer/Spacer';
|
|
64
|
-
export { Style, useContextualStyle } from './components/Style/Style';
|
|
65
|
-
export { Switch } from './components/Switch';
|
|
66
|
-
export { ToggleGroup } from './components/ToggleGroup/ToggleGroup';
|
|
67
|
-
export { Tabular } from './components/Tabular';
|
|
68
|
-
export { Table, TableIconButton, } from './components/Table/Table';
|
|
69
|
-
export { Text, TextBlock, getTextOpacity, } from './components/Text';
|
|
70
|
-
export { Textarea } from './components/Textarea/Textarea';
|
|
71
|
-
export { Title, TITLE_OUTLET_ID } from './components/Title/Title';
|
|
72
|
-
export { InputDropzone } from './components/InputDropzone';
|
|
73
|
-
export { Skeleton } from './components/Skeleton';
|
|
74
|
-
export type { BurgerMenuItem, BurgerMenuProps } from './components/BurgerMenu';
|
|
75
|
-
export type { BurgerMenuButtonProps } from './components/BurgerMenu';
|
|
76
|
-
export type { BadgeProps, BadgeColor } from './components/Badge';
|
|
77
101
|
export type { SliderProps } from './components/Slider';
|
|
78
|
-
export
|
|
79
|
-
export type {
|
|
80
|
-
export
|
|
81
|
-
export type {
|
|
82
|
-
export
|
|
83
|
-
export type { IconButtonProps } from './components/IconButton';
|
|
84
|
-
export type { ClipboardButtonProps } from './components/ClipboardButton';
|
|
85
|
-
export type { InputDropzoneProps, FileWithPath } from './components/InputDropzone';
|
|
86
|
-
export type { InputSize, InputProps, RichInputProps, } from './components/Input';
|
|
102
|
+
export { Spacer } from './components/Spacer';
|
|
103
|
+
export type { SpacerProps } from './components/Spacer';
|
|
104
|
+
export { Style, useContextualStyle } from './components/Style';
|
|
105
|
+
export type { StyleProps } from './components/Style';
|
|
106
|
+
export { Switch } from './components/Switch';
|
|
87
107
|
export type { SwitchProps } from './components/Switch';
|
|
88
|
-
export
|
|
89
|
-
export type {
|
|
90
|
-
export
|
|
91
|
-
export type { LogoNames } from './components/Logos';
|
|
92
|
-
export type { IconName, IconBigName } from './components/Icons';
|
|
93
|
-
export type { IconProps, IconSize } from './components/Icon';
|
|
94
|
-
export type { IconBigProps, IconBigSize } from './components/IconBig';
|
|
95
|
-
export type { InfoPanelProps, InfoPanelSize, InfoPanelType, } from './components/InfoPanel';
|
|
96
|
-
export type { DotProps, DotSize } from './components/Dot';
|
|
108
|
+
export { ToggleGroup } from './components/ToggleGroup';
|
|
109
|
+
export type { ToggleGroupOption, ToggleGroupProps } from './components/ToggleGroup';
|
|
110
|
+
export { Tabular } from './components/Tabular';
|
|
97
111
|
export type { TabularProps, TabularItem, TabularRootProps, } from './components/Tabular';
|
|
98
|
-
export
|
|
99
|
-
export type {
|
|
100
|
-
export
|
|
101
|
-
export type {
|
|
112
|
+
export { Table, TableIconButton, TableHeaderItem, TableRow, } from './components/Table';
|
|
113
|
+
export type { TableHeaderType, TableProps, TableRowType, TableDataContainerType, TableHeaderItemProps, TableRowProps, } from './components/Table';
|
|
114
|
+
export { Text, TextBlock, getTextOpacity, DEFAULT_TEXT_COLOR, TEXT_OPACITY_MAP, textSizeResponsiveValueFormatter, } from './components/Text';
|
|
115
|
+
export type { TextSizeEnum, TextSize, TextWeight, TextOpacity, TextAs, TextLetterSpacing, TextProps, TextColorProps, TextFamaly, } from './components/Text';
|
|
116
|
+
export { Textarea } from './components/Textarea';
|
|
117
|
+
export type { TextareaProps } from './components/Textarea';
|
|
118
|
+
export { TITLE_OUTLET_ID, titleGetCssStyle, titleGetCoords, Title, } from './components/Title';
|
|
119
|
+
export type { TitleProps, TitleFixedOn, TitleChildren, } from './components/Title';
|
|
120
|
+
export { InputDropzone, DropzoneItemPreview, } from './components/InputDropzone';
|
|
121
|
+
export type { InputDropzoneProps, DropzoneFileWithPath, DropzoneItemPreviewProps, } from './components/InputDropzone';
|
|
122
|
+
export { Skeleton } from './components/Skeleton';
|
|
123
|
+
export type { SkeletonProps } from './components/Skeleton';
|
|
102
124
|
export { OnScreenSensor } from './components/OnScreenSensor';
|
|
103
|
-
export {
|
|
104
|
-
export type { OffsetType, OffsetEnum, MediaQueryType, MediaQueryEnum, ResponsiveOffsetType, MPProps, } from './components/ui';
|
|
125
|
+
export type { OnScreenSensorProps } from './components/OnScreenSensor';
|
|
105
126
|
export { Symbols } from './components/Symbols';
|
|
127
|
+
export { ui } from './components/ui';
|
|
128
|
+
export type { OffsetType, OffsetEnum, MediaQueryType, MediaQueryEnum, ResponsiveOffsetType, ResponsiveValueType, MPProps, BorderRadiusEnum, BorderRadiusType, ZIndexEnum, ZIndexType, } from './components/ui';
|