@codecademy/brand 1.46.0 → 1.47.0-alpha.72688a5a84.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AbbreviatedCommunityEventCard/index.d.ts +8 -0
- package/dist/AppBar/AppBarSection.d.ts +10 -0
- package/dist/AppBar/index.d.ts +9 -0
- package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts +14 -0
- package/dist/AppBarDeprecated/index.d.ts +14 -0
- package/dist/AppBarDeprecated/styles/index.module.scss +39 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +7 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +97 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.js +56 -12
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.d.ts +13 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.js +5 -3
- 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/AppHeaderResourcesSection/index.d.ts +13 -0
- package/dist/AppHeader/Search/DefaultResults.d.ts +10 -0
- package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +7 -0
- package/dist/AppHeader/Search/SearchButton.d.ts +2 -0
- package/dist/AppHeader/Search/SearchPane.d.ts +6 -0
- package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +18 -0
- package/dist/AppHeader/Search/SearchWorker/index.d.ts +5 -0
- package/dist/AppHeader/Search/SearchWorker/src.d.ts +1 -0
- package/dist/AppHeader/Search/SearchWorker/types.d.ts +37 -0
- package/dist/AppHeader/Search/SearchWorker/worker.d.ts +2 -0
- package/dist/AppHeader/Search/consts.d.ts +23 -0
- package/dist/AppHeader/Search/hooks/useUrlChangeDetection.d.ts +5 -0
- package/dist/AppHeader/Search/safelyRedirect.d.ts +5 -0
- package/dist/AppHeader/Search/types.d.ts +23 -0
- package/dist/AppHeader/Search/useHeaderSearch.d.ts +6 -0
- package/dist/AppHeader/index.d.ts +24 -0
- package/dist/AppHeader/shared/elements.d.ts +84 -0
- package/dist/AppHeader/shared/index.d.ts +4 -0
- package/dist/AppHeader/shared/keyboardNav.d.ts +23 -0
- package/dist/AppHeader/shared/mockAppHeaderItems.d.ts +2 -0
- package/dist/AppHeader/shared/testTypes.d.ts +0 -0
- package/dist/AppHeader/shared/types.d.ts +107 -0
- package/dist/AppHeader/shared/utils.d.ts +16 -0
- package/dist/AppHeader/utils/types.d.ts +8 -0
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/MobileSearchBar.d.ts +5 -0
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts +9 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.d.ts +13 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts +9 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.d.ts +7 -0
- package/dist/AppHeaderMobile/index.d.ts +20 -0
- package/dist/Avatar/Avatar.stories.d.ts +6 -0
- package/dist/Avatar/index.d.ts +36 -0
- package/dist/AvatarChooser/index.d.ts +12 -0
- package/dist/BackToTopAnchor/index.d.ts +13 -0
- package/dist/Banner/CountdownTimer.d.ts +7 -0
- package/dist/Banner/EnhancedBanner.d.ts +17 -0
- package/dist/Banner/index.d.ts +31 -0
- 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 +1 -1
- package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +28 -0
- package/dist/GlobalHeader/GlobalHeaderVariants.js +1 -1
- package/dist/GlobalHeader/index.d.ts +11 -0
- package/dist/GlobalHeader/index.js +41 -37
- 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 +29 -0
- package/dist/LearningOutcomePopover/index.d.ts +10 -0
- package/dist/LearningOutcomeTile/Tile.d.ts +7 -0
- package/dist/LearningOutcomeTile/index.d.ts +2 -0
- package/dist/LearningOutcomeTile/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/types.d.ts +39 -0
- package/dist/PlanCardTeams/consts.d.ts +9 -0
- package/dist/PlanCardTeams/index.d.ts +8 -0
- package/dist/PricingSection/PlanFeature.d.ts +10 -0
- package/dist/PricingSection/PricingCard/PricingAmount.d.ts +10 -0
- package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +3 -0
- package/dist/PricingSection/PricingCard/consts.d.ts +14 -0
- package/dist/PricingSection/PricingCard/index.d.ts +12 -0
- package/dist/PricingSection/ProductCTA.d.ts +6 -0
- package/dist/PricingSection/Products.d.ts +11 -0
- package/dist/PricingSection/config.d.ts +8 -0
- package/dist/PricingSection/index.d.ts +13 -0
- package/dist/PricingSection/types.d.ts +30 -0
- package/dist/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 +89 -0
- package/dist/lib/breakpointHooks/index.d.ts +43 -0
- package/dist/lib/catalogList/index.d.ts +5 -0
- package/dist/lib/resourcesList/index.d.ts +5 -0
- package/dist/png.d.ts +4 -0
- package/dist/react-freezeframe.d.ts +1 -0
- package/dist/remoteAssets/components.d.ts +1 -0
- package/dist/stories/Atoms/Avatar.stories.d.ts +6 -0
- package/dist/stories/Atoms/BetaSticker.stories.d.ts +7 -0
- package/dist/stories/Atoms/Logos/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/EnhancedBanner.stories.d.ts +10 -0
- package/dist/stories/Molecules/ErrorContents.stories.d.ts +7 -0
- package/dist/stories/Molecules/GridCollapse.stories.d.ts +6 -0
- package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +1 -0
- package/dist/stories/Molecules/HorizontalScrollMenu.stories.d.ts +6 -0
- package/dist/stories/Molecules/HubCard.stories.d.ts +7 -0
- package/dist/stories/Molecules/InfoCard.stories.d.ts +7 -0
- package/dist/stories/Molecules/LearningOutcomeCard.stories.d.ts +10 -0
- package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.d.ts +6 -0
- package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.d.ts +6 -0
- package/dist/stories/Molecules/LearningOutcomePopover.stories.d.ts +5 -0
- package/dist/stories/Molecules/LearningOutcomeTile.stories.d.ts +10 -0
- package/dist/stories/Molecules/ListSection.stories.d.ts +9 -0
- package/dist/stories/Molecules/Loading.stories.d.ts +6 -0
- package/dist/stories/Molecules/NotificationList.stories.d.ts +7 -0
- package/dist/stories/Molecules/PageSection.stories.d.ts +8 -0
- package/dist/stories/Molecules/PastDueModalContents.stories.d.ts +10 -0
- package/dist/stories/Molecules/PausableImage.stories.d.ts +6 -0
- package/dist/stories/Molecules/ResourceCard.stories.d.ts +6 -0
- package/dist/stories/Molecules/SocialMediaSharing.stories.d.ts +6 -0
- package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.d.ts +6 -0
- package/dist/stories/Molecules/Testimonial.stories.d.ts +10 -0
- package/dist/stories/Organisms/GlobalFooter.stories.d.ts +8 -0
- package/dist/stories/Organisms/GlobalHeader/About.stories.d.ts +10 -0
- package/dist/stories/Organisms/GlobalHeader/Anon.stories.d.ts +9 -0
- package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.d.ts +6 -0
- package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.d.ts +8 -0
- package/dist/stories/Organisms/GlobalHeader/Free.stories.d.ts +8 -0
- package/dist/stories/Organisms/GlobalHeader/Pro.stories.d.ts +10 -0
- package/dist/stories/Organisms/GlobalHeader/Simple.stories.d.ts +6 -0
- package/dist/stories/Organisms/GlobalPage.stories.d.ts +9 -0
- package/dist/stories/Organisms/LayoutMenu.stories.d.ts +10 -0
- package/dist/stories/Organisms/LayoutMenuVariant.stories.d.ts +9 -0
- package/dist/stories/Organisms/PageAlerts.example.d.ts +2 -0
- package/dist/stories/Organisms/PageAlerts.stories.d.ts +7 -0
- package/dist/stories/Organisms/PageFeatures.stories.d.ts +14 -0
- package/dist/stories/Organisms/PageHero.stories.d.ts +17 -0
- package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.d.ts +7 -0
- package/dist/stories/Organisms/PagePrefooter.stories.d.ts +10 -0
- package/dist/stories/Organisms/PageSingleFeature.stories.d.ts +18 -0
- package/dist/stories/Organisms/PageVideoGallery.stories.d.ts +10 -0
- package/dist/stories/Organisms/PlanCard.stories.d.ts +9 -0
- package/dist/stories/Organisms/PlanCardTeams.stories.d.ts +7 -0
- package/dist/stories/Organisms/ScoreSummary.stories.d.ts +12 -0
- package/dist/svg.d.ts +8 -0
- package/dist/theme.d.ts +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface Detail {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
tag: string;
|
|
5
|
+
isLite: boolean;
|
|
6
|
+
features: {
|
|
7
|
+
name: string;
|
|
8
|
+
available: boolean;
|
|
9
|
+
isNew?: boolean;
|
|
10
|
+
}[];
|
|
11
|
+
}
|
|
12
|
+
type PlanDetails = Record<string, Detail>;
|
|
13
|
+
export declare const planDetails: PlanDetails;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React, { ChangeEvent } from 'react';
|
|
2
|
+
import { Currency, PlanType } from './types';
|
|
3
|
+
export interface PlanCardProps {
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
isStudentPlan?: boolean;
|
|
6
|
+
price: string;
|
|
7
|
+
currency: Currency;
|
|
8
|
+
termMonths: number;
|
|
9
|
+
onChange: (changeEvent: ChangeEvent<HTMLInputElement>) => void;
|
|
10
|
+
onClick?: (event: React.MouseEvent) => void;
|
|
11
|
+
planType: PlanType;
|
|
12
|
+
inUpsellModal?: boolean;
|
|
13
|
+
isMultiple?: boolean;
|
|
14
|
+
isIndiaUser?: boolean;
|
|
15
|
+
ctaHref?: string;
|
|
16
|
+
ctaLabel?: string;
|
|
17
|
+
}
|
|
18
|
+
export declare const PlanCard: React.FC<PlanCardProps>;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type PlanType = 'basic' | 'pro' | 'pro-silver' | 'pro-gold';
|
|
2
|
+
export declare enum CurrencySymbol {
|
|
3
|
+
DOLLAR = "$",
|
|
4
|
+
POUND = "\u00A3",
|
|
5
|
+
EURO = "\u20AC",
|
|
6
|
+
RUPEE = "\u20B9",
|
|
7
|
+
KRONA = "kr",
|
|
8
|
+
KRONE = "kr",
|
|
9
|
+
ZLOTY = "z\u0142",
|
|
10
|
+
REAL = "R$",
|
|
11
|
+
LEV = "\u041B\u0432.",
|
|
12
|
+
FRANC = "Fr.",
|
|
13
|
+
KORUNA = "K\u010D",
|
|
14
|
+
KUNA = "kn",
|
|
15
|
+
FORINT = "Ft",
|
|
16
|
+
PESO = "$",
|
|
17
|
+
LEU = "L"
|
|
18
|
+
}
|
|
19
|
+
export declare enum Currency {
|
|
20
|
+
USD = "USD",
|
|
21
|
+
EUR = "EUR",
|
|
22
|
+
CAD = "CAD",
|
|
23
|
+
GBP = "GBP",
|
|
24
|
+
AUD = "AUD",
|
|
25
|
+
INR = "INR",
|
|
26
|
+
SEK = "SEK",
|
|
27
|
+
NOK = "NOK",
|
|
28
|
+
PLN = "PLN",
|
|
29
|
+
DKK = "DKK",
|
|
30
|
+
BRL = "BRL",
|
|
31
|
+
BGN = "BGN",
|
|
32
|
+
CHF = "CHF",
|
|
33
|
+
CZK = "CZK",
|
|
34
|
+
HRK = "HRK",
|
|
35
|
+
HUF = "HUF",
|
|
36
|
+
MXN = "MXN",
|
|
37
|
+
RON = "RON"
|
|
38
|
+
}
|
|
39
|
+
export declare const getCurrencySymbol: (currency: Currency) => CurrencySymbol;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Product } from '../types';
|
|
2
|
+
interface PricingAmountProps {
|
|
3
|
+
product: Product;
|
|
4
|
+
price: string;
|
|
5
|
+
isUserInIndia: boolean;
|
|
6
|
+
monthlyPrice?: string;
|
|
7
|
+
termMonths?: number;
|
|
8
|
+
}
|
|
9
|
+
export declare const PricingAmount: React.FC<PricingAmountProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
interface Detail {
|
|
2
|
+
id: string;
|
|
3
|
+
title: string;
|
|
4
|
+
tag: string;
|
|
5
|
+
isLite: boolean;
|
|
6
|
+
features: {
|
|
7
|
+
label: string;
|
|
8
|
+
isEnabled: boolean;
|
|
9
|
+
description?: string;
|
|
10
|
+
}[];
|
|
11
|
+
}
|
|
12
|
+
type PlanDetails = Record<string, Detail>;
|
|
13
|
+
export declare const planDetails: PlanDetails;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { PlansByType } from '../config';
|
|
2
|
+
import { CopyConfig, CtaConfig, Product, ProductDetails } from '../types';
|
|
3
|
+
export declare const smSize = 728;
|
|
4
|
+
export declare const PricingCard: React.FC<{
|
|
5
|
+
product: Product;
|
|
6
|
+
productDetails: ProductDetails;
|
|
7
|
+
plansByType: PlansByType;
|
|
8
|
+
isUserInIndia: boolean;
|
|
9
|
+
isCurrentPlan?: boolean;
|
|
10
|
+
ctaConfig?: CtaConfig[keyof CtaConfig];
|
|
11
|
+
copyConfig?: CopyConfig[keyof CopyConfig];
|
|
12
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PlansByType } from './config';
|
|
2
|
+
import { CopyConfig, CtaConfig, User } from './types';
|
|
3
|
+
interface ProductsProps {
|
|
4
|
+
plansByType: PlansByType;
|
|
5
|
+
ctaConfig?: CtaConfig;
|
|
6
|
+
copyConfig?: CopyConfig;
|
|
7
|
+
user?: User;
|
|
8
|
+
isUserInIndia: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const Products: React.FC<ProductsProps>;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Product, ProductDetails } from './types';
|
|
2
|
+
type Period = 'annual' | 'monthly';
|
|
3
|
+
type PlansByPeriod = Record<Period, ProductDetails>;
|
|
4
|
+
export type PlansByType = Record<Product, PlansByPeriod>;
|
|
5
|
+
export declare const getProductDescription: (product: Product) => "" | "Start learning something new with basic access" | "Build in-demand technical skills for work or a personal project" | "Develop the skills and experience to land a job in tech";
|
|
6
|
+
export declare const getProductDetails: (products: PlansByType, product: Product) => ProductDetails;
|
|
7
|
+
export declare const groupPlansByType: (products: ProductDetails[]) => PlansByType;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Background } from '@codecademy/gamut-styles';
|
|
2
|
+
import type { CopyConfig, CtaConfig, PlanType, ProductDetails, User } from './types';
|
|
3
|
+
type PricingSectionProps = Omit<Partial<React.ComponentProps<typeof Background>>, 'title'> & {
|
|
4
|
+
products: ProductDetails[];
|
|
5
|
+
title?: React.ReactNode;
|
|
6
|
+
planTypes?: PlanType[];
|
|
7
|
+
ctaConfig?: CtaConfig;
|
|
8
|
+
copyConfig?: CopyConfig;
|
|
9
|
+
user?: User;
|
|
10
|
+
isUserInIndia: boolean;
|
|
11
|
+
};
|
|
12
|
+
export declare const PricingSection: React.FC<PricingSectionProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum Product {
|
|
2
|
+
Basic = "free",
|
|
3
|
+
Pro = "pro",
|
|
4
|
+
Teams = "teams",
|
|
5
|
+
Silver = "pro-silver",
|
|
6
|
+
Gold = "pro-gold"
|
|
7
|
+
}
|
|
8
|
+
export interface ProductDetails {
|
|
9
|
+
isTrialPlan?: boolean | null | undefined;
|
|
10
|
+
price: string;
|
|
11
|
+
planId?: string | null | undefined;
|
|
12
|
+
displayName: string;
|
|
13
|
+
planType: string;
|
|
14
|
+
savings?: string | null | undefined;
|
|
15
|
+
includedTaxRate?: string | null | undefined;
|
|
16
|
+
}
|
|
17
|
+
export type PlanType = 'basic' | 'pro-silver' | 'pro-gold' | 'teams';
|
|
18
|
+
export type CtaConfig = Partial<Record<PlanType, {
|
|
19
|
+
label?: string;
|
|
20
|
+
href?: string;
|
|
21
|
+
onClick?: () => void;
|
|
22
|
+
}>>;
|
|
23
|
+
export type CopyConfig = Partial<Record<PlanType, {
|
|
24
|
+
description: string;
|
|
25
|
+
}>>;
|
|
26
|
+
export interface User {
|
|
27
|
+
anonymous?: boolean;
|
|
28
|
+
proSilver?: boolean;
|
|
29
|
+
proGold?: boolean;
|
|
30
|
+
}
|
|
@@ -0,0 +1,376 @@
|
|
|
1
|
+
import { ColorModes } from '@codecademy/gamut-styles';
|
|
2
|
+
import { StyleProps } from '@codecademy/variance';
|
|
3
|
+
import { SVGProps } from 'react';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
export type ProLabelProps = SVGProps<SVGSVGElement> & StyleProps<typeof logoStyles> & StyleProps<typeof placementVariants> & StyleProps<typeof modeVariants> & {
|
|
6
|
+
mode?: ColorModes;
|
|
7
|
+
height?: number;
|
|
8
|
+
};
|
|
9
|
+
declare const logoStyles: 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<{
|
|
10
|
+
readonly flexBasis: {
|
|
11
|
+
readonly property: "flexBasis";
|
|
12
|
+
};
|
|
13
|
+
readonly flexShrink: {
|
|
14
|
+
readonly property: "flexShrink";
|
|
15
|
+
};
|
|
16
|
+
readonly flexGrow: {
|
|
17
|
+
readonly property: "flexGrow";
|
|
18
|
+
};
|
|
19
|
+
readonly order: {
|
|
20
|
+
readonly property: "order";
|
|
21
|
+
};
|
|
22
|
+
readonly gridColumn: {
|
|
23
|
+
readonly property: "gridColumn";
|
|
24
|
+
};
|
|
25
|
+
readonly gridRow: {
|
|
26
|
+
readonly property: "gridRow";
|
|
27
|
+
};
|
|
28
|
+
readonly gridColumnStart: {
|
|
29
|
+
readonly property: "gridColumnStart";
|
|
30
|
+
};
|
|
31
|
+
readonly gridRowStart: {
|
|
32
|
+
readonly property: "gridRowStart";
|
|
33
|
+
};
|
|
34
|
+
readonly gridColumnEnd: {
|
|
35
|
+
readonly property: "gridColumnEnd";
|
|
36
|
+
};
|
|
37
|
+
readonly gridRowEnd: {
|
|
38
|
+
readonly property: "gridRowEnd";
|
|
39
|
+
};
|
|
40
|
+
readonly justifySelf: {
|
|
41
|
+
readonly property: "justifySelf";
|
|
42
|
+
};
|
|
43
|
+
readonly alignSelf: {
|
|
44
|
+
readonly property: "alignSelf";
|
|
45
|
+
};
|
|
46
|
+
readonly gridArea: {
|
|
47
|
+
readonly property: "gridArea";
|
|
48
|
+
};
|
|
49
|
+
readonly display: {
|
|
50
|
+
readonly property: "display";
|
|
51
|
+
};
|
|
52
|
+
readonly overflow: {
|
|
53
|
+
readonly property: "overflow";
|
|
54
|
+
};
|
|
55
|
+
readonly overflowX: {
|
|
56
|
+
readonly property: "overflowX";
|
|
57
|
+
};
|
|
58
|
+
readonly overflowY: {
|
|
59
|
+
readonly property: "overflowY";
|
|
60
|
+
};
|
|
61
|
+
readonly dimensions: {
|
|
62
|
+
readonly property: "width";
|
|
63
|
+
readonly properties: readonly ["width", "height"];
|
|
64
|
+
readonly transform: (value: string | number) => string | 0;
|
|
65
|
+
};
|
|
66
|
+
readonly width: {
|
|
67
|
+
readonly property: "width";
|
|
68
|
+
readonly transform: (value: string | number) => string | 0;
|
|
69
|
+
};
|
|
70
|
+
readonly minWidth: {
|
|
71
|
+
readonly property: "minWidth";
|
|
72
|
+
readonly transform: (value: string | number) => string | 0;
|
|
73
|
+
};
|
|
74
|
+
readonly maxWidth: {
|
|
75
|
+
readonly property: "maxWidth";
|
|
76
|
+
readonly transform: (value: string | number) => string | 0;
|
|
77
|
+
};
|
|
78
|
+
readonly height: {
|
|
79
|
+
readonly property: "height";
|
|
80
|
+
readonly transform: (value: string | number) => string | 0;
|
|
81
|
+
};
|
|
82
|
+
readonly minHeight: {
|
|
83
|
+
readonly property: "minHeight";
|
|
84
|
+
readonly transform: (value: string | number) => string | 0;
|
|
85
|
+
};
|
|
86
|
+
readonly maxHeight: {
|
|
87
|
+
readonly property: "maxHeight";
|
|
88
|
+
readonly transform: (value: string | number) => string | 0;
|
|
89
|
+
};
|
|
90
|
+
readonly verticalAlign: {
|
|
91
|
+
readonly property: "verticalAlign";
|
|
92
|
+
};
|
|
93
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
94
|
+
readonly position: {
|
|
95
|
+
readonly property: "position";
|
|
96
|
+
};
|
|
97
|
+
readonly inset: {
|
|
98
|
+
readonly property: "inset";
|
|
99
|
+
readonly properties: readonly ["top", "right", "bottom", "left"];
|
|
100
|
+
readonly transform: (value: string | number) => string | 0;
|
|
101
|
+
};
|
|
102
|
+
readonly top: {
|
|
103
|
+
readonly property: "top";
|
|
104
|
+
readonly transform: (value: string | number) => string | 0;
|
|
105
|
+
};
|
|
106
|
+
readonly right: {
|
|
107
|
+
readonly property: "right";
|
|
108
|
+
readonly transform: (value: string | number) => string | 0;
|
|
109
|
+
};
|
|
110
|
+
readonly bottom: {
|
|
111
|
+
readonly property: "bottom";
|
|
112
|
+
readonly transform: (value: string | number) => string | 0;
|
|
113
|
+
};
|
|
114
|
+
readonly left: {
|
|
115
|
+
readonly property: "left";
|
|
116
|
+
readonly transform: (value: string | number) => string | 0;
|
|
117
|
+
};
|
|
118
|
+
readonly zIndex: {
|
|
119
|
+
readonly property: "zIndex";
|
|
120
|
+
};
|
|
121
|
+
readonly opacity: {
|
|
122
|
+
readonly property: "opacity";
|
|
123
|
+
};
|
|
124
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
125
|
+
readonly p: {
|
|
126
|
+
readonly property: "padding";
|
|
127
|
+
readonly scale: "spacing";
|
|
128
|
+
};
|
|
129
|
+
readonly px: {
|
|
130
|
+
readonly property: "padding";
|
|
131
|
+
readonly properties: readonly ["paddingLeft", "paddingRight"];
|
|
132
|
+
readonly scale: "spacing";
|
|
133
|
+
};
|
|
134
|
+
readonly py: {
|
|
135
|
+
readonly property: "padding";
|
|
136
|
+
readonly properties: readonly ["paddingTop", "paddingBottom"];
|
|
137
|
+
readonly scale: "spacing";
|
|
138
|
+
};
|
|
139
|
+
readonly pt: {
|
|
140
|
+
readonly property: "paddingTop";
|
|
141
|
+
readonly scale: "spacing";
|
|
142
|
+
};
|
|
143
|
+
readonly pb: {
|
|
144
|
+
readonly property: "paddingBottom";
|
|
145
|
+
readonly scale: "spacing";
|
|
146
|
+
};
|
|
147
|
+
readonly pr: {
|
|
148
|
+
readonly property: "paddingRight";
|
|
149
|
+
readonly scale: "spacing";
|
|
150
|
+
};
|
|
151
|
+
readonly pl: {
|
|
152
|
+
readonly property: "paddingLeft";
|
|
153
|
+
readonly scale: "spacing";
|
|
154
|
+
};
|
|
155
|
+
readonly m: {
|
|
156
|
+
readonly property: "margin";
|
|
157
|
+
readonly scale: "spacing";
|
|
158
|
+
};
|
|
159
|
+
readonly mx: {
|
|
160
|
+
readonly property: "margin";
|
|
161
|
+
readonly properties: readonly ["marginLeft", "marginRight"];
|
|
162
|
+
readonly scale: "spacing";
|
|
163
|
+
};
|
|
164
|
+
readonly my: {
|
|
165
|
+
readonly property: "margin";
|
|
166
|
+
readonly properties: readonly ["marginTop", "marginBottom"];
|
|
167
|
+
readonly scale: "spacing";
|
|
168
|
+
};
|
|
169
|
+
readonly mt: {
|
|
170
|
+
readonly property: "marginTop";
|
|
171
|
+
readonly scale: "spacing";
|
|
172
|
+
};
|
|
173
|
+
readonly mb: {
|
|
174
|
+
readonly property: "marginBottom";
|
|
175
|
+
readonly scale: "spacing";
|
|
176
|
+
};
|
|
177
|
+
readonly mr: {
|
|
178
|
+
readonly property: "marginRight";
|
|
179
|
+
readonly scale: "spacing";
|
|
180
|
+
};
|
|
181
|
+
readonly ml: {
|
|
182
|
+
readonly property: "marginLeft";
|
|
183
|
+
readonly scale: "spacing";
|
|
184
|
+
};
|
|
185
|
+
}>>]>>;
|
|
186
|
+
declare const placementVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"placement", false | "inline"> & {
|
|
187
|
+
theme?: import("@emotion/react").Theme;
|
|
188
|
+
}) => import("@codecademy/variance").CSSObject;
|
|
189
|
+
declare const modeVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"mode", false | "light" | "dark"> & {
|
|
190
|
+
theme?: import("@emotion/react").Theme;
|
|
191
|
+
}) => import("@codecademy/variance").CSSObject;
|
|
192
|
+
declare const Svg: import("@emotion/styled").StyledComponent<{
|
|
193
|
+
theme?: import("@emotion/react").Theme;
|
|
194
|
+
as?: React.ElementType;
|
|
195
|
+
} & SVGProps<SVGSVGElement> & {
|
|
196
|
+
flexBasis?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
197
|
+
readonly property: "flexBasis";
|
|
198
|
+
}>;
|
|
199
|
+
flexShrink?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
200
|
+
readonly property: "flexShrink";
|
|
201
|
+
}>;
|
|
202
|
+
flexGrow?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
203
|
+
readonly property: "flexGrow";
|
|
204
|
+
}>;
|
|
205
|
+
order?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
206
|
+
readonly property: "order";
|
|
207
|
+
}>;
|
|
208
|
+
gridColumn?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
209
|
+
readonly property: "gridColumn";
|
|
210
|
+
}>;
|
|
211
|
+
gridRow?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
212
|
+
readonly property: "gridRow";
|
|
213
|
+
}>;
|
|
214
|
+
gridColumnStart?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
215
|
+
readonly property: "gridColumnStart";
|
|
216
|
+
}>;
|
|
217
|
+
gridRowStart?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
218
|
+
readonly property: "gridRowStart";
|
|
219
|
+
}>;
|
|
220
|
+
gridColumnEnd?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
221
|
+
readonly property: "gridColumnEnd";
|
|
222
|
+
}>;
|
|
223
|
+
gridRowEnd?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
224
|
+
readonly property: "gridRowEnd";
|
|
225
|
+
}>;
|
|
226
|
+
justifySelf?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
227
|
+
readonly property: "justifySelf";
|
|
228
|
+
}>;
|
|
229
|
+
alignSelf?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
230
|
+
readonly property: "alignSelf";
|
|
231
|
+
}>;
|
|
232
|
+
gridArea?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
233
|
+
readonly property: "gridArea";
|
|
234
|
+
}>;
|
|
235
|
+
display?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
236
|
+
readonly property: "display";
|
|
237
|
+
}>;
|
|
238
|
+
overflow?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
239
|
+
readonly property: "overflow";
|
|
240
|
+
}>;
|
|
241
|
+
overflowX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
242
|
+
readonly property: "overflowX";
|
|
243
|
+
}>;
|
|
244
|
+
overflowY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
245
|
+
readonly property: "overflowY";
|
|
246
|
+
}>;
|
|
247
|
+
dimensions?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
248
|
+
readonly property: "width";
|
|
249
|
+
readonly properties: readonly ["width", "height"];
|
|
250
|
+
readonly transform: (value: string | number) => string | 0;
|
|
251
|
+
}>;
|
|
252
|
+
width?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
253
|
+
readonly property: "width";
|
|
254
|
+
readonly transform: (value: string | number) => string | 0;
|
|
255
|
+
}>;
|
|
256
|
+
minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
257
|
+
readonly property: "minWidth";
|
|
258
|
+
readonly transform: (value: string | number) => string | 0;
|
|
259
|
+
}>;
|
|
260
|
+
maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
261
|
+
readonly property: "maxWidth";
|
|
262
|
+
readonly transform: (value: string | number) => string | 0;
|
|
263
|
+
}>;
|
|
264
|
+
height?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
265
|
+
readonly property: "height";
|
|
266
|
+
readonly transform: (value: string | number) => string | 0;
|
|
267
|
+
}>;
|
|
268
|
+
minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
269
|
+
readonly property: "minHeight";
|
|
270
|
+
readonly transform: (value: string | number) => string | 0;
|
|
271
|
+
}>;
|
|
272
|
+
maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
273
|
+
readonly property: "maxHeight";
|
|
274
|
+
readonly transform: (value: string | number) => string | 0;
|
|
275
|
+
}>;
|
|
276
|
+
verticalAlign?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
277
|
+
readonly property: "verticalAlign";
|
|
278
|
+
}>;
|
|
279
|
+
p?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
280
|
+
readonly property: "padding";
|
|
281
|
+
readonly scale: "spacing";
|
|
282
|
+
}>;
|
|
283
|
+
px?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
284
|
+
readonly property: "padding";
|
|
285
|
+
readonly properties: readonly ["paddingLeft", "paddingRight"];
|
|
286
|
+
readonly scale: "spacing";
|
|
287
|
+
}>;
|
|
288
|
+
py?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
289
|
+
readonly property: "padding";
|
|
290
|
+
readonly properties: readonly ["paddingTop", "paddingBottom"];
|
|
291
|
+
readonly scale: "spacing";
|
|
292
|
+
}>;
|
|
293
|
+
pt?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
294
|
+
readonly property: "paddingTop";
|
|
295
|
+
readonly scale: "spacing";
|
|
296
|
+
}>;
|
|
297
|
+
pb?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
298
|
+
readonly property: "paddingBottom";
|
|
299
|
+
readonly scale: "spacing";
|
|
300
|
+
}>;
|
|
301
|
+
pr?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
302
|
+
readonly property: "paddingRight";
|
|
303
|
+
readonly scale: "spacing";
|
|
304
|
+
}>;
|
|
305
|
+
pl?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
306
|
+
readonly property: "paddingLeft";
|
|
307
|
+
readonly scale: "spacing";
|
|
308
|
+
}>;
|
|
309
|
+
m?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
310
|
+
readonly property: "margin";
|
|
311
|
+
readonly scale: "spacing";
|
|
312
|
+
}>;
|
|
313
|
+
mx?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
314
|
+
readonly property: "margin";
|
|
315
|
+
readonly properties: readonly ["marginLeft", "marginRight"];
|
|
316
|
+
readonly scale: "spacing";
|
|
317
|
+
}>;
|
|
318
|
+
my?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
319
|
+
readonly property: "margin";
|
|
320
|
+
readonly properties: readonly ["marginTop", "marginBottom"];
|
|
321
|
+
readonly scale: "spacing";
|
|
322
|
+
}>;
|
|
323
|
+
mt?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
324
|
+
readonly property: "marginTop";
|
|
325
|
+
readonly scale: "spacing";
|
|
326
|
+
}>;
|
|
327
|
+
mb?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
328
|
+
readonly property: "marginBottom";
|
|
329
|
+
readonly scale: "spacing";
|
|
330
|
+
}>;
|
|
331
|
+
mr?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
332
|
+
readonly property: "marginRight";
|
|
333
|
+
readonly scale: "spacing";
|
|
334
|
+
}>;
|
|
335
|
+
ml?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
336
|
+
readonly property: "marginLeft";
|
|
337
|
+
readonly scale: "spacing";
|
|
338
|
+
}>;
|
|
339
|
+
bottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
340
|
+
readonly property: "bottom";
|
|
341
|
+
readonly transform: (value: string | number) => string | 0;
|
|
342
|
+
}>;
|
|
343
|
+
inset?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
344
|
+
readonly property: "inset";
|
|
345
|
+
readonly properties: readonly ["top", "right", "bottom", "left"];
|
|
346
|
+
readonly transform: (value: string | number) => string | 0;
|
|
347
|
+
}>;
|
|
348
|
+
left?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
349
|
+
readonly property: "left";
|
|
350
|
+
readonly transform: (value: string | number) => string | 0;
|
|
351
|
+
}>;
|
|
352
|
+
opacity?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
353
|
+
readonly property: "opacity";
|
|
354
|
+
}>;
|
|
355
|
+
position?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
356
|
+
readonly property: "position";
|
|
357
|
+
}>;
|
|
358
|
+
right?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
359
|
+
readonly property: "right";
|
|
360
|
+
readonly transform: (value: string | number) => string | 0;
|
|
361
|
+
}>;
|
|
362
|
+
top?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
363
|
+
readonly property: "top";
|
|
364
|
+
readonly transform: (value: string | number) => string | 0;
|
|
365
|
+
}>;
|
|
366
|
+
zIndex?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
367
|
+
readonly property: "zIndex";
|
|
368
|
+
}>;
|
|
369
|
+
} & {
|
|
370
|
+
theme?: import("@emotion/react").Theme;
|
|
371
|
+
} & import("@codecademy/variance/dist/types/config").VariantProps<"placement", false | "inline"> & import("@codecademy/variance/dist/types/config").VariantProps<"mode", false | "light" | "dark"> & {
|
|
372
|
+
mode?: ColorModes;
|
|
373
|
+
height?: number;
|
|
374
|
+
}, Pick<SVGProps<SVGSVGElement>, "string" | "onClick" | "href" | "style" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "suppressHydrationWarning" | "className" | "id" | "lang" | "tabIndex" | "role" | "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" | "media" | "target" | "type" | "ref" | "key" | "name" | "clipPath" | "filter" | "mask" | "path" | "origin" | "scale" | "fill" | "values" | "spacing" | "cursor" | "direction" | "fontSizeAdjust" | "fontStretch" | "fontVariant" | "imageRendering" | "paintOrder" | "pointerEvents" | "rotate" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "wordSpacing" | "writingMode" | "offset" | "min" | "max" | "end" | "clip" | "azimuth" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "elevation" | "enableBackground" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "in" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "local" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "orientation" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewBox" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan">, {}>;
|
|
375
|
+
export declare const ProLabel: React.FC<React.ComponentProps<typeof Svg>>;
|
|
376
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { colors } from '@codecademy/gamut-styles';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
type BaseProps = {
|
|
4
|
+
ariaLabel?: string;
|
|
5
|
+
backgroundColor?: keyof typeof colors;
|
|
6
|
+
width?: number;
|
|
7
|
+
};
|
|
8
|
+
export type ProLogoProps = (BaseProps & {
|
|
9
|
+
variant: 'transparent';
|
|
10
|
+
}) | (BaseProps & {
|
|
11
|
+
variant: 'cutout';
|
|
12
|
+
cutoutColor?: keyof typeof colors;
|
|
13
|
+
});
|
|
14
|
+
export declare const ProLogo: React.FC<ProLogoProps>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { colors } from '@codecademy/gamut-styles';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export type ProLogoAltProps = {
|
|
4
|
+
ariaLabel?: string;
|
|
5
|
+
backgroundColor?: keyof typeof colors;
|
|
6
|
+
textColor?: keyof typeof colors;
|
|
7
|
+
width?: number;
|
|
8
|
+
};
|
|
9
|
+
export declare const ProLogoAlt: React.FC<ProLogoAltProps>;
|