@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,88 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_index = require('../Logos/LogoCodecademy/index.cjs');
3
+ const require_LayoutMenuSection = require('./LayoutMenuSection.cjs');
4
+ const require_AccordionMenu = require('./AccordionMenu.cjs');
5
+ let _codecademy_gamut = require("@codecademy/gamut");
6
+ let _codecademy_gamut_styles = require("@codecademy/gamut-styles");
7
+ let _emotion_styled = require("@emotion/styled");
8
+ _emotion_styled = require_rolldown_runtime.__toESM(_emotion_styled);
9
+ let react = require("react");
10
+ react = require_rolldown_runtime.__toESM(react);
11
+ let react_jsx_runtime = require("react/jsx-runtime");
12
+
13
+ //#region src/LayoutMenuVariant/LayoutMenu.tsx
14
+ const StyleBox = (0, _emotion_styled.default)(_codecademy_gamut.Box)((0, _codecademy_gamut_styles.variant)({
15
+ prop: "menuHeight",
16
+ base: {
17
+ borderColor: "black",
18
+ borderStyleBottom: "solid",
19
+ borderWidthBottom: "1px",
20
+ overflowY: "auto",
21
+ overflowX: "hidden",
22
+ paddingTop: "4px",
23
+ paddingLeft: "4px"
24
+ },
25
+ variants: {
26
+ sm: { height: "630px" },
27
+ md: { height: "1000px" },
28
+ lg: { height: "1370px" }
29
+ }
30
+ }));
31
+ const LayoutMenu = ({ closeLabel, sections, onSectionToggle, mobileButtonText, mobileButtonIcon, breakpoint = "lg", children, topLinkSections, menuHeight }) => {
32
+ const [expanded, setExpanded] = (0, react.useState)(false);
33
+ const accordionMenuSections = sections.map((section) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_AccordionMenu.AccordionMenu, {
34
+ section,
35
+ onSectionToggle,
36
+ onItemClick: () => setExpanded(false)
37
+ }, section.slug));
38
+ const topLinkLayoutMenuSections = topLinkSections && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_LayoutMenuSection.LayoutMenuSection, {
39
+ items: topLinkSections,
40
+ onItemClick: () => setExpanded(false),
41
+ pb: 32
42
+ });
43
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("nav", {
44
+ "aria-label": "Secondary",
45
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.Box, {
46
+ display: {
47
+ _: "block",
48
+ [breakpoint]: "none"
49
+ },
50
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Flyout, {
51
+ closeLabel,
52
+ expanded,
53
+ onClose: () => setExpanded(false),
54
+ title: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_index.LogoCodecademy, { mb: 32 }),
55
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.Box, {
56
+ px: 24,
57
+ children: [
58
+ topLinkLayoutMenuSections,
59
+ accordionMenuSections,
60
+ children
61
+ ]
62
+ })
63
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.StrokeButton, {
64
+ "aria-expanded": expanded,
65
+ variant: "secondary",
66
+ width: 1,
67
+ icon: mobileButtonIcon,
68
+ onClick: () => setExpanded(true),
69
+ children: mobileButtonText
70
+ })]
71
+ }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(StyleBox, {
72
+ menuHeight,
73
+ display: {
74
+ _: "none",
75
+ [breakpoint]: "block"
76
+ },
77
+ "data-testid": "desktop-menu",
78
+ children: [
79
+ topLinkLayoutMenuSections,
80
+ accordionMenuSections,
81
+ children
82
+ ]
83
+ })]
84
+ });
85
+ };
86
+
87
+ //#endregion
88
+ exports.LayoutMenu = LayoutMenu;
@@ -0,0 +1,43 @@
1
+ import { Section, SectionItem } from "./AccordionMenu.cjs";
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';
40
+ }
41
+ declare const LayoutMenu: React.FC<LayoutMenuProps>;
42
+ //#endregion
43
+ export { LayoutMenu, LayoutMenuProps };
@@ -1,39 +1,43 @@
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';
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';
38
40
  }
