dt-shared-front 2.2.55 → 2.2.56-alpha.1
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/button/button.d.ts +4 -2
- package/dist/components/checkbox/checkbox.d.ts +2 -1
- package/dist/components/counter/counter.d.ts +1 -0
- package/dist/components/heading/heading.d.ts +2 -1
- package/dist/components/input/input.d.ts +2 -0
- package/dist/components/select/select.d.ts +2 -1
- package/dist/components/text/text.d.ts +2 -1
- package/dist/components/tooltip/tooltip.d.ts +2 -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/dist/providers/shared.provider.d.ts +3 -1
- package/package.json +1 -1
@@ -8,7 +8,8 @@ export declare enum EButtonSize {
|
|
8
8
|
export declare enum EButtonVariant {
|
9
9
|
default = "default",
|
10
10
|
secondary = "secondary",
|
11
|
-
outline = "outline"
|
11
|
+
outline = "outline",
|
12
|
+
tertiary = "tertiary"
|
12
13
|
}
|
13
14
|
export declare enum EButtonIconPosition {
|
14
15
|
left = "left",
|
@@ -21,9 +22,10 @@ export interface IButtonProps {
|
|
21
22
|
width?: string;
|
22
23
|
iconPosition?: keyof typeof EButtonIconPosition;
|
23
24
|
loading?: boolean;
|
25
|
+
isWbTheme?: boolean;
|
24
26
|
disabled?: boolean;
|
25
27
|
className?: string;
|
26
28
|
type?: 'button' | 'submit' | 'reset';
|
27
29
|
onClick?: (e?: MouseEvent<HTMLButtonElement>) => void;
|
28
30
|
}
|
29
|
-
export declare const Button: ({ variant, size, iconPosition, width, icon: Icon, loading, disabled, children, className, onClick, type, }: PropsWithChildren<IButtonProps>) => React.JSX.Element;
|
31
|
+
export declare const Button: ({ variant, size, iconPosition, width, icon: Icon, loading, disabled, children, className, onClick, type, isWbTheme, }: PropsWithChildren<IButtonProps>) => React.JSX.Element;
|
@@ -7,5 +7,6 @@ export declare type ICheckboxProps = {
|
|
7
7
|
className?: string;
|
8
8
|
small?: boolean;
|
9
9
|
name?: string;
|
10
|
+
isWbTheme?: boolean;
|
10
11
|
};
|
11
|
-
export declare const Checkbox: ({ disabled, value, onChange, children, error, className }: PropsWithChildren<ICheckboxProps>) => React.JSX.Element;
|
12
|
+
export declare const Checkbox: ({ disabled, value, onChange, children, error, className, isWbTheme, }: PropsWithChildren<ICheckboxProps>) => React.JSX.Element;
|
@@ -38,6 +38,7 @@ interface IHeadingProps {
|
|
38
38
|
className?: string;
|
39
39
|
centerText?: boolean;
|
40
40
|
weight?: keyof typeof EHeadingWeight;
|
41
|
+
isWbTheme?: boolean;
|
41
42
|
}
|
42
|
-
export declare const Heading: ({ children, level, mobLevel, addition, attention, warning, success, inverse, error, variant, className, centerText, weight, }: IHeadingProps) => React.JSX.Element;
|
43
|
+
export declare const Heading: ({ children, level, mobLevel, addition, attention, warning, success, inverse, error, variant, className, centerText, weight, isWbTheme, }: IHeadingProps) => React.JSX.Element;
|
43
44
|
export {};
|
@@ -34,6 +34,7 @@ export declare type IInputProps = {
|
|
34
34
|
debounceTime?: number;
|
35
35
|
labelPlaceholder?: string | ReactNode;
|
36
36
|
mask?: string;
|
37
|
+
isWbTheme?: boolean;
|
37
38
|
onClear?: (val?: string) => void;
|
38
39
|
onBeforeMask?: (val?: string) => void;
|
39
40
|
onPointerUp?: (e: any) => void;
|
@@ -57,6 +58,7 @@ export declare const Input: React.ForwardRefExoticComponent<{
|
|
57
58
|
debounceTime?: number;
|
58
59
|
labelPlaceholder?: string | ReactNode;
|
59
60
|
mask?: string;
|
61
|
+
isWbTheme?: boolean;
|
60
62
|
onClear?: (val?: string) => void;
|
61
63
|
onBeforeMask?: (val?: string) => void;
|
62
64
|
onPointerUp?: (e: any) => void;
|
@@ -29,6 +29,7 @@ declare type ISelectProps<T> = Omit<SelectProps, 'options' | 'onChange'> & {
|
|
29
29
|
suffixIcon?: any;
|
30
30
|
isMobileModal?: boolean;
|
31
31
|
modalTitle?: string;
|
32
|
+
isWbTheme?: boolean;
|
32
33
|
};
|
33
|
-
export declare function Select<T = any>({ debounceTimeout, onServerSearch, onServerSearchGroup, onRenderOption, valueKey, labelKey, labelPlaceholder, labels, popupClassName, suffixIcon, stacked, error, isMobileModal, modalTitle, disabled, ...props }: ISelectProps<T>): React.JSX.Element;
|
34
|
+
export declare function Select<T = any>({ debounceTimeout, onServerSearch, onServerSearchGroup, onRenderOption, valueKey, labelKey, labelPlaceholder, labels, popupClassName, suffixIcon, stacked, error, isMobileModal, modalTitle, disabled, isWbTheme, ...props }: ISelectProps<T>): React.JSX.Element;
|
34
35
|
export {};
|
@@ -41,6 +41,7 @@ interface ITextProps {
|
|
41
41
|
through?: boolean;
|
42
42
|
tag?: string;
|
43
43
|
onClick?: (e: any) => void;
|
44
|
+
isWbTheme?: boolean;
|
44
45
|
}
|
45
|
-
export declare const Text: ({ children, size, mobSize, bold, weight, variant, addition, success, error, inverse, attention, warning, className, style, through, tag, onClick, }: ITextProps) => React.JSX.Element;
|
46
|
+
export declare const Text: ({ children, size, mobSize, bold, weight, variant, addition, success, error, inverse, attention, warning, className, style, through, tag, onClick, isWbTheme, }: ITextProps) => React.JSX.Element;
|
46
47
|
export {};
|
@@ -6,6 +6,7 @@ declare type ITootipProps = {
|
|
6
6
|
onOpenChange?: (val: boolean) => void;
|
7
7
|
placement?: keyof typeof TooltipPosition;
|
8
8
|
trigger?: any;
|
9
|
+
isWbTheme?: boolean;
|
9
10
|
};
|
10
|
-
export declare const Tooltip: ({ placement, ...props }: PropsWithChildren<ITootipProps>) => React.JSX.Element;
|
11
|
+
export declare const Tooltip: ({ placement, isWbTheme, ...props }: PropsWithChildren<ITootipProps>) => React.JSX.Element;
|
11
12
|
export {};
|