@codecademy/brand 3.40.1-alpha.a095761d09.0 → 4.0.0-alpha.0ae245495b.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 (1074) hide show
  1. package/dist/AbbreviatedCommunityEventCard/index.cjs +89 -0
  2. package/dist/AbbreviatedCommunityEventCard/index.d.cts +11 -0
  3. package/dist/AbbreviatedCommunityEventCard/index.d.ts +10 -7
  4. package/dist/AbbreviatedCommunityEventCard/index.js +86 -98
  5. package/dist/AppBar/AppBarSection.cjs +40 -0
  6. package/dist/AppBar/AppBarSection.d.cts +15 -0
  7. package/dist/AppBar/AppBarSection.d.ts +15 -10
  8. package/dist/AppBar/AppBarSection.js +35 -39
  9. package/dist/AppBar/index.cjs +22 -0
  10. package/dist/AppBar/index.d.cts +13 -0
  11. package/dist/AppBar/index.d.ts +12 -8
  12. package/dist/AppBar/index.js +20 -20
  13. package/dist/AppBarDeprecated/AppBarSectionDeprecated.cjs +26 -0
  14. package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.cts +18 -0
  15. package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts +13 -9
  16. package/dist/AppBarDeprecated/AppBarSectionDeprecated.js +21 -23
  17. package/dist/AppBarDeprecated/index.cjs +27 -0
  18. package/dist/AppBarDeprecated/index.d.cts +18 -0
  19. package/dist/AppBarDeprecated/index.d.ts +13 -9
  20. package/dist/AppBarDeprecated/index.js +22 -24
  21. package/dist/AppBarDeprecated/styles/index.module.cjs +5 -0
  22. package/dist/AppBarDeprecated/styles/index.module.js +5 -0
  23. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/MarketingBanner.cjs +134 -0
  24. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/MarketingBanner.js +132 -109
  25. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.cjs +300 -0
  26. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.js +288 -336
  27. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.cjs +274 -0
  28. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.js +270 -226
  29. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.cjs +110 -0
  30. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.cts +8 -0
  31. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +9 -5
  32. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.js +107 -123
  33. package/dist/AppHeader/AppHeaderElements/AppHeaderDietCard/index.cjs +114 -0
  34. package/dist/AppHeader/AppHeaderElements/AppHeaderDietCard/index.js +112 -124
  35. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.cjs +97 -0
  36. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.cts +16 -0
  37. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.ts +16 -11
  38. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.js +94 -113
  39. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.cjs +36 -0
  40. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.js +29 -27
  41. package/dist/AppHeader/AppHeaderElements/AppHeaderFeatureCard/index.cjs +61 -0
  42. package/dist/AppHeader/AppHeaderElements/AppHeaderFeatureCard/index.js +59 -56
  43. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.cjs +59 -0
  44. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.cts +56 -0
  45. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +53 -44
  46. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.js +56 -70
  47. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/elements.cjs +34 -0
  48. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/elements.js +32 -36
  49. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.cjs +44 -0
  50. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +41 -59
  51. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.cjs +26 -0
  52. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.js +23 -32
  53. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.cjs +53 -0
  54. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.cts +10 -0
  55. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts +10 -5
  56. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.js +49 -55
  57. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.cjs +85 -0
  58. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.js +80 -86
  59. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.cjs +80 -0
  60. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.js +76 -101
  61. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.cjs +25 -0
  62. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.js +20 -17
  63. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.cjs +118 -0
  64. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.js +110 -131
  65. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/consts.cjs +341 -0
  66. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/consts.js +335 -291
  67. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.cjs +105 -0
  68. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.cts +8 -0
  69. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +9 -5
  70. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.js +102 -118
  71. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/AppHeaderSectionContext.cjs +18 -0
  72. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/AppHeaderSectionContext.js +15 -10
  73. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileBackButton.cjs +85 -0
  74. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileBackButton.js +83 -89
  75. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileNavMenu.cjs +51 -0
  76. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileNavMenu.js +49 -61
  77. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/NavTabs.cjs +105 -0
  78. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/NavTabs.js +98 -125
  79. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/PanelLayout.cjs +84 -0
  80. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/PanelLayout.js +83 -81
  81. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/elements.cjs +179 -0
  82. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/elements.js +168 -118
  83. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/index.cjs +119 -0
  84. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/index.js +117 -145
  85. package/dist/AppHeader/AppHeaderElements/AppHeaderSkillTile/index.cjs +55 -0
  86. package/dist/AppHeader/AppHeaderElements/AppHeaderSkillTile/index.js +53 -65
  87. package/dist/AppHeader/Search/DefaultResults.cjs +105 -0
  88. package/dist/AppHeader/Search/DefaultResults.js +101 -111
  89. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.cjs +70 -0
  90. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.js +68 -79
  91. package/dist/AppHeader/Search/SearchButton.cjs +50 -0
  92. package/dist/AppHeader/Search/SearchButton.js +46 -71
  93. package/dist/AppHeader/Search/SearchPane.cjs +482 -0
  94. package/dist/AppHeader/Search/SearchPane.js +472 -595
  95. package/dist/AppHeader/Search/SearchTrackingProvider/index.cjs +32 -0
  96. package/dist/AppHeader/Search/SearchTrackingProvider/index.js +26 -23
  97. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.cjs +43 -0
  98. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.js +43 -35
  99. package/dist/AppHeader/Search/SearchWorker/index.cjs +24 -0
  100. package/dist/AppHeader/Search/SearchWorker/index.d.cts +10 -0
  101. package/dist/AppHeader/Search/SearchWorker/index.d.ts +9 -4
  102. package/dist/AppHeader/Search/SearchWorker/index.js +23 -23
  103. package/dist/AppHeader/Search/SearchWorker/src.cjs +159 -0
  104. package/dist/AppHeader/Search/SearchWorker/src.js +153 -305
  105. package/dist/AppHeader/Search/SearchWorker/types.cjs +10 -0
  106. package/dist/AppHeader/Search/SearchWorker/types.d.cts +30 -0
  107. package/dist/AppHeader/Search/SearchWorker/types.d.ts +23 -30
  108. package/dist/AppHeader/Search/SearchWorker/types.js +9 -5
  109. package/dist/AppHeader/Search/SearchWorker/worker.cjs +26 -0
  110. package/dist/AppHeader/Search/SearchWorker/worker.js +24 -29
  111. package/dist/AppHeader/Search/consts.cjs +68 -0
  112. package/dist/AppHeader/Search/consts.d.cts +26 -0
  113. package/dist/AppHeader/Search/consts.d.ts +23 -20
  114. package/dist/AppHeader/Search/consts.js +62 -39
  115. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.cjs +17 -0
  116. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.js +16 -14
  117. package/dist/AppHeader/Search/safelyRedirect.cjs +39 -0
  118. package/dist/AppHeader/Search/safelyRedirect.js +32 -42
  119. package/dist/AppHeader/Search/types.d.cts +14 -0
  120. package/dist/AppHeader/Search/types.d.ts +11 -19
  121. package/dist/AppHeader/Search/useHeaderSearch.cjs +39 -0
  122. package/dist/AppHeader/Search/useHeaderSearch.js +38 -40
  123. package/dist/AppHeader/index.cjs +97 -0
  124. package/dist/AppHeader/index.d.cts +28 -0
  125. package/dist/AppHeader/index.d.ts +28 -22
  126. package/dist/AppHeader/index.js +90 -98
  127. package/dist/AppHeader/shared/elements.cjs +172 -0
  128. package/dist/AppHeader/shared/elements.d.ts +9 -90
  129. package/dist/AppHeader/shared/elements.js +152 -243
  130. package/dist/AppHeader/shared/index.d.ts +4 -4
  131. package/dist/AppHeader/shared/keyboardNav.cjs +67 -0
  132. package/dist/AppHeader/shared/keyboardNav.d.ts +1 -23
  133. package/dist/AppHeader/shared/keyboardNav.js +63 -65
  134. package/dist/AppHeader/shared/mockAppHeaderItems.d.ts +1 -2
  135. package/dist/AppHeader/shared/types.cjs +6 -0
  136. package/dist/AppHeader/shared/types.d.cts +111 -0
  137. package/dist/AppHeader/shared/types.d.ts +108 -105
  138. package/dist/AppHeader/shared/types.js +5 -1
  139. package/dist/AppHeader/shared/utils.cjs +85 -0
  140. package/dist/AppHeader/shared/utils.js +84 -100
  141. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.cjs +126 -0
  142. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.cts +12 -0
  143. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts +12 -7
  144. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.js +121 -140
  145. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.cjs +29 -0
  146. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.js +26 -30
  147. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.cjs +110 -0
  148. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.cts +12 -0
  149. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts +11 -7
  150. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.js +105 -122
  151. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.cjs +61 -0
  152. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.js +58 -60
  153. package/dist/AppHeaderMobile/index.cjs +194 -0
  154. package/dist/AppHeaderMobile/index.d.cts +24 -0
  155. package/dist/AppHeaderMobile/index.d.ts +26 -19
  156. package/dist/AppHeaderMobile/index.js +191 -214
  157. package/dist/Avatar/index.cjs +52 -0
  158. package/dist/Avatar/index.d.cts +40 -0
  159. package/dist/Avatar/index.d.ts +37 -33
  160. package/dist/Avatar/index.js +49 -45
  161. package/dist/AvatarChooser/index.cjs +99 -0
  162. package/dist/AvatarChooser/index.d.cts +15 -0
  163. package/dist/AvatarChooser/index.d.ts +13 -10
  164. package/dist/AvatarChooser/index.js +93 -102
  165. package/dist/BackToTopAnchor/index.cjs +33 -0
  166. package/dist/BackToTopAnchor/index.d.cts +15 -0
  167. package/dist/BackToTopAnchor/index.d.ts +13 -11
  168. package/dist/BackToTopAnchor/index.js +31 -37
  169. package/dist/Banner/CountdownTimer.cjs +111 -0
  170. package/dist/Banner/CountdownTimer.d.cts +10 -0
  171. package/dist/Banner/CountdownTimer.d.ts +8 -5
  172. package/dist/Banner/CountdownTimer.js +103 -104
  173. package/dist/Banner/EnhancedBanner.cjs +142 -0
  174. package/dist/Banner/EnhancedBanner.d.cts +20 -0
  175. package/dist/Banner/EnhancedBanner.d.ts +19 -16
  176. package/dist/Banner/EnhancedBanner.js +136 -169
  177. package/dist/Banner/index.cjs +83 -0
  178. package/dist/Banner/index.d.cts +24 -0
  179. package/dist/Banner/index.d.ts +21 -18
  180. package/dist/Banner/index.js +73 -95
  181. package/dist/BetaSticker/index.cjs +63 -0
  182. package/dist/BetaSticker/index.d.cts +9 -0
  183. package/dist/BetaSticker/index.d.ts +7 -4
  184. package/dist/BetaSticker/index.js +60 -57
  185. package/dist/CareerPathCard/index.cjs +34 -0
  186. package/dist/CareerPathCard/index.d.cts +26 -0
  187. package/dist/CareerPathCard/index.d.ts +24 -20
  188. package/dist/CareerPathCard/index.js +33 -49
  189. package/dist/Carousel/elements.cjs +12 -0
  190. package/dist/Carousel/elements.js +10 -14
  191. package/dist/Carousel/index.cjs +194 -0
  192. package/dist/Carousel/index.d.cts +27 -0
  193. package/dist/Carousel/index.d.ts +24 -21
  194. package/dist/Carousel/index.js +185 -247
  195. package/dist/CertificationPathCard/index.cjs +41 -0
  196. package/dist/CertificationPathCard/index.d.cts +27 -0
  197. package/dist/CertificationPathCard/index.d.ts +24 -20
  198. package/dist/CertificationPathCard/index.js +40 -52
  199. package/dist/CoachingSessionCard/index.cjs +87 -0
  200. package/dist/CoachingSessionCard/index.d.cts +24 -0
  201. package/dist/CoachingSessionCard/index.d.ts +23 -20
  202. package/dist/CoachingSessionCard/index.js +84 -73
  203. package/dist/CommunityEventCard/EventTypeIcon.cjs +61 -0
  204. package/dist/CommunityEventCard/EventTypeIcon.js +59 -58
  205. package/dist/CommunityEventCard/index.cjs +260 -0
  206. package/dist/CommunityEventCard/index.d.cts +31 -0
  207. package/dist/CommunityEventCard/index.d.ts +30 -27
  208. package/dist/CommunityEventCard/index.js +253 -302
  209. package/dist/CommunityEventToast/index.cjs +35 -0
  210. package/dist/CommunityEventToast/index.d.cts +9 -0
  211. package/dist/CommunityEventToast/index.d.ts +7 -4
  212. package/dist/CommunityEventToast/index.js +33 -32
  213. package/dist/ContentGroupBaseCard/helpers.cjs +15 -0
  214. package/dist/ContentGroupBaseCard/helpers.d.cts +8 -0
  215. package/dist/ContentGroupBaseCard/helpers.d.ts +8 -4
  216. package/dist/ContentGroupBaseCard/helpers.js +12 -11
  217. package/dist/ContentGroupBaseCard/index.cjs +215 -0
  218. package/dist/ContentGroupBaseCard/index.d.cts +40 -0
  219. package/dist/ContentGroupBaseCard/index.d.ts +38 -31
  220. package/dist/ContentGroupBaseCard/index.js +209 -236
  221. package/dist/ContentGroupBaseCard/shared.cjs +80 -0
  222. package/dist/ContentGroupBaseCard/shared.js +73 -67
  223. package/dist/ContentGroupBaseCard/types.cjs +18 -0
  224. package/dist/ContentGroupBaseCard/types.d.cts +13 -0
  225. package/dist/ContentGroupBaseCard/types.d.ts +11 -8
  226. package/dist/ContentGroupBaseCard/types.js +15 -11
  227. package/dist/CourseCard/index.cjs +32 -0
  228. package/dist/CourseCard/index.d.cts +25 -0
  229. package/dist/CourseCard/index.d.ts +24 -19
  230. package/dist/CourseCard/index.js +31 -45
  231. package/dist/CurriculumCard/BottomTag/index.cjs +30 -0
  232. package/dist/CurriculumCard/BottomTag/index.d.cts +4 -0
  233. package/dist/CurriculumCard/BottomTag/index.d.ts +6 -7
  234. package/dist/CurriculumCard/BottomTag/index.js +26 -24
  235. package/dist/CurriculumCard/Difficulty/helpers.cjs +17 -0
  236. package/dist/CurriculumCard/Difficulty/helpers.d.cts +13 -0
  237. package/dist/CurriculumCard/Difficulty/helpers.d.ts +7 -2
  238. package/dist/CurriculumCard/Difficulty/helpers.js +15 -11
  239. package/dist/CurriculumCard/Difficulty/index.cjs +45 -0
  240. package/dist/CurriculumCard/Difficulty/index.d.cts +7 -0
  241. package/dist/CurriculumCard/Difficulty/index.d.ts +7 -3
  242. package/dist/CurriculumCard/Difficulty/index.js +40 -47
  243. package/dist/CurriculumCard/Difficulty/types.cjs +21 -0
  244. package/dist/CurriculumCard/Difficulty/types.d.cts +25 -0
  245. package/dist/CurriculumCard/Difficulty/types.d.ts +16 -13
  246. package/dist/CurriculumCard/Difficulty/types.js +16 -17
  247. package/dist/CurriculumCard/Footer/index.cjs +49 -0
  248. package/dist/CurriculumCard/Footer/index.js +47 -54
  249. package/dist/CurriculumCard/Image/index.cjs +50 -0
  250. package/dist/CurriculumCard/Image/index.js +43 -52
  251. package/dist/CurriculumCard/Subtitle/helpers.cjs +9 -0
  252. package/dist/CurriculumCard/Subtitle/helpers.js +8 -8
  253. package/dist/CurriculumCard/Subtitle/index.cjs +40 -0
  254. package/dist/CurriculumCard/Subtitle/index.d.cts +10 -0
  255. package/dist/CurriculumCard/Subtitle/index.d.ts +10 -7
  256. package/dist/CurriculumCard/Subtitle/index.js +37 -34
  257. package/dist/CurriculumCard/index.cjs +122 -0
  258. package/dist/CurriculumCard/index.d.cts +63 -0
  259. package/dist/CurriculumCard/index.d.ts +56 -52
  260. package/dist/CurriculumCard/index.js +114 -124
  261. package/dist/DropdownButton/DropdownList.cjs +57 -0
  262. package/dist/DropdownButton/DropdownList.d.cts +19 -0
  263. package/dist/DropdownButton/DropdownList.d.ts +16 -14
  264. package/dist/DropdownButton/DropdownList.js +55 -73
  265. package/dist/DropdownButton/index.cjs +140 -0
  266. package/dist/DropdownButton/index.d.cts +80 -0
  267. package/dist/DropdownButton/index.d.ts +75 -69
  268. package/dist/DropdownButton/index.js +137 -169
  269. package/dist/DropdownButton/useDynamicPopoverPosition.cjs +41 -0
  270. package/dist/DropdownButton/useDynamicPopoverPosition.js +34 -49
  271. package/dist/EditorialImage/index.cjs +21 -0
  272. package/dist/EditorialImage/index.d.cts +14 -0
  273. package/dist/EditorialImage/index.d.ts +13 -9
  274. package/dist/EditorialImage/index.js +18 -21
  275. package/dist/EditorialImage/styles.module.cjs +5 -0
  276. package/dist/EditorialImage/styles.module.js +5 -0
  277. package/dist/EmptySection/index.cjs +159 -0
  278. package/dist/EmptySection/index.d.cts +32 -0
  279. package/dist/EmptySection/index.d.ts +32 -27
  280. package/dist/EmptySection/index.js +154 -181
  281. package/dist/ErrorContents/index.cjs +64 -0
  282. package/dist/ErrorContents/index.d.cts +12 -0
  283. package/dist/ErrorContents/index.d.ts +11 -7
  284. package/dist/ErrorContents/index.js +62 -48
  285. package/dist/FeatureList/index.cjs +41 -0
  286. package/dist/FeatureList/index.d.cts +18 -0
  287. package/dist/FeatureList/index.d.ts +16 -9
  288. package/dist/FeatureList/index.js +39 -41
  289. package/dist/GlobalFooter/FooterHeading.cjs +28 -0
  290. package/dist/GlobalFooter/FooterHeading.js +25 -29
  291. package/dist/GlobalFooter/FooterLegal/LegalLinks.cjs +77 -0
  292. package/dist/GlobalFooter/FooterLegal/LegalLinks.js +74 -43
  293. package/dist/GlobalFooter/FooterLegal/MadeIn.cjs +79 -0
  294. package/dist/GlobalFooter/FooterLegal/MadeIn.js +75 -63
  295. package/dist/GlobalFooter/FooterLegal/index.cjs +29 -0
  296. package/dist/GlobalFooter/FooterLegal/index.js +26 -22
  297. package/dist/GlobalFooter/FooterLinks.cjs +51 -0
  298. package/dist/GlobalFooter/FooterLinks.js +45 -52
  299. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.cjs +297 -0
  300. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.js +288 -292
  301. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.cjs +254 -0
  302. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.js +251 -286
  303. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.cjs +246 -0
  304. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.js +242 -271
  305. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.cjs +27 -0
  306. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.js +25 -29
  307. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.cjs +72 -0
  308. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.js +67 -75
  309. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.cjs +70 -0
  310. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.js +69 -86
  311. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.cts +7 -0
  312. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.ts +6 -3
  313. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.cjs +59 -0
  314. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.js +57 -50
  315. package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.cjs +5 -0
  316. package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.js +5 -0
  317. package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.cjs +5 -0
  318. package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.js +5 -0
  319. package/dist/GlobalFooter/FooterNavLinks/index.cjs +44 -0
  320. package/dist/GlobalFooter/FooterNavLinks/index.js +41 -43
  321. package/dist/GlobalFooter/index.cjs +38 -0
  322. package/dist/GlobalFooter/index.d.cts +26 -0
  323. package/dist/GlobalFooter/index.d.ts +25 -21
  324. package/dist/GlobalFooter/index.js +35 -37
  325. package/dist/GlobalFooter/types.d.cts +16 -0
  326. package/dist/GlobalFooter/types.d.ts +14 -11
  327. package/dist/GlobalHeader/GlobalHeaderItems.cjs +443 -0
  328. package/dist/GlobalHeader/GlobalHeaderItems.js +375 -378
  329. package/dist/GlobalHeader/GlobalHeaderVariants.cjs +351 -0
  330. package/dist/GlobalHeader/GlobalHeaderVariants.js +304 -349
  331. package/dist/GlobalHeader/context.cjs +82 -0
  332. package/dist/GlobalHeader/context.js +69 -72
  333. package/dist/GlobalHeader/index.cjs +171 -0
  334. package/dist/GlobalHeader/index.d.cts +10 -0
  335. package/dist/GlobalHeader/index.d.ts +10 -7
  336. package/dist/GlobalHeader/index.js +165 -194
  337. package/dist/GlobalHeader/types.d.cts +124 -0
  338. package/dist/GlobalHeader/types.d.ts +104 -99
  339. package/dist/GlobalHeader/urlHelpers.cjs +22 -0
  340. package/dist/GlobalHeader/urlHelpers.js +19 -20
  341. package/dist/GlobalPage/index.cjs +45 -0
  342. package/dist/GlobalPage/index.d.cts +51 -0
  343. package/dist/GlobalPage/index.d.ts +46 -43
  344. package/dist/GlobalPage/index.js +42 -59
  345. package/dist/Grid/GridCollapse.cjs +161 -0
  346. package/dist/Grid/GridCollapse.d.cts +49 -0
  347. package/dist/Grid/GridCollapse.d.ts +47 -39
  348. package/dist/Grid/GridCollapse.js +152 -194
  349. package/dist/Grid/Subgrid.cjs +41 -0
  350. package/dist/Grid/Subgrid.d.cts +29 -0
  351. package/dist/Grid/Subgrid.d.ts +11 -5
  352. package/dist/Grid/Subgrid.js +37 -35
  353. package/dist/Grid/getCSSFromColumnCount.cjs +10 -0
  354. package/dist/Grid/getCSSFromColumnCount.d.cts +10 -0
  355. package/dist/Grid/getCSSFromColumnCount.d.ts +10 -6
  356. package/dist/Grid/getCSSFromColumnCount.js +9 -7
  357. package/dist/Grid/index.cjs +9 -0
  358. package/dist/Grid/index.d.cts +4 -0
  359. package/dist/Grid/index.d.ts +4 -3
  360. package/dist/Grid/index.js +5 -3
  361. package/dist/HeaderHeightArea/index.cjs +38 -0
  362. package/dist/HeaderHeightArea/index.d.cts +13 -0
  363. package/dist/HeaderHeightArea/index.d.ts +12 -8
  364. package/dist/HeaderHeightArea/index.js +35 -40
  365. package/dist/HeaderHeightArea/useIsInHeaderRegion.cjs +17 -0
  366. package/dist/HeaderHeightArea/useIsInHeaderRegion.js +15 -14
  367. package/dist/HorizontalScrollMenu/index.cjs +68 -0
  368. package/dist/HorizontalScrollMenu/index.d.cts +10 -0
  369. package/dist/HorizontalScrollMenu/index.d.ts +10 -6
  370. package/dist/HorizontalScrollMenu/index.js +65 -75
  371. package/dist/HubCard/index.cjs +40 -0
  372. package/dist/HubCard/index.d.cts +12 -0
  373. package/dist/HubCard/index.d.ts +11 -7
  374. package/dist/HubCard/index.js +38 -38
  375. package/dist/InfoCard/index.cjs +121 -0
  376. package/dist/InfoCard/index.d.cts +23 -0
  377. package/dist/InfoCard/index.d.ts +22 -18
  378. package/dist/InfoCard/index.js +109 -147
  379. package/dist/Konamimojisplosion/Konamimojisplosion.cjs +10 -0
  380. package/dist/Konamimojisplosion/Konamimojisplosion.d.cts +9 -0
  381. package/dist/Konamimojisplosion/Konamimojisplosion.d.ts +8 -4
  382. package/dist/Konamimojisplosion/Konamimojisplosion.js +10 -7
  383. package/dist/Konamimojisplosion/index.cjs +5 -0
  384. package/dist/Konamimojisplosion/index.d.cts +3 -0
  385. package/dist/Konamimojisplosion/index.d.ts +3 -2
  386. package/dist/Konamimojisplosion/index.js +4 -2
  387. package/dist/Konamimojisplosion/useKonamimojisplosion.cjs +47 -0
  388. package/dist/Konamimojisplosion/useKonamimojisplosion.d.cts +4 -0
  389. package/dist/Konamimojisplosion/useKonamimojisplosion.d.ts +4 -1
  390. package/dist/Konamimojisplosion/useKonamimojisplosion.js +44 -32
  391. package/dist/LandingPage/CTA.cjs +11 -0
  392. package/dist/LandingPage/CTA.js +9 -11
  393. package/dist/LandingPage/Description.cjs +18 -0
  394. package/dist/LandingPage/Description.d.cts +10 -0
  395. package/dist/LandingPage/Description.d.ts +9 -5
  396. package/dist/LandingPage/Description.js +16 -14
  397. package/dist/LandingPage/Feature.cjs +89 -0
  398. package/dist/LandingPage/Feature.js +75 -90
  399. package/dist/LandingPage/PageFAQs.cjs +49 -0
  400. package/dist/LandingPage/PageFAQs.d.cts +14 -0
  401. package/dist/LandingPage/PageFAQs.d.ts +13 -9
  402. package/dist/LandingPage/PageFAQs.js +46 -42
  403. package/dist/LandingPage/PageFeatures.cjs +99 -0
  404. package/dist/LandingPage/PageFeatures.d.cts +20 -0
  405. package/dist/LandingPage/PageFeatures.d.ts +19 -15
  406. package/dist/LandingPage/PageFeatures.js +91 -106
  407. package/dist/LandingPage/PageFeaturesEnhanced.cjs +152 -0
  408. package/dist/LandingPage/PageFeaturesEnhanced.d.cts +11 -0
  409. package/dist/LandingPage/PageFeaturesEnhanced.d.ts +10 -6
  410. package/dist/LandingPage/PageFeaturesEnhanced.js +144 -153
  411. package/dist/LandingPage/PageFeaturesWithReferences.cjs +128 -0
  412. package/dist/LandingPage/PageFeaturesWithReferences.d.cts +23 -0
  413. package/dist/LandingPage/PageFeaturesWithReferences.d.ts +22 -18
  414. package/dist/LandingPage/PageFeaturesWithReferences.js +126 -137
  415. package/dist/LandingPage/PageHero.cjs +20 -0
  416. package/dist/LandingPage/PageHero.d.cts +11 -0
  417. package/dist/LandingPage/PageHero.d.ts +10 -6
  418. package/dist/LandingPage/PageHero.js +16 -20
  419. package/dist/LandingPage/PagePrefooter.cjs +66 -0
  420. package/dist/LandingPage/PagePrefooter.d.cts +9 -0
  421. package/dist/LandingPage/PagePrefooter.d.ts +8 -4
  422. package/dist/LandingPage/PagePrefooter.js +64 -74
  423. package/dist/LandingPage/PageSingleFeature.cjs +108 -0
  424. package/dist/LandingPage/PageSingleFeature.d.cts +60 -0
  425. package/dist/LandingPage/PageSingleFeature.d.ts +54 -50
  426. package/dist/LandingPage/PageSingleFeature.js +104 -127
  427. package/dist/LandingPage/PageTestimonials.cjs +108 -0
  428. package/dist/LandingPage/PageTestimonials.d.cts +25 -0
  429. package/dist/LandingPage/PageTestimonials.d.ts +23 -19
  430. package/dist/LandingPage/PageTestimonials.js +99 -107
  431. package/dist/LandingPage/PageVideoGallery.cjs +70 -0
  432. package/dist/LandingPage/PageVideoGallery.d.cts +15 -0
  433. package/dist/LandingPage/PageVideoGallery.d.ts +13 -9
  434. package/dist/LandingPage/PageVideoGallery.js +67 -49
  435. package/dist/LandingPage/Title.cjs +33 -0
  436. package/dist/LandingPage/Title.d.cts +27 -0
  437. package/dist/LandingPage/Title.d.ts +23 -19
  438. package/dist/LandingPage/Title.js +29 -27
  439. package/dist/LandingPage/TitleWithEyebrow.cjs +39 -0
  440. package/dist/LandingPage/TitleWithEyebrow.d.cts +15 -0
  441. package/dist/LandingPage/TitleWithEyebrow.d.ts +14 -10
  442. package/dist/LandingPage/TitleWithEyebrow.js +37 -40
  443. package/dist/LandingPage/index.cjs +29 -0
  444. package/dist/LandingPage/index.d.cts +15 -0
  445. package/dist/LandingPage/index.d.ts +15 -14
  446. package/dist/LandingPage/index.js +15 -14
  447. package/dist/LandingPage/types.d.cts +31 -0
  448. package/dist/LandingPage/types.d.ts +30 -27
  449. package/dist/LayoutMenu/AccordionMenu.cjs +64 -0
  450. package/dist/LayoutMenu/AccordionMenu.d.cts +18 -0
  451. package/dist/LayoutMenu/AccordionMenu.d.ts +16 -24
  452. package/dist/LayoutMenu/AccordionMenu.js +59 -70
  453. package/dist/LayoutMenu/LayoutMenu.cjs +107 -0
  454. package/dist/LayoutMenu/LayoutMenu.d.cts +48 -0
  455. package/dist/LayoutMenu/LayoutMenu.d.ts +47 -43
  456. package/dist/LayoutMenu/LayoutMenu.js +105 -119
  457. package/dist/LayoutMenu/LayoutMenuSection.cjs +38 -0
  458. package/dist/LayoutMenu/LayoutMenuSection.js +36 -39
  459. package/dist/LayoutMenu/SectionItemLink.cjs +19 -0
  460. package/dist/LayoutMenu/SectionItemLink.d.cts +11 -0
  461. package/dist/LayoutMenu/SectionItemLink.d.ts +10 -6
  462. package/dist/LayoutMenu/SectionItemLink.js +17 -16
  463. package/dist/LayoutMenu/SelectedSectionItem.cjs +22 -0
  464. package/dist/LayoutMenu/SelectedSectionItem.d.cts +7 -0
  465. package/dist/LayoutMenu/SelectedSectionItem.d.ts +7 -3
  466. package/dist/LayoutMenu/SelectedSectionItem.js +20 -17
  467. package/dist/LayoutMenu/index.cjs +7 -0
  468. package/dist/LayoutMenu/index.d.cts +4 -0
  469. package/dist/LayoutMenu/index.d.ts +4 -3
  470. package/dist/LayoutMenu/index.js +5 -3
  471. package/dist/LayoutMenuVariant/AccordionMenu.cjs +76 -0
  472. package/dist/LayoutMenuVariant/AccordionMenu.d.cts +19 -0
  473. package/dist/LayoutMenuVariant/AccordionMenu.d.ts +17 -19
  474. package/dist/LayoutMenuVariant/AccordionMenu.js +72 -86
  475. package/dist/LayoutMenuVariant/LayoutMenu.cjs +88 -0
  476. package/dist/LayoutMenuVariant/LayoutMenu.d.cts +43 -0
  477. package/dist/LayoutMenuVariant/LayoutMenu.d.ts +42 -38
  478. package/dist/LayoutMenuVariant/LayoutMenu.js +85 -93
  479. package/dist/LayoutMenuVariant/LayoutMenuSection.cjs +37 -0
  480. package/dist/LayoutMenuVariant/LayoutMenuSection.js +33 -41
  481. package/dist/LayoutMenuVariant/SectionItemLink.cjs +19 -0
  482. package/dist/LayoutMenuVariant/SectionItemLink.d.cts +12 -0
  483. package/dist/LayoutMenuVariant/SectionItemLink.d.ts +11 -7
  484. package/dist/LayoutMenuVariant/SectionItemLink.js +17 -17
  485. package/dist/LayoutMenuVariant/index.cjs +19 -0
  486. package/dist/LayoutMenuVariant/index.d.cts +9 -0
  487. package/dist/LayoutMenuVariant/index.d.ts +9 -2
  488. package/dist/LayoutMenuVariant/index.js +12 -2
  489. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.cjs +52 -0
  490. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.js +50 -55
  491. package/dist/LearningOutcomeAssessmentScores/index.cjs +25 -0
  492. package/dist/LearningOutcomeAssessmentScores/index.d.cts +10 -0
  493. package/dist/LearningOutcomeAssessmentScores/index.d.ts +8 -6
  494. package/dist/LearningOutcomeAssessmentScores/index.js +24 -24
  495. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.cjs +50 -0
  496. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.cts +21 -0
  497. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +17 -14
  498. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.js +44 -55
  499. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.cjs +38 -0
  500. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.cts +18 -0
  501. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +16 -8
  502. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.js +34 -34
  503. package/dist/LearningOutcomeBadges/index.cjs +8 -0
  504. package/dist/LearningOutcomeBadges/index.d.cts +3 -0
  505. package/dist/LearningOutcomeBadges/index.d.ts +3 -2
  506. package/dist/LearningOutcomeBadges/index.js +4 -2
  507. package/dist/LearningOutcomeCard/index.cjs +167 -0
  508. package/dist/LearningOutcomeCard/index.d.cts +30 -0
  509. package/dist/LearningOutcomeCard/index.d.ts +27 -23
  510. package/dist/LearningOutcomeCard/index.js +159 -197
  511. package/dist/LearningOutcomeFlyout/LearningOutcomeCardList.cjs +41 -0
  512. package/dist/LearningOutcomeFlyout/LearningOutcomeCardList.js +40 -42
  513. package/dist/LearningOutcomeFlyout/index.cjs +316 -0
  514. package/dist/LearningOutcomeFlyout/index.d.cts +12 -0
  515. package/dist/LearningOutcomeFlyout/index.d.ts +12 -7
  516. package/dist/LearningOutcomeFlyout/index.js +306 -349
  517. package/dist/LearningOutcomeFlyout/types.cjs +10 -0
  518. package/dist/LearningOutcomeFlyout/types.d.cts +66 -0
  519. package/dist/LearningOutcomeFlyout/types.d.ts +58 -54
  520. package/dist/LearningOutcomeFlyout/types.js +9 -5
  521. package/dist/LearningOutcomePopover/index.cjs +117 -0
  522. package/dist/LearningOutcomePopover/index.d.cts +13 -0
  523. package/dist/LearningOutcomePopover/index.d.ts +11 -8
  524. package/dist/LearningOutcomePopover/index.js +112 -121
  525. package/dist/LearningOutcomeTile/Tile.cjs +68 -0
  526. package/dist/LearningOutcomeTile/Tile.js +62 -75
  527. package/dist/LearningOutcomeTile/index.cjs +96 -0
  528. package/dist/LearningOutcomeTile/index.d.cts +7 -0
  529. package/dist/LearningOutcomeTile/index.d.ts +7 -3
  530. package/dist/LearningOutcomeTile/index.js +92 -114
  531. package/dist/LearningOutcomeTile/types.cjs +11 -0
  532. package/dist/LearningOutcomeTile/types.d.cts +45 -0
  533. package/dist/LearningOutcomeTile/types.d.ts +35 -36
  534. package/dist/LearningOutcomeTile/types.js +8 -9
  535. package/dist/ListSection/index.cjs +56 -0
  536. package/dist/ListSection/index.d.cts +25 -0
  537. package/dist/ListSection/index.d.ts +25 -20
  538. package/dist/ListSection/index.js +53 -64
  539. package/dist/Loading/index.cjs +91 -0
  540. package/dist/Loading/index.d.cts +9 -0
  541. package/dist/Loading/index.d.ts +8 -4
  542. package/dist/Loading/index.js +87 -81
  543. package/dist/Loading/styles.module.cjs +5 -0
  544. package/dist/Loading/styles.module.js +5 -0
  545. package/dist/LoadingCurriculumCard/index.cjs +85 -0
  546. package/dist/LoadingCurriculumCard/index.d.cts +10 -0
  547. package/dist/LoadingCurriculumCard/index.d.ts +8 -5
  548. package/dist/LoadingCurriculumCard/index.js +83 -82
  549. package/dist/Logos/LogoCodecademy/index.cjs +23 -0
  550. package/dist/Logos/LogoCodecademy/index.d.cts +6 -0
  551. package/dist/Logos/LogoCodecademy/index.d.ts +6 -2
  552. package/dist/Logos/LogoCodecademy/index.js +22 -22
  553. package/dist/Logos/LogoCodecademyMini/index.cjs +19 -0
  554. package/dist/Logos/LogoCodecademyMini/index.d.cts +6 -0
  555. package/dist/Logos/LogoCodecademyMini/index.d.ts +6 -2
  556. package/dist/Logos/LogoCodecademyMini/index.js +18 -18
  557. package/dist/Logos/LogoCodecademyPro/index.cjs +26 -0
  558. package/dist/Logos/LogoCodecademyPro/index.d.cts +6 -0
  559. package/dist/Logos/LogoCodecademyPro/index.d.ts +6 -2
  560. package/dist/Logos/LogoCodecademyPro/index.js +25 -25
  561. package/dist/Logos/LogoCodecademyTeams/index.cjs +53 -0
  562. package/dist/Logos/LogoCodecademyTeams/index.d.cts +6 -0
  563. package/dist/Logos/LogoCodecademyTeams/index.d.ts +6 -2
  564. package/dist/Logos/LogoCodecademyTeams/index.js +52 -46
  565. package/dist/Logos/LogoFromSkillsoft/index.cjs +49 -0
  566. package/dist/Logos/LogoFromSkillsoft/index.d.cts +7 -0
  567. package/dist/Logos/LogoFromSkillsoft/index.d.ts +7 -3
  568. package/dist/Logos/LogoFromSkillsoft/index.js +47 -48
  569. package/dist/Logos/LogoLXStudio/index.cjs +38 -0
  570. package/dist/Logos/LogoLXStudio/index.d.cts +7 -0
  571. package/dist/Logos/LogoLXStudio/index.d.ts +7 -3
  572. package/dist/Logos/LogoLXStudio/index.js +36 -40
  573. package/dist/Logos/ProLabel/ProLabelCutout/index.cjs +38 -0
  574. package/dist/Logos/ProLabel/ProLabelCutout/index.js +36 -31
  575. package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.cjs +39 -0
  576. package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.js +37 -31
  577. package/dist/Logos/ProLabel/index.cjs +27 -0
  578. package/dist/Logos/ProLabel/index.d.cts +18 -0
  579. package/dist/Logos/ProLabel/index.d.ts +14 -11
  580. package/dist/Logos/ProLabel/index.js +25 -27
  581. package/dist/Logos/index.cjs +15 -0
  582. package/dist/Logos/index.d.cts +8 -0
  583. package/dist/Logos/index.d.ts +8 -7
  584. package/dist/Logos/index.js +9 -7
  585. package/dist/Logos/shared.cjs +14 -0
  586. package/dist/Logos/shared.d.cts +232 -0
  587. package/dist/Logos/shared.d.ts +235 -642
  588. package/dist/Logos/shared.js +10 -14
  589. package/dist/MarketingToaster/index.cjs +50 -0
  590. package/dist/MarketingToaster/index.d.cts +11 -0
  591. package/dist/MarketingToaster/index.d.ts +9 -6
  592. package/dist/MarketingToaster/index.js +46 -66
  593. package/dist/NotFoundContent/404.cjs +5 -0
  594. package/dist/NotFoundContent/404.js +5 -0
  595. package/dist/NotFoundContent/index.cjs +49 -0
  596. package/dist/NotFoundContent/index.d.cts +11 -0
  597. package/dist/NotFoundContent/index.d.ts +9 -6
  598. package/dist/NotFoundContent/index.js +46 -55
  599. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.cjs +34 -0
  600. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.js +33 -23
  601. package/dist/NotificationList/EmptyNotification/index.cjs +44 -0
  602. package/dist/NotificationList/EmptyNotification/index.js +42 -38
  603. package/dist/NotificationList/NotificationItem.cjs +162 -0
  604. package/dist/NotificationList/NotificationItem.d.cts +12 -0
  605. package/dist/NotificationList/NotificationItem.d.ts +11 -7
  606. package/dist/NotificationList/NotificationItem.js +157 -149
  607. package/dist/NotificationList/index.cjs +45 -0
  608. package/dist/NotificationList/index.d.cts +13 -0
  609. package/dist/NotificationList/index.d.ts +12 -8
  610. package/dist/NotificationList/index.js +41 -46
  611. package/dist/NotificationList/typings.d.cts +19 -0
  612. package/dist/NotificationList/typings.d.ts +17 -14
  613. package/dist/Notifications/NotificationBell.cjs +61 -0
  614. package/dist/Notifications/NotificationBell.js +60 -72
  615. package/dist/Notifications/NotificationsContents.cjs +80 -0
  616. package/dist/Notifications/NotificationsContents.js +78 -85
  617. package/dist/Notifications/NotificationsDropdown.cjs +24 -0
  618. package/dist/Notifications/NotificationsDropdown.js +23 -25
  619. package/dist/Notifications/constants.cjs +9 -0
  620. package/dist/Notifications/constants.js +7 -3
  621. package/dist/Notifications/elements.cjs +23 -0
  622. package/dist/Notifications/elements.js +19 -20
  623. package/dist/Notifications/types.d.cts +17 -0
  624. package/dist/Notifications/types.d.ts +16 -22
  625. package/dist/Notifications/useHeaderNotifications.cjs +38 -0
  626. package/dist/Notifications/useHeaderNotifications.js +37 -37
  627. package/dist/Notifications/useNotificationButtons.cjs +53 -0
  628. package/dist/Notifications/useNotificationButtons.js +52 -56
  629. package/dist/PageAlerts/PageAlerts.cjs +69 -0
  630. package/dist/PageAlerts/PageAlerts.d.cts +16 -0
  631. package/dist/PageAlerts/PageAlerts.d.ts +15 -9
  632. package/dist/PageAlerts/PageAlerts.js +64 -74
  633. package/dist/PageAlerts/PageAlertsProvider.cjs +41 -0
  634. package/dist/PageAlerts/PageAlertsProvider.d.cts +15 -0
  635. package/dist/PageAlerts/PageAlertsProvider.d.ts +14 -10
  636. package/dist/PageAlerts/PageAlertsProvider.js +36 -33
  637. package/dist/PageAlerts/index.cjs +8 -0
  638. package/dist/PageAlerts/index.d.cts +4 -0
  639. package/dist/PageAlerts/index.d.ts +4 -3
  640. package/dist/PageAlerts/index.js +4 -3
  641. package/dist/PageAlerts/types.d.cts +18 -0
  642. package/dist/PageAlerts/types.d.ts +15 -14
  643. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.cjs +50 -0
  644. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.cts +22 -0
  645. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +20 -17
  646. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.js +48 -53
  647. package/dist/PageLayoutWithSidebarMenu/index.cjs +3 -0
  648. package/dist/PageLayoutWithSidebarMenu/index.d.cts +2 -0
  649. package/dist/PageLayoutWithSidebarMenu/index.d.ts +2 -1
  650. package/dist/PageLayoutWithSidebarMenu/index.js +3 -1
  651. package/dist/PageSection/index.cjs +65 -0
  652. package/dist/PageSection/index.d.cts +20 -0
  653. package/dist/PageSection/index.d.ts +17 -14
  654. package/dist/PageSection/index.js +61 -65
  655. package/dist/PastDue/PastDueModalContents/index.cjs +28 -0
  656. package/dist/PastDue/PastDueModalContents/index.d.cts +12 -0
  657. package/dist/PastDue/PastDueModalContents/index.d.ts +11 -7
  658. package/dist/PastDue/PastDueModalContents/index.js +26 -30
  659. package/dist/PastDue/index.cjs +5 -0
  660. package/dist/PastDue/index.d.cts +3 -0
  661. package/dist/PastDue/index.d.ts +3 -2
  662. package/dist/PastDue/index.js +4 -2
  663. package/dist/PastDue/pastDueMessages.cjs +55 -0
  664. package/dist/PastDue/pastDueMessages.d.cts +8 -0
  665. package/dist/PastDue/pastDueMessages.d.ts +6 -4
  666. package/dist/PastDue/pastDueMessages.js +53 -48
  667. package/dist/PausableImage/BaseImage/index.cjs +77 -0
  668. package/dist/PausableImage/BaseImage/index.js +69 -53
  669. package/dist/PausableImage/index.cjs +32 -0
  670. package/dist/PausableImage/index.d.cts +16 -0
  671. package/dist/PausableImage/index.d.ts +14 -9
  672. package/dist/PausableImage/index.js +26 -35
  673. package/dist/PlanCard/PlanCardBanner.cjs +30 -0
  674. package/dist/PlanCard/PlanCardBanner.d.cts +10 -0
  675. package/dist/PlanCard/PlanCardBanner.d.ts +8 -5
  676. package/dist/PlanCard/PlanCardBanner.js +27 -28
  677. package/dist/PlanCard/PlanFeature.cjs +91 -0
  678. package/dist/PlanCard/PlanFeature.js +88 -105
  679. package/dist/PlanCard/PopularBadge.cjs +20 -0
  680. package/dist/PlanCard/PopularBadge.js +18 -13
  681. package/dist/PlanCard/PricingAmount.cjs +122 -0
  682. package/dist/PlanCard/PricingAmount.js +118 -116
  683. package/dist/PlanCard/RecommendedBadge.cjs +31 -0
  684. package/dist/PlanCard/RecommendedBadge.js +29 -24
  685. package/dist/PlanCard/consts.cjs +220 -0
  686. package/dist/PlanCard/consts.js +219 -167
  687. package/dist/PlanCard/index.cjs +341 -0
  688. package/dist/PlanCard/index.d.cts +22 -0
  689. package/dist/PlanCard/index.d.ts +21 -17
  690. package/dist/PlanCard/index.js +336 -373
  691. package/dist/PlanCard/types.cjs +75 -0
  692. package/dist/PlanCard/types.d.cts +43 -0
  693. package/dist/PlanCard/types.d.ts +41 -38
  694. package/dist/PlanCard/types.js +66 -69
  695. package/dist/PlanCardTeams/consts.cjs +22 -0
  696. package/dist/PlanCardTeams/consts.js +21 -8
  697. package/dist/PlanCardTeams/index.cjs +140 -0
  698. package/dist/PlanCardTeams/index.d.cts +12 -0
  699. package/dist/PlanCardTeams/index.d.ts +11 -7
  700. package/dist/PlanCardTeams/index.js +135 -165
  701. package/dist/PricingSection/ConditionalColorMode.cjs +14 -0
  702. package/dist/PricingSection/ConditionalColorMode.js +13 -13
  703. package/dist/PricingSection/PricingCard/PricingAmount.cjs +122 -0
  704. package/dist/PricingSection/PricingCard/PricingAmount.js +118 -114
  705. package/dist/PricingSection/PricingCard/RecommendedBadge.cjs +30 -0
  706. package/dist/PricingSection/PricingCard/RecommendedBadge.js +29 -24
  707. package/dist/PricingSection/PricingCard/index.cjs +176 -0
  708. package/dist/PricingSection/PricingCard/index.js +170 -198
  709. package/dist/PricingSection/PricingCard/types.cjs +67 -0
  710. package/dist/PricingSection/PricingCard/types.d.cts +26 -0
  711. package/dist/PricingSection/PricingCard/types.d.ts +24 -38
  712. package/dist/PricingSection/PricingCard/types.js +61 -58
  713. package/dist/PricingSection/ProductCTA.cjs +106 -0
  714. package/dist/PricingSection/ProductCTA.js +103 -133
  715. package/dist/PricingSection/Products.cjs +86 -0
  716. package/dist/PricingSection/Products.js +85 -92
  717. package/dist/PricingSection/config.cjs +33 -0
  718. package/dist/PricingSection/config.js +29 -36
  719. package/dist/PricingSection/index.cjs +36 -0
  720. package/dist/PricingSection/index.d.cts +22 -0
  721. package/dist/PricingSection/index.d.ts +20 -14
  722. package/dist/PricingSection/index.js +35 -41
  723. package/dist/PricingSection/types.cjs +14 -0
  724. package/dist/PricingSection/types.d.cts +18 -0
  725. package/dist/PricingSection/types.d.ts +16 -29
  726. package/dist/PricingSection/types.js +13 -9
  727. package/dist/ProLogoAlt/index.cjs +28 -0
  728. package/dist/ProLogoAlt/index.d.cts +13 -0
  729. package/dist/ProLogoAlt/index.d.ts +12 -8
  730. package/dist/ProLogoAlt/index.js +26 -26
  731. package/dist/ProductFeatureShowcase/index.cjs +108 -0
  732. package/dist/ProductFeatureShowcase/index.d.cts +19 -0
  733. package/dist/ProductFeatureShowcase/index.d.ts +18 -15
  734. package/dist/ProductFeatureShowcase/index.js +105 -119
  735. package/dist/QuizScore/index.cjs +93 -0
  736. package/dist/QuizScore/index.d.cts +15 -0
  737. package/dist/QuizScore/index.d.ts +13 -10
  738. package/dist/QuizScore/index.js +91 -84
  739. package/dist/RatingsBar/index.cjs +44 -0
  740. package/dist/RatingsBar/index.d.cts +16 -0
  741. package/dist/RatingsBar/index.d.ts +15 -11
  742. package/dist/RatingsBar/index.js +41 -34
  743. package/dist/Recurly/context/NoProvider.cjs +12 -0
  744. package/dist/Recurly/context/NoProvider.js +10 -6
  745. package/dist/Recurly/context/elements/index.cjs +45 -0
  746. package/dist/Recurly/context/elements/index.d.cts +15 -0
  747. package/dist/Recurly/context/elements/index.d.ts +10 -21
  748. package/dist/Recurly/context/elements/index.js +39 -42
  749. package/dist/Recurly/context/index.d.ts +2 -2
  750. package/dist/Recurly/context/recurly/index.cjs +49 -0
  751. package/dist/Recurly/context/recurly/index.d.cts +38 -0
  752. package/dist/Recurly/context/recurly/index.d.ts +15 -7
  753. package/dist/Recurly/context/recurly/index.js +44 -47
  754. package/dist/Recurly/context/recurly/loadRecurly.cjs +21 -0
  755. package/dist/Recurly/context/recurly/loadRecurly.d.cts +9 -0
  756. package/dist/Recurly/context/recurly/loadRecurly.d.ts +8 -5
  757. package/dist/Recurly/context/recurly/loadRecurly.js +21 -22
  758. package/dist/Recurly/context/recurly/w.cjs +6 -0
  759. package/dist/Recurly/context/recurly/w.js +4 -3
  760. package/dist/Recurly/fields/RecurlyField.cjs +69 -0
  761. package/dist/Recurly/fields/RecurlyField.d.cts +18 -0
  762. package/dist/Recurly/fields/RecurlyField.d.ts +13 -4
  763. package/dist/Recurly/fields/RecurlyField.js +65 -55
  764. package/dist/Recurly/fields/elements.cjs +63 -0
  765. package/dist/Recurly/fields/elements.d.cts +22 -0
  766. package/dist/Recurly/fields/elements.d.ts +20 -15
  767. package/dist/Recurly/fields/elements.js +48 -95
  768. package/dist/Recurly/fields/index.d.ts +2 -2
  769. package/dist/Recurly/index.cjs +13 -0
  770. package/dist/Recurly/index.d.cts +5 -0
  771. package/dist/Recurly/index.d.ts +7 -2
  772. package/dist/Recurly/index.js +6 -2
  773. package/dist/ResourceCard/index.cjs +59 -0
  774. package/dist/ResourceCard/index.d.cts +19 -0
  775. package/dist/ResourceCard/index.d.ts +17 -13
  776. package/dist/ResourceCard/index.js +56 -58
  777. package/dist/ScoreSummary/SubScores.cjs +136 -0
  778. package/dist/ScoreSummary/SubScores.d.cts +40 -0
  779. package/dist/ScoreSummary/SubScores.d.ts +38 -26
  780. package/dist/ScoreSummary/SubScores.js +132 -163
  781. package/dist/ScoreSummary/helpers.cjs +20 -0
  782. package/dist/ScoreSummary/helpers.js +17 -19
  783. package/dist/ScoreSummary/index.cjs +98 -0
  784. package/dist/ScoreSummary/index.d.cts +25 -0
  785. package/dist/ScoreSummary/index.d.ts +24 -20
  786. package/dist/ScoreSummary/index.js +96 -108
  787. package/dist/ScoreSummary/types.d.cts +313 -0
  788. package/dist/ScoreSummary/types.d.ts +308 -305
  789. package/dist/SkillPathCard/index.cjs +34 -0
  790. package/dist/SkillPathCard/index.d.cts +25 -0
  791. package/dist/SkillPathCard/index.d.ts +24 -19
  792. package/dist/SkillPathCard/index.js +33 -46
  793. package/dist/SocialMediaSharing/SocialShareIconLink.cjs +43 -0
  794. package/dist/SocialMediaSharing/SocialShareIconLink.d.cts +9 -0
  795. package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +9 -12
  796. package/dist/SocialMediaSharing/SocialShareIconLink.js +39 -48
  797. package/dist/SocialMediaSharing/index.cjs +86 -0
  798. package/dist/SocialMediaSharing/index.d.cts +64 -0
  799. package/dist/SocialMediaSharing/index.d.ts +59 -44
  800. package/dist/SocialMediaSharing/index.js +80 -114
  801. package/dist/SocialMediaSharingDropdown/index.cjs +98 -0
  802. package/dist/SocialMediaSharingDropdown/index.d.cts +19 -0
  803. package/dist/SocialMediaSharingDropdown/index.d.ts +18 -14
  804. package/dist/SocialMediaSharingDropdown/index.js +95 -110
  805. package/dist/Testimonial/index.cjs +141 -0
  806. package/dist/Testimonial/index.d.cts +53 -0
  807. package/dist/Testimonial/index.d.ts +50 -42
  808. package/dist/Testimonial/index.js +128 -153
  809. package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/defineProperty.cjs +14 -0
  810. package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/defineProperty.js +14 -0
  811. package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPrimitive.cjs +16 -0
  812. package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPrimitive.js +16 -0
  813. package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPropertyKey.cjs +11 -0
  814. package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPropertyKey.js +11 -0
  815. package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/typeof.cjs +18 -0
  816. package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/typeof.js +12 -0
  817. package/dist/_virtual/rolldown_runtime.cjs +43 -0
  818. package/dist/_virtual/rolldown_runtime.js +18 -0
  819. package/dist/assets/navyQuotes.cjs +5 -0
  820. package/dist/assets/navyQuotes.js +5 -0
  821. package/dist/index.cjs +279 -0
  822. package/dist/index.d.cts +122 -0
  823. package/dist/index.d.ts +132 -89
  824. package/dist/index.js +116 -86
  825. package/dist/lib/breakpointHooks/index.cjs +64 -0
  826. package/dist/lib/breakpointHooks/index.d.cts +46 -0
  827. package/dist/lib/breakpointHooks/index.d.ts +10 -7
  828. package/dist/lib/breakpointHooks/index.js +51 -53
  829. package/dist/lib/catalogList/index.cjs +52 -0
  830. package/dist/lib/catalogList/index.js +50 -196
  831. package/dist/lib/resourcesList/index.cjs +68 -0
  832. package/dist/lib/resourcesList/index.js +65 -231
  833. package/dist/remoteAssets/components.cjs +6 -0
  834. package/dist/remoteAssets/components.js +5 -1
  835. package/package.json +364 -10
  836. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/MarketingBanner.d.ts +0 -6
  837. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.d.ts +0 -8
  838. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.d.ts +0 -17
  839. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +0 -92
  840. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.js +0 -63
  841. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.d.ts +0 -13
  842. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.js +0 -440
  843. package/dist/AppHeader/AppHeaderElements/AppHeaderDietCard/index.d.ts +0 -11
  844. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.d.ts +0 -13
  845. package/dist/AppHeader/AppHeaderElements/AppHeaderFeatureCard/index.d.ts +0 -4
  846. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/elements.d.ts +0 -42
  847. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.d.ts +0 -8
  848. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +0 -14
  849. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.d.ts +0 -14
  850. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.d.ts +0 -12
  851. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.d.ts +0 -10
  852. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.d.ts +0 -10
  853. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/consts.d.ts +0 -18
  854. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.d.ts +0 -13
  855. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.js +0 -194
  856. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/AppHeaderSectionContext.d.ts +0 -8
  857. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileBackButton.d.ts +0 -6
  858. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileNavMenu.d.ts +0 -11
  859. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/NavTabs.d.ts +0 -20
  860. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/PanelLayout.d.ts +0 -9
  861. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/elements.d.ts +0 -88
  862. package/dist/AppHeader/AppHeaderElements/AppHeaderSection/index.d.ts +0 -25
  863. package/dist/AppHeader/AppHeaderElements/AppHeaderSkillTile/index.d.ts +0 -6
  864. package/dist/AppHeader/Search/DefaultResults.d.ts +0 -10
  865. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +0 -7
  866. package/dist/AppHeader/Search/SearchButton.d.ts +0 -2
  867. package/dist/AppHeader/Search/SearchPane.d.ts +0 -6
  868. package/dist/AppHeader/Search/SearchTrackingProvider/index.d.ts +0 -17
  869. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +0 -18
  870. package/dist/AppHeader/Search/SearchWorker/src.d.ts +0 -1
  871. package/dist/AppHeader/Search/SearchWorker/worker.d.ts +0 -2
  872. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.d.ts +0 -5
  873. package/dist/AppHeader/Search/safelyRedirect.d.ts +0 -5
  874. package/dist/AppHeader/Search/types.js +0 -1
  875. package/dist/AppHeader/Search/useHeaderSearch.d.ts +0 -6
  876. package/dist/AppHeader/shared/index.js +0 -4
  877. package/dist/AppHeader/shared/mockAppHeaderItems.js +0 -10
  878. package/dist/AppHeader/shared/utils.d.ts +0 -14
  879. package/dist/AppHeader/utils/types.d.ts +0 -8
  880. package/dist/AppHeader/utils/types.js +0 -1
  881. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.d.ts +0 -13
  882. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.d.ts +0 -7
  883. package/dist/Avatar/Avatar.stories.js +0 -15
  884. package/dist/Carousel/elements.d.ts +0 -27
  885. package/dist/CertificationPathCard/__tests__/__fixtures__/index.d.ts +0 -2
  886. package/dist/CommunityEventCard/EventTypeIcon.d.ts +0 -11
  887. package/dist/ContentGroupBaseCard/shared.d.ts +0 -7
  888. package/dist/CourseCard/__tests__/__fixtures__/index.d.ts +0 -3
  889. package/dist/CurriculumCard/Footer/index.d.ts +0 -10
  890. package/dist/CurriculumCard/Image/index.d.ts +0 -9
  891. package/dist/CurriculumCard/Subtitle/helpers.d.ts +0 -1
  892. package/dist/DropdownButton/useDynamicPopoverPosition.d.ts +0 -14
  893. package/dist/DropdownButton/useDynamicPopoverPosition.test.js +0 -85
  894. package/dist/GlobalFooter/FooterHeading.d.ts +0 -9
  895. package/dist/GlobalFooter/FooterLegal/LegalLinks.d.ts +0 -6
  896. package/dist/GlobalFooter/FooterLegal/MadeIn.d.ts +0 -5
  897. package/dist/GlobalFooter/FooterLegal/index.d.ts +0 -7
  898. package/dist/GlobalFooter/FooterLinks.d.ts +0 -18
  899. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.d.ts +0 -7
  900. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.d.ts +0 -11
  901. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.d.ts +0 -7
  902. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.d.ts +0 -2
  903. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.d.ts +0 -4
  904. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.d.ts +0 -3
  905. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.js +0 -1
  906. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.d.ts +0 -2
  907. package/dist/GlobalFooter/FooterNavLinks/index.d.ts +0 -4
  908. package/dist/GlobalFooter/FooterSubHeading.d.ts +0 -9
  909. package/dist/GlobalFooter/FooterSubHeading.js +0 -22
  910. package/dist/GlobalFooter/types.js +0 -1
  911. package/dist/GlobalHeader/GlobalHeaderItems.d.ts +0 -28
  912. package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +0 -97
  913. package/dist/GlobalHeader/context.d.ts +0 -34
  914. package/dist/GlobalHeader/types.js +0 -1
  915. package/dist/GlobalHeader/urlHelpers.d.ts +0 -2
  916. package/dist/Grid/GridCollapse.test.js +0 -96
  917. package/dist/HeaderHeightArea/useIsInHeaderRegion.d.ts +0 -1
  918. package/dist/LandingPage/CTA.d.ts +0 -9
  919. package/dist/LandingPage/Feature.d.ts +0 -32
  920. package/dist/LandingPage/types.js +0 -1
  921. package/dist/LayoutMenu/LayoutMenuSection.d.ts +0 -16
  922. package/dist/LayoutMenuVariant/LayoutMenuSection.d.ts +0 -10
  923. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.d.ts +0 -8
  924. package/dist/LearningOutcomeFlyout/LearningOutcomeCardList.d.ts +0 -7
  925. package/dist/LearningOutcomeTile/Tile.d.ts +0 -7
  926. package/dist/Logos/ProLabel/ProLabelCutout/index.d.ts +0 -8
  927. package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.d.ts +0 -7
  928. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.d.ts +0 -7
  929. package/dist/NotificationList/EmptyNotification/index.d.ts +0 -1
  930. package/dist/NotificationList/typings.js +0 -1
  931. package/dist/Notifications/NotificationBell.d.ts +0 -10
  932. package/dist/Notifications/NotificationsContents.d.ts +0 -3
  933. package/dist/Notifications/NotificationsDropdown.d.ts +0 -2
  934. package/dist/Notifications/__fixtures__/NotificationTestComponent.d.ts +0 -2
  935. package/dist/Notifications/__fixtures__/NotificationTestComponent.js +0 -12
  936. package/dist/Notifications/__fixtures__/stubs.d.ts +0 -2
  937. package/dist/Notifications/__fixtures__/stubs.js +0 -8
  938. package/dist/Notifications/constants.d.ts +0 -4
  939. package/dist/Notifications/elements.d.ts +0 -12
  940. package/dist/Notifications/types.js +0 -1
  941. package/dist/Notifications/useHeaderNotifications.d.ts +0 -10
  942. package/dist/Notifications/useNotificationButtons.d.ts +0 -9
  943. package/dist/PageAlerts/types.js +0 -1
  944. package/dist/PausableImage/BaseImage/index.d.ts +0 -15
  945. package/dist/PlanCard/PlanFeature.d.ts +0 -10
  946. package/dist/PlanCard/PopularBadge.d.ts +0 -3
  947. package/dist/PlanCard/PricingAmount.d.ts +0 -14
  948. package/dist/PlanCard/RecommendedBadge.d.ts +0 -3
  949. package/dist/PlanCard/consts.d.ts +0 -15
  950. package/dist/PlanCardTeams/consts.d.ts +0 -9
  951. package/dist/PricingSection/ConditionalColorMode.d.ts +0 -4
  952. package/dist/PricingSection/PlanFeature.d.ts +0 -10
  953. package/dist/PricingSection/PlanFeature.js +0 -88
  954. package/dist/PricingSection/PricingCard/PricingAmount.d.ts +0 -14
  955. package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +0 -3
  956. package/dist/PricingSection/PricingCard/consts.d.ts +0 -14
  957. package/dist/PricingSection/PricingCard/consts.js +0 -99
  958. package/dist/PricingSection/PricingCard/index.d.ts +0 -16
  959. package/dist/PricingSection/ProductCTA.d.ts +0 -12
  960. package/dist/PricingSection/Products.d.ts +0 -15
  961. package/dist/PricingSection/config.d.ts +0 -8
  962. package/dist/Recurly/context/NoProvider.d.ts +0 -8
  963. package/dist/Recurly/context/index.js +0 -2
  964. package/dist/Recurly/context/recurly/w.d.ts +0 -14
  965. package/dist/Recurly/fields/elements.test.js +0 -79
  966. package/dist/Recurly/fields/index.js +0 -2
  967. package/dist/ScoreSummary/helpers.d.ts +0 -11
  968. package/dist/ScoreSummary/types.js +0 -1
  969. package/dist/SkillPathCard/__tests__/__fixtures__/index.d.ts +0 -2
  970. package/dist/SocialMediaSharingDropdown/__tests__/SocialMediaSharingDropdown-test.d.ts +0 -1
  971. package/dist/assets/darkQuotes.svg +0 -1
  972. package/dist/assets/dots.svg +0 -1
  973. package/dist/assets/lightQuotes.svg +0 -1
  974. package/dist/assets/orange_squiggle.svg +0 -1
  975. package/dist/lib/catalogList/index.d.ts +0 -6
  976. package/dist/lib/resourcesList/index.d.ts +0 -5
  977. package/dist/png.d.ts +0 -4
  978. package/dist/react-freezeframe.d.ts +0 -1
  979. package/dist/remoteAssets/components.d.ts +0 -1
  980. package/dist/stories/Atoms/Avatar.stories.js +0 -16
  981. package/dist/stories/Atoms/BetaSticker.stories.js +0 -21
  982. package/dist/stories/Atoms/Logos/LogoCodecademy.stories.js +0 -8
  983. package/dist/stories/Atoms/Logos/LogoCodecademyMini.stories.js +0 -8
  984. package/dist/stories/Atoms/Logos/LogoCodecademyPro.stories.js +0 -8
  985. package/dist/stories/Atoms/Logos/LogoCodecademyTeams.stories.js +0 -8
  986. package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.js +0 -9
  987. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +0 -11
  988. package/dist/stories/Atoms/Logos/ProLabel.stories.js +0 -29
  989. package/dist/stories/Atoms/RatingsBar.stories.js +0 -16
  990. package/dist/stories/Atoms/Subgrid.stories.js +0 -87
  991. package/dist/stories/Molecules/AppBar.stories.js +0 -31
  992. package/dist/stories/Molecules/AppHeader/AppHeader.stories.js +0 -84
  993. package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.js +0 -67
  994. package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.js +0 -50
  995. package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.js +0 -43
  996. package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.js +0 -34
  997. package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.js +0 -40
  998. package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.js +0 -25
  999. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.js +0 -176
  1000. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.js +0 -84
  1001. package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.d.ts +0 -5
  1002. package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.js +0 -90
  1003. package/dist/stories/Molecules/AvatarChooser.stories.js +0 -22
  1004. package/dist/stories/Molecules/BackToTopAnchor.stories.js +0 -51
  1005. package/dist/stories/Molecules/Banner.stories.js +0 -112
  1006. package/dist/stories/Molecules/Carousel.stories.js +0 -47
  1007. package/dist/stories/Molecules/ContentGroupBaseCard.stories.js +0 -175
  1008. package/dist/stories/Molecules/CurriculumCard.stories.js +0 -201
  1009. package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.js +0 -94
  1010. package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.js +0 -67
  1011. package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.js +0 -85
  1012. package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.js +0 -20
  1013. package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.js +0 -92
  1014. package/dist/stories/Molecules/DropdownButton.stories.js +0 -207
  1015. package/dist/stories/Molecules/EditorialImage.stories.js +0 -17
  1016. package/dist/stories/Molecules/EmptySection.stories.js +0 -167
  1017. package/dist/stories/Molecules/EnhancedBanner.stories.js +0 -104
  1018. package/dist/stories/Molecules/ErrorContents.stories.js +0 -19
  1019. package/dist/stories/Molecules/GridCollapse.stories.js +0 -42
  1020. package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +0 -1
  1021. package/dist/stories/Molecules/HorizontalScrollMenu.examples.js +0 -67
  1022. package/dist/stories/Molecules/HorizontalScrollMenu.stories.js +0 -11
  1023. package/dist/stories/Molecules/HubCard.stories.js +0 -27
  1024. package/dist/stories/Molecules/InfoCard.stories.js +0 -30
  1025. package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.js +0 -23
  1026. package/dist/stories/Molecules/LearningOutcomeCard.stories.js +0 -189
  1027. package/dist/stories/Molecules/LearningOutcomeFlyout.stories.js +0 -62
  1028. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.js +0 -20
  1029. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.js +0 -10
  1030. package/dist/stories/Molecules/LearningOutcomePopover.stories.js +0 -39
  1031. package/dist/stories/Molecules/LearningOutcomeTile.stories.js +0 -276
  1032. package/dist/stories/Molecules/ListSection.stories.js +0 -97
  1033. package/dist/stories/Molecules/Loading.stories.js +0 -10
  1034. package/dist/stories/Molecules/NotificationList.stories.js +0 -99
  1035. package/dist/stories/Molecules/PageSection.stories.js +0 -67
  1036. package/dist/stories/Molecules/PastDueModalContents.stories.js +0 -62
  1037. package/dist/stories/Molecules/PausableImage.stories.js +0 -16
  1038. package/dist/stories/Molecules/Recurly.stories.js +0 -56
  1039. package/dist/stories/Molecules/ResourceCard.stories.js +0 -18
  1040. package/dist/stories/Molecules/SocialMediaSharing.stories.js +0 -20
  1041. package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.js +0 -20
  1042. package/dist/stories/Molecules/Testimonial.stories.js +0 -59
  1043. package/dist/stories/Organisms/GlobalFooter.stories.js +0 -28
  1044. package/dist/stories/Organisms/GlobalHeader/About.stories.js +0 -133
  1045. package/dist/stories/Organisms/GlobalHeader/Anon.stories.js +0 -71
  1046. package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.js +0 -29
  1047. package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.js +0 -105
  1048. package/dist/stories/Organisms/GlobalHeader/Free.stories.js +0 -131
  1049. package/dist/stories/Organisms/GlobalHeader/Pro.stories.js +0 -197
  1050. package/dist/stories/Organisms/GlobalHeader/Simple.stories.js +0 -28
  1051. package/dist/stories/Organisms/GlobalPage.stories.js +0 -138
  1052. package/dist/stories/Organisms/LayoutMenu.stories.js +0 -239
  1053. package/dist/stories/Organisms/LayoutMenuVariant.stories.js +0 -222
  1054. package/dist/stories/Organisms/PageAlerts.example.d.ts +0 -2
  1055. package/dist/stories/Organisms/PageAlerts.example.js +0 -42
  1056. package/dist/stories/Organisms/PageAlerts.stories.js +0 -15
  1057. package/dist/stories/Organisms/PageFeatures.stories.js +0 -175
  1058. package/dist/stories/Organisms/PageHero.stories.js +0 -135
  1059. package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.js +0 -34
  1060. package/dist/stories/Organisms/PagePrefooter.stories.js +0 -58
  1061. package/dist/stories/Organisms/PageSingleFeature.stories.js +0 -148
  1062. package/dist/stories/Organisms/PageVideoGallery.stories.js +0 -65
  1063. package/dist/stories/Organisms/PlanCard.stories.js +0 -98
  1064. package/dist/stories/Organisms/PlanCardTeams.stories.js +0 -27
  1065. package/dist/stories/Organisms/ScoreSummary.stories.js +0 -295
  1066. package/dist/svg.d.ts +0 -7
  1067. package/dist/theme.d.ts +0 -5
  1068. /package/dist/{NotFoundContent/404.svg → assets/404-BM2-wvJv.svg} +0 -0
  1069. /package/dist/{GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg → assets/download-on-the-app-store-BbQ68gT5.svg} +0 -0
  1070. /package/dist/{GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png → assets/get-it-on-google-play-CnA-UUOj.png} +0 -0
  1071. /package/dist/{AppBarDeprecated/styles/index.module.scss → assets/index.module-Dz0I2VL5.scss} +0 -0
  1072. /package/dist/assets/{navyQuotes.svg → navyQuotes-C0ZxClwi.svg} +0 -0
  1073. /package/dist/{EditorialImage/styles.module.scss → assets/styles.module-CAlrRbjX.scss} +0 -0
  1074. /package/dist/{Loading/styles.module.scss → assets/styles.module-DbrbHmEX.scss} +0 -0
