@atlaskit/share 6.0.0 → 6.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 +12 -0
- package/clients/package.json +3 -0
- package/copy-link-button/package.json +3 -0
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/package.json +12 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/share
|
|
2
2
|
|
|
3
|
+
## 6.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#120533](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120533)
|
|
8
|
+
[`f1bec731e278f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1bec731e278f) -
|
|
9
|
+
Adds a `sideEffects` field to ensure this package does not have Compiled styles tree-shaken in the
|
|
10
|
+
future to avoid an accidental regression.
|
|
11
|
+
|
|
12
|
+
This is related to
|
|
13
|
+
https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/85953
|
|
14
|
+
|
|
3
15
|
## 6.0.0
|
|
4
16
|
|
|
5
17
|
### Major Changes
|
package/clients/package.json
CHANGED
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/clients/index.js",
|
|
4
4
|
"module": "../dist/esm/clients/index.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/clients/index.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
6
9
|
"types": "../dist/types/clients/index.d.ts",
|
|
7
10
|
"typesVersions": {
|
|
8
11
|
">=4.5 <5.4": {
|
|
@@ -3,6 +3,9 @@
|
|
|
3
3
|
"main": "../dist/cjs/components/CopyLinkButton.js",
|
|
4
4
|
"module": "../dist/esm/components/CopyLinkButton.js",
|
|
5
5
|
"module:es2019": "../dist/es2019/components/CopyLinkButton.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
6
9
|
"types": "../dist/types/components/CopyLinkButton.d.ts",
|
|
7
10
|
"typesVersions": {
|
|
8
11
|
">=4.5 <5.4": {
|
|
@@ -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: "6.0.
|
|
16
|
+
packageVersion: "6.0.1"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -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: "6.0.
|
|
4
|
+
packageVersion: "6.0.1",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -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: "6.0.
|
|
9
|
+
packageVersion: "6.0.1"
|
|
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.0.
|
|
3
|
+
"version": "6.0.1",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,25 +39,25 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
42
|
-
"@atlaskit/button": "^21.
|
|
42
|
+
"@atlaskit/button": "^21.1.0",
|
|
43
43
|
"@atlaskit/css": "^0.10.0",
|
|
44
44
|
"@atlaskit/dropdown-menu": "^13.0.0",
|
|
45
45
|
"@atlaskit/form": "^12.0.0",
|
|
46
|
-
"@atlaskit/heading": "^5.
|
|
47
|
-
"@atlaskit/icon": "^24.
|
|
46
|
+
"@atlaskit/heading": "^5.1.0",
|
|
47
|
+
"@atlaskit/icon": "^24.1.0",
|
|
48
48
|
"@atlaskit/link": "^3.0.0",
|
|
49
|
-
"@atlaskit/menu": "^3.
|
|
49
|
+
"@atlaskit/menu": "^3.1.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/popper": "^7.0.0",
|
|
52
52
|
"@atlaskit/popup": "^2.0.0",
|
|
53
53
|
"@atlaskit/portal": "^5.0.0",
|
|
54
|
-
"@atlaskit/primitives": "^14.
|
|
54
|
+
"@atlaskit/primitives": "^14.1.0",
|
|
55
55
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
56
56
|
"@atlaskit/spinner": "^18.0.0",
|
|
57
57
|
"@atlaskit/tabs": "^18.0.0",
|
|
58
58
|
"@atlaskit/textarea": "^8.0.0",
|
|
59
59
|
"@atlaskit/theme": "^17.0.0",
|
|
60
|
-
"@atlaskit/tokens": "^4.
|
|
60
|
+
"@atlaskit/tokens": "^4.2.0",
|
|
61
61
|
"@atlaskit/tooltip": "^20.0.0",
|
|
62
62
|
"@atlaskit/ufo": "^0.4.0",
|
|
63
63
|
"@atlaskit/user-picker": "^11.0.0",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@atlaskit/editor-test-helpers": "^22.0.0",
|
|
77
|
-
"@atlaskit/flag": "^16.
|
|
77
|
+
"@atlaskit/flag": "^16.1.0",
|
|
78
78
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
79
79
|
"@testing-library/react": "^13.4.0",
|
|
80
80
|
"@testing-library/user-event": "^14.4.3",
|
|
@@ -134,5 +134,8 @@
|
|
|
134
134
|
"share-compiled-migration": {
|
|
135
135
|
"type": "boolean"
|
|
136
136
|
}
|
|
137
|
-
}
|
|
137
|
+
},
|
|
138
|
+
"sideEffects": [
|
|
139
|
+
"*.compiled.css"
|
|
140
|
+
]
|
|
138
141
|
}
|