dfh-ui-library 1.12.645 → 1.12.646

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. package/dist/cjs/index.css +1 -1
  2. package/dist/cjs/index.css.map +1 -1
  3. package/dist/cjs/index.js +1 -1
  4. package/dist/cjs/index.js.map +1 -1
  5. package/dist/cjs/types/components/History/NoteEvent.d.ts +4 -0
  6. package/dist/cjs/types/components/History/NoteEventView.d.ts +7 -0
  7. package/dist/cjs/types/components/MonthPicker/MonthPicker.d.ts +4 -0
  8. package/dist/cjs/types/components/MonthPicker/index.d.ts +1 -0
  9. package/dist/cjs/types/components/TyphographyFormGen/TyphographyFormGen.d.ts +4 -0
  10. package/dist/cjs/types/components/TyphographyFormGen/TyphographyFormGen.handler.d.ts +1 -0
  11. package/dist/cjs/types/components/TyphographyFormGen/index.d.ts +1 -0
  12. package/dist/cjs/types/components/index.d.ts +1 -0
  13. package/dist/cjs/types/shared/models/components/base.model.d.ts +8 -0
  14. package/dist/esm/index.css +1 -1
  15. package/dist/esm/index.css.map +1 -1
  16. package/dist/esm/index.js +1 -1
  17. package/dist/esm/index.js.map +1 -1
  18. package/dist/esm/types/components/History/NoteEvent.d.ts +4 -0
  19. package/dist/esm/types/components/History/NoteEventView.d.ts +7 -0
  20. package/dist/esm/types/components/MonthPicker/MonthPicker.d.ts +4 -0
  21. package/dist/esm/types/components/MonthPicker/index.d.ts +1 -0
  22. package/dist/esm/types/components/TyphographyFormGen/TyphographyFormGen.d.ts +4 -0
  23. package/dist/esm/types/components/TyphographyFormGen/TyphographyFormGen.handler.d.ts +1 -0
  24. package/dist/esm/types/components/TyphographyFormGen/index.d.ts +1 -0
  25. package/dist/esm/types/components/index.d.ts +1 -0
  26. package/dist/esm/types/shared/models/components/base.model.d.ts +8 -0
  27. package/dist/index.d.ts +11 -1
  28. package/package.json +2 -2
  29. package/dist/cjs/types/components/FormElements/MultiSelect/MultiSelect.d.ts +0 -4
  30. package/dist/cjs/types/components/FormElements/MultiSelect/index.d.ts +0 -1
  31. package/dist/esm/types/components/FormElements/MultiSelect/MultiSelect.d.ts +0 -4
  32. package/dist/esm/types/components/FormElements/MultiSelect/index.d.ts +0 -1
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { TimelineEventProps } from "../../shared/models/components/common.model";
3
+ declare const NoteEvent: React.FC<TimelineEventProps>;
4
+ export default NoteEvent;
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { NoteItemProps } from "../../shared/models/components/common.model";
3
+ interface NoteViewProps {
4
+ notes?: NoteItemProps[];
5
+ }
6
+ declare const NotesEventView: React.FC<NoteViewProps>;
7
+ export default NotesEventView;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { CustomDatePickerProps } from '../../shared/models/components/common.model';
3
+ declare const MonthPicker: React.FC<CustomDatePickerProps>;
4
+ export default MonthPicker;
@@ -0,0 +1 @@
1
+ export { default } from "./MonthPicker";
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { ITyphographyFormGenProps } from "../../shared/models/components/base.model";
3
+ declare const TyphographyFormGen: React.FC<ITyphographyFormGenProps>;
4
+ export default TyphographyFormGen;
@@ -0,0 +1 @@
1
+ export declare const handleFontTypes: (_type: string | undefined) => "text-4xl font-bold" | "text-3xl font-semibold" | "text-2xl font-semibold" | "text-xl font-medium" | "text-lg font-medium" | "text-base font-medium" | undefined;
@@ -0,0 +1 @@
1
+ export { default } from "./TyphographyFormGen";
@@ -1,6 +1,7 @@
1
1
  import "../index.css";
2
2
  export { default as Button } from "./Button";
3
3
  export { default as Typhography } from "./Typhography";
4
+ export { default as TyphographyFormGen } from "./TyphographyFormGen";
4
5
  export { Input, Select, CheckBox, Label, InputValidation, Textarea, RadioButton, IconInput, ImageInput, } from "./FormElements";
5
6
  export { default as Card } from "./Card";
6
7
  export { default as ComponentProvider } from "./ComponentProvider";
