@atlaskit/feedback-collector 16.5.0 → 16.6.1

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,20 @@
1
1
  # @atlaskit/feedback-collector
2
2
 
3
+ ## 16.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`a3bf20a2ec9f1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a3bf20a2ec9f1) -
8
+ Stop Escape from closing the feedback dialog when dismissing the feedback type dropdown.
9
+
10
+ ## 16.6.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`e8b3f04d788a2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e8b3f04d788a2) -
15
+ Update i18n NPM package versions for discovery,navigation,web-platform,bitbucket,policy-platform
16
+ (Group 14)
17
+
3
18
  ## 16.5.0
4
19
 
5
20
  ### Minor Changes
@@ -164,7 +164,7 @@ var FeedbackCollector = exports.default = /*#__PURE__*/function (_Component) {
164
164
  }, {
165
165
  key: "getPackageVersion",
166
166
  value: function getPackageVersion() {
167
- return "16.4.2" || 'Unknown, at least 11.0.0';
167
+ return "16.6.0" || 'Unknown, at least 11.0.0';
168
168
  }
169
169
  }, {
170
170
  key: "getEntitlementInformation",
@@ -238,7 +238,8 @@ var FeedbackForm = function FeedbackForm(_ref2) {
238
238
  (_restProps$onChange = restProps.onChange) === null || _restProps$onChange === void 0 || _restProps$onChange.call(restProps, option.value);
239
239
  },
240
240
  menuPosition: "fixed",
241
- options: selectOptions
241
+ options: selectOptions,
242
+ shouldPreventEscapePropagation: (0, _platformFeatureFlags.fg)('ak_feedback_collector_select_escape')
242
243
  // @ts-ignore
243
244
  ,
244
245
  ref: focusRef,
@@ -369,7 +370,8 @@ var FeedbackForm = function FeedbackForm(_ref2) {
369
370
  (_restProps$onChange2 = restProps.onChange) === null || _restProps$onChange2 === void 0 || _restProps$onChange2.call(restProps, option.value);
370
371
  },
371
372
  menuPosition: "fixed",
372
- options: selectOptions
373
+ options: selectOptions,
374
+ shouldPreventEscapePropagation: (0, _platformFeatureFlags.fg)('ak_feedback_collector_select_escape')
373
375
  // @ts-ignore
374
376
  ,
375
377
  ref: focusRef,
@@ -92,7 +92,7 @@ export default class FeedbackCollector extends Component {
92
92
  return FeedbackCollector.defaultProps.url;
93
93
  }
94
94
  getPackageVersion() {
95
- return "16.4.2" || 'Unknown, at least 11.0.0';
95
+ return "16.6.0" || 'Unknown, at least 11.0.0';
96
96
  }
97
97
  async getEntitlementInformation() {
98
98
  var _entitlementDetails, _entitlementDetails2, _productName, _entitlement, _productEntitlement;
@@ -189,7 +189,8 @@ const FeedbackForm = ({
189
189
  (_restProps$onChange = restProps.onChange) === null || _restProps$onChange === void 0 ? void 0 : _restProps$onChange.call(restProps, option.value);
190
190
  },
191
191
  menuPosition: "fixed",
192
- options: selectOptions
192
+ options: selectOptions,
193
+ shouldPreventEscapePropagation: fg('ak_feedback_collector_select_escape')
193
194
  // @ts-ignore
194
195
  ,
195
196
  ref: focusRef,
@@ -299,7 +300,8 @@ const FeedbackForm = ({
299
300
  (_restProps$onChange2 = restProps.onChange) === null || _restProps$onChange2 === void 0 ? void 0 : _restProps$onChange2.call(restProps, option.value);
300
301
  },
301
302
  menuPosition: "fixed",
302
- options: selectOptions
303
+ options: selectOptions,
304
+ shouldPreventEscapePropagation: fg('ak_feedback_collector_select_escape')
303
305
  // @ts-ignore
304
306
  ,
305
307
  ref: focusRef,
@@ -155,7 +155,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
155
155
  }, {
156
156
  key: "getPackageVersion",
157
157
  value: function getPackageVersion() {
158
- return "16.4.2" || 'Unknown, at least 11.0.0';
158
+ return "16.6.0" || 'Unknown, at least 11.0.0';
159
159
  }
160
160
  }, {
161
161
  key: "getEntitlementInformation",
@@ -229,7 +229,8 @@ var FeedbackForm = function FeedbackForm(_ref2) {
229
229
  (_restProps$onChange = restProps.onChange) === null || _restProps$onChange === void 0 || _restProps$onChange.call(restProps, option.value);
230
230
  },
231
231
  menuPosition: "fixed",
232
- options: selectOptions
232
+ options: selectOptions,
233
+ shouldPreventEscapePropagation: fg('ak_feedback_collector_select_escape')
233
234
  // @ts-ignore
234
235
  ,
235
236
  ref: focusRef,
@@ -360,7 +361,8 @@ var FeedbackForm = function FeedbackForm(_ref2) {
360
361
  (_restProps$onChange2 = restProps.onChange) === null || _restProps$onChange2 === void 0 || _restProps$onChange2.call(restProps, option.value);
361
362
  },
362
363
  menuPosition: "fixed",
363
- options: selectOptions
364
+ options: selectOptions,
365
+ shouldPreventEscapePropagation: fg('ak_feedback_collector_select_escape')
364
366
  // @ts-ignore
365
367
  ,
366
368
  ref: focusRef,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/feedback-collector",
3
- "version": "16.5.0",
3
+ "version": "16.6.1",
4
4
  "description": "A component that collects feedback across Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,19 +24,19 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/afm-i18n-platform-web-platform-feedback-collector": "2.180.0",
27
+ "@atlaskit/afm-i18n-platform-web-platform-feedback-collector": "2.193.0",
28
28
  "@atlaskit/button": "^24.3.0",
29
29
  "@atlaskit/checkbox": "^18.2.0",
30
30
  "@atlaskit/flag": "^18.2.0",
31
31
  "@atlaskit/form": "^16.1.0",
32
- "@atlaskit/icon": "^37.0.0",
32
+ "@atlaskit/icon": "^37.1.0",
33
33
  "@atlaskit/link": "^4.3.0",
34
34
  "@atlaskit/modal-dialog": "^16.1.0",
35
35
  "@atlaskit/platform-feature-flags": "^2.0.0",
36
36
  "@atlaskit/section-message": "^9.2.0",
37
37
  "@atlaskit/select": "^22.5.0",
38
38
  "@atlaskit/textarea": "^9.1.0",
39
- "@atlaskit/tokens": "^16.0.0",
39
+ "@atlaskit/tokens": "^16.1.0",
40
40
  "@atlaskit/visually-hidden": "^4.2.0",
41
41
  "@babel/runtime": "^7.0.0"
42
42
  },
@@ -89,6 +89,9 @@
89
89
  },
90
90
  "ak_feedback_collector_hide_required_summary": {
91
91
  "type": "boolean"
92
+ },
93
+ "ak_feedback_collector_select_escape": {
94
+ "type": "boolean"
92
95
  }
93
96
  }
94
97
  }