dfh-ui-library 1.14.27 → 1.14.29

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.
@@ -0,0 +1,8 @@
1
+ import React, { CSSProperties } from "react";
2
+ type Props = {
3
+ markdown: string;
4
+ className?: string;
5
+ style?: CSSProperties;
6
+ };
7
+ declare const MarkdownContent: React.FC<Props>;
8
+ export default MarkdownContent;
@@ -0,0 +1 @@
1
+ export { default } from "./MarkdownContent";
@@ -8,6 +8,7 @@ export { default as Card } from './Card';
8
8
  export { default as ComboBox, ComboboxV2 } from './ComboBox';
9
9
  export { default as ComponentProvider } from './ComponentProvider';
10
10
  export { default as Logo } from './Logo';
11
+ export { default as MarkdownContent } from './MarkdownContent';
11
12
  export { default as LoadingSpinner } from './LoadingSpinner';
12
13
  export { default as NavBar } from './NavBar';
13
14
  export { default as Message } from './Message';
@@ -723,6 +723,7 @@ export interface FormGenButtonGroupProps extends FormGenInputGroupProps {
723
723
  options: {
724
724
  id: number;
725
725
  value: string;
726
+ displayName?: string;
726
727
  }[];
727
728
  onSelect: (selectedOption: selectedValue) => void;
728
729
  label?: string;
@@ -778,6 +779,7 @@ export interface selectedValue {
778
779
  valueRef?: any;
779
780
  answerPrevData?: IAnswerPrevData;
780
781
  updatedDate?: string;
782
+ displayName?: string;
781
783
  }
782
784
  export interface IAnswerPrevData {
783
785
  answerLabel: string;
@@ -0,0 +1 @@
1
+ export declare const normalizeMarkdown: (markdown: string) => string;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from 'react';
2
- import React__default, { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTMLAttributes, ReactNode, FC, HTMLProps } from 'react';
2
+ import React__default, { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTMLAttributes, ReactNode, FC, CSSProperties, HTMLProps } from 'react';
3
3
  import { ColumnDef, OnChangeFn, SortingState, PaginationState } from '@tanstack/react-table';
4
4
  export { ColumnDef, SortingState } from '@tanstack/react-table';
5
5
  import { Tag } from 'react-tag-input';
@@ -622,6 +622,7 @@ interface FormGenButtonGroupProps extends FormGenInputGroupProps {
622
622
  options: {
623
623
  id: number;
624
624
  value: string;
625
+ displayName?: string;
625
626
  }[];
626
627
  onSelect: (selectedOption: selectedValue) => void;
627
628
  label?: string;
@@ -677,6 +678,7 @@ interface selectedValue {
677
678
  valueRef?: any;
678
679
  answerPrevData?: IAnswerPrevData;
679
680
  updatedDate?: string;
681
+ displayName?: string;
680
682
  }
681
683
  interface IAnswerPrevData {
682
684
  answerLabel: string;
@@ -1675,6 +1677,13 @@ declare function DFHFormProvider({ schema, children, setComponents }: IComponent
1675
1677
  */
1676
1678
  declare const Logo: React__default.FC<LogoProps>;
1677
1679
 
1680
+ type Props = {
1681
+ markdown: string;
1682
+ className?: string;
1683
+ style?: CSSProperties;
1684
+ };
1685
+ declare const MarkdownContent: React__default.FC<Props>;
1686
+
1678
1687
  declare const LoadingSpinner: React__default.FC<AdditionalClassesProp$1>;
1679
1688
 
1680
1689
  declare const NavBar: ({ navigationData, additionalClasses, navItemClick, userImage, username, themeColor, accountPopoverMenuItems, version, environmentList, selectedEnvironment, currentEnvironment, onHelpClick, helpOpen, handleEnvironmentChange, trainingMode }: TabNavigationProps & {
@@ -2322,5 +2331,5 @@ declare const themeConfigs: {
2322
2331
  plugins: any[];
2323
2332
  };
2324
2333
 
2325
- export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupMultiSelectWithInputsFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithMultiSelectFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, ConboboxV2 as ComboboxV2, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButton, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, IconInputV2, IconV2, IconVariant, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, LockCodeInput, Logo, Message, MiniTimelineWrapper as MiniTimelineCard, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PhoneNumberInput4, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, SideBarListViewV2, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, TodosV2, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
2334
+ export { BADGETYPE, Badge, BorderType, Breadcrumb, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupMultiSelectV2, ButtonGroupMultiSelectWithInputsFormGen, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithMultiSelectFormGen, ButtonGroupWithUpload, ButtonV2, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, ComboBox, ConboboxV2 as ComboboxV2, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, DynamicDualInputTextGroupFormGen, FilterButton, FilterButtonGroup, Heading, HistoryDetails, Icon, IconInput, IconInputV2, IconV2, IconVariant, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, InputDatePickerV2, InputValidation, InputsGroup, Label, ListRow, LoadingSpinner, LockCodeInput, Logo, MarkdownContent, Message, MiniTimelineWrapper as MiniTimelineCard, Modal, MultiSelectFormGen, NavBar, NoteEditor, NoteEditorV2, PanelCard, PhoneNumberInput, PhoneNumberInput2, PhoneNumberInput3, PhoneNumberInput4, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SelectV2, SideBarListView, SideBarListViewV2, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, Todos, TodosV2, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, useSchemaProcessor as UseSchemaProcessor, VersionDateDropdown, themeConfigs, usePagination, useSorting };
2326
2335
  export type { AccountPopoverMenuItem, BadgeColorVariant, BtnOptionDropdown, DropdownSearchProps, ISolutionvalues, InputType, ListMasterDataProps, LogoProps, MessageProps, NoteChildrenProps, NoteHistoryProps, NoteItemProps, NoteProps, OptionProps, TimelineEventProps, UrgentDataProps, VariantTypes };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.14.27",
3
+ "version": "1.14.29",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
@@ -51,7 +51,8 @@
51
51
  "tailwindcss": "^3.3.5",
52
52
  "tsconfig-paths-webpack-plugin": "^4.1.0",
53
53
  "tslib": "^2.6.2",
54
- "typescript": "^5.2.2"
54
+ "typescript": "^5.2.2",
55
+ "marked": "^15.0.8"
55
56
  },
56
57
  "devDependencies": {
57
58
  "@rollup/plugin-commonjs": "^25.0.7",