@instructure/ui-text-input 8.26.3 → 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,17 @@
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
+
6
17
  ## [8.26.3](https://github.com/instructure/instructure-ui/compare/v8.26.2...v8.26.3) (2022-07-14)
7
18
 
8
19
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-text-input",
3
- "version": "8.26.3",
3
+ "version": "8.26.4-snapshot-3",
4
4
  "description": "A styled HTML text input component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -23,27 +23,27 @@
23
23
  },
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@instructure/ui-babel-preset": "8.26.3",
27
- "@instructure/ui-badge": "8.26.3",
28
- "@instructure/ui-color-utils": "8.26.3",
29
- "@instructure/ui-test-utils": "8.26.3",
30
- "@instructure/ui-themes": "8.26.3"
26
+ "@instructure/ui-babel-preset": "8.26.4-snapshot-3",
27
+ "@instructure/ui-badge": "8.26.4-snapshot-3",
28
+ "@instructure/ui-color-utils": "8.26.4-snapshot-3",
29
+ "@instructure/ui-test-utils": "8.26.4-snapshot-3",
30
+ "@instructure/ui-themes": "8.26.4-snapshot-3"
31
31
  },
32
32
  "dependencies": {
33
33
  "@babel/runtime": "^7.13.10",
34
- "@instructure/emotion": "8.26.3",
35
- "@instructure/shared-types": "8.26.3",
36
- "@instructure/ui-dom-utils": "8.26.3",
37
- "@instructure/ui-form-field": "8.26.3",
38
- "@instructure/ui-icons": "8.26.3",
39
- "@instructure/ui-prop-types": "8.26.3",
40
- "@instructure/ui-react-utils": "8.26.3",
41
- "@instructure/ui-tag": "8.26.3",
42
- "@instructure/ui-testable": "8.26.3",
34
+ "@instructure/emotion": "8.26.4-snapshot-3",
35
+ "@instructure/shared-types": "8.26.4-snapshot-3",
36
+ "@instructure/ui-dom-utils": "8.26.4-snapshot-3",
37
+ "@instructure/ui-form-field": "8.26.4-snapshot-3",
38
+ "@instructure/ui-icons": "8.26.4-snapshot-3",
39
+ "@instructure/ui-prop-types": "8.26.4-snapshot-3",
40
+ "@instructure/ui-react-utils": "8.26.4-snapshot-3",
41
+ "@instructure/ui-tag": "8.26.4-snapshot-3",
42
+ "@instructure/ui-testable": "8.26.4-snapshot-3",
43
43
  "prop-types": "^15"
44
44
  },
45
45
  "peerDependencies": {
46
- "react": ">=16.8 <=17"
46
+ "react": ">=16.8 <=18"
47
47
  },
48
48
  "publishConfig": {
49
49
  "access": "public"
@@ -28,7 +28,6 @@ import PropTypes from 'prop-types'
28
28
  import { FormPropTypes } from '@instructure/ui-form-field'
29
29
  import { controllable } from '@instructure/ui-prop-types'
30
30
 
31
- import type { InteractionType } from '@instructure/ui-react-utils'
32
31
  import type { FormFieldProps, FormMessage } from '@instructure/ui-form-field'
33
32
  import type {
34
33
  OtherHTMLAttributes,
@@ -36,13 +35,17 @@ import type {
36
35
  TextInputTheme
37
36
  } from '@instructure/shared-types'
38
37
  import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
39
- import type { WithDeterministicIdProps } from '@instructure/ui-react-utils'
38
+ import type {
39
+ InteractionType,
40
+ WithDeterministicIdProps
41
+ } from '@instructure/ui-react-utils'
42
+ import { Renderable } from '@instructure/shared-types'
40
43
 
41
44
  type TextInputOwnProps = {
42
45
  /**
43
46
  * The form field label.
44
47
  */
45
- renderLabel?: React.ReactNode | (() => React.ReactNode)
48
+ renderLabel?: Renderable
46
49
 
47
50
  /**
48
51
  * Determines the underlying native HTML `<input>` element's `type`.
@@ -146,12 +149,12 @@ type TextInputOwnProps = {
146
149
  /**
147
150
  * Content to display before the input text, such as an icon
148
151
  */
149
- renderBeforeInput?: React.ReactNode | (() => React.ReactNode)
152
+ renderBeforeInput?: Renderable
150
153
 
151
154
  /**
152
155
  * Content to display after the input text, such as an icon
153
156
  */
154
- renderAfterInput?: React.ReactNode | (() => React.ReactNode)
157
+ renderAfterInput?: Renderable
155
158
 
156
159
  /**
157
160
  * Callback executed when the input fires a change event.