@trops/dash-core 0.1.216 → 0.1.218

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 CHANGED
@@ -6025,45 +6025,42 @@ var WizardDiscoverStep = function WizardDiscoverStep(_ref) {
6025
6025
  text: "".concat(state.selectedWidgets.length, " selected")
6026
6026
  })]
6027
6027
  }), /*#__PURE__*/jsx("div", {
6028
- className: "grid grid-cols-2 lg:grid-cols-3 gap-3",
6028
+ className: "grid grid-cols-3 gap-3",
6029
6029
  children: filteredWidgets.map(function (widget) {
6030
6030
  var checked = isWidgetSelected(widget);
6031
- return /*#__PURE__*/jsx(Card2, {
6031
+ return /*#__PURE__*/jsxs(Card2, {
6032
6032
  hover: true,
6033
6033
  selected: checked,
6034
- padding: "p-5",
6034
+ padding: "p-4",
6035
6035
  rounded: "rounded-lg",
6036
- className: "hover:shadow-lg",
6036
+ className: "hover:shadow-lg flex flex-col",
6037
6037
  onClick: function onClick() {
6038
6038
  return handleToggleWidget(widget);
6039
6039
  },
6040
- children: /*#__PURE__*/jsxs("div", {
6041
- className: "flex items-start gap-2",
6042
- children: [/*#__PURE__*/jsx(FontAwesomeIcon, {
6040
+ children: [/*#__PURE__*/jsxs("div", {
6041
+ className: "flex items-start justify-between gap-2",
6042
+ children: [/*#__PURE__*/jsxs("div", {
6043
+ className: "flex items-center gap-1.5",
6044
+ children: [widget.icon && /*#__PURE__*/jsx(FontAwesomeIcon, {
6045
+ icon: resolveIcon(widget.icon),
6046
+ fixedWidth: true,
6047
+ className: "text-gray-400 text-sm"
6048
+ }), /*#__PURE__*/jsx("span", {
6049
+ className: "text-sm font-medium text-gray-200 truncate",
6050
+ children: widget.name
6051
+ })]
6052
+ }), /*#__PURE__*/jsx(FontAwesomeIcon, {
6043
6053
  icon: checked ? "square-check" : "square",
6044
6054
  fixedWidth: true,
6045
- className: checked ? "text-blue-400 mt-0.5" : "text-gray-500 mt-0.5"
6046
- }), /*#__PURE__*/jsxs("div", {
6047
- className: "flex flex-col gap-0.5 min-w-0",
6048
- children: [/*#__PURE__*/jsxs("div", {
6049
- className: "flex items-center gap-1.5",
6050
- children: [widget.icon && /*#__PURE__*/jsx(FontAwesomeIcon, {
6051
- icon: resolveIcon(widget.icon),
6052
- fixedWidth: true,
6053
- className: "text-gray-400 text-xs"
6054
- }), /*#__PURE__*/jsx("span", {
6055
- className: "text-sm font-medium text-gray-200 truncate",
6056
- children: widget.name
6057
- })]
6058
- }), widget.description && /*#__PURE__*/jsx("p", {
6059
- className: "text-xs text-gray-400 line-clamp-2",
6060
- children: widget.description
6061
- }), widget.packageDisplayName && /*#__PURE__*/jsx("span", {
6062
- className: "text-xs text-gray-500",
6063
- children: widget.packageDisplayName
6064
- })]
6055
+ className: checked ? "text-blue-400 flex-shrink-0" : "text-gray-500 flex-shrink-0"
6065
6056
  })]
6066
- })
6057
+ }), widget.description && /*#__PURE__*/jsx("p", {
6058
+ className: "text-xs text-gray-400 line-clamp-2 mt-1.5 flex-1",
6059
+ children: widget.description
6060
+ }), widget.packageDisplayName && /*#__PURE__*/jsx("span", {
6061
+ className: "text-xs text-gray-500 mt-2 pt-1.5 border-t border-gray-700/50 truncate",
6062
+ children: widget.packageDisplayName
6063
+ })]
6067
6064
  }, widget.key);
6068
6065
  })
6069
6066
  })]