@ledgerhq/lumen-ui-rnative 0.1.69 → 0.1.71
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module/lib/Components/core/Link/Link.js +1 -1
- package/dist/module/lib/Components/core/Pagination/Pagination.js +182 -0
- package/dist/module/lib/Components/core/Pagination/Pagination.js.map +1 -0
- package/dist/module/lib/Components/core/Pagination/index.js +4 -0
- package/dist/module/lib/Components/core/Pagination/index.js.map +1 -0
- package/dist/module/lib/Components/core/Pagination/types.js +4 -0
- package/dist/module/lib/Components/core/Pagination/types.js.map +1 -0
- package/dist/module/lib/Components/core/Timeline/Timeline.js +81 -67
- package/dist/module/lib/Components/core/Timeline/Timeline.js.map +1 -1
- package/dist/module/lib/Components/core/index.js +1 -0
- package/dist/module/lib/Components/core/index.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.js +5 -2
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.js.map +1 -1
- 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/Line/utils.js +1 -1
- package/dist/module/lib/Components/visualization/Point/usePointGeometry.js +1 -1
- package/dist/module/lib/Components/visualization/Point/utils.js +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.js +3 -3
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.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/module/translations/locales/de.json +7 -0
- package/dist/module/translations/locales/en.json +7 -0
- package/dist/module/translations/locales/es.json +7 -0
- package/dist/module/translations/locales/fr.json +7 -0
- package/dist/module/translations/locales/ja.json +7 -0
- package/dist/module/translations/locales/ko.json +7 -0
- package/dist/module/translations/locales/pt.json +7 -0
- package/dist/module/translations/locales/ru.json +7 -0
- package/dist/module/translations/locales/th.json +7 -0
- package/dist/module/translations/locales/tr.json +7 -0
- package/dist/module/translations/locales/zh.json +7 -0
- package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts +15 -0
- package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts +3 -0
- package/dist/typescript/src/lib/Components/core/Pagination/index.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts +29 -0
- package/dist/typescript/src/lib/Components/core/Pagination/types.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts +2 -2
- package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/index.d.ts +1 -0
- package/dist/typescript/src/lib/Components/core/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseButton/BaseButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseButton/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/types.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Axis/types.d.ts +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 +5 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Line/utils.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/visualization/Point/types.d.ts +3 -3
- package/dist/typescript/src/lib/Components/visualization/Point/usePointGeometry.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Point/utils.d.ts +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/dist/typescript/src/translations/translations.d.ts +84 -0
- package/dist/typescript/src/translations/translations.d.ts.map +1 -1
- package/package.json +17 -9
- package/src/lib/Components/core/Link/Link.tsx +1 -1
- package/src/lib/Components/core/Pagination/Pagination.tsx +200 -0
- package/src/lib/Components/core/Pagination/index.ts +2 -0
- package/src/lib/Components/core/Pagination/types.ts +29 -0
- package/src/lib/Components/core/Timeline/Timeline.tsx +79 -75
- package/src/lib/Components/core/index.ts +1 -0
- package/src/lib/Components/internal/BaseButton/BaseButton.tsx +3 -0
- package/src/lib/Components/internal/BaseButton/types.ts +2 -1
- package/src/lib/Components/internal/BaseInput/types.ts +1 -1
- package/src/lib/Components/visualization/Axis/types.ts +1 -1
- 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 +5 -1
- package/src/lib/Components/visualization/Line/utils.ts +1 -1
- package/src/lib/Components/visualization/LineChart/types.ts +3 -3
- package/src/lib/Components/visualization/Point/types.ts +3 -3
- package/src/lib/Components/visualization/Point/usePointGeometry.ts +1 -1
- package/src/lib/Components/visualization/Point/utils.ts +1 -1
- package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.ts +3 -3
- 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/src/translations/locales/de.json +7 -0
- package/src/translations/locales/en.json +7 -0
- package/src/translations/locales/es.json +7 -0
- package/src/translations/locales/fr.json +7 -0
- package/src/translations/locales/ja.json +7 -0
- package/src/translations/locales/ko.json +7 -0
- package/src/translations/locales/pt.json +7 -0
- package/src/translations/locales/ru.json +7 -0
- package/src/translations/locales/th.json +7 -0
- package/src/translations/locales/tr.json +7 -0
- package/src/translations/locales/zh.json +7 -0
- package/dist/module/lib/Components/animations/Pulse/Pulse.mdx +0 -85
- package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js +0 -149
- 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 -126
- 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 -195
- 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 -182
- 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 -276
- 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 -175
- 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 -59
- 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 -473
- 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 -45
- package/dist/module/lib/Components/core/Button/Button.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Button/Button.mdx +0 -167
- package/dist/module/lib/Components/core/Button/Button.stories.js +0 -276
- 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 -287
- package/dist/module/lib/Components/core/Card/Card.stories.js +0 -928
- 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 -342
- 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 -244
- 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 -259
- 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 -201
- 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 -164
- 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 -276
- 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 -102
- 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 -380
- 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 -153
- 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 -243
- 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 -237
- package/dist/module/lib/Components/core/Link/Link.stories.js +0 -453
- 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 -856
- 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 -176
- 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 -180
- 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 -213
- 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 -90
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +0 -184
- 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 -136
- 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 -176
- 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 -93
- 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/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 -117
- 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 -204
- 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 -278
- 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 -128
- 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 -207
- 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 -223
- 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 -207
- 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 -107
- 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 -130
- 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 -172
- 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 -180
- 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 -278
- 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 -592
- 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 -259
- 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 -289
- package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.test.js +0 -234
- 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 -238
- 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 -183
- 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 -89
- 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 -46
- 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 -224
- 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 -57
- 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 -39
- 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 -278
- 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 -316
- 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 -188
- 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 -105
- 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 -158
- 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 -97
- package/src/lib/Components/animations/Spin/Spin.mdx +0 -84
- package/src/lib/Components/animations/Spin/Spin.stories.tsx +0 -70
- 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 -190
- 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 -277
- 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 -135
- 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 -58
- 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 -512
- 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 -57
- package/src/lib/Components/core/Button/Button.mdx +0 -167
- package/src/lib/Components/core/Button/Button.stories.tsx +0 -239
- 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 -287
- package/src/lib/Components/core/Card/Card.stories.tsx +0 -732
- 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 -360
- 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 -240
- 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 -226
- 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 -141
- 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 -127
- 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 -199
- 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 -79
- 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 -244
- 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 -148
- 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 -202
- 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 -237
- package/src/lib/Components/core/Link/Link.stories.tsx +0 -448
- 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 -649
- 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 -186
- 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 -156
- 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 -204
- 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 -90
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +0 -122
- 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 -126
- 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 -142
- 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 -79
- package/src/lib/Components/core/PageIndicator/PageIndicator.test.tsx +0 -269
- 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 -119
- 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 -206
- 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 -278
- 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 -90
- 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 -127
- 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 -216
- 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 -115
- 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 -117
- 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 -104
- 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 -154
- 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 -118
- 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 -270
- 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 -405
- 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 -199
- 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 -250
- package/src/lib/Components/core/Timeline/Timeline.test.tsx +0 -275
- 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 -260
- 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 -179
- 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 -71
- package/src/lib/Components/core/Trend/Trend.test.tsx +0 -124
- package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +0 -148
- 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 -48
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +0 -176
- 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 -52
- 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 -40
- 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 -266
- 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 -331
- 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 -163
- 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 -104
- 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 -176
- 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,440 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { describe, expect, it } from '@jest/globals';
|
|
4
|
-
import { chartConfig, DONUT_GEOMETRY } from "../config.js";
|
|
5
|
-
import { getDonutViewBox, toRingLocalPoint } from "./constants.js";
|
|
6
|
-
import { computeRevealClipPath } from "./RevealAnimation.js";
|
|
7
|
-
import { applyMinSegmentShare, buildPlaceholderSegments, buildRingSegments, findSegmentIdAtPoint, formatPercentLabel, getCenterContentInset, getCenterMaxWidth, getSegmentPercents, roundPercent } from "./utils.js";
|
|
8
|
-
const series = [{
|
|
9
|
-
id: 'bitcoin',
|
|
10
|
-
label: 'Bitcoin',
|
|
11
|
-
value: 50
|
|
12
|
-
}, {
|
|
13
|
-
id: 'ethereum',
|
|
14
|
-
label: 'Ethereum',
|
|
15
|
-
value: 30
|
|
16
|
-
}, {
|
|
17
|
-
id: 'tether',
|
|
18
|
-
label: 'Tether',
|
|
19
|
-
value: 20
|
|
20
|
-
}];
|
|
21
|
-
describe('DONUT_GEOMETRY', () => {
|
|
22
|
-
it('matches the Figma box sizes (md=168, sm=80)', () => {
|
|
23
|
-
expect(DONUT_GEOMETRY.md.box).toBe(168);
|
|
24
|
-
expect(DONUT_GEOMETRY.sm.box).toBe(80);
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
describe('getDonutViewBox', () => {
|
|
28
|
-
it('pads the viewBox by activeOffset on every side', () => {
|
|
29
|
-
expect(getDonutViewBox(DONUT_GEOMETRY.md)).toBe(`-3.36 -3.36 174.72 174.72`);
|
|
30
|
-
expect(getDonutViewBox(DONUT_GEOMETRY.sm)).toBe(`-2 -2 84 84`);
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
describe('getCenterMaxWidth', () => {
|
|
34
|
-
it('fits content inside the inner diameter minus the inset on both sides', () => {
|
|
35
|
-
expect(getCenterMaxWidth('md')).toBe(61 * 2 - 2 * getCenterContentInset('md'));
|
|
36
|
-
expect(getCenterMaxWidth('sm')).toBe(28 * 2 - 2 * getCenterContentInset('sm'));
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
describe('roundPercent', () => {
|
|
40
|
-
it('keeps up to 1 decimal and drops the rest', () => {
|
|
41
|
-
expect(roundPercent(7.24)).toBe(7.2);
|
|
42
|
-
expect(roundPercent(7.26)).toBe(7.3);
|
|
43
|
-
});
|
|
44
|
-
it('absorbs float artifacts', () => {
|
|
45
|
-
expect(roundPercent(7 / 100 * 100)).toBe(7);
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
describe('formatPercentLabel', () => {
|
|
49
|
-
it('suffixes the rounded percent', () => {
|
|
50
|
-
expect(formatPercentLabel(30)).toBe('30%');
|
|
51
|
-
expect(formatPercentLabel(7.254)).toBe('7.3%');
|
|
52
|
-
});
|
|
53
|
-
it('never leaks a float artifact into the label', () => {
|
|
54
|
-
expect(formatPercentLabel(7 / 100 * 100)).toBe('7%');
|
|
55
|
-
});
|
|
56
|
-
it('flags a share too small to round rather than calling it zero', () => {
|
|
57
|
-
expect(formatPercentLabel(0.00001)).toBe('<0.1%');
|
|
58
|
-
expect(formatPercentLabel(0.04)).toBe('<0.1%');
|
|
59
|
-
});
|
|
60
|
-
it('rounds up to a real label as soon as it can', () => {
|
|
61
|
-
expect(formatPercentLabel(0.05)).toBe('0.1%');
|
|
62
|
-
});
|
|
63
|
-
it('reads 0% only for an exact zero', () => {
|
|
64
|
-
expect(formatPercentLabel(0)).toBe('0%');
|
|
65
|
-
});
|
|
66
|
-
});
|
|
67
|
-
describe('applyMinSegmentShare', () => {
|
|
68
|
-
it('leaves the shares alone when every value is already big enough', () => {
|
|
69
|
-
expect(applyMinSegmentShare([50, 30, 20], 0.1)).toEqual([0.5, 0.3, 0.2]);
|
|
70
|
-
});
|
|
71
|
-
it('lifts values under the minimum and still sums to 1', () => {
|
|
72
|
-
const shares = applyMinSegmentShare([98, 1, 1], 0.1);
|
|
73
|
-
expect(shares[0]).toBeCloseTo(0.8, 10);
|
|
74
|
-
expect(shares[1]).toBeCloseTo(0.1, 10);
|
|
75
|
-
expect(shares[2]).toBeCloseTo(0.1, 10);
|
|
76
|
-
expect(shares.reduce((sum, share) => sum + share, 0)).toBeCloseTo(1, 10);
|
|
77
|
-
});
|
|
78
|
-
it('keeps the segments that shrink in proportion to each other', () => {
|
|
79
|
-
const [a, b] = applyMinSegmentShare([60, 39, 1], 0.1);
|
|
80
|
-
expect(a / b).toBeCloseTo(60 / 39, 10);
|
|
81
|
-
});
|
|
82
|
-
it('repeats until a segment shrunk under the minimum is lifted too', () => {
|
|
83
|
-
// A single pass would leave the two 16s at ~0.122, under the minimum.
|
|
84
|
-
const shares = applyMinSegmentShare([60, 16, 16, 7, 1], 0.15);
|
|
85
|
-
expect(shares[0]).toBeCloseTo(0.4, 10);
|
|
86
|
-
shares.slice(1).forEach(share => expect(share).toBeCloseTo(0.15, 10));
|
|
87
|
-
});
|
|
88
|
-
it('caps the minimum at an equal split so it stays satisfiable', () => {
|
|
89
|
-
applyMinSegmentShare([1, 1, 1e-9], 0.9).forEach(share => expect(share).toBeCloseTo(1 / 3, 10));
|
|
90
|
-
});
|
|
91
|
-
it('survives a minimum that leaves no segment to take from', () => {
|
|
92
|
-
// Every share lands on exactly 1/4, so the last pass divides by zero.
|
|
93
|
-
const shares = applyMinSegmentShare([1, 1, 1, 1e-9], 1 / 4);
|
|
94
|
-
shares.forEach(share => expect(share).toBeCloseTo(0.25, 10));
|
|
95
|
-
expect(shares.reduce((sum, share) => sum + share, 0)).toBeCloseTo(1, 10);
|
|
96
|
-
});
|
|
97
|
-
it('returns zeros when there is nothing to distribute', () => {
|
|
98
|
-
expect(applyMinSegmentShare([], 0.1)).toEqual([]);
|
|
99
|
-
expect(applyMinSegmentShare([0, 0], 0.1)).toEqual([0, 0]);
|
|
100
|
-
});
|
|
101
|
-
});
|
|
102
|
-
describe('getSegmentPercents', () => {
|
|
103
|
-
it('computes percent from the summed value', () => {
|
|
104
|
-
expect(getSegmentPercents(series)).toEqual([50, 30, 20]);
|
|
105
|
-
});
|
|
106
|
-
it('returns an empty array for an empty series', () => {
|
|
107
|
-
expect(getSegmentPercents([])).toEqual([]);
|
|
108
|
-
});
|
|
109
|
-
it('treats negatives as zero', () => {
|
|
110
|
-
expect(getSegmentPercents([{
|
|
111
|
-
id: 'a',
|
|
112
|
-
label: 'A',
|
|
113
|
-
value: -10
|
|
114
|
-
}, {
|
|
115
|
-
id: 'b',
|
|
116
|
-
label: 'B',
|
|
117
|
-
value: 10
|
|
118
|
-
}])).toEqual([0, 100]);
|
|
119
|
-
});
|
|
120
|
-
it('returns all zeros when the total is zero', () => {
|
|
121
|
-
expect(getSegmentPercents([{
|
|
122
|
-
id: 'a',
|
|
123
|
-
label: 'A',
|
|
124
|
-
value: 0
|
|
125
|
-
}, {
|
|
126
|
-
id: 'b',
|
|
127
|
-
label: 'B',
|
|
128
|
-
value: 0
|
|
129
|
-
}])).toEqual([0, 0]);
|
|
130
|
-
});
|
|
131
|
-
});
|
|
132
|
-
describe('buildRingSegments', () => {
|
|
133
|
-
it('returns one ring segment per series entry in series order', () => {
|
|
134
|
-
const segments = buildRingSegments(series, DONUT_GEOMETRY.md);
|
|
135
|
-
expect(segments.map(a => a.id)).toEqual(['bitcoin', 'ethereum', 'tether']);
|
|
136
|
-
});
|
|
137
|
-
it('carries the percent and color override per segment', () => {
|
|
138
|
-
const segments = buildRingSegments([{
|
|
139
|
-
id: 'a',
|
|
140
|
-
label: 'A',
|
|
141
|
-
value: 1,
|
|
142
|
-
color: '#f7931a'
|
|
143
|
-
}], DONUT_GEOMETRY.sm);
|
|
144
|
-
expect(segments[0].color).toBe('#f7931a');
|
|
145
|
-
expect(segments[0].percent).toBe(100);
|
|
146
|
-
expect(segments[0].path.length).toBeGreaterThan(0);
|
|
147
|
-
});
|
|
148
|
-
it('leaves color undefined when the segment has no override', () => {
|
|
149
|
-
const segments = buildRingSegments([{
|
|
150
|
-
id: 'a',
|
|
151
|
-
label: 'A',
|
|
152
|
-
value: 1
|
|
153
|
-
}], DONUT_GEOMETRY.md);
|
|
154
|
-
expect(segments[0].color).toBeUndefined();
|
|
155
|
-
});
|
|
156
|
-
it('drops zero and negative segments while keeping positive ones', () => {
|
|
157
|
-
const segments = buildRingSegments([{
|
|
158
|
-
id: 'a',
|
|
159
|
-
label: 'A',
|
|
160
|
-
value: 50
|
|
161
|
-
}, {
|
|
162
|
-
id: 'zero',
|
|
163
|
-
label: 'Zero',
|
|
164
|
-
value: 0
|
|
165
|
-
}, {
|
|
166
|
-
id: 'neg',
|
|
167
|
-
label: 'Neg',
|
|
168
|
-
value: -10
|
|
169
|
-
}, {
|
|
170
|
-
id: 'b',
|
|
171
|
-
label: 'B',
|
|
172
|
-
value: 50
|
|
173
|
-
}], DONUT_GEOMETRY.md);
|
|
174
|
-
expect(segments.map(a => a.id)).toEqual(['a', 'b']);
|
|
175
|
-
expect(segments.map(a => a.percent)).toEqual([50, 50]);
|
|
176
|
-
});
|
|
177
|
-
it('returns no segments for an empty series', () => {
|
|
178
|
-
expect(buildRingSegments([], DONUT_GEOMETRY.md)).toEqual([]);
|
|
179
|
-
});
|
|
180
|
-
it('returns no segments when every value is zero', () => {
|
|
181
|
-
expect(buildRingSegments([{
|
|
182
|
-
id: 'a',
|
|
183
|
-
label: 'A',
|
|
184
|
-
value: 0
|
|
185
|
-
}, {
|
|
186
|
-
id: 'b',
|
|
187
|
-
label: 'B',
|
|
188
|
-
value: 0
|
|
189
|
-
}], DONUT_GEOMETRY.md)).toEqual([]);
|
|
190
|
-
});
|
|
191
|
-
it('rounds the corners of both halves of an equal 2-segment ring', () => {
|
|
192
|
-
const cornerArc = new RegExp(`A${DONUT_GEOMETRY.md.cornerRadius},`);
|
|
193
|
-
const segments = buildRingSegments([{
|
|
194
|
-
id: 'a',
|
|
195
|
-
label: 'A',
|
|
196
|
-
value: 1
|
|
197
|
-
}, {
|
|
198
|
-
id: 'b',
|
|
199
|
-
label: 'B',
|
|
200
|
-
value: 1
|
|
201
|
-
}], DONUT_GEOMETRY.md);
|
|
202
|
-
segments.forEach(a => expect(a.path).toMatch(cornerArc));
|
|
203
|
-
});
|
|
204
|
-
it('computes midAngle and activeTranslate per segment', () => {
|
|
205
|
-
const segments = buildRingSegments(series, DONUT_GEOMETRY.md);
|
|
206
|
-
const offset = DONUT_GEOMETRY.md.activeOffset;
|
|
207
|
-
segments.forEach(segment => {
|
|
208
|
-
expect(segment.midAngle).toBeGreaterThanOrEqual(0);
|
|
209
|
-
expect(segment.midAngle).toBeLessThanOrEqual(2 * Math.PI);
|
|
210
|
-
const magnitude = Math.hypot(segment.activeTranslate.x, segment.activeTranslate.y);
|
|
211
|
-
expect(magnitude).toBeCloseTo(offset);
|
|
212
|
-
});
|
|
213
|
-
});
|
|
214
|
-
it("pushes the first segment radially upward from 12 o'clock", () => {
|
|
215
|
-
const [first] = buildRingSegments([{
|
|
216
|
-
id: 'a',
|
|
217
|
-
label: 'A',
|
|
218
|
-
value: 1
|
|
219
|
-
}, {
|
|
220
|
-
id: 'b',
|
|
221
|
-
label: 'B',
|
|
222
|
-
value: 1
|
|
223
|
-
}], DONUT_GEOMETRY.md);
|
|
224
|
-
expect(first.activeTranslate.y).toBeLessThan(0);
|
|
225
|
-
});
|
|
226
|
-
it('disables active animation for a single segment', () => {
|
|
227
|
-
const [segment] = buildRingSegments([{
|
|
228
|
-
id: 'a',
|
|
229
|
-
label: 'A',
|
|
230
|
-
value: 1
|
|
231
|
-
}], DONUT_GEOMETRY.md);
|
|
232
|
-
expect(segment.activeEnabled).toBe(false);
|
|
233
|
-
expect(segment.activeTranslate).toEqual({
|
|
234
|
-
x: 0,
|
|
235
|
-
y: 0
|
|
236
|
-
});
|
|
237
|
-
});
|
|
238
|
-
describe('with a value too small to see', () => {
|
|
239
|
-
const geometry = DONUT_GEOMETRY.md;
|
|
240
|
-
const midRadius = (geometry.innerRadius + geometry.outerRadius) / 2;
|
|
241
|
-
const minVisibleAngle = geometry.minSegmentArc / midRadius;
|
|
242
|
-
const withDust = [{
|
|
243
|
-
id: 'dust',
|
|
244
|
-
label: 'Dust',
|
|
245
|
-
value: 0.00001
|
|
246
|
-
}, {
|
|
247
|
-
id: 'a',
|
|
248
|
-
label: 'A',
|
|
249
|
-
value: 50
|
|
250
|
-
}, {
|
|
251
|
-
id: 'b',
|
|
252
|
-
label: 'B',
|
|
253
|
-
value: 50
|
|
254
|
-
}];
|
|
255
|
-
it('draws it at the minimum visible arc instead of vanishing', () => {
|
|
256
|
-
const [dust] = buildRingSegments(withDust, geometry);
|
|
257
|
-
const visibleSpan = dust.endAngle - dust.startAngle - geometry.padAngle;
|
|
258
|
-
expect(visibleSpan).toBeCloseTo(minVisibleAngle, 6);
|
|
259
|
-
expect(dust.path).toMatch(/^M/);
|
|
260
|
-
});
|
|
261
|
-
it('still covers the full ring after taking room from the others', () => {
|
|
262
|
-
const segments = buildRingSegments(withDust, geometry);
|
|
263
|
-
const covered = segments.reduce((total, segment) => total + (segment.endAngle - segment.startAngle), 0);
|
|
264
|
-
expect(covered).toBeCloseTo(2 * Math.PI, 10);
|
|
265
|
-
expect(segments[0].startAngle).toBe(0);
|
|
266
|
-
});
|
|
267
|
-
it('leaves the reported percent untouched', () => {
|
|
268
|
-
const [dust] = buildRingSegments(withDust, geometry);
|
|
269
|
-
expect(dust.percent).toBeLessThan(0.001);
|
|
270
|
-
expect(formatPercentLabel(dust.percent)).toBe('<0.1%');
|
|
271
|
-
});
|
|
272
|
-
it('makes it tappable at its own midAngle', () => {
|
|
273
|
-
const segments = buildRingSegments(withDust, geometry);
|
|
274
|
-
const [dust] = segments;
|
|
275
|
-
const point = {
|
|
276
|
-
x: Math.sin(dust.midAngle) * midRadius,
|
|
277
|
-
y: -Math.cos(dust.midAngle) * midRadius
|
|
278
|
-
};
|
|
279
|
-
expect(findSegmentIdAtPoint(segments, point, geometry)).toBe('dust');
|
|
280
|
-
});
|
|
281
|
-
it('applies the minimum at every ring size', () => {
|
|
282
|
-
const [dust] = buildRingSegments(withDust, DONUT_GEOMETRY.sm);
|
|
283
|
-
const smMidRadius = (DONUT_GEOMETRY.sm.innerRadius + DONUT_GEOMETRY.sm.outerRadius) / 2;
|
|
284
|
-
const visibleSpan = dust.endAngle - dust.startAngle - DONUT_GEOMETRY.sm.padAngle;
|
|
285
|
-
expect(visibleSpan).toBeCloseTo(DONUT_GEOMETRY.sm.minSegmentArc / smMidRadius, 6);
|
|
286
|
-
});
|
|
287
|
-
});
|
|
288
|
-
});
|
|
289
|
-
describe('buildPlaceholderSegments', () => {
|
|
290
|
-
const {
|
|
291
|
-
segmentValues
|
|
292
|
-
} = chartConfig.donut.placeholder;
|
|
293
|
-
it('returns one index-named segment per configured placeholder value', () => {
|
|
294
|
-
const segments = buildPlaceholderSegments(DONUT_GEOMETRY.md);
|
|
295
|
-
expect(segments).toHaveLength(segmentValues.length);
|
|
296
|
-
expect(segments.map(segment => segment.id)).toEqual(segmentValues.map((_, index) => `placeholder-${index}`));
|
|
297
|
-
});
|
|
298
|
-
it('produces a non-empty path per placeholder segment', () => {
|
|
299
|
-
const segments = buildPlaceholderSegments(DONUT_GEOMETRY.md);
|
|
300
|
-
segments.forEach(segment => expect(segment.path).toMatch(/^M/));
|
|
301
|
-
});
|
|
302
|
-
it('computes midAngle per placeholder segment', () => {
|
|
303
|
-
const segments = buildPlaceholderSegments(DONUT_GEOMETRY.md);
|
|
304
|
-
segments.forEach(segment => {
|
|
305
|
-
expect(segment.midAngle).toBeGreaterThanOrEqual(0);
|
|
306
|
-
expect(segment.midAngle).toBeLessThanOrEqual(2 * Math.PI);
|
|
307
|
-
});
|
|
308
|
-
});
|
|
309
|
-
});
|
|
310
|
-
describe('toRingLocalPoint', () => {
|
|
311
|
-
it('maps the gesture overlay center to the segment-space origin', () => {
|
|
312
|
-
const {
|
|
313
|
-
box
|
|
314
|
-
} = DONUT_GEOMETRY.md;
|
|
315
|
-
expect(toRingLocalPoint({
|
|
316
|
-
x: box / 2,
|
|
317
|
-
y: box / 2
|
|
318
|
-
}, DONUT_GEOMETRY.md)).toEqual({
|
|
319
|
-
x: 0,
|
|
320
|
-
y: 0
|
|
321
|
-
});
|
|
322
|
-
});
|
|
323
|
-
it('maps the overlay top-left corner outside the outer radius', () => {
|
|
324
|
-
const point = toRingLocalPoint({
|
|
325
|
-
x: 0,
|
|
326
|
-
y: 0
|
|
327
|
-
}, DONUT_GEOMETRY.md);
|
|
328
|
-
const radius = Math.hypot(point.x, point.y);
|
|
329
|
-
expect(radius).toBeGreaterThan(DONUT_GEOMETRY.md.outerRadius);
|
|
330
|
-
});
|
|
331
|
-
});
|
|
332
|
-
describe('findSegmentIdAtPoint', () => {
|
|
333
|
-
const midRadius = (DONUT_GEOMETRY.md.innerRadius + DONUT_GEOMETRY.md.outerRadius) / 2;
|
|
334
|
-
const twoHalves = [{
|
|
335
|
-
id: 'a',
|
|
336
|
-
label: 'A',
|
|
337
|
-
value: 1
|
|
338
|
-
}, {
|
|
339
|
-
id: 'b',
|
|
340
|
-
label: 'B',
|
|
341
|
-
value: 1
|
|
342
|
-
}];
|
|
343
|
-
it('returns null inside the hole (below innerRadius)', () => {
|
|
344
|
-
const segments = buildRingSegments(twoHalves, DONUT_GEOMETRY.md);
|
|
345
|
-
expect(findSegmentIdAtPoint(segments, {
|
|
346
|
-
x: 0,
|
|
347
|
-
y: 0
|
|
348
|
-
}, DONUT_GEOMETRY.md)).toBeNull();
|
|
349
|
-
});
|
|
350
|
-
it('returns null beyond outerRadius', () => {
|
|
351
|
-
const segments = buildRingSegments(twoHalves, DONUT_GEOMETRY.md);
|
|
352
|
-
expect(findSegmentIdAtPoint(segments, {
|
|
353
|
-
x: 0,
|
|
354
|
-
y: -200
|
|
355
|
-
}, DONUT_GEOMETRY.md)).toBeNull();
|
|
356
|
-
});
|
|
357
|
-
it('resolves a point at the top of the ring to the first segment', () => {
|
|
358
|
-
const segments = buildRingSegments(twoHalves, DONUT_GEOMETRY.md);
|
|
359
|
-
expect(findSegmentIdAtPoint(segments, {
|
|
360
|
-
x: 0,
|
|
361
|
-
y: -midRadius
|
|
362
|
-
}, DONUT_GEOMETRY.md)).toBe('a');
|
|
363
|
-
});
|
|
364
|
-
it('resolves a point at the bottom of the ring to the second segment', () => {
|
|
365
|
-
const segments = buildRingSegments(twoHalves, DONUT_GEOMETRY.md);
|
|
366
|
-
expect(findSegmentIdAtPoint(segments, {
|
|
367
|
-
x: 0,
|
|
368
|
-
y: midRadius
|
|
369
|
-
}, DONUT_GEOMETRY.md)).toBe('b');
|
|
370
|
-
});
|
|
371
|
-
it('resolves each series segment at its own midAngle', () => {
|
|
372
|
-
const segments = buildRingSegments(series, DONUT_GEOMETRY.md);
|
|
373
|
-
segments.forEach(segment => {
|
|
374
|
-
const point = {
|
|
375
|
-
x: Math.sin(segment.midAngle) * midRadius,
|
|
376
|
-
y: -Math.cos(segment.midAngle) * midRadius
|
|
377
|
-
};
|
|
378
|
-
expect(findSegmentIdAtPoint(segments, point, DONUT_GEOMETRY.md)).toBe(segment.id);
|
|
379
|
-
});
|
|
380
|
-
});
|
|
381
|
-
it('returns null for an empty series', () => {
|
|
382
|
-
expect(findSegmentIdAtPoint([], {
|
|
383
|
-
x: 0,
|
|
384
|
-
y: -midRadius
|
|
385
|
-
}, DONUT_GEOMETRY.md)).toBeNull();
|
|
386
|
-
});
|
|
387
|
-
it.each([['md', DONUT_GEOMETRY.md], ['sm', DONUT_GEOMETRY.sm]])('extends the tappable radius outward by hitSlopRadius (%s)', (_size, geometry) => {
|
|
388
|
-
const segments = buildRingSegments(twoHalves, geometry);
|
|
389
|
-
const justOutside = geometry.outerRadius + geometry.hitSlopRadius - 1;
|
|
390
|
-
expect(findSegmentIdAtPoint(segments, {
|
|
391
|
-
x: 0,
|
|
392
|
-
y: -justOutside
|
|
393
|
-
}, geometry)).toBe('a');
|
|
394
|
-
});
|
|
395
|
-
it('still rejects taps beyond the padded outer radius', () => {
|
|
396
|
-
const segments = buildRingSegments(twoHalves, DONUT_GEOMETRY.md);
|
|
397
|
-
const {
|
|
398
|
-
outerRadius,
|
|
399
|
-
hitSlopRadius
|
|
400
|
-
} = DONUT_GEOMETRY.md;
|
|
401
|
-
const wayOutside = outerRadius + hitSlopRadius + 1;
|
|
402
|
-
expect(findSegmentIdAtPoint(segments, {
|
|
403
|
-
x: 0,
|
|
404
|
-
y: -wayOutside
|
|
405
|
-
}, DONUT_GEOMETRY.md)).toBeNull();
|
|
406
|
-
});
|
|
407
|
-
it('extends the tappable radius inward into the hole by hitSlopRadius', () => {
|
|
408
|
-
const segments = buildRingSegments(twoHalves, DONUT_GEOMETRY.md);
|
|
409
|
-
const {
|
|
410
|
-
innerRadius,
|
|
411
|
-
hitSlopRadius
|
|
412
|
-
} = DONUT_GEOMETRY.md;
|
|
413
|
-
const justInsideHole = innerRadius - hitSlopRadius + 1;
|
|
414
|
-
expect(findSegmentIdAtPoint(segments, {
|
|
415
|
-
x: 0,
|
|
416
|
-
y: -justInsideHole
|
|
417
|
-
}, DONUT_GEOMETRY.md)).toBe('a');
|
|
418
|
-
});
|
|
419
|
-
it('still rejects taps deep inside the hole', () => {
|
|
420
|
-
const segments = buildRingSegments(twoHalves, DONUT_GEOMETRY.md);
|
|
421
|
-
expect(findSegmentIdAtPoint(segments, {
|
|
422
|
-
x: 0,
|
|
423
|
-
y: 0
|
|
424
|
-
}, DONUT_GEOMETRY.md)).toBeNull();
|
|
425
|
-
});
|
|
426
|
-
});
|
|
427
|
-
describe('computeRevealClipPath', () => {
|
|
428
|
-
const R = 84;
|
|
429
|
-
it('returns the full-circle path when progress is complete', () => {
|
|
430
|
-
expect(computeRevealClipPath(R, 1)).toBe(`M0,-${R} A${R},${R} 0 1 1 -0.001,-${R} Z`);
|
|
431
|
-
expect(computeRevealClipPath(R, 1.5)).toBe(`M0,-${R} A${R},${R} 0 1 1 -0.001,-${R} Z`);
|
|
432
|
-
});
|
|
433
|
-
it('uses largeArc=0 when progress is below 50%', () => {
|
|
434
|
-
expect(computeRevealClipPath(R, 0.3)).toContain(' 0 1 ');
|
|
435
|
-
});
|
|
436
|
-
it('uses largeArc=1 when progress exceeds 50%', () => {
|
|
437
|
-
expect(computeRevealClipPath(R, 0.7)).toContain(' 1 1 ');
|
|
438
|
-
});
|
|
439
|
-
});
|
|
440
|
-
//# sourceMappingURL=utils.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","expect","it","chartConfig","DONUT_GEOMETRY","getDonutViewBox","toRingLocalPoint","computeRevealClipPath","applyMinSegmentShare","buildPlaceholderSegments","buildRingSegments","findSegmentIdAtPoint","formatPercentLabel","getCenterContentInset","getCenterMaxWidth","getSegmentPercents","roundPercent","series","id","label","value","md","box","toBe","sm","toEqual","shares","toBeCloseTo","reduce","sum","share","a","b","slice","forEach","segments","map","color","percent","path","length","toBeGreaterThan","toBeUndefined","cornerArc","RegExp","cornerRadius","toMatch","offset","activeOffset","segment","midAngle","toBeGreaterThanOrEqual","toBeLessThanOrEqual","Math","PI","magnitude","hypot","activeTranslate","x","y","first","toBeLessThan","activeEnabled","geometry","midRadius","innerRadius","outerRadius","minVisibleAngle","minSegmentArc","withDust","dust","visibleSpan","endAngle","startAngle","padAngle","covered","total","point","sin","cos","smMidRadius","segmentValues","donut","placeholder","toHaveLength","_","index","radius","twoHalves","toBeNull","each","_size","justOutside","hitSlopRadius","wayOutside","justInsideHole","R","toContain"],"sourceRoot":"../../../../../../src","sources":["lib/Components/visualization/DonutChart/utils.test.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,EAAE,QAAQ,eAAe;AAEpD,SAASC,WAAW,EAAEC,cAAc,QAA4B,cAAW;AAC3E,SAASC,eAAe,EAAEC,gBAAgB,QAAQ,gBAAa;AAC/D,SAASC,qBAAqB,QAAQ,sBAAmB;AAEzD,SACEC,oBAAoB,EACpBC,wBAAwB,EACxBC,iBAAiB,EACjBC,oBAAoB,EACpBC,kBAAkB,EAClBC,qBAAqB,EACrBC,iBAAiB,EACjBC,kBAAkB,EAClBC,YAAY,QACP,YAAS;AAEhB,MAAMC,MA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
3
|
-
import { describe, expect, it } from '@jest/globals';
|
|
4
|
-
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
5
|
-
import { render, within } from '@testing-library/react-native';
|
|
6
|
-
import { ThemeProvider } from "../../core/ThemeProvider/index.js";
|
|
7
|
-
import { Legend } from "./Legend.js";
|
|
8
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
-
const sampleItems = [{
|
|
10
|
-
id: 'bitcoin',
|
|
11
|
-
label: 'Bitcoin',
|
|
12
|
-
color: '#F7931A'
|
|
13
|
-
}, {
|
|
14
|
-
id: 'ethereum',
|
|
15
|
-
label: 'Ethereum',
|
|
16
|
-
color: '#627EEA'
|
|
17
|
-
}, {
|
|
18
|
-
id: 'tether',
|
|
19
|
-
label: 'Tether',
|
|
20
|
-
color: '#26A17B'
|
|
21
|
-
}];
|
|
22
|
-
const renderWithTheme = children => render(/*#__PURE__*/_jsx(ThemeProvider, {
|
|
23
|
-
themes: ledgerLiveThemes,
|
|
24
|
-
colorScheme: "light",
|
|
25
|
-
children: children
|
|
26
|
-
}));
|
|
27
|
-
describe('Legend', () => {
|
|
28
|
-
it('renders one item per entry in order', () => {
|
|
29
|
-
const {
|
|
30
|
-
getAllByRole
|
|
31
|
-
} = renderWithTheme(/*#__PURE__*/_jsx(Legend, {
|
|
32
|
-
series: sampleItems
|
|
33
|
-
}));
|
|
34
|
-
const items = getAllByRole('listitem');
|
|
35
|
-
expect(items).toHaveLength(3);
|
|
36
|
-
expect(items.map(item => within(item).getByText(/.+/).props.children)).toEqual(['Bitcoin', 'Ethereum', 'Tether']);
|
|
37
|
-
});
|
|
38
|
-
it('renders nothing when series is empty', () => {
|
|
39
|
-
const {
|
|
40
|
-
toJSON
|
|
41
|
-
} = renderWithTheme(/*#__PURE__*/_jsx(Legend, {
|
|
42
|
-
series: []
|
|
43
|
-
}));
|
|
44
|
-
expect(toJSON()).toBeNull();
|
|
45
|
-
});
|
|
46
|
-
it('falls back to id when label is omitted', () => {
|
|
47
|
-
const {
|
|
48
|
-
getByText
|
|
49
|
-
} = renderWithTheme(/*#__PURE__*/_jsx(Legend, {
|
|
50
|
-
series: [{
|
|
51
|
-
id: 'segment-a'
|
|
52
|
-
}]
|
|
53
|
-
}));
|
|
54
|
-
expect(getByText('segment-a')).toBeTruthy();
|
|
55
|
-
});
|
|
56
|
-
it('truncates a label that does not fit on one line', () => {
|
|
57
|
-
const {
|
|
58
|
-
getByText
|
|
59
|
-
} = renderWithTheme(/*#__PURE__*/_jsx(Legend, {
|
|
60
|
-
series: [{
|
|
61
|
-
id: 'a',
|
|
62
|
-
label: 'A very long series label'
|
|
63
|
-
}]
|
|
64
|
-
}));
|
|
65
|
-
expect(getByText('A very long series label').props.numberOfLines).toBe(1);
|
|
66
|
-
});
|
|
67
|
-
it('uses the item color on the swatch', () => {
|
|
68
|
-
const {
|
|
69
|
-
getByTestId
|
|
70
|
-
} = renderWithTheme(/*#__PURE__*/_jsx(Legend, {
|
|
71
|
-
series: [{
|
|
72
|
-
id: 'a',
|
|
73
|
-
label: 'A',
|
|
74
|
-
color: 'rgb(255, 0, 0)'
|
|
75
|
-
}]
|
|
76
|
-
}));
|
|
77
|
-
expect(getByTestId('legend-swatch').props.style).toEqual(expect.objectContaining({
|
|
78
|
-
backgroundColor: 'rgb(255, 0, 0)'
|
|
79
|
-
}));
|
|
80
|
-
});
|
|
81
|
-
it('uses the default swatch color when color is omitted', () => {
|
|
82
|
-
const {
|
|
83
|
-
getByTestId
|
|
84
|
-
} = renderWithTheme(/*#__PURE__*/_jsx(Legend, {
|
|
85
|
-
series: [{
|
|
86
|
-
id: 'a',
|
|
87
|
-
label: 'A'
|
|
88
|
-
}]
|
|
89
|
-
}));
|
|
90
|
-
expect(getByTestId('legend-swatch').props.style).toEqual(expect.objectContaining({
|
|
91
|
-
backgroundColor: ledgerLiveThemes.light.colors.bg.mutedStrong
|
|
92
|
-
}));
|
|
93
|
-
});
|
|
94
|
-
it('does not expose pressable legend items', () => {
|
|
95
|
-
const {
|
|
96
|
-
getAllByRole
|
|
97
|
-
} = renderWithTheme(/*#__PURE__*/_jsx(Legend, {
|
|
98
|
-
series: sampleItems
|
|
99
|
-
}));
|
|
100
|
-
getAllByRole('listitem').forEach(item => {
|
|
101
|
-
expect(item.props.onPress).toBeUndefined();
|
|
102
|
-
});
|
|
103
|
-
});
|
|
104
|
-
it('exposes the legend group with an accessible label', () => {
|
|
105
|
-
const {
|
|
106
|
-
getByLabelText
|
|
107
|
-
} = renderWithTheme(/*#__PURE__*/_jsx(Legend, {
|
|
108
|
-
series: sampleItems,
|
|
109
|
-
accessibilityLabel: "Portfolio allocation"
|
|
110
|
-
}));
|
|
111
|
-
expect(getByLabelText('Portfolio allocation')).toBeTruthy();
|
|
112
|
-
});
|
|
113
|
-
it('merges consumer styles into the root', () => {
|
|
114
|
-
const {
|
|
115
|
-
toJSON
|
|
116
|
-
} = renderWithTheme(/*#__PURE__*/_jsx(Legend, {
|
|
117
|
-
series: sampleItems,
|
|
118
|
-
style: {
|
|
119
|
-
maxWidth: 176
|
|
120
|
-
}
|
|
121
|
-
}));
|
|
122
|
-
// The list root is not an accessibility element, so role queries skip it.
|
|
123
|
-
expect(toJSON()).toMatchObject({
|
|
124
|
-
props: {
|
|
125
|
-
role: 'list',
|
|
126
|
-
style: expect.objectContaining({
|
|
127
|
-
maxWidth: 176,
|
|
128
|
-
flexWrap: 'wrap'
|
|
129
|
-
})
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
//# sourceMappingURL=Legend.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","expect","it","ledgerLiveThemes","render","within","ThemeProvider","Legend","jsx","_jsx","sampleItems","id","label","color","renderWithTheme","children","themes","colorScheme","getAllByRole","series","items","toHaveLength","map","item","getByText","props","toEqual","toJSON","toBeNull","toBeTruthy","numberOfLines","toBe","getByTestId","style","objectContaining","backgroundColor","light","colors","bg","mutedStrong","forEach","onPress","toBeUndefined","getByLabelText","accessibilityLabel","maxWidth","toMatchObject","role","flexWrap"],"sourceRoot":"../../../../../../src","sources":["lib/Components/visualization/Legend/Legend.test.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,EAAE,QAAQ,eAAe;AACpD,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,MAAM,EAAEC,MAAM,QAAQ,+BAA+B;AAC9D,SAASC,aAAa,QAAQ,mCAA0B;AAExD,SAASC,MAAM,QAAQ,aAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAElC,MAAMC,WAAW,GAAG,CAClB;EAAEC,EAAE,EAAE,SAAS;EAAEC,KAAK,EAAE,SAAS;EAAEC,KAAK,EAAE;AAAU,CAAC,EACrD;EAAEF,EAAE,EAAE,UAAU;EAAEC,KAAK,EAAE,UAAU;EAAEC,KAAK,EAAE;AAAU,CAAC,EACvD;EAAEF,EAAE,EAAE,QAAQ;EAAEC,KAAK,EAAE,QAAQ;EAAEC,KAAK,EAAE;AAAU,CAAC,CACpD;AAED,MAAMC,eAAe,GAAIC,QAAyB,IAChDX,MAAM,cACJK,IAAA,CAACH,aAAa;EAACU,MAAM,EAAEb,gBAAiB;EAACc,WAAW,EAAC,OAAO;EAAAF,QAAA,EACzDA;AAAQ,CACI,CACjB,CAAC;AAEHf,QAAQ,CAAC,QAAQ,EAAE,MAAM;EACvBE,EAAE,CAAC,qCAAqC,EAAE,MAAM;IAC9C,MAAM;MAAEgB;IAAa,CAAC,GAAGJ,eAAe,cAACL,IAAA,CAACF,MAAM;MAACY,MAAM,EAAET;IAAY,CAAE,CAAC,CAAC;IAEzE,MAAMU,KAAK,GAAGF,YAAY,CAAC,UAAU,CAAC;IACtCjB,MAAM,CAACmB,KAAK,CAAC,CAACC,YAAY,CAAC,CAAC,CAAC;IAC7BpB,MAAM,CACJmB,KAAK,CAACE,GAAG,CAAEC,IAAI,IAAKlB,MAAM,CAACkB,IAAI,C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