@xcelsior/ui-spreadsheets 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xcelsior/ui-spreadsheets",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "dependencies": {
@@ -896,13 +896,11 @@ export function Spreadsheet<T extends Record<string, any>>({
896
896
  {/* Column Group Headers */}
897
897
  {columnGroups && groupHeaderItems && (
898
898
  <tr>
899
- {/* Row index column header */}
899
+ {/* Row index column header - empty placeholder in group row */}
900
900
  <RowIndexColumnHeader
901
- enableHighlighting={enableHighlighting}
902
901
  highlightColor={rowIndexHighlightColor}
903
902
  isPinned={isRowIndexPinned}
904
- onHighlightClick={handleRowIndexHighlightClick}
905
- onPinClick={() => handleTogglePin(ROW_INDEX_COLUMN_ID)}
903
+ isSecondRow={true}
906
904
  compactMode={effectiveCompactMode}
907
905
  />
908
906
  {groupHeaderItems.map((item) => {
@@ -973,24 +971,15 @@ export function Spreadsheet<T extends Record<string, any>>({
973
971
 
974
972
  {/* Column Headers */}
975
973
  <tr>
976
- {/* Row index column header - show full header when no groups, empty placeholder when groups exist */}
977
- {columnGroups ? (
978
- <RowIndexColumnHeader
979
- highlightColor={rowIndexHighlightColor}
980
- isPinned={isRowIndexPinned}
981
- isSecondRow={true}
982
- compactMode={effectiveCompactMode}
983
- />
984
- ) : (
985
- <RowIndexColumnHeader
986
- enableHighlighting={enableHighlighting}
987
- highlightColor={rowIndexHighlightColor}
988
- isPinned={isRowIndexPinned}
989
- onHighlightClick={handleRowIndexHighlightClick}
990
- onPinClick={() => handleTogglePin(ROW_INDEX_COLUMN_ID)}
991
- compactMode={effectiveCompactMode}
992
- />
993
- )}
974
+ {/* Row index column header - show full header in column headers row */}
975
+ <RowIndexColumnHeader
976
+ enableHighlighting={enableHighlighting}
977
+ highlightColor={rowIndexHighlightColor}
978
+ isPinned={isRowIndexPinned}
979
+ onHighlightClick={handleRowIndexHighlightClick}
980
+ onPinClick={() => handleTogglePin(ROW_INDEX_COLUMN_ID)}
981
+ compactMode={effectiveCompactMode}
982
+ />
994
983
  {columnRenderItems.map((item) => {
995
984
  if (item.type === 'collapsed-placeholder') {
996
985
  return (