@ledgerhq/lumen-ui-react 0.1.45 → 0.1.46

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 (59) hide show
  1. package/dist/i18n/locales/de.json.d.ts +1 -3
  2. package/dist/i18n/locales/de.json.js +1 -1
  3. package/dist/i18n/locales/en.json.d.ts +1 -3
  4. package/dist/i18n/locales/en.json.js +1 -1
  5. package/dist/i18n/locales/es.json.d.ts +1 -3
  6. package/dist/i18n/locales/es.json.js +1 -1
  7. package/dist/i18n/locales/fr.json.d.ts +1 -3
  8. package/dist/i18n/locales/fr.json.js +1 -1
  9. package/dist/i18n/locales/ja.json.d.ts +1 -3
  10. package/dist/i18n/locales/ja.json.js +2 -2
  11. package/dist/i18n/locales/ko.json.d.ts +1 -3
  12. package/dist/i18n/locales/ko.json.js +2 -2
  13. package/dist/i18n/locales/pt.json.d.ts +1 -3
  14. package/dist/i18n/locales/pt.json.js +1 -1
  15. package/dist/i18n/locales/ru.json.d.ts +1 -3
  16. package/dist/i18n/locales/ru.json.js +1 -1
  17. package/dist/i18n/locales/th.json.d.ts +1 -3
  18. package/dist/i18n/locales/th.json.js +2 -2
  19. package/dist/i18n/locales/tr.json.d.ts +1 -3
  20. package/dist/i18n/locales/tr.json.js +2 -2
  21. package/dist/i18n/locales/zh.json.d.ts +1 -3
  22. package/dist/i18n/locales/zh.json.js +2 -2
  23. package/dist/index.js +169 -165
  24. package/dist/lib/Components/Avatar/Avatar.d.ts +1 -4
  25. package/dist/lib/Components/Avatar/Avatar.d.ts.map +1 -1
  26. package/dist/lib/Components/Avatar/Avatar.js +33 -40
  27. package/dist/lib/Components/Avatar/types.d.ts +0 -6
  28. package/dist/lib/Components/Avatar/types.d.ts.map +1 -1
  29. package/dist/lib/Components/Button/BaseButton.d.ts +1 -1
  30. package/dist/lib/Components/Card/Card.js +4 -4
  31. package/dist/lib/Components/DataTable/DataTable.d.ts.map +1 -1
  32. package/dist/lib/Components/DataTable/DataTable.js +97 -80
  33. package/dist/lib/Components/DataTable/types.d.ts +2 -1
  34. package/dist/lib/Components/DataTable/types.d.ts.map +1 -1
  35. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts +24 -0
  36. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.d.ts.map +1 -0
  37. package/dist/lib/Components/DotIndicator/getDotIndicatorProps.js +11 -0
  38. package/dist/lib/Components/DotIndicator/index.d.ts +1 -0
  39. package/dist/lib/Components/DotIndicator/index.d.ts.map +1 -1
  40. package/dist/lib/Components/MediaCard/MediaCard.js +4 -4
  41. package/dist/lib/Components/Table/Table.d.ts +17 -1
  42. package/dist/lib/Components/Table/Table.d.ts.map +1 -1
  43. package/dist/lib/Components/Table/Table.js +117 -88
  44. package/dist/lib/Components/Table/types.d.ts +23 -0
  45. package/dist/lib/Components/Table/types.d.ts.map +1 -1
  46. package/dist/lib/Components/Table/utils/useThrottledScrollBottom.js +5 -5
  47. package/dist/lib/Symbols/Icons/ChevronAscending.js +1 -1
  48. package/dist/lib/Symbols/Icons/ChevronDescending.js +1 -1
  49. package/dist/lib/Symbols/Icons/Contact.d.ts +29 -0
  50. package/dist/lib/Symbols/Icons/Contact.d.ts.map +1 -0
  51. package/dist/lib/Symbols/Icons/Contact.js +28 -0
  52. package/dist/lib/Symbols/index.d.ts +1 -0
  53. package/dist/lib/Symbols/index.d.ts.map +1 -1
  54. package/dist/lib/Symbols/index.js +388 -386
  55. package/dist/libs/utils-shared/dist/index.js +58 -52
  56. package/dist/package.json +3 -3
  57. package/package.json +3 -3
  58. package/dist/lib/Components/Design-tokens/shared.d.ts +0 -20
  59. package/dist/lib/Components/Design-tokens/shared.d.ts.map +0 -1
