@codecademy/gamut 68.0.2-alpha.9a2c6f.0 → 68.0.2-alpha.9fa994.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/AccordionAreaDeprecated/index.js +2 -2
- package/dist/Alert/Alert.d.ts +7 -2
- package/dist/Alert/Alert.js +2 -0
- package/dist/Alert/elements.d.ts +2 -2
- package/dist/Alert/elements.js +5 -5
- package/dist/Anchor/index.d.ts +12 -5
- package/dist/Anchor/index.js +1 -1
- package/dist/Animation/ExpandInCollapseOut.js +1 -1
- package/dist/Animation/FadeInSlideOut.js +1 -1
- package/dist/Animation/Rotation.js +1 -1
- package/dist/Box/Box.d.ts +21 -4
- package/dist/Box/Box.js +11 -3
- package/dist/Box/FlexBox.d.ts +19 -4
- package/dist/Box/FlexBox.js +7 -3
- package/dist/Box/GridBox.d.ts +19 -4
- package/dist/Box/GridBox.js +7 -3
- package/dist/Box/props.d.ts +7 -1
- package/dist/Box/props.js +3 -0
- package/dist/Button/CTAButton.d.ts +12 -1
- package/dist/Button/FillButton.d.ts +11 -1
- package/dist/Button/IconButton.d.ts +11 -1
- package/dist/Button/StrokeButton.d.ts +11 -1
- package/dist/Button/TextButton.d.ts +11 -1
- package/dist/Button/shared/InlineIconButton.d.ts +11 -1
- package/dist/Button/shared/styles.d.ts +12 -1
- package/dist/ButtonBase/ButtonBase.d.ts +4 -4
- package/dist/ButtonBase/ButtonBase.js +2 -2
- package/dist/Card/elements.d.ts +211 -1557
- package/dist/Card/elements.js +3 -3
- package/dist/Card/styles.d.ts +8 -8
- package/dist/ConnectedForm/ConnectedForm.d.ts +1 -1
- package/dist/ConnectedForm/utils.d.ts +2 -2
- package/dist/ContentContainer/index.d.ts +1 -1
- package/dist/Disclosure/elements.d.ts +26 -6
- package/dist/Disclosure/index.js +1 -1
- package/dist/Drawer/index.js +2 -2
- package/dist/FeatureShimmer/index.js +2 -2
- package/dist/Form/elements/Form.d.ts +33 -32
- package/dist/Form/elements/Form.js +2 -1
- package/dist/Form/elements/FormGroup.d.ts +2 -2
- package/dist/Form/inputs/Input.d.ts +3 -2
- package/dist/Form/inputs/Input.js +4 -2
- package/dist/Form/inputs/TextArea.d.ts +3 -5
- package/dist/Form/inputs/TextArea.js +3 -1
- package/dist/GridForm/GridFormButtons/index.d.ts +11 -1
- package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +1 -1
- package/dist/InternalFloatingCard/InternalFloatingCard.js +1 -1
- package/dist/Layout/Column.d.ts +1 -1
- package/dist/Layout/Column.js +1 -1
- package/dist/Layout/LayoutGrid.d.ts +1 -1
- package/dist/List/ListProvider.d.ts +1 -1
- package/dist/List/ListRow.js +3 -3
- package/dist/List/elements.d.ts +23 -704
- package/dist/List/elements.js +10 -9
- package/dist/List/hooks.d.ts +1 -1
- package/dist/Markdown/libs/overrides/index.d.ts +4 -4
- package/dist/Menu/Menu.d.ts +1 -1
- package/dist/Menu/elements.d.ts +4 -4
- package/dist/Menu/elements.js +4 -4
- package/dist/Modals/elements.d.ts +1 -1
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +49 -34
- package/dist/Pagination/PaginationButton.d.ts +22 -2
- package/dist/Pagination/utils.d.ts +49 -34
- package/dist/Pagination/utils.js +9 -10
- package/dist/Popover/elements.d.ts +2 -2
- package/dist/Popover/elements.js +6 -6
- package/dist/Tabs/TabButton.d.ts +12 -1
- package/dist/Tabs/TabNav.d.ts +1 -1
- package/dist/Tabs/TabNavLink.d.ts +11 -1
- package/dist/Tag/elements.d.ts +28 -8
- package/dist/Tip/InfoTip/InfoTipButton.d.ts +11 -1
- package/dist/Tip/InfoTip/styles.d.ts +1 -1
- package/dist/Tip/PreviewTip/elements.d.ts +25 -5
- package/dist/Tip/ToolTip/elements.d.ts +1 -1
- package/dist/Tip/__tests__/helpers.d.ts +3 -3
- package/dist/Tip/shared/elements.d.ts +3 -3
- package/dist/Toaster/index.js +1 -1
- package/dist/Toggle/elements.d.ts +1 -1
- package/dist/Typography/Text.d.ts +3 -3
- package/dist/Typography/Text.js +1 -1
- package/dist/typings/react-19-compat.d.ts +4 -2
- package/package.json +9 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
3
|
-
import { motion } from '
|
|
3
|
+
import { motion } from 'motion/react';
|
|
4
4
|
import { useState } from 'react';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { useIsomorphicLayoutEffect } from 'react-use';
|
|
@@ -56,6 +56,6 @@ const StyledAccordionBody = /*#__PURE__*/_styled(motion.div, {
|
|
|
56
56
|
} : {
|
|
57
57
|
name: "d3v9zr",
|
|
58
58
|
styles: "overflow:hidden",
|
|
59
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
59
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9BY2NvcmRpb25BcmVhRGVwcmVjYXRlZC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBaUU4QyIsImZpbGUiOiIuLi8uLi9zcmMvQWNjb3JkaW9uQXJlYURlcHJlY2F0ZWQvaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgbW90aW9uIH0gZnJvbSAnbW90aW9uL3JlYWN0JztcbmltcG9ydCB7IHVzZVN0YXRlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0ICogYXMgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgdXNlSXNvbW9ycGhpY0xheW91dEVmZmVjdCB9IGZyb20gJ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/Alert.d.ts
CHANGED
|
@@ -5,6 +5,11 @@ import { WithChildrenProp } from '../utils';
|
|
|
5
5
|
import { alertVariants } from './variants';
|
|
6
6
|
export type AlertType = keyof typeof alertVariants;
|
|
7
7
|
export type AlertPlacements = 'inline' | 'floating';
|
|
8
|
+
/** CTA rendered as a link (FillButton with href) */
|
|
9
|
+
export type AlertCtaLink = Exclude<React.ComponentProps<typeof FillButton>, 'variant' | 'mode' | 'size'> & {
|
|
10
|
+
text?: string;
|
|
11
|
+
href: string;
|
|
12
|
+
};
|
|
8
13
|
type AlertPlacementType = {
|
|
9
14
|
type?: Exclude<AlertType, 'subtle'>;
|
|
10
15
|
placement?: AlertPlacements;
|
|
@@ -19,9 +24,9 @@ export type AlertProps = WithChildrenProp & AlertPlacementType & {
|
|
|
19
24
|
/** Callback to be called when the close icon is clicked */
|
|
20
25
|
onClose?: () => void;
|
|
21
26
|
/** Call to Action Configuration */
|
|
22
|
-
cta?: Exclude<React.ComponentProps<typeof FillButton>, 'variant' | 'mode' | 'size'> & {
|
|
27
|
+
cta?: (Exclude<React.ComponentProps<typeof FillButton>, 'variant' | 'mode' | 'size'> & {
|
|
23
28
|
text?: string;
|
|
24
|
-
};
|
|
29
|
+
}) | AlertCtaLink;
|
|
25
30
|
/** Props for customizing the close button */
|
|
26
31
|
closeButtonProps?: Omit<NonNullable<CloseButtonProps['closeButtonProps']>, 'hidden'>;
|
|
27
32
|
};
|
package/dist/Alert/Alert.js
CHANGED
|
@@ -10,6 +10,8 @@ import { ToolTip } from '../Tip/ToolTip';
|
|
|
10
10
|
import { AlertBanner, AlertBox, alertContentProps, CleanFillButton, CollapsibleContent } from './elements';
|
|
11
11
|
import { alertVariants, getAlertRightPadding, getGridTemplateColumns } from './variants';
|
|
12
12
|
|
|
13
|
+
/** CTA rendered as a link (FillButton with href) */
|
|
14
|
+
|
|
13
15
|
// Subtle alert types should only be used inline
|
|
14
16
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
17
|
export const Alert = ({
|
package/dist/Alert/elements.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const AlertBanner: import("react").ForwardRefExoticComponent<Omit
|
|
|
6
6
|
export declare const AlertBox: import("react").ForwardRefExoticComponent<Omit<{
|
|
7
7
|
theme?: import("@emotion/react").Theme | undefined;
|
|
8
8
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
-
} & import("../Box").BoxProps & 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" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "
|
|
9
|
+
} & import("../Box").BoxProps & 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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "onResize" | "onResizeCapture" | "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" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture"> & import("react").RefAttributes<HTMLDivElement | null> & {
|
|
10
10
|
theme?: import("@emotion/react").Theme | undefined;
|
|
11
11
|
} & Pick<AlertProps, "type" | "placement">, "ref"> & import("react").RefAttributes<HTMLDivElement | null>>;
|
|
12
12
|
export declare const alertContentProps: {
|
|
@@ -14,7 +14,7 @@ export declare const alertContentProps: {
|
|
|
14
14
|
readonly display: "inline-block";
|
|
15
15
|
readonly width: "100%";
|
|
16
16
|
};
|
|
17
|
-
export declare const CollapsibleContent: import("@emotion/styled").StyledComponent<Omit<import("framer-motion").
|
|
17
|
+
export declare const CollapsibleContent: import("@emotion/styled").StyledComponent<Omit<import("framer-motion/dist/types.d-CQ4vRM6h").b<"div">, "ref"> & import("react").RefAttributes<HTMLDivElement> & {
|
|
18
18
|
theme?: import("@emotion/react").Theme | undefined;
|
|
19
19
|
}, {}, {}>;
|
|
20
20
|
export declare const CleanFillButton: import("@emotion/styled").StyledComponent<Omit<import("../Button").FillButtonProps, "ref"> & import("react").RefAttributes<import("..").ButtonBaseElements | null> & {
|
package/dist/Alert/elements.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
import { Background, css } from '@codecademy/gamut-styles';
|
|
3
|
-
import { motion } from '
|
|
3
|
+
import { motion } from 'motion/react';
|
|
4
4
|
import { forwardRef } from 'react';
|
|
5
5
|
import { Box } from '../Box';
|
|
6
6
|
import { FillButton } from '../Button';
|
|
@@ -9,7 +9,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
9
9
|
const StyledAlertBanner = /*#__PURE__*/_styled(Background, {
|
|
10
10
|
target: "e1um9zw23",
|
|
11
11
|
label: "StyledAlertBanner"
|
|
12
|
-
})(placementVariants, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
12
|
+
})(placementVariants, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9BbGVydC9lbGVtZW50cy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBV0UiLCJmaWxlIjoiLi4vLi4vc3JjL0FsZXJ0L2VsZW1lbnRzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEJhY2tncm91bmQsIGNzcyB9IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0LXN0eWxlcyc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgeyBtb3Rpb24gfSBmcm9tICdtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgQ29tcG9uZW50UHJvcHMsIGZvcndhcmRSZWYgfSBmcm9tICdyZWFjdCc7XG5cbmltcG9ydCB7IEJveCB9IGZyb20gJy4uL0JveCc7XG5pbXBvcnQgeyBGaWxsQnV0dG9uIH0gZnJvbSAnLi4vQnV0dG9uJztcbmltcG9ydCB7IEFsZXJ0UHJvcHMgfSBmcm9tICcuL0FsZXJ0JztcbmltcG9ydCB7IHBsYWNlbWVudFZhcmlhbnRzIH0gZnJvbSAnLi92YXJpYW50cyc7XG5cbmNvbnN0IFN0eWxlZEFsZXJ0QmFubmVyID1cbiAgc3R5bGVkKEJhY2tncm91bmQpPFBpY2s8QWxlcnRQcm9wcywgJ3R5cGUnIHwgJ3BsYWNlbWVudCc+PihwbGFjZW1lbnRWYXJpYW50cyk7XG5cbmV4cG9ydCBjb25zdCBBbGVydEJhbm5lciA9IGZvcndhcmRSZWY8XG4gIEhUTUxEaXZFbGVtZW50IHwgbnVsbCx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YUxpdmV9XG4gICAgICByZWY9e3JlZn1cbiAgICAgIHJvbGU9e3JvbGV9XG4gICAgICB7Li4ucmVzdH1cbiAgICAvPlxuICApXG4pO1xuXG5leHBvcnQgY29uc3QgYWxlcnRDb250ZW50UHJvcHMgPSB7XG4gIGFzOiAnc3BhbicsXG4gIGRpc3BsYXk6ICdpbmxpbmUtYmxvY2snLFxuICB3aWR0aDogJzEwMCUnLFxufSBhcyBjb25zdDtcblxuZXhwb3J0IGNvbnN0IENvbGxhcHNpYmxlQ29udGVudCA9IHN0eWxlZChtb3Rpb24uZGl2KShcbiAgY3NzKHtcbiAgICBweTogNCxcbiAgICBvdmVyZmxvd1k6ICdoaWRkZW4nLFxuICAgIFdlYmtpdEZvbnRTbW9vdGhpbmc6ICdhbnRpYWxpYXNlZCcsXG4gICAgTW96T3N4Rm9udFNtb290aGluZzogJ2dyYXlzY2FsZScsXG4gIH0pXG4pO1xuXG5leHBvcnQgY29uc3QgQ2xlYW5GaWxsQnV0dG9uID0gc3R5bGVkKEZpbGxCdXR0b24pKFxuICBjc3Moe1xuICAgIC8vIE90aGVyd2lzZSBWb2ljZU92ZXIgYW5ub3VjZXMgdGhlIGJ1dHRvbidzIHRleHQgdHdpY2VcbiAgICAnOjpiZWZvcmUnOiB7XG4gICAgICBkaXNwbGF5OiAnbm9uZScsXG4gICAgfSxcbiAgfSlcbik7XG4iXX0= */");
|
|
13
13
|
export const AlertBanner = /*#__PURE__*/forwardRef(({
|
|
14
14
|
'aria-label': ariaLabel = 'alert banner',
|
|
15
15
|
'aria-live': ariaLive = 'polite',
|
|
@@ -25,7 +25,7 @@ export const AlertBanner = /*#__PURE__*/forwardRef(({
|
|
|
25
25
|
const StyledAlertBox = /*#__PURE__*/_styled(Box, {
|
|
26
26
|
target: "e1um9zw22",
|
|
27
27
|
label: "StyledAlertBox"
|
|
28
|
-
})(placementVariants, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
28
|
+
})(placementVariants, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9BbGVydC9lbGVtZW50cy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBcUNFIiwiZmlsZSI6Ii4uLy4uL3NyYy9BbGVydC9lbGVtZW50cy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBCYWNrZ3JvdW5kLCBjc3MgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgbW90aW9uIH0gZnJvbSAnbW90aW9uL3JlYWN0JztcbmltcG9ydCB7IENvbXBvbmVudFByb3BzLCBmb3J3YXJkUmVmIH0gZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBCb3ggfSBmcm9tICcuLi9Cb3gnO1xuaW1wb3J0IHsgRmlsbEJ1dHRvbiB9IGZyb20gJy4uL0J1dHRvbic7XG5pbXBvcnQgeyBBbGVydFByb3BzIH0gZnJvbSAnLi9BbGVydCc7XG5pbXBvcnQgeyBwbGFjZW1lbnRWYXJpYW50cyB9IGZyb20gJy4vdmFyaWFudHMnO1xuXG5jb25zdCBTdHlsZWRBbGVydEJhbm5lciA9XG4gIHN0eWxlZChCYWNrZ3JvdW5kKTxQaWNrPEFsZXJ0UHJvcHMsICd0eXBlJyB8ICdwbGFjZW1lbnQnPj4ocGxhY2VtZW50VmFyaWFudHMpO1xuXG5leHBvcnQgY29uc3QgQWxlcnRCYW5uZXIgPSBmb3J3YXJkUmVmPFxuICBIVE1MRGl2RWxlbWVudCB8IG51bGwsXG4gIENvbXBvbmVudFByb3BzPHR5cGVvZiBTdHlsZWRBbGVydEJhbm5lcj5cbj4oXG4gIChcbiAgICB7XG4gICAgICAnYXJpYS1sYWJlbCc6IGF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GNvbnN0IGFsZXJ0Q29udGVudFByb3BzID0ge1xuICBhczogJ3NwYW4nLFxuICBkaXNwbGF5OiAnaW5saW5lLWJsb2NrJyxcbiAgd2lkdGg6ICcxMDAlJyxcbn0gYXMgY29uc3Q7XG5cbmV4cG9ydCBjb25zdCBDb2xsYXBzaWJsZUNvbnRlbnQgPSBzdHlsZWQobW90aW9uLmRpdikoXG4gIGNzcyh7XG4gICAgcHk6IDQsXG4gICAgb3ZlcmZsb3dZOiAnaGlkZGVuJyxcbiAgICBXZWJraXRGb250U21vb3RoaW5nOiAnYW50aWFsaWFzZWQnLFxuICAgIE1vek9zeEZvbnRTbW9vdGhpbmc6ICdncmF5c2NhbGUnLFxuICB9KVxuKTtcblxuZXhwb3J0IGNvbnN0IENsZWFuRmlsbEJ1dHRvbiA9IHN0eWxlZChGaWxsQnV0dG9uKShcbiAgY3NzKHtcbiAgICAvLyBPdGhlcndpc2UgVm9pY2VPdmVyIGFubm91Y2VzIHRoZSBidXR0b24ncyB0ZXh0IHR3aWNlXG4gICAgJzo6YmVmb3JlJzoge1xuICAgICAgZGlzcGxheTogJ25vbmUnLFxuICAgIH0sXG4gIH0pXG4pO1xuIl19 */");
|
|
29
29
|
export const AlertBox = /*#__PURE__*/forwardRef(({
|
|
30
30
|
'aria-label': ariaLabel = 'alert box',
|
|
31
31
|
'aria-live': ariaLive = 'polite',
|
|
@@ -51,7 +51,7 @@ export const CollapsibleContent = /*#__PURE__*/_styled(motion.div, {
|
|
|
51
51
|
overflowY: 'hidden',
|
|
52
52
|
WebkitFontSmoothing: 'antialiased',
|
|
53
53
|
MozOsxFontSmoothing: 'grayscale'
|
|
54
|
-
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
54
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9BbGVydC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N0O1xuXG5leHBvcnQgY29uc3QgQ29sbGFwc2libGVDb250ZW50ID0gc3R5bGVkKG1vdGlvbi5kaXYpKFxuICBjc3Moe1xuICAgIHB5OiA0LFxuICAgIG92ZXJmbG93WTogJ2hpZGRlbicsXG4gICAgV2Via2l0Rm9udFNtb290aGluZzogJ2FudGlhbGlhc2VkJyxcbiAgICBNb3pPc3hGb250U21vb3RoaW5nOiAnZ3JheXNjYWxlJyxcbiAgfSlcbik7XG5cbmV4cG9ydCBjb25zdCBDbGVhbkZpbGxCdXR0b24gPSBzdHlsZWQoRmlsbEJ1dHRvbikoXG4gIGNzcyh7XG4gICAgLy8gT3RoZXJ3aXNlIFZvaWNlT3ZlciBhbm5vdWNlcyB0aGUgYnV0dG9uJ3MgdGV4dCB0d2ljZVxuICAgICc6OmJlZm9yZSc6IHtcbiAgICAgIGRpc3BsYXk6ICdub25lJyxcbiAgICB9LFxuICB9KVxuKTtcbiJdfQ== */");
|
|
55
55
|
export const CleanFillButton = /*#__PURE__*/_styled(FillButton, {
|
|
56
56
|
target: "e1um9zw20",
|
|
57
57
|
label: "CleanFillButton"
|
|
@@ -60,4 +60,4 @@ export const CleanFillButton = /*#__PURE__*/_styled(FillButton, {
|
|
|
60
60
|
'::before': {
|
|
61
61
|
display: 'none'
|
|
62
62
|
}
|
|
63
|
-
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
63
|
+
}), process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9BbGVydC9lbGVtZW50cy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNkUrQiIsImZpbGUiOiIuLi8uLi9zcmMvQWxlcnQvZWxlbWVudHMudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQmFja2dyb3VuZCwgY3NzIH0gZnJvbSAn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lhc2VkJyxcbiAgICBNb3pPc3hGb250U21vb3RoaW5nOiAnZ3JheXNjYWxlJyxcbiAgfSlcbik7XG5cbmV4cG9ydCBjb25zdCBDbGVhbkZpbGxCdXR0b24gPSBzdHlsZWQoRmlsbEJ1dHRvbikoXG4gIGNzcyh7XG4gICAgLy8gT3RoZXJ3aXNlIFZvaWNlT3ZlciBhbm5vdWNlcyB0aGUgYnV0dG9uJ3MgdGV4dCB0d2ljZVxuICAgICc6OmJlZm9yZSc6IHtcbiAgICAgIGRpc3BsYXk6ICdub25lJyxcbiAgICB9LFxuICB9KVxuKTtcbiJdfQ== */");
|
package/dist/Anchor/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { StyleProps } from '@codecademy/variance';
|
|
2
|
-
import { HTMLProps } from 'react';
|
|
2
|
+
import { ComponentProps, ForwardRefExoticComponent, HTMLProps, RefAttributes } from 'react';
|
|
3
|
+
import { ButtonBase } from '../ButtonBase/ButtonBase';
|
|
3
4
|
import { AppendedIconProps } from '../helpers';
|
|
4
5
|
export interface AnchorProps extends StyleProps<typeof anchorProps>, StyleProps<typeof anchorVariants> {
|
|
5
6
|
onClick?: HTMLProps<HTMLAnchorElement>['onClick'];
|
|
@@ -194,12 +195,18 @@ declare const anchorProps: import("@codecademy/variance/dist/types/config").Pars
|
|
|
194
195
|
export declare const AnchorBase: import("@emotion/styled").StyledComponent<{
|
|
195
196
|
theme?: import("@emotion/react").Theme | undefined;
|
|
196
197
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
197
|
-
} & AnchorProps, Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "
|
|
198
|
-
|
|
198
|
+
} & AnchorProps, Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "onResize" | "onResizeCapture" | "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" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "href" | "referrerPolicy" | "type" | keyof import("react").ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "media" | "ping" | "target">, {}>;
|
|
199
|
+
type AnchorBaseProps = ComponentProps<typeof AnchorBase> | (Exclude<ComponentProps<typeof AnchorBase>, 'ref'> & ComponentProps<typeof ButtonBase>);
|
|
200
|
+
type AnchorExtProps = Partial<AppendedIconProps> & AnchorBaseProps;
|
|
201
|
+
export declare const Anchor: ForwardRefExoticComponent<Omit<AnchorExtProps, "ref"> & RefAttributes<HTMLAnchorElement | HTMLButtonElement | null> & Pick<Omit<({
|
|
199
202
|
theme?: import("@emotion/react").Theme | undefined;
|
|
200
203
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
201
|
-
} &
|
|
204
|
+
} & {
|
|
205
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
206
|
+
} & Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "name" | "form" | "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "onResize" | "onResizeCapture" | "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" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | keyof import("react").ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "value">) | ({
|
|
202
207
|
theme?: import("@emotion/react").Theme | undefined;
|
|
203
208
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
204
|
-
} &
|
|
209
|
+
} & {
|
|
210
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
211
|
+
} & Pick<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "disabled" | "name" | "form" | "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "onResize" | "onResizeCapture" | "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" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | keyof import("react").ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "value"> & Pick<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | "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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "onResize" | "onResizeCapture" | "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" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "href" | "referrerPolicy" | "type" | keyof import("react").ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "media" | "ping" | "target">), "ref"> & RefAttributes<import("../ButtonBase/ButtonBase").ButtonBaseElements | null>, "disabled">>;
|
|
205
212
|
export {};
|
package/dist/Anchor/index.js
CHANGED
|
@@ -95,7 +95,7 @@ const anchorProps = variance.compose(system.layout, system.space, system.typogra
|
|
|
95
95
|
export const AnchorBase = /*#__PURE__*/_styled('a', _extends({}, {
|
|
96
96
|
target: "e14vpv2g0",
|
|
97
97
|
label: "AnchorBase"
|
|
98
|
-
}, styledOptions()))(anchorVariants, anchorProps, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
98
|
+
}, styledOptions()))(anchorVariants, anchorProps, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9BbmNob3IvaW5kZXgudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9IMEIiLCJmaWxlIjoiLi4vLi4vc3JjL0FuY2hvci9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBzdHlsZWRPcHRpb25zLCBzeXN0ZW0sIHZhcmlhbnQgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1zdHlsZXMnO1xuaW1wb3J0IHsgU3R5bGVQcm9wcywgdmFyaWFuY2UgfSBmcm9tICdAY29kZWNhZGVteS92YXJpYW5jZSc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQge1xuICBDb21wb25lbnRQ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uc3QgY29udGVudCA9IGFwcGVuZEljb25Ub0NvbnRlbnQoe1xuICAgICAgY2hpbGRyZW4sXG4gICAgICBpY29uLFxuICAgICAgaWNvbk9mZnNldCxcbiAgICAgIGljb25Qb3NpdGlvbixcbiAgICAgIGljb25TaXplLFxuICAgICAgaWNvbkFuZFRleHRHYXAsXG4gICAgICBpc0lubGluZUljb24sXG4gICAgfSk7XG4gICAgaWYgKCFyZXN0LmhyZWYpIHtcbiAgICAgIHJldHVybiAoXG4gICAgICAgIDxBbmNob3JCYXNlXG4gICAgICAgICAgYXM9e0J1dHRvbkJhc2V9XG4gICAgICAgICAgcmVmPXtyZWYgYXMgUmVmT2JqZWN0PEhUTUxBbmNob3JFbGVtZW50Pn1cbiAgICAgICAgICB2YXJpYW50PXt2YXJpYW50fVxuICAgICAgICAgIHsuLi5yZXN0fVxuICAgICAgICA+XG4gICAgICAgICAge2NvbnRlbnR9XG4gICAgICAgIDwvQW5jaG9yQmFzZT5cbiAgICAgICk7XG4gICAgfVxuXG4gICAgcmV0dXJuIChcbiAgICAgIDxBbmNob3JCYXNlXG4gICAgICAgIHJlZj17cmVmIGFzIFJlZk9iamVjdDxIVE1MQW5jaG9yRWxlbWVudD59XG4gICAgICAgIHZhcmlhbnQ9e3ZhcmlhbnR9XG4gICAgICAgIHsuLi5yZXN0fVxuICAgICAgPlxuICAgICAgICB7Y29udGVudH1cbiAgICAgIDwvQW5jaG9yQmFzZT5cbiAgICApO1xuICB9XG4pIGFzIEZvcndhcmRSZWZFeG90aWNDb21wb25lbnQ8XG4gIE9taXQ8QW5jaG9yRXh0UHJvcHMsICdyZWYnPiAmXG4gICAgUmVmQXR0cmlidXRlczxIVE1MQW5jaG9yRWxlbWVudCB8IEhUTUxCdXR0b25FbGVtZW50IHwgbnVsbD4gJlxuICAgIFBpY2s8Q29tcG9uZW50UHJvcHM8dHlwZW9mIEJ1dHRvbkJhc2U+LCAnZGlzYWJsZWQnPlxuPjtcbiJdfQ== */");
|
|
99
99
|
export const Anchor = /*#__PURE__*/forwardRef(({
|
|
100
100
|
children,
|
|
101
101
|
icon,
|
package/dist/Box/Box.d.ts
CHANGED
|
@@ -1,7 +1,24 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type ComponentProps } from 'react';
|
|
2
3
|
import { BoxProps } from './props';
|
|
3
|
-
|
|
4
|
+
declare const StyledBox: import("@emotion/styled").StyledComponent<{
|
|
4
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?:
|
|
6
|
-
} & BoxProps, Pick<
|
|
6
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
7
|
+
} & BoxProps, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | keyof 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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "onResize" | "onResizeCapture" | "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" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture">, {}>;
|
|
8
|
+
/** Element type for intrinsic tag C (for ref typing). */
|
|
9
|
+
type BoxIntrinsicElementRef<C extends keyof React.JSX.IntrinsicElements> = React.JSX.IntrinsicElements[C] extends React.HTMLAttributes<infer E> ? E : HTMLElement;
|
|
10
|
+
/** Props when rendering as intrinsic element C (e.g. as="img" accepts src, alt, etc.). Export for consumers (e.g. portal-app) to type polymorphic usage. */
|
|
11
|
+
export type BoxPolymorphicProps<C extends keyof React.JSX.IntrinsicElements = 'div'> = Omit<BoxProps, 'as'> & React.JSX.IntrinsicElements[C] & {
|
|
12
|
+
as?: C;
|
|
13
|
+
} & React.RefAttributes<BoxIntrinsicElementRef<C> | null>;
|
|
14
|
+
type BoxDefaultProps = ComponentProps<typeof StyledBox> & React.RefAttributes<HTMLDivElement | null>;
|
|
15
|
+
/** Polymorphic call signatures so as="img"|"form"|"input" accept intrinsic props (src, alt, action, name, etc.). */
|
|
16
|
+
interface BoxPolymorphicComponent {
|
|
17
|
+
(props: BoxPolymorphicProps<'img'>): React.ReactElement;
|
|
18
|
+
(props: BoxPolymorphicProps<'form'>): React.ReactElement;
|
|
19
|
+
(props: BoxPolymorphicProps<'input'>): React.ReactElement;
|
|
20
|
+
(props: BoxDefaultProps): React.ReactElement;
|
|
21
|
+
withComponent: <C extends keyof React.JSX.IntrinsicElements>(as: C) => React.ForwardRefExoticComponent<ComponentProps<typeof StyledBox> & React.RefAttributes<HTMLElement | null>>;
|
|
22
|
+
}
|
|
23
|
+
export declare const Box: BoxPolymorphicComponent;
|
|
7
24
|
export type { BoxProps } from './props';
|
package/dist/Box/Box.js
CHANGED
|
@@ -2,7 +2,15 @@ import _styled from "@emotion/styled/base";
|
|
|
2
2
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
3
|
import { styledOptions } from '@codecademy/gamut-styles';
|
|
4
4
|
import { boxProps, sharedStates } from './props';
|
|
5
|
-
|
|
5
|
+
const StyledBox = /*#__PURE__*/_styled('div', _extends({}, {
|
|
6
6
|
target: "ebnwbv90",
|
|
7
|
-
label: "
|
|
8
|
-
}, styledOptions(['fit'])))(sharedStates, boxProps, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
7
|
+
label: "StyledBox"
|
|
8
|
+
}, styledOptions(['fit'])))(sharedStates, boxProps, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9Cb3gvQm94LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPa0IiLCJmaWxlIjoiLi4vLi4vc3JjL0JveC9Cb3gudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgc3R5bGVkT3B0aW9ucyB9IGZyb20gJ0Bjb2RlY2FkZW15L2dhbXV0LXN0eWxlcyc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5pbXBvcnQgKiBhcyBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyB0eXBlIENvbXBvbmVudFByb3BzIH0gZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBCb3hQcm9wcywgYm94UHJvcHMsIHNoYXJlZFN0YXRlcyB9IGZyb20gJy4vcHJvcHMnO1xuXG5jb25zdCBTdHlsZWRCb3ggPSBzdHlsZWQoJ2RpdicsIHN0eWxlZE9wdGlvbnMoWydmaXQnXSkpPEJveFByb3BzPihcbiAgc2hhcmVkU3RhdGVzLFxuICBib3hQcm9wc1xuKTtcblxuLyoqIEVsZW1lbnQgdHlwZSBmb3IgaW50cmluc2ljIHRhZyBDIChmb3IgcmVmIHR5cGluZykuICovXG50eXBlIEJveEludHJpbnNpY0VsZW1lbnRSZWY8QyBleHRlbmRzIGtleW9mIFJlYWN0LkpTWC5JbnRyaW5zaWNFbGVtZW50cz4gPVxuICBSZWFjdC5KU1guSW50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4gIChwcm9wczogQm94UG9seW1vcnBoaWNQcm9wczwnZm9ybSc+KTogUmVhY3QuUmVhY3RFbGVtZW50O1xuICAocHJvcHM6IEJveFBvbHltb3JwaGljUHJvcHM8J2lucHV0Jz4pOiBSZWFjdC5SZWFjdEVsZW1lbnQ7XG4gIChwcm9wczogQm94RGVmYXVsdFByb3BzKTogUmVhY3QuUmVhY3RFbGVtZW50O1xuICB3aXRoQ29tcG9uZW50OiA8QyBleHRlbmRzIGtleW9mIFJlYWN0LkpTWC5JbnRyaW5zaWNFbGVtZW50cz4oXG4gICAgYXM6IENcbiAgKSA9PiBSZWFjdC5Gb3J3YXJkUmVmRXhvdGljQ29tcG9uZW50PFxuICAgIENvbXBvbmVudFByb3BzPHR5cGVvZiBTdHlsZWRCb3g+ICYgUmVhY3QuUmVmQXR0cmlidXRlczxIVE1MRWxlbWVudCB8IG51bGw+XG4gID47XG59XG5cbmV4cG9ydCBjb25zdCBCb3ggPSBTdHlsZWRCb3ggYXMgdW5rbm93biBhcyBCb3hQb2x5bW9ycGhpY0NvbXBvbmVudDtcblxuZXhwb3J0IHR5cGUgeyBCb3hQcm9wcyB9IGZyb20gJy4vcHJvcHMnO1xuIl19 */");
|
|
9
|
+
|
|
10
|
+
/** Element type for intrinsic tag C (for ref typing). */
|
|
11
|
+
|
|
12
|
+
/** Props when rendering as intrinsic element C (e.g. as="img" accepts src, alt, etc.). Export for consumers (e.g. portal-app) to type polymorphic usage. */
|
|
13
|
+
|
|
14
|
+
/** Polymorphic call signatures so as="img"|"form"|"input" accept intrinsic props (src, alt, action, name, etc.). */
|
|
15
|
+
|
|
16
|
+
export const Box = StyledBox;
|
package/dist/Box/FlexBox.d.ts
CHANGED
|
@@ -1,7 +1,22 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { type ComponentProps } from 'react';
|
|
2
3
|
import { FlexBoxProps } from './props';
|
|
3
|
-
|
|
4
|
+
declare const StyledFlexBox: import("@emotion/styled").StyledComponent<{
|
|
4
5
|
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
-
as?:
|
|
6
|
-
} & FlexBoxProps, Pick<
|
|
6
|
+
as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
|
|
7
|
+
} & FlexBoxProps, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "dir" | "children" | "className" | "aria-hidden" | "onAnimationStart" | "onDragStart" | "onDragEnd" | "onDrag" | keyof 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" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "onResize" | "onResizeCapture" | "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" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture">, {}>;
|
|
8
|
+
type FlexBoxIntrinsicElementRef<C extends keyof React.JSX.IntrinsicElements> = React.JSX.IntrinsicElements[C] extends React.HTMLAttributes<infer E> ? E : HTMLElement;
|
|
9
|
+
/** Props when rendering as intrinsic element C. Export for consumers to type polymorphic usage. */
|
|
10
|
+
export type FlexBoxPolymorphicProps<C extends keyof React.JSX.IntrinsicElements = 'div'> = Omit<FlexBoxProps, 'as'> & React.JSX.IntrinsicElements[C] & {
|
|
11
|
+
as?: C;
|
|
12
|
+
} & React.RefAttributes<FlexBoxIntrinsicElementRef<C> | null>;
|
|
13
|
+
type FlexBoxDefaultProps = ComponentProps<typeof StyledFlexBox> & React.RefAttributes<HTMLDivElement | null>;
|
|
14
|
+
interface FlexBoxPolymorphicComponent {
|
|
15
|
+
(props: FlexBoxPolymorphicProps<'img'>): React.ReactElement;
|
|
16
|
+
(props: FlexBoxPolymorphicProps<'form'>): React.ReactElement;
|
|
17
|
+
(props: FlexBoxPolymorphicProps<'input'>): React.ReactElement;
|
|
18
|
+
(props: FlexBoxDefaultProps): React.ReactElement;
|
|
19
|
+
withComponent: <C extends keyof React.JSX.IntrinsicElements>(as: C) => React.ForwardRefExoticComponent<ComponentProps<typeof StyledFlexBox> & React.RefAttributes<HTMLElement | null>>;
|
|
20
|
+
}
|
|
21
|
+
export declare const FlexBox: FlexBoxPolymorphicComponent;
|
|
7
22
|
export type { FlexBoxProps } from './props';
|