@atlaskit/editor-plugin-status 16.0.12 → 16.0.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 +16 -0
- package/dist/cjs/nodeviews/StatusNodeView.js +2 -2
- package/dist/cjs/nodeviews/statusNodeSpec.js +3 -3
- package/dist/cjs/pm-plugins/actions.js +3 -3
- package/dist/cjs/ui/ContentComponent.js +3 -3
- package/dist/cjs/ui/statusPicker.js +4 -4
- package/dist/es2019/nodeviews/StatusNodeView.js +1 -1
- package/dist/es2019/nodeviews/statusNodeSpec.js +1 -1
- package/dist/es2019/pm-plugins/actions.js +1 -1
- package/dist/es2019/ui/ContentComponent.js +1 -1
- package/dist/es2019/ui/statusPicker.js +2 -2
- package/dist/esm/nodeviews/StatusNodeView.js +1 -1
- package/dist/esm/nodeviews/statusNodeSpec.js +1 -1
- package/dist/esm/pm-plugins/actions.js +1 -1
- package/dist/esm/ui/ContentComponent.js +1 -1
- package/dist/esm/ui/statusPicker.js +2 -2
- package/dist/types/ui/analytics.d.ts +2 -1
- package/dist/types/ui/statusPicker.d.ts +2 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-status
|
|
2
2
|
|
|
3
|
+
## 16.0.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`656801b9e097c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/656801b9e097c) -
|
|
8
|
+
VOLTC-331 - Migrate updated package usage in platform/editor: rewrite barrel imports of
|
|
9
|
+
voltCompliant provider packages to deep/subpath imports (consumer-side debarrel). No public API
|
|
10
|
+
changes.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 16.0.13
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 16.0.12
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -10,7 +10,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
11
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
12
12
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
13
|
-
var
|
|
13
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
14
14
|
var _statusNodeSpec = require("./statusNodeSpec");
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -67,7 +67,7 @@ var StatusNodeView = exports.StatusNodeView = /*#__PURE__*/function () {
|
|
|
67
67
|
// Also update data-text on outer wrapper for parseDOM extraction when copying
|
|
68
68
|
(_this$domElement = this.domElement) === null || _this$domElement === void 0 || _this$domElement.setAttribute('data-text', node.attrs.text);
|
|
69
69
|
}
|
|
70
|
-
if (this.textContainer && node.attrs.style !== this.node.attrs.style && (0,
|
|
70
|
+
if (this.textContainer && node.attrs.style !== this.node.attrs.style && (0, _fg.fg)('platform-dst-lozenge-tag-badge-visual-uplifts')) {
|
|
71
71
|
this.textContainer.style.textTransform = node.attrs.style !== 'mixedCase' ? 'uppercase' : '';
|
|
72
72
|
}
|
|
73
73
|
if (node.attrs.color !== this.node.attrs.color) {
|
|
@@ -9,7 +9,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
9
9
|
var _browser = require("@atlaskit/editor-common/browser");
|
|
10
10
|
var _lazyNodeView = require("@atlaskit/editor-common/lazy-node-view");
|
|
11
11
|
var _whitespace = require("@atlaskit/editor-common/whitespace");
|
|
12
|
-
var
|
|
12
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
13
13
|
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; }
|
|
14
14
|
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; }
|
|
15
15
|
// eg. Version/4.0 Chrome/95.0.4638.50
|
|
@@ -47,10 +47,10 @@ var statusToDOM = exports.statusToDOM = function statusToDOM(node) {
|
|
|
47
47
|
};
|
|
48
48
|
var lozengeTextAttrs = {
|
|
49
49
|
class: 'lozenge-text',
|
|
50
|
-
style: (0, _lazyNodeView.convertToInlineCss)(_objectSpread(_objectSpread({}, (0,
|
|
50
|
+
style: (0, _lazyNodeView.convertToInlineCss)(_objectSpread(_objectSpread({}, (0, _fg.fg)('platform-lozenge-custom-letterspacing') ? {
|
|
51
51
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
52
52
|
letterSpacing: '0.165px'
|
|
53
|
-
} : {}), style !== 'mixedCase' && (0,
|
|
53
|
+
} : {}), style !== 'mixedCase' && (0, _fg.fg)('platform-dst-lozenge-tag-badge-visual-uplifts') ? {
|
|
54
54
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
55
55
|
textTransform: 'uppercase'
|
|
56
56
|
} : {}))
|
|
@@ -13,7 +13,7 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
13
13
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
14
14
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
15
15
|
var _utils2 = require("@atlaskit/editor-prosemirror/utils");
|
|
16
|
-
var
|
|
16
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
17
17
|
var _pluginKey = require("./plugin-key");
|
|
18
18
|
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; }
|
|
19
19
|
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; } // oxlint-disable-next-line import/no-duplicates
|
|
@@ -42,7 +42,7 @@ var verifyAndInsertStatus = exports.verifyAndInsertStatus = function verifyAndIn
|
|
|
42
42
|
};
|
|
43
43
|
var createStatus = exports.createStatus = function createStatus(tr) {
|
|
44
44
|
var annotationMarksForPos = (0, _utils.getAnnotationMarksForPos)(tr.selection.$head);
|
|
45
|
-
var statusNode = tr.doc.type.schema.nodes.status.createChecked(_objectSpread(_objectSpread({}, (0,
|
|
45
|
+
var statusNode = tr.doc.type.schema.nodes.status.createChecked(_objectSpread(_objectSpread({}, (0, _fg.fg)('platform-dst-lozenge-tag-badge-visual-uplifts') ? DEFAULT_STATUS_NEW : DEFAULT_STATUS), {}, {
|
|
46
46
|
localId: _adfSchema.uuid.generate()
|
|
47
47
|
}), null, annotationMarksForPos);
|
|
48
48
|
return verifyAndInsertStatus(statusNode, tr, annotationMarksForPos);
|
|
@@ -73,7 +73,7 @@ var updateStatus = exports.updateStatus = function updateStatus(status) {
|
|
|
73
73
|
text: status.text.trim(),
|
|
74
74
|
localId: status.localId || _adfSchema.uuid.generate()
|
|
75
75
|
}) : status;
|
|
76
|
-
var statusProps = _objectSpread(_objectSpread({}, (0,
|
|
76
|
+
var statusProps = _objectSpread(_objectSpread({}, (0, _fg.fg)('platform-dst-lozenge-tag-badge-visual-uplifts') ? DEFAULT_STATUS_NEW : DEFAULT_STATUS), selectedStatus);
|
|
77
77
|
var tr = state.tr;
|
|
78
78
|
var _ref2 = _pluginKey.pluginKey.getState(state) || {},
|
|
79
79
|
showStatusPickerAt = _ref2.showStatusPickerAt;
|
|
@@ -10,7 +10,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
11
|
var _hooks = require("@atlaskit/editor-common/hooks");
|
|
12
12
|
var _utils = require("@atlaskit/editor-prosemirror/utils");
|
|
13
|
-
var
|
|
13
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
14
14
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
15
15
|
var _actions = require("../pm-plugins/actions");
|
|
16
16
|
var _getSuggestedStatuses = require("./getSuggestedStatuses");
|
|
@@ -95,7 +95,7 @@ function ContentComponent(_ref) {
|
|
|
95
95
|
text: text
|
|
96
96
|
},
|
|
97
97
|
doc: editorView.state.doc,
|
|
98
|
-
shouldUppercaseText: (0,
|
|
98
|
+
shouldUppercaseText: (0, _fg.fg)('platform-dst-lozenge-tag-badge-visual-uplifts')
|
|
99
99
|
});
|
|
100
100
|
}, [showStatusPickerAt, editorView.state.doc]);
|
|
101
101
|
if (typeof showStatusPickerAt !== 'number') {
|
|
@@ -109,7 +109,7 @@ function ContentComponent(_ref) {
|
|
|
109
109
|
color = _statusNode$attrs.color,
|
|
110
110
|
localId = _statusNode$attrs.localId,
|
|
111
111
|
style = _statusNode$attrs.style;
|
|
112
|
-
var displayText = style !== 'mixedCase' && (0,
|
|
112
|
+
var displayText = style !== 'mixedCase' && (0, _fg.fg)('platform-dst-lozenge-tag-badge-visual-uplifts') ? text.toUpperCase() : text;
|
|
113
113
|
return /*#__PURE__*/_react.default.createElement(_statusPicker.default, {
|
|
114
114
|
isNew: statusState === null || statusState === void 0 ? void 0 : statusState.isNew,
|
|
115
115
|
focusStatusInput: statusState === null || statusState === void 0 ? void 0 : statusState.focusStatusInput,
|
|
@@ -14,14 +14,14 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
14
14
|
var _react = _interopRequireDefault(require("react"));
|
|
15
15
|
var _react2 = require("@emotion/react");
|
|
16
16
|
var _reactIntl = require("react-intl");
|
|
17
|
-
var
|
|
17
|
+
var _withAnalyticsEvents = _interopRequireDefault(require("@atlaskit/analytics-next/withAnalyticsEvents"));
|
|
18
18
|
var _browserApis = require("@atlaskit/browser-apis");
|
|
19
19
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
20
20
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
21
21
|
var _uiReact = require("@atlaskit/editor-common/ui-react");
|
|
22
22
|
var _userIntent = require("@atlaskit/editor-common/user-intent");
|
|
23
23
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
24
|
-
var
|
|
24
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
25
25
|
var _element = require("@atlaskit/status/element");
|
|
26
26
|
var _picker = require("@atlaskit/status/picker");
|
|
27
27
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
@@ -406,7 +406,7 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
|
|
|
406
406
|
api: api,
|
|
407
407
|
userIntent: "statusPickerOpen"
|
|
408
408
|
}, (0, _react2.jsx)("div", {
|
|
409
|
-
css: (0,
|
|
409
|
+
css: (0, _fg.fg)('platform-dst-lozenge-tag-badge-visual-uplifts') ? pickerContainerStylesTeam26 : pickerContainerStyles,
|
|
410
410
|
role: "none",
|
|
411
411
|
ref: this.setRef(setOutsideClickTargetRef),
|
|
412
412
|
onClick: this.handlePopupClick,
|
|
@@ -507,5 +507,5 @@ var StatusPickerWithIntl = /*#__PURE__*/function (_React$Component) {
|
|
|
507
507
|
}]);
|
|
508
508
|
}(_react.default.Component); // eslint-disable-next-line @typescript-eslint/ban-types
|
|
509
509
|
var StatusPickerWithoutAnalytcs = exports.StatusPickerWithoutAnalytcs = (0, _reactIntl.injectIntl)(StatusPickerWithIntl);
|
|
510
|
-
var _default_1 = (0,
|
|
510
|
+
var _default_1 = (0, _withAnalyticsEvents.default)()(StatusPickerWithoutAnalytcs);
|
|
511
511
|
var _default = exports.default = _default_1;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
2
|
import { statusMessages as messages } from '@atlaskit/editor-common/messages';
|
|
3
3
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
import { statusToDOM } from './statusNodeSpec';
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
2
2
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
3
3
|
import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
|
|
6
6
|
// eg. Version/4.0 Chrome/95.0.4638.50
|
|
7
7
|
const isAndroidChromium = typeof window !== 'undefined' && /Version\/.* Chrome\/.*/u.test(window.navigator.userAgent);
|
|
@@ -6,7 +6,7 @@ import { getAnnotationMarksForPos } from '@atlaskit/editor-common/utils';
|
|
|
6
6
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
7
7
|
import { NodeSelection, Selection } from '@atlaskit/editor-prosemirror/state';
|
|
8
8
|
import { canInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
10
10
|
import { pluginKey } from './plugin-key';
|
|
11
11
|
export const DEFAULT_STATUS = {
|
|
12
12
|
text: '',
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useCallback, useMemo } from 'react';
|
|
2
2
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
|
3
3
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
5
5
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
6
6
|
import { commitStatusPicker, updateStatus } from '../pm-plugins/actions';
|
|
7
7
|
import { getSuggestedStatuses } from './getSuggestedStatuses';
|
|
@@ -9,14 +9,14 @@ import React from 'react';
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import { injectIntl } from 'react-intl';
|
|
12
|
-
import
|
|
12
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
13
13
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
14
14
|
import { statusMessages as messages } from '@atlaskit/editor-common/messages';
|
|
15
15
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
16
16
|
import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners as withOuterListeners } from '@atlaskit/editor-common/ui-react';
|
|
17
17
|
import { UserIntentPopupWrapper } from '@atlaskit/editor-common/user-intent';
|
|
18
18
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
|
|
19
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
20
20
|
import { Status } from '@atlaskit/status/element';
|
|
21
21
|
import { StatusPicker as AkStatusPicker } from '@atlaskit/status/picker';
|
|
22
22
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -3,7 +3,7 @@ import _createClass from "@babel/runtime/helpers/createClass";
|
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import { statusMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
6
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
7
7
|
import { statusToDOM } from './statusNodeSpec';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import { getBrowserInfo } from '@atlaskit/editor-common/browser';
|
|
5
5
|
import { convertToInlineCss } from '@atlaskit/editor-common/lazy-node-view';
|
|
6
6
|
import { ZERO_WIDTH_SPACE } from '@atlaskit/editor-common/whitespace';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
8
|
|
|
9
9
|
// eg. Version/4.0 Chrome/95.0.4638.50
|
|
10
10
|
var isAndroidChromium = typeof window !== 'undefined' && /Version\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])* Chrome\/(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*/.test(window.navigator.userAgent);
|
|
@@ -9,7 +9,7 @@ import { getAnnotationMarksForPos } from '@atlaskit/editor-common/utils';
|
|
|
9
9
|
import { Fragment } from '@atlaskit/editor-prosemirror/model';
|
|
10
10
|
import { NodeSelection, Selection } from '@atlaskit/editor-prosemirror/state';
|
|
11
11
|
import { canInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
12
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
12
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
13
13
|
import { pluginKey } from './plugin-key';
|
|
14
14
|
export var DEFAULT_STATUS = {
|
|
15
15
|
text: '',
|
|
@@ -4,7 +4,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
import React, { useCallback, useMemo } from 'react';
|
|
5
5
|
import { useSharedPluginState } from '@atlaskit/editor-common/hooks';
|
|
6
6
|
import { findDomRefAtPos } from '@atlaskit/editor-prosemirror/utils';
|
|
7
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
7
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
8
8
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
9
9
|
import { commitStatusPicker, updateStatus } from '../pm-plugins/actions';
|
|
10
10
|
import { getSuggestedStatuses } from './getSuggestedStatuses';
|
|
@@ -16,14 +16,14 @@ import React from 'react';
|
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
import { css, jsx } from '@emotion/react';
|
|
18
18
|
import { injectIntl } from 'react-intl';
|
|
19
|
-
import
|
|
19
|
+
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
20
20
|
import { getDocument } from '@atlaskit/browser-apis';
|
|
21
21
|
import { statusMessages as messages } from '@atlaskit/editor-common/messages';
|
|
22
22
|
import { Popup } from '@atlaskit/editor-common/ui';
|
|
23
23
|
import { OutsideClickTargetRefContext, withReactEditorViewOuterListeners as withOuterListeners } from '@atlaskit/editor-common/ui-react';
|
|
24
24
|
import { UserIntentPopupWrapper } from '@atlaskit/editor-common/user-intent';
|
|
25
25
|
import { akEditorFloatingDialogZIndex } from '@atlaskit/editor-shared-styles';
|
|
26
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
26
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
27
27
|
import { Status } from '@atlaskit/status/element';
|
|
28
28
|
import { StatusPicker as AkStatusPicker } from '@atlaskit/status/picker';
|
|
29
29
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { AnalyticsEventPayload
|
|
1
|
+
import type { AnalyticsEventPayload } from '@atlaskit/analytics-next/AnalyticsEvent';
|
|
2
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
2
3
|
export declare const FABRIC_CHANNEL = "fabric-elements";
|
|
3
4
|
export declare const createStatusAnalyticsAndFire: (createAnalyticsEvent?: CreateUIAnalyticsEvent) => (payload: AnalyticsEventPayload) => void;
|
|
4
5
|
export declare const analyticsState: (isNew: boolean | undefined) => 'new' | 'update';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { type WithIntlProps, type WrappedComponentProps } from 'react-intl';
|
|
3
|
-
import type { CreateUIAnalyticsEvent
|
|
3
|
+
import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
|
|
4
|
+
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
4
5
|
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
5
6
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
6
7
|
import type { ColorType as Color } from '@atlaskit/status/picker';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-status",
|
|
3
|
-
"version": "16.0.
|
|
3
|
+
"version": "16.0.14",
|
|
4
4
|
"description": "Status plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
34
34
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
35
35
|
"@atlaskit/status": "^5.8.0",
|
|
36
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
36
|
+
"@atlaskit/tmp-editor-statsig": "^159.0.0",
|
|
37
37
|
"@atlaskit/tokens": "^16.8.0",
|
|
38
38
|
"@atlaskit/visually-hidden": "^4.3.0",
|
|
39
39
|
"@babel/runtime": "^7.0.0",
|