@atlaskit/table 0.4.30 → 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 +138 -119
  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 +11 -12
package/CHANGELOG.md CHANGED
@@ -1,374 +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
+
11
+ ## 0.5.0
12
+
13
+ ### Minor Changes
14
+
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.
18
+
19
+ ### Patch Changes
20
+
21
+ - Updated dependencies
22
+
3
23
  ## 0.4.30
4
24
 
5
25
  ### Patch Changes
6
26
 
7
- - Updated dependencies
27
+ - Updated dependencies
8
28
 
9
29
  ## 0.4.29
10
30
 
11
31
  ### Patch Changes
12
32
 
13
- - [#95783](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95783)
14
- [`3c001bfc3c35`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c001bfc3c35) -
15
- 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>`.
16
36
 
17
37
  ## 0.4.28
18
38
 
19
39
  ### Patch Changes
20
40
 
21
- - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
22
- [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
23
- Migrated to the new button component
24
- - 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
25
45
 
26
46
  ## 0.4.27
27
47
 
28
48
  ### Patch Changes
29
49
 
30
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
31
- [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
32
- 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`
33
53
 
34
54
  ## 0.4.26
35
55
 
36
56
  ### Patch Changes
37
57
 
38
- - Updated dependencies
58
+ - Updated dependencies
39
59
 
40
60
  ## 0.4.25
41
61
 
42
62
  ### Patch Changes
43
63
 
44
- - [#78598](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78598)
45
- [`cabae83473c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cabae83473c3) -
46
- [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
47
67
 
48
68
  ## 0.4.24
49
69
 
50
70
  ### Patch Changes
51
71
 
52
- - Updated dependencies
72
+ - Updated dependencies
53
73
 
54
74
  ## 0.4.23
55
75
 
56
76
  ### Patch Changes
57
77
 
58
- - [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488)
59
- [`27e6fdab53dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/27e6fdab53dc) -
60
- Cells now use logical property styles.
61
- - 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
62
82
 
63
83
  ## 0.4.22
64
84
 
65
85
  ### Patch Changes
66
86
 
67
- - Updated dependencies
87
+ - Updated dependencies
68
88
 
69
89
  ## 0.4.21
70
90
 
71
91
  ### Patch Changes
72
92
 
73
- - [#75714](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75714)
74
- [`33f4a64132a3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33f4a64132a3) -
75
- Remove duplicate accessible labels on Icon buttons, which were unnecessarily added through the
76
- `aria-label` attribute.
77
- - 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
78
98
 
79
99
  ## 0.4.20
80
100
 
81
101
  ### Patch Changes
82
102
 
83
- - Updated dependencies
103
+ - Updated dependencies
84
104
 
85
105
  ## 0.4.19
86
106
 
87
107
  ### Patch Changes
88
108
 
89
- - [#65875](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65875)
90
- [`98e49fd3f04d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/98e49fd3f04d) -
91
- [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.
92
112
 
93
113
  ## 0.4.18
94
114
 
95
115
  ### Patch Changes
96
116
 
97
- - Updated dependencies
117
+ - Updated dependencies
98
118
 
99
119
  ## 0.4.17
100
120
 
101
121
  ### Patch Changes
102
122
 
103
- - Updated dependencies
123
+ - Updated dependencies
104
124
 
105
125
  ## 0.4.16
106
126
 
107
127
  ### Patch Changes
108
128
 
109
- - Updated dependencies
129
+ - Updated dependencies
110
130
 
111
131
  ## 0.4.15
112
132
 
113
133
  ### Patch Changes
114
134
 
115
- - Updated dependencies
135
+ - Updated dependencies
116
136
 
117
137
  ## 0.4.14
118
138
 
119
139
  ### Patch Changes
120
140
 
121
- - [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533)
122
- [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) -
123
- Updated dependencies
124
- - [#37419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37419)
125
- [`95401cac781`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95401cac781) -
126
- 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.
127
147
 
128
148
  ## 0.4.13
129
149
 
130
150
  ### Patch Changes
131
151
 
132
- - [#36900](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36900)
133
- [`a981691b65e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a981691b65e) -
134
- 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.
135
155
 
136
156
  ## 0.4.12
137
157
 
138
158
  ### Patch Changes
139
159
 
140
- - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
141
- [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
142
- `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
143
- 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.
144
164
 
145
165
  ## 0.4.11
146
166
 
147
167
  ### Patch Changes
148
168
 
149
- - Updated dependencies
169
+ - Updated dependencies
150
170
 
151
171
  ## 0.4.10
152
172
 
153
173
  ### Patch Changes
154
174
 
155
- - Updated dependencies
175
+ - Updated dependencies
156
176
 
157
177
  ## 0.4.9
158
178
 
159
179
  ### Patch Changes
160
180
 
161
- - Updated dependencies
181
+ - Updated dependencies
162
182
 
163
183
  ## 0.4.8
164
184
 
165
185
  ### Patch Changes
166
186
 
167
- - Updated dependencies
187
+ - Updated dependencies
168
188
 
169
189
  ## 0.4.7
170
190
 
171
191
  ### Patch Changes
172
192
 
173
- - Updated dependencies
193
+ - Updated dependencies
174
194
 
175
195
  ## 0.4.6
176
196
 
177
197
  ### Patch Changes
178
198
 
179
- - Updated dependencies
199
+ - Updated dependencies
180
200
 
181
201
  ## 0.4.5
182
202
 
183
203
  ### Patch Changes
184
204
 
185
- - Updated dependencies
205
+ - Updated dependencies
186
206
 
187
207
  ## 0.4.4
188
208
 
189
209
  ### Patch Changes
190
210
 
191
- - Updated dependencies
211
+ - Updated dependencies
192
212
 
193
213
  ## 0.4.3
194
214
 
195
215
  ### Patch Changes
196
216
 
197
- - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
198
- [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) -
199
- 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
200
220
 
201
221
  ## 0.4.2
202
222
 
203
223
  ### Patch Changes
204
224
 
205
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
206
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
207
- 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
208
228
 
209
229
  ## 0.4.1
210
230
 
211
231
  ### Patch Changes
212
232
 
213
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
214
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
215
- 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`
216
236
 
217
237
  ## 0.4.0
218
238
 
219
239
  ### Minor Changes
220
240
 
221
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
222
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
223
- 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
224
244
 
225
245
  ### Patch Changes
226
246
 
227
- - Updated dependencies
247
+ - Updated dependencies
228
248
 
229
249
  ## 0.3.4
230
250
 
231
251
  ### Patch Changes
232
252
 
233
- - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
234
- [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) -
235
- 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.
236
256
 
237
257
  ## 0.3.3
238
258
 
239
259
  ### Patch Changes
240
260
 
241
- - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
242
- [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
243
- 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
244
264
 
245
265
  ## 0.3.2
246
266
 
247
267
  ### Patch Changes
248
268
 
249
- - Updated dependencies
269
+ - Updated dependencies
250
270
 
251
271
  ## 0.3.1
252
272
 
253
273
  ### Patch Changes
254
274
 
255
- - Updated dependencies
275
+ - Updated dependencies
256
276
 
257
277
  ## 0.3.0
258
278
 
259
279
  ### Minor Changes
260
280
 
261
- - [#31531](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31531)
262
- [`bc489da7472`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc489da7472) - [ux] -
263
- Adds new primitives to support expandable row functionality. This will supersede the
264
- `@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.
265
285
 
266
- - `<ExpandableRow>`
267
- - `<ExpandableRowContent>`
268
- - `<ExpandableCell>`
286
+ - `<ExpandableRow>`
287
+ - `<ExpandableRowContent>`
288
+ - `<ExpandableCell>`
269
289
 
270
290
  ## 0.2.8
271
291
 
272
292
  ### Patch Changes
273
293
 
274
- - Updated dependencies
294
+ - Updated dependencies
275
295
 
276
296
  ## 0.2.7
277
297
 
278
298
  ### Patch Changes
279
299
 
280
- - Updated dependencies
300
+ - Updated dependencies
281
301
 
282
302
  ## 0.2.6
283
303
 
284
304
  ### Patch Changes
285
305
 
286
- - Updated dependencies
306
+ - Updated dependencies
287
307
 
288
308
  ## 0.2.5
289
309
 
290
310
  ### Patch Changes
291
311
 
292
- - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
293
- [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) -
294
- 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.
295
315
 
296
316
  ## 0.2.4
297
317
 
298
318
  ### Patch Changes
299
319
 
300
- - [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242)
301
- [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) -
302
- Internal change only. Replace usages of Inline/Stack with stable version from
303
- `@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`.
304
323
 
305
324
  ## 0.2.3
306
325
 
307
326
  ### Patch Changes
308
327
 
309
- - [#31055](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31055)
310
- [`8fb961ffa76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8fb961ffa76) - [ux]
311
- Fixed some accessibility bugs. Now checkboxes in selectable cells are labelled for assistive
312
- technology users, sortable columns have their sorting state programmatically associated through
313
- the `aria-sort` attribute, and the sort button has an `aria-roledescription` to ensure that
314
- 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.
315
334
 
316
335
  ## 0.2.2
317
336
 
318
337
  ### Patch Changes
319
338
 
320
- - Updated dependencies
339
+ - Updated dependencies
321
340
 
322
341
  ## 0.2.1
323
342
 
324
343
  ### Patch Changes
325
344
 
326
- - [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891)
327
- [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) -
328
- Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs.
329
- There are no visual or behaviour changes.
330
- - 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
331
350
 
332
351
  ## 0.2.0
333
352
 
334
353
  ### Minor Changes
335
354
 
336
- - [#28885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28885)
337
- [`0fc5e276eb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fc5e276eb4) - [ux]
338
- 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.
339
358
 
340
359
  ## 0.1.4
341
360
 
342
361
  ### Patch Changes
343
362
 
344
- - Updated dependencies
363
+ - Updated dependencies
345
364
 
346
365
  ## 0.1.3
347
366
 
348
367
  ### Patch Changes
349
368
 
350
- - Updated dependencies
369
+ - Updated dependencies
351
370
 
352
371
  ## 0.1.2
353
372
 
354
373
  ### Patch Changes
355
374
 
356
- - [#28013](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28013)
357
- [`d2c17ae6f14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2c17ae6f14) - Adds
358
- 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.
359
378
 
360
379
  ## 0.1.1
361
380
 
362
381
  ### Patch Changes
363
382
 
364
- - [#27929](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27929)
365
- [`7d3f2c3c117`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d3f2c3c117) -
366
- 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
367
386
 
368
387
  ## 0.1.0
369
388
 
370
389
  ### Minor Changes
371
390
 
372
- - [#27738](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27738)
373
- [`e2e5705f5d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2e5705f5d8) - Create
374
- 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.4.30",
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",
@@ -18,7 +18,8 @@
18
18
  "status": {
19
19
  "type": "alpha"
20
20
  }
21
- }
21
+ },
22
+ "runReact18": true
22
23
  },
23
24
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
24
25
  "main": "dist/cjs/index.js",
@@ -40,27 +41,26 @@
40
41
  "./primitives": "./src/ui/index.tsx"
41
42
  },
42
43
  "dependencies": {
43
- "@atlaskit/button": "^17.14.0",
44
- "@atlaskit/checkbox": "^13.3.0",
44
+ "@atlaskit/button": "^17.17.0",
45
+ "@atlaskit/checkbox": "^13.4.0",
45
46
  "@atlaskit/ds-lib": "^2.3.0",
46
47
  "@atlaskit/focus-ring": "^1.4.0",
47
- "@atlaskit/icon": "^22.1.0",
48
- "@atlaskit/primitives": "^6.0.0",
49
- "@atlaskit/tokens": "^1.45.0",
50
- "@atlaskit/tooltip": "^18.3.0",
48
+ "@atlaskit/icon": "^22.3.0",
49
+ "@atlaskit/primitives": "^6.4.0",
50
+ "@atlaskit/tokens": "^1.49.0",
51
+ "@atlaskit/tooltip": "^18.4.0",
51
52
  "@atlaskit/visually-hidden": "^1.3.0",
52
53
  "@babel/runtime": "^7.0.0",
53
54
  "@emotion/react": "^11.7.1",
54
55
  "tiny-invariant": "^1.2.0"
55
56
  },
56
57
  "peerDependencies": {
57
- "react": "^16.8.0"
58
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
58
59
  },
59
60
  "devDependencies": {
60
61
  "@af/accessibility-testing": "*",
61
62
  "@atlaskit/ssr": "*",
62
63
  "@atlaskit/visual-regression": "*",
63
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
64
64
  "@testing-library/react": "^12.1.5",
65
65
  "@testing-library/react-hooks": "^8.0.1",
66
66
  "react-dom": "^16.8.0",
@@ -99,6 +99,5 @@
99
99
  "emotion"
100
100
  ]
101
101
  }
102
- },
103
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
102
+ }
104
103
  }