@codecademy/brand 4.0.0-alpha.fdfb3ba880.0 → 4.0.0

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