@pisell/date-picker 3.0.8 → 3.0.10
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/es/ActionBar/index.d.ts +14 -1
- package/es/ActionBar/index.js +41 -28
- package/es/ActionBar/index.less +31 -9
- package/es/CustomCalendarHeader/index.d.ts +2 -1
- package/es/Dialog/index.d.ts +2 -1
- package/es/Drawer/index.d.ts +1 -1
- package/es/OldActionBar/index.d.ts +2 -1
- package/es/OldPisellDateRangePicker/index.d.ts +1 -1
- package/es/PisellDateRangePicker/index.d.ts +10 -1
- package/es/PisellDateRangePicker/index.js +10 -3
- package/es/Shortcuts/index.d.ts +2 -1
- package/es/Toolbar/index.d.ts +2 -1
- package/es/browserSelect/index.d.ts +1 -1
- package/es/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +2 -1
- package/es/icon/ChevronLeft.d.ts +2 -1
- package/es/icon/ChevronLeftDouble.d.ts +2 -1
- package/es/icon/ChevronRight.d.ts +2 -1
- package/es/icon/ChevronRightDouble.d.ts +2 -1
- package/es/icon/CloseCircle.d.ts +2 -1
- package/es/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.ts +2 -1
- package/es/locales/index.js +19 -11
- package/es/locales/ja.d.ts +26 -0
- package/es/locales/ja.js +25 -0
- package/es/locales/pt.d.ts +26 -0
- package/es/locales/pt.js +25 -0
- package/es/utils/index.d.ts +2 -2
- package/es/utils/index.js +3 -3
- package/lib/ActionBar/index.d.ts +14 -1
- package/lib/ActionBar/index.js +50 -35
- package/lib/ActionBar/index.less +31 -9
- package/lib/CustomCalendarHeader/index.d.ts +2 -1
- package/lib/Dialog/index.d.ts +2 -1
- package/lib/Drawer/index.d.ts +1 -1
- package/lib/OldActionBar/index.d.ts +2 -1
- package/lib/OldPisellDateRangePicker/index.d.ts +1 -1
- package/lib/PisellDateRangePicker/index.d.ts +10 -1
- package/lib/PisellDateRangePicker/index.js +10 -3
- package/lib/Shortcuts/index.d.ts +2 -1
- package/lib/Toolbar/index.d.ts +2 -1
- package/lib/browserSelect/index.d.ts +1 -1
- package/lib/dateRangeViewRenderers/dateRangeViewRenderers.d.ts +2 -1
- package/lib/icon/ChevronLeft.d.ts +2 -1
- package/lib/icon/ChevronLeftDouble.d.ts +2 -1
- package/lib/icon/ChevronRight.d.ts +2 -1
- package/lib/icon/ChevronRightDouble.d.ts +2 -1
- package/lib/icon/CloseCircle.d.ts +2 -1
- package/lib/internals/hooks/useStaticRangePicker/useStaticRangePicker.d.ts +2 -1
- package/lib/locales/index.js +12 -4
- package/lib/locales/ja.d.ts +26 -0
- package/lib/locales/ja.js +49 -0
- package/lib/locales/pt.d.ts +26 -0
- package/lib/locales/pt.js +49 -0
- package/lib/utils/index.d.ts +2 -2
- package/package.json +2 -2
- package/es/DateRangePickerDay/DateRangePickerDay.d.ts +0 -50
- package/es/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.ts +0 -5
- package/es/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.ts +0 -5
- package/es/themeAugmentation/index.d.ts +0 -4
- package/lib/DateRangePickerDay/DateRangePickerDay.d.ts +0 -50
- package/lib/internals/hooks/useDesktopRangePicker/useDesktopRangePicker.d.ts +0 -5
- package/lib/internals/hooks/useMobileRangePicker/useMobileRangePicker.d.ts +0 -5
- package/lib/themeAugmentation/index.d.ts +0 -4
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PickersDayProps } from '@mui/x-date-pickers/PickersDay';
|
|
3
|
-
import { DateRangePickerDayClasses } from './dateRangePickerDayClasses';
|
|
4
|
-
export interface DateRangePickerDayProps<TDate> extends Omit<PickersDayProps<TDate>, 'classes' | 'onBlur' | 'onFocus' | 'onKeyDown'> {
|
|
5
|
-
/**
|
|
6
|
-
* Set to `true` if the `day` is in a highlighted date range.
|
|
7
|
-
*/
|
|
8
|
-
isHighlighting: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Set to `true` if the `day` is the end of a highlighted date range.
|
|
11
|
-
*/
|
|
12
|
-
isEndOfHighlighting: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Set to `true` if the `day` is the start of a highlighted date range.
|
|
15
|
-
*/
|
|
16
|
-
isStartOfHighlighting: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Set to `true` if the `day` is in a preview date range.
|
|
19
|
-
*/
|
|
20
|
-
isPreviewing: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Set to `true` if the `day` is the end of a previewing date range.
|
|
23
|
-
*/
|
|
24
|
-
isEndOfPreviewing: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Set to `true` if the `day` is the start of a previewing date range.
|
|
27
|
-
*/
|
|
28
|
-
isStartOfPreviewing: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Override or extend the styles applied to the component.
|
|
31
|
-
*/
|
|
32
|
-
classes?: Partial<DateRangePickerDayClasses>;
|
|
33
|
-
/**
|
|
34
|
-
* Indicates if the day should be visually selected.
|
|
35
|
-
*/
|
|
36
|
-
isVisuallySelected?: boolean;
|
|
37
|
-
}
|
|
38
|
-
declare type DateRangePickerDayComponent = <TDate>(props: DateRangePickerDayProps<TDate> & React.RefAttributes<HTMLButtonElement>) => JSX.Element;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* Demos:
|
|
42
|
-
*
|
|
43
|
-
* - [Date Range Picker](https://mui.com/x/react-date-pickers/date-range-picker/)
|
|
44
|
-
*
|
|
45
|
-
* API:
|
|
46
|
-
*
|
|
47
|
-
* - [DateRangePickerDay API](https://mui.com/x/api/date-pickers/date-range-picker-day/)
|
|
48
|
-
*/
|
|
49
|
-
export declare const DateRangePickerDay: DateRangePickerDayComponent;
|
|
50
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DateOrTimeViewWithMeridiem } from '@mui/x-date-pickers/internals/models';
|
|
2
|
-
import { UseDesktopRangePickerParams, UseDesktopRangePickerProps } from './useDesktopRangePicker.types';
|
|
3
|
-
export declare const useDesktopRangePicker: <TDate, TView extends DateOrTimeViewWithMeridiem, TExternalProps extends UseDesktopRangePickerProps<TDate, TView, any, TExternalProps>>({ props, ...pickerParams }: UseDesktopRangePickerParams<TDate, TView, TExternalProps>) => {
|
|
4
|
-
renderPicker: () => JSX.Element;
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DateOrTimeViewWithMeridiem } from '@mui/x-date-pickers/internals/models';
|
|
2
|
-
import { UseMobileRangePickerParams, UseMobileRangePickerProps } from './useMobileRangePicker.types';
|
|
3
|
-
export declare const useMobileRangePicker: <TDate, TView extends DateOrTimeViewWithMeridiem, TExternalProps extends UseMobileRangePickerProps<TDate, TView, any, TExternalProps>>({ props, ...pickerParams }: UseMobileRangePickerParams<TDate, TView, TExternalProps>) => {
|
|
4
|
-
renderPicker: () => JSX.Element;
|
|
5
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { PickersDayProps } from '@mui/x-date-pickers/PickersDay';
|
|
3
|
-
import { DateRangePickerDayClasses } from './dateRangePickerDayClasses';
|
|
4
|
-
export interface DateRangePickerDayProps<TDate> extends Omit<PickersDayProps<TDate>, 'classes' | 'onBlur' | 'onFocus' | 'onKeyDown'> {
|
|
5
|
-
/**
|
|
6
|
-
* Set to `true` if the `day` is in a highlighted date range.
|
|
7
|
-
*/
|
|
8
|
-
isHighlighting: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Set to `true` if the `day` is the end of a highlighted date range.
|
|
11
|
-
*/
|
|
12
|
-
isEndOfHighlighting: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Set to `true` if the `day` is the start of a highlighted date range.
|
|
15
|
-
*/
|
|
16
|
-
isStartOfHighlighting: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Set to `true` if the `day` is in a preview date range.
|
|
19
|
-
*/
|
|
20
|
-
isPreviewing: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Set to `true` if the `day` is the end of a previewing date range.
|
|
23
|
-
*/
|
|
24
|
-
isEndOfPreviewing: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Set to `true` if the `day` is the start of a previewing date range.
|
|
27
|
-
*/
|
|
28
|
-
isStartOfPreviewing: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Override or extend the styles applied to the component.
|
|
31
|
-
*/
|
|
32
|
-
classes?: Partial<DateRangePickerDayClasses>;
|
|
33
|
-
/**
|
|
34
|
-
* Indicates if the day should be visually selected.
|
|
35
|
-
*/
|
|
36
|
-
isVisuallySelected?: boolean;
|
|
37
|
-
}
|
|
38
|
-
declare type DateRangePickerDayComponent = <TDate>(props: DateRangePickerDayProps<TDate> & React.RefAttributes<HTMLButtonElement>) => JSX.Element;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* Demos:
|
|
42
|
-
*
|
|
43
|
-
* - [Date Range Picker](https://mui.com/x/react-date-pickers/date-range-picker/)
|
|
44
|
-
*
|
|
45
|
-
* API:
|
|
46
|
-
*
|
|
47
|
-
* - [DateRangePickerDay API](https://mui.com/x/api/date-pickers/date-range-picker-day/)
|
|
48
|
-
*/
|
|
49
|
-
export declare const DateRangePickerDay: DateRangePickerDayComponent;
|
|
50
|
-
export {};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DateOrTimeViewWithMeridiem } from '@mui/x-date-pickers/internals/models';
|
|
2
|
-
import { UseDesktopRangePickerParams, UseDesktopRangePickerProps } from './useDesktopRangePicker.types';
|
|
3
|
-
export declare const useDesktopRangePicker: <TDate, TView extends DateOrTimeViewWithMeridiem, TExternalProps extends UseDesktopRangePickerProps<TDate, TView, any, TExternalProps>>({ props, ...pickerParams }: UseDesktopRangePickerParams<TDate, TView, TExternalProps>) => {
|
|
4
|
-
renderPicker: () => JSX.Element;
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { DateOrTimeViewWithMeridiem } from '@mui/x-date-pickers/internals/models';
|
|
2
|
-
import { UseMobileRangePickerParams, UseMobileRangePickerProps } from './useMobileRangePicker.types';
|
|
3
|
-
export declare const useMobileRangePicker: <TDate, TView extends DateOrTimeViewWithMeridiem, TExternalProps extends UseMobileRangePickerProps<TDate, TView, any, TExternalProps>>({ props, ...pickerParams }: UseMobileRangePickerParams<TDate, TView, TExternalProps>) => {
|
|
4
|
-
renderPicker: () => JSX.Element;
|
|
5
|
-
};
|