@cfx-dev/ui-components 2.0.1 → 2.0.2

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, } from './Accordion';
@@ -1 +1,7 @@
1
-
1
+ import { Accordion as c, AccordionHeader as d, AccordionItem as e, AccordionTrigger as i } from "./Accordion.js";
2
+ export {
3
+ c as Accordion,
4
+ d as AccordionHeader,
5
+ e as AccordionItem,
6
+ i as AccordionTrigger
7
+ };
@@ -0,0 +1,2 @@
1
+ export { default as ClipboardButton, CLIPBOARD_TITLE_APPEARANCE } from './ClipboardButton';
2
+ export type { ClipboardButtonProps } from './ClipboardButton';
@@ -1 +1,5 @@
1
-
1
+ import { CLIPBOARD_TITLE_APPEARANCE as A, default as a } from "./ClipboardButton.js";
2
+ export {
3
+ A as CLIPBOARD_TITLE_APPEARANCE,
4
+ a as ClipboardButton
5
+ };
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, } 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
@@ -5,166 +5,176 @@ import { usePopoverController as l } from "./utils/hooks/usePopoverController.js
5
5
  import { useInstance as i } from "./utils/hooks/useInstance.js";
6
6
  import { useDynamicRef as u } from "./utils/hooks/useDynamicRef.js";
7
7
  import { useGlobalKeyboardEvent as d } from "./utils/hooks/useGlobalKeyboardEvent.js";
