@instructure/ui-editable 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-editable
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 = ['mode', 'onChangeMode', 'children', 'render', 'value', 'onChange', 'readOnly', 'elementRef'];
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
+ }
@@ -25,14 +25,14 @@ import { Component } from 'react';
25
25
  import { deepEqual } from '@instructure/ui-utils';
26
26
  import { logWarn as warn } from '@instructure/console';
27
27
  import { requestAnimationFrame } from '@instructure/ui-dom-utils';
28
- import { allowedProps } from "./props.js";
28
+ import { allowedProps } from './props.js';
29
29
  /**
30
30
  ---
31
31
  category: components
32
32
  ---
33
33
  **/
34
34
  class Editable extends Component {
35
- static displayName = "Editable";
35
+ static displayName = 'Editable';
36
36
  static allowedProps = allowedProps;
37
37
  static defaultProps = {
38
38
  readOnly: false,
@@ -31,9 +31,9 @@ import { logWarn as warn } from '@instructure/console';
31
31
  import { createChainedFunction } from '@instructure/ui-utils';
32
32
  import { withStyle } from '@instructure/emotion';
33
33
  import { View } from '@instructure/ui-view/v11_6';
34
- import { Editable } from "../../Editable/v1/index.js";
35
- import generateStyle from "./styles.js";
36
- import { allowedProps } from "./props.js";
34
+ import { Editable } from '../../Editable/v1/index.js';
35
+ import generateStyle from './styles.js';
36
+ import { allowedProps } from './props.js';
37
37
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
38
38
  /**
39
39
  ---
@@ -41,7 +41,7 @@ category: components
41
41
  ---
42
42
  **/
43
43
  let InPlaceEdit = (_dec = withStyle(generateStyle, null), _dec(_class = class InPlaceEdit extends Component {
44
- static displayName = "InPlaceEdit";
44
+ static displayName = 'InPlaceEdit';
45
45
  static componentId = 'InPlaceEdit';
46
46
  static allowedProps = allowedProps;
47
47
  static defaultProps = {
@@ -31,9 +31,9 @@ import { logWarn as warn } from '@instructure/console';
31
31
  import { createChainedFunction } from '@instructure/ui-utils';
32
32
  import { withStyleNew } from '@instructure/emotion';
33
33
  import { View } from '@instructure/ui-view/latest';
34
- import { Editable } from "../../Editable/v1/index.js";
35
- import generateStyle from "./styles.js";
36
- import { allowedProps } from "./props.js";
34
+ import { Editable } from '../../Editable/v1/index.js';
35
+ import generateStyle from './styles.js';
36
+ import { allowedProps } from './props.js';
37
37
  import { jsx as _jsx, jsxs as _jsxs } from "@emotion/react/jsx-runtime";
38
38
  /**
39
39
  ---
@@ -41,7 +41,7 @@ category: components
41
41
  ---
42
42
  **/
43
43
  let InPlaceEdit = (_dec = withStyleNew(generateStyle), _dec(_class = class InPlaceEdit extends Component {
44
- static displayName = "InPlaceEdit";
44
+ static displayName = 'InPlaceEdit';
45
45
  static componentId = 'InPlaceEdit';
46
46
  static allowedProps = allowedProps;
47
47
  static defaultProps = {
package/es/exports/a.js CHANGED
@@ -21,5 +21,6 @@
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 { Editable } from "../Editable/v1/index.js";
25
- export { InPlaceEdit } from "../InPlaceEdit/v1/index.js";
24
+
25
+ export { Editable } from '../Editable/v1/index.js';
26
+ export { InPlaceEdit } from '../InPlaceEdit/v1/index.js';
package/es/exports/b.js CHANGED
@@ -21,5 +21,6 @@
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 { Editable } from "../Editable/v1/index.js";
25
- export { InPlaceEdit } from "../InPlaceEdit/v2/index.js";
24
+
25
+ export { Editable } from '../Editable/v1/index.js';
26
+ export { InPlaceEdit } from '../InPlaceEdit/v2/index.js';
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@instructure/ui-editable",
3
- "version": "11.7.3",
3
+ "version": "11.7.4-pr-snapshot-1781695314229",
4
+ "type": "module",
4
5
  "description": "A UI component library made by Instructure Inc.",
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/console": "11.7.3",
19
- "@instructure/emotion": "11.7.3",
20
- "@instructure/shared-types": "11.7.3",
21
- "@instructure/ui-a11y-content": "11.7.3",
22
- "@instructure/ui-buttons": "11.7.3",
23
- "@instructure/ui-dom-utils": "11.7.3",
24
- "@instructure/ui-flex": "11.7.3",
25
- "@instructure/ui-focusable": "11.7.3",
26
- "@instructure/ui-icons": "11.7.3",
27
- "@instructure/ui-view": "11.7.3",
28
- "@instructure/ui-utils": "11.7.3"
18
+ "@instructure/console": "11.7.4-pr-snapshot-1781695314229",
19
+ "@instructure/shared-types": "11.7.4-pr-snapshot-1781695314229",
20
+ "@instructure/ui-buttons": "11.7.4-pr-snapshot-1781695314229",
21
+ "@instructure/ui-a11y-content": "11.7.4-pr-snapshot-1781695314229",
22
+ "@instructure/emotion": "11.7.4-pr-snapshot-1781695314229",
23
+ "@instructure/ui-flex": "11.7.4-pr-snapshot-1781695314229",
24
+ "@instructure/ui-focusable": "11.7.4-pr-snapshot-1781695314229",
25
+ "@instructure/ui-utils": "11.7.4-pr-snapshot-1781695314229",
26
+ "@instructure/ui-icons": "11.7.4-pr-snapshot-1781695314229",
27
+ "@instructure/ui-view": "11.7.4-pr-snapshot-1781695314229",
28
+ "@instructure/ui-dom-utils": "11.7.4-pr-snapshot-1781695314229"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@testing-library/jest-dom": "^6.6.3",
32
32
  "@testing-library/react": "15.0.7",
33
33
  "@testing-library/user-event": "^14.6.1",
34
34
  "vitest": "^3.2.2",
35
- "@instructure/ui-axe-check": "11.7.3",
36
- "@instructure/ui-babel-preset": "11.7.3"
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",
@@ -44,7 +44,6 @@
44
44
  },
45
45
  "sideEffects": false,
46
46
  "exports": {
47
- "./lib/*": "./lib/*",
48
47
  "./es/*": "./es/*",
49
48
  "./types/*": "./types/*",
50
49
  "./package.json": "./package.json",
@@ -53,28 +52,24 @@
53
52
  "src": "./src/exports/a.ts",
54
53
  "types": "./types/exports/a.d.ts",
55
54
  "import": "./es/exports/a.js",
56
- "require": "./lib/exports/a.js",
57
55
  "default": "./es/exports/a.js"
58
56
  },
59
57
  "./v11_6": {
60
58
  "src": "./src/exports/a.ts",
61
59
  "types": "./types/exports/a.d.ts",
62
60
  "import": "./es/exports/a.js",
63
- "require": "./lib/exports/a.js",
64
61
  "default": "./es/exports/a.js"
65
62
  },
66
63
  "./v11_7": {
67
64
  "src": "./src/exports/b.ts",
68
65
  "types": "./types/exports/b.d.ts",
69
66
  "import": "./es/exports/b.js",
70
- "require": "./lib/exports/b.js",
71
67
  "default": "./es/exports/b.js"
72
68
  },
73
69
  "./latest": {
74
70
  "src": "./src/exports/b.ts",
75
71
  "types": "./types/exports/b.d.ts",
76
72
  "import": "./es/exports/b.js",
77
- "require": "./lib/exports/b.js",
78
73
  "default": "./es/exports/b.js"
79
74
  }
80
75
  },
@@ -82,7 +77,7 @@
82
77
  "lint": "ui-scripts lint",
83
78
  "lint:fix": "ui-scripts lint --fix",
84
79
  "clean": "ui-scripts clean",
85
- "build": "ui-scripts build --modules es,cjs",
80
+ "build": "ui-scripts build",
86
81
  "build:watch": "pnpm run ts:check -- --watch & ui-scripts build --watch",
87
82
  "build:types": "tsc -p tsconfig.build.json",
88
83
  "ts:check": "tsc -p tsconfig.build.json --noEmit --emitDeclarationOnly false"
@@ -27,7 +27,7 @@ import { deepEqual } from '@instructure/ui-utils'
27
27
  import { logWarn as warn } from '@instructure/console'
28
28
  import { requestAnimationFrame } from '@instructure/ui-dom-utils'
29
29
 
30
- import { allowedProps, EditableState } from './props'
30
+ import { allowedProps, EditableState } from './props.js'
31
31
  import type {
32
32
  EditableProps,
33
33
  GetContainerProps,
@@ -42,6 +42,7 @@ category: components
42
42
  ---
43
43
  **/
44
44
  class Editable extends Component<EditableProps> {
45
+ static displayName = 'Editable'
45
46
  static allowedProps = allowedProps
46
47
  static defaultProps = {
47
48
  readOnly: false,
@@ -33,10 +33,10 @@ import { createChainedFunction } from '@instructure/ui-utils'
33
33
  import { withStyle } from '@instructure/emotion'
34
34
  import { View } from '@instructure/ui-view/v11_6'
35
35
 
36
- import { Editable } from '../../Editable/v1'
37
- import generateStyle from './styles'
36
+ import { Editable } from '../../Editable/v1/index.js'
37
+ import generateStyle from './styles.js'
38
38
 
39
- import { allowedProps } from './props'
39
+ import { allowedProps } from './props.js'
40
40
  import type { InPlaceEditProps } from './props'
41
41
  import type { EditableRenderProps } from '../../Editable/v1/props'
42
42
 
@@ -47,6 +47,7 @@ category: components
47
47
  **/
48
48
  @withStyle(generateStyle, null)
49
49
  class InPlaceEdit extends Component<InPlaceEditProps> {
50
+ static displayName = 'InPlaceEdit'
50
51
  static readonly componentId = 'InPlaceEdit'
51
52
  static allowedProps = allowedProps
52
53
  static defaultProps = {
@@ -33,10 +33,10 @@ import { createChainedFunction } from '@instructure/ui-utils'
33
33
  import { withStyleNew } from '@instructure/emotion'
34
34
  import { View } from '@instructure/ui-view/latest'
35
35
 
36
- import { Editable } from '../../Editable/v1'
37
- import generateStyle from './styles'
36
+ import { Editable } from '../../Editable/v1/index.js'
37
+ import generateStyle from './styles.js'
38
38
 
39
- import { allowedProps } from './props'
39
+ import { allowedProps } from './props.js'
40
40
  import type { InPlaceEditProps } from './props'
41
41
  import type { EditableRenderProps } from '../../Editable/v1/props'
42
42
 
@@ -47,6 +47,7 @@ category: components
47
47
  **/
48
48
  @withStyleNew(generateStyle)
49
49
  class InPlaceEdit extends Component<InPlaceEditProps> {
50
+ static displayName = 'InPlaceEdit'
50
51
  static readonly componentId = 'InPlaceEdit'
51
52
  static allowedProps = allowedProps
52
53
  static defaultProps = {
package/src/exports/a.ts CHANGED
@@ -22,8 +22,8 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Editable } from '../Editable/v1'
26
- export { InPlaceEdit } from '../InPlaceEdit/v1'
25
+ export { Editable } from '../Editable/v1/index.js'
26
+ export { InPlaceEdit } from '../InPlaceEdit/v1/index.js'
27
27
 
28
28
  export type { EditableProps } from '../Editable/v1/props'
29
29
  export type { InPlaceEditProps } from '../InPlaceEdit/v1/props'
package/src/exports/b.ts CHANGED
@@ -22,8 +22,8 @@
22
22
  * SOFTWARE.
23
23
  */
24
24
 
25
- export { Editable } from '../Editable/v1'
26
- export { InPlaceEdit } from '../InPlaceEdit/v2'
25
+ export { Editable } from '../Editable/v1/index.js'
26
+ export { InPlaceEdit } from '../InPlaceEdit/v2/index.js'
27
27
 
28
28
  export type { EditableProps } from '../Editable/v1/props'
29
29
  export type { InPlaceEditProps } from '../InPlaceEdit/v2/props'