vrfi-design-system 1.1.9 → 1.1.11
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.d.ts +25 -3
- package/dist/main.es.js +3590 -3554
- package/dist/main.umd.js +78 -78
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ActionType } from '../../enums/trigger';
|
|
2
2
|
import { Align } from '../../enums/align.enum';
|
|
3
|
+
import { RadioProps as AntdRadioProps } from 'antd';
|
|
3
4
|
import { default as AuthBanner } from '../../views/Auth/AuthBanner';
|
|
4
5
|
import { AuthBannerTextType } from '../../views/Auth/AuthBanner/authBanner.constants';
|
|
5
6
|
import { default as AuthForm } from '../../views/Auth/AuthForm';
|
|
@@ -71,7 +72,6 @@ import { ProfileDetailFooterTypes } from '../../enums/profileDetailFooter.enum';
|
|
|
71
72
|
import { PropsWithChildren } from 'react';
|
|
72
73
|
import { RadioChangeEvent } from 'antd';
|
|
73
74
|
import { RadioGroupProps } from 'antd';
|
|
74
|
-
import { RadioProps as RadioProps_2 } from 'antd';
|
|
75
75
|
import { RateProps as RateProps_2 } from 'antd';
|
|
76
76
|
import { ReactElement } from 'react';
|
|
77
77
|
import { ReactNode } from 'react';
|
|
@@ -87,6 +87,7 @@ import { Size } from '../../enums/size.enum';
|
|
|
87
87
|
import { Size as Size_2 } from '../../../enums/size.enum';
|
|
88
88
|
import { SizeType } from 'antd/lib/config-provider/SizeContext';
|
|
89
89
|
import { SizeType as SizeType_2 } from 'antd/es/config-provider/SizeContext';
|
|
90
|
+
import { SliderRangeProps } from 'antd/lib/slider';
|
|
90
91
|
import { SliderSingleProps } from 'antd';
|
|
91
92
|
import { SorterResult } from 'antd/lib/table/interface';
|
|
92
93
|
import { SortOrder } from 'antd/lib/table/interface';
|
|
@@ -170,6 +171,8 @@ declare interface AgencyJobCardProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
170
171
|
|
|
171
172
|
export { Align }
|
|
172
173
|
|
|
174
|
+
export { AntdRadioProps }
|
|
175
|
+
|
|
173
176
|
export declare const ApplicationHeader: default_2.FC<ApplicationHeaderProps>;
|
|
174
177
|
|
|
175
178
|
export declare interface ApplicationHeaderProps {
|
|
@@ -329,6 +332,8 @@ export { ColumnSortOrder }
|
|
|
329
332
|
|
|
330
333
|
export { ColumnType }
|
|
331
334
|
|
|
335
|
+
export declare type CommonSliderProps = Omit<SliderSingleProps, "range" | "defaultValue"> & Omit<SliderRangeProps, "range" | "defaultValue">;
|
|
336
|
+
|
|
332
337
|
export declare const CustomAvatar: ({ name, size, imageUrl, isExtra, isTextImage, isWorkspace, workspaceSwitcher, }: CustomAvatarProps) => default_2.JSX.Element;
|
|
333
338
|
|
|
334
339
|
export declare type CustomAvatarProps = {
|
|
@@ -823,9 +828,13 @@ export declare interface ProfileDetailProps {
|
|
|
823
828
|
textImage?: boolean;
|
|
824
829
|
}
|
|
825
830
|
|
|
831
|
+
export { RadioChangeEvent }
|
|
832
|
+
|
|
826
833
|
export declare function RadioGroup({ name, required, label, options, customOnChange, ...rest }: RadioProps): default_2.JSX.Element;
|
|
827
834
|
|
|
828
|
-
export
|
|
835
|
+
export { RadioGroupProps }
|
|
836
|
+
|
|
837
|
+
export declare interface RadioProps extends AntdRadioProps, Pick<RadioGroupProps, "options"> {
|
|
829
838
|
name: string;
|
|
830
839
|
label?: string;
|
|
831
840
|
required?: boolean;
|
|
@@ -902,9 +911,22 @@ export declare interface SliderProps extends SliderSingleProps {
|
|
|
902
911
|
step?: number | null;
|
|
903
912
|
}
|
|
904
913
|
|
|
914
|
+
export declare const SliderRangeWithForm: default_2.FC<SliderRangeWithFormProps>;
|
|
915
|
+
|
|
916
|
+
export declare interface SliderRangeWithFormProps extends CommonSliderProps {
|
|
917
|
+
name: string;
|
|
918
|
+
labels?: string[];
|
|
919
|
+
isVertical?: boolean;
|
|
920
|
+
horizontalMarks?: boolean;
|
|
921
|
+
range?: boolean | {
|
|
922
|
+
draggableTrack: boolean;
|
|
923
|
+
};
|
|
924
|
+
defaultValue?: number | [number, number];
|
|
925
|
+
}
|
|
926
|
+
|
|
905
927
|
export declare const SliderWithForm: default_2.FC<SliderWithFormProps>;
|
|
906
928
|
|
|
907
|
-
|
|
929
|
+
declare interface SliderWithFormProps extends SliderSingleProps {
|
|
908
930
|
name: string;
|
|
909
931
|
labels: string[];
|
|
910
932
|
isVertical?: boolean;
|