@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.
Files changed (368) hide show
  1. package/.eslintrc.cjs +7 -1
  2. package/CHANGELOG.md +22 -2
  3. package/jest.config.cjs +1 -1
  4. package/lib/cjs/Badge/Badge.js +128 -0
  5. package/lib/cjs/Badge/index.js +9 -0
  6. package/lib/cjs/BlockQuote/BlockQuote.js +256 -0
  7. package/lib/cjs/BlockQuote/index.js +9 -0
  8. package/lib/cjs/Breadcrumbs/Breadcrumbs.js +264 -0
  9. package/lib/cjs/Breadcrumbs/Item/Item.js +180 -0
  10. package/lib/cjs/Breadcrumbs/index.js +13 -0
  11. package/lib/cjs/Callout/Callout.js +141 -0
  12. package/lib/cjs/Callout/index.js +9 -0
  13. package/lib/cjs/Card/Card.js +257 -0
  14. package/lib/cjs/Card/CardContent.js +97 -0
  15. package/lib/cjs/Card/CardFooter.js +85 -0
  16. package/lib/cjs/Card/index.js +9 -0
  17. package/lib/cjs/Countdown/Countdown.js +268 -0
  18. package/lib/cjs/Countdown/Segment.js +108 -0
  19. package/lib/cjs/Countdown/constants.js +10 -0
  20. package/lib/cjs/Countdown/dictionary.js +28 -0
  21. package/lib/cjs/Countdown/index.js +9 -0
  22. package/lib/cjs/Countdown/types.js +31 -0
  23. package/lib/cjs/Countdown/useCountdown.js +32 -0
  24. package/lib/cjs/DatePicker/CalendarContainer.js +214 -0
  25. package/lib/cjs/DatePicker/DatePicker.js +525 -0
  26. package/lib/cjs/DatePicker/dictionary.js +125 -0
  27. package/lib/cjs/DatePicker/index.js +9 -0
  28. package/lib/cjs/DatePicker/reactDatesCss.js +9 -0
  29. package/lib/cjs/Disclaimer/Disclaimer.js +61 -0
  30. package/lib/cjs/Disclaimer/index.js +13 -0
  31. package/lib/cjs/Footnote/Footnote.js +637 -0
  32. package/lib/cjs/Footnote/FootnoteLink.js +125 -0
  33. package/lib/cjs/Footnote/dictionary.js +18 -0
  34. package/lib/cjs/Footnote/index.js +11 -0
  35. package/lib/cjs/IconButton/IconButton.js +62 -0
  36. package/lib/cjs/IconButton/index.js +9 -0
  37. package/lib/cjs/Image/Image.js +90 -0
  38. package/lib/cjs/Image/index.js +20 -0
  39. package/lib/cjs/Image/server.js +11 -0
  40. package/lib/cjs/List/List.js +8 -0
  41. package/lib/cjs/List/ListItem.js +34 -0
  42. package/lib/cjs/List/index.js +11 -0
  43. package/lib/cjs/NavigationBar/NavigationBar.js +282 -0
  44. package/lib/cjs/NavigationBar/NavigationItem.js +94 -0
  45. package/lib/cjs/NavigationBar/NavigationSubMenu.js +164 -0
  46. package/lib/cjs/NavigationBar/collapseItems.js +43 -0
  47. package/lib/cjs/NavigationBar/index.js +11 -0
  48. package/lib/cjs/NavigationBar/resolveItemSelection.js +22 -0
  49. package/lib/cjs/OptimizeImage/OptimizeImage.js +99 -0
  50. package/lib/cjs/OptimizeImage/index.js +9 -0
  51. package/lib/cjs/OptimizeImage/utils/getFallbackUrl.js +14 -0
  52. package/lib/cjs/OptimizeImage/utils/getImageUrls.js +19 -0
  53. package/lib/cjs/OptimizeImage/utils/getOptimizedUrl.js +24 -0
  54. package/lib/cjs/OptimizeImage/utils/hasWebpSupport.js +34 -0
  55. package/lib/cjs/OptimizeImage/utils/index.js +34 -0
  56. package/lib/cjs/OptimizeImage/utils/isSvgUrl.js +9 -0
  57. package/lib/cjs/OrderedList/Item.js +151 -0
  58. package/lib/cjs/OrderedList/ItemBase.js +34 -0
  59. package/lib/cjs/OrderedList/OrderedList.js +92 -0
  60. package/lib/cjs/OrderedList/OrderedListBase.js +52 -0
  61. package/lib/cjs/OrderedList/constants.js +8 -0
  62. package/lib/cjs/OrderedList/index.js +11 -0
  63. package/lib/cjs/Paragraph/Paragraph.js +97 -0
  64. package/lib/cjs/Paragraph/index.js +9 -0
  65. package/lib/cjs/PreviewCard/AuthorDate.js +63 -0
  66. package/lib/cjs/PreviewCard/PreviewCard.js +215 -0
  67. package/lib/cjs/PreviewCard/index.js +9 -0
  68. package/lib/cjs/PriceLockup/PriceLockup.js +356 -0
  69. package/lib/cjs/PriceLockup/index.js +9 -0
  70. package/lib/cjs/PriceLockup/tokens.js +66 -0
  71. package/lib/cjs/Progress/ProgressBar.js +99 -0
  72. package/lib/cjs/Progress/index.js +11 -0
  73. package/lib/cjs/QuantitySelector/QuantitySelector.js +267 -0
  74. package/lib/cjs/QuantitySelector/SideButton.js +77 -0
  75. package/lib/cjs/QuantitySelector/dictionary.js +32 -0
  76. package/lib/cjs/QuantitySelector/index.js +9 -0
  77. package/lib/cjs/QuantitySelector/styles.js +16 -0
  78. package/lib/cjs/ResponsiveImage/ResponsiveImage.js +107 -0
  79. package/lib/cjs/ResponsiveImage/index.js +9 -0
  80. package/lib/cjs/Ribbon/Ribbon.js +222 -0
  81. package/lib/cjs/Ribbon/index.js +9 -0
  82. package/lib/cjs/SkeletonProvider/SkeletonImage.js +45 -0
  83. package/lib/cjs/SkeletonProvider/SkeletonProvider.js +63 -0
  84. package/lib/cjs/SkeletonProvider/SkeletonTypography.js +44 -0
  85. package/lib/cjs/SkeletonProvider/index.js +9 -0
  86. package/lib/cjs/Span/Span.js +79 -0
  87. package/lib/cjs/Span/index.js +9 -0
  88. package/lib/cjs/Spinner/Spinner.js +221 -0
  89. package/lib/cjs/Spinner/SpinnerContent.js +100 -0
  90. package/lib/cjs/Spinner/constants.js +10 -0
  91. package/lib/cjs/Spinner/index.js +9 -0
  92. package/lib/cjs/StoryCard/StoryCard.js +219 -0
  93. package/lib/cjs/StoryCard/index.js +9 -0
  94. package/lib/cjs/Table/Body.js +24 -0
  95. package/lib/cjs/Table/Cell.js +187 -0
  96. package/lib/cjs/Table/Header.js +32 -0
  97. package/lib/cjs/Table/Row.js +41 -0
  98. package/lib/cjs/Table/SubHeading.js +30 -0
  99. package/lib/cjs/Table/Table.js +124 -0
  100. package/lib/cjs/Table/index.js +19 -0
  101. package/lib/cjs/TermsAndConditions/ExpandCollapse.js +160 -0
  102. package/lib/cjs/TermsAndConditions/TermsAndConditions.js +283 -0
  103. package/lib/cjs/TermsAndConditions/dictionary.js +22 -0
  104. package/lib/cjs/TermsAndConditions/index.js +13 -0
  105. package/lib/cjs/Testimonial/Testimonial.js +240 -0
  106. package/lib/cjs/Testimonial/index.js +9 -0
  107. package/lib/cjs/Toast/Toast.js +165 -0
  108. package/lib/cjs/Toast/index.js +9 -0
  109. package/lib/cjs/Video/ControlBar/ControlBar.js +294 -0
  110. package/lib/cjs/Video/ControlBar/Controls/VideoButton/VideoButton.js +76 -0
  111. package/lib/cjs/Video/ControlBar/Controls/VideoMenu/VideoMenu.js +169 -0
  112. package/lib/cjs/Video/ControlBar/Controls/VideoProgressBar/VideoProgressBar.js +211 -0
  113. package/lib/cjs/Video/ControlBar/Controls/VolumeSlider/VolumeSlider.js +197 -0
  114. package/lib/cjs/Video/MiddleControlButton/MiddleControlButton.js +78 -0
  115. package/lib/cjs/Video/Video.js +964 -0
  116. package/lib/cjs/Video/index.js +9 -0
  117. package/lib/cjs/Video/videoText.js +61 -0
  118. package/lib/cjs/VideoPicker/VideoPicker.js +197 -0
  119. package/lib/cjs/VideoPicker/VideoPickerPlayer.js +54 -0
  120. package/lib/cjs/VideoPicker/VideoPickerThumbnail.js +223 -0
  121. package/lib/cjs/VideoPicker/VideoSlider.js +88 -0
  122. package/lib/cjs/VideoPicker/index.js +9 -0
  123. package/lib/cjs/VideoPicker/videoPropType.js +17 -0
  124. package/lib/cjs/WaffleGrid/WaffleGrid.js +164 -0
  125. package/lib/cjs/WaffleGrid/index.js +9 -0
  126. package/lib/cjs/WebVideo/WebVideo.js +197 -0
  127. package/lib/cjs/WebVideo/index.js +9 -0
  128. package/lib/cjs/WebVideo/utils/index.js +57 -0
  129. package/lib/cjs/baseExports.js +438 -0
  130. package/lib/cjs/index.js +317 -0
  131. package/lib/cjs/server.js +13 -0
  132. package/lib/cjs/shared/ConditionalWrapper/ConditionalWrapper.js +29 -0
  133. package/lib/cjs/shared/ConditionalWrapper/index.js +9 -0
  134. package/lib/cjs/shared/FullBleedContent/FullBleedContent.js +108 -0
  135. package/lib/cjs/shared/FullBleedContent/getFullBleedBorderRadius.js +61 -0
  136. package/lib/cjs/shared/FullBleedContent/index.js +23 -0
  137. package/lib/cjs/shared/FullBleedContent/useFullBleedContentProps.js +61 -0
  138. package/lib/cjs/shared/VideoSplash/SplashButton/SplashButton.js +91 -0
  139. package/lib/cjs/shared/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.js +229 -0
  140. package/lib/cjs/shared/VideoSplash/VideoSplash.js +72 -0
  141. package/lib/cjs/shared/VideoSplash/helpers.js +32 -0
  142. package/lib/cjs/utils/index.js +88 -0
  143. package/lib/cjs/utils/isElementFocusable.js +14 -0
  144. package/lib/cjs/utils/logger.js +24 -0
  145. package/lib/cjs/utils/media.js +45 -0
  146. package/lib/cjs/utils/renderStructuredContent.js +71 -0
  147. package/lib/cjs/utils/scrollToAnchor.js +25 -0
  148. package/lib/cjs/utils/ssr.js +50 -0
  149. package/lib/cjs/utils/theming/get-theme-from-server.js +24 -0
  150. package/lib/cjs/utils/theming/with-client-theme.js +31 -0
  151. package/lib/cjs/utils/theming/with-server-theme.js +33 -0
  152. package/lib/cjs/utils/transforms.js +11 -0
  153. package/lib/cjs/utils/useOverlaidPosition.js +222 -0
  154. package/lib/cjs/utils/useTypographyTheme.js +30 -0
  155. package/lib/{Badge → esm/Badge}/Badge.js +11 -21
  156. package/lib/{BlockQuote → esm/BlockQuote}/BlockQuote.js +17 -31
  157. package/lib/{Breadcrumbs → esm/Breadcrumbs}/Breadcrumbs.js +6 -5
  158. package/lib/{Breadcrumbs → esm/Breadcrumbs}/Item/Item.js +10 -6
  159. package/lib/{Callout → esm/Callout}/Callout.js +6 -5
  160. package/lib/{Card → esm/Card}/Card.js +5 -5
  161. package/lib/{Card → esm/Card}/CardContent.js +6 -5
  162. package/lib/{Card → esm/Card}/CardFooter.js +6 -5
  163. package/lib/{Countdown → esm/Countdown}/Countdown.js +53 -32
  164. package/lib/{Countdown → esm/Countdown}/Segment.js +6 -6
  165. package/lib/{DatePicker → esm/DatePicker}/CalendarContainer.js +5 -5
  166. package/lib/{DatePicker → esm/DatePicker}/DatePicker.js +18 -12
  167. package/lib/esm/DatePicker/reactDatesCss.js +3 -0
  168. package/lib/{Disclaimer → esm/Disclaimer}/Disclaimer.js +6 -5
  169. package/lib/{Footnote → esm/Footnote}/Footnote.js +39 -15
  170. package/lib/{Footnote → esm/Footnote}/FootnoteLink.js +6 -5
  171. package/lib/{NavigationBar → esm/NavigationBar}/NavigationBar.js +6 -5
  172. package/lib/{NavigationBar → esm/NavigationBar}/NavigationItem.js +6 -5
  173. package/lib/{OrderedList → esm/OrderedList}/Item.js +10 -6
  174. package/lib/{OrderedList → esm/OrderedList}/ItemBase.js +5 -5
  175. package/lib/{OrderedList → esm/OrderedList}/OrderedList.js +6 -5
  176. package/lib/{OrderedList → esm/OrderedList}/OrderedListBase.js +5 -5
  177. package/lib/{Paragraph → esm/Paragraph}/Paragraph.js +8 -16
  178. package/lib/{PreviewCard → esm/PreviewCard}/PreviewCard.js +10 -7
  179. package/lib/{PriceLockup → esm/PriceLockup}/PriceLockup.js +59 -69
  180. package/lib/{Progress → esm/Progress}/ProgressBar.js +6 -6
  181. package/lib/esm/QuantitySelector/styles.js +9 -0
  182. package/lib/{Ribbon → esm/Ribbon}/Ribbon.js +31 -57
  183. package/lib/{Span → esm/Span}/Span.js +7 -6
  184. package/lib/{Spinner → esm/Spinner}/Spinner.js +18 -8
  185. package/lib/{Spinner → esm/Spinner}/SpinnerContent.js +6 -5
  186. package/lib/{StoryCard → esm/StoryCard}/StoryCard.js +10 -7
  187. package/lib/{Table → esm/Table}/Cell.js +16 -45
  188. package/lib/esm/Table/Row.js +34 -0
  189. package/lib/{Table → esm/Table}/Table.js +16 -17
  190. package/lib/{TermsAndConditions → esm/TermsAndConditions}/ExpandCollapse.js +13 -7
  191. package/lib/{TermsAndConditions → esm/TermsAndConditions}/TermsAndConditions.js +22 -9
  192. package/lib/{Testimonial → esm/Testimonial}/Testimonial.js +26 -10
  193. package/lib/{Toast → esm/Toast}/Toast.js +13 -64
  194. package/lib/{Video → esm/Video}/ControlBar/ControlBar.js +18 -8
  195. package/lib/{Video → esm/Video}/ControlBar/Controls/VideoButton/VideoButton.js +6 -5
  196. package/lib/{Video → esm/Video}/ControlBar/Controls/VideoMenu/VideoMenu.js +14 -7
  197. package/lib/{Video → esm/Video}/ControlBar/Controls/VideoProgressBar/VideoProgressBar.js +14 -7
  198. package/lib/{Video → esm/Video}/ControlBar/Controls/VolumeSlider/VolumeSlider.js +10 -6
  199. package/lib/{Video → esm/Video}/MiddleControlButton/MiddleControlButton.js +6 -5
  200. package/lib/{Video → esm/Video}/Video.js +26 -10
  201. package/lib/{VideoPicker → esm/VideoPicker}/VideoPicker.js +20 -44
  202. package/lib/{VideoPicker → esm/VideoPicker}/VideoPickerThumbnail.js +18 -52
  203. package/lib/{WaffleGrid → esm/WaffleGrid}/WaffleGrid.js +14 -7
  204. package/lib/{WebVideo → esm/WebVideo}/WebVideo.js +14 -9
  205. package/lib/{index.js → esm/index.js} +1 -1
  206. package/lib/{shared → esm/shared}/FullBleedContent/FullBleedContent.js +5 -5
  207. package/lib/{shared → esm/shared}/VideoSplash/SplashButton/SplashButton.js +9 -6
  208. package/lib/{shared → esm/shared}/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.js +17 -8
  209. package/lib/{shared → esm/shared}/VideoSplash/VideoSplash.js +6 -5
  210. package/lib/{utils → esm/utils}/index.js +1 -2
  211. package/lib/{utils → esm/utils}/ssr.js +1 -4
  212. package/package.json +17 -16
  213. package/src/Badge/Badge.jsx +2 -3
  214. package/src/BlockQuote/BlockQuote.jsx +2 -3
  215. package/src/Breadcrumbs/Breadcrumbs.jsx +2 -3
  216. package/src/Breadcrumbs/Item/Item.jsx +2 -3
  217. package/src/Callout/Callout.jsx +2 -4
  218. package/src/Card/Card.jsx +1 -3
  219. package/src/Card/CardContent.jsx +2 -3
  220. package/src/Card/CardFooter.jsx +2 -3
  221. package/src/Countdown/Countdown.jsx +62 -36
  222. package/src/Countdown/Segment.jsx +1 -3
  223. package/src/DatePicker/CalendarContainer.jsx +1 -3
  224. package/src/DatePicker/DatePicker.jsx +2 -3
  225. package/src/DatePicker/reactDatesCss.js +1 -3
  226. package/src/Disclaimer/Disclaimer.jsx +2 -3
  227. package/src/Footnote/Footnote.jsx +2 -10
  228. package/src/Footnote/FootnoteLink.jsx +2 -3
  229. package/src/NavigationBar/NavigationBar.jsx +2 -3
  230. package/src/NavigationBar/NavigationItem.jsx +2 -3
  231. package/src/OrderedList/Item.jsx +2 -3
  232. package/src/OrderedList/ItemBase.jsx +1 -3
  233. package/src/OrderedList/OrderedList.jsx +2 -3
  234. package/src/OrderedList/OrderedListBase.jsx +1 -3
  235. package/src/Paragraph/Paragraph.jsx +2 -4
  236. package/src/PreviewCard/PreviewCard.jsx +1 -3
  237. package/src/PriceLockup/PriceLockup.jsx +2 -3
  238. package/src/Progress/ProgressBar.jsx +1 -3
  239. package/src/QuantitySelector/styles.js +1 -3
  240. package/src/Ribbon/Ribbon.jsx +2 -3
  241. package/src/Span/Span.jsx +2 -4
  242. package/src/Spinner/Spinner.jsx +2 -3
  243. package/src/Spinner/SpinnerContent.jsx +2 -3
  244. package/src/StoryCard/StoryCard.jsx +1 -3
  245. package/src/Table/Cell.jsx +4 -5
  246. package/src/Table/Row.jsx +13 -2
  247. package/src/Table/Table.jsx +14 -5
  248. package/src/TermsAndConditions/ExpandCollapse.jsx +1 -3
  249. package/src/TermsAndConditions/TermsAndConditions.jsx +2 -3
  250. package/src/Testimonial/Testimonial.jsx +2 -3
  251. package/src/Toast/Toast.jsx +2 -3
  252. package/src/Video/ControlBar/ControlBar.jsx +2 -4
  253. package/src/Video/ControlBar/Controls/VideoButton/VideoButton.jsx +2 -4
  254. package/src/Video/ControlBar/Controls/VideoMenu/VideoMenu.jsx +2 -4
  255. package/src/Video/ControlBar/Controls/VideoProgressBar/VideoProgressBar.jsx +2 -4
  256. package/src/Video/ControlBar/Controls/VolumeSlider/VolumeSlider.jsx +2 -4
  257. package/src/Video/MiddleControlButton/MiddleControlButton.jsx +2 -4
  258. package/src/Video/Video.jsx +2 -4
  259. package/src/VideoPicker/VideoPicker.jsx +2 -4
  260. package/src/VideoPicker/VideoPickerThumbnail.jsx +1 -3
  261. package/src/WaffleGrid/WaffleGrid.jsx +2 -3
  262. package/src/WebVideo/WebVideo.jsx +3 -4
  263. package/src/index.js +1 -1
  264. package/src/shared/FullBleedContent/FullBleedContent.jsx +1 -3
  265. package/src/shared/VideoSplash/SplashButton/SplashButton.jsx +1 -3
  266. package/src/shared/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.jsx +1 -4
  267. package/src/shared/VideoSplash/VideoSplash.jsx +2 -3
  268. package/src/utils/index.js +1 -3
  269. package/src/utils/ssr.js +1 -2
  270. package/lib/DatePicker/reactDatesCss.js +0 -830
  271. package/lib/QuantitySelector/styles.js +0 -18
  272. package/lib/Table/Row.js +0 -19
  273. package/lib/utils/theming/styled-components.js +0 -26
  274. package/src/utils/theming/styled-components.js +0 -23
  275. /package/lib/{Badge → esm/Badge}/index.js +0 -0
  276. /package/lib/{BlockQuote → esm/BlockQuote}/index.js +0 -0
  277. /package/lib/{Breadcrumbs → esm/Breadcrumbs}/index.js +0 -0
  278. /package/lib/{Callout → esm/Callout}/index.js +0 -0
  279. /package/lib/{Card → esm/Card}/index.js +0 -0
  280. /package/lib/{Countdown → esm/Countdown}/constants.js +0 -0
  281. /package/lib/{Countdown → esm/Countdown}/dictionary.js +0 -0
  282. /package/lib/{Countdown → esm/Countdown}/index.js +0 -0
  283. /package/lib/{Countdown → esm/Countdown}/types.js +0 -0
  284. /package/lib/{Countdown → esm/Countdown}/useCountdown.js +0 -0
  285. /package/lib/{DatePicker → esm/DatePicker}/dictionary.js +0 -0
  286. /package/lib/{DatePicker → esm/DatePicker}/index.js +0 -0
  287. /package/lib/{Disclaimer → esm/Disclaimer}/index.js +0 -0
  288. /package/lib/{Footnote → esm/Footnote}/dictionary.js +0 -0
  289. /package/lib/{Footnote → esm/Footnote}/index.js +0 -0
  290. /package/lib/{IconButton → esm/IconButton}/IconButton.js +0 -0
  291. /package/lib/{IconButton → esm/IconButton}/index.js +0 -0
  292. /package/lib/{Image → esm/Image}/Image.js +0 -0
  293. /package/lib/{Image → esm/Image}/index.js +0 -0
  294. /package/lib/{Image → esm/Image}/server.js +0 -0
  295. /package/lib/{List → esm/List}/List.js +0 -0
  296. /package/lib/{List → esm/List}/ListItem.js +0 -0
  297. /package/lib/{List → esm/List}/index.js +0 -0
  298. /package/lib/{NavigationBar → esm/NavigationBar}/NavigationSubMenu.js +0 -0
  299. /package/lib/{NavigationBar → esm/NavigationBar}/collapseItems.js +0 -0
  300. /package/lib/{NavigationBar → esm/NavigationBar}/index.js +0 -0
  301. /package/lib/{NavigationBar → esm/NavigationBar}/resolveItemSelection.js +0 -0
  302. /package/lib/{OptimizeImage → esm/OptimizeImage}/OptimizeImage.js +0 -0
  303. /package/lib/{OptimizeImage → esm/OptimizeImage}/index.js +0 -0
  304. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/getFallbackUrl.js +0 -0
  305. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/getImageUrls.js +0 -0
  306. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/getOptimizedUrl.js +0 -0
  307. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/hasWebpSupport.js +0 -0
  308. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/index.js +0 -0
  309. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/isSvgUrl.js +0 -0
  310. /package/lib/{OrderedList → esm/OrderedList}/constants.js +0 -0
  311. /package/lib/{OrderedList → esm/OrderedList}/index.js +0 -0
  312. /package/lib/{Paragraph → esm/Paragraph}/index.js +0 -0
  313. /package/lib/{PreviewCard → esm/PreviewCard}/AuthorDate.js +0 -0
  314. /package/lib/{PreviewCard → esm/PreviewCard}/index.js +0 -0
  315. /package/lib/{PriceLockup → esm/PriceLockup}/index.js +0 -0
  316. /package/lib/{PriceLockup → esm/PriceLockup}/tokens.js +0 -0
  317. /package/lib/{Progress → esm/Progress}/index.js +0 -0
  318. /package/lib/{QuantitySelector → esm/QuantitySelector}/QuantitySelector.js +0 -0
  319. /package/lib/{QuantitySelector → esm/QuantitySelector}/SideButton.js +0 -0
  320. /package/lib/{QuantitySelector → esm/QuantitySelector}/dictionary.js +0 -0
  321. /package/lib/{QuantitySelector → esm/QuantitySelector}/index.js +0 -0
  322. /package/lib/{ResponsiveImage → esm/ResponsiveImage}/ResponsiveImage.js +0 -0
  323. /package/lib/{ResponsiveImage → esm/ResponsiveImage}/index.js +0 -0
  324. /package/lib/{Ribbon → esm/Ribbon}/index.js +0 -0
  325. /package/lib/{SkeletonProvider → esm/SkeletonProvider}/SkeletonImage.js +0 -0
  326. /package/lib/{SkeletonProvider → esm/SkeletonProvider}/SkeletonProvider.js +0 -0
  327. /package/lib/{SkeletonProvider → esm/SkeletonProvider}/SkeletonTypography.js +0 -0
  328. /package/lib/{SkeletonProvider → esm/SkeletonProvider}/index.js +0 -0
  329. /package/lib/{Span → esm/Span}/index.js +0 -0
  330. /package/lib/{Spinner → esm/Spinner}/constants.js +0 -0
  331. /package/lib/{Spinner → esm/Spinner}/index.js +0 -0
  332. /package/lib/{StoryCard → esm/StoryCard}/index.js +0 -0
  333. /package/lib/{Table → esm/Table}/Body.js +0 -0
  334. /package/lib/{Table → esm/Table}/Header.js +0 -0
  335. /package/lib/{Table → esm/Table}/SubHeading.js +0 -0
  336. /package/lib/{Table → esm/Table}/index.js +0 -0
  337. /package/lib/{TermsAndConditions → esm/TermsAndConditions}/dictionary.js +0 -0
  338. /package/lib/{TermsAndConditions → esm/TermsAndConditions}/index.js +0 -0
  339. /package/lib/{Testimonial → esm/Testimonial}/index.js +0 -0
  340. /package/lib/{Toast → esm/Toast}/index.js +0 -0
  341. /package/lib/{Video → esm/Video}/index.js +0 -0
  342. /package/lib/{Video → esm/Video}/videoText.js +0 -0
  343. /package/lib/{VideoPicker → esm/VideoPicker}/VideoPickerPlayer.js +0 -0
  344. /package/lib/{VideoPicker → esm/VideoPicker}/VideoSlider.js +0 -0
  345. /package/lib/{VideoPicker → esm/VideoPicker}/index.js +0 -0
  346. /package/lib/{VideoPicker → esm/VideoPicker}/videoPropType.js +0 -0
  347. /package/lib/{WaffleGrid → esm/WaffleGrid}/index.js +0 -0
  348. /package/lib/{WebVideo → esm/WebVideo}/index.js +0 -0
  349. /package/lib/{WebVideo → esm/WebVideo}/utils/index.js +0 -0
  350. /package/lib/{baseExports.js → esm/baseExports.js} +0 -0
  351. /package/lib/{server.js → esm/server.js} +0 -0
  352. /package/lib/{shared → esm/shared}/ConditionalWrapper/ConditionalWrapper.js +0 -0
  353. /package/lib/{shared → esm/shared}/ConditionalWrapper/index.js +0 -0
  354. /package/lib/{shared → esm/shared}/FullBleedContent/getFullBleedBorderRadius.js +0 -0
  355. /package/lib/{shared → esm/shared}/FullBleedContent/index.js +0 -0
  356. /package/lib/{shared → esm/shared}/FullBleedContent/useFullBleedContentProps.js +0 -0
  357. /package/lib/{shared → esm/shared}/VideoSplash/helpers.js +0 -0
  358. /package/lib/{utils → esm/utils}/isElementFocusable.js +0 -0
  359. /package/lib/{utils → esm/utils}/logger.js +0 -0
  360. /package/lib/{utils → esm/utils}/media.js +0 -0
  361. /package/lib/{utils → esm/utils}/renderStructuredContent.js +0 -0
  362. /package/lib/{utils → esm/utils}/scrollToAnchor.js +0 -0
  363. /package/lib/{utils → esm/utils}/theming/get-theme-from-server.js +0 -0
  364. /package/lib/{utils → esm/utils}/theming/with-client-theme.js +0 -0
  365. /package/lib/{utils → esm/utils}/theming/with-server-theme.js +0 -0
  366. /package/lib/{utils → esm/utils}/transforms.js +0 -0
  367. /package/lib/{utils → esm/utils}/useOverlaidPosition.js +0 -0
  368. /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;