dfh-ui-library 1.12.171 → 1.12.172

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 { 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";
4
5
  export type AlignmentType = "center" | "left" | "right";
5
6
  export type IconColorTypes = "white" | "black-900" | "gray-220" | "gray-720" | "inherit" | "gray-300" | string;
6
7
  export type IconHoverColorTypes = "white" | "black-900" | "gray-220" | "inherit";
@@ -686,6 +687,7 @@ export interface SideBarListProps {
686
687
  detailAction?: (value: string | undefined) => void;
687
688
  handleNameClick?: (id?: string) => void;
688
689
  handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
690
+ toggleDashboardTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
689
691
  }
690
692
  export interface UrgentDataProps {
691
693
  fullName?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -4,6 +4,22 @@ 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
+
7
23
  type AlignmentType = "center" | "left" | "right";
8
24
  type IconColorTypes = "white" | "black-900" | "gray-220" | "gray-720" | "inherit" | "gray-300" | string;
9
25
  type IconHoverColorTypes = "white" | "black-900" | "gray-220" | "inherit";
@@ -560,6 +576,7 @@ interface SideBarListProps {
560
576
  detailAction?: (value: string | undefined) => void;
561
577
  handleNameClick?: (id?: string) => void;
562
578
  handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
579
+ toggleDashboardTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
563
580
  }
564
581
  interface UrgentDataProps {
565
582
  fullName?: string | undefined;
@@ -1444,22 +1461,6 @@ interface CheckboxProps {
1444
1461
  }
1445
1462
  declare const CheckBoxComponent: React__default.FC<CheckboxProps>;
1446
1463
 
1447
- interface ITodoToggleRequestParams {
1448
- noteId?: string;
1449
- toggleOptions: {
1450
- noteIndex: number;
1451
- check: boolean;
1452
- };
1453
- }
1454
- interface todosProps {
1455
- urgentDataList: UrgentDataProps[];
1456
- listMasterData?: ListMasterDataProps;
1457
- detailAction?: (rowId: string | undefined) => void;
1458
- handleNameClick?: (id?: string) => void;
1459
- toggleDashboardTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
1460
- }
1461
- declare const Todos: React__default.FC<todosProps>;
1462
-
1463
1464
  interface UrgentChallengeProps {
1464
1465
  urgentDataList: UrgentDataProps[];
1465
1466
  listMasterData?: ListMasterDataProps;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.12.171",
3
+ "version": "1.12.172",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",