@atlaskit/feedback-collector 12.2.0 → 12.2.2
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 +12 -0
- package/dist/cjs/components/FeedbackCollector.js +1 -1
- package/dist/cjs/components/FeedbackForm.js +4 -7
- package/dist/cjs/messages.js +7 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/FeedbackCollector.js +1 -1
- package/dist/es2019/components/FeedbackForm.js +3 -3
- package/dist/es2019/messages.js +7 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/FeedbackCollector.js +1 -1
- package/dist/esm/components/FeedbackForm.js +4 -7
- package/dist/esm/messages.js +7 -2
- package/dist/esm/version.json +1 -1
- package/dist/types/messages.d.ts +5 -0
- package/dist/types-ts4.5/messages.d.ts +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/feedback-collector
|
|
2
2
|
|
|
3
|
+
## 12.2.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a6e64a7df16`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a6e64a7df16) - [ux] fix opt-in messages
|
|
8
|
+
|
|
9
|
+
## 12.2.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`44d70ecadb6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/44d70ecadb6) - [ux] Fix enroll message
|
|
14
|
+
|
|
3
15
|
## 12.2.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -136,7 +136,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
|
|
|
136
136
|
}, {
|
|
137
137
|
key: "getPackageVersion",
|
|
138
138
|
value: function getPackageVersion() {
|
|
139
|
-
return "12.2.
|
|
139
|
+
return "12.2.2" || 'Unknown, at least 11.0.0';
|
|
140
140
|
}
|
|
141
141
|
}, {
|
|
142
142
|
key: "getEntitlementInformation",
|
|
@@ -178,13 +178,10 @@ var FeedbackForm = function FeedbackForm(_ref) {
|
|
|
178
178
|
}, function (_ref5) {
|
|
179
179
|
var fieldProps = _ref5.fieldProps;
|
|
180
180
|
return /*#__PURE__*/_react.default.createElement(_checkbox.Checkbox, (0, _extends2.default)({}, fieldProps, {
|
|
181
|
-
label: canBeContactedLabel ||
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
return "<a href=\"https://www.atlassian.com/legal/privacy-policy\">".concat(chunks, "</a>");
|
|
187
|
-
}
|
|
181
|
+
label: canBeContactedLabel || /*#__PURE__*/_react.default.createElement(_reactIntlNext.FormattedMessage, _messages.messages.canBeContactedLabel, function (chunks) {
|
|
182
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, chunks, /*#__PURE__*/_react.default.createElement("a", {
|
|
183
|
+
href: "https://www.atlassian.com/legal/privacy-policy"
|
|
184
|
+
}, formatMessage(_messages.messages.privacyPolicy)), ".");
|
|
188
185
|
}),
|
|
189
186
|
onChange: function onChange(event) {
|
|
190
187
|
return setCanBeContacted(event.target.checked);
|
package/dist/cjs/messages.js
CHANGED
|
@@ -11,14 +11,19 @@ var messages = (0, _reactIntlNext.defineMessages)({
|
|
|
11
11
|
defaultMessage: 'Share your thoughts',
|
|
12
12
|
description: 'The title shown at the top of the feedback form encouraging users to leave feedback'
|
|
13
13
|
},
|
|
14
|
+
privacyPolicy: {
|
|
15
|
+
id: 'feedback-collector.atlassian-privacy-policy',
|
|
16
|
+
defaultMessage: 'Atlassian Privacy Policy',
|
|
17
|
+
description: 'Link text for the Atlassian Privacy Policy'
|
|
18
|
+
},
|
|
14
19
|
enrolInResearchLabel: {
|
|
15
20
|
id: 'feedback-collector.enrol-in-research.label',
|
|
16
|
-
defaultMessage: '
|
|
21
|
+
defaultMessage: "I'd like to participate in product research",
|
|
17
22
|
description: 'The checkbox label letting users enrol themselves in future product research interviews'
|
|
18
23
|
},
|
|
19
24
|
canBeContactedLabel: {
|
|
20
25
|
id: 'feedback-collector.can-be-contacted.label',
|
|
21
|
-
defaultMessage: 'Atlassian can contact me about
|
|
26
|
+
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian products and services. I acknowledge the ',
|
|
22
27
|
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
23
28
|
},
|
|
24
29
|
summaryPlaceholder: {
|
package/dist/cjs/version.json
CHANGED
|
@@ -81,7 +81,7 @@ export default class FeedbackCollector extends Component {
|
|
|
81
81
|
return FeedbackCollector.defaultProps.url;
|
|
82
82
|
}
|
|
83
83
|
getPackageVersion() {
|
|
84
|
-
return "12.2.
|
|
84
|
+
return "12.2.2" || 'Unknown, at least 11.0.0';
|
|
85
85
|
}
|
|
86
86
|
async getEntitlementInformation() {
|
|
87
87
|
var _productName;
|
|
@@ -123,9 +123,9 @@ const FeedbackForm = ({
|
|
|
123
123
|
}, ({
|
|
124
124
|
fieldProps
|
|
125
125
|
}) => /*#__PURE__*/React.createElement(Checkbox, _extends({}, fieldProps, {
|
|
126
|
-
label: canBeContactedLabel ||
|
|
127
|
-
|
|
128
|
-
}),
|
|
126
|
+
label: canBeContactedLabel || /*#__PURE__*/React.createElement(FormattedMessage, messages.canBeContactedLabel, chunks => /*#__PURE__*/React.createElement(React.Fragment, null, chunks, /*#__PURE__*/React.createElement("a", {
|
|
127
|
+
href: "https://www.atlassian.com/legal/privacy-policy"
|
|
128
|
+
}, formatMessage(messages.privacyPolicy)), ".")),
|
|
129
129
|
onChange: event => setCanBeContacted(event.target.checked)
|
|
130
130
|
}))), /*#__PURE__*/React.createElement(Field, {
|
|
131
131
|
name: "enroll-in-research-group"
|
package/dist/es2019/messages.js
CHANGED
|
@@ -5,14 +5,19 @@ export const messages = defineMessages({
|
|
|
5
5
|
defaultMessage: 'Share your thoughts',
|
|
6
6
|
description: 'The title shown at the top of the feedback form encouraging users to leave feedback'
|
|
7
7
|
},
|
|
8
|
+
privacyPolicy: {
|
|
9
|
+
id: 'feedback-collector.atlassian-privacy-policy',
|
|
10
|
+
defaultMessage: 'Atlassian Privacy Policy',
|
|
11
|
+
description: 'Link text for the Atlassian Privacy Policy'
|
|
12
|
+
},
|
|
8
13
|
enrolInResearchLabel: {
|
|
9
14
|
id: 'feedback-collector.enrol-in-research.label',
|
|
10
|
-
defaultMessage: '
|
|
15
|
+
defaultMessage: "I'd like to participate in product research",
|
|
11
16
|
description: 'The checkbox label letting users enrol themselves in future product research interviews'
|
|
12
17
|
},
|
|
13
18
|
canBeContactedLabel: {
|
|
14
19
|
id: 'feedback-collector.can-be-contacted.label',
|
|
15
|
-
defaultMessage: 'Atlassian can contact me about
|
|
20
|
+
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian products and services. I acknowledge the ',
|
|
16
21
|
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
17
22
|
},
|
|
18
23
|
summaryPlaceholder: {
|
package/dist/es2019/version.json
CHANGED
|
@@ -126,7 +126,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
|
|
|
126
126
|
}, {
|
|
127
127
|
key: "getPackageVersion",
|
|
128
128
|
value: function getPackageVersion() {
|
|
129
|
-
return "12.2.
|
|
129
|
+
return "12.2.2" || 'Unknown, at least 11.0.0';
|
|
130
130
|
}
|
|
131
131
|
}, {
|
|
132
132
|
key: "getEntitlementInformation",
|
|
@@ -168,13 +168,10 @@ var FeedbackForm = function FeedbackForm(_ref) {
|
|
|
168
168
|
}, function (_ref5) {
|
|
169
169
|
var fieldProps = _ref5.fieldProps;
|
|
170
170
|
return /*#__PURE__*/React.createElement(Checkbox, _extends({}, fieldProps, {
|
|
171
|
-
label: canBeContactedLabel ||
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
}
|
|
176
|
-
return "<a href=\"https://www.atlassian.com/legal/privacy-policy\">".concat(chunks, "</a>");
|
|
177
|
-
}
|
|
171
|
+
label: canBeContactedLabel || /*#__PURE__*/React.createElement(FormattedMessage, messages.canBeContactedLabel, function (chunks) {
|
|
172
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, chunks, /*#__PURE__*/React.createElement("a", {
|
|
173
|
+
href: "https://www.atlassian.com/legal/privacy-policy"
|
|
174
|
+
}, formatMessage(messages.privacyPolicy)), ".");
|
|
178
175
|
}),
|
|
179
176
|
onChange: function onChange(event) {
|
|
180
177
|
return setCanBeContacted(event.target.checked);
|
package/dist/esm/messages.js
CHANGED
|
@@ -5,14 +5,19 @@ export var messages = defineMessages({
|
|
|
5
5
|
defaultMessage: 'Share your thoughts',
|
|
6
6
|
description: 'The title shown at the top of the feedback form encouraging users to leave feedback'
|
|
7
7
|
},
|
|
8
|
+
privacyPolicy: {
|
|
9
|
+
id: 'feedback-collector.atlassian-privacy-policy',
|
|
10
|
+
defaultMessage: 'Atlassian Privacy Policy',
|
|
11
|
+
description: 'Link text for the Atlassian Privacy Policy'
|
|
12
|
+
},
|
|
8
13
|
enrolInResearchLabel: {
|
|
9
14
|
id: 'feedback-collector.enrol-in-research.label',
|
|
10
|
-
defaultMessage: '
|
|
15
|
+
defaultMessage: "I'd like to participate in product research",
|
|
11
16
|
description: 'The checkbox label letting users enrol themselves in future product research interviews'
|
|
12
17
|
},
|
|
13
18
|
canBeContactedLabel: {
|
|
14
19
|
id: 'feedback-collector.can-be-contacted.label',
|
|
15
|
-
defaultMessage: 'Atlassian can contact me about
|
|
20
|
+
defaultMessage: 'Yes, Atlassian teams can contact me to learn about my experiences to improve Atlassian products and services. I acknowledge the ',
|
|
16
21
|
description: 'The checkbox label to give consent to be contacted about their feedback'
|
|
17
22
|
},
|
|
18
23
|
summaryPlaceholder: {
|
package/dist/esm/version.json
CHANGED
package/dist/types/messages.d.ts
CHANGED