@elliemae/ds-date-time-picker 2.2.0-next.4 → 2.3.0-alpha.2

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.
@@ -157,82 +157,9 @@ declare const DSDateTimePicker: {
157
157
  };
158
158
  };
159
159
  declare const DateTimePickerWithSchema: {
160
- (props?: {
161
- containerProps?: {} | undefined;
162
- className?: string | undefined;
163
- id?: string | undefined;
164
- placeholder?: string | undefined;
165
- date: any;
166
- clearable?: boolean | undefined;
167
- onBlur?: (() => null) | undefined;
168
- datePickerProps?: {
169
- disabled: boolean;
170
- numberOfMonths: number;
171
- readOnly: boolean;
172
- enableOutsideDays: boolean;
173
- transitionDuration: number;
174
- firstDayOfWeek: number;
175
- keepOpenOnDateSelect: boolean;
176
- hideKeyboardShortcutsPanel: boolean;
177
- onPrevMonthClick: () => null;
178
- onNextMonthClick: () => null;
179
- onClose: () => null;
180
- onchange: () => null;
181
- onDateChange: () => null;
182
- phrases: {
183
- calendarLabel: string;
184
- roleDescription: string;
185
- closeDatePicker: string;
186
- clearDate: string;
187
- jumpToPrevMonth: string;
188
- jumpToNextMonth: string;
189
- keyboardShortcuts: string;
190
- showKeyboardShortcutsPanel: string;
191
- hideKeyboardShortcutsPanel: string;
192
- openThisPanel: string;
193
- enterKey: string;
194
- leftArrowRightArrow: string;
195
- upArrowDownArrow: string;
196
- pageUpPageDown: string;
197
- homeEnd: string;
198
- escape: string;
199
- questionMark: string;
200
- selectFocusedDate: string;
201
- moveFocusByOneDay: string;
202
- moveFocusByOneWeek: string;
203
- moveFocusByOneMonth: string;
204
- moveFocustoStartAndEndOfWeek: string;
205
- returnFocusToInput: string;
206
- keyboardForwardNavigationInstructions: string;
207
- keyboardBackwardNavigationInstructions: string;
208
- chooseAvailableDate: ({ date }: {
209
- date: any;
210
- }) => any;
211
- dateIsUnavailable: ({ date }: {
212
- date: any;
213
- }) => string;
214
- dateIsSelected: ({ date }: {
215
- date: any;
216
- }) => string;
217
- };
218
- displayFormatDay: string;
219
- isDayBlocked: () => boolean;
220
- isOutsideRange: () => boolean;
221
- isDayHighlighted: () => boolean;
222
- zIndex: number;
223
- } | undefined;
224
- timePickerProps?: {
225
- format: string;
226
- onChange: () => null;
227
- disabledTimes: undefined;
228
- minutesInterval: number;
229
- } | undefined;
230
- dateInputProps?: {
231
- onDateInputDateChange: () => null;
232
- } | undefined;
233
- } | undefined): JSX.Element;
160
+ (props?: unknown): JSX.Element;
234
161
  propTypes: unknown;
235
162
  toTypescript: () => import("react-desc").TypescriptSchema;
236
163
  };
237
- export { DateTimePickerWithSchema };
164
+ export { DateTimePickerWithSchema, DSDateTimePicker };
238
165
  export default DSDateTimePicker;
@@ -72,4 +72,5 @@ declare const DSDateTimePickerImpl: ({ onBlur, placeholder, date, clearable, dat
72
72
  onDateInputDateChange?: (() => null) | undefined;
73
73
  };
74
74
  }) => JSX.Element;
75
+ export { DSDateTimePickerImpl };
75
76
  export default DSDateTimePickerImpl;
package/types/index.d.ts CHANGED
@@ -1 +1 @@
1
- export { default, DateTimePickerWithSchema } from './DSDateTimePicker';
1
+ export { default, DSDateTimePicker, DateTimePickerWithSchema } from './DSDateTimePicker';