@coinbase/cds-mobile 9.2.2 → 9.3.1
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/CHANGELOG.md +12 -0
- package/dts/accordion/Accordion.d.ts +1 -1
- package/dts/accordion/Accordion.d.ts.map +1 -1
- package/dts/accordion/AccordionHeader.d.ts +1 -1
- package/dts/accordion/AccordionHeader.d.ts.map +1 -1
- package/dts/accordion/AccordionPanel.d.ts +1 -1
- package/dts/accordion/AccordionPanel.d.ts.map +1 -1
- package/dts/alpha/carousel/Carousel.d.ts +2 -1
- package/dts/alpha/carousel/Carousel.d.ts.map +1 -1
- package/dts/alpha/carousel/CarouselItem.d.ts +1 -1
- package/dts/alpha/carousel/CarouselItem.d.ts.map +1 -1
- package/dts/alpha/data-card/DataCard.d.ts.map +1 -1
- package/dts/alpha/select/DefaultSelectControl.d.ts.map +1 -1
- package/dts/alpha/select/types.d.ts +4 -3
- package/dts/alpha/select/types.d.ts.map +1 -1
- package/dts/alpha/tabbed-chips/TabbedChips.d.ts +5 -3
- package/dts/alpha/tabbed-chips/TabbedChips.d.ts.map +1 -1
- package/dts/animation/LottieStatusAnimation.d.ts.map +1 -1
- package/dts/animation/convertMotionConfig.d.ts +1 -1
- package/dts/animation/convertMotionConfig.d.ts.map +1 -1
- package/dts/animation/createLottie.d.ts +2 -1
- package/dts/animation/createLottie.d.ts.map +1 -1
- package/dts/animation/types.d.ts +2 -2
- package/dts/animation/types.d.ts.map +1 -1
- package/dts/animation/useLottie.d.ts +1 -1
- package/dts/animation/useLottie.d.ts.map +1 -1
- package/dts/animation/useLottieColorFilters.d.ts +1 -1
- package/dts/animation/useLottieColorFilters.d.ts.map +1 -1
- package/dts/animation/useRotateAnimation.d.ts +1 -1
- package/dts/animation/useRotateAnimation.d.ts.map +1 -1
- package/dts/banner/Banner.d.ts +4 -7
- package/dts/banner/Banner.d.ts.map +1 -1
- package/dts/buttons/AvatarButton.d.ts +1 -1
- package/dts/buttons/AvatarButton.d.ts.map +1 -1
- package/dts/buttons/Button.d.ts +4 -6
- package/dts/buttons/Button.d.ts.map +1 -1
- package/dts/buttons/ButtonGroup.d.ts +4 -6
- package/dts/buttons/ButtonGroup.d.ts.map +1 -1
- package/dts/buttons/IconButton.d.ts +4 -6
- package/dts/buttons/IconButton.d.ts.map +1 -1
- package/dts/buttons/IconCounterButton.d.ts +2 -2
- package/dts/buttons/IconCounterButton.d.ts.map +1 -1
- package/dts/buttons/SlideButton.d.ts +1 -1
- package/dts/buttons/SlideButton.d.ts.map +1 -1
- package/dts/cards/Card.d.ts +1 -1
- package/dts/cards/Card.d.ts.map +1 -1
- package/dts/cards/CardBody.d.ts +1 -1
- package/dts/cards/CardBody.d.ts.map +1 -1
- package/dts/cards/CardFooter.d.ts +2 -2
- package/dts/cards/CardFooter.d.ts.map +1 -1
- package/dts/cards/CardHeader.d.ts +1 -1
- package/dts/cards/CardHeader.d.ts.map +1 -1
- package/dts/cards/CardMedia.d.ts +1 -1
- package/dts/cards/CardMedia.d.ts.map +1 -1
- package/dts/cards/ContainedAssetCard.d.ts +2 -2
- package/dts/cards/ContainedAssetCard.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCard.d.ts +1 -1
- package/dts/cards/ContentCard/ContentCard.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCardBody.d.ts +2 -2
- package/dts/cards/ContentCard/ContentCardBody.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCardFooter.d.ts +2 -2
- package/dts/cards/ContentCard/ContentCardFooter.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCardHeader.d.ts +2 -2
- package/dts/cards/ContentCard/ContentCardHeader.d.ts.map +1 -1
- package/dts/cards/DataCard.d.ts +1 -1
- package/dts/cards/DataCard.d.ts.map +1 -1
- package/dts/cards/FeedCard.d.ts +4 -2
- package/dts/cards/FeedCard.d.ts.map +1 -1
- package/dts/cards/FloatingAssetCard.d.ts +1 -1
- package/dts/cards/FloatingAssetCard.d.ts.map +1 -1
- package/dts/cards/LikeButton.d.ts +2 -1
- package/dts/cards/LikeButton.d.ts.map +1 -1
- package/dts/cards/MediaCard/index.d.ts.map +1 -1
- package/dts/cards/NudgeCard.d.ts +4 -7
- package/dts/cards/NudgeCard.d.ts.map +1 -1
- package/dts/cards/UpsellCard.d.ts +4 -6
- package/dts/cards/UpsellCard.d.ts.map +1 -1
- package/dts/carousel/Carousel.d.ts +2 -1
- package/dts/carousel/Carousel.d.ts.map +1 -1
- package/dts/carousel/CarouselContext.d.ts +2 -2
- package/dts/carousel/CarouselContext.d.ts.map +1 -1
- package/dts/carousel/DefaultCarouselNavigation.d.ts +2 -1
- package/dts/carousel/DefaultCarouselNavigation.d.ts.map +1 -1
- package/dts/cells/Cell.d.ts +2 -1
- package/dts/cells/Cell.d.ts.map +1 -1
- package/dts/cells/CellAccessory.d.ts +1 -1
- package/dts/cells/CellAccessory.d.ts.map +1 -1
- package/dts/cells/CellMedia.d.ts +4 -2
- package/dts/cells/CellMedia.d.ts.map +1 -1
- package/dts/cells/ContentCell.d.ts.map +1 -1
- package/dts/cells/ContentCellFallback.d.ts +1 -1
- package/dts/cells/ContentCellFallback.d.ts.map +1 -1
- package/dts/cells/ListCellFallback.d.ts +2 -1
- package/dts/cells/ListCellFallback.d.ts.map +1 -1
- package/dts/chips/Chip.d.ts.map +1 -1
- package/dts/chips/ChipProps.d.ts +3 -2
- package/dts/chips/ChipProps.d.ts.map +1 -1
- package/dts/chips/InputChip.d.ts.map +1 -1
- package/dts/chips/MediaChip.d.ts.map +1 -1
- package/dts/chips/SelectChip.d.ts.map +1 -1
- package/dts/chips/TabbedChips.d.ts +1 -1
- package/dts/chips/TabbedChips.d.ts.map +1 -1
- package/dts/coachmark/Coachmark.d.ts +2 -2
- package/dts/coachmark/Coachmark.d.ts.map +1 -1
- package/dts/collapsible/Collapsible.d.ts +3 -1
- package/dts/collapsible/Collapsible.d.ts.map +1 -1
- package/dts/collapsible/useCollapsibleAnimation.d.ts +1 -1
- package/dts/collapsible/useCollapsibleAnimation.d.ts.map +1 -1
- package/dts/controls/Checkbox.d.ts +1 -1
- package/dts/controls/Checkbox.d.ts.map +1 -1
- package/dts/controls/CheckboxCell.d.ts.map +1 -1
- package/dts/controls/CheckboxGroup.d.ts +1 -1
- package/dts/controls/CheckboxGroup.d.ts.map +1 -1
- package/dts/controls/Control.d.ts +3 -2
- package/dts/controls/Control.d.ts.map +1 -1
- package/dts/controls/ControlGroup.d.ts +3 -2
- package/dts/controls/ControlGroup.d.ts.map +1 -1
- package/dts/controls/InputIcon.d.ts +1 -1
- package/dts/controls/InputIcon.d.ts.map +1 -1
- package/dts/controls/InputIconButton.d.ts +3 -2
- package/dts/controls/InputIconButton.d.ts.map +1 -1
- package/dts/controls/InputStack.d.ts +1 -1
- package/dts/controls/InputStack.d.ts.map +1 -1
- package/dts/controls/NativeInput.d.ts +1 -1
- package/dts/controls/NativeInput.d.ts.map +1 -1
- package/dts/controls/Radio.d.ts +1 -1
- package/dts/controls/Radio.d.ts.map +1 -1
- package/dts/controls/RadioCell.d.ts.map +1 -1
- package/dts/controls/RadioGroup.d.ts +2 -2
- package/dts/controls/RadioGroup.d.ts.map +1 -1
- package/dts/controls/SearchInput.d.ts +2 -2
- package/dts/controls/SearchInput.d.ts.map +1 -1
- package/dts/controls/Select.d.ts +3 -5
- package/dts/controls/Select.d.ts.map +1 -1
- package/dts/controls/SelectOption.d.ts +1 -1
- package/dts/controls/SelectOption.d.ts.map +1 -1
- package/dts/controls/TextInput.d.ts +5 -7
- package/dts/controls/TextInput.d.ts.map +1 -1
- package/dts/core/componentConfig.d.ts +1 -1
- package/dts/core/componentConfig.d.ts.map +1 -1
- package/dts/dates/Calendar.d.ts +1 -1
- package/dts/dates/Calendar.d.ts.map +1 -1
- package/dts/dates/DatePicker.d.ts +2 -2
- package/dts/dates/DatePicker.d.ts.map +1 -1
- package/dts/dots/DotCount.d.ts +4 -4
- package/dts/dots/DotCount.d.ts.map +1 -1
- package/dts/dots/DotStatusColor.d.ts +4 -8
- package/dts/dots/DotStatusColor.d.ts.map +1 -1
- package/dts/dots/DotSymbol.d.ts +5 -8
- package/dts/dots/DotSymbol.d.ts.map +1 -1
- package/dts/examples/ExampleScreen.d.ts +1 -1
- package/dts/examples/ExampleScreen.d.ts.map +1 -1
- package/dts/gradients/LinearGradient.d.ts +1 -1
- package/dts/gradients/LinearGradient.d.ts.map +1 -1
- package/dts/hooks/useAnimatedTransition.d.ts +1 -1
- package/dts/hooks/useAnimatedTransition.d.ts.map +1 -1
- package/dts/hooks/useDotPinStyles.d.ts +1 -1
- package/dts/hooks/useDotPinStyles.d.ts.map +1 -1
- package/dts/hooks/useSelectionCellBorderStyle.d.ts +1 -1
- package/dts/hooks/useSelectionCellBorderStyle.d.ts.map +1 -1
- package/dts/hooks/useTextAlign.d.ts +1 -1
- package/dts/hooks/useTextAlign.d.ts.map +1 -1
- package/dts/icons/Icon.d.ts +5 -8
- package/dts/icons/Icon.d.ts.map +1 -1
- package/dts/icons/TextIcon.d.ts +1 -1
- package/dts/icons/TextIcon.d.ts.map +1 -1
- package/dts/layout/Box.d.ts +2 -1
- package/dts/layout/Box.d.ts.map +1 -1
- package/dts/layout/OverflowGradient.d.ts +2 -1
- package/dts/layout/OverflowGradient.d.ts.map +1 -1
- package/dts/layout/Spacer.d.ts +2 -1
- package/dts/layout/Spacer.d.ts.map +1 -1
- package/dts/media/Avatar.d.ts +4 -7
- package/dts/media/Avatar.d.ts.map +1 -1
- package/dts/media/Carousel/Carousel.d.ts +1 -1
- package/dts/media/Carousel/Carousel.d.ts.map +1 -1
- package/dts/media/RemoteImage.d.ts +3 -1
- package/dts/media/RemoteImage.d.ts.map +1 -1
- package/dts/media/RemoteImageGroup.d.ts +4 -6
- package/dts/media/RemoteImageGroup.d.ts.map +1 -1
- package/dts/motion/AnimatedCaret.d.ts +2 -2
- package/dts/motion/AnimatedCaret.d.ts.map +1 -1
- package/dts/motion/Pulse.d.ts +2 -1
- package/dts/motion/Pulse.d.ts.map +1 -1
- package/dts/motion/convertMotionConfig.d.ts +1 -1
- package/dts/motion/convertMotionConfig.d.ts.map +1 -1
- package/dts/multi-content-module/MultiContentModule.d.ts +3 -3
- package/dts/multi-content-module/MultiContentModule.d.ts.map +1 -1
- package/dts/navigation/BrowserBar.d.ts +3 -2
- package/dts/navigation/BrowserBar.d.ts.map +1 -1
- package/dts/navigation/NavBarIconButton.d.ts +3 -1
- package/dts/navigation/NavBarIconButton.d.ts.map +1 -1
- package/dts/navigation/NavigationTitleSelect.d.ts.map +1 -1
- package/dts/navigation/TopNavBar.d.ts +1 -1
- package/dts/navigation/TopNavBar.d.ts.map +1 -1
- package/dts/numpad/Numpad.d.ts +3 -2
- package/dts/numpad/Numpad.d.ts.map +1 -1
- package/dts/overlays/Alert.d.ts +3 -5
- package/dts/overlays/Alert.d.ts.map +1 -1
- package/dts/overlays/Toast.d.ts +1 -1
- package/dts/overlays/Toast.d.ts.map +1 -1
- package/dts/overlays/drawer/Drawer.d.ts +3 -5
- package/dts/overlays/drawer/Drawer.d.ts.map +1 -1
- package/dts/overlays/drawer/DrawerStatusBar.d.ts +1 -1
- package/dts/overlays/drawer/DrawerStatusBar.d.ts.map +1 -1
- package/dts/overlays/drawer/useDrawerAnimation.d.ts +1 -1
- package/dts/overlays/drawer/useDrawerAnimation.d.ts.map +1 -1
- package/dts/overlays/drawer/useDrawerPanResponder.d.ts +1 -1
- package/dts/overlays/drawer/useDrawerPanResponder.d.ts.map +1 -1
- package/dts/overlays/drawer/useDrawerSpacing.d.ts +1 -1
- package/dts/overlays/drawer/useDrawerSpacing.d.ts.map +1 -1
- package/dts/overlays/modal/Modal.d.ts +1 -1
- package/dts/overlays/modal/Modal.d.ts.map +1 -1
- package/dts/overlays/modal/ModalHeader.d.ts +1 -1
- package/dts/overlays/modal/ModalHeader.d.ts.map +1 -1
- package/dts/overlays/overlay/Overlay.d.ts +1 -1
- package/dts/overlays/overlay/Overlay.d.ts.map +1 -1
- package/dts/overlays/overlay/useOverlayAnimation.d.ts +1 -1
- package/dts/overlays/overlay/useOverlayAnimation.d.ts.map +1 -1
- package/dts/overlays/tooltip/InternalTooltip.d.ts.map +1 -1
- package/dts/overlays/tooltip/Tooltip.d.ts.map +1 -1
- package/dts/overlays/tooltip/TooltipProps.d.ts +9 -8
- package/dts/overlays/tooltip/TooltipProps.d.ts.map +1 -1
- package/dts/overlays/tray/Tray.d.ts +1 -1
- package/dts/overlays/tray/Tray.d.ts.map +1 -1
- package/dts/page/PageFooter.d.ts +1 -1
- package/dts/page/PageFooter.d.ts.map +1 -1
- package/dts/page/PageHeader.d.ts +1 -1
- package/dts/page/PageHeader.d.ts.map +1 -1
- package/dts/section-header/SectionHeader.d.ts.map +1 -1
- package/dts/stepper/DefaultStepperStepHorizontal.d.ts.map +1 -1
- package/dts/stepper/DefaultStepperStepVertical.d.ts.map +1 -1
- package/dts/stepper/Stepper.d.ts +1 -1
- package/dts/stepper/Stepper.d.ts.map +1 -1
- package/dts/sticky-footer/StickyFooter.d.ts +1 -1
- package/dts/sticky-footer/StickyFooter.d.ts.map +1 -1
- package/dts/styles/getBorderStyles.d.ts +1 -1
- package/dts/styles/getBorderStyles.d.ts.map +1 -1
- package/dts/system/Interactable.d.ts +2 -1
- package/dts/system/Interactable.d.ts.map +1 -1
- package/dts/system/Pressable.d.ts +1 -1
- package/dts/system/Pressable.d.ts.map +1 -1
- package/dts/tabs/DefaultTab.d.ts +1 -1
- package/dts/tabs/DefaultTab.d.ts.map +1 -1
- package/dts/tabs/TabIndicator.d.ts +1 -1
- package/dts/tabs/TabIndicator.d.ts.map +1 -1
- package/dts/tabs/TabLabel.d.ts +1 -1
- package/dts/tabs/TabLabel.d.ts.map +1 -1
- package/dts/tabs/TabNavigation.d.ts +3 -2
- package/dts/tabs/TabNavigation.d.ts.map +1 -1
- package/dts/tabs/Tabs.d.ts +2 -1
- package/dts/tabs/Tabs.d.ts.map +1 -1
- package/dts/tag/Tag.d.ts +4 -4
- package/dts/tag/Tag.d.ts.map +1 -1
- package/dts/tour/Tour.d.ts +1 -1
- package/dts/tour/Tour.d.ts.map +1 -1
- package/dts/typography/Link.d.ts +1 -1
- package/dts/typography/Link.d.ts.map +1 -1
- package/dts/utils/flattenAndJoinNodes.d.ts +1 -1
- package/dts/utils/flattenAndJoinNodes.d.ts.map +1 -1
- package/dts/utils/getSpacerStyle.d.ts +1 -1
- package/dts/utils/getSpacerStyle.d.ts.map +1 -1
- package/dts/visualizations/ProgressBar.d.ts +3 -1
- package/dts/visualizations/ProgressBar.d.ts.map +1 -1
- package/dts/visualizations/ProgressBarWithFixedLabels.d.ts +2 -1
- package/dts/visualizations/ProgressBarWithFixedLabels.d.ts.map +1 -1
- package/dts/visualizations/ProgressBarWithFloatLabel.d.ts +1 -1
- package/dts/visualizations/ProgressBarWithFloatLabel.d.ts.map +1 -1
- package/dts/visualizations/ProgressCircle.d.ts +3 -2
- package/dts/visualizations/ProgressCircle.d.ts.map +1 -1
- package/dts/visualizations/ProgressIndicator.d.ts +1 -1
- package/dts/visualizations/ProgressIndicator.d.ts.map +1 -1
- package/dts/visualizations/ProgressTextLabel.d.ts.map +1 -1
- package/dts/visualizations/chart/CartesianChart.d.ts +4 -8
- package/dts/visualizations/chart/CartesianChart.d.ts.map +1 -1
- package/dts/visualizations/chart/ChartProvider.d.ts +1 -1
- package/dts/visualizations/chart/ChartProvider.d.ts.map +1 -1
- package/dts/visualizations/chart/Path.d.ts +1 -1
- package/dts/visualizations/chart/Path.d.ts.map +1 -1
- package/dts/visualizations/chart/PeriodSelector.d.ts +3 -2
- package/dts/visualizations/chart/PeriodSelector.d.ts.map +1 -1
- package/dts/visualizations/chart/area/Area.d.ts +1 -1
- package/dts/visualizations/chart/area/Area.d.ts.map +1 -1
- package/dts/visualizations/chart/area/AreaChart.d.ts +4 -2
- package/dts/visualizations/chart/area/AreaChart.d.ts.map +1 -1
- package/dts/visualizations/chart/axis/Axis.d.ts +2 -2
- package/dts/visualizations/chart/axis/Axis.d.ts.map +1 -1
- package/dts/visualizations/chart/axis/XAxis.d.ts.map +1 -1
- package/dts/visualizations/chart/axis/YAxis.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/Bar.d.ts +3 -2
- package/dts/visualizations/chart/bar/Bar.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/BarChart.d.ts +4 -3
- package/dts/visualizations/chart/bar/BarChart.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/BarStack.d.ts +3 -2
- package/dts/visualizations/chart/bar/BarStack.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/BarStackGroup.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/PercentageBarChart.d.ts +2 -2
- package/dts/visualizations/chart/gradient/Gradient.d.ts +1 -1
- package/dts/visualizations/chart/gradient/Gradient.d.ts.map +1 -1
- package/dts/visualizations/chart/legend/DefaultLegendEntry.d.ts +1 -1
- package/dts/visualizations/chart/legend/DefaultLegendEntry.d.ts.map +1 -1
- package/dts/visualizations/chart/legend/DefaultLegendShape.d.ts +1 -1
- package/dts/visualizations/chart/legend/DefaultLegendShape.d.ts.map +1 -1
- package/dts/visualizations/chart/legend/Legend.d.ts +2 -2
- package/dts/visualizations/chart/legend/Legend.d.ts.map +1 -1
- package/dts/visualizations/chart/line/Line.d.ts +3 -2
- package/dts/visualizations/chart/line/Line.d.ts.map +1 -1
- package/dts/visualizations/chart/line/LineChart.d.ts +2 -1
- package/dts/visualizations/chart/line/LineChart.d.ts.map +1 -1
- package/dts/visualizations/chart/line/ReferenceLine.d.ts +1 -1
- package/dts/visualizations/chart/line/ReferenceLine.d.ts.map +1 -1
- package/dts/visualizations/chart/point/DefaultPointLabel.d.ts +1 -1
- package/dts/visualizations/chart/point/DefaultPointLabel.d.ts.map +1 -1
- package/dts/visualizations/chart/point/Point.d.ts +1 -1
- package/dts/visualizations/chart/point/Point.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/DefaultScrubberBeacon.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/DefaultScrubberBeaconLabel.d.ts +1 -1
- package/dts/visualizations/chart/scrubber/DefaultScrubberBeaconLabel.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/Scrubber.d.ts +6 -3
- package/dts/visualizations/chart/scrubber/Scrubber.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/ScrubberBeaconGroup.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/ScrubberBeaconLabelGroup.d.ts +1 -1
- package/dts/visualizations/chart/scrubber/ScrubberBeaconLabelGroup.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/ScrubberProvider.d.ts +1 -1
- package/dts/visualizations/chart/scrubber/ScrubberProvider.d.ts.map +1 -1
- package/dts/visualizations/chart/text/ChartText.d.ts +2 -2
- package/dts/visualizations/chart/text/ChartText.d.ts.map +1 -1
- package/dts/visualizations/chart/utils/axis.d.ts +1 -1
- package/dts/visualizations/chart/utils/axis.d.ts.map +1 -1
- package/dts/visualizations/chart/utils/bar.d.ts +1 -1
- package/dts/visualizations/chart/utils/bar.d.ts.map +1 -1
- package/dts/visualizations/chart/utils/context.d.ts +1 -1
- package/dts/visualizations/chart/utils/context.d.ts.map +1 -1
- package/dts/visualizations/chart/utils/point.d.ts +1 -1
- package/dts/visualizations/chart/utils/point.d.ts.map +1 -1
- package/dts/visualizations/chart/utils/scrubber.d.ts +1 -1
- package/dts/visualizations/chart/utils/scrubber.d.ts.map +1 -1
- package/dts/visualizations/sparkline/Sparkline.d.ts +2 -1
- package/dts/visualizations/sparkline/Sparkline.d.ts.map +1 -1
- package/dts/visualizations/sparkline/generateSparklineWithId.d.ts +1 -1
- package/dts/visualizations/sparkline/generateSparklineWithId.d.ts.map +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractive.d.ts +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractive.d.ts.map +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveMinMax.d.ts +5 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveMinMax.d.ts.map +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveTimeseriesPaths.d.ts +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveTimeseriesPaths.d.ts.map +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.d.ts +2 -2
- package/dts/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.d.ts.map +1 -1
- package/esm/accordion/Accordion.js +2 -1
- package/esm/accordion/AccordionHeader.js +3 -1
- package/esm/accordion/AccordionItem.js +1 -1
- package/esm/alpha/combobox/Combobox.js +1 -1
- package/esm/alpha/combobox/DefaultComboboxControl.js +1 -1
- package/esm/alpha/data-card/DataCardLayout.js +1 -1
- package/esm/alpha/select/DefaultSelectDropdown.js +1 -1
- package/esm/alpha/tabbed-chips/TabbedChips.js +3 -2
- package/esm/animation/LottieStatusAnimation.js +1 -0
- package/esm/animation/createLottie.js +1 -1
- package/esm/banner/Banner.js +5 -3
- package/esm/buttons/AvatarButton.js +1 -1
- package/esm/buttons/ButtonGroup.js +1 -1
- package/esm/buttons/IconCounterButton.js +3 -3
- package/esm/cards/CardMedia.js +2 -1
- package/esm/cards/ContainedAssetCard.js +3 -2
- package/esm/cards/ContentCard/ContentCard.js +1 -1
- package/esm/cards/ContentCard/ContentCardBody.js +2 -1
- package/esm/cards/ContentCard/ContentCardFooter.js +1 -1
- package/esm/cards/ContentCard/ContentCardHeader.js +3 -2
- package/esm/cards/FeedCard.js +2 -1
- package/esm/cards/FloatingAssetCard.js +3 -2
- package/esm/cards/NudgeCard.js +4 -2
- package/esm/cards/UpsellCard.js +4 -2
- package/esm/cells/ContentCell.js +3 -1
- package/esm/cells/ContentCellFallback.js +2 -1
- package/esm/cells/ListCellFallback.js +1 -1
- package/esm/chips/Chip.js +4 -2
- package/esm/chips/InputChip.js +1 -1
- package/esm/chips/SelectChip.js +2 -2
- package/esm/chips/TabbedChips.js +3 -2
- package/esm/coachmark/Coachmark.js +5 -3
- package/esm/controls/CheckboxCell.js +3 -1
- package/esm/controls/ControlGroup.js +1 -1
- package/esm/controls/Radio.js +1 -1
- package/esm/controls/RadioCell.js +3 -1
- package/esm/dates/DatePicker.js +2 -1
- package/esm/motion/AnimatedCaret.js +1 -1
- package/esm/motion/ColorSurge.js +1 -1
- package/esm/multi-content-module/MultiContentModule.js +4 -3
- package/esm/navigation/BrowserBar.js +1 -1
- package/esm/navigation/NavBarIconButton.js +1 -1
- package/esm/navigation/NavigationTitleSelect.js +3 -3
- package/esm/navigation/TopNavBar.js +2 -1
- package/esm/numbers/RollingNumber/DefaultRollingNumberValueSection.js +1 -1
- package/esm/numpad/Numpad.js +3 -2
- package/esm/overlays/Alert.js +3 -3
- package/esm/overlays/Toast.js +3 -2
- package/esm/overlays/modal/Modal.js +1 -1
- package/esm/overlays/modal/ModalHeader.js +1 -1
- package/esm/overlays/tooltip/InternalTooltip.js +24 -9
- package/esm/overlays/tooltip/Tooltip.js +46 -20
- package/esm/overlays/tray/Tray.js +2 -1
- package/esm/section-header/SectionHeader.js +3 -2
- package/esm/stepper/DefaultStepperStepHorizontal.js +2 -1
- package/esm/stepper/DefaultStepperStepVertical.js +2 -1
- package/esm/stepper/DefaultStepperSubstepContainerHorizontal.js +1 -1
- package/esm/stepper/DefaultStepperSubstepContainerVertical.js +1 -1
- package/esm/sticky-footer/StickyFooter.js +1 -1
- package/esm/system/__stories__/componentConfigStickerSheet/StickerSheet.js +4 -0
- package/esm/system/__stories__/componentConfigStickerSheet/customComponentConfig.js +2 -0
- package/esm/system/__stories__/componentConfigStickerSheet/examples/Tooltip.js +20 -0
- package/esm/tabs/DefaultTab.js +1 -1
- package/esm/tabs/DefaultTabsActiveIndicator.js +1 -1
- package/esm/tabs/SegmentedTab.js +1 -1
- package/esm/tabs/TabIndicator.js +1 -1
- package/esm/tabs/TabLabel.js +1 -1
- package/esm/tabs/TabNavigation.js +1 -1
- package/esm/tabs/Tabs.js +2 -1
- package/esm/tour/DefaultTourMask.js +1 -1
- package/esm/visualizations/Counter.js +1 -1
- package/esm/visualizations/DefaultProgressCircleContent.js +1 -1
- package/esm/visualizations/ProgressBar.js +2 -1
- package/esm/visualizations/ProgressBarWithFixedLabels.js +2 -1
- package/esm/visualizations/ProgressBarWithFloatLabel.js +2 -1
- package/esm/visualizations/ProgressCircle.js +1 -1
- package/esm/visualizations/ProgressContainerWithButtons.js +2 -2
- package/esm/visualizations/VisualizationContainer.js +1 -1
- package/esm/visualizations/chart/CartesianChart.js +4 -3
- package/esm/visualizations/chart/Path.js +1 -1
- package/esm/visualizations/chart/PeriodSelector.js +2 -2
- package/esm/visualizations/chart/area/Area.js +1 -1
- package/esm/visualizations/chart/area/AreaChart.js +4 -2
- package/esm/visualizations/chart/area/DottedArea.js +2 -2
- package/esm/visualizations/chart/area/GradientArea.js +2 -2
- package/esm/visualizations/chart/area/SolidArea.js +1 -1
- package/esm/visualizations/chart/axis/Axis.js +1 -1
- package/esm/visualizations/chart/axis/DefaultAxisTickLabel.js +1 -1
- package/esm/visualizations/chart/axis/XAxis.js +4 -1
- package/esm/visualizations/chart/axis/YAxis.js +4 -1
- package/esm/visualizations/chart/bar/Bar.js +1 -1
- package/esm/visualizations/chart/bar/BarChart.js +4 -2
- package/esm/visualizations/chart/bar/BarPlot.js +1 -1
- package/esm/visualizations/chart/bar/BarStackGroup.js +3 -1
- package/esm/visualizations/chart/bar/DefaultBar.js +2 -1
- package/esm/visualizations/chart/bar/DefaultBarStack.js +1 -1
- package/esm/visualizations/chart/gradient/Gradient.js +1 -1
- package/esm/visualizations/chart/legend/DefaultLegendEntry.js +1 -1
- package/esm/visualizations/chart/legend/DefaultLegendShape.js +2 -2
- package/esm/visualizations/chart/legend/Legend.js +1 -1
- package/esm/visualizations/chart/line/DefaultReferenceLineLabel.js +3 -3
- package/esm/visualizations/chart/line/DottedLine.js +1 -1
- package/esm/visualizations/chart/line/Line.js +4 -3
- package/esm/visualizations/chart/line/ReferenceLine.js +1 -1
- package/esm/visualizations/chart/line/SolidLine.js +1 -1
- package/esm/visualizations/chart/point/DefaultPointLabel.js +1 -1
- package/esm/visualizations/chart/point/Point.js +1 -1
- package/esm/visualizations/chart/scrubber/DefaultScrubberBeacon.js +2 -2
- package/esm/visualizations/chart/scrubber/DefaultScrubberBeaconLabel.js +2 -2
- package/esm/visualizations/chart/scrubber/DefaultScrubberLabel.js +1 -1
- package/esm/visualizations/chart/scrubber/Scrubber.js +5 -4
- package/esm/visualizations/chart/scrubber/ScrubberAccessibilityView.js +1 -1
- package/esm/visualizations/chart/scrubber/ScrubberBeaconGroup.js +3 -2
- package/esm/visualizations/chart/scrubber/ScrubberBeaconLabelGroup.js +3 -1
- package/esm/visualizations/chart/scrubber/ScrubberProvider.js +2 -1
- package/esm/visualizations/chart/text/ChartText.js +2 -1
- package/esm/visualizations/sparkline/Counter.js +1 -1
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractive.js +3 -2
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractiveMarkerDates.js +1 -1
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractiveMinMax.js +1 -1
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractivePeriodSelector.js +1 -1
- package/esm/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.js +2 -1
- package/package.json +2 -2
package/esm/tabs/DefaultTab.js
CHANGED
|
@@ -7,7 +7,7 @@ import { useTabsContext } from '@coinbase/cds-common/tabs/TabsContext';
|
|
|
7
7
|
import { accessibleOpacityDisabled } from '@coinbase/cds-common/tokens/interactable';
|
|
8
8
|
import { DotCount } from '../dots/DotCount';
|
|
9
9
|
import { useTheme } from '../hooks/useTheme';
|
|
10
|
-
import { HStack } from '../layout';
|
|
10
|
+
import { HStack } from '../layout/HStack';
|
|
11
11
|
import { Text } from '../typography/Text';
|
|
12
12
|
|
|
13
13
|
/** Optional dot count and a11y overrides for the default tab row. */
|
|
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo, useEffect } from 'react';
|
|
5
5
|
import Animated, { useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';
|
|
6
|
-
import { Box } from '../layout';
|
|
6
|
+
import { Box } from '../layout/Box';
|
|
7
7
|
import { tabsSpringConfig } from './Tabs';
|
|
8
8
|
|
|
9
9
|
/**
|
package/esm/tabs/SegmentedTab.js
CHANGED
|
@@ -7,7 +7,7 @@ import { useTabsContext } from '@coinbase/cds-common/tabs/TabsContext';
|
|
|
7
7
|
import { accessibleOpacityDisabled } from '@coinbase/cds-common/tokens/interactable';
|
|
8
8
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
9
9
|
import { useTheme } from '../hooks/useTheme';
|
|
10
|
-
import { Box } from '../layout';
|
|
10
|
+
import { Box } from '../layout/Box';
|
|
11
11
|
import { Pressable } from '../system/Pressable';
|
|
12
12
|
import { Text } from '../typography/Text';
|
|
13
13
|
import { tabsSpringConfig } from './Tabs';
|
package/esm/tabs/TabIndicator.js
CHANGED
|
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React, { forwardRef, memo } from 'react';
|
|
5
5
|
import { Animated } from 'react-native';
|
|
6
|
-
import { Box } from '../layout';
|
|
6
|
+
import { Box } from '../layout/Box';
|
|
7
7
|
import { useTabIndicatorStyles } from './hooks/useTabIndicatorStyles';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
/** @deprecated Use DefaultTabsActiveIndicator instead. This will be removed in a future major release. */
|
package/esm/tabs/TabLabel.js
CHANGED
|
@@ -5,7 +5,7 @@ import React, { memo, useEffect, useMemo, useRef } from 'react';
|
|
|
5
5
|
import { Animated, StyleSheet, View } from 'react-native';
|
|
6
6
|
import { DotCount } from '../dots/DotCount';
|
|
7
7
|
import { useTheme } from '../hooks/useTheme';
|
|
8
|
-
import { HStack } from '../layout';
|
|
8
|
+
import { HStack } from '../layout/HStack';
|
|
9
9
|
import { Text } from '../typography/Text';
|
|
10
10
|
import { useDotAnimation } from './hooks/useDotAnimation';
|
|
11
11
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -5,9 +5,9 @@ import React, { forwardRef, memo, useCallback, useEffect, useMemo, useState } fr
|
|
|
5
5
|
import { ScrollView, View } from 'react-native';
|
|
6
6
|
import { isDevelopment } from '@coinbase/cds-utils';
|
|
7
7
|
import { useHorizontallyScrollingPressables } from '../hooks/useHorizontallyScrollingPressables';
|
|
8
|
-
import { OverflowGradient } from '../layout';
|
|
9
8
|
import { Box } from '../layout/Box';
|
|
10
9
|
import { HStack } from '../layout/HStack';
|
|
10
|
+
import { OverflowGradient } from '../layout/OverflowGradient';
|
|
11
11
|
import { VStack } from '../layout/VStack';
|
|
12
12
|
import { Pressable } from '../system/Pressable';
|
|
13
13
|
import { TabIndicator } from './TabIndicator';
|
package/esm/tabs/Tabs.js
CHANGED
|
@@ -13,7 +13,8 @@ import { useTabs } from '@coinbase/cds-common/tabs/useTabs';
|
|
|
13
13
|
import { accessibleOpacityDisabled } from '@coinbase/cds-common/tokens/interactable';
|
|
14
14
|
import { defaultRect } from '@coinbase/cds-common/types/Rect';
|
|
15
15
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
16
|
-
import { Box
|
|
16
|
+
import { Box } from '../layout/Box';
|
|
17
|
+
import { HStack } from '../layout/HStack';
|
|
17
18
|
import { DefaultTab } from './DefaultTab';
|
|
18
19
|
import { DefaultTabsActiveIndicator } from './DefaultTabsActiveIndicator';
|
|
19
20
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -5,7 +5,7 @@ import { Defs, Mask, Rect as NativeRect, Svg } from 'react-native-svg';
|
|
|
5
5
|
import { defaultRect } from '@coinbase/cds-common/types/Rect';
|
|
6
6
|
import { useDimensions } from '../hooks/useDimensions';
|
|
7
7
|
import { useTheme } from '../hooks/useTheme';
|
|
8
|
-
import { Box } from '../layout';
|
|
8
|
+
import { Box } from '../layout/Box';
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
export const DefaultTourMask = /*#__PURE__*/memo(_ref => {
|
|
11
11
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useMemo } from 'react';
|
|
2
2
|
import { StyleSheet, View } from 'react-native';
|
|
3
3
|
import { useCounter } from '@coinbase/cds-common/visualizations/useCounter';
|
|
4
|
-
import { Box } from '../layout';
|
|
4
|
+
import { Box } from '../layout/Box';
|
|
5
5
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
6
6
|
export const Counter = _ref => {
|
|
7
7
|
let {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { memo } from 'react';
|
|
2
|
-
import { Box } from '../layout';
|
|
2
|
+
import { Box } from '../layout/Box';
|
|
3
3
|
import { ProgressTextLabel } from './ProgressTextLabel';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
export const DefaultProgressCircleContent = /*#__PURE__*/memo(_ref => {
|
|
@@ -6,7 +6,8 @@ import { getProgressSize } from '@coinbase/cds-common/visualizations/getProgress
|
|
|
6
6
|
import { convertMotionConfig } from '../animation/convertMotionConfig';
|
|
7
7
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
8
8
|
import { useTheme } from '../hooks/useTheme';
|
|
9
|
-
import { Box
|
|
9
|
+
import { Box } from '../layout/Box';
|
|
10
|
+
import { HStack } from '../layout/HStack';
|
|
10
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
12
|
export const ProgressBar = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, forwardedRef) => {
|
|
12
13
|
const mergedProps = useComponentConfig('ProgressBar', _props);
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React, { memo, useMemo } from 'react';
|
|
2
2
|
import { I18nManager, View } from 'react-native';
|
|
3
3
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
4
|
-
import { Box
|
|
4
|
+
import { Box } from '../layout/Box';
|
|
5
|
+
import { VStack } from '../layout/VStack';
|
|
5
6
|
import { getProgressBarLabelParts } from './getProgressBarLabelParts';
|
|
6
7
|
import { ProgressTextLabel } from './ProgressTextLabel';
|
|
7
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -5,7 +5,8 @@ import { animateProgressBaseSpec } from '@coinbase/cds-common/animation/progress
|
|
|
5
5
|
import { convertMotionConfig } from '../animation/convertMotionConfig';
|
|
6
6
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
7
7
|
import { useLayout } from '../hooks/useLayout';
|
|
8
|
-
import { Box
|
|
8
|
+
import { Box } from '../layout/Box';
|
|
9
|
+
import { VStack } from '../layout/VStack';
|
|
9
10
|
import { getProgressBarLabelParts } from './getProgressBarLabelParts';
|
|
10
11
|
import { ProgressTextLabel } from './ProgressTextLabel';
|
|
11
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -10,7 +10,7 @@ import { isTest } from '@coinbase/cds-utils';
|
|
|
10
10
|
import { convertMotionConfig } from '../animation/convertMotionConfig';
|
|
11
11
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
12
12
|
import { useTheme } from '../hooks/useTheme';
|
|
13
|
-
import { Box } from '../layout';
|
|
13
|
+
import { Box } from '../layout/Box';
|
|
14
14
|
import { DefaultProgressCircleContent } from './DefaultProgressCircleContent';
|
|
15
15
|
import { VisualizationContainer } from './VisualizationContainer';
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useCallback, useState } from 'react';
|
|
2
|
-
import { Button } from '../buttons';
|
|
3
|
-
import { VStack } from '../layout';
|
|
2
|
+
import { Button } from '../buttons/Button';
|
|
3
|
+
import { VStack } from '../layout/VStack';
|
|
4
4
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
5
|
export const ProgressContainerWithButtons = _ref => {
|
|
6
6
|
let {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { memo } from 'react';
|
|
2
2
|
import { useVisualizationDimensions } from '@coinbase/cds-common/visualizations/useVisualizationDimensions';
|
|
3
3
|
import { useLayout } from '../hooks/useLayout';
|
|
4
|
-
import { Box } from '../layout';
|
|
4
|
+
import { Box } from '../layout/Box';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
/*
|
|
7
7
|
Some visualizations need a static width to render. This container can be dynamically sized and it will inject its static calculated dimensions into its child
|
|
@@ -3,14 +3,15 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React, { forwardRef, memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
5
5
|
import { Canvas, Skia } from '@shopify/react-native-skia';
|
|
6
|
-
import { Box } from '../../layout';
|
|
6
|
+
import { Box } from '../../layout/Box';
|
|
7
|
+
import { Legend } from './legend/Legend';
|
|
7
8
|
import { ScrubberAccessibilityView } from './scrubber/ScrubberAccessibilityView';
|
|
8
9
|
import { ScrubberProvider } from './scrubber/ScrubberProvider';
|
|
10
|
+
import { defaultAxisId, getAxisConfig, getAxisRange, getCartesianAxisDomain, getCartesianAxisScale, useTotalAxisPadding } from './utils/axis';
|
|
11
|
+
import { defaultHorizontalLayoutChartInset, defaultVerticalLayoutChartInset, getChartInset, getStackedSeriesData as calculateStackedSeriesData } from './utils/chart';
|
|
9
12
|
import { convertToSerializableScale } from './utils/scale';
|
|
10
13
|
import { useChartContextBridge } from './ChartContextBridge';
|
|
11
14
|
import { CartesianChartProvider } from './ChartProvider';
|
|
12
|
-
import { Legend } from './legend';
|
|
13
|
-
import { defaultAxisId, defaultHorizontalLayoutChartInset, defaultVerticalLayoutChartInset, getAxisConfig, getAxisRange, getCartesianAxisDomain, getCartesianAxisScale, getChartInset, getStackedSeriesData as calculateStackedSeriesData, useTotalAxisPadding } from './utils';
|
|
14
15
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
16
|
const ChartCanvas = /*#__PURE__*/memo(_ref => {
|
|
16
17
|
let {
|
|
@@ -5,10 +5,10 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
5
5
|
import { memo, useEffect, useMemo } from 'react';
|
|
6
6
|
import { useDerivedValue, useSharedValue } from 'react-native-reanimated';
|
|
7
7
|
import { Group, Path as SkiaPath, Skia, usePathInterpolation } from '@shopify/react-native-skia';
|
|
8
|
+
import { unwrapAnimatedValue } from './utils/chart';
|
|
8
9
|
import { defaultPathEnterTransition } from './utils/path';
|
|
9
10
|
import { buildTransition, defaultTransition, getTransition, usePathTransition } from './utils/transition';
|
|
10
11
|
import { useCartesianChartContext } from './ChartProvider';
|
|
11
|
-
import { unwrapAnimatedValue } from './utils';
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Duration in milliseconds for path enter transition.
|
|
@@ -6,10 +6,10 @@ import React, { forwardRef, memo, useMemo } from 'react';
|
|
|
6
6
|
import { StyleSheet, View } from 'react-native';
|
|
7
7
|
import Animated, { useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';
|
|
8
8
|
import { useTheme } from '../../hooks/useTheme';
|
|
9
|
-
import { SegmentedTabs } from '../../tabs';
|
|
10
9
|
import { SegmentedTab } from '../../tabs/SegmentedTab';
|
|
10
|
+
import { SegmentedTabs } from '../../tabs/SegmentedTabs';
|
|
11
11
|
import { tabsSpringConfig } from '../../tabs/Tabs';
|
|
12
|
-
import { Text } from '../../typography';
|
|
12
|
+
import { Text } from '../../typography/Text';
|
|
13
13
|
|
|
14
14
|
// Animated active indicator to support smooth transition of background color
|
|
15
15
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { memo, useMemo } from 'react';
|
|
2
2
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
3
|
-
import { getAreaPath } from '../utils';
|
|
3
|
+
import { getAreaPath } from '../utils/path';
|
|
4
4
|
import { DottedArea } from './DottedArea';
|
|
5
5
|
import { GradientArea } from './GradientArea';
|
|
6
6
|
import { SolidArea } from './SolidArea';
|
|
@@ -6,10 +6,12 @@ const _excluded = ["series", "stacked", "AreaComponent", "curve", "fillOpacity",
|
|
|
6
6
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
7
7
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
8
8
|
import { forwardRef, memo, useMemo } from 'react';
|
|
9
|
-
import { XAxis
|
|
9
|
+
import { XAxis } from '../axis/XAxis';
|
|
10
|
+
import { YAxis } from '../axis/YAxis';
|
|
10
11
|
import { CartesianChart } from '../CartesianChart';
|
|
11
12
|
import { Line } from '../line/Line';
|
|
12
|
-
import {
|
|
13
|
+
import { withBaselineDomain } from '../utils/axis';
|
|
14
|
+
import { defaultStackId } from '../utils/chart';
|
|
13
15
|
import { Area } from './Area';
|
|
14
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
17
|
export const AreaChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -5,9 +5,9 @@ import { memo, useMemo } from 'react';
|
|
|
5
5
|
import { Group } from '@shopify/react-native-skia';
|
|
6
6
|
import { useTheme } from '../../../hooks/useTheme';
|
|
7
7
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
8
|
-
import { Gradient } from '../gradient';
|
|
8
|
+
import { Gradient } from '../gradient/Gradient';
|
|
9
9
|
import { Path } from '../Path';
|
|
10
|
-
import { createGradient, getBaseline } from '../utils';
|
|
10
|
+
import { createGradient, getBaseline } from '../utils/gradient';
|
|
11
11
|
import { getDottedAreaPath } from '../utils/path';
|
|
12
12
|
import { defaultTransition, usePathTransition } from '../utils/transition';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -4,9 +4,9 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
4
4
|
import { memo, useMemo } from 'react';
|
|
5
5
|
import { useTheme } from '../../../hooks/useTheme';
|
|
6
6
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
7
|
-
import { Gradient } from '../gradient';
|
|
7
|
+
import { Gradient } from '../gradient/Gradient';
|
|
8
8
|
import { Path } from '../Path';
|
|
9
|
-
import { createGradient, getBaseline } from '../utils';
|
|
9
|
+
import { createGradient, getBaseline } from '../utils/gradient';
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
/**
|
|
12
12
|
* A customizable gradient area component.
|
|
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo } from 'react';
|
|
5
5
|
import { useTheme } from '../../../hooks/useTheme';
|
|
6
|
-
import { Gradient } from '../gradient';
|
|
6
|
+
import { Gradient } from '../gradient/Gradient';
|
|
7
7
|
import { Path } from '../Path';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
-
import { ChartText } from '../text';
|
|
3
|
+
import { ChartText } from '../text/ChartText';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
/**
|
|
6
6
|
* DefaultAxisTickLabel is the default label component for axis tick labels.
|
|
@@ -8,7 +8,10 @@ import { DottedLine } from '../line/DottedLine';
|
|
|
8
8
|
import { SolidLine } from '../line/SolidLine';
|
|
9
9
|
import { ChartText } from '../text/ChartText';
|
|
10
10
|
import { ChartTextGroup } from '../text/ChartTextGroup';
|
|
11
|
-
import { getAxisTicksData,
|
|
11
|
+
import { getAxisTicksData, toPointAnchor } from '../utils/axis';
|
|
12
|
+
import { lineToPath } from '../utils/path';
|
|
13
|
+
import { getPointOnScale } from '../utils/point';
|
|
14
|
+
import { isCategoricalScale } from '../utils/scale';
|
|
12
15
|
import { DefaultAxisTickLabel } from './DefaultAxisTickLabel';
|
|
13
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
17
|
const AXIS_HEIGHT = 32;
|
|
@@ -8,7 +8,10 @@ import { DottedLine } from '../line/DottedLine';
|
|
|
8
8
|
import { SolidLine } from '../line/SolidLine';
|
|
9
9
|
import { ChartText } from '../text/ChartText';
|
|
10
10
|
import { ChartTextGroup } from '../text/ChartTextGroup';
|
|
11
|
-
import { getAxisTicksData,
|
|
11
|
+
import { getAxisTicksData, toPointAnchor } from '../utils/axis';
|
|
12
|
+
import { lineToPath } from '../utils/path';
|
|
13
|
+
import { getPointOnScale } from '../utils/point';
|
|
14
|
+
import { isCategoricalScale } from '../utils/scale';
|
|
12
15
|
import { DefaultAxisTickLabel } from './DefaultAxisTickLabel';
|
|
13
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
17
|
const AXIS_WIDTH = 44;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { memo, useMemo } from 'react';
|
|
2
2
|
import { useTheme } from '../../../hooks/useTheme';
|
|
3
3
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
4
|
-
import { getBarPath } from '../utils';
|
|
4
|
+
import { getBarPath } from '../utils/path';
|
|
5
5
|
import { DefaultBar } from './DefaultBar';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
/**
|
|
@@ -4,9 +4,11 @@ const _excluded = ["series", "stacked", "showXAxis", "showYAxis", "xAxis", "yAxi
|
|
|
4
4
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
5
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
6
6
|
import { forwardRef, memo, useMemo } from 'react';
|
|
7
|
-
import { XAxis
|
|
7
|
+
import { XAxis } from '../axis/XAxis';
|
|
8
|
+
import { YAxis } from '../axis/YAxis';
|
|
8
9
|
import { CartesianChart } from '../CartesianChart';
|
|
9
|
-
import {
|
|
10
|
+
import { withBaselineDomain } from '../utils/axis';
|
|
11
|
+
import { defaultStackId } from '../utils/chart';
|
|
10
12
|
import { BarPlot } from './BarPlot';
|
|
11
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
14
|
export const BarChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -2,7 +2,7 @@ import { memo, useEffect, useMemo, useState } from 'react';
|
|
|
2
2
|
import { useSharedValue } from 'react-native-reanimated';
|
|
3
3
|
import { Group, Skia, usePathInterpolation } from '@shopify/react-native-skia';
|
|
4
4
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
5
|
-
import { getStackGroups } from '../utils';
|
|
5
|
+
import { getStackGroups } from '../utils/bar';
|
|
6
6
|
import { buildTransition, instantTransition } from '../utils/transition';
|
|
7
7
|
import { BarStackGroup } from './BarStackGroup';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -3,7 +3,9 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo, useMemo } from 'react';
|
|
5
5
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
6
|
-
import { defaultAxisId
|
|
6
|
+
import { defaultAxisId } from '../utils/axis';
|
|
7
|
+
import { getBarSizeAdjustment } from '../utils/bar';
|
|
8
|
+
import { isCategoricalScale } from '../utils/scale';
|
|
7
9
|
import { BarStack } from './BarStack';
|
|
8
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
11
|
/**
|
|
@@ -3,8 +3,9 @@ import { memo, useMemo } from 'react';
|
|
|
3
3
|
import { useTheme } from '../../../hooks/useTheme';
|
|
4
4
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
5
5
|
import { Path } from '../Path';
|
|
6
|
-
import { defaultBarEnterOpacityTransition, defaultBarEnterTransition,
|
|
6
|
+
import { defaultBarEnterOpacityTransition, defaultBarEnterTransition, withStaggerDelayTransition } from '../utils/bar';
|
|
7
7
|
import { getNormalizedStagger } from '../utils/bar';
|
|
8
|
+
import { getBarPath } from '../utils/path';
|
|
8
9
|
import { defaultTransition, getTransition } from '../utils/transition';
|
|
9
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
11
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { memo, useMemo } from 'react';
|
|
2
2
|
import { Group, Skia } from '@shopify/react-native-skia';
|
|
3
3
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
4
|
-
import { getBarPath } from '../utils';
|
|
5
4
|
import { defaultBarEnterTransition, getNormalizedStagger, getStackInitialClipRect, withStaggerDelayTransition } from '../utils/bar';
|
|
5
|
+
import { getBarPath } from '../utils/path';
|
|
6
6
|
import { defaultTransition, getTransition, usePathTransition } from '../utils/transition';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
/**
|
|
@@ -2,8 +2,8 @@ import { memo, useEffect, useMemo, useRef } from 'react';
|
|
|
2
2
|
import { useDerivedValue, useSharedValue } from 'react-native-reanimated';
|
|
3
3
|
import { LinearGradient } from '@shopify/react-native-skia';
|
|
4
4
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
5
|
-
import { buildTransition, defaultTransition, instantTransition } from '../utils';
|
|
6
5
|
import { getColorWithOpacity, getGradientAxis, getGradientConfig } from '../utils/gradient';
|
|
6
|
+
import { buildTransition, defaultTransition, instantTransition } from '../utils/transition';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
/**
|
|
9
9
|
* Renders a Skia LinearGradient element based on a GradientDefinition.
|
|
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo } from 'react';
|
|
5
5
|
import { StyleSheet } from 'react-native';
|
|
6
|
-
import { HStack } from '../../../layout';
|
|
6
|
+
import { HStack } from '../../../layout/HStack';
|
|
7
7
|
import { Text } from '../../../typography/Text';
|
|
8
8
|
import { DefaultLegendShape } from './DefaultLegendShape';
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -3,8 +3,8 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo } from 'react';
|
|
5
5
|
import { StyleSheet, View } from 'react-native';
|
|
6
|
-
import { useTheme } from '../../../
|
|
7
|
-
import { Box } from '../../../layout';
|
|
6
|
+
import { useTheme } from '../../../hooks/useTheme';
|
|
7
|
+
import { Box } from '../../../layout/Box';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
const styles = StyleSheet.create({
|
|
10
10
|
container: {
|
|
@@ -2,7 +2,7 @@ const _excluded = ["flexDirection", "justifyContent", "alignItems", "flexWrap",
|
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { forwardRef, memo, useMemo } from 'react';
|
|
5
|
-
import { Box } from '../../../layout';
|
|
5
|
+
import { Box } from '../../../layout/Box';
|
|
6
6
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
7
7
|
import { DefaultLegendEntry } from './DefaultLegendEntry';
|
|
8
8
|
import { DefaultLegendShape } from './DefaultLegendShape';
|
|
@@ -2,10 +2,10 @@ const _excluded = ["color", "elevated", "borderRadius", "inset", "boundsInset"];
|
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo, useMemo } from 'react';
|
|
5
|
-
import { useTheme } from '../../../
|
|
5
|
+
import { useTheme } from '../../../hooks/useTheme';
|
|
6
6
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
7
|
-
import { ChartText } from '../text';
|
|
8
|
-
import { getChartInset } from '../utils';
|
|
7
|
+
import { ChartText } from '../text/ChartText';
|
|
8
|
+
import { getChartInset } from '../utils/chart';
|
|
9
9
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
const elevatedInset = {
|
|
11
11
|
top: 8,
|
|
@@ -4,7 +4,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
4
4
|
import { memo } from 'react';
|
|
5
5
|
import { DashPathEffect } from '@shopify/react-native-skia';
|
|
6
6
|
import { useTheme } from '../../../hooks/useTheme';
|
|
7
|
-
import { Gradient } from '../gradient';
|
|
7
|
+
import { Gradient } from '../gradient/Gradient';
|
|
8
8
|
import { Path } from '../Path';
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
10
|
/**
|
|
@@ -3,12 +3,13 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React, { memo, useMemo } from 'react';
|
|
5
5
|
import { Group } from '@shopify/react-native-skia';
|
|
6
|
-
import { useTheme } from '../../../
|
|
6
|
+
import { useTheme } from '../../../hooks/useTheme';
|
|
7
7
|
import { Area } from '../area/Area';
|
|
8
8
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
9
|
-
import { Point } from '../point';
|
|
10
|
-
import { getLineData
|
|
9
|
+
import { Point } from '../point/Point';
|
|
10
|
+
import { getLineData } from '../utils/chart';
|
|
11
11
|
import { evaluateGradientAtValue, getGradientStops } from '../utils/gradient';
|
|
12
|
+
import { getLinePath } from '../utils/path';
|
|
12
13
|
import { convertToSerializableScale } from '../utils/scale';
|
|
13
14
|
import { DottedLine } from './DottedLine';
|
|
14
15
|
import { SolidLine } from './SolidLine';
|
|
@@ -2,7 +2,7 @@ import { memo } from 'react';
|
|
|
2
2
|
import { useDerivedValue } from 'react-native-reanimated';
|
|
3
3
|
import { useTheme } from '../../../hooks/useTheme';
|
|
4
4
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
5
|
-
import { unwrapAnimatedValue } from '../utils';
|
|
5
|
+
import { unwrapAnimatedValue } from '../utils/chart';
|
|
6
6
|
import { getPointOnSerializableScale } from '../utils/point';
|
|
7
7
|
import { DefaultReferenceLineLabel } from './DefaultReferenceLineLabel';
|
|
8
8
|
import { DottedLine } from './DottedLine';
|
|
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo } from 'react';
|
|
5
5
|
import { useTheme } from '../../../hooks/useTheme';
|
|
6
|
-
import { Gradient } from '../gradient';
|
|
6
|
+
import { Gradient } from '../gradient/Gradient';
|
|
7
7
|
import { Path } from '../Path';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
/**
|
|
@@ -2,7 +2,7 @@ const _excluded = ["x", "y", "position", "offset", "children"];
|
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo, useMemo } from 'react';
|
|
5
|
-
import { ChartText } from '../text';
|
|
5
|
+
import { ChartText } from '../text/ChartText';
|
|
6
6
|
import { getAlignmentFromPosition, getLabelCoordinates } from '../utils/point';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
/**
|
|
@@ -4,7 +4,7 @@ import { usePreviousValue } from '@coinbase/cds-common/hooks/usePreviousValue';
|
|
|
4
4
|
import { Circle, Group, interpolateColors } from '@shopify/react-native-skia';
|
|
5
5
|
import { useTheme } from '../../../hooks/useTheme';
|
|
6
6
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
7
|
-
import { projectPoint } from '../utils';
|
|
7
|
+
import { projectPoint } from '../utils/point';
|
|
8
8
|
import { buildTransition, defaultAccessoryEnterTransition, defaultTransition, getTransition } from '../utils/transition';
|
|
9
9
|
import { DefaultPointLabel } from './DefaultPointLabel';
|
|
10
10
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef, memo, useEffect, useImperativeHandle, useMemo } from 'react';
|
|
2
2
|
import { cancelAnimation, Easing, useAnimatedReaction, useDerivedValue, useSharedValue, withDelay, withRepeat, withSequence, withTiming } from 'react-native-reanimated';
|
|
3
3
|
import { Circle, Group } from '@shopify/react-native-skia';
|
|
4
|
-
import { useTheme } from '../../../
|
|
4
|
+
import { useTheme } from '../../../hooks/useTheme';
|
|
5
5
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
6
|
-
import { unwrapAnimatedValue } from '../utils';
|
|
6
|
+
import { unwrapAnimatedValue } from '../utils/chart';
|
|
7
7
|
import { projectPointWithSerializableScale } from '../utils/point';
|
|
8
8
|
import { buildTransition, defaultTransition, getTransition } from '../utils/transition';
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -2,8 +2,8 @@ const _excluded = ["background", "color", "elevated", "borderRadius", "font", "v
|
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo } from 'react';
|
|
5
|
-
import { useTheme } from '../../../
|
|
6
|
-
import { ChartText } from '../text';
|
|
5
|
+
import { useTheme } from '../../../hooks/useTheme';
|
|
6
|
+
import { ChartText } from '../text/ChartText';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
const labelVerticalInset = 3.5;
|
|
9
9
|
const labelHorizontalInset = 4;
|
|
@@ -3,7 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import { memo, useMemo } from 'react';
|
|
5
5
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
6
|
-
import { DefaultReferenceLineLabel } from '../line';
|
|
6
|
+
import { DefaultReferenceLineLabel } from '../line/DefaultReferenceLineLabel';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
/**
|
|
9
9
|
* DefaultScrubberLabel is the default label component for the scrubber line.
|
|
@@ -2,11 +2,12 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
2
2
|
import React, { forwardRef, memo, useCallback, useEffect, useImperativeHandle, useMemo } from 'react';
|
|
3
3
|
import { runOnJS, useAnimatedReaction, useDerivedValue, useSharedValue } from 'react-native-reanimated';
|
|
4
4
|
import { Group, Paint, Rect } from '@shopify/react-native-skia';
|
|
5
|
-
import { useTheme } from '../../../
|
|
5
|
+
import { useTheme } from '../../../hooks/useTheme';
|
|
6
6
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
7
|
-
import { ReferenceLine } from '../line';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
7
|
+
import { ReferenceLine } from '../line/ReferenceLine';
|
|
8
|
+
import { useScrubberContext } from '../utils/context';
|
|
9
|
+
import { getPointOnSerializableScale } from '../utils/point';
|
|
10
|
+
import { buildTransition, defaultAccessoryEnterTransition, getTransition } from '../utils/transition';
|
|
10
11
|
import { DefaultScrubberBeacon } from './DefaultScrubberBeacon';
|
|
11
12
|
import { DefaultScrubberLabel } from './DefaultScrubberLabel';
|
|
12
13
|
import { ScrubberBeaconGroup } from './ScrubberBeaconGroup';
|
|
@@ -2,7 +2,7 @@ import React, { memo, useCallback, useMemo } from 'react';
|
|
|
2
2
|
import { Pressable, StyleSheet, View } from 'react-native';
|
|
3
3
|
import { useScreenReaderStatus } from '../../../hooks/useScreenReaderStatus';
|
|
4
4
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
5
|
-
import { useScrubberContext } from '../utils';
|
|
5
|
+
import { useScrubberContext } from '../utils/context';
|
|
6
6
|
import { getPointOnSerializableScale } from '../utils/point';
|
|
7
7
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
8
8
|
const normalizeScrubberAccessibilityStep = function (step, defaultStep) {
|