@codecademy/brand 1.20.0-alpha.92ea2b64b6.0 → 1.20.0-alpha.a23896d48a.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.
Files changed (45) hide show
  1. package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +0 -0
  2. package/dist/DropdownButton/index.d.ts +51 -302
  3. package/dist/DropdownButton/index.js +7 -7
  4. package/dist/LearningOutcomeTile/index.d.ts +8 -1
  5. package/dist/LearningOutcomeTile/index.js +92 -79
  6. package/dist/index.d.ts +0 -1
  7. package/dist/index.js +0 -1
  8. package/dist/stories/Molecules/DropdownButton.stories.d.ts +5 -0
  9. package/dist/stories/Molecules/DropdownButton.stories.js +177 -3
  10. package/dist/stories/Molecules/LearningOutcomeTile.stories.d.ts +0 -1
  11. package/dist/stories/Molecules/LearningOutcomeTile.stories.js +25 -192
  12. package/package.json +2 -2
  13. package/dist/AppBarDeprecated/styles/index.module.scss +0 -39
  14. package/dist/EditorialImage/styles.module.scss +0 -36
  15. package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg +0 -45
  16. package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png +0 -0
  17. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.d.ts +0 -18
  18. package/dist/LearningOutcomeBadges/LearningOutcomeLevelBadge.js +0 -57
  19. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +0 -10
  20. package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.js +0 -35
  21. package/dist/LearningOutcomeBadges/index.d.ts +0 -2
  22. package/dist/LearningOutcomeBadges/index.js +0 -2
  23. package/dist/LearningOutcomePopover/index.d.ts +0 -10
  24. package/dist/LearningOutcomePopover/index.js +0 -125
  25. package/dist/LearningOutcomeTile/Tile.d.ts +0 -7
  26. package/dist/LearningOutcomeTile/Tile.js +0 -79
  27. package/dist/LearningOutcomeTile/types.d.ts +0 -47
  28. package/dist/LearningOutcomeTile/types.js +0 -11
  29. package/dist/Loading/styles.module.scss +0 -131
  30. package/dist/NotFoundContent/404.svg +0 -1
  31. package/dist/assets/darkQuotes.svg +0 -1
  32. package/dist/assets/dots.svg +0 -1
  33. package/dist/assets/lightQuotes.svg +0 -1
  34. package/dist/assets/navyQuotes.svg +0 -5
  35. package/dist/assets/orange_squiggle.svg +0 -1
  36. package/dist/png.d.ts +0 -4
  37. package/dist/react-freezeframe.d.ts +0 -1
  38. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.d.ts +0 -6
  39. package/dist/stories/Molecules/LearningOutcomeLevelBadge.stories.js +0 -20
  40. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.d.ts +0 -6
  41. package/dist/stories/Molecules/LearningOutcomeLowAssessmentBadge.stories.js +0 -10
  42. package/dist/stories/Molecules/LearningOutcomePopover.stories.d.ts +0 -5
  43. package/dist/stories/Molecules/LearningOutcomePopover.stories.js +0 -39
  44. package/dist/svg.d.ts +0 -8
  45. package/dist/theme.d.ts +0 -5
