dfh-ui-library 1.12.150 → 1.12.151

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,6 +1,7 @@
1
1
  import React from "react";
2
2
  interface ArrowDropdownProps {
3
3
  username?: string;
4
+ themeColor?: string;
4
5
  handleLogout?: () => void;
5
6
  userImage?: string;
6
7
  }
@@ -1,4 +1,4 @@
1
1
  import React from "react";
2
2
  import { TabNavigationProps } from "../../shared/models/components/common.model";
3
- declare const NavBar: ({ navigationData, additionalClasses, navItemClick, isEnableLogout, handleLogout, userImage, }: TabNavigationProps) => React.JSX.Element;
3
+ declare const NavBar: ({ navigationData, additionalClasses, navItemClick, isEnableLogout, handleLogout, userImage, username, themeColor, }: TabNavigationProps) => React.JSX.Element;
4
4
  export default NavBar;
@@ -100,6 +100,8 @@ export interface TabNavigationProps extends AdditionalClassesProp {
100
100
  isEnableLogout?: boolean;
101
101
  handleLogout?: () => void;
102
102
  userImage?: string;
103
+ username?: string;
104
+ themeColor?: string;
103
105
  }
104
106
  export interface TabNavItemProps {
105
107
  isActive: boolean;
package/dist/index.d.ts CHANGED
@@ -70,6 +70,8 @@ interface TabNavigationProps extends AdditionalClassesProp$1 {
70
70
  isEnableLogout?: boolean;
71
71
  handleLogout?: () => void;
72
72
  userImage?: string;
73
+ username?: string;
74
+ themeColor?: string;
73
75
  }
74
76
  interface MessageProps {
75
77
  type: string;
@@ -1241,7 +1243,7 @@ declare const Logo: React__default.FC<LogoProps>;
1241
1243
 
1242
1244
  declare const LoadingSpinner: React__default.FC<AdditionalClassesProp$1>;
1243
1245
 
1244
- declare const NavBar: ({ navigationData, additionalClasses, navItemClick, isEnableLogout, handleLogout, userImage, }: TabNavigationProps) => React__default.JSX.Element;
1246
+ declare const NavBar: ({ navigationData, additionalClasses, navItemClick, isEnableLogout, handleLogout, userImage, username, themeColor, }: TabNavigationProps) => React__default.JSX.Element;
1245
1247
 
1246
1248
  declare const Message: ({ type, text, onClose }: MessageProps) => React__default.JSX.Element | undefined;
1247
1249
 
package/package.json CHANGED
@@ -1,109 +1,109 @@
1
- {
2
- "name": "dfh-ui-library",
3
- "version": "1.12.150",
4
- "description": "",
5
- "scripts": {
6
- "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
7
- "storybook": "storybook dev -p 6006",
8
- "build-storybook": "storybook build",
9
- "test": "jest"
10
- },
11
- "author": "DFH dev",
12
- "license": "ISC",
13
- "dependencies": {
14
- "@babel/preset-env": "^7.23.3",
15
- "@babel/preset-react": "^7.23.3",
16
- "@babel/preset-typescript": "^7.23.3",
17
- "@faker-js/faker": "^8.3.1",
18
- "@fontsource/inter": "^5.0.16",
19
- "@rollup/plugin-sucrase": "^5.0.2",
20
- "@rollup/plugin-terser": "^0.4.4",
21
- "@tailwindcss/forms": "^0.5.7",
22
- "@tanstack/react-table": "^8.11.3",
23
- "@types/react": "^18.2.37",
24
- "autoprefixer": "^10.4.16",
25
- "classnames": "^2.3.2",
26
- "dfh-form-generator": "^1.1.96",
27
- "formik": "^2.4.5",
28
- "lodash": "^4.17.21",
29
- "moment": "^2.29.4",
30
- "react": "^18.2.0",
31
- "react-datepicker": "^4.24.0",
32
- "react-dom": "^18.2.0",
33
- "react-input-mask": "^3.0.0-alpha.2",
34
- "react-phone-number-input": "^3.3.7",
35
- "react-select": "^5.8.0",
36
- "react-tooltip": "^5.26.3",
37
- "rollup-plugin-peer-deps-external": "^2.2.4",
38
- "rollup-plugin-scss": "^4.0.0",
39
- "signature_pad": "^4.2.0",
40
- "tailwindcss": "^3.3.5",
41
- "tsconfig-paths-webpack-plugin": "^4.1.0",
42
- "tslib": "^2.6.2",
43
- "typescript": "^5.2.2"
44
- },
45
- "devDependencies": {
46
- "@rollup/plugin-commonjs": "^25.0.7",
47
- "@rollup/plugin-node-resolve": "^15.2.3",
48
- "@rollup/plugin-typescript": "^11.1.5",
49
- "@storybook/addon-actions": "^7.6.3",
50
- "@storybook/addon-docs": "^7.5.3",
51
- "@storybook/addon-essentials": "^7.5.3",
52
- "@storybook/addon-interactions": "^7.5.3",
53
- "@storybook/addon-links": "^7.5.3",
54
- "@storybook/addon-onboarding": "^1.0.8",
55
- "@storybook/addon-postcss": "^2.0.0",
56
- "@storybook/blocks": "^7.5.3",
57
- "@storybook/cli": "^7.5.3",
58
- "@storybook/react": "^7.5.3",
59
- "@storybook/react-webpack5": "^7.5.3",
60
- "@storybook/testing-library": "^0.2.2",
61
- "@storybook/theming": "^7.5.3",
62
- "@testing-library/jest-dom": "^6.1.4",
63
- "@testing-library/react": "^14.1.2",
64
- "@testing-library/user-event": "^14.5.1",
65
- "@types/jest": "^29.5.9",
66
- "@types/react-datepicker": "^4.19.4",
67
- "@types/signature_pad": "^2.3.6",
68
- "@typescript-eslint/eslint-plugin": "^6.12.0",
69
- "@typescript-eslint/parser": "^6.12.0",
70
- "autoprefixer": "^10.4.16",
71
- "cssnano": "^6.0.1",
72
- "eslint": "^8.54.0",
73
- "eslint-plugin-react": "^7.33.2",
74
- "jest": "^29.7.0",
75
- "jest-environment-jsdom": "^29.7.0",
76
- "postcss": "^8.4.31",
77
- "postcss-cssnext": "^3.1.1",
78
- "postcss-import": "^15.1.0",
79
- "postcss-loader": "^7.3.3",
80
- "rollup": "^4.5.0",
81
- "rollup-plugin-css-only": "^4.5.2",
82
- "rollup-plugin-dts": "^6.1.0",
83
- "rollup-plugin-postcss": "^4.0.2",
84
- "storybook": "^7.5.3",
85
- "sugarss": "^4.0.1",
86
- "vite": "^5.0.0"
87
- },
88
- "peerDependencies": {
89
- "@tailwindcss/forms": "^0.5.7",
90
- "autoprefixer": "^10.4.16",
91
- "classnames": "^2.3.2",
92
- "cssnano": "^6.0.1",
93
- "lodash": "^4.17.21",
94
- "moment": "^2.29.4",
95
- "postcss": "^8.4.31",
96
- "postcss-cssnext": "^3.1.1",
97
- "postcss-import": "^15.1.0",
98
- "postcss-loader": "^7.3.3",
99
- "react": "^18.2.0",
100
- "react-dom": "^18.2.0",
101
- "tailwindcss": "^3.3.5"
102
- },
103
- "main": "dist/cjs/index.js",
104
- "module": "dist/esm/index.js",
105
- "files": [
106
- "dist"
107
- ],
108
- "types": "dist/index.d.ts"
109
- }
1
+ {
2
+ "name": "dfh-ui-library",
3
+ "version": "1.12.151",
4
+ "description": "",
5
+ "scripts": {
6
+ "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
7
+ "storybook": "storybook dev -p 6006",
8
+ "build-storybook": "storybook build",
9
+ "test": "jest"
10
+ },
11
+ "author": "DFH dev",
12
+ "license": "ISC",
13
+ "dependencies": {
14
+ "@babel/preset-env": "^7.23.3",
15
+ "@babel/preset-react": "^7.23.3",
16
+ "@babel/preset-typescript": "^7.23.3",
17
+ "@faker-js/faker": "^8.3.1",
18
+ "@fontsource/inter": "^5.0.16",
19
+ "@rollup/plugin-sucrase": "^5.0.2",
20
+ "@rollup/plugin-terser": "^0.4.4",
21
+ "@tailwindcss/forms": "^0.5.7",
22
+ "@tanstack/react-table": "^8.11.3",
23
+ "@types/react": "^18.2.37",
24
+ "autoprefixer": "^10.4.16",
25
+ "classnames": "^2.3.2",
26
+ "dfh-form-generator": "^1.1.96",
27
+ "formik": "^2.4.5",
28
+ "lodash": "^4.17.21",
29
+ "moment": "^2.29.4",
30
+ "react": "^18.2.0",
31
+ "react-datepicker": "^4.24.0",
32
+ "react-dom": "^18.2.0",
33
+ "react-input-mask": "^3.0.0-alpha.2",
34
+ "react-phone-number-input": "^3.3.7",
35
+ "react-select": "^5.8.0",
36
+ "react-tooltip": "^5.26.3",
37
+ "rollup-plugin-peer-deps-external": "^2.2.4",
38
+ "rollup-plugin-scss": "^4.0.0",
39
+ "signature_pad": "^4.2.0",
40
+ "tailwindcss": "^3.3.5",
41
+ "tsconfig-paths-webpack-plugin": "^4.1.0",
42
+ "tslib": "^2.6.2",
43
+ "typescript": "^5.2.2"
44
+ },
45
+ "devDependencies": {
46
+ "@rollup/plugin-commonjs": "^25.0.7",
47
+ "@rollup/plugin-node-resolve": "^15.2.3",
48
+ "@rollup/plugin-typescript": "^11.1.5",
49
+ "@storybook/addon-actions": "^7.6.3",
50
+ "@storybook/addon-docs": "^7.5.3",
51
+ "@storybook/addon-essentials": "^7.5.3",
52
+ "@storybook/addon-interactions": "^7.5.3",
53
+ "@storybook/addon-links": "^7.5.3",
54
+ "@storybook/addon-onboarding": "^1.0.8",
55
+ "@storybook/addon-postcss": "^2.0.0",
56
+ "@storybook/blocks": "^7.5.3",
57
+ "@storybook/cli": "^7.5.3",
58
+ "@storybook/react": "^7.5.3",
59
+ "@storybook/react-webpack5": "^7.5.3",
60
+ "@storybook/testing-library": "^0.2.2",
61
+ "@storybook/theming": "^7.5.3",
62
+ "@testing-library/jest-dom": "^6.1.4",
63
+ "@testing-library/react": "^14.1.2",
64
+ "@testing-library/user-event": "^14.5.1",
65
+ "@types/jest": "^29.5.9",
66
+ "@types/react-datepicker": "^4.19.4",
67
+ "@types/signature_pad": "^2.3.6",
68
+ "@typescript-eslint/eslint-plugin": "^6.12.0",
69
+ "@typescript-eslint/parser": "^6.12.0",
70
+ "autoprefixer": "^10.4.16",
71
+ "cssnano": "^6.0.1",
72
+ "eslint": "^8.54.0",
73
+ "eslint-plugin-react": "^7.33.2",
74
+ "jest": "^29.7.0",
75
+ "jest-environment-jsdom": "^29.7.0",
76
+ "postcss": "^8.4.31",
77
+ "postcss-cssnext": "^3.1.1",
78
+ "postcss-import": "^15.1.0",
79
+ "postcss-loader": "^7.3.3",
80
+ "rollup": "^4.5.0",
81
+ "rollup-plugin-css-only": "^4.5.2",
82
+ "rollup-plugin-dts": "^6.1.0",
83
+ "rollup-plugin-postcss": "^4.0.2",
84
+ "storybook": "^7.5.3",
85
+ "sugarss": "^4.0.1",
86
+ "vite": "^5.0.0"
87
+ },
88
+ "peerDependencies": {
89
+ "@tailwindcss/forms": "^0.5.7",
90
+ "autoprefixer": "^10.4.16",
91
+ "classnames": "^2.3.2",
92
+ "cssnano": "^6.0.1",
93
+ "lodash": "^4.17.21",
94
+ "moment": "^2.29.4",
95
+ "postcss": "^8.4.31",
96
+ "postcss-cssnext": "^3.1.1",
97
+ "postcss-import": "^15.1.0",
98
+ "postcss-loader": "^7.3.3",
99
+ "react": "^18.2.0",
100
+ "react-dom": "^18.2.0",
101
+ "tailwindcss": "^3.3.5"
102
+ },
103
+ "main": "dist/cjs/index.js",
104
+ "module": "dist/esm/index.js",
105
+ "files": [
106
+ "dist"
107
+ ],
108
+ "types": "dist/index.d.ts"
109
+ }
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import { IInputProps } from "../../../shared/models/components/base.model";
3
- /**
4
- * Primary UI component for user interaction
5
- */
6
- declare const AutoResizeTextarea: React.FC<IInputProps>;
7
- export default AutoResizeTextarea;
@@ -1 +0,0 @@
1
- export { default as AutoResizeTextarea } from "./AutoResizeTextarea";
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- import { IInputProps } from "../../../shared/models/components/base.model";
3
- /**
4
- * Primary UI component for user interaction
5
- */
6
- declare const AutoResizeTextarea: React.FC<IInputProps>;
7
- export default AutoResizeTextarea;
@@ -1 +0,0 @@
1
- export { default as AutoResizeTextarea } from "./AutoResizeTextarea";