@trops/dash-core 0.1.270 → 0.1.271
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 -14
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +15 -14
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23933,20 +23933,21 @@ var ExternalWidget = function ExternalWidget(_ref) {
|
|
|
23933
23933
|
description = _ref.description,
|
|
23934
23934
|
icon = _ref.icon;
|
|
23935
23935
|
_objectWithoutProperties(_ref, _excluded$3);
|
|
23936
|
-
return /*#__PURE__*/jsxRuntime.
|
|
23937
|
-
|
|
23938
|
-
|
|
23939
|
-
|
|
23940
|
-
|
|
23941
|
-
|
|
23942
|
-
|
|
23943
|
-
|
|
23944
|
-
|
|
23945
|
-
|
|
23946
|
-
|
|
23947
|
-
|
|
23948
|
-
|
|
23949
|
-
|
|
23936
|
+
return /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
23937
|
+
className: "flex flex-col h-full justify-center items-center w-full gap-2 p-4 text-center",
|
|
23938
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(DashReact.FontAwesomeIcon, {
|
|
23939
|
+
icon: icon || "triangle-exclamation",
|
|
23940
|
+
className: "h-5 w-5 text-amber-500"
|
|
23941
|
+
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
23942
|
+
className: "text-sm font-semibold text-gray-300",
|
|
23943
|
+
children: "Widget Unavailable"
|
|
23944
|
+
}), title && /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
23945
|
+
className: "text-xs text-gray-500 font-mono",
|
|
23946
|
+
children: title
|
|
23947
|
+
}), /*#__PURE__*/jsxRuntime.jsx("div", {
|
|
23948
|
+
className: "text-xs text-gray-600 mt-1",
|
|
23949
|
+
children: description || "Check widget configuration or reinstall from the registry."
|
|
23950
|
+
})]
|
|
23950
23951
|
});
|
|
23951
23952
|
};
|
|
23952
23953
|
|