@atlaskit/editor-shared-styles 4.3.22 → 4.3.24
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 +14 -0
- package/dist/cjs/utils.js +7 -8
- package/dist/es2019/utils.js +7 -8
- package/dist/esm/utils.js +7 -8
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-shared-styles
|
|
2
2
|
|
|
3
|
+
## 4.3.24
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`6fc3ffdbe2bf3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6fc3ffdbe2bf3) -
|
|
8
|
+
Use Rovo's registered brand colour in its fixed participant palette slot.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 4.3.23
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies
|
|
16
|
+
|
|
3
17
|
## 4.3.22
|
|
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]
|
|
17
|
-
*
|
|
18
|
-
* numbered positions also back the telepointer CSS classes, so preserve these
|
|
19
|
-
* editing the palette. Brands `@atlaskit/agent-color` resolves but this table omits
|
|
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
|
|
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 = {
|
package/dist/es2019/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]
|
|
11
|
-
*
|
|
12
|
-
* numbered positions also back the telepointer CSS classes, so preserve these
|
|
13
|
-
* editing the palette. Brands `@atlaskit/agent-color` resolves but this table omits
|
|
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
|
|
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]
|
|
11
|
-
*
|
|
12
|
-
* numbered positions also back the telepointer CSS classes, so preserve these
|
|
13
|
-
* editing the palette. Brands `@atlaskit/agent-color` resolves but this table omits
|
|
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
|
|
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.
|
|
3
|
+
"version": "4.3.24",
|
|
4
4
|
"description": "Style values used in the editor/renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,8 +31,8 @@
|
|
|
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": "^
|
|
35
|
-
"@atlaskit/tokens": "^
|
|
34
|
+
"@atlaskit/tmp-editor-statsig": "^206.0.0",
|
|
35
|
+
"@atlaskit/tokens": "^20.0.0",
|
|
36
36
|
"@babel/runtime": "^7.0.0",
|
|
37
37
|
"@emotion/react": "^11.7.1"
|
|
38
38
|
},
|