@ledgerhq/lumen-ui-rnative 0.1.70 → 0.1.71

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (814) hide show
  1. package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js +2 -1
  2. package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js.map +1 -1
  3. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js +5 -3
  4. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js.map +1 -1
  5. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js +111 -29
  6. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js.map +1 -1
  7. package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js +30 -13
  8. package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js.map +1 -1
  9. package/dist/module/lib/Components/visualization/Scrubber/utils.js +16 -0
  10. package/dist/module/lib/Components/visualization/Scrubber/utils.js.map +1 -1
  11. package/dist/module/lib/Components/visualization/config.js +4 -0
  12. package/dist/module/lib/Components/visualization/config.js.map +1 -1
  13. package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
  14. package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts +2 -1
  15. package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts.map +1 -1
  16. package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +4 -0
  17. package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts.map +1 -1
  18. package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts +1 -1
  19. package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts.map +1 -1
  20. package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts +7 -1
  21. package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts.map +1 -1
  22. package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts +9 -6
  23. package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts.map +1 -1
  24. package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts +5 -0
  25. package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts.map +1 -1
  26. package/dist/typescript/src/lib/Components/visualization/config.d.ts +4 -0
  27. package/dist/typescript/src/lib/Components/visualization/config.d.ts.map +1 -1
  28. package/package.json +10 -2
  29. package/src/lib/Components/visualization/CartesianChart/CartesianChart.tsx +1 -0
  30. package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.ts +4 -1
  31. package/src/lib/Components/visualization/CartesianChart/types.ts +4 -0
  32. package/src/lib/Components/visualization/Scrubber/Scrubber.tsx +108 -31
  33. package/src/lib/Components/visualization/Scrubber/types.ts +7 -1
  34. package/src/lib/Components/visualization/Scrubber/useScrubberGeometry.ts +40 -15
  35. package/src/lib/Components/visualization/Scrubber/utils.ts +18 -0
  36. package/src/lib/Components/visualization/config.ts +4 -0
  37. package/dist/module/lib/Components/animations/Pulse/Pulse.mdx +0 -85
  38. package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js +0 -156
  39. package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js.map +0 -1
  40. package/dist/module/lib/Components/animations/Spin/Spin.mdx +0 -84
  41. package/dist/module/lib/Components/animations/Spin/Spin.stories.js +0 -133
  42. package/dist/module/lib/Components/animations/Spin/Spin.stories.js.map +0 -1
  43. package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js +0 -40
  44. package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js.map +0 -1
  45. package/dist/module/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
  46. package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js +0 -188
  47. package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js.map +0 -1
  48. package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js +0 -56
  49. package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js.map +0 -1
  50. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js +0 -31
  51. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js.map +0 -1
  52. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
  53. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js +0 -188
  54. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js.map +0 -1
  55. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js +0 -409
  56. package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js.map +0 -1
  57. package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js +0 -70
  58. package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js.map +0 -1
  59. package/dist/module/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
  60. package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js +0 -254
  61. package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js.map +0 -1
  62. package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js +0 -152
  63. package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js.map +0 -1
  64. package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js +0 -78
  65. package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js.map +0 -1
  66. package/dist/module/lib/Components/core/Avatar/Avatar.figma.js +0 -32
  67. package/dist/module/lib/Components/core/Avatar/Avatar.figma.js.map +0 -1
  68. package/dist/module/lib/Components/core/Avatar/Avatar.mdx +0 -166
  69. package/dist/module/lib/Components/core/Avatar/Avatar.stories.js +0 -182
  70. package/dist/module/lib/Components/core/Avatar/Avatar.stories.js.map +0 -1
  71. package/dist/module/lib/Components/core/Avatar/Avatar.test.js +0 -330
  72. package/dist/module/lib/Components/core/Avatar/Avatar.test.js.map +0 -1
  73. package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js +0 -88
  74. package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js.map +0 -1
  75. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
  76. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js +0 -52
  77. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js.map +0 -1
  78. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js +0 -100
  79. package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js.map +0 -1
  80. package/dist/module/lib/Components/core/Banner/Banner.figma.js +0 -107
  81. package/dist/module/lib/Components/core/Banner/Banner.figma.js.map +0 -1
  82. package/dist/module/lib/Components/core/Banner/Banner.mdx +0 -352
  83. package/dist/module/lib/Components/core/Banner/Banner.stories.js +0 -434
  84. package/dist/module/lib/Components/core/Banner/Banner.stories.js.map +0 -1
  85. package/dist/module/lib/Components/core/Banner/Banner.test.js +0 -120
  86. package/dist/module/lib/Components/core/Banner/Banner.test.js.map +0 -1
  87. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js +0 -49
  88. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js.map +0 -1
  89. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
  90. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js +0 -1034
  91. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js.map +0 -1
  92. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js +0 -632
  93. package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js.map +0 -1
  94. package/dist/module/lib/Components/core/Button/Button.figma.js +0 -46
  95. package/dist/module/lib/Components/core/Button/Button.figma.js.map +0 -1
  96. package/dist/module/lib/Components/core/Button/Button.mdx +0 -168
  97. package/dist/module/lib/Components/core/Button/Button.stories.js +0 -300
  98. package/dist/module/lib/Components/core/Button/Button.stories.js.map +0 -1
  99. package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js +0 -19
  100. package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js.map +0 -1
  101. package/dist/module/lib/Components/core/Card/Card.figma.js +0 -158
  102. package/dist/module/lib/Components/core/Card/Card.figma.js.map +0 -1
  103. package/dist/module/lib/Components/core/Card/Card.mdx +0 -293
  104. package/dist/module/lib/Components/core/Card/Card.stories.js +0 -967
  105. package/dist/module/lib/Components/core/Card/Card.stories.js.map +0 -1
  106. package/dist/module/lib/Components/core/Card/Card.test.js +0 -226
  107. package/dist/module/lib/Components/core/Card/Card.test.js.map +0 -1
  108. package/dist/module/lib/Components/core/CardButton/CardButton.figma.js +0 -38
  109. package/dist/module/lib/Components/core/CardButton/CardButton.figma.js.map +0 -1
  110. package/dist/module/lib/Components/core/CardButton/CardButton.mdx +0 -246
  111. package/dist/module/lib/Components/core/CardButton/CardButton.stories.js +0 -284
  112. package/dist/module/lib/Components/core/CardButton/CardButton.stories.js.map +0 -1
  113. package/dist/module/lib/Components/core/CardButton/CardButton.test.js +0 -130
  114. package/dist/module/lib/Components/core/CardButton/CardButton.test.js.map +0 -1
  115. package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js +0 -48
  116. package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js.map +0 -1
  117. package/dist/module/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
  118. package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js +0 -141
  119. package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js.map +0 -1
  120. package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js +0 -103
  121. package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js.map +0 -1
  122. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js +0 -90
  123. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js.map +0 -1
  124. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
  125. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +0 -234
  126. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +0 -1
  127. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js +0 -137
  128. package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js.map +0 -1
  129. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js +0 -29
  130. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js.map +0 -1
  131. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
  132. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js +0 -287
  133. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js.map +0 -1
  134. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js +0 -116
  135. package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js.map +0 -1
  136. package/dist/module/lib/Components/core/Divider/Divider.figma.js +0 -10
  137. package/dist/module/lib/Components/core/Divider/Divider.figma.js.map +0 -1
  138. package/dist/module/lib/Components/core/Divider/Divider.mdx +0 -149
  139. package/dist/module/lib/Components/core/Divider/Divider.stories.js +0 -208
  140. package/dist/module/lib/Components/core/Divider/Divider.stories.js.map +0 -1
  141. package/dist/module/lib/Components/core/Divider/Divider.test.js +0 -101
  142. package/dist/module/lib/Components/core/Divider/Divider.test.js.map +0 -1
  143. package/dist/module/lib/Components/core/DotCount/DotCount.figma.js +0 -29
  144. package/dist/module/lib/Components/core/DotCount/DotCount.figma.js.map +0 -1
  145. package/dist/module/lib/Components/core/DotCount/DotCount.mdx +0 -86
  146. package/dist/module/lib/Components/core/DotCount/DotCount.stories.js +0 -192
  147. package/dist/module/lib/Components/core/DotCount/DotCount.stories.js.map +0 -1
  148. package/dist/module/lib/Components/core/DotCount/DotCount.test.js +0 -174
  149. package/dist/module/lib/Components/core/DotCount/DotCount.test.js.map +0 -1
  150. package/dist/module/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
  151. package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js +0 -288
  152. package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js.map +0 -1
  153. package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js +0 -260
  154. package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js.map +0 -1
  155. package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js +0 -38
  156. package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js.map +0 -1
  157. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js +0 -29
  158. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js.map +0 -1
  159. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
  160. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js +0 -123
  161. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js.map +0 -1
  162. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js +0 -156
  163. package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js.map +0 -1
  164. package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js +0 -33
  165. package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js.map +0 -1
  166. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
  167. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +0 -401
  168. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +0 -1
  169. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js +0 -134
  170. package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js.map +0 -1
  171. package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js +0 -56
  172. package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js.map +0 -1
  173. package/dist/module/lib/Components/core/IconButton/IconButton.figma.js +0 -42
  174. package/dist/module/lib/Components/core/IconButton/IconButton.figma.js.map +0 -1
  175. package/dist/module/lib/Components/core/IconButton/IconButton.mdx +0 -137
  176. package/dist/module/lib/Components/core/IconButton/IconButton.stories.js +0 -170
  177. package/dist/module/lib/Components/core/IconButton/IconButton.stories.js.map +0 -1
  178. package/dist/module/lib/Components/core/IconButton/IconButton.test.js +0 -107
  179. package/dist/module/lib/Components/core/IconButton/IconButton.test.js.map +0 -1
  180. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js +0 -51
  181. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js.map +0 -1
  182. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
  183. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js +0 -237
  184. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js.map +0 -1
  185. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js +0 -149
  186. package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js.map +0 -1
  187. package/dist/module/lib/Components/core/Link/Link.figma.js +0 -42
  188. package/dist/module/lib/Components/core/Link/Link.figma.js.map +0 -1
  189. package/dist/module/lib/Components/core/Link/Link.mdx +0 -264
  190. package/dist/module/lib/Components/core/Link/Link.stories.js +0 -349
  191. package/dist/module/lib/Components/core/Link/Link.stories.js.map +0 -1
  192. package/dist/module/lib/Components/core/Link/Link.test.js +0 -157
  193. package/dist/module/lib/Components/core/Link/Link.test.js.map +0 -1
  194. package/dist/module/lib/Components/core/ListItem/ListItem.figma.js +0 -426
  195. package/dist/module/lib/Components/core/ListItem/ListItem.figma.js.map +0 -1
  196. package/dist/module/lib/Components/core/ListItem/ListItem.mdx +0 -461
  197. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +0 -817
  198. package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +0 -1
  199. package/dist/module/lib/Components/core/ListItem/ListItem.test.js +0 -233
  200. package/dist/module/lib/Components/core/ListItem/ListItem.test.js.map +0 -1
  201. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js +0 -25
  202. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js.map +0 -1
  203. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
  204. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js +0 -183
  205. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js.map +0 -1
  206. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js +0 -129
  207. package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js.map +0 -1
  208. package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js +0 -72
  209. package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js.map +0 -1
  210. package/dist/module/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
  211. package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js +0 -169
  212. package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js.map +0 -1
  213. package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js +0 -171
  214. package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js.map +0 -1
  215. package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js +0 -28
  216. package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js.map +0 -1
  217. package/dist/module/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
  218. package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js +0 -187
  219. package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js.map +0 -1
  220. package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js +0 -140
  221. package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js.map +0 -1
  222. package/dist/module/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
  223. package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js +0 -235
  224. package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js.map +0 -1
  225. package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js +0 -325
  226. package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js.map +0 -1
  227. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js +0 -215
  228. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js.map +0 -1
  229. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -96
  230. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +0 -258
  231. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js.map +0 -1
  232. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js +0 -246
  233. package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js.map +0 -1
  234. package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js +0 -100
  235. package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js.map +0 -1
  236. package/dist/module/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
  237. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js +0 -145
  238. package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js.map +0 -1
  239. package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js +0 -30
  240. package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js.map +0 -1
  241. package/dist/module/lib/Components/core/MenuList/MenuList.figma.js +0 -21
  242. package/dist/module/lib/Components/core/MenuList/MenuList.figma.js.map +0 -1
  243. package/dist/module/lib/Components/core/MenuList/MenuList.mdx +0 -79
  244. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +0 -192
  245. package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +0 -1
  246. package/dist/module/lib/Components/core/MenuList/MenuList.test.js +0 -204
  247. package/dist/module/lib/Components/core/MenuList/MenuList.test.js.map +0 -1
  248. package/dist/module/lib/Components/core/NavBar/NavBar.figma.js +0 -80
  249. package/dist/module/lib/Components/core/NavBar/NavBar.figma.js.map +0 -1
  250. package/dist/module/lib/Components/core/NavBar/NavBar.mdx +0 -257
  251. package/dist/module/lib/Components/core/NavBar/NavBar.stories.js +0 -158
  252. package/dist/module/lib/Components/core/NavBar/NavBar.stories.js.map +0 -1
  253. package/dist/module/lib/Components/core/NavBar/NavBar.test.js +0 -405
  254. package/dist/module/lib/Components/core/NavBar/NavBar.test.js.map +0 -1
  255. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js +0 -13
  256. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js.map +0 -1
  257. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
  258. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js +0 -99
  259. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js.map +0 -1
  260. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js +0 -213
  261. package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js.map +0 -1
  262. package/dist/module/lib/Components/core/Pagination/Pagination.figma.js +0 -22
  263. package/dist/module/lib/Components/core/Pagination/Pagination.figma.js.map +0 -1
  264. package/dist/module/lib/Components/core/Pagination/Pagination.mdx +0 -108
  265. package/dist/module/lib/Components/core/Pagination/Pagination.stories.js +0 -121
  266. package/dist/module/lib/Components/core/Pagination/Pagination.stories.js.map +0 -1
  267. package/dist/module/lib/Components/core/Pagination/Pagination.test.js +0 -338
  268. package/dist/module/lib/Components/core/Pagination/Pagination.test.js.map +0 -1
  269. package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js +0 -31
  270. package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js.map +0 -1
  271. package/dist/module/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
  272. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js +0 -125
  273. package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js.map +0 -1
  274. package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js +0 -41
  275. package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js.map +0 -1
  276. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js +0 -22
  277. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js.map +0 -1
  278. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
  279. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js +0 -104
  280. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js.map +0 -1
  281. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js +0 -108
  282. package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js.map +0 -1
  283. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js +0 -35
  284. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js.map +0 -1
  285. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
  286. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js +0 -216
  287. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js.map +0 -1
  288. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js +0 -211
  289. package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js.map +0 -1
  290. package/dist/module/lib/Components/core/SelectList/SelectList.figma.js +0 -28
  291. package/dist/module/lib/Components/core/SelectList/SelectList.figma.js.map +0 -1
  292. package/dist/module/lib/Components/core/SelectList/SelectList.mdx +0 -280
  293. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +0 -1100
  294. package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +0 -1
  295. package/dist/module/lib/Components/core/SelectList/SelectList.test.js +0 -620
  296. package/dist/module/lib/Components/core/SelectList/SelectList.test.js.map +0 -1
  297. package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js +0 -199
  298. package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js.map +0 -1
  299. package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js +0 -18
  300. package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js.map +0 -1
  301. package/dist/module/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
  302. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js +0 -135
  303. package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js.map +0 -1
  304. package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js +0 -63
  305. package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js.map +0 -1
  306. package/dist/module/lib/Components/core/Spinner/Spinner.figma.js +0 -13
  307. package/dist/module/lib/Components/core/Spinner/Spinner.figma.js.map +0 -1
  308. package/dist/module/lib/Components/core/Spinner/Spinner.mdx +0 -119
  309. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js +0 -214
  310. package/dist/module/lib/Components/core/Spinner/Spinner.stories.js.map +0 -1
  311. package/dist/module/lib/Components/core/Spot/Spot.figma.js +0 -52
  312. package/dist/module/lib/Components/core/Spot/Spot.figma.js.map +0 -1
  313. package/dist/module/lib/Components/core/Spot/Spot.mdx +0 -113
  314. package/dist/module/lib/Components/core/Spot/Spot.stories.js +0 -242
  315. package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +0 -1
  316. package/dist/module/lib/Components/core/Spot/Spot.test.js +0 -61
  317. package/dist/module/lib/Components/core/Spot/Spot.test.js.map +0 -1
  318. package/dist/module/lib/Components/core/Spot/SpotNumber.test.js +0 -72
  319. package/dist/module/lib/Components/core/Spot/SpotNumber.test.js.map +0 -1
  320. package/dist/module/lib/Components/core/Stepper/Stepper.figma.js +0 -13
  321. package/dist/module/lib/Components/core/Stepper/Stepper.figma.js.map +0 -1
  322. package/dist/module/lib/Components/core/Stepper/Stepper.mdx +0 -167
  323. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js +0 -214
  324. package/dist/module/lib/Components/core/Stepper/Stepper.stories.js.map +0 -1
  325. package/dist/module/lib/Components/core/Stepper/Stepper.test.js +0 -184
  326. package/dist/module/lib/Components/core/Stepper/Stepper.test.js.map +0 -1
  327. package/dist/module/lib/Components/core/Subheader/Subheader.figma.js +0 -67
  328. package/dist/module/lib/Components/core/Subheader/Subheader.figma.js.map +0 -1
  329. package/dist/module/lib/Components/core/Subheader/Subheader.mdx +0 -366
  330. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js +0 -117
  331. package/dist/module/lib/Components/core/Subheader/Subheader.stories.js.map +0 -1
  332. package/dist/module/lib/Components/core/Subheader/Subheader.test.js +0 -164
  333. package/dist/module/lib/Components/core/Subheader/Subheader.test.js.map +0 -1
  334. package/dist/module/lib/Components/core/Switch/Switch.figma.js +0 -58
  335. package/dist/module/lib/Components/core/Switch/Switch.figma.js.map +0 -1
  336. package/dist/module/lib/Components/core/Switch/Switch.mdx +0 -149
  337. package/dist/module/lib/Components/core/Switch/Switch.stories.js +0 -150
  338. package/dist/module/lib/Components/core/Switch/Switch.stories.js.map +0 -1
  339. package/dist/module/lib/Components/core/Switch/Switch.test.js +0 -92
  340. package/dist/module/lib/Components/core/Switch/Switch.test.js.map +0 -1
  341. package/dist/module/lib/Components/core/TabBar/TabBar.figma.js +0 -98
  342. package/dist/module/lib/Components/core/TabBar/TabBar.figma.js.map +0 -1
  343. package/dist/module/lib/Components/core/TabBar/TabBar.mdx +0 -209
  344. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js +0 -184
  345. package/dist/module/lib/Components/core/TabBar/TabBar.stories.js.map +0 -1
  346. package/dist/module/lib/Components/core/TabBar/TabBar.test.js +0 -112
  347. package/dist/module/lib/Components/core/TabBar/TabBar.test.js.map +0 -1
  348. package/dist/module/lib/Components/core/Tag/Tag.figma.js +0 -41
  349. package/dist/module/lib/Components/core/Tag/Tag.figma.js.map +0 -1
  350. package/dist/module/lib/Components/core/Tag/Tag.mdx +0 -98
  351. package/dist/module/lib/Components/core/Tag/Tag.stories.js +0 -208
  352. package/dist/module/lib/Components/core/Tag/Tag.stories.js.map +0 -1
  353. package/dist/module/lib/Components/core/Tag/Tag.test.js +0 -69
  354. package/dist/module/lib/Components/core/Tag/Tag.test.js.map +0 -1
  355. package/dist/module/lib/Components/core/TextInput/TextInput.figma.js +0 -46
  356. package/dist/module/lib/Components/core/TextInput/TextInput.figma.js.map +0 -1
  357. package/dist/module/lib/Components/core/TextInput/TextInput.mdx +0 -305
  358. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js +0 -241
  359. package/dist/module/lib/Components/core/TextInput/TextInput.stories.js.map +0 -1
  360. package/dist/module/lib/Components/core/TextInput/TextInput.test.js +0 -295
  361. package/dist/module/lib/Components/core/TextInput/TextInput.test.js.map +0 -1
  362. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js +0 -43
  363. package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js.map +0 -1
  364. package/dist/module/lib/Components/core/Tile/Tile.figma.js +0 -110
  365. package/dist/module/lib/Components/core/Tile/Tile.figma.js.map +0 -1
  366. package/dist/module/lib/Components/core/Tile/Tile.mdx +0 -252
  367. package/dist/module/lib/Components/core/Tile/Tile.stories.js +0 -559
  368. package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +0 -1
  369. package/dist/module/lib/Components/core/Tile/Tile.test.js +0 -249
  370. package/dist/module/lib/Components/core/Tile/Tile.test.js.map +0 -1
  371. package/dist/module/lib/Components/core/TileButton/TileButton.figma.js +0 -28
  372. package/dist/module/lib/Components/core/TileButton/TileButton.figma.js.map +0 -1
  373. package/dist/module/lib/Components/core/TileButton/TileButton.mdx +0 -184
  374. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js +0 -269
  375. package/dist/module/lib/Components/core/TileButton/TileButton.stories.js.map +0 -1
  376. package/dist/module/lib/Components/core/TileButton/TileButton.test.js +0 -124
  377. package/dist/module/lib/Components/core/TileButton/TileButton.test.js.map +0 -1
  378. package/dist/module/lib/Components/core/Timeline/Timeline.figma.js +0 -83
  379. package/dist/module/lib/Components/core/Timeline/Timeline.figma.js.map +0 -1
  380. package/dist/module/lib/Components/core/Timeline/Timeline.mdx +0 -49
  381. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js +0 -319
  382. package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +0 -1
  383. package/dist/module/lib/Components/core/Timeline/Timeline.test.js +0 -237
  384. package/dist/module/lib/Components/core/Timeline/Timeline.test.js.map +0 -1
  385. package/dist/module/lib/Components/core/Toast/Toast.figma.js +0 -39
  386. package/dist/module/lib/Components/core/Toast/Toast.figma.js.map +0 -1
  387. package/dist/module/lib/Components/core/Toast/Toast.mdx +0 -203
  388. package/dist/module/lib/Components/core/Toast/Toast.stories.js +0 -241
  389. package/dist/module/lib/Components/core/Toast/Toast.stories.js.map +0 -1
  390. package/dist/module/lib/Components/core/Toast/Toast.test.js +0 -203
  391. package/dist/module/lib/Components/core/Toast/Toast.test.js.map +0 -1
  392. package/dist/module/lib/Components/core/Toast/Toaster.test.js +0 -732
  393. package/dist/module/lib/Components/core/Toast/Toaster.test.js.map +0 -1
  394. package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js +0 -26
  395. package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js.map +0 -1
  396. package/dist/module/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
  397. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js +0 -212
  398. package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js.map +0 -1
  399. package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js +0 -91
  400. package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js.map +0 -1
  401. package/dist/module/lib/Components/core/Trend/Trend.figma.js +0 -29
  402. package/dist/module/lib/Components/core/Trend/Trend.figma.js.map +0 -1
  403. package/dist/module/lib/Components/core/Trend/Trend.mdx +0 -104
  404. package/dist/module/lib/Components/core/Trend/Trend.stories.js +0 -98
  405. package/dist/module/lib/Components/core/Trend/Trend.stories.js.map +0 -1
  406. package/dist/module/lib/Components/core/Trend/Trend.test.js +0 -149
  407. package/dist/module/lib/Components/core/Trend/Trend.test.js.map +0 -1
  408. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js +0 -139
  409. package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js.map +0 -1
  410. package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js +0 -111
  411. package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js.map +0 -1
  412. package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js +0 -144
  413. package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js.map +0 -1
  414. package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js +0 -17
  415. package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js.map +0 -1
  416. package/dist/module/lib/Components/primitives/Box/Box.mdx +0 -50
  417. package/dist/module/lib/Components/primitives/Box/Box.stories.js +0 -29
  418. package/dist/module/lib/Components/primitives/Box/Box.stories.js.map +0 -1
  419. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
  420. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js +0 -260
  421. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js.map +0 -1
  422. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js +0 -81
  423. package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js.map +0 -1
  424. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
  425. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js +0 -242
  426. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js.map +0 -1
  427. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js +0 -81
  428. package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js.map +0 -1
  429. package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js +0 -151
  430. package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js.map +0 -1
  431. package/dist/module/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
  432. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js +0 -39
  433. package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js.map +0 -1
  434. package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js +0 -226
  435. package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js.map +0 -1
  436. package/dist/module/lib/Components/primitives/Text/Text.mdx +0 -70
  437. package/dist/module/lib/Components/primitives/Text/Text.stories.js +0 -28
  438. package/dist/module/lib/Components/primitives/Text/Text.stories.js.map +0 -1
  439. package/dist/module/lib/Components/symbols/Icon/Icon.figma.js +0 -1840
  440. package/dist/module/lib/Components/symbols/Icon/Icon.figma.js.map +0 -1
  441. package/dist/module/lib/Components/symbols/Icon/Icon.mdx +0 -149
  442. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js +0 -321
  443. package/dist/module/lib/Components/symbols/Icon/Icon.stories.js.map +0 -1
  444. package/dist/module/lib/Components/symbols/Icon/Icon.test.js +0 -90
  445. package/dist/module/lib/Components/symbols/Icon/Icon.test.js.map +0 -1
  446. package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js +0 -135
  447. package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js.map +0 -1
  448. package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js +0 -135
  449. package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js.map +0 -1
  450. package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js +0 -183
  451. package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js.map +0 -1
  452. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js +0 -333
  453. package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js.map +0 -1
  454. package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js +0 -86
  455. package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js.map +0 -1
  456. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js +0 -191
  457. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js.map +0 -1
  458. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +0 -905
  459. package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +0 -1
  460. package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js +0 -70
  461. package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js.map +0 -1
  462. package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js +0 -586
  463. package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js.map +0 -1
  464. package/dist/module/lib/Components/visualization/DonutChart/utils.test.js +0 -440
  465. package/dist/module/lib/Components/visualization/DonutChart/utils.test.js.map +0 -1
  466. package/dist/module/lib/Components/visualization/Legend/Legend.test.js +0 -134
  467. package/dist/module/lib/Components/visualization/Legend/Legend.test.js.map +0 -1
  468. package/dist/module/lib/Components/visualization/Line/utils.test.js +0 -134
  469. package/dist/module/lib/Components/visualization/Line/utils.test.js.map +0 -1
  470. package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js +0 -99
  471. package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js.map +0 -1
  472. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js +0 -385
  473. package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js.map +0 -1
  474. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js +0 -462
  475. package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js.map +0 -1
  476. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js +0 -47
  477. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js.map +0 -1
  478. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js +0 -22
  479. package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js.map +0 -1
  480. package/dist/module/lib/Components/visualization/LineChart/utils.test.js +0 -210
  481. package/dist/module/lib/Components/visualization/LineChart/utils.test.js.map +0 -1
  482. package/dist/module/lib/Components/visualization/Point/Point.stories.js +0 -200
  483. package/dist/module/lib/Components/visualization/Point/Point.stories.js.map +0 -1
  484. package/dist/module/lib/Components/visualization/Point/Point.test.js +0 -269
  485. package/dist/module/lib/Components/visualization/Point/Point.test.js.map +0 -1
  486. package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js +0 -162
  487. package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js.map +0 -1
  488. package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js +0 -86
  489. package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js.map +0 -1
  490. package/dist/module/lib/Components/visualization/Point/utils.test.js +0 -141
  491. package/dist/module/lib/Components/visualization/Point/utils.test.js.map +0 -1
  492. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js +0 -128
  493. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js.map +0 -1
  494. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js +0 -338
  495. package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js.map +0 -1
  496. package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js +0 -297
  497. package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js.map +0 -1
  498. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js +0 -340
  499. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js.map +0 -1
  500. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js +0 -261
  501. package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js.map +0 -1
  502. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js +0 -193
  503. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js.map +0 -1
  504. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js +0 -137
  505. package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js.map +0 -1
  506. package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js +0 -295
  507. package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js.map +0 -1
  508. package/dist/module/lib/Components/visualization/Scrubber/utils.test.js +0 -395
  509. package/dist/module/lib/Components/visualization/Scrubber/utils.test.js.map +0 -1
  510. package/dist/module/lib/Components/visualization/utils/domain/domain.test.js +0 -191
  511. package/dist/module/lib/Components/visualization/utils/domain/domain.test.js.map +0 -1
  512. package/dist/module/lib/Components/visualization/utils/scales/scales.test.js +0 -322
  513. package/dist/module/lib/Components/visualization/utils/scales/scales.test.js.map +0 -1
  514. package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js +0 -155
  515. package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js.map +0 -1
  516. package/dist/module/styles/hooks/useStyleSheet.test.js +0 -473
  517. package/dist/module/styles/hooks/useStyleSheet.test.js.map +0 -1
  518. package/dist/module/styles/lx/createStyledPressable.test.js +0 -291
  519. package/dist/module/styles/lx/createStyledPressable.test.js.map +0 -1
  520. package/dist/module/styles/lx/createStyledText.test.js +0 -242
  521. package/dist/module/styles/lx/createStyledText.test.js.map +0 -1
  522. package/dist/module/styles/lx/createStyledView.test.js +0 -189
  523. package/dist/module/styles/lx/createStyledView.test.js.map +0 -1
  524. package/dist/module/styles/lx/resolveStyle.test.js +0 -633
  525. package/dist/module/styles/lx/resolveStyle.test.js.map +0 -1
  526. package/dist/module/styles/provider/LumenStyleSheetProvider.test.js +0 -131
  527. package/dist/module/styles/provider/LumenStyleSheetProvider.test.js.map +0 -1
  528. package/dist/module/styles/theme/createStylesheetTheme.test.js +0 -27
  529. package/dist/module/styles/theme/createStylesheetTheme.test.js.map +0 -1
  530. package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js +0 -59
  531. package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js.map +0 -1
  532. package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js +0 -29
  533. package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js.map +0 -1
  534. package/dist/module/translations/translations.test.js +0 -34
  535. package/dist/module/translations/translations.test.js.map +0 -1
  536. package/src/lib/Components/animations/Pulse/Pulse.mdx +0 -85
  537. package/src/lib/Components/animations/Pulse/Pulse.stories.tsx +0 -98
  538. package/src/lib/Components/animations/Spin/Spin.mdx +0 -84
  539. package/src/lib/Components/animations/Spin/Spin.stories.tsx +0 -71
  540. package/src/lib/Components/core/AddressInput/AddressInput.figma.tsx +0 -43
  541. package/src/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
  542. package/src/lib/Components/core/AddressInput/AddressInput.stories.tsx +0 -235
  543. package/src/lib/Components/core/AddressInput/AddressInput.test.tsx +0 -62
  544. package/src/lib/Components/core/AmountDisplay/AmountDisplay.figma.tsx +0 -37
  545. package/src/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
  546. package/src/lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx +0 -192
  547. package/src/lib/Components/core/AmountDisplay/AmountDisplay.test.tsx +0 -469
  548. package/src/lib/Components/core/AmountInput/AmountInput.figma.tsx +0 -78
  549. package/src/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
  550. package/src/lib/Components/core/AmountInput/AmountInput.stories.tsx +0 -281
  551. package/src/lib/Components/core/AmountInput/AmountInput.test.tsx +0 -166
  552. package/src/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.ts +0 -82
  553. package/src/lib/Components/core/Avatar/Avatar.figma.tsx +0 -42
  554. package/src/lib/Components/core/Avatar/Avatar.mdx +0 -166
  555. package/src/lib/Components/core/Avatar/Avatar.stories.tsx +0 -126
  556. package/src/lib/Components/core/Avatar/Avatar.test.tsx +0 -312
  557. package/src/lib/Components/core/Avatar/useResolveAvatarColor.test.tsx +0 -106
  558. package/src/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
  559. package/src/lib/Components/core/AvatarButton/AvatarButton.stories.tsx +0 -51
  560. package/src/lib/Components/core/AvatarButton/AvatarButton.test.tsx +0 -92
  561. package/src/lib/Components/core/Banner/Banner.figma.tsx +0 -115
  562. package/src/lib/Components/core/Banner/Banner.mdx +0 -352
  563. package/src/lib/Components/core/Banner/Banner.stories.tsx +0 -425
  564. package/src/lib/Components/core/Banner/Banner.test.tsx +0 -116
  565. package/src/lib/Components/core/BottomSheet/BottomSheet.figma.tsx +0 -52
  566. package/src/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
  567. package/src/lib/Components/core/BottomSheet/BottomSheet.stories.tsx +0 -996
  568. package/src/lib/Components/core/BottomSheet/BottomSheet.test.tsx +0 -539
  569. package/src/lib/Components/core/Button/Button.figma.tsx +0 -58
  570. package/src/lib/Components/core/Button/Button.mdx +0 -168
  571. package/src/lib/Components/core/Button/Button.stories.tsx +0 -238
  572. package/src/lib/Components/core/Button/ButtonGroup.figma.tsx +0 -15
  573. package/src/lib/Components/core/Card/Card.figma.tsx +0 -169
  574. package/src/lib/Components/core/Card/Card.mdx +0 -293
  575. package/src/lib/Components/core/Card/Card.stories.tsx +0 -736
  576. package/src/lib/Components/core/Card/Card.test.tsx +0 -226
  577. package/src/lib/Components/core/CardButton/CardButton.figma.tsx +0 -49
  578. package/src/lib/Components/core/CardButton/CardButton.mdx +0 -246
  579. package/src/lib/Components/core/CardButton/CardButton.stories.tsx +0 -284
  580. package/src/lib/Components/core/CardButton/CardButton.test.tsx +0 -140
  581. package/src/lib/Components/core/Checkbox/Checkbox.figma.tsx +0 -54
  582. package/src/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
  583. package/src/lib/Components/core/Checkbox/Checkbox.stories.tsx +0 -115
  584. package/src/lib/Components/core/Checkbox/Checkbox.test.tsx +0 -115
  585. package/src/lib/Components/core/ContentBanner/ContentBanner.figma.tsx +0 -108
  586. package/src/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
  587. package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +0 -224
  588. package/src/lib/Components/core/ContentBanner/ContentBanner.test.tsx +0 -132
  589. package/src/lib/Components/core/DescriptionItem/DescriptionItem.figma.tsx +0 -36
  590. package/src/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
  591. package/src/lib/Components/core/DescriptionItem/DescriptionItem.stories.tsx +0 -230
  592. package/src/lib/Components/core/DescriptionItem/DescriptionItem.test.tsx +0 -136
  593. package/src/lib/Components/core/Divider/Divider.figma.tsx +0 -11
  594. package/src/lib/Components/core/Divider/Divider.mdx +0 -149
  595. package/src/lib/Components/core/Divider/Divider.stories.tsx +0 -142
  596. package/src/lib/Components/core/Divider/Divider.test.tsx +0 -91
  597. package/src/lib/Components/core/DotCount/DotCount.figma.tsx +0 -32
  598. package/src/lib/Components/core/DotCount/DotCount.mdx +0 -86
  599. package/src/lib/Components/core/DotCount/DotCount.stories.tsx +0 -131
  600. package/src/lib/Components/core/DotCount/DotCount.test.tsx +0 -150
  601. package/src/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
  602. package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +0 -207
  603. package/src/lib/Components/core/DotIcon/DotIcon.test.tsx +0 -244
  604. package/src/lib/Components/core/DotIcon/getDotIconProps.test.ts +0 -19
  605. package/src/lib/Components/core/DotIndicator/DotIndicator.figma.tsx +0 -32
  606. package/src/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
  607. package/src/lib/Components/core/DotIndicator/DotIndicator.stories.tsx +0 -82
  608. package/src/lib/Components/core/DotIndicator/DotIndicator.test.tsx +0 -152
  609. package/src/lib/Components/core/DotIndicator/getDotIndicatorProps.test.ts +0 -31
  610. package/src/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
  611. package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +0 -247
  612. package/src/lib/Components/core/DotSymbol/DotSymbol.test.tsx +0 -119
  613. package/src/lib/Components/core/DotSymbol/getDotSymbolProps.test.ts +0 -25
  614. package/src/lib/Components/core/IconButton/IconButton.figma.tsx +0 -53
  615. package/src/lib/Components/core/IconButton/IconButton.mdx +0 -137
  616. package/src/lib/Components/core/IconButton/IconButton.stories.tsx +0 -157
  617. package/src/lib/Components/core/IconButton/IconButton.test.tsx +0 -140
  618. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.tsx +0 -52
  619. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
  620. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.tsx +0 -195
  621. package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.test.tsx +0 -184
  622. package/src/lib/Components/core/Link/Link.figma.tsx +0 -54
  623. package/src/lib/Components/core/Link/Link.mdx +0 -264
  624. package/src/lib/Components/core/Link/Link.stories.tsx +0 -322
  625. package/src/lib/Components/core/Link/Link.test.tsx +0 -224
  626. package/src/lib/Components/core/ListItem/ListItem.figma.tsx +0 -466
  627. package/src/lib/Components/core/ListItem/ListItem.mdx +0 -461
  628. package/src/lib/Components/core/ListItem/ListItem.stories.tsx +0 -610
  629. package/src/lib/Components/core/ListItem/ListItem.test.tsx +0 -230
  630. package/src/lib/Components/core/MediaBanner/MediaBanner.figma.tsx +0 -32
  631. package/src/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
  632. package/src/lib/Components/core/MediaBanner/MediaBanner.stories.tsx +0 -175
  633. package/src/lib/Components/core/MediaBanner/MediaBanner.test.tsx +0 -126
  634. package/src/lib/Components/core/MediaButton/MediaButton.figma.tsx +0 -60
  635. package/src/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
  636. package/src/lib/Components/core/MediaButton/MediaButton.stories.tsx +0 -145
  637. package/src/lib/Components/core/MediaButton/MediaButton.test.tsx +0 -198
  638. package/src/lib/Components/core/MediaCard/MediaCard.figma.tsx +0 -27
  639. package/src/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
  640. package/src/lib/Components/core/MediaCard/MediaCard.stories.tsx +0 -161
  641. package/src/lib/Components/core/MediaCard/MediaCard.test.tsx +0 -125
  642. package/src/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
  643. package/src/lib/Components/core/MediaImage/MediaImage.stories.tsx +0 -110
  644. package/src/lib/Components/core/MediaImage/MediaImage.test.tsx +0 -291
  645. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.tsx +0 -119
  646. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -96
  647. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +0 -154
  648. package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.test.tsx +0 -213
  649. package/src/lib/Components/core/MediaTag/MediaTag.figma.tsx +0 -116
  650. package/src/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
  651. package/src/lib/Components/core/MediaTag/MediaTag.stories.tsx +0 -129
  652. package/src/lib/Components/core/MediaTag/MediaTag.test.tsx +0 -27
  653. package/src/lib/Components/core/MenuList/MenuList.figma.tsx +0 -23
  654. package/src/lib/Components/core/MenuList/MenuList.mdx +0 -79
  655. package/src/lib/Components/core/MenuList/MenuList.stories.tsx +0 -154
  656. package/src/lib/Components/core/MenuList/MenuList.test.tsx +0 -205
  657. package/src/lib/Components/core/NavBar/NavBar.figma.tsx +0 -87
  658. package/src/lib/Components/core/NavBar/NavBar.mdx +0 -257
  659. package/src/lib/Components/core/NavBar/NavBar.stories.tsx +0 -162
  660. package/src/lib/Components/core/NavBar/NavBar.test.tsx +0 -420
  661. package/src/lib/Components/core/PageIndicator/PageIndicator.figma.tsx +0 -11
  662. package/src/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
  663. package/src/lib/Components/core/PageIndicator/PageIndicator.stories.tsx +0 -82
  664. package/src/lib/Components/core/PageIndicator/PageIndicator.test.tsx +0 -269
  665. package/src/lib/Components/core/Pagination/Pagination.figma.tsx +0 -25
  666. package/src/lib/Components/core/Pagination/Pagination.mdx +0 -108
  667. package/src/lib/Components/core/Pagination/Pagination.stories.tsx +0 -90
  668. package/src/lib/Components/core/Pagination/Pagination.test.tsx +0 -346
  669. package/src/lib/Components/core/SearchInput/SearchInput.figma.tsx +0 -34
  670. package/src/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
  671. package/src/lib/Components/core/SearchInput/SearchInput.stories.tsx +0 -144
  672. package/src/lib/Components/core/SearchInput/SearchInput.test.tsx +0 -40
  673. package/src/lib/Components/core/SectionHeader/SectionHeader.figma.tsx +0 -24
  674. package/src/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
  675. package/src/lib/Components/core/SectionHeader/SectionHeader.stories.tsx +0 -95
  676. package/src/lib/Components/core/SectionHeader/SectionHeader.test.tsx +0 -103
  677. package/src/lib/Components/core/SegmentedControl/SegmentedControl.figma.tsx +0 -34
  678. package/src/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
  679. package/src/lib/Components/core/SegmentedControl/SegmentedControl.stories.tsx +0 -208
  680. package/src/lib/Components/core/SegmentedControl/SegmentedControl.test.tsx +0 -206
  681. package/src/lib/Components/core/SelectList/SelectList.figma.tsx +0 -37
  682. package/src/lib/Components/core/SelectList/SelectList.mdx +0 -280
  683. package/src/lib/Components/core/SelectList/SelectList.stories.tsx +0 -1125
  684. package/src/lib/Components/core/SelectList/SelectList.test.tsx +0 -595
  685. package/src/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.ts +0 -195
  686. package/src/lib/Components/core/Skeleton/Skeleton.figma.tsx +0 -17
  687. package/src/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
  688. package/src/lib/Components/core/Skeleton/Skeleton.stories.tsx +0 -91
  689. package/src/lib/Components/core/Skeleton/Skeleton.test.tsx +0 -53
  690. package/src/lib/Components/core/Spinner/Spinner.figma.tsx +0 -12
  691. package/src/lib/Components/core/Spinner/Spinner.mdx +0 -119
  692. package/src/lib/Components/core/Spinner/Spinner.stories.tsx +0 -128
  693. package/src/lib/Components/core/Spot/Spot.figma.tsx +0 -71
  694. package/src/lib/Components/core/Spot/Spot.mdx +0 -113
  695. package/src/lib/Components/core/Spot/Spot.stories.tsx +0 -225
  696. package/src/lib/Components/core/Spot/Spot.test.tsx +0 -71
  697. package/src/lib/Components/core/Spot/SpotNumber.test.tsx +0 -93
  698. package/src/lib/Components/core/Stepper/Stepper.figma.tsx +0 -11
  699. package/src/lib/Components/core/Stepper/Stepper.mdx +0 -167
  700. package/src/lib/Components/core/Stepper/Stepper.stories.tsx +0 -116
  701. package/src/lib/Components/core/Stepper/Stepper.test.tsx +0 -159
  702. package/src/lib/Components/core/Subheader/Subheader.figma.tsx +0 -72
  703. package/src/lib/Components/core/Subheader/Subheader.mdx +0 -366
  704. package/src/lib/Components/core/Subheader/Subheader.stories.tsx +0 -120
  705. package/src/lib/Components/core/Subheader/Subheader.test.tsx +0 -172
  706. package/src/lib/Components/core/Switch/Switch.figma.tsx +0 -66
  707. package/src/lib/Components/core/Switch/Switch.mdx +0 -149
  708. package/src/lib/Components/core/Switch/Switch.stories.tsx +0 -120
  709. package/src/lib/Components/core/Switch/Switch.test.tsx +0 -96
  710. package/src/lib/Components/core/TabBar/TabBar.figma.tsx +0 -70
  711. package/src/lib/Components/core/TabBar/TabBar.mdx +0 -209
  712. package/src/lib/Components/core/TabBar/TabBar.stories.tsx +0 -164
  713. package/src/lib/Components/core/TabBar/TabBar.test.tsx +0 -79
  714. package/src/lib/Components/core/Tag/Tag.figma.tsx +0 -52
  715. package/src/lib/Components/core/Tag/Tag.mdx +0 -98
  716. package/src/lib/Components/core/Tag/Tag.stories.tsx +0 -122
  717. package/src/lib/Components/core/Tag/Tag.test.tsx +0 -51
  718. package/src/lib/Components/core/TextInput/TextInput.figma.tsx +0 -49
  719. package/src/lib/Components/core/TextInput/TextInput.mdx +0 -305
  720. package/src/lib/Components/core/TextInput/TextInput.stories.tsx +0 -282
  721. package/src/lib/Components/core/TextInput/TextInput.test.tsx +0 -348
  722. package/src/lib/Components/core/ThemeProvider/ThemeProvider.test.tsx +0 -39
  723. package/src/lib/Components/core/Tile/Tile.figma.tsx +0 -113
  724. package/src/lib/Components/core/Tile/Tile.mdx +0 -252
  725. package/src/lib/Components/core/Tile/Tile.stories.tsx +0 -372
  726. package/src/lib/Components/core/Tile/Tile.test.tsx +0 -227
  727. package/src/lib/Components/core/TileButton/TileButton.figma.tsx +0 -40
  728. package/src/lib/Components/core/TileButton/TileButton.mdx +0 -184
  729. package/src/lib/Components/core/TileButton/TileButton.stories.tsx +0 -201
  730. package/src/lib/Components/core/TileButton/TileButton.test.tsx +0 -137
  731. package/src/lib/Components/core/Timeline/Timeline.figma.tsx +0 -79
  732. package/src/lib/Components/core/Timeline/Timeline.mdx +0 -49
  733. package/src/lib/Components/core/Timeline/Timeline.stories.tsx +0 -269
  734. package/src/lib/Components/core/Timeline/Timeline.test.tsx +0 -279
  735. package/src/lib/Components/core/Toast/Toast.figma.tsx +0 -36
  736. package/src/lib/Components/core/Toast/Toast.mdx +0 -203
  737. package/src/lib/Components/core/Toast/Toast.stories.tsx +0 -249
  738. package/src/lib/Components/core/Toast/Toast.test.tsx +0 -181
  739. package/src/lib/Components/core/Toast/Toaster.test.tsx +0 -687
  740. package/src/lib/Components/core/Tooltip/Tooltip.figma.tsx +0 -30
  741. package/src/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
  742. package/src/lib/Components/core/Tooltip/Tooltip.stories.tsx +0 -183
  743. package/src/lib/Components/core/Tooltip/Tooltip.test.tsx +0 -81
  744. package/src/lib/Components/core/Trend/Trend.figma.tsx +0 -28
  745. package/src/lib/Components/core/Trend/Trend.mdx +0 -104
  746. package/src/lib/Components/core/Trend/Trend.stories.tsx +0 -74
  747. package/src/lib/Components/core/Trend/Trend.test.tsx +0 -124
  748. package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +0 -149
  749. package/src/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.ts +0 -110
  750. package/src/lib/Components/internal/BaseTag/BaseTag.test.tsx +0 -137
  751. package/src/lib/Components/internal/CryptoIcon/CryptoIcon.figma.tsx +0 -20
  752. package/src/lib/Components/primitives/Box/Box.mdx +0 -50
  753. package/src/lib/Components/primitives/Box/Box.stories.tsx +0 -31
  754. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
  755. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +0 -188
  756. package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.tsx +0 -70
  757. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
  758. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.tsx +0 -152
  759. package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.tsx +0 -70
  760. package/src/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.ts +0 -144
  761. package/src/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
  762. package/src/lib/Components/primitives/Pressable/Pressable.stories.tsx +0 -34
  763. package/src/lib/Components/primitives/Pressable/Pressable.test.tsx +0 -222
  764. package/src/lib/Components/primitives/Text/Text.mdx +0 -70
  765. package/src/lib/Components/primitives/Text/Text.stories.tsx +0 -29
  766. package/src/lib/Components/symbols/Icon/Icon.figma.tsx +0 -3085
  767. package/src/lib/Components/symbols/Icon/Icon.mdx +0 -149
  768. package/src/lib/Components/symbols/Icon/Icon.stories.tsx +0 -305
  769. package/src/lib/Components/symbols/Icon/Icon.test.tsx +0 -92
  770. package/src/lib/Components/visualization/Axis/XAxis/XAxis.test.tsx +0 -101
  771. package/src/lib/Components/visualization/Axis/YAxis/YAxis.test.tsx +0 -101
  772. package/src/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.tsx +0 -172
  773. package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.ts +0 -273
  774. package/src/lib/Components/visualization/CartesianChart/utils.test.ts +0 -88
  775. package/src/lib/Components/visualization/DonutChart/DonutChart.performance.test.tsx +0 -218
  776. package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +0 -885
  777. package/src/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.tsx +0 -68
  778. package/src/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.ts +0 -284
  779. package/src/lib/Components/visualization/DonutChart/utils.test.ts +0 -487
  780. package/src/lib/Components/visualization/Legend/Legend.test.tsx +0 -97
  781. package/src/lib/Components/visualization/Line/utils.test.ts +0 -161
  782. package/src/lib/Components/visualization/LineChart/LineChart.performance.test.tsx +0 -101
  783. package/src/lib/Components/visualization/LineChart/LineChart.stories.tsx +0 -346
  784. package/src/lib/Components/visualization/LineChart/LineChart.test.tsx +0 -393
  785. package/src/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.tsx +0 -39
  786. package/src/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.ts +0 -23
  787. package/src/lib/Components/visualization/LineChart/utils.test.ts +0 -224
  788. package/src/lib/Components/visualization/Point/Point.stories.tsx +0 -165
  789. package/src/lib/Components/visualization/Point/Point.test.tsx +0 -243
  790. package/src/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.tsx +0 -174
  791. package/src/lib/Components/visualization/Point/usePointGeometry.test.ts +0 -95
  792. package/src/lib/Components/visualization/Point/utils.test.ts +0 -169
  793. package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.tsx +0 -109
  794. package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.test.tsx +0 -269
  795. package/src/lib/Components/visualization/ReferenceLine/utils.test.ts +0 -332
  796. package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.tsx +0 -259
  797. package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.ts +0 -266
  798. package/src/lib/Components/visualization/Scrubber/Scrubber.stories.tsx +0 -181
  799. package/src/lib/Components/visualization/Scrubber/Scrubber.test.tsx +0 -112
  800. package/src/lib/Components/visualization/Scrubber/ScrubberProvider.test.tsx +0 -305
  801. package/src/lib/Components/visualization/Scrubber/utils.test.ts +0 -407
  802. package/src/lib/Components/visualization/utils/domain/domain.test.ts +0 -156
  803. package/src/lib/Components/visualization/utils/scales/scales.test.ts +0 -228
  804. package/src/lib/Components/visualization/utils/ticks/ticks.test.ts +0 -173
  805. package/src/styles/hooks/useStyleSheet.test.tsx +0 -520
  806. package/src/styles/lx/createStyledPressable.test.tsx +0 -253
  807. package/src/styles/lx/createStyledText.test.tsx +0 -237
  808. package/src/styles/lx/createStyledView.test.tsx +0 -142
  809. package/src/styles/lx/resolveStyle.test.tsx +0 -687
  810. package/src/styles/provider/LumenStyleSheetProvider.test.tsx +0 -123
  811. package/src/styles/theme/createStylesheetTheme.test.ts +0 -30
  812. package/src/styles/theme/resolvers/resolveFontWeights.test.ts +0 -74
  813. package/src/styles/theme/resolvers/resolveNegativeSpacing.test.ts +0 -29
  814. package/src/translations/translations.test.ts +0 -56
