@atlaskit/editor-plugin-block-type 5.1.14 → 5.1.16
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,20 @@
|
|
1
1
|
# @atlaskit/editor-plugin-block-type
|
2
2
|
|
3
|
+
## 5.1.16
|
4
|
+
|
5
|
+
### Patch Changes
|
6
|
+
|
7
|
+
- Updated dependencies
|
8
|
+
|
9
|
+
## 5.1.15
|
10
|
+
|
11
|
+
### Patch Changes
|
12
|
+
|
13
|
+
- [#147400](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/147400)
|
14
|
+
[`800ff50276ed7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/800ff50276ed7) -
|
15
|
+
Clean up experiment platform_editor_nested_non_bodied_macros
|
16
|
+
- Updated dependencies
|
17
|
+
|
3
18
|
## 5.1.14
|
4
19
|
|
5
20
|
### 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:
|
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,
|
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:
|
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,
|
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:
|
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.
|
3
|
+
"version": "5.1.16",
|
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": "^
|
39
|
+
"@atlaskit/editor-common": "^104.0.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",
|
@@ -44,12 +44,12 @@
|
|
44
44
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
45
45
|
"@atlaskit/editor-tables": "^2.9.0",
|
46
46
|
"@atlaskit/icon": "^25.6.0",
|
47
|
-
"@atlaskit/icon-lab": "^4.
|
47
|
+
"@atlaskit/icon-lab": "^4.10.0",
|
48
48
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
49
|
-
"@atlaskit/primitives": "^14.
|
49
|
+
"@atlaskit/primitives": "^14.7.0",
|
50
50
|
"@atlaskit/prosemirror-input-rules": "^3.3.0",
|
51
51
|
"@atlaskit/theme": "^18.0.0",
|
52
|
-
"@atlaskit/tmp-editor-statsig": "^4.
|
52
|
+
"@atlaskit/tmp-editor-statsig": "^4.16.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": "
|
63
|
+
"@af/visual-regression": "workspace:^",
|
64
64
|
"@atlaskit/analytics-next": "^11.0.0",
|
65
65
|
"@atlaskit/editor-plugin-quick-insert": "^2.4.0",
|
66
|
-
"@atlaskit/editor-plugin-type-ahead": "^2.
|
67
|
-
"@atlaskit/ssr": "
|
68
|
-
"@atlaskit/visual-regression": "
|
66
|
+
"@atlaskit/editor-plugin-type-ahead": "^2.6.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",
|