@ledgerhq/lumen-ui-react 0.1.62 → 0.1.64

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 (179) hide show
  1. package/ai-rules/RULES.md +1 -1
  2. package/dist/index.d.ts +1 -1
  3. package/dist/index.d.ts.map +1 -1
  4. package/dist/index.js +80 -78
  5. package/dist/lib/Components/core/AddressInput/AddressInput.js +1 -1
  6. package/dist/lib/Components/core/AmountDisplay/AmountDisplay.js +1 -1
  7. package/dist/lib/Components/core/AmountInput/AmountInput.js +22 -22
  8. package/dist/lib/Components/core/Avatar/Avatar.js +7 -7
  9. package/dist/lib/Components/core/AvatarButton/AvatarButton.js +8 -8
  10. package/dist/lib/Components/core/Banner/Banner.js +1 -1
  11. package/dist/lib/Components/core/Button/Button.js +6 -6
  12. package/dist/lib/Components/core/Card/Card.js +17 -17
  13. package/dist/lib/Components/core/ContentBanner/ContentBanner.d.ts +1 -1
  14. package/dist/lib/Components/core/ContentBanner/ContentBanner.js +1 -1
  15. package/dist/lib/Components/core/DataTable/DataTable.js +45 -45
  16. package/dist/lib/Components/core/Dialog/DialogHeader/DialogHeader.js +1 -1
  17. package/dist/lib/Components/core/Divider/Divider.js +4 -4
  18. package/dist/lib/Components/core/DotCount/DotCount.js +3 -3
  19. package/dist/lib/Components/core/DotIcon/DotIcon.js +4 -4
  20. package/dist/lib/Components/core/DotSymbol/DotSymbol.js +18 -18
  21. package/dist/lib/Components/core/Link/Link.d.ts.map +1 -1
  22. package/dist/lib/Components/core/Link/Link.js +25 -24
  23. package/dist/lib/Components/core/ListItem/ListItem.d.ts +1 -1
  24. package/dist/lib/Components/core/ListItem/ListItem.js +4 -4
  25. package/dist/lib/Components/core/MediaBanner/MediaBanner.js +16 -16
  26. package/dist/lib/Components/core/MediaButton/MediaButton.js +2 -2
  27. package/dist/lib/Components/core/MediaCard/MediaCard.js +1 -1
  28. package/dist/lib/Components/core/MediaImage/MediaImage.js +5 -5
  29. package/dist/lib/Components/core/Menu/Menu.js +25 -25
  30. package/dist/lib/Components/core/NavBar/CoinCapsule.js +4 -4
  31. package/dist/lib/Components/core/NavBar/NavBar.js +3 -3
  32. package/dist/lib/Components/core/PageIndicator/PageIndicator.js +5 -5
  33. package/dist/lib/Components/core/Pagination/Pagination.js +15 -15
  34. package/dist/lib/Components/core/Popover/Popover.js +13 -13
  35. package/dist/lib/Components/core/SearchInput/SearchInput.js +5 -5
  36. package/dist/lib/Components/core/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  37. package/dist/lib/Components/core/SegmentedControl/SegmentedControl.js +78 -82
  38. package/dist/lib/Components/core/Select/Select.d.ts.map +1 -1
  39. package/dist/lib/Components/core/Select/Select.js +105 -104
  40. package/dist/lib/Components/core/SideBar/SideBar.js +28 -28
  41. package/dist/lib/Components/core/Spinner/Spinner.js +5 -5
  42. package/dist/lib/Components/core/Spot/Spot.d.ts +7 -25
  43. package/dist/lib/Components/core/Spot/Spot.d.ts.map +1 -1
  44. package/dist/lib/Components/core/Spot/Spot.js +33 -102
  45. package/dist/lib/Components/core/Spot/SpotNumber.d.ts +16 -0
  46. package/dist/lib/Components/core/Spot/SpotNumber.d.ts.map +1 -0
  47. package/dist/lib/Components/core/Spot/SpotNumber.js +46 -0
  48. package/dist/lib/Components/core/Spot/index.d.ts +1 -0
  49. package/dist/lib/Components/core/Spot/index.d.ts.map +1 -1
  50. package/dist/lib/Components/core/Spot/styles.d.ts +14 -0
  51. package/dist/lib/Components/core/Spot/styles.d.ts.map +1 -0
  52. package/dist/lib/Components/core/Spot/styles.js +275 -0
  53. package/dist/lib/Components/core/Spot/types.d.ts +27 -38
  54. package/dist/lib/Components/core/Spot/types.d.ts.map +1 -1
  55. package/dist/lib/Components/core/Stepper/Stepper.d.ts.map +1 -1
  56. package/dist/lib/Components/core/Stepper/Stepper.js +51 -48
  57. package/dist/lib/Components/core/Subheader/Subheader.d.ts.map +1 -1
  58. package/dist/lib/Components/core/Subheader/Subheader.js +33 -29
  59. package/dist/lib/Components/core/Switch/Switch.js +5 -5
  60. package/dist/lib/Components/core/Table/Table.d.ts.map +1 -1
  61. package/dist/lib/Components/core/Table/Table.js +64 -63
  62. package/dist/lib/Components/core/ThemeProvider/ThemeProvider.js +6 -6
  63. package/dist/lib/Components/core/ThemeProvider/ThemeProvider.types.d.ts +1 -1
  64. package/dist/lib/Components/core/ThemeProvider/ThemeProvider.types.d.ts.map +1 -1
  65. package/dist/lib/Components/core/Tile/Tile.d.ts +2 -2
  66. package/dist/lib/Components/core/TileButton/TileButton.js +8 -8
  67. package/dist/lib/Components/core/Timeline/Timeline.js +16 -16
  68. package/dist/lib/Components/core/Toast/Toast.js +4 -4
  69. package/dist/lib/Components/core/Toast/Toaster.js +9 -9
  70. package/dist/lib/Components/core/Trend/Trend.js +3 -3
  71. package/dist/lib/Components/internal/BaseButton/BaseButton.js +9 -9
  72. package/dist/lib/Components/internal/BaseInput/BaseInput.js +21 -21
  73. package/dist/lib/Components/internal/BaseInput/useAutosizeTextarea/useAutosizeTextarea.js +4 -4
  74. package/dist/lib/Components/internal/BaseTag/BaseTag.js +4 -4
  75. package/dist/lib/Components/symbols/Icon/Icon.js +4 -4
  76. package/dist/lib/Components/symbols/Icon/createIcon.js +5 -5
  77. package/dist/lib/Components/symbols/icons/AiBubble.d.ts +29 -0
  78. package/dist/lib/Components/symbols/icons/AiBubble.d.ts.map +1 -0
  79. package/dist/lib/Components/symbols/icons/AiBubble.js +30 -0
  80. package/dist/lib/Components/symbols/icons/ArrowBottomLeft.d.ts +29 -0
  81. package/dist/lib/Components/symbols/icons/ArrowBottomLeft.d.ts.map +1 -0
  82. package/dist/lib/Components/symbols/icons/ArrowBottomLeft.js +27 -0
  83. package/dist/lib/Components/symbols/icons/Bug.js +3 -3
  84. package/dist/lib/Components/symbols/icons/Hourglass.d.ts +29 -0
  85. package/dist/lib/Components/symbols/icons/Hourglass.d.ts.map +1 -0
  86. package/dist/lib/Components/symbols/icons/Hourglass.js +27 -0
  87. package/dist/lib/Components/symbols/icons/Repeat.d.ts +29 -0
  88. package/dist/lib/Components/symbols/icons/Repeat.d.ts.map +1 -0
  89. package/dist/lib/Components/symbols/icons/Repeat.js +27 -0
  90. package/dist/lib/Components/symbols/icons/Robot.d.ts +29 -0
  91. package/dist/lib/Components/symbols/icons/Robot.d.ts.map +1 -0
  92. package/dist/lib/Components/symbols/icons/Robot.js +29 -0
  93. package/dist/lib/Components/symbols/icons/Switch.d.ts.map +1 -1
  94. package/dist/lib/Components/symbols/icons/Switch.js +24 -12
  95. package/dist/lib/Components/symbols/icons/Wifi.d.ts +29 -0
  96. package/dist/lib/Components/symbols/icons/Wifi.d.ts.map +1 -0
  97. package/dist/lib/Components/symbols/icons/Wifi.js +36 -0
  98. package/dist/lib/Components/symbols/index.d.ts +6 -0
  99. package/dist/lib/Components/symbols/index.d.ts.map +1 -1
  100. package/dist/lib/Components/symbols/index.js +610 -598
  101. package/dist/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
  102. package/dist/lib/Components/visualization/CartesianChart/CartesianChart.js +36 -35
  103. package/dist/lib/Components/visualization/CartesianChart/types.d.ts +1 -1
  104. package/dist/lib/Components/visualization/DonutChart/DonutChart.d.ts.map +1 -1
  105. package/dist/lib/Components/visualization/DonutChart/DonutChart.js +31 -31
  106. package/dist/lib/Components/visualization/DonutChart/DonutChartCenter.js +4 -4
  107. package/dist/lib/Components/visualization/DonutChart/DonutRing.d.ts.map +1 -1
  108. package/dist/lib/Components/visualization/DonutChart/DonutRing.js +13 -12
  109. package/dist/lib/Components/visualization/DonutChart/donutSizeContext.js +2 -2
  110. package/dist/lib/Components/visualization/DonutChart/types.d.ts +1 -1
  111. package/dist/lib/Components/visualization/Legend/Legend.d.ts +1 -1
  112. package/dist/lib/Components/visualization/Legend/Legend.d.ts.map +1 -1
  113. package/dist/lib/Components/visualization/Legend/Legend.js +7 -11
  114. package/dist/lib/Components/visualization/Legend/types.d.ts +2 -2
  115. package/dist/lib/Components/visualization/LineChart/LineChart.d.ts +1 -1
  116. package/dist/lib/Components/visualization/LineChart/LineChart.d.ts.map +1 -1
  117. package/dist/lib/Components/visualization/LineChart/LineChart.js +90 -84
  118. package/dist/lib/Components/visualization/LineChart/types.d.ts +1 -1
  119. package/dist/lib/Components/visualization/LineChart/utils.d.ts +2 -1
  120. package/dist/lib/Components/visualization/LineChart/utils.d.ts.map +1 -1
  121. package/dist/lib/Components/visualization/LineChart/utils.js +23 -22
  122. package/dist/lib/Components/visualization/config.d.ts +0 -3
  123. package/dist/lib/Components/visualization/config.d.ts.map +1 -1
  124. package/dist/lib/Components/visualization/config.js +3 -6
  125. package/dist/libs/utils-shared/dist/index.js +191 -143
  126. package/dist/package.json +4 -6
  127. package/dist/translations/index.d.ts +3 -0
  128. package/dist/translations/index.d.ts.map +1 -0
  129. package/dist/{i18n → translations}/languages.d.ts +0 -5
  130. package/dist/translations/languages.d.ts.map +1 -0
  131. package/dist/{i18n → translations}/languages.js +1 -2
  132. package/dist/{i18n → translations}/locales/en.json.d.ts +11 -0
  133. package/dist/{i18n → translations}/locales/en.json.js +2 -2
  134. package/dist/translations/translations.d.ts +727 -0
  135. package/dist/translations/translations.d.ts.map +1 -0
  136. package/dist/translations/translations.js +22 -0
  137. package/package.json +4 -6
  138. package/dist/_virtual/dynamic-import-helper.js +0 -9
  139. package/dist/i18n/I18nProvider.d.ts +0 -8
  140. package/dist/i18n/I18nProvider.d.ts.map +0 -1
  141. package/dist/i18n/I18nProvider.js +0 -14
  142. package/dist/i18n/i18n.d.ts +0 -12
  143. package/dist/i18n/i18n.d.ts.map +0 -1
  144. package/dist/i18n/i18n.js +0 -42
  145. package/dist/i18n/index.d.ts +0 -4
  146. package/dist/i18n/index.d.ts.map +0 -1
  147. package/dist/i18n/languages.d.ts.map +0 -1
  148. package/dist/i18n/useCommonTranslation.d.ts +0 -2
  149. package/dist/i18n/useCommonTranslation.d.ts.map +0 -1
  150. package/dist/i18n/useCommonTranslation.js +0 -6
  151. package/dist/node_modules/i18next/dist/esm/i18next.js +0 -1479
  152. package/dist/node_modules/react-i18next/dist/es/I18nextProvider.js +0 -19
  153. package/dist/node_modules/react-i18next/dist/es/context.js +0 -17
  154. package/dist/node_modules/react-i18next/dist/es/defaults.js +0 -22
  155. package/dist/node_modules/react-i18next/dist/es/i18nInstance.js +0 -8
  156. package/dist/node_modules/react-i18next/dist/es/initReactI18next.js +0 -11
  157. package/dist/node_modules/react-i18next/dist/es/unescape.js +0 -25
  158. package/dist/node_modules/react-i18next/dist/es/useTranslation.js +0 -65
  159. package/dist/node_modules/react-i18next/dist/es/utils.js +0 -57
  160. /package/dist/{i18n → translations}/locales/de.json.d.ts +0 -0
  161. /package/dist/{i18n → translations}/locales/de.json.js +0 -0
  162. /package/dist/{i18n → translations}/locales/es.json.d.ts +0 -0
  163. /package/dist/{i18n → translations}/locales/es.json.js +0 -0
  164. /package/dist/{i18n → translations}/locales/fr.json.d.ts +0 -0
  165. /package/dist/{i18n → translations}/locales/fr.json.js +0 -0
  166. /package/dist/{i18n → translations}/locales/ja.json.d.ts +0 -0
  167. /package/dist/{i18n → translations}/locales/ja.json.js +0 -0
  168. /package/dist/{i18n → translations}/locales/ko.json.d.ts +0 -0
  169. /package/dist/{i18n → translations}/locales/ko.json.js +0 -0
  170. /package/dist/{i18n → translations}/locales/pt.json.d.ts +0 -0
  171. /package/dist/{i18n → translations}/locales/pt.json.js +0 -0
  172. /package/dist/{i18n → translations}/locales/ru.json.d.ts +0 -0
  173. /package/dist/{i18n → translations}/locales/ru.json.js +0 -0
  174. /package/dist/{i18n → translations}/locales/th.json.d.ts +0 -0
  175. /package/dist/{i18n → translations}/locales/th.json.js +0 -0
  176. /package/dist/{i18n → translations}/locales/tr.json.d.ts +0 -0
  177. /package/dist/{i18n → translations}/locales/tr.json.js +0 -0
  178. /package/dist/{i18n → translations}/locales/zh.json.d.ts +0 -0
  179. /package/dist/{i18n → translations}/locales/zh.json.js +0 -0
