@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,291 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { describe, expect, it, jest } from '@jest/globals';
|
|
4
|
-
import { fireEvent, render, screen } from '@testing-library/react-native';
|
|
5
|
-
import { createRef } from 'react';
|
|
6
|
-
import { Pressable } from 'react-native';
|
|
7
|
-
import { LumenStyleSheetProvider } from "../provider/LumenStyleSheetProvider.js";
|
|
8
|
-
import { createStyledPressable } from "./createStyledPressable.js";
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
const testThemes = {
|
|
11
|
-
light: {
|
|
12
|
-
spacings: {
|
|
13
|
-
s8: 8,
|
|
14
|
-
s16: 16
|
|
15
|
-
},
|
|
16
|
-
sizes: {
|
|
17
|
-
s48: 48,
|
|
18
|
-
full: '100%'
|
|
19
|
-
},
|
|
20
|
-
colors: {
|
|
21
|
-
bg: {
|
|
22
|
-
surface: '#F0F0F0',
|
|
23
|
-
accent: '#6B21A8'
|
|
24
|
-
},
|
|
25
|
-
border: {}
|
|
26
|
-
},
|
|
27
|
-
borderRadius: {
|
|
28
|
-
md: 12
|
|
29
|
-
},
|
|
30
|
-
shadows: {},
|
|
31
|
-
typographies: {
|
|
32
|
-
xs: {
|
|
33
|
-
heading: {},
|
|
34
|
-
body: {}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
|
-
dark: {
|
|
39
|
-
spacings: {
|
|
40
|
-
s8: 8,
|
|
41
|
-
s16: 16
|
|
42
|
-
},
|
|
43
|
-
sizes: {
|
|
44
|
-
s48: 48,
|
|
45
|
-
full: '100%'
|
|
46
|
-
},
|
|
47
|
-
colors: {
|
|
48
|
-
bg: {
|
|
49
|
-
surface: '#1C1C1E',
|
|
50
|
-
accent: '#A855F7'
|
|
51
|
-
},
|
|
52
|
-
border: {}
|
|
53
|
-
},
|
|
54
|
-
borderRadius: {
|
|
55
|
-
md: 12
|
|
56
|
-
},
|
|
57
|
-
shadows: {},
|
|
58
|
-
typographies: {
|
|
59
|
-
xs: {
|
|
60
|
-
heading: {},
|
|
61
|
-
body: {}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
const renderWithProvider = children => render(/*#__PURE__*/_jsx(LumenStyleSheetProvider, {
|
|
67
|
-
themes: testThemes,
|
|
68
|
-
children: children
|
|
69
|
-
}));
|
|
70
|
-
describe('createStyledPressable', () => {
|
|
71
|
-
const StyledPressable = createStyledPressable(Pressable);
|
|
72
|
-
it('should have correct display name', () => {
|
|
73
|
-
expect(StyledPressable.displayName).toBe('StyledPressable(Pressable)');
|
|
74
|
-
});
|
|
75
|
-
it('should resolve token props to styles', () => {
|
|
76
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
77
|
-
testID: "pressable",
|
|
78
|
-
lx: {
|
|
79
|
-
padding: 's16',
|
|
80
|
-
width: 's48',
|
|
81
|
-
backgroundColor: 'surface',
|
|
82
|
-
borderRadius: 'md'
|
|
83
|
-
}
|
|
84
|
-
}));
|
|
85
|
-
const pressable = screen.getByTestId('pressable');
|
|
86
|
-
expect(pressable.props.style).toMatchObject({
|
|
87
|
-
padding: 16,
|
|
88
|
-
width: 48,
|
|
89
|
-
backgroundColor: '#F0F0F0',
|
|
90
|
-
borderRadius: 12
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
it('should resolve full size token to 100%', () => {
|
|
94
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
95
|
-
testID: "pressable",
|
|
96
|
-
lx: {
|
|
97
|
-
width: 'full'
|
|
98
|
-
}
|
|
99
|
-
}));
|
|
100
|
-
const pressable = screen.getByTestId('pressable');
|
|
101
|
-
expect(pressable.props.style.width).toBe('100%');
|
|
102
|
-
});
|
|
103
|
-
it('should merge static style prop with resolved tokens', () => {
|
|
104
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
105
|
-
testID: "pressable",
|
|
106
|
-
lx: {
|
|
107
|
-
padding: 's16'
|
|
108
|
-
},
|
|
109
|
-
style: {
|
|
110
|
-
opacity: 0.5
|
|
111
|
-
}
|
|
112
|
-
}));
|
|
113
|
-
const pressable = screen.getByTestId('pressable');
|
|
114
|
-
expect(pressable.props.style.padding).toBe(16);
|
|
115
|
-
expect(pressable.props.style.opacity).toBe(0.5);
|
|
116
|
-
});
|
|
117
|
-
it('should merge style prop with resolved tokens', () => {
|
|
118
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
119
|
-
testID: "pressable",
|
|
120
|
-
lx: {
|
|
121
|
-
backgroundColor: 'surface'
|
|
122
|
-
},
|
|
123
|
-
style: {
|
|
124
|
-
opacity: 0.8
|
|
125
|
-
}
|
|
126
|
-
}));
|
|
127
|
-
const pressable = screen.getByTestId('pressable');
|
|
128
|
-
expect(pressable.props.style.backgroundColor).toBe('#F0F0F0');
|
|
129
|
-
expect(pressable.props.style.opacity).toBe(0.8);
|
|
130
|
-
});
|
|
131
|
-
it('should support function-based style prop', () => {
|
|
132
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
133
|
-
testID: "pressable",
|
|
134
|
-
lx: {
|
|
135
|
-
backgroundColor: 'surface'
|
|
136
|
-
},
|
|
137
|
-
style: ({
|
|
138
|
-
pressed
|
|
139
|
-
}) => ({
|
|
140
|
-
opacity: pressed ? 0.7 : 1
|
|
141
|
-
})
|
|
142
|
-
}));
|
|
143
|
-
const pressable = screen.getByTestId('pressable');
|
|
144
|
-
expect(pressable.props.style.backgroundColor).toBe('#F0F0F0');
|
|
145
|
-
expect(pressable.props.style.opacity).toBe(1);
|
|
146
|
-
});
|
|
147
|
-
describe('array style support', () => {
|
|
148
|
-
it('should support array of static styles', () => {
|
|
149
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
150
|
-
testID: "pressable",
|
|
151
|
-
lx: {
|
|
152
|
-
padding: 's16'
|
|
153
|
-
},
|
|
154
|
-
style: [{
|
|
155
|
-
opacity: 0.5
|
|
156
|
-
}, {
|
|
157
|
-
flex: 1
|
|
158
|
-
}]
|
|
159
|
-
}));
|
|
160
|
-
const pressable = screen.getByTestId('pressable');
|
|
161
|
-
expect(pressable.props.style.padding).toBe(16);
|
|
162
|
-
expect(pressable.props.style.opacity).toBe(0.5);
|
|
163
|
-
expect(pressable.props.style.flex).toBe(1);
|
|
164
|
-
});
|
|
165
|
-
it('should support array with function-based style', () => {
|
|
166
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
167
|
-
testID: "pressable",
|
|
168
|
-
lx: {
|
|
169
|
-
backgroundColor: 'surface'
|
|
170
|
-
},
|
|
171
|
-
style: [{
|
|
172
|
-
flex: 1
|
|
173
|
-
}, ({
|
|
174
|
-
pressed
|
|
175
|
-
}) => ({
|
|
176
|
-
opacity: pressed ? 0.7 : 1
|
|
177
|
-
})]
|
|
178
|
-
}));
|
|
179
|
-
const pressable = screen.getByTestId('pressable');
|
|
180
|
-
expect(pressable.props.style.backgroundColor).toBe('#F0F0F0');
|
|
181
|
-
expect(pressable.props.style.flex).toBe(1);
|
|
182
|
-
expect(pressable.props.style.opacity).toBe(1);
|
|
183
|
-
});
|
|
184
|
-
it('should support array with mixed static and function styles', () => {
|
|
185
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
186
|
-
testID: "pressable",
|
|
187
|
-
style: [{
|
|
188
|
-
padding: 10
|
|
189
|
-
}, ({
|
|
190
|
-
pressed
|
|
191
|
-
}) => ({
|
|
192
|
-
opacity: pressed ? 0.5 : 1
|
|
193
|
-
}), {
|
|
194
|
-
margin: 5
|
|
195
|
-
}]
|
|
196
|
-
}));
|
|
197
|
-
const pressable = screen.getByTestId('pressable');
|
|
198
|
-
expect(pressable.props.style.padding).toBe(10);
|
|
199
|
-
expect(pressable.props.style.margin).toBe(5);
|
|
200
|
-
expect(pressable.props.style.opacity).toBe(1);
|
|
201
|
-
});
|
|
202
|
-
it('should handle null/undefined in style array', () => {
|
|
203
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
204
|
-
testID: "pressable",
|
|
205
|
-
style: [null, {
|
|
206
|
-
opacity: 0.8
|
|
207
|
-
}, undefined]
|
|
208
|
-
}));
|
|
209
|
-
const pressable = screen.getByTestId('pressable');
|
|
210
|
-
expect(pressable.props.style.opacity).toBe(0.8);
|
|
211
|
-
});
|
|
212
|
-
});
|
|
213
|
-
it('should forward ref', () => {
|
|
214
|
-
const ref = /*#__PURE__*/createRef();
|
|
215
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
216
|
-
ref: ref,
|
|
217
|
-
testID: "pressable"
|
|
218
|
-
}));
|
|
219
|
-
expect(ref.current).toBeTruthy();
|
|
220
|
-
});
|
|
221
|
-
it('should handle onPress callback', () => {
|
|
222
|
-
const onPress = jest.fn();
|
|
223
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledPressable, {
|
|
224
|
-
testID: "pressable",
|
|
225
|
-
onPress: onPress
|
|
226
|
-
}));
|
|
227
|
-
fireEvent.press(screen.getByTestId('pressable'));
|
|
228
|
-
expect(onPress).toHaveBeenCalledTimes(1);
|
|
229
|
-
});
|
|
230
|
-
describe('performance (memo)', () => {
|
|
231
|
-
it('should not re-render when props are unchanged', () => {
|
|
232
|
-
const renderCount = jest.fn();
|
|
233
|
-
const TrackedPressable = props => {
|
|
234
|
-
renderCount();
|
|
235
|
-
return /*#__PURE__*/_jsx(Pressable, {
|
|
236
|
-
...props
|
|
237
|
-
});
|
|
238
|
-
};
|
|
239
|
-
const StyledTracked = createStyledPressable(TrackedPressable);
|
|
240
|
-
const {
|
|
241
|
-
rerender
|
|
242
|
-
} = renderWithProvider(/*#__PURE__*/_jsx(StyledTracked, {
|
|
243
|
-
testID: "pressable",
|
|
244
|
-
lx: {
|
|
245
|
-
padding: 's16'
|
|
246
|
-
}
|
|
247
|
-
}));
|
|
248
|
-
expect(renderCount).toHaveBeenCalledTimes(1);
|
|
249
|
-
rerender(/*#__PURE__*/_jsx(LumenStyleSheetProvider, {
|
|
250
|
-
themes: testThemes,
|
|
251
|
-
children: /*#__PURE__*/_jsx(StyledTracked, {
|
|
252
|
-
testID: "pressable",
|
|
253
|
-
lx: {
|
|
254
|
-
padding: 's16'
|
|
255
|
-
}
|
|
256
|
-
})
|
|
257
|
-
}));
|
|
258
|
-
expect(renderCount).toHaveBeenCalledTimes(1);
|
|
259
|
-
});
|
|
260
|
-
it('should re-render when token props change', () => {
|
|
261
|
-
const renderCount = jest.fn();
|
|
262
|
-
const TrackedPressable = props => {
|
|
263
|
-
renderCount();
|
|
264
|
-
return /*#__PURE__*/_jsx(Pressable, {
|
|
265
|
-
...props
|
|
266
|
-
});
|
|
267
|
-
};
|
|
268
|
-
const StyledTracked = createStyledPressable(TrackedPressable);
|
|
269
|
-
const {
|
|
270
|
-
rerender
|
|
271
|
-
} = renderWithProvider(/*#__PURE__*/_jsx(StyledTracked, {
|
|
272
|
-
testID: "pressable",
|
|
273
|
-
lx: {
|
|
274
|
-
padding: 's16'
|
|
275
|
-
}
|
|
276
|
-
}));
|
|
277
|
-
expect(renderCount).toHaveBeenCalledTimes(1);
|
|
278
|
-
rerender(/*#__PURE__*/_jsx(LumenStyleSheetProvider, {
|
|
279
|
-
themes: testThemes,
|
|
280
|
-
children: /*#__PURE__*/_jsx(StyledTracked, {
|
|
281
|
-
testID: "pressable",
|
|
282
|
-
lx: {
|
|
283
|
-
width: 's48'
|
|
284
|
-
}
|
|
285
|
-
})
|
|
286
|
-
}));
|
|
287
|
-
expect(renderCount).toHaveBeenCalledTimes(2);
|
|
288
|
-
});
|
|
289
|
-
});
|
|
290
|
-
});
|
|
291
|
-
//# sourceMappingURL=createStyledPressable.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","expect","it","jest","fireEvent","render","screen","createRef","Pressable","LumenStyleSheetProvider","createStyledPressable","jsx","_jsx","testThemes","light","spacings","s8","s16","sizes","s48","full","colors","bg","surface","accent","border","borderRadius","md","shadows","typographies","xs","heading","body","dark","renderWithProvider","children","themes","StyledPressable","displayName","toBe","testID","lx","padding","width","backgroundColor","pressable","getByTestId","props","style","toMatchObject","opacity","pressed","flex","margin","undefined","ref","current","toBeTruthy","onPress","fn","press","toHaveBeenCalledTimes","renderCount","TrackedPressable","StyledTracked","rerender"],"sourceRoot":"../../../../src","sources":["styles/lx/createStyledPressable.test.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,EAAE,EAAEC,IAAI,QAAQ,eAAe;AAC1D,SAASC,SAAS,EAAEC,MAAM,EAAEC,MAAM,QAAQ,+BAA+B;AACzE,SAASC,SAAS,QAAQ,OAAO;AAMjC,SAASC,SAAS,QAAQ,cAAc;AACxC,SAASC,uBAAuB,QAAQ,wCAAqC;AAC7E,SAASC,qBAAqB,QAAQ,4BAAyB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEhE,MAAMC,UAAe,GAAG;EACtBC,KAAK,EAAE;IACLC,QAAQ,EAAE;MAAEC,EAAE,EAAE,CAAC;MAAEC,GAAG,EAAE;IAAG,CAAC;IAC5BC,KAAK,EAAE;MAAEC,GAAG,EAAE,EAAE;MAAEC,IAAI,EAAE;IAAO,CAAC;IAChCC,MAAM,EAAE;MAAEC,EAAE,EAAE;QAAEC,OAAO,EAAE,SAAS;QAAEC,MAAM,EAAE;MAAU,CAAC;MAAEC,MAAM,EAAE,CAAC;IAAE,CAAC;IACrEC,YAAY,EAAE;MAAEC,EAAE,EAAE;IAAG,CAAC;IACxBC,OAAO,EAAE,CAAC,CAAC;IACXC,YAAY,EAAE;MAAEC,EAAE,EAAE;QAAEC,OAAO,EAAE,CAAC,CAAC;QAAEC,IAAI,EAAE,CAAC;MAAE;IAAE;EAChD,CAAC;EACDC,IAAI,EAAE;IACJlB,QAAQ,EAAE;MAAEC,EAAE,EAAE,CAAC;MAAEC,GAAG,EAAE;IAAG,CAAC;IAC5BC,KAAK,EAAE;MAAEC,GAAG,EAAE,EAAE;M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CAA0C,EAAE,MAAM;MACnD,MAAM4D,WAAW,GAAG3D,IAAI,CAACwD,EAAE,CAAC,CAAC;MAC7B,MAAMI,gBAAgB,GAAIhB,KAAqB,IAAK;QAClDe,WAAW,CAAC,CAAC;QACb,oBAAOlD,IAAA,CAACJ,SAAS;UAAA,GAAKuC;QAAK,CAAG,CAAC;MACjC,CAAC;MACD,MAAMiB,aAAa,GAAGtD,qBAAqB,CAACqD,gBAAuB,CAAC;MAEpE,MAAM;QAAEE;MAAS,CAAC,GAAG/B,kBAAkB,cACrCtB,IAAA,CAACoD,aAAa;QAACxB,MAAM,EAAC,WAAW;QAACC,EAAE,EAAE;UAAEC,OAAO,EAAE;QAAM;MAAE,CAAE,CAC7D,CAAC;MAEDzC,MAAM,CAAC6D,WAAW,CAAC,CAACD,qBAAqB,CAAC,CAAC,CAAC;MAE5CI,QAAQ,cACNrD,IAAA,CAACH,uBAAuB;QAAC2B,MAAM,EAAEvB,UAAW;QAAAsB,QAAA,eAC1CvB,IAAA,CAACoD,aAAa;UAACxB,MAAM,EAAC,WAAW;UAACC,EAAE,EAAE;YAAEE,KAAK,EAAE;UAAM;QAAE,CAAE;MAAC,CACnC,CAC3B,CAAC;MAED1C,MAAM,CAAC6D,WAAW,CAAC,CAACD,qBAAqB,CAAC,CAAC,CAAC;IAC9C,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,242 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { describe, expect, it, jest } from '@jest/globals';
|
|
4
|
-
import { render, screen } from '@testing-library/react-native';
|
|
5
|
-
import { createRef } from 'react';
|
|
6
|
-
import { Text } from 'react-native';
|
|
7
|
-
import { LumenStyleSheetProvider } from "../provider/LumenStyleSheetProvider.js";
|
|
8
|
-
import { createStyledText } from "./createStyledText.js";
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
const testThemes = {
|
|
11
|
-
light: {
|
|
12
|
-
spacings: {
|
|
13
|
-
s8: 8
|
|
14
|
-
},
|
|
15
|
-
sizes: {},
|
|
16
|
-
colors: {
|
|
17
|
-
bg: {},
|
|
18
|
-
text: {
|
|
19
|
-
base: '#000000',
|
|
20
|
-
muted: '#666666'
|
|
21
|
-
},
|
|
22
|
-
border: {}
|
|
23
|
-
},
|
|
24
|
-
borderRadius: {},
|
|
25
|
-
shadows: {},
|
|
26
|
-
typographies: {
|
|
27
|
-
xs: {
|
|
28
|
-
heading: {},
|
|
29
|
-
body: {
|
|
30
|
-
body1: {
|
|
31
|
-
fontSize: 16,
|
|
32
|
-
fontWeight: '500',
|
|
33
|
-
lineHeight: 24,
|
|
34
|
-
letterSpacing: 0
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
dark: {
|
|
41
|
-
spacings: {
|
|
42
|
-
s8: 8
|
|
43
|
-
},
|
|
44
|
-
sizes: {},
|
|
45
|
-
colors: {
|
|
46
|
-
bg: {},
|
|
47
|
-
text: {
|
|
48
|
-
base: '#FFFFFF',
|
|
49
|
-
muted: '#8E8E93'
|
|
50
|
-
},
|
|
51
|
-
border: {}
|
|
52
|
-
},
|
|
53
|
-
borderRadius: {},
|
|
54
|
-
shadows: {},
|
|
55
|
-
typographies: {
|
|
56
|
-
xs: {
|
|
57
|
-
heading: {},
|
|
58
|
-
body: {
|
|
59
|
-
body1: {
|
|
60
|
-
fontSize: 16,
|
|
61
|
-
fontWeight: '500',
|
|
62
|
-
lineHeight: 24,
|
|
63
|
-
letterSpacing: 0
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
};
|
|
70
|
-
const renderWithProvider = children => render(/*#__PURE__*/_jsx(LumenStyleSheetProvider, {
|
|
71
|
-
themes: testThemes,
|
|
72
|
-
children: children
|
|
73
|
-
}));
|
|
74
|
-
describe('createStyledText', () => {
|
|
75
|
-
const StyledText = createStyledText(Text);
|
|
76
|
-
it('should have correct display name', () => {
|
|
77
|
-
expect(StyledText.displayName).toBe('StyledText(Text)');
|
|
78
|
-
});
|
|
79
|
-
it('should apply typography typography', () => {
|
|
80
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledText, {
|
|
81
|
-
testID: "text",
|
|
82
|
-
typography: "body1",
|
|
83
|
-
children: "Hello"
|
|
84
|
-
}));
|
|
85
|
-
const style = screen.getByTestId('text').props.style;
|
|
86
|
-
expect(style).toMatchObject({
|
|
87
|
-
fontSize: 16,
|
|
88
|
-
fontWeight: '500',
|
|
89
|
-
lineHeight: 24
|
|
90
|
-
});
|
|
91
|
-
});
|
|
92
|
-
it('should apply color token', () => {
|
|
93
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledText, {
|
|
94
|
-
testID: "text",
|
|
95
|
-
lx: {
|
|
96
|
-
color: 'muted'
|
|
97
|
-
},
|
|
98
|
-
children: "Muted"
|
|
99
|
-
}));
|
|
100
|
-
expect(screen.getByTestId('text').props.style.color).toBe('#666666');
|
|
101
|
-
});
|
|
102
|
-
it('should combine typography, color and spacing', () => {
|
|
103
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledText, {
|
|
104
|
-
testID: "text",
|
|
105
|
-
typography: "body1",
|
|
106
|
-
lx: {
|
|
107
|
-
color: 'base',
|
|
108
|
-
marginTop: 's8'
|
|
109
|
-
},
|
|
110
|
-
children: "Styled"
|
|
111
|
-
}));
|
|
112
|
-
const style = screen.getByTestId('text').props.style;
|
|
113
|
-
expect(style).toMatchObject({
|
|
114
|
-
color: '#000000',
|
|
115
|
-
marginTop: 8,
|
|
116
|
-
fontSize: 16,
|
|
117
|
-
fontWeight: '500',
|
|
118
|
-
lineHeight: 24,
|
|
119
|
-
letterSpacing: 0
|
|
120
|
-
});
|
|
121
|
-
});
|
|
122
|
-
it('should merge style prop with resolved tokens', () => {
|
|
123
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledText, {
|
|
124
|
-
testID: "text",
|
|
125
|
-
typography: "body1",
|
|
126
|
-
style: {
|
|
127
|
-
textDecorationLine: 'underline'
|
|
128
|
-
},
|
|
129
|
-
children: "Underlined"
|
|
130
|
-
}));
|
|
131
|
-
const style = screen.getByTestId('text').props.style;
|
|
132
|
-
expect(style.fontSize).toBe(16);
|
|
133
|
-
expect(style.textDecorationLine).toBe('underline');
|
|
134
|
-
});
|
|
135
|
-
it('should forward ref', () => {
|
|
136
|
-
const ref = /*#__PURE__*/createRef();
|
|
137
|
-
renderWithProvider(/*#__PURE__*/_jsx(StyledText, {
|
|
138
|
-
ref: ref,
|
|
139
|
-
testID: "text",
|
|
140
|
-
children: "Ref"
|
|
141
|
-
}));
|
|
142
|
-
expect(ref.current).toBeTruthy();
|
|
143
|
-
});
|
|
144
|
-
describe('performance (memo)', () => {
|
|
145
|
-
it('should not re-render when props are unchanged', () => {
|
|
146
|
-
const renderCount = jest.fn();
|
|
147
|
-
const TrackedText = props => {
|
|
148
|
-
renderCount();
|
|
149
|
-
return /*#__PURE__*/_jsx(Text, {
|
|
150
|
-
...props
|
|
151
|
-
});
|
|
152
|
-
};
|
|
153
|
-
const StyledTracked = createStyledText(TrackedText);
|
|
154
|
-
const {
|
|
155
|
-
rerender
|
|
156
|
-
} = renderWithProvider(/*#__PURE__*/_jsx(StyledTracked, {
|
|
157
|
-
testID: "text",
|
|
158
|
-
typography: "body1",
|
|
159
|
-
children: "Hello"
|
|
160
|
-
}));
|
|
161
|
-
expect(renderCount).toHaveBeenCalledTimes(1);
|
|
162
|
-
|
|
163
|
-
// Re-render with same props
|
|
164
|
-
rerender(/*#__PURE__*/_jsx(LumenStyleSheetProvider, {
|
|
165
|
-
themes: testThemes,
|
|
166
|
-
children: /*#__PURE__*/_jsx(StyledTracked, {
|
|
167
|
-
testID: "text",
|
|
168
|
-
typography: "body1",
|
|
169
|
-
children: "Hello"
|
|
170
|
-
})
|
|
171
|
-
}));
|
|
172
|
-
|
|
173
|
-
// memo should prevent re-render
|
|
174
|
-
expect(renderCount).toHaveBeenCalledTimes(1);
|
|
175
|
-
});
|
|
176
|
-
it('should re-render when token props change', () => {
|
|
177
|
-
const renderCount = jest.fn();
|
|
178
|
-
const TrackedText = props => {
|
|
179
|
-
renderCount();
|
|
180
|
-
return /*#__PURE__*/_jsx(Text, {
|
|
181
|
-
...props
|
|
182
|
-
});
|
|
183
|
-
};
|
|
184
|
-
const StyledTracked = createStyledText(TrackedText);
|
|
185
|
-
const {
|
|
186
|
-
rerender
|
|
187
|
-
} = renderWithProvider(/*#__PURE__*/_jsx(StyledTracked, {
|
|
188
|
-
testID: "text",
|
|
189
|
-
typography: "body1",
|
|
190
|
-
children: "Hello"
|
|
191
|
-
}));
|
|
192
|
-
expect(renderCount).toHaveBeenCalledTimes(1);
|
|
193
|
-
|
|
194
|
-
// Re-render with different props
|
|
195
|
-
rerender(/*#__PURE__*/_jsx(LumenStyleSheetProvider, {
|
|
196
|
-
themes: testThemes,
|
|
197
|
-
children: /*#__PURE__*/_jsx(StyledTracked, {
|
|
198
|
-
testID: "text",
|
|
199
|
-
lx: {
|
|
200
|
-
color: 'muted'
|
|
201
|
-
},
|
|
202
|
-
children: "Hello"
|
|
203
|
-
})
|
|
204
|
-
}));
|
|
205
|
-
|
|
206
|
-
// Should re-render due to prop change
|
|
207
|
-
expect(renderCount).toHaveBeenCalledTimes(2);
|
|
208
|
-
});
|
|
209
|
-
it('should re-render when children change', () => {
|
|
210
|
-
const renderCount = jest.fn();
|
|
211
|
-
const TrackedText = props => {
|
|
212
|
-
renderCount();
|
|
213
|
-
return /*#__PURE__*/_jsx(Text, {
|
|
214
|
-
...props
|
|
215
|
-
});
|
|
216
|
-
};
|
|
217
|
-
const StyledTracked = createStyledText(TrackedText);
|
|
218
|
-
const {
|
|
219
|
-
rerender
|
|
220
|
-
} = renderWithProvider(/*#__PURE__*/_jsx(StyledTracked, {
|
|
221
|
-
testID: "text",
|
|
222
|
-
typography: "body1",
|
|
223
|
-
children: "Hello"
|
|
224
|
-
}));
|
|
225
|
-
expect(renderCount).toHaveBeenCalledTimes(1);
|
|
226
|
-
|
|
227
|
-
// Re-render with different children
|
|
228
|
-
rerender(/*#__PURE__*/_jsx(LumenStyleSheetProvider, {
|
|
229
|
-
themes: testThemes,
|
|
230
|
-
children: /*#__PURE__*/_jsx(StyledTracked, {
|
|
231
|
-
testID: "text",
|
|
232
|
-
typography: "body1",
|
|
233
|
-
children: "World"
|
|
234
|
-
})
|
|
235
|
-
}));
|
|
236
|
-
|
|
237
|
-
// Should re-render due to children change
|
|
238
|
-
expect(renderCount).toHaveBeenCalledTimes(2);
|
|
239
|
-
});
|
|
240
|
-
});
|
|
241
|
-
});
|
|
242
|
-
//# sourceMappingURL=createStyledText.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","expect","it","jest","render","screen","createRef","Text","LumenStyleSheetProvider","createStyledText","jsx","_jsx","testThemes","light","spacings","s8","sizes","colors","bg","text","base","muted","border","borderRadius","shadows","typographies","xs","heading","body","body1","fontSize","fontWeight","lineHeight","letterSpacing","dark","renderWithProvider","children","themes","StyledText","displayName","toBe","testID","typography","style","getByTestId","props","toMatchObject","lx","color","marginTop","textDecorationLine","ref","current","toBeTruthy","renderCount","fn","TrackedText","StyledTracked","rerender","toHaveBeenCalledTimes"],"sourceRoot":"../../../../src","sources":["styles/lx/createStyledText.test.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,EAAE,EAAEC,IAAI,QAAQ,eAAe;AAC1D,SAASC,MAAM,EAAEC,MAAM,QAAQ,+BAA+B;AAC9D,SAASC,SAAS,QAAQ,OAAO;AAEjC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,uBAAuB,QAAQ,wCAAqC;AAC7E,SAASC,gBAAgB,QAAQ,uBAAoB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEtD,MAAMC,UAAe,GAAG;EACtBC,KAAK,EAAE;IACLC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