@atlaskit/adf-schema 52.16.3 → 52.16.4
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
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/adf-schema
|
|
2
2
|
|
|
3
|
+
## 52.16.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`03ac1a9785ec4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/03ac1a9785ec4) -
|
|
8
|
+
Hide multi-bodied extension frames by default and explicitly reveal the active frame in editor
|
|
9
|
+
common UI.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 52.16.3
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -26,7 +26,12 @@ var extensionFrame = exports.extensionFrame = (0, _nodeTypes.extensionFrameStage
|
|
|
26
26
|
}],
|
|
27
27
|
toDOM: function toDOM() {
|
|
28
28
|
var attrs = {
|
|
29
|
-
'data-extension-frame': 'true'
|
|
29
|
+
'data-extension-frame': 'true',
|
|
30
|
+
// Frames are hidden by default and the active frame is revealed via CSS.
|
|
31
|
+
// Using an inline style ensures frames are invisible from the moment
|
|
32
|
+
// ProseMirror inserts them into the DOM, preventing a flash of all
|
|
33
|
+
// frames before the styles are injected.
|
|
34
|
+
style: 'display:none'
|
|
30
35
|
};
|
|
31
36
|
return ['div', attrs, 0];
|
|
32
37
|
}
|
|
@@ -21,7 +21,12 @@ export const extensionFrame = extensionFrameStage0Factory({
|
|
|
21
21
|
}],
|
|
22
22
|
toDOM() {
|
|
23
23
|
const attrs = {
|
|
24
|
-
'data-extension-frame': 'true'
|
|
24
|
+
'data-extension-frame': 'true',
|
|
25
|
+
// Frames are hidden by default and the active frame is revealed via CSS.
|
|
26
|
+
// Using an inline style ensures frames are invisible from the moment
|
|
27
|
+
// ProseMirror inserts them into the DOM, preventing a flash of all
|
|
28
|
+
// frames before the styles are injected.
|
|
29
|
+
style: 'display:none'
|
|
25
30
|
};
|
|
26
31
|
return ['div', attrs, 0];
|
|
27
32
|
}
|
|
@@ -21,7 +21,12 @@ export var extensionFrame = extensionFrameStage0Factory({
|
|
|
21
21
|
}],
|
|
22
22
|
toDOM: function toDOM() {
|
|
23
23
|
var attrs = {
|
|
24
|
-
'data-extension-frame': 'true'
|
|
24
|
+
'data-extension-frame': 'true',
|
|
25
|
+
// Frames are hidden by default and the active frame is revealed via CSS.
|
|
26
|
+
// Using an inline style ensures frames are invisible from the moment
|
|
27
|
+
// ProseMirror inserts them into the DOM, preventing a flash of all
|
|
28
|
+
// frames before the styles are injected.
|
|
29
|
+
style: 'display:none'
|
|
25
30
|
};
|
|
26
31
|
return ['div', attrs, 0];
|
|
27
32
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/adf-schema",
|
|
3
|
-
"version": "52.16.
|
|
3
|
+
"version": "52.16.4",
|
|
4
4
|
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@atlaskit/adf-schema-generator": "^2.4.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^92.0.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"css-color-names": "0.0.4",
|
|
45
45
|
"linkify-it": "^3.0.3",
|