@ledgerhq/lumen-ui-react 0.1.48 → 0.1.49
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/index.js +227 -223
- package/dist/lib/Components/AmountDisplay/AmountDisplay.js +10 -10
- package/dist/lib/Components/AmountInput/useAmountInputValue/useAmountInputValue.js +3 -3
- package/dist/lib/Components/Avatar/Avatar.d.ts +1 -1
- package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
- package/dist/lib/Components/Avatar/Avatar.js +97 -57
- package/dist/lib/Components/Avatar/index.d.ts +1 -0
- package/dist/lib/Components/Avatar/index.d.ts.map +1 -1
- package/dist/lib/Components/Avatar/resolveAvatarColor.d.ts +9 -0
- package/dist/lib/Components/Avatar/resolveAvatarColor.d.ts.map +1 -0
- package/dist/lib/Components/Avatar/resolveAvatarColor.js +18 -0
- package/dist/lib/Components/Avatar/types.d.ts +23 -8
- package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
- package/dist/lib/Components/AvatarButton/AvatarButton.d.ts +6 -0
- package/dist/lib/Components/AvatarButton/AvatarButton.d.ts.map +1 -0
- package/dist/lib/Components/AvatarButton/AvatarButton.js +52 -0
- package/dist/lib/Components/AvatarButton/index.d.ts +3 -0
- package/dist/lib/Components/AvatarButton/index.d.ts.map +1 -0
- package/dist/lib/Components/AvatarButton/types.d.ts +4 -0
- package/dist/lib/Components/AvatarButton/types.d.ts.map +1 -0
- package/dist/lib/Components/BaseInput/BaseInput.js +6 -6
- package/dist/lib/Components/BaseTag/BaseTag.js +4 -4
- package/dist/lib/Components/Button/BaseButton.d.ts +2 -2
- package/dist/lib/Components/Button/Button.js +8 -8
- package/dist/lib/Components/Card/Card.js +14 -14
- package/dist/lib/Components/CardButton/CardButton.js +6 -6
- package/dist/lib/Components/DataTable/DataTable.js +10 -10
- package/dist/lib/Components/Divider/Divider.js +4 -4
- package/dist/lib/Components/DotIcon/DotIcon.js +5 -5
- package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts +32 -0
- package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts.map +1 -1
- package/dist/lib/Components/DotIndicator/getDotIndicatorProps.js +7 -4
- package/dist/lib/Components/Icon/createIcon.js +6 -6
- package/dist/lib/Components/Link/Link.js +6 -6
- package/dist/lib/Components/ListItem/ListItem.js +4 -4
- package/dist/lib/Components/MediaBanner/MediaBanner.d.ts +1 -1
- package/dist/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -1
- package/dist/lib/Components/MediaBanner/MediaBanner.js +94 -75
- package/dist/lib/Components/MediaCard/MediaCard.js +4 -4
- package/dist/lib/Components/MediaImage/MediaImage.js +6 -6
- package/dist/lib/Components/Menu/Menu.js +33 -33
- package/dist/lib/Components/NavBar/CoinCapsule.js +4 -4
- package/dist/lib/Components/NavBar/NavBar.js +9 -9
- package/dist/lib/Components/Popover/Popover.js +14 -14
- package/dist/lib/Components/SegmentedControl/SegmentedControl.js +11 -11
- package/dist/lib/Components/SideBar/SideBar.js +34 -34
- package/dist/lib/Components/Spot/Spot.js +4 -4
- package/dist/lib/Components/Stepper/Stepper.js +6 -6
- package/dist/lib/Components/Table/Table.js +9 -9
- package/dist/lib/Components/Tooltip/Tooltip.js +4 -4
- package/dist/lib/Components/index.d.ts +1 -0
- package/dist/lib/Components/index.d.ts.map +1 -1
- package/dist/libs/design-core/dist/lib/cssVar/cssVar.js +4 -0
- package/dist/libs/utils-shared/dist/index.js +135 -112
- package/dist/package.json +2 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3,233 +3,237 @@ import { AddressInput as a } from "./lib/Components/AddressInput/AddressInput.js
|
|
|
3
3
|
import { AmountInput as i } from "./lib/Components/AmountInput/AmountInput.js";
|
|
4
4
|
import { AmountDisplay as l } from "./lib/Components/AmountDisplay/AmountDisplay.js";
|
|
5
5
|
import { Avatar as d } from "./lib/Components/Avatar/Avatar.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
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 {
|
|
6
|
+
import { resolveAvatarColor as x } from "./lib/Components/Avatar/resolveAvatarColor.js";
|
|
7
|
+
import { AvatarButton as C } from "./lib/Components/AvatarButton/AvatarButton.js";
|
|
8
|
+
import { Banner as S } from "./lib/Components/Banner/Banner.js";
|
|
9
|
+
import { BaseInput as g } from "./lib/Components/BaseInput/BaseInput.js";
|
|
10
|
+
import { Button as b } from "./lib/Components/Button/Button.js";
|
|
11
|
+
import { BaseButton as s } from "./lib/Components/Button/BaseButton.js";
|
|
12
|
+
import { Card as M, CardContent as L, CardContentDescription as v, CardContentRow as h, CardContentTitle as R, CardFooter as A, CardFooterActions as H, CardHeader as w, CardLeading as P, CardTrailing as y } from "./lib/Components/Card/Card.js";
|
|
13
|
+
import { CardButton as k } from "./lib/Components/CardButton/CardButton.js";
|
|
14
|
+
import { Checkbox as z } from "./lib/Components/Checkbox/Checkbox.js";
|
|
15
|
+
import { ContentBanner as F, ContentBannerContent as O, ContentBannerDescription as V, ContentBannerTitle as _ } from "./lib/Components/ContentBanner/ContentBanner.js";
|
|
16
|
+
import { DataTable as q, DataTableGlobalSearchInput as J, DataTableRoot as K } from "./lib/Components/DataTable/DataTable.js";
|
|
17
|
+
import { useLumenDataTable as U } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
|
|
18
|
+
import { DescriptionItem as X, DescriptionItemLabel as Y, DescriptionItemLeading as Z, DescriptionItemTrailing as $, DescriptionItemValue as ee } from "./lib/Components/DescriptionItem/DescriptionItem.js";
|
|
19
|
+
import { DialogClose as te } from "./lib/Components/Dialog/DialogClose/DialogClose.js";
|
|
20
|
+
import { Dialog as ae, DialogBody as ne, DialogBodyStickyContent as ie, DialogContent as pe, DialogFooter as le, DialogTrigger as me } from "./lib/Components/Dialog/Dialog.js";
|
|
21
|
+
import { DialogHeader as Te } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
|
|
22
|
+
import { Divider as fe } from "./lib/Components/Divider/Divider.js";
|
|
23
|
+
import { DotCount as ce } from "./lib/Components/DotCount/DotCount.js";
|
|
24
|
+
import { DotIcon as ue, dotIconSizeMap as ge, mediaImageDotIconSizeMap as Ie, spotDotIconSizeMap as be } from "./lib/Components/DotIcon/DotIcon.js";
|
|
25
|
+
import { DotIndicator as se } from "./lib/Components/DotIndicator/DotIndicator.js";
|
|
26
|
+
import { getDotIndicatorProps as Me } from "./lib/Components/DotIndicator/getDotIndicatorProps.js";
|
|
27
|
+
import { DotSymbol as ve, mediaImageDotSizeMap as he, spotDotSizeMap as Re } from "./lib/Components/DotSymbol/DotSymbol.js";
|
|
28
|
+
import { IconButton as He } from "./lib/Components/IconButton/IconButton.js";
|
|
29
|
+
import { InteractiveIcon as Pe } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
|
|
30
|
+
import { Link as Ne } from "./lib/Components/Link/Link.js";
|
|
31
|
+
import { ListItem as Ge, ListItemContent as ze, ListItemContentRow as Ee, ListItemDescription as Fe, ListItemLeading as Oe, ListItemTitle as Ve, ListItemTrailing as _e } from "./lib/Components/ListItem/ListItem.js";
|
|
32
|
+
import { MediaBanner as qe, MediaBannerDescription as Je, MediaBannerTitle as Ke } from "./lib/Components/MediaBanner/MediaBanner.js";
|
|
33
|
+
import { MediaButton as Ue } from "./lib/Components/MediaButton/MediaButton.js";
|
|
34
|
+
import { MediaCard as Xe, MediaCardTitle as Ye } from "./lib/Components/MediaCard/MediaCard.js";
|
|
35
|
+
import { MediaImage as $e } from "./lib/Components/MediaImage/MediaImage.js";
|
|
36
|
+
import { MediaTag as oo } from "./lib/Components/MediaTag/MediaTag.js";
|
|
37
|
+
import { Menu as ro, MenuCheckboxItem as ao, MenuContent as no, MenuGroup as io, MenuItem as po, MenuLabel as lo, MenuRadioGroup as mo, MenuRadioItem as To, MenuSeparator as xo, MenuSub as fo, MenuSubContent as Co, MenuSubTrigger as co, MenuTrigger as So, createMenuRadioGroup as uo } from "./lib/Components/Menu/Menu.js";
|
|
38
|
+
import { NavBar as Io, NavBarBackButton as bo, NavBarCoinCapsule as Bo, NavBarDescription as so, NavBarLeading as Do, NavBarTitle as Mo, NavBarTrailing as Lo } from "./lib/Components/NavBar/NavBar.js";
|
|
39
|
+
import { Popover as ho, PopoverContent as Ro, PopoverTrigger as Ao, createPopoverHandle as Ho } from "./lib/Components/Popover/Popover.js";
|
|
40
|
+
import { PageIndicator as Po } from "./lib/Components/PageIndicator/PageIndicator.js";
|
|
41
|
+
import { Pagination as No } from "./lib/Components/Pagination/Pagination.js";
|
|
42
|
+
import { SearchInput as Go } from "./lib/Components/SearchInput/SearchInput.js";
|
|
43
|
+
import { SectionHeader as Eo, SectionHeaderLeading as Fo, SectionHeaderTitle as Oo } from "./lib/Components/SectionHeader/SectionHeader.js";
|
|
44
|
+
import { SegmentedControl as _o, SegmentedControlButton as jo, createSegmentedControl as qo } from "./lib/Components/SegmentedControl/SegmentedControl.js";
|
|
45
|
+
import { Select as Ko, SelectContent as Qo, SelectEmptyState as Uo, SelectItem as Wo, SelectItemContent as Xo, SelectItemDescription as Yo, SelectItemText as Zo, SelectList as $o, SelectSearch as et, SelectSeparator as ot, SelectTrigger as tt, createSelect as rt } from "./lib/Components/Select/Select.js";
|
|
46
|
+
import { SideBar as nt, SideBarCollapseToggle as it, SideBarItem as pt, SideBarLeading as lt, SideBarTrailing as mt, createSideBar as dt } from "./lib/Components/SideBar/SideBar.js";
|
|
47
|
+
import { Skeleton as xt } from "./lib/Components/Skeleton/Skeleton.js";
|
|
48
|
+
import { Spinner as Ct } from "./lib/Components/Spinner/Spinner.js";
|
|
49
|
+
import { Spot as St } from "./lib/Components/Spot/Spot.js";
|
|
50
|
+
import { Stepper as gt } from "./lib/Components/Stepper/Stepper.js";
|
|
51
|
+
import { Subheader as bt, SubheaderCount as Bt, SubheaderDescription as st, SubheaderInfo as Dt, SubheaderRow as Mt, SubheaderShowMore as Lt, SubheaderTitle as vt } from "./lib/Components/Subheader/Subheader.js";
|
|
52
|
+
import { Switch as Rt } from "./lib/Components/Switch/Switch.js";
|
|
53
|
+
import { Table as Ht, TableActionBar as wt, TableActionBarLeading as Pt, TableActionBarTrailing as yt, TableBody as Nt, TableCell as kt, TableCellContent as Gt, TableCellContentDescription as zt, TableCellContentRow as Et, TableCellContentTitle as Ft, TableCellItem as Ot, TableCol as Vt, TableColGroup as _t, TableGroupHeaderRow as jt, TableHeader as qt, TableHeaderCell as Jt, TableHeaderRow as Kt, TableInfoIcon as Qt, TableLoadingRow as Ut, TableRoot as Wt, TableRow as Xt, TableSortButton as Yt } from "./lib/Components/Table/Table.js";
|
|
54
|
+
import { Tag as $t } from "./lib/Components/Tag/Tag.js";
|
|
55
|
+
import { TextInput as or } from "./lib/Components/TextInput/TextInput.js";
|
|
56
|
+
import { Tile as rr, TileContent as ar, TileDescription as nr, TileSecondaryAction as ir, TileTitle as pr, TileTrailingContent as lr } from "./lib/Components/Tile/Tile.js";
|
|
57
|
+
import { TileButton as dr } from "./lib/Components/TileButton/TileButton.js";
|
|
58
|
+
import { Tooltip as xr, TooltipContent as fr, TooltipProvider as Cr, TooltipTrigger as cr } from "./lib/Components/Tooltip/Tooltip.js";
|
|
59
|
+
import { Trend as ur } from "./lib/Components/Trend/Trend.js";
|
|
60
|
+
import { ThemeProvider as Ir, useTheme as br } from "./lib/Components/ThemeProvider/ThemeProvider.js";
|
|
61
|
+
import { COLOR_SCHEMES as sr } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
|
|
60
62
|
export {
|
|
61
63
|
a as AddressInput,
|
|
62
64
|
l as AmountDisplay,
|
|
63
65
|
i as AmountInput,
|
|
64
66
|
d as Avatar,
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
y as
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
K as
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
ee as
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
me as
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
se as
|
|
107
|
-
|
|
108
|
-
|
|
67
|
+
C as AvatarButton,
|
|
68
|
+
S as Banner,
|
|
69
|
+
s as BaseButton,
|
|
70
|
+
g as BaseInput,
|
|
71
|
+
b as Button,
|
|
72
|
+
sr as COLOR_SCHEMES,
|
|
73
|
+
M as Card,
|
|
74
|
+
k as CardButton,
|
|
75
|
+
L as CardContent,
|
|
76
|
+
v as CardContentDescription,
|
|
77
|
+
h as CardContentRow,
|
|
78
|
+
R as CardContentTitle,
|
|
79
|
+
A as CardFooter,
|
|
80
|
+
H as CardFooterActions,
|
|
81
|
+
w as CardHeader,
|
|
82
|
+
P as CardLeading,
|
|
83
|
+
y as CardTrailing,
|
|
84
|
+
z as Checkbox,
|
|
85
|
+
F as ContentBanner,
|
|
86
|
+
O as ContentBannerContent,
|
|
87
|
+
V as ContentBannerDescription,
|
|
88
|
+
_ as ContentBannerTitle,
|
|
89
|
+
q as DataTable,
|
|
90
|
+
J as DataTableGlobalSearchInput,
|
|
91
|
+
K as DataTableRoot,
|
|
92
|
+
X as DescriptionItem,
|
|
93
|
+
Y as DescriptionItemLabel,
|
|
94
|
+
Z as DescriptionItemLeading,
|
|
95
|
+
$ as DescriptionItemTrailing,
|
|
96
|
+
ee as DescriptionItemValue,
|
|
97
|
+
ae as Dialog,
|
|
98
|
+
ne as DialogBody,
|
|
99
|
+
ie as DialogBodyStickyContent,
|
|
100
|
+
te as DialogClose,
|
|
101
|
+
pe as DialogContent,
|
|
102
|
+
le as DialogFooter,
|
|
103
|
+
Te as DialogHeader,
|
|
104
|
+
me as DialogTrigger,
|
|
105
|
+
fe as Divider,
|
|
106
|
+
ce as DotCount,
|
|
107
|
+
ue as DotIcon,
|
|
108
|
+
se as DotIndicator,
|
|
109
|
+
ve as DotSymbol,
|
|
110
|
+
He as IconButton,
|
|
111
|
+
Pe as InteractiveIcon,
|
|
109
112
|
t as Languages,
|
|
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
|
-
|
|
140
|
-
|
|
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
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
113
|
+
Ne as Link,
|
|
114
|
+
Ge as ListItem,
|
|
115
|
+
ze as ListItemContent,
|
|
116
|
+
Ee as ListItemContentRow,
|
|
117
|
+
Fe as ListItemDescription,
|
|
118
|
+
Oe as ListItemLeading,
|
|
119
|
+
Ve as ListItemTitle,
|
|
120
|
+
_e as ListItemTrailing,
|
|
121
|
+
qe as MediaBanner,
|
|
122
|
+
Je as MediaBannerDescription,
|
|
123
|
+
Ke as MediaBannerTitle,
|
|
124
|
+
Ue as MediaButton,
|
|
125
|
+
Xe as MediaCard,
|
|
126
|
+
Ye as MediaCardTitle,
|
|
127
|
+
$e as MediaImage,
|
|
128
|
+
oo as MediaTag,
|
|
129
|
+
ro as Menu,
|
|
130
|
+
ao as MenuCheckboxItem,
|
|
131
|
+
no as MenuContent,
|
|
132
|
+
io as MenuGroup,
|
|
133
|
+
po as MenuItem,
|
|
134
|
+
lo as MenuLabel,
|
|
135
|
+
mo as MenuRadioGroup,
|
|
136
|
+
To as MenuRadioItem,
|
|
137
|
+
xo as MenuSeparator,
|
|
138
|
+
fo as MenuSub,
|
|
139
|
+
Co as MenuSubContent,
|
|
140
|
+
co as MenuSubTrigger,
|
|
141
|
+
So as MenuTrigger,
|
|
142
|
+
Io as NavBar,
|
|
143
|
+
bo as NavBarBackButton,
|
|
144
|
+
Bo as NavBarCoinCapsule,
|
|
145
|
+
so as NavBarDescription,
|
|
146
|
+
Do as NavBarLeading,
|
|
147
|
+
Mo as NavBarTitle,
|
|
148
|
+
Lo as NavBarTrailing,
|
|
149
|
+
Po as PageIndicator,
|
|
150
|
+
No as Pagination,
|
|
151
|
+
ho as Popover,
|
|
152
|
+
Ro as PopoverContent,
|
|
153
|
+
Ao as PopoverTrigger,
|
|
154
|
+
Go as SearchInput,
|
|
155
|
+
Eo as SectionHeader,
|
|
156
|
+
Fo as SectionHeaderLeading,
|
|
157
|
+
Oo as SectionHeaderTitle,
|
|
158
|
+
_o as SegmentedControl,
|
|
159
|
+
jo as SegmentedControlButton,
|
|
160
|
+
Ko as Select,
|
|
161
|
+
Qo as SelectContent,
|
|
162
|
+
Uo as SelectEmptyState,
|
|
163
|
+
Wo as SelectItem,
|
|
164
|
+
Xo as SelectItemContent,
|
|
165
|
+
Yo as SelectItemDescription,
|
|
166
|
+
Zo as SelectItemText,
|
|
167
|
+
$o as SelectList,
|
|
168
|
+
et as SelectSearch,
|
|
169
|
+
ot as SelectSeparator,
|
|
170
|
+
tt as SelectTrigger,
|
|
171
|
+
nt as SideBar,
|
|
172
|
+
it as SideBarCollapseToggle,
|
|
173
|
+
pt as SideBarItem,
|
|
174
|
+
lt as SideBarLeading,
|
|
175
|
+
mt as SideBarTrailing,
|
|
176
|
+
xt as Skeleton,
|
|
177
|
+
Ct as Spinner,
|
|
178
|
+
St as Spot,
|
|
179
|
+
gt as Stepper,
|
|
180
|
+
bt as Subheader,
|
|
181
|
+
Bt as SubheaderCount,
|
|
182
|
+
st as SubheaderDescription,
|
|
183
|
+
Dt as SubheaderInfo,
|
|
184
|
+
Mt as SubheaderRow,
|
|
185
|
+
Lt as SubheaderShowMore,
|
|
186
|
+
vt as SubheaderTitle,
|
|
187
|
+
Rt as Switch,
|
|
188
|
+
Ht as Table,
|
|
189
|
+
wt as TableActionBar,
|
|
190
|
+
Pt as TableActionBarLeading,
|
|
191
|
+
yt as TableActionBarTrailing,
|
|
192
|
+
Nt as TableBody,
|
|
193
|
+
kt as TableCell,
|
|
194
|
+
Gt as TableCellContent,
|
|
195
|
+
zt as TableCellContentDescription,
|
|
196
|
+
Et as TableCellContentRow,
|
|
197
|
+
Ft as TableCellContentTitle,
|
|
198
|
+
Ot as TableCellItem,
|
|
199
|
+
Vt as TableCol,
|
|
200
|
+
_t as TableColGroup,
|
|
201
|
+
jt as TableGroupHeaderRow,
|
|
202
|
+
qt as TableHeader,
|
|
203
|
+
Jt as TableHeaderCell,
|
|
204
|
+
Kt as TableHeaderRow,
|
|
205
|
+
Qt as TableInfoIcon,
|
|
206
|
+
Ut as TableLoadingRow,
|
|
207
|
+
Wt as TableRoot,
|
|
208
|
+
Xt as TableRow,
|
|
209
|
+
Yt as TableSortButton,
|
|
210
|
+
$t as Tag,
|
|
211
|
+
or as TextInput,
|
|
212
|
+
Ir as ThemeProvider,
|
|
213
|
+
rr as Tile,
|
|
214
|
+
dr as TileButton,
|
|
215
|
+
ar as TileContent,
|
|
216
|
+
nr as TileDescription,
|
|
217
|
+
ir as TileSecondaryAction,
|
|
218
|
+
pr as TileTitle,
|
|
219
|
+
lr as TileTrailingContent,
|
|
220
|
+
xr as Tooltip,
|
|
221
|
+
fr as TooltipContent,
|
|
222
|
+
Cr as TooltipProvider,
|
|
223
|
+
cr as TooltipTrigger,
|
|
224
|
+
ur as Trend,
|
|
225
|
+
uo as createMenuRadioGroup,
|
|
226
|
+
Ho as createPopoverHandle,
|
|
227
|
+
qo as createSegmentedControl,
|
|
228
|
+
rt as createSelect,
|
|
229
|
+
dt as createSideBar,
|
|
230
|
+
ge as dotIconSizeMap,
|
|
231
|
+
Me as getDotIndicatorProps,
|
|
232
|
+
Ie as mediaImageDotIconSizeMap,
|
|
233
|
+
he as mediaImageDotSizeMap,
|
|
234
|
+
x as resolveAvatarColor,
|
|
235
|
+
be as spotDotIconSizeMap,
|
|
236
|
+
Re as spotDotSizeMap,
|
|
237
|
+
U as useLumenDataTable,
|
|
238
|
+
br as useTheme
|
|
235
239
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
2
2
|
import { useSplitText as y, buildAriaLabel as w, cn as m } from "../../../libs/utils-shared/dist/index.js";
|
|
3
3
|
import { memo as u } from "react";
|
|
4
4
|
import { DIGITS as v } from "./types.js";
|
|
5
5
|
import { useCommonTranslation as D } from "../../../i18n/useCommonTranslation.js";
|
|
6
|
-
const
|
|
6
|
+
const o = {
|
|
7
7
|
"heading-1-semi-bold": {
|
|
8
8
|
0: 25,
|
|
9
9
|
1: 15.5,
|
|
@@ -44,26 +44,26 @@ const d = {
|
|
|
44
44
|
md: {
|
|
45
45
|
integer: {
|
|
46
46
|
className: "heading-1-semi-bold",
|
|
47
|
-
widths:
|
|
47
|
+
widths: o["heading-1-semi-bold"]
|
|
48
48
|
},
|
|
49
49
|
decimal: {
|
|
50
50
|
className: "heading-2-semi-bold",
|
|
51
|
-
widths:
|
|
51
|
+
widths: o["heading-2-semi-bold"]
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
sm: {
|
|
55
55
|
integer: {
|
|
56
56
|
className: "heading-2-semi-bold",
|
|
57
|
-
widths:
|
|
57
|
+
widths: o["heading-2-semi-bold"]
|
|
58
58
|
},
|
|
59
59
|
decimal: {
|
|
60
60
|
className: "heading-4-semi-bold",
|
|
61
|
-
widths:
|
|
61
|
+
widths: o["heading-4-semi-bold"]
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
}, b = u(({ value: s, animate: l, widths: a }) => {
|
|
65
65
|
const t = a[s];
|
|
66
|
-
return /* @__PURE__ */
|
|
66
|
+
return /* @__PURE__ */ d(
|
|
67
67
|
"div",
|
|
68
68
|
{
|
|
69
69
|
className: m(
|
|
@@ -133,8 +133,8 @@ function A({
|
|
|
133
133
|
"aria-label": x,
|
|
134
134
|
"aria-busy": t,
|
|
135
135
|
...g,
|
|
136
|
-
children: /* @__PURE__ */
|
|
137
|
-
/* @__PURE__ */
|
|
136
|
+
children: /* @__PURE__ */ d("div", { className: "flex items-baseline", children: [
|
|
137
|
+
/* @__PURE__ */ d(
|
|
138
138
|
"span",
|
|
139
139
|
{
|
|
140
140
|
className: m("inline-flex text-base", c.integer.className),
|
|
@@ -152,7 +152,7 @@ function A({
|
|
|
152
152
|
]
|
|
153
153
|
}
|
|
154
154
|
),
|
|
155
|
-
/* @__PURE__ */
|
|
155
|
+
/* @__PURE__ */ d(
|
|
156
156
|
"span",
|
|
157
157
|
{
|
|
158
158
|
className: m("inline-flex text-muted", c.decimal.className),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { textFormatter as m } from "../../../../libs/utils-shared/dist/index.js";
|
|
2
|
-
import { useCallback as
|
|
2
|
+
import { useCallback as i, useState as g, useRef as d, useEffect as f } from "react";
|
|
3
3
|
const I = ({
|
|
4
4
|
value: r,
|
|
5
5
|
onChange: o,
|
|
6
6
|
formatOptions: t
|
|
7
7
|
}) => {
|
|
8
|
-
const a =
|
|
8
|
+
const a = i(
|
|
9
9
|
(e) => m(String(e), t),
|
|
10
10
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
11
11
|
[
|
|
@@ -15,7 +15,7 @@ const I = ({
|
|
|
15
15
|
t.maxDecimalLength,
|
|
16
16
|
t.decimalSeparator
|
|
17
17
|
]
|
|
18
|
-
), [c, s] = g(() => a(r)), [h, l] = g(!1), u =
|
|
18
|
+
), [c, s] = g(() => a(r)), [h, l] = g(!1), u = d(c);
|
|
19
19
|
return f(() => {
|
|
20
20
|
const e = a(r);
|
|
21
21
|
s(e), u.current = e;
|
|
@@ -12,5 +12,5 @@ import { AvatarProps } from './types';
|
|
|
12
12
|
*
|
|
13
13
|
* <Avatar src="https://example.com/photo.jpg" size="md" />
|
|
14
14
|
*/
|
|
15
|
-
export declare const Avatar: ({ ref, className, src, alt,
|
|
15
|
+
export declare const Avatar: ({ ref, className, src, alt, size, imgLoading, fallbackText, fallbackColor, appearance, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
//# sourceMappingURL=Avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Avatar.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/Avatar.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAmE3C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,MAAM,GAAI,mGAWpB,WAAW,4CAyDb,CAAC"}
|