@atlaskit/feedback-collector 13.9.0 → 13.10.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 +14 -0
- package/dist/cjs/components/FeedbackCollector.js +1 -1
- package/dist/es2019/components/FeedbackCollector.js +1 -1
- package/dist/esm/components/FeedbackCollector.js +1 -1
- package/dist/types/components/FeedbackCollector.d.ts +1 -1
- package/dist/types/components/FeedbackForm.d.ts +1 -1
- package/dist/types-ts4.5/components/FeedbackCollector.d.ts +1 -1
- package/dist/types-ts4.5/components/FeedbackForm.d.ts +1 -1
- package/package.json +2 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/feedback-collector
|
|
2
2
|
|
|
3
|
+
## 13.10.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 13.10.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#135500](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/135500)
|
|
14
|
+
[`4bba3585bfc68`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4bba3585bfc68) -
|
|
15
|
+
updates type for shouldReturnFocus ref to match atlaskit
|
|
16
|
+
|
|
3
17
|
## 13.9.0
|
|
4
18
|
|
|
5
19
|
### Minor 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.
|
|
169
|
+
return "13.10.1" || 'Unknown, at least 11.0.0';
|
|
170
170
|
}
|
|
171
171
|
}, {
|
|
172
172
|
key: "getEntitlementInformation",
|
|
@@ -91,7 +91,7 @@ export default class FeedbackCollector extends Component {
|
|
|
91
91
|
return FeedbackCollector.defaultProps.url;
|
|
92
92
|
}
|
|
93
93
|
getPackageVersion() {
|
|
94
|
-
return "13.
|
|
94
|
+
return "13.10.1" || 'Unknown, at least 11.0.0';
|
|
95
95
|
}
|
|
96
96
|
async getEntitlementInformation() {
|
|
97
97
|
var _entitlementDetails, _entitlementDetails2, _productName, _entitlement, _productEntitlement;
|
|
@@ -156,7 +156,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
|
|
|
156
156
|
}, {
|
|
157
157
|
key: "getPackageVersion",
|
|
158
158
|
value: function getPackageVersion() {
|
|
159
|
-
return "13.
|
|
159
|
+
return "13.10.1" || 'Unknown, at least 11.0.0';
|
|
160
160
|
}
|
|
161
161
|
}, {
|
|
162
162
|
key: "getEntitlementInformation",
|
|
@@ -105,7 +105,7 @@ export interface Props {
|
|
|
105
105
|
/** Custom Select feedback options */
|
|
106
106
|
customFeedbackOptions?: OptionType[];
|
|
107
107
|
/** Optional ref to return focus to after feedback form is closed */
|
|
108
|
-
shouldReturnFocusRef?: React.
|
|
108
|
+
shouldReturnFocusRef?: React.RefObject<HTMLElement>;
|
|
109
109
|
}
|
|
110
110
|
export default class FeedbackCollector extends Component<Props> {
|
|
111
111
|
state: {
|
|
@@ -40,7 +40,7 @@ interface Props {
|
|
|
40
40
|
/** Custom Select feedback options */
|
|
41
41
|
customFeedbackOptions?: OptionType[];
|
|
42
42
|
/** React Ref to focus on close */
|
|
43
|
-
shouldReturnFocusRef?: React.
|
|
43
|
+
shouldReturnFocusRef?: React.RefObject<HTMLElement>;
|
|
44
44
|
}
|
|
45
45
|
export interface OptionType {
|
|
46
46
|
label: React.ReactText;
|
|
@@ -105,7 +105,7 @@ export interface Props {
|
|
|
105
105
|
/** Custom Select feedback options */
|
|
106
106
|
customFeedbackOptions?: OptionType[];
|
|
107
107
|
/** Optional ref to return focus to after feedback form is closed */
|
|
108
|
-
shouldReturnFocusRef?: React.
|
|
108
|
+
shouldReturnFocusRef?: React.RefObject<HTMLElement>;
|
|
109
109
|
}
|
|
110
110
|
export default class FeedbackCollector extends Component<Props> {
|
|
111
111
|
state: {
|
|
@@ -40,7 +40,7 @@ interface Props {
|
|
|
40
40
|
/** Custom Select feedback options */
|
|
41
41
|
customFeedbackOptions?: OptionType[];
|
|
42
42
|
/** React Ref to focus on close */
|
|
43
|
-
shouldReturnFocusRef?: React.
|
|
43
|
+
shouldReturnFocusRef?: React.RefObject<HTMLElement>;
|
|
44
44
|
}
|
|
45
45
|
export interface OptionType {
|
|
46
46
|
label: React.ReactText;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/feedback-collector",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.10.1",
|
|
4
4
|
"description": "A component that collects feedback across Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -29,10 +29,6 @@
|
|
|
29
29
|
},
|
|
30
30
|
"atlassian": {
|
|
31
31
|
"team": "Web Platform: Feedback Collector",
|
|
32
|
-
"releaseModel": "continuous",
|
|
33
|
-
"productPushConsumption": [
|
|
34
|
-
"jira"
|
|
35
|
-
],
|
|
36
32
|
"website": {
|
|
37
33
|
"name": "Feedback Collector"
|
|
38
34
|
},
|
|
@@ -43,7 +39,7 @@
|
|
|
43
39
|
},
|
|
44
40
|
"dependencies": {
|
|
45
41
|
"@atlaskit/button": "^20.1.0",
|
|
46
|
-
"@atlaskit/checkbox": "^
|
|
42
|
+
"@atlaskit/checkbox": "^14.0.0",
|
|
47
43
|
"@atlaskit/flag": "^15.8.0",
|
|
48
44
|
"@atlaskit/form": "^10.5.0",
|
|
49
45
|
"@atlaskit/icon": "^22.15.0",
|