@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/dist/index.d.ts CHANGED
@@ -357,9 +357,9 @@ interface InputLabels {
357
357
  year: string;
358
358
  }
359
359
  interface DateValue {
360
- day: string;
360
+ day: number;
361
361
  month: number;
362
- year: string;
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: string;
569
- maxDecimalCount: number;
568
+ numberFormatErrorMessage?: string;
569
+ maxDecimalCount?: number;
570
570
  }
571
571
  declare const NumberInput: React__default.FC<NumberInputProps>;
572
572
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@purple/phoenix-components",
3
- "version": "4.31.0",
3
+ "version": "4.32.0",
4
4
  "description": "",
5
5
  "main": "dist/bundle.umd.js",
6
6
  "module": "dist/bundle.esm.js",