@atlaskit/share 4.21.0 → 4.22.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 +18 -0
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/cjs/i18n/languages.js +4 -2
- package/dist/cjs/util/i18n-util.js +1 -0
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/es2019/i18n/languages.js +4 -2
- package/dist/es2019/util/i18n-util.js +2 -1
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/dist/esm/i18n/languages.js +4 -2
- package/dist/esm/util/i18n-util.js +2 -1
- package/dist/types/i18n/languages.d.ts +4 -2
- package/dist/types-ts4.5/i18n/languages.d.ts +4 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/share
|
|
2
2
|
|
|
3
|
+
## 4.22.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 4.22.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#161683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161683)
|
|
14
|
+
[`f3f374290027a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3f374290027a) -
|
|
15
|
+
Adding en-zz locale support to elements package
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 4.21.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
|
@@ -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: "4.
|
|
16
|
+
packageVersion: "4.22.1"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -7,8 +7,9 @@ exports.default = void 0;
|
|
|
7
7
|
/**
|
|
8
8
|
* NOTE:
|
|
9
9
|
*
|
|
10
|
-
* This file
|
|
11
|
-
*
|
|
10
|
+
* This file was automatically generated by i18n-tools
|
|
11
|
+
* which is now deprecated. Changes must now be made
|
|
12
|
+
* manually.
|
|
12
13
|
*/
|
|
13
14
|
var _default = exports.default = {
|
|
14
15
|
zh: 'Chinese',
|
|
@@ -17,6 +18,7 @@ var _default = exports.default = {
|
|
|
17
18
|
nl: 'Dutch',
|
|
18
19
|
en: 'English',
|
|
19
20
|
en_GB: 'English (United Kingdom)',
|
|
21
|
+
en_ZZ: 'English (Instrumented)',
|
|
20
22
|
et: 'Estonian',
|
|
21
23
|
fi: 'Finnish',
|
|
22
24
|
fr: 'French',
|
|
@@ -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.
|
|
4
|
+
packageVersion: "4.22.1",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file
|
|
5
|
-
*
|
|
4
|
+
* This file was automatically generated by i18n-tools
|
|
5
|
+
* which is now deprecated. Changes must now be made
|
|
6
|
+
* manually.
|
|
6
7
|
*/
|
|
7
8
|
export default {
|
|
8
9
|
zh: 'Chinese',
|
|
@@ -11,6 +12,7 @@ export default {
|
|
|
11
12
|
nl: 'Dutch',
|
|
12
13
|
en: 'English',
|
|
13
14
|
en_GB: 'English (United Kingdom)',
|
|
15
|
+
en_ZZ: 'English (Instrumented)',
|
|
14
16
|
et: 'Estonian',
|
|
15
17
|
fi: 'Finnish',
|
|
16
18
|
fr: 'French',
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
// Cannot import from `../i18n` because there is `../i18n.tsx` file there.
|
|
2
2
|
/* eslint-disable @atlassian/tangerine/import/no-dangling-index */
|
|
3
|
-
import { cs, da, de, en, en_GB, es, et, fi, fr, hu, is, it, ja, ko, nb, nl, pl, pt_BR, pt_PT, ro, ru, sk, sv, zh } from '../i18n/index';
|
|
3
|
+
import { cs, da, de, en, en_GB, en_ZZ, es, et, fi, fr, hu, is, it, ja, ko, nb, nl, pl, pt_BR, pt_PT, ro, ru, sk, sv, zh } from '../i18n/index';
|
|
4
4
|
const localesMessagesMap = {
|
|
5
5
|
cs,
|
|
6
6
|
da,
|
|
7
7
|
de,
|
|
8
8
|
en,
|
|
9
9
|
en_GB,
|
|
10
|
+
en_ZZ,
|
|
10
11
|
es,
|
|
11
12
|
et,
|
|
12
13
|
fi,
|
|
@@ -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: "4.
|
|
9
|
+
packageVersion: "4.22.1"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file
|
|
5
|
-
*
|
|
4
|
+
* This file was automatically generated by i18n-tools
|
|
5
|
+
* which is now deprecated. Changes must now be made
|
|
6
|
+
* manually.
|
|
6
7
|
*/
|
|
7
8
|
export default {
|
|
8
9
|
zh: 'Chinese',
|
|
@@ -11,6 +12,7 @@ export default {
|
|
|
11
12
|
nl: 'Dutch',
|
|
12
13
|
en: 'English',
|
|
13
14
|
en_GB: 'English (United Kingdom)',
|
|
15
|
+
en_ZZ: 'English (Instrumented)',
|
|
14
16
|
et: 'Estonian',
|
|
15
17
|
fi: 'Finnish',
|
|
16
18
|
fr: 'French',
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
// Cannot import from `../i18n` because there is `../i18n.tsx` file there.
|
|
2
2
|
/* eslint-disable @atlassian/tangerine/import/no-dangling-index */
|
|
3
|
-
import { cs, da, de, en, en_GB, es, et, fi, fr, hu, is, it, ja, ko, nb, nl, pl, pt_BR, pt_PT, ro, ru, sk, sv, zh } from '../i18n/index';
|
|
3
|
+
import { cs, da, de, en, en_GB, en_ZZ, es, et, fi, fr, hu, is, it, ja, ko, nb, nl, pl, pt_BR, pt_PT, ro, ru, sk, sv, zh } from '../i18n/index';
|
|
4
4
|
var localesMessagesMap = {
|
|
5
5
|
cs: cs,
|
|
6
6
|
da: da,
|
|
7
7
|
de: de,
|
|
8
8
|
en: en,
|
|
9
9
|
en_GB: en_GB,
|
|
10
|
+
en_ZZ: en_ZZ,
|
|
10
11
|
es: es,
|
|
11
12
|
et: et,
|
|
12
13
|
fi: fi,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file
|
|
5
|
-
*
|
|
4
|
+
* This file was automatically generated by i18n-tools
|
|
5
|
+
* which is now deprecated. Changes must now be made
|
|
6
|
+
* manually.
|
|
6
7
|
*/
|
|
7
8
|
declare const _default: {
|
|
8
9
|
zh: string;
|
|
@@ -11,6 +12,7 @@ declare const _default: {
|
|
|
11
12
|
nl: string;
|
|
12
13
|
en: string;
|
|
13
14
|
en_GB: string;
|
|
15
|
+
en_ZZ: string;
|
|
14
16
|
et: string;
|
|
15
17
|
fi: string;
|
|
16
18
|
fr: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* NOTE:
|
|
3
3
|
*
|
|
4
|
-
* This file
|
|
5
|
-
*
|
|
4
|
+
* This file was automatically generated by i18n-tools
|
|
5
|
+
* which is now deprecated. Changes must now be made
|
|
6
|
+
* manually.
|
|
6
7
|
*/
|
|
7
8
|
declare const _default: {
|
|
8
9
|
zh: string;
|
|
@@ -11,6 +12,7 @@ declare const _default: {
|
|
|
11
12
|
nl: string;
|
|
12
13
|
en: string;
|
|
13
14
|
en_GB: string;
|
|
15
|
+
en_ZZ: string;
|
|
14
16
|
et: string;
|
|
15
17
|
fi: string;
|
|
16
18
|
fr: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.22.1",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@atlaskit/button": "^20.3.0",
|
|
43
43
|
"@atlaskit/dropdown-menu": "^12.22.0",
|
|
44
44
|
"@atlaskit/form": "^10.5.0",
|
|
45
|
-
"@atlaskit/heading": "^
|
|
45
|
+
"@atlaskit/heading": "^3.0.0",
|
|
46
46
|
"@atlaskit/icon": "^22.24.0",
|
|
47
47
|
"@atlaskit/link": "^1.2.0",
|
|
48
48
|
"@atlaskit/menu": "^2.13.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/popper": "^6.3.0",
|
|
51
51
|
"@atlaskit/popup": "^1.29.0",
|
|
52
52
|
"@atlaskit/portal": "^4.9.0",
|
|
53
|
-
"@atlaskit/primitives": "^13.
|
|
53
|
+
"@atlaskit/primitives": "^13.2.0",
|
|
54
54
|
"@atlaskit/smart-user-picker": "^6.11.0",
|
|
55
55
|
"@atlaskit/spinner": "^16.3.0",
|
|
56
56
|
"@atlaskit/tabs": "^16.5.0",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/tokens": "^2.2.0",
|
|
60
60
|
"@atlaskit/tooltip": "^18.9.0",
|
|
61
61
|
"@atlaskit/ufo": "^0.3.0",
|
|
62
|
-
"@atlaskit/user-picker": "^10.
|
|
62
|
+
"@atlaskit/user-picker": "^10.27.0",
|
|
63
63
|
"@atlaskit/util-service-support": "^6.2.0",
|
|
64
64
|
"@babel/runtime": "^7.0.0",
|
|
65
65
|
"@emotion/react": "^11.7.1",
|