@telus-uds/components-web 3.4.0 → 4.1.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 (373) hide show
  1. package/.eslintrc.cjs +7 -1
  2. package/CHANGELOG.md +38 -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 +398 -0
  69. package/lib/cjs/PriceLockup/dictionary.js +18 -0
  70. package/lib/cjs/PriceLockup/index.js +9 -0
  71. package/lib/cjs/PriceLockup/tokens.js +66 -0
  72. package/lib/cjs/Progress/ProgressBar.js +99 -0
  73. package/lib/cjs/Progress/index.js +11 -0
  74. package/lib/cjs/QuantitySelector/QuantitySelector.js +267 -0
  75. package/lib/cjs/QuantitySelector/SideButton.js +77 -0
  76. package/lib/cjs/QuantitySelector/dictionary.js +32 -0
  77. package/lib/cjs/QuantitySelector/index.js +9 -0
  78. package/lib/cjs/QuantitySelector/styles.js +16 -0
  79. package/lib/cjs/ResponsiveImage/ResponsiveImage.js +107 -0
  80. package/lib/cjs/ResponsiveImage/index.js +9 -0
  81. package/lib/cjs/Ribbon/Ribbon.js +222 -0
  82. package/lib/cjs/Ribbon/index.js +9 -0
  83. package/lib/cjs/SkeletonProvider/SkeletonImage.js +45 -0
  84. package/lib/cjs/SkeletonProvider/SkeletonProvider.js +63 -0
  85. package/lib/cjs/SkeletonProvider/SkeletonTypography.js +44 -0
  86. package/lib/cjs/SkeletonProvider/index.js +9 -0
  87. package/lib/cjs/Span/Span.js +79 -0
  88. package/lib/cjs/Span/index.js +9 -0
  89. package/lib/cjs/Spinner/Spinner.js +221 -0
  90. package/lib/cjs/Spinner/SpinnerContent.js +100 -0
  91. package/lib/cjs/Spinner/constants.js +10 -0
  92. package/lib/cjs/Spinner/index.js +9 -0
  93. package/lib/cjs/StoryCard/StoryCard.js +219 -0
  94. package/lib/cjs/StoryCard/index.js +9 -0
  95. package/lib/cjs/Table/Body.js +24 -0
  96. package/lib/cjs/Table/Cell.js +196 -0
  97. package/lib/cjs/Table/Header.js +32 -0
  98. package/lib/cjs/Table/Row.js +74 -0
  99. package/lib/cjs/Table/SubHeading.js +30 -0
  100. package/lib/cjs/Table/Table.js +124 -0
  101. package/lib/cjs/Table/index.js +19 -0
  102. package/lib/cjs/TermsAndConditions/ExpandCollapse.js +160 -0
  103. package/lib/cjs/TermsAndConditions/TermsAndConditions.js +283 -0
  104. package/lib/cjs/TermsAndConditions/dictionary.js +22 -0
  105. package/lib/cjs/TermsAndConditions/index.js +13 -0
  106. package/lib/cjs/Testimonial/Testimonial.js +240 -0
  107. package/lib/cjs/Testimonial/index.js +9 -0
  108. package/lib/cjs/Toast/Toast.js +165 -0
  109. package/lib/cjs/Toast/index.js +9 -0
  110. package/lib/cjs/Video/ControlBar/ControlBar.js +294 -0
  111. package/lib/cjs/Video/ControlBar/Controls/VideoButton/VideoButton.js +76 -0
  112. package/lib/cjs/Video/ControlBar/Controls/VideoMenu/VideoMenu.js +169 -0
  113. package/lib/cjs/Video/ControlBar/Controls/VideoProgressBar/VideoProgressBar.js +211 -0
  114. package/lib/cjs/Video/ControlBar/Controls/VolumeSlider/VolumeSlider.js +197 -0
  115. package/lib/cjs/Video/MiddleControlButton/MiddleControlButton.js +78 -0
  116. package/lib/cjs/Video/Video.js +964 -0
  117. package/lib/cjs/Video/index.js +9 -0
  118. package/lib/cjs/Video/videoText.js +61 -0
  119. package/lib/cjs/VideoPicker/VideoPicker.js +197 -0
  120. package/lib/cjs/VideoPicker/VideoPickerPlayer.js +54 -0
  121. package/lib/cjs/VideoPicker/VideoPickerThumbnail.js +223 -0
  122. package/lib/cjs/VideoPicker/VideoSlider.js +88 -0
  123. package/lib/cjs/VideoPicker/index.js +9 -0
  124. package/lib/cjs/VideoPicker/videoPropType.js +17 -0
  125. package/lib/cjs/WaffleGrid/WaffleGrid.js +164 -0
  126. package/lib/cjs/WaffleGrid/index.js +9 -0
  127. package/lib/cjs/WebVideo/WebVideo.js +197 -0
  128. package/lib/cjs/WebVideo/index.js +9 -0
  129. package/lib/cjs/WebVideo/utils/index.js +57 -0
  130. package/lib/cjs/baseExports.js +438 -0
  131. package/lib/cjs/index.js +317 -0
  132. package/lib/cjs/server.js +13 -0
  133. package/lib/cjs/shared/ConditionalWrapper/ConditionalWrapper.js +29 -0
  134. package/lib/cjs/shared/ConditionalWrapper/index.js +9 -0
  135. package/lib/cjs/shared/FullBleedContent/FullBleedContent.js +108 -0
  136. package/lib/cjs/shared/FullBleedContent/getFullBleedBorderRadius.js +61 -0
  137. package/lib/cjs/shared/FullBleedContent/index.js +23 -0
  138. package/lib/cjs/shared/FullBleedContent/useFullBleedContentProps.js +61 -0
  139. package/lib/cjs/shared/VideoSplash/SplashButton/SplashButton.js +91 -0
  140. package/lib/cjs/shared/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.js +229 -0
  141. package/lib/cjs/shared/VideoSplash/VideoSplash.js +72 -0
  142. package/lib/cjs/shared/VideoSplash/helpers.js +32 -0
  143. package/lib/cjs/utils/index.js +88 -0
  144. package/lib/cjs/utils/isElementFocusable.js +14 -0
  145. package/lib/cjs/utils/logger.js +24 -0
  146. package/lib/cjs/utils/media.js +45 -0
  147. package/lib/cjs/utils/renderStructuredContent.js +71 -0
  148. package/lib/cjs/utils/scrollToAnchor.js +25 -0
  149. package/lib/cjs/utils/ssr.js +50 -0
  150. package/lib/cjs/utils/theming/get-theme-from-server.js +24 -0
  151. package/lib/cjs/utils/theming/with-client-theme.js +31 -0
  152. package/lib/cjs/utils/theming/with-server-theme.js +33 -0
  153. package/lib/cjs/utils/transforms.js +11 -0
  154. package/lib/cjs/utils/useOverlaidPosition.js +222 -0
  155. package/lib/cjs/utils/useTypographyTheme.js +30 -0
  156. package/lib/{Badge → esm/Badge}/Badge.js +11 -21
  157. package/lib/{BlockQuote → esm/BlockQuote}/BlockQuote.js +17 -31
  158. package/lib/{Breadcrumbs → esm/Breadcrumbs}/Breadcrumbs.js +6 -5
  159. package/lib/{Breadcrumbs → esm/Breadcrumbs}/Item/Item.js +10 -6
  160. package/lib/{Callout → esm/Callout}/Callout.js +6 -5
  161. package/lib/{Card → esm/Card}/Card.js +5 -5
  162. package/lib/{Card → esm/Card}/CardContent.js +6 -5
  163. package/lib/{Card → esm/Card}/CardFooter.js +6 -5
  164. package/lib/{Countdown → esm/Countdown}/Countdown.js +53 -32
  165. package/lib/{Countdown → esm/Countdown}/Segment.js +6 -6
  166. package/lib/{DatePicker → esm/DatePicker}/CalendarContainer.js +5 -5
  167. package/lib/{DatePicker → esm/DatePicker}/DatePicker.js +18 -12
  168. package/lib/esm/DatePicker/reactDatesCss.js +3 -0
  169. package/lib/{Disclaimer → esm/Disclaimer}/Disclaimer.js +6 -5
  170. package/lib/{Footnote → esm/Footnote}/Footnote.js +39 -15
  171. package/lib/{Footnote → esm/Footnote}/FootnoteLink.js +6 -5
  172. package/lib/{NavigationBar → esm/NavigationBar}/NavigationBar.js +6 -5
  173. package/lib/{NavigationBar → esm/NavigationBar}/NavigationItem.js +6 -5
  174. package/lib/{OrderedList → esm/OrderedList}/Item.js +10 -6
  175. package/lib/{OrderedList → esm/OrderedList}/ItemBase.js +5 -5
  176. package/lib/{OrderedList → esm/OrderedList}/OrderedList.js +6 -5
  177. package/lib/{OrderedList → esm/OrderedList}/OrderedListBase.js +5 -5
  178. package/lib/{Paragraph → esm/Paragraph}/Paragraph.js +8 -16
  179. package/lib/{PreviewCard → esm/PreviewCard}/PreviewCard.js +10 -7
  180. package/lib/{PriceLockup → esm/PriceLockup}/PriceLockup.js +103 -71
  181. package/lib/esm/PriceLockup/dictionary.js +12 -0
  182. package/lib/{Progress → esm/Progress}/ProgressBar.js +6 -6
  183. package/lib/esm/QuantitySelector/styles.js +9 -0
  184. package/lib/{Ribbon → esm/Ribbon}/Ribbon.js +31 -57
  185. package/lib/{Span → esm/Span}/Span.js +7 -6
  186. package/lib/{Spinner → esm/Spinner}/Spinner.js +18 -8
  187. package/lib/{Spinner → esm/Spinner}/SpinnerContent.js +6 -5
  188. package/lib/{StoryCard → esm/StoryCard}/StoryCard.js +10 -7
  189. package/lib/{Table → esm/Table}/Cell.js +25 -45
  190. package/lib/esm/Table/Row.js +67 -0
  191. package/lib/{Table → esm/Table}/Table.js +16 -17
  192. package/lib/{TermsAndConditions → esm/TermsAndConditions}/ExpandCollapse.js +13 -7
  193. package/lib/{TermsAndConditions → esm/TermsAndConditions}/TermsAndConditions.js +22 -9
  194. package/lib/{Testimonial → esm/Testimonial}/Testimonial.js +26 -10
  195. package/lib/{Toast → esm/Toast}/Toast.js +13 -64
  196. package/lib/{Video → esm/Video}/ControlBar/ControlBar.js +18 -8
  197. package/lib/{Video → esm/Video}/ControlBar/Controls/VideoButton/VideoButton.js +6 -5
  198. package/lib/{Video → esm/Video}/ControlBar/Controls/VideoMenu/VideoMenu.js +14 -7
  199. package/lib/{Video → esm/Video}/ControlBar/Controls/VideoProgressBar/VideoProgressBar.js +14 -7
  200. package/lib/{Video → esm/Video}/ControlBar/Controls/VolumeSlider/VolumeSlider.js +10 -6
  201. package/lib/{Video → esm/Video}/MiddleControlButton/MiddleControlButton.js +6 -5
  202. package/lib/{Video → esm/Video}/Video.js +26 -10
  203. package/lib/{VideoPicker → esm/VideoPicker}/VideoPicker.js +20 -44
  204. package/lib/{VideoPicker → esm/VideoPicker}/VideoPickerThumbnail.js +18 -52
  205. package/lib/{WaffleGrid → esm/WaffleGrid}/WaffleGrid.js +14 -7
  206. package/lib/{WebVideo → esm/WebVideo}/WebVideo.js +14 -9
  207. package/lib/{index.js → esm/index.js} +1 -1
  208. package/lib/{shared → esm/shared}/FullBleedContent/FullBleedContent.js +5 -5
  209. package/lib/{shared → esm/shared}/VideoSplash/SplashButton/SplashButton.js +9 -6
  210. package/lib/{shared → esm/shared}/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.js +17 -8
  211. package/lib/{shared → esm/shared}/VideoSplash/VideoSplash.js +6 -5
  212. package/lib/{utils → esm/utils}/index.js +1 -2
  213. package/lib/{utils → esm/utils}/ssr.js +1 -4
  214. package/package.json +17 -16
  215. package/src/Badge/Badge.jsx +2 -3
  216. package/src/BlockQuote/BlockQuote.jsx +2 -3
  217. package/src/Breadcrumbs/Breadcrumbs.jsx +2 -3
  218. package/src/Breadcrumbs/Item/Item.jsx +2 -3
  219. package/src/Callout/Callout.jsx +2 -4
  220. package/src/Card/Card.jsx +1 -3
  221. package/src/Card/CardContent.jsx +2 -3
  222. package/src/Card/CardFooter.jsx +2 -3
  223. package/src/Countdown/Countdown.jsx +62 -36
  224. package/src/Countdown/Segment.jsx +1 -3
  225. package/src/DatePicker/CalendarContainer.jsx +1 -3
  226. package/src/DatePicker/DatePicker.jsx +2 -3
  227. package/src/DatePicker/reactDatesCss.js +1 -3
  228. package/src/Disclaimer/Disclaimer.jsx +2 -3
  229. package/src/Footnote/Footnote.jsx +2 -10
  230. package/src/Footnote/FootnoteLink.jsx +2 -3
  231. package/src/NavigationBar/NavigationBar.jsx +2 -3
  232. package/src/NavigationBar/NavigationItem.jsx +2 -3
  233. package/src/OrderedList/Item.jsx +2 -3
  234. package/src/OrderedList/ItemBase.jsx +1 -3
  235. package/src/OrderedList/OrderedList.jsx +2 -3
  236. package/src/OrderedList/OrderedListBase.jsx +1 -3
  237. package/src/Paragraph/Paragraph.jsx +2 -4
  238. package/src/PreviewCard/PreviewCard.jsx +1 -3
  239. package/src/PriceLockup/PriceLockup.jsx +59 -10
  240. package/src/PriceLockup/dictionary.js +12 -0
  241. package/src/Progress/ProgressBar.jsx +1 -3
  242. package/src/QuantitySelector/styles.js +1 -3
  243. package/src/Ribbon/Ribbon.jsx +2 -3
  244. package/src/Span/Span.jsx +2 -4
  245. package/src/Spinner/Spinner.jsx +2 -3
  246. package/src/Spinner/SpinnerContent.jsx +2 -3
  247. package/src/StoryCard/StoryCard.jsx +1 -3
  248. package/src/Table/Cell.jsx +17 -5
  249. package/src/Table/Row.jsx +27 -3
  250. package/src/Table/Table.jsx +14 -5
  251. package/src/TermsAndConditions/ExpandCollapse.jsx +1 -3
  252. package/src/TermsAndConditions/TermsAndConditions.jsx +2 -3
  253. package/src/Testimonial/Testimonial.jsx +2 -3
  254. package/src/Toast/Toast.jsx +2 -3
  255. package/src/Video/ControlBar/ControlBar.jsx +2 -4
  256. package/src/Video/ControlBar/Controls/VideoButton/VideoButton.jsx +2 -4
  257. package/src/Video/ControlBar/Controls/VideoMenu/VideoMenu.jsx +2 -4
  258. package/src/Video/ControlBar/Controls/VideoProgressBar/VideoProgressBar.jsx +2 -4
  259. package/src/Video/ControlBar/Controls/VolumeSlider/VolumeSlider.jsx +2 -4
  260. package/src/Video/MiddleControlButton/MiddleControlButton.jsx +2 -4
  261. package/src/Video/Video.jsx +2 -4
  262. package/src/VideoPicker/VideoPicker.jsx +2 -4
  263. package/src/VideoPicker/VideoPickerThumbnail.jsx +1 -3
  264. package/src/WaffleGrid/WaffleGrid.jsx +2 -3
  265. package/src/WebVideo/WebVideo.jsx +3 -4
  266. package/src/index.js +1 -1
  267. package/src/shared/FullBleedContent/FullBleedContent.jsx +1 -3
  268. package/src/shared/VideoSplash/SplashButton/SplashButton.jsx +1 -3
  269. package/src/shared/VideoSplash/SplashButtonWithDetails/SplashButtonWithDetails.jsx +1 -4
  270. package/src/shared/VideoSplash/VideoSplash.jsx +2 -3
  271. package/src/utils/index.js +1 -3
  272. package/src/utils/ssr.js +1 -2
  273. package/types/Listbox.d.ts +67 -0
  274. package/types/index.d.ts +3 -0
  275. package/lib/DatePicker/reactDatesCss.js +0 -830
  276. package/lib/QuantitySelector/styles.js +0 -18
  277. package/lib/Table/Row.js +0 -19
  278. package/lib/utils/theming/styled-components.js +0 -26
  279. package/src/utils/theming/styled-components.js +0 -23
  280. /package/lib/{Badge → esm/Badge}/index.js +0 -0
  281. /package/lib/{BlockQuote → esm/BlockQuote}/index.js +0 -0
  282. /package/lib/{Breadcrumbs → esm/Breadcrumbs}/index.js +0 -0
  283. /package/lib/{Callout → esm/Callout}/index.js +0 -0
  284. /package/lib/{Card → esm/Card}/index.js +0 -0
  285. /package/lib/{Countdown → esm/Countdown}/constants.js +0 -0
  286. /package/lib/{Countdown → esm/Countdown}/dictionary.js +0 -0
  287. /package/lib/{Countdown → esm/Countdown}/index.js +0 -0
  288. /package/lib/{Countdown → esm/Countdown}/types.js +0 -0
  289. /package/lib/{Countdown → esm/Countdown}/useCountdown.js +0 -0
  290. /package/lib/{DatePicker → esm/DatePicker}/dictionary.js +0 -0
  291. /package/lib/{DatePicker → esm/DatePicker}/index.js +0 -0
  292. /package/lib/{Disclaimer → esm/Disclaimer}/index.js +0 -0
  293. /package/lib/{Footnote → esm/Footnote}/dictionary.js +0 -0
  294. /package/lib/{Footnote → esm/Footnote}/index.js +0 -0
  295. /package/lib/{IconButton → esm/IconButton}/IconButton.js +0 -0
  296. /package/lib/{IconButton → esm/IconButton}/index.js +0 -0
  297. /package/lib/{Image → esm/Image}/Image.js +0 -0
  298. /package/lib/{Image → esm/Image}/index.js +0 -0
  299. /package/lib/{Image → esm/Image}/server.js +0 -0
  300. /package/lib/{List → esm/List}/List.js +0 -0
  301. /package/lib/{List → esm/List}/ListItem.js +0 -0
  302. /package/lib/{List → esm/List}/index.js +0 -0
  303. /package/lib/{NavigationBar → esm/NavigationBar}/NavigationSubMenu.js +0 -0
  304. /package/lib/{NavigationBar → esm/NavigationBar}/collapseItems.js +0 -0
  305. /package/lib/{NavigationBar → esm/NavigationBar}/index.js +0 -0
  306. /package/lib/{NavigationBar → esm/NavigationBar}/resolveItemSelection.js +0 -0
  307. /package/lib/{OptimizeImage → esm/OptimizeImage}/OptimizeImage.js +0 -0
  308. /package/lib/{OptimizeImage → esm/OptimizeImage}/index.js +0 -0
  309. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/getFallbackUrl.js +0 -0
  310. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/getImageUrls.js +0 -0
  311. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/getOptimizedUrl.js +0 -0
  312. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/hasWebpSupport.js +0 -0
  313. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/index.js +0 -0
  314. /package/lib/{OptimizeImage → esm/OptimizeImage}/utils/isSvgUrl.js +0 -0
  315. /package/lib/{OrderedList → esm/OrderedList}/constants.js +0 -0
  316. /package/lib/{OrderedList → esm/OrderedList}/index.js +0 -0
  317. /package/lib/{Paragraph → esm/Paragraph}/index.js +0 -0
  318. /package/lib/{PreviewCard → esm/PreviewCard}/AuthorDate.js +0 -0
  319. /package/lib/{PreviewCard → esm/PreviewCard}/index.js +0 -0
  320. /package/lib/{PriceLockup → esm/PriceLockup}/index.js +0 -0
  321. /package/lib/{PriceLockup → esm/PriceLockup}/tokens.js +0 -0
  322. /package/lib/{Progress → esm/Progress}/index.js +0 -0
  323. /package/lib/{QuantitySelector → esm/QuantitySelector}/QuantitySelector.js +0 -0
  324. /package/lib/{QuantitySelector → esm/QuantitySelector}/SideButton.js +0 -0
  325. /package/lib/{QuantitySelector → esm/QuantitySelector}/dictionary.js +0 -0
  326. /package/lib/{QuantitySelector → esm/QuantitySelector}/index.js +0 -0
  327. /package/lib/{ResponsiveImage → esm/ResponsiveImage}/ResponsiveImage.js +0 -0
  328. /package/lib/{ResponsiveImage → esm/ResponsiveImage}/index.js +0 -0
  329. /package/lib/{Ribbon → esm/Ribbon}/index.js +0 -0
  330. /package/lib/{SkeletonProvider → esm/SkeletonProvider}/SkeletonImage.js +0 -0
  331. /package/lib/{SkeletonProvider → esm/SkeletonProvider}/SkeletonProvider.js +0 -0
  332. /package/lib/{SkeletonProvider → esm/SkeletonProvider}/SkeletonTypography.js +0 -0
  333. /package/lib/{SkeletonProvider → esm/SkeletonProvider}/index.js +0 -0
  334. /package/lib/{Span → esm/Span}/index.js +0 -0
  335. /package/lib/{Spinner → esm/Spinner}/constants.js +0 -0
  336. /package/lib/{Spinner → esm/Spinner}/index.js +0 -0
  337. /package/lib/{StoryCard → esm/StoryCard}/index.js +0 -0
  338. /package/lib/{Table → esm/Table}/Body.js +0 -0
  339. /package/lib/{Table → esm/Table}/Header.js +0 -0
  340. /package/lib/{Table → esm/Table}/SubHeading.js +0 -0
  341. /package/lib/{Table → esm/Table}/index.js +0 -0
  342. /package/lib/{TermsAndConditions → esm/TermsAndConditions}/dictionary.js +0 -0
  343. /package/lib/{TermsAndConditions → esm/TermsAndConditions}/index.js +0 -0
  344. /package/lib/{Testimonial → esm/Testimonial}/index.js +0 -0
  345. /package/lib/{Toast → esm/Toast}/index.js +0 -0
  346. /package/lib/{Video → esm/Video}/index.js +0 -0
  347. /package/lib/{Video → esm/Video}/videoText.js +0 -0
  348. /package/lib/{VideoPicker → esm/VideoPicker}/VideoPickerPlayer.js +0 -0
  349. /package/lib/{VideoPicker → esm/VideoPicker}/VideoSlider.js +0 -0
  350. /package/lib/{VideoPicker → esm/VideoPicker}/index.js +0 -0
  351. /package/lib/{VideoPicker → esm/VideoPicker}/videoPropType.js +0 -0
  352. /package/lib/{WaffleGrid → esm/WaffleGrid}/index.js +0 -0
  353. /package/lib/{WebVideo → esm/WebVideo}/index.js +0 -0
  354. /package/lib/{WebVideo → esm/WebVideo}/utils/index.js +0 -0
  355. /package/lib/{baseExports.js → esm/baseExports.js} +0 -0
  356. /package/lib/{server.js → esm/server.js} +0 -0
  357. /package/lib/{shared → esm/shared}/ConditionalWrapper/ConditionalWrapper.js +0 -0
  358. /package/lib/{shared → esm/shared}/ConditionalWrapper/index.js +0 -0
  359. /package/lib/{shared → esm/shared}/FullBleedContent/getFullBleedBorderRadius.js +0 -0
  360. /package/lib/{shared → esm/shared}/FullBleedContent/index.js +0 -0
  361. /package/lib/{shared → esm/shared}/FullBleedContent/useFullBleedContentProps.js +0 -0
  362. /package/lib/{shared → esm/shared}/VideoSplash/helpers.js +0 -0
  363. /package/lib/{utils → esm/utils}/isElementFocusable.js +0 -0
  364. /package/lib/{utils → esm/utils}/logger.js +0 -0
  365. /package/lib/{utils → esm/utils}/media.js +0 -0
  366. /package/lib/{utils → esm/utils}/renderStructuredContent.js +0 -0
  367. /package/lib/{utils → esm/utils}/scrollToAnchor.js +0 -0
  368. /package/lib/{utils → esm/utils}/theming/get-theme-from-server.js +0 -0
  369. /package/lib/{utils → esm/utils}/theming/with-client-theme.js +0 -0
  370. /package/lib/{utils → esm/utils}/theming/with-server-theme.js +0 -0
  371. /package/lib/{utils → esm/utils}/transforms.js +0 -0
  372. /package/lib/{utils → esm/utils}/useOverlaidPosition.js +0 -0
  373. /package/lib/{utils → esm/utils}/useTypographyTheme.js +0 -0
