@coinbase/cds-mobile 8.13.1 → 8.13.5
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 +61 -0
- package/dts/accordion/Accordion.d.ts +12 -2
- package/dts/accordion/AccordionHeader.d.ts +43 -27
- package/dts/accordion/AccordionItem.d.ts +19 -4
- package/dts/accordion/AccordionPanel.d.ts +17 -11
- package/dts/accordion/__figma__/Accordion.figma.d.ts +1 -1
- package/dts/accordion/index.d.ts +1 -1
- package/dts/alpha/carousel/Carousel.d.ts +61 -49
- package/dts/alpha/carousel/CarouselControlsWrapper.d.ts +2 -2
- package/dts/alpha/carousel/CarouselItem.d.ts +26 -26
- package/dts/alpha/carousel/types.d.ts +16 -16
- package/dts/alpha/carousel/useCarousel.d.ts +2 -2
- package/dts/alpha/carousel/useCarouselItem.d.ts +1 -1
- package/dts/animation/AnimationProps.d.ts +4 -4
- package/dts/animation/Lottie.d.ts +22 -13
- package/dts/animation/Lottie.e2e.d.ts +11 -2
- package/dts/animation/LottieStatusAnimation.d.ts +7 -2
- package/dts/animation/convertMotionConfig.d.ts +15 -8
- package/dts/animation/createLottie.d.ts +22 -19
- package/dts/animation/createLottie.e2e.d.ts +28 -19
- package/dts/animation/index.d.ts +1 -1
- package/dts/animation/lottieProgresConfig.d.ts +4 -4
- package/dts/animation/mocks.d.ts +38 -20
- package/dts/animation/types.d.ts +49 -46
- package/dts/animation/useLottie.d.ts +5 -2
- package/dts/animation/useLottie.e2e.d.ts +28 -19
- package/dts/animation/useLottieColorFilters.d.ts +7 -4
- package/dts/animation/useRotateAnimation.d.ts +14 -10
- package/dts/banner/Banner.d.ts +102 -92
- package/dts/buttons/AvatarButton.d.ts +5 -2
- package/dts/buttons/Button.d.ts +87 -71
- package/dts/buttons/ButtonGroup.d.ts +9 -4
- package/dts/buttons/DefaultSlideButtonBackground.d.ts +18 -11
- package/dts/buttons/DefaultSlideButtonHandle.d.ts +63 -39
- package/dts/buttons/IconButton.d.ts +5 -3
- package/dts/buttons/IconCounterButton.d.ts +33 -24
- package/dts/buttons/SlideButton.d.ts +212 -201
- package/dts/buttons/__figma__/AvatarButton.figma.d.ts +1 -1
- package/dts/buttons/__figma__/Button.figma.d.ts +1 -1
- package/dts/buttons/__figma__/ButtonGroup.figma.d.ts +1 -1
- package/dts/buttons/__figma__/IconButton.figma.d.ts +1 -1
- package/dts/buttons/__figma__/SlideButton.figma.d.ts +1 -1
- package/dts/buttons/index.d.ts +1 -1
- package/dts/cards/AnnouncementCard.d.ts +1 -1
- package/dts/cards/Card.d.ts +8 -3
- package/dts/cards/CardBody.d.ts +7 -3
- package/dts/cards/CardFooter.d.ts +7 -3
- package/dts/cards/CardGroup.d.ts +39 -31
- package/dts/cards/CardHeader.d.ts +10 -2
- package/dts/cards/CardMedia.d.ts +1 -1
- package/dts/cards/CardRemoteImage.d.ts +1 -1
- package/dts/cards/ContainedAssetCard.d.ts +37 -22
- package/dts/cards/ContentCard/ContentCard.d.ts +25 -18
- package/dts/cards/ContentCard/ContentCardBody.d.ts +50 -43
- package/dts/cards/ContentCard/ContentCardFooter.d.ts +28 -21
- package/dts/cards/ContentCard/ContentCardHeader.d.ts +42 -35
- package/dts/cards/ContentCard/__figma__/ContentCard.figma.d.ts +1 -1
- package/dts/cards/ContentCard/__figma__/ContentCardBody.figma.d.ts +1 -1
- package/dts/cards/ContentCard/__figma__/ContentCardFooter.figma.d.ts +1 -1
- package/dts/cards/ContentCard/__figma__/ContentCardHeader.figma.d.ts +1 -1
- package/dts/cards/ContentCard/index.d.ts +1 -1
- package/dts/cards/DataCard.d.ts +5 -4
- package/dts/cards/FeatureEntryCard.d.ts +1 -1
- package/dts/cards/FeedCard.d.ts +6 -4
- package/dts/cards/FloatingAssetCard.d.ts +29 -19
- package/dts/cards/LikeButton.d.ts +7 -3
- package/dts/cards/NudgeCard.d.ts +32 -5
- package/dts/cards/UpsellCard.d.ts +26 -5
- package/dts/cards/__figma__/AnnouncementCard.figma.d.ts +1 -1
- package/dts/cards/__figma__/ContainedAssetCard.figma.d.ts +1 -1
- package/dts/cards/__figma__/FloatingAssetCard.figma.d.ts +1 -1
- package/dts/cards/__figma__/NudgeCard.figma.d.ts +1 -1
- package/dts/cards/__figma__/UpsellCard.figma.d.ts +1 -1
- package/dts/cards/index.d.ts +1 -1
- package/dts/carousel/Carousel.d.ts +213 -204
- package/dts/carousel/CarouselItem.d.ts +4 -2
- package/dts/carousel/DefaultCarouselNavigation.d.ts +37 -37
- package/dts/carousel/DefaultCarouselPagination.d.ts +12 -12
- package/dts/carousel/index.d.ts +1 -1
- package/dts/cells/Cell.d.ts +21 -4
- package/dts/cells/CellAccessory.d.ts +7 -7
- package/dts/cells/CellDetail.d.ts +14 -14
- package/dts/cells/CellHelperText.d.ts +6 -4
- package/dts/cells/CellMedia.d.ts +20 -18
- package/dts/cells/ContentCell.d.ts +13 -13
- package/dts/cells/ContentCellFallback.d.ts +11 -11
- package/dts/cells/ListCell.d.ts +4 -3
- package/dts/cells/ListCellFallback.d.ts +19 -17
- package/dts/cells/MediaFallback.d.ts +2 -2
- package/dts/cells/__figma__/ContentCell.figma.d.ts +1 -1
- package/dts/cells/__figma__/ListCell.figma.d.ts +1 -1
- package/dts/cells/index.d.ts +1 -1
- package/dts/chips/Chip.d.ts +17 -11
- package/dts/chips/ChipProps.d.ts +14 -8
- package/dts/chips/InputChip.d.ts +10 -5
- package/dts/chips/SelectChip.d.ts +19 -8
- package/dts/chips/TabbedChips.d.ts +9 -4
- package/dts/chips/__figma__/InputChip.figma.d.ts +1 -1
- package/dts/chips/__figma__/SelectChip.figma.d.ts +1 -1
- package/dts/chips/__figma__/TabbedChips.figma.d.ts +1 -1
- package/dts/coachmark/Coachmark.d.ts +62 -53
- package/dts/coachmark/__figma__/Coachmark.figma.d.ts +1 -1
- package/dts/collapsible/Collapsible.d.ts +37 -31
- package/dts/collapsible/index.d.ts +1 -1
- package/dts/collapsible/useCollapsibleAnimation.d.ts +17 -12
- package/dts/collapsible/useCollapsibleDirection.d.ts +14 -8
- package/dts/collapsible/useToggleAnimation.d.ts +4 -4
- package/dts/controls/Checkbox.d.ts +16 -13
- package/dts/controls/CheckboxCell.d.ts +22 -18
- package/dts/controls/CheckboxGroup.d.ts +10 -6
- package/dts/controls/Control.d.ts +36 -24
- package/dts/controls/ControlGroup.d.ts +19 -9
- package/dts/controls/HelperText.d.ts +10 -10
- package/dts/controls/InputIcon.d.ts +10 -8
- package/dts/controls/InputIconButton.d.ts +6 -6
- package/dts/controls/InputLabel.d.ts +1 -1
- package/dts/controls/InputStack.d.ts +58 -57
- package/dts/controls/Menu.d.ts +8 -2
- package/dts/controls/NativeInput.d.ts +57 -40
- package/dts/controls/Radio.d.ts +5 -3
- package/dts/controls/RadioCell.d.ts +22 -18
- package/dts/controls/RadioGroup.d.ts +14 -6
- package/dts/controls/SearchInput.d.ts +131 -95
- package/dts/controls/Select.d.ts +43 -17
- package/dts/controls/SelectContext.d.ts +10 -10
- package/dts/controls/SelectOption.d.ts +5 -3
- package/dts/controls/Switch.d.ts +4 -2
- package/dts/controls/TextInput.d.ts +98 -58
- package/dts/controls/__figma__/Checkbox.figma.d.ts +1 -1
- package/dts/controls/__figma__/CheckboxCell.figma.d.ts +1 -1
- package/dts/controls/__figma__/CheckboxGroup.figma.d.ts +1 -1
- package/dts/controls/__figma__/RadioCell.figma.d.ts +1 -1
- package/dts/controls/__figma__/RadioGroup.figma.d.ts +1 -1
- package/dts/controls/__figma__/SearchInput.figma.d.ts +1 -1
- package/dts/controls/__figma__/Select.figma.d.ts +1 -1
- package/dts/controls/__figma__/SelectOption.figma.d.ts +1 -1
- package/dts/controls/__figma__/Switch.figma.d.ts +1 -1
- package/dts/controls/__figma__/TextInput.figma.d.ts +1 -1
- package/dts/controls/context.d.ts +4 -2
- package/dts/controls/index.d.ts +1 -1
- package/dts/controls/useControlMotionProps.d.ts +13 -9
- package/dts/controls/useSelect.d.ts +14 -7
- package/dts/core/theme.d.ts +85 -85
- package/dts/dates/DateInput.d.ts +17 -10
- package/dts/dates/DatePicker.d.ts +110 -79
- package/dts/dates/__figma__/DatePicker.figma.d.ts +1 -1
- package/dts/dots/DotCount.d.ts +43 -21
- package/dts/dots/DotStatusColor.d.ts +25 -5
- package/dts/dots/DotSymbol.d.ts +40 -6
- package/dts/dots/__figma__/DotCount.figma.d.ts +1 -1
- package/dts/dots/__figma__/DotStatusColor.figma.d.ts +1 -1
- package/dts/dots/__figma__/DotSymbol.figma.d.ts +1 -1
- package/dts/dots/dotStyles.d.ts +12 -6
- package/dts/dots/index.d.ts +1 -1
- package/dts/dots/useDotsLayout.d.ts +1 -1
- package/dts/examples/ExampleScreen.d.ts +12 -6
- package/dts/gradients/LinearGradient.d.ts +63 -51
- package/dts/hooks/useA11y.d.ts +3 -3
- package/dts/hooks/useAnimatedTransition.d.ts +5 -2
- package/dts/hooks/useAppState.d.ts +7 -2
- package/dts/hooks/useCellSpacing.d.ts +225 -42
- package/dts/hooks/useCheckboxGroupState.d.ts +1 -1
- package/dts/hooks/useContentSize.d.ts +3 -3
- package/dts/hooks/useDeviceColorScheme.d.ts +1 -1
- package/dts/hooks/useDeviceFontScale.d.ts +1 -1
- package/dts/hooks/useDimensions.d.ts +4 -4
- package/dts/hooks/useDotPinStyles.d.ts +10 -6
- package/dts/hooks/useEventHandler.d.ts +1 -1
- package/dts/hooks/useHasNotch.d.ts +1 -1
- package/dts/hooks/useHorizontallyScrollingPressables.d.ts +23 -12
- package/dts/hooks/useInputBorderAnimation.d.ts +10 -7
- package/dts/hooks/useInputBorderStyle.d.ts +16 -11
- package/dts/hooks/useLayout.d.ts +1 -1
- package/dts/hooks/usePressAnimation.d.ts +7 -5
- package/dts/hooks/useSafeBottomPadding.d.ts +1 -1
- package/dts/hooks/useScreenReaderStatus.d.ts +1 -1
- package/dts/hooks/useScrollOffset.d.ts +5 -5
- package/dts/hooks/useScrollTo.d.ts +11 -10
- package/dts/hooks/useSelectionCellBorderStyle.d.ts +26 -20
- package/dts/hooks/useStatusBarHeight.d.ts +1 -1
- package/dts/hooks/useTextAlign.d.ts +8 -6
- package/dts/hooks/useTheme.d.ts +1 -1
- package/dts/hooks/useWebBrowserOpener.d.ts +5 -2
- package/dts/icons/Icon.d.ts +17 -8
- package/dts/icons/LogoMark.d.ts +7 -2
- package/dts/icons/LogoWordmark.d.ts +6 -2
- package/dts/icons/SubBrandLogoMark.d.ts +4 -2
- package/dts/icons/SubBrandLogoWordmark.d.ts +4 -2
- package/dts/icons/TextIcon.d.ts +13 -10
- package/dts/icons/__figma__/Icon.figma.d.ts +1 -1
- package/dts/icons/__figma__/LogoMark.figma.d.ts +1 -1
- package/dts/icons/__figma__/LogoWordmark.figma.d.ts +1 -1
- package/dts/icons/__figma__/SubBrandLogoMark.figma.d.ts +1 -1
- package/dts/icons/__figma__/SubBrandLogoWordmark.figma.d.ts +1 -1
- package/dts/icons/index.d.ts +1 -1
- package/dts/illustrations/HeroSquare.d.ts +12 -5
- package/dts/illustrations/Pictogram.d.ts +12 -5
- package/dts/illustrations/SpotIcon.d.ts +12 -5
- package/dts/illustrations/SpotRectangle.d.ts +12 -5
- package/dts/illustrations/SpotSquare.d.ts +12 -5
- package/dts/illustrations/__figma__/HeroSquare.figma.d.ts +1 -1
- package/dts/illustrations/__figma__/Pictogram.figma.d.ts +1 -1
- package/dts/illustrations/__figma__/SpotIcon.figma.d.ts +1 -1
- package/dts/illustrations/__figma__/SpotRectangle.figma.d.ts +1 -1
- package/dts/illustrations/__figma__/SpotSquare.figma.d.ts +1 -1
- package/dts/illustrations/createIllustration.d.ts +60 -35
- package/dts/illustrations/index.d.ts +1 -1
- package/dts/index.d.ts +1 -1
- package/dts/layout/Box.d.ts +65 -56
- package/dts/layout/Divider.d.ts +11 -11
- package/dts/layout/Fallback.d.ts +14 -14
- package/dts/layout/Group.d.ts +83 -75
- package/dts/layout/HStack.d.ts +25 -18
- package/dts/layout/OverflowGradient.d.ts +3 -3
- package/dts/layout/Spacer.d.ts +4 -3
- package/dts/layout/VStack.d.ts +25 -18
- package/dts/layout/__figma__/Divider.figma.d.ts +1 -1
- package/dts/layout/__figma__/Fallback.figma.d.ts +1 -1
- package/dts/layout/index.d.ts +1 -1
- package/dts/loaders/Spinner.d.ts +1 -1
- package/dts/loaders/index.d.ts +1 -1
- package/dts/media/Avatar.d.ts +30 -7
- package/dts/media/Carousel/Carousel.d.ts +25 -18
- package/dts/media/Carousel/CarouselItem.d.ts +9 -9
- package/dts/media/Carousel/CarouselItemContext.d.ts +4 -2
- package/dts/media/Carousel/index.d.ts +1 -1
- package/dts/media/Carousel/types.d.ts +13 -13
- package/dts/media/Carousel/useCarousel.d.ts +2 -2
- package/dts/media/Carousel/useCarouselItem.d.ts +1 -1
- package/dts/media/Carousel/useDismissCarouselItem.d.ts +11 -8
- package/dts/media/RemoteImage.d.ts +65 -47
- package/dts/media/RemoteImageFallbackXmls/dark.d.ts +1 -1
- package/dts/media/RemoteImageFallbackXmls/light.d.ts +1 -1
- package/dts/media/RemoteImageGroup.d.ts +18 -5
- package/dts/media/__figma__/Avatar.figma.d.ts +1 -1
- package/dts/media/index.d.ts +1 -1
- package/dts/motion/AnimatedCaret.d.ts +8 -8
- package/dts/motion/ColorSurge.d.ts +18 -14
- package/dts/motion/Pulse.d.ts +45 -41
- package/dts/motion/Shake.d.ts +10 -6
- package/dts/motion/convertMotionConfig.d.ts +43 -36
- package/dts/motion/types.d.ts +6 -6
- package/dts/motion/withMotionTiming.d.ts +5 -2
- package/dts/multi-content-module/MultiContentModule.d.ts +26 -21
- package/dts/multi-content-module/__figma__/MultiContentModule.figma.d.ts +1 -1
- package/dts/navigation/BrowserBar.d.ts +27 -14
- package/dts/navigation/BrowserBarSearchInput.d.ts +15 -7
- package/dts/navigation/NavBarIconButton.d.ts +18 -4
- package/dts/navigation/NavigationSubtitle.d.ts +8 -3
- package/dts/navigation/NavigationTitle.d.ts +8 -2
- package/dts/navigation/NavigationTitleSelect.d.ts +18 -8
- package/dts/navigation/TopNavBar.d.ts +87 -54
- package/dts/navigation/__figma__/BrowserBar.figma.d.ts +1 -1
- package/dts/navigation/__figma__/TopNavBar.figma.d.ts +1 -1
- package/dts/navigation/index.d.ts +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberAffixSection.d.ts +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberDigit.d.ts +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberMask.d.ts +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberSymbol.d.ts +1 -1
- package/dts/numbers/RollingNumber/DefaultRollingNumberValueSection.d.ts +1 -1
- package/dts/numbers/RollingNumber/RollingNumber.d.ts +353 -320
- package/dts/numbers/RollingNumber/index.d.ts +1 -1
- package/dts/numbers/RollingNumber/useColorPulse.d.ts +17 -9
- package/dts/numbers/index.d.ts +1 -1
- package/dts/numpad/Numpad.d.ts +65 -56
- package/dts/numpad/__figma__/Numpad.figma.d.ts +1 -1
- package/dts/overlays/Alert.d.ts +57 -44
- package/dts/overlays/PortalProvider.d.ts +11 -9
- package/dts/overlays/Toast.d.ts +36 -24
- package/dts/overlays/__figma__/Alert.figma.d.ts +1 -1
- package/dts/overlays/__figma__/Toast.figma.d.ts +1 -1
- package/dts/overlays/drawer/Drawer.d.ts +60 -54
- package/dts/overlays/drawer/DrawerStatusBar.d.ts +3 -3
- package/dts/overlays/drawer/useDrawerAnimation.d.ts +21 -15
- package/dts/overlays/drawer/useDrawerPanResponder.d.ts +19 -10
- package/dts/overlays/drawer/useDrawerSpacing.d.ts +26 -22
- package/dts/overlays/handlebar/HandleBar.d.ts +3 -3
- package/dts/overlays/index.d.ts +1 -1
- package/dts/overlays/modal/Modal.d.ts +26 -16
- package/dts/overlays/modal/ModalBody.d.ts +1 -1
- package/dts/overlays/modal/ModalFooter.d.ts +22 -10
- package/dts/overlays/modal/ModalHeader.d.ts +39 -39
- package/dts/overlays/modal/__figma__/Modal.figma.d.ts +1 -1
- package/dts/overlays/modal/useModalAnimation.d.ts +7 -3
- package/dts/overlays/overlay/Overlay.d.ts +3 -3
- package/dts/overlays/overlay/useOverlayAnimation.d.ts +5 -2
- package/dts/overlays/tooltip/InternalTooltip.d.ts +1 -1
- package/dts/overlays/tooltip/Tooltip.d.ts +20 -2
- package/dts/overlays/tooltip/TooltipProps.d.ts +28 -12
- package/dts/overlays/tooltip/__figma__/Tooltip.figma.d.ts +1 -1
- package/dts/overlays/tooltip/useTooltipAnimation.d.ts +5 -5
- package/dts/overlays/tooltip/useTooltipPosition.d.ts +10 -5
- package/dts/overlays/tray/Tray.d.ts +33 -27
- package/dts/overlays/tray/__figma__/Tray.figma.d.ts +1 -1
- package/dts/overlays/useAlertAnimation.d.ts +7 -3
- package/dts/overlays/useModal.d.ts +1 -1
- package/dts/overlays/usePortal.d.ts +1 -1
- package/dts/overlays/useToast.d.ts +4 -4
- package/dts/overlays/useToastAnimation.d.ts +7 -3
- package/dts/overlays/useToastPanResponder.d.ts +14 -8
- package/dts/page/PageFooter.d.ts +37 -28
- package/dts/page/PageHeader.d.ts +76 -69
- package/dts/page/__figma__/PageFooter.figma.d.ts +1 -1
- package/dts/page/__figma__/PageHeader.figma.d.ts +1 -1
- package/dts/section-header/SectionHeader.d.ts +17 -10
- package/dts/section-header/__figma__/SectionHeader.figma.d.ts +1 -1
- package/dts/stepper/DefaultStepperHeaderHorizontal.d.ts +1 -1
- package/dts/stepper/DefaultStepperIconVertical.d.ts +1 -1
- package/dts/stepper/DefaultStepperLabelVertical.d.ts +2 -2
- package/dts/stepper/DefaultStepperProgressHorizontal.d.ts +1 -1
- package/dts/stepper/DefaultStepperProgressVertical.d.ts +1 -1
- package/dts/stepper/DefaultStepperStepHorizontal.d.ts +1 -1
- package/dts/stepper/DefaultStepperStepVertical.d.ts +1 -1
- package/dts/stepper/DefaultStepperSubstepContainerHorizontal.d.ts +1 -1
- package/dts/stepper/DefaultStepperSubstepContainerVertical.d.ts +1 -1
- package/dts/stepper/Stepper.d.ts +112 -81
- package/dts/stepper/index.d.ts +1 -1
- package/dts/sticky-footer/StickyFooter.d.ts +35 -29
- package/dts/sticky-footer/__figma__/StickyFooter.figma.d.ts +1 -1
- package/dts/styles/fallbackShimmer.d.ts +3 -3
- package/dts/styles/getBorderStyles.d.ts +39 -26
- package/dts/styles/getFlushStyles.d.ts +3 -3
- package/dts/styles/getInteractableStyles.d.ts +45 -37
- package/dts/styles/pinStyles.d.ts +26 -26
- package/dts/styles/styleProps.d.ts +101 -101
- package/dts/system/AndroidNavigationBar.d.ts +8 -4
- package/dts/system/EventHandlerProvider.d.ts +1 -1
- package/dts/system/Interactable.d.ts +61 -61
- package/dts/system/Pressable.d.ts +54 -35
- package/dts/system/PressableOpacity.d.ts +9 -3
- package/dts/system/StatusBar.d.ts +17 -4
- package/dts/system/ThemeProvider.d.ts +13 -7
- package/dts/system/__figma__/AndroidNavigationBar.figma.d.ts +1 -1
- package/dts/system/index.d.ts +1 -1
- package/dts/tabs/SegmentedTab.d.ts +17 -6
- package/dts/tabs/SegmentedTab.d.ts.map +1 -1
- package/dts/tabs/SegmentedTabs.d.ts +9 -4
- package/dts/tabs/SegmentedTabsActiveIndicator.d.ts +5 -2
- package/dts/tabs/TabIndicator.d.ts +23 -19
- package/dts/tabs/TabLabel.d.ts +13 -4
- package/dts/tabs/TabNavigation.d.ts +19 -14
- package/dts/tabs/Tabs.d.ts +27 -20
- package/dts/tabs/__figma__/SegmentedTabs.figma.d.ts +1 -1
- package/dts/tabs/__figma__/TabNavigation.figma.d.ts +1 -1
- package/dts/tabs/hooks/useDotAnimation.d.ts +5 -5
- package/dts/tabs/hooks/useTabIndicatorStyles.d.ts +15 -12
- package/dts/tabs/index.d.ts +1 -1
- package/dts/tag/Tag.d.ts +38 -25
- package/dts/tag/__figma__/Tag.figma.d.ts +1 -1
- package/dts/themes/coinbaseDenseTheme.d.ts +551 -551
- package/dts/themes/coinbaseHighContrastTheme.d.ts +551 -551
- package/dts/themes/coinbaseTheme.d.ts +551 -551
- package/dts/themes/defaultHighContrastTheme.d.ts +551 -551
- package/dts/themes/defaultTheme.d.ts +551 -551
- package/dts/tour/DefaultTourMask.d.ts +8 -2
- package/dts/tour/DefaultTourStepArrow.d.ts +4 -2
- package/dts/tour/Tour.d.ts +59 -54
- package/dts/tour/Tour.d.ts.map +1 -1
- package/dts/tour/TourStep.d.ts +8 -5
- package/dts/tour/TourStep.d.ts.map +1 -1
- package/dts/tour/index.d.ts +1 -1
- package/dts/typography/Link.d.ts +20 -4
- package/dts/typography/Text.d.ts +121 -110
- package/dts/typography/TextBody.d.ts +26 -19
- package/dts/typography/TextCaption.d.ts +26 -19
- package/dts/typography/TextDisplay1.d.ts +26 -19
- package/dts/typography/TextDisplay2.d.ts +26 -19
- package/dts/typography/TextDisplay3.d.ts +26 -19
- package/dts/typography/TextHeadline.d.ts +26 -19
- package/dts/typography/TextInherited.d.ts +26 -19
- package/dts/typography/TextLabel1.d.ts +26 -19
- package/dts/typography/TextLabel2.d.ts +26 -19
- package/dts/typography/TextLegal.d.ts +26 -19
- package/dts/typography/TextTitle1.d.ts +26 -19
- package/dts/typography/TextTitle2.d.ts +26 -19
- package/dts/typography/TextTitle3.d.ts +26 -19
- package/dts/typography/TextTitle4.d.ts +26 -19
- package/dts/typography/__figma__/Link.figma.d.ts +1 -1
- package/dts/typography/index.d.ts +1 -1
- package/dts/utils/customTabsHelper.d.ts +2 -2
- package/dts/utils/debounce.d.ts +5 -2
- package/dts/utils/flattenAndJoinNodes.d.ts +18 -4
- package/dts/utils/getAdjustedFontScale.d.ts +6 -2
- package/dts/utils/getSpacerStyle.d.ts +23 -12
- package/dts/utils/haptics.d.ts +7 -7
- package/dts/utils/isValidURL.d.ts +1 -1
- package/dts/utils/openWebBrowser.d.ts +45 -34
- package/dts/utils/testHelpers.d.ts +570 -566
- package/dts/visualizations/Counter.d.ts +11 -6
- package/dts/visualizations/DefaultProgressCircleContent.d.ts +8 -2
- package/dts/visualizations/ProgressBar.d.ts +57 -49
- package/dts/visualizations/ProgressBarWithFixedLabels.d.ts +46 -40
- package/dts/visualizations/ProgressBarWithFloatLabel.d.ts +35 -27
- package/dts/visualizations/ProgressCircle.d.ts +104 -97
- package/dts/visualizations/ProgressContainerWithButtons.d.ts +5 -2
- package/dts/visualizations/ProgressIndicator.d.ts +39 -32
- package/dts/visualizations/ProgressTextLabel.d.ts +17 -9
- package/dts/visualizations/VisualizationContainer.d.ts +8 -8
- package/dts/visualizations/__figma__/ProgressBar.figma.d.ts +1 -1
- package/dts/visualizations/__figma__/ProgressCircle.figma.d.ts +1 -1
- package/dts/visualizations/getProgressBarLabelParts.d.ts +16 -12
- package/dts/visualizations/index.d.ts +1 -1
- package/esm/controls/__stories__/TextInput.stories.js +1 -1
- package/esm/numbers/RollingNumber/RollingNumber.js +0 -1
- package/esm/numbers/__stories__/RollingNumber.stories.js +2 -1
- package/esm/tabs/SegmentedTab.js +12 -3
- package/esm/tabs/__stories__/SegmentedTabs.stories.js +25 -0
- package/esm/tour/Tour.js +73 -62
- package/esm/tour/TourStep.js +5 -4
- package/package.json +8 -8
- package/dts/accordion/__stories__/Accordion.stories.d.ts +0 -3
- package/dts/accordion/__stories__/Accordion.stories.d.ts.map +0 -1
- package/dts/accordion/__tests__/Accordion.test.d.ts +0 -2
- package/dts/accordion/__tests__/Accordion.test.d.ts.map +0 -1
- package/dts/alpha/carousel/__tests__/Carousel.test.d.ts +0 -2
- package/dts/alpha/carousel/__tests__/Carousel.test.d.ts.map +0 -1
- package/dts/alpha/carousel/__tests__/CarouselItem.test.d.ts +0 -2
- package/dts/alpha/carousel/__tests__/CarouselItem.test.d.ts.map +0 -1
- package/dts/animation/__stories__/Lottie.stories.d.ts +0 -3
- package/dts/animation/__stories__/Lottie.stories.d.ts.map +0 -1
- package/dts/animation/__stories__/LottieStatusAnimation.stories.d.ts +0 -3
- package/dts/animation/__stories__/LottieStatusAnimation.stories.d.ts.map +0 -1
- package/dts/animation/__tests__/Lottie.perf-test.d.ts +0 -2
- package/dts/animation/__tests__/Lottie.perf-test.d.ts.map +0 -1
- package/dts/animation/__tests__/Lottie.test.d.ts +0 -2
- package/dts/animation/__tests__/Lottie.test.d.ts.map +0 -1
- package/dts/animation/__tests__/LottieStatusAnimation.perf-test.d.ts +0 -2
- package/dts/animation/__tests__/LottieStatusAnimation.perf-test.d.ts.map +0 -1
- package/dts/animation/__tests__/LottieStatusAnimation.test.d.ts +0 -2
- package/dts/animation/__tests__/LottieStatusAnimation.test.d.ts.map +0 -1
- package/dts/animation/__tests__/convertMotionConfig.test.d.ts +0 -2
- package/dts/animation/__tests__/convertMotionConfig.test.d.ts.map +0 -1
- package/dts/animation/__tests__/createLottie.test.d.ts +0 -2
- package/dts/animation/__tests__/createLottie.test.d.ts.map +0 -1
- package/dts/banner/__stories__/Banner.stories.d.ts +0 -3
- package/dts/banner/__stories__/Banner.stories.d.ts.map +0 -1
- package/dts/banner/__tests__/Banner.test.d.ts +0 -2
- package/dts/banner/__tests__/Banner.test.d.ts.map +0 -1
- package/dts/buttons/__stories__/AvatarButton.stories.d.ts +0 -3
- package/dts/buttons/__stories__/AvatarButton.stories.d.ts.map +0 -1
- package/dts/buttons/__stories__/Button.stories.d.ts +0 -3
- package/dts/buttons/__stories__/Button.stories.d.ts.map +0 -1
- package/dts/buttons/__stories__/ButtonGroup.stories.d.ts +0 -3
- package/dts/buttons/__stories__/ButtonGroup.stories.d.ts.map +0 -1
- package/dts/buttons/__stories__/IconButton.stories.d.ts +0 -3
- package/dts/buttons/__stories__/IconButton.stories.d.ts.map +0 -1
- package/dts/buttons/__stories__/IconCounterButton.stories.d.ts +0 -3
- package/dts/buttons/__stories__/IconCounterButton.stories.d.ts.map +0 -1
- package/dts/buttons/__stories__/SlideButton.stories.d.ts +0 -3
- package/dts/buttons/__stories__/SlideButton.stories.d.ts.map +0 -1
- package/dts/buttons/__tests__/AvatarButton.test.d.ts +0 -2
- package/dts/buttons/__tests__/AvatarButton.test.d.ts.map +0 -1
- package/dts/buttons/__tests__/Button.perf-test.d.ts +0 -2
- package/dts/buttons/__tests__/Button.perf-test.d.ts.map +0 -1
- package/dts/buttons/__tests__/Button.test.d.ts +0 -2
- package/dts/buttons/__tests__/Button.test.d.ts.map +0 -1
- package/dts/buttons/__tests__/ButtonEventHandler.test.d.ts +0 -2
- package/dts/buttons/__tests__/ButtonEventHandler.test.d.ts.map +0 -1
- package/dts/buttons/__tests__/IconButton.test.d.ts +0 -2
- package/dts/buttons/__tests__/IconButton.test.d.ts.map +0 -1
- package/dts/buttons/__tests__/IconCounterButton.test.d.ts +0 -2
- package/dts/buttons/__tests__/IconCounterButton.test.d.ts.map +0 -1
- package/dts/buttons/__tests__/SlideButton.test.d.ts +0 -2
- package/dts/buttons/__tests__/SlideButton.test.d.ts.map +0 -1
- package/dts/cards/ContentCard/__tests__/ContentCard.test.d.ts +0 -2
- package/dts/cards/ContentCard/__tests__/ContentCard.test.d.ts.map +0 -1
- package/dts/cards/__stories__/Card.stories.d.ts +0 -3
- package/dts/cards/__stories__/Card.stories.d.ts.map +0 -1
- package/dts/cards/__stories__/ContainedAssetCard.stories.d.ts +0 -3
- package/dts/cards/__stories__/ContainedAssetCard.stories.d.ts.map +0 -1
- package/dts/cards/__stories__/ContentCard.stories.d.ts +0 -3
- package/dts/cards/__stories__/ContentCard.stories.d.ts.map +0 -1
- package/dts/cards/__stories__/FloatingAssetCard.stories.d.ts +0 -3
- package/dts/cards/__stories__/FloatingAssetCard.stories.d.ts.map +0 -1
- package/dts/cards/__stories__/NudgeCard.stories.d.ts +0 -3
- package/dts/cards/__stories__/NudgeCard.stories.d.ts.map +0 -1
- package/dts/cards/__stories__/UpsellCard.stories.d.ts +0 -3
- package/dts/cards/__stories__/UpsellCard.stories.d.ts.map +0 -1
- package/dts/cards/__tests__/CardGroup.test.d.ts +0 -2
- package/dts/cards/__tests__/CardGroup.test.d.ts.map +0 -1
- package/dts/cards/__tests__/CardMedia.test.d.ts +0 -2
- package/dts/cards/__tests__/CardMedia.test.d.ts.map +0 -1
- package/dts/cards/__tests__/ContainedAssetCard.test.d.ts +0 -2
- package/dts/cards/__tests__/ContainedAssetCard.test.d.ts.map +0 -1
- package/dts/cards/__tests__/FloatingAssetCard.test.d.ts +0 -2
- package/dts/cards/__tests__/FloatingAssetCard.test.d.ts.map +0 -1
- package/dts/cards/__tests__/NudgeCard.test.d.ts +0 -2
- package/dts/cards/__tests__/NudgeCard.test.d.ts.map +0 -1
- package/dts/cards/__tests__/UpsellCard.test.d.ts +0 -2
- package/dts/cards/__tests__/UpsellCard.test.d.ts.map +0 -1
- package/dts/carousel/__stories__/Carousel.stories.d.ts +0 -2
- package/dts/carousel/__stories__/Carousel.stories.d.ts.map +0 -1
- package/dts/carousel/__tests__/Carousel.test.d.ts +0 -2
- package/dts/carousel/__tests__/Carousel.test.d.ts.map +0 -1
- package/dts/cells/__stories__/ContentCell.stories.d.ts +0 -3
- package/dts/cells/__stories__/ContentCell.stories.d.ts.map +0 -1
- package/dts/cells/__stories__/ContentCellFallback.stories.d.ts +0 -3
- package/dts/cells/__stories__/ContentCellFallback.stories.d.ts.map +0 -1
- package/dts/cells/__stories__/ListCell.stories.d.ts +0 -3
- package/dts/cells/__stories__/ListCell.stories.d.ts.map +0 -1
- package/dts/cells/__stories__/ListCellFallback.stories.d.ts +0 -3
- package/dts/cells/__stories__/ListCellFallback.stories.d.ts.map +0 -1
- package/dts/cells/__tests__/CellMedia.test.d.ts +0 -2
- package/dts/cells/__tests__/CellMedia.test.d.ts.map +0 -1
- package/dts/cells/__tests__/ContentCell.test.d.ts +0 -2
- package/dts/cells/__tests__/ContentCell.test.d.ts.map +0 -1
- package/dts/cells/__tests__/ContentCellFallback.test.d.ts +0 -2
- package/dts/cells/__tests__/ContentCellFallback.test.d.ts.map +0 -1
- package/dts/cells/__tests__/ListCell.perf-test.d.ts +0 -2
- package/dts/cells/__tests__/ListCell.perf-test.d.ts.map +0 -1
- package/dts/cells/__tests__/ListCell.test.d.ts +0 -2
- package/dts/cells/__tests__/ListCell.test.d.ts.map +0 -1
- package/dts/cells/__tests__/ListCellFallback.test.d.ts +0 -2
- package/dts/cells/__tests__/ListCellFallback.test.d.ts.map +0 -1
- package/dts/chips/__stories__/Chip.stories.d.ts +0 -3
- package/dts/chips/__stories__/Chip.stories.d.ts.map +0 -1
- package/dts/chips/__stories__/InputChip.stories.d.ts +0 -3
- package/dts/chips/__stories__/InputChip.stories.d.ts.map +0 -1
- package/dts/chips/__stories__/SelectChip.stories.d.ts +0 -3
- package/dts/chips/__stories__/SelectChip.stories.d.ts.map +0 -1
- package/dts/chips/__stories__/TabbedChips.stories.d.ts +0 -3
- package/dts/chips/__stories__/TabbedChips.stories.d.ts.map +0 -1
- package/dts/chips/__tests__/Chip.test.d.ts +0 -2
- package/dts/chips/__tests__/Chip.test.d.ts.map +0 -1
- package/dts/chips/__tests__/InputChip.test.d.ts +0 -2
- package/dts/chips/__tests__/InputChip.test.d.ts.map +0 -1
- package/dts/chips/__tests__/SelectChip.test.d.ts +0 -2
- package/dts/chips/__tests__/SelectChip.test.d.ts.map +0 -1
- package/dts/chips/__tests__/TabbedChips.test.d.ts +0 -2
- package/dts/chips/__tests__/TabbedChips.test.d.ts.map +0 -1
- package/dts/coachmark/__stories__/Coachmark.stories.d.ts +0 -3
- package/dts/coachmark/__stories__/Coachmark.stories.d.ts.map +0 -1
- package/dts/coachmark/__tests__/Coachmark.test.d.ts +0 -2
- package/dts/coachmark/__tests__/Coachmark.test.d.ts.map +0 -1
- package/dts/collapsible/__stories__/Collapsible.stories.d.ts +0 -3
- package/dts/collapsible/__stories__/Collapsible.stories.d.ts.map +0 -1
- package/dts/collapsible/__tests__/Collapsible.test.d.ts +0 -2
- package/dts/collapsible/__tests__/Collapsible.test.d.ts.map +0 -1
- package/dts/controls/__stories__/Checkbox.stories.d.ts +0 -3
- package/dts/controls/__stories__/Checkbox.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/CheckboxCell.stories.d.ts +0 -3
- package/dts/controls/__stories__/CheckboxCell.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/ControlGroup.stories.d.ts +0 -3
- package/dts/controls/__stories__/ControlGroup.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/InputIcon.stories.d.ts +0 -3
- package/dts/controls/__stories__/InputIcon.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/InputIconButton.stories.d.ts +0 -3
- package/dts/controls/__stories__/InputIconButton.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/InputStack.stories.d.ts +0 -2
- package/dts/controls/__stories__/InputStack.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/RadioCell.stories.d.ts +0 -3
- package/dts/controls/__stories__/RadioCell.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/RadioGroup.stories.d.ts +0 -3
- package/dts/controls/__stories__/RadioGroup.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/SearchInput.stories.d.ts +0 -3
- package/dts/controls/__stories__/SearchInput.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/Select.stories.d.ts +0 -3
- package/dts/controls/__stories__/Select.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/SelectOption.stories.d.ts +0 -2
- package/dts/controls/__stories__/SelectOption.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/Switch.stories.d.ts +0 -3
- package/dts/controls/__stories__/Switch.stories.d.ts.map +0 -1
- package/dts/controls/__stories__/TextInput.stories.d.ts +0 -3
- package/dts/controls/__stories__/TextInput.stories.d.ts.map +0 -1
- package/dts/controls/__tests__/Checkbox.test.d.ts +0 -2
- package/dts/controls/__tests__/Checkbox.test.d.ts.map +0 -1
- package/dts/controls/__tests__/CheckboxCell.test.d.ts +0 -2
- package/dts/controls/__tests__/CheckboxCell.test.d.ts.map +0 -1
- package/dts/controls/__tests__/CheckboxGroup.test.d.ts +0 -2
- package/dts/controls/__tests__/CheckboxGroup.test.d.ts.map +0 -1
- package/dts/controls/__tests__/ControlGroup.test.d.ts +0 -2
- package/dts/controls/__tests__/ControlGroup.test.d.ts.map +0 -1
- package/dts/controls/__tests__/HelperText.test.d.ts +0 -2
- package/dts/controls/__tests__/HelperText.test.d.ts.map +0 -1
- package/dts/controls/__tests__/InputIcon.test.d.ts +0 -2
- package/dts/controls/__tests__/InputIcon.test.d.ts.map +0 -1
- package/dts/controls/__tests__/InputIconButton.test.d.ts +0 -2
- package/dts/controls/__tests__/InputIconButton.test.d.ts.map +0 -1
- package/dts/controls/__tests__/InputStack.test.d.ts +0 -2
- package/dts/controls/__tests__/InputStack.test.d.ts.map +0 -1
- package/dts/controls/__tests__/Menu.test.d.ts +0 -2
- package/dts/controls/__tests__/Menu.test.d.ts.map +0 -1
- package/dts/controls/__tests__/RadioCell.test.d.ts +0 -2
- package/dts/controls/__tests__/RadioCell.test.d.ts.map +0 -1
- package/dts/controls/__tests__/RadioGroup.test.d.ts +0 -2
- package/dts/controls/__tests__/RadioGroup.test.d.ts.map +0 -1
- package/dts/controls/__tests__/SearchInput.test.d.ts +0 -2
- package/dts/controls/__tests__/SearchInput.test.d.ts.map +0 -1
- package/dts/controls/__tests__/Select.test.d.ts +0 -2
- package/dts/controls/__tests__/Select.test.d.ts.map +0 -1
- package/dts/controls/__tests__/SelectOption.test.d.ts +0 -2
- package/dts/controls/__tests__/SelectOption.test.d.ts.map +0 -1
- package/dts/controls/__tests__/Switch.test.d.ts +0 -2
- package/dts/controls/__tests__/Switch.test.d.ts.map +0 -1
- package/dts/controls/__tests__/TextInput.test.d.ts +0 -2
- package/dts/controls/__tests__/TextInput.test.d.ts.map +0 -1
- package/dts/controls/__tests__/useControlMotionProps.test.d.ts +0 -2
- package/dts/controls/__tests__/useControlMotionProps.test.d.ts.map +0 -1
- package/dts/dates/__stories__/DateInput.stories.d.ts +0 -3
- package/dts/dates/__stories__/DateInput.stories.d.ts.map +0 -1
- package/dts/dates/__stories__/DatePicker.stories.d.ts +0 -3
- package/dts/dates/__stories__/DatePicker.stories.d.ts.map +0 -1
- package/dts/dots/__stories__/Dot.stories.d.ts +0 -3
- package/dts/dots/__stories__/Dot.stories.d.ts.map +0 -1
- package/dts/dots/__stories__/DotMisc.stories.d.ts +0 -3
- package/dts/dots/__stories__/DotMisc.stories.d.ts.map +0 -1
- package/dts/dots/__tests__/DotCount.test.d.ts +0 -2
- package/dts/dots/__tests__/DotCount.test.d.ts.map +0 -1
- package/dts/dots/__tests__/DotStatusColor.test.d.ts +0 -2
- package/dts/dots/__tests__/DotStatusColor.test.d.ts.map +0 -1
- package/dts/dots/__tests__/DotSymbol.test.d.ts +0 -2
- package/dts/dots/__tests__/DotSymbol.test.d.ts.map +0 -1
- package/dts/dots/__tests__/getTransformers.test.d.ts +0 -2
- package/dts/dots/__tests__/getTransformers.test.d.ts.map +0 -1
- package/dts/gradients/__stories__/LinearGradient.stories.d.ts +0 -3
- package/dts/gradients/__stories__/LinearGradient.stories.d.ts.map +0 -1
- package/dts/hooks/__tests__/constants.d.ts +0 -2
- package/dts/hooks/__tests__/constants.d.ts.map +0 -1
- package/dts/hooks/__tests__/useA11y.test.d.ts +0 -2
- package/dts/hooks/__tests__/useA11y.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/useAppState.test.d.ts +0 -2
- package/dts/hooks/__tests__/useAppState.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/useCellSpacing.test.d.ts +0 -2
- package/dts/hooks/__tests__/useCellSpacing.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/useDimension.test.d.ts +0 -2
- package/dts/hooks/__tests__/useDimension.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/useInputBorderStyle.test.d.ts +0 -2
- package/dts/hooks/__tests__/useInputBorderStyle.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/usePressAnimation.test.d.ts +0 -2
- package/dts/hooks/__tests__/usePressAnimation.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/useScreenReaderStatus.test.d.ts +0 -2
- package/dts/hooks/__tests__/useScreenReaderStatus.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/useScrollOffset.test.d.ts +0 -2
- package/dts/hooks/__tests__/useScrollOffset.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/useScrollTo.test.d.ts +0 -2
- package/dts/hooks/__tests__/useScrollTo.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/useStatusBarHeight.test.d.ts +0 -2
- package/dts/hooks/__tests__/useStatusBarHeight.test.d.ts.map +0 -1
- package/dts/hooks/__tests__/useWebBrowserOpener.test.d.ts +0 -2
- package/dts/hooks/__tests__/useWebBrowserOpener.test.d.ts.map +0 -1
- package/dts/icons/__stories__/Icon.stories.d.ts +0 -5
- package/dts/icons/__stories__/Icon.stories.d.ts.map +0 -1
- package/dts/icons/__stories__/IconSheet.d.ts +0 -8
- package/dts/icons/__stories__/IconSheet.d.ts.map +0 -1
- package/dts/icons/__stories__/Logo.stories.d.ts +0 -3
- package/dts/icons/__stories__/Logo.stories.d.ts.map +0 -1
- package/dts/icons/__tests__/Icon.perf-test.d.ts +0 -2
- package/dts/icons/__tests__/Icon.perf-test.d.ts.map +0 -1
- package/dts/icons/__tests__/Icon.test.d.ts +0 -2
- package/dts/icons/__tests__/Icon.test.d.ts.map +0 -1
- package/dts/illustrations/__stories__/HeroSquare.stories.d.ts +0 -3
- package/dts/illustrations/__stories__/HeroSquare.stories.d.ts.map +0 -1
- package/dts/illustrations/__stories__/Pictogram.stories.d.ts +0 -3
- package/dts/illustrations/__stories__/Pictogram.stories.d.ts.map +0 -1
- package/dts/illustrations/__stories__/SpotIcon.stories.d.ts +0 -3
- package/dts/illustrations/__stories__/SpotIcon.stories.d.ts.map +0 -1
- package/dts/illustrations/__stories__/SpotRectangle.stories.d.ts +0 -3
- package/dts/illustrations/__stories__/SpotRectangle.stories.d.ts.map +0 -1
- package/dts/illustrations/__stories__/SpotSquare.stories.d.ts +0 -3
- package/dts/illustrations/__stories__/SpotSquare.stories.d.ts.map +0 -1
- package/dts/illustrations/__stories__/getIllustrationSheet.d.ts +0 -4
- package/dts/illustrations/__stories__/getIllustrationSheet.d.ts.map +0 -1
- package/dts/illustrations/__tests__/HeroSquare.test.d.ts +0 -2
- package/dts/illustrations/__tests__/HeroSquare.test.d.ts.map +0 -1
- package/dts/illustrations/__tests__/Pictogram.test.d.ts +0 -2
- package/dts/illustrations/__tests__/Pictogram.test.d.ts.map +0 -1
- package/dts/illustrations/__tests__/SpotRectangle.test.d.ts +0 -2
- package/dts/illustrations/__tests__/SpotRectangle.test.d.ts.map +0 -1
- package/dts/illustrations/__tests__/SpotSquare.test.d.ts +0 -2
- package/dts/illustrations/__tests__/SpotSquare.test.d.ts.map +0 -1
- package/dts/layout/__stories__/Box.stories.d.ts +0 -3
- package/dts/layout/__stories__/Box.stories.d.ts.map +0 -1
- package/dts/layout/__stories__/Divider.stories.d.ts +0 -3
- package/dts/layout/__stories__/Divider.stories.d.ts.map +0 -1
- package/dts/layout/__stories__/Group.stories.d.ts +0 -3
- package/dts/layout/__stories__/Group.stories.d.ts.map +0 -1
- package/dts/layout/__stories__/LoremIpsum.d.ts +0 -9
- package/dts/layout/__stories__/LoremIpsum.d.ts.map +0 -1
- package/dts/layout/__stories__/Spacer.stories.d.ts +0 -3
- package/dts/layout/__stories__/Spacer.stories.d.ts.map +0 -1
- package/dts/layout/__tests__/Box.perf-test.d.ts +0 -2
- package/dts/layout/__tests__/Box.perf-test.d.ts.map +0 -1
- package/dts/layout/__tests__/Box.test.d.ts +0 -2
- package/dts/layout/__tests__/Box.test.d.ts.map +0 -1
- package/dts/layout/__tests__/Divider.perf-test.d.ts +0 -2
- package/dts/layout/__tests__/Divider.perf-test.d.ts.map +0 -1
- package/dts/layout/__tests__/Fallback.perf-test.d.ts +0 -2
- package/dts/layout/__tests__/Fallback.perf-test.d.ts.map +0 -1
- package/dts/layout/__tests__/Fallback.test.d.ts +0 -2
- package/dts/layout/__tests__/Fallback.test.d.ts.map +0 -1
- package/dts/loaders/__stories__/Spinner.stories.d.ts +0 -3
- package/dts/loaders/__stories__/Spinner.stories.d.ts.map +0 -1
- package/dts/loaders/__tests__/Spinner.test.d.ts +0 -2
- package/dts/loaders/__tests__/Spinner.test.d.ts.map +0 -1
- package/dts/media/Carousel/__tests__/Carousel.test.d.ts +0 -2
- package/dts/media/Carousel/__tests__/Carousel.test.d.ts.map +0 -1
- package/dts/media/Carousel/__tests__/useCarousel.test.d.ts +0 -2
- package/dts/media/Carousel/__tests__/useCarousel.test.d.ts.map +0 -1
- package/dts/media/Carousel/__tests__/useCarouselItem.test.d.ts +0 -2
- package/dts/media/Carousel/__tests__/useCarouselItem.test.d.ts.map +0 -1
- package/dts/media/__stories__/Avatar.stories.d.ts +0 -3
- package/dts/media/__stories__/Avatar.stories.d.ts.map +0 -1
- package/dts/media/__stories__/CarouselAlphaExample.d.ts +0 -7
- package/dts/media/__stories__/CarouselAlphaExample.d.ts.map +0 -1
- package/dts/media/__stories__/CarouselMedia.stories.d.ts +0 -3
- package/dts/media/__stories__/CarouselMedia.stories.d.ts.map +0 -1
- package/dts/media/__stories__/RemoteImage.stories.d.ts +0 -3
- package/dts/media/__stories__/RemoteImage.stories.d.ts.map +0 -1
- package/dts/media/__stories__/RemoteImageGroup.stories.d.ts +0 -5
- package/dts/media/__stories__/RemoteImageGroup.stories.d.ts.map +0 -1
- package/dts/media/__tests__/Avatar.test.d.ts +0 -2
- package/dts/media/__tests__/Avatar.test.d.ts.map +0 -1
- package/dts/media/__tests__/RemoteImage.test.d.ts +0 -2
- package/dts/media/__tests__/RemoteImage.test.d.ts.map +0 -1
- package/dts/media/__tests__/RemoteImageGroup.test.d.ts +0 -2
- package/dts/media/__tests__/RemoteImageGroup.test.d.ts.map +0 -1
- package/dts/media/__tests__/getSource.test.d.ts +0 -2
- package/dts/media/__tests__/getSource.test.d.ts.map +0 -1
- package/dts/motion/__stories__/AnimatedCaret.stories.d.ts +0 -3
- package/dts/motion/__stories__/AnimatedCaret.stories.d.ts.map +0 -1
- package/dts/motion/__stories__/HintMotion.stories.d.ts +0 -3
- package/dts/motion/__stories__/HintMotion.stories.d.ts.map +0 -1
- package/dts/motion/__tests__/AnimatedCaret.test.d.ts +0 -2
- package/dts/motion/__tests__/AnimatedCaret.test.d.ts.map +0 -1
- package/dts/motion/__tests__/Pulse.test.d.ts +0 -2
- package/dts/motion/__tests__/Pulse.test.d.ts.map +0 -1
- package/dts/motion/__tests__/Shake.test.d.ts +0 -2
- package/dts/motion/__tests__/Shake.test.d.ts.map +0 -1
- package/dts/motion/__tests__/convertMotionConfig.test.d.ts +0 -2
- package/dts/motion/__tests__/convertMotionConfig.test.d.ts.map +0 -1
- package/dts/motion/__tests__/withMotionTiming.test.d.ts +0 -2
- package/dts/motion/__tests__/withMotionTiming.test.d.ts.map +0 -1
- package/dts/multi-content-module/__stories__/MultiContentModule.stories.d.ts +0 -6
- package/dts/multi-content-module/__stories__/MultiContentModule.stories.d.ts.map +0 -1
- package/dts/multi-content-module/__tests__/MultiContentModule.test.d.ts +0 -2
- package/dts/multi-content-module/__tests__/MultiContentModule.test.d.ts.map +0 -1
- package/dts/navigation/__stories__/BrowserBar.stories.d.ts +0 -3
- package/dts/navigation/__stories__/BrowserBar.stories.d.ts.map +0 -1
- package/dts/navigation/__stories__/BrowserBarSearchInput.stories.d.ts +0 -3
- package/dts/navigation/__stories__/BrowserBarSearchInput.stories.d.ts.map +0 -1
- package/dts/navigation/__stories__/NavBarIconButton.stories.d.ts +0 -3
- package/dts/navigation/__stories__/NavBarIconButton.stories.d.ts.map +0 -1
- package/dts/navigation/__stories__/NavigationSubtitle.stories.d.ts +0 -3
- package/dts/navigation/__stories__/NavigationSubtitle.stories.d.ts.map +0 -1
- package/dts/navigation/__stories__/NavigationTitle.stories.d.ts +0 -3
- package/dts/navigation/__stories__/NavigationTitle.stories.d.ts.map +0 -1
- package/dts/navigation/__stories__/NavigationTitleSelect.stories.d.ts +0 -3
- package/dts/navigation/__stories__/NavigationTitleSelect.stories.d.ts.map +0 -1
- package/dts/navigation/__stories__/TopNavBar.stories.d.ts +0 -3
- package/dts/navigation/__stories__/TopNavBar.stories.d.ts.map +0 -1
- package/dts/navigation/__tests__/BrowserBar.test.d.ts +0 -2
- package/dts/navigation/__tests__/BrowserBar.test.d.ts.map +0 -1
- package/dts/navigation/__tests__/BrowserBarSearchInput.test.d.ts +0 -2
- package/dts/navigation/__tests__/BrowserBarSearchInput.test.d.ts.map +0 -1
- package/dts/navigation/__tests__/NavBarIconButton.test.d.ts +0 -2
- package/dts/navigation/__tests__/NavBarIconButton.test.d.ts.map +0 -1
- package/dts/navigation/__tests__/NavigationSubtitle.test.d.ts +0 -2
- package/dts/navigation/__tests__/NavigationSubtitle.test.d.ts.map +0 -1
- package/dts/navigation/__tests__/NavigationTitle.test.d.ts +0 -2
- package/dts/navigation/__tests__/NavigationTitle.test.d.ts.map +0 -1
- package/dts/navigation/__tests__/NavigationTitleSelect.test.d.ts +0 -2
- package/dts/navigation/__tests__/NavigationTitleSelect.test.d.ts.map +0 -1
- package/dts/navigation/__tests__/TopNavBar.test.d.ts +0 -2
- package/dts/navigation/__tests__/TopNavBar.test.d.ts.map +0 -1
- package/dts/numbers/__stories__/RollingNumber.stories.d.ts +0 -7
- package/dts/numbers/__stories__/RollingNumber.stories.d.ts.map +0 -1
- package/dts/numbers/__tests__/RollingNumber.a11y.test.d.ts +0 -2
- package/dts/numbers/__tests__/RollingNumber.a11y.test.d.ts.map +0 -1
- package/dts/numpad/__stories__/Numpad.stories.d.ts +0 -3
- package/dts/numpad/__stories__/Numpad.stories.d.ts.map +0 -1
- package/dts/numpad/__tests__/Numpad.test.d.ts +0 -2
- package/dts/numpad/__tests__/Numpad.test.d.ts.map +0 -1
- package/dts/overlays/__stories__/AlertBasic.stories.d.ts +0 -3
- package/dts/overlays/__stories__/AlertBasic.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/AlertLongTitle.stories.d.ts +0 -3
- package/dts/overlays/__stories__/AlertLongTitle.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/AlertOverModal.stories.d.ts +0 -3
- package/dts/overlays/__stories__/AlertOverModal.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/AlertPortal.stories.d.ts +0 -3
- package/dts/overlays/__stories__/AlertPortal.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/AlertSingleAction.stories.d.ts +0 -3
- package/dts/overlays/__stories__/AlertSingleAction.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/AlertVerticalActions.stories.d.ts +0 -3
- package/dts/overlays/__stories__/AlertVerticalActions.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/DrawerBottom.stories.d.ts +0 -3
- package/dts/overlays/__stories__/DrawerBottom.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/DrawerFallback.stories.d.ts +0 -3
- package/dts/overlays/__stories__/DrawerFallback.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/DrawerLeft.stories.d.ts +0 -3
- package/dts/overlays/__stories__/DrawerLeft.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/DrawerMisc.stories.d.ts +0 -3
- package/dts/overlays/__stories__/DrawerMisc.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/DrawerRight.stories.d.ts +0 -3
- package/dts/overlays/__stories__/DrawerRight.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/DrawerScrollable.stories.d.ts +0 -3
- package/dts/overlays/__stories__/DrawerScrollable.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/DrawerTop.stories.d.ts +0 -3
- package/dts/overlays/__stories__/DrawerTop.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/Drawers.d.ts +0 -15
- package/dts/overlays/__stories__/Drawers.d.ts.map +0 -1
- package/dts/overlays/__stories__/ModalBackButton.stories.d.ts +0 -3
- package/dts/overlays/__stories__/ModalBackButton.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/ModalBasic.stories.d.ts +0 -3
- package/dts/overlays/__stories__/ModalBasic.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/ModalLong.stories.d.ts +0 -3
- package/dts/overlays/__stories__/ModalLong.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/ModalPortal.stories.d.ts +0 -3
- package/dts/overlays/__stories__/ModalPortal.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/Overlay.stories.d.ts +0 -3
- package/dts/overlays/__stories__/Overlay.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/Toast.stories.d.ts +0 -3
- package/dts/overlays/__stories__/Toast.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TooltipV2.stories.d.ts +0 -3
- package/dts/overlays/__stories__/TooltipV2.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayAction.stories.d.ts +0 -6
- package/dts/overlays/__stories__/TrayAction.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayBasic.stories.d.ts +0 -3
- package/dts/overlays/__stories__/TrayBasic.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayFallback.stories.d.ts +0 -3
- package/dts/overlays/__stories__/TrayFallback.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayFeedCard.stories.d.ts +0 -3
- package/dts/overlays/__stories__/TrayFeedCard.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayInformational.stories.d.ts +0 -5
- package/dts/overlays/__stories__/TrayInformational.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayMessaging.stories.d.ts +0 -4
- package/dts/overlays/__stories__/TrayMessaging.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayMisc.stories.d.ts +0 -3
- package/dts/overlays/__stories__/TrayMisc.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayNavigation.stories.d.ts +0 -3
- package/dts/overlays/__stories__/TrayNavigation.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayPromotional.stories.d.ts +0 -4
- package/dts/overlays/__stories__/TrayPromotional.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayScrollable.stories.d.ts +0 -3
- package/dts/overlays/__stories__/TrayScrollable.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayTall.stories.d.ts +0 -3
- package/dts/overlays/__stories__/TrayTall.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/TrayWithTitle.stories.d.ts +0 -3
- package/dts/overlays/__stories__/TrayWithTitle.stories.d.ts.map +0 -1
- package/dts/overlays/__stories__/Trays.d.ts +0 -11
- package/dts/overlays/__stories__/Trays.d.ts.map +0 -1
- package/dts/overlays/__tests__/Alert.test.d.ts +0 -2
- package/dts/overlays/__tests__/Alert.test.d.ts.map +0 -1
- package/dts/overlays/__tests__/PortalProvider.test.d.ts +0 -2
- package/dts/overlays/__tests__/PortalProvider.test.d.ts.map +0 -1
- package/dts/overlays/__tests__/Toast.test.d.ts +0 -2
- package/dts/overlays/__tests__/Toast.test.d.ts.map +0 -1
- package/dts/overlays/drawer/__tests__/Drawer.test.d.ts +0 -2
- package/dts/overlays/drawer/__tests__/Drawer.test.d.ts.map +0 -1
- package/dts/overlays/drawer/__tests__/useDrawerSpacing.test.d.ts +0 -2
- package/dts/overlays/drawer/__tests__/useDrawerSpacing.test.d.ts.map +0 -1
- package/dts/overlays/modal/__tests__/Modal.perf-test.d.ts +0 -2
- package/dts/overlays/modal/__tests__/Modal.perf-test.d.ts.map +0 -1
- package/dts/overlays/modal/__tests__/Modal.test.d.ts +0 -2
- package/dts/overlays/modal/__tests__/Modal.test.d.ts.map +0 -1
- package/dts/overlays/overlay/__tests__/Overlay.test.d.ts +0 -2
- package/dts/overlays/overlay/__tests__/Overlay.test.d.ts.map +0 -1
- package/dts/overlays/overlay/__tests__/useOverlayAnimation.test.d.ts +0 -2
- package/dts/overlays/overlay/__tests__/useOverlayAnimation.test.d.ts.map +0 -1
- package/dts/overlays/tooltip/__tests__/InternalTooltip.test.d.ts +0 -2
- package/dts/overlays/tooltip/__tests__/InternalTooltip.test.d.ts.map +0 -1
- package/dts/overlays/tooltip/__tests__/Tooltip.test.d.ts +0 -2
- package/dts/overlays/tooltip/__tests__/Tooltip.test.d.ts.map +0 -1
- package/dts/overlays/tooltip/__tests__/UseTooltipPositionTestData.d.ts +0 -19
- package/dts/overlays/tooltip/__tests__/UseTooltipPositionTestData.d.ts.map +0 -1
- package/dts/overlays/tray/__tests__/Tray.test.d.ts +0 -2
- package/dts/overlays/tray/__tests__/Tray.test.d.ts.map +0 -1
- package/dts/page/__stories__/PageFooter.stories.d.ts +0 -3
- package/dts/page/__stories__/PageFooter.stories.d.ts.map +0 -1
- package/dts/page/__stories__/PageFooterInPage.stories.d.ts +0 -3
- package/dts/page/__stories__/PageFooterInPage.stories.d.ts.map +0 -1
- package/dts/page/__stories__/PageHeader.stories.d.ts +0 -3
- package/dts/page/__stories__/PageHeader.stories.d.ts.map +0 -1
- package/dts/page/__stories__/PageHeaderInErrorEmptyState.stories.d.ts +0 -3
- package/dts/page/__stories__/PageHeaderInErrorEmptyState.stories.d.ts.map +0 -1
- package/dts/page/__stories__/PageHeaderInPage.stories.d.ts +0 -3
- package/dts/page/__stories__/PageHeaderInPage.stories.d.ts.map +0 -1
- package/dts/page/__tests__/PageFooter.test.d.ts +0 -2
- package/dts/page/__tests__/PageFooter.test.d.ts.map +0 -1
- package/dts/page/__tests__/PageHeader.test.d.ts +0 -2
- package/dts/page/__tests__/PageHeader.test.d.ts.map +0 -1
- package/dts/section-header/__stories__/SectionHeader.stories.d.ts +0 -3
- package/dts/section-header/__stories__/SectionHeader.stories.d.ts.map +0 -1
- package/dts/section-header/__tests__/SectionHeader.test.d.ts +0 -2
- package/dts/section-header/__tests__/SectionHeader.test.d.ts.map +0 -1
- package/dts/stepper/__stories__/StepperHorizontal.stories.d.ts +0 -3
- package/dts/stepper/__stories__/StepperHorizontal.stories.d.ts.map +0 -1
- package/dts/stepper/__stories__/StepperVertical.stories.d.ts +0 -3
- package/dts/stepper/__stories__/StepperVertical.stories.d.ts.map +0 -1
- package/dts/sticky-footer/__stories__/StickyFooter.stories.d.ts +0 -3
- package/dts/sticky-footer/__stories__/StickyFooter.stories.d.ts.map +0 -1
- package/dts/sticky-footer/__stories__/StickyFooterWithTray.stories.d.ts +0 -3
- package/dts/sticky-footer/__stories__/StickyFooterWithTray.stories.d.ts.map +0 -1
- package/dts/sticky-footer/__tests__/StickyFooter.test.d.ts +0 -2
- package/dts/sticky-footer/__tests__/StickyFooter.test.d.ts.map +0 -1
- package/dts/system/__stories__/Frontier.stories.d.ts +0 -3
- package/dts/system/__stories__/Frontier.stories.d.ts.map +0 -1
- package/dts/system/__stories__/Palette.stories.d.ts +0 -3
- package/dts/system/__stories__/Palette.stories.d.ts.map +0 -1
- package/dts/system/__stories__/PatternDisclosureHighFrictionBenefit.stories.d.ts +0 -3
- package/dts/system/__stories__/PatternDisclosureHighFrictionBenefit.stories.d.ts.map +0 -1
- package/dts/system/__stories__/PatternDisclosureHighFrictionRisk.stories.d.ts +0 -3
- package/dts/system/__stories__/PatternDisclosureHighFrictionRisk.stories.d.ts.map +0 -1
- package/dts/system/__stories__/PatternDisclosureLowFriction.stories.d.ts +0 -3
- package/dts/system/__stories__/PatternDisclosureLowFriction.stories.d.ts.map +0 -1
- package/dts/system/__stories__/PatternDisclosureMedFriction.stories.d.ts +0 -3
- package/dts/system/__stories__/PatternDisclosureMedFriction.stories.d.ts.map +0 -1
- package/dts/system/__stories__/PatternError.stories.d.ts +0 -3
- package/dts/system/__stories__/PatternError.stories.d.ts.map +0 -1
- package/dts/system/__stories__/Pressable.stories.d.ts +0 -3
- package/dts/system/__stories__/Pressable.stories.d.ts.map +0 -1
- package/dts/system/__stories__/PressableOpacity.stories.d.ts +0 -3
- package/dts/system/__stories__/PressableOpacity.stories.d.ts.map +0 -1
- package/dts/system/__stories__/Spectrum.stories.d.ts +0 -4
- package/dts/system/__stories__/Spectrum.stories.d.ts.map +0 -1
- package/dts/system/__stories__/ThemeProvider.stories.d.ts +0 -3
- package/dts/system/__stories__/ThemeProvider.stories.d.ts.map +0 -1
- package/dts/system/__tests__/AndroidNavigationBar.test.d.ts +0 -2
- package/dts/system/__tests__/AndroidNavigationBar.test.d.ts.map +0 -1
- package/dts/system/__tests__/StatusBar.test.d.ts +0 -2
- package/dts/system/__tests__/StatusBar.test.d.ts.map +0 -1
- package/dts/system/__tests__/useAndroidNavigationBarUpdater.test.d.ts +0 -2
- package/dts/system/__tests__/useAndroidNavigationBarUpdater.test.d.ts.map +0 -1
- package/dts/tabs/__stories__/SegmentedTabs.stories.d.ts +0 -3
- package/dts/tabs/__stories__/SegmentedTabs.stories.d.ts.map +0 -1
- package/dts/tabs/__stories__/TabIndicator.stories.d.ts +0 -3
- package/dts/tabs/__stories__/TabIndicator.stories.d.ts.map +0 -1
- package/dts/tabs/__stories__/TabLabel.stories.d.ts +0 -3
- package/dts/tabs/__stories__/TabLabel.stories.d.ts.map +0 -1
- package/dts/tabs/__stories__/TabNavigation.stories.d.ts +0 -3
- package/dts/tabs/__stories__/TabNavigation.stories.d.ts.map +0 -1
- package/dts/tabs/__stories__/Tabs.stories.d.ts +0 -3
- package/dts/tabs/__stories__/Tabs.stories.d.ts.map +0 -1
- package/dts/tabs/__tests__/SegmentedTab.test.d.ts +0 -2
- package/dts/tabs/__tests__/SegmentedTab.test.d.ts.map +0 -1
- package/dts/tabs/__tests__/SegmentedTabs.test.d.ts +0 -2
- package/dts/tabs/__tests__/SegmentedTabs.test.d.ts.map +0 -1
- package/dts/tabs/__tests__/TabIndicator.test.d.ts +0 -2
- package/dts/tabs/__tests__/TabIndicator.test.d.ts.map +0 -1
- package/dts/tabs/__tests__/TabNavigation.test.d.ts +0 -2
- package/dts/tabs/__tests__/TabNavigation.test.d.ts.map +0 -1
- package/dts/tabs/hooks/__tests__/useDotAnimation.test.d.ts +0 -2
- package/dts/tabs/hooks/__tests__/useDotAnimation.test.d.ts.map +0 -1
- package/dts/tag/__stories__/Tag.stories.d.ts +0 -3
- package/dts/tag/__stories__/Tag.stories.d.ts.map +0 -1
- package/dts/tag/__tests__/Tag.test.d.ts +0 -2
- package/dts/tag/__tests__/Tag.test.d.ts.map +0 -1
- package/dts/tour/__stories__/Tour.stories.d.ts +0 -4
- package/dts/tour/__stories__/Tour.stories.d.ts.map +0 -1
- package/dts/tour/__tests__/Tour.test.d.ts +0 -2
- package/dts/tour/__tests__/Tour.test.d.ts.map +0 -1
- package/dts/typography/__stories__/Link.stories.d.ts +0 -3
- package/dts/typography/__stories__/Link.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/Text.stories.d.ts +0 -3
- package/dts/typography/__stories__/Text.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextBody.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextBody.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextCaption.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextCaption.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextCore.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextCore.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextDisplay1.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextDisplay1.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextDisplay2.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextDisplay2.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextDisplay3.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextDisplay3.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextExamples.d.ts +0 -8
- package/dts/typography/__stories__/TextExamples.d.ts.map +0 -1
- package/dts/typography/__stories__/TextHeadline.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextHeadline.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextLabel1.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextLabel1.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextLabel2.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextLabel2.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextLegal.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextLegal.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextTitle1.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextTitle1.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextTitle2.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextTitle2.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextTitle3.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextTitle3.stories.d.ts.map +0 -1
- package/dts/typography/__stories__/TextTitle4.stories.d.ts +0 -3
- package/dts/typography/__stories__/TextTitle4.stories.d.ts.map +0 -1
- package/dts/typography/__tests__/Link.perf-test.d.ts +0 -2
- package/dts/typography/__tests__/Link.perf-test.d.ts.map +0 -1
- package/dts/typography/__tests__/Link.test.d.ts +0 -2
- package/dts/typography/__tests__/Link.test.d.ts.map +0 -1
- package/dts/typography/__tests__/Text.test.d.ts +0 -2
- package/dts/typography/__tests__/Text.test.d.ts.map +0 -1
- package/dts/utils/__tests__/debounce.test.d.ts +0 -2
- package/dts/utils/__tests__/debounce.test.d.ts.map +0 -1
- package/dts/utils/__tests__/flattenAndJoinNodes.test.d.ts +0 -2
- package/dts/utils/__tests__/flattenAndJoinNodes.test.d.ts.map +0 -1
- package/dts/utils/__tests__/isValidURL.test.d.ts +0 -2
- package/dts/utils/__tests__/isValidURL.test.d.ts.map +0 -1
- package/dts/utils/__tests__/openWebBrowser.test.d.ts +0 -2
- package/dts/utils/__tests__/openWebBrowser.test.d.ts.map +0 -1
- package/dts/visualizations/__stories__/ProgressBar.stories.d.ts +0 -3
- package/dts/visualizations/__stories__/ProgressBar.stories.d.ts.map +0 -1
- package/dts/visualizations/__stories__/ProgressCircle.stories.d.ts +0 -3
- package/dts/visualizations/__stories__/ProgressCircle.stories.d.ts.map +0 -1
- package/dts/visualizations/__tests__/ProgressBar.test.d.ts +0 -2
- package/dts/visualizations/__tests__/ProgressBar.test.d.ts.map +0 -1
- package/dts/visualizations/__tests__/ProgressCircle.test.d.ts +0 -2
- package/dts/visualizations/__tests__/ProgressCircle.test.d.ts.map +0 -1
- package/dts/visualizations/__tests__/ProgressIndicator.test.d.ts +0 -2
- package/dts/visualizations/__tests__/ProgressIndicator.test.d.ts.map +0 -1
|
@@ -5,35 +5,42 @@ import type { SharedProps } from '@coinbase/cds-common';
|
|
|
5
5
|
import type { BoxProps } from '../layout/Box';
|
|
6
6
|
export declare const PROGRESS_INDICATOR_WIDTH = 24;
|
|
7
7
|
export type ProgressIndicatorProps = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} & BoxProps &
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
8
|
+
/** An Animated.Value or interpolated Animated.Value between 0 and 1 */
|
|
9
|
+
progress?: Animated.Value | Animated.AnimatedInterpolation<number>;
|
|
10
|
+
/**
|
|
11
|
+
* @danger This is a migration escape hatch. It is not intended to be used normally.
|
|
12
|
+
*/
|
|
13
|
+
style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
|
|
14
|
+
} & BoxProps &
|
|
15
|
+
SharedProps;
|
|
16
|
+
export declare const ProgressIndicator: React.MemoExoticComponent<
|
|
17
|
+
React.ForwardRefExoticComponent<
|
|
18
|
+
{
|
|
19
|
+
/** An Animated.Value or interpolated Animated.Value between 0 and 1 */
|
|
20
|
+
progress?: Animated.Value | Animated.AnimatedInterpolation<number>;
|
|
21
|
+
/**
|
|
22
|
+
* @danger This is a migration escape hatch. It is not intended to be used normally.
|
|
23
|
+
*/
|
|
24
|
+
style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
|
|
25
|
+
} & import('../styles/styleProps').StyleProps & {
|
|
26
|
+
children?: React.ReactNode;
|
|
27
|
+
style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
|
|
28
|
+
animated?: boolean;
|
|
29
|
+
elevation?: import('@coinbase/cds-common').ElevationLevels;
|
|
30
|
+
font?: import('@coinbase/cds-common').ThemeVars.FontFamily | 'inherit';
|
|
31
|
+
pin?: import('@coinbase/cds-common').PinningDirection;
|
|
32
|
+
bordered?: boolean;
|
|
33
|
+
borderedTop?: boolean;
|
|
34
|
+
borderedBottom?: boolean;
|
|
35
|
+
borderedStart?: boolean;
|
|
36
|
+
borderedEnd?: boolean;
|
|
37
|
+
borderedHorizontal?: boolean;
|
|
38
|
+
borderedVertical?: boolean;
|
|
39
|
+
dangerouslySetBackground?: string;
|
|
40
|
+
testID?: string;
|
|
41
|
+
} & Omit<import('react-native').ViewProps, 'style'> &
|
|
42
|
+
SharedProps &
|
|
43
|
+
React.RefAttributes<View>
|
|
44
|
+
>
|
|
45
|
+
>;
|
|
46
|
+
//# sourceMappingURL=ProgressIndicator.d.ts.map
|
|
@@ -3,13 +3,21 @@ import { type StyleProp, type TextStyle } from 'react-native';
|
|
|
3
3
|
import type { ThemeVars } from '@coinbase/cds-common/core/theme';
|
|
4
4
|
import type { ProgressBaseProps } from './ProgressBar';
|
|
5
5
|
export type ProgressTextLabelProps = Pick<ProgressBaseProps, 'disabled'> & {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
value: number;
|
|
7
|
+
renderLabel?: (num: number, disabled?: boolean) => React.ReactNode;
|
|
8
|
+
color?: ThemeVars.Color;
|
|
9
|
+
/**
|
|
10
|
+
* Custom style for the text label.
|
|
11
|
+
*/
|
|
12
|
+
style?: StyleProp<TextStyle>;
|
|
13
13
|
};
|
|
14
|
-
export declare const ProgressTextLabel: React.MemoExoticComponent<
|
|
15
|
-
|
|
14
|
+
export declare const ProgressTextLabel: React.MemoExoticComponent<
|
|
15
|
+
({
|
|
16
|
+
value,
|
|
17
|
+
renderLabel,
|
|
18
|
+
disabled,
|
|
19
|
+
color,
|
|
20
|
+
style,
|
|
21
|
+
}: ProgressTextLabelProps) => import('react/jsx-runtime').JSX.Element
|
|
22
|
+
>;
|
|
23
|
+
//# sourceMappingURL=ProgressTextLabel.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { DimensionValue } from '@coinbase/cds-common/types';
|
|
3
3
|
export type VisualizationContainerDimension = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
width: number;
|
|
5
|
+
height: number;
|
|
6
|
+
circleSize: number;
|
|
7
7
|
};
|
|
8
8
|
export type VisualizationContainerBaseProps = {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
width: DimensionValue;
|
|
10
|
+
height: DimensionValue;
|
|
11
|
+
minHeight?: DimensionValue;
|
|
12
|
+
children: (dimensions: VisualizationContainerDimension) => React.ReactNode;
|
|
13
13
|
};
|
|
14
14
|
export type VisualizationContainerProps = VisualizationContainerBaseProps;
|
|
15
15
|
export declare const VisualizationContainer: React.FC<VisualizationContainerProps>;
|
|
16
|
-
//# sourceMappingURL=VisualizationContainer.d.ts.map
|
|
16
|
+
//# sourceMappingURL=VisualizationContainer.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=ProgressBar.figma.d.ts.map
|
|
2
|
+
//# sourceMappingURL=ProgressBar.figma.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export {};
|
|
2
|
-
//# sourceMappingURL=ProgressCircle.figma.d.ts.map
|
|
2
|
+
//# sourceMappingURL=ProgressCircle.figma.d.ts.map
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
export type ProgressBarLabel =
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
1
|
+
export type ProgressBarLabel =
|
|
2
|
+
| number
|
|
3
|
+
| {
|
|
4
|
+
value: number;
|
|
5
|
+
render: (num: number, disabled?: boolean) => React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare const getProgressBarLabelParts: (label: ProgressBarLabel) =>
|
|
8
|
+
| {
|
|
9
|
+
value: number;
|
|
10
|
+
render?: undefined;
|
|
11
|
+
}
|
|
12
|
+
| {
|
|
13
|
+
value: number;
|
|
14
|
+
render: (num: number, disabled?: boolean) => React.ReactNode;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=getProgressBarLabelParts.d.ts.map
|
|
@@ -94,7 +94,7 @@ const InputScreen = () => {
|
|
|
94
94
|
label: "Username",
|
|
95
95
|
placeholder: "john.doe@coinbase.com",
|
|
96
96
|
textAlign: "unset",
|
|
97
|
-
value: "https://github.com/coinbase/cds
|
|
97
|
+
value: "https://github.com/coinbase/cds/blob/master/docs/commands.md!-|?/",
|
|
98
98
|
variant: "foregroundMuted"
|
|
99
99
|
})
|
|
100
100
|
}), /*#__PURE__*/_jsx(Example, {
|
|
@@ -256,7 +256,6 @@ export const RollingNumber = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, re
|
|
|
256
256
|
}, [accessibilityLiveRegion, textProps, accessibilityLabelPrefix, accessibilityLabel, formatted, prefix, suffix, accessibilityLabelSuffix, styles == null ? void 0 : styles.text]);
|
|
257
257
|
return /*#__PURE__*/_jsxs(HStack, {
|
|
258
258
|
ref: ref,
|
|
259
|
-
alignSelf: "flex-start",
|
|
260
259
|
style: rootStyle,
|
|
261
260
|
testID: testID,
|
|
262
261
|
children: [invisibleMeasuredDigits, screenReaderOnlySection, /*#__PURE__*/_jsxs(HStack, {
|
|
@@ -470,7 +470,8 @@ const StyleOverrides = () => {
|
|
|
470
470
|
paddingVertical: 4,
|
|
471
471
|
paddingHorizontal: 8,
|
|
472
472
|
borderRadius: 8,
|
|
473
|
-
backgroundColor: theme.color.bgSecondaryWash
|
|
473
|
+
backgroundColor: theme.color.bgSecondaryWash,
|
|
474
|
+
alignSelf: 'flex-start'
|
|
474
475
|
},
|
|
475
476
|
fraction: {
|
|
476
477
|
opacity: 0.2,
|
package/esm/tabs/SegmentedTab.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const _excluded = ["id", "label", "disabled", "onPress", "color", "activeColor", "style", "aria-selected", "accessibilityRole", "testID"];
|
|
1
|
+
const _excluded = ["id", "label", "disabled", "onPress", "color", "activeColor", "style", "aria-selected", "accessibilityRole", "testID", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight"];
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React, { forwardRef, memo, useCallback, useMemo } from 'react';
|
|
@@ -23,7 +23,12 @@ const SegmentedTabComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, r
|
|
|
23
23
|
style,
|
|
24
24
|
'aria-selected': ariaSelected,
|
|
25
25
|
accessibilityRole = 'button',
|
|
26
|
-
testID
|
|
26
|
+
testID,
|
|
27
|
+
font = 'headline',
|
|
28
|
+
fontFamily,
|
|
29
|
+
fontSize,
|
|
30
|
+
fontWeight,
|
|
31
|
+
lineHeight
|
|
27
32
|
} = _ref,
|
|
28
33
|
props = _objectWithoutPropertiesLoose(_ref, _excluded);
|
|
29
34
|
const {
|
|
@@ -64,7 +69,11 @@ const SegmentedTabComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, r
|
|
|
64
69
|
paddingY: 1,
|
|
65
70
|
children: typeof label === 'string' ? /*#__PURE__*/_jsx(AnimatedTextHeadline, {
|
|
66
71
|
animated: true,
|
|
67
|
-
font:
|
|
72
|
+
font: font,
|
|
73
|
+
fontFamily: fontFamily,
|
|
74
|
+
fontSize: fontSize,
|
|
75
|
+
fontWeight: fontWeight,
|
|
76
|
+
lineHeight: lineHeight,
|
|
68
77
|
style: animatedTextStyles,
|
|
69
78
|
testID: testID + "-label",
|
|
70
79
|
children: label
|
|
@@ -57,6 +57,14 @@ const AnotherCustomSegmentedTab = _ref2 => {
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
};
|
|
60
|
+
const CustomSegmentedTabColor = props => /*#__PURE__*/_jsx(SegmentedTab, _extends({}, props, {
|
|
61
|
+
activeColor: "fgWarning",
|
|
62
|
+
color: "bgPrimary",
|
|
63
|
+
font: "label2"
|
|
64
|
+
}));
|
|
65
|
+
const CustomSegmentedTabFont = props => /*#__PURE__*/_jsx(SegmentedTab, _extends({}, props, {
|
|
66
|
+
font: "label2"
|
|
67
|
+
}));
|
|
60
68
|
const basicSegments = [{
|
|
61
69
|
id: 'buy',
|
|
62
70
|
label: 'Buy'
|
|
@@ -124,6 +132,19 @@ const customSegments = [{
|
|
|
124
132
|
id: 'convert',
|
|
125
133
|
label: 'Convert'
|
|
126
134
|
}];
|
|
135
|
+
const mixedCustomSegments = [{
|
|
136
|
+
id: 'buy',
|
|
137
|
+
label: 'Buy',
|
|
138
|
+
Component: CustomSegmentedTabColor
|
|
139
|
+
}, {
|
|
140
|
+
id: 'sell',
|
|
141
|
+
label: 'Sell',
|
|
142
|
+
Component: CustomSegmentedTabFont
|
|
143
|
+
}, {
|
|
144
|
+
id: 'convert',
|
|
145
|
+
label: 'Convert',
|
|
146
|
+
Component: CustomSegmentedTabColor
|
|
147
|
+
}];
|
|
127
148
|
const SegmentedTabsExample = _ref3 => {
|
|
128
149
|
let {
|
|
129
150
|
title,
|
|
@@ -179,6 +200,10 @@ const SegmentedTabsScreen = () => /*#__PURE__*/_jsxs(ExampleScreen, {
|
|
|
179
200
|
defaultActiveTab: customSegments[0],
|
|
180
201
|
tabs: customSegments,
|
|
181
202
|
title: "Custom Single Segment"
|
|
203
|
+
}), /*#__PURE__*/_jsx(SegmentedTabsExample, {
|
|
204
|
+
defaultActiveTab: mixedCustomSegments[0],
|
|
205
|
+
tabs: mixedCustomSegments,
|
|
206
|
+
title: "Mixed Custom Segments"
|
|
182
207
|
}), /*#__PURE__*/_jsx(SegmentedTabsExample, {
|
|
183
208
|
TabComponent: AnotherCustomSegmentedTab,
|
|
184
209
|
TabsActiveIndicatorComponent: CustomActiveIndicator,
|
package/esm/tour/Tour.js
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
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, { useCallback,
|
|
2
|
+
import React, { useCallback, useRef } from 'react';
|
|
3
3
|
import { Modal, View } from 'react-native';
|
|
4
|
-
import { useRefMap } from '@coinbase/cds-common/hooks/useRefMap';
|
|
5
4
|
import { OverlayContentContext } from '@coinbase/cds-common/overlays/OverlayContentContext';
|
|
6
|
-
import { RefMapContext } from '@coinbase/cds-common/system/RefMapContext';
|
|
7
5
|
import { TourContext } from '@coinbase/cds-common/tour/TourContext';
|
|
8
6
|
import { useTour } from '@coinbase/cds-common/tour/useTour';
|
|
9
7
|
import { arrow as arrowMiddleware, autoPlacement, offset, shift, useFloating } from '@floating-ui/react-native';
|
|
@@ -35,13 +33,17 @@ const TourComponent = _ref => {
|
|
|
35
33
|
testID
|
|
36
34
|
} = _ref;
|
|
37
35
|
const theme = useTheme();
|
|
38
|
-
const
|
|
36
|
+
const defaultTourStepOffset = theme.space[3];
|
|
37
|
+
const defaultTourStepShiftPadding = theme.space[4];
|
|
39
38
|
const tourStepArrowRef = useRef(null);
|
|
40
39
|
const RenderedTourStep = activeTourStep == null ? void 0 : activeTourStep.Component;
|
|
41
40
|
const RenderedTourStepArrow = (_activeTourStep$Arrow = activeTourStep == null ? void 0 : activeTourStep.ArrowComponent) != null ? _activeTourStep$Arrow : TourStepArrowComponent;
|
|
42
|
-
const
|
|
43
|
-
|
|
44
|
-
|
|
41
|
+
const [animation, animationApi] = useSpring(() => ({
|
|
42
|
+
from: {
|
|
43
|
+
opacity: 0
|
|
44
|
+
},
|
|
45
|
+
config: springConfig.slow
|
|
46
|
+
}), []);
|
|
45
47
|
const {
|
|
46
48
|
refs,
|
|
47
49
|
floatingStyles,
|
|
@@ -56,25 +58,43 @@ const TourComponent = _ref => {
|
|
|
56
58
|
element: tourStepArrowRef
|
|
57
59
|
})]
|
|
58
60
|
});
|
|
59
|
-
const [animation, animationApi] = useSpring(() => ({
|
|
60
|
-
from: {
|
|
61
|
-
opacity: 0
|
|
62
|
-
},
|
|
63
|
-
config: springConfig.slow
|
|
64
|
-
}), []);
|
|
65
61
|
const handleChange = useCallback(tourStep => {
|
|
66
|
-
// If the opacity is already 0, animating it to 0 does not trigger `onRest`
|
|
67
|
-
if (animation.opacity.get() === 0) return onChange(tourStep);
|
|
68
62
|
void animationApi.start({
|
|
69
63
|
to: {
|
|
70
64
|
opacity: 0
|
|
71
65
|
},
|
|
72
66
|
config: springConfig.stiff,
|
|
73
|
-
|
|
67
|
+
onResolve: () => {
|
|
68
|
+
onChange(tourStep);
|
|
69
|
+
}
|
|
74
70
|
});
|
|
75
|
-
}, [
|
|
76
|
-
const
|
|
77
|
-
|
|
71
|
+
}, [animationApi, onChange]);
|
|
72
|
+
const api = useTour({
|
|
73
|
+
steps,
|
|
74
|
+
activeTourStep,
|
|
75
|
+
onChange: handleChange
|
|
76
|
+
});
|
|
77
|
+
const {
|
|
78
|
+
activeTourStepTarget,
|
|
79
|
+
setActiveTourStepTarget
|
|
80
|
+
} = api;
|
|
81
|
+
|
|
82
|
+
// Component Lifecycle & Side Effects
|
|
83
|
+
// ---------------------------------------------------------------------------
|
|
84
|
+
// This component's visual side effects (animations) are driven by a single
|
|
85
|
+
// callback, `handleSetActiveTourStepTarget`.
|
|
86
|
+
//
|
|
87
|
+
// This function is called from the `TourStep` component's ref callback
|
|
88
|
+
// whenever the active step changes. Because the ref callback is tied to the
|
|
89
|
+
// lifecycle of the `TourStep`, it reliably fires whenever a new step becomes
|
|
90
|
+
// active.
|
|
91
|
+
//
|
|
92
|
+
// This centralizes the logic for revealing a step: when the callback fires,
|
|
93
|
+
// we measure the target element's position on screen and then kick off the
|
|
94
|
+
// fade-in animation, all in one sequential, event-driven flow.
|
|
95
|
+
|
|
96
|
+
const handleActiveTourStepTargetChange = useCallback(target => {
|
|
97
|
+
target == null || target.measureInWindow((x, y, width, height) => {
|
|
78
98
|
refs.setReference({
|
|
79
99
|
measure: callback => {
|
|
80
100
|
callback(x, y, width, height);
|
|
@@ -87,53 +107,44 @@ const TourComponent = _ref => {
|
|
|
87
107
|
}
|
|
88
108
|
});
|
|
89
109
|
});
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
steps,
|
|
93
|
-
activeTourStep,
|
|
94
|
-
onChange: handleChange
|
|
95
|
-
});
|
|
96
|
-
useEffect(() => {
|
|
97
|
-
if (!activeTourStep) return;
|
|
98
|
-
revealTourStep();
|
|
99
|
-
}, [activeTourStep, revealTourStep]);
|
|
110
|
+
setActiveTourStepTarget(target);
|
|
111
|
+
}, [animationApi, refs, setActiveTourStepTarget]);
|
|
100
112
|
return /*#__PURE__*/_jsx(OverlayContentContext.Provider, {
|
|
101
113
|
value: overlayContentContextValue,
|
|
102
|
-
children: /*#__PURE__*/
|
|
103
|
-
value:
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
114
|
+
children: /*#__PURE__*/_jsxs(TourContext.Provider, {
|
|
115
|
+
value: _extends({}, api, {
|
|
116
|
+
setActiveTourStepTarget: handleActiveTourStepTargetChange
|
|
117
|
+
}),
|
|
118
|
+
children: [children, !!RenderedTourStep && /*#__PURE__*/_jsxs(Modal, {
|
|
119
|
+
transparent: true,
|
|
120
|
+
accessibilityLabel: accessibilityLabel,
|
|
121
|
+
accessibilityLabelledBy: accessibilityLabelledBy,
|
|
122
|
+
animationType: "none",
|
|
123
|
+
id: id,
|
|
124
|
+
presentationStyle: "overFullScreen",
|
|
125
|
+
testID: testID,
|
|
126
|
+
children: [!((_activeTourStep$hideO = activeTourStep.hideOverlay) != null ? _activeTourStep$hideO : hideOverlay) && !!activeTourStepTarget && /*#__PURE__*/_jsx(animated.View, {
|
|
127
|
+
style: animation,
|
|
128
|
+
children: /*#__PURE__*/_jsx(TourMaskComponent, {
|
|
129
|
+
activeTourStepTarget: activeTourStepTarget,
|
|
130
|
+
borderRadius: (_activeTourStep$tourM = activeTourStep.tourMaskBorderRadius) != null ? _activeTourStep$tourM : tourMaskBorderRadius,
|
|
131
|
+
padding: (_activeTourStep$tourM2 = activeTourStep.tourMaskPadding) != null ? _activeTourStep$tourM2 : tourMaskPadding
|
|
132
|
+
})
|
|
133
|
+
}), /*#__PURE__*/_jsx(View, {
|
|
134
|
+
ref: refs.setFloating,
|
|
135
|
+
collapsable: false,
|
|
136
|
+
style: floatingStyles,
|
|
137
|
+
children: /*#__PURE__*/_jsxs(animated.View, {
|
|
115
138
|
style: animation,
|
|
116
|
-
children: /*#__PURE__*/_jsx(
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
collapsable: false,
|
|
124
|
-
style: floatingStyles,
|
|
125
|
-
children: /*#__PURE__*/_jsxs(animated.View, {
|
|
126
|
-
style: animation,
|
|
127
|
-
children: [/*#__PURE__*/_jsx(RenderedTourStepArrow, {
|
|
128
|
-
ref: tourStepArrowRef,
|
|
129
|
-
arrow: arrow,
|
|
130
|
-
placement: placement,
|
|
131
|
-
style: activeTourStep == null ? void 0 : activeTourStep.arrowStyle
|
|
132
|
-
}), /*#__PURE__*/_jsx(RenderedTourStep, _extends({}, activeTourStep))]
|
|
133
|
-
})
|
|
134
|
-
})]
|
|
139
|
+
children: [/*#__PURE__*/_jsx(RenderedTourStepArrow, {
|
|
140
|
+
ref: tourStepArrowRef,
|
|
141
|
+
arrow: arrow,
|
|
142
|
+
placement: placement,
|
|
143
|
+
style: activeTourStep == null ? void 0 : activeTourStep.arrowStyle
|
|
144
|
+
}), /*#__PURE__*/_jsx(RenderedTourStep, _extends({}, activeTourStep))]
|
|
145
|
+
})
|
|
135
146
|
})]
|
|
136
|
-
})
|
|
147
|
+
})]
|
|
137
148
|
})
|
|
138
149
|
});
|
|
139
150
|
};
|
package/esm/tour/TourStep.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useCallback } from 'react';
|
|
2
2
|
import { View } from 'react-native';
|
|
3
|
-
import {
|
|
3
|
+
import { useTourContext } from '@coinbase/cds-common/tour/TourContext';
|
|
4
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
5
|
/**
|
|
6
6
|
* The TourStep component wraps the target element (children) that you want to highlight during a step
|
|
@@ -13,9 +13,10 @@ export const TourStep = _ref => {
|
|
|
13
13
|
children
|
|
14
14
|
} = _ref;
|
|
15
15
|
const {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
activeTourStep,
|
|
17
|
+
setActiveTourStepTarget
|
|
18
|
+
} = useTourContext();
|
|
19
|
+
const refCallback = useCallback(ref => (activeTourStep == null ? void 0 : activeTourStep.id) === id && ref && setActiveTourStepTarget(ref), [activeTourStep, id, setActiveTourStepTarget]);
|
|
19
20
|
return /*#__PURE__*/_jsx(View, {
|
|
20
21
|
ref: refCallback,
|
|
21
22
|
collapsable: false,
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coinbase/cds-mobile",
|
|
3
|
-
"version": "8.13.
|
|
3
|
+
"version": "8.13.5",
|
|
4
4
|
"description": "Coinbase Design System - Mobile",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git@github.com:coinbase/cds
|
|
7
|
+
"url": "git@github.com:coinbase/cds.git",
|
|
8
8
|
"directory": "packages/mobile"
|
|
9
9
|
},
|
|
10
10
|
"react-native": "./src/index.ts",
|
|
@@ -150,11 +150,11 @@
|
|
|
150
150
|
"react-native-svg": "^14.1.0"
|
|
151
151
|
},
|
|
152
152
|
"dependencies": {
|
|
153
|
-
"@coinbase/cds-common": "
|
|
154
|
-
"@coinbase/cds-icons": "
|
|
155
|
-
"@coinbase/cds-illustrations": "
|
|
156
|
-
"@coinbase/cds-lottie-files": "
|
|
157
|
-
"@coinbase/cds-utils": "
|
|
153
|
+
"@coinbase/cds-common": "^8.13.5",
|
|
154
|
+
"@coinbase/cds-icons": "^5.4.1",
|
|
155
|
+
"@coinbase/cds-illustrations": "^4.23.0",
|
|
156
|
+
"@coinbase/cds-lottie-files": "^3.3.1",
|
|
157
|
+
"@coinbase/cds-utils": "^2.3.2",
|
|
158
158
|
"@floating-ui/react-native": "^0.10.5",
|
|
159
159
|
"@react-spring/native": "^9.7.4",
|
|
160
160
|
"lodash": "^4.17.21",
|
|
@@ -186,4 +186,4 @@
|
|
|
186
186
|
"react-native-svg": "14.1.0",
|
|
187
187
|
"react-test-renderer": "^18.3.1"
|
|
188
188
|
}
|
|
189
|
-
}
|
|
189
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.stories.d.ts","sourceRoot":"","sources":["../../../src/accordion/__stories__/Accordion.stories.tsx"],"names":[],"mappings":"AAiHA,QAAA,MAAM,eAAe,+CAyEpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.test.d.ts","sourceRoot":"","sources":["../../../src/accordion/__tests__/Accordion.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Carousel.test.d.ts","sourceRoot":"","sources":["../../../../src/alpha/carousel/__tests__/Carousel.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CarouselItem.test.d.ts","sourceRoot":"","sources":["../../../../src/alpha/carousel/__tests__/CarouselItem.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Lottie.stories.d.ts","sourceRoot":"","sources":["../../../src/animation/__stories__/Lottie.stories.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,YAAY,+CAejB,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LottieStatusAnimation.stories.d.ts","sourceRoot":"","sources":["../../../src/animation/__stories__/LottieStatusAnimation.stories.tsx"],"names":[],"mappings":"AAkBA,QAAA,MAAM,2BAA2B,+CA8BhC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Lottie.perf-test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/Lottie.perf-test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Lottie.test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/Lottie.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LottieStatusAnimation.perf-test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/LottieStatusAnimation.perf-test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LottieStatusAnimation.test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/LottieStatusAnimation.test.tsx"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"convertMotionConfig.test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/convertMotionConfig.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createLottie.test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/createLottie.test.tsx"],"names":[],"mappings":""}
|