39
- export declare const LayoutMenu: React.FC<LayoutMenuProps>;
41
+ declare const LayoutMenu: React.FC<LayoutMenuProps>;
42
+ //#endregion
43
+ export { LayoutMenu, LayoutMenuProps };
@@ -1,93 +1,85 @@
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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9MYXlvdXRNZW51VmFyaWFudC9MYXlvdXRNZW51LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE2Q2lCIiwiZmlsZSI6Ii4uLy4uL3NyYy9MYXlvdXRNZW51VmFyaWFudC9MYXlvdXRNZW51LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJveCwgRmx5b3V0LCBTdHJva2VCdXR0b24sIFdpdGhDaGlsZHJlblByb3AgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dCc7XG5pbXBvcnQgeyBHYW11dEljb25Qcm9wcyB9IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0LWljb25zJztcbmltcG9ydCB7IHZhcmlhbnQgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IFJlYWN0LCB7IENvbXBvbmVudFR5cGUsIHVzZVN0YXRlIH0gZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBMb2dvQ29kZWNhZGVteSB9IGZyb20gJy4uL0xvZ29zJztcbmltcG9ydCB7IEFjY29yZGlvbk1lbnUsIFNlY3Rpb24sIFNlY3Rpb25JdGVtIH0gZnJvbSAnLi9BY2NvcmRpb25NZW51JztcbmltcG9ydCB7IExheW91dE1lbnVTZWN0aW9uIH0gZnJvbSAnLi9MYXlvdXRNZW51U2VjdGlvbic7XG5cbmV4cG9ydCBpbnRlcmZhY2UgTGF5b3V0TWVudVByb3BzIGV4dGVuZHMgV2l0aENoaWxkcmVuUHJvcCB7XG4gIC8qKlxuICAgKiBBY2Nlc3NpYmlsaXR5IGxhYmVsIGZvciB0aGUgbW9iaWxlIEZseW91dCdzIGNsb3NlIGJ1dHRvbi5cbiAgICovXG4gIGNsb3NlTGFiZWw6IHN0cmluZztcbiAgLyoqXG4gICAqIEFuIGFycmF5IG9mIHNlY3Rpb25zIGNvbnRhaW5pbmcgdGhlIHRpdGxlLCBzbHVnLCBhbmQgaXRlbXMsIGVhY2ggb2Ygd2hpY2ggd2lsbCBiZWNvbWUgYW4gYWNjb3JkaW9uLiBFYWNoIGl0ZW0gY29udGFpbnMgYSB0aXRsZSwgc2x1ZywgYW5kIG9uQ2xpY2suXG4gICAqL1xuICBzZWN0aW9uczogU2VjdGlvbltdO1xuICAvKipcbiAgICogQ2FsbGJhY2sgdG8gYmUgcnVuIG9uIGNsaWNrIG9mIHRoZSBhY2NvcmRpb24gYnV0dG9uXG4gICAqL1xuICBvblNlY3Rpb25Ub2dnbGU6IChzZWN0aW9uU2x1Zzogc3RyaW5nKSA9PiB2b2lkO1xuICAvKipcbiAgICogVGV4dCBzaG93biBpbiBtb2JpbGUgYnV0dG9uIHRoYXQgb3BlbnMgZmx5b3V0IG9uIGNsaWNrXG4gICAqL1xuICBtb2JpbGVCdXR0b25UZXh0OiBzdHJpbmc7XG4gIC8qKlxuICAgKiBJY29uIHNob3duIGluIG1vYmlsZSBidXR0b24gdGhhdCBvcGVucyBmbHlvdXQgb24gY2xpY2tcbiAgICovXG4gIG1vYmlsZUJ1dHRvbkljb24/OiBDb21wb25lbnRUeXBlPEdhbXV0SWNvblByb3BzPjtcbiAgLyoqXG4gICAqIEJyZWFrcG9pbnQgYWJvdmUgd2hpY2ggdGhlIG1lbnUgYnV0dG9uIGRpc3BsYXlzIGFzIGEgZnVsbCBzaWRlYmFyXG4gICAqL1xuICBicmVha3BvaW50PzogJ3hzJyB8ICdzbScgfCAnbWQnIHwgJ2xnJyB8ICd4bCc7XG4gIC8qKlxuICAgKiBBbiBhcnJheSBvZiBzZWN0aW9uIGl0ZW1zLCBlYWNoIG9mIHdoaWNoIGJlY29tZSBhbiBhZGRpdGlvbmFsIGxpbmsgb24gdG9wIG9mIHRoZSBhY2NvcmRpb24gc2VjdGlvbi5cbiAgICovXG4gIHRvcExpbmtTZWN0aW9ucz86IFNlY3Rpb25JdGVtW107XG4gIC8qKlxuICAgKiBTZXQgZml4ZWQgaGVpZ2h0IGZvciBtZW51IHdpdGggb3ZlcmZsb3dcbiAgICovXG4gIG1lbnVIZWlnaHQ/OiAnc20nIHwgJ21kJyB8ICdsZyc7XG59XG5cbmNvbnN0IFN0eWxlQm94ID0gc3R5bGVkKEJveCkoXG4gIHZhcmlhbnQoe1xuICAgIHByb3A6ICdtZW51SGVpZ2h0JyxcbiAgICBiYXNlOiB7XG4gICAgICBib3JkZXJDb2xvcjogJ2JsYWNrJyxcbiAgICAgIGJvcmRlclN0eWxlQm90dG9tOiAnc29saWQnLFxuICAgICAgYm9yZGVyV2lkdGhCb3R0b206ICcxcHgnLFxuICAgICAgb3ZlcmZsb3dZOiAnYXV0bycsXG4gICAgICBvdmVyZmxvd1g6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZ1RvcDogJzRweCcsXG4gICAgICBwYWRkaW5nTGVmdDogJzRweCcsXG4gICAgfSxcbiAgICB2YXJpYW50czoge1xuICAgICAgc206IHtcbiAgICAgICAgaGVpZ2h0OiAnNjMwcHgnLFxuICAgICAgfSxcbiAgICAgIG1kOiB7XG4gICAgICAgIGhlaWdodDogJzEwMDBweCcsXG4gICAgICB9LFxuICAgICAgbGc6IHtcbiAgICAgICAgaGVpZ2h0OiAnMTM3MHB4JyxcbiAgICAgIH0sXG4gICAgfSxcbiAgfSlcbik7XG5cbmV4cG9ydCBjb25zdCBMYXlvdXRNZW51OiBSZWFjdC5GQzxMYXlvdXRNZW51UHJvcHM+ID0gKHtcbiAgY2xvc2VMYWJlbCxcbiAgc2VjdGlvbnMsXG4gIG9uU2VjdGlvblRvZ2dsZSxcbiAgbW9iaWxlQnV0dG9uVGV4dCxcbiAgbW9iaWxlQnV0dG9uSWNvbixcbiAgYnJlYWtwb2ludCA9ICdsZycsXG4gIGNoaWxkcmVuLFxuICB0b3BMaW5rU2VjdGlvbnMsXG4gIG1lbnVIZWlnaHQsXG59KSA9PiB7XG4gIGNvbnN0IFtleHBhbmRlZCwgc2V0RXhwYW5kZWRdID0gdXNlU3RhdGUoZmFsc2UpO1xuXG4gIGNvbnN0IGFjY29yZGlvbk1lbnVTZWN0aW9ucyA9IHNlY3Rpb25zLm1hcCgoc2VjdGlvbikgPT4gKFxuICAgIDxBY2NvcmRpb25NZW51XG4gICAgICBrZXk9e3NlY3Rpb24uc2x1Z31cbiAgICAgIHNlY3Rpb249e3NlY3Rpb259XG4gICAgICBvblNlY3Rpb25Ub2dnbGU9e29uU2VjdGlvblRvZ2dsZX1cbiAgICAgIG9uSXRlbUNsaWNrPXsoKSA9PiBzZXRFeHBhbmRlZChmYWxzZSl9XG4gICAgLz5cbiAgKSk7XG5cbiAgY29uc3QgdG9wTGlua0xheW91dE1lbnVTZWN0aW9ucyA9IHRvcExpbmtTZWN0aW9ucyAmJiAoXG4gICAgPExheW91dE1lbnVTZWN0aW9uXG4gICAgICBpdGVtcz17dG9wTGlua1NlY3Rpb25zfVxuICAgICAgb25JdGVtQ2xpY2s9eygpID0+IHNldEV4cGFuZGVkKGZhbHNlKX1cbiAgICAgIHBiPXszMn1cbiAgICAvPlxuICApO1xuXG4gIHJldHVybiAoXG4gICAgPG5hdiBhcmlhLWxhYmVsPVwiU2Vjb25kYXJ5XCI+XG4gICAgICA8Qm94IGRpc3BsYXk9e3sgXzogJ2Jsb2NrJywgW2JyZWFrcG9pbnRdOiAnbm9uZScgfX0+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
- };
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 };
@@ -0,0 +1,37 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_SectionItemLink = require('./SectionItemLink.cjs');
3
+ let _codecademy_gamut = require("@codecademy/gamut");
4
+ let _emotion_styled = require("@emotion/styled");
5
+ _emotion_styled = require_rolldown_runtime.__toESM(_emotion_styled);
6
+ let react = require("react");
7
+ react = require_rolldown_runtime.__toESM(react);
8
+ let react_jsx_runtime = require("react/jsx-runtime");
9
+
10
+ //#region src/LayoutMenuVariant/LayoutMenuSection.tsx
11
+ const StyledBox = (0, _emotion_styled.default)(_codecademy_gamut.Box)`
12
+ list-style: none;
13
+ `;
14
+ const LayoutMenuSection = ({ items, onItemClick, ...styleProps }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Box, {
15
+ ...styleProps,
16
+ as: "menu",
17
+ px: 4,
18
+ m: 0,
19
+ children: items.map((item) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StyledBox, {
20
+ as: "li",
21
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_SectionItemLink.SectionItemLink, {
22
+ href: item.href,
23
+ onClick: (event) => {
24
+ item.onClick(event);
25
+ onItemClick();
26
+ },
27
+ variant: item.variant ?? "interface",
28
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.FlexBox, {
29
+ alignItems: "center",
30
+ children: [item.title, item.badge]
31
+ })
32
+ })
33
+ }, item.slug))
34
+ });
35
+
36
+ //#endregion
37
+ exports.LayoutMenuSection = LayoutMenuSection;
@@ -1,42 +1,34 @@
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 { Box, FlexBox } from '@codecademy/gamut';
4
- import React from 'react';
5
- import { SectionItemLink } from './SectionItemLink';
6
- import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
7
- const StyledBox = /*#__PURE__*/_styled(Box, {
8
- target: "ev4vfkc0",
9
- label: "StyledBox"
10
- })(process.env.NODE_ENV === "production" ? {
11
- name: "qr8q5p",
12
- styles: "list-style:none"
13
- } : {
14
- name: "qr8q5p",
15
- styles: "list-style:none/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9MYXlvdXRNZW51VmFyaWFudC9MYXlvdXRNZW51U2VjdGlvbi50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0I2QiIsImZpbGUiOiIuLi8uLi9zcmMvTGF5b3V0TWVudVZhcmlhbnQvTGF5b3V0TWVudVNlY3Rpb24udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQm94LCBGbGV4Qm94IH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQnO1xuaW1wb3J0IHsgc3lzdGVtIH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQtc3R5bGVzJztcbmltcG9ydCB7IFN0eWxlUHJvcHMgfSBmcm9tICdAY29kZWNhZGVteS92YXJpYW5jZSc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBTZWN0aW9uSXRlbSB9IGZyb20gJy4vQWNjb3JkaW9uTWVudSc7XG5pbXBvcnQgeyBTZWN0aW9uSXRlbUxpbmsgfSBmcm9tICcuL1NlY3Rpb25JdGVtTGluayc7XG5cbmV4cG9ydCB0eXBlIExheW91dE1lbnVTZWN0aW9uU3R5bGVzID0gU3R5bGVQcm9wczx0eXBlb2Ygc3lzdGVtLnNwYWNlPjtcblxuZXhwb3J0IHR5cGUgTGF5b3V0TWVudVNlY3Rpb25Qcm9wcyA9IExheW91dE1lbnVTZWN0aW9uU3R5bGVzICYge1xuICBpdGVtczogU2VjdGlvbkl0ZW1bXTtcbiAgb25JdGVtQ2xpY2s6ICgpID0+IHZvaWQ7XG59O1xuXG5jb25zdCBTdHlsZWRCb3ggPSBzdHlsZWQoQm94KWBcbiAgbGlzdC1zdHlsZTogbm9uZTtcbmA7XG5leHBvcnQgY29uc3QgTGF5b3V0TWVudVNlY3Rpb246IFJlYWN0LkZDPExheW91dE1lbnVTZWN0aW9uUHJvcHM+ID0gKHtcbiAgaXRlbXMsXG4gIG9uSXRlbUNsaWNrLFxuICAuLi5zdHlsZVByb3BzXG59KSA9PiAoXG4gIDxCb3ggey4uLnN0eWxlUHJvcHN9IGFzPVwibWVudVwiIHB4PXs0fSBtPXswfT5cbiAgICB7aXRlbXMubWFwKChpdGVtKSA9PiAoXG4gICAgICA8U3R5bGVkQm94IGtleT17aXRlbS5zbHVnfSBhcz1cImxpXCI+XG4gICAgICAgIDxTZWN0aW9uSXRlbUxpbmtcbiAgICAgICAgICBocmVmPXtpdGVtLmhyZWZ9XG4gICAgICAgICAgb25DbGljaz17KGV2ZW50KSA9PiB7XG4gICAgICAgICAgICBpdGVtLm9uQ2xpY2soZXZlbnQpO1xuICAgICAgICAgICAgb25JdGVtQ2xpY2soKTtcbiAgICAgICAgICB9fVxuICAgICAgICAgIHZhcmlhbnQ9e2l0ZW0udmFyaWFudCA/PyAnaW50ZXJmYWNlJ31cbiAgICAgICAgPlxuICAgICAgICAgIDxGbGV4Qm94IGFsaWduSXRlbXM9XCJjZW50ZXJcIj5cbiAgICAgICAgICAgIHtpdGVtLnRpdGxlfVxuICAgICAgICAgICAge2l0ZW0uYmFkZ2V9XG4gICAgICAgICAgPC9GbGV4Qm94PlxuICAgICAgICA8L1NlY3Rpb25JdGVtTGluaz5cbiAgICAgIDwvU3R5bGVkQm94PlxuICAgICkpfVxuICA8L0JveD5cbik7XG4iXX0= */",
16
- toString: _EMOTION_STRINGIFIED_CSS_ERROR__
1
+ import { SectionItemLink } from "./SectionItemLink.js";
2
+ import { Box, FlexBox } from "@codecademy/gamut";
3
+ import styled from "@emotion/styled";
4
+ import React from "react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+
7
+ //#region src/LayoutMenuVariant/LayoutMenuSection.tsx
8
+ const StyledBox = styled(Box)`
9
+ list-style: none;
10
+ `;
11
+ const LayoutMenuSection = ({ items, onItemClick, ...styleProps }) => /* @__PURE__ */ jsx(Box, {
12
+ ...styleProps,
13
+ as: "menu",
14
+ px: 4,
15
+ m: 0,
16
+ children: items.map((item) => /* @__PURE__ */ jsx(StyledBox, {
17
+ as: "li",
18
+ children: /* @__PURE__ */ jsx(SectionItemLink, {
19
+ href: item.href,
20
+ onClick: (event) => {
21
+ item.onClick(event);
22
+ onItemClick();
23
+ },
24
+ variant: item.variant ?? "interface",
25
+ children: /* @__PURE__ */ jsxs(FlexBox, {
26
+ alignItems: "center",
27
+ children: [item.title, item.badge]
28
+ })
29
+ })
30
+ }, item.slug))
17
31
  });
18
- export const LayoutMenuSection = ({
19
- items,
20
- onItemClick,
21
- ...styleProps
22
- }) => /*#__PURE__*/_jsx(Box, {
23
- ...styleProps,
24
- as: "menu",
25
- px: 4,
26
- m: 0,
27
- children: items.map(item => /*#__PURE__*/_jsx(StyledBox, {
28
- as: "li",
29
- children: /*#__PURE__*/_jsx(SectionItemLink, {
30
- href: item.href,
31
- onClick: event => {
32
- item.onClick(event);
33
- onItemClick();
34
- },
35
- variant: item.variant ?? 'interface',
36
- children: /*#__PURE__*/_jsxs(FlexBox, {
37
- alignItems: "center",
38
- children: [item.title, item.badge]
39
- })
40
- })
41
- }, item.slug))
42
- });
32
+
33
+ //#endregion
34
+ 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/LayoutMenuVariant/SectionItemLink.tsx
8
+ const SectionItemLink = ({ onClick, href, variant = "interface", children }) => {
9
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Anchor, {
10
+ variant,
11
+ display: "block",
12
+ href,
13
+ onClick,
14
+ children
15
+ });
16
+ };
17
+
18
+ //#endregion
19
+ exports.SectionItemLink = SectionItemLink;
@@ -0,0 +1,12 @@
1
+ import { Anchor, WithChildrenProp } from "@codecademy/gamut";
2
+ import React from "react";
3
+
4
+ //#region src/LayoutMenuVariant/SectionItemLink.d.ts
5
+ interface SectionItemLinkProps extends WithChildrenProp {
6
+ onClick: (event: React.MouseEvent) => void;
7
+ href: string;
8
+ variant?: React.ComponentProps<typeof Anchor>['variant'];
9
+ }
10
+ declare const SectionItemLink: React.FC<SectionItemLinkProps>;
11
+ //#endregion
12
+ export { SectionItemLink, SectionItemLinkProps };
@@ -1,8 +1,12 @@
1
- import { Anchor, WithChildrenProp } from '@codecademy/gamut';
2
- import React from 'react';
3
- export interface SectionItemLinkProps extends WithChildrenProp {
4
- onClick: (event: React.MouseEvent) => void;
5
- href: string;
6
- variant?: React.ComponentProps<typeof Anchor>['variant'];
1
+ import { Anchor, WithChildrenProp } from "@codecademy/gamut";
2
+ import React from "react";
3
+
4
+ //#region src/LayoutMenuVariant/SectionItemLink.d.ts
5
+ interface SectionItemLinkProps extends WithChildrenProp {
6
+ onClick: (event: React.MouseEvent) => void;
7
+ href: string;
8
+ variant?: React.ComponentProps<typeof Anchor>['variant'];
7
9
  }
8
- export declare const SectionItemLink: React.FC<SectionItemLinkProps>;
10
+ declare const SectionItemLink: React.FC<SectionItemLinkProps>;
11
+ //#endregion
12
+ export { SectionItemLink, SectionItemLinkProps };
@@ -1,17 +1,17 @@
1
- import { Anchor } from '@codecademy/gamut';
2
- import React from 'react';
3
- import { jsx as _jsx } from "react/jsx-runtime";
4
- export const SectionItemLink = ({
5
- onClick,
6
- href,
7
- variant = 'interface',
8
- children
9
- }) => {
10
- return /*#__PURE__*/_jsx(Anchor, {
11
- variant: variant,
12
- display: "block",
13
- href: href,
14
- onClick: onClick,
15
- children: children
16
- });
17
- };
1
+ import { Anchor } from "@codecademy/gamut";
2
+ import React from "react";
3
+ import { jsx } from "react/jsx-runtime";
4
+
5
+ //#region src/LayoutMenuVariant/SectionItemLink.tsx
6
+ const SectionItemLink = ({ onClick, href, variant = "interface", children }) => {
7
+ return /* @__PURE__ */ jsx(Anchor, {
8
+ variant,
9
+ display: "block",
10
+ href,
11
+ onClick,
12
+ children
13
+ });
14
+ };
15
+
16
+ //#endregion
17
+ export { SectionItemLink };
@@ -0,0 +1,19 @@
1
+ const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
2
+ const require_SectionItemLink = require('./SectionItemLink.cjs');
3
+ const require_LayoutMenu = require('./LayoutMenu.cjs');
4
+
5
+ //#region src/LayoutMenuVariant/index.ts
6
+ var LayoutMenuVariant_exports = /* @__PURE__ */ require_rolldown_runtime.__export({
7
+ LayoutMenu: () => require_LayoutMenu.LayoutMenu,
8
+ SectionItemLink: () => require_SectionItemLink.SectionItemLink
9
+ });
10
+
11
+ //#endregion
12
+ exports.LayoutMenu = require_LayoutMenu.LayoutMenu;
13
+ Object.defineProperty(exports, 'LayoutMenuVariant_exports', {
14
+ enumerable: true,
15
+ get: function () {
16
+ return LayoutMenuVariant_exports;
17
+ }
18
+ });
19
+ exports.SectionItemLink = require_SectionItemLink.SectionItemLink;
@@ -0,0 +1,9 @@
1
+ import { LayoutMenu, LayoutMenuProps } from "./LayoutMenu.cjs";
2
+ import { SectionItemLink, SectionItemLinkProps } from "./SectionItemLink.cjs";
3
+
4
+ //#region src/LayoutMenuVariant/index.d.ts
5
+ declare namespace index_d_exports {
6
+ export { LayoutMenu, LayoutMenuProps, SectionItemLink, SectionItemLinkProps };
7
+ }
8
+ //#endregion
9
+ export { LayoutMenu, LayoutMenuProps, SectionItemLink, SectionItemLinkProps, index_d_exports };