@dartech/arsenal-ui 1.4.64 → 1.4.65

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/index.js CHANGED
@@ -3265,9 +3265,10 @@ const ControlPhoneInput = _a => {
3265
3265
  required,
3266
3266
  mask = '+7 (799) 999 99 99',
3267
3267
  requiredErrorText = '',
3268
- inputMaskProps
3268
+ inputMaskProps,
3269
+ disabled
3269
3270
  } = _a,
3270
- textFieldProps = __rest(_a, ["control", "name", "label", "required", "mask", "requiredErrorText", "inputMaskProps"]);
3271
+ textFieldProps = __rest(_a, ["control", "name", "label", "required", "mask", "requiredErrorText", "inputMaskProps", "disabled"]);
3271
3272
  return jsx(Controller, {
3272
3273
  control: control,
3273
3274
  name: name,
@@ -3289,6 +3290,7 @@ const ControlPhoneInput = _a => {
3289
3290
  error
3290
3291
  }
3291
3292
  }) => jsx(InputMask, Object.assign({
3293
+ disabled: disabled,
3292
3294
  mask: mask,
3293
3295
  value: field.value,
3294
3296
  onChange: field.onChange,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dartech/arsenal-ui",
3
- "version": "1.4.64",
3
+ "version": "1.4.65",
4
4
  "author": "DAR",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -9,7 +9,8 @@ type Props = TextFieldProps & {
9
9
  mask?: string;
10
10
  label?: ReactNode;
11
11
  requiredErrorText?: string;
12
+ disabled?: boolean;
12
13
  inputMaskProps?: InputMaskProps;
13
14
  };
14
- export declare const ControlPhoneInput: ({ control, name, label, required, mask, requiredErrorText, inputMaskProps, ...textFieldProps }: Props) => JSX.Element;
15
+ export declare const ControlPhoneInput: ({ control, name, label, required, mask, requiredErrorText, inputMaskProps, disabled, ...textFieldProps }: Props) => JSX.Element;
15
16
  export default ControlPhoneInput;