@ledgerhq/lumen-ui-rnative 0.1.69 → 0.1.70

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 (310) hide show
  1. package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js +7 -0
  2. package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js.map +1 -1
  3. package/dist/module/lib/Components/animations/Spin/Spin.stories.js +7 -0
  4. package/dist/module/lib/Components/animations/Spin/Spin.stories.js.map +1 -1
  5. package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js +129 -136
  6. package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js.map +1 -1
  7. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js +12 -6
  8. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js.map +1 -1
  9. package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js +154 -176
  10. package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js.map +1 -1
  11. package/dist/module/lib/Components/core/Avatar/Avatar.stories.js +54 -47
  12. package/dist/module/lib/Components/core/Avatar/Avatar.stories.js.map +1 -1
  13. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js +2 -9
  14. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js.map +1 -1
  15. package/dist/module/lib/Components/core/Banner/Banner.stories.js +48 -87
  16. package/dist/module/lib/Components/core/Banner/Banner.stories.js.map +1 -1
  17. package/dist/module/lib/Components/core/Button/Button.figma.js +2 -1
  18. package/dist/module/lib/Components/core/Button/Button.figma.js.map +1 -1
  19. package/dist/module/lib/Components/core/Button/Button.mdx +2 -1
  20. package/dist/module/lib/Components/core/Button/Button.stories.js +34 -10
  21. package/dist/module/lib/Components/core/Button/Button.stories.js.map +1 -1
  22. package/dist/module/lib/Components/core/Card/Card.mdx +6 -0
  23. package/dist/module/lib/Components/core/Card/Card.stories.js +63 -24
  24. package/dist/module/lib/Components/core/Card/Card.stories.js.map +1 -1
  25. package/dist/module/lib/Components/core/CardButton/CardButton.stories.js +27 -85
  26. package/dist/module/lib/Components/core/CardButton/CardButton.stories.js.map +1 -1
  27. package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js +1 -1
  28. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +8 -18
  29. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +1 -1
  30. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js +28 -0
  31. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js.map +1 -1
  32. package/dist/module/lib/Components/core/Divider/Divider.stories.js +7 -0
  33. package/dist/module/lib/Components/core/Divider/Divider.stories.js.map +1 -1
  34. package/dist/module/lib/Components/core/DotCount/DotCount.stories.js +28 -0
  35. package/dist/module/lib/Components/core/DotCount/DotCount.stories.js.map +1 -1
  36. package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js +12 -0
  37. package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js.map +1 -1
  38. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js +21 -0
  39. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js.map +1 -1
  40. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +21 -0
  41. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +1 -1
  42. package/dist/module/lib/Components/core/IconButton/IconButton.stories.js +17 -0
  43. package/dist/module/lib/Components/core/IconButton/IconButton.stories.js.map +1 -1
  44. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js +15 -21
  45. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js.map +1 -1
  46. package/dist/module/lib/Components/core/Link/Link.js +1 -1
  47. package/dist/module/lib/Components/core/Link/Link.mdx +32 -5
  48. package/dist/module/lib/Components/core/Link/Link.stories.js +35 -139
  49. package/dist/module/lib/Components/core/Link/Link.stories.js.map +1 -1
  50. package/dist/module/lib/Components/core/Link/Link.test.js +1 -1
  51. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +2 -41
  52. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +1 -1
  53. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js +19 -12
  54. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js.map +1 -1
  55. package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js +2 -13
  56. package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js.map +1 -1
  57. package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js +24 -50
  58. package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js.map +1 -1
  59. package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js +1 -1
  60. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +6 -0
  61. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +96 -22
  62. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js.map +1 -1
  63. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js +9 -0
  64. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js.map +1 -1
  65. package/dist/module/lib/Components/core/MenuList/MenuList.mdx +2 -2
  66. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +17 -1
  67. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +1 -1
  68. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js +1 -1
  69. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js.map +1 -1
  70. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js +56 -50
  71. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js.map +1 -1
  72. package/dist/module/lib/Components/core/Pagination/Pagination.figma.js +22 -0
  73. package/dist/module/lib/Components/core/Pagination/Pagination.figma.js.map +1 -0
  74. package/dist/module/lib/Components/core/Pagination/Pagination.js +182 -0
  75. package/dist/module/lib/Components/core/Pagination/Pagination.js.map +1 -0
  76. package/dist/module/lib/Components/core/Pagination/Pagination.mdx +108 -0
  77. package/dist/module/lib/Components/core/Pagination/Pagination.stories.js +121 -0
  78. package/dist/module/lib/Components/core/Pagination/Pagination.stories.js.map +1 -0
  79. package/dist/module/lib/Components/core/Pagination/Pagination.test.js +338 -0
  80. package/dist/module/lib/Components/core/Pagination/Pagination.test.js.map +1 -0
  81. package/dist/module/lib/Components/core/Pagination/index.js +4 -0
  82. package/dist/module/lib/Components/core/Pagination/index.js.map +1 -0
  83. package/dist/module/lib/Components/core/Pagination/types.js +4 -0
  84. package/dist/module/lib/Components/core/Pagination/types.js.map +1 -0
  85. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js +75 -67
  86. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js.map +1 -1
  87. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js +12 -0
  88. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js.map +1 -1
  89. package/dist/module/lib/Components/core/SelectList/SelectList.mdx +3 -1
  90. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +3 -3
  91. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +1 -1
  92. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js +7 -0
  93. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js.map +1 -1
  94. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js +7 -0
  95. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js.map +1 -1
  96. package/dist/module/lib/Components/core/Spot/Spot.stories.js +20 -1
  97. package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +1 -1
  98. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js +7 -0
  99. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js.map +1 -1
  100. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js +11 -1
  101. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js.map +1 -1
  102. package/dist/module/lib/Components/core/Switch/Switch.stories.js +21 -1
  103. package/dist/module/lib/Components/core/Switch/Switch.stories.js.map +1 -1
  104. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js +17 -5
  105. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js.map +1 -1
  106. package/dist/module/lib/Components/core/Tag/Tag.stories.js +28 -0
  107. package/dist/module/lib/Components/core/Tag/Tag.stories.js.map +1 -1
  108. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js +159 -196
  109. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js.map +1 -1
  110. package/dist/module/lib/Components/core/TextInput/TextInput.test.js +2 -2
  111. package/dist/module/lib/Components/core/TextInput/TextInput.test.js.map +1 -1
  112. package/dist/module/lib/Components/core/Tile/Tile.stories.js +2 -35
  113. package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +1 -1
  114. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js +18 -8
  115. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js.map +1 -1
  116. package/dist/module/lib/Components/core/Timeline/Timeline.js +81 -67
  117. package/dist/module/lib/Components/core/Timeline/Timeline.js.map +1 -1
  118. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js +46 -16
  119. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +1 -1
  120. package/dist/module/lib/Components/core/Timeline/Timeline.test.js +8 -5
  121. package/dist/module/lib/Components/core/Timeline/Timeline.test.js.map +1 -1
  122. package/dist/module/lib/Components/core/Toast/Toast.mdx +1 -1
  123. package/dist/module/lib/Components/core/Toast/Toast.stories.js +61 -58
  124. package/dist/module/lib/Components/core/Toast/Toast.stories.js.map +1 -1
  125. package/dist/module/lib/Components/core/Toast/Toaster.test.js +1 -1
  126. package/dist/module/lib/Components/core/Toast/Toaster.test.js.map +1 -1
  127. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js +31 -2
  128. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js.map +1 -1
  129. package/dist/module/lib/Components/core/Trend/Trend.stories.js +9 -0
  130. package/dist/module/lib/Components/core/Trend/Trend.stories.js.map +1 -1
  131. package/dist/module/lib/Components/core/index.js +1 -0
  132. package/dist/module/lib/Components/core/index.js.map +1 -1
  133. package/dist/module/lib/Components/internal/BaseButton/BaseButton.js +5 -2
  134. package/dist/module/lib/Components/internal/BaseButton/BaseButton.js.map +1 -1
  135. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js +1 -1
  136. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js.map +1 -1
  137. package/dist/module/lib/Components/primitives/Box/Box.stories.js +1 -18
  138. package/dist/module/lib/Components/primitives/Box/Box.stories.js.map +1 -1
  139. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js +36 -0
  140. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js.map +1 -1
  141. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js +1 -1
  142. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js +1 -19
  143. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js.map +1 -1
  144. package/dist/module/lib/Components/primitives/Text/Text.stories.js +1 -12
  145. package/dist/module/lib/Components/primitives/Text/Text.stories.js.map +1 -1
  146. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js +128 -85
  147. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js.map +1 -1
  148. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +1 -1
  149. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +1 -1
  150. package/dist/module/lib/Components/visualization/Line/utils.js +1 -1
  151. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js +69 -0
  152. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js.map +1 -1
  153. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js +1 -1
  154. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js.map +1 -1
  155. package/dist/module/lib/Components/visualization/Point/Point.stories.js +12 -0
  156. package/dist/module/lib/Components/visualization/Point/Point.stories.js.map +1 -1
  157. package/dist/module/lib/Components/visualization/Point/Point.test.js +1 -1
  158. package/dist/module/lib/Components/visualization/Point/usePointGeometry.js +1 -1
  159. package/dist/module/lib/Components/visualization/Point/utils.js +1 -1
  160. package/dist/module/lib/Components/visualization/Point/utils.test.js +2 -2
  161. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js +23 -0
  162. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js.map +1 -1
  163. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.js +3 -3
  164. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.js.map +1 -1
  165. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js +35 -0
  166. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js.map +1 -1
  167. package/dist/module/translations/locales/de.json +7 -0
  168. package/dist/module/translations/locales/en.json +7 -0
  169. package/dist/module/translations/locales/es.json +7 -0
  170. package/dist/module/translations/locales/fr.json +7 -0
  171. package/dist/module/translations/locales/ja.json +7 -0
  172. package/dist/module/translations/locales/ko.json +7 -0
  173. package/dist/module/translations/locales/pt.json +7 -0
  174. package/dist/module/translations/locales/ru.json +7 -0
  175. package/dist/module/translations/locales/th.json +7 -0
  176. package/dist/module/translations/locales/tr.json +7 -0
  177. package/dist/module/translations/locales/zh.json +7 -0
  178. package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts +15 -0
  179. package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts.map +1 -0
  180. package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts +3 -0
  181. package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts.map +1 -0
  182. package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts +29 -0
  183. package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts.map +1 -0
  184. package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts +2 -2
  185. package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts.map +1 -1
  186. package/dist/typescript/src/lib/Components/core/index.d.ts +1 -0
  187. package/dist/typescript/src/lib/Components/core/index.d.ts.map +1 -1
  188. package/dist/typescript/src/lib/Components/internal/BaseButton/BaseButton.d.ts.map +1 -1
  189. package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts +1 -1
  190. package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts.map +1 -1
  191. package/dist/typescript/src/lib/Components/internal/BaseInput/types.d.ts +1 -1
  192. package/dist/typescript/src/lib/Components/visualization/Axis/types.d.ts +1 -1
  193. package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +1 -1
  194. package/dist/typescript/src/lib/Components/visualization/Line/utils.d.ts +1 -1
  195. package/dist/typescript/src/lib/Components/visualization/LineChart/types.d.ts +3 -3
  196. package/dist/typescript/src/lib/Components/visualization/Point/types.d.ts +3 -3
  197. package/dist/typescript/src/lib/Components/visualization/Point/usePointGeometry.d.ts +1 -1
  198. package/dist/typescript/src/lib/Components/visualization/Point/utils.d.ts +1 -1
  199. package/dist/typescript/src/translations/translations.d.ts +84 -0
  200. package/dist/typescript/src/translations/translations.d.ts.map +1 -1
  201. package/package.json +8 -8
  202. package/src/lib/Components/animations/Pulse/Pulse.stories.tsx +1 -0
  203. package/src/lib/Components/animations/Spin/Spin.stories.tsx +1 -0
  204. package/src/lib/Components/core/AddressInput/AddressInput.stories.tsx +168 -123
  205. package/src/lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx +7 -7
  206. package/src/lib/Components/core/AmountInput/AmountInput.stories.tsx +162 -158
  207. package/src/lib/Components/core/Avatar/Avatar.stories.tsx +37 -46
  208. package/src/lib/Components/core/AvatarButton/AvatarButton.stories.tsx +1 -8
  209. package/src/lib/Components/core/Banner/Banner.stories.tsx +8 -95
  210. package/src/lib/Components/core/Button/Button.figma.tsx +1 -0
  211. package/src/lib/Components/core/Button/Button.mdx +2 -1
  212. package/src/lib/Components/core/Button/Button.stories.tsx +13 -14
  213. package/src/lib/Components/core/Card/Card.mdx +6 -0
  214. package/src/lib/Components/core/Card/Card.stories.tsx +31 -27
  215. package/src/lib/Components/core/CardButton/CardButton.stories.tsx +14 -90
  216. package/src/lib/Components/core/Checkbox/Checkbox.stories.tsx +1 -1
  217. package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +1 -17
  218. package/src/lib/Components/core/DescriptionItem/DescriptionItem.stories.tsx +4 -0
  219. package/src/lib/Components/core/Divider/Divider.stories.tsx +1 -0
  220. package/src/lib/Components/core/DotCount/DotCount.stories.tsx +4 -0
  221. package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +8 -0
  222. package/src/lib/Components/core/DotIndicator/DotIndicator.stories.tsx +3 -0
  223. package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +3 -0
  224. package/src/lib/Components/core/IconButton/IconButton.stories.tsx +9 -0
  225. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.tsx +16 -23
  226. package/src/lib/Components/core/Link/Link.mdx +32 -5
  227. package/src/lib/Components/core/Link/Link.stories.tsx +20 -146
  228. package/src/lib/Components/core/Link/Link.test.tsx +1 -1
  229. package/src/lib/Components/core/Link/Link.tsx +1 -1
  230. package/src/lib/Components/core/ListItem/ListItem.stories.tsx +0 -39
  231. package/src/lib/Components/core/MediaBanner/MediaBanner.stories.tsx +3 -14
  232. package/src/lib/Components/core/MediaButton/MediaButton.stories.tsx +1 -12
  233. package/src/lib/Components/core/MediaCard/MediaCard.stories.tsx +10 -53
  234. package/src/lib/Components/core/MediaImage/MediaImage.stories.tsx +1 -1
  235. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +6 -0
  236. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +47 -15
  237. package/src/lib/Components/core/MediaTag/MediaTag.stories.tsx +3 -0
  238. package/src/lib/Components/core/MenuList/MenuList.mdx +2 -2
  239. package/src/lib/Components/core/MenuList/MenuList.stories.tsx +13 -1
  240. package/src/lib/Components/core/PageIndicator/PageIndicator.figma.tsx +1 -1
  241. package/src/lib/Components/core/PageIndicator/PageIndicator.stories.tsx +45 -42
  242. package/src/lib/Components/core/Pagination/Pagination.figma.tsx +25 -0
  243. package/src/lib/Components/core/Pagination/Pagination.mdx +108 -0
  244. package/src/lib/Components/core/Pagination/Pagination.stories.tsx +90 -0
  245. package/src/lib/Components/core/Pagination/Pagination.test.tsx +346 -0
  246. package/src/lib/Components/core/Pagination/Pagination.tsx +200 -0
  247. package/src/lib/Components/core/Pagination/index.ts +2 -0
  248. package/src/lib/Components/core/Pagination/types.ts +29 -0
  249. package/src/lib/Components/core/SearchInput/SearchInput.stories.tsx +91 -66
  250. package/src/lib/Components/core/SegmentedControl/SegmentedControl.stories.tsx +2 -0
  251. package/src/lib/Components/core/SelectList/SelectList.mdx +3 -1
  252. package/src/lib/Components/core/SelectList/SelectList.stories.tsx +3 -3
  253. package/src/lib/Components/core/Skeleton/Skeleton.stories.tsx +1 -0
  254. package/src/lib/Components/core/Spinner/Spinner.stories.tsx +1 -0
  255. package/src/lib/Components/core/Spot/Spot.stories.tsx +10 -1
  256. package/src/lib/Components/core/Stepper/Stepper.stories.tsx +1 -0
  257. package/src/lib/Components/core/Subheader/Subheader.stories.tsx +5 -2
  258. package/src/lib/Components/core/Switch/Switch.stories.tsx +17 -1
  259. package/src/lib/Components/core/TabBar/TabBar.stories.tsx +15 -5
  260. package/src/lib/Components/core/Tag/Tag.stories.tsx +4 -0
  261. package/src/lib/Components/core/TextInput/TextInput.stories.tsx +186 -174
  262. package/src/lib/Components/core/TextInput/TextInput.test.tsx +2 -2
  263. package/src/lib/Components/core/Tile/Tile.stories.tsx +0 -33
  264. package/src/lib/Components/core/TileButton/TileButton.stories.tsx +9 -7
  265. package/src/lib/Components/core/Timeline/Timeline.stories.tsx +20 -1
  266. package/src/lib/Components/core/Timeline/Timeline.test.tsx +12 -8
  267. package/src/lib/Components/core/Timeline/Timeline.tsx +79 -75
  268. package/src/lib/Components/core/Toast/Toast.mdx +1 -1
  269. package/src/lib/Components/core/Toast/Toast.stories.tsx +55 -66
  270. package/src/lib/Components/core/Toast/Toaster.test.tsx +1 -1
  271. package/src/lib/Components/core/Tooltip/Tooltip.stories.tsx +7 -3
  272. package/src/lib/Components/core/Trend/Trend.stories.tsx +3 -0
  273. package/src/lib/Components/core/index.ts +1 -0
  274. package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +1 -0
  275. package/src/lib/Components/internal/BaseButton/BaseButton.tsx +3 -0
  276. package/src/lib/Components/internal/BaseButton/types.ts +2 -1
  277. package/src/lib/Components/internal/BaseInput/types.ts +1 -1
  278. package/src/lib/Components/primitives/Box/Box.stories.tsx +1 -18
  279. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +12 -0
  280. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.tsx +1 -1
  281. package/src/lib/Components/primitives/Pressable/Pressable.stories.tsx +0 -18
  282. package/src/lib/Components/primitives/Text/Text.stories.tsx +1 -12
  283. package/src/lib/Components/symbols/Icon/Icon.stories.tsx +133 -94
  284. package/src/lib/Components/visualization/Axis/types.ts +1 -1
  285. package/src/lib/Components/visualization/CartesianChart/types.ts +1 -1
  286. package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +1 -1
  287. package/src/lib/Components/visualization/Line/utils.ts +1 -1
  288. package/src/lib/Components/visualization/LineChart/LineChart.stories.tsx +15 -0
  289. package/src/lib/Components/visualization/LineChart/LineChart.test.tsx +1 -1
  290. package/src/lib/Components/visualization/LineChart/types.ts +3 -3
  291. package/src/lib/Components/visualization/Point/Point.stories.tsx +2 -0
  292. package/src/lib/Components/visualization/Point/Point.test.tsx +1 -1
  293. package/src/lib/Components/visualization/Point/types.ts +3 -3
  294. package/src/lib/Components/visualization/Point/usePointGeometry.ts +1 -1
  295. package/src/lib/Components/visualization/Point/utils.test.ts +2 -2
  296. package/src/lib/Components/visualization/Point/utils.ts +1 -1
  297. package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.tsx +5 -0
  298. package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.ts +3 -3
  299. package/src/lib/Components/visualization/Scrubber/Scrubber.stories.tsx +5 -0
  300. package/src/translations/locales/de.json +7 -0
  301. package/src/translations/locales/en.json +7 -0
  302. package/src/translations/locales/es.json +7 -0
  303. package/src/translations/locales/fr.json +7 -0
  304. package/src/translations/locales/ja.json +7 -0
  305. package/src/translations/locales/ko.json +7 -0
  306. package/src/translations/locales/pt.json +7 -0
  307. package/src/translations/locales/ru.json +7 -0
  308. package/src/translations/locales/th.json +7 -0
  309. package/src/translations/locales/tr.json +7 -0
  310. package/src/translations/locales/zh.json +7 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Pagination.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/Pagination/Pagination.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAqE/C;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,GAAI,qFAUxB,eAAe,mDAiGjB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './Pagination';
