@atlaskit/renderer 93.0.2 → 93.0.3
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 +7 -0
- package/actions/package.json +1 -0
- package/consts/package.json +1 -0
- package/dist/cjs/ui/annotations/element/mark.js +5 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/ui/annotations/element/mark.js +6 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/ui/annotations/element/mark.js +5 -1
- package/dist/esm/version.json +1 -1
- package/messages/package.json +1 -0
- package/package.json +2 -2
- package/render-document/package.json +1 -0
- package/renderer-context/package.json +1 -0
- package/serializer/package.json +1 -0
- package/text-serializer/package.json +1 -0
- package/use-feature-flags/package.json +1 -0
- package/utils/package.json +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 93.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`dd0d549d232`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd0d549d232) - [ux] ED-14943 Fix dark theme colors for annotations (inline comments) in renderer
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 93.0.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
package/actions/package.json
CHANGED
package/consts/package.json
CHANGED
|
@@ -36,7 +36,11 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
36
36
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
37
37
|
|
|
38
38
|
var markStyles = function markStyles(props) {
|
|
39
|
-
return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n color: inherit;\n background-color: unset;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-mark-annotation-state='", "'] {\n ", ";\n\n &:focus,\n &[data-has-focus='true'] {\n ", ";\n }\n }\n"])), _adfSchema.AnnotationMarkStates.ACTIVE, (0, _styles.AnnotationSharedCSSByState)(
|
|
39
|
+
return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n color: inherit;\n background-color: unset;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-mark-annotation-state='", "'] {\n ", ";\n\n &:focus,\n &[data-has-focus='true'] {\n ", ";\n }\n }\n"])), _adfSchema.AnnotationMarkStates.ACTIVE, (0, _styles.AnnotationSharedCSSByState)({
|
|
40
|
+
theme: props
|
|
41
|
+
}).blur, (0, _styles.AnnotationSharedCSSByState)({
|
|
42
|
+
theme: props
|
|
43
|
+
}).focus);
|
|
40
44
|
};
|
|
41
45
|
|
|
42
46
|
var MarkComponent = function MarkComponent(_ref) {
|
package/dist/cjs/version.json
CHANGED
|
@@ -12,11 +12,15 @@ const markStyles = props => css`
|
|
|
12
12
|
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
|
13
13
|
|
|
14
14
|
&[data-mark-annotation-state='${AnnotationMarkStates.ACTIVE}'] {
|
|
15
|
-
${AnnotationSharedCSSByState(
|
|
15
|
+
${AnnotationSharedCSSByState({
|
|
16
|
+
theme: props
|
|
17
|
+
}).blur};
|
|
16
18
|
|
|
17
19
|
&:focus,
|
|
18
20
|
&[data-has-focus='true'] {
|
|
19
|
-
${AnnotationSharedCSSByState(
|
|
21
|
+
${AnnotationSharedCSSByState({
|
|
22
|
+
theme: props
|
|
23
|
+
}).focus};
|
|
20
24
|
}
|
|
21
25
|
}
|
|
22
26
|
`;
|
package/dist/es2019/version.json
CHANGED
|
@@ -16,7 +16,11 @@ import { AnnotationSharedCSSByState } from '@atlaskit/editor-common/styles';
|
|
|
16
16
|
import { AnnotationMarkStates } from '@atlaskit/adf-schema';
|
|
17
17
|
|
|
18
18
|
var markStyles = function markStyles(props) {
|
|
19
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: inherit;\n background-color: unset;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-mark-annotation-state='", "'] {\n ", ";\n\n &:focus,\n &[data-has-focus='true'] {\n ", ";\n }\n }\n"])), AnnotationMarkStates.ACTIVE, AnnotationSharedCSSByState(
|
|
19
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n color: inherit;\n background-color: unset;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n\n &[data-mark-annotation-state='", "'] {\n ", ";\n\n &:focus,\n &[data-has-focus='true'] {\n ", ";\n }\n }\n"])), AnnotationMarkStates.ACTIVE, AnnotationSharedCSSByState({
|
|
20
|
+
theme: props
|
|
21
|
+
}).blur, AnnotationSharedCSSByState({
|
|
22
|
+
theme: props
|
|
23
|
+
}).focus);
|
|
20
24
|
};
|
|
21
25
|
|
|
22
26
|
export var MarkComponent = function MarkComponent(_ref) {
|
package/dist/esm/version.json
CHANGED
package/messages/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "93.0.
|
|
3
|
+
"version": "93.0.3",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@atlaskit/media-core": "^32.3.1",
|
|
60
|
-
"@atlaskit/smart-card": "^18.0.
|
|
60
|
+
"@atlaskit/smart-card": "^18.0.18",
|
|
61
61
|
"react": "^16.8.0",
|
|
62
62
|
"react-dom": "^16.8.0"
|
|
63
63
|
},
|
package/serializer/package.json
CHANGED