@ledgerhq/lumen-ui-rnative 0.1.70 → 0.1.71

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 (814) hide show
  1. package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js +2 -1
  2. package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js.map +1 -1
  3. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js +5 -3
  4. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js.map +1 -1
  5. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js +111 -29
  6. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js.map +1 -1
  7. package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js +30 -13
  8. package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js.map +1 -1
  9. package/dist/module/lib/Components/visualization/Scrubber/utils.js +16 -0
  10. package/dist/module/lib/Components/visualization/Scrubber/utils.js.map +1 -1
  11. package/dist/module/lib/Components/visualization/config.js +4 -0
  12. package/dist/module/lib/Components/visualization/config.js.map +1 -1
  13. package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
  14. package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts +2 -1
  15. package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts.map +1 -1
  16. package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +4 -0
  17. package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts.map +1 -1
  18. package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts +1 -1
  19. package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts.map +1 -1
  20. package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts +7 -1
  21. package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts.map +1 -1
  22. package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts +9 -6
  23. package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts.map +1 -1
  24. package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts +5 -0
  25. package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts.map +1 -1
  26. package/dist/typescript/src/lib/Components/visualization/config.d.ts +4 -0
  27. package/dist/typescript/src/lib/Components/visualization/config.d.ts.map +1 -1
  28. package/package.json +10 -2
  29. package/src/lib/Components/visualization/CartesianChart/CartesianChart.tsx +1 -0
  30. package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.ts +4 -1
  31. package/src/lib/Components/visualization/CartesianChart/types.ts +4 -0
  32. package/src/lib/Components/visualization/Scrubber/Scrubber.tsx +108 -31
  33. package/src/lib/Components/visualization/Scrubber/types.ts +7 -1
  34. package/src/lib/Components/visualization/Scrubber/useScrubberGeometry.ts +40 -15
  35. package/src/lib/Components/visualization/Scrubber/utils.ts +18 -0
  36. package/src/lib/Components/visualization/config.ts +4 -0
  37. package/dist/module/lib/Components/animations/Pulse/Pulse.mdx +0 -85
  38. package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js +0 -156
  39. package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js.map +0 -1
  40. package/dist/module/lib/Components/animations/Spin/Spin.mdx +0 -84
  41. package/dist/module/lib/Components/animations/Spin/Spin.stories.js +0 -133
  42. package/dist/module/lib/Components/animations/Spin/Spin.stories.js.map +0 -1
  43. package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js +0 -40
  44. package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js.map +0 -1
  45. package/dist/module/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
  46. package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js +0 -188
  47. package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js.map +0 -1
  48. package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js +0 -56
  49. package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js.map +0 -1
  50. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js +0 -31
  51. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js.map +0 -1
  52. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
  53. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js +0 -188
  54. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js.map +0 -1
  55. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js +0 -409
  56. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js.map +0 -1
  57. package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js +0 -70
  58. package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js.map +0 -1
  59. package/dist/module/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
  60. package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js +0 -254
  61. package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js.map +0 -1
  62. package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js +0 -152
  63. package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js.map +0 -1
  64. package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js +0 -78
  65. package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js.map +0 -1
  66. package/dist/module/lib/Components/core/Avatar/Avatar.figma.js +0 -32
  67. package/dist/module/lib/Components/core/Avatar/Avatar.figma.js.map +0 -1
  68. package/dist/module/lib/Components/core/Avatar/Avatar.mdx +0 -166
  69. package/dist/module/lib/Components/core/Avatar/Avatar.stories.js +0 -182
  70. package/dist/module/lib/Components/core/Avatar/Avatar.stories.js.map +0 -1
  71. package/dist/module/lib/Components/core/Avatar/Avatar.test.js +0 -330
  72. package/dist/module/lib/Components/core/Avatar/Avatar.test.js.map +0 -1
  73. package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js +0 -88
  74. package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js.map +0 -1
  75. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
  76. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js +0 -52
  77. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js.map +0 -1
  78. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js +0 -100
  79. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js.map +0 -1
  80. package/dist/module/lib/Components/core/Banner/Banner.figma.js +0 -107
  81. package/dist/module/lib/Components/core/Banner/Banner.figma.js.map +0 -1
  82. package/dist/module/lib/Components/core/Banner/Banner.mdx +0 -352
  83. package/dist/module/lib/Components/core/Banner/Banner.stories.js +0 -434
  84. package/dist/module/lib/Components/core/Banner/Banner.stories.js.map +0 -1
  85. package/dist/module/lib/Components/core/Banner/Banner.test.js +0 -120
  86. package/dist/module/lib/Components/core/Banner/Banner.test.js.map +0 -1
  87. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js +0 -49
  88. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js.map +0 -1
  89. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
  90. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js +0 -1034
  91. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js.map +0 -1
  92. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js +0 -632
  93. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js.map +0 -1
  94. package/dist/module/lib/Components/core/Button/Button.figma.js +0 -46
  95. package/dist/module/lib/Components/core/Button/Button.figma.js.map +0 -1
  96. package/dist/module/lib/Components/core/Button/Button.mdx +0 -168
  97. package/dist/module/lib/Components/core/Button/Button.stories.js +0 -300
  98. package/dist/module/lib/Components/core/Button/Button.stories.js.map +0 -1
  99. package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js +0 -19
  100. package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js.map +0 -1
  101. package/dist/module/lib/Components/core/Card/Card.figma.js +0 -158
  102. package/dist/module/lib/Components/core/Card/Card.figma.js.map +0 -1
  103. package/dist/module/lib/Components/core/Card/Card.mdx +0 -293
  104. package/dist/module/lib/Components/core/Card/Card.stories.js +0 -967
  105. package/dist/module/lib/Components/core/Card/Card.stories.js.map +0 -1
  106. package/dist/module/lib/Components/core/Card/Card.test.js +0 -226
  107. package/dist/module/lib/Components/core/Card/Card.test.js.map +0 -1
  108. package/dist/module/lib/Components/core/CardButton/CardButton.figma.js +0 -38
  109. package/dist/module/lib/Components/core/CardButton/CardButton.figma.js.map +0 -1
  110. package/dist/module/lib/Components/core/CardButton/CardButton.mdx +0 -246
  111. package/dist/module/lib/Components/core/CardButton/CardButton.stories.js +0 -284
  112. package/dist/module/lib/Components/core/CardButton/CardButton.stories.js.map +0 -1
  113. package/dist/module/lib/Components/core/CardButton/CardButton.test.js +0 -130
  114. package/dist/module/lib/Components/core/CardButton/CardButton.test.js.map +0 -1
  115. package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js +0 -48
  116. package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js.map +0 -1
  117. package/dist/module/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
  118. package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js +0 -141
  119. package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js.map +0 -1
  120. package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js +0 -103
  121. package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js.map +0 -1
  122. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js +0 -90
  123. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js.map +0 -1
  124. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
  125. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +0 -234
  126. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +0 -1
  127. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js +0 -137
  128. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js.map +0 -1
  129. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js +0 -29
  130. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js.map +0 -1
  131. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
  132. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js +0 -287
  133. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js.map +0 -1
  134. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js +0 -116
  135. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js.map +0 -1
  136. package/dist/module/lib/Components/core/Divider/Divider.figma.js +0 -10
  137. package/dist/module/lib/Components/core/Divider/Divider.figma.js.map +0 -1
  138. package/dist/module/lib/Components/core/Divider/Divider.mdx +0 -149
  139. package/dist/module/lib/Components/core/Divider/Divider.stories.js +0 -208
  140. package/dist/module/lib/Components/core/Divider/Divider.stories.js.map +0 -1
  141. package/dist/module/lib/Components/core/Divider/Divider.test.js +0 -101
  142. package/dist/module/lib/Components/core/Divider/Divider.test.js.map +0 -1
  143. package/dist/module/lib/Components/core/DotCount/DotCount.figma.js +0 -29
  144. package/dist/module/lib/Components/core/DotCount/DotCount.figma.js.map +0 -1
  145. package/dist/module/lib/Components/core/DotCount/DotCount.mdx +0 -86
  146. package/dist/module/lib/Components/core/DotCount/DotCount.stories.js +0 -192
  147. package/dist/module/lib/Components/core/DotCount/DotCount.stories.js.map +0 -1
  148. package/dist/module/lib/Components/core/DotCount/DotCount.test.js +0 -174
  149. package/dist/module/lib/Components/core/DotCount/DotCount.test.js.map +0 -1
  150. package/dist/module/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
  151. package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js +0 -288
  152. package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js.map +0 -1
  153. package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js +0 -260
  154. package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js.map +0 -1
  155. package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js +0 -38
  156. package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js.map +0 -1
  157. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js +0 -29
  158. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js.map +0 -1
  159. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
  160. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js +0 -123
  161. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js.map +0 -1
  162. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js +0 -156
  163. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js.map +0 -1
  164. package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js +0 -33
  165. package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js.map +0 -1
  166. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
  167. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +0 -401
  168. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +0 -1
  169. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js +0 -134
  170. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js.map +0 -1
  171. package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js +0 -56
  172. package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js.map +0 -1
  173. package/dist/module/lib/Components/core/IconButton/IconButton.figma.js +0 -42
  174. package/dist/module/lib/Components/core/IconButton/IconButton.figma.js.map +0 -1
  175. package/dist/module/lib/Components/core/IconButton/IconButton.mdx +0 -137
  176. package/dist/module/lib/Components/core/IconButton/IconButton.stories.js +0 -170
  177. package/dist/module/lib/Components/core/IconButton/IconButton.stories.js.map +0 -1
  178. package/dist/module/lib/Components/core/IconButton/IconButton.test.js +0 -107
  179. package/dist/module/lib/Components/core/IconButton/IconButton.test.js.map +0 -1
  180. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js +0 -51
  181. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js.map +0 -1
  182. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
  183. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js +0 -237
  184. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js.map +0 -1
  185. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js +0 -149
  186. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js.map +0 -1
  187. package/dist/module/lib/Components/core/Link/Link.figma.js +0 -42
  188. package/dist/module/lib/Components/core/Link/Link.figma.js.map +0 -1
  189. package/dist/module/lib/Components/core/Link/Link.mdx +0 -264
  190. package/dist/module/lib/Components/core/Link/Link.stories.js +0 -349
  191. package/dist/module/lib/Components/core/Link/Link.stories.js.map +0 -1
  192. package/dist/module/lib/Components/core/Link/Link.test.js +0 -157
  193. package/dist/module/lib/Components/core/Link/Link.test.js.map +0 -1
  194. package/dist/module/lib/Components/core/ListItem/ListItem.figma.js +0 -426
  195. package/dist/module/lib/Components/core/ListItem/ListItem.figma.js.map +0 -1
  196. package/dist/module/lib/Components/core/ListItem/ListItem.mdx +0 -461
  197. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +0 -817
  198. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +0 -1
  199. package/dist/module/lib/Components/core/ListItem/ListItem.test.js +0 -233
  200. package/dist/module/lib/Components/core/ListItem/ListItem.test.js.map +0 -1
  201. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js +0 -25
  202. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js.map +0 -1
  203. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
  204. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js +0 -183
  205. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js.map +0 -1
  206. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js +0 -129
  207. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js.map +0 -1
  208. package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js +0 -72
  209. package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js.map +0 -1
  210. package/dist/module/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
  211. package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js +0 -169
  212. package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js.map +0 -1
  213. package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js +0 -171
  214. package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js.map +0 -1
  215. package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js +0 -28
  216. package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js.map +0 -1
  217. package/dist/module/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
  218. package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js +0 -187
  219. package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js.map +0 -1
  220. package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js +0 -140
  221. package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js.map +0 -1
  222. package/dist/module/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
  223. package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js +0 -235
  224. package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js.map +0 -1
  225. package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js +0 -325
  226. package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js.map +0 -1
  227. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js +0 -215
  228. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js.map +0 -1
  229. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -96
  230. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +0 -258
  231. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js.map +0 -1
  232. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js +0 -246
  233. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js.map +0 -1
  234. package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js +0 -100
  235. package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js.map +0 -1
  236. package/dist/module/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
  237. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js +0 -145
  238. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js.map +0 -1
  239. package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js +0 -30
  240. package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js.map +0 -1
  241. package/dist/module/lib/Components/core/MenuList/MenuList.figma.js +0 -21
  242. package/dist/module/lib/Components/core/MenuList/MenuList.figma.js.map +0 -1
  243. package/dist/module/lib/Components/core/MenuList/MenuList.mdx +0 -79
  244. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +0 -192
  245. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +0 -1
  246. package/dist/module/lib/Components/core/MenuList/MenuList.test.js +0 -204
  247. package/dist/module/lib/Components/core/MenuList/MenuList.test.js.map +0 -1
  248. package/dist/module/lib/Components/core/NavBar/NavBar.figma.js +0 -80
  249. package/dist/module/lib/Components/core/NavBar/NavBar.figma.js.map +0 -1
  250. package/dist/module/lib/Components/core/NavBar/NavBar.mdx +0 -257
  251. package/dist/module/lib/Components/core/NavBar/NavBar.stories.js +0 -158
  252. package/dist/module/lib/Components/core/NavBar/NavBar.stories.js.map +0 -1
  253. package/dist/module/lib/Components/core/NavBar/NavBar.test.js +0 -405
  254. package/dist/module/lib/Components/core/NavBar/NavBar.test.js.map +0 -1
  255. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js +0 -13
  256. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js.map +0 -1
  257. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
  258. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js +0 -99
  259. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js.map +0 -1
  260. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js +0 -213
  261. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js.map +0 -1
  262. package/dist/module/lib/Components/core/Pagination/Pagination.figma.js +0 -22
  263. package/dist/module/lib/Components/core/Pagination/Pagination.figma.js.map +0 -1
  264. package/dist/module/lib/Components/core/Pagination/Pagination.mdx +0 -108
  265. package/dist/module/lib/Components/core/Pagination/Pagination.stories.js +0 -121
  266. package/dist/module/lib/Components/core/Pagination/Pagination.stories.js.map +0 -1
  267. package/dist/module/lib/Components/core/Pagination/Pagination.test.js +0 -338
  268. package/dist/module/lib/Components/core/Pagination/Pagination.test.js.map +0 -1
  269. package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js +0 -31
  270. package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js.map +0 -1
  271. package/dist/module/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
  272. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js +0 -125
  273. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js.map +0 -1
  274. package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js +0 -41
  275. package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js.map +0 -1
  276. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js +0 -22
  277. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js.map +0 -1
  278. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
  279. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js +0 -104
  280. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js.map +0 -1
  281. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js +0 -108
  282. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js.map +0 -1
  283. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js +0 -35
  284. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js.map +0 -1
  285. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
  286. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js +0 -216
  287. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js.map +0 -1
  288. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js +0 -211
  289. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js.map +0 -1
  290. package/dist/module/lib/Components/core/SelectList/SelectList.figma.js +0 -28
  291. package/dist/module/lib/Components/core/SelectList/SelectList.figma.js.map +0 -1
  292. package/dist/module/lib/Components/core/SelectList/SelectList.mdx +0 -280
  293. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +0 -1100
  294. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +0 -1
  295. package/dist/module/lib/Components/core/SelectList/SelectList.test.js +0 -620
  296. package/dist/module/lib/Components/core/SelectList/SelectList.test.js.map +0 -1
  297. package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js +0 -199
  298. package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js.map +0 -1
  299. package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js +0 -18
  300. package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js.map +0 -1
  301. package/dist/module/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
  302. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js +0 -135
  303. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js.map +0 -1
  304. package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js +0 -63
  305. package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js.map +0 -1
  306. package/dist/module/lib/Components/core/Spinner/Spinner.figma.js +0 -13
  307. package/dist/module/lib/Components/core/Spinner/Spinner.figma.js.map +0 -1
  308. package/dist/module/lib/Components/core/Spinner/Spinner.mdx +0 -119
  309. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js +0 -214
  310. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js.map +0 -1
  311. package/dist/module/lib/Components/core/Spot/Spot.figma.js +0 -52
  312. package/dist/module/lib/Components/core/Spot/Spot.figma.js.map +0 -1
  313. package/dist/module/lib/Components/core/Spot/Spot.mdx +0 -113
  314. package/dist/module/lib/Components/core/Spot/Spot.stories.js +0 -242
  315. package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +0 -1
  316. package/dist/module/lib/Components/core/Spot/Spot.test.js +0 -61
  317. package/dist/module/lib/Components/core/Spot/Spot.test.js.map +0 -1
  318. package/dist/module/lib/Components/core/Spot/SpotNumber.test.js +0 -72
  319. package/dist/module/lib/Components/core/Spot/SpotNumber.test.js.map +0 -1
  320. package/dist/module/lib/Components/core/Stepper/Stepper.figma.js +0 -13
  321. package/dist/module/lib/Components/core/Stepper/Stepper.figma.js.map +0 -1
  322. package/dist/module/lib/Components/core/Stepper/Stepper.mdx +0 -167
  323. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js +0 -214
  324. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js.map +0 -1
  325. package/dist/module/lib/Components/core/Stepper/Stepper.test.js +0 -184
  326. package/dist/module/lib/Components/core/Stepper/Stepper.test.js.map +0 -1
  327. package/dist/module/lib/Components/core/Subheader/Subheader.figma.js +0 -67
  328. package/dist/module/lib/Components/core/Subheader/Subheader.figma.js.map +0 -1
  329. package/dist/module/lib/Components/core/Subheader/Subheader.mdx +0 -366
  330. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js +0 -117
  331. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js.map +0 -1
  332. package/dist/module/lib/Components/core/Subheader/Subheader.test.js +0 -164
  333. package/dist/module/lib/Components/core/Subheader/Subheader.test.js.map +0 -1
  334. package/dist/module/lib/Components/core/Switch/Switch.figma.js +0 -58
  335. package/dist/module/lib/Components/core/Switch/Switch.figma.js.map +0 -1
  336. package/dist/module/lib/Components/core/Switch/Switch.mdx +0 -149
  337. package/dist/module/lib/Components/core/Switch/Switch.stories.js +0 -150
  338. package/dist/module/lib/Components/core/Switch/Switch.stories.js.map +0 -1
  339. package/dist/module/lib/Components/core/Switch/Switch.test.js +0 -92
  340. package/dist/module/lib/Components/core/Switch/Switch.test.js.map +0 -1
  341. package/dist/module/lib/Components/core/TabBar/TabBar.figma.js +0 -98
  342. package/dist/module/lib/Components/core/TabBar/TabBar.figma.js.map +0 -1
  343. package/dist/module/lib/Components/core/TabBar/TabBar.mdx +0 -209
  344. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js +0 -184
  345. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js.map +0 -1
  346. package/dist/module/lib/Components/core/TabBar/TabBar.test.js +0 -112
  347. package/dist/module/lib/Components/core/TabBar/TabBar.test.js.map +0 -1
  348. package/dist/module/lib/Components/core/Tag/Tag.figma.js +0 -41
  349. package/dist/module/lib/Components/core/Tag/Tag.figma.js.map +0 -1
  350. package/dist/module/lib/Components/core/Tag/Tag.mdx +0 -98
  351. package/dist/module/lib/Components/core/Tag/Tag.stories.js +0 -208
  352. package/dist/module/lib/Components/core/Tag/Tag.stories.js.map +0 -1
  353. package/dist/module/lib/Components/core/Tag/Tag.test.js +0 -69
  354. package/dist/module/lib/Components/core/Tag/Tag.test.js.map +0 -1
  355. package/dist/module/lib/Components/core/TextInput/TextInput.figma.js +0 -46
  356. package/dist/module/lib/Components/core/TextInput/TextInput.figma.js.map +0 -1
  357. package/dist/module/lib/Components/core/TextInput/TextInput.mdx +0 -305
  358. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js +0 -241
  359. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js.map +0 -1
  360. package/dist/module/lib/Components/core/TextInput/TextInput.test.js +0 -295
  361. package/dist/module/lib/Components/core/TextInput/TextInput.test.js.map +0 -1
  362. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js +0 -43
  363. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js.map +0 -1
  364. package/dist/module/lib/Components/core/Tile/Tile.figma.js +0 -110
  365. package/dist/module/lib/Components/core/Tile/Tile.figma.js.map +0 -1
  366. package/dist/module/lib/Components/core/Tile/Tile.mdx +0 -252
  367. package/dist/module/lib/Components/core/Tile/Tile.stories.js +0 -559
  368. package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +0 -1
  369. package/dist/module/lib/Components/core/Tile/Tile.test.js +0 -249
  370. package/dist/module/lib/Components/core/Tile/Tile.test.js.map +0 -1
  371. package/dist/module/lib/Components/core/TileButton/TileButton.figma.js +0 -28
  372. package/dist/module/lib/Components/core/TileButton/TileButton.figma.js.map +0 -1
  373. package/dist/module/lib/Components/core/TileButton/TileButton.mdx +0 -184
  374. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js +0 -269
  375. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js.map +0 -1
  376. package/dist/module/lib/Components/core/TileButton/TileButton.test.js +0 -124
  377. package/dist/module/lib/Components/core/TileButton/TileButton.test.js.map +0 -1
  378. package/dist/module/lib/Components/core/Timeline/Timeline.figma.js +0 -83
  379. package/dist/module/lib/Components/core/Timeline/Timeline.figma.js.map +0 -1
  380. package/dist/module/lib/Components/core/Timeline/Timeline.mdx +0 -49
  381. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js +0 -319
  382. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +0 -1
  383. package/dist/module/lib/Components/core/Timeline/Timeline.test.js +0 -237
  384. package/dist/module/lib/Components/core/Timeline/Timeline.test.js.map +0 -1
  385. package/dist/module/lib/Components/core/Toast/Toast.figma.js +0 -39
  386. package/dist/module/lib/Components/core/Toast/Toast.figma.js.map +0 -1
  387. package/dist/module/lib/Components/core/Toast/Toast.mdx +0 -203
  388. package/dist/module/lib/Components/core/Toast/Toast.stories.js +0 -241
  389. package/dist/module/lib/Components/core/Toast/Toast.stories.js.map +0 -1
  390. package/dist/module/lib/Components/core/Toast/Toast.test.js +0 -203
  391. package/dist/module/lib/Components/core/Toast/Toast.test.js.map +0 -1
  392. package/dist/module/lib/Components/core/Toast/Toaster.test.js +0 -732
  393. package/dist/module/lib/Components/core/Toast/Toaster.test.js.map +0 -1
  394. package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js +0 -26
  395. package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js.map +0 -1
  396. package/dist/module/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
  397. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js +0 -212
  398. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js.map +0 -1
  399. package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js +0 -91
  400. package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js.map +0 -1
  401. package/dist/module/lib/Components/core/Trend/Trend.figma.js +0 -29
  402. package/dist/module/lib/Components/core/Trend/Trend.figma.js.map +0 -1
  403. package/dist/module/lib/Components/core/Trend/Trend.mdx +0 -104
  404. package/dist/module/lib/Components/core/Trend/Trend.stories.js +0 -98
  405. package/dist/module/lib/Components/core/Trend/Trend.stories.js.map +0 -1
  406. package/dist/module/lib/Components/core/Trend/Trend.test.js +0 -149
  407. package/dist/module/lib/Components/core/Trend/Trend.test.js.map +0 -1
  408. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js +0 -139
  409. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js.map +0 -1
  410. package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js +0 -111
  411. package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js.map +0 -1
  412. package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js +0 -144
  413. package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js.map +0 -1
  414. package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js +0 -17
  415. package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js.map +0 -1
  416. package/dist/module/lib/Components/primitives/Box/Box.mdx +0 -50
  417. package/dist/module/lib/Components/primitives/Box/Box.stories.js +0 -29
  418. package/dist/module/lib/Components/primitives/Box/Box.stories.js.map +0 -1
  419. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
  420. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js +0 -260
  421. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js.map +0 -1
  422. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js +0 -81
  423. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js.map +0 -1
  424. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
  425. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js +0 -242
  426. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js.map +0 -1
  427. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js +0 -81
  428. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js.map +0 -1
  429. package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js +0 -151
  430. package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js.map +0 -1
  431. package/dist/module/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
  432. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js +0 -39
  433. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js.map +0 -1
  434. package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js +0 -226
  435. package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js.map +0 -1
  436. package/dist/module/lib/Components/primitives/Text/Text.mdx +0 -70
  437. package/dist/module/lib/Components/primitives/Text/Text.stories.js +0 -28
  438. package/dist/module/lib/Components/primitives/Text/Text.stories.js.map +0 -1
  439. package/dist/module/lib/Components/symbols/Icon/Icon.figma.js +0 -1840
  440. package/dist/module/lib/Components/symbols/Icon/Icon.figma.js.map +0 -1
  441. package/dist/module/lib/Components/symbols/Icon/Icon.mdx +0 -149
  442. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js +0 -321
  443. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js.map +0 -1
  444. package/dist/module/lib/Components/symbols/Icon/Icon.test.js +0 -90
  445. package/dist/module/lib/Components/symbols/Icon/Icon.test.js.map +0 -1
  446. package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js +0 -135
  447. package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js.map +0 -1
  448. package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js +0 -135
  449. package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js.map +0 -1
  450. package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js +0 -183
  451. package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js.map +0 -1
  452. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js +0 -333
  453. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js.map +0 -1
  454. package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js +0 -86
  455. package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js.map +0 -1
  456. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js +0 -191
  457. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js.map +0 -1
  458. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +0 -905
  459. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +0 -1
  460. package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js +0 -70
  461. package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js.map +0 -1
  462. package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js +0 -586
  463. package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js.map +0 -1
  464. package/dist/module/lib/Components/visualization/DonutChart/utils.test.js +0 -440
  465. package/dist/module/lib/Components/visualization/DonutChart/utils.test.js.map +0 -1
  466. package/dist/module/lib/Components/visualization/Legend/Legend.test.js +0 -134
  467. package/dist/module/lib/Components/visualization/Legend/Legend.test.js.map +0 -1
  468. package/dist/module/lib/Components/visualization/Line/utils.test.js +0 -134
  469. package/dist/module/lib/Components/visualization/Line/utils.test.js.map +0 -1
  470. package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js +0 -99
  471. package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js.map +0 -1
  472. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js +0 -385
  473. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js.map +0 -1
  474. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js +0 -462
  475. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js.map +0 -1
  476. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js +0 -47
  477. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js.map +0 -1
  478. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js +0 -22
  479. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js.map +0 -1
  480. package/dist/module/lib/Components/visualization/LineChart/utils.test.js +0 -210
  481. package/dist/module/lib/Components/visualization/LineChart/utils.test.js.map +0 -1
  482. package/dist/module/lib/Components/visualization/Point/Point.stories.js +0 -200
  483. package/dist/module/lib/Components/visualization/Point/Point.stories.js.map +0 -1
  484. package/dist/module/lib/Components/visualization/Point/Point.test.js +0 -269
  485. package/dist/module/lib/Components/visualization/Point/Point.test.js.map +0 -1
  486. package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js +0 -162
  487. package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js.map +0 -1
  488. package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js +0 -86
  489. package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js.map +0 -1
  490. package/dist/module/lib/Components/visualization/Point/utils.test.js +0 -141
  491. package/dist/module/lib/Components/visualization/Point/utils.test.js.map +0 -1
  492. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js +0 -128
  493. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js.map +0 -1
  494. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js +0 -338
  495. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js.map +0 -1
  496. package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js +0 -297
  497. package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js.map +0 -1
  498. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js +0 -340
  499. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js.map +0 -1
  500. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js +0 -261
  501. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js.map +0 -1
  502. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js +0 -193
  503. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js.map +0 -1
  504. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js +0 -137
  505. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js.map +0 -1
  506. package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js +0 -295
  507. package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js.map +0 -1
  508. package/dist/module/lib/Components/visualization/Scrubber/utils.test.js +0 -395
  509. package/dist/module/lib/Components/visualization/Scrubber/utils.test.js.map +0 -1
  510. package/dist/module/lib/Components/visualization/utils/domain/domain.test.js +0 -191
  511. package/dist/module/lib/Components/visualization/utils/domain/domain.test.js.map +0 -1
  512. package/dist/module/lib/Components/visualization/utils/scales/scales.test.js +0 -322
  513. package/dist/module/lib/Components/visualization/utils/scales/scales.test.js.map +0 -1
  514. package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js +0 -155
  515. package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js.map +0 -1
  516. package/dist/module/styles/hooks/useStyleSheet.test.js +0 -473
  517. package/dist/module/styles/hooks/useStyleSheet.test.js.map +0 -1
  518. package/dist/module/styles/lx/createStyledPressable.test.js +0 -291
  519. package/dist/module/styles/lx/createStyledPressable.test.js.map +0 -1
  520. package/dist/module/styles/lx/createStyledText.test.js +0 -242
  521. package/dist/module/styles/lx/createStyledText.test.js.map +0 -1
  522. package/dist/module/styles/lx/createStyledView.test.js +0 -189
  523. package/dist/module/styles/lx/createStyledView.test.js.map +0 -1
  524. package/dist/module/styles/lx/resolveStyle.test.js +0 -633
  525. package/dist/module/styles/lx/resolveStyle.test.js.map +0 -1
  526. package/dist/module/styles/provider/LumenStyleSheetProvider.test.js +0 -131
  527. package/dist/module/styles/provider/LumenStyleSheetProvider.test.js.map +0 -1
  528. package/dist/module/styles/theme/createStylesheetTheme.test.js +0 -27
  529. package/dist/module/styles/theme/createStylesheetTheme.test.js.map +0 -1
  530. package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js +0 -59
  531. package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js.map +0 -1
  532. package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js +0 -29
  533. package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js.map +0 -1
  534. package/dist/module/translations/translations.test.js +0 -34
  535. package/dist/module/translations/translations.test.js.map +0 -1
  536. package/src/lib/Components/animations/Pulse/Pulse.mdx +0 -85
  537. package/src/lib/Components/animations/Pulse/Pulse.stories.tsx +0 -98
  538. package/src/lib/Components/animations/Spin/Spin.mdx +0 -84
  539. package/src/lib/Components/animations/Spin/Spin.stories.tsx +0 -71
  540. package/src/lib/Components/core/AddressInput/AddressInput.figma.tsx +0 -43
  541. package/src/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
  542. package/src/lib/Components/core/AddressInput/AddressInput.stories.tsx +0 -235
  543. package/src/lib/Components/core/AddressInput/AddressInput.test.tsx +0 -62
  544. package/src/lib/Components/core/AmountDisplay/AmountDisplay.figma.tsx +0 -37
  545. package/src/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
  546. package/src/lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx +0 -192
  547. package/src/lib/Components/core/AmountDisplay/AmountDisplay.test.tsx +0 -469
  548. package/src/lib/Components/core/AmountInput/AmountInput.figma.tsx +0 -78
  549. package/src/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
  550. package/src/lib/Components/core/AmountInput/AmountInput.stories.tsx +0 -281
  551. package/src/lib/Components/core/AmountInput/AmountInput.test.tsx +0 -166
  552. package/src/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.ts +0 -82
  553. package/src/lib/Components/core/Avatar/Avatar.figma.tsx +0 -42
  554. package/src/lib/Components/core/Avatar/Avatar.mdx +0 -166
  555. package/src/lib/Components/core/Avatar/Avatar.stories.tsx +0 -126
  556. package/src/lib/Components/core/Avatar/Avatar.test.tsx +0 -312
  557. package/src/lib/Components/core/Avatar/useResolveAvatarColor.test.tsx +0 -106
  558. package/src/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
  559. package/src/lib/Components/core/AvatarButton/AvatarButton.stories.tsx +0 -51
  560. package/src/lib/Components/core/AvatarButton/AvatarButton.test.tsx +0 -92
  561. package/src/lib/Components/core/Banner/Banner.figma.tsx +0 -115
  562. package/src/lib/Components/core/Banner/Banner.mdx +0 -352
  563. package/src/lib/Components/core/Banner/Banner.stories.tsx +0 -425
  564. package/src/lib/Components/core/Banner/Banner.test.tsx +0 -116
  565. package/src/lib/Components/core/BottomSheet/BottomSheet.figma.tsx +0 -52
  566. package/src/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
  567. package/src/lib/Components/core/BottomSheet/BottomSheet.stories.tsx +0 -996
  568. package/src/lib/Components/core/BottomSheet/BottomSheet.test.tsx +0 -539
  569. package/src/lib/Components/core/Button/Button.figma.tsx +0 -58
  570. package/src/lib/Components/core/Button/Button.mdx +0 -168
  571. package/src/lib/Components/core/Button/Button.stories.tsx +0 -238
  572. package/src/lib/Components/core/Button/ButtonGroup.figma.tsx +0 -15
  573. package/src/lib/Components/core/Card/Card.figma.tsx +0 -169
  574. package/src/lib/Components/core/Card/Card.mdx +0 -293
  575. package/src/lib/Components/core/Card/Card.stories.tsx +0 -736
  576. package/src/lib/Components/core/Card/Card.test.tsx +0 -226
  577. package/src/lib/Components/core/CardButton/CardButton.figma.tsx +0 -49
  578. package/src/lib/Components/core/CardButton/CardButton.mdx +0 -246
  579. package/src/lib/Components/core/CardButton/CardButton.stories.tsx +0 -284
  580. package/src/lib/Components/core/CardButton/CardButton.test.tsx +0 -140
  581. package/src/lib/Components/core/Checkbox/Checkbox.figma.tsx +0 -54
  582. package/src/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
  583. package/src/lib/Components/core/Checkbox/Checkbox.stories.tsx +0 -115
  584. package/src/lib/Components/core/Checkbox/Checkbox.test.tsx +0 -115
  585. package/src/lib/Components/core/ContentBanner/ContentBanner.figma.tsx +0 -108
  586. package/src/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
  587. package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +0 -224
  588. package/src/lib/Components/core/ContentBanner/ContentBanner.test.tsx +0 -132
  589. package/src/lib/Components/core/DescriptionItem/DescriptionItem.figma.tsx +0 -36
  590. package/src/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
  591. package/src/lib/Components/core/DescriptionItem/DescriptionItem.stories.tsx +0 -230
  592. package/src/lib/Components/core/DescriptionItem/DescriptionItem.test.tsx +0 -136
  593. package/src/lib/Components/core/Divider/Divider.figma.tsx +0 -11
  594. package/src/lib/Components/core/Divider/Divider.mdx +0 -149
  595. package/src/lib/Components/core/Divider/Divider.stories.tsx +0 -142
  596. package/src/lib/Components/core/Divider/Divider.test.tsx +0 -91
  597. package/src/lib/Components/core/DotCount/DotCount.figma.tsx +0 -32
  598. package/src/lib/Components/core/DotCount/DotCount.mdx +0 -86
  599. package/src/lib/Components/core/DotCount/DotCount.stories.tsx +0 -131
  600. package/src/lib/Components/core/DotCount/DotCount.test.tsx +0 -150
  601. package/src/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
  602. package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +0 -207
  603. package/src/lib/Components/core/DotIcon/DotIcon.test.tsx +0 -244
  604. package/src/lib/Components/core/DotIcon/getDotIconProps.test.ts +0 -19
  605. package/src/lib/Components/core/DotIndicator/DotIndicator.figma.tsx +0 -32
  606. package/src/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
  607. package/src/lib/Components/core/DotIndicator/DotIndicator.stories.tsx +0 -82
  608. package/src/lib/Components/core/DotIndicator/DotIndicator.test.tsx +0 -152
  609. package/src/lib/Components/core/DotIndicator/getDotIndicatorProps.test.ts +0 -31
  610. package/src/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
  611. package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +0 -247
  612. package/src/lib/Components/core/DotSymbol/DotSymbol.test.tsx +0 -119
  613. package/src/lib/Components/core/DotSymbol/getDotSymbolProps.test.ts +0 -25
  614. package/src/lib/Components/core/IconButton/IconButton.figma.tsx +0 -53
  615. package/src/lib/Components/core/IconButton/IconButton.mdx +0 -137
  616. package/src/lib/Components/core/IconButton/IconButton.stories.tsx +0 -157
  617. package/src/lib/Components/core/IconButton/IconButton.test.tsx +0 -140
  618. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.tsx +0 -52
  619. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
  620. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.tsx +0 -195
  621. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.test.tsx +0 -184
  622. package/src/lib/Components/core/Link/Link.figma.tsx +0 -54
  623. package/src/lib/Components/core/Link/Link.mdx +0 -264
  624. package/src/lib/Components/core/Link/Link.stories.tsx +0 -322
  625. package/src/lib/Components/core/Link/Link.test.tsx +0 -224
  626. package/src/lib/Components/core/ListItem/ListItem.figma.tsx +0 -466
  627. package/src/lib/Components/core/ListItem/ListItem.mdx +0 -461
  628. package/src/lib/Components/core/ListItem/ListItem.stories.tsx +0 -610
  629. package/src/lib/Components/core/ListItem/ListItem.test.tsx +0 -230
  630. package/src/lib/Components/core/MediaBanner/MediaBanner.figma.tsx +0 -32
  631. package/src/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
  632. package/src/lib/Components/core/MediaBanner/MediaBanner.stories.tsx +0 -175
  633. package/src/lib/Components/core/MediaBanner/MediaBanner.test.tsx +0 -126
  634. package/src/lib/Components/core/MediaButton/MediaButton.figma.tsx +0 -60
  635. package/src/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
  636. package/src/lib/Components/core/MediaButton/MediaButton.stories.tsx +0 -145
  637. package/src/lib/Components/core/MediaButton/MediaButton.test.tsx +0 -198
  638. package/src/lib/Components/core/MediaCard/MediaCard.figma.tsx +0 -27
  639. package/src/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
  640. package/src/lib/Components/core/MediaCard/MediaCard.stories.tsx +0 -161
  641. package/src/lib/Components/core/MediaCard/MediaCard.test.tsx +0 -125
  642. package/src/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
  643. package/src/lib/Components/core/MediaImage/MediaImage.stories.tsx +0 -110
  644. package/src/lib/Components/core/MediaImage/MediaImage.test.tsx +0 -291
  645. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.tsx +0 -119
  646. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -96
  647. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +0 -154
  648. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.test.tsx +0 -213
  649. package/src/lib/Components/core/MediaTag/MediaTag.figma.tsx +0 -116
  650. package/src/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
  651. package/src/lib/Components/core/MediaTag/MediaTag.stories.tsx +0 -129
  652. package/src/lib/Components/core/MediaTag/MediaTag.test.tsx +0 -27
  653. package/src/lib/Components/core/MenuList/MenuList.figma.tsx +0 -23
  654. package/src/lib/Components/core/MenuList/MenuList.mdx +0 -79
  655. package/src/lib/Components/core/MenuList/MenuList.stories.tsx +0 -154
  656. package/src/lib/Components/core/MenuList/MenuList.test.tsx +0 -205
  657. package/src/lib/Components/core/NavBar/NavBar.figma.tsx +0 -87
  658. package/src/lib/Components/core/NavBar/NavBar.mdx +0 -257
  659. package/src/lib/Components/core/NavBar/NavBar.stories.tsx +0 -162
  660. package/src/lib/Components/core/NavBar/NavBar.test.tsx +0 -420
  661. package/src/lib/Components/core/PageIndicator/PageIndicator.figma.tsx +0 -11
  662. package/src/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
  663. package/src/lib/Components/core/PageIndicator/PageIndicator.stories.tsx +0 -82
  664. package/src/lib/Components/core/PageIndicator/PageIndicator.test.tsx +0 -269
  665. package/src/lib/Components/core/Pagination/Pagination.figma.tsx +0 -25
  666. package/src/lib/Components/core/Pagination/Pagination.mdx +0 -108
  667. package/src/lib/Components/core/Pagination/Pagination.stories.tsx +0 -90
  668. package/src/lib/Components/core/Pagination/Pagination.test.tsx +0 -346
  669. package/src/lib/Components/core/SearchInput/SearchInput.figma.tsx +0 -34
  670. package/src/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
  671. package/src/lib/Components/core/SearchInput/SearchInput.stories.tsx +0 -144
  672. package/src/lib/Components/core/SearchInput/SearchInput.test.tsx +0 -40
  673. package/src/lib/Components/core/SectionHeader/SectionHeader.figma.tsx +0 -24
  674. package/src/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
  675. package/src/lib/Components/core/SectionHeader/SectionHeader.stories.tsx +0 -95
  676. package/src/lib/Components/core/SectionHeader/SectionHeader.test.tsx +0 -103
  677. package/src/lib/Components/core/SegmentedControl/SegmentedControl.figma.tsx +0 -34
  678. package/src/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
  679. package/src/lib/Components/core/SegmentedControl/SegmentedControl.stories.tsx +0 -208
  680. package/src/lib/Components/core/SegmentedControl/SegmentedControl.test.tsx +0 -206
  681. package/src/lib/Components/core/SelectList/SelectList.figma.tsx +0 -37
  682. package/src/lib/Components/core/SelectList/SelectList.mdx +0 -280
  683. package/src/lib/Components/core/SelectList/SelectList.stories.tsx +0 -1125
  684. package/src/lib/Components/core/SelectList/SelectList.test.tsx +0 -595
  685. package/src/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.ts +0 -195
  686. package/src/lib/Components/core/Skeleton/Skeleton.figma.tsx +0 -17
  687. package/src/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
  688. package/src/lib/Components/core/Skeleton/Skeleton.stories.tsx +0 -91
  689. package/src/lib/Components/core/Skeleton/Skeleton.test.tsx +0 -53
  690. package/src/lib/Components/core/Spinner/Spinner.figma.tsx +0 -12
  691. package/src/lib/Components/core/Spinner/Spinner.mdx +0 -119
  692. package/src/lib/Components/core/Spinner/Spinner.stories.tsx +0 -128
  693. package/src/lib/Components/core/Spot/Spot.figma.tsx +0 -71
  694. package/src/lib/Components/core/Spot/Spot.mdx +0 -113
  695. package/src/lib/Components/core/Spot/Spot.stories.tsx +0 -225
  696. package/src/lib/Components/core/Spot/Spot.test.tsx +0 -71
  697. package/src/lib/Components/core/Spot/SpotNumber.test.tsx +0 -93
  698. package/src/lib/Components/core/Stepper/Stepper.figma.tsx +0 -11
  699. package/src/lib/Components/core/Stepper/Stepper.mdx +0 -167
  700. package/src/lib/Components/core/Stepper/Stepper.stories.tsx +0 -116
  701. package/src/lib/Components/core/Stepper/Stepper.test.tsx +0 -159
  702. package/src/lib/Components/core/Subheader/Subheader.figma.tsx +0 -72
  703. package/src/lib/Components/core/Subheader/Subheader.mdx +0 -366
  704. package/src/lib/Components/core/Subheader/Subheader.stories.tsx +0 -120
  705. package/src/lib/Components/core/Subheader/Subheader.test.tsx +0 -172
  706. package/src/lib/Components/core/Switch/Switch.figma.tsx +0 -66
  707. package/src/lib/Components/core/Switch/Switch.mdx +0 -149
  708. package/src/lib/Components/core/Switch/Switch.stories.tsx +0 -120
  709. package/src/lib/Components/core/Switch/Switch.test.tsx +0 -96
  710. package/src/lib/Components/core/TabBar/TabBar.figma.tsx +0 -70
  711. package/src/lib/Components/core/TabBar/TabBar.mdx +0 -209
  712. package/src/lib/Components/core/TabBar/TabBar.stories.tsx +0 -164
  713. package/src/lib/Components/core/TabBar/TabBar.test.tsx +0 -79
  714. package/src/lib/Components/core/Tag/Tag.figma.tsx +0 -52
  715. package/src/lib/Components/core/Tag/Tag.mdx +0 -98
  716. package/src/lib/Components/core/Tag/Tag.stories.tsx +0 -122
  717. package/src/lib/Components/core/Tag/Tag.test.tsx +0 -51
  718. package/src/lib/Components/core/TextInput/TextInput.figma.tsx +0 -49
  719. package/src/lib/Components/core/TextInput/TextInput.mdx +0 -305
  720. package/src/lib/Components/core/TextInput/TextInput.stories.tsx +0 -282
  721. package/src/lib/Components/core/TextInput/TextInput.test.tsx +0 -348
  722. package/src/lib/Components/core/ThemeProvider/ThemeProvider.test.tsx +0 -39
  723. package/src/lib/Components/core/Tile/Tile.figma.tsx +0 -113
  724. package/src/lib/Components/core/Tile/Tile.mdx +0 -252
  725. package/src/lib/Components/core/Tile/Tile.stories.tsx +0 -372
  726. package/src/lib/Components/core/Tile/Tile.test.tsx +0 -227
  727. package/src/lib/Components/core/TileButton/TileButton.figma.tsx +0 -40
  728. package/src/lib/Components/core/TileButton/TileButton.mdx +0 -184
  729. package/src/lib/Components/core/TileButton/TileButton.stories.tsx +0 -201
  730. package/src/lib/Components/core/TileButton/TileButton.test.tsx +0 -137
  731. package/src/lib/Components/core/Timeline/Timeline.figma.tsx +0 -79
  732. package/src/lib/Components/core/Timeline/Timeline.mdx +0 -49
  733. package/src/lib/Components/core/Timeline/Timeline.stories.tsx +0 -269
  734. package/src/lib/Components/core/Timeline/Timeline.test.tsx +0 -279
  735. package/src/lib/Components/core/Toast/Toast.figma.tsx +0 -36
  736. package/src/lib/Components/core/Toast/Toast.mdx +0 -203
  737. package/src/lib/Components/core/Toast/Toast.stories.tsx +0 -249
  738. package/src/lib/Components/core/Toast/Toast.test.tsx +0 -181
  739. package/src/lib/Components/core/Toast/Toaster.test.tsx +0 -687
  740. package/src/lib/Components/core/Tooltip/Tooltip.figma.tsx +0 -30
  741. package/src/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
  742. package/src/lib/Components/core/Tooltip/Tooltip.stories.tsx +0 -183
  743. package/src/lib/Components/core/Tooltip/Tooltip.test.tsx +0 -81
  744. package/src/lib/Components/core/Trend/Trend.figma.tsx +0 -28
  745. package/src/lib/Components/core/Trend/Trend.mdx +0 -104
  746. package/src/lib/Components/core/Trend/Trend.stories.tsx +0 -74
  747. package/src/lib/Components/core/Trend/Trend.test.tsx +0 -124
  748. package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +0 -149
  749. package/src/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.ts +0 -110
  750. package/src/lib/Components/internal/BaseTag/BaseTag.test.tsx +0 -137
  751. package/src/lib/Components/internal/CryptoIcon/CryptoIcon.figma.tsx +0 -20
  752. package/src/lib/Components/primitives/Box/Box.mdx +0 -50
  753. package/src/lib/Components/primitives/Box/Box.stories.tsx +0 -31
  754. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
  755. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +0 -188
  756. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.tsx +0 -70
  757. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
  758. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.tsx +0 -152
  759. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.tsx +0 -70
  760. package/src/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.ts +0 -144
  761. package/src/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
  762. package/src/lib/Components/primitives/Pressable/Pressable.stories.tsx +0 -34
  763. package/src/lib/Components/primitives/Pressable/Pressable.test.tsx +0 -222
  764. package/src/lib/Components/primitives/Text/Text.mdx +0 -70
  765. package/src/lib/Components/primitives/Text/Text.stories.tsx +0 -29
  766. package/src/lib/Components/symbols/Icon/Icon.figma.tsx +0 -3085
  767. package/src/lib/Components/symbols/Icon/Icon.mdx +0 -149
  768. package/src/lib/Components/symbols/Icon/Icon.stories.tsx +0 -305
  769. package/src/lib/Components/symbols/Icon/Icon.test.tsx +0 -92
  770. package/src/lib/Components/visualization/Axis/XAxis/XAxis.test.tsx +0 -101
  771. package/src/lib/Components/visualization/Axis/YAxis/YAxis.test.tsx +0 -101
  772. package/src/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.tsx +0 -172
  773. package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.ts +0 -273
  774. package/src/lib/Components/visualization/CartesianChart/utils.test.ts +0 -88
  775. package/src/lib/Components/visualization/DonutChart/DonutChart.performance.test.tsx +0 -218
  776. package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +0 -885
  777. package/src/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.tsx +0 -68
  778. package/src/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.ts +0 -284
  779. package/src/lib/Components/visualization/DonutChart/utils.test.ts +0 -487
  780. package/src/lib/Components/visualization/Legend/Legend.test.tsx +0 -97
  781. package/src/lib/Components/visualization/Line/utils.test.ts +0 -161
  782. package/src/lib/Components/visualization/LineChart/LineChart.performance.test.tsx +0 -101
  783. package/src/lib/Components/visualization/LineChart/LineChart.stories.tsx +0 -346
  784. package/src/lib/Components/visualization/LineChart/LineChart.test.tsx +0 -393
  785. package/src/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.tsx +0 -39
  786. package/src/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.ts +0 -23
  787. package/src/lib/Components/visualization/LineChart/utils.test.ts +0 -224
  788. package/src/lib/Components/visualization/Point/Point.stories.tsx +0 -165
  789. package/src/lib/Components/visualization/Point/Point.test.tsx +0 -243
  790. package/src/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.tsx +0 -174
  791. package/src/lib/Components/visualization/Point/usePointGeometry.test.ts +0 -95
  792. package/src/lib/Components/visualization/Point/utils.test.ts +0 -169
  793. package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.tsx +0 -109
  794. package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.test.tsx +0 -269
  795. package/src/lib/Components/visualization/ReferenceLine/utils.test.ts +0 -332
  796. package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.tsx +0 -259
  797. package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.ts +0 -266
  798. package/src/lib/Components/visualization/Scrubber/Scrubber.stories.tsx +0 -181
  799. package/src/lib/Components/visualization/Scrubber/Scrubber.test.tsx +0 -112
  800. package/src/lib/Components/visualization/Scrubber/ScrubberProvider.test.tsx +0 -305
  801. package/src/lib/Components/visualization/Scrubber/utils.test.ts +0 -407
  802. package/src/lib/Components/visualization/utils/domain/domain.test.ts +0 -156
  803. package/src/lib/Components/visualization/utils/scales/scales.test.ts +0 -228
  804. package/src/lib/Components/visualization/utils/ticks/ticks.test.ts +0 -173
  805. package/src/styles/hooks/useStyleSheet.test.tsx +0 -520
  806. package/src/styles/lx/createStyledPressable.test.tsx +0 -253
  807. package/src/styles/lx/createStyledText.test.tsx +0 -237
  808. package/src/styles/lx/createStyledView.test.tsx +0 -142
  809. package/src/styles/lx/resolveStyle.test.tsx +0 -687
  810. package/src/styles/provider/LumenStyleSheetProvider.test.tsx +0 -123
  811. package/src/styles/theme/createStylesheetTheme.test.ts +0 -30
  812. package/src/styles/theme/resolvers/resolveFontWeights.test.ts +0 -74
  813. package/src/styles/theme/resolvers/resolveNegativeSpacing.test.ts +0 -29
  814. package/src/translations/translations.test.ts +0 -56
