@atlaskit/share 6.2.0 → 6.2.2
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 +15 -0
- package/dist/cjs/components/LazyShareForm/LazyShareForm.js +2 -2
- package/dist/cjs/components/LazyShareForm/LazyShareFormNext.js +1 -2
- package/dist/cjs/components/UserPickerField.js +3 -3
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/es2019/components/LazyShareForm/LazyShareForm.js +1 -1
- package/dist/es2019/components/LazyShareForm/LazyShareFormNext.js +1 -2
- package/dist/es2019/components/UserPickerField.js +1 -1
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/esm/components/LazyShareForm/LazyShareForm.js +1 -1
- package/dist/esm/components/LazyShareForm/LazyShareFormNext.js +1 -2
- package/dist/esm/components/UserPickerField.js +1 -1
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/share
|
|
2
2
|
|
|
3
|
+
## 6.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 6.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#142842](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142842)
|
|
14
|
+
[`63265d6000c11`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/63265d6000c11) -
|
|
15
|
+
Internal change to migrate to Compiled CSS-in-JS styling.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 6.2.0
|
|
4
19
|
|
|
5
20
|
### Minor Changes
|
|
@@ -10,7 +10,7 @@ var _react2 = require("@emotion/react");
|
|
|
10
10
|
var _reactIntlNext = require("react-intl-next");
|
|
11
11
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
12
12
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
|
-
var
|
|
13
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
14
14
|
var _constants = require("@atlaskit/theme/constants");
|
|
15
15
|
var _i18n = require("../../i18n");
|
|
16
16
|
var _analytics = require("../analytics/analytics");
|
|
@@ -150,7 +150,7 @@ function LazyShareForm(props) {
|
|
|
150
150
|
isBrowseUsersDisabled: isBrowseUsersDisabled,
|
|
151
151
|
userPickerOptions: userPickerOptions,
|
|
152
152
|
isSubmitShareDisabled: isSubmitShareDisabled
|
|
153
|
-
}) : (0, _react2.jsx)(
|
|
153
|
+
}) : (0, _react2.jsx)(_compiled.Text, {
|
|
154
154
|
as: "p"
|
|
155
155
|
}, (0, _react2.jsx)(_reactIntlNext.FormattedMessage, _i18n.messages.formNoPermissions))));
|
|
156
156
|
}
|
|
@@ -13,7 +13,6 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
13
13
|
var _analyticsNext = require("@atlaskit/analytics-next");
|
|
14
14
|
var _css = require("@atlaskit/css");
|
|
15
15
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
16
|
-
var _primitives = require("@atlaskit/primitives");
|
|
17
16
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
18
17
|
var _i18n = require("../../i18n");
|
|
19
18
|
var _analytics = require("../analytics/analytics");
|
|
@@ -138,7 +137,7 @@ function LazyShareForm(props) {
|
|
|
138
137
|
isBrowseUsersDisabled: isBrowseUsersDisabled,
|
|
139
138
|
userPickerOptions: userPickerOptions,
|
|
140
139
|
isSubmitShareDisabled: isSubmitShareDisabled
|
|
141
|
-
}) : /*#__PURE__*/_react.default.createElement(
|
|
140
|
+
}) : /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
142
141
|
as: "p"
|
|
143
142
|
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _i18n.messages.formNoPermissions))));
|
|
144
143
|
}
|
|
@@ -19,7 +19,7 @@ var _reactIntlNext = require("react-intl-next");
|
|
|
19
19
|
var _form = require("@atlaskit/form");
|
|
20
20
|
var _link = _interopRequireDefault(require("@atlaskit/link"));
|
|
21
21
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
22
|
-
var
|
|
22
|
+
var _compiled = require("@atlaskit/primitives/compiled");
|
|
23
23
|
var _smartUserPicker = _interopRequireWildcard(require("@atlaskit/smart-user-picker"));
|
|
24
24
|
var _userPicker = _interopRequireDefault(require("@atlaskit/user-picker"));
|
|
25
25
|
var _i18n = require("../i18n");
|
|
@@ -279,7 +279,7 @@ var UserPickerFieldComponent = exports.UserPickerFieldComponent = /*#__PURE__*/f
|
|
|
279
279
|
var UserPickerComponent = enableSmartUserPicker && !isBrowseUsersDisabled ? _smartUserPicker.default : _userPicker.default;
|
|
280
280
|
var menuPortalTarget = (0, _utils.getMenuPortalTargetCurrentHTML)(selectPortalRef);
|
|
281
281
|
return /*#__PURE__*/_react.default.createElement(_form.Field, {
|
|
282
|
-
label: /*#__PURE__*/_react.default.createElement(
|
|
282
|
+
label: /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
283
283
|
id: USER_PICKER_FIELD_LABEL
|
|
284
284
|
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, getLabelMessage(product, allowEmail, isBrowseUsersDisabled))),
|
|
285
285
|
name: "users",
|
|
@@ -298,7 +298,7 @@ var UserPickerFieldComponent = exports.UserPickerFieldComponent = /*#__PURE__*/f
|
|
|
298
298
|
"aria-labelledby": USER_PICKER_ARIA_LABEL,
|
|
299
299
|
required: true,
|
|
300
300
|
addMoreMessage: addMoreMessage,
|
|
301
|
-
placeholder: /*#__PURE__*/_react.default.createElement(
|
|
301
|
+
placeholder: /*#__PURE__*/_react.default.createElement(_compiled.Text, {
|
|
302
302
|
id: USER_PICKER_FIELD_PLACEHOLDER
|
|
303
303
|
}, /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, getPlaceHolderMessage(product, allowEmail, isBrowseUsersDisabled))),
|
|
304
304
|
menuPortalTarget: menuPortalTarget,
|
|
@@ -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.2.
|
|
16
|
+
packageVersion: "6.2.2"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -10,7 +10,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
10
10
|
import { FormattedMessage } from 'react-intl-next';
|
|
11
11
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
-
import { Text } from '@atlaskit/primitives';
|
|
13
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
15
15
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
16
16
|
import { messages } from '../../i18n';
|
|
@@ -6,8 +6,7 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
6
6
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
-
import { Text } from '@atlaskit/primitives';
|
|
10
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
|
+
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
11
10
|
import { messages } from '../../i18n';
|
|
12
11
|
import { INTEGRATION_MODAL_SOURCE } from '../analytics/analytics';
|
|
13
12
|
import { IntegrationForm } from '../IntegrationForm';
|
|
@@ -5,7 +5,7 @@ import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
|
5
5
|
import { ErrorMessage, Field, HelperMessage } from '@atlaskit/form';
|
|
6
6
|
import Link from '@atlaskit/link';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
|
-
import { Text } from '@atlaskit/primitives';
|
|
8
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
9
9
|
import SmartUserPicker, { isValidEmail } from '@atlaskit/smart-user-picker';
|
|
10
10
|
import UserPicker from '@atlaskit/user-picker';
|
|
11
11
|
import { messages } from '../i18n';
|
|
@@ -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.2.
|
|
4
|
+
packageVersion: "6.2.2",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -10,7 +10,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
10
10
|
import { FormattedMessage } from 'react-intl-next';
|
|
11
11
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
12
12
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
|
-
import { Text } from '@atlaskit/primitives';
|
|
13
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
14
14
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
15
15
|
import { gridSize } from '@atlaskit/theme/constants';
|
|
16
16
|
import { messages } from '../../i18n';
|
|
@@ -6,8 +6,7 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
6
6
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
8
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
|
-
import { Text } from '@atlaskit/primitives';
|
|
10
|
-
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
|
+
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
11
10
|
import { messages } from '../../i18n';
|
|
12
11
|
import { INTEGRATION_MODAL_SOURCE } from '../analytics/analytics';
|
|
13
12
|
import { IntegrationForm } from '../IntegrationForm';
|
|
@@ -15,7 +15,7 @@ import { FormattedMessage, injectIntl } from 'react-intl-next';
|
|
|
15
15
|
import { ErrorMessage, Field, HelperMessage } from '@atlaskit/form';
|
|
16
16
|
import Link from '@atlaskit/link';
|
|
17
17
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
|
-
import { Text } from '@atlaskit/primitives';
|
|
18
|
+
import { Text } from '@atlaskit/primitives/compiled';
|
|
19
19
|
import SmartUserPicker, { isValidEmail } from '@atlaskit/smart-user-picker';
|
|
20
20
|
import UserPicker from '@atlaskit/user-picker';
|
|
21
21
|
import { messages } from '../i18n';
|
|
@@ -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.2.
|
|
9
|
+
packageVersion: "6.2.2"
|
|
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.2.
|
|
3
|
+
"version": "6.2.2",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
42
42
|
"@atlaskit/button": "^23.0.0",
|
|
43
43
|
"@atlaskit/css": "^0.10.0",
|
|
44
|
-
"@atlaskit/dropdown-menu": "^14.
|
|
44
|
+
"@atlaskit/dropdown-menu": "^14.1.0",
|
|
45
45
|
"@atlaskit/form": "^12.0.0",
|
|
46
46
|
"@atlaskit/heading": "^5.2.0",
|
|
47
|
-
"@atlaskit/icon": "^25.
|
|
47
|
+
"@atlaskit/icon": "^25.6.0",
|
|
48
48
|
"@atlaskit/link": "^3.1.0",
|
|
49
|
-
"@atlaskit/menu": "^
|
|
49
|
+
"@atlaskit/menu": "^4.0.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/popper": "^7.0.0",
|
|
52
|
-
"@atlaskit/popup": "^4.
|
|
52
|
+
"@atlaskit/popup": "^4.1.0",
|
|
53
53
|
"@atlaskit/portal": "^5.1.0",
|
|
54
54
|
"@atlaskit/primitives": "^14.4.0",
|
|
55
55
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@atlaskit/tabs": "^18.0.0",
|
|
58
58
|
"@atlaskit/textarea": "^8.0.0",
|
|
59
59
|
"@atlaskit/theme": "^18.0.0",
|
|
60
|
-
"@atlaskit/tokens": "^4.
|
|
60
|
+
"@atlaskit/tokens": "^4.8.0",
|
|
61
61
|
"@atlaskit/tooltip": "^20.0.0",
|
|
62
62
|
"@atlaskit/ufo": "^0.4.0",
|
|
63
63
|
"@atlaskit/user-picker": "^11.0.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"react": "^18.2.0"
|
|
74
74
|
},
|
|
75
75
|
"devDependencies": {
|
|
76
|
-
"@atlaskit/editor-test-helpers": "
|
|
76
|
+
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
77
77
|
"@atlaskit/flag": "^17.1.0",
|
|
78
78
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
79
79
|
"@testing-library/react": "^13.4.0",
|