@atlaskit/editor-plugin-floating-toolbar 5.1.7 → 5.1.9
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 +18 -0
- package/dist/cjs/ui/Toolbar.js +11 -12
- package/dist/es2019/ui/Toolbar.js +11 -12
- package/dist/esm/ui/Toolbar.js +11 -12
- package/dist/types/pm-plugins/toolbar-data/plugin-factory.d.ts +1 -1
- package/dist/types/ui/DropdownMenu.d.ts +0 -1
- package/dist/types/ui/EmojiPickerButton.d.ts +0 -1
- package/dist/types-ts4.5/pm-plugins/toolbar-data/plugin-factory.d.ts +1 -1
- package/dist/types-ts4.5/ui/DropdownMenu.d.ts +0 -1
- package/dist/types-ts4.5/ui/EmojiPickerButton.d.ts +0 -1
- package/package.json +5 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-floating-toolbar
|
|
2
2
|
|
|
3
|
+
## 5.1.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#199297](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/199297)
|
|
8
|
+
[`db78bb9b404cc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/db78bb9b404cc) -
|
|
9
|
+
ED-28967 cleanup platform_editor_floating_toolbar_padding_fix
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 5.1.8
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- [#197019](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/197019)
|
|
17
|
+
[`a0cb47e879f31`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a0cb47e879f31) -
|
|
18
|
+
ENGHEALTH-32239 Only group as radio button if not explicitly set to false behind FG
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 5.1.7
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/ui/Toolbar.js
CHANGED
|
@@ -26,7 +26,6 @@ var _uiColor = require("@atlaskit/editor-common/ui-color");
|
|
|
26
26
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
27
27
|
var _editorPalette = require("@atlaskit/editor-palette");
|
|
28
28
|
var _showMoreHorizontal = _interopRequireDefault(require("@atlaskit/icon/core/show-more-horizontal"));
|
|
29
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
30
29
|
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
31
30
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
32
31
|
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
@@ -53,7 +52,10 @@ function groupItems(items) {
|
|
|
53
52
|
var notLastItem = i < items.length - 1;
|
|
54
53
|
var nextItemIsButton = items[i + 1] && items[i + 1].type === 'button';
|
|
55
54
|
var wasPreviousButton = items[i - 1] && items[i - 1].type === 'button';
|
|
56
|
-
var
|
|
55
|
+
var shouldBeRadioButton = notLastItem && nextItemIsButton || wasPreviousButton;
|
|
56
|
+
|
|
57
|
+
// Only group as radio button if not explicitly set to false
|
|
58
|
+
var isRadioButton = !(0, _expValEquals.expValEquals)('platform_editor_august_a11y', 'isEnabled', true) ? shouldBeRadioButton : shouldBeRadioButton && item.isRadioButton !== false;
|
|
57
59
|
if (isRadioButton) {
|
|
58
60
|
item.isRadioButton = true;
|
|
59
61
|
buttonGroup.push(item);
|
|
@@ -135,15 +137,15 @@ var ToolbarItems = /*#__PURE__*/_react.default.memo(function (_ref) {
|
|
|
135
137
|
icon: item.icon ? item.iconFallback ? (0, _react2.jsx)(ButtonIcon, {
|
|
136
138
|
color: getIconColor(item.disabled, item.selected),
|
|
137
139
|
spacing: "spacious",
|
|
138
|
-
label:
|
|
140
|
+
label: undefined,
|
|
139
141
|
LEGACY_fallbackIcon: item.iconFallback,
|
|
140
142
|
LEGACY_primaryColor: "currentColor",
|
|
141
143
|
Legacy_secondaryColor: "var(--ds-surface, #FFFFFF)",
|
|
142
|
-
"aria-hidden":
|
|
144
|
+
"aria-hidden": true // Icon is described by the button for screen readers
|
|
143
145
|
}) : (0, _react2.jsx)(ButtonIcon, {
|
|
144
146
|
spacing: "spacious",
|
|
145
|
-
label:
|
|
146
|
-
"aria-hidden":
|
|
147
|
+
label: undefined,
|
|
148
|
+
"aria-hidden": true // Icon is described by the button for screen readers
|
|
147
149
|
}) : undefined,
|
|
148
150
|
iconAfter: item.iconAfter ? (0, _react2.jsx)(item.iconAfter, {
|
|
149
151
|
label: ""
|
|
@@ -470,8 +472,7 @@ var toolbarContainer = function toolbarContainer(scrollable, hasSelect, firstEle
|
|
|
470
472
|
var toolbarOverflow = function toolbarOverflow(_ref2) {
|
|
471
473
|
var scrollable = _ref2.scrollable,
|
|
472
474
|
scrollDisabled = _ref2.scrollDisabled,
|
|
473
|
-
firstElementIsSelect = _ref2.firstElementIsSelect
|
|
474
|
-
paddingFeatureFlag = _ref2.paddingFeatureFlag;
|
|
475
|
+
firstElementIsSelect = _ref2.firstElementIsSelect;
|
|
475
476
|
return (0, _react2.css)(
|
|
476
477
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
477
478
|
scrollable ?
|
|
@@ -492,7 +493,7 @@ var toolbarOverflow = function toolbarOverflow(_ref2) {
|
|
|
492
493
|
}), {
|
|
493
494
|
WebkitOverflowScrolling: 'touch',
|
|
494
495
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
495
|
-
padding:
|
|
496
|
+
padding: "var(--ds-space-050, 4px)".concat(" 0 ", "var(--ds-space-050, 4px)"),
|
|
496
497
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
497
498
|
'> div': {
|
|
498
499
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -708,9 +709,7 @@ var Toolbar = /*#__PURE__*/function (_Component) {
|
|
|
708
709
|
css: toolbarOverflow({
|
|
709
710
|
scrollable: scrollable,
|
|
710
711
|
scrollDisabled: this.state.scrollDisabled,
|
|
711
|
-
firstElementIsSelect: firstElementIsSelect
|
|
712
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
713
|
-
paddingFeatureFlag: (0, _platformFeatureFlags.fg)('platform_editor_floating_toolbar_padding_fix')
|
|
712
|
+
firstElementIsSelect: firstElementIsSelect
|
|
714
713
|
})
|
|
715
714
|
}, (0, _react2.jsx)(ToolbarItems
|
|
716
715
|
// Ignored via go/ees005
|
|
@@ -19,7 +19,6 @@ import { backgroundPaletteTooltipMessages } from '@atlaskit/editor-common/ui-col
|
|
|
19
19
|
import { ColorPickerButton, ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
20
20
|
import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
|
|
21
21
|
import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
22
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
23
22
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
24
23
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
25
24
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -42,7 +41,10 @@ export function groupItems(items) {
|
|
|
42
41
|
const notLastItem = i < items.length - 1;
|
|
43
42
|
const nextItemIsButton = items[i + 1] && items[i + 1].type === 'button';
|
|
44
43
|
const wasPreviousButton = items[i - 1] && items[i - 1].type === 'button';
|
|
45
|
-
const
|
|
44
|
+
const shouldBeRadioButton = notLastItem && nextItemIsButton || wasPreviousButton;
|
|
45
|
+
|
|
46
|
+
// Only group as radio button if not explicitly set to false
|
|
47
|
+
const isRadioButton = !expValEquals('platform_editor_august_a11y', 'isEnabled', true) ? shouldBeRadioButton : shouldBeRadioButton && item.isRadioButton !== false;
|
|
46
48
|
if (isRadioButton) {
|
|
47
49
|
item.isRadioButton = true;
|
|
48
50
|
buttonGroup.push(item);
|
|
@@ -125,15 +127,15 @@ const ToolbarItems = /*#__PURE__*/React.memo(({
|
|
|
125
127
|
icon: item.icon ? item.iconFallback ? jsx(ButtonIcon, {
|
|
126
128
|
color: getIconColor(item.disabled, item.selected),
|
|
127
129
|
spacing: "spacious",
|
|
128
|
-
label:
|
|
130
|
+
label: undefined,
|
|
129
131
|
LEGACY_fallbackIcon: item.iconFallback,
|
|
130
132
|
LEGACY_primaryColor: "currentColor",
|
|
131
133
|
Legacy_secondaryColor: "var(--ds-surface, #FFFFFF)",
|
|
132
|
-
"aria-hidden":
|
|
134
|
+
"aria-hidden": true // Icon is described by the button for screen readers
|
|
133
135
|
}) : jsx(ButtonIcon, {
|
|
134
136
|
spacing: "spacious",
|
|
135
|
-
label:
|
|
136
|
-
"aria-hidden":
|
|
137
|
+
label: undefined,
|
|
138
|
+
"aria-hidden": true // Icon is described by the button for screen readers
|
|
137
139
|
}) : undefined,
|
|
138
140
|
iconAfter: item.iconAfter ? jsx(item.iconAfter, {
|
|
139
141
|
label: ""
|
|
@@ -436,8 +438,7 @@ css({
|
|
|
436
438
|
const toolbarOverflow = ({
|
|
437
439
|
scrollable,
|
|
438
440
|
scrollDisabled,
|
|
439
|
-
firstElementIsSelect
|
|
440
|
-
paddingFeatureFlag
|
|
441
|
+
firstElementIsSelect
|
|
441
442
|
}) => css(
|
|
442
443
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
443
444
|
scrollable ?
|
|
@@ -458,7 +459,7 @@ css({
|
|
|
458
459
|
}), {
|
|
459
460
|
WebkitOverflowScrolling: 'touch',
|
|
460
461
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
461
|
-
padding:
|
|
462
|
+
padding: `${"var(--ds-space-050, 4px)"} 0 ${"var(--ds-space-050, 4px)"}`,
|
|
462
463
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
463
464
|
'> div': {
|
|
464
465
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -658,9 +659,7 @@ class Toolbar extends Component {
|
|
|
658
659
|
css: toolbarOverflow({
|
|
659
660
|
scrollable,
|
|
660
661
|
scrollDisabled: this.state.scrollDisabled,
|
|
661
|
-
firstElementIsSelect
|
|
662
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
663
|
-
paddingFeatureFlag: fg('platform_editor_floating_toolbar_padding_fix')
|
|
662
|
+
firstElementIsSelect
|
|
664
663
|
})
|
|
665
664
|
}, jsx(ToolbarItems
|
|
666
665
|
// Ignored via go/ees005
|
package/dist/esm/ui/Toolbar.js
CHANGED
|
@@ -26,7 +26,6 @@ import { backgroundPaletteTooltipMessages } from '@atlaskit/editor-common/ui-col
|
|
|
26
26
|
import { ColorPickerButton, ToolbarArrowKeyNavigationProvider } from '@atlaskit/editor-common/ui-menu';
|
|
27
27
|
import { hexToEditorBackgroundPaletteColor } from '@atlaskit/editor-palette';
|
|
28
28
|
import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
|
|
29
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
30
29
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
31
30
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
32
31
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
@@ -47,7 +46,10 @@ export function groupItems(items) {
|
|
|
47
46
|
var notLastItem = i < items.length - 1;
|
|
48
47
|
var nextItemIsButton = items[i + 1] && items[i + 1].type === 'button';
|
|
49
48
|
var wasPreviousButton = items[i - 1] && items[i - 1].type === 'button';
|
|
50
|
-
var
|
|
49
|
+
var shouldBeRadioButton = notLastItem && nextItemIsButton || wasPreviousButton;
|
|
50
|
+
|
|
51
|
+
// Only group as radio button if not explicitly set to false
|
|
52
|
+
var isRadioButton = !expValEquals('platform_editor_august_a11y', 'isEnabled', true) ? shouldBeRadioButton : shouldBeRadioButton && item.isRadioButton !== false;
|
|
51
53
|
if (isRadioButton) {
|
|
52
54
|
item.isRadioButton = true;
|
|
53
55
|
buttonGroup.push(item);
|
|
@@ -129,15 +131,15 @@ var ToolbarItems = /*#__PURE__*/React.memo(function (_ref) {
|
|
|
129
131
|
icon: item.icon ? item.iconFallback ? jsx(ButtonIcon, {
|
|
130
132
|
color: getIconColor(item.disabled, item.selected),
|
|
131
133
|
spacing: "spacious",
|
|
132
|
-
label:
|
|
134
|
+
label: undefined,
|
|
133
135
|
LEGACY_fallbackIcon: item.iconFallback,
|
|
134
136
|
LEGACY_primaryColor: "currentColor",
|
|
135
137
|
Legacy_secondaryColor: "var(--ds-surface, #FFFFFF)",
|
|
136
|
-
"aria-hidden":
|
|
138
|
+
"aria-hidden": true // Icon is described by the button for screen readers
|
|
137
139
|
}) : jsx(ButtonIcon, {
|
|
138
140
|
spacing: "spacious",
|
|
139
|
-
label:
|
|
140
|
-
"aria-hidden":
|
|
141
|
+
label: undefined,
|
|
142
|
+
"aria-hidden": true // Icon is described by the button for screen readers
|
|
141
143
|
}) : undefined,
|
|
142
144
|
iconAfter: item.iconAfter ? jsx(item.iconAfter, {
|
|
143
145
|
label: ""
|
|
@@ -464,8 +466,7 @@ var toolbarContainer = function toolbarContainer(scrollable, hasSelect, firstEle
|
|
|
464
466
|
var toolbarOverflow = function toolbarOverflow(_ref2) {
|
|
465
467
|
var scrollable = _ref2.scrollable,
|
|
466
468
|
scrollDisabled = _ref2.scrollDisabled,
|
|
467
|
-
firstElementIsSelect = _ref2.firstElementIsSelect
|
|
468
|
-
paddingFeatureFlag = _ref2.paddingFeatureFlag;
|
|
469
|
+
firstElementIsSelect = _ref2.firstElementIsSelect;
|
|
469
470
|
return css(
|
|
470
471
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
471
472
|
scrollable ?
|
|
@@ -486,7 +487,7 @@ var toolbarOverflow = function toolbarOverflow(_ref2) {
|
|
|
486
487
|
}), {
|
|
487
488
|
WebkitOverflowScrolling: 'touch',
|
|
488
489
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
489
|
-
padding:
|
|
490
|
+
padding: "var(--ds-space-050, 4px)".concat(" 0 ", "var(--ds-space-050, 4px)"),
|
|
490
491
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
491
492
|
'> div': {
|
|
492
493
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -702,9 +703,7 @@ var Toolbar = /*#__PURE__*/function (_Component) {
|
|
|
702
703
|
css: toolbarOverflow({
|
|
703
704
|
scrollable: scrollable,
|
|
704
705
|
scrollDisabled: this.state.scrollDisabled,
|
|
705
|
-
firstElementIsSelect: firstElementIsSelect
|
|
706
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
|
|
707
|
-
paddingFeatureFlag: fg('platform_editor_floating_toolbar_padding_fix')
|
|
706
|
+
firstElementIsSelect: firstElementIsSelect
|
|
708
707
|
})
|
|
709
708
|
}, jsx(ToolbarItems
|
|
710
709
|
// Ignored via go/ees005
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch, initialState: import("../..").FloatingToolbarPluginData | ((state: import("prosemirror-state").EditorState) => import("../..").FloatingToolbarPluginData)) => import("prosemirror-state").SafeStateField<import("../..").FloatingToolbarPluginData>, createCommand: <A = import("./types").FloatingToolbarPluginAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState>) => false | A), transform?: (
|
|
1
|
+
export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch, initialState: import("../..").FloatingToolbarPluginData | ((state: import("prosemirror-state").EditorState) => import("../..").FloatingToolbarPluginData)) => import("prosemirror-state").SafeStateField<import("../..").FloatingToolbarPluginData>, createCommand: <A = import("./types").FloatingToolbarPluginAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState>) => false | A), transform?: (tr: import("prosemirror-state").Transaction, state: import("prosemirror-state").EditorState) => import("prosemirror-state").Transaction) => import("@atlaskit/editor-common/types").Command, getPluginState: (state: import("prosemirror-state").EditorState) => import("../..").FloatingToolbarPluginData;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
2
|
import type { ExtensionAPI, ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
4
3
|
import type { DropdownOptionT, FloatingToolbarOverflowDropdownOptions } from '@atlaskit/editor-common/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch, initialState: import("../..").FloatingToolbarPluginData | ((state: import("prosemirror-state").EditorState) => import("../..").FloatingToolbarPluginData)) => import("prosemirror-state").SafeStateField<import("../..").FloatingToolbarPluginData>, createCommand: <A = import("./types").FloatingToolbarPluginAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState>) => false | A), transform?: (
|
|
1
|
+
export declare const createPluginState: (dispatch: import("@atlaskit/editor-common/event-dispatcher").Dispatch, initialState: import("../..").FloatingToolbarPluginData | ((state: import("prosemirror-state").EditorState) => import("../..").FloatingToolbarPluginData)) => import("prosemirror-state").SafeStateField<import("../..").FloatingToolbarPluginData>, createCommand: <A = import("./types").FloatingToolbarPluginAction>(action: A | ((state: Readonly<import("prosemirror-state").EditorState>) => false | A), transform?: (tr: import("prosemirror-state").Transaction, state: import("prosemirror-state").EditorState) => import("prosemirror-state").Transaction) => import("@atlaskit/editor-common/types").Command, getPluginState: (state: import("prosemirror-state").EditorState) => import("../..").FloatingToolbarPluginData;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
2
|
import type { ExtensionAPI, ExtensionProvider } from '@atlaskit/editor-common/extensions';
|
|
4
3
|
import type { DropdownOptionT, FloatingToolbarOverflowDropdownOptions } from '@atlaskit/editor-common/types';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-floating-toolbar",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.9",
|
|
4
4
|
"description": "Floating toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
".": "./src/index.ts"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@atlaskit/adf-utils": "^19.
|
|
27
|
+
"@atlaskit/adf-utils": "^19.21.0",
|
|
28
28
|
"@atlaskit/button": "^23.3.0",
|
|
29
29
|
"@atlaskit/checkbox": "^17.1.0",
|
|
30
30
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"@atlaskit/editor-plugin-user-intent": "^1.1.0",
|
|
42
42
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
43
43
|
"@atlaskit/emoji": "^69.3.0",
|
|
44
|
-
"@atlaskit/icon": "^27.
|
|
44
|
+
"@atlaskit/icon": "^27.11.0",
|
|
45
45
|
"@atlaskit/menu": "^8.1.0",
|
|
46
46
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/primitives": "^14.11.0",
|
|
49
49
|
"@atlaskit/select": "^21.2.0",
|
|
50
50
|
"@atlaskit/theme": "^19.0.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^9.27.0",
|
|
52
52
|
"@atlaskit/tokens": "^6.0.0",
|
|
53
53
|
"@atlaskit/tooltip": "^20.4.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"react-loadable": "^5.1.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependencies": {
|
|
63
|
-
"@atlaskit/editor-common": "^107.
|
|
63
|
+
"@atlaskit/editor-common": "^107.20.0",
|
|
64
64
|
"react": "^18.2.0",
|
|
65
65
|
"react-dom": "^18.2.0"
|
|
66
66
|
},
|
|
@@ -70,7 +70,6 @@
|
|
|
70
70
|
"@testing-library/react": "^13.4.0",
|
|
71
71
|
"@testing-library/user-event": "^14.4.3",
|
|
72
72
|
"enzyme": "^3.10.0",
|
|
73
|
-
"typescript": "~5.4.2",
|
|
74
73
|
"wait-for-expect": "^1.2.0"
|
|
75
74
|
},
|
|
76
75
|
"techstack": {
|
|
@@ -115,18 +114,12 @@
|
|
|
115
114
|
}
|
|
116
115
|
},
|
|
117
116
|
"platform-feature-flags": {
|
|
118
|
-
"platform_editor_floating_toolbar_padding_fix": {
|
|
119
|
-
"type": "boolean"
|
|
120
|
-
},
|
|
121
117
|
"platform-visual-refresh-icons": {
|
|
122
118
|
"type": "boolean"
|
|
123
119
|
},
|
|
124
120
|
"platform_editor_use_nested_table_pm_nodes": {
|
|
125
121
|
"type": "boolean"
|
|
126
122
|
},
|
|
127
|
-
"editor_a11y_remove_redundant_wrap_icon_label": {
|
|
128
|
-
"type": "boolean"
|
|
129
|
-
},
|
|
130
123
|
"platform_editor_user_intent_plugin": {
|
|
131
124
|
"type": "boolean"
|
|
132
125
|
}
|