@atlaskit/task-decision 17.9.2 → 17.9.3

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 CHANGED
@@ -1,77 +1,83 @@
1
1
  # @atlaskit/task-decision
2
2
 
3
+ ## 17.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 17.9.2
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - [`8a519feae72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a519feae72) - Update checkbox border contrast under feature flag
13
+ - [#40530](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40530) [`8a519feae72`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8a519feae72) - Update checkbox border contrast under feature flag
8
14
 
9
15
  ## 17.9.1
10
16
 
11
17
  ### Patch Changes
12
18
 
13
- - [`c820226ec08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c820226ec08) - Update feature flag name for checkbox and radio border update
19
+ - [#40282](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40282) [`c820226ec08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c820226ec08) - Update feature flag name for checkbox and radio border update
14
20
 
15
21
  ## 17.9.0
16
22
 
17
23
  ### Minor Changes
18
24
 
19
- - [`96f4e9fe6de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96f4e9fe6de) - [ux] ECA11Y-1 Added keyboard support to focus checkbox, check or uncheck, inside action item
25
+ - [#38929](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38929) [`96f4e9fe6de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/96f4e9fe6de) - [ux] ECA11Y-1 Added keyboard support to focus checkbox, check or uncheck, inside action item
20
26
 
21
27
  ## 17.8.1
22
28
 
23
29
  ### Patch Changes
24
30
 
25
- - [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
31
+ - [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787) [`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal changes to use space tokens. There is no expected visual or behaviour change.
26
32
 
27
33
  ## 17.8.0
28
34
 
29
35
  ### Minor Changes
30
36
 
31
- - [`705d8ec0641`](https://bitbucket.org/atlassian/atlassian-frontend/commits/705d8ec0641) - [ux] Added a new shortcut (⌘ + Opt + ⏎) for Check/Uncheck Action item
37
+ - [#39012](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39012) [`705d8ec0641`](https://bitbucket.org/atlassian/atlassian-frontend/commits/705d8ec0641) - [ux] Added a new shortcut (⌘ + Opt + ⏎) for Check/Uncheck Action item
32
38
 
33
39
  ## 17.7.1
34
40
 
35
41
  ### Patch Changes
36
42
 
37
- - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
43
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
38
44
  - Updated dependencies
39
45
 
40
46
  ## 17.7.0
41
47
 
42
48
  ### Minor Changes
43
49
 
44
- - [`8c026385eb8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c026385eb8) - [ux] ED-17434: Update TaskItem to match @atlaskit/checkbox and update to support design tokens and match spacing from bullet and numbered lists.
50
+ - [#35509](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35509) [`8c026385eb8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c026385eb8) - [ux] ED-17434: Update TaskItem to match @atlaskit/checkbox and update to support design tokens and match spacing from bullet and numbered lists.
45
51
 
46
52
  ## 17.6.4
47
53
 
48
54
  ### Patch Changes
49
55
 
50
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
56
+ - [#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
51
57
 
52
58
  ## 17.6.3
53
59
 
54
60
  ### Patch Changes
55
61
 
56
- - [`9369cc38a68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9369cc38a68) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
62
+ - [#33771](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33771) [`9369cc38a68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9369cc38a68) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
57
63
 
58
64
  ## 17.6.2
59
65
 
60
66
  ### Patch Changes
61
67
 
62
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
68
+ - [#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`
63
69
 
64
70
  ## 17.6.1
65
71
 
66
72
  ### Patch Changes
67
73
 
68
- - [`98c74fa6f26`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98c74fa6f26) - [ux] fix placeholder fallback
74
+ - [#32882](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32882) [`98c74fa6f26`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98c74fa6f26) - [ux] fix placeholder fallback
69
75
 
70
76
  ## 17.6.0
71
77
 
72
78
  ### Minor Changes
73
79
 
74
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
80
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
75
81
 
76
82
  ### Patch Changes
77
83
 
@@ -81,7 +87,7 @@
81
87
 
82
88
  ### Patch Changes
83
89
 
84
- - [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
90
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY remove before merging to master; dupe adf-schema via adf-utils
85
91
 
86
92
  ## 17.5.10
87
93
 
@@ -99,19 +105,19 @@
99
105
 
100
106
  ### Patch Changes
101
107
 
102
- - [`67dc5df7db3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/67dc5df7db3) - [ux] Fix behaviour where safari could get stuck inside a decision item when trying to use the up-arrow key.
108
+ - [#28932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28932) [`67dc5df7db3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/67dc5df7db3) - [ux] Fix behaviour where safari could get stuck inside a decision item when trying to use the up-arrow key.
103
109
 
104
110
  ## 17.5.7
105
111
 
106
112
  ### Patch Changes
107
113
 
108
- - [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
114
+ - [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324) [`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving performance.
109
115
 
110
116
  ## 17.5.6
111
117
 
112
118
  ### Patch Changes
113
119
 
114
- - [`224a2482244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/224a2482244) - [ED-16166] Changes the renderer prop document type from any to DocNode
120
+ - [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090) [`224a2482244`](https://bitbucket.org/atlassian/atlassian-frontend/commits/224a2482244) - [ED-16166] Changes the renderer prop document type from any to DocNode
115
121
 
116
122
  BREAKING for `@atlaskit/renderer`: Previously the `document` prop for the renderer component had the type of `any`. This has now been changed to `DocNode` which comes from `@atlaskit/adf-schema`.
117
123
 
@@ -151,19 +157,19 @@
151
157
 
152
158
  ### Patch Changes
153
159
 
154
- - [`0915ecdd1db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0915ecdd1db) - Removed styled components from dev and peer dependencies
160
+ - [#25860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25860) [`0915ecdd1db`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0915ecdd1db) - Removed styled components from dev and peer dependencies
155
161
 
156
162
  ## 17.5.1
157
163
 
158
164
  ### Patch Changes
159
165
 
160
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
166
+ - [#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`
161
167
 
162
168
  ## 17.5.0
163
169
 
164
170
  ### Minor Changes
165
171
 
166
- - [`2112384b533`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2112384b533) - Replaced styled components with emotion.
172
+ - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`2112384b533`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2112384b533) - Replaced styled components with emotion.
167
173
 
168
174
  ### Patch Changes
169
175
 
@@ -173,13 +179,13 @@
173
179
 
174
180
  ### Patch Changes
175
181
 
176
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
182
+ - [#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`.
177
183
 
178
184
  ## 17.4.4
179
185
 
180
186
  ### Patch Changes
181
187
 
182
- - [`bffe28af76b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bffe28af76b) - ED-14764: Modified CSS display attribute for checkboxes in action items slightly to address the problem seen in firefox where the cursor does not move to the previous item using the up arrow key. No appearance changes to the component as a result of this modification.
188
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`bffe28af76b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bffe28af76b) - ED-14764: Modified CSS display attribute for checkboxes in action items slightly to address the problem seen in firefox where the cursor does not move to the previous item using the up arrow key. No appearance changes to the component as a result of this modification.
183
189
 
184
190
  ## 17.4.3
185
191
 
@@ -191,7 +197,7 @@
191
197
 
192
198
  ### Patch Changes
193
199
 
194
- - [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
200
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes to support Node 16 Typescript definitions from `@types/node`.
195
201
 
196
202
  ## 17.4.1
197
203
 
@@ -203,7 +209,7 @@
203
209
 
204
210
  ### Minor Changes
205
211
 
206
- - [`785548f317d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/785548f317d) - [ux] Instrumented `@atlaskit/task-decision` with the new theming package, `@atlaskit/tokens`.
212
+ - [#20033](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20033) [`785548f317d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/785548f317d) - [ux] Instrumented `@atlaskit/task-decision` with the new theming package, `@atlaskit/tokens`.
207
213
 
208
214
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
209
215
  These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
@@ -217,19 +223,19 @@
217
223
 
218
224
  ### Patch Changes
219
225
 
220
- - [`053b9d1b25e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/053b9d1b25e) - AK-729: an empty label was removed from action item component
226
+ - [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019) [`053b9d1b25e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/053b9d1b25e) - AK-729: an empty label was removed from action item component
221
227
 
222
228
  ## 17.3.1
223
229
 
224
230
  ### Patch Changes
225
231
 
226
- - [`57f3b255fb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57f3b255fb2) - [ux] AK-608: Action items are keyboard accessible
232
+ - [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`57f3b255fb2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/57f3b255fb2) - [ux] AK-608: Action items are keyboard accessible
227
233
 
228
234
  ## 17.3.0
229
235
 
230
236
  ### Minor Changes
231
237
 
232
- - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - AK-735 Update decision icon color
238
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - AK-735 Update decision icon color
233
239
 
234
240
  ### Patch Changes
235
241
 
@@ -239,7 +245,7 @@
239
245
 
240
246
  ### Patch Changes
241
247
 
242
- - [`35611ad44a5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35611ad44a5) - AK-601 Changed checkbox colors to meet minimum contrast requirements
248
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`35611ad44a5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/35611ad44a5) - AK-601 Changed checkbox colors to meet minimum contrast requirements
243
249
  - [`544dc89eb9e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/544dc89eb9e) - import more contrast color for text in decisions list
244
250
 
245
251
  ## 17.2.3
@@ -252,20 +258,20 @@
252
258
 
253
259
  ### Patch Changes
254
260
 
255
- - [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
261
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
256
262
  - Updated dependencies
257
263
 
258
264
  ## 17.2.1
259
265
 
260
266
  ### Patch Changes
261
267
 
262
- - [`414b6216adf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/414b6216adf) - Upgrade date-fns to ^2.17
268
+ - [#9328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9328) [`414b6216adf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/414b6216adf) - Upgrade date-fns to ^2.17
263
269
 
264
270
  ## 17.2.0
265
271
 
266
272
  ### Minor Changes
267
273
 
268
- - [`ab7db4ccc25`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ab7db4ccc25) - Wrap checkbox text with label
274
+ - [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`ab7db4ccc25`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ab7db4ccc25) - Wrap checkbox text with label
269
275
 
270
276
  ### Patch Changes
271
277
 
@@ -275,7 +281,7 @@
275
281
 
276
282
  ### Minor Changes
277
283
 
278
- - [`5be9ece5fd5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5be9ece5fd5) - Removed RxJS from peer dependencies
284
+ - [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`5be9ece5fd5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5be9ece5fd5) - Removed RxJS from peer dependencies
279
285
 
280
286
  ### Patch Changes
281
287
 
@@ -285,7 +291,7 @@
285
291
 
286
292
  ### Patch Changes
287
293
 
288
- - [`471e2431a7c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/471e2431a7c) - Downgrade back to date-fns 1.30.1
294
+ - [#9299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9299) [`471e2431a7c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/471e2431a7c) - Downgrade back to date-fns 1.30.1
289
295
  We discovered big bundle size increases associated with the date-fns upgrade.
290
296
  We're reverting the upgarde to investigate
291
297
 
@@ -293,7 +299,7 @@
293
299
 
294
300
  ### Patch Changes
295
301
 
296
- - [`70f0701c2e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70f0701c2e6) - Upgrade date-fns to 2.17
302
+ - [#8291](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8291) [`70f0701c2e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70f0701c2e6) - Upgrade date-fns to 2.17
297
303
 
298
304
  ## 17.0.10
299
305
 
@@ -305,13 +311,13 @@
305
311
 
306
312
  ### Patch Changes
307
313
 
308
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
314
+ - [#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
309
315
 
310
316
  ## 17.0.8
311
317
 
312
318
  ### Patch Changes
313
319
 
314
- - [`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.
320
+ - [#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.
315
321
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
316
322
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
317
323
 
@@ -325,20 +331,20 @@
325
331
 
326
332
  ### Patch Changes
327
333
 
328
- - [`66a23c5c94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/66a23c5c94) - ED-9350: prevent action item/decision overflow
334
+ - [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749) [`66a23c5c94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/66a23c5c94) - ED-9350: prevent action item/decision overflow
329
335
  - Updated dependencies
330
336
 
331
337
  ## 17.0.5
332
338
 
333
339
  ### Patch Changes
334
340
 
335
- - [`bee2157c1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bee2157c1b) - Remove usage of @atlaskit/util-common-test package
341
+ - [#4932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4932) [`bee2157c1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bee2157c1b) - Remove usage of @atlaskit/util-common-test package
336
342
 
337
343
  ## 17.0.4
338
344
 
339
345
  ### Patch Changes
340
346
 
341
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
347
+ - [#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
342
348
 
343
349
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
344
350
  to prevent duplicates of tslib being bundled.
@@ -347,26 +353,26 @@
347
353
 
348
354
  ### Patch Changes
349
355
 
350
- - [`76165ad82f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/76165ad82f) - Bump required because of conflicts on wadmal release
356
+ - [#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
351
357
 
352
358
  ## 17.0.2
353
359
 
354
360
  ### Patch Changes
355
361
 
356
- - [`e7957c86bf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7957c86bf) - ED-7467: Added a new attribute data-node-type in DecisionList to fix copy/pasting between `@atlaskit/renderer` and `@atlaskit/editor-core`.
362
+ - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`e7957c86bf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7957c86bf) - ED-7467: Added a new attribute data-node-type in DecisionList to fix copy/pasting between `@atlaskit/renderer` and `@atlaskit/editor-core`.
357
363
  - Updated dependencies
358
364
 
359
365
  ## 17.0.1
360
366
 
361
367
  ### Patch Changes
362
368
 
363
- - [`c72502e22a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c72502e22a) - ED-9594: Remove cursor pointer from decision items in renderer
369
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`c72502e22a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c72502e22a) - ED-9594: Remove cursor pointer from decision items in renderer
364
370
 
365
371
  ## 17.0.0
366
372
 
367
373
  ### Major Changes
368
374
 
369
- - [`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.
375
+ - [#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.
370
376
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
371
377
 
372
378
  ### Patch Changes
@@ -377,20 +383,20 @@
377
383
 
378
384
  ### Patch Changes
379
385
 
380
- - [`d320dccd58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d320dccd58) - ED-9488 Remove `export *` from @atlaskit/task-decision
386
+ - [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763) [`d320dccd58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d320dccd58) - ED-9488 Remove `export *` from @atlaskit/task-decision
381
387
 
382
388
  ## 16.1.1
383
389
 
384
390
  ### Patch Changes
385
391
 
386
- - [`6ce2418b54`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ce2418b54) - ED-9349 Remove hover state from decision item
392
+ - [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443) [`6ce2418b54`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ce2418b54) - ED-9349 Remove hover state from decision item
387
393
  - [`a86fbdb2b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a86fbdb2b8) - CEMS-1138 Fix TaskItem 'isDone' state gets overriden when user changes the checkbox value
388
394
 
389
395
  ## 16.1.0
390
396
 
391
397
  ### Minor Changes
392
398
 
393
- - [`ef36de69ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef36de69ad) - ED-8358 Change decision to use a grey background
399
+ - [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`ef36de69ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ef36de69ad) - ED-8358 Change decision to use a grey background
394
400
 
395
401
  ### Patch Changes
396
402
 
@@ -402,7 +408,7 @@
402
408
 
403
409
  ### Patch Changes
404
410
 
405
- - [`9b1a0d0033`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9b1a0d0033) - ED-8358 Revert making decisions background grey- [`d895d21c49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d895d21c49) - ED-9176: add annotations to task and decisions- Updated dependencies
411
+ - [`9b1a0d0033`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9b1a0d0033) - ED-8358 Revert making decisions background grey- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`d895d21c49`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d895d21c49) - ED-9176: add annotations to task and decisions- Updated dependencies
406
412
 
407
413
  ## 16.0.11
408
414
 
@@ -5,7 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.fabricElementsChannel = exports.createAndFireEventInElementsChannel = void 0;
7
7
  var _analyticsNext = require("@atlaskit/analytics-next");
8
- var fabricElementsChannel = 'fabric-elements';
9
- exports.fabricElementsChannel = fabricElementsChannel;
10
- var createAndFireEventInElementsChannel = (0, _analyticsNext.createAndFireEvent)(fabricElementsChannel);
11
- exports.createAndFireEventInElementsChannel = createAndFireEventInElementsChannel;
8
+ var fabricElementsChannel = exports.fabricElementsChannel = 'fabric-elements';
9
+ var createAndFireEventInElementsChannel = exports.createAndFireEventInElementsChannel = (0, _analyticsNext.createAndFireEvent)(fabricElementsChannel);
@@ -15,29 +15,18 @@ var _types = require("../types");
15
15
  var _typeHelpers = require("../type-helpers");
16
16
  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; }
17
17
  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; }
18
- var ACTION_CREATED_FPS_EVENT = 'avi:task-decision-service:created:action';
19
- exports.ACTION_CREATED_FPS_EVENT = ACTION_CREATED_FPS_EVENT;
20
- var ACTION_EDITED_FPS_EVENT = 'avi:task-decision-service:edited:action';
21
- exports.ACTION_EDITED_FPS_EVENT = ACTION_EDITED_FPS_EVENT;
22
- var ACTION_DELETED_FPS_EVENT = 'avi:task-decision-service:deleted:action';
23
- exports.ACTION_DELETED_FPS_EVENT = ACTION_DELETED_FPS_EVENT;
24
- var ACTION_ARCHIVED_FPS_EVENT = 'avi:task-decision-service:archived:action';
25
- exports.ACTION_ARCHIVED_FPS_EVENT = ACTION_ARCHIVED_FPS_EVENT;
26
- var ACTION_STATE_CHANGED_FPS_EVENT = 'avi:task-decision-service:stateChanged:action';
27
- exports.ACTION_STATE_CHANGED_FPS_EVENT = ACTION_STATE_CHANGED_FPS_EVENT;
28
- var DECISION_CREATED_FPS_EVENT = 'avi:task-decision-service:created:decision';
29
- exports.DECISION_CREATED_FPS_EVENT = DECISION_CREATED_FPS_EVENT;
30
- var DECISION_EDITED_FPS_EVENT = 'avi:task-decision-service:edited:decision';
31
- exports.DECISION_EDITED_FPS_EVENT = DECISION_EDITED_FPS_EVENT;
32
- var DECISION_DELETED_FPS_EVENT = 'avi:task-decision-service:deleted:decision';
33
- exports.DECISION_DELETED_FPS_EVENT = DECISION_DELETED_FPS_EVENT;
34
- var DECISION_ARCHIVED_FPS_EVENT = 'avi:task-decision-service:archived:decision';
35
- exports.DECISION_ARCHIVED_FPS_EVENT = DECISION_ARCHIVED_FPS_EVENT;
36
- var DECISION_STATE_CHANGED_FPS_EVENT = 'avi:task-decision-service:stateChanged:decision';
37
- exports.DECISION_STATE_CHANGED_FPS_EVENT = DECISION_STATE_CHANGED_FPS_EVENT;
38
- var ACTION_DECISION_FPS_EVENTS = 'avi:task-decision-service:*:*';
39
- exports.ACTION_DECISION_FPS_EVENTS = ACTION_DECISION_FPS_EVENTS;
40
- var RecentUpdates = /*#__PURE__*/function () {
18
+ var ACTION_CREATED_FPS_EVENT = exports.ACTION_CREATED_FPS_EVENT = 'avi:task-decision-service:created:action';
19
+ var ACTION_EDITED_FPS_EVENT = exports.ACTION_EDITED_FPS_EVENT = 'avi:task-decision-service:edited:action';
20
+ var ACTION_DELETED_FPS_EVENT = exports.ACTION_DELETED_FPS_EVENT = 'avi:task-decision-service:deleted:action';
21
+ var ACTION_ARCHIVED_FPS_EVENT = exports.ACTION_ARCHIVED_FPS_EVENT = 'avi:task-decision-service:archived:action';
22
+ var ACTION_STATE_CHANGED_FPS_EVENT = exports.ACTION_STATE_CHANGED_FPS_EVENT = 'avi:task-decision-service:stateChanged:action';
23
+ var DECISION_CREATED_FPS_EVENT = exports.DECISION_CREATED_FPS_EVENT = 'avi:task-decision-service:created:decision';
24
+ var DECISION_EDITED_FPS_EVENT = exports.DECISION_EDITED_FPS_EVENT = 'avi:task-decision-service:edited:decision';
25
+ var DECISION_DELETED_FPS_EVENT = exports.DECISION_DELETED_FPS_EVENT = 'avi:task-decision-service:deleted:decision';
26
+ var DECISION_ARCHIVED_FPS_EVENT = exports.DECISION_ARCHIVED_FPS_EVENT = 'avi:task-decision-service:archived:decision';
27
+ var DECISION_STATE_CHANGED_FPS_EVENT = exports.DECISION_STATE_CHANGED_FPS_EVENT = 'avi:task-decision-service:stateChanged:decision';
28
+ var ACTION_DECISION_FPS_EVENTS = exports.ACTION_DECISION_FPS_EVENTS = 'avi:task-decision-service:*:*';
29
+ var RecentUpdates = exports.RecentUpdates = /*#__PURE__*/function () {
41
30
  function RecentUpdates(pubSubClient) {
42
31
  var _this = this;
43
32
  (0, _classCallCheck2.default)(this, RecentUpdates);
@@ -122,8 +111,7 @@ var RecentUpdates = /*#__PURE__*/function () {
122
111
  }]);
123
112
  return RecentUpdates;
124
113
  }();
125
- exports.RecentUpdates = RecentUpdates;
126
- var ItemStateManager = /*#__PURE__*/function () {
114
+ var ItemStateManager = exports.ItemStateManager = /*#__PURE__*/function () {
127
115
  function ItemStateManager(serviceConfig) {
128
116
  var _this3 = this;
129
117
  (0, _classCallCheck2.default)(this, ItemStateManager);
@@ -371,8 +359,7 @@ var ItemStateManager = /*#__PURE__*/function () {
371
359
  }]);
372
360
  return ItemStateManager;
373
361
  }();
374
- exports.ItemStateManager = ItemStateManager;
375
- var TaskDecisionResource = /*#__PURE__*/function () {
362
+ var TaskDecisionResource = exports.default = /*#__PURE__*/function () {
376
363
  function TaskDecisionResource(serviceConfig) {
377
364
  (0, _classCallCheck2.default)(this, TaskDecisionResource);
378
365
  this.recentUpdates = new RecentUpdates(serviceConfig.pubSubClient);
@@ -417,5 +404,4 @@ var TaskDecisionResource = /*#__PURE__*/function () {
417
404
  }
418
405
  }]);
419
406
  return TaskDecisionResource;
420
- }();
421
- exports.default = TaskDecisionResource;
407
+ }();
@@ -11,7 +11,7 @@ var _excluded = ["creationDate", "lastUpdateDate", "creatorId", "lastUpdaterId"]
11
11
  _excluded2 = ["lastUpdateDate"];
12
12
  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; }
13
13
  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; }
14
- var convertServiceTaskToTask = function convertServiceTaskToTask(serviceTask) {
14
+ var convertServiceTaskToTask = exports.convertServiceTaskToTask = function convertServiceTaskToTask(serviceTask) {
15
15
  var creationDate = serviceTask.creationDate,
16
16
  lastUpdateDate = serviceTask.lastUpdateDate,
17
17
  creatorId = serviceTask.creatorId,
@@ -24,8 +24,7 @@ var convertServiceTaskToTask = function convertServiceTaskToTask(serviceTask) {
24
24
  lastUpdater: lastUpdaterId
25
25
  }, other);
26
26
  };
27
- exports.convertServiceTaskToTask = convertServiceTaskToTask;
28
- var convertServiceTaskStateToBaseItem = function convertServiceTaskStateToBaseItem(serviceTaskInfo) {
27
+ var convertServiceTaskStateToBaseItem = exports.convertServiceTaskStateToBaseItem = function convertServiceTaskStateToBaseItem(serviceTaskInfo) {
29
28
  var lastUpdateDate = serviceTaskInfo.lastUpdateDate,
30
29
  other = (0, _objectWithoutProperties2.default)(serviceTaskInfo, _excluded2);
31
30
  return _objectSpread({
@@ -33,8 +32,7 @@ var convertServiceTaskStateToBaseItem = function convertServiceTaskStateToBaseIt
33
32
  lastUpdateDate: new Date(lastUpdateDate)
34
33
  }, other);
35
34
  };
36
- exports.convertServiceTaskStateToBaseItem = convertServiceTaskStateToBaseItem;
37
- var findIndex = function findIndex(array, predicate) {
35
+ var findIndex = exports.findIndex = function findIndex(array, predicate) {
38
36
  var index = -1;
39
37
  array.some(function (item, i) {
40
38
  if (predicate(item)) {
@@ -44,5 +42,4 @@ var findIndex = function findIndex(array, predicate) {
44
42
  return false;
45
43
  });
46
44
  return index;
47
- };
48
- exports.findIndex = findIndex;
45
+ };
@@ -57,5 +57,4 @@ var DecisionItem = function DecisionItem(_ref) {
57
57
  theme: theme
58
58
  }, children);
59
59
  };
60
- var _default = DecisionItem;
61
- exports.default = _default;
60
+ var _default = exports.default = DecisionItem;
@@ -18,7 +18,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
18
18
  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; }
19
19
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
20
20
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
21
- var DecisionList = /*#__PURE__*/function (_PureComponent) {
21
+ var DecisionList = exports.default = /*#__PURE__*/function (_PureComponent) {
22
22
  (0, _inherits2.default)(DecisionList, _PureComponent);
23
23
  var _super = _createSuper(DecisionList);
24
24
  function DecisionList() {
@@ -55,5 +55,4 @@ var DecisionList = /*#__PURE__*/function (_PureComponent) {
55
55
  }
56
56
  }]);
57
57
  return DecisionList;
58
- }(_react.PureComponent);
59
- exports.default = DecisionList;
58
+ }(_react.PureComponent);
@@ -18,7 +18,7 @@ var _constants = require("@atlaskit/theme/constants");
18
18
  var _styles = require("./styles");
19
19
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
20
20
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */ // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
21
- var Item = /*#__PURE__*/function (_PureComponent) {
21
+ var Item = exports.default = /*#__PURE__*/function (_PureComponent) {
22
22
  (0, _inherits2.default)(Item, _PureComponent);
23
23
  var _super = _createSuper(Item);
24
24
  function Item() {
@@ -86,7 +86,6 @@ var Item = /*#__PURE__*/function (_PureComponent) {
86
86
  }]);
87
87
  return Item;
88
88
  }(_react.PureComponent);
89
- exports.default = Item;
90
89
  (0, _defineProperty2.default)(Item, "defaultProps", {
91
90
  appearance: 'inline'
92
91
  });
@@ -22,7 +22,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
22
22
  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; }
23
23
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
24
24
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
25
- var ResourcedTaskItem = /*#__PURE__*/function (_PureComponent) {
25
+ var ResourcedTaskItem = exports.default = /*#__PURE__*/function (_PureComponent) {
26
26
  (0, _inherits2.default)(ResourcedTaskItem, _PureComponent);
27
27
  var _super = _createSuper(ResourcedTaskItem);
28
28
  function ResourcedTaskItem(props) {
@@ -179,7 +179,6 @@ var ResourcedTaskItem = /*#__PURE__*/function (_PureComponent) {
179
179
  }]);
180
180
  return ResourcedTaskItem;
181
181
  }(_react.PureComponent);
182
- exports.default = ResourcedTaskItem;
183
182
  (0, _defineProperty2.default)(ResourcedTaskItem, "defaultProps", {
184
183
  appearance: 'inline'
185
184
  });
@@ -87,11 +87,11 @@ var TaskItem = function TaskItem(props) {
87
87
  _react.default.useEffect(function () {
88
88
  if (isFocused && inputRef.current) {
89
89
  var _inputRef$current, _inputRef$current2;
90
- (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
91
- (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.blur();
90
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
91
+ (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.blur();
92
92
  setTimeout(function () {
93
93
  var _inputRef$current3;
94
- (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.focus();
94
+ (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 || _inputRef$current3.focus();
95
95
  }, 100);
96
96
  }
97
97
  }, [isFocused]);
@@ -110,5 +110,4 @@ var TaskItem = function TaskItem(props) {
110
110
 
111
111
  // This is to ensure that the "type" is exported, as it gets lost and not exported along with TaskItem after
112
112
  // going through the high order component.
113
- var _default = (0, _analyticsNext.withAnalyticsEvents)()(TaskItem);
114
- exports.default = _default;
113
+ var _default = exports.default = (0, _analyticsNext.withAnalyticsEvents)()(TaskItem);
@@ -19,7 +19,7 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
19
19
  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; }
20
20
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
21
21
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
22
- var TaskList = /*#__PURE__*/function (_PureComponent) {
22
+ var TaskList = exports.default = /*#__PURE__*/function (_PureComponent) {
23
23
  (0, _inherits2.default)(TaskList, _PureComponent);
24
24
  var _super = _createSuper(TaskList);
25
25
  function TaskList() {
@@ -63,5 +63,4 @@ var TaskList = /*#__PURE__*/function (_PureComponent) {
63
63
  }
64
64
  }]);
65
65
  return TaskList;
66
- }(_react.PureComponent);
67
- exports.default = TaskList;
66
+ }(_react.PureComponent);
@@ -16,15 +16,11 @@ var _templateObject, _templateObject2, _templateObject3, _templateObject4, _temp
16
16
  Increasing specificity with double ampersand to ensure these rules take
17
17
  priority over the global styles applied to 'ol' elements.
18
18
  */
19
- var listStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n && {\n list-style-type: none;\n padding-left: 0;\n }\n"])));
20
- exports.listStyles = listStyles;
21
- var taskListStyles = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n div + div {\n margin-top: ", ";\n }\n"])), "var(--ds-space-050, 4px)");
22
- exports.taskListStyles = taskListStyles;
23
- var contentStyles = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n margin: 0;\n word-wrap: break-word;\n min-width: 0;\n flex: 1 1 auto;\n"])));
24
- exports.contentStyles = contentStyles;
25
- var taskStyles = (0, _react.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n position: relative;\n"])));
26
- exports.taskStyles = taskStyles;
27
- var decisionStyles = function decisionStyles(theme) {
19
+ var listStyles = exports.listStyles = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n && {\n list-style-type: none;\n padding-left: 0;\n }\n"])));
20
+ var taskListStyles = exports.taskListStyles = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n div + div {\n margin-top: ", ";\n }\n"])), "var(--ds-space-050, 4px)");
21
+ var contentStyles = exports.contentStyles = (0, _react.css)(_templateObject3 || (_templateObject3 = (0, _taggedTemplateLiteral2.default)(["\n margin: 0;\n word-wrap: break-word;\n min-width: 0;\n flex: 1 1 auto;\n"])));
22
+ var taskStyles = exports.taskStyles = (0, _react.css)(_templateObject4 || (_templateObject4 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n position: relative;\n"])));
23
+ var decisionStyles = exports.decisionStyles = function decisionStyles(theme) {
28
24
  return (0, _react.css)(_templateObject5 || (_templateObject5 = (0, _taggedTemplateLiteral2.default)(["\n display: flex;\n flex-direction: row;\n margin: ", " 0 0 0;\n padding: ", ";\n padding-left: ", ";\n border-radius: ", ";\n background-color: ", ";\n position: relative;\n\n .decision-item {\n cursor: initial;\n }\n "])), "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-space-150, 12px)", "var(--ds-border-radius-100, 3px)", (0, _components.themed)({
29
25
  light: "var(--ds-background-neutral, ".concat(_colors.N20A, ")"),
30
26
  dark: "var(--ds-background-neutral, ".concat(_colors.DN50, ")")
@@ -32,8 +28,7 @@ var decisionStyles = function decisionStyles(theme) {
32
28
  theme: theme
33
29
  }));
34
30
  };
35
- exports.decisionStyles = decisionStyles;
36
- var placeholderStyles = function placeholderStyles(offset) {
31
+ var placeholderStyles = exports.placeholderStyles = function placeholderStyles(offset) {
37
32
  return (0, _react.css)(_templateObject6 || (_templateObject6 = (0, _taggedTemplateLiteral2.default)(["\n margin: 0 0 0 ", "px;\n position: absolute;\n color: ", ";\n pointer-events: none;\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n max-width: calc(100% - 50px);\n "])), offset, "var(--ds-text-subtlest, ".concat(_colors.N200, ")"));
38
33
  };
39
34
 
@@ -42,8 +37,7 @@ var placeholderStyles = function placeholderStyles(offset) {
42
37
  * To be used until mobile editor does not require legacy themed() API anymore,
43
38
  * which will allow migration to use @atlaskit/checkbox instead
44
39
  */
45
- exports.placeholderStyles = placeholderStyles;
46
- var checkboxStyles = function checkboxStyles(isRenderer) {
40
+ var checkboxStyles = exports.checkboxStyles = function checkboxStyles(isRenderer) {
47
41
  return function (theme) {
48
42
  return (0, _react.css)(_templateObject7 || (_templateObject7 = (0, _taggedTemplateLiteral2.default)(["\n flex: 0 0 24px;\n width: 24px;\n height: 24px;\n position: relative;\n align-self: start;\n\n & > input[type='checkbox'] {\n width: 16px;\n height: 16px;\n z-index: 1;\n cursor: pointer;\n outline: none;\n margin: 0;\n opacity: 0;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n\n &[disabled] {\n cursor: default;\n }\n\n + span {\n width: 24px;\n height: 24px;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n\n + span > svg {\n box-sizing: border-box;\n display: inline;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-width: unset;\n max-height: unset;\n position: absolute;\n overflow: hidden;\n color: ", ";\n transition: color 0.2s ease-in-out, fill 0.2s ease-in-out;\n path:first-of-type {\n visibility: hidden;\n }\n rect:first-of-type {\n stroke: ", ";\n stroke-width: ", ";\n transition: stroke 0.2s ease-in-out;\n }\n }\n\n &&:focus + span > svg,\n &&:checked:focus + span > svg {\n rect:first-of-type {\n stroke: ", ";\n }\n }\n\n &:hover + span > svg {\n color: ", ";\n rect:first-of-type {\n stroke: ", ";\n }\n }\n\n &:checked:hover + span > svg {\n color: ", ";\n fill: ", ";\n rect:first-of-type {\n stroke: ", ";\n }\n }\n\n &:checked {\n + span > svg {\n path:first-of-type {\n visibility: visible;\n }\n color: ", ";\n fill: ", ";\n rect:first-of-type {\n stroke: ", ";\n }\n }\n }\n\n &:active + span > svg {\n color: ", ";\n rect:first-of-type {\n stroke: ", ";\n }\n }\n\n &:checked:active + span > svg {\n color: ", ";\n fill: ", ";\n rect:first-of-type {\n stroke: ", ";\n }\n }\n\n &:disabled + span > svg,\n &:disabled:hover + span > svg,\n &:disabled:focus + span > svg,\n &:disabled:active + span > svg {\n color: ", ";\n rect:first-of-type {\n stroke: ", ";\n }\n }\n\n &:disabled:checked + span > svg {\n fill: ", ";\n }\n\n &:focus + span > svg rect:first-of-type {\n stroke: ", ";\n }\n &:checked:focus + span {\n & > svg {\n rect:first-of-type {\n stroke: ", ";\n }\n }\n }\n\n ", "\n }\n "])), (0, _components.themed)({
49
43
  light: _theme.default.light.boxColor.rest,
@@ -162,5 +156,4 @@ var checkboxStyles = function checkboxStyles(isRenderer) {
162
156
  theme: theme
163
157
  })));
164
158
  };
165
- };
166
- exports.checkboxStyles = checkboxStyles;
159
+ };
@@ -66,5 +66,4 @@ var checkboxTheme = {
66
66
  }
67
67
  }
68
68
  };
69
- var _default = checkboxTheme;
70
- exports.default = _default;
69
+ var _default = exports.default = checkboxTheme;
@@ -4,5 +4,4 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultLimit = void 0;
7
- var defaultLimit = 100;
8
- exports.defaultLimit = defaultLimit;
7
+ var defaultLimit = exports.defaultLimit = 100;
@@ -4,15 +4,13 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.toggleTaskState = exports.toObjectKey = exports.objectKeyToString = exports.isTask = exports.isDecision = void 0;
7
- var isDecision = function isDecision(item) {
7
+ var isDecision = exports.isDecision = function isDecision(item) {
8
8
  return !!(item && item.type === 'DECISION');
9
9
  };
10
- exports.isDecision = isDecision;
11
- var isTask = function isTask(item) {
10
+ var isTask = exports.isTask = function isTask(item) {
12
11
  return !!(item && item.type === 'TASK');
13
12
  };
14
- exports.isTask = isTask;
15
- var toObjectKey = function toObjectKey(item) {
13
+ var toObjectKey = exports.toObjectKey = function toObjectKey(item) {
16
14
  var localId = item.localId,
17
15
  objectAri = item.objectAri;
18
16
  return {
@@ -20,14 +18,11 @@ var toObjectKey = function toObjectKey(item) {
20
18
  objectAri: objectAri
21
19
  };
22
20
  };
23
- exports.toObjectKey = toObjectKey;
24
- var objectKeyToString = function objectKeyToString(objectKey) {
21
+ var objectKeyToString = exports.objectKeyToString = function objectKeyToString(objectKey) {
25
22
  var objectAri = objectKey.objectAri,
26
23
  localId = objectKey.localId;
27
24
  return "".concat(objectAri, ":").concat(localId);
28
25
  };
29
- exports.objectKeyToString = objectKeyToString;
30
- var toggleTaskState = function toggleTaskState(state) {
26
+ var toggleTaskState = exports.toggleTaskState = function toggleTaskState(state) {
31
27
  return state === 'DONE' ? 'TODO' : 'DONE';
32
- };
33
- exports.toggleTaskState = toggleTaskState;
28
+ };
package/dist/cjs/types.js CHANGED
@@ -14,10 +14,9 @@ exports.PubSubSpecialEventType = void 0;
14
14
  /**
15
15
  * Same as PubSub client types (don't want a direct dep though)
16
16
  */
17
- var PubSubSpecialEventType = /*#__PURE__*/function (PubSubSpecialEventType) {
17
+ var PubSubSpecialEventType = exports.PubSubSpecialEventType = /*#__PURE__*/function (PubSubSpecialEventType) {
18
18
  PubSubSpecialEventType["ERROR"] = "ERROR";
19
19
  PubSubSpecialEventType["CONNECTED"] = "CONNECTED";
20
20
  PubSubSpecialEventType["RECONNECT"] = "RECONNECT";
21
21
  return PubSubSpecialEventType;
22
- }({});
23
- exports.PubSubSpecialEventType = PubSubSpecialEventType;
22
+ }({});
@@ -76,11 +76,11 @@ var TaskItem = function TaskItem(props) {
76
76
  React.useEffect(function () {
77
77
  if (isFocused && inputRef.current) {
78
78
  var _inputRef$current, _inputRef$current2;
79
- (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 ? void 0 : _inputRef$current.focus();
80
- (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 ? void 0 : _inputRef$current2.blur();
79
+ (_inputRef$current = inputRef.current) === null || _inputRef$current === void 0 || _inputRef$current.focus();
80
+ (_inputRef$current2 = inputRef.current) === null || _inputRef$current2 === void 0 || _inputRef$current2.blur();
81
81
  setTimeout(function () {
82
82
  var _inputRef$current3;
83
- (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 ? void 0 : _inputRef$current3.focus();
83
+ (_inputRef$current3 = inputRef.current) === null || _inputRef$current3 === void 0 || _inputRef$current3.focus();
84
84
  }, 100);
85
85
  }
86
86
  }, [isFocused]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/task-decision",
3
- "version": "17.9.2",
3
+ "version": "17.9.3",
4
4
  "description": "Tasks and decisions react components",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,10 +36,10 @@
36
36
  "dependencies": {
37
37
  "@atlaskit/analytics-namespaced-context": "^6.7.0",
38
38
  "@atlaskit/analytics-next": "^9.1.0",
39
- "@atlaskit/icon": "^21.12.0",
39
+ "@atlaskit/icon": "^22.0.0",
40
40
  "@atlaskit/platform-feature-flags": "^0.2.2",
41
41
  "@atlaskit/theme": "^12.6.0",
42
- "@atlaskit/tokens": "^1.25.0",
42
+ "@atlaskit/tokens": "^1.28.0",
43
43
  "@atlaskit/util-service-support": "^6.2.0",
44
44
  "@babel/runtime": "^7.0.0",
45
45
  "@emotion/react": "^11.7.1",