@atlaskit/editor-plugin-card 0.4.1 → 0.4.3
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/.eslintrc.js +0 -1
- package/CHANGELOG.md +13 -0
- package/dist/cjs/pm-plugins/keymap.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/pm-plugins/keymap.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/pm-plugins/keymap.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/ui/LayoutButton/utils.d.ts +1 -1
- package/dist/types/ui/ResizableEmbedCard.d.ts +0 -1
- package/dist/types-ts4.5/ui/LayoutButton/utils.d.ts +1 -1
- package/dist/types-ts4.5/ui/ResizableEmbedCard.d.ts +0 -1
- package/package.json +5 -5
package/.eslintrc.js
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-card
|
|
2
2
|
|
|
3
|
+
## 0.4.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`bdb69158e0a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bdb69158e0a) - [ED-13910] Bump ProseMirror libraries to match prosemirror-view@1.31.6 dependencies
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
10
|
+
## 0.4.2
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 0.4.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -25,7 +25,7 @@ var getClosestInlineCardPos = function getClosestInlineCardPos(state, editorView
|
|
|
25
25
|
var nearPos = (_editorView$posAtCoor = editorView.posAtCoords({
|
|
26
26
|
left: coord.left,
|
|
27
27
|
top: direction === 'up' ? coord.top - lookupPixel : coord.bottom + lookupPixel
|
|
28
|
-
})) === null || _editorView$posAtCoor === void 0 ? void 0 : _editorView$posAtCoor.
|
|
28
|
+
})) === null || _editorView$posAtCoor === void 0 ? void 0 : _editorView$posAtCoor.inside;
|
|
29
29
|
if (nearPos) {
|
|
30
30
|
var newNode = state.doc.nodeAt(nearPos);
|
|
31
31
|
if (newNode) {
|
package/dist/cjs/version.json
CHANGED
|
@@ -22,7 +22,7 @@ const getClosestInlineCardPos = (state, editorView, direction) => {
|
|
|
22
22
|
const nearPos = (_editorView$posAtCoor = editorView.posAtCoords({
|
|
23
23
|
left: coord.left,
|
|
24
24
|
top: direction === 'up' ? coord.top - lookupPixel : coord.bottom + lookupPixel
|
|
25
|
-
})) === null || _editorView$posAtCoor === void 0 ? void 0 : _editorView$posAtCoor.
|
|
25
|
+
})) === null || _editorView$posAtCoor === void 0 ? void 0 : _editorView$posAtCoor.inside;
|
|
26
26
|
if (nearPos) {
|
|
27
27
|
const newNode = state.doc.nodeAt(nearPos);
|
|
28
28
|
if (newNode) {
|
package/dist/es2019/version.json
CHANGED
|
@@ -19,7 +19,7 @@ var getClosestInlineCardPos = function getClosestInlineCardPos(state, editorView
|
|
|
19
19
|
var nearPos = (_editorView$posAtCoor = editorView.posAtCoords({
|
|
20
20
|
left: coord.left,
|
|
21
21
|
top: direction === 'up' ? coord.top - lookupPixel : coord.bottom + lookupPixel
|
|
22
|
-
})) === null || _editorView$posAtCoor === void 0 ? void 0 : _editorView$posAtCoor.
|
|
22
|
+
})) === null || _editorView$posAtCoor === void 0 ? void 0 : _editorView$posAtCoor.inside;
|
|
23
23
|
if (nearPos) {
|
|
24
24
|
var newNode = state.doc.nodeAt(nearPos);
|
|
25
25
|
if (newNode) {
|
package/dist/esm/version.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
export declare const getDatasource: (editorView: EditorView) => import("prosemirror-utils").ContentNodeWithPos | {
|
|
2
|
+
export declare const getDatasource: (editorView: EditorView) => import("prosemirror-utils/dist/types").ContentNodeWithPos | {
|
|
3
3
|
node: undefined;
|
|
4
4
|
pos: undefined;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
|
-
export declare const getDatasource: (editorView: EditorView) => import("prosemirror-utils").ContentNodeWithPos | {
|
|
2
|
+
export declare const getDatasource: (editorView: EditorView) => import("prosemirror-utils/dist/types").ContentNodeWithPos | {
|
|
3
3
|
node: undefined;
|
|
4
4
|
pos: undefined;
|
|
5
5
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-card",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Card plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
".": "./src/index.ts"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@atlaskit/adf-schema": "^28.
|
|
34
|
+
"@atlaskit/adf-schema": "^28.1.0",
|
|
35
35
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
36
|
-
"@atlaskit/editor-common": "^74.
|
|
36
|
+
"@atlaskit/editor-common": "^74.42.0",
|
|
37
37
|
"@atlaskit/editor-plugin-analytics": "^0.1.0",
|
|
38
38
|
"@atlaskit/editor-plugin-decorations": "^0.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-feature-flags": "^0.1.0",
|
|
40
40
|
"@atlaskit/editor-plugin-floating-toolbar": "^0.3.0",
|
|
41
41
|
"@atlaskit/editor-plugin-grid": "^0.1.0",
|
|
42
|
-
"@atlaskit/editor-plugin-hyperlink": "^0.
|
|
42
|
+
"@atlaskit/editor-plugin-hyperlink": "^0.3.0",
|
|
43
43
|
"@atlaskit/editor-plugin-width": "^0.1.0",
|
|
44
|
-
"@atlaskit/editor-prosemirror": "1.0
|
|
44
|
+
"@atlaskit/editor-prosemirror": "1.1.0",
|
|
45
45
|
"@atlaskit/editor-shared-styles": "^2.6.0",
|
|
46
46
|
"@atlaskit/icon": "^21.12.0",
|
|
47
47
|
"@atlaskit/link-analytics": "^8.2.0",
|