@atlaskit/editor-common 133.6.0 → 133.6.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,11 @@
1
1
  # @atlaskit/editor-common
2
2
 
3
+ ## 133.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 133.6.0
4
10
 
5
11
  ### Minor Changes
@@ -14,7 +14,7 @@ var AGENT_EDIT_CHROME_DEFAULT_AUTO_DISMISS_AFTER_MS = exports.AGENT_EDIT_CHROME_
14
14
  var AGENT_EDIT_CHROME_DEFAULT_TELEPOINTER_ENABLED = exports.AGENT_EDIT_CHROME_DEFAULT_TELEPOINTER_ENABLED = true;
15
15
  /**
16
16
  * Resolves shared dynamic configuration at the producer boundary. The post-apply
17
- * chrome plugin uses the supplied values and does not read dynamic configuration itself.
17
+ * chrome plugin can override the lifetime for its gated linger treatment.
18
18
  */
19
19
  var getAgentEditChromeDynamicConfig = exports.getAgentEditChromeDynamicConfig = function getAgentEditChromeDynamicConfig() {
20
20
  return {
@@ -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 = "133.5.0";
30
+ var packageVersion = "133.6.0";
31
31
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
32
32
  // Remove URL as it has UGC
33
33
  // Ignored via go/ees007
@@ -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 = "133.5.0";
26
+ var packageVersion = "133.6.0";
27
27
  var halfFocusRing = 1;
28
28
  var dropOffset = '0, 8';
29
29
  // Ignored via go/ees005
@@ -9,7 +9,7 @@ export const AGENT_EDIT_CHROME_DEFAULT_AUTO_DISMISS_AFTER_MS = 2000;
9
9
  export const AGENT_EDIT_CHROME_DEFAULT_TELEPOINTER_ENABLED = true;
10
10
  /**
11
11
  * Resolves shared dynamic configuration at the producer boundary. The post-apply
12
- * chrome plugin uses the supplied values and does not read dynamic configuration itself.
12
+ * chrome plugin can override the lifetime for its gated linger treatment.
13
13
  */
14
14
  export const getAgentEditChromeDynamicConfig = () => ({
15
15
  autoDismissAfterMs: expVal('platform_editor_agent_be_streaming', 'highlightDurationMs', AGENT_EDIT_CHROME_DEFAULT_AUTO_DISMISS_AFTER_MS),
@@ -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 = "133.5.0";
16
+ const packageVersion = "133.6.0";
17
17
  const sanitiseSentryEvents = (data, _hint) => {
18
18
  // Remove URL as it has UGC
19
19
  // Ignored via go/ees007
@@ -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 = "133.5.0";
16
+ const packageVersion = "133.6.0";
17
17
  const halfFocusRing = 1;
18
18
  const dropOffset = '0, 8';
19
19
  // Ignored via go/ees005
@@ -9,7 +9,7 @@ export var AGENT_EDIT_CHROME_DEFAULT_AUTO_DISMISS_AFTER_MS = 2000;
9
9
  export var AGENT_EDIT_CHROME_DEFAULT_TELEPOINTER_ENABLED = true;
10
10
  /**
11
11
  * Resolves shared dynamic configuration at the producer boundary. The post-apply
12
- * chrome plugin uses the supplied values and does not read dynamic configuration itself.
12
+ * chrome plugin can override the lifetime for its gated linger treatment.
13
13
  */
14
14
  export var getAgentEditChromeDynamicConfig = function getAgentEditChromeDynamicConfig() {
15
15
  return {
@@ -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 = "133.5.0";
22
+ var packageVersion = "133.6.0";
23
23
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
24
24
  // Remove URL as it has UGC
25
25
  // Ignored via go/ees007
@@ -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 = "133.5.0";
23
+ var packageVersion = "133.6.0";
24
24
  var halfFocusRing = 1;
25
25
  var dropOffset = '0, 8';
26
26
  // Ignored via go/ees005
@@ -11,7 +11,6 @@ export type AgentEditChromeRange = {
11
11
  };
12
12
  export type AgentEditChromeData = {
13
13
  actorUserId?: string;
14
- invocationId?: string;
15
14
  /**
16
15
  * The agent's own id in its source system (e.g. Rovo's fixed agent UUID). Distinct from
17
16
  * `agentIdentityAccountId`: this identifies *which agent*, not an Atlassian identity.
@@ -34,16 +33,17 @@ export type AgentEditChromeData = {
34
33
  agentType?: string;
35
34
  /** Lifetime of both the highlight and telepointer. Omission uses the shared static default; 0 prevents rendering. */
36
35
  autoDismissAfterMs?: number;
37
- /**
38
- * True for a Forge / third-party / remote agent. Drives the third-party telepointer treatment
39
- * (neutral pill plus the agent name) for producers that only observe step attribution.
40
- */
41
- isThirdParty?: boolean;
42
36
  /** Runtime CSS color value. Consumers should pass an ADS token value. */
43
37
  highlightBackgroundColor?: string;
44
38
  /** Runtime CSS color value. Consumers should pass an ADS token value. */
45
39
  highlightBorderColor?: string;
46
40
  highlightTextColor?: string;
41
+ invocationId?: string;
42
+ /**
43
+ * True for a Forge / third-party / remote agent. Drives the third-party telepointer treatment
44
+ * (neutral pill plus the agent name) for producers that only observe step attribution.
45
+ */
46
+ isThirdParty?: boolean;
47
47
  ranges: AgentEditChromeRange[];
48
48
  /**
49
49
  * Which badge treatment the telepointer renders. Mirrors `TelepointerAgentKind` from
@@ -64,6 +64,6 @@ export type AgentEditChromeDynamicConfig = {
64
64
  };
65
65
  /**
66
66
  * Resolves shared dynamic configuration at the producer boundary. The post-apply
67
- * chrome plugin uses the supplied values and does not read dynamic configuration itself.
67
+ * chrome plugin can override the lifetime for its gated linger treatment.
68
68
  */
69
69
  export declare const getAgentEditChromeDynamicConfig: () => AgentEditChromeDynamicConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-common",
3
- "version": "133.6.0",
3
+ "version": "133.6.1",
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/"
@@ -85,7 +85,7 @@
85
85
  "@atlaskit/task-decision": "^21.13.0",
86
86
  "@atlaskit/teams-app-config": "^3.1.0",
87
87
  "@atlaskit/textfield": "^10.2.0",
88
- "@atlaskit/tmp-editor-statsig": "^245.0.0",
88
+ "@atlaskit/tmp-editor-statsig": "^246.0.0",
89
89
  "@atlaskit/tokens": "^20.7.0",
90
90
  "@atlaskit/tooltip": "^24.4.0",
91
91
  "@atlaskit/width-detector": "^7.2.0",