dp-widgets-framework 1.0.0 → 1.0.1

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
@@ -35929,7 +35929,7 @@ function SummaryWidget({ title, data, metadata, className }) {
35929
35929
  }
35930
35930
  return (jsxRuntimeExports.jsxs("div", { className: `h-full flex flex-col ${className || ""}`, children: [title && (jsxRuntimeExports.jsx("div", { className: "pb-4", children: jsxRuntimeExports.jsx("h3", { className: "text-lg font-bold", style: {
35931
35931
  color: "#0F172A"
35932
- }, children: title }) })), jsxRuntimeExports.jsxs("div", { className: "flex-1 overflow-auto space-y-4", children: [jsxRuntimeExports.jsx("div", { className: "prose prose-sm max-w-none", children: jsxRuntimeExports.jsx(Markdown, { className: "text-gray-800 dark:text-gray-200", children: data.content }) }), jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-2 gap-4 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg", children: [jsxRuntimeExports.jsxs("div", { className: "text-center", children: [jsxRuntimeExports.jsx("div", { className: "text-lg font-semibold text-blue-600 dark:text-blue-400", children: data.word_count }), jsxRuntimeExports.jsx("div", { className: "text-xs text-gray-600 dark:text-gray-400", children: "Words" })] }), jsxRuntimeExports.jsxs("div", { className: "text-center", children: [jsxRuntimeExports.jsx("div", { className: "text-lg font-semibold text-green-600 dark:text-green-400", children: data.character_count }), jsxRuntimeExports.jsx("div", { className: "text-xs text-gray-600 dark:text-gray-400", children: "Characters" })] }), jsxRuntimeExports.jsxs("div", { className: "text-center", children: [jsxRuntimeExports.jsx("div", { className: "text-lg font-semibold text-purple-600 dark:text-purple-400", children: data.character_count_no_spaces }), jsxRuntimeExports.jsx("div", { className: "text-xs text-gray-600 dark:text-gray-400", children: "Chars (no spaces)" })] }), jsxRuntimeExports.jsxs("div", { className: "text-center", children: [jsxRuntimeExports.jsx("div", { className: "text-lg font-semibold text-orange-600 dark:text-orange-400", children: data.line_count }), jsxRuntimeExports.jsx("div", { className: "text-xs text-gray-600 dark:text-gray-400", children: "Lines" })] })] })] })] }));
35932
+ }, children: title }) })), jsxRuntimeExports.jsx("div", { className: "flex-1 overflow-auto space-y-4", children: jsxRuntimeExports.jsx("div", { className: "prose prose-sm max-w-none", children: jsxRuntimeExports.jsx(Markdown, { className: "text-gray-800 dark:text-gray-200", children: data.content }) }) })] }));
35933
35933
  }
35934
35934
 
35935
35935
  const CHART_REFRESH_TIMEOUT = 5000;
package/dist/index.js CHANGED
@@ -35956,7 +35956,7 @@ function SummaryWidget({ title, data, metadata, className }) {
35956
35956
  }
35957
35957
  return (jsxRuntimeExports.jsxs("div", { className: `h-full flex flex-col ${className || ""}`, children: [title && (jsxRuntimeExports.jsx("div", { className: "pb-4", children: jsxRuntimeExports.jsx("h3", { className: "text-lg font-bold", style: {
35958
35958
  color: "#0F172A"
35959
- }, children: title }) })), jsxRuntimeExports.jsxs("div", { className: "flex-1 overflow-auto space-y-4", children: [jsxRuntimeExports.jsx("div", { className: "prose prose-sm max-w-none", children: jsxRuntimeExports.jsx(Markdown, { className: "text-gray-800 dark:text-gray-200", children: data.content }) }), jsxRuntimeExports.jsxs("div", { className: "grid grid-cols-2 gap-4 p-4 bg-gray-50 dark:bg-gray-800 rounded-lg", children: [jsxRuntimeExports.jsxs("div", { className: "text-center", children: [jsxRuntimeExports.jsx("div", { className: "text-lg font-semibold text-blue-600 dark:text-blue-400", children: data.word_count }), jsxRuntimeExports.jsx("div", { className: "text-xs text-gray-600 dark:text-gray-400", children: "Words" })] }), jsxRuntimeExports.jsxs("div", { className: "text-center", children: [jsxRuntimeExports.jsx("div", { className: "text-lg font-semibold text-green-600 dark:text-green-400", children: data.character_count }), jsxRuntimeExports.jsx("div", { className: "text-xs text-gray-600 dark:text-gray-400", children: "Characters" })] }), jsxRuntimeExports.jsxs("div", { className: "text-center", children: [jsxRuntimeExports.jsx("div", { className: "text-lg font-semibold text-purple-600 dark:text-purple-400", children: data.character_count_no_spaces }), jsxRuntimeExports.jsx("div", { className: "text-xs text-gray-600 dark:text-gray-400", children: "Chars (no spaces)" })] }), jsxRuntimeExports.jsxs("div", { className: "text-center", children: [jsxRuntimeExports.jsx("div", { className: "text-lg font-semibold text-orange-600 dark:text-orange-400", children: data.line_count }), jsxRuntimeExports.jsx("div", { className: "text-xs text-gray-600 dark:text-gray-400", children: "Lines" })] })] })] })] }));
35959
+ }, children: title }) })), jsxRuntimeExports.jsx("div", { className: "flex-1 overflow-auto space-y-4", children: jsxRuntimeExports.jsx("div", { className: "prose prose-sm max-w-none", children: jsxRuntimeExports.jsx(Markdown, { className: "text-gray-800 dark:text-gray-200", children: data.content }) }) })] }));
35960
35960
  }
35961
35961
 
35962
35962
  const CHART_REFRESH_TIMEOUT = 5000;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dp-widgets-framework",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org"