@codecademy/brand 2.0.0-alpha.e27d2c9864.0 → 2.0.0-alpha.e9ff2d8778.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 (382) hide show
  1. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.js +9 -9
  2. package/dist/GlobalHeader/GlobalHeaderItems.js +6 -3
  3. package/dist/GlobalHeader/index.js +5 -0
  4. package/dist/LayoutMenu/LayoutMenu.js +3 -4
  5. package/dist/LayoutMenuVariant/LayoutMenu.js +3 -4
  6. package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.js +55 -0
  7. package/dist/LearningOutcomeAssessmentScores/index.js +24 -0
  8. package/dist/LearningOutcomeFlyout/index.js +170 -0
  9. package/dist/LearningOutcomeTile/index.js +1 -3
  10. package/dist/Logo/CodecademyLogo.js +19 -0
  11. package/dist/Logo/CodecademyPremiumLogo.js +35 -0
  12. package/dist/Logo/CodecademyProAltLogo.js +19 -0
  13. package/dist/Logo/CodecademyProLockupLogo.js +13 -0
  14. package/dist/{Logos/LogoCodecademyPro/index.js → Logo/CodecademyProLogo.js} +7 -11
  15. package/dist/{Logos/LogoCodecademy/index.js → Logo/CodecademyProMonoLogo.js} +15 -15
  16. package/dist/Logo/CodecademyProgramLogo.js +14 -0
  17. package/dist/{Logos/LogoCodecademyTeams/index.js → Logo/CodecademyTeamsLogo.js} +4 -9
  18. package/dist/Logo/index.js +30 -0
  19. package/dist/LogoFromSkillsoft/index.js +55 -0
  20. package/dist/LogoLXStudio/index.js +47 -0
  21. package/dist/{Logos/ProLabel/ProLabelCutout → LogoProCutout}/index.js +1 -1
  22. package/dist/{Logos/ProLabel/ProLabelCutoutTransparent → LogoProCutoutTransparent}/index.js +1 -1
  23. package/dist/PlanCard/index.js +23 -14
  24. package/dist/ProLabel/index.js +59 -0
  25. package/dist/{Logos/ProLabel → ProLogo}/index.js +5 -5
  26. package/dist/index.js +7 -1
  27. package/dist/stories/Atoms/Logos/Logo.stories.js +78 -0
  28. package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.js +8 -2
  29. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +1 -1
  30. package/dist/stories/Atoms/Logos/ProLabel.stories.js +11 -10
  31. package/dist/stories/Atoms/Logos/ProLogoAlt.stories.js +24 -0
  32. package/dist/stories/Molecules/AppBar.stories.js +2 -2
  33. package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.js +23 -0
  34. package/dist/stories/Molecules/LearningOutcomeFlyout.stories.js +35 -0
  35. package/package.json +1 -1
  36. package/dist/AbbreviatedCommunityEventCard/index.d.ts +0 -8
  37. package/dist/AppBar/AppBarSection.d.ts +0 -10
  38. package/dist/AppBar/index.d.ts +0 -9
  39. package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts +0 -14
  40. package/dist/AppBarDeprecated/index.d.ts +0 -14
  41. package/dist/AppBarDeprecated/styles/index.module.scss +0 -39
  42. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +0 -7
  43. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +0 -92
  44. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.d.ts +0 -13
  45. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.ts +0 -13
  46. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderDropdownLink.d.ts +0 -3
  47. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderMenuItem.d.ts +0 -3
  48. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/types.d.ts +0 -4
  49. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/index.d.ts +0 -2
  50. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.d.ts +0 -12
  51. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +0 -48
  52. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.d.ts +0 -15
  53. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +0 -14
  54. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts +0 -6
  55. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.d.ts +0 -14
  56. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.d.ts +0 -18
  57. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderMenuNavButton.d.ts +0 -9
  58. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.d.ts +0 -9
  59. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.d.ts +0 -10
  60. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +0 -7
  61. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.d.ts +0 -13
  62. package/dist/AppHeader/Search/DefaultResults.d.ts +0 -10
  63. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +0 -7
  64. package/dist/AppHeader/Search/SearchButton.d.ts +0 -2
  65. package/dist/AppHeader/Search/SearchPane.d.ts +0 -6
  66. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +0 -18
  67. package/dist/AppHeader/Search/SearchWorker/index.d.ts +0 -5
  68. package/dist/AppHeader/Search/SearchWorker/src.d.ts +0 -1
  69. package/dist/AppHeader/Search/SearchWorker/types.d.ts +0 -37
  70. package/dist/AppHeader/Search/SearchWorker/worker.d.ts +0 -2
  71. package/dist/AppHeader/Search/consts.d.ts +0 -23
  72. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.d.ts +0 -5
  73. package/dist/AppHeader/Search/safelyRedirect.d.ts +0 -5
  74. package/dist/AppHeader/Search/types.d.ts +0 -23
  75. package/dist/AppHeader/Search/useHeaderSearch.d.ts +0 -6
  76. package/dist/AppHeader/index.d.ts +0 -24
  77. package/dist/AppHeader/shared/elements.d.ts +0 -84
  78. package/dist/AppHeader/shared/index.d.ts +0 -4
  79. package/dist/AppHeader/shared/keyboardNav.d.ts +0 -23
  80. package/dist/AppHeader/shared/mockAppHeaderItems.d.ts +0 -2
  81. package/dist/AppHeader/shared/testTypes.d.ts +0 -0
  82. package/dist/AppHeader/shared/types.d.ts +0 -107
  83. package/dist/AppHeader/shared/utils.d.ts +0 -16
  84. package/dist/AppHeader/utils/types.d.ts +0 -8
  85. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/MobileSearchBar.d.ts +0 -5
  86. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts +0 -9
  87. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.d.ts +0 -13
  88. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts +0 -9
  89. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.d.ts +0 -7
  90. package/dist/AppHeaderMobile/index.d.ts +0 -20
  91. package/dist/Avatar/Avatar.stories.d.ts +0 -6
  92. package/dist/Avatar/index.d.ts +0 -36
  93. package/dist/AvatarChooser/index.d.ts +0 -12
  94. package/dist/BackToTopAnchor/index.d.ts +0 -13
  95. package/dist/Banner/index.d.ts +0 -21
  96. package/dist/BetaSticker/index.d.ts +0 -6
  97. package/dist/CareerPathCard/index.d.ts +0 -19
  98. package/dist/Carousel/elements.d.ts +0 -27
  99. package/dist/Carousel/index.d.ts +0 -24
  100. package/dist/CertificationPathCard/__tests__/__fixtures__/index.d.ts +0 -2
  101. package/dist/CertificationPathCard/index.d.ts +0 -20
  102. package/dist/CommunityEventCard/EventTypeIcon.d.ts +0 -11
  103. package/dist/CommunityEventCard/index.d.ts +0 -28
  104. package/dist/CommunityEventToast/index.d.ts +0 -6
  105. package/dist/ContentGroupBaseCard/helpers.d.ts +0 -4
  106. package/dist/ContentGroupBaseCard/index.d.ts +0 -31
  107. package/dist/ContentGroupBaseCard/shared.d.ts +0 -8
  108. package/dist/ContentGroupBaseCard/types.d.ts +0 -10
  109. package/dist/CourseCard/__tests__/__fixtures__/index.d.ts +0 -3
  110. package/dist/CourseCard/index.d.ts +0 -20
  111. package/dist/CurriculumCard/BottomTag/index.d.ts +0 -7
  112. package/dist/CurriculumCard/Difficulty/helpers.d.ts +0 -8
  113. package/dist/CurriculumCard/Difficulty/index.d.ts +0 -3
  114. package/dist/CurriculumCard/Difficulty/types.d.ts +0 -22
  115. package/dist/CurriculumCard/Footer/index.d.ts +0 -10
  116. package/dist/CurriculumCard/Image/index.d.ts +0 -9
  117. package/dist/CurriculumCard/Subtitle/helpers.d.ts +0 -1
  118. package/dist/CurriculumCard/Subtitle/index.d.ts +0 -8
  119. package/dist/CurriculumCard/index.d.ts +0 -59
  120. package/dist/DropdownButton/DropdownList.d.ts +0 -17
  121. package/dist/DropdownButton/index.d.ts +0 -76
  122. package/dist/DropdownButton/useDynamicPopoverPosition.d.ts +0 -14
  123. package/dist/EditorialImage/index.d.ts +0 -10
  124. package/dist/EditorialImage/styles.module.scss +0 -36
  125. package/dist/EmptySection/index.d.ts +0 -28
  126. package/dist/ErrorContents/index.d.ts +0 -8
  127. package/dist/FeatureList/index.d.ts +0 -11
  128. package/dist/GlobalFooter/FooterHeading.d.ts +0 -9
  129. package/dist/GlobalFooter/FooterLegal/LegalLinks.d.ts +0 -6
  130. package/dist/GlobalFooter/FooterLegal/MadeIn.d.ts +0 -5
  131. package/dist/GlobalFooter/FooterLegal/index.d.ts +0 -7
  132. package/dist/GlobalFooter/FooterLinks.d.ts +0 -18
  133. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.d.ts +0 -7
  134. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.d.ts +0 -12
  135. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.d.ts +0 -7
  136. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.d.ts +0 -2
  137. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.d.ts +0 -4
  138. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.d.ts +0 -3
  139. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.ts +0 -4
  140. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.d.ts +0 -2
  141. package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg +0 -45
  142. package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png +0 -0
  143. package/dist/GlobalFooter/FooterNavLinks/index.d.ts +0 -4
  144. package/dist/GlobalFooter/FooterSubHeading.d.ts +0 -9
  145. package/dist/GlobalFooter/index.d.ts +0 -23
  146. package/dist/GlobalFooter/types.d.ts +0 -13
  147. package/dist/GlobalHeader/GlobalHeaderItems.d.ts +0 -25
  148. package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +0 -28
  149. package/dist/GlobalHeader/index.d.ts +0 -10
  150. package/dist/GlobalHeader/types.d.ts +0 -89
  151. package/dist/GlobalHeader/urlHelpers.d.ts +0 -2
  152. package/dist/GlobalPage/index.d.ts +0 -34
  153. package/dist/Grid/GridCollapse.d.ts +0 -41
  154. package/dist/Grid/Subgrid.d.ts +0 -23
  155. package/dist/Grid/getCSSFromColumnCount.d.ts +0 -6
  156. package/dist/Grid/index.d.ts +0 -3
  157. package/dist/HeaderHeightArea/index.d.ts +0 -9
  158. package/dist/HeaderHeightArea/useIsInHeaderRegion.d.ts +0 -1
  159. package/dist/HorizontalScrollMenu/index.d.ts +0 -7
  160. package/dist/HubCard/index.d.ts +0 -8
  161. package/dist/InfoCard/index.d.ts +0 -19
  162. package/dist/Konamimojisplosion/Konamimojisplosion.d.ts +0 -5
  163. package/dist/Konamimojisplosion/index.d.ts +0 -2
  164. package/dist/Konamimojisplosion/useKonamimojisplosion.d.ts +0 -1
  165. package/dist/LandingPage/CTA.d.ts +0 -9
  166. package/dist/LandingPage/Description.d.ts +0 -6
  167. package/dist/LandingPage/Feature.d.ts +0 -32
  168. package/dist/LandingPage/PageFAQs.d.ts +0 -10
  169. package/dist/LandingPage/PageFeatures.d.ts +0 -16
  170. package/dist/LandingPage/PageFeaturesEnhanced.d.ts +0 -7
  171. package/dist/LandingPage/PageFeaturesWithReferences.d.ts +0 -19
  172. package/dist/LandingPage/PageHero.d.ts +0 -7
  173. package/dist/LandingPage/PagePrefooter.d.ts +0 -5
  174. package/dist/LandingPage/PageSingleFeature.d.ts +0 -56
  175. package/dist/LandingPage/PageTestimonials.d.ts +0 -21
  176. package/dist/LandingPage/PageVideoGallery.d.ts +0 -11
  177. package/dist/LandingPage/Title.d.ts +0 -23
  178. package/dist/LandingPage/TitleWithEyebrow.d.ts +0 -11
  179. package/dist/LandingPage/index.d.ts +0 -14
  180. package/dist/LandingPage/types.d.ts +0 -28
  181. package/dist/LayoutMenu/AccordionMenu.d.ts +0 -25
  182. package/dist/LayoutMenu/LayoutMenu.d.ts +0 -43
  183. package/dist/LayoutMenu/LayoutMenuSection.d.ts +0 -16
  184. package/dist/LayoutMenu/SectionItemLink.d.ts +0 -7
  185. package/dist/LayoutMenu/SelectedSectionItem.d.ts +0 -3
  186. package/dist/LayoutMenu/index.d.ts +0 -3
  187. package/dist/LayoutMenuVariant/AccordionMenu.d.ts +0 -21
  188. package/dist/LayoutMenuVariant/LayoutMenu.d.ts +0 -39
  189. package/dist/LayoutMenuVariant/LayoutMenuSection.d.ts +0 -10
  190. package/dist/LayoutMenuVariant/SectionItemLink.d.ts +0 -8
  191. package/dist/LayoutMenuVariant/index.d.ts +0 -2
  192. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +0 -18
  193. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +0 -10
  194. package/dist/LearningOutcomeBadges/index.d.ts +0 -2
  195. package/dist/LearningOutcomeCard/index.d.ts +0 -29
  196. package/dist/LearningOutcomePopover/index.d.ts +0 -10
  197. package/dist/LearningOutcomeTile/Tile.d.ts +0 -7
  198. package/dist/LearningOutcomeTile/index.d.ts +0 -2
  199. package/dist/LearningOutcomeTile/types.d.ts +0 -48
  200. package/dist/ListSection/index.d.ts +0 -21
  201. package/dist/Loading/index.d.ts +0 -5
  202. package/dist/Loading/styles.module.scss +0 -131
  203. package/dist/LoadingCurriculumCard/index.d.ts +0 -7
  204. package/dist/Logos/LogoCodecademy/index.d.ts +0 -2
  205. package/dist/Logos/LogoCodecademyMini/index.d.ts +0 -2
  206. package/dist/Logos/LogoCodecademyMini/index.js +0 -18
  207. package/dist/Logos/LogoCodecademyPro/index.d.ts +0 -2
  208. package/dist/Logos/LogoCodecademyTeams/index.d.ts +0 -2
  209. package/dist/Logos/LogoFromSkillsoft/index.d.ts +0 -3
  210. package/dist/Logos/LogoFromSkillsoft/index.js +0 -47
  211. package/dist/Logos/LogoLXStudio/index.d.ts +0 -3
  212. package/dist/Logos/LogoLXStudio/index.js +0 -40
  213. package/dist/Logos/ProLabel/ProLabelCutout/index.d.ts +0 -8
  214. package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.d.ts +0 -7
  215. package/dist/Logos/ProLabel/index.d.ts +0 -15
  216. package/dist/Logos/index.d.ts +0 -7
  217. package/dist/Logos/index.js +0 -7
  218. package/dist/Logos/shared.d.ts +0 -636
  219. package/dist/Logos/shared.js +0 -16
  220. package/dist/MarketingToaster/index.d.ts +0 -8
  221. package/dist/NotFoundContent/404.svg +0 -1
  222. package/dist/NotFoundContent/index.d.ts +0 -8
  223. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.d.ts +0 -7
  224. package/dist/NotificationList/EmptyNotification/index.d.ts +0 -1
  225. package/dist/NotificationList/NotificationItem.d.ts +0 -8
  226. package/dist/NotificationList/index.d.ts +0 -9
  227. package/dist/NotificationList/typings.d.ts +0 -16
  228. package/dist/Notifications/NotificationBell.d.ts +0 -10
  229. package/dist/Notifications/NotificationsContents.d.ts +0 -3
  230. package/dist/Notifications/NotificationsDropdown.d.ts +0 -2
  231. package/dist/Notifications/__fixtures__/NotificationTestComponent.d.ts +0 -2
  232. package/dist/Notifications/__fixtures__/stubs.d.ts +0 -2
  233. package/dist/Notifications/constants.d.ts +0 -4
  234. package/dist/Notifications/elements.d.ts +0 -12
  235. package/dist/Notifications/types.d.ts +0 -24
  236. package/dist/Notifications/useHeaderNotifications.d.ts +0 -10
  237. package/dist/Notifications/useNotificationButtons.d.ts +0 -9
  238. package/dist/PageAlerts/PageAlerts.d.ts +0 -10
  239. package/dist/PageAlerts/PageAlertsProvider.d.ts +0 -11
  240. package/dist/PageAlerts/index.d.ts +0 -3
  241. package/dist/PageAlerts/types.d.ts +0 -17
  242. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +0 -19
  243. package/dist/PageLayoutWithSidebarMenu/index.d.ts +0 -1
  244. package/dist/PageSection/index.d.ts +0 -17
  245. package/dist/PastDue/PastDueModalContents/index.d.ts +0 -8
  246. package/dist/PastDue/index.d.ts +0 -2
  247. package/dist/PastDue/pastDueMessages.d.ts +0 -6
  248. package/dist/PausableImage/BaseImage/index.d.ts +0 -15
  249. package/dist/PausableImage/index.d.ts +0 -11
  250. package/dist/PlanCard/PlanCardBanner.d.ts +0 -7
  251. package/dist/PlanCard/PlanFeature.d.ts +0 -9
  252. package/dist/PlanCard/PopularBadge.d.ts +0 -3
  253. package/dist/PlanCard/PricingAmount.d.ts +0 -14
  254. package/dist/PlanCard/RecommendedBadge.d.ts +0 -3
  255. package/dist/PlanCard/consts.d.ts +0 -14
  256. package/dist/PlanCard/index.d.ts +0 -18
  257. package/dist/PlanCard/types.d.ts +0 -39
  258. package/dist/PlanCardTeams/consts.d.ts +0 -9
  259. package/dist/PlanCardTeams/index.d.ts +0 -8
  260. package/dist/PricingSection/PlanFeature.d.ts +0 -10
  261. package/dist/PricingSection/PricingCard/PricingAmount.d.ts +0 -10
  262. package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +0 -3
  263. package/dist/PricingSection/PricingCard/consts.d.ts +0 -14
  264. package/dist/PricingSection/PricingCard/index.d.ts +0 -12
  265. package/dist/PricingSection/ProductCTA.d.ts +0 -6
  266. package/dist/PricingSection/Products.d.ts +0 -11
  267. package/dist/PricingSection/config.d.ts +0 -8
  268. package/dist/PricingSection/index.d.ts +0 -13
  269. package/dist/PricingSection/types.d.ts +0 -30
  270. package/dist/ProLogoAlt/index.d.ts +0 -9
  271. package/dist/ProductFeatureShowcase/index.d.ts +0 -16
  272. package/dist/QuizScore/index.d.ts +0 -12
  273. package/dist/RatingsBar/index.d.ts +0 -12
  274. package/dist/ResourceCard/index.d.ts +0 -15
  275. package/dist/ScoreSummary/SubScores.d.ts +0 -28
  276. package/dist/ScoreSummary/helpers.d.ts +0 -11
  277. package/dist/ScoreSummary/index.d.ts +0 -21
  278. package/dist/ScoreSummary/types.d.ts +0 -310
  279. package/dist/SkillPathCard/__tests__/__fixtures__/index.d.ts +0 -2
  280. package/dist/SkillPathCard/index.d.ts +0 -17
  281. package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +0 -13
  282. package/dist/SocialMediaSharing/index.d.ts +0 -49
  283. package/dist/SocialMediaSharingDropdown/__tests__/SocialMediaSharingDropdown-test.d.ts +0 -1
  284. package/dist/SocialMediaSharingDropdown/index.d.ts +0 -15
  285. package/dist/Testimonial/index.d.ts +0 -45
  286. package/dist/assets/darkQuotes.svg +0 -1
  287. package/dist/assets/dots.svg +0 -1
  288. package/dist/assets/lightQuotes.svg +0 -1
  289. package/dist/assets/navyQuotes.svg +0 -5
  290. package/dist/assets/orange_squiggle.svg +0 -1
  291. package/dist/index.d.ts +0 -84
  292. package/dist/lib/breakpointHooks/index.d.ts +0 -43
  293. package/dist/lib/catalogList/index.d.ts +0 -5
  294. package/dist/lib/resourcesList/index.d.ts +0 -5
  295. package/dist/png.d.ts +0 -4
  296. package/dist/react-freezeframe.d.ts +0 -1
  297. package/dist/remoteAssets/components.d.ts +0 -1
  298. package/dist/stories/Atoms/Avatar.stories.d.ts +0 -6
  299. package/dist/stories/Atoms/BetaSticker.stories.d.ts +0 -7
  300. package/dist/stories/Atoms/Logos/LogoCodecademy.stories.d.ts +0 -6
  301. package/dist/stories/Atoms/Logos/LogoCodecademy.stories.js +0 -8
  302. package/dist/stories/Atoms/Logos/LogoCodecademyMini.stories.d.ts +0 -6
  303. package/dist/stories/Atoms/Logos/LogoCodecademyMini.stories.js +0 -8
  304. package/dist/stories/Atoms/Logos/LogoCodecademyPro.stories.d.ts +0 -6
  305. package/dist/stories/Atoms/Logos/LogoCodecademyPro.stories.js +0 -8
  306. package/dist/stories/Atoms/Logos/LogoCodecademyTeams.stories.d.ts +0 -6
  307. package/dist/stories/Atoms/Logos/LogoCodecademyTeams.stories.js +0 -8
  308. package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.d.ts +0 -6
  309. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +0 -6
  310. package/dist/stories/Atoms/Logos/ProLabel.stories.d.ts +0 -7
  311. package/dist/stories/Atoms/RatingsBar.stories.d.ts +0 -6
  312. package/dist/stories/Atoms/Subgrid.stories.d.ts +0 -6
  313. package/dist/stories/Molecules/AppBar.stories.d.ts +0 -15
  314. package/dist/stories/Molecules/AppHeader/AppHeader.stories.d.ts +0 -6
  315. package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.d.ts +0 -8
  316. package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.d.ts +0 -8
  317. package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.d.ts +0 -8
  318. package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.d.ts +0 -6
  319. package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.d.ts +0 -6
  320. package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.d.ts +0 -7
  321. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.d.ts +0 -7
  322. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.d.ts +0 -6
  323. package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.d.ts +0 -5
  324. package/dist/stories/Molecules/AvatarChooser.stories.d.ts +0 -7
  325. package/dist/stories/Molecules/BackToTopAnchor.stories.d.ts +0 -10
  326. package/dist/stories/Molecules/Banner.stories.d.ts +0 -16
  327. package/dist/stories/Molecules/Carousel.stories.d.ts +0 -7
  328. package/dist/stories/Molecules/ContentGroupBaseCard.stories.d.ts +0 -13
  329. package/dist/stories/Molecules/CurriculumCard.stories.d.ts +0 -16
  330. package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.d.ts +0 -10
  331. package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.d.ts +0 -9
  332. package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.d.ts +0 -10
  333. package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.d.ts +0 -6
  334. package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.d.ts +0 -9
  335. package/dist/stories/Molecules/DropdownButton.stories.d.ts +0 -11
  336. package/dist/stories/Molecules/EditorialImage.stories.d.ts +0 -6
  337. package/dist/stories/Molecules/EmptySection.stories.d.ts +0 -13
  338. package/dist/stories/Molecules/ErrorContents.stories.d.ts +0 -7
  339. package/dist/stories/Molecules/GridCollapse.stories.d.ts +0 -6
  340. package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +0 -1
  341. package/dist/stories/Molecules/HorizontalScrollMenu.stories.d.ts +0 -6
  342. package/dist/stories/Molecules/HubCard.stories.d.ts +0 -7
  343. package/dist/stories/Molecules/InfoCard.stories.d.ts +0 -7
  344. package/dist/stories/Molecules/LearningOutcomeCard.stories.d.ts +0 -10
  345. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.d.ts +0 -6
  346. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.d.ts +0 -6
  347. package/dist/stories/Molecules/LearningOutcomePopover.stories.d.ts +0 -5
  348. package/dist/stories/Molecules/LearningOutcomeTile.stories.d.ts +0 -10
  349. package/dist/stories/Molecules/ListSection.stories.d.ts +0 -9
  350. package/dist/stories/Molecules/Loading.stories.d.ts +0 -6
  351. package/dist/stories/Molecules/NotificationList.stories.d.ts +0 -7
  352. package/dist/stories/Molecules/PageSection.stories.d.ts +0 -8
  353. package/dist/stories/Molecules/PastDueModalContents.stories.d.ts +0 -10
  354. package/dist/stories/Molecules/PausableImage.stories.d.ts +0 -6
  355. package/dist/stories/Molecules/ResourceCard.stories.d.ts +0 -6
  356. package/dist/stories/Molecules/SocialMediaSharing.stories.d.ts +0 -6
  357. package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.d.ts +0 -6
  358. package/dist/stories/Molecules/Testimonial.stories.d.ts +0 -10
  359. package/dist/stories/Organisms/GlobalFooter.stories.d.ts +0 -8
  360. package/dist/stories/Organisms/GlobalHeader/About.stories.d.ts +0 -10
  361. package/dist/stories/Organisms/GlobalHeader/Anon.stories.d.ts +0 -9
  362. package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.d.ts +0 -6
  363. package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.d.ts +0 -8
  364. package/dist/stories/Organisms/GlobalHeader/Free.stories.d.ts +0 -8
  365. package/dist/stories/Organisms/GlobalHeader/Pro.stories.d.ts +0 -10
  366. package/dist/stories/Organisms/GlobalHeader/Simple.stories.d.ts +0 -6
  367. package/dist/stories/Organisms/GlobalPage.stories.d.ts +0 -9
  368. package/dist/stories/Organisms/LayoutMenu.stories.d.ts +0 -10
  369. package/dist/stories/Organisms/LayoutMenuVariant.stories.d.ts +0 -9
  370. package/dist/stories/Organisms/PageAlerts.example.d.ts +0 -2
  371. package/dist/stories/Organisms/PageAlerts.stories.d.ts +0 -7
  372. package/dist/stories/Organisms/PageFeatures.stories.d.ts +0 -14
  373. package/dist/stories/Organisms/PageHero.stories.d.ts +0 -17
  374. package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.d.ts +0 -7
  375. package/dist/stories/Organisms/PagePrefooter.stories.d.ts +0 -10
  376. package/dist/stories/Organisms/PageSingleFeature.stories.d.ts +0 -18
  377. package/dist/stories/Organisms/PageVideoGallery.stories.d.ts +0 -10
  378. package/dist/stories/Organisms/PlanCard.stories.d.ts +0 -9
  379. package/dist/stories/Organisms/PlanCardTeams.stories.d.ts +0 -7
  380. package/dist/stories/Organisms/ScoreSummary.stories.d.ts +0 -12
  381. package/dist/svg.d.ts +0 -8
  382. package/dist/theme.d.ts +0 -5
