dfh-ui-library 1.2.25 → 1.2.26
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.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/core/Heading/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/types/components/core/Heading/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/index.d.ts +24 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Heading } from "./Heading";
|
|
@@ -17,3 +17,4 @@ export { Tooltip } from "./Tooltip";
|
|
|
17
17
|
export { default as DialogBox } from "../components/core/DialogBox";
|
|
18
18
|
export { default as Modal } from "../components/Modal";
|
|
19
19
|
export { default as CustomFileInput } from "./CustomFileInput";
|
|
20
|
+
export { Heading } from "./core/Heading";
|
package/dist/index.d.ts
CHANGED
|
@@ -536,6 +536,29 @@ declare const Modal: React$1.FC<ModalProps>;
|
|
|
536
536
|
|
|
537
537
|
declare const CustomFileInput: React$1.FC<CustomFileInputProps>;
|
|
538
538
|
|
|
539
|
+
interface HeadingProps {
|
|
540
|
+
/**
|
|
541
|
+
* Choose heading type
|
|
542
|
+
*/
|
|
543
|
+
type?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
|
|
544
|
+
/**
|
|
545
|
+
* Use to decide the color
|
|
546
|
+
*/
|
|
547
|
+
colorType?: "white" | "dark" | "gray" | undefined;
|
|
548
|
+
/**
|
|
549
|
+
* Heading contents
|
|
550
|
+
*/
|
|
551
|
+
label?: string;
|
|
552
|
+
/**
|
|
553
|
+
* Optional for additional classes
|
|
554
|
+
*/
|
|
555
|
+
additionalClasses?: string | undefined;
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* Primary UI component for user interaction
|
|
559
|
+
*/
|
|
560
|
+
declare const Heading: React$1.FC<HeadingProps>;
|
|
561
|
+
|
|
539
562
|
interface UseSchemaProcessorProps {
|
|
540
563
|
schema: ISchema[];
|
|
541
564
|
externalSetComponents: (data: IComponent[]) => void;
|
|
@@ -544,4 +567,4 @@ declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchema
|
|
|
544
567
|
componentsRtn: IComponent[] | undefined;
|
|
545
568
|
};
|
|
546
569
|
|
|
547
|
-
export { Breadcrumb, Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, IconInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, PhoneNumberInput, RadioButton, Row, Select, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor };
|
|
570
|
+
export { Breadcrumb, Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, Heading, IconInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, PhoneNumberInput, RadioButton, Row, Select, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor };
|