@cfx-dev/ui-components 4.2.22 → 4.2.23

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 CHANGED
@@ -28,7 +28,7 @@ export { Button, ButtonContent, getButtonClassName, ButtonBar, LinkButton, } fro
28
28
  export type { ButtonProps, ButtonTheme, ButtonBarProps, LinkButtonProps, } from './components/Button';
29
29
  export { BurgerMenu, BurgerMenuButton } from './components/BurgerMenu';
30
30
  export type { BurgerMenuItem, BurgerMenuProps, BurgerMenuButtonProps, } from './components/BurgerMenu';
31
- export { Link, ButtonLink, getLinkClassName, } from './components/Link';
31
+ export { Link, ButtonLink, getLinkClassName, getLinkStyles, } from './components/Link';
32
32
  export type { LinkProps, LinkBaseProps } from './components/Link';
33
33
  export { Avatar } from './components/Avatar';
34
34
  export type { AvatarProps, AvatarSize } from './components/Avatar';
package/dist/main.js CHANGED
@@ -9,7 +9,7 @@ import { useKeyboardClose as T } from "./utils/hooks/useKeyboardClose.js";
9
9
  import { useWindowResize as C } from "./utils/hooks/useWindowResize.js";
10
10
  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
- import { identity as y, invoke as A, noop as k, returnFalse as O, returnTrue as P } from "./utils/functional.js";
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
14
  import { clamp as N, clamp01 as G } from "./utils/math.js";
15
15
  import { isFalseString as K, isTrueString as Y, normalizeSlashes as H, replaceRange as W, splitByIndices as X, unicodeCharAt as J } from "./utils/string.js";
@@ -22,163 +22,163 @@ import { default as so } from "./components/IconButton/IconButton.js";
22
22
  import { Accordion as co, AccordionContent as To, AccordionHeader as Io, AccordionItem as Co, AccordionTrigger as Bo } from "./components/Accordion/Accordion.js";
23
23
  import { default as go } from "./components/ClipboardButton/ClipboardButton.js";
24
24
  import { default as So } from "./components/Checkbox/Checkbox.js";
25
- import { Button as yo, ButtonContent as Ao, getButtonClassName as ko } from "./components/Button/Button.js";
25
+ import { Button as Ro, ButtonContent as ko, getButtonClassName as Ao } from "./components/Button/Button.js";
26
26
  import { ButtonBar as Po } from "./components/Button/ButtonBar.js";
27
27
  import { LinkButton as Do } from "./components/Button/LinkButton.js";
28
28
  import { BurgerMenuButton as _o } from "./components/BurgerMenu/BurgerMenuButton.js";
29
29
  import { BurgerMenu as ho } from "./components/BurgerMenu/BurgerMenu.js";
