@acuteinfo/common-screens 1.0.17 → 1.0.18

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.
@@ -1,4 +1,4 @@
1
- export declare const ForgotPasswordFields: ({ classes, loginState, onSubmit, navigate, loginPageEndpoint }: {
1
+ export declare const ForgotPasswordFields: ({ classes, loginState, onSubmit, navigate, loginPageEndpoint, }: {
2
2
  classes: any;
3
3
  loginState: any;
4
4
  onSubmit: any;
@@ -1,4 +1,4 @@
1
- export declare const UsernamePasswordField: ({ classes, loginState, verifyUsernamePassword, forgotPasswordEndpoint }: {
1
+ export declare const UsernamePasswordField: ({ classes, loginState, verifyUsernamePassword, forgotPasswordEndpoint, }: {
2
2
  classes: any;
3
3
  loginState: any;
4
4
  verifyUsernamePassword: any;
@@ -0,0 +1,21 @@
1
+ /// <reference types="react" />
2
+ import "./styles.css";
3
+ import { NavigateFunction } from "react-router-dom";
4
+ interface BranchSelectionWrapperProps {
5
+ selectionMode: string;
6
+ authState: any;
7
+ isBranchSelectedFn: Function;
8
+ isLoggedInFn: Function;
9
+ logoutFn: Function;
10
+ branchSelectFn: Function;
11
+ BranchSelectionGridDataApiFn: Function;
12
+ GetMenuDataApiFn: any;
13
+ sideImage?: string;
14
+ logos: any;
15
+ logo?: string;
16
+ navigate: NavigateFunction;
17
+ dashboardUrl: string;
18
+ loginUrl: string;
19
+ }
20
+ export declare const BranchSelectionGridWrapper: React.FC<BranchSelectionWrapperProps>;
21
+ export {};
@@ -0,0 +1,2 @@
1
+ import { GridMetaDataType } from "@acuteinfo/common-base";
2
+ export declare const BranchSelectionGridMetaData: GridMetaDataType;
@@ -0,0 +1 @@
1
+ export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"logo" | "heading_user_img" | "heading_user_img_border">;
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@acuteinfo/common-screens",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "license": "MIT",
5
5
  "keywords": [
6
6
  "react",
@@ -78,6 +78,7 @@
78
78
  "@rollup/plugin-node-resolve": "^15.2.3",
79
79
  "@rollup/plugin-terser": "^0.4.4",
80
80
  "@rollup/plugin-typescript": "^11.1.6",
81
+ "@rollup/plugin-url": "^8.0.2",
81
82
  "@testing-library/jest-dom": "^4.2.4",
82
83
  "@testing-library/react": "^9.3.2",
83
84
  "@testing-library/user-event": "^7.1.2",
package/rollup.config.mjs CHANGED
@@ -5,6 +5,7 @@ import postcss from "rollup-plugin-postcss";
5
5
  import simplevars from "postcss-simple-vars";
6
6
  import nested from "postcss-nested";
7
7
  import nodePolyfills from "rollup-plugin-node-polyfills";
8
+ import url from "@rollup/plugin-url";
8
9
  import resolve from "@rollup/plugin-node-resolve";
9
10
  import commonjs from "@rollup/plugin-commonjs";
10
11
  import terser from "@rollup/plugin-terser";
@@ -46,5 +47,11 @@ export default defineConfig({
46
47
  extensions: [".css"],
47
48
  plugins: [simplevars(), nested()],
48
49
  }),
50
+ url({
51
+ include: ["**/*.png", "**/*.jpg", "**/*.jpeg", "**/*.gif", "**/*.svg"],
52
+ limit: 0,
53
+ emitFiles: true,
54
+ fileName: "[name][extname]",
55
+ }),
49
56
  ],
50
57
  });