@atlaskit/inline-dialog 13.6.6 → 13.6.7
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 +45 -39
- package/dist/cjs/InlineDialog/index.js +5 -7
- package/dist/cjs/InlineDialog/styled/container.js +4 -5
- package/dist/es2019/InlineDialog/index.js +1 -1
- package/dist/esm/InlineDialog/index.js +2 -2
- package/dist/esm/InlineDialog/styled/container.js +2 -2
- package/package.json +10 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,47 +1,53 @@
|
|
|
1
1
|
# @atlaskit/inline-dialog
|
|
2
2
|
|
|
3
|
+
## 13.6.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41435](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41435) [`a4eca15aedd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a4eca15aedd) - Enrol @atlaskit/inline-dialog into jira-frontend push model consumption
|
|
8
|
+
|
|
3
9
|
## 13.6.6
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
13
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
14
|
- Updated dependencies
|
|
9
15
|
|
|
10
16
|
## 13.6.5
|
|
11
17
|
|
|
12
18
|
### Patch Changes
|
|
13
19
|
|
|
14
|
-
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
20
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
15
21
|
|
|
16
22
|
## 13.6.4
|
|
17
23
|
|
|
18
24
|
### Patch Changes
|
|
19
25
|
|
|
20
|
-
- [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
|
|
26
|
+
- [#33652](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33652) [`e7ea6832ad2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7ea6832ad2) - Bans the use of React.FC/React.FunctionComponent type in ADS components as part of the React 18 migration work. The change is internal only and should not introduce any changes for the component consumers.
|
|
21
27
|
|
|
22
28
|
## 13.6.3
|
|
23
29
|
|
|
24
30
|
### Patch Changes
|
|
25
31
|
|
|
26
|
-
- [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
32
|
+
- [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051) [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
27
33
|
|
|
28
34
|
## 13.6.2
|
|
29
35
|
|
|
30
36
|
### Patch Changes
|
|
31
37
|
|
|
32
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
38
|
+
- [#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
|
|
33
39
|
|
|
34
40
|
## 13.6.1
|
|
35
41
|
|
|
36
42
|
### Patch Changes
|
|
37
43
|
|
|
38
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
44
|
+
- [#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`
|
|
39
45
|
|
|
40
46
|
## 13.6.0
|
|
41
47
|
|
|
42
48
|
### Minor Changes
|
|
43
49
|
|
|
44
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
50
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
45
51
|
|
|
46
52
|
### Patch Changes
|
|
47
53
|
|
|
@@ -51,13 +57,13 @@
|
|
|
51
57
|
|
|
52
58
|
### Minor Changes
|
|
53
59
|
|
|
54
|
-
- [`c0dd48dfb67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0dd48dfb67) - [ux] Adds keyboard support of using escape to close inline dialog.
|
|
60
|
+
- [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`c0dd48dfb67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0dd48dfb67) - [ux] Adds keyboard support of using escape to close inline dialog.
|
|
55
61
|
|
|
56
62
|
## 13.4.9
|
|
57
63
|
|
|
58
64
|
### Patch Changes
|
|
59
65
|
|
|
60
|
-
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
66
|
+
- [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
61
67
|
- Updated dependencies
|
|
62
68
|
|
|
63
69
|
## 13.4.8
|
|
@@ -76,7 +82,7 @@
|
|
|
76
82
|
|
|
77
83
|
### Patch Changes
|
|
78
84
|
|
|
79
|
-
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
85
|
+
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390) [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
80
86
|
|
|
81
87
|
## 13.4.5
|
|
82
88
|
|
|
@@ -100,19 +106,19 @@
|
|
|
100
106
|
|
|
101
107
|
### Patch Changes
|
|
102
108
|
|
|
103
|
-
- [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
109
|
+
- [#26408](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26408) [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
104
110
|
|
|
105
111
|
## 13.4.1
|
|
106
112
|
|
|
107
113
|
### Patch Changes
|
|
108
114
|
|
|
109
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
115
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
110
116
|
|
|
111
117
|
## 13.4.0
|
|
112
118
|
|
|
113
119
|
### Minor Changes
|
|
114
120
|
|
|
115
|
-
- [`8d2ea17980d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d2ea17980d) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
121
|
+
- [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`8d2ea17980d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d2ea17980d) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
116
122
|
|
|
117
123
|
### Patch Changes
|
|
118
124
|
|
|
@@ -122,13 +128,13 @@
|
|
|
122
128
|
|
|
123
129
|
### Patch Changes
|
|
124
130
|
|
|
125
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
131
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
126
132
|
|
|
127
133
|
## 13.3.8
|
|
128
134
|
|
|
129
135
|
### Patch Changes
|
|
130
136
|
|
|
131
|
-
- [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
137
|
+
- [#22614](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22614) [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
132
138
|
|
|
133
139
|
## 13.3.7
|
|
134
140
|
|
|
@@ -146,13 +152,13 @@
|
|
|
146
152
|
|
|
147
153
|
### Patch Changes
|
|
148
154
|
|
|
149
|
-
- [`2e7bbdfd813`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e7bbdfd813) - Upgrading internal dependency 'bind-event-listener' to 2.1.0 for improved types
|
|
155
|
+
- [#21242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21242) [`2e7bbdfd813`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e7bbdfd813) - Upgrading internal dependency 'bind-event-listener' to 2.1.0 for improved types
|
|
150
156
|
|
|
151
157
|
## 13.3.4
|
|
152
158
|
|
|
153
159
|
### Patch Changes
|
|
154
160
|
|
|
155
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
161
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
156
162
|
|
|
157
163
|
## 13.3.3
|
|
158
164
|
|
|
@@ -176,7 +182,7 @@
|
|
|
176
182
|
|
|
177
183
|
### Minor Changes
|
|
178
184
|
|
|
179
|
-
- [`2a53f51adc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2a53f51adc6) - Introduce the prop `strategy` to allow consumers to override the default positioning strategy
|
|
185
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`2a53f51adc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2a53f51adc6) - Introduce the prop `strategy` to allow consumers to override the default positioning strategy
|
|
180
186
|
|
|
181
187
|
### Patch Changes
|
|
182
188
|
|
|
@@ -186,7 +192,7 @@
|
|
|
186
192
|
|
|
187
193
|
### Patch Changes
|
|
188
194
|
|
|
189
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
|
|
195
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
|
|
190
196
|
- Updated dependencies
|
|
191
197
|
|
|
192
198
|
## 13.2.1
|
|
@@ -199,13 +205,13 @@
|
|
|
199
205
|
|
|
200
206
|
### Minor Changes
|
|
201
207
|
|
|
202
|
-
- [`2fe0d03807f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2fe0d03807f) - This removes the preventDefault functionality (reverts it back to the previous version of inline dialog where event listeners were added in the capture phase). It also refactors handleClickOutside so that it is now triggered by a ref.
|
|
208
|
+
- [#16651](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16651) [`2fe0d03807f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2fe0d03807f) - This removes the preventDefault functionality (reverts it back to the previous version of inline dialog where event listeners were added in the capture phase). It also refactors handleClickOutside so that it is now triggered by a ref.
|
|
203
209
|
|
|
204
210
|
## 13.1.9
|
|
205
211
|
|
|
206
212
|
### Patch Changes
|
|
207
213
|
|
|
208
|
-
- [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
214
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
209
215
|
- Updated dependencies
|
|
210
216
|
|
|
211
217
|
## 13.1.8
|
|
@@ -218,19 +224,19 @@
|
|
|
218
224
|
|
|
219
225
|
### Patch Changes
|
|
220
226
|
|
|
221
|
-
- [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
227
|
+
- [#15632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15632) [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
222
228
|
|
|
223
229
|
## 13.1.6
|
|
224
230
|
|
|
225
231
|
### Patch Changes
|
|
226
232
|
|
|
227
|
-
- [`cb79dfea5d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb79dfea5d9) - This fixes a bug in version 13.1.2 where inline dialog's `useEffect` was running synchronously and while the click event was still happening. This meant that if the open state was outside of inline dialog, there were instances where it failed to open.
|
|
233
|
+
- [#15105](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15105) [`cb79dfea5d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb79dfea5d9) - This fixes a bug in version 13.1.2 where inline dialog's `useEffect` was running synchronously and while the click event was still happening. This meant that if the open state was outside of inline dialog, there were instances where it failed to open.
|
|
228
234
|
|
|
229
235
|
## 13.1.5
|
|
230
236
|
|
|
231
237
|
### Patch Changes
|
|
232
238
|
|
|
233
|
-
- [`b94375ecf08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b94375ecf08) - Fixes issue where enzyme is unable to access component name in snapshot tests. There should be no UI or UX change.
|
|
239
|
+
- [#14723](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14723) [`b94375ecf08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b94375ecf08) - Fixes issue where enzyme is unable to access component name in snapshot tests. There should be no UI or UX change.
|
|
234
240
|
|
|
235
241
|
## 13.1.4
|
|
236
242
|
|
|
@@ -242,13 +248,13 @@
|
|
|
242
248
|
|
|
243
249
|
### Patch Changes
|
|
244
250
|
|
|
245
|
-
- [`0e89e593547`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e89e593547) - Fixes a bug where the dialog was retaining its window click event listener even after the dialog was closed.
|
|
251
|
+
- [#14608](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14608) [`0e89e593547`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e89e593547) - Fixes a bug where the dialog was retaining its window click event listener even after the dialog was closed.
|
|
246
252
|
|
|
247
253
|
## 13.1.2
|
|
248
254
|
|
|
249
255
|
### Patch Changes
|
|
250
256
|
|
|
251
|
-
- [`398904f14d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/398904f14d9) - [ux] Fixes a bug in version 13.1.0 where InlineDialog cannot be closed after it opens a Modal. There should be no other UI or UX changes. Note that the click event listener's `capture: false` has been changed to `capture: true`. This may cause some issues with the opening or closing of the inline dialog in some situations e.g. if the open state of the inline dialog is in an outer component. You can solve this by trying to add a `preventDefault` to the click handler in the outer component or changing the inline dialog's event handler to `{ capture: true }`.
|
|
257
|
+
- [#14328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14328) [`398904f14d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/398904f14d9) - [ux] Fixes a bug in version 13.1.0 where InlineDialog cannot be closed after it opens a Modal. There should be no other UI or UX changes. Note that the click event listener's `capture: false` has been changed to `capture: true`. This may cause some issues with the opening or closing of the inline dialog in some situations e.g. if the open state of the inline dialog is in an outer component. You can solve this by trying to add a `preventDefault` to the click handler in the outer component or changing the inline dialog's event handler to `{ capture: true }`.
|
|
252
258
|
|
|
253
259
|
## 13.1.1
|
|
254
260
|
|
|
@@ -260,7 +266,7 @@
|
|
|
260
266
|
|
|
261
267
|
### Minor Changes
|
|
262
268
|
|
|
263
|
-
- [`5a049f800d3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a049f800d3) - Integrates the new tokens package to add support for our new theming solution. This change is fully backwards compatible with our existing theming solution
|
|
269
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`5a049f800d3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5a049f800d3) - Integrates the new tokens package to add support for our new theming solution. This change is fully backwards compatible with our existing theming solution
|
|
264
270
|
- [`caec2cee6e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/caec2cee6e0) - Removes `styled-components` dependency from the package. Also uses ThemeV2 API now. There should be no visual or UX change.
|
|
265
271
|
|
|
266
272
|
### Patch Changes
|
|
@@ -271,25 +277,25 @@
|
|
|
271
277
|
|
|
272
278
|
### Patch Changes
|
|
273
279
|
|
|
274
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
280
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
275
281
|
|
|
276
282
|
## 13.0.10
|
|
277
283
|
|
|
278
284
|
### Patch Changes
|
|
279
285
|
|
|
280
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
286
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
281
287
|
|
|
282
288
|
## 13.0.9
|
|
283
289
|
|
|
284
290
|
### Patch Changes
|
|
285
291
|
|
|
286
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
292
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
287
293
|
|
|
288
294
|
## 13.0.8
|
|
289
295
|
|
|
290
296
|
### Patch Changes
|
|
291
297
|
|
|
292
|
-
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
298
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
293
299
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
294
300
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
295
301
|
|
|
@@ -303,13 +309,13 @@
|
|
|
303
309
|
|
|
304
310
|
### Patch Changes
|
|
305
311
|
|
|
306
|
-
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
312
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707) [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
307
313
|
|
|
308
314
|
## 13.0.5
|
|
309
315
|
|
|
310
316
|
### Patch Changes
|
|
311
317
|
|
|
312
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
318
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
313
319
|
|
|
314
320
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
315
321
|
to prevent duplicates of tslib being bundled.
|
|
@@ -318,7 +324,7 @@
|
|
|
318
324
|
|
|
319
325
|
### Patch Changes
|
|
320
326
|
|
|
321
|
-
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
327
|
+
- [#4393](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4393) [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
322
328
|
|
|
323
329
|
## 13.0.3
|
|
324
330
|
|
|
@@ -330,19 +336,19 @@
|
|
|
330
336
|
|
|
331
337
|
### Patch Changes
|
|
332
338
|
|
|
333
|
-
- [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
339
|
+
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293) [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
334
340
|
|
|
335
341
|
## 13.0.1
|
|
336
342
|
|
|
337
343
|
### Patch Changes
|
|
338
344
|
|
|
339
|
-
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
345
|
+
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
340
346
|
|
|
341
347
|
## 13.0.0
|
|
342
348
|
|
|
343
349
|
### Major Changes
|
|
344
350
|
|
|
345
|
-
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
351
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
346
352
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
347
353
|
|
|
348
354
|
### Patch Changes
|
|
@@ -353,7 +359,7 @@
|
|
|
353
359
|
|
|
354
360
|
### Patch Changes
|
|
355
361
|
|
|
356
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
362
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
357
363
|
|
|
358
364
|
## 12.1.13
|
|
359
365
|
|
|
@@ -839,7 +845,7 @@
|
|
|
839
845
|
|
|
840
846
|
## 9.0.9
|
|
841
847
|
|
|
842
|
-
- [patch][d296df8
|
|
848
|
+
- [patch][d296df8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d296df8"
|
|
843
849
|
d):
|
|
844
850
|
|
|
845
851
|
- Inline-dialog now has useCapture: true for the outside click event listeners to avoid closing when clicking on child content that might disappear, such as a select or dropdown-menu
|
|
@@ -19,14 +19,14 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
19
19
|
/** @jsx jsx */
|
|
20
20
|
|
|
21
21
|
var packageName = "@atlaskit/inline-dialog";
|
|
22
|
-
var packageVersion = "13.6.
|
|
22
|
+
var packageVersion = "13.6.7";
|
|
23
23
|
var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
|
|
24
24
|
if (!node) {
|
|
25
25
|
return false;
|
|
26
26
|
}
|
|
27
27
|
return node.classList && node.classList.contains('atlaskit-portal-container') || checkIsChildOfPortal(node.parentElement);
|
|
28
28
|
};
|
|
29
|
-
var InlineDialog = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref) {
|
|
29
|
+
var InlineDialog = exports.InlineDialogWithoutAnalytics = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref) {
|
|
30
30
|
var _ref$isOpen = _ref.isOpen,
|
|
31
31
|
isOpen = _ref$isOpen === void 0 ? false : _ref$isOpen,
|
|
32
32
|
_ref$onContentBlur = _ref.onContentBlur,
|
|
@@ -74,7 +74,7 @@ var InlineDialog = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref) {
|
|
|
74
74
|
// call onClose if the click originated from outside the dialog
|
|
75
75
|
if (containerRef.current && !containerRef.current.contains(target)) {
|
|
76
76
|
var _onCloseRef$current;
|
|
77
|
-
(_onCloseRef$current = onCloseRef.current) === null || _onCloseRef$current === void 0
|
|
77
|
+
(_onCloseRef$current = onCloseRef.current) === null || _onCloseRef$current === void 0 || _onCloseRef$current.call(onCloseRef, {
|
|
78
78
|
isOpen: false,
|
|
79
79
|
event: event
|
|
80
80
|
});
|
|
@@ -156,10 +156,9 @@ var InlineDialog = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref) {
|
|
|
156
156
|
}, children);
|
|
157
157
|
}), popper);
|
|
158
158
|
});
|
|
159
|
-
exports.InlineDialogWithoutAnalytics = InlineDialog;
|
|
160
159
|
InlineDialog.displayName = 'InlineDialog';
|
|
161
160
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
162
|
-
var _default = (0, _analyticsNext.withAnalyticsContext)({
|
|
161
|
+
var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
|
|
163
162
|
componentName: 'inlineDialog',
|
|
164
163
|
packageName: packageName,
|
|
165
164
|
packageVersion: packageVersion
|
|
@@ -173,5 +172,4 @@ var _default = (0, _analyticsNext.withAnalyticsContext)({
|
|
|
173
172
|
packageVersion: packageVersion
|
|
174
173
|
}
|
|
175
174
|
})
|
|
176
|
-
})(InlineDialog));
|
|
177
|
-
exports.default = _default;
|
|
175
|
+
})(InlineDialog));
|
|
@@ -14,8 +14,8 @@ var _components = require("@atlaskit/theme/components");
|
|
|
14
14
|
var _constants = require("@atlaskit/theme/constants");
|
|
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
|
-
function ownKeys(
|
|
18
|
-
function _objectSpread(
|
|
17
|
+
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; }
|
|
18
|
+
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; } /* eslint-disable jsx-a11y/no-static-element-interactions */ /* eslint-disable jsx-a11y/click-events-have-key-events */ /** @jsx jsx */
|
|
19
19
|
var themedBackground = (0, _components.themed)({
|
|
20
20
|
light: "var(--ds-surface-overlay, ".concat(_colors.N0, ")"),
|
|
21
21
|
dark: "var(--ds-surface-overlay, ".concat(_colors.DN50, ")")
|
|
@@ -52,7 +52,7 @@ var containerStyles = (0, _react2.css)({
|
|
|
52
52
|
* Note that the styles here are merged with the style prop that comes from the popper.js library.
|
|
53
53
|
*
|
|
54
54
|
*/
|
|
55
|
-
var Container = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
55
|
+
var Container = exports.Container = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
56
56
|
var _objectSpread2;
|
|
57
57
|
var children = _ref.children,
|
|
58
58
|
onBlur = _ref.onBlur,
|
|
@@ -70,5 +70,4 @@ var Container = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
70
70
|
ref: ref,
|
|
71
71
|
style: _objectSpread((_objectSpread2 = {}, (0, _defineProperty2.default)(_objectSpread2, CSS_THEME_BACKGROUND, themedBackground(theme)), (0, _defineProperty2.default)(_objectSpread2, CSS_THEME_COLOR, themedColor(theme)), (0, _defineProperty2.default)(_objectSpread2, CSS_THEME_BOX_SHADOW, themedBoxShadow(theme)), _objectSpread2), style)
|
|
72
72
|
}, children);
|
|
73
|
-
});
|
|
74
|
-
exports.Container = Container;
|
|
73
|
+
});
|
|
@@ -8,7 +8,7 @@ import noop from '@atlaskit/ds-lib/noop';
|
|
|
8
8
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
9
9
|
import { Container } from './styled/container';
|
|
10
10
|
const packageName = "@atlaskit/inline-dialog";
|
|
11
|
-
const packageVersion = "13.6.
|
|
11
|
+
const packageVersion = "13.6.7";
|
|
12
12
|
const checkIsChildOfPortal = node => {
|
|
13
13
|
if (!node) {
|
|
14
14
|
return false;
|
|
@@ -8,7 +8,7 @@ import noop from '@atlaskit/ds-lib/noop';
|
|
|
8
8
|
import { Manager, Popper, Reference } from '@atlaskit/popper';
|
|
9
9
|
import { Container } from './styled/container';
|
|
10
10
|
var packageName = "@atlaskit/inline-dialog";
|
|
11
|
-
var packageVersion = "13.6.
|
|
11
|
+
var packageVersion = "13.6.7";
|
|
12
12
|
var checkIsChildOfPortal = function checkIsChildOfPortal(node) {
|
|
13
13
|
if (!node) {
|
|
14
14
|
return false;
|
|
@@ -63,7 +63,7 @@ var InlineDialog = /*#__PURE__*/memo(function InlineDialog(_ref) {
|
|
|
63
63
|
// call onClose if the click originated from outside the dialog
|
|
64
64
|
if (containerRef.current && !containerRef.current.contains(target)) {
|
|
65
65
|
var _onCloseRef$current;
|
|
66
|
-
(_onCloseRef$current = onCloseRef.current) === null || _onCloseRef$current === void 0
|
|
66
|
+
(_onCloseRef$current = onCloseRef.current) === null || _onCloseRef$current === void 0 || _onCloseRef$current.call(onCloseRef, {
|
|
67
67
|
isOpen: false,
|
|
68
68
|
event: event
|
|
69
69
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
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; }
|
|
3
|
+
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) { _defineProperty(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; }
|
|
4
4
|
/* eslint-disable jsx-a11y/no-static-element-interactions */
|
|
5
5
|
/* eslint-disable jsx-a11y/click-events-have-key-events */
|
|
6
6
|
/** @jsx jsx */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/inline-dialog",
|
|
3
|
-
"version": "13.6.
|
|
3
|
+
"version": "13.6.7",
|
|
4
4
|
"description": "An inline dialog is a pop-up container for small amounts of information. It can also contain controls.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -18,6 +18,9 @@
|
|
|
18
18
|
"team": "Design System Team",
|
|
19
19
|
"deprecatedAutoEntryPoints": true,
|
|
20
20
|
"releaseModel": "continuous",
|
|
21
|
+
"productPushConsumption": [
|
|
22
|
+
"jira"
|
|
23
|
+
],
|
|
21
24
|
"website": {
|
|
22
25
|
"name": "Inline dialog",
|
|
23
26
|
"status": {
|
|
@@ -37,8 +40,8 @@
|
|
|
37
40
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
38
41
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
39
42
|
"@atlaskit/popper": "^5.5.0",
|
|
40
|
-
"@atlaskit/theme": "^12.
|
|
41
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/theme": "^12.6.0",
|
|
44
|
+
"@atlaskit/tokens": "^1.26.0",
|
|
42
45
|
"@babel/runtime": "^7.0.0",
|
|
43
46
|
"@emotion/react": "^11.7.1",
|
|
44
47
|
"bind-event-listener": "^2.1.1",
|
|
@@ -50,12 +53,12 @@
|
|
|
50
53
|
"devDependencies": {
|
|
51
54
|
"@af/accessibility-testing": "*",
|
|
52
55
|
"@af/visual-regression": "*",
|
|
53
|
-
"@atlaskit/button": "^16.
|
|
54
|
-
"@atlaskit/datetime-picker": "^12.
|
|
56
|
+
"@atlaskit/button": "^16.10.0",
|
|
57
|
+
"@atlaskit/datetime-picker": "^12.10.0",
|
|
55
58
|
"@atlaskit/docs": "*",
|
|
56
|
-
"@atlaskit/modal-dialog": "^12.
|
|
59
|
+
"@atlaskit/modal-dialog": "^12.8.0",
|
|
57
60
|
"@atlaskit/section-message": "^6.4.0",
|
|
58
|
-
"@atlaskit/select": "^16.
|
|
61
|
+
"@atlaskit/select": "^16.7.0",
|
|
59
62
|
"@atlaskit/ssr": "*",
|
|
60
63
|
"@atlaskit/visual-regression": "*",
|
|
61
64
|
"@atlaskit/webdriver-runner": "*",
|