@procore/data-table 14.46.3 → 14.46.4

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,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 14.46.4
4
+
5
+ ### Patch Changes
6
+
7
+ - d5bab3a: Add `headerClass` to `ColumnDefinition` as a typed prop (string, string[], or function). Previously worked at runtime via `...rest` passthrough but was absent from the type.
8
+
3
9
  ## 14.46.3
4
10
 
5
11
  ### Patch Changes
@@ -54788,6 +54788,7 @@ function transformToColumnDefinition(colDef = emptyObject) {
54788
54788
  getStringFormattedValue,
54789
54789
  columnHeaderParams: colDef.headerComponentParams,
54790
54790
  headerName: colDef.headerName,
54791
+ headerClass: colDef.headerClass,
54791
54792
  hidden: colDef.hide,
54792
54793
  filterRenderer: colDef.filterRenderer,
54793
54794
  lockVisible: colDef.lockVisible,
@@ -502,6 +502,7 @@ interface ColumnDefinition<TValue = any, TRenderer = React.FC<ICellRendererParam
502
502
  getStringFormattedValue?: (value: TValue) => string;
503
503
  getFilterKeyCreator?: ColDef['keyCreator'];
504
504
  headerName?: string;
505
+ headerClass?: ColDef['headerClass'];
505
506
  columnHeaderParams?: {
506
507
  menuOptions?: MenuDropdownOption[];
507
508
  headerNode?: (props: {
@@ -502,6 +502,7 @@ interface ColumnDefinition<TValue = any, TRenderer = React.FC<ICellRendererParam
502
502
  getStringFormattedValue?: (value: TValue) => string;
503
503
  getFilterKeyCreator?: ColDef['keyCreator'];
504
504
  headerName?: string;
505
+ headerClass?: ColDef['headerClass'];
505
506
  columnHeaderParams?: {
506
507
  menuOptions?: MenuDropdownOption[];
507
508
  headerNode?: (props: {
@@ -54775,6 +54775,7 @@ function transformToColumnDefinition(colDef = emptyObject) {
54775
54775
  getStringFormattedValue,
54776
54776
  columnHeaderParams: colDef.headerComponentParams,
54777
54777
  headerName: colDef.headerName,
54778
+ headerClass: colDef.headerClass,
54778
54779
  hidden: colDef.hide,
54779
54780
  filterRenderer: colDef.filterRenderer,
54780
54781
  lockVisible: colDef.lockVisible,
@@ -54738,6 +54738,7 @@ function transformToColumnDefinition(colDef = emptyObject) {
54738
54738
  getStringFormattedValue,
54739
54739
  columnHeaderParams: colDef.headerComponentParams,
54740
54740
  headerName: colDef.headerName,
54741
+ headerClass: colDef.headerClass,
54741
54742
  hidden: colDef.hide,
54742
54743
  filterRenderer: colDef.filterRenderer,
54743
54744
  lockVisible: colDef.lockVisible,
@@ -502,6 +502,7 @@ interface ColumnDefinition<TValue = any, TRenderer = React.FC<ICellRendererParam
502
502
  getStringFormattedValue?: (value: TValue) => string;
503
503
  getFilterKeyCreator?: ColDef['keyCreator'];
504
504
  headerName?: string;
505
+ headerClass?: ColDef['headerClass'];
505
506
  columnHeaderParams?: {
506
507
  menuOptions?: MenuDropdownOption[];
507
508
  headerNode?: (props: {
@@ -502,6 +502,7 @@ interface ColumnDefinition<TValue = any, TRenderer = React.FC<ICellRendererParam
502
502
  getStringFormattedValue?: (value: TValue) => string;
503
503
  getFilterKeyCreator?: ColDef['keyCreator'];
504
504
  headerName?: string;
505
+ headerClass?: ColDef['headerClass'];
505
506
  columnHeaderParams?: {
506
507
  menuOptions?: MenuDropdownOption[];
507
508
  headerNode?: (props: {
@@ -54725,6 +54725,7 @@ function transformToColumnDefinition(colDef = emptyObject) {
54725
54725
  getStringFormattedValue,
54726
54726
  columnHeaderParams: colDef.headerComponentParams,
54727
54727
  headerName: colDef.headerName,
54728
+ headerClass: colDef.headerClass,
54728
54729
  hidden: colDef.hide,
54729
54730
  filterRenderer: colDef.filterRenderer,
54730
54731
  lockVisible: colDef.lockVisible,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procore/data-table",
3
- "version": "14.46.3",
3
+ "version": "14.46.4",
4
4
  "description": "Complex data grid built on top of ag-grid, with DST components and styles.",
5
5
  "author": "Procore Technologies",
6
6
  "homepage": "https://github.com/procore/core/tree/main/packages/data-table",
@@ -108,7 +108,7 @@
108
108
  "@procore/core-css": "10.17.0",
109
109
  "@procore/core-icons": "^12.18.0",
110
110
  "@procore/core-prettier": "10.2.0",
111
- "@procore/core-react": "^12.49.0",
111
+ "@procore/core-react": "^12.49.1",
112
112
  "@procore/eslint-config": "10.0.0",
113
113
  "@procore/globalization-toolkit": "3.1.0",
114
114
  "@procore/labs-financials-utils": "4.3.1",
@@ -161,7 +161,7 @@
161
161
  "safe-json-stringify": "^1.2.0",
162
162
  "sass": "1.57.1",
163
163
  "sass-loader": "13.2.0",
164
- "start-server-and-test": "2.1.5",
164
+ "start-server-and-test": "3.0.5",
165
165
  "storybook": "^9.1.17",
166
166
  "style-loader": "3.3.1",
167
167
  "styled-components": "6.1.18",