@ambuj.bhaskar/react-component-library 0.23.0-alpha → 0.24.0-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,39 @@ 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
+ formConfig: {
996
+ [key: string]: {
997
+ label?: string;
998
+ type: "input" | "select" | "multiselect" | "checkbox";
999
+ width?: string;
1000
+ placeholder?: string;
1001
+ options?: {
1002
+ label: string;
1003
+ value: string;
1004
+ }[];
1005
+ };
1006
+ };
1007
+ formSchema?: Resolver<Record<string, unknown>>;
1008
+ formSubmitDisclaimer?: string;
1009
+ formSubmitButtonText?: string;
1010
+ formSubmitLoading?: boolean;
1011
+ onSubmit?: (data: any) => void;
1012
+ footerItems?: React.ReactNode;
1013
+ footerImage?: string;
1014
+ };
1015
+
982
1016
  declare type MapItem = {
983
1017
  position: TCoordinateType;
984
1018
  element: React.ReactNode;
@@ -1226,6 +1260,8 @@ export declare type RefreshProps = {
1226
1260
  showText?: boolean;
1227
1261
  };
1228
1262
 
1263
+ export { Resolver }
1264
+
1229
1265
  export declare const Select: React.FC<SelectProps>;
1230
1266
 
1231
1267
  export declare type SelectProps = {