@ledgerhq/lumen-ui-react 0.1.61 → 0.1.62

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 (83) hide show
  1. package/dist/index.js +79 -62
  2. package/dist/lib/Components/core/AmountInput/AmountInput.js +16 -16
  3. package/dist/lib/Components/core/AmountInput/useAmountInputValue/useAmountInputValue.js +3 -3
  4. package/dist/lib/Components/core/Avatar/resolveAvatarColor.js +2 -2
  5. package/dist/lib/Components/core/AvatarButton/AvatarButton.js +6 -6
  6. package/dist/lib/Components/core/Banner/Banner.js +8 -8
  7. package/dist/lib/Components/core/Button/Button.js +10 -10
  8. package/dist/lib/Components/core/Card/Card.js +6 -6
  9. package/dist/lib/Components/core/CardButton/CardButton.d.ts +2 -0
  10. package/dist/lib/Components/core/CardButton/CardButton.d.ts.map +1 -1
  11. package/dist/lib/Components/core/CardButton/CardButton.js +4 -4
  12. package/dist/lib/Components/core/DataTable/DataTable.js +7 -7
  13. package/dist/lib/Components/core/Divider/Divider.js +8 -8
  14. package/dist/lib/Components/core/DotCount/DotCount.js +3 -3
  15. package/dist/lib/Components/core/DotIcon/DotIcon.js +9 -9
  16. package/dist/lib/Components/core/DotSymbol/DotSymbol.js +16 -16
  17. package/dist/lib/Components/core/Link/Link.d.ts +1 -1
  18. package/dist/lib/Components/core/Link/Link.d.ts.map +1 -1
  19. package/dist/lib/Components/core/Link/Link.js +21 -20
  20. package/dist/lib/Components/core/Link/types.d.ts +1 -1
  21. package/dist/lib/Components/core/Link/types.d.ts.map +1 -1
  22. package/dist/lib/Components/core/ListItem/ListItem.js +4 -4
  23. package/dist/lib/Components/core/MediaBanner/MediaBanner.js +19 -19
  24. package/dist/lib/Components/core/MediaButton/MediaButton.js +2 -2
  25. package/dist/lib/Components/core/Menu/Menu.js +30 -30
  26. package/dist/lib/Components/core/NavBar/CoinCapsule.js +8 -8
  27. package/dist/lib/Components/core/Pagination/Pagination.js +14 -14
  28. package/dist/lib/Components/core/Popover/Popover.js +6 -6
  29. package/dist/lib/Components/core/SearchInput/SearchInput.js +5 -5
  30. package/dist/lib/Components/core/SegmentedControl/SegmentedControl.js +19 -19
  31. package/dist/lib/Components/core/Select/Select.js +8 -8
  32. package/dist/lib/Components/core/SideBar/SideBar.js +14 -14
  33. package/dist/lib/Components/core/Spinner/Spinner.js +4 -4
  34. package/dist/lib/Components/core/Spot/Spot.js +9 -9
  35. package/dist/lib/Components/core/Stepper/Stepper.d.ts +4 -3
  36. package/dist/lib/Components/core/Stepper/Stepper.d.ts.map +1 -1
  37. package/dist/lib/Components/core/Stepper/Stepper.js +137 -65
  38. package/dist/lib/Components/core/Stepper/types.d.ts +12 -2
  39. package/dist/lib/Components/core/Stepper/types.d.ts.map +1 -1
  40. package/dist/lib/Components/core/Switch/Switch.js +5 -5
  41. package/dist/lib/Components/core/Table/Table.js +9 -9
  42. package/dist/lib/Components/core/TileButton/TileButton.js +8 -8
  43. package/dist/lib/Components/core/Timeline/Timeline.d.ts +54 -0
  44. package/dist/lib/Components/core/Timeline/Timeline.d.ts.map +1 -0
  45. package/dist/lib/Components/core/Timeline/Timeline.js +228 -0
  46. package/dist/lib/Components/core/Timeline/index.d.ts +3 -0
  47. package/dist/lib/Components/core/Timeline/index.d.ts.map +1 -0
  48. package/dist/lib/Components/core/Timeline/types.d.ts +148 -0
  49. package/dist/lib/Components/core/Timeline/types.d.ts.map +1 -0
  50. package/dist/lib/Components/core/Toast/Toast.d.ts +25 -0
  51. package/dist/lib/Components/core/Toast/Toast.d.ts.map +1 -0
  52. package/dist/lib/Components/core/Toast/Toast.js +68 -0
  53. package/dist/lib/Components/core/Toast/Toaster.d.ts +27 -0
  54. package/dist/lib/Components/core/Toast/Toaster.d.ts.map +1 -0
  55. package/dist/lib/Components/core/Toast/Toaster.js +92 -0
  56. package/dist/lib/Components/core/Toast/hooks/useToastCollapse.d.ts +15 -0
  57. package/dist/lib/Components/core/Toast/hooks/useToastCollapse.d.ts.map +1 -0
  58. package/dist/lib/Components/core/Toast/hooks/useToastCollapse.js +15 -0
  59. package/dist/lib/Components/core/Toast/hooks/useToastViewportPause.d.ts +24 -0
  60. package/dist/lib/Components/core/Toast/hooks/useToastViewportPause.d.ts.map +1 -0
  61. package/dist/lib/Components/core/Toast/hooks/useToastViewportPause.js +27 -0
  62. package/dist/lib/Components/core/Toast/index.d.ts +5 -0
  63. package/dist/lib/Components/core/Toast/index.d.ts.map +1 -0
  64. package/dist/lib/Components/core/Toast/styles.d.ts +20 -0
  65. package/dist/lib/Components/core/Toast/styles.d.ts.map +1 -0
  66. package/dist/lib/Components/core/Toast/styles.js +77 -0
  67. package/dist/lib/Components/core/Toast/types.d.ts +81 -0
  68. package/dist/lib/Components/core/Toast/types.d.ts.map +1 -0
  69. package/dist/lib/Components/core/Trend/Trend.js +2 -2
  70. package/dist/lib/Components/core/index.d.ts +2 -0
  71. package/dist/lib/Components/core/index.d.ts.map +1 -1
  72. package/dist/lib/Components/internal/BaseButton/BaseButton.js +2 -2
  73. package/dist/lib/Components/internal/BaseInput/BaseInput.js +9 -9
  74. package/dist/lib/Components/internal/BaseInput/BaseInputMultiline.js +12 -12
  75. package/dist/lib/Components/internal/BaseTag/BaseTag.js +8 -8
  76. package/dist/lib/Components/symbols/Icon/Icon.js +4 -4
  77. package/dist/lib/Components/symbols/Icon/createIcon.js +8 -8
  78. package/dist/lib/Components/visualization/DonutChart/DonutChartCenter.js +6 -6
  79. package/dist/lib/Components/visualization/DonutChart/donutSizeContext.js +2 -2
  80. package/dist/lib/Components/visualization/Legend/Legend.js +8 -8
  81. package/dist/libs/utils-shared/dist/index.js +306 -141
  82. package/dist/package.json +1 -1
  83. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { Languages as t } from "./i18n/languages.js";
