@coinbase/cds-mobile 9.6.0 → 9.6.2
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/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/TextFallback.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/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/TextFallback.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,7 +1,7 @@
|
|
|
1
|
-
const _excluded = ["carouselRef", "items", "gap", "testID", "onDismissItem", "onDismissLastItem", "showProgress", "showDismiss", "itemWidth", "autoHeight", "dismissButtonAccessibilityLabel", "dismissButtonAccessibilityHint"];
|
|
1
|
+
const _excluded = ["ref", "carouselRef", "items", "gap", "testID", "onDismissItem", "onDismissLastItem", "showProgress", "showDismiss", "itemWidth", "autoHeight", "dismissButtonAccessibilityLabel", "dismissButtonAccessibilityHint"];
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
|
-
import React, {
|
|
4
|
+
import React, { memo, useCallback, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
5
5
|
import { Animated, StyleSheet } from 'react-native';
|
|
6
6
|
import { useSafeAreaFrame } from 'react-native-safe-area-context';
|
|
7
7
|
import { gutter } from '@coinbase/cds-common/tokens/sizing';
|
|
@@ -17,8 +17,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
17
17
|
* @deprecated Use new Carousel component instead. This will be removed in a future major release.
|
|
18
18
|
* @deprecationExpectedRemoval v8
|
|
19
19
|
*/
|
|
20
|
-
export const Carousel = /*#__PURE__*/memo(
|
|
20
|
+
export const Carousel = /*#__PURE__*/memo(_ref => {
|
|
21
21
|
let {
|
|
22
|
+
ref: forwardedRef,
|
|
22
23
|
carouselRef,
|
|
23
24
|
items,
|
|
24
25
|
gap = 0,
|
|
@@ -234,7 +235,7 @@ export const Carousel = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, forward
|
|
|
234
235
|
children: content
|
|
235
236
|
}))]
|
|
236
237
|
});
|
|
237
|
-
})
|
|
238
|
+
});
|
|
238
239
|
const styles = StyleSheet.create({
|
|
239
240
|
carousel: {
|
|
240
241
|
overflow: 'visible'
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
const _excluded = ["ComboboxControlComponent"],
|
|
2
|
-
_excluded2 = ["
|
|
2
|
+
_excluded2 = ["ref"],
|
|
3
|
+
_excluded3 = ["type", "value", "onChange", "options", "open", "setOpen", "label", "placeholder", "disabled", "variant", "startNode", "endNode", "align", "accessibilityLabel", "defaultOpen", "searchText", "onSearch", "defaultSearchText", "closeButtonLabel", "filterFunction", "SelectControlComponent", "ComboboxControlComponent", "SelectDropdownComponent", "hideSearchInput", "font"];
|
|
3
4
|
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); }
|
|
4
5
|
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; }
|
|
5
|
-
import { createContext,
|
|
6
|
+
import { createContext, memo, useCallback, useContext, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
6
7
|
import { KeyboardAvoidingView, Platform, View } from 'react-native';
|
|
7
8
|
import Fuse from 'fuse.js';
|
|
8
9
|
import { Button } from '../../buttons/Button';
|
|
@@ -52,7 +53,11 @@ const ComboboxControlContextAdapter = /*#__PURE__*/memo(_ref => {
|
|
|
52
53
|
searchText: searchText
|
|
53
54
|
}));
|
|
54
55
|
});
|
|
55
|
-
const ComboboxBase = /*#__PURE__*/memo(
|
|
56
|
+
const ComboboxBase = /*#__PURE__*/memo(_ref2 => {
|
|
57
|
+
let {
|
|
58
|
+
ref
|
|
59
|
+
} = _ref2,
|
|
60
|
+
_props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
56
61
|
const mergedProps = useComponentConfig('Combobox', _props);
|
|
57
62
|
const {
|
|
58
63
|
type = 'single',
|
|
@@ -81,7 +86,7 @@ const ComboboxBase = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) =>
|
|
|
81
86
|
hideSearchInput,
|
|
82
87
|
font
|
|
83
88
|
} = mergedProps,
|
|
84
|
-
props = _objectWithoutPropertiesLoose(mergedProps,
|
|
89
|
+
props = _objectWithoutPropertiesLoose(mergedProps, _excluded3);
|
|
85
90
|
const [searchTextInternal, setSearchTextInternal] = useState(defaultSearchText);
|
|
86
91
|
const searchText = searchTextProp != null ? searchTextProp : searchTextInternal;
|
|
87
92
|
const setSearchText = onSearchProp != null ? onSearchProp : setSearchTextInternal;
|
|
@@ -130,10 +135,10 @@ const ComboboxBase = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) =>
|
|
|
130
135
|
label: label,
|
|
131
136
|
minHeight: 500
|
|
132
137
|
}, props, {
|
|
133
|
-
footer:
|
|
138
|
+
footer: _ref3 => {
|
|
134
139
|
let {
|
|
135
140
|
handleClose
|
|
136
|
-
} =
|
|
141
|
+
} = _ref3;
|
|
137
142
|
return /*#__PURE__*/_jsx(KeyboardAvoidingView, {
|
|
138
143
|
behavior: "padding",
|
|
139
144
|
keyboardVerticalOffset: Platform.OS === 'ios' ? 106 : 0,
|
|
@@ -202,5 +207,5 @@ const ComboboxBase = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) =>
|
|
|
202
207
|
variant: variant
|
|
203
208
|
}, props))
|
|
204
209
|
});
|
|
205
|
-
})
|
|
210
|
+
});
|
|
206
211
|
export const Combobox = ComboboxBase;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
const _excluded = ["root"],
|
|
2
|
-
_excluded2 = ["title", "subtitle", "titleAccessory", "thumbnail", "children", "layout", "style", "styles"];
|
|
2
|
+
_excluded2 = ["ref", "title", "subtitle", "titleAccessory", "thumbnail", "children", "layout", "style", "styles"];
|
|
3
3
|
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); }
|
|
4
4
|
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; }
|
|
5
|
-
import {
|
|
5
|
+
import { memo } from 'react';
|
|
6
6
|
import { CardRoot } from '../../cards/CardRoot';
|
|
7
7
|
import { DataCardLayout } from './DataCardLayout';
|
|
8
8
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
@@ -11,8 +11,9 @@ const dataCardContainerProps = {
|
|
|
11
11
|
background: 'bgAlternate',
|
|
12
12
|
overflow: 'hidden'
|
|
13
13
|
};
|
|
14
|
-
export const DataCard = /*#__PURE__*/memo(
|
|
14
|
+
export const DataCard = /*#__PURE__*/memo(_ref => {
|
|
15
15
|
let {
|
|
16
|
+
ref,
|
|
16
17
|
title,
|
|
17
18
|
subtitle,
|
|
18
19
|
titleAccessory,
|
|
@@ -40,5 +41,5 @@ export const DataCard = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) =>
|
|
|
40
41
|
children: children
|
|
41
42
|
})
|
|
42
43
|
}));
|
|
43
|
-
})
|
|
44
|
+
});
|
|
44
45
|
DataCard.displayName = 'DataCard';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { memo } from 'react';
|
|
2
2
|
import { Divider } from '../../layout/Divider';
|
|
3
3
|
import { DefaultSelectOption } from './DefaultSelectOption';
|
|
4
4
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
-
const DefaultSelectAllOptionComponent = /*#__PURE__*/memo(
|
|
5
|
+
const DefaultSelectAllOptionComponent = /*#__PURE__*/memo(_ref => {
|
|
6
6
|
let {
|
|
7
|
+
ref,
|
|
7
8
|
accessory,
|
|
8
9
|
blendStyles,
|
|
9
10
|
compact,
|
|
@@ -40,5 +41,5 @@ const DefaultSelectAllOptionComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRe
|
|
|
40
41
|
style: styles == null ? void 0 : styles.selectAllDivider
|
|
41
42
|
})]
|
|
42
43
|
});
|
|
43
|
-
})
|
|
44
|
+
});
|
|
44
45
|
export const DefaultSelectAllOption = DefaultSelectAllOptionComponent;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const _excluded = ["type", "options", "value", "onChange", "open", "placeholder", "disabled", "readOnly", "setOpen", "variant", "helperText", "label", "labelVariant", "contentNode", "startNode", "endNode", "compact", "align", "font", "labelColor", "labelFont", "bordered", "borderWidth", "focusedBorderWidth", "inputBackground", "borderRadius", "maxSelectedOptionsToShow", "accessibilityHint", "accessibilityLabel", "hiddenSelectedOptionsLabel", "removeSelectedOptionAccessibilityLabel", "style", "styles", "onBlur", "onFocus"];
|
|
1
|
+
const _excluded = ["ref", "type", "options", "value", "onChange", "open", "placeholder", "disabled", "readOnly", "setOpen", "variant", "helperText", "label", "labelVariant", "contentNode", "startNode", "endNode", "compact", "align", "font", "labelColor", "labelFont", "bordered", "borderWidth", "focusedBorderWidth", "inputBackground", "borderRadius", "maxSelectedOptionsToShow", "accessibilityHint", "accessibilityLabel", "hiddenSelectedOptionsLabel", "removeSelectedOptionAccessibilityLabel", "style", "styles", "onBlur", "onFocus"];
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
|
-
import {
|
|
4
|
+
import { memo, useCallback, useMemo } from 'react';
|
|
5
5
|
import { Pressable, TouchableOpacity } from 'react-native';
|
|
6
6
|
import { useInputVariant } from '@coinbase/cds-common/hooks/useInputVariant';
|
|
7
7
|
import { InputChip } from '../../chips/InputChip';
|
|
@@ -24,8 +24,9 @@ const variantColor = {
|
|
|
24
24
|
foregroundMuted: 'fgMuted',
|
|
25
25
|
secondary: 'fgMuted'
|
|
26
26
|
};
|
|
27
|
-
export const DefaultSelectControlComponent = /*#__PURE__*/memo(
|
|
27
|
+
export const DefaultSelectControlComponent = /*#__PURE__*/memo(_ref => {
|
|
28
28
|
let {
|
|
29
|
+
ref,
|
|
29
30
|
type,
|
|
30
31
|
options,
|
|
31
32
|
value,
|
|
@@ -317,5 +318,5 @@ export const DefaultSelectControlComponent = /*#__PURE__*/memo(/*#__PURE__*/forw
|
|
|
317
318
|
},
|
|
318
319
|
variant: variant
|
|
319
320
|
}, props));
|
|
320
|
-
})
|
|
321
|
+
});
|
|
321
322
|
export const DefaultSelectControl = DefaultSelectControlComponent;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const _excluded = ["type", "options", "value", "onChange", "onVisibilityChange", "open", "setOpen", "controlRef", "disabled", "style", "styles", "compact", "header", "footer", "label", "end", "selectAllLabel", "emptyOptionsLabel", "clearAllLabel", "hideSelectAll", "accessory", "media", "SelectOptionComponent", "SelectAllOptionComponent", "SelectEmptyDropdownContentsComponent", "SelectOptionGroupComponent", "accessibilityRoles"],
|
|
1
|
+
const _excluded = ["ref", "type", "options", "value", "onChange", "onVisibilityChange", "open", "setOpen", "controlRef", "disabled", "style", "styles", "compact", "header", "footer", "label", "end", "selectAllLabel", "emptyOptionsLabel", "clearAllLabel", "hideSelectAll", "accessory", "media", "SelectOptionComponent", "SelectAllOptionComponent", "SelectEmptyDropdownContentsComponent", "SelectOptionGroupComponent", "accessibilityRoles"],
|
|
2
2
|
_excluded2 = ["Component", "media", "accessory", "end", "disabled"];
|
|
3
3
|
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); }
|
|
4
4
|
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; }
|
|
5
|
-
import {
|
|
5
|
+
import { memo, useCallback, useMemo } from 'react';
|
|
6
6
|
import { ScrollView } from 'react-native';
|
|
7
7
|
import { Button } from '../../buttons/Button';
|
|
8
8
|
import { Checkbox } from '../../controls/Checkbox';
|
|
@@ -15,8 +15,9 @@ import { DefaultSelectOption } from './DefaultSelectOption';
|
|
|
15
15
|
import { DefaultSelectOptionGroup } from './DefaultSelectOptionGroup';
|
|
16
16
|
import { defaultAccessibilityRoles, isSelectOptionGroup } from './Select';
|
|
17
17
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
18
|
-
const DefaultSelectDropdownComponent = /*#__PURE__*/memo(
|
|
18
|
+
const DefaultSelectDropdownComponent = /*#__PURE__*/memo(_ref => {
|
|
19
19
|
let {
|
|
20
|
+
ref,
|
|
20
21
|
type,
|
|
21
22
|
options,
|
|
22
23
|
value,
|
|
@@ -237,5 +238,5 @@ const DefaultSelectDropdownComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef
|
|
|
237
238
|
}))
|
|
238
239
|
})
|
|
239
240
|
});
|
|
240
|
-
})
|
|
241
|
+
});
|
|
241
242
|
export const DefaultSelectDropdown = DefaultSelectDropdownComponent;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { memo } from 'react';
|
|
2
2
|
import { Box } from '../../layout/Box';
|
|
3
3
|
import { Text } from '../../typography/Text';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
|
-
export const DefaultSelectEmptyDropdownContents = /*#__PURE__*/memo(
|
|
5
|
+
export const DefaultSelectEmptyDropdownContents = /*#__PURE__*/memo(_ref => {
|
|
6
6
|
let {
|
|
7
|
+
ref,
|
|
7
8
|
label,
|
|
8
9
|
styles
|
|
9
10
|
} = _ref;
|
|
@@ -18,4 +19,4 @@ export const DefaultSelectEmptyDropdownContents = /*#__PURE__*/memo(/*#__PURE__*
|
|
|
18
19
|
children: label
|
|
19
20
|
})
|
|
20
21
|
});
|
|
21
|
-
})
|
|
22
|
+
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
const _excluded = ["value", "label", "onPress", "disabled", "selected", "indeterminate", "compact", "description", "multiline", "style", "styles", "type", "accessibilityRole", "background"];
|
|
1
|
+
const _excluded = ["ref", "value", "label", "onPress", "disabled", "selected", "indeterminate", "compact", "description", "multiline", "style", "styles", "type", "accessibilityRole", "background"];
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
|
-
import {
|
|
4
|
+
import { memo, useCallback, useMemo } from 'react';
|
|
5
5
|
import { selectCellMobileSpacingConfig } from '@coinbase/cds-common/tokens/select';
|
|
6
6
|
import { Cell } from '../../cells/Cell';
|
|
7
7
|
import { VStack } from '../../layout/VStack';
|
|
8
8
|
import { Text } from '../../typography/Text';
|
|
9
9
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
-
const DefaultSelectOptionComponent =
|
|
10
|
+
const DefaultSelectOptionComponent = _ref => {
|
|
11
11
|
let {
|
|
12
12
|
value,
|
|
13
13
|
label,
|
|
@@ -69,4 +69,4 @@ const DefaultSelectOptionComponent = (_ref, ref) => {
|
|
|
69
69
|
})
|
|
70
70
|
}));
|
|
71
71
|
};
|
|
72
|
-
export const DefaultSelectOption = /*#__PURE__*/memo(
|
|
72
|
+
export const DefaultSelectOption = /*#__PURE__*/memo(DefaultSelectOptionComponent);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
const _excluded = ["ref"],
|
|
2
|
+
_excluded2 = ["value", "type", "options", "onChange", "open", "setOpen", "disabled", "readOnly", "disableClickOutsideClose", "placeholder", "helperText", "compact", "label", "labelVariant", "accessibilityLabel", "accessibilityHint", "accessibilityRoles", "selectAllLabel", "emptyOptionsLabel", "clearAllLabel", "hideSelectAll", "defaultOpen", "startNode", "endNode", "variant", "maxSelectedOptionsToShow", "hiddenSelectedOptionsLabel", "removeSelectedOptionAccessibilityLabel", "accessory", "media", "end", "align", "font", "bordered", "borderWidth", "focusedBorderWidth", "inputBackground", "labelColor", "labelFont", "borderRadius", "SelectOptionComponent", "SelectAllOptionComponent", "SelectDropdownComponent", "SelectControlComponent", "SelectEmptyDropdownContentsComponent", "SelectOptionGroupComponent", "style", "styles", "testID"];
|
|
3
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
|
+
import React, { memo, useImperativeHandle, useMemo, useRef, useState } from 'react';
|
|
2
5
|
import { View } from 'react-native';
|
|
3
6
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
4
7
|
import { DefaultSelectAllOption } from './DefaultSelectAllOption';
|
|
@@ -16,59 +19,63 @@ export const defaultAccessibilityRoles = {
|
|
|
16
19
|
// Re-export all types for backward compatibility
|
|
17
20
|
|
|
18
21
|
export { isSelectOptionGroup };
|
|
19
|
-
const SelectBase = /*#__PURE__*/memo(
|
|
22
|
+
const SelectBase = /*#__PURE__*/memo(_ref => {
|
|
23
|
+
let {
|
|
24
|
+
ref
|
|
25
|
+
} = _ref,
|
|
26
|
+
_props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
20
27
|
const mergedProps = useComponentConfig('Select', _props);
|
|
21
28
|
const {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
29
|
+
value,
|
|
30
|
+
type = 'single',
|
|
31
|
+
options,
|
|
32
|
+
onChange,
|
|
33
|
+
open: openProp,
|
|
34
|
+
setOpen: setOpenProp,
|
|
35
|
+
disabled,
|
|
36
|
+
readOnly,
|
|
37
|
+
placeholder,
|
|
38
|
+
helperText,
|
|
39
|
+
compact,
|
|
40
|
+
label,
|
|
41
|
+
labelVariant,
|
|
42
|
+
accessibilityLabel = typeof label === 'string' ? label : 'Select control',
|
|
43
|
+
accessibilityHint,
|
|
44
|
+
accessibilityRoles = defaultAccessibilityRoles,
|
|
45
|
+
selectAllLabel,
|
|
46
|
+
emptyOptionsLabel,
|
|
47
|
+
clearAllLabel,
|
|
48
|
+
hideSelectAll,
|
|
49
|
+
defaultOpen,
|
|
50
|
+
startNode,
|
|
51
|
+
endNode,
|
|
52
|
+
variant,
|
|
53
|
+
maxSelectedOptionsToShow,
|
|
54
|
+
hiddenSelectedOptionsLabel,
|
|
55
|
+
removeSelectedOptionAccessibilityLabel,
|
|
56
|
+
accessory,
|
|
57
|
+
media,
|
|
58
|
+
end,
|
|
59
|
+
align,
|
|
60
|
+
font,
|
|
61
|
+
bordered = true,
|
|
62
|
+
borderWidth,
|
|
63
|
+
focusedBorderWidth,
|
|
64
|
+
inputBackground,
|
|
65
|
+
labelColor,
|
|
66
|
+
labelFont,
|
|
67
|
+
borderRadius,
|
|
68
|
+
SelectOptionComponent = DefaultSelectOption,
|
|
69
|
+
SelectAllOptionComponent = DefaultSelectAllOption,
|
|
70
|
+
SelectDropdownComponent = DefaultSelectDropdown,
|
|
71
|
+
SelectControlComponent = DefaultSelectControl,
|
|
72
|
+
SelectEmptyDropdownContentsComponent = DefaultSelectEmptyDropdownContents,
|
|
73
|
+
SelectOptionGroupComponent = DefaultSelectOptionGroup,
|
|
74
|
+
style,
|
|
75
|
+
styles,
|
|
76
|
+
testID
|
|
77
|
+
} = mergedProps,
|
|
78
|
+
props = _objectWithoutPropertiesLoose(mergedProps, _excluded2);
|
|
72
79
|
const [openInternal, setOpenInternal] = useState(defaultOpen != null ? defaultOpen : false);
|
|
73
80
|
const open = openProp != null ? openProp : openInternal;
|
|
74
81
|
const setOpen = setOpenProp != null ? setOpenProp : setOpenInternal;
|
|
@@ -170,5 +177,5 @@ const SelectBase = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) => {
|
|
|
170
177
|
value: value
|
|
171
178
|
})]
|
|
172
179
|
});
|
|
173
|
-
})
|
|
180
|
+
});
|
|
174
181
|
export const Select = SelectBase;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
const _excluded = ["
|
|
1
|
+
const _excluded = ["ref"],
|
|
2
|
+
_excluded2 = ["invertColorScheme", "numberOfLines", "maxWidth", "displayValue"];
|
|
2
3
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
4
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
|
-
import React, {
|
|
5
|
+
import React, { memo, useCallback } from 'react';
|
|
5
6
|
import { useComponentConfig } from '../../hooks/useComponentConfig';
|
|
6
7
|
import { Select } from '../select/Select';
|
|
7
8
|
import { SelectChipControl } from './SelectChipControl';
|
|
@@ -10,7 +11,11 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
10
11
|
* Chip-styled Select control built on top of the Alpha Select.
|
|
11
12
|
* Supports both single and multi selection via Select's `type` prop.
|
|
12
13
|
*/
|
|
13
|
-
const SelectChipComponent = /*#__PURE__*/memo(
|
|
14
|
+
const SelectChipComponent = /*#__PURE__*/memo(_ref => {
|
|
15
|
+
let {
|
|
16
|
+
ref
|
|
17
|
+
} = _ref,
|
|
18
|
+
_props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
14
19
|
const mergedProps = useComponentConfig('SelectChip', _props);
|
|
15
20
|
const {
|
|
16
21
|
invertColorScheme,
|
|
@@ -18,7 +23,7 @@ const SelectChipComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, r
|
|
|
18
23
|
maxWidth,
|
|
19
24
|
displayValue
|
|
20
25
|
} = mergedProps,
|
|
21
|
-
props = _objectWithoutPropertiesLoose(mergedProps,
|
|
26
|
+
props = _objectWithoutPropertiesLoose(mergedProps, _excluded2);
|
|
22
27
|
const SelectChipControlComponent = useCallback(props => {
|
|
23
28
|
return /*#__PURE__*/_jsx(SelectChipControl, _extends({
|
|
24
29
|
displayValue: displayValue,
|
|
@@ -31,6 +36,6 @@ const SelectChipComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, r
|
|
|
31
36
|
ref: ref,
|
|
32
37
|
SelectControlComponent: SelectChipControlComponent
|
|
33
38
|
}, props));
|
|
34
|
-
})
|
|
39
|
+
});
|
|
35
40
|
SelectChipComponent.displayName = 'SelectChip';
|
|
36
41
|
export const SelectChip = SelectChipComponent;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { memo, useMemo } from 'react';
|
|
2
2
|
import { MediaChip } from '../../chips/MediaChip';
|
|
3
3
|
import { AnimatedCaret } from '../../motion/AnimatedCaret';
|
|
4
4
|
import { isSelectOptionGroup } from '../select/types';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
const SelectChipControlComponent = /*#__PURE__*/memo(
|
|
6
|
+
const SelectChipControlComponent = /*#__PURE__*/memo(_ref => {
|
|
7
7
|
let {
|
|
8
|
+
ref,
|
|
8
9
|
type,
|
|
9
10
|
options,
|
|
10
11
|
value,
|
|
@@ -111,5 +112,5 @@ const SelectChipControlComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_r
|
|
|
111
112
|
start: startNode,
|
|
112
113
|
children: labelContent
|
|
113
114
|
});
|
|
114
|
-
})
|
|
115
|
+
});
|
|
115
116
|
export const SelectChipControl = SelectChipControlComponent;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
const _excluded = ["label", "id", "activeBackground", "activeColor", "color"],
|
|
2
|
-
_excluded2 = ["
|
|
2
|
+
_excluded2 = ["ref"],
|
|
3
|
+
_excluded3 = ["tabs", "activeTab", "testID", "TabComponent", "onChange", "width", "gap", "compact", "styles", "autoScrollOffset"];
|
|
3
4
|
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); }
|
|
4
5
|
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; }
|
|
5
|
-
import React, {
|
|
6
|
+
import React, { memo, useCallback, useMemo, useState } from 'react';
|
|
6
7
|
import { ScrollView } from 'react-native';
|
|
7
8
|
import { useTabsContext } from '@coinbase/cds-common/tabs/TabsContext';
|
|
8
9
|
import { MediaChip } from '../../chips/MediaChip';
|
|
@@ -42,7 +43,11 @@ const DefaultTabComponent = _ref => {
|
|
|
42
43
|
const TabsActiveIndicatorComponent = () => {
|
|
43
44
|
return null;
|
|
44
45
|
};
|
|
45
|
-
const TabbedChipsComponent = /*#__PURE__*/memo(
|
|
46
|
+
const TabbedChipsComponent = /*#__PURE__*/memo(function TabbedChips(_ref2) {
|
|
47
|
+
let {
|
|
48
|
+
ref
|
|
49
|
+
} = _ref2,
|
|
50
|
+
_props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
46
51
|
const mergedProps = useComponentConfig('TabbedChips', _props);
|
|
47
52
|
const {
|
|
48
53
|
tabs,
|
|
@@ -56,7 +61,7 @@ const TabbedChipsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function
|
|
|
56
61
|
styles,
|
|
57
62
|
autoScrollOffset = 30
|
|
58
63
|
} = mergedProps,
|
|
59
|
-
accessibilityProps = _objectWithoutPropertiesLoose(mergedProps,
|
|
64
|
+
accessibilityProps = _objectWithoutPropertiesLoose(mergedProps, _excluded3);
|
|
60
65
|
const [scrollTarget, setScrollTarget] = useState(null);
|
|
61
66
|
const {
|
|
62
67
|
scrollRef,
|
|
@@ -105,6 +110,6 @@ const TabbedChipsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function
|
|
|
105
110
|
pin: "right"
|
|
106
111
|
})]
|
|
107
112
|
});
|
|
108
|
-
})
|
|
113
|
+
});
|
|
109
114
|
TabbedChipsComponent.displayName = 'TabbedChips';
|
|
110
115
|
export const TabbedChips = TabbedChipsComponent;
|
package/esm/animation/Lottie.js
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
const _excluded = ["autoplay", "colorFilters", "loop", "progress", "resizeMode", "source", "onAnimationFinish"],
|
|
2
|
-
_excluded2 = ["colorFilters"];
|
|
1
|
+
const _excluded = ["ref", "autoplay", "colorFilters", "loop", "progress", "resizeMode", "source", "onAnimationFinish"],
|
|
2
|
+
_excluded2 = ["ref", "colorFilters"];
|
|
3
3
|
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); }
|
|
4
4
|
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; }
|
|
5
|
-
import React, {
|
|
5
|
+
import React, { memo, useMemo } from 'react';
|
|
6
6
|
import { Animated } from 'react-native';
|
|
7
7
|
import LottieView from 'lottie-react-native';
|
|
8
8
|
import { Box } from '../layout/Box';
|
|
9
9
|
import { useLottieColorFilters } from './useLottieColorFilters';
|
|
10
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
11
|
const AnimatedLottieView = Animated.createAnimatedComponent(LottieView);
|
|
12
|
-
const LottieContent = /*#__PURE__*/memo(
|
|
12
|
+
const LottieContent = /*#__PURE__*/memo(_ref => {
|
|
13
13
|
let {
|
|
14
|
+
ref: forwardedRef,
|
|
14
15
|
autoplay = false,
|
|
15
16
|
colorFilters,
|
|
16
17
|
loop = false,
|
|
@@ -43,9 +44,10 @@ const LottieContent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, forwarded
|
|
|
43
44
|
style: lottieStyles
|
|
44
45
|
})
|
|
45
46
|
}));
|
|
46
|
-
})
|
|
47
|
-
export const Lottie = /*#__PURE__*/memo(
|
|
47
|
+
});
|
|
48
|
+
export const Lottie = /*#__PURE__*/memo(_ref2 => {
|
|
48
49
|
let {
|
|
50
|
+
ref: forwardedRef,
|
|
49
51
|
colorFilters: colorFiltersProp
|
|
50
52
|
} = _ref2,
|
|
51
53
|
props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
|
|
@@ -54,6 +56,6 @@ export const Lottie = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref2, forwarde
|
|
|
54
56
|
ref: forwardedRef,
|
|
55
57
|
colorFilters: colorFilters
|
|
56
58
|
}, props));
|
|
57
|
-
})
|
|
59
|
+
});
|
|
58
60
|
LottieContent.displayName = 'LottieContent';
|
|
59
61
|
Lottie.displayName = 'Lottie';
|
package/esm/banner/Banner.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
const _excluded = ["
|
|
1
|
+
const _excluded = ["ref"],
|
|
2
|
+
_excluded2 = ["variant", "startIcon", "startIconActive", "onClose", "primaryAction", "secondaryAction", "title", "children", "showDismiss", "testID", "numberOfLines", "style", "label", "styleVariant", "startIconAccessibilityLabel", "closeAccessibilityLabel", "borderRadius", "margin", "marginX", "marginY", "marginTop", "marginEnd", "marginBottom", "marginStart", "styles"];
|
|
2
3
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
4
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
|
-
import React, {
|
|
5
|
+
import React, { isValidElement, memo, useCallback, useMemo, useState } from 'react';
|
|
5
6
|
import { variants } from '@coinbase/cds-common/tokens/banner';
|
|
6
7
|
import { Collapsible } from '../collapsible/Collapsible';
|
|
7
8
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
@@ -26,7 +27,11 @@ import { Text } from '../typography/Text';
|
|
|
26
27
|
* @deprecationExpectedRemoval v10
|
|
27
28
|
*/
|
|
28
29
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
|
-
export const Banner = /*#__PURE__*/memo(
|
|
30
|
+
export const Banner = /*#__PURE__*/memo(function Banner(_ref) {
|
|
31
|
+
let {
|
|
32
|
+
ref: forwardedRef
|
|
33
|
+
} = _ref,
|
|
34
|
+
_props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
30
35
|
const mergedProps = useComponentConfig('Banner', _props);
|
|
31
36
|
const {
|
|
32
37
|
variant,
|
|
@@ -55,7 +60,7 @@ export const Banner = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Banner(
|
|
|
55
60
|
marginStart,
|
|
56
61
|
styles
|
|
57
62
|
} = mergedProps,
|
|
58
|
-
props = _objectWithoutPropertiesLoose(mergedProps,
|
|
63
|
+
props = _objectWithoutPropertiesLoose(mergedProps, _excluded2);
|
|
59
64
|
const [isCollapsed, setIsCollapsed] = useState(false);
|
|
60
65
|
const theme = useTheme();
|
|
61
66
|
|
|
@@ -214,4 +219,4 @@ export const Banner = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Banner(
|
|
|
214
219
|
children: content
|
|
215
220
|
}) : content, styleVariant === 'global' && borderBox]
|
|
216
221
|
}));
|
|
217
|
-
})
|
|
222
|
+
});
|
package/esm/buttons/Button.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
const _excluded = ["
|
|
1
|
+
const _excluded = ["ref"],
|
|
2
|
+
_excluded2 = ["variant", "loading", "progressCircleSize", "transparent", "block", "compact", "children", "start", "startIcon", "startIconActive", "end", "endIcon", "endIconActive", "flush", "noScaleOnPress", "numberOfLines", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "background", "color", "style", "wrapperStyles", "feedback", "borderColor", "borderWidth", "borderRadius", "accessibilityLabel", "accessibilityHint", "padding", "paddingStart", "paddingEnd", "paddingTop", "paddingBottom", "paddingX", "paddingY"];
|
|
2
3
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
4
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
|
-
import React, {
|
|
5
|
+
import React, { isValidElement, memo, useCallback, useMemo } from 'react';
|
|
5
6
|
import { StyleSheet } from 'react-native';
|
|
6
7
|
import { transparentVariants, variants } from '@coinbase/cds-common/tokens/button';
|
|
7
8
|
import { useComponentConfig } from '../hooks/useComponentConfig';
|
|
@@ -28,7 +29,11 @@ export const styles = StyleSheet.create({
|
|
|
28
29
|
flexShrink: 0
|
|
29
30
|
}
|
|
30
31
|
});
|
|
31
|
-
export const Button = /*#__PURE__*/memo(
|
|
32
|
+
export const Button = /*#__PURE__*/memo(function Button(_ref) {
|
|
33
|
+
let {
|
|
34
|
+
ref
|
|
35
|
+
} = _ref,
|
|
36
|
+
_props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
32
37
|
const mergedProps = useComponentConfig('Button', _props);
|
|
33
38
|
const {
|
|
34
39
|
variant = 'primary',
|
|
@@ -71,7 +76,7 @@ export const Button = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Button(
|
|
|
71
76
|
paddingX = compact ? 2 : 4,
|
|
72
77
|
paddingY = compact ? 1 : 2
|
|
73
78
|
} = mergedProps,
|
|
74
|
-
props = _objectWithoutPropertiesLoose(mergedProps,
|
|
79
|
+
props = _objectWithoutPropertiesLoose(mergedProps, _excluded2);
|
|
75
80
|
const theme = useTheme();
|
|
76
81
|
const iconSize = compact ? 's' : 'm';
|
|
77
82
|
const hasIcon = Boolean(startIcon || endIcon);
|
|
@@ -152,5 +157,5 @@ export const Button = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Button(
|
|
|
152
157
|
})
|
|
153
158
|
})
|
|
154
159
|
}));
|
|
155
|
-
})
|
|
160
|
+
});
|
|
156
161
|
Button.displayName = 'Button';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import React, {
|
|
1
|
+
import React, { memo } from 'react';
|
|
2
2
|
import Animated, { useAnimatedStyle } from 'react-native-reanimated';
|
|
3
3
|
import { Box } from '../layout/Box';
|
|
4
4
|
import { Text } from '../typography/Text';
|
|
5
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
|
-
export const DefaultSlideButtonBackground = /*#__PURE__*/memo(
|
|
6
|
+
export const DefaultSlideButtonBackground = /*#__PURE__*/memo(_ref => {
|
|
7
7
|
let {
|
|
8
|
+
ref,
|
|
8
9
|
progress,
|
|
9
10
|
uncheckedLabel,
|
|
10
11
|
disabled,
|
|
@@ -45,4 +46,4 @@ export const DefaultSlideButtonBackground = /*#__PURE__*/memo(/*#__PURE__*/forwa
|
|
|
45
46
|
})
|
|
46
47
|
})
|
|
47
48
|
});
|
|
48
|
-
})
|
|
49
|
+
});
|