@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.
- package/cjs/DSDateTimePicker.js +160 -181
- package/cjs/DSDateTimePicker.js.map +7 -0
- package/cjs/components/DateTimePickerImpl.js +187 -218
- package/cjs/components/DateTimePickerImpl.js.map +7 -0
- package/cjs/index.js +37 -10
- package/cjs/index.js.map +7 -0
- package/cjs/lang/english.js +39 -9
- package/cjs/lang/english.js.map +7 -0
- package/cjs/tests/utils.js +42 -0
- package/cjs/tests/utils.js.map +7 -0
- package/cjs/utils.js +42 -19
- package/cjs/utils.js.map +7 -0
- package/esm/DSDateTimePicker.js +77 -116
- package/esm/DSDateTimePicker.js.map +7 -0
- package/esm/components/DateTimePickerImpl.js +143 -194
- package/esm/components/DateTimePickerImpl.js.map +7 -0
- package/esm/index.js +8 -1
- package/esm/index.js.map +7 -0
- package/esm/lang/english.js +9 -6
- package/esm/lang/english.js.map +7 -0
- package/esm/tests/utils.js +13 -0
- package/esm/tests/utils.js.map +7 -0
- package/esm/utils.js +12 -10
- package/esm/utils.js.map +7 -0
- package/package.json +7 -7
- package/types/DSDateTimePicker.d.ts +2 -75
- package/types/components/DateTimePickerImpl.d.ts +1 -0
- package/types/index.d.ts +1 -1
|
@@ -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;
|
package/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default, DateTimePickerWithSchema } from './DSDateTimePicker';
|
|
1
|
+
export { default, DSDateTimePicker, DateTimePickerWithSchema } from './DSDateTimePicker';
|