@atlaskit/editor-plugin-show-diff 15.1.12 → 16.0.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,20 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-show-diff
|
|
2
2
|
|
|
3
|
+
## 16.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a8b0726ce1e34`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a8b0726ce1e34) -
|
|
8
|
+
Adds shared semantic agent colour resolution and aligns diff history with agent telepointers
|
|
9
|
+
behind `confluence_ncs_step_diffing_version_history`.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
12
|
+
## 16.0.0
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 15.1.12
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -166,7 +166,7 @@ var createAttributionColorMap = exports.createAttributionColorMap = function cre
|
|
|
166
166
|
if (!_identity || colors.has(_identity.key)) {
|
|
167
167
|
continue;
|
|
168
168
|
}
|
|
169
|
-
var _getParticipantColor2 = (0, _utils.getParticipantColor)(_identity.colorSeed),
|
|
169
|
+
var _getParticipantColor2 = (0, _utils.getParticipantColor)(_identity.colorSeed, _attribution === null || _attribution === void 0 ? void 0 : _attribution.agentType),
|
|
170
170
|
_index = _getParticipantColor2.index;
|
|
171
171
|
var hashedColor = HASHED_PARTICIPANT_COLOR_SCHEMES[_index];
|
|
172
172
|
if (!hashedColor) {
|
|
@@ -127,7 +127,7 @@ export const createAttributionColorMap = stepAttributions => {
|
|
|
127
127
|
}
|
|
128
128
|
const {
|
|
129
129
|
index
|
|
130
|
-
} = getParticipantColor(identity.colorSeed);
|
|
130
|
+
} = getParticipantColor(identity.colorSeed, attribution === null || attribution === void 0 ? void 0 : attribution.agentType);
|
|
131
131
|
const hashedColor = HASHED_PARTICIPANT_COLOR_SCHEMES[index];
|
|
132
132
|
if (!hashedColor) {
|
|
133
133
|
continue;
|
|
@@ -160,7 +160,7 @@ export var createAttributionColorMap = function createAttributionColorMap(stepAt
|
|
|
160
160
|
if (!_identity || colors.has(_identity.key)) {
|
|
161
161
|
continue;
|
|
162
162
|
}
|
|
163
|
-
var _getParticipantColor2 = getParticipantColor(_identity.colorSeed),
|
|
163
|
+
var _getParticipantColor2 = getParticipantColor(_identity.colorSeed, _attribution === null || _attribution === void 0 ? void 0 : _attribution.agentType),
|
|
164
164
|
_index = _getParticipantColor2.index;
|
|
165
165
|
var hashedColor = HASHED_PARTICIPANT_COLOR_SCHEMES[_index];
|
|
166
166
|
if (!hashedColor) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-show-diff",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "16.0.1",
|
|
4
4
|
"description": "ShowDiff plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"@atlaskit/adf-schema": "^57.4.0",
|
|
24
24
|
"@atlaskit/avatar": "^28.0.0",
|
|
25
25
|
"@atlaskit/custom-steps": "^1.1.0",
|
|
26
|
-
"@atlaskit/editor-plugin-analytics": "^
|
|
27
|
-
"@atlaskit/editor-plugin-user-intent": "^
|
|
26
|
+
"@atlaskit/editor-plugin-analytics": "^18.0.0",
|
|
27
|
+
"@atlaskit/editor-plugin-user-intent": "^16.0.0",
|
|
28
28
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
29
|
-
"@atlaskit/editor-shared-styles": "^4.
|
|
29
|
+
"@atlaskit/editor-shared-styles": "^4.3.0",
|
|
30
30
|
"@atlaskit/editor-tables": "^3.2.0",
|
|
31
31
|
"@atlaskit/platform-feature-experiments": "^0.3.0",
|
|
32
32
|
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@atlaskit/button": "^25.3.0",
|
|
46
46
|
"@atlaskit/css": "^1.1.0",
|
|
47
47
|
"@atlaskit/dropdown-menu": "^18.3.0",
|
|
48
|
-
"@atlaskit/editor-core": "^
|
|
48
|
+
"@atlaskit/editor-core": "^228.0.0",
|
|
49
49
|
"@atlaskit/editor-json-transformer": "^9.8.0",
|
|
50
50
|
"@atlaskit/editor-plugins": "^16.1.0",
|
|
51
51
|
"@atlaskit/form": "^17.2.0",
|
|
@@ -55,15 +55,15 @@
|
|
|
55
55
|
"@atlaskit/util-data-test": "^19.1.0",
|
|
56
56
|
"@atlassian/confluence-presets": "workspace:^",
|
|
57
57
|
"@atlassian/content-reconciliation": "^0.1.3506",
|
|
58
|
-
"@atlassian/editor-ai-injected-editors": "^
|
|
59
|
-
"@atlassian/editor-plugin-ai": "^
|
|
58
|
+
"@atlassian/editor-ai-injected-editors": "^32.0.0",
|
|
59
|
+
"@atlassian/editor-plugin-ai": "^72.0.0",
|
|
60
60
|
"@atlassian/structured-docs-types": "workspace:^",
|
|
61
61
|
"react": "^19.2.0",
|
|
62
62
|
"react-dom": "^19.2.0",
|
|
63
63
|
"react-intl": "^7.0.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@atlaskit/editor-common": "^
|
|
66
|
+
"@atlaskit/editor-common": "^122.2.0",
|
|
67
67
|
"react": "^18.2.0 || ^19.2.0",
|
|
68
68
|
"react-dom": "^18.2.0 || ^19.2.0",
|
|
69
69
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|