@codecademy/gamut 68.1.3-alpha.76714f.0 → 68.1.3-alpha.77bf63.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/AccordionButtonDeprecated/ButtonDeprecated/index.d.ts +2 -2
- package/dist/AccordionButtonDeprecated/ButtonDeprecated/index.js +1 -1
- package/dist/Alert/Alert.d.ts +0 -1
- package/dist/Alert/elements.d.ts +29 -10
- package/dist/Alert/variants.d.ts +1 -2
- package/dist/Anchor/index.d.ts +35 -14
- package/dist/Anchor/index.js +3 -6
- package/dist/Animation/ExpandInCollapseOut.d.ts +0 -1
- package/dist/AppWrapper/index.d.ts +12 -5
- package/dist/AppWrapper/index.js +6 -8
- package/dist/Badge/index.d.ts +2 -3
- package/dist/Box/Box.d.ts +3 -4
- package/dist/Box/FlexBox.d.ts +3 -4
- package/dist/Box/GridBox.d.ts +3 -4
- package/dist/Box/props.d.ts +3 -3
- package/dist/Breadcrumbs/index.d.ts +5 -5
- package/dist/Breadcrumbs/index.js +2 -2
- package/dist/Button/CTAButton.d.ts +15 -7
- package/dist/Button/CTAButton.js +1 -5
- package/dist/Button/FillButton.d.ts +36 -9
- package/dist/Button/FillButton.js +2 -6
- package/dist/Button/IconButton.d.ts +43 -9
- package/dist/Button/IconButton.js +2 -6
- package/dist/Button/StrokeButton.d.ts +36 -9
- package/dist/Button/StrokeButton.js +2 -6
- package/dist/Button/TextButton.d.ts +36 -9
- package/dist/Button/TextButton.js +2 -6
- package/dist/Button/shared/InlineIconButton.d.ts +29 -10
- package/dist/Button/shared/InlineIconButton.js +1 -2
- package/dist/Button/shared/styles.d.ts +16 -13
- package/dist/Button/shared/types.d.ts +2 -4
- package/dist/Button/shared/variants.d.ts +6 -6
- package/dist/ButtonBase/ButtonBase.d.ts +12 -11
- package/dist/ButtonBase/ButtonBase.js +4 -8
- package/dist/Card/elements.d.ts +43 -87
- package/dist/Card/styles.d.ts +2 -2
- package/dist/ConnectedForm/ConnectedForm.d.ts +1 -1
- package/dist/ConnectedForm/ConnectedFormGroup.js +4 -3
- package/dist/ConnectedForm/ConnectedInputs/ConnectedNestedCheckboxes/utils.d.ts +0 -1
- package/dist/ConnectedForm/utils.d.ts +9 -3
- package/dist/ConnectedForm/utils.js +1 -1
- package/dist/ContentContainer/index.d.ts +6 -7
- package/dist/ContentContainer/index.js +3 -7
- package/dist/DataList/Tables/Rows/elements.d.ts +2 -3
- package/dist/DataList/hooks/useListControls.d.ts +1 -2
- package/dist/DataList/hooks/useListState.d.ts +0 -1
- package/dist/Disclosure/elements.d.ts +104 -26
- package/dist/Disclosure/helpers.d.ts +4 -4
- package/dist/Disclosure/types.d.ts +0 -1
- package/dist/Drawer/index.d.ts +0 -1
- package/dist/FeatureShimmer/index.d.ts +0 -1
- package/dist/Form/SelectDropdown/SelectDropdown.js +1 -1
- package/dist/Form/SelectDropdown/elements/constants.d.ts +0 -1
- package/dist/Form/SelectDropdown/elements/containers.d.ts +0 -1
- package/dist/Form/SelectDropdown/elements/containers.js +1 -1
- package/dist/Form/SelectDropdown/elements/controls.js +1 -1
- package/dist/Form/SelectDropdown/elements/multi-value.js +1 -1
- package/dist/Form/SelectDropdown/styles.d.ts +1 -1
- package/dist/Form/SelectDropdown/utils.d.ts +2 -2
- package/dist/Form/SelectDropdown/utils.js +2 -1
- package/dist/Form/__fixtures__/utils.d.ts +0 -1
- package/dist/Form/elements/Form.d.ts +4 -4
- package/dist/Form/elements/FormError.d.ts +1 -1
- package/dist/Form/elements/FormGroup.d.ts +5 -5
- package/dist/Form/elements/FormGroupDescription.d.ts +3 -4
- package/dist/Form/elements/FormGroupLabel.d.ts +2 -2
- package/dist/Form/inputs/Checkbox.d.ts +1 -2
- package/dist/Form/inputs/Checkbox.js +9 -10
- package/dist/Form/inputs/Input.d.ts +4 -8
- package/dist/Form/inputs/Radio.d.ts +8 -8
- package/dist/Form/inputs/Select.d.ts +5 -2
- package/dist/Form/inputs/Select.js +5 -6
- package/dist/Form/inputs/TextArea.d.ts +4 -2
- package/dist/Form/inputs/TextArea.js +3 -4
- package/dist/Form/styles/Checkbox-styles.d.ts +8 -16
- package/dist/Form/styles/Radio-styles.d.ts +4 -8
- package/dist/Form/styles/shared-system-props.d.ts +7 -12
- package/dist/GridForm/GridFormButtons/index.d.ts +34 -2
- package/dist/GridForm/GridFormInputGroup/__fixtures__/assertions.d.ts +2 -2
- package/dist/GridForm/GridFormSections/GridFormSectionBreak.d.ts +2 -2
- package/dist/HiddenText/index.d.ts +4 -5
- package/dist/HiddenText/index.js +7 -11
- package/dist/InternalFloatingCard/InternalFloatingCard.d.ts +4 -4
- package/dist/Layout/Column.d.ts +6 -4
- package/dist/Layout/Column.js +3 -4
- package/dist/Layout/LayoutGrid.d.ts +5 -3
- package/dist/Layout/LayoutGrid.js +3 -4
- package/dist/List/Header/ListHeaderCol.d.ts +1 -2
- package/dist/List/Header/ListHeaderCol.js +2 -3
- package/dist/List/ListCol.d.ts +1 -2
- package/dist/List/ListCol.js +2 -3
- package/dist/List/ListProvider.d.ts +0 -1
- package/dist/List/TableHeader.d.ts +1 -2
- package/dist/List/TableHeader.js +2 -3
- package/dist/List/elements.d.ts +46 -64
- package/dist/List/hooks.d.ts +1 -2
- package/dist/Menu/Menu.d.ts +4 -7
- package/dist/Menu/Menu.js +2 -5
- package/dist/Menu/MenuContext.d.ts +0 -1
- package/dist/Menu/MenuItem.d.ts +1 -3
- package/dist/Menu/MenuItem.js +2 -3
- package/dist/Menu/elements.d.ts +15 -15
- package/dist/Modals/Dialog.js +2 -1
- package/dist/Modals/Modal.js +2 -1
- package/dist/Modals/elements.d.ts +3 -4
- package/dist/Pagination/AnimatedPaginationButtons.d.ts +160 -177
- package/dist/Pagination/EllipsisButton.d.ts +38 -8
- package/dist/Pagination/EllipsisButton.js +1 -4
- package/dist/Pagination/PaginationButton.d.ts +57 -18
- package/dist/Pagination/PaginationButton.js +2 -6
- package/dist/Pagination/styles.d.ts +4 -4
- package/dist/Pagination/utils.d.ts +162 -177
- package/dist/Popover/Popover.d.ts +0 -1
- package/dist/Popover/elements.d.ts +18 -19
- package/dist/Popover/styles/base.d.ts +2 -2
- package/dist/Popover/styles/beak.d.ts +1 -1
- package/dist/Popover/styles/variants.d.ts +6 -6
- package/dist/Popover/utils.d.ts +1 -1
- package/dist/PopoverContainer/hooks.d.ts +0 -1
- package/dist/PopoverContainer/hooks.js +2 -1
- package/dist/PopoverContainer/utils.d.ts +1 -1
- package/dist/SkipToContent/index.d.ts +2 -2
- package/dist/Tabs/TabButton.d.ts +15 -5
- package/dist/Tabs/TabButton.js +3 -4
- package/dist/Tabs/TabNav.d.ts +5 -4
- package/dist/Tabs/TabNav.js +3 -4
- package/dist/Tabs/TabNavLink.d.ts +17 -7
- package/dist/Tabs/TabNavLink.js +1 -4
- package/dist/Tabs/TabPanels.d.ts +5 -4
- package/dist/Tabs/TabPanels.js +3 -4
- package/dist/Tabs/TabProvider.d.ts +0 -1
- package/dist/Tabs/styles.d.ts +2 -2
- package/dist/Tag/elements.d.ts +73 -21
- package/dist/Tag/index.js +1 -1
- package/dist/Tag/styles.d.ts +12 -22
- package/dist/Tip/InfoTip/InfoTipButton.d.ts +39 -9
- package/dist/Tip/InfoTip/InfoTipButton.js +2 -6
- package/dist/Tip/InfoTip/index.d.ts +0 -1
- package/dist/Tip/InfoTip/styles.d.ts +9 -12
- package/dist/Tip/PreviewTip/elements.d.ts +32 -8
- package/dist/Tip/PreviewTip/utils.d.ts +1 -1
- package/dist/Tip/ToolTip/elements.d.ts +4 -5
- package/dist/Tip/ToolTip/index.d.ts +0 -1
- package/dist/Tip/__tests__/helpers.d.ts +6 -6
- package/dist/Tip/shared/InlineTip.d.ts +0 -1
- package/dist/Tip/shared/elements.d.ts +22 -23
- package/dist/Tip/shared/styles/composeVariantsUtils.d.ts +2 -2
- package/dist/Tip/shared/styles/styles.d.ts +4 -4
- package/dist/Tip/shared/utils.d.ts +0 -1
- package/dist/Tip/shared/utils.js +1 -1
- package/dist/Toggle/elements.d.ts +12 -13
- package/dist/Toggle/utils.d.ts +1 -1
- package/dist/Typography/Text.d.ts +11 -8
- package/dist/Typography/Text.js +3 -6
- package/dist/Video/lib/ReactPlayer.d.ts +2 -3
- package/dist/Video/lib/VideoLayout.d.ts +0 -1
- package/dist/utils/nullish.d.ts +10 -0
- package/dist/utils/nullish.js +11 -0
- package/dist/utils/react.js +2 -1
- package/dist/utils/types.d.ts +0 -1
- package/package.json +8 -8
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
export declare const outlineVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"outline", false | "boxShadow" | "outline"> & {
|
|
2
|
-
theme?: import("@emotion/react").Theme
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
3
|
}) => import("@codecademy/variance").CSSObject;
|
|
4
4
|
export declare const widthStates: (props: Partial<Record<"widthRestricted", boolean>> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
6
|
}) => import("@codecademy/variance").CSSObject;
|
|
7
7
|
export declare const beakBorderStates: (props: Partial<Record<"hasBorder", boolean>> & {
|
|
8
|
-
theme?: import("@emotion/react").Theme
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
9
9
|
}) => import("@codecademy/variance").CSSObject;
|
|
10
10
|
export declare const beakVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"beak", string | number | false> & {
|
|
11
|
-
theme?: import("@emotion/react").Theme
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
12
|
}) => import("@codecademy/variance").CSSObject;
|
|
13
13
|
export declare const beakSize: (props: import("@codecademy/variance/dist/types/config").VariantProps<"size", false | "sml" | "lrg"> & {
|
|
14
|
-
theme?: import("@emotion/react").Theme
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
15
|
}) => import("@codecademy/variance").CSSObject;
|
|
16
16
|
export declare const patternVariantStyles: {
|
|
17
17
|
[k: string]: {};
|
|
18
18
|
};
|
|
19
19
|
export declare const beakBoxVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"variant", false | "center" | "above" | "below"> & {
|
|
20
|
-
theme?: import("@emotion/react").Theme
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
21
|
}) => import("@codecademy/variance").CSSObject;
|
package/dist/Popover/utils.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { useEffect, useMemo } from 'react';
|
|
2
|
+
import { isNullish } from '../utils/nullish';
|
|
2
3
|
import { findAllAdditionalScrollingParents, findResizingParent } from './utils';
|
|
3
4
|
|
|
4
5
|
/**
|
|
@@ -8,7 +9,7 @@ import { findAllAdditionalScrollingParents, findResizingParent } from './utils';
|
|
|
8
9
|
|
|
9
10
|
/** Resolves Ref to current element; returns null for RefCallback or null ref. */
|
|
10
11
|
export function getRefElement(ref) {
|
|
11
|
-
if (ref
|
|
12
|
+
if (isNullish(ref)) return null;
|
|
12
13
|
if (typeof ref === 'function') return null;
|
|
13
14
|
return ref.current;
|
|
14
15
|
}
|
|
@@ -46,7 +46,7 @@ export declare const ALIGN: {
|
|
|
46
46
|
* positions have flipped the element to the opposite physical side.
|
|
47
47
|
*/
|
|
48
48
|
export declare const getPosition: ({ alignment, container, offset, x, y, invertAxis, isRtl, }: PopoverPositionConfig & {
|
|
49
|
-
isRtl?: boolean
|
|
49
|
+
isRtl?: boolean;
|
|
50
50
|
}) => PopoverPositionResult;
|
|
51
51
|
export declare const getContainers: (target: TargetRef, inline: boolean | undefined, scroll: {
|
|
52
52
|
x: number;
|
|
@@ -5,8 +5,8 @@ export type SkipToContentProps = {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const SkipToContent: React.FC<SkipToContentProps>;
|
|
7
7
|
declare const StyledSkipToContentTarget: import("@emotion/styled").StyledComponent<{
|
|
8
|
-
theme?: import("@emotion/react").Theme
|
|
9
|
-
as?: React.ElementType
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
9
|
+
as?: React.ElementType;
|
|
10
10
|
}, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
11
11
|
type DataTestId = {
|
|
12
12
|
'data-testid'?: string;
|
package/dist/Tabs/TabButton.d.ts
CHANGED
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
import { StyleProps } from '@codecademy/variance';
|
|
2
|
-
import type { ComponentType } from 'react';
|
|
3
2
|
import { TabElementStyleProps } from './props';
|
|
4
3
|
export interface TabButtonProps extends StyleProps<typeof tabVariants>, StyleProps<typeof tabStates>, TabElementStyleProps {
|
|
5
|
-
role?: string;
|
|
6
4
|
}
|
|
7
5
|
export declare const tabVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"variant", false | "block" | "standard"> & {
|
|
8
|
-
theme?: import("@emotion/react").Theme
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
9
7
|
}) => import("@codecademy/variance").CSSObject;
|
|
10
8
|
export declare const tabStates: (props: Partial<Record<"selected", boolean>> & {
|
|
11
|
-
theme?: import("@emotion/react").Theme
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
12
10
|
}) => import("@codecademy/variance").CSSObject;
|
|
13
|
-
export declare const TabButton:
|
|
11
|
+
export declare const TabButton: import("@emotion/styled").StyledComponent<(((Omit<{
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
} & {
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
} & 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" | "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" | keyof import("react").ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "value">, "ref"> | Omit<{
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
|
+
} & {
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
} & 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" | "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" | 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" | "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" | "href" | "type" | keyof import("react").ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "media" | "ping" | "target" | "referrerPolicy">, "ref">) & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>) & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
}) & TabButtonProps, {}, {}>;
|
package/dist/Tabs/TabButton.js
CHANGED
|
@@ -79,8 +79,7 @@ export const tabStates = states({
|
|
|
79
79
|
...tabSelectedStyles
|
|
80
80
|
}
|
|
81
81
|
});
|
|
82
|
-
const
|
|
82
|
+
export const TabButton = /*#__PURE__*/_styled(ButtonBase, {
|
|
83
83
|
target: "e1fxx1y10",
|
|
84
|
-
label: "
|
|
85
|
-
})(tabVariants, tabStates, tabElementBaseProps, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
86
|
-
export const TabButton = StyledTabButton;
|
|
84
|
+
label: "TabButton"
|
|
85
|
+
})(tabVariants, tabStates, tabElementBaseProps, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9UYWJzL1RhYkJ1dHRvbi50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZ0d5QiIsImZpbGUiOiIuLi8uLi9zcmMvVGFicy9UYWJCdXR0b24udHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgc3RhdGVzLCB2YXJpYW50IH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQtc3R5bGVzJztcbmltcG9ydCB7IFN0eWxlUHJvcHMgfSBmcm9tICdAY29kZWNhZGVteS92YXJpYW5jZSc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IEJ1dHRvbkJhc2UgfSBmcm9tICcuLi9CdXR0b25CYXNlJztcbmltcG9ydCB7XG4gIHRhYkVsZW1lbnRCYXNlUHJvcHMsXG4gIFRhYkVsZW1lbnRTdHlsZVByb3BzLFxuICBUYWJTZWxlY3RvcnMsXG59IGZyb20gJy4vcHJvcHMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFRhYkJ1dHRvblByb3BzXG4gIGV4dGVuZHMgU3R5bGVQcm9wczx0eXBlb2YgdGFiVmFyaWFudHM+LFxuICAgIFN0eWxlUHJvcHM8dHlwZW9mIHRhYlN0YXRlcz4sXG4gICAgVGFiRWxlbWVudFN0eWxlUHJvcHMge31cblxuY29uc3QgdGFiU2VsZWN0ZWRTdHlsZXMgPSB7XG4gIGZvbnRXZWlnaHQ6IDcwMCxcbiAgcHQ6IDEyLFxuICBwYjogOCxcbiAgYm9yZGVyQm90dG9tV2lkdGg6IDQsXG4gIGJvcmRlckNvbG9yOiAncHJpbWFyeScsXG59IGFzIGNvbnN0O1xuXG5jb25zdCBmb2N1c1Zpc2libGVTdHlsZXMgPSB7XG4gIFtUYWJTZWxlY3RvcnMuRk9DVVNfVklTSUJMRSArIFRhYlNlbGVjdG9ycy5CRUZPUkVdOiB7XG4gICAgY29udGVudDogJ1wiXCInLFxuICAgIGJvcmRlcjogMixcbiAgICBib3JkZXJDb2xvcjogJ3ByaW1hcnknLFxuICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgIGluc2V0OiAwLFxuICAgIHpJbmRleDogMCxcbiAgICBib3JkZXJSYWRpdXNUb3A6ICdtZCcsXG4gICAgYm9yZGVyUmFkaXVzQm90dG9tOiAnbm9uZScsXG4gIH0sXG59IGFzIGNvbnN0O1xuXG5leHBvcnQgY29uc3QgdGFiVmFyaWFudHMgPSB2YXJpYW50KHtcbiAgYmFzZToge1xuICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgIGRpc3BsYXk6ICdpbmxpbmUtZmxleCcsXG4gICAganVzdGlmeUNvbnRlbnQ6ICdjZW50ZXInLFxuICAgIGFsaWduSXRlbXM6ICdjZW50ZXInLFxuICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIGJvcmRlclJhZGl1czogJ25vbmUnLFxuICAgIHB4OiAyNCxcbiAgICB0ZXh0T3ZlcmZsb3c6ICdlbGxpcHNpcycsXG4gICAgY29sb3I6ICd0ZXh0JyxcbiAgICBmb250OiAnaW5oZXJpdCcsXG4gICAgY3Vyc29yOiAncG9pbnRlcicsXG4gICAgekluZGV4OiAxLFxuICAgIFtUYWJTZWxlY3RvcnMuRElTQUJMRURdOiB7XG4gICAgICBvcGFjaXR5OiAwLjI1LFxuICAgICAgY3Vyc29yOiAnbm90LWFsbG93ZWQnLFxuICAgIH0sXG4gICAgLi4uZm9jdXNWaXNpYmxlU3R5bGVzLFxuICB9LFxuICB2YXJpYW50czoge1xuICAgIHN0YW5kYXJkOiB7XG4gICAgICBiYWNrZ3JvdW5kOiAnbm9uZScsXG4gICAgICBib3JkZXJDb2xvcjogJ2JvcmRlci1wcmltYXJ5JyxcbiAgICAgIGJvcmRlckxlZnQ6ICdub25lJyxcbiAgICAgIGJvcmRlclJpZ2h0OiAnbm9uZScsXG4gICAgICBib3JkZXJUb3A6ICdub25lJyxcbiAgICAgIGJvcmRlckJvdHRvbVN0eWxlOiAnc29saWQnLFxuICAgICAgYm9yZGVyQm90dG9tV2lkdGg6IDEsXG4gICAgICBmb250U2l6ZTogMTYsXG4gICAgICBmb250V2VpZ2h0OiA0MDAsXG4gICAgICBwdDogMTIsXG4gICAgICBwYjogMTEgYXMgMTIsIC8vIGJvcmRlciArIHBhZGRpbmcgPSAxMnB4XG4gICAgICBbVGFiU2VsZWN0b3JzLkhPVkVSXToge1xuICAgICAgICBiZzogJ2JhY2tncm91bmQtc2VsZWN0ZWQnLFxuICAgICAgfSxcbiAgICAgIFtUYWJTZWxlY3RvcnMuU0VMRUNURURdOiB7XG4gICAgICAgIC4uLnRhYlNlbGVjdGVkU3R5bGVzLFxuICAgICAgICBmb250V2VpZ2h0OiAnYm9sZCcsXG4gICAgICB9LFxuICAgIH0sXG4gICAgYmxvY2s6IHtcbiAgICAgIGZvbnRXZWlnaHQ6ICdub3JtYWwnLFxuICAgICAgZm9udFNpemU6IDE0LFxuICAgICAgcHk6IDEyLFxuICAgICAgW1RhYlNlbGVjdG9ycy5TRUxFQ1RFRF06IHtcbiAgICAgICAgYmc6ICdiYWNrZ3JvdW5kJyxcbiAgICAgICAgZm9udFdlaWdodDogJ2JvbGQnLFxuICAgICAgfSxcbiAgICB9LFxuICB9LFxufSk7XG5cbmV4cG9ydCBjb25zdCB0YWJTdGF0ZXMgPSBzdGF0ZXMoe1xuICBzZWxlY3RlZDoge1xuICAgIC4uLnRhYlNlbGVjdGVkU3R5bGVzLFxuICB9LFxufSk7XG5cbmV4cG9ydCBjb25zdCBUYWJCdXR0b24gPSBzdHlsZWQoQnV0dG9uQmFzZSk8VGFiQnV0dG9uUHJvcHM+KFxuICB0YWJWYXJpYW50cyxcbiAgdGFiU3RhdGVzLFxuICB0YWJFbGVtZW50QmFzZVByb3BzXG4pO1xuIl19 */");
|
package/dist/Tabs/TabNav.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { StyleProps } from '@codecademy/variance';
|
|
2
|
-
import type { ComponentType } from 'react';
|
|
3
|
-
import type { ComponentPropsWithoutRef } from 'react';
|
|
4
2
|
import { TabElementStyleProps } from './props';
|
|
5
3
|
import { tabContainerStates, tabContainerVariants } from './styles';
|
|
6
|
-
export interface TabNavProps extends StyleProps<typeof tabContainerVariants>, StyleProps<typeof tabContainerStates>, TabElementStyleProps
|
|
4
|
+
export interface TabNavProps extends StyleProps<typeof tabContainerVariants>, StyleProps<typeof tabContainerStates>, TabElementStyleProps {
|
|
7
5
|
}
|
|
8
|
-
export declare const TabNav:
|
|
6
|
+
export declare const TabNav: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
} & TabNavProps, Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, "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" | "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" | keyof import("react").ClassAttributes<HTMLElement>>, {}>;
|
package/dist/Tabs/TabNav.js
CHANGED
|
@@ -3,8 +3,7 @@ function _extends() { return _extends = Object.assign ? Object.assign.bind() : f
|
|
|
3
3
|
import { styledOptions } from '@codecademy/gamut-styles';
|
|
4
4
|
import { tabElementBaseProps } from './props';
|
|
5
5
|
import { tabContainerStates, tabContainerVariants } from './styles';
|
|
6
|
-
const
|
|
6
|
+
export const TabNav = /*#__PURE__*/_styled('nav', _extends({}, {
|
|
7
7
|
target: "e14iwrk40",
|
|
8
|
-
label: "
|
|
9
|
-
}, styledOptions()))(tabElementBaseProps, tabContainerVariants, tabContainerStates, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
10
|
-
export const TabNav = StyledTabNav;
|
|
8
|
+
label: "TabNav"
|
|
9
|
+
}, styledOptions()))(tabElementBaseProps, tabContainerVariants, tabContainerStates, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9UYWJzL1RhYk5hdi50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBWXNCIiwiZmlsZSI6Ii4uLy4uL3NyYy9UYWJzL1RhYk5hdi50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBzdHlsZWRPcHRpb25zIH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQtc3R5bGVzJztcbmltcG9ydCB7IFN0eWxlUHJvcHMgfSBmcm9tICdAY29kZWNhZGVteS92YXJpYW5jZSc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IHRhYkVsZW1lbnRCYXNlUHJvcHMsIFRhYkVsZW1lbnRTdHlsZVByb3BzIH0gZnJvbSAnLi9wcm9wcyc7XG5pbXBvcnQgeyB0YWJDb250YWluZXJTdGF0ZXMsIHRhYkNvbnRhaW5lclZhcmlhbnRzIH0gZnJvbSAnLi9zdHlsZXMnO1xuXG5leHBvcnQgaW50ZXJmYWNlIFRhYk5hdlByb3BzXG4gIGV4dGVuZHMgU3R5bGVQcm9wczx0eXBlb2YgdGFiQ29udGFpbmVyVmFyaWFudHM+LFxuICAgIFN0eWxlUHJvcHM8dHlwZW9mIHRhYkNvbnRhaW5lclN0YXRlcz4sXG4gICAgVGFiRWxlbWVudFN0eWxlUHJvcHMge31cblxuZXhwb3J0IGNvbnN0IFRhYk5hdiA9IHN0eWxlZCgnbmF2Jywgc3R5bGVkT3B0aW9uczwnbmF2Jz4oKSk8VGFiTmF2UHJvcHM+KFxuICB0YWJFbGVtZW50QmFzZVByb3BzLFxuICB0YWJDb250YWluZXJWYXJpYW50cyxcbiAgdGFiQ29udGFpbmVyU3RhdGVzXG4pO1xuIl19 */");
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const StyledTabNavLink: import("@emotion/styled").StyledComponent<
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
|
+
declare const StyledTabNavLink: import("@emotion/styled").StyledComponent<(Omit<{
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
} & {
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
} & 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" | "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" | keyof import("react").ClassAttributes<HTMLButtonElement> | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "type" | "value">, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
9
|
+
} & import("./TabButton").TabButtonProps) | (Omit<{
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & {
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
14
|
+
} & 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" | "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" | 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" | "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" | "href" | "type" | keyof import("react").ClassAttributes<HTMLAnchorElement> | "download" | "hrefLang" | "media" | "ping" | "target" | "referrerPolicy">, "ref"> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement> & {
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
} & import("./TabButton").TabButtonProps), {}, {}>;
|
|
17
|
+
export declare const TabNavLink: React.FC<ComponentProps<typeof StyledTabNavLink>>;
|
|
8
18
|
export {};
|
package/dist/Tabs/TabNavLink.js
CHANGED
|
@@ -4,10 +4,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
4
4
|
const StyledTabNavLink = /*#__PURE__*/_styled(TabButton, {
|
|
5
5
|
target: "e1i5j2n60",
|
|
6
6
|
label: "StyledTabNavLink"
|
|
7
|
-
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
8
|
-
|
|
9
|
-
/** Props for TabNavLink. Use when wrapping or composing TabNavLink. */
|
|
10
|
-
|
|
7
|
+
})(process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9UYWJzL1RhYk5hdkxpbmsudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt5QiIsImZpbGUiOiIuLi8uLi9zcmMvVGFicy9UYWJOYXZMaW5rLnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzdHlsZWQgZnJvbSAnQGVtb3Rpb24vc3R5bGVkJztcbmltcG9ydCB7IENvbXBvbmVudFByb3BzIH0gZnJvbSAncmVhY3QnO1xuXG5pbXBvcnQgeyBUYWJCdXR0b24gfSBmcm9tICcuL1RhYkJ1dHRvbic7XG5cbmNvbnN0IFN0eWxlZFRhYk5hdkxpbmsgPSBzdHlsZWQoVGFiQnV0dG9uKSgpO1xuXG5leHBvcnQgY29uc3QgVGFiTmF2TGluazogUmVhY3QuRkM8Q29tcG9uZW50UHJvcHM8dHlwZW9mIFN0eWxlZFRhYk5hdkxpbms+PiA9ICh7XG4gIHZhcmlhbnQgPSAnc3RhbmRhcmQnLFxuICByb2xlID0gJ3RhYicsXG4gIC4uLnJlc3Rcbn0pID0+IHtcbiAgcmV0dXJuIDxTdHlsZWRUYWJOYXZMaW5rIHJvbGU9e3JvbGV9IHZhcmlhbnQ9e3ZhcmlhbnR9IHsuLi5yZXN0fSAvPjtcbn07XG4iXX0= */");
|
|
11
8
|
export const TabNavLink = ({
|
|
12
9
|
variant = 'standard',
|
|
13
10
|
role = 'tab',
|
package/dist/Tabs/TabPanels.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import type { ComponentType } from 'react';
|
|
2
|
-
import type { ComponentPropsWithoutRef } from 'react';
|
|
3
1
|
import { TabElementStyleProps } from './props';
|
|
4
|
-
export interface TabPanelsProps extends TabElementStyleProps
|
|
2
|
+
export interface TabPanelsProps extends TabElementStyleProps {
|
|
5
3
|
}
|
|
6
|
-
export declare const TabPanels:
|
|
4
|
+
export declare const TabPanels: import("@emotion/styled").StyledComponent<{
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
} & TabPanelsProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/dist/Tabs/TabPanels.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
import { tabElementBaseProps } from './props';
|
|
3
|
-
const
|
|
3
|
+
export const TabPanels = /*#__PURE__*/_styled('div', {
|
|
4
4
|
target: "ebokd7t0",
|
|
5
|
-
label: "
|
|
6
|
-
})(tabElementBaseProps, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
7
|
-
export const TabPanels = StyledTabPanels;
|
|
5
|
+
label: "TabPanels"
|
|
6
|
+
})(tabElementBaseProps, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9UYWJzL1RhYlBhbmVscy50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTXlCIiwiZmlsZSI6Ii4uLy4uL3NyYy9UYWJzL1RhYlBhbmVscy50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmltcG9ydCB7IHRhYkVsZW1lbnRCYXNlUHJvcHMsIFRhYkVsZW1lbnRTdHlsZVByb3BzIH0gZnJvbSAnLi9wcm9wcyc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgVGFiUGFuZWxzUHJvcHMgZXh0ZW5kcyBUYWJFbGVtZW50U3R5bGVQcm9wcyB7fVxuXG5leHBvcnQgY29uc3QgVGFiUGFuZWxzID0gc3R5bGVkKCdkaXYnKTxUYWJQYW5lbHNQcm9wcz4odGFiRWxlbWVudEJhc2VQcm9wcyk7XG4iXX0= */");
|
package/dist/Tabs/styles.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const tabContainerVariants: (props: import("@codecademy/variance/dist/types/config").VariantProps<"variant", false | "block" | "standard"> & {
|
|
2
|
-
theme?: import("@emotion/react").Theme
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
3
|
}) => import("@codecademy/variance").CSSObject;
|
|
4
4
|
export declare const tabContainerStates: (props: Partial<Record<"fill", boolean>> & {
|
|
5
|
-
theme?: import("@emotion/react").Theme
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
6
|
}) => import("@codecademy/variance").CSSObject;
|