@atlaskit/task-decision 17.9.1 → 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,71 +1,83 @@
1
1
  # @atlaskit/task-decision
2
2
 
3
+ ## 17.9.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 17.9.2
10
+
11
+ ### Patch Changes
12
+
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
14
+
3
15
  ## 17.9.1
4
16
 
5
17
  ### Patch Changes
6
18
 
7
- - [`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
8
20
 
9
21
  ## 17.9.0
10
22
 
11
23
  ### Minor Changes
12
24
 
13
- - [`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
14
26
 
15
27
  ## 17.8.1
16
28
 
17
29
  ### Patch Changes
18
30
 
19
- - [`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.
20
32
 
21
33
  ## 17.8.0
22
34
 
23
35
  ### Minor Changes
24
36
 
25
- - [`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
26
38
 
27
39
  ## 17.7.1
28
40
 
29
41
  ### Patch Changes
30
42
 
31
- - [`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
32
44
  - Updated dependencies
33
45
 
34
46
  ## 17.7.0
35
47
 
36
48
  ### Minor Changes
37
49
 
38
- - [`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.
39
51
 
40
52
  ## 17.6.4
41
53
 
42
54
  ### Patch Changes
43
55
 
44
- - [`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
45
57
 
46
58
  ## 17.6.3
47
59
 
48
60
  ### Patch Changes
49
61
 
50
- - [`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.
51
63
 
52
64
  ## 17.6.2
53
65
 
54
66
  ### Patch Changes
55
67
 
56
- - [`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`
57
69
 
58
70
  ## 17.6.1
59
71
 
60
72
  ### Patch Changes
61
73
 
62
- - [`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
63
75
 
64
76
  ## 17.6.0
65
77
 
66
78
  ### Minor Changes
67
79
 
68
- - [`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
69
81
 
70
82
  ### Patch Changes
71
83
 
@@ -75,7 +87,7 @@
75
87
 
76
88
  ### Patch Changes
77
89
 
78
- - [`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
79
91
 
80
92
  ## 17.5.10
81
93
 
@@ -93,19 +105,19 @@
93
105
 
94
106
  ### Patch Changes
95
107
 
96
- - [`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.
97
109
 
98
110
  ## 17.5.7
99
111
 
100
112
  ### Patch Changes
101
113
 
102
- - [`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.
103
115
 
104
116
  ## 17.5.6
105
117
 
106
118
  ### Patch Changes
107
119
 
108
- - [`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
109
121
 
110
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`.
111
123
 
@@ -145,19 +157,19 @@
145
157
 
146
158
  ### Patch Changes
147
159
 
148
- - [`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
149
161
 
150
162
  ## 17.5.1
151
163
 
152
164
  ### Patch Changes
153
165
 
154
- - [`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`
155
167
 
156
168
  ## 17.5.0
157
169
 
158
170
  ### Minor Changes
159
171
 
160
- - [`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.
161
173
 
162
174
  ### Patch Changes
163
175
 
@@ -167,13 +179,13 @@
167
179
 
168
180
  ### Patch Changes
169
181
 
170
- - [`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`.
171
183
 
172
184
  ## 17.4.4
173
185
 
174
186
  ### Patch Changes
175
187
 
176
- - [`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.
177
189
 
178
190
  ## 17.4.3
179
191
 
@@ -185,7 +197,7 @@
185
197
 
186
198
  ### Patch Changes
187
199
 
188
- - [`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`.
189
201
 
190
202
  ## 17.4.1
191
203
 
@@ -197,7 +209,7 @@
197
209
 
198
210
  ### Minor Changes
199
211
 
200
- - [`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`.
201
213
 
202
214
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
203
215
  These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
@@ -211,19 +223,19 @@
211
223
 
212
224
  ### Patch Changes
213
225
 
214
- - [`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
215
227
 
216
228
  ## 17.3.1
217
229
 
218
230
  ### Patch Changes
219
231
 
220
- - [`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
221
233
 
222
234
  ## 17.3.0
223
235
 
224
236
  ### Minor Changes
225
237
 
226
- - [`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
227
239
 
228
240
  ### Patch Changes
229
241
 
@@ -233,7 +245,7 @@
233
245
 
234
246
  ### Patch Changes
235
247
 
236
- - [`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
237
249
  - [`544dc89eb9e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/544dc89eb9e) - import more contrast color for text in decisions list
238
250
 
239
251
  ## 17.2.3
@@ -246,20 +258,20 @@
246
258
 
247
259
  ### Patch Changes
248
260
 
249
- - [`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.
250
262
  - Updated dependencies
251
263
 
252
264
  ## 17.2.1
253
265
 
254
266
  ### Patch Changes
255
267
 
256
- - [`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
257
269
 
258
270
  ## 17.2.0
259
271
 
260
272
  ### Minor Changes
261
273
 
262
- - [`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
263
275
 
264
276
  ### Patch Changes
265
277
 
@@ -269,7 +281,7 @@
269
281
 
270
282
  ### Minor Changes
271
283
 
272
- - [`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
273
285
 
274
286
  ### Patch Changes
275
287
 
@@ -279,7 +291,7 @@
279
291
 
280
292
  ### Patch Changes
281
293
 
282
- - [`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
283
295
  We discovered big bundle size increases associated with the date-fns upgrade.
284
296
  We're reverting the upgarde to investigate
285
297
 
@@ -287,7 +299,7 @@
287
299
 
288
300
  ### Patch Changes
289
301
 
290
- - [`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
291
303
 
292
304
  ## 17.0.10
293
305
 
@@ -299,13 +311,13 @@
299
311
 
300
312
  ### Patch Changes
301
313
 
302
- - [`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
303
315
 
304
316
  ## 17.0.8
305
317
 
306
318
  ### Patch Changes
307
319
 
308
- - [`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.
309
321
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
310
322
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
311
323
 
@@ -319,20 +331,20 @@
319
331
 
320
332
  ### Patch Changes
321
333
 
322
- - [`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
323
335
  - Updated dependencies
324
336
 
325
337
  ## 17.0.5
326
338
 
327
339
  ### Patch Changes
328
340
 
329
- - [`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
330
342
 
331
343
  ## 17.0.4
332
344
 
333
345
  ### Patch Changes
334
346
 
335
- - [`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
336
348
 
337
349
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
338
350
  to prevent duplicates of tslib being bundled.
@@ -341,26 +353,26 @@
341
353
 
342
354
  ### Patch Changes
343
355
 
344
- - [`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
345
357
 
346
358
  ## 17.0.2
347
359
 
348
360
  ### Patch Changes
349
361
 
350
- - [`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`.
351
363
  - Updated dependencies
352
364
 
353
365
  ## 17.0.1
354
366
 
355
367
  ### Patch Changes
356
368
 
357
- - [`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
358
370
 
359
371
  ## 17.0.0
360
372
 
361
373
  ### Major Changes
362
374
 
363
- - [`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.
364
376
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
365
377
 
366
378
  ### Patch Changes
@@ -371,20 +383,20 @@
371
383
 
372
384
  ### Patch Changes
373
385
 
374
- - [`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
375
387
 
376
388
  ## 16.1.1
377
389
 
378
390
  ### Patch Changes
379
391
 
380
- - [`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
381
393
  - [`a86fbdb2b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a86fbdb2b8) - CEMS-1138 Fix TaskItem 'isDone' state gets overriden when user changes the checkbox value
382
394
 
383
395
  ## 16.1.0
384
396
 
385
397
  ### Minor Changes
386
398
 
387
- - [`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
388
400
 
389
401
  ### Patch Changes
390
402
 
@@ -396,7 +408,7 @@
396
408
 
397
409
  ### Patch Changes
398
410
 
399
- - [`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
400
412
 
401
413
  ## 16.0.11
402
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
+ };
@@ -13,8 +13,8 @@ var _colors = require("@atlaskit/theme/colors");
13
13
  var checkboxTheme = {
14
14
  light: {
15
15
  borderColor: {
16
- rest: "var(--ds-border-input, ".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-radio-checkbox_7askv') ? _colors.N100 : _colors.N40, ")"),
17
- hovered: "var(--ds-border-input, ".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-radio-checkbox_7askv') ? _colors.N100 : _colors.N40, ")"),
16
+ rest: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-radio-checkbox_7askv') ? "var(--ds-border-bold, ".concat(_colors.N100, ")") : "var(--ds-border-input, ".concat(_colors.N40, ")"),
17
+ hovered: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-radio-checkbox_7askv') ? "var(--ds-border-bold, ".concat(_colors.N100, ")") : "var(--ds-border-input, ".concat(_colors.N40, ")"),
18
18
  disabled: "var(--ds-background-disabled, ".concat(_colors.N20, ")"),
19
19
  checked: "var(--ds-background-selected-bold, ".concat(_colors.B400, ")"),
20
20
  active: "var(--ds-border, ".concat(_colors.B50, ")"),
@@ -43,8 +43,8 @@ var checkboxTheme = {
43
43
  */
44
44
  dark: {
45
45
  borderColor: {
46
- rest: "var(--ds-border-input, ".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-radio-checkbox_7askv') ? _colors.DN200 : '#A6C5E229', ")"),
47
- hovered: "var(--ds-border-input, #A6C5E229)",
46
+ rest: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-radio-checkbox_7askv') ? "var(--ds-border-bold, ".concat(_colors.DN200, ")") : "var(--ds-border-input, #A6C5E229)",
47
+ hovered: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.update-border-radio-checkbox_7askv') ? "var(--ds-border-bold, ".concat(_colors.DN200, ")") : "var(--ds-border-input, #A6C5E229)",
48
48
  disabled: "var(--ds-background-disabled, #BCD6F00A)",
49
49
  checked: "var(--ds-background-selected-bold, #579DFF)",
50
50
  active: "var(--ds-border, #A6C5E229)",
@@ -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
+ }({});
@@ -8,8 +8,8 @@ import { B100, B300, B400, B50, DN200, N10, N20, N30, N40, N70, N100 } from '@at
8
8
  const checkboxTheme = {
9
9
  light: {
10
10
  borderColor: {
11
- rest: `var(--ds-border-input, ${getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? N100 : N40})`,
12
- hovered: `var(--ds-border-input, ${getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? N100 : N40})`,
11
+ rest: getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? `var(--ds-border-bold, ${N100})` : `var(--ds-border-input, ${N40})`,
12
+ hovered: getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? `var(--ds-border-bold, ${N100})` : `var(--ds-border-input, ${N40})`,
13
13
  disabled: `var(--ds-background-disabled, ${N20})`,
14
14
  checked: `var(--ds-background-selected-bold, ${B400})`,
15
15
  active: `var(--ds-border, ${B50})`,
@@ -38,8 +38,8 @@ const checkboxTheme = {
38
38
  */
39
39
  dark: {
40
40
  borderColor: {
41
- rest: `var(--ds-border-input, ${getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? DN200 : '#A6C5E229'})`,
42
- hovered: "var(--ds-border-input, #A6C5E229)",
41
+ rest: getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? `var(--ds-border-bold, ${DN200})` : "var(--ds-border-input, #A6C5E229)",
42
+ hovered: getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? `var(--ds-border-bold, ${DN200})` : "var(--ds-border-input, #A6C5E229)",
43
43
  disabled: "var(--ds-background-disabled, #BCD6F00A)",
44
44
  checked: "var(--ds-background-selected-bold, #579DFF)",
45
45
  active: "var(--ds-border, #A6C5E229)",
@@ -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]);
@@ -8,8 +8,8 @@ import { B100, B300, B400, B50, DN200, N10, N20, N30, N40, N70, N100 } from '@at
8
8
  var checkboxTheme = {
9
9
  light: {
10
10
  borderColor: {
11
- rest: "var(--ds-border-input, ".concat(getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? N100 : N40, ")"),
12
- hovered: "var(--ds-border-input, ".concat(getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? N100 : N40, ")"),
11
+ rest: getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? "var(--ds-border-bold, ".concat(N100, ")") : "var(--ds-border-input, ".concat(N40, ")"),
12
+ hovered: getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? "var(--ds-border-bold, ".concat(N100, ")") : "var(--ds-border-input, ".concat(N40, ")"),
13
13
  disabled: "var(--ds-background-disabled, ".concat(N20, ")"),
14
14
  checked: "var(--ds-background-selected-bold, ".concat(B400, ")"),
15
15
  active: "var(--ds-border, ".concat(B50, ")"),
@@ -38,8 +38,8 @@ var checkboxTheme = {
38
38
  */
39
39
  dark: {
40
40
  borderColor: {
41
- rest: "var(--ds-border-input, ".concat(getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? DN200 : '#A6C5E229', ")"),
42
- hovered: "var(--ds-border-input, #A6C5E229)",
41
+ rest: getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? "var(--ds-border-bold, ".concat(DN200, ")") : "var(--ds-border-input, #A6C5E229)",
42
+ hovered: getBooleanFF('platform.design-system-team.update-border-radio-checkbox_7askv') ? "var(--ds-border-bold, ".concat(DN200, ")") : "var(--ds-border-input, #A6C5E229)",
43
43
  disabled: "var(--ds-background-disabled, #BCD6F00A)",
44
44
  checked: "var(--ds-background-selected-bold, #579DFF)",
45
45
  active: "var(--ds-border, #A6C5E229)",
@@ -5,8 +5,8 @@
5
5
  declare const checkboxTheme: {
6
6
  light: {
7
7
  borderColor: {
8
- rest: "var(--ds-border-input)";
9
- hovered: "var(--ds-border-input)";
8
+ rest: "var(--ds-border-bold)" | "var(--ds-border-input)";
9
+ hovered: "var(--ds-border-bold)" | "var(--ds-border-input)";
10
10
  disabled: "var(--ds-background-disabled)";
11
11
  checked: "var(--ds-background-selected-bold)";
12
12
  active: "var(--ds-border)";
@@ -35,8 +35,8 @@ declare const checkboxTheme: {
35
35
  */
36
36
  dark: {
37
37
  borderColor: {
38
- rest: "var(--ds-border-input)";
39
- hovered: "var(--ds-border-input)";
38
+ rest: "var(--ds-border-bold)" | "var(--ds-border-input)";
39
+ hovered: "var(--ds-border-bold)" | "var(--ds-border-input)";
40
40
  disabled: "var(--ds-background-disabled)";
41
41
  checked: "var(--ds-background-selected-bold)";
42
42
  active: "var(--ds-border)";
@@ -5,8 +5,8 @@
5
5
  declare const checkboxTheme: {
6
6
  light: {
7
7
  borderColor: {
8
- rest: "var(--ds-border-input)";
9
- hovered: "var(--ds-border-input)";
8
+ rest: "var(--ds-border-bold)" | "var(--ds-border-input)";
9
+ hovered: "var(--ds-border-bold)" | "var(--ds-border-input)";
10
10
  disabled: "var(--ds-background-disabled)";
11
11
  checked: "var(--ds-background-selected-bold)";
12
12
  active: "var(--ds-border)";
@@ -35,8 +35,8 @@ declare const checkboxTheme: {
35
35
  */
36
36
  dark: {
37
37
  borderColor: {
38
- rest: "var(--ds-border-input)";
39
- hovered: "var(--ds-border-input)";
38
+ rest: "var(--ds-border-bold)" | "var(--ds-border-input)";
39
+ hovered: "var(--ds-border-bold)" | "var(--ds-border-input)";
40
40
  disabled: "var(--ds-background-disabled)";
41
41
  checked: "var(--ds-background-selected-bold)";
42
42
  active: "var(--ds-border)";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/task-decision",
3
- "version": "17.9.1",
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.24.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",