@instructure/ui-date-input 10.19.2-snapshot-4 → 10.19.2-snapshot-6

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/CHANGELOG.md CHANGED
@@ -3,9 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [10.19.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v10.19.1...v10.19.2-snapshot-4) (2025-06-12)
6
+ ## [10.19.2-snapshot-6](https://github.com/instructure/instructure-ui/compare/v10.19.1...v10.19.2-snapshot-6) (2025-06-12)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-date-input
8
+
9
+ ### Bug Fixes
10
+
11
+ * **many:** update dependencies, browsersdb and moment timezone database ([3813636](https://github.com/instructure/instructure-ui/commit/3813636458c901ad4bc74a4d5ae015cb55defcb2))
9
12
 
10
13
 
11
14
 
@@ -216,9 +216,9 @@ let DateInput = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec
216
216
  });
217
217
  }
218
218
  renderMonthNavigationButton(type = 'prev') {
219
- const _this$props10 = this.props,
220
- renderPrevMonthButton = _this$props10.renderPrevMonthButton,
221
- renderNextMonthButton = _this$props10.renderNextMonthButton;
219
+ const _this$props0 = this.props,
220
+ renderPrevMonthButton = _this$props0.renderPrevMonthButton,
221
+ renderNextMonthButton = _this$props0.renderNextMonthButton;
222
222
  const button = type === 'prev' ? renderPrevMonthButton : renderNextMonthButton;
223
223
  return button && safeCloneElement(callRenderProp(button), {
224
224
  tabIndex: -1
@@ -248,15 +248,15 @@ let DateInput = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec
248
248
  getListProps,
249
249
  getOptionProps
250
250
  }) {
251
- const _this$props11 = this.props,
252
- onRequestRenderNextMonth = _this$props11.onRequestRenderNextMonth,
253
- onRequestRenderPrevMonth = _this$props11.onRequestRenderPrevMonth,
254
- renderNavigationLabel = _this$props11.renderNavigationLabel,
255
- renderWeekdayLabels = _this$props11.renderWeekdayLabels,
256
- value = _this$props11.value,
257
- onChange = _this$props11.onChange,
258
- disabledDates = _this$props11.disabledDates,
259
- currentDate = _this$props11.currentDate;
251
+ const _this$props1 = this.props,
252
+ onRequestRenderNextMonth = _this$props1.onRequestRenderNextMonth,
253
+ onRequestRenderPrevMonth = _this$props1.onRequestRenderPrevMonth,
254
+ renderNavigationLabel = _this$props1.renderNavigationLabel,
255
+ renderWeekdayLabels = _this$props1.renderWeekdayLabels,
256
+ value = _this$props1.value,
257
+ onChange = _this$props1.onChange,
258
+ disabledDates = _this$props1.disabledDates,
259
+ currentDate = _this$props1.currentDate;
260
260
  const isValidDate = value ? DateTime.parse(value, this.locale(), this.timezone()).isValid() : false;
261
261
  const noChildrenProps = this.props.children ? {} : {
262
262
  disabledDates,
@@ -288,24 +288,24 @@ let DateInput = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec
288
288
  getInputProps,
289
289
  getTriggerProps
290
290
  }) {
291
- const _this$props12 = this.props,
292
- renderLabel = _this$props12.renderLabel,
293
- value = _this$props12.value,
294
- placeholder = _this$props12.placeholder,
295
- onBlur = _this$props12.onBlur,
296
- isRequired = _this$props12.isRequired,
297
- size = _this$props12.size,
298
- isInline = _this$props12.isInline,
299
- layout = _this$props12.layout,
300
- width = _this$props12.width,
301
- onRequestValidateDate = _this$props12.onRequestValidateDate,
302
- onRequestShowCalendar = _this$props12.onRequestShowCalendar,
303
- onRequestHideCalendar = _this$props12.onRequestHideCalendar,
304
- onRequestSelectNextDay = _this$props12.onRequestSelectNextDay,
305
- onRequestSelectPrevDay = _this$props12.onRequestSelectPrevDay,
306
- onRequestRenderNextMonth = _this$props12.onRequestRenderNextMonth,
307
- onRequestRenderPrevMonth = _this$props12.onRequestRenderPrevMonth,
308
- rest = _objectWithoutProperties(_this$props12, _excluded);
291
+ const _this$props10 = this.props,
292
+ renderLabel = _this$props10.renderLabel,
293
+ value = _this$props10.value,
294
+ placeholder = _this$props10.placeholder,
295
+ onBlur = _this$props10.onBlur,
296
+ isRequired = _this$props10.isRequired,
297
+ size = _this$props10.size,
298
+ isInline = _this$props10.isInline,
299
+ layout = _this$props10.layout,
300
+ width = _this$props10.width,
301
+ onRequestValidateDate = _this$props10.onRequestValidateDate,
302
+ onRequestShowCalendar = _this$props10.onRequestShowCalendar,
303
+ onRequestHideCalendar = _this$props10.onRequestHideCalendar,
304
+ onRequestSelectNextDay = _this$props10.onRequestSelectNextDay,
305
+ onRequestSelectPrevDay = _this$props10.onRequestSelectPrevDay,
306
+ onRequestRenderNextMonth = _this$props10.onRequestRenderNextMonth,
307
+ onRequestRenderPrevMonth = _this$props10.onRequestRenderPrevMonth,
308
+ rest = _objectWithoutProperties(_this$props10, _excluded);
309
309
  const interaction = this.interaction;
310
310
  const _getTriggerProps = getTriggerProps(),
311
311
  ref = _getTriggerProps.ref,
@@ -345,10 +345,10 @@ let DateInput = (_dec = withStyle(generateStyle, null), _dec2 = testable(), _dec
345
345
  });
346
346
  }
