@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,241 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { useState } from 'react';
|
|
4
|
-
import { View } from 'react-native';
|
|
5
|
-
import { TextInput } from "./TextInput.js";
|
|
6
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
|
-
const meta = {
|
|
8
|
-
component: TextInput,
|
|
9
|
-
id: 'rnative-textinput',
|
|
10
|
-
title: 'Core/TextInput',
|
|
11
|
-
decorators: [Story => /*#__PURE__*/_jsx(View, {
|
|
12
|
-
style: {
|
|
13
|
-
flex: 1,
|
|
14
|
-
minHeight: 96,
|
|
15
|
-
alignItems: 'center',
|
|
16
|
-
justifyContent: 'center',
|
|
17
|
-
padding: 24
|
|
18
|
-
},
|
|
19
|
-
children: /*#__PURE__*/_jsx(View, {
|
|
20
|
-
style: {
|
|
21
|
-
width: '100%',
|
|
22
|
-
maxWidth: 400
|
|
23
|
-
},
|
|
24
|
-
children: /*#__PURE__*/_jsx(Story, {})
|
|
25
|
-
})
|
|
26
|
-
})],
|
|
27
|
-
parameters: {
|
|
28
|
-
docs: {
|
|
29
|
-
source: {
|
|
30
|
-
language: 'tsx',
|
|
31
|
-
format: true,
|
|
32
|
-
type: 'code'
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
export default meta;
|
|
38
|
-
export const Base = {
|
|
39
|
-
args: {
|
|
40
|
-
label: 'Username'
|
|
41
|
-
},
|
|
42
|
-
render: args => {
|
|
43
|
-
const [value, setValue] = useState('');
|
|
44
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
45
|
-
...args,
|
|
46
|
-
value: value,
|
|
47
|
-
onChangeText: setValue
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
};
|
|
51
|
-
export const WithContent = {
|
|
52
|
-
render: () => {
|
|
53
|
-
const [value, setValue] = useState('johndoe');
|
|
54
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
55
|
-
label: "Username",
|
|
56
|
-
value: value,
|
|
57
|
-
onChangeText: setValue
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
export const WithLabelAndPlaceholder = {
|
|
62
|
-
render: () => {
|
|
63
|
-
const [value, setValue] = useState('');
|
|
64
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
65
|
-
label: "Phone",
|
|
66
|
-
placeholder: "+1 (555) 000-0000",
|
|
67
|
-
keyboardType: "phone-pad",
|
|
68
|
-
value: value,
|
|
69
|
-
onChangeText: setValue
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
};
|
|
73
|
-
export const WithError = {
|
|
74
|
-
render: () => {
|
|
75
|
-
const [value, setValue] = useState('ab');
|
|
76
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
77
|
-
label: "Username",
|
|
78
|
-
helperText: "Username must be at least 3 characters",
|
|
79
|
-
status: "error",
|
|
80
|
-
value: value,
|
|
81
|
-
onChangeText: setValue
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
export const WithCounter = {
|
|
86
|
-
render: () => {
|
|
87
|
-
const [value, setValue] = useState('');
|
|
88
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
89
|
-
label: "Label",
|
|
90
|
-
helperText: "Info text",
|
|
91
|
-
maxCount: 32,
|
|
92
|
-
value: value,
|
|
93
|
-
onChangeText: setValue
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
export const WithCounterExceeded = {
|
|
98
|
-
render: () => {
|
|
99
|
-
const [value, setValue] = useState('This text exceeds the character limit');
|
|
100
|
-
const maxCount = 32;
|
|
101
|
-
const isOverLimit = value.length > maxCount;
|
|
102
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
103
|
-
label: "Label",
|
|
104
|
-
value: value,
|
|
105
|
-
onChangeText: setValue,
|
|
106
|
-
helperText: isOverLimit ? 'Character limit exceeded' : 'Info text',
|
|
107
|
-
status: isOverLimit ? 'error' : undefined,
|
|
108
|
-
maxCount: maxCount
|
|
109
|
-
});
|
|
110
|
-
}
|
|
111
|
-
};
|
|
112
|
-
export const WithNativeMaxLength = {
|
|
113
|
-
render: () => {
|
|
114
|
-
const [value, setValue] = useState('');
|
|
115
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
116
|
-
label: "Label",
|
|
117
|
-
helperText: "Input is capped at 8 characters",
|
|
118
|
-
maxLength: 8,
|
|
119
|
-
maxCount: 8,
|
|
120
|
-
value: value,
|
|
121
|
-
onChangeText: setValue
|
|
122
|
-
});
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
export const WithSuccess = {
|
|
126
|
-
render: () => {
|
|
127
|
-
const [value, setValue] = useState('0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb27');
|
|
128
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
129
|
-
label: "Address",
|
|
130
|
-
helperText: "Address verified",
|
|
131
|
-
status: "success",
|
|
132
|
-
value: value,
|
|
133
|
-
onChangeText: setValue
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
};
|
|
137
|
-
export const WithNeutralHint = {
|
|
138
|
-
render: () => {
|
|
139
|
-
const [value, setValue] = useState('');
|
|
140
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
141
|
-
label: "Address",
|
|
142
|
-
helperText: "Enter your ETH address",
|
|
143
|
-
value: value,
|
|
144
|
-
onChangeText: setValue
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
};
|
|
148
|
-
export const WithMultiline = {
|
|
149
|
-
render: () => {
|
|
150
|
-
const [value, setValue] = useState('');
|
|
151
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
152
|
-
label: "Note",
|
|
153
|
-
helperText: "Grows from 2 to 5 lines, then scrolls",
|
|
154
|
-
multiline: true,
|
|
155
|
-
minLines: 2,
|
|
156
|
-
maxLines: 5,
|
|
157
|
-
value: value,
|
|
158
|
-
onChangeText: setValue
|
|
159
|
-
});
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
export const WithMultilineFixedHeight = {
|
|
163
|
-
render: () => {
|
|
164
|
-
const [value, setValue] = useState('');
|
|
165
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
166
|
-
label: "Note",
|
|
167
|
-
multiline: true,
|
|
168
|
-
minLines: 4,
|
|
169
|
-
maxLines: 4,
|
|
170
|
-
value: value,
|
|
171
|
-
onChangeText: setValue
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
};
|
|
175
|
-
export const DisabledTextInput = {
|
|
176
|
-
render: () => {
|
|
177
|
-
const [value, setValue] = useState('johndoe');
|
|
178
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
179
|
-
label: "Username",
|
|
180
|
-
disabled: true,
|
|
181
|
-
value: value,
|
|
182
|
-
onChangeText: setValue
|
|
183
|
-
});
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
export const ReadOnlyTextInput = {
|
|
187
|
-
render: () => {
|
|
188
|
-
const [value, setValue] = useState('johndoe');
|
|
189
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
190
|
-
label: "Username",
|
|
191
|
-
readOnly: true,
|
|
192
|
-
value: value,
|
|
193
|
-
onChangeText: setValue
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
};
|
|
197
|
-
export const WithHiddenClearButton = {
|
|
198
|
-
render: () => {
|
|
199
|
-
const [value, setValue] = useState('Content with hidden clear');
|
|
200
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
201
|
-
label: "Label",
|
|
202
|
-
hideClearButton: true,
|
|
203
|
-
value: value,
|
|
204
|
-
onChangeText: setValue
|
|
205
|
-
});
|
|
206
|
-
}
|
|
207
|
-
};
|
|
208
|
-
export const WithClearCallback = {
|
|
209
|
-
render: () => {
|
|
210
|
-
const [value, setValue] = useState('Click clear to see callback');
|
|
211
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
212
|
-
label: "Label",
|
|
213
|
-
onClear: () => alert('Input cleared!'),
|
|
214
|
-
value: value,
|
|
215
|
-
onChangeText: setValue
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
};
|
|
219
|
-
export const EmailKeyboard = {
|
|
220
|
-
render: () => {
|
|
221
|
-
const [value, setValue] = useState('');
|
|
222
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
223
|
-
label: "Email",
|
|
224
|
-
keyboardType: "email-address",
|
|
225
|
-
value: value,
|
|
226
|
-
onChangeText: setValue
|
|
227
|
-
});
|
|
228
|
-
}
|
|
229
|
-
};
|
|
230
|
-
export const PhoneKeyboard = {
|
|
231
|
-
render: () => {
|
|
232
|
-
const [value, setValue] = useState('');
|
|
233
|
-
return /*#__PURE__*/_jsx(TextInput, {
|
|
234
|
-
label: "Phone Number",
|
|
235
|
-
keyboardType: "phone-pad",
|
|
236
|
-
value: value,
|
|
237
|
-
onChangeText: setValue
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
};
|
|
241
|
-
//# sourceMappingURL=TextInput.stories.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["useState","View","TextInput","jsx","_jsx","meta","component","id","title","decorators","Story","style","flex","minHeight","alignItems","justifyContent","padding","children","width","maxWidth","parameters","docs","source","language","format","type","Base","args","label","render","value","setValue","onChangeText","WithContent","WithLabelAndPlaceholder","placeholder","keyboardType","WithError","helperText","status","WithCounter","maxCount","WithCounterExceeded","isOverLimit","length","undefined","WithNativeMaxLength","maxLength","WithSuccess","WithNeutralHint","WithMultiline","multiline","minLines","maxLines","WithMultilineFixedHeight","DisabledTextInput","disabled","ReadOnlyTextInput","readOnly","WithHiddenClearButton","hideClearButton","WithClearCallback","onClear","alert","EmailKeyboard","PhoneKeyboard"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/TextInput/TextInput.stories.tsx"],"mappings":";;AACA,SAASA,QAAQ,QAAQ,OAAO;AAChC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,SAAS,QAAQ,gBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAExC,MAAMC,IAAI,GAAG;EACXC,SAAS,EAAEJ,SAAS;EACpBK,EAAE,EAAE,mBAAmB;EACvBC,KAAK,EAAE,gBAAgB;EACvBC,UAAU,EAAE,CACTC,KAAK,iBACJN,IAAA,CAACH,IAAI;IACHU,KAAK,EAAE;MACLC,IAAI,EAAE,CAAC;MACPC,SAAS,EAAE,EAAE;MACbC,UAAU,EAAE,QAAQ;MACpBC,cAAc,EAAE,QAAQ;MACxBC,OAAO,EAAE;IACX,CAAE;IAAAC,QAAA,eAEFb,IAAA,CAACH,IAAI;MAACU,KAAK,EAAE;QAAEO,KAAK,EAAE,MAAM;QAAEC,QAAQ,EAAE;MAAI,CAAE;MAAAF,QAAA,eAC5Cb,IAAA,CAACM,KAAK,IAAE;IAAC,CACL;EAAC,CACH,CACP,CACF;EACDU,UAAU,EAAE;IACVC,IAAI,EAAE;M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,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAG/B,QAAQ,CAAC,6BAA6B,CAAC;IACjE,oBACEI,IAAA,CAACF,SAAS;MACR0B,KAAK,EAAC,OAAO;MACbkC,OAAO,EAAEA,CAAA,KAAMC,KAAK,CAAC,gBAAgB,CAAE;MACvCjC,KAAK,EAAEA,KAAM;MACbE,YAAY,EAAED;IAAS,CACxB,CAAC;EAEN;AACF,CAAC;AAED,OAAO,MAAMiC,aAAoB,GAAG;EAClCnC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAG/B,QAAQ,CAAC,EAAE,CAAC;IACtC,oBACEI,IAAA,CAACF,SAAS;MACR0B,KAAK,EAAC,OAAO;MACbQ,YAAY,EAAC,eAAe;MAC5BN,KAAK,EAAEA,KAAM;MACbE,YAAY,EAAED;IAAS,CACxB,CAAC;EAEN;AACF,CAAC;AAED,OAAO,MAAMkC,aAAoB,GAAG;EAClCpC,MAAM,EAAEA,CAAA,KAAM;IACZ,MAAM,CAACC,KAAK,EAAEC,QAAQ,CAAC,GAAG/B,QAAQ,CAAC,EAAE,CAAC;IACtC,oBACEI,IAAA,CAACF,SAAS;MACR0B,KAAK,EAAC,cAAc;MACpBQ,YAAY,EAAC,WAAW;MACxBN,KAAK,EAAEA,KAAM;MACbE,YAAY,EAAED;IAAS,CACxB,CAAC;EAEN;AACF,CAAC","ignoreList":[]}
|
|
@@ -1,295 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { afterEach, describe, expect, it, jest } from '@jest/globals';
|
|
4
|
-
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
5
|
-
import { render, screen } from '@testing-library/react-native';
|
|
6
|
-
import { View } from 'react-native';
|
|
7
|
-
import { RuntimeConstants } from "../../../utils/index.js";
|
|
8
|
-
import { Pressable } from "../../primitives/index.js";
|
|
9
|
-
import { CheckmarkCircleFill } from "../../symbols/icons/CheckmarkCircleFill.js";
|
|
10
|
-
import { DeleteCircleFill } from "../../symbols/icons/DeleteCircleFill.js";
|
|
11
|
-
import { InformationFill } from "../../symbols/icons/InformationFill.js";
|
|
12
|
-
import { ThemeProvider } from "../ThemeProvider/ThemeProvider.js";
|
|
13
|
-
import { TextInput } from "./TextInput.js";
|
|
14
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
|
-
const {
|
|
16
|
-
borderWidth,
|
|
17
|
-
colors,
|
|
18
|
-
sizes,
|
|
19
|
-
spacings
|
|
20
|
-
} = ledgerLiveThemes.dark;
|
|
21
|
-
const {
|
|
22
|
-
body1,
|
|
23
|
-
body2
|
|
24
|
-
} = ledgerLiveThemes.dark.typographies.xs.body;
|
|
25
|
-
const geometries = [{
|
|
26
|
-
name: 'labeled',
|
|
27
|
-
props: {
|
|
28
|
-
label: 'Note'
|
|
29
|
-
},
|
|
30
|
-
lineHeight: body2.lineHeight,
|
|
31
|
-
suffixOffset: spacings.s8,
|
|
32
|
-
paddingVertical: spacings.s6,
|
|
33
|
-
chrome: spacings.s16 + 2 * spacings.s6
|
|
34
|
-
}, {
|
|
35
|
-
name: 'unlabeled',
|
|
36
|
-
props: {},
|
|
37
|
-
lineHeight: body1.lineHeight,
|
|
38
|
-
suffixOffset: spacings.s2,
|
|
39
|
-
paddingVertical: spacings.s12,
|
|
40
|
-
chrome: 2 * spacings.s12
|
|
41
|
-
}];
|
|
42
|
-
const renderWithProvider = component => {
|
|
43
|
-
return render(/*#__PURE__*/_jsx(ThemeProvider, {
|
|
44
|
-
themes: ledgerLiveThemes,
|
|
45
|
-
colorScheme: "dark",
|
|
46
|
-
locale: "en",
|
|
47
|
-
children: component
|
|
48
|
-
}));
|
|
49
|
-
};
|
|
50
|
-
describe('TextInput', () => {
|
|
51
|
-
describe('Placeholder and label (BaseInput parity with web)', () => {
|
|
52
|
-
it('uses the provided placeholder when label and placeholder are both set', async () => {
|
|
53
|
-
await renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
54
|
-
label: "Username",
|
|
55
|
-
placeholder: "jane.doe",
|
|
56
|
-
value: "",
|
|
57
|
-
onChangeText: () => {}
|
|
58
|
-
}));
|
|
59
|
-
expect(screen.getByPlaceholderText('jane.doe')).toBeTruthy();
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
describe('Helper text', () => {
|
|
63
|
-
it('renders neutral helper text with an info icon', () => {
|
|
64
|
-
renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
65
|
-
label: "Address",
|
|
66
|
-
helperText: "Enter your ETH address"
|
|
67
|
-
}));
|
|
68
|
-
const helperText = screen.getByText('Enter your ETH address');
|
|
69
|
-
expect(helperText).toBeTruthy();
|
|
70
|
-
expect(helperText.props.style).toEqual(expect.objectContaining({
|
|
71
|
-
color: colors.text.muted
|
|
72
|
-
}));
|
|
73
|
-
expect(screen.UNSAFE_getByType(InformationFill)).toBeTruthy();
|
|
74
|
-
expect(screen.UNSAFE_queryByType(DeleteCircleFill)).toBeNull();
|
|
75
|
-
expect(screen.UNSAFE_queryByType(CheckmarkCircleFill)).toBeNull();
|
|
76
|
-
});
|
|
77
|
-
it('renders error helper text with an error icon', () => {
|
|
78
|
-
renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
79
|
-
label: "Address",
|
|
80
|
-
helperText: "Invalid address format",
|
|
81
|
-
status: "error"
|
|
82
|
-
}));
|
|
83
|
-
const helperText = screen.getByText('Invalid address format');
|
|
84
|
-
expect(helperText.props.style).toEqual(expect.objectContaining({
|
|
85
|
-
color: colors.text.error
|
|
86
|
-
}));
|
|
87
|
-
expect(screen.UNSAFE_getByType(DeleteCircleFill)).toBeTruthy();
|
|
88
|
-
expect(screen.UNSAFE_queryByType(CheckmarkCircleFill)).toBeNull();
|
|
89
|
-
});
|
|
90
|
-
it('renders success helper text with a success icon', () => {
|
|
91
|
-
renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
92
|
-
label: "Address",
|
|
93
|
-
helperText: "Address verified",
|
|
94
|
-
status: "success"
|
|
95
|
-
}));
|
|
96
|
-
const helperText = screen.getByText('Address verified');
|
|
97
|
-
expect(helperText.props.style).toEqual(expect.objectContaining({
|
|
98
|
-
color: colors.text.success
|
|
99
|
-
}));
|
|
100
|
-
expect(screen.UNSAFE_getByType(CheckmarkCircleFill)).toBeTruthy();
|
|
101
|
-
expect(screen.UNSAFE_queryByType(DeleteCircleFill)).toBeNull();
|
|
102
|
-
});
|
|
103
|
-
});
|
|
104
|
-
describe('Character counter', () => {
|
|
105
|
-
it('renders character counter when maxCount is set', () => {
|
|
106
|
-
renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
107
|
-
label: "Bio",
|
|
108
|
-
value: "Hello",
|
|
109
|
-
onChangeText: () => {},
|
|
110
|
-
maxCount: 32
|
|
111
|
-
}));
|
|
112
|
-
expect(screen.getByText('5/32')).toBeTruthy();
|
|
113
|
-
});
|
|
114
|
-
it('does not render character counter when maxCount is omitted', () => {
|
|
115
|
-
renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
116
|
-
label: "Bio",
|
|
117
|
-
value: "Hello",
|
|
118
|
-
onChangeText: () => {}
|
|
119
|
-
}));
|
|
120
|
-
expect(screen.queryByText(/\d+\/\d+/)).toBeNull();
|
|
121
|
-
});
|
|
122
|
-
it('keeps counter muted when count exceeds maxCount', () => {
|
|
123
|
-
const longValue = 'This text exceeds the character limit';
|
|
124
|
-
renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
125
|
-
label: "Bio",
|
|
126
|
-
value: longValue,
|
|
127
|
-
onChangeText: () => {},
|
|
128
|
-
maxCount: 32
|
|
129
|
-
}));
|
|
130
|
-
const counter = screen.getByText(`${longValue.length}/32`);
|
|
131
|
-
expect(counter.props.style).toEqual(expect.objectContaining({
|
|
132
|
-
color: colors.text.muted
|
|
133
|
-
}));
|
|
134
|
-
});
|
|
135
|
-
it('does not truncate input when count exceeds maxCount', () => {
|
|
136
|
-
const longValue = 'This text exceeds the character limit';
|
|
137
|
-
renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
138
|
-
label: "Bio",
|
|
139
|
-
value: longValue,
|
|
140
|
-
onChangeText: () => {},
|
|
141
|
-
maxCount: 32
|
|
142
|
-
}));
|
|
143
|
-
expect(screen.getByDisplayValue(longValue)).toBeTruthy();
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
describe('Read-only', () => {
|
|
147
|
-
it('shows the clear button when it has content and is editable', () => {
|
|
148
|
-
renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
149
|
-
label: "Company",
|
|
150
|
-
value: "Ledger",
|
|
151
|
-
onChangeText: () => {}
|
|
152
|
-
}));
|
|
153
|
-
expect(screen.UNSAFE_getByType(DeleteCircleFill)).toBeTruthy();
|
|
154
|
-
});
|
|
155
|
-
it('sets the input to editable={false} and hides the clear button when readOnly', () => {
|
|
156
|
-
renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
157
|
-
label: "Company",
|
|
158
|
-
value: "Ledger",
|
|
159
|
-
onChangeText: () => {},
|
|
160
|
-
readOnly: true
|
|
161
|
-
}));
|
|
162
|
-
expect(screen.getByDisplayValue('Ledger').props.editable).toBe(false);
|
|
163
|
-
expect(screen.UNSAFE_queryByType(DeleteCircleFill)).toBeNull();
|
|
164
|
-
});
|
|
165
|
-
});
|
|
166
|
-
describe('Multiline', () => {
|
|
167
|
-
afterEach(() => {
|
|
168
|
-
jest.restoreAllMocks();
|
|
169
|
-
});
|
|
170
|
-
const field = () => screen.getByPlaceholderText('Write a note');
|
|
171
|
-
const container = () => screen.UNSAFE_getByType(Pressable);
|
|
172
|
-
const clearButtonBox = () => screen.UNSAFE_getAllByType(View).find(node => node.props.style?.minWidth === sizes.s20);
|
|
173
|
-
const renderMultiline = (props = {}) => renderWithProvider(/*#__PURE__*/_jsx(TextInput, {
|
|
174
|
-
placeholder: "Write a note",
|
|
175
|
-
value: "",
|
|
176
|
-
onChangeText: () => {},
|
|
177
|
-
...props
|
|
178
|
-
}));
|
|
179
|
-
it('stays single-line by default', () => {
|
|
180
|
-
renderMultiline({
|
|
181
|
-
label: 'Note'
|
|
182
|
-
});
|
|
183
|
-
const {
|
|
184
|
-
multiline,
|
|
185
|
-
style
|
|
186
|
-
} = field().props;
|
|
187
|
-
expect(multiline).toBeFalsy();
|
|
188
|
-
expect(style.minHeight).toBeUndefined();
|
|
189
|
-
});
|
|
190
|
-
it('leaves a single-line iOS field on its natural line height', () => {
|
|
191
|
-
jest.spyOn(RuntimeConstants, 'isIOS', 'get').mockReturnValue(true);
|
|
192
|
-
renderMultiline({
|
|
193
|
-
label: 'Note'
|
|
194
|
-
});
|
|
195
|
-
expect(field().props.style.lineHeight).toBe(0);
|
|
196
|
-
});
|
|
197
|
-
describe.each(geometries)('$name', ({
|
|
198
|
-
props,
|
|
199
|
-
lineHeight,
|
|
200
|
-
suffixOffset,
|
|
201
|
-
paddingVertical,
|
|
202
|
-
chrome
|
|
203
|
-
}) => {
|
|
204
|
-
const renderCase = (extra = {}) => renderMultiline({
|
|
205
|
-
...props,
|
|
206
|
-
multiline: true,
|
|
207
|
-
...extra
|
|
208
|
-
});
|
|
209
|
-
it('floors the field at minLines and leaves it unbounded above', () => {
|
|
210
|
-
renderCase({
|
|
211
|
-
minLines: 2
|
|
212
|
-
});
|
|
213
|
-
expect(field().props.multiline).toBe(true);
|
|
214
|
-
expect(container().props.style.minHeight).toBe(2 * lineHeight + chrome);
|
|
215
|
-
expect(field().props.style.maxHeight).toBeUndefined();
|
|
216
|
-
});
|
|
217
|
-
it('pays for the border out of the padding', () => {
|
|
218
|
-
renderCase({
|
|
219
|
-
minLines: 2
|
|
220
|
-
});
|
|
221
|
-
const {
|
|
222
|
-
paddingTop,
|
|
223
|
-
paddingBottom
|
|
224
|
-
} = container().props.style;
|
|
225
|
-
expect(paddingTop + paddingBottom).toBe(2 * (paddingVertical - borderWidth.s2));
|
|
226
|
-
});
|
|
227
|
-
it('trades padding for the iOS line box without changing the total', () => {
|
|
228
|
-
jest.spyOn(RuntimeConstants, 'isIOS', 'get').mockReturnValue(true);
|
|
229
|
-
renderCase({
|
|
230
|
-
minLines: 2
|
|
231
|
-
});
|
|
232
|
-
const {
|
|
233
|
-
paddingTop,
|
|
234
|
-
paddingBottom
|
|
235
|
-
} = container().props.style;
|
|
236
|
-
expect(paddingBottom - paddingTop).toBe(2 * spacings.s2);
|
|
237
|
-
expect(paddingTop + paddingBottom).toBe(2 * (paddingVertical - borderWidth.s2));
|
|
238
|
-
});
|
|
239
|
-
it('drops the clear button onto the first line', () => {
|
|
240
|
-
renderCase({
|
|
241
|
-
minLines: 2,
|
|
242
|
-
value: 'Hello'
|
|
243
|
-
});
|
|
244
|
-
expect(clearButtonBox()?.props.style.marginTop).toBe(suffixOffset);
|
|
245
|
-
});
|
|
246
|
-
it('keeps the input box a single line whatever the floor is', () => {
|
|
247
|
-
renderCase({
|
|
248
|
-
minLines: 3
|
|
249
|
-
});
|
|
250
|
-
expect(field().props.style.minHeight).toBe(lineHeight);
|
|
251
|
-
});
|
|
252
|
-
it('caps the growth at maxLines', () => {
|
|
253
|
-
renderCase({
|
|
254
|
-
minLines: 2,
|
|
255
|
-
maxLines: 4
|
|
256
|
-
});
|
|
257
|
-
expect(container().props.style.minHeight).toBe(2 * lineHeight + chrome);
|
|
258
|
-
expect(field().props.style.maxHeight).toBe(4 * lineHeight);
|
|
259
|
-
});
|
|
260
|
-
it('gives a fixed box when minLines and maxLines match', () => {
|
|
261
|
-
renderCase({
|
|
262
|
-
minLines: 3,
|
|
263
|
-
maxLines: 3
|
|
264
|
-
});
|
|
265
|
-
expect(container().props.style.minHeight).toBe(3 * lineHeight + chrome);
|
|
266
|
-
expect(field().props.style.maxHeight).toBe(3 * lineHeight);
|
|
267
|
-
});
|
|
268
|
-
it('lets maxLines win over a taller minLines', () => {
|
|
269
|
-
renderCase({
|
|
270
|
-
minLines: 5,
|
|
271
|
-
maxLines: 2
|
|
272
|
-
});
|
|
273
|
-
expect(container().props.style.minHeight).toBe(2 * lineHeight + chrome);
|
|
274
|
-
expect(field().props.style.maxHeight).toBe(2 * lineHeight);
|
|
275
|
-
});
|
|
276
|
-
it.each(['isAndroid', 'isIOS'])('takes the token line height whatever %s reports', platform => {
|
|
277
|
-
jest.spyOn(RuntimeConstants, platform, 'get').mockReturnValue(true);
|
|
278
|
-
renderCase();
|
|
279
|
-
expect(field().props.style.lineHeight).toBe(lineHeight);
|
|
280
|
-
});
|
|
281
|
-
});
|
|
282
|
-
it('still renders the clear button and the counter', () => {
|
|
283
|
-
renderMultiline({
|
|
284
|
-
label: 'Note',
|
|
285
|
-
multiline: true,
|
|
286
|
-
minLines: 2,
|
|
287
|
-
value: 'Hello',
|
|
288
|
-
maxCount: 32
|
|
289
|
-
});
|
|
290
|
-
expect(screen.UNSAFE_getByType(DeleteCircleFill)).toBeTruthy();
|
|
291
|
-
expect(screen.getByText('5/32')).toBeTruthy();
|
|
292
|
-
});
|
|
293
|
-
});
|
|
294
|
-
});
|
|
295
|
-
//# sourceMappingURL=TextInput.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["afterEach","describe","expect","it","jest","ledgerLiveThemes","render","screen","View","RuntimeConstants","Pressable","CheckmarkCircleFill","DeleteCircleFill","InformationFill","ThemeProvider","TextInput","jsx","_jsx","borderWidth","colors","sizes","spacings","dark","body1","body2","typographies","xs","body","geometries","name","props","label","lineHeight","suffixOffset","s8","paddingVertical","s6","chrome","s16","s2","s12","renderWithProvider","component","themes","colorScheme","locale","children","placeholder","value","onChangeText","getByPlaceholderText","toBeTruthy","helperText","getByText","style","toEqual","objectContaining","color","text","muted","UNSAFE_getByType","UNSAFE_queryByType","toBeNull","status","error","success","maxCount","queryByText","longValue","counter","length","getByDisplayValue","readOnly","editable","toBe","restoreAllMocks","field","container","clearButtonBox","UNSAFE_getAllByType","find","node","minWidth","s20","renderMultiline","multiline","toBeFalsy","minHeight","toBeUndefined","spyOn","mockReturnValue","each","renderCase","extra","minLines","maxHeight","paddingTop","paddingBottom","marginTop","maxLines","platform"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/TextInput/TextInput.test.tsx"],"mappings":";;AAAA,SAASA,SAAS,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,EAAE,EAAEC,IAAI,QAAQ,eAAe;AACrE,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,MAAM,EAAEC,MAAM,QAAQ,+BAA+B;AAE9D,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,gBAAgB,QAAQ,yBAAgB;AACjD,SAASC,SAAS,QAAQ,2BAAkB;AAC5C,SAASC,mBAAmB,QAAQ,4CAAyC;AAC7E,SAASC,gBAAgB,QAAQ,yCAAsC;AACvE,SAASC,eAAe,QAAQ,wCAAqC;AACrE,SAASC,aAAa,QAAQ,mCAAgC;AAC9D,SAASC,SAAS,QAAQ,gBAAa;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGxC,MAAM;EAAEC,WAAW;EAAEC,MAAM;EAAEC,KAAK;EAAEC;AAAS,CAAC,GAAGhB,gBAAgB,CAACiB,IAAI;AACtE,MAAM;EAAEC,KAAK;EAAEC;AAAM,CAAC,GAAGnB,gBAAgB,CAACiB,IAAI,CAACG,YAAY,CAACC,EAAE,CAACC,IAAI;AAEnE,MAAMC,UAOH,GAAG,CACJ;EACEC,IAAI,EAAE,SAAS;EACfC,KAAK,EAAE;IAAEC,KAAK,EAAE;EAAO,CAAC;EACxBC,UAAU,EAAER,KAAK,CAACQ,UAAU;EAC5BC,YAAY,EAAEZ,QAAQ,CAACa,EAAE;EACzBC,eAAe,EAAEd,QAAQ,CAACe,EAAE;EAC5BC,MAAM,EAAEhB,QAAQ,CAACiB,GAAG,GAAG,CAAC,GAAGjB,QAAQ,CAACe;AACtC,CAAC,EACD;EACEP,IAAI,EAAE,WAAW;EACjBC,KAAK,EAAE,CAAC,CAAC;EACTE,UAAU,EAAET,KAAK,CAACS,UAAU;EAC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
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
import { describe, expect, it } from '@jest/globals';
|
|
4
|
-
import { ledgerLiveThemes } from '@ledgerhq/lumen-design-core';
|
|
5
|
-
import { render, screen } from '@testing-library/react-native';
|
|
6
|
-
import { Box, Text } from "../../primitives/index.js";
|
|
7
|
-
import { ChevronBigLeft, Wallet } from "../../symbols/index.js";
|
|
8
|
-
import { Button } from "../Button/index.js";
|
|
9
|
-
import { Spinner } from "../Spinner/index.js";
|
|
10
|
-
import { Spot } from "../Spot/index.js";
|
|
11
|
-
import { Tile } from "../Tile/Tile.js";
|
|
12
|
-
import { ThemeProvider } from "./ThemeProvider.js";
|
|
13
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
|
-
describe('ThemeProvider', () => {
|
|
15
|
-
it('renders children correctly', () => {
|
|
16
|
-
render(/*#__PURE__*/_jsxs(ThemeProvider, {
|
|
17
|
-
themes: ledgerLiveThemes,
|
|
18
|
-
children: [/*#__PURE__*/_jsx(Button, {
|
|
19
|
-
testID: "child",
|
|
20
|
-
children: "Hello World"
|
|
21
|
-
}), /*#__PURE__*/_jsx(Tile, {
|
|
22
|
-
children: "Tile"
|
|
23
|
-
}), /*#__PURE__*/_jsx(Spot, {
|
|
24
|
-
icon: Wallet
|
|
25
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
26
|
-
children: /*#__PURE__*/_jsx(Text, {
|
|
27
|
-
children: "Text"
|
|
28
|
-
})
|
|
29
|
-
}), /*#__PURE__*/_jsx(ChevronBigLeft, {})]
|
|
30
|
-
}));
|
|
31
|
-
expect(screen.getByTestId('child')).toBeTruthy();
|
|
32
|
-
expect(screen.getByText('Hello World')).toBeTruthy();
|
|
33
|
-
});
|
|
34
|
-
it('translates Lumen components in the given locale', () => {
|
|
35
|
-
render(/*#__PURE__*/_jsx(ThemeProvider, {
|
|
36
|
-
themes: ledgerLiveThemes,
|
|
37
|
-
locale: "fr",
|
|
38
|
-
children: /*#__PURE__*/_jsx(Spinner, {})
|
|
39
|
-
}));
|
|
40
|
-
expect(screen.getByLabelText('Chargement')).toBeTruthy();
|
|
41
|
-
});
|
|
42
|
-
});
|
|
43
|
-
//# sourceMappingURL=ThemeProvider.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["describe","expect","it","ledgerLiveThemes","render","screen","Box","Text","ChevronBigLeft","Wallet","Button","Spinner","Spot","Tile","ThemeProvider","jsx","_jsx","jsxs","_jsxs","themes","children","testID","icon","getByTestId","toBeTruthy","getByText","locale","getByLabelText"],"sourceRoot":"../../../../../../src","sources":["lib/Components/core/ThemeProvider/ThemeProvider.test.tsx"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,MAAM,EAAEC,EAAE,QAAQ,eAAe;AACpD,SAASC,gBAAgB,QAAQ,6BAA6B;AAC9D,SAASC,MAAM,EAAEC,MAAM,QAAQ,+BAA+B;AAC9D,SAASC,GAAG,EAAEC,IAAI,QAAQ,2BAAkB;AAC5C,SAASC,cAAc,EAAEC,MAAM,QAAQ,wBAAe;AACtD,SAASC,MAAM,QAAQ,oBAAW;AAClC,SAASC,OAAO,QAAQ,qBAAY;AACpC,SAASC,IAAI,QAAQ,kBAAS;AAC9B,SAASC,IAAI,QAAQ,iBAAc;AACnC,SAASC,aAAa,QAAQ,oBAAiB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAEhDlB,QAAQ,CAAC,eAAe,EAAE,MAAM;EAC9BE,EAAE,CAAC,4BAA4B,EAAE,MAAM;IACrCE,MAAM,cACJc,KAAA,CAACJ,aAAa;MAACK,MAAM,EAAEhB,gBAAiB;MAAAiB,QAAA,gBACtCJ,IAAA,CAACN,MAAM;QAACW,MAAM,EAAC,OAAO;QAAAD,QAAA,EAAC;MAAW,CAAQ,CAAC,eAC3CJ,IAAA,CAACH,IAAI;QAAAO,QAAA,EAAC;MAAI,CAAM,CAAC,eACjBJ,IAAA,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