@instructure/ui-text-input 9.0.2-snapshot-2 → 9.0.2-snapshot-4

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,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-2](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-2) (2024-05-28)
6
+ ## [9.0.2-snapshot-4](https://github.com/instructure/instructure-ui/compare/v9.0.1...v9.0.2-snapshot-4) (2024-06-05)
7
7
 
8
8
  **Note:** Version bump only for package @instructure/ui-text-input
9
9
 
@@ -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, _class2;
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 = (_class2 = class TextInput extends Component {
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
- }, _class2.displayName = "TextInput", _class2.componentId = 'TextInput', _class2.allowedProps = allowedProps, _class2.propTypes = propTypes, _class2.defaultProps = {
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
- }, _class2)) || _class) || _class) || _class);
292
+ }, _TextInput)) || _class) || _class) || _class);
293
293
  export default TextInput;
294
294
  export { TextInput };
@@ -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, _class2;
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 = (_class2 = class TextInput extends _react.Component {
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
- }, _class2.displayName = "TextInput", _class2.componentId = 'TextInput', _class2.allowedProps = _props.allowedProps, _class2.propTypes = _props.propTypes, _class2.defaultProps = {
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
- }, _class2)) || _class) || _class) || _class);
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-2",
3
+ "version": "9.0.2-snapshot-4",
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-2",
27
- "@instructure/ui-badge": "9.0.2-snapshot-2",
28
- "@instructure/ui-color-utils": "9.0.2-snapshot-2",
29
- "@instructure/ui-test-utils": "9.0.2-snapshot-2",
30
- "@instructure/ui-themes": "9.0.2-snapshot-2",
31
- "react-dom": "^18.2.0"
26
+ "@instructure/ui-babel-preset": "9.0.2-snapshot-4",
27
+ "@instructure/ui-badge": "9.0.2-snapshot-4",
28
+ "@instructure/ui-color-utils": "9.0.2-snapshot-4",
29
+ "@instructure/ui-test-utils": "9.0.2-snapshot-4",
30
+ "@instructure/ui-themes": "9.0.2-snapshot-4",
31
+ "react-dom": "^18.3.1"
32
32
  },
33
33
  "dependencies": {
34
- "@babel/runtime": "^7.23.2",
35
- "@instructure/emotion": "9.0.2-snapshot-2",
36
- "@instructure/shared-types": "9.0.2-snapshot-2",
37
- "@instructure/ui-dom-utils": "9.0.2-snapshot-2",
38
- "@instructure/ui-form-field": "9.0.2-snapshot-2",
39
- "@instructure/ui-icons": "9.0.2-snapshot-2",
40
- "@instructure/ui-prop-types": "9.0.2-snapshot-2",
41
- "@instructure/ui-react-utils": "9.0.2-snapshot-2",
42
- "@instructure/ui-tag": "9.0.2-snapshot-2",
43
- "@instructure/ui-testable": "9.0.2-snapshot-2",
34
+ "@babel/runtime": "^7.24.5",
35
+ "@instructure/emotion": "9.0.2-snapshot-4",
36
+ "@instructure/shared-types": "9.0.2-snapshot-4",
37
+ "@instructure/ui-dom-utils": "9.0.2-snapshot-4",
38
+ "@instructure/ui-form-field": "9.0.2-snapshot-4",
39
+ "@instructure/ui-icons": "9.0.2-snapshot-4",
40
+ "@instructure/ui-prop-types": "9.0.2-snapshot-4",
41
+ "@instructure/ui-react-utils": "9.0.2-snapshot-4",
42
+ "@instructure/ui-tag": "9.0.2-snapshot-4",
43
+ "@instructure/ui-testable": "9.0.2-snapshot-4",
44
44
  "prop-types": "^15.8.1"
45
45
  },
46
46
  "peerDependencies": {