@trops/dash-core 0.1.18 → 0.1.19
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/dist/index.esm.js +35 -8
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +35 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -13941,18 +13941,33 @@ var LayoutGridContainer = /*#__PURE__*/memo(function (_ref3) {
|
|
|
13941
13941
|
onCancel: function onCancel() {
|
|
13942
13942
|
return setSelectedCellsForMerge([]);
|
|
13943
13943
|
}
|
|
13944
|
-
}), renderColumnGutter(), /*#__PURE__*/jsxs("div", {
|
|
13945
|
-
className: "flex flex-row flex-1 min-h-0
|
|
13944
|
+
}), renderColumnGutter(), scrollable ? /*#__PURE__*/jsxs("div", {
|
|
13945
|
+
className: "flex flex-row flex-1 min-h-0 overflow-y-auto items-start",
|
|
13946
13946
|
children: [renderRowGutter(), /*#__PURE__*/jsx("div", {
|
|
13947
13947
|
id: "grid-container-".concat(id),
|
|
13948
|
-
className: "grid flex-1
|
|
13948
|
+
className: "grid flex-1 min-h-24 p-4 gap-5",
|
|
13949
13949
|
style: {
|
|
13950
|
-
gridTemplateRows:
|
|
13950
|
+
gridTemplateRows: getRowTemplate(item.grid),
|
|
13951
13951
|
gridTemplateColumns: "repeat(".concat(item.grid.cols, ", 1fr)"),
|
|
13952
13952
|
overflow: "hidden"
|
|
13953
13953
|
},
|
|
13954
13954
|
children: renderGridCells()
|
|
13955
13955
|
})]
|
|
13956
|
+
}) : /*#__PURE__*/jsx("div", {
|
|
13957
|
+
className: "relative flex-1 min-h-0",
|
|
13958
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
13959
|
+
className: "absolute inset-0 flex flex-row overflow-hidden",
|
|
13960
|
+
children: [renderRowGutter(), /*#__PURE__*/jsx("div", {
|
|
13961
|
+
id: "grid-container-".concat(id),
|
|
13962
|
+
className: "grid flex-1 p-4 gap-5",
|
|
13963
|
+
style: {
|
|
13964
|
+
gridTemplateRows: "repeat(".concat(item.grid.rows, ", minmax(0, 1fr))"),
|
|
13965
|
+
gridTemplateColumns: "repeat(".concat(item.grid.cols, ", 1fr)"),
|
|
13966
|
+
overflow: "hidden"
|
|
13967
|
+
},
|
|
13968
|
+
children: renderGridCells()
|
|
13969
|
+
})]
|
|
13970
|
+
})
|
|
13956
13971
|
})]
|
|
13957
13972
|
}), /*#__PURE__*/jsx(MergeCellsModal, {
|
|
13958
13973
|
open: mergeModalOpen,
|
|
@@ -14042,15 +14057,27 @@ var LayoutGridContainer = /*#__PURE__*/memo(function (_ref3) {
|
|
|
14042
14057
|
})
|
|
14043
14058
|
})
|
|
14044
14059
|
})
|
|
14045
|
-
}) : useGridLayout ? /*#__PURE__*/jsx("div", {
|
|
14060
|
+
}) : useGridLayout ? scrollable ? /*#__PURE__*/jsx("div", {
|
|
14046
14061
|
id: "grid-container-".concat(id),
|
|
14047
|
-
className: "grid w-full
|
|
14062
|
+
className: "grid w-full min-h-24 p-3 ".concat(item.grid.gap || "gap-2"),
|
|
14048
14063
|
style: {
|
|
14049
|
-
gridTemplateRows:
|
|
14064
|
+
gridTemplateRows: getRowTemplate(item.grid),
|
|
14050
14065
|
gridTemplateColumns: "repeat(".concat(item.grid.cols, ", 1fr)"),
|
|
14051
|
-
overflow:
|
|
14066
|
+
overflow: "auto"
|
|
14052
14067
|
},
|
|
14053
14068
|
children: renderGridCells()
|
|
14069
|
+
}) : /*#__PURE__*/jsx("div", {
|
|
14070
|
+
className: "relative w-full ".concat(height, " min-h-24"),
|
|
14071
|
+
children: /*#__PURE__*/jsx("div", {
|
|
14072
|
+
id: "grid-container-".concat(id),
|
|
14073
|
+
className: "absolute inset-0 grid p-3 ".concat(item.grid.gap || "gap-2"),
|
|
14074
|
+
style: {
|
|
14075
|
+
gridTemplateRows: "repeat(".concat(item.grid.rows, ", minmax(0, 1fr))"),
|
|
14076
|
+
gridTemplateColumns: "repeat(".concat(item.grid.cols, ", 1fr)"),
|
|
14077
|
+
overflow: "hidden"
|
|
14078
|
+
},
|
|
14079
|
+
children: renderGridCells()
|
|
14080
|
+
})
|
|
14054
14081
|
}) : renderComponentContainer(children);
|
|
14055
14082
|
});
|
|
14056
14083
|
|