@ledgerhq/lumen-ui-react 0.1.61 → 0.1.63

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 (169) hide show
  1. package/dist/index.d.ts +1 -1
  2. package/dist/index.d.ts.map +1 -1
  3. package/dist/index.js +80 -63
  4. package/dist/lib/Components/core/AddressInput/AddressInput.js +1 -1
  5. package/dist/lib/Components/core/AmountDisplay/AmountDisplay.js +1 -1
  6. package/dist/lib/Components/core/AmountInput/AmountInput.js +17 -17
  7. package/dist/lib/Components/core/AmountInput/useAmountInputValue/useAmountInputValue.js +3 -3
  8. package/dist/lib/Components/core/Avatar/Avatar.js +7 -7
  9. package/dist/lib/Components/core/Avatar/resolveAvatarColor.js +2 -2
  10. package/dist/lib/Components/core/AvatarButton/AvatarButton.js +2 -2
  11. package/dist/lib/Components/core/Banner/Banner.js +9 -9
  12. package/dist/lib/Components/core/Button/Button.js +4 -4
  13. package/dist/lib/Components/core/Card/Card.js +15 -15
  14. package/dist/lib/Components/core/CardButton/CardButton.d.ts +2 -0
  15. package/dist/lib/Components/core/CardButton/CardButton.d.ts.map +1 -1
  16. package/dist/lib/Components/core/CardButton/CardButton.js +4 -4
  17. package/dist/lib/Components/core/ContentBanner/ContentBanner.js +1 -1
  18. package/dist/lib/Components/core/DataTable/DataTable.js +42 -42
  19. package/dist/lib/Components/core/Dialog/DialogHeader/DialogHeader.js +1 -1
  20. package/dist/lib/Components/core/Divider/Divider.js +4 -4
  21. package/dist/lib/Components/core/DotCount/DotCount.js +3 -3
  22. package/dist/lib/Components/core/DotIcon/DotIcon.js +11 -11
  23. package/dist/lib/Components/core/DotSymbol/DotSymbol.js +7 -7
  24. package/dist/lib/Components/core/Link/Link.d.ts +1 -1
  25. package/dist/lib/Components/core/Link/Link.d.ts.map +1 -1
  26. package/dist/lib/Components/core/Link/Link.js +25 -23
  27. package/dist/lib/Components/core/Link/types.d.ts +1 -1
  28. package/dist/lib/Components/core/Link/types.d.ts.map +1 -1
  29. package/dist/lib/Components/core/ListItem/ListItem.js +8 -8
  30. package/dist/lib/Components/core/MediaBanner/MediaBanner.js +4 -4
  31. package/dist/lib/Components/core/MediaCard/MediaCard.js +1 -1
  32. package/dist/lib/Components/core/MediaImage/MediaImage.js +5 -5
  33. package/dist/lib/Components/core/Menu/Menu.js +25 -25
  34. package/dist/lib/Components/core/NavBar/CoinCapsule.js +4 -4
  35. package/dist/lib/Components/core/NavBar/NavBar.js +3 -3
  36. package/dist/lib/Components/core/PageIndicator/PageIndicator.js +5 -5
  37. package/dist/lib/Components/core/Pagination/Pagination.js +1 -1
  38. package/dist/lib/Components/core/Popover/Popover.js +13 -13
  39. package/dist/lib/Components/core/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  40. package/dist/lib/Components/core/SegmentedControl/SegmentedControl.js +80 -84
  41. package/dist/lib/Components/core/Select/Select.d.ts.map +1 -1
  42. package/dist/lib/Components/core/Select/Select.js +108 -107
  43. package/dist/lib/Components/core/SideBar/SideBar.js +33 -33
  44. package/dist/lib/Components/core/Spinner/Spinner.js +1 -1
  45. package/dist/lib/Components/core/Spot/Spot.js +13 -13
  46. package/dist/lib/Components/core/Stepper/Stepper.d.ts +4 -3
  47. package/dist/lib/Components/core/Stepper/Stepper.d.ts.map +1 -1
  48. package/dist/lib/Components/core/Stepper/Stepper.js +137 -62
  49. package/dist/lib/Components/core/Stepper/types.d.ts +12 -2
  50. package/dist/lib/Components/core/Stepper/types.d.ts.map +1 -1
  51. package/dist/lib/Components/core/Subheader/Subheader.d.ts.map +1 -1
  52. package/dist/lib/Components/core/Subheader/Subheader.js +33 -29
  53. package/dist/lib/Components/core/Table/Table.js +10 -10
  54. package/dist/lib/Components/core/ThemeProvider/ThemeProvider.js +6 -6
  55. package/dist/lib/Components/core/ThemeProvider/ThemeProvider.types.d.ts +1 -1
  56. package/dist/lib/Components/core/ThemeProvider/ThemeProvider.types.d.ts.map +1 -1
  57. package/dist/lib/Components/core/Timeline/Timeline.d.ts +54 -0
  58. package/dist/lib/Components/core/Timeline/Timeline.d.ts.map +1 -0
  59. package/dist/lib/Components/core/Timeline/Timeline.js +228 -0
  60. package/dist/lib/Components/core/Timeline/index.d.ts +3 -0
  61. package/dist/lib/Components/core/Timeline/index.d.ts.map +1 -0
  62. package/dist/lib/Components/core/Timeline/types.d.ts +148 -0
  63. package/dist/lib/Components/core/Timeline/types.d.ts.map +1 -0
  64. package/dist/lib/Components/core/Toast/Toast.d.ts +25 -0
  65. package/dist/lib/Components/core/Toast/Toast.d.ts.map +1 -0
  66. package/dist/lib/Components/core/Toast/Toast.js +68 -0
  67. package/dist/lib/Components/core/Toast/Toaster.d.ts +27 -0
  68. package/dist/lib/Components/core/Toast/Toaster.d.ts.map +1 -0
  69. package/dist/lib/Components/core/Toast/Toaster.js +92 -0
  70. package/dist/lib/Components/core/Toast/hooks/useToastCollapse.d.ts +15 -0
  71. package/dist/lib/Components/core/Toast/hooks/useToastCollapse.d.ts.map +1 -0
  72. package/dist/lib/Components/core/Toast/hooks/useToastCollapse.js +15 -0
  73. package/dist/lib/Components/core/Toast/hooks/useToastViewportPause.d.ts +24 -0
  74. package/dist/lib/Components/core/Toast/hooks/useToastViewportPause.d.ts.map +1 -0
  75. package/dist/lib/Components/core/Toast/hooks/useToastViewportPause.js +27 -0
  76. package/dist/lib/Components/core/Toast/index.d.ts +5 -0
  77. package/dist/lib/Components/core/Toast/index.d.ts.map +1 -0
  78. package/dist/lib/Components/core/Toast/styles.d.ts +20 -0
  79. package/dist/lib/Components/core/Toast/styles.d.ts.map +1 -0
  80. package/dist/lib/Components/core/Toast/styles.js +77 -0
  81. package/dist/lib/Components/core/Toast/types.d.ts +81 -0
  82. package/dist/lib/Components/core/Toast/types.d.ts.map +1 -0
  83. package/dist/lib/Components/core/Trend/Trend.js +3 -3
  84. package/dist/lib/Components/core/index.d.ts +2 -0
  85. package/dist/lib/Components/core/index.d.ts.map +1 -1
  86. package/dist/lib/Components/internal/BaseButton/BaseButton.js +7 -7
  87. package/dist/lib/Components/internal/BaseInput/BaseInput.js +22 -22
  88. package/dist/lib/Components/internal/BaseInput/BaseInputMultiline.js +12 -12
  89. package/dist/lib/Components/internal/BaseInput/useAutosizeTextarea/useAutosizeTextarea.js +4 -4
  90. package/dist/lib/Components/internal/BaseTag/BaseTag.js +4 -4
  91. package/dist/lib/Components/symbols/Icon/createIcon.js +3 -3
  92. package/dist/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
  93. package/dist/lib/Components/visualization/CartesianChart/CartesianChart.js +36 -35
  94. package/dist/lib/Components/visualization/CartesianChart/types.d.ts +1 -1
  95. package/dist/lib/Components/visualization/DonutChart/DonutChart.d.ts.map +1 -1
  96. package/dist/lib/Components/visualization/DonutChart/DonutChart.js +31 -31
  97. package/dist/lib/Components/visualization/DonutChart/DonutChartCenter.js +2 -2
  98. package/dist/lib/Components/visualization/DonutChart/DonutRing.d.ts.map +1 -1
  99. package/dist/lib/Components/visualization/DonutChart/DonutRing.js +13 -12
  100. package/dist/lib/Components/visualization/DonutChart/types.d.ts +1 -1
  101. package/dist/lib/Components/visualization/Legend/Legend.d.ts +1 -1
  102. package/dist/lib/Components/visualization/Legend/Legend.d.ts.map +1 -1
  103. package/dist/lib/Components/visualization/Legend/Legend.js +6 -10
  104. package/dist/lib/Components/visualization/Legend/types.d.ts +2 -2
  105. package/dist/lib/Components/visualization/LineChart/LineChart.d.ts +1 -1
  106. package/dist/lib/Components/visualization/LineChart/LineChart.d.ts.map +1 -1
  107. package/dist/lib/Components/visualization/LineChart/LineChart.js +90 -84
  108. package/dist/lib/Components/visualization/LineChart/types.d.ts +1 -1
  109. package/dist/lib/Components/visualization/LineChart/utils.d.ts +2 -1
  110. package/dist/lib/Components/visualization/LineChart/utils.d.ts.map +1 -1
  111. package/dist/lib/Components/visualization/LineChart/utils.js +23 -22
  112. package/dist/lib/Components/visualization/config.d.ts +0 -3
  113. package/dist/lib/Components/visualization/config.d.ts.map +1 -1
  114. package/dist/lib/Components/visualization/config.js +3 -6
  115. package/dist/libs/utils-shared/dist/index.js +353 -140
  116. package/dist/package.json +4 -6
  117. package/dist/translations/index.d.ts +3 -0
  118. package/dist/translations/index.d.ts.map +1 -0
  119. package/dist/{i18n → translations}/languages.d.ts +0 -5
  120. package/dist/translations/languages.d.ts.map +1 -0
  121. package/dist/{i18n → translations}/languages.js +1 -2
  122. package/dist/{i18n → translations}/locales/en.json.d.ts +11 -0
  123. package/dist/{i18n → translations}/locales/en.json.js +2 -2
  124. package/dist/translations/translations.d.ts +727 -0
  125. package/dist/translations/translations.d.ts.map +1 -0
  126. package/dist/translations/translations.js +22 -0
  127. package/package.json +4 -6
  128. package/dist/_virtual/dynamic-import-helper.js +0 -9
  129. package/dist/i18n/I18nProvider.d.ts +0 -8
  130. package/dist/i18n/I18nProvider.d.ts.map +0 -1
  131. package/dist/i18n/I18nProvider.js +0 -14
  132. package/dist/i18n/i18n.d.ts +0 -12
  133. package/dist/i18n/i18n.d.ts.map +0 -1
  134. package/dist/i18n/i18n.js +0 -42
  135. package/dist/i18n/index.d.ts +0 -4
  136. package/dist/i18n/index.d.ts.map +0 -1
  137. package/dist/i18n/languages.d.ts.map +0 -1
  138. package/dist/i18n/useCommonTranslation.d.ts +0 -2
  139. package/dist/i18n/useCommonTranslation.d.ts.map +0 -1
  140. package/dist/i18n/useCommonTranslation.js +0 -6
  141. package/dist/node_modules/i18next/dist/esm/i18next.js +0 -1479
  142. package/dist/node_modules/react-i18next/dist/es/I18nextProvider.js +0 -19
  143. package/dist/node_modules/react-i18next/dist/es/context.js +0 -17
  144. package/dist/node_modules/react-i18next/dist/es/defaults.js +0 -22
  145. package/dist/node_modules/react-i18next/dist/es/i18nInstance.js +0 -8
  146. package/dist/node_modules/react-i18next/dist/es/initReactI18next.js +0 -11
  147. package/dist/node_modules/react-i18next/dist/es/unescape.js +0 -25
  148. package/dist/node_modules/react-i18next/dist/es/useTranslation.js +0 -65
  149. package/dist/node_modules/react-i18next/dist/es/utils.js +0 -57
  150. /package/dist/{i18n → translations}/locales/de.json.d.ts +0 -0
  151. /package/dist/{i18n → translations}/locales/de.json.js +0 -0
  152. /package/dist/{i18n → translations}/locales/es.json.d.ts +0 -0
  153. /package/dist/{i18n → translations}/locales/es.json.js +0 -0
  154. /package/dist/{i18n → translations}/locales/fr.json.d.ts +0 -0
  155. /package/dist/{i18n → translations}/locales/fr.json.js +0 -0
  156. /package/dist/{i18n → translations}/locales/ja.json.d.ts +0 -0
  157. /package/dist/{i18n → translations}/locales/ja.json.js +0 -0
  158. /package/dist/{i18n → translations}/locales/ko.json.d.ts +0 -0
  159. /package/dist/{i18n → translations}/locales/ko.json.js +0 -0
  160. /package/dist/{i18n → translations}/locales/pt.json.d.ts +0 -0
  161. /package/dist/{i18n → translations}/locales/pt.json.js +0 -0
  162. /package/dist/{i18n → translations}/locales/ru.json.d.ts +0 -0
  163. /package/dist/{i18n → translations}/locales/ru.json.js +0 -0
  164. /package/dist/{i18n → translations}/locales/th.json.d.ts +0 -0
  165. /package/dist/{i18n → translations}/locales/th.json.js +0 -0
  166. /package/dist/{i18n → translations}/locales/tr.json.d.ts +0 -0
  167. /package/dist/{i18n → translations}/locales/tr.json.js +0 -0
  168. /package/dist/{i18n → translations}/locales/zh.json.d.ts +0 -0
  169. /package/dist/{i18n → translations}/locales/zh.json.js +0 -0
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,14 +1,14 @@
1
- import { Languages as t } from "./i18n/languages.js";
2
- import { useControllableState as a } from "./utils/useControllableState/useControllableState.js";
1
+ import { Languages as t } from "./translations/languages.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
  };
