@ledgerhq/lumen-ui-rnative 0.1.65 → 0.1.67

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 (304) hide show
  1. package/dist/module/index.js +1 -1
  2. package/dist/module/index.js.map +1 -1
  3. package/dist/module/lib/Components/core/AddressInput/AddressInput.js +1 -1
  4. package/dist/module/lib/Components/core/AddressInput/AddressInput.js.map +1 -1
  5. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.js +1 -1
  6. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.js.map +1 -1
  7. package/dist/module/lib/Components/core/AmountInput/AmountInput.js +1 -1
  8. package/dist/module/lib/Components/core/AmountInput/AmountInput.js.map +1 -1
  9. package/dist/module/lib/Components/core/Avatar/Avatar.js +1 -1
  10. package/dist/module/lib/Components/core/Avatar/Avatar.js.map +1 -1
  11. package/dist/module/lib/Components/core/Banner/Banner.js +1 -1
  12. package/dist/module/lib/Components/core/Banner/Banner.js.map +1 -1
  13. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js +6 -3
  14. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js.map +1 -1
  15. package/dist/module/lib/Components/core/BottomSheet/BottomSheetHeader.js +1 -1
  16. package/dist/module/lib/Components/core/BottomSheet/BottomSheetHeader.js.map +1 -1
  17. package/dist/module/lib/Components/core/Card/Card.figma.js +0 -1
  18. package/dist/module/lib/Components/core/Card/Card.figma.js.map +1 -1
  19. package/dist/module/lib/Components/core/Card/Card.stories.js +0 -2
  20. package/dist/module/lib/Components/core/Card/Card.stories.js.map +1 -1
  21. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js +0 -1
  22. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js.map +1 -1
  23. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.js +2 -2
  24. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.js.map +1 -1
  25. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.mdx +4 -4
  26. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +1 -9
  27. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +1 -1
  28. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js +0 -1
  29. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js.map +1 -1
  30. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +0 -5
  31. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +1 -1
  32. package/dist/module/lib/Components/core/ListItem/ListItem.figma.js +0 -1
  33. package/dist/module/lib/Components/core/ListItem/ListItem.figma.js.map +1 -1
  34. package/dist/module/lib/Components/core/ListItem/ListItem.js +1 -1
  35. package/dist/module/lib/Components/core/ListItem/ListItem.mdx +10 -10
  36. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +2 -29
  37. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +1 -1
  38. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.js +1 -1
  39. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.js.map +1 -1
  40. package/dist/module/lib/Components/core/MediaCard/MediaCard.js +1 -1
  41. package/dist/module/lib/Components/core/MediaCard/MediaCard.js.map +1 -1
  42. package/dist/module/lib/Components/core/NavBar/NavBar.js +1 -1
  43. package/dist/module/lib/Components/core/NavBar/NavBar.js.map +1 -1
  44. package/dist/module/lib/Components/core/SelectList/SelectList.mdx +1 -1
  45. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +0 -1
  46. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +1 -1
  47. package/dist/module/lib/Components/core/Spinner/Spinner.js +1 -1
  48. package/dist/module/lib/Components/core/Spinner/Spinner.js.map +1 -1
  49. package/dist/module/lib/Components/core/Spot/Spot.figma.js +31 -16
  50. package/dist/module/lib/Components/core/Spot/Spot.figma.js.map +1 -1
  51. package/dist/module/lib/Components/core/Spot/Spot.js +24 -146
  52. package/dist/module/lib/Components/core/Spot/Spot.js.map +1 -1
  53. package/dist/module/lib/Components/core/Spot/Spot.mdx +47 -108
  54. package/dist/module/lib/Components/core/Spot/Spot.stories.js +108 -215
  55. package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +1 -1
  56. package/dist/module/lib/Components/core/Spot/Spot.test.js +61 -0
  57. package/dist/module/lib/Components/core/Spot/Spot.test.js.map +1 -0
  58. package/dist/module/lib/Components/core/Spot/SpotNumber.js +56 -0
  59. package/dist/module/lib/Components/core/Spot/SpotNumber.js.map +1 -0
  60. package/dist/module/lib/Components/core/Spot/SpotNumber.test.js +72 -0
  61. package/dist/module/lib/Components/core/Spot/SpotNumber.test.js.map +1 -0
  62. package/dist/module/lib/Components/core/Spot/index.js +1 -0
  63. package/dist/module/lib/Components/core/Spot/index.js.map +1 -1
  64. package/dist/module/lib/Components/core/Spot/useSpotStyles.js +93 -0
  65. package/dist/module/lib/Components/core/Spot/useSpotStyles.js.map +1 -0
  66. package/dist/module/lib/Components/core/Stepper/Stepper.js +1 -1
  67. package/dist/module/lib/Components/core/Stepper/Stepper.js.map +1 -1
  68. package/dist/module/lib/Components/core/Subheader/Subheader.js +5 -1
  69. package/dist/module/lib/Components/core/Subheader/Subheader.js.map +1 -1
  70. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.js +2 -2
  71. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.js.map +1 -1
  72. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js +9 -1
  73. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js.map +1 -1
  74. package/dist/module/lib/Components/core/Tile/Tile.figma.js +0 -1
  75. package/dist/module/lib/Components/core/Tile/Tile.figma.js.map +1 -1
  76. package/dist/module/lib/Components/core/Tile/Tile.js +3 -3
  77. package/dist/module/lib/Components/core/Tile/Tile.mdx +8 -8
  78. package/dist/module/lib/Components/core/Tile/Tile.stories.js +7 -25
  79. package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +1 -1
  80. package/dist/module/lib/Components/core/Toast/hooks/useToastAccessibility.js +1 -1
  81. package/dist/module/lib/Components/core/Toast/hooks/useToastAccessibility.js.map +1 -1
  82. package/dist/module/lib/Components/core/Trend/Trend.js +1 -1
  83. package/dist/module/lib/Components/core/Trend/Trend.js.map +1 -1
  84. package/dist/module/lib/Components/internal/BaseInput/BaseInput.js +1 -1
  85. package/dist/module/lib/Components/internal/BaseInput/BaseInput.js.map +1 -1
  86. package/dist/module/lib/Components/symbols/icons/AiBubble.js +60 -0
  87. package/dist/module/lib/Components/symbols/icons/AiBubble.js.map +1 -0
  88. package/dist/module/lib/Components/symbols/icons/ArrowBottomLeft.js +49 -0
  89. package/dist/module/lib/Components/symbols/icons/ArrowBottomLeft.js.map +1 -0
  90. package/dist/module/lib/Components/symbols/icons/Bug.js +1 -1
  91. package/dist/module/lib/Components/symbols/icons/Bug.js.map +1 -1
  92. package/dist/module/lib/Components/symbols/icons/Hourglass.js +49 -0
  93. package/dist/module/lib/Components/symbols/icons/Hourglass.js.map +1 -0
  94. package/dist/module/lib/Components/symbols/icons/Repeat.js +49 -0
  95. package/dist/module/lib/Components/symbols/icons/Repeat.js.map +1 -0
  96. package/dist/module/lib/Components/symbols/icons/Robot.js +57 -0
  97. package/dist/module/lib/Components/symbols/icons/Robot.js.map +1 -0
  98. package/dist/module/lib/Components/symbols/icons/Switch.js +11 -5
  99. package/dist/module/lib/Components/symbols/icons/Switch.js.map +1 -1
  100. package/dist/module/lib/Components/symbols/icons/Wifi.js +52 -0
  101. package/dist/module/lib/Components/symbols/icons/Wifi.js.map +1 -0
  102. package/dist/module/lib/Components/symbols/index.js +6 -0
  103. package/dist/module/lib/Components/symbols/index.js.map +1 -1
  104. package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js +6 -2
  105. package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js.map +1 -1
  106. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.js +8 -4
  107. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.js.map +1 -1
  108. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +1 -1
  109. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +1 -1
  110. package/dist/module/lib/Components/visualization/DonutChart/DonutRing.js +12 -3
  111. package/dist/module/lib/Components/visualization/DonutChart/DonutRing.js.map +1 -1
  112. package/dist/module/lib/Components/visualization/Legend/Legend.js +1 -1
  113. package/dist/module/lib/Components/visualization/Legend/Legend.js.map +1 -1
  114. package/dist/module/lib/Components/visualization/Legend/Legend.test.js +12 -8
  115. package/dist/module/lib/Components/visualization/Legend/Legend.test.js.map +1 -1
  116. package/dist/module/lib/Components/visualization/LineChart/LineChart.js +8 -2
  117. package/dist/module/lib/Components/visualization/LineChart/LineChart.js.map +1 -1
  118. package/dist/module/lib/Components/visualization/LineChart/utils.js +3 -2
  119. package/dist/module/lib/Components/visualization/LineChart/utils.js.map +1 -1
  120. package/dist/module/lib/Components/visualization/LineChart/utils.test.js +8 -4
  121. package/dist/module/lib/Components/visualization/LineChart/utils.test.js.map +1 -1
  122. package/dist/module/lib/Components/visualization/config.js +1 -4
  123. package/dist/module/lib/Components/visualization/config.js.map +1 -1
  124. package/dist/module/translations/index.js +5 -0
  125. package/dist/module/translations/index.js.map +1 -0
  126. package/dist/module/{i18n → translations}/languages.js +0 -6
  127. package/dist/module/translations/languages.js.map +1 -0
  128. package/dist/module/{i18n → translations}/locales/de.json +0 -3
  129. package/{src/i18n → dist/module/translations}/locales/en.json +9 -3
  130. package/{src/i18n → dist/module/translations}/locales/es.json +0 -3
  131. package/dist/module/{i18n → translations}/locales/fr.json +0 -3
  132. package/{src/i18n → dist/module/translations}/locales/ja.json +0 -3
  133. package/dist/module/{i18n → translations}/locales/ko.json +0 -3
  134. package/dist/module/{i18n → translations}/locales/pt.json +0 -3
  135. package/dist/module/{i18n → translations}/locales/ru.json +0 -3
  136. package/dist/module/{i18n → translations}/locales/th.json +0 -3
  137. package/dist/module/{i18n → translations}/locales/tr.json +0 -3
  138. package/{src/i18n → dist/module/translations}/locales/zh.json +0 -3
  139. package/dist/module/translations/translations.js +36 -0
  140. package/dist/module/translations/translations.js.map +1 -0
  141. package/dist/module/translations/translations.test.js +34 -0
  142. package/dist/module/translations/translations.test.js.map +1 -0
  143. package/dist/typescript/src/index.d.ts +1 -1
  144. package/dist/typescript/src/index.d.ts.map +1 -1
  145. package/dist/typescript/src/lib/Components/core/ContentBanner/ContentBanner.d.ts +1 -1
  146. package/dist/typescript/src/lib/Components/core/ListItem/ListItem.d.ts +1 -1
  147. package/dist/typescript/src/lib/Components/core/Spot/Spot.d.ts +7 -25
  148. package/dist/typescript/src/lib/Components/core/Spot/Spot.d.ts.map +1 -1
  149. package/dist/typescript/src/lib/Components/core/Spot/SpotNumber.d.ts +16 -0
  150. package/dist/typescript/src/lib/Components/core/Spot/SpotNumber.d.ts.map +1 -0
  151. package/dist/typescript/src/lib/Components/core/Spot/index.d.ts +1 -0
  152. package/dist/typescript/src/lib/Components/core/Spot/index.d.ts.map +1 -1
  153. package/dist/typescript/src/lib/Components/core/Spot/types.d.ts +29 -29
  154. package/dist/typescript/src/lib/Components/core/Spot/types.d.ts.map +1 -1
  155. package/dist/typescript/src/lib/Components/core/Spot/useSpotStyles.d.ts +14 -0
  156. package/dist/typescript/src/lib/Components/core/Spot/useSpotStyles.d.ts.map +1 -0
  157. package/dist/typescript/src/lib/Components/core/Subheader/Subheader.d.ts.map +1 -1
  158. package/dist/typescript/src/lib/Components/core/ThemeProvider/types.d.ts +1 -1
  159. package/dist/typescript/src/lib/Components/core/ThemeProvider/types.d.ts.map +1 -1
  160. package/dist/typescript/src/lib/Components/core/Tile/Tile.d.ts +3 -3
  161. package/dist/typescript/src/lib/Components/symbols/icons/AiBubble.d.ts +35 -0
  162. package/dist/typescript/src/lib/Components/symbols/icons/AiBubble.d.ts.map +1 -0
  163. package/dist/typescript/src/lib/Components/symbols/icons/ArrowBottomLeft.d.ts +35 -0
  164. package/dist/typescript/src/lib/Components/symbols/icons/ArrowBottomLeft.d.ts.map +1 -0
  165. package/dist/typescript/src/lib/Components/symbols/icons/Hourglass.d.ts +35 -0
  166. package/dist/typescript/src/lib/Components/symbols/icons/Hourglass.d.ts.map +1 -0
  167. package/dist/typescript/src/lib/Components/symbols/icons/Repeat.d.ts +35 -0
  168. package/dist/typescript/src/lib/Components/symbols/icons/Repeat.d.ts.map +1 -0
  169. package/dist/typescript/src/lib/Components/symbols/icons/Robot.d.ts +35 -0
  170. package/dist/typescript/src/lib/Components/symbols/icons/Robot.d.ts.map +1 -0
  171. package/dist/typescript/src/lib/Components/symbols/icons/Switch.d.ts.map +1 -1
  172. package/dist/typescript/src/lib/Components/symbols/icons/Wifi.d.ts +35 -0
  173. package/dist/typescript/src/lib/Components/symbols/icons/Wifi.d.ts.map +1 -0
  174. package/dist/typescript/src/lib/Components/symbols/index.d.ts +6 -0
  175. package/dist/typescript/src/lib/Components/symbols/index.d.ts.map +1 -1
  176. package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
  177. package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +1 -1
  178. package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChart.d.ts.map +1 -1
  179. package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutRing.d.ts.map +1 -1
  180. package/dist/typescript/src/lib/Components/visualization/DonutChart/types.d.ts +1 -1
  181. package/dist/typescript/src/lib/Components/visualization/Legend/Legend.d.ts.map +1 -1
  182. package/dist/typescript/src/lib/Components/visualization/Legend/types.d.ts +2 -2
  183. package/dist/typescript/src/lib/Components/visualization/LineChart/LineChart.d.ts +1 -1
  184. package/dist/typescript/src/lib/Components/visualization/LineChart/LineChart.d.ts.map +1 -1
  185. package/dist/typescript/src/lib/Components/visualization/LineChart/types.d.ts +1 -1
  186. package/dist/typescript/src/lib/Components/visualization/LineChart/utils.d.ts +2 -1
  187. package/dist/typescript/src/lib/Components/visualization/LineChart/utils.d.ts.map +1 -1
  188. package/dist/typescript/src/lib/Components/visualization/config.d.ts +0 -3
  189. package/dist/typescript/src/lib/Components/visualization/config.d.ts.map +1 -1
  190. package/dist/typescript/src/translations/index.d.ts +3 -0
  191. package/dist/typescript/src/translations/index.d.ts.map +1 -0
  192. package/dist/typescript/src/{i18n → translations}/languages.d.ts +0 -5
  193. package/dist/typescript/src/translations/languages.d.ts.map +1 -0
  194. package/dist/typescript/src/translations/translations.d.ts +421 -0
  195. package/dist/typescript/src/translations/translations.d.ts.map +1 -0
  196. package/package.json +4 -6
  197. package/src/index.ts +1 -1
  198. package/src/lib/Components/core/AddressInput/AddressInput.tsx +1 -1
  199. package/src/lib/Components/core/AmountDisplay/AmountDisplay.tsx +1 -1
  200. package/src/lib/Components/core/AmountInput/AmountInput.tsx +1 -1
  201. package/src/lib/Components/core/Avatar/Avatar.tsx +1 -1
  202. package/src/lib/Components/core/Banner/Banner.tsx +1 -1
  203. package/src/lib/Components/core/BottomSheet/BottomSheet.stories.tsx +12 -4
  204. package/src/lib/Components/core/BottomSheet/BottomSheetHeader.tsx +1 -1
  205. package/src/lib/Components/core/Card/Card.figma.tsx +1 -1
  206. package/src/lib/Components/core/Card/Card.stories.tsx +2 -2
  207. package/src/lib/Components/core/ContentBanner/ContentBanner.figma.tsx +1 -1
  208. package/src/lib/Components/core/ContentBanner/ContentBanner.mdx +4 -4
  209. package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +9 -9
  210. package/src/lib/Components/core/ContentBanner/ContentBanner.test.tsx +1 -1
  211. package/src/lib/Components/core/ContentBanner/ContentBanner.tsx +2 -2
  212. package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +5 -5
  213. package/src/lib/Components/core/ListItem/ListItem.figma.tsx +1 -1
  214. package/src/lib/Components/core/ListItem/ListItem.mdx +10 -10
  215. package/src/lib/Components/core/ListItem/ListItem.stories.tsx +29 -33
  216. package/src/lib/Components/core/ListItem/ListItem.tsx +1 -1
  217. package/src/lib/Components/core/MediaBanner/MediaBanner.tsx +1 -1
  218. package/src/lib/Components/core/MediaCard/MediaCard.tsx +1 -1
  219. package/src/lib/Components/core/NavBar/NavBar.tsx +1 -1
  220. package/src/lib/Components/core/SelectList/SelectList.mdx +1 -1
  221. package/src/lib/Components/core/SelectList/SelectList.stories.tsx +1 -1
  222. package/src/lib/Components/core/Spinner/Spinner.tsx +1 -1
  223. package/src/lib/Components/core/Spot/Spot.figma.tsx +42 -21
  224. package/src/lib/Components/core/Spot/Spot.mdx +47 -108
  225. package/src/lib/Components/core/Spot/Spot.stories.tsx +114 -175
  226. package/src/lib/Components/core/Spot/Spot.test.tsx +71 -0
  227. package/src/lib/Components/core/Spot/Spot.tsx +21 -163
  228. package/src/lib/Components/core/Spot/SpotNumber.test.tsx +93 -0
  229. package/src/lib/Components/core/Spot/SpotNumber.tsx +48 -0
  230. package/src/lib/Components/core/Spot/index.ts +1 -0
  231. package/src/lib/Components/core/Spot/types.ts +39 -41
  232. package/src/lib/Components/core/Spot/useSpotStyles.ts +119 -0
  233. package/src/lib/Components/core/Stepper/Stepper.tsx +1 -1
  234. package/src/lib/Components/core/Subheader/Subheader.tsx +3 -1
  235. package/src/lib/Components/core/ThemeProvider/ThemeProvider.test.tsx +12 -1
  236. package/src/lib/Components/core/ThemeProvider/ThemeProvider.tsx +3 -3
  237. package/src/lib/Components/core/ThemeProvider/types.ts +1 -1
  238. package/src/lib/Components/core/Tile/Tile.figma.tsx +1 -1
  239. package/src/lib/Components/core/Tile/Tile.mdx +8 -8
  240. package/src/lib/Components/core/Tile/Tile.stories.tsx +32 -25
  241. package/src/lib/Components/core/Tile/Tile.tsx +3 -3
  242. package/src/lib/Components/core/Toast/hooks/useToastAccessibility.ts +1 -1
  243. package/src/lib/Components/core/Trend/Trend.tsx +1 -1
  244. package/src/lib/Components/internal/BaseInput/BaseInput.tsx +1 -1
  245. package/src/lib/Components/symbols/icons/AiBubble.tsx +51 -0
  246. package/src/lib/Components/symbols/icons/ArrowBottomLeft.tsx +44 -0
  247. package/src/lib/Components/symbols/icons/Bug.tsx +1 -1
  248. package/src/lib/Components/symbols/icons/Hourglass.tsx +44 -0
  249. package/src/lib/Components/symbols/icons/Repeat.tsx +44 -0
  250. package/src/lib/Components/symbols/icons/Robot.tsx +44 -0
  251. package/src/lib/Components/symbols/icons/Switch.tsx +8 -1
  252. package/src/lib/Components/symbols/icons/Wifi.tsx +48 -0
  253. package/src/lib/Components/symbols/index.ts +6 -0
  254. package/src/lib/Components/visualization/CartesianChart/CartesianChart.tsx +4 -2
  255. package/src/lib/Components/visualization/CartesianChart/types.ts +1 -1
  256. package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +1 -3
  257. package/src/lib/Components/visualization/DonutChart/DonutChart.tsx +7 -3
  258. package/src/lib/Components/visualization/DonutChart/DonutRing.tsx +11 -1
  259. package/src/lib/Components/visualization/DonutChart/types.ts +1 -1
  260. package/src/lib/Components/visualization/Legend/Legend.test.tsx +9 -8
  261. package/src/lib/Components/visualization/Legend/Legend.tsx +1 -1
  262. package/src/lib/Components/visualization/Legend/types.ts +2 -2
  263. package/src/lib/Components/visualization/LineChart/LineChart.tsx +10 -2
  264. package/src/lib/Components/visualization/LineChart/types.ts +1 -1
  265. package/src/lib/Components/visualization/LineChart/utils.test.ts +4 -0
  266. package/src/lib/Components/visualization/LineChart/utils.ts +6 -2
  267. package/src/lib/Components/visualization/config.ts +0 -3
  268. package/src/translations/index.ts +2 -0
  269. package/src/{i18n → translations}/languages.ts +0 -6
  270. package/src/{i18n → translations}/locales/de.json +0 -3
  271. package/{dist/module/i18n → src/translations}/locales/en.json +9 -3
  272. package/{dist/module/i18n → src/translations}/locales/es.json +0 -3
  273. package/src/{i18n → translations}/locales/fr.json +0 -3
  274. package/{dist/module/i18n → src/translations}/locales/ja.json +0 -3
  275. package/src/{i18n → translations}/locales/ko.json +0 -3
  276. package/src/{i18n → translations}/locales/pt.json +0 -3
  277. package/src/{i18n → translations}/locales/ru.json +0 -3
  278. package/src/{i18n → translations}/locales/th.json +0 -3
  279. package/src/{i18n → translations}/locales/tr.json +0 -3
  280. package/{dist/module/i18n → src/translations}/locales/zh.json +0 -3
  281. package/src/translations/translations.test.ts +56 -0
  282. package/src/translations/translations.ts +21 -0
  283. package/dist/module/i18n/I18nProvider.js +0 -20
  284. package/dist/module/i18n/I18nProvider.js.map +0 -1
  285. package/dist/module/i18n/i18n.js +0 -82
  286. package/dist/module/i18n/i18n.js.map +0 -1
  287. package/dist/module/i18n/index.js +0 -6
  288. package/dist/module/i18n/index.js.map +0 -1
  289. package/dist/module/i18n/languages.js.map +0 -1
  290. package/dist/module/i18n/useCommonTranslation.js +0 -8
  291. package/dist/module/i18n/useCommonTranslation.js.map +0 -1
  292. package/dist/typescript/src/i18n/I18nProvider.d.ts +0 -8
  293. package/dist/typescript/src/i18n/I18nProvider.d.ts.map +0 -1
  294. package/dist/typescript/src/i18n/i18n.d.ts +0 -13
  295. package/dist/typescript/src/i18n/i18n.d.ts.map +0 -1
  296. package/dist/typescript/src/i18n/index.d.ts +0 -4
  297. package/dist/typescript/src/i18n/index.d.ts.map +0 -1
  298. package/dist/typescript/src/i18n/languages.d.ts.map +0 -1
  299. package/dist/typescript/src/i18n/useCommonTranslation.d.ts +0 -2
  300. package/dist/typescript/src/i18n/useCommonTranslation.d.ts.map +0 -1
  301. package/src/i18n/I18nProvider.tsx +0 -20
  302. package/src/i18n/i18n.ts +0 -107
  303. package/src/i18n/index.ts +0 -3
  304. package/src/i18n/useCommonTranslation.ts +0 -6
