dfh-ui-library 1.12.165 → 1.12.166
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/README.md +118 -118
- package/dist/cjs/index.css +1 -1
- package/dist/cjs/index.css.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Button/Button.handler.d.ts +1 -1
- package/dist/cjs/types/components/FilterButtonGroup/Checkbox.d.ts +1 -3
- package/dist/cjs/types/components/FormElements/AutoResizeTextarea/AutoResizeTextarea.d.ts +7 -0
- package/dist/cjs/types/components/FormElements/AutoResizeTextarea/index.d.ts +1 -0
- package/dist/cjs/types/components/SideBarListView/todos.d.ts +0 -8
- package/dist/cjs/types/components/Timeline/NoteView.d.ts +0 -2
- package/dist/cjs/types/shared/models/components/common.model.d.ts +0 -2
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Button/Button.handler.d.ts +1 -1
- package/dist/esm/types/components/FilterButtonGroup/Checkbox.d.ts +1 -3
- package/dist/esm/types/components/FormElements/AutoResizeTextarea/AutoResizeTextarea.d.ts +7 -0
- package/dist/esm/types/components/FormElements/AutoResizeTextarea/index.d.ts +1 -0
- package/dist/esm/types/components/SideBarListView/todos.d.ts +0 -8
- package/dist/esm/types/components/Timeline/NoteView.d.ts +0 -2
- package/dist/esm/types/shared/models/components/common.model.d.ts +0 -2
- package/dist/index.d.ts +1 -13
- package/package.json +109 -109
- package/dist/cjs/types/components/History/NoteEvent.d.ts +0 -4
- package/dist/cjs/types/components/History/NoteEventView.d.ts +0 -7
- package/dist/esm/types/components/History/NoteEvent.d.ts +0 -4
- package/dist/esm/types/components/History/NoteEventView.d.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const handleButtonClasses: (variants?: string | undefined) => "bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-[52px] text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-9 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-9 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-7 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-7 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-11 bg-[#006CD0] text-21s text-white" | "text-16s h-10 bg-[#006CD0] text-21s text-white !p-0 !px-2" | "
|
|
1
|
+
export declare const handleButtonClasses: (variants?: string | undefined) => "bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-[52px] text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-9 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-9 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-14s h-7 bg-[#333333] text-white hover:bg-gray-700" | "text-14s h-7 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 text-base font-semibold leading-5 border border-solid border-[#CDCED6] bg-white" | "text-16s h-11 bg-[#333333] text-white hover:bg-gray-700" | "text-16s h-11 bg-[#006CD0] text-21s text-white" | "text-16s h-10 bg-[#006CD0] text-21s text-white !p-0 !px-2" | "bg-[#006CD0] text-12s text-white" | "text-21s text-black-540 border border-[#CDCED6] bg-white" | "text-21s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "text-12s border text-black-540 border-0 bg-[#F1F5F9]" | "text-21s text-black-540 border border-0 bg-white" | "text-21s text-white border border-0 bg-[#006CD0]" | "text-21s text-white border border-0 bg-pinkRead" | "h-8 text-12s text-black-540 border border-[#CDCED6] bg-white" | "flex text-12s h-8 bg-[#006CD0] text-white" | "h-8 text-12s border text-btn-main border-[#006CD0] bg-[#F1F5F9]" | "h-11 text-21s border border-0 bg-white" | "h-8 text-21s border border-0 bg-transparent" | undefined;
|
|
@@ -2,10 +2,8 @@ import React from "react";
|
|
|
2
2
|
interface CheckboxProps {
|
|
3
3
|
id?: string;
|
|
4
4
|
checked?: boolean;
|
|
5
|
-
onChange: (
|
|
5
|
+
onChange: (id?: string) => void;
|
|
6
6
|
addtionalClasses?: string;
|
|
7
|
-
noteId?: string;
|
|
8
|
-
noteIndex?: number;
|
|
9
7
|
}
|
|
10
8
|
declare const CheckBoxComponent: React.FC<CheckboxProps>;
|
|
11
9
|
export default CheckBoxComponent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AutoResizeTextarea } from "./AutoResizeTextarea";
|
|
@@ -1,18 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ListMasterDataProps, UrgentDataProps } from "../../shared/models/components/common.model";
|
|
3
|
-
export interface ITodoToggleRequestParams {
|
|
4
|
-
noteId?: string;
|
|
5
|
-
toggleOptions: {
|
|
6
|
-
noteIndex: number;
|
|
7
|
-
check: boolean;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
3
|
interface todosProps {
|
|
11
4
|
urgentDataList: UrgentDataProps[];
|
|
12
5
|
listMasterData?: ListMasterDataProps;
|
|
13
6
|
detailAction?: (rowId: string | undefined) => void;
|
|
14
7
|
handleNameClick?: (id?: string) => void;
|
|
15
|
-
toggleDashboardTodoCheckbox?: (req: ITodoToggleRequestParams) => Promise<any>;
|
|
16
8
|
}
|
|
17
9
|
declare const Todos: React.FC<todosProps>;
|
|
18
10
|
export default Todos;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { NoteItemProps } from "../../shared/models/components/common.model";
|
|
3
|
-
import { ITodoToggleRequestParams } from "../SideBarListView/todos";
|
|
4
3
|
interface NoteViewProps {
|
|
5
4
|
notes?: NoteItemProps[];
|
|
6
5
|
addtionalClassesCheckboxLabel?: string;
|
|
7
|
-
toggleDashboardTodoCheckbox?: (req: ITodoToggleRequestParams) => Promise<any>;
|
|
8
6
|
}
|
|
9
7
|
declare const NotesView: React.FC<NoteViewProps>;
|
|
10
8
|
export default NotesView;
|
|
@@ -770,12 +770,10 @@ export interface NoteOptionsProps {
|
|
|
770
770
|
checked?: boolean;
|
|
771
771
|
}
|
|
772
772
|
export interface NoteItemProps {
|
|
773
|
-
noteId?: string;
|
|
774
773
|
isChecked?: boolean;
|
|
775
774
|
text?: string | undefined;
|
|
776
775
|
enableCheckbox?: boolean;
|
|
777
776
|
additonalInfo?: any;
|
|
778
|
-
noteIndex?: number;
|
|
779
777
|
}
|
|
780
778
|
export interface NoteComponentProps {
|
|
781
779
|
onAdd?: (items: NoteProps, serveyId?: string) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -640,12 +640,10 @@ interface UserHistoryDetails {
|
|
|
640
640
|
fullName: string;
|
|
641
641
|
}
|
|
642
642
|
interface NoteItemProps {
|
|
643
|
-
noteId?: string;
|
|
644
643
|
isChecked?: boolean;
|
|
645
644
|
text?: string | undefined;
|
|
646
645
|
enableCheckbox?: boolean;
|
|
647
646
|
additonalInfo?: any;
|
|
648
|
-
noteIndex?: number;
|
|
649
647
|
}
|
|
650
648
|
interface NoteComponentProps {
|
|
651
649
|
onAdd?: (items: NoteProps, serveyId?: string) => void;
|
|
@@ -1437,26 +1435,16 @@ declare const ButtonGroupMultiSelect: React__default.FC<ButtonGroupMultiProps>;
|
|
|
1437
1435
|
interface CheckboxProps {
|
|
1438
1436
|
id?: string;
|
|
1439
1437
|
checked?: boolean;
|
|
1440
|
-
onChange: (
|
|
1438
|
+
onChange: (id?: string) => void;
|
|
1441
1439
|
addtionalClasses?: string;
|
|
1442
|
-
noteId?: string;
|
|
1443
|
-
noteIndex?: number;
|
|
1444
1440
|
}
|
|
1445
1441
|
declare const CheckBoxComponent: React__default.FC<CheckboxProps>;
|
|
1446
1442
|
|
|
1447
|
-
interface ITodoToggleRequestParams {
|
|
1448
|
-
noteId?: string;
|
|
1449
|
-
toggleOptions: {
|
|
1450
|
-
noteIndex: number;
|
|
1451
|
-
check: boolean;
|
|
1452
|
-
};
|
|
1453
|
-
}
|
|
1454
1443
|
interface todosProps {
|
|
1455
1444
|
urgentDataList: UrgentDataProps[];
|
|
1456
1445
|
listMasterData?: ListMasterDataProps;
|
|
1457
1446
|
detailAction?: (rowId: string | undefined) => void;
|
|
1458
1447
|
handleNameClick?: (id?: string) => void;
|
|
1459
|
-
toggleDashboardTodoCheckbox?: (req: ITodoToggleRequestParams) => Promise<any>;
|
|
1460
1448
|
}
|
|
1461
1449
|
declare const Todos: React__default.FC<todosProps>;
|
|
1462
1450
|
|
package/package.json
CHANGED
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dfh-ui-library",
|
|
3
|
-
"version": "1.12.
|
|
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.166",
|
|
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
|
+
}
|