dfh-ui-library 1.13.139 → 1.13.141

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 +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" | "bg-[#006CD0] text-12s text-white" | "text-21s text-black-540 border border-[#CDCED6] bg-white" | "text-21s text-black-540 border border-[#DF4B604D] 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;
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 opacity-60 text-[#21232C] border border-[#CDCED6] bg-white" | "text-21s text-black-540 border border-[#DF4B604D] bg-white" | "text-14s text-white bg-[#F23A5C]" | "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;
@@ -6,6 +6,7 @@ interface CheckboxProps {
6
6
  addtionalClasses?: string;
7
7
  noteId?: string;
8
8
  noteIndex?: number;
9
+ isDischarged?: boolean;
9
10
  }
10
11
  declare const CheckBoxComponent: React.FC<CheckboxProps>;
11
12
  export default CheckBoxComponent;
@@ -1 +1 @@
1
- export declare const handleInputElementClasses: (_inputVariant?: "default" | "large" | "dynamic" | "uploadinput" | "small" | "noborder") => "px-3 py-3 bg-white border shadow-sm text-black-600 text-14s font-normal border-slate-300 placeholder-slate-400 focus:outline-none focus:border-sky-500 focus:ring-sky-500 block w-full rounded-md sm:text-sm focus:ring-1" | undefined;
1
+ export declare const handleInputElementClasses: (_inputVariant?: "default" | "large" | "dynamic" | "uploadinput" | "small" | "noborder") => "px-3 py-3 bg-white border shadow-sm text-black-600 text-14s font-normal border-slate-300 placeholder-slate-400 focus:outline-none focus:border-sky-500 focus:ring-sky-500 block w-full rounded-md sm:text-sm focus:ring-1" | "px-0 h-8 py-2.5 bg-white border-0 rounded text-black-540 text-14s font-normal placeholder-gray-95 block w-[100px] items-center" | undefined;
@@ -30,6 +30,7 @@ export declare const UploadIcon: ({ classes, onClick, ...props }: IconProps) =>
30
30
  export declare const PDFIcon: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
31
31
  export declare const PlusBtnIcon: ({ classes, onClick, ...props }: IconProps) => React.JSX.Element;
32
32
  export declare const InfoIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
33
+ export declare const AlertIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
33
34
  export declare const InfoLargeIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
34
35
  export declare const InfoSmallIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
35
36
  export declare const RemoveIcon: ({ classes, onClick, onFocus, ...props }: IconProps) => React.JSX.Element;
@@ -7,6 +7,7 @@ interface NoteViewProps {
7
7
  handleCheckboxToggle?: (req: ITodoToggleRequestParams) => void;
8
8
  isNoteHistory?: boolean;
9
9
  option?: UrgentDataProps;
10
+ isDischarged?: boolean;
10
11
  }
11
12
  declare const NotesView: React.FC<NoteViewProps>;
12
13
  export default NotesView;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ISolutionvalues, NoteProps, TimelineEventProps } from '../../shared/models/components/common.model';
3
3
  import { ITodoToggleRequestParams } from '../SideBarListView/todos';
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;
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, isDischarged?: boolean) => React.JSX.Element;
5
5
  export declare const NoteCard: React.FC<{
6
6
  eventData?: TimelineEventProps;
7
7
  note?: NoteProps;
@@ -19,4 +19,5 @@ export declare const NoteCard: React.FC<{
19
19
  isChallengeTimeline?: boolean;
20
20
  handleCopyCurrentNote?: (note: NoteProps) => void;
21
21
  isBillable?: boolean;
22
+ isDischarged?: boolean;
22
23
  }>;
@@ -1,6 +1,6 @@
1
1
  import React, { InputHTMLAttributes, ReactNode, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react';
2
2
  import { IAdditionalClassesProp, IChildrenProp, IIconTypeProp, AlignmentType, IOnClickEventProps, TyphoTypes, TyphoComponents, IconHoverColorTypes, MessageTypes, InputType, IconType, LableTypes, ToolTipProps, selectedValue } from './common.model';
3
- export type VariantTypes = 'large' | 'small' | 'extraSmall' | 'largeOutlined' | 'smallOutlined' | 'extraSmallOutlined' | 'default' | 'defaultOutlined' | 'primaryBlue' | 'primaryWhite' | 'primaryRedBtn' | 'primaryWhiteSelected' | 'primaryWhiteNoBoader' | 'primaryWhiteIcon' | 'primaryRed' | 'primaryFilterSelected' | 'primaryBlueFilter' | 'smallWhite' | 'smallWhiteSelected' | 'smallBlue' | 'primaryNoBoader' | 'primaryBlue10' | 'noBoaderbgTransparent' | undefined;
3
+ export type VariantTypes = 'large' | 'small' | 'extraSmall' | 'largeOutlined' | 'smallOutlined' | 'extraSmallOutlined' | 'default' | 'defaultOutlined' | 'primaryBlue' | 'primaryWhite' | 'primaryWhiteDisable' | 'primaryRedBtn' | 'primaryRedBgBtn' | 'primaryWhiteSelected' | 'primaryWhiteNoBoader' | 'primaryWhiteIcon' | 'primaryRed' | 'primaryFilterSelected' | 'primaryBlueFilter' | 'smallWhite' | 'smallWhiteSelected' | 'smallBlue' | 'primaryNoBoader' | 'primaryBlue10' | 'noBoaderbgTransparent' | undefined;
4
4
  export interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
5
5
  /**
6
6
  * Set the button type
@@ -90,6 +90,7 @@ export interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
90
90
  color?: string;
91
91
  isAddEditPatient?: boolean;
92
92
  title?: string;
93
+ isDischarged?: boolean;
93
94
  }
94
95
  export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
95
96
  /**
@@ -178,6 +179,7 @@ export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputEleme
178
179
  inputFocus?: any;
179
180
  refProps?: any;
180
181
  isRequired?: boolean;
182
+ isDischarged?: boolean;
181
183
  }
182
184
  export interface IFormGenInputProps {
183
185
  /**
@@ -5,7 +5,7 @@ import { ITodoToggleRequestParams } from '../../../components/SideBarListView/to
5
5
  export type AlignmentType = 'center' | 'left' | 'right';
6
6
  export type IconColorTypes = 'white' | 'black-900' | 'gray-220' | 'gray-720' | 'inherit' | 'gray-300' | string;
7
7
  export type IconHoverColorTypes = 'white' | 'black-900' | 'gray-220' | 'inherit';
8
- export type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
8
+ export type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'AlertIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
9
9
  export interface IChildrenProp {
10
10
  /**
11
11
  * Se the child node and element;
@@ -301,7 +301,7 @@ export interface SsnInputProps {
301
301
  labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
302
302
  readOnly?: boolean;
303
303
  type?: string;
304
- inputVariant?: 'default' | 'large';
304
+ inputVariant?: 'default' | 'large' | 'dynamic' | 'uploadinput' | 'small' | 'noborder';
305
305
  label?: string | undefined;
306
306
  additionalErrorClasses?: string;
307
307
  isAdditionalErrorInput?: boolean;
@@ -310,6 +310,7 @@ export interface SsnInputProps {
310
310
  isIconRight?: boolean;
311
311
  iconClassRight?: string;
312
312
  isRequired?: boolean;
313
+ isDischarged?: boolean;
313
314
  }
314
315
  export interface ModalProps {
315
316
  children?: React.ReactNode;
@@ -531,6 +532,8 @@ export interface ButtonGroupProps extends InputGroupProps {
531
532
  disableApplyButton?: boolean;
532
533
  selectedUserValues?: OptionProps[];
533
534
  setSelectedUserValues?: (users: OptionProps[]) => void;
535
+ isDischarged?: boolean;
536
+ secondaryVisible?: boolean;
534
537
  }
535
538
  export interface ButtonGroupWithInputsProps extends Omit<ButtonGroupProps, 'selected' | 'onSelect'> {
536
539
  options: {
@@ -821,6 +824,7 @@ export interface TimelineProps {
821
824
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
822
825
  isChallengeTimeline?: boolean;
823
826
  handleCopyCurrentNote?: (note: NoteProps) => void;
827
+ isDischarged?: boolean;
824
828
  }
825
829
  export interface SideBarListProps {
826
830
  filterLeftLabel?: string;
@@ -893,6 +897,7 @@ export interface TimelineEventProps {
893
897
  isChallengeTimeline?: boolean;
894
898
  handleCopyCurrentNote?: (note: NoteProps) => void;
895
899
  isBillable?: boolean;
900
+ isDischarged?: boolean;
896
901
  }
897
902
  export interface IVariant {
898
903
  pdfMetaData?: PDFMeta;
package/dist/index.d.ts CHANGED
@@ -29,7 +29,7 @@ declare const Todos: React__default.FC<todosProps>;
29
29
  type AlignmentType = 'center' | 'left' | 'right';
30
30
  type IconColorTypes = 'white' | 'black-900' | 'gray-220' | 'gray-720' | 'inherit' | 'gray-300' | string;
31
31
  type IconHoverColorTypes = 'white' | 'black-900' | 'gray-220' | 'inherit';
32
- type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
32
+ type IconType = 'Home' | 'Info' | 'Email' | 'RightArrow' | 'DropDown' | 'DropDownArrow' | 'WhiteArrow' | 'TrashIcon' | 'AddNewitemIcon' | 'OkIcon' | 'EditIcon' | 'Delete' | 'AddIcon' | 'AlertIcon' | 'RemoveTrashIcon' | 'RoundTickIcon' | 'ValidationWarningIcon' | 'WarningIcon' | 'NeturalIcon' | 'SuccessIcon' | string;
33
33
  interface IChildrenProp {
34
34
  /**
35
35
  * Se the child node and element;
@@ -282,7 +282,7 @@ interface SsnInputProps {
282
282
  labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
283
283
  readOnly?: boolean;
284
284
  type?: string;
285
- inputVariant?: 'default' | 'large';
285
+ inputVariant?: 'default' | 'large' | 'dynamic' | 'uploadinput' | 'small' | 'noborder';
286
286
  label?: string | undefined;
287
287
  additionalErrorClasses?: string;
288
288
  isAdditionalErrorInput?: boolean;
@@ -291,6 +291,7 @@ interface SsnInputProps {
291
291
  isIconRight?: boolean;
292
292
  iconClassRight?: string;
293
293
  isRequired?: boolean;
294
+ isDischarged?: boolean;
294
295
  }
295
296
  interface ModalProps {
296
297
  children?: React.ReactNode;
@@ -497,6 +498,8 @@ interface ButtonGroupProps extends InputGroupProps {
497
498
  disableApplyButton?: boolean;
498
499
  selectedUserValues?: OptionProps[];
499
500
  setSelectedUserValues?: (users: OptionProps[]) => void;
501
+ isDischarged?: boolean;
502
+ secondaryVisible?: boolean;
500
503
  }
501
504
  interface ButtonGroupMultiProps extends InputGroupProps {
502
505
  options: {
@@ -696,6 +699,7 @@ interface TimelineProps {
696
699
  toggleTodoCheckbox?: (req: ITodoToggleRequestParams$1) => void;
697
700
  isChallengeTimeline?: boolean;
698
701
  handleCopyCurrentNote?: (note: NoteProps) => void;
702
+ isDischarged?: boolean;
699
703
  }
700
704
  interface SideBarListProps {
701
705
  filterLeftLabel?: string;
@@ -768,6 +772,7 @@ interface TimelineEventProps {
768
772
  isChallengeTimeline?: boolean;
769
773
  handleCopyCurrentNote?: (note: NoteProps) => void;
770
774
  isBillable?: boolean;
775
+ isDischarged?: boolean;
771
776
  }
772
777
  interface IVariant {
773
778
  pdfMetaData?: PDFMeta;
@@ -909,7 +914,7 @@ interface TableProps {
909
914
  paginationLabel?: string;
910
915
  }
911
916
 
912
- type VariantTypes = 'large' | 'small' | 'extraSmall' | 'largeOutlined' | 'smallOutlined' | 'extraSmallOutlined' | 'default' | 'defaultOutlined' | 'primaryBlue' | 'primaryWhite' | 'primaryRedBtn' | 'primaryWhiteSelected' | 'primaryWhiteNoBoader' | 'primaryWhiteIcon' | 'primaryRed' | 'primaryFilterSelected' | 'primaryBlueFilter' | 'smallWhite' | 'smallWhiteSelected' | 'smallBlue' | 'primaryNoBoader' | 'primaryBlue10' | 'noBoaderbgTransparent' | undefined;
917
+ type VariantTypes = 'large' | 'small' | 'extraSmall' | 'largeOutlined' | 'smallOutlined' | 'extraSmallOutlined' | 'default' | 'defaultOutlined' | 'primaryBlue' | 'primaryWhite' | 'primaryWhiteDisable' | 'primaryRedBtn' | 'primaryRedBgBtn' | 'primaryWhiteSelected' | 'primaryWhiteNoBoader' | 'primaryWhiteIcon' | 'primaryRed' | 'primaryFilterSelected' | 'primaryBlueFilter' | 'smallWhite' | 'smallWhiteSelected' | 'smallBlue' | 'primaryNoBoader' | 'primaryBlue10' | 'noBoaderbgTransparent' | undefined;
913
918
  interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
914
919
  /**
915
920
  * Set the button type
@@ -999,6 +1004,7 @@ interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
999
1004
  color?: string;
1000
1005
  isAddEditPatient?: boolean;
1001
1006
  title?: string;
1007
+ isDischarged?: boolean;
1002
1008
  }
1003
1009
  interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
1004
1010
  /**
@@ -1087,6 +1093,7 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
1087
1093
  inputFocus?: any;
1088
1094
  refProps?: any;
1089
1095
  isRequired?: boolean;
1096
+ isDischarged?: boolean;
1090
1097
  }
1091
1098
  interface ICheckboxProps extends AdditionalClassesProp {
1092
1099
  onChange?: (checked: boolean) => void;
@@ -1807,6 +1814,7 @@ interface CheckboxProps {
1807
1814
  addtionalClasses?: string;
1808
1815
  noteId?: string;
1809
1816
  noteIndex?: number;
1817
+ isDischarged?: boolean;
1810
1818
  }
1811
1819
  declare const CheckBoxComponent: React__default.FC<CheckboxProps>;
1812
1820
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.13.139",
3
+ "version": "1.13.141",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",