@atlaskit/editor-plugin-expand 16.0.10 → 16.1.0
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 +22 -0
- package/dist/cjs/legacyExpand/commands.js +2 -2
- package/dist/cjs/legacyExpand/nodeviews/index.js +3 -2
- package/dist/cjs/singlePlayerExpand/commands.js +2 -2
- package/dist/cjs/singlePlayerExpand/node-views/index.js +2 -2
- package/dist/es2019/legacyExpand/commands.js +2 -2
- package/dist/es2019/legacyExpand/nodeviews/index.js +3 -2
- package/dist/es2019/singlePlayerExpand/commands.js +2 -2
- package/dist/es2019/singlePlayerExpand/node-views/index.js +2 -2
- package/dist/esm/legacyExpand/commands.js +2 -2
- package/dist/esm/legacyExpand/nodeviews/index.js +3 -2
- package/dist/esm/singlePlayerExpand/commands.js +2 -2
- package/dist/esm/singlePlayerExpand/node-views/index.js +2 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-expand
|
|
2
2
|
|
|
3
|
+
## 16.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`d96f86ff344b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d96f86ff344b8) -
|
|
8
|
+
Use @atlaskit/platform-feature-experiments directly for
|
|
9
|
+
platform_editor_vc90_transition_expand_icon, platform_editor_add_image_editing,
|
|
10
|
+
platform_editor_ai_multi_format_streaming, platform_editor_default_toolbar_state,
|
|
11
|
+
platform_editor_early_exit_return_draft, platform_editor_fix_focus_MediaInsertPicker,
|
|
12
|
+
platform_editor_fix_table_move_shortcut, platform_editor_menu_radius_update,
|
|
13
|
+
platform_editor_react19_migration, and show_mentions_in_suggest_reply.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
19
|
+
## 16.0.11
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
|
|
3
25
|
## 16.0.10
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -15,8 +15,8 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
15
15
|
var _state2 = require("@atlaskit/editor-prosemirror/state");
|
|
16
16
|
var _utils2 = require("@atlaskit/editor-prosemirror/utils");
|
|
17
17
|
var _utils3 = require("@atlaskit/editor-tables/utils");
|
|
18
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
18
19
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
19
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
20
20
|
var _utils4 = require("../utils");
|
|
21
21
|
var _pluginFactory = require("./pm-plugins/plugin-factory");
|
|
22
22
|
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; }
|
|
@@ -211,7 +211,7 @@ var focusIcon = exports.focusIcon = function focusIcon(expand) {
|
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
// TODO: ED-29205 - During platform_editor_vc90_transition_expand_icon cleanup, rename `iconContainer` to `iconButton`.
|
|
214
|
-
var iconContainer = (0,
|
|
214
|
+
var iconContainer = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vc90_transition_expand_icon') ? expand.querySelector(".".concat(_styles.expandClassNames.iconButton)) : expand.querySelector(".".concat(_styles.expandClassNames.iconContainer));
|
|
215
215
|
if (iconContainer && iconContainer.focus) {
|
|
216
216
|
var tr = state.tr;
|
|
217
217
|
var pos = state.selection.from;
|
|
@@ -19,6 +19,7 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
19
19
|
var _contentVisibility = require("@atlaskit/editor-common/utils/content-visibility");
|
|
20
20
|
var _model = require("@atlaskit/editor-prosemirror/model");
|
|
21
21
|
var _state = require("@atlaskit/editor-prosemirror/state");
|
|
22
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
22
23
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
23
24
|
var _prosemirrorHistory = require("@atlaskit/prosemirror-history");
|
|
24
25
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
@@ -543,7 +544,7 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
|
|
|
543
544
|
});
|
|
544
545
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
545
546
|
this.renderKey = (0, _v.default)();
|
|
546
|
-
if ((0,
|
|
547
|
+
if ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vc90_transition_expand_icon')) {
|
|
547
548
|
this.renderNativeIcon(this.node);
|
|
548
549
|
} else {
|
|
549
550
|
this.renderIcon(this.intl);
|
|
@@ -694,7 +695,7 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
|
|
|
694
695
|
// we toggle a class name to hide the content and animate the chevron.
|
|
695
696
|
if (this.dom) {
|
|
696
697
|
this.dom.classList.toggle(_styles.expandClassNames.expanded);
|
|
697
|
-
if ((0,
|
|
698
|
+
if ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vc90_transition_expand_icon')) {
|
|
698
699
|
this.renderNativeIcon(node);
|
|
699
700
|
} else {
|
|
700
701
|
this.renderIcon(this && this.intl, node);
|
|
@@ -17,8 +17,8 @@ var _utils = require("@atlaskit/editor-common/utils");
|
|
|
17
17
|
var _state2 = require("@atlaskit/editor-prosemirror/state");
|
|
18
18
|
var _utils2 = require("@atlaskit/editor-prosemirror/utils");
|
|
19
19
|
var _utils3 = require("@atlaskit/editor-tables/utils");
|
|
20
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
20
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
21
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
22
22
|
var _utils4 = require("../utils");
|
|
23
23
|
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; }
|
|
24
24
|
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; } // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
@@ -246,7 +246,7 @@ var focusIcon = exports.focusIcon = function focusIcon(expand) {
|
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
// TODO: ED-29205 - During platform_editor_vc90_transition_expand_icon cleanup, rename `iconContainer` to `iconButton`.
|
|
249
|
-
var iconContainer = (0,
|
|
249
|
+
var iconContainer = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vc90_transition_expand_icon') ? expand.querySelector(".".concat(_styles.expandClassNames.iconButton)) : expand.querySelector(".".concat(_styles.expandClassNames.iconContainer));
|
|
250
250
|
if (iconContainer && iconContainer.focus) {
|
|
251
251
|
var tr = state.tr;
|
|
252
252
|
var pos = state.selection.from;
|
|
@@ -522,7 +522,7 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
|
|
|
522
522
|
height: (0, _contentVisibility.estimateExpandIntrinsicHeight)(_this.node, !(0, _expand.isExpandCollapsed)(_this.node))
|
|
523
523
|
};
|
|
524
524
|
});
|
|
525
|
-
if ((0,
|
|
525
|
+
if ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vc90_transition_expand_icon')) {
|
|
526
526
|
this.renderNativeIcon(this.node);
|
|
527
527
|
} else {
|
|
528
528
|
this.renderIcon(this.icon, !(0, _expand.isExpandCollapsed)(this.node));
|
|
@@ -656,7 +656,7 @@ var ExpandNodeView = exports.ExpandNodeView = /*#__PURE__*/function () {
|
|
|
656
656
|
}).join(' ');
|
|
657
657
|
this.dom.className = findReplaceDecorationsApplied ? (0, _NodeView.buildExpandClassName)(node.type.name, expanded) + " ".concat(findReplaceDecorationsApplied) : (0, _NodeView.buildExpandClassName)(node.type.name, expanded);
|
|
658
658
|
// Re-render the icon to update the aria-expanded attribute
|
|
659
|
-
if ((0,
|
|
659
|
+
if ((0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_vc90_transition_expand_icon')) {
|
|
660
660
|
this.renderNativeIcon(node);
|
|
661
661
|
} else {
|
|
662
662
|
var _expandedState$get3;
|
|
@@ -7,8 +7,8 @@ import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
|
7
7
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
8
8
|
import { safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
9
9
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
10
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
10
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
11
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
12
|
import { isNestedInExpand } from '../utils';
|
|
13
13
|
import { createCommand } from './pm-plugins/plugin-factory';
|
|
14
14
|
export const setExpandRef = ref => createCommand({
|
|
@@ -191,7 +191,7 @@ export const focusIcon = expand => (state, dispatch, editorView) => {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
// TODO: ED-29205 - During platform_editor_vc90_transition_expand_icon cleanup, rename `iconContainer` to `iconButton`.
|
|
194
|
-
const iconContainer =
|
|
194
|
+
const iconContainer = isExperimentEnabled('platform_editor_vc90_transition_expand_icon') ? expand.querySelector(`.${expandClassNames.iconButton}`) : expand.querySelector(`.${expandClassNames.iconContainer}`);
|
|
195
195
|
if (iconContainer && iconContainer.focus) {
|
|
196
196
|
const {
|
|
197
197
|
tr
|
|
@@ -10,6 +10,7 @@ import { closestElement, isEmptyNode } from '@atlaskit/editor-common/utils';
|
|
|
10
10
|
import { applyContentVisibility, estimateExpandIntrinsicHeight } from '@atlaskit/editor-common/utils/content-visibility';
|
|
11
11
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
12
12
|
import { NodeSelection, Selection } from '@atlaskit/editor-prosemirror/state';
|
|
13
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
13
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
15
|
import { redo, undo } from '@atlaskit/prosemirror-history';
|
|
15
16
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -549,7 +550,7 @@ export class ExpandNodeView {
|
|
|
549
550
|
}));
|
|
550
551
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
551
552
|
this.renderKey = uuid();
|
|
552
|
-
if (
|
|
553
|
+
if (isExperimentEnabled('platform_editor_vc90_transition_expand_icon')) {
|
|
553
554
|
this.renderNativeIcon(this.node);
|
|
554
555
|
} else {
|
|
555
556
|
this.renderIcon(this.intl);
|
|
@@ -678,7 +679,7 @@ export class ExpandNodeView {
|
|
|
678
679
|
// we toggle a class name to hide the content and animate the chevron.
|
|
679
680
|
if (this.dom) {
|
|
680
681
|
this.dom.classList.toggle(expandClassNames.expanded);
|
|
681
|
-
if (
|
|
682
|
+
if (isExperimentEnabled('platform_editor_vc90_transition_expand_icon')) {
|
|
682
683
|
this.renderNativeIcon(node);
|
|
683
684
|
} else {
|
|
684
685
|
this.renderIcon(this && this.intl, node);
|
|
@@ -12,8 +12,8 @@ import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
|
12
12
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
13
13
|
import { findParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
14
14
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
15
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
15
16
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
16
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
17
17
|
import { isNestedInExpand } from '../utils';
|
|
18
18
|
|
|
19
19
|
// Creates either an expand or a nestedExpand node based on the current selection
|
|
@@ -227,7 +227,7 @@ export const focusIcon = expand => (state, dispatch, editorView) => {
|
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
// TODO: ED-29205 - During platform_editor_vc90_transition_expand_icon cleanup, rename `iconContainer` to `iconButton`.
|
|
230
|
-
const iconContainer =
|
|
230
|
+
const iconContainer = isExperimentEnabled('platform_editor_vc90_transition_expand_icon') ? expand.querySelector(`.${expandClassNames.iconButton}`) : expand.querySelector(`.${expandClassNames.iconContainer}`);
|
|
231
231
|
if (iconContainer && iconContainer.focus) {
|
|
232
232
|
const {
|
|
233
233
|
tr
|
|
@@ -524,7 +524,7 @@ export class ExpandNodeView {
|
|
|
524
524
|
applyContentVisibility(this.dom, this.isLimitedModeEnabled(), () => ({
|
|
525
525
|
height: estimateExpandIntrinsicHeight(this.node, !isExpandCollapsed(this.node))
|
|
526
526
|
}));
|
|
527
|
-
if (
|
|
527
|
+
if (isExperimentEnabled('platform_editor_vc90_transition_expand_icon')) {
|
|
528
528
|
this.renderNativeIcon(this.node);
|
|
529
529
|
} else {
|
|
530
530
|
this.renderIcon(this.icon, !isExpandCollapsed(this.node));
|
|
@@ -645,7 +645,7 @@ export class ExpandNodeView {
|
|
|
645
645
|
const findReplaceDecorationsApplied = classes.filter(className => findReplaceExpandDecorations.includes(className)).join(' ');
|
|
646
646
|
this.dom.className = findReplaceDecorationsApplied ? buildExpandClassName(node.type.name, expanded) + ` ${findReplaceDecorationsApplied}` : buildExpandClassName(node.type.name, expanded);
|
|
647
647
|
// Re-render the icon to update the aria-expanded attribute
|
|
648
|
-
if (
|
|
648
|
+
if (isExperimentEnabled('platform_editor_vc90_transition_expand_icon')) {
|
|
649
649
|
this.renderNativeIcon(node);
|
|
650
650
|
} else {
|
|
651
651
|
var _expandedState$get3;
|
|
@@ -10,8 +10,8 @@ import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
|
10
10
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
11
11
|
import { safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
12
12
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
13
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
13
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
15
15
|
import { isNestedInExpand } from '../utils';
|
|
16
16
|
import { createCommand } from './pm-plugins/plugin-factory';
|
|
17
17
|
export var setExpandRef = function setExpandRef(ref) {
|
|
@@ -204,7 +204,7 @@ export var focusIcon = function focusIcon(expand) {
|
|
|
204
204
|
}
|
|
205
205
|
|
|
206
206
|
// TODO: ED-29205 - During platform_editor_vc90_transition_expand_icon cleanup, rename `iconContainer` to `iconButton`.
|
|
207
|
-
var iconContainer =
|
|
207
|
+
var iconContainer = isExperimentEnabled('platform_editor_vc90_transition_expand_icon') ? expand.querySelector(".".concat(expandClassNames.iconButton)) : expand.querySelector(".".concat(expandClassNames.iconContainer));
|
|
208
208
|
if (iconContainer && iconContainer.focus) {
|
|
209
209
|
var tr = state.tr;
|
|
210
210
|
var pos = state.selection.from;
|
|
@@ -14,6 +14,7 @@ import { closestElement, isEmptyNode } from '@atlaskit/editor-common/utils';
|
|
|
14
14
|
import { applyContentVisibility, estimateExpandIntrinsicHeight } from '@atlaskit/editor-common/utils/content-visibility';
|
|
15
15
|
import { DOMSerializer } from '@atlaskit/editor-prosemirror/model';
|
|
16
16
|
import { NodeSelection, Selection } from '@atlaskit/editor-prosemirror/state';
|
|
17
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
17
18
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
19
|
import { redo, undo } from '@atlaskit/prosemirror-history';
|
|
19
20
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -536,7 +537,7 @@ export var ExpandNodeView = /*#__PURE__*/function () {
|
|
|
536
537
|
});
|
|
537
538
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
538
539
|
this.renderKey = uuid();
|
|
539
|
-
if (
|
|
540
|
+
if (isExperimentEnabled('platform_editor_vc90_transition_expand_icon')) {
|
|
540
541
|
this.renderNativeIcon(this.node);
|
|
541
542
|
} else {
|
|
542
543
|
this.renderIcon(this.intl);
|
|
@@ -687,7 +688,7 @@ export var ExpandNodeView = /*#__PURE__*/function () {
|
|
|
687
688
|
// we toggle a class name to hide the content and animate the chevron.
|
|
688
689
|
if (this.dom) {
|
|
689
690
|
this.dom.classList.toggle(expandClassNames.expanded);
|
|
690
|
-
if (
|
|
691
|
+
if (isExperimentEnabled('platform_editor_vc90_transition_expand_icon')) {
|
|
691
692
|
this.renderNativeIcon(node);
|
|
692
693
|
} else {
|
|
693
694
|
this.renderIcon(this && this.intl, node);
|
|
@@ -15,8 +15,8 @@ import { createWrapSelectionTransaction } from '@atlaskit/editor-common/utils';
|
|
|
15
15
|
import { Selection, TextSelection } from '@atlaskit/editor-prosemirror/state';
|
|
16
16
|
import { findParentNodeOfType, safeInsert } from '@atlaskit/editor-prosemirror/utils';
|
|
17
17
|
import { findTable } from '@atlaskit/editor-tables/utils';
|
|
18
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
18
19
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
19
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
20
|
import { isNestedInExpand } from '../utils';
|
|
21
21
|
|
|
22
22
|
// Creates either an expand or a nestedExpand node based on the current selection
|
|
@@ -242,7 +242,7 @@ export var focusIcon = function focusIcon(expand) {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
// TODO: ED-29205 - During platform_editor_vc90_transition_expand_icon cleanup, rename `iconContainer` to `iconButton`.
|
|
245
|
-
var iconContainer =
|
|
245
|
+
var iconContainer = isExperimentEnabled('platform_editor_vc90_transition_expand_icon') ? expand.querySelector(".".concat(expandClassNames.iconButton)) : expand.querySelector(".".concat(expandClassNames.iconContainer));
|
|
246
246
|
if (iconContainer && iconContainer.focus) {
|
|
247
247
|
var tr = state.tr;
|
|
248
248
|
var pos = state.selection.from;
|
|
@@ -514,7 +514,7 @@ export var ExpandNodeView = /*#__PURE__*/function () {
|
|
|
514
514
|
height: estimateExpandIntrinsicHeight(_this.node, !isExpandCollapsed(_this.node))
|
|
515
515
|
};
|
|
516
516
|
});
|
|
517
|
-
if (
|
|
517
|
+
if (isExperimentEnabled('platform_editor_vc90_transition_expand_icon')) {
|
|
518
518
|
this.renderNativeIcon(this.node);
|
|
519
519
|
} else {
|
|
520
520
|
this.renderIcon(this.icon, !isExpandCollapsed(this.node));
|
|
@@ -648,7 +648,7 @@ export var ExpandNodeView = /*#__PURE__*/function () {
|
|
|
648
648
|
}).join(' ');
|
|
649
649
|
this.dom.className = findReplaceDecorationsApplied ? buildExpandClassName(node.type.name, expanded) + " ".concat(findReplaceDecorationsApplied) : buildExpandClassName(node.type.name, expanded);
|
|
650
650
|
// Re-render the icon to update the aria-expanded attribute
|
|
651
|
-
if (
|
|
651
|
+
if (isExperimentEnabled('platform_editor_vc90_transition_expand_icon')) {
|
|
652
652
|
this.renderNativeIcon(node);
|
|
653
653
|
} else {
|
|
654
654
|
var _expandedState$get3;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-expand",
|
|
3
|
-
"version": "16.0
|
|
3
|
+
"version": "16.1.0",
|
|
4
4
|
"description": "Expand plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"atlaskit:src": "src/index.ts",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@atlaskit/adf-schema": "^57.0.0",
|
|
25
|
-
"@atlaskit/button": "^25.
|
|
25
|
+
"@atlaskit/button": "^25.2.0",
|
|
26
26
|
"@atlaskit/editor-plugin-analytics": "^15.0.0",
|
|
27
|
-
"@atlaskit/editor-plugin-block-controls": "^16.
|
|
28
|
-
"@atlaskit/editor-plugin-block-menu": "^14.
|
|
27
|
+
"@atlaskit/editor-plugin-block-controls": "^16.1.0",
|
|
28
|
+
"@atlaskit/editor-plugin-block-menu": "^14.2.0",
|
|
29
29
|
"@atlaskit/editor-plugin-decorations": "^15.0.0",
|
|
30
30
|
"@atlaskit/editor-plugin-editor-disabled": "^15.0.0",
|
|
31
31
|
"@atlaskit/editor-plugin-editor-viewmode": "^17.0.0",
|
|
@@ -36,23 +36,23 @@
|
|
|
36
36
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
37
37
|
"@atlaskit/editor-shared-styles": "^4.0.0",
|
|
38
38
|
"@atlaskit/editor-tables": "^3.0.0",
|
|
39
|
-
"@atlaskit/editor-toolbar": "^2.
|
|
39
|
+
"@atlaskit/editor-toolbar": "^2.6.0",
|
|
40
40
|
"@atlaskit/editor-ui-control-model": "^2.7.0",
|
|
41
|
-
"@atlaskit/icon": "^37.
|
|
42
|
-
"@atlaskit/icon-lab": "^7.
|
|
41
|
+
"@atlaskit/icon": "^37.5.0",
|
|
42
|
+
"@atlaskit/icon-lab": "^7.7.0",
|
|
43
43
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
45
45
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
47
|
-
"@atlaskit/tokens": "^16.
|
|
48
|
-
"@atlaskit/tooltip": "^24.
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^157.0.0",
|
|
47
|
+
"@atlaskit/tokens": "^16.8.0",
|
|
48
|
+
"@atlaskit/tooltip": "^24.2.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
|
50
50
|
"@emotion/react": "^11.7.1",
|
|
51
51
|
"uuid": "^3.1.0",
|
|
52
52
|
"w3c-keyname": "^2.1.8"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@atlaskit/editor-common": "^119.
|
|
55
|
+
"@atlaskit/editor-common": "^119.13.0",
|
|
56
56
|
"react": "^18.2.0 || ^19.2.0",
|
|
57
57
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
58
58
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|