@atlaskit/editor-plugin-block-type 12.1.11 → 12.1.13
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,19 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
|
2
2
|
|
|
3
|
+
## 12.1.13
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 12.1.12
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`5892e575833a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5892e575833a1) -
|
|
14
|
+
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 12.1.11
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -7,8 +7,6 @@ exports.wrapperSmallStyle = exports.keyboardShortcutSelect = exports.keyboardSho
|
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
var _styles = require("@atlaskit/editor-common/styles");
|
|
9
9
|
var _shortcut = require("@atlaskit/editor-shared-styles/shortcut");
|
|
10
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
11
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
12
10
|
/**
|
|
13
11
|
* @jsxRuntime classic
|
|
14
12
|
* @jsx jsx
|
|
@@ -17,7 +15,7 @@ var _colors = require("@atlaskit/theme/colors");
|
|
|
17
15
|
|
|
18
16
|
var blockTypeMenuItemStyle = exports.blockTypeMenuItemStyle = function blockTypeMenuItemStyle(tagName, selected, typographyTheme) {
|
|
19
17
|
// TEMP FIX: See https://product-fabric.atlassian.net/browse/ED-13878
|
|
20
|
-
var selectedStyle = selected ? "".concat(tagName, " { color: ", "var(--ds-text,
|
|
18
|
+
var selectedStyle = selected ? "".concat(tagName, " { color: ", "var(--ds-text, #292A2E)", " !important; }") : '';
|
|
21
19
|
return function () {
|
|
22
20
|
return (0, _react.css)(
|
|
23
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -44,12 +42,12 @@ var blockTypeMenuItemStyle = exports.blockTypeMenuItemStyle = function blockType
|
|
|
44
42
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
45
43
|
var keyboardShortcut = exports.keyboardShortcut = (0, _react.css)(_shortcut.shortcutStyle, {
|
|
46
44
|
marginLeft: "var(--ds-space-200, 16px)",
|
|
47
|
-
color: "var(--ds-icon,
|
|
45
|
+
color: "var(--ds-icon, #292A2E)"
|
|
48
46
|
});
|
|
49
47
|
|
|
50
48
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
51
49
|
var keyboardShortcutSelect = exports.keyboardShortcutSelect = (0, _react.css)({
|
|
52
|
-
color: "var(--ds-icon,
|
|
50
|
+
color: "var(--ds-icon, #292A2E)"
|
|
53
51
|
});
|
|
54
52
|
|
|
55
53
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -6,11 +6,9 @@
|
|
|
6
6
|
import { css } from '@emotion/react';
|
|
7
7
|
import { headingsSharedStyles, blockquoteSharedStyles } from '@atlaskit/editor-common/styles';
|
|
8
8
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
-
import { N400 } from '@atlaskit/theme/colors';
|
|
11
9
|
export const blockTypeMenuItemStyle = (tagName, selected, typographyTheme) => {
|
|
12
10
|
// TEMP FIX: See https://product-fabric.atlassian.net/browse/ED-13878
|
|
13
|
-
const selectedStyle = selected ? `${tagName} { color: ${
|
|
11
|
+
const selectedStyle = selected ? `${tagName} { color: ${"var(--ds-text, #292A2E)"} !important; }` : '';
|
|
14
12
|
return () => css(
|
|
15
13
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
14
|
tagName === 'blockquote' ? blockquoteSharedStyles : headingsSharedStyles(typographyTheme), {
|
|
@@ -35,12 +33,12 @@ export const blockTypeMenuItemStyle = (tagName, selected, typographyTheme) => {
|
|
|
35
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
36
34
|
export const keyboardShortcut = css(shortcutStyle, {
|
|
37
35
|
marginLeft: "var(--ds-space-200, 16px)",
|
|
38
|
-
color:
|
|
36
|
+
color: "var(--ds-icon, #292A2E)"
|
|
39
37
|
});
|
|
40
38
|
|
|
41
39
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
42
40
|
export const keyboardShortcutSelect = css({
|
|
43
|
-
color:
|
|
41
|
+
color: "var(--ds-icon, #292A2E)"
|
|
44
42
|
});
|
|
45
43
|
|
|
46
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -6,11 +6,9 @@
|
|
|
6
6
|
import { css } from '@emotion/react';
|
|
7
7
|
import { headingsSharedStyles, blockquoteSharedStyles } from '@atlaskit/editor-common/styles';
|
|
8
8
|
import { shortcutStyle } from '@atlaskit/editor-shared-styles/shortcut';
|
|
9
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
|
-
import { N400 } from '@atlaskit/theme/colors';
|
|
11
9
|
export var blockTypeMenuItemStyle = function blockTypeMenuItemStyle(tagName, selected, typographyTheme) {
|
|
12
10
|
// TEMP FIX: See https://product-fabric.atlassian.net/browse/ED-13878
|
|
13
|
-
var selectedStyle = selected ? "".concat(tagName, " { color: ", "var(--ds-text,
|
|
11
|
+
var selectedStyle = selected ? "".concat(tagName, " { color: ", "var(--ds-text, #292A2E)", " !important; }") : '';
|
|
14
12
|
return function () {
|
|
15
13
|
return css(
|
|
16
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
@@ -37,12 +35,12 @@ export var blockTypeMenuItemStyle = function blockTypeMenuItemStyle(tagName, sel
|
|
|
37
35
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles, @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
38
36
|
export var keyboardShortcut = css(shortcutStyle, {
|
|
39
37
|
marginLeft: "var(--ds-space-200, 16px)",
|
|
40
|
-
color: "var(--ds-icon,
|
|
38
|
+
color: "var(--ds-icon, #292A2E)"
|
|
41
39
|
});
|
|
42
40
|
|
|
43
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
42
|
export var keyboardShortcutSelect = css({
|
|
45
|
-
color: "var(--ds-icon,
|
|
43
|
+
color: "var(--ds-icon, #292A2E)"
|
|
46
44
|
});
|
|
47
45
|
|
|
48
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-block-type",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.13",
|
|
4
4
|
"description": "BlockType plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,21 +43,20 @@
|
|
|
43
43
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
44
44
|
"@atlaskit/editor-toolbar": "^0.20.0",
|
|
45
45
|
"@atlaskit/editor-toolbar-model": "^0.4.0",
|
|
46
|
-
"@atlaskit/icon": "^33.
|
|
47
|
-
"@atlaskit/icon-lab": "^6.
|
|
46
|
+
"@atlaskit/icon": "^33.1.0",
|
|
47
|
+
"@atlaskit/icon-lab": "^6.2.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
49
49
|
"@atlaskit/primitives": "^18.1.0",
|
|
50
50
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
51
51
|
"@atlaskit/prosemirror-input-rules": "^3.6.0",
|
|
52
|
-
"@atlaskit/
|
|
53
|
-
"@atlaskit/
|
|
54
|
-
"@atlaskit/tokens": "^11.2.0",
|
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^47.0.0",
|
|
53
|
+
"@atlaskit/tokens": "^11.3.0",
|
|
55
54
|
"@babel/runtime": "^7.0.0",
|
|
56
55
|
"@compiled/react": "^0.20.0",
|
|
57
56
|
"@emotion/react": "^11.7.1"
|
|
58
57
|
},
|
|
59
58
|
"peerDependencies": {
|
|
60
|
-
"@atlaskit/editor-common": "^112.
|
|
59
|
+
"@atlaskit/editor-common": "^112.10.0",
|
|
61
60
|
"react": "^18.2.0",
|
|
62
61
|
"react-dom": "^18.2.0",
|
|
63
62
|
"react-intl-next": "npm:react-intl@^5.18.1"
|