@trops/dash-core 0.1.213 → 0.1.214
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 +11 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +11 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -5956,12 +5956,12 @@ var WizardDiscoverStep = function WizardDiscoverStep(_ref) {
|
|
|
5956
5956
|
})]
|
|
5957
5957
|
}) : /*#__PURE__*/jsxs(Fragment, {
|
|
5958
5958
|
children: [filteredDashboards.length > 0 && /*#__PURE__*/jsxs("div", {
|
|
5959
|
-
className: "flex flex-col gap-
|
|
5959
|
+
className: "flex flex-col gap-3",
|
|
5960
5960
|
children: [/*#__PURE__*/jsxs("h4", {
|
|
5961
5961
|
className: "text-sm font-semibold text-gray-300 flex items-center gap-2",
|
|
5962
5962
|
children: ["Dashboards (", filteredDashboards.length, " result", filteredDashboards.length !== 1 ? "s" : "", ")"]
|
|
5963
5963
|
}), /*#__PURE__*/jsx("div", {
|
|
5964
|
-
className: "
|
|
5964
|
+
className: "grid grid-cols-2 gap-3",
|
|
5965
5965
|
children: filteredDashboards.map(function (dash) {
|
|
5966
5966
|
var isSelected = state.selectedDashboard && state.selectedDashboard.name === dash.name;
|
|
5967
5967
|
var widgetCount = (dash.widgets || []).length;
|
|
@@ -5971,6 +5971,9 @@ var WizardDiscoverStep = function WizardDiscoverStep(_ref) {
|
|
|
5971
5971
|
return /*#__PURE__*/jsxs(Card2, {
|
|
5972
5972
|
hover: true,
|
|
5973
5973
|
selected: isSelected,
|
|
5974
|
+
padding: "p-5",
|
|
5975
|
+
rounded: "rounded-lg",
|
|
5976
|
+
className: "hover:shadow-lg",
|
|
5974
5977
|
onClick: function onClick() {
|
|
5975
5978
|
return handleSelectDashboard(dash);
|
|
5976
5979
|
},
|
|
@@ -5988,7 +5991,7 @@ var WizardDiscoverStep = function WizardDiscoverStep(_ref) {
|
|
|
5988
5991
|
className: "ml-auto text-blue-400"
|
|
5989
5992
|
})]
|
|
5990
5993
|
}), dash.description && /*#__PURE__*/jsx("p", {
|
|
5991
|
-
className: "text-xs text-gray-400 mt-1",
|
|
5994
|
+
className: "text-xs text-gray-400 mt-1 line-clamp-2",
|
|
5992
5995
|
children: dash.description
|
|
5993
5996
|
}), /*#__PURE__*/jsxs("div", {
|
|
5994
5997
|
className: "flex items-center gap-3 mt-2 text-xs text-gray-500",
|
|
@@ -6002,19 +6005,22 @@ var WizardDiscoverStep = function WizardDiscoverStep(_ref) {
|
|
|
6002
6005
|
})
|
|
6003
6006
|
})]
|
|
6004
6007
|
}), filteredWidgets.length > 0 && /*#__PURE__*/jsxs("div", {
|
|
6005
|
-
className: "flex flex-col gap-
|
|
6008
|
+
className: "flex flex-col gap-3",
|
|
6006
6009
|
children: [/*#__PURE__*/jsxs("h4", {
|
|
6007
6010
|
className: "text-sm font-semibold text-gray-300 flex items-center gap-2",
|
|
6008
6011
|
children: ["Widgets (", filteredWidgets.length, " result", filteredWidgets.length !== 1 ? "s" : "", ")", state.selectedWidgets.length > 0 && /*#__PURE__*/jsx(Tag3, {
|
|
6009
6012
|
text: "".concat(state.selectedWidgets.length, " selected")
|
|
6010
6013
|
})]
|
|
6011
6014
|
}), /*#__PURE__*/jsx("div", {
|
|
6012
|
-
className: "grid grid-cols-2 gap-
|
|
6015
|
+
className: "grid grid-cols-2 gap-3",
|
|
6013
6016
|
children: filteredWidgets.map(function (widget) {
|
|
6014
6017
|
var checked = isWidgetSelected(widget);
|
|
6015
6018
|
return /*#__PURE__*/jsx(Card2, {
|
|
6016
6019
|
hover: true,
|
|
6017
6020
|
selected: checked,
|
|
6021
|
+
padding: "p-5",
|
|
6022
|
+
rounded: "rounded-lg",
|
|
6023
|
+
className: "hover:shadow-lg",
|
|
6018
6024
|
onClick: function onClick() {
|
|
6019
6025
|
return handleToggleWidget(widget);
|
|
6020
6026
|
},
|