@atlaskit/tmp-editor-statsig 1.3.2 → 1.4.1

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,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 1.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#136078](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/136078)
8
+ [`09414d7233497`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/09414d7233497) -
9
+ ED-24507 Switch nested dnd FG to experiment and include padding changes"
10
+
11
+ ## 1.4.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#135110](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/135110)
16
+ [`48ef3f98124db`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/48ef3f98124db) -
17
+ [ux] [ED-24754] Add 5 template options to quick insert and element browser when
18
+ `platform_editor_element_level_templates` experiment is enabled
19
+
3
20
  ## 1.3.2
4
21
 
5
22
  ### Patch Changes
@@ -75,5 +75,23 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
75
75
  param: 'isEnabled',
76
76
  typeGuard: isBoolean,
77
77
  defaultValue: false
78
+ },
79
+ // Added 2024-08-28
80
+ 'element-level-templates': {
81
+ productKeys: {
82
+ confluence: 'platform_editor_element_level_templates'
83
+ },
84
+ param: 'isEnabled',
85
+ typeGuard: isBoolean,
86
+ defaultValue: false
87
+ },
88
+ // Added 2024-08-30
89
+ 'nested-dnd': {
90
+ productKeys: {
91
+ confluence: 'platform_editor_element_drag_and_drop_nested'
92
+ },
93
+ param: 'isEnabled',
94
+ typeGuard: isBoolean,
95
+ defaultValue: false
78
96
  }
79
97
  };
@@ -69,5 +69,23 @@ export const editorExperimentsConfig = {
69
69
  param: 'isEnabled',
70
70
  typeGuard: isBoolean,
71
71
  defaultValue: false
72
+ },
73
+ // Added 2024-08-28
74
+ 'element-level-templates': {
75
+ productKeys: {
76
+ confluence: 'platform_editor_element_level_templates'
77
+ },
78
+ param: 'isEnabled',
79
+ typeGuard: isBoolean,
80
+ defaultValue: false
81
+ },
82
+ // Added 2024-08-30
83
+ 'nested-dnd': {
84
+ productKeys: {
85
+ confluence: 'platform_editor_element_drag_and_drop_nested'
86
+ },
87
+ param: 'isEnabled',
88
+ typeGuard: isBoolean,
89
+ defaultValue: false
72
90
  }
73
91
  };
@@ -69,5 +69,23 @@ export var editorExperimentsConfig = {
69
69
  param: 'isEnabled',
70
70
  typeGuard: isBoolean,
71
71
  defaultValue: false
72
+ },
73
+ // Added 2024-08-28
74
+ 'element-level-templates': {
75
+ productKeys: {
76
+ confluence: 'platform_editor_element_level_templates'
77
+ },
78
+ param: 'isEnabled',
79
+ typeGuard: isBoolean,
80
+ defaultValue: false
81
+ },
82
+ // Added 2024-08-30
83
+ 'nested-dnd': {
84
+ productKeys: {
85
+ confluence: 'platform_editor_element_drag_and_drop_nested'
86
+ },
87
+ param: 'isEnabled',
88
+ typeGuard: isBoolean,
89
+ defaultValue: false
72
90
  }
73
91
  };
@@ -55,5 +55,21 @@ export declare const editorExperimentsConfig: {
55
55
  typeGuard: typeof isBoolean;
56
56
  defaultValue: boolean;
57
57
  };
58
+ 'element-level-templates': {
59
+ productKeys: {
60
+ confluence: string;
61
+ };
62
+ param: string;
63
+ typeGuard: typeof isBoolean;
64
+ defaultValue: boolean;
65
+ };
66
+ 'nested-dnd': {
67
+ productKeys: {
68
+ confluence: string;
69
+ };
70
+ param: string;
71
+ typeGuard: typeof isBoolean;
72
+ defaultValue: boolean;
73
+ };
58
74
  };
59
75
  export {};
@@ -55,5 +55,21 @@ export declare const editorExperimentsConfig: {
55
55
  typeGuard: typeof isBoolean;
56
56
  defaultValue: boolean;
57
57
  };
58
+ 'element-level-templates': {
59
+ productKeys: {
60
+ confluence: string;
61
+ };
62
+ param: string;
63
+ typeGuard: typeof isBoolean;
64
+ defaultValue: boolean;
65
+ };
66
+ 'nested-dnd': {
67
+ productKeys: {
68
+ confluence: string;
69
+ };
70
+ param: string;
71
+ typeGuard: typeof isBoolean;
72
+ defaultValue: boolean;
73
+ };
58
74
  };
59
75
  export {};
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "@atlaskit/tmp-editor-statsig/editor-experiments-test-utils",
3
+ "main": "../dist/cjs/editor-experiments-test-utils.js",
4
+ "module": "../dist/esm/editor-experiments-test-utils.js",
5
+ "module:es2019": "../dist/es2019/editor-experiments-test-utils.js",
6
+ "types": "../dist/types/editor-experiments-test-utils.d.ts",
7
+ "typesVersions": {
8
+ ">=4.5 <5.4": {
9
+ "*": [
10
+ "../dist/types-ts4.5/editor-experiments-test-utils.d.ts"
11
+ ]
12
+ }
13
+ }
14
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "1.3.2",
3
+ "version": "1.4.1",
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",
@@ -9,8 +9,6 @@
9
9
  },
10
10
  "atlassian": {
11
11
  "team": "Editor: Core Experiences",
12
- "inPublicMirror": false,
13
- "releaseModel": "continuous",
14
12
  "website": {
15
13
  "name": "EditorStatsigTmp",
16
14
  "category": "Components"
@@ -33,7 +31,7 @@
33
31
  "af:exports": {
34
32
  "./experiments": "./src/experiments.ts",
35
33
  "./experiments-config": "./src/experiments-config.ts",
36
- "./test-runner": "./src/test-runner.ts"
34
+ "./editor-experiments-test-utils": "./src/editor-experiments-test-utils.ts"
37
35
  },
38
36
  "dependencies": {
39
37
  "@atlaskit/feature-gate-js-client": "^4.17.0",
@@ -1,14 +0,0 @@
1
- {
2
- "name": "@atlaskit/tmp-editor-statsig/test-runner",
3
- "main": "../dist/cjs/test-runner.js",
4
- "module": "../dist/esm/test-runner.js",
5
- "module:es2019": "../dist/es2019/test-runner.js",
6
- "types": "../dist/types/test-runner.d.ts",
7
- "typesVersions": {
8
- ">=4.5 <5.4": {
9
- "*": [
10
- "../dist/types-ts4.5/test-runner.d.ts"
11
- ]
12
- }
13
- }
14
- }