@atlaskit/share 3.7.2 → 3.7.4

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
+ ## 3.7.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 3.7.3
10
+
11
+ ### Patch Changes
12
+
13
+ - [`b7db08a28e7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b7db08a28e7) - Do not render HelperMessage if shareFormHelperMessage prop has empty string
14
+
3
15
  ## 3.7.2
4
16
 
5
17
  ### Patch Changes
@@ -111,7 +111,7 @@ var UserPickerFieldComponent = /*#__PURE__*/function (_React$Component) {
111
111
  if (isPublicLink) {
112
112
  return null;
113
113
  }
114
- if (helperMessage) {
114
+ if (helperMessage !== undefined) {
115
115
  return helperMessage;
116
116
  }
117
117
  return product === 'jira' ? /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _i18n.messages.infoMessageDefaultJira) : /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _i18n.messages.infoMessageDefaultConfluence);
@@ -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: "3.7.2"
16
+ packageVersion: "3.7.4"
17
17
  }, attributes);
18
18
  };
19
19
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "3.7.2"
3
+ "version": "3.7.4"
4
4
  }
@@ -82,7 +82,7 @@ export class UserPickerFieldComponent extends React.Component {
82
82
  if (isPublicLink) {
83
83
  return null;
84
84
  }
85
- if (helperMessage) {
85
+ if (helperMessage !== undefined) {
86
86
  return helperMessage;
87
87
  }
88
88
  return product === 'jira' ? /*#__PURE__*/React.createElement(FormattedMessage, messages.infoMessageDefaultJira) : /*#__PURE__*/React.createElement(FormattedMessage, messages.infoMessageDefaultConfluence);
@@ -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: "3.7.2",
4
+ packageVersion: "3.7.4",
5
5
  ...attributes
6
6
  });
7
7
  const createEvent = (eventType, source, action, actionSubject, actionSubjectId, attributes = {}) => ({
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "3.7.2"
3
+ "version": "3.7.4"
4
4
  }
@@ -100,7 +100,7 @@ export var UserPickerFieldComponent = /*#__PURE__*/function (_React$Component) {
100
100
  if (isPublicLink) {
101
101
  return null;
102
102
  }
103
- if (helperMessage) {
103
+ if (helperMessage !== undefined) {
104
104
  return helperMessage;
105
105
  }
106
106
  return product === 'jira' ? /*#__PURE__*/React.createElement(FormattedMessage, messages.infoMessageDefaultJira) : /*#__PURE__*/React.createElement(FormattedMessage, messages.infoMessageDefaultConfluence);
@@ -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: "3.7.2"
9
+ packageVersion: "3.7.4"
10
10
  }, attributes);
11
11
  };
12
12
  var createEvent = function createEvent(eventType, source, action, actionSubject, actionSubjectId) {
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "3.7.2"
3
+ "version": "3.7.4"
4
4
  }
@@ -79,7 +79,9 @@ export declare type ShareDialogContainerProps = {
79
79
  shareTitle: string;
80
80
  /** Title of the share modal. */
81
81
  shareFormTitle?: React.ReactNode;
82
- /** Copy for helper message to be displayed under share form input box. */
82
+ /** Copy for helper message to be displayed under share form input box.
83
+ * If set to empty string, no helper message will be displayed
84
+ */
83
85
  shareFormHelperMessage?: string;
84
86
  /** To enable closing the modal on escape key press. */
85
87
  shouldCloseOnEscapePress?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/share",
3
- "version": "3.7.2",
3
+ "version": "3.7.4",
4
4
  "description": "Fabric Share Element",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  "access": "private"
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/analytics-next": "^8.2.0",
33
+ "@atlaskit/analytics-next": "^9.0.0",
34
34
  "@atlaskit/button": "^16.5.0",
35
35
  "@atlaskit/dropdown-menu": "^11.5.0",
36
36
  "@atlaskit/form": "^8.8.0",
@@ -42,10 +42,10 @@
42
42
  "@atlaskit/tabs": "^13.3.0",
43
43
  "@atlaskit/textarea": "^4.5.0",
44
44
  "@atlaskit/theme": "^12.2.0",
45
- "@atlaskit/tokens": "^1.0.0",
45
+ "@atlaskit/tokens": "^1.2.0",
46
46
  "@atlaskit/tooltip": "^17.6.0",
47
47
  "@atlaskit/ufo": "^0.1.0",
48
- "@atlaskit/user-picker": "^10.0.0",
48
+ "@atlaskit/user-picker": "^10.1.0",
49
49
  "@atlaskit/util-service-support": "^6.1.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
@@ -99,7 +99,9 @@
99
99
  "ui-components": "lite-mode",
100
100
  "analytics": "analytics-next",
101
101
  "deprecation": "no-deprecated-imports",
102
- "theming": "tokens"
102
+ "design-tokens": [
103
+ "color"
104
+ ]
103
105
  }
104
106
  },
105
107
  "af:exports": {