@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/cards/UpsellCard.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import React, { isValidElement, memo } from 'react';
|
|
2
2
|
import { upsellCardDefaultWidth, upsellCardMinHeight } from '@coinbase/cds-common/tokens/card';
|
|
3
|
-
import { Button
|
|
4
|
-
import {
|
|
3
|
+
import { Button } from '../buttons/Button';
|
|
4
|
+
import { IconButton } from '../buttons/IconButton';
|
|
5
|
+
import { HStack } from '../layout/HStack';
|
|
6
|
+
import { VStack } from '../layout/VStack';
|
|
5
7
|
import { Pressable } from '../system/Pressable';
|
|
6
8
|
import { Text } from '../typography/Text';
|
|
7
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
package/esm/cells/ContentCell.js
CHANGED
|
@@ -4,7 +4,9 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
4
4
|
import React, { memo, useMemo } from 'react';
|
|
5
5
|
import { compactListHeight, listHeight } from '@coinbase/cds-common/tokens/cell';
|
|
6
6
|
import { isProduction } from '@coinbase/cds-utils';
|
|
7
|
-
import { Box
|
|
7
|
+
import { Box } from '../layout/Box';
|
|
8
|
+
import { HStack } from '../layout/HStack';
|
|
9
|
+
import { VStack } from '../layout/VStack';
|
|
8
10
|
import { Text } from '../typography/Text';
|
|
9
11
|
import { Cell } from './Cell';
|
|
10
12
|
import { CellAccessory } from './CellAccessory';
|
|
@@ -2,7 +2,8 @@ import React, { memo, useMemo } from 'react';
|
|
|
2
2
|
import { StyleSheet, Text } from 'react-native';
|
|
3
3
|
import { getRectWidthVariant } from '@coinbase/cds-common/utils/getRectWidthVariant';
|
|
4
4
|
import { useTheme } from '../hooks/useTheme';
|
|
5
|
-
import { Box
|
|
5
|
+
import { Box } from '../layout/Box';
|
|
6
|
+
import { Fallback } from '../layout/Fallback';
|
|
6
7
|
import { ContentCell } from './ContentCell';
|
|
7
8
|
import { condensedInnerSpacing, condensedOuterSpacing } from './ListCell';
|
|
8
9
|
import { MediaFallback } from './MediaFallback';
|
|
@@ -6,8 +6,8 @@ import { StyleSheet, Text } from 'react-native';
|
|
|
6
6
|
import { getRectWidthVariant } from '@coinbase/cds-common/utils/getRectWidthVariant';
|
|
7
7
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
8
8
|
import { useTheme } from '../hooks/useTheme';
|
|
9
|
-
import { VStack } from '../layout';
|
|
10
9
|
import { Fallback } from '../layout/Fallback';
|
|
10
|
+
import { VStack } from '../layout/VStack';
|
|
11
11
|
import { Cell } from './Cell';
|
|
12
12
|
import { CellAccessory } from './CellAccessory';
|
|
13
13
|
import { condensedInnerSpacing, condensedOuterSpacing } from './ListCell';
|
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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const _excluded = ["subjectLayout", "content", "placement", "opacity", "animateIn", "translateY", "gap", "yShiftByStatusBarHeight", "testID", "onAccessibilityEscape", "onAccessibilityTap", "elevation"];
|
|
1
|
+
const _excluded = ["subjectLayout", "content", "placement", "opacity", "animateIn", "translateY", "gap", "yShiftByStatusBarHeight", "testID", "onAccessibilityEscape", "onAccessibilityTap", "elevation", "background", "borderRadius", "maxWidth", "paddingX", "paddingY", "color", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight"];
|
|
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, { memo, useEffect, useMemo, useRef } from 'react';
|
|
@@ -23,7 +23,18 @@ export const InternalTooltip = /*#__PURE__*/memo(function InternalTooltip(_ref)
|
|
|
23
23
|
testID,
|
|
24
24
|
onAccessibilityEscape,
|
|
25
25
|
onAccessibilityTap,
|
|
26
|
-
elevation
|
|
26
|
+
elevation,
|
|
27
|
+
background = 'bg',
|
|
28
|
+
borderRadius = 200,
|
|
29
|
+
maxWidth = tooltipMaxWidth,
|
|
30
|
+
paddingX = tooltipPaddingX,
|
|
31
|
+
paddingY = tooltipPaddingY,
|
|
32
|
+
color = 'fg',
|
|
33
|
+
font = 'label2',
|
|
34
|
+
fontFamily,
|
|
35
|
+
fontSize,
|
|
36
|
+
fontWeight,
|
|
37
|
+
lineHeight
|
|
27
38
|
} = _ref,
|
|
28
39
|
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
29
40
|
const theme = useTheme();
|
|
@@ -61,13 +72,13 @@ export const InternalTooltip = /*#__PURE__*/memo(function InternalTooltip(_ref)
|
|
|
61
72
|
style: outerTooltipStyles,
|
|
62
73
|
children: /*#__PURE__*/_jsx(Box, _extends({
|
|
63
74
|
animated: true,
|
|
64
|
-
background:
|
|
65
|
-
borderRadius:
|
|
75
|
+
background: background,
|
|
76
|
+
borderRadius: borderRadius,
|
|
66
77
|
elevation: elevation,
|
|
67
|
-
maxWidth:
|
|
78
|
+
maxWidth: maxWidth,
|
|
68
79
|
opacity: opacity,
|
|
69
|
-
paddingX:
|
|
70
|
-
paddingY:
|
|
80
|
+
paddingX: paddingX,
|
|
81
|
+
paddingY: paddingY,
|
|
71
82
|
style: {
|
|
72
83
|
transform: [{
|
|
73
84
|
translateY
|
|
@@ -76,8 +87,12 @@ export const InternalTooltip = /*#__PURE__*/memo(function InternalTooltip(_ref)
|
|
|
76
87
|
testID: testID
|
|
77
88
|
}, props, {
|
|
78
89
|
children: typeof content === 'string' ? /*#__PURE__*/_jsx(Text, {
|
|
79
|
-
color:
|
|
80
|
-
font:
|
|
90
|
+
color: color,
|
|
91
|
+
font: font,
|
|
92
|
+
fontFamily: fontFamily,
|
|
93
|
+
fontSize: fontSize,
|
|
94
|
+
fontWeight: fontWeight,
|
|
95
|
+
lineHeight: lineHeight,
|
|
81
96
|
children: content
|
|
82
97
|
}) : content
|
|
83
98
|
}))
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
const _excluded = ["children", "content", "placement", "onCloseTooltip", "onOpenTooltip", "gap", "yShiftByStatusBarHeight", "testID", "accessibilityLabel", "accessibilityHint", "accessibilityLabelForContent", "accessibilityHintForContent", "accessibilityState", "visible", "invertColorScheme", "elevation", "openDelay", "closeDelay", "background", "borderRadius", "maxWidth", "paddingX", "paddingY", "color", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight"];
|
|
1
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
|
+
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; }
|
|
2
4
|
import React, { Fragment, memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
3
5
|
import { Modal as RNModal, TouchableOpacity, View } from 'react-native';
|
|
6
|
+
import { tooltipMaxWidth, tooltipPaddingX, tooltipPaddingY } from '@coinbase/cds-common/tokens/tooltip';
|
|
4
7
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
5
8
|
import { InvertedThemeProvider } from '../../system/ThemeProvider';
|
|
6
9
|
import { InternalTooltip } from './InternalTooltip';
|
|
@@ -9,25 +12,37 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
9
12
|
export const Tooltip = /*#__PURE__*/memo(_props => {
|
|
10
13
|
const mergedProps = useComponentConfig('Tooltip', _props);
|
|
11
14
|
const {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
15
|
+
children,
|
|
16
|
+
content,
|
|
17
|
+
placement = 'top',
|
|
18
|
+
onCloseTooltip,
|
|
19
|
+
onOpenTooltip,
|
|
20
|
+
gap = 1,
|
|
21
|
+
yShiftByStatusBarHeight,
|
|
22
|
+
testID,
|
|
23
|
+
accessibilityLabel,
|
|
24
|
+
accessibilityHint,
|
|
25
|
+
accessibilityLabelForContent,
|
|
26
|
+
accessibilityHintForContent,
|
|
27
|
+
accessibilityState,
|
|
28
|
+
visible,
|
|
29
|
+
invertColorScheme = true,
|
|
30
|
+
elevation,
|
|
31
|
+
openDelay,
|
|
32
|
+
closeDelay,
|
|
33
|
+
background = 'bg',
|
|
34
|
+
borderRadius = 200,
|
|
35
|
+
maxWidth = tooltipMaxWidth,
|
|
36
|
+
paddingX = tooltipPaddingX,
|
|
37
|
+
paddingY = tooltipPaddingY,
|
|
38
|
+
color = 'fg',
|
|
39
|
+
font = 'label2',
|
|
40
|
+
fontFamily,
|
|
41
|
+
fontSize,
|
|
42
|
+
fontWeight,
|
|
43
|
+
lineHeight
|
|
44
|
+
} = mergedProps,
|
|
45
|
+
props = _objectWithoutPropertiesLoose(mergedProps, _excluded);
|
|
31
46
|
const subjectRef = useRef(null);
|
|
32
47
|
const [isOpen, setIsOpen] = useState(false);
|
|
33
48
|
const isVisible = visible !== false && isOpen;
|
|
@@ -138,16 +153,27 @@ export const Tooltip = /*#__PURE__*/memo(_props => {
|
|
|
138
153
|
}), /*#__PURE__*/_jsx(WrapperComponent, {
|
|
139
154
|
children: /*#__PURE__*/_jsx(InternalTooltip, _extends({
|
|
140
155
|
animateIn: animateIn,
|
|
156
|
+
background: background,
|
|
157
|
+
borderRadius: borderRadius,
|
|
158
|
+
color: color,
|
|
141
159
|
content: content,
|
|
142
160
|
elevation: elevation,
|
|
161
|
+
font: font,
|
|
162
|
+
fontFamily: fontFamily,
|
|
163
|
+
fontSize: fontSize,
|
|
164
|
+
fontWeight: fontWeight,
|
|
143
165
|
gap: gap,
|
|
166
|
+
lineHeight: lineHeight,
|
|
167
|
+
maxWidth: maxWidth,
|
|
144
168
|
opacity: opacity,
|
|
169
|
+
paddingX: paddingX,
|
|
170
|
+
paddingY: paddingY,
|
|
145
171
|
placement: placement,
|
|
146
172
|
subjectLayout: subjectLayout,
|
|
147
173
|
testID: testID,
|
|
148
174
|
translateY: translateY,
|
|
149
175
|
yShiftByStatusBarHeight: yShiftByStatusBarHeight
|
|
150
|
-
}, accessibilityPropsForContent))
|
|
176
|
+
}, props, accessibilityPropsForContent))
|
|
151
177
|
})]
|
|
152
178
|
})]
|
|
153
179
|
});
|
|
@@ -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 {
|
|
@@ -19,6 +19,7 @@ import { SelectChipExample } from './examples/SelectChip';
|
|
|
19
19
|
import { TabsExample } from './examples/Tabs';
|
|
20
20
|
import { TagExample } from './examples/Tag';
|
|
21
21
|
import { TextInputExample } from './examples/TextInput';
|
|
22
|
+
import { TooltipExample } from './examples/Tooltip';
|
|
22
23
|
import { Container } from './Container';
|
|
23
24
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
25
|
export const StickerSheet = /*#__PURE__*/memo(() => {
|
|
@@ -91,6 +92,9 @@ export const StickerSheet = /*#__PURE__*/memo(() => {
|
|
|
91
92
|
}), /*#__PURE__*/_jsx(Container, {
|
|
92
93
|
title: "Coachmark",
|
|
93
94
|
children: /*#__PURE__*/_jsx(CoachmarkExample, {})
|
|
95
|
+
}), /*#__PURE__*/_jsx(Container, {
|
|
96
|
+
title: "Tooltip",
|
|
97
|
+
children: /*#__PURE__*/_jsx(TooltipExample, {})
|
|
94
98
|
})]
|
|
95
99
|
})]
|
|
96
100
|
})
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React, { memo } from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Button } from '../../../../buttons/Button';
|
|
4
|
+
import { Tooltip } from '../../../../overlays/tooltip/Tooltip';
|
|
5
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
+
export const TooltipExample = /*#__PURE__*/memo(() => {
|
|
7
|
+
return /*#__PURE__*/_jsx(Tooltip, {
|
|
8
|
+
accessibilityHint: "Additional information about this action",
|
|
9
|
+
accessibilityLabel: "Show tooltip",
|
|
10
|
+
content: "Additional information about this action",
|
|
11
|
+
children: /*#__PURE__*/_jsx(View, {
|
|
12
|
+
accessibilityElementsHidden: true,
|
|
13
|
+
pointerEvents: "none",
|
|
14
|
+
children: /*#__PURE__*/_jsx(Button, {
|
|
15
|
+
variant: "secondary",
|
|
16
|
+
children: "Show Tooltip"
|
|
17
|
+
})
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
});
|