@codecademy/brand 1.20.0-alpha.09de427913.0 → 1.20.0-alpha.11181b3c6f.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/AppBarDeprecated/styles/index.module.scss +39 -0
- package/dist/DropdownButton/index.d.ts +307 -50
- package/dist/DropdownButton/index.js +7 -7
- package/dist/EditorialImage/styles.module.scss +36 -0
- package/dist/GlobalFooter/FooterNavLinks/assets/download-on-the-app-store.svg +45 -0
- package/dist/GlobalFooter/FooterNavLinks/assets/get-it-on-google-play.png +0 -0
- package/dist/Loading/styles.module.scss +131 -0
- package/dist/NotFoundContent/404.svg +1 -0
- package/dist/assets/darkQuotes.svg +1 -0
- package/dist/assets/dots.svg +1 -0
- package/dist/assets/lightQuotes.svg +1 -0
- package/dist/assets/navyQuotes.svg +5 -0
- package/dist/assets/orange_squiggle.svg +1 -0
- package/dist/png.d.ts +4 -0
- package/dist/react-freezeframe.d.ts +1 -0
- package/dist/stories/Molecules/DropdownButton.stories.d.ts +0 -5
- package/dist/stories/Molecules/DropdownButton.stories.js +3 -177
- package/dist/svg.d.ts +8 -0
- package/dist/theme.d.ts +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@import "~@codecademy/gamut-styles/utils";
|
|
2
|
+
|
|
3
|
+
$appbar-gutter: px-rem(8px);
|
|
4
|
+
$appbar-tab-width: px-rem(48px);
|
|
5
|
+
$appbar-z: 14;
|
|
6
|
+
|
|
7
|
+
.wrapper {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
height: 100%;
|
|
11
|
+
z-index: $appbar-z;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.section {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
height: 100%;
|
|
18
|
+
z-index: 1;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.sectionRight {
|
|
22
|
+
justify-content: flex-end;
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.sectionLeft {
|
|
27
|
+
flex: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sectionRight,
|
|
31
|
+
.sectionLeft {
|
|
32
|
+
flex: 1;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.sectionCenter {
|
|
36
|
+
flex: 2;
|
|
37
|
+
justify-content: center;
|
|
38
|
+
text-align: center;
|
|
39
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { IconButton, PopoverProps } from '@codecademy/gamut';
|
|
2
|
+
import { buttonProps } from '@codecademy/gamut/dist/Button/shared';
|
|
3
|
+
import { StyleProps } from '@codecademy/variance';
|
|
4
|
+
import { PropsWithChildren } from 'react';
|
|
3
5
|
import * as React from 'react';
|
|
4
6
|
import { DropdownListProps } from './DropdownList';
|
|
5
7
|
export type DropdownButtonRefType = {
|
|
@@ -7,11 +9,7 @@ export type DropdownButtonRefType = {
|
|
|
7
9
|
};
|
|
8
10
|
export type DropdownButtonProps = PropsWithChildren<{
|
|
9
11
|
align?: PopoverProps['align'];
|
|
10
|
-
|
|
11
|
-
* Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
|
|
12
|
-
*/
|
|
13
|
-
iconSize?: number;
|
|
14
|
-
buttonType: 'fill' | 'stroke' | 'text' | 'kebab' | 'horizontalKebab';
|
|
12
|
+
buttonType?: 'fill' | 'stroke' | 'text' | 'kebab' | 'horizontalKebab';
|
|
15
13
|
defaultPosition?: PopoverProps['position'];
|
|
16
14
|
dropdownItems: DropdownListProps['dropdownItems'];
|
|
17
15
|
horizontalOffset?: number;
|
|
@@ -20,44 +18,16 @@ export type DropdownButtonProps = PropsWithChildren<{
|
|
|
20
18
|
*/
|
|
21
19
|
isMenu?: boolean;
|
|
22
20
|
onClick?: (event: React.MouseEvent) => void;
|
|
21
|
+
size?: number;
|
|
23
22
|
tipProps?: React.ComponentProps<typeof IconButton>['tipProps'];
|
|
24
|
-
verticalOffset?: number;
|
|
25
|
-
} & ComponentProps<typeof FillButton> & Partial<Pick<ButtonProps, 'variant' | 'size'>>>;
|
|
26
|
-
export declare const DropdownButton: React.ForwardRefExoticComponent<(Omit<{
|
|
27
|
-
align?: PopoverProps["align"];
|
|
28
23
|
/**
|
|
29
|
-
*
|
|
24
|
+
* offsets the dropdown vertically from the button
|
|
30
25
|
*/
|
|
31
|
-
iconSize?: number;
|
|
32
|
-
buttonType: "fill" | "stroke" | "text" | "kebab" | "horizontalKebab";
|
|
33
|
-
defaultPosition?: PopoverProps["position"];
|
|
34
|
-
dropdownItems: DropdownListProps["dropdownItems"];
|
|
35
|
-
horizontalOffset?: number;
|
|
36
|
-
/**
|
|
37
|
-
* If the dropdown should semantically be a menu
|
|
38
|
-
*/
|
|
39
|
-
isMenu?: boolean;
|
|
40
|
-
onClick?: (event: React.MouseEvent) => void;
|
|
41
|
-
tipProps?: React.ComponentProps<typeof IconButton>["tipProps"];
|
|
42
26
|
verticalOffset?: number;
|
|
43
|
-
} &
|
|
44
|
-
|
|
45
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
46
|
-
} & {
|
|
47
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
48
|
-
} & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "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" | "type" | "form" | "name" | "disabled" | keyof React.ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
|
|
49
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
50
|
-
} & import("@codecademy/gamut/dist/Button/shared").ButtonBaseProps & Partial<import("@codecademy/gamut").IconComponentType> & {
|
|
51
|
-
iconPosition?: "left" | "right" | undefined;
|
|
52
|
-
}, "ref"> & React.RefAttributes<import("@codecademy/gamut").ButtonBaseElements> & Partial<Pick<ButtonProps, "variant" | "size">> & {
|
|
53
|
-
children?: React.ReactNode | undefined;
|
|
54
|
-
}, "ref"> | Omit<{
|
|
27
|
+
} & StyleProps<typeof buttonProps>>;
|
|
28
|
+
export declare const DropdownButton: React.ForwardRefExoticComponent<{
|
|
55
29
|
align?: PopoverProps["align"];
|
|
56
|
-
|
|
57
|
-
* Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
|
|
58
|
-
*/
|
|
59
|
-
iconSize?: number;
|
|
60
|
-
buttonType: "fill" | "stroke" | "text" | "kebab" | "horizontalKebab";
|
|
30
|
+
buttonType?: "fill" | "stroke" | "text" | "kebab" | "horizontalKebab";
|
|
61
31
|
defaultPosition?: PopoverProps["position"];
|
|
62
32
|
dropdownItems: DropdownListProps["dropdownItems"];
|
|
63
33
|
horizontalOffset?: number;
|
|
@@ -66,17 +36,304 @@ export declare const DropdownButton: React.ForwardRefExoticComponent<(Omit<{
|
|
|
66
36
|
*/
|
|
67
37
|
isMenu?: boolean;
|
|
68
38
|
onClick?: (event: React.MouseEvent) => void;
|
|
39
|
+
size?: number;
|
|
69
40
|
tipProps?: React.ComponentProps<typeof IconButton>["tipProps"];
|
|
41
|
+
/**
|
|
42
|
+
* offsets the dropdown vertically from the button
|
|
43
|
+
*/
|
|
70
44
|
verticalOffset?: number;
|
|
71
|
-
} & Omit<Omit<{
|
|
72
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
73
|
-
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
74
45
|
} & {
|
|
75
|
-
|
|
76
|
-
} & Pick<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "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" | "type" | "form" | "name" | "disabled" | keyof React.ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value"> & Pick<React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "onClick" | "href" | "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" | "media" | "target" | "type" | keyof React.ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "ping" | "referrerPolicy">, "ref"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
46
|
+
flexBasis?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
47
|
+
readonly property: "flexBasis";
|
|
48
|
+
}>;
|
|
49
|
+
flexShrink?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
50
|
+
readonly property: "flexShrink";
|
|
51
|
+
}>;
|
|
52
|
+
flexGrow?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
53
|
+
readonly property: "flexGrow";
|
|
54
|
+
}>;
|
|
55
|
+
order?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
56
|
+
readonly property: "order";
|
|
57
|
+
}>;
|
|
58
|
+
gridColumn?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
59
|
+
readonly property: "gridColumn";
|
|
60
|
+
}>;
|
|
61
|
+
gridRow?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
62
|
+
readonly property: "gridRow";
|
|
63
|
+
}>;
|
|
64
|
+
gridColumnStart?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
65
|
+
readonly property: "gridColumnStart";
|
|
66
|
+
}>;
|
|
67
|
+
gridRowStart?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
68
|
+
readonly property: "gridRowStart";
|
|
69
|
+
}>;
|
|
70
|
+
gridColumnEnd?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
71
|
+
readonly property: "gridColumnEnd";
|
|
72
|
+
}>;
|
|
73
|
+
gridRowEnd?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
74
|
+
readonly property: "gridRowEnd";
|
|
75
|
+
}>;
|
|
76
|
+
justifySelf?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
77
|
+
readonly property: "justifySelf";
|
|
78
|
+
}>;
|
|
79
|
+
alignSelf?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
80
|
+
readonly property: "alignSelf";
|
|
81
|
+
}>;
|
|
82
|
+
gridArea?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
83
|
+
readonly property: "gridArea";
|
|
84
|
+
}>;
|
|
85
|
+
display?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
86
|
+
readonly property: "display";
|
|
87
|
+
}>;
|
|
88
|
+
overflow?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
89
|
+
readonly property: "overflow";
|
|
90
|
+
}>;
|
|
91
|
+
overflowX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
92
|
+
readonly property: "overflowX";
|
|
93
|
+
}>;
|
|
94
|
+
overflowY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
95
|
+
readonly property: "overflowY";
|
|
96
|
+
}>;
|
|
97
|
+
dimensions?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
98
|
+
readonly property: "width";
|
|
99
|
+
readonly properties: readonly ["width", "height"];
|
|
100
|
+
readonly transform: (value: string | number) => string | 0;
|
|
101
|
+
}>;
|
|
102
|
+
width?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
103
|
+
readonly property: "width";
|
|
104
|
+
readonly transform: (value: string | number) => string | 0;
|
|
105
|
+
}>;
|
|
106
|
+
minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
107
|
+
readonly property: "minWidth";
|
|
108
|
+
readonly transform: (value: string | number) => string | 0;
|
|
109
|
+
}>;
|
|
110
|
+
maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
111
|
+
readonly property: "maxWidth";
|
|
112
|
+
readonly transform: (value: string | number) => string | 0;
|
|
113
|
+
}>;
|
|
114
|
+
height?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
115
|
+
readonly property: "height";
|
|
116
|
+
readonly transform: (value: string | number) => string | 0;
|
|
117
|
+
}>;
|
|
118
|
+
minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
119
|
+
readonly property: "minHeight";
|
|
120
|
+
readonly transform: (value: string | number) => string | 0;
|
|
121
|
+
}>;
|
|
122
|
+
maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
123
|
+
readonly property: "maxHeight";
|
|
124
|
+
readonly transform: (value: string | number) => string | 0;
|
|
125
|
+
}>;
|
|
126
|
+
verticalAlign?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
127
|
+
readonly property: "verticalAlign";
|
|
128
|
+
}>;
|
|
129
|
+
p?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
130
|
+
readonly property: "padding";
|
|
131
|
+
readonly scale: "spacing";
|
|
132
|
+
}>;
|
|
133
|
+
px?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
134
|
+
readonly property: "padding";
|
|
135
|
+
readonly properties: readonly ["paddingLeft", "paddingRight"];
|
|
136
|
+
readonly scale: "spacing";
|
|
137
|
+
}>;
|
|
138
|
+
py?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
139
|
+
readonly property: "padding";
|
|
140
|
+
readonly properties: readonly ["paddingTop", "paddingBottom"];
|
|
141
|
+
readonly scale: "spacing";
|
|
142
|
+
}>;
|
|
143
|
+
pt?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
144
|
+
readonly property: "paddingTop";
|
|
145
|
+
readonly scale: "spacing";
|
|
146
|
+
}>;
|
|
147
|
+
pb?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
148
|
+
readonly property: "paddingBottom";
|
|
149
|
+
readonly scale: "spacing";
|
|
150
|
+
}>;
|
|
151
|
+
pr?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
152
|
+
readonly property: "paddingRight";
|
|
153
|
+
readonly scale: "spacing";
|
|
154
|
+
}>;
|
|
155
|
+
pl?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
156
|
+
readonly property: "paddingLeft";
|
|
157
|
+
readonly scale: "spacing";
|
|
158
|
+
}>;
|
|
159
|
+
m?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
160
|
+
readonly property: "margin";
|
|
161
|
+
readonly scale: "spacing";
|
|
162
|
+
}>;
|
|
163
|
+
mx?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
164
|
+
readonly property: "margin";
|
|
165
|
+
readonly properties: readonly ["marginLeft", "marginRight"];
|
|
166
|
+
readonly scale: "spacing";
|
|
167
|
+
}>;
|
|
168
|
+
my?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
169
|
+
readonly property: "margin";
|
|
170
|
+
readonly properties: readonly ["marginTop", "marginBottom"];
|
|
171
|
+
readonly scale: "spacing";
|
|
172
|
+
}>;
|
|
173
|
+
mt?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
174
|
+
readonly property: "marginTop";
|
|
175
|
+
readonly scale: "spacing";
|
|
176
|
+
}>;
|
|
177
|
+
mb?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
178
|
+
readonly property: "marginBottom";
|
|
179
|
+
readonly scale: "spacing";
|
|
180
|
+
}>;
|
|
181
|
+
mr?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
182
|
+
readonly property: "marginRight";
|
|
183
|
+
readonly scale: "spacing";
|
|
184
|
+
}>;
|
|
185
|
+
ml?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
186
|
+
readonly property: "marginLeft";
|
|
187
|
+
readonly scale: "spacing";
|
|
188
|
+
}>;
|
|
189
|
+
border?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
190
|
+
readonly property: "border";
|
|
191
|
+
readonly scale: "borders";
|
|
192
|
+
}>;
|
|
193
|
+
bottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
194
|
+
readonly property: "bottom";
|
|
195
|
+
readonly transform: (value: string | number) => string | 0;
|
|
196
|
+
}>;
|
|
197
|
+
inset?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
198
|
+
readonly property: "inset";
|
|
199
|
+
readonly properties: readonly ["top", "right", "bottom", "left"];
|
|
200
|
+
readonly transform: (value: string | number) => string | 0;
|
|
201
|
+
}>;
|
|
202
|
+
left?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
203
|
+
readonly property: "left";
|
|
204
|
+
readonly transform: (value: string | number) => string | 0;
|
|
205
|
+
}>;
|
|
206
|
+
opacity?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
207
|
+
readonly property: "opacity";
|
|
208
|
+
}>;
|
|
209
|
+
position?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
210
|
+
readonly property: "position";
|
|
211
|
+
}>;
|
|
212
|
+
right?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
213
|
+
readonly property: "right";
|
|
214
|
+
readonly transform: (value: string | number) => string | 0;
|
|
215
|
+
}>;
|
|
216
|
+
top?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
217
|
+
readonly property: "top";
|
|
218
|
+
readonly transform: (value: string | number) => string | 0;
|
|
219
|
+
}>;
|
|
220
|
+
zIndex?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
221
|
+
readonly property: "zIndex";
|
|
222
|
+
}>;
|
|
223
|
+
borderBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
224
|
+
readonly property: "borderBottom";
|
|
225
|
+
readonly scale: "borders";
|
|
226
|
+
}>;
|
|
227
|
+
borderLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
228
|
+
readonly property: "borderLeft";
|
|
229
|
+
readonly scale: "borders";
|
|
230
|
+
}>;
|
|
231
|
+
borderRadius?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
232
|
+
readonly property: "borderRadius";
|
|
233
|
+
readonly scale: "borderRadii";
|
|
234
|
+
}>;
|
|
235
|
+
borderRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
236
|
+
readonly property: "borderRight";
|
|
237
|
+
readonly scale: "borders";
|
|
238
|
+
}>;
|
|
239
|
+
borderStyle?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
240
|
+
readonly property: "borderStyle";
|
|
241
|
+
}>;
|
|
242
|
+
borderTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
243
|
+
readonly property: "borderTop";
|
|
244
|
+
readonly scale: "borders";
|
|
245
|
+
}>;
|
|
246
|
+
borderWidth?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
247
|
+
readonly property: "borderWidth";
|
|
248
|
+
}>;
|
|
249
|
+
borderX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
250
|
+
readonly property: "border";
|
|
251
|
+
readonly properties: readonly ["borderLeft", "borderRight"];
|
|
252
|
+
readonly scale: "borders";
|
|
253
|
+
}>;
|
|
254
|
+
borderY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
255
|
+
readonly property: "border";
|
|
256
|
+
readonly properties: readonly ["borderTop", "borderBottom"];
|
|
257
|
+
readonly scale: "borders";
|
|
258
|
+
}>;
|
|
259
|
+
borderWidthX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
260
|
+
readonly property: "borderWidth";
|
|
261
|
+
readonly properties: readonly ["borderLeftWidth", "borderRightWidth"];
|
|
262
|
+
}>;
|
|
263
|
+
borderWidthY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
264
|
+
readonly property: "borderWidth";
|
|
265
|
+
readonly properties: readonly ["borderTopWidth", "borderBottomWidth"];
|
|
266
|
+
}>;
|
|
267
|
+
borderWidthLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
268
|
+
readonly property: "borderLeftWidth";
|
|
269
|
+
}>;
|
|
270
|
+
borderWidthRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
271
|
+
readonly property: "borderRightWidth";
|
|
272
|
+
}>;
|
|
273
|
+
borderWidthTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
274
|
+
readonly property: "borderTopWidth";
|
|
275
|
+
}>;
|
|
276
|
+
borderWidthBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
277
|
+
readonly property: "borderBottomWidth";
|
|
278
|
+
}>;
|
|
279
|
+
borderRadiusLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
280
|
+
readonly property: "borderRadius";
|
|
281
|
+
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
282
|
+
readonly scale: "borderRadii";
|
|
283
|
+
}>;
|
|
284
|
+
borderRadiusTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
285
|
+
readonly property: "borderRadius";
|
|
286
|
+
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
287
|
+
readonly scale: "borderRadii";
|
|
288
|
+
}>;
|
|
289
|
+
borderRadiusBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
290
|
+
readonly property: "borderRadius";
|
|
291
|
+
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
292
|
+
readonly scale: "borderRadii";
|
|
293
|
+
}>;
|
|
294
|
+
borderRadiusRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
295
|
+
readonly property: "borderRadius";
|
|
296
|
+
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
297
|
+
readonly scale: "borderRadii";
|
|
298
|
+
}>;
|
|
299
|
+
borderRadiusTopLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
300
|
+
readonly property: "borderTopLeftRadius";
|
|
301
|
+
readonly scale: "borderRadii";
|
|
302
|
+
}>;
|
|
303
|
+
borderRadiusTopRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
304
|
+
readonly property: "borderTopRightRadius";
|
|
305
|
+
readonly scale: "borderRadii";
|
|
306
|
+
}>;
|
|
307
|
+
borderRadiusBottomRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
308
|
+
readonly property: "borderBottomRightRadius";
|
|
309
|
+
readonly scale: "borderRadii";
|
|
310
|
+
}>;
|
|
311
|
+
borderRadiusBottomLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
312
|
+
readonly property: "borderBottomLeftRadius";
|
|
313
|
+
readonly scale: "borderRadii";
|
|
314
|
+
}>;
|
|
315
|
+
borderStyleX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
316
|
+
readonly property: "borderStyle";
|
|
317
|
+
readonly properties: readonly ["borderLeftStyle", "borderRightStyle"];
|
|
318
|
+
}>;
|
|
319
|
+
borderStyleY?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
320
|
+
readonly property: "borderStyle";
|
|
321
|
+
readonly properties: readonly ["borderTopStyle", "borderBottomStyle"];
|
|
322
|
+
}>;
|
|
323
|
+
borderStyleLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
324
|
+
readonly property: "borderLeftStyle";
|
|
325
|
+
}>;
|
|
326
|
+
borderStyleRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
327
|
+
readonly property: "borderRightStyle";
|
|
328
|
+
}>;
|
|
329
|
+
borderStyleTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
330
|
+
readonly property: "borderTopStyle";
|
|
331
|
+
}>;
|
|
332
|
+
borderStyleBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
333
|
+
readonly property: "borderBottomStyle";
|
|
334
|
+
}>;
|
|
335
|
+
} & {
|
|
336
|
+
theme?: import("@emotion/react").Theme;
|
|
337
|
+
} & {
|
|
81
338
|
children?: React.ReactNode | undefined;
|
|
82
|
-
}
|
|
339
|
+
} & React.RefAttributes<DropdownButtonRefType>>;
|
|
@@ -13,13 +13,13 @@ const DownArrow = /*#__PURE__*/_styled(ArrowChevronDownFilledIcon, _extends({},
|
|
|
13
13
|
label: "DownArrow"
|
|
14
14
|
}, styledOptions))("margin-left:", pxRem(8), ";transition:transform 0.35s ease-out;", ({
|
|
15
15
|
isOpen
|
|
16
|
-
}) => isOpen && 'transform: rotate(-180deg)', ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
16
|
+
}) => isOpen && 'transform: rotate(-180deg)', ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Ecm9wZG93bkJ1dHRvbi9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBK0JFIiwiZmlsZSI6Ii4uLy4uL3NyYy9Ecm9wZG93bkJ1dHRvbi9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBGaWxsQnV0dG9uLFxuICBJY29uQnV0dG9uLFxuICBQb3BvdmVyLFxuICBQb3BvdmVyUHJvcHMsXG4gIFN0cm9rZUJ1dHRvbixcbiAgVGV4dEJ1dHRvbixcbn0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQnO1xuaW1wb3J0IHsgYnV0dG9uUHJvcHMgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC9kaXN0L0J1dHRvbi9zaGFyZWQnO1xuaW1wb3J0IHtcbiAgQXJyb3dDaGV2cm9uRG93bkZpbGxlZEljb24sXG4gIE1pbmlLZWJhYk1lbnVJY29uLFxufSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1pY29ucyc7XG5pbXBvcnQgeyBjc3MsIHB4UmVtLCBzdHlsZWRPcHRpb25zIH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQtc3R5bGVzJztcbmltcG9ydCB7IFN0eWxlUHJvcHMgfSBmcm9tICdAY29kZWNhZGVteS92YXJpYW5jZSc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQge1xuICBmb3J3YXJkUmVmLFxuICBQcm9wc1dpdGhDaGlsZHJlbixcbiAgdXNlSWQsXG4gIH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dE5vZGU7XG4gICAgc3dpdGNoIChidXR0b25UeXBlKSB7XG4gICAgICBjYXNlICdmaWxsJzpcbiAgICAgICAgY2xpY2tUYXJnZXQgPSAoXG4gICAgICAgICAgPEZpbGxCdXR0b25cbiAgICAgICAgICAgIHJlZj17dGFyZ2V0UmVmfVxuICAgICAgICAgICAgYXJpYS1leHBhbmRlZD17aXNPcGVufVxuICAgICAgICAgICAgaWQ9e2J1dHRvbklkfVxuICAgICAgICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2t9XG4gICAgICAgICAgICBkYXRhLXRlc3RpZD1cImRyb3Bkb3duLWZpbGwtYnV0dG9uXCJcbiAgICAgICAgICAgIHsuLi4oYnV0dG9uU3R5bGVQcm9wcyA/PyB7fSl9XG4gICAgICAgICAgPlxuICAgICAgICAgICAge2NoaWxkcmVufVxuICAgICAgICAgICAgPERvd25BcnJvdyBpc09wZW49e2lzT3Blbn0gc2l6ZT17c2l6ZSB8fCAxMn0gLz5cbiAgICAgICAgICA8L0ZpbGxCdXR0b24+XG4gICAgICAgICk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnc3Ryb2tlJzpcbiAgICAgICAgY2xpY2tUYXJnZXQgPSAoXG4gICAgICAgICAgPFN0cm9rZUJ1dHRvblxuICAgICAgICAgICAgcmVmPXt0YXJnZXRSZWZ9XG4gICAgICAgICAgICBhcmlhLWV4cGFuZGVkPXtpc09wZW59XG4gICAgICAgICAgICBpZD17YnV0dG9uSWR9XG4gICAgICAgICAgICBvbkNsaWNrPXtoYW5kbGVDbGlja31cbiAgICAgICAgICAgIGRhdGEtdGVzdGlkPVwiZHJvcGRvd24tc3Ryb2tlLWJ1dHRvblwiXG4gICAgICAgICAgICB7Li4uKGJ1dHRvblN0eWxlUHJvcHMgPz8ge30pfVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgIDxEb3duQXJyb3cgaXNPcGVuPXtpc09wZW59IHNpemU9e3NpemUgfHwgMTJ9IC8+XG4gICAgICAgICAgPC9TdHJva2VCdXR0b24+XG4gICAgICAgICk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAndGV4dCc6XG4gICAgICAgIGNsaWNrVGFyZ2V0ID0gKFxuICAgICAgICAgIDxUZXh0QnV0dG9uXG4gICAgICAgICAgICByZWY9e3RhcmdldFJlZn1cbiAgICAgICAgICAgIGlkPXtidXR0b25JZH1cbiAgICAgICAgICAgIG9uQ2xpY2s9e2hhbmRsZUNsaWNrfVxuICAgICAgICAgICAgZGF0YS10ZXN0aWQ9XCJkcm9wZG93bi1zdHJva2UtYnV0dG9uXCJcbiAgICAgICAgICAgIHsuLi4oYnV0dG9uU3R5bGVQcm9wcyA/PyB7fSl9XG4gICAgICAgICAgPlxuICAgICAgICAgICAge2NoaWxkcmVufVxuICAgICAgICAgICAgPERvd25BcnJvdyBpc09wZW49e2lzT3Blbn0gc2l6ZT17MTJ9IC8+XG4gICAgICAgICAgPC9UZXh0QnV0dG9uPlxuICAgICAgICApO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ2tlYmFiJzpcbiAgICAgICAgY2xpY2tUYXJnZXQgPSAoXG4gICAgICAgICAgPEljb25CdXR0b25cbiAgICAgICAgICAgIHJlZj17dGFyZ2V0UmVmfVxuICAgICAgICAgICAgYXJpYS1leHBhbmRlZD17aXNPcGVufVxuICAgICAgICAgICAgYXJpYS1oYXNwb3B1cD1cIm1lbnVcIlxuICAgICAgICAgICAgaWQ9e2J1dHRvbklkfVxuICAgICAgICAgICAgaWNvbj17KCkgPT4gPE1pbmlLZWJhYk1lbnVJY29uIHNpemU9e3NpemV9IC8+fVxuICAgICAgICAgICAgc2l6ZT1cInNtYWxsXCJcbiAgICAgICAgICAgIHZhcmlhbnQ9XCJzZWNvbmRhcnlcIlxuICAgICAgICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2t9XG4gICAgICAgICAgICBkYXRhLXRlc3RpZD1cImRyb3Bkb3duLWtlYmFiLWJ1dHRvblwiXG4gICAgICAgICAgICB0aXA9XCJTaG93IG9wdGlvbnNcIlxuICAgICAgICAgICAgdGlwUHJvcHM9e3RpcFByb3BzfVxuICAgICAgICAgICAgey4uLihidXR0b25TdHlsZVByb3BzID8/IHt9KX1cbiAgICAgICAgICAvPlxuICAgICAgICApO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ2hvcml6b250YWxLZWJhYic6XG4gICAgICAgIGNsaWNrVGFyZ2V0ID0gKFxuICAgICAgICAgIDxJY29uQnV0dG9uXG4gICAgICAgICAgICBhcmlhLWxhYmVsPVwiT3B0aW9uc1wiXG4gICAgICAgICAgICByZWY9e3RhcmdldFJlZn1cbiAgICAgICAgICAgIGFyaWEtZXhwYW5kZWQ9e2lzT3Blbn1cbiAgICAgICAgICAgIGFyaWEtaGFzcG9wdXA9XCJtZW51XCJcbiAgICAgICAgICAgIGlkPXtidXR0b25JZH1cbiAgICAgICAgICAgIGljb249eygpID0+IDxIb3Jpem9udGFsS2ViYWJJY29uIHNpemU9e3NpemV9IC8+fVxuICAgICAgICAgICAgc2l6ZT1cInNtYWxsXCJcbiAgICAgICAgICAgIHZhcmlhbnQ9XCJzZWNvbmRhcnlcIlxuICAgICAgICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2t9XG4gICAgICAgICAgICBkYXRhLXRlc3RpZD1cImRyb3Bkb3duLWhvcml6b250YWwta2ViYWItYnV0dG9uXCJcbiAgICAgICAgICAgIHRpcFByb3BzPXt0aXBQcm9wc31cbiAgICAgICAgICAgIHRpcD1cIlNob3cgbW9yZSBvcHRpb25zXCJcbiAgICAgICAgICAgIHsuLi4oYnV0dG9uU3R5bGVQcm9wcyA/PyB7fSl9XG4gICAgICAgICAgLz5cbiAgICAgICAgKTtcbiAgICB9XG5cbiAgICByZXR1cm4gKFxuICAgICAgPD5cbiAgICAgICAge2NsaWNrVGFyZ2V0fVxuICAgICAgICB7ZHJvcGRvd25JdGVtcy5sZW5ndGggIT09IDAgJiYgKFxuICAgICAgICAgIDxQb3BvdmVyXG4gICAgICAgICAgICBwb3BvdmVyQ29udGFpbmVyUmVmPXtwb3BvdmVyQ29udGFpbmVyUmVmQ2FsbGJhY2t9XG4gICAgICAgICAgICB0YXJnZXRSZWY9e3RhcmdldFJlZn1cbiAgICAgICAgICAgIGlzT3Blbj17aXNPcGVufVxuICAgICAgICAgICAgb25SZXF1ZXN0Q2xvc2U9e2hhbmRsZVJlcXVlc3RDbG9zZWR9XG4gICAgICAgICAgICBhbGlnbj17YWxpZ259XG4gICAgICAgICAgICB2ZXJ0aWNhbE9mZnNldD17dmVydGljYWxPZmZzZXR9XG4gICAgICAgICAgICBob3Jpem9udGFsT2Zmc2V0PXtob3Jpem9udGFsT2Zmc2V0fVxuICAgICAgICAgICAgcG9zaXRpb249e3Bvc2l0aW9ufVxuICAgICAgICAgICAgb3V0bGluZVxuICAgICAgICAgID5cbiAgICAgICAgICAgIDxEcm9wZG93bkxpc3RcbiAgICAgICAgICAgICAgZHJvcGRvd25JdGVtcz17ZHJvcGRvd25JdGVtc31cbiAgICAgICAgICAgICAgaXNNZW51PXtpc01lbnV9XG4gICAgICAgICAgICAgIG1lbnVCdXR0b25JZD17YnV0dG9uSWR9XG4gICAgICAgICAgICAgIG9uQ2xvc2U9e2hhbmRsZVJlcXVlc3RDbG9zZWR9XG4gICAgICAgICAgICAvPlxuICAgICAgICAgIDwvUG9wb3Zlcj5cbiAgICAgICAgKX1cbiAgICAgIDwvPlxuICAgICk7XG4gIH1cbik7XG4iXX0= */"));
|
|
17
17
|
const HorizontalKebabIcon = /*#__PURE__*/_styled(MiniKebabMenuIcon, {
|
|
18
18
|
target: "e1mfstzo0",
|
|
19
19
|
label: "HorizontalKebabIcon"
|
|
20
20
|
})(css({
|
|
21
21
|
transform: 'rotate(90deg)'
|
|
22
|
-
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
22
|
+
}), process.env.NODE_ENV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4gICAgICAgICAgICByZWY9e3RhcmdldFJlZn1cbiAgICAgICAgICAgIGFyaWEtZXhwYW5kZWQ9e2lzT3Blbn1cbiAgICAgICAgICAgIGlkPXtidXR0b25JZH1cbiAgICAgICAgICAgIG9uQ2xpY2s9e2hhbmRsZUNsaWNrfVxuICAgICAgICAgICAgZGF0YS10ZXN0aWQ9XCJkcm9wZG93bi1maWxsLWJ1dHRvblwiXG4gICAgICAgICAgICB7Li4uKGJ1dHRvblN0eWxlUHJvcHMgPz8ge30pfVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgIDxEb3duQXJyb3cgaXNPcGVuPXtpc09wZW59IHNpemU9e3NpemUgfHwgMTJ9IC8+XG4gICAgICAgICAgPC9GaWxsQnV0dG9uPlxuICAgICAgICApO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ3N0cm9rZSc6XG4gICAgICAgIGNsaWNrVGFyZ2V0ID0gKFxuICAgICAgICAgIDxTdHJva2VCdXR0b25cbiAgICAgICAgICAgIHJlZj17dGFyZ2V0UmVmfVxuICAgICAgICAgICAgYXJpYS1leHBhbmRlZD17aXNPcGVufVxuICAgICAgICAgICAgaWQ9e2J1dHRvbklkfVxuICAgICAgICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2t9XG4gICAgICAgICAgICBkYXRhLXRlc3RpZD1cImRyb3Bkb3duLXN0cm9rZS1idXR0b25cIlxuICAgICAgICAgICAgey4uLihidXR0b25TdHlsZVByb3BzID8/IHt9KX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7Y2hpbGRyZW59XG4gICAgICAgICAgICA8RG93bkFycm93IGlzT3Blbj17aXNPcGVufSBzaXplPXtzaXplIHx8IDEyfSAvPlxuICAgICAgICAgIDwvU3Ryb2tlQnV0dG9uPlxuICAgICAgICApO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ3RleHQnOlxuICAgICAgICBjbGlja1RhcmdldCA9IChcbiAgICAgICAgICA8VGV4dEJ1dHRvblxuICAgICAgICAgICAgcmVmPXt0YXJnZXRSZWZ9XG4gICAgICAgICAgICBpZD17YnV0dG9uSWR9XG4gICAgICAgICAgICBvbkNsaWNrPXtoYW5kbGVDbGlja31cbiAgICAgICAgICAgIGRhdGEtdGVzdGlkPVwiZHJvcGRvd24tc3Ryb2tlLWJ1dHRvblwiXG4gICAgICAgICAgICB7Li4uKGJ1dHRvblN0eWxlUHJvcHMgPz8ge30pfVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgIDxEb3duQXJyb3cgaXNPcGVuPXtpc09wZW59IHNpemU9ezEyfSAvPlxuICAgICAgICAgIDwvVGV4dEJ1dHRvbj5cbiAgICAgICAgKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdrZWJhYic6XG4gICAgICAgIGNsaWNrVGFyZ2V0ID0gKFxuICAgICAgICAgIDxJY29uQnV0dG9uXG4gICAgICAgICAgICByZWY9e3RhcmdldFJlZn1cbiAgICAgICAgICAgIGFyaWEtZXhwYW5kZWQ9e2lzT3Blbn1cbiAgICAgICAgICAgIGFyaWEtaGFzcG9wdXA9XCJtZW51XCJcbiAgICAgICAgICAgIGlkPXtidXR0b25JZH1cbiAgICAgICAgICAgIGljb249eygpID0+IDxNaW5pS2ViYWJNZW51SWNvbiBzaXplPXtzaXplfSAvPn1cbiAgICAgICAgICAgIHNpemU9XCJzbWFsbFwiXG4gICAgICAgICAgICB2YXJpYW50PVwic2Vjb25kYXJ5XCJcbiAgICAgICAgICAgIG9uQ2xpY2s9e2hhbmRsZUNsaWNrfVxuICAgICAgICAgICAgZGF0YS10ZXN0aWQ9XCJkcm9wZG93bi1rZWJhYi1idXR0b25cIlxuICAgICAgICAgICAgdGlwPVwiU2hvdyBvcHRpb25zXCJcbiAgICAgICAgICAgIHRpcFByb3BzPXt0aXBQcm9wc31cbiAgICAgICAgICAgIHsuLi4oYnV0dG9uU3R5bGVQcm9wcyA/PyB7fSl9XG4gICAgICAgICAgLz5cbiAgICAgICAgKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdob3Jpem9udGFsS2ViYWInOlxuICAgICAgICBjbGlja1RhcmdldCA9IChcbiAgICAgICAgICA8SWNvbkJ1dHRvblxuICAgICAgICAgICAgYXJpYS1sYWJlbD1cIk9wdGlvbnNcIlxuICAgICAgICAgICAgcmVmPXt0YXJnZXRSZWZ9XG4gICAgICAgICAgICBhcmlhLWV4cGFuZGVkPXtpc09wZW59XG4gICAgICAgICAgICBhcmlhLWhhc3BvcHVwPVwibWVudVwiXG4gICAgICAgICAgICBpZD17YnV0dG9uSWR9XG4gICAgICAgICAgICBpY29uPXsoKSA9PiA8SG9yaXpvbnRhbEtlYmFiSWNvbiBzaXplPXtzaXplfSAvPn1cbiAgICAgICAgICAgIHNpemU9XCJzbWFsbFwiXG4gICAgICAgICAgICB2YXJpYW50PVwic2Vjb25kYXJ5XCJcbiAgICAgICAgICAgIG9uQ2xpY2s9e2hhbmRsZUNsaWNrfVxuICAgICAgICAgICAgZGF0YS10ZXN0aWQ9XCJkcm9wZG93bi1ob3Jpem9udGFsLWtlYmFiLWJ1dHRvblwiXG4gICAgICAgICAgICB0aXBQcm9wcz17dGlwUHJvcHN9XG4gICAgICAgICAgICB0aXA9XCJTaG93IG1vcmUgb3B0aW9uc1wiXG4gICAgICAgICAgICB7Li4uKGJ1dHRvblN0eWxlUHJvcHMgPz8ge30pfVxuICAgICAgICAgIC8+XG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgcmV0dXJuIChcbiAgICAgIDw+XG4gICAgICAgIHtjbGlja1RhcmdldH1cbiAgICAgICAge2Ryb3Bkb3duSXRlbXMubGVuZ3RoICE9PSAwICYmIChcbiAgICAgICAgICA8UG9wb3ZlclxuICAgICAgICAgICAgcG9wb3ZlckNvbnRhaW5lclJlZj17cG9wb3ZlckNvbnRhaW5lclJlZkNhbGxiYWNrfVxuICAgICAgICAgICAgdGFyZ2V0UmVmPXt0YXJnZXRSZWZ9XG4gICAgICAgICAgICBpc09wZW49e2lzT3Blbn1cbiAgICAgICAgICAgIG9uUmVxdWVzdENsb3NlPXtoYW5kbGVSZXF1ZXN0Q2xvc2VkfVxuICAgICAgICAgICAgYWxpZ249e2FsaWdufVxuICAgICAgICAgICAgdmVydGljYWxPZmZzZXQ9e3ZlcnRpY2FsT2Zmc2V0fVxuICAgICAgICAgICAgaG9yaXpvbnRhbE9mZnNldD17aG9yaXpvbnRhbE9mZnNldH1cbiAgICAgICAgICAgIHBvc2l0aW9uPXtwb3NpdGlvbn1cbiAgICAgICAgICAgIG91dGxpbmVcbiAgICAgICAgICA+XG4gICAgICAgICAgICA8RHJvcGRvd25MaXN0XG4gICAgICAgICAgICAgIGRyb3Bkb3duSXRlbXM9e2Ryb3Bkb3duSXRlbXN9XG4gICAgICAgICAgICAgIGlzTWVudT17aXNNZW51fVxuICAgICAgICAgICAgICBtZW51QnV0dG9uSWQ9e2J1dHRvbklkfVxuICAgICAgICAgICAgICBvbkNsb3NlPXtoYW5kbGVSZXF1ZXN0Q2xvc2VkfVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICA8L1BvcG92ZXI+XG4gICAgICAgICl9XG4gICAgICA8Lz5cbiAgICApO1xuICB9XG4pO1xuIl19 */");
|
|
23
23
|
export const DropdownButton = /*#__PURE__*/forwardRef(({
|
|
24
24
|
align = 'left',
|
|
25
25
|
buttonType = 'fill',
|
|
@@ -30,7 +30,7 @@ export const DropdownButton = /*#__PURE__*/forwardRef(({
|
|
|
30
30
|
isMenu,
|
|
31
31
|
onClick,
|
|
32
32
|
verticalOffset = 0,
|
|
33
|
-
|
|
33
|
+
size,
|
|
34
34
|
tipProps,
|
|
35
35
|
...buttonStyleProps
|
|
36
36
|
}, ref) => {
|
|
@@ -69,7 +69,7 @@ export const DropdownButton = /*#__PURE__*/forwardRef(({
|
|
|
69
69
|
...(buttonStyleProps ?? {}),
|
|
70
70
|
children: [children, /*#__PURE__*/_jsx(DownArrow, {
|
|
71
71
|
isOpen: isOpen,
|
|
72
|
-
size:
|
|
72
|
+
size: size || 12
|
|
73
73
|
})]
|
|
74
74
|
});
|
|
75
75
|
break;
|
|
@@ -83,7 +83,7 @@ export const DropdownButton = /*#__PURE__*/forwardRef(({
|
|
|
83
83
|
...(buttonStyleProps ?? {}),
|
|
84
84
|
children: [children, /*#__PURE__*/_jsx(DownArrow, {
|
|
85
85
|
isOpen: isOpen,
|
|
86
|
-
size:
|
|
86
|
+
size: size || 12
|
|
87
87
|
})]
|
|
88
88
|
});
|
|
89
89
|
break;
|
|
@@ -107,7 +107,7 @@ export const DropdownButton = /*#__PURE__*/forwardRef(({
|
|
|
107
107
|
"aria-haspopup": "menu",
|
|
108
108
|
id: buttonId,
|
|
109
109
|
icon: () => /*#__PURE__*/_jsx(MiniKebabMenuIcon, {
|
|
110
|
-
size:
|
|
110
|
+
size: size
|
|
111
111
|
}),
|
|
112
112
|
size: "small",
|
|
113
113
|
variant: "secondary",
|
|
@@ -126,7 +126,7 @@ export const DropdownButton = /*#__PURE__*/forwardRef(({
|
|
|
126
126
|
"aria-haspopup": "menu",
|
|
127
127
|
id: buttonId,
|
|
128
128
|
icon: () => /*#__PURE__*/_jsx(HorizontalKebabIcon, {
|
|
129
|
-
size:
|
|
129
|
+
size: size
|
|
130
130
|
}),
|
|
131
131
|
size: "small",
|
|
132
132
|
variant: "secondary",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
@import "~@codecademy/gamut-styles/utils";
|
|
2
|
+
|
|
3
|
+
.imageContainer {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: calc(100% - 1rem);
|
|
6
|
+
@include screen-size-gte($grid-xs-min) {
|
|
7
|
+
width: inherit;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.image {
|
|
12
|
+
width: 100%;
|
|
13
|
+
position: relative;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.imageContainer::before {
|
|
17
|
+
content: "";
|
|
18
|
+
position: absolute;
|
|
19
|
+
left: 1rem;
|
|
20
|
+
top: 2rem;
|
|
21
|
+
background-image: url("../assets/dots.svg");
|
|
22
|
+
background-repeat: repeat;
|
|
23
|
+
height: calc(100% - 1rem);
|
|
24
|
+
width: 100%;
|
|
25
|
+
z-index: 0;
|
|
26
|
+
filter: invert(19%) sepia(50%) saturate(3200%) hue-rotate(-24deg)
|
|
27
|
+
brightness(95%) contrast(97%);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.caption {
|
|
31
|
+
color: $color-white;
|
|
32
|
+
opacity: 0.7;
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
margin: 1rem 1rem 0;
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="40" viewBox="0 0 120 40">
|
|
2
|
+
<g>
|
|
3
|
+
<g>
|
|
4
|
+
<g>
|
|
5
|
+
<path d="M110.13477,0H9.53468c-.3667,0-.729,0-1.09473.002-.30615.002-.60986.00781-.91895.0127A13.21476,13.21476,0,0,0,5.5171.19141a6.66509,6.66509,0,0,0-1.90088.627A6.43779,6.43779,0,0,0,1.99757,1.99707,6.25844,6.25844,0,0,0,.81935,3.61816a6.60119,6.60119,0,0,0-.625,1.90332,12.993,12.993,0,0,0-.1792,2.002C.00587,7.83008.00489,8.1377,0,8.44434V31.5586c.00489.3105.00587.6113.01515.9219a12.99232,12.99232,0,0,0,.1792,2.0019,6.58756,6.58756,0,0,0,.625,1.9043A6.20778,6.20778,0,0,0,1.99757,38.001a6.27445,6.27445,0,0,0,1.61865,1.1787,6.70082,6.70082,0,0,0,1.90088.6308,13.45514,13.45514,0,0,0,2.0039.1768c.30909.0068.6128.0107.91895.0107C8.80567,40,9.168,40,9.53468,40H110.13477c.3594,0,.7246,0,1.084-.002.3047,0,.6172-.0039.9219-.0107a13.279,13.279,0,0,0,2-.1768,6.80432,6.80432,0,0,0,1.9082-.6308,6.27742,6.27742,0,0,0,1.6172-1.1787,6.39482,6.39482,0,0,0,1.1816-1.6143,6.60413,6.60413,0,0,0,.6191-1.9043,13.50643,13.50643,0,0,0,.1856-2.0019c.0039-.3106.0039-.6114.0039-.9219.0078-.3633.0078-.7246.0078-1.0938V9.53613c0-.36621,0-.72949-.0078-1.09179,0-.30664,0-.61426-.0039-.9209a13.5071,13.5071,0,0,0-.1856-2.002,6.6177,6.6177,0,0,0-.6191-1.90332,6.46619,6.46619,0,0,0-2.7988-2.7998,6.76754,6.76754,0,0,0-1.9082-.627,13.04394,13.04394,0,0,0-2-.17676c-.3047-.00488-.6172-.01074-.9219-.01269-.3594-.002-.7246-.002-1.084-.002Z" style="fill: #a6a6a6"/>
|
|
6
|
+
<path d="M8.44483,39.125c-.30468,0-.602-.0039-.90429-.0107a12.68714,12.68714,0,0,1-1.86914-.1631,5.88381,5.88381,0,0,1-1.65674-.5479,5.40573,5.40573,0,0,1-1.397-1.0166,5.32082,5.32082,0,0,1-1.02051-1.3965,5.72186,5.72186,0,0,1-.543-1.6572,12.41351,12.41351,0,0,1-.1665-1.875c-.00634-.2109-.01464-.9131-.01464-.9131V8.44434S.88185,7.75293.8877,7.5498a12.37039,12.37039,0,0,1,.16553-1.87207,5.7555,5.7555,0,0,1,.54346-1.6621A5.37349,5.37349,0,0,1,2.61183,2.61768,5.56543,5.56543,0,0,1,4.01417,1.59521a5.82309,5.82309,0,0,1,1.65332-.54394A12.58589,12.58589,0,0,1,7.543.88721L8.44532.875H111.21387l.9131.0127a12.38493,12.38493,0,0,1,1.8584.16259,5.93833,5.93833,0,0,1,1.6709.54785,5.59374,5.59374,0,0,1,2.415,2.41993,5.76267,5.76267,0,0,1,.5352,1.64892,12.995,12.995,0,0,1,.1738,1.88721c.0029.2832.0029.5874.0029.89014.0079.375.0079.73193.0079,1.09179V30.4648c0,.3633,0,.7178-.0079,1.0752,0,.3252,0,.6231-.0039.9297a12.73126,12.73126,0,0,1-.1709,1.8535,5.739,5.739,0,0,1-.54,1.67,5.48029,5.48029,0,0,1-1.0156,1.3857,5.4129,5.4129,0,0,1-1.3994,1.0225,5.86168,5.86168,0,0,1-1.668.5498,12.54218,12.54218,0,0,1-1.8692.1631c-.2929.0068-.5996.0107-.8974.0107l-1.084.002Z"/>
|
|
7
|
+
</g>
|
|
8
|
+
<g id="_Group_" data-name="<Group>">
|
|
9
|
+
<g id="_Group_2" data-name="<Group>">
|
|
10
|
+
<g id="_Group_3" data-name="<Group>">
|
|
11
|
+
<path id="_Path_" data-name="<Path>" d="M24.76888,20.30068a4.94881,4.94881,0,0,1,2.35656-4.15206,5.06566,5.06566,0,0,0-3.99116-2.15768c-1.67924-.17626-3.30719,1.00483-4.1629,1.00483-.87227,0-2.18977-.98733-3.6085-.95814a5.31529,5.31529,0,0,0-4.47292,2.72787c-1.934,3.34842-.49141,8.26947,1.3612,10.97608.9269,1.32535,2.01018,2.8058,3.42763,2.7533,1.38706-.05753,1.9051-.88448,3.5794-.88448,1.65876,0,2.14479.88448,3.591.8511,1.48838-.02416,2.42613-1.33124,3.32051-2.66914a10.962,10.962,0,0,0,1.51842-3.09251A4.78205,4.78205,0,0,1,24.76888,20.30068Z" style="fill: #fff"/>
|
|
12
|
+
<path id="_Path_2" data-name="<Path>" d="M22.03725,12.21089a4.87248,4.87248,0,0,0,1.11452-3.49062,4.95746,4.95746,0,0,0-3.20758,1.65961,4.63634,4.63634,0,0,0-1.14371,3.36139A4.09905,4.09905,0,0,0,22.03725,12.21089Z" style="fill: #fff"/>
|
|
13
|
+
</g>
|
|
14
|
+
</g>
|
|
15
|
+
<g>
|
|
16
|
+
<path d="M42.30227,27.13965h-4.7334l-1.13672,3.35645H34.42727l4.4834-12.418h2.083l4.4834,12.418H43.438ZM38.0591,25.59082h3.752l-1.84961-5.44727h-.05176Z" style="fill: #fff"/>
|
|
17
|
+
<path d="M55.15969,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H48.4302v1.50586h.03418a3.21162,3.21162,0,0,1,2.88281-1.60059C53.645,21.34766,55.15969,23.16406,55.15969,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C52.30227,29.01563,53.24953,27.81934,53.24953,25.96973Z" style="fill: #fff"/>
|
|
18
|
+
<path d="M65.12453,25.96973c0,2.81348-1.50586,4.62109-3.77832,4.62109a3.0693,3.0693,0,0,1-2.84863-1.584h-.043v4.48438h-1.8584V21.44238H58.395v1.50586h.03418A3.21162,3.21162,0,0,1,61.312,21.34766C63.60988,21.34766,65.12453,23.16406,65.12453,25.96973Zm-1.91016,0c0-1.833-.94727-3.03809-2.39258-3.03809-1.41992,0-2.375,1.23047-2.375,3.03809,0,1.82422.95508,3.0459,2.375,3.0459C62.26711,29.01563,63.21438,27.81934,63.21438,25.96973Z" style="fill: #fff"/>
|
|
19
|
+
<path d="M71.71047,27.03613c.1377,1.23145,1.334,2.04,2.96875,2.04,1.56641,0,2.69336-.80859,2.69336-1.91895,0-.96387-.67969-1.541-2.28906-1.93652l-1.60937-.3877c-2.28027-.55078-3.33887-1.61719-3.33887-3.34766,0-2.14258,1.86719-3.61426,4.51855-3.61426,2.624,0,4.42285,1.47168,4.4834,3.61426h-1.876c-.1123-1.23926-1.13672-1.9873-2.63379-1.9873s-2.52148.75684-2.52148,1.8584c0,.87793.6543,1.39453,2.25488,1.79l1.36816.33594c2.54785.60254,3.60645,1.626,3.60645,3.44238,0,2.32324-1.85059,3.77832-4.79395,3.77832-2.75391,0-4.61328-1.4209-4.7334-3.667Z" style="fill: #fff"/>
|
|
20
|
+
<path d="M83.34621,19.2998v2.14258h1.72168v1.47168H83.34621v4.99121c0,.77539.34473,1.13672,1.10156,1.13672a5.80752,5.80752,0,0,0,.61133-.043v1.46289a5.10351,5.10351,0,0,1-1.03223.08594c-1.833,0-2.54785-.68848-2.54785-2.44434V22.91406H80.16262V21.44238H81.479V19.2998Z" style="fill: #fff"/>
|
|
21
|
+
<path d="M86.065,25.96973c0-2.84863,1.67773-4.63867,4.29395-4.63867,2.625,0,4.29492,1.79,4.29492,4.63867,0,2.85645-1.66113,4.63867-4.29492,4.63867C87.72609,30.6084,86.065,28.82617,86.065,25.96973Zm6.69531,0c0-1.9541-.89551-3.10742-2.40137-3.10742s-2.40039,1.16211-2.40039,3.10742c0,1.96191.89453,3.10645,2.40039,3.10645S92.76027,27.93164,92.76027,25.96973Z" style="fill: #fff"/>
|
|
22
|
+
<path d="M96.18606,21.44238h1.77246v1.541h.043a2.1594,2.1594,0,0,1,2.17773-1.63574,2.86616,2.86616,0,0,1,.63672.06934v1.73828a2.59794,2.59794,0,0,0-.835-.1123,1.87264,1.87264,0,0,0-1.93652,2.083v5.37012h-1.8584Z" style="fill: #fff"/>
|
|
23
|
+
<path d="M109.3843,27.83691c-.25,1.64355-1.85059,2.77148-3.89844,2.77148-2.63379,0-4.26855-1.76465-4.26855-4.5957,0-2.83984,1.64355-4.68164,4.19043-4.68164,2.50488,0,4.08008,1.7207,4.08008,4.46582v.63672h-6.39453v.1123a2.358,2.358,0,0,0,2.43555,2.56445,2.04834,2.04834,0,0,0,2.09082-1.27344Zm-6.28223-2.70215h4.52637a2.1773,2.1773,0,0,0-2.2207-2.29785A2.292,2.292,0,0,0,103.10207,25.13477Z" style="fill: #fff"/>
|
|
24
|
+
</g>
|
|
25
|
+
</g>
|
|
26
|
+
</g>
|
|
27
|
+
<g id="_Group_4" data-name="<Group>">
|
|
28
|
+
<g>
|
|
29
|
+
<path d="M37.82619,8.731a2.63964,2.63964,0,0,1,2.80762,2.96484c0,1.90625-1.03027,3.002-2.80762,3.002H35.67092V8.731Zm-1.22852,5.123h1.125a1.87588,1.87588,0,0,0,1.96777-2.146,1.881,1.881,0,0,0-1.96777-2.13379h-1.125Z" style="fill: #fff"/>
|
|
30
|
+
<path d="M41.68068,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C44.57522,13.99463,45.01369,13.42432,45.01369,12.44434Z" style="fill: #fff"/>
|
|
31
|
+
<path d="M51.57326,14.69775h-.92187l-.93066-3.31641h-.07031l-.92676,3.31641h-.91309l-1.24121-4.50293h.90137l.80664,3.436h.06641l.92578-3.436h.85254l.92578,3.436h.07031l.80273-3.436h.88867Z" style="fill: #fff"/>
|
|
32
|
+
<path d="M53.85354,10.19482H54.709v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915h-.88867V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z" style="fill: #fff"/>
|
|
33
|
+
<path d="M59.09377,8.437h.88867v6.26074h-.88867Z" style="fill: #fff"/>
|
|
34
|
+
<path d="M61.21779,12.44434a2.13346,2.13346,0,1,1,4.24756,0,2.1338,2.1338,0,1,1-4.24756,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C64.11232,13.99463,64.5508,13.42432,64.5508,12.44434Z" style="fill: #fff"/>
|
|
35
|
+
<path d="M66.4009,13.42432c0-.81055.60352-1.27783,1.6748-1.34424l1.21973-.07031v-.38867c0-.47559-.31445-.74414-.92187-.74414-.49609,0-.83984.18213-.93848.50049h-.86035c.09082-.77344.81836-1.26953,1.83984-1.26953,1.12891,0,1.76563.562,1.76563,1.51318v3.07666h-.85547v-.63281h-.07031a1.515,1.515,0,0,1-1.35254.707A1.36026,1.36026,0,0,1,66.4009,13.42432Zm2.89453-.38477v-.37646l-1.09961.07031c-.62012.0415-.90137.25244-.90137.64941,0,.40527.35156.64111.835.64111A1.0615,1.0615,0,0,0,69.29543,13.03955Z" style="fill: #fff"/>
|
|
36
|
+
<path d="M71.34816,12.44434c0-1.42285.73145-2.32422,1.86914-2.32422a1.484,1.484,0,0,1,1.38086.79h.06641V8.437h.88867v6.26074h-.85156v-.71143h-.07031a1.56284,1.56284,0,0,1-1.41406.78564C72.0718,14.772,71.34816,13.87061,71.34816,12.44434Zm.918,0c0,.95508.4502,1.52979,1.20313,1.52979.749,0,1.21191-.583,1.21191-1.52588,0-.93848-.46777-1.52979-1.21191-1.52979C72.72121,10.91846,72.26613,11.49707,72.26613,12.44434Z" style="fill: #fff"/>
|
|
37
|
+
<path d="M79.23,12.44434a2.13323,2.13323,0,1,1,4.24707,0,2.13358,2.13358,0,1,1-4.24707,0Zm3.333,0c0-.97607-.43848-1.54687-1.208-1.54687-.77246,0-1.207.5708-1.207,1.54688,0,.98389.43457,1.55029,1.207,1.55029C82.12453,13.99463,82.563,13.42432,82.563,12.44434Z" style="fill: #fff"/>
|
|
38
|
+
<path d="M84.66945,10.19482h.85547v.71533h.06641a1.348,1.348,0,0,1,1.34375-.80225,1.46456,1.46456,0,0,1,1.55859,1.6748v2.915H87.605V12.00586c0-.72363-.31445-1.0835-.97168-1.0835a1.03294,1.03294,0,0,0-1.0752,1.14111v2.63428h-.88867Z" style="fill: #fff"/>
|
|
39
|
+
<path d="M93.51516,9.07373v1.1416h.97559v.74854h-.97559V13.2793c0,.47168.19434.67822.63672.67822a2.96657,2.96657,0,0,0,.33887-.02051v.74023a2.9155,2.9155,0,0,1-.4834.04541c-.98828,0-1.38184-.34766-1.38184-1.21582v-2.543h-.71484v-.74854h.71484V9.07373Z" style="fill: #fff"/>
|
|
40
|
+
<path d="M95.70461,8.437h.88086v2.48145h.07031a1.3856,1.3856,0,0,1,1.373-.80664,1.48339,1.48339,0,0,1,1.55078,1.67871v2.90723H98.69v-2.688c0-.71924-.335-1.0835-.96289-1.0835a1.05194,1.05194,0,0,0-1.13379,1.1416v2.62988h-.88867Z" style="fill: #fff"/>
|
|
41
|
+
<path d="M104.76125,13.48193a1.828,1.828,0,0,1-1.95117,1.30273A2.04531,2.04531,0,0,1,100.73,12.46045a2.07685,2.07685,0,0,1,2.07617-2.35254c1.25293,0,2.00879.856,2.00879,2.27V12.688h-3.17969v.0498a1.1902,1.1902,0,0,0,1.19922,1.29,1.07934,1.07934,0,0,0,1.07129-.5459Zm-3.126-1.45117h2.27441a1.08647,1.08647,0,0,0-1.1084-1.1665A1.15162,1.15162,0,0,0,101.63527,12.03076Z" style="fill: #fff"/>
|
|
42
|
+
</g>
|
|
43
|
+
</g>
|
|
44
|
+
</g>
|
|
45
|
+
</svg>
|
|
@@ -0,0 +1,131 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
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>
|
|
@@ -0,0 +1 @@
|
|
|
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>
|
|
@@ -0,0 +1 @@
|
|
|
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>
|
|
@@ -0,0 +1 @@
|
|
|
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>
|
|
@@ -0,0 +1 @@
|
|
|
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
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'react-freezeframe';
|
|
@@ -4,8 +4,3 @@ declare const meta: Meta<typeof DropdownButton>;
|
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof DropdownButton>;
|
|
6
6
|
export declare const Default: Story;
|
|
7
|
-
export declare const DropdownButtonTypes: Story;
|
|
8
|
-
export declare const DropdownButtonVariants: Story;
|
|
9
|
-
export declare const DropdownTextButtonSizes: Story;
|
|
10
|
-
export declare const DropdownIconButtonSizes: Story;
|
|
11
|
-
export declare const DropdownPopoverAlignment: Story;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import { Box, FlexBox } from '@codecademy/gamut';
|
|
2
|
-
import { SparkleIcon } from '@codecademy/gamut-icons';
|
|
3
1
|
import { DropdownButton } from '../../index';
|
|
4
|
-
import { jsx as _jsx
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
5
3
|
const items = [{
|
|
6
4
|
id: 'one',
|
|
7
5
|
text: 'I have an href',
|
|
@@ -11,197 +9,25 @@ const items = [{
|
|
|
11
9
|
text: 'I have an onClick',
|
|
12
10
|
// eslint-disable-next-line no-console
|
|
13
11
|
clickHandler: () => console.log('hi')
|
|
14
|
-
}
|
|
15
|
-
const extraItems = [{
|
|
12
|
+
}, {
|
|
16
13
|
id: 'three',
|
|
17
14
|
text: 'I have an href & onClick',
|
|
18
15
|
href: '#',
|
|
19
16
|
// eslint-disable-next-line no-console
|
|
20
17
|
clickHandler: () => console.log('hi')
|
|
21
|
-
}, {
|
|
22
|
-
id: 'four',
|
|
23
|
-
text: 'I have an href & onClick & icon',
|
|
24
|
-
href: '#',
|
|
25
|
-
// eslint-disable-next-line no-console
|
|
26
|
-
clickHandler: () => console.log('hi'),
|
|
27
|
-
icon: SparkleIcon
|
|
28
18
|
}];
|
|
29
19
|
const meta = {
|
|
30
20
|
component: DropdownButton,
|
|
31
21
|
args: {
|
|
32
22
|
buttonType: 'fill',
|
|
33
|
-
dropdownItems: items
|
|
34
|
-
variant: 'primary'
|
|
35
|
-
},
|
|
36
|
-
parameters: {
|
|
37
|
-
controls: {
|
|
38
|
-
include: ['align', 'buttonType', 'children', 'dropDownItems', 'horizontalOffset', 'iconSize', 'isMenu', 'onClick', 'size', 'tipProps', 'variant', 'verticalOffset']
|
|
39
|
-
}
|
|
23
|
+
dropdownItems: items
|
|
40
24
|
}
|
|
41
25
|
};
|
|
42
26
|
export default meta;
|
|
43
27
|
export const Default = {
|
|
44
|
-
args: {
|
|
45
|
-
dropdownItems: [...items, ...extraItems],
|
|
46
|
-
isMenu: false
|
|
47
|
-
},
|
|
48
28
|
render: args => /*#__PURE__*/_jsx(DropdownButton, {
|
|
49
29
|
...args,
|
|
50
30
|
children: "click me"
|
|
51
31
|
}),
|
|
52
32
|
name: 'DropdownButton'
|
|
53
|
-
};
|
|
54
|
-
export const DropdownButtonTypes = {
|
|
55
|
-
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
56
|
-
justifyContent: "space-between",
|
|
57
|
-
p: 40,
|
|
58
|
-
children: [/*#__PURE__*/_jsx(Box, {
|
|
59
|
-
width: "fit-content",
|
|
60
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
61
|
-
...args,
|
|
62
|
-
buttonType: "fill",
|
|
63
|
-
children: "Fill"
|
|
64
|
-
})
|
|
65
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
66
|
-
width: "fit-content",
|
|
67
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
68
|
-
...args,
|
|
69
|
-
buttonType: "stroke",
|
|
70
|
-
children: "Stroke"
|
|
71
|
-
})
|
|
72
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
73
|
-
width: "fit-content",
|
|
74
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
75
|
-
...args,
|
|
76
|
-
buttonType: "text",
|
|
77
|
-
children: "Text"
|
|
78
|
-
})
|
|
79
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
80
|
-
width: "fit-content",
|
|
81
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
82
|
-
...args,
|
|
83
|
-
buttonType: "kebab"
|
|
84
|
-
})
|
|
85
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
86
|
-
width: "fit-content",
|
|
87
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
88
|
-
...args,
|
|
89
|
-
buttonType: "horizontalKebab"
|
|
90
|
-
})
|
|
91
|
-
})]
|
|
92
|
-
})
|
|
93
|
-
};
|
|
94
|
-
export const DropdownButtonVariants = {
|
|
95
|
-
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
96
|
-
justifyContent: "space-around",
|
|
97
|
-
children: [/*#__PURE__*/_jsx(Box, {
|
|
98
|
-
width: "fit-content",
|
|
99
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
100
|
-
...args,
|
|
101
|
-
buttonType: "stroke",
|
|
102
|
-
children: "Stroke primary"
|
|
103
|
-
})
|
|
104
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
105
|
-
width: "fit-content",
|
|
106
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
107
|
-
...args,
|
|
108
|
-
buttonType: "stroke",
|
|
109
|
-
variant: "secondary",
|
|
110
|
-
children: "Stroke secondary"
|
|
111
|
-
})
|
|
112
|
-
})]
|
|
113
|
-
})
|
|
114
|
-
};
|
|
115
|
-
export const DropdownTextButtonSizes = {
|
|
116
|
-
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
117
|
-
justifyContent: "space-around",
|
|
118
|
-
children: [/*#__PURE__*/_jsx(Box, {
|
|
119
|
-
alignSelf: "center",
|
|
120
|
-
width: "fit-content",
|
|
121
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
122
|
-
...args,
|
|
123
|
-
buttonType: "fill",
|
|
124
|
-
size: "small",
|
|
125
|
-
children: "Fill small"
|
|
126
|
-
})
|
|
127
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
128
|
-
alignSelf: "center",
|
|
129
|
-
width: "fit-content",
|
|
130
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
131
|
-
...args,
|
|
132
|
-
buttonType: "fill",
|
|
133
|
-
size: "normal",
|
|
134
|
-
children: "Fill normal"
|
|
135
|
-
})
|
|
136
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
137
|
-
alignSelf: "center",
|
|
138
|
-
width: "fit-content",
|
|
139
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
140
|
-
...args,
|
|
141
|
-
buttonType: "fill",
|
|
142
|
-
size: "large",
|
|
143
|
-
children: "Fill large"
|
|
144
|
-
})
|
|
145
|
-
})]
|
|
146
|
-
})
|
|
147
|
-
};
|
|
148
|
-
export const DropdownIconButtonSizes = {
|
|
149
|
-
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
150
|
-
row: true,
|
|
151
|
-
justifyContent: "space-around",
|
|
152
|
-
mt: 16,
|
|
153
|
-
children: [/*#__PURE__*/_jsx(Box, {
|
|
154
|
-
alignSelf: "center",
|
|
155
|
-
width: "fit-content",
|
|
156
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
157
|
-
...args,
|
|
158
|
-
buttonType: "kebab",
|
|
159
|
-
size: "small",
|
|
160
|
-
iconSize: 12
|
|
161
|
-
})
|
|
162
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
163
|
-
alignSelf: "center",
|
|
164
|
-
width: "fit-content",
|
|
165
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
166
|
-
...args,
|
|
167
|
-
buttonType: "kebab",
|
|
168
|
-
size: "normal"
|
|
169
|
-
})
|
|
170
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
171
|
-
alignSelf: "center",
|
|
172
|
-
width: "fit-content",
|
|
173
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
174
|
-
...args,
|
|
175
|
-
buttonType: "kebab",
|
|
176
|
-
size: "large",
|
|
177
|
-
iconSize: 20
|
|
178
|
-
})
|
|
179
|
-
})]
|
|
180
|
-
})
|
|
181
|
-
};
|
|
182
|
-
export const DropdownPopoverAlignment = {
|
|
183
|
-
render: args => /*#__PURE__*/_jsxs(FlexBox, {
|
|
184
|
-
row: true,
|
|
185
|
-
justifyContent: "space-around",
|
|
186
|
-
mt: 16,
|
|
187
|
-
children: [/*#__PURE__*/_jsx(Box, {
|
|
188
|
-
width: "fit-content",
|
|
189
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
190
|
-
...args,
|
|
191
|
-
buttonType: "text",
|
|
192
|
-
size: "small",
|
|
193
|
-
align: "left",
|
|
194
|
-
children: "Align left"
|
|
195
|
-
})
|
|
196
|
-
}), /*#__PURE__*/_jsx(Box, {
|
|
197
|
-
width: "fit-content",
|
|
198
|
-
children: /*#__PURE__*/_jsx(DropdownButton, {
|
|
199
|
-
...args,
|
|
200
|
-
buttonType: "text",
|
|
201
|
-
size: "small",
|
|
202
|
-
align: "right",
|
|
203
|
-
children: "Align right"
|
|
204
|
-
})
|
|
205
|
-
})]
|
|
206
|
-
})
|
|
207
33
|
};
|
package/dist/svg.d.ts
ADDED
package/dist/theme.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/brand",
|
|
3
3
|
"description": "Brand component library for Codecademy",
|
|
4
|
-
"version": "1.20.0-alpha.
|
|
4
|
+
"version": "1.20.0-alpha.11181b3c6f.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@emotion/is-prop-valid": "^1.2.1",
|