@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.
@@ -19853,8 +19853,9 @@ function DataTableInternal(props, ref2) {
19853
19853
  if (!isList || !cfg) return [];
19854
19854
  const getRowId = contextValue.getRowId;
19855
19855
  const rows = rowsAllPagesProcessed;
19856
- if (cfg.hierarchical && props.getTreeDataPath) {
19857
- const pathOf = props.getTreeDataPath;
19856
+ const pathFn = cfg.getPath ?? props.getTreeDataPath;
19857
+ if (cfg.hierarchical && pathFn) {
19858
+ const pathOf = pathFn;
19858
19859
  const shells = /* @__PURE__ */ new Map();
19859
19860
  for (const r of rows) {
19860
19861
  const id = String(getRowId(r));
@@ -21601,4 +21602,4 @@ export {
21601
21602
  FilterPanel as y,
21602
21603
  FloatingPanelField as z
21603
21604
  };
21604
- //# sourceMappingURL=panel-BF_942aO.mjs.map
21605
+ //# sourceMappingURL=panel-l8mxXYXG.mjs.map