@telus-uds/components-web 3.4.0 → 4.0.0
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/.eslintrc.cjs +7 -1
- package/CHANGELOG.md +22 -2
- package/jest.config.cjs +1 -1
- package/lib/cjs/Badge/Badge.js +128 -0
- package/lib/cjs/Badge/index.js +9 -0
- package/lib/cjs/BlockQuote/BlockQuote.js +256 -0
- package/lib/cjs/BlockQuote/index.js +9 -0
- package/lib/cjs/Breadcrumbs/Breadcrumbs.js +264 -0
- package/lib/cjs/Breadcrumbs/Item/Item.js +180 -0
- package/lib/cjs/Breadcrumbs/index.js +13 -0
- package/lib/cjs/Callout/Callout.js +141 -0
- package/lib/cjs/Callout/index.js +9 -0
- package/lib/cjs/Card/Card.js +257 -0
- package/lib/cjs/Card/CardContent.js +97 -0
- package/lib/cjs/Card/CardFooter.js +85 -0
- package/lib/cjs/Card/index.js +9 -0
- package/lib/cjs/Countdown/Countdown.js +268 -0
- package/lib/cjs/Countdown/Segment.js +108 -0
- package/lib/cjs/Countdown/constants.js +10 -0
- package/lib/cjs/Countdown/dictionary.js +28 -0
- package/lib/cjs/Countdown/index.js +9 -0
- package/lib/cjs/Countdown/types.js +31 -0
- package/lib/cjs/Countdown/useCountdown.js +32 -0
- package/lib/cjs/DatePicker/CalendarContainer.js +214 -0
- package/lib/cjs/DatePicker/DatePicker.js +525 -0
- package/lib/cjs/DatePicker/dictionary.js +125 -0
- package/lib/cjs/DatePicker/index.js +9 -0
- package/lib/cjs/DatePicker/reactDatesCss.js +9 -0
- package/lib/cjs/Disclaimer/Disclaimer.js +61 -0
- package/lib/cjs/Disclaimer/index.js +13 -0
- package/lib/cjs/Footnote/Footnote.js +637 -0
- package/lib/cjs/Footnote/FootnoteLink.js +125 -0
- package/lib/cjs/Footnote/dictionary.js +18 -0
- package/lib/cjs/Footnote/index.js +11 -0
- package/lib/cjs/IconButton/IconButton.js +62 -0
- package/lib/cjs/IconButton/index.js +9 -0
- package/lib/cjs/Image/Image.js +90 -0
- package/lib/cjs/Image/index.js +20 -0
- package/lib/cjs/Image/server.js +11 -0
- package/lib/cjs/List/List.js +8 -0
- package/lib/cjs/List/ListItem.js +34 -0
- package/lib/cjs/List/index.js +11 -0
- package/lib/cjs/NavigationBar/NavigationBar.js +282 -0
- package/lib/cjs/NavigationBar/NavigationItem.js +94 -0
- package/lib/cjs/NavigationBar/NavigationSubMenu.js +164 -0
- package/lib/cjs/NavigationBar/collapseItems.js +43 -0
- package/lib/cjs/NavigationBar/index.js +11 -0
- package/lib/cjs/NavigationBar/resolveItemSelection.js +22 -0
- package/lib/cjs/OptimizeImage/OptimizeImage.js +99 -0
- package/lib/cjs/OptimizeImage/index.js +9 -0
- package/lib/cjs/OptimizeImage/utils/getFallbackUrl.js +14 -0
- package/lib/cjs/OptimizeImage/utils/getImageUrls.js +19 -0
- package/lib/cjs/OptimizeImage/utils/getOptimizedUrl.js +24 -0
- package/lib/cjs/OptimizeImage/utils/hasWebpSupport.js +34 -0
- package/lib/cjs/OptimizeImage/utils/index.js +34 -0
- package/lib/cjs/OptimizeImage/utils/isSvgUrl.js +9 -0
- package/lib/cjs/OrderedList/Item.js +151 -0
- package/lib/cjs/OrderedList/ItemBase.js +34 -0
- package/lib/cjs/OrderedList/OrderedList.js +92 -0
- package/lib/cjs/OrderedList/OrderedListBase.js +52 -0
- package/lib/cjs/OrderedList/constants.js +8 -0
- package/lib/cjs/OrderedList/index.js +11 -0
- package/lib/cjs/Paragraph/Paragraph.js +97 -0
- package/lib/cjs/Paragraph/index.js +9 -0
- package/lib/cjs/PreviewCard/AuthorDate.js +63 -0
- package/lib/cjs/PreviewCard/PreviewCard.js +215 -0
- package/lib/cjs/PreviewCard/index.js +9 -0
- package/lib/cjs/PriceLockup/PriceLockup.js +356 -0
- package/lib/cjs/PriceLockup/index.js +9 -0
- package/lib/cjs/PriceLockup/tokens.js +66 -0
- package/lib/cjs/Progress/ProgressBar.js +99 -0
- package/lib/cjs/Progress/index.js +11 -0
- package/lib/cjs/QuantitySelector/QuantitySelector.js +267 -0
- package/lib/cjs/QuantitySelector/SideButton.js +77 -0
- package/lib/cjs/QuantitySelector/dictionary.js +32 -0
- package/lib/cjs/QuantitySelector/index.js +9 -0
- package/lib/cjs/QuantitySelector/styles.js +16 -0
- package/lib/cjs/ResponsiveImage/ResponsiveImage.js +107 -0
- package/lib/cjs/ResponsiveImage/index.js +9 -0
- package/lib/cjs/Ribbon/Ribbon.js +222 -0
- package/lib/cjs/Ribbon/index.js +9 -0
- package/lib/cjs/SkeletonProvider/SkeletonImage.js +45 -0
- package/lib/cjs/SkeletonProvider/SkeletonProvider.js +63 -0
- package/lib/cjs/SkeletonProvider/SkeletonTypography.js +44 -0
- package/lib/cjs/SkeletonProvider/index.js +9 -0
- package/lib/cjs/Span/Span.js +79 -0
- package/lib/cjs/Span/index.js +9 -0
- package/lib/cjs/Spinner/Spinner.js +221 -0
- package/lib/cjs/Spinner/SpinnerContent.js +100 -0
- package/lib/cjs/Spinner/constants.js +10 -0
- package/lib/cjs/Spinner/index.js +9 -0
- package/lib/cjs/StoryCard/StoryCard.js +219 -0
- package/lib/cjs/StoryCard/index.js +9 -0
- package/lib/cjs/Table/Body.js +24 -0
- package/lib/cjs/Table/Cell.js +187 -0
- package/lib/cjs/Table/Header.js +32 -0
- package/lib/cjs/Table/Row.js +41 -0
- package/lib/cjs/Table/SubHeading.js +30 -0
- package/lib/cjs/Table/Table.js +124 -0
- package/lib/cjs/Table/index.js +19 -0
- package/lib/cjs/TermsAndConditions/ExpandCollapse.js +160 -0
- package/lib/cjs/TermsAndConditions/TermsAndConditions.js +283 -0
- package/lib/cjs/TermsAndConditions/dictionary.js +22 -0
- package/lib/cjs/TermsAndConditions/index.js +13 -0
- package/lib/cjs/Testimonial/Testimonial.js +240 -0
- package/lib/cjs/Testimonial/index.js +9 -0
- package/lib/cjs/Toast/Toast.js +165 -0
- package/lib/cjs/Toast/index.js +9 -0
- package/lib/cjs/Video/ControlBar/ControlBar.js +294 -0
- package/lib/cjs/Video/ControlBar/Controls/VideoButton/VideoButton.js +76 -0
- package/lib/cjs/Video/ControlBar/Controls/VideoMenu/VideoMenu.js +169 -0
- package/lib/cjs/Video/ControlBar/Controls/VideoProgressBar/VideoProgressBar.js +211 -0
- package/lib/cjs/Video/ControlBar/Controls/VolumeSlider/VolumeSlider.js +197 -0
- package/lib/cjs/Video/MiddleControlButton/MiddleControlButton.js +78 -0
- package/lib/cjs/Video/Video.js +964 -0
- package/lib/cjs/Video/index.js +9 -0
- package/lib/cjs/Video/videoText.js +61 -0
- package/lib/cjs/VideoPicker/VideoPicker.js +197 -0
- package/lib/cjs/VideoPicker/VideoPickerPlayer.js +54 -0
- package/lib/cjs/VideoPicker/VideoPickerThumbnail.js +223 -0
- package/lib/cjs/VideoPicker/VideoSlider.js +88 -0
- package/lib/cjs/VideoPicker/index.js +9 -0
- package/lib/cjs/VideoPicker/videoPropType.js +17 -0
- package/lib/cjs/WaffleGrid/WaffleGrid.js +164 -0
- package/lib/cjs/WaffleGrid/index.js +9 -0
- package/lib/cjs/WebVideo/WebVideo.js +197 -0
- package/lib/cjs/WebVideo/index.js +9 -0
- package/lib/cjs/WebVideo/utils/index.js +57 -0
- package/lib/cjs/baseExports.js +438 -0
- package/lib/cjs/index.js +317 -0
- package/lib/cjs/server.js +13 -0
- package/lib/cjs/shared/ConditionalWrapper/ConditionalWrapper.js +29 -0
- package/lib/cjs/shared/ConditionalWrapper/index.js +9 -0
- package/lib/cjs/shared/FullBleedContent/FullBleedContent.js +108 -0
- package/lib/cjs/shared/FullBleedContent/getFullBleedBorderRadius.js +61 -0
- package/lib/cjs/shared/FullBleedContent/index.js +23 -0
- package/lib/cjs/shared/FullBleedContent/useFullBleedContentProps.js +61 -0
- package/lib/cjs/shared/VideoSplash/SplashButton/SplashButton.js +91 -0
- package/lib/cjs/shared/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.js +229 -0
- package/lib/cjs/shared/VideoSplash/VideoSplash.js +72 -0
- package/lib/cjs/shared/VideoSplash/helpers.js +32 -0
- package/lib/cjs/utils/index.js +88 -0
- package/lib/cjs/utils/isElementFocusable.js +14 -0
- package/lib/cjs/utils/logger.js +24 -0
- package/lib/cjs/utils/media.js +45 -0
- package/lib/cjs/utils/renderStructuredContent.js +71 -0
- package/lib/cjs/utils/scrollToAnchor.js +25 -0
- package/lib/cjs/utils/ssr.js +50 -0
- package/lib/cjs/utils/theming/get-theme-from-server.js +24 -0
- package/lib/cjs/utils/theming/with-client-theme.js +31 -0
- package/lib/cjs/utils/theming/with-server-theme.js +33 -0
- package/lib/cjs/utils/transforms.js +11 -0
- package/lib/cjs/utils/useOverlaidPosition.js +222 -0
- package/lib/cjs/utils/useTypographyTheme.js +30 -0
- package/lib/{Badge → esm/Badge}/Badge.js +11 -21
- package/lib/{BlockQuote → esm/BlockQuote}/BlockQuote.js +17 -31
- package/lib/{Breadcrumbs → esm/Breadcrumbs}/Breadcrumbs.js +6 -5
- package/lib/{Breadcrumbs → esm/Breadcrumbs}/Item/Item.js +10 -6
- package/lib/{Callout → esm/Callout}/Callout.js +6 -5
- package/lib/{Card → esm/Card}/Card.js +5 -5
- package/lib/{Card → esm/Card}/CardContent.js +6 -5
- package/lib/{Card → esm/Card}/CardFooter.js +6 -5
- package/lib/{Countdown → esm/Countdown}/Countdown.js +53 -32
- package/lib/{Countdown → esm/Countdown}/Segment.js +6 -6
- package/lib/{DatePicker → esm/DatePicker}/CalendarContainer.js +5 -5
- package/lib/{DatePicker → esm/DatePicker}/DatePicker.js +18 -12
- package/lib/esm/DatePicker/reactDatesCss.js +3 -0
- package/lib/{Disclaimer → esm/Disclaimer}/Disclaimer.js +6 -5
- package/lib/{Footnote → esm/Footnote}/Footnote.js +39 -15
- package/lib/{Footnote → esm/Footnote}/FootnoteLink.js +6 -5
- package/lib/{NavigationBar → esm/NavigationBar}/NavigationBar.js +6 -5
- package/lib/{NavigationBar → esm/NavigationBar}/NavigationItem.js +6 -5
- package/lib/{OrderedList → esm/OrderedList}/Item.js +10 -6
- package/lib/{OrderedList → esm/OrderedList}/ItemBase.js +5 -5
- package/lib/{OrderedList → esm/OrderedList}/OrderedList.js +6 -5
- package/lib/{OrderedList → esm/OrderedList}/OrderedListBase.js +5 -5
- package/lib/{Paragraph → esm/Paragraph}/Paragraph.js +8 -16
- package/lib/{PreviewCard → esm/PreviewCard}/PreviewCard.js +10 -7
- package/lib/{PriceLockup → esm/PriceLockup}/PriceLockup.js +59 -69
- package/lib/{Progress → esm/Progress}/ProgressBar.js +6 -6
- package/lib/esm/QuantitySelector/styles.js +9 -0
- package/lib/{Ribbon → esm/Ribbon}/Ribbon.js +31 -57
- package/lib/{Span → esm/Span}/Span.js +7 -6
- package/lib/{Spinner → esm/Spinner}/Spinner.js +18 -8
- package/lib/{Spinner → esm/Spinner}/SpinnerContent.js +6 -5
- package/lib/{StoryCard → esm/StoryCard}/StoryCard.js +10 -7
- package/lib/{Table → esm/Table}/Cell.js +16 -45
- package/lib/esm/Table/Row.js +34 -0
- package/lib/{Table → esm/Table}/Table.js +16 -17
- package/lib/{TermsAndConditions → esm/TermsAndConditions}/ExpandCollapse.js +13 -7
- package/lib/{TermsAndConditions → esm/TermsAndConditions}/TermsAndConditions.js +22 -9
- package/lib/{Testimonial → esm/Testimonial}/Testimonial.js +26 -10
- package/lib/{Toast → esm/Toast}/Toast.js +13 -64
- package/lib/{Video → esm/Video}/ControlBar/ControlBar.js +18 -8
- package/lib/{Video → esm/Video}/ControlBar/Controls/VideoButton/VideoButton.js +6 -5
- package/lib/{Video → esm/Video}/ControlBar/Controls/VideoMenu/VideoMenu.js +14 -7
- package/lib/{Video → esm/Video}/ControlBar/Controls/VideoProgressBar/VideoProgressBar.js +14 -7
- package/lib/{Video → esm/Video}/ControlBar/Controls/VolumeSlider/VolumeSlider.js +10 -6
- package/lib/{Video → esm/Video}/MiddleControlButton/MiddleControlButton.js +6 -5
- package/lib/{Video → esm/Video}/Video.js +26 -10
- package/lib/{VideoPicker → esm/VideoPicker}/VideoPicker.js +20 -44
- package/lib/{VideoPicker → esm/VideoPicker}/VideoPickerThumbnail.js +18 -52
- package/lib/{WaffleGrid → esm/WaffleGrid}/WaffleGrid.js +14 -7
- package/lib/{WebVideo → esm/WebVideo}/WebVideo.js +14 -9
- package/lib/{index.js → esm/index.js} +1 -1
- package/lib/{shared → esm/shared}/FullBleedContent/FullBleedContent.js +5 -5
- package/lib/{shared → esm/shared}/VideoSplash/SplashButton/SplashButton.js +9 -6
- package/lib/{shared → esm/shared}/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.js +17 -8
- package/lib/{shared → esm/shared}/VideoSplash/VideoSplash.js +6 -5
- package/lib/{utils → esm/utils}/index.js +1 -2
- package/lib/{utils → esm/utils}/ssr.js +1 -4
- package/package.json +17 -16
- package/src/Badge/Badge.jsx +2 -3
- package/src/BlockQuote/BlockQuote.jsx +2 -3
- package/src/Breadcrumbs/Breadcrumbs.jsx +2 -3
- package/src/Breadcrumbs/Item/Item.jsx +2 -3
- package/src/Callout/Callout.jsx +2 -4
- package/src/Card/Card.jsx +1 -3
- package/src/Card/CardContent.jsx +2 -3
- package/src/Card/CardFooter.jsx +2 -3
- package/src/Countdown/Countdown.jsx +62 -36
- package/src/Countdown/Segment.jsx +1 -3
- package/src/DatePicker/CalendarContainer.jsx +1 -3
- package/src/DatePicker/DatePicker.jsx +2 -3
- package/src/DatePicker/reactDatesCss.js +1 -3
- package/src/Disclaimer/Disclaimer.jsx +2 -3
- package/src/Footnote/Footnote.jsx +2 -10
- package/src/Footnote/FootnoteLink.jsx +2 -3
- package/src/NavigationBar/NavigationBar.jsx +2 -3
- package/src/NavigationBar/NavigationItem.jsx +2 -3
- package/src/OrderedList/Item.jsx +2 -3
- package/src/OrderedList/ItemBase.jsx +1 -3
- package/src/OrderedList/OrderedList.jsx +2 -3
- package/src/OrderedList/OrderedListBase.jsx +1 -3
- package/src/Paragraph/Paragraph.jsx +2 -4
- package/src/PreviewCard/PreviewCard.jsx +1 -3
- package/src/PriceLockup/PriceLockup.jsx +2 -3
- package/src/Progress/ProgressBar.jsx +1 -3
- package/src/QuantitySelector/styles.js +1 -3
- package/src/Ribbon/Ribbon.jsx +2 -3
- package/src/Span/Span.jsx +2 -4
- package/src/Spinner/Spinner.jsx +2 -3
- package/src/Spinner/SpinnerContent.jsx +2 -3
- package/src/StoryCard/StoryCard.jsx +1 -3
- package/src/Table/Cell.jsx +4 -5
- package/src/Table/Row.jsx +13 -2
- package/src/Table/Table.jsx +14 -5
- package/src/TermsAndConditions/ExpandCollapse.jsx +1 -3
- package/src/TermsAndConditions/TermsAndConditions.jsx +2 -3
- package/src/Testimonial/Testimonial.jsx +2 -3
- package/src/Toast/Toast.jsx +2 -3
- package/src/Video/ControlBar/ControlBar.jsx +2 -4
- package/src/Video/ControlBar/Controls/VideoButton/VideoButton.jsx +2 -4
- package/src/Video/ControlBar/Controls/VideoMenu/VideoMenu.jsx +2 -4
- package/src/Video/ControlBar/Controls/VideoProgressBar/VideoProgressBar.jsx +2 -4
- package/src/Video/ControlBar/Controls/VolumeSlider/VolumeSlider.jsx +2 -4
- package/src/Video/MiddleControlButton/MiddleControlButton.jsx +2 -4
- package/src/Video/Video.jsx +2 -4
- package/src/VideoPicker/VideoPicker.jsx +2 -4
- package/src/VideoPicker/VideoPickerThumbnail.jsx +1 -3
- package/src/WaffleGrid/WaffleGrid.jsx +2 -3
- package/src/WebVideo/WebVideo.jsx +3 -4
- package/src/index.js +1 -1
- package/src/shared/FullBleedContent/FullBleedContent.jsx +1 -3
- package/src/shared/VideoSplash/SplashButton/SplashButton.jsx +1 -3
- package/src/shared/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.jsx +1 -4
- package/src/shared/VideoSplash/VideoSplash.jsx +2 -3
- package/src/utils/index.js +1 -3
- package/src/utils/ssr.js +1 -2
- package/lib/DatePicker/reactDatesCss.js +0 -830
- package/lib/QuantitySelector/styles.js +0 -18
- package/lib/Table/Row.js +0 -19
- package/lib/utils/theming/styled-components.js +0 -26
- package/src/utils/theming/styled-components.js +0 -23
- /package/lib/{Badge → esm/Badge}/index.js +0 -0
- /package/lib/{BlockQuote → esm/BlockQuote}/index.js +0 -0
- /package/lib/{Breadcrumbs → esm/Breadcrumbs}/index.js +0 -0
- /package/lib/{Callout → esm/Callout}/index.js +0 -0
- /package/lib/{Card → esm/Card}/index.js +0 -0
- /package/lib/{Countdown → esm/Countdown}/constants.js +0 -0
- /package/lib/{Countdown → esm/Countdown}/dictionary.js +0 -0
- /package/lib/{Countdown → esm/Countdown}/index.js +0 -0
- /package/lib/{Countdown → esm/Countdown}/types.js +0 -0
- /package/lib/{Countdown → esm/Countdown}/useCountdown.js +0 -0
- /package/lib/{DatePicker → esm/DatePicker}/dictionary.js +0 -0
- /package/lib/{DatePicker → esm/DatePicker}/index.js +0 -0
- /package/lib/{Disclaimer → esm/Disclaimer}/index.js +0 -0
- /package/lib/{Footnote → esm/Footnote}/dictionary.js +0 -0
- /package/lib/{Footnote → esm/Footnote}/index.js +0 -0
- /package/lib/{IconButton → esm/IconButton}/IconButton.js +0 -0
- /package/lib/{IconButton → esm/IconButton}/index.js +0 -0
- /package/lib/{Image → esm/Image}/Image.js +0 -0
- /package/lib/{Image → esm/Image}/index.js +0 -0
- /package/lib/{Image → esm/Image}/server.js +0 -0
- /package/lib/{List → esm/List}/List.js +0 -0
- /package/lib/{List → esm/List}/ListItem.js +0 -0
- /package/lib/{List → esm/List}/index.js +0 -0
- /package/lib/{NavigationBar → esm/NavigationBar}/NavigationSubMenu.js +0 -0
- /package/lib/{NavigationBar → esm/NavigationBar}/collapseItems.js +0 -0
- /package/lib/{NavigationBar → esm/NavigationBar}/index.js +0 -0
- /package/lib/{NavigationBar → esm/NavigationBar}/resolveItemSelection.js +0 -0
- /package/lib/{OptimizeImage → esm/OptimizeImage}/OptimizeImage.js +0 -0
- /package/lib/{OptimizeImage → esm/OptimizeImage}/index.js +0 -0
- /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/getFallbackUrl.js +0 -0
- /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/getImageUrls.js +0 -0
- /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/getOptimizedUrl.js +0 -0
- /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/hasWebpSupport.js +0 -0
- /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/index.js +0 -0
- /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/isSvgUrl.js +0 -0
- /package/lib/{OrderedList → esm/OrderedList}/constants.js +0 -0
- /package/lib/{OrderedList → esm/OrderedList}/index.js +0 -0
- /package/lib/{Paragraph → esm/Paragraph}/index.js +0 -0
- /package/lib/{PreviewCard → esm/PreviewCard}/AuthorDate.js +0 -0
- /package/lib/{PreviewCard → esm/PreviewCard}/index.js +0 -0
- /package/lib/{PriceLockup → esm/PriceLockup}/index.js +0 -0
- /package/lib/{PriceLockup → esm/PriceLockup}/tokens.js +0 -0
- /package/lib/{Progress → esm/Progress}/index.js +0 -0
- /package/lib/{QuantitySelector → esm/QuantitySelector}/QuantitySelector.js +0 -0
- /package/lib/{QuantitySelector → esm/QuantitySelector}/SideButton.js +0 -0
- /package/lib/{QuantitySelector → esm/QuantitySelector}/dictionary.js +0 -0
- /package/lib/{QuantitySelector → esm/QuantitySelector}/index.js +0 -0
- /package/lib/{ResponsiveImage → esm/ResponsiveImage}/ResponsiveImage.js +0 -0
- /package/lib/{ResponsiveImage → esm/ResponsiveImage}/index.js +0 -0
- /package/lib/{Ribbon → esm/Ribbon}/index.js +0 -0
- /package/lib/{SkeletonProvider → esm/SkeletonProvider}/SkeletonImage.js +0 -0
- /package/lib/{SkeletonProvider → esm/SkeletonProvider}/SkeletonProvider.js +0 -0
- /package/lib/{SkeletonProvider → esm/SkeletonProvider}/SkeletonTypography.js +0 -0
- /package/lib/{SkeletonProvider → esm/SkeletonProvider}/index.js +0 -0
- /package/lib/{Span → esm/Span}/index.js +0 -0
- /package/lib/{Spinner → esm/Spinner}/constants.js +0 -0
- /package/lib/{Spinner → esm/Spinner}/index.js +0 -0
- /package/lib/{StoryCard → esm/StoryCard}/index.js +0 -0
- /package/lib/{Table → esm/Table}/Body.js +0 -0
- /package/lib/{Table → esm/Table}/Header.js +0 -0
- /package/lib/{Table → esm/Table}/SubHeading.js +0 -0
- /package/lib/{Table → esm/Table}/index.js +0 -0
- /package/lib/{TermsAndConditions → esm/TermsAndConditions}/dictionary.js +0 -0
- /package/lib/{TermsAndConditions → esm/TermsAndConditions}/index.js +0 -0
- /package/lib/{Testimonial → esm/Testimonial}/index.js +0 -0
- /package/lib/{Toast → esm/Toast}/index.js +0 -0
- /package/lib/{Video → esm/Video}/index.js +0 -0
- /package/lib/{Video → esm/Video}/videoText.js +0 -0
- /package/lib/{VideoPicker → esm/VideoPicker}/VideoPickerPlayer.js +0 -0
- /package/lib/{VideoPicker → esm/VideoPicker}/VideoSlider.js +0 -0
- /package/lib/{VideoPicker → esm/VideoPicker}/index.js +0 -0
- /package/lib/{VideoPicker → esm/VideoPicker}/videoPropType.js +0 -0
- /package/lib/{WaffleGrid → esm/WaffleGrid}/index.js +0 -0
- /package/lib/{WebVideo → esm/WebVideo}/index.js +0 -0
- /package/lib/{WebVideo → esm/WebVideo}/utils/index.js +0 -0
- /package/lib/{baseExports.js → esm/baseExports.js} +0 -0
- /package/lib/{server.js → esm/server.js} +0 -0
- /package/lib/{shared → esm/shared}/ConditionalWrapper/ConditionalWrapper.js +0 -0
- /package/lib/{shared → esm/shared}/ConditionalWrapper/index.js +0 -0
- /package/lib/{shared → esm/shared}/FullBleedContent/getFullBleedBorderRadius.js +0 -0
- /package/lib/{shared → esm/shared}/FullBleedContent/index.js +0 -0
- /package/lib/{shared → esm/shared}/FullBleedContent/useFullBleedContentProps.js +0 -0
- /package/lib/{shared → esm/shared}/VideoSplash/helpers.js +0 -0
- /package/lib/{utils → esm/utils}/isElementFocusable.js +0 -0
- /package/lib/{utils → esm/utils}/logger.js +0 -0
- /package/lib/{utils → esm/utils}/media.js +0 -0
- /package/lib/{utils → esm/utils}/renderStructuredContent.js +0 -0
- /package/lib/{utils → esm/utils}/scrollToAnchor.js +0 -0
- /package/lib/{utils → esm/utils}/theming/get-theme-from-server.js +0 -0
- /package/lib/{utils → esm/utils}/theming/with-client-theme.js +0 -0
- /package/lib/{utils → esm/utils}/theming/with-server-theme.js +0 -0
- /package/lib/{utils → esm/utils}/transforms.js +0 -0
- /package/lib/{utils → esm/utils}/useOverlaidPosition.js +0 -0
- /package/lib/{utils → esm/utils}/useTypographyTheme.js +0 -0
|
@@ -1,830 +0,0 @@
|
|
|
1
|
-
import { styledComponents } from '../utils';
|
|
2
|
-
const {
|
|
3
|
-
css
|
|
4
|
-
} = styledComponents;
|
|
5
|
-
const defaultReactDatesCss = css`
|
|
6
|
-
.PresetDateRangePicker_panel {
|
|
7
|
-
padding: 0 22px 11px;
|
|
8
|
-
}
|
|
9
|
-
.PresetDateRangePicker_button {
|
|
10
|
-
position: relative;
|
|
11
|
-
height: 100%;
|
|
12
|
-
text-align: center;
|
|
13
|
-
background: 0 0;
|
|
14
|
-
border: 2px solid #00a699;
|
|
15
|
-
color: #00a699;
|
|
16
|
-
padding: 4px 12px;
|
|
17
|
-
margin-right: 8px;
|
|
18
|
-
font: inherit;
|
|
19
|
-
font-weight: 700;
|
|
20
|
-
line-height: normal;
|
|
21
|
-
overflow: visible;
|
|
22
|
-
-moz-box-sizing: border-box;
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
cursor: pointer;
|
|
25
|
-
}
|
|
26
|
-
.PresetDateRangePicker_button:active {
|
|
27
|
-
outline: 0;
|
|
28
|
-
}
|
|
29
|
-
.PresetDateRangePicker_button__selected {
|
|
30
|
-
color: #fff;
|
|
31
|
-
background: #00a699;
|
|
32
|
-
}
|
|
33
|
-
.SingleDatePickerInput {
|
|
34
|
-
display: inline-block;
|
|
35
|
-
background-color: #fff;
|
|
36
|
-
position: absolute;
|
|
37
|
-
top: -55px;
|
|
38
|
-
}
|
|
39
|
-
.SingleDatePickerInput__disabled {
|
|
40
|
-
background-color: #f2f2f2;
|
|
41
|
-
}
|
|
42
|
-
.SingleDatePickerInput__block {
|
|
43
|
-
display: block;
|
|
44
|
-
}
|
|
45
|
-
.SingleDatePickerInput__showClearDate {
|
|
46
|
-
padding-right: 30px;
|
|
47
|
-
}
|
|
48
|
-
.SingleDatePickerInput_clearDate {
|
|
49
|
-
background: 0 0;
|
|
50
|
-
border: 0;
|
|
51
|
-
color: inherit;
|
|
52
|
-
font: inherit;
|
|
53
|
-
line-height: normal;
|
|
54
|
-
overflow: visible;
|
|
55
|
-
cursor: pointer;
|
|
56
|
-
padding: 10px;
|
|
57
|
-
margin: 0 10px 0 5px;
|
|
58
|
-
position: absolute;
|
|
59
|
-
right: 0;
|
|
60
|
-
top: 50%;
|
|
61
|
-
-webkit-transform: translateY(-50%);
|
|
62
|
-
-ms-transform: translateY(-50%);
|
|
63
|
-
transform: translateY(-50%);
|
|
64
|
-
}
|
|
65
|
-
.SingleDatePickerInput_clearDate__default:focus,
|
|
66
|
-
.SingleDatePickerInput_clearDate__default:hover {
|
|
67
|
-
background: #dbdbdb;
|
|
68
|
-
border-radius: 50%;
|
|
69
|
-
}
|
|
70
|
-
.SingleDatePickerInput_clearDate__small {
|
|
71
|
-
padding: 6px;
|
|
72
|
-
}
|
|
73
|
-
.SingleDatePickerInput_clearDate__hide {
|
|
74
|
-
visibility: hidden;
|
|
75
|
-
}
|
|
76
|
-
.SingleDatePickerInput_clearDate_svg {
|
|
77
|
-
fill: #82888a;
|
|
78
|
-
height: 12px;
|
|
79
|
-
width: 15px;
|
|
80
|
-
vertical-align: middle;
|
|
81
|
-
}
|
|
82
|
-
.SingleDatePickerInput_clearDate_svg__small {
|
|
83
|
-
height: 9px;
|
|
84
|
-
}
|
|
85
|
-
.SingleDatePickerInput_calendarIcon {
|
|
86
|
-
background: 0 0;
|
|
87
|
-
border: 0;
|
|
88
|
-
color: inherit;
|
|
89
|
-
font: inherit;
|
|
90
|
-
line-height: normal;
|
|
91
|
-
overflow: visible;
|
|
92
|
-
cursor: pointer;
|
|
93
|
-
display: inline-block;
|
|
94
|
-
vertical-align: middle;
|
|
95
|
-
padding: 10px;
|
|
96
|
-
margin: 0 5px 0 10px;
|
|
97
|
-
}
|
|
98
|
-
.SingleDatePickerInput_calendarIcon_svg {
|
|
99
|
-
fill: #82888a;
|
|
100
|
-
height: 15px;
|
|
101
|
-
width: 14px;
|
|
102
|
-
vertical-align: middle;
|
|
103
|
-
}
|
|
104
|
-
.SingleDatePicker {
|
|
105
|
-
position: relative;
|
|
106
|
-
display: inline-block;
|
|
107
|
-
}
|
|
108
|
-
.SingleDatePicker__block {
|
|
109
|
-
display: block;
|
|
110
|
-
}
|
|
111
|
-
.SingleDatePicker_picker {
|
|
112
|
-
z-index: 1;
|
|
113
|
-
background-color: #fff;
|
|
114
|
-
position: absolute;
|
|
115
|
-
}
|
|
116
|
-
.SingleDatePicker_picker__rtl {
|
|
117
|
-
direction: rtl;
|
|
118
|
-
}
|
|
119
|
-
.SingleDatePicker_picker__directionLeft {
|
|
120
|
-
left: 0;
|
|
121
|
-
}
|
|
122
|
-
.SingleDatePicker_picker__directionRight {
|
|
123
|
-
right: 0;
|
|
124
|
-
}
|
|
125
|
-
.SingleDatePicker_picker__portal {
|
|
126
|
-
background-color: rgba(0, 0, 0, 0.3);
|
|
127
|
-
position: fixed;
|
|
128
|
-
top: 0;
|
|
129
|
-
left: 0;
|
|
130
|
-
height: 100%;
|
|
131
|
-
width: 100%;
|
|
132
|
-
}
|
|
133
|
-
.SingleDatePicker_picker__fullScreenPortal {
|
|
134
|
-
background-color: #fff;
|
|
135
|
-
}
|
|
136
|
-
.SingleDatePicker_closeButton {
|
|
137
|
-
background: 0 0;
|
|
138
|
-
border: 0;
|
|
139
|
-
color: inherit;
|
|
140
|
-
font: inherit;
|
|
141
|
-
line-height: normal;
|
|
142
|
-
overflow: visible;
|
|
143
|
-
cursor: pointer;
|
|
144
|
-
position: absolute;
|
|
145
|
-
top: 0;
|
|
146
|
-
right: 0;
|
|
147
|
-
padding: 15px;
|
|
148
|
-
z-index: 2;
|
|
149
|
-
}
|
|
150
|
-
.SingleDatePicker_closeButton:focus,
|
|
151
|
-
.SingleDatePicker_closeButton:hover {
|
|
152
|
-
color: darken(#cacccd, 10%);
|
|
153
|
-
text-decoration: none;
|
|
154
|
-
}
|
|
155
|
-
.SingleDatePicker_closeButton_svg {
|
|
156
|
-
height: 15px;
|
|
157
|
-
width: 15px;
|
|
158
|
-
fill: #cacccd;
|
|
159
|
-
}
|
|
160
|
-
.DayPickerKeyboardShortcuts_buttonReset {
|
|
161
|
-
background: 0 0;
|
|
162
|
-
border: 0;
|
|
163
|
-
border-radius: 0;
|
|
164
|
-
color: inherit;
|
|
165
|
-
font: inherit;
|
|
166
|
-
line-height: normal;
|
|
167
|
-
overflow: visible;
|
|
168
|
-
padding: 0;
|
|
169
|
-
cursor: pointer;
|
|
170
|
-
font-size: 14px;
|
|
171
|
-
}
|
|
172
|
-
.DayPickerKeyboardShortcuts_buttonReset:active {
|
|
173
|
-
outline: 0;
|
|
174
|
-
}
|
|
175
|
-
.DayPickerKeyboardShortcuts_show {
|
|
176
|
-
width: 33px;
|
|
177
|
-
height: 26px;
|
|
178
|
-
position: absolute;
|
|
179
|
-
z-index: 2;
|
|
180
|
-
}
|
|
181
|
-
.DayPickerKeyboardShortcuts_show::before {
|
|
182
|
-
content: '';
|
|
183
|
-
display: block;
|
|
184
|
-
position: absolute;
|
|
185
|
-
}
|
|
186
|
-
.DayPickerKeyboardShortcuts_show__bottomRight {
|
|
187
|
-
bottom: 0;
|
|
188
|
-
right: 0;
|
|
189
|
-
}
|
|
190
|
-
.DayPickerKeyboardShortcuts_show__bottomRight::before {
|
|
191
|
-
border-top: 26px solid transparent;
|
|
192
|
-
border-right: 33px solid #00a699;
|
|
193
|
-
bottom: 0;
|
|
194
|
-
right: 0;
|
|
195
|
-
}
|
|
196
|
-
.DayPickerKeyboardShortcuts_show__bottomRight:hover::before {
|
|
197
|
-
border-right: 33px solid #008489;
|
|
198
|
-
}
|
|
199
|
-
.DayPickerKeyboardShortcuts_show__topRight {
|
|
200
|
-
top: 0;
|
|
201
|
-
right: 0;
|
|
202
|
-
}
|
|
203
|
-
.DayPickerKeyboardShortcuts_show__topRight::before {
|
|
204
|
-
border-bottom: 26px solid transparent;
|
|
205
|
-
border-right: 33px solid #00a699;
|
|
206
|
-
top: 0;
|
|
207
|
-
right: 0;
|
|
208
|
-
}
|
|
209
|
-
.DayPickerKeyboardShortcuts_show__topRight:hover::before {
|
|
210
|
-
border-right: 33px solid #008489;
|
|
211
|
-
}
|
|
212
|
-
.DayPickerKeyboardShortcuts_show__topLeft {
|
|
213
|
-
top: 0;
|
|
214
|
-
left: 0;
|
|
215
|
-
}
|
|
216
|
-
.DayPickerKeyboardShortcuts_show__topLeft::before {
|
|
217
|
-
border-bottom: 26px solid transparent;
|
|
218
|
-
border-left: 33px solid #00a699;
|
|
219
|
-
top: 0;
|
|
220
|
-
left: 0;
|
|
221
|
-
}
|
|
222
|
-
.DayPickerKeyboardShortcuts_show__topLeft:hover::before {
|
|
223
|
-
border-left: 33px solid #008489;
|
|
224
|
-
}
|
|
225
|
-
.DayPickerKeyboardShortcuts_showSpan {
|
|
226
|
-
color: #fff;
|
|
227
|
-
position: absolute;
|
|
228
|
-
}
|
|
229
|
-
.DayPickerKeyboardShortcuts_showSpan__bottomRight {
|
|
230
|
-
bottom: 0;
|
|
231
|
-
right: 5px;
|
|
232
|
-
}
|
|
233
|
-
.DayPickerKeyboardShortcuts_showSpan__topRight {
|
|
234
|
-
top: 1px;
|
|
235
|
-
right: 5px;
|
|
236
|
-
}
|
|
237
|
-
.DayPickerKeyboardShortcuts_showSpan__topLeft {
|
|
238
|
-
top: 1px;
|
|
239
|
-
left: 5px;
|
|
240
|
-
}
|
|
241
|
-
.DayPickerKeyboardShortcuts_panel {
|
|
242
|
-
overflow: auto;
|
|
243
|
-
background: #fff;
|
|
244
|
-
border: 1px solid #dbdbdb;
|
|
245
|
-
border-radius: 2px;
|
|
246
|
-
position: absolute;
|
|
247
|
-
top: 0;
|
|
248
|
-
bottom: 0;
|
|
249
|
-
right: 0;
|
|
250
|
-
left: 0;
|
|
251
|
-
z-index: 2;
|
|
252
|
-
padding: 22px;
|
|
253
|
-
margin: 33px;
|
|
254
|
-
text-align: left;
|
|
255
|
-
}
|
|
256
|
-
.DayPickerKeyboardShortcuts_title {
|
|
257
|
-
font-size: 16px;
|
|
258
|
-
font-weight: 700;
|
|
259
|
-
margin: 0;
|
|
260
|
-
}
|
|
261
|
-
.DayPickerKeyboardShortcuts_list {
|
|
262
|
-
list-style: none;
|
|
263
|
-
padding: 0;
|
|
264
|
-
font-size: 14px;
|
|
265
|
-
}
|
|
266
|
-
.DayPickerKeyboardShortcuts_close {
|
|
267
|
-
position: absolute;
|
|
268
|
-
right: 22px;
|
|
269
|
-
top: 22px;
|
|
270
|
-
z-index: 2;
|
|
271
|
-
}
|
|
272
|
-
.DayPickerKeyboardShortcuts_close:active {
|
|
273
|
-
outline: 0;
|
|
274
|
-
}
|
|
275
|
-
.DayPickerKeyboardShortcuts_closeSvg {
|
|
276
|
-
height: 15px;
|
|
277
|
-
width: 15px;
|
|
278
|
-
fill: #cacccd;
|
|
279
|
-
}
|
|
280
|
-
.DayPickerKeyboardShortcuts_closeSvg:focus,
|
|
281
|
-
.DayPickerKeyboardShortcuts_closeSvg:hover {
|
|
282
|
-
fill: #82888a;
|
|
283
|
-
}
|
|
284
|
-
.CalendarDay {
|
|
285
|
-
-moz-box-sizing: border-box;
|
|
286
|
-
box-sizing: border-box;
|
|
287
|
-
cursor: pointer;
|
|
288
|
-
font-size: 14px;
|
|
289
|
-
text-align: center;
|
|
290
|
-
}
|
|
291
|
-
.CalendarDay:active {
|
|
292
|
-
outline: 0;
|
|
293
|
-
}
|
|
294
|
-
.CalendarDay__defaultCursor {
|
|
295
|
-
cursor: default;
|
|
296
|
-
}
|
|
297
|
-
.CalendarDay__default {
|
|
298
|
-
border: 1px solid #e4e7e7;
|
|
299
|
-
color: #484848;
|
|
300
|
-
background: #fff;
|
|
301
|
-
}
|
|
302
|
-
.CalendarDay__default:hover {
|
|
303
|
-
background: #e4e7e7;
|
|
304
|
-
border: 1px solid #e4e7e7;
|
|
305
|
-
color: inherit;
|
|
306
|
-
}
|
|
307
|
-
.CalendarDay__hovered_offset {
|
|
308
|
-
background: #f4f5f5;
|
|
309
|
-
border: 1px double #e4e7e7;
|
|
310
|
-
color: inherit;
|
|
311
|
-
}
|
|
312
|
-
.CalendarDay__outside {
|
|
313
|
-
border: 0;
|
|
314
|
-
background: #fff;
|
|
315
|
-
color: #484848;
|
|
316
|
-
}
|
|
317
|
-
.CalendarDay__outside:hover {
|
|
318
|
-
border: 0;
|
|
319
|
-
}
|
|
320
|
-
.CalendarDay__blocked_minimum_nights {
|
|
321
|
-
background: #fff;
|
|
322
|
-
border: 1px solid #eceeee;
|
|
323
|
-
color: #cacccd;
|
|
324
|
-
}
|
|
325
|
-
.CalendarDay__blocked_minimum_nights:active,
|
|
326
|
-
.CalendarDay__blocked_minimum_nights:hover {
|
|
327
|
-
background: #fff;
|
|
328
|
-
color: #cacccd;
|
|
329
|
-
}
|
|
330
|
-
.CalendarDay__highlighted_calendar {
|
|
331
|
-
background: #ffe8bc;
|
|
332
|
-
color: #484848;
|
|
333
|
-
}
|
|
334
|
-
.CalendarDay__highlighted_calendar:active,
|
|
335
|
-
.CalendarDay__highlighted_calendar:hover {
|
|
336
|
-
background: #ffce71;
|
|
337
|
-
color: #484848;
|
|
338
|
-
}
|
|
339
|
-
.CalendarDay__selected_span {
|
|
340
|
-
background: #66e2da;
|
|
341
|
-
border: 1px double #33dacd;
|
|
342
|
-
color: #fff;
|
|
343
|
-
}
|
|
344
|
-
.CalendarDay__selected_span:active,
|
|
345
|
-
.CalendarDay__selected_span:hover {
|
|
346
|
-
background: #33dacd;
|
|
347
|
-
border: 1px double #33dacd;
|
|
348
|
-
color: #fff;
|
|
349
|
-
}
|
|
350
|
-
.CalendarDay__selected,
|
|
351
|
-
.CalendarDay__selected:active,
|
|
352
|
-
.CalendarDay__selected:hover {
|
|
353
|
-
background: #00a699;
|
|
354
|
-
border: 1px double #00a699;
|
|
355
|
-
color: #fff;
|
|
356
|
-
}
|
|
357
|
-
.CalendarDay__hovered_span,
|
|
358
|
-
.CalendarDay__hovered_span:hover {
|
|
359
|
-
background: #b2f1ec;
|
|
360
|
-
border: 1px double #80e8e0;
|
|
361
|
-
color: #007a87;
|
|
362
|
-
}
|
|
363
|
-
.CalendarDay__hovered_span:active {
|
|
364
|
-
background: #80e8e0;
|
|
365
|
-
border: 1px double #80e8e0;
|
|
366
|
-
color: #007a87;
|
|
367
|
-
}
|
|
368
|
-
.CalendarDay__blocked_calendar,
|
|
369
|
-
.CalendarDay__blocked_calendar:active,
|
|
370
|
-
.CalendarDay__blocked_calendar:hover {
|
|
371
|
-
background: #cacccd;
|
|
372
|
-
border: 1px solid #cacccd;
|
|
373
|
-
color: #82888a;
|
|
374
|
-
}
|
|
375
|
-
.CalendarDay__blocked_out_of_range,
|
|
376
|
-
.CalendarDay__blocked_out_of_range:active,
|
|
377
|
-
.CalendarDay__blocked_out_of_range:hover {
|
|
378
|
-
background: #fff;
|
|
379
|
-
border: 1px solid #e4e7e7;
|
|
380
|
-
color: #cacccd;
|
|
381
|
-
}
|
|
382
|
-
.CalendarDay__hovered_start_first_possible_end {
|
|
383
|
-
background: #eceeee;
|
|
384
|
-
border: 1px double #eceeee;
|
|
385
|
-
}
|
|
386
|
-
.CalendarDay__hovered_start_blocked_min_nights {
|
|
387
|
-
background: #eceeee;
|
|
388
|
-
border: 1px double #e4e7e7;
|
|
389
|
-
}
|
|
390
|
-
.CalendarMonth {
|
|
391
|
-
background: #fff;
|
|
392
|
-
text-align: center;
|
|
393
|
-
vertical-align: top;
|
|
394
|
-
-webkit-user-select: none;
|
|
395
|
-
-moz-user-select: none;
|
|
396
|
-
-ms-user-select: none;
|
|
397
|
-
user-select: none;
|
|
398
|
-
}
|
|
399
|
-
.CalendarMonth_table {
|
|
400
|
-
border-collapse: collapse;
|
|
401
|
-
border-spacing: 0;
|
|
402
|
-
}
|
|
403
|
-
.CalendarMonth_verticalSpacing {
|
|
404
|
-
border-collapse: separate;
|
|
405
|
-
}
|
|
406
|
-
.CalendarMonth_caption {
|
|
407
|
-
color: #484848;
|
|
408
|
-
font-size: 18px;
|
|
409
|
-
text-align: center;
|
|
410
|
-
padding-top: 22px;
|
|
411
|
-
padding-bottom: 37px;
|
|
412
|
-
caption-side: initial;
|
|
413
|
-
}
|
|
414
|
-
.CalendarMonth_caption__verticalScrollable {
|
|
415
|
-
padding-top: 12px;
|
|
416
|
-
padding-bottom: 7px;
|
|
417
|
-
}
|
|
418
|
-
.CalendarMonthGrid {
|
|
419
|
-
background: #fff;
|
|
420
|
-
text-align: left;
|
|
421
|
-
z-index: 0;
|
|
422
|
-
}
|
|
423
|
-
.CalendarMonthGrid__animating {
|
|
424
|
-
z-index: 1;
|
|
425
|
-
}
|
|
426
|
-
.CalendarMonthGrid__horizontal {
|
|
427
|
-
position: absolute;
|
|
428
|
-
left: 9px;
|
|
429
|
-
}
|
|
430
|
-
.CalendarMonthGrid__vertical,
|
|
431
|
-
.CalendarMonthGrid__vertical_scrollable {
|
|
432
|
-
margin: 0 auto;
|
|
433
|
-
}
|
|
434
|
-
.CalendarMonthGrid_month__horizontal {
|
|
435
|
-
display: inline-block;
|
|
436
|
-
vertical-align: top;
|
|
437
|
-
min-height: 100%;
|
|
438
|
-
}
|
|
439
|
-
.CalendarMonthGrid_month__hideForAnimation {
|
|
440
|
-
position: absolute;
|
|
441
|
-
z-index: -1;
|
|
442
|
-
opacity: 0;
|
|
443
|
-
pointer-events: none;
|
|
444
|
-
}
|
|
445
|
-
.CalendarMonthGrid_month__hidden {
|
|
446
|
-
visibility: hidden;
|
|
447
|
-
}
|
|
448
|
-
.DayPickerNavigation {
|
|
449
|
-
position: relative;
|
|
450
|
-
z-index: 2;
|
|
451
|
-
}
|
|
452
|
-
.DayPickerNavigation__horizontal {
|
|
453
|
-
height: 0;
|
|
454
|
-
}
|
|
455
|
-
.DayPickerNavigation__verticalScrollable_prevNav {
|
|
456
|
-
z-index: 1;
|
|
457
|
-
}
|
|
458
|
-
.DayPickerNavigation__verticalDefault {
|
|
459
|
-
position: absolute;
|
|
460
|
-
width: 100%;
|
|
461
|
-
height: 52px;
|
|
462
|
-
bottom: 0;
|
|
463
|
-
left: 0;
|
|
464
|
-
}
|
|
465
|
-
.DayPickerNavigation__verticalScrollableDefault {
|
|
466
|
-
position: relative;
|
|
467
|
-
}
|
|
468
|
-
.DayPickerNavigation__bottom {
|
|
469
|
-
height: auto;
|
|
470
|
-
}
|
|
471
|
-
.DayPickerNavigation__bottomDefault {
|
|
472
|
-
-webkit-box-pack: justify;
|
|
473
|
-
-ms-flex-pack: justify;
|
|
474
|
-
display: -webkit-box;
|
|
475
|
-
display: -moz-box;
|
|
476
|
-
display: -ms-flexbox;
|
|
477
|
-
display: -webkit-flex;
|
|
478
|
-
display: flex;
|
|
479
|
-
-webkit-justify-content: space-between;
|
|
480
|
-
justify-content: space-between;
|
|
481
|
-
}
|
|
482
|
-
.DayPickerNavigation_button {
|
|
483
|
-
cursor: pointer;
|
|
484
|
-
-webkit-user-select: none;
|
|
485
|
-
-moz-user-select: none;
|
|
486
|
-
-ms-user-select: none;
|
|
487
|
-
user-select: none;
|
|
488
|
-
border: 0;
|
|
489
|
-
padding: 0;
|
|
490
|
-
margin: 0;
|
|
491
|
-
}
|
|
492
|
-
.DayPickerNavigation_button__default {
|
|
493
|
-
border: 1px solid #e4e7e7;
|
|
494
|
-
background-color: #fff;
|
|
495
|
-
color: #757575;
|
|
496
|
-
}
|
|
497
|
-
.DayPickerNavigation_button__default:focus,
|
|
498
|
-
.DayPickerNavigation_button__default:hover {
|
|
499
|
-
border: 1px solid #c4c4c4;
|
|
500
|
-
}
|
|
501
|
-
.DayPickerNavigation_button__default:active {
|
|
502
|
-
background: #f2f2f2;
|
|
503
|
-
}
|
|
504
|
-
.DayPickerNavigation_button__disabled {
|
|
505
|
-
cursor: default;
|
|
506
|
-
border: 1px solid #f2f2f2;
|
|
507
|
-
}
|
|
508
|
-
.DayPickerNavigation_button__disabled:focus,
|
|
509
|
-
.DayPickerNavigation_button__disabled:hover {
|
|
510
|
-
border: 1px solid #f2f2f2;
|
|
511
|
-
}
|
|
512
|
-
.DayPickerNavigation_button__disabled:active {
|
|
513
|
-
background: 0 0;
|
|
514
|
-
}
|
|
515
|
-
.DayPickerNavigation_button__horizontalDefault {
|
|
516
|
-
position: absolute;
|
|
517
|
-
top: 18px;
|
|
518
|
-
line-height: 0.78;
|
|
519
|
-
border-radius: 3px;
|
|
520
|
-
padding: 6px 9px;
|
|
521
|
-
}
|
|
522
|
-
.DayPickerNavigation_bottomButton__horizontalDefault {
|
|
523
|
-
position: static;
|
|
524
|
-
margin: -10px 22px 30px;
|
|
525
|
-
}
|
|
526
|
-
.DayPickerNavigation_leftButton__horizontalDefault {
|
|
527
|
-
left: 22px;
|
|
528
|
-
}
|
|
529
|
-
.DayPickerNavigation_rightButton__horizontalDefault {
|
|
530
|
-
right: 22px;
|
|
531
|
-
}
|
|
532
|
-
.DayPickerNavigation_button__verticalDefault {
|
|
533
|
-
padding: 5px;
|
|
534
|
-
background: #fff;
|
|
535
|
-
box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1);
|
|
536
|
-
position: relative;
|
|
537
|
-
display: inline-block;
|
|
538
|
-
text-align: center;
|
|
539
|
-
height: 100%;
|
|
540
|
-
width: 50%;
|
|
541
|
-
}
|
|
542
|
-
.DayPickerNavigation_nextButton__verticalDefault {
|
|
543
|
-
border-left: 0;
|
|
544
|
-
}
|
|
545
|
-
.DayPickerNavigation_nextButton__verticalScrollableDefault,
|
|
546
|
-
.DayPickerNavigation_prevButton__verticalScrollableDefault {
|
|
547
|
-
width: 100%;
|
|
548
|
-
}
|
|
549
|
-
.DayPickerNavigation_svg__horizontal {
|
|
550
|
-
height: 19px;
|
|
551
|
-
width: 19px;
|
|
552
|
-
fill: #82888a;
|
|
553
|
-
display: block;
|
|
554
|
-
}
|
|
555
|
-
.DayPickerNavigation_svg__vertical {
|
|
556
|
-
height: 42px;
|
|
557
|
-
width: 42px;
|
|
558
|
-
fill: #484848;
|
|
559
|
-
}
|
|
560
|
-
.DayPickerNavigation_svg__disabled {
|
|
561
|
-
fill: #f2f2f2;
|
|
562
|
-
}
|
|
563
|
-
.DayPicker {
|
|
564
|
-
background: #fff;
|
|
565
|
-
position: relative;
|
|
566
|
-
text-align: left;
|
|
567
|
-
}
|
|
568
|
-
.DayPicker__horizontal {
|
|
569
|
-
background: #fff;
|
|
570
|
-
}
|
|
571
|
-
.DayPicker__verticalScrollable {
|
|
572
|
-
height: 100%;
|
|
573
|
-
}
|
|
574
|
-
.DayPicker__hidden {
|
|
575
|
-
visibility: hidden;
|
|
576
|
-
}
|
|
577
|
-
.DayPicker__withBorder {
|
|
578
|
-
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.07);
|
|
579
|
-
border-radius: 3px;
|
|
580
|
-
}
|
|
581
|
-
.DayPicker_portal__horizontal {
|
|
582
|
-
box-shadow: none;
|
|
583
|
-
position: absolute;
|
|
584
|
-
left: 50%;
|
|
585
|
-
top: 50%;
|
|
586
|
-
}
|
|
587
|
-
.DayPicker_portal__vertical {
|
|
588
|
-
position: initial;
|
|
589
|
-
}
|
|
590
|
-
.DayPicker_focusRegion {
|
|
591
|
-
outline: 0;
|
|
592
|
-
}
|
|
593
|
-
.DayPicker_calendarInfo__horizontal,
|
|
594
|
-
.DayPicker_wrapper__horizontal {
|
|
595
|
-
display: inline-block;
|
|
596
|
-
vertical-align: top;
|
|
597
|
-
}
|
|
598
|
-
.DayPicker_weekHeaders {
|
|
599
|
-
position: relative;
|
|
600
|
-
}
|
|
601
|
-
.DayPicker_weekHeaders__horizontal {
|
|
602
|
-
margin-left: 9px;
|
|
603
|
-
}
|
|
604
|
-
.DayPicker_weekHeader {
|
|
605
|
-
color: #757575;
|
|
606
|
-
position: absolute;
|
|
607
|
-
top: 62px;
|
|
608
|
-
z-index: 2;
|
|
609
|
-
text-align: left;
|
|
610
|
-
}
|
|
611
|
-
.DayPicker_weekHeader__vertical {
|
|
612
|
-
left: 50%;
|
|
613
|
-
}
|
|
614
|
-
.DayPicker_weekHeader__verticalScrollable {
|
|
615
|
-
top: 0;
|
|
616
|
-
display: table-row;
|
|
617
|
-
border-bottom: 1px solid #dbdbdb;
|
|
618
|
-
background: #fff;
|
|
619
|
-
margin-left: 0;
|
|
620
|
-
left: 0;
|
|
621
|
-
width: 100%;
|
|
622
|
-
text-align: center;
|
|
623
|
-
}
|
|
624
|
-
.DayPicker_weekHeader_ul {
|
|
625
|
-
list-style: none;
|
|
626
|
-
margin: 1px 0;
|
|
627
|
-
padding-left: 0;
|
|
628
|
-
padding-right: 0;
|
|
629
|
-
font-size: 14px;
|
|
630
|
-
}
|
|
631
|
-
.DayPicker_weekHeader_li {
|
|
632
|
-
display: inline-block;
|
|
633
|
-
text-align: center;
|
|
634
|
-
}
|
|
635
|
-
.DayPicker_transitionContainer {
|
|
636
|
-
position: relative;
|
|
637
|
-
overflow: hidden;
|
|
638
|
-
border-radius: 3px;
|
|
639
|
-
}
|
|
640
|
-
.DayPicker_transitionContainer__horizontal {
|
|
641
|
-
-webkit-transition: height 0.2s ease-in-out;
|
|
642
|
-
-moz-transition: height 0.2s ease-in-out;
|
|
643
|
-
transition: height 0.2s ease-in-out;
|
|
644
|
-
}
|
|
645
|
-
.DayPicker_transitionContainer__vertical {
|
|
646
|
-
width: 100%;
|
|
647
|
-
}
|
|
648
|
-
.DayPicker_transitionContainer__verticalScrollable {
|
|
649
|
-
padding-top: 20px;
|
|
650
|
-
height: 100%;
|
|
651
|
-
position: absolute;
|
|
652
|
-
top: 0;
|
|
653
|
-
bottom: 0;
|
|
654
|
-
right: 0;
|
|
655
|
-
left: 0;
|
|
656
|
-
overflow-y: scroll;
|
|
657
|
-
}
|
|
658
|
-
.DateInput_input {
|
|
659
|
-
display: none;
|
|
660
|
-
}
|
|
661
|
-
.DateInput_screenReaderMessage {
|
|
662
|
-
border: 0;
|
|
663
|
-
clip: rect(0, 0, 0, 0);
|
|
664
|
-
height: 1px;
|
|
665
|
-
margin: -1px;
|
|
666
|
-
overflow: hidden;
|
|
667
|
-
padding: 0;
|
|
668
|
-
position: absolute;
|
|
669
|
-
width: 1px;
|
|
670
|
-
}
|
|
671
|
-
.DateInput_fang {
|
|
672
|
-
position: absolute;
|
|
673
|
-
top: 55px;
|
|
674
|
-
width: 20px;
|
|
675
|
-
height: 10px;
|
|
676
|
-
left: 22px;
|
|
677
|
-
z-index: 2;
|
|
678
|
-
}
|
|
679
|
-
.DateInput_fangShape {
|
|
680
|
-
fill: #fff;
|
|
681
|
-
}
|
|
682
|
-
.DateInput_fangStroke {
|
|
683
|
-
stroke: #dbdbdb;
|
|
684
|
-
fill: transparent;
|
|
685
|
-
}
|
|
686
|
-
.DateRangePickerInput {
|
|
687
|
-
background-color: #fff;
|
|
688
|
-
display: inline-block;
|
|
689
|
-
}
|
|
690
|
-
.DateRangePickerInput__disabled {
|
|
691
|
-
background: #f2f2f2;
|
|
692
|
-
}
|
|
693
|
-
.DateRangePickerInput__withBorder {
|
|
694
|
-
border-radius: 2px;
|
|
695
|
-
border: 1px solid #dbdbdb;
|
|
696
|
-
}
|
|
697
|
-
.DateRangePickerInput__rtl {
|
|
698
|
-
direction: rtl;
|
|
699
|
-
}
|
|
700
|
-
.DateRangePickerInput__block {
|
|
701
|
-
display: block;
|
|
702
|
-
}
|
|
703
|
-
.DateRangePickerInput__showClearDates {
|
|
704
|
-
padding-right: 30px;
|
|
705
|
-
}
|
|
706
|
-
.DateRangePickerInput_arrow {
|
|
707
|
-
display: inline-block;
|
|
708
|
-
vertical-align: middle;
|
|
709
|
-
color: #484848;
|
|
710
|
-
}
|
|
711
|
-
.DateRangePickerInput_arrow_svg {
|
|
712
|
-
vertical-align: middle;
|
|
713
|
-
fill: #484848;
|
|
714
|
-
height: 24px;
|
|
715
|
-
width: 24px;
|
|
716
|
-
}
|
|
717
|
-
.DateRangePickerInput_clearDates {
|
|
718
|
-
background: 0 0;
|
|
719
|
-
border: 0;
|
|
720
|
-
color: inherit;
|
|
721
|
-
font: inherit;
|
|
722
|
-
line-height: normal;
|
|
723
|
-
overflow: visible;
|
|
724
|
-
cursor: pointer;
|
|
725
|
-
padding: 10px;
|
|
726
|
-
margin: 0 10px 0 5px;
|
|
727
|
-
position: absolute;
|
|
728
|
-
right: 0;
|
|
729
|
-
top: 50%;
|
|
730
|
-
-webkit-transform: translateY(-50%);
|
|
731
|
-
-ms-transform: translateY(-50%);
|
|
732
|
-
transform: translateY(-50%);
|
|
733
|
-
}
|
|
734
|
-
.DateRangePickerInput_clearDates__small {
|
|
735
|
-
padding: 6px;
|
|
736
|
-
}
|
|
737
|
-
.DateRangePickerInput_clearDates_default:focus,
|
|
738
|
-
.DateRangePickerInput_clearDates_default:hover {
|
|
739
|
-
background: #dbdbdb;
|
|
740
|
-
border-radius: 50%;
|
|
741
|
-
}
|
|
742
|
-
.DateRangePickerInput_clearDates__hide {
|
|
743
|
-
visibility: hidden;
|
|
744
|
-
}
|
|
745
|
-
.DateRangePickerInput_clearDates_svg {
|
|
746
|
-
fill: #82888a;
|
|
747
|
-
height: 12px;
|
|
748
|
-
width: 15px;
|
|
749
|
-
vertical-align: middle;
|
|
750
|
-
}
|
|
751
|
-
.DateRangePickerInput_clearDates_svg__small {
|
|
752
|
-
height: 9px;
|
|
753
|
-
}
|
|
754
|
-
.DateRangePickerInput_calendarIcon {
|
|
755
|
-
background: 0 0;
|
|
756
|
-
border: 0;
|
|
757
|
-
color: inherit;
|
|
758
|
-
font: inherit;
|
|
759
|
-
line-height: normal;
|
|
760
|
-
overflow: visible;
|
|
761
|
-
cursor: pointer;
|
|
762
|
-
display: inline-block;
|
|
763
|
-
vertical-align: middle;
|
|
764
|
-
padding: 10px;
|
|
765
|
-
margin: 0 5px 0 10px;
|
|
766
|
-
}
|
|
767
|
-
.DateRangePickerInput_calendarIcon_svg {
|
|
768
|
-
fill: #82888a;
|
|
769
|
-
height: 15px;
|
|
770
|
-
width: 14px;
|
|
771
|
-
vertical-align: middle;
|
|
772
|
-
}
|
|
773
|
-
.DateRangePicker {
|
|
774
|
-
position: relative;
|
|
775
|
-
display: inline-block;
|
|
776
|
-
}
|
|
777
|
-
.DateRangePicker__block {
|
|
778
|
-
display: block;
|
|
779
|
-
}
|
|
780
|
-
.DateRangePicker_picker {
|
|
781
|
-
z-index: 1;
|
|
782
|
-
background-color: #fff;
|
|
783
|
-
position: absolute;
|
|
784
|
-
}
|
|
785
|
-
.DateRangePicker_picker__rtl {
|
|
786
|
-
direction: rtl;
|
|
787
|
-
}
|
|
788
|
-
.DateRangePicker_picker__directionLeft {
|
|
789
|
-
left: 0;
|
|
790
|
-
}
|
|
791
|
-
.DateRangePicker_picker__directionRight {
|
|
792
|
-
right: 0;
|
|
793
|
-
}
|
|
794
|
-
.DateRangePicker_picker__portal {
|
|
795
|
-
background-color: rgba(0, 0, 0, 0.3);
|
|
796
|
-
position: fixed;
|
|
797
|
-
top: 0;
|
|
798
|
-
left: 0;
|
|
799
|
-
height: 100%;
|
|
800
|
-
width: 100%;
|
|
801
|
-
}
|
|
802
|
-
.DateRangePicker_picker__fullScreenPortal {
|
|
803
|
-
background-color: #fff;
|
|
804
|
-
}
|
|
805
|
-
.DateRangePicker_closeButton {
|
|
806
|
-
background: 0 0;
|
|
807
|
-
border: 0;
|
|
808
|
-
color: inherit;
|
|
809
|
-
font: inherit;
|
|
810
|
-
line-height: normal;
|
|
811
|
-
overflow: visible;
|
|
812
|
-
cursor: pointer;
|
|
813
|
-
position: absolute;
|
|
814
|
-
top: 0;
|
|
815
|
-
right: 0;
|
|
816
|
-
padding: 15px;
|
|
817
|
-
z-index: 2;
|
|
818
|
-
}
|
|
819
|
-
.DateRangePicker_closeButton:focus,
|
|
820
|
-
.DateRangePicker_closeButton:hover {
|
|
821
|
-
color: darken(#cacccd, 10%);
|
|
822
|
-
text-decoration: none;
|
|
823
|
-
}
|
|
824
|
-
.DateRangePicker_closeButton_svg {
|
|
825
|
-
height: 15px;
|
|
826
|
-
width: 15px;
|
|
827
|
-
fill: #cacccd;
|
|
828
|
-
}
|
|
829
|
-
`;
|
|
830
|
-
export default defaultReactDatesCss;
|