@true-engineering/true-react-common-ui-kit 1.5.2 → 1.5.3
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/components/Input/Input.d.ts +1 -1
- package/dist/true-react-common-ui-kit.js +1 -2
- package/dist/true-react-common-ui-kit.js.map +1 -1
- package/dist/true-react-common-ui-kit.umd.cjs +1 -2
- package/dist/true-react-common-ui-kit.umd.cjs.map +1 -1
- package/package.json +1 -1
- package/src/components/Input/Input.tsx +1 -7
package/package.json
CHANGED
|
@@ -27,11 +27,7 @@ export const DEFAULT_SIZE = 6;
|
|
|
27
27
|
|
|
28
28
|
type IReactInputMaskProps = Pick<
|
|
29
29
|
Partial<ReactInputMaskBaseProps>,
|
|
30
|
-
| '
|
|
31
|
-
| 'maskChar'
|
|
32
|
-
| 'maskPlaceholder'
|
|
33
|
-
| 'alwaysShowMask'
|
|
34
|
-
| 'beforeMaskedStateChange'
|
|
30
|
+
'mask' | 'maskPlaceholder' | 'alwaysShowMask' | 'beforeMaskedStateChange'
|
|
35
31
|
>;
|
|
36
32
|
|
|
37
33
|
export interface IInputProps extends ICommonProps, IReactInputMaskProps {
|
|
@@ -138,7 +134,6 @@ export const Input = forwardRef<HTMLInputElement, IInputProps>(
|
|
|
138
134
|
onKeyDown,
|
|
139
135
|
// Пропсы react-input-mask
|
|
140
136
|
mask,
|
|
141
|
-
maskChar,
|
|
142
137
|
maskPlaceholder,
|
|
143
138
|
alwaysShowMask,
|
|
144
139
|
beforeMaskedStateChange,
|
|
@@ -240,7 +235,6 @@ export const Input = forwardRef<HTMLInputElement, IInputProps>(
|
|
|
240
235
|
// @ts-ignore: No overload matches this call
|
|
241
236
|
ref={ref ?? inputRef}
|
|
242
237
|
mask={mask}
|
|
243
|
-
maskChar={maskChar}
|
|
244
238
|
maskPlaceholder={maskPlaceholder}
|
|
245
239
|
alwaysShowMask={alwaysShowMask}
|
|
246
240
|
beforeMaskedStateChange={beforeMaskedStateChange}
|