@codecademy/brand 1.45.0 → 2.0.0-alpha.02b53329e4.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 (364) hide show
  1. package/README.md +1 -1
  2. package/dist/AbbreviatedCommunityEventCard/index.d.ts +8 -0
  3. package/dist/AppBar/AppBarSection.d.ts +10 -0
  4. package/dist/AppBar/index.d.ts +9 -0
  5. package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts +14 -0
  6. package/dist/AppBarDeprecated/index.d.ts +14 -0
  7. package/dist/AppBarDeprecated/styles/index.module.scss +39 -0
  8. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +7 -0
  9. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +92 -0
  10. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.d.ts +13 -0
  11. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.ts +13 -0
  12. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderDropdownLink.d.ts +3 -0
  13. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderMenuItem.d.ts +3 -0
  14. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/types.d.ts +4 -0
  15. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/index.d.ts +2 -0
  16. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.d.ts +12 -0
  17. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +48 -0
  18. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.d.ts +15 -0
  19. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +14 -0
  20. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts +6 -0
  21. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.d.ts +14 -0
  22. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.d.ts +18 -0
  23. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderMenuNavButton.d.ts +9 -0
  24. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.d.ts +9 -0
  25. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.d.ts +10 -0
  26. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +7 -0
  27. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.d.ts +13 -0
  28. package/dist/AppHeader/Search/DefaultResults.d.ts +10 -0
  29. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +7 -0
  30. package/dist/AppHeader/Search/SearchButton.d.ts +2 -0
  31. package/dist/AppHeader/Search/SearchPane.d.ts +6 -0
  32. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +18 -0
  33. package/dist/AppHeader/Search/SearchWorker/index.d.ts +5 -0
  34. package/dist/AppHeader/Search/SearchWorker/src.d.ts +1 -0
  35. package/dist/AppHeader/Search/SearchWorker/types.d.ts +37 -0
  36. package/dist/AppHeader/Search/SearchWorker/worker.d.ts +2 -0
  37. package/dist/AppHeader/Search/consts.d.ts +23 -0
  38. package/dist/AppHeader/Search/consts.js +1 -1
  39. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.d.ts +5 -0
  40. package/dist/AppHeader/Search/safelyRedirect.d.ts +5 -0
  41. package/dist/AppHeader/Search/types.d.ts +23 -0
  42. package/dist/AppHeader/Search/useHeaderSearch.d.ts +6 -0
  43. package/dist/AppHeader/index.d.ts +24 -0
  44. package/dist/AppHeader/shared/elements.d.ts +84 -0
  45. package/dist/AppHeader/shared/index.d.ts +4 -0
  46. package/dist/AppHeader/shared/keyboardNav.d.ts +23 -0
  47. package/dist/AppHeader/shared/mockAppHeaderItems.d.ts +2 -0
  48. package/dist/AppHeader/shared/testTypes.d.ts +0 -0
  49. package/dist/AppHeader/shared/types.d.ts +107 -0
  50. package/dist/AppHeader/shared/utils.d.ts +16 -0
  51. package/dist/AppHeader/utils/types.d.ts +8 -0
  52. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/MobileSearchBar.d.ts +5 -0
  53. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts +9 -0
  54. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.d.ts +13 -0
  55. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts +9 -0
  56. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.d.ts +7 -0
  57. package/dist/AppHeaderMobile/index.d.ts +20 -0
  58. package/dist/Avatar/Avatar.stories.d.ts +6 -0
  59. package/dist/Avatar/index.d.ts +36 -0
  60. package/dist/AvatarChooser/index.d.ts +12 -0
  61. package/dist/BackToTopAnchor/index.d.ts +13 -0
  62. package/dist/Banner/index.d.ts +21 -0
  63. package/dist/Banner/index.js +6 -27
  64. package/dist/BetaSticker/index.d.ts +6 -0
  65. package/dist/CareerPathCard/index.d.ts +19 -0
  66. package/dist/Carousel/elements.d.ts +27 -0
  67. package/dist/Carousel/index.d.ts +24 -0
  68. package/dist/CertificationPathCard/__tests__/__fixtures__/index.d.ts +2 -0
  69. package/dist/CertificationPathCard/index.d.ts +20 -0
  70. package/dist/CommunityEventCard/EventTypeIcon.d.ts +11 -0
  71. package/dist/CommunityEventCard/index.d.ts +28 -0
  72. package/dist/CommunityEventToast/index.d.ts +6 -0
  73. package/dist/ContentGroupBaseCard/helpers.d.ts +4 -0
  74. package/dist/ContentGroupBaseCard/index.d.ts +31 -0
  75. package/dist/ContentGroupBaseCard/shared.d.ts +8 -0
  76. package/dist/ContentGroupBaseCard/types.d.ts +10 -0
  77. package/dist/CourseCard/__tests__/__fixtures__/index.d.ts +3 -0
  78. package/dist/CourseCard/index.d.ts +20 -0
  79. package/dist/CurriculumCard/BottomTag/index.d.ts +7 -0
  80. package/dist/CurriculumCard/Difficulty/helpers.d.ts +8 -0
  81. package/dist/CurriculumCard/Difficulty/index.d.ts +3 -0
  82. package/dist/CurriculumCard/Difficulty/types.d.ts +22 -0
  83. package/dist/CurriculumCard/Footer/index.d.ts +10 -0
  84. package/dist/CurriculumCard/Image/index.d.ts +9 -0
  85. package/dist/CurriculumCard/Subtitle/helpers.d.ts +1 -0
  86. package/dist/CurriculumCard/Subtitle/index.d.ts +8 -0
  87. package/dist/CurriculumCard/index.d.ts +59 -0
  88. package/dist/DropdownButton/DropdownList.d.ts +17 -0
  89. package/dist/DropdownButton/index.d.ts +76 -0
  90. package/dist/DropdownButton/useDynamicPopoverPosition.d.ts +14 -0
  91. package/dist/EditorialImage/index.d.ts +10 -0
  92. package/dist/EditorialImage/styles.module.scss +36 -0
  93. package/dist/EmptySection/index.d.ts +28 -0
  94. package/dist/ErrorContents/index.d.ts +8 -0
  95. package/dist/FeatureList/index.d.ts +11 -0
  96. package/dist/GlobalFooter/FooterHeading.d.ts +9 -0
  97. package/dist/GlobalFooter/FooterLegal/LegalLinks.d.ts +6 -0
  98. package/dist/GlobalFooter/FooterLegal/MadeIn.d.ts +5 -0
  99. package/dist/GlobalFooter/FooterLegal/index.d.ts +7 -0
  100. package/dist/GlobalFooter/FooterLinks.d.ts +18 -0
  101. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.d.ts +7 -0
  102. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.d.ts +12 -0
  103. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.d.ts +7 -0
  104. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.d.ts +2 -0
  105. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.d.ts +4 -0
  106. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.d.ts +3 -0
  107. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.ts +4 -0
  108. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.d.ts +2 -0
  109. package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg +45 -0
  110. package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png +0 -0
  111. package/dist/GlobalFooter/FooterNavLinks/index.d.ts +4 -0
  112. package/dist/GlobalFooter/FooterSubHeading.d.ts +9 -0
  113. package/dist/GlobalFooter/index.d.ts +23 -0
  114. package/dist/GlobalFooter/types.d.ts +13 -0
  115. package/dist/GlobalHeader/GlobalHeaderItems.d.ts +25 -0
  116. package/dist/GlobalHeader/GlobalHeaderItems.js +3 -6
  117. package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +28 -0
  118. package/dist/GlobalHeader/index.d.ts +10 -0
  119. package/dist/GlobalHeader/index.js +0 -5
  120. package/dist/GlobalHeader/types.d.ts +89 -0
  121. package/dist/GlobalHeader/urlHelpers.d.ts +2 -0
  122. package/dist/GlobalPage/index.d.ts +34 -0
  123. package/dist/Grid/GridCollapse.d.ts +41 -0
  124. package/dist/Grid/Subgrid.d.ts +23 -0
  125. package/dist/Grid/getCSSFromColumnCount.d.ts +6 -0
  126. package/dist/Grid/index.d.ts +3 -0
  127. package/dist/HeaderHeightArea/index.d.ts +9 -0
  128. package/dist/HeaderHeightArea/useIsInHeaderRegion.d.ts +1 -0
  129. package/dist/HorizontalScrollMenu/index.d.ts +7 -0
  130. package/dist/HubCard/index.d.ts +8 -0
  131. package/dist/InfoCard/index.d.ts +19 -0
  132. package/dist/Konamimojisplosion/Konamimojisplosion.d.ts +5 -0
  133. package/dist/Konamimojisplosion/index.d.ts +2 -0
  134. package/dist/Konamimojisplosion/useKonamimojisplosion.d.ts +1 -0
  135. package/dist/LandingPage/CTA.d.ts +9 -0
  136. package/dist/LandingPage/Description.d.ts +6 -0
  137. package/dist/LandingPage/Feature.d.ts +32 -0
  138. package/dist/LandingPage/PageFAQs.d.ts +10 -0
  139. package/dist/LandingPage/PageFeatures.d.ts +16 -0
  140. package/dist/LandingPage/PageFeaturesEnhanced.d.ts +7 -0
  141. package/dist/LandingPage/PageFeaturesWithReferences.d.ts +19 -0
  142. package/dist/LandingPage/PageHero.d.ts +7 -0
  143. package/dist/LandingPage/PagePrefooter.d.ts +5 -0
  144. package/dist/LandingPage/PageSingleFeature.d.ts +56 -0
  145. package/dist/LandingPage/PageTestimonials.d.ts +21 -0
  146. package/dist/LandingPage/PageVideoGallery.d.ts +11 -0
  147. package/dist/LandingPage/Title.d.ts +23 -0
  148. package/dist/LandingPage/TitleWithEyebrow.d.ts +11 -0
  149. package/dist/LandingPage/index.d.ts +14 -0
  150. package/dist/LandingPage/types.d.ts +28 -0
  151. package/dist/LayoutMenu/AccordionMenu.d.ts +25 -0
  152. package/dist/LayoutMenu/LayoutMenu.d.ts +43 -0
  153. package/dist/LayoutMenu/LayoutMenuSection.d.ts +16 -0
  154. package/dist/LayoutMenu/SectionItemLink.d.ts +7 -0
  155. package/dist/LayoutMenu/SelectedSectionItem.d.ts +3 -0
  156. package/dist/LayoutMenu/index.d.ts +3 -0
  157. package/dist/LayoutMenuVariant/AccordionMenu.d.ts +21 -0
  158. package/dist/LayoutMenuVariant/LayoutMenu.d.ts +39 -0
  159. package/dist/LayoutMenuVariant/LayoutMenuSection.d.ts +10 -0
  160. package/dist/LayoutMenuVariant/SectionItemLink.d.ts +8 -0
  161. package/dist/LayoutMenuVariant/index.d.ts +2 -0
  162. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.d.ts +8 -0
  163. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.js +55 -0
  164. package/dist/LearningOutcomeAssessmentScores/index.d.ts +8 -0
  165. package/dist/LearningOutcomeAssessmentScores/index.js +24 -0
  166. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +18 -0
  167. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +10 -0
  168. package/dist/LearningOutcomeBadges/index.d.ts +2 -0
  169. package/dist/LearningOutcomeCard/index.d.ts +26 -0
  170. package/dist/LearningOutcomeCard/index.js +157 -142
  171. package/dist/LearningOutcomeFlyout/index.d.ts +29 -0
  172. package/dist/LearningOutcomeFlyout/index.js +153 -0
  173. package/dist/LearningOutcomePopover/index.d.ts +10 -0
  174. package/dist/LearningOutcomeTile/Tile.d.ts +7 -0
  175. package/dist/LearningOutcomeTile/index.d.ts +3 -0
  176. package/dist/LearningOutcomeTile/index.js +2 -4
  177. package/dist/LearningOutcomeTile/types.d.ts +47 -0
  178. package/dist/ListSection/index.d.ts +21 -0
  179. package/dist/Loading/index.d.ts +5 -0
  180. package/dist/Loading/styles.module.scss +131 -0
  181. package/dist/LoadingCurriculumCard/index.d.ts +7 -0
  182. package/dist/Logo/CodecademyLogo.d.ts +2 -0
  183. package/dist/Logo/CodecademyPremiumLogo.d.ts +2 -0
  184. package/dist/Logo/CodecademyProAltLogo.d.ts +2 -0
  185. package/dist/Logo/CodecademyProLockupLogo.d.ts +2 -0
  186. package/dist/Logo/CodecademyProLogo.d.ts +2 -0
  187. package/dist/Logo/CodecademyProMonoLogo.d.ts +2 -0
  188. package/dist/Logo/CodecademyProgramLogo.d.ts +2 -0
  189. package/dist/Logo/CodecademyTeamsLogo.d.ts +2 -0
  190. package/dist/Logo/index.d.ts +8 -0
  191. package/dist/LogoFromSkillsoft/index.d.ts +227 -0
  192. package/dist/LogoLXStudio/index.d.ts +3 -0
  193. package/dist/LogoProCutout/index.d.ts +8 -0
  194. package/dist/LogoProCutoutTransparent/index.d.ts +7 -0
  195. package/dist/MarketingToaster/index.d.ts +8 -0
  196. package/dist/NotFoundContent/404.svg +1 -0
  197. package/dist/NotFoundContent/index.d.ts +8 -0
  198. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.d.ts +7 -0
  199. package/dist/NotificationList/EmptyNotification/index.d.ts +1 -0
  200. package/dist/NotificationList/NotificationItem.d.ts +8 -0
  201. package/dist/NotificationList/index.d.ts +9 -0
  202. package/dist/NotificationList/typings.d.ts +16 -0
  203. package/dist/Notifications/NotificationBell.d.ts +10 -0
  204. package/dist/Notifications/NotificationsContents.d.ts +3 -0
  205. package/dist/Notifications/NotificationsDropdown.d.ts +2 -0
  206. package/dist/Notifications/__fixtures__/NotificationTestComponent.d.ts +2 -0
  207. package/dist/Notifications/__fixtures__/stubs.d.ts +2 -0
  208. package/dist/Notifications/constants.d.ts +4 -0
  209. package/dist/Notifications/elements.d.ts +12 -0
  210. package/dist/Notifications/types.d.ts +24 -0
  211. package/dist/Notifications/useHeaderNotifications.d.ts +10 -0
  212. package/dist/Notifications/useNotificationButtons.d.ts +9 -0
  213. package/dist/PageAlerts/PageAlerts.d.ts +10 -0
  214. package/dist/PageAlerts/PageAlertsProvider.d.ts +11 -0
  215. package/dist/PageAlerts/index.d.ts +3 -0
  216. package/dist/PageAlerts/types.d.ts +17 -0
  217. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +19 -0
  218. package/dist/PageLayoutWithSidebarMenu/index.d.ts +1 -0
  219. package/dist/PageSection/index.d.ts +17 -0
  220. package/dist/PastDue/PastDueModalContents/index.d.ts +8 -0
  221. package/dist/PastDue/index.d.ts +2 -0
  222. package/dist/PastDue/pastDueMessages.d.ts +6 -0
  223. package/dist/PausableImage/BaseImage/index.d.ts +15 -0
  224. package/dist/PausableImage/index.d.ts +11 -0
  225. package/dist/PlanCard/PlanCardBanner.d.ts +7 -0
  226. package/dist/PlanCard/PlanFeature.d.ts +9 -0
  227. package/dist/PlanCard/PopularBadge.d.ts +3 -0
  228. package/dist/PlanCard/PricingAmount.d.ts +14 -0
  229. package/dist/PlanCard/RecommendedBadge.d.ts +3 -0
  230. package/dist/PlanCard/consts.d.ts +14 -0
  231. package/dist/PlanCard/index.d.ts +18 -0
  232. package/dist/PlanCard/index.js +28 -75
  233. package/dist/PlanCard/types.d.ts +39 -0
  234. package/dist/PlanCardTeams/consts.d.ts +9 -0
  235. package/dist/PlanCardTeams/index.d.ts +8 -0
  236. package/dist/PricingSection/PlanFeature.d.ts +10 -0
  237. package/dist/PricingSection/PricingCard/PricingAmount.d.ts +10 -0
  238. package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +3 -0
  239. package/dist/PricingSection/PricingCard/consts.d.ts +14 -0
  240. package/dist/PricingSection/PricingCard/index.d.ts +12 -0
  241. package/dist/PricingSection/ProductCTA.d.ts +6 -0
  242. package/dist/PricingSection/Products.d.ts +11 -0
  243. package/dist/PricingSection/config.d.ts +8 -0
  244. package/dist/PricingSection/index.d.ts +13 -0
  245. package/dist/PricingSection/types.d.ts +30 -0
  246. package/dist/ProLabel/index.d.ts +376 -0
  247. package/dist/ProLogo/index.d.ts +15 -0
  248. package/dist/ProLogoAlt/index.d.ts +9 -0
  249. package/dist/ProductFeatureShowcase/index.d.ts +16 -0
  250. package/dist/QuizScore/index.d.ts +12 -0
  251. package/dist/RatingsBar/index.d.ts +12 -0
  252. package/dist/ResourceCard/index.d.ts +15 -0
  253. package/dist/ScoreSummary/SubScores.d.ts +28 -0
  254. package/dist/ScoreSummary/helpers.d.ts +11 -0
  255. package/dist/ScoreSummary/index.d.ts +21 -0
  256. package/dist/ScoreSummary/types.d.ts +310 -0
  257. package/dist/SkillPathCard/__tests__/__fixtures__/index.d.ts +2 -0
  258. package/dist/SkillPathCard/index.d.ts +17 -0
  259. package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +13 -0
  260. package/dist/SocialMediaSharing/index.d.ts +49 -0
  261. package/dist/SocialMediaSharingDropdown/__tests__/SocialMediaSharingDropdown-test.d.ts +1 -0
  262. package/dist/SocialMediaSharingDropdown/index.d.ts +15 -0
  263. package/dist/Testimonial/index.d.ts +45 -0
  264. package/dist/assets/darkQuotes.svg +1 -0
  265. package/dist/assets/dots.svg +1 -0
  266. package/dist/assets/lightQuotes.svg +1 -0
  267. package/dist/assets/navyQuotes.svg +5 -0
  268. package/dist/assets/orange_squiggle.svg +1 -0
  269. package/dist/index.d.ts +90 -0
  270. package/dist/index.js +2 -1
  271. package/dist/lib/breakpointHooks/index.d.ts +43 -0
  272. package/dist/lib/catalogList/index.d.ts +5 -0
  273. package/dist/lib/resourcesList/index.d.ts +5 -0
  274. package/dist/png.d.ts +4 -0
  275. package/dist/react-freezeframe.d.ts +1 -0
  276. package/dist/remoteAssets/components.d.ts +1 -0
  277. package/dist/stories/Atoms/Avatar.stories.d.ts +6 -0
  278. package/dist/stories/Atoms/BetaSticker.stories.d.ts +7 -0
  279. package/dist/stories/Atoms/Logos/Logo.stories.d.ts +13 -0
  280. package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.d.ts +6 -0
  281. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +6 -0
  282. package/dist/stories/Atoms/Logos/ProLabel.stories.d.ts +6 -0
  283. package/dist/stories/Atoms/Logos/ProLogoAlt.stories.d.ts +6 -0
  284. package/dist/stories/Atoms/RatingsBar.stories.d.ts +6 -0
  285. package/dist/stories/Atoms/Subgrid.stories.d.ts +6 -0
  286. package/dist/stories/Molecules/AppBar.stories.d.ts +15 -0
  287. package/dist/stories/Molecules/AppHeader/AppHeader.stories.d.ts +6 -0
  288. package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.d.ts +8 -0
  289. package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.d.ts +8 -0
  290. package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.d.ts +8 -0
  291. package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.d.ts +6 -0
  292. package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.d.ts +6 -0
  293. package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.d.ts +7 -0
  294. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.d.ts +7 -0
  295. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.d.ts +6 -0
  296. package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.d.ts +5 -0
  297. package/dist/stories/Molecules/AvatarChooser.stories.d.ts +7 -0
  298. package/dist/stories/Molecules/BackToTopAnchor.stories.d.ts +10 -0
  299. package/dist/stories/Molecules/Banner.stories.d.ts +16 -0
  300. package/dist/stories/Molecules/Carousel.stories.d.ts +7 -0
  301. package/dist/stories/Molecules/ContentGroupBaseCard.stories.d.ts +13 -0
  302. package/dist/stories/Molecules/CurriculumCard.stories.d.ts +16 -0
  303. package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.d.ts +10 -0
  304. package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.d.ts +9 -0
  305. package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.d.ts +10 -0
  306. package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.d.ts +6 -0
  307. package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.d.ts +9 -0
  308. package/dist/stories/Molecules/DropdownButton.stories.d.ts +11 -0
  309. package/dist/stories/Molecules/EditorialImage.stories.d.ts +6 -0
  310. package/dist/stories/Molecules/EmptySection.stories.d.ts +13 -0
  311. package/dist/stories/Molecules/ErrorContents.stories.d.ts +7 -0
  312. package/dist/stories/Molecules/GridCollapse.stories.d.ts +6 -0
  313. package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +1 -0
  314. package/dist/stories/Molecules/HorizontalScrollMenu.stories.d.ts +6 -0
  315. package/dist/stories/Molecules/HubCard.stories.d.ts +7 -0
  316. package/dist/stories/Molecules/InfoCard.stories.d.ts +7 -0
  317. package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.d.ts +6 -0
  318. package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.js +23 -0
  319. package/dist/stories/Molecules/LearningOutcomeCard.stories.d.ts +15 -0
  320. package/dist/stories/Molecules/LearningOutcomeCard.stories.js +168 -54
  321. package/dist/stories/Molecules/LearningOutcomeFlyout.stories.d.ts +5 -0
  322. package/dist/stories/Molecules/LearningOutcomeFlyout.stories.js +34 -0
  323. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.d.ts +6 -0
  324. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.d.ts +6 -0
  325. package/dist/stories/Molecules/LearningOutcomePopover.stories.d.ts +5 -0
  326. package/dist/stories/Molecules/LearningOutcomeTile.stories.d.ts +10 -0
  327. package/dist/stories/Molecules/ListSection.stories.d.ts +9 -0
  328. package/dist/stories/Molecules/Loading.stories.d.ts +6 -0
  329. package/dist/stories/Molecules/NotificationList.stories.d.ts +7 -0
  330. package/dist/stories/Molecules/PageSection.stories.d.ts +8 -0
  331. package/dist/stories/Molecules/PastDueModalContents.stories.d.ts +10 -0
  332. package/dist/stories/Molecules/PausableImage.stories.d.ts +6 -0
  333. package/dist/stories/Molecules/ResourceCard.stories.d.ts +6 -0
  334. package/dist/stories/Molecules/SocialMediaSharing.stories.d.ts +6 -0
  335. package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.d.ts +6 -0
  336. package/dist/stories/Molecules/Testimonial.stories.d.ts +10 -0
  337. package/dist/stories/Organisms/GlobalFooter.stories.d.ts +8 -0
  338. package/dist/stories/Organisms/GlobalHeader/About.stories.d.ts +10 -0
  339. package/dist/stories/Organisms/GlobalHeader/Anon.stories.d.ts +9 -0
  340. package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.d.ts +6 -0
  341. package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.d.ts +8 -0
  342. package/dist/stories/Organisms/GlobalHeader/Free.stories.d.ts +8 -0
  343. package/dist/stories/Organisms/GlobalHeader/Pro.stories.d.ts +10 -0
  344. package/dist/stories/Organisms/GlobalHeader/Simple.stories.d.ts +6 -0
  345. package/dist/stories/Organisms/GlobalPage.stories.d.ts +9 -0
  346. package/dist/stories/Organisms/LayoutMenu.stories.d.ts +10 -0
  347. package/dist/stories/Organisms/LayoutMenuVariant.stories.d.ts +9 -0
  348. package/dist/stories/Organisms/PageAlerts.example.d.ts +2 -0
  349. package/dist/stories/Organisms/PageAlerts.stories.d.ts +7 -0
  350. package/dist/stories/Organisms/PageFeatures.stories.d.ts +14 -0
  351. package/dist/stories/Organisms/PageHero.stories.d.ts +17 -0
  352. package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.d.ts +7 -0
  353. package/dist/stories/Organisms/PagePrefooter.stories.d.ts +10 -0
  354. package/dist/stories/Organisms/PageSingleFeature.stories.d.ts +18 -0
  355. package/dist/stories/Organisms/PageVideoGallery.stories.d.ts +10 -0
  356. package/dist/stories/Organisms/PlanCard.stories.d.ts +9 -0
  357. package/dist/stories/Organisms/PlanCardTeams.stories.d.ts +7 -0
  358. package/dist/stories/Organisms/ScoreSummary.stories.d.ts +12 -0
  359. package/dist/svg.d.ts +8 -0
  360. package/dist/theme.d.ts +5 -0
  361. package/package.json +1 -1
  362. package/dist/Banner/CountdownTimer.js +0 -110
  363. package/dist/Banner/EnhancedBanner.js +0 -178
  364. package/dist/stories/Molecules/EnhancedBanner.stories.js +0 -114