347
347
  render() {
348
- const _this$props13 = this.props,
349
- placement = _this$props13.placement,
350
- assistiveText = _this$props13.assistiveText,
351
- styles = _this$props13.styles;
348
+ const _this$props11 = this.props,
349
+ placement = _this$props11.placement,
350
+ assistiveText = _this$props11.assistiveText,
351
+ styles = _this$props11.styles;
352
352
  const isShowingCalendar = this.shouldShowCalendar();
353
353
  return _jsx(Selectable, {
354
354
  isShowingOptions: isShowingCalendar,
@@ -226,9 +226,9 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
226
226
  });
227
227
  }
228
228
  renderMonthNavigationButton(type = 'prev') {
229
- const _this$props10 = this.props,
230
- renderPrevMonthButton = _this$props10.renderPrevMonthButton,
231
- renderNextMonthButton = _this$props10.renderNextMonthButton;
229
+ const _this$props0 = this.props,
230
+ renderPrevMonthButton = _this$props0.renderPrevMonthButton,
231
+ renderNextMonthButton = _this$props0.renderNextMonthButton;
232
232
  const button = type === 'prev' ? renderPrevMonthButton : renderNextMonthButton;
233
233
  return button && (0, _safeCloneElement.safeCloneElement)((0, _callRenderProp.callRenderProp)(button), {
234
234
  tabIndex: -1
@@ -258,15 +258,15 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
258
258
  getListProps,
259
259
  getOptionProps
260
260
  }) {
261
- const _this$props11 = this.props,
262
- onRequestRenderNextMonth = _this$props11.onRequestRenderNextMonth,
263
- onRequestRenderPrevMonth = _this$props11.onRequestRenderPrevMonth,
264
- renderNavigationLabel = _this$props11.renderNavigationLabel,
265
- renderWeekdayLabels = _this$props11.renderWeekdayLabels,
266
- value = _this$props11.value,
267
- onChange = _this$props11.onChange,
268
- disabledDates = _this$props11.disabledDates,
269
- currentDate = _this$props11.currentDate;
261
+ const _this$props1 = this.props,
262
+ onRequestRenderNextMonth = _this$props1.onRequestRenderNextMonth,
263
+ onRequestRenderPrevMonth = _this$props1.onRequestRenderPrevMonth,
264
+ renderNavigationLabel = _this$props1.renderNavigationLabel,
265
+ renderWeekdayLabels = _this$props1.renderWeekdayLabels,
266
+ value = _this$props1.value,
267
+ onChange = _this$props1.onChange,
268
+ disabledDates = _this$props1.disabledDates,
269
+ currentDate = _this$props1.currentDate;
270
270
  const isValidDate = value ? _DateTime.DateTime.parse(value, this.locale(), this.timezone()).isValid() : false;
271
271
  const noChildrenProps = this.props.children ? {} : {
272
272
  disabledDates,
@@ -298,24 +298,24 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
298
298
  getInputProps,
299
299
  getTriggerProps
300
300
  }) {
301
- const _this$props12 = this.props,
302
- renderLabel = _this$props12.renderLabel,
303
- value = _this$props12.value,
304
- placeholder = _this$props12.placeholder,
305
- onBlur = _this$props12.onBlur,
306
- isRequired = _this$props12.isRequired,
307
- size = _this$props12.size,
308
- isInline = _this$props12.isInline,
309
- layout = _this$props12.layout,
310
- width = _this$props12.width,
311
- onRequestValidateDate = _this$props12.onRequestValidateDate,
312
- onRequestShowCalendar = _this$props12.onRequestShowCalendar,
313
- onRequestHideCalendar = _this$props12.onRequestHideCalendar,
314
- onRequestSelectNextDay = _this$props12.onRequestSelectNextDay,
315
- onRequestSelectPrevDay = _this$props12.onRequestSelectPrevDay,
316
- onRequestRenderNextMonth = _this$props12.onRequestRenderNextMonth,
317
- onRequestRenderPrevMonth = _this$props12.onRequestRenderPrevMonth,
318
- rest = (0, _objectWithoutProperties2.default)(_this$props12, _excluded);
301
+ const _this$props10 = this.props,
302
+ renderLabel = _this$props10.renderLabel,
303
+ value = _this$props10.value,
304
+ placeholder = _this$props10.placeholder,
305
+ onBlur = _this$props10.onBlur,
306
+ isRequired = _this$props10.isRequired,
307
+ size = _this$props10.size,
308
+ isInline = _this$props10.isInline,
309
+ layout = _this$props10.layout,
310
+ width = _this$props10.width,
311
+ onRequestValidateDate = _this$props10.onRequestValidateDate,
312
+ onRequestShowCalendar = _this$props10.onRequestShowCalendar,
313
+ onRequestHideCalendar = _this$props10.onRequestHideCalendar,
314
+ onRequestSelectNextDay = _this$props10.onRequestSelectNextDay,
315
+ onRequestSelectPrevDay = _this$props10.onRequestSelectPrevDay,
316
+ onRequestRenderNextMonth = _this$props10.onRequestRenderNextMonth,
317
+ onRequestRenderPrevMonth = _this$props10.onRequestRenderPrevMonth,
318
+ rest = (0, _objectWithoutProperties2.default)(_this$props10, _excluded);
319
319
  const interaction = this.interaction;
320
320
  const _getTriggerProps = getTriggerProps(),
321
321
  ref = _getTriggerProps.ref,
@@ -355,10 +355,10 @@ let DateInput = exports.DateInput = (_dec = (0, _emotion.withStyle)(_styles.defa
355
355
  });
356
356
  }
357
357
  render() {
358
- const _this$props13 = this.props,
359
- placement = _this$props13.placement,
360
- assistiveText = _this$props13.assistiveText,
361
- styles = _this$props13.styles;
358
+ const _this$props11 = this.props,
359
+ placement = _this$props11.placement,
360
+ assistiveText = _this$props11.assistiveText,
361
+ styles = _this$props11.styles;
362
362
  const isShowingCalendar = this.shouldShowCalendar();
363
363
  return (0, _jsxRuntime.jsx)(_Selectable.Selectable, {
364
364
  isShowingOptions: isShowingCalendar,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-date-input",
3
- "version": "10.19.2-snapshot-4",
3
+ "version": "10.19.2-snapshot-6",
4
4
  "description": "A UI component library made by Instructure Inc.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,33 +23,33 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-axe-check": "10.19.2-snapshot-4",
27
- "@instructure/ui-babel-preset": "10.19.2-snapshot-4",
28
- "@instructure/ui-buttons": "10.19.2-snapshot-4",
29
- "@instructure/ui-scripts": "10.19.2-snapshot-4",
30
- "@instructure/ui-test-utils": "10.19.2-snapshot-4",
26
+ "@instructure/ui-axe-check": "10.19.2-snapshot-6",
27
+ "@instructure/ui-babel-preset": "10.19.2-snapshot-6",
28
+ "@instructure/ui-buttons": "10.19.2-snapshot-6",
29
+ "@instructure/ui-scripts": "10.19.2-snapshot-6",
30
+ "@instructure/ui-test-utils": "10.19.2-snapshot-6",
31
31
  "@testing-library/jest-dom": "^6.6.3",
32
32
  "@testing-library/react": "^16.0.1",
33
- "@testing-library/user-event": "^14.5.2",
34
- "vitest": "^2.1.8"
33
+ "@testing-library/user-event": "^14.6.1",
34
+ "vitest": "^3.2.2"
35
35
  },
36
36
  "dependencies": {
37
- "@babel/runtime": "^7.26.0",
38
- "@instructure/emotion": "10.19.2-snapshot-4",
39
- "@instructure/shared-types": "10.19.2-snapshot-4",
40
- "@instructure/ui-calendar": "10.19.2-snapshot-4",
41
- "@instructure/ui-form-field": "10.19.2-snapshot-4",
42
- "@instructure/ui-i18n": "10.19.2-snapshot-4",
43
- "@instructure/ui-icons": "10.19.2-snapshot-4",
44
- "@instructure/ui-popover": "10.19.2-snapshot-4",
45
- "@instructure/ui-position": "10.19.2-snapshot-4",
46
- "@instructure/ui-prop-types": "10.19.2-snapshot-4",
47
- "@instructure/ui-react-utils": "10.19.2-snapshot-4",
48
- "@instructure/ui-selectable": "10.19.2-snapshot-4",
49
- "@instructure/ui-testable": "10.19.2-snapshot-4",
50
- "@instructure/ui-text-input": "10.19.2-snapshot-4",
51
- "@instructure/ui-utils": "10.19.2-snapshot-4",
52
- "moment-timezone": "^0.5.45",
37
+ "@babel/runtime": "^7.27.6",
38
+ "@instructure/emotion": "10.19.2-snapshot-6",
39
+ "@instructure/shared-types": "10.19.2-snapshot-6",
40
+ "@instructure/ui-calendar": "10.19.2-snapshot-6",
41
+ "@instructure/ui-form-field": "10.19.2-snapshot-6",
42
+ "@instructure/ui-i18n": "10.19.2-snapshot-6",
43
+ "@instructure/ui-icons": "10.19.2-snapshot-6",
44
+ "@instructure/ui-popover": "10.19.2-snapshot-6",
45
+ "@instructure/ui-position": "10.19.2-snapshot-6",
46
+ "@instructure/ui-prop-types": "10.19.2-snapshot-6",
47
+ "@instructure/ui-react-utils": "10.19.2-snapshot-6",
48
+ "@instructure/ui-selectable": "10.19.2-snapshot-6",
49
+ "@instructure/ui-testable": "10.19.2-snapshot-6",
50
+ "@instructure/ui-text-input": "10.19.2-snapshot-6",
51
+ "@instructure/ui-utils": "10.19.2-snapshot-6",
52
+ "moment-timezone": "^0.6.0",
53
53
  "prop-types": "^15.8.1"
54
54
  },
55
55
  "peerDependencies": {