@@ -0,0 +1,421 @@
1
+ export declare const dictionaries: {
2
+ de: {
3
+ common: {
4
+ closeAriaLabel: string;
5
+ };
6
+ components: {
7
+ addressInput: {
8
+ qrCodeAriaLabel: string;
9
+ };
10
+ amountDisplay: {
11
+ amountHiddenAriaLabel: string;
12
+ };
13
+ avatar: {
14
+ defaultAriaLabel: string;
15
+ };
16
+ baseInput: {
17
+ clearInputAriaLabel: string;
18
+ };
19
+ spinner: {
20
+ loadingAriaLabel: string;
21
+ };
22
+ bottomSheetHeader: {
23
+ goBackAriaLabel: string;
24
+ closeAriaLabel: string;
25
+ };
26
+ banner: {
27
+ closeAriaLabel: string;
28
+ };
29
+ stepper: {
30
+ progressAriaLabel: string;
31
+ };
32
+ };
33
+ };
34
+ en: {
35
+ common: {
36
+ closeAriaLabel: string;
37
+ };
38
+ components: {
39
+ addressInput: {
40
+ qrCodeAriaLabel: string;
41
+ };
42
+ amountDisplay: {
43
+ amountHiddenAriaLabel: string;
44
+ };
45
+ avatar: {
46
+ defaultAriaLabel: string;
47
+ };
48
+ baseInput: {
49
+ clearInputAriaLabel: string;
50
+ };
51
+ spinner: {
52
+ loadingAriaLabel: string;
53
+ };
54
+ bottomSheetHeader: {
55
+ goBackAriaLabel: string;
56
+ closeAriaLabel: string;
57
+ };
58
+ banner: {
59
+ closeAriaLabel: string;
60
+ };
61
+ stepper: {
62
+ progressAriaLabel: string;
63
+ };
64
+ trend: {
65
+ positiveAriaLabel: string;
66
+ negativeAriaLabel: string;
67
+ neutralAriaLabel: string;
68
+ };
69
+ chart: {
70
+ emptyLabel: string;
71
+ loadingAriaLabel: string;
72
+ defaultAriaLabel: string;
73
+ selectedSegmentAriaLabel: string;
74
+ };
75
+ subheader: {
76
+ moreInfoAriaLabel: string;
77
+ };
78
+ };
79
+ };
80
+ es: {
81
+ common: {
82
+ closeAriaLabel: string;
83
+ };
84
+ components: {
85
+ addressInput: {
86
+ qrCodeAriaLabel: string;
87
+ };
88
+ amountDisplay: {
89
+ amountHiddenAriaLabel: string;
90
+ };
91
+ avatar: {
92
+ defaultAriaLabel: string;
93
+ };
94
+ baseInput: {
95
+ clearInputAriaLabel: string;
96
+ };
97
+ spinner: {
98
+ loadingAriaLabel: string;
99
+ };
100
+ bottomSheetHeader: {
101
+ goBackAriaLabel: string;
102
+ closeAriaLabel: string;
103
+ };
104
+ banner: {
105
+ closeAriaLabel: string;
106
+ };
107
+ stepper: {
108
+ progressAriaLabel: string;
109
+ };
110
+ };
111
+ };
112
+ fr: {
113
+ common: {
114
+ closeAriaLabel: string;
115
+ };
116
+ components: {
117
+ addressInput: {
118
+ qrCodeAriaLabel: string;
119
+ };
120
+ amountDisplay: {
121
+ amountHiddenAriaLabel: string;
122
+ };
123
+ avatar: {
124
+ defaultAriaLabel: string;
125
+ };
126
+ baseInput: {
127
+ clearInputAriaLabel: string;
128
+ };
129
+ spinner: {
130
+ loadingAriaLabel: string;
131
+ };
132
+ bottomSheetHeader: {
133
+ goBackAriaLabel: string;
134
+ closeAriaLabel: string;
135
+ };
136
+ banner: {
137
+ closeAriaLabel: string;
138
+ };
139
+ stepper: {
140
+ progressAriaLabel: string;
141
+ };
142
+ };
143
+ };
144
+ ja: {
145
+ common: {
146
+ closeAriaLabel: string;
147
+ };
148
+ components: {
149
+ addressInput: {
150
+ qrCodeAriaLabel: string;
151
+ };
152
+ amountDisplay: {
153
+ amountHiddenAriaLabel: string;
154
+ };
155
+ avatar: {
156
+ defaultAriaLabel: string;
157
+ };
158
+ baseInput: {
159
+ clearInputAriaLabel: string;
160
+ };
161
+ spinner: {
162
+ loadingAriaLabel: string;
163
+ };
164
+ bottomSheetHeader: {
165
+ goBackAriaLabel: string;
166
+ closeAriaLabel: string;
167
+ };
168
+ banner: {
169
+ closeAriaLabel: string;
170
+ };
171
+ stepper: {
172
+ progressAriaLabel: string;
173
+ };
174
+ };
175
+ };
176
+ ko: {
177
+ common: {
178
+ closeAriaLabel: string;
179
+ };
180
+ components: {
181
+ addressInput: {
182
+ qrCodeAriaLabel: string;
183
+ };
184
+ amountDisplay: {
185
+ amountHiddenAriaLabel: string;
186
+ };
187
+ avatar: {
188
+ defaultAriaLabel: string;
189
+ };
190
+ baseInput: {
191
+ clearInputAriaLabel: string;
192
+ };
193
+ spinner: {
194
+ loadingAriaLabel: string;
195
+ };
196
+ bottomSheetHeader: {
197
+ goBackAriaLabel: string;
198
+ closeAriaLabel: string;
199
+ };
200
+ banner: {
201
+ closeAriaLabel: string;
202
+ };
203
+ stepper: {
204
+ progressAriaLabel: string;
205
+ };
206
+ };
207
+ };
208
+ pt: {
209
+ common: {
210
+ closeAriaLabel: string;
211
+ };
212
+ components: {
213
+ addressInput: {
214
+ qrCodeAriaLabel: string;
215
+ };
216
+ amountDisplay: {
217
+ amountHiddenAriaLabel: string;
218
+ };
219
+ avatar: {
220
+ defaultAriaLabel: string;
221
+ };
222
+ baseInput: {
223
+ clearInputAriaLabel: string;
224
+ };
225
+ spinner: {
226
+ loadingAriaLabel: string;
227
+ };
228
+ bottomSheetHeader: {
229
+ goBackAriaLabel: string;
230
+ closeAriaLabel: string;
231
+ };
232
+ banner: {
233
+ closeAriaLabel: string;
234
+ };
235
+ stepper: {
236
+ progressAriaLabel: string;
237
+ };
238
+ };
239
+ };
240
+ ru: {
241
+ common: {
242
+ closeAriaLabel: string;
243
+ };
244
+ components: {
245
+ addressInput: {
246
+ qrCodeAriaLabel: string;
247
+ };
248
+ amountDisplay: {
249
+ amountHiddenAriaLabel: string;
250
+ };
251
+ avatar: {
252
+ defaultAriaLabel: string;
253
+ };
254
+ baseInput: {
255
+ clearInputAriaLabel: string;
256
+ };
257
+ spinner: {
258
+ loadingAriaLabel: string;
259
+ };
260
+ bottomSheetHeader: {
261
+ goBackAriaLabel: string;
262
+ closeAriaLabel: string;
263
+ };
264
+ banner: {
265
+ closeAriaLabel: string;
266
+ };
267
+ stepper: {
268
+ progressAriaLabel: string;
269
+ };
270
+ };
271
+ };
272
+ th: {
273
+ common: {
274
+ closeAriaLabel: string;
275
+ };
276
+ components: {
277
+ addressInput: {
278
+ qrCodeAriaLabel: string;
279
+ };
280
+ amountDisplay: {
281
+ amountHiddenAriaLabel: string;
282
+ };
283
+ avatar: {
284
+ defaultAriaLabel: string;
285
+ };
286
+ baseInput: {
287
+ clearInputAriaLabel: string;
288
+ };
289
+ spinner: {
290
+ loadingAriaLabel: string;
291
+ };
292
+ bottomSheetHeader: {
293
+ goBackAriaLabel: string;
294
+ closeAriaLabel: string;
295
+ };
296
+ banner: {
297
+ closeAriaLabel: string;
298
+ };
299
+ stepper: {
300
+ progressAriaLabel: string;
301
+ };
302
+ };
303
+ };
304
+ tr: {
305
+ common: {
306
+ closeAriaLabel: string;
307
+ };
308
+ components: {
309
+ addressInput: {
310
+ qrCodeAriaLabel: string;
311
+ };
312
+ amountDisplay: {
313
+ amountHiddenAriaLabel: string;
314
+ };
315
+ avatar: {
316
+ defaultAriaLabel: string;
317
+ };
318
+ baseInput: {
319
+ clearInputAriaLabel: string;
320
+ };
321
+ spinner: {
322
+ loadingAriaLabel: string;
323
+ };
324
+ bottomSheetHeader: {
325
+ goBackAriaLabel: string;
326
+ closeAriaLabel: string;
327
+ };
328
+ banner: {
329
+ closeAriaLabel: string;
330
+ };
331
+ stepper: {
332
+ progressAriaLabel: string;
333
+ };
334
+ };
335
+ };
336
+ zh: {
337
+ common: {
338
+ closeAriaLabel: string;
339
+ };
340
+ components: {
341
+ addressInput: {
342
+ qrCodeAriaLabel: string;
343
+ };
344
+ amountDisplay: {
345
+ amountHiddenAriaLabel: string;
346
+ };
347
+ avatar: {
348
+ defaultAriaLabel: string;
349
+ };
350
+ baseInput: {
351
+ clearInputAriaLabel: string;
352
+ };
353
+ spinner: {
354
+ loadingAriaLabel: string;
355
+ };
356
+ bottomSheetHeader: {
357
+ goBackAriaLabel: string;
358
+ closeAriaLabel: string;
359
+ };
360
+ banner: {
361
+ closeAriaLabel: string;
362
+ };
363
+ stepper: {
364
+ progressAriaLabel: string;
365
+ };
366
+ };
367
+ };
368
+ };
369
+ export declare const TranslationsProvider: import("react").FC<{
370
+ locale?: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | "th" | "tr" | "zh" | undefined;
371
+ children: import("react").ReactNode;
372
+ }>, useCommonTranslation: () => {
373
+ locale: "de" | "en" | "es" | "fr" | "ja" | "ko" | "pt" | "ru" | "th" | "tr" | "zh";
374
+ t: import("@ledgerhq/lumen-utils-shared").Translate<{
375
+ common: {
376
+ closeAriaLabel: string;
377
+ };
378
+ components: {
379
+ addressInput: {
380
+ qrCodeAriaLabel: string;
381
+ };
382
+ amountDisplay: {
383
+ amountHiddenAriaLabel: string;
384
+ };
385
+ avatar: {
386
+ defaultAriaLabel: string;
387
+ };
388
+ baseInput: {
389
+ clearInputAriaLabel: string;
390
+ };
391
+ spinner: {
392
+ loadingAriaLabel: string;
393
+ };
394
+ bottomSheetHeader: {
395
+ goBackAriaLabel: string;
396
+ closeAriaLabel: string;
397
+ };
398
+ banner: {
399
+ closeAriaLabel: string;
400
+ };
401
+ stepper: {
402
+ progressAriaLabel: string;
403
+ };
404
+ trend: {
405
+ positiveAriaLabel: string;
406
+ negativeAriaLabel: string;
407
+ neutralAriaLabel: string;
408
+ };
409
+ chart: {
410
+ emptyLabel: string;
411
+ loadingAriaLabel: string;
412
+ defaultAriaLabel: string;
413
+ selectedSegmentAriaLabel: string;
414
+ };
415
+ subheader: {
416
+ moreInfoAriaLabel: string;
417
+ };
418
+ };
419
+ }>;
420
+ };
421
+ //# sourceMappingURL=translations.d.ts.map
@@ -0,0 +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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/lumen-ui-rnative",
3
- "version": "0.1.65",
3
+ "version": "0.1.67",
4
4
  "license": "Apache-2.0",
