@instructure/ui-text-area 11.7.3 → 11.7.4-pr-snapshot-1781695314229

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,6 +3,14 @@
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-pr-snapshot-1781695314229](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-pr-snapshot-1781695314229) (2026-06-17)
7
+
8
+ **Note:** Version bump only for package @instructure/ui-text-area
9
+
10
+
11
+
12
+
13
+
6
14
  ## [11.7.3](https://github.com/instructure/instructure-ui/compare/v11.7.2...v11.7.3) (2026-05-07)
7
15
 
8
16
 
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)
@@ -1,9 +1,3 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.allowedProps = void 0;
7
1
  /*
8
2
  * The MIT License (MIT)
9
3
  *
@@ -28,4 +22,15 @@ exports.allowedProps = void 0;
28
22
  * SOFTWARE.
29
23
  */
30
24
 
31
- const allowedProps = exports.allowedProps = ['label', 'id', 'size', 'layout', 'autoGrow', 'resize', 'width', 'height', 'maxHeight', 'messages', 'inline', 'placeholder', 'disabled', 'readOnly', 'required', 'textareaRef', 'defaultValue', 'value', 'onChange', 'margin'];
25
+ module.exports = {
26
+ presets: [
27
+ [
28
+ require('@instructure/ui-babel-preset'),
29
+ {
30
+ esModules: Boolean(process.env.ES_MODULES),
31
+ removeConsole: process.env.NODE_ENV === 'production',
32
+ transformImports: Boolean(process.env.TRANSFORM_IMPORTS)
33
+ }
34
+ ]
35
+ ]
36
+ }
@@ -31,9 +31,10 @@ import { withStyle } from '@instructure/emotion';
31
31
  import { px } from '@instructure/ui-utils';
32
32
  import { omitProps, pickProps, withDeterministicId } from '@instructure/ui-react-utils';
33
33
  import { hasVisibleChildren } from '@instructure/ui-a11y-utils';
34
- import generateStyle from "./styles.js";
35
- import generateComponentTheme from "./theme.js";
36
- import { allowedProps } from "./props.js";
34
+ import generateStyle from './styles.js';
35
+ import generateComponentTheme from './theme.js';
36
+ import { allowedProps } from './props.js';
37
+
37
38
  /**
38
39
  ---
39
40
  category: components
@@ -41,7 +42,7 @@ category: components
41
42
  **/
