@codecademy/brand 1.46.0 → 1.47.0-alpha.7fd7014dbf.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 (327) hide show
  1. package/package.json +1 -1
  2. package/dist/AbbreviatedCommunityEventCard/index.js +0 -98
  3. package/dist/AppBar/AppBarSection.js +0 -41
  4. package/dist/AppBar/index.js +0 -20
  5. package/dist/AppBarDeprecated/AppBarSectionDeprecated.js +0 -25
  6. package/dist/AppBarDeprecated/index.js +0 -26
  7. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.js +0 -98
  8. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.js +0 -63
  9. package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.js +0 -440
  10. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.js +0 -157
  11. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderDropdownLink.js +0 -25
  12. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderMenuItem.js +0 -26
  13. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/types.js +0 -1
  14. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/index.js +0 -2
  15. package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.js +0 -26
  16. package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.js +0 -70
  17. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +0 -53
  18. package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.js +0 -32
  19. package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.js +0 -57
  20. package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.js +0 -88
  21. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.js +0 -50
  22. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderMenuNavButton.js +0 -38
  23. package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.js +0 -36
  24. package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.js +0 -19
  25. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.js +0 -113
  26. package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.js +0 -194
  27. package/dist/AppHeader/Search/DefaultResults.js +0 -112
  28. package/dist/AppHeader/Search/QuizAndHelpCenterLinks.js +0 -80
  29. package/dist/AppHeader/Search/SearchButton.js +0 -58
  30. package/dist/AppHeader/Search/SearchPane.js +0 -518
  31. package/dist/AppHeader/Search/SearchWorker/PromiseLookup.js +0 -35
  32. package/dist/AppHeader/Search/SearchWorker/index.js +0 -24
  33. package/dist/AppHeader/Search/SearchWorker/src.js +0 -307
  34. package/dist/AppHeader/Search/SearchWorker/types.js +0 -5
  35. package/dist/AppHeader/Search/SearchWorker/worker.js +0 -31
  36. package/dist/AppHeader/Search/consts.js +0 -40
  37. package/dist/AppHeader/Search/hooks/useUrlChangeDetection.js +0 -14
  38. package/dist/AppHeader/Search/safelyRedirect.js +0 -49
  39. package/dist/AppHeader/Search/types.js +0 -1
  40. package/dist/AppHeader/Search/useHeaderSearch.js +0 -39
  41. package/dist/AppHeader/index.js +0 -77
  42. package/dist/AppHeader/shared/elements.js +0 -151
  43. package/dist/AppHeader/shared/index.js +0 -4
  44. package/dist/AppHeader/shared/keyboardNav.js +0 -67
  45. package/dist/AppHeader/shared/mockAppHeaderItems.js +0 -10
  46. package/dist/AppHeader/shared/testTypes.js +0 -0
  47. package/dist/AppHeader/shared/types.js +0 -1
  48. package/dist/AppHeader/shared/utils.js +0 -103
  49. package/dist/AppHeader/utils/types.js +0 -1
  50. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/MobileSearchBar.js +0 -77
  51. package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.js +0 -111
  52. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.js +0 -30
  53. package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.js +0 -104
  54. package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.js +0 -60
  55. package/dist/AppHeaderMobile/index.js +0 -226
  56. package/dist/Avatar/Avatar.stories.js +0 -15
  57. package/dist/Avatar/index.js +0 -45
  58. package/dist/AvatarChooser/index.js +0 -105
  59. package/dist/BackToTopAnchor/index.js +0 -38
  60. package/dist/Banner/CountdownTimer.js +0 -110
  61. package/dist/Banner/EnhancedBanner.js +0 -178
  62. package/dist/Banner/index.js +0 -123
  63. package/dist/BetaSticker/index.js +0 -57
  64. package/dist/CareerPathCard/index.js +0 -41
  65. package/dist/Carousel/elements.js +0 -14
  66. package/dist/Carousel/index.js +0 -242
  67. package/dist/CertificationPathCard/index.js +0 -42
  68. package/dist/CommunityEventCard/EventTypeIcon.js +0 -59
  69. package/dist/CommunityEventCard/index.js +0 -305
  70. package/dist/CommunityEventToast/index.js +0 -32
  71. package/dist/ContentGroupBaseCard/helpers.js +0 -12
  72. package/dist/ContentGroupBaseCard/index.js +0 -178
  73. package/dist/ContentGroupBaseCard/shared.js +0 -76
  74. package/dist/ContentGroupBaseCard/types.js +0 -12
  75. package/dist/CourseCard/index.js +0 -47
  76. package/dist/CurriculumCard/BottomTag/index.js +0 -26
  77. package/dist/CurriculumCard/Difficulty/helpers.js +0 -13
  78. package/dist/CurriculumCard/Difficulty/index.js +0 -47
  79. package/dist/CurriculumCard/Difficulty/types.js +0 -20
  80. package/dist/CurriculumCard/Footer/index.js +0 -54
  81. package/dist/CurriculumCard/Image/index.js +0 -56
  82. package/dist/CurriculumCard/Subtitle/helpers.js +0 -8
  83. package/dist/CurriculumCard/Subtitle/index.js +0 -34
  84. package/dist/CurriculumCard/index.js +0 -129
  85. package/dist/DropdownButton/DropdownList.js +0 -73
  86. package/dist/DropdownButton/index.js +0 -169
  87. package/dist/DropdownButton/useDynamicPopoverPosition.js +0 -55
  88. package/dist/DropdownButton/useDynamicPopoverPosition.test.js +0 -85
  89. package/dist/EditorialImage/index.js +0 -22
  90. package/dist/EmptySection/index.js +0 -183
  91. package/dist/ErrorContents/index.js +0 -48
  92. package/dist/FeatureList/index.js +0 -41
  93. package/dist/GlobalFooter/FooterHeading.js +0 -30
  94. package/dist/GlobalFooter/FooterLegal/LegalLinks.js +0 -43
  95. package/dist/GlobalFooter/FooterLegal/MadeIn.js +0 -64
  96. package/dist/GlobalFooter/FooterLegal/index.js +0 -22
  97. package/dist/GlobalFooter/FooterLinks.js +0 -53
  98. package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.js +0 -298
  99. package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.js +0 -299
  100. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.js +0 -268
  101. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.js +0 -29
  102. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.js +0 -74
  103. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.js +0 -86
  104. package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.js +0 -1
  105. package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.js +0 -50
  106. package/dist/GlobalFooter/FooterNavLinks/index.js +0 -45
  107. package/dist/GlobalFooter/FooterSubHeading.js +0 -22
  108. package/dist/GlobalFooter/index.js +0 -39
  109. package/dist/GlobalFooter/types.js +0 -1
  110. package/dist/GlobalHeader/GlobalHeaderItems.js +0 -405
  111. package/dist/GlobalHeader/GlobalHeaderVariants.js +0 -211
  112. package/dist/GlobalHeader/index.js +0 -106
  113. package/dist/GlobalHeader/types.js +0 -1
  114. package/dist/GlobalHeader/urlHelpers.js +0 -21
  115. package/dist/GlobalPage/index.js +0 -53
  116. package/dist/Grid/GridCollapse.js +0 -199
  117. package/dist/Grid/GridCollapse.test.js +0 -96
  118. package/dist/Grid/Subgrid.js +0 -37
  119. package/dist/Grid/getCSSFromColumnCount.js +0 -7
  120. package/dist/Grid/index.js +0 -3
  121. package/dist/HeaderHeightArea/index.js +0 -40
  122. package/dist/HeaderHeightArea/useIsInHeaderRegion.js +0 -15
  123. package/dist/HorizontalScrollMenu/index.js +0 -75
  124. package/dist/HubCard/index.js +0 -38
  125. package/dist/InfoCard/index.js +0 -157
  126. package/dist/Konamimojisplosion/Konamimojisplosion.js +0 -7
  127. package/dist/Konamimojisplosion/index.js +0 -2
  128. package/dist/Konamimojisplosion/useKonamimojisplosion.js +0 -34
  129. package/dist/LandingPage/CTA.js +0 -11
  130. package/dist/LandingPage/Description.js +0 -14
  131. package/dist/LandingPage/Feature.js +0 -96
  132. package/dist/LandingPage/PageFAQs.js +0 -42
  133. package/dist/LandingPage/PageFeatures.js +0 -112
  134. package/dist/LandingPage/PageFeaturesEnhanced.js +0 -159
  135. package/dist/LandingPage/PageFeaturesWithReferences.js +0 -136
  136. package/dist/LandingPage/PageHero.js +0 -22
  137. package/dist/LandingPage/PagePrefooter.js +0 -74
  138. package/dist/LandingPage/PageSingleFeature.js +0 -128
  139. package/dist/LandingPage/PageTestimonials.js +0 -113
  140. package/dist/LandingPage/PageVideoGallery.js +0 -49
  141. package/dist/LandingPage/Title.js +0 -28
  142. package/dist/LandingPage/TitleWithEyebrow.js +0 -40
  143. package/dist/LandingPage/index.js +0 -14
  144. package/dist/LandingPage/types.js +0 -1
  145. package/dist/LayoutMenu/AccordionMenu.js +0 -68
  146. package/dist/LayoutMenu/LayoutMenu.js +0 -96
  147. package/dist/LayoutMenu/LayoutMenuSection.js +0 -34
  148. package/dist/LayoutMenu/SectionItemLink.js +0 -16
  149. package/dist/LayoutMenu/SelectedSectionItem.js +0 -17
  150. package/dist/LayoutMenu/index.js +0 -3
  151. package/dist/LayoutMenuVariant/AccordionMenu.js +0 -85
  152. package/dist/LayoutMenuVariant/LayoutMenu.js +0 -92
  153. package/dist/LayoutMenuVariant/LayoutMenuSection.js +0 -42
  154. package/dist/LayoutMenuVariant/SectionItemLink.js +0 -17
  155. package/dist/LayoutMenuVariant/index.js +0 -2
  156. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.js +0 -57
  157. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.js +0 -35
  158. package/dist/LearningOutcomeBadges/index.js +0 -2
  159. package/dist/LearningOutcomeCard/index.js +0 -178
  160. package/dist/LearningOutcomePopover/index.js +0 -125
  161. package/dist/LearningOutcomeTile/Tile.js +0 -79
  162. package/dist/LearningOutcomeTile/index.js +0 -116
  163. package/dist/LearningOutcomeTile/types.js +0 -11
  164. package/dist/ListSection/index.js +0 -64
  165. package/dist/Loading/index.js +0 -82
  166. package/dist/LoadingCurriculumCard/index.js +0 -82
  167. package/dist/Logo/CodecademyLogo.js +0 -19
  168. package/dist/Logo/CodecademyPremiumLogo.js +0 -35
  169. package/dist/Logo/CodecademyProAltLogo.js +0 -19
  170. package/dist/Logo/CodecademyProLockupLogo.js +0 -13
  171. package/dist/Logo/CodecademyProLogo.js +0 -21
  172. package/dist/Logo/CodecademyProMonoLogo.js +0 -22
  173. package/dist/Logo/CodecademyProgramLogo.js +0 -14
  174. package/dist/Logo/CodecademyTeamsLogo.js +0 -41
  175. package/dist/Logo/index.js +0 -30
  176. package/dist/LogoFromSkillsoft/index.js +0 -55
  177. package/dist/LogoLXStudio/index.js +0 -47
  178. package/dist/LogoProCutout/index.js +0 -31
  179. package/dist/LogoProCutoutTransparent/index.js +0 -31
  180. package/dist/MarketingToaster/index.js +0 -67
  181. package/dist/NotFoundContent/index.js +0 -55
  182. package/dist/NotificationList/EmptyNotification/emptyNotificationContents.js +0 -23
  183. package/dist/NotificationList/EmptyNotification/index.js +0 -38
  184. package/dist/NotificationList/NotificationItem.js +0 -151
  185. package/dist/NotificationList/index.js +0 -46
  186. package/dist/NotificationList/typings.js +0 -1
  187. package/dist/Notifications/NotificationBell.js +0 -72
  188. package/dist/Notifications/NotificationsContents.js +0 -85
  189. package/dist/Notifications/NotificationsDropdown.js +0 -25
  190. package/dist/Notifications/__fixtures__/NotificationTestComponent.js +0 -12
  191. package/dist/Notifications/__fixtures__/stubs.js +0 -8
  192. package/dist/Notifications/constants.js +0 -4
  193. package/dist/Notifications/elements.js +0 -21
  194. package/dist/Notifications/types.js +0 -1
  195. package/dist/Notifications/useHeaderNotifications.js +0 -37
  196. package/dist/Notifications/useNotificationButtons.js +0 -56
  197. package/dist/PageAlerts/PageAlerts.js +0 -75
  198. package/dist/PageAlerts/PageAlertsProvider.js +0 -34
  199. package/dist/PageAlerts/index.js +0 -3
  200. package/dist/PageAlerts/types.js +0 -1
  201. package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.js +0 -53
  202. package/dist/PageLayoutWithSidebarMenu/index.js +0 -1
  203. package/dist/PageSection/index.js +0 -67
  204. package/dist/PastDue/PastDueModalContents/index.js +0 -30
  205. package/dist/PastDue/index.js +0 -2
  206. package/dist/PastDue/pastDueMessages.js +0 -48
  207. package/dist/PausableImage/BaseImage/index.js +0 -54
  208. package/dist/PausableImage/index.js +0 -37
  209. package/dist/PlanCard/PlanCardBanner.js +0 -28
  210. package/dist/PlanCard/PlanFeature.js +0 -83
  211. package/dist/PlanCard/PopularBadge.js +0 -13
  212. package/dist/PlanCard/PricingAmount.js +0 -117
  213. package/dist/PlanCard/RecommendedBadge.js +0 -24
  214. package/dist/PlanCard/consts.js +0 -135
  215. package/dist/PlanCard/index.js +0 -370
  216. package/dist/PlanCard/types.js +0 -62
  217. package/dist/PlanCardTeams/consts.js +0 -8
  218. package/dist/PlanCardTeams/index.js +0 -167
  219. package/dist/PricingSection/PlanFeature.js +0 -88
  220. package/dist/PricingSection/PricingCard/PricingAmount.js +0 -84
  221. package/dist/PricingSection/PricingCard/RecommendedBadge.js +0 -24
  222. package/dist/PricingSection/PricingCard/consts.js +0 -85
  223. package/dist/PricingSection/PricingCard/index.js +0 -241
  224. package/dist/PricingSection/ProductCTA.js +0 -44
  225. package/dist/PricingSection/Products.js +0 -74
  226. package/dist/PricingSection/config.js +0 -36
  227. package/dist/PricingSection/index.js +0 -58
  228. package/dist/PricingSection/types.js +0 -8
  229. package/dist/ProLabel/index.js +0 -59
  230. package/dist/ProLogo/index.js +0 -27
  231. package/dist/ProLogoAlt/index.js +0 -26
  232. package/dist/ProductFeatureShowcase/index.js +0 -120
  233. package/dist/QuizScore/index.js +0 -84
  234. package/dist/RatingsBar/index.js +0 -32
  235. package/dist/ResourceCard/index.js +0 -59
  236. package/dist/ScoreSummary/SubScores.js +0 -165
  237. package/dist/ScoreSummary/helpers.js +0 -20
  238. package/dist/ScoreSummary/index.js +0 -108
  239. package/dist/ScoreSummary/types.js +0 -1
  240. package/dist/SkillPathCard/index.js +0 -38
  241. package/dist/SocialMediaSharing/SocialShareIconLink.js +0 -49
  242. package/dist/SocialMediaSharing/index.js +0 -116
  243. package/dist/SocialMediaSharingDropdown/index.js +0 -111
  244. package/dist/Testimonial/index.js +0 -163
  245. package/dist/index.js +0 -86
  246. package/dist/lib/breakpointHooks/index.js +0 -60
  247. package/dist/lib/catalogList/index.js +0 -173
  248. package/dist/lib/resourcesList/index.js +0 -232
  249. package/dist/remoteAssets/components.js +0 -1
  250. package/dist/stories/Atoms/Avatar.stories.js +0 -16
  251. package/dist/stories/Atoms/BetaSticker.stories.js +0 -22
  252. package/dist/stories/Atoms/Logos/Logo.stories.js +0 -78
  253. package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.js +0 -15
  254. package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +0 -11
  255. package/dist/stories/Atoms/Logos/ProLabel.stories.js +0 -16
  256. package/dist/stories/Atoms/Logos/ProLogoAlt.stories.js +0 -24
  257. package/dist/stories/Atoms/RatingsBar.stories.js +0 -16
  258. package/dist/stories/Atoms/Subgrid.stories.js +0 -87
  259. package/dist/stories/Molecules/AppBar.stories.js +0 -32
  260. package/dist/stories/Molecules/AppHeader/AppHeader.stories.js +0 -84
  261. package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.js +0 -67
  262. package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.js +0 -52
  263. package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.js +0 -44
  264. package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.js +0 -34
  265. package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.js +0 -40
  266. package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.js +0 -25
  267. package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.js +0 -176
  268. package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.js +0 -84
  269. package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.js +0 -90
  270. package/dist/stories/Molecules/AvatarChooser.stories.js +0 -22
  271. package/dist/stories/Molecules/BackToTopAnchor.stories.js +0 -51
  272. package/dist/stories/Molecules/Banner.stories.js +0 -115
  273. package/dist/stories/Molecules/Carousel.stories.js +0 -47
  274. package/dist/stories/Molecules/ContentGroupBaseCard.stories.js +0 -173
  275. package/dist/stories/Molecules/CurriculumCard.stories.js +0 -208
  276. package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.js +0 -92
  277. package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.js +0 -65
  278. package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.js +0 -83
  279. package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.js +0 -20
  280. package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.js +0 -90
  281. package/dist/stories/Molecules/DropdownButton.stories.js +0 -207
  282. package/dist/stories/Molecules/EditorialImage.stories.js +0 -17
  283. package/dist/stories/Molecules/EmptySection.stories.js +0 -168
  284. package/dist/stories/Molecules/EnhancedBanner.stories.js +0 -114
  285. package/dist/stories/Molecules/ErrorContents.stories.js +0 -19
  286. package/dist/stories/Molecules/GridCollapse.stories.js +0 -42
  287. package/dist/stories/Molecules/HorizontalScrollMenu.examples.js +0 -67
  288. package/dist/stories/Molecules/HorizontalScrollMenu.stories.js +0 -11
  289. package/dist/stories/Molecules/HubCard.stories.js +0 -28
  290. package/dist/stories/Molecules/InfoCard.stories.js +0 -30
  291. package/dist/stories/Molecules/LearningOutcomeCard.stories.js +0 -75
  292. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.js +0 -20
  293. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.js +0 -10
  294. package/dist/stories/Molecules/LearningOutcomePopover.stories.js +0 -39
  295. package/dist/stories/Molecules/LearningOutcomeTile.stories.js +0 -276
  296. package/dist/stories/Molecules/ListSection.stories.js +0 -97
  297. package/dist/stories/Molecules/Loading.stories.js +0 -10
  298. package/dist/stories/Molecules/NotificationList.stories.js +0 -100
  299. package/dist/stories/Molecules/PageSection.stories.js +0 -67
  300. package/dist/stories/Molecules/PastDueModalContents.stories.js +0 -62
  301. package/dist/stories/Molecules/PausableImage.stories.js +0 -16
  302. package/dist/stories/Molecules/ResourceCard.stories.js +0 -18
  303. package/dist/stories/Molecules/SocialMediaSharing.stories.js +0 -20
  304. package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.js +0 -20
  305. package/dist/stories/Molecules/Testimonial.stories.js +0 -63
  306. package/dist/stories/Organisms/GlobalFooter.stories.js +0 -29
  307. package/dist/stories/Organisms/GlobalHeader/About.stories.js +0 -136
  308. package/dist/stories/Organisms/GlobalHeader/Anon.stories.js +0 -73
  309. package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.js +0 -32
  310. package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.js +0 -108
  311. package/dist/stories/Organisms/GlobalHeader/Free.stories.js +0 -133
  312. package/dist/stories/Organisms/GlobalHeader/Pro.stories.js +0 -199
  313. package/dist/stories/Organisms/GlobalHeader/Simple.stories.js +0 -31
  314. package/dist/stories/Organisms/GlobalPage.stories.js +0 -142
  315. package/dist/stories/Organisms/LayoutMenu.stories.js +0 -242
  316. package/dist/stories/Organisms/LayoutMenuVariant.stories.js +0 -224
  317. package/dist/stories/Organisms/PageAlerts.example.js +0 -42
  318. package/dist/stories/Organisms/PageAlerts.stories.js +0 -15
  319. package/dist/stories/Organisms/PageFeatures.stories.js +0 -183
  320. package/dist/stories/Organisms/PageHero.stories.js +0 -145
  321. package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.js +0 -34
  322. package/dist/stories/Organisms/PagePrefooter.stories.js +0 -62
  323. package/dist/stories/Organisms/PageSingleFeature.stories.js +0 -158
  324. package/dist/stories/Organisms/PageVideoGallery.stories.js +0 -70
  325. package/dist/stories/Organisms/PlanCard.stories.js +0 -98
  326. package/dist/stories/Organisms/PlanCardTeams.stories.js +0 -27
  327. package/dist/stories/Organisms/ScoreSummary.stories.js +0 -299