@@ -1,333 +0,0 @@
1
- "use strict";
2
-
3
- import { describe, expect, it } from '@jest/globals';
4
- import { renderHook } from '@testing-library/react-native';
5
- import { isCategoricalScale, isNumericScale } from "../../utils/scales/scales.js";
6
- import { buildScale, computeAxisRange, computeDrawingArea, useBuildChartContext } from "./useBuildChartContext.js";
7
- const makeSeries = data => ({
8
- id: 'test',
9
- stroke: '#000',
10
- data
11
- });
12
- const DEFAULT_INSET = {
13
- top: 0,
14
- right: 0,
15
- bottom: 0,
16
- left: 0
17
- };
18
- const ZERO_PADDING = {
19
- top: 0,
20
- right: 0,
21
- bottom: 0,
22
- left: 0
23
- };
24
- const hookParams = (overrides = {}) => ({
25
- series: [makeSeries([10, 20, 30])],
26
- width: 400,
27
- height: 200,
28
- inset: DEFAULT_INSET,
29
- axisPadding: ZERO_PADDING,
30
- ...overrides
31
- });
32
- describe('computeAxisRange', () => {
33
- it('computes x range from drawing area', () => {
34
- const {
35
- xRange
36
- } = computeAxisRange({
37
- x: 10,
38
- y: 0,
39
- width: 100,
40
- height: 50
41
- });
42
- expect(xRange).toEqual({
43
- min: 10,
44
- max: 110
45
- });
46
- });
47
- it('inverts y range for SVG coordinates', () => {
48
- const {
49
- yRange
50
- } = computeAxisRange({
51
- x: 0,
52
- y: 10,
53
- width: 100,
54
- height: 200
55
- });
56
- expect(yRange).toEqual({
57
- min: 210,
58
- max: 10
59
- });
60
- });
61
- });
62
- describe('buildScale', () => {
63
- const range = {
64
- min: 0,
65
- max: 400
66
- };
67
- it('builds a numeric linear scale by default', () => {
68
- const scale = buildScale({
69
- min: 0,
70
- max: 100
71
- }, range);
72
- expect(isNumericScale(scale)).toBe(true);
73
- });
74
- it('builds a numeric log scale', () => {
75
- const scale = buildScale({
76
- min: 1,
77
- max: 100
78
- }, range, 'log');
79
- expect(isNumericScale(scale)).toBe(true);
80
- });
81
- it('builds a categorical band scale', () => {
82
- const scale = buildScale({
83
- min: 0,
84
- max: 2
85
- }, range, 'band');
86
- expect(isCategoricalScale(scale)).toBe(true);
87
- });
88
- });
89
- describe('computeDrawingArea', () => {
90
- it('subtracts inset from available space', () => {
91
- const inset = {
92
- top: 10,
93
- right: 20,
94
- bottom: 30,
95
- left: 40
96
- };
97
- const area = computeDrawingArea(400, 200, inset, ZERO_PADDING);
98
- expect(area).toEqual({
99
- x: 40,
100
- y: 10,
101
- width: 340,
102
- height: 160
103
- });
104
- });
105
- it('combines inset and axis padding', () => {
106
- const inset = {
107
- top: 5,
108
- right: 5,
109
- bottom: 5,
110
- left: 5
111
- };
112
- const axisPad = {
113
- top: 0,
114
- right: 0,
115
- bottom: 28,
116
- left: 40
117
- };
118
- const area = computeDrawingArea(400, 200, inset, axisPad);
119
- expect(area).toEqual({
120
- x: 45,
121
- y: 5,
122
- width: 350,
123
- height: 162
124
- });
125
- });
126
- it('clamps negative dimensions to zero', () => {
127
- const huge = {
128
- top: 100,
129
- right: 100,
130
- bottom: 100,
131
- left: 100
132
- };
133
- const area = computeDrawingArea(50, 50, huge, ZERO_PADDING);
134
- expect(area.width).toBe(0);
135
- expect(area.height).toBe(0);
136
- });
137
- });
138
-
139
- // ---------------------------------------------------------------------------
140
- // Hook integration tests
141
- // ---------------------------------------------------------------------------
142
-
143
- describe('useBuildChartContext', () => {
144
- it('returns undefined scales when drawing area is zero', () => {
145
- const {
146
- result
147
- } = renderHook(() => useBuildChartContext(hookParams({
148
- width: 0,
149
- height: 0
150
- })));
151
- expect(result.current.getXScale()).toBeUndefined();
152
- expect(result.current.getYScale()).toBeUndefined();
153
- });
154
- it('creates linear scales by default', () => {
155
- const {
156
- result
157
- } = renderHook(() => useBuildChartContext(hookParams()));
158
- const xScale = result.current.getXScale();
159
- const yScale = result.current.getYScale();
160
- expect(xScale).toBeDefined();
161
- expect(yScale).toBeDefined();
162
- expect(isNumericScale(xScale)).toBe(true);
163
- expect(isNumericScale(yScale)).toBe(true);
164
- });
165
- it('creates a band scale when scaleType is band', () => {
166
- const {
167
- result
168
- } = renderHook(() => useBuildChartContext(hookParams({
169
- xAxis: {
170
- scaleType: 'band'
171
- }
172
- })));
173
- expect(isCategoricalScale(result.current.getXScale())).toBe(true);
174
- });
175
- it('computes data length from series', () => {
176
- const {
177
- result
178
- } = renderHook(() => useBuildChartContext(hookParams({
179
- series: [makeSeries([1, 2, 3, 4, 5])]
180
- })));
181
- expect(result.current.dataLength).toBe(5);
182
- });
183
- it('computes data length from axis data when provided', () => {
184
- const {
185
- result
186
- } = renderHook(() => useBuildChartContext(hookParams({
187
- xAxis: {
188
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri']
189
- }
190
- })));
191
- expect(result.current.dataLength).toBe(5);
192
- });
193
- it('applies domain overrides', () => {
194
- const {
195
- result
196
- } = renderHook(() => useBuildChartContext(hookParams({
197
- yAxis: {
198
- domain: {
199
- min: 0,
200
- max: 100
201
- }
202
- }
203
- })));
204
- const yScale = result.current.getYScale();
205
- expect(isNumericScale(yScale)).toBe(true);
206
- expect(yScale.domain()).toEqual([0, 100]);
207
- });
208
- it('applies domain function overrides', () => {
209
- const {
210
- result
211
- } = renderHook(() => useBuildChartContext(hookParams({
212
- yAxis: {
213
- domain: bounds => ({
214
- min: bounds.min - 5,
215
- max: bounds.max + 5
216
- })
217
- }
218
- })));
219
- const domain = result.current.getYScale().domain();
220
- expect(domain[0]).toBe(0);
221
- expect(domain[1]).toBe(40);
222
- });
223
- it('inverts Y range for SVG coordinates', () => {
224
- const {
225
- result
226
- } = renderHook(() => useBuildChartContext(hookParams({
227
- inset: {
228
- top: 10,
229
- right: 0,
230
- bottom: 0,
231
- left: 0
232
- }
233
- })));
234
- const yScale = result.current.getYScale();
235
- const range = yScale.range();
236
- expect(range[0]).toBeGreaterThan(range[1]);
237
- });
238
- it('exposes series and axis configs', () => {
239
- const series = [makeSeries([1, 2])];
240
- const xAxis = {
241
- scaleType: 'linear'
242
- };
243
- const {
244
- result
245
- } = renderHook(() => useBuildChartContext(hookParams({
246
- series,
247
- xAxis
248
- })));
249
- expect(result.current.series).toBe(series);
250
- expect(result.current.getXAxisConfig()).toBe(xAxis);
251
- });
252
- it('builds a seriesMap for lookups', () => {
253
- const series = [makeSeries([1, 2])];
254
- const {
255
- result
256
- } = renderHook(() => useBuildChartContext(hookParams({
257
- series
258
- })));
259
- expect(result.current.seriesMap.get('test')).toBe(series[0]);
260
- expect(result.current.seriesMap.size).toBe(1);
261
- });
262
- it('applies static axisPadding to drawingArea', () => {
263
- const axisPadding = {
264
- top: 0,
265
- right: 0,
266
- bottom: 28,
267
- left: 40
268
- };
269
- const {
270
- result
271
- } = renderHook(() => useBuildChartContext(hookParams({
272
- axisPadding
273
- })));
274
- expect(result.current.drawingArea.x).toBe(40);
275
- expect(result.current.drawingArea.width).toBe(400 - 40);
276
- expect(result.current.drawingArea.height).toBe(200 - 28);
277
- });
278
- describe('nice domain prop', () => {
279
- // Series of length 3770 → auto X domain is [0, 3769]; `.nice()` rounds it
280
- // outward to [0, 4000] (the trailing "dead zone" keeps overlays that sit
281
- // outside the data range — e.g. reference lines — from being clipped).
282
- const longSeries = makeSeries(Array.from({
283
- length: 3770
284
- }, (_, i) => i));
285
- it('rounds the X domain by default (.nice())', () => {
286
- const {
287
- result
288
- } = renderHook(() => useBuildChartContext(hookParams({
289
- series: [longSeries]
290
- })));
291
- expect(result.current.getXScale().domain()).toEqual([0, 4000]);
292
- });
293
- it('rounds the Y domain by default (.nice())', () => {
294
- const {
295
- result
296
- } = renderHook(() => useBuildChartContext(hookParams({
297
- yAxis: {
298
- domain: bounds => ({
299
- min: bounds.min - 5,
300
- max: bounds.max + 5
301
- })
302
- }
303
- })));
304
- expect(result.current.getYScale().domain()).toEqual([0, 40]);
305
- });
306
- it('opts the X axis out of .nice() when nice is false', () => {
307
- const {
308
- result
309
- } = renderHook(() => useBuildChartContext(hookParams({
310
- series: [longSeries],
311
- xAxis: {
312
- nice: false
313
- }
314
- })));
315
- expect(result.current.getXScale().domain()).toEqual([0, 3769]);
316
- });
317
- it('opts the Y axis out of .nice() when nice is false', () => {
318
- const {
319
- result
320
- } = renderHook(() => useBuildChartContext(hookParams({
321
- yAxis: {
322
- nice: false,
323
- domain: bounds => ({
324
- min: bounds.min - 5,
325
- max: bounds.max + 5
326
- })
327
- }
328
- })));
329
- expect(result.current.getYScale().domain()).toEqual([5, 35]);
330
- });
331
- });
332
- });
333
- //# sourceMappingURL=useBuildChartContext.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["describe","expect","it","renderHook","isCategoricalScale","isNumericScale","buildScale","computeAxisRange","computeDrawingArea","useBuildChartContext","makeSeries","data","id","stroke","DEFAULT_INSET","top","right","bottom","left","ZERO_PADDING","hookParams","overrides","series","width","height","inset","axisPadding","xRange","x","y","toEqual","min","max","yRange","range","scale","toBe","area","axisPad","huge","result","current","getXScale","toBeUndefined","getYScale","xScale","yScale","toBeDefined","xAxis","scaleType","dataLength","yAxis","domain","bounds","toBeGreaterThan","getXAxisConfig","seriesMap","get","size","drawingArea","longSeries","Array","from","length","_","i","nice"],"sourceRoot":"../../../../../../../src","sources":["lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,EAAE,QAAQ,eAAe;AACpD,SAASC,UAAU,QAAQ,+BAA+B;AAE1D,SAASC,kBAAkB,EAAEC,cAAc,QAAQ,8BAA2B;AAG9E,SACEC,UAAU,EACVC,gBAAgB,EAChBC,kBAAkB,EAClBC,oBAAoB,QACf,2BAAwB;AAE/B,MAAMC,UAAU,GAAIC,IAAuB,KAAc;EACvDC,EAAE,EAAE,MAAM;EACVC,MAAM,EAAE,MAAM;EACdF;AACF,CAAC,CAAC;AAEF,MAAMG,aAAyB,GAAG;EAAEC,GAAG,EAAE,CAAC;EAAEC,KAAK,EAAE,CAAC;EAAEC,MAAM,EAAE,CAAC;EAAEC,IAAI,EAAE;AAAE,CAAC;AAC1E,MAAMC,YAAwB,GAAG;EAAEJ,GAAG,EAAE,CAAC;EAAEC,KAAK,EAAE,CAAC;EAAEC,MAAM,EAAE,CAAC;EAAEC,IAAI,EAAE;AAAE,CAAC;AAEzE,MAAME,UAAU,GAAGA,CACjBC,SAA8D,GAAG,CAAC,CAAC,MAC/D;EACJC,MAAM,EAAE,CAACZ,UAAU,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;EAClCa,KAAK,EAAE,GAAG;EACVC,MAAM,EAAE,GAAG;EACXC,KAAK,EAAEX,aAAa;EACpBY,WAAW,EAAEP,YAAY;EACzB,GAAGE;AACL,CAAC,CAAC;AAEFrB,QAAQ,CAAC,kBAAkB,EAAE,MAAM;EACjCE,EAAE,CAAC,oCAAoC,EAAE,MAAM;IAC7C,MAAM;MAAEyB;IAAO,CAAC,GAAGpB,gBAAgB,CAAC;MAClCqB,CAAC,EAAE,EAAE;MACLC,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UAAEkB,IAAI,EAAE;QAAM;MAAE,CAAC,CAC7D,CACF,CAAC;MACDjE,MAAM,CAACuC,MAAM,CAACC,OAAO,CAACC,SAAS,CAAC,CAAC,CAAEU,MAAM,CAAC,CAAC,CAAC,CAACtB,OAAO,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC,CAAC;IAEF5B,EAAE,CAAC,mDAAmD,EAAE,MAAM;MAC5D,MAAM;QAAEsC;MAAO,CAAC,GAAGrC,UAAU,CAAC,MAC5BM,oBAAoB,CAClBW,UAAU,CAAC;QACT+B,KAAK,EAAE;UACLe,IAAI,EAAE,KAAK;UACXd,MAAM,EAAGC,MAAoC,KAAM;YACjDtB,GAAG,EAAEsB,MAAM,CAACtB,GAAG,GAAG,CAAC;YACnBC,GAAG,EAAEqB,MAAM,CAACrB,GAAG,GAAG;UACpB,CAAC;QACH;MACF,CAAC,CACH,CACF,CAAC;MACD/B,MAAM,CAACuC,MAAM,CAACC,OAAO,CAACG,SAAS,CAAC,CAAC,CAAEQ,MAAM,CAAC,CAAC,CAAC,CAACtB,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,86 +0,0 @@
1
- "use strict";
2
-
3
- import { describe, it, expect } from '@jest/globals';
4
- import { OVERFLOW_BUFFER, ZERO_PADDING, resolveAxisPadding, resolveInset } from "./utils.js";
5
- describe('resolveInset', () => {
6
- it('should return DEFAULT_INSET when undefined', () => {
7
- expect(resolveInset(undefined)).toEqual(OVERFLOW_BUFFER);
8
- });
9
- it('should add a uniform number to each default side', () => {
10
- expect(resolveInset(10)).toEqual({
11
- top: 10 + OVERFLOW_BUFFER.top,
12
- right: 10 + OVERFLOW_BUFFER.right,
13
- bottom: 10 + OVERFLOW_BUFFER.bottom,
14
- left: 10 + OVERFLOW_BUFFER.left
15
- });
16
- });
17
- it('should handle zero as a uniform number', () => {
18
- expect(resolveInset(0)).toEqual(OVERFLOW_BUFFER);
19
- });
20
- it('should handle negative uniform values', () => {
21
- expect(resolveInset(-5)).toEqual({
22
- top: -5 + OVERFLOW_BUFFER.top,
23
- right: -5 + OVERFLOW_BUFFER.right,
24
- bottom: -5 + OVERFLOW_BUFFER.bottom,
25
- left: -5 + OVERFLOW_BUFFER.left
26
- });
27
- });
28
- it('should merge a full partial object with defaults', () => {
29
- expect(resolveInset({
30
- top: 10,
31
- right: 15,
32
- bottom: 20,
33
- left: 25
34
- })).toEqual({
35
- top: 10 + OVERFLOW_BUFFER.top,
36
- right: 15 + OVERFLOW_BUFFER.right,
37
- bottom: 20 + OVERFLOW_BUFFER.bottom,
38
- left: 25 + OVERFLOW_BUFFER.left
39
- });
40
- });
41
- it('should treat missing sides as 0 when given a partial object', () => {
42
- expect(resolveInset({
43
- top: 10
44
- })).toEqual({
45
- top: 10 + OVERFLOW_BUFFER.top,
46
- right: OVERFLOW_BUFFER.right,
47
- bottom: OVERFLOW_BUFFER.bottom,
48
- left: OVERFLOW_BUFFER.left
49
- });
50
- });
51
- it('should handle an empty object', () => {
52
- expect(resolveInset({})).toEqual(OVERFLOW_BUFFER);
53
- });
54
- });
55
- describe('resolveAxisPadding', () => {
56
- it('should return ZERO_PADDING when undefined', () => {
57
- expect(resolveAxisPadding(undefined)).toEqual(ZERO_PADDING);
58
- });
59
- it('should resolve a full padding object', () => {
60
- expect(resolveAxisPadding({
61
- top: 5,
62
- right: 10,
63
- bottom: 15,
64
- left: 20
65
- })).toEqual({
66
- top: 5,
67
- right: 10,
68
- bottom: 15,
69
- left: 20
70
- });
71
- });
72
- it('should treat missing sides as 0', () => {
73
- expect(resolveAxisPadding({
74
- bottom: 30
75
- })).toEqual({
76
- top: 0,
77
- right: 0,
78
- bottom: 30,
79
- left: 0
80
- });
81
- });
82
- it('should handle an empty object', () => {
83
- expect(resolveAxisPadding({})).toEqual(ZERO_PADDING);
84
- });
85
- });
86
- //# sourceMappingURL=utils.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["describe","it","expect","OVERFLOW_BUFFER","ZERO_PADDING","resolveAxisPadding","resolveInset","undefined","toEqual","top","right","bottom","left"],"sourceRoot":"../../../../../../src","sources":["lib/Components/visualization/CartesianChart/utils.test.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,EAAE,EAAEC,MAAM,QAAQ,eAAe;AAEpD,SACEC,eAAe,EACfC,YAAY,EACZC,kBAAkB,EAClBC,YAAY,QACP,YAAS;AAEhBN,QAAQ,CAAC,cAAc,EAAE,MAAM;EAC7BC,EAAE,CAAC,4CAA4C,EAAE,MAAM;IACrDC,MAAM,CAACI,YAAY,CAACC,SAAS,CAAC,CAAC,CAACC,OAAO,CAACL,eAAe,CAAC;EAC1D,CAAC,CAAC;EAEFF,EAAE,CAAC,kDAAkD,EAAE,MAAM;IAC3DC,MAAM,CAACI,YAAY,CAAC,EAAE,CAAC,CAAC,CAACE,OAAO,CAAC;MAC/BC,GAAG,EAAE,EAAE,GAAGN,eAAe,CAACM,GAAG;MAC7BC,KAAK,EAAE,EAAE,GAAGP,eAAe,CAACO,KAAK;MACjCC,MAAM,EAAE,EAAE,GAAGR,eAAe,CAACQ,MAAM;MACnCC,IAAI,EAAE,EAAE,GAAGT,eAAe,CAACS;IAC7B,CAAC,CAAC;EACJ,CAAC,CAAC;EAEFX,EAAE,CAAC,wCAAwC,EAAE,MAAM;IACjDC,MAAM,CAACI,YAAY,CAAC,CAAC,CAAC,CAAC,CAACE,OAAO,CAACL,eAAe,CAAC;EAClD,CAAC,CAAC;EAEFF,EAAE,CAAC,uCAAuC,EAAE,MAAM;IAChDC,MAAM,CAACI,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC,CAACE,OAAO,CAAC;MAC/BC,GAAG,EAAE,CAAC,CAAC,GAAGN,eAAe,CAACM,GAAG;MAC7BC,KAAK,EAAE,CAAC,CAAC,GAAGP,eAAe,CAACO,KAAK;MACjCC,MAAM,EAAE,C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D,CAAC,CAAC;EAEFH,EAAE,CAAC,sCAAsC,EAAE,MAAM;IAC/CC,MAAM,CACJG,kBAAkB,CAAC;MAAEI,GAAG,EAAE,CAAC;MAAEC,KAAK,EAAE,EAAE;MAAEC,MAAM,EAAE,EAAE;MAAEC,IAAI,EAAE;IAAG,CAAC,CAChE,CAAC,CAACJ,OAAO,CAAC;MACRC,GAAG,EAAE,CAAC;MACNC,KAAK,EAAE,EAAE;MACTC,MAAM,EAAE,EAAE;MACVC,IAAI,EAAE;IACR,CAAC,CAAC;EACJ,CAAC,CAAC;EAEFX,EAAE,CAAC,iCAAiC,EAAE,MAAM;IAC1CC,MAAM,CAACG,kBAAkB,CAAC;MAAEM,MAAM,EAAE;IAAG,CAAC,CAAC,CAAC,CAACH,OAAO,CAAC;MACjDC,GAAG,EAAE,CAAC;MACNC,KAAK,EAAE,CAAC;MACRC,MAAM,EAAE,EAAE;MACVC,IAAI,EAAE;IACR,CAAC,CAAC;EACJ,CAAC,CAAC;EAEFX,EAAE,CAAC,+BAA+B,EAAE,MAAM;IACxCC,MAAM,CAACG,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,CAACG,OAAO,CAACJ,YAAY,CAAC;EACtD,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -1,191 +0,0 @@
1
- "use strict";
2
-
3
- import { beforeEach, describe, expect, it } from '@jest/globals';
4
- import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
5
- import { fireEvent, render } from '@testing-library/react-native';
6
- import React, { Profiler } from 'react';
7
- import { Text } from 'react-native';
8
- import { ThemeProvider } from "../../core/ThemeProvider/index.js";
9
- import { chartConfig, DONUT_GEOMETRY } from "../config.js";
10
- import { DonutChart } from "./DonutChart.js";
11
- import { buildRingSegments } from "./utils.js";
12
-
13
- // Deterministic render budgets: assert on counts, never time, so CI never flakes.
14
- // A failing budget should be an intentional, reviewed change.
15
- //
16
- // RingSegment is internal (unlike LineChart's public Point child), so commit
17
- // budgets wrap DonutChart itself and the public renderCenter output. Reanimated
18
- // opacity/translate frames are UI-thread work and invisible to Profiler.
19
- import { jsx as _jsx } from "react/jsx-runtime";
20
- const SEGMENT_COUNT = 8;
21
- const PLACEHOLDER_COUNT = chartConfig.donut.placeholder.segmentValues.length;
22
- const buildSeries = length => Array.from({
23
- length
24
- }, (_, i) => ({
25
- id: `s${i}`,
26
- label: `S${i}`,
27
- value: i % 5 + 1
28
- }));
29
- let chartMountCommits = 0;
30
- let chartUpdateCommits = 0;
31
- const onChartRender = (_id, phase) => {
32
- if (phase === 'mount') {
33
- chartMountCommits++;
34
- } else {
35
- chartUpdateCommits++;
36
- }
37
- };
38
- let centerMountCommits = 0;
39
- let centerUpdateCommits = 0;
40
- const onCenterRender = (_id, phase) => {
41
- if (phase === 'mount') {
42
- centerMountCommits++;
43
- } else {
44
- centerUpdateCommits++;
45
- }
46
- };
47
- const RestingCenter = () => /*#__PURE__*/_jsx(Profiler, {
48
- id: "donut-center-resting",
49
- onRender: onCenterRender,
50
- children: /*#__PURE__*/_jsx(Text, {
51
- children: "resting"
52
- })
53
- });
54
- const Wrapper = ({
55
- children
56
- }) => /*#__PURE__*/_jsx(ThemeProvider, {
57
- themes: ledgerLiveThemes,
58
- colorScheme: "light",
59
- children: children
60
- });
61
- const segmentPaths = getAllByTestId => getAllByTestId('donut-segment').map(el => el.props.d);
62
- const toOverlayPoint = (local, geometry) => {
63
- const {
64
- box,
65
- activeOffset
66
- } = geometry;
67
- const scale = (box + 2 * activeOffset) / box;
68
- const center = box / 2;
69
- return {
70
- x: (local.x + activeOffset + center) / scale,
71
- y: (local.y + activeOffset + center) / scale
72
- };
73
- };
74
- const pointForSegment = (series, id, geometry = DONUT_GEOMETRY.md) => {
75
- const segment = buildRingSegments(series, geometry).find(s => s.id === id);
76
- if (!segment) throw new Error(`No segment "${id}"`);
77
- const midRadius = (geometry.innerRadius + geometry.outerRadius) / 2;
78
- return toOverlayPoint({
79
- x: Math.sin(segment.midAngle) * midRadius,
80
- y: -Math.cos(segment.midAngle) * midRadius
81
- }, geometry);
82
- };
83
- const tapSegment = (getByTestId, series, id, geometry = DONUT_GEOMETRY.md) => {
84
- fireEvent(getByTestId('donut-gesture-overlay'), 'end', pointForSegment(series, id, geometry), true);
85
- };
86
- beforeEach(() => {
87
- chartMountCommits = 0;
88
- chartUpdateCommits = 0;
89
- centerMountCommits = 0;
90
- centerUpdateCommits = 0;
91
- });
92
- describe('DonutChart performance budgets', () => {
93
- it('emits one ring node per series entry and no leftover placeholders', () => {
94
- const series = buildSeries(SEGMENT_COUNT);
95
- const {
96
- getAllByTestId,
97
- queryAllByTestId
98
- } = render(/*#__PURE__*/_jsx(Wrapper, {
99
- children: /*#__PURE__*/_jsx(DonutChart, {
100
- series: series
101
- })
102
- }));
103
- expect(getAllByTestId('donut-segment')).toHaveLength(SEGMENT_COUNT);
104
- expect(queryAllByTestId('donut-placeholder')).toHaveLength(0);
105
- });
106
- it('emits a bounded placeholder node count while loading', () => {
107
- const {
108
- getAllByTestId,
109
- queryAllByTestId
110
- } = render(/*#__PURE__*/_jsx(Wrapper, {
111
- children: /*#__PURE__*/_jsx(DonutChart, {
112
- series: buildSeries(SEGMENT_COUNT),
113
- loading: true
114
- })
115
- }));
116
- expect(getAllByTestId('donut-placeholder')).toHaveLength(PLACEHOLDER_COUNT);
117
- expect(queryAllByTestId('donut-segment')).toHaveLength(0);
118
- });
119
- it('renders the chart exactly once on mount', () => {
120
- render(/*#__PURE__*/_jsx(Wrapper, {
121
- children: /*#__PURE__*/_jsx(Profiler, {
122
- id: "donut-chart",
123
- onRender: onChartRender,
124
- children: /*#__PURE__*/_jsx(DonutChart, {
125
- series: buildSeries(SEGMENT_COUNT)
126
- })
127
- })
128
- }));
129
- expect(chartMountCommits).toBe(1);
130
- expect(chartUpdateCommits).toBe(0);
131
- });
132
- it('does not rebuild segment paths while tapping', () => {
133
- const series = buildSeries(SEGMENT_COUNT);
134
- const {
135
- getAllByTestId,
136
- getByTestId
137
- } = render(/*#__PURE__*/_jsx(Wrapper, {
138
- children: /*#__PURE__*/_jsx(DonutChart, {
139
- series: series
140
- })
141
- }));
142
- const pathsBefore = segmentPaths(getAllByTestId);
143
- tapSegment(getByTestId, series, 's1');
144
- tapSegment(getByTestId, series, 's3');
145
- expect(getAllByTestId('donut-segment')).toHaveLength(SEGMENT_COUNT);
146
- expect(segmentPaths(getAllByTestId)).toEqual(pathsBefore);
147
- });
148
- it('commits the chart once per tap (no update cascade)', () => {
149
- const series = buildSeries(SEGMENT_COUNT);
150
- const {
151
- getByTestId
152
- } = render(/*#__PURE__*/_jsx(Wrapper, {
153
- children: /*#__PURE__*/_jsx(Profiler, {
154
- id: "donut-chart",
155
- onRender: onChartRender,
156
- children: /*#__PURE__*/_jsx(DonutChart, {
157
- series: series
158
- })
159
- })
160
- }));
161
- chartUpdateCommits = 0;
162
- tapSegment(getByTestId, series, 's1');
163
- expect(chartUpdateCommits).toBe(1);
164
- tapSegment(getByTestId, series, 's3');
165
- expect(chartUpdateCommits).toBe(2);
166
- tapSegment(getByTestId, series, 's3');
167
- expect(chartUpdateCommits).toBe(3);
168
- });
169
- it('does not remount resting center content when a segment activates', () => {
170
- const series = buildSeries(SEGMENT_COUNT);
171
- const {
172
- getByTestId
173
- } = render(/*#__PURE__*/_jsx(Wrapper, {
174
- children: /*#__PURE__*/_jsx(DonutChart, {
175
- series: series,
176
- renderCenter: () => /*#__PURE__*/_jsx(RestingCenter, {}),
177
- renderCenterActive: ({
178
- activeSegment
179
- }) => /*#__PURE__*/_jsx(Text, {
180
- children: activeSegment.label
181
- })
182
- })
183
- }));
184
- expect(centerMountCommits).toBe(1);
185
- expect(centerUpdateCommits).toBe(0);
186
- tapSegment(getByTestId, series, 's1');
187
- expect(centerMountCommits).toBe(1);
188
- expect(centerUpdateCommits).toBeGreaterThan(0);
189
- });
190
- });
191
- //# sourceMappingURL=DonutChart.performance.test.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["beforeEach","describe","expect","it","ledgerLiveThemes","fireEvent","render","React","Profiler","Text","ThemeProvider","chartConfig","DONUT_GEOMETRY","DonutChart","buildRingSegments","jsx","_jsx","SEGMENT_COUNT","PLACEHOLDER_COUNT","donut","placeholder","segmentValues","length","buildSeries","Array","from","_","i","id","label","value","chartMountCommits","chartUpdateCommits","onChartRender","_id","phase","centerMountCommits","centerUpdateCommits","onCenterRender","RestingCenter","onRender","children","Wrapper","themes","colorScheme","segmentPaths","getAllByTestId","map","el","props","d","toOverlayPoint","local","geometry","box","activeOffset","scale","center","x","y","pointForSegment","series","md","segment","find","s","Error","midRadius","innerRadius","outerRadius","Math","sin","midAngle","cos","tapSegment","getByTestId","queryAllByTestId","toHaveLength","loading","toBe","pathsBefore","toEqual","renderCenter","renderCenterActive","activeSegment","toBeGreaterThan"],"sourceRoot":"../../../../../../src","sources":["lib/Components/visualization/DonutChart/DonutChart.performance.test.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,EAAE,QAAQ,eAAe;AAChE,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,SAAS,EAAEC,MAAM,QAAQ,+BAA+B;AACjE,OAAOC,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AAEvC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,aAAa,QAAQ,mCAA0B;AAExD,SAASC,WAAW,EAAEC,cAAc,QAA4B,cAAW;AAC3E,SAASC,UAAU,QAAQ,iBAAc;AAEzC,SAASC,iBAAiB,QAAQ,YAAS;;AAE3C;AACA;AACA;AACA;AACA;AACA;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAEA,MAAMC,aAAa,GAAG,CAAC;AACvB,MAAMC,iBAAiB,GAAGP,WAAW,CAACQ,KAAK,CAACC,WAAW,CAACC,aAAa,CAACC,MAAM;AAE5E,MAAMC,WAAW,GAAID,MAAc,IACjCE,KAAK,CAACC,IAAI,CAAC;EAAEH;AAAO,CAAC,EAAE,CAACI,CAAC,EAAEC,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