@codecademy/brand 2.0.0-alpha.a3eb12cdcb.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/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/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/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/GlobalHeaderItems.js +6 -3
- 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/index.js +5 -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/LearningOutcomeCard/index.js +178 -0
- package/dist/LearningOutcomePopover/index.d.ts +10 -0
- package/dist/LearningOutcomePopover/index.js +125 -0
- package/dist/LearningOutcomeTile/Tile.d.ts +7 -0
- package/dist/LearningOutcomeTile/Tile.js +79 -0
- package/dist/LearningOutcomeTile/index.d.ts +2 -0
- package/dist/LearningOutcomeTile/index.js +116 -0
- package/dist/LearningOutcomeTile/types.d.ts +48 -0
- package/dist/LearningOutcomeTile/types.js +11 -0
- package/dist/ListSection/index.d.ts +21 -0
- package/dist/ListSection/index.js +64 -0
- package/dist/Loading/index.d.ts +5 -0
- package/dist/Loading/index.js +82 -0
- package/dist/Loading/styles.module.scss +131 -0
- package/dist/LoadingCurriculumCard/index.d.ts +7 -0
- package/dist/LoadingCurriculumCard/index.js +82 -0
- package/dist/Logos/LogoCodecademy/index.d.ts +2 -0
- package/dist/Logos/LogoCodecademy/index.js +22 -0
- 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/Logos/LogoCodecademyPro/index.js +25 -0
- package/dist/Logos/LogoCodecademyTeams/index.d.ts +2 -0
- package/dist/Logos/LogoCodecademyTeams/index.js +46 -0
- 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/Logos/ProLabel/ProLabelCutout/index.js +31 -0
- package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.d.ts +7 -0
- package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.js +31 -0
- package/dist/Logos/ProLabel/index.d.ts +15 -0
- package/dist/Logos/ProLabel/index.js +27 -0
- 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/MarketingToaster/index.js +67 -0
- package/dist/NotFoundContent/404.svg +1 -0
- package/dist/NotFoundContent/index.d.ts +8 -0
- package/dist/NotFoundContent/index.js +55 -0
- package/dist/NotificationList/EmptyNotification/emptyNotificationContents.d.ts +7 -0
- package/dist/NotificationList/EmptyNotification/emptyNotificationContents.js +23 -0
- package/dist/NotificationList/EmptyNotification/index.d.ts +1 -0
- package/dist/NotificationList/EmptyNotification/index.js +38 -0
- package/dist/NotificationList/NotificationItem.d.ts +8 -0
- package/dist/NotificationList/NotificationItem.js +151 -0
- package/dist/NotificationList/index.d.ts +9 -0
- package/dist/NotificationList/index.js +46 -0
- package/dist/NotificationList/typings.d.ts +16 -0
- package/dist/NotificationList/typings.js +1 -0
- package/dist/Notifications/NotificationBell.d.ts +10 -0
- package/dist/Notifications/NotificationBell.js +72 -0
- package/dist/Notifications/NotificationsContents.d.ts +3 -0
- package/dist/Notifications/NotificationsContents.js +85 -0
- package/dist/Notifications/NotificationsDropdown.d.ts +2 -0
- package/dist/Notifications/NotificationsDropdown.js +25 -0
- package/dist/Notifications/__fixtures__/NotificationTestComponent.d.ts +2 -0
- package/dist/Notifications/__fixtures__/NotificationTestComponent.js +12 -0
- package/dist/Notifications/__fixtures__/stubs.d.ts +2 -0
- package/dist/Notifications/__fixtures__/stubs.js +8 -0
- package/dist/Notifications/constants.d.ts +4 -0
- package/dist/Notifications/constants.js +4 -0
- package/dist/Notifications/elements.d.ts +12 -0
- package/dist/Notifications/elements.js +21 -0
- package/dist/Notifications/types.d.ts +24 -0
- package/dist/Notifications/types.js +1 -0
- package/dist/Notifications/useHeaderNotifications.d.ts +10 -0
- package/dist/Notifications/useHeaderNotifications.js +37 -0
- package/dist/Notifications/useNotificationButtons.d.ts +9 -0
- package/dist/Notifications/useNotificationButtons.js +56 -0
- package/dist/PageAlerts/PageAlerts.d.ts +10 -0
- package/dist/PageAlerts/PageAlerts.js +75 -0
- package/dist/PageAlerts/PageAlertsProvider.d.ts +11 -0
- package/dist/PageAlerts/PageAlertsProvider.js +34 -0
- package/dist/PageAlerts/index.d.ts +3 -0
- package/dist/PageAlerts/index.js +3 -0
- package/dist/PageAlerts/types.d.ts +17 -0
- package/dist/PageAlerts/types.js +1 -0
- package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +19 -0
- package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.js +53 -0
- package/dist/PageLayoutWithSidebarMenu/index.d.ts +1 -0
- package/dist/PageLayoutWithSidebarMenu/index.js +1 -0
- package/dist/PageSection/index.d.ts +17 -0
- package/dist/PageSection/index.js +67 -0
- package/dist/PastDue/PastDueModalContents/index.d.ts +8 -0
- package/dist/PastDue/PastDueModalContents/index.js +30 -0
- package/dist/PastDue/index.d.ts +2 -0
- package/dist/PastDue/index.js +2 -0
- package/dist/PastDue/pastDueMessages.d.ts +6 -0
- package/dist/PastDue/pastDueMessages.js +48 -0
- package/dist/PausableImage/BaseImage/index.d.ts +15 -0
- package/dist/PausableImage/BaseImage/index.js +54 -0
- package/dist/PausableImage/index.d.ts +11 -0
- package/dist/PausableImage/index.js +37 -0
- package/dist/PlanCard/PlanCardBanner.d.ts +7 -0
- package/dist/PlanCard/PlanCardBanner.js +28 -0
- package/dist/PlanCard/PlanFeature.d.ts +9 -0
- package/dist/PlanCard/PlanFeature.js +83 -0
- package/dist/PlanCard/PopularBadge.d.ts +3 -0
- package/dist/PlanCard/PopularBadge.js +13 -0
- package/dist/PlanCard/PricingAmount.d.ts +14 -0
- package/dist/PlanCard/PricingAmount.js +117 -0
- package/dist/PlanCard/RecommendedBadge.d.ts +3 -0
- package/dist/PlanCard/RecommendedBadge.js +24 -0
- package/dist/PlanCard/consts.d.ts +14 -0
- package/dist/PlanCard/consts.js +135 -0
- package/dist/PlanCard/index.d.ts +18 -0
- package/dist/PlanCard/index.js +370 -0
- package/dist/PlanCard/types.d.ts +39 -0
- package/dist/PlanCard/types.js +62 -0
- package/dist/PlanCardTeams/consts.d.ts +9 -0
- package/dist/PlanCardTeams/consts.js +8 -0
- package/dist/PlanCardTeams/index.d.ts +8 -0
- package/dist/PlanCardTeams/index.js +167 -0
- package/dist/PricingSection/PlanFeature.d.ts +10 -0
- package/dist/PricingSection/PlanFeature.js +88 -0
- package/dist/PricingSection/PricingCard/PricingAmount.d.ts +10 -0
- package/dist/PricingSection/PricingCard/PricingAmount.js +84 -0
- package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +3 -0
- package/dist/PricingSection/PricingCard/RecommendedBadge.js +24 -0
- package/dist/PricingSection/PricingCard/consts.d.ts +14 -0
- package/dist/PricingSection/PricingCard/consts.js +85 -0
- package/dist/PricingSection/PricingCard/index.d.ts +12 -0
- package/dist/PricingSection/PricingCard/index.js +241 -0
- package/dist/PricingSection/ProductCTA.d.ts +6 -0
- package/dist/PricingSection/ProductCTA.js +44 -0
- package/dist/PricingSection/Products.d.ts +11 -0
- package/dist/PricingSection/Products.js +74 -0
- package/dist/PricingSection/config.d.ts +8 -0
- package/dist/PricingSection/config.js +36 -0
- package/dist/PricingSection/index.d.ts +13 -0
- package/dist/PricingSection/index.js +58 -0
- package/dist/PricingSection/types.d.ts +30 -0
- package/dist/PricingSection/types.js +8 -0
- package/dist/ProLogoAlt/index.d.ts +9 -0
- package/dist/ProLogoAlt/index.js +26 -0
- package/dist/ProductFeatureShowcase/index.d.ts +16 -0
- package/dist/ProductFeatureShowcase/index.js +120 -0
- package/dist/QuizScore/index.d.ts +12 -0
- package/dist/QuizScore/index.js +84 -0
- package/dist/RatingsBar/index.d.ts +12 -0
- package/dist/RatingsBar/index.js +32 -0
- package/dist/ResourceCard/index.d.ts +15 -0
- package/dist/ResourceCard/index.js +59 -0
- package/dist/ScoreSummary/SubScores.d.ts +28 -0
- package/dist/ScoreSummary/SubScores.js +165 -0
- package/dist/ScoreSummary/helpers.d.ts +11 -0
- package/dist/ScoreSummary/helpers.js +20 -0
- package/dist/ScoreSummary/index.d.ts +21 -0
- package/dist/ScoreSummary/index.js +108 -0
- package/dist/ScoreSummary/types.d.ts +310 -0
- package/dist/ScoreSummary/types.js +1 -0
- package/dist/SkillPathCard/__tests__/__fixtures__/index.d.ts +2 -0
- package/dist/SkillPathCard/index.d.ts +17 -0
- package/dist/SkillPathCard/index.js +38 -0
- package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +13 -0
- package/dist/SocialMediaSharing/SocialShareIconLink.js +49 -0
- package/dist/SocialMediaSharing/index.d.ts +49 -0
- package/dist/SocialMediaSharing/index.js +116 -0
- package/dist/SocialMediaSharingDropdown/__tests__/SocialMediaSharingDropdown-test.d.ts +1 -0
- package/dist/SocialMediaSharingDropdown/index.d.ts +15 -0
- package/dist/SocialMediaSharingDropdown/index.js +111 -0
- package/dist/Testimonial/index.d.ts +45 -0
- package/dist/Testimonial/index.js +163 -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 +82 -0
- package/dist/lib/breakpointHooks/index.d.ts +43 -0
- package/dist/lib/breakpointHooks/index.js +60 -0
- package/dist/lib/catalogList/index.d.ts +5 -0
- package/dist/lib/catalogList/index.js +173 -0
- package/dist/lib/resourcesList/index.d.ts +5 -0
- package/dist/lib/resourcesList/index.js +232 -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/remoteAssets/components.js +1 -0
- package/dist/stories/Atoms/Avatar.stories.d.ts +6 -0
- package/dist/stories/Atoms/Avatar.stories.js +16 -0
- package/dist/stories/Atoms/BetaSticker.stories.d.ts +7 -0
- package/dist/stories/Atoms/BetaSticker.stories.js +22 -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 +9 -0
- package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +11 -0
- package/dist/stories/Atoms/Logos/ProLabel.stories.d.ts +8 -0
- package/dist/stories/Atoms/Logos/ProLabel.stories.js +29 -0
- package/dist/stories/Atoms/RatingsBar.stories.d.ts +6 -0
- package/dist/stories/Atoms/RatingsBar.stories.js +16 -0
- package/dist/stories/Atoms/Subgrid.stories.d.ts +6 -0
- package/dist/stories/Atoms/Subgrid.stories.js +87 -0
- package/dist/stories/Molecules/AppBar.stories.d.ts +15 -0
- package/dist/stories/Molecules/AppBar.stories.js +32 -0
- package/dist/stories/Molecules/AppHeader/AppHeader.stories.d.ts +6 -0
- package/dist/stories/Molecules/AppHeader/AppHeader.stories.js +84 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.d.ts +8 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.js +67 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.d.ts +8 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.js +52 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.d.ts +8 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.js +44 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.d.ts +6 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.js +34 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.d.ts +6 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.js +40 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.d.ts +7 -0
- package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.js +25 -0
- package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.d.ts +7 -0
- package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.js +176 -0
- package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.d.ts +6 -0
- package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.js +84 -0
- package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.d.ts +5 -0
- package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.js +90 -0
- package/dist/stories/Molecules/AvatarChooser.stories.d.ts +7 -0
- package/dist/stories/Molecules/AvatarChooser.stories.js +22 -0
- package/dist/stories/Molecules/BackToTopAnchor.stories.d.ts +10 -0
- package/dist/stories/Molecules/BackToTopAnchor.stories.js +51 -0
- package/dist/stories/Molecules/Banner.stories.d.ts +16 -0
- package/dist/stories/Molecules/Banner.stories.js +115 -0
- package/dist/stories/Molecules/Carousel.stories.d.ts +7 -0
- package/dist/stories/Molecules/Carousel.stories.js +47 -0
- package/dist/stories/Molecules/ContentGroupBaseCard.stories.d.ts +13 -0
- package/dist/stories/Molecules/ContentGroupBaseCard.stories.js +173 -0
- package/dist/stories/Molecules/CurriculumCard.stories.d.ts +16 -0
- package/dist/stories/Molecules/CurriculumCard.stories.js +208 -0
- package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.d.ts +10 -0
- package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.js +92 -0
- package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.d.ts +9 -0
- package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.js +65 -0
- package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.d.ts +10 -0
- package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.js +83 -0
- package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.d.ts +6 -0
- package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.js +20 -0
- package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.d.ts +9 -0
- package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.js +90 -0
- package/dist/stories/Molecules/DropdownButton.stories.d.ts +11 -0
- package/dist/stories/Molecules/DropdownButton.stories.js +207 -0
- package/dist/stories/Molecules/EditorialImage.stories.d.ts +6 -0
- package/dist/stories/Molecules/EditorialImage.stories.js +17 -0
- package/dist/stories/Molecules/EmptySection.stories.d.ts +13 -0
- package/dist/stories/Molecules/EmptySection.stories.js +168 -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/ErrorContents.stories.js +19 -0
- package/dist/stories/Molecules/GridCollapse.stories.d.ts +6 -0
- package/dist/stories/Molecules/GridCollapse.stories.js +42 -0
- package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +1 -0
- package/dist/stories/Molecules/HorizontalScrollMenu.examples.js +67 -0
- package/dist/stories/Molecules/HorizontalScrollMenu.stories.d.ts +6 -0
- package/dist/stories/Molecules/HorizontalScrollMenu.stories.js +11 -0
- package/dist/stories/Molecules/HubCard.stories.d.ts +7 -0
- package/dist/stories/Molecules/HubCard.stories.js +28 -0
- package/dist/stories/Molecules/InfoCard.stories.d.ts +7 -0
- package/dist/stories/Molecules/InfoCard.stories.js +30 -0
- package/dist/stories/Molecules/LearningOutcomeCard.stories.d.ts +10 -0
- package/dist/stories/Molecules/LearningOutcomeCard.stories.js +75 -0
- package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.d.ts +6 -0
- package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.js +20 -0
- package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.d.ts +6 -0
- package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.js +10 -0
- package/dist/stories/Molecules/LearningOutcomePopover.stories.d.ts +5 -0
- package/dist/stories/Molecules/LearningOutcomePopover.stories.js +39 -0
- package/dist/stories/Molecules/LearningOutcomeTile.stories.d.ts +10 -0
- package/dist/stories/Molecules/LearningOutcomeTile.stories.js +276 -0
- package/dist/stories/Molecules/ListSection.stories.d.ts +9 -0
- package/dist/stories/Molecules/ListSection.stories.js +97 -0
- package/dist/stories/Molecules/Loading.stories.d.ts +6 -0
- package/dist/stories/Molecules/Loading.stories.js +10 -0
- package/dist/stories/Molecules/NotificationList.stories.d.ts +7 -0
- package/dist/stories/Molecules/NotificationList.stories.js +100 -0
- package/dist/stories/Molecules/PageSection.stories.d.ts +8 -0
- package/dist/stories/Molecules/PageSection.stories.js +67 -0
- package/dist/stories/Molecules/PastDueModalContents.stories.d.ts +10 -0
- package/dist/stories/Molecules/PastDueModalContents.stories.js +62 -0
- package/dist/stories/Molecules/PausableImage.stories.d.ts +6 -0
- package/dist/stories/Molecules/PausableImage.stories.js +16 -0
- package/dist/stories/Molecules/ResourceCard.stories.d.ts +6 -0
- package/dist/stories/Molecules/ResourceCard.stories.js +18 -0
- package/dist/stories/Molecules/SocialMediaSharing.stories.d.ts +6 -0
- package/dist/stories/Molecules/SocialMediaSharing.stories.js +20 -0
- package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.d.ts +6 -0
- package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.js +20 -0
- package/dist/stories/Molecules/Testimonial.stories.d.ts +10 -0
- package/dist/stories/Molecules/Testimonial.stories.js +63 -0
- package/dist/stories/Organisms/GlobalFooter.stories.d.ts +8 -0
- package/dist/stories/Organisms/GlobalFooter.stories.js +29 -0
- package/dist/stories/Organisms/GlobalHeader/About.stories.d.ts +10 -0
- package/dist/stories/Organisms/GlobalHeader/About.stories.js +136 -0
- package/dist/stories/Organisms/GlobalHeader/Anon.stories.d.ts +9 -0
- package/dist/stories/Organisms/GlobalHeader/Anon.stories.js +73 -0
- package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.d.ts +6 -0
- package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.js +32 -0
- package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.d.ts +8 -0
- package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.js +108 -0
- package/dist/stories/Organisms/GlobalHeader/Free.stories.d.ts +8 -0
- package/dist/stories/Organisms/GlobalHeader/Free.stories.js +133 -0
- package/dist/stories/Organisms/GlobalHeader/Pro.stories.d.ts +10 -0
- package/dist/stories/Organisms/GlobalHeader/Pro.stories.js +199 -0
- package/dist/stories/Organisms/GlobalHeader/Simple.stories.d.ts +6 -0
- package/dist/stories/Organisms/GlobalHeader/Simple.stories.js +31 -0
- package/dist/stories/Organisms/GlobalPage.stories.d.ts +9 -0
- package/dist/stories/Organisms/GlobalPage.stories.js +142 -0
- package/dist/stories/Organisms/LayoutMenu.stories.d.ts +10 -0
- package/dist/stories/Organisms/LayoutMenu.stories.js +242 -0
- package/dist/stories/Organisms/LayoutMenuVariant.stories.d.ts +9 -0
- package/dist/stories/Organisms/LayoutMenuVariant.stories.js +224 -0
- package/dist/stories/Organisms/PageAlerts.example.d.ts +2 -0
- package/dist/stories/Organisms/PageAlerts.example.js +42 -0
- package/dist/stories/Organisms/PageAlerts.stories.d.ts +7 -0
- package/dist/stories/Organisms/PageAlerts.stories.js +15 -0
- package/dist/stories/Organisms/PageFeatures.stories.d.ts +14 -0
- package/dist/stories/Organisms/PageFeatures.stories.js +183 -0
- package/dist/stories/Organisms/PageHero.stories.d.ts +17 -0
- package/dist/stories/Organisms/PageHero.stories.js +145 -0
- package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.d.ts +7 -0
- package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.js +34 -0
- package/dist/stories/Organisms/PagePrefooter.stories.d.ts +10 -0
- package/dist/stories/Organisms/PagePrefooter.stories.js +62 -0
- package/dist/stories/Organisms/PageSingleFeature.stories.d.ts +18 -0
- package/dist/stories/Organisms/PageSingleFeature.stories.js +158 -0
- package/dist/stories/Organisms/PageVideoGallery.stories.d.ts +10 -0
- package/dist/stories/Organisms/PageVideoGallery.stories.js +70 -0
- package/dist/stories/Organisms/PlanCard.stories.d.ts +9 -0
- package/dist/stories/Organisms/PlanCard.stories.js +98 -0
- package/dist/stories/Organisms/PlanCardTeams.stories.d.ts +7 -0
- package/dist/stories/Organisms/PlanCardTeams.stories.js +27 -0
- package/dist/stories/Organisms/ScoreSummary.stories.d.ts +12 -0
- package/dist/stories/Organisms/ScoreSummary.stories.js +299 -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
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Column, LayoutGrid } from '@codecademy/gamut';
|
|
2
|
+
import { CourseCard, CourseDifficulty, EnrollmentStatus } from '../../../index';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
const meta = {
|
|
5
|
+
component: CourseCard,
|
|
6
|
+
args: {
|
|
7
|
+
title: 'Learn JavaScript',
|
|
8
|
+
grantsCertificate: false,
|
|
9
|
+
pro: false,
|
|
10
|
+
shortDescription: 'Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.',
|
|
11
|
+
difficulty: CourseDifficulty.Beginner,
|
|
12
|
+
timeToComplete: 3
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
export const Default = {
|
|
17
|
+
render: args => /*#__PURE__*/_jsx(CourseCard, {
|
|
18
|
+
...args
|
|
19
|
+
}),
|
|
20
|
+
name: 'CourseCard'
|
|
21
|
+
};
|
|
22
|
+
export const ProCourseCard = {
|
|
23
|
+
render: args => /*#__PURE__*/_jsx(CourseCard, {
|
|
24
|
+
...args,
|
|
25
|
+
pro: true,
|
|
26
|
+
grantsCertificate: true
|
|
27
|
+
}),
|
|
28
|
+
name: 'Pro CourseCard',
|
|
29
|
+
args: {
|
|
30
|
+
title: 'Building Interactive JavaScript Websites',
|
|
31
|
+
grantsCertificate: false,
|
|
32
|
+
pro: false,
|
|
33
|
+
shortDescription: 'Learn the Document Object Model, the interface between JavaScript and HTML elements, and combine HTML, CSS, and JavaScript into exciting interactive sites!',
|
|
34
|
+
difficulty: CourseDifficulty.Intermediate
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
export const CourseCardWithImage = {
|
|
38
|
+
render: args => /*#__PURE__*/_jsx(CourseCard, {
|
|
39
|
+
...args,
|
|
40
|
+
isFullSize: true
|
|
41
|
+
}),
|
|
42
|
+
name: 'CourseCard with Image'
|
|
43
|
+
};
|
|
44
|
+
export const CourseCardWithTimeToComplete = {
|
|
45
|
+
render: args => /*#__PURE__*/_jsx(CourseCard, {
|
|
46
|
+
...args,
|
|
47
|
+
timeToComplete: 5
|
|
48
|
+
}),
|
|
49
|
+
name: 'CourseCard with Time to complete'
|
|
50
|
+
};
|
|
51
|
+
export const CourseCardWithEnrollmentStatus = {
|
|
52
|
+
render: args => /*#__PURE__*/_jsxs(LayoutGrid, {
|
|
53
|
+
gap: 24,
|
|
54
|
+
children: [/*#__PURE__*/_jsx(Column, {
|
|
55
|
+
size: 6,
|
|
56
|
+
children: /*#__PURE__*/_jsx(CourseCard, {
|
|
57
|
+
...args,
|
|
58
|
+
enrollmentStatus: EnrollmentStatus.InProgress
|
|
59
|
+
})
|
|
60
|
+
}), /*#__PURE__*/_jsx(Column, {
|
|
61
|
+
size: 6,
|
|
62
|
+
children: /*#__PURE__*/_jsx(CourseCard, {
|
|
63
|
+
...args,
|
|
64
|
+
enrollmentStatus: EnrollmentStatus.Completed
|
|
65
|
+
})
|
|
66
|
+
}), /*#__PURE__*/_jsx(Column, {
|
|
67
|
+
size: 6,
|
|
68
|
+
children: /*#__PURE__*/_jsx(CourseCard, {
|
|
69
|
+
...args,
|
|
70
|
+
enrollmentStatus: EnrollmentStatus.InProgress,
|
|
71
|
+
isFullSize: true
|
|
72
|
+
})
|
|
73
|
+
}), /*#__PURE__*/_jsx(Column, {
|
|
74
|
+
size: 6,
|
|
75
|
+
children: /*#__PURE__*/_jsx(CourseCard, {
|
|
76
|
+
...args,
|
|
77
|
+
enrollmentStatus: EnrollmentStatus.InProgress,
|
|
78
|
+
isFullSize: true
|
|
79
|
+
})
|
|
80
|
+
})]
|
|
81
|
+
}),
|
|
82
|
+
name: 'CourseCard with Enrollment Status'
|
|
83
|
+
};
|
|
@@ -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,20 @@
|
|
|
1
|
+
import { LoadingCurriculumCard } from '../../../LoadingCurriculumCard';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
const meta = {
|
|
4
|
+
component: LoadingCurriculumCard,
|
|
5
|
+
argTypes: {
|
|
6
|
+
variant: {
|
|
7
|
+
options: ['beige', 'navy', 'white', 'hyper', 'yellow', undefined],
|
|
8
|
+
control: {
|
|
9
|
+
type: 'select'
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
export default meta;
|
|
15
|
+
export const Default = {
|
|
16
|
+
render: args => /*#__PURE__*/_jsx(LoadingCurriculumCard, {
|
|
17
|
+
...args
|
|
18
|
+
}),
|
|
19
|
+
name: 'LoadingCurriculumCard'
|
|
20
|
+
};
|
|
@@ -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,90 @@
|
|
|
1
|
+
import { Box, Column, LayoutGrid } from '@codecademy/gamut';
|
|
2
|
+
import { CourseDifficulty, EnrollmentStatus, SkillPathCard } from '../../../index';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
const meta = {
|
|
5
|
+
component: SkillPathCard,
|
|
6
|
+
args: {
|
|
7
|
+
title: 'Securing Express Applications',
|
|
8
|
+
courseCount: 5,
|
|
9
|
+
shortDescription: 'Web applications are constantly under threat. Authentication and authorization, protected data, and secure code will protect your web app.',
|
|
10
|
+
difficulty: CourseDifficulty.Intermediate,
|
|
11
|
+
imageUrl: 'https://static-assets.codecademy.com/components/curriculum/path/securing-express-applications/curriculum-card.svg',
|
|
12
|
+
timeToComplete: 10
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
export default meta;
|
|
16
|
+
export const Default = {
|
|
17
|
+
render: args => /*#__PURE__*/_jsx(Box, {
|
|
18
|
+
pb: 8,
|
|
19
|
+
children: /*#__PURE__*/_jsx(SkillPathCard, {
|
|
20
|
+
...args
|
|
21
|
+
})
|
|
22
|
+
}),
|
|
23
|
+
name: 'SkillPathCard'
|
|
24
|
+
};
|
|
25
|
+
export const SkillPathCardWithImage = {
|
|
26
|
+
render: args => /*#__PURE__*/_jsx(Box, {
|
|
27
|
+
pb: 8,
|
|
28
|
+
children: /*#__PURE__*/_jsx(SkillPathCard, {
|
|
29
|
+
...args,
|
|
30
|
+
isFullSize: true
|
|
31
|
+
})
|
|
32
|
+
}),
|
|
33
|
+
name: 'SkillPathCard with Image'
|
|
34
|
+
};
|
|
35
|
+
export const SkillPathCardWithTimeToComplete = {
|
|
36
|
+
render: args => /*#__PURE__*/_jsxs(LayoutGrid, {
|
|
37
|
+
gap: 24,
|
|
38
|
+
pb: 8,
|
|
39
|
+
children: [/*#__PURE__*/_jsx(Column, {
|
|
40
|
+
size: 10,
|
|
41
|
+
children: /*#__PURE__*/_jsx(SkillPathCard, {
|
|
42
|
+
...args,
|
|
43
|
+
timeToComplete: 0
|
|
44
|
+
})
|
|
45
|
+
}), /*#__PURE__*/_jsx(Column, {
|
|
46
|
+
size: 10,
|
|
47
|
+
children: /*#__PURE__*/_jsx(SkillPathCard, {
|
|
48
|
+
...args,
|
|
49
|
+
timeToComplete: 5
|
|
50
|
+
})
|
|
51
|
+
})]
|
|
52
|
+
}),
|
|
53
|
+
name: 'SkillPathCard with Time to Complete'
|
|
54
|
+
};
|
|
55
|
+
export const SkillPathCardWithEnrollmentStatus = {
|
|
56
|
+
render: args => /*#__PURE__*/_jsxs(LayoutGrid, {
|
|
57
|
+
gap: 24,
|
|
58
|
+
pb: 8,
|
|
59
|
+
children: [/*#__PURE__*/_jsx(Column, {
|
|
60
|
+
size: 6,
|
|
61
|
+
children: /*#__PURE__*/_jsx(SkillPathCard, {
|
|
62
|
+
...args,
|
|
63
|
+
enrollmentStatus: EnrollmentStatus.InProgress
|
|
64
|
+
})
|
|
65
|
+
}), /*#__PURE__*/_jsx(Column, {
|
|
66
|
+
size: 6,
|
|
67
|
+
children: /*#__PURE__*/_jsx(SkillPathCard, {
|
|
68
|
+
...args,
|
|
69
|
+
enrollmentStatus: EnrollmentStatus.Completed
|
|
70
|
+
})
|
|
71
|
+
}), /*#__PURE__*/_jsx(Column, {
|
|
72
|
+
size: 6,
|
|
73
|
+
children: /*#__PURE__*/_jsx(SkillPathCard, {
|
|
74
|
+
...args,
|
|
75
|
+
enrollmentStatus: EnrollmentStatus.InProgress,
|
|
76
|
+
isFullSize: true,
|
|
77
|
+
imageUrl: "https://static-assets.codecademy.com/components/curriculum/path/securing-express-applications/curriculum-card-inProgress.svg"
|
|
78
|
+
})
|
|
79
|
+
}), /*#__PURE__*/_jsx(Column, {
|
|
80
|
+
size: 6,
|
|
81
|
+
children: /*#__PURE__*/_jsx(SkillPathCard, {
|
|
82
|
+
...args,
|
|
83
|
+
enrollmentStatus: EnrollmentStatus.Completed,
|
|
84
|
+
isFullSize: true,
|
|
85
|
+
imageUrl: "https://static-assets.codecademy.com/components/curriculum/path/securing-express-applications/curriculum-card-completed.svg"
|
|
86
|
+
})
|
|
87
|
+
})]
|
|
88
|
+
}),
|
|
89
|
+
name: 'SkillPathCard with Enrollment Status'
|
|
90
|
+
};
|
|
@@ -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,207 @@
|
|
|
1
|
+
import { Box, FlexBox } from '@codecademy/gamut';
|
|
2
|
+
import { SparkleIcon } from '@codecademy/gamut-icons';
|
|
3
|
+
import { DropdownButton } from '../../index';
|
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
+
const items = [{
|
|
6
|
+
id: 'one',
|
|
7
|
+
text: 'I have an href',
|
|
8
|
+
href: '#'
|
|
9
|
+
}, {
|
|
10
|
+
id: 'two',
|
|
11
|
+
text: 'I have an onClick',
|
|
12
|
+
// eslint-disable-next-line no-console
|
|
13
|
+
clickHandler: () => console.log('hi')
|
|
14
|
+
}];
|
|
15
|
+
const extraItems = [{
|
|
16
|
+
id: 'three',
|
|
17
|
+
text: 'I have an href & onClick',
|
|
18
|
+
href: '#',
|
|
19
|
+
// eslint-disable-next-line no-console
|
|
20
|
+
clickHandler: () => console.log('hi')
|
|
21
|
+
}, 'separator', {
|
|
22
|
+
id: 'four',
|
|
23
|
+
text: 'I have an href & onClick & icon',
|
|
24
|
+
href: '#',
|
|
25
|
+
// eslint-disable-next-line no-console
|
|
26
|
+
clickHandler: () => console.log('hi'),
|
|
27
|
+
icon: SparkleIcon
|
|
28
|
+
}];
|
|
29
|
+
const meta = {
|
|
30
|
+
component: DropdownButton,
|
|
31
|
+
args: {
|
|
32
|
+
buttonType: 'fill',
|
|
33
|
+
dropdownItems: items,
|
|
34
|
+
variant: 'primary'
|
|
35
|
+
},
|
|
36
|
+
parameters: {
|
|
37
|
+
controls: {
|
|
38
|
+
include: ['align', 'buttonType', 'children', 'dropDownItems', 'horizontalOffset', 'iconSize', 'isMenu', 'onClick', 'size', 'tipProps', 'variant', 'verticalOffset']
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
export default meta;
|
|
43
|
+
export const Default = {
|
|
44
|
+
args: {
|
|
45
|
+
dropdownItems: [...items, ...extraItems],
|
|
46
|
+
isMenu: false
|
|
47
|
+
},
|
|
48
|
+
render: args => /*#__PURE__*/_jsx(DropdownButton, {
|
|
49
|
+
...args,
|
|
50
|
+
children: "click me"
|
|
51
|
+
}),
|
|
52
|
+
name: 'DropdownButton'
|
|
53
|
+
};
|
|
54
|
+
export const DropdownButtonTypes = {
|
|
55
|
+
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
56
|
+
justifyContent: "space-between",
|
|
57
|
+
p: 40,
|
|
58
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
|
59
|
+
width: "fit-content",
|
|
60
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
61
|
+
...args,
|
|
62
|
+
buttonType: "fill",
|
|
63
|
+
children: "Fill"
|
|
64
|
+
})
|
|
65
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
66
|
+
width: "fit-content",
|
|
67
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
68
|
+
...args,
|
|
69
|
+
buttonType: "stroke",
|
|
70
|
+
children: "Stroke"
|
|
71
|
+
})
|
|
72
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
73
|
+
width: "fit-content",
|
|
74
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
75
|
+
...args,
|
|
76
|
+
buttonType: "text",
|
|
77
|
+
children: "Text"
|
|
78
|
+
})
|
|
79
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
80
|
+
width: "fit-content",
|
|
81
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
82
|
+
...args,
|
|
83
|
+
buttonType: "kebab"
|
|
84
|
+
})
|
|
85
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
86
|
+
width: "fit-content",
|
|
87
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
88
|
+
...args,
|
|
89
|
+
buttonType: "horizontalKebab"
|
|
90
|
+
})
|
|
91
|
+
})]
|
|
92
|
+
})
|
|
93
|
+
};
|
|
94
|
+
export const DropdownButtonVariants = {
|
|
95
|
+
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
96
|
+
justifyContent: "space-around",
|
|
97
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
|
98
|
+
width: "fit-content",
|
|
99
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
100
|
+
...args,
|
|
101
|
+
buttonType: "stroke",
|
|
102
|
+
children: "Stroke primary"
|
|
103
|
+
})
|
|
104
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
105
|
+
width: "fit-content",
|
|
106
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
107
|
+
...args,
|
|
108
|
+
buttonType: "stroke",
|
|
109
|
+
variant: "secondary",
|
|
110
|
+
children: "Stroke secondary"
|
|
111
|
+
})
|
|
112
|
+
})]
|
|
113
|
+
})
|
|
114
|
+
};
|
|
115
|
+
export const DropdownTextButtonSizes = {
|
|
116
|
+
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
117
|
+
justifyContent: "space-around",
|
|
118
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
|
119
|
+
alignSelf: "center",
|
|
120
|
+
width: "fit-content",
|
|
121
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
122
|
+
...args,
|
|
123
|
+
buttonType: "fill",
|
|
124
|
+
size: "small",
|
|
125
|
+
children: "Fill small"
|
|
126
|
+
})
|
|
127
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
128
|
+
alignSelf: "center",
|
|
129
|
+
width: "fit-content",
|
|
130
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
131
|
+
...args,
|
|
132
|
+
buttonType: "fill",
|
|
133
|
+
size: "normal",
|
|
134
|
+
children: "Fill normal"
|
|
135
|
+
})
|
|
136
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
137
|
+
alignSelf: "center",
|
|
138
|
+
width: "fit-content",
|
|
139
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
140
|
+
...args,
|
|
141
|
+
buttonType: "fill",
|
|
142
|
+
size: "large",
|
|
143
|
+
children: "Fill large"
|
|
144
|
+
})
|
|
145
|
+
})]
|
|
146
|
+
})
|
|
147
|
+
};
|
|
148
|
+
export const DropdownIconButtonSizes = {
|
|
149
|
+
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
150
|
+
row: true,
|
|
151
|
+
justifyContent: "space-around",
|
|
152
|
+
mt: 16,
|
|
153
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
|
154
|
+
alignSelf: "center",
|
|
155
|
+
width: "fit-content",
|
|
156
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
157
|
+
...args,
|
|
158
|
+
buttonType: "kebab",
|
|
159
|
+
size: "small",
|
|
160
|
+
iconSize: 12
|
|
161
|
+
})
|
|
162
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
163
|
+
alignSelf: "center",
|
|
164
|
+
width: "fit-content",
|
|
165
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
166
|
+
...args,
|
|
167
|
+
buttonType: "kebab",
|
|
168
|
+
size: "normal"
|
|
169
|
+
})
|
|
170
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
171
|
+
alignSelf: "center",
|
|
172
|
+
width: "fit-content",
|
|
173
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
174
|
+
...args,
|
|
175
|
+
buttonType: "kebab",
|
|
176
|
+
size: "large",
|
|
177
|
+
iconSize: 20
|
|
178
|
+
})
|
|
179
|
+
})]
|
|
180
|
+
})
|
|
181
|
+
};
|
|
182
|
+
export const DropdownPopoverAlignment = {
|
|
183
|
+
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
184
|
+
row: true,
|
|
185
|
+
justifyContent: "space-around",
|
|
186
|
+
mt: 16,
|
|
187
|
+
children: [/*#__PURE__*/_jsx(Box, {
|
|
188
|
+
width: "fit-content",
|
|
189
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
190
|
+
...args,
|
|
191
|
+
buttonType: "text",
|
|
192
|
+
size: "small",
|
|
193
|
+
align: "left",
|
|
194
|
+
children: "Align left"
|
|
195
|
+
})
|
|
196
|
+
}), /*#__PURE__*/_jsx(Box, {
|
|
197
|
+
width: "fit-content",
|
|
198
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
199
|
+
...args,
|
|
200
|
+
buttonType: "text",
|
|
201
|
+
size: "small",
|
|
202
|
+
align: "right",
|
|
203
|
+
children: "Align right"
|
|
204
|
+
})
|
|
205
|
+
})]
|
|
206
|
+
})
|
|
207
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EditorialImage } from '../../index';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
const meta = {
|
|
4
|
+
component: EditorialImage,
|
|
5
|
+
args: {
|
|
6
|
+
image: 'https://images.ctfassets.net/go6kr6r0ykrq/4NI4czS6Y3DeaBBlVAoPTL/5a95deb01518e0cbb27bac8c6e00eaf6/broadway_2_70.jpg',
|
|
7
|
+
alt: 'A picture of two Codecademy employees.',
|
|
8
|
+
caption: 'You can remove this caption.'
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export default meta;
|
|
12
|
+
export const Default = {
|
|
13
|
+
render: args => /*#__PURE__*/_jsx(EditorialImage, {
|
|
14
|
+
...args
|
|
15
|
+
}),
|
|
16
|
+
name: 'EditorialImage'
|
|
17
|
+
};
|
|
@@ -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,168 @@
|
|
|
1
|
+
import { Column, FillButton, LayoutGrid, Text } from '@codecademy/gamut';
|
|
2
|
+
import { NumberBlocks } from '@codecademy/gamut-illustrations';
|
|
3
|
+
import { DropdownButton, EmptySection } from '../../index';
|
|
4
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
|
+
const meta = {
|
|
6
|
+
component: EmptySection,
|
|
7
|
+
args: {
|
|
8
|
+
bodyText: 'Body text',
|
|
9
|
+
headingText: 'Heading text',
|
|
10
|
+
illustration: NumberBlocks
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
export default meta;
|
|
14
|
+
export const IllustrationOnTheRight = {
|
|
15
|
+
render: args => /*#__PURE__*/_jsx(EmptySection, {
|
|
16
|
+
...args,
|
|
17
|
+
children: /*#__PURE__*/_jsx(FillButton, {
|
|
18
|
+
children: "Do Something"
|
|
19
|
+
})
|
|
20
|
+
}),
|
|
21
|
+
name: 'Illustration on the right'
|
|
22
|
+
};
|
|
23
|
+
export const IllustrationOnTheLeft = {
|
|
24
|
+
render: args => /*#__PURE__*/_jsx(EmptySection, {
|
|
25
|
+
...args,
|
|
26
|
+
children: /*#__PURE__*/_jsx(FillButton, {
|
|
27
|
+
children: "Do Something"
|
|
28
|
+
})
|
|
29
|
+
}),
|
|
30
|
+
name: 'Illustration on the left',
|
|
31
|
+
args: {
|
|
32
|
+
illustrationPosition: 'left'
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
export const DotsStretchToTheLeft = {
|
|
36
|
+
render: args => /*#__PURE__*/_jsx(EmptySection, {
|
|
37
|
+
...args,
|
|
38
|
+
children: /*#__PURE__*/_jsx(FillButton, {
|
|
39
|
+
children: "Do Something"
|
|
40
|
+
})
|
|
41
|
+
}),
|
|
42
|
+
name: 'Dots stretch to the left'
|
|
43
|
+
};
|
|
44
|
+
export const DotsStretchToTheRight = {
|
|
45
|
+
render: args => /*#__PURE__*/_jsx(EmptySection, {
|
|
46
|
+
...args,
|
|
47
|
+
children: /*#__PURE__*/_jsx(FillButton, {
|
|
48
|
+
children: "Do Something"
|
|
49
|
+
})
|
|
50
|
+
}),
|
|
51
|
+
name: 'Dots stretch to the right',
|
|
52
|
+
args: {
|
|
53
|
+
stretchDirection: 'right'
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
export const UsingADropdownButton = {
|
|
57
|
+
render: args => /*#__PURE__*/_jsx(EmptySection, {
|
|
58
|
+
...args,
|
|
59
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
60
|
+
dropdownItems: [{
|
|
61
|
+
id: '1',
|
|
62
|
+
text: 'Option 1'
|
|
63
|
+
}, {
|
|
64
|
+
id: '2',
|
|
65
|
+
text: 'Option 2'
|
|
66
|
+
}, {
|
|
67
|
+
id: '3',
|
|
68
|
+
text: 'Option 3'
|
|
69
|
+
}],
|
|
70
|
+
children: "Click me!"
|
|
71
|
+
})
|
|
72
|
+
}),
|
|
73
|
+
name: 'Using a dropdown button',
|
|
74
|
+
args: {
|
|
75
|
+
stretchDirection: 'left'
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
export const AnotherSectionOnTheLeft = {
|
|
79
|
+
render: args => /*#__PURE__*/_jsxs(LayoutGrid, {
|
|
80
|
+
gap: 16,
|
|
81
|
+
children: [/*#__PURE__*/_jsx(Column, {
|
|
82
|
+
size: {
|
|
83
|
+
_: 12,
|
|
84
|
+
sm: 4,
|
|
85
|
+
md: 3
|
|
86
|
+
},
|
|
87
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
88
|
+
children: `<other section>`
|
|
89
|
+
})
|
|
90
|
+
}), /*#__PURE__*/_jsx(Column, {
|
|
91
|
+
size: {
|
|
92
|
+
_: 12,
|
|
93
|
+
sm: 8,
|
|
94
|
+
md: 9
|
|
95
|
+
},
|
|
96
|
+
children: /*#__PURE__*/_jsx(EmptySection, {
|
|
97
|
+
...args,
|
|
98
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
99
|
+
dropdownItems: [{
|
|
100
|
+
id: '1',
|
|
101
|
+
text: 'Option 1'
|
|
102
|
+
}, {
|
|
103
|
+
id: '2',
|
|
104
|
+
text: 'Option 2'
|
|
105
|
+
}, {
|
|
106
|
+
id: '3',
|
|
107
|
+
text: 'Option 3'
|
|
108
|
+
}],
|
|
109
|
+
children: "Click me!"
|
|
110
|
+
})
|
|
111
|
+
})
|
|
112
|
+
})]
|
|
113
|
+
}),
|
|
114
|
+
name: 'Another section on the left',
|
|
115
|
+
args: {
|
|
116
|
+
stretchDirection: 'right'
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
export const AnotherSectionOnTheRight = {
|
|
120
|
+
render: args => /*#__PURE__*/_jsxs(LayoutGrid, {
|
|
121
|
+
gap: 16,
|
|
122
|
+
children: [/*#__PURE__*/_jsxs(Column, {
|
|
123
|
+
size: {
|
|
124
|
+
_: 12,
|
|
125
|
+
sm: 8,
|
|
126
|
+
md: 9
|
|
127
|
+
},
|
|
128
|
+
children: [/*#__PURE__*/_jsx(EmptySection, {
|
|
129
|
+
...args,
|
|
130
|
+
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
131
|
+
dropdownItems: [{
|
|
132
|
+
id: '1',
|
|
133
|
+
text: 'Option 1'
|
|
134
|
+
}, {
|
|
135
|
+
id: '2',
|
|
136
|
+
text: 'Option 2'
|
|
137
|
+
}, {
|
|
138
|
+
id: '3',
|
|
139
|
+
text: 'Option 3'
|
|
140
|
+
}],
|
|
141
|
+
children: "Click me!"
|
|
142
|
+
})
|
|
143
|
+
}), ' ']
|
|
144
|
+
}), /*#__PURE__*/_jsx(Column, {
|
|
145
|
+
size: {
|
|
146
|
+
_: 12,
|
|
147
|
+
sm: 4,
|
|
148
|
+
md: 3
|
|
149
|
+
},
|
|
150
|
+
children: /*#__PURE__*/_jsx(Text, {
|
|
151
|
+
children: `<other section>`
|
|
152
|
+
})
|
|
153
|
+
})]
|
|
154
|
+
}),
|
|
155
|
+
name: 'Another section on the right',
|
|
156
|
+
args: {
|
|
157
|
+
stretchDirection: 'left'
|
|
158
|
+
}
|
|
159
|
+
};
|
|
160
|
+
export const Playground = {
|
|
161
|
+
render: args => /*#__PURE__*/_jsx(EmptySection, {
|
|
162
|
+
...args,
|
|
163
|
+
children: /*#__PURE__*/_jsx(FillButton, {
|
|
164
|
+
children: "Do Something"
|
|
165
|
+
})
|
|
166
|
+
}),
|
|
167
|
+
name: 'Playground'
|
|
168
|
+
};
|
|
@@ -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;
|