30
- import { default as zo, getLinkClassName as wo } from "./components/Link/Link.js";
31
- import { default as No } from "./components/Link/ButtonLink.js";
32
- import { Avatar as Vo } from "./components/Avatar/Avatar.js";
33
- import { BACKDROP_OUTLET_ID as Yo, default as Ho } from "./components/BackdropPortal/BackdropPortal.js";
34
- import { Badge as Xo } from "./components/Badge/Badge.js";
35
- import { default as Qo } from "./components/ControlBox/ControlBox.js";
36
- import { default as jo } from "./components/CountryFlag/CountryFlag.js";
37
- import { default as $o } from "./components/Decorate/Decorate.js";
38
- import { Dot as rr } from "./components/Dot/Dot.js";
39
- import { FLYOUT_OUTLET_ID as tr, Flyout as mr } from "./components/Flyout/Flyout.js";
40
- import { Logos as pr } from "./components/Logos/index.js";
41
- import { I as xr } from "./cfxIcons-BNd1WgpX.js";
42
- import { I as lr } from "./cfxIconsBig-BLJjMT-Y.js";
43
- import { Icon as sr } from "./components/Icon/Icon.js";
44
- import { IconBig as dr } from "./components/IconBig/IconBig.js";
45
- import { Indicator as Tr } from "./components/Indicator/Indicator.js";
46
- import { default as Cr } from "./components/InfoPanel/InfoPanel.js";
47
- import { default as Er } from "./components/Input/Input.js";
48
- import { default as Lr } from "./components/Input/RichInput.js";
30
+ import { default as zo, getLinkClassName as wo, getLinkStyles as Mo } from "./components/Link/Link.js";
31
+ import { default as Go } from "./components/Link/ButtonLink.js";
32
+ import { Avatar as Ko } from "./components/Avatar/Avatar.js";
33
+ import { BACKDROP_OUTLET_ID as Ho, default as Wo } from "./components/BackdropPortal/BackdropPortal.js";
34
+ import { Badge as Jo } from "./components/Badge/Badge.js";
35
+ import { default as Zo } from "./components/ControlBox/ControlBox.js";
36
+ import { default as qo } from "./components/CountryFlag/CountryFlag.js";
37
+ import { default as or } from "./components/Decorate/Decorate.js";
38
+ import { Dot as er } from "./components/Dot/Dot.js";
39
+ import { FLYOUT_OUTLET_ID as mr, Flyout as fr } from "./components/Flyout/Flyout.js";
40
+ import { Logos as ar } from "./components/Logos/index.js";
41
+ import { I as nr } from "./cfxIcons-BNd1WgpX.js";
42
+ import { I as ur } from "./cfxIconsBig-BLJjMT-Y.js";
43
+ import { Icon as ir } from "./components/Icon/Icon.js";
44
+ import { IconBig as cr } from "./components/IconBig/IconBig.js";
45
+ import { Indicator as Ir } from "./components/Indicator/Indicator.js";
46
+ import { default as Br } from "./components/InfoPanel/InfoPanel.js";
47
+ import { default as gr } from "./components/Input/Input.js";
48
+ import { default as Sr } from "./components/Input/RichInput.js";
49
49
  import { Interactive as Rr } from "./components/Interactive/Interactive.js";
50
- import { Island as Ar, IslandCorner as kr } from "./components/Island/Island.js";
51
- import { Box as Pr, flexPropFormater as br } from "./components/Layout/Box/Box.js";
52
- import { Center as Fr } from "./components/Layout/Center/Center.js";
53
- import { Flex as vr } from "./components/Layout/Flex/Flex.js";
54
- import { FlexAlignItemsEnum as Ur, FlexDirectionEnum as zr, FlexJustifyContentEnum as wr, FlexWrapEnum as Mr } from "./components/Layout/Flex/Flex.types.js";
55
- import { FlexRestricter as Gr } from "./components/Layout/Flex/FlexRestricter.js";
56
- import { Pad as Kr } from "./components/Layout/Pad/Pad.js";
57
- import { Page as Hr } from "./components/Layout/Page/Page.js";
58
- import { R as Xr } from "./Rail-DcVowhML.js";
59
- import { Scrollable as Qr } from "./components/Layout/Scrollable/Scrollable.js";
60
- import { VirtualScrollable as jr } from "./components/Layout/Scrollable/VirtualScrollable.js";
61
- import { Loaf as $r } from "./components/Loaf/Loaf.js";
62
- import { Modal as re } from "./components/Modal/Modal.js";
63
- import { NavList as te } from "./components/NavList/NavList.js";
64
- import { OVERLAY_OUTLET_ID as fe, Overlay as pe } from "./components/Overlay/Overlay.js";
65
- import { Popover as xe } from "./components/Popover/Popover.js";
66
- import { PremiumBadge as le } from "./components/PremiumBadge/PremiumBadge.js";
67
- import { Prose as se } from "./components/Prose/Prose.js";
68
- import { Radio as de } from "./components/Radio/Radio.js";
69
- import { Select as Te } from "./components/Select/Select.js";
70
- import { DropdownSelect as Ce } from "./components/DropdownSelect/DropdownSelect.js";
71
- import { Separator as Ee } from "./components/Separator/Separator.js";
72
- import { Shroud as Le } from "./components/Shroud/Shroud.js";
50
+ import { Island as Ar, IslandCorner as Or } from "./components/Island/Island.js";
51
+ import { Box as br, flexPropFormater as Dr } from "./components/Layout/Box/Box.js";
52
+ import { Center as _r } from "./components/Layout/Center/Center.js";
53
+ import { Flex as hr } from "./components/Layout/Flex/Flex.js";
54
+ import { FlexAlignItemsEnum as zr, FlexDirectionEnum as wr, FlexJustifyContentEnum as Mr, FlexWrapEnum as Nr } from "./components/Layout/Flex/Flex.types.js";
55
+ import { FlexRestricter as Vr } from "./components/Layout/Flex/FlexRestricter.js";
56
+ import { Pad as Yr } from "./components/Layout/Pad/Pad.js";
57
+ import { Page as Wr } from "./components/Layout/Page/Page.js";
58
+ import { R as Jr } from "./Rail-DcVowhML.js";
59
+ import { Scrollable as Zr } from "./components/Layout/Scrollable/Scrollable.js";
60
+ import { VirtualScrollable as qr } from "./components/Layout/Scrollable/VirtualScrollable.js";
61
+ import { Loaf as oe } from "./components/Loaf/Loaf.js";
62
+ import { Modal as ee } from "./components/Modal/Modal.js";
63
+ import { NavList as me } from "./components/NavList/NavList.js";
64
+ import { OVERLAY_OUTLET_ID as pe, Overlay as ae } from "./components/Overlay/Overlay.js";
65
+ import { Popover as ne } from "./components/Popover/Popover.js";
66
+ import { PremiumBadge as ue } from "./components/PremiumBadge/PremiumBadge.js";
67
+ import { Prose as ie } from "./components/Prose/Prose.js";
68
+ import { Radio as ce } from "./components/Radio/Radio.js";
69
+ import { Select as Ie } from "./components/Select/Select.js";
70
+ import { DropdownSelect as Be } from "./components/DropdownSelect/DropdownSelect.js";
71
+ import { Separator as ge } from "./components/Separator/Separator.js";
72
+ import { Shroud as Se } from "./components/Shroud/Shroud.js";
73
73
  import { Slider as Re } from "./components/Slider/Slider.js";
