@modul/mbui 1.1.0-beta-dev-8e6814b1 → 1.1.0-beta-dev-bb36d102
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/SelectDrawer/SelectDrawer.d.ts +5 -35
- package/dist/Select/SelectDrawer/index.js +29 -20
- package/dist/Select/components/Option.d.ts +4 -0
- package/dist/Select/components/SelectAccountValue.d.ts +4 -0
- package/dist/Select/components/Value.d.ts +3 -0
- package/dist/Select/index.d.ts +2 -3
- package/dist/Select/index.js +29 -33
- package/dist/Select/types/index.d.ts +1 -0
- package/dist/Select/types/index.js +1 -0
- package/dist/Select/types/types.d.ts +63 -0
- package/dist/index.d.ts +2 -4
- package/dist/index.js +30 -34
- package/package.json +1 -1
- package/dist/Select/SelectDrawer/Option.d.ts +0 -24
- package/dist/Select/SelectDrawer/Value.d.ts +0 -15
- package/dist/Select/components/SelectBankAccountBalanceOption.d.ts +0 -4
- package/dist/Select/components/SelectPrimaryAccountValue.d.ts +0 -4
@@ -1,9 +1,9 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "
|
2
|
+
declare const InputOTP: React.ForwardRefExoticComponent<((Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
|
3
3
|
value?: string;
|
4
4
|
onChange?: (newValue: string) => unknown;
|
5
5
|
maxLength: number;
|
6
|
-
textAlign?: "
|
6
|
+
textAlign?: "center" | "left" | "right";
|
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>, "onChange" | "value" | "
|
14
|
+
} & React.RefAttributes<HTMLInputElement>, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "containerClassName" | "noScriptCSSFallback"> & {
|
15
15
|
value?: string;
|
16
16
|
onChange?: (newValue: string) => unknown;
|
17
17
|
maxLength: number;
|
18
|
-
textAlign?: "
|
18
|
+
textAlign?: "center" | "left" | "right";
|
19
19
|
onComplete?: (...args: any[]) => unknown;
|
20
20
|
pushPasswordManagerStrategy?: "none" | "increase-width";
|
21
21
|
containerClassName?: string;
|
@@ -1,36 +1,6 @@
|
|
1
|
-
import React
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
|
5
|
-
options?: ISelectOption[];
|
6
|
-
onChange?: (value: ISelectOption | ISelectOption[] | null) => void;
|
7
|
-
placeholder?: string;
|
8
|
-
multiple?: boolean;
|
9
|
-
isClearable?: boolean;
|
10
|
-
isSearchable?: boolean;
|
11
|
-
isOptionsLoading?: boolean;
|
12
|
-
searchPlaceholder?: string;
|
13
|
-
onSearch?: (value: string) => void;
|
14
|
-
autoFocus?: boolean;
|
15
|
-
disabled?: boolean;
|
16
|
-
components?: {
|
17
|
-
OptionComponent?: FC<ISelectOption & {
|
18
|
-
isChecked: boolean;
|
19
|
-
}>;
|
20
|
-
ValueComponent?: FC<ISelectValue>;
|
21
|
-
};
|
22
|
-
value?: ISelectOption | ISelectOption[] | null;
|
23
|
-
defaultValue?: ISelectOption | ISelectOption[];
|
24
|
-
menuListCSS?: string;
|
25
|
-
triggerWrapperCSS?: string;
|
26
|
-
dropWrapperCSS?: string;
|
27
|
-
dropTitle?: string;
|
28
|
-
dropTitleCSS?: string;
|
29
|
-
optionWrapperCSS?: string;
|
30
|
-
modal?: boolean;
|
31
|
-
selectAll?: boolean;
|
32
|
-
selectAllText?: string;
|
33
|
-
emptyOptionsPlaceholder?: string;
|
34
|
-
}
|
1
|
+
import React from 'react';
|
2
|
+
import { Option } from '../components/Option';
|
3
|
+
import { SelectAccountValue } from '../components/SelectAccountValue';
|
4
|
+
import { ISelectDrawerProps } from '../types';
|
35
5
|
declare const SelectDrawer: React.ForwardRefExoticComponent<ISelectDrawerProps & React.RefAttributes<HTMLButtonElement>>;
|
36
|
-
export { SelectDrawer,
|
6
|
+
export { SelectDrawer, Option, SelectAccountValue };
|