@atlaskit/editor-plugin-code-block-advanced 4.0.1 → 4.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 +14 -0
- package/dist/cjs/ui/theme.js +1 -1
- package/dist/es2019/ui/theme.js +1 -1
- package/dist/esm/ui/theme.js +1 -1
- package/package.json +5 -5
- package/src/ui/theme.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-code-block-advanced
|
|
2
2
|
|
|
3
|
+
## 4.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.0.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`255837cfba315`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/255837cfba315) -
|
|
14
|
+
Internal changes to how border radius is applied.
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 4.0.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/ui/theme.js
CHANGED
|
@@ -42,7 +42,7 @@ var cmTheme = exports.cmTheme = _view.EditorView.theme({
|
|
|
42
42
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
43
43
|
lineHeight: 'unset',
|
|
44
44
|
fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
45
|
-
borderRadius: "var(--ds-
|
|
45
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
46
46
|
backgroundImage: overflowShadow({
|
|
47
47
|
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
48
48
|
}),
|
package/dist/es2019/ui/theme.js
CHANGED
|
@@ -36,7 +36,7 @@ export const cmTheme = CodeMirror.theme({
|
|
|
36
36
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
37
37
|
lineHeight: 'unset',
|
|
38
38
|
fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
39
|
-
borderRadius: "var(--ds-
|
|
39
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
40
40
|
backgroundImage: overflowShadow({
|
|
41
41
|
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
42
42
|
}),
|
package/dist/esm/ui/theme.js
CHANGED
|
@@ -36,7 +36,7 @@ export var cmTheme = CodeMirror.theme({
|
|
|
36
36
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
37
37
|
lineHeight: 'unset',
|
|
38
38
|
fontFamily: "var(--ds-font-family-code, ui-monospace, Menlo, \"Segoe UI Mono\", \"Ubuntu Mono\", monospace)",
|
|
39
|
-
borderRadius: "var(--ds-
|
|
39
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
40
40
|
backgroundImage: overflowShadow({
|
|
41
41
|
leftCoverWidth: "var(--ds-space-300, 24px)"
|
|
42
42
|
}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-code-block-advanced",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.3",
|
|
4
4
|
"description": "CodeBlockAdvanced plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"@atlaskit/editor-plugin-selection": "^4.0.0",
|
|
37
37
|
"@atlaskit/editor-plugin-selection-marker": "^4.0.0",
|
|
38
38
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
39
|
-
"@atlaskit/editor-toolbar": "^0.
|
|
39
|
+
"@atlaskit/editor-toolbar": "^0.8.0",
|
|
40
40
|
"@atlaskit/icon": "^28.1.0",
|
|
41
41
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
42
|
-
"@atlaskit/tmp-editor-statsig": "^12.
|
|
43
|
-
"@atlaskit/tokens": "^6.
|
|
42
|
+
"@atlaskit/tmp-editor-statsig": "^12.4.0",
|
|
43
|
+
"@atlaskit/tokens": "^6.2.0",
|
|
44
44
|
"@babel/runtime": "^7.0.0",
|
|
45
45
|
"@codemirror/autocomplete": "6.18.4",
|
|
46
46
|
"@codemirror/commands": "6.7.1",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"codemirror-lang-elixir": "4.0.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@atlaskit/editor-common": "^108.
|
|
58
|
+
"@atlaskit/editor-common": "^108.2.0",
|
|
59
59
|
"react": "^18.2.0",
|
|
60
60
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
61
61
|
},
|
package/src/ui/theme.ts
CHANGED
|
@@ -40,7 +40,7 @@ export const cmTheme = CodeMirror.theme({
|
|
|
40
40
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
41
41
|
lineHeight: 'unset',
|
|
42
42
|
fontFamily: token('font.family.code'),
|
|
43
|
-
borderRadius: token('
|
|
43
|
+
borderRadius: token('radius.small'),
|
|
44
44
|
backgroundImage: overflowShadow({
|
|
45
45
|
leftCoverWidth: token('space.300'),
|
|
46
46
|
}),
|