@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.
Files changed (56) hide show
  1. package/dist/index.js +227 -223
  2. package/dist/lib/Components/AmountDisplay/AmountDisplay.js +10 -10
  3. package/dist/lib/Components/AmountInput/useAmountInputValue/useAmountInputValue.js +3 -3
  4. package/dist/lib/Components/Avatar/Avatar.d.ts +1 -1
  5. package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
  6. package/dist/lib/Components/Avatar/Avatar.js +97 -57
  7. package/dist/lib/Components/Avatar/index.d.ts +1 -0
  8. package/dist/lib/Components/Avatar/index.d.ts.map +1 -1
  9. package/dist/lib/Components/Avatar/resolveAvatarColor.d.ts +9 -0
  10. package/dist/lib/Components/Avatar/resolveAvatarColor.d.ts.map +1 -0
  11. package/dist/lib/Components/Avatar/resolveAvatarColor.js +18 -0
  12. package/dist/lib/Components/Avatar/types.d.ts +23 -8
  13. package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
  14. package/dist/lib/Components/AvatarButton/AvatarButton.d.ts +6 -0
  15. package/dist/lib/Components/AvatarButton/AvatarButton.d.ts.map +1 -0
  16. package/dist/lib/Components/AvatarButton/AvatarButton.js +52 -0
  17. package/dist/lib/Components/AvatarButton/index.d.ts +3 -0
  18. package/dist/lib/Components/AvatarButton/index.d.ts.map +1 -0
  19. package/dist/lib/Components/AvatarButton/types.d.ts +4 -0
  20. package/dist/lib/Components/AvatarButton/types.d.ts.map +1 -0
  21. package/dist/lib/Components/BaseInput/BaseInput.js +6 -6
  22. package/dist/lib/Components/BaseTag/BaseTag.js +4 -4
  23. package/dist/lib/Components/Button/BaseButton.d.ts +2 -2
  24. package/dist/lib/Components/Button/Button.js +8 -8
  25. package/dist/lib/Components/Card/Card.js +14 -14
  26. package/dist/lib/Components/CardButton/CardButton.js +6 -6
  27. package/dist/lib/Components/DataTable/DataTable.js +10 -10
  28. package/dist/lib/Components/Divider/Divider.js +4 -4
  29. package/dist/lib/Components/DotIcon/DotIcon.js +5 -5
  30. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts +32 -0
  31. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts.map +1 -1
  32. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.js +7 -4
  33. package/dist/lib/Components/Icon/createIcon.js +6 -6
  34. package/dist/lib/Components/Link/Link.js +6 -6
  35. package/dist/lib/Components/ListItem/ListItem.js +4 -4
  36. package/dist/lib/Components/MediaBanner/MediaBanner.d.ts +1 -1
  37. package/dist/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -1
  38. package/dist/lib/Components/MediaBanner/MediaBanner.js +94 -75
  39. package/dist/lib/Components/MediaCard/MediaCard.js +4 -4
  40. package/dist/lib/Components/MediaImage/MediaImage.js +6 -6
  41. package/dist/lib/Components/Menu/Menu.js +33 -33
  42. package/dist/lib/Components/NavBar/CoinCapsule.js +4 -4
  43. package/dist/lib/Components/NavBar/NavBar.js +9 -9
  44. package/dist/lib/Components/Popover/Popover.js +14 -14
  45. package/dist/lib/Components/SegmentedControl/SegmentedControl.js +11 -11
  46. package/dist/lib/Components/SideBar/SideBar.js +34 -34
  47. package/dist/lib/Components/Spot/Spot.js +4 -4
  48. package/dist/lib/Components/Stepper/Stepper.js +6 -6
  49. package/dist/lib/Components/Table/Table.js +9 -9
  50. package/dist/lib/Components/Tooltip/Tooltip.js +4 -4
  51. package/dist/lib/Components/index.d.ts +1 -0
  52. package/dist/lib/Components/index.d.ts.map +1 -1
  53. package/dist/libs/design-core/dist/lib/cssVar/cssVar.js +4 -0
  54. package/dist/libs/utils-shared/dist/index.js +135 -112
  55. package/dist/package.json +2 -2
  56. 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 { Banner as x } from "./lib/Components/Banner/Banner.js";
