dfh-ui-library 1.13.104 → 1.13.106

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.
@@ -2,5 +2,5 @@ import React from "react";
2
2
  import { PhoneNumberInputProps } from "../../shared/models/components/common.model";
3
3
  import 'react-phone-number-input/style.css';
4
4
  import './phoneInput.css';
5
- declare const PhoneNumberInput3: <T extends PhoneNumberInputProps>({ value, onChange, placeholder, additionalClasses, labelType, isBorderedError, inputVariant, error, type, readOnly, label, name, isAdditionalErrorInput, additionalErrorClasses, field, isRequired, ...props }: T) => React.JSX.Element;
5
+ declare const PhoneNumberInput3: <T extends PhoneNumberInputProps>({ value, onChange, countryCallingCodeEditable, placeholder, additionalClasses, labelType, isBorderedError, inputVariant, error, type, readOnly, label, name, isAdditionalErrorInput, additionalErrorClasses, field, isRequired, ...props }: T) => React.JSX.Element;
6
6
  export default PhoneNumberInput3;
@@ -219,6 +219,7 @@ export interface CustomDatePickerProps {
219
219
  selectedDate?: Date | null;
220
220
  onChange?: (date: Date | null) => void;
221
221
  onSelect?: (date: Date | null) => void;
222
+ onBlur?(event: React.FocusEvent<HTMLInputElement>): void;
222
223
  label?: string;
223
224
  isRequired?: boolean;
224
225
  placeHolder?: string;
@@ -252,6 +253,7 @@ export interface CustomDatePickerProps {
252
253
  }
253
254
  export interface PhoneNumberInputProps {
254
255
  value: string;
256
+ countryCallingCodeEditable?: boolean;
255
257
  onChange: (value: string) => void;
256
258
  placeholder?: string;
257
259
  additionalClasses?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -197,6 +197,7 @@ interface CustomDatePickerProps {
197
197
  selectedDate?: Date | null;
198
198
  onChange?: (date: Date | null) => void;
199
199
  onSelect?: (date: Date | null) => void;
200
+ onBlur?(event: React.FocusEvent<HTMLInputElement>): void;
200
201
  label?: string;
201
202
  isRequired?: boolean;
202
203
  placeHolder?: string;
@@ -230,6 +231,7 @@ interface CustomDatePickerProps {
230
231
  }
231
232
  interface PhoneNumberInputProps {
232
233
  value: string;
234
+ countryCallingCodeEditable?: boolean;
233
235
  onChange: (value: string) => void;
234
236
  placeholder?: string;
235
237
  additionalClasses?: string | undefined;
@@ -1579,7 +1581,7 @@ declare const PhoneNumberInput: React__default.FC<PhoneNumberInputProps>;
1579
1581
 
1580
1582
  declare const PhoneNumberInput2: React__default.FC<PhoneNumberInputProps>;
1581
1583
 
1582
- declare const PhoneNumberInput3: <T extends PhoneNumberInputProps>({ value, onChange, placeholder, additionalClasses, labelType, isBorderedError, inputVariant, error, type, readOnly, label, name, isAdditionalErrorInput, additionalErrorClasses, field, isRequired, ...props }: T) => React__default.JSX.Element;
1584
+ declare const PhoneNumberInput3: <T extends PhoneNumberInputProps>({ value, onChange, countryCallingCodeEditable, placeholder, additionalClasses, labelType, isBorderedError, inputVariant, error, type, readOnly, label, name, isAdditionalErrorInput, additionalErrorClasses, field, isRequired, ...props }: T) => React__default.JSX.Element;
1583
1585
 
1584
1586
  /**
1585
1587
  * Primary UI component for Tooltip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.13.104",
3
+ "version": "1.13.106",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",