@atlaskit/editor-common 62.0.0 → 62.1.0
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 +10 -0
- package/dist/cjs/styles/index.js +8 -0
- package/dist/cjs/styles/shared/text-color.js +17 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/styles/index.js +1 -0
- package/dist/es2019/styles/shared/text-color.js +10 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/styles/index.js +1 -0
- package/dist/esm/styles/shared/text-color.js +6 -0
- package/dist/esm/version.json +1 -1
- package/dist/types/styles/index.d.ts +1 -0
- package/dist/types/styles/shared/text-color.d.ts +1 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 62.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`b9cd2373064`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9cd2373064) - [ED-14106] Reset custom color when the node is inside a link
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 62.0.0
|
|
4
14
|
|
|
5
15
|
### Major Changes
|
package/dist/cjs/styles/index.js
CHANGED
|
@@ -255,6 +255,12 @@ Object.defineProperty(exports, "tasksAndDecisionsStyles", {
|
|
|
255
255
|
return _taskDecision.tasksAndDecisionsStyles;
|
|
256
256
|
}
|
|
257
257
|
});
|
|
258
|
+
Object.defineProperty(exports, "textColorStyles", {
|
|
259
|
+
enumerable: true,
|
|
260
|
+
get: function get() {
|
|
261
|
+
return _textColor.textColorStyles;
|
|
262
|
+
}
|
|
263
|
+
});
|
|
258
264
|
Object.defineProperty(exports, "whitespaceSharedStyles", {
|
|
259
265
|
enumerable: true,
|
|
260
266
|
get: function get() {
|
|
@@ -262,6 +268,8 @@ Object.defineProperty(exports, "whitespaceSharedStyles", {
|
|
|
262
268
|
}
|
|
263
269
|
});
|
|
264
270
|
|
|
271
|
+
var _textColor = require("./shared/text-color");
|
|
272
|
+
|
|
265
273
|
var _table = require("./shared/table");
|
|
266
274
|
|
|
267
275
|
var _annotation = require("./shared/annotation");
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.textColorStyles = void 0;
|
|
9
|
+
|
|
10
|
+
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
11
|
+
|
|
12
|
+
var _styledComponents = require("styled-components");
|
|
13
|
+
|
|
14
|
+
var _templateObject;
|
|
15
|
+
|
|
16
|
+
var textColorStyles = (0, _styledComponents.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n .fabric-text-color-mark {\n color: var(--custom-text-color, inherit);\n }\n\n a .fabric-text-color-mark {\n color: unset;\n }\n"])));
|
|
17
|
+
exports.textColorStyles = textColorStyles;
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { textColorStyles } from './shared/text-color';
|
|
1
2
|
export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding } from './shared/table';
|
|
2
3
|
export { AnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles } from './shared/annotation';
|
|
3
4
|
export { columnLayoutSharedStyle } from './shared/column-layout';
|
package/dist/es2019/version.json
CHANGED
package/dist/esm/styles/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { textColorStyles } from './shared/text-color';
|
|
1
2
|
export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding } from './shared/table';
|
|
2
3
|
export { AnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles } from './shared/annotation';
|
|
3
4
|
export { columnLayoutSharedStyle } from './shared/column-layout';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
+
|
|
3
|
+
var _templateObject;
|
|
4
|
+
|
|
5
|
+
import { css } from 'styled-components';
|
|
6
|
+
export var textColorStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .fabric-text-color-mark {\n color: var(--custom-text-color, inherit);\n }\n\n a .fabric-text-color-mark {\n color: unset;\n }\n"])));
|
package/dist/esm/version.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { textColorStyles } from './shared/text-color';
|
|
1
2
|
export { tableSharedStyle, tableMarginTop, tableMarginBottom, tableMarginSides, tableCellMinWidth, tableNewColumnMinWidth, tableCellBorderWidth, calcTableWidth, TableSharedCssClassName, tableResizeHandleWidth, tableCellPadding, } from './shared/table';
|
|
2
3
|
export { AnnotationSharedClassNames, AnnotationSharedCSSByState, annotationSharedStyles, } from './shared/annotation';
|
|
3
4
|
export { columnLayoutSharedStyle } from './shared/column-layout';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const textColorStyles: import("styled-components").InterpolationValue[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "62.
|
|
3
|
+
"version": "62.1.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@atlaskit/activity-provider": "^2.3.0",
|
|
45
|
-
"@atlaskit/adf-schema": "^20.
|
|
45
|
+
"@atlaskit/adf-schema": "^20.1.0",
|
|
46
46
|
"@atlaskit/adf-utils": "^14.4.0",
|
|
47
47
|
"@atlaskit/analytics-namespaced-context": "^6.3.0",
|
|
48
48
|
"@atlaskit/analytics-next": "^8.2.0",
|