@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.esm.js
CHANGED
|
@@ -23915,20 +23915,21 @@ var ExternalWidget = function ExternalWidget(_ref) {
|
|
|
23915
23915
|
description = _ref.description,
|
|
23916
23916
|
icon = _ref.icon;
|
|
23917
23917
|
_objectWithoutProperties(_ref, _excluded$3);
|
|
23918
|
-
return /*#__PURE__*/
|
|
23919
|
-
|
|
23920
|
-
|
|
23921
|
-
|
|
23922
|
-
|
|
23923
|
-
|
|
23924
|
-
|
|
23925
|
-
|
|
23926
|
-
|
|
23927
|
-
|
|
23928
|
-
|
|
23929
|
-
|
|
23930
|
-
|
|
23931
|
-
|
|
23918
|
+
return /*#__PURE__*/jsxs("div", {
|
|
23919
|
+
className: "flex flex-col h-full justify-center items-center w-full gap-2 p-4 text-center",
|
|
23920
|
+
children: [/*#__PURE__*/jsx(FontAwesomeIcon, {
|
|
23921
|
+
icon: icon || "triangle-exclamation",
|
|
23922
|
+
className: "h-5 w-5 text-amber-500"
|
|
23923
|
+
}), /*#__PURE__*/jsx("div", {
|
|
23924
|
+
className: "text-sm font-semibold text-gray-300",
|
|
23925
|
+
children: "Widget Unavailable"
|
|
23926
|
+
}), title && /*#__PURE__*/jsx("div", {
|
|
23927
|
+
className: "text-xs text-gray-500 font-mono",
|
|
23928
|
+
children: title
|
|
23929
|
+
}), /*#__PURE__*/jsx("div", {
|
|
23930
|
+
className: "text-xs text-gray-600 mt-1",
|
|
23931
|
+
children: description || "Check widget configuration or reinstall from the registry."
|
|
23932
|
+
})]
|
|
23932
23933
|
});
|
|
23933
23934
|
};
|
|
23934
23935
|
|