@atlaskit/feedback-collector 14.0.6 → 14.0.7

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/feedback-collector
2
2
 
3
+ ## 14.0.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 14.0.6
4
10
 
5
11
  ### Patch Changes
@@ -164,13 +164,13 @@ var FeedbackCollector = exports.default = /*#__PURE__*/function (_Component) {
164
164
  }, {
165
165
  key: "getPackageVersion",
166
166
  value: function getPackageVersion() {
167
- return "14.0.6" || 'Unknown, at least 11.0.0';
167
+ return "14.0.7" || 'Unknown, at least 11.0.0';
168
168
  }
169
169
  }, {
170
170
  key: "getEntitlementInformation",
171
171
  value: function () {
172
172
  var _getEntitlementInformation = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee3() {
173
- var _entitlementDetails, _entitlementDetails2, _productName, _entitlement, _productEntitlement;
173
+ var _entitlementDetails, _entitlementDetails2, _productName, _entitlement;
174
174
  var url, productName, productEntitlement, entitlementDetails, productKey, _document$querySelect, hasPremium, entitlement, entitlementInformation, cloudSiteId, _entitlementDetails3;
175
175
  return _regenerator.default.wrap(function _callee3$(_context3) {
176
176
  while (1) switch (_context3.prev = _context3.next) {
@@ -238,7 +238,7 @@ var FeedbackCollector = exports.default = /*#__PURE__*/function (_Component) {
238
238
  value: (_entitlement = entitlement) !== null && _entitlement !== void 0 && _entitlement.product ? entitlement.product.hostingType : 'CLOUD'
239
239
  }, {
240
240
  id: 'entitlementEdition',
241
- value: (_productEntitlement = productEntitlement) !== null && _productEntitlement !== void 0 ? _productEntitlement : ''
241
+ value: productEntitlement !== null && productEntitlement !== void 0 ? productEntitlement : ''
242
242
  }, {
243
243
  id: 'cloudId',
244
244
  value: cloudSiteId
@@ -20,7 +20,6 @@ var _form = _interopRequireWildcard(require("@atlaskit/form"));
20
20
  var _closeEditorClose = _interopRequireDefault(require("@atlaskit/icon/core/migration/close--editor-close"));
21
21
  var _link = _interopRequireDefault(require("@atlaskit/link"));
22
22
  var _modalDialog = _interopRequireWildcard(require("@atlaskit/modal-dialog"));
23
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
24
23
  var _sectionMessage = _interopRequireDefault(require("@atlaskit/section-message"));
25
24
  var _select = _interopRequireDefault(require("@atlaskit/select"));
26
25
  var _textarea = _interopRequireDefault(require("@atlaskit/textarea"));
@@ -221,10 +220,7 @@ var FeedbackForm = function FeedbackForm(_ref) {
221
220
  label: canBeContactedLabel || /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, (0, _extends2.default)({}, _messages.messages.canBeContactedLabel, {
222
221
  values: {
223
222
  a: function a(chunks) {
224
- return (0, _platformFeatureFlags.fg)('underlined_iph_links') ? /*#__PURE__*/_react.default.createElement(_link.default, {
225
- href: "https://www.atlassian.com/legal/privacy-policy",
226
- target: "_blank"
227
- }, chunks) : /*#__PURE__*/_react.default.createElement("a", {
223
+ return /*#__PURE__*/_react.default.createElement(_link.default, {
228
224
  href: "https://www.atlassian.com/legal/privacy-policy",
229
225
  target: "_blank"
230
226
  }, chunks);
@@ -91,7 +91,7 @@ export default class FeedbackCollector extends Component {
91
91
  return FeedbackCollector.defaultProps.url;
92
92
  }
93
93
  getPackageVersion() {
94
- return "14.0.6" || 'Unknown, at least 11.0.0';
94
+ return "14.0.7" || 'Unknown, at least 11.0.0';
95
95
  }
96
96
  async getEntitlementInformation() {
97
97
  var _entitlementDetails, _entitlementDetails2, _productName, _entitlement, _productEntitlement;
@@ -7,7 +7,6 @@ import Form, { Field, Fieldset, RequiredAsterisk } from '@atlaskit/form';
7
7
  import EditorCloseIcon from '@atlaskit/icon/core/migration/close--editor-close';
8
8
  import Link from '@atlaskit/link';
9
9
  import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
10
  import SectionMessage from '@atlaskit/section-message';
12
11
  import Select from '@atlaskit/select';
13
12
  import TextArea from '@atlaskit/textarea';
@@ -163,10 +162,7 @@ const FeedbackForm = ({
163
162
  ,
164
163
  label: canBeContactedLabel || /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.canBeContactedLabel, {
165
164
  values: {
166
- a: chunks => fg('underlined_iph_links') ? /*#__PURE__*/React.createElement(Link, {
167
- href: "https://www.atlassian.com/legal/privacy-policy",
168
- target: "_blank"
169
- }, chunks) : /*#__PURE__*/React.createElement("a", {
165
+ a: chunks => /*#__PURE__*/React.createElement(Link, {
170
166
  href: "https://www.atlassian.com/legal/privacy-policy",
171
167
  target: "_blank"
172
168
  }, chunks)
@@ -154,13 +154,13 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
154
154
  }, {
155
155
  key: "getPackageVersion",
156
156
  value: function getPackageVersion() {
157
- return "14.0.6" || 'Unknown, at least 11.0.0';
157
+ return "14.0.7" || 'Unknown, at least 11.0.0';
158
158
  }
159
159
  }, {
160
160
  key: "getEntitlementInformation",
161
161
  value: function () {
162
162
  var _getEntitlementInformation = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee3() {
163
- var _entitlementDetails, _entitlementDetails2, _productName, _entitlement, _productEntitlement;
163
+ var _entitlementDetails, _entitlementDetails2, _productName, _entitlement;
164
164
  var url, productName, productEntitlement, entitlementDetails, productKey, _document$querySelect, hasPremium, entitlement, entitlementInformation, cloudSiteId, _entitlementDetails3;
165
165
  return _regeneratorRuntime.wrap(function _callee3$(_context3) {
166
166
  while (1) switch (_context3.prev = _context3.next) {
@@ -228,7 +228,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
228
228
  value: (_entitlement = entitlement) !== null && _entitlement !== void 0 && _entitlement.product ? entitlement.product.hostingType : 'CLOUD'
229
229
  }, {
230
230
  id: 'entitlementEdition',
231
- value: (_productEntitlement = productEntitlement) !== null && _productEntitlement !== void 0 ? _productEntitlement : ''
231
+ value: productEntitlement !== null && productEntitlement !== void 0 ? productEntitlement : ''
232
232
  }, {
233
233
  id: 'cloudId',
234
234
  value: cloudSiteId
@@ -16,7 +16,6 @@ import Form, { Field, Fieldset, RequiredAsterisk } from '@atlaskit/form';
16
16
  import EditorCloseIcon from '@atlaskit/icon/core/migration/close--editor-close';
17
17
  import Link from '@atlaskit/link';
18
18
  import Modal, { ModalBody, ModalFooter, ModalHeader, ModalTitle } from '@atlaskit/modal-dialog';
19
- import { fg } from '@atlaskit/platform-feature-flags';
20
19
  import SectionMessage from '@atlaskit/section-message';
21
20
  import Select from '@atlaskit/select';
22
21
  import TextArea from '@atlaskit/textarea';
@@ -211,10 +210,7 @@ var FeedbackForm = function FeedbackForm(_ref) {
211
210
  label: canBeContactedLabel || /*#__PURE__*/React.createElement(FormattedMessage, _extends({}, messages.canBeContactedLabel, {
212
211
  values: {
213
212
  a: function a(chunks) {
214
- return fg('underlined_iph_links') ? /*#__PURE__*/React.createElement(Link, {
215
- href: "https://www.atlassian.com/legal/privacy-policy",
216
- target: "_blank"
217
- }, chunks) : /*#__PURE__*/React.createElement("a", {
213
+ return /*#__PURE__*/React.createElement(Link, {
218
214
  href: "https://www.atlassian.com/legal/privacy-policy",
219
215
  target: "_blank"
220
216
  }, chunks);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/feedback-collector",
3
- "version": "14.0.6",
3
+ "version": "14.0.7",
4
4
  "description": "A component that collects feedback across Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,13 +40,13 @@
40
40
  "dependencies": {
41
41
  "@atlaskit/button": "^21.1.0",
42
42
  "@atlaskit/checkbox": "^17.0.0",
43
- "@atlaskit/flag": "^17.0.0",
43
+ "@atlaskit/flag": "^17.1.0",
44
44
  "@atlaskit/form": "^12.0.0",
45
45
  "@atlaskit/icon": "^25.0.0",
46
46
  "@atlaskit/link": "^3.0.0",
47
- "@atlaskit/modal-dialog": "^13.1.0",
47
+ "@atlaskit/modal-dialog": "^14.0.0",
48
48
  "@atlaskit/platform-feature-flags": "^1.1.0",
49
- "@atlaskit/section-message": "^8.1.0",
49
+ "@atlaskit/section-message": "^8.2.0",
50
50
  "@atlaskit/select": "^20.0.0",
51
51
  "@atlaskit/textarea": "^8.0.0",
52
52
  "@atlaskit/theme": "^18.0.0",
@@ -89,9 +89,6 @@
89
89
  "platform-feature-flags": {
90
90
  "platform.proforma-form-builder-feedback_hupaz": {
91
91
  "type": "boolean"
92
- },
93
- "underlined_iph_links": {
94
- "type": "boolean"
95
92
  }
96
93
  }
97
94
  }