@coinbase/cds-mobile 9.3.0 → 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 +6 -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/TooltipProps.d.ts +4 -6
- 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/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/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/chips/Chip.js
CHANGED
|
@@ -4,8 +4,10 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
4
4
|
import React, { forwardRef, Fragment, memo } from 'react';
|
|
5
5
|
import { chipMaxWidth } from '@coinbase/cds-common/tokens/chip';
|
|
6
6
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
7
|
-
import { Box
|
|
8
|
-
import {
|
|
7
|
+
import { Box } from '../layout/Box';
|
|
8
|
+
import { HStack } from '../layout/HStack';
|
|
9
|
+
import { Pressable } from '../system/Pressable';
|
|
10
|
+
import { InvertedThemeProvider } from '../system/ThemeProvider';
|
|
9
11
|
import { Text } from '../typography/Text';
|
|
10
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
11
13
|
/**
|
package/esm/chips/InputChip.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 { useComponentConfig } from '../hooks/useComponentConfig';
|
|
6
|
-
import { Icon } from '../icons';
|
|
6
|
+
import { Icon } from '../icons/Icon';
|
|
7
7
|
import { MediaChip } from './MediaChip';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
export const InputChip = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) => {
|
package/esm/chips/SelectChip.js
CHANGED
|
@@ -8,8 +8,8 @@ import { useRotateAnimation } from '../animation/useRotateAnimation';
|
|
|
8
8
|
import { SelectProvider } from '../controls/SelectContext';
|
|
9
9
|
import { useSelect } from '../controls/useSelect';
|
|
10
10
|
import { useA11y } from '../hooks/useA11y';
|
|
11
|
-
import { Icon } from '../icons';
|
|
12
|
-
import { Tray } from '../overlays';
|
|
11
|
+
import { Icon } from '../icons/Icon';
|
|
12
|
+
import { Tray } from '../overlays/tray/Tray';
|
|
13
13
|
import { MediaChip } from './MediaChip';
|
|
14
14
|
|
|
15
15
|
/**
|
package/esm/chips/TabbedChips.js
CHANGED
|
@@ -7,8 +7,9 @@ import { ScrollView } from 'react-native';
|
|
|
7
7
|
import { useTabsContext } from '@coinbase/cds-common/tabs/TabsContext';
|
|
8
8
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
9
9
|
import { useHorizontalScrollToTarget } from '../hooks/useHorizontalScrollToTarget';
|
|
10
|
-
import { Box
|
|
11
|
-
import {
|
|
10
|
+
import { Box } from '../layout/Box';
|
|
11
|
+
import { OverflowGradient } from '../layout/OverflowGradient';
|
|
12
|
+
import { Tabs } from '../tabs/Tabs';
|
|
12
13
|
import { MediaChip } from './MediaChip';
|
|
13
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
14
15
|
const TabComponent = _ref => {
|
|
@@ -3,11 +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, { forwardRef, memo } from 'react';
|
|
5
5
|
import { useWindowDimensions } from 'react-native';
|
|
6
|
-
import { IconButton } from '../buttons';
|
|
6
|
+
import { IconButton } from '../buttons/IconButton';
|
|
7
7
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
8
8
|
import { useTheme } from '../hooks/useTheme';
|
|
9
|
-
import { Box
|
|
10
|
-
import {
|
|
9
|
+
import { Box } from '../layout/Box';
|
|
10
|
+
import { HStack } from '../layout/HStack';
|
|
11
|
+
import { VStack } from '../layout/VStack';
|
|
12
|
+
import { InvertedThemeProvider } from '../system/ThemeProvider';
|
|
11
13
|
import { Text } from '../typography/Text';
|
|
12
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
15
|
export const Coachmark = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) => {
|
|
@@ -7,7 +7,9 @@ import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
|
7
7
|
import { useLayout } from '../hooks/useLayout';
|
|
8
8
|
import { useSelectionCellBorderStyle } from '../hooks/useSelectionCellBorderStyle';
|
|
9
9
|
import { useTheme } from '../hooks/useTheme';
|
|
10
|
-
import { Box
|
|
10
|
+
import { Box } from '../layout/Box';
|
|
11
|
+
import { HStack } from '../layout/HStack';
|
|
12
|
+
import { VStack } from '../layout/VStack';
|
|
11
13
|
import { Pressable } from '../system/Pressable';
|
|
12
14
|
import { Text } from '../typography/Text';
|
|
13
15
|
import { Checkbox } from './Checkbox';
|
|
@@ -4,7 +4,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
4
4
|
import React, { forwardRef, memo } from 'react';
|
|
5
5
|
import { isDevelopment } from '@coinbase/cds-utils';
|
|
6
6
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
7
|
-
import { Group } from '../layout';
|
|
7
|
+
import { Group } from '../layout/Group';
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
9
|
const ControlGroupWithRef = /*#__PURE__*/forwardRef(function ControlGroup(_props, ref) {
|
|
10
10
|
const mergedProps = useComponentConfig('ControlGroup', _props);
|
package/esm/controls/Radio.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Animated, StyleSheet } from 'react-native';
|
|
|
6
6
|
import { Circle, Svg } from 'react-native-svg';
|
|
7
7
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
8
8
|
import { useTheme } from '../hooks/useTheme';
|
|
9
|
-
import { Box } from '../layout';
|
|
9
|
+
import { Box } from '../layout/Box';
|
|
10
10
|
import { Interactable } from '../system/Interactable';
|
|
11
11
|
import { Control } from './Control';
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -7,7 +7,9 @@ import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
|
7
7
|
import { useLayout } from '../hooks/useLayout';
|
|
8
8
|
import { useSelectionCellBorderStyle } from '../hooks/useSelectionCellBorderStyle';
|
|
9
9
|
import { useTheme } from '../hooks/useTheme';
|
|
10
|
-
import { Box
|
|
10
|
+
import { Box } from '../layout/Box';
|
|
11
|
+
import { HStack } from '../layout/HStack';
|
|
12
|
+
import { VStack } from '../layout/VStack';
|
|
11
13
|
import { Pressable } from '../system/Pressable';
|
|
12
14
|
import { Text } from '../typography/Text';
|
|
13
15
|
import { Radio } from './Radio';
|
package/esm/dates/DatePicker.js
CHANGED
|
@@ -5,7 +5,8 @@ import { forwardRef, memo, useCallback, useMemo, useRef, useState } from 'react'
|
|
|
5
5
|
import { Button } from '../buttons/Button';
|
|
6
6
|
import { InputIconButton } from '../controls/InputIconButton';
|
|
7
7
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
8
|
-
import { Box
|
|
8
|
+
import { Box } from '../layout/Box';
|
|
9
|
+
import { VStack } from '../layout/VStack';
|
|
9
10
|
import { Tray } from '../overlays/tray/Tray';
|
|
10
11
|
import { StickyFooter } from '../sticky-footer/StickyFooter';
|
|
11
12
|
import { Calendar } from './Calendar';
|
|
@@ -6,7 +6,7 @@ import { Animated } from 'react-native';
|
|
|
6
6
|
import { usePreviousValue } from '@coinbase/cds-common/hooks/usePreviousValue';
|
|
7
7
|
import { animateRotateConfig } from '@coinbase/cds-common/motion/animatedCaret';
|
|
8
8
|
import { convertMotionConfig } from '../animation/convertMotionConfig';
|
|
9
|
-
import { Icon } from '../icons';
|
|
9
|
+
import { Icon } from '../icons/Icon';
|
|
10
10
|
import { HStack } from '../layout/HStack';
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
export const useAnimatedCaretAnimation = () => {
|
package/esm/motion/ColorSurge.js
CHANGED
|
@@ -2,7 +2,7 @@ import React, { forwardRef, memo, useCallback, useEffect, useImperativeHandle, u
|
|
|
2
2
|
import { Animated } from 'react-native';
|
|
3
3
|
import { colorSurgeEnterConfig, colorSurgeExitConfig } from '@coinbase/cds-common/motion/hint';
|
|
4
4
|
import { convertMotionConfig } from '../animation/convertMotionConfig';
|
|
5
|
-
import { Box } from '../layout';
|
|
5
|
+
import { Box } from '../layout/Box';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
/**
|
|
8
8
|
* Please consult with the motion team in #ask-motion before using this component.
|
|
@@ -2,9 +2,10 @@ const _excluded = ["pictogram", "title", "description", "children", "action", "o
|
|
|
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 React, { forwardRef, isValidElement, memo } from 'react';
|
|
5
|
-
import { Button } from '../buttons';
|
|
6
|
-
import { Pictogram } from '../illustrations';
|
|
7
|
-
import { Box
|
|
5
|
+
import { Button } from '../buttons/Button';
|
|
6
|
+
import { Pictogram } from '../illustrations/Pictogram';
|
|
7
|
+
import { Box } from '../layout/Box';
|
|
8
|
+
import { VStack } from '../layout/VStack';
|
|
8
9
|
import { Text } from '../typography/Text';
|
|
9
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
11
|
export const MultiContentModule = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function MultiContentModule(_ref, ref) {
|
|
@@ -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, { createContext, memo, useContext, useEffect, useState } from 'react';
|
|
5
5
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
6
|
-
import { HStack } from '../layout';
|
|
6
|
+
import { HStack } from '../layout/HStack';
|
|
7
7
|
import { NavBarEnd, NavBarStart } from './TopNavBar';
|
|
8
8
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
9
|
export const BrowserBarContext = /*#__PURE__*/createContext({
|
|
@@ -2,7 +2,7 @@ const _excluded = ["name", "color", "height", "width", "size", "borderWidth", "b
|
|
|
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, useContext, useEffect } from 'react';
|
|
5
|
-
import { Icon } from '../icons';
|
|
5
|
+
import { Icon } from '../icons/Icon';
|
|
6
6
|
import { Pressable } from '../system/Pressable';
|
|
7
7
|
import { BrowserBarContext } from './BrowserBar';
|
|
8
8
|
import { TopNavBarContext } from './TopNavBar';
|
|
@@ -6,10 +6,10 @@ import { selectCellMobileSpacingConfig } from '@coinbase/cds-common/tokens/selec
|
|
|
6
6
|
import { Cell } from '../cells/Cell';
|
|
7
7
|
import { CellAccessory } from '../cells/CellAccessory';
|
|
8
8
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
9
|
-
import { Icon } from '../icons';
|
|
9
|
+
import { Icon } from '../icons/Icon';
|
|
10
10
|
import { HStack } from '../layout/HStack';
|
|
11
|
-
import { Tray } from '../overlays';
|
|
12
|
-
import { Pressable } from '../system';
|
|
11
|
+
import { Tray } from '../overlays/tray/Tray';
|
|
12
|
+
import { Pressable } from '../system/Pressable';
|
|
13
13
|
import { Text } from '../typography/Text';
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
15
15
|
export const NavigationTitleSelect = /*#__PURE__*/memo(_props => {
|
|
@@ -7,7 +7,8 @@ import { usePreviousValue } from '@coinbase/cds-common/hooks/usePreviousValue';
|
|
|
7
7
|
import { zIndex } from '@coinbase/cds-common/tokens/zIndex';
|
|
8
8
|
import { Collapsible } from '../collapsible/Collapsible';
|
|
9
9
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
10
|
-
import { HStack
|
|
10
|
+
import { HStack } from '../layout/HStack';
|
|
11
|
+
import { VStack } from '../layout/VStack';
|
|
11
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
13
|
export const TopNavBarContext = /*#__PURE__*/React.createContext({
|
|
13
14
|
isWithinTopNavBar: false
|
|
@@ -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 { forwardRef, memo, useCallback, useMemo, useState } from 'react';
|
|
5
5
|
import Animated from 'react-native-reanimated';
|
|
6
|
-
import { HStack } from '../../layout';
|
|
6
|
+
import { HStack } from '../../layout/HStack';
|
|
7
7
|
import { Text } from '../../typography/Text';
|
|
8
8
|
import { DefaultRollingNumberDigit } from './DefaultRollingNumberDigit';
|
|
9
9
|
import { DefaultRollingNumberMask } from './DefaultRollingNumberMask';
|
package/esm/numpad/Numpad.js
CHANGED
|
@@ -5,8 +5,9 @@ import React, { forwardRef, memo, useCallback, useMemo } from 'react';
|
|
|
5
5
|
import { StyleSheet, View } from 'react-native';
|
|
6
6
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
7
7
|
import { useTheme } from '../hooks/useTheme';
|
|
8
|
-
import { Icon } from '../icons';
|
|
9
|
-
import { HStack
|
|
8
|
+
import { Icon } from '../icons/Icon';
|
|
9
|
+
import { HStack } from '../layout/HStack';
|
|
10
|
+
import { VStack } from '../layout/VStack';
|
|
10
11
|
import { Pressable } from '../system/Pressable';
|
|
11
12
|
import { Text } from '../typography/Text';
|
|
12
13
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
package/esm/overlays/Alert.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef, memo, useCallback, useEffect, useImperativeHandle, useMemo } from 'react';
|
|
2
2
|
import { Modal as RNModal } from 'react-native';
|
|
3
|
-
import { Button } from '../buttons';
|
|
3
|
+
import { Button } from '../buttons/Button';
|
|
4
4
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
5
|
-
import { Pictogram } from '../illustrations';
|
|
6
|
-
import { Box } from '../layout';
|
|
5
|
+
import { Pictogram } from '../illustrations/Pictogram';
|
|
6
|
+
import { Box } from '../layout/Box';
|
|
7
7
|
import { Text } from '../typography/Text';
|
|
8
8
|
import { Overlay } from './overlay/Overlay';
|
|
9
9
|
import { useAlertAnimation } from './useAlertAnimation';
|
package/esm/overlays/Toast.js
CHANGED
|
@@ -4,10 +4,11 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
4
4
|
import React, { forwardRef, memo, useCallback, useEffect, useImperativeHandle } from 'react';
|
|
5
5
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
6
6
|
import { zIndex } from '@coinbase/cds-common/tokens/zIndex';
|
|
7
|
-
import { Button } from '../buttons';
|
|
7
|
+
import { Button } from '../buttons/Button';
|
|
8
8
|
import { useA11y } from '../hooks/useA11y';
|
|
9
9
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
10
|
-
import { Box
|
|
10
|
+
import { Box } from '../layout/Box';
|
|
11
|
+
import { HStack } from '../layout/HStack';
|
|
11
12
|
import { ColorSurge } from '../motion/ColorSurge';
|
|
12
13
|
import { Text } from '../typography/Text';
|
|
13
14
|
import { useToastAnimation } from './useToastAnimation';
|
|
@@ -8,7 +8,7 @@ import { usePreviousValue } from '@coinbase/cds-common/hooks/usePreviousValue';
|
|
|
8
8
|
import { ModalContext } from '@coinbase/cds-common/overlays/ModalContext';
|
|
9
9
|
import { OverlayContentContext } from '@coinbase/cds-common/overlays/OverlayContentContext';
|
|
10
10
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
11
|
-
import { VStack } from '../../layout';
|
|
11
|
+
import { VStack } from '../../layout/VStack';
|
|
12
12
|
import { useModalAnimation } from './useModalAnimation';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
const overlayContentContextValue = {
|
|
@@ -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 from 'react';
|
|
5
5
|
import { useModalContext } from '@coinbase/cds-common/overlays/ModalContext';
|
|
6
|
-
import { IconButton } from '../../buttons';
|
|
6
|
+
import { IconButton } from '../../buttons/IconButton';
|
|
7
7
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
8
8
|
import { Box } from '../../layout/Box';
|
|
9
9
|
import { HStack } from '../../layout/HStack';
|
|
@@ -7,7 +7,8 @@ import { useWindowDimensions } from 'react-native';
|
|
|
7
7
|
import { MAX_OVER_DRAG } from '@coinbase/cds-common/animation/drawer';
|
|
8
8
|
import { verticalDrawerPercentageOfView as defaultVerticalDrawerPercentageOfView } from '@coinbase/cds-common/tokens/drawer';
|
|
9
9
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
10
|
-
import { Box
|
|
10
|
+
import { Box } from '../../layout/Box';
|
|
11
|
+
import { VStack } from '../../layout/VStack';
|
|
11
12
|
import { Text } from '../../typography/Text';
|
|
12
13
|
import { Drawer } from '../drawer/Drawer';
|
|
13
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -2,8 +2,9 @@ const _excluded = ["title", "start", "icon", "iconActive", "testID", "balance",
|
|
|
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 React, { forwardRef, memo } from 'react';
|
|
5
|
-
import { Icon } from '../icons';
|
|
6
|
-
import { HStack
|
|
5
|
+
import { Icon } from '../icons/Icon';
|
|
6
|
+
import { HStack } from '../layout/HStack';
|
|
7
|
+
import { VStack } from '../layout/VStack';
|
|
7
8
|
import { Text } from '../typography/Text';
|
|
8
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
9
10
|
export const SectionHeader = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function SectionHeader(_ref, ref) {
|
|
@@ -3,7 +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, useMemo } from 'react';
|
|
5
5
|
import { containsStep, isStepVisited } from '@coinbase/cds-common/stepper/utils';
|
|
6
|
-
import { HStack
|
|
6
|
+
import { HStack } from '../layout/HStack';
|
|
7
|
+
import { VStack } from '../layout/VStack';
|
|
7
8
|
import { DefaultStepperProgressHorizontal } from './DefaultStepperProgressHorizontal';
|
|
8
9
|
import { DefaultStepperSubstepContainerHorizontal } from './DefaultStepperSubstepContainerHorizontal';
|
|
9
10
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -4,7 +4,8 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
4
4
|
import { memo, useMemo } from 'react';
|
|
5
5
|
import { containsStep, isStepVisited } from '@coinbase/cds-common/stepper/utils';
|
|
6
6
|
import { useTheme } from '../hooks/useTheme';
|
|
7
|
-
import { HStack
|
|
7
|
+
import { HStack } from '../layout/HStack';
|
|
8
|
+
import { VStack } from '../layout/VStack';
|
|
8
9
|
import { DefaultStepperIconVertical } from './DefaultStepperIconVertical';
|
|
9
10
|
import { DefaultStepperLabelVertical } from './DefaultStepperLabelVertical';
|
|
10
11
|
import { DefaultStepperProgressVertical } from './DefaultStepperProgressVertical';
|
|
@@ -2,7 +2,7 @@ const _excluded = ["step", "parentStep", "activeStepId", "depth", "active", "vis
|
|
|
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 { HStack } from '../layout';
|
|
5
|
+
import { HStack } from '../layout/HStack';
|
|
6
6
|
import { horizontalStepGap } from './Stepper';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
export const DefaultStepperSubstepContainerHorizontal = /*#__PURE__*/memo(_ref => {
|
|
@@ -2,7 +2,7 @@ const _excluded = ["step", "parentStep", "activeStepId", "depth", "active", "vis
|
|
|
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 { VStack } from '../layout';
|
|
5
|
+
import { VStack } from '../layout/VStack';
|
|
6
6
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
7
7
|
export const DefaultStepperSubstepContainerVertical = /*#__PURE__*/memo(_ref => {
|
|
8
8
|
let {
|
|
@@ -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 { View } from 'react-native';
|
|
6
|
-
import { Box } from '../layout';
|
|
6
|
+
import { Box } from '../layout/Box';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
8
|
export const StickyFooter = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, forwardedRef) => {
|
|
9
9
|
let {
|
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';
|