@codecademy/brand 2.0.0-alpha.ed3c52768c.0 → 2.0.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.
- package/dist/AbbreviatedCommunityEventCard/index.d.ts +8 -0
- package/dist/AppBar/AppBarSection.d.ts +10 -0
- package/dist/AppBar/index.d.ts +9 -0
- package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts +14 -0
- package/dist/AppBarDeprecated/index.d.ts +14 -0
- package/dist/AppBarDeprecated/styles/index.module.scss +39 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +7 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +92 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.d.ts +13 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.ts +13 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderDropdownLink.d.ts +3 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderMenuItem.d.ts +3 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/types.d.ts +4 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/index.d.ts +2 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.d.ts +12 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +48 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.d.ts +15 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +14 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts +6 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.js +9 -9
- package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.d.ts +14 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.d.ts +18 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderMenuNavButton.d.ts +9 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.d.ts +9 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.d.ts +10 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +7 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.d.ts +13 -0
- package/dist/AppHeader/Search/DefaultResults.d.ts +10 -0
- package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +7 -0
- package/dist/AppHeader/Search/SearchButton.d.ts +2 -0
- package/dist/AppHeader/Search/SearchPane.d.ts +6 -0
- package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +18 -0
- package/dist/AppHeader/Search/SearchWorker/index.d.ts +5 -0
- package/dist/AppHeader/Search/SearchWorker/src.d.ts +1 -0
- package/dist/AppHeader/Search/SearchWorker/types.d.ts +37 -0
- package/dist/AppHeader/Search/SearchWorker/worker.d.ts +2 -0
- package/dist/AppHeader/Search/consts.d.ts +23 -0
- package/dist/AppHeader/Search/hooks/useUrlChangeDetection.d.ts +5 -0
- package/dist/AppHeader/Search/safelyRedirect.d.ts +5 -0
- package/dist/AppHeader/Search/types.d.ts +23 -0
- package/dist/AppHeader/Search/useHeaderSearch.d.ts +6 -0
- package/dist/AppHeader/index.d.ts +24 -0
- package/dist/AppHeader/shared/elements.d.ts +84 -0
- package/dist/AppHeader/shared/index.d.ts +4 -0
- package/dist/AppHeader/shared/keyboardNav.d.ts +23 -0
- package/dist/AppHeader/shared/mockAppHeaderItems.d.ts +2 -0
- package/dist/AppHeader/shared/testTypes.d.ts +0 -0
- package/dist/AppHeader/shared/types.d.ts +107 -0
- package/dist/AppHeader/shared/utils.d.ts +16 -0
- package/dist/AppHeader/utils/types.d.ts +8 -0
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/MobileSearchBar.d.ts +5 -0
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts +9 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.d.ts +13 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts +9 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.d.ts +7 -0
- package/dist/AppHeaderMobile/index.d.ts +20 -0
- package/dist/Avatar/Avatar.stories.d.ts +6 -0
- package/dist/Avatar/index.d.ts +36 -0
- package/dist/AvatarChooser/index.d.ts +12 -0
- package/dist/BackToTopAnchor/index.d.ts +13 -0
- package/dist/Banner/CountdownTimer.d.ts +7 -0
- package/dist/Banner/CountdownTimer.js +110 -0
- package/dist/Banner/EnhancedBanner.d.ts +17 -0
- package/dist/Banner/EnhancedBanner.js +178 -0
- package/dist/Banner/index.d.ts +31 -0
- package/dist/Banner/index.js +27 -6
- package/dist/BetaSticker/index.d.ts +6 -0
- package/dist/CareerPathCard/index.d.ts +19 -0
- package/dist/Carousel/elements.d.ts +27 -0
- package/dist/Carousel/index.d.ts +24 -0
- package/dist/CertificationPathCard/__tests__/__fixtures__/index.d.ts +2 -0
- package/dist/CertificationPathCard/index.d.ts +20 -0
- package/dist/CommunityEventCard/EventTypeIcon.d.ts +11 -0
- package/dist/CommunityEventCard/index.d.ts +28 -0
- package/dist/CommunityEventToast/index.d.ts +6 -0
- package/dist/ContentGroupBaseCard/helpers.d.ts +4 -0
- package/dist/ContentGroupBaseCard/index.d.ts +31 -0
- package/dist/ContentGroupBaseCard/shared.d.ts +8 -0
- package/dist/ContentGroupBaseCard/types.d.ts +10 -0
- package/dist/CourseCard/__tests__/__fixtures__/index.d.ts +3 -0
- package/dist/CourseCard/index.d.ts +20 -0
- package/dist/CurriculumCard/BottomTag/index.d.ts +7 -0
- package/dist/CurriculumCard/Difficulty/helpers.d.ts +8 -0
- package/dist/CurriculumCard/Difficulty/index.d.ts +3 -0
- package/dist/CurriculumCard/Difficulty/types.d.ts +22 -0
- package/dist/CurriculumCard/Footer/index.d.ts +10 -0
- package/dist/CurriculumCard/Image/index.d.ts +9 -0
- package/dist/CurriculumCard/Subtitle/helpers.d.ts +1 -0
- package/dist/CurriculumCard/Subtitle/index.d.ts +8 -0
- package/dist/CurriculumCard/index.d.ts +59 -0
- package/dist/DropdownButton/DropdownList.d.ts +17 -0
- package/dist/DropdownButton/index.d.ts +76 -0
- package/dist/DropdownButton/useDynamicPopoverPosition.d.ts +14 -0
- package/dist/EditorialImage/index.d.ts +10 -0
- package/dist/EditorialImage/styles.module.scss +36 -0
- package/dist/EmptySection/index.d.ts +28 -0
- package/dist/ErrorContents/index.d.ts +8 -0
- package/dist/FeatureList/index.d.ts +11 -0
- package/dist/GlobalFooter/FooterHeading.d.ts +9 -0
- package/dist/GlobalFooter/FooterLegal/LegalLinks.d.ts +6 -0
- package/dist/GlobalFooter/FooterLegal/MadeIn.d.ts +5 -0
- package/dist/GlobalFooter/FooterLegal/index.d.ts +7 -0
- package/dist/GlobalFooter/FooterLinks.d.ts +18 -0
- package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.d.ts +7 -0
- package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.d.ts +12 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.d.ts +7 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.d.ts +2 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.d.ts +4 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.d.ts +3 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.ts +4 -0
- package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.d.ts +2 -0
- package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg +45 -0
- package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png +0 -0
- package/dist/GlobalFooter/FooterNavLinks/index.d.ts +4 -0
- package/dist/GlobalFooter/FooterSubHeading.d.ts +9 -0
- package/dist/GlobalFooter/index.d.ts +23 -0
- package/dist/GlobalFooter/types.d.ts +13 -0
- package/dist/GlobalHeader/GlobalHeaderItems.d.ts +25 -0
- package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +28 -0
- package/dist/GlobalHeader/GlobalHeaderVariants.js +1 -1
- package/dist/GlobalHeader/index.d.ts +10 -0
- package/dist/GlobalHeader/types.d.ts +89 -0
- package/dist/GlobalHeader/urlHelpers.d.ts +2 -0
- package/dist/GlobalPage/index.d.ts +34 -0
- package/dist/Grid/GridCollapse.d.ts +41 -0
- package/dist/Grid/Subgrid.d.ts +23 -0
- package/dist/Grid/getCSSFromColumnCount.d.ts +6 -0
- package/dist/Grid/index.d.ts +3 -0
- package/dist/HeaderHeightArea/index.d.ts +9 -0
- package/dist/HeaderHeightArea/useIsInHeaderRegion.d.ts +1 -0
- package/dist/HorizontalScrollMenu/index.d.ts +7 -0
- package/dist/HubCard/index.d.ts +8 -0
- package/dist/InfoCard/index.d.ts +19 -0
- package/dist/Konamimojisplosion/Konamimojisplosion.d.ts +5 -0
- package/dist/Konamimojisplosion/index.d.ts +2 -0
- package/dist/Konamimojisplosion/useKonamimojisplosion.d.ts +1 -0
- package/dist/LandingPage/CTA.d.ts +9 -0
- package/dist/LandingPage/Description.d.ts +6 -0
- package/dist/LandingPage/Feature.d.ts +32 -0
- package/dist/LandingPage/PageFAQs.d.ts +10 -0
- package/dist/LandingPage/PageFeatures.d.ts +16 -0
- package/dist/LandingPage/PageFeaturesEnhanced.d.ts +7 -0
- package/dist/LandingPage/PageFeaturesWithReferences.d.ts +19 -0
- package/dist/LandingPage/PageHero.d.ts +7 -0
- package/dist/LandingPage/PagePrefooter.d.ts +5 -0
- package/dist/LandingPage/PageSingleFeature.d.ts +56 -0
- package/dist/LandingPage/PageTestimonials.d.ts +21 -0
- package/dist/LandingPage/PageVideoGallery.d.ts +11 -0
- package/dist/LandingPage/Title.d.ts +23 -0
- package/dist/LandingPage/TitleWithEyebrow.d.ts +11 -0
- package/dist/LandingPage/index.d.ts +14 -0
- package/dist/LandingPage/types.d.ts +28 -0
- package/dist/LayoutMenu/AccordionMenu.d.ts +25 -0
- package/dist/LayoutMenu/LayoutMenu.d.ts +43 -0
- package/dist/LayoutMenu/LayoutMenu.js +4 -3
- package/dist/LayoutMenu/LayoutMenuSection.d.ts +16 -0
- package/dist/LayoutMenu/SectionItemLink.d.ts +7 -0
- package/dist/LayoutMenu/SelectedSectionItem.d.ts +3 -0
- package/dist/LayoutMenu/index.d.ts +3 -0
- package/dist/LayoutMenuVariant/AccordionMenu.d.ts +21 -0
- package/dist/LayoutMenuVariant/LayoutMenu.d.ts +39 -0
- package/dist/LayoutMenuVariant/LayoutMenu.js +4 -3
- package/dist/LayoutMenuVariant/LayoutMenuSection.d.ts +10 -0
- package/dist/LayoutMenuVariant/SectionItemLink.d.ts +8 -0
- package/dist/LayoutMenuVariant/index.d.ts +2 -0
- package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +18 -0
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +10 -0
- package/dist/LearningOutcomeBadges/index.d.ts +2 -0
- package/dist/LearningOutcomeCard/index.d.ts +29 -0
- package/dist/LearningOutcomePopover/index.d.ts +10 -0
- package/dist/LearningOutcomeTile/Tile.d.ts +7 -0
- package/dist/LearningOutcomeTile/index.d.ts +2 -0
- package/dist/LearningOutcomeTile/index.js +3 -1
- package/dist/LearningOutcomeTile/types.d.ts +48 -0
- package/dist/ListSection/index.d.ts +21 -0
- package/dist/Loading/index.d.ts +5 -0
- package/dist/Loading/styles.module.scss +131 -0
- package/dist/LoadingCurriculumCard/index.d.ts +7 -0
- package/dist/Logos/LogoCodecademy/index.d.ts +2 -0
- package/dist/{Logo/CodecademyProMonoLogo.js → Logos/LogoCodecademy/index.js} +15 -15
- package/dist/Logos/LogoCodecademyMini/index.d.ts +2 -0
- package/dist/Logos/LogoCodecademyMini/index.js +18 -0
- package/dist/Logos/LogoCodecademyPro/index.d.ts +2 -0
- package/dist/{Logo/CodecademyProLogo.js → Logos/LogoCodecademyPro/index.js} +11 -7
- package/dist/Logos/LogoCodecademyTeams/index.d.ts +2 -0
- package/dist/{Logo/CodecademyTeamsLogo.js → Logos/LogoCodecademyTeams/index.js} +9 -4
- package/dist/Logos/LogoFromSkillsoft/index.d.ts +3 -0
- package/dist/Logos/LogoFromSkillsoft/index.js +47 -0
- package/dist/Logos/LogoLXStudio/index.d.ts +3 -0
- package/dist/Logos/LogoLXStudio/index.js +40 -0
- package/dist/Logos/ProLabel/ProLabelCutout/index.d.ts +8 -0
- package/dist/{LogoProCutout → Logos/ProLabel/ProLabelCutout}/index.js +1 -1
- package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.d.ts +7 -0
- package/dist/{LogoProCutoutTransparent → Logos/ProLabel/ProLabelCutoutTransparent}/index.js +1 -1
- package/dist/Logos/ProLabel/index.d.ts +15 -0
- package/dist/{ProLogo → Logos/ProLabel}/index.js +5 -5
- package/dist/Logos/index.d.ts +7 -0
- package/dist/Logos/index.js +7 -0
- package/dist/Logos/shared.d.ts +636 -0
- package/dist/Logos/shared.js +16 -0
- package/dist/MarketingToaster/index.d.ts +8 -0
- package/dist/NotFoundContent/404.svg +1 -0
- package/dist/NotFoundContent/index.d.ts +8 -0
- package/dist/NotificationList/EmptyNotification/emptyNotificationContents.d.ts +7 -0
- package/dist/NotificationList/EmptyNotification/index.d.ts +1 -0
- package/dist/NotificationList/NotificationItem.d.ts +8 -0
- package/dist/NotificationList/index.d.ts +9 -0
- package/dist/NotificationList/typings.d.ts +16 -0
- package/dist/Notifications/NotificationBell.d.ts +10 -0
- package/dist/Notifications/NotificationsContents.d.ts +3 -0
- package/dist/Notifications/NotificationsDropdown.d.ts +2 -0
- package/dist/Notifications/__fixtures__/NotificationTestComponent.d.ts +2 -0
- package/dist/Notifications/__fixtures__/stubs.d.ts +2 -0
- package/dist/Notifications/constants.d.ts +4 -0
- package/dist/Notifications/elements.d.ts +12 -0
- package/dist/Notifications/types.d.ts +24 -0
- package/dist/Notifications/useHeaderNotifications.d.ts +10 -0
- package/dist/Notifications/useNotificationButtons.d.ts +9 -0
- package/dist/PageAlerts/PageAlerts.d.ts +10 -0
- package/dist/PageAlerts/PageAlertsProvider.d.ts +11 -0
- package/dist/PageAlerts/index.d.ts +3 -0
- package/dist/PageAlerts/types.d.ts +17 -0
- package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +19 -0
- package/dist/PageLayoutWithSidebarMenu/index.d.ts +1 -0
- package/dist/PageSection/index.d.ts +17 -0
- package/dist/PastDue/PastDueModalContents/index.d.ts +8 -0
- package/dist/PastDue/index.d.ts +2 -0
- package/dist/PastDue/pastDueMessages.d.ts +6 -0
- package/dist/PausableImage/BaseImage/index.d.ts +15 -0
- package/dist/PausableImage/index.d.ts +11 -0
- package/dist/PlanCard/PlanCardBanner.d.ts +7 -0
- package/dist/PlanCard/PlanFeature.d.ts +9 -0
- package/dist/PlanCard/PopularBadge.d.ts +3 -0
- package/dist/PlanCard/PricingAmount.d.ts +14 -0
- package/dist/PlanCard/RecommendedBadge.d.ts +3 -0
- package/dist/PlanCard/consts.d.ts +14 -0
- package/dist/PlanCard/index.d.ts +18 -0
- package/dist/PlanCard/types.d.ts +39 -0
- package/dist/PlanCardTeams/consts.d.ts +9 -0
- package/dist/PlanCardTeams/index.d.ts +8 -0
- package/dist/PricingSection/PlanFeature.d.ts +10 -0
- package/dist/PricingSection/PricingCard/PricingAmount.d.ts +10 -0
- package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +3 -0
- package/dist/PricingSection/PricingCard/consts.d.ts +14 -0
- package/dist/PricingSection/PricingCard/index.d.ts +12 -0
- package/dist/PricingSection/ProductCTA.d.ts +6 -0
- package/dist/PricingSection/Products.d.ts +11 -0
- package/dist/PricingSection/config.d.ts +8 -0
- package/dist/PricingSection/index.d.ts +13 -0
- package/dist/PricingSection/types.d.ts +30 -0
- package/dist/ProLogoAlt/index.d.ts +9 -0
- package/dist/ProductFeatureShowcase/index.d.ts +16 -0
- package/dist/QuizScore/index.d.ts +12 -0
- package/dist/RatingsBar/index.d.ts +12 -0
- package/dist/ResourceCard/index.d.ts +15 -0
- package/dist/ScoreSummary/SubScores.d.ts +28 -0
- package/dist/ScoreSummary/helpers.d.ts +11 -0
- package/dist/ScoreSummary/index.d.ts +21 -0
- package/dist/ScoreSummary/types.d.ts +310 -0
- package/dist/SkillPathCard/__tests__/__fixtures__/index.d.ts +2 -0
- package/dist/SkillPathCard/index.d.ts +17 -0
- package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +13 -0
- package/dist/SocialMediaSharing/index.d.ts +49 -0
- package/dist/SocialMediaSharingDropdown/__tests__/SocialMediaSharingDropdown-test.d.ts +1 -0
- package/dist/SocialMediaSharingDropdown/index.d.ts +15 -0
- package/dist/Testimonial/index.d.ts +45 -0
- package/dist/assets/darkQuotes.svg +1 -0
- package/dist/assets/dots.svg +1 -0
- package/dist/assets/lightQuotes.svg +1 -0
- package/dist/assets/navyQuotes.svg +5 -0
- package/dist/assets/orange_squiggle.svg +1 -0
- package/dist/index.d.ts +85 -0
- package/dist/index.js +2 -7
- package/dist/lib/breakpointHooks/index.d.ts +43 -0
- package/dist/lib/catalogList/index.d.ts +5 -0
- package/dist/lib/resourcesList/index.d.ts +5 -0
- package/dist/png.d.ts +4 -0
- package/dist/react-freezeframe.d.ts +1 -0
- package/dist/remoteAssets/components.d.ts +1 -0
- package/dist/stories/Atoms/Avatar.stories.d.ts +6 -0
- package/dist/stories/Atoms/BetaSticker.stories.d.ts +7 -0
- package/dist/stories/Atoms/Logos/LogoCodecademy.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/LogoCodecademy.stories.js +8 -0
- package/dist/stories/Atoms/Logos/LogoCodecademyMini.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/LogoCodecademyMini.stories.js +8 -0
- package/dist/stories/Atoms/Logos/LogoCodecademyPro.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/LogoCodecademyPro.stories.js +8 -0
- package/dist/stories/Atoms/Logos/LogoCodecademyTeams.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/LogoCodecademyTeams.stories.js +8 -0
- package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.js +2 -8
- package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +1 -1
- package/dist/stories/Atoms/Logos/ProLabel.stories.d.ts +8 -0
- package/dist/stories/Atoms/Logos/ProLabel.stories.js +23 -10
- package/dist/stories/Atoms/RatingsBar.stories.d.ts +6 -0
- package/dist/stories/Atoms/Subgrid.stories.d.ts +6 -0
- package/dist/stories/Molecules/AppBar.stories.d.ts +15 -0
- package/dist/stories/Molecules/AppBar.stories.js +2 -2
- package/dist/stories/Molecules/AppHeader/AppHeader.stories.d.ts +6 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.d.ts +8 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.d.ts +8 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.d.ts +8 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.d.ts +6 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.d.ts +6 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.d.ts +7 -0
- package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.d.ts +7 -0
- package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.d.ts +6 -0
- package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.d.ts +5 -0
- package/dist/stories/Molecules/AvatarChooser.stories.d.ts +7 -0
- package/dist/stories/Molecules/BackToTopAnchor.stories.d.ts +10 -0
- package/dist/stories/Molecules/Banner.stories.d.ts +16 -0
- package/dist/stories/Molecules/Carousel.stories.d.ts +7 -0
- package/dist/stories/Molecules/ContentGroupBaseCard.stories.d.ts +13 -0
- package/dist/stories/Molecules/CurriculumCard.stories.d.ts +16 -0
- package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.d.ts +10 -0
- package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.d.ts +9 -0
- package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.d.ts +10 -0
- package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.d.ts +6 -0
- package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.d.ts +9 -0
- package/dist/stories/Molecules/DropdownButton.stories.d.ts +11 -0
- package/dist/stories/Molecules/EditorialImage.stories.d.ts +6 -0
- package/dist/stories/Molecules/EmptySection.stories.d.ts +13 -0
- package/dist/stories/Molecules/EnhancedBanner.stories.d.ts +10 -0
- package/dist/stories/Molecules/EnhancedBanner.stories.js +114 -0
- package/dist/stories/Molecules/ErrorContents.stories.d.ts +7 -0
- package/dist/stories/Molecules/GridCollapse.stories.d.ts +6 -0
- package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +1 -0
- package/dist/stories/Molecules/HorizontalScrollMenu.stories.d.ts +6 -0
- package/dist/stories/Molecules/HubCard.stories.d.ts +7 -0
- package/dist/stories/Molecules/InfoCard.stories.d.ts +7 -0
- package/dist/stories/Molecules/LearningOutcomeCard.stories.d.ts +10 -0
- package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.d.ts +6 -0
- package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.d.ts +6 -0
- package/dist/stories/Molecules/LearningOutcomePopover.stories.d.ts +5 -0
- package/dist/stories/Molecules/LearningOutcomeTile.stories.d.ts +10 -0
- package/dist/stories/Molecules/ListSection.stories.d.ts +9 -0
- package/dist/stories/Molecules/Loading.stories.d.ts +6 -0
- package/dist/stories/Molecules/NotificationList.stories.d.ts +7 -0
- package/dist/stories/Molecules/PageSection.stories.d.ts +8 -0
- package/dist/stories/Molecules/PastDueModalContents.stories.d.ts +10 -0
- package/dist/stories/Molecules/PausableImage.stories.d.ts +6 -0
- package/dist/stories/Molecules/ResourceCard.stories.d.ts +6 -0
- package/dist/stories/Molecules/SocialMediaSharing.stories.d.ts +6 -0
- package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.d.ts +6 -0
- package/dist/stories/Molecules/Testimonial.stories.d.ts +10 -0
- package/dist/stories/Organisms/GlobalFooter.stories.d.ts +8 -0
- package/dist/stories/Organisms/GlobalHeader/About.stories.d.ts +10 -0
- package/dist/stories/Organisms/GlobalHeader/Anon.stories.d.ts +9 -0
- package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.d.ts +6 -0
- package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.d.ts +8 -0
- package/dist/stories/Organisms/GlobalHeader/Free.stories.d.ts +8 -0
- package/dist/stories/Organisms/GlobalHeader/Pro.stories.d.ts +10 -0
- package/dist/stories/Organisms/GlobalHeader/Simple.stories.d.ts +6 -0
- package/dist/stories/Organisms/GlobalPage.stories.d.ts +9 -0
- package/dist/stories/Organisms/LayoutMenu.stories.d.ts +10 -0
- package/dist/stories/Organisms/LayoutMenuVariant.stories.d.ts +9 -0
- package/dist/stories/Organisms/PageAlerts.example.d.ts +2 -0
- package/dist/stories/Organisms/PageAlerts.stories.d.ts +7 -0
- package/dist/stories/Organisms/PageFeatures.stories.d.ts +14 -0
- package/dist/stories/Organisms/PageHero.stories.d.ts +17 -0
- package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.d.ts +7 -0
- package/dist/stories/Organisms/PagePrefooter.stories.d.ts +10 -0
- package/dist/stories/Organisms/PageSingleFeature.stories.d.ts +18 -0
- package/dist/stories/Organisms/PageVideoGallery.stories.d.ts +10 -0
- package/dist/stories/Organisms/PlanCard.stories.d.ts +9 -0
- package/dist/stories/Organisms/PlanCardTeams.stories.d.ts +7 -0
- package/dist/stories/Organisms/ScoreSummary.stories.d.ts +12 -0
- package/dist/svg.d.ts +8 -0
- package/dist/theme.d.ts +5 -0
- package/package.json +1 -1
- package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.js +0 -55
- package/dist/LearningOutcomeAssessmentScores/index.js +0 -24
- package/dist/LearningOutcomeFlyout/index.js +0 -267
- package/dist/Logo/CodecademyLogo.js +0 -19
- package/dist/Logo/CodecademyPremiumLogo.js +0 -35
- package/dist/Logo/CodecademyProAltLogo.js +0 -19
- package/dist/Logo/CodecademyProLockupLogo.js +0 -13
- package/dist/Logo/CodecademyProgramLogo.js +0 -14
- package/dist/Logo/index.js +0 -30
- package/dist/LogoFromSkillsoft/index.js +0 -55
- package/dist/LogoLXStudio/index.js +0 -47
- package/dist/ProLabel/index.js +0 -59
- package/dist/stories/Atoms/Logos/Logo.stories.js +0 -78
- package/dist/stories/Atoms/Logos/ProLogoAlt.stories.js +0 -24
- package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.js +0 -23
- package/dist/stories/Molecules/LearningOutcomeFlyout.stories.js +0 -35
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export * as LayoutMenuVariant from './LayoutMenuVariant';
|
|
2
|
+
export * from './AbbreviatedCommunityEventCard';
|
|
3
|
+
export * from './AppBar';
|
|
4
|
+
export * from './AppBar/AppBarSection';
|
|
5
|
+
export * from './AppBarDeprecated';
|
|
6
|
+
export * from './AppBarDeprecated/AppBarSectionDeprecated';
|
|
7
|
+
export * from './AppHeader';
|
|
8
|
+
export * from './AppHeader/AppHeaderElements/AppHeaderDropdown';
|
|
9
|
+
export * from './AppHeader/AppHeaderElements/AppHeaderLink';
|
|
10
|
+
export * from './AppHeader/AppHeaderElements/AppHeaderLogo';
|
|
11
|
+
export * from './AppHeader/shared/types';
|
|
12
|
+
export * from './AppHeaderMobile';
|
|
13
|
+
export * from './AppHeaderMobile/AppHeaderMainMenuMobile';
|
|
14
|
+
export * from './AppHeaderMobile/AppHeaderSubMenuMobile';
|
|
15
|
+
export * from './Avatar';
|
|
16
|
+
export * from './AvatarChooser';
|
|
17
|
+
export * from './BackToTopAnchor';
|
|
18
|
+
export * from './Banner';
|
|
19
|
+
export * from './Banner/CountdownTimer';
|
|
20
|
+
export * from './BetaSticker';
|
|
21
|
+
export * from './CareerPathCard';
|
|
22
|
+
export * from './Carousel';
|
|
23
|
+
export * from './CertificationPathCard';
|
|
24
|
+
export * from './CommunityEventCard';
|
|
25
|
+
export * from './CommunityEventToast';
|
|
26
|
+
export * from './ContentGroupBaseCard';
|
|
27
|
+
export * from './ContentGroupBaseCard/types';
|
|
28
|
+
export * from './ContentGroupBaseCard/helpers';
|
|
29
|
+
export * from './CourseCard';
|
|
30
|
+
export * from './CurriculumCard';
|
|
31
|
+
export * from './CurriculumCard/Difficulty';
|
|
32
|
+
export * from './CurriculumCard/Difficulty/types';
|
|
33
|
+
export * from './CurriculumCard/Difficulty/helpers';
|
|
34
|
+
export * from './DropdownButton';
|
|
35
|
+
export * from './EditorialImage';
|
|
36
|
+
export * from './EmptySection';
|
|
37
|
+
export * from './NotFoundContent';
|
|
38
|
+
export * from './ErrorContents';
|
|
39
|
+
export * from './GlobalFooter';
|
|
40
|
+
export * from './GlobalHeader';
|
|
41
|
+
export * from './GlobalPage';
|
|
42
|
+
export * from './Grid';
|
|
43
|
+
export * from './HorizontalScrollMenu';
|
|
44
|
+
export * from './HubCard';
|
|
45
|
+
export * from './InfoCard';
|
|
46
|
+
export * from './Konamimojisplosion';
|
|
47
|
+
export * from './LandingPage';
|
|
48
|
+
export * from './LayoutMenu';
|
|
49
|
+
export * from './LearningOutcomeBadges';
|
|
50
|
+
export * from './LearningOutcomeCard';
|
|
51
|
+
export * from './LearningOutcomeTile';
|
|
52
|
+
export * from './lib/breakpointHooks';
|
|
53
|
+
export * from './ListSection';
|
|
54
|
+
export * from './Loading';
|
|
55
|
+
export * from './LoadingCurriculumCard';
|
|
56
|
+
export * from './Logos';
|
|
57
|
+
export * from './MarketingToaster';
|
|
58
|
+
export * from './NotificationList';
|
|
59
|
+
export * from './NotificationList/NotificationItem';
|
|
60
|
+
export * from './NotificationList/typings';
|
|
61
|
+
export * from './PageAlerts';
|
|
62
|
+
export * from './PageLayoutWithSidebarMenu';
|
|
63
|
+
export * from './PageSection';
|
|
64
|
+
export * from './PastDue';
|
|
65
|
+
export * from './PausableImage';
|
|
66
|
+
export * from './PlanCard';
|
|
67
|
+
export * from './PlanCardTeams';
|
|
68
|
+
export * from './PlanCard/PlanCardBanner';
|
|
69
|
+
export * from './PlanCard/types';
|
|
70
|
+
export * from './PricingSection';
|
|
71
|
+
export * from './ProductFeatureShowcase';
|
|
72
|
+
export * from './ProLogoAlt';
|
|
73
|
+
export * from './RatingsBar';
|
|
74
|
+
export * from './ResourceCard';
|
|
75
|
+
export * from './ScoreSummary';
|
|
76
|
+
export * from './ScoreSummary/SubScores';
|
|
77
|
+
export * from './ScoreSummary/types';
|
|
78
|
+
export * from './SkillPathCard';
|
|
79
|
+
export * from './SocialMediaSharing';
|
|
80
|
+
export * from './SocialMediaSharingDropdown';
|
|
81
|
+
export * from './Testimonial';
|
|
82
|
+
export * from './AppHeader/Search/SearchWorker';
|
|
83
|
+
export type { AnonHeaderVariant } from './GlobalHeader/types';
|
|
84
|
+
export type { AppHeaderNotificationSettings } from './Notifications/types';
|
|
85
|
+
export type { AppHeaderSearch } from './AppHeader/Search/types';
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,7 @@ export * from './Avatar';
|
|
|
16
16
|
export * from './AvatarChooser';
|
|
17
17
|
export * from './BackToTopAnchor';
|
|
18
18
|
export * from './Banner';
|
|
19
|
+
export * from './Banner/CountdownTimer';
|
|
19
20
|
export * from './BetaSticker';
|
|
20
21
|
export * from './CareerPathCard';
|
|
21
22
|
export * from './Carousel';
|
|
@@ -45,18 +46,14 @@ export * from './InfoCard';
|
|
|
45
46
|
export * from './Konamimojisplosion';
|
|
46
47
|
export * from './LandingPage';
|
|
47
48
|
export * from './LayoutMenu';
|
|
48
|
-
export * from './LearningOutcomeAssessmentScores';
|
|
49
49
|
export * from './LearningOutcomeBadges';
|
|
50
50
|
export * from './LearningOutcomeCard';
|
|
51
|
-
export * from './LearningOutcomeFlyout';
|
|
52
51
|
export * from './LearningOutcomeTile';
|
|
53
52
|
export * from './lib/breakpointHooks';
|
|
54
53
|
export * from './ListSection';
|
|
55
54
|
export * from './Loading';
|
|
56
55
|
export * from './LoadingCurriculumCard';
|
|
57
|
-
export * from './
|
|
58
|
-
export * from './LogoFromSkillsoft';
|
|
59
|
-
export * from './LogoLXStudio';
|
|
56
|
+
export * from './Logos';
|
|
60
57
|
export * from './MarketingToaster';
|
|
61
58
|
export * from './NotificationList';
|
|
62
59
|
export * from './NotificationList/NotificationItem';
|
|
@@ -72,8 +69,6 @@ export * from './PlanCard/PlanCardBanner';
|
|
|
72
69
|
export * from './PlanCard/types';
|
|
73
70
|
export * from './PricingSection';
|
|
74
71
|
export * from './ProductFeatureShowcase';
|
|
75
|
-
export * from './ProLabel';
|
|
76
|
-
export * from './ProLogo';
|
|
77
72
|
export * from './ProLogoAlt';
|
|
78
73
|
export * from './RatingsBar';
|
|
79
74
|
export * from './ResourceCard';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
export type Breakpoint = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
+
export type BreakpointMinWidths = Record<Breakpoint, number>;
|
|
3
|
+
export declare const breakpoints: BreakpointMinWidths;
|
|
4
|
+
/**
|
|
5
|
+
* useBreakpoint will provide the current breakpoint to a React component.
|
|
6
|
+
*
|
|
7
|
+
* If you think you need this, make sure to think twice. It is really nice
|
|
8
|
+
* to allow your styles layer to concern itself about the appearance of a
|
|
9
|
+
* component at different screen sizes, and not have to maintain two different
|
|
10
|
+
* components that could drift from eachother. That being said, sometimes
|
|
11
|
+
* The content, layout, and/or functionality of a mobile page/component can
|
|
12
|
+
* be so different that it is non-performant or difficult to maintain the
|
|
13
|
+
* changes in only styles. For those cases where it is actually easier to maintain
|
|
14
|
+
* two components or a programatic distinction of the breakpoint, this helper
|
|
15
|
+
* exists.
|
|
16
|
+
*
|
|
17
|
+
* @deprecated
|
|
18
|
+
* Use Box, LayoutGrid, or other responsive Gamut components instead.
|
|
19
|
+
* JavaScript-time screen size checks are notorious for worsening page performance.
|
|
20
|
+
* @see https://web.dev/cls
|
|
21
|
+
*/
|
|
22
|
+
export declare const useBreakpoint: () => keyof typeof breakpoints;
|
|
23
|
+
/**
|
|
24
|
+
* @deprecated
|
|
25
|
+
* Use Box, LayoutGrid, or other responsive Gamut components instead.
|
|
26
|
+
* JavaScript-time screen size checks are notorious for worsening page performance.
|
|
27
|
+
* @see https://web.dev/cls
|
|
28
|
+
*/
|
|
29
|
+
export declare function useBreakpointAtOrAbove(breakpoint: Breakpoint): boolean;
|
|
30
|
+
/**
|
|
31
|
+
* @deprecated
|
|
32
|
+
* Use Box, LayoutGrid, or other responsive Gamut components instead.
|
|
33
|
+
* JavaScript-time screen size checks are notorious for worsening page performance.
|
|
34
|
+
* @see https://web.dev/cls
|
|
35
|
+
*/
|
|
36
|
+
export declare function useBreakpointAt(breakpoint: Breakpoint): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @deprecated
|
|
39
|
+
* Use Box, LayoutGrid, or other responsive Gamut components instead.
|
|
40
|
+
* JavaScript-time screen size checks are notorious for worsening page performance.
|
|
41
|
+
* @see https://web.dev/cls
|
|
42
|
+
*/
|
|
43
|
+
export declare function useBreakpointAtOrBelow(breakpoint: Breakpoint): boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AppHeaderLinkItem, AppHeaderResourcesDataItem } from '../../AppHeader/shared';
|
|
2
|
+
export declare const careerPaths: AppHeaderLinkItem[];
|
|
3
|
+
export declare const liveLearningHubItems: AppHeaderResourcesDataItem;
|
|
4
|
+
export declare const topLanguages: AppHeaderLinkItem[];
|
|
5
|
+
export declare const getTopSubjects: () => AppHeaderLinkItem[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AppFooterResourcesDataItem, AppHeaderResourcesDataItem } from '../../AppHeader/shared';
|
|
2
|
+
export declare const renderBadge: (text: string) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const renderNewBadge: (mt?: number) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const footerResourcesList: AppFooterResourcesDataItem[];
|
|
5
|
+
export declare const getHeaderResourcesList: () => AppHeaderResourcesDataItem[];
|
package/dist/png.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'react-freezeframe';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BASE_STATIC_ASSET_PATH = "https://static-assets.codecademy.com/components";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { BetaSticker } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof BetaSticker>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof BetaSticker>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Small: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LogoCodecademyMini } from '../../../Logos';
|
|
3
|
+
declare const meta: Meta<typeof LogoCodecademyMini>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LogoCodecademyMini>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LogoCodecademyPro } from '../../../Logos';
|
|
3
|
+
declare const meta: Meta<typeof LogoCodecademyPro>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LogoCodecademyPro>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LogoCodecademyTeams } from '../../../Logos';
|
|
3
|
+
declare const meta: Meta<typeof LogoCodecademyTeams>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LogoCodecademyTeams>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LogoFromSkillsoft } from '../../../Logos';
|
|
3
|
+
declare const meta: Meta<typeof LogoFromSkillsoft>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LogoFromSkillsoft>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { LogoFromSkillsoft } from '../../../
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { LogoFromSkillsoft } from '../../../Logos';
|
|
3
2
|
const meta = {
|
|
4
3
|
args: {
|
|
5
4
|
height: 40
|
|
@@ -7,9 +6,4 @@ const meta = {
|
|
|
7
6
|
component: LogoFromSkillsoft
|
|
8
7
|
};
|
|
9
8
|
export default meta;
|
|
10
|
-
export const Default = {
|
|
11
|
-
render: args => /*#__PURE__*/_jsx(LogoFromSkillsoft, {
|
|
12
|
-
...args
|
|
13
|
-
}),
|
|
14
|
-
name: 'LogoFromSkillsoft'
|
|
15
|
-
};
|
|
9
|
+
export const Default = {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ProLabel } from '../../../Logos/ProLabel';
|
|
3
|
+
declare const meta: Meta<typeof ProLabel>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ProLabel>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Cutout: Story;
|
|
8
|
+
export declare const Transparent: Story;
|
|
@@ -1,16 +1,29 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Background } from '@codecademy/gamut-styles';
|
|
2
|
+
import { ProLabel } from '../../../Logos/ProLabel';
|
|
2
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
4
|
const meta = {
|
|
4
|
-
component: ProLabel
|
|
5
|
-
args: {
|
|
6
|
-
mode: 'light',
|
|
7
|
-
height: 40
|
|
8
|
-
}
|
|
5
|
+
component: ProLabel
|
|
9
6
|
};
|
|
10
7
|
export default meta;
|
|
11
8
|
export const Default = {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
}
|
|
15
|
-
|
|
9
|
+
args: {
|
|
10
|
+
variant: 'cutout'
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export const Cutout = {
|
|
14
|
+
args: {
|
|
15
|
+
variant: 'cutout'
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
export const Transparent = {
|
|
19
|
+
args: {
|
|
20
|
+
variant: 'transparent'
|
|
21
|
+
},
|
|
22
|
+
render: args => /*#__PURE__*/_jsx(Background, {
|
|
23
|
+
bg: "navy",
|
|
24
|
+
p: 8,
|
|
25
|
+
children: /*#__PURE__*/_jsx(ProLabel, {
|
|
26
|
+
...args
|
|
27
|
+
})
|
|
28
|
+
})
|
|
16
29
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
component: import("react").FC<import("../../AppBar").AppBarProps>;
|
|
3
|
+
subcomponents: {
|
|
4
|
+
AppBarSection: import("react").FC<import("../../index").AppBarSectionProps>;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
7
|
+
export default _default;
|
|
8
|
+
export declare const Default: {
|
|
9
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
name: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const Header: {
|
|
13
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
name: string;
|
|
15
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AppBar, AppBarSection,
|
|
1
|
+
import { AppBar, AppBarSection, LogoCodecademy } from '../../index';
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
export default {
|
|
4
4
|
component: AppBar,
|
|
@@ -19,7 +19,7 @@ export const Header = {
|
|
|
19
19
|
render: () => /*#__PURE__*/_jsxs(AppBar, {
|
|
20
20
|
children: [/*#__PURE__*/_jsx(AppBarSection, {
|
|
21
21
|
position: "left",
|
|
22
|
-
children: /*#__PURE__*/_jsx(
|
|
22
|
+
children: /*#__PURE__*/_jsx(LogoCodecademy, {})
|
|
23
23
|
}), /*#__PURE__*/_jsx(AppBarSection, {
|
|
24
24
|
position: "center",
|
|
25
25
|
children: "Pricing"
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AppHeaderDropdown } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof AppHeaderDropdown>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AppHeaderDropdown>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const AppHeaderSeparatedDropdown: Story;
|
|
8
|
+
export declare const AppHeaderStandaloneDropdown: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AppHeaderLink } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof AppHeaderLink>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AppHeaderLink>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CurrentTab: Story;
|
|
8
|
+
export declare const NewTab: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AppHeaderLogo } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof AppHeaderLogo>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AppHeaderLogo>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Pro: Story;
|
|
8
|
+
export declare const FreeAnon: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AppHeaderMainMenuMobile } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof AppHeaderMainMenuMobile>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AppHeaderMainMenuMobile>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AppHeaderMobile } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof AppHeaderMobile>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AppHeaderMobile>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AppHeaderSubNavMobile } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof AppHeaderSubNavMobile>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AppHeaderSubNavMobile>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const AppHeaderSubMenuMobileProfile: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AppHeader } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof AppHeader>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AppHeader>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const ButtonsWithTitle: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AppHeaderMobile } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof AppHeaderMobile>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AppHeaderMobile>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { AppHeaderLinkItem, AppHeaderProfileDropdownItem, AppHeaderSimpleDropdownItem } from '../../../index';
|
|
2
|
+
export declare const MOCK_LINK: AppHeaderLinkItem;
|
|
3
|
+
export declare const MOCK_DROPDOWN_1: AppHeaderSimpleDropdownItem;
|
|
4
|
+
export declare const MOCK_DROPDOWN_2: AppHeaderSimpleDropdownItem;
|
|
5
|
+
export declare const MOCK_PROFILE_DROPDOWN: AppHeaderProfileDropdownItem;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { AvatarChooser } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof AvatarChooser>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof AvatarChooser>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const AvatarChooserWithError: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { BackToTopAnchor } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof BackToTopAnchor>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof BackToTopAnchor>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Inline: Story;
|
|
8
|
+
export declare const Standard: Story;
|
|
9
|
+
export declare const Small: Story;
|
|
10
|
+
export declare const WithoutIcons: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Banner } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof Banner>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Banner>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Navy: Story;
|
|
8
|
+
export declare const Yellow: Story;
|
|
9
|
+
export declare const Subtle: Story;
|
|
10
|
+
export declare const NavyWithLink: Story;
|
|
11
|
+
export declare const YellowWithLink: Story;
|
|
12
|
+
export declare const SubtleWithLink: Story;
|
|
13
|
+
export declare const NavyClose: Story;
|
|
14
|
+
export declare const YellowClose: Story;
|
|
15
|
+
export declare const SubtleClose: Story;
|
|
16
|
+
export declare const CallToAction: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Carousel } from '../../Carousel';
|
|
3
|
+
declare const meta: Meta<typeof Carousel>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Carousel>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const PatternedBackground: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ContentGroupBaseCard } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof ContentGroupBaseCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ContentGroupBaseCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const ContentGroupBaseCardWithDifficulty: Story;
|
|
8
|
+
export declare const ContentGroupBaseCardWithDescription: Story;
|
|
9
|
+
export declare const ContentGroupBaseCardWithImage: Story;
|
|
10
|
+
export declare const ContentGroupBaseCardWithShadowVariants: Story;
|
|
11
|
+
export declare const ContentGroupBaseCardWithEnrollmentStatus: Story;
|
|
12
|
+
export declare const ContentGroupBaseCardWithTimeToComplete: Story;
|
|
13
|
+
export declare const ContentGroupBaseCardWithCustomHeaderAndFooter: Story;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { CurriculumCard } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof CurriculumCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CurriculumCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CurriculumCardWithImage: Story;
|
|
8
|
+
export declare const CurriculumCardEnrolled: Story;
|
|
9
|
+
export declare const CurriculumCardInProgress: Story;
|
|
10
|
+
export declare const CurriculumCardCompleted: Story;
|
|
11
|
+
export declare const CurriculumCardBeta: Story;
|
|
12
|
+
export declare const CurriculumCardAlternativeSubtitle: Story;
|
|
13
|
+
export declare const CurriculumCardWithDescription: Story;
|
|
14
|
+
export declare const CareerPathVariant: Story;
|
|
15
|
+
export declare const HorizontalCurriculumCard: Story;
|
|
16
|
+
export declare const DifficultyScale: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { CareerPathCard } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof CareerPathCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CareerPathCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CareerPathCardWithImage: Story;
|
|
8
|
+
export declare const CareerPathCardWithJourney: Story;
|
|
9
|
+
export declare const CareerPathCardWithTimeToComplete: Story;
|
|
10
|
+
export declare const CareerPathCardWithEnrollmentStatus: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { CertificationPathCard } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof CertificationPathCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CertificationPathCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const CertificationPathCardWithProviderLogo: Story;
|
|
8
|
+
export declare const CertificationPathCardWithTimeToComplete: Story;
|
|
9
|
+
export declare const CertificationPathCardWithEnrollmentStatus: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { CourseCard } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof CourseCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof CourseCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const ProCourseCard: Story;
|
|
8
|
+
export declare const CourseCardWithImage: Story;
|
|
9
|
+
export declare const CourseCardWithTimeToComplete: Story;
|
|
10
|
+
export declare const CourseCardWithEnrollmentStatus: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LoadingCurriculumCard } from '../../../LoadingCurriculumCard';
|
|
3
|
+
declare const meta: Meta<typeof LoadingCurriculumCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LoadingCurriculumCard>;
|
|
6
|
+
export declare const Default: Story;
|