@atlaskit/editor-plugin-text-color 6.2.0 → 6.2.2
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
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-color
|
|
2
2
|
|
|
3
|
+
## 6.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 6.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`482bcdc75598e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/482bcdc75598e) -
|
|
14
|
+
ED-29462 Clean up platform_editor_toolbar_aifc_responsiveness_update
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 6.2.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -18,15 +18,13 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
18
18
|
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; }
|
|
19
19
|
var getToolbarComponents = exports.getToolbarComponents = function getToolbarComponents(api) {
|
|
20
20
|
return [_objectSpread(_objectSpread({}, _toolbar.TEXT_COLOR_HIGHLIGHT_GROUP), {}, {
|
|
21
|
-
parents:
|
|
21
|
+
parents: [_objectSpread(_objectSpread({}, _toolbar.TEXT_SECTION), {}, {
|
|
22
22
|
rank: _toolbar.TEXT_SECTION_RANK[_toolbar.TEXT_COLOR_HIGHLIGHT_GROUP.key]
|
|
23
23
|
}), {
|
|
24
24
|
type: _toolbar.TEXT_SECTION_PRIMARY_TOOLBAR.type,
|
|
25
25
|
key: _toolbar.TEXT_SECTION_PRIMARY_TOOLBAR.key,
|
|
26
26
|
rank: _toolbar.TEXT_SECTION_PRIMARY_TOOLBAR_RANK[_toolbar.TEXT_COLOR_HIGHLIGHT_GROUP.key]
|
|
27
|
-
}]
|
|
28
|
-
rank: _toolbar.TEXT_SECTION_RANK[_toolbar.TEXT_COLOR_HIGHLIGHT_GROUP.key]
|
|
29
|
-
})]
|
|
27
|
+
}]
|
|
30
28
|
}), _objectSpread(_objectSpread({}, _toolbar.TEXT_COLOR_HIGHLIGHT_MENU), {}, {
|
|
31
29
|
parents: [_objectSpread(_objectSpread({}, _toolbar.TEXT_COLOR_HIGHLIGHT_GROUP), {}, {
|
|
32
30
|
rank: _toolbar.TEXT_COLOR_HIGHLIGHT_GROUP_RANK[_toolbar.TEXT_COLOR_HIGHLIGHT_MENU.key]
|
|
@@ -8,16 +8,13 @@ import { TextMenuSection } from './TextMenuSection';
|
|
|
8
8
|
export const getToolbarComponents = api => {
|
|
9
9
|
return [{
|
|
10
10
|
...TEXT_COLOR_HIGHLIGHT_GROUP,
|
|
11
|
-
parents:
|
|
11
|
+
parents: [{
|
|
12
12
|
...TEXT_SECTION,
|
|
13
13
|
rank: TEXT_SECTION_RANK[TEXT_COLOR_HIGHLIGHT_GROUP.key]
|
|
14
14
|
}, {
|
|
15
15
|
type: TEXT_SECTION_PRIMARY_TOOLBAR.type,
|
|
16
16
|
key: TEXT_SECTION_PRIMARY_TOOLBAR.key,
|
|
17
17
|
rank: TEXT_SECTION_PRIMARY_TOOLBAR_RANK[TEXT_COLOR_HIGHLIGHT_GROUP.key]
|
|
18
|
-
}] : [{
|
|
19
|
-
...TEXT_SECTION,
|
|
20
|
-
rank: TEXT_SECTION_RANK[TEXT_COLOR_HIGHLIGHT_GROUP.key]
|
|
21
18
|
}]
|
|
22
19
|
}, {
|
|
23
20
|
...TEXT_COLOR_HIGHLIGHT_MENU,
|
|
@@ -11,15 +11,13 @@ import { TextColorMenuItem } from './TextColorMenuItem';
|
|
|
11
11
|
import { TextMenuSection } from './TextMenuSection';
|
|
12
12
|
export var getToolbarComponents = function getToolbarComponents(api) {
|
|
13
13
|
return [_objectSpread(_objectSpread({}, TEXT_COLOR_HIGHLIGHT_GROUP), {}, {
|
|
14
|
-
parents:
|
|
14
|
+
parents: [_objectSpread(_objectSpread({}, TEXT_SECTION), {}, {
|
|
15
15
|
rank: TEXT_SECTION_RANK[TEXT_COLOR_HIGHLIGHT_GROUP.key]
|
|
16
16
|
}), {
|
|
17
17
|
type: TEXT_SECTION_PRIMARY_TOOLBAR.type,
|
|
18
18
|
key: TEXT_SECTION_PRIMARY_TOOLBAR.key,
|
|
19
19
|
rank: TEXT_SECTION_PRIMARY_TOOLBAR_RANK[TEXT_COLOR_HIGHLIGHT_GROUP.key]
|
|
20
|
-
}]
|
|
21
|
-
rank: TEXT_SECTION_RANK[TEXT_COLOR_HIGHLIGHT_GROUP.key]
|
|
22
|
-
})]
|
|
20
|
+
}]
|
|
23
21
|
}), _objectSpread(_objectSpread({}, TEXT_COLOR_HIGHLIGHT_MENU), {}, {
|
|
24
22
|
parents: [_objectSpread(_objectSpread({}, TEXT_COLOR_HIGHLIGHT_GROUP), {}, {
|
|
25
23
|
rank: TEXT_COLOR_HIGHLIGHT_GROUP_RANK[TEXT_COLOR_HIGHLIGHT_MENU.key]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-color",
|
|
3
|
-
"version": "6.2.
|
|
3
|
+
"version": "6.2.2",
|
|
4
4
|
"description": "Text color plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,24 +37,24 @@
|
|
|
37
37
|
"@atlaskit/editor-plugin-highlight": "^6.2.0",
|
|
38
38
|
"@atlaskit/editor-plugin-primary-toolbar": "^7.0.0",
|
|
39
39
|
"@atlaskit/editor-plugin-selection-toolbar": "^7.0.0",
|
|
40
|
-
"@atlaskit/editor-plugin-toolbar": "^3.
|
|
40
|
+
"@atlaskit/editor-plugin-toolbar": "^3.2.0",
|
|
41
41
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
42
42
|
"@atlaskit/editor-shared-styles": "^3.6.0",
|
|
43
43
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
44
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
44
|
+
"@atlaskit/editor-toolbar": "^0.15.0",
|
|
45
45
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
46
46
|
"@atlaskit/heading": "^5.2.0",
|
|
47
|
-
"@atlaskit/icon": "^28.
|
|
47
|
+
"@atlaskit/icon": "^28.5.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^14.15.0",
|
|
50
50
|
"@atlaskit/theme": "^21.0.0",
|
|
51
|
-
"@atlaskit/tmp-editor-statsig": "^13.
|
|
51
|
+
"@atlaskit/tmp-editor-statsig": "^13.8.0",
|
|
52
52
|
"@atlaskit/tokens": "^6.4.0",
|
|
53
53
|
"@babel/runtime": "^7.0.0",
|
|
54
54
|
"@emotion/react": "^11.7.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@atlaskit/editor-common": "^110.
|
|
57
|
+
"@atlaskit/editor-common": "^110.10.0",
|
|
58
58
|
"react": "^18.2.0",
|
|
59
59
|
"react-dom": "^18.2.0",
|
|
60
60
|
"react-intl-next": "npm:react-intl@^5.18.1"
|