@cfx-dev/ui-components 4.2.23 → 4.2.24
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/main.d.ts +1 -1
- package/dist/main.js +187 -186
- package/package.json +1 -1
package/dist/main.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export type { OutletPosition, UseClipboardProps, } from './utils/hooks';
|
|
|
7
7
|
export { noop, returnTrue, returnFalse, identity, invoke, } from './utils/functional';
|
|
8
8
|
export { isExternalUrl, matchLinks, matchLinkNodes, defaultLinkReplacerx, defaultLinkReplacer, linkifyx, linkify, Linkify, } from './utils/links';
|
|
9
9
|
export type { ILinkSubstitute, ILinkMatch, LinkifyProps, } from './utils/links';
|
|
10
|
-
export { clamp01, clamp, } from './utils/math';
|
|
10
|
+
export { clamp01, clamp, minmax, } from './utils/math';
|
|
11
11
|
export { unicodeCharAt, splitByIndices, replaceRange, normalizeSlashes, isTrueString, isFalseString, } from './utils/string';
|
|
12
12
|
export { debounce, throttle, } from './utils/execution';
|
|
13
13
|
export type { SetTimeoutReturn } from './utils/execution';
|
package/dist/main.js
CHANGED
|
@@ -11,213 +11,214 @@ import { useOutlet as E } from "./utils/hooks/useOutlet.js";
|
|
|
11
11
|
import { CLIPBOARD_TITLE_APPEARANCE as L, useClipboardComponent as S } from "./utils/hooks/useClipboardComponent.js";
|
|
12
12
|
import { identity as R, invoke as k, noop as A, returnFalse as O, returnTrue as P } from "./utils/functional.js";
|
|
13
13
|
import { Linkify as D, defaultLinkReplacer as F, defaultLinkReplacerx as _, isExternalUrl as v, linkify as h, linkifyx as U, matchLinkNodes as z, matchLinks as w } from "./utils/links.js";
|
|
14
|
-
import { clamp as N, clamp01 as G } from "./utils/math.js";
|
|
15
|
-
import { isFalseString as
|
|
16
|
-
import { debounce as
|
|
17
|
-
import { getColor as
|
|
18
|
-
import { ui as
|
|
19
|
-
import { BorderRadiusEnum as
|
|
20
|
-
import { isInEnum as
|
|
21
|
-
import { default as
|
|
22
|
-
import { Accordion as
|
|
23
|
-
import { default as
|
|
24
|
-
import { default as
|
|
25
|
-
import { Button as
|
|
26
|
-
import { ButtonBar as
|
|
27
|
-
import { LinkButton as
|
|
28
|
-
import { BurgerMenuButton as
|
|
29
|
-
import { BurgerMenu as
|
|
30
|
-
import { default as
|
|
31
|
-
import { default as
|
|
32
|
-
import { Avatar as
|
|
33
|
-
import { BACKDROP_OUTLET_ID as
|
|
34
|
-
import { Badge as
|
|
35
|
-
import { default as
|
|
36
|
-
import { default as
|
|
37
|
-
import { default as
|
|
38
|
-
import { Dot as
|
|
39
|
-
import { FLYOUT_OUTLET_ID as
|
|
40
|
-
import { Logos as
|
|
41
|
-
import { I as
|
|
42
|
-
import { I as
|
|
43
|
-
import { Icon as
|
|
44
|
-
import { IconBig as
|
|
45
|
-
import { Indicator as
|
|
46
|
-
import { default as
|
|
47
|
-
import { default as
|
|
48
|
-
import { default as
|
|
49
|
-
import { Interactive as
|
|
50
|
-
import { Island as
|
|
51
|
-
import { Box as
|
|
52
|
-
import { Center as
|
|
53
|
-
import { Flex as
|
|
54
|
-
import { FlexAlignItemsEnum as
|
|
55
|
-
import { FlexRestricter as
|
|
56
|
-
import { Pad as
|
|
57
|
-
import { Page as
|
|
58
|
-
import { R as
|
|
59
|
-
import { Scrollable as
|
|
60
|
-
import { VirtualScrollable as
|
|
61
|
-
import { Loaf as
|
|
62
|
-
import { Modal as
|
|
63
|
-
import { NavList as
|
|
64
|
-
import { OVERLAY_OUTLET_ID as
|
|
65
|
-
import { Popover as
|
|
66
|
-
import { PremiumBadge as
|
|
67
|
-
import { Prose as
|
|
68
|
-
import { Radio as
|
|
69
|
-
import { Select as
|
|
70
|
-
import { DropdownSelect as
|
|
71
|
-
import { Separator as
|
|
72
|
-
import { Shroud as
|
|
73
|
-
import { Slider as
|
|
74
|
-
import { Spacer as
|
|
75
|
-
import { Style as
|
|
76
|
-
import { default as
|
|
77
|
-
import { ToggleGroup as
|
|
78
|
-
import { Tabular as
|
|
79
|
-
import { Table as
|
|
80
|
-
import { DEFAULT_TEXT_COLOR as
|
|
81
|
-
import { Textarea as
|
|
82
|
-
import { TITLE_OUTLET_ID as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { OnScreenSensor as
|
|
87
|
-
import { Symbols as
|
|
14
|
+
import { clamp as N, clamp01 as G, minmax as V } from "./utils/math.js";
|
|
15
|
+
import { isFalseString as Y, isTrueString as H, normalizeSlashes as W, replaceRange as X, splitByIndices as J, unicodeCharAt as Q } from "./utils/string.js";
|
|
16
|
+
import { debounce as j, throttle as q } from "./utils/execution.js";
|
|
17
|
+
import { getColor as oo } from "./utils/color.js";
|
|
18
|
+
import { ui as eo } from "./utils/ui/ui.js";
|
|
19
|
+
import { BorderRadiusEnum as mo, ColorEnum as fo, MediaQueryEnum as po, OffsetEnum as ao, TextSizeEnum as xo, ZIndexEnum as no } from "./utils/ui/ui.types.js";
|
|
20
|
+
import { isInEnum as uo } from "./utils/enum.js";
|
|
21
|
+
import { default as io } from "./components/IconButton/IconButton.js";
|
|
22
|
+
import { Accordion as To, AccordionContent as Io, AccordionHeader as Co, AccordionItem as Bo, AccordionTrigger as Eo } from "./components/Accordion/Accordion.js";
|
|
23
|
+
import { default as Lo } from "./components/ClipboardButton/ClipboardButton.js";
|
|
24
|
+
import { default as yo } from "./components/Checkbox/Checkbox.js";
|
|
25
|
+
import { Button as ko, ButtonContent as Ao, getButtonClassName as Oo } from "./components/Button/Button.js";
|
|
26
|
+
import { ButtonBar as bo } from "./components/Button/ButtonBar.js";
|
|
27
|
+
import { LinkButton as Fo } from "./components/Button/LinkButton.js";
|
|
28
|
+
import { BurgerMenuButton as vo } from "./components/BurgerMenu/BurgerMenuButton.js";
|
|
29
|
+
import { BurgerMenu as Uo } from "./components/BurgerMenu/BurgerMenu.js";
|
|
30
|
+
import { default as wo, getLinkClassName as Mo, getLinkStyles as No } from "./components/Link/Link.js";
|
|
31
|
+
import { default as Vo } from "./components/Link/ButtonLink.js";
|
|
32
|
+
import { Avatar as Yo } from "./components/Avatar/Avatar.js";
|
|
33
|
+
import { BACKDROP_OUTLET_ID as Wo, default as Xo } from "./components/BackdropPortal/BackdropPortal.js";
|
|
34
|
+
import { Badge as Qo } from "./components/Badge/Badge.js";
|
|
35
|
+
import { default as jo } from "./components/ControlBox/ControlBox.js";
|
|
36
|
+
import { default as $o } from "./components/CountryFlag/CountryFlag.js";
|
|
37
|
+
import { default as rr } from "./components/Decorate/Decorate.js";
|
|
38
|
+
import { Dot as tr } from "./components/Dot/Dot.js";
|
|
39
|
+
import { FLYOUT_OUTLET_ID as fr, Flyout as pr } from "./components/Flyout/Flyout.js";
|
|
40
|
+
import { Logos as xr } from "./components/Logos/index.js";
|
|
41
|
+
import { I as lr } from "./cfxIcons-BNd1WgpX.js";
|
|
42
|
+
import { I as sr } from "./cfxIconsBig-BLJjMT-Y.js";
|
|
43
|
+
import { Icon as dr } from "./components/Icon/Icon.js";
|
|
44
|
+
import { IconBig as Tr } from "./components/IconBig/IconBig.js";
|
|
45
|
+
import { Indicator as Cr } from "./components/Indicator/Indicator.js";
|
|
46
|
+
import { default as Er } from "./components/InfoPanel/InfoPanel.js";
|
|
47
|
+
import { default as Lr } from "./components/Input/Input.js";
|
|
48
|
+
import { default as yr } from "./components/Input/RichInput.js";
|
|
49
|
+
import { Interactive as kr } from "./components/Interactive/Interactive.js";
|
|
50
|
+
import { Island as Or, IslandCorner as Pr } from "./components/Island/Island.js";
|
|
51
|
+
import { Box as Dr, flexPropFormater as Fr } from "./components/Layout/Box/Box.js";
|
|
52
|
+
import { Center as vr } from "./components/Layout/Center/Center.js";
|
|
53
|
+
import { Flex as Ur } from "./components/Layout/Flex/Flex.js";
|
|
54
|
+
import { FlexAlignItemsEnum as wr, FlexDirectionEnum as Mr, FlexJustifyContentEnum as Nr, FlexWrapEnum as Gr } from "./components/Layout/Flex/Flex.types.js";
|
|
55
|
+
import { FlexRestricter as Kr } from "./components/Layout/Flex/FlexRestricter.js";
|
|
56
|
+
import { Pad as Hr } from "./components/Layout/Pad/Pad.js";
|
|
57
|
+
import { Page as Xr } from "./components/Layout/Page/Page.js";
|
|
58
|
+
import { R as Qr } from "./Rail-DcVowhML.js";
|
|
59
|
+
import { Scrollable as jr } from "./components/Layout/Scrollable/Scrollable.js";
|
|
60
|
+
import { VirtualScrollable as $r } from "./components/Layout/Scrollable/VirtualScrollable.js";
|
|
61
|
+
import { Loaf as re } from "./components/Loaf/Loaf.js";
|
|
62
|
+
import { Modal as te } from "./components/Modal/Modal.js";
|
|
63
|
+
import { NavList as fe } from "./components/NavList/NavList.js";
|
|
64
|
+
import { OVERLAY_OUTLET_ID as ae, Overlay as xe } from "./components/Overlay/Overlay.js";
|
|
65
|
+
import { Popover as le } from "./components/Popover/Popover.js";
|
|
66
|
+
import { PremiumBadge as se } from "./components/PremiumBadge/PremiumBadge.js";
|
|
67
|
+
import { Prose as de } from "./components/Prose/Prose.js";
|
|
68
|
+
import { Radio as Te } from "./components/Radio/Radio.js";
|
|
69
|
+
import { Select as Ce } from "./components/Select/Select.js";
|
|
70
|
+
import { DropdownSelect as Ee } from "./components/DropdownSelect/DropdownSelect.js";
|
|
71
|
+
import { Separator as Le } from "./components/Separator/Separator.js";
|
|
72
|
+
import { Shroud as ye } from "./components/Shroud/Shroud.js";
|
|
73
|
+
import { Slider as ke } from "./components/Slider/Slider.js";
|
|
74
|
+
import { Spacer as Oe } from "./components/Spacer/Spacer.js";
|
|
75
|
+
import { Style as be, useContextualStyle as De } from "./components/Style/Style.js";
|
|
76
|
+
import { default as _e } from "./components/Switch/Switch.js";
|
|
77
|
+
import { ToggleGroup as he } from "./components/ToggleGroup/ToggleGroup.js";
|
|
78
|
+
import { Tabular as ze } from "./components/Tabular/Tabular.js";
|
|
79
|
+
import { Table as Me, TableHeaderItem as Ne, TableIconButton as Ge, TableRow as Ve } from "./components/Table/Table.js";
|
|
80
|
+
import { DEFAULT_TEXT_COLOR as Ye, TEXT_OPACITY_MAP as He, Text as We, TextBlock as Xe, getTextOpacity as Je, textSizeResponsiveValueFormatter as Qe } from "./components/Text/Text.js";
|
|
81
|
+
import { Textarea as je } from "./components/Textarea/Textarea.js";
|
|
82
|
+
import { TITLE_OUTLET_ID as $e, Title as ot, titleGetCoords as rt, titleGetCssStyle as et } from "./components/Title/Title.js";
|
|
83
|
+
import { default as mt } from "./components/InputDropzone/InputDropzone.js";
|
|
84
|
+
import { default as pt } from "./components/InputDropzone/ItemPreview.js";
|
|
85
|
+
import { default as xt } from "./components/Skeleton/Skeleton.js";
|
|
86
|
+
import { OnScreenSensor as lt } from "./components/OnScreenSensor.js";
|
|
87
|
+
import { Symbols as st } from "./components/Symbols.js";
|
|
88
88
|
export {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
89
|
+
To as Accordion,
|
|
90
|
+
Io as AccordionContent,
|
|
91
|
+
Co as AccordionHeader,
|
|
92
|
+
Bo as AccordionItem,
|
|
93
|
+
Eo as AccordionTrigger,
|
|
94
|
+
Yo as Avatar,
|
|
95
|
+
Wo as BACKDROP_OUTLET_ID,
|
|
96
|
+
Xo as BackdropPortal,
|
|
97
|
+
Qo as Badge,
|
|
98
|
+
mo as BorderRadiusEnum,
|
|
99
|
+
Dr as Box,
|
|
100
|
+
Uo as BurgerMenu,
|
|
101
|
+
vo as BurgerMenuButton,
|
|
102
|
+
ko as Button,
|
|
103
|
+
bo as ButtonBar,
|
|
104
|
+
Ao as ButtonContent,
|
|
105
|
+
Vo as ButtonLink,
|
|
106
106
|
L as CLIPBOARD_TITLE_APPEARANCE,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
107
|
+
vr as Center,
|
|
108
|
+
yo as Checkbox,
|
|
109
|
+
Lo as ClipboardButton,
|
|
110
|
+
fo as ColorEnum,
|
|
111
|
+
jo as ControlBox,
|
|
112
|
+
$o as CountryFlag,
|
|
113
|
+
Ye as DEFAULT_TEXT_COLOR,
|
|
114
|
+
rr as Decorate,
|
|
115
|
+
tr as Dot,
|
|
116
|
+
Ee as DropdownSelect,
|
|
117
|
+
pt as DropzoneItemPreview,
|
|
118
|
+
fr as FLYOUT_OUTLET_ID,
|
|
119
|
+
Ur as Flex,
|
|
120
|
+
wr as FlexAlignItemsEnum,
|
|
121
|
+
Mr as FlexDirectionEnum,
|
|
122
|
+
Nr as FlexJustifyContentEnum,
|
|
123
|
+
Kr as FlexRestricter,
|
|
124
|
+
Gr as FlexWrapEnum,
|
|
125
|
+
pr as Flyout,
|
|
126
|
+
dr as Icon,
|
|
127
|
+
Tr as IconBig,
|
|
128
|
+
io as IconButton,
|
|
129
|
+
lr as Icons,
|
|
130
|
+
sr as IconsBig,
|
|
131
|
+
Cr as Indicator,
|
|
132
|
+
Er as InfoPanel,
|
|
133
|
+
Lr as Input,
|
|
134
|
+
mt as InputDropzone,
|
|
135
|
+
kr as Interactive,
|
|
136
|
+
Or as Island,
|
|
137
|
+
Pr as IslandCorner,
|
|
138
|
+
wo as Link,
|
|
139
|
+
Fo as LinkButton,
|
|
140
140
|
D as Linkify,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
141
|
+
re as Loaf,
|
|
142
|
+
xr as Logos,
|
|
143
|
+
po as MediaQueryEnum,
|
|
144
|
+
te as Modal,
|
|
145
|
+
fe as NavList,
|
|
146
|
+
ae as OVERLAY_OUTLET_ID,
|
|
147
|
+
ao as OffsetEnum,
|
|
148
|
+
lt as OnScreenSensor,
|
|
149
|
+
xe as Overlay,
|
|
150
|
+
Hr as Pad,
|
|
151
|
+
Xr as Page,
|
|
152
|
+
le as Popover,
|
|
153
|
+
se as PremiumBadge,
|
|
154
|
+
de as Prose,
|
|
155
|
+
Te as Radio,
|
|
156
|
+
Qr as Rail,
|
|
157
|
+
yr as RichInput,
|
|
158
|
+
jr as Scrollable,
|
|
159
|
+
Ce as Select,
|
|
160
|
+
Le as Separator,
|
|
161
|
+
ye as Shroud,
|
|
162
|
+
xt as Skeleton,
|
|
163
|
+
ke as Slider,
|
|
164
|
+
Oe as Spacer,
|
|
165
|
+
be as Style,
|
|
166
|
+
_e as Switch,
|
|
167
|
+
st as Symbols,
|
|
168
|
+
He as TEXT_OPACITY_MAP,
|
|
169
|
+
$e as TITLE_OUTLET_ID,
|
|
170
|
+
Me as Table,
|
|
171
|
+
Ne as TableHeaderItem,
|
|
172
|
+
Ge as TableIconButton,
|
|
173
|
+
Ve as TableRow,
|
|
174
|
+
ze as Tabular,
|
|
175
|
+
We as Text,
|
|
176
|
+
Xe as TextBlock,
|
|
177
|
+
xo as TextSizeEnum,
|
|
178
|
+
je as Textarea,
|
|
179
|
+
ot as Title,
|
|
180
|
+
he as ToggleGroup,
|
|
181
|
+
$r as VirtualScrollable,
|
|
182
|
+
no as ZIndexEnum,
|
|
183
183
|
N as clamp,
|
|
184
184
|
G as clamp01,
|
|
185
185
|
m as clsx,
|
|
186
|
-
|
|
186
|
+
j as debounce,
|
|
187
187
|
F as defaultLinkReplacer,
|
|
188
188
|
_ as defaultLinkReplacerx,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
189
|
+
Fr as flexPropFormater,
|
|
190
|
+
Oo as getButtonClassName,
|
|
191
|
+
oo as getColor,
|
|
192
|
+
Mo as getLinkClassName,
|
|
193
|
+
No as getLinkStyles,
|
|
194
|
+
Je as getTextOpacity,
|
|
195
195
|
p as getValue,
|
|
196
196
|
R as identity,
|
|
197
197
|
k as invoke,
|
|
198
198
|
v as isExternalUrl,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
199
|
+
Y as isFalseString,
|
|
200
|
+
uo as isInEnum,
|
|
201
|
+
H as isTrueString,
|
|
202
202
|
h as linkify,
|
|
203
203
|
U as linkifyx,
|
|
204
204
|
z as matchLinkNodes,
|
|
205
205
|
w as matchLinks,
|
|
206
206
|
e as mergeRefs,
|
|
207
|
+
V as minmax,
|
|
207
208
|
A as noop,
|
|
208
|
-
|
|
209
|
-
|
|
209
|
+
W as normalizeSlashes,
|
|
210
|
+
X as replaceRange,
|
|
210
211
|
O as returnFalse,
|
|
211
212
|
P as returnTrue,
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
213
|
+
J as splitByIndices,
|
|
214
|
+
Qe as textSizeResponsiveValueFormatter,
|
|
215
|
+
q as throttle,
|
|
216
|
+
rt as titleGetCoords,
|
|
217
|
+
et as titleGetCssStyle,
|
|
218
|
+
eo as ui,
|
|
219
|
+
Q as unicodeCharAt,
|
|
219
220
|
S as useClipboardComponent,
|
|
220
|
-
|
|
221
|
+
De as useContextualStyle,
|
|
221
222
|
s as useDynamicRef,
|
|
222
223
|
d as useGlobalKeyboardEvent,
|
|
223
224
|
l as useInstance,
|