@elliemae/ds-date-picker 3.16.0-next.2 → 3.16.0-next.20
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/cjs/DSDatePicker.js +81 -75
- package/dist/cjs/DSDatePicker.js.map +2 -2
- package/dist/cjs/components/DSDatePickerImpl.js +6 -2
- package/dist/cjs/components/DSDatePickerImpl.js.map +2 -2
- package/dist/cjs/components/DatePickerController/DatePickerController.js +16 -5
- package/dist/cjs/components/DatePickerController/DatePickerController.js.map +2 -2
- package/dist/cjs/components/DatePickerDay/DatePickerDay.js +4 -0
- package/dist/cjs/components/DatePickerDay/DatePickerDay.js.map +1 -1
- package/dist/cjs/components/DatePickerDropdown.js +5 -1
- package/dist/cjs/components/DatePickerDropdown.js.map +2 -2
- package/dist/cjs/components/DatePickerHeader/DatePickerHeader.js +4 -0
- package/dist/cjs/components/DatePickerHeader/DatePickerHeader.js.map +1 -1
- package/dist/cjs/components/DatePickerNavigation/DatePickerNavigation.js +4 -0
- package/dist/cjs/components/DatePickerNavigation/DatePickerNavigation.js.map +1 -1
- package/dist/cjs/components/DatePickerPicker/DatePickerPicker.js +16 -12
- package/dist/cjs/components/DatePickerPicker/DatePickerPicker.js.map +2 -2
- package/dist/cjs/components/DatePickerRange/DatePickerRange.js +7 -3
- package/dist/cjs/components/DatePickerRange/DatePickerRange.js.map +2 -2
- package/dist/cjs/components/DatePickerRangeHeader/DatePickerRangeHeader.js +4 -0
- package/dist/cjs/components/DatePickerRangeHeader/DatePickerRangeHeader.js.map +1 -1
- package/dist/cjs/components/DatePickerRenderMonth/DatePickerRenderMonth.js +4 -0
- package/dist/cjs/components/DatePickerRenderMonth/DatePickerRenderMonth.js.map +1 -1
- package/dist/cjs/components/DatePickerSingleDate/DatePickerSingleDate.js +7 -3
- package/dist/cjs/components/DatePickerSingleDate/DatePickerSingleDate.js.map +2 -2
- package/dist/cjs/components/SingleRangeDateSwitcher/SingleRangeDateSwitcher.js +6 -2
- package/dist/cjs/components/SingleRangeDateSwitcher/SingleRangeDateSwitcher.js.map +2 -2
- package/dist/cjs/components/index.js +14 -10
- package/dist/cjs/components/index.js.map +2 -2
- package/dist/cjs/defaultPhrases.js +4 -0
- package/dist/cjs/defaultPhrases.js.map +1 -1
- package/dist/cjs/index.js +7 -3
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/package.json +7 -0
- package/dist/esm/DSDatePicker.js +9 -7
- package/dist/esm/DSDatePicker.js.map +2 -2
- package/dist/esm/components/DSDatePickerImpl.js +2 -2
- package/dist/esm/components/DSDatePickerImpl.js.map +1 -1
- package/dist/esm/components/DatePickerController/DatePickerController.js +12 -5
- package/dist/esm/components/DatePickerController/DatePickerController.js.map +2 -2
- package/dist/esm/components/DatePickerDropdown.js +1 -1
- package/dist/esm/components/DatePickerDropdown.js.map +1 -1
- package/dist/esm/components/DatePickerPicker/DatePickerPicker.js +1 -1
- package/dist/esm/components/DatePickerPicker/DatePickerPicker.js.map +2 -2
- package/dist/esm/components/DatePickerRange/DatePickerRange.js +3 -3
- package/dist/esm/components/DatePickerRange/DatePickerRange.js.map +1 -1
- package/dist/esm/components/DatePickerSingleDate/DatePickerSingleDate.js +3 -3
- package/dist/esm/components/DatePickerSingleDate/DatePickerSingleDate.js.map +2 -2
- package/dist/esm/components/SingleRangeDateSwitcher/SingleRangeDateSwitcher.js +2 -2
- package/dist/esm/components/SingleRangeDateSwitcher/SingleRangeDateSwitcher.js.map +1 -1
- package/dist/esm/components/index.js +10 -10
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/package.json +7 -0
- package/package.json +17 -16
- package/dist/types/components/DSDatePickerImpl.d.ts +0 -21
- package/dist/types/components/DatePickerController/DatePickerController.d.ts +0 -80
- package/dist/types/components/DatePickerDay/DatePickerDay.d.ts +0 -13
- package/dist/types/components/DatePickerDropdown.d.ts +0 -27
- package/dist/types/components/DatePickerHeader/DatePickerHeader.d.ts +0 -15
- package/dist/types/components/DatePickerNavigation/DatePickerNavigation.d.ts +0 -19
- package/dist/types/components/DatePickerPicker/DatePickerPicker.d.ts +0 -43
- package/dist/types/components/DatePickerRange/DatePickerRange.d.ts +0 -9
- package/dist/types/components/DatePickerRangeHeader/DatePickerRangeHeader.d.ts +0 -23
- package/dist/types/components/DatePickerRangeHeader/tests/DatePickerRangeHeader.test.d.ts +0 -1
- package/dist/types/components/DatePickerRenderMonth/DatePickerRenderMonth.d.ts +0 -4
- package/dist/types/components/DatePickerSingleDate/DatePickerSingleDate.d.ts +0 -11
- package/dist/types/components/SingleRangeDateSwitcher/SingleRangeDateSwitcher.d.ts +0 -16
- package/dist/types/components/index.d.ts +0 -10
- package/dist/types/components/tests/DatePickerHeader.test.d.ts +0 -1
- package/dist/types/components/tests/DatePickerRange.test.d.ts +0 -1
- package/dist/types/components/tests/DatePickerRangeHeader.test.d.ts +0 -1
- package/dist/types/components/tests/DatePickerSelectedDate.test.d.ts +0 -1
- package/dist/types/components/tests/DatePickerSingleDate.test.d.ts +0 -1
- package/dist/types/components/tests/SingleRangeDateSwitcher.test.d.ts +0 -1
- package/dist/types/defaultPhrases.d.ts +0 -225
- package/dist/types/index.d.ts +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-date-picker",
|
|
3
|
-
"version": "3.16.0-next.
|
|
3
|
+
"version": "3.16.0-next.20",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Date Picker",
|
|
6
6
|
"files": [
|
|
@@ -95,22 +95,23 @@
|
|
|
95
95
|
"indent": 4
|
|
96
96
|
},
|
|
97
97
|
"dependencies": {
|
|
98
|
-
"moment": "~2.29.
|
|
98
|
+
"moment": "~2.29.4",
|
|
99
99
|
"prop-types": "~15.8.1",
|
|
100
100
|
"react-dates": "~21.8.0",
|
|
101
|
-
"@elliemae/ds-button": "3.16.0-next.
|
|
102
|
-
"@elliemae/ds-classnames": "3.16.0-next.
|
|
103
|
-
"@elliemae/ds-form": "3.16.0-next.
|
|
104
|
-
"@elliemae/ds-grid": "3.16.0-next.
|
|
105
|
-
"@elliemae/ds-icon": "3.16.0-next.
|
|
106
|
-
"@elliemae/ds-icons": "3.16.0-next.
|
|
107
|
-
"@elliemae/ds-popper": "3.16.0-next.
|
|
108
|
-
"@elliemae/ds-
|
|
109
|
-
"@elliemae/ds-
|
|
110
|
-
"@elliemae/ds-
|
|
101
|
+
"@elliemae/ds-button": "3.16.0-next.20",
|
|
102
|
+
"@elliemae/ds-classnames": "3.16.0-next.20",
|
|
103
|
+
"@elliemae/ds-form": "3.16.0-next.20",
|
|
104
|
+
"@elliemae/ds-grid": "3.16.0-next.20",
|
|
105
|
+
"@elliemae/ds-icon": "3.16.0-next.20",
|
|
106
|
+
"@elliemae/ds-icons": "3.16.0-next.20",
|
|
107
|
+
"@elliemae/ds-popper": "3.16.0-next.20",
|
|
108
|
+
"@elliemae/ds-props-helpers": "3.16.0-next.20",
|
|
109
|
+
"@elliemae/ds-shared": "3.16.0-next.20",
|
|
110
|
+
"@elliemae/ds-system": "3.16.0-next.20",
|
|
111
|
+
"@elliemae/ds-utilities": "3.16.0-next.20"
|
|
111
112
|
},
|
|
112
113
|
"devDependencies": {
|
|
113
|
-
"@testing-library/jest-dom": "~5.16.
|
|
114
|
+
"@testing-library/jest-dom": "~5.16.5",
|
|
114
115
|
"@testing-library/react": "~12.1.3"
|
|
115
116
|
},
|
|
116
117
|
"peerDependencies": {
|
|
@@ -126,10 +127,10 @@
|
|
|
126
127
|
"dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
|
|
127
128
|
"test": "node ../../scripts/testing/test.mjs",
|
|
128
129
|
"lint": "node ../../scripts/lint.mjs",
|
|
129
|
-
"eslint:fix": "
|
|
130
|
-
"dts": "
|
|
130
|
+
"eslint:fix": "exit 0",
|
|
131
|
+
"dts": "exit 0",
|
|
131
132
|
"build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
|
|
132
|
-
"dev:build": "pnpm --filter {.}... build
|
|
133
|
+
"dev:build": "pnpm --filter {.}... build",
|
|
133
134
|
"dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",
|
|
134
135
|
"checkDeps": "npx -yes ../ds-codemods check-missing-packages --projectFolderPath=\"./\" --ignorePackagesGlobPattern=\"\" --ignoreFilesGlobPattern=\"**/test-ables/*,**/tests/*\""
|
|
135
136
|
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export default class DSDatePickerImpl extends React.Component {
|
|
3
|
-
constructor(props: any);
|
|
4
|
-
static getDerivedStateFromProps(nextProps: any, prevState: any): {} | null;
|
|
5
|
-
onClickPicker: () => void;
|
|
6
|
-
getSafeValue: () => any;
|
|
7
|
-
getSafeInputValue: () => any;
|
|
8
|
-
isControlled: () => boolean;
|
|
9
|
-
handleDateChange: (date: any, event: any) => void;
|
|
10
|
-
handleInputChange: (dataInput: any, newDate: any) => void;
|
|
11
|
-
handleChange: (newDate: any) => void;
|
|
12
|
-
handleFocus: ({ focused }: {
|
|
13
|
-
focused: any;
|
|
14
|
-
}) => void;
|
|
15
|
-
handleCalendarClose: () => void;
|
|
16
|
-
handleClickEscape: () => void;
|
|
17
|
-
handleOnBlur: () => void;
|
|
18
|
-
handleInputFocus: (dataInput: any) => void;
|
|
19
|
-
render(): JSX.Element;
|
|
20
|
-
}
|
|
21
|
-
export { DSDatePickerImpl };
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import moment from 'moment';
|
|
3
|
-
import 'react-dates/initialize';
|
|
4
|
-
interface DSDatePickerControllerStateType {
|
|
5
|
-
selectedDate: any;
|
|
6
|
-
firstFocusableItem: React.RefObject<HTMLElement>;
|
|
7
|
-
datePicker: React.RefObject<HTMLElement>;
|
|
8
|
-
}
|
|
9
|
-
export default class DSDatePickerController extends React.Component<any, DSDatePickerControllerStateType> {
|
|
10
|
-
static defaultProps: {
|
|
11
|
-
date: string;
|
|
12
|
-
value: string;
|
|
13
|
-
enableOutsideDays: boolean;
|
|
14
|
-
initialVisibleMonth: moment.Moment;
|
|
15
|
-
firstDayOfWeek: number;
|
|
16
|
-
keepOpenOnDateSelect: boolean;
|
|
17
|
-
hideKeyboardShortcutsPanel: boolean;
|
|
18
|
-
onPrevMonthClick: () => null;
|
|
19
|
-
onNextMonthClick: () => null;
|
|
20
|
-
onClose: () => null;
|
|
21
|
-
onChange: () => null;
|
|
22
|
-
onClickEscape: () => null;
|
|
23
|
-
onDateChange: () => null;
|
|
24
|
-
phrases: {
|
|
25
|
-
calendarLabel: string;
|
|
26
|
-
roleDescription: string;
|
|
27
|
-
closeDatePicker: string;
|
|
28
|
-
clearDate: string;
|
|
29
|
-
jumpToPrevMonth: string;
|
|
30
|
-
jumpToNextMonth: string;
|
|
31
|
-
keyboardShortcuts: string;
|
|
32
|
-
showKeyboardShortcutsPanel: string;
|
|
33
|
-
hideKeyboardShortcutsPanel: string;
|
|
34
|
-
openThisPanel: string;
|
|
35
|
-
enterKey: string;
|
|
36
|
-
leftArrowRightArrow: string;
|
|
37
|
-
upArrowDownArrow: string;
|
|
38
|
-
pageUpPageDown: string;
|
|
39
|
-
homeEnd: string;
|
|
40
|
-
escape: string;
|
|
41
|
-
questionMark: string;
|
|
42
|
-
selectFocusedDate: string;
|
|
43
|
-
moveFocusByOneDay: string;
|
|
44
|
-
moveFocusByOneWeek: string;
|
|
45
|
-
moveFocusByOneMonth: string;
|
|
46
|
-
moveFocustoStartAndEndOfWeek: string;
|
|
47
|
-
returnFocusToInput: string;
|
|
48
|
-
keyboardForwardNavigationInstructions: string;
|
|
49
|
-
keyboardBackwardNavigationInstructions: string;
|
|
50
|
-
chooseAvailableDate: ({ date }: {
|
|
51
|
-
date: any;
|
|
52
|
-
}) => any;
|
|
53
|
-
dateIsUnavailable: ({ date }: {
|
|
54
|
-
date: any;
|
|
55
|
-
}) => string;
|
|
56
|
-
dateIsSelected: ({ date }: {
|
|
57
|
-
date: any;
|
|
58
|
-
}) => string;
|
|
59
|
-
};
|
|
60
|
-
displayFormatDay: string;
|
|
61
|
-
transitionDuration: number;
|
|
62
|
-
isDayBlocked: () => boolean;
|
|
63
|
-
isOutsideRange: () => boolean;
|
|
64
|
-
isDayHighlighted: () => boolean;
|
|
65
|
-
numberOfMonths: number;
|
|
66
|
-
};
|
|
67
|
-
constructor(props: any);
|
|
68
|
-
componentDidMount(): void;
|
|
69
|
-
componentWillUnmount(): void;
|
|
70
|
-
handleMouseUp: () => void;
|
|
71
|
-
handleKeyDown: (event: any) => void;
|
|
72
|
-
getSafeValue: () => moment.Moment | null;
|
|
73
|
-
isControlled: () => boolean;
|
|
74
|
-
handleDateChange: (date: any) => void;
|
|
75
|
-
handleChange: (dataInput: any) => void;
|
|
76
|
-
handleNavClick: (date: any, nav: any) => void;
|
|
77
|
-
insideBlur: (event: any) => void;
|
|
78
|
-
render(): JSX.Element;
|
|
79
|
-
}
|
|
80
|
-
export { DSDatePickerController };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
declare const Day: {
|
|
3
|
-
({ className, date }: {
|
|
4
|
-
className?: string | undefined;
|
|
5
|
-
date?: string | undefined;
|
|
6
|
-
}): JSX.Element;
|
|
7
|
-
propTypes: {
|
|
8
|
-
className: PropTypes.Requireable<string>;
|
|
9
|
-
date: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export { Day as DatePickerDay };
|
|
13
|
-
export default Day;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
declare const DatePickerDropdown: {
|
|
3
|
-
({ disabled, readOnly, onClick, isOpen, menu, zIndex, pickerProps, pickerRef, }: {
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
readOnly: any;
|
|
6
|
-
onClick?: (() => null) | undefined;
|
|
7
|
-
isOpen: any;
|
|
8
|
-
menu: any;
|
|
9
|
-
zIndex?: number | undefined;
|
|
10
|
-
pickerProps: any;
|
|
11
|
-
pickerRef: any;
|
|
12
|
-
}): JSX.Element;
|
|
13
|
-
propTypes: {
|
|
14
|
-
pickerRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
|
|
15
|
-
current: PropTypes.Requireable<any>;
|
|
16
|
-
}> | null | undefined>>;
|
|
17
|
-
disabled: PropTypes.Requireable<boolean>;
|
|
18
|
-
readOnly: PropTypes.Requireable<boolean>;
|
|
19
|
-
onClick: PropTypes.Requireable<(...args: any[]) => any>;
|
|
20
|
-
isOpen: PropTypes.Requireable<boolean>;
|
|
21
|
-
menu: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
22
|
-
zIndex: PropTypes.Requireable<number>;
|
|
23
|
-
pickerProps: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export { DatePickerDropdown };
|
|
27
|
-
export default DatePickerDropdown;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
declare const DatePickerHeader: {
|
|
3
|
-
({ onInputChange, selectedDate, updateKeyDate }: {
|
|
4
|
-
onInputChange?: (() => null) | undefined;
|
|
5
|
-
selectedDate: any;
|
|
6
|
-
updateKeyDate: any;
|
|
7
|
-
}): JSX.Element;
|
|
8
|
-
propTypes: {
|
|
9
|
-
onInputChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
10
|
-
selectedDate: PropTypes.Requireable<any>;
|
|
11
|
-
updateKeyDate: PropTypes.Requireable<any>;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export { DatePickerHeader };
|
|
15
|
-
export default DatePickerHeader;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
declare const Navigation: {
|
|
3
|
-
({ className, icon: Icon, color, size, innerRef, }: {
|
|
4
|
-
className?: string | undefined;
|
|
5
|
-
icon?: ((rest: any) => JSX.Element) | undefined;
|
|
6
|
-
color?: string[] | undefined;
|
|
7
|
-
size?: string | undefined;
|
|
8
|
-
innerRef: any;
|
|
9
|
-
}): JSX.Element;
|
|
10
|
-
propTypes: {
|
|
11
|
-
className: string;
|
|
12
|
-
icon: PropTypes.Requireable<PropTypes.ReactElementLike>;
|
|
13
|
-
color: PropTypes.Requireable<readonly ["neutral", "900"] | readonly ["neutral", "0"] | readonly ["danger", "900"] | readonly ["warning", "500"] | readonly ["success", "900"] | readonly ["brand-primary", "600"]>;
|
|
14
|
-
size: PropTypes.Requireable<"s" | "m" | "l" | "xxs" | "xs" | "xl" | "xxl">;
|
|
15
|
-
innerRef: PropTypes.Requireable<any>;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export { Navigation as DatePickerNavigation };
|
|
19
|
-
export default Navigation;
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare const Picker: {
|
|
2
|
-
({ className, disabled, icon, size, buttonActionType, onClick, onBlur, readOnly, tabIndex, innerRef, ...rest }: {
|
|
3
|
-
[x: string]: any;
|
|
4
|
-
className?: string | undefined;
|
|
5
|
-
disabled?: boolean | undefined;
|
|
6
|
-
icon?: JSX.Element | undefined;
|
|
7
|
-
size?: string | undefined;
|
|
8
|
-
buttonActionType?: string | undefined;
|
|
9
|
-
onClick?: (() => null) | undefined;
|
|
10
|
-
onBlur?: (() => null) | undefined;
|
|
11
|
-
readOnly?: boolean | undefined;
|
|
12
|
-
tabIndex?: number | undefined;
|
|
13
|
-
innerRef: any;
|
|
14
|
-
}): JSX.Element;
|
|
15
|
-
propTypes: {
|
|
16
|
-
innerRef: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
17
|
-
className: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
18
|
-
disabled: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
19
|
-
icon: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
20
|
-
size: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
21
|
-
buttonActionType: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
22
|
-
onClick: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
23
|
-
onFocus: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
24
|
-
onBlur: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
25
|
-
readOnly: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
26
|
-
tabIndex: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare const PickerPropsTypes: {
|
|
30
|
-
innerRef: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
31
|
-
className: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
32
|
-
disabled: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
33
|
-
icon: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
34
|
-
size: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
35
|
-
buttonActionType: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
36
|
-
onClick: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
37
|
-
onFocus: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
38
|
-
onBlur: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
39
|
-
readOnly: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
40
|
-
tabIndex: import("@elliemae/ds-utilities/dist/types/props-helpers/propTypes/types").ReactDescT;
|
|
41
|
-
};
|
|
42
|
-
export { Picker as DatePickerPicker };
|
|
43
|
-
export default Picker;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
declare const DatePickerRangeDate: ({ dateStart, dateEnd, displayFormatDay, showHeader, otherProps }: {
|
|
2
|
-
dateStart: any;
|
|
3
|
-
dateEnd: any;
|
|
4
|
-
displayFormatDay?: string | undefined;
|
|
5
|
-
showHeader?: boolean | undefined;
|
|
6
|
-
otherProps: any;
|
|
7
|
-
}) => JSX.Element;
|
|
8
|
-
export { DatePickerRangeDate };
|
|
9
|
-
export default DatePickerRangeDate;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import PropTypes from 'prop-types';
|
|
2
|
-
declare const DatePickerRangeHeader: {
|
|
3
|
-
({ onStartInputChange, onEndInputChange, onFocusChange, selectedStartDate, selectedEndDate, handleDatesChange, autoJumpOnEdit, }: {
|
|
4
|
-
onStartInputChange?: (() => null) | undefined;
|
|
5
|
-
onEndInputChange?: (() => null) | undefined;
|
|
6
|
-
onFocusChange?: (() => null) | undefined;
|
|
7
|
-
selectedStartDate: any;
|
|
8
|
-
selectedEndDate: any;
|
|
9
|
-
handleDatesChange: any;
|
|
10
|
-
autoJumpOnEdit?: boolean | undefined;
|
|
11
|
-
}): JSX.Element;
|
|
12
|
-
propTypes: {
|
|
13
|
-
onStartInputChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
14
|
-
onEndInputChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
15
|
-
onFocusChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
16
|
-
selectedStartDate: PropTypes.Requireable<any>;
|
|
17
|
-
selectedEndDate: PropTypes.Requireable<any>;
|
|
18
|
-
handleDatesChange: PropTypes.Requireable<(...args: any[]) => any>;
|
|
19
|
-
autoJumpOnEdit: PropTypes.Requireable<boolean>;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export { DatePickerRangeHeader };
|
|
23
|
-
export default DatePickerRangeHeader;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const DatePickerSingleDate: ({ date, displayFormatDay, isDayHighlighted, enableOutsideDays, showHeader, onChange, ...rest }: {
|
|
2
|
-
[x: string]: any;
|
|
3
|
-
date: any;
|
|
4
|
-
displayFormatDay?: string | undefined;
|
|
5
|
-
isDayHighlighted?: (() => boolean) | undefined;
|
|
6
|
-
enableOutsideDays?: boolean | undefined;
|
|
7
|
-
showHeader?: boolean | undefined;
|
|
8
|
-
onChange?: (() => null) | undefined;
|
|
9
|
-
}) => JSX.Element;
|
|
10
|
-
export { DatePickerSingleDate };
|
|
11
|
-
export default DatePickerSingleDate;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
declare const SingleRangeDateSwitcher: ({ onStartInputChange, onEndInputChange, onSingleInputChange, onFocusChange, selectedStartDate, selectedEndDate, selectedSingleDate, isDateRange, setIsDateRange, handleDatesChange, updateKeyDate, focusedInput, }: {
|
|
2
|
-
onStartInputChange: any;
|
|
3
|
-
onEndInputChange: any;
|
|
4
|
-
onSingleInputChange: any;
|
|
5
|
-
onFocusChange: any;
|
|
6
|
-
selectedStartDate: any;
|
|
7
|
-
selectedEndDate: any;
|
|
8
|
-
selectedSingleDate: any;
|
|
9
|
-
isDateRange: any;
|
|
10
|
-
setIsDateRange: any;
|
|
11
|
-
handleDatesChange: any;
|
|
12
|
-
updateKeyDate: any;
|
|
13
|
-
focusedInput: any;
|
|
14
|
-
}) => JSX.Element;
|
|
15
|
-
export { SingleRangeDateSwitcher };
|
|
16
|
-
export default SingleRangeDateSwitcher;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export { default as DatePickerNavigation } from './DatePickerNavigation/DatePickerNavigation';
|
|
2
|
-
export { default as DatePickerDay } from './DatePickerDay/DatePickerDay';
|
|
3
|
-
export { default as DatePickerPicker } from './DatePickerPicker/DatePickerPicker';
|
|
4
|
-
export { default as DatePickerDropdown } from './DatePickerDropdown';
|
|
5
|
-
export { default as DatePickerSingleDate } from './DatePickerSingleDate/DatePickerSingleDate';
|
|
6
|
-
export { default as DatePickerHeader } from './DatePickerHeader/DatePickerHeader';
|
|
7
|
-
export { default as DatePickerRange } from './DatePickerRange/DatePickerRange';
|
|
8
|
-
export { default as DatePickerRangeHeader } from './DatePickerRangeHeader/DatePickerRangeHeader';
|
|
9
|
-
export { default as SingleRangeDateSwitcher } from './SingleRangeDateSwitcher/SingleRangeDateSwitcher';
|
|
10
|
-
export { renderMonthElement } from './DatePickerRenderMonth/DatePickerRenderMonth';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
calendarLabel: string;
|
|
3
|
-
roleDescription: string;
|
|
4
|
-
closeDatePicker: string;
|
|
5
|
-
focusStartDate: string;
|
|
6
|
-
clearDate: string;
|
|
7
|
-
clearDates: string;
|
|
8
|
-
jumpToPrevMonth: string;
|
|
9
|
-
jumpToNextMonth: string;
|
|
10
|
-
keyboardShortcuts: string;
|
|
11
|
-
showKeyboardShortcutsPanel: string;
|
|
12
|
-
hideKeyboardShortcutsPanel: string;
|
|
13
|
-
openThisPanel: string;
|
|
14
|
-
enterKey: string;
|
|
15
|
-
leftArrowRightArrow: string;
|
|
16
|
-
upArrowDownArrow: string;
|
|
17
|
-
pageUpPageDown: string;
|
|
18
|
-
homeEnd: string;
|
|
19
|
-
escape: string;
|
|
20
|
-
questionMark: string;
|
|
21
|
-
selectFocusedDate: string;
|
|
22
|
-
moveFocusByOneDay: string;
|
|
23
|
-
moveFocusByOneWeek: string;
|
|
24
|
-
moveFocusByOneMonth: string;
|
|
25
|
-
moveFocustoStartAndEndOfWeek: string;
|
|
26
|
-
returnFocusToInput: string;
|
|
27
|
-
keyboardForwardNavigationInstructions: string;
|
|
28
|
-
keyboardBackwardNavigationInstructions: string;
|
|
29
|
-
chooseAvailableStartDate: ({ date }: {
|
|
30
|
-
date: any;
|
|
31
|
-
}) => string;
|
|
32
|
-
chooseAvailableEndDate: ({ date }: {
|
|
33
|
-
date: any;
|
|
34
|
-
}) => string;
|
|
35
|
-
dateIsUnavailable: ({ date }: {
|
|
36
|
-
date: any;
|
|
37
|
-
}) => string;
|
|
38
|
-
dateIsSelected: ({ date }: {
|
|
39
|
-
date: any;
|
|
40
|
-
}) => string;
|
|
41
|
-
dateIsSelectedAsStartDate: ({ date }: {
|
|
42
|
-
date: any;
|
|
43
|
-
}) => string;
|
|
44
|
-
dateIsSelectedAsEndDate: ({ date }: {
|
|
45
|
-
date: any;
|
|
46
|
-
}) => string;
|
|
47
|
-
};
|
|
48
|
-
export default _default;
|
|
49
|
-
export declare const DateRangePickerPhrases: {
|
|
50
|
-
calendarLabel: string;
|
|
51
|
-
roleDescription: string;
|
|
52
|
-
closeDatePicker: string;
|
|
53
|
-
clearDates: string;
|
|
54
|
-
focusStartDate: string;
|
|
55
|
-
jumpToPrevMonth: string;
|
|
56
|
-
jumpToNextMonth: string;
|
|
57
|
-
keyboardShortcuts: string;
|
|
58
|
-
showKeyboardShortcutsPanel: string;
|
|
59
|
-
hideKeyboardShortcutsPanel: string;
|
|
60
|
-
openThisPanel: string;
|
|
61
|
-
enterKey: string;
|
|
62
|
-
leftArrowRightArrow: string;
|
|
63
|
-
upArrowDownArrow: string;
|
|
64
|
-
pageUpPageDown: string;
|
|
65
|
-
homeEnd: string;
|
|
66
|
-
escape: string;
|
|
67
|
-
questionMark: string;
|
|
68
|
-
selectFocusedDate: string;
|
|
69
|
-
moveFocusByOneDay: string;
|
|
70
|
-
moveFocusByOneWeek: string;
|
|
71
|
-
moveFocusByOneMonth: string;
|
|
72
|
-
moveFocustoStartAndEndOfWeek: string;
|
|
73
|
-
returnFocusToInput: string;
|
|
74
|
-
keyboardForwardNavigationInstructions: string;
|
|
75
|
-
keyboardBackwardNavigationInstructions: string;
|
|
76
|
-
chooseAvailableStartDate: ({ date }: {
|
|
77
|
-
date: any;
|
|
78
|
-
}) => string;
|
|
79
|
-
chooseAvailableEndDate: ({ date }: {
|
|
80
|
-
date: any;
|
|
81
|
-
}) => string;
|
|
82
|
-
dateIsUnavailable: ({ date }: {
|
|
83
|
-
date: any;
|
|
84
|
-
}) => string;
|
|
85
|
-
dateIsSelected: ({ date }: {
|
|
86
|
-
date: any;
|
|
87
|
-
}) => string;
|
|
88
|
-
dateIsSelectedAsStartDate: ({ date }: {
|
|
89
|
-
date: any;
|
|
90
|
-
}) => string;
|
|
91
|
-
dateIsSelectedAsEndDate: ({ date }: {
|
|
92
|
-
date: any;
|
|
93
|
-
}) => string;
|
|
94
|
-
};
|
|
95
|
-
export declare const DateRangePickerInputPhrases: {
|
|
96
|
-
focusStartDate: string;
|
|
97
|
-
clearDates: string;
|
|
98
|
-
keyboardForwardNavigationInstructions: string;
|
|
99
|
-
keyboardBackwardNavigationInstructions: string;
|
|
100
|
-
};
|
|
101
|
-
export declare const SingleDatePickerPhrases: {
|
|
102
|
-
calendarLabel: string;
|
|
103
|
-
roleDescription: string;
|
|
104
|
-
closeDatePicker: string;
|
|
105
|
-
clearDate: string;
|
|
106
|
-
jumpToPrevMonth: string;
|
|
107
|
-
jumpToNextMonth: string;
|
|
108
|
-
keyboardShortcuts: string;
|
|
109
|
-
showKeyboardShortcutsPanel: string;
|
|
110
|
-
hideKeyboardShortcutsPanel: string;
|
|
111
|
-
openThisPanel: string;
|
|
112
|
-
enterKey: string;
|
|
113
|
-
leftArrowRightArrow: string;
|
|
114
|
-
upArrowDownArrow: string;
|
|
115
|
-
pageUpPageDown: string;
|
|
116
|
-
homeEnd: string;
|
|
117
|
-
escape: string;
|
|
118
|
-
questionMark: string;
|
|
119
|
-
selectFocusedDate: string;
|
|
120
|
-
moveFocusByOneDay: string;
|
|
121
|
-
moveFocusByOneWeek: string;
|
|
122
|
-
moveFocusByOneMonth: string;
|
|
123
|
-
moveFocustoStartAndEndOfWeek: string;
|
|
124
|
-
returnFocusToInput: string;
|
|
125
|
-
keyboardForwardNavigationInstructions: string;
|
|
126
|
-
keyboardBackwardNavigationInstructions: string;
|
|
127
|
-
chooseAvailableDate: ({ date }: {
|
|
128
|
-
date: any;
|
|
129
|
-
}) => any;
|
|
130
|
-
dateIsUnavailable: ({ date }: {
|
|
131
|
-
date: any;
|
|
132
|
-
}) => string;
|
|
133
|
-
dateIsSelected: ({ date }: {
|
|
134
|
-
date: any;
|
|
135
|
-
}) => string;
|
|
136
|
-
};
|
|
137
|
-
export declare const SingleDatePickerInputPhrases: {
|
|
138
|
-
clearDate: string;
|
|
139
|
-
keyboardForwardNavigationInstructions: string;
|
|
140
|
-
keyboardBackwardNavigationInstructions: string;
|
|
141
|
-
};
|
|
142
|
-
export declare const DayPickerPhrases: {
|
|
143
|
-
calendarLabel: string;
|
|
144
|
-
roleDescription: string;
|
|
145
|
-
jumpToPrevMonth: string;
|
|
146
|
-
jumpToNextMonth: string;
|
|
147
|
-
keyboardShortcuts: string;
|
|
148
|
-
showKeyboardShortcutsPanel: string;
|
|
149
|
-
hideKeyboardShortcutsPanel: string;
|
|
150
|
-
openThisPanel: string;
|
|
151
|
-
enterKey: string;
|
|
152
|
-
leftArrowRightArrow: string;
|
|
153
|
-
upArrowDownArrow: string;
|
|
154
|
-
pageUpPageDown: string;
|
|
155
|
-
homeEnd: string;
|
|
156
|
-
escape: string;
|
|
157
|
-
questionMark: string;
|
|
158
|
-
selectFocusedDate: string;
|
|
159
|
-
moveFocusByOneDay: string;
|
|
160
|
-
moveFocusByOneWeek: string;
|
|
161
|
-
moveFocusByOneMonth: string;
|
|
162
|
-
moveFocustoStartAndEndOfWeek: string;
|
|
163
|
-
returnFocusToInput: string;
|
|
164
|
-
chooseAvailableStartDate: ({ date }: {
|
|
165
|
-
date: any;
|
|
166
|
-
}) => string;
|
|
167
|
-
chooseAvailableEndDate: ({ date }: {
|
|
168
|
-
date: any;
|
|
169
|
-
}) => string;
|
|
170
|
-
chooseAvailableDate: ({ date }: {
|
|
171
|
-
date: any;
|
|
172
|
-
}) => any;
|
|
173
|
-
dateIsUnavailable: ({ date }: {
|
|
174
|
-
date: any;
|
|
175
|
-
}) => string;
|
|
176
|
-
dateIsSelected: ({ date }: {
|
|
177
|
-
date: any;
|
|
178
|
-
}) => string;
|
|
179
|
-
dateIsSelectedAsStartDate: ({ date }: {
|
|
180
|
-
date: any;
|
|
181
|
-
}) => string;
|
|
182
|
-
dateIsSelectedAsEndDate: ({ date }: {
|
|
183
|
-
date: any;
|
|
184
|
-
}) => string;
|
|
185
|
-
};
|
|
186
|
-
export declare const DayPickerKeyboardShortcutsPhrases: {
|
|
187
|
-
keyboardShortcuts: string;
|
|
188
|
-
showKeyboardShortcutsPanel: string;
|
|
189
|
-
hideKeyboardShortcutsPanel: string;
|
|
190
|
-
openThisPanel: string;
|
|
191
|
-
enterKey: string;
|
|
192
|
-
leftArrowRightArrow: string;
|
|
193
|
-
upArrowDownArrow: string;
|
|
194
|
-
pageUpPageDown: string;
|
|
195
|
-
homeEnd: string;
|
|
196
|
-
escape: string;
|
|
197
|
-
questionMark: string;
|
|
198
|
-
selectFocusedDate: string;
|
|
199
|
-
moveFocusByOneDay: string;
|
|
200
|
-
moveFocusByOneWeek: string;
|
|
201
|
-
moveFocusByOneMonth: string;
|
|
202
|
-
moveFocustoStartAndEndOfWeek: string;
|
|
203
|
-
returnFocusToInput: string;
|
|
204
|
-
};
|
|
205
|
-
export declare const DayPickerNavigationPhrases: {
|
|
206
|
-
jumpToPrevMonth: string;
|
|
207
|
-
jumpToNextMonth: string;
|
|
208
|
-
};
|
|
209
|
-
export declare const CalendarDayPhrases: {
|
|
210
|
-
chooseAvailableDate: ({ date }: {
|
|
211
|
-
date: any;
|
|
212
|
-
}) => any;
|
|
213
|
-
dateIsUnavailable: ({ date }: {
|
|
214
|
-
date: any;
|
|
215
|
-
}) => string;
|
|
216
|
-
dateIsSelected: ({ date }: {
|
|
217
|
-
date: any;
|
|
218
|
-
}) => string;
|
|
219
|
-
dateIsSelectedAsStartDate: ({ date }: {
|
|
220
|
-
date: any;
|
|
221
|
-
}) => string;
|
|
222
|
-
dateIsSelectedAsEndDate: ({ date }: {
|
|
223
|
-
date: any;
|
|
224
|
-
}) => string;
|
|
225
|
-
};
|
package/dist/types/index.d.ts
DELETED