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.
@@ -0,0 +1 @@
1
+ export { default as PhoneNumberInput } from "./PhoneNumberInput";
@@ -12,3 +12,4 @@ export { default as Breadcrumb } from "./Breadcrumb";
12
12
  export { default as ImagePreview } from "./ImagePreview";
13
13
  export { default as DatePicker } from "./Datepicker";
14
14
  export { Row } from "./core";
15
+ export { 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 h-8 border border-gray-160 border-solid text-13s text-black-760 rounded-[3px] appearence-none placeholderColor-gray shadow-none",
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.2.15",
3
+ "version": "1.2.17",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",