@elliemae/ds-date-picker 3.17.0-next.1 → 3.17.0-next.11

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.
Files changed (23) hide show
  1. package/dist/types/components/DSDatePickerImpl.d.ts +21 -0
  2. package/dist/types/components/DatePickerController/DatePickerController.d.ts +80 -0
  3. package/dist/types/components/DatePickerDay/DatePickerDay.d.ts +14 -0
  4. package/dist/types/components/DatePickerDropdown.d.ts +28 -0
  5. package/dist/types/components/DatePickerHeader/DatePickerHeader.d.ts +16 -0
  6. package/dist/types/components/DatePickerNavigation/DatePickerNavigation.d.ts +20 -0
  7. package/dist/types/components/DatePickerPicker/DatePickerPicker.d.ts +44 -0
  8. package/dist/types/components/DatePickerRange/DatePickerRange.d.ts +10 -0
  9. package/dist/types/components/DatePickerRangeHeader/DatePickerRangeHeader.d.ts +24 -0
  10. package/dist/types/components/DatePickerRangeHeader/tests/DatePickerRangeHeader.test.d.ts +1 -0
  11. package/dist/types/components/DatePickerRenderMonth/DatePickerRenderMonth.d.ts +5 -0
  12. package/dist/types/components/DatePickerSingleDate/DatePickerSingleDate.d.ts +12 -0
  13. package/dist/types/components/SingleRangeDateSwitcher/SingleRangeDateSwitcher.d.ts +17 -0
  14. package/dist/types/components/index.d.ts +10 -0
  15. package/dist/types/components/tests/DatePickerHeader.test.d.ts +1 -0
  16. package/dist/types/components/tests/DatePickerRange.test.d.ts +1 -0
  17. package/dist/types/components/tests/DatePickerRangeHeader.test.d.ts +1 -0
  18. package/dist/types/components/tests/DatePickerSelectedDate.test.d.ts +1 -0
  19. package/dist/types/components/tests/DatePickerSingleDate.test.d.ts +1 -0
  20. package/dist/types/components/tests/SingleRangeDateSwitcher.test.d.ts +1 -0
  21. package/dist/types/defaultPhrases.d.ts +225 -0
  22. package/dist/types/index.d.ts +3 -0
  23. package/package.json +14 -14
