@atlaskit/editor-shared-styles 4.3.23 → 4.3.25

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,19 @@
1
1
  # @atlaskit/editor-shared-styles
2
2
 
3
+ ## 4.3.25
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.3.24
10
+
11
+ ### Patch Changes
12
+
13
+ - [`6fc3ffdbe2bf3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6fc3ffdbe2bf3) -
14
+ Use Rovo's registered brand colour in its fixed participant palette slot.
15
+ - Updated dependencies
16
+
3
17
  ## 4.3.23
4
18
 
5
19
  ### Patch Changes
package/dist/cjs/utils.js CHANGED
@@ -13,11 +13,11 @@ var _consts = require("./consts");
13
13
  * Fixed telepointer palette slot for each `@atlaskit/agent-color` brand this editor recognises by
14
14
  * a reserved identity colour rather than a hashed one.
15
15
  *
16
- * Claude uses orange (`participantColors[7]`), Rovo purple (`[4]`), ChatGPT gray (`[9]`, but with
17
- * its own brand colour rather than the palette's — see `BRAND_EXACT_COLOR_SCHEMES`). The palette's
18
- * numbered positions also back the telepointer CSS classes, so preserve these positions when
19
- * editing the palette. Brands `@atlaskit/agent-color` resolves but this table omits (e.g. Figma,
20
- * Replit) fall through to the identity-hashed colour below.
16
+ * Claude uses orange (`participantColors[7]`), Rovo purple (`[4]`), and ChatGPT gray (`[9]`).
17
+ * Brands in `BRAND_EXACT_COLOR_SCHEMES` use their registered brand colours in those fixed slots.
18
+ * The palette's numbered positions also back the telepointer CSS classes, so preserve these
19
+ * positions when editing the palette. Brands `@atlaskit/agent-color` resolves but this table omits
20
+ * (e.g. Figma, Replit) fall through to the identity-hashed colour below.
21
21
  */
22
22
  var BRAND_PARTICIPANT_COLOR_INDEX = {
23
23
  'agent-brand-claude': 7,
@@ -26,10 +26,9 @@ var BRAND_PARTICIPANT_COLOR_INDEX = {
26
26
  };
27
27
 
28
28
  /**
29
- * Brands whose own colour (`getThirdPartyAgentColor`'s `bold`/`boldText`) is used instead of their
30
- * palette slot's — no ADS token matches these brands' colour, so the palette slot would be wrong.
29
+ * Brands whose registered `bold`/`boldText` values take precedence over their palette slot.
31
30
  */
32
- var BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt']);
31
+ var BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt', 'agent-brand-rovo']);
33
32
 
34
33
  /** Maps Agent Studio's semantic palette to the established telepointer palette slots. */
35
34
  var AGENT_COLOR_TO_PARTICIPANT_COLOR_INDEX = {
@@ -7,11 +7,11 @@ import { participantColors } from './consts';
7
7
  * Fixed telepointer palette slot for each `@atlaskit/agent-color` brand this editor recognises by
8
8
  * a reserved identity colour rather than a hashed one.
9
9
  *
10
- * Claude uses orange (`participantColors[7]`), Rovo purple (`[4]`), ChatGPT gray (`[9]`, but with
11
- * its own brand colour rather than the palette's — see `BRAND_EXACT_COLOR_SCHEMES`). The palette's
12
- * numbered positions also back the telepointer CSS classes, so preserve these positions when
13
- * editing the palette. Brands `@atlaskit/agent-color` resolves but this table omits (e.g. Figma,
14
- * Replit) fall through to the identity-hashed colour below.
10
+ * Claude uses orange (`participantColors[7]`), Rovo purple (`[4]`), and ChatGPT gray (`[9]`).
11
+ * Brands in `BRAND_EXACT_COLOR_SCHEMES` use their registered brand colours in those fixed slots.
12
+ * The palette's numbered positions also back the telepointer CSS classes, so preserve these
13
+ * positions when editing the palette. Brands `@atlaskit/agent-color` resolves but this table omits
14
+ * (e.g. Figma, Replit) fall through to the identity-hashed colour below.
15
15
  */
16
16
  const BRAND_PARTICIPANT_COLOR_INDEX = {
17
17
  'agent-brand-claude': 7,
@@ -20,10 +20,9 @@ const BRAND_PARTICIPANT_COLOR_INDEX = {
20
20
  };
21
21
 
22
22
  /**
23
- * Brands whose own colour (`getThirdPartyAgentColor`'s `bold`/`boldText`) is used instead of their
24
- * palette slot's — no ADS token matches these brands' colour, so the palette slot would be wrong.
23
+ * Brands whose registered `bold`/`boldText` values take precedence over their palette slot.
25
24
  */
26
- const BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt']);
25
+ const BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt', 'agent-brand-rovo']);
27
26
 
28
27
  /** Maps Agent Studio's semantic palette to the established telepointer palette slots. */
29
28
  const AGENT_COLOR_TO_PARTICIPANT_COLOR_INDEX = {
package/dist/esm/utils.js CHANGED
@@ -7,11 +7,11 @@ import { participantColors } from './consts';
7
7
  * Fixed telepointer palette slot for each `@atlaskit/agent-color` brand this editor recognises by
8
8
  * a reserved identity colour rather than a hashed one.
9
9
  *
10
- * Claude uses orange (`participantColors[7]`), Rovo purple (`[4]`), ChatGPT gray (`[9]`, but with
11
- * its own brand colour rather than the palette's — see `BRAND_EXACT_COLOR_SCHEMES`). The palette's
12
- * numbered positions also back the telepointer CSS classes, so preserve these positions when
13
- * editing the palette. Brands `@atlaskit/agent-color` resolves but this table omits (e.g. Figma,
14
- * Replit) fall through to the identity-hashed colour below.
10
+ * Claude uses orange (`participantColors[7]`), Rovo purple (`[4]`), and ChatGPT gray (`[9]`).
11
+ * Brands in `BRAND_EXACT_COLOR_SCHEMES` use their registered brand colours in those fixed slots.
12
+ * The palette's numbered positions also back the telepointer CSS classes, so preserve these
13
+ * positions when editing the palette. Brands `@atlaskit/agent-color` resolves but this table omits
14
+ * (e.g. Figma, Replit) fall through to the identity-hashed colour below.
15
15
  */
16
16
  var BRAND_PARTICIPANT_COLOR_INDEX = {
17
17
  'agent-brand-claude': 7,
@@ -20,10 +20,9 @@ var BRAND_PARTICIPANT_COLOR_INDEX = {
20
20
  };
21
21
 
22
22
  /**
23
- * Brands whose own colour (`getThirdPartyAgentColor`'s `bold`/`boldText`) is used instead of their
24
- * palette slot's — no ADS token matches these brands' colour, so the palette slot would be wrong.
23
+ * Brands whose registered `bold`/`boldText` values take precedence over their palette slot.
25
24
  */
26
- var BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt']);
25
+ var BRAND_EXACT_COLOR_SCHEMES = new Set(['agent-brand-chatgpt', 'agent-brand-rovo']);
27
26
 
28
27
  /** Maps Agent Studio's semantic palette to the established telepointer palette slots. */
29
28
  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.23",
3
+ "version": "4.3.25",
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": "^205.0.0",
34
+ "@atlaskit/tmp-editor-statsig": "^207.0.0",
35
35
  "@atlaskit/tokens": "^20.0.0",
36
36
  "@babel/runtime": "^7.0.0",
37
37
  "@emotion/react": "^11.7.1"