dfh-ui-library 1.13.49 → 1.13.51
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Badge/Badge.d.ts +2 -2
- package/dist/cjs/types/components/ButtonGroupWithUpload/ButtonGroupWithUpload.d.ts +2 -2
- package/dist/cjs/types/components/CustomFileInput/CustomFileInput.d.ts +2 -2
- package/dist/cjs/types/components/Datepicker/DatePicker.d.ts +3 -3
- package/dist/cjs/types/components/FormElements/IconInput/IconInput.d.ts +2 -2
- package/dist/cjs/types/components/Gird/Grid.d.ts +2 -2
- package/dist/cjs/types/components/Gird/GridCheckBox.d.ts +2 -2
- package/dist/cjs/types/components/InputDatepicker/InputDatePicker.d.ts +3 -3
- package/dist/cjs/types/components/NotesEditor/NoteEditor.d.ts +2 -2
- package/dist/cjs/types/components/Signature/Signature.d.ts +2 -2
- package/dist/cjs/types/components/Timeline/TimeLineCards.d.ts +3 -3
- package/dist/cjs/types/index.d.ts +10 -10
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Badge/Badge.d.ts +2 -2
- package/dist/esm/types/components/ButtonGroupWithUpload/ButtonGroupWithUpload.d.ts +2 -2
- package/dist/esm/types/components/CustomFileInput/CustomFileInput.d.ts +2 -2
- package/dist/esm/types/components/Datepicker/DatePicker.d.ts +3 -3
- package/dist/esm/types/components/FormElements/IconInput/IconInput.d.ts +2 -2
- package/dist/esm/types/components/Gird/Grid.d.ts +2 -2
- package/dist/esm/types/components/Gird/GridCheckBox.d.ts +2 -2
- package/dist/esm/types/components/InputDatepicker/InputDatePicker.d.ts +3 -3
- package/dist/esm/types/components/NotesEditor/NoteEditor.d.ts +2 -2
- package/dist/esm/types/components/Signature/Signature.d.ts +2 -2
- package/dist/esm/types/components/Timeline/TimeLineCards.d.ts +3 -3
- package/dist/esm/types/index.d.ts +10 -10
- package/package.json +10 -5
@@ -1,4 +1,4 @@
|
|
1
|
-
import React from
|
2
|
-
import { IBadgeProps } from
|
1
|
+
import React from 'react';
|
2
|
+
import { IBadgeProps } from '../../shared/models/components/common.model';
|
3
3
|
declare const Badge: React.FC<IBadgeProps>;
|
4
4
|
export default Badge;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React from
|
2
|
-
import { ButtonGroupWithUploadProps } from
|
1
|
+
import React from 'react';
|
2
|
+
import { ButtonGroupWithUploadProps } from '../../shared/models/components/common.model';
|
3
3
|
declare const ButtonGroupWithUpload: React.FC<ButtonGroupWithUploadProps>;
|
4
4
|
export default ButtonGroupWithUpload;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React from
|
2
|
-
import { CustomFileInputProps } from
|
1
|
+
import React from 'react';
|
2
|
+
import { CustomFileInputProps } from '../../shared/models/components/common.model';
|
3
3
|
declare const CustomFileInput: React.FC<CustomFileInputProps>;
|
4
4
|
export default CustomFileInput;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import React from
|
2
|
-
import
|
3
|
-
import { CustomDatePickerProps } from
|
1
|
+
import React from 'react';
|
2
|
+
import '../../shared/customCss/react-datepicker.css';
|
3
|
+
import { CustomDatePickerProps } from '../../shared/models/components/common.model';
|
4
4
|
declare const CustomDatePicker: React.FC<CustomDatePickerProps>;
|
5
5
|
export default CustomDatePicker;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { FC } from
|
2
|
-
import { IHookFormsInputProps } from
|
1
|
+
import { FC } from 'react';
|
2
|
+
import { IHookFormsInputProps } from '../../../shared/models/components/base.model';
|
3
3
|
/**
|
4
4
|
* Primary UI component for user interaction
|
5
5
|
*/
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React from
|
2
|
-
import { TableProps } from
|
1
|
+
import React from 'react';
|
2
|
+
import { TableProps } from '../../shared/models/components/common.model';
|
3
3
|
export declare function Table({ data, columns, sorting, onSortingChange, pagination, onPaginationChange, totalRecords, isManualPagination, // true for server-side pagination
|
4
4
|
isManualSorting, rowClick, containerHeightRemoveInPixel, setRowSelection, isLoading, }: TableProps, key?: any): React.JSX.Element;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import React from
|
2
|
-
import
|
3
|
-
import { CustomDatePickerProps } from
|
1
|
+
import React from 'react';
|
2
|
+
import '../../shared/customCss/react-datepicker.css';
|
3
|
+
import { CustomDatePickerProps } from '../../shared/models/components/common.model';
|
4
4
|
declare const InputDatePicker: React.FC<CustomDatePickerProps>;
|
5
5
|
export default InputDatePicker;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React from
|
2
|
-
import { NoteComponentProps } from
|
1
|
+
import React from 'react';
|
2
|
+
import { NoteComponentProps } from '../../shared/models/components/common.model';
|
3
3
|
declare const NoteEditor: React.FC<NoteComponentProps>;
|
4
4
|
export default NoteEditor;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import React from
|
2
|
-
import { SignatureProps } from
|
1
|
+
import React from 'react';
|
2
|
+
import { SignatureProps } from '../../shared/models/components/common.model';
|
3
3
|
declare const Signature: React.FC<SignatureProps>;
|
4
4
|
export default Signature;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import React from
|
2
|
-
import { ISolutionvalues, NoteProps, TimelineEventProps } from
|
3
|
-
import { ITodoToggleRequestParams } from
|
1
|
+
import React from 'react';
|
2
|
+
import { ISolutionvalues, NoteProps, TimelineEventProps } from '../../shared/models/components/common.model';
|
3
|
+
import { ITodoToggleRequestParams } from '../SideBarListView/todos';
|
4
4
|
export declare const getTimeLineCards: (eventData: TimelineEventProps, setShowCompleteNote: (isShow: boolean) => void, showCompleteNote: boolean, handleEditItemTimeLine: any, navigateAction?: (timeLineNavReq?: ISolutionvalues, type?: string) => void, surveyId?: string, showNote?: boolean, setShowNote?: (isSet: boolean) => void, enableEdit?: boolean, toggleEdit?: (isShow: boolean) => void, viewNoteHistory?: any, lastModified?: string, saveNoteValues?: any, setEnableEdit?: (isEnable: boolean) => void, surveyDate?: string, type?: string[], showAll?: boolean, isChallengeTimeline?: boolean, handleCopyCurrentNote?: (note: NoteProps) => void) => React.JSX.Element;
|
5
5
|
export declare const NoteCard: React.FC<{
|
6
6
|
eventData?: TimelineEventProps;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import
|
2
|
-
export * from
|
3
|
-
export * from
|
4
|
-
export { VariantTypes, BorderType, LogoProps, } from
|
5
|
-
export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, NoteChildrenProps, NoteProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, ISolutionvalues, AccountPopoverMenuItem } from
|
6
|
-
export { ColumnDef, SortingState } from
|
7
|
-
export { usePagination } from
|
8
|
-
export { useSorting } from
|
9
|
-
export { themeConfigs } from
|
10
|
-
export { NoteHistoryProps } from
|
1
|
+
import './index.css';
|
2
|
+
export * from './components';
|
3
|
+
export * from './hooks';
|
4
|
+
export { VariantTypes, BorderType, LogoProps, } from './shared/models/components/base.model';
|
5
|
+
export { DropdownSearchProps, ClickedAction, TimelineEventProps, ListMasterDataProps, BtnOptionDropdown, BADGETYPE, OptionProps, NoteItemProps, NoteChildrenProps, NoteProps, UrgentDataProps, MessageProps, InputType, BadgeColorVariant, ISolutionvalues, AccountPopoverMenuItem, } from './shared/models/components/common.model';
|
6
|
+
export { ColumnDef, SortingState } from '@tanstack/react-table';
|
7
|
+
export { usePagination } from './hooks/usePagination';
|
8
|
+
export { useSorting } from './hooks/useSorting';
|
9
|
+
export { themeConfigs } from './shared/configs/themeConfig';
|
10
|
+
export { NoteHistoryProps } from './shared/models/components/common.model';
|
package/package.json
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "dfh-ui-library",
|
3
|
-
"version": "1.13.
|
3
|
+
"version": "1.13.51",
|
4
4
|
"description": "",
|
5
5
|
"scripts": {
|
6
6
|
"build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
|
7
7
|
"storybook": "storybook dev -p 6006",
|
8
8
|
"build-storybook": "storybook build",
|
9
9
|
"test": "jest",
|
10
|
-
"
|
10
|
+
"lint": "eslint . --ext ts,tsx,js,jsx --quiet",
|
11
|
+
"chromatic": "npx chromatic --auto-accept-changes"
|
11
12
|
},
|
12
13
|
"author": "DFH dev",
|
13
14
|
"license": "ISC",
|
@@ -35,6 +36,7 @@
|
|
35
36
|
"react-input-mask": "^3.0.0-alpha.2",
|
36
37
|
"react-phone-number-input": "^3.4.11",
|
37
38
|
"react-select": "^5.8.0",
|
39
|
+
"react-tag-input": "^6.10.6",
|
38
40
|
"react-tooltip": "^5.26.3",
|
39
41
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
40
42
|
"rollup-plugin-scss": "^4.0.0",
|
@@ -69,13 +71,16 @@
|
|
69
71
|
"@types/jest": "^29.5.9",
|
70
72
|
"@types/react-datepicker": "^4.19.4",
|
71
73
|
"@types/signature_pad": "^2.3.6",
|
72
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
73
|
-
"@typescript-eslint/parser": "^6.
|
74
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
75
|
+
"@typescript-eslint/parser": "^6.21.0",
|
74
76
|
"autoprefixer": "^10.4.16",
|
75
77
|
"chromatic": "^11.28.0",
|
76
78
|
"cssnano": "^6.0.1",
|
77
|
-
"eslint": "^8.
|
79
|
+
"eslint": "^8.57.1",
|
80
|
+
"eslint-config-prettier": "^10.1.2",
|
81
|
+
"eslint-plugin-prettier": "^5.2.6",
|
78
82
|
"eslint-plugin-react": "^7.33.2",
|
83
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
79
84
|
"jest": "^29.7.0",
|
80
85
|
"jest-environment-jsdom": "^29.7.0",
|
81
86
|
"postcss": "^8.4.31",
|