@codecademy/brand 1.0.0-alpha.620719fc92.0 → 1.0.0-alpha.6b25e8a68f.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/AppBar/AppBarSection.js +1 -1
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.d.ts +0 -1
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogDropdown/index.js +2 -4
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +14 -14
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.js +6 -6
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.d.ts +0 -1
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.js +15 -12
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +5 -5
- package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +1 -1
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.d.ts +1 -1
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesSection/index.js +2 -2
- package/dist/AppHeader/Search/QuizAndHelpCenterLinks.d.ts +0 -1
- package/dist/AppHeader/Search/QuizAndHelpCenterLinks.js +11 -8
- package/dist/AppHeader/Search/SearchButton.js +1 -3
- package/dist/AppHeader/Search/SearchPane.d.ts +1 -3
- package/dist/AppHeader/Search/SearchPane.js +72 -66
- package/dist/AppHeader/Search/SearchWorker/PromiseLookup.d.ts +18 -0
- package/dist/AppHeader/Search/SearchWorker/PromiseLookup.js +35 -0
- package/dist/AppHeader/Search/SearchWorker/index.d.ts +4 -34
- package/dist/AppHeader/Search/SearchWorker/index.js +22 -73
- package/dist/AppHeader/Search/SearchWorker/src.d.ts +1 -2
- package/dist/AppHeader/Search/SearchWorker/src.js +253 -199
- package/dist/AppHeader/Search/SearchWorker/types.d.ts +32 -0
- package/dist/AppHeader/Search/SearchWorker/types.js +5 -0
- package/dist/AppHeader/Search/SearchWorker/worker.d.ts +2 -0
- package/dist/AppHeader/Search/SearchWorker/worker.js +32 -0
- package/dist/AppHeader/Search/useHeaderSearch.d.ts +1 -3
- package/dist/AppHeader/Search/useHeaderSearch.js +2 -4
- package/dist/AppHeader/index.d.ts +1 -2
- package/dist/AppHeader/index.js +11 -16
- package/dist/AppHeader/shared/elements.d.ts +10 -272
- package/dist/AppHeader/shared/elements.js +9 -7
- package/dist/AppHeaderMobile/AppHeaderMainMenuMobile/index.js +1 -1
- package/dist/AppHeaderMobile/index.d.ts +0 -1
- package/dist/AppHeaderMobile/index.js +6 -8
- package/dist/Avatar/index.js +1 -1
- package/dist/Carousel/elements.d.ts +4 -4
- package/dist/Carousel/index.js +7 -4
- package/dist/CertificationPathCard/__tests__/__fixtures__/index.d.ts +2 -0
- package/dist/CertificationPathCard/index.d.ts +18 -0
- package/dist/CertificationPathCard/index.js +39 -0
- package/dist/ContentGroupBaseCard/index.d.ts +5 -0
- package/dist/ContentGroupBaseCard/index.js +14 -5
- package/dist/DropdownButton/DropdownList.js +1 -1
- package/dist/DropdownButton/index.d.ts +312 -1
- package/dist/DropdownButton/index.js +9 -6
- package/dist/EmptySection/index.d.ts +1 -1
- package/dist/EmptySection/index.js +31 -10
- package/dist/GlobalFooter/FooterHeading.d.ts +4 -4
- package/dist/GlobalFooter/FooterHeading.js +12 -25
- package/dist/GlobalFooter/FooterLinks.d.ts +1 -1
- package/dist/GlobalFooter/FooterLinks.js +10 -19
- package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.js +28 -46
- package/dist/GlobalFooter/FooterSubHeading.d.ts +2 -2
- package/dist/GlobalFooter/FooterSubHeading.js +9 -18
- package/dist/GlobalHeader/GlobalHeaderItems.d.ts +0 -1
- package/dist/GlobalHeader/GlobalHeaderItems.js +0 -8
- package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +4 -4
- package/dist/GlobalHeader/GlobalHeaderVariants.js +11 -11
- package/dist/GlobalHeader/index.d.ts +4 -2
- package/dist/GlobalHeader/index.js +45 -48
- package/dist/GlobalHeader/types.d.ts +0 -4
- package/dist/Grid/GridCollapse.js +16 -23
- package/dist/LayoutMenuVariant/AccordionMenu.d.ts +2 -0
- package/dist/LayoutMenuVariant/AccordionMenu.js +3 -3
- package/dist/LayoutMenuVariant/LayoutMenuSection.js +2 -1
- package/dist/LayoutMenuVariant/SectionItemLink.d.ts +2 -1
- package/dist/LayoutMenuVariant/SectionItemLink.js +2 -1
- package/dist/LoadingCurriculumCard/index.js +1 -1
- package/dist/Logo/index.d.ts +4 -1
- package/dist/Logo/index.js +6 -2
- package/dist/LogoFromSkillsoft/index.js +1 -1
- package/dist/NotificationList/NotificationItem.js +3 -3
- package/dist/Notifications/elements.d.ts +2 -2
- package/dist/PlanCard/PricingAmount.d.ts +1 -1
- package/dist/PlanCard/PricingAmount.js +4 -4
- package/dist/PlanCard/consts.js +1 -1
- package/dist/PlanCard/index.d.ts +1 -2
- package/dist/PlanCard/index.js +14 -22
- package/dist/ProLabel/index.d.ts +1 -1
- package/dist/ProLabel/index.js +1 -1
- package/dist/ResourceCard/index.d.ts +4 -3
- package/dist/ResourceCard/index.js +6 -3
- package/dist/SocialMediaSharing/SocialShareIconLink.js +2 -2
- package/dist/SocialMediaSharingDropdown/index.d.ts +4 -1
- package/dist/SocialMediaSharingDropdown/index.js +11 -2
- package/dist/Testimonial/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/catalogList/index.js +2 -9
- package/dist/stories/Atoms/Subgrid.stories.js +1 -1
- package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.d.ts +9 -0
- package/dist/stories/Molecules/CurriculumCards/CertificationPathCard.stories.js +65 -0
- package/dist/stories/Organisms/GlobalHeader/About.stories.js +8 -8
- package/dist/stories/Organisms/GlobalPage.stories.js +4 -4
- package/dist/stories/Organisms/PlanCard.stories.js +2 -3
- package/package.json +4 -5
- package/dist/StudyPlan/ContentItemDetail.d.ts +0 -10
- package/dist/StudyPlan/ContentItemDetail.js +0 -114
- package/dist/StudyPlan/CreateStudyPlanSectionContent.d.ts +0 -14
- package/dist/StudyPlan/CreateStudyPlanSectionContent.js +0 -90
- package/dist/StudyPlan/ShowMoreContentItemsButton.d.ts +0 -9
- package/dist/StudyPlan/ShowMoreContentItemsButton.js +0 -44
- package/dist/StudyPlan/StudyPlanDeleteDialog.d.ts +0 -6
- package/dist/StudyPlan/StudyPlanDeleteDialog.js +0 -26
- package/dist/StudyPlan/StudyPlanDescription.d.ts +0 -10
- package/dist/StudyPlan/StudyPlanDescription.js +0 -50
- package/dist/StudyPlan/StudyPlanModal/StudyPlanForm.d.ts +0 -10
- package/dist/StudyPlan/StudyPlanModal/StudyPlanForm.js +0 -138
- package/dist/StudyPlan/StudyPlanModal/StudyPlanModalFooter.d.ts +0 -14
- package/dist/StudyPlan/StudyPlanModal/StudyPlanModalFooter.js +0 -64
- package/dist/StudyPlan/StudyPlanModal/index.d.ts +0 -18
- package/dist/StudyPlan/StudyPlanModal/index.js +0 -120
- package/dist/StudyPlan/SuggestedContentItemsSectionHeader.d.ts +0 -8
- package/dist/StudyPlan/SuggestedContentItemsSectionHeader.js +0 -58
- package/dist/StudyPlan/assets/studyPlanBanner.svg +0 -9
- package/dist/StudyPlan/helpers.d.ts +0 -75
- package/dist/StudyPlan/helpers.js +0 -165
- package/dist/StudyPlan/index.d.ts +0 -8
- package/dist/StudyPlan/index.js +0 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const FooterHeading: import("@emotion/styled").StyledComponent<((Omit<{
|
|
1
|
+
export declare const FooterHeading: import("@emotion/styled").StyledComponent<(((Omit<{
|
|
2
2
|
theme?: import("@emotion/react").Theme | undefined;
|
|
3
3
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
4
|
-
} & import("@codecademy/gamut").TextTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "onClick" | "
|
|
4
|
+
} & import("@codecademy/gamut").TextTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "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 import("react").ClassAttributes<HTMLSpanElement>>, "ref"> | Omit<{
|
|
5
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
6
6
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
7
|
-
} & import("@codecademy/gamut").TextNoTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "onClick" | "
|
|
7
|
+
} & import("@codecademy/gamut").TextNoTruncateProps & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "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 import("react").ClassAttributes<HTMLSpanElement>>, "ref">) & import("react").RefAttributes<HTMLSpanElement>) & {
|
|
8
8
|
theme?: import("@emotion/react").Theme;
|
|
9
|
-
}, {}, {}>;
|
|
9
|
+
}) & {}, {}, {}>;
|
|
@@ -1,29 +1,16 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
import { Text } from '@codecademy/gamut';
|
|
3
|
-
|
|
4
|
-
const defaultFontSize = {
|
|
5
|
-
sm: 16
|
|
6
|
-
};
|
|
7
|
-
const defaultMarginTop = [24,, 0];
|
|
8
|
-
function FooterHeadingDefaults(_ref) {
|
|
9
|
-
let {
|
|
10
|
-
as = 'h2',
|
|
11
|
-
variant = 'p-small',
|
|
12
|
-
mb = 16,
|
|
13
|
-
fontWeight = 'bold',
|
|
14
|
-
fontSize = defaultFontSize,
|
|
15
|
-
mt = defaultMarginTop,
|
|
16
|
-
...props
|
|
17
|
-
} = _ref;
|
|
18
|
-
return /*#__PURE__*/_jsx(Text, {
|
|
19
|
-
...props,
|
|
20
|
-
as: as,
|
|
21
|
-
variant: variant,
|
|
22
|
-
mb: mb,
|
|
23
|
-
fontWeight: fontWeight
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
export const FooterHeading = /*#__PURE__*/_styled(FooterHeadingDefaults, {
|
|
3
|
+
export const FooterHeading = /*#__PURE__*/_styled(Text, {
|
|
27
4
|
target: "e6qi8im0",
|
|
28
5
|
label: "FooterHeading"
|
|
29
|
-
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
6
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9HbG9iYWxGb290ZXIvRm9vdGVySGVhZGluZy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRzZCIiwiZmlsZSI6Ii4uLy4uL3NyYy9HbG9iYWxGb290ZXIvRm9vdGVySGVhZGluZy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUZXh0IH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuXG5leHBvcnQgY29uc3QgRm9vdGVySGVhZGluZyA9IHN0eWxlZChUZXh0KSgpO1xuXG5Gb290ZXJIZWFkaW5nLmRlZmF1bHRQcm9wcyA9IHtcbiAgYXM6ICdoMicsXG4gIHZhcmlhbnQ6ICdwLXNtYWxsJyxcbiAgZm9udFNpemU6IHsgc206IDE2IH0sXG4gIG10OiBbMjQsICwgMF0sXG4gIG1iOiAxNixcbiAgZm9udFdlaWdodDogJ2JvbGQnLFxufTtcbiJdfQ== */");
|
|
7
|
+
FooterHeading.defaultProps = {
|
|
8
|
+
as: 'h2',
|
|
9
|
+
variant: 'p-small',
|
|
10
|
+
fontSize: {
|
|
11
|
+
sm: 16
|
|
12
|
+
},
|
|
13
|
+
mt: [24,, 0],
|
|
14
|
+
mb: 16,
|
|
15
|
+
fontWeight: 'bold'
|
|
16
|
+
};
|
|
@@ -5,7 +5,7 @@ import { GlobalFooterClickHandler } from './types';
|
|
|
5
5
|
export declare const FooterLinkItems: import("@emotion/styled").StyledComponent<{
|
|
6
6
|
theme?: import("@emotion/react").Theme | undefined;
|
|
7
7
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
|
-
} & import("@codecademy/gamut").BoxProps & Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "onClick" | "
|
|
8
|
+
} & 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>> & {
|
|
9
9
|
theme?: import("@emotion/react").Theme;
|
|
10
10
|
}, {}, {}>;
|
|
11
11
|
export declare const FooterLinkItem: import("@emotion/styled").StyledComponent<{
|
|
@@ -5,21 +5,7 @@ import { theme } from '@codecademy/gamut-styles';
|
|
|
5
5
|
import { useCallback } from 'react';
|
|
6
6
|
import * as React from 'react';
|
|
7
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
|
-
let {
|
|
10
|
-
as = 'ul',
|
|
11
|
-
pl = 0,
|
|
12
|
-
mb = 0,
|
|
13
|
-
...props
|
|
14
|
-
} = _ref;
|
|
15
|
-
return /*#__PURE__*/_jsx(Box, {
|
|
16
|
-
...props,
|
|
17
|
-
as: as,
|
|
18
|
-
pl: pl,
|
|
19
|
-
mb: mb
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
export const FooterLinkItems = /*#__PURE__*/_styled(FooterLinkItemsDefaults, {
|
|
8
|
+
export const FooterLinkItems = /*#__PURE__*/_styled(Box, {
|
|
23
9
|
target: "ebdzcwh1",
|
|
24
10
|
label: "FooterLinkItems"
|
|
25
11
|
})(process.env.NODE_ENV === "production" ? {
|
|
@@ -28,19 +14,24 @@ export const FooterLinkItems = /*#__PURE__*/_styled(FooterLinkItemsDefaults, {
|
|
|
28
14
|
} : {
|
|
29
15
|
name: "ffhm6p",
|
|
30
16
|
styles: "list-style-type:none",
|
|
31
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
17
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9HbG9iYWxGb290ZXIvRm9vdGVyTGlua3MudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVEwQyIsImZpbGUiOiIuLi8uLi9zcmMvR2xvYmFsRm9vdGVyL0Zvb3RlckxpbmtzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEFuY2hvciwgQm94IH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQnO1xuaW1wb3J0IHsgdGhlbWUgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgQ29tcG9uZW50UHJvcHMsIHVzZUNhbGxiYWNrIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBHbG9iYWxGb290ZXJDbGlja0hhbmRsZXIgfSBmcm9tICcuL3R5cGVzJztcblxuZXhwb3J0IGNvbnN0IEZvb3RlckxpbmtJdGVtcyA9IHN0eWxlZChCb3gpYFxuICBsaXN0LXN0eWxlLXR5cGU6IG5vbmU7XG5gO1xuXG5Gb290ZXJMaW5rSXRlbXMuZGVmYXVsdFByb3BzID0ge1xuICBhczogJ3VsJyxcbiAgcGw6IDAsXG4gIG1iOiAwLF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_EMOTION_STRINGIFIED_CSS_ERROR__
|
|
33
19
|
});
|
|
20
|
+
FooterLinkItems.defaultProps = {
|
|
21
|
+
as: 'ul',
|
|
22
|
+
pl: 0,
|
|
23
|
+
mb: 0
|
|
24
|
+
};
|
|
34
25
|
export const FooterLinkItem = /*#__PURE__*/_styled("li", {
|
|
35
26
|
target: "ebdzcwh0",
|
|
36
27
|
label: "FooterLinkItem"
|
|
37
|
-
})("font-size:0.875rem;margin:0.5rem 0;", theme.breakpoints.sm, "{font-size:1rem;margin:0.25rem 0;}", theme.breakpoints.md, "{margin:0.15rem 0;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
38
|
-
export const FooterLinkItemWithAnchor =
|
|
28
|
+
})("font-size:0.875rem;margin:0.5rem 0;", theme.breakpoints.sm, "{font-size:1rem;margin:0.25rem 0;}", theme.breakpoints.md, "{margin:0.15rem 0;}" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9HbG9iYWxGb290ZXIvRm9vdGVyTGlua3MudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtCdUMiLCJmaWxlIjoiLi4vLi4vc3JjL0dsb2JhbEZvb3Rlci9Gb290ZXJMaW5rcy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBBbmNob3IsIEJveCB9IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0JztcbmltcG9ydCB7IHRoZW1lIH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQtc3R5bGVzJztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IENvbXBvbmVudFByb3BzLCB1c2VDYWxsYmFjayB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCAqIGFzIFJlYWN0IGZyb20gJ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cmdldDogdHJhY2tpbmdUYXJnZXQgfSk7XG4gICAgfSxcbiAgICBbZm9vdGVyT25DbGljaywgdHJhY2tpbmdUYXJnZXRdXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8Rm9vdGVyTGlua0l0ZW0+XG4gICAgICA8QW5jaG9yIHsuLi5hbmNob3JQcm9wc30gb25DbGljaz17YW5jaG9yT25DbGlja30gLz5cbiAgICA8L0Zvb3RlckxpbmtJdGVtPlxuICApO1xufTtcbiJdfQ== */"));
|
|
29
|
+
export const FooterLinkItemWithAnchor = _ref => {
|
|
39
30
|
let {
|
|
40
31
|
trackingTarget,
|
|
41
32
|
footerOnClick,
|
|
42
33
|
...anchorProps
|
|
43
|
-
} =
|
|
34
|
+
} = _ref;
|
|
44
35
|
const anchorOnClick = useCallback(event => {
|
|
45
36
|
footerOnClick({
|
|
46
37
|
event,
|