@ledgerhq/lumen-ui-rnative 0.1.68 → 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 (373) 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.js +1 -1
  60. package/dist/module/lib/Components/core/MediaImage/MediaImage.js.map +1 -1
  61. package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js +1 -1
  62. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js +215 -0
  63. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js.map +1 -0
  64. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.js +221 -0
  65. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.js.map +1 -0
  66. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +96 -0
  67. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +258 -0
  68. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js.map +1 -0
  69. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js +246 -0
  70. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js.map +1 -0
  71. package/dist/module/lib/Components/core/MediaImageGroup/index.js +5 -0
  72. package/dist/module/lib/Components/core/MediaImageGroup/index.js.map +1 -0
  73. package/dist/module/lib/Components/core/MediaImageGroup/types.js +4 -0
  74. package/dist/module/lib/Components/core/MediaImageGroup/types.js.map +1 -0
  75. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js +9 -0
  76. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js.map +1 -1
  77. package/dist/module/lib/Components/core/MenuList/MenuList.mdx +2 -2
  78. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +17 -1
  79. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +1 -1
  80. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js +1 -1
  81. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js.map +1 -1
  82. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js +56 -50
  83. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js.map +1 -1
  84. package/dist/module/lib/Components/core/Pagination/Pagination.figma.js +22 -0
  85. package/dist/module/lib/Components/core/Pagination/Pagination.figma.js.map +1 -0
  86. package/dist/module/lib/Components/core/Pagination/Pagination.js +182 -0
  87. package/dist/module/lib/Components/core/Pagination/Pagination.js.map +1 -0
  88. package/dist/module/lib/Components/core/Pagination/Pagination.mdx +108 -0
  89. package/dist/module/lib/Components/core/Pagination/Pagination.stories.js +121 -0
  90. package/dist/module/lib/Components/core/Pagination/Pagination.stories.js.map +1 -0
  91. package/dist/module/lib/Components/core/Pagination/Pagination.test.js +338 -0
  92. package/dist/module/lib/Components/core/Pagination/Pagination.test.js.map +1 -0
  93. package/dist/module/lib/Components/core/Pagination/index.js +4 -0
  94. package/dist/module/lib/Components/core/Pagination/index.js.map +1 -0
  95. package/dist/module/lib/Components/core/Pagination/types.js +4 -0
  96. package/dist/module/lib/Components/core/Pagination/types.js.map +1 -0
  97. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js +75 -67
  98. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js.map +1 -1
  99. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js +12 -0
  100. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js.map +1 -1
  101. package/dist/module/lib/Components/core/SelectList/SelectList.mdx +3 -1
  102. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +3 -3
  103. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +1 -1
  104. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js +7 -0
  105. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js.map +1 -1
  106. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js +7 -0
  107. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js.map +1 -1
  108. package/dist/module/lib/Components/core/Spot/Spot.stories.js +20 -1
  109. package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +1 -1
  110. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js +7 -0
  111. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js.map +1 -1
  112. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js +11 -1
  113. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js.map +1 -1
  114. package/dist/module/lib/Components/core/Switch/Switch.stories.js +21 -1
  115. package/dist/module/lib/Components/core/Switch/Switch.stories.js.map +1 -1
  116. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js +17 -5
  117. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js.map +1 -1
  118. package/dist/module/lib/Components/core/Tag/Tag.stories.js +28 -0
  119. package/dist/module/lib/Components/core/Tag/Tag.stories.js.map +1 -1
  120. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js +159 -196
  121. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js.map +1 -1
  122. package/dist/module/lib/Components/core/TextInput/TextInput.test.js +2 -2
  123. package/dist/module/lib/Components/core/TextInput/TextInput.test.js.map +1 -1
  124. package/dist/module/lib/Components/core/Tile/Tile.stories.js +2 -35
  125. package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +1 -1
  126. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js +18 -8
  127. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js.map +1 -1
  128. package/dist/module/lib/Components/core/Timeline/Timeline.js +81 -67
  129. package/dist/module/lib/Components/core/Timeline/Timeline.js.map +1 -1
  130. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js +46 -16
  131. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +1 -1
  132. package/dist/module/lib/Components/core/Timeline/Timeline.test.js +8 -5
  133. package/dist/module/lib/Components/core/Timeline/Timeline.test.js.map +1 -1
  134. package/dist/module/lib/Components/core/Toast/Toast.mdx +1 -1
  135. package/dist/module/lib/Components/core/Toast/Toast.stories.js +61 -58
  136. package/dist/module/lib/Components/core/Toast/Toast.stories.js.map +1 -1
  137. package/dist/module/lib/Components/core/Toast/Toaster.test.js +1 -1
  138. package/dist/module/lib/Components/core/Toast/Toaster.test.js.map +1 -1
  139. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js +31 -2
  140. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js.map +1 -1
  141. package/dist/module/lib/Components/core/Trend/Trend.stories.js +9 -0
  142. package/dist/module/lib/Components/core/Trend/Trend.stories.js.map +1 -1
  143. package/dist/module/lib/Components/core/index.js +2 -0
  144. package/dist/module/lib/Components/core/index.js.map +1 -1
  145. package/dist/module/lib/Components/internal/BaseButton/BaseButton.js +5 -2
  146. package/dist/module/lib/Components/internal/BaseButton/BaseButton.js.map +1 -1
  147. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js +1 -1
  148. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js.map +1 -1
  149. package/dist/module/lib/Components/primitives/Box/Box.stories.js +1 -18
  150. package/dist/module/lib/Components/primitives/Box/Box.stories.js.map +1 -1
  151. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js +36 -0
  152. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js.map +1 -1
  153. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js +1 -1
  154. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js +1 -19
  155. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js.map +1 -1
  156. package/dist/module/lib/Components/primitives/Text/Text.stories.js +1 -12
  157. package/dist/module/lib/Components/primitives/Text/Text.stories.js.map +1 -1
  158. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js +128 -85
  159. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js.map +1 -1
  160. package/dist/module/lib/Components/symbols/icons/Ar.js +2 -2
  161. package/dist/module/lib/Components/symbols/icons/Ar.js.map +1 -1
  162. package/dist/module/lib/Components/symbols/icons/Range.js +1 -1
  163. package/dist/module/lib/Components/symbols/icons/Share.js +1 -1
  164. package/dist/module/lib/Components/symbols/icons/{Charon.js → ShoppingInvoiceList.js} +8 -8
  165. package/dist/module/lib/Components/symbols/icons/ShoppingInvoiceList.js.map +1 -0
  166. package/dist/module/lib/Components/symbols/icons/WalletInput.js +1 -1
  167. package/dist/module/lib/Components/symbols/icons/WalletInput.js.map +1 -1
  168. package/dist/module/lib/Components/symbols/index.js +1 -4
  169. package/dist/module/lib/Components/symbols/index.js.map +1 -1
  170. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +1 -1
  171. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +1 -1
  172. package/dist/module/lib/Components/visualization/Line/utils.js +1 -1
  173. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js +69 -0
  174. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js.map +1 -1
  175. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js +1 -1
  176. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js.map +1 -1
  177. package/dist/module/lib/Components/visualization/Point/Point.stories.js +12 -0
  178. package/dist/module/lib/Components/visualization/Point/Point.stories.js.map +1 -1
  179. package/dist/module/lib/Components/visualization/Point/Point.test.js +1 -1
  180. package/dist/module/lib/Components/visualization/Point/usePointGeometry.js +1 -1
  181. package/dist/module/lib/Components/visualization/Point/utils.js +1 -1
  182. package/dist/module/lib/Components/visualization/Point/utils.test.js +2 -2
  183. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js +23 -0
  184. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js.map +1 -1
  185. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.js +3 -3
  186. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.js.map +1 -1
  187. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js +35 -0
  188. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js.map +1 -1
  189. package/dist/module/translations/locales/de.json +7 -0
  190. package/dist/module/translations/locales/en.json +7 -0
  191. package/dist/module/translations/locales/es.json +7 -0
  192. package/dist/module/translations/locales/fr.json +7 -0
  193. package/dist/module/translations/locales/ja.json +7 -0
  194. package/dist/module/translations/locales/ko.json +7 -0
  195. package/dist/module/translations/locales/pt.json +7 -0
  196. package/dist/module/translations/locales/ru.json +7 -0
  197. package/dist/module/translations/locales/th.json +7 -0
  198. package/dist/module/translations/locales/tr.json +7 -0
  199. package/dist/module/translations/locales/zh.json +7 -0
  200. package/dist/typescript/src/lib/Components/core/MediaImage/MediaImage.d.ts +4 -0
  201. package/dist/typescript/src/lib/Components/core/MediaImage/MediaImage.d.ts.map +1 -1
  202. package/dist/typescript/src/lib/Components/core/MediaImageGroup/MediaImageGroup.d.ts +33 -0
  203. package/dist/typescript/src/lib/Components/core/MediaImageGroup/MediaImageGroup.d.ts.map +1 -0
  204. package/dist/typescript/src/lib/Components/core/MediaImageGroup/index.d.ts +3 -0
  205. package/dist/typescript/src/lib/Components/core/MediaImageGroup/index.d.ts.map +1 -0
  206. package/dist/typescript/src/lib/Components/core/MediaImageGroup/types.d.ts +66 -0
  207. package/dist/typescript/src/lib/Components/core/MediaImageGroup/types.d.ts.map +1 -0
  208. package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts +15 -0
  209. package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts.map +1 -0
  210. package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts +3 -0
  211. package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts.map +1 -0
  212. package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts +29 -0
  213. package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts.map +1 -0
  214. package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts +2 -2
  215. package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts.map +1 -1
  216. package/dist/typescript/src/lib/Components/core/index.d.ts +2 -0
  217. package/dist/typescript/src/lib/Components/core/index.d.ts.map +1 -1
  218. package/dist/typescript/src/lib/Components/internal/BaseButton/BaseButton.d.ts.map +1 -1
  219. package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts +1 -1
  220. package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts.map +1 -1
  221. package/dist/typescript/src/lib/Components/internal/BaseInput/types.d.ts +1 -1
  222. package/dist/typescript/src/lib/Components/symbols/icons/{Charon.d.ts → ShoppingInvoiceList.d.ts} +7 -7
  223. package/dist/typescript/src/lib/Components/symbols/icons/ShoppingInvoiceList.d.ts.map +1 -0
  224. package/dist/typescript/src/lib/Components/symbols/index.d.ts +1 -4
  225. package/dist/typescript/src/lib/Components/symbols/index.d.ts.map +1 -1
  226. package/dist/typescript/src/lib/Components/visualization/Axis/types.d.ts +1 -1
  227. package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +1 -1
  228. package/dist/typescript/src/lib/Components/visualization/Line/utils.d.ts +1 -1
  229. package/dist/typescript/src/lib/Components/visualization/LineChart/types.d.ts +3 -3
  230. package/dist/typescript/src/lib/Components/visualization/Point/types.d.ts +3 -3
  231. package/dist/typescript/src/lib/Components/visualization/Point/usePointGeometry.d.ts +1 -1
  232. package/dist/typescript/src/lib/Components/visualization/Point/utils.d.ts +1 -1
  233. package/dist/typescript/src/translations/translations.d.ts +84 -0
  234. package/dist/typescript/src/translations/translations.d.ts.map +1 -1
  235. package/package.json +9 -9
  236. package/src/lib/Components/animations/Pulse/Pulse.stories.tsx +1 -0
  237. package/src/lib/Components/animations/Spin/Spin.stories.tsx +1 -0
  238. package/src/lib/Components/core/AddressInput/AddressInput.stories.tsx +168 -123
  239. package/src/lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx +7 -7
  240. package/src/lib/Components/core/AmountInput/AmountInput.stories.tsx +162 -158
  241. package/src/lib/Components/core/Avatar/Avatar.stories.tsx +37 -46
  242. package/src/lib/Components/core/AvatarButton/AvatarButton.stories.tsx +1 -8
  243. package/src/lib/Components/core/Banner/Banner.stories.tsx +8 -95
  244. package/src/lib/Components/core/Button/Button.figma.tsx +1 -0
  245. package/src/lib/Components/core/Button/Button.mdx +2 -1
  246. package/src/lib/Components/core/Button/Button.stories.tsx +13 -14
  247. package/src/lib/Components/core/Card/Card.mdx +6 -0
  248. package/src/lib/Components/core/Card/Card.stories.tsx +31 -27
  249. package/src/lib/Components/core/CardButton/CardButton.stories.tsx +14 -90
  250. package/src/lib/Components/core/Checkbox/Checkbox.stories.tsx +1 -1
  251. package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +1 -17
  252. package/src/lib/Components/core/DescriptionItem/DescriptionItem.stories.tsx +4 -0
  253. package/src/lib/Components/core/Divider/Divider.stories.tsx +1 -0
  254. package/src/lib/Components/core/DotCount/DotCount.stories.tsx +4 -0
  255. package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +8 -0
  256. package/src/lib/Components/core/DotIndicator/DotIndicator.stories.tsx +3 -0
  257. package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +3 -0
  258. package/src/lib/Components/core/IconButton/IconButton.stories.tsx +9 -0
  259. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.tsx +16 -23
  260. package/src/lib/Components/core/Link/Link.mdx +32 -5
  261. package/src/lib/Components/core/Link/Link.stories.tsx +20 -146
  262. package/src/lib/Components/core/Link/Link.test.tsx +1 -1
  263. package/src/lib/Components/core/Link/Link.tsx +1 -1
  264. package/src/lib/Components/core/ListItem/ListItem.stories.tsx +0 -39
  265. package/src/lib/Components/core/MediaBanner/MediaBanner.stories.tsx +3 -14
  266. package/src/lib/Components/core/MediaButton/MediaButton.stories.tsx +1 -12
  267. package/src/lib/Components/core/MediaCard/MediaCard.stories.tsx +10 -53
  268. package/src/lib/Components/core/MediaImage/MediaImage.stories.tsx +1 -1
  269. package/src/lib/Components/core/MediaImage/MediaImage.tsx +1 -1
  270. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.tsx +119 -0
  271. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +96 -0
  272. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +154 -0
  273. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.test.tsx +213 -0
  274. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.tsx +264 -0
  275. package/src/lib/Components/core/MediaImageGroup/index.ts +2 -0
  276. package/src/lib/Components/core/MediaImageGroup/types.ts +77 -0
  277. package/src/lib/Components/core/MediaTag/MediaTag.stories.tsx +3 -0
  278. package/src/lib/Components/core/MenuList/MenuList.mdx +2 -2
  279. package/src/lib/Components/core/MenuList/MenuList.stories.tsx +13 -1
  280. package/src/lib/Components/core/PageIndicator/PageIndicator.figma.tsx +1 -1
  281. package/src/lib/Components/core/PageIndicator/PageIndicator.stories.tsx +45 -42
  282. package/src/lib/Components/core/Pagination/Pagination.figma.tsx +25 -0
  283. package/src/lib/Components/core/Pagination/Pagination.mdx +108 -0
  284. package/src/lib/Components/core/Pagination/Pagination.stories.tsx +90 -0
  285. package/src/lib/Components/core/Pagination/Pagination.test.tsx +346 -0
  286. package/src/lib/Components/core/Pagination/Pagination.tsx +200 -0
  287. package/src/lib/Components/core/Pagination/index.ts +2 -0
  288. package/src/lib/Components/core/Pagination/types.ts +29 -0
  289. package/src/lib/Components/core/SearchInput/SearchInput.stories.tsx +91 -66
  290. package/src/lib/Components/core/SegmentedControl/SegmentedControl.stories.tsx +2 -0
  291. package/src/lib/Components/core/SelectList/SelectList.mdx +3 -1
  292. package/src/lib/Components/core/SelectList/SelectList.stories.tsx +3 -3
  293. package/src/lib/Components/core/Skeleton/Skeleton.stories.tsx +1 -0
  294. package/src/lib/Components/core/Spinner/Spinner.stories.tsx +1 -0
  295. package/src/lib/Components/core/Spot/Spot.stories.tsx +10 -1
  296. package/src/lib/Components/core/Stepper/Stepper.stories.tsx +1 -0
  297. package/src/lib/Components/core/Subheader/Subheader.stories.tsx +5 -2
  298. package/src/lib/Components/core/Switch/Switch.stories.tsx +17 -1
  299. package/src/lib/Components/core/TabBar/TabBar.stories.tsx +15 -5
  300. package/src/lib/Components/core/Tag/Tag.stories.tsx +4 -0
  301. package/src/lib/Components/core/TextInput/TextInput.stories.tsx +186 -174
  302. package/src/lib/Components/core/TextInput/TextInput.test.tsx +2 -2
  303. package/src/lib/Components/core/Tile/Tile.stories.tsx +0 -33
  304. package/src/lib/Components/core/TileButton/TileButton.stories.tsx +9 -7
  305. package/src/lib/Components/core/Timeline/Timeline.stories.tsx +20 -1
  306. package/src/lib/Components/core/Timeline/Timeline.test.tsx +12 -8
  307. package/src/lib/Components/core/Timeline/Timeline.tsx +79 -75
  308. package/src/lib/Components/core/Toast/Toast.mdx +1 -1
  309. package/src/lib/Components/core/Toast/Toast.stories.tsx +55 -66
  310. package/src/lib/Components/core/Toast/Toaster.test.tsx +1 -1
  311. package/src/lib/Components/core/Tooltip/Tooltip.stories.tsx +7 -3
  312. package/src/lib/Components/core/Trend/Trend.stories.tsx +3 -0
  313. package/src/lib/Components/core/index.ts +2 -0
  314. package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +1 -0
  315. package/src/lib/Components/internal/BaseButton/BaseButton.tsx +3 -0
  316. package/src/lib/Components/internal/BaseButton/types.ts +2 -1
  317. package/src/lib/Components/internal/BaseInput/types.ts +1 -1
  318. package/src/lib/Components/primitives/Box/Box.stories.tsx +1 -18
  319. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +12 -0
  320. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.tsx +1 -1
  321. package/src/lib/Components/primitives/Pressable/Pressable.stories.tsx +0 -18
  322. package/src/lib/Components/primitives/Text/Text.stories.tsx +1 -12
  323. package/src/lib/Components/symbols/Icon/Icon.stories.tsx +133 -94
  324. package/src/lib/Components/symbols/icons/Ar.tsx +2 -2
  325. package/src/lib/Components/symbols/icons/Range.tsx +1 -1
  326. package/src/lib/Components/symbols/icons/Share.tsx +1 -1
  327. package/src/lib/Components/symbols/icons/{Charon.tsx → ShoppingInvoiceList.tsx} +8 -8
  328. package/src/lib/Components/symbols/icons/WalletInput.tsx +1 -1
  329. package/src/lib/Components/symbols/index.ts +1 -4
  330. package/src/lib/Components/visualization/Axis/types.ts +1 -1
  331. package/src/lib/Components/visualization/CartesianChart/types.ts +1 -1
  332. package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +1 -1
  333. package/src/lib/Components/visualization/Line/utils.ts +1 -1
  334. package/src/lib/Components/visualization/LineChart/LineChart.stories.tsx +15 -0
  335. package/src/lib/Components/visualization/LineChart/LineChart.test.tsx +1 -1
  336. package/src/lib/Components/visualization/LineChart/types.ts +3 -3
  337. package/src/lib/Components/visualization/Point/Point.stories.tsx +2 -0
  338. package/src/lib/Components/visualization/Point/Point.test.tsx +1 -1
  339. package/src/lib/Components/visualization/Point/types.ts +3 -3
  340. package/src/lib/Components/visualization/Point/usePointGeometry.ts +1 -1
  341. package/src/lib/Components/visualization/Point/utils.test.ts +2 -2
  342. package/src/lib/Components/visualization/Point/utils.ts +1 -1
  343. package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.tsx +5 -0
  344. package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.ts +3 -3
  345. package/src/lib/Components/visualization/Scrubber/Scrubber.stories.tsx +5 -0
  346. package/src/translations/locales/de.json +7 -0
  347. package/src/translations/locales/en.json +7 -0
  348. package/src/translations/locales/es.json +7 -0
  349. package/src/translations/locales/fr.json +7 -0
  350. package/src/translations/locales/ja.json +7 -0
  351. package/src/translations/locales/ko.json +7 -0
  352. package/src/translations/locales/pt.json +7 -0
  353. package/src/translations/locales/ru.json +7 -0
  354. package/src/translations/locales/th.json +7 -0
  355. package/src/translations/locales/tr.json +7 -0
  356. package/src/translations/locales/zh.json +7 -0
  357. package/dist/module/lib/Components/symbols/icons/Apex.js +0 -49
  358. package/dist/module/lib/Components/symbols/icons/Apex.js.map +0 -1
  359. package/dist/module/lib/Components/symbols/icons/BellNotification.js +0 -91
  360. package/dist/module/lib/Components/symbols/icons/BellNotification.js.map +0 -1
  361. package/dist/module/lib/Components/symbols/icons/Charon.js.map +0 -1
  362. package/dist/module/lib/Components/symbols/icons/ShieldCheckNotification.js +0 -82
  363. package/dist/module/lib/Components/symbols/icons/ShieldCheckNotification.js.map +0 -1
  364. package/dist/typescript/src/lib/Components/symbols/icons/Apex.d.ts +0 -35
  365. package/dist/typescript/src/lib/Components/symbols/icons/Apex.d.ts.map +0 -1
  366. package/dist/typescript/src/lib/Components/symbols/icons/BellNotification.d.ts +0 -35
  367. package/dist/typescript/src/lib/Components/symbols/icons/BellNotification.d.ts.map +0 -1
  368. package/dist/typescript/src/lib/Components/symbols/icons/Charon.d.ts.map +0 -1
  369. package/dist/typescript/src/lib/Components/symbols/icons/ShieldCheckNotification.d.ts +0 -35
  370. package/dist/typescript/src/lib/Components/symbols/icons/ShieldCheckNotification.d.ts.map +0 -1
  371. package/src/lib/Components/symbols/icons/Apex.tsx +0 -44
  372. package/src/lib/Components/symbols/icons/BellNotification.tsx +0 -75
  373. package/src/lib/Components/symbols/icons/ShieldCheckNotification.tsx +0 -67
