@opengov/form-renderer 0.0.38 → 0.0.39

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.
@@ -0,0 +1,9 @@
1
+ import { GeneralInputProps } from '../types';
2
+ import { DateConstraints, DateFormat } from '../../renderer/types';
3
+ interface DateInputProps extends GeneralInputProps {
4
+ constraints?: DateConstraints;
5
+ dateFormat?: DateFormat;
6
+ }
7
+ export declare const shouldDisableDate: (date: Date, constraints: DateConstraints) => boolean;
8
+ declare function DateInput({ name, rules, sx, constraints, ...rest }: DateInputProps): import("react/jsx-runtime").JSX.Element;
9
+ export default DateInput;
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
+ import { default as DateInput } from './fields/DateInput/DateInput';
1
2
  import { default as Checkbox } from './fields/Checkbox/Checkbox';
2
- import { default as DateInput } from './fields/DateInput';
3
3
  import { default as TextInput } from './fields/TextInput';
4
4
  import { default as NumberInput } from './fields/NumberInput';
5
5
  import { default as CalculatedNumberInput } from './fields/CalculatedNumber';