dfh-ui-library 1.2.16 → 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";
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.16",
3
+ "version": "1.2.17",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "rollup": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",