@@ -2,12 +2,28 @@ import type { Meta, StoryObj } from '@storybook/react-native-web-vite';
2
2
  import { useState } from 'react';
3
3
  import { View } from 'react-native';
4
4
  import { AddressInput } from './AddressInput';
5
- import type { AddressInputProps } from './types';
6
5
 
7
6
  const meta = {
8
7
  component: AddressInput,
9
8
  id: 'rnative-addressinput',
10
9
  title: 'Core/AddressInput',
10
+ decorators: [
11
+ (Story) => (
12
+ <View
13
+ style={{
14
+ flex: 1,
15
+ minHeight: 96,
16
+ alignItems: 'center',
17
+ justifyContent: 'center',
18
+ padding: 24,
19
+ }}
20
+ >
21
+ <View style={{ width: '100%', maxWidth: 400 }}>
22
+ <Story />
23
+ </View>
24
+ </View>
25
+ ),
26
+ ],
11
27
  parameters: {
12
28
  docs: {
13
29
  source: {
@@ -22,169 +38,198 @@ const meta = {
22
38
  export default meta;
23
39
  type Story = StoryObj<typeof AddressInput>;
24
40
 
25
- const AddressInputStory = (args: AddressInputProps) => {
26
- const [address, setAddress] = useState(args.value?.toString() ?? '');
27
-
28
- return (
29
- <View
30
- style={{
31
- flex: 1,
32
- minHeight: 96,
33
- alignItems: 'center',
34
- justifyContent: 'center',
35
- padding: 24,
36
- }}
37
- >
38
- <View style={{ width: '100%', maxWidth: 400 }}>
39
- <AddressInput
40
- {...args}
41
- value={address}
42
- onChangeText={setAddress}
43
- onQrCodeClick={
44
- args.onQrCodeClick ?? (() => alert('QR code scanner opened'))
45
- }
46
- />
47
- </View>
48
- </View>
49
- );
50
- };
51
-
52
41
  export const Base: Story = {
53
- render: (args) => <AddressInputStory {...args} />,
54
42
  args: {
55
43
  placeholder: 'Enter address or ENS',
56
44
  prefix: 'To:',
57
45
  editable: true,
58
46
  hideClearButton: false,
47
+ onQrCodeClick: () => alert('QR code scanner opened'),
48
+ },
49
+ render: (args) => {
50
+ const [address, setAddress] = useState('');
51
+
52
+ return <AddressInput {...args} value={address} onChangeText={setAddress} />;
59
53
  },
60
54
  };
61
55
 
62
56
  export const WithContent: Story = {
63
- render: (args) => <AddressInputStory {...args} />,
64
- args: {
65
- placeholder: 'Enter address or ENS',
66
- value: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
67
- prefix: 'To:',
68
- editable: true,
69
- hideClearButton: false,
57
+ render: () => {
58
+ const [address, setAddress] = useState(
59
+ '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
60
+ );
61
+
62
+ return (
63
+ <AddressInput
64
+ placeholder='Enter address or ENS'
65
+ prefix='To:'
66
+ editable
67
+ hideClearButton={false}
68
+ value={address}
69
+ onChangeText={setAddress}
70
+ onQrCodeClick={() => alert('QR code scanner opened')}
71
+ />
72
+ );
70
73
  },
71
74
  };
72
75
 
73
76
  export const WithCustomPrefix: Story = {
74
- render: (args) => <AddressInputStory {...args} />,
75
- args: {
76
- placeholder: 'Enter sender address',
77
- prefix: 'From:',
78
- editable: true,
79
- hideClearButton: false,
77
+ render: () => {
78
+ const [address, setAddress] = useState('');
79
+
80
+ return (
81
+ <AddressInput
82
+ placeholder='Enter sender address'
83
+ prefix='From:'
84
+ editable
85
+ hideClearButton={false}
86
+ value={address}
87
+ onChangeText={setAddress}
88
+ onQrCodeClick={() => alert('QR code scanner opened')}
89
+ />
90
+ );
80
91
  },
81
92
  };
82
93
 
83
- const AddressInputWithoutQrStory = (args: AddressInputProps) => {
84
- const [address, setAddress] = useState(args.value?.toString() ?? '');
85
-
86
- return (
87
- <View
88
- style={{
89
- flex: 1,
90
- minHeight: 96,
91
- alignItems: 'center',
92
- justifyContent: 'center',
93
- padding: 24,
94
- }}
95
- >
96
- <View style={{ width: '100%', maxWidth: 400 }}>
97
- <AddressInput
98
- {...args}
99
- value={address}
100
- onChangeText={setAddress}
101
- onQrCodeClick={undefined}
102
- />
103
- </View>
104
- </View>
105
- );
106
- };
107
-
108
94
  export const WithoutQrCode: Story = {
109
- render: (args) => <AddressInputWithoutQrStory {...args} />,
110
- args: {
111
- placeholder: 'Enter address or ENS',
112
- prefix: 'To:',
113
- editable: true,
114
- hideClearButton: false,
95
+ render: () => {
96
+ const [address, setAddress] = useState('');
97
+
98
+ return (
99
+ <AddressInput
100
+ placeholder='Enter address or ENS'
101
+ prefix='To:'
102
+ editable
103
+ hideClearButton={false}
104
+ value={address}
105
+ onChangeText={setAddress}
106
+ />
107
+ );
115
108
  },
116
109
  };
117
110
 
118
111
  export const WithError: Story = {
119
- render: (args) => <AddressInputStory {...args} />,
120
- args: {
121
- placeholder: 'Enter address or ENS',
122
- value: 'invalid-address',
123
- helperText: 'Invalid address format',
124
- status: 'error',
125
- prefix: 'To:',
126
- editable: true,
127
- hideClearButton: false,
112
+ render: () => {
113
+ const [address, setAddress] = useState('invalid-address');
114
+
115
+ return (
116
+ <AddressInput
117
+ placeholder='Enter address or ENS'
118
+ helperText='Invalid address format'
119
+ status='error'
120
+ prefix='To:'
121
+ editable
122
+ hideClearButton={false}
123
+ value={address}
124
+ onChangeText={setAddress}
125
+ onQrCodeClick={() => alert('QR code scanner opened')}
126
+ />
127
+ );
128
128
  },
129
129
  };
130
130
 
131
131
  export const WithMultiline: Story = {
132
- render: (args) => <AddressInputStory {...args} />,
133
- args: {
134
- placeholder: 'Enter address or ENS',
135
- value: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
136
- prefix: 'To:',
137
- multiline: true,
138
- minLines: 2,
139
- maxLines: 5,
140
- editable: true,
141
- hideClearButton: false,
132
+ render: () => {
133
+ const [address, setAddress] = useState(
134
+ '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
135
+ );
136
+
137
+ return (
138
+ <AddressInput
139
+ placeholder='Enter address or ENS'
140
+ prefix='To:'
141
+ multiline
142
+ minLines={2}
143
+ maxLines={5}
144
+ editable
145
+ hideClearButton={false}
146
+ value={address}
147
+ onChangeText={setAddress}
148
+ onQrCodeClick={() => alert('QR code scanner opened')}
149
+ />
150
+ );
142
151
  },
143
152
  };
144
153
 
145
154
  export const WithMultilineFixedHeight: Story = {
146
- render: (args) => <AddressInputStory {...args} />,
147
- args: {
148
- placeholder: 'Enter address or ENS',
149
- value: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
150
- prefix: 'To:',
151
- multiline: true,
152
- minLines: 4,
153
- maxLines: 4,
154
- editable: true,
155
- hideClearButton: false,
155
+ render: () => {
156
+ const [address, setAddress] = useState(
157
+ '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
158
+ );
159
+
160
+ return (
161
+ <AddressInput
162
+ placeholder='Enter address or ENS'
163
+ prefix='To:'
164
+ multiline
165
+ minLines={4}
166
+ maxLines={4}
167
+ editable
168
+ hideClearButton={false}
169
+ value={address}
170
+ onChangeText={setAddress}
171
+ onQrCodeClick={() => alert('QR code scanner opened')}
172
+ />
173
+ );
156
174
  },
157
175
  };
158
176
 
159
177
  export const Disabled: Story = {
160
- render: (args) => <AddressInputStory {...args} />,
161
- args: {
162
- placeholder: 'Enter address or ENS',
163
- value: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
164
- prefix: 'To:',
165
- disabled: true,
166
- hideClearButton: false,
178
+ render: () => {
179
+ const [address, setAddress] = useState(
180
+ '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
181
+ );
182
+
183
+ return (
184
+ <AddressInput
185
+ placeholder='Enter address or ENS'
186
+ prefix='To:'
187
+ disabled
188
+ hideClearButton={false}
189
+ value={address}
190
+ onChangeText={setAddress}
191
+ onQrCodeClick={() => alert('QR code scanner opened')}
192
+ />
193
+ );
167
194
  },
168
195
  };
169
196
 
170
197
  export const ReadOnly: Story = {
171
- render: (args) => <AddressInputStory {...args} />,
172
- args: {
173
- placeholder: 'Enter address or ENS',
174
- value: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
175
- prefix: 'To:',
176
- readOnly: true,
177
- hideClearButton: false,
198
+ render: () => {
199
+ const [address, setAddress] = useState(
200
+ '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
201
+ );
202
+
203
+ return (
204
+ <AddressInput
205
+ placeholder='Enter address or ENS'
206
+ prefix='To:'
207
+ readOnly
208
+ hideClearButton={false}
209
+ value={address}
210
+ onChangeText={setAddress}
211
+ onQrCodeClick={() => alert('QR code scanner opened')}
212
+ />
213
+ );
178
214
  },
179
215
  };
180
216
 
181
217
  export const WithHiddenClearButton: Story = {
182
- render: (args) => <AddressInputStory {...args} />,
183
- args: {
184
- placeholder: 'Enter address or ENS',
185
- value: '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
186
- prefix: 'To:',
187
- editable: true,
188
- hideClearButton: true,
218
+ render: () => {
219
+ const [address, setAddress] = useState(
220
+ '0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27',
221
+ );
222
+
223
+ return (
224
+ <AddressInput
225
+ placeholder='Enter address or ENS'
226
+ prefix='To:'
227
+ editable
228
+ hideClearButton
229
+ value={address}
230
+ onChangeText={setAddress}
231
+ onQrCodeClick={() => alert('QR code scanner opened')}
232
+ />
233
+ );
189
234
  },
190
235
  };
@@ -104,21 +104,20 @@ export default meta;
104
104
  type Story = StoryObj<typeof AmountDisplay>;
105
105
 
106
106
  export const Base: Story = {
107
+ parameters: {
108
+ docs: { source: { type: 'dynamic' } },
109
+ jsx: { functionValue: (fn: { name?: string }) => fn.name || '() => {}' },
110
+ },
107
111
  args: {
108
112
  value: 1234.56,
109
- },
110
- parameters: {
111
- docs: {
112
- source: {
113
- code: `<AmountDisplay value={1234.56} />`,
114
- },
115
- },
113
+ formatter: eurFormatter,
116
114
  },
117
115
  };
118
116
 
119
117
  export const Sizes: Story = {
120
118
  args: {
121
119
  value: 1234.56,
120
+ formatter: eurFormatter,
122
121
  },
123
122
  render: (props) => (
124
123
  <View style={{ alignItems: 'center', gap: 24 }}>
@@ -179,6 +178,7 @@ export const AnimationShowcase: Story = {
179
178
  export const Loading: Story = {
180
179
  args: {
181
180
  value: 1234.56,
181
+ formatter: eurFormatter,
182
182
  },
183
183
  render: (props) => {
184
184
  return (