@@ -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 O = 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",
@@ -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",
@@ -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",
@@ -88,10 +88,10 @@ const O = i(
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({
94
+ }), { inputValue: n, isChanging: N, setIsChanging: j, handleChange: I } = q({
95
95
  value: S,
96
96
  onChange: C,
97
97
  formatOptions: {
@@ -101,15 +101,15 @@ 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: M, inputRef: m } = B({
105
105
  inputValue: u,
106
106
  currencyText: t,
107
107
  size: e
108
- }), k = 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
115
  className: H({ align: h }),
@@ -124,7 +124,7 @@ const O = i(
124
124
  /* @__PURE__ */ a(
125
125
  "span",
126
126
  {
127
- ref: R,
127
+ ref: M,
128
128
  className: G({ size: e }),
129
129
  "aria-hidden": "true",
130
130
  style: s,
@@ -134,15 +134,15 @@ 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,
141
141
  value: n,
142
142
  placeholder: d,
143
- onChange: N,
144
- onAnimationEnd: () => I(!1),
145
- className: f(O({ 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
  }
@@ -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;
@@ -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(
@@ -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
  };
@@ -1,7 +1,7 @@
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 = ({
4
+ const N = ({
5
5
  ref: t,
6
6
  className: o,
7
7
  src: s,
@@ -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
- 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
- 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";
@@ -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
  ] })
@@ -17,8 +17,8 @@ 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
@@ -27,12 +27,12 @@ const l = e("", {
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
33
  className: d(l({ size: o }), "gap-8", m),
34
34
  ...p,
35
- children: r
35
+ children: a
36
36
  }
37
37
  );
38
38
  export {