@atlaskit/editor-plugin-status 3.1.12 → 3.1.14
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,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-status
|
|
2
2
|
|
|
3
|
+
## 3.1.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#150908](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/150908)
|
|
8
|
+
[`0ab8e0f1007ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0ab8e0f1007ea) -
|
|
9
|
+
NOISSUE: fix status selection within tables
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 3.1.13
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#148798](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/148798)
|
|
17
|
+
[`8112e98809756`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8112e98809756) -
|
|
18
|
+
[No Issue] Clean up virtualization feature flag
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 3.1.12
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -9,9 +9,9 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _reactIntlNext = require("react-intl-next");
|
|
10
10
|
var _adfSchema = require("@atlaskit/adf-schema");
|
|
11
11
|
var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
|
|
12
|
+
var _utils = require("@atlaskit/editor-common/utils");
|
|
12
13
|
var _whitespace = require("@atlaskit/editor-common/whitespace");
|
|
13
14
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
14
|
-
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
15
15
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
16
16
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
17
17
|
var isSSR = Boolean(process.env.REACT_SSR);
|
|
@@ -101,7 +101,7 @@ var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B
|
|
|
101
101
|
* @returns
|
|
102
102
|
*/
|
|
103
103
|
var statusNodeSpec = exports.statusNodeSpec = function statusNodeSpec() {
|
|
104
|
-
if (isSSR
|
|
104
|
+
if (isSSR) {
|
|
105
105
|
return _adfSchema.status;
|
|
106
106
|
}
|
|
107
107
|
return _objectSpread(_objectSpread({}, _adfSchema.status), {}, {
|
|
@@ -230,7 +230,6 @@ var statusToDOM = exports.statusToDOM = function statusToDOM(node) {
|
|
|
230
230
|
class: 'statusView-content-wrap inlineNodeView',
|
|
231
231
|
'data-testid': 'statusContainerView',
|
|
232
232
|
'data-prosemirror-node-view-type': 'vanilla',
|
|
233
|
-
'data-prosemirror-node-name': 'status',
|
|
234
233
|
'local-id': localId
|
|
235
234
|
};
|
|
236
235
|
var statusElementAttrs = {
|
|
@@ -258,7 +257,12 @@ var statusToDOM = exports.statusToDOM = function statusToDOM(node) {
|
|
|
258
257
|
class: 'zeroWidthSpaceContainer'
|
|
259
258
|
}, ['span', {
|
|
260
259
|
class: 'inlineNodeViewAddZeroWidthSpace'
|
|
261
|
-
}, _whitespace.ZERO_WIDTH_SPACE]], ['span', statusElementAttrs, ['span', lozengeWrapperAttrs, ['span', lozengeTextAttrs, text]]], ['span', {
|
|
260
|
+
}, _whitespace.ZERO_WIDTH_SPACE]], ['span', statusElementAttrs, ['span', lozengeWrapperAttrs, ['span', lozengeTextAttrs, text]]], _utils.browser.android ? ['span', {
|
|
261
|
+
class: 'zeroWidthSpaceContainer',
|
|
262
|
+
contentEditable: 'false'
|
|
263
|
+
}, ['span', {
|
|
264
|
+
class: 'inlineNodeViewAddZeroWidthSpace'
|
|
265
|
+
}, _whitespace.ZERO_WIDTH_SPACE]] : ['span', {
|
|
262
266
|
class: 'inlineNodeViewAddZeroWidthSpace'
|
|
263
|
-
},
|
|
267
|
+
}, '']];
|
|
264
268
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createIntl } from 'react-intl-next';
|
|
2
2
|
import { status } from '@atlaskit/adf-schema';
|
|
3
3
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
4
|
+
import { browser } from '@atlaskit/editor-common/utils';
|
|
4
5
|
import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
|
|
5
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
7
7
|
const isSSR = Boolean(process.env.REACT_SSR);
|
|
8
8
|
let intl;
|
|
9
9
|
|
|
@@ -91,7 +91,7 @@ const isAndroidChromium = typeof window !== 'undefined' && /Version\/.* Chrome\/
|
|
|
91
91
|
* @returns
|
|
92
92
|
*/
|
|
93
93
|
export const statusNodeSpec = () => {
|
|
94
|
-
if (isSSR
|
|
94
|
+
if (isSSR) {
|
|
95
95
|
return status;
|
|
96
96
|
}
|
|
97
97
|
return {
|
|
@@ -226,7 +226,6 @@ export const statusToDOM = node => {
|
|
|
226
226
|
class: 'statusView-content-wrap inlineNodeView',
|
|
227
227
|
'data-testid': 'statusContainerView',
|
|
228
228
|
'data-prosemirror-node-view-type': 'vanilla',
|
|
229
|
-
'data-prosemirror-node-name': 'status',
|
|
230
229
|
'local-id': localId
|
|
231
230
|
};
|
|
232
231
|
const statusElementAttrs = {
|
|
@@ -256,7 +255,12 @@ export const statusToDOM = node => {
|
|
|
256
255
|
class: 'zeroWidthSpaceContainer'
|
|
257
256
|
}, ['span', {
|
|
258
257
|
class: 'inlineNodeViewAddZeroWidthSpace'
|
|
259
|
-
}, ZERO_WIDTH_SPACE]], ['span', statusElementAttrs, ['span', lozengeWrapperAttrs, ['span', lozengeTextAttrs, text]]], ['span', {
|
|
258
|
+
}, ZERO_WIDTH_SPACE]], ['span', statusElementAttrs, ['span', lozengeWrapperAttrs, ['span', lozengeTextAttrs, text]]], browser.android ? ['span', {
|
|
259
|
+
class: 'zeroWidthSpaceContainer',
|
|
260
|
+
contentEditable: 'false'
|
|
261
|
+
}, ['span', {
|
|
262
|
+
class: 'inlineNodeViewAddZeroWidthSpace'
|
|
263
|
+
}, ZERO_WIDTH_SPACE]] : ['span', {
|
|
260
264
|
class: 'inlineNodeViewAddZeroWidthSpace'
|
|
261
|
-
},
|
|
265
|
+
}, '']];
|
|
262
266
|
};
|
|
@@ -4,9 +4,9 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { createIntl } from 'react-intl-next';
|
|
5
5
|
import { status } from '@atlaskit/adf-schema';
|
|
6
6
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
7
|
+
import { browser } from '@atlaskit/editor-common/utils';
|
|
7
8
|
import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
|
|
8
9
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
10
10
|
var isSSR = Boolean(process.env.REACT_SSR);
|
|
11
11
|
var intl;
|
|
12
12
|
|
|
@@ -94,7 +94,7 @@ var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B
|
|
|
94
94
|
* @returns
|
|
95
95
|
*/
|
|
96
96
|
export var statusNodeSpec = function statusNodeSpec() {
|
|
97
|
-
if (isSSR
|
|
97
|
+
if (isSSR) {
|
|
98
98
|
return status;
|
|
99
99
|
}
|
|
100
100
|
return _objectSpread(_objectSpread({}, status), {}, {
|
|
@@ -223,7 +223,6 @@ export var statusToDOM = function statusToDOM(node) {
|
|
|
223
223
|
class: 'statusView-content-wrap inlineNodeView',
|
|
224
224
|
'data-testid': 'statusContainerView',
|
|
225
225
|
'data-prosemirror-node-view-type': 'vanilla',
|
|
226
|
-
'data-prosemirror-node-name': 'status',
|
|
227
226
|
'local-id': localId
|
|
228
227
|
};
|
|
229
228
|
var statusElementAttrs = {
|
|
@@ -251,7 +250,12 @@ export var statusToDOM = function statusToDOM(node) {
|
|
|
251
250
|
class: 'zeroWidthSpaceContainer'
|
|
252
251
|
}, ['span', {
|
|
253
252
|
class: 'inlineNodeViewAddZeroWidthSpace'
|
|
254
|
-
}, ZERO_WIDTH_SPACE]], ['span', statusElementAttrs, ['span', lozengeWrapperAttrs, ['span', lozengeTextAttrs, text]]], ['span', {
|
|
253
|
+
}, ZERO_WIDTH_SPACE]], ['span', statusElementAttrs, ['span', lozengeWrapperAttrs, ['span', lozengeTextAttrs, text]]], browser.android ? ['span', {
|
|
254
|
+
class: 'zeroWidthSpaceContainer',
|
|
255
|
+
contentEditable: 'false'
|
|
256
|
+
}, ['span', {
|
|
257
|
+
class: 'inlineNodeViewAddZeroWidthSpace'
|
|
258
|
+
}, ZERO_WIDTH_SPACE]] : ['span', {
|
|
255
259
|
class: 'inlineNodeViewAddZeroWidthSpace'
|
|
256
|
-
},
|
|
260
|
+
}, '']];
|
|
257
261
|
};
|
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.14",
|
|
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": "^
|
|
38
|
+
"@atlaskit/editor-common": "^104.1.0",
|
|
39
39
|
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
41
41
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
42
|
-
"@atlaskit/icon": "^25.
|
|
42
|
+
"@atlaskit/icon": "^25.7.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.18.0",
|
|
47
47
|
"@atlaskit/tokens": "^4.8.0",
|
|
48
48
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|