@atlaskit/editor-plugin-rule 33.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 CHANGED
@@ -1,5 +1,17 @@
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
+
3
15
  ## 33.0.0
4
16
 
5
17
  ### Patch Changes
@@ -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: {
@@ -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": "33.0.0",
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",
@@ -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.7.0",
38
+ "@atlaskit/primitives": "^22.8.0",
39
39
  "@atlaskit/prosemirror-input-rules": "^4.1.0",
40
- "@atlaskit/tokens": "^20.12.0",
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": "^137.0.0",
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": "^137.0.0",
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"