@atlaskit/editor-plugin-avatar-group 11.0.0 → 11.1.0
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 +19 -0
- package/avatarGroupPlugin/package.json +17 -0
- package/avatarGroupPluginType/package.json +17 -0
- package/dist/cjs/entry-points/avatarGroupPlugin.js +12 -0
- package/dist/cjs/entry-points/avatarGroupPluginType.js +1 -0
- package/dist/cjs/ui/to-avatar.js +1 -2
- package/dist/es2019/entry-points/avatarGroupPlugin.js +2 -0
- package/dist/es2019/entry-points/avatarGroupPluginType.js +0 -0
- package/dist/es2019/ui/to-avatar.js +1 -2
- package/dist/esm/entry-points/avatarGroupPlugin.js +2 -0
- package/dist/esm/entry-points/avatarGroupPluginType.js +0 -0
- package/dist/esm/ui/to-avatar.js +1 -2
- package/dist/types/entry-points/avatarGroupPlugin.d.ts +1 -0
- package/dist/types/entry-points/avatarGroupPluginType.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/avatarGroupPlugin.d.ts +1 -0
- package/dist/types-ts4.5/entry-points/avatarGroupPluginType.d.ts +1 -0
- package/package.json +9 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-avatar-group
|
|
2
2
|
|
|
3
|
+
## 11.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`ce30a31e6369d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ce30a31e6369d) -
|
|
8
|
+
Autofix: add explicit package exports (barrel removal)
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 11.0.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- [`fce03fe77247e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fce03fe77247e) -
|
|
19
|
+
Cleanup feature gate `platform_ally_avatar_button_fix`
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 11.0.0
|
|
4
23
|
|
|
5
24
|
### Major Changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-plugin-avatar-group/avatarGroupPlugin",
|
|
3
|
+
"main": "../dist/cjs/entry-points/avatarGroupPlugin.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/avatarGroupPlugin.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/avatarGroupPlugin.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/avatarGroupPlugin.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/avatarGroupPlugin.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-plugin-avatar-group/avatarGroupPluginType",
|
|
3
|
+
"main": "../dist/cjs/entry-points/avatarGroupPluginType.js",
|
|
4
|
+
"module": "../dist/esm/entry-points/avatarGroupPluginType.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/entry-points/avatarGroupPluginType.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/entry-points/avatarGroupPluginType.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/entry-points/avatarGroupPluginType.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "avatarGroupPlugin", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _avatarGroupPlugin.avatarGroupPlugin;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _avatarGroupPlugin = require("../avatarGroupPlugin");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";
|
package/dist/cjs/ui/to-avatar.js
CHANGED
|
@@ -9,11 +9,10 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
9
9
|
var _react = _interopRequireDefault(require("react"));
|
|
10
10
|
var _memoizeOne = _interopRequireDefault(require("memoize-one"));
|
|
11
11
|
var _messages = require("@atlaskit/editor-common/messages");
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var _coloredAvatarItem = require("./colored-avatar-item");
|
|
14
13
|
var toAvatar = function toAvatar(participant, api, formatMessage) {
|
|
15
14
|
return {
|
|
16
|
-
name: participant.name ||
|
|
15
|
+
name: participant.name || formatMessage(_messages.avatarGroupMessages.anonymousCollaborator),
|
|
17
16
|
src: participant.avatar,
|
|
18
17
|
size: 'medium',
|
|
19
18
|
presence: /*#__PURE__*/_react.default.createElement(_coloredAvatarItem.ColoredAvatarItem, {
|
|
File without changes
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import memoizeOne from 'memoize-one';
|
|
3
3
|
import { avatarGroupMessages } from '@atlaskit/editor-common/messages';
|
|
4
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
5
4
|
import { ColoredAvatarItem } from './colored-avatar-item';
|
|
6
5
|
const toAvatar = (participant, api, formatMessage) => ({
|
|
7
|
-
name: participant.name ||
|
|
6
|
+
name: participant.name || formatMessage(avatarGroupMessages.anonymousCollaborator),
|
|
8
7
|
src: participant.avatar,
|
|
9
8
|
size: 'medium',
|
|
10
9
|
presence: /*#__PURE__*/React.createElement(ColoredAvatarItem, {
|
|
File without changes
|
package/dist/esm/ui/to-avatar.js
CHANGED
|
@@ -2,11 +2,10 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import memoizeOne from 'memoize-one';
|
|
4
4
|
import { avatarGroupMessages } from '@atlaskit/editor-common/messages';
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
import { ColoredAvatarItem } from './colored-avatar-item';
|
|
7
6
|
var toAvatar = function toAvatar(participant, api, formatMessage) {
|
|
8
7
|
return {
|
|
9
|
-
name: participant.name ||
|
|
8
|
+
name: participant.name || formatMessage(avatarGroupMessages.anonymousCollaborator),
|
|
10
9
|
src: participant.avatar,
|
|
11
10
|
size: 'medium',
|
|
12
11
|
presence: /*#__PURE__*/React.createElement(ColoredAvatarItem, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { avatarGroupPlugin } from '../avatarGroupPlugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AvatarGroupPlugin, AvatarGroupPluginOptions, AvatarGroupPluginDependencies, } from '../avatarGroupPluginType';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { avatarGroupPlugin } from '../avatarGroupPlugin';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { AvatarGroupPlugin, AvatarGroupPluginOptions, AvatarGroupPluginDependencies, } from '../avatarGroupPluginType';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-avatar-group",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"description": "Avatar Group plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
],
|
|
33
33
|
"atlaskit:src": "src/index.ts",
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/avatar-group": "^12.
|
|
36
|
-
"@atlaskit/editor-plugin-analytics": "^10.
|
|
37
|
-
"@atlaskit/editor-plugin-collab-edit": "^11.
|
|
38
|
-
"@atlaskit/editor-plugin-feature-flags": "^9.
|
|
39
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^11.
|
|
35
|
+
"@atlaskit/avatar-group": "^12.10.0",
|
|
36
|
+
"@atlaskit/editor-plugin-analytics": "^10.1.0",
|
|
37
|
+
"@atlaskit/editor-plugin-collab-edit": "^11.2.0",
|
|
38
|
+
"@atlaskit/editor-plugin-feature-flags": "^9.1.0",
|
|
39
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^11.1.0",
|
|
40
40
|
"@atlaskit/editor-prosemirror": "^7.3.0",
|
|
41
|
-
"@atlaskit/editor-shared-styles": "^3.
|
|
42
|
-
"@atlaskit/icon": "^34.
|
|
41
|
+
"@atlaskit/editor-shared-styles": "^3.11.0",
|
|
42
|
+
"@atlaskit/icon": "^34.5.0",
|
|
43
43
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
44
44
|
"@atlaskit/tokens": "^13.0.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"memoize-one": "^6.0.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@atlaskit/editor-common": "^114.
|
|
50
|
+
"@atlaskit/editor-common": "^114.32.0",
|
|
51
51
|
"react": "^18.2.0",
|
|
52
52
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
53
53
|
},
|
|
@@ -92,11 +92,6 @@
|
|
|
92
92
|
"checkDevDependencies": true
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
|
-
"platform-feature-flags": {
|
|
96
|
-
"platform_ally_avatar_button_fix": {
|
|
97
|
-
"type": "boolean"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
95
|
"devDependencies": {
|
|
101
96
|
"react-intl": "^6.6.2"
|
|
102
97
|
}
|