@atlaskit/editor-shared-styles 4.3.46 → 4.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,21 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 4.4.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.4.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`1b8ffa1d31cb6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1b8ffa1d31cb6) -
14
+ Treat Amplitude, Cortex, Databricks, Gemini, Manus and Slack as third-party agent brands alongside
15
+ Figma, Lovable and Replit: they resolve from the attribution agent type, share the fixed
16
+ third-party participant colour slot, and show their profile avatar in the contributor tag, like
17
+ Figma, Lovable and Replit.
18
+
3
19
  ## 4.3.46
4
20
 
5
21
  ### Patch Changes
package/dist/cjs/utils.js CHANGED
@@ -20,11 +20,17 @@ var BRAND_PARTICIPANT_COLOR_INDEX = {
20
20
  'agent-brand-chatgpt': 9,
21
21
  'agent-brand-figma': 9,
22
22
  'agent-brand-lovable': 9,
23
- 'agent-brand-replit': 9
23
+ 'agent-brand-replit': 9,
24
+ 'agent-brand-amplitude': 9,
25
+ 'agent-brand-cortex': 9,
26
+ 'agent-brand-databricks': 9,
27
+ 'agent-brand-gemini': 9,
28
+ 'agent-brand-manus': 9,
29
+ 'agent-brand-slack': 9
24
30
  };
25
31
 
26
32
  /** Brands whose registered `bold`/`boldText` values take precedence over their palette slot. */
27
- var BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt', 'agent-brand-rovo', 'agent-brand-figma', 'agent-brand-lovable', 'agent-brand-replit']);
33
+ var BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt', 'agent-brand-rovo', 'agent-brand-figma', 'agent-brand-lovable', 'agent-brand-replit', 'agent-brand-amplitude', 'agent-brand-cortex', 'agent-brand-databricks', 'agent-brand-gemini', 'agent-brand-manus', 'agent-brand-slack']);
28
34
 
29
35
  /** Maps Agent Studio's semantic palette to the established telepointer palette slots. */
30
36
  var AGENT_COLOR_TO_PARTICIPANT_COLOR_INDEX = {
@@ -14,11 +14,17 @@ const BRAND_PARTICIPANT_COLOR_INDEX = {
14
14
  'agent-brand-chatgpt': 9,
15
15
  'agent-brand-figma': 9,
16
16
  'agent-brand-lovable': 9,
17
- 'agent-brand-replit': 9
17
+ 'agent-brand-replit': 9,
18
+ 'agent-brand-amplitude': 9,
19
+ 'agent-brand-cortex': 9,
20
+ 'agent-brand-databricks': 9,
21
+ 'agent-brand-gemini': 9,
22
+ 'agent-brand-manus': 9,
23
+ 'agent-brand-slack': 9
18
24
  };
19
25
 
20
26
  /** Brands whose registered `bold`/`boldText` values take precedence over their palette slot. */
21
- const BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt', 'agent-brand-rovo', 'agent-brand-figma', 'agent-brand-lovable', 'agent-brand-replit']);
27
+ const BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt', 'agent-brand-rovo', 'agent-brand-figma', 'agent-brand-lovable', 'agent-brand-replit', 'agent-brand-amplitude', 'agent-brand-cortex', 'agent-brand-databricks', 'agent-brand-gemini', 'agent-brand-manus', 'agent-brand-slack']);
22
28
 
23
29
  /** Maps Agent Studio's semantic palette to the established telepointer palette slots. */
24
30
  const AGENT_COLOR_TO_PARTICIPANT_COLOR_INDEX = {
package/dist/esm/utils.js CHANGED
@@ -14,11 +14,17 @@ var BRAND_PARTICIPANT_COLOR_INDEX = {
14
14
  'agent-brand-chatgpt': 9,
15
15
  'agent-brand-figma': 9,
16
16
  'agent-brand-lovable': 9,
17
- 'agent-brand-replit': 9
17
+ 'agent-brand-replit': 9,
18
+ 'agent-brand-amplitude': 9,
19
+ 'agent-brand-cortex': 9,
20
+ 'agent-brand-databricks': 9,
21
+ 'agent-brand-gemini': 9,
22
+ 'agent-brand-manus': 9,
23
+ 'agent-brand-slack': 9
18
24
  };
19
25
 
20
26
  /** Brands whose registered `bold`/`boldText` values take precedence over their palette slot. */
21
- var BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt', 'agent-brand-rovo', 'agent-brand-figma', 'agent-brand-lovable', 'agent-brand-replit']);
27
+ var BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt', 'agent-brand-rovo', 'agent-brand-figma', 'agent-brand-lovable', 'agent-brand-replit', 'agent-brand-amplitude', 'agent-brand-cortex', 'agent-brand-databricks', 'agent-brand-gemini', 'agent-brand-manus', 'agent-brand-slack']);
22
28
 
23
29
  /** Maps Agent Studio's semantic palette to the established telepointer palette slots. */
24
30
  var AGENT_COLOR_TO_PARTICIPANT_COLOR_INDEX = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-shared-styles",
3
- "version": "4.3.46",
3
+ "version": "4.4.1",
4
4
  "description": "Style values used in the editor/renderer",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -31,7 +31,7 @@
31
31
  "dependencies": {
32
32
  "@atlaskit/agent-color": "^1.0.0",
33
33
  "@atlaskit/platform-feature-flags": "^2.2.0",
34
- "@atlaskit/tmp-editor-statsig": "^228.0.0",
34
+ "@atlaskit/tmp-editor-statsig": "^229.0.0",
35
35
  "@atlaskit/tokens": "^20.4.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@emotion/react": "^11.7.1"