@atlaskit/editor-plugin-rule 32.0.0 → 33.1.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 +18 -0
- package/dist/cjs/rulePlugin.js +1 -1
- package/dist/es2019/rulePlugin.js +1 -1
- package/dist/esm/rulePlugin.js +1 -1
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-rule
|
|
2
2
|
|
|
3
|
+
## 33.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`1eb23adcd2a20`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1eb23adcd2a20) -
|
|
8
|
+
[EDITOR-10048] add a tenant-based experiment to the schema change for dividers with attributes
|
|
9
|
+
ahead of AIFC support
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 33.0.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 32.0.0
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/rulePlugin.js
CHANGED
|
@@ -40,7 +40,7 @@ var rulePlugin = exports.rulePlugin = function rulePlugin(_ref) {
|
|
|
40
40
|
nodes: function nodes() {
|
|
41
41
|
return [{
|
|
42
42
|
name: 'rule',
|
|
43
|
-
node: (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers_attributes') ? _rule.ruleWithAttrs : (0, _fg.fg)('platform_editor_adf_with_localid') ? _rule.ruleWithLocalId : _rule.rule
|
|
43
|
+
node: (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers_attributes') || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_lovability_dividers_m1_schema') ? _rule.ruleWithAttrs : (0, _fg.fg)('platform_editor_adf_with_localid') ? _rule.ruleWithLocalId : _rule.rule
|
|
44
44
|
}];
|
|
45
45
|
},
|
|
46
46
|
actions: {
|
|
@@ -31,7 +31,7 @@ export const rulePlugin = ({
|
|
|
31
31
|
nodes() {
|
|
32
32
|
return [{
|
|
33
33
|
name: 'rule',
|
|
34
|
-
node: isExperimentEnabled('platform_editor_lovability_dividers_attributes') ? ruleWithAttrs : fg('platform_editor_adf_with_localid') ? ruleWithLocalId : rule
|
|
34
|
+
node: isExperimentEnabled('platform_editor_lovability_dividers_attributes') || isExperimentEnabled('platform_editor_lovability_dividers_m1_schema') ? ruleWithAttrs : fg('platform_editor_adf_with_localid') ? ruleWithLocalId : rule
|
|
35
35
|
}];
|
|
36
36
|
},
|
|
37
37
|
actions: {
|
package/dist/esm/rulePlugin.js
CHANGED
|
@@ -34,7 +34,7 @@ export var rulePlugin = function rulePlugin(_ref) {
|
|
|
34
34
|
nodes: function nodes() {
|
|
35
35
|
return [{
|
|
36
36
|
name: 'rule',
|
|
37
|
-
node: isExperimentEnabled('platform_editor_lovability_dividers_attributes') ? ruleWithAttrs : fg('platform_editor_adf_with_localid') ? ruleWithLocalId : rule
|
|
37
|
+
node: isExperimentEnabled('platform_editor_lovability_dividers_attributes') || isExperimentEnabled('platform_editor_lovability_dividers_m1_schema') ? ruleWithAttrs : fg('platform_editor_adf_with_localid') ? ruleWithLocalId : rule
|
|
38
38
|
}];
|
|
39
39
|
},
|
|
40
40
|
actions: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-rule",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.1.0",
|
|
4
4
|
"description": "Rule plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@atlaskit/css": "^1.1.0",
|
|
25
25
|
"@atlaskit/docs": "^12.3.0",
|
|
26
26
|
"@atlaskit/editor-palette": "^3.5.0",
|
|
27
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
28
|
-
"@atlaskit/editor-plugin-decorations": "^
|
|
29
|
-
"@atlaskit/editor-plugin-floating-toolbar": "^
|
|
30
|
-
"@atlaskit/editor-plugin-ui-control-registry": "^
|
|
27
|
+
"@atlaskit/editor-plugin-analytics": "^33.0.0",
|
|
28
|
+
"@atlaskit/editor-plugin-decorations": "^33.0.0",
|
|
29
|
+
"@atlaskit/editor-plugin-floating-toolbar": "^35.0.0",
|
|
30
|
+
"@atlaskit/editor-plugin-ui-control-registry": "^27.0.0",
|
|
31
31
|
"@atlaskit/editor-prosemirror": "^9.0.0",
|
|
32
32
|
"@atlaskit/editor-shared-styles": "^5.2.0",
|
|
33
33
|
"@atlaskit/editor-toolbar": "^2.11.0",
|
|
@@ -35,21 +35,21 @@
|
|
|
35
35
|
"@atlaskit/icon": "^38.1.0",
|
|
36
36
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
37
37
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
38
|
-
"@atlaskit/primitives": "^22.
|
|
38
|
+
"@atlaskit/primitives": "^22.8.0",
|
|
39
39
|
"@atlaskit/prosemirror-input-rules": "^4.1.0",
|
|
40
|
-
"@atlaskit/tokens": "^20.
|
|
40
|
+
"@atlaskit/tokens": "^20.14.0",
|
|
41
41
|
"@babel/runtime": "^7.0.0",
|
|
42
42
|
"@compiled/react": "^1.0.2",
|
|
43
43
|
"bind-event-listener": "^3.0.0",
|
|
44
44
|
"react-intl": "^7.0.0"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"@atlaskit/editor-common": "^
|
|
47
|
+
"@atlaskit/editor-common": "^137.3.0",
|
|
48
48
|
"react": "^18.2.0 || ^19.2.0",
|
|
49
49
|
"react-dom": "^18.2.0 || ^19.2.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@atlaskit/editor-common": "^
|
|
52
|
+
"@atlaskit/editor-common": "^137.3.0",
|
|
53
53
|
"@testing-library/react": "^16.3.0",
|
|
54
54
|
"react": "^19.2.0",
|
|
55
55
|
"react-dom": "^19.2.0"
|