@vertesia/ui 0.66.0 → 0.67.0
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/lib/esm/features/agent/chat/ModernAgentConversation.js +1 -1
- package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js.map +1 -1
- package/lib/esm/features/store/objects/components/ContentOverview.js +5 -4
- package/lib/esm/features/store/objects/components/ContentOverview.js.map +1 -1
- package/lib/esm/layout/FullHeightLayout.js +2 -4
- package/lib/esm/layout/FullHeightLayout.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/vertesia-ui-features.js +1 -1
- package/lib/vertesia-ui-features.js.map +1 -1
- package/lib/vertesia-ui-layout.js +1 -1
- package/lib/vertesia-ui-layout.js.map +1 -1
- package/package.json +4 -4
- package/src/features/agent/chat/ModernAgentConversation.tsx +639 -639
- package/src/features/agent/chat/ModernAgentOutput/MessageItem.tsx +1 -1
- package/src/features/store/objects/components/ContentOverview.tsx +7 -5
- package/src/layout/FullHeightLayout.tsx +2 -2
|
@@ -254,7 +254,7 @@ export default function MessageItem({ message, showPulsatingCircle = false }: Me
|
|
|
254
254
|
components={{
|
|
255
255
|
a: ({ node, ...props }: { node?: any; href?: string; children?: React.ReactNode }) => {
|
|
256
256
|
const href = props.href || "";
|
|
257
|
-
if (href.
|
|
257
|
+
if (href.includes("/store/objects")) {
|
|
258
258
|
return (
|
|
259
259
|
<NavLink
|
|
260
260
|
href={href}
|
|
@@ -3,11 +3,12 @@ import Markdown from "react-markdown";
|
|
|
3
3
|
import remarkGfm from "remark-gfm";
|
|
4
4
|
|
|
5
5
|
import { useUserSession } from "@vertesia/ui/session";
|
|
6
|
-
import { Button,
|
|
6
|
+
import { Button, Spinner, useToast } from "@vertesia/ui/core";
|
|
7
7
|
import { JSONDisplay } from "@vertesia/ui/widgets";
|
|
8
8
|
import { ContentObject, ImageRenditionFormat } from "@vertesia/common";
|
|
9
9
|
import { Copy, Download, SquarePen } from "lucide-react";
|
|
10
10
|
import { PropertiesEditorModal } from "./PropertiesEditorModal";
|
|
11
|
+
import { NavLink } from "@vertesia/ui/router";
|
|
11
12
|
|
|
12
13
|
interface ContentOverviewProps {
|
|
13
14
|
object: ContentObject;
|
|
@@ -320,17 +321,18 @@ export function ContentOverview({
|
|
|
320
321
|
components={{
|
|
321
322
|
a: ({ node, ...props }: { node?: any; href?: string; children?: React.ReactNode }) => {
|
|
322
323
|
const href = props.href || "";
|
|
323
|
-
if (href.
|
|
324
|
+
if (href.includes("/store/objects/")) {
|
|
324
325
|
return (
|
|
325
|
-
<
|
|
326
|
+
<NavLink
|
|
327
|
+
topLevelNav
|
|
326
328
|
href={href}
|
|
327
329
|
className="text-info"
|
|
328
330
|
>
|
|
329
331
|
{props.children}
|
|
330
|
-
</
|
|
332
|
+
</NavLink>
|
|
331
333
|
);
|
|
332
334
|
}
|
|
333
|
-
return <a {...props} target="_blank" rel="noopener noreferrer" />;
|
|
335
|
+
return <a {...props} data-debug="test" target="_blank" rel="noopener noreferrer" />;
|
|
334
336
|
},
|
|
335
337
|
p: ({ node, ...props }: { node?: any; children?: React.ReactNode }) => (
|
|
336
338
|
<p {...props} className={`my-0`} />
|
|
@@ -12,7 +12,7 @@ export function FullHeightLayout({ className, children }: FlexibleHeightLayoutPr
|
|
|
12
12
|
"flex flex-col",
|
|
13
13
|
"h-full",
|
|
14
14
|
"overflow-y-auto",
|
|
15
|
-
|
|
15
|
+
"px-2",
|
|
16
16
|
className
|
|
17
17
|
)}
|
|
18
18
|
>
|
|
@@ -50,7 +50,7 @@ FullHeightLayout.Body = function Body({ className, children }: BodyProps) {
|
|
|
50
50
|
className={clsx(
|
|
51
51
|
"grow overflow-auto",
|
|
52
52
|
"min-h-0",
|
|
53
|
-
"
|
|
53
|
+
"p-2",
|
|
54
54
|
className
|
|
55
55
|
)}
|
|
56
56
|
>
|