@codecademy/brand 1.45.0 → 2.0.0-alpha.044ff6f33e.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 +3 -2
- 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/AppHeaderLinkSections/index.js +0 -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/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 +4 -2
- 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 +5 -2
- 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 +17 -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 +7 -5
- 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/index.d.ts +21 -0
- package/dist/Banner/index.js +6 -27
- 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/CatalogLinks.js +9 -6
- 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 +24 -0
- package/dist/GlobalFooter/index.js +25 -17
- package/dist/GlobalFooter/types.d.ts +13 -0
- package/dist/GlobalHeader/GlobalHeaderItems.d.ts +25 -0
- package/dist/GlobalHeader/GlobalHeaderItems.js +3 -6
- 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 +49 -46
- package/dist/GlobalHeader/types.d.ts +90 -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/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/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 +24 -0
- package/dist/LearningOutcomeCard/index.js +26 -61
- 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/Logo/CodecademyLogo.d.ts +2 -0
- package/dist/Logo/CodecademyPremiumLogo.d.ts +2 -0
- package/dist/Logo/CodecademyProAltLogo.d.ts +2 -0
- package/dist/Logo/CodecademyProLockupLogo.d.ts +2 -0
- package/dist/Logo/CodecademyProLogo.d.ts +2 -0
- package/dist/Logo/CodecademyProMonoLogo.d.ts +2 -0
- package/dist/Logo/CodecademyProgramLogo.d.ts +2 -0
- package/dist/Logo/CodecademyTeamsLogo.d.ts +2 -0
- package/dist/Logo/index.d.ts +8 -0
- package/dist/LogoFromSkillsoft/index.d.ts +227 -0
- package/dist/LogoLXStudio/index.d.ts +3 -0
- package/dist/LogoProCutout/index.d.ts +8 -0
- package/dist/LogoProCutoutTransparent/index.d.ts +7 -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 +28 -75
- package/dist/PlanCard/types.d.ts +39 -0
- package/dist/PlanCardTeams/consts.d.ts +9 -0
- package/dist/PlanCardTeams/consts.js +1 -1
- 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/ProLabel/index.d.ts +376 -0
- package/dist/ProLogo/index.d.ts +15 -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 +88 -0
- package/dist/index.js +0 -1
- package/dist/lib/breakpointHooks/index.d.ts +43 -0
- package/dist/lib/catalogList/index.d.ts +5 -0
- package/dist/lib/resourcesList/index.d.ts +5 -0
- package/dist/lib/resourcesList/index.js +11 -2
- 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/Logo.stories.d.ts +13 -0
- package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/ProLabel.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/ProLogoAlt.stories.d.ts +6 -0
- 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/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/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 +9 -0
- package/dist/stories/Molecules/LearningOutcomeCard.stories.js +0 -16
- 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/Banner/CountdownTimer.js +0 -110
- package/dist/Banner/EnhancedBanner.js +0 -178
- package/dist/stories/Molecules/EnhancedBanner.stories.js +0 -114
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
export type LogoType = 'default' | 'pro' | 'proAlt' | 'proLockup' | 'program' | 'proMono' | 'premium' | 'teams';
|
|
3
|
+
export type LogoProps = SVGProps<SVGSVGElement> & {
|
|
4
|
+
height?: number;
|
|
5
|
+
width?: number;
|
|
6
|
+
type?: LogoType;
|
|
7
|
+
};
|
|
8
|
+
export declare function Logo({ type, height, ...props }: LogoProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { StyleProps } from '@codecademy/variance';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare const composedLogoStyles: import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").Compose<[import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
4
|
+
readonly flexBasis: {
|
|
5
|
+
readonly property: "flexBasis";
|
|
6
|
+
};
|
|
7
|
+
readonly flexShrink: {
|
|
8
|
+
readonly property: "flexShrink";
|
|
9
|
+
};
|
|
10
|
+
readonly flexGrow: {
|
|
11
|
+
readonly property: "flexGrow";
|
|
12
|
+
};
|
|
13
|
+
readonly order: {
|
|
14
|
+
readonly property: "order";
|
|
15
|
+
};
|
|
16
|
+
readonly gridColumn: {
|
|
17
|
+
readonly property: "gridColumn";
|
|
18
|
+
};
|
|
19
|
+
readonly gridRow: {
|
|
20
|
+
readonly property: "gridRow";
|
|
21
|
+
};
|
|
22
|
+
readonly gridColumnStart: {
|
|
23
|
+
readonly property: "gridColumnStart";
|
|
24
|
+
};
|
|
25
|
+
readonly gridRowStart: {
|
|
26
|
+
readonly property: "gridRowStart";
|
|
27
|
+
};
|
|
28
|
+
readonly gridColumnEnd: {
|
|
29
|
+
readonly property: "gridColumnEnd";
|
|
30
|
+
};
|
|
31
|
+
readonly gridRowEnd: {
|
|
32
|
+
readonly property: "gridRowEnd";
|
|
33
|
+
};
|
|
34
|
+
readonly justifySelf: {
|
|
35
|
+
readonly property: "justifySelf";
|
|
36
|
+
};
|
|
37
|
+
readonly alignSelf: {
|
|
38
|
+
readonly property: "alignSelf";
|
|
39
|
+
};
|
|
40
|
+
readonly gridArea: {
|
|
41
|
+
readonly property: "gridArea";
|
|
42
|
+
};
|
|
43
|
+
readonly display: {
|
|
44
|
+
readonly property: "display";
|
|
45
|
+
};
|
|
46
|
+
readonly overflow: {
|
|
47
|
+
readonly property: "overflow";
|
|
48
|
+
};
|
|
49
|
+
readonly overflowX: {
|
|
50
|
+
readonly property: "overflowX";
|
|
51
|
+
};
|
|
52
|
+
readonly overflowY: {
|
|
53
|
+
readonly property: "overflowY";
|
|
54
|
+
};
|
|
55
|
+
readonly dimensions: {
|
|
56
|
+
readonly property: "width";
|
|
57
|
+
readonly properties: readonly ["width", "height"];
|
|
58
|
+
readonly transform: (value: string | number) => string | 0;
|
|
59
|
+
};
|
|
60
|
+
readonly width: {
|
|
61
|
+
readonly property: "width";
|
|
62
|
+
readonly transform: (value: string | number) => string | 0;
|
|
63
|
+
};
|
|
64
|
+
readonly minWidth: {
|
|
65
|
+
readonly property: "minWidth";
|
|
66
|
+
readonly transform: (value: string | number) => string | 0;
|
|
67
|
+
};
|
|
68
|
+
readonly maxWidth: {
|
|
69
|
+
readonly property: "maxWidth";
|
|
70
|
+
readonly transform: (value: string | number) => string | 0;
|
|
71
|
+
};
|
|
72
|
+
readonly height: {
|
|
73
|
+
readonly property: "height";
|
|
74
|
+
readonly transform: (value: string | number) => string | 0;
|
|
75
|
+
};
|
|
76
|
+
readonly minHeight: {
|
|
77
|
+
readonly property: "minHeight";
|
|
78
|
+
readonly transform: (value: string | number) => string | 0;
|
|
79
|
+
};
|
|
80
|
+
readonly maxHeight: {
|
|
81
|
+
readonly property: "maxHeight";
|
|
82
|
+
readonly transform: (value: string | number) => string | 0;
|
|
83
|
+
};
|
|
84
|
+
readonly verticalAlign: {
|
|
85
|
+
readonly property: "verticalAlign";
|
|
86
|
+
};
|
|
87
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
88
|
+
readonly color: {
|
|
89
|
+
readonly property: "color";
|
|
90
|
+
readonly scale: "colors";
|
|
91
|
+
};
|
|
92
|
+
readonly textColor: {
|
|
93
|
+
readonly property: "color";
|
|
94
|
+
readonly scale: "colors";
|
|
95
|
+
};
|
|
96
|
+
readonly bg: {
|
|
97
|
+
readonly property: "backgroundColor";
|
|
98
|
+
readonly scale: "colors";
|
|
99
|
+
};
|
|
100
|
+
readonly borderColor: {
|
|
101
|
+
readonly property: "borderColor";
|
|
102
|
+
readonly scale: "colors";
|
|
103
|
+
};
|
|
104
|
+
readonly borderColorX: {
|
|
105
|
+
readonly property: "borderColor";
|
|
106
|
+
readonly properties: readonly ["borderLeftColor", "borderRightColor"];
|
|
107
|
+
readonly scale: "colors";
|
|
108
|
+
};
|
|
109
|
+
readonly borderColorY: {
|
|
110
|
+
readonly property: "borderColor";
|
|
111
|
+
readonly properties: readonly ["borderTopColor", "borderBottomColor"];
|
|
112
|
+
readonly scale: "colors";
|
|
113
|
+
};
|
|
114
|
+
readonly borderColorLeft: {
|
|
115
|
+
readonly property: "borderLeftColor";
|
|
116
|
+
readonly scale: "colors";
|
|
117
|
+
};
|
|
118
|
+
readonly borderColorRight: {
|
|
119
|
+
readonly property: "borderRightColor";
|
|
120
|
+
readonly scale: "colors";
|
|
121
|
+
};
|
|
122
|
+
readonly borderColorTop: {
|
|
123
|
+
readonly property: "borderTopColor";
|
|
124
|
+
readonly scale: "colors";
|
|
125
|
+
};
|
|
126
|
+
readonly borderColorBottom: {
|
|
127
|
+
readonly property: "borderBottomColor";
|
|
128
|
+
readonly scale: "colors";
|
|
129
|
+
};
|
|
130
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
131
|
+
readonly p: {
|
|
132
|
+
readonly property: "padding";
|
|
133
|
+
readonly scale: "spacing";
|
|
134
|
+
};
|
|
135
|
+
readonly px: {
|
|
136
|
+
readonly property: "padding";
|
|
137
|
+
readonly properties: readonly ["paddingLeft", "paddingRight"];
|
|
138
|
+
readonly scale: "spacing";
|
|
139
|
+
};
|
|
140
|
+
readonly py: {
|
|
141
|
+
readonly property: "padding";
|
|
142
|
+
readonly properties: readonly ["paddingTop", "paddingBottom"];
|
|
143
|
+
readonly scale: "spacing";
|
|
144
|
+
};
|
|
145
|
+
readonly pt: {
|
|
146
|
+
readonly property: "paddingTop";
|
|
147
|
+
readonly scale: "spacing";
|
|
148
|
+
};
|
|
149
|
+
readonly pb: {
|
|
150
|
+
readonly property: "paddingBottom";
|
|
151
|
+
readonly scale: "spacing";
|
|
152
|
+
};
|
|
153
|
+
readonly pr: {
|
|
154
|
+
readonly property: "paddingRight";
|
|
155
|
+
readonly scale: "spacing";
|
|
156
|
+
};
|
|
157
|
+
readonly pl: {
|
|
158
|
+
readonly property: "paddingLeft";
|
|
159
|
+
readonly scale: "spacing";
|
|
160
|
+
};
|
|
161
|
+
readonly m: {
|
|
162
|
+
readonly property: "margin";
|
|
163
|
+
readonly scale: "spacing";
|
|
164
|
+
};
|
|
165
|
+
readonly mx: {
|
|
166
|
+
readonly property: "margin";
|
|
167
|
+
readonly properties: readonly ["marginLeft", "marginRight"];
|
|
168
|
+
readonly scale: "spacing";
|
|
169
|
+
};
|
|
170
|
+
readonly my: {
|
|
171
|
+
readonly property: "margin";
|
|
172
|
+
readonly properties: readonly ["marginTop", "marginBottom"];
|
|
173
|
+
readonly scale: "spacing";
|
|
174
|
+
};
|
|
175
|
+
readonly mt: {
|
|
176
|
+
readonly property: "marginTop";
|
|
177
|
+
readonly scale: "spacing";
|
|
178
|
+
};
|
|
179
|
+
readonly mb: {
|
|
180
|
+
readonly property: "marginBottom";
|
|
181
|
+
readonly scale: "spacing";
|
|
182
|
+
};
|
|
183
|
+
readonly mr: {
|
|
184
|
+
readonly property: "marginRight";
|
|
185
|
+
readonly scale: "spacing";
|
|
186
|
+
};
|
|
187
|
+
readonly ml: {
|
|
188
|
+
readonly property: "marginLeft";
|
|
189
|
+
readonly scale: "spacing";
|
|
190
|
+
};
|
|
191
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
192
|
+
readonly position: {
|
|
193
|
+
readonly property: "position";
|
|
194
|
+
};
|
|
195
|
+
readonly inset: {
|
|
196
|
+
readonly property: "inset";
|
|
197
|
+
readonly properties: readonly ["top", "right", "bottom", "left"];
|
|
198
|
+
readonly transform: (value: string | number) => string | 0;
|
|
199
|
+
};
|
|
200
|
+
readonly top: {
|
|
201
|
+
readonly property: "top";
|
|
202
|
+
readonly transform: (value: string | number) => string | 0;
|
|
203
|
+
};
|
|
204
|
+
readonly right: {
|
|
205
|
+
readonly property: "right";
|
|
206
|
+
readonly transform: (value: string | number) => string | 0;
|
|
207
|
+
};
|
|
208
|
+
readonly bottom: {
|
|
209
|
+
readonly property: "bottom";
|
|
210
|
+
readonly transform: (value: string | number) => string | 0;
|
|
211
|
+
};
|
|
212
|
+
readonly left: {
|
|
213
|
+
readonly property: "left";
|
|
214
|
+
readonly transform: (value: string | number) => string | 0;
|
|
215
|
+
};
|
|
216
|
+
readonly zIndex: {
|
|
217
|
+
readonly property: "zIndex";
|
|
218
|
+
};
|
|
219
|
+
readonly opacity: {
|
|
220
|
+
readonly property: "opacity";
|
|
221
|
+
};
|
|
222
|
+
}>>]>>;
|
|
223
|
+
export interface FromLogoIconStyleProps extends StyleProps<typeof composedLogoStyles> {
|
|
224
|
+
}
|
|
225
|
+
export interface SharedLogoIconProps extends Omit<React.SVGProps<SVGSVGElement>, keyof FromLogoIconStyleProps>, FromLogoIconStyleProps {
|
|
226
|
+
}
|
|
227
|
+
export declare const LogoFromSkillsoft: React.FC<SharedLogoIconProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 324 122" width="324" height="122"><path fill="#141E3B" fill-rule="nonzero" stroke="#141E3B" d="M8.676 0h7.376v1.058H8.676V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm36.275 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm27.206 0h7.376v1.058h-7.376V0Zm9.07 0h7.375v1.058h-7.376V0Zm9.068 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.068 0h7.376v1.058h-7.376V0Zm9.07 0h7.375v1.058h-7.376V0Zm27.206 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm36.275 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0ZM2.78 7.534H3.81V20.08H2.78V7.534Zm12.878 12.26-.998.439L9.07 7.776l1.013-.424 5.577 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm14.33-12.26h1.027V20.08h-1.028V7.534Zm12.877 12.26-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.207 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442Zm5.26-12.26h1.027V20.08h-1.027V7.534Zm12.877 12.26-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm29.293.363h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm34.19-.363-.998.439-5.593-12.457 1.013-.424 5.577 12.442Zm5.26-12.26h1.027V20.08h-1.028V7.534Zm12.877 12.26-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm14.33-12.26h1.027V20.08h-1.028V7.534Zm12.877 12.26-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.207 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442ZM6.59 39.951l-.998.439L0 27.933l1.013-.424L6.59 39.951Zm18.138 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm9.07 0-.998.439-5.593-12.457 1.013-.424 5.577 12.442Zm2.085.363h7.376v1.058h-7.376v-1.058Zm16.052-.363-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm18.138 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm27.207 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442Zm5.26-12.26h1.027v12.547h-1.027V27.691Zm12.877 12.26-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm27.207 0-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm18.138 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm9.07 0-.998.439-5.593-12.457 1.013-.424 5.577 12.442Zm2.085.363h7.376v1.058h-7.376v-1.058Zm16.052-.363-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442ZM15.66 60.108l-.998.438L9.07 48.09l1.013-.423 5.577 12.442Zm18.138 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm2.085.363h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058H54.02v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm34.19-.363-.998.438-5.593-12.457 1.013-.423 5.577 12.442Zm18.137 0-.998.438-5.592-12.457 1.013-.423 5.577 12.442Zm27.207 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm9.068 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm9.07 0-.998.438-5.593-12.457 1.013-.423 5.577 12.442Zm27.206 0-.998.438-5.592-12.457 1.013-.423 5.577 12.442Zm18.138 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm2.085.363h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm34.19-.363-.998.438-5.593-12.457 1.013-.423 5.577 12.442ZM24.727 80.265l-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm5.26-12.26h1.027v12.547h-1.027V68.005Zm5.894 12.623h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058H54.02v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058ZM84.4 68.005h1.028v12.547H84.4V68.005Zm12.878 12.26-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm27.206 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm18.138 0-.998.438-5.592-12.457 1.013-.423 5.577 12.442Zm27.206 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm9.07 0-.998.438-5.593-12.457 1.013-.423 5.577 12.442Zm9.068 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm27.207 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm5.26-12.26h1.027v12.547h-1.027V68.005Zm5.894 12.623h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm12.243-12.623h1.028v12.547h-1.028V68.005Zm12.878 12.26-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm27.206 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442ZM88.21 100.422l-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm18.137 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm2.086.363h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm16.051-.363-.998.438-5.592-12.457 1.013-.423 5.577 12.442Zm18.138 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm2.086.363h7.376v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm16.052-.363-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm54.413 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm18.137 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm2.086.363h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm16.051-.363-.998.438-5.592-12.457 1.013-.423L324 100.422ZM97.279 120.579l-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm5.26-12.26h1.027v12.547h-1.027v-12.548Zm5.894 12.623h7.376V122h-7.376v-1.058Zm9.07 0h7.375V122h-7.376v-1.058Zm12.242-12.624h1.028v12.548h-1.028v-12.548Zm12.878 12.26-.998.44-5.592-12.458 1.013-.423 5.577 12.442Zm5.26-12.26h1.028v12.548h-1.028v-12.548Zm5.895 12.624h7.376V122h-7.376v-1.058Zm9.068 0h7.376V122h-7.376v-1.058Zm9.07 0h7.375V122h-7.376v-1.058Zm9.068 0h7.376V122h-7.376v-1.058Zm9.069 0h7.376V122h-7.376v-1.058Zm9.069 0h7.376V122h-7.376v-1.058Zm9.069 0h7.376V122h-7.376v-1.058Zm12.243-12.624h1.027v12.548h-1.027v-12.548Zm67.29 12.26-.997.44-5.592-12.458 1.012-.423 5.578 12.442Zm5.26-12.26h1.028v12.548h-1.027v-12.548Zm5.895 12.624h7.376V122h-7.376v-1.058Zm9.07 0h7.375V122h-7.376v-1.058Zm12.242-12.624h1.028v12.548h-1.028v-12.548Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const EmptyNotification: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Notification } from './typings';
|
|
3
|
+
export type NotificationItemProps = {
|
|
4
|
+
notification: Notification;
|
|
5
|
+
handleClick?: (event: object) => void;
|
|
6
|
+
handleDismiss?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const NotificationItem: React.FC<NotificationItemProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Notification } from './typings';
|
|
3
|
+
export type NotificationListProps = {
|
|
4
|
+
onDismiss?: (notification: Notification) => void;
|
|
5
|
+
notifications: Notification[];
|
|
6
|
+
onNotificationClick?: (notification: Notification) => void;
|
|
7
|
+
headerElementId?: string;
|
|
8
|
+
};
|
|
9
|
+
export declare const NotificationList: React.FC<NotificationListProps>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type NotificationIconSettings = {
|
|
2
|
+
backgroundColor?: string;
|
|
3
|
+
color?: string;
|
|
4
|
+
};
|
|
5
|
+
export type Notification = {
|
|
6
|
+
date: string;
|
|
7
|
+
id: string;
|
|
8
|
+
iconSettings?: NotificationIconSettings;
|
|
9
|
+
iconSlug?: string;
|
|
10
|
+
imageUrl?: string;
|
|
11
|
+
link?: string;
|
|
12
|
+
text: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
unread?: boolean;
|
|
15
|
+
campaign: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ButtonBaseElements } from '@codecademy/gamut';
|
|
2
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
3
|
+
import { Notification } from '../NotificationList/typings';
|
|
4
|
+
export type NotificationBellProps = {
|
|
5
|
+
bellRef: React.RefObject<ButtonBaseElements>;
|
|
6
|
+
isOpen?: boolean;
|
|
7
|
+
setIsOpen: Dispatch<SetStateAction<boolean>>;
|
|
8
|
+
notifications: Notification[];
|
|
9
|
+
};
|
|
10
|
+
export declare const NotificationBell: React.FC<NotificationBellProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const NotificationsWrapper: import("@emotion/styled").StyledComponent<{
|
|
2
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
3
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
4
|
+
} & import("@codecademy/gamut").BoxProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLDivElement>> & {
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
export declare const NotificationDialog: import("@emotion/styled").StyledComponent<{
|
|
8
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
9
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
10
|
+
} & import("@codecademy/gamut").BoxProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("react").ClassAttributes<HTMLDivElement>> & {
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ButtonBaseElements } from '@codecademy/gamut';
|
|
2
|
+
import { Notification } from '../NotificationList/typings';
|
|
3
|
+
export type NotificationActions = {
|
|
4
|
+
clear: () => void;
|
|
5
|
+
click: (notification: Notification) => void;
|
|
6
|
+
dismiss: (notification: Notification) => void;
|
|
7
|
+
read: (notifications: Notification[]) => void;
|
|
8
|
+
track: (target: string) => void;
|
|
9
|
+
};
|
|
10
|
+
export type AppHeaderNotificationSettings = {
|
|
11
|
+
actions: NotificationActions;
|
|
12
|
+
notifications: Notification[];
|
|
13
|
+
onEnable: () => void;
|
|
14
|
+
};
|
|
15
|
+
export interface NotificationsProps {
|
|
16
|
+
actions: NotificationActions;
|
|
17
|
+
handleClose: () => void;
|
|
18
|
+
notifications: Notification[];
|
|
19
|
+
notificationListRef?: React.RefObject<HTMLDivElement>;
|
|
20
|
+
}
|
|
21
|
+
export interface NotificationsDropdownProps extends NotificationsProps {
|
|
22
|
+
bellRef: React.RefObject<ButtonBaseElements>;
|
|
23
|
+
isOpen: boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AppHeaderNotificationSettings, NotificationsDropdownProps } from './types';
|
|
2
|
+
export type HeaderNotificationProps = {
|
|
3
|
+
settings: AppHeaderNotificationSettings | undefined;
|
|
4
|
+
Renderer: React.ComponentType<NotificationsDropdownProps>;
|
|
5
|
+
};
|
|
6
|
+
export declare const useHeaderNotifications: ({ settings, Renderer, }: HeaderNotificationProps) => null[] | readonly [{
|
|
7
|
+
readonly id: "notifications";
|
|
8
|
+
readonly type: "render-element";
|
|
9
|
+
readonly renderElement: () => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
}, import("react/jsx-runtime").JSX.Element];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { NotificationsProps } from './types';
|
|
3
|
+
interface NotificationButtons extends Pick<NotificationsProps, 'notifications'> {
|
|
4
|
+
clearAllButton: ReactElement | null;
|
|
5
|
+
closeButton: ReactElement;
|
|
6
|
+
showMoreButton: ReactElement | null;
|
|
7
|
+
}
|
|
8
|
+
export declare const useNotificationButtons: ({ actions, handleClose, notifications, notificationListRef, }: NotificationsProps) => NotificationButtons;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { PageAlert } from './types';
|
|
3
|
+
export type PageAlertsProps = {
|
|
4
|
+
extra?: PageAlert[];
|
|
5
|
+
};
|
|
6
|
+
export declare const AlertArea: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const PageAlerts: React.FC<PageAlertsProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { WithChildrenProp } from '@codecademy/gamut';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { PageAlert } from './types';
|
|
4
|
+
export declare const usePageAlertsContext: () => PageAlertsContextValue;
|
|
5
|
+
export type PageAlertsContextValue = {
|
|
6
|
+
alerts: PageAlert[];
|
|
7
|
+
addAlert: (alert: PageAlert) => void;
|
|
8
|
+
closeAlert: (alertMessage: string) => void;
|
|
9
|
+
};
|
|
10
|
+
export declare const PageAlertsContext: React.Context<PageAlertsContextValue>;
|
|
11
|
+
export declare const PageAlertsProvider: React.FC<WithChildrenProp>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Alert } from '@codecademy/gamut';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
|
+
type AlertProps = Required<ComponentProps<typeof Alert>>;
|
|
4
|
+
type LimitedCTAProps = 'target' | 'children' | 'onClick' | 'text';
|
|
5
|
+
type ExtractableCTAProps = {
|
|
6
|
+
[Prop in Extract<keyof AlertProps['cta'], LimitedCTAProps>]?: AlertProps['cta'][Prop];
|
|
7
|
+
};
|
|
8
|
+
export type PageAlert = {
|
|
9
|
+
cta?: ExtractableCTAProps & {
|
|
10
|
+
href?: string;
|
|
11
|
+
};
|
|
12
|
+
onClose?: () => void;
|
|
13
|
+
type: Exclude<AlertProps['type'], 'subtle'>;
|
|
14
|
+
message: string;
|
|
15
|
+
permanent?: boolean;
|
|
16
|
+
};
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WithChildrenProp } from '@codecademy/gamut';
|
|
2
|
+
import { UserClickData } from '@codecademy/tracking';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
type Cols = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
5
|
+
export type PageLayoutWithSidebarMenuProps = WithChildrenProp & {
|
|
6
|
+
pageName: string;
|
|
7
|
+
leftSidebar: {
|
|
8
|
+
content: React.ReactNode;
|
|
9
|
+
cols: Cols;
|
|
10
|
+
};
|
|
11
|
+
rightSidebar?: {
|
|
12
|
+
content: React.ReactNode;
|
|
13
|
+
cols: Cols;
|
|
14
|
+
};
|
|
15
|
+
hasBackToTop?: boolean;
|
|
16
|
+
trackUserClick: (data: UserClickData) => void;
|
|
17
|
+
};
|
|
18
|
+
export declare const PageLayoutWithSidebarMenu: React.FC<PageLayoutWithSidebarMenuProps>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PageLayoutWithSidebarMenu';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WithChildrenProp } from '@codecademy/gamut';
|
|
2
|
+
import { AriaAttributes, ReactNode } from 'react';
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
type TextButtonMinimumProps = AriaAttributes & {
|
|
5
|
+
text: string;
|
|
6
|
+
href?: string;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
};
|
|
9
|
+
export type SectionButton = TextButtonMinimumProps | ReactNode;
|
|
10
|
+
export interface PageSectionProps extends WithChildrenProp {
|
|
11
|
+
title: string;
|
|
12
|
+
headerButton?: SectionButton;
|
|
13
|
+
headerSecondaryButton?: SectionButton;
|
|
14
|
+
footerButton?: SectionButton;
|
|
15
|
+
}
|
|
16
|
+
export declare const PageSection: React.FC<PageSectionProps>;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface PastDueModalProps {
|
|
3
|
+
pastDueErrorCode: string;
|
|
4
|
+
isSilverPlan: boolean;
|
|
5
|
+
closeButton: React.ReactNode;
|
|
6
|
+
updatePaymentButton: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const PastDueModalContents: React.FC<React.PropsWithChildren<PastDueModalProps>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface BaseImageProps {
|
|
3
|
+
alt: string;
|
|
4
|
+
src: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const PlayingImage: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
|
+
}, React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
14
|
+
export declare const BaseImage: React.FC<BaseImageProps>;
|
|
15
|
+
export default BaseImage;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface PauseableImageProps {
|
|
3
|
+
src: string;
|
|
4
|
+
alt: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const imageStyles: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
}, React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
10
|
+
export declare const PausableImage: React.FC<PauseableImageProps>;
|
|
11
|
+
export {};
|