@modul/mbui 0.0.62-beta-iconfile-8e5881a4 → 0.0.62-beta-pv-54366-e81246c5
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/Input-OTP/Input.d.ts +4 -4
- package/dist/Select/Autocomplete.d.ts +21 -0
- package/dist/Select/SelectBase.d.ts +3 -1
- package/dist/Select/components/index.js +1 -1
- package/dist/Select/index.d.ts +1 -0
- package/dist/Select/index.js +2 -2
- package/dist/Textarea/Textarea.d.ts +0 -1
- package/dist/Textarea/index.js +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.js +3 -3
- package/package.json +10 -9
- package/dist/IconFile/IconFile.d.ts +0 -7
- package/dist/IconFile/index.d.ts +0 -1
- package/dist/IconFile/index.js +0 -1
- package/dist/assets/images/icon-file/sprite.svg +0 -1
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
2
|
+
declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "textAlign" | "maxLength" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
|
3
3
|
value?: string;
|
4
4
|
onChange?: (newValue: string) => unknown;
|
5
5
|
maxLength: number;
|
6
|
-
textAlign?: "
|
6
|
+
textAlign?: "left" | "right" | "center";
|
7
7
|
onComplete?: (...args: any[]) => unknown;
|
8
8
|
pushPasswordManagerStrategy?: "none" | "increase-width";
|
9
9
|
containerClassName?: string;
|
@@ -11,11 +11,11 @@ declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputH
|
|
11
11
|
} & {
|
12
12
|
render: (props: import("input-otp").RenderProps) => React.ReactNode;
|
13
13
|
children?: never;
|
14
|
-
} & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
14
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "textAlign" | "maxLength" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
|
15
15
|
value?: string;
|
16
16
|
onChange?: (newValue: string) => unknown;
|
17
17
|
maxLength: number;
|
18
|
-
textAlign?: "
|
18
|
+
textAlign?: "left" | "right" | "center";
|
19
19
|
onComplete?: (...args: any[]) => unknown;
|
20
20
|
pushPasswordManagerStrategy?: "none" | "increase-width";
|
21
21
|
containerClassName?: string;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { Props as SelectProps } from 'react-select';
|
3
|
+
interface Option {
|
4
|
+
value: any;
|
5
|
+
label: string;
|
6
|
+
[key: string]: any;
|
7
|
+
}
|
8
|
+
interface GroupedOption {
|
9
|
+
label: string;
|
10
|
+
options: Option[];
|
11
|
+
}
|
12
|
+
declare type AutocompleteProps = SelectProps<Option, false, GroupedOption> & {
|
13
|
+
onSearch?: (value: string) => void;
|
14
|
+
emptyText?: (value: string) => string;
|
15
|
+
components?: {
|
16
|
+
Input?: React.ComponentType<any>;
|
17
|
+
Option?: React.ComponentType<any>;
|
18
|
+
};
|
19
|
+
};
|
20
|
+
declare const Autocomplete: React.FC<AutocompleteProps>;
|
21
|
+
export { Autocomplete };
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import { GroupBase, Props } from 'react-select';
|
3
|
-
declare type SelectBaseProps<Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Props<Option, IsMulti, Group
|
3
|
+
declare type SelectBaseProps<Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>> = Props<Option, IsMulti, Group> & {
|
4
|
+
customComponents?: any;
|
5
|
+
};
|
4
6
|
declare function SelectBase<Option, IsMulti extends boolean = false, Group extends GroupBase<Option> = GroupBase<Option>>(props: SelectBaseProps<Option, IsMulti, Group>): React.JSX.Element;
|
5
7
|
declare namespace SelectBase {
|
6
8
|
var displayName: string;
|