@transferwise/components 45.0.0 → 45.1.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.
Files changed (105) hide show
  1. package/LICENSE.md +4 -4
  2. package/README.md +3 -0
  3. package/build/es/no-polyfill/actionOption/ActionOption.story.js +1 -1
  4. package/build/es/no-polyfill/avatarWrapper/AvatarWrapper.js +1 -2
  5. package/build/es/no-polyfill/button/Button.js +1 -1
  6. package/build/es/no-polyfill/checkboxButton/CheckboxButton.story.js +1 -1
  7. package/build/es/no-polyfill/checkboxOption/CheckboxOption.story.js +1 -1
  8. package/build/es/no-polyfill/chips/Chips.story.js +1 -1
  9. package/build/es/no-polyfill/common/bottomSheet/BottomSheet.js +1 -21
  10. package/build/es/no-polyfill/common/hooks/useHasIntersected/useHasIntersected.js +1 -2
  11. package/build/es/no-polyfill/common/requirements.js +1 -19
  12. package/build/es/no-polyfill/dateInput/DateInput.js +3 -9
  13. package/build/es/no-polyfill/index.js +1 -1
  14. package/build/es/no-polyfill/inputs/Input.js +1 -0
  15. package/build/es/no-polyfill/inputs/TextArea.js +1 -0
  16. package/build/es/no-polyfill/inputs/_common.js +2 -0
  17. package/build/es/no-polyfill/modal/Modal.js +1 -2
  18. package/build/es/no-polyfill/moneyInput/MoneyInput.js +1 -1
  19. package/build/es/no-polyfill/phoneNumberInput/PhoneNumberInput.js +1 -1
  20. package/build/es/no-polyfill/progressBar/ProgressBar.story.js +1 -1
  21. package/build/es/no-polyfill/provider/Provider.spec.js +1 -2
  22. package/build/es/no-polyfill/select/searchBox/SearchBox.js +1 -1
  23. package/build/es/no-polyfill/slidingPanel/SlidingPanel.js +1 -1
  24. package/build/es/no-polyfill/tabs/Tabs.js +1 -6
  25. package/build/es/no-polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -1
  26. package/build/es/no-polyfill/uploadInput/UploadInput.story.js +1 -1
  27. package/build/es/no-polyfill/utils.js +0 -0
  28. package/build/es/no-polyfill/withDisplayFormat/WithDisplayFormat.js +1 -2
  29. package/build/es/polyfill/actionOption/ActionOption.story.js +1 -1
  30. package/build/es/polyfill/avatarWrapper/AvatarWrapper.js +1 -2
  31. package/build/es/polyfill/button/Button.js +1 -1
  32. package/build/es/polyfill/checkboxButton/CheckboxButton.story.js +1 -1
  33. package/build/es/polyfill/checkboxOption/CheckboxOption.story.js +1 -1
  34. package/build/es/polyfill/chips/Chips.story.js +1 -1
  35. package/build/es/polyfill/common/bottomSheet/BottomSheet.js +1 -21
  36. package/build/es/polyfill/common/hooks/useHasIntersected/useHasIntersected.js +1 -2
  37. package/build/es/polyfill/common/requirements.js +1 -19
  38. package/build/es/polyfill/dateInput/DateInput.js +3 -9
  39. package/build/es/polyfill/index.js +1 -1
  40. package/build/es/polyfill/inputs/Input.js +1 -0
  41. package/build/es/polyfill/inputs/TextArea.js +1 -0
  42. package/build/es/polyfill/inputs/_common.js +2 -0
  43. package/build/es/polyfill/modal/Modal.js +1 -2
  44. package/build/es/polyfill/moneyInput/MoneyInput.js +1 -1
  45. package/build/es/polyfill/phoneNumberInput/PhoneNumberInput.js +1 -1
  46. package/build/es/polyfill/progressBar/ProgressBar.story.js +1 -1
  47. package/build/es/polyfill/provider/Provider.spec.js +1 -2
  48. package/build/es/polyfill/select/searchBox/SearchBox.js +1 -1
  49. package/build/es/polyfill/slidingPanel/SlidingPanel.js +1 -1
  50. package/build/es/polyfill/tabs/Tabs.js +1 -6
  51. package/build/es/polyfill/typeahead/typeaheadInput/TypeaheadInput.js +1 -1
  52. package/build/es/polyfill/uploadInput/UploadInput.story.js +1 -1
  53. package/build/es/polyfill/utils.js +0 -0
  54. package/build/es/polyfill/withDisplayFormat/WithDisplayFormat.js +1 -2
  55. package/build/main.css +1 -1
  56. package/build/styles/inputs/Input.css +1 -0
  57. package/build/styles/inputs/TextArea.css +1 -0
  58. package/build/styles/main.css +1 -1
  59. package/build/styles/progress/Progress.css +1 -1
  60. package/build/styles/tabs/Tabs.css +1 -1
  61. package/build/types/accordion/AccordionItem/AccordionItem.d.ts +8 -9
  62. package/build/types/actionButton/ActionButton.story.d.ts +7 -3
  63. package/build/types/actionOption/ActionOption.story.d.ts +4 -13
  64. package/build/types/alert/inlineMarkdown/InlineMarkdown.d.ts +2 -3
  65. package/build/types/alert/withArrow/withArrow.d.ts +1 -2
  66. package/build/types/checkboxButton/CheckboxButton.story.d.ts +4 -2
  67. package/build/types/checkboxOption/CheckboxOption.story.d.ts +4 -5
  68. package/build/types/chips/Chips.story.d.ts +9 -14
  69. package/build/types/common/RadioButton/RadioButton.d.ts +7 -8
  70. package/build/types/dateLookup/dateHeader/DateHeader.d.ts +4 -5
  71. package/build/types/dateLookup/dateTrigger/DateTrigger.d.ts +8 -9
  72. package/build/types/dateLookup/monthCalendar/table/MonthCalendarTable.d.ts +6 -7
  73. package/build/types/dateLookup/tableLink/TableLink.d.ts +8 -9
  74. package/build/types/dateLookup/yearCalendar/YearCalendar.d.ts +7 -8
  75. package/build/types/dateLookup/yearCalendar/table/YearCalendarTable.d.ts +6 -7
  76. package/build/types/dynamicFieldDefinitionList/FormattedValue/FormattedValue.d.ts +2 -16
  77. package/build/types/flowNavigation/animatedLabel/AnimatedLabel.d.ts +3 -4
  78. package/build/types/flowNavigation/backButton/BackButton.d.ts +3 -4
  79. package/build/types/index.d.ts +4 -0
  80. package/build/types/inputs/Input.d.ts +13 -0
  81. package/build/types/inputs/TextArea.d.ts +10 -0
  82. package/build/types/inputs/_common.d.ts +5 -0
  83. package/build/types/modal/Modal.story.d.ts +3 -2
  84. package/build/types/progressBar/ProgressBar.story.d.ts +3 -3
  85. package/build/types/provider/Provider.story.d.ts +2 -6
  86. package/build/types/select/searchBox/SearchBox.d.ts +1 -1
  87. package/build/types/tabs/TabList.d.ts +1 -2
  88. package/build/types/tabs/TabPanel.d.ts +4 -7
  89. package/build/types/test-utils/GlobalsDecorator.d.ts +4 -5
  90. package/build/types/test-utils/index.d.ts +1 -1
  91. package/build/types/tile/Tile.d.ts +9 -10
  92. package/build/types/tooltip/Tooltip.story.d.ts +2 -1
  93. package/build/types/typeahead/typeaheadInput/TypeaheadInput.d.ts +15 -16
  94. package/build/types/typeahead/typeaheadOption/TypeaheadOption.d.ts +4 -9
  95. package/build/types/upload/steps/completeStep/completeStep.d.ts +9 -10
  96. package/build/types/upload/steps/mediaUploadStep/mediaUploadStep.d.ts +8 -9
  97. package/build/types/upload/steps/processingStep/processingStep.d.ts +8 -9
  98. package/build/types/upload/steps/uploadImageStep/uploadImageStep.d.ts +8 -9
  99. package/build/types/uploadInput/UploadInput.story.d.ts +20 -37
  100. package/build/types/utils.d.ts +1 -0
  101. package/build/types/withDisplayFormat/WithDisplayFormat.d.ts +18 -19
  102. package/build/umd/no-polyfill/main.js +1 -1
  103. package/build/umd/polyfill/main.js +1 -1
  104. package/package.json +65 -33
  105. package/upgrades/2021-04-v35-36-typescript-support.js +1 -0
