@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 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
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/actions.js",
4
4
  "module": "../dist/esm/actions.js",
5
5
  "module:es2019": "../dist/es2019/actions.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/actions.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/consts.js",
4
4
  "module": "../dist/esm/consts.js",
5
5
  "module:es2019": "../dist/es2019/consts.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/consts.d.ts"
7
8
  }
@@ -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)(props).blur, (0, _styles.AnnotationSharedCSSByState)(props).focus);
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) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "93.0.2",
3
+ "version": "93.0.3",
4
4
  "sideEffects": false
5
5
  }
@@ -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(props).blur};
15
+ ${AnnotationSharedCSSByState({
16
+ theme: props
17
+ }).blur};
16
18
 
17
19
  &:focus,
18
20
  &[data-has-focus='true'] {
19
- ${AnnotationSharedCSSByState(props).focus};
21
+ ${AnnotationSharedCSSByState({
22
+ theme: props
23
+ }).focus};
20
24
  }
21
25
  }
22
26
  `;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "93.0.2",
3
+ "version": "93.0.3",
4
4
  "sideEffects": false
5
5
  }
@@ -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(props).blur, AnnotationSharedCSSByState(props).focus);
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) {
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "93.0.2",
3
+ "version": "93.0.3",
4
4
  "sideEffects": false
5
5
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/messages.js",
4
4
  "module": "../dist/esm/messages.js",
5
5
  "module:es2019": "../dist/es2019/messages.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/messages.d.ts"
7
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "93.0.2",
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.14",
60
+ "@atlaskit/smart-card": "^18.0.18",
61
61
  "react": "^16.8.0",
62
62
  "react-dom": "^16.8.0"
63
63
  },
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/render-document.js",
4
4
  "module": "../dist/esm/render-document.js",
5
5
  "module:es2019": "../dist/es2019/render-document.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/render-document.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/renderer-context.js",
4
4
  "module": "../dist/esm/renderer-context.js",
5
5
  "module:es2019": "../dist/es2019/renderer-context.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/renderer-context.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/serializer.js",
4
4
  "module": "../dist/esm/serializer.js",
5
5
  "module:es2019": "../dist/es2019/serializer.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/serializer.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/text-serializer.js",
4
4
  "module": "../dist/esm/text-serializer.js",
5
5
  "module:es2019": "../dist/es2019/text-serializer.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/text-serializer.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/use-feature-flags.js",
4
4
  "module": "../dist/esm/use-feature-flags.js",
5
5
  "module:es2019": "../dist/es2019/use-feature-flags.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/use-feature-flags.d.ts"
7
8
  }
@@ -3,5 +3,6 @@
3
3
  "main": "../dist/cjs/utils.js",
4
4
  "module": "../dist/esm/utils.js",
5
5
  "module:es2019": "../dist/es2019/utils.js",
6
+ "sideEffects": false,
6
7
  "types": "../dist/types/utils.d.ts"
7
8
  }