@trops/dash-core 0.1.32 → 0.1.34

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
@@ -7903,7 +7903,7 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7903
7903
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
7904
7904
  className: "flex-1 overflow-y-auto min-h-0 p-4 w-full",
7905
7905
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
7906
- className: "mb-3",
7906
+ className: "mb-2",
7907
7907
  children: [/*#__PURE__*/jsxRuntime.jsxs("div", {
7908
7908
  className: "flex items-center space-x-2 mb-1",
7909
7909
  children: [/*#__PURE__*/jsxRuntime.jsx(WidgetIcon, {
@@ -7927,15 +7927,16 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7927
7927
  })]
7928
7928
  })]
7929
7929
  }), /*#__PURE__*/jsxRuntime.jsx("hr", {
7930
- className: "my-3 ".concat(currentTheme["border-primary-medium"])
7930
+ className: "my-2 ".concat(currentTheme["border-primary-medium"])
7931
7931
  }), selectedWidget.packageDescription && /*#__PURE__*/jsxRuntime.jsx("div", {
7932
- className: "mb-3",
7932
+ className: "mb-2",
7933
7933
  children: /*#__PURE__*/jsxRuntime.jsx(DashReact.Paragraph, {
7934
+ padding: false,
7934
7935
  className: "text-sm",
7935
7936
  children: selectedWidget.packageDescription
7936
7937
  })
7937
7938
  }), selectedWidget.packageTags && selectedWidget.packageTags.length > 0 && /*#__PURE__*/jsxRuntime.jsx("div", {
7938
- className: "mb-3 flex flex-wrap gap-1",
7939
+ className: "mb-2 flex flex-wrap gap-1",
7939
7940
  children: selectedWidget.packageTags.map(function (tag) {
7940
7941
  return /*#__PURE__*/jsxRuntime.jsx("span", {
7941
7942
  className: "text-xs px-2 py-0.5 rounded ".concat(currentTheme["bg-primary-medium"], " text-gray-400"),
@@ -7943,15 +7944,16 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7943
7944
  }, tag);
7944
7945
  })
7945
7946
  }), /*#__PURE__*/jsxRuntime.jsxs("div", {
7946
- className: "mb-3",
7947
+ className: "mb-2",
7947
7948
  children: [/*#__PURE__*/jsxRuntime.jsx(DashReact.Paragraph, {
7948
- className: "text-xs font-semibold text-gray-400 mb-2",
7949
+ padding: false,
7950
+ className: "text-xs font-semibold text-gray-400 mb-1.5",
7949
7951
  children: "INCLUDED WIDGETS"
7950
7952
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
7951
7953
  className: "space-y-2",
7952
7954
  children: (selectedWidget.packageWidgets || []).map(function (w, idx) {
7953
7955
  return /*#__PURE__*/jsxRuntime.jsxs("div", {
7954
- className: "p-2 rounded ".concat(currentTheme["bg-primary-medium"]),
7956
+ className: "p-3 rounded ".concat(currentTheme["bg-primary-medium"]),
7955
7957
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
7956
7958
  className: "text-sm font-medium text-white",
7957
7959
  children: w.displayName || w.name
@@ -7971,11 +7973,13 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7971
7973
  })
7972
7974
  })]
7973
7975
  }), selectedWidget.repository && /*#__PURE__*/jsxRuntime.jsxs("div", {
7974
- className: "mb-3",
7976
+ className: "mb-2",
7975
7977
  children: [/*#__PURE__*/jsxRuntime.jsx(DashReact.Paragraph, {
7978
+ padding: false,
7976
7979
  className: "text-xs font-semibold text-gray-400 mb-1",
7977
7980
  children: "REPOSITORY"
7978
7981
  }), /*#__PURE__*/jsxRuntime.jsx(DashReact.Paragraph, {
7982
+ padding: false,
7979
7983
  className: "text-sm text-blue-400 break-all",
7980
7984
  children: selectedWidget.repository
7981
7985
  })]
@@ -8116,8 +8120,9 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
8116
8120
  children: [recentWidgets.length > 0 && selectedSource === "Installed" && /*#__PURE__*/jsxRuntime.jsxs("div", {
8117
8121
  className: "mb-3 space-y-1",
8118
8122
  children: [/*#__PURE__*/jsxRuntime.jsx("div", {
8119
- className: "px-2 py-1 mb-2 border-b ".concat(currentTheme["border-primary-medium"]),
8123
+ className: "px-3 py-1 mb-1 border-b ".concat(currentTheme["border-primary-medium"]),
8120
8124
  children: /*#__PURE__*/jsxRuntime.jsx(DashReact.Paragraph, {
8125
+ padding: false,
8121
8126
  className: "text-xs font-semibold text-gray-400",
8122
8127
  children: "RECENT"
8123
8128
  })
@@ -8202,6 +8207,7 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
8202
8207
  }), /*#__PURE__*/jsxRuntime.jsx("div", {
8203
8208
  className: "px-4 py-2 border-t ".concat(currentTheme["border-primary-medium"], " ").concat(currentTheme["bg-primary-medium"]),
8204
8209
  children: /*#__PURE__*/jsxRuntime.jsx(DashReact.Paragraph, {
8210
+ padding: false,
8205
8211
  className: "text-sm text-gray-400",
8206
8212
  children: selectedSource === "Discover" ? "".concat(registryPackages.length, " package").concat(registryPackages.length !== 1 ? "s" : "", " \xB7 ").concat(filteredWidgets.length, " widget").concat(filteredWidgets.length !== 1 ? "s" : "") : "".concat(filteredWidgets.length, " of ").concat(widgets.length, " widget").concat(widgets.length !== 1 ? "s" : "")
8207
8213
  })