dfh-ui-library 1.2.15 → 1.2.17
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/PhoneNumberInput/index.d.ts +1 -0
- package/dist/cjs/types/components/index.d.ts +1 -0
- package/dist/cjs/types/shared/configs/customClasses.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/PhoneNumberInput/index.d.ts +1 -0
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/esm/types/shared/configs/customClasses.d.ts +1 -1
- package/dist/index.d.ts +7 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PhoneNumberInput } from "./PhoneNumberInput";
|
|
@@ -63,7 +63,7 @@ export declare enum LableClasses {
|
|
|
63
63
|
}
|
|
64
64
|
export declare enum SelectClasses {
|
|
65
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",
|
|
66
|
-
small = "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
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",
|
|
68
68
|
wrapper = "flex w-full flex-col relative",
|
|
69
69
|
error = "absolute top-[100%]"
|
package/dist/index.d.ts
CHANGED
|
@@ -80,6 +80,10 @@ interface CustomDatePickerProps {
|
|
|
80
80
|
selectedDate: Date | null;
|
|
81
81
|
onChange: (date: Date | null) => void;
|
|
82
82
|
}
|
|
83
|
+
interface PhoneNumberInputProps {
|
|
84
|
+
value: string;
|
|
85
|
+
onChange: (value: string) => void;
|
|
86
|
+
}
|
|
83
87
|
|
|
84
88
|
interface IButtonProps extends IChildrenProp, IAdditionalClassesProp, IIconTypeProp, IOnClickEventProps {
|
|
85
89
|
/**
|
|
@@ -456,6 +460,8 @@ interface RowProps {
|
|
|
456
460
|
}
|
|
457
461
|
declare const Row: React$1.FC<RowProps>;
|
|
458
462
|
|
|
463
|
+
declare const PhoneNumberInput: React$1.FC<PhoneNumberInputProps>;
|
|
464
|
+
|
|
459
465
|
interface UseSchemaProcessorProps {
|
|
460
466
|
schema: ISchema[];
|
|
461
467
|
externalSetComponents: (data: IComponent[]) => void;
|
|
@@ -464,4 +470,4 @@ declare const useSchemaProcessor: ({ schema, externalSetComponents, }: UseSchema
|
|
|
464
470
|
componentsRtn: IComponent[] | undefined;
|
|
465
471
|
};
|
|
466
472
|
|
|
467
|
-
export { Breadcrumb, Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomDatePicker as DatePicker, IconInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, NavBar, RadioButton, Row, Select, Textarea, Typhography, useSchemaProcessor as UseSchemaProcessor };
|
|
473
|
+
export { Breadcrumb, Button, Card, Checkbox as CheckBox, DFHFormProvider as ComponentProvider, CustomDatePicker as DatePicker, IconInput, ImagePreview, Input, type InputType, InputValidation, Label, LoadingSpinner, Logo, type LogoProps, Message, type MessageProps, NavBar, PhoneNumberInput, RadioButton, Row, Select, Textarea, Typhography, useSchemaProcessor as UseSchemaProcessor };
|