@ambuj.bhaskar/react-component-library 0.23.0-alpha → 0.23.1-alpha

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
@@ -6,6 +6,7 @@ import { PopoverProps as PopoverProps_2 } from 'antd';
6
6
  import * as React_2 from 'react';
7
7
  import { ReactNode } from 'react';
8
8
  import { RefObject } from 'react';
9
+ import { Resolver } from 'react-hook-form';
9
10
  import { SetStateAction } from 'react';
10
11
  import { TableProps as TableProps_2 } from 'antd';
11
12
  import { TimeRangePickerProps } from 'antd';
@@ -979,6 +980,42 @@ export declare interface LoggedUser {
979
980
  userObj: LoggedInUser;
980
981
  }
981
982
 
983
+ export declare const LoginPage: React.FC<LoginPageProps>;
984
+
985
+ export declare type LoginPageProps = {
986
+ className?: string;
987
+ width?: string;
988
+ height?: string;
989
+ elementSize?: "s" | "m" | "l";
990
+ bannerImage?: string;
991
+ showAwirosLogo?: boolean;
992
+ title?: string;
993
+ description?: string;
994
+ headerImage?: string;
995
+ headerImageMargin?: CSSstring;
996
+ formConfig: {
997
+ [key: string]: {
998
+ label?: string;
999
+ type: "input" | "select" | "multiselect" | "checkbox";
1000
+ width?: string;
1001
+ placeholder?: string;
1002
+ options?: {
1003
+ label: string;
1004
+ value: string;
1005
+ }[];
1006
+ required?: boolean;
1007
+ };
1008
+ };
1009
+ formSchema?: Resolver;
1010
+ formSubmitDisclaimer?: string;
1011
+ formSubmitButtonText?: string;
1012
+ formSubmitLoading?: boolean;
1013
+ onSubmit?: (data: any) => void;
1014
+ footerItems?: React.ReactNode;
1015
+ footerImage?: string;
1016
+ footerImageMargin?: CSSstring;
1017
+ };
1018
+
982
1019
  declare type MapItem = {
983
1020
  position: TCoordinateType;
984
1021
  element: React.ReactNode;
@@ -1226,6 +1263,8 @@ export declare type RefreshProps = {
1226
1263
  showText?: boolean;
1227
1264
  };
1228
1265
 
1266
+ export { Resolver }
1267
+
1229
1268
  export declare const Select: React.FC<SelectProps>;
1230
1269
 
1231
1270
  export declare type SelectProps = {