@ledgerhq/lumen-ui-rnative 0.1.69 → 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 (881) hide show
  1. package/dist/module/lib/Components/core/Link/Link.js +1 -1
  2. package/dist/module/lib/Components/core/Pagination/Pagination.js +182 -0
  3. package/dist/module/lib/Components/core/Pagination/Pagination.js.map +1 -0
  4. package/dist/module/lib/Components/core/Pagination/index.js +4 -0
  5. package/dist/module/lib/Components/core/Pagination/index.js.map +1 -0
  6. package/dist/module/lib/Components/core/Pagination/types.js +4 -0
  7. package/dist/module/lib/Components/core/Pagination/types.js.map +1 -0
  8. package/dist/module/lib/Components/core/Timeline/Timeline.js +81 -67
  9. package/dist/module/lib/Components/core/Timeline/Timeline.js.map +1 -1
  10. package/dist/module/lib/Components/core/index.js +1 -0
  11. package/dist/module/lib/Components/core/index.js.map +1 -1
  12. package/dist/module/lib/Components/internal/BaseButton/BaseButton.js +5 -2
  13. package/dist/module/lib/Components/internal/BaseButton/BaseButton.js.map +1 -1
  14. package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js +2 -1
  15. package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js.map +1 -1
  16. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js +5 -3
  17. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js.map +1 -1
  18. package/dist/module/lib/Components/visualization/Line/utils.js +1 -1
  19. package/dist/module/lib/Components/visualization/Point/usePointGeometry.js +1 -1
  20. package/dist/module/lib/Components/visualization/Point/utils.js +1 -1
  21. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.js +3 -3
  22. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.js.map +1 -1
  23. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js +111 -29
  24. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js.map +1 -1
  25. package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js +30 -13
  26. package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js.map +1 -1
  27. package/dist/module/lib/Components/visualization/Scrubber/utils.js +16 -0
  28. package/dist/module/lib/Components/visualization/Scrubber/utils.js.map +1 -1
  29. package/dist/module/lib/Components/visualization/config.js +4 -0
  30. package/dist/module/lib/Components/visualization/config.js.map +1 -1
  31. package/dist/module/translations/locales/de.json +7 -0
  32. package/dist/module/translations/locales/en.json +7 -0
  33. package/dist/module/translations/locales/es.json +7 -0
  34. package/dist/module/translations/locales/fr.json +7 -0
  35. package/dist/module/translations/locales/ja.json +7 -0
  36. package/dist/module/translations/locales/ko.json +7 -0
  37. package/dist/module/translations/locales/pt.json +7 -0
  38. package/dist/module/translations/locales/ru.json +7 -0
  39. package/dist/module/translations/locales/th.json +7 -0
  40. package/dist/module/translations/locales/tr.json +7 -0
  41. package/dist/module/translations/locales/zh.json +7 -0
  42. package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts +15 -0
  43. package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts.map +1 -0
  44. package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts +3 -0
  45. package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts.map +1 -0
  46. package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts +29 -0
  47. package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts.map +1 -0
  48. package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts +2 -2
  49. package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts.map +1 -1
  50. package/dist/typescript/src/lib/Components/core/index.d.ts +1 -0
  51. package/dist/typescript/src/lib/Components/core/index.d.ts.map +1 -1
  52. package/dist/typescript/src/lib/Components/internal/BaseButton/BaseButton.d.ts.map +1 -1
  53. package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts +1 -1
  54. package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts.map +1 -1
  55. package/dist/typescript/src/lib/Components/internal/BaseInput/types.d.ts +1 -1
  56. package/dist/typescript/src/lib/Components/visualization/Axis/types.d.ts +1 -1
  57. package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
  58. package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts +2 -1
  59. package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts.map +1 -1
  60. package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +5 -1
  61. package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts.map +1 -1
  62. package/dist/typescript/src/lib/Components/visualization/Line/utils.d.ts +1 -1
  63. package/dist/typescript/src/lib/Components/visualization/LineChart/types.d.ts +3 -3
  64. package/dist/typescript/src/lib/Components/visualization/Point/types.d.ts +3 -3
  65. package/dist/typescript/src/lib/Components/visualization/Point/usePointGeometry.d.ts +1 -1
  66. package/dist/typescript/src/lib/Components/visualization/Point/utils.d.ts +1 -1
  67. package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts +1 -1
  68. package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts.map +1 -1
  69. package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts +7 -1
  70. package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts.map +1 -1
  71. package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts +9 -6
  72. package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts.map +1 -1
  73. package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts +5 -0
  74. package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts.map +1 -1
  75. package/dist/typescript/src/lib/Components/visualization/config.d.ts +4 -0
  76. package/dist/typescript/src/lib/Components/visualization/config.d.ts.map +1 -1
  77. package/dist/typescript/src/translations/translations.d.ts +84 -0
  78. package/dist/typescript/src/translations/translations.d.ts.map +1 -1
  79. package/package.json +17 -9
  80. package/src/lib/Components/core/Link/Link.tsx +1 -1
  81. package/src/lib/Components/core/Pagination/Pagination.tsx +200 -0
  82. package/src/lib/Components/core/Pagination/index.ts +2 -0
  83. package/src/lib/Components/core/Pagination/types.ts +29 -0
  84. package/src/lib/Components/core/Timeline/Timeline.tsx +79 -75
  85. package/src/lib/Components/core/index.ts +1 -0
  86. package/src/lib/Components/internal/BaseButton/BaseButton.tsx +3 -0
  87. package/src/lib/Components/internal/BaseButton/types.ts +2 -1
  88. package/src/lib/Components/internal/BaseInput/types.ts +1 -1
  89. package/src/lib/Components/visualization/Axis/types.ts +1 -1
  90. package/src/lib/Components/visualization/CartesianChart/CartesianChart.tsx +1 -0
  91. package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.ts +4 -1
  92. package/src/lib/Components/visualization/CartesianChart/types.ts +5 -1
  93. package/src/lib/Components/visualization/Line/utils.ts +1 -1
  94. package/src/lib/Components/visualization/LineChart/types.ts +3 -3
  95. package/src/lib/Components/visualization/Point/types.ts +3 -3
  96. package/src/lib/Components/visualization/Point/usePointGeometry.ts +1 -1
  97. package/src/lib/Components/visualization/Point/utils.ts +1 -1
  98. package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.ts +3 -3
  99. package/src/lib/Components/visualization/Scrubber/Scrubber.tsx +108 -31
  100. package/src/lib/Components/visualization/Scrubber/types.ts +7 -1
  101. package/src/lib/Components/visualization/Scrubber/useScrubberGeometry.ts +40 -15
  102. package/src/lib/Components/visualization/Scrubber/utils.ts +18 -0
  103. package/src/lib/Components/visualization/config.ts +4 -0
  104. package/src/translations/locales/de.json +7 -0
  105. package/src/translations/locales/en.json +7 -0
  106. package/src/translations/locales/es.json +7 -0
  107. package/src/translations/locales/fr.json +7 -0
  108. package/src/translations/locales/ja.json +7 -0
  109. package/src/translations/locales/ko.json +7 -0
  110. package/src/translations/locales/pt.json +7 -0
  111. package/src/translations/locales/ru.json +7 -0
  112. package/src/translations/locales/th.json +7 -0
  113. package/src/translations/locales/tr.json +7 -0
  114. package/src/translations/locales/zh.json +7 -0
  115. package/dist/module/lib/Components/animations/Pulse/Pulse.mdx +0 -85
  116. package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js +0 -149
  117. package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js.map +0 -1
  118. package/dist/module/lib/Components/animations/Spin/Spin.mdx +0 -84
  119. package/dist/module/lib/Components/animations/Spin/Spin.stories.js +0 -126
  120. package/dist/module/lib/Components/animations/Spin/Spin.stories.js.map +0 -1
  121. package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js +0 -40
  122. package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js.map +0 -1
  123. package/dist/module/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
  124. package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js +0 -195
  125. package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js.map +0 -1
  126. package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js +0 -56
  127. package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js.map +0 -1
  128. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js +0 -31
  129. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js.map +0 -1
  130. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
  131. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js +0 -182
  132. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js.map +0 -1
  133. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js +0 -409
  134. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js.map +0 -1
  135. package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js +0 -70
  136. package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js.map +0 -1
  137. package/dist/module/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
  138. package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js +0 -276
  139. package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js.map +0 -1
  140. package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js +0 -152
  141. package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js.map +0 -1
  142. package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js +0 -78
  143. package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js.map +0 -1
  144. package/dist/module/lib/Components/core/Avatar/Avatar.figma.js +0 -32
  145. package/dist/module/lib/Components/core/Avatar/Avatar.figma.js.map +0 -1
  146. package/dist/module/lib/Components/core/Avatar/Avatar.mdx +0 -166
  147. package/dist/module/lib/Components/core/Avatar/Avatar.stories.js +0 -175
  148. package/dist/module/lib/Components/core/Avatar/Avatar.stories.js.map +0 -1
  149. package/dist/module/lib/Components/core/Avatar/Avatar.test.js +0 -330
  150. package/dist/module/lib/Components/core/Avatar/Avatar.test.js.map +0 -1
  151. package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js +0 -88
  152. package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js.map +0 -1
  153. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
  154. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js +0 -59
  155. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js.map +0 -1
  156. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js +0 -100
  157. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js.map +0 -1
  158. package/dist/module/lib/Components/core/Banner/Banner.figma.js +0 -107
  159. package/dist/module/lib/Components/core/Banner/Banner.figma.js.map +0 -1
  160. package/dist/module/lib/Components/core/Banner/Banner.mdx +0 -352
  161. package/dist/module/lib/Components/core/Banner/Banner.stories.js +0 -473
  162. package/dist/module/lib/Components/core/Banner/Banner.stories.js.map +0 -1
  163. package/dist/module/lib/Components/core/Banner/Banner.test.js +0 -120
  164. package/dist/module/lib/Components/core/Banner/Banner.test.js.map +0 -1
  165. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js +0 -49
  166. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js.map +0 -1
  167. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
  168. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js +0 -1034
  169. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js.map +0 -1
  170. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js +0 -632
  171. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js.map +0 -1
  172. package/dist/module/lib/Components/core/Button/Button.figma.js +0 -45
  173. package/dist/module/lib/Components/core/Button/Button.figma.js.map +0 -1
  174. package/dist/module/lib/Components/core/Button/Button.mdx +0 -167
  175. package/dist/module/lib/Components/core/Button/Button.stories.js +0 -276
  176. package/dist/module/lib/Components/core/Button/Button.stories.js.map +0 -1
  177. package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js +0 -19
  178. package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js.map +0 -1
  179. package/dist/module/lib/Components/core/Card/Card.figma.js +0 -158
  180. package/dist/module/lib/Components/core/Card/Card.figma.js.map +0 -1
  181. package/dist/module/lib/Components/core/Card/Card.mdx +0 -287
  182. package/dist/module/lib/Components/core/Card/Card.stories.js +0 -928
  183. package/dist/module/lib/Components/core/Card/Card.stories.js.map +0 -1
  184. package/dist/module/lib/Components/core/Card/Card.test.js +0 -226
  185. package/dist/module/lib/Components/core/Card/Card.test.js.map +0 -1
  186. package/dist/module/lib/Components/core/CardButton/CardButton.figma.js +0 -38
  187. package/dist/module/lib/Components/core/CardButton/CardButton.figma.js.map +0 -1
  188. package/dist/module/lib/Components/core/CardButton/CardButton.mdx +0 -246
  189. package/dist/module/lib/Components/core/CardButton/CardButton.stories.js +0 -342
  190. package/dist/module/lib/Components/core/CardButton/CardButton.stories.js.map +0 -1
  191. package/dist/module/lib/Components/core/CardButton/CardButton.test.js +0 -130
  192. package/dist/module/lib/Components/core/CardButton/CardButton.test.js.map +0 -1
  193. package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js +0 -48
  194. package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js.map +0 -1
  195. package/dist/module/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
  196. package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js +0 -141
  197. package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js.map +0 -1
  198. package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js +0 -103
  199. package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js.map +0 -1
  200. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js +0 -90
  201. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js.map +0 -1
  202. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
  203. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +0 -244
  204. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +0 -1
  205. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js +0 -137
  206. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js.map +0 -1
  207. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js +0 -29
  208. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js.map +0 -1
  209. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
  210. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js +0 -259
  211. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js.map +0 -1
  212. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js +0 -116
  213. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js.map +0 -1
  214. package/dist/module/lib/Components/core/Divider/Divider.figma.js +0 -10
  215. package/dist/module/lib/Components/core/Divider/Divider.figma.js.map +0 -1
  216. package/dist/module/lib/Components/core/Divider/Divider.mdx +0 -149
  217. package/dist/module/lib/Components/core/Divider/Divider.stories.js +0 -201
  218. package/dist/module/lib/Components/core/Divider/Divider.stories.js.map +0 -1
  219. package/dist/module/lib/Components/core/Divider/Divider.test.js +0 -101
  220. package/dist/module/lib/Components/core/Divider/Divider.test.js.map +0 -1
  221. package/dist/module/lib/Components/core/DotCount/DotCount.figma.js +0 -29
  222. package/dist/module/lib/Components/core/DotCount/DotCount.figma.js.map +0 -1
  223. package/dist/module/lib/Components/core/DotCount/DotCount.mdx +0 -86
  224. package/dist/module/lib/Components/core/DotCount/DotCount.stories.js +0 -164
  225. package/dist/module/lib/Components/core/DotCount/DotCount.stories.js.map +0 -1
  226. package/dist/module/lib/Components/core/DotCount/DotCount.test.js +0 -174
  227. package/dist/module/lib/Components/core/DotCount/DotCount.test.js.map +0 -1
  228. package/dist/module/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
  229. package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js +0 -276
  230. package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js.map +0 -1
  231. package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js +0 -260
  232. package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js.map +0 -1
  233. package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js +0 -38
  234. package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js.map +0 -1
  235. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js +0 -29
  236. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js.map +0 -1
  237. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
  238. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js +0 -102
  239. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js.map +0 -1
  240. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js +0 -156
  241. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js.map +0 -1
  242. package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js +0 -33
  243. package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js.map +0 -1
  244. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
  245. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +0 -380
  246. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +0 -1
  247. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js +0 -134
  248. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js.map +0 -1
  249. package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js +0 -56
  250. package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js.map +0 -1
  251. package/dist/module/lib/Components/core/IconButton/IconButton.figma.js +0 -42
  252. package/dist/module/lib/Components/core/IconButton/IconButton.figma.js.map +0 -1
  253. package/dist/module/lib/Components/core/IconButton/IconButton.mdx +0 -137
  254. package/dist/module/lib/Components/core/IconButton/IconButton.stories.js +0 -153
  255. package/dist/module/lib/Components/core/IconButton/IconButton.stories.js.map +0 -1
  256. package/dist/module/lib/Components/core/IconButton/IconButton.test.js +0 -107
  257. package/dist/module/lib/Components/core/IconButton/IconButton.test.js.map +0 -1
  258. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js +0 -51
  259. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js.map +0 -1
  260. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
  261. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js +0 -243
  262. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js.map +0 -1
  263. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js +0 -149
  264. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js.map +0 -1
  265. package/dist/module/lib/Components/core/Link/Link.figma.js +0 -42
  266. package/dist/module/lib/Components/core/Link/Link.figma.js.map +0 -1
  267. package/dist/module/lib/Components/core/Link/Link.mdx +0 -237
  268. package/dist/module/lib/Components/core/Link/Link.stories.js +0 -453
  269. package/dist/module/lib/Components/core/Link/Link.stories.js.map +0 -1
  270. package/dist/module/lib/Components/core/Link/Link.test.js +0 -157
  271. package/dist/module/lib/Components/core/Link/Link.test.js.map +0 -1
  272. package/dist/module/lib/Components/core/ListItem/ListItem.figma.js +0 -426
  273. package/dist/module/lib/Components/core/ListItem/ListItem.figma.js.map +0 -1
  274. package/dist/module/lib/Components/core/ListItem/ListItem.mdx +0 -461
  275. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +0 -856
  276. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +0 -1
  277. package/dist/module/lib/Components/core/ListItem/ListItem.test.js +0 -233
  278. package/dist/module/lib/Components/core/ListItem/ListItem.test.js.map +0 -1
  279. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js +0 -25
  280. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js.map +0 -1
  281. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
  282. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js +0 -176
  283. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js.map +0 -1
  284. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js +0 -129
  285. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js.map +0 -1
  286. package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js +0 -72
  287. package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js.map +0 -1
  288. package/dist/module/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
  289. package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js +0 -180
  290. package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js.map +0 -1
  291. package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js +0 -171
  292. package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js.map +0 -1
  293. package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js +0 -28
  294. package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js.map +0 -1
  295. package/dist/module/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
  296. package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js +0 -213
  297. package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js.map +0 -1
  298. package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js +0 -140
  299. package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js.map +0 -1
  300. package/dist/module/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
  301. package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js +0 -235
  302. package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js.map +0 -1
  303. package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js +0 -325
  304. package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js.map +0 -1
  305. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js +0 -215
  306. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js.map +0 -1
  307. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -90
  308. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +0 -184
  309. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js.map +0 -1
  310. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js +0 -246
  311. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js.map +0 -1
  312. package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js +0 -100
  313. package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js.map +0 -1
  314. package/dist/module/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
  315. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js +0 -136
  316. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js.map +0 -1
  317. package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js +0 -30
  318. package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js.map +0 -1
  319. package/dist/module/lib/Components/core/MenuList/MenuList.figma.js +0 -21
  320. package/dist/module/lib/Components/core/MenuList/MenuList.figma.js.map +0 -1
  321. package/dist/module/lib/Components/core/MenuList/MenuList.mdx +0 -79
  322. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +0 -176
  323. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +0 -1
  324. package/dist/module/lib/Components/core/MenuList/MenuList.test.js +0 -204
  325. package/dist/module/lib/Components/core/MenuList/MenuList.test.js.map +0 -1
  326. package/dist/module/lib/Components/core/NavBar/NavBar.figma.js +0 -80
  327. package/dist/module/lib/Components/core/NavBar/NavBar.figma.js.map +0 -1
  328. package/dist/module/lib/Components/core/NavBar/NavBar.mdx +0 -257
  329. package/dist/module/lib/Components/core/NavBar/NavBar.stories.js +0 -158
  330. package/dist/module/lib/Components/core/NavBar/NavBar.stories.js.map +0 -1
  331. package/dist/module/lib/Components/core/NavBar/NavBar.test.js +0 -405
  332. package/dist/module/lib/Components/core/NavBar/NavBar.test.js.map +0 -1
  333. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js +0 -13
  334. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js.map +0 -1
  335. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
  336. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js +0 -93
  337. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js.map +0 -1
  338. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js +0 -213
  339. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js.map +0 -1
  340. package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js +0 -31
  341. package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js.map +0 -1
  342. package/dist/module/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
  343. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js +0 -117
  344. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js.map +0 -1
  345. package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js +0 -41
  346. package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js.map +0 -1
  347. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js +0 -22
  348. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js.map +0 -1
  349. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
  350. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js +0 -104
  351. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js.map +0 -1
  352. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js +0 -108
  353. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js.map +0 -1
  354. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js +0 -35
  355. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js.map +0 -1
  356. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
  357. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js +0 -204
  358. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js.map +0 -1
  359. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js +0 -211
  360. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js.map +0 -1
  361. package/dist/module/lib/Components/core/SelectList/SelectList.figma.js +0 -28
  362. package/dist/module/lib/Components/core/SelectList/SelectList.figma.js.map +0 -1
  363. package/dist/module/lib/Components/core/SelectList/SelectList.mdx +0 -278
  364. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +0 -1100
  365. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +0 -1
  366. package/dist/module/lib/Components/core/SelectList/SelectList.test.js +0 -620
  367. package/dist/module/lib/Components/core/SelectList/SelectList.test.js.map +0 -1
  368. package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js +0 -199
  369. package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js.map +0 -1
  370. package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js +0 -18
  371. package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js.map +0 -1
  372. package/dist/module/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
  373. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js +0 -128
  374. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js.map +0 -1
  375. package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js +0 -63
  376. package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js.map +0 -1
  377. package/dist/module/lib/Components/core/Spinner/Spinner.figma.js +0 -13
  378. package/dist/module/lib/Components/core/Spinner/Spinner.figma.js.map +0 -1
  379. package/dist/module/lib/Components/core/Spinner/Spinner.mdx +0 -119
  380. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js +0 -207
  381. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js.map +0 -1
  382. package/dist/module/lib/Components/core/Spot/Spot.figma.js +0 -52
  383. package/dist/module/lib/Components/core/Spot/Spot.figma.js.map +0 -1
  384. package/dist/module/lib/Components/core/Spot/Spot.mdx +0 -113
  385. package/dist/module/lib/Components/core/Spot/Spot.stories.js +0 -223
  386. package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +0 -1
  387. package/dist/module/lib/Components/core/Spot/Spot.test.js +0 -61
  388. package/dist/module/lib/Components/core/Spot/Spot.test.js.map +0 -1
  389. package/dist/module/lib/Components/core/Spot/SpotNumber.test.js +0 -72
  390. package/dist/module/lib/Components/core/Spot/SpotNumber.test.js.map +0 -1
  391. package/dist/module/lib/Components/core/Stepper/Stepper.figma.js +0 -13
  392. package/dist/module/lib/Components/core/Stepper/Stepper.figma.js.map +0 -1
  393. package/dist/module/lib/Components/core/Stepper/Stepper.mdx +0 -167
  394. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js +0 -207
  395. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js.map +0 -1
  396. package/dist/module/lib/Components/core/Stepper/Stepper.test.js +0 -184
  397. package/dist/module/lib/Components/core/Stepper/Stepper.test.js.map +0 -1
  398. package/dist/module/lib/Components/core/Subheader/Subheader.figma.js +0 -67
  399. package/dist/module/lib/Components/core/Subheader/Subheader.figma.js.map +0 -1
  400. package/dist/module/lib/Components/core/Subheader/Subheader.mdx +0 -366
  401. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js +0 -107
  402. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js.map +0 -1
  403. package/dist/module/lib/Components/core/Subheader/Subheader.test.js +0 -164
  404. package/dist/module/lib/Components/core/Subheader/Subheader.test.js.map +0 -1
  405. package/dist/module/lib/Components/core/Switch/Switch.figma.js +0 -58
  406. package/dist/module/lib/Components/core/Switch/Switch.figma.js.map +0 -1
  407. package/dist/module/lib/Components/core/Switch/Switch.mdx +0 -149
  408. package/dist/module/lib/Components/core/Switch/Switch.stories.js +0 -130
  409. package/dist/module/lib/Components/core/Switch/Switch.stories.js.map +0 -1
  410. package/dist/module/lib/Components/core/Switch/Switch.test.js +0 -92
  411. package/dist/module/lib/Components/core/Switch/Switch.test.js.map +0 -1
  412. package/dist/module/lib/Components/core/TabBar/TabBar.figma.js +0 -98
  413. package/dist/module/lib/Components/core/TabBar/TabBar.figma.js.map +0 -1
  414. package/dist/module/lib/Components/core/TabBar/TabBar.mdx +0 -209
  415. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js +0 -172
  416. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js.map +0 -1
  417. package/dist/module/lib/Components/core/TabBar/TabBar.test.js +0 -112
  418. package/dist/module/lib/Components/core/TabBar/TabBar.test.js.map +0 -1
  419. package/dist/module/lib/Components/core/Tag/Tag.figma.js +0 -41
  420. package/dist/module/lib/Components/core/Tag/Tag.figma.js.map +0 -1
  421. package/dist/module/lib/Components/core/Tag/Tag.mdx +0 -98
  422. package/dist/module/lib/Components/core/Tag/Tag.stories.js +0 -180
  423. package/dist/module/lib/Components/core/Tag/Tag.stories.js.map +0 -1
  424. package/dist/module/lib/Components/core/Tag/Tag.test.js +0 -69
  425. package/dist/module/lib/Components/core/Tag/Tag.test.js.map +0 -1
  426. package/dist/module/lib/Components/core/TextInput/TextInput.figma.js +0 -46
  427. package/dist/module/lib/Components/core/TextInput/TextInput.figma.js.map +0 -1
  428. package/dist/module/lib/Components/core/TextInput/TextInput.mdx +0 -305
  429. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js +0 -278
  430. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js.map +0 -1
  431. package/dist/module/lib/Components/core/TextInput/TextInput.test.js +0 -295
  432. package/dist/module/lib/Components/core/TextInput/TextInput.test.js.map +0 -1
  433. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js +0 -43
  434. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js.map +0 -1
  435. package/dist/module/lib/Components/core/Tile/Tile.figma.js +0 -110
  436. package/dist/module/lib/Components/core/Tile/Tile.figma.js.map +0 -1
  437. package/dist/module/lib/Components/core/Tile/Tile.mdx +0 -252
  438. package/dist/module/lib/Components/core/Tile/Tile.stories.js +0 -592
  439. package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +0 -1
  440. package/dist/module/lib/Components/core/Tile/Tile.test.js +0 -249
  441. package/dist/module/lib/Components/core/Tile/Tile.test.js.map +0 -1
  442. package/dist/module/lib/Components/core/TileButton/TileButton.figma.js +0 -28
  443. package/dist/module/lib/Components/core/TileButton/TileButton.figma.js.map +0 -1
  444. package/dist/module/lib/Components/core/TileButton/TileButton.mdx +0 -184
  445. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js +0 -259
  446. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js.map +0 -1
  447. package/dist/module/lib/Components/core/TileButton/TileButton.test.js +0 -124
  448. package/dist/module/lib/Components/core/TileButton/TileButton.test.js.map +0 -1
  449. package/dist/module/lib/Components/core/Timeline/Timeline.figma.js +0 -83
  450. package/dist/module/lib/Components/core/Timeline/Timeline.figma.js.map +0 -1
  451. package/dist/module/lib/Components/core/Timeline/Timeline.mdx +0 -49
  452. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js +0 -289
  453. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +0 -1
  454. package/dist/module/lib/Components/core/Timeline/Timeline.test.js +0 -234
  455. package/dist/module/lib/Components/core/Timeline/Timeline.test.js.map +0 -1
  456. package/dist/module/lib/Components/core/Toast/Toast.figma.js +0 -39
  457. package/dist/module/lib/Components/core/Toast/Toast.figma.js.map +0 -1
  458. package/dist/module/lib/Components/core/Toast/Toast.mdx +0 -203
  459. package/dist/module/lib/Components/core/Toast/Toast.stories.js +0 -238
  460. package/dist/module/lib/Components/core/Toast/Toast.stories.js.map +0 -1
  461. package/dist/module/lib/Components/core/Toast/Toast.test.js +0 -203
  462. package/dist/module/lib/Components/core/Toast/Toast.test.js.map +0 -1
  463. package/dist/module/lib/Components/core/Toast/Toaster.test.js +0 -732
  464. package/dist/module/lib/Components/core/Toast/Toaster.test.js.map +0 -1
  465. package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js +0 -26
  466. package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js.map +0 -1
  467. package/dist/module/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
  468. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js +0 -183
  469. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js.map +0 -1
  470. package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js +0 -91
  471. package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js.map +0 -1
  472. package/dist/module/lib/Components/core/Trend/Trend.figma.js +0 -29
  473. package/dist/module/lib/Components/core/Trend/Trend.figma.js.map +0 -1
  474. package/dist/module/lib/Components/core/Trend/Trend.mdx +0 -104
  475. package/dist/module/lib/Components/core/Trend/Trend.stories.js +0 -89
  476. package/dist/module/lib/Components/core/Trend/Trend.stories.js.map +0 -1
  477. package/dist/module/lib/Components/core/Trend/Trend.test.js +0 -149
  478. package/dist/module/lib/Components/core/Trend/Trend.test.js.map +0 -1
  479. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js +0 -139
  480. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js.map +0 -1
  481. package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js +0 -111
  482. package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js.map +0 -1
  483. package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js +0 -144
  484. package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js.map +0 -1
  485. package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js +0 -17
  486. package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js.map +0 -1
  487. package/dist/module/lib/Components/primitives/Box/Box.mdx +0 -50
  488. package/dist/module/lib/Components/primitives/Box/Box.stories.js +0 -46
  489. package/dist/module/lib/Components/primitives/Box/Box.stories.js.map +0 -1
  490. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
  491. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js +0 -224
  492. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js.map +0 -1
  493. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js +0 -81
  494. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js.map +0 -1
  495. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
  496. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js +0 -242
  497. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js.map +0 -1
  498. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js +0 -81
  499. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js.map +0 -1
  500. package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js +0 -151
  501. package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js.map +0 -1
  502. package/dist/module/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
  503. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js +0 -57
  504. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js.map +0 -1
  505. package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js +0 -226
  506. package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js.map +0 -1
  507. package/dist/module/lib/Components/primitives/Text/Text.mdx +0 -70
  508. package/dist/module/lib/Components/primitives/Text/Text.stories.js +0 -39
  509. package/dist/module/lib/Components/primitives/Text/Text.stories.js.map +0 -1
  510. package/dist/module/lib/Components/symbols/Icon/Icon.figma.js +0 -1840
  511. package/dist/module/lib/Components/symbols/Icon/Icon.figma.js.map +0 -1
  512. package/dist/module/lib/Components/symbols/Icon/Icon.mdx +0 -149
  513. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js +0 -278
  514. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js.map +0 -1
  515. package/dist/module/lib/Components/symbols/Icon/Icon.test.js +0 -90
  516. package/dist/module/lib/Components/symbols/Icon/Icon.test.js.map +0 -1
  517. package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js +0 -135
  518. package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js.map +0 -1
  519. package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js +0 -135
  520. package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js.map +0 -1
  521. package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js +0 -183
  522. package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js.map +0 -1
  523. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js +0 -333
  524. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js.map +0 -1
  525. package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js +0 -86
  526. package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js.map +0 -1
  527. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js +0 -191
  528. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js.map +0 -1
  529. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +0 -905
  530. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +0 -1
  531. package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js +0 -70
  532. package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js.map +0 -1
  533. package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js +0 -586
  534. package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js.map +0 -1
  535. package/dist/module/lib/Components/visualization/DonutChart/utils.test.js +0 -440
  536. package/dist/module/lib/Components/visualization/DonutChart/utils.test.js.map +0 -1
  537. package/dist/module/lib/Components/visualization/Legend/Legend.test.js +0 -134
  538. package/dist/module/lib/Components/visualization/Legend/Legend.test.js.map +0 -1
  539. package/dist/module/lib/Components/visualization/Line/utils.test.js +0 -134
  540. package/dist/module/lib/Components/visualization/Line/utils.test.js.map +0 -1
  541. package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js +0 -99
  542. package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js.map +0 -1
  543. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js +0 -316
  544. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js.map +0 -1
  545. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js +0 -462
  546. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js.map +0 -1
  547. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js +0 -47
  548. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js.map +0 -1
  549. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js +0 -22
  550. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js.map +0 -1
  551. package/dist/module/lib/Components/visualization/LineChart/utils.test.js +0 -210
  552. package/dist/module/lib/Components/visualization/LineChart/utils.test.js.map +0 -1
  553. package/dist/module/lib/Components/visualization/Point/Point.stories.js +0 -188
  554. package/dist/module/lib/Components/visualization/Point/Point.stories.js.map +0 -1
  555. package/dist/module/lib/Components/visualization/Point/Point.test.js +0 -269
  556. package/dist/module/lib/Components/visualization/Point/Point.test.js.map +0 -1
  557. package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js +0 -162
  558. package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js.map +0 -1
  559. package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js +0 -86
  560. package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js.map +0 -1
  561. package/dist/module/lib/Components/visualization/Point/utils.test.js +0 -141
  562. package/dist/module/lib/Components/visualization/Point/utils.test.js.map +0 -1
  563. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js +0 -105
  564. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js.map +0 -1
  565. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js +0 -338
  566. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js.map +0 -1
  567. package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js +0 -297
  568. package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js.map +0 -1
  569. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js +0 -340
  570. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js.map +0 -1
  571. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js +0 -261
  572. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js.map +0 -1
  573. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js +0 -158
  574. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js.map +0 -1
  575. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js +0 -137
  576. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js.map +0 -1
  577. package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js +0 -295
  578. package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js.map +0 -1
  579. package/dist/module/lib/Components/visualization/Scrubber/utils.test.js +0 -395
  580. package/dist/module/lib/Components/visualization/Scrubber/utils.test.js.map +0 -1
  581. package/dist/module/lib/Components/visualization/utils/domain/domain.test.js +0 -191
  582. package/dist/module/lib/Components/visualization/utils/domain/domain.test.js.map +0 -1
  583. package/dist/module/lib/Components/visualization/utils/scales/scales.test.js +0 -322
  584. package/dist/module/lib/Components/visualization/utils/scales/scales.test.js.map +0 -1
  585. package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js +0 -155
  586. package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js.map +0 -1
  587. package/dist/module/styles/hooks/useStyleSheet.test.js +0 -473
  588. package/dist/module/styles/hooks/useStyleSheet.test.js.map +0 -1
  589. package/dist/module/styles/lx/createStyledPressable.test.js +0 -291
  590. package/dist/module/styles/lx/createStyledPressable.test.js.map +0 -1
  591. package/dist/module/styles/lx/createStyledText.test.js +0 -242
  592. package/dist/module/styles/lx/createStyledText.test.js.map +0 -1
  593. package/dist/module/styles/lx/createStyledView.test.js +0 -189
  594. package/dist/module/styles/lx/createStyledView.test.js.map +0 -1
  595. package/dist/module/styles/lx/resolveStyle.test.js +0 -633
  596. package/dist/module/styles/lx/resolveStyle.test.js.map +0 -1
  597. package/dist/module/styles/provider/LumenStyleSheetProvider.test.js +0 -131
  598. package/dist/module/styles/provider/LumenStyleSheetProvider.test.js.map +0 -1
  599. package/dist/module/styles/theme/createStylesheetTheme.test.js +0 -27
  600. package/dist/module/styles/theme/createStylesheetTheme.test.js.map +0 -1
  601. package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js +0 -59
  602. package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js.map +0 -1
  603. package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js +0 -29
  604. package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js.map +0 -1
  605. package/dist/module/translations/translations.test.js +0 -34
  606. package/dist/module/translations/translations.test.js.map +0 -1
  607. package/src/lib/Components/animations/Pulse/Pulse.mdx +0 -85
  608. package/src/lib/Components/animations/Pulse/Pulse.stories.tsx +0 -97
  609. package/src/lib/Components/animations/Spin/Spin.mdx +0 -84
  610. package/src/lib/Components/animations/Spin/Spin.stories.tsx +0 -70
  611. package/src/lib/Components/core/AddressInput/AddressInput.figma.tsx +0 -43
  612. package/src/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
  613. package/src/lib/Components/core/AddressInput/AddressInput.stories.tsx +0 -190
  614. package/src/lib/Components/core/AddressInput/AddressInput.test.tsx +0 -62
  615. package/src/lib/Components/core/AmountDisplay/AmountDisplay.figma.tsx +0 -37
  616. package/src/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
  617. package/src/lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx +0 -192
  618. package/src/lib/Components/core/AmountDisplay/AmountDisplay.test.tsx +0 -469
  619. package/src/lib/Components/core/AmountInput/AmountInput.figma.tsx +0 -78
  620. package/src/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
  621. package/src/lib/Components/core/AmountInput/AmountInput.stories.tsx +0 -277
  622. package/src/lib/Components/core/AmountInput/AmountInput.test.tsx +0 -166
  623. package/src/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.ts +0 -82
  624. package/src/lib/Components/core/Avatar/Avatar.figma.tsx +0 -42
  625. package/src/lib/Components/core/Avatar/Avatar.mdx +0 -166
  626. package/src/lib/Components/core/Avatar/Avatar.stories.tsx +0 -135
  627. package/src/lib/Components/core/Avatar/Avatar.test.tsx +0 -312
  628. package/src/lib/Components/core/Avatar/useResolveAvatarColor.test.tsx +0 -106
  629. package/src/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
  630. package/src/lib/Components/core/AvatarButton/AvatarButton.stories.tsx +0 -58
  631. package/src/lib/Components/core/AvatarButton/AvatarButton.test.tsx +0 -92
  632. package/src/lib/Components/core/Banner/Banner.figma.tsx +0 -115
  633. package/src/lib/Components/core/Banner/Banner.mdx +0 -352
  634. package/src/lib/Components/core/Banner/Banner.stories.tsx +0 -512
  635. package/src/lib/Components/core/Banner/Banner.test.tsx +0 -116
  636. package/src/lib/Components/core/BottomSheet/BottomSheet.figma.tsx +0 -52
  637. package/src/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
  638. package/src/lib/Components/core/BottomSheet/BottomSheet.stories.tsx +0 -996
  639. package/src/lib/Components/core/BottomSheet/BottomSheet.test.tsx +0 -539
  640. package/src/lib/Components/core/Button/Button.figma.tsx +0 -57
  641. package/src/lib/Components/core/Button/Button.mdx +0 -167
  642. package/src/lib/Components/core/Button/Button.stories.tsx +0 -239
  643. package/src/lib/Components/core/Button/ButtonGroup.figma.tsx +0 -15
  644. package/src/lib/Components/core/Card/Card.figma.tsx +0 -169
  645. package/src/lib/Components/core/Card/Card.mdx +0 -287
  646. package/src/lib/Components/core/Card/Card.stories.tsx +0 -732
  647. package/src/lib/Components/core/Card/Card.test.tsx +0 -226
  648. package/src/lib/Components/core/CardButton/CardButton.figma.tsx +0 -49
  649. package/src/lib/Components/core/CardButton/CardButton.mdx +0 -246
  650. package/src/lib/Components/core/CardButton/CardButton.stories.tsx +0 -360
  651. package/src/lib/Components/core/CardButton/CardButton.test.tsx +0 -140
  652. package/src/lib/Components/core/Checkbox/Checkbox.figma.tsx +0 -54
  653. package/src/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
  654. package/src/lib/Components/core/Checkbox/Checkbox.stories.tsx +0 -115
  655. package/src/lib/Components/core/Checkbox/Checkbox.test.tsx +0 -115
  656. package/src/lib/Components/core/ContentBanner/ContentBanner.figma.tsx +0 -108
  657. package/src/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
  658. package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +0 -240
  659. package/src/lib/Components/core/ContentBanner/ContentBanner.test.tsx +0 -132
  660. package/src/lib/Components/core/DescriptionItem/DescriptionItem.figma.tsx +0 -36
  661. package/src/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
  662. package/src/lib/Components/core/DescriptionItem/DescriptionItem.stories.tsx +0 -226
  663. package/src/lib/Components/core/DescriptionItem/DescriptionItem.test.tsx +0 -136
  664. package/src/lib/Components/core/Divider/Divider.figma.tsx +0 -11
  665. package/src/lib/Components/core/Divider/Divider.mdx +0 -149
  666. package/src/lib/Components/core/Divider/Divider.stories.tsx +0 -141
  667. package/src/lib/Components/core/Divider/Divider.test.tsx +0 -91
  668. package/src/lib/Components/core/DotCount/DotCount.figma.tsx +0 -32
  669. package/src/lib/Components/core/DotCount/DotCount.mdx +0 -86
  670. package/src/lib/Components/core/DotCount/DotCount.stories.tsx +0 -127
  671. package/src/lib/Components/core/DotCount/DotCount.test.tsx +0 -150
  672. package/src/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
  673. package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +0 -199
  674. package/src/lib/Components/core/DotIcon/DotIcon.test.tsx +0 -244
  675. package/src/lib/Components/core/DotIcon/getDotIconProps.test.ts +0 -19
  676. package/src/lib/Components/core/DotIndicator/DotIndicator.figma.tsx +0 -32
  677. package/src/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
  678. package/src/lib/Components/core/DotIndicator/DotIndicator.stories.tsx +0 -79
  679. package/src/lib/Components/core/DotIndicator/DotIndicator.test.tsx +0 -152
  680. package/src/lib/Components/core/DotIndicator/getDotIndicatorProps.test.ts +0 -31
  681. package/src/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
  682. package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +0 -244
  683. package/src/lib/Components/core/DotSymbol/DotSymbol.test.tsx +0 -119
  684. package/src/lib/Components/core/DotSymbol/getDotSymbolProps.test.ts +0 -25
  685. package/src/lib/Components/core/IconButton/IconButton.figma.tsx +0 -53
  686. package/src/lib/Components/core/IconButton/IconButton.mdx +0 -137
  687. package/src/lib/Components/core/IconButton/IconButton.stories.tsx +0 -148
  688. package/src/lib/Components/core/IconButton/IconButton.test.tsx +0 -140
  689. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.tsx +0 -52
  690. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
  691. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.tsx +0 -202
  692. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.test.tsx +0 -184
  693. package/src/lib/Components/core/Link/Link.figma.tsx +0 -54
  694. package/src/lib/Components/core/Link/Link.mdx +0 -237
  695. package/src/lib/Components/core/Link/Link.stories.tsx +0 -448
  696. package/src/lib/Components/core/Link/Link.test.tsx +0 -224
  697. package/src/lib/Components/core/ListItem/ListItem.figma.tsx +0 -466
  698. package/src/lib/Components/core/ListItem/ListItem.mdx +0 -461
  699. package/src/lib/Components/core/ListItem/ListItem.stories.tsx +0 -649
  700. package/src/lib/Components/core/ListItem/ListItem.test.tsx +0 -230
  701. package/src/lib/Components/core/MediaBanner/MediaBanner.figma.tsx +0 -32
  702. package/src/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
  703. package/src/lib/Components/core/MediaBanner/MediaBanner.stories.tsx +0 -186
  704. package/src/lib/Components/core/MediaBanner/MediaBanner.test.tsx +0 -126
  705. package/src/lib/Components/core/MediaButton/MediaButton.figma.tsx +0 -60
  706. package/src/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
  707. package/src/lib/Components/core/MediaButton/MediaButton.stories.tsx +0 -156
  708. package/src/lib/Components/core/MediaButton/MediaButton.test.tsx +0 -198
  709. package/src/lib/Components/core/MediaCard/MediaCard.figma.tsx +0 -27
  710. package/src/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
  711. package/src/lib/Components/core/MediaCard/MediaCard.stories.tsx +0 -204
  712. package/src/lib/Components/core/MediaCard/MediaCard.test.tsx +0 -125
  713. package/src/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
  714. package/src/lib/Components/core/MediaImage/MediaImage.stories.tsx +0 -110
  715. package/src/lib/Components/core/MediaImage/MediaImage.test.tsx +0 -291
  716. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.tsx +0 -119
  717. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -90
  718. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +0 -122
  719. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.test.tsx +0 -213
  720. package/src/lib/Components/core/MediaTag/MediaTag.figma.tsx +0 -116
  721. package/src/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
  722. package/src/lib/Components/core/MediaTag/MediaTag.stories.tsx +0 -126
  723. package/src/lib/Components/core/MediaTag/MediaTag.test.tsx +0 -27
  724. package/src/lib/Components/core/MenuList/MenuList.figma.tsx +0 -23
  725. package/src/lib/Components/core/MenuList/MenuList.mdx +0 -79
  726. package/src/lib/Components/core/MenuList/MenuList.stories.tsx +0 -142
  727. package/src/lib/Components/core/MenuList/MenuList.test.tsx +0 -205
  728. package/src/lib/Components/core/NavBar/NavBar.figma.tsx +0 -87
  729. package/src/lib/Components/core/NavBar/NavBar.mdx +0 -257
  730. package/src/lib/Components/core/NavBar/NavBar.stories.tsx +0 -162
  731. package/src/lib/Components/core/NavBar/NavBar.test.tsx +0 -420
  732. package/src/lib/Components/core/PageIndicator/PageIndicator.figma.tsx +0 -11
  733. package/src/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
  734. package/src/lib/Components/core/PageIndicator/PageIndicator.stories.tsx +0 -79
  735. package/src/lib/Components/core/PageIndicator/PageIndicator.test.tsx +0 -269
  736. package/src/lib/Components/core/SearchInput/SearchInput.figma.tsx +0 -34
  737. package/src/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
  738. package/src/lib/Components/core/SearchInput/SearchInput.stories.tsx +0 -119
  739. package/src/lib/Components/core/SearchInput/SearchInput.test.tsx +0 -40
  740. package/src/lib/Components/core/SectionHeader/SectionHeader.figma.tsx +0 -24
  741. package/src/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
  742. package/src/lib/Components/core/SectionHeader/SectionHeader.stories.tsx +0 -95
  743. package/src/lib/Components/core/SectionHeader/SectionHeader.test.tsx +0 -103
  744. package/src/lib/Components/core/SegmentedControl/SegmentedControl.figma.tsx +0 -34
  745. package/src/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
  746. package/src/lib/Components/core/SegmentedControl/SegmentedControl.stories.tsx +0 -206
  747. package/src/lib/Components/core/SegmentedControl/SegmentedControl.test.tsx +0 -206
  748. package/src/lib/Components/core/SelectList/SelectList.figma.tsx +0 -37
  749. package/src/lib/Components/core/SelectList/SelectList.mdx +0 -278
  750. package/src/lib/Components/core/SelectList/SelectList.stories.tsx +0 -1125
  751. package/src/lib/Components/core/SelectList/SelectList.test.tsx +0 -595
  752. package/src/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.ts +0 -195
  753. package/src/lib/Components/core/Skeleton/Skeleton.figma.tsx +0 -17
  754. package/src/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
  755. package/src/lib/Components/core/Skeleton/Skeleton.stories.tsx +0 -90
  756. package/src/lib/Components/core/Skeleton/Skeleton.test.tsx +0 -53
  757. package/src/lib/Components/core/Spinner/Spinner.figma.tsx +0 -12
  758. package/src/lib/Components/core/Spinner/Spinner.mdx +0 -119
  759. package/src/lib/Components/core/Spinner/Spinner.stories.tsx +0 -127
  760. package/src/lib/Components/core/Spot/Spot.figma.tsx +0 -71
  761. package/src/lib/Components/core/Spot/Spot.mdx +0 -113
  762. package/src/lib/Components/core/Spot/Spot.stories.tsx +0 -216
  763. package/src/lib/Components/core/Spot/Spot.test.tsx +0 -71
  764. package/src/lib/Components/core/Spot/SpotNumber.test.tsx +0 -93
  765. package/src/lib/Components/core/Stepper/Stepper.figma.tsx +0 -11
  766. package/src/lib/Components/core/Stepper/Stepper.mdx +0 -167
  767. package/src/lib/Components/core/Stepper/Stepper.stories.tsx +0 -115
  768. package/src/lib/Components/core/Stepper/Stepper.test.tsx +0 -159
  769. package/src/lib/Components/core/Subheader/Subheader.figma.tsx +0 -72
  770. package/src/lib/Components/core/Subheader/Subheader.mdx +0 -366
  771. package/src/lib/Components/core/Subheader/Subheader.stories.tsx +0 -117
  772. package/src/lib/Components/core/Subheader/Subheader.test.tsx +0 -172
  773. package/src/lib/Components/core/Switch/Switch.figma.tsx +0 -66
  774. package/src/lib/Components/core/Switch/Switch.mdx +0 -149
  775. package/src/lib/Components/core/Switch/Switch.stories.tsx +0 -104
  776. package/src/lib/Components/core/Switch/Switch.test.tsx +0 -96
  777. package/src/lib/Components/core/TabBar/TabBar.figma.tsx +0 -70
  778. package/src/lib/Components/core/TabBar/TabBar.mdx +0 -209
  779. package/src/lib/Components/core/TabBar/TabBar.stories.tsx +0 -154
  780. package/src/lib/Components/core/TabBar/TabBar.test.tsx +0 -79
  781. package/src/lib/Components/core/Tag/Tag.figma.tsx +0 -52
  782. package/src/lib/Components/core/Tag/Tag.mdx +0 -98
  783. package/src/lib/Components/core/Tag/Tag.stories.tsx +0 -118
  784. package/src/lib/Components/core/Tag/Tag.test.tsx +0 -51
  785. package/src/lib/Components/core/TextInput/TextInput.figma.tsx +0 -49
  786. package/src/lib/Components/core/TextInput/TextInput.mdx +0 -305
  787. package/src/lib/Components/core/TextInput/TextInput.stories.tsx +0 -270
  788. package/src/lib/Components/core/TextInput/TextInput.test.tsx +0 -348
  789. package/src/lib/Components/core/ThemeProvider/ThemeProvider.test.tsx +0 -39
  790. package/src/lib/Components/core/Tile/Tile.figma.tsx +0 -113
  791. package/src/lib/Components/core/Tile/Tile.mdx +0 -252
  792. package/src/lib/Components/core/Tile/Tile.stories.tsx +0 -405
  793. package/src/lib/Components/core/Tile/Tile.test.tsx +0 -227
  794. package/src/lib/Components/core/TileButton/TileButton.figma.tsx +0 -40
  795. package/src/lib/Components/core/TileButton/TileButton.mdx +0 -184
  796. package/src/lib/Components/core/TileButton/TileButton.stories.tsx +0 -199
  797. package/src/lib/Components/core/TileButton/TileButton.test.tsx +0 -137
  798. package/src/lib/Components/core/Timeline/Timeline.figma.tsx +0 -79
  799. package/src/lib/Components/core/Timeline/Timeline.mdx +0 -49
  800. package/src/lib/Components/core/Timeline/Timeline.stories.tsx +0 -250
  801. package/src/lib/Components/core/Timeline/Timeline.test.tsx +0 -275
  802. package/src/lib/Components/core/Toast/Toast.figma.tsx +0 -36
  803. package/src/lib/Components/core/Toast/Toast.mdx +0 -203
  804. package/src/lib/Components/core/Toast/Toast.stories.tsx +0 -260
  805. package/src/lib/Components/core/Toast/Toast.test.tsx +0 -181
  806. package/src/lib/Components/core/Toast/Toaster.test.tsx +0 -687
  807. package/src/lib/Components/core/Tooltip/Tooltip.figma.tsx +0 -30
  808. package/src/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
  809. package/src/lib/Components/core/Tooltip/Tooltip.stories.tsx +0 -179
  810. package/src/lib/Components/core/Tooltip/Tooltip.test.tsx +0 -81
  811. package/src/lib/Components/core/Trend/Trend.figma.tsx +0 -28
  812. package/src/lib/Components/core/Trend/Trend.mdx +0 -104
  813. package/src/lib/Components/core/Trend/Trend.stories.tsx +0 -71
  814. package/src/lib/Components/core/Trend/Trend.test.tsx +0 -124
  815. package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +0 -148
  816. package/src/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.ts +0 -110
  817. package/src/lib/Components/internal/BaseTag/BaseTag.test.tsx +0 -137
  818. package/src/lib/Components/internal/CryptoIcon/CryptoIcon.figma.tsx +0 -20
  819. package/src/lib/Components/primitives/Box/Box.mdx +0 -50
  820. package/src/lib/Components/primitives/Box/Box.stories.tsx +0 -48
  821. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
  822. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +0 -176
  823. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.tsx +0 -70
  824. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
  825. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.tsx +0 -152
  826. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.tsx +0 -70
  827. package/src/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.ts +0 -144
  828. package/src/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
  829. package/src/lib/Components/primitives/Pressable/Pressable.stories.tsx +0 -52
  830. package/src/lib/Components/primitives/Pressable/Pressable.test.tsx +0 -222
  831. package/src/lib/Components/primitives/Text/Text.mdx +0 -70
  832. package/src/lib/Components/primitives/Text/Text.stories.tsx +0 -40
  833. package/src/lib/Components/symbols/Icon/Icon.figma.tsx +0 -3085
  834. package/src/lib/Components/symbols/Icon/Icon.mdx +0 -149
  835. package/src/lib/Components/symbols/Icon/Icon.stories.tsx +0 -266
  836. package/src/lib/Components/symbols/Icon/Icon.test.tsx +0 -92
  837. package/src/lib/Components/visualization/Axis/XAxis/XAxis.test.tsx +0 -101
  838. package/src/lib/Components/visualization/Axis/YAxis/YAxis.test.tsx +0 -101
  839. package/src/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.tsx +0 -172
  840. package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.ts +0 -273
  841. package/src/lib/Components/visualization/CartesianChart/utils.test.ts +0 -88
  842. package/src/lib/Components/visualization/DonutChart/DonutChart.performance.test.tsx +0 -218
  843. package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +0 -885
  844. package/src/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.tsx +0 -68
  845. package/src/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.ts +0 -284
  846. package/src/lib/Components/visualization/DonutChart/utils.test.ts +0 -487
  847. package/src/lib/Components/visualization/Legend/Legend.test.tsx +0 -97
  848. package/src/lib/Components/visualization/Line/utils.test.ts +0 -161
  849. package/src/lib/Components/visualization/LineChart/LineChart.performance.test.tsx +0 -101
  850. package/src/lib/Components/visualization/LineChart/LineChart.stories.tsx +0 -331
  851. package/src/lib/Components/visualization/LineChart/LineChart.test.tsx +0 -393
  852. package/src/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.tsx +0 -39
  853. package/src/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.ts +0 -23
  854. package/src/lib/Components/visualization/LineChart/utils.test.ts +0 -224
  855. package/src/lib/Components/visualization/Point/Point.stories.tsx +0 -163
  856. package/src/lib/Components/visualization/Point/Point.test.tsx +0 -243
  857. package/src/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.tsx +0 -174
  858. package/src/lib/Components/visualization/Point/usePointGeometry.test.ts +0 -95
  859. package/src/lib/Components/visualization/Point/utils.test.ts +0 -169
  860. package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.tsx +0 -104
  861. package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.test.tsx +0 -269
  862. package/src/lib/Components/visualization/ReferenceLine/utils.test.ts +0 -332
  863. package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.tsx +0 -259
  864. package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.ts +0 -266
  865. package/src/lib/Components/visualization/Scrubber/Scrubber.stories.tsx +0 -176
  866. package/src/lib/Components/visualization/Scrubber/Scrubber.test.tsx +0 -112
  867. package/src/lib/Components/visualization/Scrubber/ScrubberProvider.test.tsx +0 -305
  868. package/src/lib/Components/visualization/Scrubber/utils.test.ts +0 -407
  869. package/src/lib/Components/visualization/utils/domain/domain.test.ts +0 -156
  870. package/src/lib/Components/visualization/utils/scales/scales.test.ts +0 -228
  871. package/src/lib/Components/visualization/utils/ticks/ticks.test.ts +0 -173
  872. package/src/styles/hooks/useStyleSheet.test.tsx +0 -520
  873. package/src/styles/lx/createStyledPressable.test.tsx +0 -253
  874. package/src/styles/lx/createStyledText.test.tsx +0 -237
  875. package/src/styles/lx/createStyledView.test.tsx +0 -142
  876. package/src/styles/lx/resolveStyle.test.tsx +0 -687
  877. package/src/styles/provider/LumenStyleSheetProvider.test.tsx +0 -123
  878. package/src/styles/theme/createStylesheetTheme.test.ts +0 -30
  879. package/src/styles/theme/resolvers/resolveFontWeights.test.ts +0 -74
  880. package/src/styles/theme/resolvers/resolveNegativeSpacing.test.ts +0 -29
  881. package/src/translations/translations.test.ts +0 -56
