@elliemae/ds-date-picker 3.17.0-next.2 → 3.17.0-next.21

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 +13 -0
  4. package/dist/types/components/DatePickerDropdown.d.ts +27 -0
  5. package/dist/types/components/DatePickerHeader/DatePickerHeader.d.ts +15 -0
  6. package/dist/types/components/DatePickerNavigation/DatePickerNavigation.d.ts +19 -0
  7. package/dist/types/components/DatePickerPicker/DatePickerPicker.d.ts +43 -0
  8. package/dist/types/components/DatePickerRange/DatePickerRange.d.ts +9 -0
  9. package/dist/types/components/DatePickerRangeHeader/DatePickerRangeHeader.d.ts +23 -0
  10. package/dist/types/components/DatePickerRangeHeader/tests/DatePickerRangeHeader.test.d.ts +1 -0
  11. package/dist/types/components/DatePickerRenderMonth/DatePickerRenderMonth.d.ts +4 -0
  12. package/dist/types/components/DatePickerSingleDate/DatePickerSingleDate.d.ts +11 -0
  13. package/dist/types/components/SingleRangeDateSwitcher/SingleRangeDateSwitcher.d.ts +16 -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(): import("react/jsx-runtime.js").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(): import("react/jsx-runtime.js").JSX.Element;
79
+ }
80
+ export { DSDatePickerController };
@@ -0,0 +1,13 @@
1
+ import PropTypes from 'prop-types';
2
+ declare const Day: {
3
+ ({ className, date }: {
4
+ className?: string | undefined;
5
+ date?: string | undefined;
6
+ }): import("react/jsx-runtime").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;
@@ -0,0 +1,27 @@
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
+ }): import("react/jsx-runtime.js").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;
@@ -0,0 +1,15 @@
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
+ }): import("react/jsx-runtime").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;
@@ -0,0 +1,19 @@
1
+ import PropTypes from 'prop-types';
2
+ declare const Navigation: {
3
+ ({ className, icon: Icon, color, size, innerRef, }: {
4
+ className?: string | undefined;
5
+ icon?: ((rest: import("@elliemae/ds-icons").SvgIconT.Props) => import("react/jsx-runtime").JSX.Element) | undefined;
6
+ color?: string[] | undefined;
7
+ size?: string | undefined;
8
+ innerRef: any;
9
+ }): import("react/jsx-runtime").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;
@@ -0,0 +1,43 @@
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?: import("react/jsx-runtime").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
+ }): import("react/jsx-runtime").JSX.Element;
15
+ propTypes: {
16
+ innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
17
+ className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
18
+ disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
19
+ icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
20
+ size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
21
+ buttonActionType: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
22
+ onClick: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
23
+ onFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
24
+ onBlur: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
25
+ readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
26
+ tabIndex: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
27
+ };
28
+ };
29
+ export declare const PickerPropsTypes: {
30
+ innerRef: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
31
+ className: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
32
+ disabled: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
33
+ icon: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
34
+ size: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
35
+ buttonActionType: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
36
+ onClick: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
37
+ onFocus: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
38
+ onBlur: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
39
+ readOnly: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
40
+ tabIndex: import("@elliemae/ds-props-helpers/dist/types/propTypes/types").ReactDescT;
41
+ };
42
+ export { Picker as DatePickerPicker };
43
+ export default Picker;
@@ -0,0 +1,9 @@
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
+ }) => import("react/jsx-runtime.js").JSX.Element;
8
+ export { DatePickerRangeDate };
9
+ export default DatePickerRangeDate;
@@ -0,0 +1,23 @@
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
+ }): import("react/jsx-runtime").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;
@@ -0,0 +1,4 @@
1
+ export declare const renderMonthElement: ({ month, onYearSelect }: {
2
+ month: any;
3
+ onYearSelect: any;
4
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
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
+ }) => import("react/jsx-runtime.js").JSX.Element;
10
+ export { DatePickerSingleDate };
11
+ export default DatePickerSingleDate;
@@ -0,0 +1,16 @@
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
+ }) => import("react/jsx-runtime.js").JSX.Element;
15
+ export { SingleRangeDateSwitcher };
16
+ 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.2",
3
+ "version": "3.17.0-next.21",
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.2",
102
- "@elliemae/ds-icon": "3.17.0-next.2",
103
- "@elliemae/ds-classnames": "3.17.0-next.2",
104
- "@elliemae/ds-props-helpers": "3.17.0-next.2",
105
- "@elliemae/ds-icons": "3.17.0-next.2",
106
- "@elliemae/ds-form": "3.17.0-next.2",
107
- "@elliemae/ds-popper": "3.17.0-next.2",
108
- "@elliemae/ds-shared": "3.17.0-next.2",
109
- "@elliemae/ds-grid": "3.17.0-next.2",
110
- "@elliemae/ds-system": "3.17.0-next.2",
111
- "@elliemae/ds-utilities": "3.17.0-next.2"
101
+ "@elliemae/ds-classnames": "3.17.0-next.21",
102
+ "@elliemae/ds-button": "3.17.0-next.21",
103
+ "@elliemae/ds-grid": "3.17.0-next.21",
104
+ "@elliemae/ds-icon": "3.17.0-next.21",
105
+ "@elliemae/ds-form": "3.17.0-next.21",
106
+ "@elliemae/ds-icons": "3.17.0-next.21",
107
+ "@elliemae/ds-props-helpers": "3.17.0-next.21",
108
+ "@elliemae/ds-popper": "3.17.0-next.21",
109
+ "@elliemae/ds-system": "3.17.0-next.21",
110
+ "@elliemae/ds-utilities": "3.17.0-next.21",
111
+ "@elliemae/ds-shared": "3.17.0-next.21"
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",