@instructure/ui-text-input 11.7.4-snapshot-14 → 11.7.4-snapshot-50

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
- ## [11.7.4-snapshot-14](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-14) (2026-05-20)
6
+ ## [11.7.4-snapshot-50](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-50) (2026-06-18)
7
7
 
8
- **Note:** Version bump only for package @instructure/ui-text-input
8
+
9
+ ### Bug Fixes
10
+
11
+ * **ui-text-input:** restore inline cursor flow next to selected tags ([3dd1736](https://github.com/instructure/instructure-ui/commit/3dd1736173ff089970bbbd175bda81faa02895f7))
9
12
 
10
13
 
11
14
 
package/LICENSE.md CHANGED
@@ -2,6 +2,7 @@
2
2
  title: The MIT License (MIT)
3
3
  category: Getting Started
4
4
  order: 9
5
+ isWIP: true
5
6
  ---
6
7
 
7
8
  # The MIT License (MIT)
@@ -29,9 +29,10 @@ import { isActiveElement, addEventListener, getCSSStyleDeclaration } from '@inst
29
29
  import { FormField } from '@instructure/ui-form-field/v11_6';
30
30
  import { withStyle } from '@instructure/emotion';
31
31
  import { hasVisibleChildren } from '@instructure/ui-a11y-utils';
32
- import generateStyle from "./styles.js";
33
- import generateComponentTheme from "./theme.js";
34
- import { allowedProps } from "./props.js";
32
+ import generateStyle from './styles.js';
33
+ import generateComponentTheme from './theme.js';
34
+ import { allowedProps } from './props.js';
35
+
35
36
  /**
36
37
  ---
37
38
  category: components
@@ -40,7 +41,7 @@ tags: form, field
40
41
  **/
41
42
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
42
43
  let TextInput = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class TextInput extends Component {
43
- static displayName = "TextInput";
44
+ static displayName = 'TextInput';
44
45
  static componentId = 'TextInput';
45
46
  static allowedProps = allowedProps;
46
47
  static defaultProps = {
@@ -28,8 +28,8 @@ import { callRenderProp, getInteraction, passthroughProps, withDeterministicId,
28
28
  import { isActiveElement, addEventListener } from '@instructure/ui-dom-utils';
29
29
  import { FormField } from '@instructure/ui-form-field/latest';
30
30
  import { withStyleNew } from '@instructure/emotion';
31
- import generateStyle from "./styles.js";
32
- import { allowedProps } from "./props.js";
31
+ import generateStyle from './styles.js';
32
+ import { allowedProps } from './props.js';
33
33
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
@@ -38,7 +38,7 @@ tags: form, field, input
38
38
  ---
39
39
  **/
40
40
  let TextInput = (_dec = withDeterministicId(), _dec2 = withStyleNew(generateStyle), _dec(_class = _dec2(_class = class TextInput extends Component {
41
- static displayName = "TextInput";
41
+ static displayName = 'TextInput';
42
42
  static componentId = 'TextInput';
43
43
  static allowedProps = allowedProps;
44
44
  static defaultProps = {
@@ -203,8 +203,10 @@ const generateStyle = (componentTheme, props, sharedTokens, state) => {
203
203
  flexDirection: 'row'
204
204
  },
205
205
  beforeElement: {
206
- ...(interaction === 'disabled' && {
206
+ ...(interaction === 'disabled' ? {
207
207
  opacity: 0.5
208
+ } : {
209
+ display: 'contents'
208
210
  }),
209
211
  label: 'textInput__beforeElement'
210
212
  },
package/es/exports/a.js CHANGED
@@ -21,4 +21,4 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { TextInput } from "../TextInput/v1/index.js";
24
+ export { TextInput } from '../TextInput/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,4 +21,4 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { TextInput } from "../TextInput/v2/index.js";
24
+ export { TextInput } from '../TextInput/v2/index.js';
@@ -16,9 +16,9 @@ var _getCSSStyleDeclaration = require("@instructure/ui-dom-utils/lib/getCSSStyle
16
16
  var _v11_ = require("@instructure/ui-form-field/v11_6");
17
17
  var _emotion = require("@instructure/emotion");
18
18
  var _hasVisibleChildren = require("@instructure/ui-a11y-utils/lib/hasVisibleChildren.js");
19
- var _styles = _interopRequireDefault(require("./styles"));
20
- var _theme = _interopRequireDefault(require("./theme"));
21
- var _props = require("./props");
19
+ var _styles = _interopRequireDefault(require("./styles.js"));
20
+ var _theme = _interopRequireDefault(require("./theme.js"));
21
+ var _props = require("./props.js");
22
22
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
23
23
  var _dec, _dec2, _class;
24
24
  /*
@@ -51,7 +51,7 @@ tags: form, field
51
51
  ---
52
52
  **/
53
53
  let TextInput = exports.TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyle)(_styles.default, _theme.default), _dec(_class = _dec2(_class = class TextInput extends _react.Component {
54
- static displayName = "TextInput";
54
+ static displayName = 'TextInput';
55
55
  static componentId = 'TextInput';
56
56
  static allowedProps = _props.allowedProps;
57
57
  static defaultProps = {
@@ -15,8 +15,8 @@ var _isActiveElement = require("@instructure/ui-dom-utils/lib/isActiveElement.js
15
15
  var _addEventListener = require("@instructure/ui-dom-utils/lib/addEventListener.js");
16
16
  var _latest = require("@instructure/ui-form-field/latest");
17
17
  var _emotion = require("@instructure/emotion");
18
- var _styles = _interopRequireDefault(require("./styles"));
19
- var _props = require("./props");
18
+ var _styles = _interopRequireDefault(require("./styles.js"));
19
+ var _props = require("./props.js");
20
20
  var _jsxRuntime = require("@emotion/react/jsx-runtime");
21
21
  var _dec, _dec2, _class;
22
22
  /*
@@ -49,7 +49,7 @@ tags: form, field, input
49
49
  ---
50
50
  **/
51
51
  let TextInput = exports.TextInput = (_dec = (0, _withDeterministicId.withDeterministicId)(), _dec2 = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = _dec2(_class = class TextInput extends _react.Component {
52
- static displayName = "TextInput";
52
+ static displayName = 'TextInput';
53
53
  static componentId = 'TextInput';
54
54
  static allowedProps = _props.allowedProps;
55
55
  static defaultProps = {
@@ -208,8 +208,10 @@ const generateStyle = (componentTheme, props, sharedTokens, state) => {
208
208
  flexDirection: 'row'
209
209
  },
210
210
  beforeElement: {
211
- ...(interaction === 'disabled' && {
211
+ ...(interaction === 'disabled' ? {
212
212
  opacity: 0.5
213
+ } : {
214
+ display: 'contents'
213
215
  }),
214
216
  label: 'textInput__beforeElement'
215
217
  },
package/lib/exports/a.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "TextInput", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.TextInput;
9
+ return _index.TextInput;
10
10
  }
11
11
  });
12
- var _v = require("../TextInput/v1");
12
+ var _index = require("../TextInput/v1/index.js");
package/lib/exports/b.js CHANGED
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  Object.defineProperty(exports, "TextInput", {
7
7
  enumerable: true,
8
8
  get: function () {
9
- return _v.TextInput;
9
+ return _index.TextInput;
10
10
  }
11
11
  });
12
- var _v = require("../TextInput/v2");
12
+ var _index = require("../TextInput/v2/index.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/ui-text-input",
3
- "version": "11.7.4-snapshot-14",
3
+ "version": "11.7.4-snapshot-50",
4
4
  "description": "A styled HTML text input component.",
5
5
  "author": "Instructure, Inc. Engineering and Product Design",
6
6
  "module": "./es/index.js",
@@ -18,21 +18,21 @@
18
18
  "@testing-library/react": "15.0.7",
19
19
  "@testing-library/user-event": "^14.6.1",
20
20
  "vitest": "^3.2.2",
21
- "@instructure/ui-axe-check": "11.7.4-snapshot-14",
22
- "@instructure/ui-babel-preset": "11.7.4-snapshot-14",
23
- "@instructure/ui-badge": "11.7.4-snapshot-14",
24
- "@instructure/ui-color-utils": "11.7.4-snapshot-14"
21
+ "@instructure/ui-axe-check": "11.7.4-snapshot-50",
22
+ "@instructure/ui-babel-preset": "11.7.4-snapshot-50",
23
+ "@instructure/ui-badge": "11.7.4-snapshot-50",
24
+ "@instructure/ui-color-utils": "11.7.4-snapshot-50"
25
25
  },
26
26
  "dependencies": {
27
27
  "@babel/runtime": "^7.29.2",
28
- "@instructure/emotion": "11.7.4-snapshot-14",
29
- "@instructure/ui-dom-utils": "11.7.4-snapshot-14",
30
- "@instructure/ui-form-field": "11.7.4-snapshot-14",
31
- "@instructure/ui-a11y-utils": "11.7.4-snapshot-14",
32
- "@instructure/shared-types": "11.7.4-snapshot-14",
33
- "@instructure/ui-react-utils": "11.7.4-snapshot-14",
34
- "@instructure/ui-tag": "11.7.4-snapshot-14",
35
- "@instructure/ui-themes": "11.7.4-snapshot-14"
28
+ "@instructure/shared-types": "11.7.4-snapshot-50",
29
+ "@instructure/emotion": "11.7.4-snapshot-50",
30
+ "@instructure/ui-dom-utils": "11.7.4-snapshot-50",
31
+ "@instructure/ui-a11y-utils": "11.7.4-snapshot-50",
32
+ "@instructure/ui-form-field": "11.7.4-snapshot-50",
33
+ "@instructure/ui-react-utils": "11.7.4-snapshot-50",
34
+ "@instructure/ui-tag": "11.7.4-snapshot-50",
35
+ "@instructure/ui-themes": "11.7.4-snapshot-50"
36
36
  },
37
37
  "peerDependencies": {
38
38
  "react": ">=18 <=19"
@@ -39,14 +39,14 @@ import { FormField } from '@instructure/ui-form-field/v11_6'
39
39
  import { withStyle } from '@instructure/emotion'
40
40
  import { hasVisibleChildren } from '@instructure/ui-a11y-utils'
41
41
 
42
- import generateStyle from './styles'
43
- import generateComponentTheme from './theme'
42
+ import generateStyle from './styles.js'
43
+ import generateComponentTheme from './theme.js'
44
44
  import type {
45
45
  TextInputProps,
46
46
  TextInputState,
47
47
  TextInputStyleProps
48
48
  } from './props'
49
- import { allowedProps } from './props'
49
+ import { allowedProps } from './props.js'
50
50
 
51
51
  /**
52
52
  ---
@@ -57,6 +57,7 @@ tags: form, field
57
57
  @withDeterministicId()
58
58
  @withStyle(generateStyle, generateComponentTheme)
59
59
  class TextInput extends Component<TextInputProps, TextInputState> {
60
+ static displayName = 'TextInput'
60
61
  static readonly componentId = 'TextInput'
61
62
 
62
63
  static allowedProps = allowedProps
@@ -35,9 +35,9 @@ import { isActiveElement, addEventListener } from '@instructure/ui-dom-utils'
35
35
  import { FormField } from '@instructure/ui-form-field/latest'
36
36
  import { withStyleNew } from '@instructure/emotion'
37
37
 
38
- import generateStyle from './styles'
38
+ import generateStyle from './styles.js'
39
39
  import type { TextInputProps, TextInputStyleProps } from './props'
40
- import { allowedProps } from './props'
40
+ import { allowedProps } from './props.js'
41
41
  import type { Renderable } from '@instructure/shared-types'
42
42
 
43
43
  /**
@@ -49,6 +49,7 @@ tags: form, field, input
49
49
  @withDeterministicId()
50
50
  @withStyleNew(generateStyle)
51
51
  class TextInput extends Component<TextInputProps> {
52
+ static displayName = 'TextInput'
52
53
  static readonly componentId = 'TextInput'
53
54
 
54
55
  static allowedProps = allowedProps
@@ -23,7 +23,7 @@
23
23
  */
24
24
 
25
25
  import type { NewComponentTypes, SharedTokens } from '@instructure/ui-themes'
26
- import { TextInputProps, TextInputStyle, TextInputStyleProps } from './props'
26
+ import { TextInputProps, TextInputStyle, TextInputStyleProps } from './props.js'
27
27
  import { calcFocusOutlineStyles } from '@instructure/emotion'
28
28
 
29
29
  /**
@@ -206,7 +206,9 @@ const generateStyle = (
206
206
  flexDirection: 'row'
207
207
  },
208
208
  beforeElement: {
209
- ...(interaction === 'disabled' && { opacity: 0.5 }),
209
+ ...(interaction === 'disabled'
210
+ ? { opacity: 0.5 }
211
+ : { display: 'contents' }),
210
212
  label: 'textInput__beforeElement'
211
213
  },
212
214
  afterElement: {
package/src/exports/a.ts CHANGED
@@ -21,5 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { TextInput } from '../TextInput/v1'
24
+ export { TextInput } from '../TextInput/v1/index.js'
25
25
  export type { TextInputProps } from '../TextInput/v1/props'
package/src/exports/b.ts CHANGED
@@ -21,5 +21,5 @@
21
21
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
22
  * SOFTWARE.
23
23
  */
24
- export { TextInput } from '../TextInput/v2'
24
+ export { TextInput } from '../TextInput/v2/index.js'
25
25
  export type { TextInputProps } from '../TextInput/v2/props'