@atlaskit/share 4.25.1 → 4.25.3
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 +12 -0
- package/dist/cjs/components/analytics/analytics.js +1 -1
- package/dist/es2019/components/analytics/analytics.js +1 -1
- package/dist/esm/components/analytics/analytics.js +1 -1
- package/dist/types/components/ShareDialogContainer.d.ts +1 -1
- package/dist/types/components/ShareFormWrapper/ShareFormWrapper.d.ts +2 -2
- package/dist/types/components/ShareHeader.d.ts +1 -1
- package/dist/types/components/ShareMenuItem.d.ts +2 -2
- package/dist/types/components/SlackIcon.d.ts +2 -2
- package/dist/types/components/UserPickerField.d.ts +1 -1
- package/dist/types/components/colorSlackIcon.d.ts +2 -2
- package/dist/types/components/monochromeSlackIcon.d.ts +2 -2
- package/dist/types-ts4.5/components/ShareDialogContainer.d.ts +1 -1
- package/dist/types-ts4.5/components/ShareFormWrapper/ShareFormWrapper.d.ts +2 -2
- package/dist/types-ts4.5/components/ShareHeader.d.ts +1 -1
- package/dist/types-ts4.5/components/ShareMenuItem.d.ts +2 -2
- package/dist/types-ts4.5/components/SlackIcon.d.ts +2 -2
- package/dist/types-ts4.5/components/UserPickerField.d.ts +1 -1
- package/dist/types-ts4.5/components/colorSlackIcon.d.ts +2 -2
- package/dist/types-ts4.5/components/monochromeSlackIcon.d.ts +2 -2
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -13,7 +13,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
13
13
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
14
14
|
return _objectSpread({
|
|
15
15
|
packageName: "@atlaskit/share",
|
|
16
|
-
packageVersion: "4.25.
|
|
16
|
+
packageVersion: "4.25.3"
|
|
17
17
|
}, attributes);
|
|
18
18
|
};
|
|
19
19
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -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.25.
|
|
4
|
+
packageVersion: "4.25.3",
|
|
5
5
|
...attributes
|
|
6
6
|
});
|
|
7
7
|
const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
|
|
@@ -6,7 +6,7 @@ var buildAttributes = function buildAttributes() {
|
|
|
6
6
|
var attributes = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7
7
|
return _objectSpread({
|
|
8
8
|
packageName: "@atlaskit/share",
|
|
9
|
-
packageVersion: "4.25.
|
|
9
|
+
packageVersion: "4.25.3"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -45,7 +45,7 @@ export declare class ShareDialogContainerInternal extends React.Component<ShareD
|
|
|
45
45
|
getCopyLink(): string;
|
|
46
46
|
updateShortCopyLink(): void;
|
|
47
47
|
getFormShareLink: () => string;
|
|
48
|
-
render(): JSX.Element;
|
|
48
|
+
render(): React.JSX.Element;
|
|
49
49
|
}
|
|
50
50
|
export declare const ShareDialogContainer: React.ForwardRefExoticComponent<Omit<Pick<Omit<ShareDialogContainerProps, keyof WithAnalyticsEventsProps>, never> & {
|
|
51
51
|
productAttributes?: import("packages/smart-experiences/smart-user-picker/dist/types/types").ProductAttributes | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
import { type ShareDialogWithTriggerProps } from '../../types';
|
|
3
3
|
import { type IntegrationMode } from '../../types/ShareEntities';
|
|
4
4
|
export type ShareFormWrapperProps = Pick<ShareDialogWithTriggerProps, 'shareFormTitle'> & {
|
|
@@ -8,5 +8,5 @@ export type ShareFormWrapperProps = Pick<ShareDialogWithTriggerProps, 'shareForm
|
|
|
8
8
|
integrationMode?: IntegrationMode;
|
|
9
9
|
isMenuItemSelected?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const ShareFormWrapper: ({ shareFormTitle, shouldShowTitle, children, footer, integrationMode, isMenuItemSelected, }: ShareFormWrapperProps) => JSX.Element;
|
|
11
|
+
declare const ShareFormWrapper: ({ shareFormTitle, shouldShowTitle, children, footer, integrationMode, isMenuItemSelected, }: ShareFormWrapperProps) => React.JSX.Element;
|
|
12
12
|
export default ShareFormWrapper;
|
|
@@ -4,8 +4,8 @@ export declare const ShareMenuItem: ({ iconName, labelId, onClickHandler, }: {
|
|
|
4
4
|
iconName: React.ReactNode;
|
|
5
5
|
labelId: MessageDescriptor;
|
|
6
6
|
onClickHandler: () => void;
|
|
7
|
-
}) => JSX.Element;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
8
|
export declare const IconContainer: ({ icon }: {
|
|
9
9
|
icon: React.ReactNode;
|
|
10
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
11
|
export declare const menuWrapperWidth = "102px";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SlackIcon: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SlackIcon: () => React.JSX.Element;
|
|
3
3
|
export default SlackIcon;
|
|
@@ -28,6 +28,6 @@ export declare class UserPickerFieldComponent extends React.Component<WrappedCom
|
|
|
28
28
|
private getHelperMessageOrDefault;
|
|
29
29
|
private handleUserPickerTransform;
|
|
30
30
|
private getSmartUserPickerProps;
|
|
31
|
-
render(): JSX.Element;
|
|
31
|
+
render(): React.JSX.Element;
|
|
32
32
|
}
|
|
33
33
|
export declare const UserPickerField: React.ComponentType<Props>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SlackIcon: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SlackIcon: () => React.JSX.Element;
|
|
3
3
|
export default SlackIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SlackIcon: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SlackIcon: () => React.JSX.Element;
|
|
3
3
|
export default SlackIcon;
|
|
@@ -45,7 +45,7 @@ export declare class ShareDialogContainerInternal extends React.Component<ShareD
|
|
|
45
45
|
getCopyLink(): string;
|
|
46
46
|
updateShortCopyLink(): void;
|
|
47
47
|
getFormShareLink: () => string;
|
|
48
|
-
render(): JSX.Element;
|
|
48
|
+
render(): React.JSX.Element;
|
|
49
49
|
}
|
|
50
50
|
export declare const ShareDialogContainer: React.ForwardRefExoticComponent<Omit<Pick<Omit<ShareDialogContainerProps, keyof WithAnalyticsEventsProps>, never> & {
|
|
51
51
|
productAttributes?: import("packages/smart-experiences/smart-user-picker/dist/types/types").ProductAttributes | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
import { type ShareDialogWithTriggerProps } from '../../types';
|
|
3
3
|
import { type IntegrationMode } from '../../types/ShareEntities';
|
|
4
4
|
export type ShareFormWrapperProps = Pick<ShareDialogWithTriggerProps, 'shareFormTitle'> & {
|
|
@@ -8,5 +8,5 @@ export type ShareFormWrapperProps = Pick<ShareDialogWithTriggerProps, 'shareForm
|
|
|
8
8
|
integrationMode?: IntegrationMode;
|
|
9
9
|
isMenuItemSelected?: boolean;
|
|
10
10
|
};
|
|
11
|
-
declare const ShareFormWrapper: ({ shareFormTitle, shouldShowTitle, children, footer, integrationMode, isMenuItemSelected, }: ShareFormWrapperProps) => JSX.Element;
|
|
11
|
+
declare const ShareFormWrapper: ({ shareFormTitle, shouldShowTitle, children, footer, integrationMode, isMenuItemSelected, }: ShareFormWrapperProps) => React.JSX.Element;
|
|
12
12
|
export default ShareFormWrapper;
|
|
@@ -4,8 +4,8 @@ export declare const ShareMenuItem: ({ iconName, labelId, onClickHandler, }: {
|
|
|
4
4
|
iconName: React.ReactNode;
|
|
5
5
|
labelId: MessageDescriptor;
|
|
6
6
|
onClickHandler: () => void;
|
|
7
|
-
}) => JSX.Element;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
8
|
export declare const IconContainer: ({ icon }: {
|
|
9
9
|
icon: React.ReactNode;
|
|
10
|
-
}) => JSX.Element;
|
|
10
|
+
}) => React.JSX.Element;
|
|
11
11
|
export declare const menuWrapperWidth = "102px";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SlackIcon: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SlackIcon: () => React.JSX.Element;
|
|
3
3
|
export default SlackIcon;
|
|
@@ -28,6 +28,6 @@ export declare class UserPickerFieldComponent extends React.Component<WrappedCom
|
|
|
28
28
|
private getHelperMessageOrDefault;
|
|
29
29
|
private handleUserPickerTransform;
|
|
30
30
|
private getSmartUserPickerProps;
|
|
31
|
-
render(): JSX.Element;
|
|
31
|
+
render(): React.JSX.Element;
|
|
32
32
|
}
|
|
33
33
|
export declare const UserPickerField: React.ComponentType<Props>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SlackIcon: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SlackIcon: () => React.JSX.Element;
|
|
3
3
|
export default SlackIcon;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const SlackIcon: () => JSX.Element;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const SlackIcon: () => React.JSX.Element;
|
|
3
3
|
export default SlackIcon;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "4.25.
|
|
3
|
+
"version": "4.25.3",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,23 +39,23 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/analytics-next": "^10.3.0",
|
|
42
|
-
"@atlaskit/button": "^20.
|
|
42
|
+
"@atlaskit/button": "^20.5.0",
|
|
43
43
|
"@atlaskit/dropdown-menu": "^12.26.0",
|
|
44
44
|
"@atlaskit/form": "^11.1.0",
|
|
45
45
|
"@atlaskit/heading": "^4.1.0",
|
|
46
|
-
"@atlaskit/icon": "^23.
|
|
46
|
+
"@atlaskit/icon": "^23.7.0",
|
|
47
47
|
"@atlaskit/link": "^2.1.0",
|
|
48
48
|
"@atlaskit/menu": "^2.14.0",
|
|
49
49
|
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
50
50
|
"@atlaskit/popper": "^6.4.0",
|
|
51
51
|
"@atlaskit/popup": "^1.31.0",
|
|
52
52
|
"@atlaskit/portal": "^4.11.0",
|
|
53
|
-
"@atlaskit/primitives": "^13.
|
|
53
|
+
"@atlaskit/primitives": "^13.5.0",
|
|
54
54
|
"@atlaskit/smart-user-picker": "^7.0.0",
|
|
55
55
|
"@atlaskit/spinner": "^17.1.0",
|
|
56
56
|
"@atlaskit/tabs": "^17.2.0",
|
|
57
|
-
"@atlaskit/textarea": "^
|
|
58
|
-
"@atlaskit/theme": "^
|
|
57
|
+
"@atlaskit/textarea": "^6.0.0",
|
|
58
|
+
"@atlaskit/theme": "^15.0.0",
|
|
59
59
|
"@atlaskit/tokens": "^3.3.0",
|
|
60
60
|
"@atlaskit/tooltip": "^19.1.0",
|
|
61
61
|
"@atlaskit/ufo": "^0.3.0",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"react": "^16.8.0 || ^17.0.0 || ^18.2.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@atlaskit/editor-test-helpers": "^21.
|
|
75
|
+
"@atlaskit/editor-test-helpers": "^21.3.0",
|
|
76
76
|
"@atlaskit/flag": "^15.9.0",
|
|
77
77
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
78
78
|
"@testing-library/react": "^13.4.0",
|