42
43
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
43
44
  let TextArea = (_dec = withDeterministicId(), _dec2 = withStyle(generateStyle, generateComponentTheme), _dec(_class = _dec2(_class = class TextArea extends Component {
44
- static displayName = "TextArea";
45
+ static displayName = 'TextArea';
45
46
  static componentId = 'TextArea';
46
47
  static allowedProps = allowedProps;
47
48
  static defaultProps = {
@@ -29,7 +29,7 @@ import { debounce } from '@instructure/debounce';
29
29
  import { useStyleNew } from '@instructure/emotion';
30
30
  import { generateId, px } from '@instructure/ui-utils';
31
31
  import { passthroughProps, pickProps, DeterministicIdContext } from '@instructure/ui-react-utils';
32
- import generateStyle from "./styles.js";
32
+ import generateStyle from './styles.js';
33
33
  import { jsx as _jsx } from "@emotion/react/jsx-runtime";
34
34
  /**
35
35
  ---
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 { TextArea } from "../TextArea/v1/index.js";
24
+ export { TextArea } from '../TextArea/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 { TextArea } from "../TextArea/v2/index.js";
24
+ export { TextArea } from '../TextArea/v2/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-text-area",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "A styled HTML text area component",
5
6
  "author": "Instructure, Inc. Engineering and Product Design",
6
7
  "module": "./es/index.js",
7
- "main": "./lib/index.js",
8
8
  "types": "./types/index.d.ts",
9
9
  "repository": {
10
10
  "type": "git",
@@ -15,25 +15,25 @@
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
17
  "@babel/runtime": "^7.29.2",
18
- "@instructure/debounce": "11.7.3",
19
- "@instructure/ui-a11y-utils": "11.7.3",
20
- "@instructure/emotion": "11.7.3",
21
- "@instructure/shared-types": "11.7.3",
22
- "@instructure/ui-dom-utils": "11.7.3",
23
- "@instructure/ui-react-utils": "11.7.3",
24
- "@instructure/ui-themes": "11.7.3",
25
- "@instructure/ui-form-field": "11.7.3",
26
- "@instructure/uid": "11.7.3",
27
- "@instructure/ui-utils": "11.7.3"
18
+ "@instructure/debounce": "11.7.4-pr-snapshot-1781695314229",
19
+ "@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/ui-a11y-utils": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/ui-dom-utils": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-form-field": "11.7.4-pr-snapshot-1781695314229",
24
+ "@instructure/ui-react-utils": "11.7.4-pr-snapshot-1781695314229",
25
+ "@instructure/ui-themes": "11.7.4-pr-snapshot-1781695314229",
26
+ "@instructure/uid": "11.7.4-pr-snapshot-1781695314229",
27
+ "@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@testing-library/jest-dom": "^6.6.3",
31
31
  "@testing-library/react": "15.0.7",
32
32
  "@testing-library/user-event": "^14.6.1",
33
33
  "vitest": "^3.2.2",
34
- "@instructure/ui-axe-check": "11.7.3",
35
- "@instructure/ui-color-utils": "11.7.3",
36
- "@instructure/ui-babel-preset": "11.7.3"
34
+ "@instructure/ui-color-utils": "11.7.4-pr-snapshot-1781695314229",
35
+ "@instructure/ui-babel-preset": "11.7.4-pr-snapshot-1781695314229",
36
+ "@instructure/ui-axe-check": "11.7.4-pr-snapshot-1781695314229"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": ">=18 <=19"
@@ -43,7 +43,6 @@
43
43
  },
44
44
  "sideEffects": false,
45
45
  "exports": {
46
- "./lib/*": "./lib/*",
47
46
  "./es/*": "./es/*",
48
47
  "./types/*": "./types/*",
49
48
  "./package.json": "./package.json",
@@ -52,28 +51,24 @@
52
51
  "src": "./src/exports/a.ts",
53
52
  "types": "./types/exports/a.d.ts",
54
53
  "import": "./es/exports/a.js",
55
- "require": "./lib/exports/a.js",
56
54
  "default": "./es/exports/a.js"
57
55
  },
58
56
  "./v11_6": {
59
57
  "src": "./src/exports/a.ts",
60
58
  "types": "./types/exports/a.d.ts",
61
59
  "import": "./es/exports/a.js",
62
- "require": "./lib/exports/a.js",
63
60
  "default": "./es/exports/a.js"
64
61
  },
65
62
  "./v11_7": {
66
63
  "src": "./src/exports/b.ts",
67
64
  "types": "./types/exports/b.d.ts",
68
65
  "import": "./es/exports/b.js",
69
- "require": "./lib/exports/b.js",
70
66
  "default": "./es/exports/b.js"
71
67
  },
72
68
  "./latest": {
73
69
  "src": "./src/exports/b.ts",
74
70
  "types": "./types/exports/b.d.ts",
75
71
  "import": "./es/exports/b.js",
76
- "require": "./lib/exports/b.js",
77
72
  "default": "./es/exports/b.js"
78
73
  }
79
74
  },
@@ -81,7 +76,7 @@
81
76
  "lint": "ui-scripts lint",
82
77
  "lint:fix": "ui-scripts lint --fix",
83
78
  "clean": "ui-scripts clean",
84
- "build": "ui-scripts build --modules es,cjs",
79
+ "build": "ui-scripts build",
85
80
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
86
81
  "build:types": "tsc -p tsconfig.build.json",
87
82
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -42,10 +42,10 @@ import {
42
42
  } from '@instructure/ui-react-utils'
43
43
  import { hasVisibleChildren } from '@instructure/ui-a11y-utils'
44
44
 
45
- import generateStyle from './styles'
46
- import generateComponentTheme from './theme'
45
+ import generateStyle from './styles.js'
46
+ import generateComponentTheme from './theme.js'
47
47
  import type { TextAreaProps } from './props'
48
- import { allowedProps } from './props'
48
+ import { allowedProps } from './props.js'
49
49
 
50
50
  /**
51
51
  ---
@@ -55,6 +55,7 @@ category: components
55
55
  @withDeterministicId()
56
56
  @withStyle(generateStyle, generateComponentTheme)
57
57
  class TextArea extends Component<TextAreaProps> {
58
+ static displayName = 'TextArea'
58
59
  static readonly componentId = 'TextArea'
59
60
 
60
61
  static allowedProps = allowedProps
@@ -52,7 +52,7 @@ import {
52
52
  DeterministicIdContext
53
53
  } from '@instructure/ui-react-utils'
54
54
 
55
- import generateStyle from './styles'
55
+ import generateStyle from './styles.js'
56
56
  import type { TextAreaProps } from './props'
57
57
 
58
58
  export type TextAreaElement = {
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 { TextArea } from '../TextArea/v1'
24
+ export { TextArea } from '../TextArea/v1/index.js'
25
25
  export type { TextAreaProps } from '../TextArea/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 { TextArea } from '../TextArea/v2'
24
+ export { TextArea } from '../TextArea/v2/index.js'
25
25
  export type { TextAreaProps } from '../TextArea/v2/props'