@atlaskit/editor-plugin-code-block 18.1.4 → 18.1.5

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,11 @@
1
1
  # @atlaskit/editor-plugin-code-block
2
2
 
3
+ ## 18.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 18.1.4
4
10
 
5
11
  ### Patch Changes
@@ -8,7 +8,7 @@ exports.default = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
10
10
  var _react = _interopRequireDefault(require("react"));
11
- var _adfSchema = require("@atlaskit/adf-schema");
11
+ var _codeBlock = require("@atlaskit/adf-schema/code-block");
12
12
  var _analytics = require("@atlaskit/editor-common/analytics");
13
13
  var _blockMenu = require("@atlaskit/editor-common/block-menu");
14
14
  var _messages = require("@atlaskit/editor-common/messages");
@@ -66,7 +66,7 @@ var codeBlockPlugin = function codeBlockPlugin(_ref) {
66
66
  nodes: function nodes() {
67
67
  return [{
68
68
  name: 'codeBlock',
69
- node: (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_code_block_q4_lovability', 'isEnabled', true) ? _adfSchema.codeBlock : (0, _fg.fg)('platform_editor_adf_with_localid') ? _adfSchema.codeBlockWithLocalId : _adfSchema.codeBlock
69
+ node: (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_code_block_q4_lovability', 'isEnabled', true) ? _codeBlock.codeBlock : (0, _fg.fg)('platform_editor_adf_with_localid') ? _codeBlock.codeBlockWithLocalId : _codeBlock.codeBlock
70
70
  }];
71
71
  },
72
72
  getSharedState: function getSharedState(state) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { codeBlock, codeBlockWithLocalId } from '@atlaskit/adf-schema';
2
+ import { codeBlock, codeBlockWithLocalId } from '@atlaskit/adf-schema/code-block';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_MENU_SECTION_RANK } from '@atlaskit/editor-common/block-menu';
5
5
  import { blockTypeMessages } from '@atlaskit/editor-common/messages';
@@ -3,7 +3,7 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
3
3
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
4
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  import React from 'react';
6
- import { codeBlock, codeBlockWithLocalId } from '@atlaskit/adf-schema';
6
+ import { codeBlock, codeBlockWithLocalId } from '@atlaskit/adf-schema/code-block';
7
7
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
8
8
  import { TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_MENU_SECTION_RANK } from '@atlaskit/editor-common/block-menu';
9
9
  import { blockTypeMessages } from '@atlaskit/editor-common/messages';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-code-block",
3
- "version": "18.1.4",
3
+ "version": "18.1.5",
4
4
  "description": "Code block plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,7 +24,7 @@
24
24
  "@atlaskit/code": "^19.2.0",
25
25
  "@atlaskit/css": "^1.1.0",
26
26
  "@atlaskit/editor-plugin-analytics": "^16.1.0",
27
- "@atlaskit/editor-plugin-block-menu": "^15.0.0",
27
+ "@atlaskit/editor-plugin-block-menu": "^15.1.0",
28
28
  "@atlaskit/editor-plugin-composition": "^15.1.0",
29
29
  "@atlaskit/editor-plugin-decorations": "^16.1.0",
30
30
  "@atlaskit/editor-plugin-editor-disabled": "^16.1.0",
@@ -45,7 +45,7 @@
45
45
  "@atlaskit/prosemirror-input-rules": "^4.1.0",
46
46
  "@atlaskit/react-select": "^4.9.0",
47
47
  "@atlaskit/select": "^22.11.0",
48
- "@atlaskit/tmp-editor-statsig": "^172.0.0",
48
+ "@atlaskit/tmp-editor-statsig": "^173.0.0",
49
49
  "@atlaskit/tokens": "^16.11.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@compiled/react": "^1.0.2"