@atlaskit/table 0.4.28 → 0.4.29

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,302 +1,368 @@
1
1
  # @atlaskit/table
2
2
 
3
+ ## 0.4.29
4
+
5
+ ### Patch Changes
6
+
7
+ - [#95783](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95783)
8
+ [`3c001bfc3c35`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c001bfc3c35) -
9
+ Added `rowSpan` prop to `<BaseCell>`. Added `colSpan` prop to `<TH>`.
10
+
3
11
  ## 0.4.28
4
12
 
5
13
  ### Patch Changes
6
14
 
7
- - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007) [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) - Migrated to the new button component
8
- - Updated dependencies
15
+ - [#92007](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92007)
16
+ [`85525725cb0d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/85525725cb0d) -
17
+ Migrated to the new button component
18
+ - Updated dependencies
9
19
 
10
20
  ## 0.4.27
11
21
 
12
22
  ### Patch Changes
13
23
 
14
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
24
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
25
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
26
+ Upgrade Typescript from `4.9.5` to `5.4.2`
15
27
 
16
28
  ## 0.4.26
17
29
 
18
30
  ### Patch Changes
19
31
 
20
- - Updated dependencies
32
+ - Updated dependencies
21
33
 
22
34
  ## 0.4.25
23
35
 
24
36
  ### Patch Changes
25
37
 
26
- - [#78598](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78598) [`cabae83473c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cabae83473c3) - [ux] Focus styles for Checkbox and Radio components
38
+ - [#78598](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/78598)
39
+ [`cabae83473c3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cabae83473c3) -
40
+ [ux] Focus styles for Checkbox and Radio components
27
41
 
28
42
  ## 0.4.24
29
43
 
30
44
  ### Patch Changes
31
45
 
32
- - Updated dependencies
46
+ - Updated dependencies
33
47
 
34
48
  ## 0.4.23
35
49
 
36
50
  ### Patch Changes
37
51
 
38
- - [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488) [`27e6fdab53dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/27e6fdab53dc) - Cells now use logical property styles.
39
- - Updated dependencies
52
+ - [#77488](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77488)
53
+ [`27e6fdab53dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/27e6fdab53dc) -
54
+ Cells now use logical property styles.
55
+ - Updated dependencies
40
56
 
41
57
  ## 0.4.22
42
58
 
43
59
  ### Patch Changes
44
60
 
45
- - Updated dependencies
61
+ - Updated dependencies
46
62
 
47
63
  ## 0.4.21
48
64
 
49
65
  ### Patch Changes
50
66
 
51
- - [#75714](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75714) [`33f4a64132a3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33f4a64132a3) - Remove duplicate accessible labels on Icon buttons, which were unnecessarily added through the `aria-label` attribute.
52
- - Updated dependencies
67
+ - [#75714](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/75714)
68
+ [`33f4a64132a3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33f4a64132a3) -
69
+ Remove duplicate accessible labels on Icon buttons, which were unnecessarily added through the
70
+ `aria-label` attribute.
71
+ - Updated dependencies
53
72
 
54
73
  ## 0.4.20
55
74
 
56
75
  ### Patch Changes
57
76
 
58
- - Updated dependencies
77
+ - Updated dependencies
59
78
 
60
79
  ## 0.4.19
61
80
 
62
81
  ### Patch Changes
63
82
 
64
- - [#65875](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65875) [`98e49fd3f04d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/98e49fd3f04d) - [ux] Updated buttons in table to consume new buttons.
83
+ - [#65875](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65875)
84
+ [`98e49fd3f04d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/98e49fd3f04d) -
85
+ [ux] Updated buttons in table to consume new buttons.
65
86
 
66
87
  ## 0.4.18
67
88
 
68
89
  ### Patch Changes
69
90
 
70
- - Updated dependencies
91
+ - Updated dependencies
71
92
 
72
93
  ## 0.4.17
73
94
 
74
95
  ### Patch Changes
75
96
 
76
- - Updated dependencies
97
+ - Updated dependencies
77
98
 
78
99
  ## 0.4.16
79
100
 
80
101
  ### Patch Changes
81
102
 
82
- - Updated dependencies
103
+ - Updated dependencies
83
104
 
84
105
  ## 0.4.15
85
106
 
86
107
  ### Patch Changes
87
108
 
88
- - Updated dependencies
109
+ - Updated dependencies
89
110
 
90
111
  ## 0.4.14
91
112
 
92
113
  ### Patch Changes
93
114
 
94
- - [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533) [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies
95
- - [#37419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37419) [`95401cac781`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95401cac781) - Internal change to component composition. There is no expected change.
115
+ - [#37533](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37533)
116
+ [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) -
117
+ Updated dependencies
118
+ - [#37419](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37419)
119
+ [`95401cac781`](https://bitbucket.org/atlassian/atlassian-frontend/commits/95401cac781) -
120
+ Internal change to component composition. There is no expected change.
96
121
 
97
122
  ## 0.4.13
98
123
 
99
124
  ### Patch Changes
100
125
 
101
- - [#36900](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36900) [`a981691b65e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a981691b65e) - Updated internal dependencies.
126
+ - [#36900](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36900)
127
+ [`a981691b65e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a981691b65e) -
128
+ Updated internal dependencies.
102
129
 
103
130
  ## 0.4.12
104
131
 
105
132
  ### Patch Changes
106
133
 
107
- - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754) [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility testing.
134
+ - [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
135
+ [`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
136
+ `@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
137
+ testing.
108
138
 
109
139
  ## 0.4.11
110
140
 
111
141
  ### Patch Changes
112
142
 
113
- - Updated dependencies
143
+ - Updated dependencies
114
144
 
115
145
  ## 0.4.10
116
146
 
117
147
  ### Patch Changes
118
148
 
119
- - Updated dependencies
149
+ - Updated dependencies
120
150
 
121
151
  ## 0.4.9
122
152
 
123
153
  ### Patch Changes
124
154
 
125
- - Updated dependencies
155
+ - Updated dependencies
126
156
 
127
157
  ## 0.4.8
128
158
 
129
159
  ### Patch Changes
130
160
 
131
- - Updated dependencies
161
+ - Updated dependencies
132
162
 
133
163
  ## 0.4.7
134
164
 
135
165
  ### Patch Changes
136
166
 
137
- - Updated dependencies
167
+ - Updated dependencies
138
168
 
139
169
  ## 0.4.6
140
170
 
141
171
  ### Patch Changes
142
172
 
143
- - Updated dependencies
173
+ - Updated dependencies
144
174
 
145
175
  ## 0.4.5
146
176
 
147
177
  ### Patch Changes
148
178
 
149
- - Updated dependencies
179
+ - Updated dependencies
150
180
 
151
181
  ## 0.4.4
152
182
 
153
183
  ### Patch Changes
154
184
 
155
- - Updated dependencies
185
+ - Updated dependencies
156
186
 
157
187
  ## 0.4.3
158
188
 
159
189
  ### Patch Changes
160
190
 
161
- - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443) [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) - Removing unused dependencies and dev dependencies
191
+ - [#34443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34443)
192
+ [`61cb5313358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61cb5313358) -
193
+ Removing unused dependencies and dev dependencies
162
194
 
163
195
  ## 0.4.2
164
196
 
165
197
  ### Patch Changes
166
198
 
167
- - [#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
199
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
200
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
201
+ legacy types are published for TS 4.5-4.8
168
202
 
169
203
  ## 0.4.1
170
204
 
171
205
  ### Patch Changes
172
206
 
173
- - [#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`
207
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
208
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
209
+ Upgrade Typescript from `4.5.5` to `4.9.5`
174
210
 
175
211
  ## 0.4.0
176
212
 
177
213
  ### Minor Changes
178
214
 
179
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
215
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
216
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
217
+ minor dependency bump
180
218
 
181
219
  ### Patch Changes
182
220
 
183
- - Updated dependencies
221
+ - Updated dependencies
184
222
 
185
223
  ## 0.3.4
186
224
 
187
225
  ### Patch Changes
188
226
 
189
- - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211) [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal changes.
227
+ - [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
228
+ [`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) -
229
+ Internal changes.
190
230
 
191
231
  ## 0.3.3
192
232
 
193
233
  ### Patch Changes
194
234
 
195
- - [#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
235
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
236
+ [`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
237
+ remove before merging to master; dupe adf-schema via adf-utils
196
238
 
197
239
  ## 0.3.2
198
240
 
199
241
  ### Patch Changes
200
242
 
201
- - Updated dependencies
243
+ - Updated dependencies
202
244
 
203
245
  ## 0.3.1
204
246
 
205
247
  ### Patch Changes
206
248
 
207
- - Updated dependencies
249
+ - Updated dependencies
208
250
 
209
251
  ## 0.3.0
210
252
 
211
253
  ### Minor Changes
212
254
 
213
- - [#31531](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31531) [`bc489da7472`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc489da7472) - [ux] - Adds new primitives to support expandable row functionality. This will supersede the `@atlaskit/table-tree` package.
255
+ - [#31531](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31531)
256
+ [`bc489da7472`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc489da7472) - [ux] -
257
+ Adds new primitives to support expandable row functionality. This will supersede the
258
+ `@atlaskit/table-tree` package.
214
259
 
215
- - `<ExpandableRow>`
216
- - `<ExpandableRowContent>`
217
- - `<ExpandableCell>`
260
+ - `<ExpandableRow>`
261
+ - `<ExpandableRowContent>`
262
+ - `<ExpandableCell>`
218
263
 
219
264
  ## 0.2.8
220
265
 
221
266
  ### Patch Changes
222
267
 
223
- - Updated dependencies
268
+ - Updated dependencies
224
269
 
225
270
  ## 0.2.7
226
271
 
227
272
  ### Patch Changes
228
273
 
229
- - Updated dependencies
274
+ - Updated dependencies
230
275
 
231
276
  ## 0.2.6
232
277
 
233
278
  ### Patch Changes
234
279
 
235
- - Updated dependencies
280
+ - Updated dependencies
236
281
 
237
282
  ## 0.2.5
238
283
 
239
284
  ### Patch Changes
240
285
 
241
- - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206) [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) - Upgrades component types to support React 18.
286
+ - [#31206](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31206)
287
+ [`261420360ec`](https://bitbucket.org/atlassian/atlassian-frontend/commits/261420360ec) -
288
+ Upgrades component types to support React 18.
242
289
 
243
290
  ## 0.2.4
244
291
 
245
292
  ### Patch Changes
246
293
 
247
- - [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242) [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) - Internal change only. Replace usages of Inline/Stack with stable version from `@atlaskit/primitives`.
294
+ - [#31242](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31242)
295
+ [`cfe48bb7ece`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfe48bb7ece) -
296
+ Internal change only. Replace usages of Inline/Stack with stable version from
297
+ `@atlaskit/primitives`.
248
298
 
249
299
  ## 0.2.3
250
300
 
251
301
  ### Patch Changes
252
302
 
253
- - [#31055](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31055) [`8fb961ffa76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8fb961ffa76) - [ux] Fixed some accessibility bugs. Now checkboxes in selectable cells are labelled for assistive technology users, sortable columns have their sorting state programmatically associated through the `aria-sort` attribute, and the sort button has an `aria-roledescription` to ensure that assistive technology users are informed that the column headers are sortable in nature.
303
+ - [#31055](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31055)
304
+ [`8fb961ffa76`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8fb961ffa76) - [ux]
305
+ Fixed some accessibility bugs. Now checkboxes in selectable cells are labelled for assistive
306
+ technology users, sortable columns have their sorting state programmatically associated through
307
+ the `aria-sort` attribute, and the sort button has an `aria-roledescription` to ensure that
308
+ assistive technology users are informed that the column headers are sortable in nature.
254
309
 
255
310
  ## 0.2.2
256
311
 
257
312
  ### Patch Changes
258
313
 
259
- - Updated dependencies
314
+ - Updated dependencies
260
315
 
261
316
  ## 0.2.1
262
317
 
263
318
  ### Patch Changes
264
319
 
265
- - [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891) [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes.
266
- - Updated dependencies
320
+ - [#27891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27891)
321
+ [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) -
322
+ Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs.
323
+ There are no visual or behaviour changes.
324
+ - Updated dependencies
267
325
 
268
326
  ## 0.2.0
269
327
 
270
328
  ### Minor Changes
271
329
 
272
- - [#28885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28885) [`0fc5e276eb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fc5e276eb4) - [ux] Fix borders not showing in Safari. Table is shifted down slightly as a result.
330
+ - [#28885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28885)
331
+ [`0fc5e276eb4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0fc5e276eb4) - [ux]
332
+ Fix borders not showing in Safari. Table is shifted down slightly as a result.
273
333
 
274
334
  ## 0.1.4
275
335
 
276
336
  ### Patch Changes
277
337
 
278
- - Updated dependencies
338
+ - Updated dependencies
279
339
 
280
340
  ## 0.1.3
281
341
 
282
342
  ### Patch Changes
283
343
 
284
- - Updated dependencies
344
+ - Updated dependencies
285
345
 
286
346
  ## 0.1.2
287
347
 
288
348
  ### Patch Changes
289
349
 
290
- - [#28013](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28013) [`d2c17ae6f14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2c17ae6f14) - Adds the `width` prop to '@atlaskit/table' header elements.
350
+ - [#28013](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28013)
351
+ [`d2c17ae6f14`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2c17ae6f14) - Adds
352
+ the `width` prop to '@atlaskit/table' header elements.
291
353
 
292
354
  ## 0.1.1
293
355
 
294
356
  ### Patch Changes
295
357
 
296
- - [#27929](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27929) [`7d3f2c3c117`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d3f2c3c117) - Iterate on typings and component performance
358
+ - [#27929](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27929)
359
+ [`7d3f2c3c117`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7d3f2c3c117) -
360
+ Iterate on typings and component performance
297
361
 
298
362
  ## 0.1.0
299
363
 
300
364
  ### Minor Changes
301
365
 
302
- - [#27738](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27738) [`e2e5705f5d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2e5705f5d8) - Create initial component from Figma spec. Dev release, not intended for consumption.
366
+ - [#27738](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27738)
367
+ [`e2e5705f5d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2e5705f5d8) - Create
368
+ initial component from Figma spec. Dev release, not intended for consumption.
@@ -59,7 +59,8 @@ var BaseCell = exports.BaseCell = /*#__PURE__*/(0, _react.forwardRef)(function (
59
59
  width = _ref.width,
60
60
  xcss = _ref.xcss,
61
61
  sortDirection = _ref.sortDirection,
62
- colSpan = _ref.colSpan;
62
+ colSpan = _ref.colSpan,
63
+ rowSpan = _ref.rowSpan;
63
64
  // We're type coercing this as Compiled styles in an array isn't supported by the types
64
65
  // But the runtime accepts it none-the-wiser. We can remove this entire block and replace
65
66
  // it with cx(defaultStyles, focusRingStyles, xcssStyles) when we've moved away from Emotion.
@@ -77,6 +78,7 @@ var BaseCell = exports.BaseCell = /*#__PURE__*/(0, _react.forwardRef)(function (
77
78
  width: width
78
79
  } : undefined,
79
80
  "aria-sort": sortDirection,
80
- colSpan: colSpan
81
+ colSpan: colSpan,
82
+ rowSpan: rowSpan
81
83
  }, children);
82
84
  });
package/dist/cjs/ui/th.js CHANGED
@@ -21,7 +21,8 @@ var TH = exports.TH = function TH(_ref) {
21
21
  scope = _ref.scope,
22
22
  backgroundColor = _ref.backgroundColor,
23
23
  width = _ref.width,
24
- sortDirection = _ref.sortDirection;
24
+ sortDirection = _ref.sortDirection,
25
+ colSpan = _ref.colSpan;
25
26
  return /*#__PURE__*/_react.default.createElement(_baseCell.BaseCell, {
26
27
  as: "th",
27
28
  testId: testId,
@@ -29,6 +30,7 @@ var TH = exports.TH = function TH(_ref) {
29
30
  scope: scope,
30
31
  width: width,
31
32
  backgroundColor: backgroundColor,
32
- sortDirection: sortDirection
33
+ sortDirection: sortDirection,
34
+ colSpan: colSpan
33
35
  }, children);
34
36
  };
@@ -46,7 +46,8 @@ export const BaseCell = /*#__PURE__*/forwardRef(({
46
46
  width,
47
47
  xcss,
48
48
  sortDirection,
49
- colSpan
49
+ colSpan,
50
+ rowSpan
50
51
  }, ref) => {
51
52
  // We're type coercing this as Compiled styles in an array isn't supported by the types
52
53
  // But the runtime accepts it none-the-wiser. We can remove this entire block and replace
@@ -65,6 +66,7 @@ export const BaseCell = /*#__PURE__*/forwardRef(({
65
66
  width
66
67
  } : undefined,
67
68
  "aria-sort": sortDirection,
68
- colSpan: colSpan
69
+ colSpan: colSpan,
70
+ rowSpan: rowSpan
69
71
  }, children);
70
72
  });
@@ -14,7 +14,8 @@ export const TH = ({
14
14
  scope,
15
15
  backgroundColor,
16
16
  width,
17
- sortDirection
17
+ sortDirection,
18
+ colSpan
18
19
  }) => /*#__PURE__*/React.createElement(BaseCell, {
19
20
  as: "th",
20
21
  testId: testId,
@@ -22,5 +23,6 @@ export const TH = ({
22
23
  scope: scope,
23
24
  width: width,
24
25
  backgroundColor: backgroundColor,
25
- sortDirection: sortDirection
26
+ sortDirection: sortDirection,
27
+ colSpan: colSpan
26
28
  }, children);
@@ -50,7 +50,8 @@ export var BaseCell = /*#__PURE__*/forwardRef(function (_ref, ref) {
50
50
  width = _ref.width,
51
51
  xcss = _ref.xcss,
52
52
  sortDirection = _ref.sortDirection,
53
- colSpan = _ref.colSpan;
53
+ colSpan = _ref.colSpan,
54
+ rowSpan = _ref.rowSpan;
54
55
  // We're type coercing this as Compiled styles in an array isn't supported by the types
55
56
  // But the runtime accepts it none-the-wiser. We can remove this entire block and replace
56
57
  // it with cx(defaultStyles, focusRingStyles, xcssStyles) when we've moved away from Emotion.
@@ -68,6 +69,7 @@ export var BaseCell = /*#__PURE__*/forwardRef(function (_ref, ref) {
68
69
  width: width
69
70
  } : undefined,
70
71
  "aria-sort": sortDirection,
71
- colSpan: colSpan
72
+ colSpan: colSpan,
73
+ rowSpan: rowSpan
72
74
  }, children);
73
75
  });
package/dist/esm/ui/th.js CHANGED
@@ -14,7 +14,8 @@ export var TH = function TH(_ref) {
14
14
  scope = _ref.scope,
15
15
  backgroundColor = _ref.backgroundColor,
16
16
  width = _ref.width,
17
- sortDirection = _ref.sortDirection;
17
+ sortDirection = _ref.sortDirection,
18
+ colSpan = _ref.colSpan;
18
19
  return /*#__PURE__*/React.createElement(BaseCell, {
19
20
  as: "th",
20
21
  testId: testId,
@@ -22,6 +23,7 @@ export var TH = function TH(_ref) {
22
23
  scope: scope,
23
24
  width: width,
24
25
  backgroundColor: backgroundColor,
25
- sortDirection: sortDirection
26
+ sortDirection: sortDirection,
27
+ colSpan: colSpan
26
28
  }, children);
27
29
  };
@@ -1,5 +1,5 @@
1
- import React, { ReactNode } from 'react';
2
- import { BoxProps } from '@atlaskit/primitives';
1
+ import React, { type ReactNode } from 'react';
2
+ import { type BoxProps } from '@atlaskit/primitives';
3
3
  export type BaseCellProps = {
4
4
  /**
5
5
  * A percentage of pixel width of the table to apply to a column.
@@ -32,6 +32,10 @@ export type BaseCellProps = {
32
32
  * Number of columns to span.
33
33
  */
34
34
  colSpan?: number;
35
+ /**
36
+ * Number of rows to span.
37
+ */
38
+ rowSpan?: number;
35
39
  } & Pick<BoxProps<any>, 'paddingBlock' | 'paddingInline' | 'backgroundColor' | 'xcss'>;
36
40
  /**
37
41
  * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-sort
@@ -76,6 +80,10 @@ export declare const BaseCell: React.ForwardRefExoticComponent<{
76
80
  * Number of columns to span.
77
81
  */
78
82
  colSpan?: number | undefined;
83
+ /**
84
+ * Number of rows to span.
85
+ */
86
+ rowSpan?: number | undefined;
79
87
  } & Pick<BoxProps<any>, "backgroundColor" | "paddingBlock" | "paddingInline" | "xcss"> & {
80
88
  sortDirection?: SortDirection | undefined;
81
89
  } & React.RefAttributes<HTMLTableCellElement>>;
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { BaseCellProps, SortDirection } from './base-cell';
1
+ import { type FC } from 'react';
2
+ import { type BaseCellProps, type SortDirection } from './base-cell';
3
3
  export type THProps = Omit<BaseCellProps, 'as'>;
4
4
  type InternalTHProps = THProps & {
5
5
  sortDirection?: SortDirection;
@@ -1,5 +1,5 @@
1
- import React, { ReactNode } from 'react';
2
- import { BoxProps } from '@atlaskit/primitives';
1
+ import React, { type ReactNode } from 'react';
2
+ import { type BoxProps } from '@atlaskit/primitives';
3
3
  export type BaseCellProps = {
4
4
  /**
5
5
  * A percentage of pixel width of the table to apply to a column.
@@ -32,6 +32,10 @@ export type BaseCellProps = {
32
32
  * Number of columns to span.
33
33
  */
34
34
  colSpan?: number;
35
+ /**
36
+ * Number of rows to span.
37
+ */
38
+ rowSpan?: number;
35
39
  } & Pick<BoxProps<any>, 'paddingBlock' | 'paddingInline' | 'backgroundColor' | 'xcss'>;
36
40
  /**
37
41
  * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-sort
@@ -76,6 +80,10 @@ export declare const BaseCell: React.ForwardRefExoticComponent<{
76
80
  * Number of columns to span.
77
81
  */
78
82
  colSpan?: number | undefined;
83
+ /**
84
+ * Number of rows to span.
85
+ */
86
+ rowSpan?: number | undefined;
79
87
  } & Pick<BoxProps<any>, "backgroundColor" | "paddingBlock" | "paddingInline" | "xcss"> & {
80
88
  sortDirection?: SortDirection | undefined;
81
89
  } & React.RefAttributes<HTMLTableCellElement>>;
@@ -1,5 +1,5 @@
1
- import { FC } from 'react';
2
- import { BaseCellProps, SortDirection } from './base-cell';
1
+ import { type FC } from 'react';
2
+ import { type BaseCellProps, type SortDirection } from './base-cell';
3
3
  export type THProps = Omit<BaseCellProps, 'as'>;
4
4
  type InternalTHProps = THProps & {
5
5
  sortDirection?: SortDirection;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/table",
3
- "version": "0.4.28",
3
+ "version": "0.4.29",
4
4
  "description": "A table is used to display data.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -41,14 +41,14 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@atlaskit/button": "^17.14.0",
44
- "@atlaskit/checkbox": "^13.1.0",
44
+ "@atlaskit/checkbox": "^13.3.0",
45
45
  "@atlaskit/ds-lib": "^2.3.0",
46
- "@atlaskit/focus-ring": "^1.3.0",
46
+ "@atlaskit/focus-ring": "^1.4.0",
47
47
  "@atlaskit/icon": "^22.1.0",
48
- "@atlaskit/primitives": "^5.6.0",
49
- "@atlaskit/tokens": "^1.43.0",
50
- "@atlaskit/tooltip": "^18.2.0",
51
- "@atlaskit/visually-hidden": "^1.2.0",
48
+ "@atlaskit/primitives": "^5.7.0",
49
+ "@atlaskit/tokens": "^1.45.0",
50
+ "@atlaskit/tooltip": "^18.3.0",
51
+ "@atlaskit/visually-hidden": "^1.3.0",
52
52
  "@babel/runtime": "^7.0.0",
53
53
  "@emotion/react": "^11.7.1",
54
54
  "tiny-invariant": "^1.2.0"