@atlaskit/editor-plugin-rule 16.2.0 → 17.0.0
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 +6 -0
- package/dist/cjs/rulePlugin.js +2 -2
- package/dist/es2019/rulePlugin.js +1 -1
- package/dist/esm/rulePlugin.js +1 -1
- package/package.json +5 -40
package/CHANGELOG.md
CHANGED
package/dist/cjs/rulePlugin.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.rulePlugin = void 0;
|
|
8
8
|
var _react = _interopRequireDefault(require("react"));
|
|
9
|
-
var
|
|
9
|
+
var _rule = require("@atlaskit/adf-schema/rule");
|
|
10
10
|
var _analytics = require("@atlaskit/editor-common/analytics");
|
|
11
11
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
12
12
|
var _assets = require("@atlaskit/editor-common/assets");
|
|
@@ -37,7 +37,7 @@ var rulePlugin = exports.rulePlugin = function rulePlugin(_ref) {
|
|
|
37
37
|
nodes: function nodes() {
|
|
38
38
|
return [{
|
|
39
39
|
name: 'rule',
|
|
40
|
-
node: (0, _fg.fg)('platform_editor_adf_with_localid') ?
|
|
40
|
+
node: (0, _fg.fg)('platform_editor_adf_with_localid') ? _rule.ruleWithLocalId : _rule.rule
|
|
41
41
|
}];
|
|
42
42
|
},
|
|
43
43
|
actions: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { rule, ruleWithLocalId } from '@atlaskit/adf-schema';
|
|
2
|
+
import { rule, ruleWithLocalId } from '@atlaskit/adf-schema/rule';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { IconDivider } from '@atlaskit/editor-common/assets';
|
package/dist/esm/rulePlugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { rule, ruleWithLocalId } from '@atlaskit/adf-schema';
|
|
2
|
+
import { rule, ruleWithLocalId } from '@atlaskit/adf-schema/rule';
|
|
3
3
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
4
4
|
import { toolbarInsertBlockMessages as messages } from '@atlaskit/editor-common/messages';
|
|
5
5
|
import { IconDivider } from '@atlaskit/editor-common/assets';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-rule",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "17.0.0",
|
|
4
4
|
"description": "Rule plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"sideEffects": false,
|
|
20
20
|
"atlaskit:src": "src/index.ts",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@atlaskit/adf-schema": "^57.
|
|
23
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
24
|
-
"@atlaskit/editor-plugin-ui-control-registry": "^
|
|
22
|
+
"@atlaskit/adf-schema": "^57.4.0",
|
|
23
|
+
"@atlaskit/editor-plugin-analytics": "^17.0.0",
|
|
24
|
+
"@atlaskit/editor-plugin-ui-control-registry": "^11.0.0",
|
|
25
25
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
26
26
|
"@atlaskit/icon": "^37.6.0",
|
|
27
27
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"react-intl": "^7.0.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@atlaskit/editor-common": "^
|
|
34
|
+
"@atlaskit/editor-common": "^121.0.0",
|
|
35
35
|
"react": "^18.2.0 || ^19.2.0",
|
|
36
36
|
"react-dom": "^18.2.0 || ^19.2.0"
|
|
37
37
|
},
|
|
@@ -40,41 +40,6 @@
|
|
|
40
40
|
"react": "^19.2.0",
|
|
41
41
|
"react-dom": "^19.2.0"
|
|
42
42
|
},
|
|
43
|
-
"techstack": {
|
|
44
|
-
"@atlassian/frontend": {
|
|
45
|
-
"code-structure": [
|
|
46
|
-
"editor-plugin"
|
|
47
|
-
],
|
|
48
|
-
"import-structure": [
|
|
49
|
-
"atlassian-conventions"
|
|
50
|
-
],
|
|
51
|
-
"circular-dependencies": [
|
|
52
|
-
"file-and-folder-level"
|
|
53
|
-
]
|
|
54
|
-
},
|
|
55
|
-
"@repo/internal": {
|
|
56
|
-
"dom-events": "use-bind-event-listener",
|
|
57
|
-
"analytics": [
|
|
58
|
-
"analytics-next"
|
|
59
|
-
],
|
|
60
|
-
"design-tokens": [
|
|
61
|
-
"color"
|
|
62
|
-
],
|
|
63
|
-
"theming": [
|
|
64
|
-
"react-context"
|
|
65
|
-
],
|
|
66
|
-
"ui-components": [
|
|
67
|
-
"lite-mode"
|
|
68
|
-
],
|
|
69
|
-
"deprecation": "no-deprecated-imports",
|
|
70
|
-
"styling": [
|
|
71
|
-
"compiled"
|
|
72
|
-
],
|
|
73
|
-
"imports": [
|
|
74
|
-
"import-no-extraneous-disable-for-examples-and-docs"
|
|
75
|
-
]
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
43
|
"platform-feature-flags": {
|
|
79
44
|
"platform_editor_element_browser_analytic": {
|
|
80
45
|
"type": "boolean"
|