@@ -0,0 +1,65 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ let _codecademy_gamut = require("@codecademy/gamut");
3
+ let react = require("react");
4
+ react = require_rolldown_runtime.__toESM(react);
5
+ let react_jsx_runtime = require("react/jsx-runtime");
6
+
7
+ //#region src/PageSection/index.tsx
8
+ function isSectionButtonATextButton(button) {
9
+ return button.text !== void 0;
10
+ }
11
+ const PageSection = ({ title, headerButton, headerSecondaryButton, footerButton, children }) => {
12
+ const renderSectionButton = (sectionButton) => {
13
+ if (!isSectionButtonATextButton(sectionButton)) return sectionButton;
14
+ const { text, ...buttonProps } = sectionButton;
15
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.TextButton, {
16
+ ...buttonProps,
17
+ children: text
18
+ });
19
+ };
20
+ const maybeRenderHeaderButton = () => {
21
+ if (!headerButton) return null;
22
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Box, {
23
+ ml: 4,
24
+ display: "inline",
25
+ children: renderSectionButton(headerButton)
26
+ });
27
+ };
28
+ const maybeRenderHeaderSecondaryButton = () => {
29
+ if (!headerSecondaryButton) return null;
30
+ return renderSectionButton(headerSecondaryButton);
31
+ };
32
+ const renderSectionHeader = () => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.FlexBox, {
33
+ height: "2.5rem",
34
+ mb: 8,
35
+ justifyContent: "space-between",
36
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.FlexBox, {
37
+ alignItems: "center",
38
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Text, {
39
+ as: "h2",
40
+ fontSize: 22,
41
+ children: title
42
+ }), maybeRenderHeaderButton()]
43
+ }), maybeRenderHeaderSecondaryButton()]
44
+ });
45
+ const maybeRenderSectionFooter = () => {
46
+ if (!footerButton) return null;
47
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.FlexBox, {
48
+ justifyContent: "flex-end",
49
+ mt: 16,
50
+ children: renderSectionButton(footerButton)
51
+ });
52
+ };
53
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.FlexBox, {
54
+ flexDirection: "column",
55
+ mb: 48,
56
+ children: [
57
+ renderSectionHeader(),
58
+ children,
59
+ maybeRenderSectionFooter()
60
+ ]
61
+ });
62
+ };
63
+
64
+ //#endregion
65
+ exports.PageSection = PageSection;
@@ -0,0 +1,20 @@
1
+ import { WithChildrenProp } from "@codecademy/gamut";
2
+ import * as React$1 from "react";
3
+ import { AriaAttributes, ReactNode } from "react";
4
+
5
+ //#region src/PageSection/index.d.ts
6
+ type TextButtonMinimumProps = AriaAttributes & {
7
+ text: string;
8
+ href?: string;
9
+ onClick?: () => void;
10
+ };
11
+ type SectionButton = TextButtonMinimumProps | ReactNode;
12
+ interface PageSectionProps extends WithChildrenProp {
13
+ title: string;
14
+ headerButton?: SectionButton;
15
+ headerSecondaryButton?: SectionButton;
16
+ footerButton?: SectionButton;
17
+ }
18
+ declare const PageSection: React$1.FC<PageSectionProps>;
19
+ //#endregion
20
+ export { PageSection, PageSectionProps, SectionButton };
@@ -1,17 +1,20 @@
1
- import { WithChildrenProp } from '@codecademy/gamut';
2
- import { AriaAttributes, ReactNode } from 'react';
3
- import * as React from 'react';
1
+ import { WithChildrenProp } from "@codecademy/gamut";
2
+ import * as React$1 from "react";
3
+ import { AriaAttributes, ReactNode } from "react";
4
+
5
+ //#region src/PageSection/index.d.ts
4
6
  type TextButtonMinimumProps = AriaAttributes & {
5
- text: string;
6
- href?: string;
7
- onClick?: () => void;
7
+ text: string;
8
+ href?: string;
9
+ onClick?: () => void;
8
10
  };
