@cfx-dev/ui-components 4.3.14 → 4.3.17
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/{DropdownContent-Robn2rha.js → DropdownContent-BertjH0y.js} +128 -124
- package/dist/assets/css/DropdownContent.css +1 -1
- package/dist/assets/css/Select.css +1 -1
- package/dist/components/DropdownContent/DropdownContent.d.ts +6 -2
- package/dist/components/DropdownContent/DropdownContent.js +1 -1
- package/dist/components/DropdownContent/index.js +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.js +1 -1
- package/dist/components/DropdownSelect/DropdownSelect.d.ts +2 -2
- package/dist/components/DropdownSelect/DropdownSelect.js +56 -55
- package/dist/components/DropdownSelect/DropdownSelectShowcase.js +14 -14
- package/dist/components/Text/Text.js +54 -41
- package/dist/components/Text/Text.types.d.ts +2 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +178 -176
- package/dist/utils/joaat32.d.ts +1 -0
- package/dist/utils/joaat32.js +11 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -13,189 +13,190 @@ import { formatDate as D, formatLocaleDate as y, formatShortDate as P } from "./
|
|
|
13
13
|
import { CURRENCY_MAP as b, FREE_PRICE_TEXT as k, formatCurrency as _ } from "./utils/formatCurrency.js";
|
|
14
14
|
import { identity as F, invoke as v, noop as h, returnFalse as U, returnTrue as M } from "./utils/functional.js";
|
|
15
15
|
import { Linkify as z, defaultLinkReplacer as N, defaultLinkReplacerx as G, isExternalUrl as V, linkify as Y, linkifyx as K, matchLinkNodes as X, matchLinks as H } from "./utils/links.js";
|
|
16
|
-
import { clamp as
|
|
16
|
+
import { clamp as j, clamp01 as J, minmax as Q } from "./utils/math.js";
|
|
17
17
|
import { isFalseString as q, isTrueString as $, normalizeSlashes as oo, replaceRange as ro, splitByIndices as eo, unicodeCharAt as to } from "./utils/string.js";
|
|
18
18
|
import { debounce as fo, throttle as mo } from "./utils/execution.js";
|
|
19
19
|
import { getColor as xo } from "./utils/color.js";
|
|
20
20
|
import { ui as lo } from "./utils/ui/ui.js";
|
|
21
21
|
import { BorderRadiusEnum as so, ColorEnum as io, MediaQueryEnum as co, OffsetEnum as To, TextSizeEnum as Io, ZIndexEnum as Co } from "./utils/ui/ui.types.js";
|
|
22
22
|
import { isInEnum as go } from "./utils/enum.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import { default as Oo } from "./components/
|
|
27
|
-
import { default as vo
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import { default as
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { default as pr } from "./components/
|
|
39
|
-
import { default as nr } from "./components/
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import { I as gr } from "./
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import { default as kr } from "./components/
|
|
50
|
-
import { default as Or } from "./components/Input/
|
|
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 {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import { default as Lt } from "./components/InputDropzone/
|
|
92
|
-
import { default as St } from "./components/
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
23
|
+
import { joaat32 as Lo } from "./utils/joaat32.js";
|
|
24
|
+
import { default as So } from "./components/IconButton/IconButton.js";
|
|
25
|
+
import { Accordion as yo, AccordionContent as Po, AccordionHeader as Ao, AccordionItem as bo, AccordionTrigger as ko } from "./components/Accordion/Accordion.js";
|
|
26
|
+
import { default as Oo } from "./components/ClipboardButton/ClipboardButton.js";
|
|
27
|
+
import { default as vo } from "./components/Checkbox/Checkbox.js";
|
|
28
|
+
import { default as Uo, ButtonContent as Mo, getButtonClassName as wo } from "./components/Button/Button.js";
|
|
29
|
+
import { ButtonBar as No } from "./components/Button/ButtonBar.js";
|
|
30
|
+
import { LinkButton as Vo } from "./components/Button/LinkButton.js";
|
|
31
|
+
import { BurgerMenuButton as Ko } from "./components/BurgerMenu/BurgerMenuButton.js";
|
|
32
|
+
import { BurgerMenu as Ho } from "./components/BurgerMenu/BurgerMenu.js";
|
|
33
|
+
import { default as jo, getLinkClassName as Jo, getLinkStyles as Qo } from "./components/Link/Link.js";
|
|
34
|
+
import { default as qo } from "./components/Link/ButtonLink.js";
|
|
35
|
+
import { Avatar as or } from "./components/Avatar/Avatar.js";
|
|
36
|
+
import { BACKDROP_OUTLET_ID as er, default as tr } from "./components/BackdropPortal/BackdropPortal.js";
|
|
37
|
+
import { Badge as fr } from "./components/Badge/Badge.js";
|
|
38
|
+
import { default as pr } from "./components/ControlBox/ControlBox.js";
|
|
39
|
+
import { default as nr } from "./components/CountryFlag/CountryFlag.js";
|
|
40
|
+
import { default as ur } from "./components/Decorate/Decorate.js";
|
|
41
|
+
import { Dot as ir } from "./components/Dot/Dot.js";
|
|
42
|
+
import { FLYOUT_OUTLET_ID as cr, Flyout as Tr } from "./components/Flyout/Flyout.js";
|
|
43
|
+
import { Logos as Cr } from "./components/Logos/index.js";
|
|
44
|
+
import { I as gr } from "./cfxIcons-B9nzO6TW.js";
|
|
45
|
+
import { I as Lr } from "./cfxIconsBig-BLJjMT-Y.js";
|
|
46
|
+
import { Icon as Sr } from "./components/Icon/Icon.js";
|
|
47
|
+
import { IconBig as yr } from "./components/IconBig/IconBig.js";
|
|
48
|
+
import { Indicator as Ar } from "./components/Indicator/Indicator.js";
|
|
49
|
+
import { default as kr } from "./components/InfoPanel/InfoPanel.js";
|
|
50
|
+
import { default as Or } from "./components/Input/Input.js";
|
|
51
|
+
import { default as vr } from "./components/Input/RichInput.js";
|
|
52
|
+
import { Interactive as Ur } from "./components/Interactive/Interactive.js";
|
|
53
|
+
import { Island as wr, IslandCorner as zr } from "./components/Island/Island.js";
|
|
54
|
+
import { default as Gr } from "./components/Box/Box.js";
|
|
55
|
+
import { stringPropFormater as Yr } from "./components/RSC/Box/Box.js";
|
|
56
|
+
import { Center as Xr } from "./components/Layout/Center/Center.js";
|
|
57
|
+
import { default as Wr } from "./components/Flex/Flex.js";
|
|
58
|
+
import { FlexAlignItemsEnum as Jr, FlexDirectionEnum as Qr, FlexJustifyContentEnum as Zr, FlexWrapEnum as qr } from "./components/RSC/Flex/Flex.types.js";
|
|
59
|
+
import { FlexRestricter as oe } from "./components/RSC/Flex/FlexRestricter.js";
|
|
60
|
+
import { Pad as ee } from "./components/Layout/Pad/Pad.js";
|
|
61
|
+
import { Page as ae } from "./components/Layout/Page/Page.js";
|
|
62
|
+
import { R as me } from "./Rail-CHFAf3wJ.js";
|
|
63
|
+
import { Scrollable as xe } from "./components/Scrollable/Scrollable.js";
|
|
64
|
+
import { VirtualScrollable as le } from "./components/Scrollable/VirtualScrollable.js";
|
|
65
|
+
import { Loaf as se } from "./components/Loaf/Loaf.js";
|
|
66
|
+
import { Modal as de } from "./components/Modal/Modal.js";
|
|
67
|
+
import { NavList as Te } from "./components/NavList/NavList.js";
|
|
68
|
+
import { OVERLAY_OUTLET_ID as Ce, Overlay as Ee } from "./components/Overlay/Overlay.js";
|
|
69
|
+
import { default as Be } from "./components/Pagination/Pagination.js";
|
|
70
|
+
import { Popover as Re } from "./components/Popover/Popover.js";
|
|
71
|
+
import { PremiumBadge as De } from "./components/PremiumBadge/PremiumBadge.js";
|
|
72
|
+
import { Prose as Pe } from "./components/Prose/Prose.js";
|
|
73
|
+
import { Radio as be } from "./components/Radio/Radio.js";
|
|
74
|
+
import { Select as _e } from "./components/Select/Select.js";
|
|
75
|
+
import { DropdownSelect as Fe } from "./components/DropdownSelect/DropdownSelect.js";
|
|
76
|
+
import { default as he } from "./components/DropdownMenu/DropdownMenu.js";
|
|
77
|
+
import { Separator as Me } from "./components/Separator/Separator.js";
|
|
78
|
+
import { Shroud as ze } from "./components/Shroud/Shroud.js";
|
|
79
|
+
import { Slider as Ge } from "./components/Slider/Slider.js";
|
|
80
|
+
import { Spacer as Ye } from "./components/Spacer/Spacer.js";
|
|
81
|
+
import { Style as Xe, useContextualStyle as He } from "./components/Style/Style.js";
|
|
82
|
+
import { default as je } from "./components/Switch/Switch.js";
|
|
83
|
+
import { ToggleGroup as Qe } from "./components/ToggleGroup/ToggleGroup.js";
|
|
84
|
+
import { Tabular as qe } from "./components/Tabular/Tabular.js";
|
|
85
|
+
import { DataTable as ot, DataTableHeaderItem as rt, DataTableRow as et } from "./components/DataTable/DataTable.js";
|
|
86
|
+
import { Table as at } from "./components/Table/index.js";
|
|
87
|
+
import { default as mt } from "./components/TableResponsiveText/TableResponsiveText.js";
|
|
88
|
+
import { DEFAULT_TEXT_COLOR as xt, TEXT_OPACITY_MAP as nt, Text as lt, TextBlock as ut, getTextOpacity as st, textSizeResponsiveValueFormatter as it } from "./components/Text/Text.js";
|
|
89
|
+
import { Textarea as ct } from "./components/Textarea/Textarea.js";
|
|
90
|
+
import { TITLE_OUTLET_ID as It, Title as Ct, titleGetCoords as Et, titleGetCssStyle as gt } from "./components/Title/Title.js";
|
|
91
|
+
import { default as Lt } from "./components/InputDropzone/InputDropzone.js";
|
|
92
|
+
import { default as St } from "./components/InputDropzone/ItemPreview.js";
|
|
93
|
+
import { default as yt } from "./components/Skeleton/Skeleton.js";
|
|
94
|
+
import { OnScreenSensor as At } from "./components/OnScreenSensor.js";
|
|
95
|
+
import { Symbols as kt } from "./components/Symbols.js";
|
|
96
|
+
import { default as Ot } from "./components/Table/TableIconButton.js";
|
|
96
97
|
export {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
98
|
+
yo as Accordion,
|
|
99
|
+
Po as AccordionContent,
|
|
100
|
+
Ao as AccordionHeader,
|
|
101
|
+
bo as AccordionItem,
|
|
102
|
+
ko as AccordionTrigger,
|
|
103
|
+
or as Avatar,
|
|
104
|
+
er as BACKDROP_OUTLET_ID,
|
|
105
|
+
tr as BackdropPortal,
|
|
106
|
+
fr as Badge,
|
|
106
107
|
so as BorderRadiusEnum,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
108
|
+
Gr as Box,
|
|
109
|
+
Ho as BurgerMenu,
|
|
110
|
+
Ko as BurgerMenuButton,
|
|
111
|
+
Uo as Button,
|
|
112
|
+
No as ButtonBar,
|
|
113
|
+
Mo as ButtonContent,
|
|
114
|
+
qo as ButtonLink,
|
|
114
115
|
L as CLIPBOARD_TITLE_APPEARANCE,
|
|
115
116
|
b as CURRENCY_MAP,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
117
|
+
Xr as Center,
|
|
118
|
+
vo as Checkbox,
|
|
119
|
+
Oo as ClipboardButton,
|
|
119
120
|
io as ColorEnum,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
121
|
+
pr as ControlBox,
|
|
122
|
+
nr as CountryFlag,
|
|
123
|
+
xt as DEFAULT_TEXT_COLOR,
|
|
124
|
+
ot as DataTable,
|
|
125
|
+
rt as DataTableHeaderItem,
|
|
126
|
+
et as DataTableRow,
|
|
127
|
+
ur as Decorate,
|
|
128
|
+
ir as Dot,
|
|
129
|
+
he as DropdownMenu,
|
|
130
|
+
Fe as DropdownSelect,
|
|
131
|
+
St as DropzoneItemPreview,
|
|
132
|
+
cr as FLYOUT_OUTLET_ID,
|
|
132
133
|
k as FREE_PRICE_TEXT,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
134
|
+
Wr as Flex,
|
|
135
|
+
Jr as FlexAlignItemsEnum,
|
|
136
|
+
Qr as FlexDirectionEnum,
|
|
137
|
+
Zr as FlexJustifyContentEnum,
|
|
138
|
+
oe as FlexRestricter,
|
|
139
|
+
qr as FlexWrapEnum,
|
|
140
|
+
Tr as Flyout,
|
|
141
|
+
Sr as Icon,
|
|
142
|
+
yr as IconBig,
|
|
143
|
+
So as IconButton,
|
|
144
|
+
gr as Icons,
|
|
145
|
+
Lr as IconsBig,
|
|
146
|
+
Ar as Indicator,
|
|
147
|
+
kr as InfoPanel,
|
|
148
|
+
Or as Input,
|
|
149
|
+
Lt as InputDropzone,
|
|
150
|
+
Ur as Interactive,
|
|
151
|
+
wr as Island,
|
|
152
|
+
zr as IslandCorner,
|
|
153
|
+
jo as Link,
|
|
154
|
+
Vo as LinkButton,
|
|
154
155
|
z as Linkify,
|
|
155
|
-
|
|
156
|
-
|
|
156
|
+
se as Loaf,
|
|
157
|
+
Cr as Logos,
|
|
157
158
|
co as MediaQueryEnum,
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
159
|
+
de as Modal,
|
|
160
|
+
Te as NavList,
|
|
161
|
+
Ce as OVERLAY_OUTLET_ID,
|
|
161
162
|
To as OffsetEnum,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
163
|
+
At as OnScreenSensor,
|
|
164
|
+
Ee as Overlay,
|
|
165
|
+
ee as Pad,
|
|
166
|
+
ae as Page,
|
|
167
|
+
Be as Pagination,
|
|
168
|
+
Re as Popover,
|
|
169
|
+
De as PremiumBadge,
|
|
170
|
+
Pe as Prose,
|
|
171
|
+
be as Radio,
|
|
172
|
+
me as Rail,
|
|
173
|
+
vr as RichInput,
|
|
174
|
+
xe as Scrollable,
|
|
175
|
+
_e as Select,
|
|
176
|
+
Me as Separator,
|
|
177
|
+
ze as Shroud,
|
|
178
|
+
yt as Skeleton,
|
|
179
|
+
Ge as Slider,
|
|
180
|
+
Ye as Spacer,
|
|
181
|
+
Xe as Style,
|
|
182
|
+
je as Switch,
|
|
183
|
+
kt as Symbols,
|
|
184
|
+
nt as TEXT_OPACITY_MAP,
|
|
185
|
+
It as TITLE_OUTLET_ID,
|
|
186
|
+
at as Table,
|
|
187
|
+
Ot as TableIconButton,
|
|
188
|
+
mt as TableResponsiveText,
|
|
189
|
+
qe as Tabular,
|
|
190
|
+
lt as Text,
|
|
191
|
+
ut as TextBlock,
|
|
191
192
|
Io as TextSizeEnum,
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
ct as Textarea,
|
|
194
|
+
Ct as Title,
|
|
195
|
+
Qe as ToggleGroup,
|
|
196
|
+
le as VirtualScrollable,
|
|
196
197
|
Co as ZIndexEnum,
|
|
197
|
-
|
|
198
|
-
|
|
198
|
+
j as clamp,
|
|
199
|
+
J as clamp01,
|
|
199
200
|
a as clsx,
|
|
200
201
|
fo as debounce,
|
|
201
202
|
N as defaultLinkReplacer,
|
|
@@ -204,11 +205,11 @@ export {
|
|
|
204
205
|
D as formatDate,
|
|
205
206
|
y as formatLocaleDate,
|
|
206
207
|
P as formatShortDate,
|
|
207
|
-
|
|
208
|
+
wo as getButtonClassName,
|
|
208
209
|
xo as getColor,
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
210
|
+
Jo as getLinkClassName,
|
|
211
|
+
Qo as getLinkStyles,
|
|
212
|
+
st as getTextOpacity,
|
|
212
213
|
m as getValue,
|
|
213
214
|
F as identity,
|
|
214
215
|
v as invoke,
|
|
@@ -216,27 +217,28 @@ export {
|
|
|
216
217
|
q as isFalseString,
|
|
217
218
|
go as isInEnum,
|
|
218
219
|
$ as isTrueString,
|
|
220
|
+
Lo as joaat32,
|
|
219
221
|
Y as linkify,
|
|
220
222
|
K as linkifyx,
|
|
221
223
|
X as matchLinkNodes,
|
|
222
224
|
H as matchLinks,
|
|
223
225
|
e as mergeRefs,
|
|
224
|
-
|
|
226
|
+
Q as minmax,
|
|
225
227
|
h as noop,
|
|
226
228
|
oo as normalizeSlashes,
|
|
227
229
|
ro as replaceRange,
|
|
228
230
|
U as returnFalse,
|
|
229
231
|
M as returnTrue,
|
|
230
232
|
eo as splitByIndices,
|
|
231
|
-
|
|
232
|
-
|
|
233
|
+
Yr as stringPropFormater,
|
|
234
|
+
it as textSizeResponsiveValueFormatter,
|
|
233
235
|
mo as throttle,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
+
Et as titleGetCoords,
|
|
237
|
+
gt as titleGetCssStyle,
|
|
236
238
|
lo as ui,
|
|
237
239
|
to as unicodeCharAt,
|
|
238
240
|
R as useClipboardComponent,
|
|
239
|
-
|
|
241
|
+
He as useContextualStyle,
|
|
240
242
|
s as useDynamicRef,
|
|
241
243
|
d as useGlobalKeyboardEvent,
|
|
242
244
|
l as useInstance,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function joaat32(key: string): number;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const t = new Uint32Array(1);
|
|
2
|
+
function e(a) {
|
|
3
|
+
const o = a.toLowerCase();
|
|
4
|
+
t[0] = 0;
|
|
5
|
+
for (const r in o)
|
|
6
|
+
Object.prototype.hasOwnProperty.call(o, r) && (t[0] += o.charCodeAt(r), t[0] += t[0] << 10, t[0] ^= t[0] >>> 6);
|
|
7
|
+
return t[0] += t[0] << 3, t[0] ^= t[0] >>> 11, t[0] += t[0] << 15, t[0];
|
|
8
|
+
}
|
|
9
|
+
export {
|
|
10
|
+
e as joaat32
|
|
11
|
+
};
|