@atlaskit/tmp-editor-statsig 15.10.0 → 15.12.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,26 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 15.12.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`5df3069459bbe`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5df3069459bbe) -
8
+ [NO-ISSUE] Moving platform_editor_ai_suggestions_date_year_refresh and
9
+ platform_editor_ai_suggestions_date_comma_delim to experiment
10
+
11
+ ## 15.11.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [`810632761780a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/810632761780a) -
16
+ EDITOR-3937 Cleanup usage of confluence_content_mode_replace_dense_with_compact from the frontend
17
+ as this is now only needed in the Confluence backend
18
+
19
+ ### Patch Changes
20
+
21
+ - [`d0cc21488265c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d0cc21488265c) -
22
+ NO-ISSUE: Fix undefined typeof check for process
23
+
3
24
  ## 15.10.0
4
25
 
5
26
  ### Minor Changes
@@ -20,7 +20,6 @@ var testMultivariateOverrides = exports.testMultivariateOverrides = {
20
20
  platform_hover_card_preview_panel_modal: 'control',
21
21
  smart_link_confluence_short_link_analytics: 'control',
22
22
  platform_inline_smartcard_connect_button_exp: 'control',
23
- confluence_content_mode_replace_dense_with_compact: 'control',
24
23
  cc_editor_insm_outlier_events: 'test',
25
24
  platform_editor_hoverlink_ui_fixes_exp: 'control',
26
25
  platform_editor_table_sticky_header_improvements: 'control',
@@ -994,15 +994,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
994
994
  param: 'isEnabled',
995
995
  defaultValue: false
996
996
  }),
997
- // Added 2025-10-17
998
- confluence_content_mode_replace_dense_with_compact: (0, _experimentBuilders.createMultivariateExperiment)({
999
- productKeys: {
1000
- confluence: 'confluence_content_mode_replace_dense_with_compact'
1001
- },
1002
- param: 'cohort',
1003
- values: ['control', 'test'],
1004
- defaultValue: 'control'
1005
- }),
1006
997
  // Added 2025-10-01
1007
998
  platform_inline_smartcard_connect_button_exp: (0, _experimentBuilders.createMultivariateExperiment)({
1008
999
  productKeys: {
@@ -1203,5 +1194,21 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
1203
1194
  },
1204
1195
  param: 'isEnabled',
1205
1196
  defaultValue: false
1197
+ }),
1198
+ // Added 2025-12-15
1199
+ platform_editor_ai_exp_inline_date_year_refresh: (0, _experimentBuilders.createBooleanExperiment)({
1200
+ productKeys: {
1201
+ confluence: 'platform_editor_ai_exp_inline_date_year_refresh'
1202
+ },
1203
+ param: 'isEnabled',
1204
+ defaultValue: false
1205
+ }),
1206
+ // Added 2025-12-15
1207
+ platform_editor_ai_exp_suggestion_date_comma_delim: (0, _experimentBuilders.createBooleanExperiment)({
1208
+ productKeys: {
1209
+ confluence: 'platform_editor_ai_exp_suggestion_date_comma_delim'
1210
+ },
1211
+ param: 'isEnabled',
1212
+ defaultValue: false
1206
1213
  })
1207
1214
  };
@@ -1,12 +1,10 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
3
  Object.defineProperty(exports, "__esModule", {
5
4
  value: true
6
5
  });
7
6
  exports.isBoolean = isBoolean;
8
7
  exports.oneOf = oneOf;
9
- var _typeof2 = _interopRequireDefault(require("@babel/runtime/helpers/typeof"));
10
8
  var _process, _process2;
11
9
  function isBoolean(value) {
12
10
  return typeof value === 'boolean';
@@ -26,4 +24,4 @@ function oneOf(values) {
26
24
 
27
25
  // @ts-ignore
28
26
 
29
- var IS_TESTING_ENV = (typeof process === "undefined" ? "undefined" : (0, _typeof2.default)(process)) !== undefined && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
27
+ var IS_TESTING_ENV = typeof process !== 'undefined' && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
@@ -14,7 +14,6 @@ export const testMultivariateOverrides = {
14
14
  platform_hover_card_preview_panel_modal: 'control',
15
15
  smart_link_confluence_short_link_analytics: 'control',
16
16
  platform_inline_smartcard_connect_button_exp: 'control',
17
- confluence_content_mode_replace_dense_with_compact: 'control',
18
17
  cc_editor_insm_outlier_events: 'test',
19
18
  platform_editor_hoverlink_ui_fixes_exp: 'control',
20
19
  platform_editor_table_sticky_header_improvements: 'control',
@@ -988,15 +988,6 @@ export const editorExperimentsConfig = {
988
988
  param: 'isEnabled',
989
989
  defaultValue: false
990
990
  }),
991
- // Added 2025-10-17
992
- confluence_content_mode_replace_dense_with_compact: createMultivariateExperiment({
993
- productKeys: {
994
- confluence: 'confluence_content_mode_replace_dense_with_compact'
995
- },
996
- param: 'cohort',
997
- values: ['control', 'test'],
998
- defaultValue: 'control'
999
- }),
1000
991
  // Added 2025-10-01
1001
992
  platform_inline_smartcard_connect_button_exp: createMultivariateExperiment({
1002
993
  productKeys: {
@@ -1197,5 +1188,21 @@ export const editorExperimentsConfig = {
1197
1188
  },
1198
1189
  param: 'isEnabled',
1199
1190
  defaultValue: false
1191
+ }),
1192
+ // Added 2025-12-15
1193
+ platform_editor_ai_exp_inline_date_year_refresh: createBooleanExperiment({
1194
+ productKeys: {
1195
+ confluence: 'platform_editor_ai_exp_inline_date_year_refresh'
1196
+ },
1197
+ param: 'isEnabled',
1198
+ defaultValue: false
1199
+ }),
1200
+ // Added 2025-12-15
1201
+ platform_editor_ai_exp_suggestion_date_comma_delim: createBooleanExperiment({
1202
+ productKeys: {
1203
+ confluence: 'platform_editor_ai_exp_suggestion_date_comma_delim'
1204
+ },
1205
+ param: 'isEnabled',
1206
+ defaultValue: false
1200
1207
  })
1201
1208
  };
@@ -17,4 +17,4 @@ export function oneOf(values) {
17
17
 
18
18
  // @ts-ignore
19
19
 
20
- const IS_TESTING_ENV = typeof process !== undefined && (((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 ? void 0 : (_process2$env = _process2.env) === null || _process2$env === void 0 ? void 0 : _process2$env.JEST_WORKER_ID) !== undefined);
20
+ const IS_TESTING_ENV = typeof process !== 'undefined' && (((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 ? void 0 : (_process2$env = _process2.env) === null || _process2$env === void 0 ? void 0 : _process2$env.JEST_WORKER_ID) !== undefined);
@@ -14,7 +14,6 @@ export var testMultivariateOverrides = {
14
14
  platform_hover_card_preview_panel_modal: 'control',
15
15
  smart_link_confluence_short_link_analytics: 'control',
16
16
  platform_inline_smartcard_connect_button_exp: 'control',
17
- confluence_content_mode_replace_dense_with_compact: 'control',
18
17
  cc_editor_insm_outlier_events: 'test',
19
18
  platform_editor_hoverlink_ui_fixes_exp: 'control',
20
19
  platform_editor_table_sticky_header_improvements: 'control',
@@ -988,15 +988,6 @@ export var editorExperimentsConfig = {
988
988
  param: 'isEnabled',
989
989
  defaultValue: false
990
990
  }),
991
- // Added 2025-10-17
992
- confluence_content_mode_replace_dense_with_compact: createMultivariateExperiment({
993
- productKeys: {
994
- confluence: 'confluence_content_mode_replace_dense_with_compact'
995
- },
996
- param: 'cohort',
997
- values: ['control', 'test'],
998
- defaultValue: 'control'
999
- }),
1000
991
  // Added 2025-10-01
1001
992
  platform_inline_smartcard_connect_button_exp: createMultivariateExperiment({
1002
993
  productKeys: {
@@ -1197,5 +1188,21 @@ export var editorExperimentsConfig = {
1197
1188
  },
1198
1189
  param: 'isEnabled',
1199
1190
  defaultValue: false
1191
+ }),
1192
+ // Added 2025-12-15
1193
+ platform_editor_ai_exp_inline_date_year_refresh: createBooleanExperiment({
1194
+ productKeys: {
1195
+ confluence: 'platform_editor_ai_exp_inline_date_year_refresh'
1196
+ },
1197
+ param: 'isEnabled',
1198
+ defaultValue: false
1199
+ }),
1200
+ // Added 2025-12-15
1201
+ platform_editor_ai_exp_suggestion_date_comma_delim: createBooleanExperiment({
1202
+ productKeys: {
1203
+ confluence: 'platform_editor_ai_exp_suggestion_date_comma_delim'
1204
+ },
1205
+ param: 'isEnabled',
1206
+ defaultValue: false
1200
1207
  })
1201
1208
  };
@@ -1,4 +1,3 @@
1
- import _typeof from "@babel/runtime/helpers/typeof";
2
1
  var _process, _process2;
3
2
  export function isBoolean(value) {
4
3
  return typeof value === 'boolean';
@@ -18,4 +17,4 @@ export function oneOf(values) {
18
17
 
19
18
  // @ts-ignore
20
19
 
21
- var IS_TESTING_ENV = (typeof process === "undefined" ? "undefined" : _typeof(process)) !== undefined && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
20
+ var IS_TESTING_ENV = typeof process !== 'undefined' && (((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.NODE_ENV) === 'test' || ((_process2 = process) === null || _process2 === void 0 || (_process2 = _process2.env) === null || _process2 === void 0 ? void 0 : _process2.JEST_WORKER_ID) !== undefined);
@@ -106,13 +106,6 @@ export declare const editorExperimentsConfig: {
106
106
  productKeys?: ProductKeys;
107
107
  typeGuard: IsBooleanType;
108
108
  };
109
- confluence_content_mode_replace_dense_with_compact: {
110
- defaultValue: 'control' | 'test';
111
- param: string;
112
- productKeys?: ProductKeys;
113
- typeGuard: (value: unknown) => value is 'control' | 'test';
114
- values: ('control' | 'test')[];
115
- };
116
109
  confluence_whiteboards_quick_insert: {
117
110
  defaultValue: 'control' | 'test_blank' | 'test_diagram';
118
111
  param: string;
@@ -886,5 +879,17 @@ export declare const editorExperimentsConfig: {
886
879
  productKeys?: ProductKeys;
887
880
  typeGuard: IsBooleanType;
888
881
  };
882
+ platform_editor_ai_exp_inline_date_year_refresh: {
883
+ defaultValue: boolean;
884
+ param: string;
885
+ productKeys?: ProductKeys;
886
+ typeGuard: IsBooleanType;
887
+ };
888
+ platform_editor_ai_exp_suggestion_date_comma_delim: {
889
+ defaultValue: boolean;
890
+ param: string;
891
+ productKeys?: ProductKeys;
892
+ typeGuard: IsBooleanType;
893
+ };
889
894
  };
890
895
  export {};
@@ -106,13 +106,6 @@ export declare const editorExperimentsConfig: {
106
106
  productKeys?: ProductKeys;
107
107
  typeGuard: IsBooleanType;
108
108
  };
109
- confluence_content_mode_replace_dense_with_compact: {
110
- defaultValue: 'control' | 'test';
111
- param: string;
112
- productKeys?: ProductKeys;
113
- typeGuard: (value: unknown) => value is 'control' | 'test';
114
- values: ('control' | 'test')[];
115
- };
116
109
  confluence_whiteboards_quick_insert: {
117
110
  defaultValue: 'control' | 'test_blank' | 'test_diagram';
118
111
  param: string;
@@ -886,5 +879,17 @@ export declare const editorExperimentsConfig: {
886
879
  productKeys?: ProductKeys;
887
880
  typeGuard: IsBooleanType;
888
881
  };
882
+ platform_editor_ai_exp_inline_date_year_refresh: {
883
+ defaultValue: boolean;
884
+ param: string;
885
+ productKeys?: ProductKeys;
886
+ typeGuard: IsBooleanType;
887
+ };
888
+ platform_editor_ai_exp_suggestion_date_comma_delim: {
889
+ defaultValue: boolean;
890
+ param: string;
891
+ productKeys?: ProductKeys;
892
+ typeGuard: IsBooleanType;
893
+ };
889
894
  };
890
895
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "15.10.0",
3
+ "version": "15.12.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",
@@ -34,7 +34,7 @@
34
34
  "atlaskit:src": "src/index.ts",
35
35
  "dependencies": {
36
36
  "@atlaskit/feature-gate-js-client": "^5.5.0",
37
- "@atlaskit/react-ufo": "^4.15.0",
37
+ "@atlaskit/react-ufo": "^4.16.0",
38
38
  "@babel/runtime": "^7.0.0"
39
39
  },
40
40
  "peerDependencies": {