dfh-ui-library 1.12.621 → 1.12.622
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/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 +7 -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 +7 -0
- package/dist/index.d.ts +10 -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, children, onClick, disabled, ...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,13 @@ 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
|
+
}
|
57
64
|
export interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
|
58
65
|
/**
|
59
66
|
* Optional | Set Icon Text
|
package/dist/index.d.ts
CHANGED
@@ -829,6 +829,13 @@ 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
|
+
}
|
832
839
|
interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
|
833
840
|
/**
|
834
841
|
* Optional | Set Icon Text
|
@@ -1245,6 +1252,8 @@ declare const Button: ({ type, isDisabled, buttonLabel, iconType, iconColor, ico
|
|
1245
1252
|
*/
|
1246
1253
|
declare const Typhography: ({ type, component, color, additionalClasses, children, onClick, disabled, ...rest }: ITyphographyProps) => React__default.JSX.Element;
|
1247
1254
|
|
1255
|
+
declare const TyphographyFormGen: ({ type, component, color, additionalClasses, children, onClick, disabled, ...rest }: ITyphographyFormGenProps) => React__default.JSX.Element;
|
1256
|
+
|
1248
1257
|
declare const Checkbox: React__default.FC<ICheckboxProps>;
|
1249
1258
|
|
1250
1259
|
/**
|
@@ -1826,4 +1835,4 @@ declare const themeConfigs: {
|
|
1826
1835
|
plugins: any[];
|
1827
1836
|
};
|
1828
1837
|
|
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 };
|
1838
|
+
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.622",
|
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.83",
|
27
27
|
"dompurify": "^3.1.6",
|
28
28
|
"formik": "^2.4.5",
|
29
29
|
"lodash": "^4.17.21",
|