@trops/dash-core 0.1.213 → 0.1.215

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
@@ -5974,12 +5974,12 @@ var WizardDiscoverStep = function WizardDiscoverStep(_ref) {
5974
5974
  })]
5975
5975
  }) : /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
5976
5976
  children: [filteredDashboards.length > 0 && /*#__PURE__*/jsxRuntime.jsxs("div", {
5977
- className: "flex flex-col gap-2",
5977
+ className: "flex flex-col gap-3",
5978
5978
  children: [/*#__PURE__*/jsxRuntime.jsxs("h4", {
5979
5979
  className: "text-sm font-semibold text-gray-300 flex items-center gap-2",
5980
5980
  children: ["Dashboards (", filteredDashboards.length, " result", filteredDashboards.length !== 1 ? "s" : "", ")"]
5981
5981
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
5982
- className: "flex flex-col gap-2",
5982
+ className: "grid grid-cols-2 lg:grid-cols-3 gap-3",
5983
5983
  children: filteredDashboards.map(function (dash) {
5984
5984
  var isSelected = state.selectedDashboard && state.selectedDashboard.name === dash.name;
5985
5985
  var widgetCount = (dash.widgets || []).length;
@@ -5989,6 +5989,9 @@ var WizardDiscoverStep = function WizardDiscoverStep(_ref) {
5989
5989
  return /*#__PURE__*/jsxRuntime.jsxs(DashReact.Card2, {
5990
5990
  hover: true,
5991
5991
  selected: isSelected,
5992
+ padding: "p-5",
5993
+ rounded: "rounded-lg",
5994
+ className: "hover:shadow-lg",
5992
5995
  onClick: function onClick() {
5993
5996
  return handleSelectDashboard(dash);
5994
5997
  },
@@ -6006,7 +6009,7 @@ var WizardDiscoverStep = function WizardDiscoverStep(_ref) {
6006
6009
  className: "ml-auto text-blue-400"
6007
6010
  })]
6008
6011
  }), dash.description && /*#__PURE__*/jsxRuntime.jsx("p", {
6009
- className: "text-xs text-gray-400 mt-1",
6012
+ className: "text-xs text-gray-400 mt-1 line-clamp-2",
6010
6013
  children: dash.description
6011
6014
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
6012
6015
  className: "flex items-center gap-3 mt-2 text-xs text-gray-500",
@@ -6020,19 +6023,22 @@ var WizardDiscoverStep = function WizardDiscoverStep(_ref) {
6020
6023
  })
6021
6024
  })]
6022
6025
  }), filteredWidgets.length > 0 && /*#__PURE__*/jsxRuntime.jsxs("div", {
6023
- className: "flex flex-col gap-2",
6026
+ className: "flex flex-col gap-3",
6024
6027
  children: [/*#__PURE__*/jsxRuntime.jsxs("h4", {
6025
6028
  className: "text-sm font-semibold text-gray-300 flex items-center gap-2",
6026
6029
  children: ["Widgets (", filteredWidgets.length, " result", filteredWidgets.length !== 1 ? "s" : "", ")", state.selectedWidgets.length > 0 && /*#__PURE__*/jsxRuntime.jsx(DashReact.Tag3, {
6027
6030
  text: "".concat(state.selectedWidgets.length, " selected")
6028
6031
  })]
6029
6032
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
6030
- className: "grid grid-cols-2 gap-2",
6033
+ className: "grid grid-cols-2 lg:grid-cols-3 gap-3",
6031
6034
  children: filteredWidgets.map(function (widget) {
6032
6035
  var checked = isWidgetSelected(widget);
6033
6036
  return /*#__PURE__*/jsxRuntime.jsx(DashReact.Card2, {
6034
6037
  hover: true,
6035
6038
  selected: checked,
6039
+ padding: "p-5",
6040
+ rounded: "rounded-lg",
6041
+ className: "hover:shadow-lg",
6036
6042
  onClick: function onClick() {
6037
6043
  return handleToggleWidget(widget);
6038
6044
  },
@@ -7227,7 +7233,7 @@ var DashboardWizardModal = function DashboardWizardModal(_ref) {
7227
7233
  return /*#__PURE__*/jsxRuntime.jsx(DashReact.Modal, {
7228
7234
  isOpen: open,
7229
7235
  setIsOpen: setIsOpen,
7230
- width: "w-5/6",
7236
+ width: "w-full max-w-5xl",
7231
7237
  height: "h-5/6",
7232
7238
  children: /*#__PURE__*/jsxRuntime.jsxs("div", {
7233
7239
  className: "flex flex-col h-full bg-gray-900 rounded-lg overflow-hidden",