package/ai-rules/RULES.md CHANGED
@@ -224,7 +224,7 @@ const InteractiveList = () => (
224
224
  {items.map((item) => (
225
225
  <ListItem>
226
226
  <ListItemLeading>
227
- <Spot appearance='icon' icon={Settings} />
227
+ <Spot icon={Settings} />
228
228
  <ListItemContent>
229
229
  <ListItemTitle>Simple composition</ListItemTitle>
230
230
  <ListItemDescription>With description</ListItemDescription>
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  export * from './lib/Components';
2
- export { type SupportedLocale, Languages } from './i18n';
2
+ export { type SupportedLocale, Languages } from './translations';
3
3
  export { useControllableState } from './utils/useControllableState';
4
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;AACzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,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,gBAAgB,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC"}
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Languages as t } from "./i18n/languages.js";
1
+ import { Languages as t } from "./translations/languages.js";
2
2
  import { useControllableState as n } from "./utils/useControllableState/useControllableState.js";
3
3
  import { AddressInput as i } from "./lib/Components/core/AddressInput/AddressInput.js";
4
4
  import { AmountInput as m } from "./lib/Components/core/AmountInput/AmountInput.js";
@@ -48,22 +48,23 @@ import { SideBar as nt, SideBarCollapseToggle as at, SideBarItem as it, SideBarL
48
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
- import { Stepper as ut } from "./lib/Components/core/Stepper/Stepper.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
- import { Switch as ht } from "./lib/Components/core/Switch/Switch.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
- import { Tag as Zt } from "./lib/Components/core/Tag/Tag.js";
56
- import { TextInput as er } from "./lib/Components/core/TextInput/TextInput.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";
51
+ import { SpotNumber as ut } from "./lib/Components/core/Spot/SpotNumber.js";
52
+ import { Stepper as It } from "./lib/Components/core/Stepper/Stepper.js";
53
+ import { Subheader as st, SubheaderCount as Bt, SubheaderDescription as Dt, SubheaderInfo as Mt, SubheaderRow as Lt, SubheaderShowMore as vt, SubheaderTitle as ht } from "./lib/Components/core/Subheader/Subheader.js";
54
+ import { Switch as wt } from "./lib/Components/core/Switch/Switch.js";
55
+ import { Table as At, TableActionBar as Pt, TableActionBarLeading as yt, TableActionBarTrailing as Nt, TableBody as kt, TableCell as Gt, TableCellContent as Et, TableCellContentDescription as Ft, TableCellContentRow as Ot, TableCellContentTitle as zt, TableCellItem as Vt, TableCol as _t, TableColGroup as jt, TableGroupHeaderRow as qt, TableHeader as Jt, TableHeaderCell as Kt, TableHeaderRow as Qt, TableInfoIcon as Ut, TableLoadingRow as Wt, TableRoot as Xt, TableRow as Yt, TableSortButton as Zt } from "./lib/Components/core/Table/Table.js";
56
+ import { Tag as er } from "./lib/Components/core/Tag/Tag.js";
57
+ import { TextInput as tr } from "./lib/Components/core/TextInput/TextInput.js";
58
+ import { Tile as nr, TileContent as ar, TileDescription as ir, TileSecondaryAction as lr, TileTitle as mr, TileTrailingContent as pr } from "./lib/Components/core/Tile/Tile.js";
59
+ import { TileButton as dr } from "./lib/Components/core/TileButton/TileButton.js";
60
+ import { Timeline as fr, TimelineItem as Cr, TimelineItemBody as cr, TimelineItemCaption as Sr, TimelineItemDescription as ur, TimelineItemHeader as gr, TimelineItemLeading as Ir, TimelineItemLeadingRow as br, TimelineItemTitle as sr, TimelineItemTrailing as Br } from "./lib/Components/core/Timeline/Timeline.js";
61
+ import { toast as Mr } from "./libs/utils-shared/dist/index.js";
62
+ import { Toast as vr } from "./lib/Components/core/Toast/Toast.js";
63
+ import { Toaster as Rr } from "./lib/Components/core/Toast/Toaster.js";
64
+ import { Tooltip as Hr, TooltipContent as Ar, TooltipProvider as Pr, TooltipTrigger as yr } from "./lib/Components/core/Tooltip/Tooltip.js";
65
+ import { Trend as kr } from "./lib/Components/core/Trend/Trend.js";
66
+ import { ThemeProvider as Er, useTheme as Fr } from "./lib/Components/core/ThemeProvider/ThemeProvider.js";
67
+ import { COLOR_SCHEMES as zr } from "./lib/Components/core/ThemeProvider/ThemeProvider.types.js";
67
68
  export {
68
69
  i as AddressInput,
69
70
  T as AmountDisplay,
@@ -72,7 +73,7 @@ export {
72
73
  S as AvatarButton,
73
74
  g as Banner,
74
75
  b as Button,
75
- Fr as COLOR_SCHEMES,
76
+ zr as COLOR_SCHEMES,
76
77
  B as Card,
77
78
  y as CardButton,
78
79
  D as CardContent,
@@ -180,64 +181,65 @@ export {
180
181
  dt as Skeleton,
181
182
  ft as Spinner,
182
183
  ct as Spot,
183
- ut as Stepper,
184
- It as Subheader,
185
- bt as SubheaderCount,
186
- st as SubheaderDescription,
187
- Bt as SubheaderInfo,
188
- Dt as SubheaderRow,
189
- Mt as SubheaderShowMore,
190
- Lt as SubheaderTitle,
191
- ht as Switch,
192
- wt as Table,
193
- Ht as TableActionBar,
194
- At as TableActionBarLeading,
195
- Pt as TableActionBarTrailing,
196
- yt as TableBody,
197
- Nt as TableCell,
198
- kt as TableCellContent,
199
- Gt as TableCellContentDescription,
200
- Et as TableCellContentRow,
201
- Ft as TableCellContentTitle,
202
- Ot as TableCellItem,
203
- zt as TableCol,
204
- Vt as TableColGroup,
205
- _t as TableGroupHeaderRow,
206
- jt as TableHeader,
207
- qt as TableHeaderCell,
208
- Jt as TableHeaderRow,
209
- Kt as TableInfoIcon,
210
- Qt as TableLoadingRow,
211
- Ut as TableRoot,
212
- Wt as TableRow,
213
- Xt as TableSortButton,
214
- Zt as Tag,
215
- er as TextInput,
216
- kr as ThemeProvider,
217
- tr as Tile,
218
- pr as TileButton,
219
- rr as TileContent,
220
- nr as TileDescription,
221
- ar as TileSecondaryAction,
222
- ir as TileTitle,
223
- lr as TileTrailingContent,
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,
184
+ ut as SpotNumber,
185
+ It as Stepper,
186
+ st as Subheader,
187
+ Bt as SubheaderCount,
188
+ Dt as SubheaderDescription,
189
+ Mt as SubheaderInfo,
190
+ Lt as SubheaderRow,
191
+ vt as SubheaderShowMore,
192
+ ht as SubheaderTitle,
193
+ wt as Switch,
194
+ At as Table,
195
+ Pt as TableActionBar,
196
+ yt as TableActionBarLeading,
197
+ Nt as TableActionBarTrailing,
198
+ kt as TableBody,
199
+ Gt as TableCell,
200
+ Et as TableCellContent,
201
+ Ft as TableCellContentDescription,
202
+ Ot as TableCellContentRow,
203
+ zt as TableCellContentTitle,
204
+ Vt as TableCellItem,
205
+ _t as TableCol,
206
+ jt as TableColGroup,
207
+ qt as TableGroupHeaderRow,
208
+ Jt as TableHeader,
209
+ Kt as TableHeaderCell,
210
+ Qt as TableHeaderRow,
211
+ Ut as TableInfoIcon,
212
+ Wt as TableLoadingRow,
213
+ Xt as TableRoot,
214
+ Yt as TableRow,
215
+ Zt as TableSortButton,
216
+ er as Tag,
217
+ tr as TextInput,
218
+ Er as ThemeProvider,
219
+ nr as Tile,
220
+ dr as TileButton,
221
+ ar as TileContent,
222
+ ir as TileDescription,
223
+ lr as TileSecondaryAction,
224
+ mr as TileTitle,
225
+ pr as TileTrailingContent,
226
+ fr as Timeline,
227
+ Cr as TimelineItem,
228
+ cr as TimelineItemBody,
229
+ Sr as TimelineItemCaption,
230
+ ur as TimelineItemDescription,
231
+ gr as TimelineItemHeader,
232
+ Ir as TimelineItemLeading,
233
+ br as TimelineItemLeadingRow,
234
+ sr as TimelineItemTitle,
235
+ Br as TimelineItemTrailing,
236
+ vr as Toast,
237
+ Rr as Toaster,
238
+ Hr as Tooltip,
239
+ Ar as TooltipContent,
240
+ Pr as TooltipProvider,
241
+ yr as TooltipTrigger,
242
+ kr as Trend,
241
243
  So as createMenuRadioGroup,
242
244
  wo as createPopoverHandle,
243
245
  jo as createSegmentedControl,
@@ -248,8 +250,8 @@ export {
248
250
  Be as getDotIndicatorProps,
249
251
  ve as getDotSymbolProps,
250
252
  C as resolveAvatarColor,
251
- Br as toast,
253
+ Mr as toast,
252
254
  n as useControllableState,
253
255
  K as useLumenDataTable,
254
- Gr as useTheme
256
+ Fr as useTheme
255
257
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { useCommonTranslation as f } from "../../../../i18n/useCommonTranslation.js";
2
+ import { useCommonTranslation as f } from "../../../../translations/translations.js";
3
3
  import { QrCode as p } from "../../symbols/icons/QrCode.js";
4
4
  import { BaseInput as m } from "../../internal/BaseInput/BaseInput.js";
5
5
  import { InteractiveIcon as c } from "../InteractiveIcon/InteractiveIcon.js";
@@ -2,7 +2,7 @@ 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
- import { useCommonTranslation as D } from "../../../../i18n/useCommonTranslation.js";
5
+ import { useCommonTranslation as D } from "../../../../translations/translations.js";
6
6
  const o = {
7
7
  "heading-1-semi-bold": {
8
8
  0: 25,
@@ -1,10 +1,10 @@
1
- import { jsxs as z, jsx as a } from "react/jsx-runtime";
2
- import { useDisabledContext as M, useMergedRef as D, getFontSize as F, cn as f } from "../../../../libs/utils-shared/dist/index.js";
1
+ import { jsxs as k, jsx as a } from "react/jsx-runtime";
2
+ import { useDisabledContext as z, useMergedRef as F, getFontSize as D, cn as f } from "../../../../libs/utils-shared/dist/index.js";
3
3
  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
- import { useAutoWidthInput as E } from "./useAutoWidthInput/useAutoWidthInput.js";
7
- const L = i(
6
+ import { useAutoWidthInput as B } from "./useAutoWidthInput/useAutoWidthInput.js";
7
+ const E = i(
8
8
  [
9
9
  "bg-transparent caret-active outline-hidden transition-colors",
10
10
  "text-base placeholder:text-muted-subtle",
@@ -46,7 +46,7 @@ const L = i(
46
46
  size: "md"
47
47
  }
48
48
  }
49
- ), B = i("invisible absolute whitespace-pre", {
49
+ ), G = i("invisible absolute whitespace-pre", {
50
50
  variants: {
51
51
  size: {
52
52
  md: "heading-0-semi-bold",
@@ -56,7 +56,7 @@ const L = i(
56
56
  defaultVariants: {
57
57
  size: "md"
58
58
  }
59
- }), G = i(
59
+ }), H = i(
60
60
  "group relative flex w-full items-center overflow-visible transition-transform",
61
61
  {
62
62
  variants: {
@@ -83,17 +83,17 @@ const L = i(
83
83
  allowDecimals: x = !0,
84
84
  thousandsSeparator: w = !0,
85
85
  decimalSeparator: y = ".",
86
- value: C,
87
- onChange: S,
86
+ value: S,
87
+ onChange: C,
88
88
  placeholder: d,
89
89
  ...V
90
90
  }) => {
91
- const A = M({
91
+ const A = z({
92
92
  consumerName: "AmountInput",
93
93
  mergeWith: { disabled: g }
94
- }), { inputValue: n, isChanging: j, setIsChanging: I, handleChange: N } = q({
95
- value: C,
96
- onChange: S,
94
+ }), { inputValue: n, isChanging: N, setIsChanging: j, handleChange: I } = q({
95
+ value: S,
96
+ onChange: C,
97
97
  formatOptions: {
98
98
  allowDecimals: x,
99
99
  thousandsSeparator: w,
@@ -101,18 +101,18 @@ const L = i(
101
101
  maxDecimalLength: v,
102
102
  decimalSeparator: y
103
103
  }
104
- }), u = n === "" ? d ?? "" : n, { spanRef: k, inputRef: m } = E({
104
+ }), u = n === "" ? d ?? "" : n, { spanRef: M, inputRef: m } = B({
105
105
  inputValue: u,
106
106
  currencyText: t,
107
107
  size: e
108
- }), R = D(r, m), s = { fontSize: W(
109
- () => F(n, e) + "px",
108
+ }), R = F(r, m), s = { fontSize: W(
109
+ () => D(n, e) + "px",
110
110
  [n, e]
111
111
  ), letterSpacing: "normal" };
112
- return /* @__PURE__ */ z(
112
+ return /* @__PURE__ */ k(
113
113
  "div",
114
114
  {
115
- className: G({ align: h }),
115
+ className: H({ align: h }),
116
116
  onPointerDown: () => {
117
117
  const p = m.current;
118
118
  p && window.requestAnimationFrame(() => {
@@ -124,8 +124,8 @@ const L = i(
124
124
  /* @__PURE__ */ a(
125
125
  "span",
126
126
  {
127
- ref: k,
128
- className: B({ size: e }),
127
+ ref: M,
128
+ className: G({ size: e }),
129
129
  "aria-hidden": "true",
130
130
  style: s,
131
131
  children: u
@@ -140,9 +140,9 @@ const L = i(
140
140
  disabled: A,
141
141
  value: n,
142
142
  placeholder: d,
143
- onChange: N,
144
- onAnimationEnd: () => I(!1),
145
- className: f(L({ size: e, isChanging: j }), o),
143
+ onChange: I,
144
+ onAnimationEnd: () => j(!1),
145
+ className: f(E({ size: e, isChanging: N }), o),
146
146
  ...V,
147
147
  style: s
148
148
  }
@@ -2,9 +2,9 @@ import { jsxs as h, jsx as t } from "react/jsx-runtime";
2
2
  import { cn as p } from "../../../../libs/utils-shared/dist/index.js";
3
3
  import { cva as m } from "class-variance-authority";
4
4
  import { useState as z, useEffect as y } from "react";
5
- import { getAvatarFallbackTextColor as j } from "./resolveAvatarColor.js";
6
- import { useCommonTranslation as A } from "../../../../i18n/useCommonTranslation.js";
7
- import { User as C } from "../../symbols/icons/User.js";
5
+ import { getAvatarFallbackTextColor as N } from "./resolveAvatarColor.js";
6
+ import { useCommonTranslation as j } from "../../../../translations/translations.js";
7
+ import { User as A } from "../../symbols/icons/User.js";
8
8
  const c = {
9
9
  root: m(
10
10
  "relative inline-flex items-center justify-center rounded-full bg-base-transparent-hover align-middle transition-colors",
@@ -36,7 +36,7 @@ const c = {
36
36
  }
37
37
  }
38
38
  })
39
- }, N = {
39
+ }, C = {
40
40
  xs: 12,
41
41
  sm: 16,
42
42
  md: 24,
@@ -49,9 +49,9 @@ const c = {
49
49
  fallbackColor: e
50
50
  }) => {
51
51
  const s = {
52
- color: j(e)
52
+ color: N(e)
53
53
  };
54
- return r ? /* @__PURE__ */ t("span", { className: c.text({ size: o }), style: s, children: r }) : /* @__PURE__ */ t(C, { style: s, size: N[o], "aria-hidden": "true" });
54
+ return r ? /* @__PURE__ */ t("span", { className: c.text({ size: o }), style: s, children: r }) : /* @__PURE__ */ t(A, { style: s, size: C[o], "aria-hidden": "true" });
55
55
  }, q = ({
56
56
  ref: o,
57
57
  className: r,
@@ -64,7 +64,7 @@ const c = {
64
64
  appearance: i,
65
65
  ...v
66
66
  }) => {
67
- const { t: f } = A(), [x, l] = z(!1), d = !e || x, g = s || f("components.avatar.defaultAriaLabel");
67
+ const { t: f } = j(), [x, l] = z(!1), d = !e || x, g = s || f("components.avatar.defaultAriaLabel");
68
68
  return y(() => {
69
69
  l(!1);
70
70
  }, [e]), /* @__PURE__ */ h(
@@ -1,10 +1,10 @@
1
1
  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
- const A = ({
5
- ref: o,
6
- className: s,
7
- src: t,
4
+ const N = ({
5
+ ref: t,
6
+ className: o,
7
+ src: s,
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: o,
24
+ ref: t,
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
- s
29
+ o
30
30
  ),
31
31
  ...b,
32
32
  children: [
33
33
  /* @__PURE__ */ e(
34
34
  m,
35
35
  {
36
- src: t,
36
+ src: s,
37
37
  alt: r,
38
38
  size: a,
39
39
  imgLoading: n,
@@ -48,5 +48,5 @@ const A = ({
48
48
  );
49
49
  };
50
50
  export {
51
- A as AvatarButton
51
+ N as AvatarButton
52
52
  };
@@ -1,7 +1,7 @@
1
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
- import { useCommonTranslation as g } from "../../../../i18n/useCommonTranslation.js";
4
+ import { useCommonTranslation as g } from "../../../../translations/translations.js";
5
5
  import { IconButton as N } from "../IconButton/IconButton.js";
6
6
  import { Close as h } from "../../symbols/icons/Close.js";
7
7
  import { DeleteCircleFill as u } from "../../symbols/icons/DeleteCircleFill.js";
@@ -1,8 +1,8 @@
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";
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";
4
4
  import { BaseButton as b } from "../../internal/BaseButton/BaseButton.js";
5
- const l = d("", {
5
+ const l = e("", {
6
6
  variants: {
7
7
  size: {
8
8
  sm: "px-16 py-10 body-2-semi-bold",
@@ -22,7 +22,7 @@ const l = d("", {
22
22
  size: o,
23
23
  icon: i,
24
24
  ...p
25
- }) => /* @__PURE__ */ e(
25
+ }) => /* @__PURE__ */ n(
26
26
  b,
27
27
  {
28
28
  ref: t,
@@ -30,7 +30,7 @@ const l = d("", {
30
30
  disabled: r,
31
31
  icon: i,
32
32
  loading: s,
33
- className: n(l({ size: o }), "gap-8", m),
33
+ className: d(l({ size: o }), "gap-8", m),
34
34
  ...p,
35
35
  children: a
36
36
  }
@@ -3,8 +3,8 @@ import { createSafeContext as m, DisabledProvider as g, cn as o, getButtonA11yPr
3
3
  import { cva as v } from "class-variance-authority";
4
4
  import { useMemo as h } from "react";
5
5
  import { ChevronUp as N } from "../../symbols/icons/ChevronUp.js";
6
- import { ChevronDown as w } from "../../symbols/icons/ChevronDown.js";
7
- const k = ({
6
+ import { ChevronDown as k } from "../../symbols/icons/ChevronDown.js";
7
+ const w = ({
8
8
  type: r,
9
9
  expanded: t,
10
10
  onClick: a,
@@ -83,7 +83,7 @@ const k = ({
83
83
  ...p
84
84
  }) => {
85
85
  const u = h(
86
- () => k({
86
+ () => w({
87
87
  type: a,
88
88
  expanded: e,
89
89
  onClick: d,
@@ -143,7 +143,7 @@ const k = ({
143
143
  t,
144
144
  l && /* @__PURE__ */ f(b, { children: [
145
145
  d && /* @__PURE__ */ n(N, { className: "text-muted", size: 20 }),
146
- !d && /* @__PURE__ */ n(w, { className: "text-muted", size: 20 })
146
+ !d && /* @__PURE__ */ n(k, { className: "text-muted", size: 20 })
147
147
  ] })
148
148
  ]
149
149
  }
@@ -184,7 +184,7 @@ const k = ({
184
184
  children: t
185
185
  }
186
186
  );
187
- }, L = ({
187
+ }, I = ({
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
- }, I = ({
210
+ }, J = ({
211
211
  ref: r,
212
212
  children: t,
213
213
  className: a,
@@ -230,7 +230,7 @@ const k = ({
230
230
  children: t
231
231
  }
232
232
  );
233
- }, M = ({
233
+ }, L = ({
234
234
  ref: r,
235
235
  children: t,
236
236
  className: a,
@@ -253,7 +253,7 @@ const k = ({
253
253
  children: t
254
254
  }
255
255
  );
256
- }, S = ({
256
+ }, M = ({
257
257
  ref: r,
258
258
  children: t,
259
259
  className: a,
@@ -289,7 +289,7 @@ const k = ({
289
289
  appearance: "plain"
290
290
  }
291
291
  }
292
- ), U = ({
292
+ ), S = ({
293
293
  ref: r,
294
294
  children: t,
295
295
  className: a,
@@ -322,7 +322,7 @@ const k = ({
322
322
  ) })
323
323
  }
324
324
  );
325
- }, Z = ({
325
+ }, U = ({
326
326
  ref: r,
327
327
  children: t,
328
328
  className: a,
@@ -339,13 +339,13 @@ const k = ({
339
339
  export {
340
340
  P as Card,
341
341
  B as CardContent,
342
- M as CardContentDescription,
343
- L as CardContentRow,
344
- I as CardContentTitle,
345
- U as CardFooter,
346
- Z as CardFooterActions,
342
+ L as CardContentDescription,
343
+ I as CardContentRow,
344
+ J as CardContentTitle,
345
+ S as CardFooter,
346
+ U as CardFooterActions,
347
347
  T as CardHeader,
348
348
  z as CardLeading,
349
- S as CardTrailing,
350
- k as resolveCardInnerContext
349
+ M as CardTrailing,
350
+ w as resolveCardInnerContext
351
351
  };
@@ -19,7 +19,7 @@ export declare const ContentBannerDescription: ({ ref, children, className, ...p
19
19
  * import { ContentBanner, ContentBannerContent, ContentBannerTitle, ContentBannerDescription } from '@ledgerhq/lumen-ui-react';
20
20
  *
21
21
  * <ContentBanner onClose={() => {}}>
22
- * <Spot appearance="icon" icon={Wallet} size={48} />
22
+ * <Spot icon={Wallet} size={48} />
23
23
  * <ContentBannerContent>
24
24
  * <ContentBannerTitle>Title</ContentBannerTitle>
25
25
  * <ContentBannerDescription>Description text</ContentBannerDescription>
@@ -1,6 +1,6 @@
1
1
  import { jsx as r, jsxs as c } from "react/jsx-runtime";
2
2
  import { cn as a } from "../../../../libs/utils-shared/dist/index.js";
3
- import { useCommonTranslation as m } from "../../../../i18n/useCommonTranslation.js";
3
+ import { useCommonTranslation as m } from "../../../../translations/translations.js";
4
4
  import { Close as p } from "../../symbols/icons/Close.js";
5
5
  import { InteractiveIcon as d } from "../InteractiveIcon/InteractiveIcon.js";
6
6
  const C = ({