@@ -1,125 +0,0 @@
1
- import { FlexBox, Popover, Text } from '@codecademy/gamut';
2
- import { SmallCheckIcon } from '@codecademy/gamut-icons';
3
- import { LearningOutcomeLevelBadge, LearningOutcomeLowAssessmentBadge } from '../LearningOutcomeBadges';
4
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
5
- const POPOVER_WIDTH = 332;
6
- const POPOVER_HORIZONTAL_PADDING = 16;
7
- const ASSESSMENT_WIDTH = (POPOVER_WIDTH - POPOVER_HORIZONTAL_PADDING * 2) / 2;
8
- const Assessment = ({
9
- score,
10
- type,
11
- noBorderLeft
12
- }) => /*#__PURE__*/_jsxs(FlexBox, {
13
- borderTop: 1,
14
- borderBottom: 1,
15
- borderRight: 1,
16
- borderLeft: !noBorderLeft ? 1 : undefined,
17
- borderColor: "background-hover",
18
- p: 8,
19
- gap: 4,
20
- width: ASSESSMENT_WIDTH,
21
- children: [/*#__PURE__*/_jsx(Text, {
22
- variant: "p-small",
23
- color: "text-secondary",
24
- children: type === 'highest' ? 'Highest score:' : 'Most recent:'
25
- }), score != null ? /*#__PURE__*/_jsx(Text, {
26
- variant: "p-small",
27
- color: score && score >= 70 ? 'green-700' : 'text',
28
- fontWeight: 700,
29
- children: `${score}%`
30
- }) : /*#__PURE__*/_jsx(Text, {
31
- variant: "p-small",
32
- color: "text-disabled",
33
- children: "-"
34
- })]
35
- });
36
- export const LearningOutcomePopover = ({
37
- activeElRef,
38
- isOpen,
39
- learningOutcomeDetails,
40
- ...rest
41
- }) => {
42
- const {
43
- level,
44
- outcome,
45
- latestScore,
46
- highestScore,
47
- percentComplete = 0
48
- } = learningOutcomeDetails || {};
49
- const lowLatestAssessment = Boolean(latestScore != null && latestScore < 70);
50
- const renderProgress = () => /*#__PURE__*/_jsxs(FlexBox, {
51
- alignItems: "center",
52
- children: [Boolean(percentComplete === 100) && /*#__PURE__*/_jsx(FlexBox, {
53
- width: 16,
54
- height: 16,
55
- borderRadius: "md",
56
- bg: "primary",
57
- mr: 8,
58
- alignItems: "center",
59
- justifyContent: "center",
60
- children: /*#__PURE__*/_jsx(SmallCheckIcon, {
61
- size: 11,
62
- color: "white"
63
- })
64
- }), /*#__PURE__*/_jsx(Text, {
65
- color: "text",
66
- variant: "p-small",
67
- children: `${percentComplete}% progress`
68
- })]
69
- });
70
- return /*#__PURE__*/_jsx(Popover, {
71
- ...rest,
72
- isOpen: isOpen,
73
- targetRef: activeElRef,
74
- position: "above",
75
- beak: "center",
76
- outline: true,
77
- skipFocusTrap: true,
78
- children: /*#__PURE__*/_jsxs(FlexBox, {
79
- width: POPOVER_WIDTH,
80
- pt: 24,
81
- pb: 4,
82
- px: POPOVER_HORIZONTAL_PADDING,
83
- gap: 24,
84
- column: true,
85
- children: [/*#__PURE__*/_jsxs(FlexBox, {
86
- gap: 16,
87
- column: true,
88
- children: [/*#__PURE__*/_jsxs(FlexBox, {
89
- justifyContent: "space-between",
90
- children: [!!level && /*#__PURE__*/_jsx(LearningOutcomeLevelBadge, {
91
- level: level
92
- }), lowLatestAssessment && /*#__PURE__*/_jsx(LearningOutcomeLowAssessmentBadge, {})]
93
- }), /*#__PURE__*/_jsx(Text, {
94
- color: "text",
95
- textAlign: "left",
96
- variant: "title-xs",
97
- whiteSpace: "break-spaces",
98
- children: outcome
99
- }), renderProgress()]
100
- }), /*#__PURE__*/_jsxs(FlexBox, {
101
- alignItems: "flex-start",
102
- gap: 4,
103
- pt: 16,
104
- pb: 12,
105
- borderTop: 1,
106
- borderColor: "background-hover",
107
- column: true,
108
- children: [/*#__PURE__*/_jsx(Text, {
109
- variant: "p-small",
110
- fontWeight: 700,
111
- children: "Evaluation results"
112
- }), /*#__PURE__*/_jsxs(FlexBox, {
113
- children: [/*#__PURE__*/_jsx(Assessment, {
114
- score: highestScore,
115
- type: "highest"
116
- }), /*#__PURE__*/_jsx(Assessment, {
117
- score: latestScore,
118
- type: "latest",
119
- noBorderLeft: true
120
- })]
121
- })]
122
- })]
123
- })
124
- });
125
- };
@@ -1,7 +0,0 @@
1
- import { TileProps } from './types';
2
- export declare const Tile: import("@emotion/styled").StyledComponent<{
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
- } & import("@codecademy/gamut").FlexBoxProps & Pick<import("react").DetailedHTMLProps<import("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 import("react").ClassAttributes<HTMLDivElement>> & {
6
- theme?: import("@emotion/react").Theme;
7
- } & TileProps, {}, {}>;
@@ -1,79 +0,0 @@
1
- import _styled from "@emotion/styled/base";
2
- import { FlexBox } from '@codecademy/gamut';
3
- import { variant } from '@codecademy/gamut-styles';
4
- import { Progress } from './types';
5
- const tileStyles = {
6
- alignItems: 'center',
7
- justifyContent: 'center',
8
- borderRadius: 'md',
9
- position: 'relative'
10
- };
11
- const hoverVariants = hover => variant({
12
- prop: 'progress',
13
- variants: {
14
- [Progress.notStarted]: {
15
- '&:hover': {
16
- bg: hover ? 'background-hover' : undefined
17
- }
18
- },
19
- [Progress.inProgress]: {
20
- '&:hover': {
21
- bg: hover ? 'rgba(85, 51, 255, 0.12)' : undefined,
22
- borderColor: hover ? 'rgba(85, 51, 255, 0.12)' : undefined
23
- } // this is primary-hover color with 12% opacity (LXP-7705 when lighter primary-hover color is available)
24
- },
25
- [Progress.completed]: {
26
- '&:hover': {
27
- bg: hover ? 'primary-hover' : undefined
28
- }
29
- }
30
- }
31
- });
32
- const sizeVariants = size => variant({
33
- prop: 'progress',
34
- base: {
35
- border: size === 'small' ? 1 : 2
36
- },
37
- variants: {
38
- [Progress.notStarted]: {
39
- width: size === 'small' ? 32 : 40,
40
- height: size === 'small' ? 24 : 40
41
- },
42
- [Progress.inProgress]: {
43
- width: size === 'small' ? 32 : 40,
44
- height: size === 'small' ? 24 : 40
45
- },
46
- [Progress.completed]: {
47
- width: size === 'small' ? 20 : 40,
48
- height: size === 'small' ? 20 : 40
49
- }
50
- }
51
- });
52
- export const Tile = /*#__PURE__*/_styled(FlexBox, {
53
- target: "e4znlwe0",
54
- label: "Tile"
55
- })(props => ({
56
- ...hoverVariants(props.hover)(props),
57
- ...sizeVariants(props.size)(props),
58
- ...variant({
59
- prop: 'progress',
60
- base: {
61
- ...tileStyles
62
- },
63
- variants: {
64
- [Progress.notStarted]: {
65
- bg: 'background-selected',
66
- borderColor: 'background-hover'
67
- },
68
- [Progress.inProgress]: {
69
- bg: 'rgba(58, 16, 229, 0.12)',
70
- // this is primary color with 12% opacity (LXP-7705 when lighter primary color is available)
71
- borderColor: 'primary'
72
- },
73
- [Progress.completed]: {
74
- bg: 'primary',
75
- borderColor: 'border-tertiary'
76
- }
77
- }
78
- })(props)
79
- }), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9MZWFybmluZ091dGNvbWVUaWxlL1RpbGUudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXNEb0IiLCJmaWxlIjoiLi4vLi4vc3JjL0xlYXJuaW5nT3V0Y29tZVRpbGUvVGlsZS50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGbGV4Qm94IH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQnO1xuaW1wb3J0IHsgdmFyaWFudCB9IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0LXN0eWxlcyc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IFByb2dyZXNzLCBTaXplVHlwZSwgVGlsZVByb3BzIH0gZnJvbSAnLi90eXBlcyc7XG5cbmNvbnN0IHRpbGVTdHlsZXMgPSB7XG4gIGFsaWduSXRlbXM6ICdjZW50ZXInLFxuICBqdXN0aWZ5Q29udGVudDogJ2NlbnRlcicsXG4gIGJvcmRlclJhZGl1czogJ21kJyxcbiAgcG9zaXRpb246ICdyZWxhdGl2ZScsXG59IGFzIGNvbnN0O1xuXG5jb25zdCBob3ZlclZhcmlhbnRzID0gKGhvdmVyOiBib29sZWFuKSA9PlxuICB2YXJpYW50KHtcbiAgICBwcm9wOiAncHJvZ3Jlc3MnLFxuICAgIHZhcmlhbnRzOiB7XG4gICAgICBbUHJvZ3Jlc3Mubm90U3RhcnRlZF06IHtcbiAgICAgICAgJyY6aG92ZXInOiB7IGJnOiBob3ZlciA/ICdiYWNrZ3JvdW5kLWhvdmVyJyA6IHVuZGVmaW5lZCB9LFxuICAgICAgfSxcbiAgICAgIFtQcm9ncmVzcy5pblByb2dyZXNzXToge1xuICAgICAgICAnJjpob3Zlcic6IHtcbiAgICAgICAgICBiZzogaG92ZXIgPyAoJ3JnYmEoODUsIDUxLCAyNTUsIDAuMTIpJyBhcyBuZXZlcikgOiB1bmRlZmluZWQsXG4gICAgICAgICAgYm9yZGVyQ29sb3I6IGhvdmVyID8gKCdyZ2JhKDg1LCA1MSwgMjU1LCAwLjEyKScgYXMgbmV2ZXIpIDogdW5kZWZpbmVkLFxuICAgICAgICB9LCAvLyB0aGlzIGlzIHByaW1hcnktaG92ZXIgY29sb3Igd2l0aCAxMiUgb3BhY2l0eSAoTFhQLTc3MDUgd2hlbiBsaWdodGVyIHByaW1hcnktaG92ZXIgY29sb3IgaXMgYXZhaWxhYmxlKVxuICAgICAgfSxcbiAgICAgIFtQcm9ncmVzcy5jb21wbGV0ZWRdOiB7XG4gICAgICAgICcmOmhvdmVyJzogeyBiZzogaG92ZXIgPyAncHJpbWFyeS1ob3ZlcicgOiB1bmRlZmluZWQgfSxcbiAgICAgIH0sXG4gICAgfSxcbiAgfSk7XG5cbmNvbnN0IHNpemVWYXJpYW50cyA9IChzaXplOiBTaXplVHlwZSkgPT5cbiAgdmFyaWFudCh7XG4gICAgcHJvcDogJ3Byb2dyZXNzJyxcbiAgICBiYXNlOiB7XG4gICAgICBib3JkZXI6IHNpemUgPT09ICdzbWFsbCcgPyAxIDogMixcbiAgICB9LFxuICAgIHZhcmlhbnRzOiB7XG4gICAgICBbUHJvZ3Jlc3Mubm90U3RhcnRlZF06IHtcbiAgICAgICAgd2lkdGg6IHNpemUgPT09ICdzbWFsbCcgPyAzMiA6IDQwLFxuICAgICAgICBoZWlnaHQ6IHNpemUgPT09ICdzbWFsbCcgPyAyNCA6IDQwLFxuICAgICAgfSxcbiAgICAgIFtQcm9ncmVzcy5pblByb2dyZXNzXToge1xuICAgICAgICB3aWR0aDogc2l6ZSA9PT0gJ3NtYWxsJyA/IDMyIDogNDAsXG4gICAgICAgIGhlaWdodDogc2l6ZSA9PT0gJ3NtYWxsJyA/IDI0IDogNDAsXG4gICAgICB9LFxuICAgICAgW1Byb2dyZXNzLmNvbXBsZXRlZF06IHtcbiAgICAgICAgd2lkdGg6IHNpemUgPT09ICdzbWFsbCcgPyAyMCA6IDQwLFxuICAgICAgICBoZWlnaHQ6IHNpemUgPT09ICdzbWFsbCcgPyAyMCA6IDQwLFxuICAgICAgfSxcbiAgICB9LFxuICB9KTtcblxuZXhwb3J0IGNvbnN0IFRpbGUgPSBzdHlsZWQoRmxleEJveCk8VGlsZVByb3BzPigocHJvcHMpID0+ICh7XG4gIC4uLmhvdmVyVmFyaWFudHMocHJvcHMuaG92ZXIpKHByb3BzKSxcbiAgLi4uc2l6ZVZhcmlhbnRzKHByb3BzLnNpemUpKHByb3BzKSxcbiAgLi4udmFyaWFudCh7XG4gICAgcHJvcDogJ3Byb2dyZXNzJyxcbiAgICBiYXNlOiB7XG4gICAgICAuLi50aWxlU3R5bGVzLFxuICAgIH0sXG4gICAgdmFyaWFudHM6IHtcbiAgICAgIFtQcm9ncmVzcy5ub3RTdGFydGVkXToge1xuICAgICAgICBiZzogJ2JhY2tncm91bmQtc2VsZWN0ZWQnLFxuICAgICAgICBib3JkZXJDb2xvcjogJ2JhY2tncm91bmQtaG92ZXInLFxuICAgICAgfSxcbiAgICAgIFtQcm9ncmVzcy5pblByb2dyZXNzXToge1xuICAgICAgICBiZzogJ3JnYmEoNTgsIDE2LCAyMjksIDAuMTIpJyBhcyBuZXZlciwgLy8gdGhpcyBpcyBwcmltYXJ5IGNvbG9yIHdpdGggMTIlIG9wYWNpdHkgKExYUC03NzA1IHdoZW4gbGlnaHRlciBwcmltYXJ5IGNvbG9yIGlzIGF2YWlsYWJsZSlcbiAgICAgICAgYm9yZGVyQ29sb3I6ICdwcmltYXJ5JyxcbiAgICAgIH0sXG4gICAgICBbUHJvZ3Jlc3MuY29tcGxldGVkXToge1xuICAgICAgICBiZzogJ3ByaW1hcnknLFxuICAgICAgICBib3JkZXJDb2xvcjogJ2JvcmRlci10ZXJ0aWFyeScsXG4gICAgICB9LFxuICAgIH0sXG4gIH0pKHByb3BzKSxcbn0pKTtcbiJdfQ== */");
@@ -1,47 +0,0 @@
1
- import { LearningOutcomeLevels } from '../LearningOutcomeBadges';
2
- export declare enum Progress {
3
- notStarted = "notStarted",
4
- inProgress = "inProgress",
5
- completed = "completed"
6
- }
7
- export type SizeType = 'small' | 'normal';
8
- export interface TileProps {
9
- hover: boolean;
10
- progress: Progress;
11
- size: SizeType;
12
- }
13
- interface LearningOutcomeTileDetailsProps {
14
- id: string;
15
- level: LearningOutcomeLevels;
16
- outcome: string;
17
- percentComplete: number | undefined | null;
18
- latestScore?: number;
19
- }
20
- export interface LearningOutcomePopoverDetailsProps {
21
- id: string;
22
- level: LearningOutcomeLevels;
23
- outcome: string;
24
- percentComplete: number | undefined | null;
25
- latestScore?: number;
26
- highestScore?: number;
27
- }
28
- interface WithHoverAndWithPopover {
29
- learningOutcomeDetails: LearningOutcomePopoverDetailsProps;
30
- hover: true;
31
- popover: true;
32
- }
33
- interface WithHoverAndWithoutPopover {
34
- learningOutcomeDetails: LearningOutcomeTileDetailsProps;
35
- hover: true;
36
- popover: false;
37
- }
38
- interface WithoutHoverAndWithoutPopover {
39
- learningOutcomeDetails: LearningOutcomeTileDetailsProps;
40
- hover?: false;
41
- popover?: false;
42
- }
43
- export type LearningOutcomeTileProps = {
44
- href: string;
45
- size?: SizeType;
46
- } & (WithHoverAndWithPopover | WithHoverAndWithoutPopover | WithoutHoverAndWithoutPopover);
47
- export {};
@@ -1,11 +0,0 @@
1
- export let Progress = /*#__PURE__*/function (Progress) {
2
- Progress["notStarted"] = "notStarted";
3
- Progress["inProgress"] = "inProgress";
4
- Progress["completed"] = "completed";
5
- return Progress;
6
- }({});
7
-
8
- /* The following interfaces define the props for the LearningOutcomeTile component based on different states of hover and popover.
9
- When hover is true, popover prop is required (either true or false).
10
- When hover is false, popover prop is optional and defaults to false.
11
- */
@@ -1,131 +0,0 @@
1
- @import "~@codecademy/gamut-styles/utils";
2
-
3
- $c-offset: 169;
4
- $inner-offset: 287;
5
- $outer-offset: 361;
6
- $underline-offset: 77;
7
- $animation-duration: 3s;
8
-
9
- @keyframes draw-c {
10
- 50% {
11
- stroke-dashoffset: 0;
12
- }
13
- }
14
- @keyframes draw-c-fast {
15
- 10% {
16
- stroke-dashoffset: $c-offset;
17
- }
18
- 50% {
19
- stroke-dashoffset: 0;
20
- }
21
- 85% {
22
- stroke-dashoffset: $c-offset;
23
- }
24
- }
25
-
26
- @keyframes draw-inner {
27
- 50% {
28
- stroke-dashoffset: 0;
29
- }
30
- }
31
- @keyframes draw-inner-fast {
32
- 10% {
33
- stroke-dashoffset: $inner-offset;
34
- }
35
- 50% {
36
- stroke-dashoffset: 0;
37
- }
38
- 85% {
39
- stroke-dashoffset: $inner-offset;
40
- }
41
- }
42
-
43
- @keyframes draw-outer {
44
- 50% {
45
- stroke-dashoffset: 0;
46
- }
47
- }
48
- @keyframes draw-outer-fast {
49
- 10% {
50
- stroke-dashoffset: $outer-offset;
51
- }
52
- 50% {
53
- stroke-dashoffset: 0;
54
- }
55
- 85% {
56
- stroke-dashoffset: $outer-offset;
57
- }
58
- }
59
-
60
- @keyframes draw-underline {
61
- 50% {
62
- stroke-dashoffset: 0;
63
- }
64
- }
65
- @keyframes draw-underline-fast {
66
- 10% {
67
- stroke-dashoffset: $underline-offset;
68
- }
69
- 50% {
70
- stroke-dashoffset: 0;
71
- }
72
- 85% {
73
- stroke-dashoffset: $underline-offset;
74
- }
75
- }
76
-
77
- .fullPage {
78
- width: 100%;
79
- height: viewport-height(-($height-header));
80
- }
81
-
82
- .loading {
83
- width: px-rem(120px);
84
- }
85
-
86
- .underline {
87
- stroke-dasharray: $underline-offset;
88
- stroke-dashoffset: $underline-offset;
89
- }
90
- .c {
91
- stroke-dasharray: $c-offset;
92
- stroke-dashoffset: $c-offset;
93
- }
94
- .inner {
95
- stroke-dasharray: $inner-offset;
96
- stroke-dashoffset: $inner-offset;
97
- }
98
- .outer {
99
- stroke-dasharray: $outer-offset;
100
- stroke-dashoffset: $outer-offset;
101
- }
102
-
103
- .path {
104
- &.underline {
105
- animation: draw-underline $animation-duration infinite;
106
- }
107
- &.c {
108
- animation: draw-c $animation-duration infinite;
109
- }
110
- &.outer {
111
- animation: draw-outer $animation-duration infinite;
112
- }
113
- &.inner {
114
- animation: draw-inner $animation-duration infinite;
115
- }
116
- }
117
-
118
- .pathTwo {
119
- &.underline {
120
- animation: draw-underline-fast $animation-duration infinite;
121
- }
122
- &.c {
123
- animation: draw-c-fast $animation-duration infinite;
124
- }
125
- &.outer {
126
- animation: draw-outer-fast $animation-duration infinite;
127
- }
128
- &.inner {
129
- animation: draw-inner-fast $animation-duration infinite;
130
- }
131
- }
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 324 122" width="324" height="122"><path fill="#141E3B" fill-rule="nonzero" stroke="#141E3B" d="M8.676 0h7.376v1.058H8.676V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm36.275 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm27.206 0h7.376v1.058h-7.376V0Zm9.07 0h7.375v1.058h-7.376V0Zm9.068 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.068 0h7.376v1.058h-7.376V0Zm9.07 0h7.375v1.058h-7.376V0Zm27.206 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm36.275 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0Zm9.069 0h7.376v1.058h-7.376V0ZM2.78 7.534H3.81V20.08H2.78V7.534Zm12.878 12.26-.998.439L9.07 7.776l1.013-.424 5.577 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm14.33-12.26h1.027V20.08h-1.028V7.534Zm12.877 12.26-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.207 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442Zm5.26-12.26h1.027V20.08h-1.027V7.534Zm12.877 12.26-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm29.293.363h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm34.19-.363-.998.439-5.593-12.457 1.013-.424 5.577 12.442Zm5.26-12.26h1.027V20.08h-1.028V7.534Zm12.877 12.26-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm14.33-12.26h1.027V20.08h-1.028V7.534Zm12.877 12.26-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.207 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442ZM6.59 39.951l-.998.439L0 27.933l1.013-.424L6.59 39.951Zm18.138 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm9.07 0-.998.439-5.593-12.457 1.013-.424 5.577 12.442Zm2.085.363h7.376v1.058h-7.376v-1.058Zm16.052-.363-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm18.138 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm27.207 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442Zm5.26-12.26h1.027v12.547h-1.027V27.691Zm12.877 12.26-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm27.207 0-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm18.138 0-.998.439-5.592-12.457 1.012-.424 5.578 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442Zm9.07 0-.998.439-5.593-12.457 1.013-.424 5.577 12.442Zm2.085.363h7.376v1.058h-7.376v-1.058Zm16.052-.363-.998.439-5.592-12.457 1.013-.424 5.577 12.442Zm27.206 0-.997.439-5.593-12.457 1.013-.424 5.577 12.442ZM15.66 60.108l-.998.438L9.07 48.09l1.013-.423 5.577 12.442Zm18.138 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm2.085.363h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058H54.02v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm34.19-.363-.998.438-5.593-12.457 1.013-.423 5.577 12.442Zm18.137 0-.998.438-5.592-12.457 1.013-.423 5.577 12.442Zm27.207 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm9.068 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm9.07 0-.998.438-5.593-12.457 1.013-.423 5.577 12.442Zm27.206 0-.998.438-5.592-12.457 1.013-.423 5.577 12.442Zm18.138 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm2.085.363h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm34.19-.363-.998.438-5.593-12.457 1.013-.423 5.577 12.442ZM24.727 80.265l-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm5.26-12.26h1.027v12.547h-1.027V68.005Zm5.894 12.623h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058H54.02v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058ZM84.4 68.005h1.028v12.547H84.4V68.005Zm12.878 12.26-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm27.206 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm18.138 0-.998.438-5.592-12.457 1.013-.423 5.577 12.442Zm27.206 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm9.07 0-.998.438-5.593-12.457 1.013-.423 5.577 12.442Zm9.068 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm27.207 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm5.26-12.26h1.027v12.547h-1.027V68.005Zm5.894 12.623h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm12.243-12.623h1.028v12.547h-1.028V68.005Zm12.878 12.26-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm27.206 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442ZM88.21 100.422l-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm18.137 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm2.086.363h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm16.051-.363-.998.438-5.592-12.457 1.013-.423 5.577 12.442Zm18.138 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm2.086.363h7.376v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm9.068 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm9.069 0h7.376v1.058h-7.376v-1.058Zm16.052-.363-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm54.413 0-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm18.137 0-.997.438-5.593-12.457 1.013-.423 5.577 12.442Zm2.086.363h7.376v1.058h-7.376v-1.058Zm9.07 0h7.375v1.058h-7.376v-1.058Zm16.051-.363-.998.438-5.592-12.457 1.013-.423L324 100.422ZM97.279 120.579l-.998.438-5.592-12.457 1.012-.423 5.578 12.442Zm5.26-12.26h1.027v12.547h-1.027v-12.548Zm5.894 12.623h7.376V122h-7.376v-1.058Zm9.07 0h7.375V122h-7.376v-1.058Zm12.242-12.624h1.028v12.548h-1.028v-12.548Zm12.878 12.26-.998.44-5.592-12.458 1.013-.423 5.577 12.442Zm5.26-12.26h1.028v12.548h-1.028v-12.548Zm5.895 12.624h7.376V122h-7.376v-1.058Zm9.068 0h7.376V122h-7.376v-1.058Zm9.07 0h7.375V122h-7.376v-1.058Zm9.068 0h7.376V122h-7.376v-1.058Zm9.069 0h7.376V122h-7.376v-1.058Zm9.069 0h7.376V122h-7.376v-1.058Zm9.069 0h7.376V122h-7.376v-1.058Zm12.243-12.624h1.027v12.548h-1.027v-12.548Zm67.29 12.26-.997.44-5.592-12.458 1.012-.423 5.578 12.442Zm5.26-12.26h1.028v12.548h-1.027v-12.548Zm5.895 12.624h7.376V122h-7.376v-1.058Zm9.07 0h7.375V122h-7.376v-1.058Zm12.242-12.624h1.028v12.548h-1.028v-12.548Z"/></svg>
@@ -1 +0,0 @@
1
- <svg width="109" height="74" xmlns="http://www.w3.org/2000/svg"><path d="M45.874 51.23c0-8.02-3.844-14.489-9.738-18.37L51 0H23.834L3.588 38.294C1.794 41.657 0 47.608 0 51.23 0 63.909 10.508 74 23.578 74c12.301 0 22.296-10.09 22.296-22.77zm57.974 0c0 12.68-9.787 22.77-22.409 22.77C68.303 74 58 63.91 58 51.23c0-3.622 1.545-9.573 3.348-12.936L81.697 0H109L94.06 32.86c6.182 3.881 9.788 10.35 9.788 18.37z" fill="#008A27" fill-rule="evenodd"/></svg>
@@ -1 +0,0 @@
1
- <svg width="6" height="6" xmlns="http://www.w3.org/2000/svg"><g fill="#FFF" fill-rule="evenodd"><path d="M1 1h1v1H1zm0 1h1v1H1zm1-1h1v1H2zM1 0h1v1H1zM0 1h1v1H0zM4 4h1v1H4zm0 1h1v1H4zm1-1h1v1H5zM4 3h1v1H4zM3 4h1v1H3z"/></g></svg>
@@ -1 +0,0 @@
1
- <svg width="109" height="74" xmlns="http://www.w3.org/2000/svg"><path d="M45.874 51.23c0-8.02-3.844-14.489-9.738-18.37L51 0H23.834L3.588 38.294C1.794 41.657 0 47.608 0 51.23 0 63.909 10.508 74 23.578 74c12.301 0 22.296-10.09 22.296-22.77zm57.974 0c0 12.68-9.787 22.77-22.409 22.77C68.303 74 58 63.91 58 51.23c0-3.622 1.545-9.573 3.348-12.936L81.697 0H109L94.06 32.86c6.182 3.881 9.788 10.35 9.788 18.37z" fill="#AEE938" fill-rule="evenodd"/></svg>
@@ -1,5 +0,0 @@
1
- <svg width="33" height="25" viewBox="0 0 33 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path
3
- d="M13.95 11.791H8.4L15 0H7.65L0 11.0448V25H13.95V11.791ZM31.95 11.791H26.4L33 0H25.65L18 11.0448V25H31.95V11.791Z"
4
- fill="#1557FF" />
5
- </svg>
@@ -1 +0,0 @@
1
- <svg width="186" height="120" xmlns="http://www.w3.org/2000/svg"><path d="M-13 136c13.757-8.504 11.55-21.74 25.306-30.244 13.757-8.504 19.152-1.142 32.909-9.647 13.757-8.504 8.362-15.866 22.12-24.37 13.757-8.504 19.152-1.15 32.917-9.655 13.758-8.505 8.353-15.857 22.111-24.361 13.766-8.504 19.16-1.152 32.917-9.656 13.767-8.504 8.363-15.857 22.12-24.361C180.505 1.78 183.198.663 185.643 0H202v136H-13z" fill="#FF9F3C" fill-rule="evenodd"/></svg>
package/dist/png.d.ts DELETED
@@ -1,4 +0,0 @@
1
- declare module '*.png' {
2
- const imageUrl: string;
3
- export default imageUrl;
4
- }
@@ -1 +0,0 @@
1
- declare module 'react-freezeframe';
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { LearningOutcomeLevelBadge } from '../../LearningOutcomeBadges';
3
- declare const meta: Meta<typeof LearningOutcomeLevelBadge>;
4
- export default meta;
5
- type Story = StoryObj<typeof LearningOutcomeLevelBadge>;
6
- export declare const AllLevels: Story;
@@ -1,20 +0,0 @@
1
- import { FlexBox } from '@codecademy/gamut';
2
- import { LearningOutcomeLevelBadge } from '../../LearningOutcomeBadges';
3
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
4
- const meta = {
5
- component: LearningOutcomeLevelBadge
6
- };
7
- export default meta;
8
- export const AllLevels = {
9
- render: () => /*#__PURE__*/_jsxs(FlexBox, {
10
- gap: 16,
11
- children: [/*#__PURE__*/_jsx(LearningOutcomeLevelBadge, {
12
- level: 1
13
- }), /*#__PURE__*/_jsx(LearningOutcomeLevelBadge, {
14
- level: 2
15
- }), /*#__PURE__*/_jsx(LearningOutcomeLevelBadge, {
16
- level: 3
17
- })]
18
- }),
19
- name: 'Learning Outcome Level Badge - All Levels'
20
- };
@@ -1,6 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { LearningOutcomeLowAssessmentBadge } from '../../LearningOutcomeBadges';
3
- declare const meta: Meta<typeof LearningOutcomeLowAssessmentBadge>;
4
- export default meta;
5
- type Story = StoryObj<typeof LearningOutcomeLowAssessmentBadge>;
6
- export declare const Default: Story;
@@ -1,10 +0,0 @@
1
- import { LearningOutcomeLowAssessmentBadge } from '../../LearningOutcomeBadges';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- const meta = {
4
- component: LearningOutcomeLowAssessmentBadge
5
- };
6
- export default meta;
7
- export const Default = {
8
- render: () => /*#__PURE__*/_jsx(LearningOutcomeLowAssessmentBadge, {}),
9
- name: 'Learning Outcome Low Assessment Badge - Default'
10
- };
@@ -1,5 +0,0 @@
1
- import type { Meta } from '@storybook/react';
2
- import { LearningOutcomePopover } from '../../LearningOutcomePopover';
3
- declare const meta: Meta<typeof LearningOutcomePopover>;
4
- export default meta;
5
- export declare const Example: () => import("react/jsx-runtime").JSX.Element;
@@ -1,39 +0,0 @@
1
- import { Box, FillButton, FlexBox } from '@codecademy/gamut';
2
- import { useRef, useState } from 'react';
3
- import { LearningOutcomePopover } from '../../LearningOutcomePopover';
4
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
5
- const meta = {
6
- component: LearningOutcomePopover,
7
- args: {}
8
- };
9
- export default meta;
10
- export const Example = () => {
11
- const [open, setOpen] = useState(false);
12
- const activeElRef = useRef(null);
13
- const toggleOpen = () => setOpen(!open);
14
- return /*#__PURE__*/_jsxs(_Fragment, {
15
- children: [/*#__PURE__*/_jsx(Box, {
16
- ref: activeElRef,
17
- children: /*#__PURE__*/_jsx(FillButton, {
18
- onClick: toggleOpen,
19
- children: "Open Popover"
20
- })
21
- }), /*#__PURE__*/_jsx(FlexBox, {
22
- width: "100%",
23
- children: /*#__PURE__*/_jsx(LearningOutcomePopover, {
24
- id: "learning-outcome-popover",
25
- activeElRef: activeElRef,
26
- isOpen: open,
27
- learningOutcomeDetails: {
28
- id: '1',
29
- level: 2,
30
- outcome: 'Understand the basics of React',
31
- latestScore: 68,
32
- highestScore: 100,
33
- percentComplete: 75
34
- },
35
- horizontalOffset: 90
36
- })
37
- })]
38
- });
39
- };
package/dist/svg.d.ts DELETED
@@ -1,8 +0,0 @@
1
- declare module '*.svg' {
2
- type AssetURL = string;
3
- const ReactComponent: React.FC<React.SVGProps<SVGSVGElement>>;
4
- const content: string;
5
-
6
- export { ReactComponent };
7
- export default content;
8
- }
package/dist/theme.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { CoreTheme } from '@codecademy/gamut-styles';
2
-
3
- declare module '@emotion/react' {
4
- export interface Theme extends CoreTheme {}
5
- }