@mackin.com/styleguide 7.7.0 → 7.7.1
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.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -366,7 +366,7 @@ interface InputProps {
|
|
|
366
366
|
rows?: number;
|
|
367
367
|
pattern?: string;
|
|
368
368
|
}
|
|
369
|
-
/** @deprecated Use DateInput,
|
|
369
|
+
/** @deprecated Use DateInput, NumberInput, or TextInput instead. */
|
|
370
370
|
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<any>>;
|
|
371
371
|
|
|
372
372
|
interface NumberInputProps extends Omit<BaseInputProps, 'type' | 'value' | 'onChange' | 'min' | 'max' | 'step'> {
|
package/index.js
CHANGED
|
@@ -504,7 +504,7 @@ const formatLocalValue = (value, type) => {
|
|
|
504
504
|
}
|
|
505
505
|
return newValue;
|
|
506
506
|
};
|
|
507
|
-
/** @deprecated Use DateInput,
|
|
507
|
+
/** @deprecated Use DateInput, NumberInput, or TextInput instead. */
|
|
508
508
|
const Input = React__namespace.forwardRef((props, ref) => {
|
|
509
509
|
var _a, _b, _c;
|
|
510
510
|
const [localValue, setLocalValue] = React__namespace.useState(formatLocalValue(props.value, props.type));
|