@@ -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: PropTypes.Requireable<string>;
15
- const description: PropTypes.Requireable<PropTypes.ReactNodeLike>;
16
- const disabled: PropTypes.Requireable<boolean>;
17
- const href: PropTypes.Validator<string>;
18
- const target: PropTypes.Requireable<string>;
19
- const media: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
20
- const onClick: PropTypes.Validator<(...args: any[]) => any>;
21
- const size: PropTypes.Requireable<string>;
22
- const title: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
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: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, import("@storybook/types").Args>;
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: PropTypes.Validator<string>;
17
- const name: PropTypes.Validator<string>;
18
- const autoFocus: PropTypes.Requireable<boolean>;
19
- const multiple: PropTypes.Validator<boolean>;
20
- const value: PropTypes.Validator<string>;
21
- const selected: PropTypes.Requireable<(object | null | undefined)[]>;
22
- const placeholder: PropTypes.Requireable<string>;
23
- const optionsShown: PropTypes.Requireable<boolean>;
24
- const maxHeight: PropTypes.Requireable<number>;
25
- const autoComplete: PropTypes.Validator<string>;
26
- const onChange: PropTypes.Validator<(...args: any[]) => any>;
27
- const renderChip: PropTypes.Validator<(...args: any[]) => any>;
28
- const onKeyDown: PropTypes.Validator<(...args: any[]) => any>;
29
- const onFocus: PropTypes.Validator<(...args: any[]) => any>;
30
- const onPaste: PropTypes.Validator<(...args: any[]) => any>;
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: PropTypes.Validator<NonNullable<PropTypes.InferProps<{
6
- label: PropTypes.Validator<string>;
7
- note: PropTypes.Requireable<string>;
8
- secondary: PropTypes.Requireable<string>;
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: PropTypes.Validator<string>;
6
- const csSuccessText: PropTypes.Validator<string>;
7
- const csFailureText: PropTypes.Validator<string>;
8
- const fileName: PropTypes.Validator<string>;
9
- const isComplete: PropTypes.Validator<boolean>;
10
- const isError: PropTypes.Validator<boolean>;
11
- const isImage: PropTypes.Validator<boolean>;
12
- const onClear: PropTypes.Validator<(...args: any[]) => any>;
13
- const uploadedImage: PropTypes.Requireable<string>;
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: PropTypes.Validator<(...args: any[]) => any>;
15
- const isComplete: PropTypes.Validator<boolean>;
16
- const usAccept: PropTypes.Validator<string>;
17
- const usButtonText: PropTypes.Validator<string>;
18
- const usDisabled: PropTypes.Validator<boolean>;
19
- const usHelpImage: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
20
- const usLabel: PropTypes.Validator<string>;
21
- const usPlaceholder: PropTypes.Validator<string>;
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: PropTypes.Validator<boolean>;
6
- const isError: PropTypes.Validator<boolean>;
7
- const isSuccess: PropTypes.Validator<boolean>;
8
- const onAnimationCompleted: PropTypes.Validator<(...args: any[]) => any>;
9
- const onClear: PropTypes.Validator<(...args: any[]) => any>;
10
- const psButtonText: PropTypes.Validator<string>;
11
- const psProcessingText: PropTypes.Validator<string>;
12
- const psButtonDisabled: PropTypes.Validator<boolean>;
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: PropTypes.Validator<(...args: any[]) => any>;
12
- const isComplete: PropTypes.Validator<boolean>;
13
- const usAccept: PropTypes.Validator<string>;
14
- const usButtonText: PropTypes.Validator<string>;
15
- const usDisabled: PropTypes.Validator<boolean>;
16
- const usHelpImage: PropTypes.Validator<NonNullable<PropTypes.ReactNodeLike>>;
17
- const usLabel: PropTypes.Validator<string>;
18
- const usPlaceholder: PropTypes.Validator<string>;
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";
@@ -1,37 +1,20 @@
1
- /// <reference types="react" />
2
- import { UploadInputProps } from './UploadInput';
3
- import { UploadResponse } from './types';
4
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
5
- files?: import("./types").UploadedFile[] | undefined;
6
- fileInputName?: string | undefined;
7
- onUploadFile: (formData: FormData) => Promise<UploadResponse>;
8
- onDeleteFile?: ((id: string | number) => Promise<any>) | undefined;
9
- onValidationError?: ((file: import("./types").UploadedFile) => void) | undefined;
10
- onFilesChange?: ((files: import("./types").UploadedFile[]) => void) | undefined;
11
- deleteConfirm?: {
12
- title?: string | undefined;
13
- body?: import("react").ReactNode;
14
- confirmText?: string | undefined;
15
- cancelText?: string | undefined;
16
- } | undefined;
17
- maxFiles?: number | undefined;
18
- maxFilesErrorMessage?: string | undefined;
19
- sizeLimitErrorMessage?: string | undefined;
20
- } & Pick<import("./uploadButton/UploadButton").UploadButtonProps, "id" | "disabled" | "multiple" | "description" | "fileTypes" | "sizeLimit" | "uploadButtonTitle"> & Pick<import("./uploadItem/UploadItem").UploadItemProps, "onDownload"> & import("../common").CommonProps>;
21
- export default _default;
22
- export declare const SingleFile: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
23
- export declare const MultipleFiles: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
24
- export declare const UploadInputWithDescriptionFromProps: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
25
- export declare const Disabled: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
26
- export declare const WithAnyFileType: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
27
- export declare const WithSingleFileType: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
28
- export declare const WithMultipleExistingFiles: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
29
- export declare const WithoutDelete: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
30
- export declare const WithUploadFailed: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
31
- export declare const WithDeleteFailed: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
32
- export declare const CustomConfirmMessage: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
33
- export declare const withManualDownloadHandler: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
34
- export declare const withFilesChangeHandler: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
35
- export declare const withMaxFilesToUploadLimit: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
36
- export declare const withFileSizeErrorMessage: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
37
- export declare const withCustomUploadButtonTitle: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, UploadInputProps>;
1
+ import { Story, Meta } from '@storybook/react';
2
+ import UploadInput, { UploadInputProps } from './UploadInput';
3
+ declare const meta: Meta<typeof UploadInput>;
4
+ export default meta;
5
+ export declare const SingleFile: Story<UploadInputProps>;
6
+ export declare const MultipleFiles: Story<UploadInputProps>;
7
+ export declare const UploadInputWithDescriptionFromProps: Story<UploadInputProps>;
8
+ export declare const Disabled: Story<UploadInputProps>;
9
+ export declare const WithAnyFileType: Story<UploadInputProps>;
10
+ export declare const WithSingleFileType: Story<UploadInputProps>;
11
+ export declare const WithMultipleExistingFiles: Story<UploadInputProps>;
12
+ export declare const WithoutDelete: Story<UploadInputProps>;
13
+ export declare const WithUploadFailed: Story<UploadInputProps>;
14
+ export declare const WithDeleteFailed: Story<UploadInputProps>;
15
+ export declare const CustomConfirmMessage: Story<UploadInputProps>;
16
+ export declare const withManualDownloadHandler: Story<UploadInputProps>;
17
+ export declare const withFilesChangeHandler: Story<UploadInputProps>;
18
+ export declare const withMaxFilesToUploadLimit: Story<UploadInputProps>;
19
+ export declare const withFileSizeErrorMessage: Story<UploadInputProps>;
20
+ export declare const withCustomUploadButtonTitle: Story<UploadInputProps>;
@@ -0,0 +1 @@
1
+ export type Merge<Object1, Object2> = Omit<Object1, keyof Object2> & Object2;
@@ -31,24 +31,24 @@ declare class WithDisplayFormat extends Component<any, any, any> {
31
31
  }