@@ -0,0 +1,21 @@
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 };
@@ -0,0 +1,80 @@
1
+ import React from 'react';
2
+ import moment from 'moment';
3
+ import 'react-dates/initialize.js';
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 };
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const Day: {
4
+ ({ className, date }: {
5
+ className?: string | undefined;
6
+ date?: string | undefined;
7
+ }): JSX.Element;
8
+ propTypes: {
9
+ className: PropTypes.Requireable<string>;
10
+ date: PropTypes.Requireable<NonNullable<string | number | null | undefined>>;
11
+ };
12
+ };
13
+ export { Day as DatePickerDay };
14
+ export default Day;
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const DatePickerDropdown: {
4
+ ({ disabled, readOnly, onClick, isOpen, menu, zIndex, pickerProps, pickerRef, }: {
5
+ disabled?: boolean | undefined;
6
+ readOnly: any;
7
+ onClick?: (() => null) | undefined;
8
+ isOpen: any;
9
+ menu: any;
10
+ zIndex?: number | undefined;
11
+ pickerProps: any;
12
+ pickerRef: any;
13
+ }): JSX.Element;
14
+ propTypes: {
15
+ pickerRef: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.InferProps<{
16
+ current: PropTypes.Requireable<any>;
17
+ }> | null | undefined>>;
18
+ disabled: PropTypes.Requireable<boolean>;
19
+ readOnly: PropTypes.Requireable<boolean>;
20
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
21
+ isOpen: PropTypes.Requireable<boolean>;
22
+ menu: PropTypes.Requireable<PropTypes.ReactElementLike>;
23
+ zIndex: PropTypes.Requireable<number>;
24
+ pickerProps: PropTypes.Requireable<PropTypes.InferProps<PropTypes.ValidationMap<any>>>;
25
+ };
26
+ };
27
+ export { DatePickerDropdown };
28
+ export default DatePickerDropdown;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const DatePickerHeader: {
4
+ ({ onInputChange, selectedDate, updateKeyDate }: {
5
+ onInputChange?: (() => null) | undefined;
6
+ selectedDate: any;
7
+ updateKeyDate: any;
8
+ }): JSX.Element;
9
+ propTypes: {
10
+ onInputChange: PropTypes.Requireable<(...args: any[]) => any>;
11
+ selectedDate: PropTypes.Requireable<any>;
12
+ updateKeyDate: PropTypes.Requireable<any>;
13
+ };
14
+ };
15
+ export { DatePickerHeader };
16
+ export default DatePickerHeader;
@@ -0,0 +1,20 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const Navigation: {
4
+ ({ className, icon: Icon, color, size, innerRef, }: {
5
+ className?: string | undefined;
6
+ icon?: ((rest: any) => JSX.Element) | undefined;
7
+ color?: string[] | undefined;
8
+ size?: string | undefined;
9
+ innerRef: any;
10
+ }): JSX.Element;
11
+ propTypes: {
12
+ className: string;
13
+ icon: PropTypes.Requireable<PropTypes.ReactElementLike>;
14
+ color: PropTypes.Requireable<readonly ["neutral", "900"] | readonly ["neutral", "0"] | readonly ["danger", "900"] | readonly ["warning", "500"] | readonly ["success", "900"] | readonly ["brand-primary", "600"]>;
15
+ size: PropTypes.Requireable<"s" | "m" | "l" | "xxs" | "xs" | "xl" | "xxl">;
16
+ innerRef: PropTypes.Requireable<any>;
17
+ };
18
+ };
19
+ export { Navigation as DatePickerNavigation };
20
+ export default Navigation;
@@ -0,0 +1,44 @@
1
+ /// <reference types="react" />
2
+ export declare const Picker: {
3
+ ({ className, disabled, icon, size, buttonActionType, onClick, onBlur, readOnly, tabIndex, innerRef, ...rest }: {
4
+ [x: string]: any;
5
+ className?: string | undefined;
6
+ disabled?: boolean | undefined;
7
+ icon?: JSX.Element | undefined;
8
+ size?: string | undefined;
9
+ buttonActionType?: string | undefined;
10
+ onClick?: (() => null) | undefined;
11
+ onBlur?: (() => null) | undefined;
12
+ readOnly?: boolean | undefined;
13
+ tabIndex?: number | undefined;
14
+ innerRef: any;
15
+ }): JSX.Element;
16
+ propTypes: {
17
+ innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
18
+ className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
19
+ disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
20
+ icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
21
+ size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
22
+ buttonActionType: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
23
+ onClick: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
24
+ onFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
25
+ onBlur: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
26
+ readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
27
+ tabIndex: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
28
+ };
29
+ };
30
+ export declare const PickerPropsTypes: {
31
+ innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
32
+ className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
33
+ disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
34
+ icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
35
+ size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
36
+ buttonActionType: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
37
+ onClick: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
38
+ onFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
39
+ onBlur: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
40
+ readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
41
+ tabIndex: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
42
+ };
43
+ export { Picker as DatePickerPicker };
44
+ export default Picker;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare const DatePickerRangeDate: ({ dateStart, dateEnd, displayFormatDay, showHeader, otherProps }: {
3
+ dateStart: any;
4
+ dateEnd: any;
5
+ displayFormatDay?: string | undefined;
6
+ showHeader?: boolean | undefined;
7
+ otherProps: any;
8
+ }) => JSX.Element;
9
+ export { DatePickerRangeDate };
10
+ export default DatePickerRangeDate;
@@ -0,0 +1,24 @@
1
+ /// <reference types="react" />
2
+ import PropTypes from 'prop-types';
3
+ declare const DatePickerRangeHeader: {
4
+ ({ onStartInputChange, onEndInputChange, onFocusChange, selectedStartDate, selectedEndDate, handleDatesChange, autoJumpOnEdit, }: {
5
+ onStartInputChange?: (() => null) | undefined;
6
+ onEndInputChange?: (() => null) | undefined;
7
+ onFocusChange?: (() => null) | undefined;
8
+ selectedStartDate: any;
9
+ selectedEndDate: any;
10
+ handleDatesChange: any;
11
+ autoJumpOnEdit?: boolean | undefined;
12
+ }): JSX.Element;
13
+ propTypes: {
14
+ onStartInputChange: PropTypes.Requireable<(...args: any[]) => any>;
15
+ onEndInputChange: PropTypes.Requireable<(...args: any[]) => any>;
16
+ onFocusChange: PropTypes.Requireable<(...args: any[]) => any>;
17
+ selectedStartDate: PropTypes.Requireable<any>;
18
+ selectedEndDate: PropTypes.Requireable<any>;
19
+ handleDatesChange: PropTypes.Requireable<(...args: any[]) => any>;
20
+ autoJumpOnEdit: PropTypes.Requireable<boolean>;
21
+ };
22
+ };
23
+ export { DatePickerRangeHeader };
24
+ export default DatePickerRangeHeader;
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const renderMonthElement: ({ month, onYearSelect }: {
3
+ month: any;
4
+ onYearSelect: any;
5
+ }) => JSX.Element;
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ declare const DatePickerSingleDate: ({ date, displayFormatDay, isDayHighlighted, enableOutsideDays, showHeader, onChange, ...rest }: {
3
+ [x: string]: any;
4
+ date: any;
5
+ displayFormatDay?: string | undefined;
6
+ isDayHighlighted?: (() => boolean) | undefined;
7
+ enableOutsideDays?: boolean | undefined;
8
+ showHeader?: boolean | undefined;
9
+ onChange?: (() => null) | undefined;
10
+ }) => JSX.Element;
11
+ export { DatePickerSingleDate };
12
+ export default DatePickerSingleDate;
@@ -0,0 +1,17 @@
1
+ /// <reference types="react" />
2
+ declare const SingleRangeDateSwitcher: ({ onStartInputChange, onEndInputChange, onSingleInputChange, onFocusChange, selectedStartDate, selectedEndDate, selectedSingleDate, isDateRange, setIsDateRange, handleDatesChange, updateKeyDate, focusedInput, }: {
3
+ onStartInputChange: any;
4
+ onEndInputChange: any;
5
+ onSingleInputChange: any;
6
+ onFocusChange: any;
7
+ selectedStartDate: any;
8
+ selectedEndDate: any;
9
+ selectedSingleDate: any;
10
+ isDateRange: any;
11
+ setIsDateRange: any;
12
+ handleDatesChange: any;
13
+ updateKeyDate: any;
14
+ focusedInput: any;
15
+ }) => JSX.Element;
16
+ export { SingleRangeDateSwitcher };
17
+ export default SingleRangeDateSwitcher;
@@ -0,0 +1,10 @@
1
+ export { default as DatePickerNavigation } from './DatePickerNavigation/DatePickerNavigation.js';
2
+ export { default as DatePickerDay } from './DatePickerDay/DatePickerDay.js';
3
+ export { default as DatePickerPicker } from './DatePickerPicker/DatePickerPicker.js';
4
+ export { default as DatePickerDropdown } from './DatePickerDropdown.js';
5
+ export { default as DatePickerSingleDate } from './DatePickerSingleDate/DatePickerSingleDate.js';
6
+ export { default as DatePickerHeader } from './DatePickerHeader/DatePickerHeader.js';
7
+ export { default as DatePickerRange } from './DatePickerRange/DatePickerRange.js';
8
+ export { default as DatePickerRangeHeader } from './DatePickerRangeHeader/DatePickerRangeHeader.js';
9
+ export { default as SingleRangeDateSwitcher } from './SingleRangeDateSwitcher/SingleRangeDateSwitcher.js';
10
+ export { renderMonthElement } from './DatePickerRenderMonth/DatePickerRenderMonth.js';
@@ -0,0 +1,225 @@
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
+ };
@@ -0,0 +1,3 @@
1
+ export { default } from './DSDatePicker.js';
2
+ export * from './DSDatePicker.js';
3
+ export { SingleDatePickerPhrases } from './defaultPhrases.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-date-picker",
3
- "version": "3.17.0-next.1",
3
+ "version": "3.17.0-next.11",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Date Picker",
6
6
  "files": [
@@ -98,17 +98,17 @@
98
98
  "moment": "~2.29.4",
99
99
  "prop-types": "~15.8.1",
100
100
  "react-dates": "~21.8.0",
101
- "@elliemae/ds-button": "3.17.0-next.1",
102
- "@elliemae/ds-classnames": "3.17.0-next.1",
103
- "@elliemae/ds-form": "3.17.0-next.1",
104
- "@elliemae/ds-grid": "3.17.0-next.1",
105
- "@elliemae/ds-icon": "3.17.0-next.1",
106
- "@elliemae/ds-icons": "3.17.0-next.1",
107
- "@elliemae/ds-popper": "3.17.0-next.1",
108
- "@elliemae/ds-props-helpers": "3.17.0-next.1",
109
- "@elliemae/ds-shared": "3.17.0-next.1",
110
- "@elliemae/ds-system": "3.17.0-next.1",
111
- "@elliemae/ds-utilities": "3.17.0-next.1"
101
+ "@elliemae/ds-button": "3.17.0-next.11",
102
+ "@elliemae/ds-classnames": "3.17.0-next.11",
103
+ "@elliemae/ds-icon": "3.17.0-next.11",
104
+ "@elliemae/ds-form": "3.17.0-next.11",
105
+ "@elliemae/ds-popper": "3.17.0-next.11",
106
+ "@elliemae/ds-icons": "3.17.0-next.11",
107
+ "@elliemae/ds-shared": "3.17.0-next.11",
108
+ "@elliemae/ds-props-helpers": "3.17.0-next.11",
109
+ "@elliemae/ds-system": "3.17.0-next.11",
110
+ "@elliemae/ds-grid": "3.17.0-next.11",
111
+ "@elliemae/ds-utilities": "3.17.0-next.11"
112
112
  },
113
113
  "devDependencies": {
114
114
  "@testing-library/jest-dom": "~5.16.5",
@@ -127,8 +127,8 @@
127
127
  "dev": "cross-env NODE_ENV=development node ../../scripts/build/build.mjs --watch",
128
128
  "test": "node ../../scripts/testing/test.mjs",
129
129
  "lint": "node ../../scripts/lint.mjs",
130
- "eslint:fix": "exit 0",
131
- "dts": "exit 0",
130
+ "eslint:fix": "exit 0 | echo",
131
+ "dts": "exit 0 | echo",
132
132
  "build": "cross-env NODE_ENV=production node ../../scripts/build/build.mjs",
133
133
  "dev:build": "pnpm --filter {.}... build",
134
134
  "dev:install": "pnpm --filter {.}... i --no-lockfile && pnpm run dev:build",