@atlaskit/feedback-collector 14.0.2 → 14.0.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 +15 -0
- package/dist/cjs/components/FeedbackCollector.js +1 -1
- package/dist/cjs/components/FeedbackForm.js +2 -1
- package/dist/es2019/components/FeedbackCollector.js +1 -1
- package/dist/es2019/components/FeedbackForm.js +2 -1
- package/dist/esm/components/FeedbackCollector.js +1 -1
- package/dist/esm/components/FeedbackForm.js +2 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/feedback-collector
|
|
2
2
|
|
|
3
|
+
## 14.0.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 14.0.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#118604](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/118604)
|
|
14
|
+
[`7c7d655f4449b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7c7d655f4449b) -
|
|
15
|
+
[ux] Fixes experience with feedback collector where it cuts off in viewport by passing
|
|
16
|
+
shouldScrollInViewport to Modal component
|
|
17
|
+
|
|
3
18
|
## 14.0.2
|
|
4
19
|
|
|
5
20
|
### Patch 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 "14.0.
|
|
167
|
+
return "14.0.4" || 'Unknown, at least 11.0.0';
|
|
168
168
|
}
|
|
169
169
|
}, {
|
|
170
170
|
key: "getEntitlementInformation",
|
|
@@ -117,7 +117,8 @@ var FeedbackForm = function FeedbackForm(_ref) {
|
|
|
117
117
|
shouldCloseOnOverlayClick: false,
|
|
118
118
|
onClose: onClose,
|
|
119
119
|
testId: "feedbackCollectorModalDialog",
|
|
120
|
-
shouldReturnFocus: shouldReturnFocusRef
|
|
120
|
+
shouldReturnFocus: shouldReturnFocusRef,
|
|
121
|
+
shouldScrollInViewport: true
|
|
121
122
|
}, /*#__PURE__*/_react.default.createElement(_form.default, {
|
|
122
123
|
onSubmit: /*#__PURE__*/(0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
|
123
124
|
return _regenerator.default.wrap(function _callee$(_context) {
|
|
@@ -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.
|
|
94
|
+
return "14.0.4" || 'Unknown, at least 11.0.0';
|
|
95
95
|
}
|
|
96
96
|
async getEntitlementInformation() {
|
|
97
97
|
var _entitlementDetails, _entitlementDetails2, _productName, _entitlement, _productEntitlement;
|
|
@@ -74,7 +74,8 @@ const FeedbackForm = ({
|
|
|
74
74
|
shouldCloseOnOverlayClick: false,
|
|
75
75
|
onClose: onClose,
|
|
76
76
|
testId: "feedbackCollectorModalDialog",
|
|
77
|
-
shouldReturnFocus: shouldReturnFocusRef
|
|
77
|
+
shouldReturnFocus: shouldReturnFocusRef,
|
|
78
|
+
shouldScrollInViewport: true
|
|
78
79
|
}, /*#__PURE__*/React.createElement(Form, {
|
|
79
80
|
onSubmit: async () => {
|
|
80
81
|
setIsSubmitting(true);
|
|
@@ -154,7 +154,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
|
|
|
154
154
|
}, {
|
|
155
155
|
key: "getPackageVersion",
|
|
156
156
|
value: function getPackageVersion() {
|
|
157
|
-
return "14.0.
|
|
157
|
+
return "14.0.4" || 'Unknown, at least 11.0.0';
|
|
158
158
|
}
|
|
159
159
|
}, {
|
|
160
160
|
key: "getEntitlementInformation",
|
|
@@ -107,7 +107,8 @@ var FeedbackForm = function FeedbackForm(_ref) {
|
|
|
107
107
|
shouldCloseOnOverlayClick: false,
|
|
108
108
|
onClose: onClose,
|
|
109
109
|
testId: "feedbackCollectorModalDialog",
|
|
110
|
-
shouldReturnFocus: shouldReturnFocusRef
|
|
110
|
+
shouldReturnFocus: shouldReturnFocusRef,
|
|
111
|
+
shouldScrollInViewport: true
|
|
111
112
|
}, /*#__PURE__*/React.createElement(Form, {
|
|
112
113
|
onSubmit: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
113
114
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/feedback-collector",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.4",
|
|
4
4
|
"description": "A component that collects feedback across Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"@atlaskit/section-message": "^8.0.0",
|
|
50
50
|
"@atlaskit/select": "^20.0.0",
|
|
51
51
|
"@atlaskit/textarea": "^8.0.0",
|
|
52
|
-
"@atlaskit/theme": "^
|
|
53
|
-
"@atlaskit/tokens": "^4.
|
|
52
|
+
"@atlaskit/theme": "^18.0.0",
|
|
53
|
+
"@atlaskit/tokens": "^4.3.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
56
56
|
},
|