dfh-ui-library 1.12.621 → 1.12.623
Sign up to get free protection for your applications and to get access to all the features.
- 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/cjs/types/components/TyphographyFormGen/TyphographyFormGen.d.ts +4 -0
- package/dist/cjs/types/components/TyphographyFormGen/TyphographyFormGen.handler.d.ts +1 -0
- package/dist/cjs/types/components/TyphographyFormGen/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/cjs/types/shared/models/components/base.model.d.ts +8 -0
- 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/TyphographyFormGen/TyphographyFormGen.d.ts +4 -0
- package/dist/esm/types/components/TyphographyFormGen/TyphographyFormGen.handler.d.ts +1 -0
- package/dist/esm/types/components/TyphographyFormGen/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/esm/types/shared/models/components/base.model.d.ts +8 -0
- package/dist/index.d.ts +11 -1
- package/package.json +2 -2
@@ -0,0 +1,4 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import { ITyphographyFormGenProps } from "../../shared/models/components/base.model";
|
3
|
+
declare const TyphographyFormGen: ({ type, component, color, additionalClasses, onClick, disabled, subTitle, ...rest }: ITyphographyFormGenProps) => React.JSX.Element;
|
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
|
+
component?: "p" | undefined;
|
60
|
+
color?: string;
|
61
|
+
onClick?: () => void;
|
62
|
+
disabled?: boolean;
|
63
|
+
subTitle?: string;
|
64
|
+
}
|
57
65
|
export interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
|
58
66
|
/**
|
59
67
|
* Optional | Set Icon Text
|
package/dist/index.d.ts
CHANGED
@@ -829,6 +829,14 @@ interface ITyphographyProps extends IChildrenProp, IAdditionalClassesProp {
|
|
829
829
|
onClick?: () => void;
|
830
830
|
disabled?: boolean;
|
831
831
|
}
|
832
|
+
interface ITyphographyFormGenProps extends IChildrenProp, IAdditionalClassesProp {
|
833
|
+
type?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
834
|
+
component?: "p" | undefined;
|
835
|
+
color?: string;
|
836
|
+
onClick?: () => void;
|
837
|
+
disabled?: boolean;
|
838
|
+
subTitle?: string;
|
839
|
+
}
|
832
840
|
interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
|
833
841
|
/**
|
834
842
|
* Optional | Set Icon Text
|
@@ -1245,6 +1253,8 @@ declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, ico
|
|
1245
1253
|
*/
|
1246
1254
|
declare const Typhography: ({ type, component, color, additionalClasses, children, onClick, disabled, ...rest }: ITyphographyProps) => React__default.JSX.Element;
|
1247
1255
|
|
1256
|
+
declare const TyphographyFormGen: ({ type, component, color, additionalClasses, onClick, disabled, subTitle, ...rest }: ITyphographyFormGenProps) => React__default.JSX.Element;
|
1257
|
+
|
1248
1258
|
declare const Checkbox: React__default.FC<ICheckboxProps>;
|
1249
1259
|
|
1250
1260
|
/**
|
@@ -1826,4 +1836,4 @@ declare const themeConfigs: {
|
|
1826
1836
|
plugins: any[];
|
1827
1837
|
};
|
1828
1838
|
|
1829
|
-
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, 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 };
|
1839
|
+
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, 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.
|
3
|
+
"version": "1.12.623",
|
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.
|
26
|
+
"dfh-form-generator": "^1.2.84",
|
27
27
|
"dompurify": "^3.1.6",
|
28
28
|
"formik": "^2.4.5",
|
29
29
|
"lodash": "^4.17.21",
|