dfh-ui-library 1.12.177 → 1.12.178
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.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/base.model.d.ts +2 -0
- package/dist/cjs/types/shared/models/components/common.model.d.ts +0 -4
- 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/base.model.d.ts +2 -0
- package/dist/esm/types/shared/models/components/common.model.d.ts +0 -4
- package/dist/index.d.ts +11 -22
- package/package.json +1 -1
- 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) => void;
|
|
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) => void;
|
|
8
6
|
}
|
|
9
7
|
declare const NotesView: React.FC<NoteViewProps>;
|
|
10
8
|
export default NotesView;
|
|
@@ -591,6 +591,8 @@ export interface ITabProps extends AdditionalClassesProp {
|
|
|
591
591
|
label: string;
|
|
592
592
|
/** Unique identifier for the tab. */
|
|
593
593
|
value: string;
|
|
594
|
+
/** Count value for the tab. */
|
|
595
|
+
count?: string | null;
|
|
594
596
|
/** Active tab identifier (optional). */
|
|
595
597
|
activeTab?: string;
|
|
596
598
|
/** Callback on tab click (optional). */
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
2
|
import { VariantTypes } from "./base.model";
|
|
3
3
|
import { ColumnDef, OnChangeFn, PaginationState, SortingState } from "@tanstack/react-table";
|
|
4
|
-
import { ITodoToggleRequestParams } from "../../../components/SideBarListView/todos";
|
|
5
4
|
export type AlignmentType = "center" | "left" | "right";
|
|
6
5
|
export type IconColorTypes = "white" | "black-900" | "gray-220" | "gray-720" | "inherit" | "gray-300" | string;
|
|
7
6
|
export type IconHoverColorTypes = "white" | "black-900" | "gray-220" | "inherit";
|
|
@@ -687,7 +686,6 @@ export interface SideBarListProps {
|
|
|
687
686
|
detailAction?: (value: string | undefined) => void;
|
|
688
687
|
handleNameClick?: (id?: string) => void;
|
|
689
688
|
handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
|
|
690
|
-
toggleDashboardTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
|
691
689
|
}
|
|
692
690
|
export interface UrgentDataProps {
|
|
693
691
|
fullName?: string | undefined;
|
|
@@ -772,12 +770,10 @@ export interface NoteOptionsProps {
|
|
|
772
770
|
checked?: boolean;
|
|
773
771
|
}
|
|
774
772
|
export interface NoteItemProps {
|
|
775
|
-
noteId?: string;
|
|
776
773
|
isChecked?: boolean;
|
|
777
774
|
text?: string | undefined;
|
|
778
775
|
enableCheckbox?: boolean;
|
|
779
776
|
additonalInfo?: any;
|
|
780
|
-
noteIndex?: number;
|
|
781
777
|
}
|
|
782
778
|
export interface NoteComponentProps {
|
|
783
779
|
onAdd?: (items: NoteProps, serveyId?: string) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,22 +4,6 @@ import React__default, { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTML
|
|
|
4
4
|
import { ColumnDef, OnChangeFn, SortingState, PaginationState } from '@tanstack/react-table';
|
|
5
5
|
export { ColumnDef, SortingState } from '@tanstack/react-table';
|
|
6
6
|
|
|
7
|
-
interface ITodoToggleRequestParams {
|
|
8
|
-
noteId?: string;
|
|
9
|
-
toggleOptions: {
|
|
10
|
-
noteIndex: number;
|
|
11
|
-
check: boolean;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
interface todosProps {
|
|
15
|
-
urgentDataList: UrgentDataProps[];
|
|
16
|
-
listMasterData?: ListMasterDataProps;
|
|
17
|
-
detailAction?: (rowId: string | undefined) => void;
|
|
18
|
-
handleNameClick?: (id?: string) => void;
|
|
19
|
-
toggleDashboardTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
|
20
|
-
}
|
|
21
|
-
declare const Todos: React__default.FC<todosProps>;
|
|
22
|
-
|
|
23
7
|
type AlignmentType = "center" | "left" | "right";
|
|
24
8
|
type IconColorTypes = "white" | "black-900" | "gray-220" | "gray-720" | "inherit" | "gray-300" | string;
|
|
25
9
|
type IconHoverColorTypes = "white" | "black-900" | "gray-220" | "inherit";
|
|
@@ -576,7 +560,6 @@ interface SideBarListProps {
|
|
|
576
560
|
detailAction?: (value: string | undefined) => void;
|
|
577
561
|
handleNameClick?: (id?: string) => void;
|
|
578
562
|
handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
|
|
579
|
-
toggleDashboardTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
|
|
580
563
|
}
|
|
581
564
|
interface UrgentDataProps {
|
|
582
565
|
fullName?: string | undefined;
|
|
@@ -657,12 +640,10 @@ interface UserHistoryDetails {
|
|
|
657
640
|
fullName: string;
|
|
658
641
|
}
|
|
659
642
|
interface NoteItemProps {
|
|
660
|
-
noteId?: string;
|
|
661
643
|
isChecked?: boolean;
|
|
662
644
|
text?: string | undefined;
|
|
663
645
|
enableCheckbox?: boolean;
|
|
664
646
|
additonalInfo?: any;
|
|
665
|
-
noteIndex?: number;
|
|
666
647
|
}
|
|
667
648
|
interface NoteComponentProps {
|
|
668
649
|
onAdd?: (items: NoteProps, serveyId?: string) => void;
|
|
@@ -1128,6 +1109,8 @@ interface ITabProps extends AdditionalClassesProp {
|
|
|
1128
1109
|
label: string;
|
|
1129
1110
|
/** Unique identifier for the tab. */
|
|
1130
1111
|
value: string;
|
|
1112
|
+
/** Count value for the tab. */
|
|
1113
|
+
count?: string | null;
|
|
1131
1114
|
/** Active tab identifier (optional). */
|
|
1132
1115
|
activeTab?: string;
|
|
1133
1116
|
/** Callback on tab click (optional). */
|
|
@@ -1454,13 +1437,19 @@ declare const ButtonGroupMultiSelect: React__default.FC<ButtonGroupMultiProps>;
|
|
|
1454
1437
|
interface CheckboxProps {
|
|
1455
1438
|
id?: string;
|
|
1456
1439
|
checked?: boolean;
|
|
1457
|
-
onChange: (
|
|
1440
|
+
onChange: (id?: string) => void;
|
|
1458
1441
|
addtionalClasses?: string;
|
|
1459
|
-
noteId?: string;
|
|
1460
|
-
noteIndex?: number;
|
|
1461
1442
|
}
|
|
1462
1443
|
declare const CheckBoxComponent: React__default.FC<CheckboxProps>;
|
|
1463
1444
|
|
|
1445
|
+
interface todosProps {
|
|
1446
|
+
urgentDataList: UrgentDataProps[];
|
|
1447
|
+
listMasterData?: ListMasterDataProps;
|
|
1448
|
+
detailAction?: (rowId: string | undefined) => void;
|
|
1449
|
+
handleNameClick?: (id?: string) => void;
|
|
1450
|
+
}
|
|
1451
|
+
declare const Todos: React__default.FC<todosProps>;
|
|
1452
|
+
|
|
1464
1453
|
interface UrgentChallengeProps {
|
|
1465
1454
|
urgentDataList: UrgentDataProps[];
|
|
1466
1455
|
listMasterData?: ListMasterDataProps;
|
package/package.json
CHANGED