@@ -1,60 +0,0 @@
1
- import { breakpoints as originalBreakpoints } from '@codecademy/gamut-styles';
2
- import mapValues from 'lodash/mapValues';
3
- import { createBreakpoint } from 'react-use';
4
- export const breakpoints = mapValues({
5
- xxs: 0,
6
- ...originalBreakpoints
7
- }, value => parseInt(value, 10));
8
-
9
- /**
10
- * useBreakpoint will provide the current breakpoint to a React component.
11
- *
12
- * If you think you need this, make sure to think twice. It is really nice
13
- * to allow your styles layer to concern itself about the appearance of a
14
- * component at different screen sizes, and not have to maintain two different
15
- * components that could drift from eachother. That being said, sometimes
16
- * The content, layout, and/or functionality of a mobile page/component can
17
- * be so different that it is non-performant or difficult to maintain the
18
- * changes in only styles. For those cases where it is actually easier to maintain
19
- * two components or a programatic distinction of the breakpoint, this helper
20
- * exists.
21
- *
22
- * @deprecated
23
- * Use Box, LayoutGrid, or other responsive Gamut components instead.
24
- * JavaScript-time screen size checks are notorious for worsening page performance.
25
- * @see https://web.dev/cls
26
- */
27
- export const useBreakpoint = createBreakpoint(breakpoints);
28
-
29
- /**
30
- * @deprecated
31
- * Use Box, LayoutGrid, or other responsive Gamut components instead.
32
- * JavaScript-time screen size checks are notorious for worsening page performance.
33
- * @see https://web.dev/cls
34
- */
35
- export function useBreakpointAtOrAbove(breakpoint) {
36
- const currentBreakpoint = useBreakpoint();
37
- return breakpoints[currentBreakpoint] >= breakpoints[breakpoint];
38
- }
39
-
40
- /**
41
- * @deprecated
42
- * Use Box, LayoutGrid, or other responsive Gamut components instead.
43
- * JavaScript-time screen size checks are notorious for worsening page performance.
44
- * @see https://web.dev/cls
45
- */
46
- export function useBreakpointAt(breakpoint) {
47
- const currentBreakpoint = useBreakpoint();
48
- return breakpoints[currentBreakpoint] === breakpoints[breakpoint];
49
- }
50
-
51
- /**
52
- * @deprecated
53
- * Use Box, LayoutGrid, or other responsive Gamut components instead.
54
- * JavaScript-time screen size checks are notorious for worsening page performance.
55
- * @see https://web.dev/cls
56
- */
57
- export function useBreakpointAtOrBelow(breakpoint) {
58
- const currentBreakpoint = useBreakpoint();
59
- return breakpoints[currentBreakpoint] <= breakpoints[breakpoint];
60
- }
@@ -1,173 +0,0 @@
1
- import { renderNewBadge } from '../resourcesList';
2
- export const careerPaths = [{
3
- id: 'full-stack-engineer-career-path',
4
- href: '/learn/paths/full-stack-engineer-career-path',
5
- trackingTarget: 'topnav_catalog_career_full_stack_engineer',
6
- text: 'Full-Stack Engineer',
7
- type: 'link'
8
- }, {
9
- id: 'back-end-engineer-career-path',
10
- href: '/learn/paths/back-end-engineer-career-path',
11
- trackingTarget: 'topnav_catalog_career_back-end-engineer',
12
- text: 'Back-End Engineer',
13
- type: 'link'
14
- }, {
15
- id: 'ios-developer',
16
- href: '/learn/paths/ios-developer',
17
- trackingTarget: 'topnav_catalog_career_ios-developer',
18
- text: 'iOS Developer',
19
- type: 'link'
20
- }, {
21
- id: 'front-end-engineer-career-path',
22
- href: '/learn/paths/front-end-engineer-career-path',
23
- trackingTarget: 'topnav_catalog_career_front-end-engineer',
24
- text: 'Front-End Engineer',
25
- type: 'link'
26
- }, {
27
- id: 'computer-science',
28
- href: '/learn/paths/computer-science',
29
- trackingTarget: 'topnav_catalog_career_computer-science',
30
- text: 'Computer Science',
31
- type: 'link'
32
- }, {
33
- id: 'data-science',
34
- href: '/pages/data-science-career-specializations',
35
- trackingTarget: 'topnav_catalog_career_data_science',
36
- text: 'Data Scientist',
37
- type: 'link'
38
- }];
39
- export const liveLearningHubItems = {
40
- title: 'Live Learning',
41
- description: 'Build skills faster through live learning with expert instructors.',
42
- data: [{
43
- id: 'bootcamps',
44
- href: '/live-learning',
45
- text: 'Bootcamps',
46
- description: 'Learn live from industry experts.',
47
- trackingTarget: 'topnav_catalog_live_learning_bootcamps',
48
- type: 'link',
49
- newTab: true,
50
- badge: renderNewBadge()
51
- }, {
52
- id: 'gk',
53
- href: '/live-learning#GKLiveLearning',
54
- text: 'Codecademy x GK',
55
- description: 'Instructor-led courses, offered via our partner organization.',
56
- trackingTarget: 'topnav_catalog_live_learning_gk_codecademy',
57
- type: 'link',
58
- newTab: true,
59
- badge: renderNewBadge()
60
- }]
61
- };
62
- export const topLanguages = [{
63
- id: 'python',
64
- href: '/catalog/language/python',
65
- trackingTarget: 'topnav_catalog_skill_python',
66
- text: 'Python',
67
- type: 'link'
68
- }, {
69
- id: 'javascript',
70
- href: '/catalog/language/javascript',
71
- trackingTarget: 'topnav_catalog_skill_javascript',
72
- text: 'JavaScript',
73
- type: 'link'
74
- }, {
75
- id: 'html-css',
76
- href: '/catalog/language/html-css',
77
- trackingTarget: 'topnav_catalog_skill_html-css',
78
- text: 'HTML & CSS',
79
- type: 'link'
80
- }, {
81
- id: 'sql',
82
- href: '/catalog/language/sql',
83
- trackingTarget: 'topnav_catalog_skill_sql',
84
- text: 'SQL',
85
- type: 'link'
86
- }, {
87
- id: 'java',
88
- href: '/catalog/language/java',
89
- trackingTarget: 'topnav_catalog_skill_java',
90
- text: 'Java',
91
- type: 'link'
92
- }, {
93
- id: 'c-plus-plus',
94
- href: '/catalog/language/c-plus-plus',
95
- trackingTarget: 'topnav_catalog_skill_c-plus-plus',
96
- text: 'C++',
97
- type: 'link'
98
- }, {
99
- id: 'c-sharp',
100
- href: '/catalog/language/c-sharp',
101
- trackingTarget: 'topnav_catalog_skill_c-sharp',
102
- text: 'C#',
103
- type: 'link'
104
- }, {
105
- id: 'c',
106
- href: '/catalog/language/c',
107
- trackingTarget: 'topnav_catalog_skill_c',
108
- text: 'C',
109
- type: 'link'
110
- }, {
111
- id: 'php',
112
- href: '/catalog/language/php',
113
- trackingTarget: 'topnav_catalog_skill_php',
114
- text: 'PHP',
115
- type: 'link'
116
- }, {
117
- id: 'r',
118
- href: '/catalog/language/r',
119
- trackingTarget: 'topnav_catalog_skill_r',
120
- text: 'R',
121
- type: 'link'
122
- }, {
123
- id: 'it',
124
- href: '/catalog/subject/information-technology',
125
- trackingTarget: 'topnav_catalog_skill_it',
126
- text: 'IT',
127
- type: 'link'
128
- }, {
129
- id: 'cybersecurity',
130
- href: '/catalog/subject/cybersecurity',
131
- trackingTarget: 'topnav_catalog_skill_cybersecurity',
132
- text: 'Cybersecurity',
133
- type: 'link'
134
- }];
135
- export const getTopSubjects = () => {
136
- return [{
137
- id: 'cloud-computing',
138
- href: '/catalog/subject/cloud-computing',
139
- trackingTarget: 'topnav_catalog_skill_cloud-computing',
140
- text: 'Cloud computing',
141
- type: 'link'
142
- }, {
143
- id: 'artificial-intelligence',
144
- href: '/catalog/subject/artificial-intelligence',
145
- trackingTarget: 'topnav_catalog_skill_ai',
146
- text: 'AI',
147
- type: 'link'
148
- }, {
149
- id: 'web-development',
150
- href: '/catalog/subject/web-development',
151
- trackingTarget: 'topnav_catalog_skill_web_development',
152
- text: 'Web development',
153
- type: 'link'
154
- }, {
155
- id: 'data-science',
156
- href: '/catalog/subject/data-science',
157
- trackingTarget: 'topnav_catalog_skill_data-science',
158
- text: 'Data science',
159
- type: 'link'
160
- }, {
161
- id: 'web-design',
162
- href: '/catalog/subject/web-design',
163
- trackingTarget: 'topnav_catalog_skill_web-design',
164
- text: 'Web design',
165
- type: 'link'
166
- }, {
167
- id: 'professional-skills',
168
- href: '/catalog/subject/professional-skills',
169
- trackingTarget: 'topnav_catalog_skill_professional-skills',
170
- text: 'Professional skills',
171
- type: 'link'
172
- }];
173
- };
@@ -1,232 +0,0 @@
1
- import { Badge } from '@codecademy/gamut';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- export const renderBadge = text => /*#__PURE__*/_jsx(Badge, {
4
- size: "sm",
5
- ml: 8,
6
- alignSelf: "center",
7
- children: text
8
- });
9
- export const renderNewBadge = (mt = 2) => /*#__PURE__*/_jsx(Badge, {
10
- size: "sm",
11
- mt: mt,
12
- ml: 8,
13
- alignSelf: "start",
14
- variant: "accent",
15
- children: "New"
16
- });
17
- export const footerResourcesList = [{
18
- id: 'articles',
19
- href: '/articles',
20
- trackingTarget: 'articles',
21
- text: 'Articles'
22
- }, {
23
- id: 'blog',
24
- href: 'https://codecademy.com/resources/blog',
25
- trackingTarget: 'blog',
26
- text: 'Blog',
27
- newTab: true
28
- }, {
29
- id: 'cheatsheets',
30
- href: '/resources/cheatsheets/all',
31
- trackingTarget: 'cheatsheets_home',
32
- text: 'Cheatsheets'
33
- }, {
34
- id: 'challenges',
35
- href: '/code-challenges',
36
- trackingTarget: 'challenges',
37
- text: 'Code challenges'
38
- }, {
39
- id: 'docs',
40
- href: '/resources/docs',
41
- trackingTarget: 'docs',
42
- text: 'Docs'
43
- }, {
44
- id: 'projects',
45
- href: '/projects',
46
- trackingTarget: 'projects',
47
- text: 'Projects'
48
- }, {
49
- id: 'videos',
50
- href: '/resources/videos',
51
- trackingTarget: 'videos_homepage',
52
- text: 'Videos'
53
- }, {
54
- id: 'workspaces',
55
- href: 'https://codecademy.com/pages/workspaces',
56
- trackingTarget: 'workspaces',
57
- text: 'Workspaces'
58
- }];
59
- export const getHeaderResourcesList = () => {
60
- const inspirationSection = {
61
- title: 'Inspiration & career',
62
- links: [{
63
- text: 'View all blog topics',
64
- href: '/resources/blog',
65
- id: 'view-all-inspiration',
66
- trackingTarget: 'topnav_resources_inspiration_all',
67
- type: 'link',
68
- newTab: true
69
- }],
70
- data: [{
71
- id: 'career-advice',
72
- href: '/resources/blog/category/career/',
73
- text: 'Career advice',
74
- description: 'Get answers to questions about coding careers.',
75
- trackingTarget: 'topnav_resources_inspiration_career_advice',
76
- type: 'link',
77
- newTab: true
78
- }, {
79
- id: 'learning-tips',
80
- href: '/resources/blog/category/learning-tips/',
81
- text: 'Learning tips',
82
- description: 'Learn where to start and how to stay motivated.',
83
- trackingTarget: 'topnav_resources_inspiration_learning_tips',
84
- type: 'link',
85
- newTab: true
86
- }, {
87
- id: 'career-center',
88
- href: '/career-center',
89
- text: 'Career Center',
90
- description: 'Get tools to reach your tech career goals.',
91
- trackingTarget: 'topnav_resources_inspiration_career_center',
92
- type: 'link',
93
- newTab: true,
94
- badge: renderNewBadge()
95
- }]
96
- };
97
- return [{
98
- title: 'Docs',
99
- description: 'Find definitions, code syntax, and more -- or contribute your own code documentation.',
100
- links: [{
101
- text: 'View all docs',
102
- href: '/resources/docs',
103
- id: 'view-all-docs',
104
- trackingTarget: 'topnav_resources_docs_all',
105
- type: 'link'
106
- }, {
107
- text: 'Contribute to docs',
108
- href: '/pages/contribute-docs',
109
- id: 'contribute-to-docs',
110
- trackingTarget: 'topnav_resources_contribution_guide',
111
- type: 'link'
112
- }],
113
- data: [{
114
- id: 'c',
115
- href: '/resources/docs/c',
116
- trackingTarget: 'topnav_resources_docs_c',
117
- text: 'C',
118
- type: 'link'
119
- }, {
120
- id: 'html',
121
- href: '/resources/docs/html',
122
- trackingTarget: 'topnav_resources_docs_html',
123
- text: 'HTML',
124
- type: 'link'
125
- }, {
126
- id: 'python',
127
- href: '/resources/docs/python',
128
- trackingTarget: 'topnav_resources_docs_python',
129
- text: 'Python',
130
- type: 'link'
131
- }, {
132
- id: 'cpp',
133
- href: '/resources/docs/cpp',
134
- trackingTarget: 'topnav_resources_docs_cpp',
135
- text: 'C++',
136
- type: 'link'
137
- }, {
138
- id: 'java',
139
- href: '/resources/docs/java',
140
- trackingTarget: 'topnav_resources_docs_java',
141
- text: 'Java',
142
- type: 'link'
143
- }, {
144
- id: 'react',
145
- href: '/resources/docs/react',
146
- trackingTarget: 'topnav_resources_docs_react',
147
- text: 'React',
148
- type: 'link'
149
- }, {
150
- id: 'css',
151
- href: '/resources/docs/css',
152
- trackingTarget: 'topnav_resources_docs_css',
153
- text: 'CSS',
154
- type: 'link'
155
- }, {
156
- id: 'javascript',
157
- href: '/resources/docs/javascript',
158
- trackingTarget: 'topnav_resources_docs_javascript',
159
- text: 'JavaScript',
160
- type: 'link'
161
- }, {
162
- id: 'sql',
163
- href: '/resources/docs/sql',
164
- trackingTarget: 'topnav_resources_docs_sql',
165
- text: 'SQL',
166
- type: 'link'
167
- }, {
168
- id: 'git',
169
- href: '/resources/docs/git',
170
- trackingTarget: 'topnav_resources_docs_git',
171
- text: 'Git',
172
- type: 'link'
173
- }, {
174
- id: 'php',
175
- href: '/resources/docs/php',
176
- trackingTarget: 'topnav_resources_docs_php',
177
- text: 'PHP',
178
- type: 'link'
179
- }, {
180
- id: 'uiux',
181
- href: '/resources/docs/uiux',
182
- trackingTarget: 'topnav_resources_docs_uiux',
183
- text: 'UI/UX',
184
- type: 'link'
185
- }]
186
- }, {
187
- title: 'Learning & practice tools',
188
- data: [{
189
- id: 'articles',
190
- href: '/articles',
191
- text: 'Articles',
192
- description: 'Learn about technical concepts.',
193
- trackingTarget: 'topnav_resources_learning_articles',
194
- type: 'link'
195
- }, {
196
- id: 'cheatsheets',
197
- href: '/resources/cheatsheets/all',
198
- text: 'Cheatsheets',
199
- description: 'Review concepts from your courses.',
200
- trackingTarget: 'topnav_resources_learning_cheatsheets',
201
- type: 'link'
202
- }, {
203
- id: 'code-challenges',
204
- href: '/code-challenges',
205
- text: 'Code challenges',
206
- description: 'Test your knowledge and prep for interviews.',
207
- trackingTarget: 'topnav_resources_learning_code_challenges',
208
- type: 'link'
209
- }, {
210
- id: 'projects',
211
- href: '/projects',
212
- text: 'Projects',
213
- description: 'Practice and build your portfolio.',
214
- trackingTarget: 'topnav_resources_learning_projects',
215
- type: 'link'
216
- }, {
217
- id: 'videos',
218
- href: '/resources/videos',
219
- text: 'Videos',
220
- description: 'Watch tutorials, project walkthroughs, and more.',
221
- trackingTarget: 'topnav_resources_learning_videos',
222
- type: 'link'
223
- }, {
224
- id: 'workspaces',
225
- href: '/pages/workspaces',
226
- text: 'Workspaces',
227
- description: 'Build and share projects in your browser.',
228
- trackingTarget: 'topnav_resources_learning_workspaces',
229
- type: 'link'
230
- }]
231
- }, inspirationSection];
232
- };
@@ -1 +0,0 @@
1
- export const BASE_STATIC_ASSET_PATH = 'https://static-assets.codecademy.com/components';
@@ -1,16 +0,0 @@
1
- import { Avatar } from '../../index';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- const meta = {
4
- component: Avatar,
5
- args: {
6
- alt: 'The Codey character drinking Boba tea',
7
- src: 'https://content.codecademy.com/courses/free/boba.svg'
8
- }
9
- };
10
- export default meta;
11
- export const Default = {
12
- render: args => /*#__PURE__*/_jsx(Avatar, {
13
- ...args
14
- }),
15
- name: 'Avatar'
16
- };
@@ -1,22 +0,0 @@
1
- import { BetaSticker } from '../../index';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- const meta = {
4
- component: BetaSticker,
5
- args: {}
6
- };
7
- export default meta;
8
- export const Default = {
9
- render: args => /*#__PURE__*/_jsx(BetaSticker, {
10
- ...args
11
- }),
12
- name: 'BetaSticker'
13
- };
14
- export const Small = {
15
- render: args => /*#__PURE__*/_jsx(BetaSticker, {
16
- ...args
17
- }),
18
- name: 'Small',
19
- args: {
20
- size: 'small'
21
- }
22
- };
@@ -1,78 +0,0 @@
1
- import { Logo } from '../../../index';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- const meta = {
4
- component: Logo
5
- };
6
- export default meta;
7
- export const Default = {
8
- render: args => /*#__PURE__*/_jsx(Logo, {
9
- ...args
10
- }),
11
- name: 'Default',
12
- args: {
13
- type: 'default'
14
- }
15
- };
16
- export const Pro = {
17
- render: args => /*#__PURE__*/_jsx(Logo, {
18
- ...args
19
- }),
20
- name: 'Pro',
21
- args: {
22
- type: 'pro'
23
- }
24
- };
25
- export const ProAlt = {
26
- render: args => /*#__PURE__*/_jsx(Logo, {
27
- ...args
28
- }),
29
- name: 'Pro Alt',
30
- args: {
31
- type: 'proAlt'
32
- }
33
- };
34
- export const ProLockup = {
35
- render: args => /*#__PURE__*/_jsx(Logo, {
36
- ...args
37
- }),
38
- name: 'Pro Lockup',
39
- args: {
40
- type: 'proLockup'
41
- }
42
- };
43
- export const Program = {
44
- render: args => /*#__PURE__*/_jsx(Logo, {
45
- ...args
46
- }),
47
- name: 'Program',
48
- args: {
49
- type: 'program'
50
- }
51
- };
52
- export const ProMono = {
53
- render: args => /*#__PURE__*/_jsx(Logo, {
54
- ...args
55
- }),
56
- name: 'Pro Mono',
57
- args: {
58
- type: 'proMono'
59
- }
60
- };
61
- export const Premium = {
62
- render: args => /*#__PURE__*/_jsx(Logo, {
63
- ...args
64
- }),
65
- name: 'Premium',
66
- args: {
67
- type: 'premium'
68
- }
69
- };
70
- export const Teams = {
71
- render: args => /*#__PURE__*/_jsx(Logo, {
72
- ...args
73
- }),
74
- name: 'Teams',
75
- args: {
76
- type: 'teams'
77
- }
78
- };
@@ -1,15 +0,0 @@
1
- import { LogoFromSkillsoft } from '../../../index';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- const meta = {
4
- args: {
5
- height: 40
6
- },
7
- component: LogoFromSkillsoft
8
- };
9
- export default meta;
10
- export const Default = {
11
- render: args => /*#__PURE__*/_jsx(LogoFromSkillsoft, {
12
- ...args
13
- }),
14
- name: 'LogoFromSkillsoft'
15
- };
@@ -1,11 +0,0 @@
1
- import { LogoLXStudio } from '../../../index';
2
- const meta = {
3
- args: {
4
- height: 40
5
- },
6
- component: LogoLXStudio
7
- };
8
- export default meta;
9
- export const Default = {
10
- args: {}
11
- };
@@ -1,16 +0,0 @@
1
- import { ProLabel } from '../../../index';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- const meta = {
4
- component: ProLabel,
5
- args: {
6
- mode: 'light',
7
- height: 40
8
- }
9
- };
10
- export default meta;
11
- export const Default = {
12
- render: args => /*#__PURE__*/_jsx(ProLabel, {
13
- ...args
14
- }),
15
- name: 'ProLabel'
16
- };
@@ -1,24 +0,0 @@
1
- import { ProLogoAlt } from '../../../index';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- const meta = {
4
- component: ProLogoAlt,
5
- argTypes: {
6
- backgroundColor: {
7
- control: {
8
- type: 'select'
9
- }
10
- },
11
- textColor: {
12
- control: {
13
- type: 'select'
14
- }
15
- }
16
- }
17
- };
18
- export default meta;
19
- export const Default = {
20
- render: args => /*#__PURE__*/_jsx(ProLogoAlt, {
21
- ...args
22
- }),
23
- name: 'ProLogoAlt'
24
- };
@@ -1,16 +0,0 @@
1
- import { RatingsBar } from '../../index';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- const meta = {
4
- component: RatingsBar,
5
- args: {
6
- minimumPercent: 5,
7
- percent: 75
8
- }
9
- };
10
- export default meta;
11
- export const Default = {
12
- render: args => /*#__PURE__*/_jsx(RatingsBar, {
13
- ...args
14
- }),
15
- name: 'RatingsBar'
16
- };