@procore/data-table 12.2.0

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 ADDED
@@ -0,0 +1,2003 @@
1
+ # Change Log
2
+
3
+ ## 12.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - fcb8aa36ff: Add `onRowGroupOpened` prop to be able to listen for group row expand/collapse changes
8
+
9
+ ### Patch Changes
10
+
11
+ - c038c9f566: Move persistence logic out of Client Side Filters
12
+
13
+ ## 12.1.0
14
+
15
+ ### Minor Changes
16
+
17
+ - afda078f68: adds overlayMatchesTriggerWidth:false (will require peer dep core-react ^11.30.0) prop to set select menu width to 360px
18
+
19
+ ### Patch Changes
20
+
21
+ - 7d935c81ff: Move labs-financials-utils from a dependency to a devDependency
22
+
23
+ ## 11.2.0-finutils-peerdep.0
24
+
25
+ ### Major Changes
26
+
27
+ - Move @procore/labs-financials-utils to be a peerDependency
28
+ - Allows for clients to leverage improvements and fixes in newer versions of @procore/labs-financials-utils which maintains compatible props APIs without having to upgrade @procore/labs-data-utils
29
+
30
+ ## 10.5.0-finutils-peerdep.0
31
+
32
+ ### Major Changes
33
+
34
+ - Move @procore/labs-financials-utils to be a peerDependency
35
+ - Allows for clients to leverage improvements and fixes in newer versions of @procore/labs-financials-utils which maintains compatible props APIs without having to upgrade @procore/labs-data-utils
36
+
37
+ ## 9.7.0-finutils-peerdep.0
38
+
39
+ ### Major Changes
40
+
41
+ - Move @procore/labs-financials-utils to be a peerDependency
42
+ - Allows for clients to leverage improvements and fixes in newer versions of @procore/labs-financials-utils which maintains compatible props APIs without having to upgrade @procore/labs-data-utils
43
+
44
+ ### Minor Changes
45
+
46
+ - Only include source maps in non-production environments
47
+
48
+ ## 12.0.0
49
+
50
+ ### Major Changes
51
+
52
+ - 5ed847307d: split datatable to client and servers side
53
+ - f327913d72: Remove Filter and replace with NextFilter
54
+ - 07ad27ad67: move @procore/labs-procore-environment to peer dependencies.
55
+ - c026fb16f6: aggrid upgrade to version 30
56
+
57
+ ### Minor Changes
58
+
59
+ - c9985e1ef5: Remove TextArea Cell Renderer/Editor from the grid components
60
+
61
+ ## 11.2.0
62
+
63
+ ### Minor Changes
64
+
65
+ - 25dd2eb2cc: `NextFiltersPanel` - add optional filters grouping with ability to expand/collapse and scroll within group
66
+
67
+ ### Patch Changes
68
+
69
+ - 3b228444e7: Date Filters - fix issue that clicking on the second filter while the first one is open closes both
70
+ - 5f2be5d6cf: Added E2E tests for Client Side Row Selection and Server Side Row Selection
71
+ - 7d0932498e: Setup Cypress tests for CircleCi
72
+ - 1fee2c575f: fixed table footers partially disappears on hover, when rowActions are present on the table
73
+
74
+ ## 11.1.0
75
+
76
+ ### Minor Changes
77
+
78
+ - 3e9ae756a6: Add property to filter out unnecessary avatars
79
+ - 48764672c6: specify the type for lockPosition property of ColumnDefinition interface. Add a control to the Line Numbers example
80
+
81
+ ### Patch Changes
82
+
83
+ - eef6e3ebe0: fix: Synchronized Table configuration panel on first render
84
+ - f763893c9a: Change Input Labels from H3s to Labels in the Filter Side Panel for the Data Table
85
+ - 8dbcc8ec87: peer dependency versions changed to core-css version "^10.27.2", core-icons "^12.0.0", core-react "^11.21.0", react and react-dom ">=16.8.0 < 19"
86
+
87
+ ## 11.0.0
88
+
89
+ ### Minor Changes
90
+
91
+ - fix unpinned column styles
92
+
93
+ ### Patch Changes
94
+
95
+ - TextArea Cell Improvements
96
+ - Updated dependencies [a147cbdd8a]
97
+ - @procore/core-icons@12.0.0
98
+
99
+ ## 10.5.0
100
+
101
+ ### Minor Changes
102
+
103
+ - a80ca16e2a: Fixing issue when selecting rows that are grouped by differentiating the event type
104
+
105
+ ## 10.4.0
106
+
107
+ ### Minor Changes
108
+
109
+ - 122f223bb1: make the pill select alignment consistent between editable and non-editable states
110
+
111
+ ### Patch Changes
112
+
113
+ - 7f49b37b95: Changing the class name assigned to the separator in the InlineEditWrapper to avoid a clash with the separator class defined in the monolith's CSS artifact
114
+ - 40e6e5c21f: move BooleanCell translations to data-table
115
+
116
+ ## 10.3.0
117
+
118
+ ### Minor Changes
119
+
120
+ - 70cabc3f12: Allow currency and percent cell editors to have a different formatConfig than their renderers
121
+ - 346e04e2c2: Add initialGroupOrderComparator DataTable.Table prop to determine initial group row order when no user sorting is present
122
+
123
+ ### Patch Changes
124
+
125
+ - e004cedeb6: Add node in params to valueValidator to support different tooltips in group or subtotal rows.
126
+
127
+ ## 10.2.1
128
+
129
+ ### Patch Changes
130
+
131
+ - ac3cb7320c: Fix Select All checkbox when going from an non-editable to an editable state
132
+ - 5107cc09d6: Update @procore/globalization-toolkit to version 2.0.1, update @procore/labs-financials-utils to version 3.0.1
133
+ - 18e07576ea: add select all/deselect all ssrm functionality
134
+
135
+ ## 10.2.0
136
+
137
+ ### Minor Changes
138
+
139
+ - 4b1f2c18a6: Enable pseudo editors to display by default for editable fields
140
+ - 3f8346b9ad: fix: allow getStringFormattedValue to support empty string
141
+ - f196b51f9e: add the onServerSideRequest to a ref to make possible to update the API call when necessary
142
+
143
+ ### Patch Changes
144
+
145
+ - 1d6f620737: enable dynamic row height
146
+
147
+ ## 10.1.1
148
+
149
+ ### Patch Changes
150
+
151
+ - b8cdeb0371: Fix group row footer editing when groupDefaultExpanded is set to -1
152
+
153
+ ## 10.1.0
154
+
155
+ ### Minor Changes
156
+
157
+ - 196b752cd7: recalculate the row actions position when update pinned columns
158
+
159
+ ## 10.0.4
160
+
161
+ ### Patch Changes
162
+
163
+ - 70d35c7f43: header menu options children bugfix
164
+
165
+ ## 10.0.3
166
+
167
+ ### Patch Changes
168
+
169
+ - cd0c18eec3: Set NODE_ENV in package build commands
170
+
171
+ ## 10.0.2
172
+
173
+ ### Patch Changes
174
+
175
+ - 440892fb07: Only include source maps in non-production environments
176
+
177
+ ## 10.0.1
178
+
179
+ ### Patch Changes
180
+
181
+ - 3995e0a7df: do not display Yes/No values when the boolean cell is grouped
182
+
183
+ ## 10.0.0
184
+
185
+ ### Major Changes
186
+
187
+ - ef1d149963: Exporting types and styles used in data table and consuming them
188
+
189
+ The required minimium version of `@procore/core-react` has been bumped to `11.21.0`. This is to accomodate removing `dist/` imports from the package.
190
+
191
+ ## 9.7.0
192
+
193
+ ### Minor Changes
194
+
195
+ - a095a4b1b4: Provide 2 new arguments to onRowDragEnd callback with more context about which rows are affected by drag and drop events
196
+ - c30db9aacd: add support to company (companies multiselect) bulk editor
197
+
198
+ ### Patch Changes
199
+
200
+ - a808422b96: remove need for id for person cell and dont assume user type
201
+
202
+ ## 9.6.5
203
+
204
+ ### Patch Changes
205
+
206
+ - 474008dd2b: add support to people (person multiselect) bulk editor
207
+ - b621388b5b: fix: add formatting to Currency and Percentage cells for consistency across CellEditors
208
+ - 413b200ab1: nested columns should show bulkedit checkbox
209
+ - 5d896cbd4c: add field value to subtotal function
210
+ - 76bf4b0476: bug: DataTable useEffect updated to no longer reset onServerSideDataRequest on every render
211
+ - 0983ed249e: Update font weight and fix invocation of getPersonInitials
212
+
213
+ ## 9.6.4 (2023-07-12)
214
+
215
+ ### Patch Changes
216
+
217
+ - 4eb7ec6b05: Fix checkbox alignment
218
+
219
+ ## 9.6.3 (2023-06-30)
220
+
221
+ ### Patch Changes
222
+
223
+ - 30db2d7ff: adjust nested table size
224
+ - e204cc9dd: Fix PeopleCell to not make type/property assumptions
225
+
226
+ ## 9.6.2 (2023-06-28)
227
+
228
+ ### Patch Changes
229
+
230
+ - e52bed581d: add translations to next quick controls
231
+
232
+ ## 9.6.1 (2023-06-16)
233
+
234
+ ### Patch Changes
235
+
236
+ - d85b38bc54: datatable visual cleanup
237
+ - eaaba4f84b: Correcting the pagination count for the grouped rows with SSRM
238
+
239
+ ## 9.6.0 (2023-06-12)
240
+
241
+ ### Minor Changes
242
+
243
+ - 3d5a5507e6: upgrade SSR mode select all logic and add selectionSSREnabled prop
244
+
245
+ ### Patch Changes (2023-06-09)
246
+
247
+ - 45602a4193: chore: upgrade @procore/globalization-toolkit from v1.16.1 -> v2.0.0
248
+ - aaef9565be: Fix inconsistencies in the rowActions bar
249
+
250
+ ## 9.5.1 (2023-06-02)
251
+
252
+ ### Patch Changes
253
+
254
+ - fdd20d4b55: fix DataTable getRowData for SSRM https://github.com/procore/core/pull/12969
255
+ - 56c5c3107f: The change was made to the types.ts file to add the Context object to the AggregationFunction, in order to grab the parentData details in NestedTables.
256
+ - 3dc6b82db5: Replaced hard coded strings 'Select a column to group' & 'Reset' in QuickControls with translations
257
+
258
+ ## 9.5.0 (2023-05-22)
259
+
260
+ ### Minor Changes
261
+
262
+ - dd9a9b5b38: Update @procore/labs-financials-utils to v3.0.0
263
+ - Add the option to wait for number of rows to render before exporting the table html
264
+ - SS Row Model - Many Requests on initial load
265
+ - 40b2b0fd51: feat: JsonViewer component that limits the circular reference in the JSON.stringify
266
+
267
+ ### Patch Changes
268
+
269
+ - 616ae1837a: Fix: fixes the getColumnDefs issue with exporting error
270
+ - dd2ddc71c9: fix: selected line items count should be accurate
271
+
272
+ ## 9.4.0 (2023-05-05)
273
+
274
+ ### Minor Changes
275
+
276
+ - 78cefa1141: Enable group row editing and validation
277
+ - 0f0f013258: Add clearable to CellEditorParams for PillSelect and Select
278
+
279
+ ## 9.3.1 (2023-04-26)
280
+
281
+ ### Patch Changes
282
+
283
+ - 55beafa1fe: Fix issue where onServerSideDataRequest would not be called when sorting a collapsed group
284
+ - c97b670184: Removes the node engines requirement.
285
+
286
+ ## 9.3.0 (2023-04-21)
287
+
288
+ ### Minor Changes
289
+
290
+ - [UIF-2832] [Data Table] Free Text Field Inputs Unexpected Sizing Behavior ([#12776](https://github.com/procore/core/issues/12776)) ([f5f1c91](https://github.com/procore/core/commit/f5f1c91e31092ad82abcb79d4181bec78ec177b3))
291
+ - add onFirstDataRendered event to the data-table package ([#12772](https://github.com/procore/core/issues/12772)) ([d3acffb](https://github.com/procore/core/commit/d3acffb4bc3d5de9064803b1f2ff876bed4f54be))
292
+ - add tabular cell prop ([#12729](https://github.com/procore/core/issues/12729)) ([127f95e](https://github.com/procore/core/commit/127f95e25bf375a9b7bc1c966fc8ff9e52a9f020))
293
+ - adds serverFilters support to setTableConfiguration ([#12857](https://github.com/procore/core/issues/12857)) ([76accde](https://github.com/procore/core/commit/76accde6c9cd3ec0ec1c6f46a887d9b3384b34cb))
294
+ - allow AG Grid internal props to be overridden ([#12737](https://github.com/procore/core/issues/12737)) ([773a350](https://github.com/procore/core/commit/773a350c7797552610bc17a1c84f2fc8f70dbe13))
295
+ - changed spinner size and location inside a table ([#12851](https://github.com/procore/core/issues/12851)) ([489e64b](https://github.com/procore/core/commit/489e64be56b93157f07cb8e72d3abdbef1ff9330))
296
+ - **labs-data-table:** added the \`suppressExpandGroupsButton\` prop ([43c79b7](https://github.com/procore/core/commit/43c79b787c88a04989eaf0d0f904b4ca516c9519))
297
+ - rework nested table row selection ([#12730](https://github.com/procore/core/issues/12730)) ([f01ef05](https://github.com/procore/core/commit/f01ef059d646f7cde34fba404ef9c89b4d19b210))
298
+ - 35bafeeefd: Version bumps
299
+
300
+ ### Patch Changes
301
+
302
+ - [UIF-3285] set group footer height to 24px ([#12774](https://github.com/procore/core/issues/12774)) ([814c1cd](https://github.com/procore/core/commit/814c1cde693adb79f0201b46b74efde44f10029f))
303
+ - [UIF-3427] Fix BulkEdit test is running more 90sec on CI ([#12781](https://github.com/procore/core/issues/12781)) ([6369446](https://github.com/procore/core/commit/6369446c369101092fe977de2a0f7cd2467162a8))
304
+ - [UIF-3478] Nested grid opening animation flickering ([#12852](https://github.com/procore/core/issues/12852)) ([277dbf5](https://github.com/procore/core/commit/277dbf5b442a4e3cbb61b36bea9c87f4c53248c4))
305
+ - fix currency cell alignment ([#12770](https://github.com/procore/core/issues/12770)) ([403f6df](https://github.com/procore/core/commit/403f6dfdb4232400cd7e9afd12e83e6e7193f712))
306
+ - fix issue with search empty state on Server Side Row Models ([#12785](https://github.com/procore/core/issues/12785)) ([6e448f6](https://github.com/procore/core/commit/6e448f64147a068ad1656d4e73e769585c9846fb))
307
+ - make ContextPanel Footer match Guidelines ([#12779](https://github.com/procore/core/issues/12779)) ([23e3702](https://github.com/procore/core/commit/23e3702c2e9e1424a6dda3e8d0e330b5ac8dceae))
308
+ - Updated dependencies
309
+ - Data Table - update @procore/labs-financials-utils to v2.2.3 ([#12858](https://github.com/procore/core/issues/12858)) ([e9be1b6](https://github.com/procore/core/commit/e9be1b60cdb5f65514ffadbf97fec9037219b6f8))
310
+
311
+ ## [9.2.0](https://github.com/procore/core/compare/@procore/labs-data-table@9.1.0...@procore/labs-data-table@9.2.0) (2023-03-31)
312
+
313
+ ### Bug Fixes
314
+
315
+ - fix: Bug Fix For Grouped Callback (#12722)
316
+
317
+ ### Features
318
+
319
+ - UIF-2966 Introduce Quick Filters (#12726)
320
+ - UIF-3563 Location Quick Filter (#12735)
321
+ - UIF-3564 Date Quick Filter (#12728)
322
+ - exposes ag grid applyServerSideTransaction (#12724)
323
+
324
+ ## [9.1.0](https://github.com/procore/core/compare/@procore/labs-data-table@9.0.0...@procore/labs-data-table@9.1.0) (2023-03-27)
325
+
326
+ ### Bug Fixes
327
+
328
+ - bug where search disabled incorrectly (#12662)
329
+ - fixes bug when applying initial table state for grouepd and visible columns (#12687)
330
+
331
+ ### Features
332
+
333
+ - Add OnClear Prop to Select Cells (#12661)
334
+
335
+ ## [9.0.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.10.0...@procore/labs-data-table@9.0.0) (2023-03-16)
336
+
337
+ - DataTable v9, upgrade to ag-grid v29 (#12056)
338
+
339
+ ### General Breaking Changes
340
+
341
+ - Updated minimum version of core-react to `11.11.0`
342
+ - Updated minimum version of core-icons to `11.1.4`
343
+ - `refreshServerSideStore` TableApi method renamed to `refreshServerSide`
344
+ - `getRowId` on the top-level `DataTable` component has new params with more information. Now expects a return value of `string` instead of `string | number`
345
+ Old: `getRowId: (data: any) => string | number`
346
+ New: `getRowId: (params: { api: GridApi, columnApi: ColumnApi, data: any, level: number }) => string`
347
+ - _Removed_ `getRowNodeId` prop to `DataTable.Table`. Please pass `getRowId` to the top-level `DataTable` component
348
+ - This change unifies two separate methods for getting row IDs
349
+ - _Removed_ the deprecated Column Definition key `filterParams`, please use `filterProps`
350
+ - _Removed_ `rowChangeDetectionStrategy` and `immutableData` props have been removed by ag-grid. To use immutable data, use the `getRowId` callback to automatically enable immutable data
351
+
352
+ ### Deprecations
353
+
354
+ - Column definition key `initialIsPinned` is now deprecated. Please use `pinned` instead. The types and usage remain the same. This will better align column definition keys with the `TableConfig` object
355
+
356
+ ## [8.10.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.9.0...@procore/labs-data-table@8.10.0) (2023-03-15)
357
+
358
+ ### Bug Fixes
359
+
360
+ - hide horizontal scrollbar on chrome bug (#12617)
361
+ - revert change to how spinner vs table is rendered when loading (#12621)
362
+ - "Total" Text in Data Table Footer Font Size (#12647)
363
+
364
+ ### Features
365
+
366
+ - implement DateTimeCellRenderer for data-table component (#12615)
367
+
368
+ ## [8.9.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.8.0...@procore/labs-data-table@8.9.0) (2023-03-07)
369
+
370
+ ### Bug Fixes
371
+
372
+ - column group columns selection and grouping fix (#12564)
373
+ - fix col header reorder icon (#12580)
374
+ - fix expanded master node border (#12562)
375
+ - row selection bugfix (#12565)
376
+ - fix pagination placement, server side filterings, stories (#12609)
377
+
378
+ ### Features
379
+
380
+ - add company bulk editor (#12296)
381
+ - add expanded property to serialized row nodes (#12577)
382
+
383
+ ## [8.8.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.7.0...@procore/labs-data-table@8.8.0) (2023-02-27)
384
+
385
+ ### Bug Fixes
386
+
387
+ - UIF-3282 Fix Dependent Editable Columns example/code (#12495)
388
+ - fix grand total cell not displaying with row actions (#12436)
389
+ - fix nested checkbox selection (#12371)
390
+ - Header checkbox selection when some rows are not selectable (#12508)
391
+
392
+ ### Features
393
+
394
+ - add disabled state and tooltip to table controls (#12357)
395
+ - add person select bulk editor (#12291)
396
+ - adds groupRowAggNodes and maintainColumnOrder (#12392)
397
+ - Number Filters, `DataTable.NextFiltersPanel` and `DataTable.NextQuickFilters` (#12344)
398
+
399
+ ### Internal
400
+
401
+ - `UNSAFE_useTableContext` (#12388)
402
+
403
+ ## [8.7.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.6.0...@procore/labs-data-table@8.7.0) (2023-02-10)
404
+
405
+ ### Bug Fixes
406
+
407
+ - allow empty string values in cells (#12298)
408
+
409
+ ### Features
410
+
411
+ - Make the inline cell editor responsive (#12091)
412
+
413
+ ## [8.6.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.5.0...@procore/labs-data-table@8.6.0) (2023-01-27)
414
+
415
+ ### Bug Fixes
416
+
417
+ - ssrm column height fix hide (#12244)
418
+ - checkboxes move when the grouped column is resized (#12256)
419
+ - filters should persist when data loaded is async (#12251)
420
+ - move box shadow to the containers instead of the rows (#12253)
421
+ - support custom fielsets in updated column definitions (#12197)
422
+
423
+ ### Features
424
+
425
+ - add group empty state (#12221)
426
+ - add radio select bulk editor (#12210)
427
+ - add style prop to Bulk Actions and Quick Controls bar (#12159)
428
+ - expose onRowSelected event (#12230)
429
+ - adds serverFilters to getTableConfiguration response (#12300)
430
+
431
+ ## [8.5.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.4.0...@procore/labs-data-table@8.5.0) (2022-1-13)
432
+
433
+ ### Bug Fixes
434
+
435
+ - drag and drop support for rowDrag function (#12068)
436
+ - context panel overflow (#12102)
437
+ - filter panel overlay (#12119)
438
+ - onManualSort custom group field issue (#12038)
439
+ - selected rows count ui indicator (#12120)
440
+ - hideContextPanel not working properly outside the table (#12122)
441
+
442
+ ### Features
443
+
444
+ - IPMF-667 Add checkbox bulk editor (#12058)
445
+ - IPMF-673 Add currency bulk editor (#12126)
446
+ - add aggregation behavior to PillCell (#12099)
447
+ - add borders to column groups (#12061)
448
+ - add datetime bulk editor (#12153)
449
+ - add getColumnDefinitions to TableApi and id to RowNode (#12094)
450
+ - add onSearch to SelectCellEditorParams (#12098)
451
+ - custom header height prop - headerHeight (#12065)
452
+ - data-table search placeholder configurable (#12127)
453
+ - updated license from ag-grid (#12064)
454
+
455
+ ## [8.4.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.3.0...@procore/labs-data-table@8.4.0) (2022-11-28)
456
+
457
+ ### Bug Fixes
458
+
459
+ - Empty state overlay not being closed when state changes from empty to non-empty (#11730)
460
+ - parse date string on the filters panel (#11899)
461
+ - return ag-Grid-AutoColumn column state when grouping a column (#11820)
462
+ - fix the issue with empty tooltips in nested columns (#11942)
463
+ - update onModelUpdated when selectedGroupIndex changes (#11897)
464
+ - Update @procore/labs-financials-utils to v2.1.5
465
+ - fix issue with group column ordering (#11996)
466
+ - fix issue with empty state not rendering on searching in client side row model (#11998)
467
+
468
+ ### Features
469
+
470
+ - implement custom editor fields on the bulk edit panel (#11871)
471
+ - Data Table aria label for bulk edit button (#11818)
472
+ - Add a custom node to column headers (#11993)
473
+ - UIF-2675 SSRM Group Row Selection (#11915)
474
+ - add Bulk Edit label and update side panel header title. add track events for fields (#12012)
475
+ - add getFilteredAndSortedRowNodes to TableApi (#12035)
476
+
477
+ ## [8.3.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.2.0...@procore/labs-data-table@8.3.0) (2022-10-03)
478
+
479
+ ### Features
480
+
481
+ - `isRowOverdue` for overdue red text row style (#11768)
482
+ - `data-qa` tags on Context Panel table settings sections, `data-table-config-panel-section-row-height` and `data-table-config-panel-section-configure-columns` (#11556)
483
+
484
+ ## [8.2.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.1.0...@procore/labs-data-table@8.2.0) (2022-09-15)
485
+
486
+ ### Bug Fixes
487
+
488
+ - Fix bulk edit when changing the editability of a column initial render (#11620)
489
+ - DataTable Panel animation improvement (76b0069)
490
+
491
+ ## [8.1.0](https://github.com/procore/core/compare/@procore/labs-data-table@8.0.1...@procore/labs-data-table@8.1.0) (2022-09-07)
492
+
493
+ ### Bug Fixes
494
+
495
+ - fixing rows rendering issue with changing default row detection strategy to IdentityCheck (#11386)
496
+ - Data Table Text Cell and (feat) Link Cell Line Clamp (#11555)
497
+ - isEmptyValue return false when value is true (#11551)
498
+
499
+ ### Features
500
+
501
+ - PREC-3064 Server-side row selection updates (#10601)
502
+ - PREC-3305 Viewport Scrolling Story and API (#11352)
503
+ - UIF-2350 Support 4 lines in DataTable header cells (#11445)
504
+
505
+ ## [8.0.1](https://github.com/procore/core/compare/@procore/labs-data-table@8.0.0...@procore/labs-data-table@8.0.1) (2022-08-03)
506
+
507
+ - fix: always display header menu option arrow (#11357)
508
+ - fix: translation additions (#11362)
509
+ - fix: Disable empty state renderer on SSRM when the data is grouped (#11307)
510
+ - fix: add tableApi dependency to imperative handle to keep up to date (#11400)
511
+ - fix/feat: DataTable header cell adds tooltip when ellipsis (#11387)
512
+
513
+ ## [8.0.0](https://github.com/procore/core/compare/@procore/labs-data-table@7.5.1...@procore/labs-data-table@8.0.0) (2022-07-19)
514
+
515
+ ### General Breaking Changes
516
+
517
+ - require core-react 11 (#11174)
518
+ - DataTable.Table Props: Removed onBulkEditUpdate from internal Table, pass onBulkEditUpdate to the top-level DataTable component
519
+ We’ve consolidated several ColumnDefinition keys related to filtering, with the goal to unify naming regardless of client side or server side row model:
520
+ - Column Definition: filterType replaced by filterRenderer
521
+ - Column Definition: filterParams replaced by filterProps, this key is used for both client side and server side row models to pass props to the column’s filter
522
+ - Column Definition: serverFilterParams removed, please use filterProps
523
+ - Column Definition: pinnedRowCellRenderer replaced with cellRendererSelector to prepare for future versions of Ag-Grid. Documentation updated, and more info available on the ag-grid docs
524
+ With the above change, the TPinnedRenderer generic has been removed from the ColumnDefinition type, and will no longer need to be passed to typed column definitions
525
+
526
+ ```ts
527
+ // v7
528
+ TextCellColumnDefinition<
529
+ string,
530
+ 'customBottomRowRenderer', // pinned row renderer
531
+ string,
532
+ string
533
+ >
534
+ // v8
535
+ TextCellColumnDefinition<string, string, string>
536
+ ```
537
+
538
+ ### Server Side Row Model Breaking Changes
539
+
540
+ - onServerSideDataRequest request object: colId key removed, use the field key for column identification
541
+ - onServerSideDataRequest request object: filterModel renamed as serverFilters for clarity
542
+
543
+ ### Non breaking
544
+
545
+ - feat: Add es-ES locale (#11064)
546
+ - feat: Add translation for selection counters (#11065)
547
+ - fix: DataTable add translation in date picker filter control (#11086)
548
+ - feat: DataTale add sizeColumnsToFit to TableApi (#11177)
549
+ - feat: Add onSelectAll callback (#11125)
550
+ - feat: menu kebab is always shown (#11216)
551
+ - feat: Add Label to Group By Select (#11217)
552
+ - feat: add a possibility to disable siblings groups row selection (#11128)
553
+ - feat: sort enabled by default in column menu (#11255)
554
+ - feat: Location Filter (#10954)
555
+
556
+ ## [7.5.1](https://github.com/procore/core/compare/@procore/labs-data-table@7.5.0...@procore/labs-data-table@7.5.1) (2022-06-08)
557
+
558
+ - test: fix DataTable tests add awaits to all findBys (#10991)
559
+
560
+ ## [7.5.0](https://github.com/procore/core/compare/@procore/labs-data-table@7.4.0...@procore/labs-data-table@7.5.0) (2022-06-06)
561
+
562
+ - feat: Reset pagination for Search, Sort, and Group on Client side data (#10867)
563
+ - fix: auto-Resize of the columns should happen after rows are rendered (#10801)
564
+
565
+ ## [7.4.1](https://github.com/procore/core/compare/@procore/labs-data-table@7.4.0...@procore/labs-data-table@7.4.1) (2022-05-20)
566
+
567
+ ## [7.4.0](https://github.com/procore/core/compare/@procore/labs-data-table@7.3.0...@procore/labs-data-table@7.4.0) (2022-05-16)
568
+
569
+ ### Features
570
+
571
+ - add FilterProps#index field allowing custom filter positioning ([#10728](https://github.com/procore/core/issues/10728))
572
+ - Add date cell and date editor to the data table component ([#10467](https://github.com/procore/core/issues/10467))
573
+ - bulkEditable on column definition, decouple bulk editor from inline editor ([#10626](https://github.com/procore/core/issues/10626))
574
+ - trigger change events when server filters change and fix clearing filters ([#10735](https://github.com/procore/core/issues/10735))
575
+
576
+ ### Bug Fixes
577
+
578
+ - show user-selected group order in group selector summary ([#10740](https://github.com/procore/core/issues/10740))
579
+
580
+ ## [7.3.0](https://github.com/procore/core/compare/@procore/labs-data-table@7.2.0...@procore/labs-data-table@7.3.0) (2022-05-09)
581
+
582
+ ### Features
583
+
584
+ - Server Side Bulk Edit ([#10481](https://github.com/procore/core/issues/10481))
585
+ - Improve Empty State default and customization, DefaultEmptyStateRenderer ([#10678](https://github.com/procore/core/issues/10678))
586
+ - support custom page size and margin for pdf export and add table header to each page ([10637](https://github.com/procore/core/pull/10637))
587
+ - improve loading experience for infinite scroll pagination ([#10617](https://github.com/procore/core/issues/10617))
588
+ - show validation on non-editable cells ([#10638](https://github.com/procore/core/issues/10638))
589
+
590
+ ### Bug Fixes
591
+
592
+ - reset pagination on sort, filter, search to avoid page overflow ([#10480](https://github.com/procore/core/issues/10480))
593
+ - Table header text should be truncated ([#10635](https://github.com/procore/core/issues/10635))
594
+ - right aligned headers aligned with text ([#10706](https://github.com/procore/core/issues/10706))
595
+ - row states inline edit styles ([#10713](https://github.com/procore/core/issues/10713))
596
+ - hide header checkbox when row selection not enabled ([#10714](https://github.com/procore/core/issues/10714))
597
+
598
+ ## [7.2.0](https://github.com/procore/core/compare/@procore/labs-data-table@7.1.0...@procore/labs-data-table@7.2.0) (2022-04-25)
599
+
600
+ ### Features
601
+
602
+ - add group/row expansion buttons ([#10414](https://github.com/procore/core/issues/10414))
603
+
604
+ ## [7.1.0](https://github.com/procore/core/compare/@procore/labs-data-table@7.0.1...@procore/labs-data-table@7.1.0) (2022-04-08)
605
+
606
+ ### Features
607
+
608
+ - DataTable using core-react Panel ([#10250](https://github.com/procore/core/issues/10250))
609
+ - Add bulk editor types select, multiSelect, and dateSelect ([#10287](https://github.com/procore/core/issues/10287))
610
+
611
+ ### Bug Fix
612
+
613
+ - EmptyState on Server Side Row Model ([#10273](https://github.com/procore/core/issues/10273))
614
+
615
+ ## [7.0.1](https://github.com/procore/core/compare/@procore/labs-data-table@7.0.0...@procore/labs-data-table@7.0.1) (2022-03-30)
616
+
617
+ ### Bug Fix
618
+
619
+ - correct DataTable to use non-broken core react peer dep ([#10336](https://github.com/procore/core/issues/10336))
620
+
621
+ # [7.0.0](https://github.com/procore/core/compare/v10.25.0...@procore/labs-data-table@7.0.0) (2022-03-28)
622
+
623
+ ### Features
624
+
625
+ - **Breaking:** Updated `@procore/core-react` and `@procore/core-icons` peer dep to `^10.27.0`
626
+ - feat: Updated major version of ag-grid to v26
627
+ - Deprecated `pinnedRowCellRenderer`, use `cellRendererSelector` instead
628
+ - Standardize approach to 0 as a value in cell renderers ([#10199](https://github.com/procore/core/pull/10199))
629
+ - Add placeholder prop to data-table multiselect filters ([#10242](https://github.com/procore/core/pull/10242))
630
+
631
+ ### Bugfix
632
+
633
+ - LineNumbers story sub-groups total should display value ([#10206](https://github.com/procore/core/pull/10206))
634
+
635
+ ## 6.12.1
636
+
637
+ ### Bugfix
638
+
639
+ - fix: Applies internal classes to nested tables
640
+
641
+ ## 6.12.0
642
+
643
+ ### Enhancements
644
+
645
+ - Date Filter opens to display same month as previous selection
646
+
647
+ ### Internal
648
+
649
+ - Dev dependency on `core-react` updated to latest version
650
+
651
+ ## 6.11.1
652
+
653
+ ### Enhancements
654
+
655
+ - Exposes `rowSize` constant
656
+
657
+ ### Bugfix
658
+
659
+ - Reduces padding around nested tables according to DST
660
+ - Fixes `PillCellRenderer` to not render empty pill when `value` is empty
661
+
662
+ ## 6.11.0
663
+
664
+ ### Enhancements
665
+
666
+ - Adds _optional_ prop `suppressColumnVirtualisation` to disable column virtualization. Defaults to `true`.
667
+ - Pins rows actions column, if present, to the right if `suppressColumnVirtualisation` is `false`.
668
+ - Adds _optional_ prop `rowDragManaged`. Defaults to `true`. More details [here](https://www.ag-grid.com/javascript-data-grid/row-dragging/#managed-dragging).
669
+ - Adds _optional_ prop `rowBuffer` to manage virtualized rows buffer.
670
+ - Performance updates.
671
+ - Splits _column definitions_ stories into multiple files.
672
+
673
+ ### Bugfix
674
+
675
+ - Fixes column group rendering issue.
676
+ - currency cell: Fixes empty input.
677
+ - number cell: Fixes empty and alpha input.
678
+
679
+ ## 6.10.0
680
+
681
+ ### Enhancements
682
+
683
+ - feat: Replaces default data table header with a generic header component that allows for future extensibility
684
+
685
+ ## 6.9.2
686
+
687
+ ### Bug Fixes
688
+
689
+ - `NumberCell` and `TextCell` placeholder shouldn't be displayed if it's a group cell
690
+
691
+ ## 6.9.1
692
+
693
+ ### Bug Fixes
694
+
695
+ - Show empty cell inputs when cell value is invalid. Show select arrow when cell value is invalid
696
+
697
+ ## 6.9.0
698
+
699
+ ### Enhancements
700
+
701
+ - Added `errorMessage` and `isRequired` props to `valueValidator`
702
+
703
+ ## 6.8.2
704
+
705
+ ### Improvement
706
+
707
+ - Updating @procore/labs-group-by-select dependency version to the latest
708
+
709
+ ## 6.8.1
710
+
711
+ ### Bug Fixes
712
+
713
+ - Various minor bug fixes and UX tweaks to Date Filter
714
+ - Now recommend `10.21.0` or greater of `@procore/core-react` when using date filters for DateInput improvements
715
+
716
+ ### Internal
717
+
718
+ - Full test suite for `DateFilter` component
719
+ - Refactor of Date Filter internals for clarity
720
+
721
+ ## 6.8.0
722
+
723
+ ### Enhancements
724
+
725
+ - Recalculates totals when the row model updates (rows, filters, or search change)
726
+
727
+ ## 6.7.4
728
+
729
+ ### Bug Fixes
730
+
731
+ - Group row adjusted to fix bug that can cause row actions to break to a new line.
732
+
733
+ ## 6.7.3
734
+
735
+ ### Bug Fixes
736
+
737
+ - Fixes bug when under some circumstances, if column definitions are changed, the row actions column would get lost.
738
+
739
+ ## 6.7.2
740
+
741
+ ### Bug Fixes
742
+
743
+ - Placeholder for empty editable cells should not be shown for groups
744
+
745
+ ## 6.7.1
746
+
747
+ ### Bug Fixes
748
+
749
+ - Fixes bug when grouping adds an extra empty column to column definitions
750
+ - Showing hidden column renders it according to its position in column definitions
751
+
752
+ ## 6.7.0
753
+
754
+ ### Enhancements
755
+
756
+ - Adds date filtering to the serverside row model filtering types
757
+ - Adds `timeZone` column definition key in new `DateTimeColumnDefinition` type
758
+ - Recommend `10.20.1-rc.19` or greater of `@procore/core-react` when using date filters for various improvements
759
+
760
+ ## 6.6.6
761
+
762
+ ### Revert
763
+
764
+ - add `filterType` back to transformer. a valid way to enable filtering
765
+ - avoid mismatch `filterRenderer: 'list'`. from reading existing localStorage key: value to transforming it to the new key but old value
766
+
767
+ ## 6.6.5
768
+
769
+ ### Bug Fixes
770
+
771
+ - Fix issue with pagination not working for Server-Side Row Model (using `onServerSideDataRequest`)
772
+
773
+ ## 6.6.4
774
+
775
+ ### Bug Fixes
776
+
777
+ - Allow passing className and style props to Panel components
778
+ - Fix spacing for Panels in stories
779
+
780
+ ## 6.6.3
781
+
782
+ - Fixes a type error for Timeout: TS2322: Type 'Timeout' is not assignable to type 'number'
783
+
784
+ ## 6.6.2
785
+
786
+ ### Bug Fixes
787
+
788
+ - Add placeholder for table editable cells
789
+
790
+ ## 6.6.1
791
+
792
+ ### Improvement
793
+
794
+ - Changes `sum` aggregration function to use cached `for-loop` for performance improvements over `reduce`.
795
+
796
+ ## 6.6.0
797
+
798
+ ### Enhancements
799
+
800
+ - New `customFilters` prop on DataTable
801
+ ```
802
+ <DataTable
803
+ customFilters={[{
804
+ component: React.FunctionComponent;
805
+ name: string;
806
+ }]}
807
+ ```
808
+ - New `getFilterTokenText` and `getFilterHeadingText` as filter parameters
809
+ - Standardizes the filter values as being expected to be based on the `SetFilter` from `ag-grid`, which defaults all filter values to arrays
810
+
811
+ ### Deprecations
812
+
813
+ - Deprecates `filterType` in favor of `filterRenderer` to avoid having naming duplications between `DataTable` and `ag-grid`
814
+ - Removes the rendering of children in the filters panel
815
+ - Removes the default ordering of the server-side filters to match parity with the client-side filters which are based of off `ag-grid's` provided filter functionality.
816
+ - Use `filterProps` instead of `serverFilterParams` & `filterParams`
817
+
818
+ ## 6.5.3
819
+
820
+ ### Bug Fixes
821
+
822
+ - Resolve issue with configuration panel not persisting on column show/hide
823
+
824
+ ## 6.5.2
825
+
826
+ ### Bug Fixes
827
+
828
+ - Fix `GroupCell` indentation styling
829
+
830
+ ## 6.5.1
831
+
832
+ ### Bug Fixes
833
+
834
+ - Resolve issue causing duplication of row actions
835
+
836
+ ## 6.5.0
837
+
838
+ ### Enhancements
839
+
840
+ - Add options to the `refreshCells` api function
841
+
842
+ ## 6.4.0
843
+
844
+ ### Enhancements
845
+
846
+ - Add selectAll and deselectAll api
847
+
848
+ ## 6.3.1
849
+
850
+ ### Bug Fixes
851
+
852
+ - Resolve issue with DataTable not applying filters from initialTableConfig
853
+
854
+ ## 6.3.0
855
+
856
+ ### Enhancements
857
+
858
+ - Add a custom renderer for auto group columns, which passes node properties to the inner renderer
859
+ - Adjust styling of checkboxes in group/grouped rows to be after the caret and be indented
860
+ - Add indentation indicators to grouped rows and adjusted subtotal row styling
861
+ - Add automatic suppression of row click selection whenever table row selection is enabled
862
+
863
+ ## 6.2.4
864
+
865
+ ### Bug Fixes
866
+
867
+ - Fix issue with text overlap between columns for editable cells with row selection enabled
868
+
869
+ ## 6.2.3
870
+
871
+ ### Enhancements
872
+
873
+ - Expose `lockPinned` which allows pinned column to be locked in place
874
+
875
+ ## 6.2.2
876
+
877
+ ### Enhancements
878
+
879
+ - Resolve issue causing incorrect column ordering when updating column definitions
880
+ - Add useMemo to propagate dynamic updates to columnDefinitions
881
+
882
+ ## 6.2.1
883
+
884
+ ### Enhancements
885
+
886
+ - Replace Config and Filter Buttons with ToggleButtons
887
+
888
+ ## 6.2.0
889
+
890
+ ### Enhancements
891
+
892
+ - Add getColor to PillSelect cellEditorParams
893
+
894
+ ## 6.1.8
895
+
896
+ ### Bug Fixes
897
+
898
+ - Remove console log
899
+
900
+ ## 6.1.7
901
+
902
+ ### Bug Fixes
903
+
904
+ - Resolve issue with filters options not updating when row data changes or updates
905
+
906
+ ## 6.1.6
907
+
908
+ ### Enhancements
909
+
910
+ - Changed cell font size to 12
911
+
912
+ ## 6.1.5
913
+
914
+ ### Bug Fixes
915
+
916
+ - Fix GranularRequired utility is messing up generic types for column definitions
917
+
918
+ ## 6.1.4
919
+
920
+ ### Bug Fix
921
+
922
+ - Fix issue with server side row model where multiple rerenders were causing `onServerSideDataRequest` to be fired multiple times on initial render
923
+
924
+ ## 6.1.3
925
+
926
+ ### Bug Fix
927
+
928
+ - Fix box shadow on grouped and pinned columns so it does not render over the nested table
929
+
930
+ ## 6.1.2
931
+
932
+ ### Bug Fix
933
+
934
+ - Fix `expandAll` and `collapseAll` to work for rows containing nested tables, not just standard group rows
935
+
936
+ ## 6.1.1
937
+
938
+ ### Bug Fix
939
+
940
+ - Fix vertical divider in grouped table
941
+
942
+ ## 6.1.0
943
+
944
+ ### Enhancements
945
+
946
+ - Adds `columnGroupShow` on nested column definitions to allow expanding and collapsing of group columns
947
+ - Adds `marryChildren` on column definitions to prevent columns to be dragged within other groups
948
+ - Adds group columns expanded state to the `DataTable.initialTableConfig` prop and to the `getTableConfiguration` and `setTableConfiguration` functions in the Table API.
949
+
950
+ ## 6.0.1
951
+
952
+ ### Bug Fixes
953
+
954
+ - Set semibold font-weight for all cells in grouped rows
955
+
956
+ ## 6.0.0
957
+
958
+ ### Breaking Change
959
+
960
+ - Upgrades peer dependency on `@procore/core-react` to `v10.18.0` or higher
961
+ - Removes `forwardRef` from top-level `DataTable` component. Instead of passing a ref to `DataTable` to get the `tableApi`, please use the `onTableReady` callback
962
+ - Disables the `import/no-cycle` rule in ESLint and fixes the appropriate files to remove the individual `next-line` disablers
963
+
964
+ ## 5.2.4
965
+
966
+ ### Enhancements
967
+
968
+ - Use Avatar Stack component for People cell
969
+
970
+ ## 5.2.3
971
+
972
+ ### Bug Fix
973
+
974
+ - Add TextCell ellipsis and text wrap
975
+ - Add a separator for name and company text in a small single view (PeopleCell)
976
+
977
+ ## 5.2.2
978
+
979
+ ### Bug Fixes
980
+
981
+ - Fix bug where columnState would be null when `tableApi.getTableConfiguration()` was called in the `onTableReady` callback.
982
+
983
+ ## 5.2.1
984
+
985
+ ### Enhancements
986
+
987
+ - Do not autosize columns with with or flex key set
988
+
989
+ ## 5.2.0
990
+
991
+ ### Enhancements
992
+
993
+ - Adds `customFooters` to `TableProps` to allow adding custom footer rows while preserving default aggregation behavior
994
+ - Adds `customFooters` attribute to `DetailRowConfig`
995
+ - Adds `refreshStrategy` attribute to `DetailRowConfig` to allow configuration of the detail grid refresh strategy
996
+ - Adds `parentId` and `parentData` to `DataTableCellRendererProps` to provide information about parent rows to nested tables
997
+ - Adds `getDetailGridTableApi` to `TableApi` to provide a partial `TableApi` for each detail grid
998
+
999
+ ## 5.1.3
1000
+
1001
+ ### Bug Fixes
1002
+
1003
+ - Fix the actions should remain visible when the hovering over the menu items.
1004
+
1005
+ ## 5.1.2
1006
+
1007
+ ### Enhancements
1008
+
1009
+ - Allow single-click to start editing cell
1010
+
1011
+ ## 5.1.1
1012
+
1013
+ ### Bug Fixes
1014
+
1015
+ - Add company name for list of people (PeopleCell)
1016
+ - Fix person name shown when no getCompanyName cellRendererParam provided (PeopleCell)
1017
+
1018
+ ## 5.1.0
1019
+
1020
+ ### Enhancements
1021
+
1022
+ - Introduces `updateServerSideDataSource` on the `InternalTableContext` in order to create a unified update function for server-side data.
1023
+ - Moves `onChangeFilterValue` into the `filterStorage` object and creates a new property called `filtersState` which hold the state objects that live within the `filterStorage` state.
1024
+ - Removes individual filter functions such as `onClearFilter` and `onChangeSelectedFilter` from the `filterStorage` object.
1025
+
1026
+ ## 5.0.0
1027
+
1028
+ ### Breaking Changes
1029
+
1030
+ - `onServerSideDataRequest` prop can only be passed to `DataTable`, removed from `DataTable.Table`
1031
+ - Move `columnDefinitions` prop from `DataTable.Table` to `DataTable`
1032
+ - Fix typo in `tableApi.getRootAggegrateData`, renamed to `tableApi.getRootAggregateData`
1033
+ - The `children` key has been removed from the `ColumnDefinition` type. When using nested columns, use the `NestedColumn` type for the nested column definitions
1034
+
1035
+ ### Enhancements
1036
+
1037
+ - Upgrade ag-grid from v25.1.0 -> v25.3.0
1038
+ - For a list of changes, see: https://www.ag-grid.com/ag-grid-changelog/
1039
+
1040
+ ### Internal Enhancements
1041
+
1042
+ - Prevent ag-grid-enterprise from being hoisted in the monorepo. It depends on ag-grid-community internally so the two packages must be colocated.
1043
+ - Internal rework of several systems:
1044
+ - Store column definitions in a ref in InternalTableContext, for performance reasons
1045
+ - Listen to onDisplayedColumnsChanged event in row grouping, table config for updates
1046
+ - Call setServerSideDataSource in onGridReady instead of as prop to AgGridReact
1047
+ - Refactor serverSideFilters, serverSideSearch tests (to get passing, also following RTL best practices)
1048
+ - Merge `columnDefinitions` with `initialTableConfig` so that Table renders with initial config applied
1049
+ - Remove several callbacks passed to ag-grid like `onModelUpdated`, `onNewColumnsLoaded`, etc reducing rerenders
1050
+ - No longer pass `columnDefinitions` to ag-grid directly, use api to set in DataTable provider level.
1051
+ - Small conditional update if row actions are present
1052
+
1053
+ ### Fixes
1054
+
1055
+ - Properly filter out `rowActions` and columns that are `lockVisible` and `hidden` from appearing in the Table Configuration Panel
1056
+
1057
+ ## 4.0.3
1058
+
1059
+ ### Bug Fix
1060
+
1061
+ - Name in People cell should be centered when there is no company
1062
+
1063
+ ## 4.0.2
1064
+
1065
+ ### Bug Fix
1066
+
1067
+ - Fix padding for editable-cell
1068
+
1069
+ ## 4.0.1
1070
+
1071
+ ### Bug Fix
1072
+
1073
+ - Add second line and truncation to Company cell
1074
+
1075
+ ## 4.0.0
1076
+
1077
+ ### Breaking Changes
1078
+
1079
+ - Removes `Filters` from the base ContextPanel component, use new `DataTable.FiltersPanel` component
1080
+ - Renames `data-qa-context-panel-filters` to `data-qa-filters-context-panel`
1081
+
1082
+ ## 3.26.0
1083
+
1084
+ ### Enhancement
1085
+
1086
+ - Extends optional prop `rowSelectionEnabled` to be a function. It is used to determine if a row is selectable or not.
1087
+
1088
+ ## 3.25.1
1089
+
1090
+ ### Bug Fix
1091
+
1092
+ - Added drop shadow to pinned columns
1093
+
1094
+ ## 3.25.0
1095
+
1096
+ ### Enhancements
1097
+
1098
+ - Enable the rendering of children components at the top of the `Filters` and `ServerSideFilters` components
1099
+ - Fixes a bug where the aggregation footer is showing up when there is no aggregation configured
1100
+
1101
+ ## 3.24.0
1102
+
1103
+ ### Enhancements
1104
+
1105
+ - Added `isRowActive` prop on `DataTable.Table`
1106
+ - Uses [row class rules](https://www.ag-grid.com/react-data-grid/row-styles/#row-class-rules) to set `ag-grid--dt-active` css class.
1107
+
1108
+ ## 3.23.0
1109
+
1110
+ ### Enhancements
1111
+
1112
+ - Added `childIndex`, `footer`, and `parent` properties to the node property passed to valueGetter functions
1113
+ - Added a `refreshCells` function to the table api, so the value getters can be optionally recomputed after a sorting change.
1114
+
1115
+ ## 3.22.1
1116
+
1117
+ ### Bug Fix
1118
+
1119
+ - fix for rightAligned cell
1120
+
1121
+ ## 3.22.0
1122
+
1123
+ ### Enhancements
1124
+
1125
+ - Update `DataTable.BulkActions` to accept custom actions.
1126
+ - Renders `children`, if present, defaults to `BulkEditActionButton` if no children are passed in.
1127
+ - Adds optional props `showAlways` - defaults to `false`.
1128
+ - `showAlways` -- Does not the hide bulk actions bar even when the row selection is empty.
1129
+ - Adds `BulkEditActionButton` as a sub component.
1130
+ - Adds a new export `useRowSelectionState` hook
1131
+ - Returns the list of selected row nodes - `RowNode[]`.
1132
+
1133
+ ## 3.21.2
1134
+
1135
+ ### Enhancements
1136
+
1137
+ - Added `field` to the list of props passed into custom component renderers.
1138
+ - Debounced on `onColumnResized` to prevent numerous calls to `onTableConfigChange`.
1139
+
1140
+ ### Bug fix
1141
+
1142
+ - Fixed the analytics property for `design_system.data_table.column.grouped` to pass the colId's and not [object Object]
1143
+
1144
+ ## 3.21.1
1145
+
1146
+ - Update `TableApi` type with `expandAll, collapseAll, setRowNodeExpanded` methods
1147
+
1148
+ ## 3.21.0
1149
+
1150
+ - Add `expandAll, collapseAll, setRowNodeExpanded` methods from GridAPI to TableApi.
1151
+
1152
+ ## 3.20.0
1153
+
1154
+ - Upgrade `financials-utils` to `v2.0.1`
1155
+
1156
+ ## 3.19.0
1157
+
1158
+ - Exposed the `getSelectedRows` function from AgGridReact on the TableApi util
1159
+ - Added a `rowSelectionEnabled` prop to the `DataTable.Table` component to enable row selection without the `DataTable.BulkActions` component from being required.
1160
+
1161
+ ## 3.17.0
1162
+
1163
+ ### Enhancements
1164
+
1165
+ - Added optional `excelDataTypeFormats` prop on `DataTable.Table` with matching typing as expected in AgGridReact.
1166
+ - Added optional `cellExcelDataType` prop to `ColumnDefinition` type for excel data type mapping.
1167
+
1168
+ ## 3.16.1
1169
+
1170
+ ### Bug fix
1171
+
1172
+ - Fixed issue where nested child fields were not using the correct column definition type
1173
+
1174
+ ## 3.16.0
1175
+
1176
+ ### Enhancements
1177
+
1178
+ - Added `groupIncludeFooter` as an optional prop to the DataTable.Table. This allows users to include or exclude subtotal rows inside groups. The default value is true.
1179
+
1180
+ ## 3.15.0
1181
+
1182
+ ### Enhancements
1183
+
1184
+ - Added `preserveColumnWidths` as an optional property in the `HTMLStringExportConfig` that is passed into `exportToHTMLString()`. This allows users to preserve the set column widths when exporting the table to HTML.
1185
+ - Added the `groupDefaultExpanded` as an optional prop to the DataTable.Table. This allows users to render the table with groups expanded by default.
1186
+
1187
+ ### Bug Fixes
1188
+
1189
+ - Fixed issue that caused rows to have a height of 0 in exported HTML when the parent DOM node had a `display: none` style applied to it.
1190
+ - Fixed issue that caused the internal HTML string generation code to be called multiple times when the `exportToHTMLString()` tableApi function was only called once.
1191
+
1192
+ ## 3.14.0
1193
+
1194
+ ### Enhancements
1195
+
1196
+ - `rows` prop on `DataTable.Table` no longer required, as it isn't necessary for server side implementations
1197
+ - Documentation restructure to split docs into client side and server side
1198
+
1199
+ ## 3.13.1
1200
+
1201
+ ### Bug fix
1202
+
1203
+ - `Group By` column menu option is suppressed unless `enableRowGroup` is true on the column definition
1204
+
1205
+ ## 3.13.0
1206
+
1207
+ ### Enhancements
1208
+
1209
+ - Added support for server side search. `searchValue` added to `onServerSideDataRequest` `request` object
1210
+ - The `Search` component will automatically switch to server side search if `onServerSideDataRequest` is present
1211
+ - Extended Server Side Filtering stories and demo server to support search
1212
+
1213
+ ### Bug Fixes
1214
+
1215
+ - Changed DataTable test command to use `--runInBand` flag, fixing non-deterministic errors
1216
+
1217
+ ## 3.12.0
1218
+
1219
+ ### Enhancements
1220
+
1221
+ - Added `skipFooters`, `skipGroups`, `skipPinnedBottom` and `skipPinnedTop` as optional properties in the `CSVExportConfig` that is passed into `exportToCSV()`. This gives users more control over the exported CSV file.
1222
+ - Added `sheetName` as an optional property in the `ExcelExportConfig` that is passed into `exportToExcel()`. This enables users to specify the worksheet name in the exported Excel workbook.
1223
+
1224
+ ### Bug Fixes
1225
+
1226
+ - Fixed issue that prevented `cellCSVFormatter` and `cellExcelFormatter` from being called on columns that are children of other columns (Column Groups).
1227
+
1228
+ ## 3.11.0
1229
+
1230
+ ### Enhancements
1231
+
1232
+ - Server side filtering by ID. Requires `onServerSideDataRequest` on `DataTable` level to enable.
1233
+ - Add data-qa tags
1234
+ - `data-table-context-panel`
1235
+ - `data-table-quick-controls`
1236
+ - Add data-qa tags and `ul` `li` for server side filtering UI components
1237
+ - `data-table-context-panel-filters`
1238
+ - `data-table-remove-all-filters` 1 `button`
1239
+ - `data-table-possible-filters-list` 1 `ol`
1240
+ - `data-table-filter-input-${field}` n `MultiSelect`
1241
+ - `data-table-selected-filters-list` 1 `ol`
1242
+ - `data-table-quick-filter-remove-token` n `Token.Icon`
1243
+ - `data-table-show-filters-button` 1 `button`
1244
+ - Add generics to `ColumnDefinition` and object based cell definitions for server side filtering
1245
+
1246
+ ## 3.10.1
1247
+
1248
+ - Restore `lockPosition:true` on `autoGroupColDef` by default which was accidentally removed in earlier release.
1249
+
1250
+ ## 3.10.0
1251
+
1252
+ ### Enhancements
1253
+
1254
+ - Added a flag `hideActionsOnGroupedRow` to hide rowActions on grouped Row
1255
+ - Added applyTransaction, setPinnedBottomRowData methods of gridAPI to tableApi
1256
+ to enable users to add pinned rows and perform row actions like add, delete etc.
1257
+ - Adding `getRootAggregateData` to tableApi to fetch aggregate data.
1258
+ - Add `rowIndex` to DataTableCellProps to enable user to get current rowIndex.
1259
+ - Enable user to pass `autoGroupColumnDefinition` to enable the user to decide the structure of grouped row.
1260
+ - Enable user to pass `pinnedBottomRowData` to enable the user to set a custom pinned row.
1261
+ - Pass `rowIndex` and `api` to the onCellChangeEvent to make updates to the data of other cells
1262
+
1263
+ ## 3.9.0
1264
+
1265
+ ### Enhancements
1266
+
1267
+ - Added Excel Export support
1268
+
1269
+ ## 3.8.2
1270
+
1271
+ ### Bug Fixes
1272
+
1273
+ - Fixes flaky tests for CurrencyCell
1274
+ - automatically wrap lines that otherwise would be cropped on export
1275
+
1276
+ ## 3.8.1
1277
+
1278
+ ### Bug Fixes
1279
+
1280
+ - Prevents autosizing of columns with a width set in initialTableConfig
1281
+
1282
+ ## 3.8.0
1283
+
1284
+ ### Enhancements
1285
+
1286
+ - Added PDF Export support for multiple tables on the same list
1287
+
1288
+ ## 3.7.0
1289
+
1290
+ ### Enhancements
1291
+
1292
+ - Added `SortModel` type to more accurately type the `request.sortModel` object in `onServerSideDataRequest`
1293
+ - Transform `onServerSideDataRequest` to include `field` in object
1294
+ - Deprecate `colId` from individual `SortModel` objects (use `field` instead)
1295
+ - Added tests and more detailed docs for server side sorting
1296
+
1297
+ ## 3.6.0
1298
+
1299
+ ### Enhancements
1300
+
1301
+ - Added Pagination support for table, can be enabled with `pagination` and `paginationPageSize` props
1302
+ - Added basic test for `onServerSideDataRequest`, as well as infrastructure for future server side tests
1303
+
1304
+ ## 3.5.1
1305
+
1306
+ ### Bug Fixes
1307
+
1308
+ - Fixes bug when header styles were not getting into resulting HTML on first export
1309
+ - Fixes bug when table configuration was not being set on page reload when the data is not loaded yet.
1310
+
1311
+ ## 3.5.0
1312
+
1313
+ ### Enhancements
1314
+
1315
+ - Adds a new `onBulkEditUpdate` prop to `DataTable` which gets called when a bulk edit has been applied
1316
+ - Changes bulk editing to update values using `valueParser` and `valueSetter` functions in column definitions, when set.
1317
+
1318
+ ## 3.4.0
1319
+
1320
+ ### Enhancements
1321
+
1322
+ - DataTable now passes missing `node` param to `valueGetter`.
1323
+
1324
+ ## 3.3.2
1325
+
1326
+ - Accidentally published alpha
1327
+
1328
+ ## 3.3.1
1329
+
1330
+ ### Bug Fixes
1331
+
1332
+ - Moved logic that handles onGroup callback into the AG Grid callback instead of inside the API so it fires regardless of where or how a column gets grouped.
1333
+
1334
+ ## 3.3.0
1335
+
1336
+ ### Enhancements
1337
+
1338
+ - Add `suppressResetColumnsOption` prop to `DataTable.Table` which removes the `Reset Columns` option from the column header dropdown.
1339
+
1340
+ ## 3.2.0
1341
+
1342
+ ### Enhancements
1343
+
1344
+ - Add `suppressRowClickSelection` prop to `DataTable.Table` which enables disabling row selection when clicking anywhere on the row.
1345
+
1346
+ ## 3.1.0
1347
+
1348
+ ### Enhancements
1349
+
1350
+ - Adds valueValidator column definition property and basic validation styling
1351
+ - Adds styling to prevent editable columns from shifting on hover
1352
+
1353
+ ## 3.0.0
1354
+
1355
+ ### Breaking
1356
+
1357
+ - `core-react` and `core-icons` peer deps are now `^10.0.0`
1358
+ - The `tableRef` prop from `DataTableProps` has been renamed to `tableApi`
1359
+ - `DataTableCellRenderer` no longer uses `tableRef` from `cellRendererParams`, and uses the table's internal ref instead
1360
+ - `DataTableCellEditor` no longer uses `tableRef` from `cellRendererParams`, and uses the table's internal ref instead
1361
+ - Removed `editorType` from `ColumnDefinition` type. Set this key on each object in the `CustomCell` prop to `DataTable.Table`
1362
+ - Renamed argument for `aggFunc`, `valueGetter`, `valueParser`, `valueSetter`, `editable` from `colDef` to `columnDefinition`. Runs through transform func, e.g. `columnDefinition.hidden` over `colDef.hide` and limits keys to what it was previously typed to which removes complicated AG Grid internals
1363
+
1364
+ ### Enhancements
1365
+
1366
+ - Updated inputs, buttons, icons from the upgrade to `core-react v10`
1367
+ - `ButtonsCell` and `RowActionsCell` now pass the entirety of `DataTableProps` to the `Button`/`Action`
1368
+ - Updated remaining `Font` usages to use `Typography` instead
1369
+ - Uses internal translations, with option to override by overriding our keys
1370
+ - `QuickControls` can now be assembled from subcomponents. It will behave like normal when no children are passed.
1371
+ - Added `DataTable.ConfigPanelButton`, `DataTable.QuickFilters`, `DataTable.RowGroupSelector`, and `DataTable.Search` subcomponents
1372
+
1373
+ ### Bug Fixes
1374
+
1375
+ - `PercentCell` properly right aligns
1376
+ - Fixed UI bug with row borders by increasing row height
1377
+
1378
+ ## 2.17.5
1379
+
1380
+ ### Bug Fixes
1381
+
1382
+ - Ensure that onTableReady only gets called once
1383
+
1384
+ ## 2.17.4
1385
+
1386
+ ### Bug Fixes
1387
+
1388
+ - Fix update Grand Total when editing dependent columns and using custom aggregation functions
1389
+
1390
+ ## 2.17.3
1391
+
1392
+ ### Enhancements
1393
+
1394
+ - Improved initial rendering performance
1395
+
1396
+ ## 2.17.2
1397
+
1398
+ ### Enhancements
1399
+
1400
+ - Added backward compatibility for the following Ag-Grid properties:
1401
+ - sortable
1402
+ - suppressMenu
1403
+ - suppressMovable
1404
+
1405
+ ## 2.17.1
1406
+
1407
+ ### Bug Fixes
1408
+
1409
+ - Prevent the creation of track events for row height changed when the initial table config is loaded
1410
+
1411
+ ## 2.17.0
1412
+
1413
+ ### Enhancements
1414
+
1415
+ - Locks grouped column position in place.
1416
+ - Adds Group and Ungroup dropdown actions to the column header's main dropdown menu.
1417
+ - Adds popupParent table prop that allows reassigning the parent container of popup context menu when the table is too small or large to prevent clipping. See: https://www.ag-grid.com/javascript-grid/context-menu/#popup-parent
1418
+
1419
+ ## 2.16.0
1420
+
1421
+ ### Enhancements
1422
+
1423
+ - Expose `waitForAsyncCondition` on index as a testing utility for implementors
1424
+
1425
+ ## 2.15.0
1426
+
1427
+ ### Enhancements
1428
+
1429
+ - New `PersonCell` renderer
1430
+ - Select Cell `getOptionLabel`, when select options are a different shape than the value
1431
+ - Allow Company and Person renderers to use Select Cell editor and have the pseudo hover styles
1432
+
1433
+ ## 2.14.0
1434
+
1435
+ ### Enhancements
1436
+
1437
+ - Column definition `getFilterKeyCreator` to allow custom options in filters, primarily for MultiSelect. Options default to `getStringFormattedValue` otherwise.
1438
+
1439
+ ## 2.13.1
1440
+
1441
+ ### Enhancements / Fixes
1442
+
1443
+ - `valueGetter`, `valueSetter`, `valueParser` for both transforms
1444
+ - call `valueGetter` in the DataTable cell getValue parseValue flow
1445
+ - Number cell right aligned class
1446
+
1447
+ ## 2.13.0
1448
+
1449
+ ### Enhancements
1450
+
1451
+ - Adds `setRowData` to `TableApi`
1452
+
1453
+ ## 2.12.0
1454
+
1455
+ ### Enhancements
1456
+
1457
+ - expose Ag-Grid immutability mode
1458
+
1459
+ ## 2.11.0
1460
+
1461
+ ### Enhancements
1462
+
1463
+ - Adds `getRowData` to `TableApi`
1464
+
1465
+ ## 2.10.0
1466
+
1467
+ ### Enhancements
1468
+
1469
+ - Adds `DataTable.BulkActions` child Component, enabling Row Selection and BulkEdit functionality for Client-side data
1470
+ - expose type `filterParams` on column definition
1471
+
1472
+ ## 2.9.4
1473
+
1474
+ ### BugFix
1475
+
1476
+ - Fixes loss of PDF file styles
1477
+
1478
+ ## 2.9.3
1479
+
1480
+ ### Bug Fix
1481
+
1482
+ - Fixes table remounting on every data fetching
1483
+ - Fixes warning complaining about not recognized `filterType` column definition property
1484
+ - Adds data-qa attributes to make table loading state more testing-friendly
1485
+
1486
+ ## 2.9.2
1487
+
1488
+ ### BugFix
1489
+
1490
+ - Fixes browser css breaking, due to PDF export
1491
+
1492
+ ## 2.9.1
1493
+
1494
+ - Accidently published alpha
1495
+
1496
+ ## 2.9.0
1497
+
1498
+ ### Enhancements
1499
+
1500
+ - Feature Yes/No Boolean Cell Renderer, Editor, Number Cell Renderer, Editor, MultiSelect Renderer
1501
+
1502
+ ## 2.8.3
1503
+
1504
+ ### Bug Fix
1505
+
1506
+ - fix: Non Chrome, open select menu on double click
1507
+ - types: Pass more generics around col defs and props
1508
+
1509
+ ## 2.8.2
1510
+
1511
+ ### Bug Fix
1512
+
1513
+ - Fixes misalignment of group row parent cell introduced by agGrid update.
1514
+
1515
+ ## 2.8.1
1516
+
1517
+ ### Bug Fix
1518
+
1519
+ - Fixes column menu overflow when called on right-ish columns.
1520
+ - Additional fix for header misalignment when calling `exportToHTMLString` on horizontally scrolled table (Firefox)
1521
+
1522
+ ## 2.8.0
1523
+
1524
+ ### Enhancements
1525
+
1526
+ - Adds `onTableReady` to `DataTable.Table` which returns the `TableApi` when it's ready to be used
1527
+ - Deprecate ref on `DataTable` in favor of this approach
1528
+ - Updates ag-grid to v25.1.0
1529
+
1530
+ ## 2.7.1
1531
+
1532
+ ### Bug Fix
1533
+
1534
+ - Fixes details row PDF export CSS, so the last line of the data table is not truncated when a detail row is present.
1535
+
1536
+ ## 2.7.0
1537
+
1538
+ ### Enhancements
1539
+
1540
+ - Accepts `rowDataChangeDetectionStrategy` as an optional prop. Fix for [issue](https://github.com/ag-grid/ag-grid/issues/3590).
1541
+
1542
+ ## 2.6.1
1543
+
1544
+ ### Bug Fixes
1545
+
1546
+ - Fixes header misalignment when calling `exportToHTMLString` on horizontally scrolled table
1547
+
1548
+ ## 2.6.0
1549
+
1550
+ ### Enhancements
1551
+
1552
+ - Adds server side row model functionality via `onServerSideDataRequest` prop on `DataTable.Table`
1553
+ - Added `refreshServerSideStore` grid API method onto the TableRef object.
1554
+ - Adds `suppressFieldDotNotation` prop on `DataTable.Table` which allows column key names to support dot notation without assuming it's a deep reference. See: https://www.ag-grid.com/documentation/javascript/grid-properties/
1555
+
1556
+ ## 2.5.1
1557
+
1558
+ ### Enhancements
1559
+
1560
+ - PDF export files maintain sans-serif font. Details table CSS adjustments so table is visible on PDF export.
1561
+
1562
+ ## 2.5.0
1563
+
1564
+ ### Enhancements
1565
+
1566
+ - Styles updated to wrap column-headers to the next row
1567
+
1568
+ ## 2.4.1
1569
+
1570
+ ### Bug Fixes
1571
+
1572
+ - Suppress virtualization on detail rows to enable PDF export
1573
+
1574
+ ## 2.4.0
1575
+
1576
+ ### Enhancements
1577
+
1578
+ - Add `groupCellRenderer` as an alias for `agGroupCellRenderer`
1579
+ - Pass `data` as a second parameter to `getURL()` for `linkCellRenderer`
1580
+
1581
+ ## 2.3.0
1582
+
1583
+ - Small type update for `buttons` key in `ButtonsCell` `cellRendererParams`
1584
+
1585
+ ## 2.2.1
1586
+
1587
+ ### Bug Fixes
1588
+
1589
+ - Move row back to original position when dragged off the table
1590
+
1591
+ ## 2.2.0
1592
+
1593
+ ### Enhancements
1594
+
1595
+ - Implement row dragging
1596
+
1597
+ ## 2.1.1
1598
+
1599
+ ### Bug Fixes
1600
+
1601
+ - Revert change to `@procore/core-scripts` version to fix `Uncaught TypeError: Object(...) is not a function`
1602
+
1603
+ ## 2.1.0
1604
+
1605
+ ### Enhancements
1606
+
1607
+ - Hides the toggle for columns that should remain hidden when `hidden: true` and `lockVisible: true` is applied to the column definition
1608
+ - Adds ability to add or restrict columns to be exported by supplying `columnKeys` to `csvExport`
1609
+
1610
+ ## 2.0.1
1611
+
1612
+ ### Bug Fixes
1613
+
1614
+ - Increase specificity of DataTable styles so that they aren't overwritten by changes in load order
1615
+
1616
+ ## 2.0.0
1617
+
1618
+ ### Enhancement
1619
+
1620
+ - [Breaking] Two keys have been removed from the persisted column configuration
1621
+ - `index` was removed as a key from the `ColumnConfiguration`, used in the `columnState` key on `DataTableConfig`. Column order is now determined by the order within the `columnState` array
1622
+ - The `groups` key was removed from `DataTableConfig`. Tracking grouping has been moved into `columnState`, as `rowGroup` and `rowGroupIndex`
1623
+ - Adds row sorting to saved column configuration
1624
+
1625
+ ## 1.2.0
1626
+
1627
+ ### Enhancements
1628
+
1629
+ - Removes the default `min-height: 150px` for when a `maxHeight` prop is provided
1630
+
1631
+ ### Bug Fixes
1632
+
1633
+ - Hides the grand total row when there is no grand total data
1634
+ - Refactors the `maxHeight` implementation to fix an issue with usage inside of a flex column
1635
+
1636
+ ## 1.1.0
1637
+
1638
+ ### Enhancements
1639
+
1640
+ - Adds `LinkCell` for rendering of Core `Link` components
1641
+
1642
+ ## 1.0.2
1643
+
1644
+ ### Bug Fixes
1645
+
1646
+ - Ensure comparators are passed to agGrid colDef
1647
+
1648
+ ## 1.0.1
1649
+
1650
+ ### Bug Fixes
1651
+
1652
+ - Ensure table config get reinitialized when the user passes in new column definitions
1653
+
1654
+ ## 1.0.0
1655
+
1656
+ - [Breaking] `CurrencyCell` and `PercentCell` no longer auto-parse the input value, must provide `valueParser` to column definition
1657
+ - [Breaking] Removed `ERPStatusCell`, is now an example custom renderer for Procore stories
1658
+ - Transition all cells to use new default renderer/editor
1659
+ - Update exports
1660
+
1661
+ ## 0.38.0
1662
+
1663
+ ### Internal
1664
+
1665
+ - [Breaking] renamed `TableRef` type to `TableApi`
1666
+ - Refactor moving table api into a separate hook
1667
+ - Move nested table config out into util
1668
+ - Wrap `setTableConfig` api method in `React.useCallback`
1669
+
1670
+ ## 0.37.4
1671
+
1672
+ ### Bug Fixes
1673
+
1674
+ - Fix searching on `undefined` or `null` data
1675
+
1676
+ ## 0.37.3
1677
+
1678
+ ### Bug Fixes
1679
+
1680
+ - Applies another fix to ensure styles for `styled-components` are applied during PDF export
1681
+
1682
+ ## 0.37.2
1683
+
1684
+ ### Bug Fixes
1685
+
1686
+ - [Breaking] Removes required type for `cellEditor`, `cellEditorParams`, and `cellRendererParams`
1687
+
1688
+ ## 0.37.1
1689
+
1690
+ ### Bug Fixes
1691
+
1692
+ - Ensures styles for `styled-components` are applied during PDF export
1693
+
1694
+ ## 0.37.0
1695
+
1696
+ ### Enhancements
1697
+
1698
+ - [Breaking] Convert `getSearchAndFilterText` to `getStringFormattedValue`
1699
+ - [Breaking] Remove all `getLabel` and `getText` params from cells, use `getStringFormattedValue` from column definition
1700
+ - Transform ag-grid `ColDef` to our own `ColumnDefinition` inside of cell renderers and editors
1701
+
1702
+ ## 0.36.1
1703
+
1704
+ ### Bug Fixes
1705
+
1706
+ - Makes the attributes in `DataTableTranslations` optional
1707
+ - Prevents `[missing "en.searchEmptyStateTitle" translation]` error when not supplying a translations object with `searchEmptyStateTitle`
1708
+ - Prevents `[missing "en.loadingLabel" translation]` error when not supplying a translations object with `loadingLabel`
1709
+
1710
+ ## 0.36.0
1711
+
1712
+ ### Enhancements
1713
+
1714
+ - Adds a `maxHeight` prop to the `Table` to support auto height of the table up to the provided `maxHeight`
1715
+
1716
+ ## 0.35.0
1717
+
1718
+ ### Bug Fixes
1719
+
1720
+ - Resolve issue where the filterable columns in the Filters context panel would not update to reflect a change to the `columnDefinitions` prop
1721
+
1722
+ ## 0.34.0
1723
+
1724
+ ### Enhancements
1725
+
1726
+ - [Breaking] CSV export formatters moved to Column Definition, instead of config in `exportToCSV`
1727
+ - CSVExportConfig interface removed
1728
+ - `cellCSVFormatter` added to `ColumnDefiniton`
1729
+ - Add `translations` prop to `DataTable`, merge in with client translations
1730
+ - [Breaking] Remove `loadingLabel` prop on `DataTable.Table`, move to `translations` object
1731
+ - [Breaking] Remove `i18nScope` prop, remove only usage in `EmptyState`
1732
+ - Remove usage of internal translations
1733
+ - [Breaking] Now depend on minimum version of core with DataTable translations (9.7.0)
1734
+
1735
+ ## 0.33.0
1736
+
1737
+ ### Dependencies
1738
+
1739
+ - Bump `ag-grid-community` from `24.1.0` to `25.0.0`
1740
+ - Bump `ag-grid-enterprise` from `24.1.0` to `25.0.0`
1741
+ - Bump `ag-grid-react` from `24.1.1` to `25.0.1-beta`
1742
+
1743
+ ## 0.32.0
1744
+
1745
+ ### Enhancements
1746
+
1747
+ - [Breaking] Remove `colId` from `ColumnDefinition`
1748
+ - [Breaking] Change `pinned` to `initialPinned`
1749
+ - [Breaking] `valueGetter` function should have return type of `TValue`
1750
+ - `cellRendererParams` and `cellEditorParams` come from the renderer, not the column definition type
1751
+
1752
+ ## 0.31.0
1753
+
1754
+ ### Enhancements
1755
+
1756
+ - Change row height selector to `SegmentedController`
1757
+ - Change column visibility `Checkboxes` to `Switch`
1758
+ - Update `Typography` for headers
1759
+
1760
+ ## 0.30.0
1761
+
1762
+ ### Enhancements
1763
+
1764
+ - Adjusts position of column Context menu to display under the column header row
1765
+
1766
+ ## 0.29.0
1767
+
1768
+ ### Enhancements
1769
+
1770
+ - Adds column `index` to `ColumnConfig` to enable persisting of column position
1771
+
1772
+ ### Bug Fixes
1773
+
1774
+ - Fixes the props type for `DataTable` to include a `children` prop
1775
+
1776
+ ## 0.28.0
1777
+
1778
+ ### Enhancements
1779
+
1780
+ - Adds `initialTableConfig` prop for working with stored table configuration states
1781
+ - Adds `contextPanelShow` and `contextPanelHide` functions to `tableRef` for controlling context panel
1782
+ - [Breaking] removes `DataTableContext`
1783
+ - [Breaking] `DataTable.Table` is no longer a `forwardRef` component
1784
+ - Passing a ref is no longer required
1785
+
1786
+ ### Bug Fixes
1787
+
1788
+ - Fixes bug where initial grouping configuration in table was not reflected in the `GroupBySelect`
1789
+
1790
+ ## 0.27.1
1791
+
1792
+ ### Bug Fixes
1793
+
1794
+ - Fixes typo with the track event key for filtering
1795
+
1796
+ ## 0.27.0
1797
+
1798
+ ### Enhancements
1799
+
1800
+ - Adds track events for filtering and grouping
1801
+
1802
+ ## 0.26.0
1803
+
1804
+ ### Enhancements
1805
+
1806
+ - Adds `ButtonsCell` for rendering an array of Core `Button` components
1807
+
1808
+ ## 0.25.0
1809
+
1810
+ ### Enhancements
1811
+
1812
+ - Minor UI improvements across table borders, grand total footer, and group expand/collapse
1813
+ - Remove `Show All` button from table configuration panel
1814
+
1815
+ ## 0.24.0
1816
+
1817
+ ### Enhancements
1818
+
1819
+ - Adds the ability to change the loading status of the table via `loading` and `loadingLabel` on `TableProps`
1820
+
1821
+ ## 0.23.0
1822
+
1823
+ ### Bug Fixes
1824
+
1825
+ - Fixes bug where Export CSV/PDF analytics path fails to post
1826
+
1827
+ ## 0.22.0
1828
+
1829
+ ### Enhancements
1830
+
1831
+ - Adds the ability to send Analytics for column events - grouped, filtered, moved, pinned, hidden, table exported and table row height changed
1832
+
1833
+ ## 0.21.0
1834
+
1835
+ ### Bug Fixes
1836
+
1837
+ - `emptyStateRenderer` should be able to take a `React.FunctionComponent` and not just a `React.ReactNode`
1838
+
1839
+ ## 0.20.0
1840
+
1841
+ ### Enhancements
1842
+
1843
+ - Adds `onTableConfigChange` event for storing table configuration when the table is modified
1844
+ - It is up to the implementor to store the table configuration
1845
+ - Adds `setTableConfigChange` and `getTableConfigChange` to tableRef api for manually getting and setting config
1846
+ - Adds `removeAllFilters` api method and slight internal refactor of the table's filters
1847
+
1848
+ ### Bug Fixes
1849
+
1850
+ - Fixes bug where deselecting all groups would make all columns visible, instead of only groupable columns, which would override any columns hidden through the table configuration panel.
1851
+
1852
+ ## 0.19.0
1853
+
1854
+ ### Bug Fixes
1855
+
1856
+ - Ensures the row actions are always present when resizing the table
1857
+ - Always updates filter options when a cell value is changed
1858
+ - Removes flex from default column definition to respect the `width` attribute
1859
+ - Ensures updates to the `columnDefinitions` prop are accurately reflected in the table
1860
+
1861
+ ## 0.18.0
1862
+
1863
+ ### Bug Fixes
1864
+
1865
+ - Resolves issue with editable styles being applied to non-editable cells
1866
+
1867
+ ## 0.17.0
1868
+
1869
+ ### Enhancements
1870
+
1871
+ - Implements `exportToHTMLString` to enable exporting to PDF or printing
1872
+
1873
+ ## 0.16.0
1874
+
1875
+ ### Enhancements
1876
+
1877
+ - Implements min widths and widths on columns
1878
+
1879
+ ## 0.15.0
1880
+
1881
+ ### Enhancements
1882
+
1883
+ - Implements ability to export to CSV
1884
+
1885
+ ## 0.14.0
1886
+
1887
+ ### Enhancements
1888
+
1889
+ - Apply new menu icon to header row
1890
+
1891
+ ## 0.13.0
1892
+
1893
+ ### Bug Fixes
1894
+
1895
+ - Remove editable hover effects from non-editable cells
1896
+ - Fix `Contracts with Nested Detail` story
1897
+ - Fix footer background color
1898
+
1899
+ ## 0.12.0
1900
+
1901
+ ### Bug Fixes
1902
+
1903
+ - Resolve grouping issues with ERP Status Cell
1904
+
1905
+ ## 0.11.0
1906
+
1907
+ ### Enhancements
1908
+
1909
+ - Minor UI cleanup to header row
1910
+
1911
+ ## 0.10.0
1912
+
1913
+ ### Enhancements
1914
+
1915
+ - Adjust editable input fields to font size 28px
1916
+
1917
+ ## 0.9.0
1918
+
1919
+ ### Enhancements
1920
+
1921
+ - Adds input/select styles on inline edit cells when hovering on a row
1922
+ - Adds `SelectCellRenderer`, which is the same as a `TextCellRenderer`, except it shows a select dropdown carat on row hover
1923
+ - Minor UI cleanups, mainly for padding in the editable cells and their editors
1924
+
1925
+ ## 0.8.0
1926
+
1927
+ ### Enhancements
1928
+
1929
+ - Adds an optional `getLabel` attribute to the `PillCellColumnDefinition` to allow for configurable labels
1930
+ - Hides the "Filters" button when there are no columns that support filtering
1931
+ - Hides the "Group By" control when there are no columns that support grouping
1932
+ - Adds optional `getLabel` attribute to the `SelectCellColumnDefinition`
1933
+ - Adds optional `getText` attribute to the `TextCellColumnDefinition`
1934
+
1935
+ ### Breaking Changes
1936
+
1937
+ - Adding `enableRowGroup: true` to a column definition is now required to enable row grouping for a column
1938
+
1939
+ ## v0.7.0
1940
+
1941
+ ### Enhancements
1942
+
1943
+ - Updates Quick Controls filtering to display and clear filters whether the filter panel is open or closed
1944
+
1945
+ ## v0.6.0
1946
+
1947
+ ### Enhancements
1948
+
1949
+ - Adds `onCellValueChanged` prop to table, applied to all editable columns by default
1950
+ - Can provide `onCellValueChanged` to individual column definitions to customize response to cell edit for that column
1951
+
1952
+ ## v0.5.0
1953
+
1954
+ ### Enhancements
1955
+
1956
+ - Resets borders on cells for selection and editing
1957
+ - Adds ability for row selection (currently, clicking on a row does nothing. row selection still needs UX decisions, so leaving off behavior implementation for now)
1958
+ - Updates colors for cell and row selection
1959
+ - Darken background of inline editable fields on row hover
1960
+ - Set background to white when actively editing
1961
+
1962
+ ## v0.4.0
1963
+
1964
+ ### Breaking Changes
1965
+
1966
+ - Removes configuration to allow editing group row cells
1967
+ - Removes configuration to render a group row as a standard row when it only has one child
1968
+
1969
+ ### Enhancements
1970
+
1971
+ - Adds support for Master Detail Rows via the `detailRowConfigs` prop
1972
+
1973
+ ## v0.3.0
1974
+
1975
+ ### Enhancements
1976
+
1977
+ - Adds `emptyStateRenderer` prop for providing an empty state when there are no rows
1978
+ - Reintroduces `i18nScope` for the search empty state title
1979
+ - Adds `isAnyFilterPresent` to table ref to determine which empty state to show
1980
+ - Upgrades package to use core v9. main migration step was to drop `consumeI18n` in favor of `useI18nContext`
1981
+
1982
+ ## v0.2.0
1983
+
1984
+ ### Enhancements
1985
+
1986
+ - Add configuration to prevent columns from being hidden
1987
+ - Add configuration to allow editing group row cells
1988
+ - Add configuration to render a group row as a standard row when it only has one child
1989
+ - Add configuration to show the child count on a group row
1990
+ - Expand `sum` aggregation support to handle data types of `number`, `string`, and `Decimal` (previously just supported `number`)
1991
+
1992
+ ### Bug Fixes
1993
+
1994
+ - Fix cell alignment style issues
1995
+
1996
+ ## v0.1.0
1997
+
1998
+ - Implements the DataTable to be functionally complete with some style issues still remaining
1999
+
2000
+ ## v0.0.1
2001
+
2002
+ - Early stage version (do not use!)
2003
+ - Exposes `DataTable` component, based on [ag-grid](https://www.ag-grid.com/)