@rivet-health/design-system 40.41.0 → 40.42.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.
@@ -9650,10 +9650,11 @@ var RivTable;
9650
9650
  const defaultedInitialState = defaultsDeep({}, options === null || options === void 0 ? void 0 : options.initialState, defaultState);
9651
9651
  const columnNameMap = new Map(Array.from(columns.entries()).map(([key, metadata]) => {
9652
9652
  var _a;
9653
- return [
9654
- key,
9655
- toSentenceCase((_a = metadata.displayName) !== null && _a !== void 0 ? _a : key),
9656
- ];
9653
+ const columnDisplayName = (_a = metadata.displayName) !== null && _a !== void 0 ? _a : key;
9654
+ const formattedColumnName = (options === null || options === void 0 ? void 0 : options.columnsUseOriginalCasing)
9655
+ ? columnDisplayName
9656
+ : toSentenceCase(columnDisplayName);
9657
+ return [key, formattedColumnName];
9657
9658
  }));
9658
9659
  const defaultColumnState = (_a = options === null || options === void 0 ? void 0 : options.defaultColumnState) !== null && _a !== void 0 ? _a : defaultedInitialState.display.columnSettings;
9659
9660
  // Wire up reduced state from actions and initial state.