2
+ export type { PaginationProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/Pagination/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,YAAY,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { Density } from '@ledgerhq/lumen-utils-shared';
2
+ import type { StyledViewProps } from '../../../../styles';
3
+ export type PaginationProps = {
4
+ /**
5
+ * Current page, 1-indexed.
6
+ */
7
+ page: number;
8
+ /**
9
+ * Total number of pages.
10
+ * If `<= 0`, the component returns `null`.
11
+ */
12
+ totalPages: number;
13
+ /**
14
+ * Callback fired when the user selects a different page.
15
+ */
16
+ onPageChange: (page: number) => void;
17
+ /**
18
+ * Number of page buttons shown on each side of the current page.
19
+ * @default 1
20
+ */
21
+ siblingCount?: number;
22
+ /**
23
+ * The density of the pagination. Compact replaces the page buttons with a
24
+ * "current of total" label, for tight spaces such as narrow screens.
25
+ * @default 'expanded'
26
+ */
27
+ density?: Density;
28
+ } & Omit<StyledViewProps, 'children'>;
29
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/Pagination/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAE1D,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,YAAY,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,GAAG,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC,CAAC"}
@@ -18,7 +18,7 @@ import type { TimelineItemBodyProps, TimelineItemCaptionProps, TimelineItemDescr
18
18
  export declare const Timeline: ({ ref, children, lx, style, ...props }: TimelineProps) => import("react/jsx-runtime").JSX.Element;
19
19
  /**
20
20
  * One row of a timeline. Draws the indicator from `status` and the connector
21
- * to the neighbouring items.
21
+ * to the neighboring items.
22
22
  */
23
23
  export declare const TimelineItem: ({ ref, status, children, lx, style, ...props }: TimelineItemProps) => import("react/jsx-runtime").JSX.Element;
24
24
  /**
@@ -50,7 +50,7 @@ export declare const TimelineItemDescription: ({ ref, children, lx, style, ...pr
50
50
  */
51
51
  export declare const TimelineItemTrailing: ({ ref, children, lx, style, ...props }: TimelineItemTrailingProps) => import("react/jsx-runtime").JSX.Element;
52
52
  /**
53
- * Block under the header, indented past the indicator.
53
+ * Block under the header, aligned with the header text.
54
54
  */
55
55
  export declare const TimelineItemBody: ({ ref, children, lx, style, ...props }: TimelineItemBodyProps) => import("react/jsx-runtime").JSX.Element;
56
56
  //# sourceMappingURL=Timeline.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/Timeline/Timeline.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,iBAAiB,EAEjB,sBAAsB,EACtB,yBAAyB,EACzB,aAAa,EACd,MAAM,SAAS,CAAC;AAsQjB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ,GAAI,wCAMtB,aAAa,4CAwBf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,gDAO1B,iBAAiB,4CAiBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,wCAMhC,uBAAuB,4CAkBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,wCAMjC,wBAAwB,4CAa1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,wCAMpC,2BAA2B,4CAa7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,wCAMjC,wBAAwB,4CAgB1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,wCAM/B,sBAAsB,4CAoBxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAAI,wCAMrC,4BAA4B,4CAgB9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,wCAMlC,yBAAyB,4CAa3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,wCAM9B,qBAAqB,4CAavB,CAAC"}
1
+ {"version":3,"file":"Timeline.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/core/Timeline/Timeline.tsx"],"names":[],"mappings":"AAeA,OAAO,KAAK,EACV,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,EACxB,2BAA2B,EAC3B,iBAAiB,EAEjB,sBAAsB,EACtB,yBAAyB,EACzB,aAAa,EACd,MAAM,SAAS,CAAC;AA6PjB;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,QAAQ,GAAI,wCAMtB,aAAa,4CAwBf,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,YAAY,GAAI,gDAO1B,iBAAiB,4CAgBnB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,GAAI,wCAMhC,uBAAuB,4CAkBzB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,wCAMjC,wBAAwB,4CAa1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,GAAI,wCAMpC,2BAA2B,4CAa7B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,GAAI,wCAMjC,wBAAwB,4CAgB1B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,wCAM/B,sBAAsB,4CAoBxB,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,uBAAuB,GAAI,wCAMrC,4BAA4B,4CAgB9B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,oBAAoB,GAAI,wCAMlC,yBAAyB,4CAa3B,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,wCAM9B,qBAAqB,4CA2BvB,CAAC"}
@@ -29,6 +29,7 @@ export * from './MediaTag';
29
29
  export * from './MenuList';
30
30
  export * from './NavBar';
31
31
  export * from './PageIndicator';
32
+ export * from './Pagination';
32
33
  export * from './SearchInput';
33
34
  export * from './SectionHeader';
34
35
  export * from './SegmentedControl';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Components/core/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAClC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,WAAW,CAAC;AAC1B,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/internal/BaseButton/BaseButton.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAmI/C;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,mHAYxB,eAAe,4CAgCjB,CAAC"}
1
+ {"version":3,"file":"BaseButton.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/internal/BaseButton/BaseButton.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAsI/C;;;;GAIG;AACH,eAAO,MAAM,UAAU,GAAI,mHAYxB,eAAe,4CAgCjB,CAAC"}
@@ -6,7 +6,7 @@ export type BaseButtonProps = {
6
6
  /**
7
7
  * The visual style of the button.
8
8
  */
9
- appearance?: 'base' | 'gray' | 'accent' | 'transparent' | 'no-background' | 'red';
9
+ appearance?: 'base' | 'gray' | 'accent' | 'transparent' | 'no-background' | 'red' | 'green';
10
10
  /**
11
11
  * The size variant of the button.
12
12
  * @default md
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/internal/BaseButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,UAAU,CAAC,EACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,eAAe,GACf,KAAK,CAAC;IACV;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;QAAE,IAAI,CAAC,EAAE,QAAQ,CAAC;QAAC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;KAAE,CAAC,CAAC;IACxE;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/Components/internal/BaseButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,UAAU,CAAC,EACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,eAAe,GACf,KAAK,GACL,OAAO,CAAC;IACZ;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;QAAE,IAAI,CAAC,EAAE,QAAQ,CAAC;QAAC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAA;KAAE,CAAC,CAAC;IACxE;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,GAAG,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC,CAAC"}
@@ -101,7 +101,7 @@ export type BaseInputLabelProps = {
101
101
  */
102
102
  showClearButton: boolean;
103
103
  /**
104
- * Whether the input is editable, driving the disabled label colour.
104
+ * Whether the input is editable, driving the disabled label color.
105
105
  */
106
106
  isEditable: boolean;
107
107
  /**
@@ -32,7 +32,7 @@ export type BaseAxisProps = {
32
32
  /**
33
33
  * Explicit tick positions along the axis.
34
34
  * When omitted, ticks are computed automatically from the scale. An empty
35
- * array is honoured literally and renders no ticks — to keep ticks while
35
+ * array is honored literally and renders no ticks — to keep ticks while
36
36
  * hiding their marks or labels, use `showTickMark` / `showLabels` instead.
37
37
  */
38
38
  ticks?: number[];
@@ -8,7 +8,7 @@ import type { ChartInset, ChartScaleFunction, DrawingArea, Series } from '../uti
8
8
  export type ScrubbingOptions = {
9
9
  /**
10
10
  * Enables scrubbing (pan gesture) interactions on the chart.
11
- * When true, add a `<Scrubber>` as a child to visualise the interaction.
11
+ * When true, add a `<Scrubber>` as a child to visualize the interaction.
12
12
  * @default false
13
13
  */
14
14
  enableScrubbing?: boolean;
@@ -4,7 +4,7 @@ type Point = [x: number, y: number | null];
4
4
  * Project series data into scaled [x, y] pixel coordinates.
5
5
  *
6
6
  * When `xData` contains numeric values, those values are fed into the scale
7
- * instead of the array index so the points honour a numeric X domain.
7
+ * instead of the array index so the points honor a numeric X domain.
8
8
  *
9
9
  * When `xData` is provided, iteration is capped at `xData.length` so a series
10
10
  * with more points than the axis has labels does not overflow past the right
@@ -39,16 +39,16 @@ export type LineChartProps = LineRenderOptions & Pick<CartesianChartProps, 'widt
39
39
  /**
40
40
  * Whether the chart is loading. When there is no data, renders an animated
41
41
  * shimmer placeholder line (initial loading). When data is present (e.g. a
42
- * time-range change), the current line is recoloured to a muted grey and
42
+ * time-range change), the current line is recolored to a muted grey and
43
43
  * shimmers until the new `series` is provided (transition loading).
44
44
  *
45
- * To get the transition behaviour, keep passing the previous `series` while
45
+ * To get the transition behavior, keep passing the previous `series` while
46
46
  * refetching; clearing it falls back to the initial placeholder.
47
47
  * @default false
48
48
  */
49
49
  loading?: boolean;
50
50
  /**
51
- * Text shown in the centre of the chart when there is no data and the chart
51
+ * Text shown in the center of the chart when there is no data and the chart
52
52
  * is not loading.
53
53
  * @default 'No data' (translated)
54
54
  */
@@ -12,7 +12,7 @@ export type PointLabelComponent = ComponentType<PointLabelProps>;
12
12
  *
13
13
  * - `'auto'`: keep the label inside the drawing area, anchoring it to the
14
14
  * nearest edge when it would overflow.
15
- * - `'center'`: always centre the label on the point.
15
+ * - `'center'`: always center the label on the point.
16
16
  */
17
17
  export type LabelAlignment = 'center' | 'auto';
18
18
  /**
@@ -64,7 +64,7 @@ export type PointProps = {
64
64
  * Custom component rendered instead of the default `PointLabel`.
65
65
  * Receives pixel coordinates (`x`, `y`) and the resolved label as
66
66
  * `children`. Use `PointLabel` inside your component to retain
67
- * theme styling while customising layout or appearance.
67
+ * theme styling while customizing layout or appearance.
68
68
  */
69
69
  LabelComponent?: PointLabelComponent;
70
70
  /**
@@ -103,7 +103,7 @@ export type PointProps = {
103
103
  * Horizontal alignment of the label relative to the chart's drawing area.
104
104
  * With `'auto'`, a label that would overflow the left/right edge is anchored
105
105
  * to that edge and grows inward instead of being clipped, while the arrow
106
- * keeps pointing at the exact data point. Use `'center'` to always centre the
106
+ * keeps pointing at the exact data point. Use `'center'` to always center the
107
107
  * label on the point.
108
108
  * @default 'auto'
109
109
  */
@@ -18,7 +18,7 @@ type PointGeometry = {
18
18
  isVisible: boolean;
19
19
  };
20
20
  /**
21
- * Resolves a point's chart geometry and behaviour: projects its data
21
+ * Resolves a point's chart geometry and behavior: projects its data
22
22
  * coordinates to pixels, registers it as a magnetic snap target when enabled,
23
23
  * exposes the reveal-animation props, and reports whether it falls inside the
24
24
  * drawing area.
@@ -17,7 +17,7 @@ export declare const resolveLabel: (label: string | ((dataIndex: number) => stri
17
17
  export declare const resolveDataXToIndex: (dataX: number, axisConfig: BaseAxisProps | undefined) => number | undefined;
18
18
  /**
19
19
  * Computes the label's horizontal placement, keeping it inside the drawing area
20
- * near the left/right edges. Centred on the point when it fits; otherwise
20
+ * near the left/right edges. Centered on the point when it fits; otherwise
21
21
  * anchored to the edge and aligned with the arrow's outer vertex (offset by half
22
22
  * the arrow width from the point, when an arrow is rendered).
23
23
  */
@@ -29,6 +29,13 @@ export declare const dictionaries: {
29
29
  stepper: {
30
30
  progressAriaLabel: string;
31
31
  };
32
+ pagination: {
33
+ navigationAriaLabel: string;
34
+ previousPageAriaLabel: string;
35
+ nextPageAriaLabel: string;
36
+ pageAriaLabel: string;
37
+ pageOfTotal: string;
38
+ };
32
39
  };
33
40
  };
34
41
  en: {
@@ -61,6 +68,13 @@ export declare const dictionaries: {
61
68
  stepper: {
62
69
  progressAriaLabel: string;
63
70
  };
71
+ pagination: {
72
+ navigationAriaLabel: string;
73
+ previousPageAriaLabel: string;
74
+ nextPageAriaLabel: string;
75
+ pageAriaLabel: string;
76
+ pageOfTotal: string;
77
+ };
64
78
  trend: {
65
79
  positiveAriaLabel: string;
66
80
  negativeAriaLabel: string;
@@ -107,6 +121,13 @@ export declare const dictionaries: {
107
121
  stepper: {
108
122
  progressAriaLabel: string;
109
123
  };
124
+ pagination: {
125
+ navigationAriaLabel: string;
126
+ previousPageAriaLabel: string;
127
+ nextPageAriaLabel: string;
128
+ pageAriaLabel: string;
129
+ pageOfTotal: string;
130
+ };
110
131
  };
111
132
  };
112
133
  fr: {
@@ -139,6 +160,13 @@ export declare const dictionaries: {
139
160
  stepper: {
140
161
  progressAriaLabel: string;
141
162
  };
163
+ pagination: {
164
+ navigationAriaLabel: string;
165
+ previousPageAriaLabel: string;
166
+ nextPageAriaLabel: string;
167
+ pageAriaLabel: string;
168
+ pageOfTotal: string;
169
+ };
142
170
  };
143
171
  };
144
172
  ja: {
@@ -171,6 +199,13 @@ export declare const dictionaries: {
171
199
  stepper: {
172
200
  progressAriaLabel: string;
173
201
  };
202
+ pagination: {
203
+ navigationAriaLabel: string;
204
+ previousPageAriaLabel: string;
205
+ nextPageAriaLabel: string;
206
+ pageAriaLabel: string;
207
+ pageOfTotal: string;
208
+ };
174
209
  };
175
210
  };
176
211
  ko: {
@@ -203,6 +238,13 @@ export declare const dictionaries: {
203
238
  stepper: {
204
239
  progressAriaLabel: string;
205
240
  };
241
+ pagination: {
242
+ navigationAriaLabel: string;
243
+ previousPageAriaLabel: string;
244
+ nextPageAriaLabel: string;
245
+ pageAriaLabel: string;
246
+ pageOfTotal: string;
247
+ };
206
248
  };
207
249
  };
208
250
  pt: {
@@ -235,6 +277,13 @@ export declare const dictionaries: {
235
277
  stepper: {
236
278
  progressAriaLabel: string;
237
279
  };
280
+ pagination: {
281
+ navigationAriaLabel: string;
282
+ previousPageAriaLabel: string;
283
+ nextPageAriaLabel: string;
284
+ pageAriaLabel: string;
285
+ pageOfTotal: string;
286
+ };
238
287
  };
239
288
  };
240
289
  ru: {
@@ -267,6 +316,13 @@ export declare const dictionaries: {
267
316
  stepper: {
268
317
  progressAriaLabel: string;
269
318
  };
319
+ pagination: {
320
+ navigationAriaLabel: string;
321
+ previousPageAriaLabel: string;
322
+ nextPageAriaLabel: string;
323
+ pageAriaLabel: string;
324
+ pageOfTotal: string;
325
+ };
270
326
  };
271
327
  };
272
328
  th: {
@@ -299,6 +355,13 @@ export declare const dictionaries: {
299
355
  stepper: {
300
356
  progressAriaLabel: string;
301
357
  };
358
+ pagination: {
359
+ navigationAriaLabel: string;
360
+ previousPageAriaLabel: string;
361
+ nextPageAriaLabel: string;
362
+ pageAriaLabel: string;
363
+ pageOfTotal: string;
364
+ };
302
365
  };
303
366
  };
304
367
  tr: {
@@ -331,6 +394,13 @@ export declare const dictionaries: {
331
394
  stepper: {
332
395
  progressAriaLabel: string;
333
396
  };
397
+ pagination: {
398
+ navigationAriaLabel: string;
399
+ previousPageAriaLabel: string;
400
+ nextPageAriaLabel: string;
401
+ pageAriaLabel: string;
402
+ pageOfTotal: string;
403
+ };
334
404
  };
335
405
  };
336
406
  zh: {
@@ -363,6 +433,13 @@ export declare const dictionaries: {
363
433
  stepper: {
364
434
  progressAriaLabel: string;
365
435
  };
436
+ pagination: {
437
+ navigationAriaLabel: string;
438
+ previousPageAriaLabel: string;
439
+ nextPageAriaLabel: string;
440
+ pageAriaLabel: string;
441
+ pageOfTotal: string;
442
+ };
366
443
  };
367
444
  };
368
445
  };
@@ -401,6 +478,13 @@ export declare const TranslationsProvider: import("react").FC<{
401
478
  stepper: {
402
479
  progressAriaLabel: string;
403
480
  };
481
+ pagination: {
482
+ navigationAriaLabel: string;
483
+ previousPageAriaLabel: string;
484
+ nextPageAriaLabel: string;
485
+ pageAriaLabel: string;
486
+ pageOfTotal: string;
487
+ };
404
488
  trend: {
405
489
  positiveAriaLabel: string;
406
490
  negativeAriaLabel: string;
@@ -1 +1 @@
1
- {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/translations/translations.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiD,CAAC;AAE3E,eAAO,MAAQ,oBAAoB;;;IAAmB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItE,CAAC"}
1
+ {"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../../src/translations/translations.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAiD,CAAC;AAE3E,eAAO,MAAQ,oBAAoB;;;IAAmB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-rnative",
3
- "version": "0.1.69",
3
+ "version": "0.1.70",
4
4
  "license": "Apache-2.0",
5
5
  "keywords": [
6
6
  "react-native",
@@ -18,26 +18,26 @@
18
18
  "exports": {
19
19
  "./package.json": "./package.json",
20
20
  ".": {
21
- "react-native": "./src/index.ts",
22
21
  "types": "./dist/typescript/src/index.d.ts",
22
+ "react-native": "./src/index.ts",
23
23
  "import": "./dist/module/index.js",
24
24
  "default": "./dist/module/index.js"
25
25
  },
26
26
  "./symbols": {
27
- "react-native": "./src/lib/Components/symbols/index.ts",
28
27
  "types": "./dist/typescript/src/lib/Components/symbols/index.d.ts",
28
+ "react-native": "./src/lib/Components/symbols/index.ts",
29
29
  "import": "./dist/module/lib/Components/symbols/index.js",
30
30
  "default": "./dist/module/lib/Components/symbols/index.js"
31
31
  },
32
32
  "./styles": {
33
- "react-native": "./src/styles/index.ts",
34
33
  "types": "./dist/typescript/src/styles/index.d.ts",
34
+ "react-native": "./src/styles/index.ts",
35
35
  "import": "./dist/module/styles/index.js",
36
36
  "default": "./dist/module/styles/index.js"
37
37
  },
38
38
  "./visualization": {
39
- "react-native": "./src/lib/Components/visualization/index.ts",
40
39
  "types": "./dist/typescript/src/lib/Components/visualization/index.d.ts",
40
+ "react-native": "./src/lib/Components/visualization/index.ts",
41
41
  "import": "./dist/module/lib/Components/visualization/index.js",
42
42
  "default": "./dist/module/lib/Components/visualization/index.js"
43
43
  }
@@ -49,7 +49,7 @@
49
49
  "!**/*.tsbuildinfo"
50
50
  ],
51
51
  "dependencies": {
52
- "@ledgerhq/lumen-utils-shared": "0.1.17",
52
+ "@ledgerhq/lumen-utils-shared": "0.1.18",
53
53
  "@types/d3-scale": "^4.0.9",
54
54
  "@types/d3-shape": "^3.1.8",
55
55
  "d3-scale": "^4.0.2",
@@ -65,10 +65,10 @@
65
65
  "react": "^19.0.0",
66
66
  "react-native": "~0.81.6",
67
67
  "react-native-gesture-handler": ">=2.0.0",
68
- "react-native-reanimated": "^4.1.0",
68
+ "react-native-reanimated": "^4.3.0",
69
69
  "react-native-safe-area-context": "^4.0.0 || ^5.0.0",
70
70
  "react-native-svg": "^15.0.0",
71
- "react-native-worklets": ">=0.5.0",
71
+ "react-native-worklets": "^0.8.0",
72
72
  "@sbaiahmed1/react-native-blur": "^4.5.5",
73
73
  "expo": ">=54.0.0",
74
74
  "expo-haptics": "~15.0.8"
@@ -22,6 +22,7 @@ const meta = {
22
22
  title: 'Primitives/Pulse',
23
23
  component: Pulse,
24
24
  parameters: {
25
+ docs: { source: { language: 'tsx', format: true, type: 'dynamic' } },
25
26
  layout: 'centered',
26
27
  },
27
28
  } satisfies Meta<typeof Pulse>;
@@ -9,6 +9,7 @@ const meta = {
9
9
  title: 'Primitives/Spin',
10
10
  component: Spin,
11
11
  parameters: {
12
+ docs: { source: { language: 'tsx', format: true, type: 'dynamic' } },
12
13
  layout: 'centered',
13
14
  },
14
15
  } satisfies Meta<typeof Spin>;