@instructure/ui-text-input 8.26.3 → 8.26.4-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,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-6](https://github.com/instructure/instructure-ui/compare/v8.26.3...v8.26.4-snapshot-6) (2022-07-21)
|
|
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
|
+
"version": "8.26.4-snapshot-6",
|
|
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.
|
|
27
|
-
"@instructure/ui-badge": "8.26.
|
|
28
|
-
"@instructure/ui-color-utils": "8.26.
|
|
29
|
-
"@instructure/ui-test-utils": "8.26.
|
|
30
|
-
"@instructure/ui-themes": "8.26.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.26.4-snapshot-6",
|
|
27
|
+
"@instructure/ui-badge": "8.26.4-snapshot-6",
|
|
28
|
+
"@instructure/ui-color-utils": "8.26.4-snapshot-6",
|
|
29
|
+
"@instructure/ui-test-utils": "8.26.4-snapshot-6",
|
|
30
|
+
"@instructure/ui-themes": "8.26.4-snapshot-6"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.13.10",
|
|
34
|
-
"@instructure/emotion": "8.26.
|
|
35
|
-
"@instructure/shared-types": "8.26.
|
|
36
|
-
"@instructure/ui-dom-utils": "8.26.
|
|
37
|
-
"@instructure/ui-form-field": "8.26.
|
|
38
|
-
"@instructure/ui-icons": "8.26.
|
|
39
|
-
"@instructure/ui-prop-types": "8.26.
|
|
40
|
-
"@instructure/ui-react-utils": "8.26.
|
|
41
|
-
"@instructure/ui-tag": "8.26.
|
|
42
|
-
"@instructure/ui-testable": "8.26.
|
|
34
|
+
"@instructure/emotion": "8.26.4-snapshot-6",
|
|
35
|
+
"@instructure/shared-types": "8.26.4-snapshot-6",
|
|
36
|
+
"@instructure/ui-dom-utils": "8.26.4-snapshot-6",
|
|
37
|
+
"@instructure/ui-form-field": "8.26.4-snapshot-6",
|
|
38
|
+
"@instructure/ui-icons": "8.26.4-snapshot-6",
|
|
39
|
+
"@instructure/ui-prop-types": "8.26.4-snapshot-6",
|
|
40
|
+
"@instructure/ui-react-utils": "8.26.4-snapshot-6",
|
|
41
|
+
"@instructure/ui-tag": "8.26.4-snapshot-6",
|
|
42
|
+
"@instructure/ui-testable": "8.26.4-snapshot-6",
|
|
43
43
|
"prop-types": "^15"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|
|
46
|
-
"react": ">=16.8 <=
|
|
46
|
+
"react": ">=16.8 <=18"
|
|
47
47
|
},
|
|
48
48
|
"publishConfig": {
|
|
49
49
|
"access": "public"
|
package/src/TextInput/props.ts
CHANGED
|
@@ -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 {
|
|
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?:
|
|
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?:
|
|
152
|
+
renderBeforeInput?: Renderable
|
|
150
153
|
|
|
151
154
|
/**
|
|
152
155
|
* Content to display after the input text, such as an icon
|
|
153
156
|
*/
|
|
154
|
-
renderAfterInput?:
|
|
157
|
+
renderAfterInput?: Renderable
|
|
155
158
|
|
|
156
159
|
/**
|
|
157
160
|
* Callback executed when the input fires a change event.
|