@codecademy/brand 3.40.1-alpha.db88c958d7.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,38 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_SectionItemLink = require('./SectionItemLink.cjs');
3
+ const require_SelectedSectionItem = require('./SelectedSectionItem.cjs');
4
+ let _codecademy_gamut = require("@codecademy/gamut");
5
+ let react = require("react");
6
+ react = require_rolldown_runtime.__toESM(react);
7
+ let react_jsx_runtime = require("react/jsx-runtime");
8
+
9
+ //#region src/LayoutMenu/LayoutMenuSection.tsx
10
+ const LayoutMenuSection = ({ items, selectedItem, onItemClick, verticalSpacing = 8, ...styleProps }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Box, {
11
+ as: "ul",
12
+ listStyleType: "none",
13
+ p: 0,
14
+ m: 0,
15
+ ...styleProps,
16
+ children: items.map((item) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Box, {
17
+ as: "li",
18
+ py: verticalSpacing,
19
+ px: 4,
20
+ children: selectedItem === item.slug ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SelectedSectionItem.SelectedSectionItem, { children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.FlexBox, {
21
+ alignItems: "center",
22
+ children: [item.title, item.badge]
23
+ }) }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SectionItemLink.SectionItemLink, {
24
+ href: item.href,
25
+ onClick: (event) => {
26
+ item.onClick(event);
27
+ onItemClick();
28
+ },
29
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.FlexBox, {
30
+ alignItems: "center",
31
+ children: [item.title, item.badge]
32
+ })
33
+ })
34
+ }, item.slug))
35
+ });
36
+
37
+ //#endregion
38
+ exports.LayoutMenuSection = LayoutMenuSection;
@@ -1,39 +1,36 @@
1
- import { Box, FlexBox } from '@codecademy/gamut';
2
- import * as React from 'react';
3
- import { SectionItemLink } from './SectionItemLink';
4
- import { SelectedSectionItem } from './SelectedSectionItem';
5
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
6
- export const LayoutMenuSection = ({
7
- items,
8
- selectedItem,
9
- onItemClick,
10
- verticalSpacing = 8,
11
- ...styleProps
12
- }) => /*#__PURE__*/_jsx(Box, {
13
- as: "ul",
14
- listStyleType: "none",
15
- p: 0,
16
- m: 0,
17
- ...styleProps,
18
- children: items.map(item => /*#__PURE__*/_jsx(Box, {
19
- as: "li",
20
- py: verticalSpacing,
21
- px: 4,
22
- children: selectedItem === item.slug ? /*#__PURE__*/_jsx(SelectedSectionItem, {
23
- children: /*#__PURE__*/_jsxs(FlexBox, {
24
- alignItems: "center",
25
- children: [item.title, item.badge]
26
- })
27
- }) : /*#__PURE__*/_jsx(SectionItemLink, {
28
- href: item.href,
29
- onClick: event => {
30
- item.onClick(event);
31
- onItemClick();
32
- },
33
- children: /*#__PURE__*/_jsxs(FlexBox, {
34
- alignItems: "center",
35
- children: [item.title, item.badge]
36
- })
37
- })
38
- }, item.slug))
39
- });
1
+ import { SectionItemLink } from "./SectionItemLink.js";
2
+ import { SelectedSectionItem } from "./SelectedSectionItem.js";
3
+ import { Box, FlexBox } from "@codecademy/gamut";
4
+ import "react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+
7
+ //#region src/LayoutMenu/LayoutMenuSection.tsx
8
+ const LayoutMenuSection = ({ items, selectedItem, onItemClick, verticalSpacing = 8, ...styleProps }) => /* @__PURE__ */ jsx(Box, {
9
+ as: "ul",
10
+ listStyleType: "none",
11
+ p: 0,
12
+ m: 0,
13
+ ...styleProps,
14
+ children: items.map((item) => /* @__PURE__ */ jsx(Box, {
15
+ as: "li",
16
+ py: verticalSpacing,
17
+ px: 4,
18
+ children: selectedItem === item.slug ? /* @__PURE__ */ jsx(SelectedSectionItem, { children: /* @__PURE__ */ jsxs(FlexBox, {
19
+ alignItems: "center",
20
+ children: [item.title, item.badge]
21
+ }) }) : /* @__PURE__ */ jsx(SectionItemLink, {
22
+ href: item.href,
23
+ onClick: (event) => {
24
+ item.onClick(event);
25
+ onItemClick();
26
+ },
27
+ children: /* @__PURE__ */ jsxs(FlexBox, {
28
+ alignItems: "center",
29
+ children: [item.title, item.badge]
30
+ })
31
+ })
32
+ }, item.slug))
33
+ });
34
+
35
+ //#endregion
36
+ export { LayoutMenuSection };
@@ -0,0 +1,19 @@
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/LayoutMenu/SectionItemLink.tsx
8
+ const SectionItemLink = ({ onClick, href, children }) => {
9
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Anchor, {
10
+ variant: "interface",
11
+ display: "block",
12
+ href,
13
+ onClick,
14
+ children
15
+ });
16
+ };
17
+
18
+ //#endregion
19
+ exports.SectionItemLink = SectionItemLink;
@@ -0,0 +1,11 @@
1
+ import { WithChildrenProp } from "@codecademy/gamut";
2
+ import * as React$1 from "react";
3
+
4
+ //#region src/LayoutMenu/SectionItemLink.d.ts
5
+ interface SectionItemLinkProps extends WithChildrenProp {
6
+ onClick: (event: React$1.MouseEvent) => void;
7
+ href: string;
8
+ }
9
+ declare const SectionItemLink: React$1.FC<SectionItemLinkProps>;
10
+ //#endregion
11
+ export { SectionItemLink, SectionItemLinkProps };
@@ -1,7 +1,11 @@
1
- import { WithChildrenProp } from '@codecademy/gamut';
2
- import * as React from 'react';
3
- export interface SectionItemLinkProps extends WithChildrenProp {
4
- onClick: (event: React.MouseEvent) => void;
5
- href: string;
1
+ import { WithChildrenProp } from "@codecademy/gamut";
2
+ import * as React$1 from "react";
3
+
4
+ //#region src/LayoutMenu/SectionItemLink.d.ts
5
+ interface SectionItemLinkProps extends WithChildrenProp {
6
+ onClick: (event: React$1.MouseEvent) => void;
7
+ href: string;
6
8
  }
7
- export declare const SectionItemLink: React.FC<SectionItemLinkProps>;
9
+ declare const SectionItemLink: React$1.FC<SectionItemLinkProps>;
10
+ //#endregion
11
+ export { SectionItemLink, SectionItemLinkProps };
@@ -1,16 +1,17 @@
1
- import { Anchor } from '@codecademy/gamut';
2
- import * as React from 'react';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- export const SectionItemLink = ({
5
- onClick,
6
- href,
7
- children
8
- }) => {
9
- return /*#__PURE__*/_jsx(Anchor, {
10
- variant: "interface",
11
- display: "block",
12
- href: href,
13
- onClick: onClick,
14
- children: children
15
- });
16
- };
1
+ import { Anchor } from "@codecademy/gamut";
2
+ import "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+
5
+ //#region src/LayoutMenu/SectionItemLink.tsx
6
+ const SectionItemLink = ({ onClick, href, children }) => {
7
+ return /* @__PURE__ */ jsx(Anchor, {
8
+ variant: "interface",
9
+ display: "block",
10
+ href,
11
+ onClick,
12
+ children
13
+ });
14
+ };
15
+
16
+ //#endregion
17
+ export { SectionItemLink };
@@ -0,0 +1,22 @@
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/LayoutMenu/SelectedSectionItem.tsx
8
+ const SelectedSectionItem = ({ children }) => {
9
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Box, {
10
+ borderLeft: 1,
11
+ borderWidthLeft: "6px",
12
+ pl: 12,
13
+ "aria-current": "true",
14
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Text, {
15
+ fontWeight: "title",
16
+ children
17
+ })
18
+ });
19
+ };
20
+
21
+ //#endregion
22
+ exports.SelectedSectionItem = SelectedSectionItem;
@@ -0,0 +1,7 @@
1
+ import { WithChildrenProp } from "@codecademy/gamut";
2
+ import * as React$1 from "react";
3
+
4
+ //#region src/LayoutMenu/SelectedSectionItem.d.ts
5
+ declare const SelectedSectionItem: React$1.FC<WithChildrenProp>;
6
+ //#endregion
7
+ export { SelectedSectionItem };
@@ -1,3 +1,7 @@
1
- import { WithChildrenProp } from '@codecademy/gamut';
2
- import * as React from 'react';
3
- export declare const SelectedSectionItem: React.FC<WithChildrenProp>;
1
+ import { WithChildrenProp } from "@codecademy/gamut";
2
+ import * as React$1 from "react";
3
+
4
+ //#region src/LayoutMenu/SelectedSectionItem.d.ts
5
+ declare const SelectedSectionItem: React$1.FC<WithChildrenProp>;
6
+ //#endregion
7
+ export { SelectedSectionItem };
@@ -1,17 +1,20 @@
1
- import { Box, Text } from '@codecademy/gamut';
2
- import * as React from 'react';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- export const SelectedSectionItem = ({
5
- children
6
- }) => {
7
- return /*#__PURE__*/_jsx(Box, {
8
- borderLeft: 1,
9
- borderWidthLeft: "6px",
10
- pl: 12,
11
- "aria-current": "true",
12
- children: /*#__PURE__*/_jsx(Text, {
13
- fontWeight: "title",
14
- children: children
15
- })
16
- });
17
- };
1
+ import { Box, Text } from "@codecademy/gamut";
2
+ import "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+
5
+ //#region src/LayoutMenu/SelectedSectionItem.tsx
6
+ const SelectedSectionItem = ({ children }) => {
7
+ return /* @__PURE__ */ jsx(Box, {
8
+ borderLeft: 1,
9
+ borderWidthLeft: "6px",
10
+ pl: 12,
11
+ "aria-current": "true",
12
+ children: /* @__PURE__ */ jsx(Text, {
13
+ fontWeight: "title",
14
+ children
15
+ })
16
+ });
17
+ };
18
+
19
+ //#endregion
20
+ export { SelectedSectionItem };
@@ -0,0 +1,7 @@
1
+ const require_SectionItemLink = require('./SectionItemLink.cjs');
2
+ const require_SelectedSectionItem = require('./SelectedSectionItem.cjs');
3
+ const require_LayoutMenu = require('./LayoutMenu.cjs');
4
+
5
+ exports.LayoutMenu = require_LayoutMenu.LayoutMenu;
6
+ exports.SectionItemLink = require_SectionItemLink.SectionItemLink;
7
+ exports.SelectedSectionItem = require_SelectedSectionItem.SelectedSectionItem;
@@ -0,0 +1,4 @@
1
+ import { LayoutMenu, LayoutMenuProps } from "./LayoutMenu.cjs";
2
+ import { SectionItemLink, SectionItemLinkProps } from "./SectionItemLink.cjs";
3
+ import { SelectedSectionItem } from "./SelectedSectionItem.cjs";
4
+ export { LayoutMenu, LayoutMenuProps, SectionItemLink, SectionItemLinkProps, SelectedSectionItem };
@@ -1,3 +1,4 @@
1
- export * from './LayoutMenu';
2
- export * from './SectionItemLink';
3
- export * from './SelectedSectionItem';
1
+ import { LayoutMenu, LayoutMenuProps } from "./LayoutMenu.js";
2
+ import { SectionItemLink, SectionItemLinkProps } from "./SectionItemLink.js";
3
+ import { SelectedSectionItem } from "./SelectedSectionItem.js";
4
+ export { LayoutMenu, LayoutMenuProps, SectionItemLink, SectionItemLinkProps, SelectedSectionItem };
@@ -1,3 +1,5 @@
1
- export * from './LayoutMenu';
2
- export * from './SectionItemLink';
3
- export * from './SelectedSectionItem';
1
+ import { SectionItemLink } from "./SectionItemLink.js";
2
+ import { SelectedSectionItem } from "./SelectedSectionItem.js";
3
+ import { LayoutMenu } from "./LayoutMenu.js";
4
+
5
+ export { LayoutMenu, SectionItemLink, SelectedSectionItem };
@@ -0,0 +1,76 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_LayoutMenuSection = require('./LayoutMenuSection.cjs');
3
+ let _codecademy_gamut = require("@codecademy/gamut");
4
+ let _codecademy_gamut_styles = require("@codecademy/gamut-styles");
5
+ let _emotion_styled = require("@emotion/styled");
6
+ _emotion_styled = require_rolldown_runtime.__toESM(_emotion_styled);
7
+ let react = require("react");
8
+ react = require_rolldown_runtime.__toESM(react);
9
+ let react_jsx_runtime = require("react/jsx-runtime");
10
+ let _codecademy_gamut_icons = require("@codecademy/gamut-icons");
11
+
12
+ //#region src/LayoutMenuVariant/AccordionMenu.tsx
13
+ const StyledAccordionArea = (0, _emotion_styled.default)(_codecademy_gamut.AccordionAreaDeprecated)`
14
+ padding-block: ${({ theme }) => theme.spacing[16]};
15
+ position: relative;
16
+ left: -4px;
17
+
18
+ &:not(:first-child) {
19
+ border-top: 1px solid ${({ theme }) => theme.colors["navy-300"]};
20
+ }
21
+ `;
22
+ const StyledAnchor = (0, _emotion_styled.default)(_codecademy_gamut.Anchor)`
23
+ :hover {
24
+ color: inherit;
25
+ }
26
+ `;
27
+ const chevronStates = (0, _codecademy_gamut_styles.states)({ expanded: { transform: "rotate(180deg)" } });
28
+ const ExpandChevron = (0, _emotion_styled.default)(_codecademy_gamut_icons.MiniChevronDownIcon)((0, _codecademy_gamut_styles.css)({
29
+ transform: "rotate(0deg)",
30
+ transition: (0, _codecademy_gamut_styles.transitionConcat)(["transform"], "slow", "ease-out")
31
+ }), chevronStates);
32
+ const AccordionMenu = ({ section, onSectionToggle, onItemClick }) => {
33
+ const [expanded, setExpanded] = (0, react.useState)(true);
34
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledAccordionArea, {
35
+ expanded,
36
+ top: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledAnchor, {
37
+ variant: "interface",
38
+ pb: 12,
39
+ px: 4,
40
+ onClick: () => {
41
+ onSectionToggle(section.slug);
42
+ setExpanded((prev) => !prev);
43
+ },
44
+ "aria-expanded": expanded,
45
+ display: "flex",
46
+ width: "100%",
47
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.Box, {
48
+ display: "flex",
49
+ justifyContent: "space-between",
50
+ width: "100%",
51
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Text, {
52
+ variant: "p-small",
53
+ style: {
54
+ flex: 1,
55
+ fontWeight: "bold"
56
+ },
57
+ textAlign: "left",
58
+ children: section.title
59
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ExpandChevron, {
60
+ ml: 12,
61
+ size: 16,
62
+ expanded,
63
+ position: "relative",
64
+ top: 4
65
+ })]
66
+ })
67
+ }),
68
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_LayoutMenuSection.LayoutMenuSection, {
69
+ items: section.items,
70
+ onItemClick
71
+ })
72
+ });
73
+ };
74
+
75
+ //#endregion
76
+ exports.AccordionMenu = AccordionMenu;
@@ -0,0 +1,19 @@
1
+ import { Anchor } from "@codecademy/gamut";
2
+ import React from "react";
3
+
4
+ //#region src/LayoutMenuVariant/AccordionMenu.d.ts
5
+ type SectionItem = {
6
+ title: string;
7
+ slug: string;
8
+ href: string;
9
+ onClick: (event: React.MouseEvent) => void;
10
+ badge?: JSX.Element;
11
+ variant?: React.ComponentProps<typeof Anchor>['variant'];
12
+ };
13
+ type Section = {
14
+ title: string;
15
+ slug: string;
16
+ items: SectionItem[];
17
+ };
18
+ //#endregion
19
+ export { Section, SectionItem };
@@ -1,21 +1,19 @@
1
- import { Anchor } from '@codecademy/gamut';
2
- import React from 'react';
3
- export type SectionItem = {
4
- title: string;
5
- slug: string;
6
- href: string;
7
- onClick: (event: React.MouseEvent) => void;
8
- badge?: JSX.Element;
9
- variant?: React.ComponentProps<typeof Anchor>['variant'];
1
+ import { Anchor } from "@codecademy/gamut";
2
+ import React from "react";
3
+
4
+ //#region src/LayoutMenuVariant/AccordionMenu.d.ts
5
+ type SectionItem = {
6
+ title: string;
7
+ slug: string;
8
+ href: string;
9
+ onClick: (event: React.MouseEvent) => void;
10
+ badge?: JSX.Element;
11
+ variant?: React.ComponentProps<typeof Anchor>['variant'];
10
12
  };
11
- export type Section = {
12
- title: string;
13
- slug: string;
14
- items: SectionItem[];
13
+ type Section = {
14
+ title: string;
15
+ slug: string;
16
+ items: SectionItem[];
15
17
  };
16
- export type AccordionMenuProps = {
17
- section: Section;
18
- onSectionToggle: (sectionSlug: string) => void;
19
- onItemClick: () => void;
20
- };
21
- export declare const AccordionMenu: React.FC<AccordionMenuProps>;
18
+ //#endregion
19
+ export { Section, SectionItem };
@@ -1,87 +1,73 @@
1
- import _styled from "@emotion/styled/base";
2
- function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
3
- import { AccordionAreaDeprecated, Anchor, Box, Text } from '@codecademy/gamut';
4
- import { MiniChevronDownIcon } from '@codecademy/gamut-icons';
5
- import { css, states, transitionConcat } from '@codecademy/gamut-styles';
6
- import React, { useState } from 'react';
7
- import { LayoutMenuSection } from './LayoutMenuSection';
8
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
- const StyledAccordionArea = /*#__PURE__*/_styled(AccordionAreaDeprecated, {
10
- target: "e12elcd22",
11
- label: "StyledAccordionArea"
12
- })("padding-block:", ({
13
- theme
14
- }) => theme.spacing[16], ";position:relative;left:-4px;&:not(:first-child){border-top:1px solid ", ({
15
- theme
16
- }) => theme.colors['navy-300'], ";}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9MYXlvdXRNZW51VmFyaWFudC9BY2NvcmRpb25NZW51LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFTMkQiLCJmaWxlIjoiLi4vLi4vc3JjL0xheW91dE1lbnVWYXJpYW50L0FjY29yZGlvbk1lbnUudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQWNjb3JkaW9uQXJlYURlcHJlY2F0ZWQsIEFuY2hvciwgQm94LCBUZXh0IH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQnO1xuaW1wb3J0IHsgTWluaUNoZXZyb25Eb3duSWNvbiB9IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0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17ZXhwYW5kZWR9XG4gICAgICB0b3A9e1xuICAgICAgICA8U3R5bGVkQW5jaG9yXG4gICAgICAgICAgdmFyaWFudD1cImludGVyZmFjZVwiXG4gICAgICAgICAgcGI9ezEyfVxuICAgICAgICAgIHB4PXs0fVxuICAgICAgICAgIG9uQ2xpY2s9eygpID0+IHtcbiAgICAgICAgICAgIG9uU2VjdGlvblRvZ2dsZShzZWN0aW9uLnNsdWcpO1xuICAgICAgICAgICAgc2V0RXhwYW5kZWQoKHByZXYpID0+ICFwcmV2KTtcbiAgICAgICAgICB9fVxuICAgICAgICAgIGFyaWEtZXhwYW5kZWQ9e2V4cGFuZGVkfVxuICAgICAgICAgIGRpc3BsYXk9XCJmbGV4XCJcbiAgICAgICAgICB3aWR0aD1cIjEwMCVcIlxuICAgICAgICA+XG4gICAgICAgICAgPEJveCBkaXNwbGF5PVwiZmxleFwiIGp1c3RpZnlDb250ZW50PVwic3BhY2UtYmV0d2VlblwiIHdpZHRoPVwiMTAwJVwiPlxuICAgICAgICAgICAgPFRleHRcbiAgICAgICAgICAgICAgdmFyaWFudD1cInAtc21hbGxcIlxuICAgICAgICAgICAgICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgZ2FtdXQvbm8taW5saW5lLXN0eWxlXG4gICAgICAgICAgICAgIHN0eWxlPXt7IGZsZXg6IDEsIGZvbnRXZWlnaHQ6ICdib2xkJyB9fVxuICAgICAgICAgICAgICB0ZXh0QWxpZ249XCJsZWZ0XCJcbiAgICAgICAgICAgID5cbiAgICAgICAgICAgICAge3NlY3Rpb24udGl0bGV9XG4gICAgICAgICAgICA8L1RleHQ+XG4gICAgICAgICAgICA8RXhwYW5kQ2hldnJvblxuICAgICAgICAgICAgICBtbD17MTJ9XG4gICAgICAgICAgICAgIHNpemU9ezE2fVxuICAgICAgICAgICAgICBleHBhbmRlZD17ZXhwYW5kZWR9XG4gICAgICAgICAgICAgIHBvc2l0aW9uPVwicmVsYXRpdmVcIlxuICAgICAgICAgICAgICB0b3A9ezR9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvQm94PlxuICAgICAgICA8L1N0eWxlZEFuY2hvcj5cbiAgICAgIH1cbiAgICA+XG4gICAgICA8TGF5b3V0TWVudVNlY3Rpb24gaXRlbXM9e3NlY3Rpb24uaXRlbXN9IG9uSXRlbUNsaWNrPXtvbkl0ZW1DbGlja30gLz5cbiAgICA8L1N0eWxlZEFjY29yZGlvbkFyZWE+XG4gICk7XG59O1xuIl19 */"));
17
- const StyledAnchor = /*#__PURE__*/_styled(Anchor, {
18
- target: "e12elcd21",
19
- label: "StyledAnchor"
20
- })(process.env.NODE_ENV === "production" ? {
21
- name: "8a4698",
22
- styles: ":hover{color:inherit;}"
23
- } : {
24
- name: "8a4698",
25
- styles: ":hover{color:inherit;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9MYXlvdXRNZW51VmFyaWFudC9BY2NvcmRpb25NZW51LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFtQm1DIiwiZmlsZSI6Ii4uLy4uL3NyYy9MYXlvdXRNZW51VmFyaWFudC9BY2NvcmRpb25NZW51LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFjY29yZGlvbkFyZWFEZXByZWNhdGVkLCBBbmNob3IsIEJveCwgVGV4dCB9IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0JztcbmltcG9ydCB7IE1pbmlDaGV2cm9uRG93bkljb24gfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1pY29ucyc7XG5pbXBvcnQgeyBjc3MsIHN0YXRlcywgdHJhbnNpdGlvbkNvbmNhdCB9IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0LXN0eWxlcyc7XG5pbXBvcnQgeyBTdHlsZVByb3BzIH0gZnJvbSAnQGNvZGVjYWRlbXkvdmFyaWFuY2UnO1xuaW1wb3J0I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WNrPXsoKSA9PiB7XG4gICAgICAgICAgICBvblNlY3Rpb25Ub2dnbGUoc2VjdGlvbi5zbHVnKTtcbiAgICAgICAgICAgIHNldEV4cGFuZGVkKChwcmV2KSA9PiAhcHJldik7XG4gICAgICAgICAgfX1cbiAgICAgICAgICBhcmlhLWV4cGFuZGVkPXtleHBhbmRlZH1cbiAgICAgICAgICBkaXNwbGF5PVwiZmxleFwiXG4gICAgICAgICAgd2lkdGg9XCIxMDAlXCJcbiAgICAgICAgPlxuICAgICAgICAgIDxCb3ggZGlzcGxheT1cImZsZXhcIiBqdXN0aWZ5Q29udGVudD1cInNwYWNlLWJldHdlZW5cIiB3aWR0aD1cIjEwMCVcIj5cbiAgICAgICAgICAgIDxUZXh0XG4gICAgICAgICAgICAgIHZhcmlhbnQ9XCJwLXNtYWxsXCJcbiAgICAgICAgICAgICAgLy8gZXNsaW50LWRpc2FibGUtbmV4dC1saW5lIGdhbXV0L25vLWlubGluZS1zdHlsZVxuICAgICAgICAgICAgICBzdHlsZT17eyBmbGV4OiAxLCBmb250V2VpZ2h0OiAnYm9sZCcgfX1cbiAgICAgICAgICAgICAgdGV4dEFsaWduPVwibGVmdFwiXG4gICAgICAgICAgICA+XG4gICAgICAgICAgICAgIHtzZWN0aW9uLnRpdGxlfVxuICAgICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgICAgPEV4cGFuZENoZXZyb25cbiAgICAgICAgICAgICAgbWw9ezEyfVxuICAgICAgICAgICAgICBzaXplPXsxNn1cbiAgICAgICAgICAgICAgZXhwYW5kZWQ9e2V4cGFuZGVkfVxuICAgICAgICAgICAgICBwb3NpdGlvbj1cInJlbGF0aXZlXCJcbiAgICAgICAgICAgICAgdG9wPXs0fVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICA8L0JveD5cbiAgICAgICAgPC9TdHlsZWRBbmNob3I+XG4gICAgICB9XG4gICAgPlxuICAgICAgPExheW91dE1lbnVTZWN0aW9uIGl0ZW1zPXtzZWN0aW9uLml0ZW1zfSBvbkl0ZW1DbGljaz17b25JdGVtQ2xpY2t9IC8+XG4gICAgPC9TdHlsZWRBY2NvcmRpb25BcmVhPlxuICApO1xufTtcbiJdfQ== */",
26
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
27
- });
28
- const chevronStates = states({
29
- expanded: {
30
- transform: 'rotate(180deg)'
1
+ import { LayoutMenuSection } from "./LayoutMenuSection.js";
2
+ import { AccordionAreaDeprecated, Anchor, Box, Text } from "@codecademy/gamut";
3
+ import { css, states, transitionConcat } from "@codecademy/gamut-styles";
4
+ import styled from "@emotion/styled";
5
+ import React, { useState } from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ import { MiniChevronDownIcon } from "@codecademy/gamut-icons";
8
+
9
+ //#region src/LayoutMenuVariant/AccordionMenu.tsx
10
+ const StyledAccordionArea = styled(AccordionAreaDeprecated)`
11
+ padding-block: ${({ theme: theme$1 }) => theme$1.spacing[16]};
12
+ position: relative;
13
+ left: -4px;
14
+
15
+ &:not(:first-child) {
16
+ border-top: 1px solid ${({ theme: theme$1 }) => theme$1.colors["navy-300"]};
31
17
  }
32
- });
33
- const ExpandChevron = /*#__PURE__*/_styled(MiniChevronDownIcon, {
34
- target: "e12elcd20",
35
- label: "ExpandChevron"
36
- })(css({
37
- transform: 'rotate(0deg)',
38
- transition: transitionConcat(['transform'], 'slow', 'ease-out')
39
- }), chevronStates, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9MYXlvdXRNZW51VmFyaWFudC9BY2NvcmRpb25NZW51LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE2QnNCIiwiZmlsZSI6Ii4uLy4uL3NyYy9MYXlvdXRNZW51VmFyaWFudC9BY2NvcmRpb25NZW51LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFjY29yZGlvbkFyZW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ICAgPEV4cGFuZENoZXZyb25cbiAgICAgICAgICAgICAgbWw9ezEyfVxuICAgICAgICAgICAgICBzaXplPXsxNn1cbiAgICAgICAgICAgICAgZXhwYW5kZWQ9e2V4cGFuZGVkfVxuICAgICAgICAgICAgICBwb3NpdGlvbj1cInJlbGF0aXZlXCJcbiAgICAgICAgICAgICAgdG9wPXs0fVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICA8L0JveD5cbiAgICAgICAgPC9TdHlsZWRBbmNob3I+XG4gICAgICB9XG4gICAgPlxuICAgICAgPExheW91dE1lbnVTZWN0aW9uIGl0ZW1zPXtzZWN0aW9uLml0ZW1zfSBvbkl0ZW1DbGljaz17b25JdGVtQ2xpY2t9IC8+XG4gICAgPC9TdHlsZWRBY2NvcmRpb25BcmVhPlxuICApO1xufTtcbiJdfQ== */");
40
- export const AccordionMenu = ({
41
- section,
42
- onSectionToggle,
43
- onItemClick
44
- }) => {
45
- const [expanded, setExpanded] = useState(true);
46
- return /*#__PURE__*/_jsx(StyledAccordionArea, {
47
- expanded: expanded,
48
- top: /*#__PURE__*/_jsx(StyledAnchor, {
49
- variant: "interface",
50
- pb: 12,
51
- px: 4,
52
- onClick: () => {
53
- onSectionToggle(section.slug);
54
- setExpanded(prev => !prev);
55
- },
56
- "aria-expanded": expanded,
57
- display: "flex",
58
- width: "100%",
59
- children: /*#__PURE__*/_jsxs(Box, {
60
- display: "flex",
61
- justifyContent: "space-between",
62
- width: "100%",
63
- children: [/*#__PURE__*/_jsx(Text, {
64
- variant: "p-small"
65
- // eslint-disable-next-line gamut/no-inline-style
66
- ,
67
- style: {
68
- flex: 1,
69
- fontWeight: 'bold'
70
- },
71
- textAlign: "left",
72
- children: section.title
73
- }), /*#__PURE__*/_jsx(ExpandChevron, {
74
- ml: 12,
75
- size: 16,
76
- expanded: expanded,
77
- position: "relative",
78
- top: 4
79
- })]
80
- })
81
- }),
82
- children: /*#__PURE__*/_jsx(LayoutMenuSection, {
83
- items: section.items,
84
- onItemClick: onItemClick
85
- })
86
- });
87
- };
18
+ `;
19
+ const StyledAnchor = styled(Anchor)`
20
+ :hover {
21
+ color: inherit;
22
+ }
23
+ `;
24
+ const chevronStates = states({ expanded: { transform: "rotate(180deg)" } });
25
+ const ExpandChevron = styled(MiniChevronDownIcon)(css({
26
+ transform: "rotate(0deg)",
27
+ transition: transitionConcat(["transform"], "slow", "ease-out")
28
+ }), chevronStates);
29
+ const AccordionMenu = ({ section, onSectionToggle, onItemClick }) => {
30
+ const [expanded, setExpanded] = useState(true);
31
+ return /* @__PURE__ */ jsx(StyledAccordionArea, {
32
+ expanded,
33
+ top: /* @__PURE__ */ jsx(StyledAnchor, {
34
+ variant: "interface",
35
+ pb: 12,
36
+ px: 4,
37
+ onClick: () => {
38
+ onSectionToggle(section.slug);
39
+ setExpanded((prev) => !prev);
40
+ },
41
+ "aria-expanded": expanded,
42
+ display: "flex",
43
+ width: "100%",
44
+ children: /* @__PURE__ */ jsxs(Box, {
45
+ display: "flex",
46
+ justifyContent: "space-between",
47
+ width: "100%",
48
+ children: [/* @__PURE__ */ jsx(Text, {
49
+ variant: "p-small",
50
+ style: {
51
+ flex: 1,
52
+ fontWeight: "bold"
53
+ },
54
+ textAlign: "left",
55
+ children: section.title
56
+ }), /* @__PURE__ */ jsx(ExpandChevron, {
57
+ ml: 12,
58
+ size: 16,
59
+ expanded,
60
+ position: "relative",
61
+ top: 4
62
+ })]
63
+ })
64
+ }),
65
+ children: /* @__PURE__ */ jsx(LayoutMenuSection, {
66
+ items: section.items,
67
+ onItemClick
68
+ })
69
+ });
70
+ };
71
+
72
+ //#endregion
73
+ export { AccordionMenu };