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