@instructure/ui-text-input 8.38.2-snapshot-7 → 8.39.0
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
|
-
|
|
6
|
+
# [8.39.0](https://github.com/instructure/instructure-ui/compare/v8.38.1...v8.39.0) (2023-07-21)
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **ui-text-input:** fix textInput, where onFocus fires twice. ([eefd8ce](https://github.com/instructure/instructure-ui/commit/eefd8cef47ec4e9a3d279cc1658636f78e709dc9))
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
package/es/TextInput/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
|
-
const _excluded = ["type", "size", "htmlSize", "display", "textAlign", "placeholder", "value", "defaultValue", "isRequired"];
|
|
2
|
+
const _excluded = ["type", "size", "htmlSize", "display", "textAlign", "placeholder", "value", "defaultValue", "isRequired", "onFocus"];
|
|
3
3
|
var _dec, _dec2, _dec3, _class, _class2;
|
|
4
4
|
/*
|
|
5
5
|
* The MIT License (MIT)
|
|
@@ -187,6 +187,7 @@ let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
187
187
|
value = _this$props3.value,
|
|
188
188
|
defaultValue = _this$props3.defaultValue,
|
|
189
189
|
isRequired = _this$props3.isRequired,
|
|
190
|
+
onFocus = _this$props3.onFocus,
|
|
190
191
|
rest = _objectWithoutProperties(_this$props3, _excluded);
|
|
191
192
|
const props = passthroughProps(rest);
|
|
192
193
|
const interaction = this.interaction;
|
package/lib/TextInput/index.js
CHANGED
|
@@ -20,7 +20,7 @@ var _emotion = require("@instructure/emotion");
|
|
|
20
20
|
var _styles = _interopRequireDefault(require("./styles"));
|
|
21
21
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
22
22
|
var _props = require("./props");
|
|
23
|
-
const _excluded = ["type", "size", "htmlSize", "display", "textAlign", "placeholder", "value", "defaultValue", "isRequired"];
|
|
23
|
+
const _excluded = ["type", "size", "htmlSize", "display", "textAlign", "placeholder", "value", "defaultValue", "isRequired", "onFocus"];
|
|
24
24
|
var _dec, _dec2, _dec3, _class, _class2;
|
|
25
25
|
/*
|
|
26
26
|
* The MIT License (MIT)
|
|
@@ -197,6 +197,7 @@ let TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 =
|
|
|
197
197
|
value = _this$props3.value,
|
|
198
198
|
defaultValue = _this$props3.defaultValue,
|
|
199
199
|
isRequired = _this$props3.isRequired,
|
|
200
|
+
onFocus = _this$props3.onFocus,
|
|
200
201
|
rest = (0, _objectWithoutProperties2.default)(_this$props3, _excluded);
|
|
201
202
|
const props = (0, _passthroughProps.passthroughProps)(rest);
|
|
202
203
|
const interaction = this.interaction;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-text-input",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.39.0",
|
|
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,23 +23,23 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "8.
|
|
27
|
-
"@instructure/ui-badge": "8.
|
|
28
|
-
"@instructure/ui-color-utils": "8.
|
|
29
|
-
"@instructure/ui-test-utils": "8.
|
|
30
|
-
"@instructure/ui-themes": "8.
|
|
26
|
+
"@instructure/ui-babel-preset": "8.39.0",
|
|
27
|
+
"@instructure/ui-badge": "8.39.0",
|
|
28
|
+
"@instructure/ui-color-utils": "8.39.0",
|
|
29
|
+
"@instructure/ui-test-utils": "8.39.0",
|
|
30
|
+
"@instructure/ui-themes": "8.39.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@babel/runtime": "^7.22.6",
|
|
34
|
-
"@instructure/emotion": "8.
|
|
35
|
-
"@instructure/shared-types": "8.
|
|
36
|
-
"@instructure/ui-dom-utils": "8.
|
|
37
|
-
"@instructure/ui-form-field": "8.
|
|
38
|
-
"@instructure/ui-icons": "8.
|
|
39
|
-
"@instructure/ui-prop-types": "8.
|
|
40
|
-
"@instructure/ui-react-utils": "8.
|
|
41
|
-
"@instructure/ui-tag": "8.
|
|
42
|
-
"@instructure/ui-testable": "8.
|
|
34
|
+
"@instructure/emotion": "8.39.0",
|
|
35
|
+
"@instructure/shared-types": "8.39.0",
|
|
36
|
+
"@instructure/ui-dom-utils": "8.39.0",
|
|
37
|
+
"@instructure/ui-form-field": "8.39.0",
|
|
38
|
+
"@instructure/ui-icons": "8.39.0",
|
|
39
|
+
"@instructure/ui-prop-types": "8.39.0",
|
|
40
|
+
"@instructure/ui-react-utils": "8.39.0",
|
|
41
|
+
"@instructure/ui-tag": "8.39.0",
|
|
42
|
+
"@instructure/ui-testable": "8.39.0",
|
|
43
43
|
"prop-types": "^15.8.1"
|
|
44
44
|
},
|
|
45
45
|
"peerDependencies": {
|