@codecademy/brand 4.0.0-alpha.0ae245495b.0 → 4.0.0-alpha.a575634273.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.ts +2 -2
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.cts +5 -5
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +20 -20
- package/dist/CareerPathCard/index.d.ts +2 -2
- package/dist/CertificationPathCard/index.d.ts +2 -2
- package/dist/ContentGroupBaseCard/index.d.ts +4 -4
- package/dist/CourseCard/index.d.ts +2 -2
- package/dist/DropdownButton/index.d.cts +2 -2
- package/dist/DropdownButton/index.d.ts +20 -20
- package/dist/Grid/Subgrid.d.ts +2 -2
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.cts +1 -1
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +7 -7
- package/dist/PageAlerts/PageAlerts.d.ts +2 -2
- package/dist/PausableImage/index.d.cts +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.ts +2 -2
- package/dist/Recurly/fields/elements.d.ts +5 -5
- package/dist/SkillPathCard/index.d.ts +2 -2
- package/dist/Testimonial/index.d.cts +8 -8
- package/dist/Testimonial/index.d.ts +11 -11
- package/package.json +30 -30
|
@@ -2,21 +2,21 @@ import * as _codecademy_gamut0 from "@codecademy/gamut";
|
|
|
2
2
|
import * as react11 from "react";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
import * as _codecademy_variance_dist_types_config0 from "@codecademy/variance/dist/types/config";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as _emotion_react5 from "@emotion/react";
|
|
6
|
+
import * as _emotion_styled1 from "@emotion/styled";
|
|
7
7
|
import * as _codecademy_gamut_dist_Card_types0 from "@codecademy/gamut/dist/Card/types";
|
|
8
8
|
|
|
9
9
|
//#region src/Testimonial/index.d.ts
|
|
10
|
-
declare const TestimonialCard:
|
|
11
|
-
theme?:
|
|
10
|
+
declare const TestimonialCard: _emotion_styled1.StyledComponent<_codecademy_gamut_dist_Card_types0.CardProps & {
|
|
11
|
+
theme?: _emotion_react5.Theme;
|
|
12
12
|
} & {
|
|
13
13
|
mode?: "light" | "dark" | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
15
|
-
declare const TestimonialContent:
|
|
16
|
-
theme?:
|
|
15
|
+
declare const TestimonialContent: _emotion_styled1.StyledComponent<{
|
|
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>, "
|
|
19
|
-
theme?:
|
|
18
|
+
} & _codecademy_gamut0.BoxProps & Pick<react11.DetailedHTMLProps<react11.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "content" | "translate" | "property" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | keyof react11.ClassAttributes<HTMLDivElement> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "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-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" | "onClick" | "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"> & {
|
|
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'> & {
|
|
22
22
|
firstName: string;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as _codecademy_gamut0 from "@codecademy/gamut";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as _emotion_styled0 from "@emotion/styled";
|
|
3
|
+
import * as react0 from "react";
|
|
4
4
|
import { ComponentProps } from "react";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _emotion_react0 from "@emotion/react";
|
|
6
6
|
import * as _codecademy_variance_dist_types_config0 from "@codecademy/variance/dist/types/config";
|
|
7
7
|
import * as _codecademy_gamut_dist_Card_types0 from "@codecademy/gamut/dist/Card/types";
|
|
8
8
|
|
|
9
9
|
//#region src/Testimonial/index.d.ts
|
|
10
|
-
declare const TestimonialCard:
|
|
11
|
-
theme?:
|
|
10
|
+
declare const TestimonialCard: _emotion_styled0.StyledComponent<_codecademy_gamut_dist_Card_types0.CardProps & {
|
|
11
|
+
theme?: _emotion_react0.Theme;
|
|
12
12
|
} & {
|
|
13
13
|
mode?: "light" | "dark" | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
15
|
-
declare const TestimonialContent:
|
|
16
|
-
theme?:
|
|
17
|
-
as?:
|
|
18
|
-
} & _codecademy_gamut0.BoxProps & Pick<
|
|
19
|
-
theme?:
|
|
15
|
+
declare const TestimonialContent: _emotion_styled0.StyledComponent<{
|
|
16
|
+
theme?: _emotion_react0.Theme | undefined;
|
|
17
|
+
as?: react0.ElementType<any, keyof react0.JSX.IntrinsicElements> | undefined;
|
|
18
|
+
} & _codecademy_gamut0.BoxProps & Pick<react0.DetailedHTMLProps<react0.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "content" | "translate" | "property" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | keyof react0.ClassAttributes<HTMLDivElement> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "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-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" | "onClick" | "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"> & {
|
|
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'> & {
|
|
22
22
|
firstName: string;
|
|
@@ -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: react0.FC<TestimonialProps>;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { Testimonial, TestimonialProps };
|
package/package.json
CHANGED
|
@@ -1,27 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/brand",
|
|
3
|
+
"version": "4.0.0-alpha.a575634273.0",
|
|
3
4
|
"description": "Brand component library for Codecademy",
|
|
4
|
-
"
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": "git@github.com:codecademy-engineering/mono.git",
|
|
5
7
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
"date-fns-tz": "^2.0.1",
|
|
14
|
-
"emojisplosion": "^2.6.1",
|
|
15
|
-
"framer-motion": "^11.18.0",
|
|
16
|
-
"freezeframe": "^5.0.2",
|
|
17
|
-
"intersection-observer": "^0.12.0",
|
|
18
|
-
"ismobilejs": "^1.1.1",
|
|
19
|
-
"lodash": "^4.17.21",
|
|
20
|
-
"pluralize": "^8.0.0",
|
|
21
|
-
"react-freezeframe": "^5.0.2",
|
|
22
|
-
"react-use": "15.3.8",
|
|
23
|
-
"universal-cookie": "^8.0.1"
|
|
24
|
-
},
|
|
8
|
+
"type": "module",
|
|
9
|
+
"main": "./dist/index.cjs",
|
|
10
|
+
"module": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.cts",
|
|
12
|
+
"files": [
|
|
13
|
+
"dist/**"
|
|
14
|
+
],
|
|
25
15
|
"exports": {
|
|
26
16
|
".": "./src/index.ts",
|
|
27
17
|
"./AbbreviatedCommunityEventCard": "./src/AbbreviatedCommunityEventCard/index.tsx",
|
|
@@ -94,12 +84,25 @@
|
|
|
94
84
|
"./Testimonial": "./src/Testimonial/index.tsx",
|
|
95
85
|
"./package.json": "./package.json"
|
|
96
86
|
},
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
87
|
+
"dependencies": {
|
|
88
|
+
"@emotion/is-prop-valid": "^1.2.1",
|
|
89
|
+
"@splidejs/react-splide": "^0.7.12",
|
|
90
|
+
"@splidejs/splide": "4.1.3",
|
|
91
|
+
"@types/recurly__recurly-js": "4.22.0",
|
|
92
|
+
"classnames": "^2.3.2",
|
|
93
|
+
"date-fns": "^2.30.0",
|
|
94
|
+
"date-fns-tz": "^2.0.1",
|
|
95
|
+
"emojisplosion": "^2.6.1",
|
|
96
|
+
"framer-motion": "^11.18.0",
|
|
97
|
+
"freezeframe": "^5.0.2",
|
|
98
|
+
"intersection-observer": "^0.12.0",
|
|
99
|
+
"ismobilejs": "^1.1.1",
|
|
100
|
+
"lodash": "^4.17.21",
|
|
101
|
+
"pluralize": "^8.0.0",
|
|
102
|
+
"react-freezeframe": "^5.0.2",
|
|
103
|
+
"react-use": "15.3.8",
|
|
104
|
+
"universal-cookie": "^8.0.1"
|
|
105
|
+
},
|
|
103
106
|
"peerDependencies": {
|
|
104
107
|
"@codecademy/gamut": "*",
|
|
105
108
|
"@codecademy/gamut-icons": "*",
|
|
@@ -394,13 +397,10 @@
|
|
|
394
397
|
"./package.json": "./package.json"
|
|
395
398
|
}
|
|
396
399
|
},
|
|
397
|
-
"repository": "git@github.com:codecademy-engineering/mono.git",
|
|
398
400
|
"sideEffects": [
|
|
399
401
|
"*.css",
|
|
400
402
|
"*.scss",
|
|
401
403
|
"dist/**/[A-Z]**/[A-Z]*.js",
|
|
402
404
|
"dist/**/[A-Z]**/index.js"
|
|
403
|
-
]
|
|
404
|
-
"type": "module",
|
|
405
|
-
"types": "./dist/index.d.cts"
|
|
405
|
+
]
|
|
406
406
|
}
|