@atlaskit/inline-dialog 13.6.6 → 13.6.8
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 -39
- package/dist/cjs/InlineDialog/index.js +6 -8
- package/dist/cjs/InlineDialog/styled/container.js +4 -5
- package/dist/es2019/InlineDialog/index.js +2 -2
- package/dist/esm/InlineDialog/index.js +3 -3
- package/dist/esm/InlineDialog/styled/container.js +2 -2
- package/package.json +11 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,47 +1,59 @@
|
|
|
1
1
|
# @atlaskit/inline-dialog
|
|
2
2
|
|
|
3
|
+
## 13.6.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#41990](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41990) [`7a88114cef7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a88114cef7) - added type dependency for @types/react-node-resolver
|
|
8
|
+
|
|
9
|
+
## 13.6.7
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#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
|
|
14
|
+
|
|
3
15
|
## 13.6.6
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
19
|
+
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
8
20
|
- Updated dependencies
|
|
9
21
|
|
|
10
22
|
## 13.6.5
|
|
11
23
|
|
|
12
24
|
### Patch Changes
|
|
13
25
|
|
|
14
|
-
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
26
|
+
- [#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
27
|
|
|
16
28
|
## 13.6.4
|
|
17
29
|
|
|
18
30
|
### Patch Changes
|
|
19
31
|
|
|
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.
|
|
32
|
+
- [#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
33
|
|
|
22
34
|
## 13.6.3
|
|
23
35
|
|
|
24
36
|
### Patch Changes
|
|
25
37
|
|
|
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.
|
|
38
|
+
- [#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
39
|
|
|
28
40
|
## 13.6.2
|
|
29
41
|
|
|
30
42
|
### Patch Changes
|
|
31
43
|
|
|
32
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
44
|
+
- [#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
45
|
|
|
34
46
|
## 13.6.1
|
|
35
47
|
|
|
36
48
|
### Patch Changes
|
|
37
49
|
|
|
38
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
50
|
+
- [#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
51
|
|
|
40
52
|
## 13.6.0
|
|
41
53
|
|
|
42
54
|
### Minor Changes
|
|
43
55
|
|
|
44
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
56
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
45
57
|
|
|
46
58
|
### Patch Changes
|
|
47
59
|
|
|
@@ -51,13 +63,13 @@
|
|
|
51
63
|
|
|
52
64
|
### Minor Changes
|
|
53
65
|
|
|
54
|
-
- [`c0dd48dfb67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0dd48dfb67) - [ux] Adds keyboard support of using escape to close inline dialog.
|
|
66
|
+
- [#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
67
|
|
|
56
68
|
## 13.4.9
|
|
57
69
|
|
|
58
70
|
### Patch Changes
|
|
59
71
|
|
|
60
|
-
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
|
|
72
|
+
- [#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
73
|
- Updated dependencies
|
|
62
74
|
|
|
63
75
|
## 13.4.8
|
|
@@ -76,7 +88,7 @@
|
|
|
76
88
|
|
|
77
89
|
### Patch Changes
|
|
78
90
|
|
|
79
|
-
- [`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal change to update token references. There is no expected behaviour or visual change.
|
|
91
|
+
- [#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
92
|
|
|
81
93
|
## 13.4.5
|
|
82
94
|
|
|
@@ -100,19 +112,19 @@
|
|
|
100
112
|
|
|
101
113
|
### Patch Changes
|
|
102
114
|
|
|
103
|
-
- [`9de88fa1e1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9de88fa1e1e) - Internal changes to include spacing tokens in component implementations.
|
|
115
|
+
- [#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
116
|
|
|
105
117
|
## 13.4.1
|
|
106
118
|
|
|
107
119
|
### Patch Changes
|
|
108
120
|
|
|
109
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
121
|
+
- [#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
122
|
|
|
111
123
|
## 13.4.0
|
|
112
124
|
|
|
113
125
|
### Minor Changes
|
|
114
126
|
|
|
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.
|
|
127
|
+
- [#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
128
|
|
|
117
129
|
### Patch Changes
|
|
118
130
|
|
|
@@ -122,13 +134,13 @@
|
|
|
122
134
|
|
|
123
135
|
### Patch Changes
|
|
124
136
|
|
|
125
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
137
|
+
- [#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
138
|
|
|
127
139
|
## 13.3.8
|
|
128
140
|
|
|
129
141
|
### Patch Changes
|
|
130
142
|
|
|
131
|
-
- [`8a5bdb3c844`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a5bdb3c844) - Upgrading internal dependency (bind-event-listener) for improved internal types
|
|
143
|
+
- [#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
144
|
|
|
133
145
|
## 13.3.7
|
|
134
146
|
|
|
@@ -146,13 +158,13 @@
|
|
|
146
158
|
|
|
147
159
|
### Patch Changes
|
|
148
160
|
|
|
149
|
-
- [`2e7bbdfd813`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e7bbdfd813) - Upgrading internal dependency 'bind-event-listener' to 2.1.0 for improved types
|
|
161
|
+
- [#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
162
|
|
|
151
163
|
## 13.3.4
|
|
152
164
|
|
|
153
165
|
### Patch Changes
|
|
154
166
|
|
|
155
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
167
|
+
- [#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
168
|
|
|
157
169
|
## 13.3.3
|
|
158
170
|
|
|
@@ -176,7 +188,7 @@
|
|
|
176
188
|
|
|
177
189
|
### Minor Changes
|
|
178
190
|
|
|
179
|
-
- [`2a53f51adc6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2a53f51adc6) - Introduce the prop `strategy` to allow consumers to override the default positioning strategy
|
|
191
|
+
- [#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
192
|
|
|
181
193
|
### Patch Changes
|
|
182
194
|
|
|
@@ -186,7 +198,7 @@
|
|
|
186
198
|
|
|
187
199
|
### Patch Changes
|
|
188
200
|
|
|
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
|
|
201
|
+
- [#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
202
|
- Updated dependencies
|
|
191
203
|
|
|
192
204
|
## 13.2.1
|
|
@@ -199,13 +211,13 @@
|
|
|
199
211
|
|
|
200
212
|
### Minor Changes
|
|
201
213
|
|
|
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.
|
|
214
|
+
- [#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
215
|
|
|
204
216
|
## 13.1.9
|
|
205
217
|
|
|
206
218
|
### Patch Changes
|
|
207
219
|
|
|
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.
|
|
220
|
+
- [#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
221
|
- Updated dependencies
|
|
210
222
|
|
|
211
223
|
## 13.1.8
|
|
@@ -218,19 +230,19 @@
|
|
|
218
230
|
|
|
219
231
|
### Patch Changes
|
|
220
232
|
|
|
221
|
-
- [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
|
|
233
|
+
- [#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
234
|
|
|
223
235
|
## 13.1.6
|
|
224
236
|
|
|
225
237
|
### Patch Changes
|
|
226
238
|
|
|
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.
|
|
239
|
+
- [#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
240
|
|
|
229
241
|
## 13.1.5
|
|
230
242
|
|
|
231
243
|
### Patch Changes
|
|
232
244
|
|
|
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.
|
|
245
|
+
- [#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
246
|
|
|
235
247
|
## 13.1.4
|
|
236
248
|
|
|
@@ -242,13 +254,13 @@
|
|
|
242
254
|
|
|
243
255
|
### Patch Changes
|
|
244
256
|
|
|
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.
|
|
257
|
+
- [#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
258
|
|
|
247
259
|
## 13.1.2
|
|
248
260
|
|
|
249
261
|
### Patch Changes
|
|
250
262
|
|
|
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 }`.
|
|
263
|
+
- [#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
264
|
|
|
253
265
|
## 13.1.1
|
|
254
266
|
|
|
@@ -260,7 +272,7 @@
|
|
|
260
272
|
|
|
261
273
|
### Minor Changes
|
|
262
274
|
|
|
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
|
|
275
|
+
- [#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
276
|
- [`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
277
|
|
|
266
278
|
### Patch Changes
|
|
@@ -271,25 +283,25 @@
|
|
|
271
283
|
|
|
272
284
|
### Patch Changes
|
|
273
285
|
|
|
274
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
286
|
+
- [#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
287
|
|
|
276
288
|
## 13.0.10
|
|
277
289
|
|
|
278
290
|
### Patch Changes
|
|
279
291
|
|
|
280
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
292
|
+
- [#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
293
|
|
|
282
294
|
## 13.0.9
|
|
283
295
|
|
|
284
296
|
### Patch Changes
|
|
285
297
|
|
|
286
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
298
|
+
- [#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
299
|
|
|
288
300
|
## 13.0.8
|
|
289
301
|
|
|
290
302
|
### Patch Changes
|
|
291
303
|
|
|
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.
|
|
304
|
+
- [#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
305
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
294
306
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
295
307
|
|
|
@@ -303,13 +315,13 @@
|
|
|
303
315
|
|
|
304
316
|
### Patch Changes
|
|
305
317
|
|
|
306
|
-
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
318
|
+
- [#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
319
|
|
|
308
320
|
## 13.0.5
|
|
309
321
|
|
|
310
322
|
### Patch Changes
|
|
311
323
|
|
|
312
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
324
|
+
- [#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
325
|
|
|
314
326
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
315
327
|
to prevent duplicates of tslib being bundled.
|
|
@@ -318,7 +330,7 @@
|
|
|
318
330
|
|
|
319
331
|
### Patch Changes
|
|
320
332
|
|
|
321
|
-
- [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
|
|
333
|
+
- [#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
334
|
|
|
323
335
|
## 13.0.3
|
|
324
336
|
|
|
@@ -330,19 +342,19 @@
|
|
|
330
342
|
|
|
331
343
|
### Patch Changes
|
|
332
344
|
|
|
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.
|
|
345
|
+
- [#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
346
|
|
|
335
347
|
## 13.0.1
|
|
336
348
|
|
|
337
349
|
### Patch Changes
|
|
338
350
|
|
|
339
|
-
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
351
|
+
- [#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
352
|
|
|
341
353
|
## 13.0.0
|
|
342
354
|
|
|
343
355
|
### Major Changes
|
|
344
356
|
|
|
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.
|
|
357
|
+
- [#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
358
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
347
359
|
|
|
348
360
|
### Patch Changes
|
|
@@ -353,7 +365,7 @@
|
|
|
353
365
|
|
|
354
366
|
### Patch Changes
|
|
355
367
|
|
|
356
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
368
|
+
- [#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
369
|
|
|
358
370
|
## 12.1.13
|
|
359
371
|
|
|
@@ -839,7 +851,7 @@
|
|
|
839
851
|
|
|
840
852
|
## 9.0.9
|
|
841
853
|
|
|
842
|
-
- [patch][d296df8
|
|
854
|
+
- [patch][d296df8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d296df8"
|
|
843
855
|
d):
|
|
844
856
|
|
|
845
857
|
- 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.8";
|
|
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
|
});
|
|
@@ -153,13 +153,12 @@ var InlineDialog = /*#__PURE__*/(0, _react.memo)(function InlineDialog(_ref) {
|
|
|
153
153
|
ref.current = node;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
|
-
}, children);
|
|
156
|
+
}, (0, _react2.jsx)(_react.default.Fragment, null, 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.8";
|
|
12
12
|
const checkIsChildOfPortal = node => {
|
|
13
13
|
if (!node) {
|
|
14
14
|
return false;
|
|
@@ -137,7 +137,7 @@ const InlineDialog = /*#__PURE__*/memo(function InlineDialog({
|
|
|
137
137
|
ref.current = node;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
}, children)), popper);
|
|
140
|
+
}, jsx(React.Fragment, null, children))), popper);
|
|
141
141
|
});
|
|
142
142
|
InlineDialog.displayName = 'InlineDialog';
|
|
143
143
|
export { InlineDialog as InlineDialogWithoutAnalytics };
|
|
@@ -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.8";
|
|
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
|
});
|
|
@@ -142,7 +142,7 @@ var InlineDialog = /*#__PURE__*/memo(function InlineDialog(_ref) {
|
|
|
142
142
|
ref.current = node;
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
}, children);
|
|
145
|
+
}, jsx(React.Fragment, null, children));
|
|
146
146
|
}), popper);
|
|
147
147
|
});
|
|
148
148
|
InlineDialog.displayName = 'InlineDialog';
|
|
@@ -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.8",
|
|
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.28.0",
|
|
42
45
|
"@babel/runtime": "^7.0.0",
|
|
43
46
|
"@emotion/react": "^11.7.1",
|
|
44
47
|
"bind-event-listener": "^2.1.1",
|
|
@@ -50,17 +53,18 @@
|
|
|
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.11.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": "*",
|
|
62
65
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
63
66
|
"@testing-library/react": "^12.1.5",
|
|
67
|
+
"@types/react-node-resolver": "^2.0.0",
|
|
64
68
|
"react-dom": "^16.8.0",
|
|
65
69
|
"react-lorem-component": "^0.13.0",
|
|
66
70
|
"typescript": "~4.9.5",
|