@@ -1,19 +1,19 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Box, Divider, PressableCardBase, selectSystemProps, Spacer, StackView, StackWrap, Typography, hrefAttrsProp, a11yProps, focusHandlerProps, viewProps, withLinkRouter, useThemeTokens, useThemeTokensCallback, getTokensPropType } from '@telus-uds/components-base';
4
- import { styledComponents } from '../utils';
4
+ import styled from 'styled-components';
5
5
  import FullBleedContent, { getFullBleedBorderRadius, useFullBleedContentProps } from '../shared/FullBleedContent';
6
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
- const {
8
- styled
9
- } = styledComponents;
10
6
 
11
7
  // Passes React Native-oriented system props through UDS PressableCardBase
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
9
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([a11yProps, focusHandlerProps, viewProps]);
13
10
 
14
11
  // Stop changes to the card's inner border width causing the size and
15
12
  // apparent position of the full bleed image to change.
16
- const FullBleedOffsetOuter = styled.div(_ref => {
13
+ const FullBleedOffsetOuter = /*#__PURE__*/styled.div.withConfig({
14
+ displayName: "StoryCard__FullBleedOffsetOuter",
15
+ componentId: "components-web__sc-yhvivu-0"
16
+ })(_ref => {
17
17
  let {
18
18
  borderOffset
19
19
  } = _ref;
@@ -22,7 +22,10 @@ const FullBleedOffsetOuter = styled.div(_ref => {
22
22
  marginTop: borderOffset * 2
23
23
  };
24
24
  });
25
- const FullBleedOffsetInner = styled.div(_ref2 => {
25
+ const FullBleedOffsetInner = /*#__PURE__*/styled.div.withConfig({
26
+ displayName: "StoryCard__FullBleedOffsetInner",
27
+ componentId: "components-web__sc-yhvivu-1"
28
+ })(_ref2 => {
26
29
  let {
27
30
  borderOffset
28
31
  } = _ref2;
@@ -1,13 +1,9 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Typography, useThemeTokens, applyShadowToken } from '@telus-uds/components-base';
4
- import { styledComponents } from '../utils';
4
+ import styled, { css } from 'styled-components';
5
5
  import { useTableContext } from './Table';
6
6
  import { jsx as _jsx } from "react/jsx-runtime";
7
- const {
8
- styled,
9
- css
10
- } = styledComponents;
11
7
  const HEADER_TYPE = {
12
8
  HEADING: 'heading',
13
9
  SUBHEADING: 'subHeading',
@@ -19,28 +15,9 @@ const stickyStyles = _ref => {
19
15
  stickyBackgroundColor,
20
16
  type
21
17
  } = _ref;
22
- return css`
23
- position: sticky;
24
- left: 0; // needed for sticky to work
25
- z-index: 2;
26
- clip-path: inset(0 -8px 0 0); // use clip path to cut off the shadow rendered below
27
- // Override default cell background with stickyBackgroundColor with an exception to subheading and heading
28
- ${type !== HEADER_TYPE.SUBHEADING && type !== HEADER_TYPE.HEADING ? `background-color: ${stickyBackgroundColor};` : undefined}
29
- &::before {
30
- // use a pseudo element for the sticky shadow, since we already use shadows for inner cells border
31
- content: '';
32
- box-shadow: ${cellStickyShadow};
33
- position: absolute;
34
- top: 0;
35
- left: 0;
36
- right: 0;
37
- bottom: 0;
38
- pointer-events: none;
39
- }
40
- `;
18
+ return css(["position:sticky;left:0;z-index:2;clip-path:inset(0 -8px 0 0);", " &::before{content:'';box-shadow:", ";position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none;}"], type !== HEADER_TYPE.SUBHEADING && type !== HEADER_TYPE.HEADING ? `background-color: ${stickyBackgroundColor};` : undefined, cellStickyShadow);
41
19
  };
42
- const sharedStyles = css`
43
- ${_ref2 => {
20
+ const sharedStyles = /*#__PURE__*/css(["", ""], _ref2 => {
44
21
  let {
45
22
  isSticky,
46
23
  align,
@@ -48,43 +25,38 @@ const sharedStyles = css`
48
25
  cellPaddingRight,
49
26
  cellPaddingBottom,
50
27
  cellPaddingLeft,
28
+ cellBorderWidth,
29
+ cellBorderColor,
30
+ cellBorderTopWidth,
51
31
  cellMinWidth,
52
32
  cellBackground,
53
33
  cellStickyShadow,
54
34
  stickyBackgroundColor,
55
35
  type
56
36
  } = _ref2;
57
- return css`
58
- text-align: ${align};
59
- min-width: ${cellMinWidth}px;
60
- padding: ${cellPaddingTop}px ${cellPaddingRight}px ${cellPaddingBottom}px ${cellPaddingLeft}px;
61
- background-color: ${cellBackground};
62
- ${isSticky && stickyStyles({
37
+ return css(["text-align:", ";min-width:", "px;padding:", "px ", "px ", "px ", "px;background-color:", ";", ";border-style:", ";border-color:", ";border-width:", ";border-top-width:", ";"], align, cellMinWidth, cellPaddingTop, cellPaddingRight, cellPaddingBottom, cellPaddingLeft, cellBackground, isSticky && stickyStyles({
63
38
  type,
64
39
  cellStickyShadow,
65
40
  stickyBackgroundColor
66
- })};
67
- `;
68
- }}
69
- `;
70
- const createStyledCell = htmlElement => styled[htmlElement]`
71
- ${sharedStyles};
72
- box-shadow: ${_ref3 => {
41
+ }), cellBorderWidth || cellBorderTopWidth ? 'solid' : 'none', cellBorderColor, cellBorderWidth, cellBorderTopWidth || cellBorderWidth);
42
+ });
43
+ const createStyledCell = htmlElement => styled[htmlElement].withConfig({
44
+ displayName: "Cell__createStyledCell",
45
+ componentId: "components-web__sc-ltgfic-0"
46
+ })(["", ";box-shadow:", ";", ""], sharedStyles, _ref3 => {
73
47
  let {
74
48
  cellBoxShadowColor,
75
49
  type
76
50
  } = _ref3;
77
51
  return type === HEADER_TYPE.HEADING ? `inset 0 1px 0 ${cellBoxShadowColor}, inset 0 -1px 0 ${cellBoxShadowColor}` : `inset 0 1px 0 ${cellBoxShadowColor}`;
78
- }};
79
- ${_ref4 => {
52
+ }, _ref4 => {
80
53
  let {
81
54
  display
82
55
  } = _ref4;
83
56
  return display && `*:not(:empty) {
84
57
  display: ${display};
85
58
  }`;
86
- }}
87
- `;
59
+ });
88
60
  const StyledHeaderCell = createStyledCell('th');
89
61
  const StyledDataCell = createStyledCell('td');
90
62
  const Cell = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
@@ -99,7 +71,8 @@ const Cell = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
99
71
  text,
100
72
  isScrollable: isTableScrollable,
101
73
  tokens: tableTokens,
102
- spacing
74
+ spacing,
75
+ variant
103
76
  } = useTableContext();
104
77
  const themeTokens = {
105
78
  ...tableTokens,
@@ -114,6 +87,9 @@ const Cell = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
114
87
  cellPaddingRight,
115
88
  cellPaddingLeft,
116
89
  cellPaddingBottom,
90
+ cellBorderWidth,
91
+ cellBorderColor,
92
+ cellBorderTopWidth,
117
93
  fontName,
118
94
  fontWeight,
119
95
  fontSize,
@@ -124,7 +100,8 @@ const Cell = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
124
100
  } = useThemeTokens('Table', themeTokens, {
125
101
  spacing,
126
102
  type,
127
- text
103
+ text,
104
+ ...variant
128
105
  });
129
106
  const sharedProps = {
130
107
  align,
@@ -136,6 +113,9 @@ const Cell = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
136
113
  cellPaddingRight,
137
114
  cellPaddingLeft,
138
115
  cellPaddingBottom,
116
+ cellBorderWidth,
117
+ cellBorderColor,
118
+ cellBorderTopWidth,
139
119
  stickyBackgroundColor,
140
120
  cellBoxShadowColor,
141
121
  display,
@@ -0,0 +1,67 @@
1
+ import React from 'react';
2
+ import PropTypes from 'prop-types';
3
+ import styled from 'styled-components';
4
+ import { useTableContext } from './Table';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ const StyledTR = /*#__PURE__*/styled.tr.withConfig({
7
+ displayName: "Row__StyledTR",
8
+ componentId: "components-web__sc-6pbb9a-0"
9
+ })(["&:hover{background-color:", " !important;}border-style:", ";border-color:", ";border-width:", ";border-top-width:", ";"], _ref => {
10
+ let {
11
+ tokens
12
+ } = _ref;
13
+ return tokens?.rowHoverBackgroundColor;
14
+ }, _ref2 => {
15
+ let {
16
+ tokens
17
+ } = _ref2;
18
+ return tokens?.rowBorderWidth || tokens?.rowBorderTopWidth ? 'solid' : 'none';
19
+ }, _ref3 => {
20
+ let {
21
+ tokens
22
+ } = _ref3;
23
+ return tokens?.rowBorderColor;
24
+ }, _ref4 => {
25
+ let {
26
+ tokens
27
+ } = _ref4;
28
+ return tokens?.rowBorderWidth || '0px';
29
+ }, _ref5 => {
30
+ let {
31
+ tokens
32
+ } = _ref5;
33
+ return tokens?.rowBorderTopWidth || tokens?.rowBorderWidth;
34
+ });
35
+ const Row = /*#__PURE__*/React.forwardRef((_ref6, ref) => {
36
+ let {
37
+ children,
38
+ tokens: rowTokens
39
+ } = _ref6;
40
+ const {
41
+ themeTokens
42
+ } = useTableContext();
43
+ const mergedTokens = {
44
+ ...themeTokens,
45
+ ...rowTokens
46
+ };
47
+ return /*#__PURE__*/_jsx(StyledTR, {
48
+ ref: ref,
49
+ tokens: mergedTokens,
50
+ children: React.Children.map(children, (child, index) => /*#__PURE__*/React.cloneElement(child, {
51
+ isFirstInRow: index === 0
52
+ }))
53
+ });
54
+ });
55
+ Row.displayName = 'Row';
56
+ Row.propTypes = {
57
+ tokens: PropTypes.shape({
58
+ borderColor: PropTypes.string,
59
+ topBorderWidth: PropTypes.string,
60
+ bottomBorderWidth: PropTypes.string,
61
+ leftBorderWidth: PropTypes.string,
62
+ rightBorderWidth: PropTypes.string,
63
+ rowHoverBackgroundColor: PropTypes.string
64
+ }),
65
+ children: PropTypes.node
66
+ };
67
+ export default Row;
@@ -2,28 +2,24 @@ import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { selectSystemProps, useSafeLayoutEffect, useThemeTokens, getTokensPropType } from '@telus-uds/components-base';
4
4
  import throttle from 'lodash.throttle';
5
- import { htmlAttrs, styledComponents } from '../utils';
5
+ import styled from 'styled-components';
6
+ import { htmlAttrs } from '../utils';
6
7
  import { jsx as _jsx } from "react/jsx-runtime";
7
- const {
8
- styled
9
- } = styledComponents;
10
8
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs]);
11
- const StyledContainer = styled.div`
12
- overflow: auto;
13
- padding-bottom: ${props => props.isScrollable ? `${props.tablePaddingBottom}px` : 0};
14
- `;
15
- const StyledTable = styled.table`
16
- margin: 0;
17
- padding: 0;
18
- width: ${_ref => {
9
+ const StyledContainer = /*#__PURE__*/styled.div.withConfig({
10
+ displayName: "Table__StyledContainer",
11
+ componentId: "components-web__sc-10d9q3m-0"
12
+ })(["overflow:auto;padding-bottom:", ";"], props => props.isScrollable ? `${props.tablePaddingBottom}px` : 0);
13
+ const StyledTable = /*#__PURE__*/styled.table.withConfig({
14
+ displayName: "Table__StyledTable",
15
+ componentId: "components-web__sc-10d9q3m-1"
16
+ })(["margin:0;padding:0;width:", ";border:", ";"], _ref => {
19
17
  let {
20
18
  fullWidth,
21
19
  tableWidth
22
20
  } = _ref;
23
21
  return fullWidth ? '100%' : `${tableWidth}px`;
24
- }};
25
- border: ${props => `${props.borderWidth}px solid ${props.borderColor}`};
26
- `;
22
+ }, props => `${props.borderWidth}px solid ${props.borderColor}`);
27
23
  const TableContext = /*#__PURE__*/React.createContext({});
28
24
  export const useTableContext = () => React.useContext(TableContext);
29
25
 
@@ -51,11 +47,12 @@ const Table = _ref2 => {
51
47
  variant,
52
48
  ...rest
53
49
  } = _ref2;
50
+ const themeTokens = useThemeTokens('Table', tokens, variant);
54
51
  const {
55
52
  tablePaddingBottom,
56
53
  borderColor,
57
54
  borderWidth
58
- } = useThemeTokens('Table', tokens, variant);
55
+ } = themeTokens;
59
56
  const containerRef = React.useRef();
60
57
  const tableRef = React.useRef();
61
58
  const [containerWidth, setContainerWidth] = React.useState(0);
@@ -90,7 +87,9 @@ const Table = _ref2 => {
90
87
  text,
91
88
  isScrollable,
92
89
  tokens,
93
- spacing
90
+ spacing,
91
+ variant,
92
+ themeTokens
94
93
  },
95
94
  children: /*#__PURE__*/_jsx(StyledTable, {
96
95
  borderColor: borderColor,
@@ -1,19 +1,22 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { ExpandCollapse as ExpandCollapseBase, IconButton, useThemeTokensCallback } from '@telus-uds/components-base';
4
- import { styledComponents } from '../utils';
4
+ import styled from 'styled-components';
5
5
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
- const {
7
- styled
8
- } = styledComponents;
9
- const ExpandCollapseControl = styled.div({
6
+ const ExpandCollapseControl = /*#__PURE__*/styled.div.withConfig({
7
+ displayName: "ExpandCollapse__ExpandCollapseControl",
8
+ componentId: "components-web__sc-1l2mmq7-0"
9
+ })({
10
10
  alignItems: 'center',
11
11
  cursor: 'pointer',
12
12
  display: 'flex',
13
13
  flex: 1,
14
14
  justifyContent: 'flex-start'
15
15
  });
16
- const ExpandCollapseIconContainer = styled.div(_ref => {
16
+ const ExpandCollapseIconContainer = /*#__PURE__*/styled.div.withConfig({
17
+ displayName: "ExpandCollapse__ExpandCollapseIconContainer",
18
+ componentId: "components-web__sc-1l2mmq7-1"
19
+ })(_ref => {
17
20
  let {
18
21
  tokens
19
22
  } = _ref;
@@ -25,7 +28,10 @@ const ExpandCollapseIconContainer = styled.div(_ref => {
25
28
  width: tokens.expandIconContainerWidth
26
29
  };
27
30
  });
28
- const ExpandCollapseTitle = styled.h4(_ref2 => {
31
+ const ExpandCollapseTitle = /*#__PURE__*/styled.h4.withConfig({
32
+ displayName: "ExpandCollapse__ExpandCollapseTitle",
33
+ componentId: "components-web__sc-1l2mmq7-2"
34
+ })(_ref2 => {
29
35
  let {
30
36
  tokens
31
37
  } = _ref2;
@@ -1,16 +1,17 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Box, Divider, selectSystemProps, Typography, useCopy, useThemeTokens, useViewport, getTokensPropType, useTheme, useResponsiveThemeTokens, createMediaQueryStyles, StyleSheet } from '@telus-uds/components-base';
4
+ import styled from 'styled-components';
4
5
  import ExpandCollapse from './ExpandCollapse';
5
6
  import OrderedListBase from '../OrderedList/OrderedListBase';
6
- import { htmlAttrs, media, renderStructuredContent, styledComponents } from '../utils';
7
+ import { htmlAttrs, media, renderStructuredContent } from '../utils';
7
8
  import defaultDictionary from './dictionary';
8
9
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
- const {
10
- styled
11
- } = styledComponents;
12
10
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs]);
13
- const ContentContainer = styled.div(_ref => {
11
+ const ContentContainer = /*#__PURE__*/styled.div.withConfig({
12
+ displayName: "TermsAndConditions__ContentContainer",
13
+ componentId: "components-web__sc-1199epn-0"
14
+ })(_ref => {
14
15
  let {
15
16
  tokens
16
17
  } = _ref;
@@ -23,7 +24,10 @@ const ContentContainer = styled.div(_ref => {
23
24
  })
24
25
  };
25
26
  });
26
- const Ordered = styled(OrderedListBase)(_ref2 => {
27
+ const Ordered = /*#__PURE__*/styled(OrderedListBase).withConfig({
28
+ displayName: "TermsAndConditions__Ordered",
29
+ componentId: "components-web__sc-1199epn-1"
30
+ })(_ref2 => {
27
31
  let {
28
32
  tokens
29
33
  } = _ref2;
@@ -32,7 +36,10 @@ const Ordered = styled(OrderedListBase)(_ref2 => {
32
36
  padding: tokens.orderedPadding
33
37
  };
34
38
  });
35
- const Unordered = styled.ul(_ref3 => {
39
+ const Unordered = /*#__PURE__*/styled.ul.withConfig({
40
+ displayName: "TermsAndConditions__Unordered",
41
+ componentId: "components-web__sc-1199epn-2"
42
+ })(_ref3 => {
36
43
  let {
37
44
  tokens
38
45
  } = _ref3;
@@ -43,7 +50,10 @@ const Unordered = styled.ul(_ref3 => {
43
50
  paddingTop: tokens.unorderedPadding
44
51
  };
45
52
  });
46
- const ListItem = styled(OrderedListBase.Item)(_ref4 => {
53
+ const ListItem = /*#__PURE__*/styled(OrderedListBase.Item).withConfig({
54
+ displayName: "TermsAndConditions__ListItem",
55
+ componentId: "components-web__sc-1199epn-3"
56
+ })(_ref4 => {
47
57
  let {
48
58
  tokens
49
59
  } = _ref4;
@@ -64,7 +74,10 @@ const ListItem = styled(OrderedListBase.Item)(_ref4 => {
64
74
  wordBreak: 'break-word'
65
75
  };
66
76
  });
67
- const NonIndexedContentTitle = styled.div(_ref5 => {
77
+ const NonIndexedContentTitle = /*#__PURE__*/styled.div.withConfig({
78
+ displayName: "TermsAndConditions__NonIndexedContentTitle",
79
+ componentId: "components-web__sc-1199epn-4"
80
+ })(_ref5 => {
68
81
  let {
69
82
  tokens
70
83
  } = _ref5;
@@ -1,14 +1,15 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { Icon, selectSystemProps, Typography, useThemeTokens, useViewport, getTokensPropType } from '@telus-uds/components-base';
4
+ import styled from 'styled-components';
4
5
  import Image from '../Image';
5
- import { htmlAttrs, styledComponents } from '../utils';
6
+ import { htmlAttrs } from '../utils';
6
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
7
- const {
8
- styled
9
- } = styledComponents;
10
8
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs]);
11
- const TestimonialContainer = styled.figure(_ref => {
9
+ const TestimonialContainer = /*#__PURE__*/styled.figure.withConfig({
10
+ displayName: "Testimonial__TestimonialContainer",
11
+ componentId: "components-web__sc-1az53gr-0"
12
+ })(_ref => {
12
13
  let {
13
14
  testimonialContainerGap
14
15
  } = _ref;
@@ -19,7 +20,10 @@ const TestimonialContainer = styled.figure(_ref => {
19
20
  margin: 0
20
21
  };
21
22
  });
22
- const QuoteContainer = styled.div(_ref2 => {
23
+ const QuoteContainer = /*#__PURE__*/styled.div.withConfig({
24
+ displayName: "Testimonial__QuoteContainer",
25
+ componentId: "components-web__sc-1az53gr-1"
26
+ })(_ref2 => {
23
27
  let {
24
28
  quoteContainerGap
25
29
  } = _ref2;
@@ -29,7 +33,10 @@ const QuoteContainer = styled.div(_ref2 => {
29
33
  gap: quoteContainerGap
30
34
  };
31
35
  });
32
- const Divider = styled.div(_ref3 => {
36
+ const Divider = /*#__PURE__*/styled.div.withConfig({
37
+ displayName: "Testimonial__Divider",
38
+ componentId: "components-web__sc-1az53gr-2"
39
+ })(_ref3 => {
33
40
  let {
34
41
  dividerBorder,
35
42
  dividerBackgroundColor
@@ -40,14 +47,23 @@ const Divider = styled.div(_ref3 => {
40
47
  width: '100%'
41
48
  };
42
49
  });
43
- const BlockQuote = styled.blockquote({
50
+ const BlockQuote = /*#__PURE__*/styled.blockquote.withConfig({
51
+ displayName: "Testimonial__BlockQuote",
52
+ componentId: "components-web__sc-1az53gr-3"
53
+ })({
44
54
  margin: 0
45
55
  });
46
- const AuthorInfoContainer = styled.div({
56
+ const AuthorInfoContainer = /*#__PURE__*/styled.div.withConfig({
57
+ displayName: "Testimonial__AuthorInfoContainer",
58
+ componentId: "components-web__sc-1az53gr-4"
59
+ })({
47
60
  display: 'flex',
48
61
  flexDirection: 'column'
49
62
  });
50
- const Figcaption = styled.figcaption(_ref4 => {
63
+ const Figcaption = /*#__PURE__*/styled.figcaption.withConfig({
64
+ displayName: "Testimonial__Figcaption",
65
+ componentId: "components-web__sc-1az53gr-5"
66
+ })(_ref4 => {
51
67
  let {
52
68
  figcaptionGap
53
69
  } = _ref4;
@@ -1,91 +1,40 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { ChevronLink, selectSystemProps, useThemeTokens, Typography, withLinkRouter, Spacer, useViewport, getTokensPropType } from '@telus-uds/components-base';
4
- import { htmlAttrs, styledComponents } from '../utils';
4
+ import styled, { css, keyframes } from 'styled-components';
5
+ import { htmlAttrs } from '../utils';
5
6
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
- const {
7
- styled,
8
- css,
9
- keyframes
10
- } = styledComponents;
11
7
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs]);
12
- const transform = property => (from, to) => keyframes`
13
- from {
14
- ${property}: ${from};
15
- }
16
- to {
17
- ${property}: ${to};
18
- }
19
- `;
8
+ const transform = property => (from, to) => keyframes(["from{", ":", ";}to{", ":", ";}"], property, from, property, to);
20
9
  const slideDown = property => function (from, to) {
21
10
  let end = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : to;
22
- return keyframes`
23
- 0% {
24
- ${property}: ${from};
25
- }
26
- 99% {
27
- ${property}: ${to};
28
- }
29
- 100% {
30
- ${property}: ${end};
31
- }
32
- `;
11
+ return keyframes(["0%{", ":", ";}99%{", ":", ";}100%{", ":", ";}"], property, from, property, to, property, end);
33
12
  };
34
- const animation = props => css`
35
- ${slideDown('height')(`${props.animationHeightBefore}px`, `${props.animationHeightAfter}px`, 'auto')} 1s ease-in-out 2s forwards,
36
- ${transform('padding-bottom')(`${props.animationPaddingBottomBefore}px`, `${props.animationPaddingBottomAfter}px`)} 1s ease-in-out 2s forwards,
37
- ${transform('padding-top')(`${props.animationPaddingTopBefore}px`, `${props.animationPaddingTopAfter}px`)} 1s ease-in-out 2s forwards,
38
- ${transform('background')(props.animationBackgroundColorBefore, props.animationBackgroundColorAfter)} 1s ease-in-out 3.2s forwards;
39
- & * {
40
- animation: ${transform('color')(props.animationColorBefore, props.animationColorAfter)} 1s
41
- ease-in-out 3s forwards;
42
- }
43
- & > a div {
44
- animation: ${transform('color')(props.animationDivColorBefore, props.animationDivColorAfter)} 1s
45
- ease-in-out 3s forwards;
46
- }
47
- & > a svg {
48
- animation: ${transform('fill')(props.animationFillColorBefore, props.animationFillColorAfter)}
49
- 1s ease-in-out 3s forwards;
50
- }
51
- & > a div {
52
- animation: ${transform('color')(props.animationFillColorBefore, props.animationFillColorAfter)}
53
- 1s ease-in-out 3s forwards;
54
- }
55
- `;
56
- const ToastContainer = styled.div`
57
- display: flex;
58
- justify-content: center;
59
- align-items: center;
60
- flex-wrap: wrap;
61
- padding-left: ${_ref => {
13
+ const animation = props => css(["", " 1s ease-in-out 2s forwards,", " 1s ease-in-out 2s forwards,", " 1s ease-in-out 2s forwards,", " 1s ease-in-out 3.2s forwards;& *{animation:", " 1s ease-in-out 3s forwards;}& > a div{animation:", " 1s ease-in-out 3s forwards;}& > a svg{animation:", " 1s ease-in-out 3s forwards;}& > a div{animation:", " 1s ease-in-out 3s forwards;}"], slideDown('height')(`${props.animationHeightBefore}px`, `${props.animationHeightAfter}px`, 'auto'), transform('padding-bottom')(`${props.animationPaddingBottomBefore}px`, `${props.animationPaddingBottomAfter}px`), transform('padding-top')(`${props.animationPaddingTopBefore}px`, `${props.animationPaddingTopAfter}px`), transform('background')(props.animationBackgroundColorBefore, props.animationBackgroundColorAfter), transform('color')(props.animationColorBefore, props.animationColorAfter), transform('color')(props.animationDivColorBefore, props.animationDivColorAfter), transform('fill')(props.animationFillColorBefore, props.animationFillColorAfter), transform('color')(props.animationFillColorBefore, props.animationFillColorAfter));
14
+ const ToastContainer = /*#__PURE__*/styled.div.withConfig({
15
+ displayName: "Toast__ToastContainer",
16
+ componentId: "components-web__sc-p78jdh-0"
17
+ })(["display:flex;justify-content:center;align-items:center;flex-wrap:wrap;padding-left:", "px;padding-right:", "px;background:", ";gap:", ";height:0;overflow:hidden;animation:", ";"], _ref => {
62
18
  let {
63
19
  padding
64
20
  } = _ref;
65
21
  return padding;
66
- }}px;
67
- padding-right: ${_ref2 => {
22
+ }, _ref2 => {
68
23
  let {
69
24
  padding
70
25
  } = _ref2;
71
26
  return padding;
72
- }}px;
73
- background: ${_ref3 => {
27
+ }, _ref3 => {
74
28
  let {
75
29
  containerBackgroundColor
76
30
  } = _ref3;
77
31
  return containerBackgroundColor;
78
- }};
79
- gap: ${_ref4 => {
32
+ }, _ref4 => {
80
33
  let {
81
34
  containerGap
82
35
  } = _ref4;
83
36
  return containerGap;
84
- }};
85
- height: 0;
86
- overflow: hidden;
87
- animation: ${animation};
88
- `;
37
+ }, animation);
89
38
  const Toast = /*#__PURE__*/React.forwardRef((_ref5, ref) => {
90
39
  let {
91
40
  toast,
@@ -1,21 +1,22 @@
1
1
  import React from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import { StackView, useThemeTokens, selectSystemProps, Icon, useViewport } from '@telus-uds/components-base';
4
+ import styled from 'styled-components';
4
5
  import VideoProgressBar from './Controls/VideoProgressBar/VideoProgressBar';
5
6
  import VolumeSlider from './Controls/VolumeSlider/VolumeSlider';
6
7
  import VideoButton from './Controls/VideoButton/VideoButton';
7
8
  import VideoMenu from './Controls/VideoMenu/VideoMenu';
8
9
  import videoText from '../videoText';
9
- import { htmlAttrs, styledComponents } from '../../utils';
10
+ import { htmlAttrs } from '../../utils';
10
11
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
- const {
12
- styled
13
- } = styledComponents;
14
12
  const [selectProps, selectedSystemPropTypes] = selectSystemProps([htmlAttrs]);
15
13
  const getIcon = icon => /*#__PURE__*/_jsx(Icon, {
16
14
  icon: icon
17
15
  });
18
- const ControlBarContainer = styled.div(_ref => {
16
+ const ControlBarContainer = /*#__PURE__*/styled.div.withConfig({
17
+ displayName: "ControlBar__ControlBarContainer",
18
+ componentId: "components-web__sc-13y61ky-0"
19
+ })(_ref => {
19
20
  let {
20
21
  isHidden,
21
22
  isMobile
@@ -28,7 +29,10 @@ const ControlBarContainer = styled.div(_ref => {
28
29
  display: isMobile ? 'none' : undefined
29
30
  };
30
31
  });
31
- const StyledControlBar = styled.div(_ref2 => {
32
+ const StyledControlBar = /*#__PURE__*/styled.div.withConfig({
33
+ displayName: "ControlBar__StyledControlBar",
34
+ componentId: "components-web__sc-13y61ky-1"
35
+ })(_ref2 => {
32
36
  let {
33
37
  padding,
34
38
  height
@@ -48,11 +52,17 @@ const StyledControlBar = styled.div(_ref2 => {
48
52
  zIndex: 9
49
53
  };
50
54
  });
51
- const VideoProgressBarContainer = styled.div({
55
+ const VideoProgressBarContainer = /*#__PURE__*/styled.div.withConfig({
56
+ displayName: "ControlBar__VideoProgressBarContainer",
57
+ componentId: "components-web__sc-13y61ky-2"
58
+ })({
52
59
  display: 'flex',
53
60
  flexGrow: 1
54
61
  });
55
- const MenuContainer = styled.div(_ref3 => {
62
+ const MenuContainer = /*#__PURE__*/styled.div.withConfig({
63
+ displayName: "ControlBar__MenuContainer",
64
+ componentId: "components-web__sc-13y61ky-3"
65
+ })(_ref3 => {
56
66
  let {
57
67
  isOpen,
58
68
  menuBottom,