7
- import { BaseInput as C } from "./lib/Components/BaseInput/BaseInput.js";
8
- import { Button as S } from "./lib/Components/Button/Button.js";
9
- import { BaseButton as g } from "./lib/Components/Button/BaseButton.js";
10
- import { Card as b, CardContent as B, CardContentDescription as s, CardContentRow as D, CardContentTitle as M, CardFooter as L, CardFooterActions as h, CardHeader as v, CardLeading as R, CardTrailing as H } from "./lib/Components/Card/Card.js";
11
- import { CardButton as A } from "./lib/Components/CardButton/CardButton.js";
12
- import { Checkbox as y } from "./lib/Components/Checkbox/Checkbox.js";
13
- import { ContentBanner as k, ContentBannerContent as G, ContentBannerDescription as z, ContentBannerTitle as E } from "./lib/Components/ContentBanner/ContentBanner.js";
14
- import { DataTable as O, DataTableGlobalSearchInput as V, DataTableRoot as _ } from "./lib/Components/DataTable/DataTable.js";
15
- import { useLumenDataTable as q } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
16
- import { DescriptionItem as K, DescriptionItemLabel as Q, DescriptionItemLeading as U, DescriptionItemTrailing as W, DescriptionItemValue as X } from "./lib/Components/DescriptionItem/DescriptionItem.js";
17
- import { DialogClose as Z } from "./lib/Components/Dialog/DialogClose/DialogClose.js";
18
- import { Dialog as ee, DialogBody as oe, DialogBodyStickyContent as te, DialogContent as re, DialogFooter as ae, DialogTrigger as ne } from "./lib/Components/Dialog/Dialog.js";
19
- import { DialogHeader as pe } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
20
- import { Divider as me } from "./lib/Components/Divider/Divider.js";
21
- import { DotCount as Te } from "./lib/Components/DotCount/DotCount.js";
22
- import { DotIcon as fe, dotIconSizeMap as Ce, mediaImageDotIconSizeMap as ce, spotDotIconSizeMap as Se } from "./lib/Components/DotIcon/DotIcon.js";
23
- import { DotIndicator as ge } from "./lib/Components/DotIndicator/DotIndicator.js";
24
- import { getDotIndicatorProps as be } from "./lib/Components/DotIndicator/getDotIndicatorProps.js";
25
- import { DotSymbol as se, mediaImageDotSizeMap as De, spotDotSizeMap as Me } from "./lib/Components/DotSymbol/DotSymbol.js";
26
- import { IconButton as he } from "./lib/Components/IconButton/IconButton.js";
27
- import { InteractiveIcon as Re } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
28
- import { Link as we } from "./lib/Components/Link/Link.js";
29
- import { ListItem as Pe, ListItemContent as ye, ListItemContentRow as Ne, ListItemDescription as ke, ListItemLeading as Ge, ListItemTitle as ze, ListItemTrailing as Ee } from "./lib/Components/ListItem/ListItem.js";
30
- import { MediaBanner as Oe, MediaBannerDescription as Ve, MediaBannerTitle as _e } from "./lib/Components/MediaBanner/MediaBanner.js";
31
- import { MediaButton as qe } from "./lib/Components/MediaButton/MediaButton.js";
32
- import { MediaCard as Ke, MediaCardTitle as Qe } from "./lib/Components/MediaCard/MediaCard.js";
33
- import { MediaImage as We } from "./lib/Components/MediaImage/MediaImage.js";
34
- import { MediaTag as Ye } from "./lib/Components/MediaTag/MediaTag.js";
35
- import { Menu as $e, MenuCheckboxItem as eo, MenuContent as oo, MenuGroup as to, MenuItem as ro, MenuLabel as ao, MenuRadioGroup as no, MenuRadioItem as io, MenuSeparator as po, MenuSub as lo, MenuSubContent as mo, MenuSubTrigger as To, MenuTrigger as xo, createMenuRadioGroup as fo } from "./lib/Components/Menu/Menu.js";
36
- import { NavBar as co, NavBarBackButton as So, NavBarCoinCapsule as uo, NavBarDescription as go, NavBarLeading as Io, NavBarTitle as bo, NavBarTrailing as Bo } from "./lib/Components/NavBar/NavBar.js";
37
- import { Popover as Do, PopoverContent as Mo, PopoverTrigger as Lo, createPopoverHandle as ho } from "./lib/Components/Popover/Popover.js";
38
- import { PageIndicator as Ro } from "./lib/Components/PageIndicator/PageIndicator.js";
39
- import { Pagination as wo } from "./lib/Components/Pagination/Pagination.js";
40
- import { SearchInput as Po } from "./lib/Components/SearchInput/SearchInput.js";
41
- import { SectionHeader as No, SectionHeaderLeading as ko, SectionHeaderTitle as Go } from "./lib/Components/SectionHeader/SectionHeader.js";
42
- import { SegmentedControl as Eo, SegmentedControlButton as Fo, createSegmentedControl as Oo } from "./lib/Components/SegmentedControl/SegmentedControl.js";
43
- import { Select as _o, SelectContent as jo, SelectEmptyState as qo, SelectItem as Jo, SelectItemContent as Ko, SelectItemDescription as Qo, SelectItemText as Uo, SelectList as Wo, SelectSearch as Xo, SelectSeparator as Yo, SelectTrigger as Zo, createSelect as $o } from "./lib/Components/Select/Select.js";
44
- import { SideBar as ot, SideBarCollapseToggle as tt, SideBarItem as rt, SideBarLeading as at, SideBarTrailing as nt, createSideBar as it } from "./lib/Components/SideBar/SideBar.js";
45
- import { Skeleton as lt } from "./lib/Components/Skeleton/Skeleton.js";
46
- import { Spinner as dt } from "./lib/Components/Spinner/Spinner.js";
47
- import { Spot as xt } from "./lib/Components/Spot/Spot.js";
48
- import { Stepper as Ct } from "./lib/Components/Stepper/Stepper.js";
49
- import { Subheader as St, SubheaderCount as ut, SubheaderDescription as gt, SubheaderInfo as It, SubheaderRow as bt, SubheaderShowMore as Bt, SubheaderTitle as st } from "./lib/Components/Subheader/Subheader.js";
50
- import { Switch as Mt } from "./lib/Components/Switch/Switch.js";
51
- import { Table as ht, TableActionBar as vt, TableActionBarLeading as Rt, TableActionBarTrailing as Ht, TableBody as wt, TableCell as At, TableCellContent as Pt, TableCellContentDescription as yt, TableCellContentRow as Nt, TableCellContentTitle as kt, TableCellItem as Gt, TableCol as zt, TableColGroup as Et, TableGroupHeaderRow as Ft, TableHeader as Ot, TableHeaderCell as Vt, TableHeaderRow as _t, TableInfoIcon as jt, TableLoadingRow as qt, TableRoot as Jt, TableRow as Kt, TableSortButton as Qt } from "./lib/Components/Table/Table.js";
52
- import { Tag as Wt } from "./lib/Components/Tag/Tag.js";
53
- import { TextInput as Yt } from "./lib/Components/TextInput/TextInput.js";
54
- import { Tile as $t, TileContent as er, TileDescription as or, TileSecondaryAction as tr, TileTitle as rr, TileTrailingContent as ar } from "./lib/Components/Tile/Tile.js";
55
- import { TileButton as ir } from "./lib/Components/TileButton/TileButton.js";
56
- import { Tooltip as lr, TooltipContent as mr, TooltipProvider as dr, TooltipTrigger as Tr } from "./lib/Components/Tooltip/Tooltip.js";
57
- import { Trend as fr } from "./lib/Components/Trend/Trend.js";
58
- import { ThemeProvider as cr, useTheme as Sr } from "./lib/Components/ThemeProvider/ThemeProvider.js";
59
- import { COLOR_SCHEMES as gr } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
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
- x as Banner,
66
- g as BaseButton,
67
- C as BaseInput,
68
- S as Button,
69
- gr as COLOR_SCHEMES,
70
- b as Card,
71
- A as CardButton,
72
- B as CardContent,
73
- s as CardContentDescription,
74
- D as CardContentRow,
75
- M as CardContentTitle,
76
- L as CardFooter,
77
- h as CardFooterActions,
78
- v as CardHeader,
79
- R as CardLeading,
80
- H as CardTrailing,
81
- y as Checkbox,
82
- k as ContentBanner,
83
- G as ContentBannerContent,
84
- z as ContentBannerDescription,
85
- E as ContentBannerTitle,
86
- O as DataTable,
87
- V as DataTableGlobalSearchInput,
88
- _ as DataTableRoot,
89
- K as DescriptionItem,
90
- Q as DescriptionItemLabel,
91
- U as DescriptionItemLeading,
92
- W as DescriptionItemTrailing,
93
- X as DescriptionItemValue,
94
- ee as Dialog,
95
- oe as DialogBody,
96
- te as DialogBodyStickyContent,
97
- Z as DialogClose,
98
- re as DialogContent,
99
- ae as DialogFooter,
100
- pe as DialogHeader,
101
- ne as DialogTrigger,
102
- me as Divider,
103
- Te as DotCount,
104
- fe as DotIcon,
105
- ge as DotIndicator,
106
- se as DotSymbol,
107
- he as IconButton,
108
- Re as InteractiveIcon,
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
- we as Link,
111
- Pe as ListItem,
112
- ye as ListItemContent,
113
- Ne as ListItemContentRow,
114
- ke as ListItemDescription,
115
- Ge as ListItemLeading,
116
- ze as ListItemTitle,
117
- Ee as ListItemTrailing,
118
- Oe as MediaBanner,
119
- Ve as MediaBannerDescription,
120
- _e as MediaBannerTitle,
121
- qe as MediaButton,
122
- Ke as MediaCard,
123
- Qe as MediaCardTitle,
124
- We as MediaImage,
125
- Ye as MediaTag,
126
- $e as Menu,
127
- eo as MenuCheckboxItem,
128
- oo as MenuContent,
129
- to as MenuGroup,
130
- ro as MenuItem,
131
- ao as MenuLabel,
132
- no as MenuRadioGroup,
133
- io as MenuRadioItem,
134
- po as MenuSeparator,
135
- lo as MenuSub,
136
- mo as MenuSubContent,
137
- To as MenuSubTrigger,
138
- xo as MenuTrigger,
139
- co as NavBar,
140
- So as NavBarBackButton,
141
- uo as NavBarCoinCapsule,
142
- go as NavBarDescription,
143
- Io as NavBarLeading,
144
- bo as NavBarTitle,
145
- Bo as NavBarTrailing,
146
- Ro as PageIndicator,
147
- wo as Pagination,
148
- Do as Popover,
149
- Mo as PopoverContent,
150
- Lo as PopoverTrigger,
151
- Po as SearchInput,
152
- No as SectionHeader,
153
- ko as SectionHeaderLeading,
154
- Go as SectionHeaderTitle,
155
- Eo as SegmentedControl,
156
- Fo as SegmentedControlButton,
157
- _o as Select,
158
- jo as SelectContent,
159
- qo as SelectEmptyState,
160
- Jo as SelectItem,
161
- Ko as SelectItemContent,
162
- Qo as SelectItemDescription,
163
- Uo as SelectItemText,
164
- Wo as SelectList,
165
- Xo as SelectSearch,
166
- Yo as SelectSeparator,
167
- Zo as SelectTrigger,
168
- ot as SideBar,
169
- tt as SideBarCollapseToggle,
170
- rt as SideBarItem,
171
- at as SideBarLeading,
172
- nt as SideBarTrailing,
173
- lt as Skeleton,
174
- dt as Spinner,
175
- xt as Spot,
176
- Ct as Stepper,
177
- St as Subheader,
178
- ut as SubheaderCount,
179
- gt as SubheaderDescription,
180
- It as SubheaderInfo,
181
- bt as SubheaderRow,
182
- Bt as SubheaderShowMore,
183
- st as SubheaderTitle,
184
- Mt as Switch,
185
- ht as Table,
186
- vt as TableActionBar,
187
- Rt as TableActionBarLeading,
188
- Ht as TableActionBarTrailing,
189
- wt as TableBody,
190
- At as TableCell,
191
- Pt as TableCellContent,
192
- yt as TableCellContentDescription,
193
- Nt as TableCellContentRow,
194
- kt as TableCellContentTitle,
195
- Gt as TableCellItem,
196
- zt as TableCol,
197
- Et as TableColGroup,
198
- Ft as TableGroupHeaderRow,
199
- Ot as TableHeader,
200
- Vt as TableHeaderCell,
201
- _t as TableHeaderRow,
202
- jt as TableInfoIcon,
203
- qt as TableLoadingRow,
204
- Jt as TableRoot,
205
- Kt as TableRow,
206
- Qt as TableSortButton,
207
- Wt as Tag,
208
- Yt as TextInput,
209
- cr as ThemeProvider,
210
- $t as Tile,
211
- ir as TileButton,
212
- er as TileContent,
213
- or as TileDescription,
214
- tr as TileSecondaryAction,
215
- rr as TileTitle,
216
- ar as TileTrailingContent,
217
- lr as Tooltip,
218
- mr as TooltipContent,
219
- dr as TooltipProvider,
220
- Tr as TooltipTrigger,
221
- fr as Trend,
222
- fo as createMenuRadioGroup,
223
- ho as createPopoverHandle,
224
- Oo as createSegmentedControl,
225
- $o as createSelect,
226
- it as createSideBar,
227
- Ce as dotIconSizeMap,
228
- be as getDotIndicatorProps,
229
- ce as mediaImageDotIconSizeMap,
230
- De as mediaImageDotSizeMap,
231
- Se as spotDotIconSizeMap,
232
- Me as spotDotSizeMap,
233
- q as useLumenDataTable,
234
- Sr as useTheme
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 o } from "react/jsx-runtime";
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 d = {
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: d["heading-1-semi-bold"]
47
+ widths: o["heading-1-semi-bold"]
48
48
  },
49
49
  decimal: {
50
50
  className: "heading-2-semi-bold",
51
- widths: d["heading-2-semi-bold"]
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: d["heading-2-semi-bold"]
57
+ widths: o["heading-2-semi-bold"]
58
58
  },
59
59
  decimal: {
60
60
  className: "heading-4-semi-bold",
61
- widths: d["heading-4-semi-bold"]
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__ */ o(
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__ */ o("div", { className: "flex items-baseline", children: [
137
- /* @__PURE__ */ o(
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__ */ o(
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 d, useState as g, useRef as i, useEffect as f } from "react";
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 = d(
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 = i(c);
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, appearance, size, imgLoading, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
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":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAiC3C;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,MAAM,GAAI,sEASpB,WAAW,4CAwCb,CAAC"}
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"}