@atlaskit/share 4.25.1 → 4.25.2

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,11 @@
1
1
  # @atlaskit/share
2
2
 
3
+ ## 4.25.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 4.25.1
4
10
 
5
11
  ### 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: "4.25.1"
16
+ packageVersion: "4.25.2"
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.1",
4
+ packageVersion: "4.25.2",
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.1"
9
+ packageVersion: "4.25.2"
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;
@@ -2,4 +2,4 @@ import React from 'react';
2
2
  export type Props = {
3
3
  title?: React.ReactNode;
4
4
  };
5
- export declare const ShareHeader: ({ title }: Props) => JSX.Element;
5
+ export declare const ShareHeader: ({ title }: Props) => React.JSX.Element;
@@ -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
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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;
@@ -2,4 +2,4 @@ import React from 'react';
2
2
  export type Props = {
3
3
  title?: React.ReactNode;
4
4
  };
5
- export declare const ShareHeader: ({ title }: Props) => JSX.Element;
5
+ export declare const ShareHeader: ({ title }: Props) => React.JSX.Element;
@@ -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
- /// <reference types="react" />
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
- /// <reference types="react" />
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
- /// <reference types="react" />
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.1",
3
+ "version": "4.25.2",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,11 +39,11 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@atlaskit/analytics-next": "^10.3.0",
42
- "@atlaskit/button": "^20.4.0",
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.6.0",
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",
@@ -55,7 +55,7 @@
55
55
  "@atlaskit/spinner": "^17.1.0",
56
56
  "@atlaskit/tabs": "^17.2.0",
57
57
  "@atlaskit/textarea": "^5.8.0",
58
- "@atlaskit/theme": "^14.1.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",