@atlaskit/table 0.5.0 → 0.5.1

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.
Files changed (50) hide show
  1. package/CHANGELOG.md +130 -123
  2. package/dist/cjs/head-cell.js +3 -8
  3. package/dist/cjs/thead.js +2 -0
  4. package/dist/cjs/ui/base-cell.js +3 -1
  5. package/dist/cjs/ui/selectable-cell.js +1 -1
  6. package/dist/cjs/ui/tr.js +2 -2
  7. package/dist/es2019/head-cell.js +3 -8
  8. package/dist/es2019/thead.js +2 -0
  9. package/dist/es2019/ui/base-cell.js +3 -1
  10. package/dist/es2019/ui/selectable-cell.js +1 -1
  11. package/dist/es2019/ui/tr.js +2 -2
  12. package/dist/esm/head-cell.js +3 -8
  13. package/dist/esm/thead.js +2 -0
  14. package/dist/esm/ui/base-cell.js +3 -1
  15. package/dist/esm/ui/selectable-cell.js +1 -1
  16. package/dist/esm/ui/tr.js +2 -2
  17. package/dist/types/body.d.ts +1 -1
  18. package/dist/types/head-cell.d.ts +1 -1
  19. package/dist/types/hooks/selection-provider.d.ts +2 -2
  20. package/dist/types/hooks/use-sorting.d.ts +1 -1
  21. package/dist/types/row.d.ts +1 -1
  22. package/dist/types/sortable-column.d.ts +1 -1
  23. package/dist/types/table.d.ts +2 -2
  24. package/dist/types/thead.d.ts +1 -1
  25. package/dist/types/ui/bulk-action-overlay.d.ts +1 -1
  26. package/dist/types/ui/expandable-cell.d.ts +1 -1
  27. package/dist/types/ui/selectable-cell.d.ts +1 -1
  28. package/dist/types/ui/sort-icon.d.ts +1 -1
  29. package/dist/types/ui/table.d.ts +1 -1
  30. package/dist/types/ui/tbody.d.ts +1 -1
  31. package/dist/types/ui/td.d.ts +1 -1
  32. package/dist/types-ts4.5/body.d.ts +1 -1
  33. package/dist/types-ts4.5/head-cell.d.ts +1 -1
  34. package/dist/types-ts4.5/hooks/selection-provider.d.ts +2 -2
  35. package/dist/types-ts4.5/hooks/use-sorting.d.ts +1 -1
  36. package/dist/types-ts4.5/row.d.ts +1 -1
  37. package/dist/types-ts4.5/sortable-column.d.ts +1 -1
  38. package/dist/types-ts4.5/table.d.ts +2 -2
  39. package/dist/types-ts4.5/thead.d.ts +1 -1
  40. package/dist/types-ts4.5/ui/bulk-action-overlay.d.ts +1 -1
  41. package/dist/types-ts4.5/ui/expandable-cell.d.ts +1 -1
  42. package/dist/types-ts4.5/ui/selectable-cell.d.ts +1 -1
  43. package/dist/types-ts4.5/ui/sort-icon.d.ts +1 -1
  44. package/dist/types-ts4.5/ui/table.d.ts +1 -1
  45. package/dist/types-ts4.5/ui/tbody.d.ts +1 -1
  46. package/dist/types-ts4.5/ui/td.d.ts +1 -1
  47. package/extract-react-types/cell.tsx +1 -1
  48. package/extract-react-types/row.tsx +1 -1
  49. package/extract-react-types/table.tsx +1 -1
  50. package/package.json +7 -9
package/CHANGELOG.md CHANGED
@@ -1,386 +1,393 @@
1
1
  # @atlaskit/table
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#106791](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/106791)
8
+ [`b2e191b63def`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b2e191b63def) -
9
+ Internal change to use typography components and update size tokens to hard-coded rems.
10
+
3
11
  ## 0.5.0
4
12
 
5
13
  ### Minor Changes
6
14
 
