@atlaskit/share 6.16.26 → 6.17.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 +11 -0
- package/dist/cjs/components/CopyLinkButton.js +1 -3
- package/dist/cjs/components/CopyLinkButtonNext.js +1 -3
- package/dist/cjs/components/ShareForm.js +1 -1
- package/dist/cjs/components/ShareFormNext.js +1 -1
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/es2019/components/CopyLinkButton.js +1 -3
- package/dist/es2019/components/CopyLinkButtonNext.js +1 -3
- package/dist/es2019/components/ShareForm.js +1 -1
- package/dist/es2019/components/ShareFormNext.js +1 -1
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/esm/components/CopyLinkButton.js +1 -3
- package/dist/esm/components/CopyLinkButtonNext.js +1 -3
- package/dist/esm/components/ShareForm.js +1 -1
- package/dist/esm/components/ShareFormNext.js +1 -1
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @atlaskit/share
|
|
2
2
|
|
|
3
|
+
## 6.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
|
|
8
|
+
Removed usages of LEGACY icon props
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
3
14
|
## 6.16.26
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -129,10 +129,8 @@ var CopyLinkButtonInner = exports.CopyLinkButtonInner = /*#__PURE__*/function (_
|
|
|
129
129
|
iconBefore: iconBefore || (0, _react2.jsx)(_primitives.Box, {
|
|
130
130
|
xcss: isExtendedShareDialogEnabled ? [boxWrapperStyle, copyIconContainerStyles] : boxWrapperStyle
|
|
131
131
|
}, (0, _react2.jsx)(_link.default, {
|
|
132
|
-
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)", " 0 0"),
|
|
133
132
|
color: isExtendedShareDialogEnabled ? "var(--ds-text-subtle, #505258)" : 'currentColor',
|
|
134
|
-
label: ""
|
|
135
|
-
LEGACY_size: "medium"
|
|
133
|
+
label: ""
|
|
136
134
|
})),
|
|
137
135
|
onClick: _this.handleClick,
|
|
138
136
|
ref: triggerProps.ref,
|
|
@@ -116,10 +116,8 @@ var CopyLinkButton = exports.CopyLinkButton = /*#__PURE__*/function (_React$Comp
|
|
|
116
116
|
iconBefore: iconBefore || /*#__PURE__*/_react.default.createElement(_compiled.Box, {
|
|
117
117
|
xcss: (0, _css.cx)(isExtendedShareDialogEnabled ? styles.copyIconContainerStyles : styles.boxWrapper)
|
|
118
118
|
}, /*#__PURE__*/_react.default.createElement(_link.default, {
|
|
119
|
-
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)", " 0 0"),
|
|
120
119
|
color: isExtendedShareDialogEnabled ? "var(--ds-text-subtle, #505258)" : 'currentColor',
|
|
121
|
-
label: ""
|
|
122
|
-
LEGACY_size: "medium"
|
|
120
|
+
label: ""
|
|
123
121
|
})),
|
|
124
122
|
onClick: _this.handleClick,
|
|
125
123
|
ref: triggerProps.ref,
|
|
@@ -19,7 +19,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
19
19
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
20
20
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
21
21
|
var _form = _interopRequireWildcard(require("@atlaskit/form"));
|
|
22
|
-
var _email = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
22
|
+
var _email = _interopRequireDefault(require("@atlaskit/icon/core/email"));
|
|
23
23
|
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
24
24
|
var _menu = require("@atlaskit/menu");
|
|
25
25
|
var _primitives = require("@atlaskit/primitives");
|
|
@@ -22,7 +22,7 @@ var _analyticsNext = require("@atlaskit/analytics-next");
|
|
|
22
22
|
var _new = _interopRequireDefault(require("@atlaskit/button/new"));
|
|
23
23
|
var _css = require("@atlaskit/css");
|
|
24
24
|
var _form = _interopRequireWildcard(require("@atlaskit/form"));
|
|
25
|
-
var _email = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
25
|
+
var _email = _interopRequireDefault(require("@atlaskit/icon/core/email"));
|
|
26
26
|
var _statusError = _interopRequireDefault(require("@atlaskit/icon/core/status-error"));
|
|
27
27
|
var _menu = require("@atlaskit/menu");
|
|
28
28
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
@@ -13,7 +13,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
13
13
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
14
14
|
return _objectSpread({
|
|
15
15
|
packageName: "@atlaskit/share",
|
|
16
|
-
packageVersion: "
|
|
16
|
+
packageVersion: "6.17.0"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -111,10 +111,8 @@ export class CopyLinkButtonInner extends React.Component {
|
|
|
111
111
|
iconBefore: iconBefore || jsx(Box, {
|
|
112
112
|
xcss: isExtendedShareDialogEnabled ? [boxWrapperStyle, copyIconContainerStyles] : boxWrapperStyle
|
|
113
113
|
}, jsx(LinkFilledIcon, {
|
|
114
|
-
LEGACY_margin: `0 ${"var(--ds-space-negative-025, -2px)"} 0 0`,
|
|
115
114
|
color: isExtendedShareDialogEnabled ? "var(--ds-text-subtle, #505258)" : 'currentColor',
|
|
116
|
-
label: ""
|
|
117
|
-
LEGACY_size: "medium"
|
|
115
|
+
label: ""
|
|
118
116
|
})),
|
|
119
117
|
onClick: this.handleClick,
|
|
120
118
|
ref: triggerProps.ref,
|
|
@@ -94,10 +94,8 @@ export class CopyLinkButton extends React.Component {
|
|
|
94
94
|
iconBefore: iconBefore || /*#__PURE__*/React.createElement(Box, {
|
|
95
95
|
xcss: cx(isExtendedShareDialogEnabled ? styles.copyIconContainerStyles : styles.boxWrapper)
|
|
96
96
|
}, /*#__PURE__*/React.createElement(LinkFilledIcon, {
|
|
97
|
-
LEGACY_margin: `0 ${"var(--ds-space-negative-025, -2px)"} 0 0`,
|
|
98
97
|
color: isExtendedShareDialogEnabled ? "var(--ds-text-subtle, #505258)" : 'currentColor',
|
|
99
|
-
label: ""
|
|
100
|
-
LEGACY_size: "medium"
|
|
98
|
+
label: ""
|
|
101
99
|
})),
|
|
102
100
|
onClick: this.handleClick,
|
|
103
101
|
ref: triggerProps.ref,
|
|
@@ -12,7 +12,7 @@ import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
|
12
12
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
13
13
|
import Button from '@atlaskit/button/new';
|
|
14
14
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
15
|
-
import EmailIcon from '@atlaskit/icon/core/
|
|
15
|
+
import EmailIcon from '@atlaskit/icon/core/email';
|
|
16
16
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
17
17
|
import { MenuGroup } from '@atlaskit/menu';
|
|
18
18
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
@@ -9,7 +9,7 @@ import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
|
9
9
|
import Button from '@atlaskit/button/new';
|
|
10
10
|
import { cx } from '@atlaskit/css';
|
|
11
11
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
12
|
-
import EmailIcon from '@atlaskit/icon/core/
|
|
12
|
+
import EmailIcon from '@atlaskit/icon/core/email';
|
|
13
13
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
14
14
|
import { MenuGroup } from '@atlaskit/menu';
|
|
15
15
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isEmail, isExternalUser, isGroup, isTeam, isUser } from '@atlaskit/smart-user-picker';
|
|
2
2
|
const buildAttributes = (attributes = {}) => ({
|
|
3
3
|
packageName: "@atlaskit/share",
|
|
4
|
-
packageVersion: "
|
|
4
|
+
packageVersion: "6.17.0",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -125,10 +125,8 @@ export var CopyLinkButtonInner = /*#__PURE__*/function (_React$Component) {
|
|
|
125
125
|
iconBefore: iconBefore || jsx(Box, {
|
|
126
126
|
xcss: isExtendedShareDialogEnabled ? [boxWrapperStyle, copyIconContainerStyles] : boxWrapperStyle
|
|
127
127
|
}, jsx(LinkFilledIcon, {
|
|
128
|
-
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)", " 0 0"),
|
|
129
128
|
color: isExtendedShareDialogEnabled ? "var(--ds-text-subtle, #505258)" : 'currentColor',
|
|
130
|
-
label: ""
|
|
131
|
-
LEGACY_size: "medium"
|
|
129
|
+
label: ""
|
|
132
130
|
})),
|
|
133
131
|
onClick: _this.handleClick,
|
|
134
132
|
ref: triggerProps.ref,
|
|
@@ -109,10 +109,8 @@ export var CopyLinkButton = /*#__PURE__*/function (_React$Component) {
|
|
|
109
109
|
iconBefore: iconBefore || /*#__PURE__*/React.createElement(Box, {
|
|
110
110
|
xcss: cx(isExtendedShareDialogEnabled ? styles.copyIconContainerStyles : styles.boxWrapper)
|
|
111
111
|
}, /*#__PURE__*/React.createElement(LinkFilledIcon, {
|
|
112
|
-
LEGACY_margin: "0 ".concat("var(--ds-space-negative-025, -2px)", " 0 0"),
|
|
113
112
|
color: isExtendedShareDialogEnabled ? "var(--ds-text-subtle, #505258)" : 'currentColor',
|
|
114
|
-
label: ""
|
|
115
|
-
LEGACY_size: "medium"
|
|
113
|
+
label: ""
|
|
116
114
|
})),
|
|
117
115
|
onClick: _this.handleClick,
|
|
118
116
|
ref: triggerProps.ref,
|
|
@@ -21,7 +21,7 @@ import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
|
21
21
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
22
22
|
import Button from '@atlaskit/button/new';
|
|
23
23
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
24
|
-
import EmailIcon from '@atlaskit/icon/core/
|
|
24
|
+
import EmailIcon from '@atlaskit/icon/core/email';
|
|
25
25
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
26
26
|
import { MenuGroup } from '@atlaskit/menu';
|
|
27
27
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
@@ -18,7 +18,7 @@ import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
|
18
18
|
import Button from '@atlaskit/button/new';
|
|
19
19
|
import { cx } from '@atlaskit/css';
|
|
20
20
|
import Form, { RequiredAsterisk } from '@atlaskit/form';
|
|
21
|
-
import EmailIcon from '@atlaskit/icon/core/
|
|
21
|
+
import EmailIcon from '@atlaskit/icon/core/email';
|
|
22
22
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
23
23
|
import { MenuGroup } from '@atlaskit/menu';
|
|
24
24
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
@@ -6,7 +6,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
6
6
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7
7
|
return _objectSpread({
|
|
8
8
|
packageName: "@atlaskit/share",
|
|
9
|
-
packageVersion: "
|
|
9
|
+
packageVersion: "6.17.0"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.17.0",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,26 +41,26 @@
|
|
|
41
41
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
42
42
|
"@atlaskit/button": "^23.9.0",
|
|
43
43
|
"@atlaskit/css": "^0.19.0",
|
|
44
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
45
|
-
"@atlaskit/form": "^15.
|
|
44
|
+
"@atlaskit/dropdown-menu": "^16.4.0",
|
|
45
|
+
"@atlaskit/form": "^15.3.0",
|
|
46
46
|
"@atlaskit/heading": "^5.2.0",
|
|
47
|
-
"@atlaskit/icon": "^29.
|
|
48
|
-
"@atlaskit/link": "^3.
|
|
47
|
+
"@atlaskit/icon": "^29.4.0",
|
|
48
|
+
"@atlaskit/link": "^3.3.0",
|
|
49
49
|
"@atlaskit/menu": "^8.4.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/popper": "^7.1.0",
|
|
52
|
-
"@atlaskit/popup": "^4.
|
|
52
|
+
"@atlaskit/popup": "^4.13.0",
|
|
53
53
|
"@atlaskit/portal": "^5.1.0",
|
|
54
54
|
"@atlaskit/primitives": "^17.0.0",
|
|
55
|
-
"@atlaskit/smart-user-picker": "^8.
|
|
55
|
+
"@atlaskit/smart-user-picker": "^8.8.0",
|
|
56
56
|
"@atlaskit/spinner": "^19.0.0",
|
|
57
57
|
"@atlaskit/tabs": "^18.3.0",
|
|
58
58
|
"@atlaskit/textarea": "^8.2.0",
|
|
59
59
|
"@atlaskit/theme": "^21.0.0",
|
|
60
|
-
"@atlaskit/tokens": "^9.
|
|
61
|
-
"@atlaskit/tooltip": "^20.
|
|
60
|
+
"@atlaskit/tokens": "^9.1.0",
|
|
61
|
+
"@atlaskit/tooltip": "^20.12.0",
|
|
62
62
|
"@atlaskit/ufo": "^0.4.0",
|
|
63
|
-
"@atlaskit/user-picker": "^11.
|
|
63
|
+
"@atlaskit/user-picker": "^11.19.0",
|
|
64
64
|
"@atlaskit/util-service-support": "^6.3.0",
|
|
65
65
|
"@babel/runtime": "^7.0.0",
|
|
66
66
|
"@emotion/react": "^11.7.1",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
77
|
-
"@atlaskit/flag": "^17.
|
|
77
|
+
"@atlaskit/flag": "^17.8.0",
|
|
78
78
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
79
79
|
"@testing-library/react": "^13.4.0",
|
|
80
80
|
"@testing-library/user-event": "^14.4.3",
|