@codecademy/brand 1.30.0-alpha.8f73f171fc.0 → 1.30.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/AppHeader/Search/SearchWorker/src.js +1 -18
- package/dist/AppHeader/Search/SearchWorker/types.js +0 -1
- package/dist/DropdownButton/index.js +2 -2
- package/package.json +1 -1
- package/dist/AbbreviatedCommunityEventCard/index.d.ts +0 -8
- package/dist/AppBar/AppBarSection.d.ts +0 -10
- package/dist/AppBar/index.d.ts +0 -9
- package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts +0 -14
- package/dist/AppBarDeprecated/index.d.ts +0 -14
- package/dist/AppBarDeprecated/styles/index.module.scss +0 -39
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +0 -7
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +0 -92
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.d.ts +0 -13
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.ts +0 -13
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderDropdownLink.d.ts +0 -3
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/AppHeaderMenuItem.d.ts +0 -3
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/elements/types.d.ts +0 -4
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownLinks/index.d.ts +0 -2
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.d.ts +0 -12
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +0 -48
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.d.ts +0 -15
- package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +0 -14
- package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts +0 -6
- package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.d.ts +0 -14
- package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderDropdownNavButton.d.ts +0 -18
- package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/AppHeaderMenuNavButton.d.ts +0 -9
- package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.d.ts +0 -9
- package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.d.ts +0 -10
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +0 -7
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.d.ts +0 -13
- package/dist/AppHeader/Search/DefaultResults.d.ts +0 -10
- package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +0 -7
- package/dist/AppHeader/Search/SearchButton.d.ts +0 -2
- package/dist/AppHeader/Search/SearchPane.d.ts +0 -6
- package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +0 -18
- package/dist/AppHeader/Search/SearchWorker/index.d.ts +0 -6
- package/dist/AppHeader/Search/SearchWorker/src.d.ts +0 -1
- package/dist/AppHeader/Search/SearchWorker/types.d.ts +0 -52
- package/dist/AppHeader/Search/SearchWorker/worker.d.ts +0 -2
- package/dist/AppHeader/Search/consts.d.ts +0 -23
- package/dist/AppHeader/Search/hooks/useUrlChangeDetection.d.ts +0 -5
- package/dist/AppHeader/Search/safelyRedirect.d.ts +0 -5
- package/dist/AppHeader/Search/types.d.ts +0 -23
- package/dist/AppHeader/Search/useHeaderSearch.d.ts +0 -6
- package/dist/AppHeader/index.d.ts +0 -24
- package/dist/AppHeader/shared/elements.d.ts +0 -84
- package/dist/AppHeader/shared/index.d.ts +0 -4
- package/dist/AppHeader/shared/keyboardNav.d.ts +0 -23
- package/dist/AppHeader/shared/mockAppHeaderItems.d.ts +0 -2
- package/dist/AppHeader/shared/testTypes.d.ts +0 -0
- package/dist/AppHeader/shared/types.d.ts +0 -107
- package/dist/AppHeader/shared/utils.d.ts +0 -17
- package/dist/AppHeader/utils/types.d.ts +0 -8
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/MobileSearchBar.d.ts +0 -5
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts +0 -9
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.d.ts +0 -13
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts +0 -9
- package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.d.ts +0 -7
- package/dist/AppHeaderMobile/index.d.ts +0 -20
- package/dist/Avatar/Avatar.stories.d.ts +0 -6
- package/dist/Avatar/index.d.ts +0 -36
- package/dist/AvatarChooser/index.d.ts +0 -12
- package/dist/BackToTopAnchor/index.d.ts +0 -13
- package/dist/Banner/index.d.ts +0 -21
- package/dist/BetaSticker/index.d.ts +0 -6
- package/dist/CareerPathCard/index.d.ts +0 -19
- package/dist/Carousel/elements.d.ts +0 -27
- package/dist/Carousel/index.d.ts +0 -24
- package/dist/CertificationPathCard/__tests__/__fixtures__/index.d.ts +0 -2
- package/dist/CertificationPathCard/index.d.ts +0 -20
- package/dist/CommunityEventCard/EventTypeIcon.d.ts +0 -11
- package/dist/CommunityEventCard/index.d.ts +0 -28
- package/dist/CommunityEventToast/index.d.ts +0 -6
- package/dist/ContentGroupBaseCard/helpers.d.ts +0 -4
- package/dist/ContentGroupBaseCard/index.d.ts +0 -31
- package/dist/ContentGroupBaseCard/shared.d.ts +0 -8
- package/dist/ContentGroupBaseCard/types.d.ts +0 -10
- package/dist/CourseCard/__tests__/__fixtures__/index.d.ts +0 -3
- package/dist/CourseCard/index.d.ts +0 -20
- package/dist/CurriculumCard/BottomTag/index.d.ts +0 -7
- package/dist/CurriculumCard/Difficulty/helpers.d.ts +0 -8
- package/dist/CurriculumCard/Difficulty/index.d.ts +0 -3
- package/dist/CurriculumCard/Difficulty/types.d.ts +0 -22
- package/dist/CurriculumCard/Footer/index.d.ts +0 -10
- package/dist/CurriculumCard/Image/index.d.ts +0 -9
- package/dist/CurriculumCard/Subtitle/helpers.d.ts +0 -1
- package/dist/CurriculumCard/Subtitle/index.d.ts +0 -8
- package/dist/CurriculumCard/index.d.ts +0 -59
- package/dist/DropdownButton/DropdownList.d.ts +0 -17
- package/dist/DropdownButton/index.d.ts +0 -76
- package/dist/DropdownButton/useDynamicPopoverPosition.d.ts +0 -14
- package/dist/EditorialImage/index.d.ts +0 -10
- package/dist/EditorialImage/styles.module.scss +0 -36
- package/dist/EmptySection/index.d.ts +0 -28
- package/dist/ErrorContents/index.d.ts +0 -8
- package/dist/FeatureList/index.d.ts +0 -11
- package/dist/GlobalFooter/FooterHeading.d.ts +0 -9
- package/dist/GlobalFooter/FooterLegal/LegalLinks.d.ts +0 -6
- package/dist/GlobalFooter/FooterLegal/MadeIn.d.ts +0 -5
- package/dist/GlobalFooter/FooterLegal/index.d.ts +0 -7
- package/dist/GlobalFooter/FooterLinks.d.ts +0 -18
- package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.d.ts +0 -7
- package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.d.ts +0 -12
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.d.ts +0 -7
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.d.ts +0 -2
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.d.ts +0 -4
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.d.ts +0 -3
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.ts +0 -4
- package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.d.ts +0 -2
- package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg +0 -45
- package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png +0 -0
- package/dist/GlobalFooter/FooterNavLinks/index.d.ts +0 -4
- package/dist/GlobalFooter/FooterSubHeading.d.ts +0 -9
- package/dist/GlobalFooter/index.d.ts +0 -23
- package/dist/GlobalFooter/types.d.ts +0 -13
- package/dist/GlobalHeader/GlobalHeaderItems.d.ts +0 -25
- package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +0 -28
- package/dist/GlobalHeader/index.d.ts +0 -10
- package/dist/GlobalHeader/types.d.ts +0 -90
- package/dist/GlobalHeader/urlHelpers.d.ts +0 -2
- package/dist/GlobalPage/index.d.ts +0 -34
- package/dist/Grid/GridCollapse.d.ts +0 -41
- package/dist/Grid/Subgrid.d.ts +0 -23
- package/dist/Grid/getCSSFromColumnCount.d.ts +0 -6
- package/dist/Grid/index.d.ts +0 -3
- package/dist/HeaderHeightArea/index.d.ts +0 -9
- package/dist/HeaderHeightArea/useIsInHeaderRegion.d.ts +0 -1
- package/dist/HorizontalScrollMenu/index.d.ts +0 -7
- package/dist/HubCard/index.d.ts +0 -8
- package/dist/InfoCard/index.d.ts +0 -19
- package/dist/Konamimojisplosion/Konamimojisplosion.d.ts +0 -5
- package/dist/Konamimojisplosion/index.d.ts +0 -2
- package/dist/Konamimojisplosion/useKonamimojisplosion.d.ts +0 -1
- package/dist/LandingPage/CTA.d.ts +0 -9
- package/dist/LandingPage/Description.d.ts +0 -6
- package/dist/LandingPage/Feature.d.ts +0 -32
- package/dist/LandingPage/LiveLearning/PageFeatures.d.ts +0 -10
- package/dist/LandingPage/PageFAQs.d.ts +0 -10
- package/dist/LandingPage/PageFeaturedLiveCourse.d.ts +0 -8
- package/dist/LandingPage/PageFeatures.d.ts +0 -16
- package/dist/LandingPage/PageFeaturesWithReferences.d.ts +0 -18
- package/dist/LandingPage/PageHero.d.ts +0 -7
- package/dist/LandingPage/PageLiveLearningCourses.d.ts +0 -42
- package/dist/LandingPage/PagePrefooter.d.ts +0 -5
- package/dist/LandingPage/PageSingleFeature.d.ts +0 -56
- package/dist/LandingPage/PageTestimonials.d.ts +0 -21
- package/dist/LandingPage/PageVideoGallery.d.ts +0 -11
- package/dist/LandingPage/Title.d.ts +0 -23
- package/dist/LandingPage/TitleWithEyebrow.d.ts +0 -11
- package/dist/LandingPage/index.d.ts +0 -16
- package/dist/LandingPage/types.d.ts +0 -28
- package/dist/LayoutMenu/AccordionMenu.d.ts +0 -25
- package/dist/LayoutMenu/LayoutMenu.d.ts +0 -43
- package/dist/LayoutMenu/LayoutMenuSection.d.ts +0 -16
- package/dist/LayoutMenu/SectionItemLink.d.ts +0 -7
- package/dist/LayoutMenu/SelectedSectionItem.d.ts +0 -3
- package/dist/LayoutMenu/index.d.ts +0 -3
- package/dist/LayoutMenuVariant/AccordionMenu.d.ts +0 -21
- package/dist/LayoutMenuVariant/LayoutMenu.d.ts +0 -39
- package/dist/LayoutMenuVariant/LayoutMenuSection.d.ts +0 -10
- package/dist/LayoutMenuVariant/SectionItemLink.d.ts +0 -8
- package/dist/LayoutMenuVariant/index.d.ts +0 -2
- package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +0 -18
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +0 -10
- package/dist/LearningOutcomeBadges/index.d.ts +0 -2
- package/dist/LearningOutcomeCard/index.d.ts +0 -24
- package/dist/LearningOutcomePopover/index.d.ts +0 -10
- package/dist/LearningOutcomeTile/Tile.d.ts +0 -7
- package/dist/LearningOutcomeTile/index.d.ts +0 -2
- package/dist/LearningOutcomeTile/types.d.ts +0 -47
- package/dist/ListSection/index.d.ts +0 -21
- package/dist/Loading/index.d.ts +0 -5
- package/dist/Loading/styles.module.scss +0 -131
- package/dist/LoadingCurriculumCard/index.d.ts +0 -7
- package/dist/Logo/CodecademyLogo.d.ts +0 -2
- package/dist/Logo/CodecademyPremiumLogo.d.ts +0 -2
- package/dist/Logo/CodecademyProAltLogo.d.ts +0 -2
- package/dist/Logo/CodecademyProLockupLogo.d.ts +0 -2
- package/dist/Logo/CodecademyProLogo.d.ts +0 -2
- package/dist/Logo/CodecademyProMonoLogo.d.ts +0 -2
- package/dist/Logo/CodecademyProgramLogo.d.ts +0 -2
- package/dist/Logo/CodecademyTeamsLogo.d.ts +0 -2
- package/dist/Logo/index.d.ts +0 -8
- package/dist/LogoFromSkillsoft/index.d.ts +0 -227
- package/dist/LogoLXStudio/index.d.ts +0 -3
- package/dist/LogoProCutout/index.d.ts +0 -8
- package/dist/LogoProCutoutTransparent/index.d.ts +0 -7
- package/dist/MarketingToaster/index.d.ts +0 -8
- package/dist/NotFoundContent/404.svg +0 -1
- package/dist/NotFoundContent/index.d.ts +0 -8
- package/dist/NotificationList/EmptyNotification/emptyNotificationContents.d.ts +0 -7
- package/dist/NotificationList/EmptyNotification/index.d.ts +0 -1
- package/dist/NotificationList/NotificationItem.d.ts +0 -8
- package/dist/NotificationList/index.d.ts +0 -9
- package/dist/NotificationList/typings.d.ts +0 -16
- package/dist/Notifications/NotificationBell.d.ts +0 -10
- package/dist/Notifications/NotificationsContents.d.ts +0 -3
- package/dist/Notifications/NotificationsDropdown.d.ts +0 -2
- package/dist/Notifications/__fixtures__/NotificationTestComponent.d.ts +0 -2
- package/dist/Notifications/__fixtures__/stubs.d.ts +0 -2
- package/dist/Notifications/constants.d.ts +0 -4
- package/dist/Notifications/elements.d.ts +0 -12
- package/dist/Notifications/types.d.ts +0 -24
- package/dist/Notifications/useHeaderNotifications.d.ts +0 -10
- package/dist/Notifications/useNotificationButtons.d.ts +0 -9
- package/dist/PageAlerts/PageAlerts.d.ts +0 -10
- package/dist/PageAlerts/PageAlertsProvider.d.ts +0 -11
- package/dist/PageAlerts/index.d.ts +0 -3
- package/dist/PageAlerts/types.d.ts +0 -17
- package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +0 -19
- package/dist/PageLayoutWithSidebarMenu/index.d.ts +0 -1
- package/dist/PageSection/index.d.ts +0 -17
- package/dist/PastDue/PastDueModalContents/index.d.ts +0 -8
- package/dist/PastDue/index.d.ts +0 -2
- package/dist/PastDue/pastDueMessages.d.ts +0 -6
- package/dist/PausableImage/BaseImage/index.d.ts +0 -15
- package/dist/PausableImage/index.d.ts +0 -11
- package/dist/PlanCard/PlanCardBanner.d.ts +0 -7
- package/dist/PlanCard/PlanFeature.d.ts +0 -9
- package/dist/PlanCard/PopularBadge.d.ts +0 -3
- package/dist/PlanCard/PricingAmount.d.ts +0 -14
- package/dist/PlanCard/RecommendedBadge.d.ts +0 -3
- package/dist/PlanCard/consts.d.ts +0 -14
- package/dist/PlanCard/index.d.ts +0 -18
- package/dist/PlanCard/types.d.ts +0 -39
- package/dist/PlanCardTeams/consts.d.ts +0 -9
- package/dist/PlanCardTeams/index.d.ts +0 -8
- package/dist/PricingSection/PlanFeature.d.ts +0 -10
- package/dist/PricingSection/PricingCard/PricingAmount.d.ts +0 -10
- package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +0 -3
- package/dist/PricingSection/PricingCard/consts.d.ts +0 -14
- package/dist/PricingSection/PricingCard/index.d.ts +0 -12
- package/dist/PricingSection/ProductCTA.d.ts +0 -6
- package/dist/PricingSection/Products.d.ts +0 -11
- package/dist/PricingSection/config.d.ts +0 -8
- package/dist/PricingSection/index.d.ts +0 -13
- package/dist/PricingSection/types.d.ts +0 -30
- package/dist/ProLabel/index.d.ts +0 -376
- package/dist/ProLogo/index.d.ts +0 -15
- package/dist/ProLogoAlt/index.d.ts +0 -9
- package/dist/ProductFeatureShowcase/index.d.ts +0 -16
- package/dist/QuizScore/index.d.ts +0 -12
- package/dist/RatingsBar/index.d.ts +0 -12
- package/dist/ResourceCard/index.d.ts +0 -15
- package/dist/ScoreSummary/SubScores.d.ts +0 -28
- package/dist/ScoreSummary/helpers.d.ts +0 -11
- package/dist/ScoreSummary/index.d.ts +0 -21
- package/dist/ScoreSummary/types.d.ts +0 -310
- package/dist/SkillPathCard/__tests__/__fixtures__/index.d.ts +0 -2
- package/dist/SkillPathCard/index.d.ts +0 -17
- package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +0 -13
- package/dist/SocialMediaSharing/index.d.ts +0 -49
- package/dist/SocialMediaSharingDropdown/__tests__/SocialMediaSharingDropdown-test.d.ts +0 -1
- package/dist/SocialMediaSharingDropdown/index.d.ts +0 -15
- package/dist/Testimonial/index.d.ts +0 -45
- package/dist/assets/darkQuotes.svg +0 -1
- package/dist/assets/dots.svg +0 -1
- package/dist/assets/lightQuotes.svg +0 -1
- package/dist/assets/navyQuotes.svg +0 -5
- package/dist/assets/orange_squiggle.svg +0 -1
- package/dist/index.d.ts +0 -89
- package/dist/lib/breakpointHooks/index.d.ts +0 -43
- package/dist/lib/catalogList/index.d.ts +0 -5
- package/dist/lib/resourcesList/index.d.ts +0 -5
- package/dist/png.d.ts +0 -4
- package/dist/react-freezeframe.d.ts +0 -1
- package/dist/remoteAssets/components.d.ts +0 -1
- package/dist/stories/Atoms/Avatar.stories.d.ts +0 -6
- package/dist/stories/Atoms/BetaSticker.stories.d.ts +0 -7
- package/dist/stories/Atoms/Logos/Logo.stories.d.ts +0 -13
- package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.d.ts +0 -6
- package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +0 -6
- package/dist/stories/Atoms/Logos/ProLabel.stories.d.ts +0 -6
- package/dist/stories/Atoms/Logos/ProLogoAlt.stories.d.ts +0 -6
- package/dist/stories/Atoms/RatingsBar.stories.d.ts +0 -6
- package/dist/stories/Atoms/Subgrid.stories.d.ts +0 -6
- package/dist/stories/Molecules/AppBar.stories.d.ts +0 -15
- package/dist/stories/Molecules/AppHeader/AppHeader.stories.d.ts +0 -6
- package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.d.ts +0 -8
- package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.d.ts +0 -8
- package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.d.ts +0 -8
- package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.d.ts +0 -6
- package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.d.ts +0 -6
- package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.d.ts +0 -7
- package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.d.ts +0 -7
- package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.d.ts +0 -6
- package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.d.ts +0 -5
- package/dist/stories/Molecules/AvatarChooser.stories.d.ts +0 -7
- package/dist/stories/Molecules/BackToTopAnchor.stories.d.ts +0 -10
- package/dist/stories/Molecules/Banner.stories.d.ts +0 -16
- package/dist/stories/Molecules/Carousel.stories.d.ts +0 -7
- package/dist/stories/Molecules/ContentGroupBaseCard.stories.d.ts +0 -13
- package/dist/stories/Molecules/CurriculumCard.stories.d.ts +0 -16
- package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.d.ts +0 -10
- package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.d.ts +0 -9
- package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.d.ts +0 -10
- package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.d.ts +0 -6
- package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.d.ts +0 -9
- package/dist/stories/Molecules/DropdownButton.stories.d.ts +0 -11
- package/dist/stories/Molecules/EditorialImage.stories.d.ts +0 -6
- package/dist/stories/Molecules/EmptySection.stories.d.ts +0 -13
- package/dist/stories/Molecules/ErrorContents.stories.d.ts +0 -7
- package/dist/stories/Molecules/GridCollapse.stories.d.ts +0 -6
- package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +0 -1
- package/dist/stories/Molecules/HorizontalScrollMenu.stories.d.ts +0 -6
- package/dist/stories/Molecules/HubCard.stories.d.ts +0 -7
- package/dist/stories/Molecules/InfoCard.stories.d.ts +0 -7
- package/dist/stories/Molecules/LearningOutcomeCard.stories.d.ts +0 -9
- package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.d.ts +0 -6
- package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.d.ts +0 -6
- package/dist/stories/Molecules/LearningOutcomePopover.stories.d.ts +0 -5
- package/dist/stories/Molecules/LearningOutcomeTile.stories.d.ts +0 -10
- package/dist/stories/Molecules/ListSection.stories.d.ts +0 -9
- package/dist/stories/Molecules/Loading.stories.d.ts +0 -6
- package/dist/stories/Molecules/NotificationList.stories.d.ts +0 -7
- package/dist/stories/Molecules/PageSection.stories.d.ts +0 -8
- package/dist/stories/Molecules/PastDueModalContents.stories.d.ts +0 -10
- package/dist/stories/Molecules/PausableImage.stories.d.ts +0 -6
- package/dist/stories/Molecules/ResourceCard.stories.d.ts +0 -6
- package/dist/stories/Molecules/SocialMediaSharing.stories.d.ts +0 -6
- package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.d.ts +0 -6
- package/dist/stories/Molecules/Testimonial.stories.d.ts +0 -10
- package/dist/stories/Organisms/GlobalFooter.stories.d.ts +0 -8
- package/dist/stories/Organisms/GlobalHeader/About.stories.d.ts +0 -10
- package/dist/stories/Organisms/GlobalHeader/Anon.stories.d.ts +0 -9
- package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.d.ts +0 -6
- package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.d.ts +0 -8
- package/dist/stories/Organisms/GlobalHeader/Free.stories.d.ts +0 -8
- package/dist/stories/Organisms/GlobalHeader/Pro.stories.d.ts +0 -10
- package/dist/stories/Organisms/GlobalHeader/Simple.stories.d.ts +0 -6
- package/dist/stories/Organisms/GlobalPage.stories.d.ts +0 -9
- package/dist/stories/Organisms/LayoutMenu.stories.d.ts +0 -10
- package/dist/stories/Organisms/LayoutMenuVariant.stories.d.ts +0 -9
- package/dist/stories/Organisms/PageAlerts.example.d.ts +0 -2
- package/dist/stories/Organisms/PageAlerts.stories.d.ts +0 -7
- package/dist/stories/Organisms/PageFeatures.stories.d.ts +0 -14
- package/dist/stories/Organisms/PageHero.stories.d.ts +0 -17
- package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.d.ts +0 -7
- package/dist/stories/Organisms/PagePrefooter.stories.d.ts +0 -10
- package/dist/stories/Organisms/PageSingleFeature.stories.d.ts +0 -18
- package/dist/stories/Organisms/PageVideoGallery.stories.d.ts +0 -10
- package/dist/stories/Organisms/PlanCard.stories.d.ts +0 -9
- package/dist/stories/Organisms/PlanCardTeams.stories.d.ts +0 -7
- package/dist/stories/Organisms/ScoreSummary.stories.d.ts +0 -12
- package/dist/svg.d.ts +0 -8
- package/dist/theme.d.ts +0 -5
package/dist/ProLabel/index.d.ts
DELETED
|
@@ -1,376 +0,0 @@
|
|
|
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 {};
|
package/dist/ProLogo/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
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 {};
|
|
@@ -1,9 +0,0 @@
|
|
|
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>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const ProductFeatureShowcase: React.FC<{
|
|
2
|
-
image: {
|
|
3
|
-
src: string;
|
|
4
|
-
alt: string;
|
|
5
|
-
};
|
|
6
|
-
displayImageBorder?: boolean;
|
|
7
|
-
title: React.ReactNode;
|
|
8
|
-
description: React.ReactNode;
|
|
9
|
-
titleBadge?: string;
|
|
10
|
-
eyebrow?: React.ReactNode;
|
|
11
|
-
cta?: {
|
|
12
|
-
label: string;
|
|
13
|
-
href?: string;
|
|
14
|
-
onClick?: () => void;
|
|
15
|
-
};
|
|
16
|
-
}>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface QuizScoreProps {
|
|
3
|
-
correctCount: number;
|
|
4
|
-
total: number;
|
|
5
|
-
layout?: 'row' | 'column';
|
|
6
|
-
smallerFont?: boolean;
|
|
7
|
-
numOfRows?: number;
|
|
8
|
-
colorfulIcons?: boolean;
|
|
9
|
-
percentToPass?: number;
|
|
10
|
-
}
|
|
11
|
-
export declare const QuizScore: React.FC<QuizScoreProps>;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export type RatingsBarProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Minimum amount of the bar to fill in visually.
|
|
5
|
-
*/
|
|
6
|
-
minimumPercent?: number;
|
|
7
|
-
/**
|
|
8
|
-
* How much of the bar to fill in, as a number in [0, 100].
|
|
9
|
-
*/
|
|
10
|
-
percent: number;
|
|
11
|
-
};
|
|
12
|
-
export declare const RatingsBar: React.FC<RatingsBarProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { HeadingTags } from '@codecademy/gamut';
|
|
2
|
-
import { CardProps } from '../CurriculumCard';
|
|
3
|
-
export declare enum ResourceType {
|
|
4
|
-
Article = "Article",
|
|
5
|
-
Doc = "Doc",
|
|
6
|
-
Blog = "Blog Post"
|
|
7
|
-
}
|
|
8
|
-
export type ResourceCardProps = CardProps & {
|
|
9
|
-
title: string;
|
|
10
|
-
description: string | React.ReactNode;
|
|
11
|
-
resourceType: ResourceType;
|
|
12
|
-
headingLevel: HeadingTags;
|
|
13
|
-
path?: string[];
|
|
14
|
-
};
|
|
15
|
-
export declare const ResourceCard: React.FC<ResourceCardProps>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Colors } from '@codecademy/gamut-styles';
|
|
2
|
-
import { UserClickData } from '@codecademy/tracking';
|
|
3
|
-
import { CorrectAnswerCountsBySubContent, UntestedSubContent } from './types';
|
|
4
|
-
export declare const renderSubScores: ({ isChallenge, subScores, pathSlug, trackSlug, trackingData, trackUserClick, colorfulIcons, }: {
|
|
5
|
-
subScores: CorrectAnswerCountsBySubContent;
|
|
6
|
-
pathSlug: string;
|
|
7
|
-
colorfulIcons?: boolean;
|
|
8
|
-
isChallenge?: boolean;
|
|
9
|
-
trackSlug?: string;
|
|
10
|
-
trackingData?: UserClickData;
|
|
11
|
-
trackUserClick?: (data: UserClickData) => void;
|
|
12
|
-
}) => import("react/jsx-runtime").JSX.Element[];
|
|
13
|
-
interface SubScoresProps {
|
|
14
|
-
colorfulIcons?: boolean;
|
|
15
|
-
isChallenge?: boolean;
|
|
16
|
-
layout?: 'column' | 'row';
|
|
17
|
-
lighterBorderColor?: Colors;
|
|
18
|
-
noMaxWidth?: boolean;
|
|
19
|
-
pathSlug: string;
|
|
20
|
-
showUntestedContent?: boolean;
|
|
21
|
-
subScores: CorrectAnswerCountsBySubContent;
|
|
22
|
-
trackingData?: UserClickData;
|
|
23
|
-
trackUserClick?: (data: UserClickData) => void;
|
|
24
|
-
trackSlug?: string;
|
|
25
|
-
untestedSubContent?: UntestedSubContent[];
|
|
26
|
-
}
|
|
27
|
-
export declare const SubScores: React.FC<SubScoresProps>;
|
|
28
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export type ContentItemType = 'article' | 'context_item' | 'informational' | 'lesson' | 'lock' | 'pro' | 'project_component' | 'project' | 'quiz' | 'resource' | 'reviewable_project' | 'seminar' | 'video' | 'external_resource' | 'kanban_project';
|
|
2
|
-
export interface ResumeUrlPathParams {
|
|
3
|
-
journeySlug?: string;
|
|
4
|
-
pathSlug?: string;
|
|
5
|
-
trackSlug?: string;
|
|
6
|
-
moduleSlug?: string;
|
|
7
|
-
contentItemType?: ContentItemType;
|
|
8
|
-
contentItemSlug?: string;
|
|
9
|
-
}
|
|
10
|
-
export declare const getContentItemTypeRoutePart: (type?: ContentItemType) => string;
|
|
11
|
-
export declare const createResumeUrlPath: ({ journeySlug, pathSlug, trackSlug, moduleSlug, contentItemType, contentItemSlug, }: ResumeUrlPathParams) => string;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Colors } from '@codecademy/gamut-styles';
|
|
2
|
-
import { UserClickData } from '@codecademy/tracking';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import { CorrectAnswerCountsBySubContent, UntestedSubContent } from './types';
|
|
5
|
-
export interface ScoreSummaryProps {
|
|
6
|
-
subScores: CorrectAnswerCountsBySubContent;
|
|
7
|
-
totalCorrect: number;
|
|
8
|
-
totalQuestions: number;
|
|
9
|
-
pathSlug: string;
|
|
10
|
-
trackSlug?: string;
|
|
11
|
-
trackingData?: UserClickData;
|
|
12
|
-
lighterBorderColor?: Colors;
|
|
13
|
-
layout?: 'column' | 'row';
|
|
14
|
-
untestedSubContent?: UntestedSubContent[];
|
|
15
|
-
trackUserClick?: (data: UserClickData) => void;
|
|
16
|
-
description?: string;
|
|
17
|
-
noMaxWidth?: boolean;
|
|
18
|
-
colorfulIcons?: boolean;
|
|
19
|
-
percentToPass?: number;
|
|
20
|
-
}
|
|
21
|
-
export declare const ScoreSummary: React.FC<ScoreSummaryProps>;
|