package/dist/index.js CHANGED
@@ -1,72 +1,73 @@
1
1
  import { Languages as t } from "./i18n/languages.js";
2
2
  import { AddressInput as a } from "./lib/Components/AddressInput/AddressInput.js";
3
3
  import { AmountInput as i } from "./lib/Components/AmountInput/AmountInput.js";
4
- import { AmountDisplay as m } from "./lib/Components/AmountDisplay/AmountDisplay.js";
4
+ import { AmountDisplay as l } from "./lib/Components/AmountDisplay/AmountDisplay.js";
5
5
  import { Avatar as d } from "./lib/Components/Avatar/Avatar.js";
6
6
  import { Banner as T } from "./lib/Components/Banner/Banner.js";
7
7
  import { BaseInput as c } from "./lib/Components/BaseInput/BaseInput.js";
8
- import { Button as u } from "./lib/Components/Button/Button.js";
8
+ import { Button as S } from "./lib/Components/Button/Button.js";
9
9
  import { BaseButton as g } from "./lib/Components/Button/BaseButton.js";
10
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 w } from "./lib/Components/Card/Card.js";
11
- import { CardButton as y } from "./lib/Components/CardButton/CardButton.js";
12
- import { Checkbox as P } from "./lib/Components/Checkbox/Checkbox.js";
13
- import { ContentBanner as k, ContentBannerContent as z, ContentBannerDescription as G, ContentBannerTitle as E } from "./lib/Components/ContentBanner/ContentBanner.js";
11
+ import { CardButton as P } from "./lib/Components/CardButton/CardButton.js";
12
+ import { Checkbox as H } 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
14
  import { DataTable as O, DataTableGlobalSearchInput as V, DataTableRoot as _ } from "./lib/Components/DataTable/DataTable.js";
15
15
  import { useLumenDataTable as q } from "./lib/Components/DataTable/useLumenDataTable/useLumenDataTable.js";
16
16
  import { DescriptionItem as K, DescriptionItemLabel as Q, DescriptionItemLeading as U, DescriptionItemTrailing as W, DescriptionItemValue as X } from "./lib/Components/DescriptionItem/DescriptionItem.js";
17
17
  import { DialogClose as Z } from "./lib/Components/Dialog/DialogClose/DialogClose.js";
18
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
19
  import { DialogHeader as pe } from "./lib/Components/Dialog/DialogHeader/DialogHeader.js";
20
- import { Divider as le } from "./lib/Components/Divider/Divider.js";
20
+ import { Divider as me } from "./lib/Components/Divider/Divider.js";
21
21
  import { DotCount as xe } from "./lib/Components/DotCount/DotCount.js";
22
- import { DotIcon as fe, dotIconSizeMap as ce, mediaImageDotIconSizeMap as Se, spotDotIconSizeMap as ue } from "./lib/Components/DotIcon/DotIcon.js";
22
+ import { DotIcon as fe, dotIconSizeMap as ce, mediaImageDotIconSizeMap as ue, spotDotIconSizeMap as Se } from "./lib/Components/DotIcon/DotIcon.js";
23
23
  import { DotIndicator as ge } from "./lib/Components/DotIndicator/DotIndicator.js";