@@ -0,0 +1,76 @@
1
+ import { ButtonProps, IconButton, PopoverProps, PopoverYPositionType } from '@codecademy/gamut';
2
+ import { PropsWithChildren } from 'react';
3
+ import * as React from 'react';
4
+ import { DropdownListProps } from './DropdownList';
5
+ export type DropdownButtonRefType = {
6
+ focus: HTMLButtonElement['focus'];
7
+ };
8
+ export type DropdownButtonProps = PropsWithChildren<{
9
+ align?: PopoverProps['align'];
10
+ buttonType?: 'fill' | 'stroke' | 'text' | 'kebab' | 'horizontalKebab';
11
+ defaultPosition?: PopoverYPositionType['position'];
12
+ dropdownItems: DropdownListProps['dropdownItems'];
13
+ horizontalOffset?: number;
14
+ /**
15
+ * Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
16
+ */
17
+ iconSize?: number;
18
+ /**
19
+ * If the dropdown should semantically be a menu
20
+ */
21
+ isMenu?: boolean;
22
+ onClick?: (event: React.MouseEvent) => void;
23
+ tipProps?: React.ComponentProps<typeof IconButton>['tipProps'];
24
+ verticalOffset?: number;
25
+ } & ButtonProps>;
26
+ export declare const DropdownButton: React.ForwardRefExoticComponent<(Omit<{
27
+ align?: PopoverProps["align"];
28
+ buttonType?: "fill" | "stroke" | "text" | "kebab" | "horizontalKebab";
29
+ defaultPosition?: PopoverYPositionType["position"];
30
+ dropdownItems: DropdownListProps["dropdownItems"];
31
+ horizontalOffset?: number;
32
+ /**
33
+ * Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
34
+ */
35
+ iconSize?: number;
36
+ /**
37
+ * If the dropdown should semantically be a menu
38
+ */
39
+ isMenu?: boolean;
40
+ onClick?: (event: React.MouseEvent) => void;
41
+ tipProps?: React.ComponentProps<typeof IconButton>["tipProps"];
42
+ verticalOffset?: number;
43
+ } & import("@codecademy/gamut/dist/Button/shared").ButtonBaseProps & Omit<{
44
+ theme?: import("@emotion/react").Theme | undefined;
45
+ as?: import("react" /**
46
+ * Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
47
+ */).ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
48
+ } & {
49
+ theme?: import("@emotion/react").Theme | undefined;
50
+ } & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "type" | "form" | "name" | "disabled" | keyof React.ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
51
+ children?: React.ReactNode | undefined;
52
+ }, "ref"> | Omit<{
53
+ align?: PopoverProps["align"];
54
+ buttonType?: "fill" | "stroke" | "text" | "kebab" | "horizontalKebab";
55
+ defaultPosition?: PopoverYPositionType["position"];
56
+ dropdownItems: DropdownListProps["dropdownItems"];
57
+ horizontalOffset?: number;
58
+ /**
59
+ * Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
60
+ */
61
+ iconSize?: number;
62
+ /**
63
+ * If the dropdown should semantically be a menu
64
+ */
65
+ isMenu?: boolean;
66
+ onClick?: (event: React.MouseEvent) => void;
67
+ tipProps?: React.ComponentProps<typeof IconButton>["tipProps"];
68
+ verticalOffset?: number;
69
+ } & import("@codecademy/gamut/dist/Button/shared").ButtonBaseProps & Omit<{
70
+ theme?: import("@emotion/react").Theme | undefined;
71
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
72
+ } & {
73
+ theme?: import("@emotion/react").Theme | undefined;
74
+ } & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "type" | "form" | "name" | "disabled" | keyof React.ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value"> & Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "onClick" | "href" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "media" | "target" | "type" | keyof React.ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "ping" | "referrerPolicy">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
75
+ children?: React.ReactNode | undefined;
76
+ }, "ref">) & React.RefAttributes<DropdownButtonRefType>>;
@@ -0,0 +1,14 @@
1
+ import { PopoverYPositionType } from '@codecademy/gamut';
2
+ import { RefCallback, RefObject } from 'react';
3
+ type Position = Required<PopoverYPositionType>['position'];
4
+ export type UseDynamicPopoverPositionProps = {
5
+ targetRef: RefObject<HTMLElement>;
6
+ verticalOffset: number;
7
+ defaultPosition: Position;
8
+ };
9
+ export type UseDynamicPopoverPositionReturn = {
10
+ position: Position;
11
+ popoverContainerRefCallback: RefCallback<HTMLElement | null>;
12
+ };
13
+ export declare const useDynamicPopoverPosition: ({ targetRef, verticalOffset, defaultPosition, }: UseDynamicPopoverPositionProps) => UseDynamicPopoverPositionReturn;
14
+ export {};
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ export type EditorialImageProps = {
3
+ /** The URL used for the image src */
4
+ image: string;
5
+ /** Alternative text for the image */
6
+ alt: string;
7
+ /** An optional caption that will display below the image */
8
+ caption?: string;
9
+ };
10
+ export declare const EditorialImage: React.FC<EditorialImageProps>;
@@ -0,0 +1,36 @@
1
+ @import "~@codecademy/gamut-styles/utils";
2
+
3
+ .imageContainer {
4
+ position: relative;
5
+ width: calc(100% - 1rem);
6
+ @include screen-size-gte($grid-xs-min) {
7
+ width: inherit;
8
+ }
9
+ }
10
+
11
+ .image {
12
+ width: 100%;
13
+ position: relative;
14
+ }
15
+
16
+ .imageContainer::before {
17
+ content: "";
18
+ position: absolute;
19
+ left: 1rem;
20
+ top: 2rem;
21
+ background-image: url("../assets/dots.svg");
22
+ background-repeat: repeat;
23
+ height: calc(100% - 1rem);
24
+ width: 100%;
25
+ z-index: 0;
26
+ filter: invert(19%) sepia(50%) saturate(3200%) hue-rotate(-24deg)
27
+ brightness(95%) contrast(97%);
28
+ }
29
+
30
+ .caption {
31
+ color: $color-white;
32
+ opacity: 0.7;
33
+ font-weight: bold;
34
+ margin: 1rem 1rem 0;
35
+ display: block;
36
+ }
@@ -0,0 +1,28 @@
1
+ import { ButtonProps } from '@codecademy/gamut';
2
+ import { IllustrationProps } from '@codecademy/gamut-illustrations';
3
+ import * as React from 'react';
4
+ import { DropdownButtonProps } from '..';
5
+ export type EmptySectionProps = {
6
+ /**
7
+ * Paragraph text that displays beneath the heading text
8
+ */
9
+ bodyText?: string;
10
+ /**
11
+ * Button or dropdown button with an action for the user to take
12
+ */
13
+ children?: React.ReactElement<ButtonProps | DropdownButtonProps>;
14
+ /**
15
+ * The larger heading text that appears over the body text
16
+ */
17
+ headingText: string;
18
+ illustration: React.ComponentType<IllustrationProps>;
19
+ /**
20
+ * Whether the illustration appears to the left or right of the rest of the section's content
21
+ */
22
+ illustrationPosition?: 'left' | 'right';
23
+ /**
24
+ * Whether the pattern background stretches to the end of the left or right of the viewport
25
+ */
26
+ stretchDirection: 'left' | 'right' | 'none';
27
+ };
28
+ export declare const EmptySection: React.FC<EmptySectionProps>;
@@ -0,0 +1,8 @@
1
+ import * as React from 'react';
2
+ export type ErrorContentsProps = {
3
+ /**
4
+ * Any debug info to display, such as ["User ID", <user-id>].
5
+ */
6
+ supportInformation?: [string, string][];
7
+ };
8
+ export declare const ErrorContents: React.FC<ErrorContentsProps>;
@@ -0,0 +1,11 @@
1
+ import { GamutIconProps } from '@codecademy/gamut-icons';
2
+ export type FeatureListItem = {
3
+ title: string;
4
+ description: string | null;
5
+ icon: React.ComponentType<React.PropsWithChildren<GamutIconProps>> | null;
6
+ iconColor: string | null;
7
+ };
8
+ export interface IFeatureListProps {
9
+ featureList: FeatureListItem[];
10
+ }
11
+ export declare const FeatureList: ({ featureList }: IFeatureListProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ export declare const FooterHeading: import("@emotion/styled").StyledComponent<((Omit<{
2
+ theme?: import("@emotion/react").Theme | undefined;
3
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
4
+ } & import("@codecademy/gamut").TextTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref"> | Omit<{
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
+ } & import("@codecademy/gamut").TextNoTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref">) & import("react").RefAttributes<HTMLSpanElement>) & {
8
+ theme?: import("@emotion/react").Theme;
9
+ }, {}, {}>;
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import { GlobalFooterClickHandler } from '../types';
3
+ export type LegalLinksProps = {
4
+ onClick: GlobalFooterClickHandler;
5
+ };
6
+ export declare const LegalLinks: React.FC<LegalLinksProps>;
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ export type MadeInProps = {
3
+ onClick?: (text: string) => void;
4
+ };
5
+ export declare const MadeIn: React.FC<MadeInProps>;
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { GlobalFooterClickHandler } from '../types';
3
+ export type FooterLegalProps = {
4
+ onClick: GlobalFooterClickHandler;
5
+ onMadeInClick?: (text: string) => void;
6
+ };
7
+ export declare const FooterLegal: React.FC<FooterLegalProps>;
@@ -0,0 +1,18 @@
1
+ import { Anchor } from '@codecademy/gamut';
2
+ import { ComponentProps } from 'react';
3
+ import * as React from 'react';
4
+ import { GlobalFooterClickHandler } from './types';
5
+ export declare const FooterLinkItems: import("@emotion/styled").StyledComponent<{
6
+ theme?: import("@emotion/react").Theme | undefined;
7
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
+ } & import("@codecademy/gamut").BoxProps & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof React.ClassAttributes<HTMLDivElement>> & {
9
+ theme?: import("@emotion/react").Theme;
10
+ }, {}, {}>;
11
+ export declare const FooterLinkItem: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
+ }, React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, {}>;
15
+ export declare const FooterLinkItemWithAnchor: React.FC<ComponentProps<typeof Anchor> & {
16
+ trackingTarget: string;
17
+ footerOnClick: GlobalFooterClickHandler;
18
+ }>;
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import { GlobalFooterClickHandler } from '../types';
3
+ export type CatalogLinksProps = {
4
+ onClick: GlobalFooterClickHandler;
5
+ userGeo?: string;
6
+ };
7
+ export declare const CatalogLinks: React.FC<CatalogLinksProps>;
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ import { GlobalFooterClickHandler } from '../types';
3
+ import type { ReferralRockUrls } from './ReferralRock/types';
4
+ export type CompanyLinksProps = {
5
+ hidePricing?: boolean;
6
+ onClick: GlobalFooterClickHandler;
7
+ userGeo?: string;
8
+ referralRockUrls?: ReferralRockUrls;
9
+ isBusinessUser?: boolean;
10
+ isLoggedIn?: boolean;
11
+ };
12
+ export declare const CompanyLinks: React.FC<CompanyLinksProps>;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import type { GlobalFooterClickHandler } from '../../types';
3
+ import type { ReferralRockUrls } from './types';
4
+ export declare const ReferAFriendLinkWithModal: React.FC<{
5
+ referralRockUrls: ReferralRockUrls;
6
+ onClick: GlobalFooterClickHandler;
7
+ }>;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const ReferralFields: React.FC<{}>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const ReferralForm: React.FC<{
3
+ setReferralUrl: React.Dispatch<React.SetStateAction<string>>;
4
+ }>;
@@ -0,0 +1,3 @@
1
+ export declare const ReferralLinkSocialMediaSharing: React.FC<{
2
+ referralUrl: string;
3
+ }>;
@@ -0,0 +1,4 @@
1
+ export interface ReferralRockUrls {
2
+ stats: string;
3
+ tos: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export declare const SocialMediaLinks: React.FC;
@@ -0,0 +1,45 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="120" height="40" viewBox="0 0 120 40">
2
+ <g>
3
+ <g>
4
+ <g>
5
+ <path d="M110.13477,0H9.53468c-.3667,0-.729,0-1.09473.002-.30615.002-.60986.00781-.91895.0127A13.21476,13.21476,0,0,0,5.5171.19141a6.66509,6.66509,0,0,0-1.90088.627A6.43779,6.43779,0,0,0,1.99757,1.99707,6.25844,6.25844,0,0,0,.81935,3.61816a6.60119,6.60119,0,0,0-.625,1.90332,12.993,12.993,0,0,0-.1792,2.002C.00587,7.83008.00489,8.1377,0,8.44434V31.5586c.00489.3105.00587.6113.01515.9219a12.99232,12.99232,0,0,0,.1792,2.0019,6.58756,6.58756,0,0,0,.625,1.9043A6.20778,6.20778,0,0,0,1.99757,38.001a6.27445,6.27445,0,0,0,1.61865,1.1787,6.70082,6.70082,0,0,0,1.90088.6308,13.45514,13.45514,0,0,0,2.0039.1768c.30909.0068.6128.0107.91895.0107C8.80567,40,9.168,40,9.53468,40H110.13477c.3594,0,.7246,0,1.084-.002.3047,0,.6172-.0039.9219-.0107a13.279,13.279,0,0,0,2-.1768,6.80432,6.80432,0,0,0,1.9082-.6308,6.27742,6.27742,0,0,0,1.6172-1.1787,6.39482,6.39482,0,0,0,1.1816-1.6143,6.60413,6.60413,0,0,0,.6191-1.9043,13.50643,13.50643,0,0,0,.1856-2.0019c.0039-.3106.0039-.6114.0039-.9219.0078-.3633.0078-.7246.0078-1.0938V9.53613c0-.36621,0-.72949-.0078-1.09179,0-.30664,0-.61426-.0039-.9209a13.5071,13.5071,0,0,0-.1856-2.002,6.6177,6.6177,0,0,0-.6191-1.90332,6.46619,6.46619,0,0,0-2.7988-2.7998,6.76754,6.76754,0,0,0-1.9082-.627,13.04394,13.04394,0,0,0-2-.17676c-.3047-.00488-.6172-.01074-.9219-.01269-.3594-.002-.7246-.002-1.084-.002Z" style="fill: #a6a6a6"/>
6
+ <path d="M8.44483,39.125c-.30468,0-.602-.0039-.90429-.0107a12.68714,12.68714,0,0,1-1.86914-.1631,5.88381,5.88381,0,0,1-1.65674-.5479,5.40573,5.40573,0,0,1-1.397-1.0166,5.32082,5.32082,0,0,1-1.02051-1.3965,5.72186,5.72186,0,0,1-.543-1.6572,12.41351,12.41351,0,0,1-.1665-1.875c-.00634-.2109-.01464-.9131-.01464-.9131V8.44434S.88185,7.75293.8877,7.5498a12.37039,12.37039,0,0,1,.16553-1.87207,5.7555,5.7555,0,0,1,.54346-1.6621A5.37349,5.37349,0,0,1,2.61183,2.61768,5.56543,5.56543,0,0,1,4.01417,1.59521a5.82309,5.82309,0,0,1,1.65332-.54394A12.58589,12.58589,0,0,1,7.543.88721L8.44532.875H111.21387l.9131.0127a12.38493,12.38493,0,0,1,1.8584.16259,5.93833,5.93833,0,0,1,1.6709.54785,5.59374,5.59374,0,0,1,2.415,2.41993,5.76267,5.76267,0,0,1,.5352,1.64892,12.995,12.995,0,0,1,.1738,1.88721c.0029.2832.0029.5874.0029.89014.0079.375.0079.73193.0079,1.09179V30.4648c0,.3633,0,.7178-.0079,1.0752,0,.3252,0,.6231-.0039.9297a12.73126,12.73126,0,0,1-.1709,1.8535,5.739,5.739,0,0,1-.54,1.67,5.48029,5.48029,0,0,1-1.0156,1.3857,5.4129,5.4129,0,0,1-1.3994,1.0225,5.86168,5.86168,0,0,1-1.668.5498,12.54218,12.54218,0,0,1-1.8692.1631c-.2929.0068-.5996.0107-.8974.0107l-1.084.002Z"/>
7
+ </g>
8
+ <g id="_Group_" data-name="&lt;Group&gt;">
9
+ <g id="_Group_2" data-name="&lt;Group&gt;">
10
+ <g id="_Group_3" data-name="&lt;Group&gt;">
11
+ <path id="_Path_" data-name="&lt;Path&gt;" d="M24.76888,20.30068a4.94881,4.94881,0,0,1,2.35656-4.15206,5.06566,5.06566,0,0,0-3.99116-2.15768c-1.67924-.17626-3.30719,1.00483-4.1629,1.00483-.87227,0-2.18977-.98733-3.6085-.95814a5.31529,5.31529,0,0,0-4.47292,2.72787c-1.934,3.34842-.49141,8.26947,1.3612,10.97608.9269,1.32535,2.01018,2.8058,3.42763,2.7533,1.38706-.05753,1.9051-.88448,3.5794-.88448,1.65876,0,2.14479.88448,3.591.8511,1.48838-.02416,2.42613-1.33124,3.32051-2.66914a10.962,10.962,0,0,0,1.51842-3.09251A4.78205,4.78205,0,0,1,24.76888,20.30068Z" style="fill: #fff"/>
12
+ <path id="_Path_2" data-name="&lt;Path&gt;" d="M22.03725,12.21089a4.87248,4.87248,0,0,0,1.11452-3.49062,4.95746,4.95746,0,0,0-3.20758,1.65961,4.63634,4.63634,0,0,0-1.14371,3.36139A4.09905,4.09905,0,0,0,22.03725,12.21089Z" style="fill: #fff"/>
13
+ </g>
14
+ </g>
15
+ <g>
16
+ <path d="M42.30227,27.13965h-4.7334l-1.13672,3.35645H34.42727l4.4834-12.418h2.083l4.4834,12.418H43.438ZM38.0591,25.59082h3.752l-1.84961-5.44727h-.05176Z" style="fill: #fff"/>
17
+ <path d="M55.15969,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H48.4302v1.50586h.03418a3.21162,3.21162,0,0,1,2.88281-1.60059C53.645,21.34766,55.15969,23.16406,55.15969,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C52.30227,29.01563,53.24953,27.81934,53.24953,25.96973Z" style="fill: #fff"/>
18
+ <path d="M65.12453,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H58.395v1.50586h.03418A3.21162,3.21162,0,0,1,61.312,21.34766C63.60988,21.34766,65.12453,23.16406,65.12453,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C62.26711,29.01563,63.21438,27.81934,63.21438,25.96973Z" style="fill: #fff"/>
19
+ <path d="M71.71047,27.03613c.1377,1.23145,1.334,2.04,2.96875,2.04,1.56641,0,2.69336-.80859,2.69336-1.91895,0-.96387-.67969-1.541-2.28906-1.93652l-1.60937-.3877c-2.28027-.55078-3.33887-1.61719-3.33887-3.34766,0-2.14258,1.86719-3.61426,4.51855-3.61426,2.624,0,4.42285,1.47168,4.4834,3.61426h-1.876c-.1123-1.23926-1.13672-1.9873-2.63379-1.9873s-2.52148.75684-2.52148,1.8584c0,.87793.6543,1.39453,2.25488,1.79l1.36816.33594c2.54785.60254,3.60645,1.626,3.60645,3.44238,0,2.32324-1.85059,3.77832-4.79395,3.77832-2.75391,0-4.61328-1.4209-4.7334-3.667Z" style="fill: #fff"/>
20
+ <path d="M83.34621,19.2998v2.14258h1.72168v1.47168H83.34621v4.99121c0,.77539.34473,1.13672,1.10156,1.13672a5.80752,5.80752,0,0,0,.61133-.043v1.46289a5.10351,5.10351,0,0,1-1.03223.08594c-1.833,0-2.54785-.68848-2.54785-2.44434V22.91406H80.16262V21.44238H81.479V19.2998Z" style="fill: #fff"/>
21
+ <path d="M86.065,25.96973c0-2.84863,1.67773-4.63867,4.29395-4.63867,2.625,0,4.29492,1.79,4.29492,4.63867,0,2.85645-1.66113,4.63867-4.29492,4.63867C87.72609,30.6084,86.065,28.82617,86.065,25.96973Zm6.69531,0c0-1.9541-.89551-3.10742-2.40137-3.10742s-2.40039,1.16211-2.40039,3.10742c0,1.96191.89453,3.10645,2.40039,3.10645S92.76027,27.93164,92.76027,25.96973Z" style="fill: #fff"/>
22
+ <path d="M96.18606,21.44238h1.77246v1.541h.043a2.1594,2.1594,0,0,1,2.17773-1.63574,2.86616,2.86616,0,0,1,.63672.06934v1.73828a2.59794,2.59794,0,0,0-.835-.1123,1.87264,1.87264,0,0,0-1.93652,2.083v5.37012h-1.8584Z" style="fill: #fff"/>
23
+ <path d="M109.3843,27.83691c-.25,1.64355-1.85059,2.77148-3.89844,2.77148-2.63379,0-4.26855-1.76465-4.26855-4.5957,0-2.83984,1.64355-4.68164,4.19043-4.68164,2.50488,0,4.08008,1.7207,4.08008,4.46582v.63672h-6.39453v.1123a2.358,2.358,0,0,0,2.43555,2.56445,2.04834,2.04834,0,0,0,2.09082-1.27344Zm-6.28223-2.70215h4.52637a2.1773,2.1773,0,0,0-2.2207-2.29785A2.292,2.292,0,0,0,103.10207,25.13477Z" style="fill: #fff"/>
24
+ </g>
25
+ </g>
26
+ </g>
27
+ <g id="_Group_4" data-name="&lt;Group&gt;">
28
+ <g>
29
+ <path d="M37.82619,8.731a2.63964,2.63964,0,0,1,2.80762,2.96484c0,1.90625-1.03027,3.002-2.80762,3.002H35.67092V8.731Zm-1.22852,5.123h1.125a1.87588,1.87588,0,0,0,1.96777-2.146,1.881,1.881,0,0,0-1.96777-2.13379h-1.125Z" style="fill: #fff"/>
30
+ <path d="M41.68068,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C44.57522,13.99463,45.01369,13.42432,45.01369,12.44434Z" style="fill: #fff"/>
31
+ <path d="M51.57326,14.69775h-.92187l-.93066-3.31641h-.07031l-.92676,3.31641h-.91309l-1.24121-4.50293h.90137l.80664,3.436h.06641l.92578-3.436h.85254l.92578,3.436h.07031l.80273-3.436h.88867Z" style="fill: #fff"/>
32
+ <path d="M53.85354,10.19482H54.709v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915h-.88867V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z" style="fill: #fff"/>
33
+ <path d="M59.09377,8.437h.88867v6.26074h-.88867Z" style="fill: #fff"/>
34
+ <path d="M61.21779,12.44434a2.13346,2.13346,0,1,1,4.24756,0,2.1338,2.1338,0,1,1-4.24756,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C64.11232,13.99463,64.5508,13.42432,64.5508,12.44434Z" style="fill: #fff"/>
35
+ <path d="M66.4009,13.42432c0-.81055.60352-1.27783,1.6748-1.34424l1.21973-.07031v-.38867c0-.47559-.31445-.74414-.92187-.74414-.49609,0-.83984.18213-.93848.50049h-.86035c.09082-.77344.81836-1.26953,1.83984-1.26953,1.12891,0,1.76563.562,1.76563,1.51318v3.07666h-.85547v-.63281h-.07031a1.515,1.515,0,0,1-1.35254.707A1.36026,1.36026,0,0,1,66.4009,13.42432Zm2.89453-.38477v-.37646l-1.09961.07031c-.62012.0415-.90137.25244-.90137.64941,0,.40527.35156.64111.835.64111A1.0615,1.0615,0,0,0,69.29543,13.03955Z" style="fill: #fff"/>
36
+ <path d="M71.34816,12.44434c0-1.42285.73145-2.32422,1.86914-2.32422a1.484,1.484,0,0,1,1.38086.79h.06641V8.437h.88867v6.26074h-.85156v-.71143h-.07031a1.56284,1.56284,0,0,1-1.41406.78564C72.0718,14.772,71.34816,13.87061,71.34816,12.44434Zm.918,0c0,.95508.4502,1.52979,1.20313,1.52979.749,0,1.21191-.583,1.21191-1.52588,0-.93848-.46777-1.52979-1.21191-1.52979C72.72121,10.91846,72.26613,11.49707,72.26613,12.44434Z" style="fill: #fff"/>
37
+ <path d="M79.23,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C82.12453,13.99463,82.563,13.42432,82.563,12.44434Z" style="fill: #fff"/>
38
+ <path d="M84.66945,10.19482h.85547v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915H87.605V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z" style="fill: #fff"/>
39
+ <path d="M93.51516,9.07373v1.1416h.97559v.74854h-.97559V13.2793c0,.47168.19434.67822.63672.67822a2.96657,2.96657,0,0,0,.33887-.02051v.74023a2.9155,2.9155,0,0,1-.4834.04541c-.98828,0-1.38184-.34766-1.38184-1.21582v-2.543h-.71484v-.74854h.71484V9.07373Z" style="fill: #fff"/>
40
+ <path d="M95.70461,8.437h.88086v2.48145h.07031a1.3856,1.3856,0,0,1,1.373-.80664,1.48339,1.48339,0,0,1,1.55078,1.67871v2.90723H98.69v-2.688c0-.71924-.335-1.0835-.96289-1.0835a1.05194,1.05194,0,0,0-1.13379,1.1416v2.62988h-.88867Z" style="fill: #fff"/>
41
+ <path d="M104.76125,13.48193a1.828,1.828,0,0,1-1.95117,1.30273A2.04531,2.04531,0,0,1,100.73,12.46045a2.07685,2.07685,0,0,1,2.07617-2.35254c1.25293,0,2.00879.856,2.00879,2.27V12.688h-3.17969v.0498a1.1902,1.1902,0,0,0,1.19922,1.29,1.07934,1.07934,0,0,0,1.07129-.5459Zm-3.126-1.45117h2.27441a1.08647,1.08647,0,0,0-1.1084-1.1665A1.15162,1.15162,0,0,0,101.63527,12.03076Z" style="fill: #fff"/>
42
+ </g>
43
+ </g>
44
+ </g>
45
+ </svg>
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import { CompanyLinksProps } from './CompanyLinks';
3
+ export type FooterNavLinksProps = CompanyLinksProps;
4
+ export declare const FooterNavLinks: React.FC<FooterNavLinksProps>;
@@ -0,0 +1,9 @@
1
+ export declare const FooterSubHeading: import("@emotion/styled").StyledComponent<(((Omit<{
2
+ theme?: import("@emotion/react").Theme | undefined;
3
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
4
+ } & import("@codecademy/gamut").TextTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref"> | Omit<{
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
+ } & import("@codecademy/gamut").TextNoTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLSpanElement>>, "ref">) & import("react").RefAttributes<HTMLSpanElement>) & {
8
+ theme?: import("@emotion/react").Theme;
9
+ }) & {}, {}, {}>;
@@ -0,0 +1,23 @@
1
+ import * as React from 'react';
2
+ import type { ReferralRockUrls } from './FooterNavLinks/ReferralRock/types';
3
+ import { GlobalFooterClickHandler } from './types';
4
+ export type GlobalFooterProps = {
5
+ className?: string;
6
+ /**
7
+ * Hide pricing details, such as for rendering in an app store app.
8
+ */
9
+ hidePricing?: boolean;
10
+ /**
11
+ * Called whenever a link is clicked.
12
+ */
13
+ onClick: GlobalFooterClickHandler;
14
+ /**
15
+ * Called when the text in the MadeIn component is clicked
16
+ */
17
+ onMadeInClick?: (text: string) => void;
18
+ userGeo?: string;
19
+ referralRockUrls?: ReferralRockUrls;
20
+ isBusinessUser?: boolean;
21
+ isLoggedIn?: boolean;
22
+ };
23
+ export declare const GlobalFooter: React.FC<GlobalFooterProps>;
@@ -0,0 +1,13 @@
1
+ import * as React from 'react';
2
+ type GlobalFooterClickData = {
3
+ /**
4
+ * Native event from the data that can be .preventDefault()ed.
5
+ */
6
+ event: React.MouseEvent;
7
+ /**
8
+ * Data tracking target, such as 'about' or 'policy'.
9
+ */
10
+ target: string;
11
+ };
12
+ export type GlobalFooterClickHandler = (data: GlobalFooterClickData) => void;
13
+ export {};
@@ -0,0 +1,25 @@
1
+ import { AppHeaderCatalogDropdownItem, AppHeaderFillButtonItem, AppHeaderLinkItem, AppHeaderLogoItem, AppHeaderProfileDropdownItem, AppHeaderRenderElementItem, AppHeaderResourcesDropdownItem, AppHeaderResourcesSimpleDropdownItem, AppHeaderSimpleDropdownItem, AppHeaderTextButtonItem } from '../AppHeader/shared';
2
+ import { User } from './types';
3
+ export declare const loading: AppHeaderRenderElementItem;
4
+ export declare const logo: AppHeaderLogoItem;
5
+ export declare const enterpriseLogo: (user: User, removeAnchorLink?: boolean) => AppHeaderLogoItem;
6
+ export declare const myHome: AppHeaderLinkItem;
7
+ export declare const liveLearningHub: AppHeaderLinkItem;
8
+ export declare const myPercipioHome: (user: User, customTitle?: string) => AppHeaderLinkItem;
9
+ export declare const catalogDropdown: (hideCareerPaths?: boolean) => AppHeaderCatalogDropdownItem;
10
+ export declare const resourcesDropdown: () => AppHeaderResourcesDropdownItem;
11
+ export declare const simpleResourcesDropdown: AppHeaderResourcesSimpleDropdownItem;
12
+ export declare const communityDropdown: () => AppHeaderSimpleDropdownItem;
13
+ export declare const pricingDropdown: AppHeaderSimpleDropdownItem;
14
+ export declare const upgradePlan: AppHeaderLinkItem;
15
+ export declare const businessSolutions: AppHeaderLinkItem;
16
+ export declare const careerCenter: AppHeaderLinkItem;
17
+ export declare const freeProfile: (user: User, isMobile?: boolean) => AppHeaderProfileDropdownItem;
18
+ export declare const proProfile: (user: User) => AppHeaderProfileDropdownItem;
19
+ export declare const addPayment: AppHeaderFillButtonItem;
20
+ export declare const tryProForFree: (checkoutUrl?: string) => AppHeaderFillButtonItem;
21
+ export declare const upgradeToPro: (checkoutUrl?: string) => AppHeaderFillButtonItem;
22
+ export declare const unpausePro: AppHeaderFillButtonItem;
23
+ export declare const login: AppHeaderTextButtonItem;
24
+ export declare const signUp: AppHeaderFillButtonItem;
25
+ export declare const bootcampCta: (bootcampSlug: string) => AppHeaderFillButtonItem;
@@ -3,9 +3,6 @@ import { AccountingCoinsIcon, ArrowThickCircleUpIcon, ArticleIcon, BookFlipPageI
3
3
  import { renderNewBadge } from '../lib/resourcesList';
4
4
  import { formatEnterpriseUrl } from './urlHelpers';
5
5
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
6
- const shouldShowBusinessDashboardLink = user => {
7
- return (user?.isAccountManager || user?.isBusinessAdmin) && !user?.isSkillsoftUser;
8
- };
9
6
  export const loading = {
10
7
  id: 'header-loading',
11
8
  type: 'render-element',
@@ -285,13 +282,13 @@ const profileLogOut = {
285
282
  text: 'Log Out',
286
283
  type: 'link'
287
284
  };
288
- export const freeProfile = user => {
285
+ export const freeProfile = (user, isMobile) => {
289
286
  const topSection = [profileMyProfile];
290
287
  if (user?.isBusinessAdmin || !user?.isBusinessSsoUser) {
291
288
  topSection.push(profileAccount);
292
289
  }
293
290
  topSection.push(profileMyHome);
294
- if (shouldShowBusinessDashboardLink(user)) {
291
+ if (!isMobile && user?.isAccountManager && !user?.hideBusinessAccount) {
295
292
  topSection.push(profileBusinessAccount);
296
293
  }
297
294
  topSection.push(profileHelpCenter);
@@ -317,7 +314,7 @@ export const proProfile = user => {
317
314
  topSection.push(profileHelpCenter);
318
315
  topSection.push(profileFeedback);
319
316
  const teamsAdminSection = [];
320
- if (shouldShowBusinessDashboardLink(user)) {
317
+ if ((user?.isAccountManager || user?.isBusinessAdmin) && !user?.hideBusinessAccount) {
321
318
  teamsAdminSection.push(profileBusinessAccount);
322
319
  }
323
320
  const middleSection = [];