@atlaskit/link-create 1.1.1 → 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.
- package/CHANGELOG.md +46 -40
- package/dist/cjs/common/constants.js +4 -8
- package/dist/cjs/common/utils/analytics/analytics.codegen.js +1 -2
- package/dist/cjs/common/utils/analytics/context.js +1 -2
- package/dist/cjs/common/utils/form/index.js +2 -3
- package/dist/cjs/common/utils/locale/fetch-messages-for-locale.js +2 -3
- package/dist/cjs/controllers/callback-context/main.js +3 -5
- package/dist/cjs/controllers/form-context/main.js +5 -9
- package/dist/cjs/i18n/cs.js +2 -3
- package/dist/cjs/i18n/da.js +2 -3
- package/dist/cjs/i18n/de.js +2 -3
- package/dist/cjs/i18n/en.js +2 -3
- package/dist/cjs/i18n/en_GB.js +2 -3
- package/dist/cjs/i18n/en_ZZ.js +2 -3
- package/dist/cjs/i18n/es.js +2 -3
- package/dist/cjs/i18n/fi.js +2 -3
- package/dist/cjs/i18n/fr.js +2 -3
- package/dist/cjs/i18n/hu.js +2 -3
- package/dist/cjs/i18n/it.js +2 -3
- package/dist/cjs/i18n/ja.js +2 -3
- package/dist/cjs/i18n/ko.js +2 -3
- package/dist/cjs/i18n/nb.js +2 -3
- package/dist/cjs/i18n/nl.js +2 -3
- package/dist/cjs/i18n/pl.js +2 -3
- package/dist/cjs/i18n/pt_BR.js +2 -3
- package/dist/cjs/i18n/ru.js +2 -3
- package/dist/cjs/i18n/sv.js +2 -3
- package/dist/cjs/i18n/th.js +2 -3
- package/dist/cjs/i18n/tr.js +2 -3
- package/dist/cjs/i18n/uk.js +2 -3
- package/dist/cjs/i18n/vi.js +2 -3
- package/dist/cjs/i18n/zh.js +2 -3
- package/dist/cjs/i18n/zh_TW.js +2 -3
- package/dist/cjs/ui/create-form/async-select/main.js +1 -2
- package/dist/cjs/ui/create-form/form-footer/messages.js +2 -3
- package/dist/cjs/ui/create-form/form-spy/index.js +2 -3
- package/dist/cjs/ui/create-form/main.js +3 -5
- package/dist/cjs/ui/create-form/select/main.js +1 -2
- package/dist/cjs/ui/create-form/textfield/main.js +2 -2
- package/dist/cjs/ui/link-create/error-boundary/error-boundary-base/index.js +2 -3
- package/dist/cjs/ui/link-create/error-boundary/error-boundary-ui/error-svg/index.js +1 -2
- package/dist/cjs/ui/link-create/error-boundary/error-boundary-ui/index.js +3 -5
- package/dist/cjs/ui/link-create/error-boundary/error-boundary-ui/messages.js +2 -3
- package/dist/cjs/ui/link-create/error-boundary/index.js +4 -5
- package/dist/cjs/ui/link-create/main.js +2 -4
- package/dist/cjs/ui/link-create/messages.js +2 -3
- package/dist/cjs/ui/link-create/track-mount/index.js +1 -2
- package/dist/cjs/ui/main.js +4 -6
- package/dist/es2019/ui/main.js +2 -2
- package/dist/esm/ui/link-create/error-boundary/index.js +2 -2
- package/dist/esm/ui/main.js +2 -2
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,173 +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
|
+
|
|
3
9
|
## 1.1.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`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
|
|
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
|
|
8
14
|
|
|
9
15
|
## 1.1.0
|
|
10
16
|
|
|
11
17
|
### Minor Changes
|
|
12
18
|
|
|
13
|
-
- [`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
|
|
14
20
|
|
|
15
21
|
## 1.0.3
|
|
16
22
|
|
|
17
23
|
### Patch Changes
|
|
18
24
|
|
|
19
|
-
- [`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
|
|
20
26
|
- Updated dependencies
|
|
21
27
|
|
|
22
28
|
## 1.0.2
|
|
23
29
|
|
|
24
30
|
### Patch Changes
|
|
25
31
|
|
|
26
|
-
- [`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
|
|
27
33
|
|
|
28
34
|
## 1.0.1
|
|
29
35
|
|
|
30
36
|
### Patch Changes
|
|
31
37
|
|
|
32
|
-
- [`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
|
|
33
39
|
|
|
34
40
|
## 1.0.0
|
|
35
41
|
|
|
36
42
|
### Major Changes
|
|
37
43
|
|
|
38
|
-
- [`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
|
|
39
45
|
|
|
40
46
|
## 0.10.0
|
|
41
47
|
|
|
42
48
|
### Minor Changes
|
|
43
49
|
|
|
44
|
-
- [`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
|
|
45
51
|
|
|
46
52
|
## 0.9.1
|
|
47
53
|
|
|
48
54
|
### Patch Changes
|
|
49
55
|
|
|
50
|
-
- [`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
|
|
51
57
|
|
|
52
58
|
## 0.9.0
|
|
53
59
|
|
|
54
60
|
### Minor Changes
|
|
55
61
|
|
|
56
|
-
- [`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
|
|
57
63
|
|
|
58
64
|
## 0.8.2
|
|
59
65
|
|
|
60
66
|
### Patch Changes
|
|
61
67
|
|
|
62
|
-
- [`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
|
|
63
69
|
|
|
64
70
|
## 0.8.1
|
|
65
71
|
|
|
66
72
|
### Patch Changes
|
|
67
73
|
|
|
68
|
-
- [`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
|
|
69
75
|
|
|
70
76
|
## 0.8.0
|
|
71
77
|
|
|
72
78
|
### Minor Changes
|
|
73
79
|
|
|
74
|
-
- [`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.
|
|
75
81
|
|
|
76
82
|
## 0.7.1
|
|
77
83
|
|
|
78
84
|
### Patch Changes
|
|
79
85
|
|
|
80
|
-
- [`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."
|
|
81
87
|
|
|
82
88
|
## 0.7.0
|
|
83
89
|
|
|
84
90
|
### Minor Changes
|
|
85
91
|
|
|
86
|
-
- [`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
|
|
87
93
|
|
|
88
94
|
## 0.6.0
|
|
89
95
|
|
|
90
96
|
### Minor Changes
|
|
91
97
|
|
|
92
|
-
- [`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
|
|
93
99
|
|
|
94
100
|
## 0.5.7
|
|
95
101
|
|
|
96
102
|
### Patch Changes
|
|
97
103
|
|
|
98
|
-
- [`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
|
|
99
105
|
|
|
100
106
|
## 0.5.6
|
|
101
107
|
|
|
102
108
|
### Patch Changes
|
|
103
109
|
|
|
104
|
-
- [`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
|
|
105
111
|
|
|
106
112
|
## 0.5.5
|
|
107
113
|
|
|
108
114
|
### Patch Changes
|
|
109
115
|
|
|
110
|
-
- [`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
|
|
111
117
|
|
|
112
118
|
## 0.5.4
|
|
113
119
|
|
|
114
120
|
### Patch Changes
|
|
115
121
|
|
|
116
|
-
- [`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
|
|
117
123
|
|
|
118
124
|
## 0.5.3
|
|
119
125
|
|
|
120
126
|
### Patch Changes
|
|
121
127
|
|
|
122
|
-
- [`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.
|
|
123
129
|
|
|
124
130
|
## 0.5.2
|
|
125
131
|
|
|
126
132
|
### Patch Changes
|
|
127
133
|
|
|
128
|
-
- [`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.
|
|
129
135
|
|
|
130
136
|
## 0.5.1
|
|
131
137
|
|
|
132
138
|
### Patch Changes
|
|
133
139
|
|
|
134
|
-
- [`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
|
|
135
141
|
|
|
136
142
|
## 0.5.0
|
|
137
143
|
|
|
138
144
|
### Minor Changes
|
|
139
145
|
|
|
140
|
-
- [`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
|
|
141
147
|
|
|
142
148
|
## 0.4.4
|
|
143
149
|
|
|
144
150
|
### Patch Changes
|
|
145
151
|
|
|
146
|
-
- [`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
|
|
147
153
|
|
|
148
154
|
## 0.4.3
|
|
149
155
|
|
|
150
156
|
### Patch Changes
|
|
151
157
|
|
|
152
|
-
- [`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`
|
|
153
159
|
|
|
154
160
|
## 0.4.2
|
|
155
161
|
|
|
156
162
|
### Patch Changes
|
|
157
163
|
|
|
158
|
-
- [`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.
|
|
159
165
|
|
|
160
166
|
## 0.4.1
|
|
161
167
|
|
|
162
168
|
### Patch Changes
|
|
163
169
|
|
|
164
|
-
- [`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.
|
|
165
171
|
|
|
166
172
|
## 0.4.0
|
|
167
173
|
|
|
168
174
|
### Minor Changes
|
|
169
175
|
|
|
170
|
-
- [`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
|
|
171
177
|
|
|
172
178
|
### Patch Changes
|
|
173
179
|
|
|
@@ -177,38 +183,38 @@
|
|
|
177
183
|
|
|
178
184
|
### Patch Changes
|
|
179
185
|
|
|
180
|
-
- [`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
|
|
181
187
|
|
|
182
188
|
## 0.3.2
|
|
183
189
|
|
|
184
190
|
### Patch Changes
|
|
185
191
|
|
|
186
|
-
- [`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
|
|
187
193
|
|
|
188
194
|
## 0.3.1
|
|
189
195
|
|
|
190
196
|
### Patch Changes
|
|
191
197
|
|
|
192
|
-
- [`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
|
|
193
199
|
|
|
194
200
|
## 0.3.0
|
|
195
201
|
|
|
196
202
|
### Minor Changes
|
|
197
203
|
|
|
198
|
-
- [`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
|
|
199
205
|
|
|
200
206
|
## 0.2.1
|
|
201
207
|
|
|
202
208
|
### Patch Changes
|
|
203
209
|
|
|
204
|
-
- [`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
|
|
205
211
|
- Updated dependencies
|
|
206
212
|
|
|
207
213
|
## 0.2.0
|
|
208
214
|
|
|
209
215
|
### Minor Changes
|
|
210
216
|
|
|
211
|
-
- [`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
|
|
212
218
|
|
|
213
219
|
### Patch Changes
|
|
214
220
|
|
|
@@ -218,34 +224,34 @@
|
|
|
218
224
|
|
|
219
225
|
### Patch Changes
|
|
220
226
|
|
|
221
|
-
- [`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
|
|
222
228
|
|
|
223
229
|
## 0.1.1
|
|
224
230
|
|
|
225
231
|
### Patch Changes
|
|
226
232
|
|
|
227
|
-
- [`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
|
|
228
234
|
|
|
229
235
|
## 0.1.0
|
|
230
236
|
|
|
231
237
|
### Minor Changes
|
|
232
238
|
|
|
233
|
-
- [`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
|
|
234
240
|
|
|
235
241
|
## 0.0.4
|
|
236
242
|
|
|
237
243
|
### Patch Changes
|
|
238
244
|
|
|
239
|
-
- [`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
|
|
240
246
|
|
|
241
247
|
## 0.0.3
|
|
242
248
|
|
|
243
249
|
### Patch Changes
|
|
244
250
|
|
|
245
|
-
- [`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
|
|
246
252
|
|
|
247
253
|
## 0.0.2
|
|
248
254
|
|
|
249
255
|
### Patch Changes
|
|
250
256
|
|
|
251
|
-
- [`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.
|
|
9
|
-
var
|
|
10
|
-
exports.
|
|
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';
|
|
@@ -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.
|
|
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.
|
|
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.
|
|
61
|
-
var useFormContext = function useFormContext() {
|
|
59
|
+
var useFormContext = exports.useFormContext = function useFormContext() {
|
|
62
60
|
return (0, _react.useContext)(FormContext);
|
|
63
61
|
};
|
|
64
|
-
exports.
|
|
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
|
+
};
|
package/dist/cjs/i18n/cs.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/da.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/de.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/en.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/en_GB.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/en_ZZ.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/es.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/fi.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/fr.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/hu.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/it.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/ja.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/ko.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/nb.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/nl.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/pl.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/pt_BR.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/ru.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/sv.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/th.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/tr.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/uk.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/vi.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/zh.js
CHANGED
|
@@ -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
|
+
};
|
package/dist/cjs/i18n/zh_TW.js
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
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);
|
|
@@ -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.
|
|
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,
|
|
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
|
|
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
|
+
});
|
package/dist/cjs/ui/main.js
CHANGED
|
@@ -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.
|
|
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;
|
package/dist/es2019/ui/main.js
CHANGED
|
@@ -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.
|
|
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,
|
|
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
|
|
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);
|
package/dist/esm/ui/main.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
43
|
+
"@atlaskit/modal-dialog": "^12.8.0",
|
|
44
44
|
"@atlaskit/select": "^16.7.0",
|
|
45
|
-
"@atlaskit/spinner": "^15.
|
|
45
|
+
"@atlaskit/spinner": "^15.6.0",
|
|
46
46
|
"@atlaskit/textfield": "^5.6.0",
|
|
47
|
-
"@atlaskit/tokens": "^1.
|
|
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",
|