@coinbase/cds-web 9.3.0 → 9.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dts/accordion/Accordion.d.ts +1 -1
- package/dts/accordion/Accordion.d.ts.map +1 -1
- package/dts/accordion/AccordionHeader.d.ts +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/TooltipProps.d.ts +3 -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/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/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';
|
|
@@ -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";
|
|
@@ -7,13 +7,14 @@ 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, useCallback, useMemo, useRef } from 'react';
|
|
10
|
+
import { cx } from '../../cx';
|
|
10
11
|
import { useDimensions } from '../../hooks/useDimensions';
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
12
|
+
import { Box } from '../../layout/Box';
|
|
13
|
+
import { Legend } from './legend/Legend';
|
|
13
14
|
import { ScrubberProvider } from './scrubber/ScrubberProvider';
|
|
15
|
+
import { defaultAxisId, getAxisConfig, getAxisRange, getCartesianAxisDomain, getCartesianAxisScale, useTotalAxisPadding } from './utils/axis';
|
|
16
|
+
import { defaultHorizontalLayoutChartInset, defaultVerticalLayoutChartInset, getChartInset, getStackedSeriesData as calculateStackedSeriesData } from './utils/chart';
|
|
14
17
|
import { CartesianChartProvider } from './ChartProvider';
|
|
15
|
-
import { Legend } from './legend';
|
|
16
|
-
import { defaultAxisId, defaultHorizontalLayoutChartInset, defaultVerticalLayoutChartInset, getAxisConfig, getAxisRange, getCartesianAxisDomain, getCartesianAxisScale, getChartInset, getStackedSeriesData as calculateStackedSeriesData, useTotalAxisPadding } from './utils';
|
|
17
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
19
|
const focusStylesCss = "focusStylesCss-fm8hd7g";
|
|
19
20
|
export const CartesianChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -10,11 +10,12 @@ function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i
|
|
|
10
10
|
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; }
|
|
11
11
|
import React, { forwardRef, memo, useMemo } from 'react';
|
|
12
12
|
import { m as motion } from 'framer-motion';
|
|
13
|
-
import { cx } from '../../
|
|
14
|
-
import { Box } from '../../layout';
|
|
15
|
-
import { SegmentedTabs, tabsTransitionConfig } from '../../tabs';
|
|
13
|
+
import { cx } from '../../cx';
|
|
14
|
+
import { Box } from '../../layout/Box';
|
|
16
15
|
import { SegmentedTab } from '../../tabs/SegmentedTab';
|
|
17
|
-
import {
|
|
16
|
+
import { SegmentedTabs } from '../../tabs/SegmentedTabs';
|
|
17
|
+
import { tabsTransitionConfig } from '../../tabs/Tabs';
|
|
18
|
+
import { Text } from '../../typography/Text';
|
|
18
19
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
19
20
|
const MotionBox = motion(Box);
|
|
20
21
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { memo, useMemo } from 'react';
|
|
2
2
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
3
|
-
import { getAreaPath } from '../utils';
|
|
3
|
+
import { getAreaPath } from '../utils/path';
|
|
4
4
|
import { DottedArea } from './DottedArea';
|
|
5
5
|
import { GradientArea } from './GradientArea';
|
|
6
6
|
import { SolidArea } from './SolidArea';
|
|
@@ -11,10 +11,12 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
11
11
|
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; }
|
|
12
12
|
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; }
|
|
13
13
|
import { forwardRef, memo, useMemo } from 'react';
|
|
14
|
-
import { XAxis
|
|
14
|
+
import { XAxis } from '../axis/XAxis';
|
|
15
|
+
import { YAxis } from '../axis/YAxis';
|
|
15
16
|
import { CartesianChart } from '../CartesianChart';
|
|
16
17
|
import { Line } from '../line/Line';
|
|
17
|
-
import {
|
|
18
|
+
import { withBaselineDomain } from '../utils/axis';
|
|
19
|
+
import { defaultStackId } from '../utils/chart';
|
|
18
20
|
import { Area } from './Area';
|
|
19
21
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
20
22
|
export const AreaChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -8,9 +8,9 @@ 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 { memo, useId, useMemo } from 'react';
|
|
10
10
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
11
|
-
import { Gradient } from '../gradient';
|
|
11
|
+
import { Gradient } from '../gradient/Gradient';
|
|
12
12
|
import { Path } from '../Path';
|
|
13
|
-
import { createGradient, getBaseline } from '../utils';
|
|
13
|
+
import { createGradient, getBaseline } from '../utils/gradient';
|
|
14
14
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
/**
|
|
16
16
|
* A customizable dotted area gradient component.
|
|
@@ -8,9 +8,9 @@ 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 { memo, useId, useMemo } from 'react';
|
|
10
10
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
11
|
-
import { Gradient } from '../gradient';
|
|
11
|
+
import { Gradient } from '../gradient/Gradient';
|
|
12
12
|
import { Path } from '../Path';
|
|
13
|
-
import { createGradient, getBaseline } from '../utils';
|
|
13
|
+
import { createGradient, getBaseline } from '../utils/gradient';
|
|
14
14
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
/**
|
|
16
16
|
* A customizable gradient area component which uses Path with SVG linearGradient.
|
|
@@ -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, useId } from 'react';
|
|
10
|
-
import { Gradient } from '../gradient';
|
|
10
|
+
import { Gradient } from '../gradient/Gradient';
|
|
11
11
|
import { Path } from '../Path';
|
|
12
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
13
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { accessoryFadeTransitionDuration } from '../utils';
|
|
1
|
+
import { accessoryFadeTransitionDuration } from '../utils/transition';
|
|
2
2
|
export const axisLineStyles = "\n stroke: var(--color-fg);\n stroke-linecap: square;\n stroke-width: 1px;\n";
|
|
3
3
|
export const axisTickMarkStyles = "\n stroke: var(--color-fg);\n stroke-linecap: square;\n stroke-width: 1px;\n";
|
|
4
4
|
|
|
@@ -4,7 +4,7 @@ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object
|
|
|
4
4
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
5
5
|
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); }
|
|
6
6
|
import { memo } from 'react';
|
|
7
|
-
import { ChartText } from '../text';
|
|
7
|
+
import { ChartText } from '../text/ChartText';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
9
|
/**
|
|
10
10
|
* DefaultAxisTickLabel is the default label component for axis tick labels.
|
|
@@ -8,13 +8,16 @@ 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 { memo, useCallback, useEffect, useId, useMemo } from 'react';
|
|
10
10
|
import { m as motion } from 'framer-motion';
|
|
11
|
-
import { cx } from '../../../
|
|
11
|
+
import { cx } from '../../../cx';
|
|
12
12
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
13
13
|
import { DottedLine } from '../line/DottedLine';
|
|
14
14
|
import { SolidLine } from '../line/SolidLine';
|
|
15
15
|
import { ChartText } from '../text/ChartText';
|
|
16
16
|
import { ChartTextGroup } from '../text/ChartTextGroup';
|
|
17
|
-
import { getAxisTicksData,
|
|
17
|
+
import { getAxisTicksData, toPointAnchor } from '../utils/axis';
|
|
18
|
+
import { lineToPath } from '../utils/path';
|
|
19
|
+
import { getPointOnScale } from '../utils/point';
|
|
20
|
+
import { isCategoricalScale } from '../utils/scale';
|
|
18
21
|
import { axisLineStyles, axisTickMarkStyles, axisUpdateAnimationTransition } from './Axis';
|
|
19
22
|
import { DefaultAxisTickLabel } from './DefaultAxisTickLabel';
|
|
20
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -8,13 +8,16 @@ 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 { memo, useCallback, useEffect, useId, useMemo } from 'react';
|
|
10
10
|
import { m as motion } from 'framer-motion';
|
|
11
|
-
import { cx } from '../../../
|
|
11
|
+
import { cx } from '../../../cx';
|
|
12
12
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
13
13
|
import { DottedLine } from '../line/DottedLine';
|
|
14
14
|
import { SolidLine } from '../line/SolidLine';
|
|
15
15
|
import { ChartText } from '../text/ChartText';
|
|
16
16
|
import { ChartTextGroup } from '../text/ChartTextGroup';
|
|
17
|
-
import { getAxisTicksData,
|
|
17
|
+
import { getAxisTicksData, toPointAnchor } from '../utils/axis';
|
|
18
|
+
import { lineToPath } from '../utils/path';
|
|
19
|
+
import { getPointOnScale } from '../utils/point';
|
|
20
|
+
import { isCategoricalScale } from '../utils/scale';
|
|
18
21
|
import { axisLineStyles, axisTickMarkStyles, axisUpdateAnimationTransition } from './Axis';
|
|
19
22
|
import { DefaultAxisTickLabel } from './DefaultAxisTickLabel';
|
|
20
23
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { memo, useMemo } from 'react';
|
|
2
2
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
3
|
-
import { getBarPath } from '../utils';
|
|
4
|
-
import { DefaultBar } from './';
|
|
3
|
+
import { getBarPath } from '../utils/path';
|
|
4
|
+
import { DefaultBar } from './DefaultBar';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
6
|
/**
|
|
7
7
|
* Simple bar component that renders a single bar at the specified position.
|
|
@@ -9,9 +9,11 @@ function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e =
|
|
|
9
9
|
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; }
|
|
10
10
|
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; }
|
|
11
11
|
import { forwardRef, memo, useMemo } from 'react';
|
|
12
|
-
import { XAxis
|
|
12
|
+
import { XAxis } from '../axis/XAxis';
|
|
13
|
+
import { YAxis } from '../axis/YAxis';
|
|
13
14
|
import { CartesianChart } from '../CartesianChart';
|
|
14
|
-
import {
|
|
15
|
+
import { withBaselineDomain } from '../utils/axis';
|
|
16
|
+
import { defaultStackId } from '../utils/chart';
|
|
15
17
|
import { BarPlot } from './BarPlot';
|
|
16
18
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
19
|
export const BarChart = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { memo, useId, useMemo } from 'react';
|
|
2
2
|
import { m as motion } from 'framer-motion';
|
|
3
3
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
4
|
-
import { getStackGroups
|
|
4
|
+
import { getStackGroups } from '../utils/bar';
|
|
5
|
+
import { instantTransition } from '../utils/transition';
|
|
5
6
|
import { BarStackGroup } from './BarStackGroup';
|
|
6
7
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
8
|
/**
|
|
@@ -9,8 +9,10 @@ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t =
|
|
|
9
9
|
import React, { memo, useMemo } from 'react';
|
|
10
10
|
import { useCartesianChartContext } from '../ChartProvider';
|
|
11
11
|
import { Path } from '../Path';
|
|
12
|
-
import { defaultBarEnterOpacityTransition, defaultBarEnterTransition,
|
|
12
|
+
import { defaultBarEnterOpacityTransition, defaultBarEnterTransition, withStaggerDelayTransition } from '../utils/bar';
|
|
13
13
|
import { getNormalizedStagger } from '../utils/bar';
|
|
14
|
+
import { getBarPath } from '../utils/path';
|
|
15
|
+
import { defaultTransition, getTransition } from '../utils/transition';
|
|
14
16
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
15
17
|
/**
|
|
16
18
|
* Default bar component that renders a solid bar with animation.
|