@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.
- package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js +2 -1
- package/dist/module/lib/Components/visualization/CartesianChart/CartesianChart.js.map +1 -1
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js +5 -3
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.js.map +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js +111 -29
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js.map +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js +30 -13
- package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js.map +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/utils.js +16 -0
- package/dist/module/lib/Components/visualization/Scrubber/utils.js.map +1 -1
- package/dist/module/lib/Components/visualization/config.js +4 -0
- package/dist/module/lib/Components/visualization/config.js.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts +2 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +4 -0
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts +7 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts +9 -6
- package/dist/typescript/src/lib/Components/visualization/Scrubber/useScrubberGeometry.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts +5 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/utils.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/config.d.ts +4 -0
- package/dist/typescript/src/lib/Components/visualization/config.d.ts.map +1 -1
- package/package.json +10 -2
- package/src/lib/Components/visualization/CartesianChart/CartesianChart.tsx +1 -0
- package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.ts +4 -1
- package/src/lib/Components/visualization/CartesianChart/types.ts +4 -0
- package/src/lib/Components/visualization/Scrubber/Scrubber.tsx +108 -31
- package/src/lib/Components/visualization/Scrubber/types.ts +7 -1
- package/src/lib/Components/visualization/Scrubber/useScrubberGeometry.ts +40 -15
- package/src/lib/Components/visualization/Scrubber/utils.ts +18 -0
- package/src/lib/Components/visualization/config.ts +4 -0
- package/dist/module/lib/Components/animations/Pulse/Pulse.mdx +0 -85
- package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js +0 -156
- package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js.map +0 -1
- package/dist/module/lib/Components/animations/Spin/Spin.mdx +0 -84
- package/dist/module/lib/Components/animations/Spin/Spin.stories.js +0 -133
- package/dist/module/lib/Components/animations/Spin/Spin.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js +0 -40
- package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
- package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js +0 -188
- package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js +0 -56
- package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js +0 -31
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js.map +0 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js +0 -188
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js +0 -409
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js +0 -70
- package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
- package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js +0 -254
- package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js +0 -152
- package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js +0 -78
- package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.figma.js +0 -32
- package/dist/module/lib/Components/core/Avatar/Avatar.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.mdx +0 -166
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js +0 -182
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.test.js +0 -330
- package/dist/module/lib/Components/core/Avatar/Avatar.test.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js +0 -88
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js.map +0 -1
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js +0 -52
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js +0 -100
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Banner/Banner.figma.js +0 -107
- package/dist/module/lib/Components/core/Banner/Banner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Banner/Banner.mdx +0 -352
- package/dist/module/lib/Components/core/Banner/Banner.stories.js +0 -434
- package/dist/module/lib/Components/core/Banner/Banner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Banner/Banner.test.js +0 -120
- package/dist/module/lib/Components/core/Banner/Banner.test.js.map +0 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js +0 -49
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js.map +0 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js +0 -1034
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js.map +0 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js +0 -632
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js.map +0 -1
- package/dist/module/lib/Components/core/Button/Button.figma.js +0 -46
- package/dist/module/lib/Components/core/Button/Button.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Button/Button.mdx +0 -168
- package/dist/module/lib/Components/core/Button/Button.stories.js +0 -300
- package/dist/module/lib/Components/core/Button/Button.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js +0 -19
- package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Card/Card.figma.js +0 -158
- package/dist/module/lib/Components/core/Card/Card.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Card/Card.mdx +0 -293
- package/dist/module/lib/Components/core/Card/Card.stories.js +0 -967
- package/dist/module/lib/Components/core/Card/Card.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Card/Card.test.js +0 -226
- package/dist/module/lib/Components/core/Card/Card.test.js.map +0 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.figma.js +0 -38
- package/dist/module/lib/Components/core/CardButton/CardButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.mdx +0 -246
- package/dist/module/lib/Components/core/CardButton/CardButton.stories.js +0 -284
- package/dist/module/lib/Components/core/CardButton/CardButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.test.js +0 -130
- package/dist/module/lib/Components/core/CardButton/CardButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js +0 -48
- package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
- package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js +0 -141
- package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js +0 -103
- package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js.map +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js +0 -90
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +0 -234
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js +0 -137
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js.map +0 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js +0 -29
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js.map +0 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js +0 -287
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js +0 -116
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js.map +0 -1
- package/dist/module/lib/Components/core/Divider/Divider.figma.js +0 -10
- package/dist/module/lib/Components/core/Divider/Divider.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Divider/Divider.mdx +0 -149
- package/dist/module/lib/Components/core/Divider/Divider.stories.js +0 -208
- package/dist/module/lib/Components/core/Divider/Divider.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Divider/Divider.test.js +0 -101
- package/dist/module/lib/Components/core/Divider/Divider.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.figma.js +0 -29
- package/dist/module/lib/Components/core/DotCount/DotCount.figma.js.map +0 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.mdx +0 -86
- package/dist/module/lib/Components/core/DotCount/DotCount.stories.js +0 -192
- package/dist/module/lib/Components/core/DotCount/DotCount.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.test.js +0 -174
- package/dist/module/lib/Components/core/DotCount/DotCount.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js +0 -288
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js +0 -260
- package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js +0 -38
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js +0 -29
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js +0 -123
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js +0 -156
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js +0 -33
- package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +0 -401
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js +0 -134
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js +0 -56
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js.map +0 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.figma.js +0 -42
- package/dist/module/lib/Components/core/IconButton/IconButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.mdx +0 -137
- package/dist/module/lib/Components/core/IconButton/IconButton.stories.js +0 -170
- package/dist/module/lib/Components/core/IconButton/IconButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.test.js +0 -107
- package/dist/module/lib/Components/core/IconButton/IconButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js +0 -51
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js.map +0 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js +0 -237
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js.map +0 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js +0 -149
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js.map +0 -1
- package/dist/module/lib/Components/core/Link/Link.figma.js +0 -42
- package/dist/module/lib/Components/core/Link/Link.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Link/Link.mdx +0 -264
- package/dist/module/lib/Components/core/Link/Link.stories.js +0 -349
- package/dist/module/lib/Components/core/Link/Link.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Link/Link.test.js +0 -157
- package/dist/module/lib/Components/core/Link/Link.test.js.map +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.figma.js +0 -426
- package/dist/module/lib/Components/core/ListItem/ListItem.figma.js.map +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.mdx +0 -461
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +0 -817
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.test.js +0 -233
- package/dist/module/lib/Components/core/ListItem/ListItem.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js +0 -25
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js +0 -183
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js +0 -129
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js +0 -72
- package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
- package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js +0 -169
- package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js +0 -171
- package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js +0 -28
- package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
- package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js +0 -187
- package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js +0 -140
- package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
- package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js +0 -235
- package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js +0 -325
- package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js +0 -215
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -96
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +0 -258
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js +0 -246
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js +0 -100
- package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
- package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js +0 -145
- package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js +0 -30
- package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js.map +0 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.figma.js +0 -21
- package/dist/module/lib/Components/core/MenuList/MenuList.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.mdx +0 -79
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +0 -192
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.test.js +0 -204
- package/dist/module/lib/Components/core/MenuList/MenuList.test.js.map +0 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.figma.js +0 -80
- package/dist/module/lib/Components/core/NavBar/NavBar.figma.js.map +0 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.mdx +0 -257
- package/dist/module/lib/Components/core/NavBar/NavBar.stories.js +0 -158
- package/dist/module/lib/Components/core/NavBar/NavBar.stories.js.map +0 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.test.js +0 -405
- package/dist/module/lib/Components/core/NavBar/NavBar.test.js.map +0 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js +0 -13
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js.map +0 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js +0 -99
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js.map +0 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js +0 -213
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js.map +0 -1
- package/dist/module/lib/Components/core/Pagination/Pagination.figma.js +0 -22
- package/dist/module/lib/Components/core/Pagination/Pagination.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Pagination/Pagination.mdx +0 -108
- package/dist/module/lib/Components/core/Pagination/Pagination.stories.js +0 -121
- package/dist/module/lib/Components/core/Pagination/Pagination.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Pagination/Pagination.test.js +0 -338
- package/dist/module/lib/Components/core/Pagination/Pagination.test.js.map +0 -1
- package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js +0 -31
- package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
- package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js +0 -125
- package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js +0 -41
- package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js +0 -22
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js +0 -104
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js +0 -108
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js.map +0 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js +0 -35
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js +0 -216
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js +0 -211
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.figma.js +0 -28
- package/dist/module/lib/Components/core/SelectList/SelectList.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.mdx +0 -280
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +0 -1100
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.test.js +0 -620
- package/dist/module/lib/Components/core/SelectList/SelectList.test.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js +0 -199
- package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js.map +0 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js +0 -18
- package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
- package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js +0 -135
- package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js +0 -63
- package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.figma.js +0 -13
- package/dist/module/lib/Components/core/Spinner/Spinner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.mdx +0 -119
- package/dist/module/lib/Components/core/Spinner/Spinner.stories.js +0 -214
- package/dist/module/lib/Components/core/Spinner/Spinner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/Spot.figma.js +0 -52
- package/dist/module/lib/Components/core/Spot/Spot.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/Spot.mdx +0 -113
- package/dist/module/lib/Components/core/Spot/Spot.stories.js +0 -242
- package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/Spot.test.js +0 -61
- package/dist/module/lib/Components/core/Spot/Spot.test.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/SpotNumber.test.js +0 -72
- package/dist/module/lib/Components/core/Spot/SpotNumber.test.js.map +0 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.figma.js +0 -13
- package/dist/module/lib/Components/core/Stepper/Stepper.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.mdx +0 -167
- package/dist/module/lib/Components/core/Stepper/Stepper.stories.js +0 -214
- package/dist/module/lib/Components/core/Stepper/Stepper.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.test.js +0 -184
- package/dist/module/lib/Components/core/Stepper/Stepper.test.js.map +0 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.figma.js +0 -67
- package/dist/module/lib/Components/core/Subheader/Subheader.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.mdx +0 -366
- package/dist/module/lib/Components/core/Subheader/Subheader.stories.js +0 -117
- package/dist/module/lib/Components/core/Subheader/Subheader.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.test.js +0 -164
- package/dist/module/lib/Components/core/Subheader/Subheader.test.js.map +0 -1
- package/dist/module/lib/Components/core/Switch/Switch.figma.js +0 -58
- package/dist/module/lib/Components/core/Switch/Switch.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Switch/Switch.mdx +0 -149
- package/dist/module/lib/Components/core/Switch/Switch.stories.js +0 -150
- package/dist/module/lib/Components/core/Switch/Switch.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Switch/Switch.test.js +0 -92
- package/dist/module/lib/Components/core/Switch/Switch.test.js.map +0 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.figma.js +0 -98
- package/dist/module/lib/Components/core/TabBar/TabBar.figma.js.map +0 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.mdx +0 -209
- package/dist/module/lib/Components/core/TabBar/TabBar.stories.js +0 -184
- package/dist/module/lib/Components/core/TabBar/TabBar.stories.js.map +0 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.test.js +0 -112
- package/dist/module/lib/Components/core/TabBar/TabBar.test.js.map +0 -1
- package/dist/module/lib/Components/core/Tag/Tag.figma.js +0 -41
- package/dist/module/lib/Components/core/Tag/Tag.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Tag/Tag.mdx +0 -98
- package/dist/module/lib/Components/core/Tag/Tag.stories.js +0 -208
- package/dist/module/lib/Components/core/Tag/Tag.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Tag/Tag.test.js +0 -69
- package/dist/module/lib/Components/core/Tag/Tag.test.js.map +0 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.figma.js +0 -46
- package/dist/module/lib/Components/core/TextInput/TextInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.mdx +0 -305
- package/dist/module/lib/Components/core/TextInput/TextInput.stories.js +0 -241
- package/dist/module/lib/Components/core/TextInput/TextInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.test.js +0 -295
- package/dist/module/lib/Components/core/TextInput/TextInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js +0 -43
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js.map +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.figma.js +0 -110
- package/dist/module/lib/Components/core/Tile/Tile.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.mdx +0 -252
- package/dist/module/lib/Components/core/Tile/Tile.stories.js +0 -559
- package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.test.js +0 -249
- package/dist/module/lib/Components/core/Tile/Tile.test.js.map +0 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.figma.js +0 -28
- package/dist/module/lib/Components/core/TileButton/TileButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.mdx +0 -184
- package/dist/module/lib/Components/core/TileButton/TileButton.stories.js +0 -269
- package/dist/module/lib/Components/core/TileButton/TileButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.test.js +0 -124
- package/dist/module/lib/Components/core/TileButton/TileButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.figma.js +0 -83
- package/dist/module/lib/Components/core/Timeline/Timeline.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.mdx +0 -49
- package/dist/module/lib/Components/core/Timeline/Timeline.stories.js +0 -319
- package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.test.js +0 -237
- package/dist/module/lib/Components/core/Timeline/Timeline.test.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toast.figma.js +0 -39
- package/dist/module/lib/Components/core/Toast/Toast.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toast.mdx +0 -203
- package/dist/module/lib/Components/core/Toast/Toast.stories.js +0 -241
- package/dist/module/lib/Components/core/Toast/Toast.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toast.test.js +0 -203
- package/dist/module/lib/Components/core/Toast/Toast.test.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toaster.test.js +0 -732
- package/dist/module/lib/Components/core/Toast/Toaster.test.js.map +0 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js +0 -26
- package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
- package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js +0 -212
- package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js +0 -91
- package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js.map +0 -1
- package/dist/module/lib/Components/core/Trend/Trend.figma.js +0 -29
- package/dist/module/lib/Components/core/Trend/Trend.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Trend/Trend.mdx +0 -104
- package/dist/module/lib/Components/core/Trend/Trend.stories.js +0 -98
- package/dist/module/lib/Components/core/Trend/Trend.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Trend/Trend.test.js +0 -149
- package/dist/module/lib/Components/core/Trend/Trend.test.js.map +0 -1
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js +0 -139
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js.map +0 -1
- package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js +0 -111
- package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js.map +0 -1
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js +0 -144
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js.map +0 -1
- package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js +0 -17
- package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js.map +0 -1
- package/dist/module/lib/Components/primitives/Box/Box.mdx +0 -50
- package/dist/module/lib/Components/primitives/Box/Box.stories.js +0 -29
- package/dist/module/lib/Components/primitives/Box/Box.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js +0 -260
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js +0 -81
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js +0 -242
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js +0 -81
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js +0 -151
- package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
- package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js +0 -39
- package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js +0 -226
- package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Text/Text.mdx +0 -70
- package/dist/module/lib/Components/primitives/Text/Text.stories.js +0 -28
- package/dist/module/lib/Components/primitives/Text/Text.stories.js.map +0 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.figma.js +0 -1840
- package/dist/module/lib/Components/symbols/Icon/Icon.figma.js.map +0 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.mdx +0 -149
- package/dist/module/lib/Components/symbols/Icon/Icon.stories.js +0 -321
- package/dist/module/lib/Components/symbols/Icon/Icon.stories.js.map +0 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.test.js +0 -90
- package/dist/module/lib/Components/symbols/Icon/Icon.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js +0 -135
- package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js +0 -135
- package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js +0 -183
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js +0 -333
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js +0 -86
- package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js +0 -191
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +0 -905
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js +0 -70
- package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js +0 -586
- package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/utils.test.js +0 -440
- package/dist/module/lib/Components/visualization/DonutChart/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js +0 -134
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Line/utils.test.js +0 -134
- package/dist/module/lib/Components/visualization/Line/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js +0 -99
- package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js +0 -385
- package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js +0 -462
- package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js +0 -47
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js +0 -22
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js +0 -210
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/Point.stories.js +0 -200
- package/dist/module/lib/Components/visualization/Point/Point.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/Point.test.js +0 -269
- package/dist/module/lib/Components/visualization/Point/Point.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js +0 -162
- package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js +0 -86
- package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/utils.test.js +0 -141
- package/dist/module/lib/Components/visualization/Point/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js +0 -128
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js +0 -338
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js +0 -297
- package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js +0 -340
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js +0 -261
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js +0 -193
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js +0 -137
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js +0 -295
- package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/utils.test.js +0 -395
- package/dist/module/lib/Components/visualization/Scrubber/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/utils/domain/domain.test.js +0 -191
- package/dist/module/lib/Components/visualization/utils/domain/domain.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/utils/scales/scales.test.js +0 -322
- package/dist/module/lib/Components/visualization/utils/scales/scales.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js +0 -155
- package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js.map +0 -1
- package/dist/module/styles/hooks/useStyleSheet.test.js +0 -473
- package/dist/module/styles/hooks/useStyleSheet.test.js.map +0 -1
- package/dist/module/styles/lx/createStyledPressable.test.js +0 -291
- package/dist/module/styles/lx/createStyledPressable.test.js.map +0 -1
- package/dist/module/styles/lx/createStyledText.test.js +0 -242
- package/dist/module/styles/lx/createStyledText.test.js.map +0 -1
- package/dist/module/styles/lx/createStyledView.test.js +0 -189
- package/dist/module/styles/lx/createStyledView.test.js.map +0 -1
- package/dist/module/styles/lx/resolveStyle.test.js +0 -633
- package/dist/module/styles/lx/resolveStyle.test.js.map +0 -1
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js +0 -131
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js.map +0 -1
- package/dist/module/styles/theme/createStylesheetTheme.test.js +0 -27
- package/dist/module/styles/theme/createStylesheetTheme.test.js.map +0 -1
- package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js +0 -59
- package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js.map +0 -1
- package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js +0 -29
- package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js.map +0 -1
- package/dist/module/translations/translations.test.js +0 -34
- package/dist/module/translations/translations.test.js.map +0 -1
- package/src/lib/Components/animations/Pulse/Pulse.mdx +0 -85
- package/src/lib/Components/animations/Pulse/Pulse.stories.tsx +0 -98
- package/src/lib/Components/animations/Spin/Spin.mdx +0 -84
- package/src/lib/Components/animations/Spin/Spin.stories.tsx +0 -71
- package/src/lib/Components/core/AddressInput/AddressInput.figma.tsx +0 -43
- package/src/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
- package/src/lib/Components/core/AddressInput/AddressInput.stories.tsx +0 -235
- package/src/lib/Components/core/AddressInput/AddressInput.test.tsx +0 -62
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.figma.tsx +0 -37
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx +0 -192
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.test.tsx +0 -469
- package/src/lib/Components/core/AmountInput/AmountInput.figma.tsx +0 -78
- package/src/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
- package/src/lib/Components/core/AmountInput/AmountInput.stories.tsx +0 -281
- package/src/lib/Components/core/AmountInput/AmountInput.test.tsx +0 -166
- package/src/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.ts +0 -82
- package/src/lib/Components/core/Avatar/Avatar.figma.tsx +0 -42
- package/src/lib/Components/core/Avatar/Avatar.mdx +0 -166
- package/src/lib/Components/core/Avatar/Avatar.stories.tsx +0 -126
- package/src/lib/Components/core/Avatar/Avatar.test.tsx +0 -312
- package/src/lib/Components/core/Avatar/useResolveAvatarColor.test.tsx +0 -106
- package/src/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
- package/src/lib/Components/core/AvatarButton/AvatarButton.stories.tsx +0 -51
- package/src/lib/Components/core/AvatarButton/AvatarButton.test.tsx +0 -92
- package/src/lib/Components/core/Banner/Banner.figma.tsx +0 -115
- package/src/lib/Components/core/Banner/Banner.mdx +0 -352
- package/src/lib/Components/core/Banner/Banner.stories.tsx +0 -425
- package/src/lib/Components/core/Banner/Banner.test.tsx +0 -116
- package/src/lib/Components/core/BottomSheet/BottomSheet.figma.tsx +0 -52
- package/src/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
- package/src/lib/Components/core/BottomSheet/BottomSheet.stories.tsx +0 -996
- package/src/lib/Components/core/BottomSheet/BottomSheet.test.tsx +0 -539
- package/src/lib/Components/core/Button/Button.figma.tsx +0 -58
- package/src/lib/Components/core/Button/Button.mdx +0 -168
- package/src/lib/Components/core/Button/Button.stories.tsx +0 -238
- package/src/lib/Components/core/Button/ButtonGroup.figma.tsx +0 -15
- package/src/lib/Components/core/Card/Card.figma.tsx +0 -169
- package/src/lib/Components/core/Card/Card.mdx +0 -293
- package/src/lib/Components/core/Card/Card.stories.tsx +0 -736
- package/src/lib/Components/core/Card/Card.test.tsx +0 -226
- package/src/lib/Components/core/CardButton/CardButton.figma.tsx +0 -49
- package/src/lib/Components/core/CardButton/CardButton.mdx +0 -246
- package/src/lib/Components/core/CardButton/CardButton.stories.tsx +0 -284
- package/src/lib/Components/core/CardButton/CardButton.test.tsx +0 -140
- package/src/lib/Components/core/Checkbox/Checkbox.figma.tsx +0 -54
- package/src/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
- package/src/lib/Components/core/Checkbox/Checkbox.stories.tsx +0 -115
- package/src/lib/Components/core/Checkbox/Checkbox.test.tsx +0 -115
- package/src/lib/Components/core/ContentBanner/ContentBanner.figma.tsx +0 -108
- package/src/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
- package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +0 -224
- package/src/lib/Components/core/ContentBanner/ContentBanner.test.tsx +0 -132
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.figma.tsx +0 -36
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.stories.tsx +0 -230
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.test.tsx +0 -136
- package/src/lib/Components/core/Divider/Divider.figma.tsx +0 -11
- package/src/lib/Components/core/Divider/Divider.mdx +0 -149
- package/src/lib/Components/core/Divider/Divider.stories.tsx +0 -142
- package/src/lib/Components/core/Divider/Divider.test.tsx +0 -91
- package/src/lib/Components/core/DotCount/DotCount.figma.tsx +0 -32
- package/src/lib/Components/core/DotCount/DotCount.mdx +0 -86
- package/src/lib/Components/core/DotCount/DotCount.stories.tsx +0 -131
- package/src/lib/Components/core/DotCount/DotCount.test.tsx +0 -150
- package/src/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
- package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +0 -207
- package/src/lib/Components/core/DotIcon/DotIcon.test.tsx +0 -244
- package/src/lib/Components/core/DotIcon/getDotIconProps.test.ts +0 -19
- package/src/lib/Components/core/DotIndicator/DotIndicator.figma.tsx +0 -32
- package/src/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
- package/src/lib/Components/core/DotIndicator/DotIndicator.stories.tsx +0 -82
- package/src/lib/Components/core/DotIndicator/DotIndicator.test.tsx +0 -152
- package/src/lib/Components/core/DotIndicator/getDotIndicatorProps.test.ts +0 -31
- package/src/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
- package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +0 -247
- package/src/lib/Components/core/DotSymbol/DotSymbol.test.tsx +0 -119
- package/src/lib/Components/core/DotSymbol/getDotSymbolProps.test.ts +0 -25
- package/src/lib/Components/core/IconButton/IconButton.figma.tsx +0 -53
- package/src/lib/Components/core/IconButton/IconButton.mdx +0 -137
- package/src/lib/Components/core/IconButton/IconButton.stories.tsx +0 -157
- package/src/lib/Components/core/IconButton/IconButton.test.tsx +0 -140
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.tsx +0 -52
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.tsx +0 -195
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.test.tsx +0 -184
- package/src/lib/Components/core/Link/Link.figma.tsx +0 -54
- package/src/lib/Components/core/Link/Link.mdx +0 -264
- package/src/lib/Components/core/Link/Link.stories.tsx +0 -322
- package/src/lib/Components/core/Link/Link.test.tsx +0 -224
- package/src/lib/Components/core/ListItem/ListItem.figma.tsx +0 -466
- package/src/lib/Components/core/ListItem/ListItem.mdx +0 -461
- package/src/lib/Components/core/ListItem/ListItem.stories.tsx +0 -610
- package/src/lib/Components/core/ListItem/ListItem.test.tsx +0 -230
- package/src/lib/Components/core/MediaBanner/MediaBanner.figma.tsx +0 -32
- package/src/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
- package/src/lib/Components/core/MediaBanner/MediaBanner.stories.tsx +0 -175
- package/src/lib/Components/core/MediaBanner/MediaBanner.test.tsx +0 -126
- package/src/lib/Components/core/MediaButton/MediaButton.figma.tsx +0 -60
- package/src/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
- package/src/lib/Components/core/MediaButton/MediaButton.stories.tsx +0 -145
- package/src/lib/Components/core/MediaButton/MediaButton.test.tsx +0 -198
- package/src/lib/Components/core/MediaCard/MediaCard.figma.tsx +0 -27
- package/src/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
- package/src/lib/Components/core/MediaCard/MediaCard.stories.tsx +0 -161
- package/src/lib/Components/core/MediaCard/MediaCard.test.tsx +0 -125
- package/src/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
- package/src/lib/Components/core/MediaImage/MediaImage.stories.tsx +0 -110
- package/src/lib/Components/core/MediaImage/MediaImage.test.tsx +0 -291
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.tsx +0 -119
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -96
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +0 -154
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.test.tsx +0 -213
- package/src/lib/Components/core/MediaTag/MediaTag.figma.tsx +0 -116
- package/src/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
- package/src/lib/Components/core/MediaTag/MediaTag.stories.tsx +0 -129
- package/src/lib/Components/core/MediaTag/MediaTag.test.tsx +0 -27
- package/src/lib/Components/core/MenuList/MenuList.figma.tsx +0 -23
- package/src/lib/Components/core/MenuList/MenuList.mdx +0 -79
- package/src/lib/Components/core/MenuList/MenuList.stories.tsx +0 -154
- package/src/lib/Components/core/MenuList/MenuList.test.tsx +0 -205
- package/src/lib/Components/core/NavBar/NavBar.figma.tsx +0 -87
- package/src/lib/Components/core/NavBar/NavBar.mdx +0 -257
- package/src/lib/Components/core/NavBar/NavBar.stories.tsx +0 -162
- package/src/lib/Components/core/NavBar/NavBar.test.tsx +0 -420
- package/src/lib/Components/core/PageIndicator/PageIndicator.figma.tsx +0 -11
- package/src/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
- package/src/lib/Components/core/PageIndicator/PageIndicator.stories.tsx +0 -82
- package/src/lib/Components/core/PageIndicator/PageIndicator.test.tsx +0 -269
- package/src/lib/Components/core/Pagination/Pagination.figma.tsx +0 -25
- package/src/lib/Components/core/Pagination/Pagination.mdx +0 -108
- package/src/lib/Components/core/Pagination/Pagination.stories.tsx +0 -90
- package/src/lib/Components/core/Pagination/Pagination.test.tsx +0 -346
- package/src/lib/Components/core/SearchInput/SearchInput.figma.tsx +0 -34
- package/src/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
- package/src/lib/Components/core/SearchInput/SearchInput.stories.tsx +0 -144
- package/src/lib/Components/core/SearchInput/SearchInput.test.tsx +0 -40
- package/src/lib/Components/core/SectionHeader/SectionHeader.figma.tsx +0 -24
- package/src/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
- package/src/lib/Components/core/SectionHeader/SectionHeader.stories.tsx +0 -95
- package/src/lib/Components/core/SectionHeader/SectionHeader.test.tsx +0 -103
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.figma.tsx +0 -34
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.stories.tsx +0 -208
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.test.tsx +0 -206
- package/src/lib/Components/core/SelectList/SelectList.figma.tsx +0 -37
- package/src/lib/Components/core/SelectList/SelectList.mdx +0 -280
- package/src/lib/Components/core/SelectList/SelectList.stories.tsx +0 -1125
- package/src/lib/Components/core/SelectList/SelectList.test.tsx +0 -595
- package/src/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.ts +0 -195
- package/src/lib/Components/core/Skeleton/Skeleton.figma.tsx +0 -17
- package/src/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
- package/src/lib/Components/core/Skeleton/Skeleton.stories.tsx +0 -91
- package/src/lib/Components/core/Skeleton/Skeleton.test.tsx +0 -53
- package/src/lib/Components/core/Spinner/Spinner.figma.tsx +0 -12
- package/src/lib/Components/core/Spinner/Spinner.mdx +0 -119
- package/src/lib/Components/core/Spinner/Spinner.stories.tsx +0 -128
- package/src/lib/Components/core/Spot/Spot.figma.tsx +0 -71
- package/src/lib/Components/core/Spot/Spot.mdx +0 -113
- package/src/lib/Components/core/Spot/Spot.stories.tsx +0 -225
- package/src/lib/Components/core/Spot/Spot.test.tsx +0 -71
- package/src/lib/Components/core/Spot/SpotNumber.test.tsx +0 -93
- package/src/lib/Components/core/Stepper/Stepper.figma.tsx +0 -11
- package/src/lib/Components/core/Stepper/Stepper.mdx +0 -167
- package/src/lib/Components/core/Stepper/Stepper.stories.tsx +0 -116
- package/src/lib/Components/core/Stepper/Stepper.test.tsx +0 -159
- package/src/lib/Components/core/Subheader/Subheader.figma.tsx +0 -72
- package/src/lib/Components/core/Subheader/Subheader.mdx +0 -366
- package/src/lib/Components/core/Subheader/Subheader.stories.tsx +0 -120
- package/src/lib/Components/core/Subheader/Subheader.test.tsx +0 -172
- package/src/lib/Components/core/Switch/Switch.figma.tsx +0 -66
- package/src/lib/Components/core/Switch/Switch.mdx +0 -149
- package/src/lib/Components/core/Switch/Switch.stories.tsx +0 -120
- package/src/lib/Components/core/Switch/Switch.test.tsx +0 -96
- package/src/lib/Components/core/TabBar/TabBar.figma.tsx +0 -70
- package/src/lib/Components/core/TabBar/TabBar.mdx +0 -209
- package/src/lib/Components/core/TabBar/TabBar.stories.tsx +0 -164
- package/src/lib/Components/core/TabBar/TabBar.test.tsx +0 -79
- package/src/lib/Components/core/Tag/Tag.figma.tsx +0 -52
- package/src/lib/Components/core/Tag/Tag.mdx +0 -98
- package/src/lib/Components/core/Tag/Tag.stories.tsx +0 -122
- package/src/lib/Components/core/Tag/Tag.test.tsx +0 -51
- package/src/lib/Components/core/TextInput/TextInput.figma.tsx +0 -49
- package/src/lib/Components/core/TextInput/TextInput.mdx +0 -305
- package/src/lib/Components/core/TextInput/TextInput.stories.tsx +0 -282
- package/src/lib/Components/core/TextInput/TextInput.test.tsx +0 -348
- package/src/lib/Components/core/ThemeProvider/ThemeProvider.test.tsx +0 -39
- package/src/lib/Components/core/Tile/Tile.figma.tsx +0 -113
- package/src/lib/Components/core/Tile/Tile.mdx +0 -252
- package/src/lib/Components/core/Tile/Tile.stories.tsx +0 -372
- package/src/lib/Components/core/Tile/Tile.test.tsx +0 -227
- package/src/lib/Components/core/TileButton/TileButton.figma.tsx +0 -40
- package/src/lib/Components/core/TileButton/TileButton.mdx +0 -184
- package/src/lib/Components/core/TileButton/TileButton.stories.tsx +0 -201
- package/src/lib/Components/core/TileButton/TileButton.test.tsx +0 -137
- package/src/lib/Components/core/Timeline/Timeline.figma.tsx +0 -79
- package/src/lib/Components/core/Timeline/Timeline.mdx +0 -49
- package/src/lib/Components/core/Timeline/Timeline.stories.tsx +0 -269
- package/src/lib/Components/core/Timeline/Timeline.test.tsx +0 -279
- package/src/lib/Components/core/Toast/Toast.figma.tsx +0 -36
- package/src/lib/Components/core/Toast/Toast.mdx +0 -203
- package/src/lib/Components/core/Toast/Toast.stories.tsx +0 -249
- package/src/lib/Components/core/Toast/Toast.test.tsx +0 -181
- package/src/lib/Components/core/Toast/Toaster.test.tsx +0 -687
- package/src/lib/Components/core/Tooltip/Tooltip.figma.tsx +0 -30
- package/src/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
- package/src/lib/Components/core/Tooltip/Tooltip.stories.tsx +0 -183
- package/src/lib/Components/core/Tooltip/Tooltip.test.tsx +0 -81
- package/src/lib/Components/core/Trend/Trend.figma.tsx +0 -28
- package/src/lib/Components/core/Trend/Trend.mdx +0 -104
- package/src/lib/Components/core/Trend/Trend.stories.tsx +0 -74
- package/src/lib/Components/core/Trend/Trend.test.tsx +0 -124
- package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +0 -149
- package/src/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.ts +0 -110
- package/src/lib/Components/internal/BaseTag/BaseTag.test.tsx +0 -137
- package/src/lib/Components/internal/CryptoIcon/CryptoIcon.figma.tsx +0 -20
- package/src/lib/Components/primitives/Box/Box.mdx +0 -50
- package/src/lib/Components/primitives/Box/Box.stories.tsx +0 -31
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +0 -188
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.tsx +0 -70
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.tsx +0 -152
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.tsx +0 -70
- package/src/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.ts +0 -144
- package/src/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
- package/src/lib/Components/primitives/Pressable/Pressable.stories.tsx +0 -34
- package/src/lib/Components/primitives/Pressable/Pressable.test.tsx +0 -222
- package/src/lib/Components/primitives/Text/Text.mdx +0 -70
- package/src/lib/Components/primitives/Text/Text.stories.tsx +0 -29
- package/src/lib/Components/symbols/Icon/Icon.figma.tsx +0 -3085
- package/src/lib/Components/symbols/Icon/Icon.mdx +0 -149
- package/src/lib/Components/symbols/Icon/Icon.stories.tsx +0 -305
- package/src/lib/Components/symbols/Icon/Icon.test.tsx +0 -92
- package/src/lib/Components/visualization/Axis/XAxis/XAxis.test.tsx +0 -101
- package/src/lib/Components/visualization/Axis/YAxis/YAxis.test.tsx +0 -101
- package/src/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.tsx +0 -172
- package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.ts +0 -273
- package/src/lib/Components/visualization/CartesianChart/utils.test.ts +0 -88
- package/src/lib/Components/visualization/DonutChart/DonutChart.performance.test.tsx +0 -218
- package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +0 -885
- package/src/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.tsx +0 -68
- package/src/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.ts +0 -284
- package/src/lib/Components/visualization/DonutChart/utils.test.ts +0 -487
- package/src/lib/Components/visualization/Legend/Legend.test.tsx +0 -97
- package/src/lib/Components/visualization/Line/utils.test.ts +0 -161
- package/src/lib/Components/visualization/LineChart/LineChart.performance.test.tsx +0 -101
- package/src/lib/Components/visualization/LineChart/LineChart.stories.tsx +0 -346
- package/src/lib/Components/visualization/LineChart/LineChart.test.tsx +0 -393
- package/src/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.tsx +0 -39
- package/src/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.ts +0 -23
- package/src/lib/Components/visualization/LineChart/utils.test.ts +0 -224
- package/src/lib/Components/visualization/Point/Point.stories.tsx +0 -165
- package/src/lib/Components/visualization/Point/Point.test.tsx +0 -243
- package/src/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.tsx +0 -174
- package/src/lib/Components/visualization/Point/usePointGeometry.test.ts +0 -95
- package/src/lib/Components/visualization/Point/utils.test.ts +0 -169
- package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.tsx +0 -109
- package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.test.tsx +0 -269
- package/src/lib/Components/visualization/ReferenceLine/utils.test.ts +0 -332
- package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.tsx +0 -259
- package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.ts +0 -266
- package/src/lib/Components/visualization/Scrubber/Scrubber.stories.tsx +0 -181
- package/src/lib/Components/visualization/Scrubber/Scrubber.test.tsx +0 -112
- package/src/lib/Components/visualization/Scrubber/ScrubberProvider.test.tsx +0 -305
- package/src/lib/Components/visualization/Scrubber/utils.test.ts +0 -407
- package/src/lib/Components/visualization/utils/domain/domain.test.ts +0 -156
- package/src/lib/Components/visualization/utils/scales/scales.test.ts +0 -228
- package/src/lib/Components/visualization/utils/ticks/ticks.test.ts +0 -173
- package/src/styles/hooks/useStyleSheet.test.tsx +0 -520
- package/src/styles/lx/createStyledPressable.test.tsx +0 -253
- package/src/styles/lx/createStyledText.test.tsx +0 -237
- package/src/styles/lx/createStyledView.test.tsx +0 -142
- package/src/styles/lx/resolveStyle.test.tsx +0 -687
- package/src/styles/provider/LumenStyleSheetProvider.test.tsx +0 -123
- package/src/styles/theme/createStylesheetTheme.test.ts +0 -30
- package/src/styles/theme/resolvers/resolveFontWeights.test.ts +0 -74
- package/src/styles/theme/resolvers/resolveNegativeSpacing.test.ts +0 -29
- package/src/translations/translations.test.ts +0 -56
|
@@ -1,338 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { describe, expect, it } from '@jest/globals';
|
|
4
|
-
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
5
|
-
import { render } from '@testing-library/react-native';
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import { ThemeProvider } from "../../core/ThemeProvider/index.js";
|
|
8
|
-
import { CartesianChart } from "../CartesianChart/index.js";
|
|
9
|
-
import { ReferenceLine } from "./ReferenceLine.js";
|
|
10
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
-
const sampleSeries = [{
|
|
12
|
-
id: 's1',
|
|
13
|
-
stroke: '#000',
|
|
14
|
-
data: [10, 20, 30, 40, 50]
|
|
15
|
-
}];
|
|
16
|
-
const Wrapper = ({
|
|
17
|
-
children
|
|
18
|
-
}) => /*#__PURE__*/_jsx(ThemeProvider, {
|
|
19
|
-
themes: ledgerLiveThemes,
|
|
20
|
-
colorScheme: "light",
|
|
21
|
-
children: children
|
|
22
|
-
});
|
|
23
|
-
const renderInChart = (children, {
|
|
24
|
-
width = 400,
|
|
25
|
-
height = 200,
|
|
26
|
-
xAxis,
|
|
27
|
-
yAxis
|
|
28
|
-
} = {}) => render(/*#__PURE__*/_jsx(Wrapper, {
|
|
29
|
-
children: /*#__PURE__*/_jsx(CartesianChart, {
|
|
30
|
-
series: sampleSeries,
|
|
31
|
-
width: width,
|
|
32
|
-
height: height,
|
|
33
|
-
xAxis: xAxis,
|
|
34
|
-
yAxis: yAxis,
|
|
35
|
-
children: children
|
|
36
|
-
})
|
|
37
|
-
}));
|
|
38
|
-
describe('ReferenceLine', () => {
|
|
39
|
-
describe('horizontal line (dataY)', () => {
|
|
40
|
-
it('renders a horizontal line at the correct y-pixel', () => {
|
|
41
|
-
const {
|
|
42
|
-
getByTestId
|
|
43
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
44
|
-
dataY: 30
|
|
45
|
-
}));
|
|
46
|
-
const line = getByTestId('reference-line-line');
|
|
47
|
-
expect(line).toBeTruthy();
|
|
48
|
-
expect(line.props.y1).toBe(line.props.y2);
|
|
49
|
-
});
|
|
50
|
-
it('spans the full width of the drawing area', () => {
|
|
51
|
-
const {
|
|
52
|
-
getByTestId
|
|
53
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
54
|
-
dataY: 30
|
|
55
|
-
}));
|
|
56
|
-
const line = getByTestId('reference-line-line');
|
|
57
|
-
expect(line.props.x2).toBeGreaterThan(line.props.x1);
|
|
58
|
-
});
|
|
59
|
-
it('does not render when dataY is outside domain bounds', () => {
|
|
60
|
-
const {
|
|
61
|
-
queryByTestId
|
|
62
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
63
|
-
dataY: 999
|
|
64
|
-
}));
|
|
65
|
-
expect(queryByTestId('reference-line')).toBeNull();
|
|
66
|
-
});
|
|
67
|
-
it('renders label with textAnchor start when labelPosition is end', () => {
|
|
68
|
-
const {
|
|
69
|
-
getByTestId
|
|
70
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
71
|
-
dataY: 30,
|
|
72
|
-
label: "Target",
|
|
73
|
-
labelPosition: "end"
|
|
74
|
-
}));
|
|
75
|
-
const label = getByTestId('reference-line-label');
|
|
76
|
-
expect(label.props.textAnchor).toBe('start');
|
|
77
|
-
});
|
|
78
|
-
it('renders label with textAnchor end when labelPosition is start', () => {
|
|
79
|
-
const {
|
|
80
|
-
getByTestId
|
|
81
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
82
|
-
dataY: 30,
|
|
83
|
-
label: "Target",
|
|
84
|
-
labelPosition: "start"
|
|
85
|
-
}));
|
|
86
|
-
const label = getByTestId('reference-line-label');
|
|
87
|
-
expect(label.props.textAnchor).toBe('end');
|
|
88
|
-
});
|
|
89
|
-
it('renders label with textAnchor middle when labelPosition is center', () => {
|
|
90
|
-
const {
|
|
91
|
-
getByTestId
|
|
92
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
93
|
-
dataY: 30,
|
|
94
|
-
label: "Target",
|
|
95
|
-
labelPosition: "center"
|
|
96
|
-
}));
|
|
97
|
-
const label = getByTestId('reference-line-label');
|
|
98
|
-
expect(label.props.textAnchor).toBe('middle');
|
|
99
|
-
});
|
|
100
|
-
it('defaults labelPosition to end', () => {
|
|
101
|
-
const {
|
|
102
|
-
getByTestId
|
|
103
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
104
|
-
dataY: 30,
|
|
105
|
-
label: "Target"
|
|
106
|
-
}));
|
|
107
|
-
const label = getByTestId('reference-line-label');
|
|
108
|
-
expect(label.props.textAnchor).toBe('start');
|
|
109
|
-
});
|
|
110
|
-
});
|
|
111
|
-
describe('vertical line (dataX)', () => {
|
|
112
|
-
it('renders a vertical line at the correct x-pixel', () => {
|
|
113
|
-
const {
|
|
114
|
-
getByTestId
|
|
115
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
116
|
-
dataX: 2
|
|
117
|
-
}));
|
|
118
|
-
const line = getByTestId('reference-line-line');
|
|
119
|
-
expect(line).toBeTruthy();
|
|
120
|
-
expect(line.props.x1).toBe(line.props.x2);
|
|
121
|
-
});
|
|
122
|
-
it('spans the full height of the drawing area', () => {
|
|
123
|
-
const {
|
|
124
|
-
getByTestId
|
|
125
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
126
|
-
dataX: 2
|
|
127
|
-
}));
|
|
128
|
-
const line = getByTestId('reference-line-line');
|
|
129
|
-
expect(line.props.y2).toBeGreaterThan(line.props.y1);
|
|
130
|
-
});
|
|
131
|
-
it('does not render when dataX is outside domain bounds', () => {
|
|
132
|
-
const {
|
|
133
|
-
queryByTestId
|
|
134
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
135
|
-
dataX: 999
|
|
136
|
-
}));
|
|
137
|
-
expect(queryByTestId('reference-line')).toBeNull();
|
|
138
|
-
});
|
|
139
|
-
it('defaults labelPosition to end with dy offset for hanging baseline', () => {
|
|
140
|
-
const {
|
|
141
|
-
getByTestId
|
|
142
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
143
|
-
dataX: 2,
|
|
144
|
-
label: "Event"
|
|
145
|
-
}));
|
|
146
|
-
const label = getByTestId('reference-line-label');
|
|
147
|
-
expect(label.props.dy).toBe(8);
|
|
148
|
-
});
|
|
149
|
-
it('works with band (categorical) x-axis scale', () => {
|
|
150
|
-
const {
|
|
151
|
-
getByTestId
|
|
152
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
153
|
-
dataX: 2
|
|
154
|
-
}), {
|
|
155
|
-
xAxis: {
|
|
156
|
-
scaleType: 'band'
|
|
157
|
-
}
|
|
158
|
-
});
|
|
159
|
-
expect(getByTestId('reference-line-line')).toBeTruthy();
|
|
160
|
-
});
|
|
161
|
-
it('does not render when dataX is outside band scale domain', () => {
|
|
162
|
-
const {
|
|
163
|
-
queryByTestId
|
|
164
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
165
|
-
dataX: 999
|
|
166
|
-
}), {
|
|
167
|
-
xAxis: {
|
|
168
|
-
scaleType: 'band'
|
|
169
|
-
}
|
|
170
|
-
});
|
|
171
|
-
expect(queryByTestId('reference-line')).toBeNull();
|
|
172
|
-
});
|
|
173
|
-
it('resolves dataX through numeric xAxis.data', () => {
|
|
174
|
-
const numericXData = [100, 200, 300, 400, 500];
|
|
175
|
-
const {
|
|
176
|
-
getByTestId: getIdx0
|
|
177
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
178
|
-
dataX: 0
|
|
179
|
-
}), {
|
|
180
|
-
xAxis: {
|
|
181
|
-
data: numericXData
|
|
182
|
-
}
|
|
183
|
-
});
|
|
184
|
-
const {
|
|
185
|
-
getByTestId: getIdx2
|
|
186
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
187
|
-
dataX: 2
|
|
188
|
-
}), {
|
|
189
|
-
xAxis: {
|
|
190
|
-
data: numericXData
|
|
191
|
-
}
|
|
192
|
-
});
|
|
193
|
-
const x1Idx0 = getIdx0('reference-line-line').props.x1;
|
|
194
|
-
const x1Idx2 = getIdx2('reference-line-line').props.x1;
|
|
195
|
-
expect(x1Idx2).toBeGreaterThan(x1Idx0);
|
|
196
|
-
});
|
|
197
|
-
it('does not render when dataX index is out of bounds for xAxis.data', () => {
|
|
198
|
-
const {
|
|
199
|
-
queryByTestId
|
|
200
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
201
|
-
dataX: 10
|
|
202
|
-
}), {
|
|
203
|
-
xAxis: {
|
|
204
|
-
data: [100, 200, 300]
|
|
205
|
-
}
|
|
206
|
-
});
|
|
207
|
-
expect(queryByTestId('reference-line')).toBeNull();
|
|
208
|
-
});
|
|
209
|
-
});
|
|
210
|
-
describe('label offsets', () => {
|
|
211
|
-
it('applies labelDx offset to label x position', () => {
|
|
212
|
-
const {
|
|
213
|
-
getByTestId,
|
|
214
|
-
unmount
|
|
215
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
216
|
-
dataY: 30,
|
|
217
|
-
label: "A"
|
|
218
|
-
}));
|
|
219
|
-
const xWithoutOffset = getByTestId('reference-line-label').props.x;
|
|
220
|
-
unmount();
|
|
221
|
-
const {
|
|
222
|
-
getByTestId: getWithOffset
|
|
223
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
224
|
-
dataY: 30,
|
|
225
|
-
label: "A",
|
|
226
|
-
labelDx: 10
|
|
227
|
-
}));
|
|
228
|
-
const xWithOffset = getWithOffset('reference-line-label').props.x;
|
|
229
|
-
expect(xWithOffset).toBe(xWithoutOffset + 10);
|
|
230
|
-
});
|
|
231
|
-
it('applies labelDy offset to label y position', () => {
|
|
232
|
-
const {
|
|
233
|
-
getByTestId,
|
|
234
|
-
unmount
|
|
235
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
236
|
-
dataY: 30,
|
|
237
|
-
label: "A"
|
|
238
|
-
}));
|
|
239
|
-
const yWithoutOffset = getByTestId('reference-line-label').props.y;
|
|
240
|
-
unmount();
|
|
241
|
-
const {
|
|
242
|
-
getByTestId: getWithOffset
|
|
243
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
244
|
-
dataY: 30,
|
|
245
|
-
label: "A",
|
|
246
|
-
labelDy: -4
|
|
247
|
-
}));
|
|
248
|
-
const yWithOffset = getWithOffset('reference-line-label').props.y;
|
|
249
|
-
expect(yWithOffset).toBe(yWithoutOffset - 4);
|
|
250
|
-
});
|
|
251
|
-
});
|
|
252
|
-
describe('styling', () => {
|
|
253
|
-
it('uses dashed line style by default', () => {
|
|
254
|
-
const {
|
|
255
|
-
getByTestId
|
|
256
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
257
|
-
dataY: 30
|
|
258
|
-
}));
|
|
259
|
-
const line = getByTestId('reference-line-line');
|
|
260
|
-
expect(line.props.strokeDasharray).toBe('0.1 6');
|
|
261
|
-
});
|
|
262
|
-
it('removes dasharray when lineStyle is solid', () => {
|
|
263
|
-
const {
|
|
264
|
-
getByTestId
|
|
265
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
266
|
-
dataY: 30,
|
|
267
|
-
lineStyle: "solid"
|
|
268
|
-
}));
|
|
269
|
-
const line = getByTestId('reference-line-line');
|
|
270
|
-
expect(line.props.strokeDasharray).toBeUndefined();
|
|
271
|
-
});
|
|
272
|
-
it('applies custom stroke color', () => {
|
|
273
|
-
const {
|
|
274
|
-
getByTestId
|
|
275
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
276
|
-
dataY: 30,
|
|
277
|
-
stroke: "#FF0000"
|
|
278
|
-
}));
|
|
279
|
-
const line = getByTestId('reference-line-line');
|
|
280
|
-
expect(line.props.stroke).toBe('#FF0000');
|
|
281
|
-
});
|
|
282
|
-
it('has round linecap', () => {
|
|
283
|
-
const {
|
|
284
|
-
getByTestId
|
|
285
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
286
|
-
dataY: 30
|
|
287
|
-
}));
|
|
288
|
-
const line = getByTestId('reference-line-line');
|
|
289
|
-
expect(line.props.strokeLinecap).toBe('round');
|
|
290
|
-
});
|
|
291
|
-
});
|
|
292
|
-
describe('label alignment overrides', () => {
|
|
293
|
-
it('applies labelHorizontalAlignment=start on vertical line', () => {
|
|
294
|
-
const {
|
|
295
|
-
getByTestId
|
|
296
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
297
|
-
dataX: 2,
|
|
298
|
-
label: "Test",
|
|
299
|
-
labelHorizontalAlignment: "start"
|
|
300
|
-
}));
|
|
301
|
-
const label = getByTestId('reference-line-label');
|
|
302
|
-
expect(label.props.textAnchor).toBe('end');
|
|
303
|
-
});
|
|
304
|
-
it('applies labelVerticalAlignment=start on horizontal line', () => {
|
|
305
|
-
const {
|
|
306
|
-
getByTestId
|
|
307
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
308
|
-
dataY: 30,
|
|
309
|
-
label: "Test",
|
|
310
|
-
labelVerticalAlignment: "start"
|
|
311
|
-
}));
|
|
312
|
-
const label = getByTestId('reference-line-label');
|
|
313
|
-
expect(label.props.dy).toBe(0);
|
|
314
|
-
});
|
|
315
|
-
it('applies labelVerticalAlignment=center on horizontal line', () => {
|
|
316
|
-
const {
|
|
317
|
-
getByTestId
|
|
318
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
319
|
-
dataY: 30,
|
|
320
|
-
label: "Test",
|
|
321
|
-
labelVerticalAlignment: "center"
|
|
322
|
-
}));
|
|
323
|
-
const label = getByTestId('reference-line-label');
|
|
324
|
-
expect(label.props.dy).toBe(3.5);
|
|
325
|
-
});
|
|
326
|
-
});
|
|
327
|
-
describe('no label', () => {
|
|
328
|
-
it('does not render label element when label is not provided', () => {
|
|
329
|
-
const {
|
|
330
|
-
queryByTestId
|
|
331
|
-
} = renderInChart(/*#__PURE__*/_jsx(ReferenceLine, {
|
|
332
|
-
dataY: 30
|
|
333
|
-
}));
|
|
334
|
-
expect(queryByTestId('reference-line-label')).toBeNull();
|
|
335
|
-
});
|
|
336
|
-
});
|
|
337
|
-
});
|
|
338
|
-
//# sourceMappingURL=ReferenceLine.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","expect","it","ledgerLiveThemes","render","React","ThemeProvider","CartesianChart","ReferenceLine","jsx","_jsx","sampleSeries","id","stroke","data","Wrapper","children","themes","colorScheme","renderInChart","width","height","xAxis","yAxis","series","getByTestId","dataY","line","toBeTruthy","props","y1","toBe","y2","x2","toBeGreaterThan","x1","queryByTestId","toBeNull","label","labelPosition","textAnchor","dataX","dy","scaleType","numericXData","getIdx0","getIdx2","x1Idx0","x1Idx2","unmount","xWithoutOffset","x","getWithOffset","labelDx","xWithOffset","yWithoutOffset","y","labelDy","yWithOffset","strokeDasharray","lineStyle","toBeUndefined","strokeLinecap","labelHorizontalAlignment","labelVerticalAlignment"],"sourceRoot":"../../../../../../src","sources":["lib/Components/visualization/ReferenceLine/ReferenceLine.test.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,EAAE,QAAQ,eAAe;AACpD,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,MAAM,QAAQ,+BAA+B;AACtD,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,aAAa,QAAQ,mCAA0B;AAExD,SAASC,cAAc,QAAQ,4BAAmB;AAElD,SAASC,aAAa,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEhD,MAAMC,YAAY,GAAG,CAAC;EAAEC,EAAE,EAAE,IAAI;EAAEC,MAAM,EAAE,MAAM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AChC,CAAC,CAAC;IAEF7B,EAAE,CAAC,0DAA0D,EAAE,MAAM;MACnE,MAAM;QAAEuB;MAAY,CAAC,GAAGN,aAAa,cACnCT,IAAA,CAACF,aAAa;QACZkB,KAAK,EAAE,EAAG;QACVY,KAAK,EAAC,MAAM;QACZ0B,sBAAsB,EAAC;MAAQ,CAChC,CACH,CAAC;MACD,MAAM1B,KAAK,GAAGb,WAAW,CAAC,sBAAsB,CAAC;MACjDxB,MAAM,CAACqC,KAAK,CAACT,KAAK,CAACa,EAAE,CAAC,CAACX,IAAI,CAAC,GAAG,CAAC;IAClC,CAAC,CAAC;EACJ,CAAC,CAAC;EAEF/B,QAAQ,CAAC,UAAU,EAAE,MAAM;IACzBE,EAAE,CAAC,0DAA0D,EAAE,MAAM;MACnE,MAAM;QAAEkC;MAAc,CAAC,GAAGjB,aAAa,cAACT,IAAA,CAACF,aAAa;QAACkB,KAAK,EAAE;MAAG,CAAE,CAAC,CAAC;MACrEzB,MAAM,CAACmC,aAAa,CAAC,sBAAsB,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IAC1D,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,297 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { describe, expect, it } from '@jest/globals';
|
|
4
|
-
import { getNumericScale } from "../utils/scales/scales.js";
|
|
5
|
-
import { computeHorizontalLabelCoordinates, computeVerticalLabelCoordinates, dominantBaselineToDy, isPixelWithinDrawingArea, resolvePixel } from "./utils.js";
|
|
6
|
-
const drawingArea = {
|
|
7
|
-
x: 20,
|
|
8
|
-
y: 10,
|
|
9
|
-
width: 360,
|
|
10
|
-
height: 180
|
|
11
|
-
};
|
|
12
|
-
const linearScale = getNumericScale({
|
|
13
|
-
scaleType: 'linear',
|
|
14
|
-
domain: {
|
|
15
|
-
min: 0,
|
|
16
|
-
max: 100
|
|
17
|
-
},
|
|
18
|
-
range: {
|
|
19
|
-
min: drawingArea.x,
|
|
20
|
-
max: drawingArea.x + drawingArea.width
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
describe('isPixelWithinDrawingArea', () => {
|
|
24
|
-
describe('x axis', () => {
|
|
25
|
-
it('returns true when pixel is at the left edge', () => {
|
|
26
|
-
expect(isPixelWithinDrawingArea(20, 'x', drawingArea)).toBe(true);
|
|
27
|
-
});
|
|
28
|
-
it('returns true when pixel is at the right edge', () => {
|
|
29
|
-
expect(isPixelWithinDrawingArea(380, 'x', drawingArea)).toBe(true);
|
|
30
|
-
});
|
|
31
|
-
it('returns true when pixel is within bounds', () => {
|
|
32
|
-
expect(isPixelWithinDrawingArea(200, 'x', drawingArea)).toBe(true);
|
|
33
|
-
});
|
|
34
|
-
it('returns false when pixel is before the left edge', () => {
|
|
35
|
-
expect(isPixelWithinDrawingArea(19, 'x', drawingArea)).toBe(false);
|
|
36
|
-
});
|
|
37
|
-
it('returns false when pixel is past the right edge', () => {
|
|
38
|
-
expect(isPixelWithinDrawingArea(381, 'x', drawingArea)).toBe(false);
|
|
39
|
-
});
|
|
40
|
-
});
|
|
41
|
-
describe('y axis', () => {
|
|
42
|
-
it('returns true when pixel is at the top edge', () => {
|
|
43
|
-
expect(isPixelWithinDrawingArea(10, 'y', drawingArea)).toBe(true);
|
|
44
|
-
});
|
|
45
|
-
it('returns true when pixel is at the bottom edge', () => {
|
|
46
|
-
expect(isPixelWithinDrawingArea(190, 'y', drawingArea)).toBe(true);
|
|
47
|
-
});
|
|
48
|
-
it('returns true when pixel is within bounds', () => {
|
|
49
|
-
expect(isPixelWithinDrawingArea(100, 'y', drawingArea)).toBe(true);
|
|
50
|
-
});
|
|
51
|
-
it('returns false when pixel is above the top edge', () => {
|
|
52
|
-
expect(isPixelWithinDrawingArea(9, 'y', drawingArea)).toBe(false);
|
|
53
|
-
});
|
|
54
|
-
it('returns false when pixel is below the bottom edge', () => {
|
|
55
|
-
expect(isPixelWithinDrawingArea(191, 'y', drawingArea)).toBe(false);
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
describe('computeHorizontalLabelCoordinates', () => {
|
|
60
|
-
const pixel = 100;
|
|
61
|
-
it('positions label at the end (right edge) with textAnchor start', () => {
|
|
62
|
-
const result = computeHorizontalLabelCoordinates({
|
|
63
|
-
pixel,
|
|
64
|
-
labelPosition: 'end',
|
|
65
|
-
drawingArea
|
|
66
|
-
});
|
|
67
|
-
expect(result.x).toBe(380);
|
|
68
|
-
expect(result.y).toBe(100);
|
|
69
|
-
expect(result.textAnchor).toBe('start');
|
|
70
|
-
expect(result.dominantBaseline).toBe('hanging');
|
|
71
|
-
});
|
|
72
|
-
it('positions label at the start (left edge) with textAnchor end', () => {
|
|
73
|
-
const result = computeHorizontalLabelCoordinates({
|
|
74
|
-
pixel,
|
|
75
|
-
labelPosition: 'start',
|
|
76
|
-
drawingArea
|
|
77
|
-
});
|
|
78
|
-
expect(result.x).toBe(20);
|
|
79
|
-
expect(result.textAnchor).toBe('end');
|
|
80
|
-
});
|
|
81
|
-
it('positions label at center with textAnchor middle', () => {
|
|
82
|
-
const result = computeHorizontalLabelCoordinates({
|
|
83
|
-
pixel,
|
|
84
|
-
labelPosition: 'center',
|
|
85
|
-
drawingArea
|
|
86
|
-
});
|
|
87
|
-
expect(result.x).toBe(200);
|
|
88
|
-
expect(result.textAnchor).toBe('middle');
|
|
89
|
-
});
|
|
90
|
-
it('applies dx offset', () => {
|
|
91
|
-
const result = computeHorizontalLabelCoordinates({
|
|
92
|
-
pixel,
|
|
93
|
-
labelPosition: 'end',
|
|
94
|
-
drawingArea,
|
|
95
|
-
dx: -8
|
|
96
|
-
});
|
|
97
|
-
expect(result.x).toBe(372);
|
|
98
|
-
});
|
|
99
|
-
it('applies dy offset', () => {
|
|
100
|
-
const result = computeHorizontalLabelCoordinates({
|
|
101
|
-
pixel,
|
|
102
|
-
labelPosition: 'end',
|
|
103
|
-
drawingArea,
|
|
104
|
-
dy: -4
|
|
105
|
-
});
|
|
106
|
-
expect(result.y).toBe(96);
|
|
107
|
-
});
|
|
108
|
-
it('defaults dominantBaseline to hanging (verticalAlignment=end)', () => {
|
|
109
|
-
const result = computeHorizontalLabelCoordinates({
|
|
110
|
-
pixel,
|
|
111
|
-
labelPosition: 'end',
|
|
112
|
-
drawingArea
|
|
113
|
-
});
|
|
114
|
-
expect(result.dominantBaseline).toBe('hanging');
|
|
115
|
-
});
|
|
116
|
-
it('overrides dominantBaseline with verticalAlignment=start', () => {
|
|
117
|
-
const result = computeHorizontalLabelCoordinates({
|
|
118
|
-
pixel,
|
|
119
|
-
labelPosition: 'end',
|
|
120
|
-
drawingArea,
|
|
121
|
-
verticalAlignment: 'start'
|
|
122
|
-
});
|
|
123
|
-
expect(result.dominantBaseline).toBe('auto');
|
|
124
|
-
});
|
|
125
|
-
it('overrides dominantBaseline with verticalAlignment=center', () => {
|
|
126
|
-
const result = computeHorizontalLabelCoordinates({
|
|
127
|
-
pixel,
|
|
128
|
-
labelPosition: 'end',
|
|
129
|
-
drawingArea,
|
|
130
|
-
verticalAlignment: 'center'
|
|
131
|
-
});
|
|
132
|
-
expect(result.dominantBaseline).toBe('central');
|
|
133
|
-
});
|
|
134
|
-
});
|
|
135
|
-
describe('computeVerticalLabelCoordinates', () => {
|
|
136
|
-
const pixel = 150;
|
|
137
|
-
it('positions label at start (top) with dominant-baseline auto', () => {
|
|
138
|
-
const result = computeVerticalLabelCoordinates({
|
|
139
|
-
pixel,
|
|
140
|
-
labelPosition: 'start',
|
|
141
|
-
drawingArea
|
|
142
|
-
});
|
|
143
|
-
expect(result.x).toBe(150);
|
|
144
|
-
expect(result.y).toBe(10);
|
|
145
|
-
expect(result.textAnchor).toBe('middle');
|
|
146
|
-
expect(result.dominantBaseline).toBe('auto');
|
|
147
|
-
});
|
|
148
|
-
it('positions label at end (bottom) with dominant-baseline hanging', () => {
|
|
149
|
-
const result = computeVerticalLabelCoordinates({
|
|
150
|
-
pixel,
|
|
151
|
-
labelPosition: 'end',
|
|
152
|
-
drawingArea
|
|
153
|
-
});
|
|
154
|
-
expect(result.y).toBe(190);
|
|
155
|
-
expect(result.dominantBaseline).toBe('hanging');
|
|
156
|
-
});
|
|
157
|
-
it('positions label at center with dominant-baseline central', () => {
|
|
158
|
-
const result = computeVerticalLabelCoordinates({
|
|
159
|
-
pixel,
|
|
160
|
-
labelPosition: 'center',
|
|
161
|
-
drawingArea
|
|
162
|
-
});
|
|
163
|
-
expect(result.y).toBe(100);
|
|
164
|
-
expect(result.dominantBaseline).toBe('central');
|
|
165
|
-
});
|
|
166
|
-
it('applies dx offset', () => {
|
|
167
|
-
const result = computeVerticalLabelCoordinates({
|
|
168
|
-
pixel,
|
|
169
|
-
labelPosition: 'start',
|
|
170
|
-
drawingArea,
|
|
171
|
-
dx: 4
|
|
172
|
-
});
|
|
173
|
-
expect(result.x).toBe(154);
|
|
174
|
-
});
|
|
175
|
-
it('applies dy offset', () => {
|
|
176
|
-
const result = computeVerticalLabelCoordinates({
|
|
177
|
-
pixel,
|
|
178
|
-
labelPosition: 'start',
|
|
179
|
-
drawingArea,
|
|
180
|
-
dy: 6
|
|
181
|
-
});
|
|
182
|
-
expect(result.y).toBe(16);
|
|
183
|
-
});
|
|
184
|
-
it('defaults textAnchor to middle (horizontalAlignment=center)', () => {
|
|
185
|
-
const result = computeVerticalLabelCoordinates({
|
|
186
|
-
pixel,
|
|
187
|
-
labelPosition: 'start',
|
|
188
|
-
drawingArea
|
|
189
|
-
});
|
|
190
|
-
expect(result.textAnchor).toBe('middle');
|
|
191
|
-
});
|
|
192
|
-
it('overrides textAnchor with horizontalAlignment=start', () => {
|
|
193
|
-
const result = computeVerticalLabelCoordinates({
|
|
194
|
-
pixel,
|
|
195
|
-
labelPosition: 'start',
|
|
196
|
-
drawingArea,
|
|
197
|
-
horizontalAlignment: 'start'
|
|
198
|
-
});
|
|
199
|
-
expect(result.textAnchor).toBe('end');
|
|
200
|
-
});
|
|
201
|
-
it('overrides textAnchor with horizontalAlignment=end', () => {
|
|
202
|
-
const result = computeVerticalLabelCoordinates({
|
|
203
|
-
pixel,
|
|
204
|
-
labelPosition: 'start',
|
|
205
|
-
drawingArea,
|
|
206
|
-
horizontalAlignment: 'end'
|
|
207
|
-
});
|
|
208
|
-
expect(result.textAnchor).toBe('start');
|
|
209
|
-
});
|
|
210
|
-
});
|
|
211
|
-
describe('resolvePixel', () => {
|
|
212
|
-
it('returns a pixel value for a data value within bounds', () => {
|
|
213
|
-
const result = resolvePixel({
|
|
214
|
-
dataValue: 50,
|
|
215
|
-
scale: linearScale,
|
|
216
|
-
axis: 'x',
|
|
217
|
-
drawingArea
|
|
218
|
-
});
|
|
219
|
-
expect(typeof result).toBe('number');
|
|
220
|
-
});
|
|
221
|
-
it('returns undefined when scale is missing', () => {
|
|
222
|
-
expect(resolvePixel({
|
|
223
|
-
dataValue: 50,
|
|
224
|
-
scale: undefined,
|
|
225
|
-
axis: 'x',
|
|
226
|
-
drawingArea
|
|
227
|
-
})).toBeUndefined();
|
|
228
|
-
});
|
|
229
|
-
it('returns undefined when pixel falls outside drawing area', () => {
|
|
230
|
-
expect(resolvePixel({
|
|
231
|
-
dataValue: 200,
|
|
232
|
-
scale: linearScale,
|
|
233
|
-
axis: 'x',
|
|
234
|
-
drawingArea
|
|
235
|
-
})).toBeUndefined();
|
|
236
|
-
});
|
|
237
|
-
it('resolves data index through numeric axisConfig.data', () => {
|
|
238
|
-
const atIndex = resolvePixel({
|
|
239
|
-
dataValue: 50,
|
|
240
|
-
scale: linearScale,
|
|
241
|
-
axis: 'x',
|
|
242
|
-
drawingArea
|
|
243
|
-
});
|
|
244
|
-
const throughData = resolvePixel({
|
|
245
|
-
dataValue: 1,
|
|
246
|
-
scale: linearScale,
|
|
247
|
-
axis: 'x',
|
|
248
|
-
drawingArea,
|
|
249
|
-
axisConfig: {
|
|
250
|
-
data: [0, 50, 100]
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
expect(throughData).toBe(atIndex);
|
|
254
|
-
});
|
|
255
|
-
it('uses index directly when axisConfig.data contains strings', () => {
|
|
256
|
-
const withoutConfig = resolvePixel({
|
|
257
|
-
dataValue: 2,
|
|
258
|
-
scale: linearScale,
|
|
259
|
-
axis: 'x',
|
|
260
|
-
drawingArea
|
|
261
|
-
});
|
|
262
|
-
const withStringData = resolvePixel({
|
|
263
|
-
dataValue: 2,
|
|
264
|
-
scale: linearScale,
|
|
265
|
-
axis: 'x',
|
|
266
|
-
drawingArea,
|
|
267
|
-
axisConfig: {
|
|
268
|
-
data: ['a', 'b', 'c']
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
expect(withStringData).toBe(withoutConfig);
|
|
272
|
-
});
|
|
273
|
-
it('returns undefined when data index is out of bounds', () => {
|
|
274
|
-
expect(resolvePixel({
|
|
275
|
-
dataValue: 10,
|
|
276
|
-
scale: linearScale,
|
|
277
|
-
axis: 'x',
|
|
278
|
-
drawingArea,
|
|
279
|
-
axisConfig: {
|
|
280
|
-
data: [1, 2, 3]
|
|
281
|
-
}
|
|
282
|
-
})).toBeUndefined();
|
|
283
|
-
});
|
|
284
|
-
});
|
|
285
|
-
describe('dominantBaselineToDy', () => {
|
|
286
|
-
const fontSize = 10;
|
|
287
|
-
it('returns 0 for auto (text above anchor)', () => {
|
|
288
|
-
expect(dominantBaselineToDy('auto', fontSize)).toBe(0);
|
|
289
|
-
});
|
|
290
|
-
it('returns fontSize * 0.35 for central (vertically centered)', () => {
|
|
291
|
-
expect(dominantBaselineToDy('central', fontSize)).toBe(3.5);
|
|
292
|
-
});
|
|
293
|
-
it('returns fontSize * 0.8 for hanging (text below anchor)', () => {
|
|
294
|
-
expect(dominantBaselineToDy('hanging', fontSize)).toBe(8);
|
|
295
|
-
});
|
|
296
|
-
});
|
|
297
|
-
//# sourceMappingURL=utils.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","expect","it","getNumericScale","computeHorizontalLabelCoordinates","computeVerticalLabelCoordinates","dominantBaselineToDy","isPixelWithinDrawingArea","resolvePixel","drawingArea","x","y","width","height","linearScale","scaleType","domain","min","max","range","toBe","pixel","result","labelPosition","textAnchor","dominantBaseline","dx","dy","verticalAlignment","horizontalAlignment","dataValue","scale","axis","undefined","toBeUndefined","atIndex","throughData","axisConfig","data","withoutConfig","withStringData","fontSize"],"sourceRoot":"../../../../../../src","sources":["lib/Components/visualization/ReferenceLine/utils.test.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,EAAE,QAAQ,eAAe;AAEpD,SAASC,eAAe,QAAQ,2BAAwB;AAGxD,SACEC,iCAAiC,EACjCC,+BAA+B,EAC/BC,oBAAoB,EACpBC,wBAAwB,EACxBC,YAAY,QACP,YAAS;AAEhB,MAAMC,WAAwB,GAAG;EAAEC,CAAC,EAAE,EAAE;EAAEC,CAAC,EAAE,EAAE;EAAEC,KAAK,EAAE,GAAG;EAAEC,MAAM,EAAE;AAAI,CAAC;AAE1E,MAAMC,WAAW,GAAGX,eAAe,CAAC;EAClCY,SAAS,EAAE,QAAQ;EACnBC,MAAM,EAAE;IAAEC,GAAG,EAAE,CAAC;IAAEC,GAAG,EAAE;EAAI,CAAC;EAC5BC,KAAK,EAAE;IAAEF,GAAG,EAAER,WAAW,CAACC,CAAC;IAAEQ,GAAG,EAAET,WAAW,CAACC,CAAC,GAAGD,WAAW,CAACG;EAAM;AACtE,CAAC,CAAC;AAEFZ,QAAQ,CAAC,0BAA0B,EAAE,MAAM;EACzCA,QAAQ,CAAC,QAAQ,EAAE,MAAM;IACvBE,EAAE,CAAC,6CAA6C,EAAE,MAAM;MACtDD,MAAM,CAACM,wBAAwB,CAAC,EAAE,EAAE,GAAG,EAAEE,WAAW,CAAC,CAAC,CAACW,IAAI,CAAC,IAAI,CAAC;IACnE,CAAC,CAAC;IAEFlB,EAAE,CAAC,8CAA8C,EAAE,MAAM;MACvDD,MAAM,CAACM,wBAAwB,CAAC,GAAG,EAAE,GAAG,EA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