@atlaskit/editor-plugin-editor-disabled 1.1.5 → 1.1.6
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 +6 -0
- package/dist/cjs/plugin.js +1 -1
- package/dist/es2019/plugin.js +1 -1
- package/dist/esm/plugin.js +1 -1
- package/package.json +71 -71
package/CHANGELOG.md
CHANGED
package/dist/cjs/plugin.js
CHANGED
|
@@ -28,7 +28,7 @@ var scheduleEditorDisabledUpdate = (0, _rafSchd.default)(function (view) {
|
|
|
28
28
|
|
|
29
29
|
/*
|
|
30
30
|
Stores the state of the editor enabled/disabled for panel and floating
|
|
31
|
-
toolbar to subscribe to through
|
|
31
|
+
toolbar to subscribe to through useSharedPluginState. Otherwise the NodeViews
|
|
32
32
|
won't re-render when it changes.
|
|
33
33
|
*/
|
|
34
34
|
function createPlugin(dispatch) {
|
package/dist/es2019/plugin.js
CHANGED
|
@@ -22,7 +22,7 @@ const scheduleEditorDisabledUpdate = rafSchedule(view => {
|
|
|
22
22
|
|
|
23
23
|
/*
|
|
24
24
|
Stores the state of the editor enabled/disabled for panel and floating
|
|
25
|
-
toolbar to subscribe to through
|
|
25
|
+
toolbar to subscribe to through useSharedPluginState. Otherwise the NodeViews
|
|
26
26
|
won't re-render when it changes.
|
|
27
27
|
*/
|
|
28
28
|
function createPlugin(dispatch) {
|
package/dist/esm/plugin.js
CHANGED
|
@@ -21,7 +21,7 @@ var scheduleEditorDisabledUpdate = rafSchedule(function (view) {
|
|
|
21
21
|
|
|
22
22
|
/*
|
|
23
23
|
Stores the state of the editor enabled/disabled for panel and floating
|
|
24
|
-
toolbar to subscribe to through
|
|
24
|
+
toolbar to subscribe to through useSharedPluginState. Otherwise the NodeViews
|
|
25
25
|
won't re-render when it changes.
|
|
26
26
|
*/
|
|
27
27
|
function createPlugin(dispatch) {
|
package/package.json
CHANGED
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
2
|
+
"name": "@atlaskit/editor-plugin-editor-disabled",
|
|
3
|
+
"version": "1.1.6",
|
|
4
|
+
"description": "Editor disabled plugin for @atlaskit/editor-core",
|
|
5
|
+
"author": "Atlassian Pty Ltd",
|
|
6
|
+
"license": "Apache-2.0",
|
|
7
|
+
"publishConfig": {
|
|
8
|
+
"registry": "https://registry.npmjs.org/"
|
|
9
|
+
},
|
|
10
|
+
"atlassian": {
|
|
11
|
+
"team": "Editor: Lego",
|
|
12
|
+
"singleton": true,
|
|
13
|
+
"releaseModel": "continuous",
|
|
14
|
+
"runReact18": false
|
|
15
|
+
},
|
|
16
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
17
|
+
"main": "dist/cjs/index.js",
|
|
18
|
+
"module": "dist/esm/index.js",
|
|
19
|
+
"module:es2019": "dist/es2019/index.js",
|
|
20
|
+
"types": "dist/types/index.d.ts",
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"atlaskit:src": "src/index.ts",
|
|
23
|
+
"af:exports": {
|
|
24
|
+
".": "./src/index.ts"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@atlaskit/editor-common": "^83.0.0",
|
|
28
|
+
"@atlaskit/editor-prosemirror": "4.0.1",
|
|
29
|
+
"@babel/runtime": "^7.0.0",
|
|
30
|
+
"raf-schd": "^4.0.3"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"react": "^16.8.0"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@testing-library/react": "^12.1.5",
|
|
37
|
+
"raf-stub": "^2.0.1",
|
|
38
|
+
"react-dom": "^16.8.0",
|
|
39
|
+
"typescript": "~5.4.2",
|
|
40
|
+
"wait-for-expect": "^1.2.0"
|
|
41
|
+
},
|
|
42
|
+
"techstack": {
|
|
43
|
+
"@atlassian/frontend": {
|
|
44
|
+
"import-structure": [
|
|
45
|
+
"atlassian-conventions"
|
|
46
|
+
],
|
|
47
|
+
"circular-dependencies": [
|
|
48
|
+
"file-and-folder-level"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"@repo/internal": {
|
|
52
|
+
"dom-events": "use-bind-event-listener",
|
|
53
|
+
"analytics": [
|
|
54
|
+
"analytics-next"
|
|
55
|
+
],
|
|
56
|
+
"design-tokens": [
|
|
57
|
+
"color"
|
|
58
|
+
],
|
|
59
|
+
"theming": [
|
|
60
|
+
"react-context"
|
|
61
|
+
],
|
|
62
|
+
"ui-components": [
|
|
63
|
+
"lite-mode"
|
|
64
|
+
],
|
|
65
|
+
"deprecation": "no-deprecated-imports",
|
|
66
|
+
"styling": [
|
|
67
|
+
"emotion",
|
|
68
|
+
"emotion"
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|