@atlaskit/tmp-editor-statsig 2.1.5 → 2.1.7
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 +16 -0
- package/dist/cjs/experiments-config.js +9 -0
- package/dist/es2019/experiments-config.js +9 -0
- package/dist/esm/experiments-config.js +9 -0
- package/dist/types/experiments-config.d.ts +8 -0
- package/dist/types/setup.d.ts +1 -0
- package/dist/types-ts4.5/experiments-config.d.ts +8 -0
- package/dist/types-ts4.5/setup.d.ts +1 -0
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.1.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#138118](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/138118)
|
|
8
|
+
[`5e4d9eb1aefe4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e4d9eb1aefe4) -
|
|
9
|
+
NOISSUE: Upgrades editor React peer dependencies to v18
|
|
10
|
+
|
|
11
|
+
## 2.1.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#137404](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/137404)
|
|
16
|
+
[`adae1f3dc8fca`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/adae1f3dc8fca) -
|
|
17
|
+
Switches Support Table in Comment features to use Statsig experiment instead of a Feature Gate.
|
|
18
|
+
|
|
3
19
|
## 2.1.5
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -130,5 +130,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
130
130
|
param: 'isEnabled',
|
|
131
131
|
typeGuard: isBoolean,
|
|
132
132
|
defaultValue: false
|
|
133
|
+
},
|
|
134
|
+
// Added 2024-09-05
|
|
135
|
+
support_table_in_comment: {
|
|
136
|
+
productKeys: {
|
|
137
|
+
confluence: 'platform_editor_support_table_in_comment_exp'
|
|
138
|
+
},
|
|
139
|
+
param: 'isEnabled',
|
|
140
|
+
typeGuard: isBoolean,
|
|
141
|
+
defaultValue: false
|
|
133
142
|
}
|
|
134
143
|
};
|
|
@@ -124,5 +124,14 @@ export const editorExperimentsConfig = {
|
|
|
124
124
|
param: 'isEnabled',
|
|
125
125
|
typeGuard: isBoolean,
|
|
126
126
|
defaultValue: false
|
|
127
|
+
},
|
|
128
|
+
// Added 2024-09-05
|
|
129
|
+
support_table_in_comment: {
|
|
130
|
+
productKeys: {
|
|
131
|
+
confluence: 'platform_editor_support_table_in_comment_exp'
|
|
132
|
+
},
|
|
133
|
+
param: 'isEnabled',
|
|
134
|
+
typeGuard: isBoolean,
|
|
135
|
+
defaultValue: false
|
|
127
136
|
}
|
|
128
137
|
};
|
|
@@ -124,5 +124,14 @@ export var editorExperimentsConfig = {
|
|
|
124
124
|
param: 'isEnabled',
|
|
125
125
|
typeGuard: isBoolean,
|
|
126
126
|
defaultValue: false
|
|
127
|
+
},
|
|
128
|
+
// Added 2024-09-05
|
|
129
|
+
support_table_in_comment: {
|
|
130
|
+
productKeys: {
|
|
131
|
+
confluence: 'platform_editor_support_table_in_comment_exp'
|
|
132
|
+
},
|
|
133
|
+
param: 'isEnabled',
|
|
134
|
+
typeGuard: isBoolean,
|
|
135
|
+
defaultValue: false
|
|
127
136
|
}
|
|
128
137
|
};
|
|
@@ -103,5 +103,13 @@ export declare const editorExperimentsConfig: {
|
|
|
103
103
|
typeGuard: typeof isBoolean;
|
|
104
104
|
defaultValue: boolean;
|
|
105
105
|
};
|
|
106
|
+
support_table_in_comment: {
|
|
107
|
+
productKeys: {
|
|
108
|
+
confluence: string;
|
|
109
|
+
};
|
|
110
|
+
param: string;
|
|
111
|
+
typeGuard: typeof isBoolean;
|
|
112
|
+
defaultValue: boolean;
|
|
113
|
+
};
|
|
106
114
|
};
|
|
107
115
|
export {};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export declare let _overrides: Partial<{
|
|
|
15
15
|
'table-nested-dnd': boolean;
|
|
16
16
|
'insert-menu-in-right-rail': boolean;
|
|
17
17
|
platform_editor_empty_line_prompt: boolean;
|
|
18
|
+
support_table_in_comment: boolean;
|
|
18
19
|
}>;
|
|
19
20
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
20
21
|
/**
|
|
@@ -103,5 +103,13 @@ export declare const editorExperimentsConfig: {
|
|
|
103
103
|
typeGuard: typeof isBoolean;
|
|
104
104
|
defaultValue: boolean;
|
|
105
105
|
};
|
|
106
|
+
support_table_in_comment: {
|
|
107
|
+
productKeys: {
|
|
108
|
+
confluence: string;
|
|
109
|
+
};
|
|
110
|
+
param: string;
|
|
111
|
+
typeGuard: typeof isBoolean;
|
|
112
|
+
defaultValue: boolean;
|
|
113
|
+
};
|
|
106
114
|
};
|
|
107
115
|
export {};
|
|
@@ -15,6 +15,7 @@ export declare let _overrides: Partial<{
|
|
|
15
15
|
'table-nested-dnd': boolean;
|
|
16
16
|
'insert-menu-in-right-rail': boolean;
|
|
17
17
|
platform_editor_empty_line_prompt: boolean;
|
|
18
|
+
support_table_in_comment: boolean;
|
|
18
19
|
}>;
|
|
19
20
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
20
21
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tmp-editor-statsig",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.7",
|
|
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",
|
|
@@ -12,7 +12,8 @@
|
|
|
12
12
|
"website": {
|
|
13
13
|
"name": "EditorStatsigTmp",
|
|
14
14
|
"category": "Components"
|
|
15
|
-
}
|
|
15
|
+
},
|
|
16
|
+
"runReact18": true
|
|
16
17
|
},
|
|
17
18
|
"repository": "https://stash.atlassian.com/projects/ATLASSIAN/repos/atlassian-frontend-monorepo",
|
|
18
19
|
"main": "dist/cjs/index.js",
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
"@babel/runtime": "^7.0.0"
|
|
40
41
|
},
|
|
41
42
|
"peerDependencies": {
|
|
42
|
-
"react": "^16.8.0"
|
|
43
|
+
"react": "^16.8.0 || ^17.0.0 || ~18.2.0"
|
|
43
44
|
},
|
|
44
45
|
"devDependencies": {
|
|
45
46
|
"typescript": "~5.4.2"
|