@atlaskit/smart-user-picker 10.0.3 → 10.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 +13 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/SmartUserPicker.js +4 -3
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/SmartUserPicker.js +3 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/SmartUserPicker.js +4 -3
- package/dist/types/types.d.ts +3 -0
- package/dist/types-ts4.5/types.d.ts +3 -0
- package/package.json +3 -3
- package/dist/cjs/i18n/index.js +0 -216
- package/dist/es2019/i18n/index.js +0 -36
- package/dist/esm/i18n/index.js +0 -36
- package/dist/types/i18n/index.d.ts +0 -36
- package/dist/types-ts4.5/i18n/index.d.ts +0 -36
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlassian/smart-user-picker
|
|
2
2
|
|
|
3
|
+
## 10.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 10.0.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`022735aed6e40`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/022735aed6e40) -
|
|
14
|
+
[PTC-16466]: pass userbaseId to URS
|
|
15
|
+
|
|
3
16
|
## 10.0.3
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -12,7 +12,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
12
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
13
13
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
14
14
|
var packageName = "@atlaskit/smart-user-picker";
|
|
15
|
-
var packageVersion = "
|
|
15
|
+
var packageVersion = "0.0.0-development";
|
|
16
16
|
var startSession = exports.startSession = function startSession() {
|
|
17
17
|
return {
|
|
18
18
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
@@ -50,7 +50,7 @@ var ufoEndStateConfig = function ufoEndStateConfig(fieldId) {
|
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
var hasContextChanged = function hasContextChanged(oldContext, newContext) {
|
|
53
|
-
return oldContext.siteId !== newContext.siteId || oldContext.orgId !== newContext.orgId || oldContext.productKey !== newContext.productKey || oldContext.principalId !== newContext.principalId || oldContext.containerId !== newContext.containerId || oldContext.objectId !== newContext.objectId || oldContext.childObjectId !== newContext.childObjectId;
|
|
53
|
+
return oldContext.siteId !== newContext.siteId || oldContext.orgId !== newContext.orgId || oldContext.userbaseId !== newContext.userbaseId || oldContext.productKey !== newContext.productKey || oldContext.principalId !== newContext.principalId || oldContext.containerId !== newContext.containerId || oldContext.objectId !== newContext.objectId || oldContext.childObjectId !== newContext.childObjectId;
|
|
54
54
|
};
|
|
55
55
|
var stringContains = function stringContains(str, substr) {
|
|
56
56
|
if (str === null || str === undefined) {
|
|
@@ -118,12 +118,12 @@ var SmartUserPickerWithoutAnalytics = exports.SmartUserPickerWithoutAnalytics =
|
|
|
118
118
|
});
|
|
119
119
|
(0, _defineProperty2.default)(_this, "memoizedFilterOptions", (0, _memoizeOne.default)(_this.filterOptions));
|
|
120
120
|
(0, _defineProperty2.default)(_this, "getUsers", (0, _debounce.default)( /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
121
|
-
var _this$state, query, sessionId, closed, _this$props, baseUrl, childObjectId, containerId, fieldId, includeGroups, includeTeams, includeTeamsUpdates, includeUsers, includeNonLicensedUsers, intl, fetchOptions, maxOptions, objectId, onEmpty, onError, overrideByline, displayEmailInByline, verifiedTeams, orgId, principalId, productAttributes, productKey, restrictTo, searchQueryFilter, siteId, isTeamSyncedToGroupDirectoryFilter, transformOptions, userResolvers, enableEmailSearch, maxNumberOfResults, startTime, isEmail, recommendationsRequest, _yield$onEmpty, _query, recommendedUsers, userRecommendationsPromise, userResolversPromises, _yield$Promise$all, _yield$Promise$all2, mainRecommendations, userResolverResults, _iterator, _step, option, _iterator2, _step2, _option, _iterator3, _step3, _option2, userMatches, elapsedTimeMilli, transformedOptions, displayedUsers, is5xxEvent, onErrorProducedError, defaultUsers, _elapsedTimeMilli;
|
|
121
|
+
var _this$state, query, sessionId, closed, _this$props, baseUrl, childObjectId, containerId, fieldId, includeGroups, includeTeams, includeTeamsUpdates, includeUsers, includeNonLicensedUsers, intl, fetchOptions, maxOptions, objectId, onEmpty, onError, overrideByline, displayEmailInByline, verifiedTeams, orgId, userbaseId, principalId, productAttributes, productKey, restrictTo, searchQueryFilter, siteId, isTeamSyncedToGroupDirectoryFilter, transformOptions, userResolvers, enableEmailSearch, maxNumberOfResults, startTime, isEmail, recommendationsRequest, _yield$onEmpty, _query, recommendedUsers, userRecommendationsPromise, userResolversPromises, _yield$Promise$all, _yield$Promise$all2, mainRecommendations, userResolverResults, _iterator, _step, option, _iterator2, _step2, _option, _iterator3, _step3, _option2, userMatches, elapsedTimeMilli, transformedOptions, displayedUsers, is5xxEvent, onErrorProducedError, defaultUsers, _elapsedTimeMilli;
|
|
122
122
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
123
123
|
while (1) switch (_context.prev = _context.next) {
|
|
124
124
|
case 0:
|
|
125
125
|
_this$state = _this.state, query = _this$state.query, sessionId = _this$state.sessionId, closed = _this$state.closed;
|
|
126
|
-
_this$props = _this.props, baseUrl = _this$props.baseUrl, childObjectId = _this$props.childObjectId, containerId = _this$props.containerId, fieldId = _this$props.fieldId, includeGroups = _this$props.includeGroups, includeTeams = _this$props.includeTeams, includeTeamsUpdates = _this$props.includeTeamsUpdates, includeUsers = _this$props.includeUsers, includeNonLicensedUsers = _this$props.includeNonLicensedUsers, intl = _this$props.intl, fetchOptions = _this$props.fetchOptions, maxOptions = _this$props.maxOptions, objectId = _this$props.objectId, onEmpty = _this$props.onEmpty, onError = _this$props.onError, overrideByline = _this$props.overrideByline, displayEmailInByline = _this$props.displayEmailInByline, verifiedTeams = _this$props.verifiedTeams, orgId = _this$props.orgId, principalId = _this$props.principalId, productAttributes = _this$props.productAttributes, productKey = _this$props.productKey, restrictTo = _this$props.restrictTo, searchQueryFilter = _this$props.searchQueryFilter, siteId = _this$props.siteId, isTeamSyncedToGroupDirectoryFilter = _this$props.isTeamSyncedToGroupDirectoryFilter, transformOptions = _this$props.transformOptions, userResolvers = _this$props.userResolvers, enableEmailSearch = _this$props.enableEmailSearch;
|
|
126
|
+
_this$props = _this.props, baseUrl = _this$props.baseUrl, childObjectId = _this$props.childObjectId, containerId = _this$props.containerId, fieldId = _this$props.fieldId, includeGroups = _this$props.includeGroups, includeTeams = _this$props.includeTeams, includeTeamsUpdates = _this$props.includeTeamsUpdates, includeUsers = _this$props.includeUsers, includeNonLicensedUsers = _this$props.includeNonLicensedUsers, intl = _this$props.intl, fetchOptions = _this$props.fetchOptions, maxOptions = _this$props.maxOptions, objectId = _this$props.objectId, onEmpty = _this$props.onEmpty, onError = _this$props.onError, overrideByline = _this$props.overrideByline, displayEmailInByline = _this$props.displayEmailInByline, verifiedTeams = _this$props.verifiedTeams, orgId = _this$props.orgId, userbaseId = _this$props.userbaseId, principalId = _this$props.principalId, productAttributes = _this$props.productAttributes, productKey = _this$props.productKey, restrictTo = _this$props.restrictTo, searchQueryFilter = _this$props.searchQueryFilter, siteId = _this$props.siteId, isTeamSyncedToGroupDirectoryFilter = _this$props.isTeamSyncedToGroupDirectoryFilter, transformOptions = _this$props.transformOptions, userResolvers = _this$props.userResolvers, enableEmailSearch = _this$props.enableEmailSearch;
|
|
127
127
|
maxNumberOfResults = maxOptions || 100;
|
|
128
128
|
startTime = window.performance.now(); // Check if this is an email search
|
|
129
129
|
isEmail = enableEmailSearch && isEmailQuery(query);
|
|
@@ -137,6 +137,7 @@ var SmartUserPickerWithoutAnalytics = exports.SmartUserPickerWithoutAnalytics =
|
|
|
137
137
|
productKey: productKey,
|
|
138
138
|
siteId: siteId,
|
|
139
139
|
organizationId: orgId,
|
|
140
|
+
userbaseId: userbaseId,
|
|
140
141
|
childObjectId: childObjectId,
|
|
141
142
|
sessionId: sessionId,
|
|
142
143
|
productAttributes: productAttributes
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
3
3
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
4
4
|
import { v4 as uuid } from 'uuid';
|
|
5
5
|
const packageName = "@atlaskit/smart-user-picker";
|
|
6
|
-
const packageVersion = "
|
|
6
|
+
const packageVersion = "0.0.0-development";
|
|
7
7
|
export const startSession = () => ({
|
|
8
8
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
9
9
|
id: uuid(),
|
|
@@ -23,7 +23,7 @@ const ufoEndStateConfig = fieldId => {
|
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
|
-
const hasContextChanged = (oldContext, newContext) => oldContext.siteId !== newContext.siteId || oldContext.orgId !== newContext.orgId || oldContext.productKey !== newContext.productKey || oldContext.principalId !== newContext.principalId || oldContext.containerId !== newContext.containerId || oldContext.objectId !== newContext.objectId || oldContext.childObjectId !== newContext.childObjectId;
|
|
26
|
+
const hasContextChanged = (oldContext, newContext) => oldContext.siteId !== newContext.siteId || oldContext.orgId !== newContext.orgId || oldContext.userbaseId !== newContext.userbaseId || oldContext.productKey !== newContext.productKey || oldContext.principalId !== newContext.principalId || oldContext.containerId !== newContext.containerId || oldContext.objectId !== newContext.objectId || oldContext.childObjectId !== newContext.childObjectId;
|
|
27
27
|
const stringContains = (str, substr) => {
|
|
28
28
|
if (str === null || str === undefined) {
|
|
29
29
|
return false;
|
|
@@ -105,6 +105,7 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
|
105
105
|
displayEmailInByline,
|
|
106
106
|
verifiedTeams,
|
|
107
107
|
orgId,
|
|
108
|
+
userbaseId,
|
|
108
109
|
principalId,
|
|
109
110
|
productAttributes,
|
|
110
111
|
productKey,
|
|
@@ -131,6 +132,7 @@ export class SmartUserPickerWithoutAnalytics extends React.Component {
|
|
|
131
132
|
productKey,
|
|
132
133
|
siteId,
|
|
133
134
|
organizationId: orgId,
|
|
135
|
+
userbaseId,
|
|
134
136
|
childObjectId,
|
|
135
137
|
sessionId,
|
|
136
138
|
productAttributes
|
package/dist/esm/analytics.js
CHANGED
|
@@ -6,7 +6,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
6
6
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
7
7
|
import { v4 as uuid } from 'uuid';
|
|
8
8
|
var packageName = "@atlaskit/smart-user-picker";
|
|
9
|
-
var packageVersion = "
|
|
9
|
+
var packageVersion = "0.0.0-development";
|
|
10
10
|
export var startSession = function startSession() {
|
|
11
11
|
return {
|
|
12
12
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
@@ -42,7 +42,7 @@ var ufoEndStateConfig = function ufoEndStateConfig(fieldId) {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
var hasContextChanged = function hasContextChanged(oldContext, newContext) {
|
|
45
|
-
return oldContext.siteId !== newContext.siteId || oldContext.orgId !== newContext.orgId || oldContext.productKey !== newContext.productKey || oldContext.principalId !== newContext.principalId || oldContext.containerId !== newContext.containerId || oldContext.objectId !== newContext.objectId || oldContext.childObjectId !== newContext.childObjectId;
|
|
45
|
+
return oldContext.siteId !== newContext.siteId || oldContext.orgId !== newContext.orgId || oldContext.userbaseId !== newContext.userbaseId || oldContext.productKey !== newContext.productKey || oldContext.principalId !== newContext.principalId || oldContext.containerId !== newContext.containerId || oldContext.objectId !== newContext.objectId || oldContext.childObjectId !== newContext.childObjectId;
|
|
46
46
|
};
|
|
47
47
|
var stringContains = function stringContains(str, substr) {
|
|
48
48
|
if (str === null || str === undefined) {
|
|
@@ -110,12 +110,12 @@ export var SmartUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compo
|
|
|
110
110
|
});
|
|
111
111
|
_defineProperty(_this, "memoizedFilterOptions", memoizeOne(_this.filterOptions));
|
|
112
112
|
_defineProperty(_this, "getUsers", debounce( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
113
|
-
var _this$state, query, sessionId, closed, _this$props, baseUrl, childObjectId, containerId, fieldId, includeGroups, includeTeams, includeTeamsUpdates, includeUsers, includeNonLicensedUsers, intl, fetchOptions, maxOptions, objectId, onEmpty, onError, overrideByline, displayEmailInByline, verifiedTeams, orgId, principalId, productAttributes, productKey, restrictTo, searchQueryFilter, siteId, isTeamSyncedToGroupDirectoryFilter, transformOptions, userResolvers, enableEmailSearch, maxNumberOfResults, startTime, isEmail, recommendationsRequest, _yield$onEmpty, _query, recommendedUsers, userRecommendationsPromise, userResolversPromises, _yield$Promise$all, _yield$Promise$all2, mainRecommendations, userResolverResults, _iterator, _step, option, _iterator2, _step2, _option, _iterator3, _step3, _option2, userMatches, elapsedTimeMilli, transformedOptions, displayedUsers, is5xxEvent, onErrorProducedError, defaultUsers, _elapsedTimeMilli;
|
|
113
|
+
var _this$state, query, sessionId, closed, _this$props, baseUrl, childObjectId, containerId, fieldId, includeGroups, includeTeams, includeTeamsUpdates, includeUsers, includeNonLicensedUsers, intl, fetchOptions, maxOptions, objectId, onEmpty, onError, overrideByline, displayEmailInByline, verifiedTeams, orgId, userbaseId, principalId, productAttributes, productKey, restrictTo, searchQueryFilter, siteId, isTeamSyncedToGroupDirectoryFilter, transformOptions, userResolvers, enableEmailSearch, maxNumberOfResults, startTime, isEmail, recommendationsRequest, _yield$onEmpty, _query, recommendedUsers, userRecommendationsPromise, userResolversPromises, _yield$Promise$all, _yield$Promise$all2, mainRecommendations, userResolverResults, _iterator, _step, option, _iterator2, _step2, _option, _iterator3, _step3, _option2, userMatches, elapsedTimeMilli, transformedOptions, displayedUsers, is5xxEvent, onErrorProducedError, defaultUsers, _elapsedTimeMilli;
|
|
114
114
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
115
115
|
while (1) switch (_context.prev = _context.next) {
|
|
116
116
|
case 0:
|
|
117
117
|
_this$state = _this.state, query = _this$state.query, sessionId = _this$state.sessionId, closed = _this$state.closed;
|
|
118
|
-
_this$props = _this.props, baseUrl = _this$props.baseUrl, childObjectId = _this$props.childObjectId, containerId = _this$props.containerId, fieldId = _this$props.fieldId, includeGroups = _this$props.includeGroups, includeTeams = _this$props.includeTeams, includeTeamsUpdates = _this$props.includeTeamsUpdates, includeUsers = _this$props.includeUsers, includeNonLicensedUsers = _this$props.includeNonLicensedUsers, intl = _this$props.intl, fetchOptions = _this$props.fetchOptions, maxOptions = _this$props.maxOptions, objectId = _this$props.objectId, onEmpty = _this$props.onEmpty, onError = _this$props.onError, overrideByline = _this$props.overrideByline, displayEmailInByline = _this$props.displayEmailInByline, verifiedTeams = _this$props.verifiedTeams, orgId = _this$props.orgId, principalId = _this$props.principalId, productAttributes = _this$props.productAttributes, productKey = _this$props.productKey, restrictTo = _this$props.restrictTo, searchQueryFilter = _this$props.searchQueryFilter, siteId = _this$props.siteId, isTeamSyncedToGroupDirectoryFilter = _this$props.isTeamSyncedToGroupDirectoryFilter, transformOptions = _this$props.transformOptions, userResolvers = _this$props.userResolvers, enableEmailSearch = _this$props.enableEmailSearch;
|
|
118
|
+
_this$props = _this.props, baseUrl = _this$props.baseUrl, childObjectId = _this$props.childObjectId, containerId = _this$props.containerId, fieldId = _this$props.fieldId, includeGroups = _this$props.includeGroups, includeTeams = _this$props.includeTeams, includeTeamsUpdates = _this$props.includeTeamsUpdates, includeUsers = _this$props.includeUsers, includeNonLicensedUsers = _this$props.includeNonLicensedUsers, intl = _this$props.intl, fetchOptions = _this$props.fetchOptions, maxOptions = _this$props.maxOptions, objectId = _this$props.objectId, onEmpty = _this$props.onEmpty, onError = _this$props.onError, overrideByline = _this$props.overrideByline, displayEmailInByline = _this$props.displayEmailInByline, verifiedTeams = _this$props.verifiedTeams, orgId = _this$props.orgId, userbaseId = _this$props.userbaseId, principalId = _this$props.principalId, productAttributes = _this$props.productAttributes, productKey = _this$props.productKey, restrictTo = _this$props.restrictTo, searchQueryFilter = _this$props.searchQueryFilter, siteId = _this$props.siteId, isTeamSyncedToGroupDirectoryFilter = _this$props.isTeamSyncedToGroupDirectoryFilter, transformOptions = _this$props.transformOptions, userResolvers = _this$props.userResolvers, enableEmailSearch = _this$props.enableEmailSearch;
|
|
119
119
|
maxNumberOfResults = maxOptions || 100;
|
|
120
120
|
startTime = window.performance.now(); // Check if this is an email search
|
|
121
121
|
isEmail = enableEmailSearch && isEmailQuery(query);
|
|
@@ -129,6 +129,7 @@ export var SmartUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compo
|
|
|
129
129
|
productKey: productKey,
|
|
130
130
|
siteId: siteId,
|
|
131
131
|
organizationId: orgId,
|
|
132
|
+
userbaseId: userbaseId,
|
|
132
133
|
childObjectId: childObjectId,
|
|
133
134
|
sessionId: sessionId,
|
|
134
135
|
productAttributes: productAttributes
|
package/dist/types/types.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface Context {
|
|
|
10
10
|
productKey: string;
|
|
11
11
|
siteId: string;
|
|
12
12
|
organizationId?: string;
|
|
13
|
+
userbaseId?: string;
|
|
13
14
|
productAttributes?: ProductAttributes;
|
|
14
15
|
}
|
|
15
16
|
export interface RestrictionFilter {
|
|
@@ -249,6 +250,8 @@ export interface SmartProps {
|
|
|
249
250
|
orgId?: string;
|
|
250
251
|
/**
|
|
251
252
|
* Identifier for the userbase scope.
|
|
253
|
+
* Currently, this is supported for team fetching only.
|
|
254
|
+
* When provided, team search uses this scope. Otherwise team search falls back to `orgId` and `siteId`.
|
|
252
255
|
*/
|
|
253
256
|
userbaseId?: string;
|
|
254
257
|
/**
|
|
@@ -10,6 +10,7 @@ export interface Context {
|
|
|
10
10
|
productKey: string;
|
|
11
11
|
siteId: string;
|
|
12
12
|
organizationId?: string;
|
|
13
|
+
userbaseId?: string;
|
|
13
14
|
productAttributes?: ProductAttributes;
|
|
14
15
|
}
|
|
15
16
|
export interface RestrictionFilter {
|
|
@@ -249,6 +250,8 @@ export interface SmartProps {
|
|
|
249
250
|
orgId?: string;
|
|
250
251
|
/**
|
|
251
252
|
* Identifier for the userbase scope.
|
|
253
|
+
* Currently, this is supported for team fetching only.
|
|
254
|
+
* When provided, team search uses this scope. Otherwise team search falls back to `orgId` and `siteId`.
|
|
252
255
|
*/
|
|
253
256
|
userbaseId?: string;
|
|
254
257
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/smart-user-picker",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.5",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@atlaskit/afm-i18n-platform-smart-experiences-smart-user-picker": "2.88.0",
|
|
38
38
|
"@atlaskit/analytics-next": "^11.2.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
40
|
-
"@atlaskit/ufo": "^0.
|
|
40
|
+
"@atlaskit/ufo": "^0.5.0",
|
|
41
41
|
"@atlaskit/user-picker": "^12.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
43
43
|
"lodash": "^4.17.21",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@atlaskit/select": "^21.
|
|
53
|
+
"@atlaskit/select": "^21.12.0",
|
|
54
54
|
"@atlaskit/util-data-test": "^18.5.0",
|
|
55
55
|
"@atlassian/a11y-jest-testing": "^0.11.0",
|
|
56
56
|
"@testing-library/dom": "^10.1.0",
|
package/dist/cjs/i18n/index.js
DELETED
|
@@ -1,216 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
Object.defineProperty(exports, "cs", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _cs.default;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
Object.defineProperty(exports, "da", {
|
|
14
|
-
enumerable: true,
|
|
15
|
-
get: function get() {
|
|
16
|
-
return _da.default;
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "de", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function get() {
|
|
22
|
-
return _de.default;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
Object.defineProperty(exports, "en", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function get() {
|
|
28
|
-
return _en.default;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "en_GB", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function get() {
|
|
34
|
-
return _en_GB.default;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, "en_ZZ", {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function get() {
|
|
40
|
-
return _en_ZZ.default;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, "es", {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function get() {
|
|
46
|
-
return _es.default;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, "et", {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function get() {
|
|
52
|
-
return _et.default;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, "fi", {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function get() {
|
|
58
|
-
return _fi.default;
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, "fr", {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function get() {
|
|
64
|
-
return _fr.default;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(exports, "hu", {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function get() {
|
|
70
|
-
return _hu.default;
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
Object.defineProperty(exports, "is", {
|
|
74
|
-
enumerable: true,
|
|
75
|
-
get: function get() {
|
|
76
|
-
return _is.default;
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
Object.defineProperty(exports, "it", {
|
|
80
|
-
enumerable: true,
|
|
81
|
-
get: function get() {
|
|
82
|
-
return _it.default;
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
Object.defineProperty(exports, "ja", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
get: function get() {
|
|
88
|
-
return _ja.default;
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
Object.defineProperty(exports, "ko", {
|
|
92
|
-
enumerable: true,
|
|
93
|
-
get: function get() {
|
|
94
|
-
return _ko.default;
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
Object.defineProperty(exports, "nb", {
|
|
98
|
-
enumerable: true,
|
|
99
|
-
get: function get() {
|
|
100
|
-
return _nb.default;
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
Object.defineProperty(exports, "nl", {
|
|
104
|
-
enumerable: true,
|
|
105
|
-
get: function get() {
|
|
106
|
-
return _nl.default;
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
Object.defineProperty(exports, "pl", {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: function get() {
|
|
112
|
-
return _pl.default;
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
Object.defineProperty(exports, "pt_BR", {
|
|
116
|
-
enumerable: true,
|
|
117
|
-
get: function get() {
|
|
118
|
-
return _pt_BR.default;
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
Object.defineProperty(exports, "pt_PT", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
get: function get() {
|
|
124
|
-
return _pt_PT.default;
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
Object.defineProperty(exports, "ro", {
|
|
128
|
-
enumerable: true,
|
|
129
|
-
get: function get() {
|
|
130
|
-
return _ro.default;
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
Object.defineProperty(exports, "ru", {
|
|
134
|
-
enumerable: true,
|
|
135
|
-
get: function get() {
|
|
136
|
-
return _ru.default;
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
Object.defineProperty(exports, "sk", {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
get: function get() {
|
|
142
|
-
return _sk.default;
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
Object.defineProperty(exports, "sv", {
|
|
146
|
-
enumerable: true,
|
|
147
|
-
get: function get() {
|
|
148
|
-
return _sv.default;
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
Object.defineProperty(exports, "th", {
|
|
152
|
-
enumerable: true,
|
|
153
|
-
get: function get() {
|
|
154
|
-
return _th.default;
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
Object.defineProperty(exports, "tr", {
|
|
158
|
-
enumerable: true,
|
|
159
|
-
get: function get() {
|
|
160
|
-
return _tr.default;
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
Object.defineProperty(exports, "uk", {
|
|
164
|
-
enumerable: true,
|
|
165
|
-
get: function get() {
|
|
166
|
-
return _uk.default;
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
Object.defineProperty(exports, "vi", {
|
|
170
|
-
enumerable: true,
|
|
171
|
-
get: function get() {
|
|
172
|
-
return _vi.default;
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
Object.defineProperty(exports, "zh", {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function get() {
|
|
178
|
-
return _zh.default;
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
Object.defineProperty(exports, "zh_TW", {
|
|
182
|
-
enumerable: true,
|
|
183
|
-
get: function get() {
|
|
184
|
-
return _zh_TW.default;
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
var _zh = _interopRequireDefault(require("./zh"));
|
|
188
|
-
var _zh_TW = _interopRequireDefault(require("./zh_TW"));
|
|
189
|
-
var _cs = _interopRequireDefault(require("./cs"));
|
|
190
|
-
var _da = _interopRequireDefault(require("./da"));
|
|
191
|
-
var _nl = _interopRequireDefault(require("./nl"));
|
|
192
|
-
var _et = _interopRequireDefault(require("./et"));
|
|
193
|
-
var _fi = _interopRequireDefault(require("./fi"));
|
|
194
|
-
var _fr = _interopRequireDefault(require("./fr"));
|
|
195
|
-
var _de = _interopRequireDefault(require("./de"));
|
|
196
|
-
var _hu = _interopRequireDefault(require("./hu"));
|
|
197
|
-
var _it = _interopRequireDefault(require("./it"));
|
|
198
|
-
var _ja = _interopRequireDefault(require("./ja"));
|
|
199
|
-
var _ko = _interopRequireDefault(require("./ko"));
|
|
200
|
-
var _nb = _interopRequireDefault(require("./nb"));
|
|
201
|
-
var _pl = _interopRequireDefault(require("./pl"));
|
|
202
|
-
var _pt_BR = _interopRequireDefault(require("./pt_BR"));
|
|
203
|
-
var _pt_PT = _interopRequireDefault(require("./pt_PT"));
|
|
204
|
-
var _ru = _interopRequireDefault(require("./ru"));
|
|
205
|
-
var _sk = _interopRequireDefault(require("./sk"));
|
|
206
|
-
var _es = _interopRequireDefault(require("./es"));
|
|
207
|
-
var _sv = _interopRequireDefault(require("./sv"));
|
|
208
|
-
var _th = _interopRequireDefault(require("./th"));
|
|
209
|
-
var _tr = _interopRequireDefault(require("./tr"));
|
|
210
|
-
var _uk = _interopRequireDefault(require("./uk"));
|
|
211
|
-
var _vi = _interopRequireDefault(require("./vi"));
|
|
212
|
-
var _en_ZZ = _interopRequireDefault(require("./en_ZZ"));
|
|
213
|
-
var _en = _interopRequireDefault(require("./en"));
|
|
214
|
-
var _en_GB = _interopRequireDefault(require("./en_GB"));
|
|
215
|
-
var _is = _interopRequireDefault(require("./is"));
|
|
216
|
-
var _ro = _interopRequireDefault(require("./ro"));
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by i18n-tools.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
export { default as zh } from './zh';
|
|
8
|
-
export { default as zh_TW } from './zh_TW';
|
|
9
|
-
export { default as cs } from './cs';
|
|
10
|
-
export { default as da } from './da';
|
|
11
|
-
export { default as nl } from './nl';
|
|
12
|
-
export { default as et } from './et';
|
|
13
|
-
export { default as fi } from './fi';
|
|
14
|
-
export { default as fr } from './fr';
|
|
15
|
-
export { default as de } from './de';
|
|
16
|
-
export { default as hu } from './hu';
|
|
17
|
-
export { default as it } from './it';
|
|
18
|
-
export { default as ja } from './ja';
|
|
19
|
-
export { default as ko } from './ko';
|
|
20
|
-
export { default as nb } from './nb';
|
|
21
|
-
export { default as pl } from './pl';
|
|
22
|
-
export { default as pt_BR } from './pt_BR';
|
|
23
|
-
export { default as pt_PT } from './pt_PT';
|
|
24
|
-
export { default as ru } from './ru';
|
|
25
|
-
export { default as sk } from './sk';
|
|
26
|
-
export { default as es } from './es';
|
|
27
|
-
export { default as sv } from './sv';
|
|
28
|
-
export { default as th } from './th';
|
|
29
|
-
export { default as tr } from './tr';
|
|
30
|
-
export { default as uk } from './uk';
|
|
31
|
-
export { default as vi } from './vi';
|
|
32
|
-
export { default as en_ZZ } from './en_ZZ';
|
|
33
|
-
export { default as en } from './en';
|
|
34
|
-
export { default as en_GB } from './en_GB';
|
|
35
|
-
export { default as is } from './is';
|
|
36
|
-
export { default as ro } from './ro';
|
package/dist/esm/i18n/index.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by i18n-tools.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
export { default as zh } from './zh';
|
|
8
|
-
export { default as zh_TW } from './zh_TW';
|
|
9
|
-
export { default as cs } from './cs';
|
|
10
|
-
export { default as da } from './da';
|
|
11
|
-
export { default as nl } from './nl';
|
|
12
|
-
export { default as et } from './et';
|
|
13
|
-
export { default as fi } from './fi';
|
|
14
|
-
export { default as fr } from './fr';
|
|
15
|
-
export { default as de } from './de';
|
|
16
|
-
export { default as hu } from './hu';
|
|
17
|
-
export { default as it } from './it';
|
|
18
|
-
export { default as ja } from './ja';
|
|
19
|
-
export { default as ko } from './ko';
|
|
20
|
-
export { default as nb } from './nb';
|
|
21
|
-
export { default as pl } from './pl';
|
|
22
|
-
export { default as pt_BR } from './pt_BR';
|
|
23
|
-
export { default as pt_PT } from './pt_PT';
|
|
24
|
-
export { default as ru } from './ru';
|
|
25
|
-
export { default as sk } from './sk';
|
|
26
|
-
export { default as es } from './es';
|
|
27
|
-
export { default as sv } from './sv';
|
|
28
|
-
export { default as th } from './th';
|
|
29
|
-
export { default as tr } from './tr';
|
|
30
|
-
export { default as uk } from './uk';
|
|
31
|
-
export { default as vi } from './vi';
|
|
32
|
-
export { default as en_ZZ } from './en_ZZ';
|
|
33
|
-
export { default as en } from './en';
|
|
34
|
-
export { default as en_GB } from './en_GB';
|
|
35
|
-
export { default as is } from './is';
|
|
36
|
-
export { default as ro } from './ro';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by i18n-tools.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
export { default as zh } from './zh';
|
|
8
|
-
export { default as zh_TW } from './zh_TW';
|
|
9
|
-
export { default as cs } from './cs';
|
|
10
|
-
export { default as da } from './da';
|
|
11
|
-
export { default as nl } from './nl';
|
|
12
|
-
export { default as et } from './et';
|
|
13
|
-
export { default as fi } from './fi';
|
|
14
|
-
export { default as fr } from './fr';
|
|
15
|
-
export { default as de } from './de';
|
|
16
|
-
export { default as hu } from './hu';
|
|
17
|
-
export { default as it } from './it';
|
|
18
|
-
export { default as ja } from './ja';
|
|
19
|
-
export { default as ko } from './ko';
|
|
20
|
-
export { default as nb } from './nb';
|
|
21
|
-
export { default as pl } from './pl';
|
|
22
|
-
export { default as pt_BR } from './pt_BR';
|
|
23
|
-
export { default as pt_PT } from './pt_PT';
|
|
24
|
-
export { default as ru } from './ru';
|
|
25
|
-
export { default as sk } from './sk';
|
|
26
|
-
export { default as es } from './es';
|
|
27
|
-
export { default as sv } from './sv';
|
|
28
|
-
export { default as th } from './th';
|
|
29
|
-
export { default as tr } from './tr';
|
|
30
|
-
export { default as uk } from './uk';
|
|
31
|
-
export { default as vi } from './vi';
|
|
32
|
-
export { default as en_ZZ } from './en_ZZ';
|
|
33
|
-
export { default as en } from './en';
|
|
34
|
-
export { default as en_GB } from './en_GB';
|
|
35
|
-
export { default as is } from './is';
|
|
36
|
-
export { default as ro } from './ro';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* NOTE:
|
|
3
|
-
*
|
|
4
|
-
* This file is automatically generated by i18n-tools.
|
|
5
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
-
*/
|
|
7
|
-
export { default as zh } from './zh';
|
|
8
|
-
export { default as zh_TW } from './zh_TW';
|
|
9
|
-
export { default as cs } from './cs';
|
|
10
|
-
export { default as da } from './da';
|
|
11
|
-
export { default as nl } from './nl';
|
|
12
|
-
export { default as et } from './et';
|
|
13
|
-
export { default as fi } from './fi';
|
|
14
|
-
export { default as fr } from './fr';
|
|
15
|
-
export { default as de } from './de';
|
|
16
|
-
export { default as hu } from './hu';
|
|
17
|
-
export { default as it } from './it';
|
|
18
|
-
export { default as ja } from './ja';
|
|
19
|
-
export { default as ko } from './ko';
|
|
20
|
-
export { default as nb } from './nb';
|
|
21
|
-
export { default as pl } from './pl';
|
|
22
|
-
export { default as pt_BR } from './pt_BR';
|
|
23
|
-
export { default as pt_PT } from './pt_PT';
|
|
24
|
-
export { default as ru } from './ru';
|
|
25
|
-
export { default as sk } from './sk';
|
|
26
|
-
export { default as es } from './es';
|
|
27
|
-
export { default as sv } from './sv';
|
|
28
|
-
export { default as th } from './th';
|
|
29
|
-
export { default as tr } from './tr';
|
|
30
|
-
export { default as uk } from './uk';
|
|
31
|
-
export { default as vi } from './vi';
|
|
32
|
-
export { default as en_ZZ } from './en_ZZ';
|
|
33
|
-
export { default as en } from './en';
|
|
34
|
-
export { default as en_GB } from './en_GB';
|
|
35
|
-
export { default as is } from './is';
|
|
36
|
-
export { default as ro } from './ro';
|