@atlaskit/tmp-editor-statsig 2.47.0 → 3.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,31 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 3.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#116752](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116752)
8
+ [`7e889798e0963`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7e889798e0963) -
9
+ EDF-2276 Clean up jira context experiment
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 3.0.0
16
+
17
+ ### Major Changes
18
+
19
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
20
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
21
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
22
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
23
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
24
+ React 17 may come via non-major semver releases.
25
+
26
+ Please refer this community post for more details:
27
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
28
+
3
29
  ## 2.47.0
4
30
 
5
31
  ### Minor Changes
@@ -281,15 +281,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
281
281
  typeGuard: _typeGuards.isBoolean,
282
282
  defaultValue: false
283
283
  },
284
- // Added 2025-01-22
285
- platform_editor_ai_jira_content_read_url: {
286
- productKeys: {
287
- jira: 'platform_editor_ai_jira_content_read_url'
288
- },
289
- param: 'isEnabled',
290
- typeGuard: _typeGuards.isBoolean,
291
- defaultValue: false
292
- },
293
284
  // Added 2025-02-10
294
285
  platform_editor_controls: {
295
286
  productKeys: {
@@ -275,15 +275,6 @@ export const editorExperimentsConfig = {
275
275
  typeGuard: isBoolean,
276
276
  defaultValue: false
277
277
  },
278
- // Added 2025-01-22
279
- platform_editor_ai_jira_content_read_url: {
280
- productKeys: {
281
- jira: 'platform_editor_ai_jira_content_read_url'
282
- },
283
- param: 'isEnabled',
284
- typeGuard: isBoolean,
285
- defaultValue: false
286
- },
287
278
  // Added 2025-02-10
288
279
  platform_editor_controls: {
289
280
  productKeys: {
@@ -275,15 +275,6 @@ export var editorExperimentsConfig = {
275
275
  typeGuard: isBoolean,
276
276
  defaultValue: false
277
277
  },
278
- // Added 2025-01-22
279
- platform_editor_ai_jira_content_read_url: {
280
- productKeys: {
281
- jira: 'platform_editor_ai_jira_content_read_url'
282
- },
283
- param: 'isEnabled',
284
- typeGuard: isBoolean,
285
- defaultValue: false
286
- },
287
278
  // Added 2025-02-10
288
279
  platform_editor_controls: {
289
280
  productKeys: {
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
45
  false: DescribeBody;
46
46
  }, otherExperiments?: EditorExperimentOverrides): void;
47
47
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_ai_jira_content_read_url" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -280,14 +280,6 @@ declare namespace eeTest {
280
280
  typeGuard: typeof import("./type-guards").isBoolean;
281
281
  defaultValue: boolean;
282
282
  };
283
- platform_editor_ai_jira_content_read_url: {
284
- productKeys: {
285
- jira: string;
286
- };
287
- param: string;
288
- typeGuard: typeof import("./type-guards").isBoolean;
289
- defaultValue: boolean;
290
- };
291
283
  platform_editor_controls: {
292
284
  productKeys: {
293
285
  confluence: string;
@@ -239,14 +239,6 @@ export declare const editorExperimentsConfig: {
239
239
  typeGuard: typeof isBoolean;
240
240
  defaultValue: boolean;
241
241
  };
242
- platform_editor_ai_jira_content_read_url: {
243
- productKeys: {
244
- jira: string;
245
- };
246
- param: string;
247
- typeGuard: typeof isBoolean;
248
- defaultValue: boolean;
249
- };
250
242
  platform_editor_controls: {
251
243
  productKeys: {
252
244
  confluence: string;
@@ -37,7 +37,6 @@ export declare let _overrides: Partial<{
37
37
  live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
38
38
  platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
39
39
  platform_editor_ai_edit_response_in_preview: boolean;
40
- platform_editor_ai_jira_content_read_url: boolean;
41
40
  platform_editor_controls: "control" | "variant1";
42
41
  platform_editor_nested_non_bodied_macros: "test" | "control";
43
42
  }>;
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
45
  false: DescribeBody;
46
46
  }, otherExperiments?: EditorExperimentOverrides): void;
47
47
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_ai_jira_content_read_url" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_unsplash_page_header" | "platform_editor_ai_advanced_prompts" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_contextual_formatting_toolbar_v2" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -280,14 +280,6 @@ declare namespace eeTest {
280
280
  typeGuard: typeof import("./type-guards").isBoolean;
281
281
  defaultValue: boolean;
282
282
  };
283
- platform_editor_ai_jira_content_read_url: {
284
- productKeys: {
285
- jira: string;
286
- };
287
- param: string;
288
- typeGuard: typeof import("./type-guards").isBoolean;
289
- defaultValue: boolean;
290
- };
291
283
  platform_editor_controls: {
292
284
  productKeys: {
293
285
  confluence: string;
@@ -239,14 +239,6 @@ export declare const editorExperimentsConfig: {
239
239
  typeGuard: typeof isBoolean;
240
240
  defaultValue: boolean;
241
241
  };
242
- platform_editor_ai_jira_content_read_url: {
243
- productKeys: {
244
- jira: string;
245
- };
246
- param: string;
247
- typeGuard: typeof isBoolean;
248
- defaultValue: boolean;
249
- };
250
242
  platform_editor_controls: {
251
243
  productKeys: {
252
244
  confluence: string;
@@ -37,7 +37,6 @@ export declare let _overrides: Partial<{
37
37
  live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
38
38
  platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
39
39
  platform_editor_ai_edit_response_in_preview: boolean;
40
- platform_editor_ai_jira_content_read_url: boolean;
41
40
  platform_editor_controls: "control" | "variant1";
42
41
  platform_editor_nested_non_bodied_macros: "test" | "control";
43
42
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.47.0",
3
+ "version": "3.1.0",
4
4
  "description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,11 +36,11 @@
36
36
  "./editor-experiments-test-utils": "./src/editor-experiments-test-utils.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@atlaskit/feature-gate-js-client": "^4.25.0",
39
+ "@atlaskit/feature-gate-js-client": "^4.26.0",
40
40
  "@babel/runtime": "^7.0.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
43
+ "react": "^18.2.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "typescript": "~5.4.2"