@codecademy/brand 1.42.1 → 1.43.0-alpha.28d558d05e.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/AppHeaderElements/AppHeaderLinkSections/index.js +0 -0
- package/dist/GlobalHeader/GlobalHeaderItems.js +6 -3
- package/dist/GlobalHeader/index.js +4 -0
- 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 -5
- package/dist/AppHeader/Search/SearchWorker/src.d.ts +0 -1
- package/dist/AppHeader/Search/SearchWorker/types.d.ts +0 -37
- 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 -16
- 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 -89
- 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/PageFAQs.d.ts +0 -10
- package/dist/LandingPage/PageFeatures.d.ts +0 -16
- package/dist/LandingPage/PageFeaturesEnhanced.d.ts +0 -7
- package/dist/LandingPage/PageFeaturesWithReferences.d.ts +0 -19
- package/dist/LandingPage/PageHero.d.ts +0 -7
- 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 -14
- 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 -29
- 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 -48
- 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 -88
- 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 -10
- 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
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React, { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
2
|
-
import { AnchorRefItemType } from '../../shared';
|
|
3
|
-
export interface AppHeaderDropdownContextType {
|
|
4
|
-
firstItemRef?: AnchorRefItemType;
|
|
5
|
-
setFirstItemRef: Dispatch<SetStateAction<AnchorRefItemType>> | undefined;
|
|
6
|
-
}
|
|
7
|
-
export declare const AppHeaderDropdownContext: React.Context<AppHeaderDropdownContextType>;
|
|
8
|
-
export declare const AppHeaderDropdownProvider: React.FC<{
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
handleClose: () => void;
|
|
11
|
-
}>;
|
|
12
|
-
export declare const useAppHeaderDropdownContext: () => AppHeaderDropdownContextType;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Anchor } from '@codecademy/gamut';
|
|
2
|
-
import React, { ComponentProps } from 'react';
|
|
3
|
-
import { AppHeaderAction, AppHeaderLinkItem } from '../../shared';
|
|
4
|
-
export type AppHeaderLinkProps = ComponentProps<typeof Anchor> & AppHeaderAction & {
|
|
5
|
-
isInDropdown?: boolean;
|
|
6
|
-
item: AppHeaderLinkItem;
|
|
7
|
-
mobile?: boolean;
|
|
8
|
-
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
9
|
-
role?: React.AriaRole;
|
|
10
|
-
};
|
|
11
|
-
export declare const AppHeaderLink: React.ForwardRefExoticComponent<(Omit<Omit<Partial<import("@codecademy/gamut/dist/helpers").AppendedIconProps> & {
|
|
12
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
13
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
|
-
} & import("@codecademy/gamut").AnchorProps & Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "onClick" | "href" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "media" | "target" | "type" | keyof React.ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "ping" | "referrerPolicy">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & AppHeaderAction & {
|
|
15
|
-
isInDropdown?: boolean;
|
|
16
|
-
item: AppHeaderLinkItem;
|
|
17
|
-
mobile?: boolean;
|
|
18
|
-
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
19
|
-
role?: React.AriaRole;
|
|
20
|
-
}, "ref"> | Omit<Omit<Partial<import("@codecademy/gamut/dist/helpers").AppendedIconProps> & {
|
|
21
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
22
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
23
|
-
} & import("@codecademy/gamut").AnchorProps & Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "onClick" | "href" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "media" | "target" | "type" | keyof React.ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "ping" | "referrerPolicy"> & Omit<{
|
|
24
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
|
-
} & {
|
|
27
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
28
|
-
} & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "type" | "form" | "name" | "disabled" | keyof React.ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & AppHeaderAction & {
|
|
29
|
-
isInDropdown?: boolean;
|
|
30
|
-
item: AppHeaderLinkItem;
|
|
31
|
-
mobile?: boolean;
|
|
32
|
-
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
33
|
-
role?: React.AriaRole;
|
|
34
|
-
}, "ref"> | Omit<Omit<Partial<import("@codecademy/gamut/dist/helpers").AppendedIconProps> & {
|
|
35
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
37
|
-
} & import("@codecademy/gamut").AnchorProps & Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "onClick" | "href" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "media" | "target" | "type" | keyof React.ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "ping" | "referrerPolicy"> & Omit<{
|
|
38
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
39
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
40
|
-
} & {
|
|
41
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
42
|
-
} & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "type" | "form" | "name" | "disabled" | keyof React.ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value"> & Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "onClick" | "href" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "media" | "target" | "type" | keyof React.ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "ping" | "referrerPolicy">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & AppHeaderAction & {
|
|
43
|
-
isInDropdown?: boolean;
|
|
44
|
-
item: AppHeaderLinkItem;
|
|
45
|
-
mobile?: boolean;
|
|
46
|
-
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
47
|
-
role?: React.AriaRole;
|
|
48
|
-
}, "ref">) & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AppHeaderAction, AppHeaderDropdownItem } from '../../shared';
|
|
3
|
-
export type AppHeaderLinkSectionsProps = AppHeaderAction & {
|
|
4
|
-
item: AppHeaderDropdownItem;
|
|
5
|
-
ref?: React.RefObject<HTMLUListElement>;
|
|
6
|
-
role?: string;
|
|
7
|
-
id?: string;
|
|
8
|
-
style?: {};
|
|
9
|
-
onKeyDown?: (event: React.KeyboardEvent) => void;
|
|
10
|
-
onFocus?: () => void;
|
|
11
|
-
onBlur?: () => void;
|
|
12
|
-
mobile?: boolean;
|
|
13
|
-
tabIndex?: number;
|
|
14
|
-
};
|
|
15
|
-
export declare const AppHeaderLinkSections: React.FC<AppHeaderLinkSectionsProps>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from '@codecademy/gamut';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export declare const StyledListItem: import("@emotion/styled").StyledComponent<{
|
|
4
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
|
-
} & BoxProps & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onClick" | "slot" | "style" | "title" | "children" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onResize" | "onResizeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof React.ClassAttributes<HTMLDivElement>> & {
|
|
7
|
-
theme?: import("@emotion/react").Theme;
|
|
8
|
-
}, {}, {}>;
|
|
9
|
-
type AppHeaderListItemProps = {
|
|
10
|
-
onBlur?: () => void;
|
|
11
|
-
onFocus?: () => void;
|
|
12
|
-
} & BoxProps;
|
|
13
|
-
export declare const AppHeaderListItem: React.FC<AppHeaderListItemProps>;
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Box } from '@codecademy/gamut';
|
|
2
|
-
import React, { ComponentProps, Dispatch, PropsWithChildren, SetStateAction } from 'react';
|
|
3
|
-
import { AnchorRefItemType } from '../../shared';
|
|
4
|
-
export interface AppHeaderMenuContextType {
|
|
5
|
-
menuItems: Set<AnchorRefItemType>;
|
|
6
|
-
setMenuItems: Dispatch<SetStateAction<Set<AnchorRefItemType>>> | undefined;
|
|
7
|
-
resetIndex?: () => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const AppHeaderMenuContext: React.Context<AppHeaderMenuContextType>;
|
|
10
|
-
export type AppHeaderMenuProviderProps = PropsWithChildren<{
|
|
11
|
-
handleClose: () => void;
|
|
12
|
-
}> & Pick<ComponentProps<typeof Box>, 'as'>;
|
|
13
|
-
export declare const AppHeaderMenuProvider: React.FC<AppHeaderMenuProviderProps>;
|
|
14
|
-
export declare const useAppHeaderMenuContext: () => AppHeaderMenuContextType;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { GamutIconProps } from '@codecademy/gamut-icons';
|
|
2
|
-
interface AppHeaderNavButtonBaseProps {
|
|
3
|
-
buttonRef: React.RefObject<HTMLButtonElement>;
|
|
4
|
-
handleOnClick: (event: React.MouseEvent) => void;
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
title?: string;
|
|
7
|
-
}
|
|
8
|
-
interface AppHeaderTextNavButtonProps extends AppHeaderNavButtonBaseProps {
|
|
9
|
-
icon?: never;
|
|
10
|
-
isIconOnly?: never;
|
|
11
|
-
}
|
|
12
|
-
interface AppHeaderIconNavButtonProps extends AppHeaderNavButtonBaseProps {
|
|
13
|
-
icon: React.ComponentType<GamutIconProps>;
|
|
14
|
-
isIconOnly?: boolean;
|
|
15
|
-
}
|
|
16
|
-
type AppHeaderNavButtonProps = AppHeaderTextNavButtonProps | AppHeaderIconNavButtonProps;
|
|
17
|
-
export declare const AppHeaderDropdownNavButton: React.FC<AppHeaderNavButtonProps>;
|
|
18
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AppHeaderProfileDropdownItem } from '../../shared';
|
|
2
|
-
interface AppHeaderMenuNavButtonProps {
|
|
3
|
-
buttonRef: React.RefObject<HTMLButtonElement>;
|
|
4
|
-
handleOnClick: (event: React.MouseEvent) => void;
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
item: AppHeaderProfileDropdownItem;
|
|
7
|
-
}
|
|
8
|
-
export declare const AppHeaderMenuNavButton: React.FC<AppHeaderMenuNavButtonProps>;
|
|
9
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { AppHeaderDropdownItem } from '../../shared';
|
|
2
|
-
interface AppHeaderNavButtonProps {
|
|
3
|
-
buttonRef: React.RefObject<HTMLButtonElement>;
|
|
4
|
-
handleOnClick: (event: React.MouseEvent) => void;
|
|
5
|
-
isOpen: boolean;
|
|
6
|
-
item: AppHeaderDropdownItem;
|
|
7
|
-
}
|
|
8
|
-
export declare const AppHeaderNavButton: React.FC<AppHeaderNavButtonProps>;
|
|
9
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { Dispatch, ReactNode, SetStateAction } from 'react';
|
|
2
|
-
export interface AppHeaderContextType {
|
|
3
|
-
lastOpenedDropdown: string | undefined;
|
|
4
|
-
setLastOpenedDropdown: Dispatch<SetStateAction<string | undefined>> | undefined;
|
|
5
|
-
}
|
|
6
|
-
export declare const AppHeaderContext: React.Context<AppHeaderContextType>;
|
|
7
|
-
export declare const AppHeaderProvider: React.FC<{
|
|
8
|
-
children: ReactNode;
|
|
9
|
-
}>;
|
|
10
|
-
export declare const useAppHeaderContext: () => AppHeaderContextType;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { AppHeaderAction, AppHeaderResourcesDropdownItem } from '../../shared';
|
|
3
|
-
export type AppHeaderResourceDropdownProps = AppHeaderAction & {
|
|
4
|
-
item: AppHeaderResourcesDropdownItem;
|
|
5
|
-
isAnon: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare const AppHeaderResourcesDropdown: React.FC<AppHeaderResourceDropdownProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { RefObject } from 'react';
|
|
3
|
-
import { AppHeaderAction, AppHeaderResourcesDataItem } from '../../shared';
|
|
4
|
-
export type AppHeaderResourcesSectionProps = AppHeaderAction & {
|
|
5
|
-
resources: AppHeaderResourcesDataItem[];
|
|
6
|
-
ref?: RefObject<HTMLUListElement>;
|
|
7
|
-
role?: string;
|
|
8
|
-
id?: string;
|
|
9
|
-
keyDownEvents?: (event: React.KeyboardEvent) => void;
|
|
10
|
-
isOpen?: boolean;
|
|
11
|
-
handleClose?: () => void;
|
|
12
|
-
};
|
|
13
|
-
export declare const AppHeaderResourcesSection: React.ForwardRefExoticComponent<Omit<AppHeaderResourcesSectionProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
interface PopularSearchesProps {
|
|
2
|
-
navigateToSearch: (searchTerm: string) => void;
|
|
3
|
-
onTrackingClick: (target: string, extraTrackingProps?: Record<string, string>) => void;
|
|
4
|
-
}
|
|
5
|
-
export declare const PopularSearches: React.FC<PopularSearchesProps>;
|
|
6
|
-
interface PopularContentProps {
|
|
7
|
-
onTrackingClick: (target: string, extraTrackingProps?: Record<string, string>) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const PopularContent: React.FC<PopularContentProps>;
|
|
10
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const BoldSupportIcon: import("@emotion/styled").StyledComponent<(import("@codecademy/gamut-icons").GamutIconProps & import("react").RefAttributes<SVGSVGElement>) & {
|
|
2
|
-
theme?: import("@emotion/react").Theme;
|
|
3
|
-
}, {}, {}>;
|
|
4
|
-
export declare const QuizAndHelpCenterLinks: React.FC<{
|
|
5
|
-
onTrackingClick: (target: string) => void;
|
|
6
|
-
handleCloseDropdown: () => void;
|
|
7
|
-
}>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { SearchPaneProps } from './types';
|
|
3
|
-
export declare const SemiboldSearchIcon: import("@emotion/styled").StyledComponent<(import("@codecademy/gamut-icons").GamutIconProps & React.RefAttributes<SVGSVGElement>) & {
|
|
4
|
-
theme?: import("@emotion/react").Theme;
|
|
5
|
-
}, {}, {}>;
|
|
6
|
-
export declare const SearchPane: React.FC<SearchPaneProps>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type Resolver<T> = (value: T) => void;
|
|
2
|
-
declare class SplitPromise<T> {
|
|
3
|
-
promise: Promise<T>;
|
|
4
|
-
resolver: Resolver<T>;
|
|
5
|
-
constructor();
|
|
6
|
-
}
|
|
7
|
-
export declare class PromiseLookup<Types> {
|
|
8
|
-
private args;
|
|
9
|
-
constructor(args: {
|
|
10
|
-
onKeyInit: (namespace: keyof Types, key: string) => void;
|
|
11
|
-
});
|
|
12
|
-
namespaces: Map<keyof Types, Map<string, SplitPromise<unknown>>>;
|
|
13
|
-
private getNamespace;
|
|
14
|
-
private getSplitPromise;
|
|
15
|
-
get<N extends keyof Types>(namespace: N, key: string): Promise<Types[N]>;
|
|
16
|
-
resolve<N extends keyof Types>(namespace: N, key: string, value: Types[N]): void;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function serializeSearchWorkerSrc(): string;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export type HighlightSegment = {
|
|
2
|
-
value: string;
|
|
3
|
-
highlight: boolean;
|
|
4
|
-
};
|
|
5
|
-
export type AutocompleteSuggestion = {
|
|
6
|
-
title: string;
|
|
7
|
-
segments: HighlightSegment[];
|
|
8
|
-
};
|
|
9
|
-
interface SearchResults {
|
|
10
|
-
query: string;
|
|
11
|
-
queryLoadTime: number;
|
|
12
|
-
searchId: string;
|
|
13
|
-
resultsCount: number;
|
|
14
|
-
}
|
|
15
|
-
interface BaseTopData {
|
|
16
|
-
type: string;
|
|
17
|
-
title: string;
|
|
18
|
-
slug: string;
|
|
19
|
-
}
|
|
20
|
-
export interface SearchAsYouTypeResults extends SearchResults {
|
|
21
|
-
top: (BaseTopData & {
|
|
22
|
-
contentId?: string;
|
|
23
|
-
segments: HighlightSegment[];
|
|
24
|
-
urlPath: string;
|
|
25
|
-
key: string;
|
|
26
|
-
})[];
|
|
27
|
-
}
|
|
28
|
-
export declare enum SearchAction {
|
|
29
|
-
Autocomplete = "autocomplete",
|
|
30
|
-
SearchAsYouType = "search-as-you-type"
|
|
31
|
-
}
|
|
32
|
-
export type SearchResultTypes = {
|
|
33
|
-
[SearchAction.Autocomplete]: AutocompleteSuggestion[];
|
|
34
|
-
[SearchAction.SearchAsYouType]: SearchAsYouTypeResults;
|
|
35
|
-
};
|
|
36
|
-
export type SearchWorker = <A extends SearchAction>(action: A, query: string) => Promise<SearchResultTypes[A]>;
|
|
37
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export declare const searchPlaceholder = "What are you learning today?";
|
|
2
|
-
export declare const popularSearchTerms: string[];
|
|
3
|
-
export declare enum ContentType {
|
|
4
|
-
COURSE = "Course",
|
|
5
|
-
SKILLPATH = "Skill Path",
|
|
6
|
-
CAREERPATH = "Career Path",
|
|
7
|
-
ARTICLE = "Article",
|
|
8
|
-
DOC = "Doc"
|
|
9
|
-
}
|
|
10
|
-
export declare const popularContent: ({
|
|
11
|
-
title: string;
|
|
12
|
-
href: string;
|
|
13
|
-
type: ContentType;
|
|
14
|
-
slug: string;
|
|
15
|
-
contentId: string;
|
|
16
|
-
} | {
|
|
17
|
-
title: string;
|
|
18
|
-
href: string;
|
|
19
|
-
type: ContentType;
|
|
20
|
-
slug: string;
|
|
21
|
-
contentId?: undefined;
|
|
22
|
-
})[];
|
|
23
|
-
export declare const ALLOWED_HOSTS: string[];
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ButtonBaseElements } from '@codecademy/gamut';
|
|
2
|
-
import { Dispatch, SetStateAction } from 'react';
|
|
3
|
-
interface onTrackingClick {
|
|
4
|
-
onTrackingClick: (target: string, extraTrackingProps?: Record<string, string>) => void;
|
|
5
|
-
}
|
|
6
|
-
interface OnSearch {
|
|
7
|
-
onSearch: (query: string, fromPrevSearch?: string) => void;
|
|
8
|
-
onSearchAsYouType?: (query: string, searchId: string, resultsCount: number, queryLoadTime: number) => void;
|
|
9
|
-
}
|
|
10
|
-
interface ToggleSearch {
|
|
11
|
-
toggleSearch: () => void;
|
|
12
|
-
searchButtonRef: React.RefObject<ButtonBaseElements>;
|
|
13
|
-
}
|
|
14
|
-
export interface AppHeaderSearch extends OnSearch, onTrackingClick {
|
|
15
|
-
onEnable: () => void;
|
|
16
|
-
}
|
|
17
|
-
export interface SearchButtonProps extends ToggleSearch {
|
|
18
|
-
isSearchVisible: boolean;
|
|
19
|
-
setIsSearchVisible: Dispatch<SetStateAction<boolean>>;
|
|
20
|
-
}
|
|
21
|
-
export interface SearchPaneProps extends OnSearch, ToggleSearch, onTrackingClick {
|
|
22
|
-
}
|
|
23
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AppHeaderSearch } from './types';
|
|
2
|
-
export declare const useHeaderSearch: ({ onEnable, onSearch, onTrackingClick, onSearchAsYouType, }: AppHeaderSearch) => readonly [{
|
|
3
|
-
readonly id: "search";
|
|
4
|
-
readonly type: "render-element";
|
|
5
|
-
readonly renderElement: () => import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
}, import("react/jsx-runtime").JSX.Element];
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Menu } from '@codecademy/gamut';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { AppHeaderAction, AppHeaderSearch, FormattedAppHeaderItems } from '..';
|
|
4
|
-
import { AppHeaderNotificationSettings } from '../Notifications/types';
|
|
5
|
-
export * from './Search/consts';
|
|
6
|
-
export type AppHeaderProps = AppHeaderAction & {
|
|
7
|
-
items: FormattedAppHeaderItems;
|
|
8
|
-
notifications?: AppHeaderNotificationSettings;
|
|
9
|
-
redirectParam?: string;
|
|
10
|
-
search: AppHeaderSearch;
|
|
11
|
-
isAnon: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* used to conditonally hide the default search icon and notification bell
|
|
14
|
-
*/
|
|
15
|
-
hideRightButtonDefaults?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* temporary solution to allow this to be used in LXStudio. Future Header epic here: GM-1024
|
|
18
|
-
*/
|
|
19
|
-
isStandalone?: boolean;
|
|
20
|
-
isTeams?: boolean;
|
|
21
|
-
dropdownSpacing?: React.ComponentProps<typeof Menu>['spacing'];
|
|
22
|
-
type?: 'standard' | 'enterprise';
|
|
23
|
-
};
|
|
24
|
-
export declare const AppHeader: React.FC<AppHeaderProps>;
|