@atlaskit/link-create 1.1.0 → 1.1.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +51 -39
  2. package/dist/cjs/common/constants.js +4 -8
  3. package/dist/cjs/common/utils/analytics/analytics.codegen.js +1 -2
  4. package/dist/cjs/common/utils/analytics/context.js +1 -2
  5. package/dist/cjs/common/utils/form/index.js +2 -3
  6. package/dist/cjs/common/utils/locale/fetch-messages-for-locale.js +2 -3
  7. package/dist/cjs/controllers/callback-context/main.js +3 -5
  8. package/dist/cjs/controllers/form-context/main.js +5 -9
  9. package/dist/cjs/i18n/cs.js +2 -3
  10. package/dist/cjs/i18n/da.js +2 -3
  11. package/dist/cjs/i18n/de.js +2 -3
  12. package/dist/cjs/i18n/en.js +2 -3
  13. package/dist/cjs/i18n/en_GB.js +2 -3
  14. package/dist/cjs/i18n/en_ZZ.js +2 -3
  15. package/dist/cjs/i18n/es.js +2 -3
  16. package/dist/cjs/i18n/fi.js +2 -3
  17. package/dist/cjs/i18n/fr.js +2 -3
  18. package/dist/cjs/i18n/hu.js +2 -3
  19. package/dist/cjs/i18n/it.js +2 -3
  20. package/dist/cjs/i18n/ja.js +2 -3
  21. package/dist/cjs/i18n/ko.js +2 -3
  22. package/dist/cjs/i18n/nb.js +2 -3
  23. package/dist/cjs/i18n/nl.js +2 -3
  24. package/dist/cjs/i18n/pl.js +2 -3
  25. package/dist/cjs/i18n/pt_BR.js +2 -3
  26. package/dist/cjs/i18n/ru.js +2 -3
  27. package/dist/cjs/i18n/sv.js +2 -3
  28. package/dist/cjs/i18n/th.js +2 -3
  29. package/dist/cjs/i18n/tr.js +2 -3
  30. package/dist/cjs/i18n/uk.js +2 -3
  31. package/dist/cjs/i18n/vi.js +2 -3
  32. package/dist/cjs/i18n/zh.js +2 -3
  33. package/dist/cjs/i18n/zh_TW.js +2 -3
  34. package/dist/cjs/ui/create-form/async-select/main.js +1 -2
  35. package/dist/cjs/ui/create-form/form-footer/messages.js +2 -3
  36. package/dist/cjs/ui/create-form/form-spy/index.js +2 -3
  37. package/dist/cjs/ui/create-form/main.js +3 -5
  38. package/dist/cjs/ui/create-form/select/main.js +1 -2
  39. package/dist/cjs/ui/create-form/textfield/main.js +2 -2
  40. package/dist/cjs/ui/link-create/error-boundary/error-boundary-base/index.js +2 -3
  41. package/dist/cjs/ui/link-create/error-boundary/error-boundary-ui/error-svg/index.js +1 -2
  42. package/dist/cjs/ui/link-create/error-boundary/error-boundary-ui/index.js +3 -5
  43. package/dist/cjs/ui/link-create/error-boundary/error-boundary-ui/messages.js +2 -3
  44. package/dist/cjs/ui/link-create/error-boundary/index.js +4 -5
  45. package/dist/cjs/ui/link-create/main.js +2 -4
  46. package/dist/cjs/ui/link-create/messages.js +2 -3
  47. package/dist/cjs/ui/link-create/track-mount/index.js +1 -2
  48. package/dist/cjs/ui/main.js +4 -6
  49. package/dist/es2019/ui/main.js +2 -2
  50. package/dist/esm/ui/link-create/error-boundary/index.js +2 -2
  51. package/dist/esm/ui/main.js +2 -2
  52. package/package.json +6 -5
package/CHANGELOG.md CHANGED
@@ -1,167 +1,179 @@
1
1
  # @atlaskit/link-create
2
2
 
3
+ ## 1.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41867](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41867) [`2fb6074140b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2fb6074140b) - Add default value to environment variable
8
+
9
+ ## 1.1.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#40368](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40368) [`b77b38f55e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b77b38f55e3) - EDM-7921: fire ui analytics event for error component in jira-issue-form and add new error type and handling for NO_JIRA_SITE_FOUND_ERROR
14
+
3
15
  ## 1.1.0
4
16
 
5
17
  ### Minor Changes
6
18
 
7
- - [`d3b95d820f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3b95d820f7) - EDM-7280 Add analytics for Jira link create
19
+ - [#39079](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39079) [`d3b95d820f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3b95d820f7) - EDM-7280 Add analytics for Jira link create
8
20
 
9
21
  ## 1.0.3
10
22
 
11
23
  ### Patch Changes
12
24
 
13
- - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
25
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
14
26
  - Updated dependencies
15
27
 
16
28
  ## 1.0.2
17
29
 
18
30
  ### Patch Changes
19
31
 
