@transferwise/components 45.0.1 → 45.1.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/LICENSE.md +4 -4
- package/README.md +3 -0
- package/build/es/no-polyfill/actionButton/ActionButton.story.js +1 -1
- package/build/es/no-polyfill/actionOption/ActionOption.story.js +1 -1
- package/build/es/no-polyfill/alert/Alert.story.js +1 -0
- package/build/es/no-polyfill/avatar/Avatar.story.js +1 -0
- package/build/es/no-polyfill/avatarWrapper/AvatarWrapper.js +1 -2
- package/build/es/no-polyfill/avatarWrapper/AvatarWrapper.story.js +1 -0
- package/build/es/no-polyfill/button/Button.js +1 -1
- package/build/es/no-polyfill/checkboxButton/CheckboxButton.story.js +1 -1
- package/build/es/no-polyfill/checkboxOption/CheckboxOption.story.js +1 -1
- package/build/es/no-polyfill/chevron/Chevron.story.js +1 -0
- package/build/es/no-polyfill/chips/Chips.story.js +1 -1
- package/build/es/no-polyfill/common/bottomSheet/BottomSheet.js +1 -21
- package/build/es/no-polyfill/common/hooks/useHasIntersected/useHasIntersected.js +1 -2
- package/build/es/no-polyfill/common/requirements.js +1 -19
- package/build/es/no-polyfill/dateInput/DateInput.js +3 -9
- package/build/es/no-polyfill/dimmer/Dimmer.story.js +2 -1
- package/build/es/no-polyfill/index.js +1 -1
- package/build/es/no-polyfill/inputs/Input.js +1 -0
- package/build/es/no-polyfill/inputs/TextArea.js +1 -0
- package/build/es/no-polyfill/inputs/_common.js +2 -0
- package/build/es/no-polyfill/loader/Loader.story.js +1 -0
- package/build/es/no-polyfill/logo/Logo.story.js +1 -0
- package/build/es/no-polyfill/modal/Modal.js +1 -2
- package/build/es/no-polyfill/money/Money.story.js +1 -0
- package/build/es/no-polyfill/moneyInput/MoneyInput.js +1 -1
- package/build/es/no-polyfill/moneyInput/MoneyInput.story.js +1 -0
- package/build/es/no-polyfill/phoneNumberInput/PhoneNumberInput.js +1 -1
- package/build/es/no-polyfill/progress/Progress.story.js +1 -0
- package/build/es/no-polyfill/provider/Provider.spec.js +1 -2
- package/build/es/no-polyfill/provider/Provider.story.js +1 -1
- package/build/es/no-polyfill/select/searchBox/SearchBox.js +1 -1
- package/build/es/no-polyfill/slidingPanel/SlidingPanel.js +1 -1
- package/build/es/no-polyfill/statusIcon/StatusIcon.story.js +1 -0
- package/build/es/no-polyfill/tabs/Tabs.js +1 -6
- package/build/es/no-polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -1
- package/build/es/no-polyfill/uploadInput/UploadInput.story.js +1 -1
- package/build/es/no-polyfill/utils.js +0 -0
- package/build/es/no-polyfill/withDisplayFormat/WithDisplayFormat.js +1 -2
- package/build/es/polyfill/actionButton/ActionButton.story.js +1 -1
- package/build/es/polyfill/actionOption/ActionOption.story.js +1 -1
- package/build/es/polyfill/alert/Alert.story.js +1 -0
- package/build/es/polyfill/avatar/Avatar.story.js +1 -0
- package/build/es/polyfill/avatarWrapper/AvatarWrapper.js +1 -2
- package/build/es/polyfill/avatarWrapper/AvatarWrapper.story.js +1 -0
- package/build/es/polyfill/button/Button.js +1 -1
- package/build/es/polyfill/checkboxButton/CheckboxButton.story.js +1 -1
- package/build/es/polyfill/checkboxOption/CheckboxOption.story.js +1 -1
- package/build/es/polyfill/chevron/Chevron.story.js +1 -0
- package/build/es/polyfill/chips/Chips.story.js +1 -1
- package/build/es/polyfill/common/bottomSheet/BottomSheet.js +1 -21
- package/build/es/polyfill/common/hooks/useHasIntersected/useHasIntersected.js +1 -2
- package/build/es/polyfill/common/requirements.js +1 -19
- package/build/es/polyfill/dateInput/DateInput.js +3 -9
- package/build/es/polyfill/dimmer/Dimmer.story.js +2 -1
- package/build/es/polyfill/index.js +1 -1
- package/build/es/polyfill/inputs/Input.js +1 -0
- package/build/es/polyfill/inputs/TextArea.js +1 -0
- package/build/es/polyfill/inputs/_common.js +2 -0
- package/build/es/polyfill/loader/Loader.story.js +1 -0
- package/build/es/polyfill/logo/Logo.story.js +1 -0
- package/build/es/polyfill/modal/Modal.js +1 -2
- package/build/es/polyfill/money/Money.story.js +1 -0
- package/build/es/polyfill/moneyInput/MoneyInput.js +1 -1
- package/build/es/polyfill/moneyInput/MoneyInput.story.js +1 -0
- package/build/es/polyfill/phoneNumberInput/PhoneNumberInput.js +1 -1
- package/build/es/polyfill/progress/Progress.story.js +1 -0
- package/build/es/polyfill/provider/Provider.spec.js +1 -2
- package/build/es/polyfill/provider/Provider.story.js +1 -1
- package/build/es/polyfill/select/searchBox/SearchBox.js +1 -1
- package/build/es/polyfill/slidingPanel/SlidingPanel.js +1 -1
- package/build/es/polyfill/statusIcon/StatusIcon.story.js +1 -0
- package/build/es/polyfill/tabs/Tabs.js +1 -6
- package/build/es/polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -1
- package/build/es/polyfill/uploadInput/UploadInput.story.js +1 -1
- package/build/es/polyfill/utils.js +0 -0
- package/build/es/polyfill/withDisplayFormat/WithDisplayFormat.js +1 -2
- package/build/main.css +1 -1
- package/build/styles/inputs/Input.css +1 -0
- package/build/styles/inputs/TextArea.css +1 -0
- package/build/styles/main.css +1 -1
- package/build/types/accordion/AccordionItem/AccordionItem.d.ts +8 -9
- package/build/types/actionButton/ActionButton.story.d.ts +13 -5
- package/build/types/actionOption/ActionOption.story.d.ts +28 -15
- package/build/types/alert/Alert.story.d.ts +56 -0
- package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts +2 -3
- package/build/types/alert/withArrow/withArrow.d.ts +1 -2
- package/build/types/avatar/Avatar.story.d.ts +42 -0
- package/build/types/avatarWrapper/AvatarWrapper.story.d.ts +59 -0
- package/build/types/checkboxButton/CheckboxButton.story.d.ts +4 -2
- package/build/types/checkboxOption/CheckboxOption.story.d.ts +4 -5
- package/build/types/chevron/Chevron.story.d.ts +44 -0
- package/build/types/chips/Chips.story.d.ts +9 -14
- package/build/types/common/RadioButton/RadioButton.d.ts +7 -8
- package/build/types/dateLookup/dateHeader/DateHeader.d.ts +4 -5
- package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts +8 -9
- package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +6 -7
- package/build/types/dateLookup/tableLink/TableLink.d.ts +8 -9
- package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +7 -8
- package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts +6 -7
- package/build/types/dimmer/Dimmer.story.d.ts +9 -1
- package/build/types/dynamicFieldDefinitionList/FormattedValue/FormattedValue.d.ts +2 -16
- package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts +3 -4
- package/build/types/flowNavigation/backButton/BackButton.d.ts +3 -4
- package/build/types/index.d.ts +4 -0
- package/build/types/inputs/Input.d.ts +13 -0
- package/build/types/inputs/TextArea.d.ts +10 -0
- package/build/types/inputs/_common.d.ts +5 -0
- package/build/types/loader/Loader.story.d.ts +28 -0
- package/build/types/logo/Logo.story.d.ts +32 -0
- package/build/types/modal/Modal.story.d.ts +3 -2
- package/build/types/money/Money.story.d.ts +19 -0
- package/build/types/moneyInput/MoneyInput.story.d.ts +35 -0
- package/build/types/progress/Progress.story.d.ts +17 -0
- package/build/types/progressBar/ProgressBar.story.d.ts +6 -1
- package/build/types/provider/Provider.story.d.ts +6 -7
- package/build/types/select/searchBox/SearchBox.d.ts +1 -1
- package/build/types/statusIcon/StatusIcon.story.d.ts +15 -0
- package/build/types/tabs/TabList.d.ts +1 -2
- package/build/types/tabs/TabPanel.d.ts +4 -7
- package/build/types/test-utils/GlobalsDecorator.d.ts +4 -5
- package/build/types/test-utils/index.d.ts +1 -1
- package/build/types/tile/Tile.d.ts +9 -10
- package/build/types/tooltip/Tooltip.story.d.ts +2 -1
- package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts +15 -16
- package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts +4 -9
- package/build/types/upload/steps/completeStep/completeStep.d.ts +9 -10
- package/build/types/upload/steps/mediaUploadStep/mediaUploadStep.d.ts +8 -9
- package/build/types/upload/steps/processingStep/processingStep.d.ts +8 -9
- package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts +8 -9
- package/build/types/uploadInput/UploadInput.story.d.ts +20 -37
- package/build/types/utils.d.ts +1 -0
- package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +18 -19
- package/build/umd/no-polyfill/main.js +1 -1
- package/build/umd/polyfill/main.js +1 -1
- package/package.json +65 -33
- package/upgrades/2021-04-v35-36-typescript-support.js +1 -0
package/build/types/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Types
|
|
3
3
|
*/
|
|
4
|
+
export type { InputProps } from './inputs/Input';
|
|
5
|
+
export type { TextAreaProps } from './inputs/TextArea';
|
|
4
6
|
export type { UploadedFile, UploadError, UploadResponse } from './uploadInput/types';
|
|
5
7
|
export type { ModalProps } from './modal';
|
|
6
8
|
export type { LayoutDirection, TypographyTypes, TitleTypes, BodyTypes, LinkTypes, DisplayTypes, } from './common';
|
|
@@ -40,6 +42,8 @@ export { default as Header } from './header';
|
|
|
40
42
|
export { default as Image } from './image';
|
|
41
43
|
export { default as Info } from './info';
|
|
42
44
|
export { default as InlineAlert } from './inlineAlert';
|
|
45
|
+
export { Input } from './inputs/Input';
|
|
46
|
+
export { TextArea } from './inputs/TextArea';
|
|
43
47
|
export { default as InputWithDisplayFormat } from './inputWithDisplayFormat';
|
|
44
48
|
export { default as InstructionsList } from './instructionsList';
|
|
45
49
|
export { default as Link } from './link';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SizeLarge, SizeMedium, SizeSmall } from '../common';
|
|
3
|
+
import { Merge } from '../utils';
|
|
4
|
+
export type InputProps = Merge<React.ComponentPropsWithRef<'input'>, {
|
|
5
|
+
size?: 'auto' | SizeSmall | SizeMedium | SizeLarge;
|
|
6
|
+
'aria-invalid'?: boolean;
|
|
7
|
+
}>;
|
|
8
|
+
export declare const Input: import("react").ForwardRefExoticComponent<Pick<Omit<Pick<import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "key" | keyof import("react").InputHTMLAttributes<HTMLInputElement>> & {
|
|
9
|
+
ref?: ((instance: HTMLInputElement | null) => void) | import("react").RefObject<HTMLInputElement> | null | undefined;
|
|
10
|
+
}, "size" | "aria-invalid"> & {
|
|
11
|
+
size?: "auto" | "sm" | "md" | "lg" | undefined;
|
|
12
|
+
'aria-invalid'?: boolean | undefined;
|
|
13
|
+
}, "size" | "form" | "slot" | "style" | "title" | "pattern" | "key" | "accept" | "alt" | "autoComplete" | "autoFocus" | "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" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "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>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Merge } from '../utils';
|
|
3
|
+
export type TextAreaProps = Merge<React.ComponentPropsWithRef<'textarea'>, {
|
|
4
|
+
'aria-invalid'?: boolean;
|
|
5
|
+
}>;
|
|
6
|
+
export declare const TextArea: import("react").ForwardRefExoticComponent<Pick<Omit<Pick<import("react").DetailedHTMLProps<import("react").TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "key" | keyof import("react").TextareaHTMLAttributes<HTMLTextAreaElement>> & {
|
|
7
|
+
ref?: ((instance: HTMLTextAreaElement | null) => void) | import("react").RefObject<HTMLTextAreaElement> | null | undefined;
|
|
8
|
+
}, "aria-invalid"> & {
|
|
9
|
+
'aria-invalid'?: boolean | undefined;
|
|
10
|
+
}, "form" | "slot" | "style" | "title" | "key" | "autoComplete" | "autoFocus" | "disabled" | "maxLength" | "minLength" | "name" | "placeholder" | "readOnly" | "required" | "value" | "onChange" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "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>>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import Loader from './Loader';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: ({ small, size, displayInstantly, classNames, ...restProps }: {
|
|
6
|
+
small?: boolean | undefined;
|
|
7
|
+
size?: ("lg" | "xl" | "xs") | ("sm" | "md") | undefined;
|
|
8
|
+
displayInstantly?: boolean | undefined;
|
|
9
|
+
classNames?: Record<string, string> | undefined;
|
|
10
|
+
'data-testid'?: string | undefined;
|
|
11
|
+
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
12
|
+
title: string;
|
|
13
|
+
args: {
|
|
14
|
+
size: "md";
|
|
15
|
+
};
|
|
16
|
+
argTypes: {
|
|
17
|
+
size: {
|
|
18
|
+
type: {
|
|
19
|
+
name: "enum";
|
|
20
|
+
value: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
tags: string[];
|
|
25
|
+
};
|
|
26
|
+
export default _default;
|
|
27
|
+
type Story = StoryObj<typeof Loader>;
|
|
28
|
+
export declare const Basic: Story;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import Logo, { LogoType } from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: {
|
|
6
|
+
({ className, inverse, type }: {
|
|
7
|
+
className: any;
|
|
8
|
+
inverse: any;
|
|
9
|
+
type: any;
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
propTypes: {
|
|
12
|
+
className: any;
|
|
13
|
+
inverse: any;
|
|
14
|
+
type: any;
|
|
15
|
+
};
|
|
16
|
+
defaultProps: {
|
|
17
|
+
className: undefined;
|
|
18
|
+
inverse: boolean;
|
|
19
|
+
type: LogoType;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
title: string;
|
|
23
|
+
render: (args: {
|
|
24
|
+
className: any;
|
|
25
|
+
inverse: any;
|
|
26
|
+
type: any;
|
|
27
|
+
}) => JSX.Element;
|
|
28
|
+
tags: string[];
|
|
29
|
+
};
|
|
30
|
+
export default _default;
|
|
31
|
+
type Story = StoryObj<typeof Logo>;
|
|
32
|
+
export declare const Basic: Story;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Story } from '@storybook/react';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
component: ({ title, body, footer, onClose, className, open, size, scroll, position, ...otherProps }: import("./Modal").ModalProps) => JSX.Element;
|
|
4
5
|
title: string;
|
|
5
6
|
};
|
|
6
7
|
export default _default;
|
|
7
|
-
export declare const Basic:
|
|
8
|
+
export declare const Basic: Story;
|
|
8
9
|
export declare const WithLongText: () => JSX.Element;
|
|
9
|
-
export declare const WithLongTextMobileView:
|
|
10
|
+
export declare const WithLongTextMobileView: Story;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import Money from './Money';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: {
|
|
6
|
+
({ amount, currency }: {
|
|
7
|
+
amount: any;
|
|
8
|
+
currency: any;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
propTypes: {
|
|
11
|
+
amount: any;
|
|
12
|
+
currency: any;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
title: string;
|
|
16
|
+
};
|
|
17
|
+
export default _default;
|
|
18
|
+
type Story = StoryObj<typeof Money>;
|
|
19
|
+
export declare const Basic: Story;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import MoneyInput from '.';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: import("react").FC<import("react-intl").WithIntlProps<any>> & {
|
|
6
|
+
WrappedComponent: import("react").ComponentType<any>;
|
|
7
|
+
};
|
|
8
|
+
title: string;
|
|
9
|
+
render: (args: Omit<any, "intl"> & {
|
|
10
|
+
forwardedRef?: import("react").Ref<any> | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
children?: import("react").ReactNode;
|
|
13
|
+
}) => JSX.Element;
|
|
14
|
+
args: {
|
|
15
|
+
id: string;
|
|
16
|
+
amount: number;
|
|
17
|
+
selectProps: {
|
|
18
|
+
buttonProps: {
|
|
19
|
+
'aria-label': string;
|
|
20
|
+
};
|
|
21
|
+
dropdownProps: {
|
|
22
|
+
'aria-label': string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
tags: string[];
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
type Story = StoryObj<typeof MoneyInput>;
|
|
30
|
+
export declare const SingleCurrency: Story;
|
|
31
|
+
export declare const MultipleCurrencies: Story;
|
|
32
|
+
export declare const OpenedInput: Story;
|
|
33
|
+
export declare const SmallInput: Story;
|
|
34
|
+
export declare const MediumInput: Story;
|
|
35
|
+
export declare const LargeInput: Story;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import Progress from './Progress';
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: ({ className, id, progress }: {
|
|
6
|
+
className?: string | undefined;
|
|
7
|
+
id: string;
|
|
8
|
+
progress: {
|
|
9
|
+
value: number;
|
|
10
|
+
max: number;
|
|
11
|
+
};
|
|
12
|
+
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
13
|
+
title: string;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
16
|
+
type Story = StoryObj<typeof Progress>;
|
|
17
|
+
export declare const Basic: Story;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { StoryObj } from '@storybook/react';
|
|
2
3
|
import ProgressBar from './ProgressBar';
|
|
3
|
-
declare const _default:
|
|
4
|
+
declare const _default: {
|
|
5
|
+
component: ({ className, description, id, title, progress, textEnd, }: import("./ProgressBar").ProgressBarProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
|
6
|
+
title: string;
|
|
7
|
+
tags: string[];
|
|
8
|
+
};
|
|
4
9
|
export default _default;
|
|
5
10
|
type Story = StoryObj<typeof ProgressBar>;
|
|
6
11
|
export declare const Basic: Story;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import { Provider } from '..';
|
|
2
4
|
declare const _default: {
|
|
3
5
|
component: {
|
|
4
6
|
({ i18n, children }: {
|
|
@@ -6,12 +8,8 @@ declare const _default: {
|
|
|
6
8
|
children: any;
|
|
7
9
|
}): JSX.Element;
|
|
8
10
|
propTypes: {
|
|
9
|
-
i18n:
|
|
10
|
-
|
|
11
|
-
messages: import("prop-types").Validator<NonNullable<import("prop-types").InferProps<{}>>>;
|
|
12
|
-
defaultRichTextElements: import("prop-types").Requireable<import("prop-types").InferProps<{}>>;
|
|
13
|
-
}>>>;
|
|
14
|
-
children: import("prop-types").Requireable<import("prop-types").ReactNodeLike>;
|
|
11
|
+
i18n: any;
|
|
12
|
+
children: any;
|
|
15
13
|
};
|
|
16
14
|
defaultProps: {
|
|
17
15
|
children: undefined;
|
|
@@ -20,4 +18,5 @@ declare const _default: {
|
|
|
20
18
|
title: string;
|
|
21
19
|
};
|
|
22
20
|
export default _default;
|
|
23
|
-
|
|
21
|
+
type Story = StoryObj<typeof Provider>;
|
|
22
|
+
export declare const Basic: Story;
|
|
@@ -3,5 +3,5 @@ declare const SearchBox: import("react").ForwardRefExoticComponent<{
|
|
|
3
3
|
id?: string | undefined;
|
|
4
4
|
classNames?: Record<string, string> | undefined;
|
|
5
5
|
focusedOptionId?: string | undefined;
|
|
6
|
-
} & Pick<InputHTMLAttributes<HTMLInputElement>, "
|
|
6
|
+
} & Pick<InputHTMLAttributes<HTMLInputElement>, "placeholder" | "value" | "onChange" | "onClick"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
7
7
|
export default SearchBox;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StoryObj } from '@storybook/react';
|
|
3
|
+
import { Sentiment } from '../common';
|
|
4
|
+
import StatusIcon from './StatusIcon';
|
|
5
|
+
declare const _default: {
|
|
6
|
+
component: ({ sentiment, size }: {
|
|
7
|
+
sentiment: Sentiment;
|
|
8
|
+
size: "sm" | "md" | "lg";
|
|
9
|
+
}) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
10
|
+
title: string;
|
|
11
|
+
};
|
|
12
|
+
export default _default;
|
|
13
|
+
type Story = StoryObj<typeof StatusIcon>;
|
|
14
|
+
export declare const Basic: Story;
|
|
15
|
+
export declare const Variants: Story;
|
|
@@ -7,12 +7,9 @@ declare function TabPanel({ children, id, tabId, style }: {
|
|
|
7
7
|
}): JSX.Element;
|
|
8
8
|
declare namespace TabPanel {
|
|
9
9
|
namespace propTypes {
|
|
10
|
-
const children:
|
|
11
|
-
const id:
|
|
12
|
-
const tabId:
|
|
13
|
-
const style:
|
|
14
|
-
width: PropTypes.Validator<string>;
|
|
15
|
-
}>>>;
|
|
10
|
+
const children: any;
|
|
11
|
+
const id: any;
|
|
12
|
+
const tabId: any;
|
|
13
|
+
const style: any;
|
|
16
14
|
}
|
|
17
15
|
}
|
|
18
|
-
import PropTypes from "prop-types";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const GlobalsDecorator: (Story: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, Args>, options: Args) => JSX.Element;
|
|
1
|
+
import { Decorator } from '@storybook/react';
|
|
2
|
+
export declare const DarkThemeDecorator: Decorator;
|
|
3
|
+
export declare const RtlDecorator: Decorator;
|
|
4
|
+
export declare const GlobalsDecorator: Decorator;
|
|
@@ -50,7 +50,7 @@ declare function customRender(ui: any, { locale, messages, ...renderOptions }?:
|
|
|
50
50
|
"neptune.UploadItem.uploading": string;
|
|
51
51
|
"neptune.UploadItem.uploadingFailed": string;
|
|
52
52
|
} | undefined;
|
|
53
|
-
}): import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement>;
|
|
53
|
+
}): import("@testing-library/react").RenderResult<typeof import(".pnpm/@testing-library+dom@8.20.0/node_modules/@testing-library/dom/types/queries"), HTMLElement>;
|
|
54
54
|
/**
|
|
55
55
|
* Custom `renderHook` function which wraps passed elements in Provider component
|
|
56
56
|
* For more info: https://react-hooks-testing-library.com/usage/advanced-hooks#context
|
|
@@ -11,15 +11,15 @@ export function Tile({ className, description, disabled, href, target, media, on
|
|
|
11
11
|
}): JSX.Element;
|
|
12
12
|
export namespace Tile {
|
|
13
13
|
namespace propTypes {
|
|
14
|
-
const className:
|
|
15
|
-
const description:
|
|
16
|
-
const disabled:
|
|
17
|
-
const href:
|
|
18
|
-
const target:
|
|
19
|
-
const media:
|
|
20
|
-
const onClick:
|
|
21
|
-
const size:
|
|
22
|
-
const title:
|
|
14
|
+
const className: any;
|
|
15
|
+
const description: any;
|
|
16
|
+
const disabled: any;
|
|
17
|
+
const href: any;
|
|
18
|
+
const target: any;
|
|
19
|
+
const media: any;
|
|
20
|
+
const onClick: any;
|
|
21
|
+
const size: any;
|
|
22
|
+
const title: any;
|
|
23
23
|
}
|
|
24
24
|
namespace defaultProps {
|
|
25
25
|
const className_1: string;
|
|
@@ -35,5 +35,4 @@ export namespace Tile {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
export default Tile;
|
|
38
|
-
import PropTypes from "prop-types";
|
|
39
38
|
import { Size } from "../common/propsValues/size";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { Story } from '@storybook/react';
|
|
2
3
|
declare const _default: {
|
|
3
4
|
component: ({ position, children, label, className, }: {
|
|
4
5
|
position?: "top" | "bottom" | "left" | "right" | undefined;
|
|
@@ -13,7 +14,7 @@ export declare const Basic: {
|
|
|
13
14
|
(): JSX.Element;
|
|
14
15
|
play: typeof hoverOverButton;
|
|
15
16
|
};
|
|
16
|
-
export declare const BasicDarkMode:
|
|
17
|
+
export declare const BasicDarkMode: Story;
|
|
17
18
|
declare function hoverOverButton({ canvasElement }: {
|
|
18
19
|
canvasElement: HTMLElement;
|
|
19
20
|
}): void;
|
|
@@ -13,21 +13,21 @@ declare class TypeaheadInput extends Component<any, any, any> {
|
|
|
13
13
|
}
|
|
14
14
|
declare namespace TypeaheadInput {
|
|
15
15
|
namespace propTypes {
|
|
16
|
-
const typeaheadId:
|
|
17
|
-
const name:
|
|
18
|
-
const autoFocus:
|
|
19
|
-
const multiple:
|
|
20
|
-
const value:
|
|
21
|
-
const selected:
|
|
22
|
-
const placeholder:
|
|
23
|
-
const optionsShown:
|
|
24
|
-
const maxHeight:
|
|
25
|
-
const autoComplete:
|
|
26
|
-
const onChange:
|
|
27
|
-
const renderChip:
|
|
28
|
-
const onKeyDown:
|
|
29
|
-
const onFocus:
|
|
30
|
-
const onPaste:
|
|
16
|
+
const typeaheadId: any;
|
|
17
|
+
const name: any;
|
|
18
|
+
const autoFocus: any;
|
|
19
|
+
const multiple: any;
|
|
20
|
+
const value: any;
|
|
21
|
+
const selected: any;
|
|
22
|
+
const placeholder: any;
|
|
23
|
+
const optionsShown: any;
|
|
24
|
+
const maxHeight: any;
|
|
25
|
+
const autoComplete: any;
|
|
26
|
+
const onChange: any;
|
|
27
|
+
const renderChip: any;
|
|
28
|
+
const onKeyDown: any;
|
|
29
|
+
const onFocus: any;
|
|
30
|
+
const onPaste: any;
|
|
31
31
|
}
|
|
32
32
|
namespace defaultProps {
|
|
33
33
|
const autoFocus_1: boolean;
|
|
@@ -44,4 +44,3 @@ declare namespace TypeaheadInput {
|
|
|
44
44
|
}
|
|
45
45
|
export default TypeaheadInput;
|
|
46
46
|
import { Component } from "react";
|
|
47
|
-
import PropTypes from "prop-types";
|
|
@@ -2,14 +2,10 @@ export default Option;
|
|
|
2
2
|
declare function Option(props: any): JSX.Element;
|
|
3
3
|
declare namespace Option {
|
|
4
4
|
namespace propTypes {
|
|
5
|
-
const option:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}>>>;
|
|
10
|
-
const query: PropTypes.Requireable<string>;
|
|
11
|
-
const selected: PropTypes.Requireable<boolean>;
|
|
12
|
-
const onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
5
|
+
const option: any;
|
|
6
|
+
const query: any;
|
|
7
|
+
const selected: any;
|
|
8
|
+
const onClick: any;
|
|
13
9
|
}
|
|
14
10
|
namespace defaultProps {
|
|
15
11
|
const selected_1: boolean;
|
|
@@ -20,4 +16,3 @@ declare namespace Option {
|
|
|
20
16
|
export { onClick_1 as onClick };
|
|
21
17
|
}
|
|
22
18
|
}
|
|
23
|
-
import PropTypes from "prop-types";
|
|
@@ -2,19 +2,18 @@ export default CompleteStep;
|
|
|
2
2
|
declare function CompleteStep(props: any): JSX.Element;
|
|
3
3
|
declare namespace CompleteStep {
|
|
4
4
|
namespace propTypes {
|
|
5
|
-
const csButtonText:
|
|
6
|
-
const csSuccessText:
|
|
7
|
-
const csFailureText:
|
|
8
|
-
const fileName:
|
|
9
|
-
const isComplete:
|
|
10
|
-
const isError:
|
|
11
|
-
const isImage:
|
|
12
|
-
const onClear:
|
|
13
|
-
const uploadedImage:
|
|
5
|
+
const csButtonText: any;
|
|
6
|
+
const csSuccessText: any;
|
|
7
|
+
const csFailureText: any;
|
|
8
|
+
const fileName: any;
|
|
9
|
+
const isComplete: any;
|
|
10
|
+
const isError: any;
|
|
11
|
+
const isImage: any;
|
|
12
|
+
const onClear: any;
|
|
13
|
+
const uploadedImage: any;
|
|
14
14
|
}
|
|
15
15
|
namespace defaultProps {
|
|
16
16
|
const uploadedImage_1: null;
|
|
17
17
|
export { uploadedImage_1 as uploadedImage };
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
import PropTypes from "prop-types";
|
|
@@ -11,14 +11,13 @@ declare function MediaUploadStep({ isComplete, usAccept, usButtonText, usDisable
|
|
|
11
11
|
}): JSX.Element;
|
|
12
12
|
declare namespace MediaUploadStep {
|
|
13
13
|
namespace propTypes {
|
|
14
|
-
const fileDropped:
|
|
15
|
-
const isComplete:
|
|
16
|
-
const usAccept:
|
|
17
|
-
const usButtonText:
|
|
18
|
-
const usDisabled:
|
|
19
|
-
const usHelpImage:
|
|
20
|
-
const usLabel:
|
|
21
|
-
const usPlaceholder:
|
|
14
|
+
const fileDropped: any;
|
|
15
|
+
const isComplete: any;
|
|
16
|
+
const usAccept: any;
|
|
17
|
+
const usButtonText: any;
|
|
18
|
+
const usDisabled: any;
|
|
19
|
+
const usHelpImage: any;
|
|
20
|
+
const usLabel: any;
|
|
21
|
+
const usPlaceholder: any;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
import PropTypes from "prop-types";
|
|
@@ -2,14 +2,13 @@ export default ProcessingStep;
|
|
|
2
2
|
declare function ProcessingStep(props: any): JSX.Element;
|
|
3
3
|
declare namespace ProcessingStep {
|
|
4
4
|
namespace propTypes {
|
|
5
|
-
const isComplete:
|
|
6
|
-
const isError:
|
|
7
|
-
const isSuccess:
|
|
8
|
-
const onAnimationCompleted:
|
|
9
|
-
const onClear:
|
|
10
|
-
const psButtonText:
|
|
11
|
-
const psProcessingText:
|
|
12
|
-
const psButtonDisabled:
|
|
5
|
+
const isComplete: any;
|
|
6
|
+
const isError: any;
|
|
7
|
+
const isSuccess: any;
|
|
8
|
+
const onAnimationCompleted: any;
|
|
9
|
+
const onClear: any;
|
|
10
|
+
const psButtonText: any;
|
|
11
|
+
const psProcessingText: any;
|
|
12
|
+
const psButtonDisabled: any;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
import PropTypes from "prop-types";
|
|
@@ -8,15 +8,14 @@ declare class UploadImageStep extends PureComponent<any, any, any> {
|
|
|
8
8
|
}
|
|
9
9
|
declare namespace UploadImageStep {
|
|
10
10
|
namespace propTypes {
|
|
11
|
-
const fileDropped:
|
|
12
|
-
const isComplete:
|
|
13
|
-
const usAccept:
|
|
14
|
-
const usButtonText:
|
|
15
|
-
const usDisabled:
|
|
16
|
-
const usHelpImage:
|
|
17
|
-
const usLabel:
|
|
18
|
-
const usPlaceholder:
|
|
11
|
+
const fileDropped: any;
|
|
12
|
+
const isComplete: any;
|
|
13
|
+
const usAccept: any;
|
|
14
|
+
const usButtonText: any;
|
|
15
|
+
const usDisabled: any;
|
|
16
|
+
const usHelpImage: any;
|
|
17
|
+
const usLabel: any;
|
|
18
|
+
const usPlaceholder: any;
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
import { PureComponent } from "react";
|
|
22
|
-
import PropTypes from "prop-types";
|