@atlaskit/editor-plugin-code-block-advanced 2.2.9 → 2.2.10

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,14 @@
1
1
  # @atlaskit/editor-plugin-code-block-advanced
2
2
 
3
+ ## 2.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - [#156937](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/156937)
8
+ [`0a144ecb9fd2b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0a144ecb9fd2b) -
9
+ [ux] Improve the syntax highlighting for diff language.
10
+ - Updated dependencies
11
+
3
12
  ## 2.2.9
4
13
 
5
14
  ### Patch Changes
@@ -40,11 +40,17 @@ var highlightStyle = exports.highlightStyle = _language.HighlightStyle.define([{
40
40
  tag: [_highlight.tags.atom, _highlight.tags.bool, _highlight.tags.url, _highlight.tags.contentSeparator, _highlight.tags.labelName],
41
41
  color: "var(--ds-text-accent-blue, #0055CC)"
42
42
  }, {
43
- tag: [_highlight.tags.literal, _highlight.tags.inserted],
43
+ tag: [_highlight.tags.literal],
44
44
  color: "var(--ds-text-accent-blue, #0055CC)"
45
45
  }, {
46
- tag: [_highlight.tags.string, _highlight.tags.deleted],
46
+ tag: _highlight.tags.inserted,
47
47
  color: "var(--ds-text-accent-green, #216E4E)"
48
+ }, {
49
+ tag: [_highlight.tags.string],
50
+ color: "var(--ds-text-accent-green, #216E4E)"
51
+ }, {
52
+ tag: [_highlight.tags.deleted],
53
+ color: "var(--ds-text-accent-red, #AE2E24)"
48
54
  }, {
49
55
  tag: [_highlight.tags.special(_highlight.tags.string)],
50
56
  color: "var(--ds-text-accent-green, #216E4E)"
@@ -34,11 +34,17 @@ export const highlightStyle = HighlightStyle.define([{
34
34
  tag: [tags.atom, tags.bool, tags.url, tags.contentSeparator, tags.labelName],
35
35
  color: "var(--ds-text-accent-blue, #0055CC)"
36
36
  }, {
37
- tag: [tags.literal, tags.inserted],
37
+ tag: [tags.literal],
38
38
  color: "var(--ds-text-accent-blue, #0055CC)"
39
39
  }, {
40
- tag: [tags.string, tags.deleted],
40
+ tag: tags.inserted,
41
41
  color: "var(--ds-text-accent-green, #216E4E)"
42
+ }, {
43
+ tag: [tags.string],
44
+ color: "var(--ds-text-accent-green, #216E4E)"
45
+ }, {
46
+ tag: [tags.deleted],
47
+ color: "var(--ds-text-accent-red, #AE2E24)"
42
48
  }, {
43
49
  tag: [tags.special(tags.string)],
44
50
  color: "var(--ds-text-accent-green, #216E4E)"
@@ -34,11 +34,17 @@ export var highlightStyle = HighlightStyle.define([{
34
34
  tag: [tags.atom, tags.bool, tags.url, tags.contentSeparator, tags.labelName],
35
35
  color: "var(--ds-text-accent-blue, #0055CC)"
36
36
  }, {
37
- tag: [tags.literal, tags.inserted],
37
+ tag: [tags.literal],
38
38
  color: "var(--ds-text-accent-blue, #0055CC)"
39
39
  }, {
40
- tag: [tags.string, tags.deleted],
40
+ tag: tags.inserted,
41
41
  color: "var(--ds-text-accent-green, #216E4E)"
42
+ }, {
43
+ tag: [tags.string],
44
+ color: "var(--ds-text-accent-green, #216E4E)"
45
+ }, {
46
+ tag: [tags.deleted],
47
+ color: "var(--ds-text-accent-red, #AE2E24)"
42
48
  }, {
43
49
  tag: [tags.special(tags.string)],
44
50
  color: "var(--ds-text-accent-green, #216E4E)"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block-advanced",
3
- "version": "2.2.9",
3
+ "version": "2.2.10",
4
4
  "description": "CodeBlockAdvanced plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -33,14 +33,14 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@atlaskit/adf-schema": "^47.6.0",
36
- "@atlaskit/editor-common": "^105.5.0",
36
+ "@atlaskit/editor-common": "^105.6.0",
37
37
  "@atlaskit/editor-plugin-code-block": "^4.4.0",
38
38
  "@atlaskit/editor-plugin-editor-disabled": "^2.0.0",
39
39
  "@atlaskit/editor-plugin-find-replace": "^2.2.0",
40
40
  "@atlaskit/editor-plugin-selection": "^2.2.0",
41
41
  "@atlaskit/editor-plugin-selection-marker": "^2.3.0",
42
42
  "@atlaskit/editor-prosemirror": "7.0.0",
43
- "@atlaskit/tokens": "^4.8.0",
43
+ "@atlaskit/tokens": "^4.9.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@codemirror/autocomplete": "6.18.4",
46
46
  "@codemirror/commands": "6.7.1",
@@ -34,10 +34,17 @@ export const highlightStyle = HighlightStyle.define([
34
34
  color: token('color.text.accent.blue'),
35
35
  },
36
36
  {
37
- tag: [tags.literal, tags.inserted],
37
+ tag: [tags.literal],
38
38
  color: token('color.text.accent.blue'),
39
39
  },
40
- { tag: [tags.string, tags.deleted], color: token('color.text.accent.green') },
40
+ {
41
+ tag: tags.inserted,
42
+ color: token('color.text.accent.green')
43
+ },
44
+ { tag: [tags.string], color: token('color.text.accent.green') },
45
+ {
46
+ tag: [tags.deleted], color: token('color.text.accent.red')
47
+ },
41
48
  {
42
49
  tag: [tags.special(tags.string)],
43
50
  color: token('color.text.accent.green'),