@ledgerhq/lumen-ui-rnative 0.1.70 → 0.1.72
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/animations/Pulse/Pulse.js +1 -1
- package/dist/module/lib/Components/animations/Spin/Spin.js +1 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.js +1 -1
- package/dist/module/lib/Components/core/AmountInput/useAmountInputAnimations/useAmountInputAnimations.js +3 -3
- package/dist/module/lib/Components/core/Avatar/Avatar.js +1 -0
- package/dist/module/lib/Components/core/Avatar/Avatar.js.map +1 -1
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.js +6 -2
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.js.map +1 -1
- package/dist/module/lib/Components/core/Card/Card.js +7 -3
- package/dist/module/lib/Components/core/Card/Card.js.map +1 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.js +1 -0
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.js.map +1 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.js +2 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.js.map +1 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.js +1 -0
- package/dist/module/lib/Components/core/MediaCard/MediaCard.js.map +1 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.js +1 -0
- package/dist/module/lib/Components/core/MediaImage/MediaImage.js.map +1 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.js +15 -9
- package/dist/module/lib/Components/core/MenuList/MenuList.js.map +1 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.js +2 -2
- package/dist/module/lib/Components/core/ProgressBar/ProgressBar.js +158 -0
- package/dist/module/lib/Components/core/ProgressBar/ProgressBar.js.map +1 -0
- package/dist/module/lib/Components/core/ProgressBar/index.js +5 -0
- package/dist/module/lib/Components/core/ProgressBar/index.js.map +1 -0
- package/dist/module/lib/Components/core/ProgressBar/types.js +4 -0
- package/dist/module/lib/Components/core/ProgressBar/types.js.map +1 -0
- package/dist/module/lib/Components/core/ProgressBar/useAnimatedProgressWidth.js +50 -0
- package/dist/module/lib/Components/core/ProgressBar/useAnimatedProgressWidth.js.map +1 -0
- package/dist/module/lib/Components/core/SegmentedControl/usePillLayout.js +1 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.js +1 -4
- package/dist/module/lib/Components/core/Stepper/Stepper.js.map +1 -1
- package/dist/module/lib/Components/core/Switch/Switch.js +1 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.js +13 -6
- package/dist/module/lib/Components/core/TabBar/TabBar.js.map +1 -1
- package/dist/module/lib/Components/core/Toast/hooks/useToastGesture.js +6 -6
- package/dist/module/lib/Components/core/Toast/hooks/useToastMotion.js +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/BaseInput/BaseInput.js +5 -1
- package/dist/module/lib/Components/internal/BaseInput/BaseInput.js.map +1 -1
- package/dist/module/lib/Components/internal/BaseInput/BaseInputLabel.js +2 -1
- package/dist/module/lib/Components/internal/BaseInput/BaseInputLabel.js.map +1 -1
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.js +5 -1
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.js.map +1 -1
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.js +5 -1
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.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/RevealAnimation/RevealAnimationProvider.js +9 -5
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.js.map +1 -1
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/context.js +1 -1
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/utils.js +5 -17
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/utils.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/CartesianChart/hooks/useShimmerAnimation.js +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.js +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChartAnimatedCenter.js +9 -5
- package/dist/module/lib/Components/visualization/DonutChart/DonutChartAnimatedCenter.js.map +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutRing.js +1 -1
- package/dist/module/lib/Components/visualization/DonutChart/RevealAnimation.js +2 -2
- package/dist/module/lib/Components/visualization/DonutChart/hooks/useDonutLoadingAnimation.js +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/BeaconLabel/BeaconLabel.js +83 -0
- package/dist/module/lib/Components/visualization/Scrubber/BeaconLabel/BeaconLabel.js.map +1 -0
- package/dist/module/lib/Components/visualization/Scrubber/LineLabel/LineLabel.js +53 -0
- package/dist/module/lib/Components/visualization/Scrubber/LineLabel/LineLabel.js.map +1 -0
- package/dist/module/lib/Components/visualization/Scrubber/PositionedLabel/PositionedLabel.js +28 -0
- package/dist/module/lib/Components/visualization/Scrubber/PositionedLabel/PositionedLabel.js.map +1 -0
- package/dist/module/lib/Components/visualization/Scrubber/PositionedLabel/useLayoutWidth.js +9 -0
- package/dist/module/lib/Components/visualization/Scrubber/PositionedLabel/useLayoutWidth.js.map +1 -0
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js +148 -32
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.js.map +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.js +3 -3
- package/dist/module/lib/Components/visualization/Scrubber/index.js +2 -0
- package/dist/module/lib/Components/visualization/Scrubber/index.js.map +1 -1
- package/dist/module/lib/Components/visualization/Scrubber/useScrubberGeometry.js +39 -15
- 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 +16 -0
- package/dist/module/lib/Components/visualization/config.js.map +1 -1
- package/dist/typescript/src/lib/Components/animations/Pulse/Pulse.d.ts +1 -1
- package/dist/typescript/src/lib/Components/animations/Pulse/Pulse.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/animations/Spin/Spin.d.ts +1 -1
- package/dist/typescript/src/lib/Components/animations/Spin/Spin.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/AddressInput/AddressInput.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/AddressInput/AddressInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/AmountDisplay/AmountDisplay.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/AmountDisplay/AmountDisplay.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/AmountInput/AmountInput.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/AmountInput/AmountInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Avatar/Avatar.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Avatar/Avatar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/AvatarButton/AvatarButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/AvatarButton/AvatarButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Banner/Banner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Banner/Banner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/BottomSheet.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/BottomSheetContent.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/BottomSheetContent.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/BottomSheetFooter.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/BottomSheetFooter.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/BottomSheetHeader.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/BottomSheetHeader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/CustomBackdrop.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/CustomBackdrop.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/CustomHandle.d.ts +2 -2
- package/dist/typescript/src/lib/Components/core/BottomSheet/CustomHandle.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/BottomSheet/Scrollables.d.ts +5 -5
- package/dist/typescript/src/lib/Components/core/BottomSheet/Scrollables.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Button/Button.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Button/Button.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Card/Card.d.ts +10 -10
- package/dist/typescript/src/lib/Components/core/Card/Card.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/CardButton/CardButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/CardButton/CardButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Checkbox/BaseCheckbox.d.ts +2 -2
- package/dist/typescript/src/lib/Components/core/Checkbox/BaseCheckbox.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Checkbox/Checkbox.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/ContentBanner/ContentBanner.d.ts +4 -4
- package/dist/typescript/src/lib/Components/core/ContentBanner/ContentBanner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/DescriptionItem/DescriptionItem.d.ts +5 -5
- package/dist/typescript/src/lib/Components/core/DescriptionItem/DescriptionItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Divider/Divider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Divider/Divider.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/DotCount/DotCount.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/DotCount/DotCount.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/DotIcon/DotIcon.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/DotIndicator/DotIndicator.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/DotIndicator/DotIndicator.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/DotSymbol/DotSymbol.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/DotSymbol/DotSymbol.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/IconButton/IconButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/IconButton/IconButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/InteractiveIcon/InteractiveIcon.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/InteractiveIcon/InteractiveIcon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Link/Link.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Link/Link.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/ListItem/ListItem.d.ts +7 -7
- package/dist/typescript/src/lib/Components/core/ListItem/ListItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/MediaBanner/MediaBanner.d.ts +3 -3
- package/dist/typescript/src/lib/Components/core/MediaBanner/MediaBanner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/MediaButton/MediaButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/MediaButton/MediaButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/MediaCard/MediaCard.d.ts +2 -2
- package/dist/typescript/src/lib/Components/core/MediaCard/MediaCard.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/MediaImage/MediaImage.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/MediaImage/MediaImage.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/MediaImageGroup/MediaImageGroup.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/MediaImageGroup/MediaImageGroup.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/MediaTag/MediaTag.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/MediaTag/MediaTag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/MenuList/MenuList.d.ts +3 -3
- package/dist/typescript/src/lib/Components/core/MenuList/MenuList.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/NavBar/CoinCapsule.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/NavBar/CoinCapsule.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/NavBar/NavBar.d.ts +7 -7
- package/dist/typescript/src/lib/Components/core/NavBar/NavBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/PageIndicator/PageIndicator.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/PageIndicator/PageIndicator.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Pagination/Pagination.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/ProgressBar/ProgressBar.d.ts +17 -0
- package/dist/typescript/src/lib/Components/core/ProgressBar/ProgressBar.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/ProgressBar/index.d.ts +3 -0
- package/dist/typescript/src/lib/Components/core/ProgressBar/index.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/ProgressBar/types.d.ts +29 -0
- package/dist/typescript/src/lib/Components/core/ProgressBar/types.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/ProgressBar/useAnimatedProgressWidth.d.ts +7 -0
- package/dist/typescript/src/lib/Components/core/ProgressBar/useAnimatedProgressWidth.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/core/SearchInput/SearchInput.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/SearchInput/SearchInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/SectionHeader/SectionHeader.d.ts +3 -3
- package/dist/typescript/src/lib/Components/core/SectionHeader/SectionHeader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/typescript/src/lib/Components/core/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/SelectList/SelectList.d.ts +11 -11
- package/dist/typescript/src/lib/Components/core/SelectList/SelectList.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Skeleton/Skeleton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Spinner/Spinner.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Spinner/Spinner.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Spot/Spot.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Spot/Spot.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Spot/SpotNumber.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Spot/SpotNumber.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Stepper/Stepper.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Stepper/Stepper.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Subheader/Subheader.d.ts +7 -7
- package/dist/typescript/src/lib/Components/core/Subheader/Subheader.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Switch/Switch.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Switch/Switch.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/TabBar/TabBar.d.ts +2 -2
- package/dist/typescript/src/lib/Components/core/TabBar/TabBar.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Tag/Tag.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Tag/Tag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/TextInput/TextInput.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/TextInput/TextInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/ThemeProvider/ThemeProvider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/ThemeProvider/ThemeProvider.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Tile/Tile.d.ts +5 -5
- package/dist/typescript/src/lib/Components/core/Tile/Tile.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/TileButton/TileButton.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/TileButton/TileButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts +10 -10
- package/dist/typescript/src/lib/Components/core/Timeline/Timeline.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Toast/Toast.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Toast/Toast.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Toast/Toaster.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Toast/Toaster.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Tooltip/GlobalTooltipContext.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Tooltip/GlobalTooltipContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Tooltip/Tooltip.d.ts +2 -2
- package/dist/typescript/src/lib/Components/core/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Tooltip/TooltipContext.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Tooltip/TooltipContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/core/Trend/Trend.d.ts +1 -1
- package/dist/typescript/src/lib/Components/core/Trend/Trend.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 +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseButton/BaseButton.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/BaseInput.d.ts +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/BaseInput.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/BaseInputCounter.d.ts +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/BaseInputCounter.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/BaseInputHelperText.d.ts +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/BaseInputHelperText.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/BaseInputLabel.d.ts +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseInput/BaseInputLabel.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseTag/BaseTag.d.ts +1 -1
- package/dist/typescript/src/lib/Components/internal/BaseTag/BaseTag.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/internal/Label/Label.d.ts +1 -1
- package/dist/typescript/src/lib/Components/internal/Label/Label.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/primitives/Box/Box.d.ts +1 -1
- package/dist/typescript/src/lib/Components/primitives/Box/Box.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.d.ts +1 -1
- package/dist/typescript/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.d.ts +1 -1
- package/dist/typescript/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/primitives/Pressable/Pressable.d.ts +1 -1
- package/dist/typescript/src/lib/Components/primitives/Pressable/Pressable.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/primitives/Text/Text.d.ts +1 -1
- package/dist/typescript/src/lib/Components/primitives/Text/Text.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/symbols/Icon/Icon.d.ts +1 -1
- package/dist/typescript/src/lib/Components/symbols/Icon/Icon.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Axis/XAxis/XAxis.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Axis/XAxis/XAxis.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Axis/YAxis/YAxis.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Axis/YAxis/YAxis.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/CartesianChart.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/ChartEmptyLabel/ChartEmptyLabel.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/ChartEmptyLabel/ChartEmptyLabel.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/RevealAnimation/utils.d.ts +1 -7
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/RevealAnimation/utils.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts +2 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts +4 -0
- package/dist/typescript/src/lib/Components/visualization/CartesianChart/types.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChart.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChartAnimatedCenter.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChartAnimatedCenter.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChartCenter.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChartCenter.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChartDescription.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChartDescription.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChartTitle.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutChartTitle.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutRing.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/DonutRing.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/RevealAnimation.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/DonutChart/RevealAnimation.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Legend/Legend.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Legend/Legend.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Legend/LegendItem.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Legend/LegendItem.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/LineChart.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/LineChart.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Point/Point.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Point/Point.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/ReferenceLine/ReferenceLine.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/ReferenceLine/ReferenceLine.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/BeaconLabel/BeaconLabel.d.ts +17 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/BeaconLabel/BeaconLabel.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/LineLabel/LineLabel.d.ts +16 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/LineLabel/LineLabel.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/PositionedLabel/PositionedLabel.d.ts +14 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/PositionedLabel/PositionedLabel.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/PositionedLabel/useLayoutWidth.d.ts +3 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/PositionedLabel/useLayoutWidth.d.ts.map +1 -0
- package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts +21 -3
- package/dist/typescript/src/lib/Components/visualization/Scrubber/Scrubber.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/ScrubberProvider.d.ts +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/ScrubberProvider.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/index.d.ts +3 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/index.d.ts.map +1 -1
- package/dist/typescript/src/lib/Components/visualization/Scrubber/types.d.ts +99 -3
- 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 +14 -8
- 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 +16 -0
- package/dist/typescript/src/lib/Components/visualization/config.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/createStyledPressable.d.ts +1 -1
- package/dist/typescript/src/styles/lx/createStyledPressable.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/createStyledText.d.ts +1 -1
- package/dist/typescript/src/styles/lx/createStyledText.d.ts.map +1 -1
- package/dist/typescript/src/styles/lx/createStyledView.d.ts +1 -1
- package/dist/typescript/src/styles/lx/createStyledView.d.ts.map +1 -1
- package/dist/typescript/src/styles/provider/LumenStyleSheetProvider.d.ts +1 -1
- package/dist/typescript/src/styles/provider/LumenStyleSheetProvider.d.ts.map +1 -1
- package/package.json +14 -6
- package/src/lib/Components/core/Avatar/Avatar.tsx +1 -0
- package/src/lib/Components/core/AvatarButton/AvatarButton.tsx +6 -2
- package/src/lib/Components/core/Card/Card.tsx +5 -1
- package/src/lib/Components/core/DotSymbol/DotSymbol.tsx +1 -0
- package/src/lib/Components/core/MediaBanner/MediaBanner.tsx +1 -0
- package/src/lib/Components/core/MediaCard/MediaCard.tsx +1 -0
- package/src/lib/Components/core/MediaImage/MediaImage.tsx +1 -0
- package/src/lib/Components/core/MenuList/MenuList.tsx +12 -2
- package/src/lib/Components/core/ProgressBar/ProgressBar.tsx +164 -0
- package/src/lib/Components/core/ProgressBar/index.ts +2 -0
- package/src/lib/Components/core/ProgressBar/types.ts +48 -0
- package/src/lib/Components/core/ProgressBar/useAnimatedProgressWidth.ts +30 -0
- package/src/lib/Components/core/Stepper/Stepper.tsx +1 -6
- package/src/lib/Components/core/TabBar/TabBar.tsx +9 -2
- package/src/lib/Components/core/index.ts +1 -0
- package/src/lib/Components/internal/BaseInput/BaseInput.tsx +3 -0
- package/src/lib/Components/internal/BaseInput/BaseInputLabel.tsx +1 -0
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.tsx +5 -1
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.tsx +5 -1
- package/src/lib/Components/visualization/CartesianChart/CartesianChart.tsx +1 -0
- package/src/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.tsx +12 -4
- package/src/lib/Components/visualization/CartesianChart/RevealAnimation/utils.ts +2 -16
- package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.ts +4 -1
- package/src/lib/Components/visualization/CartesianChart/types.ts +4 -0
- package/src/lib/Components/visualization/DonutChart/DonutChartAnimatedCenter.tsx +5 -1
- package/src/lib/Components/visualization/Scrubber/BeaconLabel/BeaconLabel.tsx +116 -0
- package/src/lib/Components/visualization/Scrubber/LineLabel/LineLabel.tsx +72 -0
- package/src/lib/Components/visualization/Scrubber/PositionedLabel/PositionedLabel.tsx +38 -0
- package/src/lib/Components/visualization/Scrubber/PositionedLabel/useLayoutWidth.ts +14 -0
- package/src/lib/Components/visualization/Scrubber/Scrubber.tsx +156 -34
- package/src/lib/Components/visualization/Scrubber/index.ts +6 -0
- package/src/lib/Components/visualization/Scrubber/types.ts +109 -3
- package/src/lib/Components/visualization/Scrubber/useScrubberGeometry.ts +57 -17
- package/src/lib/Components/visualization/Scrubber/utils.ts +18 -0
- package/src/lib/Components/visualization/config.ts +18 -0
- package/dist/module/lib/Components/animations/Pulse/Pulse.mdx +0 -85
- package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js +0 -156
- package/dist/module/lib/Components/animations/Pulse/Pulse.stories.js.map +0 -1
- package/dist/module/lib/Components/animations/Spin/Spin.mdx +0 -84
- package/dist/module/lib/Components/animations/Spin/Spin.stories.js +0 -133
- package/dist/module/lib/Components/animations/Spin/Spin.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js +0 -40
- package/dist/module/lib/Components/core/AddressInput/AddressInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
- package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js +0 -188
- package/dist/module/lib/Components/core/AddressInput/AddressInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js +0 -56
- package/dist/module/lib/Components/core/AddressInput/AddressInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js +0 -31
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.figma.js.map +0 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js +0 -188
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js +0 -409
- package/dist/module/lib/Components/core/AmountDisplay/AmountDisplay.test.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js +0 -70
- package/dist/module/lib/Components/core/AmountInput/AmountInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
- package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js +0 -254
- package/dist/module/lib/Components/core/AmountInput/AmountInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js +0 -152
- package/dist/module/lib/Components/core/AmountInput/AmountInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js +0 -78
- package/dist/module/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.figma.js +0 -32
- package/dist/module/lib/Components/core/Avatar/Avatar.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.mdx +0 -166
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js +0 -182
- package/dist/module/lib/Components/core/Avatar/Avatar.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/Avatar.test.js +0 -330
- package/dist/module/lib/Components/core/Avatar/Avatar.test.js.map +0 -1
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js +0 -88
- package/dist/module/lib/Components/core/Avatar/useResolveAvatarColor.test.js.map +0 -1
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js +0 -52
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js +0 -100
- package/dist/module/lib/Components/core/AvatarButton/AvatarButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Banner/Banner.figma.js +0 -107
- package/dist/module/lib/Components/core/Banner/Banner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Banner/Banner.mdx +0 -352
- package/dist/module/lib/Components/core/Banner/Banner.stories.js +0 -434
- package/dist/module/lib/Components/core/Banner/Banner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Banner/Banner.test.js +0 -120
- package/dist/module/lib/Components/core/Banner/Banner.test.js.map +0 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js +0 -49
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.figma.js.map +0 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js +0 -1034
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.stories.js.map +0 -1
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js +0 -632
- package/dist/module/lib/Components/core/BottomSheet/BottomSheet.test.js.map +0 -1
- package/dist/module/lib/Components/core/Button/Button.figma.js +0 -46
- package/dist/module/lib/Components/core/Button/Button.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Button/Button.mdx +0 -168
- package/dist/module/lib/Components/core/Button/Button.stories.js +0 -300
- package/dist/module/lib/Components/core/Button/Button.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js +0 -19
- package/dist/module/lib/Components/core/Button/ButtonGroup.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Card/Card.figma.js +0 -158
- package/dist/module/lib/Components/core/Card/Card.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Card/Card.mdx +0 -293
- package/dist/module/lib/Components/core/Card/Card.stories.js +0 -967
- package/dist/module/lib/Components/core/Card/Card.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Card/Card.test.js +0 -226
- package/dist/module/lib/Components/core/Card/Card.test.js.map +0 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.figma.js +0 -38
- package/dist/module/lib/Components/core/CardButton/CardButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.mdx +0 -246
- package/dist/module/lib/Components/core/CardButton/CardButton.stories.js +0 -284
- package/dist/module/lib/Components/core/CardButton/CardButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/CardButton/CardButton.test.js +0 -130
- package/dist/module/lib/Components/core/CardButton/CardButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js +0 -48
- package/dist/module/lib/Components/core/Checkbox/Checkbox.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
- package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js +0 -141
- package/dist/module/lib/Components/core/Checkbox/Checkbox.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js +0 -103
- package/dist/module/lib/Components/core/Checkbox/Checkbox.test.js.map +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js +0 -90
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js +0 -234
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js +0 -137
- package/dist/module/lib/Components/core/ContentBanner/ContentBanner.test.js.map +0 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js +0 -29
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.figma.js.map +0 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js +0 -287
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js +0 -116
- package/dist/module/lib/Components/core/DescriptionItem/DescriptionItem.test.js.map +0 -1
- package/dist/module/lib/Components/core/Divider/Divider.figma.js +0 -10
- package/dist/module/lib/Components/core/Divider/Divider.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Divider/Divider.mdx +0 -149
- package/dist/module/lib/Components/core/Divider/Divider.stories.js +0 -208
- package/dist/module/lib/Components/core/Divider/Divider.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Divider/Divider.test.js +0 -101
- package/dist/module/lib/Components/core/Divider/Divider.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.figma.js +0 -29
- package/dist/module/lib/Components/core/DotCount/DotCount.figma.js.map +0 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.mdx +0 -86
- package/dist/module/lib/Components/core/DotCount/DotCount.stories.js +0 -192
- package/dist/module/lib/Components/core/DotCount/DotCount.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotCount/DotCount.test.js +0 -174
- package/dist/module/lib/Components/core/DotCount/DotCount.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js +0 -288
- package/dist/module/lib/Components/core/DotIcon/DotIcon.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js +0 -260
- package/dist/module/lib/Components/core/DotIcon/DotIcon.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js +0 -38
- package/dist/module/lib/Components/core/DotIcon/getDotIconProps.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js +0 -29
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.figma.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js +0 -123
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js +0 -156
- package/dist/module/lib/Components/core/DotIndicator/DotIndicator.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js +0 -33
- package/dist/module/lib/Components/core/DotIndicator/getDotIndicatorProps.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js +0 -401
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.stories.js.map +0 -1
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js +0 -134
- package/dist/module/lib/Components/core/DotSymbol/DotSymbol.test.js.map +0 -1
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js +0 -56
- package/dist/module/lib/Components/core/DotSymbol/getDotSymbolProps.test.js.map +0 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.figma.js +0 -42
- package/dist/module/lib/Components/core/IconButton/IconButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.mdx +0 -137
- package/dist/module/lib/Components/core/IconButton/IconButton.stories.js +0 -170
- package/dist/module/lib/Components/core/IconButton/IconButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/IconButton/IconButton.test.js +0 -107
- package/dist/module/lib/Components/core/IconButton/IconButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js +0 -51
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.js.map +0 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js +0 -237
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.js.map +0 -1
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js +0 -149
- package/dist/module/lib/Components/core/InteractiveIcon/InteractiveIcon.test.js.map +0 -1
- package/dist/module/lib/Components/core/Link/Link.figma.js +0 -42
- package/dist/module/lib/Components/core/Link/Link.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Link/Link.mdx +0 -264
- package/dist/module/lib/Components/core/Link/Link.stories.js +0 -349
- package/dist/module/lib/Components/core/Link/Link.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Link/Link.test.js +0 -157
- package/dist/module/lib/Components/core/Link/Link.test.js.map +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.figma.js +0 -426
- package/dist/module/lib/Components/core/ListItem/ListItem.figma.js.map +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.mdx +0 -461
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js +0 -817
- package/dist/module/lib/Components/core/ListItem/ListItem.stories.js.map +0 -1
- package/dist/module/lib/Components/core/ListItem/ListItem.test.js +0 -233
- package/dist/module/lib/Components/core/ListItem/ListItem.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js +0 -25
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js +0 -183
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js +0 -129
- package/dist/module/lib/Components/core/MediaBanner/MediaBanner.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js +0 -72
- package/dist/module/lib/Components/core/MediaButton/MediaButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
- package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js +0 -169
- package/dist/module/lib/Components/core/MediaButton/MediaButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js +0 -171
- package/dist/module/lib/Components/core/MediaButton/MediaButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js +0 -28
- package/dist/module/lib/Components/core/MediaCard/MediaCard.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
- package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js +0 -187
- package/dist/module/lib/Components/core/MediaCard/MediaCard.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js +0 -140
- package/dist/module/lib/Components/core/MediaCard/MediaCard.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
- package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js +0 -235
- package/dist/module/lib/Components/core/MediaImage/MediaImage.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js +0 -325
- package/dist/module/lib/Components/core/MediaImage/MediaImage.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js +0 -215
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -96
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js +0 -258
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js +0 -246
- package/dist/module/lib/Components/core/MediaImageGroup/MediaImageGroup.test.js.map +0 -1
- package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js +0 -100
- package/dist/module/lib/Components/core/MediaTag/MediaTag.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
- package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js +0 -145
- package/dist/module/lib/Components/core/MediaTag/MediaTag.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js +0 -30
- package/dist/module/lib/Components/core/MediaTag/MediaTag.test.js.map +0 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.figma.js +0 -21
- package/dist/module/lib/Components/core/MenuList/MenuList.figma.js.map +0 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.mdx +0 -79
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js +0 -192
- package/dist/module/lib/Components/core/MenuList/MenuList.stories.js.map +0 -1
- package/dist/module/lib/Components/core/MenuList/MenuList.test.js +0 -204
- package/dist/module/lib/Components/core/MenuList/MenuList.test.js.map +0 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.figma.js +0 -80
- package/dist/module/lib/Components/core/NavBar/NavBar.figma.js.map +0 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.mdx +0 -257
- package/dist/module/lib/Components/core/NavBar/NavBar.stories.js +0 -158
- package/dist/module/lib/Components/core/NavBar/NavBar.stories.js.map +0 -1
- package/dist/module/lib/Components/core/NavBar/NavBar.test.js +0 -405
- package/dist/module/lib/Components/core/NavBar/NavBar.test.js.map +0 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js +0 -13
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.figma.js.map +0 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js +0 -99
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.stories.js.map +0 -1
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js +0 -213
- package/dist/module/lib/Components/core/PageIndicator/PageIndicator.test.js.map +0 -1
- package/dist/module/lib/Components/core/Pagination/Pagination.figma.js +0 -22
- package/dist/module/lib/Components/core/Pagination/Pagination.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Pagination/Pagination.mdx +0 -108
- package/dist/module/lib/Components/core/Pagination/Pagination.stories.js +0 -121
- package/dist/module/lib/Components/core/Pagination/Pagination.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Pagination/Pagination.test.js +0 -338
- package/dist/module/lib/Components/core/Pagination/Pagination.test.js.map +0 -1
- package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js +0 -31
- package/dist/module/lib/Components/core/SearchInput/SearchInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
- package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js +0 -125
- package/dist/module/lib/Components/core/SearchInput/SearchInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js +0 -41
- package/dist/module/lib/Components/core/SearchInput/SearchInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js +0 -22
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js +0 -104
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js +0 -108
- package/dist/module/lib/Components/core/SectionHeader/SectionHeader.test.js.map +0 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js +0 -35
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js +0 -216
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js +0 -211
- package/dist/module/lib/Components/core/SegmentedControl/SegmentedControl.test.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.figma.js +0 -28
- package/dist/module/lib/Components/core/SelectList/SelectList.figma.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.mdx +0 -280
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js +0 -1100
- package/dist/module/lib/Components/core/SelectList/SelectList.stories.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/SelectList.test.js +0 -620
- package/dist/module/lib/Components/core/SelectList/SelectList.test.js.map +0 -1
- package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js +0 -199
- package/dist/module/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.js.map +0 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js +0 -18
- package/dist/module/lib/Components/core/Skeleton/Skeleton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
- package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js +0 -135
- package/dist/module/lib/Components/core/Skeleton/Skeleton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js +0 -63
- package/dist/module/lib/Components/core/Skeleton/Skeleton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.figma.js +0 -13
- package/dist/module/lib/Components/core/Spinner/Spinner.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Spinner/Spinner.mdx +0 -119
- package/dist/module/lib/Components/core/Spinner/Spinner.stories.js +0 -214
- package/dist/module/lib/Components/core/Spinner/Spinner.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/Spot.figma.js +0 -52
- package/dist/module/lib/Components/core/Spot/Spot.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/Spot.mdx +0 -113
- package/dist/module/lib/Components/core/Spot/Spot.stories.js +0 -242
- package/dist/module/lib/Components/core/Spot/Spot.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/Spot.test.js +0 -61
- package/dist/module/lib/Components/core/Spot/Spot.test.js.map +0 -1
- package/dist/module/lib/Components/core/Spot/SpotNumber.test.js +0 -72
- package/dist/module/lib/Components/core/Spot/SpotNumber.test.js.map +0 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.figma.js +0 -13
- package/dist/module/lib/Components/core/Stepper/Stepper.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.mdx +0 -167
- package/dist/module/lib/Components/core/Stepper/Stepper.stories.js +0 -214
- package/dist/module/lib/Components/core/Stepper/Stepper.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Stepper/Stepper.test.js +0 -184
- package/dist/module/lib/Components/core/Stepper/Stepper.test.js.map +0 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.figma.js +0 -67
- package/dist/module/lib/Components/core/Subheader/Subheader.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.mdx +0 -366
- package/dist/module/lib/Components/core/Subheader/Subheader.stories.js +0 -117
- package/dist/module/lib/Components/core/Subheader/Subheader.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Subheader/Subheader.test.js +0 -164
- package/dist/module/lib/Components/core/Subheader/Subheader.test.js.map +0 -1
- package/dist/module/lib/Components/core/Switch/Switch.figma.js +0 -58
- package/dist/module/lib/Components/core/Switch/Switch.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Switch/Switch.mdx +0 -149
- package/dist/module/lib/Components/core/Switch/Switch.stories.js +0 -150
- package/dist/module/lib/Components/core/Switch/Switch.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Switch/Switch.test.js +0 -92
- package/dist/module/lib/Components/core/Switch/Switch.test.js.map +0 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.figma.js +0 -98
- package/dist/module/lib/Components/core/TabBar/TabBar.figma.js.map +0 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.mdx +0 -209
- package/dist/module/lib/Components/core/TabBar/TabBar.stories.js +0 -184
- package/dist/module/lib/Components/core/TabBar/TabBar.stories.js.map +0 -1
- package/dist/module/lib/Components/core/TabBar/TabBar.test.js +0 -112
- package/dist/module/lib/Components/core/TabBar/TabBar.test.js.map +0 -1
- package/dist/module/lib/Components/core/Tag/Tag.figma.js +0 -41
- package/dist/module/lib/Components/core/Tag/Tag.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Tag/Tag.mdx +0 -98
- package/dist/module/lib/Components/core/Tag/Tag.stories.js +0 -208
- package/dist/module/lib/Components/core/Tag/Tag.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Tag/Tag.test.js +0 -69
- package/dist/module/lib/Components/core/Tag/Tag.test.js.map +0 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.figma.js +0 -46
- package/dist/module/lib/Components/core/TextInput/TextInput.figma.js.map +0 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.mdx +0 -305
- package/dist/module/lib/Components/core/TextInput/TextInput.stories.js +0 -241
- package/dist/module/lib/Components/core/TextInput/TextInput.stories.js.map +0 -1
- package/dist/module/lib/Components/core/TextInput/TextInput.test.js +0 -295
- package/dist/module/lib/Components/core/TextInput/TextInput.test.js.map +0 -1
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js +0 -43
- package/dist/module/lib/Components/core/ThemeProvider/ThemeProvider.test.js.map +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.figma.js +0 -110
- package/dist/module/lib/Components/core/Tile/Tile.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.mdx +0 -252
- package/dist/module/lib/Components/core/Tile/Tile.stories.js +0 -559
- package/dist/module/lib/Components/core/Tile/Tile.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Tile/Tile.test.js +0 -249
- package/dist/module/lib/Components/core/Tile/Tile.test.js.map +0 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.figma.js +0 -28
- package/dist/module/lib/Components/core/TileButton/TileButton.figma.js.map +0 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.mdx +0 -184
- package/dist/module/lib/Components/core/TileButton/TileButton.stories.js +0 -269
- package/dist/module/lib/Components/core/TileButton/TileButton.stories.js.map +0 -1
- package/dist/module/lib/Components/core/TileButton/TileButton.test.js +0 -124
- package/dist/module/lib/Components/core/TileButton/TileButton.test.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.figma.js +0 -83
- package/dist/module/lib/Components/core/Timeline/Timeline.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.mdx +0 -49
- package/dist/module/lib/Components/core/Timeline/Timeline.stories.js +0 -319
- package/dist/module/lib/Components/core/Timeline/Timeline.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Timeline/Timeline.test.js +0 -237
- package/dist/module/lib/Components/core/Timeline/Timeline.test.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toast.figma.js +0 -39
- package/dist/module/lib/Components/core/Toast/Toast.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toast.mdx +0 -203
- package/dist/module/lib/Components/core/Toast/Toast.stories.js +0 -241
- package/dist/module/lib/Components/core/Toast/Toast.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toast.test.js +0 -203
- package/dist/module/lib/Components/core/Toast/Toast.test.js.map +0 -1
- package/dist/module/lib/Components/core/Toast/Toaster.test.js +0 -732
- package/dist/module/lib/Components/core/Toast/Toaster.test.js.map +0 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js +0 -26
- package/dist/module/lib/Components/core/Tooltip/Tooltip.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
- package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js +0 -212
- package/dist/module/lib/Components/core/Tooltip/Tooltip.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js +0 -91
- package/dist/module/lib/Components/core/Tooltip/Tooltip.test.js.map +0 -1
- package/dist/module/lib/Components/core/Trend/Trend.figma.js +0 -29
- package/dist/module/lib/Components/core/Trend/Trend.figma.js.map +0 -1
- package/dist/module/lib/Components/core/Trend/Trend.mdx +0 -104
- package/dist/module/lib/Components/core/Trend/Trend.stories.js +0 -98
- package/dist/module/lib/Components/core/Trend/Trend.stories.js.map +0 -1
- package/dist/module/lib/Components/core/Trend/Trend.test.js +0 -149
- package/dist/module/lib/Components/core/Trend/Trend.test.js.map +0 -1
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js +0 -139
- package/dist/module/lib/Components/internal/BaseButton/BaseButton.test.js.map +0 -1
- package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js +0 -111
- package/dist/module/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.js.map +0 -1
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js +0 -144
- package/dist/module/lib/Components/internal/BaseTag/BaseTag.test.js.map +0 -1
- package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js +0 -17
- package/dist/module/lib/Components/internal/CryptoIcon/CryptoIcon.figma.js.map +0 -1
- package/dist/module/lib/Components/primitives/Box/Box.mdx +0 -50
- package/dist/module/lib/Components/primitives/Box/Box.stories.js +0 -29
- package/dist/module/lib/Components/primitives/Box/Box.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js +0 -260
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js +0 -81
- package/dist/module/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js +0 -242
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js +0 -81
- package/dist/module/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js +0 -151
- package/dist/module/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
- package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js +0 -39
- package/dist/module/lib/Components/primitives/Pressable/Pressable.stories.js.map +0 -1
- package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js +0 -226
- package/dist/module/lib/Components/primitives/Pressable/Pressable.test.js.map +0 -1
- package/dist/module/lib/Components/primitives/Text/Text.mdx +0 -70
- package/dist/module/lib/Components/primitives/Text/Text.stories.js +0 -28
- package/dist/module/lib/Components/primitives/Text/Text.stories.js.map +0 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.figma.js +0 -1840
- package/dist/module/lib/Components/symbols/Icon/Icon.figma.js.map +0 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.mdx +0 -149
- package/dist/module/lib/Components/symbols/Icon/Icon.stories.js +0 -321
- package/dist/module/lib/Components/symbols/Icon/Icon.stories.js.map +0 -1
- package/dist/module/lib/Components/symbols/Icon/Icon.test.js +0 -90
- package/dist/module/lib/Components/symbols/Icon/Icon.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js +0 -135
- package/dist/module/lib/Components/visualization/Axis/XAxis/XAxis.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js +0 -135
- package/dist/module/lib/Components/visualization/Axis/YAxis/YAxis.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js +0 -183
- package/dist/module/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js +0 -333
- package/dist/module/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js +0 -86
- package/dist/module/lib/Components/visualization/CartesianChart/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js +0 -191
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.performance.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js +0 -905
- package/dist/module/lib/Components/visualization/DonutChart/DonutChart.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js +0 -70
- package/dist/module/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js +0 -586
- package/dist/module/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/DonutChart/utils.test.js +0 -440
- package/dist/module/lib/Components/visualization/DonutChart/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js +0 -134
- package/dist/module/lib/Components/visualization/Legend/Legend.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Line/utils.test.js +0 -134
- package/dist/module/lib/Components/visualization/Line/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js +0 -99
- package/dist/module/lib/Components/visualization/LineChart/LineChart.performance.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js +0 -385
- package/dist/module/lib/Components/visualization/LineChart/LineChart.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js +0 -462
- package/dist/module/lib/Components/visualization/LineChart/LineChart.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js +0 -47
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js +0 -22
- package/dist/module/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js +0 -210
- package/dist/module/lib/Components/visualization/LineChart/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/Point.stories.js +0 -200
- package/dist/module/lib/Components/visualization/Point/Point.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/Point.test.js +0 -269
- package/dist/module/lib/Components/visualization/Point/Point.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js +0 -162
- package/dist/module/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js +0 -86
- package/dist/module/lib/Components/visualization/Point/usePointGeometry.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Point/utils.test.js +0 -141
- package/dist/module/lib/Components/visualization/Point/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js +0 -128
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js +0 -338
- package/dist/module/lib/Components/visualization/ReferenceLine/ReferenceLine.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js +0 -297
- package/dist/module/lib/Components/visualization/ReferenceLine/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js +0 -340
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js +0 -261
- package/dist/module/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js +0 -193
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.stories.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js +0 -137
- package/dist/module/lib/Components/visualization/Scrubber/Scrubber.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js +0 -295
- package/dist/module/lib/Components/visualization/Scrubber/ScrubberProvider.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/Scrubber/utils.test.js +0 -395
- package/dist/module/lib/Components/visualization/Scrubber/utils.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/utils/domain/domain.test.js +0 -191
- package/dist/module/lib/Components/visualization/utils/domain/domain.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/utils/scales/scales.test.js +0 -322
- package/dist/module/lib/Components/visualization/utils/scales/scales.test.js.map +0 -1
- package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js +0 -155
- package/dist/module/lib/Components/visualization/utils/ticks/ticks.test.js.map +0 -1
- package/dist/module/styles/hooks/useStyleSheet.test.js +0 -473
- package/dist/module/styles/hooks/useStyleSheet.test.js.map +0 -1
- package/dist/module/styles/lx/createStyledPressable.test.js +0 -291
- package/dist/module/styles/lx/createStyledPressable.test.js.map +0 -1
- package/dist/module/styles/lx/createStyledText.test.js +0 -242
- package/dist/module/styles/lx/createStyledText.test.js.map +0 -1
- package/dist/module/styles/lx/createStyledView.test.js +0 -189
- package/dist/module/styles/lx/createStyledView.test.js.map +0 -1
- package/dist/module/styles/lx/resolveStyle.test.js +0 -633
- package/dist/module/styles/lx/resolveStyle.test.js.map +0 -1
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js +0 -131
- package/dist/module/styles/provider/LumenStyleSheetProvider.test.js.map +0 -1
- package/dist/module/styles/theme/createStylesheetTheme.test.js +0 -27
- package/dist/module/styles/theme/createStylesheetTheme.test.js.map +0 -1
- package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js +0 -59
- package/dist/module/styles/theme/resolvers/resolveFontWeights.test.js.map +0 -1
- package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js +0 -29
- package/dist/module/styles/theme/resolvers/resolveNegativeSpacing.test.js.map +0 -1
- package/dist/module/translations/translations.test.js +0 -34
- package/dist/module/translations/translations.test.js.map +0 -1
- package/src/lib/Components/animations/Pulse/Pulse.mdx +0 -85
- package/src/lib/Components/animations/Pulse/Pulse.stories.tsx +0 -98
- package/src/lib/Components/animations/Spin/Spin.mdx +0 -84
- package/src/lib/Components/animations/Spin/Spin.stories.tsx +0 -71
- package/src/lib/Components/core/AddressInput/AddressInput.figma.tsx +0 -43
- package/src/lib/Components/core/AddressInput/AddressInput.mdx +0 -564
- package/src/lib/Components/core/AddressInput/AddressInput.stories.tsx +0 -235
- package/src/lib/Components/core/AddressInput/AddressInput.test.tsx +0 -62
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.figma.tsx +0 -37
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.mdx +0 -200
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.stories.tsx +0 -192
- package/src/lib/Components/core/AmountDisplay/AmountDisplay.test.tsx +0 -469
- package/src/lib/Components/core/AmountInput/AmountInput.figma.tsx +0 -78
- package/src/lib/Components/core/AmountInput/AmountInput.mdx +0 -304
- package/src/lib/Components/core/AmountInput/AmountInput.stories.tsx +0 -281
- package/src/lib/Components/core/AmountInput/AmountInput.test.tsx +0 -166
- package/src/lib/Components/core/AmountInput/useAmountInputFormatting/useAmountInputFormatting.test.ts +0 -82
- package/src/lib/Components/core/Avatar/Avatar.figma.tsx +0 -42
- package/src/lib/Components/core/Avatar/Avatar.mdx +0 -166
- package/src/lib/Components/core/Avatar/Avatar.stories.tsx +0 -126
- package/src/lib/Components/core/Avatar/Avatar.test.tsx +0 -312
- package/src/lib/Components/core/Avatar/useResolveAvatarColor.test.tsx +0 -106
- package/src/lib/Components/core/AvatarButton/AvatarButton.mdx +0 -62
- package/src/lib/Components/core/AvatarButton/AvatarButton.stories.tsx +0 -51
- package/src/lib/Components/core/AvatarButton/AvatarButton.test.tsx +0 -92
- package/src/lib/Components/core/Banner/Banner.figma.tsx +0 -115
- package/src/lib/Components/core/Banner/Banner.mdx +0 -352
- package/src/lib/Components/core/Banner/Banner.stories.tsx +0 -425
- package/src/lib/Components/core/Banner/Banner.test.tsx +0 -116
- package/src/lib/Components/core/BottomSheet/BottomSheet.figma.tsx +0 -52
- package/src/lib/Components/core/BottomSheet/BottomSheet.mdx +0 -413
- package/src/lib/Components/core/BottomSheet/BottomSheet.stories.tsx +0 -996
- package/src/lib/Components/core/BottomSheet/BottomSheet.test.tsx +0 -539
- package/src/lib/Components/core/Button/Button.figma.tsx +0 -58
- package/src/lib/Components/core/Button/Button.mdx +0 -168
- package/src/lib/Components/core/Button/Button.stories.tsx +0 -238
- package/src/lib/Components/core/Button/ButtonGroup.figma.tsx +0 -15
- package/src/lib/Components/core/Card/Card.figma.tsx +0 -169
- package/src/lib/Components/core/Card/Card.mdx +0 -293
- package/src/lib/Components/core/Card/Card.stories.tsx +0 -736
- package/src/lib/Components/core/Card/Card.test.tsx +0 -226
- package/src/lib/Components/core/CardButton/CardButton.figma.tsx +0 -49
- package/src/lib/Components/core/CardButton/CardButton.mdx +0 -246
- package/src/lib/Components/core/CardButton/CardButton.stories.tsx +0 -284
- package/src/lib/Components/core/CardButton/CardButton.test.tsx +0 -140
- package/src/lib/Components/core/Checkbox/Checkbox.figma.tsx +0 -54
- package/src/lib/Components/core/Checkbox/Checkbox.mdx +0 -151
- package/src/lib/Components/core/Checkbox/Checkbox.stories.tsx +0 -115
- package/src/lib/Components/core/Checkbox/Checkbox.test.tsx +0 -115
- package/src/lib/Components/core/ContentBanner/ContentBanner.figma.tsx +0 -108
- package/src/lib/Components/core/ContentBanner/ContentBanner.mdx +0 -244
- package/src/lib/Components/core/ContentBanner/ContentBanner.stories.tsx +0 -224
- package/src/lib/Components/core/ContentBanner/ContentBanner.test.tsx +0 -132
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.figma.tsx +0 -36
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.mdx +0 -142
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.stories.tsx +0 -230
- package/src/lib/Components/core/DescriptionItem/DescriptionItem.test.tsx +0 -136
- package/src/lib/Components/core/Divider/Divider.figma.tsx +0 -11
- package/src/lib/Components/core/Divider/Divider.mdx +0 -149
- package/src/lib/Components/core/Divider/Divider.stories.tsx +0 -142
- package/src/lib/Components/core/Divider/Divider.test.tsx +0 -91
- package/src/lib/Components/core/DotCount/DotCount.figma.tsx +0 -32
- package/src/lib/Components/core/DotCount/DotCount.mdx +0 -86
- package/src/lib/Components/core/DotCount/DotCount.stories.tsx +0 -131
- package/src/lib/Components/core/DotCount/DotCount.test.tsx +0 -150
- package/src/lib/Components/core/DotIcon/DotIcon.mdx +0 -148
- package/src/lib/Components/core/DotIcon/DotIcon.stories.tsx +0 -207
- package/src/lib/Components/core/DotIcon/DotIcon.test.tsx +0 -244
- package/src/lib/Components/core/DotIcon/getDotIconProps.test.ts +0 -19
- package/src/lib/Components/core/DotIndicator/DotIndicator.figma.tsx +0 -32
- package/src/lib/Components/core/DotIndicator/DotIndicator.mdx +0 -83
- package/src/lib/Components/core/DotIndicator/DotIndicator.stories.tsx +0 -82
- package/src/lib/Components/core/DotIndicator/DotIndicator.test.tsx +0 -152
- package/src/lib/Components/core/DotIndicator/getDotIndicatorProps.test.ts +0 -31
- package/src/lib/Components/core/DotSymbol/DotSymbol.mdx +0 -131
- package/src/lib/Components/core/DotSymbol/DotSymbol.stories.tsx +0 -247
- package/src/lib/Components/core/DotSymbol/DotSymbol.test.tsx +0 -119
- package/src/lib/Components/core/DotSymbol/getDotSymbolProps.test.ts +0 -25
- package/src/lib/Components/core/IconButton/IconButton.figma.tsx +0 -53
- package/src/lib/Components/core/IconButton/IconButton.mdx +0 -137
- package/src/lib/Components/core/IconButton/IconButton.stories.tsx +0 -157
- package/src/lib/Components/core/IconButton/IconButton.test.tsx +0 -140
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.figma.tsx +0 -52
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.mdx +0 -175
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.stories.tsx +0 -195
- package/src/lib/Components/core/InteractiveIcon/InteractiveIcon.test.tsx +0 -184
- package/src/lib/Components/core/Link/Link.figma.tsx +0 -54
- package/src/lib/Components/core/Link/Link.mdx +0 -264
- package/src/lib/Components/core/Link/Link.stories.tsx +0 -322
- package/src/lib/Components/core/Link/Link.test.tsx +0 -224
- package/src/lib/Components/core/ListItem/ListItem.figma.tsx +0 -466
- package/src/lib/Components/core/ListItem/ListItem.mdx +0 -461
- package/src/lib/Components/core/ListItem/ListItem.stories.tsx +0 -610
- package/src/lib/Components/core/ListItem/ListItem.test.tsx +0 -230
- package/src/lib/Components/core/MediaBanner/MediaBanner.figma.tsx +0 -32
- package/src/lib/Components/core/MediaBanner/MediaBanner.mdx +0 -169
- package/src/lib/Components/core/MediaBanner/MediaBanner.stories.tsx +0 -175
- package/src/lib/Components/core/MediaBanner/MediaBanner.test.tsx +0 -126
- package/src/lib/Components/core/MediaButton/MediaButton.figma.tsx +0 -60
- package/src/lib/Components/core/MediaButton/MediaButton.mdx +0 -44
- package/src/lib/Components/core/MediaButton/MediaButton.stories.tsx +0 -145
- package/src/lib/Components/core/MediaButton/MediaButton.test.tsx +0 -198
- package/src/lib/Components/core/MediaCard/MediaCard.figma.tsx +0 -27
- package/src/lib/Components/core/MediaCard/MediaCard.mdx +0 -109
- package/src/lib/Components/core/MediaCard/MediaCard.stories.tsx +0 -161
- package/src/lib/Components/core/MediaCard/MediaCard.test.tsx +0 -125
- package/src/lib/Components/core/MediaImage/MediaImage.mdx +0 -135
- package/src/lib/Components/core/MediaImage/MediaImage.stories.tsx +0 -110
- package/src/lib/Components/core/MediaImage/MediaImage.test.tsx +0 -291
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.figma.tsx +0 -119
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.mdx +0 -96
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.stories.tsx +0 -154
- package/src/lib/Components/core/MediaImageGroup/MediaImageGroup.test.tsx +0 -213
- package/src/lib/Components/core/MediaTag/MediaTag.figma.tsx +0 -116
- package/src/lib/Components/core/MediaTag/MediaTag.mdx +0 -159
- package/src/lib/Components/core/MediaTag/MediaTag.stories.tsx +0 -129
- package/src/lib/Components/core/MediaTag/MediaTag.test.tsx +0 -27
- package/src/lib/Components/core/MenuList/MenuList.figma.tsx +0 -23
- package/src/lib/Components/core/MenuList/MenuList.mdx +0 -79
- package/src/lib/Components/core/MenuList/MenuList.stories.tsx +0 -154
- package/src/lib/Components/core/MenuList/MenuList.test.tsx +0 -205
- package/src/lib/Components/core/NavBar/NavBar.figma.tsx +0 -87
- package/src/lib/Components/core/NavBar/NavBar.mdx +0 -257
- package/src/lib/Components/core/NavBar/NavBar.stories.tsx +0 -162
- package/src/lib/Components/core/NavBar/NavBar.test.tsx +0 -420
- package/src/lib/Components/core/PageIndicator/PageIndicator.figma.tsx +0 -11
- package/src/lib/Components/core/PageIndicator/PageIndicator.mdx +0 -122
- package/src/lib/Components/core/PageIndicator/PageIndicator.stories.tsx +0 -82
- package/src/lib/Components/core/PageIndicator/PageIndicator.test.tsx +0 -269
- package/src/lib/Components/core/Pagination/Pagination.figma.tsx +0 -25
- package/src/lib/Components/core/Pagination/Pagination.mdx +0 -108
- package/src/lib/Components/core/Pagination/Pagination.stories.tsx +0 -90
- package/src/lib/Components/core/Pagination/Pagination.test.tsx +0 -346
- package/src/lib/Components/core/SearchInput/SearchInput.figma.tsx +0 -34
- package/src/lib/Components/core/SearchInput/SearchInput.mdx +0 -370
- package/src/lib/Components/core/SearchInput/SearchInput.stories.tsx +0 -144
- package/src/lib/Components/core/SearchInput/SearchInput.test.tsx +0 -40
- package/src/lib/Components/core/SectionHeader/SectionHeader.figma.tsx +0 -24
- package/src/lib/Components/core/SectionHeader/SectionHeader.mdx +0 -79
- package/src/lib/Components/core/SectionHeader/SectionHeader.stories.tsx +0 -95
- package/src/lib/Components/core/SectionHeader/SectionHeader.test.tsx +0 -103
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.figma.tsx +0 -34
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.mdx +0 -178
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.stories.tsx +0 -208
- package/src/lib/Components/core/SegmentedControl/SegmentedControl.test.tsx +0 -206
- package/src/lib/Components/core/SelectList/SelectList.figma.tsx +0 -37
- package/src/lib/Components/core/SelectList/SelectList.mdx +0 -280
- package/src/lib/Components/core/SelectList/SelectList.stories.tsx +0 -1125
- package/src/lib/Components/core/SelectList/SelectList.test.tsx +0 -595
- package/src/lib/Components/core/SelectList/useSelectList/useSelectListItems.test.ts +0 -195
- package/src/lib/Components/core/Skeleton/Skeleton.figma.tsx +0 -17
- package/src/lib/Components/core/Skeleton/Skeleton.mdx +0 -129
- package/src/lib/Components/core/Skeleton/Skeleton.stories.tsx +0 -91
- package/src/lib/Components/core/Skeleton/Skeleton.test.tsx +0 -53
- package/src/lib/Components/core/Spinner/Spinner.figma.tsx +0 -12
- package/src/lib/Components/core/Spinner/Spinner.mdx +0 -119
- package/src/lib/Components/core/Spinner/Spinner.stories.tsx +0 -128
- package/src/lib/Components/core/Spot/Spot.figma.tsx +0 -71
- package/src/lib/Components/core/Spot/Spot.mdx +0 -113
- package/src/lib/Components/core/Spot/Spot.stories.tsx +0 -225
- package/src/lib/Components/core/Spot/Spot.test.tsx +0 -71
- package/src/lib/Components/core/Spot/SpotNumber.test.tsx +0 -93
- package/src/lib/Components/core/Stepper/Stepper.figma.tsx +0 -11
- package/src/lib/Components/core/Stepper/Stepper.mdx +0 -167
- package/src/lib/Components/core/Stepper/Stepper.stories.tsx +0 -116
- package/src/lib/Components/core/Stepper/Stepper.test.tsx +0 -159
- package/src/lib/Components/core/Subheader/Subheader.figma.tsx +0 -72
- package/src/lib/Components/core/Subheader/Subheader.mdx +0 -366
- package/src/lib/Components/core/Subheader/Subheader.stories.tsx +0 -120
- package/src/lib/Components/core/Subheader/Subheader.test.tsx +0 -172
- package/src/lib/Components/core/Switch/Switch.figma.tsx +0 -66
- package/src/lib/Components/core/Switch/Switch.mdx +0 -149
- package/src/lib/Components/core/Switch/Switch.stories.tsx +0 -120
- package/src/lib/Components/core/Switch/Switch.test.tsx +0 -96
- package/src/lib/Components/core/TabBar/TabBar.figma.tsx +0 -70
- package/src/lib/Components/core/TabBar/TabBar.mdx +0 -209
- package/src/lib/Components/core/TabBar/TabBar.stories.tsx +0 -164
- package/src/lib/Components/core/TabBar/TabBar.test.tsx +0 -79
- package/src/lib/Components/core/Tag/Tag.figma.tsx +0 -52
- package/src/lib/Components/core/Tag/Tag.mdx +0 -98
- package/src/lib/Components/core/Tag/Tag.stories.tsx +0 -122
- package/src/lib/Components/core/Tag/Tag.test.tsx +0 -51
- package/src/lib/Components/core/TextInput/TextInput.figma.tsx +0 -49
- package/src/lib/Components/core/TextInput/TextInput.mdx +0 -305
- package/src/lib/Components/core/TextInput/TextInput.stories.tsx +0 -282
- package/src/lib/Components/core/TextInput/TextInput.test.tsx +0 -348
- package/src/lib/Components/core/ThemeProvider/ThemeProvider.test.tsx +0 -39
- package/src/lib/Components/core/Tile/Tile.figma.tsx +0 -113
- package/src/lib/Components/core/Tile/Tile.mdx +0 -252
- package/src/lib/Components/core/Tile/Tile.stories.tsx +0 -372
- package/src/lib/Components/core/Tile/Tile.test.tsx +0 -227
- package/src/lib/Components/core/TileButton/TileButton.figma.tsx +0 -40
- package/src/lib/Components/core/TileButton/TileButton.mdx +0 -184
- package/src/lib/Components/core/TileButton/TileButton.stories.tsx +0 -201
- package/src/lib/Components/core/TileButton/TileButton.test.tsx +0 -137
- package/src/lib/Components/core/Timeline/Timeline.figma.tsx +0 -79
- package/src/lib/Components/core/Timeline/Timeline.mdx +0 -49
- package/src/lib/Components/core/Timeline/Timeline.stories.tsx +0 -269
- package/src/lib/Components/core/Timeline/Timeline.test.tsx +0 -279
- package/src/lib/Components/core/Toast/Toast.figma.tsx +0 -36
- package/src/lib/Components/core/Toast/Toast.mdx +0 -203
- package/src/lib/Components/core/Toast/Toast.stories.tsx +0 -249
- package/src/lib/Components/core/Toast/Toast.test.tsx +0 -181
- package/src/lib/Components/core/Toast/Toaster.test.tsx +0 -687
- package/src/lib/Components/core/Tooltip/Tooltip.figma.tsx +0 -30
- package/src/lib/Components/core/Tooltip/Tooltip.mdx +0 -173
- package/src/lib/Components/core/Tooltip/Tooltip.stories.tsx +0 -183
- package/src/lib/Components/core/Tooltip/Tooltip.test.tsx +0 -81
- package/src/lib/Components/core/Trend/Trend.figma.tsx +0 -28
- package/src/lib/Components/core/Trend/Trend.mdx +0 -104
- package/src/lib/Components/core/Trend/Trend.stories.tsx +0 -74
- package/src/lib/Components/core/Trend/Trend.test.tsx +0 -124
- package/src/lib/Components/internal/BaseButton/BaseButton.test.tsx +0 -149
- package/src/lib/Components/internal/BaseInput/useBaseInputValue/useBaseInputValue.test.ts +0 -110
- package/src/lib/Components/internal/BaseTag/BaseTag.test.tsx +0 -137
- package/src/lib/Components/internal/CryptoIcon/CryptoIcon.figma.tsx +0 -20
- package/src/lib/Components/primitives/Box/Box.mdx +0 -50
- package/src/lib/Components/primitives/Box/Box.stories.tsx +0 -31
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.mdx +0 -142
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.stories.tsx +0 -188
- package/src/lib/Components/primitives/Gradient/LinearGradient/LinearGradient.test.tsx +0 -70
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.mdx +0 -109
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.stories.tsx +0 -152
- package/src/lib/Components/primitives/Gradient/RadialGradient/RadialGradient.test.tsx +0 -70
- package/src/lib/Components/primitives/Gradient/utils/resolveGradientColor.test.ts +0 -144
- package/src/lib/Components/primitives/Pressable/Pressable.mdx +0 -103
- package/src/lib/Components/primitives/Pressable/Pressable.stories.tsx +0 -34
- package/src/lib/Components/primitives/Pressable/Pressable.test.tsx +0 -222
- package/src/lib/Components/primitives/Text/Text.mdx +0 -70
- package/src/lib/Components/primitives/Text/Text.stories.tsx +0 -29
- package/src/lib/Components/symbols/Icon/Icon.figma.tsx +0 -3085
- package/src/lib/Components/symbols/Icon/Icon.mdx +0 -149
- package/src/lib/Components/symbols/Icon/Icon.stories.tsx +0 -305
- package/src/lib/Components/symbols/Icon/Icon.test.tsx +0 -92
- package/src/lib/Components/visualization/Axis/XAxis/XAxis.test.tsx +0 -101
- package/src/lib/Components/visualization/Axis/YAxis/YAxis.test.tsx +0 -101
- package/src/lib/Components/visualization/CartesianChart/RevealAnimation/RevealAnimationProvider.test.tsx +0 -172
- package/src/lib/Components/visualization/CartesianChart/context/useBuildChartContext.test.ts +0 -273
- package/src/lib/Components/visualization/CartesianChart/utils.test.ts +0 -88
- package/src/lib/Components/visualization/DonutChart/DonutChart.performance.test.tsx +0 -218
- package/src/lib/Components/visualization/DonutChart/DonutChart.test.tsx +0 -885
- package/src/lib/Components/visualization/DonutChart/hooks/useContrastSafeSeries.test.tsx +0 -68
- package/src/lib/Components/visualization/DonutChart/useDonutSeries/useDonutSeries.test.ts +0 -284
- package/src/lib/Components/visualization/DonutChart/utils.test.ts +0 -487
- package/src/lib/Components/visualization/Legend/Legend.test.tsx +0 -97
- package/src/lib/Components/visualization/Line/utils.test.ts +0 -161
- package/src/lib/Components/visualization/LineChart/LineChart.performance.test.tsx +0 -101
- package/src/lib/Components/visualization/LineChart/LineChart.stories.tsx +0 -346
- package/src/lib/Components/visualization/LineChart/LineChart.test.tsx +0 -393
- package/src/lib/Components/visualization/LineChart/LineChartEmptyState/LineChartEmptyState.test.tsx +0 -39
- package/src/lib/Components/visualization/LineChart/LineChartEmptyState/utils.test.ts +0 -23
- package/src/lib/Components/visualization/LineChart/utils.test.ts +0 -224
- package/src/lib/Components/visualization/Point/Point.stories.tsx +0 -165
- package/src/lib/Components/visualization/Point/Point.test.tsx +0 -243
- package/src/lib/Components/visualization/Point/pointContext/MagneticPointsProvider.test.tsx +0 -174
- package/src/lib/Components/visualization/Point/usePointGeometry.test.ts +0 -95
- package/src/lib/Components/visualization/Point/utils.test.ts +0 -169
- package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.stories.tsx +0 -109
- package/src/lib/Components/visualization/ReferenceLine/ReferenceLine.test.tsx +0 -269
- package/src/lib/Components/visualization/ReferenceLine/utils.test.ts +0 -332
- package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/DefaultScrubberTooltip.test.tsx +0 -259
- package/src/lib/Components/visualization/Scrubber/DefaultScrubberTooltip/utils.test.ts +0 -266
- package/src/lib/Components/visualization/Scrubber/Scrubber.stories.tsx +0 -181
- package/src/lib/Components/visualization/Scrubber/Scrubber.test.tsx +0 -112
- package/src/lib/Components/visualization/Scrubber/ScrubberProvider.test.tsx +0 -305
- package/src/lib/Components/visualization/Scrubber/utils.test.ts +0 -407
- package/src/lib/Components/visualization/utils/domain/domain.test.ts +0 -156
- package/src/lib/Components/visualization/utils/scales/scales.test.ts +0 -228
- package/src/lib/Components/visualization/utils/ticks/ticks.test.ts +0 -173
- package/src/styles/hooks/useStyleSheet.test.tsx +0 -520
- package/src/styles/lx/createStyledPressable.test.tsx +0 -253
- package/src/styles/lx/createStyledText.test.tsx +0 -237
- package/src/styles/lx/createStyledView.test.tsx +0 -142
- package/src/styles/lx/resolveStyle.test.tsx +0 -687
- package/src/styles/provider/LumenStyleSheetProvider.test.tsx +0 -123
- package/src/styles/theme/createStylesheetTheme.test.ts +0 -30
- package/src/styles/theme/resolvers/resolveFontWeights.test.ts +0 -74
- package/src/styles/theme/resolvers/resolveNegativeSpacing.test.ts +0 -29
- package/src/translations/translations.test.ts +0 -56
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import { Meta, Canvas, Controls, Source } from '@storybook/addon-docs/blocks';
|
|
2
|
-
import * as ToastStories from './Toast.stories';
|
|
3
|
-
import {
|
|
4
|
-
CustomTabs,
|
|
5
|
-
Tab,
|
|
6
|
-
SetupNote,
|
|
7
|
-
} from '../../../../../.storybook/components';
|
|
8
|
-
|
|
9
|
-
<Meta title='Core/Toast' of={ToastStories} />
|
|
10
|
-
|
|
11
|
-
# Toast
|
|
12
|
-
|
|
13
|
-
<CustomTabs>
|
|
14
|
-
<Tab label="Overview">
|
|
15
|
-
|
|
16
|
-
## Introduction
|
|
17
|
-
|
|
18
|
-
Toasts are brief, non-blocking messages that confirm an action or surface a
|
|
19
|
-
status. They appear in a queued stack, are timed by status, and can carry a
|
|
20
|
-
single action.
|
|
21
|
-
|
|
22
|
-
Mount `Toaster` once and call `toast` from anywhere — no provider or hook
|
|
23
|
-
required. `Toaster` owns the queue, timing, and placement, and renders each
|
|
24
|
-
item for you. `position`, `maxItems`, `insets`, and `durations` configure that
|
|
25
|
-
queue.
|
|
26
|
-
|
|
27
|
-
> View in [Figma](https://www.figma.com/design/JxaLVMTWirCpU0rsbZ30k7/2.-Components-Library?node-id=21016-59623&m=dev).
|
|
28
|
-
|
|
29
|
-
<Canvas of={ToastStories.Base} />
|
|
30
|
-
<Controls of={ToastStories.Base} />
|
|
31
|
-
|
|
32
|
-
Call `toast` from anywhere. Every method that enqueues a toast returns `{ id }`.
|
|
33
|
-
`info`, `success`, `warning`, and `error` set `appearance` for you.
|
|
34
|
-
`loading` also sets the spinner.
|
|
35
|
-
|
|
36
|
-
- `toast.notify(options)`: enqueues a toast.
|
|
37
|
-
- `toast.info(options)`: info. Auto-dismisses after 5s.
|
|
38
|
-
- `toast.success(options)`: success. Auto-dismisses after 5s.
|
|
39
|
-
- `toast.warning(options)`: warning. Persists until dismissed.
|
|
40
|
-
- `toast.error(options)`: error. Persists until dismissed.
|
|
41
|
-
- `toast.loading(options)`: spinner. Persists until updated or dismissed.
|
|
42
|
-
- `toast.update(id, options)`: patches a live toast. Keeps the same id.
|
|
43
|
-
- `toast.dismiss(id)`: dismisses one toast.
|
|
44
|
-
- `toast.dismissAll()`: dismisses every toast, visible or queued.
|
|
45
|
-
- `toast.promise(promise, options)`: loading, then success or error, on one id.
|
|
46
|
-
|
|
47
|
-
`notify` and the shortcuts take these options:
|
|
48
|
-
|
|
49
|
-
- `title` (required): the message.
|
|
50
|
-
- `appearance`: info, success, warning, or error. Defaults to info.
|
|
51
|
-
- `loading`: replaces the status icon with a spinner. Defaults to false.
|
|
52
|
-
- `duration`: milliseconds for this item. `0` disables auto-dismiss. Defaults
|
|
53
|
-
to the status default.
|
|
54
|
-
- `dismissible`: allows the swipe and the dismiss accessibility action.
|
|
55
|
-
Defaults to true.
|
|
56
|
-
- `action`: `{ label, onAction }`. Pressing it does not dismiss the toast.
|
|
57
|
-
|
|
58
|
-
`toast.promise` takes `{ loading, success, error }` instead. `success` and
|
|
59
|
-
`error` may be the next state, or a function of the result.
|
|
60
|
-
|
|
61
|
-
### Appearance
|
|
62
|
-
|
|
63
|
-
Appearance drives the leading icon and the default timing:
|
|
64
|
-
|
|
65
|
-
- **info** (default): general confirmation. Auto-dismisses after 5s.
|
|
66
|
-
- **success**: positive outcome. Auto-dismisses after 5s.
|
|
67
|
-
- **warning**: caution. Persists until dismissed.
|
|
68
|
-
- **error**: failure. Persists until dismissed.
|
|
69
|
-
- **loading**: `toast.loading` shows a spinner. Persists until updated or dismissed.
|
|
70
|
-
|
|
71
|
-
<Canvas of={ToastStories.AppearanceShowcase} />
|
|
72
|
-
|
|
73
|
-
### Actions
|
|
74
|
-
|
|
75
|
-
Pass `action` with a label and `onAction`. Pressing it never dismisses the
|
|
76
|
-
toast, so it is well suited to a retry.
|
|
77
|
-
|
|
78
|
-
The action's placement is automatic. While the title and the action fit on
|
|
79
|
-
one row, the action sits inline beside the title. Otherwise the action drops
|
|
80
|
-
to its own row underneath. The title itself wraps, then truncates with an
|
|
81
|
-
ellipsis past a few lines.
|
|
82
|
-
|
|
83
|
-
<Canvas of={ToastStories.WithAction} />
|
|
84
|
-
|
|
85
|
-
### Durations
|
|
86
|
-
|
|
87
|
-
`Toaster`'s `durations` replaces the Lumen timing for the appearances you
|
|
88
|
-
list, in milliseconds. `0` keeps that appearance on screen until dismissed. A
|
|
89
|
-
`duration` on an individual toast overrides this configuration. The timer
|
|
90
|
-
starts when the toast becomes visible, and starts again when an update changes
|
|
91
|
-
appearance, loading, or duration.
|
|
92
|
-
|
|
93
|
-
Unlike web, there is no close button: toasts are dismissed by swiping left or
|
|
94
|
-
right, unless `dismissible` is `false`.
|
|
95
|
-
|
|
96
|
-
<Canvas of={ToastStories.WithDuration} />
|
|
97
|
-
|
|
98
|
-
### Programmatic dismissal
|
|
99
|
-
|
|
100
|
-
`toast.notify` and the appearance shortcuts return `{ id }`. Pass that id to
|
|
101
|
-
`toast.dismiss` when the toast is no longer relevant. `toast.dismissAll`
|
|
102
|
-
clears the queue.
|
|
103
|
-
|
|
104
|
-
<Canvas of={ToastStories.WithDismiss} />
|
|
105
|
-
|
|
106
|
-
### Position
|
|
107
|
-
|
|
108
|
-
`position` anchors the queue to the `top` or `bottom` of the screen — there
|
|
109
|
-
are no corner or center variants on React Native. Items enter from that same
|
|
110
|
-
edge and clear the safe area automatically. Use `insets` to clear extra
|
|
111
|
-
obstructions such as a custom tab bar.
|
|
112
|
-
|
|
113
|
-
### Queue
|
|
114
|
-
|
|
115
|
-
Up to `maxItems` toasts are visible at once (default 1). Extra items wait in a
|
|
116
|
-
FIFO backlog and appear as slots free up. Items waiting in the backlog are
|
|
117
|
-
stacked on the pile, so they slide out from behind the visible toasts instead
|
|
118
|
-
of entering from the edge.
|
|
119
|
-
|
|
120
|
-
### Accessibility
|
|
121
|
-
|
|
122
|
-
- Info, success and loading announce politely; warning and error announce
|
|
123
|
-
assertively. Android TalkBack reads the surface's `accessibilityLiveRegion`;
|
|
124
|
-
iOS VoiceOver has no live regions, so `Toaster` posts the title as an
|
|
125
|
-
announcement, interrupting current speech only for warning and error.
|
|
126
|
-
- Screen readers capture swipes, so each toast is a single element labeled by
|
|
127
|
-
its title, with dismissal and the action exposed as accessibility actions
|
|
128
|
-
(VoiceOver rotor, TalkBack actions menu). On iOS the two-finger escape scrub
|
|
129
|
-
also dismisses.
|
|
130
|
-
- Touching a toast pauses its timer, satisfying "pause on timed content".
|
|
131
|
-
Releasing it resumes from the remaining time.
|
|
132
|
-
|
|
133
|
-
## The `Toast` item
|
|
134
|
-
|
|
135
|
-
`Toaster` renders a `Toast` for each queued item. The variants above are that
|
|
136
|
-
surface. Render `Toast` yourself only when you need finer control, or when you
|
|
137
|
-
are plugging the item into a notification system you already own. You then
|
|
138
|
-
handle queueing, timing, and dismissal yourself.
|
|
139
|
-
|
|
140
|
-
</Tab>
|
|
141
|
-
|
|
142
|
-
<Tab label="Implementation">
|
|
143
|
-
<SetupNote />
|
|
144
|
-
|
|
145
|
-
### Setup
|
|
146
|
-
|
|
147
|
-
Mount `Toaster` once, near the app root — it takes no children and renders
|
|
148
|
-
the queue viewport as an absolutely-positioned overlay, so there is no
|
|
149
|
-
separate viewport to mount. Mounting more than one duplicates every toast on
|
|
150
|
-
screen and logs a console warning. Requires
|
|
151
|
-
`react-native-gesture-handler`'s `GestureHandlerRootView` and
|
|
152
|
-
`react-native-safe-area-context`'s `SafeAreaProvider` above it in the tree.
|
|
153
|
-
|
|
154
|
-
```tsx
|
|
155
|
-
import { GestureHandlerRootView } from 'react-native-gesture-handler';
|
|
156
|
-
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
157
|
-
import { Toaster } from '@ledgerhq/lumen-ui-rnative';
|
|
158
|
-
|
|
159
|
-
function App() {
|
|
160
|
-
return (
|
|
161
|
-
<GestureHandlerRootView style={{ flex: 1 }}>
|
|
162
|
-
<SafeAreaProvider>
|
|
163
|
-
<Toaster position='bottom' maxItems={1} />
|
|
164
|
-
<Screens />
|
|
165
|
-
</SafeAreaProvider>
|
|
166
|
-
</GestureHandlerRootView>
|
|
167
|
-
);
|
|
168
|
-
}
|
|
169
|
-
```
|
|
170
|
-
|
|
171
|
-
### Triggering toasts
|
|
172
|
-
|
|
173
|
-
<Source of={ToastStories.Base} />
|
|
174
|
-
|
|
175
|
-
### With an action
|
|
176
|
-
|
|
177
|
-
<Source of={ToastStories.WithAction} />
|
|
178
|
-
|
|
179
|
-
### Durations
|
|
180
|
-
|
|
181
|
-
<Source of={ToastStories.WithDuration} />
|
|
182
|
-
|
|
183
|
-
### Programmatic dismissal
|
|
184
|
-
|
|
185
|
-
<Source of={ToastStories.WithDismiss} />
|
|
186
|
-
|
|
187
|
-
### Loading and updates
|
|
188
|
-
|
|
189
|
-
Start a loading toast, then update it in place to success or error. The toast
|
|
190
|
-
keeps the same id across the transition, and its timer restarts at the newly
|
|
191
|
-
resolved duration:
|
|
192
|
-
|
|
193
|
-
<Source of={ToastStories.WithUpdate} />
|
|
194
|
-
|
|
195
|
-
### Binding a promise
|
|
196
|
-
|
|
197
|
-
`promise` moves a single toast through loading, then success or error,
|
|
198
|
-
tracking the given promise automatically:
|
|
199
|
-
|
|
200
|
-
<Source of={ToastStories.WithPromise} />
|
|
201
|
-
|
|
202
|
-
</Tab>
|
|
203
|
-
</CustomTabs>
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { toast } from '@ledgerhq/lumen-utils-shared';
|
|
4
|
-
import { useState } from 'react';
|
|
5
|
-
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
6
|
-
import { Box } from "../../primitives/index.js";
|
|
7
|
-
import { Button } from "../Button/index.js";
|
|
8
|
-
import { Toast } from "./Toast.js";
|
|
9
|
-
import { Toaster } from "./Toaster.js";
|
|
10
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
|
-
const RANDOM_APPEARANCES = ['info', 'success', 'warning', 'error'];
|
|
12
|
-
const RANDOM_TITLES = ['Payment done', 'Report ready for review in 30 minutes', 'This is a very long toast message that wraps over up to five lines without an action', 'This is a very long toast message that wraps over up to five lines'];
|
|
13
|
-
const RANDOM_ACTION_LABELS = ['Open', 'Undo', 'Retry', 'Download the report', 'Retry the upload'];
|
|
14
|
-
const pickRandom = items => items[Math.floor(Math.random() * items.length)];
|
|
15
|
-
const showRandomToast = () => {
|
|
16
|
-
toast.notify({
|
|
17
|
-
appearance: pickRandom(RANDOM_APPEARANCES),
|
|
18
|
-
title: pickRandom(RANDOM_TITLES),
|
|
19
|
-
action: Math.random() > 0.5 ? {
|
|
20
|
-
label: pickRandom(RANDOM_ACTION_LABELS),
|
|
21
|
-
onAction: () => {}
|
|
22
|
-
} : undefined
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
|
-
const meta = {
|
|
26
|
-
component: Toaster,
|
|
27
|
-
id: 'rnative-toast',
|
|
28
|
-
title: 'Core/Toast',
|
|
29
|
-
parameters: {
|
|
30
|
-
layout: 'centered',
|
|
31
|
-
backgrounds: {
|
|
32
|
-
default: 'light'
|
|
33
|
-
},
|
|
34
|
-
docs: {
|
|
35
|
-
source: {
|
|
36
|
-
language: 'tsx',
|
|
37
|
-
format: true,
|
|
38
|
-
type: 'code'
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
argTypes: {
|
|
43
|
-
durations: {
|
|
44
|
-
control: 'object'
|
|
45
|
-
},
|
|
46
|
-
insets: {
|
|
47
|
-
control: 'object'
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
export default meta;
|
|
52
|
-
export const Base = {
|
|
53
|
-
args: {
|
|
54
|
-
position: 'bottom',
|
|
55
|
-
maxItems: 1,
|
|
56
|
-
durations: {
|
|
57
|
-
info: 3000,
|
|
58
|
-
success: 3000,
|
|
59
|
-
warning: 3000,
|
|
60
|
-
error: 3000
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
render: args => /*#__PURE__*/_jsxs(SafeAreaProvider, {
|
|
64
|
-
children: [/*#__PURE__*/_jsx(Toaster, {
|
|
65
|
-
...args
|
|
66
|
-
}), /*#__PURE__*/_jsxs(Box, {
|
|
67
|
-
lx: {
|
|
68
|
-
flexDirection: 'column',
|
|
69
|
-
alignItems: 'center',
|
|
70
|
-
gap: 's8'
|
|
71
|
-
},
|
|
72
|
-
children: [/*#__PURE__*/_jsx(Button, {
|
|
73
|
-
appearance: "base",
|
|
74
|
-
size: "sm",
|
|
75
|
-
onPress: () => toast.info({
|
|
76
|
-
title: 'Your transaction was sent'
|
|
77
|
-
}),
|
|
78
|
-
children: "Show Info"
|
|
79
|
-
}), /*#__PURE__*/_jsx(Button, {
|
|
80
|
-
appearance: "base",
|
|
81
|
-
size: "sm",
|
|
82
|
-
onPress: () => toast.success({
|
|
83
|
-
title: 'Payment done'
|
|
84
|
-
}),
|
|
85
|
-
children: "Show Success"
|
|
86
|
-
}), /*#__PURE__*/_jsx(Button, {
|
|
87
|
-
appearance: "base",
|
|
88
|
-
size: "sm",
|
|
89
|
-
onPress: () => toast.warning({
|
|
90
|
-
title: 'Low balance'
|
|
91
|
-
}),
|
|
92
|
-
children: "Show Warning"
|
|
93
|
-
}), /*#__PURE__*/_jsx(Button, {
|
|
94
|
-
appearance: "base",
|
|
95
|
-
size: "sm",
|
|
96
|
-
onPress: () => toast.error({
|
|
97
|
-
title: 'Payment failed'
|
|
98
|
-
}),
|
|
99
|
-
children: "Show Error"
|
|
100
|
-
}), /*#__PURE__*/_jsx(Button, {
|
|
101
|
-
appearance: "base",
|
|
102
|
-
size: "sm",
|
|
103
|
-
onPress: () => toast.loading({
|
|
104
|
-
title: 'Processing payment'
|
|
105
|
-
}),
|
|
106
|
-
children: "Show Loading"
|
|
107
|
-
}), /*#__PURE__*/_jsx(Button, {
|
|
108
|
-
appearance: "base",
|
|
109
|
-
size: "sm",
|
|
110
|
-
onPress: showRandomToast,
|
|
111
|
-
children: "Show Random"
|
|
112
|
-
})]
|
|
113
|
-
})]
|
|
114
|
-
})
|
|
115
|
-
};
|
|
116
|
-
export const WithAction = {
|
|
117
|
-
render: () => /*#__PURE__*/_jsxs(SafeAreaProvider, {
|
|
118
|
-
children: [/*#__PURE__*/_jsx(Toaster, {}), /*#__PURE__*/_jsx(Button, {
|
|
119
|
-
appearance: "base",
|
|
120
|
-
onPress: () => toast.error({
|
|
121
|
-
title: 'Payment failed',
|
|
122
|
-
action: {
|
|
123
|
-
label: 'Retry',
|
|
124
|
-
onAction: () => {}
|
|
125
|
-
}
|
|
126
|
-
}),
|
|
127
|
-
children: "Show actionable toast"
|
|
128
|
-
})]
|
|
129
|
-
})
|
|
130
|
-
};
|
|
131
|
-
export const WithDuration = {
|
|
132
|
-
render: () => /*#__PURE__*/_jsxs(SafeAreaProvider, {
|
|
133
|
-
children: [/*#__PURE__*/_jsx(Toaster, {}), /*#__PURE__*/_jsx(Button, {
|
|
134
|
-
appearance: "base",
|
|
135
|
-
onPress: () => toast.success({
|
|
136
|
-
title: 'Payment done'
|
|
137
|
-
}),
|
|
138
|
-
children: "Show auto-dismissing toast"
|
|
139
|
-
})]
|
|
140
|
-
})
|
|
141
|
-
};
|
|
142
|
-
export const WithDismiss = {
|
|
143
|
-
render: () => {
|
|
144
|
-
const [id, setId] = useState(null);
|
|
145
|
-
return /*#__PURE__*/_jsxs(SafeAreaProvider, {
|
|
146
|
-
children: [/*#__PURE__*/_jsx(Toaster, {}), /*#__PURE__*/_jsx(Button, {
|
|
147
|
-
appearance: "base",
|
|
148
|
-
onPress: () => {
|
|
149
|
-
if (id === null) {
|
|
150
|
-
const next = toast.error({
|
|
151
|
-
title: 'Unable to save'
|
|
152
|
-
});
|
|
153
|
-
setId(next.id);
|
|
154
|
-
return;
|
|
155
|
-
}
|
|
156
|
-
toast.dismiss(id);
|
|
157
|
-
setId(null);
|
|
158
|
-
},
|
|
159
|
-
children: id === null ? 'Show toast' : 'Hide toast'
|
|
160
|
-
})]
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
};
|
|
164
|
-
export const WithUpdate = {
|
|
165
|
-
render: () => /*#__PURE__*/_jsxs(SafeAreaProvider, {
|
|
166
|
-
children: [/*#__PURE__*/_jsx(Toaster, {}), /*#__PURE__*/_jsx(Button, {
|
|
167
|
-
appearance: "base",
|
|
168
|
-
onPress: () => {
|
|
169
|
-
const {
|
|
170
|
-
id
|
|
171
|
-
} = toast.loading({
|
|
172
|
-
title: 'Uploading…'
|
|
173
|
-
});
|
|
174
|
-
setTimeout(() => {
|
|
175
|
-
toast.update(id, {
|
|
176
|
-
appearance: 'success',
|
|
177
|
-
loading: false,
|
|
178
|
-
title: 'Upload complete'
|
|
179
|
-
});
|
|
180
|
-
}, 2000);
|
|
181
|
-
},
|
|
182
|
-
children: "Upload file"
|
|
183
|
-
})]
|
|
184
|
-
})
|
|
185
|
-
};
|
|
186
|
-
export const WithPromise = {
|
|
187
|
-
render: () => /*#__PURE__*/_jsxs(SafeAreaProvider, {
|
|
188
|
-
children: [/*#__PURE__*/_jsx(Toaster, {}), /*#__PURE__*/_jsx(Button, {
|
|
189
|
-
appearance: "base",
|
|
190
|
-
onPress: () => toast.promise(new Promise(resolve => setTimeout(resolve, 2000)), {
|
|
191
|
-
loading: {
|
|
192
|
-
title: 'Saving…'
|
|
193
|
-
},
|
|
194
|
-
success: {
|
|
195
|
-
title: 'Profile saved'
|
|
196
|
-
},
|
|
197
|
-
error: {
|
|
198
|
-
title: 'Could not save'
|
|
199
|
-
}
|
|
200
|
-
}),
|
|
201
|
-
children: "Save profile"
|
|
202
|
-
})]
|
|
203
|
-
})
|
|
204
|
-
};
|
|
205
|
-
export const AppearanceShowcase = {
|
|
206
|
-
parameters: {
|
|
207
|
-
docs: {
|
|
208
|
-
source: {
|
|
209
|
-
type: 'dynamic'
|
|
210
|
-
}
|
|
211
|
-
}
|
|
212
|
-
},
|
|
213
|
-
render: () => /*#__PURE__*/_jsxs(Box, {
|
|
214
|
-
lx: {
|
|
215
|
-
flexDirection: 'column',
|
|
216
|
-
gap: 's8',
|
|
217
|
-
width: 's400'
|
|
218
|
-
},
|
|
219
|
-
children: [/*#__PURE__*/_jsx(Toast, {
|
|
220
|
-
appearance: "info",
|
|
221
|
-
title: "Your transaction was sent"
|
|
222
|
-
}), /*#__PURE__*/_jsx(Toast, {
|
|
223
|
-
appearance: "success",
|
|
224
|
-
title: "Payment done"
|
|
225
|
-
}), /*#__PURE__*/_jsx(Toast, {
|
|
226
|
-
appearance: "warning",
|
|
227
|
-
title: "Low balance"
|
|
228
|
-
}), /*#__PURE__*/_jsx(Toast, {
|
|
229
|
-
appearance: "error",
|
|
230
|
-
title: "Payment failed",
|
|
231
|
-
action: {
|
|
232
|
-
label: 'Retry',
|
|
233
|
-
onAction: () => {}
|
|
234
|
-
}
|
|
235
|
-
}), /*#__PURE__*/_jsx(Toast, {
|
|
236
|
-
loading: true,
|
|
237
|
-
title: "Processing payment"
|
|
238
|
-
})]
|
|
239
|
-
})
|
|
240
|
-
};
|
|
241
|
-
//# sourceMappingURL=Toast.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["toast","useState","SafeAreaProvider","Box","Button","Toast","Toaster","jsx","_jsx","jsxs","_jsxs","RANDOM_APPEARANCES","RANDOM_TITLES","RANDOM_ACTION_LABELS","pickRandom","items","Math","floor","random","length","showRandomToast","notify","appearance","title","action","label","onAction","undefined","meta","component","id","parameters","layout","backgrounds","default","docs","source","language","format","type","argTypes","durations","control","insets","Base","args","position","maxItems","info","success","warning","error","render","children","lx","flexDirection","alignItems","gap","size","onPress","loading","WithAction","WithDuration","WithDismiss","setId","next","dismiss","WithUpdate","setTimeout","update","WithPromise","promise","Promise","resolve","AppearanceShowcase","width"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/Toast/Toast.stories.tsx"],"mappings":";;AAAA,SAASA,KAAK,QAAQ,8BAA8B;AAEpD,SAASC,QAAQ,QAAQ,OAAO;AAChC,SAASC,gBAAgB,QAAQ,gCAAgC;AACjE,SAASC,GAAG,QAAQ,2BAAkB;AACtC,SAASC,MAAM,QAAQ,oBAAW;AAClC,SAASC,KAAK,QAAQ,YAAS;AAC/B,SAASC,OAAO,QAAQ,cAAW;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGpC,MAAMC,kBAAqC,GAAG,CAC5C,MAAM,EACN,SAAS,EACT,SAAS,EACT,OAAO,CACR;AAED,MAAMC,aAAa,GAAG,CACpB,cAAc,EACd,uCAAuC,EACvC,sFAAsF,EACtF,oEAAoE,CACrE;AAED,MAAMC,oBAAoB,GAAG,CAC3B,MAAM,EACN,MAAM,EACN,OAAO,EACP,qBAAqB,EACrB,kBAAkB,CACnB;AAED,MAAMC,UAAU,GAAQC,KAAmB,IACzCA,KAAK,CAACC,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,MAAM,CAAC,CAAC,GAAGH,KAAK,CAACI,MAAM,CAAC,CAAC;AAEjD,MAAM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use strict";
|
|
2
|
-
|
|
3
|
-
import { describe, it, expect, jest } from '@jest/globals';
|
|
4
|
-
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
5
|
-
import { fireEvent, render } from '@testing-library/react-native';
|
|
6
|
-
import { StyleSheet } from 'react-native';
|
|
7
|
-
import { ThemeProvider } from "../ThemeProvider/ThemeProvider.js";
|
|
8
|
-
import { Toast } from "./Toast.js";
|
|
9
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
-
const TestWrapper = ({
|
|
11
|
-
children
|
|
12
|
-
}) => /*#__PURE__*/_jsx(ThemeProvider, {
|
|
13
|
-
themes: ledgerLiveThemes,
|
|
14
|
-
colorScheme: "dark",
|
|
15
|
-
locale: "en",
|
|
16
|
-
children: children
|
|
17
|
-
});
|
|
18
|
-
describe('Toast', () => {
|
|
19
|
-
describe('Rendering', () => {
|
|
20
|
-
it('should render the title', () => {
|
|
21
|
-
const {
|
|
22
|
-
getByText
|
|
23
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
24
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
25
|
-
title: "Payment done"
|
|
26
|
-
})
|
|
27
|
-
}));
|
|
28
|
-
getByText('Payment done');
|
|
29
|
-
});
|
|
30
|
-
it('should wrap the title over up to five lines', () => {
|
|
31
|
-
const {
|
|
32
|
-
getByText
|
|
33
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
34
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
35
|
-
title: "A very long toast title"
|
|
36
|
-
})
|
|
37
|
-
}));
|
|
38
|
-
expect(getByText('A very long toast title').props.numberOfLines).toBe(5);
|
|
39
|
-
});
|
|
40
|
-
it('should not render a leading icon for the info appearance', () => {
|
|
41
|
-
const {
|
|
42
|
-
queryByTestId
|
|
43
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
44
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
45
|
-
title: "Info",
|
|
46
|
-
appearance: "info"
|
|
47
|
-
})
|
|
48
|
-
}));
|
|
49
|
-
expect(queryByTestId('toast-icon')).toBeNull();
|
|
50
|
-
});
|
|
51
|
-
it('should render a status icon for non-info appearances', () => {
|
|
52
|
-
const {
|
|
53
|
-
getByTestId
|
|
54
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
55
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
56
|
-
title: "Saved",
|
|
57
|
-
appearance: "success"
|
|
58
|
-
})
|
|
59
|
-
}));
|
|
60
|
-
getByTestId('toast-icon');
|
|
61
|
-
});
|
|
62
|
-
it('should render a spinner while loading', () => {
|
|
63
|
-
const {
|
|
64
|
-
getByTestId
|
|
65
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
66
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
67
|
-
title: "Uploading",
|
|
68
|
-
loading: true
|
|
69
|
-
})
|
|
70
|
-
}));
|
|
71
|
-
getByTestId('toast-spinner');
|
|
72
|
-
});
|
|
73
|
-
});
|
|
74
|
-
describe('Layout', () => {
|
|
75
|
-
it('should wrap the title and action together, so an action that does not fit drops to its own line under the title', () => {
|
|
76
|
-
const {
|
|
77
|
-
getByTestId
|
|
78
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
79
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
80
|
-
title: "Report ready",
|
|
81
|
-
action: {
|
|
82
|
-
label: 'Download the report',
|
|
83
|
-
onAction: jest.fn()
|
|
84
|
-
}
|
|
85
|
-
})
|
|
86
|
-
}));
|
|
87
|
-
expect(getByTestId('toast-text-action').props.style).toEqual(expect.objectContaining({
|
|
88
|
-
flexDirection: 'row',
|
|
89
|
-
flexWrap: 'wrap',
|
|
90
|
-
alignItems: 'flex-start'
|
|
91
|
-
}));
|
|
92
|
-
expect(getByTestId('toast-text-action').props.style.justifyContent).toBeUndefined();
|
|
93
|
-
});
|
|
94
|
-
it('should not shift the action when there is no leading icon', () => {
|
|
95
|
-
const {
|
|
96
|
-
getByTestId
|
|
97
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
98
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
99
|
-
appearance: "info",
|
|
100
|
-
title: "Report ready",
|
|
101
|
-
action: {
|
|
102
|
-
label: 'Open',
|
|
103
|
-
onAction: jest.fn()
|
|
104
|
-
}
|
|
105
|
-
})
|
|
106
|
-
}));
|
|
107
|
-
expect(StyleSheet.flatten(getByTestId('toast-action').props.style).marginLeft).toBeUndefined();
|
|
108
|
-
});
|
|
109
|
-
it('should shift the action to align its label with the title when there is a leading icon', () => {
|
|
110
|
-
const {
|
|
111
|
-
getByTestId
|
|
112
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
113
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
114
|
-
appearance: "success",
|
|
115
|
-
title: "Report ready",
|
|
116
|
-
action: {
|
|
117
|
-
label: 'Open',
|
|
118
|
-
onAction: jest.fn()
|
|
119
|
-
}
|
|
120
|
-
})
|
|
121
|
-
}));
|
|
122
|
-
expect(StyleSheet.flatten(getByTestId('toast-action').props.style).marginLeft).toBe(-16);
|
|
123
|
-
});
|
|
124
|
-
it('should shift the action to align its label with the title when loading', () => {
|
|
125
|
-
const {
|
|
126
|
-
getByTestId
|
|
127
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
128
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
129
|
-
loading: true,
|
|
130
|
-
title: "Uploading",
|
|
131
|
-
action: {
|
|
132
|
-
label: 'Cancel',
|
|
133
|
-
onAction: jest.fn()
|
|
134
|
-
}
|
|
135
|
-
})
|
|
136
|
-
}));
|
|
137
|
-
expect(StyleSheet.flatten(getByTestId('toast-action').props.style).marginLeft).toBe(-16);
|
|
138
|
-
});
|
|
139
|
-
});
|
|
140
|
-
describe('Accessibility', () => {
|
|
141
|
-
it('should announce info and success politely', () => {
|
|
142
|
-
const {
|
|
143
|
-
getByTestId,
|
|
144
|
-
rerender
|
|
145
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
146
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
147
|
-
testID: "toast",
|
|
148
|
-
title: "Info",
|
|
149
|
-
appearance: "info"
|
|
150
|
-
})
|
|
151
|
-
}));
|
|
152
|
-
expect(getByTestId('toast').props.accessibilityLiveRegion).toBe('polite');
|
|
153
|
-
rerender(/*#__PURE__*/_jsx(TestWrapper, {
|
|
154
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
155
|
-
testID: "toast",
|
|
156
|
-
title: "Saved",
|
|
157
|
-
appearance: "success"
|
|
158
|
-
})
|
|
159
|
-
}));
|
|
160
|
-
expect(getByTestId('toast').props.accessibilityLiveRegion).toBe('polite');
|
|
161
|
-
});
|
|
162
|
-
it('should announce warning and error assertively', () => {
|
|
163
|
-
const {
|
|
164
|
-
getByTestId,
|
|
165
|
-
rerender
|
|
166
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
167
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
168
|
-
testID: "toast",
|
|
169
|
-
title: "Careful",
|
|
170
|
-
appearance: "warning"
|
|
171
|
-
})
|
|
172
|
-
}));
|
|
173
|
-
expect(getByTestId('toast').props.accessibilityLiveRegion).toBe('assertive');
|
|
174
|
-
rerender(/*#__PURE__*/_jsx(TestWrapper, {
|
|
175
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
176
|
-
testID: "toast",
|
|
177
|
-
title: "Failed",
|
|
178
|
-
appearance: "error"
|
|
179
|
-
})
|
|
180
|
-
}));
|
|
181
|
-
expect(getByTestId('toast').props.accessibilityLiveRegion).toBe('assertive');
|
|
182
|
-
});
|
|
183
|
-
});
|
|
184
|
-
describe('Interactions', () => {
|
|
185
|
-
it('should render the action and fire onAction', () => {
|
|
186
|
-
const onAction = jest.fn();
|
|
187
|
-
const {
|
|
188
|
-
getByText
|
|
189
|
-
} = render(/*#__PURE__*/_jsx(TestWrapper, {
|
|
190
|
-
children: /*#__PURE__*/_jsx(Toast, {
|
|
191
|
-
title: "Upload failed",
|
|
192
|
-
action: {
|
|
193
|
-
label: 'Retry',
|
|
194
|
-
onAction
|
|
195
|
-
}
|
|
196
|
-
})
|
|
197
|
-
}));
|
|
198
|
-
fireEvent.press(getByText('Retry'));
|
|
199
|
-
expect(onAction).toHaveBeenCalledTimes(1);
|
|
200
|
-
});
|
|
201
|
-
});
|
|
202
|
-
});
|
|
203
|
-
//# sourceMappingURL=Toast.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","it","expect","jest","ledgerLiveThemes","fireEvent","render","StyleSheet","ThemeProvider","Toast","jsx","_jsx","TestWrapper","children","themes","colorScheme","locale","getByText","title","props","numberOfLines","toBe","queryByTestId","appearance","toBeNull","getByTestId","loading","action","label","onAction","fn","style","toEqual","objectContaining","flexDirection","flexWrap","alignItems","justifyContent","toBeUndefined","flatten","marginLeft","rerender","testID","accessibilityLiveRegion","press","toHaveBeenCalledTimes"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/Toast/Toast.test.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,EAAE,EAAEC,MAAM,EAAEC,IAAI,QAAQ,eAAe;AAC1D,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,SAAS,EAAEC,MAAM,QAAQ,+BAA+B;AACjE,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,aAAa,QAAQ,mCAAgC;AAC9D,SAASC,KAAK,QAAQ,YAAS;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEhC,MAAMC,WAAW,GAAGA,CAAC;EAAEC;AAAwC,CAAC,kBAC9DF,IAAA,CAACH,aAAa;EAACM,MAAM,EAAEV,gBAAiB;EAACW,WAAW,EAAC,MAAM;EAACC,MAAM,EAAC,IAAI;EAAAH,QAAA,EACpEA;AAAQ,CACI,CAChB;AAED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