@codecademy/brand 1.41.0-alpha.d11c3ce902.0 → 1.41.0-alpha.d451663e4c.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 (350) 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/AppHeaderLinkSections/index.js +0 -0
  20. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +14 -0
  21. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts +6 -0
  22. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.d.ts +14 -0
  23. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.d.ts +18 -0
  24. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderMenuNavButton.d.ts +9 -0
  25. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.d.ts +9 -0
  26. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.d.ts +10 -0
  27. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +7 -0
  28. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.d.ts +13 -0
  29. package/dist/AppHeader/Search/DefaultResults.d.ts +10 -0
  30. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +7 -0
  31. package/dist/AppHeader/Search/SearchButton.d.ts +2 -0
  32. package/dist/AppHeader/Search/SearchPane.d.ts +6 -0
  33. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +18 -0
  34. package/dist/AppHeader/Search/SearchWorker/index.d.ts +5 -0
  35. package/dist/AppHeader/Search/SearchWorker/src.d.ts +1 -0
  36. package/dist/AppHeader/Search/SearchWorker/types.d.ts +37 -0
  37. package/dist/AppHeader/Search/SearchWorker/worker.d.ts +2 -0
  38. package/dist/AppHeader/Search/consts.d.ts +23 -0
  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/BetaSticker/index.d.ts +6 -0
  64. package/dist/CareerPathCard/index.d.ts +19 -0
  65. package/dist/CareerPathCard/index.js +7 -15
  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/CertificationPathCard/index.js +9 -17
  71. package/dist/CommunityEventCard/EventTypeIcon.d.ts +11 -0
  72. package/dist/CommunityEventCard/index.d.ts +28 -0
  73. package/dist/CommunityEventToast/index.d.ts +6 -0
  74. package/dist/ContentGroupBaseCard/helpers.d.ts +4 -0
  75. package/dist/ContentGroupBaseCard/index.d.ts +31 -0
  76. package/dist/ContentGroupBaseCard/index.js +74 -121
  77. package/dist/ContentGroupBaseCard/shared.d.ts +8 -0
  78. package/dist/ContentGroupBaseCard/shared.js +23 -29
  79. package/dist/ContentGroupBaseCard/types.d.ts +10 -0
  80. package/dist/CourseCard/__tests__/__fixtures__/index.d.ts +3 -0
  81. package/dist/CourseCard/index.d.ts +20 -0
  82. package/dist/CourseCard/index.js +11 -15
  83. package/dist/CurriculumCard/BottomTag/index.d.ts +7 -0
  84. package/dist/CurriculumCard/Difficulty/helpers.d.ts +8 -0
  85. package/dist/CurriculumCard/Difficulty/index.d.ts +3 -0
  86. package/dist/CurriculumCard/Difficulty/types.d.ts +22 -0
  87. package/dist/CurriculumCard/Footer/index.d.ts +10 -0
  88. package/dist/CurriculumCard/Image/index.d.ts +9 -0
  89. package/dist/CurriculumCard/Subtitle/helpers.d.ts +1 -0
  90. package/dist/CurriculumCard/Subtitle/index.d.ts +8 -0
  91. package/dist/CurriculumCard/index.d.ts +59 -0
  92. package/dist/DropdownButton/DropdownList.d.ts +17 -0
  93. package/dist/DropdownButton/index.d.ts +76 -0
  94. package/dist/DropdownButton/useDynamicPopoverPosition.d.ts +14 -0
  95. package/dist/EditorialImage/index.d.ts +10 -0
  96. package/dist/EditorialImage/styles.module.scss +36 -0
  97. package/dist/EmptySection/index.d.ts +28 -0
  98. package/dist/ErrorContents/index.d.ts +8 -0
  99. package/dist/FeatureList/index.d.ts +11 -0
  100. package/dist/GlobalFooter/FooterHeading.d.ts +9 -0
  101. package/dist/GlobalFooter/FooterLegal/LegalLinks.d.ts +6 -0
  102. package/dist/GlobalFooter/FooterLegal/MadeIn.d.ts +5 -0
  103. package/dist/GlobalFooter/FooterLegal/index.d.ts +7 -0
  104. package/dist/GlobalFooter/FooterLinks.d.ts +18 -0
  105. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.d.ts +7 -0
  106. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.d.ts +12 -0
  107. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.d.ts +7 -0
  108. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.d.ts +2 -0
  109. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.d.ts +4 -0
  110. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.d.ts +3 -0
  111. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.ts +4 -0
  112. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.d.ts +2 -0
  113. package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg +45 -0
  114. package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png +0 -0
  115. package/dist/GlobalFooter/FooterNavLinks/index.d.ts +4 -0
  116. package/dist/GlobalFooter/FooterSubHeading.d.ts +9 -0
  117. package/dist/GlobalFooter/index.d.ts +23 -0
  118. package/dist/GlobalFooter/types.d.ts +13 -0
  119. package/dist/GlobalHeader/GlobalHeaderItems.d.ts +25 -0
  120. package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +28 -0
  121. package/dist/GlobalHeader/index.d.ts +10 -0
  122. package/dist/GlobalHeader/types.d.ts +89 -0
  123. package/dist/GlobalHeader/urlHelpers.d.ts +2 -0
  124. package/dist/GlobalPage/index.d.ts +34 -0
  125. package/dist/Grid/GridCollapse.d.ts +41 -0
  126. package/dist/Grid/Subgrid.d.ts +23 -0
  127. package/dist/Grid/getCSSFromColumnCount.d.ts +6 -0
  128. package/dist/Grid/index.d.ts +3 -0
  129. package/dist/HeaderHeightArea/index.d.ts +9 -0
  130. package/dist/HeaderHeightArea/useIsInHeaderRegion.d.ts +1 -0
  131. package/dist/HorizontalScrollMenu/index.d.ts +7 -0
  132. package/dist/HubCard/index.d.ts +8 -0
  133. package/dist/InfoCard/index.d.ts +19 -0
  134. package/dist/Konamimojisplosion/Konamimojisplosion.d.ts +5 -0
  135. package/dist/Konamimojisplosion/index.d.ts +2 -0
  136. package/dist/Konamimojisplosion/useKonamimojisplosion.d.ts +1 -0
  137. package/dist/LandingPage/CTA.d.ts +9 -0
  138. package/dist/LandingPage/Description.d.ts +6 -0
  139. package/dist/LandingPage/Feature.d.ts +32 -0
  140. package/dist/LandingPage/PageFAQs.d.ts +10 -0
  141. package/dist/LandingPage/PageFeatures.d.ts +16 -0
  142. package/dist/LandingPage/PageFeaturesEnhanced.d.ts +7 -0
  143. package/dist/LandingPage/PageFeaturesWithReferences.d.ts +19 -0
  144. package/dist/LandingPage/PageHero.d.ts +7 -0
  145. package/dist/LandingPage/PagePrefooter.d.ts +5 -0
  146. package/dist/LandingPage/PageSingleFeature.d.ts +56 -0
  147. package/dist/LandingPage/PageTestimonials.d.ts +21 -0
  148. package/dist/LandingPage/PageVideoGallery.d.ts +11 -0
  149. package/dist/LandingPage/Title.d.ts +23 -0
  150. package/dist/LandingPage/TitleWithEyebrow.d.ts +11 -0
  151. package/dist/LandingPage/index.d.ts +14 -0
  152. package/dist/LandingPage/types.d.ts +28 -0
  153. package/dist/LayoutMenu/AccordionMenu.d.ts +25 -0
  154. package/dist/LayoutMenu/LayoutMenu.d.ts +43 -0
  155. package/dist/LayoutMenu/LayoutMenuSection.d.ts +16 -0
  156. package/dist/LayoutMenu/SectionItemLink.d.ts +7 -0
  157. package/dist/LayoutMenu/SelectedSectionItem.d.ts +3 -0
  158. package/dist/LayoutMenu/index.d.ts +3 -0
  159. package/dist/LayoutMenuVariant/AccordionMenu.d.ts +21 -0
  160. package/dist/LayoutMenuVariant/LayoutMenu.d.ts +39 -0
  161. package/dist/LayoutMenuVariant/LayoutMenuSection.d.ts +10 -0
  162. package/dist/LayoutMenuVariant/SectionItemLink.d.ts +8 -0
  163. package/dist/LayoutMenuVariant/index.d.ts +2 -0
  164. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +18 -0
  165. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +10 -0
  166. package/dist/LearningOutcomeBadges/index.d.ts +2 -0
  167. package/dist/LearningOutcomeCard/index.d.ts +29 -0
  168. package/dist/LearningOutcomePopover/index.d.ts +10 -0
  169. package/dist/LearningOutcomeTile/Tile.d.ts +7 -0
  170. package/dist/LearningOutcomeTile/index.d.ts +2 -0
  171. package/dist/LearningOutcomeTile/types.d.ts +48 -0
  172. package/dist/ListSection/index.d.ts +21 -0
  173. package/dist/Loading/index.d.ts +5 -0
  174. package/dist/Loading/styles.module.scss +131 -0
  175. package/dist/LoadingCurriculumCard/index.d.ts +7 -0
  176. package/dist/Logo/CodecademyLogo.d.ts +2 -0
  177. package/dist/Logo/CodecademyPremiumLogo.d.ts +2 -0
  178. package/dist/Logo/CodecademyProAltLogo.d.ts +2 -0
  179. package/dist/Logo/CodecademyProLockupLogo.d.ts +2 -0
  180. package/dist/Logo/CodecademyProLogo.d.ts +2 -0
  181. package/dist/Logo/CodecademyProMonoLogo.d.ts +2 -0
  182. package/dist/Logo/CodecademyProgramLogo.d.ts +2 -0
  183. package/dist/Logo/CodecademyTeamsLogo.d.ts +2 -0
  184. package/dist/Logo/index.d.ts +8 -0
  185. package/dist/LogoFromSkillsoft/index.d.ts +227 -0
  186. package/dist/LogoLXStudio/index.d.ts +3 -0
  187. package/dist/LogoProCutout/index.d.ts +8 -0
  188. package/dist/LogoProCutoutTransparent/index.d.ts +7 -0
  189. package/dist/MarketingToaster/index.d.ts +8 -0
  190. package/dist/NotFoundContent/404.svg +1 -0
  191. package/dist/NotFoundContent/index.d.ts +8 -0
  192. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.d.ts +7 -0
  193. package/dist/NotificationList/EmptyNotification/index.d.ts +1 -0
  194. package/dist/NotificationList/NotificationItem.d.ts +8 -0
  195. package/dist/NotificationList/index.d.ts +9 -0
  196. package/dist/NotificationList/typings.d.ts +16 -0
  197. package/dist/Notifications/NotificationBell.d.ts +10 -0
  198. package/dist/Notifications/NotificationsContents.d.ts +3 -0
  199. package/dist/Notifications/NotificationsDropdown.d.ts +2 -0
  200. package/dist/Notifications/__fixtures__/NotificationTestComponent.d.ts +2 -0
  201. package/dist/Notifications/__fixtures__/stubs.d.ts +2 -0
  202. package/dist/Notifications/constants.d.ts +4 -0
  203. package/dist/Notifications/elements.d.ts +12 -0
  204. package/dist/Notifications/types.d.ts +24 -0
  205. package/dist/Notifications/useHeaderNotifications.d.ts +10 -0
  206. package/dist/Notifications/useNotificationButtons.d.ts +9 -0
  207. package/dist/PageAlerts/PageAlerts.d.ts +10 -0
  208. package/dist/PageAlerts/PageAlertsProvider.d.ts +11 -0
  209. package/dist/PageAlerts/index.d.ts +3 -0
  210. package/dist/PageAlerts/types.d.ts +17 -0
  211. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +19 -0
  212. package/dist/PageLayoutWithSidebarMenu/index.d.ts +1 -0
  213. package/dist/PageSection/index.d.ts +17 -0
  214. package/dist/PastDue/PastDueModalContents/index.d.ts +8 -0
  215. package/dist/PastDue/index.d.ts +2 -0
  216. package/dist/PastDue/pastDueMessages.d.ts +6 -0
  217. package/dist/PausableImage/BaseImage/index.d.ts +15 -0
  218. package/dist/PausableImage/index.d.ts +11 -0
  219. package/dist/PlanCard/PlanCardBanner.d.ts +7 -0
  220. package/dist/PlanCard/PlanFeature.d.ts +9 -0
  221. package/dist/PlanCard/PopularBadge.d.ts +3 -0
  222. package/dist/PlanCard/PricingAmount.d.ts +14 -0
  223. package/dist/PlanCard/RecommendedBadge.d.ts +3 -0
  224. package/dist/PlanCard/consts.d.ts +14 -0
  225. package/dist/PlanCard/index.d.ts +18 -0
  226. package/dist/PlanCard/index.js +66 -28
  227. package/dist/PlanCard/types.d.ts +39 -0
  228. package/dist/PlanCardTeams/consts.d.ts +9 -0
  229. package/dist/PlanCardTeams/index.d.ts +8 -0
  230. package/dist/PricingSection/PlanFeature.d.ts +10 -0
  231. package/dist/PricingSection/PricingCard/PricingAmount.d.ts +10 -0
  232. package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +3 -0
  233. package/dist/PricingSection/PricingCard/consts.d.ts +14 -0
  234. package/dist/PricingSection/PricingCard/index.d.ts +12 -0
  235. package/dist/PricingSection/ProductCTA.d.ts +6 -0
  236. package/dist/PricingSection/Products.d.ts +11 -0
  237. package/dist/PricingSection/config.d.ts +8 -0
  238. package/dist/PricingSection/index.d.ts +13 -0
  239. package/dist/PricingSection/types.d.ts +30 -0
  240. package/dist/ProLabel/index.d.ts +376 -0
  241. package/dist/ProLogo/index.d.ts +15 -0
  242. package/dist/ProLogoAlt/index.d.ts +9 -0
  243. package/dist/ProductFeatureShowcase/index.d.ts +16 -0
  244. package/dist/QuizScore/index.d.ts +12 -0
  245. package/dist/RatingsBar/index.d.ts +12 -0
  246. package/dist/ResourceCard/index.d.ts +15 -0
  247. package/dist/ScoreSummary/SubScores.d.ts +28 -0
  248. package/dist/ScoreSummary/helpers.d.ts +11 -0
  249. package/dist/ScoreSummary/index.d.ts +21 -0
  250. package/dist/ScoreSummary/types.d.ts +310 -0
  251. package/dist/SkillPathCard/__tests__/__fixtures__/index.d.ts +2 -0
  252. package/dist/SkillPathCard/index.d.ts +17 -0
  253. package/dist/SkillPathCard/index.js +7 -15
  254. package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +13 -0
  255. package/dist/SocialMediaSharing/index.d.ts +49 -0
  256. package/dist/SocialMediaSharingDropdown/__tests__/SocialMediaSharingDropdown-test.d.ts +1 -0
  257. package/dist/SocialMediaSharingDropdown/index.d.ts +15 -0
  258. package/dist/Testimonial/index.d.ts +45 -0
  259. package/dist/assets/darkQuotes.svg +1 -0
  260. package/dist/assets/dots.svg +1 -0
  261. package/dist/assets/lightQuotes.svg +1 -0
  262. package/dist/assets/navyQuotes.svg +5 -0
  263. package/dist/assets/orange_squiggle.svg +1 -0
  264. package/dist/index.d.ts +88 -0
  265. package/dist/lib/breakpointHooks/index.d.ts +43 -0
  266. package/dist/lib/catalogList/index.d.ts +5 -0
  267. package/dist/lib/resourcesList/index.d.ts +5 -0
  268. package/dist/png.d.ts +4 -0
  269. package/dist/react-freezeframe.d.ts +1 -0
  270. package/dist/remoteAssets/components.d.ts +1 -0
  271. package/dist/stories/Atoms/Avatar.stories.d.ts +6 -0
  272. package/dist/stories/Atoms/BetaSticker.stories.d.ts +7 -0
  273. package/dist/stories/Atoms/Logos/Logo.stories.d.ts +13 -0
  274. package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.d.ts +6 -0
  275. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +6 -0
  276. package/dist/stories/Atoms/Logos/ProLabel.stories.d.ts +6 -0
  277. package/dist/stories/Atoms/Logos/ProLogoAlt.stories.d.ts +6 -0
  278. package/dist/stories/Atoms/RatingsBar.stories.d.ts +6 -0
  279. package/dist/stories/Atoms/Subgrid.stories.d.ts +6 -0
  280. package/dist/stories/Molecules/AppBar.stories.d.ts +15 -0
  281. package/dist/stories/Molecules/AppHeader/AppHeader.stories.d.ts +6 -0
  282. package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.d.ts +8 -0
  283. package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.d.ts +8 -0
  284. package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.d.ts +8 -0
  285. package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.d.ts +6 -0
  286. package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.d.ts +6 -0
  287. package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.d.ts +7 -0
  288. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.d.ts +7 -0
  289. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.d.ts +6 -0
  290. package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.d.ts +5 -0
  291. package/dist/stories/Molecules/AvatarChooser.stories.d.ts +7 -0
  292. package/dist/stories/Molecules/BackToTopAnchor.stories.d.ts +10 -0
  293. package/dist/stories/Molecules/Banner.stories.d.ts +16 -0
  294. package/dist/stories/Molecules/Carousel.stories.d.ts +7 -0
  295. package/dist/stories/Molecules/ContentGroupBaseCard.stories.d.ts +13 -0
  296. package/dist/stories/Molecules/CurriculumCard.stories.d.ts +16 -0
  297. package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.d.ts +10 -0
  298. package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.d.ts +9 -0
  299. package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.d.ts +10 -0
  300. package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.d.ts +6 -0
  301. package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.d.ts +9 -0
  302. package/dist/stories/Molecules/DropdownButton.stories.d.ts +11 -0
  303. package/dist/stories/Molecules/EditorialImage.stories.d.ts +6 -0
  304. package/dist/stories/Molecules/EmptySection.stories.d.ts +13 -0
  305. package/dist/stories/Molecules/ErrorContents.stories.d.ts +7 -0
  306. package/dist/stories/Molecules/GridCollapse.stories.d.ts +6 -0
  307. package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +1 -0
  308. package/dist/stories/Molecules/HorizontalScrollMenu.stories.d.ts +6 -0
  309. package/dist/stories/Molecules/HubCard.stories.d.ts +7 -0
  310. package/dist/stories/Molecules/InfoCard.stories.d.ts +7 -0
  311. package/dist/stories/Molecules/LearningOutcomeCard.stories.d.ts +10 -0
  312. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.d.ts +6 -0
  313. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.d.ts +6 -0
  314. package/dist/stories/Molecules/LearningOutcomePopover.stories.d.ts +5 -0
  315. package/dist/stories/Molecules/LearningOutcomeTile.stories.d.ts +10 -0
  316. package/dist/stories/Molecules/ListSection.stories.d.ts +9 -0
  317. package/dist/stories/Molecules/Loading.stories.d.ts +6 -0
  318. package/dist/stories/Molecules/NotificationList.stories.d.ts +7 -0
  319. package/dist/stories/Molecules/PageSection.stories.d.ts +8 -0
  320. package/dist/stories/Molecules/PastDueModalContents.stories.d.ts +10 -0
  321. package/dist/stories/Molecules/PausableImage.stories.d.ts +6 -0
  322. package/dist/stories/Molecules/ResourceCard.stories.d.ts +6 -0
  323. package/dist/stories/Molecules/SocialMediaSharing.stories.d.ts +6 -0
  324. package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.d.ts +6 -0
  325. package/dist/stories/Molecules/Testimonial.stories.d.ts +10 -0
  326. package/dist/stories/Organisms/GlobalFooter.stories.d.ts +8 -0
  327. package/dist/stories/Organisms/GlobalHeader/About.stories.d.ts +10 -0
  328. package/dist/stories/Organisms/GlobalHeader/Anon.stories.d.ts +9 -0
  329. package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.d.ts +6 -0
  330. package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.d.ts +8 -0
  331. package/dist/stories/Organisms/GlobalHeader/Free.stories.d.ts +8 -0
  332. package/dist/stories/Organisms/GlobalHeader/Pro.stories.d.ts +10 -0
  333. package/dist/stories/Organisms/GlobalHeader/Simple.stories.d.ts +6 -0
  334. package/dist/stories/Organisms/GlobalPage.stories.d.ts +9 -0
  335. package/dist/stories/Organisms/LayoutMenu.stories.d.ts +10 -0
  336. package/dist/stories/Organisms/LayoutMenuVariant.stories.d.ts +9 -0
  337. package/dist/stories/Organisms/PageAlerts.example.d.ts +2 -0
  338. package/dist/stories/Organisms/PageAlerts.stories.d.ts +7 -0
  339. package/dist/stories/Organisms/PageFeatures.stories.d.ts +14 -0
  340. package/dist/stories/Organisms/PageHero.stories.d.ts +17 -0
  341. package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.d.ts +7 -0
  342. package/dist/stories/Organisms/PagePrefooter.stories.d.ts +10 -0
  343. package/dist/stories/Organisms/PageSingleFeature.stories.d.ts +18 -0
  344. package/dist/stories/Organisms/PageVideoGallery.stories.d.ts +10 -0
  345. package/dist/stories/Organisms/PlanCard.stories.d.ts +9 -0
  346. package/dist/stories/Organisms/PlanCardTeams.stories.d.ts +7 -0
  347. package/dist/stories/Organisms/ScoreSummary.stories.d.ts +12 -0
  348. package/dist/svg.d.ts +8 -0
  349. package/dist/theme.d.ts +5 -0
  350. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ import { Product } from '../types';
