@codecademy/brand 4.0.0-alpha.a575634273.0 → 4.0.0-alpha.af4a3e14fc.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.d.cts +2 -2
- package/dist/AppBar/AppBarSection.d.ts +2 -2
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.cts +20 -20
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +19 -19
- package/dist/CareerPathCard/index.d.cts +2 -2
- package/dist/CareerPathCard/index.d.ts +2 -2
- package/dist/CertificationPathCard/index.d.cts +2 -2
- package/dist/ContentGroupBaseCard/index.d.ts +4 -4
- package/dist/CourseCard/index.d.cts +2 -2
- package/dist/CourseCard/index.d.ts +2 -2
- package/dist/DropdownButton/index.d.cts +15 -15
- package/dist/DropdownButton/index.d.ts +20 -20
- package/dist/Grid/Subgrid.d.cts +2 -2
- package/dist/Grid/Subgrid.d.ts +2 -2
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.cts +7 -7
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +8 -8
- package/dist/PageAlerts/PageAlerts.d.cts +2 -2
- package/dist/PageAlerts/PageAlerts.d.ts +4 -4
- package/dist/PausableImage/index.d.ts +4 -4
- package/dist/Recurly/context/elements/index.d.ts +2 -2
- package/dist/Recurly/context/recurly/index.d.ts +2 -2
- package/dist/Recurly/fields/RecurlyField.d.cts +2 -2
- package/dist/Recurly/fields/elements.d.cts +5 -5
- package/dist/SkillPathCard/index.d.ts +2 -2
- package/dist/Testimonial/index.d.cts +1 -1
- package/dist/Testimonial/index.d.ts +4 -4
- package/dist/lib/catalogList/index.cjs +0 -23
- package/dist/lib/catalogList/index.js +0 -23
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PageAlert } from "./types.cjs";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _emotion_react18 from "@emotion/react";
|
|
4
4
|
import * as _emotion_styled4 from "@emotion/styled";
|
|
5
5
|
|
|
6
6
|
//#region src/PageAlerts/PageAlerts.d.ts
|
|
@@ -8,7 +8,7 @@ type PageAlertsProps = {
|
|
|
8
8
|
extra?: PageAlert[];
|
|
9
9
|
};
|
|
10
10
|
declare const AlertArea: _emotion_styled4.StyledComponent<{
|
|
11
|
-
theme?:
|
|
11
|
+
theme?: _emotion_react18.Theme;
|
|
12
12
|
as?: React$1.ElementType;
|
|
13
13
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
14
|
declare const PageAlerts: React$1.FC<PageAlertsProps>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { PageAlert } from "./types.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _emotion_styled4 from "@emotion/styled";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _emotion_react18 from "@emotion/react";
|
|
5
5
|
|
|
6
6
|
//#region src/PageAlerts/PageAlerts.d.ts
|
|
7
7
|
type PageAlertsProps = {
|
|
8
8
|
extra?: PageAlert[];
|
|
9
9
|
};
|
|
10
|
-
declare const AlertArea:
|
|
11
|
-
theme?:
|
|
10
|
+
declare const AlertArea: _emotion_styled4.StyledComponent<{
|
|
11
|
+
theme?: _emotion_react18.Theme;
|
|
12
12
|
as?: React$1.ElementType;
|
|
13
13
|
}, React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
14
|
declare const PageAlerts: React$1.FC<PageAlertsProps>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _emotion_styled2 from "@emotion/styled";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _emotion_react7 from "@emotion/react";
|
|
4
4
|
|
|
5
5
|
//#region src/PausableImage/index.d.ts
|
|
6
6
|
interface PauseableImageProps {
|
|
7
7
|
src: string;
|
|
8
8
|
alt: string;
|
|
9
9
|
}
|
|
10
|
-
declare const imageStyles:
|
|
11
|
-
theme?:
|
|
10
|
+
declare const imageStyles: _emotion_styled2.StyledComponent<{
|
|
11
|
+
theme?: _emotion_react7.Theme;
|
|
12
12
|
as?: React$1.ElementType;
|
|
13
13
|
}, React$1.DetailedHTMLProps<React$1.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
14
14
|
declare const PausableImage: React$1.FC<PauseableImageProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/Recurly/context/elements/index.d.ts
|
|
5
5
|
|
|
@@ -10,6 +10,6 @@ import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
|
10
10
|
*/
|
|
11
11
|
declare function Elements({
|
|
12
12
|
children
|
|
13
|
-
}: PropsWithChildren):
|
|
13
|
+
}: PropsWithChildren): react_jsx_runtime2.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Elements };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RecurlyConfig } from "./loadRecurly.js";
|
|
2
2
|
import { PropsWithChildren } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
4
|
import { Recurly } from "@recurly/recurly-js";
|
|
5
5
|
|
|
6
6
|
//#region src/Recurly/context/recurly/index.d.ts
|
|
@@ -15,7 +15,7 @@ type RecurlyProviderProps = PropsWithChildren<RecurlyConfig>;
|
|
|
15
15
|
declare function RecurlyProvider({
|
|
16
16
|
children,
|
|
17
17
|
...config
|
|
18
|
-
}: RecurlyProviderProps):
|
|
18
|
+
}: RecurlyProviderProps): react_jsx_runtime3.JSX.Element;
|
|
19
19
|
/**
|
|
20
20
|
* A hook that returns the Recurly instance from context.
|
|
21
21
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { InputWrapperProps } from "@codecademy/gamut";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/Recurly/fields/RecurlyField.d.ts
|
|
5
5
|
type RecurlyFieldProps = InputWrapperProps & {
|
|
@@ -13,6 +13,6 @@ declare function RecurlyField({
|
|
|
13
13
|
label,
|
|
14
14
|
children,
|
|
15
15
|
...props
|
|
16
|
-
}: RecurlyFieldProps):
|
|
16
|
+
}: RecurlyFieldProps): react_jsx_runtime4.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { RecurlyField, RecurlyFieldProps };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react47 from "react";
|
|
2
2
|
import { Emitter } from "@recurly/recurly-js/lib/emitter";
|
|
3
3
|
|
|
4
4
|
//#region src/Recurly/fields/elements.d.ts
|
|
5
|
-
declare const CardNumber:
|
|
6
|
-
declare const ExpMonth:
|
|
7
|
-
declare const ExpYear:
|
|
8
|
-
declare const CVV:
|
|
5
|
+
declare const CardNumber: react47.ForwardRefExoticComponent<EventHandlers & react47.RefAttributes<Focusable>>;
|
|
6
|
+
declare const ExpMonth: react47.ForwardRefExoticComponent<EventHandlers & react47.RefAttributes<Focusable>>;
|
|
7
|
+
declare const ExpYear: react47.ForwardRefExoticComponent<EventHandlers & react47.RefAttributes<Focusable>>;
|
|
8
|
+
declare const CVV: react47.ForwardRefExoticComponent<EventHandlers & react47.RefAttributes<Focusable>>;
|
|
9
9
|
type ElementType = 'CardNumberElement' | 'CardMonthElement' | 'CardYearElement' | 'CardCvvElement';
|
|
10
10
|
type EventHandler = Parameters<Emitter['on']>[1];
|
|
11
11
|
type EventHandlers = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CourseDifficulty, EnrollmentStatus } from "../ContentGroupBaseCard/types.js";
|
|
2
2
|
import { HeadingTags } from "@codecademy/gamut";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react11 from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/SkillPathCard/index.d.ts
|
|
6
6
|
interface SkillPathCardProps {
|
|
@@ -20,6 +20,6 @@ interface SkillPathCardProps {
|
|
|
20
20
|
href: string;
|
|
21
21
|
onClick: () => void;
|
|
22
22
|
}
|
|
23
|
-
declare const SkillPathCard:
|
|
23
|
+
declare const SkillPathCard: react11.ForwardRefExoticComponent<SkillPathCardProps & react11.RefAttributes<HTMLAnchorElement>>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { SkillPathCard, SkillPathCardProps };
|
|
@@ -15,7 +15,7 @@ declare const TestimonialCard: _emotion_styled1.StyledComponent<_codecademy_gamu
|
|
|
15
15
|
declare const TestimonialContent: _emotion_styled1.StyledComponent<{
|
|
16
16
|
theme?: _emotion_react5.Theme | undefined;
|
|
17
17
|
as?: react11.ElementType<any, keyof react11.JSX.IntrinsicElements> | undefined;
|
|
18
|
-
} & _codecademy_gamut0.BoxProps & Pick<react11.DetailedHTMLProps<react11.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "
|
|
18
|
+
} & _codecademy_gamut0.BoxProps & Pick<react11.DetailedHTMLProps<react11.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "onClick" | "slot" | "style" | "property" | "rel" | "rev" | "id" | "nonce" | "content" | "translate" | "children" | "className" | "prefix" | "role" | "suppressHydrationWarning" | "lang" | "tabIndex" | "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" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof react11.ClassAttributes<HTMLDivElement>> & {
|
|
19
19
|
theme?: _emotion_react5.Theme;
|
|
20
20
|
} & _codecademy_variance_dist_types_config0.VariantProps<"orientation", false | "horizontal" | "vertical">, {}, {}>;
|
|
21
21
|
type TestimonialProps = ComponentProps<typeof TestimonialCard> & Pick<ComponentProps<typeof TestimonialContent>, 'orientation'> & {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _codecademy_gamut0 from "@codecademy/gamut";
|
|
2
2
|
import * as _emotion_styled0 from "@emotion/styled";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react3 from "react";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
5
|
import * as _emotion_react0 from "@emotion/react";
|
|
6
6
|
import * as _codecademy_variance_dist_types_config0 from "@codecademy/variance/dist/types/config";
|
|
@@ -14,8 +14,8 @@ declare const TestimonialCard: _emotion_styled0.StyledComponent<_codecademy_gamu
|
|
|
14
14
|
}, {}, {}>;
|
|
15
15
|
declare const TestimonialContent: _emotion_styled0.StyledComponent<{
|
|
16
16
|
theme?: _emotion_react0.Theme | undefined;
|
|
17
|
-
as?:
|
|
18
|
-
} & _codecademy_gamut0.BoxProps & Pick<
|
|
17
|
+
as?: react3.ElementType<any, keyof react3.JSX.IntrinsicElements> | undefined;
|
|
18
|
+
} & _codecademy_gamut0.BoxProps & Pick<react3.DetailedHTMLProps<react3.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "title" | "onClick" | "slot" | "style" | "property" | "rel" | "rev" | "id" | "nonce" | "content" | "translate" | "children" | "className" | "prefix" | "role" | "suppressHydrationWarning" | "lang" | "tabIndex" | "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" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | keyof react3.ClassAttributes<HTMLDivElement>> & {
|
|
19
19
|
theme?: _emotion_react0.Theme;
|
|
20
20
|
} & _codecademy_variance_dist_types_config0.VariantProps<"orientation", false | "horizontal" | "vertical">, {}, {}>;
|
|
21
21
|
type TestimonialProps = ComponentProps<typeof TestimonialCard> & Pick<ComponentProps<typeof TestimonialContent>, 'orientation'> & {
|
|
@@ -48,6 +48,6 @@ type TestimonialProps = ComponentProps<typeof TestimonialCard> & Pick<ComponentP
|
|
|
48
48
|
hidePhoto?: boolean;
|
|
49
49
|
onClick?: () => void;
|
|
50
50
|
};
|
|
51
|
-
declare const Testimonial:
|
|
51
|
+
declare const Testimonial: react3.FC<TestimonialProps>;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { Testimonial, TestimonialProps };
|
|
@@ -1,29 +1,6 @@
|
|
|
1
1
|
const require_index = require('../resourcesList/index.cjs');
|
|
2
2
|
|
|
3
3
|
//#region src/lib/catalogList/index.tsx
|
|
4
|
-
const liveLearningHubItems = {
|
|
5
|
-
title: "Live Learning",
|
|
6
|
-
description: "Build skills faster through live learning with expert instructors.",
|
|
7
|
-
data: [{
|
|
8
|
-
id: "bootcamps",
|
|
9
|
-
href: "/bootcamps",
|
|
10
|
-
text: "Bootcamps",
|
|
11
|
-
description: "Learn live from industry experts.",
|
|
12
|
-
trackingTarget: "topnav_catalog_live_learning_bootcamps",
|
|
13
|
-
type: "link",
|
|
14
|
-
newTab: true,
|
|
15
|
-
badge: require_index.renderNewBadge()
|
|
16
|
-
}, {
|
|
17
|
-
id: "gk",
|
|
18
|
-
href: "/live-learning#GKLiveLearning",
|
|
19
|
-
text: "Codecademy x GK",
|
|
20
|
-
description: "Instructor-led courses, offered via our partner organization.",
|
|
21
|
-
trackingTarget: "topnav_catalog_live_learning_gk_codecademy",
|
|
22
|
-
type: "link",
|
|
23
|
-
newTab: true,
|
|
24
|
-
badge: require_index.renderNewBadge()
|
|
25
|
-
}]
|
|
26
|
-
};
|
|
27
4
|
const liveLearningNavPanelItems = (isCoachingEnabled) => ({
|
|
28
5
|
title: "Live Learning",
|
|
29
6
|
description: "Build skills faster through live, instructor-led sessions. Get real-time feedback, stay motivated, and deepen your understanding with expert guidance.",
|
|
@@ -1,29 +1,6 @@
|
|
|
1
1
|
import { renderNewBadge } from "../resourcesList/index.js";
|
|
2
2
|
|
|
3
3
|
//#region src/lib/catalogList/index.tsx
|
|
4
|
-
const liveLearningHubItems = {
|
|
5
|
-
title: "Live Learning",
|
|
6
|
-
description: "Build skills faster through live learning with expert instructors.",
|
|
7
|
-
data: [{
|
|
8
|
-
id: "bootcamps",
|
|
9
|
-
href: "/bootcamps",
|
|
10
|
-
text: "Bootcamps",
|
|
11
|
-
description: "Learn live from industry experts.",
|
|
12
|
-
trackingTarget: "topnav_catalog_live_learning_bootcamps",
|
|
13
|
-
type: "link",
|
|
14
|
-
newTab: true,
|
|
15
|
-
badge: renderNewBadge()
|
|
16
|
-
}, {
|
|
17
|
-
id: "gk",
|
|
18
|
-
href: "/live-learning#GKLiveLearning",
|
|
19
|
-
text: "Codecademy x GK",
|
|
20
|
-
description: "Instructor-led courses, offered via our partner organization.",
|
|
21
|
-
trackingTarget: "topnav_catalog_live_learning_gk_codecademy",
|
|
22
|
-
type: "link",
|
|
23
|
-
newTab: true,
|
|
24
|
-
badge: renderNewBadge()
|
|
25
|
-
}]
|
|
26
|
-
};
|
|
27
4
|
const liveLearningNavPanelItems = (isCoachingEnabled) => ({
|
|
28
5
|
title: "Live Learning",
|
|
29
6
|
description: "Build skills faster through live, instructor-led sessions. Get real-time feedback, stay motivated, and deepen your understanding with expert guidance.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/brand",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.af4a3e14fc.0",
|
|
4
4
|
"description": "Brand component library for Codecademy",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": "git@github.com:codecademy-engineering/mono.git",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@codecademy/gamut-illustrations": "*",
|
|
110
110
|
"@codecademy/gamut-patterns": "*",
|
|
111
111
|
"@codecademy/gamut-styles": "*",
|
|
112
|
-
"@codecademy/tracking": "1.3.
|
|
112
|
+
"@codecademy/tracking": "^1.3.1",
|
|
113
113
|
"@codecademy/variance": "*",
|
|
114
114
|
"@emotion/react": "^11.4.0",
|
|
115
115
|
"@emotion/styled": "^11.3.0",
|