@instructure/ui-editable 11.6.0 → 11.6.1-snapshot-129
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 +29 -274
- package/es/InPlaceEdit/{index.js → v1/index.js} +5 -5
- package/es/{index.js → exports/a.js} +2 -2
- package/lib/InPlaceEdit/{index.js → v1/index.js} +12 -12
- package/lib/{index.js → exports/a.js} +4 -4
- package/package.json +43 -21
- package/src/InPlaceEdit/{index.tsx → v1/index.tsx} +7 -7
- package/src/InPlaceEdit/{props.ts → v1/props.ts} +1 -1
- package/src/{index.ts → exports/a.ts} +4 -4
- package/tsconfig.build.tsbuildinfo +1 -1
- package/types/Editable/v1/index.d.ts.map +1 -0
- package/types/Editable/v1/props.d.ts.map +1 -0
- package/types/InPlaceEdit/{index.d.ts → v1/index.d.ts} +4 -4
- package/types/InPlaceEdit/v1/index.d.ts.map +1 -0
- package/types/InPlaceEdit/{props.d.ts → v1/props.d.ts} +1 -1
- package/types/InPlaceEdit/v1/props.d.ts.map +1 -0
- package/types/InPlaceEdit/v1/styles.d.ts.map +1 -0
- package/types/exports/a.d.ts +5 -0
- package/types/exports/a.d.ts.map +1 -0
- package/types/Editable/index.d.ts.map +0 -1
- package/types/Editable/props.d.ts.map +0 -1
- package/types/InPlaceEdit/index.d.ts.map +0 -1
- package/types/InPlaceEdit/props.d.ts.map +0 -1
- package/types/InPlaceEdit/styles.d.ts.map +0 -1
- package/types/index.d.ts +0 -5
- package/types/index.d.ts.map +0 -1
- /package/es/Editable/{index.js → v1/index.js} +0 -0
- /package/es/Editable/{props.js → v1/props.js} +0 -0
- /package/es/InPlaceEdit/{props.js → v1/props.js} +0 -0
- /package/es/InPlaceEdit/{styles.js → v1/styles.js} +0 -0
- /package/lib/Editable/{index.js → v1/index.js} +0 -0
- /package/lib/Editable/{props.js → v1/props.js} +0 -0
- /package/lib/InPlaceEdit/{props.js → v1/props.js} +0 -0
- /package/lib/InPlaceEdit/{styles.js → v1/styles.js} +0 -0
- /package/src/Editable/{README.md → v1/README.md} +0 -0
- /package/src/Editable/{index.tsx → v1/index.tsx} +0 -0
- /package/src/Editable/{props.ts → v1/props.ts} +0 -0
- /package/src/InPlaceEdit/{README.md → v1/README.md} +0 -0
- /package/src/InPlaceEdit/{styles.ts → v1/styles.ts} +0 -0
- /package/types/Editable/{index.d.ts → v1/index.d.ts} +0 -0
- /package/types/Editable/{props.d.ts → v1/props.d.ts} +0 -0
- /package/types/InPlaceEdit/{styles.d.ts → v1/styles.d.ts} +0 -0
|
@@ -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 _v.Editable;
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "InPlaceEdit", {
|
|
13
13
|
enumerable: true,
|
|
14
14
|
get: function () {
|
|
15
|
-
return
|
|
15
|
+
return _v2.InPlaceEdit;
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
|
-
var
|
|
19
|
-
var
|
|
18
|
+
var _v = require("../Editable/v1");
|
|
19
|
+
var _v2 = require("../InPlaceEdit/v1");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/ui-editable",
|
|
3
|
-
"version": "11.6.
|
|
3
|
+
"version": "11.6.1-snapshot-129",
|
|
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.27.6",
|
|
18
|
-
"@instructure/
|
|
19
|
-
"@instructure/
|
|
20
|
-
"@instructure/shared-types": "11.6.
|
|
21
|
-
"@instructure/ui-a11y-content": "11.6.
|
|
22
|
-
"@instructure/ui-buttons": "11.6.
|
|
23
|
-
"@instructure/ui-
|
|
24
|
-
"@instructure/ui-
|
|
25
|
-
"@instructure/ui-
|
|
26
|
-
"@instructure/ui-
|
|
27
|
-
"@instructure/ui-utils": "11.6.
|
|
28
|
-
"@instructure/ui-view": "11.6.
|
|
18
|
+
"@instructure/emotion": "11.6.1-snapshot-129",
|
|
19
|
+
"@instructure/console": "11.6.1-snapshot-129",
|
|
20
|
+
"@instructure/shared-types": "11.6.1-snapshot-129",
|
|
21
|
+
"@instructure/ui-a11y-content": "11.6.1-snapshot-129",
|
|
22
|
+
"@instructure/ui-buttons": "11.6.1-snapshot-129",
|
|
23
|
+
"@instructure/ui-dom-utils": "11.6.1-snapshot-129",
|
|
24
|
+
"@instructure/ui-flex": "11.6.1-snapshot-129",
|
|
25
|
+
"@instructure/ui-focusable": "11.6.1-snapshot-129",
|
|
26
|
+
"@instructure/ui-icons": "11.6.1-snapshot-129",
|
|
27
|
+
"@instructure/ui-utils": "11.6.1-snapshot-129",
|
|
28
|
+
"@instructure/ui-view": "11.6.1-snapshot-129"
|
|
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-babel-preset": "11.6.
|
|
36
|
-
"@instructure/ui-axe-check": "11.6.
|
|
35
|
+
"@instructure/ui-babel-preset": "11.6.1-snapshot-129",
|
|
36
|
+
"@instructure/ui-axe-check": "11.6.1-snapshot-129"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": ">=18 <=19",
|
|
@@ -44,17 +44,39 @@
|
|
|
44
44
|
},
|
|
45
45
|
"sideEffects": false,
|
|
46
46
|
"exports": {
|
|
47
|
-
".": {
|
|
48
|
-
"types": "./types/index.d.ts",
|
|
49
|
-
"import": "./es/index.js",
|
|
50
|
-
"require": "./lib/index.js",
|
|
51
|
-
"default": "./es/index.js"
|
|
52
|
-
},
|
|
53
47
|
"./lib/*": "./lib/*",
|
|
54
48
|
"./es/*": "./es/*",
|
|
55
49
|
"./types/*": "./types/*",
|
|
56
50
|
"./package.json": "./package.json",
|
|
57
|
-
"./src/*": "./src/*"
|
|
51
|
+
"./src/*": "./src/*",
|
|
52
|
+
".": {
|
|
53
|
+
"src": "./src/exports/a.ts",
|
|
54
|
+
"types": "./types/exports/a.d.ts",
|
|
55
|
+
"import": "./es/exports/a.js",
|
|
56
|
+
"require": "./lib/exports/a.js",
|
|
57
|
+
"default": "./es/exports/a.js"
|
|
58
|
+
},
|
|
59
|
+
"./v11_6": {
|
|
60
|
+
"src": "./src/exports/a.ts",
|
|
61
|
+
"types": "./types/exports/a.d.ts",
|
|
62
|
+
"import": "./es/exports/a.js",
|
|
63
|
+
"require": "./lib/exports/a.js",
|
|
64
|
+
"default": "./es/exports/a.js"
|
|
65
|
+
},
|
|
66
|
+
"./v11_7": {
|
|
67
|
+
"src": "./src/exports/a.ts",
|
|
68
|
+
"types": "./types/exports/a.d.ts",
|
|
69
|
+
"import": "./es/exports/a.js",
|
|
70
|
+
"require": "./lib/exports/a.js",
|
|
71
|
+
"default": "./es/exports/a.js"
|
|
72
|
+
},
|
|
73
|
+
"./latest": {
|
|
74
|
+
"src": "./src/exports/a.ts",
|
|
75
|
+
"types": "./types/exports/a.d.ts",
|
|
76
|
+
"import": "./es/exports/a.js",
|
|
77
|
+
"require": "./lib/exports/a.js",
|
|
78
|
+
"default": "./es/exports/a.js"
|
|
79
|
+
}
|
|
58
80
|
},
|
|
59
81
|
"scripts": {
|
|
60
82
|
"lint": "ui-scripts lint",
|
|
@@ -24,21 +24,21 @@
|
|
|
24
24
|
|
|
25
25
|
import { Component } from 'react'
|
|
26
26
|
|
|
27
|
-
import { Flex } from '@instructure/ui-flex'
|
|
28
|
-
import { IconButton } from '@instructure/ui-buttons'
|
|
29
|
-
import type { IconButtonProps } from '@instructure/ui-buttons'
|
|
27
|
+
import { Flex } from '@instructure/ui-flex/v11_6'
|
|
28
|
+
import { IconButton } from '@instructure/ui-buttons/v11_6'
|
|
29
|
+
import type { IconButtonProps } from '@instructure/ui-buttons/v11_6'
|
|
30
30
|
import { IconEditLine } from '@instructure/ui-icons'
|
|
31
31
|
import { logWarn as warn } from '@instructure/console'
|
|
32
32
|
import { createChainedFunction } from '@instructure/ui-utils'
|
|
33
|
-
import { withStyle } from '@instructure/emotion'
|
|
34
|
-
import { View } from '@instructure/ui-view'
|
|
33
|
+
import { withStyleLegacy as withStyle } from '@instructure/emotion'
|
|
34
|
+
import { View } from '@instructure/ui-view/v11_6'
|
|
35
35
|
|
|
36
|
-
import { Editable } from '
|
|
36
|
+
import { Editable } from '../../Editable/v1'
|
|
37
37
|
import generateStyle from './styles'
|
|
38
38
|
|
|
39
39
|
import { allowedProps } from './props'
|
|
40
40
|
import type { InPlaceEditProps } from './props'
|
|
41
|
-
import type { EditableRenderProps } from '
|
|
41
|
+
import type { EditableRenderProps } from '../../Editable/v1/props'
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
44
|
---
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
25
|
import type { WithStyleProps, ComponentStyle } from '@instructure/emotion'
|
|
26
|
-
import type { EditableProps } from '
|
|
26
|
+
import type { EditableProps } from '../../Editable/v1/props'
|
|
27
27
|
import React from 'react'
|
|
28
28
|
|
|
29
29
|
type ExtendedRenderEditButton = {
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
* SOFTWARE.
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
export { Editable } from '
|
|
26
|
-
export { InPlaceEdit } from '
|
|
25
|
+
export { Editable } from '../Editable/v1'
|
|
26
|
+
export { InPlaceEdit } from '../InPlaceEdit/v1'
|
|
27
27
|
|
|
28
|
-
export type { EditableProps } from '
|
|
29
|
-
export type { InPlaceEditProps } from '
|
|
28
|
+
export type { EditableProps } from '../Editable/v1/props'
|
|
29
|
+
export type { InPlaceEditProps } from '../InPlaceEdit/v1/props'
|