@codecademy/gamut
68.6.068.6.1-alpha.510f9a.0
dist/Modals/elements.d.ts~
dist/Modals/elements.d.tsModified+186−1
Index: package/dist/Modals/elements.d.ts
===================================================================
--- package/dist/Modals/elements.d.ts
+++ package/dist/Modals/elements.d.ts
@@ -6,8 +6,193 @@
theme?: import("@emotion/react").Theme;
}) => import("@codecademy/variance").CSSObject;
export interface ModalContainerProps extends StyleProps<typeof sizeVariant>, StyleProps<typeof layoutVariant> {
}
-export declare const ModalContainer: import("@emotion/styled").StyledComponent<Omit<import("../InternalFloatingCard/InternalFloatingCard").InternalFloatingCardWithWrapper, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
+export declare const ModalContainer: import("@emotion/styled").StyledComponent<Omit<{
theme?: import("@emotion/react").Theme;
+ as?: React.ElementType;
+} & {
+ p?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "padding";
+ readonly scale: "spacing";
+ }>;
+ height?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "height";
+ readonly logical: "blockSize";
+ };
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ readonly transform: (value: string | number) => string | 0;
+ }>;
+ width?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "width";
+ readonly logical: "inlineSize";
+ };
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ readonly transform: (value: string | number) => string | 0;
+ }>;
+ alignSelf?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "alignSelf";
+ }>;
+ containerType?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "containerType";
+ }>;
+ direction?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "direction";
+ }>;
+ display?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "display";
+ }>;
+ flexBasis?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "flexBasis";
+ }>;
+ flexGrow?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "flexGrow";
+ }>;
+ flexShrink?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "flexShrink";
+ }>;
+ gridColumnEnd?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "gridColumnEnd";
+ }>;
+ gridColumnStart?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "gridColumnStart";
+ }>;
+ gridRowEnd?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "gridRowEnd";
+ }>;
+ gridRowStart?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "gridRowStart";
+ }>;
+ justifySelf?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "justifySelf";
+ }>;
+ maxHeight?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "maxHeight";
+ readonly logical: "maxBlockSize";
+ };
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ readonly transform: (value: string | number) => string | 0;
+ }>;
+ maxWidth?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "maxWidth";
+ readonly logical: "maxInlineSize";
+ };
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ readonly transform: (value: string | number) => string | 0;
+ }>;
+ minHeight?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "minHeight";
+ readonly logical: "minBlockSize";
+ };
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ readonly transform: (value: string | number) => string | 0;
+ }>;
+ minWidth?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "minWidth";
+ readonly logical: "minInlineSize";
+ };
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ readonly transform: (value: string | number) => string | 0;
+ }>;
+ order?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "order";
+ }>;
+ overflowX?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "overflowX";
+ readonly logical: "overflowInline";
+ };
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ }>;
+ overflowY?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "overflowY";
+ readonly logical: "overflowBlock";
+ };
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ }>;
+ verticalAlign?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "verticalAlign";
+ }>;
+ gridArea?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "gridArea";
+ }>;
+ gridColumn?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "gridColumn";
+ }>;
+ gridRow?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "gridRow";
+ }>;
+ overflow?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "overflow";
+ }>;
+ px?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "padding";
+ readonly properties: {
+ readonly physical: readonly ["paddingLeft", "paddingRight"];
+ readonly logical: readonly ["paddingInlineStart", "paddingInlineEnd"];
+ };
+ readonly scale: "spacing";
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ }>;
+ py?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "padding";
+ readonly properties: {
+ readonly physical: readonly ["paddingTop", "paddingBottom"];
+ readonly logical: readonly ["paddingBlockStart", "paddingBlockEnd"];
+ };
+ readonly scale: "spacing";
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ }>;
+ pt?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "paddingTop";
+ readonly logical: "paddingBlockStart";
+ };
+ readonly scale: "spacing";
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ }>;
+ pb?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "paddingBottom";
+ readonly logical: "paddingBlockEnd";
+ };
+ readonly scale: "spacing";
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ }>;
+ pr?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "paddingRight";
+ readonly logical: "paddingInlineEnd";
+ };
+ readonly scale: "spacing";
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ }>;
+ pl?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: {
+ readonly physical: "paddingLeft";
+ readonly logical: "paddingInlineStart";
+ };
+ readonly scale: "spacing";
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ }>;
+ dimensions?: import("@codecademy/variance/dist/types/config").Scale<{
+ readonly property: "width";
+ readonly properties: {
+ readonly physical: readonly ["width", "height"];
+ readonly logical: readonly ["inlineSize", "blockSize"];
+ };
+ readonly resolveProperty: (useLogicalProperties: boolean) => import("@codecademy/variance/dist/types/properties").PropertyMode;
+ readonly transform: (value: string | number) => string | 0;
+ }>;
+} & {
+ theme?: import("@emotion/react").Theme;
+} & Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | keyof import("react").ClassAttributes<HTMLDivElement> | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture">, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
+ theme?: import("@emotion/react").Theme;
} & ModalContainerProps, {}, {}>;
export {};