@codecademy/brand 2.0.0-alpha.a67c1b58ff.0 → 2.0.0-alpha.bc135b46d4.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/README.md +1 -1
- 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/AppHeaderCatalogSection/index.js +7 -8
- 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/AppHeaderResourcesDropdown/index.js +2 -4
- 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/consts.js +1 -1
- 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/index.js +2 -5
- 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/AppHeaderSubMenuMobile/index.js +5 -7
- 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/FeatureList/index.js +5 -4
- 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/CatalogLinks.js +6 -9
- package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.d.ts +12 -0
- package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.js +1 -1
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.d.ts +7 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.js +3 -3
- 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/index.js +17 -25
- package/dist/GlobalFooter/types.d.ts +13 -0
- package/dist/GlobalHeader/GlobalHeaderItems.d.ts +25 -0
- package/dist/GlobalHeader/GlobalHeaderItems.js +6 -3
- package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +28 -0
- package/dist/GlobalHeader/GlobalHeaderVariants.js +33 -33
- package/dist/GlobalHeader/index.d.ts +10 -0
- package/dist/GlobalHeader/index.js +46 -49
- 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/PageFeaturesEnhanced.js +3 -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/LearningOutcomeCard/index.js +61 -26
- 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/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/index.js +75 -28
- 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 +3 -8
- package/dist/lib/breakpointHooks/index.d.ts +43 -0
- package/dist/lib/catalogList/index.d.ts +5 -0
- package/dist/lib/catalogList/index.js +3 -3
- package/dist/lib/resourcesList/index.d.ts +5 -0
- package/dist/lib/resourcesList/index.js +2 -11
- 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/LearningOutcomeCard.stories.js +16 -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/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
|
@@ -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;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SkillPathCard } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof SkillPathCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SkillPathCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const SkillPathCardWithImage: Story;
|
|
8
|
+
export declare const SkillPathCardWithTimeToComplete: Story;
|
|
9
|
+
export declare const SkillPathCardWithEnrollmentStatus: Story;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { DropdownButton } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof DropdownButton>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof DropdownButton>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const DropdownButtonTypes: Story;
|
|
8
|
+
export declare const DropdownButtonVariants: Story;
|
|
9
|
+
export declare const DropdownTextButtonSizes: Story;
|
|
10
|
+
export declare const DropdownIconButtonSizes: Story;
|
|
11
|
+
export declare const DropdownPopoverAlignment: Story;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { EmptySection } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof EmptySection>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof EmptySection>;
|
|
6
|
+
export declare const IllustrationOnTheRight: Story;
|
|
7
|
+
export declare const IllustrationOnTheLeft: Story;
|
|
8
|
+
export declare const DotsStretchToTheLeft: Story;
|
|
9
|
+
export declare const DotsStretchToTheRight: Story;
|
|
10
|
+
export declare const UsingADropdownButton: Story;
|
|
11
|
+
export declare const AnotherSectionOnTheLeft: Story;
|
|
12
|
+
export declare const AnotherSectionOnTheRight: Story;
|
|
13
|
+
export declare const Playground: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
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 WithCountdownTimer: Story;
|
|
7
|
+
export declare const WithoutCountdownTimer: Story;
|
|
8
|
+
export declare const YellowVariant: Story;
|
|
9
|
+
export declare const SubtleVariant: Story;
|
|
10
|
+
export declare const WithoutSubheader: Story;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { action } from '@storybook/addon-actions';
|
|
2
|
+
import { Banner } from '../../index';
|
|
3
|
+
const meta = {
|
|
4
|
+
title: 'Molecules/Enhanced Banner',
|
|
5
|
+
component: Banner,
|
|
6
|
+
argTypes: {
|
|
7
|
+
header: {
|
|
8
|
+
control: 'text',
|
|
9
|
+
description: 'Main heading text for the enhanced banner'
|
|
10
|
+
},
|
|
11
|
+
subheader: {
|
|
12
|
+
control: 'text',
|
|
13
|
+
description: 'Secondary descriptive text'
|
|
14
|
+
},
|
|
15
|
+
variant: {
|
|
16
|
+
control: 'select',
|
|
17
|
+
options: ['navy', 'yellow', 'subtle'],
|
|
18
|
+
description: 'Visual style variant'
|
|
19
|
+
},
|
|
20
|
+
cta: {
|
|
21
|
+
control: 'object',
|
|
22
|
+
description: 'Call-to-action object: { title, href }'
|
|
23
|
+
},
|
|
24
|
+
countdownTo: {
|
|
25
|
+
control: 'text',
|
|
26
|
+
description: 'ISO date string for countdown timer (e.g., "2024-12-31T23:59:59Z")'
|
|
27
|
+
},
|
|
28
|
+
isInEnhancedBannerVariant: {
|
|
29
|
+
control: 'boolean',
|
|
30
|
+
description: 'Enable enhanced banner features',
|
|
31
|
+
table: {
|
|
32
|
+
defaultValue: {
|
|
33
|
+
summary: 'true'
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
onClose: {
|
|
38
|
+
action: 'closed',
|
|
39
|
+
description: 'Callback when banner is closed'
|
|
40
|
+
},
|
|
41
|
+
onCtaClick: {
|
|
42
|
+
action: 'cta-clicked',
|
|
43
|
+
description: 'Callback when CTA button is clicked'
|
|
44
|
+
},
|
|
45
|
+
onCountdownExpire: {
|
|
46
|
+
action: 'countdown-expired',
|
|
47
|
+
description: 'Callback when countdown timer expires'
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
args: {
|
|
51
|
+
isInEnhancedBannerVariant: true,
|
|
52
|
+
variant: 'navy',
|
|
53
|
+
onClose: action('banner-closed'),
|
|
54
|
+
onCtaClick: action('cta-clicked'),
|
|
55
|
+
onCountdownExpire: action('countdown-expired')
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
export default meta;
|
|
59
|
+
export const WithCountdownTimer = {
|
|
60
|
+
args: {
|
|
61
|
+
header: '🔥 Limited Time Offer',
|
|
62
|
+
subheader: 'Save 50% on annual Pro subscription',
|
|
63
|
+
cta: {
|
|
64
|
+
title: 'Claim Offer',
|
|
65
|
+
href: '/limited-offer'
|
|
66
|
+
},
|
|
67
|
+
countdownTo: (() => {
|
|
68
|
+
const futureDate = new Date();
|
|
69
|
+
futureDate.setHours(futureDate.getHours() + 24);
|
|
70
|
+
return futureDate.toISOString();
|
|
71
|
+
})()
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
export const WithoutCountdownTimer = {
|
|
75
|
+
args: {
|
|
76
|
+
header: '⭐ Upgrade to Pro',
|
|
77
|
+
subheader: 'Unlock unlimited access to all courses and projects',
|
|
78
|
+
cta: {
|
|
79
|
+
title: 'Start Free Trial',
|
|
80
|
+
href: '/pro/trial'
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
export const YellowVariant = {
|
|
85
|
+
args: {
|
|
86
|
+
variant: 'yellow',
|
|
87
|
+
header: '⭐ System Maintenance Scheduled',
|
|
88
|
+
subheader: 'Platform will be offline for updates',
|
|
89
|
+
cta: {
|
|
90
|
+
title: 'Learn More',
|
|
91
|
+
href: '/maintenance'
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
export const SubtleVariant = {
|
|
96
|
+
args: {
|
|
97
|
+
variant: 'subtle',
|
|
98
|
+
header: '💡 Pro Tip',
|
|
99
|
+
subheader: 'Make the most of your learning experience',
|
|
100
|
+
cta: {
|
|
101
|
+
title: 'Practice Mode',
|
|
102
|
+
href: '/practice-mode'
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
export const WithoutSubheader = {
|
|
107
|
+
args: {
|
|
108
|
+
header: '🎉 Welcome to the Platform',
|
|
109
|
+
cta: {
|
|
110
|
+
title: 'Get Started',
|
|
111
|
+
href: '/get-started'
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ErrorContents } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof ErrorContents>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ErrorContents>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const SupportInformation: Story;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const HorizontalScrollMenuExample: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { HorizontalScrollMenu } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof HorizontalScrollMenu>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof HorizontalScrollMenu>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { HubCard } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof HubCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof HubCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const BackgroundRight: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { InfoCard } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof InfoCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof InfoCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const InfoCardWithBottomTags: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LearningOutcomeCard } from '../../LearningOutcomeCard';
|
|
3
|
+
declare const meta: Meta<typeof LearningOutcomeCard>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LearningOutcomeCard>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const EmphasizedCard: Story;
|
|
8
|
+
export declare const EmphasizedCardWithProgress: Story;
|
|
9
|
+
export declare const EmphasizedCardWithProgress100: Story;
|
|
10
|
+
export declare const EmphasizedCardWithAnimation: Story;
|
|
@@ -56,4 +56,20 @@ export const EmphasizedCardWithProgress100 = {
|
|
|
56
56
|
})
|
|
57
57
|
}),
|
|
58
58
|
name: 'Emphasized card displaying 100% progress, for use in the Learning Environment'
|
|
59
|
+
};
|
|
60
|
+
export const EmphasizedCardWithAnimation = {
|
|
61
|
+
render: args => /*#__PURE__*/_jsx(Background, {
|
|
62
|
+
bg: "navy",
|
|
63
|
+
p: 24,
|
|
64
|
+
children: /*#__PURE__*/_jsx(LearningOutcomeCard, {
|
|
65
|
+
emphasized: true,
|
|
66
|
+
progress: 80,
|
|
67
|
+
progressUpdateData: {
|
|
68
|
+
previousProgress: 50,
|
|
69
|
+
progressDuration: 500
|
|
70
|
+
},
|
|
71
|
+
...args
|
|
72
|
+
})
|
|
73
|
+
}),
|
|
74
|
+
name: 'Emphasized card first displays 50% progress then animates until showing 80%, for use in the Learning Environment'
|
|
59
75
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LearningOutcomeLevelBadge } from '../../LearningOutcomeBadges';
|
|
3
|
+
declare const meta: Meta<typeof LearningOutcomeLevelBadge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LearningOutcomeLevelBadge>;
|
|
6
|
+
export declare const AllLevels: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LearningOutcomeLowAssessmentBadge } from '../../LearningOutcomeBadges';
|
|
3
|
+
declare const meta: Meta<typeof LearningOutcomeLowAssessmentBadge>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LearningOutcomeLowAssessmentBadge>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { Meta } from '@storybook/react';
|
|
2
|
+
import { LearningOutcomePopover } from '../../LearningOutcomePopover';
|
|
3
|
+
declare const meta: Meta<typeof LearningOutcomePopover>;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const Example: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LearningOutcomeTile } from '../../LearningOutcomeTile';
|
|
3
|
+
declare const meta: Meta<typeof LearningOutcomeTile>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LearningOutcomeTile>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithLowAssessments: Story;
|
|
8
|
+
export declare const WithPopover: Story;
|
|
9
|
+
export declare const Small: Story;
|
|
10
|
+
export declare const DarkMode: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { ListSection } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof ListSection>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ListSection>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const ListSectionWithEmptyState: Story;
|
|
8
|
+
export declare const ListSectionWithHeaderAndSecondaryHeaderButtons: Story;
|
|
9
|
+
export declare const ListSectionWithCustomHeaderAndSecondaryHeaderButtons: Story;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { NotificationList } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof NotificationList>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof NotificationList>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Empty: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PageSection } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof PageSection>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof PageSection>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const PageSectionWithHeaderAndFooterButtons: Story;
|
|
8
|
+
export declare const PageSectionWithCustomHeaderAndFooterButtons: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { PastDueModalContents } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof PastDueModalContents>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof PastDueModalContents>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const ErrorAlert: {
|
|
8
|
+
render: () => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SocialMediaSharing } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof SocialMediaSharing>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SocialMediaSharing>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { SocialMediaSharingDropdown } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof SocialMediaSharingDropdown>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SocialMediaSharingDropdown>;
|
|
6
|
+
export declare const Default: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { Testimonial } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof Testimonial>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Testimonial>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const LightMode: Story;
|
|
8
|
+
export declare const DarkMode: Story;
|
|
9
|
+
export declare const SmallLight: Story;
|
|
10
|
+
export declare const MediumDark: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { GlobalFooter } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof GlobalFooter>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof GlobalFooter>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const HidePricing: Story;
|
|
8
|
+
export declare const ClickableMadeIn: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { GlobalHeader } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof GlobalHeader>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof GlobalHeader>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const GlobalHeaderWithSearchAndNotifications: Story;
|
|
8
|
+
export declare const GlobalHeaderOverBackgroundColor: Story;
|
|
9
|
+
export declare const GlobalHeaderWithAnActionFunction: Story;
|
|
10
|
+
export declare const Loading: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { GlobalHeader } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof GlobalHeader>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof GlobalHeader>;
|
|
6
|
+
export declare const AnonymousUserDefault: Story;
|
|
7
|
+
export declare const AnonymousUserLandingPage: Story;
|
|
8
|
+
export declare const AnonymousUserLoginPage: Story;
|
|
9
|
+
export declare const AnonymousUserSignupPage: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { GlobalHeader } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof GlobalHeader>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof GlobalHeader>;
|
|
6
|
+
export declare const Enterprise: Story;
|
|
7
|
+
export declare const BusinessAccountManagerPro: Story;
|
|
8
|
+
export declare const BusinessAccountManagerFree: Story;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { GlobalHeader } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof GlobalHeader>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof GlobalHeader>;
|
|
6
|
+
export declare const FreeUserDefault: Story;
|
|
7
|
+
export declare const FreeUserCustomTrialCtaUrl: Story;
|
|
8
|
+
export declare const FreeUserProUpgrade: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { GlobalHeader } from '../../../index';
|
|
3
|
+
declare const meta: Meta<typeof GlobalHeader>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof GlobalHeader>;
|
|
6
|
+
export declare const ProUserDefault: Story;
|
|
7
|
+
export declare const ProUserPaused: Story;
|
|
8
|
+
export declare const ProUserAdmin: Story;
|
|
9
|
+
export declare const ProUserCustomerSupport: Story;
|
|
10
|
+
export declare const ProUserProLiteSubscription: Story;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { GlobalPage } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof GlobalPage>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof GlobalPage>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Banner: Story;
|
|
8
|
+
export declare const Modal: Story;
|
|
9
|
+
export declare const SkipToContent: Story;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { LayoutMenu } from '../../index';
|
|
3
|
+
declare const meta: Meta<typeof LayoutMenu>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof LayoutMenu>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const WithSelectedItem: Story;
|
|
8
|
+
export declare const WithAdditionalLinks: Story;
|
|
9
|
+
export declare const WithAdditionalLinksOnTopAndBottom: Story;
|
|
10
|
+
export declare const WithSetMenuHeight: Story;
|