@coinbase/cds-mobile 9.6.1 → 9.6.3
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/AccordionHeader.d.ts +13 -16
- package/dts/accordion/AccordionHeader.d.ts.map +1 -1
- package/dts/accordion/AccordionPanel.d.ts +9 -10
- package/dts/accordion/AccordionPanel.d.ts.map +1 -1
- package/dts/alpha/carousel/Carousel.d.ts +19 -27
- package/dts/alpha/carousel/Carousel.d.ts.map +1 -1
- package/dts/alpha/combobox/Combobox.d.ts.map +1 -1
- package/dts/alpha/data-card/DataCard.d.ts +15 -15
- package/dts/alpha/data-card/DataCard.d.ts.map +1 -1
- package/dts/alpha/select/DefaultSelectAllOption.d.ts.map +1 -1
- package/dts/alpha/select/DefaultSelectControl.d.ts +43 -47
- package/dts/alpha/select/DefaultSelectControl.d.ts.map +1 -1
- package/dts/alpha/select/DefaultSelectDropdown.d.ts.map +1 -1
- package/dts/alpha/select/DefaultSelectEmptyDropdownContents.d.ts.map +1 -1
- package/dts/alpha/select/DefaultSelectOption.d.ts.map +1 -1
- package/dts/alpha/select/Select.d.ts.map +1 -1
- package/dts/alpha/select-chip/SelectChip.d.ts.map +1 -1
- package/dts/alpha/select-chip/SelectChipControl.d.ts.map +1 -1
- package/dts/alpha/tabbed-chips/TabbedChips.d.ts.map +1 -1
- package/dts/animation/Lottie.d.ts +9 -40
- package/dts/animation/Lottie.d.ts.map +1 -1
- package/dts/banner/Banner.d.ts +3 -1
- package/dts/banner/Banner.d.ts.map +1 -1
- package/dts/buttons/Button.d.ts +3 -1
- package/dts/buttons/Button.d.ts.map +1 -1
- package/dts/buttons/DefaultSlideButtonBackground.d.ts +17 -17
- package/dts/buttons/DefaultSlideButtonBackground.d.ts.map +1 -1
- package/dts/buttons/DefaultSlideButtonHandle.d.ts +21 -27
- package/dts/buttons/DefaultSlideButtonHandle.d.ts.map +1 -1
- package/dts/buttons/IconButton.d.ts +7 -31
- package/dts/buttons/IconButton.d.ts.map +1 -1
- package/dts/buttons/IconCounterButton.d.ts +3 -1
- package/dts/buttons/IconCounterButton.d.ts.map +1 -1
- package/dts/buttons/SlideButton.d.ts +7 -103
- package/dts/buttons/SlideButton.d.ts.map +1 -1
- package/dts/cards/CardGroup.d.ts +3 -1
- package/dts/cards/CardGroup.d.ts.map +1 -1
- package/dts/cards/CardRoot.d.ts +9 -5
- package/dts/cards/CardRoot.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCard.d.ts +3 -2
- package/dts/cards/ContentCard/ContentCard.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCardBody.d.ts +3 -2
- package/dts/cards/ContentCard/ContentCardBody.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCardFooter.d.ts +9 -22
- package/dts/cards/ContentCard/ContentCardFooter.d.ts.map +1 -1
- package/dts/cards/ContentCard/ContentCardHeader.d.ts +3 -2
- package/dts/cards/ContentCard/ContentCardHeader.d.ts.map +1 -1
- package/dts/cards/MediaCard/index.d.ts +15 -15
- package/dts/cards/MediaCard/index.d.ts.map +1 -1
- package/dts/cards/MessagingCard/index.d.ts +21 -8
- package/dts/cards/MessagingCard/index.d.ts.map +1 -1
- package/dts/carousel/Carousel.d.ts +7 -158
- package/dts/carousel/Carousel.d.ts.map +1 -1
- package/dts/chips/Chip.d.ts +3 -1
- package/dts/chips/Chip.d.ts.map +1 -1
- package/dts/chips/InputChip.d.ts +8 -21
- package/dts/chips/InputChip.d.ts.map +1 -1
- package/dts/chips/MediaChip.d.ts +3 -1
- package/dts/chips/MediaChip.d.ts.map +1 -1
- package/dts/chips/SelectChip.d.ts +24 -8
- package/dts/chips/SelectChip.d.ts.map +1 -1
- package/dts/chips/TabbedChips.d.ts.map +1 -1
- package/dts/coachmark/Coachmark.d.ts +7 -54
- package/dts/coachmark/Coachmark.d.ts.map +1 -1
- package/dts/collapsible/Collapsible.d.ts +7 -30
- package/dts/collapsible/Collapsible.d.ts.map +1 -1
- package/dts/controls/Checkbox.d.ts +6 -5
- package/dts/controls/Checkbox.d.ts.map +1 -1
- package/dts/controls/CheckboxCell.d.ts +6 -5
- package/dts/controls/CheckboxCell.d.ts.map +1 -1
- package/dts/controls/CheckboxGroup.d.ts +12 -5
- package/dts/controls/CheckboxGroup.d.ts.map +1 -1
- package/dts/controls/Control.d.ts +6 -5
- package/dts/controls/Control.d.ts.map +1 -1
- package/dts/controls/ControlGroup.d.ts +6 -5
- package/dts/controls/ControlGroup.d.ts.map +1 -1
- package/dts/controls/InputIconButton.d.ts +3 -1
- package/dts/controls/InputIconButton.d.ts.map +1 -1
- package/dts/controls/NativeInput.d.ts +17 -38
- package/dts/controls/NativeInput.d.ts.map +1 -1
- package/dts/controls/Radio.d.ts +6 -5
- package/dts/controls/Radio.d.ts.map +1 -1
- package/dts/controls/RadioCell.d.ts +6 -5
- package/dts/controls/RadioCell.d.ts.map +1 -1
- package/dts/controls/RadioGroup.d.ts +15 -5
- package/dts/controls/RadioGroup.d.ts.map +1 -1
- package/dts/controls/SearchInput.d.ts +7 -113
- package/dts/controls/SearchInput.d.ts.map +1 -1
- package/dts/controls/Select.d.ts +23 -23
- package/dts/controls/Select.d.ts.map +1 -1
- package/dts/controls/Switch.d.ts +7 -22
- package/dts/controls/Switch.d.ts.map +1 -1
- package/dts/controls/TextInput.d.ts +7 -80
- package/dts/controls/TextInput.d.ts.map +1 -1
- package/dts/dates/Calendar.d.ts +7 -63
- package/dts/dates/Calendar.d.ts.map +1 -1
- package/dts/dates/DateInput.d.ts +7 -8
- package/dts/dates/DateInput.d.ts.map +1 -1
- package/dts/dates/DatePicker.d.ts +7 -85
- package/dts/dates/DatePicker.d.ts.map +1 -1
- package/dts/examples/ExampleScreen.d.ts +11 -24
- package/dts/examples/ExampleScreen.d.ts.map +1 -1
- package/dts/layout/Box.d.ts +87 -32
- package/dts/layout/Box.d.ts.map +1 -1
- package/dts/layout/Group.d.ts +3 -1
- package/dts/layout/Group.d.ts.map +1 -1
- package/dts/layout/HStack.d.ts +3 -2
- package/dts/layout/HStack.d.ts.map +1 -1
- package/dts/layout/VStack.d.ts +3 -2
- package/dts/layout/VStack.d.ts.map +1 -1
- package/dts/media/Carousel/Carousel.d.ts +12 -12
- package/dts/media/Carousel/Carousel.d.ts.map +1 -1
- package/dts/motion/ColorSurge.d.ts +3 -1
- package/dts/motion/ColorSurge.d.ts.map +1 -1
- package/dts/motion/Pulse.d.ts +3 -1
- package/dts/motion/Pulse.d.ts.map +1 -1
- package/dts/motion/Shake.d.ts +3 -1
- package/dts/motion/Shake.d.ts.map +1 -1
- package/dts/multi-content-module/MultiContentModule.d.ts +3 -2
- package/dts/multi-content-module/MultiContentModule.d.ts.map +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberAffixSection.d.ts.map +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberDigit.d.ts.map +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberMask.d.ts.map +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberSymbol.d.ts.map +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberValueSection.d.ts.map +1 -1
- package/dts/numbers/RollingNumber/RollingNumber.d.ts +7 -143
- package/dts/numbers/RollingNumber/RollingNumber.d.ts.map +1 -1
- package/dts/numpad/Numpad.d.ts +7 -35
- package/dts/numpad/Numpad.d.ts.map +1 -1
- package/dts/overlays/Alert.d.ts +7 -43
- package/dts/overlays/Alert.d.ts.map +1 -1
- package/dts/overlays/Toast.d.ts +7 -27
- package/dts/overlays/Toast.d.ts.map +1 -1
- package/dts/overlays/drawer/Drawer.d.ts +7 -82
- package/dts/overlays/drawer/Drawer.d.ts.map +1 -1
- package/dts/overlays/drawer/useDrawerPanResponder.d.ts.map +1 -1
- package/dts/overlays/modal/Modal.d.ts +7 -24
- package/dts/overlays/modal/Modal.d.ts.map +1 -1
- package/dts/overlays/tray/Tray.d.ts +3 -1
- package/dts/overlays/tray/Tray.d.ts.map +1 -1
- package/dts/page/PageFooter.d.ts +7 -33
- package/dts/page/PageFooter.d.ts.map +1 -1
- package/dts/page/PageHeader.d.ts +7 -48
- package/dts/page/PageHeader.d.ts.map +1 -1
- package/dts/section-header/SectionHeader.d.ts +3 -2
- package/dts/section-header/SectionHeader.d.ts.map +1 -1
- package/dts/stepper/Stepper.d.ts.map +1 -1
- package/dts/sticky-footer/StickyFooter.d.ts +17 -31
- package/dts/sticky-footer/StickyFooter.d.ts.map +1 -1
- package/dts/system/Pressable.d.ts +3 -2
- package/dts/system/Pressable.d.ts.map +1 -1
- package/dts/tabs/DefaultTab.d.ts +18 -17
- package/dts/tabs/DefaultTab.d.ts.map +1 -1
- package/dts/tabs/SegmentedTab.d.ts.map +1 -1
- package/dts/tabs/SegmentedTabs.d.ts.map +1 -1
- package/dts/tabs/TabIndicator.d.ts +11 -11
- package/dts/tabs/TabIndicator.d.ts.map +1 -1
- package/dts/tabs/TabNavigation.d.ts.map +1 -1
- package/dts/tabs/Tabs.d.ts.map +1 -1
- package/dts/tag/Tag.d.ts +7 -41
- package/dts/tag/Tag.d.ts.map +1 -1
- package/dts/tour/DefaultTourStepArrow.d.ts +9 -2
- package/dts/tour/DefaultTourStepArrow.d.ts.map +1 -1
- package/dts/tour/Tour.d.ts +5 -5
- package/dts/tour/Tour.d.ts.map +1 -1
- package/dts/typography/Text.d.ts +89 -66
- package/dts/typography/Text.d.ts.map +1 -1
- package/dts/typography/TextBody.d.ts +8 -22
- package/dts/typography/TextBody.d.ts.map +1 -1
- package/dts/typography/TextCaption.d.ts +8 -22
- package/dts/typography/TextCaption.d.ts.map +1 -1
- package/dts/typography/TextDisplay1.d.ts +9 -22
- package/dts/typography/TextDisplay1.d.ts.map +1 -1
- package/dts/typography/TextDisplay2.d.ts +9 -22
- package/dts/typography/TextDisplay2.d.ts.map +1 -1
- package/dts/typography/TextDisplay3.d.ts +9 -22
- package/dts/typography/TextDisplay3.d.ts.map +1 -1
- package/dts/typography/TextHeadline.d.ts +8 -22
- package/dts/typography/TextHeadline.d.ts.map +1 -1
- package/dts/typography/TextInherited.d.ts +8 -22
- package/dts/typography/TextInherited.d.ts.map +1 -1
- package/dts/typography/TextLabel1.d.ts +8 -22
- package/dts/typography/TextLabel1.d.ts.map +1 -1
- package/dts/typography/TextLabel2.d.ts +8 -22
- package/dts/typography/TextLabel2.d.ts.map +1 -1
- package/dts/typography/TextLegal.d.ts +8 -22
- package/dts/typography/TextLegal.d.ts.map +1 -1
- package/dts/typography/TextTitle1.d.ts +9 -22
- package/dts/typography/TextTitle1.d.ts.map +1 -1
- package/dts/typography/TextTitle2.d.ts +9 -22
- package/dts/typography/TextTitle2.d.ts.map +1 -1
- package/dts/typography/TextTitle3.d.ts +8 -22
- package/dts/typography/TextTitle3.d.ts.map +1 -1
- package/dts/typography/TextTitle4.d.ts +8 -22
- package/dts/typography/TextTitle4.d.ts.map +1 -1
- package/dts/typography/index.d.ts +1 -1
- package/dts/typography/index.d.ts.map +1 -1
- package/dts/visualizations/ProgressBar.d.ts +7 -37
- package/dts/visualizations/ProgressBar.d.ts.map +1 -1
- package/dts/visualizations/ProgressCircle.d.ts +7 -55
- package/dts/visualizations/ProgressCircle.d.ts.map +1 -1
- package/dts/visualizations/ProgressIndicator.d.ts +3 -2
- package/dts/visualizations/ProgressIndicator.d.ts.map +1 -1
- package/dts/visualizations/chart/CartesianChart.d.ts +32 -94
- package/dts/visualizations/chart/CartesianChart.d.ts.map +1 -1
- package/dts/visualizations/chart/PeriodSelector.d.ts +27 -61
- package/dts/visualizations/chart/PeriodSelector.d.ts.map +1 -1
- package/dts/visualizations/chart/area/AreaChart.d.ts +26 -59
- package/dts/visualizations/chart/area/AreaChart.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/BarChart.d.ts +28 -74
- package/dts/visualizations/chart/bar/BarChart.d.ts.map +1 -1
- package/dts/visualizations/chart/bar/PercentageBarChart.d.ts +16 -44
- package/dts/visualizations/chart/bar/PercentageBarChart.d.ts.map +1 -1
- package/dts/visualizations/chart/legend/Legend.d.ts +19 -48
- package/dts/visualizations/chart/legend/Legend.d.ts.map +1 -1
- package/dts/visualizations/chart/line/LineChart.d.ts +29 -53
- package/dts/visualizations/chart/line/LineChart.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/DefaultScrubberBeacon.d.ts +18 -21
- package/dts/visualizations/chart/scrubber/DefaultScrubberBeacon.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/Scrubber.d.ts +28 -87
- package/dts/visualizations/chart/scrubber/Scrubber.d.ts.map +1 -1
- package/dts/visualizations/chart/scrubber/ScrubberBeaconGroup.d.ts +11 -17
- package/dts/visualizations/chart/scrubber/ScrubberBeaconGroup.d.ts.map +1 -1
- package/dts/visualizations/sparkline/Sparkline.d.ts +15 -30
- package/dts/visualizations/sparkline/Sparkline.d.ts.map +1 -1
- package/dts/visualizations/sparkline/SparklineArea.d.ts +9 -2
- package/dts/visualizations/sparkline/SparklineArea.d.ts.map +1 -1
- package/dts/visualizations/sparkline/SparklineGradient.d.ts +14 -14
- package/dts/visualizations/sparkline/SparklineGradient.d.ts.map +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveHoverDate.d.ts +4 -4
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveHoverDate.d.ts.map +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractivePanGestureHandler.d.ts.map +1 -1
- package/dts/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.d.ts +18 -28
- package/dts/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.d.ts.map +1 -1
- package/esm/accordion/AccordionHeader.js +4 -3
- package/esm/accordion/AccordionPanel.js +4 -3
- package/esm/alpha/carousel/Carousel.js +5 -4
- package/esm/alpha/combobox/Combobox.js +12 -7
- package/esm/alpha/data-card/DataCard.js +5 -4
- package/esm/alpha/select/DefaultSelectAllOption.js +4 -3
- package/esm/alpha/select/DefaultSelectControl.js +5 -4
- package/esm/alpha/select/DefaultSelectDropdown.js +5 -4
- package/esm/alpha/select/DefaultSelectEmptyDropdownContents.js +4 -3
- package/esm/alpha/select/DefaultSelectOption.js +4 -4
- package/esm/alpha/select/Select.js +60 -53
- package/esm/alpha/select-chip/SelectChip.js +10 -5
- package/esm/alpha/select-chip/SelectChipControl.js +4 -3
- package/esm/alpha/tabbed-chips/TabbedChips.js +10 -5
- package/esm/animation/Lottie.js +9 -7
- package/esm/banner/Banner.js +10 -5
- package/esm/buttons/Button.js +10 -5
- package/esm/buttons/DefaultSlideButtonBackground.js +4 -3
- package/esm/buttons/DefaultSlideButtonHandle.js +5 -4
- package/esm/buttons/IconButton.js +10 -5
- package/esm/buttons/IconCounterButton.js +10 -5
- package/esm/buttons/SlideButton.js +14 -9
- package/esm/cards/CardGroup.js +5 -4
- package/esm/cards/CardRoot.js +5 -4
- package/esm/cards/ContentCard/ContentCard.js +5 -4
- package/esm/cards/ContentCard/ContentCardBody.js +5 -4
- package/esm/cards/ContentCard/ContentCardFooter.js +5 -4
- package/esm/cards/ContentCard/ContentCardHeader.js +5 -4
- package/esm/cards/MediaCard/index.js +5 -4
- package/esm/cards/MessagingCard/index.js +5 -4
- package/esm/carousel/Carousel.js +14 -9
- package/esm/chips/Chip.js +10 -5
- package/esm/chips/InputChip.js +10 -5
- package/esm/chips/MediaChip.js +10 -5
- package/esm/chips/SelectChip.js +5 -4
- package/esm/chips/TabbedChips.js +10 -5
- package/esm/coachmark/Coachmark.js +10 -5
- package/esm/collapsible/Collapsible.js +14 -8
- package/esm/controls/Checkbox.js +11 -7
- package/esm/controls/CheckboxCell.js +10 -5
- package/esm/controls/CheckboxGroup.js +6 -6
- package/esm/controls/Control.js +13 -9
- package/esm/controls/ControlGroup.js +10 -5
- package/esm/controls/InputIconButton.js +5 -4
- package/esm/controls/NativeInput.js +5 -4
- package/esm/controls/Radio.js +11 -7
- package/esm/controls/RadioCell.js +10 -5
- package/esm/controls/RadioGroup.js +6 -6
- package/esm/controls/SearchInput.js +10 -5
- package/esm/controls/Select.js +4 -3
- package/esm/controls/Switch.js +10 -5
- package/esm/controls/TextInput.js +10 -5
- package/esm/dates/Calendar.js +19 -12
- package/esm/dates/DateInput.js +10 -5
- package/esm/dates/DatePicker.js +12 -7
- package/esm/examples/ExampleScreen.js +4 -3
- package/esm/layout/Box.js +5 -4
- package/esm/layout/Group.js +5 -4
- package/esm/layout/HStack.js +5 -4
- package/esm/layout/VStack.js +5 -4
- package/esm/media/Carousel/Carousel.js +5 -4
- package/esm/motion/ColorSurge.js +4 -3
- package/esm/motion/Pulse.js +4 -3
- package/esm/motion/Shake.js +4 -3
- package/esm/multi-content-module/MultiContentModule.js +5 -4
- package/esm/numbers/RollingNumber/DefaultRollingNumberAffixSection.js +5 -4
- package/esm/numbers/RollingNumber/DefaultRollingNumberDigit.js +5 -4
- package/esm/numbers/RollingNumber/DefaultRollingNumberMask.js +5 -4
- package/esm/numbers/RollingNumber/DefaultRollingNumberSymbol.js +5 -4
- package/esm/numbers/RollingNumber/DefaultRollingNumberValueSection.js +5 -4
- package/esm/numbers/RollingNumber/RollingNumber.js +10 -5
- package/esm/numpad/Numpad.js +12 -7
- package/esm/overlays/Alert.js +11 -5
- package/esm/overlays/Toast.js +16 -11
- package/esm/overlays/drawer/Drawer.js +16 -11
- package/esm/overlays/drawer/useDrawerPanResponder.js +7 -0
- package/esm/overlays/modal/Modal.js +12 -7
- package/esm/overlays/tray/Tray.js +18 -13
- package/esm/page/PageFooter.js +10 -5
- package/esm/page/PageHeader.js +10 -5
- package/esm/section-header/SectionHeader.js +5 -4
- package/esm/stepper/Stepper.js +16 -11
- package/esm/sticky-footer/StickyFooter.js +5 -4
- package/esm/system/Pressable.js +5 -4
- package/esm/tabs/DefaultTab.js +5 -4
- package/esm/tabs/SegmentedTab.js +10 -5
- package/esm/tabs/SegmentedTabs.js +10 -5
- package/esm/tabs/TabIndicator.js +5 -4
- package/esm/tabs/TabNavigation.js +5 -4
- package/esm/tabs/Tabs.js +16 -11
- package/esm/tag/Tag.js +10 -5
- package/esm/tour/DefaultTourStepArrow.js +4 -3
- package/esm/tour/Tour.js +5 -1
- package/esm/typography/Text.js +5 -4
- package/esm/typography/TextBody.js +5 -4
- package/esm/typography/TextCaption.js +5 -4
- package/esm/typography/TextDisplay1.js +5 -4
- package/esm/typography/TextDisplay2.js +5 -4
- package/esm/typography/TextDisplay3.js +5 -4
- package/esm/typography/TextHeadline.js +5 -4
- package/esm/typography/TextInherited.js +5 -4
- package/esm/typography/TextLabel1.js +5 -4
- package/esm/typography/TextLabel2.js +5 -4
- package/esm/typography/TextLegal.js +5 -4
- package/esm/typography/TextTitle1.js +5 -4
- package/esm/typography/TextTitle2.js +5 -4
- package/esm/typography/TextTitle3.js +5 -4
- package/esm/typography/TextTitle4.js +5 -4
- package/esm/typography/index.js +1 -1
- package/esm/visualizations/ProgressBar.js +11 -5
- package/esm/visualizations/ProgressCircle.js +11 -5
- package/esm/visualizations/ProgressIndicator.js +5 -4
- package/esm/visualizations/chart/CartesianChart.js +5 -4
- package/esm/visualizations/chart/PeriodSelector.js +22 -13
- package/esm/visualizations/chart/__stories__/ChartAccessibility.stories.js +5 -4
- package/esm/visualizations/chart/__stories__/PeriodSelector.stories.js +9 -7
- package/esm/visualizations/chart/area/AreaChart.js +5 -4
- package/esm/visualizations/chart/bar/BarChart.js +5 -4
- package/esm/visualizations/chart/bar/PercentageBarChart.js +5 -4
- package/esm/visualizations/chart/legend/Legend.js +5 -4
- package/esm/visualizations/chart/line/LineChart.js +5 -4
- package/esm/visualizations/chart/line/__stories__/LineChart.stories.js +5 -4
- package/esm/visualizations/chart/scrubber/DefaultScrubberBeacon.js +4 -3
- package/esm/visualizations/chart/scrubber/Scrubber.js +4 -3
- package/esm/visualizations/chart/scrubber/ScrubberBeaconGroup.js +4 -3
- package/esm/visualizations/sparkline/Sparkline.js +4 -3
- package/esm/visualizations/sparkline/SparklineArea.js +4 -3
- package/esm/visualizations/sparkline/SparklineGradient.js +4 -3
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractiveHoverDate.js +4 -3
- package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractivePanGestureHandler.js +1 -2
- package/esm/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.js +7 -5
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { memo, useEffect, useImperativeHandle, useMemo } from 'react';
|
|
2
2
|
import { cancelAnimation, Easing, useAnimatedReaction, useDerivedValue, useSharedValue, withDelay, withRepeat, withSequence, withTiming } from 'react-native-reanimated';
|
|
3
3
|
import { Circle, Group } from '@shopify/react-native-skia';
|
|
4
4
|
import { useTheme } from '../../../hooks/useTheme';
|
|
@@ -19,8 +19,9 @@ const defaultPulseTransition = {
|
|
|
19
19
|
easing: Easing.bezier(0.0, 0.0, 0.0, 1.0)
|
|
20
20
|
};
|
|
21
21
|
const defaultPulseRepeatDelay = 400;
|
|
22
|
-
export const DefaultScrubberBeacon = /*#__PURE__*/memo(
|
|
22
|
+
export const DefaultScrubberBeacon = /*#__PURE__*/memo(_ref => {
|
|
23
23
|
let {
|
|
24
|
+
ref,
|
|
24
25
|
seriesId,
|
|
25
26
|
color: colorProp,
|
|
26
27
|
dataX,
|
|
@@ -179,4 +180,4 @@ export const DefaultScrubberBeacon = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((
|
|
|
179
180
|
r: radius - strokeWidth / 2
|
|
180
181
|
})]
|
|
181
182
|
});
|
|
182
|
-
})
|
|
183
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { memo, useCallback, useEffect, useImperativeHandle, useMemo } from 'react';
|
|
3
3
|
import { runOnJS, useAnimatedReaction, useDerivedValue, useSharedValue } from 'react-native-reanimated';
|
|
4
4
|
import { Group, Paint, Rect } from '@shopify/react-native-skia';
|
|
5
5
|
import { useTheme } from '../../../hooks/useTheme';
|
|
@@ -16,8 +16,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
16
16
|
/**
|
|
17
17
|
* Unified component that manages all scrubber elements (beacons, line, labels).
|
|
18
18
|
*/
|
|
19
|
-
export const Scrubber = /*#__PURE__*/memo(
|
|
19
|
+
export const Scrubber = /*#__PURE__*/memo(_ref => {
|
|
20
20
|
let {
|
|
21
|
+
ref,
|
|
21
22
|
seriesIds,
|
|
22
23
|
hideBeaconLabels,
|
|
23
24
|
hideLine,
|
|
@@ -198,4 +199,4 @@ export const Scrubber = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) =>
|
|
|
198
199
|
transitions: transitions
|
|
199
200
|
})]
|
|
200
201
|
});
|
|
201
|
-
})
|
|
202
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { memo, useCallback, useImperativeHandle, useMemo } from 'react';
|
|
2
2
|
import { useDerivedValue } from 'react-native-reanimated';
|
|
3
3
|
import { useRefMap } from '@coinbase/cds-common/hooks/useRefMap';
|
|
4
4
|
import { useTheme } from '../../../hooks/useTheme';
|
|
@@ -98,8 +98,9 @@ const BeaconWithData = /*#__PURE__*/memo(_ref => {
|
|
|
98
98
|
transitions: transitions
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
|
-
export const ScrubberBeaconGroup = /*#__PURE__*/memo(
|
|
101
|
+
export const ScrubberBeaconGroup = /*#__PURE__*/memo(_ref2 => {
|
|
102
102
|
let {
|
|
103
|
+
ref,
|
|
103
104
|
seriesIds,
|
|
104
105
|
idlePulse,
|
|
105
106
|
transitions,
|
|
@@ -167,4 +168,4 @@ export const ScrubberBeaconGroup = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_r
|
|
|
167
168
|
stroke: stroke,
|
|
168
169
|
transitions: transitions
|
|
169
170
|
}, s.id));
|
|
170
|
-
})
|
|
171
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { memo, useMemo, useRef } from 'react';
|
|
3
3
|
import { Defs, G, LinearGradient, Mask, Path, Rect, Stop, Svg } from 'react-native-svg';
|
|
4
4
|
import { getAccessibleForegroundGradient } from '@coinbase/cds-common/color/getAccessibleForegroundGradient';
|
|
5
5
|
import { borderWidth } from '@coinbase/cds-common/tokens/sparkline';
|
|
@@ -15,8 +15,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
|
15
15
|
* @deprecated Use LineChart instead. This will be removed in a future major release.
|
|
16
16
|
* @deprecationExpectedRemoval v4
|
|
17
17
|
*/
|
|
18
|
-
export const Sparkline = /*#__PURE__*/memo(
|
|
18
|
+
export const Sparkline = /*#__PURE__*/memo(_ref => {
|
|
19
19
|
let {
|
|
20
|
+
ref,
|
|
20
21
|
background,
|
|
21
22
|
color,
|
|
22
23
|
height,
|
|
@@ -161,5 +162,5 @@ export const Sparkline = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) =
|
|
|
161
162
|
}), generateSparklineAreaWithId(patternId.current, children, fillType === 'gradientDotted' ? maskId : undefined)]
|
|
162
163
|
}))]
|
|
163
164
|
});
|
|
164
|
-
})
|
|
165
|
+
});
|
|
165
166
|
Sparkline.displayName = 'Sparkline';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { memo } from 'react';
|
|
2
2
|
import { Path } from 'react-native-svg';
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
/**
|
|
5
5
|
* @deprecated Use AreaChart instead. This will be removed in a future major release.
|
|
6
6
|
* @deprecationExpectedRemoval v4
|
|
7
7
|
*/
|
|
8
|
-
export const SparklineArea = /*#__PURE__*/memo(
|
|
8
|
+
export const SparklineArea = /*#__PURE__*/memo(_ref => {
|
|
9
9
|
let {
|
|
10
|
+
ref,
|
|
10
11
|
area,
|
|
11
12
|
patternId,
|
|
12
13
|
maskId
|
|
@@ -17,4 +18,4 @@ export const SparklineArea = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, re
|
|
|
17
18
|
fill: "url(#" + patternId + ")",
|
|
18
19
|
mask: maskId ? "url(#" + maskId + ")" : undefined
|
|
19
20
|
});
|
|
20
|
-
})
|
|
21
|
+
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { memo, useMemo, useRef } from 'react';
|
|
3
3
|
import { Defs, G, LinearGradient, Path, Stop, Svg } from 'react-native-svg';
|
|
4
4
|
import { getAccessibleForegroundGradient } from '@coinbase/cds-common/color/getAccessibleForegroundGradient';
|
|
5
5
|
import { borderWidth } from '@coinbase/cds-common/tokens/sparkline';
|
|
@@ -15,8 +15,9 @@ import { SparklineAreaPattern } from './SparklineAreaPattern';
|
|
|
15
15
|
* @deprecationExpectedRemoval v4
|
|
16
16
|
*/
|
|
17
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
-
export const SparklineGradient = /*#__PURE__*/memo(
|
|
18
|
+
export const SparklineGradient = /*#__PURE__*/memo(_ref => {
|
|
19
19
|
let {
|
|
20
|
+
ref,
|
|
20
21
|
background,
|
|
21
22
|
color,
|
|
22
23
|
path,
|
|
@@ -73,5 +74,5 @@ export const SparklineGradient = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref
|
|
|
73
74
|
}), generateSparklineAreaWithId(patternId.current, children)]
|
|
74
75
|
}))]
|
|
75
76
|
});
|
|
76
|
-
})
|
|
77
|
+
});
|
|
77
78
|
SparklineGradient.displayName = 'SparklineGradient';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { useImperativeHandle, useMemo, useRef } from 'react';
|
|
3
3
|
import { Animated, StyleSheet, TextInput } from 'react-native';
|
|
4
4
|
import { useTheme } from '../../../hooks/useTheme';
|
|
5
5
|
import { useSparklineInteractiveContext } from './SparklineInteractiveProvider';
|
|
@@ -27,8 +27,9 @@ const styles = StyleSheet.create({
|
|
|
27
27
|
}
|
|
28
28
|
});
|
|
29
29
|
const MAX_MEASURE_ITERATIONS = 5;
|
|
30
|
-
const SparklineInteractiveHoverDateWithGeneric =
|
|
30
|
+
const SparklineInteractiveHoverDateWithGeneric = _ref => {
|
|
31
31
|
let {
|
|
32
|
+
ref,
|
|
32
33
|
formatHoverDate,
|
|
33
34
|
shouldTakeUpHeight
|
|
34
35
|
} = _ref;
|
|
@@ -127,5 +128,5 @@ const SparklineInteractiveHoverDateWithGeneric = /*#__PURE__*/forwardRef((_ref,
|
|
|
127
128
|
})
|
|
128
129
|
})
|
|
129
130
|
});
|
|
130
|
-
}
|
|
131
|
+
};
|
|
131
132
|
export const SparklineInteractiveHoverDate = SparklineInteractiveHoverDateWithGeneric;
|
package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractivePanGestureHandler.js
CHANGED
|
@@ -10,8 +10,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
10
10
|
const {
|
|
11
11
|
lightImpact
|
|
12
12
|
} = Haptics;
|
|
13
|
-
// Generics do not work with React.memo
|
|
14
|
-
// https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref/58473012
|
|
13
|
+
// Generics do not work with React.memo
|
|
15
14
|
export const SparklineInteractivePanGestureHandler = function SparklineInteractivePanGestureHandler(_ref) {
|
|
16
15
|
let {
|
|
17
16
|
onScrubEnd = noop,
|
package/esm/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
|
-
import React, {
|
|
2
|
+
import React, { memo, useCallback, useImperativeHandle, useRef } from 'react';
|
|
3
3
|
import { TextInput, View } from 'react-native';
|
|
4
4
|
import { subheadIconSignMap } from '@coinbase/cds-common/tokens/sparkline';
|
|
5
5
|
import { HStack } from '../../../layout/HStack';
|
|
@@ -31,8 +31,9 @@ const Trailing = _ref => {
|
|
|
31
31
|
}
|
|
32
32
|
return null;
|
|
33
33
|
};
|
|
34
|
-
const SparklineInteractiveHeaderStable = /*#__PURE__*/memo(
|
|
34
|
+
const SparklineInteractiveHeaderStable = /*#__PURE__*/memo(_ref2 => {
|
|
35
35
|
let {
|
|
36
|
+
ref: forwardedRef,
|
|
36
37
|
defaultLabel,
|
|
37
38
|
defaultTitle,
|
|
38
39
|
defaultSubHead,
|
|
@@ -207,9 +208,10 @@ const SparklineInteractiveHeaderStable = /*#__PURE__*/memo(/*#__PURE__*/forwardR
|
|
|
207
208
|
children: trailing
|
|
208
209
|
})]
|
|
209
210
|
});
|
|
210
|
-
})
|
|
211
|
-
export const SparklineInteractiveHeader = /*#__PURE__*/memo(
|
|
211
|
+
});
|
|
212
|
+
export const SparklineInteractiveHeader = /*#__PURE__*/memo(_ref4 => {
|
|
212
213
|
let {
|
|
214
|
+
ref,
|
|
213
215
|
defaultLabel,
|
|
214
216
|
defaultTitle,
|
|
215
217
|
defaultSubHead,
|
|
@@ -231,4 +233,4 @@ export const SparklineInteractiveHeader = /*#__PURE__*/memo(/*#__PURE__*/forward
|
|
|
231
233
|
testID: testID,
|
|
232
234
|
trailing: trailing
|
|
233
235
|
});
|
|
234
|
-
})
|
|
236
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cds-mobile",
|
|
3
|
-
"version": "9.6.
|
|
3
|
+
"version": "9.6.3",
|
|
4
4
|
"description": "Coinbase Design System - Mobile",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"react-native-worklets": "0.5.2"
|
|
207
207
|
},
|
|
208
208
|
"dependencies": {
|
|
209
|
-
"@coinbase/cds-common": "^9.6.
|
|
209
|
+
"@coinbase/cds-common": "^9.6.3",
|
|
210
210
|
"@coinbase/cds-icons": "^5.20.0",
|
|
211
211
|
"@coinbase/cds-illustrations": "^4.44.0",
|
|
212
212
|
"@coinbase/cds-lottie-files": "^3.3.4",
|