@atlaskit/share 4.8.0 → 4.9.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,11 @@
1
1
  # @atlaskit/share
2
2
 
3
+ ## 4.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#65564](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65564) [`a6abbb0d08f5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a6abbb0d08f5) - Set autoFoucus to false for CopyLinkButton status message
8
+
3
9
  ## 4.8.0
4
10
 
5
11
  ### Minor Changes
@@ -133,6 +133,7 @@ var CopyLinkButton = exports.CopyLinkButton = /*#__PURE__*/function (_React$Comp
133
133
  text: this.props.link
134
134
  }), (0, _react2.jsx)(_popup.default, {
135
135
  zIndex: Z_INDEX,
136
+ autoFocus: false,
136
137
  content: function content() {
137
138
  return (0, _react2.jsx)(_styled.InlineDialogContentWrapper, null, (0, _react2.jsx)("div", {
138
139
  css: messageContainerStyle,
@@ -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.8.0"
16
+ packageVersion: "4.9.0"
17
17
  }, attributes);
18
18
  };
19
19
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -112,6 +112,7 @@ export class CopyLinkButton extends React.Component {
112
112
  text: this.props.link
113
113
  }), jsx(Popup, {
114
114
  zIndex: Z_INDEX,
115
+ autoFocus: false,
115
116
  content: () => jsx(InlineDialogContentWrapper, null, jsx("div", {
116
117
  css: messageContainerStyle,
117
118
  "data-testid": "message-container"
@@ -1,7 +1,7 @@
1
1
  import { isEmail, isTeam, isUser } from '@atlaskit/smart-user-picker';
2
2
  const buildAttributes = (attributes = {}) => ({
3
3
  packageName: "@atlaskit/share",
4
- packageVersion: "4.8.0",
4
+ packageVersion: "4.9.0",
5
5
  ...attributes
6
6
  });
7
7
  const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
@@ -126,6 +126,7 @@ export var CopyLinkButton = /*#__PURE__*/function (_React$Component) {
126
126
  text: this.props.link
127
127
  }), jsx(Popup, {
128
128
  zIndex: Z_INDEX,
129
+ autoFocus: false,
129
130
  content: function content() {
130
131
  return jsx(InlineDialogContentWrapper, null, jsx("div", {
131
132
  css: messageContainerStyle,
@@ -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.8.0"
9
+ packageVersion: "4.9.0"
10
10
  }, attributes);
11
11
  };
12
12
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -5,4 +5,4 @@ export type Props = {
5
5
  title?: React.ReactNode;
6
6
  };
7
7
  export declare const getFormHeaderTitleStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
8
- export declare const ShareHeader: React.StatelessComponent<Props>;
8
+ export declare const ShareHeader: React.FunctionComponent<Props>;
@@ -5,4 +5,4 @@ export type Props = {
5
5
  title?: React.ReactNode;
6
6
  };
7
7
  export declare const getFormHeaderTitleStyles: (theme: Theme) => import("@emotion/react").SerializedStyles;
8
- export declare const ShareHeader: React.StatelessComponent<Props>;
8
+ export declare const ShareHeader: React.FunctionComponent<Props>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "4.8.0",
3
+ "version": "4.9.0",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"