dfh-ui-library 1.2.60 → 1.3.2
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/Media/Icon/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/index.js.map +1 -1
- package/dist/esm/types/components/Media/Icon/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/index.d.ts +33 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./Icon";
|
|
@@ -22,3 +22,4 @@ export { default as TagDropdown } from "./TagSelect";
|
|
|
22
22
|
export { default as SearchDropdownWithButton } from "./SearchDropdownWithButton";
|
|
23
23
|
export { default as ButtonGroup } from "./ButtonGroup";
|
|
24
24
|
export { default as TagSelect } from "./TagSelect";
|
|
25
|
+
export { default as Icon } from "./Media/Icon";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import React$1, { InputHTMLAttributes, SelectHTMLAttributes, TextareaHTMLAttribu
|
|
|
2
2
|
|
|
3
3
|
type AlignmentType = "center" | "left" | "right";
|
|
4
4
|
type IconColorTypes = "white" | "black-900" | "gray-220" | "gray-720" | "inherit" | "gray-300" | string;
|
|
5
|
+
type IconHoverColorTypes = "white" | "black-900" | "gray-220" | "inherit";
|
|
5
6
|
type IconType = "Home" | "Info" | "Email" | "RightArrow" | "DropDown" | "DropDownArrow" | "WhiteArrow" | "TrashIcon" | "AddNewitemIcon" | "OkIcon" | "EditIcon" | "Delete" | "AddIcon" | "RemoveTrashIcon" | "RoundTickIcon" | "ValidationWarningIcon" | "WarningIcon" | "NeturalIcon" | "SuccessIcon" | string;
|
|
6
7
|
interface IChildrenProp {
|
|
7
8
|
/**
|
|
@@ -307,6 +308,28 @@ interface ITyphographyProps extends IChildrenProp, IAdditionalClassesProp {
|
|
|
307
308
|
color?: string;
|
|
308
309
|
onClick?: () => void;
|
|
309
310
|
}
|
|
311
|
+
interface IIconProps extends IAdditionalClassesProp, IIconTypeProp {
|
|
312
|
+
/**
|
|
313
|
+
* Optional | Set Icon Text
|
|
314
|
+
*/
|
|
315
|
+
iconText?: string;
|
|
316
|
+
/**
|
|
317
|
+
* Optional | Set Icon hover color
|
|
318
|
+
*/
|
|
319
|
+
iconHoverColor?: IconHoverColorTypes;
|
|
320
|
+
/**
|
|
321
|
+
* Optional | Set Icon container classes
|
|
322
|
+
*/
|
|
323
|
+
iconContainerClasses?: string | undefined;
|
|
324
|
+
/**
|
|
325
|
+
* Optional | Set Icon Text classes
|
|
326
|
+
*/
|
|
327
|
+
iconTextClasses?: string | undefined;
|
|
328
|
+
onClick?: any;
|
|
329
|
+
iconDefaultClasses?: string;
|
|
330
|
+
imageUrl?: string;
|
|
331
|
+
onFocus?: any;
|
|
332
|
+
}
|
|
310
333
|
interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
311
334
|
/**
|
|
312
335
|
* Set Input type
|
|
@@ -719,6 +742,15 @@ declare const SearchDropdownWithButton: React$1.FC<DropdownSearchProps>;
|
|
|
719
742
|
|
|
720
743
|
declare const ButtonGroup: React$1.FC<ButtonGroupProps>;
|
|
721
744
|
|
|
745
|
+
/**
|
|
746
|
+
* Primary UI component for user interaction
|
|
747
|
+
*
|
|
748
|
+
* Used SVG for Icons, All icons are exported in the following file path
|
|
749
|
+
*
|
|
750
|
+
* File Path : "src/components/core/Media/Icons/Icons.tsx"
|
|
751
|
+
*/
|
|
752
|
+
declare const Icon: React$1.FC<IIconProps>;
|
|
753
|
+
|
|
722
754
|
interface UseSchemaProcessorProps {
|
|
723
755
|
schema: ISchema[];
|
|
724
756
|
externalSetComponents: (data: IComponent[]) => void;
|
|
@@ -727,4 +759,4 @@ declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchema
|
|
|
727
759
|
componentsRtn: IComponent[] | undefined;
|
|
728
760
|
};
|
|
729
761
|
|
|
730
|
-
export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, Heading, IconInput, ImageInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PhoneNumberInput, RadioButton, Row, SearchDropdownWithButton, Select, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes };
|
|
762
|
+
export { Breadcrumb, type BtnOptionDropdown, Button, ButtonGroup, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomFileInput, CustomDatePicker as DatePicker, DialogBox, type DropdownSearchProps, Heading, Icon, IconInput, ImageInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, Modal, NavBar, type OptionProps, PhoneNumberInput, RadioButton, Row, SearchDropdownWithButton, Select, TagSelect as TagDropdown, TagSelect, Textarea, Tooltip, Typhography, useSchemaProcessor as UseSchemaProcessor, type VariantTypes };
|