karsten-design-system 1.2.74 → 1.2.76
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/index.js +11 -7
- package/dist/index.js.map +1 -1
- package/dist/stories/components/input.d.ts +2 -1
- package/dist/stories/components/transferList.d.ts +3 -1
- package/dist/types/stories/components/input.d.ts +2 -1
- package/dist/types/stories/components/transferList.d.ts +3 -1
- package/package.json +1 -1
|
@@ -9,10 +9,11 @@ export type InputProps = {
|
|
|
9
9
|
iconColor?: keyof typeof variants;
|
|
10
10
|
label?: string;
|
|
11
11
|
mask?: 'cpf' | 'cnpj' | 'numbers' | 'cellphone' | 'cep' | 'decimal' | 'phone' | 'currency';
|
|
12
|
+
isFloat?: boolean;
|
|
12
13
|
} & Omit<InputTextProps, 'onChange'>;
|
|
13
14
|
declare const variants: {
|
|
14
15
|
green: string;
|
|
15
16
|
gray: string;
|
|
16
17
|
};
|
|
17
|
-
export declare function Input({ onChange, placeholder, disabled, error, icon, onClickIcon, iconColor, label, mask, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function Input({ onChange, placeholder, disabled, error, icon, onClickIcon, iconColor, label, mask, isFloat, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
export {};
|
|
@@ -12,5 +12,7 @@ export type TransferListProps = {
|
|
|
12
12
|
searchPlaceholder?: string;
|
|
13
13
|
isLoading?: boolean;
|
|
14
14
|
isDisabled?: boolean;
|
|
15
|
+
disabledAvailable?: boolean;
|
|
16
|
+
disabledAssociated?: boolean;
|
|
15
17
|
};
|
|
16
|
-
export declare function TransferList({ allItems, associated, onChange, className, titleAvailable, titleAssociated, searchPlaceholder, isLoading, isDisabled, }: TransferListProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function TransferList({ allItems, associated, onChange, className, titleAvailable, titleAssociated, searchPlaceholder, isLoading, isDisabled, disabledAvailable, disabledAssociated, }: TransferListProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,10 +9,11 @@ export type InputProps = {
|
|
|
9
9
|
iconColor?: keyof typeof variants;
|
|
10
10
|
label?: string;
|
|
11
11
|
mask?: 'cpf' | 'cnpj' | 'numbers' | 'cellphone' | 'cep' | 'decimal' | 'phone' | 'currency';
|
|
12
|
+
isFloat?: boolean;
|
|
12
13
|
} & Omit<InputTextProps, 'onChange'>;
|
|
13
14
|
declare const variants: {
|
|
14
15
|
green: string;
|
|
15
16
|
gray: string;
|
|
16
17
|
};
|
|
17
|
-
export declare function Input({ onChange, placeholder, disabled, error, icon, onClickIcon, iconColor, label, mask, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function Input({ onChange, placeholder, disabled, error, icon, onClickIcon, iconColor, label, mask, isFloat, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
18
19
|
export {};
|
|
@@ -12,5 +12,7 @@ export type TransferListProps = {
|
|
|
12
12
|
searchPlaceholder?: string;
|
|
13
13
|
isLoading?: boolean;
|
|
14
14
|
isDisabled?: boolean;
|
|
15
|
+
disabledAvailable?: boolean;
|
|
16
|
+
disabledAssociated?: boolean;
|
|
15
17
|
};
|
|
16
|
-
export declare function TransferList({ allItems, associated, onChange, className, titleAvailable, titleAssociated, searchPlaceholder, isLoading, isDisabled, }: TransferListProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function TransferList({ allItems, associated, onChange, className, titleAvailable, titleAssociated, searchPlaceholder, isLoading, isDisabled, disabledAvailable, disabledAssociated, }: TransferListProps): import("react/jsx-runtime").JSX.Element;
|