@instructure/ui-text-input 10.2.3-snapshot-11 → 10.2.3-snapshot-13
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.2.3-snapshot-
|
|
6
|
+
## [10.2.3-snapshot-13](https://github.com/instructure/instructure-ui/compare/v10.2.2...v10.2.3-snapshot-13) (2024-10-02)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui-text-input:** icon in SimpleSelect is vertically centered ([13790d1](https://github.com/instructure/instructure-ui/commit/13790d14ac6eb6135d7ae22b2a29f542ddf95333))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
package/es/TextInput/styles.js
CHANGED
|
@@ -170,6 +170,8 @@ const generateStyle = (componentTheme, props, state) => {
|
|
|
170
170
|
})
|
|
171
171
|
},
|
|
172
172
|
beforeElement: {
|
|
173
|
+
display: 'inline-flex',
|
|
174
|
+
alignItems: 'center',
|
|
173
175
|
label: 'textInput__beforeElement',
|
|
174
176
|
...flexItemBase,
|
|
175
177
|
paddingInlineStart: componentTheme.padding,
|
package/lib/TextInput/styles.js
CHANGED
|
@@ -176,6 +176,8 @@ const generateStyle = (componentTheme, props, state) => {
|
|
|
176
176
|
})
|
|
177
177
|
},
|
|
178
178
|
beforeElement: {
|
|
179
|
+
display: 'inline-flex',
|
|
180
|
+
alignItems: 'center',
|
|
179
181
|
label: 'textInput__beforeElement',
|
|
180
182
|
...flexItemBase,
|
|
181
183
|
paddingInlineStart: componentTheme.padding,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-text-input",
|
|
3
|
-
"version": "10.2.3-snapshot-
|
|
3
|
+
"version": "10.2.3-snapshot-13",
|
|
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,12 +23,12 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-axe-check": "10.2.3-snapshot-
|
|
27
|
-
"@instructure/ui-babel-preset": "10.2.3-snapshot-
|
|
28
|
-
"@instructure/ui-badge": "10.2.3-snapshot-
|
|
29
|
-
"@instructure/ui-color-utils": "10.2.3-snapshot-
|
|
30
|
-
"@instructure/ui-test-utils": "10.2.3-snapshot-
|
|
31
|
-
"@instructure/ui-themes": "10.2.3-snapshot-
|
|
26
|
+
"@instructure/ui-axe-check": "10.2.3-snapshot-13",
|
|
27
|
+
"@instructure/ui-babel-preset": "10.2.3-snapshot-13",
|
|
28
|
+
"@instructure/ui-badge": "10.2.3-snapshot-13",
|
|
29
|
+
"@instructure/ui-color-utils": "10.2.3-snapshot-13",
|
|
30
|
+
"@instructure/ui-test-utils": "10.2.3-snapshot-13",
|
|
31
|
+
"@instructure/ui-themes": "10.2.3-snapshot-13",
|
|
32
32
|
"@testing-library/jest-dom": "^6.4.6",
|
|
33
33
|
"@testing-library/react": "^15.0.7",
|
|
34
34
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@babel/runtime": "^7.24.5",
|
|
39
|
-
"@instructure/emotion": "10.2.3-snapshot-
|
|
40
|
-
"@instructure/shared-types": "10.2.3-snapshot-
|
|
41
|
-
"@instructure/ui-dom-utils": "10.2.3-snapshot-
|
|
42
|
-
"@instructure/ui-form-field": "10.2.3-snapshot-
|
|
43
|
-
"@instructure/ui-icons": "10.2.3-snapshot-
|
|
44
|
-
"@instructure/ui-prop-types": "10.2.3-snapshot-
|
|
45
|
-
"@instructure/ui-react-utils": "10.2.3-snapshot-
|
|
46
|
-
"@instructure/ui-tag": "10.2.3-snapshot-
|
|
47
|
-
"@instructure/ui-testable": "10.2.3-snapshot-
|
|
39
|
+
"@instructure/emotion": "10.2.3-snapshot-13",
|
|
40
|
+
"@instructure/shared-types": "10.2.3-snapshot-13",
|
|
41
|
+
"@instructure/ui-dom-utils": "10.2.3-snapshot-13",
|
|
42
|
+
"@instructure/ui-form-field": "10.2.3-snapshot-13",
|
|
43
|
+
"@instructure/ui-icons": "10.2.3-snapshot-13",
|
|
44
|
+
"@instructure/ui-prop-types": "10.2.3-snapshot-13",
|
|
45
|
+
"@instructure/ui-react-utils": "10.2.3-snapshot-13",
|
|
46
|
+
"@instructure/ui-tag": "10.2.3-snapshot-13",
|
|
47
|
+
"@instructure/ui-testable": "10.2.3-snapshot-13",
|
|
48
48
|
"prop-types": "^15.8.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
package/src/TextInput/styles.ts
CHANGED
|
@@ -199,6 +199,8 @@ const generateStyle = (
|
|
|
199
199
|
...(!shouldNotWrap && { flexWrap: 'wrap' })
|
|
200
200
|
},
|
|
201
201
|
beforeElement: {
|
|
202
|
+
display: 'inline-flex',
|
|
203
|
+
alignItems: 'center',
|
|
202
204
|
label: 'textInput__beforeElement',
|
|
203
205
|
...flexItemBase,
|
|
204
206
|
paddingInlineStart: componentTheme.padding,
|