@@ -1,27 +0,0 @@
1
- export declare const ArrowButton: import("@emotion/styled").StyledComponent<(((Omit<Omit<{
2
- theme?: import("@emotion/react").Theme | undefined;
3
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
4
- } & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- } & Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "content" | "translate" | "property" | "hidden" | "form" | "slot" | "style" | "title" | "suppressHydrationWarning" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "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" | "children" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof import("react").ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
7
- theme?: import("@emotion/react").Theme | undefined;
8
- } & import("@codecademy/gamut/dist/Button/shared").ButtonBaseProps & import("@codecademy/gamut").IconComponentType & {
9
- 'aria-label'?: string | undefined;
10
- tip: string;
11
- tipProps?: Omit<import("@codecademy/gamut").ToolTipProps, "children" | "info"> | undefined;
12
- }, "ref"> | Omit<Omit<{
13
- theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
15
- } & {
16
- theme?: import("@emotion/react").Theme | undefined;
17
- } & Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "content" | "translate" | "property" | "hidden" | "form" | "slot" | "style" | "title" | "suppressHydrationWarning" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "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" | "children" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof import("react").ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value"> & Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "content" | "translate" | "property" | "hidden" | "slot" | "style" | "title" | "suppressHydrationWarning" | "className" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "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" | "children" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof import("react").ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "ping" | "referrerPolicy">, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
18
- theme?: import("@emotion/react").Theme | undefined;
19
- } & import("@codecademy/gamut/dist/Button/shared").ButtonBaseProps & import("@codecademy/gamut").IconComponentType & {
20
- 'aria-label'?: string | undefined;
21
- tip: string;
22
- tipProps?: Omit<import("@codecademy/gamut").ToolTipProps, "children" | "info"> | undefined;
23
- }, "ref">) & import("react").RefAttributes<import("@codecademy/gamut").ButtonBaseElements>) & {
24
- theme?: import("@emotion/react").Theme;
25
- }) & Partial<Record<"disabled", boolean>> & {
26
- theme?: import("@emotion/react").Theme;
27
- }, {}, {}>;
@@ -1,24 +0,0 @@
1
- import '@splidejs/splide/dist/css/splide.min.css';
2
- import { breakpoints } from '@codecademy/gamut-styles';
3
- import { UserClickData } from '@codecademy/tracking';
4
- import { Options } from '@splidejs/react-splide';
5
- import React from 'react';
6
- type Breakpoint = keyof typeof breakpoints;
7
- type CarouselProps = {
8
- items: JSX.Element[];
9
- onArrowClick?: (props: UserClickData) => void;
10
- options?: Options;
11
- patternedBackground?: boolean;
12
- leftPadding?: boolean;
13
- showArrowDisplay?: Record<Breakpoint, boolean>;
14
- title?: JSX.Element;
15
- variant?: 'catalog_home' | 'catalog_hub';
16
- };
17
- export declare const PatternedContainer: React.FC<React.PropsWithChildren<{
18
- as?: React.ElementType<any>;
19
- bottomPadding?: boolean;
20
- leftPadding?: boolean;
21
- overflowAuto?: boolean;
22
- }>>;
23
- export declare const Carousel: React.FC<CarouselProps>;
24
- export {};
@@ -1,2 +0,0 @@
1
- import { CertificationPathCardProps } from '../..';
2
- export declare const mockCertificationPathCard: CertificationPathCardProps;
@@ -1,20 +0,0 @@
1
- import { HeadingTags } from '@codecademy/gamut';
2
- import { CourseDifficulty, EnrollmentStatus } from '../ContentGroupBaseCard/types';
3
- interface CertificationProviderDetails {
4
- name: string;
5
- logoUrl: string;
6
- }
7
- export interface CertificationPathCardProps {
8
- title: string;
9
- courseCount: number;
10
- enrollmentStatus: EnrollmentStatus;
11
- shortDescription?: string | null;
12
- difficulty?: CourseDifficulty | null;
13
- certificationProvider?: CertificationProviderDetails | null;
14
- headingLevel?: HeadingTags;
15
- timeToComplete?: number | null;
16
- header?: React.ReactNode;
17
- footer?: React.ReactNode;
18
- }
19
- export declare const CertificationPathCard: React.FC<CertificationPathCardProps>;
20
- export {};
@@ -1,11 +0,0 @@
1
- import { BookFlipPageIcon } from '@codecademy/gamut-icons';
2
- interface EventTypeMapProps {
3
- icon: typeof BookFlipPageIcon;
4
- copy: string;
5
- }
6
- export declare const eventTypeMap: Record<string, EventTypeMapProps | undefined>;
7
- interface EventTypeIconProps {
8
- eventType?: string | null;
9
- }
10
- export declare const EventTypeIcon: React.FC<EventTypeIconProps>;
11
- export {};
@@ -1,28 +0,0 @@
1
- export interface CommunityEventCardProps {
2
- title: string;
3
- startDate: string;
4
- endDate: string;
5
- descriptionShort: string;
6
- url: string;
7
- totalAttendees?: number | null;
8
- audienceType: string;
9
- isProEvent?: boolean;
10
- isProUser?: boolean;
11
- isAnonUser?: boolean;
12
- isTrialEligible?: boolean;
13
- upsellUrl?: string;
14
- venueType?: string;
15
- inPersonLocation?: string | null;
16
- sendRSVP?: () => Promise<boolean>;
17
- handleCardClick?: () => void;
18
- handleAnonUserCardClick?: () => void;
19
- handleRSVPClick?: () => void;
20
- handleUpgradeCTAClick?: () => void;
21
- handleOnRSVPSuccess?: () => void;
22
- handleOnRSVPFailure?: () => void;
23
- isRegistered?: boolean;
24
- hideButton?: boolean;
25
- type?: string | null;
26
- }
27
- export declare const formatTime: (startDate: string, endDate: string) => string;
28
- export declare const CommunityEventCard: React.FC<CommunityEventCardProps>;
@@ -1,6 +0,0 @@
1
- import React from 'react';
2
- interface CommunityEventToastProps {
3
- onClose: () => void;
4
- }
5
- export declare const CommunityEventToast: React.FC<CommunityEventToastProps>;
6
- export {};
@@ -1,4 +0,0 @@
1
- import { EnrollmentStatus } from './types';
2
- export declare const getPathImageUrl: (enrollment: EnrollmentStatus, imageUrl: string) => string;
3
- export declare const getTimeToCompleteDisplayAmount: (amount: number) => number | "< 1";
4
- export declare const getTimeToCompleteDisplayDuration: (amount: number) => "hour" | "hours";
@@ -1,31 +0,0 @@
1
- import { HeadingTags } from '@codecademy/gamut';
2
- import { Colors } from '@codecademy/gamut-styles';
3
- import React from 'react';
4
- import { CourseDifficulty, EnrollmentStatus } from './types';
5
- type ContentGroupBaseCardProps = {
6
- headerBackgroundColor: Colors;
7
- headerText: string;
8
- title: string;
9
- headingLevel?: HeadingTags;
10
- description?: string | null;
11
- difficulty?: CourseDifficulty | null;
12
- numLessons: number;
13
- imageSrc?: string;
14
- isFullSize?: boolean;
15
- shadow?: 'none' | 'outline';
16
- enrollmentStatus?: EnrollmentStatus;
17
- timeToComplete?: number | null;
18
- brandDetails?: {
19
- name: string;
20
- logoUrl: string;
21
- logoHeight: number;
22
- };
23
- children?: React.ReactNode;
24
- header?: React.ReactNode;
25
- footer?: React.ReactNode;
26
- };
27
- export declare const ContentGroupBaseCardHeaderBackground: import("@emotion/styled").StyledComponent<Omit<import("@codecademy/gamut-styles").BackgroundProps, "ref"> & React.RefAttributes<HTMLDivElement> & {
28
- theme?: import("@emotion/react").Theme;
29
- }, {}, {}>;
30
- export declare const ContentGroupBaseCard: React.FC<ContentGroupBaseCardProps>;
31
- export {};
@@ -1,8 +0,0 @@
1
- export declare const Divider: React.FC;
2
- export declare const CertificateComponent: React.FC<{
3
- professionalCert?: boolean;
4
- }>;
5
- export declare const FreeModuleComponent: React.FC;
6
- export declare const CourseCountComponent: React.FC<{
7
- count: number;
8
- }>;
@@ -1,10 +0,0 @@
1
- export declare enum CourseDifficulty {
2
- Beginner = "Beginner",
3
- Intermediate = "Intermediate",
4
- Advanced = "Advanced"
5
- }
6
- export declare enum EnrollmentStatus {
7
- InProgress = "inProgress",
8
- Completed = "completed",
9
- None = "none"
10
- }
@@ -1,3 +0,0 @@
1
- import { CourseCardProps } from '../..';
2
- export declare const mockFreeCourseContent: CourseCardProps;
3
- export declare const mockProCourseContent: CourseCardProps;
@@ -1,20 +0,0 @@
1
- import { HeadingTags } from '@codecademy/gamut';
2
- import { CourseDifficulty, EnrollmentStatus } from '../ContentGroupBaseCard/types';
3
- export type CourseCardProps = {
4
- title: string;
5
- lessonCount: number;
6
- contentModuleIds: string[];
7
- grantsCertificate: boolean;
8
- enrollmentStatus: EnrollmentStatus;
9
- pro: boolean;
10
- shortDescription?: string | null;
11
- difficulty?: CourseDifficulty | null;
12
- isFullSize?: boolean;
13
- headingLevel?: HeadingTags;
14
- timeToComplete?: number | null;
15
- isProUser?: boolean;
16
- isInOpenFirstModuleVariant?: boolean;
17
- header?: React.ReactNode;
18
- footer?: React.ReactNode;
19
- };
20
- export declare const CourseCard: React.FC<CourseCardProps>;
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export type TagColor = 'blue' | 'green' | 'pink';
3
- export type BottomTagProps = {
4
- text: string;
5
- color: TagColor;
6
- };
7
- export declare const BottomTag: React.FC<BottomTagProps>;
@@ -1,8 +0,0 @@
1
- import { ContainerDifficulty, ContainerDifficultyUnion } from './types';
2
- /**
3
- * calculate the number associated with the difficulty level for a particular content
4
- *
5
- * @param difficulty level of difficulty for a particular content
6
- * @returns 0 indicating beginner, 1 intermediate and 2 for advanced content.
7
- */
8
- export declare const getDifficultyNumber: <Type extends ContainerDifficultyUnion | ContainerDifficulty>(difficulty: Type) => 0 | 1 | 2;
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- import { ContentDifficultyProps } from './types';
3
- export declare const Difficulty: React.FC<ContentDifficultyProps>;
@@ -1,22 +0,0 @@
1
- /**
2
- * Exported enums sometimes come up undefined when used in Jest tests because of the way they are compiled. Be careful when using this in test mocks.
3
- */
4
- export declare enum ContainerDifficulty {
5
- Beginner = "Beginner",
6
- Intermediate = "Intermediate",
7
- Advanced = "Advanced"
8
- }
9
- /**
10
- * converting ContainerDifficulty enum into union type
11
- */
12
- export type ContainerDifficultyUnion = `${ContainerDifficulty}`;
13
- export type DifficultyVariant = 'small' | 'medium';
14
- export type ContentDifficultyProps = {
15
- difficulty: ContainerDifficulty | ContainerDifficultyUnion;
16
- variant?: DifficultyVariant;
17
- };
18
- export declare enum DifficultyString {
19
- 'Beginner friendly' = 0,
20
- 'Intermediate' = 1,
21
- 'Advanced' = 2
22
- }
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- import { TagColor } from '../BottomTag/index';
3
- export type FooterProps = {
4
- beta?: boolean;
5
- progressState?: 'completed' | 'inProgress';
6
- tag?: string;
7
- tagColor?: TagColor;
8
- footerTextVariant?: 'enrolled' | 'inProgress';
9
- };
10
- export declare const Footer: React.FC<FooterProps>;
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- type ProgressState = 'inProgress' | 'completed';
3
- export type ImageProps = {
4
- image: string;
5
- progressState?: ProgressState;
6
- isSmall?: boolean;
7
- };
8
- export declare const Image: React.FC<ImageProps>;
9
- export {};
@@ -1 +0,0 @@
1
- export declare const pluralizeWithS: (scope: string, scopeCount: number) => string;
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- import { ContentDifficultyProps, DifficultyVariant } from '../Difficulty/types';
3
- export type SubtitleProps = Pick<ContentDifficultyProps, 'difficulty'> & {
4
- scope: Record<string, number>;
5
- showAltSubtitle?: boolean;
6
- difficultyVariant?: DifficultyVariant;
7
- };
8
- export declare const Subtitle: React.FC<SubtitleProps>;
@@ -1,59 +0,0 @@
1
- import { Card, HeadingTags } from '@codecademy/gamut';
2
- import * as React from 'react';
3
- import { TagColor } from './BottomTag/index';
4
- import { SubtitleProps } from './Subtitle';
5
- export type ProgressState = 'inProgress' | 'completed';
6
- export type FooterTextVariantType = 'enrolled' | 'inProgress';
7
- export type CardProps = React.ComponentProps<typeof Card>;
8
- export type CurriculumCardProps = SubtitleProps & {
9
- beta?: boolean;
10
- /**
11
- * Displays the curriculum type above the title
12
- */
13
- text: string;
14
- title: string;
15
- headingLevel?: HeadingTags;
16
- image?: string;
17
- isFullSize?: boolean;
18
- isStaticSize?: boolean;
19
- progressState?: ProgressState;
20
- showProLogo?: boolean;
21
- tag?: string;
22
- tagColor?: TagColor;
23
- showAltSubtitle?: boolean;
24
- /**
25
- * Changes In Progress card footer text from "Enrolled..." to "In Progress..."
26
- */
27
- footerTextVariant?: FooterTextVariantType;
28
- /**
29
- * optional text to be displayed below card subtitle
30
- */
31
- description?: string;
32
- /**
33
- * allows description to be shown in card body.
34
- */
35
- showDescription?: boolean;
36
- /**
37
- * career path cards are displayed with a variant style / decorative element
38
- */
39
- showCareerPathVariant?: boolean;
40
- /**
41
- * displays inner content with a horizontal orientation
42
- */
43
- horizontalOrientation?: boolean;
44
- /**
45
- * custom minimum height for curriculum card in pixels
46
- */
47
- minHeight?: CardProps['minHeight'];
48
- /**
49
- * custom minimum width for curriculum card in pixels
50
- */
51
- minWidth?: CardProps['minWidth'];
52
- };
53
- /**
54
- *
55
- * @deprecated This component is deprecated
56
- *
57
- * Please use the CareerPathCard, SkillPathCard, or CourseCard instead
58
- */
59
- export declare const CurriculumCard: React.FC<CurriculumCardProps>;
@@ -1,17 +0,0 @@
1
- import { GamutIconProps } from '@codecademy/gamut-icons';
2
- import * as React from 'react';
3
- import { DropdownButtonProps } from '.';
4
- type AnchorProps = Partial<Pick<HTMLAnchorElement, 'href' | 'target' | 'ariaLabel'>>;
5
- export type DropdownItem = {
6
- id: string;
7
- icon?: React.ComponentType<GamutIconProps>;
8
- text: string;
9
- clickHandler?: (event: React.MouseEvent) => void;
10
- } & AnchorProps;
11
- export type DropdownListProps = {
12
- dropdownItems: (DropdownItem | 'separator')[];
13
- menuButtonId?: string;
14
- onClose?: () => void;
15
- } & Pick<DropdownButtonProps, 'isMenu'>;
16
- export declare const DropdownList: React.FC<DropdownListProps>;
17
- export {};
@@ -1,76 +0,0 @@
1
- import { ButtonProps, IconButton, PopoverProps, PopoverYPositionType } from '@codecademy/gamut';
2
- import { PropsWithChildren } from 'react';
3
- import * as React from 'react';
4
- import { DropdownListProps } from './DropdownList';
5
- export type DropdownButtonRefType = {
6
- focus: HTMLButtonElement['focus'];
7
- };
8
- export type DropdownButtonProps = PropsWithChildren<{
9
- align?: PopoverProps['align'];
10
- buttonType?: 'fill' | 'stroke' | 'text' | 'kebab' | 'horizontalKebab';
11
- defaultPosition?: PopoverYPositionType['position'];
12
- dropdownItems: DropdownListProps['dropdownItems'];
13
- horizontalOffset?: number;
14
- /**
15
- * Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
16
- */
17
- iconSize?: number;
18
- /**
19
- * If the dropdown should semantically be a menu
20
- */
21
- isMenu?: boolean;
22
- onClick?: (event: React.MouseEvent) => void;
23
- tipProps?: React.ComponentProps<typeof IconButton>['tipProps'];
24
- verticalOffset?: number;
25
- } & ButtonProps>;
26
- export declare const DropdownButton: React.ForwardRefExoticComponent<(Omit<{
27
- align?: PopoverProps["align"];
28
- buttonType?: "fill" | "stroke" | "text" | "kebab" | "horizontalKebab";
29
- defaultPosition?: PopoverYPositionType["position"];
30
- dropdownItems: DropdownListProps["dropdownItems"];
31
- horizontalOffset?: number;
32
- /**
33
- * Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
34
- */
35
- iconSize?: number;
36
- /**
37
- * If the dropdown should semantically be a menu
38
- */
39
- isMenu?: boolean;
40
- onClick?: (event: React.MouseEvent) => void;
41
- tipProps?: React.ComponentProps<typeof IconButton>["tipProps"];
42
- verticalOffset?: number;
43
- } & import("@codecademy/gamut/dist/Button/shared").ButtonBaseProps & Omit<{
44
- theme?: import("@emotion/react").Theme | undefined;
45
- as?: import("react" /**
46
- * Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
47
- */).ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
48
- } & {
49
- theme?: import("@emotion/react").Theme | undefined;
50
- } & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "content" | "translate" | "property" | "hidden" | "form" | "slot" | "style" | "title" | "suppressHydrationWarning" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "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" | "children" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof React.ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
51
- children?: React.ReactNode | undefined;
52
- }, "ref"> | Omit<{
53
- align?: PopoverProps["align"];
54
- buttonType?: "fill" | "stroke" | "text" | "kebab" | "horizontalKebab";
55
- defaultPosition?: PopoverYPositionType["position"];
56
- dropdownItems: DropdownListProps["dropdownItems"];
57
- horizontalOffset?: number;
58
- /**
59
- * Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
60
- */
61
- iconSize?: number;
62
- /**
63
- * If the dropdown should semantically be a menu
64
- */
65
- isMenu?: boolean;
66
- onClick?: (event: React.MouseEvent) => void;
67
- tipProps?: React.ComponentProps<typeof IconButton>["tipProps"];
68
- verticalOffset?: number;
69
- } & import("@codecademy/gamut/dist/Button/shared").ButtonBaseProps & Omit<{
70
- theme?: import("@emotion/react").Theme | undefined;
71
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
72
- } & {
73
- theme?: import("@emotion/react").Theme | undefined;
74
- } & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "content" | "translate" | "property" | "hidden" | "form" | "slot" | "style" | "title" | "suppressHydrationWarning" | "className" | "id" | "lang" | "name" | "type" | "role" | "tabIndex" | "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" | "children" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof React.ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value"> & Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "content" | "translate" | "property" | "hidden" | "slot" | "style" | "title" | "suppressHydrationWarning" | "className" | "id" | "lang" | "media" | "target" | "type" | "role" | "tabIndex" | "href" | "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" | "children" | "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" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "nonce" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof React.ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "ping" | "referrerPolicy">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
75
- children?: React.ReactNode | undefined;
76
- }, "ref">) & React.RefAttributes<DropdownButtonRefType>>;
@@ -1,14 +0,0 @@
1
- import { PopoverYPositionType } from '@codecademy/gamut';
2
- import { RefCallback, RefObject } from 'react';
3
- type Position = Required<PopoverYPositionType>['position'];
4
- export type UseDynamicPopoverPositionProps = {
5
- targetRef: RefObject<HTMLElement>;
6
- verticalOffset: number;
7
- defaultPosition: Position;
8
- };
9
- export type UseDynamicPopoverPositionReturn = {
10
- position: Position;
11
- popoverContainerRefCallback: RefCallback<HTMLElement | null>;
12
- };
13
- export declare const useDynamicPopoverPosition: ({ targetRef, verticalOffset, defaultPosition, }: UseDynamicPopoverPositionProps) => UseDynamicPopoverPositionReturn;
14
- export {};
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- export type EditorialImageProps = {
3
- /** The URL used for the image src */
4
- image: string;
5
- /** Alternative text for the image */
6
- alt: string;
7
- /** An optional caption that will display below the image */
8
- caption?: string;
9
- };
10
- export declare const EditorialImage: React.FC<EditorialImageProps>;
@@ -1,36 +0,0 @@
1
- @import "~@codecademy/gamut-styles/utils";
2
-
3
- .imageContainer {
4
- position: relative;
5
- width: calc(100% - 1rem);
6
- @include screen-size-gte($grid-xs-min) {
7
- width: inherit;
8
- }
9
- }
10
-
11
- .image {
12
- width: 100%;
13
- position: relative;
14
- }
15
-
16
- .imageContainer::before {
17
- content: "";
18
- position: absolute;
19
- left: 1rem;
20
- top: 2rem;
21
- background-image: url("../assets/dots.svg");
22
- background-repeat: repeat;
23
- height: calc(100% - 1rem);
24
- width: 100%;
25
- z-index: 0;
26
- filter: invert(19%) sepia(50%) saturate(3200%) hue-rotate(-24deg)
27
- brightness(95%) contrast(97%);
28
- }
29
-
30
- .caption {
31
- color: $color-white;
32
- opacity: 0.7;
33
- font-weight: bold;
34
- margin: 1rem 1rem 0;
35
- display: block;
36
- }