@atlaskit/editor-plugin-text-formatting 6.0.10 → 6.0.11
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 +6 -0
- package/dist/cjs/ui/Toolbar/components/BoldButtonGroup.js +1 -1
- package/dist/cjs/ui/Toolbar/components/UnderlineButtonGroup.js +1 -1
- package/dist/es2019/ui/Toolbar/components/BoldButtonGroup.js +2 -2
- package/dist/es2019/ui/Toolbar/components/UnderlineButtonGroup.js +2 -2
- package/dist/esm/ui/Toolbar/components/BoldButtonGroup.js +2 -2
- package/dist/esm/ui/Toolbar/components/UnderlineButtonGroup.js +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -28,7 +28,7 @@ var boldButtonGroup = exports.boldButtonGroup = function boldButtonGroup(api) {
|
|
|
28
28
|
parents: [{
|
|
29
29
|
type: _toolbar.TEXT_SECTION_PRIMARY_TOOLBAR.type,
|
|
30
30
|
key: _toolbar.TEXT_SECTION_PRIMARY_TOOLBAR.key,
|
|
31
|
-
rank: _toolbar.
|
|
31
|
+
rank: _toolbar.TEXT_SECTION_PRIMARY_TOOLBAR_RANK[_toolbar.BOLD_BUTTON_GROUP.key]
|
|
32
32
|
}],
|
|
33
33
|
component: function component(_ref2) {
|
|
34
34
|
var children = _ref2.children;
|
|
@@ -28,7 +28,7 @@ var underlineButtonGroup = exports.underlineButtonGroup = function underlineButt
|
|
|
28
28
|
parents: [{
|
|
29
29
|
type: _toolbar.TEXT_SECTION_PRIMARY_TOOLBAR.type,
|
|
30
30
|
key: _toolbar.TEXT_SECTION_PRIMARY_TOOLBAR.key,
|
|
31
|
-
rank: _toolbar.
|
|
31
|
+
rank: _toolbar.TEXT_SECTION_PRIMARY_TOOLBAR_RANK[_toolbar.UNDERLINE_BUTTON_GROUP.key]
|
|
32
32
|
}],
|
|
33
33
|
component: function component(_ref2) {
|
|
34
34
|
var children = _ref2.children;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { BOLD_BUTTON_GROUP, BOLD_BUTTON, TEXT_SECTION_PRIMARY_TOOLBAR,
|
|
2
|
+
import { BOLD_BUTTON_GROUP, BOLD_BUTTON, TEXT_SECTION_PRIMARY_TOOLBAR, TEXT_SECTION_PRIMARY_TOOLBAR_RANK, useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
3
3
|
import { Show, ToolbarButtonGroup } from '@atlaskit/editor-toolbar';
|
|
4
4
|
import { FormatOptions } from '../types';
|
|
5
5
|
import { FormatButton } from './Component';
|
|
@@ -22,7 +22,7 @@ export const boldButtonGroup = api => [{
|
|
|
22
22
|
parents: [{
|
|
23
23
|
type: TEXT_SECTION_PRIMARY_TOOLBAR.type,
|
|
24
24
|
key: TEXT_SECTION_PRIMARY_TOOLBAR.key,
|
|
25
|
-
rank:
|
|
25
|
+
rank: TEXT_SECTION_PRIMARY_TOOLBAR_RANK[BOLD_BUTTON_GROUP.key]
|
|
26
26
|
}],
|
|
27
27
|
component: ({
|
|
28
28
|
children
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UNDERLINE_BUTTON_GROUP, UNDERLINE_BUTTON, TEXT_SECTION_PRIMARY_TOOLBAR,
|
|
2
|
+
import { UNDERLINE_BUTTON_GROUP, UNDERLINE_BUTTON, TEXT_SECTION_PRIMARY_TOOLBAR, TEXT_SECTION_PRIMARY_TOOLBAR_RANK, useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
3
3
|
import { Show, ToolbarButtonGroup } from '@atlaskit/editor-toolbar';
|
|
4
4
|
import { FormatOptions } from '../types';
|
|
5
5
|
import { FormatButton } from './Component';
|
|
@@ -22,7 +22,7 @@ export const underlineButtonGroup = api => [{
|
|
|
22
22
|
parents: [{
|
|
23
23
|
type: TEXT_SECTION_PRIMARY_TOOLBAR.type,
|
|
24
24
|
key: TEXT_SECTION_PRIMARY_TOOLBAR.key,
|
|
25
|
-
rank:
|
|
25
|
+
rank: TEXT_SECTION_PRIMARY_TOOLBAR_RANK[UNDERLINE_BUTTON_GROUP.key]
|
|
26
26
|
}],
|
|
27
27
|
component: ({
|
|
28
28
|
children
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { BOLD_BUTTON_GROUP, BOLD_BUTTON, TEXT_SECTION_PRIMARY_TOOLBAR,
|
|
2
|
+
import { BOLD_BUTTON_GROUP, BOLD_BUTTON, TEXT_SECTION_PRIMARY_TOOLBAR, TEXT_SECTION_PRIMARY_TOOLBAR_RANK, useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
3
3
|
import { Show, ToolbarButtonGroup } from '@atlaskit/editor-toolbar';
|
|
4
4
|
import { FormatOptions } from '../types';
|
|
5
5
|
import { FormatButton } from './Component';
|
|
@@ -21,7 +21,7 @@ export var boldButtonGroup = function boldButtonGroup(api) {
|
|
|
21
21
|
parents: [{
|
|
22
22
|
type: TEXT_SECTION_PRIMARY_TOOLBAR.type,
|
|
23
23
|
key: TEXT_SECTION_PRIMARY_TOOLBAR.key,
|
|
24
|
-
rank:
|
|
24
|
+
rank: TEXT_SECTION_PRIMARY_TOOLBAR_RANK[BOLD_BUTTON_GROUP.key]
|
|
25
25
|
}],
|
|
26
26
|
component: function component(_ref2) {
|
|
27
27
|
var children = _ref2.children;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { UNDERLINE_BUTTON_GROUP, UNDERLINE_BUTTON, TEXT_SECTION_PRIMARY_TOOLBAR,
|
|
2
|
+
import { UNDERLINE_BUTTON_GROUP, UNDERLINE_BUTTON, TEXT_SECTION_PRIMARY_TOOLBAR, TEXT_SECTION_PRIMARY_TOOLBAR_RANK, useEditorToolbar } from '@atlaskit/editor-common/toolbar';
|
|
3
3
|
import { Show, ToolbarButtonGroup } from '@atlaskit/editor-toolbar';
|
|
4
4
|
import { FormatOptions } from '../types';
|
|
5
5
|
import { FormatButton } from './Component';
|
|
@@ -21,7 +21,7 @@ export var underlineButtonGroup = function underlineButtonGroup(api) {
|
|
|
21
21
|
parents: [{
|
|
22
22
|
type: TEXT_SECTION_PRIMARY_TOOLBAR.type,
|
|
23
23
|
key: TEXT_SECTION_PRIMARY_TOOLBAR.key,
|
|
24
|
-
rank:
|
|
24
|
+
rank: TEXT_SECTION_PRIMARY_TOOLBAR_RANK[UNDERLINE_BUTTON_GROUP.key]
|
|
25
25
|
}],
|
|
26
26
|
component: function component(_ref2) {
|
|
27
27
|
var children = _ref2.children;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-formatting",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.11",
|
|
4
4
|
"description": "Text-formatting plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -31,26 +31,26 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@atlaskit/adf-schema": "^51.2.0",
|
|
33
33
|
"@atlaskit/editor-plugin-analytics": "^6.1.0",
|
|
34
|
-
"@atlaskit/editor-plugin-base": "^7.
|
|
34
|
+
"@atlaskit/editor-plugin-base": "^7.1.0",
|
|
35
35
|
"@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
|
|
36
36
|
"@atlaskit/editor-plugin-selection-toolbar": "^7.0.0",
|
|
37
|
-
"@atlaskit/editor-plugin-toolbar": "^3.
|
|
37
|
+
"@atlaskit/editor-plugin-toolbar": "^3.2.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
39
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
40
40
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
41
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
41
|
+
"@atlaskit/editor-toolbar": "^0.15.0",
|
|
42
42
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
43
43
|
"@atlaskit/icon": "^28.5.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
|
-
"@atlaskit/prosemirror-input-rules": "^3.
|
|
46
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
45
|
+
"@atlaskit/prosemirror-input-rules": "^3.5.0",
|
|
46
|
+
"@atlaskit/tmp-editor-statsig": "^13.8.0",
|
|
47
47
|
"@atlaskit/tokens": "^6.4.0",
|
|
48
48
|
"@babel/runtime": "^7.0.0",
|
|
49
49
|
"@emotion/react": "^11.7.1",
|
|
50
50
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@atlaskit/editor-common": "^110.
|
|
53
|
+
"@atlaskit/editor-common": "^110.10.0",
|
|
54
54
|
"react": "^18.2.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|