2
- import { useControllableState as a } from "./utils/useControllableState/useControllableState.js";
2
+ import { useControllableState as n } from "./utils/useControllableState/useControllableState.js";
3
3
  import { AddressInput as i } from "./lib/Components/core/AddressInput/AddressInput.js";
4
- import { AmountInput as p } from "./lib/Components/core/AmountInput/AmountInput.js";
5
- import { AmountDisplay as d } from "./lib/Components/core/AmountDisplay/AmountDisplay.js";
4
+ import { AmountInput as m } from "./lib/Components/core/AmountInput/AmountInput.js";
5
+ import { AmountDisplay as T } from "./lib/Components/core/AmountDisplay/AmountDisplay.js";
6
6
  import { Avatar as x } from "./lib/Components/core/Avatar/Avatar.js";
7
7
  import { resolveAvatarColor as C } from "./lib/Components/core/Avatar/resolveAvatarColor.js";
8
8
  import { AvatarButton as S } from "./lib/Components/core/AvatarButton/AvatarButton.js";
9
9
  import { Banner as g } from "./lib/Components/core/Banner/Banner.js";
10
- import { Button as I } from "./lib/Components/core/Button/Button.js";
11
- import { Card as B, CardContent as D, CardContentDescription as M, CardContentRow as L, CardContentTitle as v, CardFooter as h, CardFooterActions as R, CardHeader as w, CardLeading as A, CardTrailing as H } from "./lib/Components/core/Card/Card.js";
10
+ import { Button as b } from "./lib/Components/core/Button/Button.js";
11
+ import { Card as B, CardContent as D, CardContentDescription as M, CardContentRow as L, CardContentTitle as v, CardFooter as h, CardFooterActions as R, CardHeader as w, CardLeading as H, CardTrailing as A } from "./lib/Components/core/Card/Card.js";
12
12
  import { CardButton as y } from "./lib/Components/core/CardButton/CardButton.js";
13
13
  import { Checkbox as k } from "./lib/Components/core/Checkbox/Checkbox.js";
14
14
  import { ContentBanner as E, ContentBannerContent as F, ContentBannerDescription as O, ContentBannerTitle as z } from "./lib/Components/core/ContentBanner/ContentBanner.js";
@@ -16,18 +16,18 @@ import { DataTable as _, DataTableGlobalSearchInput as j, DataTableRoot as q } f
16
16
  import { useLumenDataTable as K } from "./lib/Components/core/DataTable/useLumenDataTable/useLumenDataTable.js";
17
17
  import { DescriptionItem as U, DescriptionItemLabel as W, DescriptionItemLeading as X, DescriptionItemTrailing as Y, DescriptionItemValue as Z } from "./lib/Components/core/DescriptionItem/DescriptionItem.js";
18
18
  import { DialogClose as ee } from "./lib/Components/core/Dialog/DialogClose/DialogClose.js";
19
- import { Dialog as te, DialogBody as re, DialogBodyStickyContent as ae, DialogContent as ne, DialogFooter as ie, DialogTrigger as le } from "./lib/Components/core/Dialog/Dialog.js";
20
- import { DialogHeader as me } from "./lib/Components/core/Dialog/DialogHeader/DialogHeader.js";
21
- import { Divider as Te } from "./lib/Components/core/Divider/Divider.js";
19
+ import { Dialog as te, DialogBody as re, DialogBodyStickyContent as ne, DialogContent as ae, DialogFooter as ie, DialogTrigger as le } from "./lib/Components/core/Dialog/Dialog.js";
20
+ import { DialogHeader as pe } from "./lib/Components/core/Dialog/DialogHeader/DialogHeader.js";
21
+ import { Divider as de } from "./lib/Components/core/Divider/Divider.js";
22
22
  import { DotCount as fe } from "./lib/Components/core/DotCount/DotCount.js";
