@atlaskit/editor-plugin-block-type 21.0.7 → 21.0.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 +15 -0
- package/dist/cjs/ui/ParagraphBlockMenuItem.js +3 -1
- package/dist/cjs/ui/SmallTextBlockMenuItem.js +6 -1
- package/dist/cjs/ui/index.js +12 -9
- package/dist/es2019/ui/ParagraphBlockMenuItem.js +3 -1
- package/dist/es2019/ui/SmallTextBlockMenuItem.js +6 -1
- package/dist/es2019/ui/index.js +12 -9
- package/dist/esm/ui/ParagraphBlockMenuItem.js +3 -1
- package/dist/esm/ui/SmallTextBlockMenuItem.js +6 -1
- package/dist/esm/ui/index.js +12 -9
- package/dist/types/ui/index.d.ts +1 -1
- package/dist/types/ui/types.d.ts +0 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
|
2
2
|
|
|
3
|
+
## 21.0.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`61a147bcf836c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/61a147bcf836c) -
|
|
8
|
+
Support Small text and Normal text transformations from the block menu by reusing the Paragraph
|
|
9
|
+
conversion with target block marks.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 21.0.8
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 21.0.7
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -18,6 +18,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
|
|
|
18
18
|
isSuggested = _ref.isSuggested;
|
|
19
19
|
var _useIntl = (0, _reactIntl.useIntl)(),
|
|
20
20
|
formatMessage = _useIntl.formatMessage;
|
|
21
|
+
var isNormalTextLabelEnabled = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_menu_small_text');
|
|
21
22
|
var handleClick = function handleClick(event) {
|
|
22
23
|
var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? _analytics.INPUT_METHOD.KEYBOARD : _analytics.INPUT_METHOD.MOUSE;
|
|
23
24
|
var inputMethod = _analytics.INPUT_METHOD.BLOCK_MENU;
|
|
@@ -27,6 +28,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
|
|
|
27
28
|
var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
|
|
28
29
|
inputMethod: inputMethod,
|
|
29
30
|
isSuggested: isSuggested,
|
|
31
|
+
marksToRemove: isNormalTextLabelEnabled ? ['fontSize'] : undefined,
|
|
30
32
|
triggeredFrom: triggeredFrom,
|
|
31
33
|
targetTypeName: NODE_NAME
|
|
32
34
|
});
|
|
@@ -41,7 +43,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
|
|
|
41
43
|
label: "",
|
|
42
44
|
size: "small"
|
|
43
45
|
})
|
|
44
|
-
}, formatMessage(
|
|
46
|
+
}, formatMessage(isNormalTextLabelEnabled ? _messages.blockMenuMessages.normalText : _messages.blockMenuMessages.paragraph));
|
|
45
47
|
};
|
|
46
48
|
var createParagraphBlockMenuItem = exports.createParagraphBlockMenuItem = function createParagraphBlockMenuItem(_ref3) {
|
|
47
49
|
var api = _ref3.api;
|
|
@@ -10,7 +10,7 @@ var _reactIntl = require("react-intl");
|
|
|
10
10
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
11
11
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
12
12
|
var _editorToolbar = require("@atlaskit/editor-toolbar");
|
|
13
|
-
var NODE_NAME = '
|
|
13
|
+
var NODE_NAME = 'smallText';
|
|
14
14
|
var SmallTextBlockMenuItem = function SmallTextBlockMenuItem(_ref) {
|
|
15
15
|
var api = _ref.api,
|
|
16
16
|
isSuggested = _ref.isSuggested;
|
|
@@ -25,6 +25,11 @@ var SmallTextBlockMenuItem = function SmallTextBlockMenuItem(_ref) {
|
|
|
25
25
|
var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
|
|
26
26
|
inputMethod: inputMethod,
|
|
27
27
|
isSuggested: isSuggested,
|
|
28
|
+
marksToAdd: {
|
|
29
|
+
fontSize: {
|
|
30
|
+
fontSize: 'small'
|
|
31
|
+
}
|
|
32
|
+
},
|
|
28
33
|
triggeredFrom: triggeredFrom,
|
|
29
34
|
targetTypeName: NODE_NAME
|
|
30
35
|
});
|
package/dist/cjs/ui/index.js
CHANGED
|
@@ -19,8 +19,7 @@ var QUOTE_NODE_NAME = 'blockquote';
|
|
|
19
19
|
var PARAGRAPH_NODE_NAME = 'paragraph';
|
|
20
20
|
var getBlockTypeComponents = exports.getBlockTypeComponents = function getBlockTypeComponents(api) {
|
|
21
21
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
22
|
-
allowFontSize = _ref.allowFontSize
|
|
23
|
-
isTextFormattingItemHidden = _ref.isHidden;
|
|
22
|
+
allowFontSize = _ref.allowFontSize;
|
|
24
23
|
var isSmallTextExperimentEnabled = (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_block_menu_small_text');
|
|
25
24
|
var isSmallTextEnabled = Boolean(allowFontSize && isSmallTextExperimentEnabled);
|
|
26
25
|
var textFormattingRank = isSmallTextExperimentEnabled ? _rank.TRANSFORM_TEXT_FORMATTING_MENU_SECTION_RANK : _blockMenu.TRANSFORM_HEADINGS_MENU_SECTION_RANK;
|
|
@@ -148,8 +147,9 @@ var getBlockTypeComponents = exports.getBlockTypeComponents = function getBlockT
|
|
|
148
147
|
}),
|
|
149
148
|
isHidden: function isHidden() {
|
|
150
149
|
var _api$blockMenu3;
|
|
151
|
-
|
|
152
|
-
|
|
150
|
+
return Boolean(api === null || api === void 0 || (_api$blockMenu3 = api.blockMenu) === null || _api$blockMenu3 === void 0 ? void 0 : _api$blockMenu3.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, isSmallTextExperimentEnabled ? {
|
|
151
|
+
marksToRemove: ['fontSize']
|
|
152
|
+
} : undefined));
|
|
153
153
|
}
|
|
154
154
|
}].concat((0, _toConsumableArray2.default)(isSmallTextEnabled ? [{
|
|
155
155
|
type: 'block-menu-item',
|
|
@@ -163,11 +163,14 @@ var getBlockTypeComponents = exports.getBlockTypeComponents = function getBlockT
|
|
|
163
163
|
api: api
|
|
164
164
|
}),
|
|
165
165
|
isHidden: function isHidden() {
|
|
166
|
-
var _api$core$sharedState, _api$blockMenu4
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
166
|
+
var _api$core$sharedState, _api$blockMenu4;
|
|
167
|
+
return !(api !== null && api !== void 0 && (_api$core$sharedState = api.core.sharedState.currentState()) !== null && _api$core$sharedState !== void 0 && (_api$core$sharedState = _api$core$sharedState.schema) !== null && _api$core$sharedState !== void 0 && _api$core$sharedState.marks.fontSize) || Boolean(api === null || api === void 0 || (_api$blockMenu4 = api.blockMenu) === null || _api$blockMenu4 === void 0 ? void 0 : _api$blockMenu4.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, {
|
|
168
|
+
marksToAdd: {
|
|
169
|
+
fontSize: {
|
|
170
|
+
fontSize: 'small'
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}));
|
|
171
174
|
}
|
|
172
175
|
}] : []));
|
|
173
176
|
};
|
|
@@ -13,6 +13,7 @@ const ParagraphBlockMenuItem = ({
|
|
|
13
13
|
const {
|
|
14
14
|
formatMessage
|
|
15
15
|
} = useIntl();
|
|
16
|
+
const isNormalTextLabelEnabled = isExperimentEnabled('platform_editor_block_menu_small_text');
|
|
16
17
|
const handleClick = event => {
|
|
17
18
|
const triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
|
|
18
19
|
const inputMethod = INPUT_METHOD.BLOCK_MENU;
|
|
@@ -23,6 +24,7 @@ const ParagraphBlockMenuItem = ({
|
|
|
23
24
|
const command = api === null || api === void 0 ? void 0 : (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
|
|
24
25
|
inputMethod,
|
|
25
26
|
isSuggested,
|
|
27
|
+
marksToRemove: isNormalTextLabelEnabled ? ['fontSize'] : undefined,
|
|
26
28
|
triggeredFrom,
|
|
27
29
|
targetTypeName: NODE_NAME
|
|
28
30
|
});
|
|
@@ -37,7 +39,7 @@ const ParagraphBlockMenuItem = ({
|
|
|
37
39
|
label: "",
|
|
38
40
|
size: "small"
|
|
39
41
|
})
|
|
40
|
-
}, formatMessage(
|
|
42
|
+
}, formatMessage(isNormalTextLabelEnabled ? blockMenuMessages.normalText : blockMenuMessages.paragraph));
|
|
41
43
|
};
|
|
42
44
|
export const createParagraphBlockMenuItem = ({
|
|
43
45
|
api
|
|
@@ -3,7 +3,7 @@ import { useIntl } from 'react-intl';
|
|
|
3
3
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { blockTypeMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { TextSmallIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
|
|
6
|
-
const NODE_NAME = '
|
|
6
|
+
const NODE_NAME = 'smallText';
|
|
7
7
|
const SmallTextBlockMenuItem = ({
|
|
8
8
|
api,
|
|
9
9
|
isSuggested
|
|
@@ -21,6 +21,11 @@ const SmallTextBlockMenuItem = ({
|
|
|
21
21
|
const command = api === null || api === void 0 ? void 0 : (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
|
|
22
22
|
inputMethod,
|
|
23
23
|
isSuggested,
|
|
24
|
+
marksToAdd: {
|
|
25
|
+
fontSize: {
|
|
26
|
+
fontSize: 'small'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
24
29
|
triggeredFrom,
|
|
25
30
|
targetTypeName: NODE_NAME
|
|
26
31
|
});
|
package/dist/es2019/ui/index.js
CHANGED
|
@@ -10,8 +10,7 @@ const HEADING_NODE_NAME = 'heading';
|
|
|
10
10
|
const QUOTE_NODE_NAME = 'blockquote';
|
|
11
11
|
const PARAGRAPH_NODE_NAME = 'paragraph';
|
|
12
12
|
export const getBlockTypeComponents = (api, {
|
|
13
|
-
allowFontSize
|
|
14
|
-
isHidden: isTextFormattingItemHidden
|
|
13
|
+
allowFontSize
|
|
15
14
|
} = {}) => {
|
|
16
15
|
const isSmallTextExperimentEnabled = isExperimentEnabled('platform_editor_block_menu_small_text');
|
|
17
16
|
const isSmallTextEnabled = Boolean(allowFontSize && isSmallTextExperimentEnabled);
|
|
@@ -128,8 +127,9 @@ export const getBlockTypeComponents = (api, {
|
|
|
128
127
|
}),
|
|
129
128
|
isHidden: () => {
|
|
130
129
|
var _api$blockMenu3;
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
return Boolean(api === null || api === void 0 ? void 0 : (_api$blockMenu3 = api.blockMenu) === null || _api$blockMenu3 === void 0 ? void 0 : _api$blockMenu3.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, isSmallTextExperimentEnabled ? {
|
|
131
|
+
marksToRemove: ['fontSize']
|
|
132
|
+
} : undefined));
|
|
133
133
|
}
|
|
134
134
|
}, ...(isSmallTextEnabled ? [{
|
|
135
135
|
type: 'block-menu-item',
|
|
@@ -143,11 +143,14 @@ export const getBlockTypeComponents = (api, {
|
|
|
143
143
|
api
|
|
144
144
|
}),
|
|
145
145
|
isHidden: () => {
|
|
146
|
-
var _api$core$sharedState, _api$core$sharedState2, _api$blockMenu4
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
146
|
+
var _api$core$sharedState, _api$core$sharedState2, _api$blockMenu4;
|
|
147
|
+
return !(api !== null && api !== void 0 && (_api$core$sharedState = api.core.sharedState.currentState()) !== null && _api$core$sharedState !== void 0 && (_api$core$sharedState2 = _api$core$sharedState.schema) !== null && _api$core$sharedState2 !== void 0 && _api$core$sharedState2.marks.fontSize) || Boolean(api === null || api === void 0 ? void 0 : (_api$blockMenu4 = api.blockMenu) === null || _api$blockMenu4 === void 0 ? void 0 : _api$blockMenu4.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, {
|
|
148
|
+
marksToAdd: {
|
|
149
|
+
fontSize: {
|
|
150
|
+
fontSize: 'small'
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}));
|
|
151
154
|
}
|
|
152
155
|
}] : [])];
|
|
153
156
|
};
|
|
@@ -11,6 +11,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
|
|
|
11
11
|
isSuggested = _ref.isSuggested;
|
|
12
12
|
var _useIntl = useIntl(),
|
|
13
13
|
formatMessage = _useIntl.formatMessage;
|
|
14
|
+
var isNormalTextLabelEnabled = isExperimentEnabled('platform_editor_block_menu_small_text');
|
|
14
15
|
var handleClick = function handleClick(event) {
|
|
15
16
|
var triggeredFrom = event.nativeEvent instanceof KeyboardEvent || event.nativeEvent.detail === 0 ? INPUT_METHOD.KEYBOARD : INPUT_METHOD.MOUSE;
|
|
16
17
|
var inputMethod = INPUT_METHOD.BLOCK_MENU;
|
|
@@ -20,6 +21,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
|
|
|
20
21
|
var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
|
|
21
22
|
inputMethod: inputMethod,
|
|
22
23
|
isSuggested: isSuggested,
|
|
24
|
+
marksToRemove: isNormalTextLabelEnabled ? ['fontSize'] : undefined,
|
|
23
25
|
triggeredFrom: triggeredFrom,
|
|
24
26
|
targetTypeName: NODE_NAME
|
|
25
27
|
});
|
|
@@ -34,7 +36,7 @@ var ParagraphBlockMenuItem = function ParagraphBlockMenuItem(_ref) {
|
|
|
34
36
|
label: "",
|
|
35
37
|
size: "small"
|
|
36
38
|
})
|
|
37
|
-
}, formatMessage(
|
|
39
|
+
}, formatMessage(isNormalTextLabelEnabled ? blockMenuMessages.normalText : blockMenuMessages.paragraph));
|
|
38
40
|
};
|
|
39
41
|
export var createParagraphBlockMenuItem = function createParagraphBlockMenuItem(_ref3) {
|
|
40
42
|
var api = _ref3.api;
|
|
@@ -3,7 +3,7 @@ import { useIntl } from 'react-intl';
|
|
|
3
3
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { blockTypeMessages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { TextSmallIcon, ToolbarDropdownItem } from '@atlaskit/editor-toolbar';
|
|
6
|
-
var NODE_NAME = '
|
|
6
|
+
var NODE_NAME = 'smallText';
|
|
7
7
|
var SmallTextBlockMenuItem = function SmallTextBlockMenuItem(_ref) {
|
|
8
8
|
var api = _ref.api,
|
|
9
9
|
isSuggested = _ref.isSuggested;
|
|
@@ -18,6 +18,11 @@ var SmallTextBlockMenuItem = function SmallTextBlockMenuItem(_ref) {
|
|
|
18
18
|
var command = api === null || api === void 0 || (_api$blockMenu = api.blockMenu) === null || _api$blockMenu === void 0 ? void 0 : _api$blockMenu.commands.transformNode(tr.doc.type.schema.nodes.paragraph, {
|
|
19
19
|
inputMethod: inputMethod,
|
|
20
20
|
isSuggested: isSuggested,
|
|
21
|
+
marksToAdd: {
|
|
22
|
+
fontSize: {
|
|
23
|
+
fontSize: 'small'
|
|
24
|
+
}
|
|
25
|
+
},
|
|
21
26
|
triggeredFrom: triggeredFrom,
|
|
22
27
|
targetTypeName: NODE_NAME
|
|
23
28
|
});
|
package/dist/esm/ui/index.js
CHANGED
|
@@ -12,8 +12,7 @@ var QUOTE_NODE_NAME = 'blockquote';
|
|
|
12
12
|
var PARAGRAPH_NODE_NAME = 'paragraph';
|
|
13
13
|
export var getBlockTypeComponents = function getBlockTypeComponents(api) {
|
|
14
14
|
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
15
|
-
allowFontSize = _ref.allowFontSize
|
|
16
|
-
isTextFormattingItemHidden = _ref.isHidden;
|
|
15
|
+
allowFontSize = _ref.allowFontSize;
|
|
17
16
|
var isSmallTextExperimentEnabled = isExperimentEnabled('platform_editor_block_menu_small_text');
|
|
18
17
|
var isSmallTextEnabled = Boolean(allowFontSize && isSmallTextExperimentEnabled);
|
|
19
18
|
var textFormattingRank = isSmallTextExperimentEnabled ? TRANSFORM_TEXT_FORMATTING_MENU_SECTION_RANK : TRANSFORM_HEADINGS_MENU_SECTION_RANK;
|
|
@@ -141,8 +140,9 @@ export var getBlockTypeComponents = function getBlockTypeComponents(api) {
|
|
|
141
140
|
}),
|
|
142
141
|
isHidden: function isHidden() {
|
|
143
142
|
var _api$blockMenu3;
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
return Boolean(api === null || api === void 0 || (_api$blockMenu3 = api.blockMenu) === null || _api$blockMenu3 === void 0 ? void 0 : _api$blockMenu3.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, isSmallTextExperimentEnabled ? {
|
|
144
|
+
marksToRemove: ['fontSize']
|
|
145
|
+
} : undefined));
|
|
146
146
|
}
|
|
147
147
|
}].concat(_toConsumableArray(isSmallTextEnabled ? [{
|
|
148
148
|
type: 'block-menu-item',
|
|
@@ -156,11 +156,14 @@ export var getBlockTypeComponents = function getBlockTypeComponents(api) {
|
|
|
156
156
|
api: api
|
|
157
157
|
}),
|
|
158
158
|
isHidden: function isHidden() {
|
|
159
|
-
var _api$core$sharedState, _api$blockMenu4
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
159
|
+
var _api$core$sharedState, _api$blockMenu4;
|
|
160
|
+
return !(api !== null && api !== void 0 && (_api$core$sharedState = api.core.sharedState.currentState()) !== null && _api$core$sharedState !== void 0 && (_api$core$sharedState = _api$core$sharedState.schema) !== null && _api$core$sharedState !== void 0 && _api$core$sharedState.marks.fontSize) || Boolean(api === null || api === void 0 || (_api$blockMenu4 = api.blockMenu) === null || _api$blockMenu4 === void 0 ? void 0 : _api$blockMenu4.actions.isTransformOptionDisabled(PARAGRAPH_NODE_NAME, undefined, {
|
|
161
|
+
marksToAdd: {
|
|
162
|
+
fontSize: {
|
|
163
|
+
fontSize: 'small'
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}));
|
|
164
167
|
}
|
|
165
168
|
}] : []));
|
|
166
169
|
};
|
package/dist/types/ui/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
|
|
|
2
2
|
import type { RegisterBlockMenuComponent } from '@atlaskit/editor-plugin-block-menu';
|
|
3
3
|
import type { BlockTypePlugin } from '../blockTypePluginType';
|
|
4
4
|
import type { TextFormattingBlockMenuOptions } from './types';
|
|
5
|
-
export declare const getBlockTypeComponents: (api: ExtractInjectionAPI<BlockTypePlugin> | undefined, { allowFontSize
|
|
5
|
+
export declare const getBlockTypeComponents: (api: ExtractInjectionAPI<BlockTypePlugin> | undefined, { allowFontSize }?: TextFormattingBlockMenuOptions) => RegisterBlockMenuComponent[];
|
package/dist/types/ui/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.9",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/editor-plugin-selection-toolbar": "^18.0.0",
|
|
33
33
|
"@atlaskit/editor-plugin-toolbar": "^14.0.0",
|
|
34
34
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
35
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
35
|
+
"@atlaskit/editor-shared-styles": "^4.2.0",
|
|
36
36
|
"@atlaskit/editor-tables": "^3.2.0",
|
|
37
37
|
"@atlaskit/editor-toolbar": "^2.6.0",
|
|
38
38
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
@@ -43,14 +43,14 @@
|
|
|
43
43
|
"@atlaskit/primitives": "^22.5.0",
|
|
44
44
|
"@atlaskit/prosemirror-history": "^1.2.0",
|
|
45
45
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
47
|
-
"@atlaskit/tokens": "^16.
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^186.0.0",
|
|
47
|
+
"@atlaskit/tokens": "^16.12.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@compiled/react": "^1.0.2",
|
|
50
50
|
"@emotion/react": "^11.7.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@atlaskit/editor-common": "^121.
|
|
53
|
+
"@atlaskit/editor-common": "^121.4.0",
|
|
54
54
|
"react": "^18.2.0 || ^19.2.0",
|
|
55
55
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
56
56
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|