@snksergio/design-system 0.18.0 → 0.19.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.
@@ -19874,8 +19874,9 @@ function DataTableInternal(props, ref2) {
19874
19874
  if (!isList || !cfg) return [];
19875
19875
  const getRowId = contextValue.getRowId;
19876
19876
  const rows = rowsAllPagesProcessed;
19877
- if (cfg.hierarchical && props.getTreeDataPath) {
19878
- const pathOf = props.getTreeDataPath;
19877
+ const pathFn = cfg.getPath ?? props.getTreeDataPath;
19878
+ if (cfg.hierarchical && pathFn) {
19879
+ const pathOf = pathFn;
19879
19880
  const shells = /* @__PURE__ */ new Map();
19880
19881
  for (const r of rows) {
19881
19882
  const id = String(getRowId(r));
@@ -21620,4 +21621,4 @@ exports.savedViewsMockService = savedViewsMockService;
21620
21621
  exports.useColumnWidths = useColumnWidths;
21621
21622
  exports.useDataTableContext = useDataTableContext;
21622
21623
  exports.useFloatingPanelResize = useFloatingPanelResize;
21623
- //# sourceMappingURL=panel-DoVOsa6l.cjs.map
21624
+ //# sourceMappingURL=panel-BzrZmUF2.cjs.map