@atlaskit/feedback-collector 13.13.2 → 13.13.3
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 +8 -0
- package/dist/cjs/components/FeedbackCollector.js +1 -1
- package/dist/cjs/components/FeedbackForm.js +1 -1
- package/dist/es2019/components/FeedbackCollector.js +1 -1
- package/dist/es2019/components/FeedbackForm.js +1 -1
- package/dist/esm/components/FeedbackCollector.js +1 -1
- package/dist/esm/components/FeedbackForm.js +1 -1
- package/package.json +4 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/feedback-collector
|
|
2
2
|
|
|
3
|
+
## 13.13.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#152189](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152189)
|
|
8
|
+
[`331137e350753`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/331137e350753) -
|
|
9
|
+
Cleaning up platform.custom-select-feedback-options_c61l9 FF
|
|
10
|
+
|
|
3
11
|
## 13.13.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -166,7 +166,7 @@ var FeedbackCollector = exports.default = /*#__PURE__*/function (_Component) {
|
|
|
166
166
|
}, {
|
|
167
167
|
key: "getPackageVersion",
|
|
168
168
|
value: function getPackageVersion() {
|
|
169
|
-
return "13.13.
|
|
169
|
+
return "13.13.3" || 'Unknown, at least 11.0.0';
|
|
170
170
|
}
|
|
171
171
|
}, {
|
|
172
172
|
key: "getEntitlementInformation",
|
|
@@ -112,7 +112,7 @@ var FeedbackForm = function FeedbackForm(_ref) {
|
|
|
112
112
|
return (record === null || record === void 0 ? void 0 : record.empty.selectOptionLabel) || formatMessage(_messages.messages.selectionOptionDefaultPlaceholder);
|
|
113
113
|
};
|
|
114
114
|
var focusRef = (0, _react.useRef)();
|
|
115
|
-
var selectOptions = customFeedbackOptions.length > 0
|
|
115
|
+
var selectOptions = customFeedbackOptions.length > 0 ? customFeedbackOptions : getSelectOptions(feedbackGroupLabels);
|
|
116
116
|
return /*#__PURE__*/_react.default.createElement(_modalDialog.default, {
|
|
117
117
|
shouldCloseOnOverlayClick: false,
|
|
118
118
|
shouldCloseOnEscapePress: false,
|
|
@@ -91,7 +91,7 @@ export default class FeedbackCollector extends Component {
|
|
|
91
91
|
return FeedbackCollector.defaultProps.url;
|
|
92
92
|
}
|
|
93
93
|
getPackageVersion() {
|
|
94
|
-
return "13.13.
|
|
94
|
+
return "13.13.3" || 'Unknown, at least 11.0.0';
|
|
95
95
|
}
|
|
96
96
|
async getEntitlementInformation() {
|
|
97
97
|
var _entitlementDetails, _entitlementDetails2, _productName, _entitlement, _productEntitlement;
|
|
@@ -69,7 +69,7 @@ const FeedbackForm = ({
|
|
|
69
69
|
}];
|
|
70
70
|
const getDefaultPlaceholder = record => (record === null || record === void 0 ? void 0 : record.empty.selectOptionLabel) || formatMessage(messages.selectionOptionDefaultPlaceholder);
|
|
71
71
|
const focusRef = useRef();
|
|
72
|
-
const selectOptions = customFeedbackOptions.length > 0
|
|
72
|
+
const selectOptions = customFeedbackOptions.length > 0 ? customFeedbackOptions : getSelectOptions(feedbackGroupLabels);
|
|
73
73
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
74
74
|
shouldCloseOnOverlayClick: false,
|
|
75
75
|
shouldCloseOnEscapePress: false,
|
|
@@ -156,7 +156,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
|
|
|
156
156
|
}, {
|
|
157
157
|
key: "getPackageVersion",
|
|
158
158
|
value: function getPackageVersion() {
|
|
159
|
-
return "13.13.
|
|
159
|
+
return "13.13.3" || 'Unknown, at least 11.0.0';
|
|
160
160
|
}
|
|
161
161
|
}, {
|
|
162
162
|
key: "getEntitlementInformation",
|
|
@@ -102,7 +102,7 @@ var FeedbackForm = function FeedbackForm(_ref) {
|
|
|
102
102
|
return (record === null || record === void 0 ? void 0 : record.empty.selectOptionLabel) || formatMessage(messages.selectionOptionDefaultPlaceholder);
|
|
103
103
|
};
|
|
104
104
|
var focusRef = useRef();
|
|
105
|
-
var selectOptions = customFeedbackOptions.length > 0
|
|
105
|
+
var selectOptions = customFeedbackOptions.length > 0 ? customFeedbackOptions : getSelectOptions(feedbackGroupLabels);
|
|
106
106
|
return /*#__PURE__*/React.createElement(Modal, {
|
|
107
107
|
shouldCloseOnOverlayClick: false,
|
|
108
108
|
shouldCloseOnEscapePress: false,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/feedback-collector",
|
|
3
|
-
"version": "13.13.
|
|
3
|
+
"version": "13.13.3",
|
|
4
4
|
"description": "A component that collects feedback across Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
"@atlaskit/checkbox": "^14.0.0",
|
|
43
43
|
"@atlaskit/flag": "^15.8.0",
|
|
44
44
|
"@atlaskit/form": "^10.5.0",
|
|
45
|
-
"@atlaskit/icon": "^22.
|
|
45
|
+
"@atlaskit/icon": "^22.22.0",
|
|
46
46
|
"@atlaskit/link": "^1.2.1",
|
|
47
47
|
"@atlaskit/modal-dialog": "^12.17.0",
|
|
48
48
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
49
49
|
"@atlaskit/section-message": "^6.6.0",
|
|
50
|
-
"@atlaskit/select": "^18.
|
|
50
|
+
"@atlaskit/select": "^18.1.0",
|
|
51
51
|
"@atlaskit/textarea": "^5.6.0",
|
|
52
|
-
"@atlaskit/theme": "^13.
|
|
52
|
+
"@atlaskit/theme": "^13.1.0",
|
|
53
53
|
"@atlaskit/tokens": "^2.0.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
@@ -90,9 +90,6 @@
|
|
|
90
90
|
"platform.proforma-form-builder-feedback_hupaz": {
|
|
91
91
|
"type": "boolean"
|
|
92
92
|
},
|
|
93
|
-
"platform.custom-select-feedback-options_c61l9": {
|
|
94
|
-
"type": "boolean"
|
|
95
|
-
},
|
|
96
93
|
"underlined_iph_links": {
|
|
97
94
|
"type": "boolean"
|
|
98
95
|
},
|