@codecademy/brand 2.0.0-alpha.cec6f5b270.0 → 2.0.0-alpha.cfad6d7beb.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 (356) hide show
  1. package/README.md +1 -1
  2. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +0 -0
  3. package/dist/AppHeader/Search/consts.js +1 -1
  4. package/dist/GlobalHeader/GlobalHeaderItems.js +6 -3
  5. package/dist/GlobalHeader/index.js +5 -0
  6. package/dist/LearningOutcomeCard/index.js +13 -6
  7. package/dist/LearningOutcomeFlyout/index.js +21 -6
  8. package/dist/PlanCard/index.js +75 -28
  9. package/dist/stories/Molecules/LearningOutcomeFlyout.stories.js +1 -0
  10. package/package.json +1 -1
  11. package/dist/AbbreviatedCommunityEventCard/index.d.ts +0 -8
  12. package/dist/AppBar/AppBarSection.d.ts +0 -10
  13. package/dist/AppBar/index.d.ts +0 -9
  14. package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts +0 -14
  15. package/dist/AppBarDeprecated/index.d.ts +0 -14
  16. package/dist/AppBarDeprecated/styles/index.module.scss +0 -39
  17. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +0 -7
  18. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +0 -92
  19. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.d.ts +0 -13
  20. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.ts +0 -13
  21. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderDropdownLink.d.ts +0 -3
  22. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderMenuItem.d.ts +0 -3
  23. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/types.d.ts +0 -4
  24. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/index.d.ts +0 -2
  25. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.d.ts +0 -12
  26. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +0 -48
  27. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.d.ts +0 -15
  28. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +0 -14
  29. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts +0 -6
  30. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.d.ts +0 -14
  31. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.d.ts +0 -18
  32. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderMenuNavButton.d.ts +0 -9
  33. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.d.ts +0 -9
  34. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.d.ts +0 -10
  35. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +0 -7
  36. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.d.ts +0 -13
  37. package/dist/AppHeader/Search/DefaultResults.d.ts +0 -10
  38. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +0 -7
  39. package/dist/AppHeader/Search/SearchButton.d.ts +0 -2
  40. package/dist/AppHeader/Search/SearchPane.d.ts +0 -6
  41. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +0 -18
  42. package/dist/AppHeader/Search/SearchWorker/index.d.ts +0 -5
  43. package/dist/AppHeader/Search/SearchWorker/src.d.ts +0 -1
  44. package/dist/AppHeader/Search/SearchWorker/types.d.ts +0 -37
  45. package/dist/AppHeader/Search/SearchWorker/worker.d.ts +0 -2
  46. package/dist/AppHeader/Search/consts.d.ts +0 -23
  47. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.d.ts +0 -5
  48. package/dist/AppHeader/Search/safelyRedirect.d.ts +0 -5
  49. package/dist/AppHeader/Search/types.d.ts +0 -23
  50. package/dist/AppHeader/Search/useHeaderSearch.d.ts +0 -6
  51. package/dist/AppHeader/index.d.ts +0 -24
  52. package/dist/AppHeader/shared/elements.d.ts +0 -84
  53. package/dist/AppHeader/shared/index.d.ts +0 -4
  54. package/dist/AppHeader/shared/keyboardNav.d.ts +0 -23
  55. package/dist/AppHeader/shared/mockAppHeaderItems.d.ts +0 -2
  56. package/dist/AppHeader/shared/testTypes.d.ts +0 -0
  57. package/dist/AppHeader/shared/types.d.ts +0 -107
  58. package/dist/AppHeader/shared/utils.d.ts +0 -16
  59. package/dist/AppHeader/utils/types.d.ts +0 -8
  60. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/MobileSearchBar.d.ts +0 -5
  61. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts +0 -9
  62. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.d.ts +0 -13
  63. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts +0 -9
  64. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.d.ts +0 -7
  65. package/dist/AppHeaderMobile/index.d.ts +0 -20
  66. package/dist/Avatar/Avatar.stories.d.ts +0 -6
  67. package/dist/Avatar/index.d.ts +0 -36
  68. package/dist/AvatarChooser/index.d.ts +0 -12
  69. package/dist/BackToTopAnchor/index.d.ts +0 -13
  70. package/dist/Banner/index.d.ts +0 -21
  71. package/dist/BetaSticker/index.d.ts +0 -6
  72. package/dist/CareerPathCard/index.d.ts +0 -19
  73. package/dist/Carousel/elements.d.ts +0 -27
  74. package/dist/Carousel/index.d.ts +0 -24
  75. package/dist/CertificationPathCard/__tests__/__fixtures__/index.d.ts +0 -2
  76. package/dist/CertificationPathCard/index.d.ts +0 -20
  77. package/dist/CommunityEventCard/EventTypeIcon.d.ts +0 -11
  78. package/dist/CommunityEventCard/index.d.ts +0 -28
  79. package/dist/CommunityEventToast/index.d.ts +0 -6
  80. package/dist/ContentGroupBaseCard/helpers.d.ts +0 -4
  81. package/dist/ContentGroupBaseCard/index.d.ts +0 -31
  82. package/dist/ContentGroupBaseCard/shared.d.ts +0 -8
  83. package/dist/ContentGroupBaseCard/types.d.ts +0 -10
  84. package/dist/CourseCard/__tests__/__fixtures__/index.d.ts +0 -3
  85. package/dist/CourseCard/index.d.ts +0 -20
  86. package/dist/CurriculumCard/BottomTag/index.d.ts +0 -7
  87. package/dist/CurriculumCard/Difficulty/helpers.d.ts +0 -8
  88. package/dist/CurriculumCard/Difficulty/index.d.ts +0 -3
  89. package/dist/CurriculumCard/Difficulty/types.d.ts +0 -22
  90. package/dist/CurriculumCard/Footer/index.d.ts +0 -10
  91. package/dist/CurriculumCard/Image/index.d.ts +0 -9
  92. package/dist/CurriculumCard/Subtitle/helpers.d.ts +0 -1
  93. package/dist/CurriculumCard/Subtitle/index.d.ts +0 -8
  94. package/dist/CurriculumCard/index.d.ts +0 -59
  95. package/dist/DropdownButton/DropdownList.d.ts +0 -17
  96. package/dist/DropdownButton/index.d.ts +0 -76
  97. package/dist/DropdownButton/useDynamicPopoverPosition.d.ts +0 -14
  98. package/dist/EditorialImage/index.d.ts +0 -10
  99. package/dist/EditorialImage/styles.module.scss +0 -36
  100. package/dist/EmptySection/index.d.ts +0 -28
  101. package/dist/ErrorContents/index.d.ts +0 -8
  102. package/dist/FeatureList/index.d.ts +0 -11
  103. package/dist/GlobalFooter/FooterHeading.d.ts +0 -9
  104. package/dist/GlobalFooter/FooterLegal/LegalLinks.d.ts +0 -6
  105. package/dist/GlobalFooter/FooterLegal/MadeIn.d.ts +0 -5
  106. package/dist/GlobalFooter/FooterLegal/index.d.ts +0 -7
  107. package/dist/GlobalFooter/FooterLinks.d.ts +0 -18
  108. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.d.ts +0 -7
  109. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.d.ts +0 -12
  110. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.d.ts +0 -7
  111. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.d.ts +0 -2
  112. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.d.ts +0 -4
  113. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.d.ts +0 -3
  114. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.ts +0 -4
  115. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.d.ts +0 -2
  116. package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg +0 -45
  117. package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png +0 -0
  118. package/dist/GlobalFooter/FooterNavLinks/index.d.ts +0 -4
  119. package/dist/GlobalFooter/FooterSubHeading.d.ts +0 -9
  120. package/dist/GlobalFooter/index.d.ts +0 -23
  121. package/dist/GlobalFooter/types.d.ts +0 -13
  122. package/dist/GlobalHeader/GlobalHeaderItems.d.ts +0 -25
  123. package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +0 -28
  124. package/dist/GlobalHeader/index.d.ts +0 -10
  125. package/dist/GlobalHeader/types.d.ts +0 -89
  126. package/dist/GlobalHeader/urlHelpers.d.ts +0 -2
  127. package/dist/GlobalPage/index.d.ts +0 -34
  128. package/dist/Grid/GridCollapse.d.ts +0 -41
  129. package/dist/Grid/Subgrid.d.ts +0 -23
  130. package/dist/Grid/getCSSFromColumnCount.d.ts +0 -6
  131. package/dist/Grid/index.d.ts +0 -3
  132. package/dist/HeaderHeightArea/index.d.ts +0 -9
  133. package/dist/HeaderHeightArea/useIsInHeaderRegion.d.ts +0 -1
  134. package/dist/HorizontalScrollMenu/index.d.ts +0 -7
  135. package/dist/HubCard/index.d.ts +0 -8
  136. package/dist/InfoCard/index.d.ts +0 -19
  137. package/dist/Konamimojisplosion/Konamimojisplosion.d.ts +0 -5
  138. package/dist/Konamimojisplosion/index.d.ts +0 -2
  139. package/dist/Konamimojisplosion/useKonamimojisplosion.d.ts +0 -1
  140. package/dist/LandingPage/CTA.d.ts +0 -9
  141. package/dist/LandingPage/Description.d.ts +0 -6
  142. package/dist/LandingPage/Feature.d.ts +0 -32
  143. package/dist/LandingPage/PageFAQs.d.ts +0 -10
  144. package/dist/LandingPage/PageFeatures.d.ts +0 -16
  145. package/dist/LandingPage/PageFeaturesEnhanced.d.ts +0 -7
  146. package/dist/LandingPage/PageFeaturesWithReferences.d.ts +0 -19
  147. package/dist/LandingPage/PageHero.d.ts +0 -7
  148. package/dist/LandingPage/PagePrefooter.d.ts +0 -5
  149. package/dist/LandingPage/PageSingleFeature.d.ts +0 -56
  150. package/dist/LandingPage/PageTestimonials.d.ts +0 -21
  151. package/dist/LandingPage/PageVideoGallery.d.ts +0 -11
  152. package/dist/LandingPage/Title.d.ts +0 -23
  153. package/dist/LandingPage/TitleWithEyebrow.d.ts +0 -11
  154. package/dist/LandingPage/index.d.ts +0 -14
  155. package/dist/LandingPage/types.d.ts +0 -28
  156. package/dist/LayoutMenu/AccordionMenu.d.ts +0 -25
  157. package/dist/LayoutMenu/LayoutMenu.d.ts +0 -43
  158. package/dist/LayoutMenu/LayoutMenuSection.d.ts +0 -16
  159. package/dist/LayoutMenu/SectionItemLink.d.ts +0 -7
  160. package/dist/LayoutMenu/SelectedSectionItem.d.ts +0 -3
  161. package/dist/LayoutMenu/index.d.ts +0 -3
  162. package/dist/LayoutMenuVariant/AccordionMenu.d.ts +0 -21
  163. package/dist/LayoutMenuVariant/LayoutMenu.d.ts +0 -39
  164. package/dist/LayoutMenuVariant/LayoutMenuSection.d.ts +0 -10
  165. package/dist/LayoutMenuVariant/SectionItemLink.d.ts +0 -8
  166. package/dist/LayoutMenuVariant/index.d.ts +0 -2
  167. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.d.ts +0 -8
  168. package/dist/LearningOutcomeAssessmentScores/index.d.ts +0 -8
  169. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +0 -18
  170. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +0 -10
  171. package/dist/LearningOutcomeBadges/index.d.ts +0 -2
  172. package/dist/LearningOutcomeCard/index.d.ts +0 -27
  173. package/dist/LearningOutcomeFlyout/LearningOutcomeCardList.d.ts +0 -6
  174. package/dist/LearningOutcomeFlyout/index.d.ts +0 -35
  175. package/dist/LearningOutcomePopover/index.d.ts +0 -10
  176. package/dist/LearningOutcomeTile/Tile.d.ts +0 -7
  177. package/dist/LearningOutcomeTile/index.d.ts +0 -3
  178. package/dist/LearningOutcomeTile/types.d.ts +0 -47
  179. package/dist/ListSection/index.d.ts +0 -21
  180. package/dist/Loading/index.d.ts +0 -5
  181. package/dist/Loading/styles.module.scss +0 -131
  182. package/dist/LoadingCurriculumCard/index.d.ts +0 -7
  183. package/dist/Logo/CodecademyLogo.d.ts +0 -2
  184. package/dist/Logo/CodecademyPremiumLogo.d.ts +0 -2
  185. package/dist/Logo/CodecademyProAltLogo.d.ts +0 -2
  186. package/dist/Logo/CodecademyProLockupLogo.d.ts +0 -2
  187. package/dist/Logo/CodecademyProLogo.d.ts +0 -2
  188. package/dist/Logo/CodecademyProMonoLogo.d.ts +0 -2
  189. package/dist/Logo/CodecademyProgramLogo.d.ts +0 -2
  190. package/dist/Logo/CodecademyTeamsLogo.d.ts +0 -2
  191. package/dist/Logo/index.d.ts +0 -8
  192. package/dist/LogoFromSkillsoft/index.d.ts +0 -227
  193. package/dist/LogoLXStudio/index.d.ts +0 -3
  194. package/dist/LogoProCutout/index.d.ts +0 -8
  195. package/dist/LogoProCutoutTransparent/index.d.ts +0 -7
  196. package/dist/MarketingToaster/index.d.ts +0 -8
  197. package/dist/NotFoundContent/404.svg +0 -1
  198. package/dist/NotFoundContent/index.d.ts +0 -8
  199. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.d.ts +0 -7
  200. package/dist/NotificationList/EmptyNotification/index.d.ts +0 -1
  201. package/dist/NotificationList/NotificationItem.d.ts +0 -8
  202. package/dist/NotificationList/index.d.ts +0 -9
  203. package/dist/NotificationList/typings.d.ts +0 -16
  204. package/dist/Notifications/NotificationBell.d.ts +0 -10
  205. package/dist/Notifications/NotificationsContents.d.ts +0 -3
  206. package/dist/Notifications/NotificationsDropdown.d.ts +0 -2
  207. package/dist/Notifications/__fixtures__/NotificationTestComponent.d.ts +0 -2
  208. package/dist/Notifications/__fixtures__/stubs.d.ts +0 -2
  209. package/dist/Notifications/constants.d.ts +0 -4
  210. package/dist/Notifications/elements.d.ts +0 -12
  211. package/dist/Notifications/types.d.ts +0 -24
  212. package/dist/Notifications/useHeaderNotifications.d.ts +0 -10
  213. package/dist/Notifications/useNotificationButtons.d.ts +0 -9
  214. package/dist/PageAlerts/PageAlerts.d.ts +0 -10
  215. package/dist/PageAlerts/PageAlertsProvider.d.ts +0 -11
  216. package/dist/PageAlerts/index.d.ts +0 -3
  217. package/dist/PageAlerts/types.d.ts +0 -17
  218. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +0 -19
  219. package/dist/PageLayoutWithSidebarMenu/index.d.ts +0 -1
  220. package/dist/PageSection/index.d.ts +0 -17
  221. package/dist/PastDue/PastDueModalContents/index.d.ts +0 -8
  222. package/dist/PastDue/index.d.ts +0 -2
  223. package/dist/PastDue/pastDueMessages.d.ts +0 -6
  224. package/dist/PausableImage/BaseImage/index.d.ts +0 -15
  225. package/dist/PausableImage/index.d.ts +0 -11
  226. package/dist/PlanCard/PlanCardBanner.d.ts +0 -7
  227. package/dist/PlanCard/PlanFeature.d.ts +0 -9
  228. package/dist/PlanCard/PopularBadge.d.ts +0 -3
  229. package/dist/PlanCard/PricingAmount.d.ts +0 -14
  230. package/dist/PlanCard/RecommendedBadge.d.ts +0 -3
  231. package/dist/PlanCard/consts.d.ts +0 -14
  232. package/dist/PlanCard/index.d.ts +0 -18
  233. package/dist/PlanCard/types.d.ts +0 -39
  234. package/dist/PlanCardTeams/consts.d.ts +0 -9
  235. package/dist/PlanCardTeams/index.d.ts +0 -8
  236. package/dist/PricingSection/PlanFeature.d.ts +0 -10
  237. package/dist/PricingSection/PricingCard/PricingAmount.d.ts +0 -10
  238. package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +0 -3
  239. package/dist/PricingSection/PricingCard/consts.d.ts +0 -14
  240. package/dist/PricingSection/PricingCard/index.d.ts +0 -12
  241. package/dist/PricingSection/ProductCTA.d.ts +0 -6
  242. package/dist/PricingSection/Products.d.ts +0 -11
  243. package/dist/PricingSection/config.d.ts +0 -8
  244. package/dist/PricingSection/index.d.ts +0 -13
  245. package/dist/PricingSection/types.d.ts +0 -30
  246. package/dist/ProLabel/index.d.ts +0 -376
  247. package/dist/ProLogo/index.d.ts +0 -15
  248. package/dist/ProLogoAlt/index.d.ts +0 -9
  249. package/dist/ProductFeatureShowcase/index.d.ts +0 -16
  250. package/dist/QuizScore/index.d.ts +0 -12
  251. package/dist/RatingsBar/index.d.ts +0 -12
  252. package/dist/ResourceCard/index.d.ts +0 -15
  253. package/dist/ScoreSummary/SubScores.d.ts +0 -28
  254. package/dist/ScoreSummary/helpers.d.ts +0 -11
  255. package/dist/ScoreSummary/index.d.ts +0 -21
  256. package/dist/ScoreSummary/types.d.ts +0 -310
  257. package/dist/SkillPathCard/__tests__/__fixtures__/index.d.ts +0 -2
  258. package/dist/SkillPathCard/index.d.ts +0 -17
  259. package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +0 -13
  260. package/dist/SocialMediaSharing/index.d.ts +0 -49
  261. package/dist/SocialMediaSharingDropdown/__tests__/SocialMediaSharingDropdown-test.d.ts +0 -1
  262. package/dist/SocialMediaSharingDropdown/index.d.ts +0 -15
  263. package/dist/Testimonial/index.d.ts +0 -45
  264. package/dist/assets/darkQuotes.svg +0 -1
  265. package/dist/assets/dots.svg +0 -1
  266. package/dist/assets/lightQuotes.svg +0 -1
  267. package/dist/assets/navyQuotes.svg +0 -5
  268. package/dist/assets/orange_squiggle.svg +0 -1
  269. package/dist/index.d.ts +0 -90
  270. package/dist/lib/breakpointHooks/index.d.ts +0 -43
  271. package/dist/lib/catalogList/index.d.ts +0 -5
  272. package/dist/lib/resourcesList/index.d.ts +0 -5
  273. package/dist/png.d.ts +0 -4
  274. package/dist/react-freezeframe.d.ts +0 -1
  275. package/dist/remoteAssets/components.d.ts +0 -1
  276. package/dist/stories/Atoms/Avatar.stories.d.ts +0 -6
  277. package/dist/stories/Atoms/BetaSticker.stories.d.ts +0 -7
  278. package/dist/stories/Atoms/Logos/Logo.stories.d.ts +0 -13
  279. package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.d.ts +0 -6
  280. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +0 -6
  281. package/dist/stories/Atoms/Logos/ProLabel.stories.d.ts +0 -6
  282. package/dist/stories/Atoms/Logos/ProLogoAlt.stories.d.ts +0 -6
  283. package/dist/stories/Atoms/RatingsBar.stories.d.ts +0 -6
  284. package/dist/stories/Atoms/Subgrid.stories.d.ts +0 -6
  285. package/dist/stories/Molecules/AppBar.stories.d.ts +0 -15
  286. package/dist/stories/Molecules/AppHeader/AppHeader.stories.d.ts +0 -6
  287. package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.d.ts +0 -8
  288. package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.d.ts +0 -8
  289. package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.d.ts +0 -8
  290. package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.d.ts +0 -6
  291. package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.d.ts +0 -6
  292. package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.d.ts +0 -7
  293. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.d.ts +0 -7
  294. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.d.ts +0 -6
  295. package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.d.ts +0 -5
  296. package/dist/stories/Molecules/AvatarChooser.stories.d.ts +0 -7
  297. package/dist/stories/Molecules/BackToTopAnchor.stories.d.ts +0 -10
  298. package/dist/stories/Molecules/Banner.stories.d.ts +0 -16
  299. package/dist/stories/Molecules/Carousel.stories.d.ts +0 -7
  300. package/dist/stories/Molecules/ContentGroupBaseCard.stories.d.ts +0 -13
  301. package/dist/stories/Molecules/CurriculumCard.stories.d.ts +0 -16
  302. package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.d.ts +0 -10
  303. package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.d.ts +0 -9
  304. package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.d.ts +0 -10
  305. package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.d.ts +0 -6
  306. package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.d.ts +0 -9
  307. package/dist/stories/Molecules/DropdownButton.stories.d.ts +0 -11
  308. package/dist/stories/Molecules/EditorialImage.stories.d.ts +0 -6
  309. package/dist/stories/Molecules/EmptySection.stories.d.ts +0 -13
  310. package/dist/stories/Molecules/ErrorContents.stories.d.ts +0 -7
  311. package/dist/stories/Molecules/GridCollapse.stories.d.ts +0 -6
  312. package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +0 -1
  313. package/dist/stories/Molecules/HorizontalScrollMenu.stories.d.ts +0 -6
  314. package/dist/stories/Molecules/HubCard.stories.d.ts +0 -7
  315. package/dist/stories/Molecules/InfoCard.stories.d.ts +0 -7
  316. package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.d.ts +0 -6
  317. package/dist/stories/Molecules/LearningOutcomeCard.stories.d.ts +0 -15
  318. package/dist/stories/Molecules/LearningOutcomeFlyout.stories.d.ts +0 -5
  319. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.d.ts +0 -6
  320. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.d.ts +0 -6
  321. package/dist/stories/Molecules/LearningOutcomePopover.stories.d.ts +0 -5
  322. package/dist/stories/Molecules/LearningOutcomeTile.stories.d.ts +0 -10
  323. package/dist/stories/Molecules/ListSection.stories.d.ts +0 -9
  324. package/dist/stories/Molecules/Loading.stories.d.ts +0 -6
  325. package/dist/stories/Molecules/NotificationList.stories.d.ts +0 -7
  326. package/dist/stories/Molecules/PageSection.stories.d.ts +0 -8
  327. package/dist/stories/Molecules/PastDueModalContents.stories.d.ts +0 -10
  328. package/dist/stories/Molecules/PausableImage.stories.d.ts +0 -6
  329. package/dist/stories/Molecules/ResourceCard.stories.d.ts +0 -6
  330. package/dist/stories/Molecules/SocialMediaSharing.stories.d.ts +0 -6
  331. package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.d.ts +0 -6
  332. package/dist/stories/Molecules/Testimonial.stories.d.ts +0 -10
  333. package/dist/stories/Organisms/GlobalFooter.stories.d.ts +0 -8
  334. package/dist/stories/Organisms/GlobalHeader/About.stories.d.ts +0 -10
  335. package/dist/stories/Organisms/GlobalHeader/Anon.stories.d.ts +0 -9
  336. package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.d.ts +0 -6
  337. package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.d.ts +0 -8
  338. package/dist/stories/Organisms/GlobalHeader/Free.stories.d.ts +0 -8
  339. package/dist/stories/Organisms/GlobalHeader/Pro.stories.d.ts +0 -10
  340. package/dist/stories/Organisms/GlobalHeader/Simple.stories.d.ts +0 -6
  341. package/dist/stories/Organisms/GlobalPage.stories.d.ts +0 -9
  342. package/dist/stories/Organisms/LayoutMenu.stories.d.ts +0 -10
  343. package/dist/stories/Organisms/LayoutMenuVariant.stories.d.ts +0 -9
  344. package/dist/stories/Organisms/PageAlerts.example.d.ts +0 -2
  345. package/dist/stories/Organisms/PageAlerts.stories.d.ts +0 -7
  346. package/dist/stories/Organisms/PageFeatures.stories.d.ts +0 -14
  347. package/dist/stories/Organisms/PageHero.stories.d.ts +0 -17
  348. package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.d.ts +0 -7
  349. package/dist/stories/Organisms/PagePrefooter.stories.d.ts +0 -10
  350. package/dist/stories/Organisms/PageSingleFeature.stories.d.ts +0 -18
  351. package/dist/stories/Organisms/PageVideoGallery.stories.d.ts +0 -10
  352. package/dist/stories/Organisms/PlanCard.stories.d.ts +0 -9
  353. package/dist/stories/Organisms/PlanCardTeams.stories.d.ts +0 -7
  354. package/dist/stories/Organisms/ScoreSummary.stories.d.ts +0 -12
  355. package/dist/svg.d.ts +0 -8
  356. package/dist/theme.d.ts +0 -5
