-
+
+
);
diff --git a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltSidebarButtonWf.tsx b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltSidebarButtonWf.tsx
index 639cfbd6..a3586ffa 100644
--- a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltSidebarButtonWf.tsx
+++ b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/VeltSidebarButtonWf.tsx
@@ -1,3 +1,4 @@
+"use client";
import { VeltSidebarButtonWireframe } from '@veltdev/react';
import { MessageSquare } from 'lucide-react';
diff --git a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/index.tsx b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/index.tsx
deleted file mode 100644
index c3588c27..00000000
--- a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/index.tsx
+++ /dev/null
@@ -1,18 +0,0 @@
-import { VeltWireframe } from '@veltdev/react';
-import VeltSidebarButtonWf from './VeltSidebarButtonWf';
-import VeltCommentToolWf from './VeltCommentToolWf';
-import VeltCommentBubbleWf from './VeltCommentBubbleWf';
-import VeltNotificationsToolWf from './VeltNotificationsToolWf';
-
-const VeltCustomization = () => {
- return (
-
-
-
-
-
-
- );
-};
-
-export default VeltCustomization;
diff --git a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/styles.css b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/styles.css
new file mode 100644
index 00000000..602109ce
--- /dev/null
+++ b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/components/velt/ui-customization/styles.css
@@ -0,0 +1,70 @@
+/* Custom Comment Tool & Bubble Styling */
+.custom-bubble-tool {
+ position: relative;
+ display: flex;
+ color: white !important;
+ cursor: pointer;
+}
+
+.unread-icon {
+ position: absolute;
+ bottom: 0px;
+ right: 1px;
+ width: 6px;
+ height: 6px;
+ background-color: #FF7162;
+ border-radius: 50%;
+ border: 1px solid white;
+}
+
+.has-comments {
+ position: absolute;
+ bottom: 0px;
+ right: 1px;
+ width: 6px;
+ height: 6px;
+ background-color: #625DF5;
+ border-radius: 50%;
+ border: 1px solid white;
+}
+
+velt-comment-tool {
+ display: flex !important;
+}
+
+velt-comment-bubble {
+ display: flex !important;
+}
+
+/* Handle empty VeltIf components */
+velt-if:empty {
+ display: none !important;
+}
+
+/* Keep icons white by default - only purple on hover */
+velt-comment-tool .custom-bubble-tool,
+velt-comment-bubble .custom-bubble-tool {
+ color: white !important;
+}
+
+/* Purple on hover only */
+velt-comment-tool:hover .custom-bubble-tool,
+velt-comment-bubble:hover .custom-bubble-tool {
+ color: #625DF5 !important;
+}
+
+/* Prevent active/open states from changing color */
+velt-comment-tool.velt-comment-tool-active .custom-bubble-tool,
+velt-comment-bubble.velt-comment-bubble-open .custom-bubble-tool {
+ color: white !important;
+}
+
+/* But still allow hover on active states */
+velt-comment-tool.velt-comment-tool-active:hover .custom-bubble-tool,
+velt-comment-bubble.velt-comment-bubble-open:hover .custom-bubble-tool {
+ color: #625DF5 !important;
+}
+
+.velt-notifications-tool {
+ width: 100% !important;
+}
diff --git a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/package.json b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/package.json
index 5aa52b24..2b568fd7 100644
--- a/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/package.json
+++ b/apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo/package.json
@@ -9,9 +9,7 @@
"lint": "next lint"
},
"dependencies": {
- "@veltdev/react": "^4.5.9",
- "@veltdev/types": "^4.5.8-beta.8",
- "@xyflow/react": "^12.3.0",
+ "@veltdev/react": "^4.6.5",
"clsx": "^2",
"lucide-react": "^0.454.0",
"next": "^15",
@@ -23,6 +21,7 @@
"devDependencies": {
"@types/node": "^22",
"@types/react": "^19",
+ "@veltdev/types": "^4.6.5",
"@types/react-dom": "^19",
"autoprefixer": "^10",
"postcss": "^8",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 20c15e92..43ae65c7 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -251,6 +251,58 @@ importers:
specifier: ^5
version: 5.9.3
+ apps/react/comments/dashboard/inline-comments/dashboard-inline-comments-demo:
+ dependencies:
+ '@veltdev/react':
+ specifier: ^4.6.5
+ version: 4.6.5(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
+ clsx:
+ specifier: ^2
+ version: 2.1.1
+ lucide-react:
+ specifier: ^0.454.0
+ version: 0.454.0(react@19.2.0)
+ next:
+ specifier: ^15
+ version: 15.5.7(@babel/core@7.28.5)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
+ react:
+ specifier: ^19
+ version: 19.2.0
+ react-dom:
+ specifier: ^19
+ version: 19.2.0(react@19.2.0)
+ tailwind-merge:
+ specifier: ^2
+ version: 2.6.0
+ yjs:
+ specifier: ^13.6.0
+ version: 13.6.27
+ devDependencies:
+ '@types/node':
+ specifier: ^22
+ version: 22.18.13
+ '@types/react':
+ specifier: ^19
+ version: 19.2.2
+ '@types/react-dom':
+ specifier: ^19
+ version: 19.2.2(@types/react@19.2.2)
+ '@veltdev/types':
+ specifier: ^4.6.5
+ version: 4.6.5
+ autoprefixer:
+ specifier: ^10
+ version: 10.4.21(postcss@8.5.6)
+ postcss:
+ specifier: ^8
+ version: 8.5.6
+ tailwindcss:
+ specifier: ^3.4.0
+ version: 3.4.18(tsx@4.20.6)
+ typescript:
+ specifier: ^5
+ version: 5.9.3
+
apps/react/comments/dashboard/inline-comments/open-envoy-demo:
dependencies:
'@veltdev/react':
@@ -983,7 +1035,7 @@ importers:
version: 2.26.4
'@veltdev/blocknote-crdt-react':
specifier: 4.5.0-beta.3
- version: 4.5.0-beta.3(@veltdev/blocknote-crdt@4.5.0-beta.5)(@veltdev/react@4.6.1(react-dom@19.2.0(react@19.2.0))(react@19.2.0))(@veltdev/types@4.5.8-beta.8)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
+ version: 4.5.0-beta.3(@veltdev/blocknote-crdt@4.5.0-beta.5)(@veltdev/react@4.6.5(react-dom@19.2.0(react@19.2.0))(react@19.2.0))(@veltdev/types@4.5.8-beta.8)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
clsx:
specifier: ^2.1.1
version: 2.1.1
@@ -3519,6 +3571,12 @@ packages:
react: ^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.0.0
react-dom: ^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.0.0
+ '@veltdev/react@4.6.5':
+ resolution: {integrity: sha512-VD1U+LdRCvvkVvLLj5ARIfU8zW2ltHckzNBs1/NEXxdOhSBJ5XBIdHBYOcsyIF0Mz4QE5J4WTmaol7yS6bI3/g==}
+ peerDependencies:
+ react: ^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.0.0
+ react-dom: ^19.0.0 || ^18.0.0 || ^17.0.0 || ^16.0.0
+
'@veltdev/reactflow-crdt@4.5.8-beta.1':
resolution: {integrity: sha512-UH9bLByjB22LpU9jIZidEcykHz7xX8fGQglcOIXicwH5Qu3IftZp/fjBDwNSu0+eVLQtJXR4l7N9TkjqYCNEiw==}
peerDependencies:
@@ -3563,6 +3621,9 @@ packages:
'@veltdev/types@4.5.8-beta.8':
resolution: {integrity: sha512-oGF/9Iod8O5zJPrwh5vq8Lu0gQVK83Fa15ZaTLvbjKMlq4oM1xebC1w7Ki4FZWrWsrza0q9a0zTlYTJRAOnDng==}
+ '@veltdev/types@4.6.5':
+ resolution: {integrity: sha512-SO1hQ9xzYD02AqoASSLx8qc9jhszut3BpIu72C7eB+VSIe2hSoiLAIhEfIMyOZEaJ7hSXkEtD+RGuzB2IYK+5g==}
+
'@vercel/analytics@1.5.0':
resolution: {integrity: sha512-MYsBzfPki4gthY5HnYN7jgInhAZ7Ac1cYDoRWFomwGHWEX7odTEzbtg9kf/QSo7XEsEAqlQugA6gJ2WS2DEa3g==}
peerDependencies:
@@ -8804,10 +8865,10 @@ snapshots:
'@unrs/resolver-binding-win32-x64-msvc@1.11.1':
optional: true
- '@veltdev/blocknote-crdt-react@4.5.0-beta.3(@veltdev/blocknote-crdt@4.5.0-beta.5)(@veltdev/react@4.6.1(react-dom@19.2.0(react@19.2.0))(react@19.2.0))(@veltdev/types@4.5.8-beta.8)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)':
+ '@veltdev/blocknote-crdt-react@4.5.0-beta.3(@veltdev/blocknote-crdt@4.5.0-beta.5)(@veltdev/react@4.6.5(react-dom@19.2.0(react@19.2.0))(react@19.2.0))(@veltdev/types@4.5.8-beta.8)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)':
dependencies:
'@veltdev/blocknote-crdt': 4.5.0-beta.5
- '@veltdev/react': 4.6.1(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
+ '@veltdev/react': 4.6.5(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
'@veltdev/types': 4.5.8-beta.8
react: 19.2.0
react-dom: 19.2.0(react@19.2.0)
@@ -8845,6 +8906,11 @@ snapshots:
react: 19.2.0
react-dom: 19.2.0(react@19.2.0)
+ '@veltdev/react@4.6.5(react-dom@19.2.0(react@19.2.0))(react@19.2.0)':
+ dependencies:
+ react: 19.2.0
+ react-dom: 19.2.0(react@19.2.0)
+
'@veltdev/reactflow-crdt@4.5.8-beta.1(yjs@13.6.27)':
dependencies:
yjs: 13.6.27
@@ -8887,6 +8953,8 @@ snapshots:
'@veltdev/types@4.5.8-beta.8': {}
+ '@veltdev/types@4.6.5': {}
+
'@vercel/analytics@1.5.0(next@15.2.6(react-dom@19.2.0(react@19.2.0))(react@19.2.0))(react@19.2.0)':
optionalDependencies:
next: 15.2.6(react-dom@19.2.0(react@19.2.0))(react@19.2.0)