@dinofront/design_system 1.20.2 → 1.20.3
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/components/DatePicker/DatePicker.types.d.ts +2 -2
- package/dist/index.js +694 -712
- package/dist/index.js.map +1 -1
- package/dist/styles.css +6 -0
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ export interface DatePickerProps extends BaseProps {
|
|
|
17
17
|
rangeValue?: DateRange;
|
|
18
18
|
onChangeRange?: (range: DateRange) => void;
|
|
19
19
|
size?: DatePickerSize;
|
|
20
|
-
/** BCP-47 locale tag
|
|
20
|
+
/** BCP-47 locale tag for the month names and weekday abbreviations. The week always starts on Monday, whatever the locale. */
|
|
21
21
|
locale?: string;
|
|
22
22
|
/** Trigger display format. Supports `dd`/`MM`/`yyyy` tokens plus a literal
|
|
23
23
|
* separator. Defaults to the pre-existing `'dd.MM.yyyy'`. Applied to both
|
|
@@ -38,7 +38,7 @@ export interface DatePickerProps extends BaseProps {
|
|
|
38
38
|
minDate?: Date;
|
|
39
39
|
/** Latest selectable day, inclusive. Later days render disabled. Time-of-day is ignored. */
|
|
40
40
|
maxDate?: Date;
|
|
41
|
-
/** Individual days that can't be picked. Matched by calendar day; time-of-day is ignored. */
|
|
41
|
+
/** Individual days that can't be picked, e.g. non-working days and holidays. Shown grey, like other disabled days. Matched by calendar day; time-of-day is ignored. */
|
|
42
42
|
excludeDates?: Date[];
|
|
43
43
|
/** Arbitrary per-day predicate, evaluated alongside `minDate`/`maxDate`/`excludeDates`. Days it rejects render disabled. */
|
|
44
44
|
filterDate?: (date: Date) => boolean;
|