23
23
  import { DotIcon as ce, dotIconSizeMap as Se } from "./lib/Components/core/DotIcon/DotIcon.js";
24
24
  import { getDotIconProps as ge } from "./lib/Components/core/DotIcon/getDotIconProps.js";
25
- import { DotIndicator as Ie } from "./lib/Components/core/DotIndicator/DotIndicator.js";
25
+ import { DotIndicator as be } from "./lib/Components/core/DotIndicator/DotIndicator.js";
26
26
  import { getDotIndicatorProps as Be } from "./lib/Components/core/DotIndicator/getDotIndicatorProps.js";
27
27
  import { DotSymbol as Me } from "./lib/Components/core/DotSymbol/DotSymbol.js";
28
28
  import { getDotSymbolProps as ve } from "./lib/Components/core/DotSymbol/getDotSymbolProps.js";
29
29
  import { IconButton as Re } from "./lib/Components/core/IconButton/IconButton.js";
30
- import { InteractiveIcon as Ae } from "./lib/Components/core/InteractiveIcon/InteractiveIcon.js";
30
+ import { InteractiveIcon as He } from "./lib/Components/core/InteractiveIcon/InteractiveIcon.js";
31
31
  import { Link as Pe } from "./lib/Components/core/Link/Link.js";
32
32
  import { ListItem as Ne, ListItemContent as ke, ListItemContentRow as Ge, ListItemDescription as Ee, ListItemLeading as Fe, ListItemTitle as Oe, ListItemTrailing as ze } from "./lib/Components/core/ListItem/ListItem.js";
33
33
  import { MediaBanner as _e, MediaBannerDescription as je, MediaBannerTitle as qe } from "./lib/Components/core/MediaBanner/MediaBanner.js";
@@ -35,40 +35,44 @@ import { MediaButton as Ke } from "./lib/Components/core/MediaButton/MediaButton
35
35
  import { MediaCard as Ue, MediaCardTitle as We } from "./lib/Components/core/MediaCard/MediaCard.js";
36
36
  import { MediaImage as Ye } from "./lib/Components/core/MediaImage/MediaImage.js";
37
37
  import { MediaTag as $e } from "./lib/Components/core/MediaTag/MediaTag.js";
38
- import { Menu as oo, MenuCheckboxItem as to, MenuContent as ro, MenuGroup as ao, MenuItem as no, MenuLabel as io, MenuRadioGroup as lo, MenuRadioItem as po, MenuSeparator as mo, MenuSub as To, MenuSubContent as xo, MenuSubTrigger as fo, MenuSwitchItem as Co, MenuTrigger as co, createMenuRadioGroup as So } from "./lib/Components/core/Menu/Menu.js";
39
- import { NavBar as go, NavBarBackButton as bo, NavBarCoinCapsule as Io, NavBarDescription as so, NavBarLeading as Bo, NavBarTitle as Do, NavBarTrailing as Mo } from "./lib/Components/core/NavBar/NavBar.js";
38
+ import { Menu as oo, MenuCheckboxItem as to, MenuContent as ro, MenuGroup as no, MenuItem as ao, MenuLabel as io, MenuRadioGroup as lo, MenuRadioItem as mo, MenuSeparator as po, MenuSub as To, MenuSubContent as xo, MenuSubTrigger as fo, MenuSwitchItem as Co, MenuTrigger as co, createMenuRadioGroup as So } from "./lib/Components/core/Menu/Menu.js";
39
+ import { NavBar as go, NavBarBackButton as Io, NavBarCoinCapsule as bo, NavBarDescription as so, NavBarLeading as Bo, NavBarTitle as Do, NavBarTrailing as Mo } from "./lib/Components/core/NavBar/NavBar.js";
40
40
  import { Popover as vo, PopoverContent as ho, PopoverTrigger as Ro, createPopoverHandle as wo } from "./lib/Components/core/Popover/Popover.js";
41
- import { PageIndicator as Ho } from "./lib/Components/core/PageIndicator/PageIndicator.js";
41
+ import { PageIndicator as Ao } from "./lib/Components/core/PageIndicator/PageIndicator.js";
42
42
  import { Pagination as yo } from "./lib/Components/core/Pagination/Pagination.js";
43
43
  import { SearchInput as ko } from "./lib/Components/core/SearchInput/SearchInput.js";
44
44
  import { SectionHeader as Eo, SectionHeaderLeading as Fo, SectionHeaderTitle as Oo } from "./lib/Components/core/SectionHeader/SectionHeader.js";
45
45
  import { SegmentedControl as Vo, SegmentedControlButton as _o, createSegmentedControl as jo } from "./lib/Components/core/SegmentedControl/SegmentedControl.js";
46
46
  import { Select as Jo, SelectContent as Ko, SelectEmptyState as Qo, SelectItem as Uo, SelectItemContent as Wo, SelectItemDescription as Xo, SelectItemText as Yo, SelectList as Zo, SelectSearch as $o, SelectSeparator as et, SelectTrigger as ot, createSelect as tt } from "./lib/Components/core/Select/Select.js";
