@cfx-dev/ui-components 2.0.1 → 2.0.3
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Accordion, AccordionTrigger, AccordionHeader, AccordionItem, AccordionContent, } from './Accordion';
|
|
@@ -1 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import { Accordion as r, AccordionContent as n, AccordionHeader as d, AccordionItem as e, AccordionTrigger as i } from "./Accordion.js";
|
|
2
|
+
export {
|
|
3
|
+
r as Accordion,
|
|
4
|
+
n as AccordionContent,
|
|
5
|
+
d as AccordionHeader,
|
|
6
|
+
e as AccordionItem,
|
|
7
|
+
i as AccordionTrigger
|
|
8
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -11,6 +11,9 @@ export type { ValueOrGetter } from './utils/getValue';
|
|
|
11
11
|
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
|
+
export { IconButton } from './components/IconButton';
|
|
15
|
+
export { Accordion, AccordionTrigger, AccordionHeader, AccordionItem, AccordionContent, } from './components/Accordion';
|
|
16
|
+
export { ClipboardButton, CLIPBOARD_TITLE_APPEARANCE } from './components/ClipboardButton';
|
|
14
17
|
export { Checkbox } from './components/Checkbox';
|
|
15
18
|
export { Button } from './components/Button/Button';
|
|
16
19
|
export { LinkButton } from './components/Button/LinkButton';
|
|
@@ -60,6 +63,8 @@ export { Text, TextBlock, getTextOpacity, } from './components/Text';
|
|
|
60
63
|
export { Textarea } from './components/Textarea/Textarea';
|
|
61
64
|
export { Title, TITLE_OUTLET_ID } from './components/Title/Title';
|
|
62
65
|
export { InputDropzone } from './components/InputDropzone';
|
|
66
|
+
export type { IconButtonProps } from './components/IconButton';
|
|
67
|
+
export type { ClipboardButtonProps } from './components/ClipboardButton';
|
|
63
68
|
export type { InputDropzoneProps, FileWithPath } from './components/InputDropzone';
|
|
64
69
|
export type { InputSize, InputProps, RichInputProps, } from './components/Input';
|
|
65
70
|
export type { SwitchProps } from './components/Switch';
|
package/dist/main.js
CHANGED
|
@@ -3,168 +3,179 @@ 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
|
-
import { useKeyboardClose as
|
|
8
|
+
import { useKeyboardClose as T } from "./utils/hooks/useKeyboardClose.js";
|
|
9
9
|
import { useWindowResize as g } from "./utils/hooks/useWindowResize.js";
|
|
10
|
-
import { useOutlet as
|
|
11
|
-
import { identity as
|
|
12
|
-
import { Linkify as
|
|
13
|
-
import { clamp as K, clamp01 as
|
|
14
|
-
import { isFalseString as
|
|
15
|
-
import { debounce as
|
|
16
|
-
import { default as X } from "./components/
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
10
|
+
import { useOutlet as y } from "./utils/hooks/useOutlet.js";
|
|
11
|
+
import { identity as S, invoke as A, noop as C, returnFalse as k, returnTrue as O } from "./utils/functional.js";
|
|
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
|
+
import { clamp as K, clamp01 as N } from "./utils/math.js";
|
|
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
|
+
import { debounce as q, throttle as J } from "./utils/execution.js";
|
|
16
|
+
import { default as X } from "./components/IconButton/IconButton.js";
|
|
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
|
+
import { ButtonBar as uo } from "./components/Button/ButtonBar.js";
|
|
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";
|
|
69
72
|
import "./components/InputDropzone/ItemPreview.js";
|
|
70
|
-
import { OnScreenSensor as
|
|
71
|
-
import { ui as
|
|
72
|
-
import { Symbols as
|
|
73
|
+
import { OnScreenSensor as ue } from "./components/OnScreenSensor.js";
|
|
74
|
+
import { ui as Ie } from "./components/ui.js";
|
|
75
|
+
import { Symbols as Le } from "./components/Symbols.js";
|
|
73
76
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
Sr as
|
|
114
|
-
|
|
115
|
-
Or as
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
Ur as
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
77
|
+
$ as Accordion,
|
|
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,
|
|
88
|
+
uo as ButtonBar,
|
|
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,
|
|
103
|
+
X as IconButton,
|
|
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,
|
|
113
|
+
b as Linkify,
|
|
114
|
+
yr as Loaf,
|
|
115
|
+
Fo as Logos,
|
|
116
|
+
Sr as Modal,
|
|
117
|
+
Cr as NavList,
|
|
118
|
+
Or as OVERLAY_OUTLET_ID,
|
|
119
|
+
ue as OnScreenSensor,
|
|
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,
|
|
135
146
|
K as clamp,
|
|
136
|
-
|
|
147
|
+
N as clamp01,
|
|
137
148
|
f as clsx,
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
149
|
+
q as debounce,
|
|
150
|
+
E as defaultLinkReplacer,
|
|
151
|
+
D as defaultLinkReplacerx,
|
|
152
|
+
fe as getTextOpacity,
|
|
142
153
|
m as getValue,
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
154
|
+
S as identity,
|
|
155
|
+
A as invoke,
|
|
156
|
+
_ as isExternalUrl,
|
|
157
|
+
w as isFalseString,
|
|
158
|
+
G as isTrueString,
|
|
159
|
+
h as linkify,
|
|
160
|
+
v as linkifyx,
|
|
161
|
+
F as matchLinkNodes,
|
|
162
|
+
U as matchLinks,
|
|
152
163
|
t as mergeRefs,
|
|
153
|
-
|
|
164
|
+
C as noop,
|
|
154
165
|
Y as normalizeSlashes,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
166
|
+
H as replaceRange,
|
|
167
|
+
k as returnFalse,
|
|
168
|
+
O as returnTrue,
|
|
169
|
+
M as splitByIndices,
|
|
159
170
|
J as throttle,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
171
|
+
Ie as ui,
|
|
172
|
+
W as unicodeCharAt,
|
|
173
|
+
jr as useContextualStyle,
|
|
174
|
+
c as useDynamicRef,
|
|
164
175
|
d as useGlobalKeyboardEvent,
|
|
165
176
|
i as useInstance,
|
|
166
|
-
|
|
167
|
-
|
|
177
|
+
T as useKeyboardClose,
|
|
178
|
+
y as useOutlet,
|
|
168
179
|
l as usePopoverController,
|
|
169
180
|
g as useWindowResize
|
|
170
181
|
};
|