74
74
  import { Spacer as Ae } from "./components/Spacer/Spacer.js";
75
- import { Style as Oe, useContextualStyle as Pe } from "./components/Style/Style.js";
76
- import { default as De } from "./components/Switch/Switch.js";
77
- import { ToggleGroup as _e } from "./components/ToggleGroup/ToggleGroup.js";
78
- import { Tabular as he } from "./components/Tabular/Tabular.js";
79
- import { Table as ze, TableHeaderItem as we, TableIconButton as Me, TableRow as Ne } from "./components/Table/Table.js";
80
- import { DEFAULT_TEXT_COLOR as Ve, TEXT_OPACITY_MAP as Ke, Text as Ye, TextBlock as He, getTextOpacity as We, textSizeResponsiveValueFormatter as Xe } from "./components/Text/Text.js";
81
- import { Textarea as Qe } from "./components/Textarea/Textarea.js";
82
- import { TITLE_OUTLET_ID as je, Title as qe, titleGetCoords as $e, titleGetCssStyle as ot } from "./components/Title/Title.js";
83
- import { default as et } from "./components/InputDropzone/InputDropzone.js";
84
- import { default as mt } from "./components/InputDropzone/ItemPreview.js";
85
- import { default as pt } from "./components/Skeleton/Skeleton.js";
86
- import { OnScreenSensor as xt } from "./components/OnScreenSensor.js";
87
- import { Symbols as lt } from "./components/Symbols.js";
75
+ import { Style as Pe, useContextualStyle as be } from "./components/Style/Style.js";
76
+ import { default as Fe } from "./components/Switch/Switch.js";
77
+ import { ToggleGroup as ve } from "./components/ToggleGroup/ToggleGroup.js";
78
+ import { Tabular as Ue } from "./components/Tabular/Tabular.js";
79
+ import { Table as we, TableHeaderItem as Me, TableIconButton as Ne, TableRow as Ge } from "./components/Table/Table.js";
80
+ import { DEFAULT_TEXT_COLOR as Ke, TEXT_OPACITY_MAP as Ye, Text as He, TextBlock as We, getTextOpacity as Xe, textSizeResponsiveValueFormatter as Je } from "./components/Text/Text.js";
81
+ import { Textarea as Ze } from "./components/Textarea/Textarea.js";
82
+ import { TITLE_OUTLET_ID as qe, Title as $e, titleGetCoords as ot, titleGetCssStyle as rt } from "./components/Title/Title.js";
83
+ import { default as tt } from "./components/InputDropzone/InputDropzone.js";
84
+ import { default as ft } from "./components/InputDropzone/ItemPreview.js";
85
+ import { default as at } from "./components/Skeleton/Skeleton.js";
86
+ import { OnScreenSensor as nt } from "./components/OnScreenSensor.js";
87
+ import { Symbols as ut } from "./components/Symbols.js";
88
88
  export {
89
89
  co as Accordion,
90
90
  To as AccordionContent,
91
91
  Io as AccordionHeader,
92
92
  Co as AccordionItem,
93
93
  Bo as AccordionTrigger,
94
- Vo as Avatar,
95
- Yo as BACKDROP_OUTLET_ID,
96
- Ho as BackdropPortal,
97
- Xo as Badge,
94
+ Ko as Avatar,
95
+ Ho as BACKDROP_OUTLET_ID,
96
+ Wo as BackdropPortal,
97
+ Jo as Badge,
98
98
  to as BorderRadiusEnum,
99
- Pr as Box,
99
+ br as Box,
100
100
  ho as BurgerMenu,
101
101
  _o as BurgerMenuButton,
102
- yo as Button,
102
+ Ro as Button,
103
103
  Po as ButtonBar,
104
- Ao as ButtonContent,
105
- No as ButtonLink,
104
+ ko as ButtonContent,
105
+ Go as ButtonLink,
106
106
  L as CLIPBOARD_TITLE_APPEARANCE,
107
- Fr as Center,
107
+ _r as Center,
108
108
  So as Checkbox,
109
109
  go as ClipboardButton,
110
110
  mo as ColorEnum,
111
- Qo as ControlBox,
112
- jo as CountryFlag,
113
- Ve as DEFAULT_TEXT_COLOR,
114
- $o as Decorate,
115
- rr as Dot,
116
- Ce as DropdownSelect,
117
- mt as DropzoneItemPreview,
118
- tr as FLYOUT_OUTLET_ID,
119
- vr as Flex,
120
- Ur as FlexAlignItemsEnum,
121
- zr as FlexDirectionEnum,
122
- wr as FlexJustifyContentEnum,
123
- Gr as FlexRestricter,
124
- Mr as FlexWrapEnum,
125
- mr as Flyout,
126
- sr as Icon,
127
- dr as IconBig,
111
+ Zo as ControlBox,
112
+ qo as CountryFlag,
113
+ Ke as DEFAULT_TEXT_COLOR,
114
+ or as Decorate,
115
+ er as Dot,
116
+ Be as DropdownSelect,
117
+ ft as DropzoneItemPreview,
118
+ mr as FLYOUT_OUTLET_ID,
119
+ hr as Flex,
120
+ zr as FlexAlignItemsEnum,
121
+ wr as FlexDirectionEnum,
122
+ Mr as FlexJustifyContentEnum,
123
+ Vr as FlexRestricter,
124
+ Nr as FlexWrapEnum,
125
+ fr as Flyout,
126
+ ir as Icon,
127
+ cr as IconBig,
128
128
  so as IconButton,
129
- xr as Icons,
130
- lr as IconsBig,
131
- Tr as Indicator,
132
- Cr as InfoPanel,
133
- Er as Input,
134
- et as InputDropzone,
129
+ nr as Icons,
130
+ ur as IconsBig,
131
+ Ir as Indicator,
132
+ Br as InfoPanel,
133
+ gr as Input,
134
+ tt as InputDropzone,
135
135
  Rr as Interactive,
136
136
  Ar as Island,
137
- kr as IslandCorner,
137
+ Or as IslandCorner,
138
138
  zo as Link,
139
139
  Do as LinkButton,
140
140
  D as Linkify,
141
- $r as Loaf,
142
- pr as Logos,
141
+ oe as Loaf,
142
+ ar as Logos,
143
143
  fo as MediaQueryEnum,
144
- re as Modal,
145
- te as NavList,
146
- fe as OVERLAY_OUTLET_ID,
144
+ ee as Modal,
145
+ me as NavList,
146
+ pe as OVERLAY_OUTLET_ID,
147
147
  po as OffsetEnum,
148
- xt as OnScreenSensor,
149
- pe as Overlay,
150
- Kr as Pad,
151
- Hr as Page,
152
- xe as Popover,
153
- le as PremiumBadge,
154
- se as Prose,
155
- de as Radio,
156
- Xr as Rail,
157
- Lr as RichInput,
158
- Qr as Scrollable,
159
- Te as Select,
160
- Ee as Separator,
161
- Le as Shroud,
162
- pt as Skeleton,
148
+ nt as OnScreenSensor,
149
+ ae as Overlay,
150
+ Yr as Pad,
151
+ Wr as Page,
152
+ ne as Popover,
153
+ ue as PremiumBadge,
154
+ ie as Prose,
155
+ ce as Radio,
156
+ Jr as Rail,
157
+ Sr as RichInput,
158
+ Zr as Scrollable,
159
+ Ie as Select,
160
+ ge as Separator,
161
+ Se as Shroud,
162
+ at as Skeleton,
163
163
  Re as Slider,
164
164
  Ae as Spacer,
165
- Oe as Style,
166
- De as Switch,
167
- lt as Symbols,
168
- Ke as TEXT_OPACITY_MAP,
169
- je as TITLE_OUTLET_ID,
170
- ze as Table,
171
- we as TableHeaderItem,
172
- Me as TableIconButton,
173
- Ne as TableRow,
174
- he as Tabular,
175
- Ye as Text,
176
- He as TextBlock,
165
+ Pe as Style,
166
+ Fe as Switch,
167
+ ut as Symbols,
168
+ Ye as TEXT_OPACITY_MAP,
169
+ qe as TITLE_OUTLET_ID,
170
+ we as Table,
171
+ Me as TableHeaderItem,
172
+ Ne as TableIconButton,
173
+ Ge as TableRow,
174
+ Ue as Tabular,
175
+ He as Text,
176
+ We as TextBlock,
177
177
  ao as TextSizeEnum,
178
- Qe as Textarea,
179
- qe as Title,
180
- _e as ToggleGroup,
181
- jr as VirtualScrollable,
178
+ Ze as Textarea,
179
+ $e as Title,
180
+ ve as ToggleGroup,
181
+ qr as VirtualScrollable,
182
182
  xo as ZIndexEnum,
183
183
  N as clamp,
184
184
  G as clamp01,
@@ -186,14 +186,15 @@ export {
186
186
  Z as debounce,
187
187
  F as defaultLinkReplacer,
188
188
  _ as defaultLinkReplacerx,
189
- br as flexPropFormater,
190
- ko as getButtonClassName,
189
+ Dr as flexPropFormater,
190
+ Ao as getButtonClassName,
191
191
  $ as getColor,
192
192
  wo as getLinkClassName,
193
- We as getTextOpacity,
193
+ Mo as getLinkStyles,
194
+ Xe as getTextOpacity,
194
195
  p as getValue,
195
- y as identity,
196
- A as invoke,
196
+ R as identity,
197
+ k as invoke,
197
198
  v as isExternalUrl,
198
199
  K as isFalseString,
199
200
  lo as isInEnum,
@@ -203,20 +204,20 @@ export {
203
204
  z as matchLinkNodes,
204
205
  w as matchLinks,
205
206
  e as mergeRefs,
206
- k as noop,
207
+ A as noop,
207
208
  H as normalizeSlashes,
208
209
  W as replaceRange,
209
210
  O as returnFalse,
210
211
  P as returnTrue,
211
212
  X as splitByIndices,
212
- Xe as textSizeResponsiveValueFormatter,
213
+ Je as textSizeResponsiveValueFormatter,
213
214
  j as throttle,
214
- $e as titleGetCoords,
215
- ot as titleGetCssStyle,
215
+ ot as titleGetCoords,
216
+ rt as titleGetCssStyle,
216
217
  ro as ui,
217
218
  J as unicodeCharAt,
218
219
  S as useClipboardComponent,
219
- Pe as useContextualStyle,
220
+ be as useContextualStyle,
220
221
  s as useDynamicRef,
221
222
  d as useGlobalKeyboardEvent,
222
223
  l as useInstance,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cfx-dev/ui-components",
3
3
  "private": false,
4
- "version": "4.2.22",
4
+ "version": "4.2.23",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "dist/main.js",