@atlaskit/editor-common 131.6.0 → 132.0.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 +31 -0
- package/ai-xstate-migration/package.json +10 -0
- package/ai-xstate-migration-no-exposure/package.json +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/emoji.js +1 -3
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Emoji/index.js +1 -2
- package/dist/cjs/utils/ai-xstate-migration-no-exposure.js +18 -0
- package/dist/cjs/utils/ai-xstate-migration.js +30 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/emoji.js +1 -3
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Emoji/index.js +1 -2
- package/dist/es2019/utils/ai-xstate-migration-no-exposure.js +11 -0
- package/dist/es2019/utils/ai-xstate-migration.js +23 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/emoji.js +1 -3
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Emoji/index.js +1 -2
- package/dist/esm/utils/ai-xstate-migration-no-exposure.js +13 -0
- package/dist/esm/utils/ai-xstate-migration.js +25 -0
- package/dist/types/styles/shared/emoji.d.ts +0 -1
- package/dist/types/utils/ai-xstate-migration-no-exposure.d.ts +8 -0
- package/dist/types/utils/ai-xstate-migration.d.ts +20 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 132.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [`4119d93011e41`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4119d93011e41) -
|
|
8
|
+
Remove `platform_use_unicode_emojis` experiment checks and retain Twemoji images and sprites.
|
|
9
|
+
Remove the experiment-only `denormaliseStandardRepresentation` export. Call
|
|
10
|
+
`denormaliseServiceRepresentation` with the service representation instead. Remove the
|
|
11
|
+
`emoji-id-to-emoji` entrypoint and its `emojiIdToEmoji` utility. Use the existing provider image
|
|
12
|
+
or sprite representation for Twemoji rendering. Remove the Unicode representation type, renderer,
|
|
13
|
+
canvas utility, and public `unicode-emoji-image` entrypoint. Remove `renderUnicodeEmojiAsImage`
|
|
14
|
+
props and the Unicode type guard. Remove the editor Unicode node rendering and the `EMOJI_UNICODE`
|
|
15
|
+
shared CSS class. Use provider image and sprite representations instead of Unicode
|
|
16
|
+
representations. Remove the obsolete Unicode rendering props from consumers. Remove the
|
|
17
|
+
feature-only `getCachedEmojiType` provider API. Use the existing provider lookup methods for cache
|
|
18
|
+
or catalogue access.
|
|
19
|
+
|
|
20
|
+
### Minor Changes
|
|
21
|
+
|
|
22
|
+
- [`0f0ca74ca517a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f0ca74ca517a) -
|
|
23
|
+
Add the `@atlaskit/editor-common/ai-xstate-migration` (`isAiXstateMigrationEnabled`) and
|
|
24
|
+
`@atlaskit/editor-common/ai-xstate-migration-no-exposure` (`isAiXstateMigrationEnabledNoExposure`)
|
|
25
|
+
entrypoints, which enable the AI xstate migration when either the Confluence
|
|
26
|
+
(`platform_editor_ai_xstate_migration`) or Jira (`platform_editor_ai_xstate_migration_jira`, a
|
|
27
|
+
platform feature experiment) experiment is on. Use the helper wherever the xstate migration is
|
|
28
|
+
checked.
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Updated dependencies
|
|
33
|
+
|
|
3
34
|
## 131.6.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/ai-xstate-migration",
|
|
3
|
+
"main": "../dist/cjs/utils/ai-xstate-migration.js",
|
|
4
|
+
"module": "../dist/esm/utils/ai-xstate-migration.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/utils/ai-xstate-migration.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/utils/ai-xstate-migration.d.ts"
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/ai-xstate-migration-no-exposure",
|
|
3
|
+
"main": "../dist/cjs/utils/ai-xstate-migration-no-exposure.js",
|
|
4
|
+
"module": "../dist/esm/utils/ai-xstate-migration-no-exposure.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/utils/ai-xstate-migration-no-exposure.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/utils/ai-xstate-migration-no-exposure.d.ts"
|
|
10
|
+
}
|
|
@@ -27,7 +27,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
27
27
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
28
28
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
29
29
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
30
|
-
var packageVersion = "131.
|
|
30
|
+
var packageVersion = "131.6.0";
|
|
31
31
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
32
32
|
// Remove URL as it has UGC
|
|
33
33
|
// Ignored via go/ees007
|
|
@@ -16,7 +16,5 @@ var EmojiSharedCssClassName = exports.EmojiSharedCssClassName = {
|
|
|
16
16
|
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
17
17
|
EMOJI_IMAGE: _styles.emojiImage,
|
|
18
18
|
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
19
|
-
EMOJI_PLACEHOLDER: _styles.placeholder
|
|
20
|
-
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
21
|
-
EMOJI_UNICODE: 'emoji-common-emoji-unicode'
|
|
19
|
+
EMOJI_PLACEHOLDER: _styles.placeholder
|
|
22
20
|
};
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "131.
|
|
26
|
+
var packageVersion = "131.6.0";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.isAiXstateMigrationEnabledNoExposure = void 0;
|
|
7
|
+
var _unsafeExpValNoExposure = require("@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure");
|
|
8
|
+
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
9
|
+
/**
|
|
10
|
+
* Same as `isAiXstateMigrationEnabled` from `@atlaskit/editor-common/ai-xstate-migration`
|
|
11
|
+
* (Confluence `platform_editor_ai_xstate_migration` OR Jira
|
|
12
|
+
* `platform_editor_ai_xstate_migration_jira`), but never fires exposure.
|
|
13
|
+
*
|
|
14
|
+
* Cleanup: only remove once BOTH experiments have shipped.
|
|
15
|
+
*/
|
|
16
|
+
var isAiXstateMigrationEnabledNoExposure = exports.isAiXstateMigrationEnabledNoExposure = function isAiXstateMigrationEnabledNoExposure() {
|
|
17
|
+
return (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_ai_xstate_migration', 'isEnabled', true) || (0, _unsafeExpValNoExposure.UNSAFE_expValNoExposure)('platform_editor_ai_xstate_migration_jira', 'isEnabled', false) === true;
|
|
18
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.isAiXstateMigrationEnabled = void 0;
|
|
7
|
+
var _isExperimentEnabled = require("@atlaskit/platform-feature-experiments/is-experiment-enabled");
|
|
8
|
+
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
9
|
+
/**
|
|
10
|
+
* Whether the editor AI xstate migration is enabled for the current product.
|
|
11
|
+
*
|
|
12
|
+
* The migration is rolled out via two product-specific experiments:
|
|
13
|
+
* - `platform_editor_ai_xstate_migration` (Confluence), a legacy editor experiment
|
|
14
|
+
* read via `@atlaskit/tmp-editor-statsig`
|
|
15
|
+
* - `platform_editor_ai_xstate_migration_jira` (Jira), a platform feature experiment
|
|
16
|
+
* read via `@atlaskit/platform-feature-experiments`
|
|
17
|
+
*
|
|
18
|
+
* Use this helper instead of checking either experiment directly so every call site
|
|
19
|
+
* stays consistent across products. Use `isAiXstateMigrationEnabledNoExposure` from
|
|
20
|
+
* `@atlaskit/editor-common/ai-xstate-migration-no-exposure` when exposure must not fire.
|
|
21
|
+
*
|
|
22
|
+
* Cleanup: only remove this helper (and replace its call sites with `true`) once
|
|
23
|
+
* BOTH experiments have shipped. Cleaning up the Confluence experiment alone by
|
|
24
|
+
* replacing it with `true` would also force the migration on for Jira.
|
|
25
|
+
*
|
|
26
|
+
* Note: This method fires exposure for the evaluated experiment(s).
|
|
27
|
+
*/
|
|
28
|
+
var isAiXstateMigrationEnabled = exports.isAiXstateMigrationEnabled = function isAiXstateMigrationEnabled() {
|
|
29
|
+
return (0, _expValEquals.expValEquals)('platform_editor_ai_xstate_migration', 'isEnabled', true) || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_ai_xstate_migration_jira');
|
|
30
|
+
};
|
|
@@ -13,7 +13,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
13
13
|
const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
14
14
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
15
15
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
16
|
-
const packageVersion = "131.
|
|
16
|
+
const packageVersion = "131.6.0";
|
|
17
17
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
18
18
|
// Remove URL as it has UGC
|
|
19
19
|
// Ignored via go/ees007
|
|
@@ -11,7 +11,5 @@ export const EmojiSharedCssClassName = {
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
12
12
|
EMOJI_IMAGE: emojiImage,
|
|
13
13
|
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
14
|
-
EMOJI_PLACEHOLDER: emojiPlaceholder
|
|
15
|
-
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
16
|
-
EMOJI_UNICODE: 'emoji-common-emoji-unicode'
|
|
14
|
+
EMOJI_PLACEHOLDER: emojiPlaceholder
|
|
17
15
|
};
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "131.
|
|
16
|
+
const packageVersion = "131.6.0";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
2
|
+
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Same as `isAiXstateMigrationEnabled` from `@atlaskit/editor-common/ai-xstate-migration`
|
|
6
|
+
* (Confluence `platform_editor_ai_xstate_migration` OR Jira
|
|
7
|
+
* `platform_editor_ai_xstate_migration_jira`), but never fires exposure.
|
|
8
|
+
*
|
|
9
|
+
* Cleanup: only remove once BOTH experiments have shipped.
|
|
10
|
+
*/
|
|
11
|
+
export const isAiXstateMigrationEnabledNoExposure = () => expValEqualsNoExposure('platform_editor_ai_xstate_migration', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_ai_xstate_migration_jira', 'isEnabled', false) === true;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
2
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Whether the editor AI xstate migration is enabled for the current product.
|
|
6
|
+
*
|
|
7
|
+
* The migration is rolled out via two product-specific experiments:
|
|
8
|
+
* - `platform_editor_ai_xstate_migration` (Confluence), a legacy editor experiment
|
|
9
|
+
* read via `@atlaskit/tmp-editor-statsig`
|
|
10
|
+
* - `platform_editor_ai_xstate_migration_jira` (Jira), a platform feature experiment
|
|
11
|
+
* read via `@atlaskit/platform-feature-experiments`
|
|
12
|
+
*
|
|
13
|
+
* Use this helper instead of checking either experiment directly so every call site
|
|
14
|
+
* stays consistent across products. Use `isAiXstateMigrationEnabledNoExposure` from
|
|
15
|
+
* `@atlaskit/editor-common/ai-xstate-migration-no-exposure` when exposure must not fire.
|
|
16
|
+
*
|
|
17
|
+
* Cleanup: only remove this helper (and replace its call sites with `true`) once
|
|
18
|
+
* BOTH experiments have shipped. Cleaning up the Confluence experiment alone by
|
|
19
|
+
* replacing it with `true` would also force the migration on for Jira.
|
|
20
|
+
*
|
|
21
|
+
* Note: This method fires exposure for the evaluated experiment(s).
|
|
22
|
+
*/
|
|
23
|
+
export const isAiXstateMigrationEnabled = () => expValEquals('platform_editor_ai_xstate_migration', 'isEnabled', true) || isExperimentEnabled('platform_editor_ai_xstate_migration_jira');
|
|
@@ -19,7 +19,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
|
|
|
19
19
|
var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "131.
|
|
22
|
+
var packageVersion = "131.6.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -11,7 +11,5 @@ export var EmojiSharedCssClassName = {
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
12
12
|
EMOJI_IMAGE: emojiImage,
|
|
13
13
|
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
14
|
-
EMOJI_PLACEHOLDER: emojiPlaceholder
|
|
15
|
-
// eslint-disable-next-line @atlaskit/editor/no-re-export
|
|
16
|
-
EMOJI_UNICODE: 'emoji-common-emoji-unicode'
|
|
14
|
+
EMOJI_PLACEHOLDER: emojiPlaceholder
|
|
17
15
|
};
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "131.
|
|
23
|
+
var packageVersion = "131.6.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { UNSAFE_expValNoExposure } from '@atlaskit/platform-feature-experiments/unsafe-exp-val-no-exposure';
|
|
2
|
+
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Same as `isAiXstateMigrationEnabled` from `@atlaskit/editor-common/ai-xstate-migration`
|
|
6
|
+
* (Confluence `platform_editor_ai_xstate_migration` OR Jira
|
|
7
|
+
* `platform_editor_ai_xstate_migration_jira`), but never fires exposure.
|
|
8
|
+
*
|
|
9
|
+
* Cleanup: only remove once BOTH experiments have shipped.
|
|
10
|
+
*/
|
|
11
|
+
export var isAiXstateMigrationEnabledNoExposure = function isAiXstateMigrationEnabledNoExposure() {
|
|
12
|
+
return expValEqualsNoExposure('platform_editor_ai_xstate_migration', 'isEnabled', true) || UNSAFE_expValNoExposure('platform_editor_ai_xstate_migration_jira', 'isEnabled', false) === true;
|
|
13
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { isExperimentEnabled } from '@atlaskit/platform-feature-experiments/is-experiment-enabled';
|
|
2
|
+
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Whether the editor AI xstate migration is enabled for the current product.
|
|
6
|
+
*
|
|
7
|
+
* The migration is rolled out via two product-specific experiments:
|
|
8
|
+
* - `platform_editor_ai_xstate_migration` (Confluence), a legacy editor experiment
|
|
9
|
+
* read via `@atlaskit/tmp-editor-statsig`
|
|
10
|
+
* - `platform_editor_ai_xstate_migration_jira` (Jira), a platform feature experiment
|
|
11
|
+
* read via `@atlaskit/platform-feature-experiments`
|
|
12
|
+
*
|
|
13
|
+
* Use this helper instead of checking either experiment directly so every call site
|
|
14
|
+
* stays consistent across products. Use `isAiXstateMigrationEnabledNoExposure` from
|
|
15
|
+
* `@atlaskit/editor-common/ai-xstate-migration-no-exposure` when exposure must not fire.
|
|
16
|
+
*
|
|
17
|
+
* Cleanup: only remove this helper (and replace its call sites with `true`) once
|
|
18
|
+
* BOTH experiments have shipped. Cleaning up the Confluence experiment alone by
|
|
19
|
+
* replacing it with `true` would also force the migration on for Jira.
|
|
20
|
+
*
|
|
21
|
+
* Note: This method fires exposure for the evaluated experiment(s).
|
|
22
|
+
*/
|
|
23
|
+
export var isAiXstateMigrationEnabled = function isAiXstateMigrationEnabled() {
|
|
24
|
+
return expValEquals('platform_editor_ai_xstate_migration', 'isEnabled', true) || isExperimentEnabled('platform_editor_ai_xstate_migration_jira');
|
|
25
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Same as `isAiXstateMigrationEnabled` from `@atlaskit/editor-common/ai-xstate-migration`
|
|
3
|
+
* (Confluence `platform_editor_ai_xstate_migration` OR Jira
|
|
4
|
+
* `platform_editor_ai_xstate_migration_jira`), but never fires exposure.
|
|
5
|
+
*
|
|
6
|
+
* Cleanup: only remove once BOTH experiments have shipped.
|
|
7
|
+
*/
|
|
8
|
+
export declare const isAiXstateMigrationEnabledNoExposure: () => boolean;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Whether the editor AI xstate migration is enabled for the current product.
|
|
3
|
+
*
|
|
4
|
+
* The migration is rolled out via two product-specific experiments:
|
|
5
|
+
* - `platform_editor_ai_xstate_migration` (Confluence), a legacy editor experiment
|
|
6
|
+
* read via `@atlaskit/tmp-editor-statsig`
|
|
7
|
+
* - `platform_editor_ai_xstate_migration_jira` (Jira), a platform feature experiment
|
|
8
|
+
* read via `@atlaskit/platform-feature-experiments`
|
|
9
|
+
*
|
|
10
|
+
* Use this helper instead of checking either experiment directly so every call site
|
|
11
|
+
* stays consistent across products. Use `isAiXstateMigrationEnabledNoExposure` from
|
|
12
|
+
* `@atlaskit/editor-common/ai-xstate-migration-no-exposure` when exposure must not fire.
|
|
13
|
+
*
|
|
14
|
+
* Cleanup: only remove this helper (and replace its call sites with `true`) once
|
|
15
|
+
* BOTH experiments have shipped. Cleaning up the Confluence experiment alone by
|
|
16
|
+
* replacing it with `true` would also force the migration on for Jira.
|
|
17
|
+
*
|
|
18
|
+
* Note: This method fires exposure for the evaluated experiment(s).
|
|
19
|
+
*/
|
|
20
|
+
export declare const isAiXstateMigrationEnabled: () => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "132.0.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/editor-toolbar": "^2.8.0",
|
|
51
51
|
"@atlaskit/editor-toolbar-model": "^1.2.0",
|
|
52
52
|
"@atlaskit/editor-ui-control-model": "^2.10.0",
|
|
53
|
-
"@atlaskit/emoji": "^
|
|
53
|
+
"@atlaskit/emoji": "^73.0.0",
|
|
54
54
|
"@atlaskit/feature-gate-js-client": "^7.0.0",
|
|
55
55
|
"@atlaskit/icon": "^38.0.0",
|
|
56
56
|
"@atlaskit/link": "^5.1.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@atlaskit/media-picker": "^73.2.0",
|
|
66
66
|
"@atlaskit/media-ui": "^31.3.0",
|
|
67
67
|
"@atlaskit/media-viewer": "^54.11.0",
|
|
68
|
-
"@atlaskit/mention": "^30.
|
|
68
|
+
"@atlaskit/mention": "^30.3.0",
|
|
69
69
|
"@atlaskit/menu": "^11.0.0",
|
|
70
70
|
"@atlaskit/object": "^2.3.0",
|
|
71
71
|
"@atlaskit/onboarding": "^15.4.0",
|