@coinbase/cds-web 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 +2 -2
- package/dts/accordion/AccordionHeader.d.ts.map +1 -1
- package/dts/accordion/AccordionPanel.d.ts +2 -2
- package/dts/accordion/AccordionPanel.d.ts.map +1 -1
- package/dts/alpha/combobox/Combobox.d.ts +1 -1
- package/dts/alpha/combobox/Combobox.d.ts.map +1 -1
- package/dts/alpha/data-card/DataCardLayout.d.ts.map +1 -1
- package/dts/alpha/select/types.d.ts +2 -2
- package/dts/alpha/select/types.d.ts.map +1 -1
- package/dts/alpha/select-chip/SelectChip.d.ts +1 -1
- package/dts/alpha/select-chip/SelectChip.d.ts.map +1 -1
- package/dts/alpha/select-chip/SelectChipControl.d.ts +1 -1
- package/dts/alpha/select-chip/SelectChipControl.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/types.d.ts +1 -1
- package/dts/animation/types.d.ts.map +1 -1
- package/dts/animation/useLottieLoader.d.ts +1 -1
- package/dts/animation/useLottieLoader.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 +2 -2
- 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 +3 -1
- package/dts/buttons/IconButton.d.ts.map +1 -1
- package/dts/buttons/IconCounterButton.d.ts +1 -1
- package/dts/buttons/IconCounterButton.d.ts.map +1 -1
- package/dts/buttons/TileButton.d.ts +1 -1
- package/dts/buttons/TileButton.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 +1 -1
- 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 +1 -1
- 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/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/MessagingCard/MessagingCardLayout.d.ts.map +1 -1
- package/dts/cards/NudgeCard.d.ts.map +1 -1
- package/dts/cards/UpsellCard.d.ts +5 -7
- 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 +1 -1
- package/dts/carousel/CarouselContext.d.ts.map +1 -1
- package/dts/carousel/DefaultCarouselPagination.d.ts +1 -1
- package/dts/carousel/DefaultCarouselPagination.d.ts.map +1 -1
- package/dts/cells/Cell.d.ts +1 -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 +3 -1
- package/dts/cells/CellMedia.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 +2 -1
- package/dts/chips/ChipProps.d.ts.map +1 -1
- package/dts/chips/SelectChip.d.ts +1 -1
- package/dts/chips/SelectChip.d.ts.map +1 -1
- package/dts/chips/TabbedChips.d.ts +2 -2
- 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/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/ControlGroup.d.ts +2 -2
- package/dts/controls/ControlGroup.d.ts.map +1 -1
- package/dts/controls/InputIconButton.d.ts +2 -1
- package/dts/controls/InputIconButton.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/RadioCell.d.ts +1 -1
- package/dts/controls/RadioCell.d.ts.map +1 -1
- package/dts/controls/RadioGroup.d.ts +4 -2
- package/dts/controls/RadioGroup.d.ts.map +1 -1
- package/dts/controls/SearchInput.d.ts +1 -1
- package/dts/controls/SearchInput.d.ts.map +1 -1
- package/dts/controls/SegmentedControl.d.ts +4 -6
- package/dts/controls/SegmentedControl.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/SelectStack.d.ts +1 -1
- package/dts/controls/SelectStack.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/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/dropdown/DropdownProps.d.ts +2 -1
- package/dts/dropdown/DropdownProps.d.ts.map +1 -1
- package/dts/icons/Icon.d.ts +2 -1
- package/dts/icons/Icon.d.ts.map +1 -1
- package/dts/layout/Fallback.d.ts +1 -1
- package/dts/layout/Fallback.d.ts.map +1 -1
- package/dts/media/Avatar.d.ts +3 -2
- package/dts/media/Avatar.d.ts.map +1 -1
- package/dts/media/Hexagon.d.ts +1 -1
- package/dts/media/Hexagon.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 +1 -1
- 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/multi-content-module/MultiContentModule.d.ts +1 -1
- package/dts/multi-content-module/MultiContentModule.d.ts.map +1 -1
- package/dts/navigation/NavigationBar.d.ts +1 -1
- package/dts/navigation/NavigationBar.d.ts.map +1 -1
- package/dts/navigation/Sidebar.d.ts +1 -1
- package/dts/navigation/Sidebar.d.ts.map +1 -1
- package/dts/navigation/SidebarItem.d.ts +1 -1
- package/dts/navigation/SidebarItem.d.ts.map +1 -1
- package/dts/navigation/SidebarMoreMenu.d.ts +2 -2
- package/dts/navigation/SidebarMoreMenu.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/FullscreenAlert.d.ts +2 -1
- package/dts/overlays/FullscreenAlert.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/handlebar/HandleBar.d.ts +1 -1
- package/dts/overlays/handlebar/HandleBar.d.ts.map +1 -1
- package/dts/overlays/modal/FullscreenModalHeader.d.ts +1 -1
- package/dts/overlays/modal/FullscreenModalHeader.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/modal/ModalWrapper.d.ts.map +1 -1
- package/dts/overlays/overlay/OverlayContent.d.ts +1 -1
- package/dts/overlays/overlay/OverlayContent.d.ts.map +1 -1
- package/dts/overlays/popover/PopoverPanel.d.ts +2 -1
- package/dts/overlays/popover/PopoverPanel.d.ts.map +1 -1
- package/dts/overlays/tooltip/Tooltip.d.ts.map +1 -1
- package/dts/overlays/tooltip/TooltipContent.d.ts +2 -2
- package/dts/overlays/tooltip/TooltipContent.d.ts.map +1 -1
- package/dts/overlays/tooltip/TooltipProps.d.ts +5 -1
- package/dts/overlays/tooltip/TooltipProps.d.ts.map +1 -1
- package/dts/overlays/tray/Tray.d.ts +2 -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/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/tables/TableCaption.d.ts +2 -1
- package/dts/tables/TableCaption.d.ts.map +1 -1
- package/dts/tables/TableSection.d.ts +1 -1
- package/dts/tables/TableSection.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/Paddle.d.ts +2 -1
- package/dts/tabs/Paddle.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 +1 -1
- package/dts/tabs/TabNavigation.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 +2 -1
- package/dts/tour/Tour.d.ts.map +1 -1
- package/dts/utils/flattenAndJoinNodes.d.ts +1 -1
- package/dts/utils/flattenAndJoinNodes.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 +1 -1
- package/dts/visualizations/ProgressCircle.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/Path.d.ts +2 -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 +2 -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 +3 -3
- 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 +2 -2
- package/dts/visualizations/chart/bar/Bar.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/BarChart.d.ts +3 -2
- package/dts/visualizations/chart/bar/BarChart.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/BarPlot.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/DefaultBar.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/DefaultBarStack.d.ts.map +1 -1
- 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/DottedLine.d.ts +1 -1
- package/dts/visualizations/chart/line/DottedLine.d.ts.map +1 -1
- package/dts/visualizations/chart/line/Line.d.ts +4 -3
- 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 +2 -2
- package/dts/visualizations/chart/line/ReferenceLine.d.ts.map +1 -1
- package/dts/visualizations/chart/line/SolidLine.d.ts +1 -1
- package/dts/visualizations/chart/line/SolidLine.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 +2 -2
- 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 +7 -4
- package/dts/visualizations/chart/scrubber/Scrubber.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/ScrubberBeaconGroup.d.ts +1 -1
- package/dts/visualizations/chart/scrubber/ScrubberBeaconGroup.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/ScrubberBeaconLabelGroup.d.ts +2 -2
- 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 +4 -3
- 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 +2 -2
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractive.d.ts.map +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractivePeriodSelector.d.ts.map +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveScrubHandler.d.ts +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveScrubHandler.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/AccordionPanel.js +1 -1
- package/esm/alpha/combobox/DefaultComboboxControl.js +2 -2
- package/esm/alpha/data-card/DataCardLayout.js +4 -2
- package/esm/alpha/select/DefaultSelectDropdown.js +1 -1
- package/esm/alpha/select/DefaultSelectOptionGroup.js +1 -1
- package/esm/alpha/select-chip/SelectChipControl.js +1 -1
- package/esm/alpha/tabbed-chips/TabbedChips.js +3 -2
- package/esm/animation/LottieStatusAnimation.js +4 -0
- package/esm/banner/Banner.js +4 -2
- package/esm/buttons/AvatarButton.js +2 -2
- package/esm/buttons/Button.js +1 -1
- package/esm/buttons/ButtonGroup.js +1 -1
- 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/MediaCard/MediaCardLayout.js +1 -1
- package/esm/cards/MessagingCard/MessagingCardLayout.js +2 -1
- package/esm/cards/NudgeCard.js +1 -1
- package/esm/cards/UpsellCard.js +5 -3
- package/esm/carousel/Carousel.js +1 -1
- package/esm/cells/ListCellFallback.js +1 -1
- package/esm/chips/Chip.js +4 -2
- package/esm/chips/SelectChip.js +1 -1
- package/esm/chips/TabbedChips.js +3 -2
- package/esm/coachmark/Coachmark.js +4 -2
- package/esm/controls/Checkbox.js +1 -1
- package/esm/controls/CheckboxCell.js +3 -1
- package/esm/controls/ControlGroup.js +2 -2
- package/esm/controls/NativeInput.js +1 -1
- package/esm/controls/Radio.js +1 -1
- package/esm/controls/RadioCell.js +4 -2
- package/esm/controls/SelectTrigger.js +1 -1
- package/esm/dates/DatePicker.js +2 -1
- package/esm/multi-content-module/MultiContentModule.js +4 -3
- package/esm/navigation/NavigationBar.js +2 -1
- package/esm/navigation/NavigationTitleSelect.js +2 -2
- package/esm/navigation/Sidebar.js +2 -1
- package/esm/navigation/SidebarItem.js +3 -3
- package/esm/navigation/SidebarMoreMenu.js +1 -1
- package/esm/numbers/RollingNumber/DefaultRollingNumberDigit.js +1 -1
- package/esm/overlays/Alert.js +2 -2
- package/esm/overlays/FullscreenAlert.js +2 -2
- package/esm/overlays/handlebar/HandleBar.js +1 -1
- package/esm/overlays/modal/FullscreenModal.js +1 -1
- package/esm/overlays/modal/FullscreenModalHeader.js +3 -2
- package/esm/overlays/modal/Modal.js +1 -1
- package/esm/overlays/modal/ModalWrapper.js +1 -1
- package/esm/overlays/tooltip/Tooltip.js +55 -23
- package/esm/overlays/tooltip/TooltipContent.js +33 -18
- package/esm/overlays/tray/Tray.js +3 -2
- package/esm/section-header/SectionHeader.js +1 -1
- 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/tables/TableCellFallback.js +1 -1
- package/esm/tabs/DefaultTab.js +1 -1
- package/esm/tabs/TabLabel.js +2 -2
- package/esm/visualizations/ProgressBar.js +2 -1
- package/esm/visualizations/chart/CartesianChart.js +5 -4
- package/esm/visualizations/chart/PeriodSelector.js +5 -4
- 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 +5 -2
- package/esm/visualizations/chart/axis/YAxis.js +5 -2
- package/esm/visualizations/chart/bar/Bar.js +2 -2
- package/esm/visualizations/chart/bar/BarChart.js +4 -2
- package/esm/visualizations/chart/bar/BarPlot.js +2 -1
- package/esm/visualizations/chart/bar/DefaultBar.js +3 -1
- package/esm/visualizations/chart/bar/DefaultBarStack.js +3 -2
- package/esm/visualizations/chart/gradient/Gradient.js +1 -1
- package/esm/visualizations/chart/legend/DefaultLegendEntry.js +3 -3
- 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 +2 -2
- package/esm/visualizations/chart/line/DottedLine.js +1 -1
- package/esm/visualizations/chart/line/Line.js +4 -2
- package/esm/visualizations/chart/line/ReferenceLine.js +2 -2
- 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 +3 -2
- package/esm/visualizations/chart/scrubber/DefaultScrubberBeacon.js +2 -1
- package/esm/visualizations/chart/scrubber/DefaultScrubberBeaconLabel.js +1 -1
- package/esm/visualizations/chart/scrubber/DefaultScrubberLabel.js +1 -1
- package/esm/visualizations/chart/scrubber/Scrubber.js +4 -2
- package/esm/visualizations/chart/scrubber/ScrubberBeaconGroup.js +2 -1
- 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 +4 -4
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractive.js +6 -3
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractiveHoverDate.js +1 -1
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractiveHoverPrice.js +1 -1
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractiveLineVertical.js +1 -1
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractiveMarkerDates.js +1 -1
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractivePeriodSelector.js +2 -1
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractiveScrubHandler.js +1 -1
- package/esm/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.js +1 -1
- package/package.json +2 -2
package/esm/chips/TabbedChips.js
CHANGED
|
@@ -11,8 +11,9 @@ import React, { forwardRef, memo, useCallback, useEffect, useMemo, useRef, useSt
|
|
|
11
11
|
import { useTabsContext } from '@coinbase/cds-common/tabs/TabsContext';
|
|
12
12
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
13
13
|
import { useHorizontalScrollToTarget } from '../hooks/useHorizontalScrollToTarget';
|
|
14
|
-
import { HStack } from '../layout';
|
|
15
|
-
import { Paddle
|
|
14
|
+
import { HStack } from '../layout/HStack';
|
|
15
|
+
import { Paddle } from '../tabs/Paddle';
|
|
16
|
+
import { Tabs } from '../tabs/Tabs';
|
|
16
17
|
import { MediaChip } from './MediaChip';
|
|
17
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
19
|
const scrollContainerCss = "scrollContainerCss-s19l7spv";
|
|
@@ -9,8 +9,10 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import React, { forwardRef, memo } from 'react';
|
|
10
10
|
import { IconButton } from '../buttons/IconButton';
|
|
11
11
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
12
|
-
import { Box
|
|
13
|
-
import {
|
|
12
|
+
import { Box } from '../layout/Box';
|
|
13
|
+
import { HStack } from '../layout/HStack';
|
|
14
|
+
import { VStack } from '../layout/VStack';
|
|
15
|
+
import { InvertedThemeProvider } from '../system/ThemeProvider';
|
|
14
16
|
import { Text } from '../typography/Text';
|
|
15
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
18
|
export const Coachmark = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) => {
|
package/esm/controls/Checkbox.js
CHANGED
|
@@ -12,7 +12,7 @@ import { m as motion } from 'framer-motion';
|
|
|
12
12
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
13
13
|
import { useTheme } from '../hooks/useTheme';
|
|
14
14
|
import { Icon } from '../icons/Icon';
|
|
15
|
-
import { Box } from '../layout';
|
|
15
|
+
import { Box } from '../layout/Box';
|
|
16
16
|
import { useMotionProps } from '../motion/useMotionProps';
|
|
17
17
|
import { Control } from './Control';
|
|
18
18
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -9,7 +9,9 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import { forwardRef, memo, useId, useMemo } from 'react';
|
|
10
10
|
import { cx } from '../cx';
|
|
11
11
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
12
|
-
import { Box
|
|
12
|
+
import { Box } from '../layout/Box';
|
|
13
|
+
import { HStack } from '../layout/HStack';
|
|
14
|
+
import { VStack } from '../layout/VStack';
|
|
13
15
|
import { Pressable } from '../system/Pressable';
|
|
14
16
|
import { Text } from '../typography/Text';
|
|
15
17
|
import { Checkbox } from './Checkbox';
|
|
@@ -10,8 +10,8 @@ import React, { forwardRef, memo, useId } from 'react';
|
|
|
10
10
|
import { isDevelopment } from '@coinbase/cds-utils';
|
|
11
11
|
import { cx } from '../cx';
|
|
12
12
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
13
|
-
import { Box } from '../layout';
|
|
14
|
-
import { Text } from '../typography';
|
|
13
|
+
import { Box } from '../layout/Box';
|
|
14
|
+
import { Text } from '../typography/Text';
|
|
15
15
|
|
|
16
16
|
// Styles for container reset
|
|
17
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -9,7 +9,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import React, { forwardRef, memo, useMemo } from 'react';
|
|
10
10
|
import { cx } from '../cx';
|
|
11
11
|
import { useTheme } from '../hooks/useTheme';
|
|
12
|
-
import { Box } from '../layout';
|
|
12
|
+
import { Box } from '../layout/Box';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
const baseCss = "baseCss-bgba8xt";
|
|
15
15
|
const originalContainerPaddingCss = "originalContainerPaddingCss-o1mz6a5p";
|
package/esm/controls/Radio.js
CHANGED
|
@@ -11,7 +11,7 @@ import { checkboxOpacityEnterConfig, checkboxOpacityExitConfig, checkboxScaleEnt
|
|
|
11
11
|
import { m as motion } from 'framer-motion';
|
|
12
12
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
13
13
|
import { useTheme } from '../hooks/useTheme';
|
|
14
|
-
import { Box } from '../layout';
|
|
14
|
+
import { Box } from '../layout/Box';
|
|
15
15
|
import { useMotionProps } from '../motion/useMotionProps';
|
|
16
16
|
import { Control } from './Control';
|
|
17
17
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -9,8 +9,10 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import { forwardRef, memo, useId, useMemo } from 'react';
|
|
10
10
|
import { cx } from '../cx';
|
|
11
11
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
12
|
-
import { Box
|
|
13
|
-
import {
|
|
12
|
+
import { Box } from '../layout/Box';
|
|
13
|
+
import { HStack } from '../layout/HStack';
|
|
14
|
+
import { VStack } from '../layout/VStack';
|
|
15
|
+
import { Pressable } from '../system/Pressable';
|
|
14
16
|
import { Text } from '../typography/Text';
|
|
15
17
|
import { Radio } from './Radio';
|
|
16
18
|
import { useSelectionCellControlHeight } from './useSelectionCellControlHeight';
|
|
@@ -9,8 +9,8 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import React, { forwardRef, memo } from 'react';
|
|
10
10
|
import { useInputVariant } from '@coinbase/cds-common/hooks/useInputVariant';
|
|
11
11
|
import { usePrefixedId } from '@coinbase/cds-common/hooks/usePrefixedId';
|
|
12
|
-
import { VStack } from '../layout';
|
|
13
12
|
import { HStack } from '../layout/HStack';
|
|
13
|
+
import { VStack } from '../layout/VStack';
|
|
14
14
|
import { AnimatedCaret } from '../motion/AnimatedCaret';
|
|
15
15
|
import { Pressable } from '../system/Pressable';
|
|
16
16
|
import { Text } from '../typography/Text';
|
package/esm/dates/DatePicker.js
CHANGED
|
@@ -14,7 +14,8 @@ import { m as motion } from 'framer-motion';
|
|
|
14
14
|
import { InputIconButton } from '../controls/InputIconButton';
|
|
15
15
|
import { cx } from '../cx';
|
|
16
16
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
17
|
-
import { Box
|
|
17
|
+
import { Box } from '../layout/Box';
|
|
18
|
+
import { VStack } from '../layout/VStack';
|
|
18
19
|
import { getMotionProps } from '../motion/useMotionProps';
|
|
19
20
|
import { Popover } from '../overlays/popover/Popover';
|
|
20
21
|
import { Calendar } from './Calendar';
|
|
@@ -8,9 +8,10 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i
|
|
|
8
8
|
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; }
|
|
9
9
|
import React, { forwardRef, isValidElement, memo, useMemo } from 'react';
|
|
10
10
|
import { defaultMaxWidth } from '@coinbase/cds-common/tokens/multiContentModule';
|
|
11
|
-
import { Button } from '../buttons';
|
|
12
|
-
import { Pictogram } from '../illustrations';
|
|
13
|
-
import { Box
|
|
11
|
+
import { Button } from '../buttons/Button';
|
|
12
|
+
import { Pictogram } from '../illustrations/Pictogram';
|
|
13
|
+
import { Box } from '../layout/Box';
|
|
14
|
+
import { VStack } from '../layout/VStack';
|
|
14
15
|
import { Text } from '../typography/Text';
|
|
15
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
16
17
|
export const multiContentModuleDefaultElement = 'div';
|
|
@@ -12,7 +12,8 @@ import { zIndex } from '@coinbase/cds-common/tokens/zIndex';
|
|
|
12
12
|
import { Collapsible } from '../collapsible/Collapsible';
|
|
13
13
|
import { cx } from '../cx';
|
|
14
14
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
15
|
-
import { HStack
|
|
15
|
+
import { HStack } from '../layout/HStack';
|
|
16
|
+
import { VStack } from '../layout/VStack';
|
|
16
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
18
|
export const navigationBarDefaultElement = 'nav';
|
|
18
19
|
/**
|
|
@@ -12,8 +12,8 @@ import { Cell } from '../cells/Cell';
|
|
|
12
12
|
import { Dropdown } from '../dropdown/Dropdown';
|
|
13
13
|
import { useA11yControlledVisibility } from '../hooks/useA11yControlledVisibility';
|
|
14
14
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
15
|
-
import { Icon } from '../icons';
|
|
16
|
-
import { Pressable } from '../system';
|
|
15
|
+
import { Icon } from '../icons/Icon';
|
|
16
|
+
import { Pressable } from '../system/Pressable';
|
|
17
17
|
import { Text } from '../typography/Text';
|
|
18
18
|
import { navigationTitleDefaultElement } from './NavigationTitle';
|
|
19
19
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -11,7 +11,8 @@ import { zIndex } from '@coinbase/cds-common/tokens/zIndex';
|
|
|
11
11
|
import { cx } from '../cx';
|
|
12
12
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
13
13
|
import { useDimensions } from '../hooks/useDimensions';
|
|
14
|
-
import { Box
|
|
14
|
+
import { Box } from '../layout/Box';
|
|
15
|
+
import { VStack } from '../layout/VStack';
|
|
15
16
|
import { breakpoints } from '../styles/media';
|
|
16
17
|
import { SidebarProvider } from './SidebarContext';
|
|
17
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -9,11 +9,11 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import React, { forwardRef, memo, useMemo } from 'react';
|
|
10
10
|
import { cx } from '../cx';
|
|
11
11
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
12
|
-
import { Icon } from '../icons';
|
|
13
|
-
import { Box } from '../layout';
|
|
12
|
+
import { Icon } from '../icons/Icon';
|
|
13
|
+
import { Box } from '../layout/Box';
|
|
14
14
|
import { Tooltip } from '../overlays/tooltip/Tooltip';
|
|
15
15
|
import { Pressable } from '../system/Pressable';
|
|
16
|
-
import { Text } from '../typography';
|
|
16
|
+
import { Text } from '../typography/Text';
|
|
17
17
|
import { useSidebarContext } from './SidebarContext';
|
|
18
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
19
|
const pressableCss = "pressableCss-p1t38snu";
|
|
@@ -8,7 +8,7 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i
|
|
|
8
8
|
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; }
|
|
9
9
|
import React, { memo, useCallback, useMemo, useRef, useState } from 'react';
|
|
10
10
|
import { sidebarMenuMaxWidth, sidebarMenuMinWidth } from '@coinbase/cds-common/tokens/menu';
|
|
11
|
-
import { Dropdown } from '../dropdown';
|
|
11
|
+
import { Dropdown } from '../dropdown/Dropdown';
|
|
12
12
|
import { useA11yControlledVisibility } from '../hooks/useA11yControlledVisibility';
|
|
13
13
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
14
14
|
import { Tooltip } from '../overlays/tooltip/Tooltip';
|
|
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
7
7
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
8
|
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; }
|
|
9
9
|
import { forwardRef, memo, useCallback, useImperativeHandle, useLayoutEffect, useMemo, useRef } from 'react';
|
|
10
|
-
import { getWidthInEm } from '@coinbase/cds-common';
|
|
10
|
+
import { getWidthInEm } from '@coinbase/cds-common/utils/getWidthInEm';
|
|
11
11
|
import { animate, m } from 'framer-motion';
|
|
12
12
|
import { cx } from '../../cx';
|
|
13
13
|
import { Text } from '../../typography/Text';
|
package/esm/overlays/Alert.js
CHANGED
|
@@ -7,10 +7,10 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
7
7
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
8
|
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; }
|
|
9
9
|
import { forwardRef, memo, useCallback, useMemo } from 'react';
|
|
10
|
-
import { Button } from '../buttons';
|
|
10
|
+
import { Button } from '../buttons/Button';
|
|
11
11
|
import { useA11yLabels } from '../hooks/useA11yLabels';
|
|
12
12
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
13
|
-
import { Pictogram } from '../illustrations';
|
|
13
|
+
import { Pictogram } from '../illustrations/Pictogram';
|
|
14
14
|
import { Box } from '../layout/Box';
|
|
15
15
|
import { Text } from '../typography/Text';
|
|
16
16
|
import { Modal } from './modal/Modal';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { memo, useMemo } from 'react';
|
|
2
|
-
import { Button } from '../buttons';
|
|
2
|
+
import { Button } from '../buttons/Button';
|
|
3
3
|
import { useA11yLabels } from '../hooks/useA11yLabels';
|
|
4
4
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
5
|
-
import { HeroSquare } from '../illustrations';
|
|
5
|
+
import { HeroSquare } from '../illustrations/HeroSquare';
|
|
6
6
|
import { Box } from '../layout/Box';
|
|
7
7
|
import { VStack } from '../layout/VStack';
|
|
8
8
|
import { breakpoints } from '../styles/media';
|
|
@@ -9,7 +9,7 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import React, { memo, useMemo } from 'react';
|
|
10
10
|
import { handleBarHeight } from '@coinbase/cds-common/tokens/drawer';
|
|
11
11
|
import { cx } from '../../cx';
|
|
12
|
-
import { Box } from '../../layout';
|
|
12
|
+
import { Box } from '../../layout/Box';
|
|
13
13
|
import { Pressable } from '../../system/Pressable';
|
|
14
14
|
|
|
15
15
|
// Fixed pixel values used intentionally — handle size should not scale with theme density.
|
|
@@ -2,7 +2,7 @@ import React, { memo, useMemo } from 'react';
|
|
|
2
2
|
import { cx } from '../../cx';
|
|
3
3
|
import { useA11yLabels } from '../../hooks/useA11yLabels';
|
|
4
4
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
5
|
-
import { VStack } from '../../layout';
|
|
5
|
+
import { VStack } from '../../layout/VStack';
|
|
6
6
|
import { breakpoints } from '../../styles/media';
|
|
7
7
|
import { FullscreenModalHeader } from './FullscreenModalHeader';
|
|
8
8
|
import { FullscreenModalLayout } from './FullscreenModalLayout';
|
|
@@ -7,10 +7,11 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
7
7
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
8
|
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; }
|
|
9
9
|
import React, { forwardRef, memo } from 'react';
|
|
10
|
-
import { IconButton } from '../../buttons';
|
|
10
|
+
import { IconButton } from '../../buttons/IconButton';
|
|
11
11
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
12
12
|
import { LogoMark } from '../../icons/LogoMark';
|
|
13
|
-
import { Box
|
|
13
|
+
import { Box } from '../../layout/Box';
|
|
14
|
+
import { HStack } from '../../layout/HStack';
|
|
14
15
|
import { breakpoints } from '../../styles/media';
|
|
15
16
|
import { Text } from '../../typography/Text';
|
|
16
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -15,7 +15,7 @@ import { m as motion } from 'framer-motion';
|
|
|
15
15
|
import { cx } from '../../cx';
|
|
16
16
|
import { useA11yLabels } from '../../hooks/useA11yLabels';
|
|
17
17
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
18
|
-
import { Box } from '../../layout';
|
|
18
|
+
import { Box } from '../../layout/Box';
|
|
19
19
|
import { VStack } from '../../layout/VStack';
|
|
20
20
|
import { useMotionProps } from '../../motion/useMotionProps';
|
|
21
21
|
import { media } from '../../styles/media';
|
|
@@ -11,8 +11,8 @@ import { NewAnimatePresence } from '../../animation/NewAnimatePresence';
|
|
|
11
11
|
import { cx } from '../../cx';
|
|
12
12
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
13
13
|
import { useScrollBlocker } from '../../hooks/useScrollBlocker';
|
|
14
|
-
import { VStack } from '../../layout';
|
|
15
14
|
import { Box } from '../../layout/Box';
|
|
15
|
+
import { VStack } from '../../layout/VStack';
|
|
16
16
|
import { media } from '../../styles/media';
|
|
17
17
|
import { Overlay } from '../overlay/Overlay';
|
|
18
18
|
import { Portal } from '../Portal';
|
|
@@ -1,4 +1,13 @@
|
|
|
1
|
+
const _excluded = ["children", "content", "elevation", "placement", "gap", "testID", "zIndex", "tooltipId", "visible", "hasInteractiveContent", "invertColorScheme", "disableAutoFocus", "disableFocusTrap", "disablePortal", "disableTypeFocus", "focusTabIndexElements", "respectNegativeTabIndex", "autoFocusDelay", "openDelay", "closeDelay", "background", "borderRadius", "maxWidth", "paddingX", "paddingY", "color", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight"];
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
6
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
|
+
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; }
|
|
1
9
|
import React, { cloneElement, memo, useCallback, useMemo, useRef } from 'react';
|
|
10
|
+
import { tooltipMaxWidth, tooltipPaddingX, tooltipPaddingY } from '@coinbase/cds-common/tokens/tooltip';
|
|
2
11
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
3
12
|
import { Popover } from '../popover/Popover';
|
|
4
13
|
import { TooltipContent } from './TooltipContent';
|
|
@@ -11,27 +20,39 @@ const preventMouseDown = event => {
|
|
|
11
20
|
export const Tooltip = /*#__PURE__*/memo(_props => {
|
|
12
21
|
const mergedProps = useComponentConfig('Tooltip', _props);
|
|
13
22
|
const {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
children,
|
|
24
|
+
content,
|
|
25
|
+
elevation,
|
|
26
|
+
placement = 'top',
|
|
27
|
+
gap = 1,
|
|
28
|
+
testID,
|
|
29
|
+
zIndex,
|
|
30
|
+
tooltipId: tooltipIdDefault,
|
|
31
|
+
visible,
|
|
32
|
+
hasInteractiveContent,
|
|
33
|
+
invertColorScheme = true,
|
|
34
|
+
disableAutoFocus = hasInteractiveContent,
|
|
35
|
+
disableFocusTrap = hasInteractiveContent,
|
|
36
|
+
disablePortal = hasInteractiveContent,
|
|
37
|
+
disableTypeFocus,
|
|
38
|
+
focusTabIndexElements,
|
|
39
|
+
respectNegativeTabIndex,
|
|
40
|
+
autoFocusDelay = 20,
|
|
41
|
+
openDelay,
|
|
42
|
+
closeDelay,
|
|
43
|
+
background = 'bg',
|
|
44
|
+
borderRadius = 200,
|
|
45
|
+
maxWidth = tooltipMaxWidth,
|
|
46
|
+
paddingX = tooltipPaddingX,
|
|
47
|
+
paddingY = tooltipPaddingY,
|
|
48
|
+
color = 'fg',
|
|
49
|
+
font = 'label2',
|
|
50
|
+
fontFamily,
|
|
51
|
+
fontSize,
|
|
52
|
+
fontWeight,
|
|
53
|
+
lineHeight
|
|
54
|
+
} = mergedProps,
|
|
55
|
+
props = _objectWithoutProperties(mergedProps, _excluded);
|
|
35
56
|
const {
|
|
36
57
|
isOpen,
|
|
37
58
|
handleOnMouseEnter,
|
|
@@ -74,16 +95,27 @@ export const Tooltip = /*#__PURE__*/memo(_props => {
|
|
|
74
95
|
}, [handleOnBlur]);
|
|
75
96
|
return /*#__PURE__*/_jsx(Popover, {
|
|
76
97
|
autoFocusDelay: autoFocusDelay,
|
|
77
|
-
content: /*#__PURE__*/_jsx(TooltipContent, {
|
|
98
|
+
content: /*#__PURE__*/_jsx(TooltipContent, _objectSpread({
|
|
78
99
|
ref: tooltipContentRef,
|
|
100
|
+
background: background,
|
|
101
|
+
borderRadius: borderRadius,
|
|
102
|
+
color: color,
|
|
79
103
|
content: content,
|
|
80
104
|
elevation: elevation,
|
|
105
|
+
font: font,
|
|
106
|
+
fontFamily: fontFamily,
|
|
107
|
+
fontSize: fontSize,
|
|
108
|
+
fontWeight: fontWeight,
|
|
81
109
|
gap: gap,
|
|
110
|
+
lineHeight: lineHeight,
|
|
111
|
+
maxWidth: maxWidth,
|
|
112
|
+
paddingX: paddingX,
|
|
113
|
+
paddingY: paddingY,
|
|
82
114
|
placement: placement,
|
|
83
115
|
testID: testID,
|
|
84
116
|
tooltipId: tooltipId,
|
|
85
117
|
zIndex: zIndex
|
|
86
|
-
}),
|
|
118
|
+
}, props)),
|
|
87
119
|
contentPosition: contentPosition,
|
|
88
120
|
disableAutoFocus: disableAutoFocus,
|
|
89
121
|
disableFocusTrap: disableFocusTrap,
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
const _excluded = ["content", "elevation", "gap", "testID", "zIndex", "tooltipId", "placement", "background", "borderRadius", "maxWidth", "paddingX", "paddingY", "color", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight"];
|
|
1
2
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
3
4
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
4
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
6
|
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
6
9
|
import React, { forwardRef, memo, useMemo } from 'react';
|
|
7
10
|
import { animateInOpacityConfig, animateOutOpacityConfig, getTranslateConfigByPlacement } from '@coinbase/cds-common/animation/tooltip';
|
|
8
11
|
import { tooltipMaxWidth, tooltipPaddingX, tooltipPaddingY } from '@coinbase/cds-common/tokens/tooltip';
|
|
@@ -15,19 +18,26 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
15
18
|
const textCss = "textCss-t15dzixe";
|
|
16
19
|
export const TooltipContent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
|
|
17
20
|
let {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
21
|
+
content,
|
|
22
|
+
elevation,
|
|
23
|
+
gap,
|
|
24
|
+
testID,
|
|
25
|
+
zIndex,
|
|
26
|
+
tooltipId,
|
|
27
|
+
placement = 'top',
|
|
28
|
+
background = 'bg',
|
|
29
|
+
borderRadius = 200,
|
|
30
|
+
maxWidth = tooltipMaxWidth,
|
|
31
|
+
paddingX = tooltipPaddingX,
|
|
32
|
+
paddingY = tooltipPaddingY,
|
|
33
|
+
color = 'fg',
|
|
34
|
+
font = 'label2',
|
|
35
|
+
fontFamily,
|
|
36
|
+
fontSize,
|
|
37
|
+
fontWeight,
|
|
38
|
+
lineHeight
|
|
39
|
+
} = _ref,
|
|
40
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
31
41
|
const outerStyle = useMemo(() => ({
|
|
32
42
|
padding: "var(--space-".concat(gap, ")"),
|
|
33
43
|
zIndex: zIndex !== null && zIndex !== void 0 ? zIndex : zIndexTokens.tooltip
|
|
@@ -45,7 +55,7 @@ export const TooltipContent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, r
|
|
|
45
55
|
});
|
|
46
56
|
return /*#__PURE__*/_jsx(motion.div, _objectSpread(_objectSpread({}, motionProps), {}, {
|
|
47
57
|
"data-testid": "".concat(testID, "-motion"),
|
|
48
|
-
children: /*#__PURE__*/_jsx(Box, {
|
|
58
|
+
children: /*#__PURE__*/_jsx(Box, _objectSpread(_objectSpread({
|
|
49
59
|
ref: ref,
|
|
50
60
|
background: background,
|
|
51
61
|
borderRadius: borderRadius,
|
|
@@ -55,16 +65,21 @@ export const TooltipContent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, r
|
|
|
55
65
|
maxWidth: maxWidth,
|
|
56
66
|
paddingX: paddingX,
|
|
57
67
|
paddingY: paddingY,
|
|
58
|
-
role: "tooltip"
|
|
68
|
+
role: "tooltip"
|
|
69
|
+
}, props), {}, {
|
|
59
70
|
children: typeof content === 'string' ? /*#__PURE__*/_jsx(Text, {
|
|
60
71
|
className: textCss,
|
|
61
|
-
color:
|
|
62
|
-
font:
|
|
72
|
+
color: color,
|
|
73
|
+
font: font,
|
|
74
|
+
fontFamily: fontFamily,
|
|
75
|
+
fontSize: fontSize,
|
|
76
|
+
fontWeight: fontWeight,
|
|
77
|
+
lineHeight: lineHeight,
|
|
63
78
|
children: content
|
|
64
79
|
}) : /*#__PURE__*/_jsx("div", {
|
|
65
80
|
children: content
|
|
66
81
|
})
|
|
67
|
-
})
|
|
82
|
+
}))
|
|
68
83
|
}));
|
|
69
84
|
}));
|
|
70
85
|
import "./TooltipContent.css";
|
|
@@ -7,13 +7,14 @@ import React, { forwardRef, memo, useCallback, useEffect, useImperativeHandle, u
|
|
|
7
7
|
import { DISMISSAL_DRAG_THRESHOLD, DISMISSAL_VELOCITY_THRESHOLD } from '@coinbase/cds-common/animation/drawer';
|
|
8
8
|
import { OverlayContentContext } from '@coinbase/cds-common/overlays/OverlayContentContext';
|
|
9
9
|
import { domMax, LazyMotion, m as motion, MotionConfig, useAnimate, useDragControls } from 'framer-motion';
|
|
10
|
-
import { IconButton } from '../../buttons';
|
|
10
|
+
import { IconButton } from '../../buttons/IconButton';
|
|
11
11
|
import { cx } from '../../cx';
|
|
12
12
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
13
13
|
import { useDimensions } from '../../hooks/useDimensions';
|
|
14
14
|
import { useScrollBlocker } from '../../hooks/useScrollBlocker';
|
|
15
15
|
import { useTheme } from '../../hooks/useTheme';
|
|
16
|
-
import { Box
|
|
16
|
+
import { Box } from '../../layout/Box';
|
|
17
|
+
import { HStack } from '../../layout/HStack';
|
|
17
18
|
import { VStack } from '../../layout/VStack';
|
|
18
19
|
import { Text } from '../../typography/Text';
|
|
19
20
|
import { FocusTrap } from '../FocusTrap';
|
|
@@ -8,7 +8,7 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i
|
|
|
8
8
|
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; }
|
|
9
9
|
import React, { forwardRef, memo } from 'react';
|
|
10
10
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
11
|
-
import { Icon } from '../icons';
|
|
11
|
+
import { Icon } from '../icons/Icon';
|
|
12
12
|
import { HStack } from '../layout/HStack';
|
|
13
13
|
import { VStack } from '../layout/VStack';
|
|
14
14
|
import { Text } from '../typography/Text';
|
|
@@ -9,7 +9,8 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import { memo, useMemo } from 'react';
|
|
10
10
|
import { containsStep, isStepVisited } from '@coinbase/cds-common/stepper/utils';
|
|
11
11
|
import { cx } from '../cx';
|
|
12
|
-
import { HStack
|
|
12
|
+
import { HStack } from '../layout/HStack';
|
|
13
|
+
import { VStack } from '../layout/VStack';
|
|
13
14
|
import { DefaultStepperLabelHorizontal } from './DefaultStepperLabelHorizontal';
|
|
14
15
|
import { DefaultStepperProgressHorizontal } from './DefaultStepperProgressHorizontal';
|
|
15
16
|
import { DefaultStepperSubstepContainerHorizontal } from './DefaultStepperSubstepContainerHorizontal';
|
|
@@ -9,7 +9,8 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import { memo, useMemo } from 'react';
|
|
10
10
|
import { containsStep, isStepVisited } from '@coinbase/cds-common/stepper/utils';
|
|
11
11
|
import { cx } from '../cx';
|
|
12
|
-
import { HStack
|
|
12
|
+
import { HStack } from '../layout/HStack';
|
|
13
|
+
import { VStack } from '../layout/VStack';
|
|
13
14
|
import { DefaultStepperIconVertical } from './DefaultStepperIconVertical';
|
|
14
15
|
import { DefaultStepperLabelVertical } from './DefaultStepperLabelVertical';
|
|
15
16
|
import { DefaultStepperProgressVertical } from './DefaultStepperProgressVertical';
|
|
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
7
7
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
8
|
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; }
|
|
9
9
|
import { memo } from 'react';
|
|
10
|
-
import { HStack } from '../layout';
|
|
10
|
+
import { HStack } from '../layout/HStack';
|
|
11
11
|
import { horizontalStepGap } from './Stepper';
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
export const DefaultStepperSubstepContainerHorizontal = /*#__PURE__*/memo(_ref => {
|
|
@@ -7,7 +7,7 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
7
7
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
8
|
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; }
|
|
9
9
|
import { memo } from 'react';
|
|
10
|
-
import { VStack } from '../layout';
|
|
10
|
+
import { VStack } from '../layout/VStack';
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
export const DefaultStepperSubstepContainerVertical = /*#__PURE__*/memo(_ref => {
|
|
13
13
|
let {
|
|
@@ -11,7 +11,7 @@ import { getRectWidthVariant } from '@coinbase/cds-common/utils/getRectWidthVari
|
|
|
11
11
|
import { Cell } from '../cells/Cell';
|
|
12
12
|
import { MediaFallback } from '../cells/MediaFallback';
|
|
13
13
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
14
|
-
import { Fallback } from '../layout';
|
|
14
|
+
import { Fallback } from '../layout/Fallback';
|
|
15
15
|
import { useTableCellSpacing, useTableCellTag, useTableContext } from './hooks/useTable';
|
|
16
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
const visuallyHiddenCss = "visuallyHiddenCss-v1l01hi5";
|
package/esm/tabs/DefaultTab.js
CHANGED
|
@@ -10,7 +10,7 @@ import React, { forwardRef, memo, useCallback } from 'react';
|
|
|
10
10
|
import { useTabsContext } from '@coinbase/cds-common/tabs/TabsContext';
|
|
11
11
|
import { cx } from '../cx';
|
|
12
12
|
import { DotCount } from '../dots/DotCount';
|
|
13
|
-
import { HStack } from '../layout';
|
|
13
|
+
import { HStack } from '../layout/HStack';
|
|
14
14
|
import { Pressable } from '../system/Pressable';
|
|
15
15
|
import { Text } from '../typography/Text';
|
|
16
16
|
|
package/esm/tabs/TabLabel.js
CHANGED
|
@@ -8,11 +8,11 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i
|
|
|
8
8
|
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; }
|
|
9
9
|
import React, { memo, useCallback, useId, useMemo } from 'react';
|
|
10
10
|
import { usePreviousValue } from '@coinbase/cds-common/hooks/usePreviousValue';
|
|
11
|
-
import { Collapsible } from '../collapsible';
|
|
11
|
+
import { Collapsible } from '../collapsible/Collapsible';
|
|
12
12
|
import { DotCount } from '../dots/DotCount';
|
|
13
13
|
import { useDimensions } from '../hooks/useDimensions';
|
|
14
14
|
import { useIsoEffect } from '../hooks/useIsoEffect';
|
|
15
|
-
import { HStack } from '../layout';
|
|
15
|
+
import { HStack } from '../layout/HStack';
|
|
16
16
|
import { Text } from '../typography/Text';
|
|
17
17
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
18
|
const primaryTabLabelCss = "primaryTabLabelCss-p22pu9k";
|
|
@@ -9,7 +9,8 @@ import { getProgressSize } from '@coinbase/cds-common/visualizations/getProgress
|
|
|
9
9
|
import { m as motion } from 'framer-motion';
|
|
10
10
|
import { cx } from '../cx';
|
|
11
11
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
12
|
-
import { Box
|
|
12
|
+
import { Box } from '../layout/Box';
|
|
13
|
+
import { HStack } from '../layout/HStack';
|
|
13
14
|
import { useMotionProps } from '../motion/useMotionProps';
|
|
14
15
|
import { isRtl } from '../utils/isRtl';
|
|
15
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|