@ledgerhq/lumen-ui-react 0.1.48 → 0.1.50

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 (58) hide show
  1. package/dist/index.d.ts +1 -0
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +237 -231
  4. package/dist/lib/Components/AmountDisplay/AmountDisplay.js +10 -10
  5. package/dist/lib/Components/AmountInput/useAmountInputValue/useAmountInputValue.js +3 -3
  6. package/dist/lib/Components/Avatar/Avatar.d.ts +1 -1
  7. package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
  8. package/dist/lib/Components/Avatar/Avatar.js +97 -57
  9. package/dist/lib/Components/Avatar/index.d.ts +1 -0
  10. package/dist/lib/Components/Avatar/index.d.ts.map +1 -1
  11. package/dist/lib/Components/Avatar/resolveAvatarColor.d.ts +9 -0
  12. package/dist/lib/Components/Avatar/resolveAvatarColor.d.ts.map +1 -0
  13. package/dist/lib/Components/Avatar/resolveAvatarColor.js +18 -0
  14. package/dist/lib/Components/Avatar/types.d.ts +23 -8
  15. package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
  16. package/dist/lib/Components/AvatarButton/AvatarButton.d.ts +6 -0
  17. package/dist/lib/Components/AvatarButton/AvatarButton.d.ts.map +1 -0
  18. package/dist/lib/Components/AvatarButton/AvatarButton.js +52 -0
  19. package/dist/lib/Components/AvatarButton/index.d.ts +3 -0
  20. package/dist/lib/Components/AvatarButton/index.d.ts.map +1 -0
  21. package/dist/lib/Components/AvatarButton/types.d.ts +4 -0
  22. package/dist/lib/Components/AvatarButton/types.d.ts.map +1 -0
  23. package/dist/lib/Components/BaseInput/BaseInput.js +6 -6
  24. package/dist/lib/Components/BaseTag/BaseTag.js +4 -4
  25. package/dist/lib/Components/Button/BaseButton.d.ts +2 -2
  26. package/dist/lib/Components/Button/Button.js +8 -8
  27. package/dist/lib/Components/Card/Card.js +14 -14
  28. package/dist/lib/Components/CardButton/CardButton.js +6 -6
  29. package/dist/lib/Components/DataTable/DataTable.js +10 -10
  30. package/dist/lib/Components/Divider/Divider.js +4 -4
  31. package/dist/lib/Components/DotIcon/DotIcon.js +5 -5
  32. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts +32 -0
  33. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts.map +1 -1
  34. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.js +7 -4
  35. package/dist/lib/Components/Icon/createIcon.js +6 -6
  36. package/dist/lib/Components/Link/Link.js +6 -6
  37. package/dist/lib/Components/ListItem/ListItem.js +4 -4
  38. package/dist/lib/Components/MediaBanner/MediaBanner.d.ts +1 -1
  39. package/dist/lib/Components/MediaBanner/MediaBanner.d.ts.map +1 -1
  40. package/dist/lib/Components/MediaBanner/MediaBanner.js +94 -75
  41. package/dist/lib/Components/MediaCard/MediaCard.js +4 -4
  42. package/dist/lib/Components/MediaImage/MediaImage.js +6 -6
  43. package/dist/lib/Components/Menu/Menu.js +33 -33
  44. package/dist/lib/Components/NavBar/CoinCapsule.js +4 -4
  45. package/dist/lib/Components/NavBar/NavBar.js +9 -9
  46. package/dist/lib/Components/Popover/Popover.js +14 -14
  47. package/dist/lib/Components/SegmentedControl/SegmentedControl.js +11 -11
  48. package/dist/lib/Components/SideBar/SideBar.js +34 -34
  49. package/dist/lib/Components/Spot/Spot.js +4 -4
  50. package/dist/lib/Components/Stepper/Stepper.js +6 -6
  51. package/dist/lib/Components/Table/Table.js +9 -9
  52. package/dist/lib/Components/Tooltip/Tooltip.js +4 -4
  53. package/dist/lib/Components/index.d.ts +1 -0
  54. package/dist/lib/Components/index.d.ts.map +1 -1
  55. package/dist/libs/design-core/dist/lib/cssVar/cssVar.js +4 -0
  56. package/dist/libs/utils-shared/dist/index.js +135 -112
  57. package/dist/package.json +3 -3
  58. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './lib/Components';
