@atlaskit/share 0.28.0 → 0.31.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 +25 -0
- package/dist/cjs/clients/ShareServiceClient.js +0 -23
- package/dist/cjs/components/CopyLinkButton.js +24 -13
- package/dist/cjs/components/ShareDialogContainer.js +10 -44
- package/dist/cjs/components/ShareDialogWithTrigger.js +28 -41
- package/dist/cjs/components/ShareForm.js +6 -12
- package/dist/cjs/components/ShareHeader.js +1 -3
- package/dist/cjs/components/UserPickerField.js +18 -52
- package/dist/cjs/components/analytics.js +4 -4
- package/dist/cjs/components/styles.js +2 -4
- package/dist/cjs/components/utils.js +4 -136
- package/dist/cjs/i18n/en_ZZ.js +45 -0
- package/dist/cjs/i18n/index.js +58 -50
- package/dist/cjs/i18n.js +2 -22
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/clients/ShareServiceClient.js +0 -22
- package/dist/es2019/components/CopyLinkButton.js +25 -11
- package/dist/es2019/components/ShareDialogContainer.js +8 -43
- package/dist/es2019/components/ShareDialogWithTrigger.js +27 -39
- package/dist/es2019/components/ShareForm.js +6 -11
- package/dist/es2019/components/ShareHeader.js +3 -4
- package/dist/es2019/components/UserPickerField.js +18 -51
- package/dist/es2019/components/analytics.js +3 -3
- package/dist/es2019/components/styles.js +2 -3
- package/dist/es2019/components/utils.js +2 -95
- package/dist/es2019/i18n/en_ZZ.js +37 -0
- package/dist/es2019/i18n/index.js +10 -9
- package/dist/es2019/i18n.js +2 -22
- package/dist/es2019/version.json +1 -1
- package/dist/esm/clients/ShareServiceClient.js +0 -23
- package/dist/esm/components/CopyLinkButton.js +24 -13
- package/dist/esm/components/ShareDialogContainer.js +9 -43
- package/dist/esm/components/ShareDialogWithTrigger.js +30 -43
- package/dist/esm/components/ShareForm.js +6 -11
- package/dist/esm/components/ShareHeader.js +1 -2
- package/dist/esm/components/UserPickerField.js +19 -53
- package/dist/esm/components/analytics.js +4 -4
- package/dist/esm/components/styles.js +2 -3
- package/dist/esm/components/utils.js +3 -125
- package/dist/esm/i18n/en_ZZ.js +37 -0
- package/dist/esm/i18n/index.js +10 -9
- package/dist/esm/i18n.js +2 -22
- package/dist/esm/version.json +1 -1
- package/dist/types/clients/ShareServiceClient.d.ts +1 -13
- package/dist/types/components/CopyLinkButton.d.ts +3 -0
- package/dist/types/components/ShareDialogContainer.d.ts +4 -12
- package/dist/types/components/ShareDialogWithTrigger.d.ts +4 -5
- package/dist/types/components/ShareForm.d.ts +3 -5
- package/dist/types/components/UserPickerField.d.ts +1 -5
- package/dist/types/components/analytics.d.ts +2 -2
- package/dist/types/components/styles.d.ts +1 -1
- package/dist/types/components/utils.d.ts +2 -23
- package/dist/types/i18n/en_ZZ.d.ts +37 -0
- package/dist/types/i18n/index.d.ts +10 -9
- package/dist/types/i18n.d.ts +2 -22
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types/Products.d.ts +1 -1
- package/dist/types/types/index.d.ts +1 -1
- package/package.json +6 -6
|
@@ -4,7 +4,7 @@ import { TriggerProps } from '@atlaskit/popup';
|
|
|
4
4
|
import { LoadOptions, Value } from '@atlaskit/user-picker';
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { InjectedIntlProps } from 'react-intl';
|
|
7
|
-
import {
|
|
7
|
+
import { DialogContentState, DialogPlacement, Flag, OriginTracing, ProductName, RenderCustomTriggerButton, ShareButtonStyle, ShareError, TooltipPosition, Integration } from '../types';
|
|
8
8
|
import { IconProps } from '@atlaskit/icon';
|
|
9
9
|
declare type DialogState = {
|
|
10
10
|
isDialogOpen: boolean;
|
|
@@ -20,16 +20,15 @@ export declare type State = DialogState;
|
|
|
20
20
|
export declare type Props = {
|
|
21
21
|
onTriggerButtonClick?: () => void;
|
|
22
22
|
isAutoOpenDialog?: boolean;
|
|
23
|
-
config?: ConfigResponse;
|
|
24
23
|
children?: RenderCustomTriggerButton;
|
|
25
24
|
copyLink: string;
|
|
26
25
|
analyticsDecorator?: (payload: AnalyticsEventPayload) => AnalyticsEventPayload;
|
|
27
26
|
dialogPlacement?: DialogPlacement;
|
|
28
27
|
dialogZIndex?: number;
|
|
29
28
|
isDisabled?: boolean;
|
|
30
|
-
isFetchingConfig?: boolean;
|
|
31
29
|
loadUserOptions?: LoadOptions;
|
|
32
30
|
onDialogOpen?: () => void;
|
|
31
|
+
onDialogClose?: () => void;
|
|
33
32
|
onShareSubmit?: (shareContentState: DialogContentState) => Promise<any>;
|
|
34
33
|
renderCustomTriggerButton?: RenderCustomTriggerButton;
|
|
35
34
|
shareContentType: string;
|
|
@@ -40,7 +39,6 @@ export declare type Props = {
|
|
|
40
39
|
shouldCloseOnEscapePress?: boolean;
|
|
41
40
|
showFlags: (flags: Array<Flag>) => void;
|
|
42
41
|
enableSmartUserPicker?: boolean;
|
|
43
|
-
disableInviteCapabilities?: boolean;
|
|
44
42
|
loggedInAccountId?: string;
|
|
45
43
|
cloudId?: string;
|
|
46
44
|
triggerButtonAppearance?: Appearance;
|
|
@@ -60,6 +58,7 @@ export declare type Props = {
|
|
|
60
58
|
/** Atlassian Resource Identifier of a Site resource to be shared. */
|
|
61
59
|
shareAri?: string;
|
|
62
60
|
tabIndex?: number;
|
|
61
|
+
copyTooltipText?: string;
|
|
63
62
|
};
|
|
64
63
|
export declare const defaultShareContentState: DialogContentState;
|
|
65
64
|
declare type ShareDialogWithTriggerInternalProps = Props & InjectedIntlProps & WithAnalyticsEventsProps;
|
|
@@ -92,5 +91,5 @@ export declare class ShareDialogWithTriggerInternal extends React.PureComponent<
|
|
|
92
91
|
handleCloseSplitButton: () => void;
|
|
93
92
|
render(): JSX.Element;
|
|
94
93
|
}
|
|
95
|
-
export declare const ShareDialogWithTrigger: React.ForwardRefExoticComponent<Pick<Props & WithAnalyticsEventsProps, "
|
|
94
|
+
export declare const ShareDialogWithTrigger: React.ForwardRefExoticComponent<Pick<Props & WithAnalyticsEventsProps, "isPublicLink" | "children" | "tabIndex" | "isDisabled" | "triggerButtonAppearance" | "shareIntegrations" | "dialogZIndex" | "dialogPlacement" | "copyTooltipText" | "contentPermissions" | "product" | "enableSmartUserPicker" | "loggedInAccountId" | "cloudId" | "copyLink" | "submitButtonLabel" | "onUserSelectionChange" | "onTriggerButtonClick" | "isAutoOpenDialog" | "analyticsDecorator" | "loadUserOptions" | "onDialogOpen" | "onDialogClose" | "onShareSubmit" | "renderCustomTriggerButton" | "shareContentType" | "shareFormTitle" | "copyLinkOrigin" | "formShareOrigin" | "shouldCloseOnEscapePress" | "showFlags" | "triggerButtonIcon" | "triggerButtonStyle" | "triggerButtonTooltipPosition" | "triggerButtonTooltipText" | "bottomMessage" | "customFooter" | "shareFieldsFooter" | "isCopyDisabled" | "shareAri"> & React.RefAttributes<any>>;
|
|
96
95
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LoadOptions, OptionData, Value } from '@atlaskit/user-picker';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { InjectedIntlProps } from 'react-intl';
|
|
4
|
-
import { Comment,
|
|
4
|
+
import { Comment, DialogContentState, FormChildrenArgs, ProductName } from '../types';
|
|
5
5
|
export declare const FormWrapper: import("styled-components").StyledComponentClass<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
6
|
-
export declare const FormFooter: import("styled-components").StyledComponentClass<
|
|
6
|
+
export declare const FormFooter: import("styled-components").StyledComponentClass<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
7
7
|
declare type ShareError = {
|
|
8
8
|
message: string;
|
|
9
9
|
};
|
|
@@ -12,7 +12,6 @@ export declare type ShareData = {
|
|
|
12
12
|
comment: Comment;
|
|
13
13
|
};
|
|
14
14
|
export declare type Props = {
|
|
15
|
-
config?: ConfigResponse;
|
|
16
15
|
copyLink: string;
|
|
17
16
|
isSharing?: boolean;
|
|
18
17
|
loadOptions?: LoadOptions;
|
|
@@ -24,11 +23,9 @@ export declare type Props = {
|
|
|
24
23
|
contentPermissions?: React.ReactNode;
|
|
25
24
|
onDismiss?: (data: ShareData) => void;
|
|
26
25
|
defaultValue?: DialogContentState;
|
|
27
|
-
isFetchingConfig?: boolean;
|
|
28
26
|
product: ProductName;
|
|
29
27
|
onUserInputChange?: (query?: string, sessionId?: string) => void;
|
|
30
28
|
enableSmartUserPicker?: boolean;
|
|
31
|
-
disableInviteCapabilities?: boolean;
|
|
32
29
|
loggedInAccountId?: string;
|
|
33
30
|
cloudId?: string;
|
|
34
31
|
onUserSelectionChange?: (value: Value) => void;
|
|
@@ -37,6 +34,7 @@ export declare type Props = {
|
|
|
37
34
|
isDisabled?: boolean;
|
|
38
35
|
isPublicLink?: boolean;
|
|
39
36
|
isSplitButton?: boolean;
|
|
37
|
+
copyTooltipText?: string;
|
|
40
38
|
};
|
|
41
39
|
export declare type InternalFormProps = FormChildrenArgs<ShareData> & Props & InjectedIntlProps;
|
|
42
40
|
export declare const ShareForm: React.FC<Props>;
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
import { LoadOptions, OptionData, Value } from '@atlaskit/user-picker';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { ProductName } from '../types';
|
|
4
4
|
export declare const REQUIRED = "REQUIRED";
|
|
5
5
|
export declare type Props = {
|
|
6
6
|
loadOptions?: LoadOptions;
|
|
7
7
|
defaultValue?: OptionData[];
|
|
8
|
-
config?: ConfigResponse;
|
|
9
|
-
infoMessagePendingInvite?: React.ReactNode;
|
|
10
|
-
infoMessageDirectInvite?: React.ReactNode;
|
|
11
8
|
isLoading?: boolean;
|
|
12
9
|
product: ProductName;
|
|
13
10
|
onInputChange?: (query?: string, sessionId?: string) => void;
|
|
14
11
|
enableSmartUserPicker?: boolean;
|
|
15
|
-
disableInviteCapabilities?: boolean;
|
|
16
12
|
loggedInAccountId?: string;
|
|
17
13
|
cloudId?: string;
|
|
18
14
|
onChange?: (value: Value) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DialogContentState, OriginTracing } from '../types';
|
|
2
2
|
export declare const CHANNEL_ID = "fabric-elements";
|
|
3
3
|
export declare const ANALYTICS_SOURCE = "shareModal";
|
|
4
4
|
export declare const INTEGRATION_MODAL_SOURCE = "integrationShareModal";
|
|
@@ -13,4 +13,4 @@ export declare const cancelShare: (start: number) => Record<string, any>;
|
|
|
13
13
|
export declare const shortUrlRequested: () => Record<string, any>;
|
|
14
14
|
export declare const shortUrlGenerated: (start: number, tooSlow: boolean) => Record<string, any>;
|
|
15
15
|
export declare const copyLinkButtonClicked: (start: number, shareContentType?: string | undefined, shareOrigin?: OriginTracing | undefined, isPublicLink?: boolean, ari?: string | undefined) => Record<string, any>;
|
|
16
|
-
export declare const formShareSubmitted: (start: number, data: DialogContentState, shareContentType?: string | undefined, shareOrigin?: OriginTracing | undefined,
|
|
16
|
+
export declare const formShareSubmitted: (start: number, data: DialogContentState, shareContentType?: string | undefined, shareOrigin?: OriginTracing | undefined, isPublicLink?: boolean) => Record<string, any>;
|
|
@@ -7,6 +7,6 @@ export declare const MAX_PICKER_HEIGHT = 102;
|
|
|
7
7
|
*
|
|
8
8
|
* packages/design-system/inline-dialog/src/InlineDialog/styled.ts:20:3
|
|
9
9
|
*/
|
|
10
|
-
export declare const InlineDialogContentWrapper: import("styled-components").StyledComponentClass<
|
|
10
|
+
export declare const InlineDialogContentWrapper: import("styled-components").StyledComponentClass<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
11
11
|
declare const StyledButton: React.StatelessComponent<CustomThemeButtonProps>;
|
|
12
12
|
export default StyledButton;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
declare type InviteWarningType = 'ADMIN' | 'DIRECT' | 'NO-INVITE';
|
|
2
|
+
import { OptionData } from '@atlaskit/user-picker';
|
|
3
|
+
import { User } from '../types';
|
|
5
4
|
/**
|
|
6
5
|
* We need to generate correct zIndex, for the PopUp and for the Select inside it.
|
|
7
6
|
* The PopUp's defaults to `layers.layer()` from @atlaskit/theme. But if user provides
|
|
@@ -15,24 +14,4 @@ export declare const generateSelectZIndex: (dialogZIndex?: number | undefined) =
|
|
|
15
14
|
* part of React's `ref` object.
|
|
16
15
|
*/
|
|
17
16
|
export declare const getMenuPortalTargetCurrentHTML: (ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined) => HTMLDivElement | null;
|
|
18
|
-
/**
|
|
19
|
-
* Decides if the admin notified flag should be shown
|
|
20
|
-
*
|
|
21
|
-
* @param config share configuration object
|
|
22
|
-
* @param selectedUsers selected users in the user picker
|
|
23
|
-
* @param isPublicLink if the shared link is publicly accessible
|
|
24
|
-
*/
|
|
25
|
-
export declare const showAdminNotifiedFlag: (config: ConfigResponse | undefined, selectedUsers: Value, isPublicLink: boolean, disableInviteCapabilities?: boolean | undefined) => boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Returns the invite warning message type
|
|
28
|
-
*
|
|
29
|
-
* @param config share configuration object
|
|
30
|
-
* @param selectedUsers selected users in the user picker
|
|
31
|
-
* @param isPublicLink if the shared link is publicly accessible
|
|
32
|
-
* @param disableInviteCapabilities if invite capabilities for share should be disabled
|
|
33
|
-
*/
|
|
34
|
-
export declare const getInviteWarningType: (config: ConfigResponse | undefined, selectedUsers: Value, isPublicLink: boolean, disableInviteCapabilities?: boolean | undefined) => InviteWarningType | null;
|
|
35
17
|
export declare const optionDataToUsers: (optionDataArray: OptionData[]) => User[];
|
|
36
|
-
export declare const allowEmails: (config?: ConfigResponse | undefined) => boolean | undefined;
|
|
37
|
-
export declare const isValidEmailUsingConfig: (config: ConfigResponse | undefined) => (inputText: string) => EmailValidationResponse;
|
|
38
|
-
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
'fabric.elements.share.copied.to.clipboard.icon.label': string;
|
|
3
|
+
'fabric.elements.share.copied.to.clipboard.message': string;
|
|
4
|
+
'fabric.elements.share.copylink.button.icon.label': string;
|
|
5
|
+
'fabric.elements.share.copylink.button.text': string;
|
|
6
|
+
'fabric.elements.share.copypubliclink.button.text': string;
|
|
7
|
+
'fabric.elements.share.failure.icon.label': string;
|
|
8
|
+
'fabric.elements.share.failure.message': string;
|
|
9
|
+
'fabric.elements.share.form.comment.placeholder': string;
|
|
10
|
+
'fabric.elements.share.form.info.message.no.invite.confluence': string;
|
|
11
|
+
'fabric.elements.share.form.info.message.no.invite.jira': string;
|
|
12
|
+
'fabric.elements.share.form.public.send': string;
|
|
13
|
+
'fabric.elements.share.form.retry': string;
|
|
14
|
+
'fabric.elements.share.form.send': string;
|
|
15
|
+
'fabric.elements.share.form.title': string;
|
|
16
|
+
'fabric.elements.share.form.user-picker.add-more': string;
|
|
17
|
+
'fabric.elements.share.form.user-picker.no-options.existingUserOnly': string;
|
|
18
|
+
'fabric.elements.share.form.user-picker.no-options.generic': string;
|
|
19
|
+
'fabric.elements.share.form.user-picker.placeholder.existingUserOnly': string;
|
|
20
|
+
'fabric.elements.share.form.user-picker.placeholder.generic': string;
|
|
21
|
+
'fabric.elements.share.form.user-picker.placeholder.jira': string;
|
|
22
|
+
'fabric.elements.share.form.user-picker.validation.required': string;
|
|
23
|
+
'fabric.elements.share.form.user-picker.validation.required.jira': string;
|
|
24
|
+
'fabric.elements.share.success.message': string;
|
|
25
|
+
'fabric.elements.share.to.integration.button': string;
|
|
26
|
+
'fabric.elements.share.trigger.button.icon.label': string;
|
|
27
|
+
'fabric.elements.share.trigger.button.invite.text': string;
|
|
28
|
+
'fabric.elements.share.trigger.button.text': string;
|
|
29
|
+
'fabric.elements.share.trigger.button.tooltip.text': string;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* NOTE:
|
|
33
|
+
*
|
|
34
|
+
* This file is automatically generated by i18n-tools.
|
|
35
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
36
|
+
*/
|
|
37
|
+
export default _default;
|
|
@@ -4,32 +4,33 @@
|
|
|
4
4
|
* This file is automatically generated by i18n-tools.
|
|
5
5
|
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
6
|
*/
|
|
7
|
-
export { default as
|
|
8
|
-
export { default as zh_TW } from './zh_TW';
|
|
7
|
+
export { default as en_ZZ } from './en_ZZ';
|
|
9
8
|
export { default as cs } from './cs';
|
|
10
9
|
export { default as da } from './da';
|
|
11
|
-
export { default as
|
|
10
|
+
export { default as de } from './de';
|
|
11
|
+
export { default as en } from './en';
|
|
12
|
+
export { default as en_GB } from './en_GB';
|
|
13
|
+
export { default as es } from './es';
|
|
12
14
|
export { default as et } from './et';
|
|
13
15
|
export { default as fi } from './fi';
|
|
14
16
|
export { default as fr } from './fr';
|
|
15
|
-
export { default as de } from './de';
|
|
16
17
|
export { default as hu } from './hu';
|
|
18
|
+
export { default as is } from './is';
|
|
17
19
|
export { default as it } from './it';
|
|
18
20
|
export { default as ja } from './ja';
|
|
19
21
|
export { default as ko } from './ko';
|
|
20
22
|
export { default as nb } from './nb';
|
|
23
|
+
export { default as nl } from './nl';
|
|
21
24
|
export { default as pl } from './pl';
|
|
22
25
|
export { default as pt_BR } from './pt_BR';
|
|
23
26
|
export { default as pt_PT } from './pt_PT';
|
|
27
|
+
export { default as ro } from './ro';
|
|
24
28
|
export { default as ru } from './ru';
|
|
25
29
|
export { default as sk } from './sk';
|
|
26
|
-
export { default as es } from './es';
|
|
27
30
|
export { default as sv } from './sv';
|
|
28
31
|
export { default as th } from './th';
|
|
29
32
|
export { default as tr } from './tr';
|
|
30
33
|
export { default as uk } from './uk';
|
|
31
34
|
export { default as vi } from './vi';
|
|
32
|
-
export { default as
|
|
33
|
-
export { default as
|
|
34
|
-
export { default as is } from './is';
|
|
35
|
-
export { default as ro } from './ro';
|
|
35
|
+
export { default as zh } from './zh';
|
|
36
|
+
export { default as zh_TW } from './zh_TW';
|
package/dist/types/i18n.d.ts
CHANGED
|
@@ -54,11 +54,6 @@ export declare const messages: {
|
|
|
54
54
|
defaultMessage: string;
|
|
55
55
|
description: string;
|
|
56
56
|
};
|
|
57
|
-
userPickerDomainBasedUserOnlyNoOptionsMessage: {
|
|
58
|
-
id: string;
|
|
59
|
-
defaultMessage: string;
|
|
60
|
-
description: string;
|
|
61
|
-
};
|
|
62
57
|
userPickerExistingUserOnlyNoOptionsMessage: {
|
|
63
58
|
id: string;
|
|
64
59
|
defaultMessage: string;
|
|
@@ -114,22 +109,12 @@ export declare const messages: {
|
|
|
114
109
|
defaultMessage: string;
|
|
115
110
|
description: string;
|
|
116
111
|
};
|
|
117
|
-
|
|
118
|
-
id: string;
|
|
119
|
-
defaultMessage: string;
|
|
120
|
-
description: string;
|
|
121
|
-
};
|
|
122
|
-
infoMessageDirectInvite: {
|
|
112
|
+
infoMessageDefaultConfluence: {
|
|
123
113
|
id: string;
|
|
124
114
|
defaultMessage: string;
|
|
125
115
|
description: string;
|
|
126
116
|
};
|
|
127
|
-
|
|
128
|
-
id: string;
|
|
129
|
-
defaultMessage: string;
|
|
130
|
-
description: string;
|
|
131
|
-
};
|
|
132
|
-
infoMessageNoInviteJira: {
|
|
117
|
+
infoMessageDefaultJira: {
|
|
133
118
|
id: string;
|
|
134
119
|
defaultMessage: string;
|
|
135
120
|
description: string;
|
|
@@ -149,11 +134,6 @@ export declare const messages: {
|
|
|
149
134
|
defaultMessage: string;
|
|
150
135
|
description: string;
|
|
151
136
|
};
|
|
152
|
-
adminNotifiedMessage: {
|
|
153
|
-
id: string;
|
|
154
|
-
defaultMessage: string;
|
|
155
|
-
description: string;
|
|
156
|
-
};
|
|
157
137
|
shareToIntegrationButtonText: {
|
|
158
138
|
id: string;
|
|
159
139
|
defaultMessage: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,4 +3,4 @@ export type { ShareClient } from './clients/ShareServiceClient';
|
|
|
3
3
|
export { ShareDialogContainer } from './components/ShareDialogContainer';
|
|
4
4
|
export type { Props as ShareDialogContainerProps } from './components/ShareDialogContainer';
|
|
5
5
|
export { ADMIN_NOTIFIED, OBJECT_SHARED, } from './types';
|
|
6
|
-
export type { Comment,
|
|
6
|
+
export type { Comment, Content, DialogContentState, DialogPlacement, Flag, FlagType, FormChildrenArgs, KeysOfType, MessageDescriptor, MetaData, OriginAnalyticAttributes, OriginTracing, OriginTracingFactory, OriginTracingForSubSequentEvents, OriginTracingWithIdGenerated, ProductId, ProductName, RenderCustomTriggerButton, ShareButtonStyle, ShareContentState, ShareError, ShareRequest, ShareResponse, TooltipPosition, User, UserWithEmail, UserWithId, } from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/** Product ID (Canonical ID) in ARI of the share request */
|
|
2
|
-
export declare type ProductId = 'bitbucket' | 'confluence' | 'jira' | 'jira-core' | 'jira-servicedesk' | 'jira-software' | 'trello';
|
|
2
|
+
export declare type ProductId = 'bitbucket' | 'confluence' | 'jira-addon' | 'jira-core' | 'jira-platform' | 'jira-polaris' | 'jira-portfolio' | 'jira-servicedesk' | 'jira-software' | 'jira-unknown' | 'trello';
|
|
3
3
|
export declare type ProductName = 'jira' | 'confluence';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { ShareClient, ShareRequest, ShareResponse, } from '../clients/ShareServiceClient';
|
|
2
2
|
export type { FormChildrenArgs } from './form';
|
|
3
3
|
export { ADMIN_NOTIFIED, OBJECT_SHARED } from './Flag';
|
|
4
4
|
export type { Flag, FlagType, MessageDescriptor } from './Flag';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.31.0",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
"@atlaskit/button": "^16.0.0",
|
|
32
32
|
"@atlaskit/dropdown-menu": "^10.0.6",
|
|
33
33
|
"@atlaskit/field-text-area": "^8.0.0",
|
|
34
|
-
"@atlaskit/form": "^8.
|
|
35
|
-
"@atlaskit/icon": "^21.
|
|
34
|
+
"@atlaskit/form": "^8.4.0",
|
|
35
|
+
"@atlaskit/icon": "^21.9.0",
|
|
36
36
|
"@atlaskit/popup": "^1.1.0",
|
|
37
37
|
"@atlaskit/portal": "^4.0.0",
|
|
38
|
-
"@atlaskit/theme": "^
|
|
39
|
-
"@atlaskit/tooltip": "^17.
|
|
38
|
+
"@atlaskit/theme": "^12.0.0",
|
|
39
|
+
"@atlaskit/tooltip": "^17.5.0",
|
|
40
40
|
"@atlaskit/user-picker": "^7.16.0",
|
|
41
41
|
"@atlaskit/util-service-support": "^6.0.0",
|
|
42
42
|
"@babel/runtime": "^7.0.0",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"@atlaskit/flag": "^14.4.0",
|
|
56
56
|
"@atlaskit/section-message": "^6.0.0",
|
|
57
57
|
"@atlaskit/select": "^15.0.0",
|
|
58
|
-
"@atlaskit/toggle": "^12.
|
|
58
|
+
"@atlaskit/toggle": "^12.3.0",
|
|
59
59
|
"@atlaskit/util-data-test": "^16.0.0",
|
|
60
60
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
61
61
|
"enzyme": "^3.10.0",
|