@abgov/react-components 7.2.0-dev.39 → 7.2.0-dev.40
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.js.map +1 -1
- package/index.mjs.map +1 -1
- package/lib/date-picker/date-picker.d.ts +3 -3
- package/package.json +1 -1
|
@@ -27,13 +27,13 @@ export interface GoabDatePickerProps extends Margins, DataAttributes {
|
|
|
27
27
|
type?: GoabDatePickerInputType;
|
|
28
28
|
/** Name of the date field. */
|
|
29
29
|
name?: string;
|
|
30
|
-
/**
|
|
30
|
+
/** Sets the calendar date as an ISO date string (yyyy-mm-dd). */
|
|
31
31
|
value?: Date | string | undefined;
|
|
32
32
|
/** Sets the input to an error state. */
|
|
33
33
|
error?: boolean;
|
|
34
|
-
/**
|
|
34
|
+
/** Sets the earliest allowed date as an ISO date string (yyyy-mm-dd). */
|
|
35
35
|
min?: Date | string;
|
|
36
|
-
/**
|
|
36
|
+
/** Sets the latest allowed date as an ISO date string (yyyy-mm-dd). */
|
|
37
37
|
max?: Date | string;
|
|
38
38
|
/** Sets a data-testid attribute for automated testing. */
|
|
39
39
|
testId?: string;
|