32
32
  declare namespace WithDisplayFormat {
33
33
  namespace propTypes {
34
- const autoComplete: PropTypes.Requireable<string>;
35
- const className: PropTypes.Requireable<string>;
36
- const disabled: PropTypes.Requireable<boolean>;
37
- const id: PropTypes.Requireable<string>;
38
- const maxLength: PropTypes.Requireable<number>;
39
- const minLength: PropTypes.Requireable<number>;
40
- const name: PropTypes.Requireable<string>;
41
- const onFocus: PropTypes.Requireable<(...args: any[]) => any>;
42
- const onBlur: PropTypes.Requireable<(...args: any[]) => any>;
43
- const onChange: PropTypes.Validator<(...args: any[]) => any>;
44
- const placeholder: PropTypes.Requireable<string>;
45
- const readOnly: PropTypes.Requireable<boolean>;
46
- const render: PropTypes.Validator<(...args: any[]) => any>;
47
- const required: PropTypes.Requireable<boolean>;
48
- const displayPattern: PropTypes.Requireable<string>;
49
- const type: PropTypes.Requireable<string>;
50
- const inputMode: PropTypes.Requireable<string>;
51
- const value: PropTypes.Requireable<string>;
34
+ const autoComplete: any;
35
+ const className: any;
36
+ const disabled: any;
37
+ const id: any;
38
+ const maxLength: any;
39
+ const minLength: any;
40
+ const name: any;
41
+ const onFocus: any;
42
+ const onBlur: any;
43
+ const onChange: any;
44
+ const placeholder: any;
45
+ const readOnly: any;
46
+ const render: any;
47
+ const required: any;
48
+ const displayPattern: any;
49
+ const type: any;
50
+ const inputMode: any;
51
+ const value: any;
52
52
  }
53
53
  namespace defaultProps {
54
54
  const autoComplete_1: string;
@@ -87,4 +87,3 @@ declare namespace WithDisplayFormat {
87
87
  }
88
88
  import { Component } from "react";
89
89
  import { HistoryNavigator } from "../common";
90
- import PropTypes from "prop-types";