5
5
  "keywords": [
6
6
  "react-native",
@@ -49,13 +49,11 @@
49
49
  "!**/*.tsbuildinfo"
50
50
  ],
51
51
  "dependencies": {
52
- "@ledgerhq/lumen-utils-shared": "0.1.15",
52
+ "@ledgerhq/lumen-utils-shared": "0.1.16",
53
53
  "@types/d3-scale": "^4.0.9",
54
54
  "@types/d3-shape": "^3.1.8",
55
55
  "d3-scale": "^4.0.2",
56
- "d3-shape": "^3.2.0",
57
- "i18next": "^23.7.0",
58
- "react-i18next": "^14.0.0"
56
+ "d3-shape": "^3.2.0"
59
57
  },
60
58
  "devDependencies": {
61
59
  "@types/react": "^19.0.0"
@@ -63,7 +61,7 @@
63
61
  "peerDependencies": {
64
62
  "@types/react": "^19.0.0",
65
63
  "@gorhom/bottom-sheet": "^5.0.0",
66
- "@ledgerhq/lumen-design-core": "0.1.31",
64
+ "@ledgerhq/lumen-design-core": "0.1.32",
67
65
  "react": "^19.0.0",
68
66
  "react-native": "~0.81.6",
69
67
  "react-native-gesture-handler": ">=2.0.0",
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { type SupportedLocale, Languages } from './i18n';
1
+ export { type SupportedLocale, Languages } from './translations';
2
2
  export { RuntimeConstants, useControllableState } from './lib/utils';
3
3
  export { useTheme, useStyleSheet } from './styles';
4
4
  export * from './lib/Components';
@@ -1,7 +1,7 @@
1
1
  import { useDisabledContext } from '@ledgerhq/lumen-utils-shared';
2
2
  import { StyleSheet, Text } from 'react-native';
3
- import { useCommonTranslation } from '../../../../i18n';
4
3
  import { useStyleSheet } from '../../../../styles';
4
+ import { useCommonTranslation } from '../../../../translations';
5
5
  import { RuntimeConstants } from '../../../utils';
6
6
  import { BaseInput } from '../../internal/BaseInput';
7
7
  import { QrCode } from '../../symbols';
@@ -7,9 +7,9 @@ import Animated, {
7
7
  useSharedValue,
8
8
  withTiming,
9
9
  } from 'react-native-reanimated';
10
- import { useCommonTranslation } from '../../../../i18n';
11
10
  import type { LumenTypographyTokenName } from '../../../../styles';
12
11
  import { useStyleSheet } from '../../../../styles';
12
+ import { useCommonTranslation } from '../../../../translations';
13
13
  import { RuntimeConstants, useGet } from '../../../utils';
14
14
  import { Pulse } from '../../animations/Pulse';
15
15
  import { useTimingConfig } from '../../animations/useTimingConfig';
@@ -117,7 +117,7 @@ export const AmountInput = ({
117
117
  <Pressable
118
118
  onPress={handlePress}
119
119
  style={styles.pressable}
120
- accessibilityLabel={props.accessibilityLabel || 'Amount input'}
120
+ accessibilityLabel={props.accessibilityLabel}
121
121
  >
122
122
  {currencyText && currencyPosition === 'left' && (
123
123
  <Currency style={[styles.currency, animatedCurrencyStyle]}>
@@ -2,12 +2,12 @@ import type { TypographyDefinition } from '@ledgerhq/lumen-design-core';
2
2
  import { AVATAR_COLOR_KEYS, capitalize } from '@ledgerhq/lumen-utils-shared';
3
3
  import { useEffect, useState } from 'react';
4
4
  import { Image, StyleSheet, Text, View } from 'react-native';
5
- import { useCommonTranslation } from '../../../../i18n';
6
5
  import {
7
6
  useStyleSheet,
8
7
  useTheme,
9
8
  type LumenStyleSheetTheme,
10
9
  } from '../../../../styles';
10
+ import { useCommonTranslation } from '../../../../translations';
11
11
  import { Box } from '../../primitives';
12
12
  import { User } from '../../symbols';
13
13
  import type { IconSize, IconProps } from '../../symbols/Icon';
@@ -1,8 +1,8 @@
1
1
  import { isTextChildren } from '@ledgerhq/lumen-utils-shared';
2
2
  import type { ComponentType } from 'react';
3
3
  import { StyleSheet, Text, View } from 'react-native';
4
- import { useCommonTranslation } from '../../../../i18n';
5
4
  import { useStyleSheet } from '../../../../styles';
5
+ import { useCommonTranslation } from '../../../../translations';
6
6
  import { Box } from '../../primitives';
7
7
  import {
8
8
  InformationFill,
@@ -2,7 +2,15 @@ import type { Meta, StoryObj } from '@storybook/react-vite';
2
2
  import type { FC } from 'react';
3
3
  import { useEffect, useState } from 'react';
4
4
  import { Box, RadialGradient, Text } from '../../primitives';
5
- import { Bell, Settings, Trash, Unlink } from '../../symbols';
5
+ import {
6
+ Bell,
7
+ CheckmarkCircleFill,
8
+ DeleteCircleFill,
9
+ InformationFill,
10
+ Settings,
11
+ Trash,
12
+ Unlink,
13
+ } from '../../symbols';
6
14
  import { Button } from '../Button';
7
15
  import { MenuList, MenuListItem, MenuListSwitchItem } from '../MenuList';
8
16
  import { SearchInput } from '../SearchInput';
@@ -796,7 +804,7 @@ export const InfoStateVariants: Story = {
796
804
  <BottomSheetView>
797
805
  <BottomSheetHeader density='compact' />
798
806
  <Box lx={{ alignItems: 'center', gap: 's24' }}>
799
- <Spot appearance='error' size={72} />
807
+ <Spot appearance='error' icon={DeleteCircleFill} size={72} />
800
808
  <Box lx={{ alignItems: 'center', gap: 's12' }}>
801
809
  <Text typography='heading4SemiBold' lx={{ color: 'base' }}>
802
810
  Title
@@ -825,7 +833,7 @@ export const InfoStateVariants: Story = {
825
833
  <BottomSheetView>
826
834
  <BottomSheetHeader density='compact' />
827
835
  <Box lx={{ alignItems: 'center', gap: 's24' }}>
828
- <Spot appearance='check' size={72} />
836
+ <Spot appearance='success' icon={CheckmarkCircleFill} size={72} />
829
837
  <Box lx={{ alignItems: 'center', gap: 's12' }}>
830
838
  <Text typography='heading4SemiBold' lx={{ color: 'base' }}>
831
839
  Title
@@ -854,7 +862,7 @@ export const InfoStateVariants: Story = {
854
862
  <BottomSheetView>
855
863
  <BottomSheetHeader density='compact' />
856
864
  <Box lx={{ alignItems: 'center', gap: 's24' }}>
857
- <Spot appearance='info' size={72} />
865
+ <Spot appearance='muted' icon={InformationFill} size={72} />
858
866
  <Box lx={{ alignItems: 'center', gap: 's12' }}>
859
867
  <Text typography='heading4SemiBold' lx={{ color: 'base' }}>
860
868
  Title
@@ -1,8 +1,8 @@
1
1
  import { useBottomSheet } from '@gorhom/bottom-sheet';
2
2
  import { useCallback } from 'react';
3
3
  import { StyleSheet } from 'react-native';
4
- import { useCommonTranslation } from '../../../../i18n';
5
4
  import { useStyleSheet } from '../../../../styles';
5
+ import { useCommonTranslation } from '../../../../translations';
6
6
  import { Box, Text } from '../../primitives';
7
7
  import { ArrowLeft, Close } from '../../symbols';
8
8
  import { IconButton } from '../IconButton';
@@ -58,7 +58,7 @@ figma.connect(
58
58
  title: figma.string('title'),
59
59
  description: figma.string('description'),
60
60
  leading: figma.enum('leading', {
61
- spot: <Spot appearance='icon' icon={Wallet} />,
61
+ spot: <Spot icon={Wallet} />,
62
62
  coin: <CryptoIcon ledgerId='bitcoin' ticker='BTC' size={48} />,
63
63
  provider: (
64
64
  <CryptoIcon
@@ -304,7 +304,7 @@ export const DisabledWithSpot: Story = {
304
304
  <Card {...args}>
305
305
  <CardHeader>
306
306
  <CardLeading>
307
- <Spot appearance='icon' icon={Wallet} disabled />
307
+ <Spot icon={Wallet} disabled />
308
308
  <CardContent>
309
309
  <CardContentTitle>My Wallet</CardContentTitle>
310
310
  <CardContentDescription>Ethereum</CardContentDescription>
@@ -540,7 +540,7 @@ export const CompositionsShowcase: Story = {
540
540
  <Card>
541
541
  <CardHeader>
542
542
  <CardLeading>
543
- <Spot appearance='icon' icon={Wallet} />
543
+ <Spot icon={Wallet} />
544
544
  <CardContent>
545
545
  <CardContentTitle>Bitcoin</CardContentTitle>
546
546
  <CardContentDescription>BTC</CardContentDescription>
@@ -30,7 +30,7 @@ figma.connect(
30
30
  onClose={props.onClose}
31
31
  closeAccessibilityLabel='Close content banner'
32
32
  >
33
- <Spot appearance='icon' icon={Settings} size={48} />
33
+ <Spot icon={Settings} size={48} />
34
34
  <ContentBannerContent>
35
35
  <ContentBannerTitle>{props.title}</ContentBannerTitle>
36
36
  <ContentBannerDescription>
@@ -101,7 +101,7 @@ import { Settings } from '@ledgerhq/lumen-ui-rnative/symbols';
101
101
  function MyComponent() {
102
102
  return (
103
103
  <ContentBanner>
104
- <Spot appearance='icon' icon={Settings} size={48} />
104
+ <Spot icon={Settings} size={48} />
105
105
  <ContentBannerContent>
106
106
  <ContentBannerTitle>Title</ContentBannerTitle>
107
107
  <ContentBannerDescription>
@@ -133,7 +133,7 @@ function MyComponent() {
133
133
  onClose={() => console.log('Closed')}
134
134
  closeAccessibilityLabel='Close banner'
135
135
  >
136
- <Spot appearance='icon' icon={Wallet} size={48} />
136
+ <Spot icon={Wallet} size={48} />
137
137
  <ContentBannerContent>
138
138
  <ContentBannerTitle>Dismissible Banner</ContentBannerTitle>
139
139
  <ContentBannerDescription>
@@ -215,7 +215,7 @@ import { Settings } from '@ledgerhq/lumen-ui-rnative/symbols';
215
215
  function MyComponent() {
216
216
  return (
217
217
  <ContentBanner>
218
- <Spot appearance='icon' icon={Settings} size={48} />
218
+ <Spot icon={Settings} size={48} />
219
219
  <ContentBannerContent>
220
220
  <ContentBannerTitle>Title Only</ContentBannerTitle>
221
221
  </ContentBannerContent>
@@ -230,7 +230,7 @@ Use the `lx` prop for layout adjustments like margins or positioning:
230
230
 
231
231
  ```tsx
232
232
  <ContentBanner lx={{ marginTop: 's16', marginBottom: 's8' }}>
233
- <Spot appearance='icon' icon={Settings} size={48} />
233
+ <Spot icon={Settings} size={48} />
234
234
  <ContentBannerContent>
235
235
  <ContentBannerTitle>With Margin</ContentBannerTitle>
236
236
  <ContentBannerDescription>