8
- import { useKeyboardClose as I } from "./utils/hooks/useKeyboardClose.js";
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 S } from "./utils/hooks/useOutlet.js";
11
- import { identity as R, invoke as k, noop as O, returnFalse as b, returnTrue as h } from "./utils/functional.js";
12
- import { Linkify as D, defaultLinkReplacer as P, defaultLinkReplacerx as v, isExternalUrl as E, linkify as _, linkifyx as F, matchLinkNodes as U, matchLinks as A } from "./utils/links.js";
13
- import { clamp as K, clamp01 as V } from "./utils/math.js";
14
- import { isFalseString as G, isTrueString as N, normalizeSlashes as Y, replaceRange as M, splitByIndices as W, unicodeCharAt as j } from "./utils/string.js";
15
- import { debounce as H, throttle as J } from "./utils/execution.js";
16
- import { default as X } from "./components/Checkbox/Checkbox.js";
17
- import { Button as $ } from "./components/Button/Button.js";
18
- import { LinkButton as ro } from "./components/Button/LinkButton.js";
19
- import { ButtonBar as to } from "./components/Button/ButtonBar.js";
20
- import { Avatar as fo } from "./components/Avatar/Avatar.js";
21
- import { BACKDROP_OUTLET_ID as mo, BackdropPortal as ao } from "./components/BackdropPortal/BackdropPortal.js";
22
- import { Badge as no } from "./components/Badge/Badge.js";
23
- import { ControlBox as so } from "./components/ControlBox/ControlBox.js";
24
- import { CountryFlag as co } from "./components/CountryFlag/CountryFlag.js";
25
- import { Decorate as Io } from "./components/Decorate/Decorate.js";
26
- import { Dot as go } from "./components/Dot/Dot.js";
27
- import { FLYOUT_OUTLET_ID as So, Flyout as Bo } from "./components/Flyout/Flyout.js";
28
- import { Logos as ko } from "./components/Logos/index.js";
29
- import { I as bo } from "./cfxIcons-BlbKR-zU.js";
30
- import { I as Co } from "./cfxIconsBig-CNY8zL27.js";
31
- import { Icon as Po } from "./components/Icon/Icon.js";
32
- import { IconBig as Eo } from "./components/IconBig/IconBig.js";
33
- import { Indicator as Fo } from "./components/Indicator/Indicator.js";
34
- import { default as Ao } from "./components/InfoPanel/InfoPanel.js";
35
- import { default as Ko } from "./components/Input/Input.js";
36
- import { default as wo } from "./components/Input/RichInput.js";
37
- import { Interactive as No } from "./components/Interactive/Interactive.js";
38
- import { Island as Mo } from "./components/Island/Island.js";
39
- import { Box as jo } from "./components/Layout/Box/Box.js";
40
- import { Center as Ho } from "./components/Layout/Center/Center.js";
41
- import { Flex as Qo } from "./components/Layout/Flex/Flex.js";
42
- import { FlexRestricter as Zo } from "./components/Layout/Flex/FlexRestricter.js";
43
- import { Pad as or } from "./components/Layout/Pad/Pad.js";
44
- import { Page as er } from "./components/Layout/Page/Page.js";
45
- import { R as pr } from "./Rail-rtPENZs2.js";
46
- import { Scrollable as xr } from "./components/Layout/Scrollable/Scrollable.js";
47
- import { VirtualScrollable as ar } from "./components/Layout/Scrollable/VirtualScrollable.js";
48
- import { Loaf as nr } from "./components/Loaf/Loaf.js";
49
- import { Modal as sr } from "./components/Modal/Modal.js";
50
- import { NavList as cr } from "./components/NavList/NavList.js";
51
- import { OVERLAY_OUTLET_ID as Tr, Overlay as Ir } from "./components/Overlay/Overlay.js";
52
- import { Popover as gr } from "./components/Popover/Popover.js";
53
- import { PremiumBadge as Sr } from "./components/PremiumBadge/PremiumBadge.js";
54
- import { Prose as Rr } from "./components/Prose/Prose.js";
55
- import { Radio as Or } from "./components/Radio/Radio.js";
56
- import { Select as hr } from "./components/Select/Select.js";
57
- import { Separator as Dr } from "./components/Separator/Separator.js";
58
- import { Shroud as vr } from "./components/Shroud/Shroud.js";
59
- import { Spacer as _r } from "./components/Spacer/Spacer.js";
60
- import { Style as Ur, useContextualStyle as Ar } from "./components/Style/Style.js";
61
- import { default as Kr } from "./components/Switch/Switch.js";
62
- import { ToggleGroup as wr } from "./components/ToggleGroup/ToggleGroup.js";
63
- import { Tabular as Nr } from "./components/Tabular/Tabular.js";
64
- import { Table as Mr } from "./components/Table/Table.js";
65
- import { Text as jr, TextBlock as qr, getTextOpacity as Hr } from "./components/Text/Text.js";
66
- import { Textarea as Qr } from "./components/Textarea/Textarea.js";
67
- import { TITLE_OUTLET_ID as Zr, Title as $r } from "./components/Title/Title.js";
68
- import { default as re } from "./components/InputDropzone/InputDropzone.js";
10
+ import { useOutlet as y } from "./utils/hooks/useOutlet.js";
11
+ import { identity as S, invoke as k, noop as A, returnFalse as C, 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 $, AccordionHeader as oo, AccordionItem as ro, AccordionTrigger as eo } from "./components/Accordion/Accordion.js";
18
+ import { CLIPBOARD_TITLE_APPEARANCE as po, default as fo } from "./components/ClipboardButton/ClipboardButton.js";
19
+ import { default as mo } from "./components/Checkbox/Checkbox.js";
20
+ import { Button as lo } from "./components/Button/Button.js";
21
+ import { LinkButton as io } from "./components/Button/LinkButton.js";
22
+ import { ButtonBar as uo } from "./components/Button/ButtonBar.js";
23
+ import { Avatar as Io } from "./components/Avatar/Avatar.js";
24
+ import { BACKDROP_OUTLET_ID as Lo, BackdropPortal as go } from "./components/BackdropPortal/BackdropPortal.js";
25
+ import { Badge as yo } from "./components/Badge/Badge.js";
26
+ import { ControlBox as So } from "./components/ControlBox/ControlBox.js";
27
+ import { CountryFlag as Ao } from "./components/CountryFlag/CountryFlag.js";
28
+ import { Decorate as Oo } from "./components/Decorate/Decorate.js";
29
+ import { Dot as bo } from "./components/Dot/Dot.js";
30
+ import { FLYOUT_OUTLET_ID as Do, Flyout as _o } from "./components/Flyout/Flyout.js";
31
+ import { Logos as vo } from "./components/Logos/index.js";
32
+ import { I as Uo } from "./cfxIcons-BlbKR-zU.js";
33
+ import { I as Ko } from "./cfxIconsBig-CNY8zL27.js";
34
+ import { Icon as Vo } from "./components/Icon/Icon.js";
35
+ import { IconBig as Go } from "./components/IconBig/IconBig.js";
36
+ import { Indicator as Ho } from "./components/Indicator/Indicator.js";
37
+ import { default as Wo } from "./components/InfoPanel/InfoPanel.js";
38
+ import { default as qo } from "./components/Input/Input.js";
39
+ import { default as Qo } from "./components/Input/RichInput.js";
40
+ import { Interactive as Zo } from "./components/Interactive/Interactive.js";
41
+ import { Island as or } from "./components/Island/Island.js";
42
+ import { Box as er } from "./components/Layout/Box/Box.js";
43
+ import { Center as pr } from "./components/Layout/Center/Center.js";
44
+ import { Flex as xr } from "./components/Layout/Flex/Flex.js";
45
+ import { FlexRestricter as ar } from "./components/Layout/Flex/FlexRestricter.js";
46
+ import { Pad as nr } from "./components/Layout/Pad/Pad.js";
47
+ import { Page as sr } from "./components/Layout/Page/Page.js";
48
+ import { R as cr } from "./Rail-rtPENZs2.js";
49
+ import { Scrollable as Ir } from "./components/Layout/Scrollable/Scrollable.js";
50
+ import { VirtualScrollable as Lr } from "./components/Layout/Scrollable/VirtualScrollable.js";
51
+ import { Loaf as Br } from "./components/Loaf/Loaf.js";
52
+ import { Modal as Rr } from "./components/Modal/Modal.js";
53
+ import { NavList as kr } from "./components/NavList/NavList.js";
54
+ import { OVERLAY_OUTLET_ID as Cr, Overlay as Or } from "./components/Overlay/Overlay.js";
55
+ import { Popover as br } from "./components/Popover/Popover.js";
56
+ import { PremiumBadge as Dr } from "./components/PremiumBadge/PremiumBadge.js";
57
+ import { Prose as hr } from "./components/Prose/Prose.js";
58
+ import { Radio as Fr } from "./components/Radio/Radio.js";
59
+ import { Select as zr } from "./components/Select/Select.js";
60
+ import { Separator as Nr } from "./components/Separator/Separator.js";
61
+ import { Shroud as wr } from "./components/Shroud/Shroud.js";
62
+ import { Spacer as Yr } from "./components/Spacer/Spacer.js";
63
+ import { Style as Mr, useContextualStyle as Wr } from "./components/Style/Style.js";
64
+ import { default as qr } from "./components/Switch/Switch.js";
65
+ import { ToggleGroup as Qr } from "./components/ToggleGroup/ToggleGroup.js";
66
+ import { Tabular as Zr } from "./components/Tabular/Tabular.js";
67
+ import { Table as oe } from "./components/Table/Table.js";
68
+ import { Text as ee, TextBlock as te, getTextOpacity as pe } from "./components/Text/Text.js";
69
+ import { Textarea as xe } from "./components/Textarea/Textarea.js";
70
+ import { TITLE_OUTLET_ID as ae, Title as le } from "./components/Title/Title.js";
71
+ import { default as ie } from "./components/InputDropzone/InputDropzone.js";
69
72
  import "./components/InputDropzone/ItemPreview.js";
