@instructure/ui-editable 11.7.4-snapshot-11 → 11.7.4-snapshot-49
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/LICENSE.md +1 -0
- package/es/Editable/v1/index.js +2 -2
- package/es/InPlaceEdit/v1/index.js +4 -4
- package/es/InPlaceEdit/v2/index.js +4 -4
- package/es/exports/a.js +3 -2
- package/es/exports/b.js +3 -2
- package/lib/Editable/v1/index.js +2 -2
- package/lib/InPlaceEdit/v1/index.js +5 -5
- package/lib/InPlaceEdit/v2/index.js +5 -5
- package/lib/exports/a.js +4 -4
- package/lib/exports/b.js +4 -4
- package/package.json +14 -14
- package/src/Editable/v1/index.tsx +2 -1
- package/src/InPlaceEdit/v1/index.tsx +4 -3
- package/src/InPlaceEdit/v2/index.tsx +4 -3
- package/src/exports/a.ts +2 -2
- package/src/exports/b.ts +2 -2
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Editable/v1/index.d.ts +4 -3
- package/types/Editable/v1/index.d.ts.map +1 -1
- package/types/InPlaceEdit/v1/index.d.ts +3 -2
- package/types/InPlaceEdit/v1/index.d.ts.map +1 -1
- package/types/InPlaceEdit/v2/index.d.ts +3 -2
- package/types/InPlaceEdit/v2/index.d.ts.map +1 -1
- package/types/exports/a.d.ts +2 -2
- package/types/exports/a.d.ts.map +1 -1
- package/types/exports/b.d.ts +2 -2
- package/types/exports/b.d.ts.map +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
|
-
## [11.7.4-snapshot-
|
|
6
|
+
## [11.7.4-snapshot-49](https://github.com/instructure/instructure-ui/compare/v11.7.3...v11.7.4-snapshot-49) (2026-06-17)
|
|
7
7
|
|
|
8
8
|
**Note:** Version bump only for package @instructure/ui-editable
|
|
9
9
|
|
package/LICENSE.md
CHANGED
package/es/Editable/v1/index.js
CHANGED
|
@@ -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
|
|
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 =
|
|
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
|
|
35
|
-
import generateStyle from
|
|
36
|
-
import { allowedProps } from
|
|
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 =
|
|
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
|
|
35
|
-
import generateStyle from
|
|
36
|
-
import { allowedProps } from
|
|
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 =
|
|
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
|
-
|
|
25
|
-
export {
|
|
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
|
-
|
|
25
|
-
export {
|
|
24
|
+
|
|
25
|
+
export { Editable } from '../Editable/v1/index.js';
|
|
26
|
+
export { InPlaceEdit } from '../InPlaceEdit/v2/index.js';
|
package/lib/Editable/v1/index.js
CHANGED
|
@@ -8,7 +8,7 @@ var _react = require("react");
|
|
|
8
8
|
var _deepEqual = require("@instructure/ui-utils/lib/deepEqual.js");
|
|
9
9
|
var _console = require("@instructure/console");
|
|
10
10
|
var _requestAnimationFrame = require("@instructure/ui-dom-utils/lib/requestAnimationFrame.js");
|
|
11
|
-
var _props = require("./props");
|
|
11
|
+
var _props = require("./props.js");
|
|
12
12
|
/*
|
|
13
13
|
* The MIT License (MIT)
|
|
14
14
|
*
|
|
@@ -39,7 +39,7 @@ category: components
|
|
|
39
39
|
---
|
|
40
40
|
**/
|
|
41
41
|
class Editable extends _react.Component {
|
|
42
|
-
static displayName =
|
|
42
|
+
static displayName = 'Editable';
|
|
43
43
|
static allowedProps = _props.allowedProps;
|
|
44
44
|
static defaultProps = {
|
|
45
45
|
readOnly: false,
|
|
@@ -13,9 +13,9 @@ var _console = require("@instructure/console");
|
|
|
13
13
|
var _createChainedFunction = require("@instructure/ui-utils/lib/createChainedFunction.js");
|
|
14
14
|
var _emotion = require("@instructure/emotion");
|
|
15
15
|
var _v11_3 = require("@instructure/ui-view/v11_6");
|
|
16
|
-
var
|
|
17
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
18
|
-
var _props = require("./props");
|
|
16
|
+
var _index = require("../../Editable/v1/index.js");
|
|
17
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
18
|
+
var _props = require("./props.js");
|
|
19
19
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
20
20
|
var _dec, _class;
|
|
21
21
|
/*
|
|
@@ -47,7 +47,7 @@ category: components
|
|
|
47
47
|
---
|
|
48
48
|
**/
|
|
49
49
|
let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.default, null), _dec(_class = class InPlaceEdit extends _react.Component {
|
|
50
|
-
static displayName =
|
|
50
|
+
static displayName = 'InPlaceEdit';
|
|
51
51
|
static componentId = 'InPlaceEdit';
|
|
52
52
|
static allowedProps = _props.allowedProps;
|
|
53
53
|
static defaultProps = {
|
|
@@ -167,7 +167,7 @@ let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyle)(_styles.
|
|
|
167
167
|
onChangeMode,
|
|
168
168
|
readOnly
|
|
169
169
|
} = this.props;
|
|
170
|
-
return (0, _jsxRuntime.jsx)(
|
|
170
|
+
return (0, _jsxRuntime.jsx)(_index.Editable, {
|
|
171
171
|
mode: mode,
|
|
172
172
|
onChangeMode: onChangeMode,
|
|
173
173
|
render: this.renderAll,
|
|
@@ -13,9 +13,9 @@ var _console = require("@instructure/console");
|
|
|
13
13
|
var _createChainedFunction = require("@instructure/ui-utils/lib/createChainedFunction.js");
|
|
14
14
|
var _emotion = require("@instructure/emotion");
|
|
15
15
|
var _latest3 = require("@instructure/ui-view/latest");
|
|
16
|
-
var
|
|
17
|
-
var _styles = _interopRequireDefault(require("./styles"));
|
|
18
|
-
var _props = require("./props");
|
|
16
|
+
var _index = require("../../Editable/v1/index.js");
|
|
17
|
+
var _styles = _interopRequireDefault(require("./styles.js"));
|
|
18
|
+
var _props = require("./props.js");
|
|
19
19
|
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
20
20
|
var _dec, _class;
|
|
21
21
|
/*
|
|
@@ -47,7 +47,7 @@ category: components
|
|
|
47
47
|
---
|
|
48
48
|
**/
|
|
49
49
|
let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyleNew)(_styles.default), _dec(_class = class InPlaceEdit extends _react.Component {
|
|
50
|
-
static displayName =
|
|
50
|
+
static displayName = 'InPlaceEdit';
|
|
51
51
|
static componentId = 'InPlaceEdit';
|
|
52
52
|
static allowedProps = _props.allowedProps;
|
|
53
53
|
static defaultProps = {
|
|
@@ -167,7 +167,7 @@ let InPlaceEdit = exports.InPlaceEdit = (_dec = (0, _emotion.withStyleNew)(_styl
|
|
|
167
167
|
onChangeMode,
|
|
168
168
|
readOnly
|
|
169
169
|
} = this.props;
|
|
170
|
-
return (0, _jsxRuntime.jsx)(
|
|
170
|
+
return (0, _jsxRuntime.jsx)(_index.Editable, {
|
|
171
171
|
mode: mode,
|
|
172
172
|
onChangeMode: onChangeMode,
|
|
173
173
|
render: this.renderAll,
|
package/lib/exports/a.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Editable", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Editable;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "InPlaceEdit", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.InPlaceEdit;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../Editable/v1/index.js");
|
|
19
|
+
var _index2 = require("../InPlaceEdit/v1/index.js");
|
package/lib/exports/b.js
CHANGED
|
@@ -6,14 +6,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
Object.defineProperty(exports, "Editable", {
|
|
7
7
|
enumerable: true,
|
|
8
8
|
get: function () {
|
|
9
|
-
return
|
|
9
|
+
return _index.Editable;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "InPlaceEdit", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _index2.InPlaceEdit;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _index = require("../Editable/v1/index.js");
|
|
19
|
+
var _index2 = require("../InPlaceEdit/v2/index.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-editable",
|
|
3
|
-
"version": "11.7.4-snapshot-
|
|
3
|
+
"version": "11.7.4-snapshot-49",
|
|
4
4
|
"description": "A UI component library made by Instructure Inc.",
|
|
5
5
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
6
6
|
"module": "./es/index.js",
|
|
@@ -15,25 +15,25 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@babel/runtime": "^7.29.2",
|
|
18
|
-
"@instructure/console": "11.7.4-snapshot-
|
|
19
|
-
"@instructure/emotion": "11.7.4-snapshot-
|
|
20
|
-
"@instructure/shared-types": "11.7.4-snapshot-
|
|
21
|
-
"@instructure/ui-a11y-content": "11.7.4-snapshot-
|
|
22
|
-
"@instructure/ui-buttons": "11.7.4-snapshot-
|
|
23
|
-
"@instructure/ui-dom-utils": "11.7.4-snapshot-
|
|
24
|
-
"@instructure/ui-flex": "11.7.4-snapshot-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-
|
|
28
|
-
"@instructure/ui-view": "11.7.4-snapshot-
|
|
18
|
+
"@instructure/console": "11.7.4-snapshot-49",
|
|
19
|
+
"@instructure/emotion": "11.7.4-snapshot-49",
|
|
20
|
+
"@instructure/shared-types": "11.7.4-snapshot-49",
|
|
21
|
+
"@instructure/ui-a11y-content": "11.7.4-snapshot-49",
|
|
22
|
+
"@instructure/ui-buttons": "11.7.4-snapshot-49",
|
|
23
|
+
"@instructure/ui-dom-utils": "11.7.4-snapshot-49",
|
|
24
|
+
"@instructure/ui-flex": "11.7.4-snapshot-49",
|
|
25
|
+
"@instructure/ui-focusable": "11.7.4-snapshot-49",
|
|
26
|
+
"@instructure/ui-icons": "11.7.4-snapshot-49",
|
|
27
|
+
"@instructure/ui-utils": "11.7.4-snapshot-49",
|
|
28
|
+
"@instructure/ui-view": "11.7.4-snapshot-49"
|
|
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-
|
|
36
|
-
"@instructure/ui-
|
|
35
|
+
"@instructure/ui-babel-preset": "11.7.4-snapshot-49",
|
|
36
|
+
"@instructure/ui-axe-check": "11.7.4-snapshot-49"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=18 <=19",
|
|
@@ -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'
|