@atlaskit/feedback-collector 16.9.2 → 16.11.0

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,28 @@
1
1
  # @atlaskit/feedback-collector
2
2
 
3
+ ## 16.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`243f107ca4fc8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/243f107ca4fc8) -
8
+ Update i18n NPM package versions for discovery,navigation,web-platform,bitbucket,policy-platform
9
+ (Group 14)
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 16.10.0
16
+
17
+ ### Minor Changes
18
+
19
+ - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
20
+ Remove stale API report artifacts from published Platform packages.
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies
25
+
3
26
  ## 16.9.2
4
27
 
5
28
  ### 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 "16.9.1" || 'Unknown, at least 11.0.0';
167
+ return "16.11.0" || 'Unknown, at least 11.0.0';
168
168
  }
169
169
  }, {
170
170
  key: "getEntitlementInformation",
@@ -92,7 +92,7 @@ export default class FeedbackCollector extends Component {
92
92
  return FeedbackCollector.defaultProps.url;
93
93
  }
94
94
  getPackageVersion() {
95
- return "16.9.1" || 'Unknown, at least 11.0.0';
95
+ return "16.11.0" || 'Unknown, at least 11.0.0';
96
96
  }
97
97
  async getEntitlementInformation() {
98
98
  var _entitlementDetails, _entitlementDetails2, _productName, _entitlement, _productEntitlement;
@@ -155,7 +155,7 @@ var FeedbackCollector = /*#__PURE__*/function (_Component) {
155
155
  }, {
156
156
  key: "getPackageVersion",
157
157
  value: function getPackageVersion() {
158
- return "16.9.1" || 'Unknown, at least 11.0.0';
158
+ return "16.11.0" || 'Unknown, at least 11.0.0';
159
159
  }
160
160
  }, {
161
161
  key: "getEntitlementInformation",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/feedback-collector",
3
- "version": "16.9.2",
3
+ "version": "16.11.0",
4
4
  "description": "A component that collects feedback across Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -24,20 +24,20 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@atlaskit/afm-i18n-platform-web-platform-feedback-collector": "2.210.0",
28
- "@atlaskit/button": "^25.2.0",
29
- "@atlaskit/checkbox": "^19.1.0",
30
- "@atlaskit/flag": "^18.4.0",
31
- "@atlaskit/form": "^17.1.0",
32
- "@atlaskit/icon": "^37.5.0",
27
+ "@atlaskit/afm-i18n-platform-web-platform-feedback-collector": "2.238.0",
28
+ "@atlaskit/button": "^25.3.0",
29
+ "@atlaskit/checkbox": "^19.2.0",
30
+ "@atlaskit/flag": "^18.5.0",
31
+ "@atlaskit/form": "^17.2.0",
32
+ "@atlaskit/icon": "^37.6.0",
33
33
  "@atlaskit/link": "^5.1.0",
34
- "@atlaskit/modal-dialog": "^16.5.0",
35
- "@atlaskit/platform-feature-flags": "^2.1.0",
36
- "@atlaskit/section-message": "^10.1.0",
37
- "@atlaskit/select": "^22.10.0",
38
- "@atlaskit/textarea": "^10.1.0",
39
- "@atlaskit/tokens": "^16.9.0",
40
- "@atlaskit/visually-hidden": "^4.3.0",
34
+ "@atlaskit/modal-dialog": "^16.6.0",
35
+ "@atlaskit/platform-feature-flags": "^2.2.0",
36
+ "@atlaskit/section-message": "^10.2.0",
37
+ "@atlaskit/select": "^22.11.0",
38
+ "@atlaskit/textarea": "^10.2.0",
39
+ "@atlaskit/tokens": "^16.11.0",
40
+ "@atlaskit/visually-hidden": "^4.4.0",
41
41
  "@babel/runtime": "^7.0.0"
42
42
  },
43
43
  "peerDependencies": {
@@ -47,10 +47,10 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@af/visual-regression": "workspace:^",
50
- "@atlaskit/primitives": "^22.4.0",
50
+ "@atlaskit/primitives": "^22.5.0",
51
51
  "@atlaskit/ssr": "workspace:^",
52
- "@atlaskit/textfield": "^10.1.0",
53
- "@atlassian/feature-flags-test-utils": "^1.2.0",
52
+ "@atlaskit/textfield": "^10.2.0",
53
+ "@atlassian/feature-flags-test-utils": "^1.3.0",
54
54
  "@testing-library/react": "^16.3.0",
55
55
  "buffer": "^6.0.3",
56
56
  "react": "^18.2.0",
@@ -62,20 +62,6 @@
62
62
  "react",
63
63
  "ui"
64
64
  ],
65
- "techstack": {
66
- "@atlassian/frontend": {
67
- "import-structure": "atlassian-conventions"
68
- },
69
- "@repo/internal": {
70
- "design-tokens": [
71
- "color"
72
- ],
73
- "deprecation": "no-deprecated-imports",
74
- "styling": [
75
- "emotion"
76
- ]
77
- }
78
- },
79
65
  "platform-feature-flags": {
80
66
  "platform.proforma-form-builder-feedback_hupaz": {
81
67
  "type": "boolean"
package/report.api.md DELETED
@@ -1,274 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/feedback-collector"
4
-
5
- > Do not edit this file. This report is auto-generated using
6
- > [API Extractor](https://api-extractor.com/).
7
- > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
8
-
9
- ### Table of contents
10
-
11
- - [Main Entry Types](#main-entry-types)
12
- - [Peer Dependencies](#peer-dependencies)
13
-
14
- ### Main Entry Types
15
-
16
- <!--SECTION START: Main Entry Types-->
17
-
18
- ```ts
19
- import { Component } from 'react';
20
- import { FunctionComponent } from 'react';
21
- import { default as React_2 } from 'react';
22
-
23
- // @public (undocumented)
24
- interface AkProps {
25
- // (undocumented)
26
- description?: React_2.ReactText;
27
- // (undocumented)
28
- isDismissAllowed?: boolean;
29
- // (undocumented)
30
- onDismissed?: (...args: Array<any>) => void;
31
- // (undocumented)
32
- title?: React_2.ReactText;
33
- }
34
-
35
- // @public (undocumented)
36
- export const FeedbackButton: React_2.FunctionComponent<Props_3>;
37
-
38
- // @public (undocumented)
39
- class FeedbackCollector extends Component<Props> {
40
- // (undocumented)
41
- addEmailToContext(): void;
42
- // (undocumented)
43
- componentDidMount(): Promise<void>;
44
- // (undocumented)
45
- static defaultProps: {
46
- url: string;
47
- shouldGetEntitlementDetails: boolean;
48
- canBeContactedFieldId: string;
49
- canBeContactedAgreeValue: {
50
- id: string;
51
- }[];
52
- canBeContactedDeclineValue: {
53
- id: string;
54
- }[];
55
- additionalFields: never[];
56
- customerNameFieldId: string;
57
- customerNameDefaultValue: string;
58
- descriptionFieldId: string;
59
- descriptionDefaultValue: string;
60
- enrollInResearchFieldId: string;
61
- enrollInResearchAgreeValue: {
62
- id: string;
63
- }[];
64
- enrollInResearchDeclineValue: {
65
- id: string;
66
- }[];
67
- summaryFieldId: string;
68
- summaryDefaultValue: string;
69
- summaryTruncateLength: number;
70
- timeoutOnSubmit: number;
71
- typeFieldId: string;
72
- typeBugDefaultValue: {
73
- id: string;
74
- };
75
- typeCommentDefaultValue: {
76
- id: string;
77
- };
78
- typeSuggestionDefaultValue: {
79
- id: string;
80
- };
81
- typeQuestionDefaultValue: {
82
- id: string;
83
- };
84
- typeEmptyDefaultValue: {
85
- id: string;
86
- };
87
- showTypeField: boolean;
88
- showDefaultTextFields: boolean;
89
- anonymousFeedback: boolean;
90
- onClose: () => void;
91
- onSubmit: () => void;
92
- };
93
- // (undocumented)
94
- getAtlassianID(): Promise<string | undefined>;
95
- // (undocumented)
96
- getCustomerName(): FieldValueType;
97
- // (undocumented)
98
- getDescription(formValues: FormFields): FieldValueType;
99
- // (undocumented)
100
- getEntitlementInformation(): Promise<FieldType[] | []>;
101
- // (undocumented)
102
- getFeedbackUrl(): string;
103
- // (undocumented)
104
- getGatewayUrl(): string;
105
- // (undocumented)
106
- getPackageVersion(): string;
107
- // (undocumented)
108
- getSummary(formValues: FormFields): FieldValueType;
109
- // (undocumented)
110
- getTypeFieldValue(dtype: SelectValue): FieldValueType;
111
- // (undocumented)
112
- mapFormToJSD(formValues: FormFields): Promise<FeedbackType>;
113
- // (undocumented)
114
- postFeedback: (formValues: FormFields) => Promise<void>;
115
- // (undocumented)
116
- render(): JSX.Element;
117
- // (undocumented)
118
- shouldShowOptInCheckboxes(): boolean;
119
- // (undocumented)
120
- shouldShowOptInCheckboxesNew(): Promise<boolean>;
121
- // (undocumented)
122
- state: {
123
- anonymousFeedback: boolean;
124
- };
125
- }
126
- export default FeedbackCollector;
127
-
128
- // @public (undocumented)
129
- export const FeedbackFlag: FunctionComponent<
130
- AkProps & {
131
- locale?: string;
132
- }
133
- >;
134
-
135
- // @public (undocumented)
136
- export const FeedbackForm: FunctionComponent<
137
- Props_2 & {
138
- locale?: string;
139
- }
140
- >;
141
-
142
- // @public (undocumented)
143
- type FeedbackType = {
144
- fields: FieldType[];
145
- };
146
-
147
- // @public (undocumented)
148
- type FieldType = {
149
- id: string;
150
- value: FieldValueType;
151
- };
152
-
153
- // @public (undocumented)
154
- type FieldValueType = Object | Object[] | string;
155
-
156
- // @public (undocumented)
157
- export interface FormFields {
158
- // (undocumented)
159
- canBeContacted: boolean;
160
- // (undocumented)
161
- description: string;
162
- // (undocumented)
163
- enrollInResearchGroup: boolean;
164
- // (undocumented)
165
- type: SelectValue;
166
- }
167
-
168
- // @public (undocumented)
169
- interface Props {
170
- additionalFields: FieldType[];
171
- anonymousFeedback?: boolean;
172
- atlassianAccountId?: string;
173
- canBeContactedAgreeValue: FieldValueType;
174
- canBeContactedDeclineValue: FieldValueType;
175
- canBeContactedFieldId: string;
176
- canBeContactedLabel?: React_2.ReactChild;
177
- cancelButtonLabel?: string;
178
- customContent?: React_2.ReactChild;
179
- customerNameDefaultValue: FieldValueType;
180
- customerNameFieldId: string;
181
- customFeedbackUrl?: string;
182
- customGatewayUrl?: string;
183
- descriptionDefaultValue: FieldValueType;
184
- descriptionFieldId: string;
185
- email?: string;
186
- enrolInResearchLabel?: React_2.ReactChild;
187
- enrollInResearchAgreeValue: FieldValueType;
188
- enrollInResearchDeclineValue: FieldValueType;
189
- enrollInResearchFieldId: string;
190
- entrypointId: string;
191
- feedbackGroupLabels?: Partial<Record<SelectValue, SelectOptionDetails>>;
192
- feedbackTitle?: React_2.ReactText;
193
- feedbackTitleDetails?: React_2.ReactChild;
194
- locale?: string;
195
- name?: string;
196
- onClose: () => void;
197
- onSubmit: (formFields: FormFields) => void;
198
- selectLabel?: string;
199
- shouldGetEntitlementDetails?: boolean;
200
- showDefaultTextFields?: boolean;
201
- showTypeField: boolean;
202
- submitButtonLabel?: string;
203
- summaryDefaultValue: FieldValueType;
204
- summaryFieldId: string;
205
- summaryPlaceholder?: string;
206
- summaryTruncateLength: number;
207
- timeoutOnSubmit: number;
208
- typeBugDefaultValue: FieldValueType;
209
- typeCommentDefaultValue: FieldValueType;
210
- typeEmptyDefaultValue: FieldValueType;
211
- typeFieldId: string;
212
- typeQuestionDefaultValue: FieldValueType;
213
- typeSuggestionDefaultValue: FieldValueType;
214
- url?: string;
215
- }
216
-
217
- // @public (undocumented)
218
- interface Props_2 {
219
- anonymousFeedback?: boolean;
220
- canBeContactedLabel?: React_2.ReactChild;
221
- cancelButtonLabel?: string;
222
- customContent?: React_2.ReactChild;
223
- enrolInResearchLabel?: React_2.ReactChild;
224
- feedbackGroupLabels?: Partial<Record<SelectValue, SelectOptionDetails>>;
225
- feedbackTitle?: React_2.ReactText;
226
- feedbackTitleDetails?: React_2.ReactChild;
227
- hasDescriptionDefaultValue?: boolean;
228
- locale?: string;
229
- onClose: () => void;
230
- onSubmit: (formValues: FormFields) => Promise<void>;
231
- selectLabel?: string;
232
- showDefaultTextFields?: boolean;
233
- showTypeField?: boolean;
234
- submitButtonLabel?: string;
235
- summaryPlaceholder?: string;
236
- }
237
-
238
- // @public (undocumented)
239
- interface Props_3 {
240
- // (undocumented)
241
- atlassianAccountId?: string;
242
- // (undocumented)
243
- entrypointId: string;
244
- // (undocumented)
245
- shouldGetEntitlementDetails?: boolean;
246
- }
247
-
248
- // @public (undocumented)
249
- interface SelectOptionDetails {
250
- // (undocumented)
251
- fieldLabel: string;
252
- // (undocumented)
253
- selectOptionLabel: string;
254
- }
255
-
256
- // @public (undocumented)
257
- type SelectValue = 'bug' | 'comment' | 'empty' | 'question' | 'suggestion';
258
-
259
- // (No @packageDocumentation comment for this package)
260
- ```
261
-
262
- <!--SECTION END: Main Entry Types-->
263
-
264
- ### Peer Dependencies
265
-
266
- <!--SECTION START: Peer Dependencies-->
267
-
268
- ```json
269
- {
270
- "react": "^16.8.0"
271
- }
272
- ```
273
-
274
- <!--SECTION END: Peer Dependencies-->