@instructure/ui-date-time-input 8.26.2 → 8.26.4-snapshot-3

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,6 +3,23 @@
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
+ ## [8.26.4-snapshot-3](https://github.com/instructure/instructure-ui/compare/v8.26.3...v8.26.4-snapshot-3) (2022-07-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * support React 18 ([0a2bf0c](https://github.com/instructure/instructure-ui/commit/0a2bf0cdd4d8bcec6e42a7ccf28a787e4a35bc40))
12
+
13
+
14
+
15
+
16
+
17
+ ## [8.26.3](https://github.com/instructure/instructure-ui/compare/v8.26.2...v8.26.3) (2022-07-14)
18
+
19
+ ### Bug Fixes
20
+
21
+ - **ui-color-picker,ui-date-input,ui-date-time-input,ui-select,ui-simple-select,ui-text-input,ui-time-select:** before/after elements should inherit input color ([7daf257](https://github.com/instructure/instructure-ui/commit/7daf257a8ee491f84de2f00a56becd22636891e3))
22
+
6
23
  ## [8.26.2](https://github.com/instructure/instructure-ui/compare/v8.26.1...v8.26.2) (2022-07-11)
7
24
 
8
25
  **Note:** Version bump only for package @instructure/ui-date-time-input
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-date-time-input",
3
- "version": "8.26.2",
3
+ "version": "8.26.4-snapshot-3",
4
4
  "description": "A UI component that allows to select date and time.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,30 +23,30 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.26.2",
27
- "@instructure/ui-test-locator": "8.26.2",
28
- "@instructure/ui-test-utils": "8.26.2"
26
+ "@instructure/ui-babel-preset": "8.26.4-snapshot-3",
27
+ "@instructure/ui-test-locator": "8.26.4-snapshot-3",
28
+ "@instructure/ui-test-utils": "8.26.4-snapshot-3"
29
29
  },
30
30
  "dependencies": {
31
31
  "@babel/runtime": "^7.13.10",
32
- "@instructure/debounce": "8.26.2",
33
- "@instructure/emotion": "8.26.2",
34
- "@instructure/ui-a11y-content": "8.26.2",
35
- "@instructure/ui-buttons": "8.26.2",
36
- "@instructure/ui-calendar": "8.26.2",
37
- "@instructure/ui-date-input": "8.26.2",
38
- "@instructure/ui-form-field": "8.26.2",
39
- "@instructure/ui-i18n": "8.26.2",
40
- "@instructure/ui-icons": "8.26.2",
41
- "@instructure/ui-prop-types": "8.26.2",
42
- "@instructure/ui-react-utils": "8.26.2",
43
- "@instructure/ui-testable": "8.26.2",
44
- "@instructure/ui-time-select": "8.26.2",
45
- "@instructure/ui-utils": "8.26.2",
32
+ "@instructure/debounce": "8.26.4-snapshot-3",
33
+ "@instructure/emotion": "8.26.4-snapshot-3",
34
+ "@instructure/ui-a11y-content": "8.26.4-snapshot-3",
35
+ "@instructure/ui-buttons": "8.26.4-snapshot-3",
36
+ "@instructure/ui-calendar": "8.26.4-snapshot-3",
37
+ "@instructure/ui-date-input": "8.26.4-snapshot-3",
38
+ "@instructure/ui-form-field": "8.26.4-snapshot-3",
39
+ "@instructure/ui-i18n": "8.26.4-snapshot-3",
40
+ "@instructure/ui-icons": "8.26.4-snapshot-3",
41
+ "@instructure/ui-prop-types": "8.26.4-snapshot-3",
42
+ "@instructure/ui-react-utils": "8.26.4-snapshot-3",
43
+ "@instructure/ui-testable": "8.26.4-snapshot-3",
44
+ "@instructure/ui-time-select": "8.26.4-snapshot-3",
45
+ "@instructure/ui-utils": "8.26.4-snapshot-3",
46
46
  "prop-types": "^15"
47
47
  },
48
48
  "peerDependencies": {
49
- "react": ">=16.8 <=17"
49
+ "react": ">=16.8 <=18"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"
@@ -30,7 +30,7 @@ import { I18nPropTypes } from '@instructure/ui-i18n'
30
30
  import type { Moment } from '@instructure/ui-i18n'
31
31
  import PropTypes from 'prop-types'
32
32
  import { controllable } from '@instructure/ui-prop-types'
33
- import type { PropValidators } from '@instructure/shared-types'
33
+ import type { PropValidators, Renderable } from '@instructure/shared-types'
34
34
 
35
35
  type DateTimeInputProps = {
36
36
  /**
@@ -40,7 +40,7 @@ type DateTimeInputProps = {
40
40
  /**
41
41
  * The label over the DateInput
42
42
  **/
43
- dateRenderLabel: React.ReactNode | ((...args: any[]) => React.ReactNode)
43
+ dateRenderLabel: Renderable
44
44
  /**
45
45
  * The screen reader label for the calendar navigation header's prev month
46
46
  * button
@@ -69,7 +69,7 @@ type DateTimeInputProps = {
69
69
  /**
70
70
  * The label over the time input
71
71
  **/
72
- timeRenderLabel: React.ReactNode | (() => React.ReactNode)
72
+ timeRenderLabel: Renderable
73
73
  /**
74
74
  * The number of minutes to increment by when generating the allowable time options.
75
75
  */