@atlaskit/editor-plugin-avatar-group 3.0.3 → 3.0.5
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
|
@@ -9,7 +9,7 @@ exports.InviteToEditButton = void 0;
|
|
|
9
9
|
var _react = _interopRequireWildcard(require("react"));
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
11
|
var _uiMenu = require("@atlaskit/editor-common/ui-menu");
|
|
12
|
-
var
|
|
12
|
+
var _addEditorAdd = _interopRequireDefault(require("@atlaskit/icon/core/migration/add--editor-add"));
|
|
13
13
|
var _styles = require("./styles");
|
|
14
14
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
15
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -29,7 +29,7 @@ var InviteToEditButton = exports.InviteToEditButton = function InviteToEditButto
|
|
|
29
29
|
selected = props.selected,
|
|
30
30
|
title = props.title;
|
|
31
31
|
var iconBefore = _react.default.useMemo(function () {
|
|
32
|
-
return (0, _react2.jsx)(
|
|
32
|
+
return (0, _react2.jsx)(_addEditorAdd.default, {
|
|
33
33
|
label: title
|
|
34
34
|
});
|
|
35
35
|
}, [title]);
|
|
@@ -7,7 +7,7 @@ import React, { Fragment } from 'react';
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
9
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
10
|
-
import
|
|
10
|
+
import AddIcon from '@atlaskit/icon/core/migration/add--editor-add';
|
|
11
11
|
import { inviteTeamWrapperStyles } from './styles';
|
|
12
12
|
const ID = props => jsx(Fragment, null, props.children);
|
|
13
13
|
export const InviteToEditButton = props => {
|
|
@@ -17,7 +17,7 @@ export const InviteToEditButton = props => {
|
|
|
17
17
|
selected,
|
|
18
18
|
title
|
|
19
19
|
} = props;
|
|
20
|
-
const iconBefore = React.useMemo(() => jsx(
|
|
20
|
+
const iconBefore = React.useMemo(() => jsx(AddIcon, {
|
|
21
21
|
label: title
|
|
22
22
|
}), [title]);
|
|
23
23
|
if (!Component && !onClick) {
|
|
@@ -7,7 +7,7 @@ import React, { Fragment } from 'react';
|
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
9
|
import { ToolbarButton } from '@atlaskit/editor-common/ui-menu';
|
|
10
|
-
import
|
|
10
|
+
import AddIcon from '@atlaskit/icon/core/migration/add--editor-add';
|
|
11
11
|
import { inviteTeamWrapperStyles } from './styles';
|
|
12
12
|
var ID = function ID(props) {
|
|
13
13
|
return jsx(Fragment, null, props.children);
|
|
@@ -18,7 +18,7 @@ export var InviteToEditButton = function InviteToEditButton(props) {
|
|
|
18
18
|
selected = props.selected,
|
|
19
19
|
title = props.title;
|
|
20
20
|
var iconBefore = React.useMemo(function () {
|
|
21
|
-
return jsx(
|
|
21
|
+
return jsx(AddIcon, {
|
|
22
22
|
label: title
|
|
23
23
|
});
|
|
24
24
|
}, [title]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-avatar-group",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "Avatar Group plugin for @atlaskit/editor-core.",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -37,16 +37,16 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@atlaskit/avatar-group": "^12.0.0",
|
|
40
|
-
"@atlaskit/editor-common": "^
|
|
41
|
-
"@atlaskit/editor-plugin-analytics": "^2.
|
|
40
|
+
"@atlaskit/editor-common": "^103.0.0",
|
|
41
|
+
"@atlaskit/editor-plugin-analytics": "^2.2.0",
|
|
42
42
|
"@atlaskit/editor-plugin-collab-edit": "^3.2.0",
|
|
43
43
|
"@atlaskit/editor-plugin-feature-flags": "^1.3.0",
|
|
44
|
-
"@atlaskit/editor-plugin-primary-toolbar": "^3.
|
|
44
|
+
"@atlaskit/editor-plugin-primary-toolbar": "^3.1.0",
|
|
45
45
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
46
46
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
47
|
-
"@atlaskit/icon": "^
|
|
47
|
+
"@atlaskit/icon": "^25.5.0",
|
|
48
48
|
"@atlaskit/theme": "^18.0.0",
|
|
49
|
-
"@atlaskit/tokens": "^4.
|
|
49
|
+
"@atlaskit/tokens": "^4.7.0",
|
|
50
50
|
"@babel/runtime": "^7.0.0",
|
|
51
51
|
"@emotion/react": "^11.7.1",
|
|
52
52
|
"memoize-one": "^6.0.0",
|