vrfi-design-system 1.0.67 → 1.0.68

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 CHANGED
@@ -5,8 +5,9 @@ import { default as AuthForm } from '../../views/Auth/AuthForm';
5
5
  import { AuthFormProps } from './../../views/Auth/AuthForm/index';
6
6
  import { AvatarSize } from '../../enums/avatarSize.enum';
7
7
  import { AvatarSize as AvatarSize_2 } from '../../../enums/avatarSize.enum';
8
+ import { BadgeType } from '../../enums/badgeType.enum';
9
+ import { BadgeType as BadgeType_2 } from '../../../enums/badgeType.enum';
8
10
  import { BaseOptionType } from 'rc-select/lib/Select';
9
- import { default as Button } from 'antd/lib/button';
10
11
  import { ButtonType } from '../../enums/buttonType';
11
12
  import { ButtonType as ButtonType_2 } from 'antd/lib/button';
12
13
  import { CheckboxChangeEvent } from 'antd/es/checkbox';
@@ -38,6 +39,7 @@ import { GenderProfileEnum } from '../../enums/genderProfile.enum';
38
39
  import { GenderProfileEnum as GenderProfileEnum_2 } from '../../../enums/genderProfile.enum';
39
40
  import { HTMLAttributes } from 'react';
40
41
  import { HtmlButtonType } from '../../enums/buttonType';
42
+ import { HtmlButtonType as HtmlButtonType_2 } from '../../../enums/buttonType';
41
43
  import { Icons } from '../../enums/icons.enum';
42
44
  import { Icons as Icons_2 } from '../../../enums/icons.enum';
43
45
  import { InputProps } from 'antd/lib';
@@ -151,12 +153,22 @@ export declare function AvatarWithDetailsCard(props: AvatarCardProps): default_2
151
153
 
152
154
  export declare const AvatarWithInitials: ({ names }: AvatarProps) => default_2.JSX.Element;
153
155
 
154
- export { Button }
156
+ export declare const Badge: FC<BadgeProps>;
157
+
158
+ export declare interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
159
+ className?: string;
160
+ text: string;
161
+ type?: BadgeType_2;
162
+ }
163
+
164
+ export { BadgeType }
165
+
166
+ export declare const Button: FC<ButtonProps>;
155
167
 
156
168
  export declare interface ButtonProps {
157
- clickHandler?: (event: MouseEvent_2) => void;
169
+ onClick?: (event: MouseEvent_2) => void;
158
170
  children: ReactNode;
159
- htmlType?: "reset" | "submit" | "button";
171
+ htmlType?: HtmlButtonType_2;
160
172
  type?: ButtonType_2;
161
173
  className?: string;
162
174
  moduleClassName?: string;
@@ -168,6 +180,7 @@ export declare interface ButtonProps {
168
180
  target?: string;
169
181
  href?: string;
170
182
  block?: boolean;
183
+ outlinetype?: OutlineType;
171
184
  }
172
185
 
173
186
  export { ButtonType }
@@ -323,7 +336,8 @@ export declare interface DrawerProps extends DrawerProps_2 {
323
336
  size?: DrawerProps_2["size"];
324
337
  zIndex?: number;
325
338
  children: JSX_2.Element;
326
- placement?: 'top' | 'bottom' | 'left' | 'right';
339
+ placement?: "top" | "bottom" | "left" | "right";
340
+ subHeading?: string;
327
341
  }
328
342
 
329
343
  declare const Dropdown: <ValueType, OptionType extends BaseOptionType | DefaultOptionType = DefaultOptionType>({ title, ...props }: DropdownProps<ValueType, OptionType>) => default_2.JSX.Element;
@@ -335,6 +349,13 @@ export declare interface DropdownProps<ValueType, OptionType extends BaseOptionT
335
349
  title?: string;
336
350
  }
337
351
 
352
+ export declare const EllipsisWithTooltip: default_2.FC<EllipsisWithTooltipProps>;
353
+
354
+ export declare interface EllipsisWithTooltipProps {
355
+ text: string;
356
+ maxWidth?: number;
357
+ }
358
+
338
359
  declare type EmployerDataType = {
339
360
  name: string;
340
361
  startDate: string;
@@ -437,7 +458,7 @@ export declare interface ListingTableHeaderProps {
437
458
  actionButtons?: ReactNode;
438
459
  }
439
460
 
440
- export declare const ListItem: ({ text, iconName, ...props }: ListItemProps) => default_2.JSX.Element;
461
+ export declare const ListItem: ({ text, iconName, className, ...props }: ListItemProps) => default_2.JSX.Element;
441
462
 
442
463
  declare interface ListItemProps extends HTMLAttributes<HTMLSpanElement> {
443
464
  text: string;
@@ -463,7 +484,6 @@ export declare interface ModalProps extends ModalProps_2 {
463
484
  visible: boolean;
464
485
  width?: number;
465
486
  title?: string;
466
- footer?: JSX_2.Element[];
467
487
  confirmLoading?: boolean;
468
488
  modalTitleIcon?: string;
469
489
  modalType: ModalTypeEnum;
@@ -506,6 +526,8 @@ export declare const Offline: ({ children, }: PropsWithChildren<OfflineProps>) =
506
526
  declare interface OfflineProps {
507
527
  }
508
528
 
529
+ declare type OutlineType = "primary" | "danger" | "success";
530
+
509
531
  declare const PasswordField: ({ label, placeholder, required, ...rest }: CustomInputProps & PasswordProps) => default_2.JSX.Element;
510
532
  export { PasswordField as Password }
511
533
  export { PasswordField }