70
- import { OnScreenSensor as te } from "./components/OnScreenSensor.js";
71
- import { ui as fe } from "./components/ui.js";
72
- import { Symbols as me } from "./components/Symbols.js";
73
+ import { OnScreenSensor as ue } from "./components/OnScreenSensor.js";
74
+ import { ui as de } from "./components/ui.js";
75
+ import { Symbols as Te } from "./components/Symbols.js";
73
76
  export {
74
- fo as Avatar,
75
- mo as BACKDROP_OUTLET_ID,
76
- ao as BackdropPortal,
77
- no as Badge,
78
- jo as Box,
79
- $ as Button,
80
- to as ButtonBar,
81
- Ho as Center,
82
- X as Checkbox,
83
- so as ControlBox,
84
- co as CountryFlag,
85
- Io as Decorate,
86
- go as Dot,
87
- So as FLYOUT_OUTLET_ID,
88
- Qo as Flex,
89
- Zo as FlexRestricter,
90
- Bo as Flyout,
91
- Po as Icon,
92
- Eo as IconBig,
93
- bo as Icons,
94
- Co as IconsBig,
95
- Fo as Indicator,
96
- Ao as InfoPanel,
97
- Ko as Input,
98
- re as InputDropzone,
99
- No as Interactive,
100
- Mo as Island,
101
- ro as LinkButton,
102
- D as Linkify,
103
- nr as Loaf,
104
- ko as Logos,
105
- sr as Modal,
106
- cr as NavList,
107
- Tr as OVERLAY_OUTLET_ID,
108
- te as OnScreenSensor,
109
- Ir as Overlay,
110
- or as Pad,
111
- er as Page,
112
- gr as Popover,
113
- Sr as PremiumBadge,
114
- Rr as Prose,
115
- Or as Radio,
116
- pr as Rail,
117
- wo as RichInput,
118
- xr as Scrollable,
119
- hr as Select,
120
- Dr as Separator,
121
- vr as Shroud,
122
- _r as Spacer,
123
- Ur as Style,
124
- Kr as Switch,
125
- me as Symbols,
126
- Zr as TITLE_OUTLET_ID,
127
- Mr as Table,
128
- Nr as Tabular,
129
- jr as Text,
130
- qr as TextBlock,
131
- Qr as Textarea,
132
- $r as Title,
133
- wr as ToggleGroup,
134
- ar as VirtualScrollable,
77
+ $ as Accordion,
78
+ oo as AccordionHeader,
79
+ ro as AccordionItem,
80
+ eo as AccordionTrigger,
81
+ Io as Avatar,
82
+ Lo as BACKDROP_OUTLET_ID,
83
+ go as BackdropPortal,
84
+ yo as Badge,
85
+ er as Box,
86
+ lo as Button,
87
+ uo as ButtonBar,
88
+ po as CLIPBOARD_TITLE_APPEARANCE,
89
+ pr as Center,
90
+ mo as Checkbox,
91
+ fo as ClipboardButton,
92
+ So as ControlBox,
93
+ Ao as CountryFlag,
94
+ Oo as Decorate,
95
+ bo as Dot,
96
+ Do as FLYOUT_OUTLET_ID,
97
+ xr as Flex,
98
+ ar as FlexRestricter,
99
+ _o as Flyout,
100
+ Vo as Icon,
101
+ Go as IconBig,
102
+ X as IconButton,
103
+ Uo as Icons,
104
+ Ko as IconsBig,
105
+ Ho as Indicator,
106
+ Wo as InfoPanel,
107
+ qo as Input,
108
+ ie as InputDropzone,
109
+ Zo as Interactive,
110
+ or as Island,
111
+ io as LinkButton,
112
+ b as Linkify,
113
+ Br as Loaf,
114
+ vo as Logos,
115
+ Rr as Modal,
116
+ kr as NavList,
117
+ Cr as OVERLAY_OUTLET_ID,
118
+ ue as OnScreenSensor,
119
+ Or as Overlay,
120
+ nr as Pad,
121
+ sr as Page,
122
+ br as Popover,
123
+ Dr as PremiumBadge,
124
+ hr as Prose,
125
+ Fr as Radio,
126
+ cr as Rail,
127
+ Qo as RichInput,
128
+ Ir as Scrollable,
129
+ zr as Select,
130
+ Nr as Separator,
131
+ wr as Shroud,
132
+ Yr as Spacer,
133
+ Mr as Style,
134
+ qr as Switch,
135
+ Te as Symbols,
136
+ ae as TITLE_OUTLET_ID,
137
+ oe as Table,
138
+ Zr as Tabular,
139
+ ee as Text,
140
+ te as TextBlock,
141
+ xe as Textarea,
142
+ le as Title,
143
+ Qr as ToggleGroup,
144
+ Lr as VirtualScrollable,
135
145
  K as clamp,
136
- V as clamp01,
146
+ N as clamp01,
137
147
  f as clsx,
138
- H as debounce,
139
- P as defaultLinkReplacer,
140
- v as defaultLinkReplacerx,
141
- Hr as getTextOpacity,
148
+ q as debounce,
149
+ E as defaultLinkReplacer,
150
+ D as defaultLinkReplacerx,
151
+ pe as getTextOpacity,
142
152
  m as getValue,
143
- R as identity,
153
+ S as identity,
144
154
  k as invoke,
145
- E as isExternalUrl,
146
- G as isFalseString,
147
- N as isTrueString,
148
- _ as linkify,
149
- F as linkifyx,
150
- U as matchLinkNodes,
151
- A as matchLinks,
155
+ _ as isExternalUrl,
156
+ w as isFalseString,
157
+ G as isTrueString,
158
+ h as linkify,
159
+ v as linkifyx,
160
+ F as matchLinkNodes,
161
+ U as matchLinks,
152
162
  t as mergeRefs,
153
- O as noop,
163
+ A as noop,
154
164
  Y as normalizeSlashes,
155
- M as replaceRange,
156
- b as returnFalse,
157
- h as returnTrue,
158
- W as splitByIndices,
165
+ H as replaceRange,
166
+ C as returnFalse,
167
+ O as returnTrue,
168
+ M as splitByIndices,
159
169
  J as throttle,
160
- fe as ui,
161
- j as unicodeCharAt,
162
- Ar as useContextualStyle,
170
+ de as ui,
171
+ W as unicodeCharAt,
172
+ Wr as useContextualStyle,
163
173
  u as useDynamicRef,
164
174
  d as useGlobalKeyboardEvent,
165
175
  i as useInstance,
166
- I as useKeyboardClose,
167
- S as useOutlet,
176
+ T as useKeyboardClose,
177
+ y as useOutlet,
168
178
  l as usePopoverController,
169
179
  g as useWindowResize
170
180
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cfx-dev/ui-components",
3
3
  "private": false,
4
- "version": "2.0.1",
4
+ "version": "2.0.2",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "dist/main.js",