@atlaskit/share 6.3.2 → 6.4.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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/share
2
2
 
3
+ ## 6.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#149822](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149822)
8
+ [`f9ab0e846ae21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9ab0e846ae21) -
9
+ Updated to support `size` prop for new icons from `@atlaskit/icon`.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 6.3.2
4
16
 
5
17
  ### 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.3.2"
16
+ packageVersion: "6.4.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.3.2",
4
+ packageVersion: "6.4.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.3.2"
9
+ packageVersion: "6.4.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").IconProps> | undefined;
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 { IconProps } from '@atlaskit/icon';
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<IconProps>;
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").IconProps> | undefined;
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 { IconProps } from '@atlaskit/icon';
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<IconProps>;
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.2",
3
+ "version": "6.4.0",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,12 +39,12 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@atlaskit/analytics-next": "^11.0.0",
42
- "@atlaskit/button": "^23.0.0",
42
+ "@atlaskit/button": "^23.1.0",
43
43
  "@atlaskit/css": "^0.10.0",
44
- "@atlaskit/dropdown-menu": "^15.0.0",
44
+ "@atlaskit/dropdown-menu": "^15.1.0",
45
45
  "@atlaskit/form": "^12.0.0",
46
46
  "@atlaskit/heading": "^5.2.0",
47
- "@atlaskit/icon": "^26.0.0",
47
+ "@atlaskit/icon": "^26.1.0",
48
48
  "@atlaskit/link": "^3.1.0",
49
49
  "@atlaskit/menu": "^7.0.0",
50
50
  "@atlaskit/platform-feature-flags": "^1.1.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.8.0",
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",