diff --git a/packages/terra-data-grid/CHANGELOG.md b/packages/terra-data-grid/CHANGELOG.md index da69334a63c..080eebed7f0 100644 --- a/packages/terra-data-grid/CHANGELOG.md +++ b/packages/terra-data-grid/CHANGELOG.md @@ -4,7 +4,7 @@ * Added * Added `columnHighlightId` to allow column highlighting. - * Added `colorHighlightColor` to choose column highlighting colour. + * Added `columnHighlightColor` to choose column highlighting colour. ## 1.11.0 - (January 12, 2024) diff --git a/packages/terra-data-grid/src/DataGrid.jsx b/packages/terra-data-grid/src/DataGrid.jsx index ae7c6841162..e61fb730aa7 100644 --- a/packages/terra-data-grid/src/DataGrid.jsx +++ b/packages/terra-data-grid/src/DataGrid.jsx @@ -139,22 +139,6 @@ const propTypes = { * Boolean indicating whether or not the DataGrid should hide the column headers. */ hasVisibleColumnHeaders: PropTypes.bool, - - /** - * @private - * A Unique Identifier of the [column](/components/cerner-terra-framework-docs/data-grid/flowsheet-data-grid/about#column). - * If provided, column with specified identifier will be highlighted in data-grid. - * - * ![IMPORTANT](https://badgen.net/badge/UX/Design-Standards/blue) The column highlight feature should be limited specifically to - * time and timeline concepts only, best used with special instruction and guidance from User Experience to ensure proper standards. - */ - columnHighlightId: PropTypes.string, - - /** - * @private - * The color to be used for highlighting a column. - */ - columnHighlightColor: PropTypes.oneOf(['orange', 'green']), }; const defaultProps = { @@ -192,8 +176,6 @@ const DataGrid = forwardRef((props, ref) => { rowHeight, rows, sections, - columnHighlightId, - columnHighlightColor, } = props; const displayedColumns = (hasSelectableRows ? [WorklistDataGridUtils.ROW_SELECTION_COLUMN] : []).concat(pinnedColumns).concat(overflowColumns); @@ -597,8 +579,6 @@ const DataGrid = forwardRef((props, ref) => { rowSelectionMode={hasSelectableRows ? 'multiple' : undefined} hasVisibleColumnHeaders={hasVisibleColumnHeaders} isStriped - columnHighlightId={columnHighlightId} - columnHighlightColor={columnHighlightColor} /> diff --git a/packages/terra-data-grid/src/FlowsheetDataGrid.jsx b/packages/terra-data-grid/src/FlowsheetDataGrid.jsx index 5873c9335b1..c25116fa0bb 100644 --- a/packages/terra-data-grid/src/FlowsheetDataGrid.jsx +++ b/packages/terra-data-grid/src/FlowsheetDataGrid.jsx @@ -102,20 +102,6 @@ const propTypes = { * Boolean to show/hide column headers. By default, it is set to `true` and column headers are visible. */ hasVisibleColumnHeaders: PropTypes.bool, - - /** - * A Unique Identifier of the [column](/components/cerner-terra-framework-docs/data-grid/flowsheet-data-grid/about#column). - * If provided, column with specified identifier will be highlighted in data-grid. - * - * ![IMPORTANT](https://badgen.net/badge/UX/Design-Standards/blue) The column highlight feature should be limited specifically to - * time and timeline concepts only, best used with special instruction and guidance from User Experience to ensure proper standards. - */ - columnHighlightId: PropTypes.string, - - /** - * The color to be used for highlighting a column. - */ - columnHighlightColor: PropTypes.oneOf(['orange', 'green']), }; const defaultProps = { @@ -125,7 +111,6 @@ const defaultProps = { rows: [], columns: [], hasVisibleColumnHeaders: true, - columnHighlightColor: 'orange', }; function FlowsheetDataGrid(props) { @@ -146,8 +131,6 @@ function FlowsheetDataGrid(props) { onRowSelect, intl, hasVisibleColumnHeaders, - columnHighlightId, - columnHighlightColor, } = props; const anchorCell = useRef(null); @@ -433,8 +416,6 @@ function FlowsheetDataGrid(props) { onCellRangeSelect={handleCellRangeSelection} hasVisibleColumnHeaders={hasVisibleColumnHeaders} ref={dataGridFuncRef} - columnHighlightId={columnHighlightId} - columnHighlightColor={columnHighlightColor} /> diff --git a/packages/terra-data-grid/tests/jest/__snapshots__/FlowsheetDataGrid.test.jsx.snap b/packages/terra-data-grid/tests/jest/__snapshots__/FlowsheetDataGrid.test.jsx.snap index de3a11e2b06..b5c69f2ded2 100644 --- a/packages/terra-data-grid/tests/jest/__snapshots__/FlowsheetDataGrid.test.jsx.snap +++ b/packages/terra-data-grid/tests/jest/__snapshots__/FlowsheetDataGrid.test.jsx.snap @@ -8,7 +8,6 @@ exports[`FlowsheetDataGrid renders the row header column as pinned and remaining