@atlaskit/editor-plugin-code-block 30.0.0 → 30.0.2
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
|
@@ -16,7 +16,7 @@ var _button = _interopRequireDefault(require("@atlaskit/button/default/button"))
|
|
|
16
16
|
var _codeBlockButton = require("@atlaskit/editor-common/messages/codeBlockButton");
|
|
17
17
|
var _constants = require("@atlaskit/editor-shared-styles/constants");
|
|
18
18
|
var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/core/chevron-down"));
|
|
19
|
-
var
|
|
19
|
+
var _box = require("@atlaskit/primitives/compiled/box");
|
|
20
20
|
var _components = require("@atlaskit/react-select/components");
|
|
21
21
|
var _popupSelect = require("@atlaskit/select/popup-select");
|
|
22
22
|
var _languagePickerOptions = require("./language-picker-options");
|
|
@@ -32,7 +32,7 @@ var styles = {
|
|
|
32
32
|
var CustomGroup = function CustomGroup(props) {
|
|
33
33
|
var allGroups = props.selectProps.options;
|
|
34
34
|
var isFirstGroup = allGroups.length > 0 && allGroups[0] === props.data;
|
|
35
|
-
return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, !isFirstGroup && /*#__PURE__*/_react.default.createElement(
|
|
35
|
+
return /*#__PURE__*/_react.default.createElement(_react.Fragment, null, !isFirstGroup && /*#__PURE__*/_react.default.createElement(_box.Box, {
|
|
36
36
|
as: "hr",
|
|
37
37
|
xcss: styles.divider,
|
|
38
38
|
role: "presentation"
|
|
@@ -6,7 +6,7 @@ import Button from '@atlaskit/button/default/button';
|
|
|
6
6
|
import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages/codeBlockButton';
|
|
7
7
|
import { akEditorLineHeight } from '@atlaskit/editor-shared-styles/constants';
|
|
8
8
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
9
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
10
10
|
import { components } from '@atlaskit/react-select/components';
|
|
11
11
|
import { PopupSelect } from '@atlaskit/select/popup-select';
|
|
12
12
|
import { createGroupedLanguageOptions } from './language-picker-options';
|
|
@@ -11,7 +11,7 @@ import Button from '@atlaskit/button/default/button';
|
|
|
11
11
|
import { codeBlockButtonMessages } from '@atlaskit/editor-common/messages/codeBlockButton';
|
|
12
12
|
import { akEditorLineHeight } from '@atlaskit/editor-shared-styles/constants';
|
|
13
13
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
14
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
|
+
import { Box } from '@atlaskit/primitives/compiled/box';
|
|
15
15
|
import { components } from '@atlaskit/react-select/components';
|
|
16
16
|
import { PopupSelect } from '@atlaskit/select/popup-select';
|
|
17
17
|
import { createGroupedLanguageOptions } from './language-picker-options';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-code-block",
|
|
3
|
-
"version": "30.0.
|
|
3
|
+
"version": "30.0.2",
|
|
4
4
|
"description": "Code block plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
46
46
|
"@atlaskit/react-select": "^4.12.0",
|
|
47
47
|
"@atlaskit/select": "^23.1.0",
|
|
48
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
48
|
+
"@atlaskit/tmp-editor-statsig": "^242.0.0",
|
|
49
49
|
"@atlaskit/tokens": "^20.6.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@compiled/react": "^1.0.2"
|