@trops/dash-core 0.1.32 → 0.1.33

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
@@ -7884,7 +7884,7 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7884
7884
  return /*#__PURE__*/jsxs("div", {
7885
7885
  className: "flex-1 overflow-y-auto min-h-0 p-4 w-full",
7886
7886
  children: [/*#__PURE__*/jsxs("div", {
7887
- className: "mb-3",
7887
+ className: "mb-2",
7888
7888
  children: [/*#__PURE__*/jsxs("div", {
7889
7889
  className: "flex items-center space-x-2 mb-1",
7890
7890
  children: [/*#__PURE__*/jsx(WidgetIcon, {
@@ -7908,15 +7908,15 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7908
7908
  })]
7909
7909
  })]
7910
7910
  }), /*#__PURE__*/jsx("hr", {
7911
- className: "my-3 ".concat(currentTheme["border-primary-medium"])
7911
+ className: "my-2 ".concat(currentTheme["border-primary-medium"])
7912
7912
  }), selectedWidget.packageDescription && /*#__PURE__*/jsx("div", {
7913
- className: "mb-3",
7913
+ className: "mb-2",
7914
7914
  children: /*#__PURE__*/jsx(Paragraph, {
7915
7915
  className: "text-sm",
7916
7916
  children: selectedWidget.packageDescription
7917
7917
  })
7918
7918
  }), selectedWidget.packageTags && selectedWidget.packageTags.length > 0 && /*#__PURE__*/jsx("div", {
7919
- className: "mb-3 flex flex-wrap gap-1",
7919
+ className: "mb-2 flex flex-wrap gap-1",
7920
7920
  children: selectedWidget.packageTags.map(function (tag) {
7921
7921
  return /*#__PURE__*/jsx("span", {
7922
7922
  className: "text-xs px-2 py-0.5 rounded ".concat(currentTheme["bg-primary-medium"], " text-gray-400"),
@@ -7924,15 +7924,16 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7924
7924
  }, tag);
7925
7925
  })
7926
7926
  }), /*#__PURE__*/jsxs("div", {
7927
- className: "mb-3",
7927
+ className: "mb-2",
7928
7928
  children: [/*#__PURE__*/jsx(Paragraph, {
7929
- className: "text-xs font-semibold text-gray-400 mb-2",
7929
+ padding: false,
7930
+ className: "text-xs font-semibold text-gray-400 mb-1.5",
7930
7931
  children: "INCLUDED WIDGETS"
7931
7932
  }), /*#__PURE__*/jsx("div", {
7932
7933
  className: "space-y-2",
7933
7934
  children: (selectedWidget.packageWidgets || []).map(function (w, idx) {
7934
7935
  return /*#__PURE__*/jsxs("div", {
7935
- className: "p-2 rounded ".concat(currentTheme["bg-primary-medium"]),
7936
+ className: "p-3 rounded ".concat(currentTheme["bg-primary-medium"]),
7936
7937
  children: [/*#__PURE__*/jsx("div", {
7937
7938
  className: "text-sm font-medium text-white",
7938
7939
  children: w.displayName || w.name
@@ -7952,11 +7953,13 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
7952
7953
  })
7953
7954
  })]
7954
7955
  }), selectedWidget.repository && /*#__PURE__*/jsxs("div", {
7955
- className: "mb-3",
7956
+ className: "mb-2",
7956
7957
  children: [/*#__PURE__*/jsx(Paragraph, {
7958
+ padding: false,
7957
7959
  className: "text-xs font-semibold text-gray-400 mb-1",
7958
7960
  children: "REPOSITORY"
7959
7961
  }), /*#__PURE__*/jsx(Paragraph, {
7962
+ padding: false,
7960
7963
  className: "text-sm text-blue-400 break-all",
7961
7964
  children: selectedWidget.repository
7962
7965
  })]
@@ -8097,8 +8100,9 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
8097
8100
  children: [recentWidgets.length > 0 && selectedSource === "Installed" && /*#__PURE__*/jsxs("div", {
8098
8101
  className: "mb-3 space-y-1",
8099
8102
  children: [/*#__PURE__*/jsx("div", {
8100
- className: "px-2 py-1 mb-2 border-b ".concat(currentTheme["border-primary-medium"]),
8103
+ className: "px-3 py-1 mb-1 border-b ".concat(currentTheme["border-primary-medium"]),
8101
8104
  children: /*#__PURE__*/jsx(Paragraph, {
8105
+ padding: false,
8102
8106
  className: "text-xs font-semibold text-gray-400",
8103
8107
  children: "RECENT"
8104
8108
  })
@@ -8183,6 +8187,7 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
8183
8187
  }), /*#__PURE__*/jsx("div", {
8184
8188
  className: "px-4 py-2 border-t ".concat(currentTheme["border-primary-medium"], " ").concat(currentTheme["bg-primary-medium"]),
8185
8189
  children: /*#__PURE__*/jsx(Paragraph, {
8190
+ padding: false,
8186
8191
  className: "text-sm text-gray-400",
8187
8192
  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" : "")
8188
8193
  })