@@ -1,131 +0,0 @@
1
- "use strict";
2
-
3
- import { describe, expect, it, jest } from '@jest/globals';
4
- import { render, userEvent } from '@testing-library/react-native';
5
- import { useState } from 'react';
6
- import { Pressable, Text, View } from 'react-native';
7
- import { useTheme } from "../hooks/useTheme.js";
8
- import { LumenStyleSheetProvider } from "./LumenStyleSheetProvider.js";
9
-
10
- // Test themes
11
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
- const testThemes = {
13
- light: {
14
- colors: {
15
- bg: {
16
- base: '#FFFFFF',
17
- accent: '#007AFF'
18
- }
19
- },
20
- typographies: {
21
- xs: {
22
- body1: {
23
- fontSize: 16,
24
- fontWeight: 'normal'
25
- }
26
- }
27
- }
28
- },
29
- dark: {
30
- colors: {
31
- bg: {
32
- base: '#000000',
33
- accent: '#0A84FF'
34
- }
35
- },
36
- typographies: {
37
- xs: {
38
- body1: {
39
- fontSize: 16,
40
- fontWeight: 'normal'
41
- }
42
- }
43
- }
44
- }
45
- };
46
- const Content = ({
47
- setState,
48
- state
49
- }) => {
50
- const {
51
- theme,
52
- colorScheme
53
- } = useTheme();
54
- return /*#__PURE__*/_jsxs(View, {
55
- testID: "container",
56
- children: [/*#__PURE__*/_jsx(Text, {
57
- testID: "color-scheme",
58
- children: colorScheme
59
- }), /*#__PURE__*/_jsx(Text, {
60
- testID: "bg-color",
61
- children: theme.colors.bg.base
62
- }), /*#__PURE__*/_jsx(Pressable, {
63
- testID: "toggle-button",
64
- onPress: () => setState(state === 'dark' ? 'light' : 'dark')
65
- })]
66
- });
67
- };
68
- // Test component that uses theme
69
- const TestComponent = ({
70
- initialColorScheme
71
- }) => {
72
- const [state, setState] = useState(initialColorScheme);
73
- return /*#__PURE__*/_jsx(LumenStyleSheetProvider, {
74
- colorScheme: state,
75
- themes: testThemes,
76
- children: /*#__PURE__*/_jsx(Content, {
77
- state: state,
78
- setState: setState
79
- })
80
- });
81
- };
82
- describe('LumenStyleSheetProvider', () => {
83
- it('provides dark theme by default', () => {
84
- const {
85
- getByTestId
86
- } = render(/*#__PURE__*/_jsx(TestComponent, {
87
- initialColorScheme: "dark"
88
- }));
89
- expect(getByTestId('color-scheme').props.children).toBe('dark');
90
- expect(getByTestId('bg-color').props.children).toBe('#000000');
91
- });
92
- it('provides light theme when initialColorScheme is light', () => {
93
- const {
94
- getByTestId
95
- } = render(/*#__PURE__*/_jsx(TestComponent, {
96
- initialColorScheme: "light"
97
- }));
98
- expect(getByTestId('color-scheme').props.children).toBe('light');
99
- expect(getByTestId('bg-color').props.children).toBe('#FFFFFF');
100
- });
101
- it('switches theme when setColorScheme is called', async () => {
102
- const {
103
- getByTestId
104
- } = render(/*#__PURE__*/_jsx(TestComponent, {
105
- initialColorScheme: "light"
106
- }));
107
-
108
- // Initially light
109
- expect(getByTestId('color-scheme').props.children).toBe('light');
110
- expect(getByTestId('bg-color').props.children).toBe('#FFFFFF');
111
-
112
- // Toggle to dark
113
- await userEvent.press(getByTestId('toggle-button'));
114
- expect(getByTestId('color-scheme').props.children).toBe('dark');
115
- expect(getByTestId('bg-color').props.children).toBe('#000000');
116
-
117
- // Toggle back to light
118
- await userEvent.press(getByTestId('toggle-button'));
119
- expect(getByTestId('color-scheme').props.children).toBe('light');
120
- expect(getByTestId('bg-color').props.children).toBe('#FFFFFF');
121
- });
122
- it('throws error when useTheme is used outside provider', () => {
123
- // Suppress console.error for this test
124
- const consoleErrorSpy = jest.spyOn(console, 'error').mockImplementation(() => {});
125
- expect(() => {
126
- render(/*#__PURE__*/_jsx(Content, {}));
127
- }).toThrow('useTheme must be used within LumenStyleSheetProvider');
128
- consoleErrorSpy.mockRestore();
129
- });
130
- });
131
- //# sourceMappingURL=LumenStyleSheetProvider.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["describe","expect","it","jest","render","userEvent","useState","Pressable","Text","View","useTheme","LumenStyleSheetProvider","jsx","_jsx","jsxs","_jsxs","testThemes","light","colors","bg","base","accent","typographies","xs","body1","fontSize","fontWeight","dark","Content","setState","state","theme","colorScheme","testID","children","onPress","TestComponent","initialColorScheme","themes","getByTestId","props","toBe","press","consoleErrorSpy","spyOn","console","mockImplementation","toThrow","mockRestore"],"sourceRoot":"../../../../src","sources":["styles/provider/LumenStyleSheetProvider.test.tsx"],"mappings":"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","ignoreList":[]}
@@ -1,27 +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 { RuntimeConstants } from "../../lib/utils/index.js";
6
- import { createStylesheetTheme } from "./createStylesheetTheme.js";
7
- describe('createStylesheetTheme', () => {
8
- describe('createStylesheetTheme', () => {
9
- it('should include both positive and negative spacings', () => {
10
- const theme = ledgerLiveThemes.dark;
11
- const result = createStylesheetTheme(theme);
12
- expect(result.spacings.s16).toBe(16);
13
- expect(result.spacings['-s16']).toBe(-16);
14
- });
15
- it('should flatten heading/body typography tokens', () => {
16
- jest.spyOn(RuntimeConstants, 'isIOS', 'get').mockReturnValue(true);
17
- const theme = ledgerLiveThemes.dark;
18
- const result = createStylesheetTheme(theme);
19
- const typographyTokens = theme.typographies.xs ?? theme.typographies.sm;
20
- expect(result.typographies).toEqual({
21
- ...typographyTokens.heading,
22
- ...typographyTokens.body
23
- });
24
- });
25
- });
26
- });
27
- //# sourceMappingURL=createStylesheetTheme.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["describe","it","expect","jest","ledgerLiveThemes","RuntimeConstants","createStylesheetTheme","theme","dark","result","spacings","s16","toBe","spyOn","mockReturnValue","typographyTokens","typographies","xs","sm","toEqual","heading","body"],"sourceRoot":"../../../../src","sources":["styles/theme/createStylesheetTheme.test.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,EAAE,EAAEC,MAAM,EAAEC,IAAI,QAAQ,eAAe;AAC1D,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,gBAAgB,QAAQ,0BAAiB;AAClD,SAASC,qBAAqB,QAAQ,4BAAyB;AAE/DN,QAAQ,CAAC,uBAAuB,EAAE,MAAM;EACtCA,QAAQ,CAAC,uBAAuB,EAAE,MAAM;IACtCC,EAAE,CAAC,oDAAoD,EAAE,MAAM;MAC7D,MAAMM,KAAK,GAAGH,gBAAgB,CAACI,IAAI;MAEnC,MAAMC,MAAM,GAAGH,qBAAqB,CAACC,KAAK,CAAC;MAE3CL,MAAM,CAACO,MAAM,CAACC,QAAQ,CAACC,GAAG,CAAC,CAACC,IAAI,CAAC,EAAE,CAAC;MACpCV,MAAM,CAACO,MAAM,CAACC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAACE,IAAI,CAAC,CAAC,EAAE,CAAC;IAC3C,CAAC,CAAC;IAEFX,EAAE,CAAC,+CAA+C,EAAE,MAAM;MACxDE,IAAI,CAACU,KAAK,CAACR,gBAAgB,EAAE,OAAO,EAAE,KAAK,CAAC,CAACS,eAAe,CAAC,IAAI,CAAC;MAClE,MAAMP,KAAK,GAAGH,gBAAgB,CAACI,IAAI;MAEnC,MAAMC,MAAM,GAAGH,qBAAqB,CAACC,KAAK,CAAC;MAE3C,MAAMQ,gBAAgB,GAAGR,KAAK,CAACS,YAAY,CAACC,EAAE,IAAIV,KAAK,CAACS,YAAY,CAACE,EAAE;MACvEhB,MAAM,CAACO,MAAM,CAACO,YAAY,CAAC,CAACG,OAAO,CAAC;QAClC,GAAGJ,gBAAgB,CAACK,OAAO;QAC3B,GAAGL,gBAAgB,CAACM;MACtB,CAAC,CAAC;IACJ,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,59 +0,0 @@
1
- "use strict";
2
-
3
- import { describe, it, expect, afterEach, jest } from '@jest/globals';
4
- import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
5
- import { RuntimeConstants } from "../../../lib/utils/index.js";
6
- import { createStylesheetTheme } from "../createStylesheetTheme.js";
7
- import { FONT_WEIGHT_SUFFIX_MAP } from "./resolveFontWeights.js";
8
- describe('resolveTypographies', () => {
9
- afterEach(() => {
10
- jest.restoreAllMocks();
11
- });
12
- it('should not modify fontFamily on iOS', () => {
13
- jest.spyOn(RuntimeConstants, 'isIOS', 'get').mockReturnValue(true);
14
- jest.spyOn(RuntimeConstants, 'isBrowser', 'get').mockReturnValue(false);
15
- const theme = ledgerLiveThemes.dark;
16
- const result = createStylesheetTheme(theme);
17
- const typographyTokens = theme.typographies.xs ?? theme.typographies.sm;
18
- const firstKey = Object.keys(typographyTokens.heading)[0];
19
- expect(result.typographies[firstKey].fontFamily).toBe(typographyTokens.heading[firstKey].fontFamily);
20
- });
21
- it('should append weight suffix to fontFamily on Android', () => {
22
- jest.spyOn(RuntimeConstants, 'isIOS', 'get').mockReturnValue(false);
23
- jest.spyOn(RuntimeConstants, 'isBrowser', 'get').mockReturnValue(false);
24
- const theme = ledgerLiveThemes.dark;
25
- const result = createStylesheetTheme(theme);
26
- Object.values(result.typographies).forEach(typography => {
27
- const {
28
- fontFamily,
29
- fontWeight
30
- } = typography;
31
- const expectedSuffix = FONT_WEIGHT_SUFFIX_MAP[fontWeight] ?? '';
32
- expect(fontFamily).toContain(expectedSuffix);
33
- });
34
- });
35
- it('should not modify other typography properties on Android', () => {
36
- jest.spyOn(RuntimeConstants, 'isIOS', 'get').mockReturnValue(false);
37
- jest.spyOn(RuntimeConstants, 'isBrowser', 'get').mockReturnValue(false);
38
- const theme = ledgerLiveThemes.dark;
39
- const result = createStylesheetTheme(theme);
40
- const typographyTokens = theme.typographies.xs ?? theme.typographies.sm;
41
- const allTokens = {
42
- ...typographyTokens.heading,
43
- ...typographyTokens.body
44
- };
45
- Object.entries(result.typographies).forEach(([key, resolved]) => {
46
- const original = allTokens[key];
47
- const {
48
- fontFamily: _f,
49
- ...resolvedRest
50
- } = resolved;
51
- const {
52
- fontFamily: _o,
53
- ...originalRest
54
- } = original;
55
- expect(resolvedRest).toEqual(originalRest);
56
- });
57
- });
58
- });
59
- //# sourceMappingURL=resolveFontWeights.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["describe","it","expect","afterEach","jest","ledgerLiveThemes","RuntimeConstants","createStylesheetTheme","FONT_WEIGHT_SUFFIX_MAP","restoreAllMocks","spyOn","mockReturnValue","theme","dark","result","typographyTokens","typographies","xs","sm","firstKey","Object","keys","heading","fontFamily","toBe","values","forEach","typography","fontWeight","expectedSuffix","toContain","allTokens","body","entries","key","resolved","original","_f","resolvedRest","_o","originalRest","toEqual"],"sourceRoot":"../../../../../src","sources":["styles/theme/resolvers/resolveFontWeights.test.ts"],"mappings":"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","ignoreList":[]}
@@ -1,29 +0,0 @@
1
- "use strict";
2
-
3
- import { describe, it, expect } from '@jest/globals';
4
- import { resolveNegativeSpacing } from "./resolveNegativeSpacing.js";
5
- describe('resolveNegativeSpacing', () => {
6
- it('should create negative entries for each spacing', () => {
7
- const spacings = {
8
- s4: 4,
9
- s8: 8,
10
- s16: 16
11
- };
12
- const result = resolveNegativeSpacing(spacings);
13
-
14
- /**
15
- * Keep positive entries
16
- */
17
- expect(result['s4']).toBe(4);
18
- expect(result['s8']).toBe(8);
19
- expect(result['s16']).toBe(16);
20
-
21
- /**
22
- * Create negative entries
23
- */
24
- expect(result['-s4']).toBe(-4);
25
- expect(result['-s8']).toBe(-8);
26
- expect(result['-s16']).toBe(-16);
27
- });
28
- });
29
- //# sourceMappingURL=resolveNegativeSpacing.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["describe","it","expect","resolveNegativeSpacing","spacings","s4","s8","s16","result","toBe"],"sourceRoot":"../../../../../src","sources":["styles/theme/resolvers/resolveNegativeSpacing.test.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,EAAE,EAAEC,MAAM,QAAQ,eAAe;AAEpD,SAASC,sBAAsB,QAAQ,6BAA0B;AAEjEH,QAAQ,CAAC,wBAAwB,EAAE,MAAM;EACvCC,EAAE,CAAC,iDAAiD,EAAE,MAAM;IAC1D,MAAMG,QAAQ,GAAG;MACfC,EAAE,EAAE,CAAC;MACLC,EAAE,EAAE,CAAC;MACLC,GAAG,EAAE;IACP,CAA0C;IAE1C,MAAMC,MAAM,GAAGL,sBAAsB,CAACC,QAAQ,CAAC;;IAE/C;AACJ;AACA;IACIF,MAAM,CAACM,MAAM,CAAC,IAAI,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC,CAAC;IAC5BP,MAAM,CAACM,MAAM,CAAC,IAAI,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC,CAAC;IAC5BP,MAAM,CAACM,MAAM,CAAC,KAAK,CAAC,CAAC,CAACC,IAAI,CAAC,EAAE,CAAC;;IAE9B;AACJ;AACA;IACIP,MAAM,CAACM,MAAM,CAAC,KAAK,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC9BP,MAAM,CAACM,MAAM,CAAC,KAAK,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC,CAAC,CAAC;IAC9BP,MAAM,CAACM,MAAM,CAAC,MAAM,CAAC,CAAC,CAACC,IAAI,CAAC,CAAC,EAAE,CAAC;EAClC,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,34 +0,0 @@
1
- "use strict";
2
-
3
- import { describe, expect, it } from '@jest/globals';
4
- import { dictionaries } from "./translations.js";
5
- const flatten = (dictionary, prefix = '') => Object.entries(dictionary).reduce((entries, [key, value]) => {
6
- const path = prefix ? `${prefix}.${key}` : key;
7
- return typeof value === 'string' ? {
8
- ...entries,
9
- [path]: value
10
- } : {
11
- ...entries,
12
- ...flatten(value, path)
13
- };
14
- }, {});
15
- const placeholdersOf = value => [...value.matchAll(/\{\{\s*(\w+)\s*\}\}/g)].map(([, name]) => name).sort();
16
-
17
- // Keys that are allowed to fall back to en until they are translated.
18
- const UNTRANSLATED_KEYS = ['components.trend.positiveAriaLabel', 'components.trend.negativeAriaLabel', 'components.trend.neutralAriaLabel', 'components.chart.emptyLabel', 'components.chart.loadingAriaLabel', 'components.chart.defaultAriaLabel', 'components.chart.selectedSegmentAriaLabel', 'components.subheader.moreInfoAriaLabel'];
19
- const source = flatten(dictionaries.en);
20
- const locales = Object.entries(dictionaries).filter(([locale]) => locale !== 'en').map(([locale, dictionary]) => [locale, flatten(dictionary)]);
21
- describe('translation dictionaries', () => {
22
- it.each(locales)('%s has no key that en lacks', (_, entries) => {
23
- expect(Object.keys(entries).filter(key => !(key in source))).toEqual([]);
24
- });
25
- it.each(locales)('%s translates every en key', (_, entries) => {
26
- const missing = Object.keys(source).filter(key => !(key in entries) && !UNTRANSLATED_KEYS.includes(key));
27
- expect(missing).toEqual([]);
28
- });
29
- it.each(locales)('%s uses the same placeholders as en', (_, entries) => {
30
- const mismatches = Object.entries(entries).filter(([key, value]) => placeholdersOf(value).join() !== placeholdersOf(source[key] ?? '').join());
31
- expect(mismatches).toEqual([]);
32
- });
33
- });
34
- //# sourceMappingURL=translations.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["describe","expect","it","dictionaries","flatten","dictionary","prefix","Object","entries","reduce","key","value","path","placeholdersOf","matchAll","map","name","sort","UNTRANSLATED_KEYS","source","en","locales","filter","locale","each","_","keys","toEqual","missing","includes","mismatches","join"],"sourceRoot":"../../../src","sources":["translations/translations.test.ts"],"mappings":"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","ignoreList":[]}
@@ -1,85 +0,0 @@
1
- import { Meta, Canvas, Controls } from '@storybook/addon-docs/blocks';
2
- import * as PulseStories from './Pulse.stories';
3
- import { Pulse } from './Pulse';
4
- import {
5
- CustomTabs,
6
- Tab,
7
- } from '../../../../../.storybook/components';
8
-
9
- <Meta title='Primitives/Pulse' of={PulseStories} />
10
-
11
- # Pulse
12
-
13
- <CustomTabs>
14
- <Tab label="Overview">
15
-
16
- ## Introduction
17
-
18
- The Pulse animation creates a smooth opacity fade in/out effect, commonly used for loading states and skeleton screens. It provides visual feedback that content is being processed or loaded.
19
-
20
- ## Anatomy
21
-
22
- <Canvas of={PulseStories.Base} />
23
-
24
- - **Children**: The content to animate with opacity changes
25
- - **Duration**: Complete cycle duration (fade out + fade in)
26
- - **Animate**: Controls whether the animation is active
27
-
28
- ## Properties
29
-
30
- ### Overview
31
-
32
- <Canvas of={PulseStories.Base} />
33
- <Controls of={PulseStories.Base} />
34
-
35
- ### Duration
36
-
37
- The duration prop controls how long a complete pulse cycle takes (fade out to fade in). Shorter durations create faster, more noticeable pulses, while longer durations provide subtle, gentle feedback.
38
-
39
- <Canvas of={PulseStories.DurationShowcase} />
40
-
41
- ### Practical Usage
42
-
43
- The Pulse animation is commonly used with components like AmountDisplay to indicate that data is being fetched or updated.
44
-
45
- <Canvas of={PulseStories.WithAmountDisplay} />
46
-
47
- ## Accessibility
48
-
49
- - Does not rely on animation alone to convey information
50
- - Maintains readable opacity range (0.35 to 1.0)
51
-
52
- </Tab>
53
- <Tab label="Implementation">
54
-
55
- ## Installation
56
-
57
- ```bash
58
- npm install @ledgerhq/lumen-ui-rnative
59
- ```
60
-
61
- > **Note**: `@ledgerhq/lumen-design-core` and other peer dependencies (`react`, `react-native`, etc.) are required. See our Setup Guide for complete installation.
62
-
63
- ## Basic Usage
64
-
65
- ```tsx
66
- import { Pulse } from '@ledgerhq/lumen-ui-rnative';
67
- import { View } from 'react-native';
68
-
69
- function LoadingCard() {
70
- return (
71
- <Pulse animate={true}>
72
- <View style={{ width: 200, height: 100, backgroundColor: '#E0E0E0' }} />
73
- </Pulse>
74
- );
75
- }
76
- ```
77
-
78
- ## Performance Considerations
79
-
80
- - The Pulse component uses `useNativeDriver` for optimal performance on native platforms
81
- - Animation cleanup is handled automatically on unmount
82
- - Consider using different duration values for multiple skeleton elements to create a more natural loading pattern
83
-
84
- </Tab>
85
- </CustomTabs>
@@ -1,97 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-native-web-vite';
2
- import { View } from 'react-native';
3
- import { AmountDisplay } from '../../core/AmountDisplay';
4
- import { type FormattedValue } from '../../core/AmountDisplay/types';
5
- import { Box, Text } from '../../primitives';
6
- import { Pulse } from './Pulse';
7
-
8
- const usdFormatter = (value: number): FormattedValue => {
9
- const [integerPart, decimalPart] = value.toFixed(2).split(/\.|,/);
10
-
11
- return {
12
- integerPart,
13
- decimalPart,
14
- currencyText: '$',
15
- decimalSeparator: '.',
16
- currencyPosition: 'start',
17
- };
18
- };
19
-
20
- const meta = {
21
- id: 'rnative-pulse',
22
- title: 'Primitives/Pulse',
23
- component: Pulse,
24
- parameters: {
25
- layout: 'centered',
26
- },
27
- } satisfies Meta<typeof Pulse>;
28
-
29
- export default meta;
30
- type Story = StoryObj<typeof Pulse>;
31
-
32
- export const Base: Story = {
33
- args: {
34
- timing: { duration: 1000, easing: 'linear' },
35
- animate: true,
36
- children: (
37
- <Box lx={{ width: 's48', height: 's48', backgroundColor: 'accent' }} />
38
- ),
39
- },
40
- };
41
-
42
- export const DurationShowcase: Story = {
43
- args: {
44
- timing: { duration: 1000, easing: 'linear' },
45
- animate: true,
46
- children: (
47
- <Box lx={{ width: 's48', height: 's48', backgroundColor: 'accent' }} />
48
- ),
49
- },
50
- render: (args) => (
51
- <View style={{ flexDirection: 'row', gap: 24, alignItems: 'center' }}>
52
- <View style={{ alignItems: 'center', gap: 8 }}>
53
- <Pulse timing={{ ...args.timing, duration: 700 }} animate={true}>
54
- {args.children}
55
- </Pulse>
56
- <Text typography='body4' lx={{ color: 'muted' }}>
57
- 700ms
58
- </Text>
59
- </View>
60
- <View style={{ alignItems: 'center', gap: 8 }}>
61
- <Pulse timing={{ ...args.timing, duration: 1000 }} animate={true}>
62
- {args.children}
63
- </Pulse>
64
- <Text typography='body4' lx={{ color: 'muted' }}>
65
- 1000ms
66
- </Text>
67
- </View>
68
- <View style={{ alignItems: 'center', gap: 8 }}>
69
- <Pulse timing={{ ...args.timing, duration: 2000 }} animate={true}>
70
- {args.children}
71
- </Pulse>
72
- <Text typography='body4' lx={{ color: 'muted' }}>
73
- 2000ms
74
- </Text>
75
- </View>
76
- </View>
77
- ),
78
- };
79
-
80
- export const WithAmountDisplay: Story = {
81
- args: {
82
- children: (
83
- <Box lx={{ width: 's48', height: 's48', backgroundColor: 'accent' }} />
84
- ),
85
- },
86
- render: () => {
87
- return (
88
- <View style={{ flexDirection: 'column', alignItems: 'center', gap: 16 }}>
89
- <AmountDisplay
90
- formatter={usdFormatter}
91
- value={1234.56}
92
- loading={true}
93
- />
94
- </View>
95
- );
96
- },
97
- };
@@ -1,84 +0,0 @@
1
- import { Meta, Canvas, Controls } from '@storybook/addon-docs/blocks';
2
- import * as SpinStories from './Spin.stories';
3
- import { Spin } from './Spin';
4
- import {
5
- CustomTabs,
6
- Tab,
7
- } from '../../../../../.storybook/components';
8
-
9
- <Meta title='Primitives/Spin' of={SpinStories} />
10
-
11
- # Spin
12
-
13
- <CustomTabs>
14
- <Tab label="Overview">
15
-
16
- ## Introduction
17
-
18
- The Spin animation creates a continuous rotation effect, commonly used for loading indicators and progress spinners. It provides visual feedback that a process is ongoing or content is being loaded.
19
-
20
- ## Anatomy
21
-
22
- <Canvas of={SpinStories.Base} />
23
-
24
- - **Children**: The content to rotate continuously
25
- - **Duration**: Time for one complete 360° rotation
26
-
27
- ## Properties
28
-
29
- ### Overview
30
-
31
- <Canvas of={SpinStories.Base} />
32
- <Controls of={SpinStories.Base} />
33
-
34
- ### Duration
35
-
36
- The duration prop controls how long one complete rotation takes. Shorter durations create faster spins, while longer durations provide slower, more subtle rotation.
37
-
38
- <Canvas of={SpinStories.DurationShowcase} />
39
-
40
- ### Practical Usage
41
-
42
- The Spin animation is commonly used with the Spinner component to create loading indicators throughout the application.
43
-
44
- <Canvas of={SpinStories.WithSpinner} />
45
-
46
- ## Accessibility
47
-
48
- - Does not rely on animation alone to convey information
49
- - Should be paired with appropriate loading labels for screen readers
50
-
51
- </Tab>
52
- <Tab label="Implementation">
53
-
54
- ## Installation
55
-
56
- ```bash
57
- npm install @ledgerhq/lumen-ui-rnative
58
- ```
59
-
60
- > **Note**: `@ledgerhq/lumen-design-core` and other peer dependencies (`react`, `react-native`, etc.) are required. See our Setup Guide for complete installation.
61
-
62
- ## Basic Usage
63
-
64
- ```tsx
65
- import { Spin } from '@ledgerhq/lumen-ui-rnative';
66
- import { View } from 'react-native';
67
-
68
- function LoadingIcon() {
69
- return (
70
- <Spin>
71
- <View style={{ width: 40, height: 40, backgroundColor: '#007AFF' }} />
72
- </Spin>
73
- );
74
- }
75
- ```
76
-
77
- ## Performance Considerations
78
-
79
- - The Spin component uses `useNativeDriver` for optimal performance on native platforms
80
- - Rotation animation runs continuously until component unmounts
81
- - Animation cleanup is handled automatically on unmount
82
-
83
- </Tab>
84
- </CustomTabs>
@@ -1,70 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react-native-web-vite';
2
- import { View } from 'react-native';
3
- import { Spinner } from '../../core/Spinner';
4
- import { Box, Text } from '../../primitives';
5
- import { Spin } from './Spin';
6
-
7
- const meta = {
8
- id: 'rnative-spin',
9
- title: 'Primitives/Spin',
10
- component: Spin,
11
- parameters: {
12
- layout: 'centered',
13
- },
14
- } satisfies Meta<typeof Spin>;
15
-
16
- export default meta;
17
- type Story = StoryObj<typeof Spin>;
18
-
19
- export const Base: Story = {
20
- args: {
21
- timing: { duration: 1000, easing: 'linear' },
22
- children: (
23
- <Box lx={{ width: 's48', height: 's48', backgroundColor: 'accent' }} />
24
- ),
25
- },
26
- };
27
-
28
- export const DurationShowcase: Story = {
29
- args: {
30
- timing: { duration: 1000, easing: 'linear' },
31
- children: (
32
- <Box lx={{ width: 's48', height: 's48', backgroundColor: 'accent' }} />
33
- ),
34
- },
35
- render: (args) => (
36
- <View style={{ flexDirection: 'row', gap: 24, alignItems: 'center' }}>
37
- <View style={{ alignItems: 'center', gap: 8 }}>
38
- <Spin timing={{ ...args.timing, duration: 500 }}>{args.children}</Spin>
39
- <Text typography='body4' lx={{ color: 'muted' }}>
40
- 500ms
41
- </Text>
42
- </View>
43
- <View style={{ alignItems: 'center', gap: 8 }}>
44
- <Spin timing={{ ...args.timing, duration: 1000 }}>{args.children}</Spin>
45
- <Text typography='body4' lx={{ color: 'muted' }}>
46
- 1000ms
47
- </Text>
48
- </View>
49
- <View style={{ alignItems: 'center', gap: 8 }}>
50
- <Spin timing={{ ...args.timing, duration: 2000 }}>{args.children}</Spin>
51
- <Text typography='body4' lx={{ color: 'muted' }}>
52
- 2000ms
53
- </Text>
54
- </View>
55
- </View>
56
- ),
57
- };
58
-
59
- export const WithSpinner: Story = {
60
- args: {
61
- children: null,
62
- },
63
- render: () => {
64
- return (
65
- <View style={{ flexDirection: 'column', alignItems: 'center', gap: 16 }}>
66
- <Spinner size={40} />
67
- </View>
68
- );
69
- },
70
- };