dfh-ui-library 1.2.14 → 1.2.16
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/Typhography/Typhography.handler.d.ts +1 -1
- package/dist/cjs/types/shared/configs/customClasses.d.ts +4 -3
- package/dist/cjs/types/shared/models/components/base.model.d.ts +2 -2
- package/dist/cjs/types/shared/models/components/common.model.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Typhography/Typhography.handler.d.ts +1 -1
- package/dist/esm/types/shared/configs/customClasses.d.ts +4 -3
- package/dist/esm/types/shared/models/components/base.model.d.ts +2 -2
- package/dist/esm/types/shared/models/components/common.model.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const handleFontTypes: (_type: string | undefined) => "text-12s font-medium" | "text-12s font-semibold" | "text-12s font-extrabold" | "text-14s font-medium" | "text-2xl font-semibold leading-6 text-[#333333]" | "text-xl font-semibold leading-6 text-[#333333]" | "text-14s font-semibold" | "text-14s font-extrabold" | "text-28s font-medium" | "text-28s font-semibold" | "text-28s font-extrabold" | "text-10s font-medium" | "text-10s font-semibold" | "text-10s font-extrabold" | "text-base font-normal leading-[1.875rem] text-[#333333] opacity-50" | "text-base text-xl leading-[1.875rem] text-[#333333]" | "font-semibold text-btn-black text-42s" | "font-normal text-lg text-gray-95" | "font-semibold text-btn-black text-lg" | "font-bold text-btn-black text-14s" | "font-bold text-btn-black text-base" | "font-normal text-gray-95 text-base" | undefined;
|
|
1
|
+
export declare const handleFontTypes: (_type: string | undefined) => "text-12s font-medium" | "text-12s font-semibold" | "text-12s font-extrabold" | "text-14s font-medium" | "text-2xl font-semibold leading-6 text-[#333333]" | "text-xl font-semibold leading-6 text-[#333333]" | "text-14s font-semibold" | "text-14s font-extrabold" | "text-28s font-medium" | "text-28s font-semibold" | "text-28s font-extrabold" | "text-10s font-medium" | "text-10s font-semibold" | "text-10s font-extrabold" | "text-base font-normal leading-[1.875rem] text-[#333333] opacity-50" | "text-base text-xl leading-[1.875rem] text-[#333333]" | "font-semibold text-btn-black text-42s" | "font-normal text-lg text-gray-95" | "font-semibold text-btn-black text-lg" | "font-bold text-btn-black text-14s" | "font-bold text-btn-black text-base" | "font-normal text-gray-95 text-base" | "font-semibold text-black-540 text-18s" | undefined;
|
|
@@ -58,12 +58,13 @@ export declare enum LableClasses {
|
|
|
58
58
|
black = "text-black-900 text-14s font-normal",
|
|
59
59
|
blackSmall = "text-black-960 text-12s font-normal",
|
|
60
60
|
smallSelect = "text-14s font-normal text-black-900",
|
|
61
|
-
formLabel = "text-14s text-btn-black font-semibold"
|
|
61
|
+
formLabel = "text-14s text-btn-black font-semibold",
|
|
62
|
+
formLabelMedeum = "text-12s text-btn-black font-medium"
|
|
62
63
|
}
|
|
63
64
|
export declare enum SelectClasses {
|
|
64
65
|
default = "form-select flex w-full mt-1 px-3 py-3 bg-white border shadow-sm border-slate-300 placeholder-slate-400 focus:outline-none focus:border-sky-500 focus:ring-sky-500 block w-full rounded-md sm:text-sm focus:ring-1",
|
|
65
|
-
small = "form-select
|
|
66
|
-
regular = "form-select
|
|
66
|
+
small = "form-select border border-gray-160 border-solid text-13s text-black-760 rounded-[3px] appearence-none placeholderColor-gray shadow-none",
|
|
67
|
+
regular = "form-select flex w-full mt-1 px-3 py-3 bg-white border shadow-sm border-slate-300 placeholder-slate-400 focus:outline-none focus:border-sky-500 focus:ring-sky-500 block w-full rounded-md sm:text-sm focus:ring-1",
|
|
67
68
|
wrapper = "flex w-full flex-col relative",
|
|
68
69
|
error = "absolute top-[100%]"
|
|
69
70
|
}
|
|
@@ -86,7 +86,7 @@ export interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputEleme
|
|
|
86
86
|
/**
|
|
87
87
|
* Set the Label Type
|
|
88
88
|
*/
|
|
89
|
-
labelType?: "default" | "black" | "smallSelect" | "blackSmall";
|
|
89
|
+
labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
|
|
90
90
|
/**
|
|
91
91
|
* Set Input label name
|
|
92
92
|
*/
|
|
@@ -148,7 +148,7 @@ export interface ICheckboxProps {
|
|
|
148
148
|
id?: any;
|
|
149
149
|
label?: string;
|
|
150
150
|
}
|
|
151
|
-
export type LABELTYPE = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | undefined;
|
|
151
|
+
export type LABELTYPE = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum" | undefined;
|
|
152
152
|
export interface ILabelProps {
|
|
153
153
|
/**
|
|
154
154
|
* Set the Label Type
|
|
@@ -35,7 +35,7 @@ export interface IOnClickEventProps {
|
|
|
35
35
|
onClick?: () => void;
|
|
36
36
|
}
|
|
37
37
|
export type InputType = "text" | "email" | "password" | "name" | "date";
|
|
38
|
-
export type TyphoTypes = "h1" | "h1Bold" | "h1ExtraBold" | "h2" | "h2Bold" | "h2ExtraBold" | "h10" | "h10Bold" | "h10ExtraBold" | "h6" | "h6Bold" | "h6ExtraBold" | "header1" | "header2" | "label1" | "label2" | "p" | "authHeader" | "inforTextNormal" | "inforTextGray" | "linkTextNormal" | "linkTextMedium" | "textMediumGray";
|
|
38
|
+
export type TyphoTypes = "h1" | "h1Bold" | "h1ExtraBold" | "h2" | "h2Bold" | "h2ExtraBold" | "h10" | "h10Bold" | "h10ExtraBold" | "h6" | "h6Bold" | "h6ExtraBold" | "header1" | "header2" | "label1" | "label2" | "p" | "authHeader" | "inforTextNormal" | "inforTextGray" | "linkTextNormal" | "linkTextMedium" | "textMediumGray" | "textSectionHeader";
|
|
39
39
|
export type TyphoComponents = "p" | "span" | "em" | "div" | undefined;
|
|
40
40
|
export type MessageTypes = "warning" | "success" | "error" | "disabled" | "highlight" | "nutral";
|
|
41
41
|
export interface IInputValidationProps {
|
package/dist/index.d.ts
CHANGED
|
@@ -29,7 +29,7 @@ interface IOnClickEventProps {
|
|
|
29
29
|
onClick?: () => void;
|
|
30
30
|
}
|
|
31
31
|
type InputType = "text" | "email" | "password" | "name" | "date";
|
|
32
|
-
type TyphoTypes = "h1" | "h1Bold" | "h1ExtraBold" | "h2" | "h2Bold" | "h2ExtraBold" | "h10" | "h10Bold" | "h10ExtraBold" | "h6" | "h6Bold" | "h6ExtraBold" | "header1" | "header2" | "label1" | "label2" | "p" | "authHeader" | "inforTextNormal" | "inforTextGray" | "linkTextNormal" | "linkTextMedium" | "textMediumGray";
|
|
32
|
+
type TyphoTypes = "h1" | "h1Bold" | "h1ExtraBold" | "h2" | "h2Bold" | "h2ExtraBold" | "h10" | "h10Bold" | "h10ExtraBold" | "h6" | "h6Bold" | "h6ExtraBold" | "header1" | "header2" | "label1" | "label2" | "p" | "authHeader" | "inforTextNormal" | "inforTextGray" | "linkTextNormal" | "linkTextMedium" | "textMediumGray" | "textSectionHeader";
|
|
33
33
|
type TyphoComponents = "p" | "span" | "em" | "div" | undefined;
|
|
34
34
|
interface IInputValidationProps {
|
|
35
35
|
/**
|
|
@@ -146,7 +146,7 @@ interface IHookFormsInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
|
146
146
|
/**
|
|
147
147
|
* Set the Label Type
|
|
148
148
|
*/
|
|
149
|
-
labelType?: "default" | "black" | "smallSelect" | "blackSmall";
|
|
149
|
+
labelType?: "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum";
|
|
150
150
|
/**
|
|
151
151
|
* Set Input label name
|
|
152
152
|
*/
|
|
@@ -208,7 +208,7 @@ interface ICheckboxProps {
|
|
|
208
208
|
id?: any;
|
|
209
209
|
label?: string;
|
|
210
210
|
}
|
|
211
|
-
type LABELTYPE = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | undefined;
|
|
211
|
+
type LABELTYPE = "default" | "black" | "smallSelect" | "blackSmall" | "formLabel" | "formLabelMedeum" | undefined;
|
|
212
212
|
interface ILabelProps {
|
|
213
213
|
/**
|
|
214
214
|
* Set the Label Type
|