47
- import { SideBar as at, SideBarCollapseToggle as nt, SideBarItem as it, SideBarLeading as lt, SideBarTrailing as pt, createSideBar as mt } from "./lib/Components/core/SideBar/SideBar.js";
48
- import { Skeleton as Tt } from "./lib/Components/core/Skeleton/Skeleton.js";
47
+ import { SideBar as nt, SideBarCollapseToggle as at, SideBarItem as it, SideBarLeading as lt, SideBarTrailing as mt, createSideBar as pt } from "./lib/Components/core/SideBar/SideBar.js";
48
+ import { Skeleton as dt } from "./lib/Components/core/Skeleton/Skeleton.js";
49
49
  import { Spinner as ft } from "./lib/Components/core/Spinner/Spinner.js";
50
50
  import { Spot as ct } from "./lib/Components/core/Spot/Spot.js";
51
51
  import { Stepper as ut } from "./lib/Components/core/Stepper/Stepper.js";
52
- import { Subheader as bt, SubheaderCount as It, SubheaderDescription as st, SubheaderInfo as Bt, SubheaderRow as Dt, SubheaderShowMore as Mt, SubheaderTitle as Lt } from "./lib/Components/core/Subheader/Subheader.js";
52
+ import { Subheader as It, SubheaderCount as bt, SubheaderDescription as st, SubheaderInfo as Bt, SubheaderRow as Dt, SubheaderShowMore as Mt, SubheaderTitle as Lt } from "./lib/Components/core/Subheader/Subheader.js";
53
53
  import { Switch as ht } from "./lib/Components/core/Switch/Switch.js";
54
- import { Table as wt, TableActionBar as At, TableActionBarLeading as Ht, TableActionBarTrailing as Pt, TableBody as yt, TableCell as Nt, TableCellContent as kt, TableCellContentDescription as Gt, TableCellContentRow as Et, TableCellContentTitle as Ft, TableCellItem as Ot, TableCol as zt, TableColGroup as Vt, TableGroupHeaderRow as _t, TableHeader as jt, TableHeaderCell as qt, TableHeaderRow as Jt, TableInfoIcon as Kt, TableLoadingRow as Qt, TableRoot as Ut, TableRow as Wt, TableSortButton as Xt } from "./lib/Components/core/Table/Table.js";
54
+ import { Table as wt, TableActionBar as Ht, TableActionBarLeading as At, TableActionBarTrailing as Pt, TableBody as yt, TableCell as Nt, TableCellContent as kt, TableCellContentDescription as Gt, TableCellContentRow as Et, TableCellContentTitle as Ft, TableCellItem as Ot, TableCol as zt, TableColGroup as Vt, TableGroupHeaderRow as _t, TableHeader as jt, TableHeaderCell as qt, TableHeaderRow as Jt, TableInfoIcon as Kt, TableLoadingRow as Qt, TableRoot as Ut, TableRow as Wt, TableSortButton as Xt } from "./lib/Components/core/Table/Table.js";
55
55
  import { Tag as Zt } from "./lib/Components/core/Tag/Tag.js";
56
56
  import { TextInput as er } from "./lib/Components/core/TextInput/TextInput.js";
