@transferwise/components 45.4.0 → 45.5.1
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/build/es/no-polyfill/actionButton/ActionButton.js +1 -1
- package/build/es/no-polyfill/actionButton/ActionButton.spec.js +1 -1
- package/build/es/no-polyfill/actionButton/ActionButton.story.js +1 -1
- package/build/es/no-polyfill/circularButton/CircularButton.js +1 -1
- package/build/es/no-polyfill/common/DOMOperations/DOMOperations.js +6 -6
- package/build/es/no-polyfill/common/DOMOperations/index.js +1 -1
- package/build/es/no-polyfill/common/flowHeader/FlowHeader.js +1 -1
- package/build/es/no-polyfill/common/hooks/index.js +1 -1
- package/build/es/no-polyfill/common/hooks/useClientWidth/useClientWidth.js +1 -1
- package/build/es/no-polyfill/common/hooks/useLayout/useLayout.js +1 -1
- package/build/es/no-polyfill/common/index.js +1 -1
- package/build/es/no-polyfill/dateLookup/dateTrigger/DateTrigger.js +1 -1
- package/build/es/no-polyfill/decision/Decision.js +2 -2
- package/build/es/no-polyfill/definitionList/DefinitionList.js +1 -1
- package/build/es/no-polyfill/dimmer/Dimmer.js +2 -2
- package/build/es/no-polyfill/flowNavigation/FlowNavigation.js +2 -2
- package/build/es/no-polyfill/flowNavigation/backButton/BackButton.js +1 -1
- package/build/es/no-polyfill/index.js +1 -1
- package/build/es/no-polyfill/overlayHeader/OverlayHeader.js +1 -1
- package/build/es/no-polyfill/phoneNumberInput/data/countries.js +1 -1
- package/build/es/no-polyfill/snackbar/Snackbar.js +1 -1
- package/build/es/no-polyfill/stepper/Stepper.js +1 -1
- package/build/es/no-polyfill/tile/Tile.js +1 -1
- package/build/es/polyfill/actionButton/ActionButton.js +1 -1
- package/build/es/polyfill/actionButton/ActionButton.spec.js +1 -1
- package/build/es/polyfill/actionButton/ActionButton.story.js +1 -1
- package/build/es/polyfill/circularButton/CircularButton.js +1 -1
- package/build/es/polyfill/common/DOMOperations/DOMOperations.js +6 -6
- package/build/es/polyfill/common/DOMOperations/index.js +1 -1
- package/build/es/polyfill/common/flowHeader/FlowHeader.js +1 -1
- package/build/es/polyfill/common/hooks/index.js +1 -1
- package/build/es/polyfill/common/hooks/useClientWidth/useClientWidth.js +1 -1
- package/build/es/polyfill/common/hooks/useLayout/useLayout.js +1 -1
- package/build/es/polyfill/common/index.js +1 -1
- package/build/es/polyfill/dateLookup/dateTrigger/DateTrigger.js +1 -1
- package/build/es/polyfill/decision/Decision.js +2 -2
- package/build/es/polyfill/definitionList/DefinitionList.js +1 -1
- package/build/es/polyfill/dimmer/Dimmer.js +2 -2
- package/build/es/polyfill/flowNavigation/FlowNavigation.js +2 -2
- package/build/es/polyfill/flowNavigation/backButton/BackButton.js +1 -1
- package/build/es/polyfill/index.js +1 -1
- package/build/es/polyfill/overlayHeader/OverlayHeader.js +1 -1
- package/build/es/polyfill/phoneNumberInput/data/countries.js +1 -1
- package/build/es/polyfill/snackbar/Snackbar.js +1 -1
- package/build/es/polyfill/stepper/Stepper.js +1 -1
- package/build/es/polyfill/tile/Tile.js +1 -1
- package/build/main.css +1 -1
- package/build/styles/actionButton/ActionButton.css +1 -1
- package/build/styles/main.css +1 -1
- package/build/styles/popover/Popover.css +1 -1
- package/build/styles/select/Select.css +1 -1
- package/build/styles/snackbar/Snackbar.css +1 -1
- package/build/styles/stepper/Stepper.css +1 -1
- package/build/types/actionButton/ActionButton.d.ts +3 -0
- package/build/types/actionButton/ActionButton.story.d.ts +1 -1
- package/build/types/button/Button.story.d.ts +105 -72
- package/build/types/circularButton/CircularButton.d.ts +1 -1
- package/build/types/common/DOMOperations/DOMOperations.d.ts +2 -2
- package/build/types/common/DOMOperations/index.d.ts +3 -3
- package/build/types/common/Option/Option.d.ts +1 -1
- package/build/types/common/flowHeader/FlowHeader.d.ts +10 -1
- package/build/types/common/hooks/index.d.ts +1 -1
- package/build/types/common/hooks/useClientWidth/useClientWidth.d.ts +9 -8
- package/build/types/common/index.d.ts +1 -1
- package/build/types/decision/Decision.d.ts +1 -1
- package/build/types/definitionList/DefinitionList.d.ts +1 -1
- package/build/types/flowNavigation/FlowNavigation.d.ts +16 -34
- package/build/types/index.d.ts +2 -2
- package/build/types/inputs/Input.d.ts +1 -1
- package/build/types/inputs/TextArea.d.ts +1 -1
- package/build/types/listItem/ListItem.d.ts +1 -1
- package/build/types/listItem/ListItem.story.d.ts +1 -1
- package/build/types/snackbar/Snackbar.d.ts +1 -1
- package/build/types/stepper/Stepper.d.ts +13 -18
- package/build/umd/no-polyfill/main.js +1 -1
- package/build/umd/polyfill/main.js +1 -1
- package/package.json +7 -12
- package/scripts/generate-type-declarations.js +0 -2
- package/build/es/no-polyfill/common/flowHeader/index.js +0 -1
- package/build/es/no-polyfill/common/hooks/useClientWidth/index.js +0 -1
- package/build/es/no-polyfill/flowNavigation/index.js +0 -1
- package/build/es/no-polyfill/stepper/index.js +0 -1
- package/build/es/polyfill/common/flowHeader/index.js +0 -1
- package/build/es/polyfill/common/hooks/useClientWidth/index.js +0 -1
- package/build/es/polyfill/flowNavigation/index.js +0 -1
- package/build/es/polyfill/stepper/index.js +0 -1
- package/build/types/common/flowHeader/index.d.ts +0 -1
- package/build/types/common/hooks/useClientWidth/index.d.ts +0 -1
- package/build/types/flowNavigation/index.d.ts +0 -1
- package/build/types/stepper/index.d.ts +0 -2
- package/scripts/neptune-upgrader.js +0 -114
- package/upgrades/2021-02-v34-35.js +0 -193
- package/upgrades/2021-04-v35-36-typescript-support.js +0 -290
- package/upgrades/utils/index.js +0 -17
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function
|
|
2
|
-
export function
|
|
1
|
+
export function addNoScrollClass(): void;
|
|
2
|
+
export function removeNoScrollClass(): void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
1
|
+
import { addNoScrollClass } from "./DOMOperations";
|
|
2
|
+
import { removeNoScrollClass } from "./DOMOperations";
|
|
3
|
+
export { addNoScrollClass, removeNoScrollClass };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MouseEvent, HTMLAttributes, ReactNode, ElementType } from 'react';
|
|
2
2
|
import { LinkProps } from '../commonProps';
|
|
3
|
-
export interface BaseOptionProps extends Omit<HTMLAttributes<HTMLElement>, 'title'> {
|
|
3
|
+
export interface BaseOptionProps extends Omit<HTMLAttributes<HTMLElement>, 'title' | 'content'> {
|
|
4
4
|
'aria-label'?: string;
|
|
5
5
|
media?: ReactNode;
|
|
6
6
|
name?: string;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Layout } from '../propsValues/layouts';
|
|
3
|
+
export interface FlowHeaderProps {
|
|
4
|
+
bottomContent?: React.ReactNode;
|
|
5
|
+
className?: string;
|
|
6
|
+
layout?: Layout.VERTICAL | Layout.HORIZONTAL;
|
|
7
|
+
leftContent?: React.ReactNode;
|
|
8
|
+
rightContent?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
declare const FlowHeader: React.ForwardRefExoticComponent<FlowHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
1
11
|
export default FlowHeader;
|
|
2
|
-
declare const FlowHeader: import("react").ForwardRefExoticComponent<import("react").RefAttributes<any>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { useClientWidth } from "./useClientWidth/useClientWidth";
|
|
2
2
|
export { default as useConditionalListener } from "./useConditionalListener";
|
|
3
3
|
export { default as useDirection } from "./useDirection";
|
|
4
4
|
export { default as useHasIntersected } from "./useHasIntersected";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
}
|
|
8
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type FlowNavigationProps = {
|
|
3
|
+
ref: React.RefObject<HTMLElement> | Window | undefined;
|
|
4
|
+
throttleMs?: number;
|
|
5
|
+
};
|
|
6
|
+
export declare const useClientWidth: {
|
|
7
|
+
({ ref, throttleMs }: FlowNavigationProps): (number | null)[];
|
|
8
|
+
THROTTLE_MS: number;
|
|
9
|
+
};
|
|
9
10
|
export {};
|
|
@@ -22,4 +22,4 @@ export { Variant } from "./propsValues/variant";
|
|
|
22
22
|
export { MarkdownNodeType } from "./propsValues/markdownNodeType";
|
|
23
23
|
export { FileType } from "./fileType";
|
|
24
24
|
export { Key } from "./key";
|
|
25
|
-
export {
|
|
25
|
+
export { addNoScrollClass, removeNoScrollClass } from "./DOMOperations";
|
|
@@ -1,34 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export interface
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
* Called when the close button is clicked. If not provided the close button won't show
|
|
18
|
-
*/
|
|
19
|
-
onClose?: (...args: any[])=>any;
|
|
20
|
-
/**
|
|
21
|
-
* Called when the back button is clicked. If not provided the back button won't show. The back button only shows on small screens
|
|
22
|
-
*/
|
|
23
|
-
onGoBack?: (...args: any[])=>any;
|
|
24
|
-
done?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Steps to be displayed in stepper. If you don't need the stepper, please use OverlayHeader instead
|
|
27
|
-
*/
|
|
28
|
-
steps: FlowNavigationSteps[];
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
declare const FlowNavigation: React.FC<FlowNavigationProps>;
|
|
32
|
-
|
|
33
|
-
export default FlowNavigation;
|
|
34
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Step } from '../stepper/Stepper';
|
|
3
|
+
export interface FlowNavigationProps {
|
|
4
|
+
activeStep?: number;
|
|
5
|
+
avatar?: Element;
|
|
6
|
+
logo?: React.ReactNode;
|
|
7
|
+
done?: boolean;
|
|
8
|
+
/** Called when the close button is clicked. If not provided the close button won't show */
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
/** Called when the back button is clicked. If not provided the back button won't show. The back button only shows on small screens */
|
|
11
|
+
onGoBack?: () => void;
|
|
12
|
+
/** Steps to be displayed in stepper. If you don't need the stepper, please use OverlayHeader instead */
|
|
13
|
+
steps: Step[];
|
|
14
|
+
}
|
|
15
|
+
declare const FlowNavigation: ({ activeStep, avatar, logo, done, onClose, onGoBack, steps, }: FlowNavigationProps) => JSX.Element;
|
|
16
|
+
export default FlowNavigation;
|
package/build/types/index.d.ts
CHANGED
|
@@ -37,7 +37,7 @@ export { default as Drawer } from './drawer';
|
|
|
37
37
|
export { default as DropFade } from './dropFade';
|
|
38
38
|
export { default as DynamicFieldDefinitionList } from './dynamicFieldDefinitionList';
|
|
39
39
|
export { default as Emphasis } from './emphasis';
|
|
40
|
-
export { default as FlowNavigation } from './flowNavigation';
|
|
40
|
+
export { default as FlowNavigation } from './flowNavigation/FlowNavigation';
|
|
41
41
|
export { default as Header } from './header';
|
|
42
42
|
export { default as Image } from './image';
|
|
43
43
|
export { default as Info } from './info';
|
|
@@ -73,7 +73,7 @@ export { default as SlidingPanel } from './slidingPanel';
|
|
|
73
73
|
export { default as SnackbarPortal } from './snackbar/Snackbar';
|
|
74
74
|
export { default as SnackbarProvider } from './snackbar/SnackbarProvider';
|
|
75
75
|
export { default as StatusIcon } from './statusIcon/StatusIcon';
|
|
76
|
-
export { default as Stepper } from './stepper';
|
|
76
|
+
export { default as Stepper } from './stepper/Stepper';
|
|
77
77
|
export { default as Sticky } from './sticky';
|
|
78
78
|
export { default as Summary } from './summary';
|
|
79
79
|
export { default as Switch } from './switch';
|
|
@@ -10,4 +10,4 @@ export declare const Input: import("react").ForwardRefExoticComponent<Pick<Omit<
|
|
|
10
10
|
}, "size" | "aria-invalid"> & {
|
|
11
11
|
size?: "auto" | "sm" | "md" | "lg" | undefined;
|
|
12
12
|
'aria-invalid'?: boolean | undefined;
|
|
13
|
-
}, "size" | "form" | "slot" | "style" | "title" | "pattern" | "key" | "accept" | "alt" | "autoComplete" | "
|
|
13
|
+
}, "size" | "form" | "slot" | "style" | "title" | "pattern" | "key" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "crossOrigin" | "disabled" | "enterKeyHint" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "list" | "max" | "maxLength" | "min" | "minLength" | "multiple" | "name" | "placeholder" | "readOnly" | "required" | "src" | "step" | "type" | "value" | "width" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -7,4 +7,4 @@ export declare const TextArea: import("react").ForwardRefExoticComponent<Pick<Om
|
|
|
7
7
|
ref?: ((instance: HTMLTextAreaElement | null) => void) | import("react").RefObject<HTMLTextAreaElement> | null | undefined;
|
|
8
8
|
}, "aria-invalid"> & {
|
|
9
9
|
'aria-invalid'?: boolean | undefined;
|
|
10
|
-
}, "form" | "slot" | "style" | "title" | "key" | "autoComplete" | "
|
|
10
|
+
}, "form" | "slot" | "style" | "title" | "key" | "autoComplete" | "disabled" | "maxLength" | "minLength" | "name" | "placeholder" | "readOnly" | "required" | "value" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "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" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "cols" | "dirName" | "rows" | "wrap"> & import("react").RefAttributes<HTMLTextAreaElement>>;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
declare const Stepper: React.FC<StepperProps>;
|
|
16
|
-
|
|
17
|
-
export default Stepper;
|
|
18
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface Step {
|
|
3
|
+
label: React.ReactNode;
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
hoverLabel?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface StepperProps {
|
|
8
|
+
steps: Step[];
|
|
9
|
+
activeStep?: number;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
declare const Stepper: ({ steps, activeStep, className }: StepperProps) => JSX.Element | null;
|
|
13
|
+
export default Stepper;
|