@codecademy/brand 1.35.0-alpha.cbe205c512.0 → 1.35.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/AppHeader/Search/SearchWorker/index.js +4 -0
- package/dist/CurriculumCard/index.js +1 -2
- package/dist/InfoCard/index.js +0 -1
- 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 -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 -24
- 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/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 -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 -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 -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
|
@@ -1,310 +0,0 @@
|
|
|
1
|
-
export interface EinConfig {
|
|
2
|
-
container_type: string;
|
|
3
|
-
server?: string;
|
|
4
|
-
codex?: string;
|
|
5
|
-
extensions?: {};
|
|
6
|
-
}
|
|
7
|
-
export interface BaseContentItemProgress {
|
|
8
|
-
content_item_id: string;
|
|
9
|
-
user_id: string;
|
|
10
|
-
started: boolean;
|
|
11
|
-
completed: boolean;
|
|
12
|
-
user_completed: boolean;
|
|
13
|
-
started_at?: string;
|
|
14
|
-
user_completed_at?: string;
|
|
15
|
-
completed_at?: string;
|
|
16
|
-
last_updated?: string;
|
|
17
|
-
progress_percentage?: number;
|
|
18
|
-
}
|
|
19
|
-
export interface ProjectChecklist {
|
|
20
|
-
[id: string]: string | boolean;
|
|
21
|
-
}
|
|
22
|
-
export interface QuizAttempt {
|
|
23
|
-
pct: number;
|
|
24
|
-
correct: number;
|
|
25
|
-
total: number;
|
|
26
|
-
passed: boolean;
|
|
27
|
-
at?: string;
|
|
28
|
-
}
|
|
29
|
-
export interface QuizProgress extends BaseContentItemProgress {
|
|
30
|
-
type: 'quiz';
|
|
31
|
-
total?: number;
|
|
32
|
-
correct?: number;
|
|
33
|
-
pct?: number;
|
|
34
|
-
highest_pct?: number;
|
|
35
|
-
passed?: boolean;
|
|
36
|
-
passed_any?: boolean;
|
|
37
|
-
taken?: boolean;
|
|
38
|
-
quiz_attempts: QuizAttempt[];
|
|
39
|
-
}
|
|
40
|
-
export interface ProjectProgress extends BaseContentItemProgress {
|
|
41
|
-
type: 'project';
|
|
42
|
-
checklist: ProjectChecklist;
|
|
43
|
-
status?: number;
|
|
44
|
-
tasks_complete?: number;
|
|
45
|
-
tasks_total?: number;
|
|
46
|
-
progress_pct: number;
|
|
47
|
-
}
|
|
48
|
-
export interface LessonProgress extends BaseContentItemProgress {
|
|
49
|
-
type: 'lesson';
|
|
50
|
-
exercises_completed: number;
|
|
51
|
-
current_exercise_checkpoints_completed: number;
|
|
52
|
-
exercises_total: number;
|
|
53
|
-
progress_pct: number;
|
|
54
|
-
}
|
|
55
|
-
export interface ArticleProgress extends BaseContentItemProgress {
|
|
56
|
-
type: 'article';
|
|
57
|
-
}
|
|
58
|
-
export interface VideoProgress extends BaseContentItemProgress {
|
|
59
|
-
type: 'video';
|
|
60
|
-
}
|
|
61
|
-
export interface InformationalProgress extends BaseContentItemProgress {
|
|
62
|
-
type: 'informational';
|
|
63
|
-
}
|
|
64
|
-
export interface ExternalResourceProgress extends BaseContentItemProgress {
|
|
65
|
-
type: 'external_resource';
|
|
66
|
-
}
|
|
67
|
-
export type ContentItemProgress = ProjectProgress | QuizProgress | LessonProgress | ArticleProgress | VideoProgress | InformationalProgress | ExternalResourceProgress;
|
|
68
|
-
export interface ContentItemMeta {
|
|
69
|
-
task_count?: number;
|
|
70
|
-
ex_count?: number;
|
|
71
|
-
}
|
|
72
|
-
export type ContentItemType = 'article' | 'context_item' | 'informational' | 'lesson' | 'lock' | 'pro' | 'project_component' | 'project' | 'quiz' | 'resource' | 'reviewable_project' | 'seminar' | 'video' | 'external_resource' | 'kanban_project';
|
|
73
|
-
export type ContentItemResourceType = 'book' | 'documentation' | 'tutorial' | 'general_resource';
|
|
74
|
-
export interface BaseContentItem {
|
|
75
|
-
id: string;
|
|
76
|
-
slug: string;
|
|
77
|
-
created_at: string;
|
|
78
|
-
type: ContentItemType;
|
|
79
|
-
last_modified_at?: string;
|
|
80
|
-
published?: boolean;
|
|
81
|
-
title: string;
|
|
82
|
-
template_vars?: object;
|
|
83
|
-
time?: number;
|
|
84
|
-
meta?: ContentItemMeta;
|
|
85
|
-
description?: string;
|
|
86
|
-
author_ids?: string[];
|
|
87
|
-
tag_ids?: string[];
|
|
88
|
-
is_deprecated?: boolean;
|
|
89
|
-
feedback_link?: string;
|
|
90
|
-
starter_code_link?: string;
|
|
91
|
-
reviewable?: boolean;
|
|
92
|
-
due_date?: string;
|
|
93
|
-
qa_forum_url?: string;
|
|
94
|
-
is_free?: boolean;
|
|
95
|
-
assessment_ids?: string[];
|
|
96
|
-
thumbnail_url?: string;
|
|
97
|
-
progress?: ContentItemProgress;
|
|
98
|
-
resource_type?: ContentItemResourceType;
|
|
99
|
-
learningStandardIds?: string[];
|
|
100
|
-
/**
|
|
101
|
-
* @deprecated
|
|
102
|
-
*/
|
|
103
|
-
content?: object;
|
|
104
|
-
/**
|
|
105
|
-
* @deprecated
|
|
106
|
-
*/
|
|
107
|
-
uuid?: string;
|
|
108
|
-
}
|
|
109
|
-
export interface ProjectTask {
|
|
110
|
-
done?: boolean;
|
|
111
|
-
task_key: string;
|
|
112
|
-
text: string;
|
|
113
|
-
hint?: string;
|
|
114
|
-
}
|
|
115
|
-
export interface ProjectSelfAssessment {
|
|
116
|
-
heading?: string;
|
|
117
|
-
tasks: ProjectTask[];
|
|
118
|
-
}
|
|
119
|
-
export interface Workspace {
|
|
120
|
-
id: string;
|
|
121
|
-
slug: string;
|
|
122
|
-
type?: string;
|
|
123
|
-
ein_config?: EinConfig;
|
|
124
|
-
}
|
|
125
|
-
export interface ProjectInformation {
|
|
126
|
-
self_assessments: ProjectSelfAssessment[];
|
|
127
|
-
components: LayoutComponent[];
|
|
128
|
-
objective: string;
|
|
129
|
-
workspace?: Workspace;
|
|
130
|
-
ein_config: EinConfig;
|
|
131
|
-
download_path?: string;
|
|
132
|
-
preview_url?: string;
|
|
133
|
-
pro_free_project_trial?: boolean;
|
|
134
|
-
thumbnail_url?: string;
|
|
135
|
-
video_url?: string;
|
|
136
|
-
is_free?: boolean;
|
|
137
|
-
}
|
|
138
|
-
export interface ProjectContentItem extends BaseContentItem {
|
|
139
|
-
description: string;
|
|
140
|
-
type: 'project';
|
|
141
|
-
project_information: ProjectInformation;
|
|
142
|
-
standalone: boolean;
|
|
143
|
-
}
|
|
144
|
-
export type BriefProject = ProjectContentItem & {
|
|
145
|
-
projectInformation: ProjectInformation;
|
|
146
|
-
};
|
|
147
|
-
export interface FakeResponse {
|
|
148
|
-
id: string;
|
|
149
|
-
delay: number;
|
|
150
|
-
match_pattern: string;
|
|
151
|
-
output_content: string;
|
|
152
|
-
output_type: 'stderr' | 'stdout';
|
|
153
|
-
}
|
|
154
|
-
export interface BriefComponent {
|
|
155
|
-
type: 'Brief';
|
|
156
|
-
project: BriefProject;
|
|
157
|
-
}
|
|
158
|
-
export interface NarrativeComponent {
|
|
159
|
-
id: string;
|
|
160
|
-
type: 'Narrative';
|
|
161
|
-
content: string;
|
|
162
|
-
instructions?: string;
|
|
163
|
-
}
|
|
164
|
-
export interface ImageComponent {
|
|
165
|
-
id: string;
|
|
166
|
-
type: 'Image';
|
|
167
|
-
image_url: string;
|
|
168
|
-
alt_text: string;
|
|
169
|
-
}
|
|
170
|
-
export interface PersistentCodeEditorComponent {
|
|
171
|
-
id: string;
|
|
172
|
-
type: 'PersistentCodeEditor';
|
|
173
|
-
files: string[];
|
|
174
|
-
navigator_disabled?: boolean;
|
|
175
|
-
no_run_button?: boolean;
|
|
176
|
-
}
|
|
177
|
-
export interface ReadOnlyCodeEditorComponent {
|
|
178
|
-
id: string;
|
|
179
|
-
type: 'ReadOnlyCodeEditor';
|
|
180
|
-
file_path: string;
|
|
181
|
-
}
|
|
182
|
-
export interface OutputTerminalComponent {
|
|
183
|
-
id?: string;
|
|
184
|
-
type: 'OutputTerminal';
|
|
185
|
-
}
|
|
186
|
-
export interface SQLPreviewComponent {
|
|
187
|
-
id: string;
|
|
188
|
-
type: 'SQLPreview';
|
|
189
|
-
}
|
|
190
|
-
export interface TerminalComponent {
|
|
191
|
-
id: string;
|
|
192
|
-
type: 'Terminal';
|
|
193
|
-
shell: string;
|
|
194
|
-
prevent_checkpoint_run?: boolean;
|
|
195
|
-
fake_responses: FakeResponse[];
|
|
196
|
-
}
|
|
197
|
-
export interface VideoComponent {
|
|
198
|
-
id: string;
|
|
199
|
-
type: 'Video';
|
|
200
|
-
video_urls: string[];
|
|
201
|
-
autoplay?: boolean;
|
|
202
|
-
mute?: boolean;
|
|
203
|
-
loop?: boolean;
|
|
204
|
-
show_controls?: boolean;
|
|
205
|
-
}
|
|
206
|
-
export interface WebBrowserComponent {
|
|
207
|
-
id: string;
|
|
208
|
-
type: 'WebBrowser';
|
|
209
|
-
display_url: string;
|
|
210
|
-
show_preview_button?: boolean;
|
|
211
|
-
hide_browser_bar?: boolean;
|
|
212
|
-
}
|
|
213
|
-
export interface ExpoCodeEditorComponent {
|
|
214
|
-
id: string;
|
|
215
|
-
type: 'ExpoCodeEditor';
|
|
216
|
-
files: string[];
|
|
217
|
-
}
|
|
218
|
-
export interface ExpoPreviewComponent {
|
|
219
|
-
id: string;
|
|
220
|
-
type: 'ExpoPreview';
|
|
221
|
-
display_url: string;
|
|
222
|
-
hide_browser_bar?: boolean;
|
|
223
|
-
}
|
|
224
|
-
export interface ReplTerminalComponent {
|
|
225
|
-
type: 'ReplTerminal';
|
|
226
|
-
shell: string;
|
|
227
|
-
}
|
|
228
|
-
export interface SandboxCodeEditorComponent {
|
|
229
|
-
type: 'SandboxCodeEditor';
|
|
230
|
-
files?: string[];
|
|
231
|
-
runFileCommand?: (file: string) => string;
|
|
232
|
-
}
|
|
233
|
-
export interface SandboxOutputTerminalComponent {
|
|
234
|
-
type: 'SandboxOutputTerminal';
|
|
235
|
-
}
|
|
236
|
-
export interface CodeChallengeNarrativeComponent {
|
|
237
|
-
id: string;
|
|
238
|
-
type: 'CodeChallengeNarrative';
|
|
239
|
-
content: string;
|
|
240
|
-
instructions?: string;
|
|
241
|
-
}
|
|
242
|
-
export type LayoutComponent = BriefComponent | NarrativeComponent | ImageComponent | PersistentCodeEditorComponent | ReadOnlyCodeEditorComponent | OutputTerminalComponent | SQLPreviewComponent | TerminalComponent | VideoComponent | WebBrowserComponent | ExpoCodeEditorComponent | ExpoPreviewComponent | ReplTerminalComponent | SandboxCodeEditorComponent | SandboxOutputTerminalComponent | CodeChallengeNarrativeComponent;
|
|
243
|
-
export interface AssessmentAnswer {
|
|
244
|
-
text: string;
|
|
245
|
-
reason?: string | null;
|
|
246
|
-
hint?: string;
|
|
247
|
-
}
|
|
248
|
-
export interface AssessmentCodeSnippet {
|
|
249
|
-
id?: string;
|
|
250
|
-
text: string;
|
|
251
|
-
language: string;
|
|
252
|
-
}
|
|
253
|
-
export interface ContentTestOptions {
|
|
254
|
-
command?: string;
|
|
255
|
-
failure_message?: string;
|
|
256
|
-
passive?: boolean;
|
|
257
|
-
withBabel?: boolean;
|
|
258
|
-
includeFiles?: string[];
|
|
259
|
-
}
|
|
260
|
-
export interface BaseAssessment {
|
|
261
|
-
id: string;
|
|
262
|
-
published: boolean;
|
|
263
|
-
created_at: string;
|
|
264
|
-
components: LayoutComponent[];
|
|
265
|
-
last_modified_at: string;
|
|
266
|
-
prompt?: string;
|
|
267
|
-
standalone?: boolean;
|
|
268
|
-
image?: {
|
|
269
|
-
url: string;
|
|
270
|
-
alt: string;
|
|
271
|
-
} | null;
|
|
272
|
-
sourceId: string;
|
|
273
|
-
}
|
|
274
|
-
export type AssessmentFillInTheCode = BaseAssessment & {
|
|
275
|
-
type: 'fill_in_code';
|
|
276
|
-
answers: AssessmentAnswer[];
|
|
277
|
-
snippet_template: string;
|
|
278
|
-
decoy_answers: string[];
|
|
279
|
-
code_language: string;
|
|
280
|
-
};
|
|
281
|
-
export type AssessmentECA = BaseAssessment & {
|
|
282
|
-
type: 'executable_code';
|
|
283
|
-
ein_config: EinConfig;
|
|
284
|
-
};
|
|
285
|
-
export type AssessmentMultipleChoice = BaseAssessment & {
|
|
286
|
-
type: 'multiple_choice';
|
|
287
|
-
code_snippet: AssessmentCodeSnippet | null;
|
|
288
|
-
answers: AssessmentAnswer[];
|
|
289
|
-
correct_answer: number;
|
|
290
|
-
latex_block: {
|
|
291
|
-
text: string;
|
|
292
|
-
} | null;
|
|
293
|
-
};
|
|
294
|
-
export type Assessment = AssessmentECA | AssessmentFillInTheCode | AssessmentMultipleChoice;
|
|
295
|
-
export interface CorrectAnswerCountsBySubContent {
|
|
296
|
-
[key: string]: {
|
|
297
|
-
title: string;
|
|
298
|
-
correct: number;
|
|
299
|
-
total: number;
|
|
300
|
-
slug: string;
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
export interface SubContentAssessments {
|
|
304
|
-
assessments: Assessment[];
|
|
305
|
-
contains_new_content: boolean;
|
|
306
|
-
id: string;
|
|
307
|
-
slug: string;
|
|
308
|
-
title: string;
|
|
309
|
-
}
|
|
310
|
-
export type UntestedSubContent = Pick<SubContentAssessments, 'id' | 'slug' | 'title'>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { HeadingTags } from '@codecademy/gamut';
|
|
2
|
-
import { CourseDifficulty, EnrollmentStatus } from '../ContentGroupBaseCard/types';
|
|
3
|
-
export interface SkillPathCardProps {
|
|
4
|
-
title: string;
|
|
5
|
-
lessonCount: number;
|
|
6
|
-
enrollmentStatus: EnrollmentStatus;
|
|
7
|
-
shortDescription?: string | null;
|
|
8
|
-
difficulty?: CourseDifficulty | null;
|
|
9
|
-
imageUrl: string;
|
|
10
|
-
courseCount: number;
|
|
11
|
-
isFullSize?: boolean;
|
|
12
|
-
headingLevel?: HeadingTags;
|
|
13
|
-
timeToComplete?: number | null;
|
|
14
|
-
header?: React.ReactNode;
|
|
15
|
-
footer?: React.ReactNode;
|
|
16
|
-
}
|
|
17
|
-
export declare const SkillPathCard: React.FC<SkillPathCardProps>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { GamutIconProps } from '@codecademy/gamut-icons';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export type BaseSocialShareProps = {
|
|
4
|
-
sectionId?: string;
|
|
5
|
-
size?: 'small' | 'normal';
|
|
6
|
-
};
|
|
7
|
-
export type SocialShareIconLinkProps = BaseSocialShareProps & {
|
|
8
|
-
icon: React.ComponentType<GamutIconProps>;
|
|
9
|
-
id: string;
|
|
10
|
-
href: string;
|
|
11
|
-
onClick?: (e: React.MouseEvent) => void;
|
|
12
|
-
};
|
|
13
|
-
export declare const SocialShareIconLink: React.FC<SocialShareIconLinkProps>;
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import type { BaseSocialShareProps } from './SocialShareIconLink';
|
|
3
|
-
export type SocialMediaShare = {
|
|
4
|
-
url: string;
|
|
5
|
-
message?: string;
|
|
6
|
-
hashtags?: string[];
|
|
7
|
-
mention?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const createShareLink: (formatter: (payload: SocialMediaShare) => Record<string, string>, baseUri: string, payload: SocialMediaShare) => string;
|
|
10
|
-
export declare const SOCIAL_SHARING_PLATFORMS: ({
|
|
11
|
-
id: string;
|
|
12
|
-
displayName: string;
|
|
13
|
-
icon: React.ForwardRefExoticComponent<import("@codecademy/gamut-icons").GamutIconProps & React.RefAttributes<SVGSVGElement>>;
|
|
14
|
-
baseUrl: string;
|
|
15
|
-
formatShare: ({ url, message }: SocialMediaShare) => {
|
|
16
|
-
hashtag: string;
|
|
17
|
-
quote?: string | undefined;
|
|
18
|
-
href?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
} | {
|
|
21
|
-
id: string;
|
|
22
|
-
displayName: string;
|
|
23
|
-
icon: React.ForwardRefExoticComponent<import("@codecademy/gamut-icons").GamutIconProps & React.RefAttributes<SVGSVGElement>>;
|
|
24
|
-
baseUrl: string;
|
|
25
|
-
formatShare: ({ url, message, hashtags, mention }: SocialMediaShare) => {
|
|
26
|
-
via?: string | undefined;
|
|
27
|
-
hashtags?: string | undefined;
|
|
28
|
-
text?: string | undefined;
|
|
29
|
-
url?: string | undefined;
|
|
30
|
-
};
|
|
31
|
-
} | {
|
|
32
|
-
id: string;
|
|
33
|
-
displayName: string;
|
|
34
|
-
icon: React.ForwardRefExoticComponent<import("@codecademy/gamut-icons").GamutIconProps & React.RefAttributes<SVGSVGElement>>;
|
|
35
|
-
baseUrl: string;
|
|
36
|
-
formatShare: ({ url }: SocialMediaShare) => {
|
|
37
|
-
url: string;
|
|
38
|
-
};
|
|
39
|
-
})[];
|
|
40
|
-
export type SocialMediaSharingProps = BaseSocialShareProps & {
|
|
41
|
-
url: string;
|
|
42
|
-
message?: string;
|
|
43
|
-
hashtags?: string[];
|
|
44
|
-
mention?: string;
|
|
45
|
-
action?: (e: React.MouseEvent, target: string) => void;
|
|
46
|
-
label?: string;
|
|
47
|
-
iconStyles?: string;
|
|
48
|
-
};
|
|
49
|
-
export declare const SocialMediaSharing: React.FC<SocialMediaSharingProps>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { PopoverYPositionType } from '@codecademy/gamut';
|
|
2
|
-
export type SocialMediaSharingDropdownProps = {
|
|
3
|
-
url: string;
|
|
4
|
-
message?: string;
|
|
5
|
-
hashtags?: string[];
|
|
6
|
-
mention?: string;
|
|
7
|
-
action?: (e: React.MouseEvent, target: string) => void;
|
|
8
|
-
defaultPosition?: PopoverYPositionType['position'];
|
|
9
|
-
addAlert?: (alert: {
|
|
10
|
-
message: string;
|
|
11
|
-
onClose: () => void;
|
|
12
|
-
}) => void;
|
|
13
|
-
};
|
|
14
|
-
export declare const onClickWrapper: (e: React.MouseEvent, id: string, href: string, action?: SocialMediaSharingDropdownProps["action"]) => void;
|
|
15
|
-
export declare const SocialMediaSharingDropdown: React.FC<SocialMediaSharingDropdownProps>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const TestimonialCard: import("@emotion/styled").StyledComponent<import("@codecademy/gamut/dist/Card/types").CardProps & {
|
|
4
|
-
theme?: import("@emotion/react").Theme;
|
|
5
|
-
} & {
|
|
6
|
-
mode?: "light" | "dark" | undefined;
|
|
7
|
-
}, {}, {}>;
|
|
8
|
-
declare const TestimonialContent: import("@emotion/styled").StyledComponent<{
|
|
9
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
11
|
-
} & import("@codecademy/gamut").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>> & {
|
|
12
|
-
theme?: import("@emotion/react").Theme;
|
|
13
|
-
} & import("@codecademy/variance/dist/types/config").VariantProps<"orientation", false | "horizontal" | "vertical">, {}, {}>;
|
|
14
|
-
export type TestimonialProps = ComponentProps<typeof TestimonialCard> & Pick<ComponentProps<typeof TestimonialContent>, 'orientation'> & {
|
|
15
|
-
firstName: string;
|
|
16
|
-
lastName?: string;
|
|
17
|
-
quote: string;
|
|
18
|
-
/**
|
|
19
|
-
* City location
|
|
20
|
-
*/
|
|
21
|
-
location?: string;
|
|
22
|
-
/**
|
|
23
|
-
* associated occupation of the person.
|
|
24
|
-
*/
|
|
25
|
-
occupation?: string | null;
|
|
26
|
-
/**
|
|
27
|
-
* Associated workplace or institution
|
|
28
|
-
*/
|
|
29
|
-
company?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
* Portrait image src
|
|
32
|
-
*/
|
|
33
|
-
imageUrl?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
* setting this href will wrap the testimonial card with an anchor tag.
|
|
36
|
-
*/
|
|
37
|
-
href?: string | null;
|
|
38
|
-
/**
|
|
39
|
-
* used to conditonally hide the portrait photo
|
|
40
|
-
*/
|
|
41
|
-
hidePhoto?: boolean;
|
|
42
|
-
onClick?: () => void;
|
|
43
|
-
};
|
|
44
|
-
export declare const Testimonial: React.FC<TestimonialProps>;
|
|
45
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="109" height="74" xmlns="http://www.w3.org/2000/svg"><path d="M45.874 51.23c0-8.02-3.844-14.489-9.738-18.37L51 0H23.834L3.588 38.294C1.794 41.657 0 47.608 0 51.23 0 63.909 10.508 74 23.578 74c12.301 0 22.296-10.09 22.296-22.77zm57.974 0c0 12.68-9.787 22.77-22.409 22.77C68.303 74 58 63.91 58 51.23c0-3.622 1.545-9.573 3.348-12.936L81.697 0H109L94.06 32.86c6.182 3.881 9.788 10.35 9.788 18.37z" fill="#008A27" fill-rule="evenodd"/></svg>
|
package/dist/assets/dots.svg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="6" height="6" xmlns="http://www.w3.org/2000/svg"><g fill="#FFF" fill-rule="evenodd"><path d="M1 1h1v1H1zm0 1h1v1H1zm1-1h1v1H2zM1 0h1v1H1zM0 1h1v1H0zM4 4h1v1H4zm0 1h1v1H4zm1-1h1v1H5zM4 3h1v1H4zM3 4h1v1H3z"/></g></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="109" height="74" xmlns="http://www.w3.org/2000/svg"><path d="M45.874 51.23c0-8.02-3.844-14.489-9.738-18.37L51 0H23.834L3.588 38.294C1.794 41.657 0 47.608 0 51.23 0 63.909 10.508 74 23.578 74c12.301 0 22.296-10.09 22.296-22.77zm57.974 0c0 12.68-9.787 22.77-22.409 22.77C68.303 74 58 63.91 58 51.23c0-3.622 1.545-9.573 3.348-12.936L81.697 0H109L94.06 32.86c6.182 3.881 9.788 10.35 9.788 18.37z" fill="#AEE938" fill-rule="evenodd"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg width="186" height="120" xmlns="http://www.w3.org/2000/svg"><path d="M-13 136c13.757-8.504 11.55-21.74 25.306-30.244 13.757-8.504 19.152-1.142 32.909-9.647 13.757-8.504 8.362-15.866 22.12-24.37 13.757-8.504 19.152-1.15 32.917-9.655 13.758-8.505 8.353-15.857 22.111-24.361 13.766-8.504 19.16-1.152 32.917-9.656 13.767-8.504 8.363-15.857 22.12-24.361C180.505 1.78 183.198.663 185.643 0H202v136H-13z" fill="#FF9F3C" fill-rule="evenodd"/></svg>
|
package/dist/index.d.ts
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
export * as LayoutMenuVariant from './LayoutMenuVariant';
|
|
2
|
-
export * from './AbbreviatedCommunityEventCard';
|
|
3
|
-
export * from './AppBar';
|
|
4
|
-
export * from './AppBar/AppBarSection';
|
|
5
|
-
export * from './AppBarDeprecated';
|
|
6
|
-
export * from './AppBarDeprecated/AppBarSectionDeprecated';
|
|
7
|
-
export * from './AppHeader';
|
|
8
|
-
export * from './AppHeader/AppHeaderElements/AppHeaderDropdown';
|
|
9
|
-
export * from './AppHeader/AppHeaderElements/AppHeaderLink';
|
|
10
|
-
export * from './AppHeader/AppHeaderElements/AppHeaderLogo';
|
|
11
|
-
export * from './AppHeader/shared/types';
|
|
12
|
-
export * from './AppHeaderMobile';
|
|
13
|
-
export * from './AppHeaderMobile/AppHeaderMainMenuMobile';
|
|
14
|
-
export * from './AppHeaderMobile/AppHeaderSubMenuMobile';
|
|
15
|
-
export * from './Avatar';
|
|
16
|
-
export * from './AvatarChooser';
|
|
17
|
-
export * from './BackToTopAnchor';
|
|
18
|
-
export * from './Banner';
|
|
19
|
-
export * from './BetaSticker';
|
|
20
|
-
export * from './CareerPathCard';
|
|
21
|
-
export * from './Carousel';
|
|
22
|
-
export * from './CertificationPathCard';
|
|
23
|
-
export * from './CommunityEventCard';
|
|
24
|
-
export * from './CommunityEventToast';
|
|
25
|
-
export * from './ContentGroupBaseCard';
|
|
26
|
-
export * from './ContentGroupBaseCard/types';
|
|
27
|
-
export * from './ContentGroupBaseCard/helpers';
|
|
28
|
-
export * from './CourseCard';
|
|
29
|
-
export * from './CurriculumCard';
|
|
30
|
-
export * from './CurriculumCard/Difficulty';
|
|
31
|
-
export * from './CurriculumCard/Difficulty/types';
|
|
32
|
-
export * from './CurriculumCard/Difficulty/helpers';
|
|
33
|
-
export * from './DropdownButton';
|
|
34
|
-
export * from './EditorialImage';
|
|
35
|
-
export * from './EmptySection';
|
|
36
|
-
export * from './NotFoundContent';
|
|
37
|
-
export * from './ErrorContents';
|
|
38
|
-
export * from './GlobalFooter';
|
|
39
|
-
export * from './GlobalHeader';
|
|
40
|
-
export * from './GlobalPage';
|
|
41
|
-
export * from './Grid';
|
|
42
|
-
export * from './HorizontalScrollMenu';
|
|
43
|
-
export * from './HubCard';
|
|
44
|
-
export * from './InfoCard';
|
|
45
|
-
export * from './Konamimojisplosion';
|
|
46
|
-
export * from './LandingPage';
|
|
47
|
-
export * from './LayoutMenu';
|
|
48
|
-
export * from './LearningOutcomeBadges';
|
|
49
|
-
export * from './LearningOutcomeCard';
|
|
50
|
-
export * from './LearningOutcomeTile';
|
|
51
|
-
export * from './lib/breakpointHooks';
|
|
52
|
-
export * from './ListSection';
|
|
53
|
-
export * from './Loading';
|
|
54
|
-
export * from './LoadingCurriculumCard';
|
|
55
|
-
export * from './Logo';
|
|
56
|
-
export * from './LogoFromSkillsoft';
|
|
57
|
-
export * from './LogoLXStudio';
|
|
58
|
-
export * from './MarketingToaster';
|
|
59
|
-
export * from './NotificationList';
|
|
60
|
-
export * from './NotificationList/NotificationItem';
|
|
61
|
-
export * from './NotificationList/typings';
|
|
62
|
-
export * from './PageAlerts';
|
|
63
|
-
export * from './PageLayoutWithSidebarMenu';
|
|
64
|
-
export * from './PageSection';
|
|
65
|
-
export * from './PastDue';
|
|
66
|
-
export * from './PausableImage';
|
|
67
|
-
export * from './PlanCard';
|
|
68
|
-
export * from './PlanCardTeams';
|
|
69
|
-
export * from './PlanCard/PlanCardBanner';
|
|
70
|
-
export * from './PlanCard/types';
|
|
71
|
-
export * from './PricingSection';
|
|
72
|
-
export * from './ProductFeatureShowcase';
|
|
73
|
-
export * from './ProLabel';
|
|
74
|
-
export * from './ProLogo';
|
|
75
|
-
export * from './ProLogoAlt';
|
|
76
|
-
export * from './RatingsBar';
|
|
77
|
-
export * from './ResourceCard';
|
|
78
|
-
export * from './ScoreSummary';
|
|
79
|
-
export * from './ScoreSummary/SubScores';
|
|
80
|
-
export * from './ScoreSummary/types';
|
|
81
|
-
export * from './SkillPathCard';
|
|
82
|
-
export * from './SocialMediaSharing';
|
|
83
|
-
export * from './SocialMediaSharingDropdown';
|
|
84
|
-
export * from './Testimonial';
|
|
85
|
-
export * from './AppHeader/Search/SearchWorker';
|
|
86
|
-
export type { AnonHeaderVariant } from './GlobalHeader/types';
|
|
87
|
-
export type { AppHeaderNotificationSettings } from './Notifications/types';
|
|
88
|
-
export type { AppHeaderSearch } from './AppHeader/Search/types';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export type Breakpoint = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
|
-
export type BreakpointMinWidths = Record<Breakpoint, number>;
|
|
3
|
-
export declare const breakpoints: BreakpointMinWidths;
|
|
4
|
-
/**
|
|
5
|
-
* useBreakpoint will provide the current breakpoint to a React component.
|
|
6
|
-
*
|
|
7
|
-
* If you think you need this, make sure to think twice. It is really nice
|
|
8
|
-
* to allow your styles layer to concern itself about the appearance of a
|
|
9
|
-
* component at different screen sizes, and not have to maintain two different
|
|
10
|
-
* components that could drift from eachother. That being said, sometimes
|
|
11
|
-
* The content, layout, and/or functionality of a mobile page/component can
|
|
12
|
-
* be so different that it is non-performant or difficult to maintain the
|
|
13
|
-
* changes in only styles. For those cases where it is actually easier to maintain
|
|
14
|
-
* two components or a programatic distinction of the breakpoint, this helper
|
|
15
|
-
* exists.
|
|
16
|
-
*
|
|
17
|
-
* @deprecated
|
|
18
|
-
* Use Box, LayoutGrid, or other responsive Gamut components instead.
|
|
19
|
-
* JavaScript-time screen size checks are notorious for worsening page performance.
|
|
20
|
-
* @see https://web.dev/cls
|
|
21
|
-
*/
|
|
22
|
-
export declare const useBreakpoint: () => keyof typeof breakpoints;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated
|
|
25
|
-
* Use Box, LayoutGrid, or other responsive Gamut components instead.
|
|
26
|
-
* JavaScript-time screen size checks are notorious for worsening page performance.
|
|
27
|
-
* @see https://web.dev/cls
|
|
28
|
-
*/
|
|
29
|
-
export declare function useBreakpointAtOrAbove(breakpoint: Breakpoint): boolean;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated
|
|
32
|
-
* Use Box, LayoutGrid, or other responsive Gamut components instead.
|
|
33
|
-
* JavaScript-time screen size checks are notorious for worsening page performance.
|
|
34
|
-
* @see https://web.dev/cls
|
|
35
|
-
*/
|
|
36
|
-
export declare function useBreakpointAt(breakpoint: Breakpoint): boolean;
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated
|
|
39
|
-
* Use Box, LayoutGrid, or other responsive Gamut components instead.
|
|
40
|
-
* JavaScript-time screen size checks are notorious for worsening page performance.
|
|
41
|
-
* @see https://web.dev/cls
|
|
42
|
-
*/
|
|
43
|
-
export declare function useBreakpointAtOrBelow(breakpoint: Breakpoint): boolean;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AppHeaderLinkItem, AppHeaderResourcesDataItem } from '../../AppHeader/shared';
|
|
2
|
-
export declare const careerPaths: AppHeaderLinkItem[];
|
|
3
|
-
export declare const liveLearningHubItems: AppHeaderResourcesDataItem;
|
|
4
|
-
export declare const topLanguages: AppHeaderLinkItem[];
|
|
5
|
-
export declare const getTopSubjects: () => AppHeaderLinkItem[];
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { AppFooterResourcesDataItem, AppHeaderResourcesDataItem } from '../../AppHeader/shared';
|
|
2
|
-
export declare const renderBadge: (text: string) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare const renderNewBadge: (mt?: number) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const footerResourcesList: AppFooterResourcesDataItem[];
|
|
5
|
-
export declare const getHeaderResourcesList: (isLiveLearningHubEnabled?: boolean) => AppHeaderResourcesDataItem[];
|
package/dist/png.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
declare module 'react-freezeframe';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const BASE_STATIC_ASSET_PATH = "https://static-assets.codecademy.com/components";
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { BetaSticker } from '../../index';
|
|
3
|
-
declare const meta: Meta<typeof BetaSticker>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof BetaSticker>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Small: Story;
|