9
- export type SectionButton = TextButtonMinimumProps | ReactNode;
10
- export interface PageSectionProps extends WithChildrenProp {
11
- title: string;
12
- headerButton?: SectionButton;
13
- headerSecondaryButton?: SectionButton;
14
- footerButton?: SectionButton;
11
+ type SectionButton = TextButtonMinimumProps | ReactNode;
12
+ interface PageSectionProps extends WithChildrenProp {
13
+ title: string;
14
+ headerButton?: SectionButton;
15
+ headerSecondaryButton?: SectionButton;
16
+ footerButton?: SectionButton;
15
17
  }
16
- export declare const PageSection: React.FC<PageSectionProps>;
17
- export {};
18
+ declare const PageSection: React$1.FC<PageSectionProps>;
19
+ //#endregion
20
+ export { PageSection, PageSectionProps, SectionButton };
@@ -1,67 +1,63 @@
1
- import { Box, FlexBox, Text, TextButton } from '@codecademy/gamut';
2
- import * as React from 'react';
3
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { Box, FlexBox, Text, TextButton } from "@codecademy/gamut";
2
+ import "react";
3
+ import { jsx, jsxs } from "react/jsx-runtime";
4
+
5
+ //#region src/PageSection/index.tsx
4
6
  function isSectionButtonATextButton(button) {
5
- return button.text !== undefined;
7
+ return button.text !== void 0;
6
8
  }
7
- export const PageSection = ({
8
- title,
9
- headerButton,
10
- headerSecondaryButton,
11
- footerButton,
12
- children
13
- }) => {
14
- const renderSectionButton = sectionButton => {
15
- if (!isSectionButtonATextButton(sectionButton)) return sectionButton;
16
- const {
17
- text,
18
- ...buttonProps
19
- } = sectionButton;
20
- return /*#__PURE__*/_jsx(TextButton, {
21
- ...buttonProps,
22
- children: text
23
- });
24
- };
25
- const maybeRenderHeaderButton = () => {
26
- if (!headerButton) return null;
27
- return /*#__PURE__*/_jsx(Box, {
28
- ml: 4,
29
- display: "inline",
30
- children: renderSectionButton(headerButton)
31
- });
32
- };
33
- const maybeRenderHeaderSecondaryButton = () => {
34
- if (!headerSecondaryButton) return null;
35
- return renderSectionButton(headerSecondaryButton);
36
- };
37
- const renderSectionHeader = () =>
38
- /*#__PURE__*/
39
- // Setting height directly to height of the buttons so if they are omitted
40
- // the header remains the same height.
41
- _jsxs(FlexBox, {
42
- height: "2.5rem",
43
- mb: 8,
44
- justifyContent: "space-between",
45
- children: [/*#__PURE__*/_jsxs(FlexBox, {
46
- alignItems: "center",
47
- children: [/*#__PURE__*/_jsx(Text, {
48
- as: "h2",
49
- fontSize: 22,
50
- children: title
51
- }), maybeRenderHeaderButton()]
52
- }), maybeRenderHeaderSecondaryButton()]
53
- });
54
- const maybeRenderSectionFooter = () => {
55
- if (!footerButton) return null;
56
- return /*#__PURE__*/_jsx(FlexBox, {
57
- justifyContent: "flex-end",
58
- mt: 16,
59
- children: renderSectionButton(footerButton)
60
- });
61
- };
62
- return /*#__PURE__*/_jsxs(FlexBox, {
63
- flexDirection: "column",
64
- mb: 48,
65
- children: [renderSectionHeader(), children, maybeRenderSectionFooter()]
66
- });
67
- };
9
+ const PageSection = ({ title, headerButton, headerSecondaryButton, footerButton, children }) => {
10
+ const renderSectionButton = (sectionButton) => {
11
+ if (!isSectionButtonATextButton(sectionButton)) return sectionButton;
12
+ const { text, ...buttonProps } = sectionButton;
13
+ return /* @__PURE__ */ jsx(TextButton, {
14
+ ...buttonProps,
15
+ children: text
16
+ });
17
+ };
18
+ const maybeRenderHeaderButton = () => {
19
+ if (!headerButton) return null;
20
+ return /* @__PURE__ */ jsx(Box, {
21
+ ml: 4,
22
+ display: "inline",
23
+ children: renderSectionButton(headerButton)
24
+ });
25
+ };
26
+ const maybeRenderHeaderSecondaryButton = () => {
27
+ if (!headerSecondaryButton) return null;
28
+ return renderSectionButton(headerSecondaryButton);
29
+ };
30
+ const renderSectionHeader = () => /* @__PURE__ */ jsxs(FlexBox, {
31
+ height: "2.5rem",
32
+ mb: 8,
33
+ justifyContent: "space-between",
34
+ children: [/* @__PURE__ */ jsxs(FlexBox, {
35
+ alignItems: "center",
36
+ children: [/* @__PURE__ */ jsx(Text, {
37
+ as: "h2",
38
+ fontSize: 22,
39
+ children: title
40
+ }), maybeRenderHeaderButton()]
41
+ }), maybeRenderHeaderSecondaryButton()]
42
+ });
43
+ const maybeRenderSectionFooter = () => {
44
+ if (!footerButton) return null;
45
+ return /* @__PURE__ */ jsx(FlexBox, {
46
+ justifyContent: "flex-end",
47
+ mt: 16,
48
+ children: renderSectionButton(footerButton)
49
+ });
50
+ };
51
+ return /* @__PURE__ */ jsxs(FlexBox, {
52
+ flexDirection: "column",
53
+ mb: 48,
54
+ children: [
55
+ renderSectionHeader(),
56
+ children,
57
+ maybeRenderSectionFooter()
58
+ ]
59
+ });
60
+ };
61
+
62
+ //#endregion
63
+ export { PageSection };
@@ -0,0 +1,28 @@
1
+ const require_rolldown_runtime = require('../../_virtual/rolldown_runtime.cjs');
2
+ const require_pastDueMessages = require('../pastDueMessages.cjs');
3
+ let _codecademy_gamut = require("@codecademy/gamut");
4
+ let react = require("react");
5
+ react = require_rolldown_runtime.__toESM(react);
6
+ let react_jsx_runtime = require("react/jsx-runtime");
7
+
8
+ //#region src/PastDue/PastDueModalContents/index.tsx
9
+ const PastDueModalContents = ({ pastDueErrorCode, isSilverPlan, closeButton, updatePaymentButton }) => {
10
+ const pastDueErrorMessage = require_pastDueMessages.pastDueErrorMessages(isSilverPlan, false)[pastDueErrorCode] || require_pastDueMessages.pastDueErrorMessages(isSilverPlan, false).default;
11
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.FlexBox, {
12
+ column: true,
13
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.Box, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Text, {
14
+ mb: 12,
15
+ children: pastDueErrorMessage.text1
16
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Text, {
17
+ mb: 12,
18
+ children: pastDueErrorMessage.text2
19
+ })] })
20
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.FlexBox, {
21
+ justifyContent: "end",
22
+ alignItems: "end",
23
+ children: [closeButton, updatePaymentButton]
24
+ })] });
25
+ };
26
+
27
+ //#endregion
28
+ exports.PastDueModalContents = PastDueModalContents;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+
3
+ //#region src/PastDue/PastDueModalContents/index.d.ts
4
+ interface PastDueModalProps {
5
+ pastDueErrorCode: string;
6
+ isSilverPlan: boolean;
7
+ closeButton: React.ReactNode;
8
+ updatePaymentButton: React.ReactNode;
9
+ }
10
+ declare const PastDueModalContents: React.FC<React.PropsWithChildren<PastDueModalProps>>;
11
+ //#endregion
12
+ export { PastDueModalContents, PastDueModalProps };
@@ -1,8 +1,12 @@
1
- import React from 'react';
2
- export interface PastDueModalProps {
3
- pastDueErrorCode: string;
4
- isSilverPlan: boolean;
5
- closeButton: React.ReactNode;
6
- updatePaymentButton: React.ReactNode;
1
+ import React from "react";
2
+
3
+ //#region src/PastDue/PastDueModalContents/index.d.ts
4
+ interface PastDueModalProps {
5
+ pastDueErrorCode: string;
6
+ isSilverPlan: boolean;
7
+ closeButton: React.ReactNode;
8
+ updatePaymentButton: React.ReactNode;
7
9
  }
8
- export declare const PastDueModalContents: React.FC<React.PropsWithChildren<PastDueModalProps>>;
10
+ declare const PastDueModalContents: React.FC<React.PropsWithChildren<PastDueModalProps>>;
11
+ //#endregion
12
+ export { PastDueModalContents, PastDueModalProps };
@@ -1,30 +1,26 @@
1
- import { Box, FlexBox, Text } from '@codecademy/gamut';
2
- import React from 'react';
3
- import { pastDueErrorMessages } from '../pastDueMessages';
4
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
5
- export const PastDueModalContents = ({
6
- pastDueErrorCode,
7
- isSilverPlan,
8
- closeButton,
9
- updatePaymentButton
10
- }) => {
11
- const pastDueErrorMessage = pastDueErrorMessages(isSilverPlan, false)[pastDueErrorCode] || pastDueErrorMessages(isSilverPlan, false).default;
12
- return /*#__PURE__*/_jsxs(_Fragment, {
13
- children: [/*#__PURE__*/_jsx(FlexBox, {
14
- column: true,
15
- children: /*#__PURE__*/_jsxs(Box, {
16
- children: [/*#__PURE__*/_jsx(Text, {
17
- mb: 12,
18
- children: pastDueErrorMessage.text1
19
- }), /*#__PURE__*/_jsx(Text, {
20
- mb: 12,
21
- children: pastDueErrorMessage.text2
22
- })]
23
- })
24
- }), /*#__PURE__*/_jsxs(FlexBox, {
25
- justifyContent: "end",
26
- alignItems: "end",
27
- children: [closeButton, updatePaymentButton]
28
- })]
29
- });
30
- };
1
+ import { pastDueErrorMessages } from "../pastDueMessages.js";
2
+ import { Box, FlexBox, Text } from "@codecademy/gamut";
3
+ import React from "react";
4
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
+
6
+ //#region src/PastDue/PastDueModalContents/index.tsx
7
+ const PastDueModalContents = ({ pastDueErrorCode, isSilverPlan, closeButton, updatePaymentButton }) => {
8
+ const pastDueErrorMessage = pastDueErrorMessages(isSilverPlan, false)[pastDueErrorCode] || pastDueErrorMessages(isSilverPlan, false).default;
9
+ return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(FlexBox, {
10
+ column: true,
11
+ children: /* @__PURE__ */ jsxs(Box, { children: [/* @__PURE__ */ jsx(Text, {
12
+ mb: 12,
13
+ children: pastDueErrorMessage.text1
14
+ }), /* @__PURE__ */ jsx(Text, {
15
+ mb: 12,
16
+ children: pastDueErrorMessage.text2
17
+ })] })
18
+ }), /* @__PURE__ */ jsxs(FlexBox, {
19
+ justifyContent: "end",
20
+ alignItems: "end",
21
+ children: [closeButton, updatePaymentButton]
22
+ })] });
23
+ };
24
+
25
+ //#endregion
26
+ export { PastDueModalContents };
@@ -0,0 +1,5 @@
1
+ const require_pastDueMessages = require('./pastDueMessages.cjs');
2
+ const require_index = require('./PastDueModalContents/index.cjs');
3
+
4
+ exports.PastDueModalContents = require_index.PastDueModalContents;
5
+ exports.pastDueErrorMessages = require_pastDueMessages.pastDueErrorMessages;
@@ -0,0 +1,3 @@
1
+ import { PastDueModalContents, PastDueModalProps } from "./PastDueModalContents/index.cjs";
2
+ import { pastDueErrorMessages } from "./pastDueMessages.cjs";
3
+ export { PastDueModalContents, PastDueModalProps, pastDueErrorMessages };
@@ -1,2 +1,3 @@
1
- export * from './PastDueModalContents';
2
- export * from './pastDueMessages';
1
+ import { PastDueModalContents, PastDueModalProps } from "./PastDueModalContents/index.js";
2
+ import { pastDueErrorMessages } from "./pastDueMessages.js";
3
+ export { PastDueModalContents, PastDueModalProps, pastDueErrorMessages };
@@ -1,2 +1,4 @@
1
- export * from './PastDueModalContents';
2
- export * from './pastDueMessages';
1
+ import { pastDueErrorMessages } from "./pastDueMessages.js";
2
+ import { PastDueModalContents } from "./PastDueModalContents/index.js";
3
+
4
+ export { PastDueModalContents, pastDueErrorMessages };
@@ -0,0 +1,55 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ let _codecademy_gamut = require("@codecademy/gamut");
3
+ let _emotion_styled = require("@emotion/styled");
4
+ _emotion_styled = require_rolldown_runtime.__toESM(_emotion_styled);
5
+ let react_jsx_runtime = require("react/jsx-runtime");
6
+
7
+ //#region src/PastDue/pastDueMessages.tsx
8
+ const StyledAnchor = (0, _emotion_styled.default)(_codecademy_gamut.Anchor)`
9
+ ${({ theme, isAlert }) => isAlert ? `color: ${theme.colors.white}` : ""};
10
+ `;
11
+ const pastDueErrorMessages = (isSilverPlan, isAlert) => ({
12
+ insufficient_funds: {
13
+ text1: `Your payment did not go through due to insufficient funds.`,
14
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
15
+ },
16
+ declined: {
17
+ text1: `Your payment did not go through. Contact your bank or card issuer to find out more.`,
18
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
19
+ },
20
+ temporary_hold: {
21
+ text1: `Your payment method was placed on a temporary hold. Contact your bank or card issuer to find out more.`,
22
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
23
+ },
24
+ invalid_transaction: {
25
+ text1: `Your payment did not go through. Contact your bank or card issuer to find out more about possible transaction restrictions.`,
26
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
27
+ },
28
+ invalid_account_number: {
29
+ text1: `Your payment did not go through because your card details may be incorrect.`,
30
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your card details or payment method.`
31
+ },
32
+ expired_card: {
33
+ text1: `Your payment did not go through because your card is expired.`,
34
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
35
+ },
36
+ default: {
37
+ text1: `Your payment did not go through. To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`,
38
+ text2: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
39
+ "Let our",
40
+ " ",
41
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledAnchor, {
42
+ href: "https://help.codecademy.com/hc/en-us",
43
+ target: "_blank",
44
+ rel: "noreferrer",
45
+ isAlert,
46
+ children: "customer support"
47
+ }),
48
+ " ",
49
+ "team know if you have further questions."
50
+ ] })
51
+ }
52
+ });
53
+
54
+ //#endregion
55
+ exports.pastDueErrorMessages = pastDueErrorMessages;
@@ -0,0 +1,8 @@
1
+ //#region src/PastDue/pastDueMessages.d.ts
2
+ interface PastDueErrorMessage {
3
+ text1: string;
4
+ text2: string | JSX.Element;
5
+ }
6
+ declare const pastDueErrorMessages: (isSilverPlan: boolean, isAlert: boolean) => Record<string, PastDueErrorMessage>;
7
+ //#endregion
8
+ export { pastDueErrorMessages };
@@ -1,6 +1,8 @@
1
+ //#region src/PastDue/pastDueMessages.d.ts
1
2
  interface PastDueErrorMessage {
2
- text1: string;
3
- text2: string | JSX.Element;
3
+ text1: string;
4
+ text2: string | JSX.Element;
4
5
  }
5
- export declare const pastDueErrorMessages: (isSilverPlan: boolean, isAlert: boolean) => Record<string, PastDueErrorMessage>;
6
- export {};
6
+ declare const pastDueErrorMessages: (isSilverPlan: boolean, isAlert: boolean) => Record<string, PastDueErrorMessage>;
7
+ //#endregion
8
+ export { pastDueErrorMessages };
@@ -1,48 +1,53 @@
1
- import _styled from "@emotion/styled/base";
2
- import { Anchor } from '@codecademy/gamut';
3
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
4
- const StyledAnchor = /*#__PURE__*/_styled(Anchor, {
5
- target: "ej6f6si0",
6
- label: "StyledAnchor"
7
- })(({
8
- theme,
9
- isAlert
10
- }) => isAlert ? `color: ${theme.colors.white}` : '', ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9QYXN0RHVlL3Bhc3REdWVNZXNzYWdlcy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUXlEIiwiZmlsZSI6Ii4uLy4uL3NyYy9QYXN0RHVlL3Bhc3REdWVNZXNzYWdlcy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBbmNob3IgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dCc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmludGVyZmFjZSBQYXN0RHVlRXJyb3JNZXNzYWdlIHtcbiAgdGV4dDE6IHN0cmluZztcbiAgdGV4dDI6IHN0cmluZyB8IEpTWC5FbGVtZW50O1xufVxuXG5jb25zdCBTdHlsZWRBbmNob3IgPSBzdHlsZWQoQW5jaG9yKTx7IGlzQWxlcnQ6IGJvb2xlYW4gfT5gXG4gICR7KHsgdGhlbWUsIGlzQWxlcnQgfSkgPT4gKGlzQWxlcnQgPyBgY29sb3I6ICR7dGhlbWUuY29sb3JzLndoaXRlfWAgOiAnJyl9O1xuYDtcblxuZXhwb3J0IGNvbnN0IHBhc3REdWVFcnJvck1lc3NhZ2VzID0gKFxuICBpc1NpbHZlclBsYW46IGJvb2xlYW4sXG4gIGlzQWxlcnQ6IGJvb2xlYW5cbik6IFJlY29yZDxzdHJpbmcsIFBhc3REdWVFcnJvck1lc3NhZ2U+ID0+ICh7XG4gIGluc3VmZmljaWVudF9mdW5kczoge1xuICAgIHRleHQxOiBgWW91ciBwYXltZW50IGRpZCBub3QgZ28gdGhyb3VnaCBkdWUgdG8gaW5zdWZmaWNpZW50IGZ1bmRzLmAsXG4gICAgdGV4dDI6IGBUbyBrZWVwIGxlYXJuaW5nIHdpdGggQ29kZWNhZGVteSAke1xuICAgICAgaXNTaWx2ZXJQbGFuID8gJ1BsdXMnIDogJ1BybydcbiAgICB9LCBwbGVhc2UgdXBkYXRlIHlvdXIgcGF5bWVudCBtZXRob2QuYCxcbiAgfSxcbiAgZGVjbGluZWQ6IHtcbiAgICB0ZXh0MTogYFlvdXIgcGF5bWVudCBkaWQgbm90IGdvIHRocm91Z2guIENvbnRhY3QgeW91ciBiYW5rIG9yIGNhcmQgaXNzdWVyIHRvIGZpbmQgb3V0IG1vcmUuYCxcbiAgICB0ZXh0MjogYFRvIGtlZXAgbGVhcm5pbmcgd2l0aCBDb2RlY2FkZW15ICR7XG4gICAgICBpc1NpbHZlclBsYW4gPyAnUGx1cycgOiAnUHJvJ1xuICAgIH0sIHBsZWFzZSB1cGRhdGUgeW91ciBwYXltZW50IG1ldGhvZC5gLFxuICB9LFxuICB0ZW1wb3JhcnlfaG9sZDoge1xuICAgIHRleHQxOiBgWW91ciBwYXltZW50IG1ldGhvZCB3YXMgcGxhY2VkIG9uIGEgdGVtcG9yYXJ5IGhvbGQuIENvbnRhY3QgeW91ciBiYW5rIG9yIGNhcmQgaXNzdWVyIHRvIGZpbmQgb3V0IG1vcmUuYCxcbiAgICB0ZXh0MjogYFRvIGtlZXAgbGVhcm5pbmcgd2l0aCBDb2RlY2FkZW15ICR7XG4gICAgICBpc1NpbHZlclBsYW4gPyAnUGx1cycgOiAnUHJvJ1xuICAgIH0sIHBsZWFzZSB1cGRhdGUgeW91ciBwYXltZW50IG1ldGhvZC5gLFxuICB9LFxuICBpbnZhbGlkX3RyYW5zYWN0aW9uOiB7XG4gICAgdGV4dDE6IGBZb3VyIHBheW1lbnQgZGlkIG5vdCBnbyB0aHJvdWdoLiBDb250YWN0IHlvdXIgYmFuayBvciBjYXJkIGlzc3VlciB0byBmaW5kIG91dCBtb3JlIGFib3V0IHBvc3NpYmxlIHRyYW5zYWN0aW9uIHJlc3RyaWN0aW9ucy5gLFxuICAgIHRleHQyOiBgVG8ga2VlcCBsZWFybmluZyB3aXRoIENvZGVjYWRlbXkgJHtcbiAgICAgIGlzU2lsdmVyUGxhbiA/ICdQbHVzJyA6ICdQcm8nXG4gICAgfSwgcGxlYXNlIHVwZGF0ZSB5b3VyIHBheW1lbnQgbWV0aG9kLmAsXG4gIH0sXG4gIGludmFsaWRfYWNjb3VudF9udW1iZXI6IHtcbiAgICB0ZXh0MTogYFlvdXIgcGF5bWVudCBkaWQgbm90IGdvIHRocm91Z2ggYmVjYXVzZSB5b3VyIGNhcmQgZGV0YWlscyBtYXkgYmUgaW5jb3JyZWN0LmAsXG4gICAgdGV4dDI6IGBUbyBrZWVwIGxlYXJuaW5nIHdpdGggQ29kZWNhZGVteSAke1xuICAgICAgaXNTaWx2ZXJQbGFuID8gJ1BsdXMnIDogJ1BybydcbiAgICB9LCBwbGVhc2UgdXBkYXRlIHlvdXIgY2FyZCBkZXRhaWxzIG9yIHBheW1lbnQgbWV0aG9kLmAsXG4gIH0sXG4gIGV4cGlyZWRfY2FyZDoge1xuICAgIHRleHQxOiBgWW91ciBwYXltZW50IGRpZCBub3QgZ28gdGhyb3VnaCBiZWNhdXNlIHlvdXIgY2FyZCBpcyBleHBpcmVkLmAsXG4gICAgdGV4dDI6IGBUbyBrZWVwIGxlYXJuaW5nIHdpdGggQ29kZWNhZGVteSAke1xuICAgICAgaXNTaWx2ZXJQbGFuID8gJ1BsdXMnIDogJ1BybydcbiAgICB9LCBwbGVhc2UgdXBkYXRlIHlvdXIgcGF5bWVudCBtZXRob2QuYCxcbiAgfSxcbiAgZGVmYXVsdDoge1xuICAgIHRleHQxOiBgWW91ciBwYXltZW50IGRpZCBub3QgZ28gdGhyb3VnaC4gVG8ga2VlcCBsZWFybmluZyB3aXRoIENvZGVjYWRlbXkgJHtcbiAgICAgIGlzU2lsdmVyUGxhbiA/ICdQbHVzJyA6ICdQcm8nXG4gICAgfSwgcGxlYXNlIHVwZGF0ZSB5b3VyIHBheW1lbnQgbWV0aG9kLmAsXG4gICAgdGV4dDI6IChcbiAgICAgIDw+XG4gICAgICAgIExldCBvdXJ7JyAnfVxuICAgICAgICA8U3R5bGVkQW5jaG9yXG4gICAgICAgICAgaHJlZj1cImh0dHBzOi8vaGVscC5jb2RlY2FkZW15LmNvbS9oYy9lbi11c1wiXG4gICAgICAgICAgdGFyZ2V0PVwiX2JsYW5rXCJcbiAgICAgICAgICByZWw9XCJub3JlZmVycmVyXCJcbiAgICAgICAgICBpc0FsZXJ0PXtpc0FsZXJ0fVxuICAgICAgICA+XG4gICAgICAgICAgY3VzdG9tZXIgc3VwcG9ydFxuICAgICAgICA8L1N0eWxlZEFuY2hvcj57JyAnfVxuICAgICAgICB0ZWFtIGtub3cgaWYgeW91IGhhdmUgZnVydGhlciBxdWVzdGlvbnMuXG4gICAgICA8Lz5cbiAgICApLFxuICB9LFxufSk7XG4iXX0= */"));
11
- export const pastDueErrorMessages = (isSilverPlan, isAlert) => ({
12
- insufficient_funds: {
13
- text1: `Your payment did not go through due to insufficient funds.`,
14
- text2: `To keep learning with Codecademy ${isSilverPlan ? 'Plus' : 'Pro'}, please update your payment method.`
15
- },
16
- declined: {
17
- text1: `Your payment did not go through. Contact your bank or card issuer to find out more.`,
18
- text2: `To keep learning with Codecademy ${isSilverPlan ? 'Plus' : 'Pro'}, please update your payment method.`
19
- },
20
- temporary_hold: {
21
- text1: `Your payment method was placed on a temporary hold. Contact your bank or card issuer to find out more.`,
22
- text2: `To keep learning with Codecademy ${isSilverPlan ? 'Plus' : 'Pro'}, please update your payment method.`
23
- },
24
- invalid_transaction: {
25
- text1: `Your payment did not go through. Contact your bank or card issuer to find out more about possible transaction restrictions.`,
26
- text2: `To keep learning with Codecademy ${isSilverPlan ? 'Plus' : 'Pro'}, please update your payment method.`
27
- },
28
- invalid_account_number: {
29
- text1: `Your payment did not go through because your card details may be incorrect.`,
30
- text2: `To keep learning with Codecademy ${isSilverPlan ? 'Plus' : 'Pro'}, please update your card details or payment method.`
31
- },
32
- expired_card: {
33
- text1: `Your payment did not go through because your card is expired.`,
34
- text2: `To keep learning with Codecademy ${isSilverPlan ? 'Plus' : 'Pro'}, please update your payment method.`
35
- },
36
- default: {
37
- text1: `Your payment did not go through. To keep learning with Codecademy ${isSilverPlan ? 'Plus' : 'Pro'}, please update your payment method.`,
38
- text2: /*#__PURE__*/_jsxs(_Fragment, {
39
- children: ["Let our", ' ', /*#__PURE__*/_jsx(StyledAnchor, {
40
- href: "https://help.codecademy.com/hc/en-us",
41
- target: "_blank",
42
- rel: "noreferrer",
43
- isAlert: isAlert,
44
- children: "customer support"
45
- }), ' ', "team know if you have further questions."]
46
- })
47
- }
48
- });
1
+ import { Anchor } from "@codecademy/gamut";
2
+ import styled from "@emotion/styled";
3
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
+
5
+ //#region src/PastDue/pastDueMessages.tsx
6
+ const StyledAnchor = styled(Anchor)`
7
+ ${({ theme, isAlert }) => isAlert ? `color: ${theme.colors.white}` : ""};
8
+ `;
9
+ const pastDueErrorMessages = (isSilverPlan, isAlert) => ({
10
+ insufficient_funds: {
11
+ text1: `Your payment did not go through due to insufficient funds.`,
12
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
13
+ },
14
+ declined: {
15
+ text1: `Your payment did not go through. Contact your bank or card issuer to find out more.`,
16
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
17
+ },
18
+ temporary_hold: {
19
+ text1: `Your payment method was placed on a temporary hold. Contact your bank or card issuer to find out more.`,
20
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
21
+ },
22
+ invalid_transaction: {
23
+ text1: `Your payment did not go through. Contact your bank or card issuer to find out more about possible transaction restrictions.`,
24
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
25
+ },
26
+ invalid_account_number: {
27
+ text1: `Your payment did not go through because your card details may be incorrect.`,
28
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your card details or payment method.`
29
+ },
30
+ expired_card: {
31
+ text1: `Your payment did not go through because your card is expired.`,
32
+ text2: `To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`
33
+ },
34
+ default: {
35
+ text1: `Your payment did not go through. To keep learning with Codecademy ${isSilverPlan ? "Plus" : "Pro"}, please update your payment method.`,
36
+ text2: /* @__PURE__ */ jsxs(Fragment, { children: [
37
+ "Let our",
38
+ " ",
39
+ /* @__PURE__ */ jsx(StyledAnchor, {
40
+ href: "https://help.codecademy.com/hc/en-us",
41
+ target: "_blank",
42
+ rel: "noreferrer",
43
+ isAlert,
44
+ children: "customer support"
45
+ }),
46
+ " ",
47
+ "team know if you have further questions."
48
+ ] })
49
+ }
50
+ });
51
+
52
+ //#endregion
53
+ export { pastDueErrorMessages };