@atlaskit/editor-plugin-text-color 6.3.22 → 6.3.23
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,13 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-text-color
|
|
2
2
|
|
|
3
|
+
## 6.3.23
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`9f03725ffb7b8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f03725ffb7b8) -
|
|
8
|
+
Removing feature flag with changing internal use of custom icons.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 6.3.22
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -5,37 +5,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.EditorTextColorIcon = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var _react = _interopRequireDefault(require("react"));
|
|
10
|
-
var _base = _interopRequireDefault(require("@atlaskit/icon/base"));
|
|
11
9
|
var _textStyle = _interopRequireDefault(require("@atlaskit/icon/core/text-style"));
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
|
-
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
14
|
-
// Ignored via go/ees005
|
|
15
|
-
// eslint-disable-next-line import/no-named-as-default
|
|
16
|
-
|
|
17
|
-
var textColorGlyph = function textColorGlyph(props) {
|
|
18
|
-
return (
|
|
19
|
-
/*#__PURE__*/
|
|
20
|
-
// Ignored via go/ees005
|
|
21
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
22
|
-
_react.default.createElement("svg", (0, _extends2.default)({}, props, {
|
|
23
|
-
width: "24",
|
|
24
|
-
height: "24",
|
|
25
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
26
|
-
}), /*#__PURE__*/_react.default.createElement("path", {
|
|
27
|
-
d: "M14 12.5h-4l-.874 2.186A.5.5 0 0 1 8.66 15H7.273a.5.5 0 0 1-.456-.705l4.05-9A.5.5 0 0 1 11.323 5h1.354a.5.5 0 0 1 .456.295l4.05 9a.5.5 0 0 1-.456.705h-1.388a.5.5 0 0 1-.465-.314L14 12.5zm-.6-1.5L12 7.5 10.6 11h2.8z",
|
|
28
|
-
fill: "currentColor",
|
|
29
|
-
fillRule: "evenodd"
|
|
30
|
-
}))
|
|
31
|
-
);
|
|
32
|
-
};
|
|
33
10
|
var EditorTextColorIcon = exports.EditorTextColorIcon = function EditorTextColorIcon() {
|
|
34
|
-
return
|
|
11
|
+
return /*#__PURE__*/_react.default.createElement(_textStyle.default, {
|
|
35
12
|
label: "",
|
|
36
13
|
spacing: "spacious"
|
|
37
|
-
}) : /*#__PURE__*/_react.default.createElement(_base.default, {
|
|
38
|
-
glyph: textColorGlyph,
|
|
39
|
-
label: ""
|
|
40
14
|
});
|
|
41
15
|
};
|
|
@@ -1,31 +1,8 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
1
|
import React from 'react';
|
|
3
|
-
|
|
4
|
-
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
5
|
-
// Ignored via go/ees005
|
|
6
|
-
// eslint-disable-next-line import/no-named-as-default
|
|
7
|
-
import Icon from '@atlaskit/icon/base';
|
|
8
2
|
import TextStyleIcon from '@atlaskit/icon/core/text-style';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
-
const textColorGlyph = props =>
|
|
11
|
-
/*#__PURE__*/
|
|
12
|
-
// Ignored via go/ees005
|
|
13
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
14
|
-
React.createElement("svg", _extends({}, props, {
|
|
15
|
-
width: "24",
|
|
16
|
-
height: "24",
|
|
17
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
18
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
19
|
-
d: "M14 12.5h-4l-.874 2.186A.5.5 0 0 1 8.66 15H7.273a.5.5 0 0 1-.456-.705l4.05-9A.5.5 0 0 1 11.323 5h1.354a.5.5 0 0 1 .456.295l4.05 9a.5.5 0 0 1-.456.705h-1.388a.5.5 0 0 1-.465-.314L14 12.5zm-.6-1.5L12 7.5 10.6 11h2.8z",
|
|
20
|
-
fill: "currentColor",
|
|
21
|
-
fillRule: "evenodd"
|
|
22
|
-
}));
|
|
23
3
|
export const EditorTextColorIcon = () => {
|
|
24
|
-
return
|
|
4
|
+
return /*#__PURE__*/React.createElement(TextStyleIcon, {
|
|
25
5
|
label: "",
|
|
26
6
|
spacing: "spacious"
|
|
27
|
-
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
28
|
-
glyph: textColorGlyph,
|
|
29
|
-
label: ""
|
|
30
7
|
});
|
|
31
8
|
};
|
|
@@ -1,34 +1,8 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/extends";
|
|
2
1
|
import React from 'react';
|
|
3
|
-
|
|
4
|
-
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
5
|
-
// Ignored via go/ees005
|
|
6
|
-
// eslint-disable-next-line import/no-named-as-default
|
|
7
|
-
import Icon from '@atlaskit/icon/base';
|
|
8
2
|
import TextStyleIcon from '@atlaskit/icon/core/text-style';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
-
var textColorGlyph = function textColorGlyph(props) {
|
|
11
|
-
return (
|
|
12
|
-
/*#__PURE__*/
|
|
13
|
-
// Ignored via go/ees005
|
|
14
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
15
|
-
React.createElement("svg", _extends({}, props, {
|
|
16
|
-
width: "24",
|
|
17
|
-
height: "24",
|
|
18
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
19
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
20
|
-
d: "M14 12.5h-4l-.874 2.186A.5.5 0 0 1 8.66 15H7.273a.5.5 0 0 1-.456-.705l4.05-9A.5.5 0 0 1 11.323 5h1.354a.5.5 0 0 1 .456.295l4.05 9a.5.5 0 0 1-.456.705h-1.388a.5.5 0 0 1-.465-.314L14 12.5zm-.6-1.5L12 7.5 10.6 11h2.8z",
|
|
21
|
-
fill: "currentColor",
|
|
22
|
-
fillRule: "evenodd"
|
|
23
|
-
}))
|
|
24
|
-
);
|
|
25
|
-
};
|
|
26
3
|
export var EditorTextColorIcon = function EditorTextColorIcon() {
|
|
27
|
-
return
|
|
4
|
+
return /*#__PURE__*/React.createElement(TextStyleIcon, {
|
|
28
5
|
label: "",
|
|
29
6
|
spacing: "spacious"
|
|
30
|
-
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
31
|
-
glyph: textColorGlyph,
|
|
32
|
-
label: ""
|
|
33
7
|
});
|
|
34
8
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-text-color",
|
|
3
|
-
"version": "6.3.
|
|
3
|
+
"version": "6.3.23",
|
|
4
4
|
"description": "Text color plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"@atlaskit/editor-toolbar": "^0.18.0",
|
|
44
44
|
"@atlaskit/editor-toolbar-model": "^0.2.0",
|
|
45
45
|
"@atlaskit/heading": "^5.2.0",
|
|
46
|
-
"@atlaskit/icon": "^29.
|
|
46
|
+
"@atlaskit/icon": "^29.3.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/primitives": "^16.4.0",
|
|
49
49
|
"@atlaskit/theme": "^21.0.0",
|
|
50
|
-
"@atlaskit/tmp-editor-statsig": "^15.
|
|
50
|
+
"@atlaskit/tmp-editor-statsig": "^15.14.0",
|
|
51
51
|
"@atlaskit/tokens": "^8.6.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
53
53
|
"@emotion/react": "^11.7.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@atlaskit/editor-common": "^110.
|
|
56
|
+
"@atlaskit/editor-common": "^110.46.0",
|
|
57
57
|
"react": "^18.2.0",
|
|
58
58
|
"react-dom": "^18.2.0",
|
|
59
59
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -110,9 +110,6 @@
|
|
|
110
110
|
},
|
|
111
111
|
"platform_editor_toolbar_aifc_patch_8": {
|
|
112
112
|
"type": "boolean"
|
|
113
|
-
},
|
|
114
|
-
"platform-custom-icon-migration": {
|
|
115
|
-
"type": "boolean"
|
|
116
113
|
}
|
|
117
114
|
}
|
|
118
115
|
}
|