7
- - [#99184](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99184)
8
- [`3755cda305d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3755cda305d7) -
9
- Add support for React 18.
15
+ - [#99184](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99184)
16
+ [`3755cda305d7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3755cda305d7) -
17
+ Add support for React 18.
10
18
 
11
19
  ### Patch Changes
12
20
 
13
- - Updated dependencies
21
+ - Updated dependencies
14
22
 
15
23
  ## 0.4.30
16
24
 
17
25
  ### Patch Changes
18
26
 
19
- - Updated dependencies
27
+ - Updated dependencies
20
28
 
21
29
  ## 0.4.29
22
30
 
23
31
  ### Patch Changes
24
32
 
25
- - [#95783](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95783)
26
- [`3c001bfc3c35`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c001bfc3c35) -
27
- Added `rowSpan` prop to `<BaseCell>`. Added `colSpan` prop to `<TH>`.
33
+ - [#95783](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95783)
34
+ [`3c001bfc3c35`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c001bfc3c35) -
35
+ Added `rowSpan` prop to `<BaseCell>`. Added `colSpan` prop to `<TH>`.
28
36
 
29
37
  ## 0.4.28
30
38
 
31
39
  ### Patch Changes
32
40
 
33
- - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
34
- [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
35
- Migrated to the new button component
36
- - Updated dependencies
41
+ - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
42
+ [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
43
+ Migrated to the new button component
44
+ - Updated dependencies
37
45
 
38
46
  ## 0.4.27
39
47
 
40
48
  ### Patch Changes
41
49
 
42
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
43
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
44
- Upgrade Typescript from `4.9.5` to `5.4.2`
50
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
51
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
52
+ Upgrade Typescript from `4.9.5` to `5.4.2`
45
53
 
46
54
  ## 0.4.26
47
55
 
48
56
  ### Patch Changes
49
57
 
50
- - Updated dependencies
58
+ - Updated dependencies
51
59
 
52
60
  ## 0.4.25
53
61
 
54
62
  ### Patch Changes
55
63
 
56
- - [#78598](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78598)
57
- [`cabae83473c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cabae83473c3) -
58
- [ux] Focus styles for Checkbox and Radio components
64
+ - [#78598](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78598)
65
+ [`cabae83473c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cabae83473c3) -
66
+ [ux] Focus styles for Checkbox and Radio components
59
67
 
60
68
  ## 0.4.24
61
69
 
62
70
  ### Patch Changes
63
71
 
64
- - Updated dependencies
72
+ - Updated dependencies
65
73
 
66
74
  ## 0.4.23
67
75
 
68
76
  ### Patch Changes
69
77
 
70
- - [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488)
71
- [`27e6fdab53dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/27e6fdab53dc) -
72
- Cells now use logical property styles.
73
- - Updated dependencies
78
+ - [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488)
79
+ [`27e6fdab53dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/27e6fdab53dc) -
80
+ Cells now use logical property styles.
81
+ - Updated dependencies
74
82
 
75
83
  ## 0.4.22
76
84
 
77
85
  ### Patch Changes
78
86
 
79
- - Updated dependencies
87
+ - Updated dependencies
80
88
 
81
89
  ## 0.4.21
82
90
 
83
91
  ### Patch Changes
84
92
 
85
- - [#75714](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75714)
86
- [`33f4a64132a3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33f4a64132a3) -
87
- Remove duplicate accessible labels on Icon buttons, which were unnecessarily added through the
88
- `aria-label` attribute.
89
- - Updated dependencies
93
+ - [#75714](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75714)
94
+ [`33f4a64132a3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33f4a64132a3) -
95
+ Remove duplicate accessible labels on Icon buttons, which were unnecessarily added through the
96
+ `aria-label` attribute.
97
+ - Updated dependencies
90
98
 
91
99
  ## 0.4.20
92
100
 
93
101
  ### Patch Changes
94
102
 
95
- - Updated dependencies
103
+ - Updated dependencies
96
104
 
97
105
  ## 0.4.19
98
106
 
99
107
  ### Patch Changes
100
108
 
101
- - [#65875](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65875)
102
- [`98e49fd3f04d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/98e49fd3f04d) -
103
- [ux] Updated buttons in table to consume new buttons.
109
+ - [#65875](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65875)
110
+ [`98e49fd3f04d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/98e49fd3f04d) -
111
+ [ux] Updated buttons in table to consume new buttons.
104
112
 
105
113
  ## 0.4.18
106
114
 
107
115
  ### Patch Changes
108
116
 
109
- - Updated dependencies
117
+ - Updated dependencies
110
118
 
111
119
  ## 0.4.17
112
120
 
113
121
  ### Patch Changes
114
122
 
115
- - Updated dependencies
123
+ - Updated dependencies
116
124
 
117
125
  ## 0.4.16
118
126
 
119
127
  ### Patch Changes
120
128
 
121
- - Updated dependencies
129
+ - Updated dependencies
122
130
 
123
131
  ## 0.4.15
124
132
 
125
133
  ### Patch Changes
126
134
 
127
- - Updated dependencies
135
+ - Updated dependencies
128
136
 
129
137
  ## 0.4.14
130
138
 
131
139
  ### Patch Changes
132
140
 
133
- - [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533)
134
- [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) -
135
- Updated dependencies
136
- - [#37419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37419)
137
- [`95401cac781`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95401cac781) -
138
- Internal change to component composition. There is no expected change.
141
+ - [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533)
142
+ [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated
143
+ dependencies
144
+ - [#37419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37419)
145
+ [`95401cac781`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95401cac781) - Internal
146
+ change to component composition. There is no expected change.
139
147
 
140
148
  ## 0.4.13
141
149
 
142
150
  ### Patch Changes
143
151
 
144
- - [#36900](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36900)
145
- [`a981691b65e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a981691b65e) -
146
- Updated internal dependencies.
152
+ - [#36900](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36900)
153
+ [`a981691b65e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a981691b65e) - Updated
154
+ internal dependencies.
147
155
 
148
156
  ## 0.4.12
149
157
 
150
158
  ### Patch Changes
151
159
 
152
- - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
153
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
154
- `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
155
- testing.
160
+ - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
161
+ [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
162
+ `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
163
+ testing.
156
164
 
157
165
  ## 0.4.11
158
166
 
159
167
  ### Patch Changes
160
168
 
161
- - Updated dependencies
169
+ - Updated dependencies
162
170
 
163
171
  ## 0.4.10
164
172
 
165
173
  ### Patch Changes
166
174
 
167
- - Updated dependencies
175
+ - Updated dependencies
168
176
 
169
177
  ## 0.4.9
170
178
 
171
179
  ### Patch Changes
172
180
 
173
- - Updated dependencies
181
+ - Updated dependencies
174
182
 
175
183
  ## 0.4.8
176
184
 
177
185
  ### Patch Changes
178
186
 
179
- - Updated dependencies
187
+ - Updated dependencies
180
188
 
181
189
  ## 0.4.7
182
190
 
183
191
  ### Patch Changes
184
192
 
185
- - Updated dependencies
193
+ - Updated dependencies
186
194
 
187
195
  ## 0.4.6
188
196
 
189
197
  ### Patch Changes
190
198
 
191
- - Updated dependencies
199
+ - Updated dependencies
192
200
 
193
201
  ## 0.4.5
194
202
 
195
203
  ### Patch Changes
196
204
 
197
- - Updated dependencies
205
+ - Updated dependencies
198
206
 
199
207
  ## 0.4.4
200
208
 
201
209
  ### Patch Changes
202
210
 
203
- - Updated dependencies
211
+ - Updated dependencies
204
212
 
205
213
  ## 0.4.3
206
214
 
207
215
  ### Patch Changes
208
216
 
209
- - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
210
- [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) -
211
- Removing unused dependencies and dev dependencies
217
+ - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
218
+ [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing
219
+ unused dependencies and dev dependencies
212
220
 
213
221
  ## 0.4.2
214
222
 
215
223
  ### Patch Changes
216
224
 
217
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
218
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
219
- legacy types are published for TS 4.5-4.8
225
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
226
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
227
+ legacy types are published for TS 4.5-4.8
220
228
 
221
229
  ## 0.4.1
222
230
 
223
231
  ### Patch Changes
224
232
 
225
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
226
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
227
- Upgrade Typescript from `4.5.5` to `4.9.5`
233
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
234
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
235
+ Typescript from `4.5.5` to `4.9.5`
228
236
 
229
237
  ## 0.4.0
230
238
 
231
239
  ### Minor Changes
232
240
 
233
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
234
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
235
- minor dependency bump
241
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
242
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
243
+ minor dependency bump
236
244
 
237
245
  ### Patch Changes
238
246
 
239
- - Updated dependencies
247
+ - Updated dependencies
240
248
 
241
249
  ## 0.3.4
242
250
 
243
251
  ### Patch Changes
244
252
 
245
- - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
246
- [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) -
247
- Internal changes.
253
+ - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
254
+ [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal
255
+ changes.
248
256
 
249
257
  ## 0.3.3
250
258
 
251
259
  ### Patch Changes
252
260
 
253
- - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
254
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
255
- remove before merging to master; dupe adf-schema via adf-utils
261
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
262
+ [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
263
+ remove before merging to master; dupe adf-schema via adf-utils
256
264
 
257
265
  ## 0.3.2
258
266
 
259
267
  ### Patch Changes
260
268
 
261
- - Updated dependencies
269
+ - Updated dependencies
262
270
 
263
271
  ## 0.3.1
264
272
 
265
273
  ### Patch Changes
266
274
 
267
- - Updated dependencies
275
+ - Updated dependencies
268
276
 
269
277
  ## 0.3.0
270
278
 
271
279
  ### Minor Changes
272
280
 
273
- - [#31531](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31531)
274
- [`bc489da7472`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc489da7472) - [ux] -
275
- Adds new primitives to support expandable row functionality. This will supersede the
276
- `@atlaskit/table-tree` package.
281
+ - [#31531](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31531)
282
+ [`bc489da7472`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc489da7472) - [ux] -
283
+ Adds new primitives to support expandable row functionality. This will supersede the
284
+ `@atlaskit/table-tree` package.
277
285
 
278
- - `<ExpandableRow>`
279
- - `<ExpandableRowContent>`
280
- - `<ExpandableCell>`
286
+ - `<ExpandableRow>`
287
+ - `<ExpandableRowContent>`
288
+ - `<ExpandableCell>`
281
289
 
282
290
  ## 0.2.8
283
291
 
284
292
  ### Patch Changes
285
293
 
286
- - Updated dependencies
294
+ - Updated dependencies
287
295
 
288
296
  ## 0.2.7
289
297
 
290
298
  ### Patch Changes
291
299
 
292
- - Updated dependencies
300
+ - Updated dependencies
293
301
 
294
302
  ## 0.2.6
295
303
 
296
304
  ### Patch Changes
297
305
 
298
- - Updated dependencies
306
+ - Updated dependencies
299
307
 
300
308
  ## 0.2.5
301
309
 
302
310
  ### Patch Changes
303
311
 
304
- - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
305
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) -
306
- Upgrades component types to support React 18.
312
+ - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
313
+ [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades
314
+ component types to support React 18.
307
315
 
308
316
  ## 0.2.4
309
317
 
310
318
  ### Patch Changes
311
319
 
312
- - [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242)
313
- [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) -
314
- Internal change only. Replace usages of Inline/Stack with stable version from
315
- `@atlaskit/primitives`.
320
+ - [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242)
321
+ [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal
322
+ change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
316
323
 
317
324
  ## 0.2.3
318
325
 
319
326
  ### Patch Changes
320
327
 
321
- - [#31055](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31055)
322
- [`8fb961ffa76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8fb961ffa76) - [ux]
323
- Fixed some accessibility bugs. Now checkboxes in selectable cells are labelled for assistive
324
- technology users, sortable columns have their sorting state programmatically associated through
325
- the `aria-sort` attribute, and the sort button has an `aria-roledescription` to ensure that
326
- assistive technology users are informed that the column headers are sortable in nature.
328
+ - [#31055](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31055)
329
+ [`8fb961ffa76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8fb961ffa76) - [ux]
330
+ Fixed some accessibility bugs. Now checkboxes in selectable cells are labelled for assistive
331
+ technology users, sortable columns have their sorting state programmatically associated through
332
+ the `aria-sort` attribute, and the sort button has an `aria-roledescription` to ensure that
333
+ assistive technology users are informed that the column headers are sortable in nature.
327
334
 
328
335
  ## 0.2.2
329
336
 
330
337
  ### Patch Changes
331
338
 
332
- - Updated dependencies
339
+ - Updated dependencies
333
340
 
334
341
  ## 0.2.1
335
342
 
336
343
  ### Patch Changes
337
344
 
338
- - [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891)
339
- [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) -
340
- Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs.
341
- There are no visual or behaviour changes.
342
- - Updated dependencies
345
+ - [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891)
346
+ [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated
347
+ usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are
348
+ no visual or behaviour changes.
349
+ - Updated dependencies
343
350
 
344
351
  ## 0.2.0
345
352
 
346
353
  ### Minor Changes
347
354
 
348
- - [#28885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28885)
349
- [`0fc5e276eb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fc5e276eb4) - [ux]
350
- Fix borders not showing in Safari. Table is shifted down slightly as a result.
355
+ - [#28885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28885)
356
+ [`0fc5e276eb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fc5e276eb4) - [ux] Fix
357
+ borders not showing in Safari. Table is shifted down slightly as a result.
351
358
 
352
359
  ## 0.1.4
353
360
 
354
361
  ### Patch Changes
355
362
 
356
- - Updated dependencies
363
+ - Updated dependencies
357
364
 
358
365
  ## 0.1.3
359
366
 
360
367
  ### Patch Changes
361
368
 
362
- - Updated dependencies
369
+ - Updated dependencies
363
370
 
364
371
  ## 0.1.2
365
372
 
366
373
  ### Patch Changes
367
374
 
368
- - [#28013](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28013)
369
- [`d2c17ae6f14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2c17ae6f14) - Adds
370
- the `width` prop to '@atlaskit/table' header elements.
375
+ - [#28013](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28013)
376
+ [`d2c17ae6f14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2c17ae6f14) - Adds the
377
+ `width` prop to '@atlaskit/table' header elements.
371
378
 
372
379
  ## 0.1.1
373
380
 
374
381
  ### Patch Changes
375
382
 
376
- - [#27929](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27929)
377
- [`7d3f2c3c117`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d3f2c3c117) -
378
- Iterate on typings and component performance
383
+ - [#27929](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27929)
384
+ [`7d3f2c3c117`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d3f2c3c117) - Iterate
385
+ on typings and component performance
379
386
 
380
387
  ## 0.1.0
381
388
 
382
389
  ### Minor Changes
383
390
 
384
- - [#27738](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27738)
385
- [`e2e5705f5d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2e5705f5d8) - Create
386
- initial component from Figma spec. Dev release, not intended for consumption.
391
+ - [#27738](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27738)
392
+ [`e2e5705f5d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2e5705f5d8) - Create
393
+ initial component from Figma spec. Dev release, not intended for consumption.
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
+ var _primitives = require("@atlaskit/primitives");
8
9
  var _th = require("./ui/th");
9
10
  /* eslint-disable no-unused-vars */
10
11
  /** @jsx jsx */
@@ -26,14 +27,8 @@ var HeadCell = function HeadCell(_ref) {
26
27
  align: align,
27
28
  testId: testId,
28
29
  backgroundColor: backgroundColor
29
- }, children &&
30
- // migrate to <Text />
31
- (0, _react.jsx)("span", {
32
- style: {
33
- color: "var(--ds-text, #172B4D)",
34
- /* @ts-ignore migrate to Text */
35
- fontWeight: "var(--ds-font-weight-medium, 500)"
36
- }
30
+ }, children && (0, _react.jsx)(_primitives.Text, {
31
+ weight: "medium"
37
32
  }, children));
38
33
  };
39
34
  var _default = exports.default = HeadCell;
package/dist/cjs/thead.js CHANGED
@@ -43,8 +43,10 @@ var THead = function THead(_ref) {
43
43
  isIndeterminate: state.anyChecked && !state.allChecked
44
44
  })), children, isSelectable && isChecked && (0, _react.jsx)(_bulkActionOverlay.BulkActionOverlay, null, (0, _react.jsx)("span", {
45
45
  style: {
46
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
46
47
  color: "var(--ds-text, #172B4D)",
47
48
  /* @ts-ignore migrate to Text */
49
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
48
50
  fontWeight: "var(--ds-font-weight-medium, 500)"
49
51
  }
50
52
  }, state.checked.length, " selected"), actions && (0, _react.jsx)(_inline.default, {
@@ -73,7 +73,9 @@ var BaseCell = exports.BaseCell = /*#__PURE__*/(0, _react.forwardRef)(function (
73
73
  paddingBlock: paddingBlock,
74
74
  paddingInline: paddingInline,
75
75
  as: as,
76
- testId: testId,
76
+ testId: testId
77
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
78
+ ,
77
79
  style: width ? {
78
80
  width: width
79
81
  } : undefined,
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
  var _primitives = require("@atlaskit/primitives");
10
10
  var _baseCell = require("./base-cell");
11
11
  var spacingStyles = (0, _primitives.xcss)({
12
- width: 'size.300',
12
+ width: '2rem',
13
13
  padding: 'space.0'
14
14
  });
15
15
  /**
package/dist/cjs/ui/tr.js CHANGED
@@ -10,7 +10,7 @@ var _focusRing = _interopRequireDefault(require("@atlaskit/focus-ring"));
10
10
  /** @jsx jsx */
11
11
 
12
12
  var baseStyles = (0, _react.css)({
13
- height: 48,
13
+ height: '3rem',
14
14
  position: 'relative',
15
15
  border: 'none',
16
16
  borderImageWidth: 0,
@@ -26,7 +26,7 @@ var subitemStyles = (0, _react.css)({
26
26
  backgroundColor: "var(--ds-background-neutral, #091E420F)"
27
27
  });
28
28
  var bodyRowStyles = (0, _react.css)({
29
- borderBottom: "1px solid ".concat("var(--ds-border, #eee)"),
29
+ borderBlockEnd: "1px solid ".concat("var(--ds-border, #eee)"),
30
30
  '&:hover': {
31
31
  backgroundColor: "var(--ds-background-neutral-subtle-hovered, #f8f8f8)"
32
32
  },
@@ -2,6 +2,7 @@
2
2
  /** @jsx jsx */
3
3
 
4
4
  import { jsx } from '@emotion/react';
5
+ import { Text } from '@atlaskit/primitives';
5
6
  import { TH } from './ui/th';
6
7
 
7
8
  /**
@@ -21,14 +22,8 @@ const HeadCell = ({
21
22
  align: align,
22
23
  testId: testId,
23
24
  backgroundColor: backgroundColor
24
- }, children &&
25
- // migrate to <Text />
26
- jsx("span", {
27
- style: {
28
- color: "var(--ds-text, #172B4D)",
29
- /* @ts-ignore migrate to Text */
30
- fontWeight: "var(--ds-font-weight-medium, 500)"
31
- }
25
+ }, children && jsx(Text, {
26
+ weight: "medium"
32
27
  }, children));
33
28
  };
34
29
  export default HeadCell;
@@ -35,8 +35,10 @@ const THead = ({
35
35
  isIndeterminate: state.anyChecked && !state.allChecked
36
36
  })), children, isSelectable && isChecked && jsx(BulkActionOverlayPrimitive, null, jsx("span", {
37
37
  style: {
38
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
38
39
  color: "var(--ds-text, #172B4D)",
39
40
  /* @ts-ignore migrate to Text */
41
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
40
42
  fontWeight: "var(--ds-font-weight-medium, 500)"
41
43
  }
42
44
  }, state.checked.length, " selected"), actions && jsx(Inline, {
@@ -61,7 +61,9 @@ export const BaseCell = /*#__PURE__*/forwardRef(({
61
61
  paddingBlock: paddingBlock,
62
62
  paddingInline: paddingInline,
63
63
  as: as,
64
- testId: testId,
64
+ testId: testId
65
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
66
+ ,
65
67
  style: width ? {
66
68
  width
67
69
  } : undefined,
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { xcss } from '@atlaskit/primitives';
3
3
  import { BaseCell } from './base-cell';
4
4
  const spacingStyles = xcss({
5
- width: 'size.300',
5
+ width: '2rem',
6
6
  padding: 'space.0'
7
7
  });
8
8
  /**
@@ -3,7 +3,7 @@
3
3
  import { css, jsx } from '@emotion/react';
4
4
  import FocusRing from '@atlaskit/focus-ring';
5
5
  const baseStyles = css({
6
- height: 48,
6
+ height: '3rem',
7
7
  position: 'relative',
8
8
  border: 'none',
9
9
  borderImageWidth: 0,
@@ -19,7 +19,7 @@ const subitemStyles = css({
19
19
  backgroundColor: "var(--ds-background-neutral, #091E420F)"
20
20
  });
21
21
  const bodyRowStyles = css({
22
- borderBottom: `1px solid ${"var(--ds-border, #eee)"}`,
22
+ borderBlockEnd: `1px solid ${"var(--ds-border, #eee)"}`,
23
23
  '&:hover': {
24
24
  backgroundColor: "var(--ds-background-neutral-subtle-hovered, #f8f8f8)"
25
25
  },
@@ -2,6 +2,7 @@
2
2
  /** @jsx jsx */
3
3
 
4
4
  import { jsx } from '@emotion/react';
5
+ import { Text } from '@atlaskit/primitives';
5
6
  import { TH } from './ui/th';
6
7
 
7
8
  /**
@@ -21,14 +22,8 @@ var HeadCell = function HeadCell(_ref) {
21
22
  align: align,
22
23
  testId: testId,
23
24
  backgroundColor: backgroundColor
24
- }, children &&
25
- // migrate to <Text />
26
- jsx("span", {
27
- style: {
28
- color: "var(--ds-text, #172B4D)",
29
- /* @ts-ignore migrate to Text */
30
- fontWeight: "var(--ds-font-weight-medium, 500)"
31
- }
25
+ }, children && jsx(Text, {
26
+ weight: "medium"
32
27
  }, children));
33
28
  };
34
29
  export default HeadCell;
package/dist/esm/thead.js CHANGED
@@ -36,8 +36,10 @@ var THead = function THead(_ref) {
36
36
  isIndeterminate: state.anyChecked && !state.allChecked
37
37
  })), children, isSelectable && isChecked && jsx(BulkActionOverlayPrimitive, null, jsx("span", {
38
38
  style: {
39
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
39
40
  color: "var(--ds-text, #172B4D)",
40
41
  /* @ts-ignore migrate to Text */
42
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
41
43
  fontWeight: "var(--ds-font-weight-medium, 500)"
42
44
  }
43
45
  }, state.checked.length, " selected"), actions && jsx(Inline, {
@@ -64,7 +64,9 @@ export var BaseCell = /*#__PURE__*/forwardRef(function (_ref, ref) {
64
64
  paddingBlock: paddingBlock,
65
65
  paddingInline: paddingInline,
66
66
  as: as,
67
- testId: testId,
67
+ testId: testId
68
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
69
+ ,
68
70
  style: width ? {
69
71
  width: width
70
72
  } : undefined,
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { xcss } from '@atlaskit/primitives';
3
3
  import { BaseCell } from './base-cell';
4
4
  var spacingStyles = xcss({
5
- width: 'size.300',
5
+ width: '2rem',
6
6
  padding: 'space.0'
7
7
  });
8
8
  /**
package/dist/esm/ui/tr.js CHANGED
@@ -3,7 +3,7 @@
3
3
  import { css, jsx } from '@emotion/react';
4
4
  import FocusRing from '@atlaskit/focus-ring';
5
5
  var baseStyles = css({
6
- height: 48,
6
+ height: '3rem',
7
7
  position: 'relative',
8
8
  border: 'none',
9
9
  borderImageWidth: 0,
@@ -19,7 +19,7 @@ var subitemStyles = css({
19
19
  backgroundColor: "var(--ds-background-neutral, #091E420F)"
20
20
  });
21
21
  var bodyRowStyles = css({
22
- borderBottom: "1px solid ".concat("var(--ds-border, #eee)"),
22
+ borderBlockEnd: "1px solid ".concat("var(--ds-border, #eee)"),
23
23
  '&:hover': {
24
24
  backgroundColor: "var(--ds-background-neutral-subtle-hovered, #f8f8f8)"
25
25
  },
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { ReactElement } from 'react';
2
+ import { type ReactElement } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  export type BodyProps<Item extends object> = {
5
5
  rows: Item[];
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import type { FC } from 'react';
3
- import { THProps } from './ui/th';
3
+ import { type THProps } from './ui/th';
4
4
  /**
5
5
  * __HeadCell__
6
6
  *
@@ -1,5 +1,5 @@
1
- import React, { FC, ReactNode } from 'react';
2
- import { SelectableActions, SelectableState } from './use-selectable';
1
+ import React, { type FC, type ReactNode } from 'react';
2
+ import { type SelectableActions, type SelectableState } from './use-selectable';
3
3
  type SelectionContext = [
4
4
  SelectableState,
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { SortDirection, SortKey } from './use-table';
1
+ import { type SortDirection, type SortKey } from './use-table';
2
2
  export declare const useSorting: <ItemType extends object>(sortKey: SortKey<keyof ItemType>) => {
3
3
  sortKey: "unset" | keyof ItemType;
4
4
  sortDirection: SortDirection | undefined;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  export type RowProps = {
4
4
  /**
5
5
  * A `testId` prop is a unique string that appears as a data attribute `data-testid`
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  export interface CellProps {
4
4
  /**
5
5
  * Unique key used for sorting table data by this column
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
- import { ReactElement } from 'react';
2
+ import { type ReactElement } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { SortKey } from './hooks/use-table';
4
+ import { type SortKey } from './hooks/use-table';
5
5
  export type TableProps<ItemType extends object = {}> = {
6
6
  /**
7
7
  * A `testId` prop is a unique string that appears as a data attribute `data-testid`
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  type THeadProps = {
4
4
  actions?: (selected: number[]) => ReactNode;
5
5
  children?: ReactNode;
@@ -1,4 +1,4 @@
1
- import { FC, ReactNode } from 'react';
1
+ import { type FC, type ReactNode } from 'react';
2
2
  /**
3
3
  * __Bulk action overlay__
4
4
  *
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  type ExpandableCellProps = {
3
3
  as: 'td' | 'th';
4
4
  children?: ReactNode;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  type SelectableCellProps = {
3
3
  as: 'td' | 'th';
4
4
  children?: ReactNode;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
2
+ import { type FC } from 'react';
3
3
  /**
4
4
  * __SortIcon__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  type TableProps = {
4
4
  /**
5
5
  * A `testId` prop is a unique string that appears as a data attribute `data-testid`
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  /**
4
4
  * __TBody__
5
5
  * @primitive
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import type { FC } from 'react';
3
- import { BaseCellProps } from './base-cell';
3
+ import { type BaseCellProps } from './base-cell';
4
4
  /**
5
5
  * __Cell__
6
6
  *
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { ReactElement } from 'react';
2
+ import { type ReactElement } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
4
  export type BodyProps<Item extends object> = {
5
5
  rows: Item[];
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import type { FC } from 'react';
3
- import { THProps } from './ui/th';
3
+ import { type THProps } from './ui/th';
4
4
  /**
5
5
  * __HeadCell__
6
6
  *
@@ -1,5 +1,5 @@
1
- import React, { FC, ReactNode } from 'react';
2
- import { SelectableActions, SelectableState } from './use-selectable';
1
+ import React, { type FC, type ReactNode } from 'react';
2
+ import { type SelectableActions, type SelectableState } from './use-selectable';
3
3
  type SelectionContext = [
4
4
  SelectableState,
5
5
  /**
@@ -1,4 +1,4 @@
1
- import { SortDirection, SortKey } from './use-table';
1
+ import { type SortDirection, type SortKey } from './use-table';
2
2
  export declare const useSorting: <ItemType extends object>(sortKey: SortKey<keyof ItemType>) => {
3
3
  sortKey: "unset" | keyof ItemType;
4
4
  sortDirection: SortDirection | undefined;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  export type RowProps = {
4
4
  /**
5
5
  * A `testId` prop is a unique string that appears as a data attribute `data-testid`
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  export interface CellProps {
4
4
  /**
5
5
  * Unique key used for sorting table data by this column
@@ -1,7 +1,7 @@
1
1
  /** @jsx jsx */
2
- import { ReactElement } from 'react';
2
+ import { type ReactElement } from 'react';
3
3
  import { jsx } from '@emotion/react';
4
- import { SortKey } from './hooks/use-table';
4
+ import { type SortKey } from './hooks/use-table';
5
5
  export type TableProps<ItemType extends object = {}> = {
6
6
  /**
7
7
  * A `testId` prop is a unique string that appears as a data attribute `data-testid`
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  type THeadProps = {
4
4
  actions?: (selected: number[]) => ReactNode;
5
5
  children?: ReactNode;
@@ -1,4 +1,4 @@
1
- import { FC, ReactNode } from 'react';
1
+ import { type FC, type ReactNode } from 'react';
2
2
  /**
3
3
  * __Bulk action overlay__
4
4
  *
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  type ExpandableCellProps = {
3
3
  as: 'td' | 'th';
4
4
  children?: ReactNode;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
  type SelectableCellProps = {
3
3
  as: 'td' | 'th';
4
4
  children?: ReactNode;
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC } from 'react';
2
+ import { type FC } from 'react';
3
3
  /**
4
4
  * __SortIcon__
5
5
  *
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  type TableProps = {
4
4
  /**
5
5
  * A `testId` prop is a unique string that appears as a data attribute `data-testid`
@@ -1,5 +1,5 @@
1
1
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
2
+ import { type FC, type ReactNode } from 'react';
3
3
  /**
4
4
  * __TBody__
5
5
  * @primitive
@@ -1,6 +1,6 @@
1
1
  /** @jsx jsx */
2
2
  import type { FC } from 'react';
3
- import { BaseCellProps } from './base-cell';
3
+ import { type BaseCellProps } from './base-cell';
4
4
  /**
5
5
  * __Cell__
6
6
  *
@@ -1,3 +1,3 @@
1
- import { BaseCellProps } from '../src/ui/base-cell';
1
+ import { type BaseCellProps } from '../src/ui/base-cell';
2
2
 
3
3
  export default function Cell(props: BaseCellProps) {}
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
 
3
3
  interface AKTableRowProps {
4
4
  testId?: string;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import { type ReactNode } from 'react';
2
2
 
3
3
  interface AKTableTableProps {
4
4
  testId?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/table",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "A table is used to display data.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -41,13 +41,13 @@
41
41
  "./primitives": "./src/ui/index.tsx"
42
42
  },
43
43
  "dependencies": {
44
- "@atlaskit/button": "^17.14.0",
45
- "@atlaskit/checkbox": "^13.3.0",
44
+ "@atlaskit/button": "^17.17.0",
45
+ "@atlaskit/checkbox": "^13.4.0",
46
46
  "@atlaskit/ds-lib": "^2.3.0",
47
47
  "@atlaskit/focus-ring": "^1.4.0",
48
- "@atlaskit/icon": "^22.2.0",
49
- "@atlaskit/primitives": "^6.1.0",
50
- "@atlaskit/tokens": "^1.48.0",
48
+ "@atlaskit/icon": "^22.3.0",
49
+ "@atlaskit/primitives": "^6.4.0",
50
+ "@atlaskit/tokens": "^1.49.0",
51
51
  "@atlaskit/tooltip": "^18.4.0",
52
52
  "@atlaskit/visually-hidden": "^1.3.0",
53
53
  "@babel/runtime": "^7.0.0",
@@ -61,7 +61,6 @@
61
61
  "@af/accessibility-testing": "*",
62
62
  "@atlaskit/ssr": "*",
63
63
  "@atlaskit/visual-regression": "*",
64
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
65
64
  "@testing-library/react": "^12.1.5",
66
65
  "@testing-library/react-hooks": "^8.0.1",
67
66
  "react-dom": "^16.8.0",
@@ -100,6 +99,5 @@
100
99
  "emotion"
101
100
  ]
102
101
  }
103
- },
104
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
102
+ }
105
103
  }