@@ -1,171 +0,0 @@
1
- "use strict";
2
-
3
- import { describe, it, expect, jest } from '@jest/globals';
4
- import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
5
- import { render, screen, fireEvent } from '@testing-library/react-native';
6
- import { createRef } from 'react';
7
- import { View } from 'react-native';
8
- import { Settings } from "../../symbols/index.js";
9
- import { ThemeProvider } from "../ThemeProvider/ThemeProvider.js";
10
- import { MediaButton } from "./MediaButton.js";
11
- import { jsx as _jsx } from "react/jsx-runtime";
12
- const renderWithProvider = component => {
13
- return render(/*#__PURE__*/_jsx(ThemeProvider, {
14
- themes: ledgerLiveThemes,
15
- colorScheme: "dark",
16
- locale: "en",
17
- children: component
18
- }));
19
- };
20
- describe('MediaButton', () => {
21
- describe('Rendering', () => {
22
- it('should render with label text and correct accessibility role', () => {
23
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
24
- testID: "trigger",
25
- children: "All accounts"
26
- }));
27
- const trigger = screen.getByTestId('trigger');
28
- expect(trigger).toBeTruthy();
29
- expect(screen.getByText('All accounts')).toBeTruthy();
30
- expect(trigger.props.accessibilityRole).toBe('button');
31
- });
32
- it('should render a chevron icon by default', () => {
33
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
34
- testID: "trigger",
35
- children: "Label"
36
- }));
37
- expect(screen.getByTestId('button-trigger-chevron')).toBeTruthy();
38
- });
39
- it('should not render a chevron icon when hideChevron is true', () => {
40
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
41
- testID: "trigger",
42
- hideChevron: true,
43
- children: "Label"
44
- }));
45
- expect(screen.queryByTestId('button-trigger-chevron')).toBeNull();
46
- expect(screen.getByText('Label')).toBeTruthy();
47
- });
48
- it.each(['gray', 'transparent', 'no-background'])('should render without errors for appearance "%s"', appearance => {
49
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
50
- testID: "trigger",
51
- appearance: appearance,
52
- children: "Label"
53
- }));
54
- expect(screen.getByTestId('trigger')).toBeTruthy();
55
- });
56
- it.each(['sm', 'md'])('should render without errors for size "%s"', size => {
57
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
58
- testID: "trigger",
59
- size: size,
60
- children: "Label"
61
- }));
62
- expect(screen.getByTestId('trigger')).toBeTruthy();
63
- });
64
- const sizeShapeMatrix = [['sm', 'flat'], ['sm', 'rounded'], ['sm', 'none'], ['md', 'flat'], ['md', 'rounded'], ['md', 'none']];
65
- it.each(sizeShapeMatrix)('should render with hideChevron for size "%s" and shape "%s"', (size, shape) => {
66
- const leadingContent = shape === 'none' ? undefined : /*#__PURE__*/_jsx(View, {
67
- testID: "leading"
68
- });
69
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
70
- testID: "trigger",
71
- size: size,
72
- leadingContent: leadingContent,
73
- leadingContentShape: shape === 'none' ? undefined : shape,
74
- hideChevron: true,
75
- children: "Label"
76
- }));
77
- expect(screen.getByTestId('trigger')).toBeTruthy();
78
- expect(screen.queryByTestId('button-trigger-chevron')).toBeNull();
79
- });
80
- });
81
- describe('Icons', () => {
82
- it('should render with a flat interface icon', () => {
83
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
84
- testID: "trigger",
85
- leadingContent: /*#__PURE__*/_jsx(Settings, {
86
- size: 20,
87
- testID: "icon"
88
- }),
89
- leadingContentShape: "flat",
90
- children: "Network"
91
- }));
92
- expect(screen.getByTestId('icon')).toBeTruthy();
93
- expect(screen.getByText('Network')).toBeTruthy();
94
- });
95
- it('should render with a rounded icon', () => {
96
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
97
- testID: "trigger",
98
- leadingContent: /*#__PURE__*/_jsx(View, {
99
- testID: "crypto-icon"
100
- }),
101
- leadingContentShape: "rounded",
102
- children: "Bitcoin"
103
- }));
104
- expect(screen.getByTestId('crypto-icon')).toBeTruthy();
105
- expect(screen.getByText('Bitcoin')).toBeTruthy();
106
- });
107
- });
108
- describe('States', () => {
109
- it('should be disabled when disabled prop is true', () => {
110
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
111
- testID: "trigger",
112
- disabled: true,
113
- children: "Label"
114
- }));
115
- const trigger = screen.getByTestId('trigger');
116
- expect(trigger.props.accessibilityState.disabled).toBe(true);
117
- });
118
- });
119
- describe('Interactions', () => {
120
- it('should call onPress when pressed', () => {
121
- const handlePress = jest.fn();
122
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
123
- testID: "trigger",
124
- onPress: handlePress,
125
- children: "Press me"
126
- }));
127
- fireEvent.press(screen.getByTestId('trigger'));
128
- expect(handlePress).toHaveBeenCalledTimes(1);
129
- });
130
- it('should not call onPress when disabled', () => {
131
- const handlePress = jest.fn();
132
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
133
- testID: "trigger",
134
- onPress: handlePress,
135
- disabled: true,
136
- children: "Disabled"
137
- }));
138
- fireEvent.press(screen.getByTestId('trigger'));
139
- expect(handlePress).not.toHaveBeenCalled();
140
- });
141
- });
142
- describe('Ref Forwarding', () => {
143
- it('should forward ref', () => {
144
- const ref = /*#__PURE__*/createRef();
145
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
146
- ref: ref,
147
- testID: "trigger",
148
- children: "Label"
149
- }));
150
- expect(ref.current).toBeTruthy();
151
- });
152
- });
153
- describe('Styling', () => {
154
- it('should apply custom style and lx props', () => {
155
- const customStyle = {
156
- marginTop: 16
157
- };
158
- renderWithProvider(/*#__PURE__*/_jsx(MediaButton, {
159
- testID: "trigger",
160
- style: customStyle,
161
- lx: {
162
- padding: 's8'
163
- },
164
- children: "Styled"
165
- }));
166
- const trigger = screen.getByTestId('trigger');
167
- expect(trigger.props.style).toBeDefined();
168
- });
169
- });
170
- });
171
- //# sourceMappingURL=MediaButton.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["describe","it","expect","jest","ledgerLiveThemes","render","screen","fireEvent","createRef","View","Settings","ThemeProvider","MediaButton","jsx","_jsx","renderWithProvider","component","themes","colorScheme","locale","children","testID","trigger","getByTestId","toBeTruthy","getByText","props","accessibilityRole","toBe","hideChevron","queryByTestId","toBeNull","each","appearance","size","sizeShapeMatrix","shape","leadingContent","undefined","leadingContentShape","disabled","accessibilityState","handlePress","fn","onPress","press","toHaveBeenCalledTimes","not","toHaveBeenCalled","ref","current","customStyle","marginTop","style","lx","padding","toBeDefined"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/MediaButton/MediaButton.test.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,EAAE,EAAEC,MAAM,EAAEC,IAAI,QAAQ,eAAe;AAC1D,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,MAAM,EAAEC,MAAM,EAAEC,SAAS,QAAQ,+BAA+B;AACzE,SAASC,SAAS,QAAQ,OAAO;AAEjC,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,QAAQ,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,MAAM,CAACoB,OAAO,CAACI,KAAK,CAAC2B,KAAK,CAAC,CAACG,WAAW,CAAC,CAAC;IAC3C,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,28 +0,0 @@
1
- "use strict";
2
-
3
- import figma from '@figma/code-connect';
4
- import { Tag } from "../Tag/index.js";
5
- import { MediaCard, MediaCardTitle } from "./MediaCard.js";
6
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
- figma.connect(MediaCard, 'https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7?node-id=15160-2853', {
8
- imports: ["import { MediaCard, MediaCardTitle } from '@ledgerhq/lumen-ui-rnative'", "import { Tag } from '@ledgerhq/lumen-ui-rnative'"],
9
- props: {
10
- title: figma.string('title'),
11
- tag: figma.boolean('show-tag', {
12
- true: /*#__PURE__*/_jsx(Tag, {
13
- label: "Label",
14
- appearance: "base"
15
- }),
16
- false: undefined
17
- })
18
- },
19
- example: props => /*#__PURE__*/_jsxs(MediaCard, {
20
- imageUrl: "/image.jpg",
21
- onPress: () => {},
22
- onClose: () => {},
23
- children: [props.tag, /*#__PURE__*/_jsx(MediaCardTitle, {
24
- children: props.title
25
- })]
26
- })
27
- });
28
- //# sourceMappingURL=MediaCard.figma.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["figma","Tag","MediaCard","MediaCardTitle","jsx","_jsx","jsxs","_jsxs","connect","imports","props","title","string","tag","boolean","true","label","appearance","false","undefined","example","imageUrl","onPress","onClose","children"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/MediaCard/MediaCard.figma.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,qBAAqB;AACvC,SAASC,GAAG,QAAQ,iBAAQ;AAC5B,SAASC,SAAS,EAAEC,cAAc,QAAQ,gBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAExDP,KAAK,CAACQ,OAAO,CACXN,SAAS,EACT,wEAAwE,EACxE;EACEO,OAAO,EAAE,CACP,wEAAwE,EACxE,kDAAkD,CACnD;EACDC,KAAK,EAAE;IACLC,KAAK,EAAEX,KAAK,CAACY,MAAM,CAAC,OAAO,CAAC;IAC5BC,GAAG,EAAEb,KAAK,CAACc,OAAO,CAAC,UAAU,EAAE;MAC7BC,IAAI,eAAEV,IAAA,CAACJ,GAAG;QAACe,KAAK,EAAC,OAAO;QAACC,UAAU,EAAC;MAAM,CAAE,CAAC;MAC7CC,KAAK,EAAEC;IACT,CAAC;EACH,CAAC;EACDC,OAAO,EAAGV,KAAK,iBACbH,KAAA,CAACL,SAAS;IAACmB,QAAQ,EAAC,YAAY;IAACC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAE;IAACC,OAAO,EAAEA,CAAA,KAAM,CAAC,CAAE;IAAAC,QAAA,GACnEd,KAAK,CAACG,GAAG,eACVR,IAAA,CAACF,cAAc;MAAAqB,QAAA,EAAEd,KAAK,CAACC;IAAK,CAAiB,CAAC;EAAA,CACrC;AAEf,CACF,CAAC","ignoreList":[]}
@@ -1,109 +0,0 @@
1
- import { Meta, Canvas, Controls } from '@storybook/addon-docs/blocks';
2
- import * as MediaCardStories from './MediaCard.stories';
3
- import { CustomTabs, Tab } from '../../../../../.storybook/components';
4
-
5
- <Meta title='Core/MediaCard' of={MediaCardStories} />
6
-
7
- # MediaCard
8
-
9
- <CustomTabs>
10
- <Tab label="Overview">
11
-
12
- ## Introduction
13
-
14
- MediaCard is a promotional card component that displays a full-bleed background image with gradient overlays for text readability. It uses a simplified compound pattern with `MediaCardTitle` for the text and free-form children for leading content (e.g. tags, icons).
15
-
16
- > View in [Figma](https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7?node-id=15160-2853).
17
-
18
- ## Anatomy
19
-
20
- <Canvas of={MediaCardStories.Base} />
21
-
22
- - **MediaCard**: Root pressable container with background image and gradient overlays
23
- - **MediaCardTitle**: Styled title text (clamps at 3 lines)
24
- - **Leading content**: Any element rendered before `MediaCardTitle` (tags, badges, icons) — no wrapper needed
25
- - **Close button**: Rendered via the `onClose` prop (positioned absolute top-right) — only visible when `onClose` is provided
26
-
27
- ## Properties
28
-
29
- <Canvas of={MediaCardStories.Base} />
30
- <Controls of={MediaCardStories.Base} />
31
-
32
- ### Layout
33
-
34
- The card fills its parent width by default.
35
-
36
- <Canvas of={MediaCardStories.LayoutShowcase} />
37
-
38
- ### Compositions
39
-
40
- Leading content is optional — just place any element before `MediaCardTitle` inside `MediaCard`.
41
-
42
- <Canvas of={MediaCardStories.CompositionShowcase} />
43
-
44
- ## Accessibility
45
-
46
- - The root element uses `accessibilityRole='button'` when `onPress` is provided
47
- - The close button includes an `accessibilityLabel` (auto-translated via i18n) — only rendered when `onClose` is provided
48
- - The background image is not accessible (`accessible={false}`) since it is decorative
49
- - Components forward refs and spread props for accessibility support
50
-
51
- </Tab>
52
- <Tab label="Implementation">
53
-
54
- ## Setup
55
-
56
- Install and set up the library with our [Setup Guide →](?path=/docs/getting-started-setup--docs).
57
-
58
- ## Basic Usage
59
-
60
- Both `onPress` and `onClose` are optional. When `onClose` is omitted, the close button is hidden. When `onPress` is omitted, the card is non-interactive.
61
-
62
- ```tsx
63
- import { MediaCard, MediaCardTitle, Tag } from '@ledgerhq/lumen-ui-rnative';
64
-
65
- function MyComponent() {
66
- return (
67
- <MediaCard
68
- imageUrl='https://example.com/promo.jpg'
69
- onPress={() => console.log('pressed')}
70
- onClose={() => console.log('closed')}
71
- >
72
- <Tag label='New' size='md' />
73
- <MediaCardTitle>Card title</MediaCardTitle>
74
- </MediaCard>
75
- );
76
- }
77
- ```
78
-
79
- ### Without Close Button
80
-
81
- Omit `onClose` to hide the close button — useful for non-dismissible promotions:
82
-
83
- ```tsx
84
- <MediaCard
85
- imageUrl='https://example.com/promo.jpg'
86
- onPress={() => console.log('pressed')}
87
- >
88
- <Tag label='New' size='md' />
89
- <MediaCardTitle>Card title</MediaCardTitle>
90
- </MediaCard>
91
- ```
92
-
93
- ### Layout Adjustments with lx
94
-
95
- Use the `lx` prop for layout adjustments like margins or positioning:
96
-
97
- ```tsx
98
- <MediaCard
99
- imageUrl='https://example.com/promo.jpg'
100
- onPress={() => console.log('pressed')}
101
- lx={{ marginTop: 's16', marginBottom: 's8' }}
102
- >
103
- <MediaCardTitle>With margin</MediaCardTitle>
104
- </MediaCard>
105
- ```
106
-
107
-
108
- </Tab>
109
- </CustomTabs>
@@ -1,187 +0,0 @@
1
- "use strict";
2
-
3
- import CryptoIcon from '@ledgerhq/crypto-icons/native';
4
- import { useState } from 'react';
5
- import { Box, Text } from "../../primitives/index.js";
6
- import { Button } from "../Button/index.js";
7
- import { Tag } from "../Tag/index.js";
8
- import { MediaCard, MediaCardTitle } from "./MediaCard.js";
9
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
10
- const meta = {
11
- component: MediaCard,
12
- subcomponents: {
13
- MediaCardTitle
14
- },
15
- id: 'rnative-mediacard',
16
- title: 'Core/MediaCard',
17
- parameters: {
18
- layout: 'centered',
19
- backgrounds: {
20
- default: 'light'
21
- },
22
- docs: {
23
- source: {
24
- language: 'tsx',
25
- format: true,
26
- type: 'code'
27
- }
28
- }
29
- }
30
- };
31
- export default meta;
32
- const EXAMPLE_SRC = 'https://ledger-wp-website-s3-prd.ledger.com/uploads/2026/03/hero_visual-1.webp';
33
- const baseArgs = {
34
- imageUrl: EXAMPLE_SRC,
35
- children: null,
36
- onPress: () => ({}),
37
- onClose: () => ({})
38
- };
39
- export const Base = {
40
- parameters: {
41
- docs: {
42
- source: {
43
- type: 'dynamic'
44
- }
45
- }
46
- },
47
- args: {
48
- imageUrl: 'https://ledger-wp-website-s3-prd.ledger.com/uploads/2026/03/hero_visual-1.webp',
49
- children: null,
50
- onPress: () => ({}),
51
- onClose: () => ({})
52
- },
53
- render: args => /*#__PURE__*/_jsx(Box, {
54
- lx: {
55
- width: 's320'
56
- },
57
- children: /*#__PURE__*/_jsxs(MediaCard, {
58
- ...args,
59
- children: [/*#__PURE__*/_jsx(Tag, {
60
- label: "Label",
61
- size: "md"
62
- }), /*#__PURE__*/_jsxs(MediaCardTitle, {
63
- children: ["Black Friday sale.", /*#__PURE__*/_jsxs(Text, {
64
- typography: "heading3SemiBold",
65
- lx: {
66
- color: 'active'
67
- },
68
- children: [' ', "3 days with no fees", ' ']
69
- }), "on your transactions."]
70
- })]
71
- })
72
- })
73
- };
74
- export const LayoutShowcase = {
75
- parameters: {
76
- docs: {
77
- source: {
78
- type: 'dynamic'
79
- }
80
- }
81
- },
82
- args: {
83
- imageUrl: EXAMPLE_SRC,
84
- children: null
85
- },
86
- render: () => /*#__PURE__*/_jsx(Box, {
87
- lx: {
88
- flexDirection: 'column',
89
- width: 's320',
90
- gap: 's16',
91
- padding: 's8'
92
- },
93
- children: /*#__PURE__*/_jsxs(MediaCard, {
94
- ...baseArgs,
95
- children: [/*#__PURE__*/_jsx(Tag, {
96
- label: "Label",
97
- size: "md"
98
- }), /*#__PURE__*/_jsx(MediaCardTitle, {
99
- children: "Full width card"
100
- })]
101
- })
102
- })
103
- };
104
- export const CompositionShowcase = {
105
- parameters: {
106
- docs: {
107
- source: {
108
- type: 'dynamic'
109
- }
110
- }
111
- },
112
- args: {
113
- imageUrl: EXAMPLE_SRC,
114
- children: null
115
- },
116
- render: () => /*#__PURE__*/_jsxs(Box, {
117
- lx: {
118
- flexDirection: 'column',
119
- width: 's320',
120
- gap: 's16',
121
- padding: 's8'
122
- },
123
- children: [/*#__PURE__*/_jsx(MediaCard, {
124
- ...baseArgs,
125
- children: /*#__PURE__*/_jsx(MediaCardTitle, {
126
- children: "Title only"
127
- })
128
- }), /*#__PURE__*/_jsxs(MediaCard, {
129
- ...baseArgs,
130
- children: [/*#__PURE__*/_jsx(Tag, {
131
- label: "Promo",
132
- size: "md"
133
- }), /*#__PURE__*/_jsx(MediaCardTitle, {
134
- children: "With tag and title"
135
- })]
136
- }), /*#__PURE__*/_jsxs(MediaCard, {
137
- ...baseArgs,
138
- children: [/*#__PURE__*/_jsx(CryptoIcon, {
139
- ledgerId: "bitcoin",
140
- ticker: "BTC",
141
- size: 32
142
- }), /*#__PURE__*/_jsx(MediaCardTitle, {
143
- children: "With crypto icon"
144
- })]
145
- })]
146
- })
147
- };
148
- export const WithClose = {
149
- args: {
150
- imageUrl: EXAMPLE_SRC,
151
- children: null
152
- },
153
- render: () => {
154
- const [visible, setVisible] = useState(true);
155
- if (!visible) {
156
- return /*#__PURE__*/_jsx(Button, {
157
- appearance: "transparent",
158
- size: "sm",
159
- onPress: () => setVisible(true),
160
- children: "Show card again"
161
- });
162
- }
163
- return /*#__PURE__*/_jsx(Box, {
164
- lx: {
165
- width: 's320'
166
- },
167
- children: /*#__PURE__*/_jsxs(MediaCard, {
168
- imageUrl: EXAMPLE_SRC,
169
- onPress: () => ({}),
170
- onClose: () => setVisible(false),
171
- children: [/*#__PURE__*/_jsx(Tag, {
172
- label: "Label",
173
- size: "md"
174
- }), /*#__PURE__*/_jsxs(MediaCardTitle, {
175
- children: ["Black Friday sale.", /*#__PURE__*/_jsxs(Text, {
176
- typography: "heading3SemiBold",
177
- lx: {
178
- color: 'active'
179
- },
180
- children: [' ', "3 days with no fees", ' ']
181
- }), "on your transactions."]
182
- })]
183
- })
184
- });
185
- }
186
- };
187
- //# sourceMappingURL=MediaCard.stories.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["CryptoIcon","useState","Box","Text","Button","Tag","MediaCard","MediaCardTitle","jsx","_jsx","jsxs","_jsxs","meta","component","subcomponents","id","title","parameters","layout","backgrounds","default","docs","source","language","format","type","EXAMPLE_SRC","baseArgs","imageUrl","children","onPress","onClose","Base","args","render","lx","width","label","size","typography","color","LayoutShowcase","flexDirection","gap","padding","CompositionShowcase","ledgerId","ticker","WithClose","visible","setVisible","appearance"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/MediaCard/MediaCard.stories.tsx"],"mappings":";;AAAA,OAAOA,UAAU,MAAM,+BAA+B;AAEtD,SAASC,QAAQ,Q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AAA,CAACL,MAAM;QACL+C,UAAU,EAAC,aAAa;QACxBb,IAAI,EAAC,IAAI;QACTR,OAAO,EAAEA,CAAA,KAAMoB,UAAU,CAAC,IAAI,CAAE;QAAArB,QAAA,EACjC;MAED,CAAQ,CAAC;IAEb;IAEA,oBACEpB,IAAA,CAACP,GAAG;MAACiC,EAAE,EAAE;QAAEC,KAAK,EAAE;MAAO,CAAE;MAAAP,QAAA,eACzBlB,KAAA,CAACL,SAAS;QACRsB,QAAQ,EAAEF,WAAY;QACtBI,OAAO,EAAEA,CAAA,MAAO,CAAC,CAAC,CAAE;QACpBC,OAAO,EAAEA,CAAA,KAAMmB,UAAU,CAAC,KAAK,CAAE;QAAArB,QAAA,gBAEjCpB,IAAA,CAACJ,GAAG;UAACgC,KAAK,EAAC,OAAO;UAACC,IAAI,EAAC;QAAI,CAAE,CAAC,eAC/B3B,KAAA,CAACJ,cAAc;UAAAsB,QAAA,GAAC,oBAEd,eAAAlB,KAAA,CAACR,IAAI;YAACoC,UAAU,EAAC,kBAAkB;YAACJ,EAAE,EAAE;cAAEK,KAAK,EAAE;YAAS,CAAE;YAAAX,QAAA,GACzD,GAAG,EAAC,qBACc,EAAC,GAAG;UAAA,CACnB,CAAC,yBAET;QAAA,CAAgB,CAAC;MAAA,CACR;IAAC,CACT,CAAC;EAEV;AACF,CAAC","ignoreList":[]}
@@ -1,140 +0,0 @@
1
- "use strict";
2
-
3
- import { describe, it, expect, jest } from '@jest/globals';
4
- import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
5
- import { fireEvent, render } from '@testing-library/react-native';
6
- import { ThemeProvider } from "../ThemeProvider/ThemeProvider.js";
7
- import { MediaCard, MediaCardTitle } from "./MediaCard.js";
8
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
- const TestWrapper = ({
10
- children
11
- }) => /*#__PURE__*/_jsx(ThemeProvider, {
12
- themes: ledgerLiveThemes,
13
- colorScheme: "dark",
14
- locale: "en",
15
- children: children
16
- });
17
- const makeProps = () => ({
18
- imageUrl: 'https://example.com/image.jpg',
19
- onPress: jest.fn(),
20
- onClose: jest.fn()
21
- });
22
- describe('MediaCard', () => {
23
- it('should render title', () => {
24
- const {
25
- getByText
26
- } = render(/*#__PURE__*/_jsx(TestWrapper, {
27
- children: /*#__PURE__*/_jsx(MediaCard, {
28
- ...makeProps(),
29
- children: /*#__PURE__*/_jsx(MediaCardTitle, {
30
- children: "Title"
31
- })
32
- })
33
- }));
34
- getByText('Title');
35
- });
36
- it('should render leading content and title', () => {
37
- const {
38
- getByText
39
- } = render(/*#__PURE__*/_jsx(TestWrapper, {
40
- children: /*#__PURE__*/_jsxs(MediaCard, {
41
- ...makeProps(),
42
- children: [/*#__PURE__*/_jsx(MediaCardTitle, {
43
- children: "Tag"
44
- }), /*#__PURE__*/_jsx(MediaCardTitle, {
45
- children: "Title"
46
- })]
47
- })
48
- }));
49
- getByText('Tag');
50
- getByText('Title');
51
- });
52
- it('should fire onPress on press', () => {
53
- const props = makeProps();
54
- const {
55
- getByTestId
56
- } = render(/*#__PURE__*/_jsx(TestWrapper, {
57
- children: /*#__PURE__*/_jsx(MediaCard, {
58
- ...props,
59
- testID: "media-card",
60
- children: /*#__PURE__*/_jsx(MediaCardTitle, {
61
- children: "Title"
62
- })
63
- })
64
- }));
65
- fireEvent.press(getByTestId('media-card'));
66
- expect(props.onPress).toHaveBeenCalledTimes(1);
67
- });
68
- it('should render image when imageUrl is provided', () => {
69
- const {
70
- getByTestId
71
- } = render(/*#__PURE__*/_jsx(TestWrapper, {
72
- children: /*#__PURE__*/_jsx(MediaCard, {
73
- ...makeProps(),
74
- children: /*#__PURE__*/_jsx(MediaCardTitle, {
75
- children: "Title"
76
- })
77
- })
78
- }));
79
- expect(getByTestId('media-card-image')).toBeTruthy();
80
- });
81
- it('should hide image on error', () => {
82
- const {
83
- getByTestId,
84
- queryByTestId
85
- } = render(/*#__PURE__*/_jsx(TestWrapper, {
86
- children: /*#__PURE__*/_jsx(MediaCard, {
87
- ...makeProps(),
88
- children: /*#__PURE__*/_jsx(MediaCardTitle, {
89
- children: "Title"
90
- })
91
- })
92
- }));
93
- const img = getByTestId('media-card-image');
94
- fireEvent(img, 'onError');
95
- expect(queryByTestId('media-card-image')).toBeNull();
96
- });
97
- it('should fire onClose on close button press', () => {
98
- const props = makeProps();
99
- const {
100
- getByTestId
101
- } = render(/*#__PURE__*/_jsx(TestWrapper, {
102
- children: /*#__PURE__*/_jsx(MediaCard, {
103
- ...props,
104
- children: /*#__PURE__*/_jsx(MediaCardTitle, {
105
- children: "Title"
106
- })
107
- })
108
- }));
109
- fireEvent.press(getByTestId('media-card-close-button'));
110
- expect(props.onClose).toHaveBeenCalledTimes(1);
111
- });
112
- it('should not render close button when onClose is not provided', () => {
113
- const {
114
- queryByTestId
115
- } = render(/*#__PURE__*/_jsx(TestWrapper, {
116
- children: /*#__PURE__*/_jsx(MediaCard, {
117
- imageUrl: "https://example.com/image.jpg",
118
- children: /*#__PURE__*/_jsx(MediaCardTitle, {
119
- children: "Title"
120
- })
121
- })
122
- }));
123
- expect(queryByTestId('media-card-close-button')).toBeNull();
124
- });
125
- it('should not have button role when onPress is not provided', () => {
126
- const {
127
- getByTestId
128
- } = render(/*#__PURE__*/_jsx(TestWrapper, {
129
- children: /*#__PURE__*/_jsx(MediaCard, {
130
- imageUrl: "https://example.com/image.jpg",
131
- testID: "media-card",
132
- children: /*#__PURE__*/_jsx(MediaCardTitle, {
133
- children: "Title"
134
- })
135
- })
136
- }));
137
- expect(getByTestId('media-card').props.accessibilityRole).toBeUndefined();
138
- });
139
- });
140
- //# sourceMappingURL=MediaCard.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["describe","it","expect","jest","ledgerLiveThemes","fireEvent","render","ThemeProvider","MediaCard","MediaCardTitle","jsx","_jsx","jsxs","_jsxs","TestWrapper","children","themes","colorScheme","locale","makeProps","imageUrl","onPress","fn","onClose","getByText","props","getByTestId","testID","press","toHaveBeenCalledTimes","toBeTruthy","queryByTestId","img","toBeNull","accessibilityRole","toBeUndefined"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/MediaCard/MediaCard.test.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,EAAE,EAAEC,MAAM,EAAEC,IAAI,QAAQ,eAAe;AAC1D,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,SAAS,EAAEC,MAAM,QAAQ,+BAA+B;AAEjE,SAASC,aAAa,QAAQ,mCAAgC;AAC9D,SAASC,SAAS,EAAEC,cAAc,QAAQ,gBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAExD,MAAMC,WAAW,GAAGA,CAAC;EAAEC;AAAkC,CAAC,kBACxDJ,IAAA,CAACJ,aAAa;EAACS,MAAM,EAAEZ,gBAAiB;EAACa,WAAW,EAAC,MAAM;EAACC,MAAM,EAAC,IAAI;EAAAH,QAAA,EACpEA;AAAQ,CACI,CAChB;AAED,MAAMI,SAAS,GAAGA,CAAA,MAAO;EACvBC,QAAQ,EAAE,+BAA+B;EACzCC,OAAO,EAAElB,IAAI,CAACmB,EAAE,CAAC,CAAC;EAClBC,OAAO,EAAEpB,IAAI,CAACmB,EAAE,CAAC;AACnB,CAAC,CAAC;AAEFtB,QAAQ,CAAC,WAAW,EAAE,MAAM;EAC1BC,EAAE,CAAC,qBAAqB,EAAE,MAAM;IAC9B,MAAM;MAAEuB;IAAU,CAAC,GAAGlB,MAAM,cAC1BK,IAAA,CAACG,WAAW;MAAAC,QAAA,eACVJ,IAAA,CAACH,SAAS;QAAA,GAAKW,SAAS,CAAC,CAAC;QAAAJ,QAAA,eACxBJ,IAAA,CAACF,cAAc;UAAAM,QAAA,EAAC;QAAK,CAAgB;MAAC,CAC7B;IAAC,CACD,CACf,CAAC;IAEDS,SAAS,CAAC,OAAO,CAAC;EACpB,CAAC,CAAC;EAEFvB,EAAE,CAAC,yCAAyC,EAAE,MAAM;IAClD,MAAM;MAAEuB;I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