@atlaskit/editor-plugin-status 3.1.16 → 3.1.17
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 +9 -0
- package/dist/cjs/nodeviews/statusNodeSpec.js +3 -0
- package/dist/es2019/nodeviews/statusNodeSpec.js +3 -0
- package/dist/esm/nodeviews/statusNodeSpec.js +3 -0
- package/dist/types/nodeviews/statusNodeSpec.d.ts +1 -0
- package/dist/types-ts4.5/nodeviews/statusNodeSpec.d.ts +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-status
|
|
2
2
|
|
|
3
|
+
## 3.1.17
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#154961](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/154961)
|
|
8
|
+
[`766001ae63324`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/766001ae63324) -
|
|
9
|
+
NOISSUE: fix bad ssr render on vanilla status node
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 3.1.16
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -99,6 +99,7 @@ var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B
|
|
|
99
99
|
* Wrapper for ADF status node spec to augment toDOM implementation
|
|
100
100
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
101
101
|
* @returns
|
|
102
|
+
* @example
|
|
102
103
|
*/
|
|
103
104
|
var statusNodeSpec = exports.statusNodeSpec = function statusNodeSpec() {
|
|
104
105
|
if (isSSR) {
|
|
@@ -137,6 +138,7 @@ var statusNodeSpec = exports.statusNodeSpec = function statusNodeSpec() {
|
|
|
137
138
|
class: 'status-lozenge-span',
|
|
138
139
|
'aria-busy': 'true',
|
|
139
140
|
'data-node-type': 'status',
|
|
141
|
+
'data-prosemirror-node-name': 'status',
|
|
140
142
|
'data-color': color,
|
|
141
143
|
'data-style': style
|
|
142
144
|
};
|
|
@@ -230,6 +232,7 @@ var statusToDOM = exports.statusToDOM = function statusToDOM(node) {
|
|
|
230
232
|
class: 'statusView-content-wrap inlineNodeView',
|
|
231
233
|
'data-testid': 'statusContainerView',
|
|
232
234
|
'data-prosemirror-node-view-type': 'vanilla',
|
|
235
|
+
'data-prosemirror-node-name': 'status',
|
|
233
236
|
'local-id': localId
|
|
234
237
|
};
|
|
235
238
|
var statusElementAttrs = {
|
|
@@ -89,6 +89,7 @@ const isAndroidChromium = typeof window !== 'undefined' && /Version\/.* Chrome\/
|
|
|
89
89
|
* Wrapper for ADF status node spec to augment toDOM implementation
|
|
90
90
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
91
91
|
* @returns
|
|
92
|
+
* @example
|
|
92
93
|
*/
|
|
93
94
|
export const statusNodeSpec = () => {
|
|
94
95
|
if (isSSR) {
|
|
@@ -129,6 +130,7 @@ export const statusNodeSpec = () => {
|
|
|
129
130
|
class: 'status-lozenge-span',
|
|
130
131
|
'aria-busy': 'true',
|
|
131
132
|
'data-node-type': 'status',
|
|
133
|
+
'data-prosemirror-node-name': 'status',
|
|
132
134
|
'data-color': color,
|
|
133
135
|
'data-style': style
|
|
134
136
|
};
|
|
@@ -226,6 +228,7 @@ export const statusToDOM = node => {
|
|
|
226
228
|
class: 'statusView-content-wrap inlineNodeView',
|
|
227
229
|
'data-testid': 'statusContainerView',
|
|
228
230
|
'data-prosemirror-node-view-type': 'vanilla',
|
|
231
|
+
'data-prosemirror-node-name': 'status',
|
|
229
232
|
'local-id': localId
|
|
230
233
|
};
|
|
231
234
|
const statusElementAttrs = {
|
|
@@ -92,6 +92,7 @@ var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B
|
|
|
92
92
|
* Wrapper for ADF status node spec to augment toDOM implementation
|
|
93
93
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
94
94
|
* @returns
|
|
95
|
+
* @example
|
|
95
96
|
*/
|
|
96
97
|
export var statusNodeSpec = function statusNodeSpec() {
|
|
97
98
|
if (isSSR) {
|
|
@@ -130,6 +131,7 @@ export var statusNodeSpec = function statusNodeSpec() {
|
|
|
130
131
|
class: 'status-lozenge-span',
|
|
131
132
|
'aria-busy': 'true',
|
|
132
133
|
'data-node-type': 'status',
|
|
134
|
+
'data-prosemirror-node-name': 'status',
|
|
133
135
|
'data-color': color,
|
|
134
136
|
'data-style': style
|
|
135
137
|
};
|
|
@@ -223,6 +225,7 @@ export var statusToDOM = function statusToDOM(node) {
|
|
|
223
225
|
class: 'statusView-content-wrap inlineNodeView',
|
|
224
226
|
'data-testid': 'statusContainerView',
|
|
225
227
|
'data-prosemirror-node-view-type': 'vanilla',
|
|
228
|
+
'data-prosemirror-node-name': 'status',
|
|
226
229
|
'local-id': localId
|
|
227
230
|
};
|
|
228
231
|
var statusElementAttrs = {
|
|
@@ -3,6 +3,7 @@ import type { DOMOutputSpec, Node as PMNode } from '@atlaskit/editor-prosemirror
|
|
|
3
3
|
* Wrapper for ADF status node spec to augment toDOM implementation
|
|
4
4
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
5
5
|
* @returns
|
|
6
|
+
* @example
|
|
6
7
|
*/
|
|
7
8
|
export declare const statusNodeSpec: () => import("prosemirror-model").NodeSpec;
|
|
8
9
|
export declare const statusToDOM: (node: PMNode) => DOMOutputSpec;
|
|
@@ -3,6 +3,7 @@ import type { DOMOutputSpec, Node as PMNode } from '@atlaskit/editor-prosemirror
|
|
|
3
3
|
* Wrapper for ADF status node spec to augment toDOM implementation
|
|
4
4
|
* with fallback UI for lazy node view rendering / window virtualization
|
|
5
5
|
* @returns
|
|
6
|
+
* @example
|
|
6
7
|
*/
|
|
7
8
|
export declare const statusNodeSpec: () => import("prosemirror-model").NodeSpec;
|
|
8
9
|
export declare const statusToDOM: (node: PMNode) => DOMOutputSpec;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-status",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.17",
|
|
4
4
|
"description": "Status plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/adf-schema": "^47.6.0",
|
|
37
37
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
38
|
-
"@atlaskit/editor-common": "^105.
|
|
39
|
-
"@atlaskit/editor-plugin-analytics": "^2.
|
|
38
|
+
"@atlaskit/editor-common": "^105.2.0",
|
|
39
|
+
"@atlaskit/editor-plugin-analytics": "^2.3.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
42
42
|
"@atlaskit/icon": "^26.0.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/status": "^3.0.0",
|
|
45
45
|
"@atlaskit/theme": "^18.0.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^4.21.0",
|
|
47
47
|
"@atlaskit/tokens": "^4.8.0",
|
|
48
48
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|