57
- import { Tile as tr, TileContent as rr, TileDescription as ar, TileSecondaryAction as nr, TileTitle as ir, TileTrailingContent as lr } from "./lib/Components/core/Tile/Tile.js";
58
- import { TileButton as mr } from "./lib/Components/core/TileButton/TileButton.js";
59
- import { Tooltip as Tr, TooltipContent as xr, TooltipProvider as fr, TooltipTrigger as Cr } from "./lib/Components/core/Tooltip/Tooltip.js";
60
- import { Trend as Sr } from "./lib/Components/core/Trend/Trend.js";
61
- import { ThemeProvider as gr, useTheme as br } from "./lib/Components/core/ThemeProvider/ThemeProvider.js";
62
- import { COLOR_SCHEMES as sr } from "./lib/Components/core/ThemeProvider/ThemeProvider.types.js";
57
+ import { Tile as tr, TileContent as rr, TileDescription as nr, TileSecondaryAction as ar, TileTitle as ir, TileTrailingContent as lr } from "./lib/Components/core/Tile/Tile.js";
58
+ import { TileButton as pr } from "./lib/Components/core/TileButton/TileButton.js";
59
+ import { Timeline as dr, TimelineItem as xr, TimelineItemBody as fr, TimelineItemCaption as Cr, TimelineItemDescription as cr, TimelineItemHeader as Sr, TimelineItemLeading as ur, TimelineItemLeadingRow as gr, TimelineItemTitle as Ir, TimelineItemTrailing as br } from "./lib/Components/core/Timeline/Timeline.js";
60
+ import { toast as Br } from "./libs/utils-shared/dist/index.js";
61
+ import { Toast as Mr } from "./lib/Components/core/Toast/Toast.js";
62
+ import { Toaster as vr } from "./lib/Components/core/Toast/Toaster.js";
63
+ import { Tooltip as Rr, TooltipContent as wr, TooltipProvider as Hr, TooltipTrigger as Ar } from "./lib/Components/core/Tooltip/Tooltip.js";
64
+ import { Trend as yr } from "./lib/Components/core/Trend/Trend.js";
65
+ import { ThemeProvider as kr, useTheme as Gr } from "./lib/Components/core/ThemeProvider/ThemeProvider.js";
66
+ import { COLOR_SCHEMES as Fr } from "./lib/Components/core/ThemeProvider/ThemeProvider.types.js";
63
67
  export {
64
68
  i as AddressInput,
65
- d as AmountDisplay,
66
- p as AmountInput,
69
+ T as AmountDisplay,
70
+ m as AmountInput,
67
71
  x as Avatar,
68
72
  S as AvatarButton,
69
73
  g as Banner,
70
- I as Button,
71
- sr as COLOR_SCHEMES,
74
+ b as Button,
75
+ Fr as COLOR_SCHEMES,
72
76
  B as Card,
73
77
  y as CardButton,
74
78
  D as CardContent,
@@ -78,8 +82,8 @@ export {
78
82
  h as CardFooter,
79
83
  R as CardFooterActions,
80
84
  w as CardHeader,
81
- A as CardLeading,
82
- H as CardTrailing,
85
+ H as CardLeading,
86
+ A as CardTrailing,
83
87
  k as Checkbox,
84
88
  E as ContentBanner,
85
89
  F as ContentBannerContent,
@@ -95,19 +99,19 @@ export {
95
99
  Z as DescriptionItemValue,
96
100
  te as Dialog,
97
101
  re as DialogBody,
98
- ae as DialogBodyStickyContent,
102
+ ne as DialogBodyStickyContent,
99
103
  ee as DialogClose,
100
- ne as DialogContent,
104
+ ae as DialogContent,
101
105
  ie as DialogFooter,
102
- me as DialogHeader,
106
+ pe as DialogHeader,
103
107
  le as DialogTrigger,
104
- Te as Divider,
108
+ de as Divider,
105
109
  fe as DotCount,
106
110
  ce as DotIcon,
107
- Ie as DotIndicator,
111
+ be as DotIndicator,
108
112
  Me as DotSymbol,
109
113
  Re as IconButton,
110
- Ae as InteractiveIcon,
114
+ He as InteractiveIcon,
111
115
  t as Languages,
112
116
  Pe as Link,
113
117
  Ne as ListItem,
@@ -128,25 +132,25 @@ export {
128
132
  oo as Menu,
129
133
  to as MenuCheckboxItem,
130
134
  ro as MenuContent,
131
- ao as MenuGroup,
132
- no as MenuItem,
135
+ no as MenuGroup,
136
+ ao as MenuItem,
133
137
  io as MenuLabel,
134
138
  lo as MenuRadioGroup,
135
- po as MenuRadioItem,
136
- mo as MenuSeparator,
139
+ mo as MenuRadioItem,
140
+ po as MenuSeparator,
137
141
  To as MenuSub,
138
142
  xo as MenuSubContent,
139
143
  fo as MenuSubTrigger,
140
144
  Co as MenuSwitchItem,
141
145
  co as MenuTrigger,
142
146
  go as NavBar,
143
- bo as NavBarBackButton,
144
- Io as NavBarCoinCapsule,
147
+ Io as NavBarBackButton,
148
+ bo as NavBarCoinCapsule,
145
149
  so as NavBarDescription,
146
150
  Bo as NavBarLeading,
147
151
  Do as NavBarTitle,
148
152
  Mo as NavBarTrailing,
149
- Ho as PageIndicator,
153
+ Ao as PageIndicator,
150
154
  yo as Pagination,
151
155
  vo as Popover,
152
156
  ho as PopoverContent,
@@ -168,17 +172,17 @@ export {
168
172
  $o as SelectSearch,
169
173
  et as SelectSeparator,
170
174
  ot as SelectTrigger,
171
- at as SideBar,
172
- nt as SideBarCollapseToggle,
175
+ nt as SideBar,
176
+ at as SideBarCollapseToggle,
173
177
  it as SideBarItem,
174
178
  lt as SideBarLeading,
175
- pt as SideBarTrailing,
176
- Tt as Skeleton,
179
+ mt as SideBarTrailing,
180
+ dt as Skeleton,
177
181
  ft as Spinner,
178
182
  ct as Spot,
179
183
  ut as Stepper,
180
- bt as Subheader,
181
- It as SubheaderCount,
184
+ It as Subheader,
185
+ bt as SubheaderCount,
182
186
  st as SubheaderDescription,
183
187
  Bt as SubheaderInfo,
184
188
  Dt as SubheaderRow,
@@ -186,8 +190,8 @@ export {
186
190
  Lt as SubheaderTitle,
187
191
  ht as Switch,
188
192
  wt as Table,
189
- At as TableActionBar,
190
- Ht as TableActionBarLeading,
193
+ Ht as TableActionBar,
194
+ At as TableActionBarLeading,
191
195
  Pt as TableActionBarTrailing,
192
196
  yt as TableBody,
193
197
  Nt as TableCell,
@@ -209,30 +213,43 @@ export {
209
213
  Xt as TableSortButton,
210
214
  Zt as Tag,
211
215
  er as TextInput,
212
- gr as ThemeProvider,
216
+ kr as ThemeProvider,
213
217
  tr as Tile,
214
- mr as TileButton,
218
+ pr as TileButton,
215
219
  rr as TileContent,
216
- ar as TileDescription,
217
- nr as TileSecondaryAction,
220
+ nr as TileDescription,
221
+ ar as TileSecondaryAction,
218
222
  ir as TileTitle,
219
223
  lr as TileTrailingContent,
220
- Tr as Tooltip,
221
- xr as TooltipContent,
222
- fr as TooltipProvider,
223
- Cr as TooltipTrigger,
224
- Sr as Trend,
224
+ dr as Timeline,
225
+ xr as TimelineItem,
226
+ fr as TimelineItemBody,
227
+ Cr as TimelineItemCaption,
228
+ cr as TimelineItemDescription,
229
+ Sr as TimelineItemHeader,
230
+ ur as TimelineItemLeading,
231
+ gr as TimelineItemLeadingRow,
232
+ Ir as TimelineItemTitle,
233
+ br as TimelineItemTrailing,
234
+ Mr as Toast,
235
+ vr as Toaster,
236
+ Rr as Tooltip,
237
+ wr as TooltipContent,
238
+ Hr as TooltipProvider,
239
+ Ar as TooltipTrigger,
240
+ yr as Trend,
225
241
  So as createMenuRadioGroup,
226
242
  wo as createPopoverHandle,
227
243
  jo as createSegmentedControl,
228
244
  tt as createSelect,
229
- mt as createSideBar,
245
+ pt as createSideBar,
230
246
  Se as dotIconSizeMap,
231
247
  ge as getDotIconProps,
232
248
  Be as getDotIndicatorProps,
233
249
  ve as getDotSymbolProps,
234
250
  C as resolveAvatarColor,
235
- a as useControllableState,
251
+ Br as toast,
252
+ n as useControllableState,
236
253
  K as useLumenDataTable,
237
- br as useTheme
254
+ Gr as useTheme
238
255
  };
@@ -4,7 +4,7 @@ import { cva as i } from "class-variance-authority";
4
4
  import { useMemo as W } from "react";
5
5
  import { useAmountInputValue as q } from "./useAmountInputValue/useAmountInputValue.js";
6
6
  import { useAutoWidthInput as E } from "./useAutoWidthInput/useAutoWidthInput.js";
7
- const O = i(
7
+ const L = i(
8
8
  [
9
9
  "bg-transparent caret-active outline-hidden transition-colors",
10
10
  "text-base placeholder:text-muted-subtle",
@@ -28,7 +28,7 @@ const O = i(
28
28
  isChanging: !1
29
29
  }
30
30
  }
31
- ), B = i(
31
+ ), O = i(
32
32
  [
33
33
  "cursor-text text-base",
34
34
  "group-has-[input:placeholder-shown]:text-muted-subtle",
@@ -46,7 +46,7 @@ const O = i(
46
46
  size: "md"
47
47
  }
48
48
  }
49
- ), G = i("invisible absolute whitespace-pre", {
49
+ ), B = i("invisible absolute whitespace-pre", {
50
50
  variants: {
51
51
  size: {
52
52
  md: "heading-0-semi-bold",
@@ -56,7 +56,7 @@ const O = i(
56
56
  defaultVariants: {
57
57
  size: "md"
58
58
  }
59
- }), H = i(
59
+ }), G = i(
60
60
  "group relative flex w-full items-center overflow-visible transition-transform",
61
61
  {
62
62
  variants: {
@@ -70,7 +70,7 @@ const O = i(
70
70
  align: "center"
71
71
  }
72
72
  }
73
- ), c = ({ size: r, style: o, children: e }) => /* @__PURE__ */ a("span", { className: f(B({ size: r }), "shrink-0"), style: o, children: e }), Y = ({
73
+ ), c = ({ size: r, style: o, children: e }) => /* @__PURE__ */ a("span", { className: f(O({ size: r }), "shrink-0"), style: o, children: e }), Y = ({
74
74
  ref: r,
75
75
  className: o,
76
76
  size: e = "md",
@@ -83,8 +83,8 @@ const O = i(
83
83
  allowDecimals: x = !0,
84
84
  thousandsSeparator: w = !0,
85
85
  decimalSeparator: y = ".",
86
- value: S,
87
- onChange: C,
86
+ value: C,
87
+ onChange: S,
88
88
  placeholder: d,
89
89
  ...V
90
90
  }) => {
@@ -92,8 +92,8 @@ const O = i(
92
92
  consumerName: "AmountInput",
93
93
  mergeWith: { disabled: g }
94
94
  }), { inputValue: n, isChanging: j, setIsChanging: I, handleChange: N } = q({
95
- value: S,
96
- onChange: C,
95
+ value: C,
96
+ onChange: S,
97
97
  formatOptions: {
98
98
  allowDecimals: x,
99
99
  thousandsSeparator: w,
@@ -101,18 +101,18 @@ const O = i(
101
101
  maxDecimalLength: v,
102
102
  decimalSeparator: y
103
103
  }
104
- }), u = n === "" ? d ?? "" : n, { spanRef: R, inputRef: m } = E({
104
+ }), u = n === "" ? d ?? "" : n, { spanRef: k, inputRef: m } = E({
105
105
  inputValue: u,
106
106
  currencyText: t,
107
107
  size: e
108
- }), k = D(r, m), s = { fontSize: W(
108
+ }), R = D(r, m), s = { fontSize: W(
109
109
  () => F(n, e) + "px",
110
110
  [n, e]
111
111
  ), letterSpacing: "normal" };
112
112
  return /* @__PURE__ */ z(
113
113
  "div",
114
114
  {
115
- className: H({ align: h }),
115
+ className: G({ align: h }),
116
116
  onPointerDown: () => {
117
117
  const p = m.current;
118
118
  p && window.requestAnimationFrame(() => {
@@ -124,8 +124,8 @@ const O = i(
124
124
  /* @__PURE__ */ a(
125
125
  "span",
126
126
  {
127
- ref: R,
128
- className: G({ size: e }),
127
+ ref: k,
128
+ className: B({ size: e }),
129
129
  "aria-hidden": "true",
130
130
  style: s,
131
131
  children: u
@@ -134,7 +134,7 @@ const O = i(
134
134
  /* @__PURE__ */ a(
135
135
  "input",
136
136
  {
137
- ref: k,
137
+ ref: R,
138
138
  type: "text",
139
139
  inputMode: "decimal",
140
140
  disabled: A,
@@ -142,7 +142,7 @@ const O = i(
142
142
  placeholder: d,
143
143
  onChange: N,
144
144
  onAnimationEnd: () => I(!1),
145
- className: f(O({ size: e, isChanging: j }), o),
145
+ className: f(L({ size: e, isChanging: j }), o),
146
146
  ...V,
147
147
  style: s
148
148
  }
@@ -1,11 +1,11 @@
1
1
  import { textFormatter as m } from "../../../../../libs/utils-shared/dist/index.js";
2
- import { useCallback as i, useState as g, useRef as d, useEffect as f } from "react";
2
+ import { useCallback as d, useState as g, useRef as i, 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 = i(
8
+ const a = d(
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 = d(c);
18
+ ), [c, s] = g(() => a(r)), [h, l] = g(!1), u = i(c);
19
19
  return f(() => {
20
20
  const e = a(r);
21
21
  s(e), u.current = e;
@@ -27,10 +27,10 @@ const t = {
27
27
  function d(e) {
28
28
  return t[o(e)];
29
29
  }
30
- function s(e) {
30
+ function g(e) {
31
31
  return e ? n[e] ?? c : v;
32
32
  }
33
33
  export {
34
- s as getAvatarFallbackTextColor,
34
+ g as getAvatarFallbackTextColor,
35
35
  d as resolveAvatarColor
36
36
  };
@@ -2,9 +2,9 @@ import { jsxs as p, jsx as e } from "react/jsx-runtime";
2
2
  import { useDisabledContext as f, cn as v } from "../../../../libs/utils-shared/dist/index.js";
3
3
  import { Avatar as m } from "../Avatar/Avatar.js";
4
4
  const A = ({
5
- ref: t,
6
- className: o,
7
- src: s,
5
+ ref: o,
6
+ className: s,
7
+ src: t,
8
8
  alt: r,
9
9
  size: a,
10
10
  imgLoading: n,
@@ -21,19 +21,19 @@ const A = ({
21
21
  return /* @__PURE__ */ p(
22
22
  "button",
23
23
  {
24
- ref: t,
24
+ ref: o,
25
25
  type: "button",
26
26
  disabled: c,
27
27
  className: v(
28
28
  "group relative cursor-pointer rounded-full focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-focus disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-30",
29
- o
29
+ s
30
30
  ),
31
31
  ...b,
32
32
  children: [
33
33
  /* @__PURE__ */ e(
34
34
  m,
35
35
  {
36
- src: s,
36
+ src: t,
37
37
  alt: r,
38
38
  size: a,
39
39
  imgLoading: n,
@@ -1,4 +1,4 @@
1
- import { jsxs as a, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as e, jsx as r } from "react/jsx-runtime";
2
2
  import { cn as t } from "../../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as b } from "class-variance-authority";
4
4
  import { useCommonTranslation as g } from "../../../../i18n/useCommonTranslation.js";
@@ -27,7 +27,7 @@ const k = {
27
27
  }, W = ({
28
28
  ref: c,
29
29
  appearance: s = "info",
30
- title: e,
30
+ title: a,
31
31
  description: n,
32
32
  primaryAction: o,
33
33
  secondaryAction: l,
@@ -37,7 +37,7 @@ const k = {
37
37
  ...f
38
38
  }) => {
39
39
  const { t: x } = g(), d = k[s];
40
- return /* @__PURE__ */ a(
40
+ return /* @__PURE__ */ e(
41
41
  "div",
42
42
  {
43
43
  ref: c,
@@ -45,12 +45,12 @@ const k = {
45
45
  ...f,
46
46
  children: [
47
47
  /* @__PURE__ */ r("div", { className: "flex shrink-0 items-start py-4", children: d }),
48
- /* @__PURE__ */ a("div", { className: "mr-8 flex flex-1 flex-col gap-8 py-4", children: [
49
- /* @__PURE__ */ a("div", { className: "flex flex-col gap-4", children: [
50
- e && /* @__PURE__ */ r("h3", { className: "line-clamp-2 body-1-semi-bold", children: e }),
51
- n && /* @__PURE__ */ r("div", { className: t("line-clamp-5 body-2", !e && "mt-2"), children: n })
48
+ /* @__PURE__ */ e("div", { className: "mr-8 flex flex-1 flex-col gap-8 py-4", children: [
49
+ /* @__PURE__ */ e("div", { className: "flex flex-col gap-4", children: [
50
+ a && /* @__PURE__ */ r("h3", { className: "line-clamp-2 body-1-semi-bold", children: a }),
51
+ n && /* @__PURE__ */ r("div", { className: t("line-clamp-5 body-2", !a && "mt-2"), children: n })
52
52
  ] }),
53
- (o || l) && /* @__PURE__ */ a("div", { className: "flex flex-wrap gap-4", children: [
53
+ (o || l) && /* @__PURE__ */ e("div", { className: "flex flex-wrap gap-4", children: [
54
54
  o,
55
55
  l
56
56
  ] })
@@ -1,8 +1,8 @@
1
- import { jsx as n } from "react/jsx-runtime";
2
- import { cn as d } from "../../../../libs/utils-shared/dist/index.js";
3
- import { cva as e } from "class-variance-authority";
1
+ import { jsx as e } from "react/jsx-runtime";
2
+ import { cn as n } from "../../../../libs/utils-shared/dist/index.js";
3
+ import { cva as d } from "class-variance-authority";
4
4
  import { BaseButton as b } from "../../internal/BaseButton/BaseButton.js";
5
- const l = e("", {
5
+ const l = d("", {
6
6
  variants: {
7
7
  size: {
8
8
  sm: "px-16 py-10 body-2-semi-bold",
@@ -17,22 +17,22 @@ const l = e("", {
17
17
  ref: t,
18
18
  className: m,
19
19
  loading: s,
20
- disabled: a,
21
- children: r,
20
+ disabled: r,
21
+ children: a,
22
22
  size: o,
23
23
  icon: i,
24
24
  ...p
25
- }) => /* @__PURE__ */ n(
25
+ }) => /* @__PURE__ */ e(
26
26
  b,
27
27
  {
28
28
  ref: t,
29
29
  size: o,
30
- disabled: a,
30
+ disabled: r,
31
31
  icon: i,
32
32
  loading: s,
33
- className: d(l({ size: o }), "gap-8", m),
33
+ className: n(l({ size: o }), "gap-8", m),
34
34
  ...p,
35
- children: r
35
+ children: a
36
36
  }
37
37
  );
38
38
  export {
@@ -184,7 +184,7 @@ const k = ({
184
184
  children: t
185
185
  }
186
186
  );
187
- }, I = ({
187
+ }, L = ({
188
188
  ref: r,
189
189
  children: t,
190
190
  className: a,
@@ -207,7 +207,7 @@ const k = ({
207
207
  children: t
208
208
  }
209
209
  );
210
- }, L = ({
210
+ }, I = ({
211
211
  ref: r,
212
212
  children: t,
213
213
  className: a,
@@ -322,7 +322,7 @@ const k = ({
322
322
  ) })
323
323
  }
324
324
  );
325
- }, G = ({
325
+ }, Z = ({
326
326
  ref: r,
327
327
  children: t,
328
328
  className: a,
@@ -340,10 +340,10 @@ export {
340
340
  P as Card,
341
341
  B as CardContent,
342
342
  M as CardContentDescription,
343
- I as CardContentRow,
344
- L as CardContentTitle,
343
+ L as CardContentRow,
344
+ I as CardContentTitle,
345
345
  U as CardFooter,
346
- G as CardFooterActions,
346
+ Z as CardFooterActions,
347
347
  T as CardHeader,
348
348
  z as CardLeading,
349
349
  S as CardTrailing,
@@ -4,6 +4,8 @@ import { CardButtonProps } from './types';
4
4
  *
5
5
  * It supports different appearances. takes full width by default. The chevron can be hidden if needed.
6
6
  *
7
+ * @deprecated Use Card instead.
8
+ *
7
9
  * @see {@link https://ldls.vercel.app/?path=/docs/react-cardbutton--docs Guidelines}
8
10
  *
9
11
  * @warning The `className` prop should only be used for layout adjustments like margins or positioning.
@@ -1 +1 @@
1
- {"version":3,"file":"CardButton.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/CardButton/CardButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkB/C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,UAAU,GAAI,yGAUxB,eAAe,4CAqCjB,CAAC"}
1
+ {"version":3,"file":"CardButton.d.ts","sourceRoot":"","sources":["../../../../../src/lib/Components/core/CardButton/CardButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAkB/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,eAAO,MAAM,UAAU,GAAI,yGAUxB,eAAe,4CAqCjB,CAAC"}
@@ -18,8 +18,8 @@ const h = f(
18
18
  ), w = ({
19
19
  ref: i,
20
20
  className: o,
21
- appearance: l,
22
- icon: d,
21
+ appearance: d,
22
+ icon: l,
23
23
  title: n,
24
24
  description: t,
25
25
  hideChevron: r,
@@ -29,14 +29,14 @@ const h = f(
29
29
  const c = m({
30
30
  consumerName: "CardButton",
31
31
  mergeWith: { disabled: b }
32
- }), s = d;
32
+ }), s = l;
33
33
  return /* @__PURE__ */ a(
34
34
  "button",
35
35
  {
36
36
  ref: i,
37
37
  className: p(
38
38
  h({
39
- appearance: l
39
+ appearance: d
40
40
  }),
41
41
  o
42
42
  ),