24
- import { DotSymbol as Be, mediaImageDotSizeMap as be, spotDotSizeMap as se } from "./lib/Components/DotSymbol/DotSymbol.js";
25
- import { IconButton as Me } from "./lib/Components/IconButton/IconButton.js";
26
- import { InteractiveIcon as he } from "./lib/Components/InteractiveIcon/InteractiveIcon.js";
27
- import { Link as Re } from "./lib/Components/Link/Link.js";
28
- import { ListItem as Ae, ListItemContent as ye, ListItemContentRow as He, ListItemDescription as Pe, ListItemLeading as Ne, ListItemTitle as ke, ListItemTrailing as ze } from "./lib/Components/ListItem/ListItem.js";
29
- import { MediaBanner as Ee, MediaBannerDescription as Fe, MediaBannerTitle as Oe } from "./lib/Components/MediaBanner/MediaBanner.js";
30
- import { MediaButton as _e } from "./lib/Components/MediaButton/MediaButton.js";
31
- import { MediaCard as qe, MediaCardTitle as Je } from "./lib/Components/MediaCard/MediaCard.js";
32
- import { MediaImage as Qe } from "./lib/Components/MediaImage/MediaImage.js";
33
- import { MediaTag as We } from "./lib/Components/MediaTag/MediaTag.js";
34
- import { Menu as Ye, MenuCheckboxItem as Ze, MenuContent as $e, MenuGroup as eo, MenuItem as oo, MenuLabel as to, MenuRadioGroup as ro, MenuRadioItem as ao, MenuSeparator as no, MenuSub as io, MenuSubContent as po, MenuSubTrigger as mo, MenuTrigger as lo, createMenuRadioGroup as xo } from "./lib/Components/Menu/Menu.js";
35
- import { NavBar as fo, NavBarBackButton as co, NavBarCoinCapsule as So, NavBarDescription as uo, NavBarLeading as Co, NavBarTitle as go, NavBarTrailing as Io } from "./lib/Components/NavBar/NavBar.js";
36
- import { Popover as bo, PopoverContent as so, PopoverTrigger as Do, createPopoverHandle as Mo } from "./lib/Components/Popover/Popover.js";
37
- import { PageIndicator as ho } from "./lib/Components/PageIndicator/PageIndicator.js";
38
- import { Pagination as Ro } from "./lib/Components/Pagination/Pagination.js";
39
- import { SearchInput as Ao } from "./lib/Components/SearchInput/SearchInput.js";
40
- import { SegmentedControl as Ho, SegmentedControlButton as Po, createSegmentedControl as No } from "./lib/Components/SegmentedControl/SegmentedControl.js";
41
- import { Select as zo, SelectContent as Go, SelectEmptyState as Eo, SelectItem as Fo, SelectItemContent as Oo, SelectItemDescription as Vo, SelectItemText as _o, SelectList as jo, SelectSearch as qo, SelectSeparator as Jo, SelectTrigger as Ko, createSelect as Qo } from "./lib/Components/Select/Select.js";
42
- import { SideBar as Wo, SideBarCollapseToggle as Xo, SideBarItem as Yo, SideBarLeading as Zo, SideBarTrailing as $o, createSideBar as et } from "./lib/Components/SideBar/SideBar.js";
43
- import { Skeleton as tt } from "./lib/Components/Skeleton/Skeleton.js";
44
- import { Spinner as at } from "./lib/Components/Spinner/Spinner.js";
45
- import { Spot as it } from "./lib/Components/Spot/Spot.js";
46
- import { Stepper as mt } from "./lib/Components/Stepper/Stepper.js";
47
- import { Subheader as dt, SubheaderCount as xt, SubheaderDescription as Tt, SubheaderInfo as ft, SubheaderRow as ct, SubheaderShowMore as St, SubheaderTitle as ut } from "./lib/Components/Subheader/Subheader.js";
48
- import { Switch as gt } from "./lib/Components/Switch/Switch.js";
49
- import { Table as Bt, TableActionBar as bt, TableActionBarLeading as st, TableActionBarTrailing as Dt, TableBody as Mt, TableCell as Lt, TableCellContent as ht, TableGroupHeaderRow as vt, TableHeader as Rt, TableHeaderCell as wt, TableHeaderRow as At, TableInfoIcon as yt, TableLoadingRow as Ht, TableRoot as Pt, TableRow as Nt, TableSortButton as kt } from "./lib/Components/Table/Table.js";
50
- import { Tag as Gt } from "./lib/Components/Tag/Tag.js";
51
- import { TextInput as Ft } from "./lib/Components/TextInput/TextInput.js";
52
- import { Tile as Vt, TileContent as _t, TileDescription as jt, TileSecondaryAction as qt, TileTitle as Jt, TileTrailingContent as Kt } from "./lib/Components/Tile/Tile.js";
53
- import { TileButton as Ut } from "./lib/Components/TileButton/TileButton.js";
54
- import { Tooltip as Xt, TooltipContent as Yt, TooltipProvider as Zt, TooltipTrigger as $t } from "./lib/Components/Tooltip/Tooltip.js";
55
- import { Trend as or } from "./lib/Components/Trend/Trend.js";
56
- import { ThemeProvider as rr, useTheme as ar } from "./lib/Components/ThemeProvider/ThemeProvider.js";
57
- import { COLOR_SCHEMES as ir } from "./lib/Components/ThemeProvider/ThemeProvider.types.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 Ae } from "./lib/Components/Link/Link.js";
29
+ import { ListItem as ye, ListItemContent as He, 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 xo, MenuTrigger as To, createMenuRadioGroup as fo } from "./lib/Components/Menu/Menu.js";
36
+ import { NavBar as uo, NavBarBackButton as So, NavBarCoinCapsule as Co, 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 Ao } from "./lib/Components/Pagination/Pagination.js";
40
+ import { SearchInput as yo } from "./lib/Components/SearchInput/SearchInput.js";
41
+ import { SegmentedControl as No, SegmentedControlButton as ko, createSegmentedControl as Go } from "./lib/Components/SegmentedControl/SegmentedControl.js";
42
+ import { Select as Eo, SelectContent as Fo, SelectEmptyState as Oo, SelectItem as Vo, SelectItemContent as _o, SelectItemDescription as jo, SelectItemText as qo, SelectList as Jo, SelectSearch as Ko, SelectSeparator as Qo, SelectTrigger as Uo, createSelect as Wo } from "./lib/Components/Select/Select.js";
43
+ import { SideBar as Yo, SideBarCollapseToggle as Zo, SideBarItem as $o, SideBarLeading as et, SideBarTrailing as ot, createSideBar as tt } from "./lib/Components/SideBar/SideBar.js";
44
+ import { Skeleton as at } from "./lib/Components/Skeleton/Skeleton.js";
45
+ import { Spinner as it } from "./lib/Components/Spinner/Spinner.js";
46
+ import { Spot as lt } from "./lib/Components/Spot/Spot.js";
47
+ import { Stepper as dt } from "./lib/Components/Stepper/Stepper.js";
48
+ import { Subheader as Tt, SubheaderCount as ft, SubheaderDescription as ct, SubheaderInfo as ut, SubheaderRow as St, SubheaderShowMore as Ct, SubheaderTitle as gt } from "./lib/Components/Subheader/Subheader.js";
49
+ import { Switch as Bt } from "./lib/Components/Switch/Switch.js";
50
+ import { Table as st, TableActionBar as Dt, TableActionBarLeading as Mt, TableActionBarTrailing as Lt, TableBody as ht, TableCell as vt, TableCellContent as Rt, TableCol as wt, TableColGroup as At, TableGroupHeaderRow as Pt, TableHeader as yt, TableHeaderCell as Ht, TableHeaderRow as Nt, TableInfoIcon as kt, TableLoadingRow as Gt, TableRoot as zt, TableRow as Et, TableSortButton as Ft } from "./lib/Components/Table/Table.js";
51
+ import { Tag as Vt } from "./lib/Components/Tag/Tag.js";
52
+ import { TextInput as jt } from "./lib/Components/TextInput/TextInput.js";
53
+ import { Tile as Jt, TileContent as Kt, TileDescription as Qt, TileSecondaryAction as Ut, TileTitle as Wt, TileTrailingContent as Xt } from "./lib/Components/Tile/Tile.js";
54
+ import { TileButton as Zt } from "./lib/Components/TileButton/TileButton.js";
55
+ import { Tooltip as er, TooltipContent as or, TooltipProvider as tr, TooltipTrigger as rr } from "./lib/Components/Tooltip/Tooltip.js";
56
+ import { Trend as nr } from "./lib/Components/Trend/Trend.js";
57
+ import { ThemeProvider as pr, useTheme as lr } from "./lib/Components/ThemeProvider/ThemeProvider.js";
58
+ import { COLOR_SCHEMES as dr } from "./lib/Components/ThemeProvider/ThemeProvider.types.js";
58
59
  export {
59
60
  a as AddressInput,
60
- m as AmountDisplay,
61
+ l as AmountDisplay,
61
62
  i as AmountInput,
62
63
  d as Avatar,
63
64
  T as Banner,
64
65
  g as BaseButton,
65
66
  c as BaseInput,
66
- u as Button,
67
- ir as COLOR_SCHEMES,
67
+ S as Button,
68
+ dr as COLOR_SCHEMES,
68
69
  B as Card,
69
- y as CardButton,
70
+ P as CardButton,
70
71
  b as CardContent,
71
72
  s as CardContentDescription,
72
73
  D as CardContentRow,
@@ -76,10 +77,10 @@ export {
76
77
  v as CardHeader,
77
78
  R as CardLeading,
78
79
  w as CardTrailing,
79
- P as Checkbox,
80
+ H as Checkbox,
80
81
  k as ContentBanner,
81
- z as ContentBannerContent,
82
- G as ContentBannerDescription,
82
+ G as ContentBannerContent,
83
+ z as ContentBannerDescription,
83
84
  E as ContentBannerTitle,
84
85
  O as DataTable,
85
86
  V as DataTableGlobalSearchInput,
@@ -97,127 +98,130 @@ export {
97
98
  ae as DialogFooter,
98
99
  pe as DialogHeader,
99
100
  ne as DialogTrigger,
100
- le as Divider,
101
+ me as Divider,
101
102
  xe as DotCount,
102
103
  fe as DotIcon,
103
104
  ge as DotIndicator,
104
- Be as DotSymbol,
105
- Me as IconButton,
106
- he as InteractiveIcon,
105
+ se as DotSymbol,
106
+ he as IconButton,
107
+ Re as InteractiveIcon,
107
108
  t as Languages,
108
- Re as Link,
109
- Ae as ListItem,
110
- ye as ListItemContent,
111
- He as ListItemContentRow,
112
- Pe as ListItemDescription,
113
- Ne as ListItemLeading,
114
- ke as ListItemTitle,
115
- ze as ListItemTrailing,
116
- Ee as MediaBanner,
117
- Fe as MediaBannerDescription,
118
- Oe as MediaBannerTitle,
119
- _e as MediaButton,
120
- qe as MediaCard,
121
- Je as MediaCardTitle,
122
- Qe as MediaImage,
123
- We as MediaTag,
124
- Ye as Menu,
125
- Ze as MenuCheckboxItem,
126
- $e as MenuContent,
127
- eo as MenuGroup,
128
- oo as MenuItem,
129
- to as MenuLabel,
130
- ro as MenuRadioGroup,
131
- ao as MenuRadioItem,
132
- no as MenuSeparator,
133
- io as MenuSub,
134
- po as MenuSubContent,
135
- mo as MenuSubTrigger,
136
- lo as MenuTrigger,
137
- fo as NavBar,
138
- co as NavBarBackButton,
139
- So as NavBarCoinCapsule,
140
- uo as NavBarDescription,
141
- Co as NavBarLeading,
142
- go as NavBarTitle,
143
- Io as NavBarTrailing,
144
- ho as PageIndicator,
145
- Ro as Pagination,
146
- bo as Popover,
147
- so as PopoverContent,
148
- Do as PopoverTrigger,
149
- Ao as SearchInput,
150
- Ho as SegmentedControl,
151
- Po as SegmentedControlButton,
152
- zo as Select,
153
- Go as SelectContent,
154
- Eo as SelectEmptyState,
155
- Fo as SelectItem,
156
- Oo as SelectItemContent,
157
- Vo as SelectItemDescription,
158
- _o as SelectItemText,
159
- jo as SelectList,
160
- qo as SelectSearch,
161
- Jo as SelectSeparator,
162
- Ko as SelectTrigger,
163
- Wo as SideBar,
164
- Xo as SideBarCollapseToggle,
165
- Yo as SideBarItem,
166
- Zo as SideBarLeading,
167
- $o as SideBarTrailing,
168
- tt as Skeleton,
169
- at as Spinner,
170
- it as Spot,
171
- mt as Stepper,
172
- dt as Subheader,
173
- xt as SubheaderCount,
174
- Tt as SubheaderDescription,
175
- ft as SubheaderInfo,
176
- ct as SubheaderRow,
177
- St as SubheaderShowMore,
178
- ut as SubheaderTitle,
179
- gt as Switch,
180
- Bt as Table,
181
- bt as TableActionBar,
182
- st as TableActionBarLeading,
183
- Dt as TableActionBarTrailing,
184
- Mt as TableBody,
185
- Lt as TableCell,
186
- ht as TableCellContent,
187
- vt as TableGroupHeaderRow,
188
- Rt as TableHeader,
189
- wt as TableHeaderCell,
190
- At as TableHeaderRow,
191
- yt as TableInfoIcon,
192
- Ht as TableLoadingRow,
193
- Pt as TableRoot,
194
- Nt as TableRow,
195
- kt as TableSortButton,
196
- Gt as Tag,
197
- Ft as TextInput,
198
- rr as ThemeProvider,
199
- Vt as Tile,
200
- Ut as TileButton,
201
- _t as TileContent,
202
- jt as TileDescription,
203
- qt as TileSecondaryAction,
204
- Jt as TileTitle,
205
- Kt as TileTrailingContent,
206
- Xt as Tooltip,
207
- Yt as TooltipContent,
208
- Zt as TooltipProvider,
209
- $t as TooltipTrigger,
210
- or as Trend,
211
- xo as createMenuRadioGroup,
212
- Mo as createPopoverHandle,
213
- No as createSegmentedControl,
214
- Qo as createSelect,
215
- et as createSideBar,
109
+ Ae as Link,
110
+ ye as ListItem,
111
+ He as ListItemContent,
112
+ Ne as ListItemContentRow,
113
+ ke as ListItemDescription,
114
+ Ge as ListItemLeading,
115
+ ze as ListItemTitle,
116
+ Ee as ListItemTrailing,
117
+ Oe as MediaBanner,
118
+ Ve as MediaBannerDescription,
119
+ _e as MediaBannerTitle,
120
+ qe as MediaButton,
121
+ Ke as MediaCard,
122
+ Qe as MediaCardTitle,
123
+ We as MediaImage,
124
+ Ye as MediaTag,
125
+ $e as Menu,
126
+ eo as MenuCheckboxItem,
127
+ oo as MenuContent,
128
+ to as MenuGroup,
129
+ ro as MenuItem,
130
+ ao as MenuLabel,
131
+ no as MenuRadioGroup,
132
+ io as MenuRadioItem,
133
+ po as MenuSeparator,
134
+ lo as MenuSub,
135
+ mo as MenuSubContent,
136
+ xo as MenuSubTrigger,
137
+ To as MenuTrigger,
138
+ uo as NavBar,
139
+ So as NavBarBackButton,
140
+ Co as NavBarCoinCapsule,
141
+ go as NavBarDescription,
142
+ Io as NavBarLeading,
143
+ Bo as NavBarTitle,
144
+ bo as NavBarTrailing,
145
+ Ro as PageIndicator,
146
+ Ao as Pagination,
147
+ Do as Popover,
148
+ Mo as PopoverContent,
149
+ Lo as PopoverTrigger,
150
+ yo as SearchInput,
151
+ No as SegmentedControl,
152
+ ko as SegmentedControlButton,
153
+ Eo as Select,
154
+ Fo as SelectContent,
155
+ Oo as SelectEmptyState,
156
+ Vo as SelectItem,
157
+ _o as SelectItemContent,
158
+ jo as SelectItemDescription,
159
+ qo as SelectItemText,
160
+ Jo as SelectList,
161
+ Ko as SelectSearch,
162
+ Qo as SelectSeparator,
163
+ Uo as SelectTrigger,
164
+ Yo as SideBar,
165
+ Zo as SideBarCollapseToggle,
166
+ $o as SideBarItem,
167
+ et as SideBarLeading,
168
+ ot as SideBarTrailing,
169
+ at as Skeleton,
170
+ it as Spinner,
171
+ lt as Spot,
172
+ dt as Stepper,
173
+ Tt as Subheader,
174
+ ft as SubheaderCount,
175
+ ct as SubheaderDescription,
176
+ ut as SubheaderInfo,
177
+ St as SubheaderRow,
178
+ Ct as SubheaderShowMore,
179
+ gt as SubheaderTitle,
180
+ Bt as Switch,
181
+ st as Table,
182
+ Dt as TableActionBar,
183
+ Mt as TableActionBarLeading,
184
+ Lt as TableActionBarTrailing,
185
+ ht as TableBody,
186
+ vt as TableCell,
187
+ Rt as TableCellContent,
188
+ wt as TableCol,
189
+ At as TableColGroup,
190
+ Pt as TableGroupHeaderRow,
191
+ yt as TableHeader,
192
+ Ht as TableHeaderCell,
193
+ Nt as TableHeaderRow,
194
+ kt as TableInfoIcon,
195
+ Gt as TableLoadingRow,
196
+ zt as TableRoot,
197
+ Et as TableRow,
198
+ Ft as TableSortButton,
199
+ Vt as Tag,
200
+ jt as TextInput,
201
+ pr as ThemeProvider,
202
+ Jt as Tile,
203
+ Zt as TileButton,
204
+ Kt as TileContent,
205
+ Qt as TileDescription,
206
+ Ut as TileSecondaryAction,
207
+ Wt as TileTitle,
208
+ Xt as TileTrailingContent,
209
+ er as Tooltip,
210
+ or as TooltipContent,
211
+ tr as TooltipProvider,
212
+ rr as TooltipTrigger,
213
+ nr as Trend,
214
+ fo as createMenuRadioGroup,
215
+ ho as createPopoverHandle,
216
+ Go as createSegmentedControl,
217
+ Wo as createSelect,
218
+ tt as createSideBar,
216
219
  ce as dotIconSizeMap,
217
- Se as mediaImageDotIconSizeMap,
218
- be as mediaImageDotSizeMap,
219
- ue as spotDotIconSizeMap,
220
- se as spotDotSizeMap,
220
+ Be as getDotIndicatorProps,
221
+ ue as mediaImageDotIconSizeMap,
222
+ De as mediaImageDotSizeMap,
223
+ Se as spotDotIconSizeMap,
224
+ Me as spotDotSizeMap,
221
225
  q as useLumenDataTable,
222
- ar as useTheme
226
+ lr as useTheme
223
227
  };
@@ -11,9 +11,6 @@ import { AvatarProps } from './types';
11
11
  * import { Avatar } from '@ledgerhq/lumen-ui-react';
12
12
  *
13
13
  * <Avatar src="https://example.com/photo.jpg" size="md" />
14
- *
15
- * // With notification indicator
16
- * <Avatar src="https://example.com/photo.jpg" showNotification />
17
14
  */
18
- export declare const Avatar: ({ ref, className, src, alt, appearance, size, imgLoading, showNotification: showNotificationProp, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const Avatar: ({ ref, className, src, alt, appearance, size, imgLoading, ...props }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
19
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":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AA0C3C;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,MAAM,GAAI,8GAUpB,WAAW,4CAwDb,CAAC"}
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,11 +1,10 @@
1
- import { jsx as t } from "react/jsx-runtime";
2
- import { cva as h } from "class-variance-authority";
3
- import { useState as x, useEffect as z } from "react";
4
- import { useCommonTranslation as N } from "../../../i18n/useCommonTranslation.js";
5
- import { User as A } from "../../Symbols/Icons/User.js";
6
- import { DotIndicator as j } from "../DotIndicator/DotIndicator.js";
7
- const k = {
8
- root: h(
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { cva as u } from "class-variance-authority";
3
+ import { useState as v, useEffect as b } from "react";
4
+ import { useCommonTranslation as g } from "../../../i18n/useCommonTranslation.js";
5
+ import { User as z } from "../../Symbols/Icons/User.js";
6
+ const x = {
7
+ root: u(
9
8
  "relative inline-flex items-center justify-center rounded-full transition-colors",
10
9
  {
11
10
  variants: {
@@ -26,60 +25,54 @@ const k = {
26
25
  }
27
26
  }
28
27
  )
29
- }, w = {
28
+ }, h = {
30
29
  sm: 16,
31
30
  md: 24,
32
31
  lg: 32,
33
32
  xl: 40
34
- }, E = {
35
- sm: "lg",
36
- md: "xl"
37
- }, V = ({
38
- ref: l,
39
- className: c,
40
- src: e,
41
- alt: m,
42
- appearance: d = "transparent",
43
- size: a = "md",
44
- imgLoading: f,
45
- showNotification: p = !1,
46
- ...u
33
+ }, y = ({
34
+ ref: o,
35
+ className: n,
36
+ src: a,
37
+ alt: s,
38
+ appearance: l = "transparent",
39
+ size: r = "md",
40
+ imgLoading: i,
41
+ ...m
47
42
  }) => {
48
- const { t: r } = N(), [v, o] = x(!1), b = !e || v, n = m || r("components.avatar.defaultAlt"), s = p && (a === "sm" || a === "md"), g = s ? `${n}, ${r("components.avatar.notificationAriaLabel")}` : n;
49
- z(() => {
50
- o(!1);
51
- }, [e]);
52
- const i = /* @__PURE__ */ t(
43
+ const { t: c } = g(), [d, t] = v(!1), p = !a || d, f = s || c("components.avatar.defaultAriaLabel");
44
+ return b(() => {
45
+ t(!1);
46
+ }, [a]), /* @__PURE__ */ e(
53
47
  "div",
54
48
  {
55
- ref: l,
56
- className: k.root({ appearance: d, size: a, className: c }),
49
+ ref: o,
50
+ className: x.root({ appearance: l, size: r, className: n }),
57
51
  role: "img",
58
- "aria-label": g,
59
- ...u,
60
- children: b ? /* @__PURE__ */ t(
61
- A,
52
+ "aria-label": f,
53
+ ...m,
54
+ children: p ? /* @__PURE__ */ e(
55
+ z,
62
56
  {
63
57
  className: "text-base",
64
- size: w[a],
58
+ size: h[r],
65
59
  "aria-label": "Fallback Icon",
66
60
  "aria-hidden": "true"
67
61
  }
68
- ) : /* @__PURE__ */ t(
62
+ ) : /* @__PURE__ */ e(
69
63
  "img",
70
64
  {
71
- src: e,
65
+ src: a,
72
66
  alt: "",
73
- loading: f,
74
- onError: () => o(!0),
67
+ loading: i,
68
+ onError: () => t(!0),
75
69
  className: "size-full overflow-hidden rounded-full object-cover",
76
70
  "aria-hidden": "true"
77
71
  }
78
72
  )
79
73
  }
80
74
  );
81
- return s ? /* @__PURE__ */ t(j, { size: E[a], appearance: "red", children: i }) : i;
82
75
  };
83
76
  export {
84
- V as Avatar
77
+ y as Avatar
85
78
  };
@@ -22,12 +22,6 @@ export type AvatarProps = {
22
22
  * @default md
23
23
  */
24
24
  size?: 'sm' | 'md' | 'lg' | 'xl';
25
- /**
26
- * Whether to show the notifications indicator.
27
- * @optional
28
- * @default false
29
- */
30
- showNotification?: boolean;
31
25
  /**
32
26
  * Additional custom CSS classes to apply. Do not use this prop to modify the component's core appearance.
33
27
  * @optional
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IAEpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC/B,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/Avatar/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,OAAO,CAAC;AAEnD,MAAM,MAAM,WAAW,GAAG;IACxB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,aAAa,CAAC;IAEpC;;;;OAIG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CAC/B,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { BaseButtonProps } from './types';
2
2
  export declare const baseButtonVariants: (props?: ({
3
- appearance?: "base" | "red" | "gray" | "transparent" | "accent" | "no-background" | null | undefined;
3
+ appearance?: "base" | "gray" | "transparent" | "accent" | "no-background" | "red" | null | undefined;
4
4
  disabled?: boolean | null | undefined;
5
5
  loading?: boolean | null | undefined;
6
6
  size?: "md" | "sm" | "lg" | "xs" | null | undefined;
@@ -1,6 +1,6 @@
1
1
  import { jsx as s, jsxs as f, Fragment as b } from "react/jsx-runtime";
2
- import { createSafeContext as m, DisabledProvider as g, cn as o, getButtonA11yProps as C } from "../../../libs/utils-shared/dist/index.js";
3
- import { cva as p } from "class-variance-authority";
2
+ import { createSafeContext as m, DisabledProvider as p, cn as o, getButtonA11yProps as C } from "../../../libs/utils-shared/dist/index.js";
3
+ import { cva as g } from "class-variance-authority";
4
4
  import { useMemo as h } from "react";
5
5
  import { ChevronUp as N } from "../../Symbols/Icons/ChevronUp.js";
6
6
  import { ChevronDown as w } from "../../Symbols/Icons/ChevronDown.js";
@@ -46,7 +46,7 @@ const k = ({
46
46
  }
47
47
  ), [q, v] = m("CardContentAlign", {
48
48
  align: "left"
49
- }), E = p(
49
+ }), E = g(
50
50
  "flex w-full flex-col overflow-clip rounded-lg bg-surface text-base transition-colors",
51
51
  {
52
52
  variants: {
@@ -96,7 +96,7 @@ const k = ({
96
96
  }),
97
97
  [r, e, l, i]
98
98
  );
99
- return /* @__PURE__ */ s(R, { value: u, children: /* @__PURE__ */ s(g, { value: { disabled: i }, children: /* @__PURE__ */ s(
99
+ return /* @__PURE__ */ s(R, { value: u, children: /* @__PURE__ */ s(p, { value: { disabled: i }, children: /* @__PURE__ */ s(
100
100
  "div",
101
101
  {
102
102
  ref: t,
@@ -1 +1 @@
1
- {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DataTable/DataTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,OAAO,EAER,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAgBvD,OAAO,KAAK,EAGV,cAAc,EACd,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAejB;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,SAAS,OAAO,EAAE,sKAelD,kBAAkB,CAAC,KAAK,CAAC,4CAqB3B,CAAC;AAyDF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAAI,8BAA8B,cAAc,4CA6BrE,CAAC;AAsHF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GAAI,wBAGxC,gBAAgB,4CAqBlB,CAAC"}
1
+ {"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/lib/Components/DataTable/DataTable.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAEV,OAAO,EAER,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAkBvD,OAAO,KAAK,EAGV,cAAc,EACd,kBAAkB,EACnB,MAAM,SAAS,CAAC;AAejB;;;;;;;;;GASG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,SAAS,OAAO,EAAE,sKAelD,kBAAkB,CAAC,KAAK,CAAC,4CAqB3B,CAAC;AAqFF;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAAI,8BAA8B,cAAc,4CA8BrE,CAAC;AAsHF;;;GAGG;AACH,eAAO,MAAM,0BAA0B,GAAI,wBAGxC,gBAAgB,4CAqBlB,CAAC"}