@@ -1,10 +0,0 @@
1
- export declare const LearningOutcomeLowAssessmentDot: import("@emotion/styled").StyledComponent<{
2
- theme?: import("@emotion/react").Theme | undefined;
3
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
4
- } & import("@codecademy/gamut").BoxProps & Pick<import("react").DetailedHTMLProps<import("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 import("react").ClassAttributes<HTMLDivElement>> & {
5
- theme?: import("@emotion/react").Theme;
6
- } & {
7
- hasBorder?: boolean;
8
- small?: boolean;
9
- }, {}, {}>;
10
- export declare const LearningOutcomeLowAssessmentBadge: React.FC;
@@ -1,2 +0,0 @@
1
- export * from './LearningOutcomeLevelBadge';
2
- export * from './LearningOutcomeLowAssessmentBadge';
@@ -1,27 +0,0 @@
1
- import { HeadingTags } from '@codecademy/gamut';
2
- import { LearningOutcomeLevels } from '../LearningOutcomeBadges';
3
- interface LearningOutcomeSkill {
4
- title?: string | null | undefined;
5
- }
6
- interface LearningOutcomeCardProps {
7
- level: LearningOutcomeLevels | null | undefined;
8
- outcome: string;
9
- as?: 'li';
10
- headingLevel?: HeadingTags;
11
- isInteractive?: boolean;
12
- mode?: 'emphasized' | 'base';
13
- progress?: number;
14
- skills?: LearningOutcomeSkill[] | null;
15
- /**
16
- * Optional prop for progress updates, used to animate the radial progress from a previous value to the current value.
17
- * Need to provide previousProgress and progressDuraion to animate the radial progress.
18
- * If progress is 100, completionDelay needs to be provided instead of progressDuration to delay the display of the completion icon.
19
- */
20
- progressUpdateData?: {
21
- previousProgress: number;
22
- progressDuration?: number;
23
- completionDelay?: number;
24
- };
25
- }
26
- export declare const LearningOutcomeCard: React.FC<LearningOutcomeCardProps>;
27
- export {};
@@ -1,6 +0,0 @@
1
- import { ParentLearningOutcome } from '../LearningOutcomeFlyout';
2
- interface LearningOutcomeCardListProps {
3
- learningOutcomes: ParentLearningOutcome[];
4
- }
5
- export declare const LearningOutcomeCardList: React.FC<LearningOutcomeCardListProps>;
6
- export {};
@@ -1,35 +0,0 @@
1
- import { LearningOutcomeLevels } from '../LearningOutcomeBadges';
2
- export declare enum SkillClassification {
3
- Language = "language",
4
- Subject = "subject"
5
- }
6
- interface LearningOutcomeSkill {
7
- id: string;
8
- slug: string;
9
- title?: string | null;
10
- classification?: SkillClassification | null;
11
- }
12
- export interface ParentLearningOutcome {
13
- id: string;
14
- outcome: string;
15
- level: number | null | undefined;
16
- }
17
- interface LearningOutcomeDetailsProps {
18
- level: LearningOutcomeLevels;
19
- outcome: string;
20
- percentComplete: number | undefined | null;
21
- highestScore: number | undefined | null;
22
- highestScoreAchievedAt: string | undefined | null;
23
- latestScore: number | undefined | null;
24
- latestScoreAchievedAt: string | undefined | null;
25
- parentLOs?: ParentLearningOutcome[];
26
- skills?: LearningOutcomeSkill[] | null;
27
- }
28
- interface LearningOutcomeFlyoutProps {
29
- expanded: boolean;
30
- onClose: () => void;
31
- learningOutcome: LearningOutcomeDetailsProps;
32
- }
33
- export declare const sortSkillsByClassification: (skills?: LearningOutcomeSkill[] | null) => LearningOutcomeSkill[];
34
- export declare const LearningOutcomeFlyout: React.FC<LearningOutcomeFlyoutProps>;
35
- export {};
@@ -1,10 +0,0 @@
1
- import { LearningOutcomePopoverDetailsProps } from '../LearningOutcomeTile/types';
2
- interface LearningOutcomePopoverProps {
3
- activeElRef: React.RefObject<HTMLDivElement> | React.RefObject<HTMLAnchorElement>;
4
- id: string;
5
- isOpen: boolean;
6
- learningOutcomeDetails: LearningOutcomePopoverDetailsProps;
7
- horizontalOffset?: number;
8
- }
9
- export declare const LearningOutcomePopover: React.FC<LearningOutcomePopoverProps>;
10
- export {};
@@ -1,7 +0,0 @@
1
- import { TileProps } from './types';
2
- export declare const Tile: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
- } & import("@codecademy/gamut").FlexBoxProps & Pick<import("react").DetailedHTMLProps<import("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 import("react").ClassAttributes<HTMLDivElement>> & {
6
- theme?: import("@emotion/react").Theme;
7
- } & TileProps, {}, {}>;
@@ -1,3 +0,0 @@
1
- import { LearningOutcomeTileProps, Progress } from './types';
2
- export declare const progressState: (percentComplete: number) => Progress;
3
- export declare const LearningOutcomeTile: React.FC<LearningOutcomeTileProps>;
@@ -1,47 +0,0 @@
1
- import { LearningOutcomeLevels } from '../LearningOutcomeBadges';
2
- export declare enum Progress {
3
- notStarted = "notStarted",
4
- inProgress = "inProgress",
5
- completed = "completed"
6
- }
7
- export type SizeType = 'small' | 'normal';
8
- export interface TileProps {
9
- hover: boolean;
10
- progress: Progress;
11
- size: SizeType;
12
- }
13
- interface LearningOutcomeTileDetailsProps {
14
- id: string;
15
- level: LearningOutcomeLevels;
16
- outcome: string;
17
- percentComplete: number | undefined | null;
18
- latestScore?: number | undefined | null;
19
- }
20
- export interface LearningOutcomePopoverDetailsProps {
21
- id: string;
22
- level: LearningOutcomeLevels;
23
- outcome: string;
24
- percentComplete: number | undefined | null;
25
- latestScore?: number | undefined | null;
26
- highestScore?: number | undefined | null;
27
- }
28
- interface WithHoverAndWithPopover {
29
- learningOutcomeDetails: LearningOutcomePopoverDetailsProps;
30
- hover: true;
31
- popover: true;
32
- }
33
- interface WithHoverAndWithoutPopover {
34
- learningOutcomeDetails: LearningOutcomeTileDetailsProps;
35
- hover: true;
36
- popover: false;
37
- }
38
- interface WithoutHoverAndWithoutPopover {
39
- learningOutcomeDetails: LearningOutcomeTileDetailsProps;
40
- hover?: false;
41
- popover?: false;
42
- }
43
- export type LearningOutcomeTileProps = {
44
- onClick?: () => void;
45
- size?: SizeType;
46
- } & (WithHoverAndWithPopover | WithHoverAndWithoutPopover | WithoutHoverAndWithoutPopover);
47
- export {};
@@ -1,21 +0,0 @@
1
- import { WithChildrenProp } from '@codecademy/gamut';
2
- import * as React from 'react';
3
- import { SectionButton } from '..';
4
- export interface ListSectionProps extends WithChildrenProp {
5
- title: string;
6
- headerButton?: SectionButton;
7
- headerSecondaryButton?: SectionButton;
8
- /**
9
- * Number of items to be initally displayed
10
- *
11
- * @remarks
12
- * If the initial display amount matches the number of list items, Show All button will not appear.
13
- */
14
- initialDisplayAmount?: number;
15
- /**
16
- * Optional callback function that will be called when the user clicks the "Show All" / "Show less" button.
17
- * This is usually used for things like metrics tracking.
18
- */
19
- onShowAllOrLessClick?: (showAll: boolean) => void;
20
- }
21
- export declare const ListSection: React.FC<ListSectionProps>;
@@ -1,5 +0,0 @@
1
- import * as React from 'react';
2
- export type LoadingProps = {
3
- className?: string;
4
- };
5
- export declare const Loading: React.FC<LoadingProps>;
@@ -1,131 +0,0 @@
1
- @import "~@codecademy/gamut-styles/utils";
2
-
3
- $c-offset: 169;
4
- $inner-offset: 287;
5
- $outer-offset: 361;
6
- $underline-offset: 77;
7
- $animation-duration: 3s;
8
-
9
- @keyframes draw-c {
10
- 50% {
11
- stroke-dashoffset: 0;
12
- }
13
- }
14
- @keyframes draw-c-fast {
15
- 10% {
16
- stroke-dashoffset: $c-offset;
17
- }
18
- 50% {
19
- stroke-dashoffset: 0;
20
- }
21
- 85% {
22
- stroke-dashoffset: $c-offset;
23
- }
24
- }
25
-
26
- @keyframes draw-inner {
27
- 50% {
28
- stroke-dashoffset: 0;
29
- }
30
- }
31
- @keyframes draw-inner-fast {
32
- 10% {
33
- stroke-dashoffset: $inner-offset;
34
- }
35
- 50% {
36
- stroke-dashoffset: 0;
37
- }
38
- 85% {
39
- stroke-dashoffset: $inner-offset;
40
- }
41
- }
42
-
43
- @keyframes draw-outer {
44
- 50% {
45
- stroke-dashoffset: 0;
46
- }
47
- }
48
- @keyframes draw-outer-fast {
49
- 10% {
50
- stroke-dashoffset: $outer-offset;
51
- }
52
- 50% {
53
- stroke-dashoffset: 0;
54
- }
55
- 85% {
56
- stroke-dashoffset: $outer-offset;
57
- }
58
- }
59
-
60
- @keyframes draw-underline {
61
- 50% {
62
- stroke-dashoffset: 0;
63
- }
64
- }
65
- @keyframes draw-underline-fast {
66
- 10% {
67
- stroke-dashoffset: $underline-offset;
68
- }
69
- 50% {
70
- stroke-dashoffset: 0;
71
- }
72
- 85% {
73
- stroke-dashoffset: $underline-offset;
74
- }
75
- }
76
-
77
- .fullPage {
78
- width: 100%;
79
- height: viewport-height(-($height-header));
80
- }
81
-
82
- .loading {
83
- width: px-rem(120px);
84
- }
85
-
86
- .underline {
87
- stroke-dasharray: $underline-offset;
88
- stroke-dashoffset: $underline-offset;
89
- }
90
- .c {
91
- stroke-dasharray: $c-offset;
92
- stroke-dashoffset: $c-offset;
93
- }
94
- .inner {
95
- stroke-dasharray: $inner-offset;
96
- stroke-dashoffset: $inner-offset;
97
- }
98
- .outer {
99
- stroke-dasharray: $outer-offset;
100
- stroke-dashoffset: $outer-offset;
101
- }
102
-
103
- .path {
104
- &.underline {
105
- animation: draw-underline $animation-duration infinite;
106
- }
107
- &.c {
108
- animation: draw-c $animation-duration infinite;
109
- }
110
- &.outer {
111
- animation: draw-outer $animation-duration infinite;
112
- }
113
- &.inner {
114
- animation: draw-inner $animation-duration infinite;
115
- }
116
- }
117
-
118
- .pathTwo {
119
- &.underline {
120
- animation: draw-underline-fast $animation-duration infinite;
121
- }
122
- &.c {
123
- animation: draw-c-fast $animation-duration infinite;
124
- }
125
- &.outer {
126
- animation: draw-outer-fast $animation-duration infinite;
127
- }
128
- &.inner {
129
- animation: draw-inner-fast $animation-duration infinite;
130
- }
131
- }
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { CardProps } from '../CurriculumCard';
3
- type LoadingCurriculumCardProps = {
4
- variant?: CardProps['variant'];
5
- };
6
- export declare const LoadingCurriculumCard: React.FC<LoadingCurriculumCardProps>;
7
- export {};
@@ -1,2 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export declare function CodecademyLogo(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export declare function CodecademyPremiumLogo(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export declare function CodecademyProAltLogo(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export declare function CodecademyProLockupLogo(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export declare function CodecademyProLogo(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export declare function CodecademyProMonoLogo(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export declare function CodecademyProgramLogo(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export declare function CodecademyTeamsLogo(props: SVGProps<SVGSVGElement>): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +0,0 @@
1
- import { SVGProps } from 'react';
2
- export type LogoType = 'default' | 'pro' | 'proAlt' | 'proLockup' | 'program' | 'proMono' | 'premium' | 'teams';
3
- export type LogoProps = SVGProps<SVGSVGElement> & {
4
- height?: number;
5
- width?: number;
6
- type?: LogoType;
7
- };
8
- export declare function Logo({ type, height, ...props }: LogoProps): import("react/jsx-runtime").JSX.Element;
@@ -1,227 +0,0 @@
1
- import { StyleProps } from '@codecademy/variance';
2
- import * as React from 'react';
3
- export declare const composedLogoStyles: 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<{
4
- readonly flexBasis: {
5
- readonly property: "flexBasis";
6
- };
7
- readonly flexShrink: {
8
- readonly property: "flexShrink";
9
- };
10
- readonly flexGrow: {
11
- readonly property: "flexGrow";
12
- };
13
- readonly order: {
14
- readonly property: "order";
15
- };
16
- readonly gridColumn: {
17
- readonly property: "gridColumn";
18
- };
19
- readonly gridRow: {
20
- readonly property: "gridRow";
21
- };
22
- readonly gridColumnStart: {
23
- readonly property: "gridColumnStart";
24
- };
25
- readonly gridRowStart: {
26
- readonly property: "gridRowStart";
27
- };
28
- readonly gridColumnEnd: {
29
- readonly property: "gridColumnEnd";
30
- };
31
- readonly gridRowEnd: {
32
- readonly property: "gridRowEnd";
33
- };
34
- readonly justifySelf: {
35
- readonly property: "justifySelf";
36
- };
37
- readonly alignSelf: {
38
- readonly property: "alignSelf";
39
- };
40
- readonly gridArea: {
41
- readonly property: "gridArea";
42
- };
43
- readonly display: {
44
- readonly property: "display";
45
- };
46
- readonly overflow: {
47
- readonly property: "overflow";
48
- };
49
- readonly overflowX: {
50
- readonly property: "overflowX";
51
- };
52
- readonly overflowY: {
53
- readonly property: "overflowY";
54
- };
55
- readonly dimensions: {
56
- readonly property: "width";
57
- readonly properties: readonly ["width", "height"];
58
- readonly transform: (value: string | number) => string | 0;
59
- };
60
- readonly width: {
61
- readonly property: "width";
62
- readonly transform: (value: string | number) => string | 0;
63
- };
64
- readonly minWidth: {
65
- readonly property: "minWidth";
66
- readonly transform: (value: string | number) => string | 0;
67
- };
68
- readonly maxWidth: {
69
- readonly property: "maxWidth";
70
- readonly transform: (value: string | number) => string | 0;
71
- };
72
- readonly height: {
73
- readonly property: "height";
74
- readonly transform: (value: string | number) => string | 0;
75
- };
76
- readonly minHeight: {
77
- readonly property: "minHeight";
78
- readonly transform: (value: string | number) => string | 0;
79
- };
80
- readonly maxHeight: {
81
- readonly property: "maxHeight";
82
- readonly transform: (value: string | number) => string | 0;
83
- };
84
- readonly verticalAlign: {
85
- readonly property: "verticalAlign";
86
- };
87
- }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
88
- readonly color: {
89
- readonly property: "color";
90
- readonly scale: "colors";
91
- };
92
- readonly textColor: {
93
- readonly property: "color";
94
- readonly scale: "colors";
95
- };
96
- readonly bg: {
97
- readonly property: "backgroundColor";
98
- readonly scale: "colors";
99
- };
100
- readonly borderColor: {
101
- readonly property: "borderColor";
102
- readonly scale: "colors";
103
- };
104
- readonly borderColorX: {
105
- readonly property: "borderColor";
106
- readonly properties: readonly ["borderLeftColor", "borderRightColor"];
107
- readonly scale: "colors";
108
- };
109
- readonly borderColorY: {
110
- readonly property: "borderColor";
111
- readonly properties: readonly ["borderTopColor", "borderBottomColor"];
112
- readonly scale: "colors";
113
- };
114
- readonly borderColorLeft: {
115
- readonly property: "borderLeftColor";
116
- readonly scale: "colors";
117
- };
118
- readonly borderColorRight: {
119
- readonly property: "borderRightColor";
120
- readonly scale: "colors";
121
- };
122
- readonly borderColorTop: {
123
- readonly property: "borderTopColor";
124
- readonly scale: "colors";
125
- };
126
- readonly borderColorBottom: {
127
- readonly property: "borderBottomColor";
128
- readonly scale: "colors";
129
- };
130
- }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
131
- readonly p: {
132
- readonly property: "padding";
133
- readonly scale: "spacing";
134
- };
135
- readonly px: {
136
- readonly property: "padding";
137
- readonly properties: readonly ["paddingLeft", "paddingRight"];
138
- readonly scale: "spacing";
139
- };
140
- readonly py: {
141
- readonly property: "padding";
142
- readonly properties: readonly ["paddingTop", "paddingBottom"];
143
- readonly scale: "spacing";
144
- };
145
- readonly pt: {
146
- readonly property: "paddingTop";
147
- readonly scale: "spacing";
148
- };
149
- readonly pb: {
150
- readonly property: "paddingBottom";
151
- readonly scale: "spacing";
152
- };
153
- readonly pr: {
154
- readonly property: "paddingRight";
155
- readonly scale: "spacing";
156
- };
157
- readonly pl: {
158
- readonly property: "paddingLeft";
159
- readonly scale: "spacing";
160
- };
161
- readonly m: {
162
- readonly property: "margin";
163
- readonly scale: "spacing";
164
- };
165
- readonly mx: {
166
- readonly property: "margin";
167
- readonly properties: readonly ["marginLeft", "marginRight"];
168
- readonly scale: "spacing";
169
- };
170
- readonly my: {
171
- readonly property: "margin";
172
- readonly properties: readonly ["marginTop", "marginBottom"];
173
- readonly scale: "spacing";
174
- };
175
- readonly mt: {
176
- readonly property: "marginTop";
177
- readonly scale: "spacing";
178
- };
179
- readonly mb: {
180
- readonly property: "marginBottom";
181
- readonly scale: "spacing";
182
- };
183
- readonly mr: {
184
- readonly property: "marginRight";
185
- readonly scale: "spacing";
186
- };
187
- readonly ml: {
188
- readonly property: "marginLeft";
189
- readonly scale: "spacing";
190
- };
191
- }>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
192
- readonly position: {
193
- readonly property: "position";
194
- };
195
- readonly inset: {
196
- readonly property: "inset";
197
- readonly properties: readonly ["top", "right", "bottom", "left"];
198
- readonly transform: (value: string | number) => string | 0;
199
- };
200
- readonly top: {
201
- readonly property: "top";
202
- readonly transform: (value: string | number) => string | 0;
203
- };
204
- readonly right: {
205
- readonly property: "right";
206
- readonly transform: (value: string | number) => string | 0;
207
- };
208
- readonly bottom: {
209
- readonly property: "bottom";
210
- readonly transform: (value: string | number) => string | 0;
211
- };
212
- readonly left: {
213
- readonly property: "left";
214
- readonly transform: (value: string | number) => string | 0;
215
- };
216
- readonly zIndex: {
217
- readonly property: "zIndex";
218
- };
219
- readonly opacity: {
220
- readonly property: "opacity";
221
- };
222
- }>>]>>;
223
- export interface FromLogoIconStyleProps extends StyleProps<typeof composedLogoStyles> {
224
- }
225
- export interface SharedLogoIconProps extends Omit<React.SVGProps<SVGSVGElement>, keyof FromLogoIconStyleProps>, FromLogoIconStyleProps {
226
- }
227
- export declare const LogoFromSkillsoft: React.FC<SharedLogoIconProps>;
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { SharedLogoIconProps } from '../LogoFromSkillsoft';
3
- export declare const LogoLXStudio: React.FC<SharedLogoIconProps>;
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- export type LogoProCutoutProps = {
3
- ariaLabel?: string;
4
- backgroundColor?: string;
5
- cutoutColor?: string;
6
- width?: number;
7
- };
8
- export declare const LogoProCutout: React.FC<LogoProCutoutProps>;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export type LogoProCutoutTransparent = {
3
- ariaLabel?: string;
4
- backgroundColor?: string;
5
- width?: number;
6
- };
7
- export declare const LogoProCutoutTransparent: React.FC<LogoProCutoutTransparent>;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- interface MarketingToasterProps {
3
- toasts: {
4
- [key: string]: React.ReactNode;
5
- };
6
- }
7
- export declare const MarketingToaster: React.FC<MarketingToasterProps>;
8
- export {};