@atlaskit/editor-presets 21.0.0 → 21.0.2

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,19 @@
1
1
  # @atlaskit/editor-presets
2
2
 
3
+ ## 21.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`e76c99ef7a0e8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e76c99ef7a0e8) -
8
+ Clean up experiment `platform_editor_tables_table_selector`
9
+ - Updated dependencies
10
+
11
+ ## 21.0.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 21.0.0
4
18
 
5
19
  ### Patch Changes
@@ -6,7 +6,6 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.featureFlagsPluginOptions = featureFlagsPluginOptions;
8
8
  var _objectDestructuringEmpty2 = _interopRequireDefault(require("@babel/runtime/helpers/objectDestructuringEmpty"));
9
- var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
10
9
  function featureFlagsPluginOptions(_ref) {
11
10
  (0, _objectDestructuringEmpty2.default)(_ref);
12
11
  /**
@@ -27,7 +26,7 @@ function featureFlagsPluginOptions(_ref) {
27
26
  // END SECTION
28
27
 
29
28
  // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
30
- tableSelector: (0, _editorExperiment.editorExperiment)('platform_editor_tables_table_selector', true),
29
+ tableSelector: true,
31
30
  macroInteractionUpdates: true,
32
31
  moreElementsInQuickInsertView: true,
33
32
  // END SECTION
@@ -4,14 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.insertBlockPluginOptions = insertBlockPluginOptions;
7
- var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
8
7
  function insertBlockPluginOptions(_ref) {
9
8
  var options = _ref.options;
10
9
  return {
11
10
  allowTables: true,
12
11
  allowExpand: true,
13
12
  horizontalRuleEnabled: true,
14
- tableSelectorSupported: (0, _editorExperiment.editorExperiment)('platform_editor_tables_table_selector', true),
13
+ tableSelectorSupported: true,
15
14
  nativeStatusSupported: true,
16
15
  showElementBrowserLink: true,
17
16
  appearance: options.editorAppearance,
@@ -4,7 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.tablePluginOptions = tablePluginOptions;
7
- var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
8
7
  function tablePluginOptions(_ref) {
9
8
  var options = _ref.options;
10
9
  return {
@@ -34,7 +33,7 @@ function tablePluginOptions(_ref) {
34
33
  getEditorFeatureFlags: function getEditorFeatureFlags() {
35
34
  return {
36
35
  // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
37
- tableSelector: (0, _editorExperiment.editorExperiment)('platform_editor_tables_table_selector', true)
36
+ tableSelector: true
38
37
  // END SECTION
39
38
  };
40
39
  },
@@ -1,4 +1,3 @@
1
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
2
1
  export function featureFlagsPluginOptions({}) {
3
2
  /**
4
3
  * @private
@@ -18,7 +17,7 @@ export function featureFlagsPluginOptions({}) {
18
17
  // END SECTION
19
18
 
20
19
  // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
21
- tableSelector: editorExperiment('platform_editor_tables_table_selector', true),
20
+ tableSelector: true,
22
21
  macroInteractionUpdates: true,
23
22
  moreElementsInQuickInsertView: true,
24
23
  // END SECTION
@@ -1,4 +1,3 @@
1
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
2
1
  export function insertBlockPluginOptions({
3
2
  options
4
3
  }) {
@@ -6,7 +5,7 @@ export function insertBlockPluginOptions({
6
5
  allowTables: true,
7
6
  allowExpand: true,
8
7
  horizontalRuleEnabled: true,
9
- tableSelectorSupported: editorExperiment('platform_editor_tables_table_selector', true),
8
+ tableSelectorSupported: true,
10
9
  nativeStatusSupported: true,
11
10
  showElementBrowserLink: true,
12
11
  appearance: options.editorAppearance,
@@ -1,4 +1,3 @@
1
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
2
1
  export function tablePluginOptions({
3
2
  options
4
3
  }) {
@@ -28,7 +27,7 @@ export function tablePluginOptions({
28
27
  wasFullWidthEnabled: options.prevEditorAppearance && options.prevEditorAppearance === 'full-width',
29
28
  getEditorFeatureFlags: () => ({
30
29
  // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
31
- tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
30
+ tableSelector: true
32
31
  // END SECTION
33
32
  }),
34
33
  isCommentEditor: false,
@@ -1,5 +1,4 @@
1
1
  import _objectDestructuringEmpty from "@babel/runtime/helpers/objectDestructuringEmpty";
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
2
  export function featureFlagsPluginOptions(_ref) {
4
3
  _objectDestructuringEmpty(_ref);
5
4
  /**
@@ -20,7 +19,7 @@ export function featureFlagsPluginOptions(_ref) {
20
19
  // END SECTION
21
20
 
22
21
  // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
23
- tableSelector: editorExperiment('platform_editor_tables_table_selector', true),
22
+ tableSelector: true,
24
23
  macroInteractionUpdates: true,
25
24
  moreElementsInQuickInsertView: true,
26
25
  // END SECTION
@@ -1,11 +1,10 @@
1
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
2
1
  export function insertBlockPluginOptions(_ref) {
3
2
  var options = _ref.options;
4
3
  return {
5
4
  allowTables: true,
6
5
  allowExpand: true,
7
6
  horizontalRuleEnabled: true,
8
- tableSelectorSupported: editorExperiment('platform_editor_tables_table_selector', true),
7
+ tableSelectorSupported: true,
9
8
  nativeStatusSupported: true,
10
9
  showElementBrowserLink: true,
11
10
  appearance: options.editorAppearance,
@@ -1,4 +1,3 @@
1
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
2
1
  export function tablePluginOptions(_ref) {
3
2
  var options = _ref.options;
4
3
  return {
@@ -28,7 +27,7 @@ export function tablePluginOptions(_ref) {
28
27
  getEditorFeatureFlags: function getEditorFeatureFlags() {
29
28
  return {
30
29
  // SECTION: From confluence/next/packages/full-page-editor/src/hooks/useEditorFullPageExperiments.ts
31
- tableSelector: editorExperiment('platform_editor_tables_table_selector', true)
30
+ tableSelector: true
32
31
  // END SECTION
33
32
  };
34
33
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-presets",
3
- "version": "21.0.0",
3
+ "version": "21.0.2",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Public editor presets for Atlassian Editor containing base configurations for Confluence and other products",
6
6
  "publishConfig": {
@@ -116,13 +116,13 @@
116
116
  "@atlaskit/editor-plugin-width": "^28.0.0",
117
117
  "@atlaskit/platform-feature-experiments": "^0.3.0",
118
118
  "@atlaskit/platform-feature-flags": "^2.2.0",
119
- "@atlaskit/tmp-editor-statsig": "^235.0.0",
119
+ "@atlaskit/tmp-editor-statsig": "^237.0.0",
120
120
  "@atlassian/ari": "^3.19.0",
121
121
  "@atlassian/editor-plugin-agent-managed-extension": "^17.0.0",
122
122
  "@babel/runtime": "^7.0.0"
123
123
  },
124
124
  "peerDependencies": {
125
- "@atlaskit/editor-common": "^131.0.0",
125
+ "@atlaskit/editor-common": "^131.1.0",
126
126
  "react": "^18.2.0 || ^19.2.0",
127
127
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
128
128
  },