@@ -54,6 +54,14 @@ export interface ITyphographyProps extends IChildrenProp, IAdditionalClassesProp
54
54
  onClick?: () => void;
55
55
  disabled?: boolean;
56
56
  }
57
+ export interface ITyphographyFormGenProps extends IChildrenProp, IAdditionalClassesProp {
58
+ type?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
59
+ componentType?: "p" | undefined;
60
+ color?: string;
61
+ onClick?: () => void;
62
+ disabled?: boolean;
63
+ text?: string;
64
+ }
57
65
  export interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
58
66
  /**
59
67
  * Optional | Set Icon Text
package/dist/index.d.ts CHANGED
@@ -849,6 +849,14 @@ interface ITyphographyProps extends IChildrenProp, IAdditionalClassesProp {
849
849
  onClick?: () => void;
850
850
  disabled?: boolean;
851
851
  }
852
+ interface ITyphographyFormGenProps extends IChildrenProp, IAdditionalClassesProp {
853
+ type?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
854
+ componentType?: "p" | undefined;
855
+ color?: string;
856
+ onClick?: () => void;
857
+ disabled?: boolean;
858
+ text?: string;
859
+ }
852
860
  interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
853
861
  /**
854
862
  * Optional | Set Icon Text
@@ -1265,6 +1273,8 @@ declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, ico
1265
1273
  */
1266
1274
  declare const Typhography: ({ type, component, color, additionalClasses, children, onClick, disabled, ...rest }: ITyphographyProps) => React__default.JSX.Element;
1267
1275
 
1276
+ declare const TyphographyFormGen: React__default.FC<ITyphographyFormGenProps>;
1277
+
1268
1278
  declare const Checkbox: React__default.FC<ICheckboxProps>;
1269
1279
 
1270
1280
  /**
@@ -1848,4 +1858,4 @@ declare const themeConfigs: {
1848
1858
  plugins: any[];
1849
1859
  };
1850
1860
 
1851
- export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, MultiSelectFormGen, NavBar, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
1861
+ export { BADGETYPE, Badge, type BadgeColorVariant, BorderType, Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, ButtonGroupFormGen, ButtonGroupMultiSelect, ButtonGroupWithInputs, ButtonGroupWithInputsFormGen, ButtonGroupWithUpload, Card, Checkbox as CheckBox, CheckBoxComponent, ClickedAction, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, DynamicDualInputTextGroupFormGen, FilterButtonGroup, Heading, HistoryDetails, type ISolutionvalues, Icon, IconInput, ImageInput, ImagePreview, IndeterminateCheckbox, InfoCard, Input, InputDatePicker, type InputType, InputValidation, InputsGroup, Label, type ListMasterDataProps, ListRow, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, MultiSelectFormGen, NavBar, NoteEditor, type NoteHistoryProps, type NoteItemProps, type NoteProps, type OptionProps, PanelCard, PhoneNumberInput, PreviousDataBadge, ProgressBar, RadioButton, RegularDropdown, Row, SearchDropdownWithButton, Select, SelectUserWithButton, SideBarListView, Signature, SortDropdown, Spinner, SsnInput, Stepper, Tab, TabButton, TabList, TabPanel, Table, TagSelect as TagDropdown, TagSelect, Textarea, Timeline, type TimelineEventProps, Todos, Tooltip, TooltipWithChildren, Typho, Typhography, TyphographyFormGen, UrgentChallenges, type UrgentDataProps, useSchemaProcessor as UseSchemaProcessor, type VariantTypes, VersionDateDropdown, themeConfigs, usePagination, useSorting };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.12.645",
3
+ "version": "1.12.646",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",
@@ -23,7 +23,7 @@
23
23
  "@types/react": "^18.2.37",
24
24
  "autoprefixer": "^10.4.16",
25
25
  "classnames": "^2.3.2",
26
- "dfh-form-generator": "^1.2.81",
26
+ "dfh-form-generator": "^1.2.90",
27
27
  "dompurify": "^3.1.6",
28
28
  "formik": "^2.4.5",
29
29
  "lodash": "^4.17.21",
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { IMultiSelectProps } from "../../../shared/models/components/common.model";
3
- declare const MultiSelect: React.FC<IMultiSelectProps>;
4
- export default MultiSelect;
@@ -1 +0,0 @@
1
- export { default } from "./MultiSelect";
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import { IMultiSelectProps } from "../../../shared/models/components/common.model";
3
- declare const MultiSelect: React.FC<IMultiSelectProps>;
4
- export default MultiSelect;
@@ -1 +0,0 @@
1
- export { default } from "./MultiSelect";