@trops/dash-core 0.1.267 → 0.1.269

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.js CHANGED
@@ -25081,7 +25081,7 @@ var LayoutGridContainer = /*#__PURE__*/React.memo(function (_ref3) {
25081
25081
  onDelete: cellComponent ? function () {
25082
25082
  if (onClickRemove) onClickRemove(cellComponent.id);
25083
25083
  } : undefined
25084
- }), cellComponent && isWidgetResolvable(cellComponent.component) ? /*#__PURE__*/jsxRuntime.jsx(DraggableDroppableCellBody, {
25084
+ }), cellComponent && ComponentManager.config(cellComponent.component, cellComponent) ? /*#__PURE__*/jsxRuntime.jsx(DraggableDroppableCellBody, {
25085
25085
  cellNumber: cellNumber,
25086
25086
  gridContainerId: id,
25087
25087
  onMoveWidgetToCell: onMoveWidgetToCell,
@@ -25093,9 +25093,12 @@ var LayoutGridContainer = /*#__PURE__*/React.memo(function (_ref3) {
25093
25093
  gridContainerId: id,
25094
25094
  onMoveWidgetToCell: onMoveWidgetToCell,
25095
25095
  onDropWidgetFromSidebar: onDropWidgetFromSidebar,
25096
- children: /*#__PURE__*/jsxRuntime.jsx(WidgetCard.Body, {
25096
+ children: cellComponent ? /*#__PURE__*/jsxRuntime.jsx("div", {
25097
+ className: "flex-1 flex flex-col min-h-[120px]",
25098
+ children: renderedWidget
25099
+ }) : /*#__PURE__*/jsxRuntime.jsx(WidgetCard.Body, {
25097
25100
  padding: "p-0",
25098
- children: cellComponent ? renderedWidget : renderEmptyCellContent(cellNumber)
25101
+ children: renderEmptyCellContent(cellNumber)
25099
25102
  })
25100
25103
  }), cellComponent && /*#__PURE__*/jsxRuntime.jsx(WidgetCard.Footer, {
25101
25104
  item: cellComponent,