dfh-ui-library 1.14.27 → 1.14.28

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';
@@ -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';
@@ -1675,6 +1675,13 @@ declare function DFHFormProvider({ schema, children, setComponents }: IComponent
1675
1675
  */
1676
1676
  declare const Logo: React__default.FC<LogoProps>;
1677
1677
 
1678
+ type Props = {
1679
+ markdown: string;
1680
+ className?: string;
1681
+ style?: CSSProperties;
1682
+ };
1683
+ declare const MarkdownContent: React__default.FC<Props>;
1684
+
1678
1685
  declare const LoadingSpinner: React__default.FC<AdditionalClassesProp$1>;
1679
1686
 
1680
1687
  declare const NavBar: ({ navigationData, additionalClasses, navItemClick, userImage, username, themeColor, accountPopoverMenuItems, version, environmentList, selectedEnvironment, currentEnvironment, onHelpClick, helpOpen, handleEnvironmentChange, trainingMode }: TabNavigationProps & {
@@ -2322,5 +2329,5 @@ declare const themeConfigs: {
2322
2329
  plugins: any[];
2323
2330
  };
2324
2331
 
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 };
2332
+ 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
2333
  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.28",
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",