@atlaskit/editor-plugin-block-type 5.1.14 → 5.1.15

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-block-type
2
2
 
3
+ ## 5.1.15
4
+
5
+ ### Patch Changes
6
+
7
+ - [#147400](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/147400)
8
+ [`800ff50276ed7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/800ff50276ed7) -
9
+ Clean up experiment platform_editor_nested_non_bodied_macros
10
+ - Updated dependencies
11
+
3
12
  ## 5.1.14
4
13
 
5
14
  ### Patch Changes
@@ -132,15 +132,12 @@ var blockTypePlugin = exports.blockTypePlugin = function blockTypePlugin(_ref3)
132
132
  return {
133
133
  name: 'blockType',
134
134
  nodes: function nodes() {
135
- var blockquote = (0, _experiments.editorExperiment)('platform_editor_nested_non_bodied_macros', 'test', {
136
- exposure: false
137
- }) ? _adfSchema.extendedBlockquote : _adfSchema.blockquoteWithoutNonBodiedMacros;
138
135
  var nodes = [{
139
136
  name: 'heading',
140
137
  node: _adfSchema.heading
141
138
  }, {
142
139
  name: 'blockquote',
143
- node: blockquote
140
+ node: _adfSchema.extendedBlockquote
144
141
  }, {
145
142
  name: 'hardBreak',
146
143
  node: _adfSchema.hardBreak
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { extendedBlockquote, blockquoteWithoutNonBodiedMacros, hardBreak, heading } from '@atlaskit/adf-schema';
2
+ import { extendedBlockquote, hardBreak, heading } from '@atlaskit/adf-schema';
3
3
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
4
4
  import { keymap, tooltip } from '@atlaskit/editor-common/keymaps';
5
5
  import { blockTypeMessages as messages } from '@atlaskit/editor-common/messages';
@@ -121,15 +121,12 @@ const blockTypePlugin = ({
121
121
  return {
122
122
  name: 'blockType',
123
123
  nodes() {
124
- const blockquote = editorExperiment('platform_editor_nested_non_bodied_macros', 'test', {
125
- exposure: false
126
- }) ? extendedBlockquote : blockquoteWithoutNonBodiedMacros;
127
124
  const nodes = [{
128
125
  name: 'heading',
129
126
  node: heading
130
127
  }, {
131
128
  name: 'blockquote',
132
- node: blockquote
129
+ node: extendedBlockquote
133
130
  }, {
134
131
  name: 'hardBreak',
135
132
  node: hardBreak
@@ -3,7 +3,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
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 { extendedBlockquote, blockquoteWithoutNonBodiedMacros, hardBreak, heading } from '@atlaskit/adf-schema';
6
+ import { extendedBlockquote, hardBreak, heading } from '@atlaskit/adf-schema';
7
7
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
8
8
  import { keymap, tooltip } from '@atlaskit/editor-common/keymaps';
9
9
  import { blockTypeMessages as messages } from '@atlaskit/editor-common/messages';
@@ -125,15 +125,12 @@ var blockTypePlugin = function blockTypePlugin(_ref3) {
125
125
  return {
126
126
  name: 'blockType',
127
127
  nodes: function nodes() {
128
- var blockquote = editorExperiment('platform_editor_nested_non_bodied_macros', 'test', {
129
- exposure: false
130
- }) ? extendedBlockquote : blockquoteWithoutNonBodiedMacros;
131
128
  var nodes = [{
132
129
  name: 'heading',
133
130
  node: heading
134
131
  }, {
135
132
  name: 'blockquote',
136
- node: blockquote
133
+ node: extendedBlockquote
137
134
  }, {
138
135
  name: 'hardBreak',
139
136
  node: hardBreak
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "5.1.14",
3
+ "version": "5.1.15",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "@atlaskit/adf-schema": "^47.6.0",
39
- "@atlaskit/editor-common": "^103.16.0",
39
+ "@atlaskit/editor-common": "^103.19.0",
40
40
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
41
41
  "@atlaskit/editor-plugin-primary-toolbar": "^3.2.0",
42
42
  "@atlaskit/editor-plugin-selection-toolbar": "^3.5.0",
@@ -49,7 +49,7 @@
49
49
  "@atlaskit/primitives": "^14.4.0",
50
50
  "@atlaskit/prosemirror-input-rules": "^3.3.0",
51
51
  "@atlaskit/theme": "^18.0.0",
52
- "@atlaskit/tmp-editor-statsig": "^4.14.0",
52
+ "@atlaskit/tmp-editor-statsig": "^4.15.0",
53
53
  "@atlaskit/tokens": "^4.8.0",
54
54
  "@babel/runtime": "^7.0.0",
55
55
  "@emotion/react": "^11.7.1"
@@ -60,12 +60,12 @@
60
60
  "react-intl-next": "npm:react-intl@^5.18.1"
61
61
  },
62
62
  "devDependencies": {
63
- "@af/visual-regression": "^1.3.0",
63
+ "@af/visual-regression": "workspace:^",
64
64
  "@atlaskit/analytics-next": "^11.0.0",
65
65
  "@atlaskit/editor-plugin-quick-insert": "^2.4.0",
66
66
  "@atlaskit/editor-plugin-type-ahead": "^2.5.0",
67
- "@atlaskit/ssr": "^0.4.0",
68
- "@atlaskit/visual-regression": "^0.10.0",
67
+ "@atlaskit/ssr": "workspace:^",
68
+ "@atlaskit/visual-regression": "workspace:^",
69
69
  "@testing-library/react": "^13.4.0",
70
70
  "@testing-library/user-event": "^14.4.3",
71
71
  "typescript": "~5.4.2",