@instructure/ui-text-input 9.0.2-snapshot-2 → 9.0.2-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 +1 -1
- package/es/TextInput/index.js +6 -6
- package/lib/TextInput/index.js +6 -6
- package/package.json +17 -17
- package/tsconfig.build.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
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
|
-
## [9.0.2-snapshot-
|
|
6
|
+
## [9.0.2-snapshot-3](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-3) (2024-05-28)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-text-input
|
|
9
9
|
|
package/es/TextInput/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
2
2
|
const _excluded = ["type", "size", "htmlSize", "display", "textAlign", "placeholder", "value", "defaultValue", "isRequired", "onFocus"];
|
|
3
|
-
var _dec, _dec2, _dec3, _class,
|
|
3
|
+
var _dec, _dec2, _dec3, _class, _TextInput;
|
|
4
4
|
/*
|
|
5
5
|
* The MIT License (MIT)
|
|
6
6
|
*
|
|
@@ -42,7 +42,7 @@ category: components
|
|
|
42
42
|
tags: form, field
|
|
43
43
|
---
|
|
44
44
|
**/
|
|
45
|
-
let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
45
|
+
let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec3 = testable(), _dec(_class = _dec2(_class = _dec3(_class = (_TextInput = class TextInput extends Component {
|
|
46
46
|
constructor(props) {
|
|
47
47
|
super(props);
|
|
48
48
|
this.ref = null;
|
|
@@ -276,10 +276,10 @@ let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
276
276
|
ref: e => {
|
|
277
277
|
this._afterElement = e;
|
|
278
278
|
}
|
|
279
|
-
}, afterElement))))) : /* If no prepended or appended content, don't render Flex layout */
|
|
280
|
-
this.renderInput()));
|
|
279
|
+
}, afterElement))))) : ( /* If no prepended or appended content, don't render Flex layout */
|
|
280
|
+
this.renderInput())));
|
|
281
281
|
}
|
|
282
|
-
},
|
|
282
|
+
}, _TextInput.displayName = "TextInput", _TextInput.componentId = 'TextInput', _TextInput.allowedProps = allowedProps, _TextInput.propTypes = propTypes, _TextInput.defaultProps = {
|
|
283
283
|
type: 'text',
|
|
284
284
|
// Leave interaction default undefined so that `disabled` and `readOnly` can also be supplied
|
|
285
285
|
interaction: void 0,
|
|
@@ -289,6 +289,6 @@ let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle,
|
|
|
289
289
|
size: 'medium',
|
|
290
290
|
textAlign: 'start',
|
|
291
291
|
messages: []
|
|
292
|
-
},
|
|
292
|
+
}, _TextInput)) || _class) || _class) || _class);
|
|
293
293
|
export default TextInput;
|
|
294
294
|
export { TextInput };
|
package/lib/TextInput/index.js
CHANGED
|
@@ -21,7 +21,7 @@ var _styles = _interopRequireDefault(require("./styles"));
|
|
|
21
21
|
var _theme = _interopRequireDefault(require("./theme"));
|
|
22
22
|
var _props = require("./props");
|
|
23
23
|
const _excluded = ["type", "size", "htmlSize", "display", "textAlign", "placeholder", "value", "defaultValue", "isRequired", "onFocus"];
|
|
24
|
-
var _dec, _dec2, _dec3, _class,
|
|
24
|
+
var _dec, _dec2, _dec3, _class, _TextInput;
|
|
25
25
|
/*
|
|
26
26
|
* The MIT License (MIT)
|
|
27
27
|
*
|
|
@@ -52,7 +52,7 @@ category: components
|
|
|
52
52
|
tags: form, field
|
|
53
53
|
---
|
|
54
54
|
**/
|
|
55
|
-
let TextInput = exports.TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (
|
|
55
|
+
let TextInput = exports.TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec3 = (0, _testable.testable)(), _dec(_class = _dec2(_class = _dec3(_class = (_TextInput = class TextInput extends _react.Component {
|
|
56
56
|
constructor(props) {
|
|
57
57
|
super(props);
|
|
58
58
|
this.ref = null;
|
|
@@ -286,10 +286,10 @@ let TextInput = exports.TextInput = (_dec = (0, _withDeterministicId.withDetermi
|
|
|
286
286
|
ref: e => {
|
|
287
287
|
this._afterElement = e;
|
|
288
288
|
}
|
|
289
|
-
}, afterElement))))) : /* If no prepended or appended content, don't render Flex layout */
|
|
290
|
-
this.renderInput()));
|
|
289
|
+
}, afterElement))))) : ( /* If no prepended or appended content, don't render Flex layout */
|
|
290
|
+
this.renderInput())));
|
|
291
291
|
}
|
|
292
|
-
},
|
|
292
|
+
}, _TextInput.displayName = "TextInput", _TextInput.componentId = 'TextInput', _TextInput.allowedProps = _props.allowedProps, _TextInput.propTypes = _props.propTypes, _TextInput.defaultProps = {
|
|
293
293
|
type: 'text',
|
|
294
294
|
// Leave interaction default undefined so that `disabled` and `readOnly` can also be supplied
|
|
295
295
|
interaction: void 0,
|
|
@@ -299,5 +299,5 @@ let TextInput = exports.TextInput = (_dec = (0, _withDeterministicId.withDetermi
|
|
|
299
299
|
size: 'medium',
|
|
300
300
|
textAlign: 'start',
|
|
301
301
|
messages: []
|
|
302
|
-
},
|
|
302
|
+
}, _TextInput)) || _class) || _class) || _class);
|
|
303
303
|
var _default = exports.default = TextInput;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-text-input",
|
|
3
|
-
"version": "9.0.2-snapshot-
|
|
3
|
+
"version": "9.0.2-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,24 +23,24 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@instructure/ui-babel-preset": "9.0.2-snapshot-
|
|
27
|
-
"@instructure/ui-badge": "9.0.2-snapshot-
|
|
28
|
-
"@instructure/ui-color-utils": "9.0.2-snapshot-
|
|
29
|
-
"@instructure/ui-test-utils": "9.0.2-snapshot-
|
|
30
|
-
"@instructure/ui-themes": "9.0.2-snapshot-
|
|
31
|
-
"react-dom": "^18.
|
|
26
|
+
"@instructure/ui-babel-preset": "9.0.2-snapshot-3",
|
|
27
|
+
"@instructure/ui-badge": "9.0.2-snapshot-3",
|
|
28
|
+
"@instructure/ui-color-utils": "9.0.2-snapshot-3",
|
|
29
|
+
"@instructure/ui-test-utils": "9.0.2-snapshot-3",
|
|
30
|
+
"@instructure/ui-themes": "9.0.2-snapshot-3",
|
|
31
|
+
"react-dom": "^18.3.1"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@babel/runtime": "^7.
|
|
35
|
-
"@instructure/emotion": "9.0.2-snapshot-
|
|
36
|
-
"@instructure/shared-types": "9.0.2-snapshot-
|
|
37
|
-
"@instructure/ui-dom-utils": "9.0.2-snapshot-
|
|
38
|
-
"@instructure/ui-form-field": "9.0.2-snapshot-
|
|
39
|
-
"@instructure/ui-icons": "9.0.2-snapshot-
|
|
40
|
-
"@instructure/ui-prop-types": "9.0.2-snapshot-
|
|
41
|
-
"@instructure/ui-react-utils": "9.0.2-snapshot-
|
|
42
|
-
"@instructure/ui-tag": "9.0.2-snapshot-
|
|
43
|
-
"@instructure/ui-testable": "9.0.2-snapshot-
|
|
34
|
+
"@babel/runtime": "^7.24.5",
|
|
35
|
+
"@instructure/emotion": "9.0.2-snapshot-3",
|
|
36
|
+
"@instructure/shared-types": "9.0.2-snapshot-3",
|
|
37
|
+
"@instructure/ui-dom-utils": "9.0.2-snapshot-3",
|
|
38
|
+
"@instructure/ui-form-field": "9.0.2-snapshot-3",
|
|
39
|
+
"@instructure/ui-icons": "9.0.2-snapshot-3",
|
|
40
|
+
"@instructure/ui-prop-types": "9.0.2-snapshot-3",
|
|
41
|
+
"@instructure/ui-react-utils": "9.0.2-snapshot-3",
|
|
42
|
+
"@instructure/ui-tag": "9.0.2-snapshot-3",
|
|
43
|
+
"@instructure/ui-testable": "9.0.2-snapshot-3",
|
|
44
44
|
"prop-types": "^15.8.1"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|