2
2
  export { type SupportedLocale, Languages } from './i18n';
3
+ export { useControllableState } from './utils/useControllableState';
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,KAAK,eAAe,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC"}
package/dist/index.js CHANGED
@@ -1,235 +1,241 @@
1
1
  import { Languages as t } from "./i18n/languages.js";
2
- import { AddressInput as a } from "./lib/Components/AddressInput/AddressInput.js";
3
- import { AmountInput as i } from "./lib/Components/AmountInput/AmountInput.js";
4
- import { AmountDisplay as l } from "./lib/Components/AmountDisplay/AmountDisplay.js";
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";
2
+ import { useControllableState as a } from "./utils/useControllableState/useControllableState.js";
3
+ import { AddressInput as i } from "./lib/Components/AddressInput/AddressInput.js";
4
+ import { AmountInput as l } from "./lib/Components/AmountInput/AmountInput.js";
5
+ import { AmountDisplay as d } from "./lib/Components/AmountDisplay/AmountDisplay.js";
6
+ import { Avatar as x } from "./lib/Components/Avatar/Avatar.js";
7
+ import { resolveAvatarColor as C } from "./lib/Components/Avatar/resolveAvatarColor.js";
8
+ import { AvatarButton as S } from "./lib/Components/AvatarButton/AvatarButton.js";
9
+ import { Banner as g } from "./lib/Components/Banner/Banner.js";
10
+ import { BaseInput as I } from "./lib/Components/BaseInput/BaseInput.js";
11
+ import { Button as s } from "./lib/Components/Button/Button.js";
12
+ import { BaseButton as M } from "./lib/Components/Button/BaseButton.js";
13
+ import { Card as v, CardContent as h, CardContentDescription as R, CardContentRow as A, CardContentTitle as H, CardFooter as w, CardFooterActions as P, CardHeader as y, CardLeading as N, CardTrailing as k } from "./lib/Components/Card/Card.js";
14
+ import { CardButton as z } from "./lib/Components/CardButton/CardButton.js";
15
+ import { Checkbox as F } from "./lib/Components/Checkbox/Checkbox.js";
16
+ import { ContentBanner as V, ContentBannerContent as _, ContentBannerDescription as j, ContentBannerTitle as q } from "./lib/Components/ContentBanner/ContentBanner.js";
17
+ import { DataTable as K, DataTableGlobalSearchInput as Q, DataTableRoot as U } from "./lib/Components/DataTable/DataTable.js";
18
+ import { useLumenDataTable as X } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
19
+ import { DescriptionItem as Z, DescriptionItemLabel as $, DescriptionItemLeading as ee, DescriptionItemTrailing as oe, DescriptionItemValue as te } from "./lib/Components/DescriptionItem/DescriptionItem.js";
20
+ import { DialogClose as ae } from "./lib/Components/Dialog/DialogClose/DialogClose.js";
21
+ import { Dialog as ie, DialogBody as pe, DialogBodyStickyContent as le, DialogContent as me, DialogFooter as de, DialogTrigger as Te } from "./lib/Components/Dialog/Dialog.js";
22
+ import { DialogHeader as fe } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
23
+ import { Divider as ce } from "./lib/Components/Divider/Divider.js";
24
+ import { DotCount as ue } from "./lib/Components/DotCount/DotCount.js";
25
+ import { DotIcon as be, dotIconSizeMap as Ie, mediaImageDotIconSizeMap as Be, spotDotIconSizeMap as se } from "./lib/Components/DotIcon/DotIcon.js";
26
+ import { DotIndicator as Me } from "./lib/Components/DotIndicator/DotIndicator.js";
27
+ import { getDotIndicatorProps as ve } from "./lib/Components/DotIndicator/getDotIndicatorProps.js";
28
+ import { DotSymbol as Re, mediaImageDotSizeMap as Ae, spotDotSizeMap as He } from "./lib/Components/DotSymbol/DotSymbol.js";
29
+ import { IconButton as Pe } from "./lib/Components/IconButton/IconButton.js";
30
+ import { InteractiveIcon as Ne } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
31
+ import { Link as Ge } from "./lib/Components/Link/Link.js";
32
+ import { ListItem as Ee, ListItemContent as Fe, ListItemContentRow as Oe, ListItemDescription as Ve, ListItemLeading as _e, ListItemTitle as je, ListItemTrailing as qe } from "./lib/Components/ListItem/ListItem.js";
33
+ import { MediaBanner as Ke, MediaBannerDescription as Qe, MediaBannerTitle as Ue } from "./lib/Components/MediaBanner/MediaBanner.js";
34
+ import { MediaButton as Xe } from "./lib/Components/MediaButton/MediaButton.js";
35
+ import { MediaCard as Ze, MediaCardTitle as $e } from "./lib/Components/MediaCard/MediaCard.js";
36
+ import { MediaImage as oo } from "./lib/Components/MediaImage/MediaImage.js";
37
+ import { MediaTag as ro } from "./lib/Components/MediaTag/MediaTag.js";
38
+ import { Menu as no, MenuCheckboxItem as io, MenuContent as po, MenuGroup as lo, MenuItem as mo, MenuLabel as To, MenuRadioGroup as xo, MenuRadioItem as fo, MenuSeparator as Co, MenuSub as co, MenuSubContent as So, MenuSubTrigger as uo, MenuTrigger as go, createMenuRadioGroup as bo } from "./lib/Components/Menu/Menu.js";
39
+ import { NavBar as Bo, NavBarBackButton as so, NavBarCoinCapsule as Do, NavBarDescription as Mo, NavBarLeading as Lo, NavBarTitle as vo, NavBarTrailing as ho } from "./lib/Components/NavBar/NavBar.js";
40
+ import { Popover as Ao, PopoverContent as Ho, PopoverTrigger as wo, createPopoverHandle as Po } from "./lib/Components/Popover/Popover.js";
41
+ import { PageIndicator as No } from "./lib/Components/PageIndicator/PageIndicator.js";
42
+ import { Pagination as Go } from "./lib/Components/Pagination/Pagination.js";
43
+ import { SearchInput as Eo } from "./lib/Components/SearchInput/SearchInput.js";
44
+ import { SectionHeader as Oo, SectionHeaderLeading as Vo, SectionHeaderTitle as _o } from "./lib/Components/SectionHeader/SectionHeader.js";
45
+ import { SegmentedControl as qo, SegmentedControlButton as Jo, createSegmentedControl as Ko } from "./lib/Components/SegmentedControl/SegmentedControl.js";
46
+ import { Select as Uo, SelectContent as Wo, SelectEmptyState as Xo, SelectItem as Yo, SelectItemContent as Zo, SelectItemDescription as $o, SelectItemText as et, SelectList as ot, SelectSearch as tt, SelectSeparator as rt, SelectTrigger as at, createSelect as nt } from "./lib/Components/Select/Select.js";
47
+ import { SideBar as pt, SideBarCollapseToggle as lt, SideBarItem as mt, SideBarLeading as dt, SideBarTrailing as Tt, createSideBar as xt } from "./lib/Components/SideBar/SideBar.js";
48
+ import { Skeleton as Ct } from "./lib/Components/Skeleton/Skeleton.js";
49
+ import { Spinner as St } from "./lib/Components/Spinner/Spinner.js";
50
+ import { Spot as gt } from "./lib/Components/Spot/Spot.js";
51
+ import { Stepper as It } from "./lib/Components/Stepper/Stepper.js";
52
+ import { Subheader as st, SubheaderCount as Dt, SubheaderDescription as Mt, SubheaderInfo as Lt, SubheaderRow as vt, SubheaderShowMore as ht, SubheaderTitle as Rt } from "./lib/Components/Subheader/Subheader.js";
53
+ import { Switch as Ht } from "./lib/Components/Switch/Switch.js";
54
+ import { Table as Pt, TableActionBar as yt, TableActionBarLeading as Nt, TableActionBarTrailing as kt, TableBody as Gt, TableCell as zt, TableCellContent as Et, TableCellContentDescription as Ft, TableCellContentRow as Ot, TableCellContentTitle as Vt, TableCellItem as _t, TableCol as jt, TableColGroup as qt, TableGroupHeaderRow as Jt, TableHeader as Kt, TableHeaderCell as Qt, TableHeaderRow as Ut, TableInfoIcon as Wt, TableLoadingRow as Xt, TableRoot as Yt, TableRow as Zt, TableSortButton as $t } from "./lib/Components/Table/Table.js";
55
+ import { Tag as or } from "./lib/Components/Tag/Tag.js";
56
+ import { TextInput as rr } from "./lib/Components/TextInput/TextInput.js";
57
+ import { Tile as nr, TileContent as ir, TileDescription as pr, TileSecondaryAction as lr, TileTitle as mr, TileTrailingContent as dr } from "./lib/Components/Tile/Tile.js";
58
+ import { TileButton as xr } from "./lib/Components/TileButton/TileButton.js";
59
+ import { Tooltip as Cr, TooltipContent as cr, TooltipProvider as Sr, TooltipTrigger as ur } from "./lib/Components/Tooltip/Tooltip.js";
60
+ import { Trend as br } from "./lib/Components/Trend/Trend.js";
61
+ import { ThemeProvider as Br, useTheme as sr } from "./lib/Components/ThemeProvider/ThemeProvider.js";
62
+ import { COLOR_SCHEMES as Mr } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
60
63
  export {
61
- a as AddressInput,
62
- l as AmountDisplay,
63
- i as AmountInput,
64
- 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,
64
+ i as AddressInput,
65
+ d as AmountDisplay,
66
+ l as AmountInput,
67
+ x as Avatar,
68
+ S as AvatarButton,
69
+ g as Banner,
70
+ M as BaseButton,
71
+ I as BaseInput,
72
+ s as Button,
73
+ Mr as COLOR_SCHEMES,
74
+ v as Card,
75
+ z as CardButton,
76
+ h as CardContent,
77
+ R as CardContentDescription,
78
+ A as CardContentRow,
79
+ H as CardContentTitle,
80
+ w as CardFooter,
81
+ P as CardFooterActions,
82
+ y as CardHeader,
83
+ N as CardLeading,
84
+ k as CardTrailing,
85
+ F as Checkbox,
86
+ V as ContentBanner,
87
+ _ as ContentBannerContent,
88
+ j as ContentBannerDescription,
89
+ q as ContentBannerTitle,
90
+ K as DataTable,
91
+ Q as DataTableGlobalSearchInput,
92
+ U as DataTableRoot,
93
+ Z as DescriptionItem,
94
+ $ as DescriptionItemLabel,
95
+ ee as DescriptionItemLeading,
96
+ oe as DescriptionItemTrailing,
97
+ te as DescriptionItemValue,
98
+ ie as Dialog,
99
+ pe as DialogBody,
100
+ le as DialogBodyStickyContent,
101
+ ae as DialogClose,
102
+ me as DialogContent,
103
+ de as DialogFooter,
104
+ fe as DialogHeader,
105
+ Te as DialogTrigger,
106
+ ce as Divider,
107
+ ue as DotCount,
108
+ be as DotIcon,
109
+ Me as DotIndicator,
110
+ Re as DotSymbol,
111
+ Pe as IconButton,
112
+ Ne as InteractiveIcon,
109
113
  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
114
+ Ge as Link,
115
+ Ee as ListItem,
116
+ Fe as ListItemContent,
117
+ Oe as ListItemContentRow,
118
+ Ve as ListItemDescription,
119
+ _e as ListItemLeading,
120
+ je as ListItemTitle,
121
+ qe as ListItemTrailing,
122
+ Ke as MediaBanner,
123
+ Qe as MediaBannerDescription,
124
+ Ue as MediaBannerTitle,
125
+ Xe as MediaButton,
126
+ Ze as MediaCard,
127
+ $e as MediaCardTitle,
128
+ oo as MediaImage,
129
+ ro as MediaTag,
130
+ no as Menu,
131
+ io as MenuCheckboxItem,
132
+ po as MenuContent,
133
+ lo as MenuGroup,
134
+ mo as MenuItem,
135
+ To as MenuLabel,
136
+ xo as MenuRadioGroup,
137
+ fo as MenuRadioItem,
138
+ Co as MenuSeparator,
139
+ co as MenuSub,
140
+ So as MenuSubContent,
141
+ uo as MenuSubTrigger,
142
+ go as MenuTrigger,
143
+ Bo as NavBar,
144
+ so as NavBarBackButton,
145
+ Do as NavBarCoinCapsule,
146
+ Mo as NavBarDescription,
147
+ Lo as NavBarLeading,
148
+ vo as NavBarTitle,
149
+ ho as NavBarTrailing,
150
+ No as PageIndicator,
151
+ Go as Pagination,
152
+ Ao as Popover,
153
+ Ho as PopoverContent,
154
+ wo as PopoverTrigger,
155
+ Eo as SearchInput,
156
+ Oo as SectionHeader,
157
+ Vo as SectionHeaderLeading,
158
+ _o as SectionHeaderTitle,
159
+ qo as SegmentedControl,
160
+ Jo as SegmentedControlButton,
161
+ Uo as Select,
162
+ Wo as SelectContent,
163
+ Xo as SelectEmptyState,
164
+ Yo as SelectItem,
165
+ Zo as SelectItemContent,
166
+ $o as SelectItemDescription,
167
+ et as SelectItemText,
168
+ ot as SelectList,
169
+ tt as SelectSearch,
170
+ rt as SelectSeparator,
171
+ at as SelectTrigger,
172
+ pt as SideBar,
173
+ lt as SideBarCollapseToggle,
174
+ mt as SideBarItem,
175
+ dt as SideBarLeading,
176
+ Tt as SideBarTrailing,
177
+ Ct as Skeleton,
178
+ St as Spinner,
179
+ gt as Spot,
180
+ It as Stepper,
181
+ st as Subheader,
182
+ Dt as SubheaderCount,
183
+ Mt as SubheaderDescription,
184
+ Lt as SubheaderInfo,
185
+ vt as SubheaderRow,
186
+ ht as SubheaderShowMore,
187
+ Rt as SubheaderTitle,
188
+ Ht as Switch,
189
+ Pt as Table,
190
+ yt as TableActionBar,
191
+ Nt as TableActionBarLeading,
192
+ kt as TableActionBarTrailing,
193
+ Gt as TableBody,
194
+ zt as TableCell,
195
+ Et as TableCellContent,
196
+ Ft as TableCellContentDescription,
197
+ Ot as TableCellContentRow,
198
+ Vt as TableCellContentTitle,
199
+ _t as TableCellItem,
200
+ jt as TableCol,
201
+ qt as TableColGroup,
202
+ Jt as TableGroupHeaderRow,
203
+ Kt as TableHeader,
204
+ Qt as TableHeaderCell,
205
+ Ut as TableHeaderRow,
206
+ Wt as TableInfoIcon,
207
+ Xt as TableLoadingRow,
208
+ Yt as TableRoot,
209
+ Zt as TableRow,
210
+ $t as TableSortButton,
211
+ or as Tag,
212
+ rr as TextInput,
213
+ Br as ThemeProvider,
214
+ nr as Tile,
215
+ xr as TileButton,
216
+ ir as TileContent,
217
+ pr as TileDescription,
218
+ lr as TileSecondaryAction,
219
+ mr as TileTitle,
220
+ dr as TileTrailingContent,
221
+ Cr as Tooltip,
222
+ cr as TooltipContent,
223
+ Sr as TooltipProvider,
224
+ ur as TooltipTrigger,
225
+ br as Trend,
226
+ bo as createMenuRadioGroup,
227
+ Po as createPopoverHandle,
228
+ Ko as createSegmentedControl,
229
+ nt as createSelect,
230
+ xt as createSideBar,
231
+ Ie as dotIconSizeMap,
232
+ ve as getDotIndicatorProps,
233
+ Be as mediaImageDotIconSizeMap,
234
+ Ae as mediaImageDotSizeMap,
235
+ C as resolveAvatarColor,
236
+ se as spotDotIconSizeMap,
237
+ He as spotDotSizeMap,
238
+ a as useControllableState,
239
+ X as useLumenDataTable,
240
+ sr as useTheme
235
241
  };
@@ -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"}