@atlaskit/share 6.3.2 → 6.5.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 +21 -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/types/ShareDialogContainer.d.ts +2 -2
- package/dist/types-ts4.5/components/ShareDialogContainer.d.ts +1 -1
- package/dist/types-ts4.5/types/ShareDialogContainer.d.ts +2 -2
- package/package.json +12 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/share
|
|
2
2
|
|
|
3
|
+
## 6.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#157098](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/157098)
|
|
8
|
+
[`2165b00523da6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2165b00523da6) -
|
|
9
|
+
We are testing the migration to the ADS Link component behind a feature flag. If this fix is
|
|
10
|
+
successful it will be available in a later release.
|
|
11
|
+
|
|
12
|
+
## 6.4.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#149822](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149822)
|
|
17
|
+
[`f9ab0e846ae21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9ab0e846ae21) -
|
|
18
|
+
Updated to support `size` prop for new icons from `@atlaskit/icon`.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 6.3.2
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
|
@@ -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.
|
|
16
|
+
packageVersion: "6.5.0"
|
|
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: "6.
|
|
4
|
+
packageVersion: "6.5.0",
|
|
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: "6.
|
|
9
|
+
packageVersion: "6.5.0"
|
|
10
10
|
}, attributes);
|
|
11
11
|
};
|
|
12
12
|
var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
|
|
@@ -69,7 +69,7 @@ export declare const ShareDialogContainer: React.ForwardRefExoticComponent<Omit<
|
|
|
69
69
|
enableSmartUserPicker?: boolean | undefined;
|
|
70
70
|
loggedInAccountId?: string | undefined;
|
|
71
71
|
triggerButtonAppearance?: "default" | "subtle" | "primary" | "discovery" | undefined;
|
|
72
|
-
triggerButtonIcon?: React.ComponentType<import("@atlaskit/icon").
|
|
72
|
+
triggerButtonIcon?: React.ComponentType<import("@atlaskit/icon").NewCoreIconProps> | undefined;
|
|
73
73
|
triggerButtonStyle?: import("../types").ShareButtonStyle | undefined;
|
|
74
74
|
triggerButtonTooltipPosition?: import("../types").TooltipPosition | undefined;
|
|
75
75
|
triggerButtonTooltipText?: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { IconButtonProps } from '@atlaskit/button/new';
|
|
3
|
-
import type {
|
|
3
|
+
import type { NewCoreIconProps } from '@atlaskit/icon';
|
|
4
4
|
import type { LoadOptions, Props as SmartUserPickerProps, Value } from '@atlaskit/smart-user-picker';
|
|
5
5
|
import type { ShortenRequest, UrlShortenerClient } from '../clients/AtlassianUrlShortenerClient';
|
|
6
6
|
import type { ShareClient } from '../clients/ShareServiceClient';
|
|
@@ -113,7 +113,7 @@ export type ShareDialogContainerProps = {
|
|
|
113
113
|
/** Appearance of the share modal trigger button */
|
|
114
114
|
triggerButtonAppearance?: IconButtonProps['appearance'];
|
|
115
115
|
/** Share button Icon */
|
|
116
|
-
triggerButtonIcon?: React.ComponentType<
|
|
116
|
+
triggerButtonIcon?: React.ComponentType<NewCoreIconProps>;
|
|
117
117
|
/** Style of the share modal trigger button. */
|
|
118
118
|
triggerButtonStyle?: ShareButtonStyle;
|
|
119
119
|
/** Position of the tooltip on share modal trigger button. */
|
|
@@ -69,7 +69,7 @@ export declare const ShareDialogContainer: React.ForwardRefExoticComponent<Omit<
|
|
|
69
69
|
enableSmartUserPicker?: boolean | undefined;
|
|
70
70
|
loggedInAccountId?: string | undefined;
|
|
71
71
|
triggerButtonAppearance?: "default" | "subtle" | "primary" | "discovery" | undefined;
|
|
72
|
-
triggerButtonIcon?: React.ComponentType<import("@atlaskit/icon").
|
|
72
|
+
triggerButtonIcon?: React.ComponentType<import("@atlaskit/icon").NewCoreIconProps> | undefined;
|
|
73
73
|
triggerButtonStyle?: import("../types").ShareButtonStyle | undefined;
|
|
74
74
|
triggerButtonTooltipPosition?: import("../types").TooltipPosition | undefined;
|
|
75
75
|
triggerButtonTooltipText?: React.ReactNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { IconButtonProps } from '@atlaskit/button/new';
|
|
3
|
-
import type {
|
|
3
|
+
import type { NewCoreIconProps } from '@atlaskit/icon';
|
|
4
4
|
import type { LoadOptions, Props as SmartUserPickerProps, Value } from '@atlaskit/smart-user-picker';
|
|
5
5
|
import type { ShortenRequest, UrlShortenerClient } from '../clients/AtlassianUrlShortenerClient';
|
|
6
6
|
import type { ShareClient } from '../clients/ShareServiceClient';
|
|
@@ -113,7 +113,7 @@ export type ShareDialogContainerProps = {
|
|
|
113
113
|
/** Appearance of the share modal trigger button */
|
|
114
114
|
triggerButtonAppearance?: IconButtonProps['appearance'];
|
|
115
115
|
/** Share button Icon */
|
|
116
|
-
triggerButtonIcon?: React.ComponentType<
|
|
116
|
+
triggerButtonIcon?: React.ComponentType<NewCoreIconProps>;
|
|
117
117
|
/** Style of the share modal trigger button. */
|
|
118
118
|
triggerButtonStyle?: ShareButtonStyle;
|
|
119
119
|
/** Position of the tooltip on share modal trigger button. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/share",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"description": "Fabric Share Element",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,25 +39,25 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
42
|
-
"@atlaskit/button": "^23.
|
|
42
|
+
"@atlaskit/button": "^23.2.0",
|
|
43
43
|
"@atlaskit/css": "^0.10.0",
|
|
44
|
-
"@atlaskit/dropdown-menu": "^15.
|
|
44
|
+
"@atlaskit/dropdown-menu": "^15.2.0",
|
|
45
45
|
"@atlaskit/form": "^12.0.0",
|
|
46
46
|
"@atlaskit/heading": "^5.2.0",
|
|
47
|
-
"@atlaskit/icon": "^26.
|
|
48
|
-
"@atlaskit/link": "^3.
|
|
49
|
-
"@atlaskit/menu": "^7.
|
|
47
|
+
"@atlaskit/icon": "^26.1.0",
|
|
48
|
+
"@atlaskit/link": "^3.2.0",
|
|
49
|
+
"@atlaskit/menu": "^7.1.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/popper": "^7.0.0",
|
|
52
52
|
"@atlaskit/popup": "^4.2.0",
|
|
53
53
|
"@atlaskit/portal": "^5.1.0",
|
|
54
|
-
"@atlaskit/primitives": "^14.
|
|
54
|
+
"@atlaskit/primitives": "^14.8.0",
|
|
55
55
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
56
56
|
"@atlaskit/spinner": "^18.0.0",
|
|
57
|
-
"@atlaskit/tabs": "^18.
|
|
57
|
+
"@atlaskit/tabs": "^18.1.0",
|
|
58
58
|
"@atlaskit/textarea": "^8.0.0",
|
|
59
59
|
"@atlaskit/theme": "^18.0.0",
|
|
60
|
-
"@atlaskit/tokens": "^4.
|
|
60
|
+
"@atlaskit/tokens": "^4.9.0",
|
|
61
61
|
"@atlaskit/tooltip": "^20.0.0",
|
|
62
62
|
"@atlaskit/ufo": "^0.4.0",
|
|
63
63
|
"@atlaskit/user-picker": "^11.0.0",
|
|
@@ -139,6 +139,9 @@
|
|
|
139
139
|
},
|
|
140
140
|
"share-header-accessibility": {
|
|
141
141
|
"type": "boolean"
|
|
142
|
+
},
|
|
143
|
+
"dst-a11y__replace-anchor-with-link__people-and-tea": {
|
|
144
|
+
"type": "boolean"
|
|
142
145
|
}
|
|
143
146
|
},
|
|
144
147
|
"sideEffects": [
|