@codecademy/brand 3.40.1-alpha.db88c958d7.0 → 4.0.0-alpha.0ae245495b.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AbbreviatedCommunityEventCard/index.cjs +89 -0
- package/dist/AbbreviatedCommunityEventCard/index.d.cts +11 -0
- package/dist/AbbreviatedCommunityEventCard/index.d.ts +10 -7
- package/dist/AbbreviatedCommunityEventCard/index.js +86 -98
- package/dist/AppBar/AppBarSection.cjs +40 -0
- package/dist/AppBar/AppBarSection.d.cts +15 -0
- package/dist/AppBar/AppBarSection.d.ts +15 -10
- package/dist/AppBar/AppBarSection.js +35 -39
- package/dist/AppBar/index.cjs +22 -0
- package/dist/AppBar/index.d.cts +13 -0
- package/dist/AppBar/index.d.ts +12 -8
- package/dist/AppBar/index.js +20 -20
- package/dist/AppBarDeprecated/AppBarSectionDeprecated.cjs +26 -0
- package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.cts +18 -0
- package/dist/AppBarDeprecated/AppBarSectionDeprecated.d.ts +13 -9
- package/dist/AppBarDeprecated/AppBarSectionDeprecated.js +21 -23
- package/dist/AppBarDeprecated/index.cjs +27 -0
- package/dist/AppBarDeprecated/index.d.cts +18 -0
- package/dist/AppBarDeprecated/index.d.ts +13 -9
- package/dist/AppBarDeprecated/index.js +22 -24
- package/dist/AppBarDeprecated/styles/index.module.cjs +5 -0
- package/dist/AppBarDeprecated/styles/index.module.js +5 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/MarketingBanner.cjs +134 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/MarketingBanner.js +132 -109
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.cjs +300 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.js +288 -336
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.cjs +274 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.js +270 -226
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.cjs +110 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.cts +8 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +9 -5
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.js +107 -123
- package/dist/AppHeader/AppHeaderElements/AppHeaderDietCard/index.cjs +114 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDietCard/index.js +112 -124
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.cjs +97 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.cts +16 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.d.ts +16 -11
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdown/index.js +94 -113
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.cjs +36 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.js +29 -27
- package/dist/AppHeader/AppHeaderElements/AppHeaderFeatureCard/index.cjs +61 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderFeatureCard/index.js +59 -56
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.cjs +59 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.cts +56 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +53 -44
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.js +56 -70
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/elements.cjs +34 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/elements.js +32 -36
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.cjs +44 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +41 -59
- package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.cjs +26 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.js +23 -32
- package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.cjs +53 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.cts +10 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.d.ts +10 -5
- package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.js +49 -55
- package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.cjs +85 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.js +80 -86
- package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.cjs +80 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.js +76 -101
- package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.cjs +25 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.js +20 -17
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.cjs +118 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.js +110 -131
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/consts.cjs +341 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/consts.js +335 -291
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.cjs +105 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.cts +8 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +9 -5
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.js +102 -118
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/AppHeaderSectionContext.cjs +18 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/AppHeaderSectionContext.js +15 -10
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileBackButton.cjs +85 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileBackButton.js +83 -89
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileNavMenu.cjs +51 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileNavMenu.js +49 -61
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/NavTabs.cjs +105 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/NavTabs.js +98 -125
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/PanelLayout.cjs +84 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/PanelLayout.js +83 -81
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/elements.cjs +179 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/elements.js +168 -118
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/index.cjs +119 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/index.js +117 -145
- package/dist/AppHeader/AppHeaderElements/AppHeaderSkillTile/index.cjs +55 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderSkillTile/index.js +53 -65
- package/dist/AppHeader/Search/DefaultResults.cjs +105 -0
- package/dist/AppHeader/Search/DefaultResults.js +101 -111
- package/dist/AppHeader/Search/QuizAndHelpCenterLinks.cjs +70 -0
- package/dist/AppHeader/Search/QuizAndHelpCenterLinks.js +68 -79
- package/dist/AppHeader/Search/SearchButton.cjs +50 -0
- package/dist/AppHeader/Search/SearchButton.js +46 -71
- package/dist/AppHeader/Search/SearchPane.cjs +482 -0
- package/dist/AppHeader/Search/SearchPane.js +472 -595
- package/dist/AppHeader/Search/SearchTrackingProvider/index.cjs +32 -0
- package/dist/AppHeader/Search/SearchTrackingProvider/index.js +26 -23
- package/dist/AppHeader/Search/SearchWorker/PromiseLookup.cjs +43 -0
- package/dist/AppHeader/Search/SearchWorker/PromiseLookup.js +43 -35
- package/dist/AppHeader/Search/SearchWorker/index.cjs +24 -0
- package/dist/AppHeader/Search/SearchWorker/index.d.cts +10 -0
- package/dist/AppHeader/Search/SearchWorker/index.d.ts +9 -4
- package/dist/AppHeader/Search/SearchWorker/index.js +23 -23
- package/dist/AppHeader/Search/SearchWorker/src.cjs +159 -0
- package/dist/AppHeader/Search/SearchWorker/src.js +153 -305
- package/dist/AppHeader/Search/SearchWorker/types.cjs +10 -0
- package/dist/AppHeader/Search/SearchWorker/types.d.cts +30 -0
- package/dist/AppHeader/Search/SearchWorker/types.d.ts +23 -30
- package/dist/AppHeader/Search/SearchWorker/types.js +9 -5
- package/dist/AppHeader/Search/SearchWorker/worker.cjs +26 -0
- package/dist/AppHeader/Search/SearchWorker/worker.js +24 -29
- package/dist/AppHeader/Search/consts.cjs +68 -0
- package/dist/AppHeader/Search/consts.d.cts +26 -0
- package/dist/AppHeader/Search/consts.d.ts +23 -20
- package/dist/AppHeader/Search/consts.js +62 -39
- package/dist/AppHeader/Search/hooks/useUrlChangeDetection.cjs +17 -0
- package/dist/AppHeader/Search/hooks/useUrlChangeDetection.js +16 -14
- package/dist/AppHeader/Search/safelyRedirect.cjs +39 -0
- package/dist/AppHeader/Search/safelyRedirect.js +32 -42
- package/dist/AppHeader/Search/types.d.cts +14 -0
- package/dist/AppHeader/Search/types.d.ts +11 -19
- package/dist/AppHeader/Search/useHeaderSearch.cjs +39 -0
- package/dist/AppHeader/Search/useHeaderSearch.js +38 -40
- package/dist/AppHeader/index.cjs +97 -0
- package/dist/AppHeader/index.d.cts +28 -0
- package/dist/AppHeader/index.d.ts +28 -22
- package/dist/AppHeader/index.js +90 -98
- package/dist/AppHeader/shared/elements.cjs +172 -0
- package/dist/AppHeader/shared/elements.d.ts +9 -90
- package/dist/AppHeader/shared/elements.js +152 -243
- package/dist/AppHeader/shared/index.d.ts +4 -4
- package/dist/AppHeader/shared/keyboardNav.cjs +67 -0
- package/dist/AppHeader/shared/keyboardNav.d.ts +1 -23
- package/dist/AppHeader/shared/keyboardNav.js +63 -65
- package/dist/AppHeader/shared/mockAppHeaderItems.d.ts +1 -2
- package/dist/AppHeader/shared/types.cjs +6 -0
- package/dist/AppHeader/shared/types.d.cts +111 -0
- package/dist/AppHeader/shared/types.d.ts +108 -105
- package/dist/AppHeader/shared/types.js +5 -1
- package/dist/AppHeader/shared/utils.cjs +85 -0
- package/dist/AppHeader/shared/utils.js +84 -100
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.cjs +126 -0
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.cts +12 -0
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.d.ts +12 -7
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.js +121 -140
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.cjs +29 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.js +26 -30
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.cjs +110 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.cts +12 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.d.ts +11 -7
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.js +105 -122
- package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.cjs +61 -0
- package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.js +58 -60
- package/dist/AppHeaderMobile/index.cjs +194 -0
- package/dist/AppHeaderMobile/index.d.cts +24 -0
- package/dist/AppHeaderMobile/index.d.ts +26 -19
- package/dist/AppHeaderMobile/index.js +191 -214
- package/dist/Avatar/index.cjs +52 -0
- package/dist/Avatar/index.d.cts +40 -0
- package/dist/Avatar/index.d.ts +37 -33
- package/dist/Avatar/index.js +49 -45
- package/dist/AvatarChooser/index.cjs +99 -0
- package/dist/AvatarChooser/index.d.cts +15 -0
- package/dist/AvatarChooser/index.d.ts +13 -10
- package/dist/AvatarChooser/index.js +93 -102
- package/dist/BackToTopAnchor/index.cjs +33 -0
- package/dist/BackToTopAnchor/index.d.cts +15 -0
- package/dist/BackToTopAnchor/index.d.ts +13 -11
- package/dist/BackToTopAnchor/index.js +31 -37
- package/dist/Banner/CountdownTimer.cjs +111 -0
- package/dist/Banner/CountdownTimer.d.cts +10 -0
- package/dist/Banner/CountdownTimer.d.ts +8 -5
- package/dist/Banner/CountdownTimer.js +103 -104
- package/dist/Banner/EnhancedBanner.cjs +142 -0
- package/dist/Banner/EnhancedBanner.d.cts +20 -0
- package/dist/Banner/EnhancedBanner.d.ts +19 -16
- package/dist/Banner/EnhancedBanner.js +136 -169
- package/dist/Banner/index.cjs +83 -0
- package/dist/Banner/index.d.cts +24 -0
- package/dist/Banner/index.d.ts +21 -18
- package/dist/Banner/index.js +73 -95
- package/dist/BetaSticker/index.cjs +63 -0
- package/dist/BetaSticker/index.d.cts +9 -0
- package/dist/BetaSticker/index.d.ts +7 -4
- package/dist/BetaSticker/index.js +60 -57
- package/dist/CareerPathCard/index.cjs +34 -0
- package/dist/CareerPathCard/index.d.cts +26 -0
- package/dist/CareerPathCard/index.d.ts +24 -20
- package/dist/CareerPathCard/index.js +33 -49
- package/dist/Carousel/elements.cjs +12 -0
- package/dist/Carousel/elements.js +10 -14
- package/dist/Carousel/index.cjs +194 -0
- package/dist/Carousel/index.d.cts +27 -0
- package/dist/Carousel/index.d.ts +24 -21
- package/dist/Carousel/index.js +185 -247
- package/dist/CertificationPathCard/index.cjs +41 -0
- package/dist/CertificationPathCard/index.d.cts +27 -0
- package/dist/CertificationPathCard/index.d.ts +24 -20
- package/dist/CertificationPathCard/index.js +40 -52
- package/dist/CoachingSessionCard/index.cjs +87 -0
- package/dist/CoachingSessionCard/index.d.cts +24 -0
- package/dist/CoachingSessionCard/index.d.ts +23 -20
- package/dist/CoachingSessionCard/index.js +84 -73
- package/dist/CommunityEventCard/EventTypeIcon.cjs +61 -0
- package/dist/CommunityEventCard/EventTypeIcon.js +59 -58
- package/dist/CommunityEventCard/index.cjs +260 -0
- package/dist/CommunityEventCard/index.d.cts +31 -0
- package/dist/CommunityEventCard/index.d.ts +30 -27
- package/dist/CommunityEventCard/index.js +253 -302
- package/dist/CommunityEventToast/index.cjs +35 -0
- package/dist/CommunityEventToast/index.d.cts +9 -0
- package/dist/CommunityEventToast/index.d.ts +7 -4
- package/dist/CommunityEventToast/index.js +33 -32
- package/dist/ContentGroupBaseCard/helpers.cjs +15 -0
- package/dist/ContentGroupBaseCard/helpers.d.cts +8 -0
- package/dist/ContentGroupBaseCard/helpers.d.ts +8 -4
- package/dist/ContentGroupBaseCard/helpers.js +12 -11
- package/dist/ContentGroupBaseCard/index.cjs +215 -0
- package/dist/ContentGroupBaseCard/index.d.cts +40 -0
- package/dist/ContentGroupBaseCard/index.d.ts +38 -31
- package/dist/ContentGroupBaseCard/index.js +209 -236
- package/dist/ContentGroupBaseCard/shared.cjs +80 -0
- package/dist/ContentGroupBaseCard/shared.js +73 -67
- package/dist/ContentGroupBaseCard/types.cjs +18 -0
- package/dist/ContentGroupBaseCard/types.d.cts +13 -0
- package/dist/ContentGroupBaseCard/types.d.ts +11 -8
- package/dist/ContentGroupBaseCard/types.js +15 -11
- package/dist/CourseCard/index.cjs +32 -0
- package/dist/CourseCard/index.d.cts +25 -0
- package/dist/CourseCard/index.d.ts +24 -19
- package/dist/CourseCard/index.js +31 -45
- package/dist/CurriculumCard/BottomTag/index.cjs +30 -0
- package/dist/CurriculumCard/BottomTag/index.d.cts +4 -0
- package/dist/CurriculumCard/BottomTag/index.d.ts +6 -7
- package/dist/CurriculumCard/BottomTag/index.js +26 -24
- package/dist/CurriculumCard/Difficulty/helpers.cjs +17 -0
- package/dist/CurriculumCard/Difficulty/helpers.d.cts +13 -0
- package/dist/CurriculumCard/Difficulty/helpers.d.ts +7 -2
- package/dist/CurriculumCard/Difficulty/helpers.js +15 -11
- package/dist/CurriculumCard/Difficulty/index.cjs +45 -0
- package/dist/CurriculumCard/Difficulty/index.d.cts +7 -0
- package/dist/CurriculumCard/Difficulty/index.d.ts +7 -3
- package/dist/CurriculumCard/Difficulty/index.js +40 -47
- package/dist/CurriculumCard/Difficulty/types.cjs +21 -0
- package/dist/CurriculumCard/Difficulty/types.d.cts +25 -0
- package/dist/CurriculumCard/Difficulty/types.d.ts +16 -13
- package/dist/CurriculumCard/Difficulty/types.js +16 -17
- package/dist/CurriculumCard/Footer/index.cjs +49 -0
- package/dist/CurriculumCard/Footer/index.js +47 -54
- package/dist/CurriculumCard/Image/index.cjs +50 -0
- package/dist/CurriculumCard/Image/index.js +43 -52
- package/dist/CurriculumCard/Subtitle/helpers.cjs +9 -0
- package/dist/CurriculumCard/Subtitle/helpers.js +8 -8
- package/dist/CurriculumCard/Subtitle/index.cjs +40 -0
- package/dist/CurriculumCard/Subtitle/index.d.cts +10 -0
- package/dist/CurriculumCard/Subtitle/index.d.ts +10 -7
- package/dist/CurriculumCard/Subtitle/index.js +37 -34
- package/dist/CurriculumCard/index.cjs +122 -0
- package/dist/CurriculumCard/index.d.cts +63 -0
- package/dist/CurriculumCard/index.d.ts +56 -52
- package/dist/CurriculumCard/index.js +114 -124
- package/dist/DropdownButton/DropdownList.cjs +57 -0
- package/dist/DropdownButton/DropdownList.d.cts +19 -0
- package/dist/DropdownButton/DropdownList.d.ts +16 -14
- package/dist/DropdownButton/DropdownList.js +55 -73
- package/dist/DropdownButton/index.cjs +140 -0
- package/dist/DropdownButton/index.d.cts +80 -0
- package/dist/DropdownButton/index.d.ts +75 -69
- package/dist/DropdownButton/index.js +137 -169
- package/dist/DropdownButton/useDynamicPopoverPosition.cjs +41 -0
- package/dist/DropdownButton/useDynamicPopoverPosition.js +34 -49
- package/dist/EditorialImage/index.cjs +21 -0
- package/dist/EditorialImage/index.d.cts +14 -0
- package/dist/EditorialImage/index.d.ts +13 -9
- package/dist/EditorialImage/index.js +18 -21
- package/dist/EditorialImage/styles.module.cjs +5 -0
- package/dist/EditorialImage/styles.module.js +5 -0
- package/dist/EmptySection/index.cjs +159 -0
- package/dist/EmptySection/index.d.cts +32 -0
- package/dist/EmptySection/index.d.ts +32 -27
- package/dist/EmptySection/index.js +154 -181
- package/dist/ErrorContents/index.cjs +64 -0
- package/dist/ErrorContents/index.d.cts +12 -0
- package/dist/ErrorContents/index.d.ts +11 -7
- package/dist/ErrorContents/index.js +62 -48
- package/dist/FeatureList/index.cjs +41 -0
- package/dist/FeatureList/index.d.cts +18 -0
- package/dist/FeatureList/index.d.ts +16 -9
- package/dist/FeatureList/index.js +39 -41
- package/dist/GlobalFooter/FooterHeading.cjs +28 -0
- package/dist/GlobalFooter/FooterHeading.js +25 -29
- package/dist/GlobalFooter/FooterLegal/LegalLinks.cjs +77 -0
- package/dist/GlobalFooter/FooterLegal/LegalLinks.js +74 -43
- package/dist/GlobalFooter/FooterLegal/MadeIn.cjs +79 -0
- package/dist/GlobalFooter/FooterLegal/MadeIn.js +75 -63
- package/dist/GlobalFooter/FooterLegal/index.cjs +29 -0
- package/dist/GlobalFooter/FooterLegal/index.js +26 -22
- package/dist/GlobalFooter/FooterLinks.cjs +51 -0
- package/dist/GlobalFooter/FooterLinks.js +45 -52
- package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.cjs +297 -0
- package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.js +288 -292
- package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.cjs +254 -0
- package/dist/GlobalFooter/FooterNavLinks/CompanyLinks.js +251 -286
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.cjs +246 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferAFriendLinkWithModal.js +242 -271
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.cjs +27 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralFields.js +25 -29
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.cjs +72 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralForm.js +67 -75
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.cjs +70 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/ReferralLinkSocialMediaSharing.js +69 -86
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.cts +7 -0
- package/dist/GlobalFooter/FooterNavLinks/ReferralRock/types.d.ts +6 -3
- package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.cjs +59 -0
- package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.js +57 -50
- package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.cjs +5 -0
- package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.js +5 -0
- package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.cjs +5 -0
- package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.js +5 -0
- package/dist/GlobalFooter/FooterNavLinks/index.cjs +44 -0
- package/dist/GlobalFooter/FooterNavLinks/index.js +41 -43
- package/dist/GlobalFooter/index.cjs +38 -0
- package/dist/GlobalFooter/index.d.cts +26 -0
- package/dist/GlobalFooter/index.d.ts +25 -21
- package/dist/GlobalFooter/index.js +35 -37
- package/dist/GlobalFooter/types.d.cts +16 -0
- package/dist/GlobalFooter/types.d.ts +14 -11
- package/dist/GlobalHeader/GlobalHeaderItems.cjs +443 -0
- package/dist/GlobalHeader/GlobalHeaderItems.js +375 -378
- package/dist/GlobalHeader/GlobalHeaderVariants.cjs +351 -0
- package/dist/GlobalHeader/GlobalHeaderVariants.js +304 -349
- package/dist/GlobalHeader/context.cjs +82 -0
- package/dist/GlobalHeader/context.js +69 -72
- package/dist/GlobalHeader/index.cjs +171 -0
- package/dist/GlobalHeader/index.d.cts +10 -0
- package/dist/GlobalHeader/index.d.ts +10 -7
- package/dist/GlobalHeader/index.js +165 -194
- package/dist/GlobalHeader/types.d.cts +124 -0
- package/dist/GlobalHeader/types.d.ts +104 -99
- package/dist/GlobalHeader/urlHelpers.cjs +22 -0
- package/dist/GlobalHeader/urlHelpers.js +19 -20
- package/dist/GlobalPage/index.cjs +45 -0
- package/dist/GlobalPage/index.d.cts +51 -0
- package/dist/GlobalPage/index.d.ts +46 -43
- package/dist/GlobalPage/index.js +42 -59
- package/dist/Grid/GridCollapse.cjs +161 -0
- package/dist/Grid/GridCollapse.d.cts +49 -0
- package/dist/Grid/GridCollapse.d.ts +47 -39
- package/dist/Grid/GridCollapse.js +152 -194
- package/dist/Grid/Subgrid.cjs +41 -0
- package/dist/Grid/Subgrid.d.cts +29 -0
- package/dist/Grid/Subgrid.d.ts +11 -5
- package/dist/Grid/Subgrid.js +37 -35
- package/dist/Grid/getCSSFromColumnCount.cjs +10 -0
- package/dist/Grid/getCSSFromColumnCount.d.cts +10 -0
- package/dist/Grid/getCSSFromColumnCount.d.ts +10 -6
- package/dist/Grid/getCSSFromColumnCount.js +9 -7
- package/dist/Grid/index.cjs +9 -0
- package/dist/Grid/index.d.cts +4 -0
- package/dist/Grid/index.d.ts +4 -3
- package/dist/Grid/index.js +5 -3
- package/dist/HeaderHeightArea/index.cjs +38 -0
- package/dist/HeaderHeightArea/index.d.cts +13 -0
- package/dist/HeaderHeightArea/index.d.ts +12 -8
- package/dist/HeaderHeightArea/index.js +35 -40
- package/dist/HeaderHeightArea/useIsInHeaderRegion.cjs +17 -0
- package/dist/HeaderHeightArea/useIsInHeaderRegion.js +15 -14
- package/dist/HorizontalScrollMenu/index.cjs +68 -0
- package/dist/HorizontalScrollMenu/index.d.cts +10 -0
- package/dist/HorizontalScrollMenu/index.d.ts +10 -6
- package/dist/HorizontalScrollMenu/index.js +65 -75
- package/dist/HubCard/index.cjs +40 -0
- package/dist/HubCard/index.d.cts +12 -0
- package/dist/HubCard/index.d.ts +11 -7
- package/dist/HubCard/index.js +38 -38
- package/dist/InfoCard/index.cjs +121 -0
- package/dist/InfoCard/index.d.cts +23 -0
- package/dist/InfoCard/index.d.ts +22 -18
- package/dist/InfoCard/index.js +109 -147
- package/dist/Konamimojisplosion/Konamimojisplosion.cjs +10 -0
- package/dist/Konamimojisplosion/Konamimojisplosion.d.cts +9 -0
- package/dist/Konamimojisplosion/Konamimojisplosion.d.ts +8 -4
- package/dist/Konamimojisplosion/Konamimojisplosion.js +10 -7
- package/dist/Konamimojisplosion/index.cjs +5 -0
- package/dist/Konamimojisplosion/index.d.cts +3 -0
- package/dist/Konamimojisplosion/index.d.ts +3 -2
- package/dist/Konamimojisplosion/index.js +4 -2
- package/dist/Konamimojisplosion/useKonamimojisplosion.cjs +47 -0
- package/dist/Konamimojisplosion/useKonamimojisplosion.d.cts +4 -0
- package/dist/Konamimojisplosion/useKonamimojisplosion.d.ts +4 -1
- package/dist/Konamimojisplosion/useKonamimojisplosion.js +44 -32
- package/dist/LandingPage/CTA.cjs +11 -0
- package/dist/LandingPage/CTA.js +9 -11
- package/dist/LandingPage/Description.cjs +18 -0
- package/dist/LandingPage/Description.d.cts +10 -0
- package/dist/LandingPage/Description.d.ts +9 -5
- package/dist/LandingPage/Description.js +16 -14
- package/dist/LandingPage/Feature.cjs +89 -0
- package/dist/LandingPage/Feature.js +75 -90
- package/dist/LandingPage/PageFAQs.cjs +49 -0
- package/dist/LandingPage/PageFAQs.d.cts +14 -0
- package/dist/LandingPage/PageFAQs.d.ts +13 -9
- package/dist/LandingPage/PageFAQs.js +46 -42
- package/dist/LandingPage/PageFeatures.cjs +99 -0
- package/dist/LandingPage/PageFeatures.d.cts +20 -0
- package/dist/LandingPage/PageFeatures.d.ts +19 -15
- package/dist/LandingPage/PageFeatures.js +91 -106
- package/dist/LandingPage/PageFeaturesEnhanced.cjs +152 -0
- package/dist/LandingPage/PageFeaturesEnhanced.d.cts +11 -0
- package/dist/LandingPage/PageFeaturesEnhanced.d.ts +10 -6
- package/dist/LandingPage/PageFeaturesEnhanced.js +144 -153
- package/dist/LandingPage/PageFeaturesWithReferences.cjs +128 -0
- package/dist/LandingPage/PageFeaturesWithReferences.d.cts +23 -0
- package/dist/LandingPage/PageFeaturesWithReferences.d.ts +22 -18
- package/dist/LandingPage/PageFeaturesWithReferences.js +126 -137
- package/dist/LandingPage/PageHero.cjs +20 -0
- package/dist/LandingPage/PageHero.d.cts +11 -0
- package/dist/LandingPage/PageHero.d.ts +10 -6
- package/dist/LandingPage/PageHero.js +16 -20
- package/dist/LandingPage/PagePrefooter.cjs +66 -0
- package/dist/LandingPage/PagePrefooter.d.cts +9 -0
- package/dist/LandingPage/PagePrefooter.d.ts +8 -4
- package/dist/LandingPage/PagePrefooter.js +64 -74
- package/dist/LandingPage/PageSingleFeature.cjs +108 -0
- package/dist/LandingPage/PageSingleFeature.d.cts +60 -0
- package/dist/LandingPage/PageSingleFeature.d.ts +54 -50
- package/dist/LandingPage/PageSingleFeature.js +104 -127
- package/dist/LandingPage/PageTestimonials.cjs +108 -0
- package/dist/LandingPage/PageTestimonials.d.cts +25 -0
- package/dist/LandingPage/PageTestimonials.d.ts +23 -19
- package/dist/LandingPage/PageTestimonials.js +99 -107
- package/dist/LandingPage/PageVideoGallery.cjs +70 -0
- package/dist/LandingPage/PageVideoGallery.d.cts +15 -0
- package/dist/LandingPage/PageVideoGallery.d.ts +13 -9
- package/dist/LandingPage/PageVideoGallery.js +67 -49
- package/dist/LandingPage/Title.cjs +33 -0
- package/dist/LandingPage/Title.d.cts +27 -0
- package/dist/LandingPage/Title.d.ts +23 -19
- package/dist/LandingPage/Title.js +29 -27
- package/dist/LandingPage/TitleWithEyebrow.cjs +39 -0
- package/dist/LandingPage/TitleWithEyebrow.d.cts +15 -0
- package/dist/LandingPage/TitleWithEyebrow.d.ts +14 -10
- package/dist/LandingPage/TitleWithEyebrow.js +37 -40
- package/dist/LandingPage/index.cjs +29 -0
- package/dist/LandingPage/index.d.cts +15 -0
- package/dist/LandingPage/index.d.ts +15 -14
- package/dist/LandingPage/index.js +15 -14
- package/dist/LandingPage/types.d.cts +31 -0
- package/dist/LandingPage/types.d.ts +30 -27
- package/dist/LayoutMenu/AccordionMenu.cjs +64 -0
- package/dist/LayoutMenu/AccordionMenu.d.cts +18 -0
- package/dist/LayoutMenu/AccordionMenu.d.ts +16 -24
- package/dist/LayoutMenu/AccordionMenu.js +59 -70
- package/dist/LayoutMenu/LayoutMenu.cjs +107 -0
- package/dist/LayoutMenu/LayoutMenu.d.cts +48 -0
- package/dist/LayoutMenu/LayoutMenu.d.ts +47 -43
- package/dist/LayoutMenu/LayoutMenu.js +105 -119
- package/dist/LayoutMenu/LayoutMenuSection.cjs +38 -0
- package/dist/LayoutMenu/LayoutMenuSection.js +36 -39
- package/dist/LayoutMenu/SectionItemLink.cjs +19 -0
- package/dist/LayoutMenu/SectionItemLink.d.cts +11 -0
- package/dist/LayoutMenu/SectionItemLink.d.ts +10 -6
- package/dist/LayoutMenu/SectionItemLink.js +17 -16
- package/dist/LayoutMenu/SelectedSectionItem.cjs +22 -0
- package/dist/LayoutMenu/SelectedSectionItem.d.cts +7 -0
- package/dist/LayoutMenu/SelectedSectionItem.d.ts +7 -3
- package/dist/LayoutMenu/SelectedSectionItem.js +20 -17
- package/dist/LayoutMenu/index.cjs +7 -0
- package/dist/LayoutMenu/index.d.cts +4 -0
- package/dist/LayoutMenu/index.d.ts +4 -3
- package/dist/LayoutMenu/index.js +5 -3
- package/dist/LayoutMenuVariant/AccordionMenu.cjs +76 -0
- package/dist/LayoutMenuVariant/AccordionMenu.d.cts +19 -0
- package/dist/LayoutMenuVariant/AccordionMenu.d.ts +17 -19
- package/dist/LayoutMenuVariant/AccordionMenu.js +72 -86
- package/dist/LayoutMenuVariant/LayoutMenu.cjs +88 -0
- package/dist/LayoutMenuVariant/LayoutMenu.d.cts +43 -0
- package/dist/LayoutMenuVariant/LayoutMenu.d.ts +42 -38
- package/dist/LayoutMenuVariant/LayoutMenu.js +85 -93
- package/dist/LayoutMenuVariant/LayoutMenuSection.cjs +37 -0
- package/dist/LayoutMenuVariant/LayoutMenuSection.js +33 -41
- package/dist/LayoutMenuVariant/SectionItemLink.cjs +19 -0
- package/dist/LayoutMenuVariant/SectionItemLink.d.cts +12 -0
- package/dist/LayoutMenuVariant/SectionItemLink.d.ts +11 -7
- package/dist/LayoutMenuVariant/SectionItemLink.js +17 -17
- package/dist/LayoutMenuVariant/index.cjs +19 -0
- package/dist/LayoutMenuVariant/index.d.cts +9 -0
- package/dist/LayoutMenuVariant/index.d.ts +9 -2
- package/dist/LayoutMenuVariant/index.js +12 -2
- package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.cjs +52 -0
- package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.js +50 -55
- package/dist/LearningOutcomeAssessmentScores/index.cjs +25 -0
- package/dist/LearningOutcomeAssessmentScores/index.d.cts +10 -0
- package/dist/LearningOutcomeAssessmentScores/index.d.ts +8 -6
- package/dist/LearningOutcomeAssessmentScores/index.js +24 -24
- package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.cjs +50 -0
- package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.cts +21 -0
- package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +17 -14
- package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.js +44 -55
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.cjs +38 -0
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.cts +18 -0
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +16 -8
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.js +34 -34
- package/dist/LearningOutcomeBadges/index.cjs +8 -0
- package/dist/LearningOutcomeBadges/index.d.cts +3 -0
- package/dist/LearningOutcomeBadges/index.d.ts +3 -2
- package/dist/LearningOutcomeBadges/index.js +4 -2
- package/dist/LearningOutcomeCard/index.cjs +167 -0
- package/dist/LearningOutcomeCard/index.d.cts +30 -0
- package/dist/LearningOutcomeCard/index.d.ts +27 -23
- package/dist/LearningOutcomeCard/index.js +159 -197
- package/dist/LearningOutcomeFlyout/LearningOutcomeCardList.cjs +41 -0
- package/dist/LearningOutcomeFlyout/LearningOutcomeCardList.js +40 -42
- package/dist/LearningOutcomeFlyout/index.cjs +316 -0
- package/dist/LearningOutcomeFlyout/index.d.cts +12 -0
- package/dist/LearningOutcomeFlyout/index.d.ts +12 -7
- package/dist/LearningOutcomeFlyout/index.js +306 -349
- package/dist/LearningOutcomeFlyout/types.cjs +10 -0
- package/dist/LearningOutcomeFlyout/types.d.cts +66 -0
- package/dist/LearningOutcomeFlyout/types.d.ts +58 -54
- package/dist/LearningOutcomeFlyout/types.js +9 -5
- package/dist/LearningOutcomePopover/index.cjs +117 -0
- package/dist/LearningOutcomePopover/index.d.cts +13 -0
- package/dist/LearningOutcomePopover/index.d.ts +11 -8
- package/dist/LearningOutcomePopover/index.js +112 -121
- package/dist/LearningOutcomeTile/Tile.cjs +68 -0
- package/dist/LearningOutcomeTile/Tile.js +62 -75
- package/dist/LearningOutcomeTile/index.cjs +96 -0
- package/dist/LearningOutcomeTile/index.d.cts +7 -0
- package/dist/LearningOutcomeTile/index.d.ts +7 -3
- package/dist/LearningOutcomeTile/index.js +92 -114
- package/dist/LearningOutcomeTile/types.cjs +11 -0
- package/dist/LearningOutcomeTile/types.d.cts +45 -0
- package/dist/LearningOutcomeTile/types.d.ts +35 -36
- package/dist/LearningOutcomeTile/types.js +8 -9
- package/dist/ListSection/index.cjs +56 -0
- package/dist/ListSection/index.d.cts +25 -0
- package/dist/ListSection/index.d.ts +25 -20
- package/dist/ListSection/index.js +53 -64
- package/dist/Loading/index.cjs +91 -0
- package/dist/Loading/index.d.cts +9 -0
- package/dist/Loading/index.d.ts +8 -4
- package/dist/Loading/index.js +87 -81
- package/dist/Loading/styles.module.cjs +5 -0
- package/dist/Loading/styles.module.js +5 -0
- package/dist/LoadingCurriculumCard/index.cjs +85 -0
- package/dist/LoadingCurriculumCard/index.d.cts +10 -0
- package/dist/LoadingCurriculumCard/index.d.ts +8 -5
- package/dist/LoadingCurriculumCard/index.js +83 -82
- package/dist/Logos/LogoCodecademy/index.cjs +23 -0
- package/dist/Logos/LogoCodecademy/index.d.cts +6 -0
- package/dist/Logos/LogoCodecademy/index.d.ts +6 -2
- package/dist/Logos/LogoCodecademy/index.js +22 -22
- package/dist/Logos/LogoCodecademyMini/index.cjs +19 -0
- package/dist/Logos/LogoCodecademyMini/index.d.cts +6 -0
- package/dist/Logos/LogoCodecademyMini/index.d.ts +6 -2
- package/dist/Logos/LogoCodecademyMini/index.js +18 -18
- package/dist/Logos/LogoCodecademyPro/index.cjs +26 -0
- package/dist/Logos/LogoCodecademyPro/index.d.cts +6 -0
- package/dist/Logos/LogoCodecademyPro/index.d.ts +6 -2
- package/dist/Logos/LogoCodecademyPro/index.js +25 -25
- package/dist/Logos/LogoCodecademyTeams/index.cjs +53 -0
- package/dist/Logos/LogoCodecademyTeams/index.d.cts +6 -0
- package/dist/Logos/LogoCodecademyTeams/index.d.ts +6 -2
- package/dist/Logos/LogoCodecademyTeams/index.js +52 -46
- package/dist/Logos/LogoFromSkillsoft/index.cjs +49 -0
- package/dist/Logos/LogoFromSkillsoft/index.d.cts +7 -0
- package/dist/Logos/LogoFromSkillsoft/index.d.ts +7 -3
- package/dist/Logos/LogoFromSkillsoft/index.js +47 -48
- package/dist/Logos/LogoLXStudio/index.cjs +38 -0
- package/dist/Logos/LogoLXStudio/index.d.cts +7 -0
- package/dist/Logos/LogoLXStudio/index.d.ts +7 -3
- package/dist/Logos/LogoLXStudio/index.js +36 -40
- package/dist/Logos/ProLabel/ProLabelCutout/index.cjs +38 -0
- package/dist/Logos/ProLabel/ProLabelCutout/index.js +36 -31
- package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.cjs +39 -0
- package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.js +37 -31
- package/dist/Logos/ProLabel/index.cjs +27 -0
- package/dist/Logos/ProLabel/index.d.cts +18 -0
- package/dist/Logos/ProLabel/index.d.ts +14 -11
- package/dist/Logos/ProLabel/index.js +25 -27
- package/dist/Logos/index.cjs +15 -0
- package/dist/Logos/index.d.cts +8 -0
- package/dist/Logos/index.d.ts +8 -7
- package/dist/Logos/index.js +9 -7
- package/dist/Logos/shared.cjs +14 -0
- package/dist/Logos/shared.d.cts +232 -0
- package/dist/Logos/shared.d.ts +235 -642
- package/dist/Logos/shared.js +10 -14
- package/dist/MarketingToaster/index.cjs +50 -0
- package/dist/MarketingToaster/index.d.cts +11 -0
- package/dist/MarketingToaster/index.d.ts +9 -6
- package/dist/MarketingToaster/index.js +46 -66
- package/dist/NotFoundContent/404.cjs +5 -0
- package/dist/NotFoundContent/404.js +5 -0
- package/dist/NotFoundContent/index.cjs +49 -0
- package/dist/NotFoundContent/index.d.cts +11 -0
- package/dist/NotFoundContent/index.d.ts +9 -6
- package/dist/NotFoundContent/index.js +46 -55
- package/dist/NotificationList/EmptyNotification/emptyNotificationContents.cjs +34 -0
- package/dist/NotificationList/EmptyNotification/emptyNotificationContents.js +33 -23
- package/dist/NotificationList/EmptyNotification/index.cjs +44 -0
- package/dist/NotificationList/EmptyNotification/index.js +42 -38
- package/dist/NotificationList/NotificationItem.cjs +162 -0
- package/dist/NotificationList/NotificationItem.d.cts +12 -0
- package/dist/NotificationList/NotificationItem.d.ts +11 -7
- package/dist/NotificationList/NotificationItem.js +157 -149
- package/dist/NotificationList/index.cjs +45 -0
- package/dist/NotificationList/index.d.cts +13 -0
- package/dist/NotificationList/index.d.ts +12 -8
- package/dist/NotificationList/index.js +41 -46
- package/dist/NotificationList/typings.d.cts +19 -0
- package/dist/NotificationList/typings.d.ts +17 -14
- package/dist/Notifications/NotificationBell.cjs +61 -0
- package/dist/Notifications/NotificationBell.js +60 -72
- package/dist/Notifications/NotificationsContents.cjs +80 -0
- package/dist/Notifications/NotificationsContents.js +78 -85
- package/dist/Notifications/NotificationsDropdown.cjs +24 -0
- package/dist/Notifications/NotificationsDropdown.js +23 -25
- package/dist/Notifications/constants.cjs +9 -0
- package/dist/Notifications/constants.js +7 -3
- package/dist/Notifications/elements.cjs +23 -0
- package/dist/Notifications/elements.js +19 -20
- package/dist/Notifications/types.d.cts +17 -0
- package/dist/Notifications/types.d.ts +16 -22
- package/dist/Notifications/useHeaderNotifications.cjs +38 -0
- package/dist/Notifications/useHeaderNotifications.js +37 -37
- package/dist/Notifications/useNotificationButtons.cjs +53 -0
- package/dist/Notifications/useNotificationButtons.js +52 -56
- package/dist/PageAlerts/PageAlerts.cjs +69 -0
- package/dist/PageAlerts/PageAlerts.d.cts +16 -0
- package/dist/PageAlerts/PageAlerts.d.ts +15 -9
- package/dist/PageAlerts/PageAlerts.js +64 -74
- package/dist/PageAlerts/PageAlertsProvider.cjs +41 -0
- package/dist/PageAlerts/PageAlertsProvider.d.cts +15 -0
- package/dist/PageAlerts/PageAlertsProvider.d.ts +14 -10
- package/dist/PageAlerts/PageAlertsProvider.js +36 -33
- package/dist/PageAlerts/index.cjs +8 -0
- package/dist/PageAlerts/index.d.cts +4 -0
- package/dist/PageAlerts/index.d.ts +4 -3
- package/dist/PageAlerts/index.js +4 -3
- package/dist/PageAlerts/types.d.cts +18 -0
- package/dist/PageAlerts/types.d.ts +15 -14
- package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.cjs +50 -0
- package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.cts +22 -0
- package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.d.ts +20 -17
- package/dist/PageLayoutWithSidebarMenu/PageLayoutWithSidebarMenu.js +48 -53
- package/dist/PageLayoutWithSidebarMenu/index.cjs +3 -0
- package/dist/PageLayoutWithSidebarMenu/index.d.cts +2 -0
- package/dist/PageLayoutWithSidebarMenu/index.d.ts +2 -1
- package/dist/PageLayoutWithSidebarMenu/index.js +3 -1
- package/dist/PageSection/index.cjs +65 -0
- package/dist/PageSection/index.d.cts +20 -0
- package/dist/PageSection/index.d.ts +17 -14
- package/dist/PageSection/index.js +61 -65
- package/dist/PastDue/PastDueModalContents/index.cjs +28 -0
- package/dist/PastDue/PastDueModalContents/index.d.cts +12 -0
- package/dist/PastDue/PastDueModalContents/index.d.ts +11 -7
- package/dist/PastDue/PastDueModalContents/index.js +26 -30
- package/dist/PastDue/index.cjs +5 -0
- package/dist/PastDue/index.d.cts +3 -0
- package/dist/PastDue/index.d.ts +3 -2
- package/dist/PastDue/index.js +4 -2
- package/dist/PastDue/pastDueMessages.cjs +55 -0
- package/dist/PastDue/pastDueMessages.d.cts +8 -0
- package/dist/PastDue/pastDueMessages.d.ts +6 -4
- package/dist/PastDue/pastDueMessages.js +53 -48
- package/dist/PausableImage/BaseImage/index.cjs +77 -0
- package/dist/PausableImage/BaseImage/index.js +69 -53
- package/dist/PausableImage/index.cjs +32 -0
- package/dist/PausableImage/index.d.cts +16 -0
- package/dist/PausableImage/index.d.ts +14 -9
- package/dist/PausableImage/index.js +26 -35
- package/dist/PlanCard/PlanCardBanner.cjs +30 -0
- package/dist/PlanCard/PlanCardBanner.d.cts +10 -0
- package/dist/PlanCard/PlanCardBanner.d.ts +8 -5
- package/dist/PlanCard/PlanCardBanner.js +27 -28
- package/dist/PlanCard/PlanFeature.cjs +91 -0
- package/dist/PlanCard/PlanFeature.js +88 -105
- package/dist/PlanCard/PopularBadge.cjs +20 -0
- package/dist/PlanCard/PopularBadge.js +18 -13
- package/dist/PlanCard/PricingAmount.cjs +122 -0
- package/dist/PlanCard/PricingAmount.js +118 -116
- package/dist/PlanCard/RecommendedBadge.cjs +31 -0
- package/dist/PlanCard/RecommendedBadge.js +29 -24
- package/dist/PlanCard/consts.cjs +220 -0
- package/dist/PlanCard/consts.js +219 -167
- package/dist/PlanCard/index.cjs +341 -0
- package/dist/PlanCard/index.d.cts +22 -0
- package/dist/PlanCard/index.d.ts +21 -17
- package/dist/PlanCard/index.js +336 -373
- package/dist/PlanCard/types.cjs +75 -0
- package/dist/PlanCard/types.d.cts +43 -0
- package/dist/PlanCard/types.d.ts +41 -38
- package/dist/PlanCard/types.js +66 -69
- package/dist/PlanCardTeams/consts.cjs +22 -0
- package/dist/PlanCardTeams/consts.js +21 -8
- package/dist/PlanCardTeams/index.cjs +140 -0
- package/dist/PlanCardTeams/index.d.cts +12 -0
- package/dist/PlanCardTeams/index.d.ts +11 -7
- package/dist/PlanCardTeams/index.js +135 -165
- package/dist/PricingSection/ConditionalColorMode.cjs +14 -0
- package/dist/PricingSection/ConditionalColorMode.js +13 -13
- package/dist/PricingSection/PricingCard/PricingAmount.cjs +122 -0
- package/dist/PricingSection/PricingCard/PricingAmount.js +118 -114
- package/dist/PricingSection/PricingCard/RecommendedBadge.cjs +30 -0
- package/dist/PricingSection/PricingCard/RecommendedBadge.js +29 -24
- package/dist/PricingSection/PricingCard/index.cjs +176 -0
- package/dist/PricingSection/PricingCard/index.js +170 -198
- package/dist/PricingSection/PricingCard/types.cjs +67 -0
- package/dist/PricingSection/PricingCard/types.d.cts +26 -0
- package/dist/PricingSection/PricingCard/types.d.ts +24 -38
- package/dist/PricingSection/PricingCard/types.js +61 -58
- package/dist/PricingSection/ProductCTA.cjs +106 -0
- package/dist/PricingSection/ProductCTA.js +103 -133
- package/dist/PricingSection/Products.cjs +86 -0
- package/dist/PricingSection/Products.js +85 -92
- package/dist/PricingSection/config.cjs +33 -0
- package/dist/PricingSection/config.js +29 -36
- package/dist/PricingSection/index.cjs +36 -0
- package/dist/PricingSection/index.d.cts +22 -0
- package/dist/PricingSection/index.d.ts +20 -14
- package/dist/PricingSection/index.js +35 -41
- package/dist/PricingSection/types.cjs +14 -0
- package/dist/PricingSection/types.d.cts +18 -0
- package/dist/PricingSection/types.d.ts +16 -29
- package/dist/PricingSection/types.js +13 -9
- package/dist/ProLogoAlt/index.cjs +28 -0
- package/dist/ProLogoAlt/index.d.cts +13 -0
- package/dist/ProLogoAlt/index.d.ts +12 -8
- package/dist/ProLogoAlt/index.js +26 -26
- package/dist/ProductFeatureShowcase/index.cjs +108 -0
- package/dist/ProductFeatureShowcase/index.d.cts +19 -0
- package/dist/ProductFeatureShowcase/index.d.ts +18 -15
- package/dist/ProductFeatureShowcase/index.js +105 -119
- package/dist/QuizScore/index.cjs +93 -0
- package/dist/QuizScore/index.d.cts +15 -0
- package/dist/QuizScore/index.d.ts +13 -10
- package/dist/QuizScore/index.js +91 -84
- package/dist/RatingsBar/index.cjs +44 -0
- package/dist/RatingsBar/index.d.cts +16 -0
- package/dist/RatingsBar/index.d.ts +15 -11
- package/dist/RatingsBar/index.js +41 -34
- package/dist/Recurly/context/NoProvider.cjs +12 -0
- package/dist/Recurly/context/NoProvider.js +10 -6
- package/dist/Recurly/context/elements/index.cjs +45 -0
- package/dist/Recurly/context/elements/index.d.cts +15 -0
- package/dist/Recurly/context/elements/index.d.ts +10 -21
- package/dist/Recurly/context/elements/index.js +39 -42
- package/dist/Recurly/context/index.d.ts +2 -2
- package/dist/Recurly/context/recurly/index.cjs +49 -0
- package/dist/Recurly/context/recurly/index.d.cts +38 -0
- package/dist/Recurly/context/recurly/index.d.ts +15 -7
- package/dist/Recurly/context/recurly/index.js +44 -47
- package/dist/Recurly/context/recurly/loadRecurly.cjs +21 -0
- package/dist/Recurly/context/recurly/loadRecurly.d.cts +9 -0
- package/dist/Recurly/context/recurly/loadRecurly.d.ts +8 -5
- package/dist/Recurly/context/recurly/loadRecurly.js +21 -22
- package/dist/Recurly/context/recurly/w.cjs +6 -0
- package/dist/Recurly/context/recurly/w.js +4 -3
- package/dist/Recurly/fields/RecurlyField.cjs +69 -0
- package/dist/Recurly/fields/RecurlyField.d.cts +18 -0
- package/dist/Recurly/fields/RecurlyField.d.ts +13 -4
- package/dist/Recurly/fields/RecurlyField.js +65 -55
- package/dist/Recurly/fields/elements.cjs +63 -0
- package/dist/Recurly/fields/elements.d.cts +22 -0
- package/dist/Recurly/fields/elements.d.ts +20 -15
- package/dist/Recurly/fields/elements.js +48 -95
- package/dist/Recurly/fields/index.d.ts +2 -2
- package/dist/Recurly/index.cjs +13 -0
- package/dist/Recurly/index.d.cts +5 -0
- package/dist/Recurly/index.d.ts +7 -2
- package/dist/Recurly/index.js +6 -2
- package/dist/ResourceCard/index.cjs +59 -0
- package/dist/ResourceCard/index.d.cts +19 -0
- package/dist/ResourceCard/index.d.ts +17 -13
- package/dist/ResourceCard/index.js +56 -58
- package/dist/ScoreSummary/SubScores.cjs +136 -0
- package/dist/ScoreSummary/SubScores.d.cts +40 -0
- package/dist/ScoreSummary/SubScores.d.ts +38 -26
- package/dist/ScoreSummary/SubScores.js +132 -163
- package/dist/ScoreSummary/helpers.cjs +20 -0
- package/dist/ScoreSummary/helpers.js +17 -19
- package/dist/ScoreSummary/index.cjs +98 -0
- package/dist/ScoreSummary/index.d.cts +25 -0
- package/dist/ScoreSummary/index.d.ts +24 -20
- package/dist/ScoreSummary/index.js +96 -108
- package/dist/ScoreSummary/types.d.cts +313 -0
- package/dist/ScoreSummary/types.d.ts +308 -305
- package/dist/SkillPathCard/index.cjs +34 -0
- package/dist/SkillPathCard/index.d.cts +25 -0
- package/dist/SkillPathCard/index.d.ts +24 -19
- package/dist/SkillPathCard/index.js +33 -46
- package/dist/SocialMediaSharing/SocialShareIconLink.cjs +43 -0
- package/dist/SocialMediaSharing/SocialShareIconLink.d.cts +9 -0
- package/dist/SocialMediaSharing/SocialShareIconLink.d.ts +9 -12
- package/dist/SocialMediaSharing/SocialShareIconLink.js +39 -48
- package/dist/SocialMediaSharing/index.cjs +86 -0
- package/dist/SocialMediaSharing/index.d.cts +64 -0
- package/dist/SocialMediaSharing/index.d.ts +59 -44
- package/dist/SocialMediaSharing/index.js +80 -114
- package/dist/SocialMediaSharingDropdown/index.cjs +98 -0
- package/dist/SocialMediaSharingDropdown/index.d.cts +19 -0
- package/dist/SocialMediaSharingDropdown/index.d.ts +18 -14
- package/dist/SocialMediaSharingDropdown/index.js +95 -110
- package/dist/Testimonial/index.cjs +141 -0
- package/dist/Testimonial/index.d.cts +53 -0
- package/dist/Testimonial/index.d.ts +50 -42
- package/dist/Testimonial/index.js +128 -153
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/defineProperty.cjs +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/defineProperty.js +14 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPrimitive.cjs +16 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPrimitive.js +16 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPropertyKey.cjs +11 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/toPropertyKey.js +11 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/typeof.cjs +18 -0
- package/dist/_virtual/_@oxc-project_runtime@0.103.0/helpers/typeof.js +12 -0
- package/dist/_virtual/rolldown_runtime.cjs +43 -0
- package/dist/_virtual/rolldown_runtime.js +18 -0
- package/dist/assets/navyQuotes.cjs +5 -0
- package/dist/assets/navyQuotes.js +5 -0
- package/dist/index.cjs +279 -0
- package/dist/index.d.cts +122 -0
- package/dist/index.d.ts +132 -89
- package/dist/index.js +116 -86
- package/dist/lib/breakpointHooks/index.cjs +64 -0
- package/dist/lib/breakpointHooks/index.d.cts +46 -0
- package/dist/lib/breakpointHooks/index.d.ts +10 -7
- package/dist/lib/breakpointHooks/index.js +51 -53
- package/dist/lib/catalogList/index.cjs +52 -0
- package/dist/lib/catalogList/index.js +50 -196
- package/dist/lib/resourcesList/index.cjs +68 -0
- package/dist/lib/resourcesList/index.js +65 -231
- package/dist/remoteAssets/components.cjs +6 -0
- package/dist/remoteAssets/components.js +5 -1
- package/package.json +364 -10
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/MarketingBanner.d.ts +0 -6
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/NavPanels.d.ts +0 -8
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/consts.d.ts +0 -17
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +0 -92
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.js +0 -63
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.d.ts +0 -13
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.js +0 -440
- package/dist/AppHeader/AppHeaderElements/AppHeaderDietCard/index.d.ts +0 -11
- package/dist/AppHeader/AppHeaderElements/AppHeaderDropdownProvider/index.d.ts +0 -13
- package/dist/AppHeader/AppHeaderElements/AppHeaderFeatureCard/index.d.ts +0 -4
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/elements.d.ts +0 -42
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.d.ts +0 -8
- package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +0 -14
- package/dist/AppHeader/AppHeaderElements/AppHeaderMenuProvider/index.d.ts +0 -14
- package/dist/AppHeader/AppHeaderElements/AppHeaderNavButton/index.d.ts +0 -12
- package/dist/AppHeader/AppHeaderElements/AppHeaderProvider/index.d.ts +0 -10
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/NavPanels.d.ts +0 -10
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/consts.d.ts +0 -18
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.d.ts +0 -13
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.js +0 -194
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/AppHeaderSectionContext.d.ts +0 -8
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileBackButton.d.ts +0 -6
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/MobileNavMenu.d.ts +0 -11
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/NavTabs.d.ts +0 -20
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/PanelLayout.d.ts +0 -9
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/elements.d.ts +0 -88
- package/dist/AppHeader/AppHeaderElements/AppHeaderSection/index.d.ts +0 -25
- package/dist/AppHeader/AppHeaderElements/AppHeaderSkillTile/index.d.ts +0 -6
- 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/SearchTrackingProvider/index.d.ts +0 -17
- package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +0 -18
- package/dist/AppHeader/Search/SearchWorker/src.d.ts +0 -1
- package/dist/AppHeader/Search/SearchWorker/worker.d.ts +0 -2
- package/dist/AppHeader/Search/hooks/useUrlChangeDetection.d.ts +0 -5
- package/dist/AppHeader/Search/safelyRedirect.d.ts +0 -5
- package/dist/AppHeader/Search/types.js +0 -1
- package/dist/AppHeader/Search/useHeaderSearch.d.ts +0 -6
- package/dist/AppHeader/shared/index.js +0 -4
- package/dist/AppHeader/shared/mockAppHeaderItems.js +0 -10
- package/dist/AppHeader/shared/utils.d.ts +0 -14
- package/dist/AppHeader/utils/types.d.ts +0 -8
- package/dist/AppHeader/utils/types.js +0 -1
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/elements.d.ts +0 -13
- package/dist/AppHeaderMobile/AppHeaderSubMenuTarget/index.d.ts +0 -7
- package/dist/Avatar/Avatar.stories.js +0 -15
- package/dist/Carousel/elements.d.ts +0 -27
- package/dist/CertificationPathCard/__tests__/__fixtures__/index.d.ts +0 -2
- package/dist/CommunityEventCard/EventTypeIcon.d.ts +0 -11
- package/dist/ContentGroupBaseCard/shared.d.ts +0 -7
- package/dist/CourseCard/__tests__/__fixtures__/index.d.ts +0 -3
- 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/DropdownButton/useDynamicPopoverPosition.d.ts +0 -14
- package/dist/DropdownButton/useDynamicPopoverPosition.test.js +0 -85
- 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 -11
- 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.js +0 -1
- package/dist/GlobalFooter/FooterNavLinks/SocialMediaLinks.d.ts +0 -2
- package/dist/GlobalFooter/FooterNavLinks/index.d.ts +0 -4
- package/dist/GlobalFooter/FooterSubHeading.d.ts +0 -9
- package/dist/GlobalFooter/FooterSubHeading.js +0 -22
- package/dist/GlobalFooter/types.js +0 -1
- package/dist/GlobalHeader/GlobalHeaderItems.d.ts +0 -28
- package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +0 -97
- package/dist/GlobalHeader/context.d.ts +0 -34
- package/dist/GlobalHeader/types.js +0 -1
- package/dist/GlobalHeader/urlHelpers.d.ts +0 -2
- package/dist/Grid/GridCollapse.test.js +0 -96
- package/dist/HeaderHeightArea/useIsInHeaderRegion.d.ts +0 -1
- package/dist/LandingPage/CTA.d.ts +0 -9
- package/dist/LandingPage/Feature.d.ts +0 -32
- package/dist/LandingPage/types.js +0 -1
- package/dist/LayoutMenu/LayoutMenuSection.d.ts +0 -16
- package/dist/LayoutMenuVariant/LayoutMenuSection.d.ts +0 -10
- package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.d.ts +0 -8
- package/dist/LearningOutcomeFlyout/LearningOutcomeCardList.d.ts +0 -7
- package/dist/LearningOutcomeTile/Tile.d.ts +0 -7
- package/dist/Logos/ProLabel/ProLabelCutout/index.d.ts +0 -8
- package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.d.ts +0 -7
- package/dist/NotificationList/EmptyNotification/emptyNotificationContents.d.ts +0 -7
- package/dist/NotificationList/EmptyNotification/index.d.ts +0 -1
- package/dist/NotificationList/typings.js +0 -1
- 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__/NotificationTestComponent.js +0 -12
- package/dist/Notifications/__fixtures__/stubs.d.ts +0 -2
- package/dist/Notifications/__fixtures__/stubs.js +0 -8
- package/dist/Notifications/constants.d.ts +0 -4
- package/dist/Notifications/elements.d.ts +0 -12
- package/dist/Notifications/types.js +0 -1
- package/dist/Notifications/useHeaderNotifications.d.ts +0 -10
- package/dist/Notifications/useNotificationButtons.d.ts +0 -9
- package/dist/PageAlerts/types.js +0 -1
- package/dist/PausableImage/BaseImage/index.d.ts +0 -15
- package/dist/PlanCard/PlanFeature.d.ts +0 -10
- 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 -15
- package/dist/PlanCardTeams/consts.d.ts +0 -9
- package/dist/PricingSection/ConditionalColorMode.d.ts +0 -4
- package/dist/PricingSection/PlanFeature.d.ts +0 -10
- package/dist/PricingSection/PlanFeature.js +0 -88
- package/dist/PricingSection/PricingCard/PricingAmount.d.ts +0 -14
- package/dist/PricingSection/PricingCard/RecommendedBadge.d.ts +0 -3
- package/dist/PricingSection/PricingCard/consts.d.ts +0 -14
- package/dist/PricingSection/PricingCard/consts.js +0 -99
- package/dist/PricingSection/PricingCard/index.d.ts +0 -16
- package/dist/PricingSection/ProductCTA.d.ts +0 -12
- package/dist/PricingSection/Products.d.ts +0 -15
- package/dist/PricingSection/config.d.ts +0 -8
- package/dist/Recurly/context/NoProvider.d.ts +0 -8
- package/dist/Recurly/context/index.js +0 -2
- package/dist/Recurly/context/recurly/w.d.ts +0 -14
- package/dist/Recurly/fields/elements.test.js +0 -79
- package/dist/Recurly/fields/index.js +0 -2
- package/dist/ScoreSummary/helpers.d.ts +0 -11
- package/dist/ScoreSummary/types.js +0 -1
- package/dist/SkillPathCard/__tests__/__fixtures__/index.d.ts +0 -2
- package/dist/SocialMediaSharingDropdown/__tests__/SocialMediaSharingDropdown-test.d.ts +0 -1
- package/dist/assets/darkQuotes.svg +0 -1
- package/dist/assets/dots.svg +0 -1
- package/dist/assets/lightQuotes.svg +0 -1
- package/dist/assets/orange_squiggle.svg +0 -1
- package/dist/lib/catalogList/index.d.ts +0 -6
- 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.js +0 -16
- package/dist/stories/Atoms/BetaSticker.stories.js +0 -21
- package/dist/stories/Atoms/Logos/LogoCodecademy.stories.js +0 -8
- package/dist/stories/Atoms/Logos/LogoCodecademyMini.stories.js +0 -8
- package/dist/stories/Atoms/Logos/LogoCodecademyPro.stories.js +0 -8
- package/dist/stories/Atoms/Logos/LogoCodecademyTeams.stories.js +0 -8
- package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.js +0 -9
- package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +0 -11
- package/dist/stories/Atoms/Logos/ProLabel.stories.js +0 -29
- package/dist/stories/Atoms/RatingsBar.stories.js +0 -16
- package/dist/stories/Atoms/Subgrid.stories.js +0 -87
- package/dist/stories/Molecules/AppBar.stories.js +0 -31
- package/dist/stories/Molecules/AppHeader/AppHeader.stories.js +0 -84
- package/dist/stories/Molecules/AppHeader/AppHeaderDropdown.stories.js +0 -67
- package/dist/stories/Molecules/AppHeader/AppHeaderLink.stories.js +0 -50
- package/dist/stories/Molecules/AppHeader/AppHeaderLogo.stories.js +0 -43
- package/dist/stories/Molecules/AppHeader/AppHeaderMainMenuMobile.stories.js +0 -34
- package/dist/stories/Molecules/AppHeader/AppHeaderMobile.stories.js +0 -40
- package/dist/stories/Molecules/AppHeader/AppHeaderSubMenuMobile.stories.js +0 -25
- package/dist/stories/Molecules/AppHeader/LXStudioHeader.stories.js +0 -176
- package/dist/stories/Molecules/AppHeader/LXStudioMobileHeader.stories.js +0 -84
- package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.d.ts +0 -5
- package/dist/stories/Molecules/AppHeader/MockAppHeaderElements.js +0 -90
- package/dist/stories/Molecules/AvatarChooser.stories.js +0 -22
- package/dist/stories/Molecules/BackToTopAnchor.stories.js +0 -51
- package/dist/stories/Molecules/Banner.stories.js +0 -112
- package/dist/stories/Molecules/Carousel.stories.js +0 -47
- package/dist/stories/Molecules/ContentGroupBaseCard.stories.js +0 -175
- package/dist/stories/Molecules/CurriculumCard.stories.js +0 -201
- package/dist/stories/Molecules/CurriculumCards/CareerPathCard.stories.js +0 -94
- package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.js +0 -67
- package/dist/stories/Molecules/CurriculumCards/CourseCard.stories.js +0 -85
- package/dist/stories/Molecules/CurriculumCards/LoadingCurriculumCard.stories.js +0 -20
- package/dist/stories/Molecules/CurriculumCards/SkillPathCard.stories.js +0 -92
- package/dist/stories/Molecules/DropdownButton.stories.js +0 -207
- package/dist/stories/Molecules/EditorialImage.stories.js +0 -17
- package/dist/stories/Molecules/EmptySection.stories.js +0 -167
- package/dist/stories/Molecules/EnhancedBanner.stories.js +0 -104
- package/dist/stories/Molecules/ErrorContents.stories.js +0 -19
- package/dist/stories/Molecules/GridCollapse.stories.js +0 -42
- package/dist/stories/Molecules/HorizontalScrollMenu.examples.d.ts +0 -1
- package/dist/stories/Molecules/HorizontalScrollMenu.examples.js +0 -67
- package/dist/stories/Molecules/HorizontalScrollMenu.stories.js +0 -11
- package/dist/stories/Molecules/HubCard.stories.js +0 -27
- package/dist/stories/Molecules/InfoCard.stories.js +0 -30
- package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.js +0 -23
- package/dist/stories/Molecules/LearningOutcomeCard.stories.js +0 -189
- package/dist/stories/Molecules/LearningOutcomeFlyout.stories.js +0 -62
- package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.js +0 -20
- package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.js +0 -10
- package/dist/stories/Molecules/LearningOutcomePopover.stories.js +0 -39
- package/dist/stories/Molecules/LearningOutcomeTile.stories.js +0 -276
- package/dist/stories/Molecules/ListSection.stories.js +0 -97
- package/dist/stories/Molecules/Loading.stories.js +0 -10
- package/dist/stories/Molecules/NotificationList.stories.js +0 -99
- package/dist/stories/Molecules/PageSection.stories.js +0 -67
- package/dist/stories/Molecules/PastDueModalContents.stories.js +0 -62
- package/dist/stories/Molecules/PausableImage.stories.js +0 -16
- package/dist/stories/Molecules/Recurly.stories.js +0 -56
- package/dist/stories/Molecules/ResourceCard.stories.js +0 -18
- package/dist/stories/Molecules/SocialMediaSharing.stories.js +0 -20
- package/dist/stories/Molecules/SocialMediaSharingDropdown.stories.js +0 -20
- package/dist/stories/Molecules/Testimonial.stories.js +0 -59
- package/dist/stories/Organisms/GlobalFooter.stories.js +0 -28
- package/dist/stories/Organisms/GlobalHeader/About.stories.js +0 -133
- package/dist/stories/Organisms/GlobalHeader/Anon.stories.js +0 -71
- package/dist/stories/Organisms/GlobalHeader/Bootcamp.stories.js +0 -29
- package/dist/stories/Organisms/GlobalHeader/Enterprise.stories.js +0 -105
- package/dist/stories/Organisms/GlobalHeader/Free.stories.js +0 -131
- package/dist/stories/Organisms/GlobalHeader/Pro.stories.js +0 -197
- package/dist/stories/Organisms/GlobalHeader/Simple.stories.js +0 -28
- package/dist/stories/Organisms/GlobalPage.stories.js +0 -138
- package/dist/stories/Organisms/LayoutMenu.stories.js +0 -239
- package/dist/stories/Organisms/LayoutMenuVariant.stories.js +0 -222
- package/dist/stories/Organisms/PageAlerts.example.d.ts +0 -2
- package/dist/stories/Organisms/PageAlerts.example.js +0 -42
- package/dist/stories/Organisms/PageAlerts.stories.js +0 -15
- package/dist/stories/Organisms/PageFeatures.stories.js +0 -175
- package/dist/stories/Organisms/PageHero.stories.js +0 -135
- package/dist/stories/Organisms/PageLayoutWithSidebarMenu.stories.js +0 -34
- package/dist/stories/Organisms/PagePrefooter.stories.js +0 -58
- package/dist/stories/Organisms/PageSingleFeature.stories.js +0 -148
- package/dist/stories/Organisms/PageVideoGallery.stories.js +0 -65
- package/dist/stories/Organisms/PlanCard.stories.js +0 -98
- package/dist/stories/Organisms/PlanCardTeams.stories.js +0 -27
- package/dist/stories/Organisms/ScoreSummary.stories.js +0 -295
- package/dist/svg.d.ts +0 -7
- package/dist/theme.d.ts +0 -5
- /package/dist/{NotFoundContent/404.svg → assets/404-BM2-wvJv.svg} +0 -0
- /package/dist/{GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg → assets/download-on-the-app-store-BbQ68gT5.svg} +0 -0
- /package/dist/{GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png → assets/get-it-on-google-play-CnA-UUOj.png} +0 -0
- /package/dist/{AppBarDeprecated/styles/index.module.scss → assets/index.module-Dz0I2VL5.scss} +0 -0
- /package/dist/assets/{navyQuotes.svg → navyQuotes-C0ZxClwi.svg} +0 -0
- /package/dist/{EditorialImage/styles.module.scss → assets/styles.module-CAlrRbjX.scss} +0 -0
- /package/dist/{Loading/styles.module.scss → assets/styles.module-DbrbHmEX.scss} +0 -0
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let _codecademy_gamut = require("@codecademy/gamut");
|
|
3
|
+
let _codecademy_gamut_styles = require("@codecademy/gamut-styles");
|
|
4
|
+
let _emotion_styled = require("@emotion/styled");
|
|
5
|
+
_emotion_styled = require_rolldown_runtime.__toESM(_emotion_styled);
|
|
6
|
+
let react = require("react");
|
|
7
|
+
react = require_rolldown_runtime.__toESM(react);
|
|
8
|
+
let react_jsx_runtime = require("react/jsx-runtime");
|
|
9
|
+
let _codecademy_gamut_patterns = require("@codecademy/gamut-patterns");
|
|
10
|
+
|
|
11
|
+
//#region src/EmptySection/index.tsx
|
|
12
|
+
const EmptyContainer = (0, _emotion_styled.default)(_codecademy_gamut.FlexBox)((0, _codecademy_gamut_styles.variant)({
|
|
13
|
+
prop: "stretchDirection",
|
|
14
|
+
defaultVariant: "left",
|
|
15
|
+
base: {
|
|
16
|
+
justifySelf: "center",
|
|
17
|
+
position: "relative",
|
|
18
|
+
px: 32,
|
|
19
|
+
py: {
|
|
20
|
+
_: 64,
|
|
21
|
+
lg: 96
|
|
22
|
+
},
|
|
23
|
+
width: 1
|
|
24
|
+
},
|
|
25
|
+
variants: {
|
|
26
|
+
left: {
|
|
27
|
+
pl: { sm: 0 },
|
|
28
|
+
pr: {
|
|
29
|
+
sm: 64,
|
|
30
|
+
lg: 96
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
right: {
|
|
34
|
+
pr: { sm: 0 },
|
|
35
|
+
pl: {
|
|
36
|
+
sm: 64,
|
|
37
|
+
lg: 96
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
none: {}
|
|
41
|
+
}
|
|
42
|
+
}));
|
|
43
|
+
const Dots = (0, _emotion_styled.default)(_codecademy_gamut_patterns.DotLoose)((0, _codecademy_gamut_styles.variant)({
|
|
44
|
+
prop: "stretchDirection",
|
|
45
|
+
defaultVariant: "left",
|
|
46
|
+
base: {
|
|
47
|
+
position: "absolute",
|
|
48
|
+
top: 0,
|
|
49
|
+
bottom: 0,
|
|
50
|
+
left: -16
|
|
51
|
+
},
|
|
52
|
+
variants: {
|
|
53
|
+
left: {
|
|
54
|
+
left: {
|
|
55
|
+
xs: -32,
|
|
56
|
+
sm: -64,
|
|
57
|
+
lg: -96,
|
|
58
|
+
xl: "calc((1248px - 100vw) / 2)"
|
|
59
|
+
},
|
|
60
|
+
width: {
|
|
61
|
+
_: "100vw",
|
|
62
|
+
xs: "calc(100vw - 32px)",
|
|
63
|
+
sm: "calc(100vw - 64px)",
|
|
64
|
+
lg: "calc(100vw - 96px)",
|
|
65
|
+
xl: "calc(1248px + ((100vw - 1248px) / 2))"
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
right: {
|
|
69
|
+
left: { xs: 0 },
|
|
70
|
+
width: {
|
|
71
|
+
_: "100vw",
|
|
72
|
+
xs: "calc(100vw - 32px)",
|
|
73
|
+
sm: "calc(100vw - 64px)",
|
|
74
|
+
lg: "calc(100vw - 96px)",
|
|
75
|
+
xl: "calc(1248px + ((100vw - 1248px) / 2))"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
none: {
|
|
79
|
+
left: 0,
|
|
80
|
+
width: "100%"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}));
|
|
84
|
+
const illustrationPositionVariants = (0, _codecademy_gamut_styles.variant)({
|
|
85
|
+
prop: "illustrationPosition",
|
|
86
|
+
defaultVariant: "right",
|
|
87
|
+
base: {
|
|
88
|
+
mx: {
|
|
89
|
+
_: "auto",
|
|
90
|
+
sm: 0
|
|
91
|
+
},
|
|
92
|
+
mb: {
|
|
93
|
+
_: 32,
|
|
94
|
+
sm: 0
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
variants: {
|
|
98
|
+
left: { mr: { sm: 48 } },
|
|
99
|
+
right: { ml: { sm: 48 } }
|
|
100
|
+
}
|
|
101
|
+
});
|
|
102
|
+
const IllustrationContainer = (0, _emotion_styled.default)("div", _codecademy_gamut_styles.styledOptions)(illustrationPositionVariants);
|
|
103
|
+
const EmptySection = ({ bodyText, children, headingText, illustration: Illustration, stretchDirection, illustrationPosition = stretchDirection === "right" ? "left" : "right" }) => {
|
|
104
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(EmptyContainer, {
|
|
105
|
+
stretchDirection,
|
|
106
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(Dots, { stretchDirection }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.FlexBox, {
|
|
107
|
+
maxWidth: "822px",
|
|
108
|
+
flexBasis: "100%",
|
|
109
|
+
position: "relative",
|
|
110
|
+
bg: "background-current",
|
|
111
|
+
py: 48,
|
|
112
|
+
px: {
|
|
113
|
+
_: 16,
|
|
114
|
+
sm: 48,
|
|
115
|
+
md: 64
|
|
116
|
+
},
|
|
117
|
+
zIndex: 1,
|
|
118
|
+
flexDirection: {
|
|
119
|
+
_: "column",
|
|
120
|
+
sm: illustrationPosition === "right" ? "row-reverse" : "row"
|
|
121
|
+
},
|
|
122
|
+
justifyContent: {
|
|
123
|
+
_: "space-around",
|
|
124
|
+
md: "space-between"
|
|
125
|
+
},
|
|
126
|
+
alignItems: "center",
|
|
127
|
+
textAlign: {
|
|
128
|
+
_: "center",
|
|
129
|
+
sm: "start"
|
|
130
|
+
},
|
|
131
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IllustrationContainer, {
|
|
132
|
+
illustrationPosition,
|
|
133
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Illustration, { width: (0, _codecademy_gamut_styles.pxRem)(100) })
|
|
134
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_codecademy_gamut.FlexBox, {
|
|
135
|
+
flexDirection: "column",
|
|
136
|
+
alignItems: {
|
|
137
|
+
_: "center",
|
|
138
|
+
sm: "start"
|
|
139
|
+
},
|
|
140
|
+
children: [
|
|
141
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Text, {
|
|
142
|
+
as: "h2",
|
|
143
|
+
fontSize: 22,
|
|
144
|
+
mb: 8,
|
|
145
|
+
children: headingText
|
|
146
|
+
}),
|
|
147
|
+
bodyText && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_codecademy_gamut.Text, {
|
|
148
|
+
mb: 32,
|
|
149
|
+
children: bodyText
|
|
150
|
+
}),
|
|
151
|
+
children
|
|
152
|
+
]
|
|
153
|
+
})]
|
|
154
|
+
})]
|
|
155
|
+
});
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
//#endregion
|
|
159
|
+
exports.EmptySection = EmptySection;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { DropdownButtonProps } from "../DropdownButton/index.cjs";
|
|
2
|
+
import { ButtonProps } from "@codecademy/gamut";
|
|
3
|
+
import * as React$1 from "react";
|
|
4
|
+
import { IllustrationProps } from "@codecademy/gamut-illustrations";
|
|
5
|
+
|
|
6
|
+
//#region src/EmptySection/index.d.ts
|
|
7
|
+
type EmptySectionProps = {
|
|
8
|
+
/**
|
|
9
|
+
* Paragraph text that displays beneath the heading text
|
|
10
|
+
*/
|
|
11
|
+
bodyText?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Button or dropdown button with an action for the user to take
|
|
14
|
+
*/
|
|
15
|
+
children?: React$1.ReactElement<ButtonProps | DropdownButtonProps>;
|
|
16
|
+
/**
|
|
17
|
+
* The larger heading text that appears over the body text
|
|
18
|
+
*/
|
|
19
|
+
headingText: string;
|
|
20
|
+
illustration: React$1.ComponentType<IllustrationProps>;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the illustration appears to the left or right of the rest of the section's content
|
|
23
|
+
*/
|
|
24
|
+
illustrationPosition?: 'left' | 'right';
|
|
25
|
+
/**
|
|
26
|
+
* Whether the pattern background stretches to the end of the left or right of the viewport
|
|
27
|
+
*/
|
|
28
|
+
stretchDirection: 'left' | 'right' | 'none';
|
|
29
|
+
};
|
|
30
|
+
declare const EmptySection: React$1.FC<EmptySectionProps>;
|
|
31
|
+
//#endregion
|
|
32
|
+
export { EmptySection, EmptySectionProps };
|
|
@@ -1,28 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
import { DropdownButtonProps } from "../DropdownButton/index.js";
|
|
2
|
+
import "../index.js";
|
|
3
|
+
import { ButtonProps } from "@codecademy/gamut";
|
|
4
|
+
import * as React$1 from "react";
|
|
5
|
+
import { IllustrationProps } from "@codecademy/gamut-illustrations";
|
|
6
|
+
|
|
7
|
+
//#region src/EmptySection/index.d.ts
|
|
8
|
+
type EmptySectionProps = {
|
|
9
|
+
/**
|
|
10
|
+
* Paragraph text that displays beneath the heading text
|
|
11
|
+
*/
|
|
12
|
+
bodyText?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Button or dropdown button with an action for the user to take
|
|
15
|
+
*/
|
|
16
|
+
children?: React$1.ReactElement<ButtonProps | DropdownButtonProps>;
|
|
17
|
+
/**
|
|
18
|
+
* The larger heading text that appears over the body text
|
|
19
|
+
*/
|
|
20
|
+
headingText: string;
|
|
21
|
+
illustration: React$1.ComponentType<IllustrationProps>;
|
|
22
|
+
/**
|
|
23
|
+
* Whether the illustration appears to the left or right of the rest of the section's content
|
|
24
|
+
*/
|
|
25
|
+
illustrationPosition?: 'left' | 'right';
|
|
26
|
+
/**
|
|
27
|
+
* Whether the pattern background stretches to the end of the left or right of the viewport
|
|
28
|
+
*/
|
|
29
|
+
stretchDirection: 'left' | 'right' | 'none';
|
|
27
30
|
};
|
|
28
|
-
|
|
31
|
+
declare const EmptySection: React$1.FC<EmptySectionProps>;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { EmptySection, EmptySectionProps };
|
|
@@ -1,183 +1,156 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
sm: 'calc(100vw - 64px)',
|
|
82
|
-
lg: 'calc(100vw - 96px)',
|
|
83
|
-
xl: 'calc(1248px + ((100vw - 1248px) / 2))'
|
|
84
|
-
}
|
|
85
|
-
},
|
|
86
|
-
none: {
|
|
87
|
-
left: 0,
|
|
88
|
-
width: '100%'
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9FbXB0eVNlY3Rpb24vaW5kZXgudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTJEYSIsImZpbGUiOiIuLi8uLi9zcmMvRW1wdHlTZWN0aW9uL2luZGV4LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJ1dHRvblByb3BzLCBGbGV4Qm94LCBUZXh0IH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQnO1xuaW1wb3J0IHsgSWxsdXN0cmF0aW9uUHJvcHMgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1pbGx1c3RyYXRpb25zJztcbmltcG9ydCB7IERvdExvb3NlIH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQtcGF0dGVybnMnO1xuaW1wb3J0IHsgcHhSZW0sIHN0eWxlZE9wdGlvbnMsIHZhcmlhbnQgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHsgU3R5bGVQcm9wcyB9IGZyb20gJ0Bjb2RlY2FkZW15L3ZhcmlhbmNlJztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gJ3JlYWN0JztcblxuaW1wb3J0IHsgRHJvcGRvd25CdXR0b25Qcm9wcyB9IGZyb20gJy4uJztcblxuZXhwb3J0IHR5cGUgRW1wdHlTZWN0aW9uUHJvcHMgPSB7XG4gIC8qKlxuICAgKiBQYXJhZ3JhcGggdGV4dCB0aGF0IGRpc3BsYXlzIGJlbmVhdGggdGhlIGhlYWRpbmcgdGV4dFxuICAgKi9cbiAgYm9keVRleHQ/OiBzdHJpbmc7XG4gIC8qKlxuICAgKiBCdXR0b24gb3IgZHJvcGRvd24gYnV0dG9uIHdpdGggYW4gYWN0aW9uIGZvciB0aGUgdXNlciB0byB0YWtlXG4gICAqL1xuICBjaGlsZHJlbj86IFJlYWN0LlJlYWN0RWxlbWVudDxCdXR0b25Qcm9wcyB8IERyb3Bkb3duQnV0dG9uUHJvcHM+O1xuICAvKipcbiAgICogVGhlIGxhcmdlciBoZWFkaW5nIHRleHQgdGhhdCBhcHBlYXJzIG92ZXIgdGhlIGJvZHkgdGV4dFxuICAgKi9cbiAgaGVhZGluZ1RleHQ6IHN0cmluZztcbiAgaWxsdXN0cmF0aW9uOiBSZWFjdC5Db21wb25lbnRUeXBlPElsbHVzdHJhdGlvblByb3BzPjtcbiAgLyoqXG4gICAqIFdoZXRoZXIgdGhlIGlsbHVzdHJhdGlvbiBhcHBlYXJzIHRvIHRoZSBsZWZ0IG9yIHJpZ2h0IG9mIHRoZSByZXN0IG9mIHRoZSBzZWN0aW9uJ3MgY29udGVudFxuICAgKi9cbiAgaWxsdXN0cmF0aW9uUG9zaXRpb24/OiAnbGVmdCcgfCAncmlnaHQnO1xuICAvKipcbiAgICogV2hldGhlciB0aGUgcGF0dGVybiBiYWNrZ3JvdW5kIHN0cmV0Y2hlcyB0byB0aGUgZW5kIG9mIHRoZSBsZWZ0IG9yIHJpZ2h0IG9mIHRoZSB2aWV3cG9ydFxuICAgKi9cbiAgc3RyZXRjaERpcmVjdGlvbjogJ2xlZnQnIHwgJ3JpZ2h0JyB8ICdub25lJztcbn07XG5cbmNvbnN0IEVtcHR5Q29udGFpbmVyID0gc3R5bGVkKEZsZXhCb3gpKFxuICB2YXJpYW50KHtcbiAgICBwcm9wOiAnc3RyZXRjaERpcmVjdGlvbicsXG4gICAgZGVmYXVsdFZhcmlhbnQ6ICdsZWZ0JyxcbiAgICBiYXNlOiB7XG4gICAgICBqdXN0aWZ5U2VsZjogJ2NlbnRlcicsXG4gICAgICBwb3NpdGlvbjogJ3JlbGF0aXZlJyxcbiAgICAgIHB4OiAzMixcbiAgICAgIHB5OiB7IF86IDY0LCBsZzogOTYgfSxcbiAgICAgIHdpZHRoOiAxLFxuICAgIH0sXG4gICAgdmFyaWFudHM6IHtcbiAgICAgIGxlZnQ6IHtcbiAgICAgICAgcGw6IHsgc206IDAgfSxcbiAgICAgICAgcHI6IHsgc206IDY0LCBsZzogOTYgfSxcbiAgICAgIH0sXG4gICAgICByaWdodDoge1xuICAgICAgICBwcjogeyBzbTogMCB9LFxuICAgICAgICBwbDogeyBzbTogNjQsIGxnOiA5NiB9LFxuICAgICAgfSxcbiAgICAgIG5vbmU6IHt9LFxuICAgIH0sXG4gIH0pXG4pO1xuXG5jb25zdCBEb3RzID0gc3R5bGVkKERvdExvb3NlKShcbiAgdmFyaWFudCh7XG4gICAgcHJvcDogJ3N0cmV0Y2hEaXJlY3Rpb24nLFxuICAgIGRlZmF1bHRWYXJpYW50OiAnbGVmdCcsXG4gICAgYmFzZToge1xuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICB0b3A6IDAsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAtMTYsXG4gICAgfSxcbiAgICB2YXJpYW50czoge1xuICAgICAgbGVmdDoge1xuICAgICAgICBsZWZ0OiB7XG4gICAgICAgICAgeHM6IC0zMixcbiAgICAgICAgICBzbTogLTY0LFxuICAgICAgICAgIGxnOiAtOTYsXG4gICAgICAgICAgeGw6ICdjYWxjKCgxMjQ4cHggLSAxMDB2dykgLyAyKScsXG4gICAgICAgIH0sXG4gICAgICAgIHdpZHRoOiB7XG4gICAgICAgICAgXzogJzEwMHZ3JyxcbiAgICAgICAgICB4czogJ2NhbGMoMTAwdncgLSAzMnB4KScsXG4gICAgICAgICAgc206ICdjYWxjKDEwMHZ3IC0gNjRweCknLFxuICAgICAgICAgIGxnOiAnY2FsYygxMDB2dyAtIDk2cHgpJyxcbiAgICAgICAgICB4bDogJ2NhbGMoMTI0OHB4ICsgKCgxMDB2dyAtIDEyNDhweCkgLyAyKSknLFxuICAgICAgICB9LFxuICAgICAgfSxcbiAgICAgIHJpZ2h0OiB7XG4gICAgICAgIGxlZnQ6IHsgeHM6IDAgfSxcbiAgICAgICAgd2lkdGg6IHtcbiAgICAgICAgICBfOiAnMTAwdncnLFxuICAgICAgICAgIHhzOiAnY2FsYygxMDB2dyAtIDMycHgpJyxcbiAgICAgICAgICBzbTogJ2NhbGMoMTAwdncgLSA2NHB4KScsXG4gICAgICAgICAgbGc6ICdjYWxjKDEwMHZ3IC0gOTZweCknLFxuICAgICAgICAgIHhsOiAnY2FsYygxMjQ4cHggKyAoKDEwMHZ3IC0gMTI0OHB4KSAvIDIpKScsXG4gICAgICAgIH0sXG4gICAgICB9LFxuICAgICAgbm9uZToge1xuICAgICAgICBsZWZ0OiAwLFxuICAgICAgICB3aWR0aDogJzEwMCUnLFxuICAgICAgfSxcbiAgICB9LFxuICB9KVxuKTtcblxuY29uc3QgaWxsdXN0cmF0aW9uUG9zaXRpb25WYXJpYW50cyA9IHZhcmlhbnQoe1xuICBwcm9wOiAnaWxsdXN0cmF0aW9uUG9zaXRpb24nLFxuICBkZWZhdWx0VmFyaWFudDogJ3JpZ2h0JyxcbiAgYmFzZToge1xuICAgIG14OiB7IF86ICdhdXRvJywgc206IDAgfSxcbiAgICBtYjogeyBfOiAzMiwgc206IDAgfSxcbiAgfSxcbiAgdmFyaWFudHM6IHtcbiAgICBsZWZ0OiB7XG4gICAgICBtcjogeyBzbTogNDggfSxcbiAgICB9LFxuICAgIHJpZ2h0OiB7XG4gICAgICBtbDogeyBzbTogNDggfSxcbiAgICB9LFxuICB9LFxufSk7XG5cbnR5cGUgSWxsdXN0cmF0aW9uQ29udGFpbmVyUHJvcHMgPSBTdHlsZVByb3BzPFxuICB0eXBlb2YgaWxsdXN0cmF0aW9uUG9zaXRpb25WYXJpYW50c1xuPjtcblxuY29uc3QgSWxsdXN0cmF0aW9uQ29udGFpbmVyID0gc3R5bGVkKFxuICAnZGl2JyxcbiAgc3R5bGVkT3B0aW9uc1xuKTxJbGx1c3RyYXRpb25Db250YWluZXJQcm9wcz4oaWxsdXN0cmF0aW9uUG9zaXRpb25WYXJpYW50cyk7XG5cbmV4cG9ydCBjb25zdCBFbXB0eVNlY3Rpb246IFJlYWN0LkZDPEVtcHR5U2VjdGlvblByb3BzPiA9ICh7XG4gIGJvZHlUZXh0LFxuICBjaGlsZHJlbixcbiAgaGVhZGluZ1RleHQsXG4gIGlsbHVzdHJhdGlvbjogSWxsdXN0cmF0aW9uLFxuICBzdHJldGNoRGlyZWN0aW9uLFxuICBpbGx1c3RyYXRpb25Qb3NpdGlvbiA9IHN0cmV0Y2hEaXJlY3Rpb24gPT09ICdyaWdodCcgPyAnbGVmdCcgOiAncmlnaHQnLFxufSkgPT4ge1xuICBjb25zdCBmbGV4RGlyZWN0aW9uID1cbiAgICBpbGx1c3RyYXRpb25Qb3NpdGlvbiA9PT0gJ3JpZ2h0JyA/ICdyb3ctcmV2ZXJzZScgOiAncm93JztcblxuICByZXR1cm4gKFxuICAgIDxFbXB0eUNvbnRhaW5lciBzdHJldGNoRGlyZWN0aW9uPXtzdHJldGNoRGlyZWN0aW9ufT5cbiAgICAgIDxEb3RzIHN0cmV0Y2hEaXJlY3Rpb249e3N0cmV0Y2hEaXJlY3Rpb259IC8+XG4gICAgICA8RmxleEJveFxuICAgICAgICBtYXhXaWR0aD1cIjgyMnB4XCJcbiAgICAgICAgZmxleEJhc2lzPVwiMTAwJVwiXG4gICAgICAgIHBvc2l0aW9uPVwicmVsYXRpdmVcIlxuICAgICAgICBiZz1cImJhY2tncm91bmQtY3VycmVudFwiXG4gICAgICAgIHB5PXs0OH1cbiAgICAgICAgcHg9e3sgXzogMTYsIHNtOiA0OCwgbWQ6IDY0IH19XG4gICAgICAgIHpJbmRleD17MX1cbiAgICAgICAgZmxleERpcmVjdGlvbj17eyBfOiAnY29sdW1uJywgc206IGZsZXhEaXJlY3Rpb24gfX1cbiAgICAgICAganVzdGlmeUNvbnRlbnQ9e3sgXzogJ3NwYWNlLWFyb3VuZCcsIG1kOiAnc3BhY2UtYmV0d2VlbicgfX1cbiAgICAgICAgYWxpZ25JdGVtcz1cImNlbnRlclwiXG4gICAgICAgIHRleHRBbGlnbj17eyBfOiAnY2VudGVyJywgc206ICdzdGFydCcgfX1cbiAgICAgID5cbiAgICAgICAgPElsbHVzdHJhdGlvbkNvbnRhaW5lciBpbGx1c3RyYXRpb25Qb3NpdGlvbj17aWxsdXN0cmF0aW9uUG9zaXRpb259PlxuICAgICAgICAgIDxJbGx1c3RyYXRpb24gd2lkdGg9e3B4UmVtKDEwMCl9IC8+XG4gICAgICAgIDwvSWxsdXN0cmF0aW9uQ29udGFpbmVyPlxuICAgICAgICA8RmxleEJveFxuICAgICAgICAgIGZsZXhEaXJlY3Rpb249XCJjb2x1bW5cIlxuICAgICAgICAgIGFsaWduSXRlbXM9e3sgXzogJ2NlbnRlcicsIHNtOiAnc3RhcnQnIH19XG4gICAgICAgID5cbiAgICAgICAgICA8VGV4dCBhcz1cImgyXCIgZm9udFNpemU9ezIyfSBtYj17OH0+XG4gICAgICAgICAgICB7aGVhZGluZ1RleHR9XG4gICAgICAgICAgPC9UZXh0PlxuICAgICAgICAgIHtib2R5VGV4dCAmJiA8VGV4dCBtYj17MzJ9Pntib2R5VGV4dH08L1RleHQ+fVxuICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgPC9GbGV4Qm94PlxuICAgICAgPC9GbGV4Qm94PlxuICAgIDwvRW1wdHlDb250YWluZXI+XG4gICk7XG59O1xuIl19 */");
|
|
1
|
+
import { FlexBox, Text } from "@codecademy/gamut";
|
|
2
|
+
import { pxRem, styledOptions, variant } from "@codecademy/gamut-styles";
|
|
3
|
+
import styled from "@emotion/styled";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { DotLoose } from "@codecademy/gamut-patterns";
|
|
7
|
+
|
|
8
|
+
//#region src/EmptySection/index.tsx
|
|
9
|
+
const EmptyContainer = styled(FlexBox)(variant({
|
|
10
|
+
prop: "stretchDirection",
|
|
11
|
+
defaultVariant: "left",
|
|
12
|
+
base: {
|
|
13
|
+
justifySelf: "center",
|
|
14
|
+
position: "relative",
|
|
15
|
+
px: 32,
|
|
16
|
+
py: {
|
|
17
|
+
_: 64,
|
|
18
|
+
lg: 96
|
|
19
|
+
},
|
|
20
|
+
width: 1
|
|
21
|
+
},
|
|
22
|
+
variants: {
|
|
23
|
+
left: {
|
|
24
|
+
pl: { sm: 0 },
|
|
25
|
+
pr: {
|
|
26
|
+
sm: 64,
|
|
27
|
+
lg: 96
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
right: {
|
|
31
|
+
pr: { sm: 0 },
|
|
32
|
+
pl: {
|
|
33
|
+
sm: 64,
|
|
34
|
+
lg: 96
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
none: {}
|
|
38
|
+
}
|
|
39
|
+
}));
|
|
40
|
+
const Dots = styled(DotLoose)(variant({
|
|
41
|
+
prop: "stretchDirection",
|
|
42
|
+
defaultVariant: "left",
|
|
43
|
+
base: {
|
|
44
|
+
position: "absolute",
|
|
45
|
+
top: 0,
|
|
46
|
+
bottom: 0,
|
|
47
|
+
left: -16
|
|
48
|
+
},
|
|
49
|
+
variants: {
|
|
50
|
+
left: {
|
|
51
|
+
left: {
|
|
52
|
+
xs: -32,
|
|
53
|
+
sm: -64,
|
|
54
|
+
lg: -96,
|
|
55
|
+
xl: "calc((1248px - 100vw) / 2)"
|
|
56
|
+
},
|
|
57
|
+
width: {
|
|
58
|
+
_: "100vw",
|
|
59
|
+
xs: "calc(100vw - 32px)",
|
|
60
|
+
sm: "calc(100vw - 64px)",
|
|
61
|
+
lg: "calc(100vw - 96px)",
|
|
62
|
+
xl: "calc(1248px + ((100vw - 1248px) / 2))"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
right: {
|
|
66
|
+
left: { xs: 0 },
|
|
67
|
+
width: {
|
|
68
|
+
_: "100vw",
|
|
69
|
+
xs: "calc(100vw - 32px)",
|
|
70
|
+
sm: "calc(100vw - 64px)",
|
|
71
|
+
lg: "calc(100vw - 96px)",
|
|
72
|
+
xl: "calc(1248px + ((100vw - 1248px) / 2))"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
none: {
|
|
76
|
+
left: 0,
|
|
77
|
+
width: "100%"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}));
|
|
92
81
|
const illustrationPositionVariants = variant({
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
right: {
|
|
112
|
-
ml: {
|
|
113
|
-
sm: 48
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
82
|
+
prop: "illustrationPosition",
|
|
83
|
+
defaultVariant: "right",
|
|
84
|
+
base: {
|
|
85
|
+
mx: {
|
|
86
|
+
_: "auto",
|
|
87
|
+
sm: 0
|
|
88
|
+
},
|
|
89
|
+
mb: {
|
|
90
|
+
_: 32,
|
|
91
|
+
sm: 0
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
variants: {
|
|
95
|
+
left: { mr: { sm: 48 } },
|
|
96
|
+
right: { ml: { sm: 48 } }
|
|
97
|
+
}
|
|
117
98
|
});
|
|
118
|
-
const IllustrationContainer =
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}), bodyText && /*#__PURE__*/_jsx(Text, {
|
|
177
|
-
mb: 32,
|
|
178
|
-
children: bodyText
|
|
179
|
-
}), children]
|
|
180
|
-
})]
|
|
181
|
-
})]
|
|
182
|
-
});
|
|
183
|
-
};
|
|
99
|
+
const IllustrationContainer = styled("div", styledOptions)(illustrationPositionVariants);
|
|
100
|
+
const EmptySection = ({ bodyText, children, headingText, illustration: Illustration, stretchDirection, illustrationPosition = stretchDirection === "right" ? "left" : "right" }) => {
|
|
101
|
+
return /* @__PURE__ */ jsxs(EmptyContainer, {
|
|
102
|
+
stretchDirection,
|
|
103
|
+
children: [/* @__PURE__ */ jsx(Dots, { stretchDirection }), /* @__PURE__ */ jsxs(FlexBox, {
|
|
104
|
+
maxWidth: "822px",
|
|
105
|
+
flexBasis: "100%",
|
|
106
|
+
position: "relative",
|
|
107
|
+
bg: "background-current",
|
|
108
|
+
py: 48,
|
|
109
|
+
px: {
|
|
110
|
+
_: 16,
|
|
111
|
+
sm: 48,
|
|
112
|
+
md: 64
|
|
113
|
+
},
|
|
114
|
+
zIndex: 1,
|
|
115
|
+
flexDirection: {
|
|
116
|
+
_: "column",
|
|
117
|
+
sm: illustrationPosition === "right" ? "row-reverse" : "row"
|
|
118
|
+
},
|
|
119
|
+
justifyContent: {
|
|
120
|
+
_: "space-around",
|
|
121
|
+
md: "space-between"
|
|
122
|
+
},
|
|
123
|
+
alignItems: "center",
|
|
124
|
+
textAlign: {
|
|
125
|
+
_: "center",
|
|
126
|
+
sm: "start"
|
|
127
|
+
},
|
|
128
|
+
children: [/* @__PURE__ */ jsx(IllustrationContainer, {
|
|
129
|
+
illustrationPosition,
|
|
130
|
+
children: /* @__PURE__ */ jsx(Illustration, { width: pxRem(100) })
|
|
131
|
+
}), /* @__PURE__ */ jsxs(FlexBox, {
|
|
132
|
+
flexDirection: "column",
|
|
133
|
+
alignItems: {
|
|
134
|
+
_: "center",
|
|
135
|
+
sm: "start"
|
|
136
|
+
},
|
|
137
|
+
children: [
|
|
138
|
+
/* @__PURE__ */ jsx(Text, {
|
|
139
|
+
as: "h2",
|
|
140
|
+
fontSize: 22,
|
|
141
|
+
mb: 8,
|
|
142
|
+
children: headingText
|
|
143
|
+
}),
|
|
144
|
+
bodyText && /* @__PURE__ */ jsx(Text, {
|
|
145
|
+
mb: 32,
|
|
146
|
+
children: bodyText
|
|
147
|
+
}),
|
|
148
|
+
children
|
|
149
|
+
]
|
|
150
|
+
})]
|
|
151
|
+
})]
|
|
152
|
+
});
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
//#endregion
|
|
156
|
+
export { EmptySection };
|