@purple/phoenix-components 4.31.0 → 4.32.0
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/CHANGELOG.md +12 -0
- package/dist/bundle.cjs.js +1 -1
- package/dist/bundle.cjs.js.map +1 -1
- package/dist/bundle.esm.js +2 -2
- package/dist/bundle.esm.js.map +1 -1
- package/dist/bundle.umd.js +1 -1
- package/dist/bundle.umd.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -357,9 +357,9 @@ interface InputLabels {
|
|
|
357
357
|
year: string;
|
|
358
358
|
}
|
|
359
359
|
interface DateValue {
|
|
360
|
-
day:
|
|
360
|
+
day: number;
|
|
361
361
|
month: number;
|
|
362
|
-
year:
|
|
362
|
+
year: number;
|
|
363
363
|
}
|
|
364
364
|
interface DateInputProps extends GenericComponentProps {
|
|
365
365
|
value: DateValue | null;
|
|
@@ -565,8 +565,8 @@ interface FormControlProps extends GenericComponentProps {
|
|
|
565
565
|
interface NumberInputProps extends Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'type' | 'value' | 'onChange'>, FormControlProps {
|
|
566
566
|
value: number | null;
|
|
567
567
|
onChange: (value: number | null) => void;
|
|
568
|
-
numberFormatErrorMessage
|
|
569
|
-
maxDecimalCount
|
|
568
|
+
numberFormatErrorMessage?: string;
|
|
569
|
+
maxDecimalCount?: number;
|
|
570
570
|
}
|
|
571
571
|
declare const NumberInput: React__default.FC<NumberInputProps>;
|
|
572
572
|
|