20
- - [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
32
+ - [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925) [`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use injected env vars instead of version.json
21
33
 
22
34
  ## 1.0.1
23
35
 
24
36
  ### Patch Changes
25
37
 
26
- - [`572ea7d92bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/572ea7d92bd) - revised form mutator types
38
+ - [#38070](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38070) [`572ea7d92bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/572ea7d92bd) - revised form mutator types
27
39
 
28
40
  ## 1.0.0
29
41
 
30
42
  ### Major Changes
31
43
 
32
- - [`687749df97a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/687749df97a) - Refactor form components to use react-final-form
44
+ - [#37475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37475) [`687749df97a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/687749df97a) - Refactor form components to use react-final-form
33
45
 
34
46
  ## 0.10.0
35
47
 
36
48
  ### Minor Changes
37
49
 
38
- - [`dc546d1044a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc546d1044a) - Update failure handler in link-create API to take Error instead of string, and fire analytics on failure
50
+ - [#37341](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37341) [`dc546d1044a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dc546d1044a) - Update failure handler in link-create API to take Error instead of string, and fire analytics on failure
39
51
 
40
52
  ## 0.9.1
41
53
 
42
54
  ### Patch Changes
43
55
 
44
- - [`84b33e5a4b6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84b33e5a4b6) - EDM-6544: minor internal refactors with no expected functional change
56
+ - [#36913](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36913) [`84b33e5a4b6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84b33e5a4b6) - EDM-6544: minor internal refactors with no expected functional change
45
57
 
46
58
  ## 0.9.0
47
59
 
48
60
  ### Minor Changes
49
61
 
50
- - [`c209f670761`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c209f670761) - Improved testIds
62
+ - [#36926](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36926) [`c209f670761`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c209f670761) - Improved testIds
51
63
 
52
64
  ## 0.8.2
53
65
 
54
66
  ### Patch Changes
55
67
 
56
- - [`90ad796d91c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/90ad796d91c) - Fix fetching hyphened locales to underscores
68
+ - [#36843](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36843) [`90ad796d91c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/90ad796d91c) - Fix fetching hyphened locales to underscores
57
69
 
58
70
  ## 0.8.1
59
71
 
60
72
  ### Patch Changes
61
73
 
62
- - [`70b0f95345a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70b0f95345a) - Add support for i18n
74
+ - [#36761](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36761) [`70b0f95345a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70b0f95345a) - Add support for i18n
63
75
 
64
76
  ## 0.8.0
65
77
 
66
78
  ### Minor Changes
67
79
 
68
- - [`f3acb380cb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f3acb380cb2) - EDM-7064: remove FormContextProvider export to prevent usage in external packages.
80
+ - [#36304](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36304) [`f3acb380cb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f3acb380cb2) - EDM-7064: remove FormContextProvider export to prevent usage in external packages.
69
81
 
70
82
  ## 0.7.1
71
83
 
72
84
  ### Patch Changes
73
85
 
74
- - [`41d73aab05c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41d73aab05c) - EDM-6938: pass spaceName into onCreate submit for confluence-create and pass as optional meta data into link-create."
86
+ - [#35576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35576) [`41d73aab05c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41d73aab05c) - EDM-6938: pass spaceName into onCreate submit for confluence-create and pass as optional meta data into link-create."
75
87
 
76
88
  ## 0.7.0
77
89
 
78
90
  ### Minor Changes
79
91
 
80
- - [`eb070266532`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb070266532) - Expose Modal callbacks and Add modalTitle to the linkCreate Props
92
+ - [#35134](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35134) [`eb070266532`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb070266532) - Expose Modal callbacks and Add modalTitle to the linkCreate Props
81
93
 
82
94
  ## 0.6.0
83
95
 
84
96
  ### Minor Changes
85
97
 
86
- - [`ac3927f0650`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac3927f0650) - Make modal 480px wide, Update TextField to take isRequired prop w/o default browser validation, remove extra internal spacing in the create form
98
+ - [#35035](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35035) [`ac3927f0650`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ac3927f0650) - Make modal 480px wide, Update TextField to take isRequired prop w/o default browser validation, remove extra internal spacing in the create form
87
99
 
88
100
  ## 0.5.7
89
101
 
90
102
  ### Patch Changes
91
103
 
92
- - [`ffb87e553ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ffb87e553ea) - Hides the validation error when user edits the field
104
+ - [#34925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34925) [`ffb87e553ea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ffb87e553ea) - Hides the validation error when user edits the field
93
105
 
94
106
  ## 0.5.6
95
107
 
96
108
  ### Patch Changes
97
109
 
98
- - [`a02d619af5c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a02d619af5c) - Changed onCreate to return a possible Promise to hold the create button spinner while submitting
110
+ - [#34759](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34759) [`a02d619af5c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a02d619af5c) - Changed onCreate to return a possible Promise to hold the create button spinner while submitting
99
111
 
100
112
  ## 0.5.5
101
113
 
102
114
  ### Patch Changes
103
115
 
104
- - [`7b5fb18bb63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b5fb18bb63) - Update screen event to UI
116
+ - [#34750](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34750) [`7b5fb18bb63`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b5fb18bb63) - Update screen event to UI
105
117
 
106
118
  ## 0.5.4
107
119
 
108
120
  ### Patch Changes
109
121
 
110
- - [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
122
+ - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443) [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
111
123
 
112
124
  ## 0.5.3
113
125
 
114
126
  ### Patch Changes
115
127
 
116
- - [`ae5ac36af00`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae5ac36af00) - Updates analytics codegen to support screen events.
128
+ - [#34463](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34463) [`ae5ac36af00`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae5ac36af00) - Updates analytics codegen to support screen events.
117
129
 
118
130
  ## 0.5.2
119
131
 
120
132
  ### Patch Changes
121
133
 
122
- - [`7734ef0bdb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7734ef0bdb4) - allowing default values in confluence creation form.
134
+ - [#34207](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34207) [`7734ef0bdb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7734ef0bdb4) - allowing default values in confluence creation form.
123
135
 
124
136
  ## 0.5.1
125
137
 
126
138
  ### Patch Changes
127
139
 
128
- - [`2d812255401`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d812255401) - EDM-6561: add an autofocus on title field in create modal and change cancel button labeling to close
140
+ - [#33671](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33671) [`2d812255401`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2d812255401) - EDM-6561: add an autofocus on title field in create modal and change cancel button labeling to close
129
141
 
130
142
  ## 0.5.0
131
143
 
132
144
  ### Minor Changes
133
145
 
134
- - [`ad753581e70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad753581e70) - [ux] Moves the FormFooter out of CreateForm and provides a new CreateFormLoader component & now we handle the submitting state in the form context
146
+ - [#33735](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33735) [`ad753581e70`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ad753581e70) - [ux] Moves the FormFooter out of CreateForm and provides a new CreateFormLoader component & now we handle the submitting state in the form context
135
147
 
136
148
  ## 0.4.4
137
149
 
138
150
  ### Patch Changes
139
151
 
140
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
152
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
141
153
 
142
154
  ## 0.4.3
143
155
 
144
156
  ### Patch Changes
145
157
 
146
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
158
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
147
159
 
148
160
  ## 0.4.2
149
161
 
150
162
  ### Patch Changes
151
163
 
152
- - [`93af54caca2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93af54caca2) - EDM-6553: no functionality change, just updating UI so that there is padding between the cancel and create button for link-create. Also updated the dropdown error message.
164
+ - [#33372](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33372) [`93af54caca2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/93af54caca2) - EDM-6553: no functionality change, just updating UI so that there is padding between the cancel and create button for link-create. Also updated the dropdown error message.
153
165
 
154
166
  ## 0.4.1
155
167
 
156
168
  ### Patch Changes
157
169
 
158
- - [`3c5946b6cdf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c5946b6cdf) - EDM-6524: remove isRequired prop from textfield in create component as browser validation will not be used, also spread AKTextfield props to stop exposure of testid and placeholder props.
170
+ - [#33186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33186) [`3c5946b6cdf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3c5946b6cdf) - EDM-6524: remove isRequired prop from textfield in create component as browser validation will not be used, also spread AKTextfield props to stop exposure of testid and placeholder props.
159
171
 
160
172
  ## 0.4.0
161
173
 
162
174
  ### Minor Changes
163
175
 
164
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
176
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
165
177
 
166
178
  ### Patch Changes
167
179
 
@@ -171,38 +183,38 @@
171
183
 
172
184
  ### Patch Changes
173
185
 
174
- - [`5cbb3a0f20c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5cbb3a0f20c) - Fix tangerine lint warnings & fix SVG id not unique & add VR test for dropdowns in modal & handle plugin errors
186
+ - [#32602](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32602) [`5cbb3a0f20c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5cbb3a0f20c) - Fix tangerine lint warnings & fix SVG id not unique & add VR test for dropdowns in modal & handle plugin errors
175
187
 
176
188
  ## 0.3.2
177
189
 
178
190
  ### Patch Changes
179
191
 
180
- - [`1600a0d171f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1600a0d171f) - Adds various eslint-ignores for tokens-related warnings
192
+ - [#32501](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32501) [`1600a0d171f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1600a0d171f) - Adds various eslint-ignores for tokens-related warnings
181
193
 
182
194
  ## 0.3.1
183
195
 
184
196
  ### Patch Changes
185
197
 
186
- - [`9e1c1e92771`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e1c1e92771) - Fire analytics
198
+ - [#32659](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32659) [`9e1c1e92771`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e1c1e92771) - Fire analytics
187
199
 
188
200
  ## 0.3.0
189
201
 
190
202
  ### Minor Changes
191
203
 
192
- - [`29dfee4c540`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29dfee4c540) - Adds global error boundary and fixes footer padding
204
+ - [#32457](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32457) [`29dfee4c540`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29dfee4c540) - Adds global error boundary and fixes footer padding
193
205
 
194
206
  ## 0.2.1
195
207
 
196
208
  ### Patch Changes
197
209
 
198
- - [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
210
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
199
211
  - Updated dependencies
200
212
 
201
213
  ## 0.2.0
202
214
 
203
215
  ### Minor Changes
204
216
 
205
- - [`a765caedf71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a765caedf71) - EDM-5666 Implement Create Confluence Plugin
217
+ - [#30840](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30840) [`a765caedf71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a765caedf71) - EDM-5666 Implement Create Confluence Plugin
206
218
 
207
219
  ### Patch Changes
208
220
 
@@ -212,34 +224,34 @@
212
224
 
213
225
  ### Patch Changes
214
226
 
215
- - [`5da1c8f4422`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5da1c8f4422) - Integrate with link-create-presets
227
+ - [#31972](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31972) [`5da1c8f4422`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5da1c8f4422) - Integrate with link-create-presets
216
228
 
217
229
  ## 0.1.1
218
230
 
219
231
  ### Patch Changes
220
232
 
221
- - [`63acd1bc789`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63acd1bc789) - Update examples with presets
233
+ - [#31721](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31721) [`63acd1bc789`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63acd1bc789) - Update examples with presets
222
234
 
223
235
  ## 0.1.0
224
236
 
225
237
  ### Minor Changes
226
238
 
227
- - [`7e7ca45dbe4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e7ca45dbe4) - Exports LinkCreateProps and LinkCreatePlugin Types
239
+ - [#30674](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30674) [`7e7ca45dbe4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7e7ca45dbe4) - Exports LinkCreateProps and LinkCreatePlugin Types
228
240
 
229
241
  ## 0.0.4
230
242
 
231
243
  ### Patch Changes
232
244
 
233
- - [`09697a312bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/09697a312bc) - EDM-5657 EDM-5661 Implement Select and Textfield components
245
+ - [#30194](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30194) [`09697a312bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/09697a312bc) - EDM-5657 EDM-5661 Implement Select and Textfield components
234
246
 
235
247
  ## 0.0.3
236
248
 
237
249
  ### Patch Changes
238
250
 
239
- - [`4b8910b3460`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b8910b3460) - Add link-create-confluence package
251
+ - [#30122](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30122) [`4b8910b3460`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4b8910b3460) - Add link-create-confluence package
240
252
 
241
253
  ## 0.0.2
242
254
 
243
255
  ### Patch Changes
244
256
 
245
- - [`d7724023d26`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7724023d26) - Initial version of Create component
257
+ - [#29757](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29757) [`d7724023d26`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7724023d26) - Initial version of Create component
@@ -4,11 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MAX_WIDTH_IN_PX = exports.COMPONENT_NAME = exports.ANALYTICS_CHANNEL = void 0;
7
- var ANALYTICS_CHANNEL = 'media';
8
- exports.ANALYTICS_CHANNEL = ANALYTICS_CHANNEL;
9
- var COMPONENT_NAME = 'linkCreate';
10
- exports.COMPONENT_NAME = COMPONENT_NAME;
11
- var CREATE_FORM_MAX_WIDTH_IN_PX = '480';
12
- exports.CREATE_FORM_MAX_WIDTH_IN_PX = CREATE_FORM_MAX_WIDTH_IN_PX;
13
- var CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
14
- exports.CREATE_FORM_MIN_HEIGHT_IN_PX = CREATE_FORM_MIN_HEIGHT_IN_PX;
7
+ var ANALYTICS_CHANNEL = exports.ANALYTICS_CHANNEL = 'media';
8
+ var COMPONENT_NAME = exports.COMPONENT_NAME = 'linkCreate';
9
+ var CREATE_FORM_MAX_WIDTH_IN_PX = exports.CREATE_FORM_MAX_WIDTH_IN_PX = '480';
10
+ var CREATE_FORM_MIN_HEIGHT_IN_PX = exports.CREATE_FORM_MIN_HEIGHT_IN_PX = '200';
@@ -38,5 +38,4 @@ function createEventPayload(eventKey, attributes) {
38
38
  attributes: attributes
39
39
  };
40
40
  }
41
- var _default = createEventPayload;
42
- exports.default = _default;
41
+ var _default = exports.default = createEventPayload;
@@ -60,14 +60,13 @@ var contextAttributesFromInitialProps = function contextAttributesFromInitialPro
60
60
  /**
61
61
  * Hook that exposes the context-level attribute getters and setters.
62
62
  */
63
- var useLinkCreateAnalytics = function useLinkCreateAnalytics() {
63
+ var useLinkCreateAnalytics = exports.useLinkCreateAnalytics = function useLinkCreateAnalytics() {
64
64
  return (0, _react.useContext)(LinkCreateAnalyticsContext);
65
65
  };
66
66
 
67
67
  /**
68
68
  * Wrap component in "attributes" context store and initialise the initial context attributes from props.
69
69
  */
70
- exports.useLinkCreateAnalytics = useLinkCreateAnalytics;
71
70
  function withLinkCreateAnalytics(WrappedComponent) {
72
71
  return function (props) {
73
72
  var _useState = (0, _react.useState)(function () {
@@ -9,7 +9,6 @@ exports.validateSubmitErrors = void 0;
9
9
  * to let a Field know if it should hide the error message until
10
10
  * the next submit, or if it returns to the previous error state
11
11
  */
12
- var validateSubmitErrors = function validateSubmitErrors(meta) {
12
+ var validateSubmitErrors = exports.validateSubmitErrors = function validateSubmitErrors(meta) {
13
13
  return !!(meta.touched && (meta.error || meta.submitError && !meta.dirtySinceLastSubmit));
14
- };
15
- exports.validateSubmitErrors = validateSubmitErrors;
14
+ };
@@ -11,7 +11,7 @@ var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/
11
11
  var _en = _interopRequireDefault(require("../../../i18n/en"));
12
12
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
13
13
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
- var fetchMessagesForLocale = /*#__PURE__*/function () {
14
+ var fetchMessagesForLocale = exports.fetchMessagesForLocale = /*#__PURE__*/function () {
15
15
  var _ref = (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee(locale) {
16
16
  var _messages, parentLocale, _messages2;
17
17
  return _regenerator.default.wrap(function _callee$(_context) {
@@ -60,5 +60,4 @@ var fetchMessagesForLocale = /*#__PURE__*/function () {
60
60
  return function fetchMessagesForLocale(_x) {
61
61
  return _ref.apply(this, arguments);
62
62
  };
63
- }();
64
- exports.fetchMessagesForLocale = fetchMessagesForLocale;
63
+ }();
@@ -15,7 +15,7 @@ var _analytics = _interopRequireDefault(require("../../common/utils/analytics/an
15
15
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
17
  var LinkCreateCallbackContext = /*#__PURE__*/_react.default.createContext({});
18
- var LinkCreateCallbackProvider = function LinkCreateCallbackProvider(_ref) {
18
+ var LinkCreateCallbackProvider = exports.LinkCreateCallbackProvider = function LinkCreateCallbackProvider(_ref) {
19
19
  var children = _ref.children,
20
20
  _onCreate = _ref.onCreate,
21
21
  _onFailure = _ref.onFailure,
@@ -79,8 +79,6 @@ var LinkCreateCallbackProvider = function LinkCreateCallbackProvider(_ref) {
79
79
  value: value
80
80
  }, children);
81
81
  };
82
- exports.LinkCreateCallbackProvider = LinkCreateCallbackProvider;
83
- var useLinkCreateCallback = function useLinkCreateCallback() {
82
+ var useLinkCreateCallback = exports.useLinkCreateCallback = function useLinkCreateCallback() {
84
83
  return (0, _react.useContext)(LinkCreateCallbackContext);
85
- };
86
- exports.useLinkCreateCallback = useLinkCreateCallback;
84
+ };
@@ -13,15 +13,14 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
13
13
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
14
14
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
15
15
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16
- var FormContext = /*#__PURE__*/(0, _react.createContext)({
16
+ var FormContext = exports.FormContext = /*#__PURE__*/(0, _react.createContext)({
17
17
  assignValidator: function assignValidator() {},
18
18
  getValidators: function getValidators() {
19
19
  return {};
20
20
  },
21
21
  setFormErrorMessage: function setFormErrorMessage() {}
22
22
  });
23
- exports.FormContext = FormContext;
24
- var FormContextProvider = function FormContextProvider(_ref) {
23
+ var FormContextProvider = exports.FormContextProvider = function FormContextProvider(_ref) {
25
24
  var children = _ref.children;
26
25
  var _useState = (0, _react.useState)(),
27
26
  _useState2 = (0, _slicedToArray2.default)(_useState, 2),
@@ -57,14 +56,11 @@ var FormContextProvider = function FormContextProvider(_ref) {
57
56
  }
58
57
  }, children);
59
58
  };
60
- exports.FormContextProvider = FormContextProvider;
61
- var useFormContext = function useFormContext() {
59
+ var useFormContext = exports.useFormContext = function useFormContext() {
62
60
  return (0, _react.useContext)(FormContext);
63
61
  };
64
- exports.useFormContext = useFormContext;
65
- var withLinkCreateFormContext = function withLinkCreateFormContext(WrappedComponent) {
62
+ var withLinkCreateFormContext = exports.withLinkCreateFormContext = function withLinkCreateFormContext(WrappedComponent) {
66
63
  return function (props) {
67
64
  return /*#__PURE__*/_react.default.createElement(FormContextProvider, null, /*#__PURE__*/_react.default.createElement(WrappedComponent, props));
68
65
  };
69
- };
70
- exports.withLinkCreateFormContext = withLinkCreateFormContext;
66
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Czech
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Obnovte stránku nebo, pokud problém přetrvává, kontaktujte <a>podporu Atlassian</a>.',
17
17
  'link-create.unknown-error.heading': 'Něco se pokazilo',
18
18
  'linkCreate.createForm.button.close': 'Zavřít',
19
19
  'linkCreate.createForm.button.create': 'Vytvořit',
20
20
  'linkCreate.modal.heading': 'Vytvořit novou položku'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Danish (Denmark)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Opdater siden, eller kontakt <a>Atlassian-support</a>, hvis det bliver ved med at ske.',
17
17
  'link-create.unknown-error.heading': 'Noget gik galt',
18
18
  'linkCreate.createForm.button.close': 'Luk',
19
19
  'linkCreate.createForm.button.create': 'Opret',
20
20
  'linkCreate.modal.heading': 'Opret ny'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //German (Germany)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Laden Sie die Seite erneut oder wenden Sie sich an den <a>Atlassian Support</a>, falls das Problem weiterhin besteht.',
17
17
  'link-create.unknown-error.heading': 'Etwas ist schiefgelaufen',
18
18
  'linkCreate.createForm.button.close': 'Schließen',
19
19
  'linkCreate.createForm.button.create': 'Erstellen',
20
20
  'linkCreate.modal.heading': 'Neu erstellen'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
17
17
  'link-create.unknown-error.heading': 'Something went wrong',
18
18
  'linkCreate.createForm.button.close': 'Close',
19
19
  'linkCreate.createForm.button.create': 'Create',
20
20
  'linkCreate.modal.heading': 'Create new'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //English (United Kingdom)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
17
17
  'link-create.unknown-error.heading': 'Something went wrong',
18
18
  'linkCreate.createForm.button.close': 'Close',
19
19
  'linkCreate.createForm.button.create': 'Create',
20
20
  'linkCreate.modal.heading': 'Create new'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': '⁣⁢Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.⁠‌؜⁡‍‌⁡؜⁠‌؜⁠⁣⁤',
17
17
  'link-create.unknown-error.heading': '⁣⁢Something went wrong‍‍⁡⁡‌‌⁠⁠‌⁡⁣⁤',
18
18
  'linkCreate.createForm.button.close': '⁣⁢Close‌‌‌⁡‍⁡⁡؜‌‍⁣⁤',
19
19
  'linkCreate.createForm.button.create': '⁣⁢Create‍⁡‌؜⁡؜‍‌‌⁣⁤',
20
20
  'linkCreate.modal.heading': '⁣⁢Create new‌‌⁠⁡؜‌⁠⁠⁣⁤'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Spanish (International)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Actualiza la página o ponte en contacto con el <a>soporte de Atlassian</a> si sigue ocurriendo.',
17
17
  'link-create.unknown-error.heading': 'Se ha producido un error',
18
18
  'linkCreate.createForm.button.close': 'Cerrar',
19
19
  'linkCreate.createForm.button.create': 'Crear',
20
20
  'linkCreate.modal.heading': 'Crear nuevo'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Finnish
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Päivitä sivu tai ota yhteyttä <a>Atlassian-tukeen</a>, jos ongelmat jatkuvat.',
17
17
  'link-create.unknown-error.heading': 'Jokin meni vikaan',
18
18
  'linkCreate.createForm.button.close': 'Sulje',
19
19
  'linkCreate.createForm.button.create': 'Luo',
20
20
  'linkCreate.modal.heading': 'Luo uusi'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //French (France)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Actualisez la page ou contactez le <a>support Atlassian</a> si le problème se reproduit.',
17
17
  'link-create.unknown-error.heading': 'Une erreur est survenue',
18
18
  'linkCreate.createForm.button.close': 'Fermer',
19
19
  'linkCreate.createForm.button.create': 'Créer',
20
20
  'linkCreate.modal.heading': 'Créer'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Hungarian
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Frissítsd az oldalt, vagy vedd fel a kapcsolatot az <a>Atlassian Támogatással</a>, ha ez a későbbiekben is megtörténik.',
17
17
  'link-create.unknown-error.heading': 'Hiba történt',
18
18
  'linkCreate.createForm.button.close': 'Bezárás',
19
19
  'linkCreate.createForm.button.create': 'Létrehozás',
20
20
  'linkCreate.modal.heading': 'Új létrehozása'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Italian (Italy)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': "Aggiorna la pagina o, se il problema persiste, contatta l'<a>Assistenza Atlassian</a>.",
17
17
  'link-create.unknown-error.heading': 'Si è verificato un problema',
18
18
  'linkCreate.createForm.button.close': 'Chiudi',
19
19
  'linkCreate.createForm.button.create': 'Crea',
20
20
  'linkCreate.modal.heading': 'Crea nuovo'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Japanese
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'ページを更新してください。問題が解決しない場合は、<a>アトラシアン サポート</a>にお問い合わせください。',
17
17
  'link-create.unknown-error.heading': 'エラーが発生しました',
18
18
  'linkCreate.createForm.button.close': '閉じる',
19
19
  'linkCreate.createForm.button.create': '作成',
20
20
  'linkCreate.modal.heading': '新規作成'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Korean
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': '페이지를 새로 고치거나 문제가 계속 발생하는 경우 <a>Atlassian 고객 지원 팀</a>에 문의하세요.',
17
17
  'link-create.unknown-error.heading': '문제가 발생했습니다',
18
18
  'linkCreate.createForm.button.close': '닫기',
19
19
  'linkCreate.createForm.button.create': '만들기',
20
20
  'linkCreate.modal.heading': '새로 만들기'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Norwegian (Bokmål)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Oppdater siden, eller kontakt <a>Atlassian-støtte</a> hvis problemet vedvarer.',
17
17
  'link-create.unknown-error.heading': 'Det oppstod en feil',
18
18
  'linkCreate.createForm.button.close': 'Lukk',
19
19
  'linkCreate.createForm.button.create': 'Opprett',
20
20
  'linkCreate.modal.heading': 'Opprett ny'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Dutch (Netherlands)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Vernieuw de pagina of neem contact op met <a>Atlassian-support</a> als dit blijft gebeuren.',
17
17
  'link-create.unknown-error.heading': 'Er is iets misgegaan',
18
18
  'linkCreate.createForm.button.close': 'Sluiten',
19
19
  'linkCreate.createForm.button.create': 'Aanmaken',
20
20
  'linkCreate.modal.heading': 'Nieuwe aanmaken'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Polish (Poland)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Odśwież stronę lub skontaktuj się z <a>działem wsparcia Atlassian</a>, jeśli sytuacja będzie się powtarzać.',
17
17
  'link-create.unknown-error.heading': 'Coś poszło nie tak',
18
18
  'linkCreate.createForm.button.close': 'Zamknij',
19
19
  'linkCreate.createForm.button.create': 'Utwórz',
20
20
  'linkCreate.modal.heading': 'Utwórz nową'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Portuguese (Brazil)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Atualize a página ou fale com o <a>Suporte da Atlassian</a> se o erro persistir.',
17
17
  'link-create.unknown-error.heading': 'Algo deu errado',
18
18
  'linkCreate.createForm.button.close': 'Fechar',
19
19
  'linkCreate.createForm.button.create': 'Criar',
20
20
  'linkCreate.modal.heading': 'Criar novo'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Russian
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Обновите страницу и, если проблема возникнет снова, обратитесь в <a>поддержку Atlassian</a>.',
17
17
  'link-create.unknown-error.heading': 'Произошла ошибка',
18
18
  'linkCreate.createForm.button.close': 'Закрыть',
19
19
  'linkCreate.createForm.button.create': 'Создать',
20
20
  'linkCreate.modal.heading': 'Создание'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Swedish
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Uppdatera sidan eller kontakta <a>Atlassians support</a> om problemet kvarstår.',
17
17
  'link-create.unknown-error.heading': 'Något gick fel',
18
18
  'linkCreate.createForm.button.close': 'Stäng',
19
19
  'linkCreate.createForm.button.create': 'Skapa',
20
20
  'linkCreate.modal.heading': 'Skapa ny'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Thai (Thailand)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'รีเฟรชหน้าข้อมูล หรือติดต่อฝ่าย <a>สนับสนุน Atlassian</a> หากยังคงมีปัญหานี้เกิดขึ้น',
17
17
  'link-create.unknown-error.heading': 'เกิดข้อผิดพลาดบางอย่าง',
18
18
  'linkCreate.createForm.button.close': 'ปิด',
19
19
  'linkCreate.createForm.button.create': 'สร้าง',
20
20
  'linkCreate.modal.heading': 'สร้างใหม่'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Turkish (Turkey)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Sayfayı yenileyin veya sorun devam ederse <a>Atlassian Destek</a> ekibiyle iletişime geçin.',
17
17
  'link-create.unknown-error.heading': 'Bir hata oluştu',
18
18
  'linkCreate.createForm.button.close': 'Kapat',
19
19
  'linkCreate.createForm.button.create': 'Oluştur',
20
20
  'linkCreate.modal.heading': 'Yenisini oluşturun'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Ukrainian (Ukraine)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Якщо помилка виникатиме знову, оновіть сторінку або зверніться до <a>служби підтримки Atlassian</a>.',
17
17
  'link-create.unknown-error.heading': 'Сталася помилка',
18
18
  'linkCreate.createForm.button.close': 'Закрити',
19
19
  'linkCreate.createForm.button.create': 'Створити',
20
20
  'linkCreate.modal.heading': 'Створення'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Vietnamese (Vietnam)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': 'Làm mới trang hoặc liên hệ với <a>Bộ phận hỗ trợ Atlassian</a> nếu sự cố này vẫn tiếp diễn.',
17
17
  'link-create.unknown-error.heading': 'Đã xảy ra lỗi',
18
18
  'linkCreate.createForm.button.close': 'Đóng',
19
19
  'linkCreate.createForm.button.create': 'Tạo',
20
20
  'linkCreate.modal.heading': 'Tạo mới'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Chinese (Simplified)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': '如果此问题依然存在,请刷新页面或联系 <a>Atlassian 支持团队</a>。',
17
17
  'link-create.unknown-error.heading': '出错了',
18
18
  'linkCreate.createForm.button.close': '关闭',
19
19
  'linkCreate.createForm.button.create': '创建',
20
20
  'linkCreate.modal.heading': '新建'
21
- };
22
- exports.default = _default;
21
+ };
@@ -12,11 +12,10 @@ exports.default = void 0;
12
12
  * DO NOT CHANGE IT BY HAND or your changes will be lost.
13
13
  */
14
14
  //Chinese (Traditional)
15
- var _default = {
15
+ var _default = exports.default = {
16
16
  'link-create.unknown-error.description': '請重新整理頁面,如果持續發生錯誤,請連絡 <a>Atlassian 支援人員</a>。',
17
17
  'link-create.unknown-error.heading': '發生錯誤',
18
18
  'linkCreate.createForm.button.close': '關閉',
19
19
  'linkCreate.createForm.button.create': '建立',
20
20
  'linkCreate.modal.heading': '新建'
21
- };
22
- exports.default = _default;
21
+ };
@@ -20,7 +20,7 @@ var _createField = require("../../../controllers/create-field");
20
20
  var _excluded = ["id", "name", "label", "isRequired", "validators", "validationHelpText", "testId", "defaultOption", "loadOptions"],
21
21
  _excluded2 = ["fieldId"];
22
22
  /** @jsx jsx */
23
- var TEST_ID = 'link-create-async-select';
23
+ var TEST_ID = exports.TEST_ID = 'link-create-async-select';
24
24
 
25
25
  /**
26
26
  * An async select utilising the Atlaskit AsyncSelect and CreateField.
@@ -28,7 +28,6 @@ var TEST_ID = 'link-create-async-select';
28
28
  * errors returned by the handleSubmit function passed to the form <Form> that
29
29
  * have a key matching the `name` of this field are shown below the field.
30
30
  */
31
- exports.TEST_ID = TEST_ID;
32
31
  function AsyncSelect(_ref) {
33
32
  var id = _ref.id,
34
33
  name = _ref.name,
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.messages = void 0;
7
7
  var _reactIntlNext = require("react-intl-next");
8
- var messages = (0, _reactIntlNext.defineMessages)({
8
+ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
9
9
  close: {
10
10
  id: 'linkCreate.createForm.button.close',
11
11
  defaultMessage: 'Close',
@@ -16,5 +16,4 @@ var messages = (0, _reactIntlNext.defineMessages)({
16
16
  defaultMessage: 'Create',
17
17
  description: 'Button to submit the form and Create object'
18
18
  }
19
- });
20
- exports.messages = messages;
19
+ });
@@ -12,7 +12,7 @@ var _reactFinalForm = require("react-final-form");
12
12
  * FormSpy component so that we can control selectively
13
13
  * how much of the API we are commited to.
14
14
  */
15
- var FormSpy = function FormSpy(_ref) {
15
+ var FormSpy = exports.FormSpy = function FormSpy(_ref) {
16
16
  var children = _ref.children;
17
17
  return /*#__PURE__*/_react.default.createElement(_reactFinalForm.FormSpy, {
18
18
  subscription: {
@@ -23,5 +23,4 @@ var FormSpy = function FormSpy(_ref) {
23
23
  values: props.values
24
24
  });
25
25
  });
26
- };
27
- exports.FormSpy = FormSpy;
26
+ };
@@ -25,9 +25,8 @@ var formStyles = (0, _react2.css)({
25
25
  padding: "0 0 ".concat("var(--ds-space-300, 24px)", " 0"),
26
26
  margin: "var(--ds-space-0, 0px)".concat(" auto")
27
27
  });
28
- var TEST_ID = 'link-create-form';
29
- exports.TEST_ID = TEST_ID;
30
- var CreateForm = function CreateForm(_ref) {
28
+ var TEST_ID = exports.TEST_ID = 'link-create-form';
29
+ var CreateForm = exports.CreateForm = function CreateForm(_ref) {
31
30
  var children = _ref.children,
32
31
  _ref$testId = _ref.testId,
33
32
  testId = _ref$testId === void 0 ? TEST_ID : _ref$testId,
@@ -102,5 +101,4 @@ var CreateForm = function CreateForm(_ref) {
102
101
  testId: testId
103
102
  }));
104
103
  });
105
- };
106
- exports.CreateForm = CreateForm;
104
+ };
@@ -14,14 +14,13 @@ var _createField = require("../../../controllers/create-field");
14
14
  var _excluded = ["id", "name", "label", "isRequired", "validators", "validationHelpText", "testId"],
15
15
  _excluded2 = ["fieldId"];
16
16
  /** @jsx jsx */
17
- var TEST_ID = 'link-create-select';
17
+ var TEST_ID = exports.TEST_ID = 'link-create-select';
18
18
  /**
19
19
  * A select component utilising the Atlaskit Select and CreateField.
20
20
  * Validation is handled by the form on form submission. Any
21
21
  * errors returned by the handleSubmit function passed to the form <Form> that
22
22
  * have a key matching the `name` of this field are shown below the field.
23
23
  */
24
- exports.TEST_ID = TEST_ID;
25
24
  function Select(_ref) {
26
25
  var id = _ref.id,
27
26
  name = _ref.name,
@@ -14,7 +14,7 @@ var _createField = require("../../../controllers/create-field");
14
14
  var _excluded = ["id", "name", "label", "isRequired", "validators", "validationHelpText", "testId"],
15
15
  _excluded2 = ["fieldId"];
16
16
  /** @jsx jsx */
17
- var TEST_ID = 'link-create-text-field';
17
+ var TEST_ID = exports.TEST_ID = 'link-create-text-field';
18
18
 
19
19
  /**
20
20
  * A text field utilising the Atlaskit Textfield and CreateField.
@@ -22,7 +22,7 @@ var TEST_ID = 'link-create-text-field';
22
22
  * the handleSubmit function passed to the form <Form> that have a key matching the `name`
23
23
  * of this text field are shown above the field.
24
24
  */
25
- exports.TEST_ID = TEST_ID;
25
+
26
26
  function TextField(_ref) {
27
27
  var id = _ref.id,
28
28
  name = _ref.name,
@@ -17,7 +17,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
17
17
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
18
18
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
19
19
  // eslint-disable-next-line @repo/internal/react/no-class-components
20
- var BaseErrorBoundary = /*#__PURE__*/function (_Component) {
20
+ var BaseErrorBoundary = exports.BaseErrorBoundary = /*#__PURE__*/function (_Component) {
21
21
  (0, _inherits2.default)(BaseErrorBoundary, _Component);
22
22
  var _super = _createSuper(BaseErrorBoundary);
23
23
  function BaseErrorBoundary(props) {
@@ -52,5 +52,4 @@ var BaseErrorBoundary = /*#__PURE__*/function (_Component) {
52
52
  }
53
53
  }]);
54
54
  return BaseErrorBoundary;
55
- }(_react.Component);
56
- exports.BaseErrorBoundary = BaseErrorBoundary;
55
+ }(_react.Component);
@@ -60,5 +60,4 @@ var ErrorSVG = function ErrorSVG() {
60
60
  stopOpacity: ".6"
61
61
  }))));
62
62
  };
63
- var _default = ErrorSVG;
64
- exports.default = _default;
63
+ var _default = exports.default = ErrorSVG;
@@ -12,9 +12,8 @@ var _button = _interopRequireDefault(require("@atlaskit/button"));
12
12
  var _emptyState = _interopRequireDefault(require("@atlaskit/empty-state"));
13
13
  var _errorSvg = _interopRequireDefault(require("./error-svg"));
14
14
  var _messages = _interopRequireDefault(require("./messages"));
15
- var CONTACT_SUPPORT_LINK = 'https://support.atlassian.com/contact/';
16
- exports.CONTACT_SUPPORT_LINK = CONTACT_SUPPORT_LINK;
17
- var ErrorBoundaryUI = function ErrorBoundaryUI() {
15
+ var CONTACT_SUPPORT_LINK = exports.CONTACT_SUPPORT_LINK = 'https://support.atlassian.com/contact/';
16
+ var ErrorBoundaryUI = exports.ErrorBoundaryUI = function ErrorBoundaryUI() {
18
17
  var intl = (0, _reactIntlNext.useIntl)();
19
18
  return /*#__PURE__*/_react.default.createElement(_emptyState.default, {
20
19
  maxImageWidth: 82,
@@ -37,5 +36,4 @@ var ErrorBoundaryUI = function ErrorBoundaryUI() {
37
36
  return /*#__PURE__*/_react.default.createElement(_errorSvg.default, null);
38
37
  }
39
38
  });
40
- };
41
- exports.ErrorBoundaryUI = ErrorBoundaryUI;
39
+ };
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _reactIntlNext = require("react-intl-next");
8
- var _default = (0, _reactIntlNext.defineMessages)({
8
+ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
9
9
  heading: {
10
10
  id: 'link-create.unknown-error.heading',
11
11
  defaultMessage: 'Something went wrong',
@@ -16,5 +16,4 @@ var _default = (0, _reactIntlNext.defineMessages)({
16
16
  defaultMessage: 'Refresh the page, or contact <a>Atlassian Support</a> if this keeps happening.',
17
17
  description: 'Description when an unknown error occurs'
18
18
  }
19
- });
20
- exports.default = _default;
19
+ });
@@ -14,15 +14,15 @@ var _errorBoundaryBase = require("./error-boundary-base");
14
14
  var _errorBoundaryUi = require("./error-boundary-ui");
15
15
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
16
16
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
17
- var ErrorBoundary = function ErrorBoundary(_ref) {
17
+ var ErrorBoundary = exports.ErrorBoundary = function ErrorBoundary(_ref) {
18
18
  var children = _ref.children;
19
19
  var _useAnalyticsEvents = (0, _analyticsNext.useAnalyticsEvents)(),
20
20
  createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
21
21
  var handleError = (0, _react.useCallback)(function (error, info) {
22
- var _window, _window$navigator, _info$componentStack;
22
+ var _window, _info$componentStack;
23
23
  // Fire Analytics event
24
24
  createAnalyticsEvent((0, _analytics.default)('operational.linkCreate.unhandledErrorCaught', {
25
- browserInfo: ((_window = window) === null || _window === void 0 ? void 0 : (_window$navigator = _window.navigator) === null || _window$navigator === void 0 ? void 0 : _window$navigator.userAgent) || 'unknown',
25
+ browserInfo: ((_window = window) === null || _window === void 0 || (_window = _window.navigator) === null || _window === void 0 ? void 0 : _window.userAgent) || 'unknown',
26
26
  error: error.toString(),
27
27
  componentStack: (_info$componentStack = info === null || info === void 0 ? void 0 : info.componentStack) !== null && _info$componentStack !== void 0 ? _info$componentStack : ''
28
28
  })).fire(_constants.ANALYTICS_CHANNEL);
@@ -34,5 +34,4 @@ var ErrorBoundary = function ErrorBoundary(_ref) {
34
34
  onError: handleError,
35
35
  ErrorComponent: _errorBoundaryUi.ErrorBoundaryUI
36
36
  }, children);
37
- };
38
- exports.ErrorBoundary = ErrorBoundary;
37
+ };
@@ -24,8 +24,7 @@ var _excluded = ["testId", "onCreate", "onFailure", "onCancel", "triggeredFrom"]
24
24
  /** @jsx jsx */
25
25
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
26
26
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
27
- var TEST_ID = 'link-create';
28
- exports.TEST_ID = TEST_ID;
27
+ var TEST_ID = exports.TEST_ID = 'link-create';
29
28
  var LinkCreateContent = function LinkCreateContent(_ref) {
30
29
  var plugins = _ref.plugins,
31
30
  entityKey = _ref.entityKey;
@@ -99,5 +98,4 @@ var LinkCreateWithModal = function LinkCreateWithModal(_ref4) {
99
98
  width: "".concat(_constants.CREATE_FORM_MAX_WIDTH_IN_PX, "px")
100
99
  }, (0, _react2.jsx)(_modalDialog.ModalHeader, null, (0, _react2.jsx)(_modalDialog.ModalTitle, null, modalTitle || intl.formatMessage(_messages.messages.heading))), (0, _react2.jsx)(_modalDialog.ModalBody, null, (0, _react2.jsx)(LinkCreate, createProps))));
101
100
  };
102
- var _default = LinkCreateWithModal;
103
- exports.default = _default;
101
+ var _default = exports.default = LinkCreateWithModal;
@@ -5,11 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.messages = void 0;
7
7
  var _reactIntlNext = require("react-intl-next");
8
- var messages = (0, _reactIntlNext.defineMessages)({
8
+ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
9
9
  heading: {
10
10
  id: 'linkCreate.modal.heading',
11
11
  defaultMessage: 'Create new',
12
12
  description: 'Header for the create modal'
13
13
  }
14
- });
15
- exports.messages = messages;
14
+ });
@@ -27,5 +27,4 @@ function TrackMount() {
27
27
  }, [createAnalyticsEvent]);
28
28
  return null;
29
29
  }
30
- var _default = TrackMount;
31
- exports.default = _default;
30
+ var _default = exports.default = TrackMount;
@@ -22,13 +22,12 @@ var LinkCreateWithAnalyticsContext = (0, _analytics.withLinkCreateAnalyticsConte
22
22
  var props = (0, _extends2.default)({}, ((0, _objectDestructuringEmpty2.default)(_ref), _ref));
23
23
  return (0, _react2.jsx)(_linkCreate.default, props);
24
24
  }));
25
- var PACKAGE_DATA = {
26
- packageName: "@atlaskit/link-create",
27
- packageVersion: "1.1.0",
25
+ var PACKAGE_DATA = exports.PACKAGE_DATA = {
26
+ packageName: "@atlaskit/link-create" || '',
27
+ packageVersion: "1.1.2" || '',
28
28
  componentName: _constants.COMPONENT_NAME,
29
29
  source: _constants.COMPONENT_NAME
30
30
  };
31
- exports.PACKAGE_DATA = PACKAGE_DATA;
32
31
  var ComposedLinkCreate = /*#__PURE__*/(0, _react.memo)(function (props) {
33
32
  return (0, _react2.jsx)(_analyticsNext.AnalyticsContext, {
34
33
  data: PACKAGE_DATA
@@ -37,5 +36,4 @@ var ComposedLinkCreate = /*#__PURE__*/(0, _react.memo)(function (props) {
37
36
  loaderFn: _fetchMessagesForLocale.fetchMessagesForLocale
38
37
  }, (0, _react2.jsx)(LinkCreateWithAnalyticsContext, props)));
39
38
  });
40
- var _default = ComposedLinkCreate;
41
- exports.default = _default;
39
+ var _default = exports.default = ComposedLinkCreate;
@@ -14,8 +14,8 @@ const LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE
14
14
  return jsx(LinkCreate, props);
15
15
  }));
16
16
  export const PACKAGE_DATA = {
17
- packageName: "@atlaskit/link-create",
18
- packageVersion: "1.1.0",
17
+ packageName: "@atlaskit/link-create" || '',
18
+ packageVersion: "1.1.2" || '',
19
19
  componentName: COMPONENT_NAME,
20
20
  source: COMPONENT_NAME
21
21
  };
@@ -9,10 +9,10 @@ export var ErrorBoundary = function ErrorBoundary(_ref) {
9
9
  var _useAnalyticsEvents = useAnalyticsEvents(),
10
10
  createAnalyticsEvent = _useAnalyticsEvents.createAnalyticsEvent;
11
11
  var handleError = useCallback(function (error, info) {
12
- var _window, _window$navigator, _info$componentStack;
12
+ var _window, _info$componentStack;
13
13
  // Fire Analytics event
14
14
  createAnalyticsEvent(createEventPayload('operational.linkCreate.unhandledErrorCaught', {
15
- browserInfo: ((_window = window) === null || _window === void 0 ? void 0 : (_window$navigator = _window.navigator) === null || _window$navigator === void 0 ? void 0 : _window$navigator.userAgent) || 'unknown',
15
+ browserInfo: ((_window = window) === null || _window === void 0 || (_window = _window.navigator) === null || _window === void 0 ? void 0 : _window.userAgent) || 'unknown',
16
16
  error: error.toString(),
17
17
  componentStack: (_info$componentStack = info === null || info === void 0 ? void 0 : info.componentStack) !== null && _info$componentStack !== void 0 ? _info$componentStack : ''
18
18
  })).fire(ANALYTICS_CHANNEL);
@@ -15,8 +15,8 @@ var LinkCreateWithAnalyticsContext = withLinkCreateAnalyticsContext( /*#__PURE__
15
15
  return jsx(LinkCreate, props);
16
16
  }));
17
17
  export var PACKAGE_DATA = {
18
- packageName: "@atlaskit/link-create",
19
- packageVersion: "1.1.0",
18
+ packageName: "@atlaskit/link-create" || '',
19
+ packageVersion: "1.1.2" || '',
20
20
  componentName: COMPONENT_NAME,
21
21
  source: COMPONENT_NAME
22
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/link-create",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "The driver component of meta creation flow",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -40,11 +40,11 @@
40
40
  "@atlaskit/form": "^8.11.0",
41
41
  "@atlaskit/icon": "^21.12.0",
42
42
  "@atlaskit/intl-messages-provider": "^1.0.0",
43
- "@atlaskit/modal-dialog": "^12.6.0",
44
- "@atlaskit/select": "^16.6.0",
45
- "@atlaskit/spinner": "^15.4.0",
43
+ "@atlaskit/modal-dialog": "^12.8.0",
44
+ "@atlaskit/select": "^16.7.0",
45
+ "@atlaskit/spinner": "^15.6.0",
46
46
  "@atlaskit/textfield": "^5.6.0",
47
- "@atlaskit/tokens": "^1.22.0",
47
+ "@atlaskit/tokens": "^1.28.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",
50
50
  "debounce-promise": "^3.1.2",
@@ -62,6 +62,7 @@
62
62
  "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
63
63
  "@testing-library/react": "^12.1.5",
64
64
  "@testing-library/user-event": "^14.4.3",
65
+ "@types/debounce-promise": "^3.1.2",
65
66
  "fetch-mock": "^8.0.0",
66
67
  "react-dom": "^16.8.0",
67
68
  "typescript": "~4.9.5",