dfh-ui-library 1.14.44 → 1.14.45
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/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/Media/LetterFormBuilder/index.d.ts +0 -0
- package/dist/esm/types/components/NotesEditor/FloatingMenu.d.ts +7 -0
- package/dist/{cjs/types/components/NotesEditor/NoteEditor.d.ts → esm/types/components/NotesEditor/NoteEditorV3.d.ts} +2 -2
- package/dist/esm/types/components/NotesEditor/TiptapToolbar.d.ts +7 -0
- package/dist/esm/types/components/NotesEditor/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -1
- package/dist/esm/types/shared/models/components/common.model.d.ts +1 -0
- package/dist/index.d.ts +4 -1
- package/package.json +17 -5
- package/dist/cjs/types/components/Accommodation/Accommodation.d.ts +0 -4
- package/dist/cjs/types/components/Accommodation/AccommodationDynamic.d.ts +0 -4
- package/dist/cjs/types/components/Accommodation/AccommodationDynamic_stories.d.ts +0 -7
- package/dist/cjs/types/components/Accommodation/index.d.ts +0 -1
- package/dist/cjs/types/components/Badge/Badge.d.ts +0 -4
- package/dist/cjs/types/components/Badge/index.d.ts +0 -1
- package/dist/cjs/types/components/Breadcrumb/Breadcrumb.d.ts +0 -4
- package/dist/cjs/types/components/Breadcrumb/index.d.ts +0 -1
- package/dist/cjs/types/components/Button/Button.d.ts +0 -4
- package/dist/cjs/types/components/Button/Button.handler.d.ts +0 -1
- package/dist/cjs/types/components/Button/Button.stories.d.ts +0 -25
- package/dist/cjs/types/components/Button/Button.test.d.ts +0 -1
- package/dist/cjs/types/components/Button/ButtonV2.d.ts +0 -4
- package/dist/cjs/types/components/Button/index.d.ts +0 -2
- package/dist/cjs/types/components/ButtonGroup/ButtonGroup.d.ts +0 -4
- package/dist/cjs/types/components/ButtonGroup/ButtonGroupMultiSelect.d.ts +0 -4
- package/dist/cjs/types/components/ButtonGroup/ButtonGroupMultiSelectV2.d.ts +0 -7
- package/dist/cjs/types/components/ButtonGroup/ButtonGroupV2.d.ts +0 -3
- package/dist/cjs/types/components/ButtonGroup/index.d.ts +0 -2
- package/dist/cjs/types/components/ButtonGroupFormGen/ButtonGroupFormGen.d.ts +0 -3
- package/dist/cjs/types/components/ButtonGroupFormGen/ButtonGroupWithMultiSelectFormGen.d.ts +0 -4
- package/dist/cjs/types/components/ButtonGroupFormGen/index.d.ts +0 -2
- package/dist/cjs/types/components/ButtonGroupUpload/ButtonGroupUpload.d.ts +0 -4
- package/dist/cjs/types/components/ButtonGroupUpload/index.d.ts +0 -1
- package/dist/cjs/types/components/ButtonGroupWithInputs/ButtonGroupWithInputs.d.ts +0 -4
- package/dist/cjs/types/components/ButtonGroupWithInputs/ButtonGroupWithInputsV2.d.ts +0 -7
- package/dist/cjs/types/components/ButtonGroupWithInputs/index.d.ts +0 -1
- package/dist/cjs/types/components/ButtonGroupWithInputsFormGen/ButtonGroupMultiSelectWithInputsFormGen.d.ts +0 -3
- package/dist/cjs/types/components/ButtonGroupWithInputsFormGen/ButtonGroupWithInputsFormGen.d.ts +0 -4
- package/dist/cjs/types/components/ButtonGroupWithInputsFormGen/index.d.ts +0 -2
- package/dist/cjs/types/components/ButtonGroupWithUpload/ButtonGroupWithUpload.d.ts +0 -4
- package/dist/cjs/types/components/ButtonGroupWithUpload/index.d.ts +0 -1
- package/dist/cjs/types/components/Card/Card.d.ts +0 -7
- package/dist/cjs/types/components/Card/Card.test.d.ts +0 -1
- package/dist/cjs/types/components/Card/index.d.ts +0 -1
- package/dist/cjs/types/components/CheckBoxFormGen/CheckBoxFormGen.d.ts +0 -4
- package/dist/cjs/types/components/CheckBoxFormGen/index.d.ts +0 -1
- package/dist/cjs/types/components/CircularLoader/CircularLoader.d.ts +0 -4
- package/dist/cjs/types/components/ComboBox/Combobox.d.ts +0 -46
- package/dist/cjs/types/components/ComboBox/ComboboxV2.d.ts +0 -38
- package/dist/cjs/types/components/ComboBox/index.d.ts +0 -3
- package/dist/cjs/types/components/ComponentProvider/ComponentHelper.d.ts +0 -2
- package/dist/cjs/types/components/ComponentProvider/ComponentProvider.d.ts +0 -9
- package/dist/cjs/types/components/ComponentProvider/ComponentProvider.handler.d.ts +0 -6
- package/dist/cjs/types/components/ComponentProvider/index.d.ts +0 -1
- package/dist/cjs/types/components/CustomFileInput/CustomFileInput.d.ts +0 -4
- package/dist/cjs/types/components/CustomFileInput/index.d.ts +0 -1
- package/dist/cjs/types/components/Datepicker/DatePicker.d.ts +0 -5
- package/dist/cjs/types/components/Datepicker/DatePickerFormGen.d.ts +0 -10
- package/dist/cjs/types/components/Datepicker/index.d.ts +0 -1
- package/dist/cjs/types/components/DynamicDualInputTextGroupFormGen/DynamicDualInputBase.d.ts +0 -4
- package/dist/cjs/types/components/DynamicDualInputTextGroupFormGen/DynamicDualInputTextGroupFormGen.d.ts +0 -4
- package/dist/cjs/types/components/DynamicDualInputTextGroupFormGen/DynamicDualInputTextGroupFormGenstories.d.ts +0 -7
- package/dist/cjs/types/components/DynamicDualInputTextGroupFormGen/index.d.ts +0 -1
- package/dist/cjs/types/components/Filter/Filter.d.ts +0 -4
- package/dist/cjs/types/components/Filter/FilterSwitch.d.ts +0 -8
- package/dist/cjs/types/components/Filter/FilterTitle.d.ts +0 -7
- package/dist/cjs/types/components/Filter/IconCheckboxGroup.d.ts +0 -14
- package/dist/cjs/types/components/Filter/index.d.ts +0 -1
- package/dist/cjs/types/components/FilterButtonGroup/Checkbox.d.ts +0 -12
- package/dist/cjs/types/components/FilterButtonGroup/FilterButton.d.ts +0 -4
- package/dist/cjs/types/components/FilterButtonGroup/FilterButtonGroup.d.ts +0 -6
- package/dist/cjs/types/components/FilterButtonGroup/example.d.ts +0 -3
- package/dist/cjs/types/components/FilterButtonGroup/index.d.ts +0 -1
- package/dist/cjs/types/components/Form/Form.d.ts +0 -4
- package/dist/cjs/types/components/Form/index.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/AutoResizeTextarea/AutoResizeTextarea.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/AutoResizeTextarea/index.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/CheckBox/CheckBox.d.ts +0 -4
- package/dist/cjs/types/components/FormElements/CheckBox/index.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/IconInput/IconInput.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/IconInput/IconInput.handler.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/IconInput/IconInput.test.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/IconInput/IconInputV2.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/IconInput/iconInputLock.d.ts +0 -31
- package/dist/cjs/types/components/FormElements/IconInput/index.d.ts +0 -3
- package/dist/cjs/types/components/FormElements/ImageInput/ImageInput.d.ts +0 -4
- package/dist/cjs/types/components/FormElements/ImageInput/index.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/Input/Input.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/Input/Input.test.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/Input/InputV2.d.ts +0 -10
- package/dist/cjs/types/components/FormElements/Input/index.d.ts +0 -2
- package/dist/cjs/types/components/FormElements/InputValidation/InputValidation.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/InputValidation/index.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/Label/Label.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/Label/index.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/RadioButton/RadioButton.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/RadioButton/index.d.ts +0 -1
- package/dist/cjs/types/components/FormElements/Select/Select.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/Select/Select.handler.d.ts +0 -3
- package/dist/cjs/types/components/FormElements/Select/SelectV2.d.ts +0 -42
- package/dist/cjs/types/components/FormElements/Select/index.d.ts +0 -3
- package/dist/cjs/types/components/FormElements/Signout/Signout.d.ts +0 -6
- package/dist/cjs/types/components/FormElements/Textarea/Textarea.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/Textarea/TextareaWithCount.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/Textarea/TextareaWithCountV2.d.ts +0 -7
- package/dist/cjs/types/components/FormElements/Textarea/index.d.ts +0 -3
- package/dist/cjs/types/components/FormElements/index.d.ts +0 -9
- package/dist/cjs/types/components/Gird/Grid.d.ts +0 -4
- package/dist/cjs/types/components/Gird/Grid.handler.d.ts +0 -1
- package/dist/cjs/types/components/Gird/GridCheckBox.d.ts +0 -6
- package/dist/cjs/types/components/Gird/Spinner.d.ts +0 -4
- package/dist/cjs/types/components/Gird/index.d.ts +0 -2
- package/dist/cjs/types/components/Gird/mockAPI.d.ts +0 -23
- package/dist/cjs/types/components/History/History.d.ts +0 -4
- package/dist/cjs/types/components/History/HistoryNoteEvent.d.ts +0 -4
- package/dist/cjs/types/components/History/HistoryNoteEventView.d.ts +0 -7
- package/dist/cjs/types/components/History/index.d.ts +0 -1
- package/dist/cjs/types/components/HorizontalRule/HorizontalRule.d.ts +0 -6
- package/dist/cjs/types/components/HorizontalRule/index.d.ts +0 -1
- package/dist/cjs/types/components/ImagePreview/ImagePreview.d.ts +0 -4
- package/dist/cjs/types/components/ImagePreview/ImagePreviewV2.d.ts +0 -4
- package/dist/cjs/types/components/ImagePreview/index.d.ts +0 -2
- package/dist/cjs/types/components/InfoCard/InfoCard.d.ts +0 -7
- package/dist/cjs/types/components/InfoCard/index.d.ts +0 -1
- package/dist/cjs/types/components/InputDatepicker/InputDatePicker.d.ts +0 -5
- package/dist/cjs/types/components/InputDatepicker/InputDatePickerV2.d.ts +0 -8
- package/dist/cjs/types/components/InputDatepicker/index.d.ts +0 -2
- package/dist/cjs/types/components/InputFormGen/InputFormGen.d.ts +0 -7
- package/dist/cjs/types/components/InputFormGen/index.d.ts +0 -1
- package/dist/cjs/types/components/InputsGroup/InputsGroup.d.ts +0 -4
- package/dist/cjs/types/components/InputsGroup/index.d.ts +0 -1
- package/dist/cjs/types/components/ListRow/ListRow.d.ts +0 -4
- package/dist/cjs/types/components/ListRow/index.d.ts +0 -1
- package/dist/cjs/types/components/LoadingSpinner/LoadingSpinner.d.ts +0 -4
- package/dist/cjs/types/components/LoadingSpinner/index.d.ts +0 -1
- package/dist/cjs/types/components/Logo/Logo.d.ts +0 -9
- package/dist/cjs/types/components/Logo/index.d.ts +0 -1
- package/dist/cjs/types/components/MarkdownContent/MarkdownContent.d.ts +0 -8
- package/dist/cjs/types/components/MarkdownContent/index.d.ts +0 -1
- package/dist/cjs/types/components/Media/Icon/CustomIcon.d.ts +0 -12
- package/dist/cjs/types/components/Media/Icon/Icon.d.ts +0 -11
- package/dist/cjs/types/components/Media/Icon/Icon.handler.d.ts +0 -6
- package/dist/cjs/types/components/Media/Icon/IconV2.d.ts +0 -19
- package/dist/cjs/types/components/Media/Icon/index.d.ts +0 -2
- package/dist/cjs/types/components/Media/Icons/Icons.d.ts +0 -95
- package/dist/cjs/types/components/Media/LetterFormBuilder/CustomField.d.ts +0 -24
- package/dist/cjs/types/components/Media/LetterFormBuilder/FormGenerator.d.ts +0 -4
- package/dist/cjs/types/components/Media/LetterFormBuilder/LetterFormBuilder.d.ts +0 -4
- package/dist/cjs/types/components/Media/LetterFormBuilder/LetterGenerator.d.ts +0 -4
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IComponent.d.ts +0 -5
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IFormGeneratorProps.d.ts +0 -21
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterGeneratorProps.d.ts +0 -20
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterProps.d.ts +0 -18
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ILetterSchema.d.ts +0 -54
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IQuestionSchema.d.ts +0 -50
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/IQuestionValidationSchema.d.ts +0 -18
- package/dist/cjs/types/components/Media/LetterFormBuilder/interfaces/ISchema.d.ts +0 -32
- package/dist/cjs/types/components/Media/LetterFormBuilder/useInitialValues.d.ts +0 -3
- package/dist/cjs/types/components/Media/LetterFormBuilder/useLetterSchemaAdapter.d.ts +0 -4
- package/dist/cjs/types/components/Media/LetterFormBuilder/useOrderSchema.d.ts +0 -3
- package/dist/cjs/types/components/Media/LetterFormBuilder/util.d.ts +0 -39
- package/dist/cjs/types/components/Media/LetterFormBuilder/validationHelper.d.ts +0 -7
- package/dist/cjs/types/components/Message/Message.d.ts +0 -4
- package/dist/cjs/types/components/Message/index.d.ts +0 -1
- package/dist/cjs/types/components/MiniTimelineCard/MiniTimelineCard.d.ts +0 -18
- package/dist/cjs/types/components/MiniTimelineCard/index.d.ts +0 -1
- package/dist/cjs/types/components/Modal/Modal.d.ts +0 -4
- package/dist/cjs/types/components/Modal/index.d.ts +0 -1
- package/dist/cjs/types/components/MultiSelectFormGen/MultiSelectFormGen.d.ts +0 -4
- package/dist/cjs/types/components/MultiSelectFormGen/index.d.ts +0 -1
- package/dist/cjs/types/components/NavBar/ArrowDropDown.d.ts +0 -20
- package/dist/cjs/types/components/NavBar/EnvironmentSelector.d.ts +0 -10
- package/dist/cjs/types/components/NavBar/NavBar.d.ts +0 -7
- package/dist/cjs/types/components/NavBar/NavBar.handler.d.ts +0 -1
- package/dist/cjs/types/components/NavBar/index.d.ts +0 -1
- package/dist/cjs/types/components/NotesEditor/NoteEditorV2.d.ts +0 -4
- package/dist/cjs/types/components/NotesEditor/index.d.ts +0 -2
- package/dist/cjs/types/components/PanelCard/PanelCard.d.ts +0 -4
- package/dist/cjs/types/components/PanelCard/index.d.ts +0 -1
- package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput.d.ts +0 -4
- package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput.handler.d.ts +0 -1
- package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput2.d.ts +0 -4
- package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput3.d.ts +0 -6
- package/dist/cjs/types/components/PhoneNumberInput/PhoneNumberInput4.d.ts +0 -41
- package/dist/cjs/types/components/PhoneNumberInput/index.d.ts +0 -4
- package/dist/cjs/types/components/PreviousDataBadge/PreviousDataBadge.d.ts +0 -6
- package/dist/cjs/types/components/PreviousDataBadge/index.d.ts +0 -1
- package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +0 -4
- package/dist/cjs/types/components/ProgressBar/index.d.ts +0 -1
- package/dist/cjs/types/components/RegularDropdown/RegularDropdown.d.ts +0 -4
- package/dist/cjs/types/components/RegularDropdown/index.d.ts +0 -1
- package/dist/cjs/types/components/SearchDropdownWithButton/SearchDropdownWithButton.d.ts +0 -4
- package/dist/cjs/types/components/SearchDropdownWithButton/index.d.ts +0 -1
- package/dist/cjs/types/components/SelectDropdownUser/SelectDropdownUser.d.ts +0 -4
- package/dist/cjs/types/components/SelectDropdownUser/SelectDropdownUserV2.d.ts +0 -4
- package/dist/cjs/types/components/SelectDropdownUser/SelectUserWithButton.d.ts +0 -4
- package/dist/cjs/types/components/SelectDropdownUser/index.d.ts +0 -3
- package/dist/cjs/types/components/SideBarListView/ItemSkeleton.d.ts +0 -2
- package/dist/cjs/types/components/SideBarListView/SideBarListView.d.ts +0 -4
- package/dist/cjs/types/components/SideBarListView/SideBarListViewV2.d.ts +0 -4
- package/dist/cjs/types/components/SideBarListView/index.d.ts +0 -2
- package/dist/cjs/types/components/SideBarListView/todos.d.ts +0 -24
- package/dist/cjs/types/components/SideBarListView/todosV2.d.ts +0 -26
- package/dist/cjs/types/components/SideBarListView/urgentChallenges.d.ts +0 -13
- package/dist/cjs/types/components/Signature/Signature.d.ts +0 -4
- package/dist/cjs/types/components/Signature/index.d.ts +0 -1
- package/dist/cjs/types/components/SortDropdown/SortDropdown.d.ts +0 -4
- package/dist/cjs/types/components/SortDropdown/index.d.ts +0 -1
- package/dist/cjs/types/components/SsnInput/SsnInput.d.ts +0 -4
- package/dist/cjs/types/components/SsnInput/SsnInput.handler.d.ts +0 -2
- package/dist/cjs/types/components/SsnInput/index.d.ts +0 -1
- package/dist/cjs/types/components/Stepper/Stepper.d.ts +0 -4
- package/dist/cjs/types/components/Stepper/index.d.ts +0 -1
- package/dist/cjs/types/components/Switch/Switch.d.ts +0 -4
- package/dist/cjs/types/components/Switch/index.d.ts +0 -1
- package/dist/cjs/types/components/Tab/Tab.d.ts +0 -4
- package/dist/cjs/types/components/Tab/TabList.d.ts +0 -4
- package/dist/cjs/types/components/Tab/TabPanel.d.ts +0 -4
- package/dist/cjs/types/components/Tab/index.d.ts +0 -3
- package/dist/cjs/types/components/TabButton/TabButton.d.ts +0 -4
- package/dist/cjs/types/components/TabButton/index.d.ts +0 -1
- package/dist/cjs/types/components/TagDropdown/TagDropdown.d.ts +0 -4
- package/dist/cjs/types/components/TagDropdown/index.d.ts +0 -1
- package/dist/cjs/types/components/TagSelect/TagSelect.d.ts +0 -4
- package/dist/cjs/types/components/TagSelect/index.d.ts +0 -1
- package/dist/cjs/types/components/TagSelectFormGen/TagSelectFormGen.d.ts +0 -4
- package/dist/cjs/types/components/TagSelectFormGen/index.d.ts +0 -1
- package/dist/cjs/types/components/TextAreaFormGen/TextAreaFormGen.d.ts +0 -27
- package/dist/cjs/types/components/Timeline/NoteView.d.ts +0 -13
- package/dist/cjs/types/components/Timeline/TimeLineCards.d.ts +0 -23
- package/dist/cjs/types/components/Timeline/Timeline.d.ts +0 -4
- package/dist/cjs/types/components/Timeline/TimelineEvent.d.ts +0 -4
- package/dist/cjs/types/components/Timeline/helper.d.ts +0 -4
- package/dist/cjs/types/components/Timeline/index.d.ts +0 -1
- package/dist/cjs/types/components/Toggle/ToggleButton.d.ts +0 -4
- package/dist/cjs/types/components/Toggle/ToggleButtonGroup.d.ts +0 -4
- package/dist/cjs/types/components/Toggle/index.d.ts +0 -2
- package/dist/cjs/types/components/Tooltip/Tooltip.d.ts +0 -7
- package/dist/cjs/types/components/Tooltip/TooltipWithChildren.d.ts +0 -8
- package/dist/cjs/types/components/Tooltip/index.d.ts +0 -2
- package/dist/cjs/types/components/Typho/Typho.d.ts +0 -44
- package/dist/cjs/types/components/Typho/index.d.ts +0 -1
- package/dist/cjs/types/components/Typhography/Typhography.d.ts +0 -7
- package/dist/cjs/types/components/Typhography/Typhography.handler.d.ts +0 -1
- package/dist/cjs/types/components/Typhography/index.d.ts +0 -1
- package/dist/cjs/types/components/TyphographyFormGen/TyphographyFormGen.d.ts +0 -4
- package/dist/cjs/types/components/TyphographyFormGen/TyphographyFormGen.handler.d.ts +0 -1
- package/dist/cjs/types/components/TyphographyFormGen/index.d.ts +0 -1
- package/dist/cjs/types/components/VersionDateDropdown/VersionDateDropdown.d.ts +0 -4
- package/dist/cjs/types/components/VersionDateDropdown/index.d.ts +0 -1
- package/dist/cjs/types/components/core/DialogBox/DialogBox.d.ts +0 -4
- package/dist/cjs/types/components/core/DialogBox/index.d.ts +0 -1
- package/dist/cjs/types/components/core/Heading/Heading.d.ts +0 -24
- package/dist/cjs/types/components/core/Heading/index.d.ts +0 -1
- package/dist/cjs/types/components/core/Row.d.ts +0 -7
- package/dist/cjs/types/components/core/index.d.ts +0 -1
- package/dist/cjs/types/components/index.d.ts +0 -74
- package/dist/cjs/types/constants/Images.d.ts +0 -5
- package/dist/cjs/types/constants/index.d.ts +0 -5
- package/dist/cjs/types/hooks/index.d.ts +0 -1
- package/dist/cjs/types/hooks/useClickOutside.d.ts +0 -1
- package/dist/cjs/types/hooks/usePagination.d.ts +0 -12
- package/dist/cjs/types/hooks/useSchemaProcessor.d.ts +0 -9
- package/dist/cjs/types/hooks/useSorting.d.ts +0 -12
- package/dist/cjs/types/index.d.ts +0 -10
- package/dist/cjs/types/shared/configs/customClasses.d.ts +0 -94
- package/dist/cjs/types/shared/configs/themeConfig.d.ts +0 -350
- package/dist/cjs/types/shared/libs/tailwindMerge.d.ts +0 -1
- package/dist/cjs/types/shared/models/components/base.model.d.ts +0 -782
- package/dist/cjs/types/shared/models/components/common.model.d.ts +0 -1087
- package/dist/cjs/types/shared/utilities/date.d.ts +0 -6
- package/dist/cjs/types/shared/utilities/helper.d.ts +0 -13
- package/dist/cjs/types/shared/utilities/images.d.ts +0 -3
- package/dist/cjs/types/shared/utilities/normalizeMarkdown.d.ts +0 -1
- package/dist/cjs/types/shared/utilities/reducers.d.ts +0 -2
- package/dist/esm/types/components/Button/Button.test.d.ts +0 -1
- package/dist/esm/types/components/Card/Card.test.d.ts +0 -1
- package/dist/esm/types/components/FormElements/IconInput/IconInput.test.d.ts +0 -1
- package/dist/esm/types/components/FormElements/Input/Input.test.d.ts +0 -1
|
@@ -1,782 +0,0 @@
|
|
|
1
|
-
import React, { InputHTMLAttributes, ReactNode, SelectHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
2
|
-
import { IAdditionalClassesProp, IChildrenProp, IIconTypeProp, IIconV2Props, AlignmentType, IOnClickEventProps, TyphoTypes, TyphoComponents, IconHoverColorTypes, MessageTypes, InputType, IconType, LableTypes, ToolTipProps, selectedValue, IconNameType } from './common.model';
|
|
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
|
-
export interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IOnClickEventProps {
|
|
5
|
-
/**
|
|
6
|
-
* Set the button type
|
|
7
|
-
*/
|
|
8
|
-
type?: 'submit' | 'button';
|
|
9
|
-
/**
|
|
10
|
-
* Button Variants
|
|
11
|
-
*/
|
|
12
|
-
variants?: VariantTypes;
|
|
13
|
-
/**
|
|
14
|
-
* Set the button disable state
|
|
15
|
-
*/
|
|
16
|
-
isDisabled?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Set the button Label
|
|
19
|
-
*/
|
|
20
|
-
buttonLabel?: string | number;
|
|
21
|
-
/**
|
|
22
|
-
* Set the icon visibility
|
|
23
|
-
*/
|
|
24
|
-
isIconEnabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Set the icon Alignment
|
|
27
|
-
*/
|
|
28
|
-
iconAlignment?: AlignmentType;
|
|
29
|
-
/**
|
|
30
|
-
* Set icon name
|
|
31
|
-
*/
|
|
32
|
-
icon?: IconNameType;
|
|
33
|
-
iconProps?: IIconV2Props;
|
|
34
|
-
enableBagage?: boolean;
|
|
35
|
-
bagageProps?: BagageProps;
|
|
36
|
-
width?: string;
|
|
37
|
-
isLoading?: boolean;
|
|
38
|
-
}
|
|
39
|
-
interface BagageProps {
|
|
40
|
-
text?: string;
|
|
41
|
-
bgColor?: string;
|
|
42
|
-
}
|
|
43
|
-
export interface ITyphographyProps extends IChildrenProp, IAdditionalClassesProp {
|
|
44
|
-
/**
|
|
45
|
-
* Set element type
|
|
46
|
-
*/
|
|
47
|
-
type?: TyphoTypes;
|
|
48
|
-
id?: string;
|
|
49
|
-
/**
|
|
50
|
-
* Set element node of the content wrapper
|
|
51
|
-
*/
|
|
52
|
-
component?: TyphoComponents;
|
|
53
|
-
/**
|
|
54
|
-
* Set font-color of the content
|
|
55
|
-
*/
|
|
56
|
-
color?: string;
|
|
57
|
-
onClick?: (e?: React.MouseEvent<HTMLButtonElement> | React.MouseEvent<HTMLElement>) => void;
|
|
58
|
-
disabled?: boolean;
|
|
59
|
-
}
|
|
60
|
-
export interface ITyphographyFormGenProps extends IChildrenProp, IAdditionalClassesProp {
|
|
61
|
-
type?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
62
|
-
componentType?: 'p' | undefined;
|
|
63
|
-
color?: string;
|
|
64
|
-
onClick?: () => void;
|
|
65
|
-
disabled?: boolean;
|
|
66
|
-
text?: string;
|
|
67
|
-
}
|
|
68
|
-
export interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
|
|
69
|
-
/**
|
|
70
|
-
* Optional | Set Icon Text
|
|
71
|
-
*/
|
|
72
|
-
iconText?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Optional | Set Icon hover color
|
|
75
|
-
*/
|
|
76
|
-
iconHoverColor?: IconHoverColorTypes;
|
|
77
|
-
/**
|
|
78
|
-
* Optional | Set Icon container classes
|
|
79
|
-
*/
|
|
80
|
-
iconContainerClasses?: string | undefined;
|
|
81
|
-
/**
|
|
82
|
-
* Optional | Set Icon Text classes
|
|
83
|
-
*/
|
|
84
|
-
iconTextClasses?: string | undefined;
|
|
85
|
-
onClick?: any;
|
|
86
|
-
iconDefaultClasses?: string;
|
|
87
|
-
imageUrl?: string;
|
|
88
|
-
onFocus?: any;
|
|
89
|
-
onMouseOver?: any;
|
|
90
|
-
onMouseOut?: any;
|
|
91
|
-
color?: string;
|
|
92
|
-
w?: string;
|
|
93
|
-
h?: string;
|
|
94
|
-
isAddEditPatient?: boolean;
|
|
95
|
-
title?: string;
|
|
96
|
-
isDischarged?: boolean;
|
|
97
|
-
}
|
|
98
|
-
export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
99
|
-
/**
|
|
100
|
-
* Set Input type
|
|
101
|
-
*/
|
|
102
|
-
type?: InputType;
|
|
103
|
-
/**
|
|
104
|
-
* Set new variant of the input
|
|
105
|
-
*/
|
|
106
|
-
inputVariant?: 'default' | 'large' | 'dynamic' | 'uploadinput' | 'small' | 'noborder';
|
|
107
|
-
/**
|
|
108
|
-
* Set Input name
|
|
109
|
-
*/
|
|
110
|
-
id?: string;
|
|
111
|
-
/**
|
|
112
|
-
* Set Input name
|
|
113
|
-
*/
|
|
114
|
-
labelName?: string;
|
|
115
|
-
isCrossIcon?: boolean;
|
|
116
|
-
isCrossIconHandler?: (e: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
|
|
117
|
-
/**
|
|
118
|
-
* Set the Label Type
|
|
119
|
-
*/
|
|
120
|
-
labelType?: LableTypes;
|
|
121
|
-
/**
|
|
122
|
-
* Set Input label name
|
|
123
|
-
*/
|
|
124
|
-
label?: string | undefined;
|
|
125
|
-
/**
|
|
126
|
-
* Ser Error message
|
|
127
|
-
*/
|
|
128
|
-
error?: string;
|
|
129
|
-
/**
|
|
130
|
-
* Ser Error message
|
|
131
|
-
*/
|
|
132
|
-
isBorderedError?: boolean;
|
|
133
|
-
/**
|
|
134
|
-
* Set Wrapper classes, new classes will overide the existing default classes
|
|
135
|
-
*/
|
|
136
|
-
wrapperClass?: string | undefined;
|
|
137
|
-
/**
|
|
138
|
-
* Optional for additional classes
|
|
139
|
-
*/
|
|
140
|
-
additionalClasses?: string | undefined;
|
|
141
|
-
/**
|
|
142
|
-
* Enable read only
|
|
143
|
-
*/
|
|
144
|
-
readonly?: boolean;
|
|
145
|
-
/**
|
|
146
|
-
* LabelClasses
|
|
147
|
-
*/
|
|
148
|
-
labelClasses?: string | undefined;
|
|
149
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
150
|
-
placeholder?: string;
|
|
151
|
-
/**
|
|
152
|
-
* Set label only
|
|
153
|
-
*/
|
|
154
|
-
onlyLabel?: boolean | undefined;
|
|
155
|
-
/**
|
|
156
|
-
* inner span Classes
|
|
157
|
-
*/
|
|
158
|
-
labelSpanClasses?: string;
|
|
159
|
-
/**
|
|
160
|
-
* add additional InputValidation Classes
|
|
161
|
-
*/
|
|
162
|
-
additionalErrorClasses?: string;
|
|
163
|
-
isAdditionalErrorInput?: boolean;
|
|
164
|
-
fullError?: boolean;
|
|
165
|
-
isIconLeft?: boolean;
|
|
166
|
-
isIconRight?: boolean;
|
|
167
|
-
leftIcon?: string;
|
|
168
|
-
rightIcon?: string;
|
|
169
|
-
iconClass?: string;
|
|
170
|
-
isIcon?: boolean;
|
|
171
|
-
icon?: string;
|
|
172
|
-
iconProps?: IIconV2Props;
|
|
173
|
-
infoIconProps?: IIconV2Props;
|
|
174
|
-
iconClassRight?: string;
|
|
175
|
-
iconClassLeft?: string;
|
|
176
|
-
iconOnClick?: () => void;
|
|
177
|
-
enableToolTip?: boolean;
|
|
178
|
-
tooltipProps?: ToolTipProps;
|
|
179
|
-
suffixed?: string;
|
|
180
|
-
labelLeftAction?: () => void;
|
|
181
|
-
labelLeftText?: string;
|
|
182
|
-
viewMode?: boolean;
|
|
183
|
-
ref?: any;
|
|
184
|
-
inputFocus?: any;
|
|
185
|
-
refProps?: any;
|
|
186
|
-
isRequired?: boolean;
|
|
187
|
-
isOrganizationInput?: boolean;
|
|
188
|
-
showIsRequiredIcon?: boolean;
|
|
189
|
-
isDischarged?: boolean;
|
|
190
|
-
showTooltip?: boolean;
|
|
191
|
-
tooltipText?: string;
|
|
192
|
-
/**
|
|
193
|
-
* Show asterisk permanently regardless of input value
|
|
194
|
-
*/
|
|
195
|
-
showPermanentAsterisk?: boolean;
|
|
196
|
-
}
|
|
197
|
-
export interface IFormGenInputProps {
|
|
198
|
-
/**
|
|
199
|
-
* Set Input type
|
|
200
|
-
*/
|
|
201
|
-
type?: InputType;
|
|
202
|
-
/**
|
|
203
|
-
* Set new variant of the input
|
|
204
|
-
*/
|
|
205
|
-
inputVariant?: 'default' | 'large' | 'dynamic';
|
|
206
|
-
/**
|
|
207
|
-
* Set Input name
|
|
208
|
-
*/
|
|
209
|
-
id?: string;
|
|
210
|
-
/**
|
|
211
|
-
* Set Input name
|
|
212
|
-
*/
|
|
213
|
-
labelName?: string;
|
|
214
|
-
/**
|
|
215
|
-
* Set the Label Type
|
|
216
|
-
*/
|
|
217
|
-
labelType?: LableTypes;
|
|
218
|
-
/**
|
|
219
|
-
* Set Input label name
|
|
220
|
-
*/
|
|
221
|
-
label?: string | undefined;
|
|
222
|
-
/**
|
|
223
|
-
* Ser Error message
|
|
224
|
-
*/
|
|
225
|
-
error?: string;
|
|
226
|
-
/**
|
|
227
|
-
* Ser Error message
|
|
228
|
-
*/
|
|
229
|
-
isBorderedError?: boolean;
|
|
230
|
-
/**
|
|
231
|
-
* Set Wrapper classes, new classes will overide the existing default classes
|
|
232
|
-
*/
|
|
233
|
-
wrapperClass?: string | undefined;
|
|
234
|
-
/**
|
|
235
|
-
* Optional for additional classes
|
|
236
|
-
*/
|
|
237
|
-
additionalClasses?: string | undefined;
|
|
238
|
-
/**
|
|
239
|
-
* Enable read only
|
|
240
|
-
*/
|
|
241
|
-
readOnly?: boolean;
|
|
242
|
-
/**
|
|
243
|
-
* LabelClasses
|
|
244
|
-
*/
|
|
245
|
-
labelClasses?: string | undefined;
|
|
246
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
247
|
-
placeholder?: string;
|
|
248
|
-
/**
|
|
249
|
-
* Set label only
|
|
250
|
-
*/
|
|
251
|
-
onlyLabel?: boolean | undefined;
|
|
252
|
-
/**
|
|
253
|
-
* inner span Classes
|
|
254
|
-
*/
|
|
255
|
-
labelSpanClasses?: string;
|
|
256
|
-
/**
|
|
257
|
-
* add additional InputValidation Classes
|
|
258
|
-
*/
|
|
259
|
-
additionalErrorClasses?: string;
|
|
260
|
-
isAdditionalErrorInput?: boolean;
|
|
261
|
-
fullError?: boolean;
|
|
262
|
-
isIconLeft?: boolean;
|
|
263
|
-
isIconRight?: boolean;
|
|
264
|
-
leftIcon?: string;
|
|
265
|
-
rightIcon?: string;
|
|
266
|
-
iconClass?: string;
|
|
267
|
-
isIcon?: boolean;
|
|
268
|
-
icon?: string;
|
|
269
|
-
iconClassRight?: string;
|
|
270
|
-
iconClassLeft?: string;
|
|
271
|
-
iconOnClick?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
272
|
-
enableToolTip?: boolean;
|
|
273
|
-
tooltipProps?: ToolTipProps;
|
|
274
|
-
selected?: selectedValue;
|
|
275
|
-
onSelect?: (selectedOption: selectedValue) => void;
|
|
276
|
-
viewMode?: boolean;
|
|
277
|
-
previousData?: {
|
|
278
|
-
answerLabel: string;
|
|
279
|
-
lastEditedDate?: string;
|
|
280
|
-
};
|
|
281
|
-
isRequired?: boolean;
|
|
282
|
-
}
|
|
283
|
-
export interface IFormGenInputProps {
|
|
284
|
-
/**
|
|
285
|
-
* Set Input type
|
|
286
|
-
*/
|
|
287
|
-
type?: InputType;
|
|
288
|
-
/**
|
|
289
|
-
* Set new variant of the input
|
|
290
|
-
*/
|
|
291
|
-
inputVariant?: 'default' | 'large' | 'dynamic';
|
|
292
|
-
/**
|
|
293
|
-
* Set Input name
|
|
294
|
-
*/
|
|
295
|
-
id?: string;
|
|
296
|
-
/**
|
|
297
|
-
* Set Input name
|
|
298
|
-
*/
|
|
299
|
-
labelName?: string;
|
|
300
|
-
/**
|
|
301
|
-
* Set the Label Type
|
|
302
|
-
*/
|
|
303
|
-
labelType?: LableTypes;
|
|
304
|
-
/**
|
|
305
|
-
* Set Input label name
|
|
306
|
-
*/
|
|
307
|
-
label?: string | undefined;
|
|
308
|
-
/**
|
|
309
|
-
* Ser Error message
|
|
310
|
-
*/
|
|
311
|
-
error?: string;
|
|
312
|
-
/**
|
|
313
|
-
* Ser Error message
|
|
314
|
-
*/
|
|
315
|
-
isBorderedError?: boolean;
|
|
316
|
-
/**
|
|
317
|
-
* Set Wrapper classes, new classes will overide the existing default classes
|
|
318
|
-
*/
|
|
319
|
-
wrapperClass?: string | undefined;
|
|
320
|
-
/**
|
|
321
|
-
* Optional for additional classes
|
|
322
|
-
*/
|
|
323
|
-
additionalClasses?: string | undefined;
|
|
324
|
-
/**
|
|
325
|
-
* Enable read only
|
|
326
|
-
*/
|
|
327
|
-
readOnly?: boolean;
|
|
328
|
-
/**
|
|
329
|
-
* LabelClasses
|
|
330
|
-
*/
|
|
331
|
-
labelClasses?: string | undefined;
|
|
332
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
333
|
-
placeholder?: string;
|
|
334
|
-
/**
|
|
335
|
-
* Set label only
|
|
336
|
-
*/
|
|
337
|
-
onlyLabel?: boolean | undefined;
|
|
338
|
-
/**
|
|
339
|
-
* inner span Classes
|
|
340
|
-
*/
|
|
341
|
-
labelSpanClasses?: string;
|
|
342
|
-
/**
|
|
343
|
-
* add additional InputValidation Classes
|
|
344
|
-
*/
|
|
345
|
-
additionalErrorClasses?: string;
|
|
346
|
-
isAdditionalErrorInput?: boolean;
|
|
347
|
-
fullError?: boolean;
|
|
348
|
-
isIconLeft?: boolean;
|
|
349
|
-
isIconRight?: boolean;
|
|
350
|
-
leftIcon?: string;
|
|
351
|
-
rightIcon?: string;
|
|
352
|
-
iconClass?: string;
|
|
353
|
-
isIcon?: boolean;
|
|
354
|
-
icon?: string;
|
|
355
|
-
iconClassRight?: string;
|
|
356
|
-
iconClassLeft?: string;
|
|
357
|
-
iconOnClick?: (event: React.ChangeEvent<HTMLInputElement>) => void;
|
|
358
|
-
enableToolTip?: boolean;
|
|
359
|
-
tooltipProps?: ToolTipProps;
|
|
360
|
-
selected?: selectedValue;
|
|
361
|
-
onSelect?: (selectedOption: selectedValue) => void;
|
|
362
|
-
viewMode?: boolean;
|
|
363
|
-
}
|
|
364
|
-
export interface ICheckboxProps extends AdditionalClassesProp {
|
|
365
|
-
onChange?: (checked: boolean) => void;
|
|
366
|
-
checked?: boolean;
|
|
367
|
-
id?: any;
|
|
368
|
-
label?: string | React.ReactNode;
|
|
369
|
-
}
|
|
370
|
-
export interface ICheckboxFormGenProps extends AdditionalClassesProp {
|
|
371
|
-
onSelect?: (checked: {
|
|
372
|
-
isChecked: boolean;
|
|
373
|
-
value?: string | boolean;
|
|
374
|
-
}) => void;
|
|
375
|
-
selected?: {
|
|
376
|
-
isChecked: boolean;
|
|
377
|
-
};
|
|
378
|
-
id?: any;
|
|
379
|
-
label?: string | React.ReactNode;
|
|
380
|
-
}
|
|
381
|
-
export type LABELTYPE = 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabel' | 'formLabel1' | 'formLabelMedeum' | 'formButtonGroup' | 'fontSemiBold' | 'fontMedium' | undefined;
|
|
382
|
-
export interface ILabelProps {
|
|
383
|
-
/**
|
|
384
|
-
* Set the Label Type
|
|
385
|
-
*/
|
|
386
|
-
labelType?: LABELTYPE;
|
|
387
|
-
/**
|
|
388
|
-
* Label name
|
|
389
|
-
*/
|
|
390
|
-
name: string | undefined;
|
|
391
|
-
/**
|
|
392
|
-
* Label contents
|
|
393
|
-
*/
|
|
394
|
-
label?: string | undefined;
|
|
395
|
-
/**
|
|
396
|
-
* Add children
|
|
397
|
-
*/
|
|
398
|
-
children?: React.ReactNode;
|
|
399
|
-
/**
|
|
400
|
-
* Optional for additional classes
|
|
401
|
-
*/
|
|
402
|
-
additionalClasses?: string | undefined;
|
|
403
|
-
/**
|
|
404
|
-
* inner span Classes
|
|
405
|
-
*/
|
|
406
|
-
labelSpanClasses?: string;
|
|
407
|
-
secondaryText?: string;
|
|
408
|
-
isRequired?: boolean;
|
|
409
|
-
/**
|
|
410
|
-
* Show asterisk permanently regardless of input value
|
|
411
|
-
*/
|
|
412
|
-
showPermanentAsterisk?: boolean;
|
|
413
|
-
}
|
|
414
|
-
export interface IRadioProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
415
|
-
/**
|
|
416
|
-
* Set Input name
|
|
417
|
-
*/
|
|
418
|
-
name?: string;
|
|
419
|
-
/**
|
|
420
|
-
* Set Input label name
|
|
421
|
-
*/
|
|
422
|
-
label?: string | undefined;
|
|
423
|
-
/**
|
|
424
|
-
* Optional for additional classes
|
|
425
|
-
*/
|
|
426
|
-
additionalClasses?: string | undefined;
|
|
427
|
-
id?: any;
|
|
428
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
429
|
-
isDeafult?: boolean;
|
|
430
|
-
}
|
|
431
|
-
interface IOption {
|
|
432
|
-
value: string;
|
|
433
|
-
displayName: string;
|
|
434
|
-
}
|
|
435
|
-
export type selectType = 'small' | 'medium' | 'regular';
|
|
436
|
-
export interface ISelectProps extends SelectHTMLAttributes<HTMLSelectElement> {
|
|
437
|
-
/**
|
|
438
|
-
* Type
|
|
439
|
-
*/
|
|
440
|
-
selectType?: selectType;
|
|
441
|
-
/**
|
|
442
|
-
* Set Input type
|
|
443
|
-
*/
|
|
444
|
-
options?: IOption[];
|
|
445
|
-
/**
|
|
446
|
-
* Set Input name
|
|
447
|
-
*/
|
|
448
|
-
name: string;
|
|
449
|
-
/**
|
|
450
|
-
* Set Label type
|
|
451
|
-
*/
|
|
452
|
-
labelType?: 'default' | 'black' | 'smallSelect' | 'blackSmall' | 'formLabelMedeum';
|
|
453
|
-
/**
|
|
454
|
-
* Set Input label name
|
|
455
|
-
*/
|
|
456
|
-
label?: string | undefined;
|
|
457
|
-
/**
|
|
458
|
-
* LabelClasses
|
|
459
|
-
*/
|
|
460
|
-
labelClasses?: string;
|
|
461
|
-
/**
|
|
462
|
-
* Default text for placeholder
|
|
463
|
-
*/
|
|
464
|
-
defaultText?: string | undefined;
|
|
465
|
-
/**
|
|
466
|
-
* Ser Error message
|
|
467
|
-
*/
|
|
468
|
-
error?: string;
|
|
469
|
-
/**
|
|
470
|
-
* Set Wrapper classes, new classes will overide the existing default classes
|
|
471
|
-
*/
|
|
472
|
-
wrapperClass?: string | undefined;
|
|
473
|
-
/**
|
|
474
|
-
* Optional for additional classes
|
|
475
|
-
*/
|
|
476
|
-
additionalClasses?: string | undefined;
|
|
477
|
-
updateInputValue?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
478
|
-
defaultValue?: string;
|
|
479
|
-
iconClasses?: string;
|
|
480
|
-
isIcon?: boolean;
|
|
481
|
-
secondaryText?: string;
|
|
482
|
-
isRequired?: boolean;
|
|
483
|
-
tooltipProps?: ToolTipProps;
|
|
484
|
-
enableToolTip?: boolean;
|
|
485
|
-
}
|
|
486
|
-
export interface IMessageProps extends IChildrenProp, IAdditionalClassesProp, IOnClickEventProps {
|
|
487
|
-
/**
|
|
488
|
-
* Message title
|
|
489
|
-
*/
|
|
490
|
-
title?: string;
|
|
491
|
-
/**
|
|
492
|
-
* Select message type
|
|
493
|
-
*/
|
|
494
|
-
type?: MessageTypes;
|
|
495
|
-
/**
|
|
496
|
-
* Button Label
|
|
497
|
-
*/
|
|
498
|
-
buttonLabel?: string;
|
|
499
|
-
}
|
|
500
|
-
export interface IInputProps extends TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
501
|
-
/**
|
|
502
|
-
* Set Input type
|
|
503
|
-
*/
|
|
504
|
-
type?: InputType;
|
|
505
|
-
/**
|
|
506
|
-
* Set Input name
|
|
507
|
-
*/
|
|
508
|
-
name: string;
|
|
509
|
-
/**
|
|
510
|
-
* Set the Label Type
|
|
511
|
-
*/
|
|
512
|
-
labelType?: 'default' | 'black' | 'smallSelect';
|
|
513
|
-
/**
|
|
514
|
-
* Set Input label name
|
|
515
|
-
*/
|
|
516
|
-
label?: string | undefined;
|
|
517
|
-
/**
|
|
518
|
-
* Ser Error message
|
|
519
|
-
*/
|
|
520
|
-
error?: string;
|
|
521
|
-
/**
|
|
522
|
-
* Set Wrapper classes, new classes will overide the existing default classes
|
|
523
|
-
*/
|
|
524
|
-
wrapperClass?: string | undefined;
|
|
525
|
-
/**
|
|
526
|
-
* Optional for additional classes
|
|
527
|
-
*/
|
|
528
|
-
additionalClasses?: string | undefined;
|
|
529
|
-
/**
|
|
530
|
-
* Enable read only
|
|
531
|
-
*/
|
|
532
|
-
readonly?: boolean;
|
|
533
|
-
/**
|
|
534
|
-
* LabelClasses
|
|
535
|
-
*/
|
|
536
|
-
labelClasses?: string;
|
|
537
|
-
/**
|
|
538
|
-
* Set label only
|
|
539
|
-
*/
|
|
540
|
-
onlyLabel?: boolean;
|
|
541
|
-
row?: number;
|
|
542
|
-
inputFocus?: any;
|
|
543
|
-
refProps?: any;
|
|
544
|
-
reSize?: string;
|
|
545
|
-
textClass?: string;
|
|
546
|
-
maxLength?: number;
|
|
547
|
-
isEnableTextCount?: boolean;
|
|
548
|
-
value?: string | undefined;
|
|
549
|
-
setValue?: (value: string) => void;
|
|
550
|
-
isRequired?: boolean;
|
|
551
|
-
selected?: selectedValue;
|
|
552
|
-
}
|
|
553
|
-
export interface IInputPropsV2 extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, 'onChange'> {
|
|
554
|
-
/**
|
|
555
|
-
* Set Input type
|
|
556
|
-
*/
|
|
557
|
-
type?: InputType;
|
|
558
|
-
/**
|
|
559
|
-
* Set Input name
|
|
560
|
-
*/
|
|
561
|
-
name: string;
|
|
562
|
-
/**
|
|
563
|
-
* Set the Label Type
|
|
564
|
-
*/
|
|
565
|
-
labelType?: 'default' | 'black' | 'smallSelect';
|
|
566
|
-
/**
|
|
567
|
-
* Set Input label name
|
|
568
|
-
*/
|
|
569
|
-
label?: string | undefined;
|
|
570
|
-
/**
|
|
571
|
-
* Ser Error message
|
|
572
|
-
*/
|
|
573
|
-
error?: string;
|
|
574
|
-
/**
|
|
575
|
-
* Set Wrapper classes, new classes will overide the existing default classes
|
|
576
|
-
*/
|
|
577
|
-
wrapperClass?: string | undefined;
|
|
578
|
-
/**
|
|
579
|
-
* Optional for additional classes
|
|
580
|
-
*/
|
|
581
|
-
additionalClasses?: string | undefined;
|
|
582
|
-
/**
|
|
583
|
-
* Enable read only
|
|
584
|
-
*/
|
|
585
|
-
readonly?: boolean;
|
|
586
|
-
/**
|
|
587
|
-
* LabelClasses
|
|
588
|
-
*/
|
|
589
|
-
labelClasses?: string;
|
|
590
|
-
/**
|
|
591
|
-
* Set label only
|
|
592
|
-
*/
|
|
593
|
-
onlyLabel?: boolean;
|
|
594
|
-
row?: number;
|
|
595
|
-
inputFocus?: any;
|
|
596
|
-
refProps?: any;
|
|
597
|
-
reSize?: string;
|
|
598
|
-
textClass?: string;
|
|
599
|
-
maxLength?: number;
|
|
600
|
-
isEnableTextCount?: boolean;
|
|
601
|
-
value?: string | undefined;
|
|
602
|
-
setValue?: (value: string) => void;
|
|
603
|
-
isRequired?: boolean;
|
|
604
|
-
onChange?: (value: string) => void;
|
|
605
|
-
selected?: selectedValue;
|
|
606
|
-
}
|
|
607
|
-
export interface ICardProps {
|
|
608
|
-
/**
|
|
609
|
-
* Set button type
|
|
610
|
-
*/
|
|
611
|
-
cardType?: 'primaryBorder' | 'lightGray' | 'lightGrayHalf' | 'gray' | 'white' | 'black' | 'whiteBorder' | 'bgLightBlue';
|
|
612
|
-
/**
|
|
613
|
-
* Optional for additional classes
|
|
614
|
-
*/
|
|
615
|
-
additionalClasses?: string | undefined;
|
|
616
|
-
/**
|
|
617
|
-
* Nested child elements and contents
|
|
618
|
-
*/
|
|
619
|
-
children?: React.ReactNode;
|
|
620
|
-
onClick?: () => void;
|
|
621
|
-
}
|
|
622
|
-
export interface AdditionalClassesProp {
|
|
623
|
-
/**
|
|
624
|
-
* Optional | Set the additional classes
|
|
625
|
-
*/
|
|
626
|
-
additionalClasses?: string | undefined;
|
|
627
|
-
}
|
|
628
|
-
export interface DataTestIdProp {
|
|
629
|
-
/**
|
|
630
|
-
* Set the id for unti testing
|
|
631
|
-
*/
|
|
632
|
-
data_testid?: string;
|
|
633
|
-
}
|
|
634
|
-
export interface LogoProps extends DataTestIdProp, AdditionalClassesProp {
|
|
635
|
-
iconType?: string;
|
|
636
|
-
orgName?: string;
|
|
637
|
-
isNavLogo?: boolean;
|
|
638
|
-
}
|
|
639
|
-
export interface TooltipProps {
|
|
640
|
-
/**
|
|
641
|
-
* Tooltip content
|
|
642
|
-
*/
|
|
643
|
-
tooltipHeading?: string;
|
|
644
|
-
/**
|
|
645
|
-
* Tooltip Icon
|
|
646
|
-
*/
|
|
647
|
-
tooltipIcon?: IconType;
|
|
648
|
-
/**
|
|
649
|
-
* Tooltip Icon classes
|
|
650
|
-
*/
|
|
651
|
-
tooltipIconClasses?: string;
|
|
652
|
-
/**
|
|
653
|
-
* Tooltip text
|
|
654
|
-
*/
|
|
655
|
-
tooltipContent?: React.ReactNode;
|
|
656
|
-
/**
|
|
657
|
-
* Tooltip Sub Content
|
|
658
|
-
*/
|
|
659
|
-
tooltipSubContent?: string;
|
|
660
|
-
/**
|
|
661
|
-
* Tooltip container classes
|
|
662
|
-
*/
|
|
663
|
-
tooltipContaineClasses?: string;
|
|
664
|
-
/**
|
|
665
|
-
* Tooltip additional classes
|
|
666
|
-
*/
|
|
667
|
-
additionalClasses?: string;
|
|
668
|
-
/**
|
|
669
|
-
* Set Tooltip content classes
|
|
670
|
-
*/
|
|
671
|
-
tooltipContentHighlighted?: boolean;
|
|
672
|
-
tooltipClick?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
673
|
-
onMouseOver?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
674
|
-
onMouseOut?: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
675
|
-
showTooltip?: boolean;
|
|
676
|
-
fromBottom?: boolean;
|
|
677
|
-
externalCaseManger?: boolean;
|
|
678
|
-
children?: ReactNode;
|
|
679
|
-
}
|
|
680
|
-
export type Patient = {
|
|
681
|
-
firstName: string;
|
|
682
|
-
lastName: string;
|
|
683
|
-
age: number;
|
|
684
|
-
visits: number;
|
|
685
|
-
progress: number;
|
|
686
|
-
status: 'relationship' | 'complicated' | 'single';
|
|
687
|
-
subRows?: Patient[];
|
|
688
|
-
};
|
|
689
|
-
export interface ITabProps extends AdditionalClassesProp {
|
|
690
|
-
/** Tab button label text. */
|
|
691
|
-
label: string;
|
|
692
|
-
/** Unique identifier for the tab. */
|
|
693
|
-
value: string;
|
|
694
|
-
/** Count value for the tab. */
|
|
695
|
-
count?: string | null;
|
|
696
|
-
/** Active tab identifier (optional). */
|
|
697
|
-
activeTab?: string;
|
|
698
|
-
/** Callback on tab click (optional). */
|
|
699
|
-
handleClick?: (value: string) => void;
|
|
700
|
-
}
|
|
701
|
-
export interface ITabListProps extends AdditionalClassesProp {
|
|
702
|
-
/** Children components, typically Tab components. */
|
|
703
|
-
children: React.ReactNode;
|
|
704
|
-
/** Value of the active tab. */
|
|
705
|
-
value: string;
|
|
706
|
-
/** Callback on tab click. */
|
|
707
|
-
handleClick: (value: string) => void;
|
|
708
|
-
}
|
|
709
|
-
export interface ITabPanelProps extends AdditionalClassesProp {
|
|
710
|
-
/** Content displayed within the panel. */
|
|
711
|
-
children: React.ReactNode;
|
|
712
|
-
/** Value of the active tab for display logic. */
|
|
713
|
-
value: string;
|
|
714
|
-
/** Identifier for the tab panel. */
|
|
715
|
-
index: string;
|
|
716
|
-
isCenter?: boolean;
|
|
717
|
-
}
|
|
718
|
-
export interface IPanelCardProps extends AdditionalClassesProp {
|
|
719
|
-
/** Header title displayed on header area of the card. */
|
|
720
|
-
headerTitle: string;
|
|
721
|
-
/** Controllers displayed on header area of the card. */
|
|
722
|
-
controllers?: React.ReactNode;
|
|
723
|
-
/** Content displayed within the panel. */
|
|
724
|
-
content?: any;
|
|
725
|
-
/** Classes for the panel content. */
|
|
726
|
-
contentClasses?: string | undefined;
|
|
727
|
-
wrapperClass?: string | undefined;
|
|
728
|
-
completedDateTime?: string;
|
|
729
|
-
enableBack?: boolean;
|
|
730
|
-
backButtonClick?: () => void;
|
|
731
|
-
isLoading?: boolean;
|
|
732
|
-
onClick?: () => void;
|
|
733
|
-
loadingContent?: any;
|
|
734
|
-
}
|
|
735
|
-
export declare enum BorderType {
|
|
736
|
-
Dotted = "border-dotted",
|
|
737
|
-
Dashed = "border-dashed",
|
|
738
|
-
CustomDashed = "custom-dashed-border",
|
|
739
|
-
Solid = "border-solid",
|
|
740
|
-
Double = "border-double",
|
|
741
|
-
Groove = "border-groove",
|
|
742
|
-
Ridge = "border-ridge",
|
|
743
|
-
Inset = "border-inset",
|
|
744
|
-
Outset = "border-outset",
|
|
745
|
-
WideDash = "dotted-spaced-bottom",
|
|
746
|
-
None = "border-none"
|
|
747
|
-
}
|
|
748
|
-
export interface IListRowProps extends AdditionalClassesProp {
|
|
749
|
-
/** Header title displayed on list row. */
|
|
750
|
-
title: string | React.ReactNode;
|
|
751
|
-
/** Sub title displayed on list row. */
|
|
752
|
-
subTitle?: string | React.ReactNode;
|
|
753
|
-
/** labels on list row. */
|
|
754
|
-
labels?: string[];
|
|
755
|
-
/** Controllers displayed on right side of list row. */
|
|
756
|
-
controllers: React.ReactNode | any;
|
|
757
|
-
/** List Row button border type */
|
|
758
|
-
bottomBorderType?: BorderType;
|
|
759
|
-
bottomContent?: React.ReactNode;
|
|
760
|
-
onFocus?: () => void;
|
|
761
|
-
onClick?: () => void;
|
|
762
|
-
}
|
|
763
|
-
export declare const TIMELINE_TYPE: {
|
|
764
|
-
SURVEY: string;
|
|
765
|
-
NORMAL: string;
|
|
766
|
-
CHALLENGE: string;
|
|
767
|
-
SOLUTION: string;
|
|
768
|
-
};
|
|
769
|
-
export interface CircularLoaderProps {
|
|
770
|
-
containerClass?: string;
|
|
771
|
-
loaderClass?: string;
|
|
772
|
-
}
|
|
773
|
-
export declare enum IconVariant {
|
|
774
|
-
primary = "primary",
|
|
775
|
-
secondary = "secondary",
|
|
776
|
-
disabled = "disabled",
|
|
777
|
-
success = "success",
|
|
778
|
-
warning = "warning",
|
|
779
|
-
error = "error",
|
|
780
|
-
info = "info"
|
|
781
|
-
}
|
|
782
|
-
export {};
|