@coinbase/cds-common 0.0.0 → 8.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dts/accordion/AccordionProvider.d.ts +24 -0
- package/dts/accordion/AccordionProvider.d.ts.map +1 -0
- package/dts/accordion/__tests__/AccordionProvider.test.d.ts +2 -0
- package/dts/accordion/__tests__/AccordionProvider.test.d.ts.map +1 -0
- package/dts/animation/accordion.d.ts +4 -0
- package/dts/animation/accordion.d.ts.map +1 -0
- package/dts/animation/border.d.ts +4 -0
- package/dts/animation/border.d.ts.map +1 -0
- package/dts/animation/carousel.d.ts +8 -0
- package/dts/animation/carousel.d.ts.map +1 -0
- package/dts/animation/collapsible.d.ts +15 -0
- package/dts/animation/collapsible.d.ts.map +1 -0
- package/dts/animation/dot.d.ts +6 -0
- package/dts/animation/dot.d.ts.map +1 -0
- package/dts/animation/drawer.d.ts +20 -0
- package/dts/animation/drawer.d.ts.map +1 -0
- package/dts/animation/dropdown.d.ts +27 -0
- package/dts/animation/dropdown.d.ts.map +1 -0
- package/dts/animation/fullscreenModal.d.ts +12 -0
- package/dts/animation/fullscreenModal.d.ts.map +1 -0
- package/dts/animation/likeButton.d.ts +6 -0
- package/dts/animation/likeButton.d.ts.map +1 -0
- package/dts/animation/menu.d.ts +29 -0
- package/dts/animation/menu.d.ts.map +1 -0
- package/dts/animation/modal.d.ts +10 -0
- package/dts/animation/modal.d.ts.map +1 -0
- package/dts/animation/overlay.d.ts +6 -0
- package/dts/animation/overlay.d.ts.map +1 -0
- package/dts/animation/paddle.d.ts +7 -0
- package/dts/animation/paddle.d.ts.map +1 -0
- package/dts/animation/progress.d.ts +3 -0
- package/dts/animation/progress.d.ts.map +1 -0
- package/dts/animation/rotate.d.ts +3 -0
- package/dts/animation/rotate.d.ts.map +1 -0
- package/dts/animation/select.d.ts +4 -0
- package/dts/animation/select.d.ts.map +1 -0
- package/dts/animation/sparkline.d.ts +7 -0
- package/dts/animation/sparkline.d.ts.map +1 -0
- package/dts/animation/tabs.d.ts +5 -0
- package/dts/animation/tabs.d.ts.map +1 -0
- package/dts/animation/toast.d.ts +12 -0
- package/dts/animation/toast.d.ts.map +1 -0
- package/dts/animation/tooltip.d.ts +18 -0
- package/dts/animation/tooltip.d.ts.map +1 -0
- package/dts/cards/getCardBodySpacingProps.d.ts +5 -0
- package/dts/cards/getCardBodySpacingProps.d.ts.map +1 -0
- package/dts/color/__tests__/blendColors.test.d.ts +2 -0
- package/dts/color/__tests__/blendColors.test.d.ts.map +1 -0
- package/dts/color/__tests__/isLightOrDarkColor.test.d.ts +2 -0
- package/dts/color/__tests__/isLightOrDarkColor.test.d.ts.map +1 -0
- package/dts/color/__tests__/overrideAlpha.test.d.ts +2 -0
- package/dts/color/__tests__/overrideAlpha.test.d.ts.map +1 -0
- package/dts/color/blendColors.d.ts +21 -0
- package/dts/color/blendColors.d.ts.map +1 -0
- package/dts/color/colorToHex.d.ts +7 -0
- package/dts/color/colorToHex.d.ts.map +1 -0
- package/dts/color/darkenColor.d.ts +2 -0
- package/dts/color/darkenColor.d.ts.map +1 -0
- package/dts/color/getAccessibleForegroundGradient.d.ts +13 -0
- package/dts/color/getAccessibleForegroundGradient.d.ts.map +1 -0
- package/dts/color/getBlendedColor.d.ts +114 -0
- package/dts/color/getBlendedColor.d.ts.map +1 -0
- package/dts/color/getContrastRatio.d.ts +6 -0
- package/dts/color/getContrastRatio.d.ts.map +1 -0
- package/dts/color/getLuminance.d.ts +13 -0
- package/dts/color/getLuminance.d.ts.map +1 -0
- package/dts/color/isAccessibleColor.d.ts +18 -0
- package/dts/color/isAccessibleColor.d.ts.map +1 -0
- package/dts/color/isLightOrDarkColor.d.ts +2 -0
- package/dts/color/isLightOrDarkColor.d.ts.map +1 -0
- package/dts/color/overrideAlpha.d.ts +8 -0
- package/dts/color/overrideAlpha.d.ts.map +1 -0
- package/dts/core/theme.d.ts +286 -0
- package/dts/core/theme.d.ts.map +1 -0
- package/dts/dates/DateInputValidationError.d.ts +6 -0
- package/dts/dates/DateInputValidationError.d.ts.map +1 -0
- package/dts/dates/IntlDateFormat.d.ts +45 -0
- package/dts/dates/IntlDateFormat.d.ts.map +1 -0
- package/dts/dates/__tests__/IntlDateFormat.test.d.ts +2 -0
- package/dts/dates/__tests__/IntlDateFormat.test.d.ts.map +1 -0
- package/dts/dates/__tests__/useDateInput.test.d.ts +2 -0
- package/dts/dates/__tests__/useDateInput.test.d.ts.map +1 -0
- package/dts/dates/generateCalendarMonth.d.ts +5 -0
- package/dts/dates/generateCalendarMonth.d.ts.map +1 -0
- package/dts/dates/getISOStringLocal.d.ts +5 -0
- package/dts/dates/getISOStringLocal.d.ts.map +1 -0
- package/dts/dates/getMidnightDate.d.ts +5 -0
- package/dts/dates/getMidnightDate.d.ts.map +1 -0
- package/dts/dates/getTimesFromDatesAndRanges.d.ts +5 -0
- package/dts/dates/getTimesFromDatesAndRanges.d.ts.map +1 -0
- package/dts/dates/useDateInput.d.ts +23 -0
- package/dts/dates/useDateInput.d.ts.map +1 -0
- package/dts/dates/useDateInputValidation.d.ts +46 -0
- package/dts/dates/useDateInputValidation.d.ts.map +1 -0
- package/dts/hooks/__tests__/useFallbackShape.test.d.ts +2 -0
- package/dts/hooks/__tests__/useFallbackShape.test.d.ts.map +1 -0
- package/dts/hooks/__tests__/usePrefixedId.test.d.ts +2 -0
- package/dts/hooks/__tests__/usePrefixedId.test.d.ts.map +1 -0
- package/dts/hooks/__tests__/usePreviousValue.test.d.ts +2 -0
- package/dts/hooks/__tests__/usePreviousValue.test.d.ts.map +1 -0
- package/dts/hooks/__tests__/useRefMap.test.d.ts +2 -0
- package/dts/hooks/__tests__/useRefMap.test.d.ts.map +1 -0
- package/dts/hooks/__tests__/useSort.test.d.ts +2 -0
- package/dts/hooks/__tests__/useSort.test.d.ts.map +1 -0
- package/dts/hooks/__tests__/useTimer.test.d.ts +2 -0
- package/dts/hooks/__tests__/useTimer.test.d.ts.map +1 -0
- package/dts/hooks/useEventHandler.d.ts +3 -0
- package/dts/hooks/useEventHandler.d.ts.map +1 -0
- package/dts/hooks/useFallbackShape.d.ts +10 -0
- package/dts/hooks/useFallbackShape.d.ts.map +1 -0
- package/dts/hooks/useGroupToggler.d.ts +23 -0
- package/dts/hooks/useGroupToggler.d.ts.map +1 -0
- package/dts/hooks/useHasMounted.d.ts +2 -0
- package/dts/hooks/useHasMounted.d.ts.map +1 -0
- package/dts/hooks/useIndexCounter.d.ts +18 -0
- package/dts/hooks/useIndexCounter.d.ts.map +1 -0
- package/dts/hooks/useInputVariant.d.ts +3 -0
- package/dts/hooks/useInputVariant.d.ts.map +1 -0
- package/dts/hooks/useLogo.d.ts +26 -0
- package/dts/hooks/useLogo.d.ts.map +1 -0
- package/dts/hooks/useMergeRefs.d.ts +2 -0
- package/dts/hooks/useMergeRefs.d.ts.map +1 -0
- package/dts/hooks/usePrefixedId.d.ts +12 -0
- package/dts/hooks/usePrefixedId.d.ts.map +1 -0
- package/dts/hooks/usePreviousValue.d.ts +2 -0
- package/dts/hooks/usePreviousValue.d.ts.map +1 -0
- package/dts/hooks/usePreviousValues.d.ts +5 -0
- package/dts/hooks/usePreviousValues.d.ts.map +1 -0
- package/dts/hooks/useRefMap.d.ts +13 -0
- package/dts/hooks/useRefMap.d.ts.map +1 -0
- package/dts/hooks/useSort.d.ts +19 -0
- package/dts/hooks/useSort.d.ts.map +1 -0
- package/dts/hooks/useSubBrandLogo.d.ts +62 -0
- package/dts/hooks/useSubBrandLogo.d.ts.map +1 -0
- package/dts/hooks/useTimer.d.ts +7 -0
- package/dts/hooks/useTimer.d.ts.map +1 -0
- package/dts/hooks/useToggler.d.ts +10 -0
- package/dts/hooks/useToggler.d.ts.map +1 -0
- package/dts/hooks/useValueChanges.d.ts +8 -0
- package/dts/hooks/useValueChanges.d.ts.map +1 -0
- package/dts/index.d.ts +8 -0
- package/dts/index.d.ts.map +1 -0
- package/dts/internal/data/accounts.d.ts +359 -0
- package/dts/internal/data/accounts.d.ts.map +1 -0
- package/dts/internal/data/announcementCards.d.ts +10 -0
- package/dts/internal/data/announcementCards.d.ts.map +1 -0
- package/dts/internal/data/asset.d.ts +171 -0
- package/dts/internal/data/asset.d.ts.map +1 -0
- package/dts/internal/data/assets.d.ts +78 -0
- package/dts/internal/data/assets.d.ts.map +1 -0
- package/dts/internal/data/avatars.d.ts +3 -0
- package/dts/internal/data/avatars.d.ts.map +1 -0
- package/dts/internal/data/dataCards.d.ts +23 -0
- package/dts/internal/data/dataCards.d.ts.map +1 -0
- package/dts/internal/data/featureEntryCards.d.ts +17 -0
- package/dts/internal/data/featureEntryCards.d.ts.map +1 -0
- package/dts/internal/data/feedImages.d.ts +2 -0
- package/dts/internal/data/feedImages.d.ts.map +1 -0
- package/dts/internal/data/iconData.d.ts +2 -0
- package/dts/internal/data/iconData.d.ts.map +1 -0
- package/dts/internal/data/loremIpsum.d.ts +2 -0
- package/dts/internal/data/loremIpsum.d.ts.map +1 -0
- package/dts/internal/data/navigation.d.ts +7 -0
- package/dts/internal/data/navigation.d.ts.map +1 -0
- package/dts/internal/data/prices.d.ts +7 -0
- package/dts/internal/data/prices.d.ts.map +1 -0
- package/dts/internal/data/product.d.ts +25 -0
- package/dts/internal/data/product.d.ts.map +1 -0
- package/dts/internal/data/tabs.d.ts +15 -0
- package/dts/internal/data/tabs.d.ts.map +1 -0
- package/dts/internal/data/users.d.ts +10 -0
- package/dts/internal/data/users.d.ts.map +1 -0
- package/dts/internal/utils/storyBuilder.d.ts +113 -0
- package/dts/internal/utils/storyBuilder.d.ts.map +1 -0
- package/dts/internal/visualizations/SparklineInteractiveData.d.ts +13 -0
- package/dts/internal/visualizations/SparklineInteractiveData.d.ts.map +1 -0
- package/dts/jest/timeTravel.d.ts +15 -0
- package/dts/jest/timeTravel.d.ts.map +1 -0
- package/dts/lottie/lottieUtils.d.ts +11 -0
- package/dts/lottie/lottieUtils.d.ts.map +1 -0
- package/dts/lottie/lottieUtils.test.d.ts +2 -0
- package/dts/lottie/lottieUtils.test.d.ts.map +1 -0
- package/dts/lottie/useStatusAnimationPoller.d.ts +12 -0
- package/dts/lottie/useStatusAnimationPoller.d.ts.map +1 -0
- package/dts/media/getAvatarFallbackColor.d.ts +7 -0
- package/dts/media/getAvatarFallbackColor.d.ts.map +1 -0
- package/dts/media/remoteImageFallbackSrc.d.ts +6 -0
- package/dts/media/remoteImageFallbackSrc.d.ts.map +1 -0
- package/dts/motion/animatedCaret.d.ts +3 -0
- package/dts/motion/animatedCaret.d.ts.map +1 -0
- package/dts/motion/checkbox.d.ts +81 -0
- package/dts/motion/checkbox.d.ts.map +1 -0
- package/dts/motion/dot.d.ts +81 -0
- package/dts/motion/dot.d.ts.map +1 -0
- package/dts/motion/hint.d.ts +48 -0
- package/dts/motion/hint.d.ts.map +1 -0
- package/dts/motion/switch.d.ts +7 -0
- package/dts/motion/switch.d.ts.map +1 -0
- package/dts/motion/tokens.d.ts +422 -0
- package/dts/motion/tokens.d.ts.map +1 -0
- package/dts/motion/utils.d.ts +15 -0
- package/dts/motion/utils.d.ts.map +1 -0
- package/dts/numbers/IntlNumberFormat.d.ts +131 -0
- package/dts/numbers/IntlNumberFormat.d.ts.map +1 -0
- package/dts/numbers/__tests__/formatToParts.test.d.ts +2 -0
- package/dts/numbers/__tests__/formatToParts.test.d.ts.map +1 -0
- package/dts/numbers/__tests__/subscript.test.d.ts +2 -0
- package/dts/numbers/__tests__/subscript.test.d.ts.map +1 -0
- package/dts/numbers/subscript.d.ts +7 -0
- package/dts/numbers/subscript.d.ts.map +1 -0
- package/dts/overlays/ModalContext.d.ts +25 -0
- package/dts/overlays/ModalContext.d.ts.map +1 -0
- package/dts/overlays/OverlayContentContext.d.ts +13 -0
- package/dts/overlays/OverlayContentContext.d.ts.map +1 -0
- package/dts/overlays/PortalContext.d.ts +8 -0
- package/dts/overlays/PortalContext.d.ts.map +1 -0
- package/dts/overlays/ToastProvider.d.ts +73 -0
- package/dts/overlays/ToastProvider.d.ts.map +1 -0
- package/dts/overlays/__tests__/useOverlay.test.d.ts +2 -0
- package/dts/overlays/__tests__/useOverlay.test.d.ts.map +1 -0
- package/dts/overlays/__tests__/useToastQueue.test.d.ts +2 -0
- package/dts/overlays/__tests__/useToastQueue.test.d.ts.map +1 -0
- package/dts/overlays/useAlert.d.ts +8 -0
- package/dts/overlays/useAlert.d.ts.map +1 -0
- package/dts/overlays/useModal.d.ts +8 -0
- package/dts/overlays/useModal.d.ts.map +1 -0
- package/dts/overlays/useOverlay.d.ts +6 -0
- package/dts/overlays/useOverlay.d.ts.map +1 -0
- package/dts/overlays/usePortal.d.ts +2 -0
- package/dts/overlays/usePortal.d.ts.map +1 -0
- package/dts/overlays/usePortalState.d.ts +24 -0
- package/dts/overlays/usePortalState.d.ts.map +1 -0
- package/dts/overlays/useToastQueue.d.ts +11 -0
- package/dts/overlays/useToastQueue.d.ts.map +1 -0
- package/dts/stepper/__tests__/useStepper.test.d.ts +2 -0
- package/dts/stepper/__tests__/useStepper.test.d.ts.map +1 -0
- package/dts/stepper/__tests__/utils.test.d.ts +2 -0
- package/dts/stepper/__tests__/utils.test.d.ts.map +1 -0
- package/dts/stepper/useStepper.d.ts +41 -0
- package/dts/stepper/useStepper.d.ts.map +1 -0
- package/dts/stepper/utils.d.ts +22 -0
- package/dts/stepper/utils.d.ts.map +1 -0
- package/dts/system/EventHandlerProvider.d.ts +31 -0
- package/dts/system/EventHandlerProvider.d.ts.map +1 -0
- package/dts/system/LocaleProvider.d.ts +12 -0
- package/dts/system/LocaleProvider.d.ts.map +1 -0
- package/dts/system/RefMapContext.d.ts +10 -0
- package/dts/system/RefMapContext.d.ts.map +1 -0
- package/dts/system/__tests__/EventHandlerProvider.test.d.ts +2 -0
- package/dts/system/__tests__/EventHandlerProvider.test.d.ts.map +1 -0
- package/dts/tabs/TabsContext.d.ts +5 -0
- package/dts/tabs/TabsContext.d.ts.map +1 -0
- package/dts/tabs/__tests__/TabsContext.test.d.ts +2 -0
- package/dts/tabs/__tests__/TabsContext.test.d.ts.map +1 -0
- package/dts/tabs/__tests__/useTabs.test.d.ts +2 -0
- package/dts/tabs/__tests__/useTabs.test.d.ts.map +1 -0
- package/dts/tabs/useTabs.d.ts +29 -0
- package/dts/tabs/useTabs.d.ts.map +1 -0
- package/dts/tokens/accordion.d.ts +7 -0
- package/dts/tokens/accordion.d.ts.map +1 -0
- package/dts/tokens/appSwitcher.d.ts +4 -0
- package/dts/tokens/appSwitcher.d.ts.map +1 -0
- package/dts/tokens/avatar.d.ts +14 -0
- package/dts/tokens/avatar.d.ts.map +1 -0
- package/dts/tokens/banner.d.ts +15 -0
- package/dts/tokens/banner.d.ts.map +1 -0
- package/dts/tokens/borderRadius.d.ts +3 -0
- package/dts/tokens/borderRadius.d.ts.map +1 -0
- package/dts/tokens/button.d.ts +65 -0
- package/dts/tokens/button.d.ts.map +1 -0
- package/dts/tokens/card.d.ts +29 -0
- package/dts/tokens/card.d.ts.map +1 -0
- package/dts/tokens/cell.d.ts +27 -0
- package/dts/tokens/cell.d.ts.map +1 -0
- package/dts/tokens/chip.d.ts +2 -0
- package/dts/tokens/chip.d.ts.map +1 -0
- package/dts/tokens/dot.d.ts +12 -0
- package/dts/tokens/dot.d.ts.map +1 -0
- package/dts/tokens/drawer.d.ts +12 -0
- package/dts/tokens/drawer.d.ts.map +1 -0
- package/dts/tokens/illustrations.d.ts +28 -0
- package/dts/tokens/illustrations.d.ts.map +1 -0
- package/dts/tokens/input.d.ts +6 -0
- package/dts/tokens/input.d.ts.map +1 -0
- package/dts/tokens/interactable.d.ts +5 -0
- package/dts/tokens/interactable.d.ts.map +1 -0
- package/dts/tokens/interactableHeight.d.ts +5 -0
- package/dts/tokens/interactableHeight.d.ts.map +1 -0
- package/dts/tokens/menu.d.ts +3 -0
- package/dts/tokens/menu.d.ts.map +1 -0
- package/dts/tokens/multiContentModule.d.ts +2 -0
- package/dts/tokens/multiContentModule.d.ts.map +1 -0
- package/dts/tokens/navigation.d.ts +2 -0
- package/dts/tokens/navigation.d.ts.map +1 -0
- package/dts/tokens/overlays.d.ts +2 -0
- package/dts/tokens/overlays.d.ts.map +1 -0
- package/dts/tokens/page.d.ts +3 -0
- package/dts/tokens/page.d.ts.map +1 -0
- package/dts/tokens/select.d.ts +7 -0
- package/dts/tokens/select.d.ts.map +1 -0
- package/dts/tokens/sidebar.d.ts +3 -0
- package/dts/tokens/sidebar.d.ts.map +1 -0
- package/dts/tokens/sizing.d.ts +3 -0
- package/dts/tokens/sizing.d.ts.map +1 -0
- package/dts/tokens/sparkline.d.ts +11 -0
- package/dts/tokens/sparkline.d.ts.map +1 -0
- package/dts/tokens/tags.d.ts +12 -0
- package/dts/tokens/tags.d.ts.map +1 -0
- package/dts/tokens/tile.d.ts +4 -0
- package/dts/tokens/tile.d.ts.map +1 -0
- package/dts/tokens/toast.d.ts +5 -0
- package/dts/tokens/toast.d.ts.map +1 -0
- package/dts/tokens/tooltip.d.ts +4 -0
- package/dts/tokens/tooltip.d.ts.map +1 -0
- package/dts/tokens/zIndex.d.ts +14 -0
- package/dts/tokens/zIndex.d.ts.map +1 -0
- package/dts/tour/TourContext.d.ts +6 -0
- package/dts/tour/TourContext.d.ts.map +1 -0
- package/dts/tour/__tests__/TourContext.test.d.ts +2 -0
- package/dts/tour/__tests__/TourContext.test.d.ts.map +1 -0
- package/dts/tour/__tests__/useTour.test.d.ts +2 -0
- package/dts/tour/__tests__/useTour.test.d.ts.map +1 -0
- package/dts/tour/useTour.d.ts +98 -0
- package/dts/tour/useTour.d.ts.map +1 -0
- package/dts/types/AvatarBaseProps.d.ts +6 -0
- package/dts/types/AvatarBaseProps.d.ts.map +1 -0
- package/dts/types/AvatarSize.d.ts +2 -0
- package/dts/types/AvatarSize.d.ts.map +1 -0
- package/dts/types/BannerBaseProps.d.ts +3 -0
- package/dts/types/BannerBaseProps.d.ts.map +1 -0
- package/dts/types/BoxBaseProps.d.ts +62 -0
- package/dts/types/BoxBaseProps.d.ts.map +1 -0
- package/dts/types/ButtonBaseProps.d.ts +2 -0
- package/dts/types/ButtonBaseProps.d.ts.map +1 -0
- package/dts/types/CardHeaderProps.d.ts +12 -0
- package/dts/types/CardHeaderProps.d.ts.map +1 -0
- package/dts/types/CardMediaProps.d.ts +27 -0
- package/dts/types/CardMediaProps.d.ts.map +1 -0
- package/dts/types/CardRemoteImageProps.d.ts +18 -0
- package/dts/types/CardRemoteImageProps.d.ts.map +1 -0
- package/dts/types/CdsPlatform.d.ts +2 -0
- package/dts/types/CdsPlatform.d.ts.map +1 -0
- package/dts/types/CellBaseProps.d.ts +8 -0
- package/dts/types/CellBaseProps.d.ts.map +1 -0
- package/dts/types/Chart.d.ts +27 -0
- package/dts/types/Chart.d.ts.map +1 -0
- package/dts/types/CollapsibleBaseProps.d.ts +2 -0
- package/dts/types/CollapsibleBaseProps.d.ts.map +1 -0
- package/dts/types/Color.d.ts +6 -0
- package/dts/types/Color.d.ts.map +1 -0
- package/dts/types/ComponentEventHandlerProps.d.ts +6 -0
- package/dts/types/ComponentEventHandlerProps.d.ts.map +1 -0
- package/dts/types/DimensionStyles.d.ts +24 -0
- package/dts/types/DimensionStyles.d.ts.map +1 -0
- package/dts/types/Display.d.ts +2 -0
- package/dts/types/Display.d.ts.map +1 -0
- package/dts/types/DotBaseProps.d.ts +5 -0
- package/dts/types/DotBaseProps.d.ts.map +1 -0
- package/dts/types/DotCountBaseProps.d.ts +5 -0
- package/dts/types/DotCountBaseProps.d.ts.map +1 -0
- package/dts/types/ElevationLevels.d.ts +7 -0
- package/dts/types/ElevationLevels.d.ts.map +1 -0
- package/dts/types/FallbackBaseProps.d.ts +10 -0
- package/dts/types/FallbackBaseProps.d.ts.map +1 -0
- package/dts/types/Grid.d.ts +2 -0
- package/dts/types/Grid.d.ts.map +1 -0
- package/dts/types/Helpers.d.ts +4 -0
- package/dts/types/Helpers.d.ts.map +1 -0
- package/dts/types/IconButtonBaseProps.d.ts +3 -0
- package/dts/types/IconButtonBaseProps.d.ts.map +1 -0
- package/dts/types/IconName.d.ts +3 -0
- package/dts/types/IconName.d.ts.map +1 -0
- package/dts/types/IconSize.d.ts +3 -0
- package/dts/types/IconSize.d.ts.map +1 -0
- package/dts/types/IllustrationNames.d.ts +8 -0
- package/dts/types/IllustrationNames.d.ts.map +1 -0
- package/dts/types/IllustrationProps.d.ts +15 -0
- package/dts/types/IllustrationProps.d.ts.map +1 -0
- package/dts/types/InputBaseProps.d.ts +19 -0
- package/dts/types/InputBaseProps.d.ts.map +1 -0
- package/dts/types/LottiePlayer.d.ts +9 -0
- package/dts/types/LottiePlayer.d.ts.map +1 -0
- package/dts/types/LottieSource.d.ts +30 -0
- package/dts/types/LottieSource.d.ts.map +1 -0
- package/dts/types/LottieStatusAnimationProps.d.ts +24 -0
- package/dts/types/LottieStatusAnimationProps.d.ts.map +1 -0
- package/dts/types/Motion.d.ts +34 -0
- package/dts/types/Motion.d.ts.map +1 -0
- package/dts/types/OverlayLifecycleProps.d.ts +19 -0
- package/dts/types/OverlayLifecycleProps.d.ts.map +1 -0
- package/dts/types/Palette.d.ts +5 -0
- package/dts/types/Palette.d.ts.map +1 -0
- package/dts/types/Placement.d.ts +3 -0
- package/dts/types/Placement.d.ts.map +1 -0
- package/dts/types/Position.d.ts +2 -0
- package/dts/types/Position.d.ts.map +1 -0
- package/dts/types/ProgressContainerWithButtonsProps.d.ts +8 -0
- package/dts/types/ProgressContainerWithButtonsProps.d.ts.map +1 -0
- package/dts/types/PulseBaseProps.d.ts +2 -0
- package/dts/types/PulseBaseProps.d.ts.map +1 -0
- package/dts/types/React.d.ts +3 -0
- package/dts/types/React.d.ts.map +1 -0
- package/dts/types/Rect.d.ts +8 -0
- package/dts/types/Rect.d.ts.map +1 -0
- package/dts/types/Responsive.d.ts +3 -0
- package/dts/types/Responsive.d.ts.map +1 -0
- package/dts/types/ResponsiveProps.d.ts +24 -0
- package/dts/types/ResponsiveProps.d.ts.map +1 -0
- package/dts/types/SectionHeaderProps.d.ts +18 -0
- package/dts/types/SectionHeaderProps.d.ts.map +1 -0
- package/dts/types/Shape.d.ts +3 -0
- package/dts/types/Shape.d.ts.map +1 -0
- package/dts/types/SharedAccessibilityProps.d.ts +34 -0
- package/dts/types/SharedAccessibilityProps.d.ts.map +1 -0
- package/dts/types/SharedProps.d.ts +9 -0
- package/dts/types/SharedProps.d.ts.map +1 -0
- package/dts/types/SpacingProps.d.ts +46 -0
- package/dts/types/SpacingProps.d.ts.map +1 -0
- package/dts/types/SparklineInteractiveHeaderBaseProps.d.ts +3 -0
- package/dts/types/SparklineInteractiveHeaderBaseProps.d.ts.map +1 -0
- package/dts/types/SpreadPropsSafely.d.ts +28 -0
- package/dts/types/SpreadPropsSafely.d.ts.map +1 -0
- package/dts/types/StickyFooterProps.d.ts +22 -0
- package/dts/types/StickyFooterProps.d.ts.map +1 -0
- package/dts/types/TagBaseProps.d.ts +4 -0
- package/dts/types/TagBaseProps.d.ts.map +1 -0
- package/dts/types/TextBaseProps.d.ts +10 -0
- package/dts/types/TextBaseProps.d.ts.map +1 -0
- package/dts/types/TooltipBaseProps.d.ts +2 -0
- package/dts/types/TooltipBaseProps.d.ts.map +1 -0
- package/dts/types/TypeOrNumber.d.ts +3 -0
- package/dts/types/TypeOrNumber.d.ts.map +1 -0
- package/dts/types/Visibility.d.ts +5 -0
- package/dts/types/Visibility.d.ts.map +1 -0
- package/dts/types/Weight.d.ts +2 -0
- package/dts/types/Weight.d.ts.map +1 -0
- package/dts/types/index.d.ts +57 -0
- package/dts/types/index.d.ts.map +1 -0
- package/dts/utils/__tests__/cell.test.d.ts +2 -0
- package/dts/utils/__tests__/cell.test.d.ts.map +1 -0
- package/dts/utils/__tests__/chart.test.d.ts +2 -0
- package/dts/utils/__tests__/chart.test.d.ts.map +1 -0
- package/dts/utils/__tests__/flattenNodes.test.d.ts +2 -0
- package/dts/utils/__tests__/flattenNodes.test.d.ts.map +1 -0
- package/dts/utils/__tests__/formatCount.test.d.ts +2 -0
- package/dts/utils/__tests__/formatCount.test.d.ts.map +1 -0
- package/dts/utils/__tests__/getRectWidthVariant.test.d.ts +2 -0
- package/dts/utils/__tests__/getRectWidthVariant.test.d.ts.map +1 -0
- package/dts/utils/cell.d.ts +3 -0
- package/dts/utils/cell.d.ts.map +1 -0
- package/dts/utils/chart.d.ts +2 -0
- package/dts/utils/chart.d.ts.map +1 -0
- package/dts/utils/circle.d.ts +4 -0
- package/dts/utils/circle.d.ts.map +1 -0
- package/dts/utils/convertDimensionToAspectRatio.d.ts +4 -0
- package/dts/utils/convertDimensionToAspectRatio.d.ts.map +1 -0
- package/dts/utils/convertDimensionToSize.d.ts +8 -0
- package/dts/utils/convertDimensionToSize.d.ts.map +1 -0
- package/dts/utils/convertSizeWithMultiplier.d.ts +9 -0
- package/dts/utils/convertSizeWithMultiplier.d.ts.map +1 -0
- package/dts/utils/debounce.d.ts +2 -0
- package/dts/utils/debounce.d.ts.map +1 -0
- package/dts/utils/delay.d.ts +5 -0
- package/dts/utils/delay.d.ts.map +1 -0
- package/dts/utils/flattenNodes.d.ts +5 -0
- package/dts/utils/flattenNodes.d.ts.map +1 -0
- package/dts/utils/formatCount.d.ts +26 -0
- package/dts/utils/formatCount.d.ts.map +1 -0
- package/dts/utils/getAccessibleColor.d.ts +28 -0
- package/dts/utils/getAccessibleColor.d.ts.map +1 -0
- package/dts/utils/getButtonSpacingProps.d.ts +16 -0
- package/dts/utils/getButtonSpacingProps.d.ts.map +1 -0
- package/dts/utils/getDefaultAspectRatioForIllustration.d.ts +4 -0
- package/dts/utils/getDefaultAspectRatioForIllustration.d.ts.map +1 -0
- package/dts/utils/getDefaultSizeObjectForIllustration.d.ts +4 -0
- package/dts/utils/getDefaultSizeObjectForIllustration.d.ts.map +1 -0
- package/dts/utils/getRectWidthVariant.d.ts +2 -0
- package/dts/utils/getRectWidthVariant.d.ts.map +1 -0
- package/dts/utils/getWidthInEm.d.ts +6 -0
- package/dts/utils/getWidthInEm.d.ts.map +1 -0
- package/dts/utils/join.d.ts +6 -0
- package/dts/utils/join.d.ts.map +1 -0
- package/dts/utils/mergeProps.d.ts +3 -0
- package/dts/utils/mergeProps.d.ts.map +1 -0
- package/dts/utils/mockUtils.d.ts +2 -0
- package/dts/utils/mockUtils.d.ts.map +1 -0
- package/dts/utils/modulate.d.ts +9 -0
- package/dts/utils/modulate.d.ts.map +1 -0
- package/dts/utils/parseDotCountMaxOverflow.d.ts +3 -0
- package/dts/utils/parseDotCountMaxOverflow.d.ts.map +1 -0
- package/dts/visualizations/__tests__/getSparklineRange.test.d.ts +2 -0
- package/dts/visualizations/__tests__/getSparklineRange.test.d.ts.map +1 -0
- package/dts/visualizations/__tests__/largestTriangleThreeBucket.test.d.ts +2 -0
- package/dts/visualizations/__tests__/largestTriangleThreeBucket.test.d.ts.map +1 -0
- package/dts/visualizations/__tests__/useCounter.test.d.ts +2 -0
- package/dts/visualizations/__tests__/useCounter.test.d.ts.map +1 -0
- package/dts/visualizations/__tests__/useSparklineArea.test.d.ts +2 -0
- package/dts/visualizations/__tests__/useSparklineArea.test.d.ts.map +1 -0
- package/dts/visualizations/__tests__/useSparklineCoordinates.test.d.ts +2 -0
- package/dts/visualizations/__tests__/useSparklineCoordinates.test.d.ts.map +1 -0
- package/dts/visualizations/__tests__/useSparklinePath.test.d.ts +2 -0
- package/dts/visualizations/__tests__/useSparklinePath.test.d.ts.map +1 -0
- package/dts/visualizations/getProgressCircleParams.d.ts +15 -0
- package/dts/visualizations/getProgressCircleParams.d.ts.map +1 -0
- package/dts/visualizations/getSparklineRange.d.ts +9 -0
- package/dts/visualizations/getSparklineRange.d.ts.map +1 -0
- package/dts/visualizations/getSparklineTransform.d.ts +4 -0
- package/dts/visualizations/getSparklineTransform.d.ts.map +1 -0
- package/dts/visualizations/largestTriangleThreeBucket.d.ts +16 -0
- package/dts/visualizations/largestTriangleThreeBucket.d.ts.map +1 -0
- package/dts/visualizations/useCounter.d.ts +7 -0
- package/dts/visualizations/useCounter.d.ts.map +1 -0
- package/dts/visualizations/useDateLookup.d.ts +8 -0
- package/dts/visualizations/useDateLookup.d.ts.map +1 -0
- package/dts/visualizations/useProgressSize.d.ts +3 -0
- package/dts/visualizations/useProgressSize.d.ts.map +1 -0
- package/dts/visualizations/useSparklineArea.d.ts +3 -0
- package/dts/visualizations/useSparklineArea.d.ts.map +1 -0
- package/dts/visualizations/useSparklineAreaOpacity.d.ts +2 -0
- package/dts/visualizations/useSparklineAreaOpacity.d.ts.map +1 -0
- package/dts/visualizations/useSparklineCoordinates.d.ts +21 -0
- package/dts/visualizations/useSparklineCoordinates.d.ts.map +1 -0
- package/dts/visualizations/useSparklinePath.d.ts +3 -0
- package/dts/visualizations/useSparklinePath.d.ts.map +1 -0
- package/dts/visualizations/useSparklinePathGenerator.d.ts +18 -0
- package/dts/visualizations/useSparklinePathGenerator.d.ts.map +1 -0
- package/dts/visualizations/useTimeseriesPaths.d.ts +11 -0
- package/dts/visualizations/useTimeseriesPaths.d.ts.map +1 -0
- package/dts/visualizations/useVisualizationDimensions.d.ts +15 -0
- package/dts/visualizations/useVisualizationDimensions.d.ts.map +1 -0
- package/esm/accordion/AccordionProvider.js +38 -0
- package/esm/animation/accordion.js +3 -0
- package/esm/animation/border.js +10 -0
- package/esm/animation/carousel.js +21 -0
- package/esm/animation/collapsible.js +75 -0
- package/esm/animation/dot.js +15 -0
- package/esm/animation/drawer.js +19 -0
- package/esm/animation/dropdown.js +31 -0
- package/esm/animation/fullscreenModal.js +39 -0
- package/esm/animation/likeButton.js +18 -0
- package/esm/animation/menu.js +31 -0
- package/esm/animation/modal.js +32 -0
- package/esm/animation/overlay.js +16 -0
- package/esm/animation/paddle.js +17 -0
- package/esm/animation/progress.js +4 -0
- package/esm/animation/rotate.js +5 -0
- package/esm/animation/select.js +16 -0
- package/esm/animation/sparkline.js +8 -0
- package/esm/animation/tabs.js +5 -0
- package/esm/animation/toast.js +36 -0
- package/esm/animation/tooltip.js +87 -0
- package/esm/cards/getCardBodySpacingProps.js +25 -0
- package/esm/color/blendColors.js +44 -0
- package/esm/color/colorToHex.js +11 -0
- package/esm/color/darkenColor.js +5 -0
- package/esm/color/getAccessibleForegroundGradient.js +32 -0
- package/esm/color/getBlendedColor.js +202 -0
- package/esm/color/getContrastRatio.js +11 -0
- package/esm/color/getLuminance.js +28 -0
- package/esm/color/isAccessibleColor.js +31 -0
- package/esm/color/isLightOrDarkColor.js +21 -0
- package/esm/color/overrideAlpha.js +15 -0
- package/esm/core/theme.js +26 -0
- package/esm/dates/DateInputValidationError.js +7 -0
- package/esm/dates/IntlDateFormat.js +66 -0
- package/esm/dates/generateCalendarMonth.js +22 -0
- package/esm/dates/getISOStringLocal.js +8 -0
- package/esm/dates/getMidnightDate.js +4 -0
- package/esm/dates/getTimesFromDatesAndRanges.js +16 -0
- package/esm/dates/useDateInput.js +105 -0
- package/esm/dates/useDateInputValidation.js +50 -0
- package/esm/hooks/useEventHandler.js +54 -0
- package/esm/hooks/useFallbackShape.js +29 -0
- package/esm/hooks/useGroupToggler.js +105 -0
- package/esm/hooks/useHasMounted.js +6 -0
- package/esm/hooks/useIndexCounter.js +47 -0
- package/esm/hooks/useInputVariant.js +4 -0
- package/esm/hooks/useLogo.js +60 -0
- package/esm/hooks/useMergeRefs.js +14 -0
- package/esm/hooks/usePrefixedId.js +25 -0
- package/esm/hooks/usePreviousValue.js +16 -0
- package/esm/hooks/usePreviousValues.js +26 -0
- package/esm/hooks/useRefMap.js +17 -0
- package/esm/hooks/useSort.js +26 -0
- package/esm/hooks/useSubBrandLogo.js +244 -0
- package/esm/hooks/useTimer.js +51 -0
- package/esm/hooks/useToggler.js +24 -0
- package/esm/hooks/useValueChanges.js +15 -0
- package/esm/index.js +7 -0
- package/esm/internal/data/accounts.js +1838 -0
- package/esm/internal/data/announcementCards.js +23 -0
- package/esm/internal/data/asset.js +6345 -0
- package/esm/internal/data/assets.js +82 -0
- package/esm/internal/data/avatars.js +2 -0
- package/esm/internal/data/dataCards.js +22 -0
- package/esm/internal/data/featureEntryCards.js +28 -0
- package/esm/internal/data/feedImages.js +1 -0
- package/esm/internal/data/iconData.js +1 -0
- package/esm/internal/data/loremIpsum.js +1 -0
- package/esm/internal/data/navigation.js +11 -0
- package/esm/internal/data/prices.js +7 -0
- package/esm/internal/data/product.js +24 -0
- package/esm/internal/data/tabs.js +58 -0
- package/esm/internal/data/users.js +9 -0
- package/esm/internal/utils/storyBuilder.js +102 -0
- package/esm/internal/visualizations/SparklineInteractiveData.js +67 -0
- package/esm/jest/timeTravel.js +42 -0
- package/esm/lottie/lottieUtils.js +20 -0
- package/esm/lottie/lottieUtils.test.js +44 -0
- package/esm/lottie/useStatusAnimationPoller.js +67 -0
- package/esm/media/getAvatarFallbackColor.js +50 -0
- package/esm/media/remoteImageFallbackSrc.js +11 -0
- package/esm/motion/animatedCaret.js +6 -0
- package/esm/motion/checkbox.js +9 -0
- package/esm/motion/dot.js +9 -0
- package/esm/motion/hint.js +19 -0
- package/esm/motion/switch.js +8 -0
- package/esm/motion/tokens.js +71 -0
- package/esm/motion/utils.js +17 -0
- package/esm/numbers/IntlNumberFormat.js +204 -0
- package/esm/numbers/subscript.js +53 -0
- package/esm/overlays/ModalContext.js +8 -0
- package/esm/overlays/OverlayContentContext.js +24 -0
- package/esm/overlays/PortalContext.js +6 -0
- package/esm/overlays/ToastProvider.js +51 -0
- package/esm/overlays/useAlert.js +8 -0
- package/esm/overlays/useModal.js +16 -0
- package/esm/overlays/useOverlay.js +28 -0
- package/esm/overlays/usePortal.js +10 -0
- package/esm/overlays/usePortalState.js +55 -0
- package/esm/overlays/useToastQueue.js +67 -0
- package/esm/stepper/useStepper.js +124 -0
- package/esm/stepper/utils.js +45 -0
- package/esm/system/EventHandlerProvider.js +24 -0
- package/esm/system/LocaleProvider.js +19 -0
- package/esm/system/RefMapContext.js +7 -0
- package/esm/tabs/TabsContext.js +7 -0
- package/esm/tabs/useTabs.js +43 -0
- package/esm/tokens/accordion.js +6 -0
- package/esm/tokens/appSwitcher.js +3 -0
- package/esm/tokens/avatar.js +13 -0
- package/esm/tokens/banner.js +39 -0
- package/esm/tokens/borderRadius.js +7 -0
- package/esm/tokens/button.js +64 -0
- package/esm/tokens/card.js +29 -0
- package/esm/tokens/cell.js +40 -0
- package/esm/tokens/chip.js +1 -0
- package/esm/tokens/dot.js +31 -0
- package/esm/tokens/drawer.js +11 -0
- package/esm/tokens/illustrations.js +28 -0
- package/esm/tokens/input.js +5 -0
- package/esm/tokens/interactable.js +4 -0
- package/esm/tokens/interactableHeight.js +4 -0
- package/esm/tokens/menu.js +2 -0
- package/esm/tokens/multiContentModule.js +1 -0
- package/esm/tokens/navigation.js +1 -0
- package/esm/tokens/overlays.js +1 -0
- package/esm/tokens/page.js +2 -0
- package/esm/tokens/select.js +26 -0
- package/esm/tokens/sidebar.js +2 -0
- package/esm/tokens/sizing.js +2 -0
- package/esm/tokens/sparkline.js +24 -0
- package/esm/tokens/tags.js +66 -0
- package/esm/tokens/tile.js +9 -0
- package/esm/tokens/toast.js +4 -0
- package/esm/tokens/tooltip.js +5 -0
- package/esm/tokens/zIndex.js +15 -0
- package/esm/tour/TourContext.js +7 -0
- package/esm/tour/useTour.js +84 -0
- package/esm/types/AvatarBaseProps.js +1 -0
- package/esm/types/AvatarSize.js +1 -0
- package/esm/types/BannerBaseProps.js +1 -0
- package/esm/types/BoxBaseProps.js +1 -0
- package/esm/types/ButtonBaseProps.js +1 -0
- package/esm/types/CardHeaderProps.js +1 -0
- package/esm/types/CardMediaProps.js +1 -0
- package/esm/types/CardRemoteImageProps.js +1 -0
- package/esm/types/CdsPlatform.js +1 -0
- package/esm/types/CellBaseProps.js +1 -0
- package/esm/types/Chart.js +1 -0
- package/esm/types/CollapsibleBaseProps.js +1 -0
- package/esm/types/Color.js +1 -0
- package/esm/types/ComponentEventHandlerProps.js +1 -0
- package/esm/types/DimensionStyles.js +1 -0
- package/esm/types/Display.js +1 -0
- package/esm/types/DotBaseProps.js +1 -0
- package/esm/types/DotCountBaseProps.js +1 -0
- package/esm/types/ElevationLevels.js +1 -0
- package/esm/types/FallbackBaseProps.js +1 -0
- package/esm/types/Grid.js +1 -0
- package/esm/types/Helpers.js +1 -0
- package/esm/types/IconButtonBaseProps.js +1 -0
- package/esm/types/IconName.js +1 -0
- package/esm/types/IconSize.js +1 -0
- package/esm/types/IllustrationNames.js +1 -0
- package/esm/types/IllustrationProps.js +1 -0
- package/esm/types/InputBaseProps.js +1 -0
- package/esm/types/LottiePlayer.js +1 -0
- package/esm/types/LottieSource.js +1 -0
- package/esm/types/LottieStatusAnimationProps.js +1 -0
- package/esm/types/Motion.js +1 -0
- package/esm/types/OverlayLifecycleProps.js +1 -0
- package/esm/types/Palette.js +1 -0
- package/esm/types/Placement.js +1 -0
- package/esm/types/Position.js +1 -0
- package/esm/types/ProgressContainerWithButtonsProps.js +1 -0
- package/esm/types/PulseBaseProps.js +1 -0
- package/esm/types/React.js +1 -0
- package/esm/types/Rect.js +6 -0
- package/esm/types/Responsive.js +1 -0
- package/esm/types/ResponsiveProps.js +1 -0
- package/esm/types/SectionHeaderProps.js +1 -0
- package/esm/types/Shape.js +1 -0
- package/esm/types/SharedAccessibilityProps.js +1 -0
- package/esm/types/SharedProps.js +1 -0
- package/esm/types/SpacingProps.js +1 -0
- package/esm/types/SparklineInteractiveHeaderBaseProps.js +1 -0
- package/esm/types/SpreadPropsSafely.js +1 -0
- package/esm/types/StickyFooterProps.js +1 -0
- package/esm/types/TagBaseProps.js +1 -0
- package/esm/types/TextBaseProps.js +1 -0
- package/esm/types/TooltipBaseProps.js +1 -0
- package/esm/types/TypeOrNumber.js +1 -0
- package/esm/types/Visibility.js +1 -0
- package/esm/types/Weight.js +1 -0
- package/esm/types/index.js +58 -0
- package/esm/utils/cell.js +5 -0
- package/esm/utils/chart.js +14 -0
- package/esm/utils/circle.js +12 -0
- package/esm/utils/convertDimensionToAspectRatio.js +5 -0
- package/esm/utils/convertDimensionToSize.js +9 -0
- package/esm/utils/convertSizeWithMultiplier.js +7 -0
- package/esm/utils/debounce.js +16 -0
- package/esm/utils/delay.js +6 -0
- package/esm/utils/flattenNodes.js +33 -0
- package/esm/utils/formatCount.js +43 -0
- package/esm/utils/getAccessibleColor.js +50 -0
- package/esm/utils/getButtonSpacingProps.js +24 -0
- package/esm/utils/getDefaultAspectRatioForIllustration.js +6 -0
- package/esm/utils/getDefaultSizeObjectForIllustration.js +7 -0
- package/esm/utils/getRectWidthVariant.js +1 -0
- package/esm/utils/getWidthInEm.js +13 -0
- package/esm/utils/join.js +11 -0
- package/esm/utils/mergeProps.js +25 -0
- package/esm/utils/mockUtils.js +1 -0
- package/esm/utils/modulate.js +32 -0
- package/esm/utils/parseDotCountMaxOverflow.js +7 -0
- package/esm/visualizations/getProgressCircleParams.js +18 -0
- package/esm/visualizations/getSparklineRange.js +13 -0
- package/esm/visualizations/getSparklineTransform.js +19 -0
- package/esm/visualizations/largestTriangleThreeBucket.js +57 -0
- package/esm/visualizations/useCounter.js +52 -0
- package/esm/visualizations/useDateLookup.js +18 -0
- package/esm/visualizations/useProgressSize.js +15 -0
- package/esm/visualizations/useSparklineArea.js +30 -0
- package/esm/visualizations/useSparklineAreaOpacity.js +3 -0
- package/esm/visualizations/useSparklineCoordinates.js +73 -0
- package/esm/visualizations/useSparklinePath.js +22 -0
- package/esm/visualizations/useSparklinePathGenerator.js +38 -0
- package/esm/visualizations/useTimeseriesPaths.js +41 -0
- package/esm/visualizations/useVisualizationDimensions.js +27 -0
- package/package.json +61 -5
- package/index.js +0 -1
|
@@ -0,0 +1,422 @@
|
|
|
1
|
+
import type { MotionBaseSpec, MotionDuration, MotionEffect } from '../types';
|
|
2
|
+
export type EasingArray = [number, number, number, number];
|
|
3
|
+
export declare const curves: {
|
|
4
|
+
readonly global: EasingArray;
|
|
5
|
+
readonly enterExpressive: EasingArray;
|
|
6
|
+
readonly enterFunctional: EasingArray;
|
|
7
|
+
readonly exitExpressive: EasingArray;
|
|
8
|
+
readonly exitFunctional: EasingArray;
|
|
9
|
+
readonly linear: EasingArray;
|
|
10
|
+
};
|
|
11
|
+
export declare const durations: {
|
|
12
|
+
readonly quick: 33;
|
|
13
|
+
/** Buttons, Toggles, Text, Icons, Selection Controls */
|
|
14
|
+
readonly fast1: 100;
|
|
15
|
+
readonly fast2: 133;
|
|
16
|
+
readonly fast3: 150;
|
|
17
|
+
/** Short distance movements, System Messaging, Navigation Drawer, Modals */
|
|
18
|
+
readonly moderate1: 200;
|
|
19
|
+
readonly moderate2: 250;
|
|
20
|
+
readonly moderate3: 300;
|
|
21
|
+
/** Large distance movements, Page Transitions, Full screen dialogue */
|
|
22
|
+
readonly slow1: 350;
|
|
23
|
+
readonly slow2: 400;
|
|
24
|
+
readonly slow3: 500;
|
|
25
|
+
readonly slow4: 1000;
|
|
26
|
+
};
|
|
27
|
+
export declare const animations: {
|
|
28
|
+
readonly fadeIn: {
|
|
29
|
+
property: import("..").MotionProperty;
|
|
30
|
+
fromValue: import("..").MotionValue;
|
|
31
|
+
toValue: import("..").MotionValue;
|
|
32
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
33
|
+
} | {
|
|
34
|
+
property: import("..").MotionProperty;
|
|
35
|
+
toValue: import("..").MotionValue;
|
|
36
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
37
|
+
fromValue?: undefined;
|
|
38
|
+
};
|
|
39
|
+
readonly fadeIn10: {
|
|
40
|
+
property: import("..").MotionProperty;
|
|
41
|
+
fromValue: import("..").MotionValue;
|
|
42
|
+
toValue: import("..").MotionValue;
|
|
43
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
44
|
+
} | {
|
|
45
|
+
property: import("..").MotionProperty;
|
|
46
|
+
toValue: import("..").MotionValue;
|
|
47
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
48
|
+
fromValue?: undefined;
|
|
49
|
+
};
|
|
50
|
+
readonly fadeIn20: {
|
|
51
|
+
property: import("..").MotionProperty;
|
|
52
|
+
fromValue: import("..").MotionValue;
|
|
53
|
+
toValue: import("..").MotionValue;
|
|
54
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
55
|
+
} | {
|
|
56
|
+
property: import("..").MotionProperty;
|
|
57
|
+
toValue: import("..").MotionValue;
|
|
58
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
59
|
+
fromValue?: undefined;
|
|
60
|
+
};
|
|
61
|
+
readonly fadeIn30: {
|
|
62
|
+
property: import("..").MotionProperty;
|
|
63
|
+
fromValue: import("..").MotionValue;
|
|
64
|
+
toValue: import("..").MotionValue;
|
|
65
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
66
|
+
} | {
|
|
67
|
+
property: import("..").MotionProperty;
|
|
68
|
+
toValue: import("..").MotionValue;
|
|
69
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
70
|
+
fromValue?: undefined;
|
|
71
|
+
};
|
|
72
|
+
readonly fadeOut: {
|
|
73
|
+
property: import("..").MotionProperty;
|
|
74
|
+
fromValue: import("..").MotionValue;
|
|
75
|
+
toValue: import("..").MotionValue;
|
|
76
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
77
|
+
} | {
|
|
78
|
+
property: import("..").MotionProperty;
|
|
79
|
+
toValue: import("..").MotionValue;
|
|
80
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
81
|
+
fromValue?: undefined;
|
|
82
|
+
};
|
|
83
|
+
readonly fadeOut10: {
|
|
84
|
+
property: import("..").MotionProperty;
|
|
85
|
+
fromValue: import("..").MotionValue;
|
|
86
|
+
toValue: import("..").MotionValue;
|
|
87
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
88
|
+
} | {
|
|
89
|
+
property: import("..").MotionProperty;
|
|
90
|
+
toValue: import("..").MotionValue;
|
|
91
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
92
|
+
fromValue?: undefined;
|
|
93
|
+
};
|
|
94
|
+
readonly fadeOut20: {
|
|
95
|
+
property: import("..").MotionProperty;
|
|
96
|
+
fromValue: import("..").MotionValue;
|
|
97
|
+
toValue: import("..").MotionValue;
|
|
98
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
99
|
+
} | {
|
|
100
|
+
property: import("..").MotionProperty;
|
|
101
|
+
toValue: import("..").MotionValue;
|
|
102
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
103
|
+
fromValue?: undefined;
|
|
104
|
+
};
|
|
105
|
+
readonly fadeOut30: {
|
|
106
|
+
property: import("..").MotionProperty;
|
|
107
|
+
fromValue: import("..").MotionValue;
|
|
108
|
+
toValue: import("..").MotionValue;
|
|
109
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
110
|
+
} | {
|
|
111
|
+
property: import("..").MotionProperty;
|
|
112
|
+
toValue: import("..").MotionValue;
|
|
113
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
114
|
+
fromValue?: undefined;
|
|
115
|
+
};
|
|
116
|
+
readonly slideUp: {
|
|
117
|
+
property: import("..").MotionProperty;
|
|
118
|
+
fromValue: import("..").MotionValue;
|
|
119
|
+
toValue: import("..").MotionValue;
|
|
120
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
121
|
+
} | {
|
|
122
|
+
property: import("..").MotionProperty;
|
|
123
|
+
toValue: import("..").MotionValue;
|
|
124
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
125
|
+
fromValue?: undefined;
|
|
126
|
+
};
|
|
127
|
+
readonly slideUp8: {
|
|
128
|
+
property: import("..").MotionProperty;
|
|
129
|
+
fromValue: import("..").MotionValue;
|
|
130
|
+
toValue: import("..").MotionValue;
|
|
131
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
132
|
+
} | {
|
|
133
|
+
property: import("..").MotionProperty;
|
|
134
|
+
toValue: import("..").MotionValue;
|
|
135
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
136
|
+
fromValue?: undefined;
|
|
137
|
+
};
|
|
138
|
+
readonly slideUp16: {
|
|
139
|
+
property: import("..").MotionProperty;
|
|
140
|
+
fromValue: import("..").MotionValue;
|
|
141
|
+
toValue: import("..").MotionValue;
|
|
142
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
143
|
+
} | {
|
|
144
|
+
property: import("..").MotionProperty;
|
|
145
|
+
toValue: import("..").MotionValue;
|
|
146
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
147
|
+
fromValue?: undefined;
|
|
148
|
+
};
|
|
149
|
+
readonly slideUp24: {
|
|
150
|
+
property: import("..").MotionProperty;
|
|
151
|
+
fromValue: import("..").MotionValue;
|
|
152
|
+
toValue: import("..").MotionValue;
|
|
153
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
154
|
+
} | {
|
|
155
|
+
property: import("..").MotionProperty;
|
|
156
|
+
toValue: import("..").MotionValue;
|
|
157
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
158
|
+
fromValue?: undefined;
|
|
159
|
+
};
|
|
160
|
+
readonly slideUp40: {
|
|
161
|
+
property: import("..").MotionProperty;
|
|
162
|
+
fromValue: import("..").MotionValue;
|
|
163
|
+
toValue: import("..").MotionValue;
|
|
164
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
165
|
+
} | {
|
|
166
|
+
property: import("..").MotionProperty;
|
|
167
|
+
toValue: import("..").MotionValue;
|
|
168
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
169
|
+
fromValue?: undefined;
|
|
170
|
+
};
|
|
171
|
+
readonly slideDown: {
|
|
172
|
+
property: import("..").MotionProperty;
|
|
173
|
+
fromValue: import("..").MotionValue;
|
|
174
|
+
toValue: import("..").MotionValue;
|
|
175
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
176
|
+
} | {
|
|
177
|
+
property: import("..").MotionProperty;
|
|
178
|
+
toValue: import("..").MotionValue;
|
|
179
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
180
|
+
fromValue?: undefined;
|
|
181
|
+
};
|
|
182
|
+
readonly slideDown8: {
|
|
183
|
+
property: import("..").MotionProperty;
|
|
184
|
+
fromValue: import("..").MotionValue;
|
|
185
|
+
toValue: import("..").MotionValue;
|
|
186
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
187
|
+
} | {
|
|
188
|
+
property: import("..").MotionProperty;
|
|
189
|
+
toValue: import("..").MotionValue;
|
|
190
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
191
|
+
fromValue?: undefined;
|
|
192
|
+
};
|
|
193
|
+
readonly slideDown16: {
|
|
194
|
+
property: import("..").MotionProperty;
|
|
195
|
+
fromValue: import("..").MotionValue;
|
|
196
|
+
toValue: import("..").MotionValue;
|
|
197
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
198
|
+
} | {
|
|
199
|
+
property: import("..").MotionProperty;
|
|
200
|
+
toValue: import("..").MotionValue;
|
|
201
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
202
|
+
fromValue?: undefined;
|
|
203
|
+
};
|
|
204
|
+
readonly slideDown24: {
|
|
205
|
+
property: import("..").MotionProperty;
|
|
206
|
+
fromValue: import("..").MotionValue;
|
|
207
|
+
toValue: import("..").MotionValue;
|
|
208
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
209
|
+
} | {
|
|
210
|
+
property: import("..").MotionProperty;
|
|
211
|
+
toValue: import("..").MotionValue;
|
|
212
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
213
|
+
fromValue?: undefined;
|
|
214
|
+
};
|
|
215
|
+
readonly slideDown40: {
|
|
216
|
+
property: import("..").MotionProperty;
|
|
217
|
+
fromValue: import("..").MotionValue;
|
|
218
|
+
toValue: import("..").MotionValue;
|
|
219
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
220
|
+
} | {
|
|
221
|
+
property: import("..").MotionProperty;
|
|
222
|
+
toValue: import("..").MotionValue;
|
|
223
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
224
|
+
fromValue?: undefined;
|
|
225
|
+
};
|
|
226
|
+
readonly slideRight: {
|
|
227
|
+
property: import("..").MotionProperty;
|
|
228
|
+
fromValue: import("..").MotionValue;
|
|
229
|
+
toValue: import("..").MotionValue;
|
|
230
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
231
|
+
} | {
|
|
232
|
+
property: import("..").MotionProperty;
|
|
233
|
+
toValue: import("..").MotionValue;
|
|
234
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
235
|
+
fromValue?: undefined;
|
|
236
|
+
};
|
|
237
|
+
readonly slideRight8: {
|
|
238
|
+
property: import("..").MotionProperty;
|
|
239
|
+
fromValue: import("..").MotionValue;
|
|
240
|
+
toValue: import("..").MotionValue;
|
|
241
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
242
|
+
} | {
|
|
243
|
+
property: import("..").MotionProperty;
|
|
244
|
+
toValue: import("..").MotionValue;
|
|
245
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
246
|
+
fromValue?: undefined;
|
|
247
|
+
};
|
|
248
|
+
readonly slideRight16: {
|
|
249
|
+
property: import("..").MotionProperty;
|
|
250
|
+
fromValue: import("..").MotionValue;
|
|
251
|
+
toValue: import("..").MotionValue;
|
|
252
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
253
|
+
} | {
|
|
254
|
+
property: import("..").MotionProperty;
|
|
255
|
+
toValue: import("..").MotionValue;
|
|
256
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
257
|
+
fromValue?: undefined;
|
|
258
|
+
};
|
|
259
|
+
readonly slideRight24: {
|
|
260
|
+
property: import("..").MotionProperty;
|
|
261
|
+
fromValue: import("..").MotionValue;
|
|
262
|
+
toValue: import("..").MotionValue;
|
|
263
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
264
|
+
} | {
|
|
265
|
+
property: import("..").MotionProperty;
|
|
266
|
+
toValue: import("..").MotionValue;
|
|
267
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
268
|
+
fromValue?: undefined;
|
|
269
|
+
};
|
|
270
|
+
readonly slideRight40: {
|
|
271
|
+
property: import("..").MotionProperty;
|
|
272
|
+
fromValue: import("..").MotionValue;
|
|
273
|
+
toValue: import("..").MotionValue;
|
|
274
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
275
|
+
} | {
|
|
276
|
+
property: import("..").MotionProperty;
|
|
277
|
+
toValue: import("..").MotionValue;
|
|
278
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
279
|
+
fromValue?: undefined;
|
|
280
|
+
};
|
|
281
|
+
readonly slideLeft: {
|
|
282
|
+
property: import("..").MotionProperty;
|
|
283
|
+
fromValue: import("..").MotionValue;
|
|
284
|
+
toValue: import("..").MotionValue;
|
|
285
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
286
|
+
} | {
|
|
287
|
+
property: import("..").MotionProperty;
|
|
288
|
+
toValue: import("..").MotionValue;
|
|
289
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
290
|
+
fromValue?: undefined;
|
|
291
|
+
};
|
|
292
|
+
readonly slideLeft8: {
|
|
293
|
+
property: import("..").MotionProperty;
|
|
294
|
+
fromValue: import("..").MotionValue;
|
|
295
|
+
toValue: import("..").MotionValue;
|
|
296
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
297
|
+
} | {
|
|
298
|
+
property: import("..").MotionProperty;
|
|
299
|
+
toValue: import("..").MotionValue;
|
|
300
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
301
|
+
fromValue?: undefined;
|
|
302
|
+
};
|
|
303
|
+
readonly slideLeft16: {
|
|
304
|
+
property: import("..").MotionProperty;
|
|
305
|
+
fromValue: import("..").MotionValue;
|
|
306
|
+
toValue: import("..").MotionValue;
|
|
307
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
308
|
+
} | {
|
|
309
|
+
property: import("..").MotionProperty;
|
|
310
|
+
toValue: import("..").MotionValue;
|
|
311
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
312
|
+
fromValue?: undefined;
|
|
313
|
+
};
|
|
314
|
+
readonly slideLeft24: {
|
|
315
|
+
property: import("..").MotionProperty;
|
|
316
|
+
fromValue: import("..").MotionValue;
|
|
317
|
+
toValue: import("..").MotionValue;
|
|
318
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
319
|
+
} | {
|
|
320
|
+
property: import("..").MotionProperty;
|
|
321
|
+
toValue: import("..").MotionValue;
|
|
322
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
323
|
+
fromValue?: undefined;
|
|
324
|
+
};
|
|
325
|
+
readonly slideLeft40: {
|
|
326
|
+
property: import("..").MotionProperty;
|
|
327
|
+
fromValue: import("..").MotionValue;
|
|
328
|
+
toValue: import("..").MotionValue;
|
|
329
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
330
|
+
} | {
|
|
331
|
+
property: import("..").MotionProperty;
|
|
332
|
+
toValue: import("..").MotionValue;
|
|
333
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
334
|
+
fromValue?: undefined;
|
|
335
|
+
};
|
|
336
|
+
readonly scaleUpXXS: {
|
|
337
|
+
property: import("..").MotionProperty;
|
|
338
|
+
fromValue: import("..").MotionValue;
|
|
339
|
+
toValue: import("..").MotionValue;
|
|
340
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
341
|
+
} | {
|
|
342
|
+
property: import("..").MotionProperty;
|
|
343
|
+
toValue: import("..").MotionValue;
|
|
344
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
345
|
+
fromValue?: undefined;
|
|
346
|
+
};
|
|
347
|
+
readonly scaleUpXS: {
|
|
348
|
+
property: import("..").MotionProperty;
|
|
349
|
+
fromValue: import("..").MotionValue;
|
|
350
|
+
toValue: import("..").MotionValue;
|
|
351
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
352
|
+
} | {
|
|
353
|
+
property: import("..").MotionProperty;
|
|
354
|
+
toValue: import("..").MotionValue;
|
|
355
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
356
|
+
fromValue?: undefined;
|
|
357
|
+
};
|
|
358
|
+
readonly scaleUpS: {
|
|
359
|
+
property: import("..").MotionProperty;
|
|
360
|
+
fromValue: import("..").MotionValue;
|
|
361
|
+
toValue: import("..").MotionValue;
|
|
362
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
363
|
+
} | {
|
|
364
|
+
property: import("..").MotionProperty;
|
|
365
|
+
toValue: import("..").MotionValue;
|
|
366
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
367
|
+
fromValue?: undefined;
|
|
368
|
+
};
|
|
369
|
+
readonly scaleDownXXS: {
|
|
370
|
+
property: import("..").MotionProperty;
|
|
371
|
+
fromValue: import("..").MotionValue;
|
|
372
|
+
toValue: import("..").MotionValue;
|
|
373
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
374
|
+
} | {
|
|
375
|
+
property: import("..").MotionProperty;
|
|
376
|
+
toValue: import("..").MotionValue;
|
|
377
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
378
|
+
fromValue?: undefined;
|
|
379
|
+
};
|
|
380
|
+
readonly scaleDownXS: {
|
|
381
|
+
property: import("..").MotionProperty;
|
|
382
|
+
fromValue: import("..").MotionValue;
|
|
383
|
+
toValue: import("..").MotionValue;
|
|
384
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
385
|
+
} | {
|
|
386
|
+
property: import("..").MotionProperty;
|
|
387
|
+
toValue: import("..").MotionValue;
|
|
388
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
389
|
+
fromValue?: undefined;
|
|
390
|
+
};
|
|
391
|
+
readonly scaleDownS: {
|
|
392
|
+
property: import("..").MotionProperty;
|
|
393
|
+
fromValue: import("..").MotionValue;
|
|
394
|
+
toValue: import("..").MotionValue;
|
|
395
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
396
|
+
} | {
|
|
397
|
+
property: import("..").MotionProperty;
|
|
398
|
+
toValue: import("..").MotionValue;
|
|
399
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
400
|
+
fromValue?: undefined;
|
|
401
|
+
};
|
|
402
|
+
};
|
|
403
|
+
export declare const createMotionConfig: (effect: MotionEffect, duration: MotionDuration, overrides?: Partial<MotionBaseSpec>) => {
|
|
404
|
+
property: string;
|
|
405
|
+
toValue: import("..").MotionValue;
|
|
406
|
+
fromValue: import("..").MotionValue;
|
|
407
|
+
delay?: number;
|
|
408
|
+
useNativeDriver?: boolean;
|
|
409
|
+
easing: import("..").MotionCurve;
|
|
410
|
+
duration: MotionDuration;
|
|
411
|
+
oneOffDuration?: number;
|
|
412
|
+
} | {
|
|
413
|
+
property: string;
|
|
414
|
+
toValue: import("..").MotionValue;
|
|
415
|
+
fromValue?: import("..").MotionValue;
|
|
416
|
+
delay?: number;
|
|
417
|
+
useNativeDriver?: boolean;
|
|
418
|
+
easing: import("..").MotionCurve;
|
|
419
|
+
duration: MotionDuration;
|
|
420
|
+
oneOffDuration?: number;
|
|
421
|
+
};
|
|
422
|
+
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../src/motion/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAI7E,MAAM,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;AAE3D,eAAO,MAAM,MAAM;qBACY,WAAW;8BACJ,WAAW;8BACX,WAAW;6BACZ,WAAW;6BACZ,WAAW;qBACrB,WAAW;CAC3B,CAAC;AAEX,eAAO,MAAM,SAAS;;IAEpB,wDAAwD;;;;IAIxD,4EAA4E;;;;IAI5E,uEAAuE;;;;;CAK/D,CAAC;AAEX,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCb,CAAC;AAEX,eAAO,MAAM,kBAAkB,GAC7B,QAAQ,YAAY,EACpB,UAAU,cAAc,EACxB,YAAY,OAAO,CAAC,cAAc,CAAC;;;;;;;;;;;;;;;;;;CAOpC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { MotionCurve, MotionProperty, MotionValue } from '../types';
|
|
2
|
+
type MotionValues = [MotionValue, MotionValue] | MotionValue;
|
|
3
|
+
export declare const generateAnimToken: (property: MotionProperty, values: MotionValues, easing: MotionCurve) => {
|
|
4
|
+
property: MotionProperty;
|
|
5
|
+
fromValue: MotionValue;
|
|
6
|
+
toValue: MotionValue;
|
|
7
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
8
|
+
} | {
|
|
9
|
+
property: MotionProperty;
|
|
10
|
+
toValue: MotionValue;
|
|
11
|
+
easing: "global" | "enterExpressive" | "enterFunctional" | "exitExpressive" | "exitFunctional" | "linear";
|
|
12
|
+
fromValue?: undefined;
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/motion/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAEzE,KAAK,YAAY,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC,GAAG,WAAW,CAAC;AAE7D,eAAO,MAAM,iBAAiB,GAC5B,UAAU,cAAc,EACxB,QAAQ,YAAY,EACpB,QAAQ,WAAW;;;;;;;;;;CAiBpB,CAAC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
export type NumberPart = {
|
|
2
|
+
type: string;
|
|
3
|
+
value: number | string;
|
|
4
|
+
};
|
|
5
|
+
export type KeyedNumberPart = {
|
|
6
|
+
key: string;
|
|
7
|
+
} & NumberPart;
|
|
8
|
+
export type IntlNumberParts = {
|
|
9
|
+
pre: KeyedNumberPart[];
|
|
10
|
+
integer: KeyedNumberPart[];
|
|
11
|
+
fraction: KeyedNumberPart[];
|
|
12
|
+
post: KeyedNumberPart[];
|
|
13
|
+
formatted: string;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Lightweight wrapper around the built-in Intl.NumberFormat that standardizes
|
|
17
|
+
* number formatting across CDS and provides a structure optimized for animated
|
|
18
|
+
* rendering in RollingNumber components.
|
|
19
|
+
*
|
|
20
|
+
* Responsibilities:
|
|
21
|
+
* - Create and cache an Intl.NumberFormat instance for given value, options, and locale
|
|
22
|
+
* - Expose a simple `format()` that returns the fully formatted string
|
|
23
|
+
* - Expose `formatToParts()` that returns logically grouped and keyed parts
|
|
24
|
+
* (pre/integer/fraction/post) so UI layers can animate digits and symbols
|
|
25
|
+
* - Optionally supports subscript notation for leading fractional zeros
|
|
26
|
+
*
|
|
27
|
+
* Notes:
|
|
28
|
+
* - Keys produced by `formatToParts()` are stable and direction-aware so that
|
|
29
|
+
* animations (e.g., per-digit transitions) can be deterministic
|
|
30
|
+
* - If the environment lacks `Intl.NumberFormat.prototype.formatToParts`, the
|
|
31
|
+
* method will throw and callers should polyfill it.
|
|
32
|
+
*/
|
|
33
|
+
export declare class IntlNumberFormat {
|
|
34
|
+
value: number;
|
|
35
|
+
formatOptions?: Intl.NumberFormatOptions;
|
|
36
|
+
locale?: Intl.LocalesArgument;
|
|
37
|
+
formatter: Intl.NumberFormat;
|
|
38
|
+
constructor(props: {
|
|
39
|
+
value: number;
|
|
40
|
+
format?: Intl.NumberFormatOptions;
|
|
41
|
+
locale?: Intl.LocalesArgument;
|
|
42
|
+
});
|
|
43
|
+
/**
|
|
44
|
+
* Returns the formatted string.
|
|
45
|
+
*/
|
|
46
|
+
format(): string;
|
|
47
|
+
/**
|
|
48
|
+
* Returns the number parts for RollingNumber with groupings and keys for animations
|
|
49
|
+
* Examples
|
|
50
|
+
*
|
|
51
|
+
* Example 1 — basic currency
|
|
52
|
+
* Input:
|
|
53
|
+
* ```json
|
|
54
|
+
* {
|
|
55
|
+
* "value": 98345.67,
|
|
56
|
+
* "format": {
|
|
57
|
+
* "style": "currency",
|
|
58
|
+
* "currency": "USD",
|
|
59
|
+
* "minimumFractionDigits": 2,
|
|
60
|
+
* "maximumFractionDigits": 5
|
|
61
|
+
* },
|
|
62
|
+
* "locale": "en-US",
|
|
63
|
+
* "prefix": "+",
|
|
64
|
+
* "suffix": " BTC"
|
|
65
|
+
* }
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* Output:
|
|
69
|
+
* ```json
|
|
70
|
+
* {
|
|
71
|
+
* "pre": [
|
|
72
|
+
* { "type": "currency", "value": "$", "key": "currency:0" }
|
|
73
|
+
* ],
|
|
74
|
+
* "integer": [
|
|
75
|
+
* { "type": "integer", "value": 9, "key": "integer:4" },
|
|
76
|
+
* { "type": "integer", "value": 8, "key": "integer:3" },
|
|
77
|
+
* { "type": "group", "value": ",", "key": "group:0" },
|
|
78
|
+
* { "type": "integer", "value": 3, "key": "integer:2" },
|
|
79
|
+
* { "type": "integer", "value": 4, "key": "integer:1" },
|
|
80
|
+
* { "type": "integer", "value": 5, "key": "integer:0" }
|
|
81
|
+
* ],
|
|
82
|
+
* "fraction": [
|
|
83
|
+
* { "type": "decimal", "value": ".", "key": "decimal:0" },
|
|
84
|
+
* { "type": "fraction", "value": 6, "key": "fraction:0" },
|
|
85
|
+
* { "type": "fraction", "value": 7, "key": "fraction:1" }
|
|
86
|
+
* ],
|
|
87
|
+
* "post": [],
|
|
88
|
+
* }
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* Example 2 — subscript notation enabled
|
|
92
|
+
* Input:
|
|
93
|
+
* ```json
|
|
94
|
+
* {
|
|
95
|
+
* "value": 1e-10,
|
|
96
|
+
* "format": {
|
|
97
|
+
* "minimumFractionDigits": 2,
|
|
98
|
+
* "maximumFractionDigits": 25
|
|
99
|
+
* },
|
|
100
|
+
* "locale": "en-US",
|
|
101
|
+
* "enableSubscriptNotation": true
|
|
102
|
+
* }
|
|
103
|
+
* ```
|
|
104
|
+
*
|
|
105
|
+
* Output:
|
|
106
|
+
* ```json
|
|
107
|
+
* {
|
|
108
|
+
* "pre": [],
|
|
109
|
+
* "integer": [
|
|
110
|
+
* { "type": "integer", "value": 0, "key": "integer:0" }
|
|
111
|
+
* ],
|
|
112
|
+
* "fraction": [
|
|
113
|
+
* { "type": "decimal", "value": ".", "key": "decimal:0" },
|
|
114
|
+
* { "type": "fraction", "value": 0, "key": "fraction:0" },
|
|
115
|
+
* { "type": "subscript", "value": "₉", "key": "subscript:0" },
|
|
116
|
+
* { "type": "fraction", "value": 1, "key": "fraction:1" }
|
|
117
|
+
* ],
|
|
118
|
+
* "post": [],
|
|
119
|
+
* }
|
|
120
|
+
* ```
|
|
121
|
+
*/
|
|
122
|
+
formatToParts({ enableSubscriptNotation }?: {
|
|
123
|
+
enableSubscriptNotation?: boolean;
|
|
124
|
+
}): {
|
|
125
|
+
pre: KeyedNumberPart[];
|
|
126
|
+
integer: KeyedNumberPart[];
|
|
127
|
+
fraction: KeyedNumberPart[];
|
|
128
|
+
post: KeyedNumberPart[];
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
//# sourceMappingURL=IntlNumberFormat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IntlNumberFormat.d.ts","sourceRoot":"","sources":["../../src/numbers/IntlNumberFormat.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,UAAU,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG;IAAE,GAAG,EAAE,MAAM,CAAA;CAAE,GAAG,UAAU,CAAC;AAE3D,MAAM,MAAM,eAAe,GAAG;IAC5B,GAAG,EAAE,eAAe,EAAE,CAAC;IACvB,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,QAAQ,EAAE,eAAe,EAAE,CAAC;IAC5B,IAAI,EAAE,eAAe,EAAE,CAAC;IACxB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAgBF;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,gBAAgB;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC;IACzC,MAAM,CAAC,EAAE,IAAI,CAAC,eAAe,CAAC;IAC9B,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC;gBAEjB,KAAK,EAAE;QACjB,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC;QAClC,MAAM,CAAC,EAAE,IAAI,CAAC,eAAe,CAAC;KAC/B;IAQD;;OAEG;IACH,MAAM,IAAI,MAAM;IAIhB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0EG;IACH,aAAa,CAAC,EAAE,uBAAuB,EAAE,GAAE;QAAE,uBAAuB,CAAC,EAAE,OAAO,CAAA;KAAO,GAAG;QACtF,GAAG,EAAE,eAAe,EAAE,CAAC;QACvB,OAAO,EAAE,eAAe,EAAE,CAAC;QAC3B,QAAQ,EAAE,eAAe,EAAE,CAAC;QAC5B,IAAI,EAAE,eAAe,EAAE,CAAC;KACzB;CA6DF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"formatToParts.test.d.ts","sourceRoot":"","sources":["../../../src/numbers/__tests__/formatToParts.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscript.test.d.ts","sourceRoot":"","sources":["../../../src/numbers/__tests__/subscript.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { NumberPart } from './IntlNumberFormat';
|
|
2
|
+
export declare const toSubscriptNumber: (n: number) => string;
|
|
3
|
+
/**
|
|
4
|
+
* Builds parts for the fractional digits with subscript applied to leading zeros.
|
|
5
|
+
*/
|
|
6
|
+
export declare function buildFractionPartsWithSubscript(fractionDigits: string): NumberPart[];
|
|
7
|
+
//# sourceMappingURL=subscript.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscript.d.ts","sourceRoot":"","sources":["../../src/numbers/subscript.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAerD,eAAO,MAAM,iBAAiB,GAAI,GAAG,MAAM,WAI9B,CAAC;AAEd;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,cAAc,EAAE,MAAM,GAAG,UAAU,EAAE,CAkBpF"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export type ModalContextValue = {
|
|
2
|
+
/**
|
|
3
|
+
* Controls visibility of the Modal
|
|
4
|
+
* @default false
|
|
5
|
+
*/
|
|
6
|
+
visible: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Callback function fired when modal is closed.
|
|
9
|
+
*/
|
|
10
|
+
onRequestClose: () => void;
|
|
11
|
+
/**
|
|
12
|
+
* Hide top and bottom dividers inside Modal body
|
|
13
|
+
* @default false
|
|
14
|
+
*/
|
|
15
|
+
hideDividers?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Hide the close icon on the top right
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
hideCloseButton?: boolean;
|
|
21
|
+
accessibilityLabelledBy?: string;
|
|
22
|
+
};
|
|
23
|
+
export declare const ModalContext: import("react").Context<ModalContextValue>;
|
|
24
|
+
export declare const useModalContext: () => ModalContextValue;
|
|
25
|
+
//# sourceMappingURL=ModalContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModalContext.d.ts","sourceRoot":"","sources":["../../src/overlays/ModalContext.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;OAGG;IACH,OAAO,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAEF,eAAO,MAAM,YAAY,4CAKvB,CAAC;AAEH,eAAO,MAAM,eAAe,yBAAiC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type OverlayContentContextValue = {
|
|
2
|
+
/** True if we are inside any overlay component like Overlay, Modal, Tray, or Drawer. */
|
|
3
|
+
isOverlay?: boolean;
|
|
4
|
+
/** True if we are inside a Modal component. */
|
|
5
|
+
isModal?: boolean;
|
|
6
|
+
/** True if we are inside a Drawer or Tray component. */
|
|
7
|
+
isDrawer?: boolean;
|
|
8
|
+
/** True if we are inside a Tour component. */
|
|
9
|
+
isTour?: boolean;
|
|
10
|
+
};
|
|
11
|
+
export declare const OverlayContentContext: import("react").Context<OverlayContentContextValue>;
|
|
12
|
+
export declare const useOverlayContentContext: () => OverlayContentContextValue;
|
|
13
|
+
//# sourceMappingURL=OverlayContentContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverlayContentContext.d.ts","sourceRoot":"","sources":["../../src/overlays/OverlayContentContext.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,0BAA0B,GAAG;IACvC,wFAAwF;IACxF,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,qBAAqB,qDAAgD,CAAC;AAEnF,eAAO,MAAM,wBAAwB,kCAcpC,CAAC"}
|