dt-shared-front 2.2.56-alpha.2 → 2.2.56-alpha.20
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/components/date-picker/date-picker.d.ts +2 -1
- package/dist/components/input/input.d.ts +1 -1
- package/dist/components/radio/radio.d.ts +2 -1
- package/dist/components/stacked-input/stacked-input.d.ts +2 -1
- package/dist/components/text-area/text-area.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.css +35 -35
- package/dist/main.css.map +1 -1
- package/package.json +1 -1
@@ -53,6 +53,7 @@ declare type IDatePickerProps = {
|
|
53
53
|
format?: string;
|
54
54
|
mask?: string;
|
55
55
|
labelPlaceholder?: string;
|
56
|
+
isWbTheme?: boolean;
|
56
57
|
} & ComponentProps<typeof AntDatePicker>;
|
57
|
-
export declare const DatePicker: ({ error, onClear, format, mask, labelPlaceholder, onClick, ...props }: IDatePickerProps) => React.JSX.Element;
|
58
|
+
export declare const DatePicker: ({ error, onClear, format, mask, labelPlaceholder, onClick, isWbTheme, ...props }: IDatePickerProps) => React.JSX.Element;
|
58
59
|
export {};
|
@@ -64,4 +64,4 @@ export declare const Input: React.ForwardRefExoticComponent<{
|
|
64
64
|
onPointerUp?: (e: any) => void;
|
65
65
|
onChange?: (value: string, event: ChangeEvent<HTMLInputElement>) => void;
|
66
66
|
onSearch?: ((val: string) => void) | ((val: string) => Promise<void>);
|
67
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
67
|
+
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "variant"> & React.RefAttributes<HTMLInputElement>>;
|
@@ -12,6 +12,7 @@ declare type IRadioProps<T> = Omit<RadioGroupProps, 'options' | 'onChange' | 'va
|
|
12
12
|
position?: 'vertical' | 'horizontal';
|
13
13
|
className?: string;
|
14
14
|
error?: boolean;
|
15
|
+
isWbTheme?: boolean;
|
15
16
|
};
|
16
|
-
export declare function Radio<T = any>({ options, position, valueKey, labelKey, labels, className, error, ...props }: IRadioProps<T>): React.JSX.Element;
|
17
|
+
export declare function Radio<T = any>({ options, position, valueKey, labelKey, labels, className, error, isWbTheme, ...props }: IRadioProps<T>): React.JSX.Element;
|
17
18
|
export {};
|
@@ -19,6 +19,7 @@ declare type IStackedInputProps<T> = {
|
|
19
19
|
mask?: IInputProps['mask'];
|
20
20
|
value?: string;
|
21
21
|
onRenderOption?: (item: T) => ReactNode;
|
22
|
+
isWbTheme?: boolean;
|
22
23
|
} & ComponentProps<typeof Input> & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'variant' | 'onChange'>;
|
23
|
-
export declare function StackedInput<T>({ onSelect, onRenderOption, options, option, ...props }: IStackedInputProps<T>): React.JSX.Element;
|
24
|
+
export declare function StackedInput<T>({ onSelect, onRenderOption, options, option, isWbTheme, ...props }: IStackedInputProps<T>): React.JSX.Element;
|
24
25
|
export {};
|
@@ -26,4 +26,4 @@ export declare const TextArea: React.ForwardRefExoticComponent<{
|
|
26
26
|
onClear?: () => void;
|
27
27
|
onSearch?: (e: any) => void;
|
28
28
|
onChange?: (value: string, event?: ChangeEvent<HTMLTextAreaElement>) => void;
|
29
|
-
} & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "
|
29
|
+
} & Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "size" | "variant"> & React.RefAttributes<HTMLTextAreaElement>>;
|