@modul/mbui 0.0.37-beta-select-63def5da → 0.0.37-beta-select-b31f48a5
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/Calendar/index.js +1 -1
- package/dist/Chip/Chip.d.ts +1 -1
- package/dist/DatePicker/index.js +1 -1
- package/dist/Input-OTP/Input.d.ts +4 -4
- package/dist/Select/SelectDrawer.d.ts +34 -2
- package/dist/Select/index.js +2 -2
- package/dist/assets/css/global.css +1 -1
- package/dist/index.js +6 -6
- package/package.json +1 -1
| @@ -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" | "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>, "onChange" | "value" | " | 
| 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;
         | 
| @@ -1,3 +1,35 @@ | |
| 1 | 
            -
            import React from 'react';
         | 
| 2 | 
            -
             | 
| 1 | 
            +
            import React, { FC, ReactNode } from 'react';
         | 
| 2 | 
            +
            interface IOption {
         | 
| 3 | 
            +
                label: string;
         | 
| 4 | 
            +
                value: string;
         | 
| 5 | 
            +
                [key: string]: any;
         | 
| 6 | 
            +
            }
         | 
| 7 | 
            +
            interface IValue {
         | 
| 8 | 
            +
                isClearable?: boolean;
         | 
| 9 | 
            +
                onClear: (evt: React.MouseEvent<HTMLButtonElement>) => void;
         | 
| 10 | 
            +
                multiple?: boolean;
         | 
| 11 | 
            +
                selected: IOption[];
         | 
| 12 | 
            +
                placeholder: string | undefined;
         | 
| 13 | 
            +
            }
         | 
| 14 | 
            +
            interface ISelectDrawerProps {
         | 
| 15 | 
            +
                options?: [];
         | 
| 16 | 
            +
                onChange?: (value: string | string[]) => void;
         | 
| 17 | 
            +
                placeholder?: string;
         | 
| 18 | 
            +
                multiple?: boolean;
         | 
| 19 | 
            +
                isClearable?: boolean;
         | 
| 20 | 
            +
                isSearchable?: boolean;
         | 
| 21 | 
            +
                autoFocus?: boolean;
         | 
| 22 | 
            +
                disabled?: boolean;
         | 
| 23 | 
            +
                components?: {
         | 
| 24 | 
            +
                    OptionComponent?: (props: IOption) => ReactNode;
         | 
| 25 | 
            +
                    ValueComponent?: React.ElementType<IValue>;
         | 
| 26 | 
            +
                };
         | 
| 27 | 
            +
                menuListCSS?: string;
         | 
| 28 | 
            +
                triggerWrapperCSS?: string;
         | 
| 29 | 
            +
                dropWrapperCSS?: string;
         | 
| 30 | 
            +
                dropTitle?: string;
         | 
| 31 | 
            +
                dropTitleCSS?: string;
         | 
| 32 | 
            +
                optionWrapperCSS?: string;
         | 
| 33 | 
            +
            }
         | 
| 34 | 
            +
            declare const SelectDrawer: FC<ISelectDrawerProps>;
         | 
| 3 35 | 
             
            export { SelectDrawer };
         |