@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 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__*/jsx(Panel, {
23919
- children: /*#__PURE__*/jsxs("div", {
23920
- className: "flex flex-col items-center justify-center gap-2 py-6 text-center opacity-70",
23921
- children: [/*#__PURE__*/jsx(FontAwesomeIcon, {
23922
- icon: icon || "puzzle-piece",
23923
- className: "h-6 w-6 opacity-50"
23924
- }), /*#__PURE__*/jsx(Heading, {
23925
- title: title || "External Widget",
23926
- padding: false
23927
- }), description && /*#__PURE__*/jsx("p", {
23928
- className: "text-sm text-gray-400 max-w-xs",
23929
- children: description
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