@codecademy/brand 1.20.0-alpha.a23896d48a.0 → 1.20.0-alpha.ae387ce312.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.
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { ButtonProps,
|
|
2
|
-
import {
|
|
1
|
+
import { ButtonProps, 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,14 +9,14 @@ 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
12
|
buttonType: 'fill' | 'stroke' | 'text' | 'kebab' | 'horizontalKebab';
|
|
15
13
|
defaultPosition?: PopoverProps['position'];
|
|
16
14
|
dropdownItems: DropdownListProps['dropdownItems'];
|
|
17
15
|
horizontalOffset?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
|
|
18
|
+
*/
|
|
19
|
+
iconSize?: number;
|
|
18
20
|
/**
|
|
19
21
|
* If the dropdown should semantically be a menu
|
|
20
22
|
*/
|
|
@@ -22,45 +24,17 @@ export type DropdownButtonProps = PropsWithChildren<{
|
|
|
22
24
|
onClick?: (event: React.MouseEvent) => void;
|
|
23
25
|
tipProps?: React.ComponentProps<typeof IconButton>['tipProps'];
|
|
24
26
|
verticalOffset?: number;
|
|
25
|
-
} &
|
|
26
|
-
export declare const DropdownButton: React.ForwardRefExoticComponent<
|
|
27
|
+
} & StyleProps<typeof buttonProps> & Partial<Pick<ButtonProps, 'variant' | 'size'>>>;
|
|
28
|
+
export declare const DropdownButton: React.ForwardRefExoticComponent<{
|
|
27
29
|
align?: PopoverProps["align"];
|
|
28
|
-
/**
|
|
29
|
-
* Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
|
|
30
|
-
*/
|
|
31
|
-
iconSize?: number;
|
|
32
30
|
buttonType: "fill" | "stroke" | "text" | "kebab" | "horizontalKebab";
|
|
33
31
|
defaultPosition?: PopoverProps["position"];
|
|
34
32
|
dropdownItems: DropdownListProps["dropdownItems"];
|
|
35
33
|
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
|
-
verticalOffset?: number;
|
|
43
|
-
} & Omit<Omit<{
|
|
44
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
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<{
|
|
55
|
-
align?: PopoverProps["align"];
|
|
56
34
|
/**
|
|
57
35
|
* Sets the size of the down arrow icon in the buttons that have text or the kebab and horizontal kebab icons.
|
|
58
36
|
*/
|
|
59
37
|
iconSize?: number;
|
|
60
|
-
buttonType: "fill" | "stroke" | "text" | "kebab" | "horizontalKebab";
|
|
61
|
-
defaultPosition?: PopoverProps["position"];
|
|
62
|
-
dropdownItems: DropdownListProps["dropdownItems"];
|
|
63
|
-
horizontalOffset?: number;
|
|
64
38
|
/**
|
|
65
39
|
* If the dropdown should semantically be a menu
|
|
66
40
|
*/
|
|
@@ -68,15 +42,298 @@ export declare const DropdownButton: React.ForwardRefExoticComponent<(Omit<{
|
|
|
68
42
|
onClick?: (event: React.MouseEvent) => void;
|
|
69
43
|
tipProps?: React.ComponentProps<typeof IconButton>["tipProps"];
|
|
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
|
+
} & Partial<Pick<ButtonProps, "variant" | "size">> & {
|
|
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" ? "" : "/*# sourceM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Y2xpY2tUYXJnZXQ6IFJlYWN0LlJlYWN0Tm9kZTtcbiAgICBzd2l0Y2ggKGJ1dHRvblR5cGUpIHtcbiAgICAgIGNhc2UgJ2ZpbGwnOlxuICAgICAgICBjbGlja1RhcmdldCA9IChcbiAgICAgICAgICA8RmlsbEJ1dHRvblxuICAgICAgICAgICAgcmVmPXt0YXJnZXRSZWZ9XG4gICAgICAgICAgICBhcmlhLWV4cGFuZGVkPXtpc09wZW59XG4gICAgICAgICAgICBpZD17YnV0dG9uSWR9XG4gICAgICAgICAgICBvbkNsaWNrPXtoYW5kbGVDbGlja31cbiAgICAgICAgICAgIGRhdGEtdGVzdGlkPVwiZHJvcGRvd24tZmlsbC1idXR0b25cIlxuICAgICAgICAgICAgey4uLihidXR0b25TdHlsZVByb3BzID8/IHt9KX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7Y2hpbGRyZW59XG4gICAgICAgICAgICA8RG93bkFycm93IGlzT3Blbj17aXNPcGVufSBzaXplPXtpY29uU2l6ZSB8fCAxMn0gLz5cbiAgICAgICAgICA8L0ZpbGxCdXR0b24+XG4gICAgICAgICk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnc3Ryb2tlJzpcbiAgICAgICAgY2xpY2tUYXJnZXQgPSAoXG4gICAgICAgICAgPFN0cm9rZUJ1dHRvblxuICAgICAgICAgICAgcmVmPXt0YXJnZXRSZWZ9XG4gICAgICAgICAgICBhcmlhLWV4cGFuZGVkPXtpc09wZW59XG4gICAgICAgICAgICBpZD17YnV0dG9uSWR9XG4gICAgICAgICAgICBvbkNsaWNrPXtoYW5kbGVDbGlja31cbiAgICAgICAgICAgIGRhdGEtdGVzdGlkPVwiZHJvcGRvd24tc3Ryb2tlLWJ1dHRvblwiXG4gICAgICAgICAgICB7Li4uKGJ1dHRvblN0eWxlUHJvcHMgPz8ge30pfVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgIDxEb3duQXJyb3cgaXNPcGVuPXtpc09wZW59IHNpemU9e2ljb25TaXplIHx8IDEyfSAvPlxuICAgICAgICAgIDwvU3Ryb2tlQnV0dG9uPlxuICAgICAgICApO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ3RleHQnOlxuICAgICAgICBjbGlja1RhcmdldCA9IChcbiAgICAgICAgICA8VGV4dEJ1dHRvblxuICAgICAgICAgICAgcmVmPXt0YXJnZXRSZWZ9XG4gICAgICAgICAgICBpZD17YnV0dG9uSWR9XG4gICAgICAgICAgICBvbkNsaWNrPXtoYW5kbGVDbGlja31cbiAgICAgICAgICAgIGRhdGEtdGVzdGlkPVwiZHJvcGRvd24tc3Ryb2tlLWJ1dHRvblwiXG4gICAgICAgICAgICB7Li4uKGJ1dHRvblN0eWxlUHJvcHMgPz8ge30pfVxuICAgICAgICAgID5cbiAgICAgICAgICAgIHtjaGlsZHJlbn1cbiAgICAgICAgICAgIDxEb3duQXJyb3cgaXNPcGVuPXtpc09wZW59IHNpemU9ezEyfSAvPlxuICAgICAgICAgIDwvVGV4dEJ1dHRvbj5cbiAgICAgICAgKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICdrZWJhYic6XG4gICAgICAgIGNsaWNrVGFyZ2V0ID0gKFxuICAgICAgICAgIDxJY29uQnV0dG9uXG4gICAgICAgICAgICByZWY9e3RhcmdldFJlZn1cbiAgICAgICAgICAgIGFyaWEtZXhwYW5kZWQ9e2lzT3Blbn1cbiAgICAgICAgICAgIGFyaWEtaGFzcG9wdXA9XCJtZW51XCJcbiAgICAgICAgICAgIGlkPXtidXR0b25JZH1cbiAgICAgICAgICAgIGljb249eygpID0+IDxNaW5pS2ViYWJNZW51SWNvbiBzaXplPXtpY29uU2l6ZX0gLz59XG4gICAgICAgICAgICBzaXplPVwic21hbGxcIlxuICAgICAgICAgICAgdmFyaWFudD1cInNlY29uZGFyeVwiXG4gICAgICAgICAgICBvbkNsaWNrPXtoYW5kbGVDbGlja31cbiAgICAgICAgICAgIGRhdGEtdGVzdGlkPVwiZHJvcGRvd24ta2ViYWItYnV0dG9uXCJcbiAgICAgICAgICAgIHRpcD1cIlNob3cgb3B0aW9uc1wiXG4gICAgICAgICAgICB0aXBQcm9wcz17dGlwUHJvcHN9XG4gICAgICAgICAgICB7Li4uKGJ1dHRvblN0eWxlUHJvcHMgPz8ge30pfVxuICAgICAgICAgIC8+XG4gICAgICAgICk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAnaG9yaXpvbnRhbEtlYmFiJzpcbiAgICAgICAgY2xpY2tUYXJnZXQgPSAoXG4gICAgICAgICAgPEljb25CdXR0b25cbiAgICAgICAgICAgIGFyaWEtbGFiZWw9XCJPcHRpb25zXCJcbiAgICAgICAgICAgIHJlZj17dGFyZ2V0UmVmfVxuICAgICAgICAgICAgYXJpYS1leHBhbmRlZD17aXNPcGVufVxuICAgICAgICAgICAgYXJpYS1oYXNwb3B1cD1cIm1lbnVcIlxuICAgICAgICAgICAgaWQ9e2J1dHRvbklkfVxuICAgICAgICAgICAgaWNvbj17KCkgPT4gPEhvcml6b250YWxLZWJhYkljb24gc2l6ZT17aWNvblNpemV9IC8+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 === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Ecm9wZG93bkJ1dHRvbi9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0M0QiIsImZpbGUiOiIuLi8uLi9zcmMvRHJvcGRvd25CdXR0b24vaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtcbiAgQnV0dG9uUHJvcHMsXG4gIEZpbGxCdXR0b24sXG4gIEljb25CdXR0b24sXG4gIFBvcG92ZXIsXG4gIFBvcG92ZXJQcm9wcyxcbiAgU3Ryb2tlQnV0dG9uLFxuICBUZXh0QnV0dG9uLFxufSBmcm9tICdAY29kZWNhZGVteS9nYW11dCc7XG5pbXBvcnQgeyBidXR0b25Qcm9wcyB9IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0L2Rpc3QvQnV0dG9uL3NoYXJlZCc7XG5pbXBvcnQge1xuICBBcnJvd0NoZXZyb25Eb3duRmlsbGVkSWNvbixcbiAgTWluaUtlYmFiTWVudUljb24sXG59IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0LWljb25zJztcbmltcG9ydCB7IGNzcywgcHhSZW0sIHN0eWxlZE9wdGlvbnMgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHsgU3R5bGVQcm9wcyB9IGZyb20gJ0Bjb2RlY2FkZW15L3ZhcmlhbmNlJztcbmltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7XG4gIGZvcndhcmRSZWYsXG4gIFByb3BzV2l0aENoaWxkcmVuLFxuICB1c2VJZCxcbiAgdXNlSW1wZXJhdGl2ZUhhbmRsZSxcbiAgdXNlUmVmLFxuICB1c2VTdGF0ZSx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AgICAgc2V0SXNPcGVuKGZhbHNlKTtcbiAgICB9O1xuXG4gICAgbGV0IGNsaWNrVGFyZ2V0OiBSZWFjdC5SZWFjdE5vZGU7XG4gICAgc3dpdGNoIChidXR0b25UeXBlKSB7XG4gICAgICBjYXNlICdmaWxsJzpcbiAgICAgICAgY2xpY2tUYXJnZXQgPSAoXG4gICAgICAgICAgPEZpbGxCdXR0b25cbiAgICAgICAgICAgIHJlZj17dGFyZ2V0UmVmfVxuICAgICAgICAgICAgYXJpYS1leHBhbmRlZD17aXNPcGVufVxuICAgICAgICAgICAgaWQ9e2J1dHRvbklkfVxuICAgICAgICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2t9XG4gICAgICAgICAgICBkYXRhLXRlc3RpZD1cImRyb3Bkb3duLWZpbGwtYnV0dG9uXCJcbiAgICAgICAgICAgIHsuLi4oYnV0dG9uU3R5bGVQcm9wcyA/PyB7fSl9XG4gICAgICAgICAgPlxuICAgICAgICAgICAge2NoaWxkcmVufVxuICAgICAgICAgICAgPERvd25BcnJvdyBpc09wZW49e2lzT3Blbn0gc2l6ZT17aWNvblNpemUgfHwgMTJ9IC8+XG4gICAgICAgICAgPC9GaWxsQnV0dG9uPlxuICAgICAgICApO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ3N0cm9rZSc6XG4gICAgICAgIGNsaWNrVGFyZ2V0ID0gKFxuICAgICAgICAgIDxTdHJva2VCdXR0b25cbiAgICAgICAgICAgIHJlZj17dGFyZ2V0UmVmfVxuICAgICAgICAgICAgYXJpYS1leHBhbmRlZD17aXNPcGVufVxuICAgICAgICAgICAgaWQ9e2J1dHRvbklkfVxuICAgICAgICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2t9XG4gICAgICAgICAgICBkYXRhLXRlc3RpZD1cImRyb3Bkb3duLXN0cm9rZS1idXR0b25cIlxuICAgICAgICAgICAgey4uLihidXR0b25TdHlsZVByb3BzID8/IHt9KX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7Y2hpbGRyZW59XG4gICAgICAgICAgICA8RG93bkFycm93IGlzT3Blbj17aXNPcGVufSBzaXplPXtpY29uU2l6ZSB8fCAxMn0gLz5cbiAgICAgICAgICA8L1N0cm9rZUJ1dHRvbj5cbiAgICAgICAgKTtcbiAgICAgICAgYnJlYWs7XG4gICAgICBjYXNlICd0ZXh0JzpcbiAgICAgICAgY2xpY2tUYXJnZXQgPSAoXG4gICAgICAgICAgPFRleHRCdXR0b25cbiAgICAgICAgICAgIHJlZj17dGFyZ2V0UmVmfVxuICAgICAgICAgICAgaWQ9e2J1dHRvbklkfVxuICAgICAgICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2t9XG4gICAgICAgICAgICBkYXRhLXRlc3RpZD1cImRyb3Bkb3duLXN0cm9rZS1idXR0b25cIlxuICAgICAgICAgICAgey4uLihidXR0b25TdHlsZVByb3BzID8/IHt9KX1cbiAgICAgICAgICA+XG4gICAgICAgICAgICB7Y2hpbGRyZW59XG4gICAgICAgICAgICA8RG93bkFycm93IGlzT3Blbj17aXNPcGVufSBzaXplPXsxMn0gLz5cbiAgICAgICAgICA8L1RleHRCdXR0b24+XG4gICAgICAgICk7XG4gICAgICAgIGJyZWFrO1xuICAgICAgY2FzZSAna2ViYWInOlxuICAgICAgICBjbGlja1RhcmdldCA9IChcbiAgICAgICAgICA8SWNvbkJ1dHRvblxuICAgICAgICAgICAgcmVmPXt0YXJnZXRSZWZ9XG4gICAgICAgICAgICBhcmlhLWV4cGFuZGVkPXtpc09wZW59XG4gICAgICAgICAgICBhcmlhLWhhc3BvcHVwPVwibWVudVwiXG4gICAgICAgICAgICBpZD17YnV0dG9uSWR9XG4gICAgICAgICAgICBpY29uPXsoKSA9PiA8TWluaUtlYmFiTWVudUljb24gc2l6ZT17aWNvblNpemV9IC8+fVxuICAgICAgICAgICAgc2l6ZT1cInNtYWxsXCJcbiAgICAgICAgICAgIHZhcmlhbnQ9XCJzZWNvbmRhcnlcIlxuICAgICAgICAgICAgb25DbGljaz17aGFuZGxlQ2xpY2t9XG4gICAgICAgICAgICBkYXRhLXRlc3RpZD1cImRyb3Bkb3duLWtlYmFiLWJ1dHRvblwiXG4gICAgICAgICAgICB0aXA9XCJTaG93IG9wdGlvbnNcIlxuICAgICAgICAgICAgdGlwUHJvcHM9e3RpcFByb3BzfVxuICAgICAgICAgICAgey4uLihidXR0b25TdHlsZVByb3BzID8/IHt9KX1cbiAgICAgICAgICAvPlxuICAgICAgICApO1xuICAgICAgICBicmVhaztcbiAgICAgIGNhc2UgJ2hvcml6b250YWxLZWJhYic6XG4gICAgICAgIGNsaWNrVGFyZ2V0ID0gKFxuICAgICAgICAgIDxJY29uQnV0dG9uXG4gICAgICAgICAgICBhcmlhLWxhYmVsPVwiT3B0aW9uc1wiXG4gICAgICAgICAgICByZWY9e3RhcmdldFJlZn1cbiAgICAgICAgICAgIGFyaWEtZXhwYW5kZWQ9e2lzT3Blbn1cbiAgICAgICAgICAgIGFyaWEtaGFzcG9wdXA9XCJtZW51XCJcbiAgICAgICAgICAgIGlkPXtidXR0b25JZH1cbiAgICAgICAgICAgIGljb249eygpID0+IDxIb3Jpem9udGFsS2ViYWJJY29uIHNpemU9e2ljb25TaXplfSAvPn1cbiAgICAgICAgICAgIHNpemU9XCJzbWFsbFwiXG4gICAgICAgICAgICB2YXJpYW50PVwic2Vjb25kYXJ5XCJcbiAgICAgICAgICAgIG9uQ2xpY2s9e2hhbmRsZUNsaWNrfVxuICAgICAgICAgICAgZGF0YS10ZXN0aWQ9XCJkcm9wZG93bi1ob3Jpem9udGFsLWtlYmFiLWJ1dHRvblwiXG4gICAgICAgICAgICB0aXBQcm9wcz17dGlwUHJvcHN9XG4gICAgICAgICAgICB0aXA9XCJTaG93IG1vcmUgb3B0aW9uc1wiXG4gICAgICAgICAgICB7Li4uKGJ1dHRvblN0eWxlUHJvcHMgPz8ge30pfVxuICAgICAgICAgIC8+XG4gICAgICAgICk7XG4gICAgfVxuXG4gICAgcmV0dXJuIChcbiAgICAgIDw+XG4gICAgICAgIHtjbGlja1RhcmdldH1cbiAgICAgICAge2Ryb3Bkb3duSXRlbXMubGVuZ3RoICE9PSAwICYmIChcbiAgICAgICAgICA8UG9wb3ZlclxuICAgICAgICAgICAgcG9wb3ZlckNvbnRhaW5lclJlZj17cG9wb3ZlckNvbnRhaW5lclJlZkNhbGxiYWNrfVxuICAgICAgICAgICAgdGFyZ2V0UmVmPXt0YXJnZXRSZWZ9XG4gICAgICAgICAgICBpc09wZW49e2lzT3Blbn1cbiAgICAgICAgICAgIG9uUmVxdWVzdENsb3NlPXtoYW5kbGVSZXF1ZXN0Q2xvc2VkfVxuICAgICAgICAgICAgYWxpZ249e2FsaWdufVxuICAgICAgICAgICAgdmVydGljYWxPZmZzZXQ9e3ZlcnRpY2FsT2Zmc2V0fVxuICAgICAgICAgICAgaG9yaXpvbnRhbE9mZnNldD17aG9yaXpvbnRhbE9mZnNldH1cbiAgICAgICAgICAgIHBvc2l0aW9uPXtwb3NpdGlvbn1cbiAgICAgICAgICAgIG91dGxpbmVcbiAgICAgICAgICA+XG4gICAgICAgICAgICA8RHJvcGRvd25MaXN0XG4gICAgICAgICAgICAgIGRyb3Bkb3duSXRlbXM9e2Ryb3Bkb3duSXRlbXN9XG4gICAgICAgICAgICAgIGlzTWVudT17aXNNZW51fVxuICAgICAgICAgICAgICBtZW51QnV0dG9uSWQ9e2J1dHRvbklkfVxuICAgICAgICAgICAgICBvbkNsb3NlPXtoYW5kbGVSZXF1ZXN0Q2xvc2VkfVxuICAgICAgICAgICAgLz5cbiAgICAgICAgICA8L1BvcG92ZXI+XG4gICAgICAgICl9XG4gICAgICA8Lz5cbiAgICApO1xuICB9XG4pO1xuIl19 */");
|
|
23
23
|
export const DropdownButton = /*#__PURE__*/forwardRef(({
|
|
24
24
|
align = 'left',
|
|
25
25
|
buttonType = 'fill',
|
|
@@ -27,11 +27,11 @@ export const DropdownButton = /*#__PURE__*/forwardRef(({
|
|
|
27
27
|
defaultPosition = 'below',
|
|
28
28
|
dropdownItems,
|
|
29
29
|
horizontalOffset,
|
|
30
|
+
iconSize,
|
|
30
31
|
isMenu,
|
|
31
32
|
onClick,
|
|
32
|
-
verticalOffset = 0,
|
|
33
|
-
iconSize,
|
|
34
33
|
tipProps,
|
|
34
|
+
verticalOffset = 0,
|
|
35
35
|
...buttonStyleProps
|
|
36
36
|
}, ref) => {
|
|
37
37
|
const buttonId = useId();
|
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.ae387ce312.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@emotion/is-prop-valid": "^1.2.1",
|