2
+ interface PricingAmountProps {
3
+ product: Product;
4
+ price: string;
5
+ isUserInIndia: boolean;
6
+ monthlyPrice?: string;
7
+ termMonths?: number;
8
+ }
9
+ export declare const PricingAmount: React.FC<PricingAmountProps>;
10
+ export {};
@@ -0,0 +1,3 @@
1
+ import { FlexBox } from '@codecademy/gamut';
2
+ import { ComponentProps } from 'react';
3
+ export declare const RecommendedBadge: React.FC<ComponentProps<typeof FlexBox>>;
@@ -0,0 +1,14 @@
1
+ interface Detail {
2
+ id: string;
3
+ title: string;
4
+ tag: string;
5
+ isLite: boolean;
6
+ features: {
7
+ label: string;
8
+ isEnabled: boolean;
9
+ description?: string;
10
+ }[];
11
+ }
12
+ type PlanDetails = Record<string, Detail>;
13
+ export declare const planDetails: PlanDetails;
14
+ export {};
@@ -0,0 +1,12 @@
1
+ import { PlansByType } from '../config';
2
+ import { CopyConfig, CtaConfig, Product, ProductDetails } from '../types';
3
+ export declare const smSize = 728;
4
+ export declare const PricingCard: React.FC<{
5
+ product: Product;
6
+ productDetails: ProductDetails;
7
+ plansByType: PlansByType;
8
+ isUserInIndia: boolean;
9
+ isCurrentPlan?: boolean;
10
+ ctaConfig?: CtaConfig[keyof CtaConfig];
11
+ copyConfig?: CopyConfig[keyof CopyConfig];
12
+ }>;
@@ -0,0 +1,6 @@
1
+ import { CtaConfig, Product } from './types';
2
+ export declare const ProductCTA: ({ product, ctaConfig, isCurrentPlan, }: {
3
+ product: Product;
4
+ ctaConfig: CtaConfig[keyof CtaConfig];
5
+ isCurrentPlan?: boolean;
6
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { PlansByType } from './config';
2
+ import { CopyConfig, CtaConfig, User } from './types';
3
+ interface ProductsProps {
4
+ plansByType: PlansByType;
5
+ ctaConfig?: CtaConfig;
6
+ copyConfig?: CopyConfig;
7
+ user?: User;
8
+ isUserInIndia: boolean;
9
+ }
10
+ export declare const Products: React.FC<ProductsProps>;
11
+ export {};
@@ -0,0 +1,8 @@
1
+ import { Product, ProductDetails } from './types';
2
+ type Period = 'annual' | 'monthly';
3
+ type PlansByPeriod = Record<Period, ProductDetails>;
4
+ export type PlansByType = Record<Product, PlansByPeriod>;
5
+ export declare const getProductDescription: (product: Product) => "" | "Start learning something new with basic access" | "Build in-demand technical skills for work or a personal project" | "Develop the skills and experience to land a job in tech";
6
+ export declare const getProductDetails: (products: PlansByType, product: Product) => ProductDetails;
7
+ export declare const groupPlansByType: (products: ProductDetails[]) => PlansByType;
8
+ export {};
@@ -0,0 +1,13 @@
1
+ import { Background } from '@codecademy/gamut-styles';
2
+ import type { CopyConfig, CtaConfig, PlanType, ProductDetails, User } from './types';
3
+ type PricingSectionProps = Omit<Partial<React.ComponentProps<typeof Background>>, 'title'> & {
4
+ products: ProductDetails[];
5
+ title?: React.ReactNode;
6
+ planTypes?: PlanType[];
7
+ ctaConfig?: CtaConfig;
8
+ copyConfig?: CopyConfig;
9
+ user?: User;
10
+ isUserInIndia: boolean;
11
+ };
12
+ export declare const PricingSection: React.FC<PricingSectionProps>;
13
+ export {};
@@ -0,0 +1,30 @@
1
+ export declare enum Product {
2
+ Basic = "free",
3
+ Pro = "pro",
4
+ Teams = "teams",
5
+ Silver = "pro-silver",
6
+ Gold = "pro-gold"
7
+ }
8
+ export interface ProductDetails {
9
+ isTrialPlan?: boolean | null | undefined;
10
+ price: string;
11
+ planId?: string | null | undefined;
12
+ displayName: string;
13
+ planType: string;
14
+ savings?: string | null | undefined;
15
+ includedTaxRate?: string | null | undefined;
16
+ }
17
+ export type PlanType = 'basic' | 'pro-silver' | 'pro-gold' | 'teams';
18
+ export type CtaConfig = Partial<Record<PlanType, {
19
+ label?: string;
20
+ href?: string;
21
+ onClick?: () => void;
22
+ }>>;
23
+ export type CopyConfig = Partial<Record<PlanType, {
24
+ description: string;
25
+ }>>;
26
+ export interface User {
27
+ anonymous?: boolean;
28
+ proSilver?: boolean;
29
+ proGold?: boolean;
30
+ }
@@ -0,0 +1,376 @@
1
+ import { ColorModes } from '@codecademy/gamut-styles';
2
+ import { StyleProps } from '@codecademy/variance';
3
+ import { SVGProps } from 'react';
4
+ import * as React from 'react';
5
+ export type ProLabelProps = SVGProps<SVGSVGElement> & StyleProps<typeof logoStyles> & StyleProps<typeof placementVariants> & StyleProps<typeof modeVariants> & {
6
+ mode?: ColorModes;
7
+ height?: number;
8
+ };
9
+ declare const logoStyles: import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").Compose<[import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
10
+ readonly flexBasis: {
11
+ readonly property: "flexBasis";
12
+ };
13
+ readonly flexShrink: {
14
+ readonly property: "flexShrink";
15
+ };
16
+ readonly flexGrow: {
17
+ readonly property: "flexGrow";
18
+ };
19
+ readonly order: {
20
+ readonly property: "order";
21
+ };
22
+ readonly gridColumn: {
23
+ readonly property: "gridColumn";
24
+ };
25
+ readonly gridRow: {
26
+ readonly property: "gridRow";
27
+ };
28
+ readonly gridColumnStart: {
29
+ readonly property: "gridColumnStart";
30
+ };
31
+ readonly gridRowStart: {
32
+ readonly property: "gridRowStart";
33
+ };
34
+ readonly gridColumnEnd: {
35
+ readonly property: "gridColumnEnd";
36
+ };
37
+ readonly gridRowEnd: {
38
+ readonly property: "gridRowEnd";
39
+ };
40
+ readonly justifySelf: {
41
+ readonly property: "justifySelf";
42
+ };
43
+ readonly alignSelf: {
44
+ readonly property: "alignSelf";
45
+ };
46
+ readonly gridArea: {
47
+ readonly property: "gridArea";
48
+ };
49
+ readonly display: {
50
+ readonly property: "display";
51
+ };
52
+ readonly overflow: {
53
+ readonly property: "overflow";
54
+ };
55
+ readonly overflowX: {
56
+ readonly property: "overflowX";
57
+ };
58
+ readonly overflowY: {
59
+ readonly property: "overflowY";
60
+ };
61
+ readonly dimensions: {
62
+ readonly property: "width";
63
+ readonly properties: readonly ["width", "height"];
64
+ readonly transform: (value: string | number) => string | 0;
65
+ };
66
+ readonly width: {
67
+ readonly property: "width";
68
+ readonly transform: (value: string | number) => string | 0;
69
+ };
70
+ readonly minWidth: {
71
+ readonly property: "minWidth";
72
+ readonly transform: (value: string | number) => string | 0;
73
+ };
74
+ readonly maxWidth: {
75
+ readonly property: "maxWidth";
76
+ readonly transform: (value: string | number) => string | 0;
77
+ };
78
+ readonly height: {
79
+ readonly property: "height";
80
+ readonly transform: (value: string | number) => string | 0;
81
+ };
82
+ readonly minHeight: {
83
+ readonly property: "minHeight";
84
+ readonly transform: (value: string | number) => string | 0;
85
+ };
86
+ readonly maxHeight: {
87
+ readonly property: "maxHeight";
88
+ readonly transform: (value: string | number) => string | 0;
89
+ };
90
+ readonly verticalAlign: {
91
+ readonly property: "verticalAlign";
92
+ };
93
+ }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
94
+ readonly position: {
95
+ readonly property: "position";
96
+ };
97
+ readonly inset: {
98
+ readonly property: "inset";
99
+ readonly properties: readonly ["top", "right", "bottom", "left"];
100
+ readonly transform: (value: string | number) => string | 0;
101
+ };
102
+ readonly top: {
103
+ readonly property: "top";
104
+ readonly transform: (value: string | number) => string | 0;
105
+ };
106
+ readonly right: {
107
+ readonly property: "right";
108
+ readonly transform: (value: string | number) => string | 0;
109
+ };
110
+ readonly bottom: {
111
+ readonly property: "bottom";
112
+ readonly transform: (value: string | number) => string | 0;
113
+ };
114
+ readonly left: {
115
+ readonly property: "left";
116
+ readonly transform: (value: string | number) => string | 0;
117
+ };
118
+ readonly zIndex: {
119
+ readonly property: "zIndex";
120
+ };
121
+ readonly opacity: {
122
+ readonly property: "opacity";
123
+ };
124
+ }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
125
+ readonly p: {
126
+ readonly property: "padding";
127
+ readonly scale: "spacing";
128
+ };
129
+ readonly px: {
130
+ readonly property: "padding";
131
+ readonly properties: readonly ["paddingLeft", "paddingRight"];
132
+ readonly scale: "spacing";
133
+ };
134
+ readonly py: {
135
+ readonly property: "padding";
136
+ readonly properties: readonly ["paddingTop", "paddingBottom"];
137
+ readonly scale: "spacing";
138
+ };
139
+ readonly pt: {
140
+ readonly property: "paddingTop";
141
+ readonly scale: "spacing";
142
+ };
143
+ readonly pb: {
144
+ readonly property: "paddingBottom";
145
+ readonly scale: "spacing";
146
+ };
147
+ readonly pr: {
148
+ readonly property: "paddingRight";
149
+ readonly scale: "spacing";
150
+ };
151
+ readonly pl: {
152
+ readonly property: "paddingLeft";
153
+ readonly scale: "spacing";
154
+ };
155
+ readonly m: {
156
+ readonly property: "margin";
157
+ readonly scale: "spacing";
158
+ };
159
+ readonly mx: {
160
+ readonly property: "margin";
161
+ readonly properties: readonly ["marginLeft", "marginRight"];
162
+ readonly scale: "spacing";
163
+ };
164
+ readonly my: {
165
+ readonly property: "margin";
166
+ readonly properties: readonly ["marginTop", "marginBottom"];
167
+ readonly scale: "spacing";
168
+ };
169
+ readonly mt: {
170
+ readonly property: "marginTop";
171
+ readonly scale: "spacing";
172
+ };
173
+ readonly mb: {
174
+ readonly property: "marginBottom";
175
+ readonly scale: "spacing";
176
+ };
177
+ readonly mr: {
178
+ readonly property: "marginRight";
179
+ readonly scale: "spacing";
180
+ };
181
+ readonly ml: {
182
+ readonly property: "marginLeft";
183
+ readonly scale: "spacing";
184
+ };
185
+ }>>]>>;
186
+ declare const placementVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"placement", false | "inline"> & {
187
+ theme?: import("@emotion/react").Theme;
188
+ }) => import("@codecademy/variance").CSSObject;
189
+ declare const modeVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"mode", false | "light" | "dark"> & {
190
+ theme?: import("@emotion/react").Theme;
191
+ }) => import("@codecademy/variance").CSSObject;
192
+ declare const Svg: import("@emotion/styled").StyledComponent<{
193
+ theme?: import("@emotion/react").Theme;
194
+ as?: React.ElementType;
195
+ } & SVGProps<SVGSVGElement> & {
196
+ flexBasis?: import("@codecademy/variance/dist/types/config").Scale<{
197
+ readonly property: "flexBasis";
198
+ }>;
199
+ flexShrink?: import("@codecademy/variance/dist/types/config").Scale<{
200
+ readonly property: "flexShrink";
201
+ }>;
202
+ flexGrow?: import("@codecademy/variance/dist/types/config").Scale<{
203
+ readonly property: "flexGrow";
204
+ }>;
205
+ order?: import("@codecademy/variance/dist/types/config").Scale<{
206
+ readonly property: "order";
207
+ }>;
208
+ gridColumn?: import("@codecademy/variance/dist/types/config").Scale<{
209
+ readonly property: "gridColumn";
210
+ }>;
211
+ gridRow?: import("@codecademy/variance/dist/types/config").Scale<{
212
+ readonly property: "gridRow";
213
+ }>;
214
+ gridColumnStart?: import("@codecademy/variance/dist/types/config").Scale<{
215
+ readonly property: "gridColumnStart";
216
+ }>;
217
+ gridRowStart?: import("@codecademy/variance/dist/types/config").Scale<{
218
+ readonly property: "gridRowStart";
219
+ }>;
220
+ gridColumnEnd?: import("@codecademy/variance/dist/types/config").Scale<{
221
+ readonly property: "gridColumnEnd";
222
+ }>;
223
+ gridRowEnd?: import("@codecademy/variance/dist/types/config").Scale<{
224
+ readonly property: "gridRowEnd";
225
+ }>;
226
+ justifySelf?: import("@codecademy/variance/dist/types/config").Scale<{
227
+ readonly property: "justifySelf";
228
+ }>;
229
+ alignSelf?: import("@codecademy/variance/dist/types/config").Scale<{
230
+ readonly property: "alignSelf";
231
+ }>;
232
+ gridArea?: import("@codecademy/variance/dist/types/config").Scale<{
233
+ readonly property: "gridArea";
234
+ }>;
235
+ display?: import("@codecademy/variance/dist/types/config").Scale<{
236
+ readonly property: "display";
237
+ }>;
238
+ overflow?: import("@codecademy/variance/dist/types/config").Scale<{
239
+ readonly property: "overflow";
240
+ }>;
241
+ overflowX?: import("@codecademy/variance/dist/types/config").Scale<{
242
+ readonly property: "overflowX";
243
+ }>;
244
+ overflowY?: import("@codecademy/variance/dist/types/config").Scale<{
245
+ readonly property: "overflowY";
246
+ }>;
247
+ dimensions?: import("@codecademy/variance/dist/types/config").Scale<{
248
+ readonly property: "width";
249
+ readonly properties: readonly ["width", "height"];
250
+ readonly transform: (value: string | number) => string | 0;
251
+ }>;
252
+ width?: import("@codecademy/variance/dist/types/config").Scale<{
253
+ readonly property: "width";
254
+ readonly transform: (value: string | number) => string | 0;
255
+ }>;
256
+ minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
257
+ readonly property: "minWidth";
258
+ readonly transform: (value: string | number) => string | 0;
259
+ }>;
260
+ maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
261
+ readonly property: "maxWidth";
262
+ readonly transform: (value: string | number) => string | 0;
263
+ }>;
264
+ height?: import("@codecademy/variance/dist/types/config").Scale<{
265
+ readonly property: "height";
266
+ readonly transform: (value: string | number) => string | 0;
267
+ }>;
268
+ minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
269
+ readonly property: "minHeight";
270
+ readonly transform: (value: string | number) => string | 0;
271
+ }>;
272
+ maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
273
+ readonly property: "maxHeight";
274
+ readonly transform: (value: string | number) => string | 0;
275
+ }>;
276
+ verticalAlign?: import("@codecademy/variance/dist/types/config").Scale<{
277
+ readonly property: "verticalAlign";
278
+ }>;
279
+ p?: import("@codecademy/variance/dist/types/config").Scale<{
280
+ readonly property: "padding";
281
+ readonly scale: "spacing";
282
+ }>;
283
+ px?: import("@codecademy/variance/dist/types/config").Scale<{
284
+ readonly property: "padding";
285
+ readonly properties: readonly ["paddingLeft", "paddingRight"];
286
+ readonly scale: "spacing";
287
+ }>;
288
+ py?: import("@codecademy/variance/dist/types/config").Scale<{
289
+ readonly property: "padding";
290
+ readonly properties: readonly ["paddingTop", "paddingBottom"];
291
+ readonly scale: "spacing";
292
+ }>;
293
+ pt?: import("@codecademy/variance/dist/types/config").Scale<{
294
+ readonly property: "paddingTop";
295
+ readonly scale: "spacing";
296
+ }>;
297
+ pb?: import("@codecademy/variance/dist/types/config").Scale<{
298
+ readonly property: "paddingBottom";
299
+ readonly scale: "spacing";
300
+ }>;
301
+ pr?: import("@codecademy/variance/dist/types/config").Scale<{
302
+ readonly property: "paddingRight";
303
+ readonly scale: "spacing";
304
+ }>;
305
+ pl?: import("@codecademy/variance/dist/types/config").Scale<{
306
+ readonly property: "paddingLeft";
307
+ readonly scale: "spacing";
308
+ }>;
309
+ m?: import("@codecademy/variance/dist/types/config").Scale<{
310
+ readonly property: "margin";
311
+ readonly scale: "spacing";
312
+ }>;
313
+ mx?: import("@codecademy/variance/dist/types/config").Scale<{
314
+ readonly property: "margin";
315
+ readonly properties: readonly ["marginLeft", "marginRight"];
316
+ readonly scale: "spacing";
317
+ }>;
318
+ my?: import("@codecademy/variance/dist/types/config").Scale<{
319
+ readonly property: "margin";
320
+ readonly properties: readonly ["marginTop", "marginBottom"];
321
+ readonly scale: "spacing";
322
+ }>;
323
+ mt?: import("@codecademy/variance/dist/types/config").Scale<{
324
+ readonly property: "marginTop";
325
+ readonly scale: "spacing";
326
+ }>;
327
+ mb?: import("@codecademy/variance/dist/types/config").Scale<{
328
+ readonly property: "marginBottom";
329
+ readonly scale: "spacing";
330
+ }>;
331
+ mr?: import("@codecademy/variance/dist/types/config").Scale<{
332
+ readonly property: "marginRight";
333
+ readonly scale: "spacing";
334
+ }>;
335
+ ml?: import("@codecademy/variance/dist/types/config").Scale<{
336
+ readonly property: "marginLeft";
337
+ readonly scale: "spacing";
338
+ }>;
339
+ bottom?: import("@codecademy/variance/dist/types/config").Scale<{
340
+ readonly property: "bottom";
341
+ readonly transform: (value: string | number) => string | 0;
342
+ }>;
343
+ inset?: import("@codecademy/variance/dist/types/config").Scale<{
344
+ readonly property: "inset";
345
+ readonly properties: readonly ["top", "right", "bottom", "left"];
346
+ readonly transform: (value: string | number) => string | 0;
347
+ }>;
348
+ left?: import("@codecademy/variance/dist/types/config").Scale<{
349
+ readonly property: "left";
350
+ readonly transform: (value: string | number) => string | 0;
351
+ }>;
352
+ opacity?: import("@codecademy/variance/dist/types/config").Scale<{
353
+ readonly property: "opacity";
354
+ }>;
355
+ position?: import("@codecademy/variance/dist/types/config").Scale<{
356
+ readonly property: "position";
357
+ }>;
358
+ right?: import("@codecademy/variance/dist/types/config").Scale<{
359
+ readonly property: "right";
360
+ readonly transform: (value: string | number) => string | 0;
361
+ }>;
362
+ top?: import("@codecademy/variance/dist/types/config").Scale<{
363
+ readonly property: "top";
364
+ readonly transform: (value: string | number) => string | 0;
365
+ }>;
366
+ zIndex?: import("@codecademy/variance/dist/types/config").Scale<{
367
+ readonly property: "zIndex";
368
+ }>;
369
+ } & {
370
+ theme?: import("@emotion/react").Theme;
371
+ } & import("@codecademy/variance/dist/types/config").VariantProps<"placement", false | "inline"> & import("@codecademy/variance/dist/types/config").VariantProps<"mode", false | "light" | "dark"> & {
372
+ mode?: ColorModes;
373
+ height?: number;
374
+ }, Pick<SVGProps<SVGSVGElement>, "string" | "onClick" | "href" | "style" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "suppressHydrationWarning" | "className" | "id" | "lang" | "tabIndex" | "role" | "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" | "ref" | "key" | "name" | "clipPath" | "filter" | "mask" | "path" | "origin" | "scale" | "fill" | "values" | "spacing" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "paintOrder" | "pointerEvents" | "rotate" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "offset" | "min" | "max" | "end" | "clip" | "azimuth" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "local" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "orientation" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan">, {}>;
375
+ export declare const ProLabel: React.FC<React.ComponentProps<typeof Svg>>;
376
+ export {};
@@ -0,0 +1,15 @@
1
+ import { colors } from '@codecademy/gamut-styles';
2
+ import * as React from 'react';
3
+ type BaseProps = {
4
+ ariaLabel?: string;
5
+ backgroundColor?: keyof typeof colors;
6
+ width?: number;
7
+ };
8
+ export type ProLogoProps = (BaseProps & {
9
+ variant: 'transparent';
10
+ }) | (BaseProps & {
11
+ variant: 'cutout';
12
+ cutoutColor?: keyof typeof colors;
13
+ });
14
+ export declare const ProLogo: React.FC<ProLogoProps>;
15
+ export {};
@@ -0,0 +1,9 @@
1
+ import { colors } from '@codecademy/gamut-styles';
2
+ import * as React from 'react';
3
+ export type ProLogoAltProps = {
4
+ ariaLabel?: string;
5
+ backgroundColor?: keyof typeof colors;
6
+ textColor?: keyof typeof colors;
7
+ width?: number;
8
+ };
9
+ export declare const ProLogoAlt: React.FC<ProLogoAltProps>;
@@ -0,0 +1,16 @@
1
+ export declare const ProductFeatureShowcase: React.FC<{
2
+ image: {
3
+ src: string;
4
+ alt: string;
5
+ };
6
+ displayImageBorder?: boolean;
7
+ title: React.ReactNode;
8
+ description: React.ReactNode;
9
+ titleBadge?: string;
10
+ eyebrow?: React.ReactNode;
11
+ cta?: {
12
+ label: string;
13
+ href?: string;
14
+ onClick?: () => void;
15
+ };
16
+ }>;
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ interface QuizScoreProps {
3
+ correctCount: number;
4
+ total: number;
5
+ layout?: 'row' | 'column';
6
+ smallerFont?: boolean;
7
+ numOfRows?: number;
8
+ colorfulIcons?: boolean;
9
+ percentToPass?: number;
10
+ }
11
+ export declare const QuizScore: React.FC<QuizScoreProps>;
12
+ export {};
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ export type RatingsBarProps = {
3
+ /**
4
+ * Minimum amount of the bar to fill in visually.
5
+ */
6
+ minimumPercent?: number;
7
+ /**
8
+ * How much of the bar to fill in, as a number in [0, 100].
9
+ */
10
+ percent: number;
11
+ };
12
+ export declare const RatingsBar: React.FC<RatingsBarProps>;
@@ -0,0 +1,15 @@
1
+ import { HeadingTags } from '@codecademy/gamut';
2
+ import { CardProps } from '../CurriculumCard';
3
+ export declare enum ResourceType {
4
+ Article = "Article",
5
+ Doc = "Doc",
6
+ Blog = "Blog Post"
7
+ }
8
+ export type ResourceCardProps = CardProps & {
9
+ title: string;
10
+ description: string | React.ReactNode;
11
+ resourceType: ResourceType;
12
+ headingLevel: HeadingTags;
13
+ path?: string[];
14
+ };
15
+ export declare const ResourceCard: React.FC<ResourceCardProps>;
@@ -0,0 +1,28 @@
1
+ import { Colors } from '@codecademy/gamut-styles';
2
+ import { UserClickData } from '@codecademy/tracking';
3
+ import { CorrectAnswerCountsBySubContent, UntestedSubContent } from './types';
4
+ export declare const renderSubScores: ({ isChallenge, subScores, pathSlug, trackSlug, trackingData, trackUserClick, colorfulIcons, }: {
5
+ subScores: CorrectAnswerCountsBySubContent;
6
+ pathSlug: string;
7
+ colorfulIcons?: boolean;
8
+ isChallenge?: boolean;
9
+ trackSlug?: string;
10
+ trackingData?: UserClickData;
11
+ trackUserClick?: (data: UserClickData) => void;
12
+ }) => import("react/jsx-runtime").JSX.Element[];
13
+ interface SubScoresProps {
14
+ colorfulIcons?: boolean;
15
+ isChallenge?: boolean;
16
+ layout?: 'column' | 'row';
17
+ lighterBorderColor?: Colors;
18
+ noMaxWidth?: boolean;
19
+ pathSlug: string;
20
+ showUntestedContent?: boolean;
21
+ subScores: CorrectAnswerCountsBySubContent;
22
+ trackingData?: UserClickData;
23
+ trackUserClick?: (data: UserClickData) => void;
24
+ trackSlug?: string;
25
+ untestedSubContent?: UntestedSubContent[];
26
+ }
27
+ export declare const SubScores: React.FC<SubScoresProps>;
28
+ export {};
@@ -0,0 +1,11 @@
1
+ export type ContentItemType = 'article' | 'context_item' | 'informational' | 'lesson' | 'lock' | 'pro' | 'project_component' | 'project' | 'quiz' | 'resource' | 'reviewable_project' | 'seminar' | 'video' | 'external_resource' | 'kanban_project';
2
+ export interface ResumeUrlPathParams {
3
+ journeySlug?: string;
4
+ pathSlug?: string;
5
+ trackSlug?: string;
6
+ moduleSlug?: string;
7
+ contentItemType?: ContentItemType;
8
+ contentItemSlug?: string;
9
+ }
10
+ export declare const getContentItemTypeRoutePart: (type?: ContentItemType) => string;
11
+ export declare const createResumeUrlPath: ({ journeySlug, pathSlug, trackSlug, moduleSlug, contentItemType, contentItemSlug, }: ResumeUrlPathParams) => string;