@atlaskit/share 7.0.1 → 7.1.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 +17 -0
- package/afm-cc/tsconfig.json +0 -1
- package/dist/cjs/components/CommentField.js +3 -3
- package/dist/cjs/components/LazyShareForm/LazyShareForm.js +2 -2
- package/dist/cjs/components/LazyShareForm/LazyShareFormNext.js +2 -2
- package/dist/cjs/components/ShareDialogContainer.js +4 -10
- package/dist/cjs/components/ShareDialogWithTrigger.js +7 -7
- package/dist/cjs/components/ShareDialogWithTriggerNext.js +7 -7
- package/dist/cjs/components/ShareForm.js +14 -14
- package/dist/cjs/components/ShareFormNext.js +14 -14
- package/dist/cjs/components/ShareFormWrapper/ShareFormWrapper.js +2 -2
- package/dist/cjs/components/ShareHeader.js +2 -2
- package/dist/cjs/components/SplitButton.js +2 -2
- package/dist/cjs/components/UserPickerField.js +23 -23
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/es2019/components/CommentField.js +1 -1
- package/dist/es2019/components/LazyShareForm/LazyShareForm.js +1 -1
- package/dist/es2019/components/LazyShareForm/LazyShareFormNext.js +1 -1
- package/dist/es2019/components/ShareDialogContainer.js +3 -9
- package/dist/es2019/components/ShareDialogWithTrigger.js +1 -1
- package/dist/es2019/components/ShareDialogWithTriggerNext.js +1 -1
- package/dist/es2019/components/ShareForm.js +1 -1
- package/dist/es2019/components/ShareFormNext.js +1 -1
- package/dist/es2019/components/ShareFormWrapper/ShareFormWrapper.js +1 -1
- package/dist/es2019/components/ShareHeader.js +1 -1
- package/dist/es2019/components/SplitButton.js +1 -1
- package/dist/es2019/components/UserPickerField.js +1 -1
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/esm/components/CommentField.js +1 -1
- package/dist/esm/components/LazyShareForm/LazyShareForm.js +1 -1
- package/dist/esm/components/LazyShareForm/LazyShareFormNext.js +1 -1
- package/dist/esm/components/ShareDialogContainer.js +3 -9
- package/dist/esm/components/ShareDialogWithTrigger.js +1 -1
- package/dist/esm/components/ShareDialogWithTriggerNext.js +1 -1
- package/dist/esm/components/ShareForm.js +1 -1
- package/dist/esm/components/ShareFormNext.js +1 -1
- package/dist/esm/components/ShareFormWrapper/ShareFormWrapper.js +1 -1
- package/dist/esm/components/ShareHeader.js +1 -1
- package/dist/esm/components/SplitButton.js +1 -1
- package/dist/esm/components/UserPickerField.js +1 -1
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/flag/package.json +17 -0
- package/form/package.json +17 -0
- package/origin-tracing/package.json +17 -0
- package/package.json +7 -7
- package/products/package.json +17 -0
- package/share-button/package.json +17 -0
- package/share-content-state/package.json +17 -0
- package/share-dialog-container/package.json +17 -0
- package/share-dialog-container/types/package.json +17 -0
- package/share-dialog-with-trigger/package.json +17 -0
- package/share-entities/package.json +17 -0
- package/share-form/package.json +17 -0
- package/share-service-client/package.json +17 -0
- package/types/package.json +17 -0
- package/user/package.json +17 -0
- package/afm-jira/tsconfig.json +0 -99
- /package/dist/cjs/{i18n.js → i18n-messages.js} +0 -0
- /package/dist/es2019/{i18n.js → i18n-messages.js} +0 -0
- /package/dist/esm/{i18n.js → i18n-messages.js} +0 -0
- /package/dist/types/{i18n.d.ts → i18n-messages.d.ts} +0 -0
- /package/dist/types-ts4.5/{i18n.d.ts → i18n-messages.d.ts} +0 -0
|
@@ -6,7 +6,7 @@ import { FormattedMessage } from 'react-intl';
|
|
|
6
6
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
8
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
9
|
-
import { messages } from '../../i18n';
|
|
9
|
+
import { messages } from '../../i18n-messages';
|
|
10
10
|
import { INTEGRATION_MODAL_SOURCE } from '../analytics/analytics';
|
|
11
11
|
import { IntegrationForm } from '../IntegrationForm';
|
|
12
12
|
import { ShareForm } from '../ShareForm';
|
|
@@ -5,10 +5,9 @@ import memoizeOne from 'memoize-one';
|
|
|
5
5
|
import { FormattedMessage } from 'react-intl';
|
|
6
6
|
import assert from 'tiny-invariant';
|
|
7
7
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
8
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
9
8
|
import { AtlassianUrlShortenerClient } from '../clients/AtlassianUrlShortenerClient';
|
|
10
9
|
import { ShareServiceClient } from '../clients/ShareServiceClient';
|
|
11
|
-
import { messages } from '../i18n';
|
|
10
|
+
import { messages } from '../i18n-messages';
|
|
12
11
|
import { CHANNEL_ID, copyLinkButtonClicked, errorEncountered, shortUrlGenerated, shortUrlRequested } from './analytics/analytics';
|
|
13
12
|
import { isValidFailedExperience } from './analytics/ufoExperienceHelper';
|
|
14
13
|
import { renderShareDialogExp } from './analytics/ufoExperiences';
|
|
@@ -184,13 +183,8 @@ export class ShareDialogContainerInternal extends React.Component {
|
|
|
184
183
|
}, deepEqual));
|
|
185
184
|
_defineProperty(this, "getFormShareLink", () => {
|
|
186
185
|
const rawLink = this.getRawLink();
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
const originTracing = this.getFormShareOriginTracing();
|
|
190
|
-
return memoizedFormatCopyLink(originTracing, rawLink);
|
|
191
|
-
}
|
|
192
|
-
// original share link is used if feature flag is disabled
|
|
193
|
-
return rawLink;
|
|
186
|
+
const originTracing = this.getFormShareOriginTracing();
|
|
187
|
+
return memoizedFormatCopyLink(originTracing, rawLink);
|
|
194
188
|
});
|
|
195
189
|
assert(!props.client, 'elements/share: Breaking change, please update your props!');
|
|
196
190
|
this.shareClient = props.shareClient || new ShareServiceClient();
|
|
@@ -15,7 +15,7 @@ import Popup from '@atlaskit/popup';
|
|
|
15
15
|
import Portal from '@atlaskit/portal';
|
|
16
16
|
import { layers } from '@atlaskit/theme/constants';
|
|
17
17
|
import Aktooltip from '@atlaskit/tooltip';
|
|
18
|
-
import { messages } from '../i18n';
|
|
18
|
+
import { messages } from '../i18n-messages';
|
|
19
19
|
import { OBJECT_SHARED } from '../types';
|
|
20
20
|
import { ANALYTICS_SOURCE, cancelShare, CHANNEL_ID, copyLinkButtonClicked, formShareSubmitted, jiraPageSharedEvent, screenEvent, shareMenuItemClicked, shareSplitButtonEvent, shareTabClicked, shareTriggerButtonClicked } from './analytics/analytics';
|
|
21
21
|
// eslint-disable-next-line no-duplicate-imports
|
|
@@ -13,7 +13,7 @@ import Portal from '@atlaskit/portal';
|
|
|
13
13
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
14
14
|
import { layers } from '@atlaskit/theme/constants';
|
|
15
15
|
import Aktooltip from '@atlaskit/tooltip';
|
|
16
|
-
import { messages } from '../i18n';
|
|
16
|
+
import { messages } from '../i18n-messages';
|
|
17
17
|
import { OBJECT_SHARED } from '../types';
|
|
18
18
|
import { ANALYTICS_SOURCE, cancelShare, CHANNEL_ID, copyLinkButtonClicked, formShareSubmitted, jiraPageSharedEvent, screenEvent, shareMenuItemClicked, shareSplitButtonEvent, shareTabClicked, shareTriggerButtonClicked } from './analytics/analytics';
|
|
19
19
|
import { isValidFailedExperience } from './analytics/ufoExperienceHelper';
|
|
@@ -19,7 +19,7 @@ import { MenuGroup } from '@atlaskit/menu';
|
|
|
19
19
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
20
20
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
21
21
|
import Tooltip from '@atlaskit/tooltip';
|
|
22
|
-
import { messages } from '../i18n';
|
|
22
|
+
import { messages } from '../i18n-messages';
|
|
23
23
|
import { TabType } from '../types';
|
|
24
24
|
import { ANALYTICS_SOURCE, INTEGRATION_MODAL_SOURCE } from './analytics/analytics';
|
|
25
25
|
import { CommentField } from './CommentField';
|
|
@@ -15,7 +15,7 @@ import { MenuGroup } from '@atlaskit/menu';
|
|
|
15
15
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
16
16
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
17
17
|
import Tooltip from '@atlaskit/tooltip';
|
|
18
|
-
import { messages } from '../i18n';
|
|
18
|
+
import { messages } from '../i18n-messages';
|
|
19
19
|
import { TabType } from '../types';
|
|
20
20
|
import { ANALYTICS_SOURCE, INTEGRATION_MODAL_SOURCE } from './analytics/analytics';
|
|
21
21
|
import { CommentField } from './CommentField';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl';
|
|
3
3
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
-
import { messages } from '../../i18n';
|
|
4
|
+
import { messages } from '../../i18n-messages';
|
|
5
5
|
import { ShareHeader } from '../ShareHeader';
|
|
6
6
|
import { InlineDialogContentWrapper as InlineDialogContentWrapperCompiled, InlineDialogFormWrapper as InlineDialogFormWrapperCompiled } from './compiled';
|
|
7
7
|
import { InlineDialogContentWrapper, InlineDialogFormWrapper } from './styled';
|
|
@@ -3,7 +3,7 @@ import { FormattedMessage } from 'react-intl';
|
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
6
|
-
import { messages } from '../i18n';
|
|
6
|
+
import { messages } from '../i18n-messages';
|
|
7
7
|
const headerWrapperStyles = xcss({
|
|
8
8
|
display: 'flex',
|
|
9
9
|
justifyContent: 'space-between',
|
|
@@ -12,7 +12,7 @@ import { SplitButton as AKSplitButton, IconButton } from '@atlaskit/button/new';
|
|
|
12
12
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
13
13
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
|
-
import { messages } from '../i18n';
|
|
15
|
+
import { messages } from '../i18n-messages';
|
|
16
16
|
import { shareIntegrationButtonEvent } from './analytics/analytics';
|
|
17
17
|
import IntegrationButton from './IntegrationButton';
|
|
18
18
|
|
|
@@ -8,7 +8,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
8
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
|
-
import { messages } from '../i18n';
|
|
11
|
+
import { messages } from '../i18n-messages';
|
|
12
12
|
import { MAX_PICKER_HEIGHT } from './styles';
|
|
13
13
|
import { allowEmails, getMenuPortalTargetCurrentHTML } from './utils';
|
|
14
14
|
export const REQUIRED = 'REQUIRED';
|
|
@@ -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: "0.0.0-development",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -3,7 +3,7 @@ import React, { useMemo } from 'react';
|
|
|
3
3
|
import { useIntl } from 'react-intl';
|
|
4
4
|
import { Field, useFormState } from '@atlaskit/form';
|
|
5
5
|
import TextArea from '@atlaskit/textarea';
|
|
6
|
-
import { messages } from '../i18n';
|
|
6
|
+
import { messages } from '../i18n-messages';
|
|
7
7
|
export var CommentField = function CommentField(_ref) {
|
|
8
8
|
var defaultValue = _ref.defaultValue,
|
|
9
9
|
isExtendedShareDialogEnabled = _ref.isExtendedShareDialogEnabled;
|
|
@@ -10,7 +10,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
10
10
|
import { FormattedMessage } from 'react-intl';
|
|
11
11
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
12
12
|
import { Text } from '@atlaskit/primitives/compiled';
|
|
13
|
-
import { messages } from '../../i18n';
|
|
13
|
+
import { messages } from '../../i18n-messages';
|
|
14
14
|
import { INTEGRATION_MODAL_SOURCE } from '../analytics/analytics';
|
|
15
15
|
import { IntegrationForm } from '../IntegrationForm';
|
|
16
16
|
import { ShareForm } from '../ShareForm';
|
|
@@ -6,7 +6,7 @@ import { FormattedMessage } from 'react-intl';
|
|
|
6
6
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
7
7
|
import { cx } from '@atlaskit/css';
|
|
8
8
|
import { Box, Text } from '@atlaskit/primitives/compiled';
|
|
9
|
-
import { messages } from '../../i18n';
|
|
9
|
+
import { messages } from '../../i18n-messages';
|
|
10
10
|
import { INTEGRATION_MODAL_SOURCE } from '../analytics/analytics';
|
|
11
11
|
import { IntegrationForm } from '../IntegrationForm';
|
|
12
12
|
import { ShareForm } from '../ShareForm';
|
|
@@ -20,10 +20,9 @@ import memoizeOne from 'memoize-one';
|
|
|
20
20
|
import { FormattedMessage } from 'react-intl';
|
|
21
21
|
import assert from 'tiny-invariant';
|
|
22
22
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
23
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
24
23
|
import { AtlassianUrlShortenerClient } from '../clients/AtlassianUrlShortenerClient';
|
|
25
24
|
import { ShareServiceClient } from '../clients/ShareServiceClient';
|
|
26
|
-
import { messages } from '../i18n';
|
|
25
|
+
import { messages } from '../i18n-messages';
|
|
27
26
|
import { CHANNEL_ID, copyLinkButtonClicked, errorEncountered, shortUrlGenerated, shortUrlRequested } from './analytics/analytics';
|
|
28
27
|
import { isValidFailedExperience } from './analytics/ufoExperienceHelper';
|
|
29
28
|
import { renderShareDialogExp } from './analytics/ufoExperiences';
|
|
@@ -217,13 +216,8 @@ export var ShareDialogContainerInternal = /*#__PURE__*/function (_React$Componen
|
|
|
217
216
|
}, deepEqual));
|
|
218
217
|
_defineProperty(_this, "getFormShareLink", function () {
|
|
219
218
|
var rawLink = _this.getRawLink();
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
var originTracing = _this.getFormShareOriginTracing();
|
|
223
|
-
return memoizedFormatCopyLink(originTracing, rawLink);
|
|
224
|
-
}
|
|
225
|
-
// original share link is used if feature flag is disabled
|
|
226
|
-
return rawLink;
|
|
219
|
+
var originTracing = _this.getFormShareOriginTracing();
|
|
220
|
+
return memoizedFormatCopyLink(originTracing, rawLink);
|
|
227
221
|
});
|
|
228
222
|
assert(!props.client, 'elements/share: Breaking change, please update your props!');
|
|
229
223
|
_this.shareClient = props.shareClient || new ShareServiceClient();
|
|
@@ -26,7 +26,7 @@ import Popup from '@atlaskit/popup';
|
|
|
26
26
|
import Portal from '@atlaskit/portal';
|
|
27
27
|
import { layers } from '@atlaskit/theme/constants';
|
|
28
28
|
import Aktooltip from '@atlaskit/tooltip';
|
|
29
|
-
import { messages } from '../i18n';
|
|
29
|
+
import { messages } from '../i18n-messages';
|
|
30
30
|
import { OBJECT_SHARED } from '../types';
|
|
31
31
|
import { ANALYTICS_SOURCE, cancelShare, CHANNEL_ID, copyLinkButtonClicked, formShareSubmitted, jiraPageSharedEvent, screenEvent, shareMenuItemClicked, shareSplitButtonEvent, shareTabClicked, shareTriggerButtonClicked } from './analytics/analytics';
|
|
32
32
|
// eslint-disable-next-line no-duplicate-imports
|
|
@@ -24,7 +24,7 @@ import Portal from '@atlaskit/portal';
|
|
|
24
24
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
25
25
|
import { layers } from '@atlaskit/theme/constants';
|
|
26
26
|
import Aktooltip from '@atlaskit/tooltip';
|
|
27
|
-
import { messages } from '../i18n';
|
|
27
|
+
import { messages } from '../i18n-messages';
|
|
28
28
|
import { OBJECT_SHARED } from '../types';
|
|
29
29
|
import { ANALYTICS_SOURCE, cancelShare, CHANNEL_ID, copyLinkButtonClicked, formShareSubmitted, jiraPageSharedEvent, screenEvent, shareMenuItemClicked, shareSplitButtonEvent, shareTabClicked, shareTriggerButtonClicked } from './analytics/analytics';
|
|
30
30
|
import { isValidFailedExperience } from './analytics/ufoExperienceHelper';
|
|
@@ -28,7 +28,7 @@ import { MenuGroup } from '@atlaskit/menu';
|
|
|
28
28
|
import { Box, Inline, xcss } from '@atlaskit/primitives';
|
|
29
29
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
30
30
|
import Tooltip from '@atlaskit/tooltip';
|
|
31
|
-
import { messages } from '../i18n';
|
|
31
|
+
import { messages } from '../i18n-messages';
|
|
32
32
|
import { TabType } from '../types';
|
|
33
33
|
import { ANALYTICS_SOURCE, INTEGRATION_MODAL_SOURCE } from './analytics/analytics';
|
|
34
34
|
import { CommentField } from './CommentField';
|
|
@@ -24,7 +24,7 @@ import { MenuGroup } from '@atlaskit/menu';
|
|
|
24
24
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
25
25
|
import Tabs, { Tab, TabList, TabPanel } from '@atlaskit/tabs';
|
|
26
26
|
import Tooltip from '@atlaskit/tooltip';
|
|
27
|
-
import { messages } from '../i18n';
|
|
27
|
+
import { messages } from '../i18n-messages';
|
|
28
28
|
import { TabType } from '../types';
|
|
29
29
|
import { ANALYTICS_SOURCE, INTEGRATION_MODAL_SOURCE } from './analytics/analytics';
|
|
30
30
|
import { CommentField } from './CommentField';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { useIntl } from 'react-intl';
|
|
3
3
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
4
|
-
import { messages } from '../../i18n';
|
|
4
|
+
import { messages } from '../../i18n-messages';
|
|
5
5
|
import { ShareHeader } from '../ShareHeader';
|
|
6
6
|
import { InlineDialogContentWrapper as InlineDialogContentWrapperCompiled, InlineDialogFormWrapper as InlineDialogFormWrapperCompiled } from './compiled';
|
|
7
7
|
import { InlineDialogContentWrapper, InlineDialogFormWrapper } from './styled';
|
|
@@ -3,7 +3,7 @@ import { FormattedMessage } from 'react-intl';
|
|
|
3
3
|
import Heading from '@atlaskit/heading';
|
|
4
4
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
5
5
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
6
|
-
import { messages } from '../i18n';
|
|
6
|
+
import { messages } from '../i18n-messages';
|
|
7
7
|
var headerWrapperStyles = xcss({
|
|
8
8
|
display: 'flex',
|
|
9
9
|
justifyContent: 'space-between',
|
|
@@ -15,7 +15,7 @@ import { SplitButton as AKSplitButton, IconButton } from '@atlaskit/button/new';
|
|
|
15
15
|
import DropdownMenu, { DropdownItem, DropdownItemGroup } from '@atlaskit/dropdown-menu';
|
|
16
16
|
import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
|
|
17
17
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
18
|
-
import { messages } from '../i18n';
|
|
18
|
+
import { messages } from '../i18n-messages';
|
|
19
19
|
import { shareIntegrationButtonEvent } from './analytics/analytics';
|
|
20
20
|
import IntegrationButton from './IntegrationButton';
|
|
21
21
|
|
|
@@ -18,7 +18,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
18
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
|
-
import { messages } from '../i18n';
|
|
21
|
+
import { messages } from '../i18n-messages';
|
|
22
22
|
import { MAX_PICKER_HEIGHT } from './styles';
|
|
23
23
|
import { allowEmails, getMenuPortalTargetCurrentHTML } from './utils';
|
|
24
24
|
export var REQUIRED = 'REQUIRED';
|
|
@@ -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: "0.0.0-development"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/flag",
|
|
3
|
+
"main": "../dist/cjs/types/Flag.js",
|
|
4
|
+
"module": "../dist/esm/types/Flag.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/Flag.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/Flag.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/Flag.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/form",
|
|
3
|
+
"main": "../dist/cjs/types/form.js",
|
|
4
|
+
"module": "../dist/esm/types/form.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/form.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/form.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/form.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/origin-tracing",
|
|
3
|
+
"main": "../dist/cjs/types/OriginTracing.js",
|
|
4
|
+
"module": "../dist/esm/types/OriginTracing.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/OriginTracing.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/OriginTracing.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/OriginTracing.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "7.0
|
|
3
|
+
"version": "7.1.0",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"@atlaskit/dropdown-menu": "^16.8.0",
|
|
45
45
|
"@atlaskit/form": "^15.5.0",
|
|
46
46
|
"@atlaskit/heading": "^5.4.0",
|
|
47
|
-
"@atlaskit/icon": "^34.
|
|
47
|
+
"@atlaskit/icon": "^34.5.0",
|
|
48
48
|
"@atlaskit/link": "^3.4.0",
|
|
49
49
|
"@atlaskit/menu": "^8.5.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/popper": "^7.2.0",
|
|
52
|
-
"@atlaskit/popup": "^4.
|
|
52
|
+
"@atlaskit/popup": "^4.19.0",
|
|
53
53
|
"@atlaskit/portal": "^5.5.0",
|
|
54
54
|
"@atlaskit/primitives": "^19.0.0",
|
|
55
55
|
"@atlaskit/smart-user-picker": "^10.0.0",
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
"@atlaskit/textarea": "^8.3.0",
|
|
59
59
|
"@atlaskit/theme": "^23.2.0",
|
|
60
60
|
"@atlaskit/tokens": "^13.0.0",
|
|
61
|
-
"@atlaskit/tooltip": "^22.
|
|
62
|
-
"@atlaskit/ufo": "^0.
|
|
61
|
+
"@atlaskit/tooltip": "^22.2.0",
|
|
62
|
+
"@atlaskit/ufo": "^0.5.0",
|
|
63
63
|
"@atlaskit/user-picker": "^12.0.0",
|
|
64
|
-
"@atlaskit/util-service-support": "^6.
|
|
64
|
+
"@atlaskit/util-service-support": "^6.4.0",
|
|
65
65
|
"@babel/runtime": "^7.0.0",
|
|
66
66
|
"@emotion/react": "^11.7.1",
|
|
67
67
|
"fast-deep-equal": "^3.1.1",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"devDependencies": {
|
|
76
76
|
"@atlaskit/editor-test-helpers": "workspace:^",
|
|
77
77
|
"@atlaskit/flag": "^17.11.0",
|
|
78
|
-
"@atlassian/feature-flags-test-utils": "^1.
|
|
78
|
+
"@atlassian/feature-flags-test-utils": "^1.1.0",
|
|
79
79
|
"@testing-library/react": "^16.3.0",
|
|
80
80
|
"@testing-library/user-event": "^14.4.3",
|
|
81
81
|
"enzyme": "^3.10.0",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/products",
|
|
3
|
+
"main": "../dist/cjs/types/Products.js",
|
|
4
|
+
"module": "../dist/esm/types/Products.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/Products.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/Products.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/Products.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/share-button",
|
|
3
|
+
"main": "../dist/cjs/types/ShareButton.js",
|
|
4
|
+
"module": "../dist/esm/types/ShareButton.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/ShareButton.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/ShareButton.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/ShareButton.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/share-content-state",
|
|
3
|
+
"main": "../dist/cjs/types/ShareContentState.js",
|
|
4
|
+
"module": "../dist/esm/types/ShareContentState.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/ShareContentState.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/ShareContentState.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/ShareContentState.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/share-dialog-container",
|
|
3
|
+
"main": "../dist/cjs/components/ShareDialogContainer.js",
|
|
4
|
+
"module": "../dist/esm/components/ShareDialogContainer.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/components/ShareDialogContainer.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/components/ShareDialogContainer.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/components/ShareDialogContainer.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/share-dialog-container/types",
|
|
3
|
+
"main": "../../dist/cjs/types/ShareDialogContainer.js",
|
|
4
|
+
"module": "../../dist/esm/types/ShareDialogContainer.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/types/ShareDialogContainer.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/types/ShareDialogContainer.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/types/ShareDialogContainer.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/share-dialog-with-trigger",
|
|
3
|
+
"main": "../dist/cjs/types/ShareDialogWithTrigger.js",
|
|
4
|
+
"module": "../dist/esm/types/ShareDialogWithTrigger.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/ShareDialogWithTrigger.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/ShareDialogWithTrigger.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/ShareDialogWithTrigger.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/share-entities",
|
|
3
|
+
"main": "../dist/cjs/types/ShareEntities.js",
|
|
4
|
+
"module": "../dist/esm/types/ShareEntities.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/ShareEntities.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/ShareEntities.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/ShareEntities.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/share-form",
|
|
3
|
+
"main": "../dist/cjs/types/ShareForm.js",
|
|
4
|
+
"module": "../dist/esm/types/ShareForm.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/ShareForm.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/ShareForm.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/ShareForm.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/share-service-client",
|
|
3
|
+
"main": "../dist/cjs/clients/ShareServiceClient.js",
|
|
4
|
+
"module": "../dist/esm/clients/ShareServiceClient.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/clients/ShareServiceClient.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/clients/ShareServiceClient.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/clients/ShareServiceClient.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/types",
|
|
3
|
+
"main": "../dist/cjs/types/index.js",
|
|
4
|
+
"module": "../dist/esm/types/index.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/index.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/index.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/index.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/share/user",
|
|
3
|
+
"main": "../dist/cjs/types/User.js",
|
|
4
|
+
"module": "../dist/esm/types/User.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/types/User.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/types/User.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/types/User.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|