@atlaskit/inline-dialog 13.6.5 → 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 +51 -38
- 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 +20 -15
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,40 +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
|
+
|
|
9
|
+
## 13.6.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 13.6.5
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
6
19
|
|
|
7
|
-
- [`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.
|
|
8
21
|
|
|
9
22
|
## 13.6.4
|
|
10
23
|
|
|
11
24
|
### Patch Changes
|
|
12
25
|
|
|
13
|
-
- [`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.
|
|
14
27
|
|
|
15
28
|
## 13.6.3
|
|
16
29
|
|
|
17
30
|
### Patch Changes
|
|
18
31
|
|
|
19
|
-
- [`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.
|
|
20
33
|
|
|
21
34
|
## 13.6.2
|
|
22
35
|
|
|
23
36
|
### Patch Changes
|
|
24
37
|
|
|
25
|
-
- [`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
|
|
26
39
|
|
|
27
40
|
## 13.6.1
|
|
28
41
|
|
|
29
42
|
### Patch Changes
|
|
30
43
|
|
|
31
|
-
- [`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`
|
|
32
45
|
|
|
33
46
|
## 13.6.0
|
|
34
47
|
|
|
35
48
|
### Minor Changes
|
|
36
49
|
|
|
37
|
-
- [`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
|
|
38
51
|
|
|
39
52
|
### Patch Changes
|
|
40
53
|
|
|
@@ -44,13 +57,13 @@
|
|
|
44
57
|
|
|
45
58
|
### Minor Changes
|
|
46
59
|
|
|
47
|
-
- [`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.
|
|
48
61
|
|
|
49
62
|
## 13.4.9
|
|
50
63
|
|
|
51
64
|
### Patch Changes
|
|
52
65
|
|
|
53
|
-
- [`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.
|
|
54
67
|
- Updated dependencies
|
|
55
68
|
|
|
56
69
|
## 13.4.8
|
|
@@ -69,7 +82,7 @@
|
|
|
69
82
|
|
|
70
83
|
### Patch Changes
|
|
71
84
|
|
|
72
|
-
- [`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.
|
|
73
86
|
|
|
74
87
|
## 13.4.5
|
|
75
88
|
|
|
@@ -93,19 +106,19 @@
|
|
|
93
106
|
|
|
94
107
|
### Patch Changes
|
|
95
108
|
|
|
96
|
-
- [`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.
|
|
97
110
|
|
|
98
111
|
## 13.4.1
|
|
99
112
|
|
|
100
113
|
### Patch Changes
|
|
101
114
|
|
|
102
|
-
- [`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`
|
|
103
116
|
|
|
104
117
|
## 13.4.0
|
|
105
118
|
|
|
106
119
|
### Minor Changes
|
|
107
120
|
|
|
108
|
-
- [`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.
|
|
109
122
|
|
|
110
123
|
### Patch Changes
|
|
111
124
|
|
|
@@ -115,13 +128,13 @@
|
|
|
115
128
|
|
|
116
129
|
### Patch Changes
|
|
117
130
|
|
|
118
|
-
- [`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`.
|
|
119
132
|
|
|
120
133
|
## 13.3.8
|
|
121
134
|
|
|
122
135
|
### Patch Changes
|
|
123
136
|
|
|
124
|
-
- [`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
|
|
125
138
|
|
|
126
139
|
## 13.3.7
|
|
127
140
|
|
|
@@ -139,13 +152,13 @@
|
|
|
139
152
|
|
|
140
153
|
### Patch Changes
|
|
141
154
|
|
|
142
|
-
- [`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
|
|
143
156
|
|
|
144
157
|
## 13.3.4
|
|
145
158
|
|
|
146
159
|
### Patch Changes
|
|
147
160
|
|
|
148
|
-
- [`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
|
|
149
162
|
|
|
150
163
|
## 13.3.3
|
|
151
164
|
|
|
@@ -169,7 +182,7 @@
|
|
|
169
182
|
|
|
170
183
|
### Minor Changes
|
|
171
184
|
|
|
172
|
-
- [`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
|
|
173
186
|
|
|
174
187
|
### Patch Changes
|
|
175
188
|
|
|
@@ -179,7 +192,7 @@
|
|
|
179
192
|
|
|
180
193
|
### Patch Changes
|
|
181
194
|
|
|
182
|
-
- [`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
|
|
183
196
|
- Updated dependencies
|
|
184
197
|
|
|
185
198
|
## 13.2.1
|
|
@@ -192,13 +205,13 @@
|
|
|
192
205
|
|
|
193
206
|
### Minor Changes
|
|
194
207
|
|
|
195
|
-
- [`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.
|
|
196
209
|
|
|
197
210
|
## 13.1.9
|
|
198
211
|
|
|
199
212
|
### Patch Changes
|
|
200
213
|
|
|
201
|
-
- [`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.
|
|
202
215
|
- Updated dependencies
|
|
203
216
|
|
|
204
217
|
## 13.1.8
|
|
@@ -211,19 +224,19 @@
|
|
|
211
224
|
|
|
212
225
|
### Patch Changes
|
|
213
226
|
|
|
214
|
-
- [`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.
|
|
215
228
|
|
|
216
229
|
## 13.1.6
|
|
217
230
|
|
|
218
231
|
### Patch Changes
|
|
219
232
|
|
|
220
|
-
- [`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.
|
|
221
234
|
|
|
222
235
|
## 13.1.5
|
|
223
236
|
|
|
224
237
|
### Patch Changes
|
|
225
238
|
|
|
226
|
-
- [`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.
|
|
227
240
|
|
|
228
241
|
## 13.1.4
|
|
229
242
|
|
|
@@ -235,13 +248,13 @@
|
|
|
235
248
|
|
|
236
249
|
### Patch Changes
|
|
237
250
|
|
|
238
|
-
- [`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.
|
|
239
252
|
|
|
240
253
|
## 13.1.2
|
|
241
254
|
|
|
242
255
|
### Patch Changes
|
|
243
256
|
|
|
244
|
-
- [`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 }`.
|
|
245
258
|
|
|
246
259
|
## 13.1.1
|
|
247
260
|
|
|
@@ -253,7 +266,7 @@
|
|
|
253
266
|
|
|
254
267
|
### Minor Changes
|
|
255
268
|
|
|
256
|
-
- [`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
|
|
257
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.
|
|
258
271
|
|
|
259
272
|
### Patch Changes
|
|
@@ -264,25 +277,25 @@
|
|
|
264
277
|
|
|
265
278
|
### Patch Changes
|
|
266
279
|
|
|
267
|
-
- [`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`.
|
|
268
281
|
|
|
269
282
|
## 13.0.10
|
|
270
283
|
|
|
271
284
|
### Patch Changes
|
|
272
285
|
|
|
273
|
-
- [`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.
|
|
274
287
|
|
|
275
288
|
## 13.0.9
|
|
276
289
|
|
|
277
290
|
### Patch Changes
|
|
278
291
|
|
|
279
|
-
- [`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
|
|
280
293
|
|
|
281
294
|
## 13.0.8
|
|
282
295
|
|
|
283
296
|
### Patch Changes
|
|
284
297
|
|
|
285
|
-
- [`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.
|
|
286
299
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
287
300
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
288
301
|
|
|
@@ -296,13 +309,13 @@
|
|
|
296
309
|
|
|
297
310
|
### Patch Changes
|
|
298
311
|
|
|
299
|
-
- [`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
|
|
300
313
|
|
|
301
314
|
## 13.0.5
|
|
302
315
|
|
|
303
316
|
### Patch Changes
|
|
304
317
|
|
|
305
|
-
- [`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
|
|
306
319
|
|
|
307
320
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
308
321
|
to prevent duplicates of tslib being bundled.
|
|
@@ -311,7 +324,7 @@
|
|
|
311
324
|
|
|
312
325
|
### Patch Changes
|
|
313
326
|
|
|
314
|
-
- [`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
|
|
315
328
|
|
|
316
329
|
## 13.0.3
|
|
317
330
|
|
|
@@ -323,19 +336,19 @@
|
|
|
323
336
|
|
|
324
337
|
### Patch Changes
|
|
325
338
|
|
|
326
|
-
- [`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.
|
|
327
340
|
|
|
328
341
|
## 13.0.1
|
|
329
342
|
|
|
330
343
|
### Patch Changes
|
|
331
344
|
|
|
332
|
-
- [`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
|
|
333
346
|
|
|
334
347
|
## 13.0.0
|
|
335
348
|
|
|
336
349
|
### Major Changes
|
|
337
350
|
|
|
338
|
-
- [`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.
|
|
339
352
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
340
353
|
|
|
341
354
|
### Patch Changes
|
|
@@ -346,7 +359,7 @@
|
|
|
346
359
|
|
|
347
360
|
### Patch Changes
|
|
348
361
|
|
|
349
|
-
- [`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
|
|
350
363
|
|
|
351
364
|
## 12.1.13
|
|
352
365
|
|
|
@@ -832,7 +845,7 @@
|
|
|
832
845
|
|
|
833
846
|
## 9.0.9
|
|
834
847
|
|
|
835
|
-
- [patch][d296df8
|
|
848
|
+
- [patch][d296df8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d296df8"
|
|
836
849
|
d):
|
|
837
850
|
|
|
838
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/"
|
|
@@ -12,20 +12,15 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"typesVersions": {
|
|
16
|
-
">=4.5 <4.9": {
|
|
17
|
-
"*": [
|
|
18
|
-
"dist/types-ts4.5/*",
|
|
19
|
-
"dist/types-ts4.5/index.d.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
15
|
"sideEffects": false,
|
|
24
16
|
"atlaskit:src": "src/index.tsx",
|
|
25
17
|
"atlassian": {
|
|
26
18
|
"team": "Design System Team",
|
|
27
19
|
"deprecatedAutoEntryPoints": true,
|
|
28
20
|
"releaseModel": "continuous",
|
|
21
|
+
"productPushConsumption": [
|
|
22
|
+
"jira"
|
|
23
|
+
],
|
|
29
24
|
"website": {
|
|
30
25
|
"name": "Inline dialog",
|
|
31
26
|
"status": {
|
|
@@ -45,8 +40,8 @@
|
|
|
45
40
|
"@atlaskit/analytics-next": "^9.1.0",
|
|
46
41
|
"@atlaskit/ds-lib": "^2.2.0",
|
|
47
42
|
"@atlaskit/popper": "^5.5.0",
|
|
48
|
-
"@atlaskit/theme": "^12.
|
|
49
|
-
"@atlaskit/tokens": "^1.
|
|
43
|
+
"@atlaskit/theme": "^12.6.0",
|
|
44
|
+
"@atlaskit/tokens": "^1.26.0",
|
|
50
45
|
"@babel/runtime": "^7.0.0",
|
|
51
46
|
"@emotion/react": "^11.7.1",
|
|
52
47
|
"bind-event-listener": "^2.1.1",
|
|
@@ -56,12 +51,14 @@
|
|
|
56
51
|
"react": "^16.8.0"
|
|
57
52
|
},
|
|
58
53
|
"devDependencies": {
|
|
59
|
-
"@
|
|
60
|
-
"@
|
|
54
|
+
"@af/accessibility-testing": "*",
|
|
55
|
+
"@af/visual-regression": "*",
|
|
56
|
+
"@atlaskit/button": "^16.10.0",
|
|
57
|
+
"@atlaskit/datetime-picker": "^12.10.0",
|
|
61
58
|
"@atlaskit/docs": "*",
|
|
62
|
-
"@atlaskit/modal-dialog": "^12.
|
|
59
|
+
"@atlaskit/modal-dialog": "^12.8.0",
|
|
63
60
|
"@atlaskit/section-message": "^6.4.0",
|
|
64
|
-
"@atlaskit/select": "^16.
|
|
61
|
+
"@atlaskit/select": "^16.7.0",
|
|
65
62
|
"@atlaskit/ssr": "*",
|
|
66
63
|
"@atlaskit/visual-regression": "*",
|
|
67
64
|
"@atlaskit/webdriver-runner": "*",
|
|
@@ -99,6 +96,14 @@
|
|
|
99
96
|
"deprecation": "no-deprecated-imports"
|
|
100
97
|
}
|
|
101
98
|
},
|
|
99
|
+
"typesVersions": {
|
|
100
|
+
">=4.5 <4.9": {
|
|
101
|
+
"*": [
|
|
102
|
+
"dist/types-ts4.5/*",
|
|
103
|
+
"dist/types-ts4.5/index.d.ts"
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
},
|
|
102
107
|
"homepage": "https://atlassian.design/components/inline-dialog/",
|
|
103
108
|
"prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.1"
|
|
104
109
|
}
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED