vzcode 2.36.0 → 3.0.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.
Files changed (44) hide show
  1. package/README.md +30 -0
  2. package/dist/assets/index-DT8aFBKg.js +356 -0
  3. package/dist/assets/index-DyMLoJaw.css +1 -0
  4. package/dist/index.html +2 -2
  5. package/package.json +1 -4
  6. package/src/client/AIAssist/AIAssistWidget/index.tsx +2 -2
  7. package/src/client/AIAssist/AIAssistWidget/style.scss +8 -8
  8. package/src/client/AIAssist/Spinner.jsx +2 -2
  9. package/src/client/App/style.scss +6 -9
  10. package/src/client/CodeEditor/getOrCreateEditor.tsx +1 -1
  11. package/src/client/CodeEditor/style.scss +13 -13
  12. package/src/client/CodeErrorOverlay/index.tsx +1 -1
  13. package/src/client/CodeErrorOverlay/style.scss +3 -3
  14. package/src/client/ImageViewer/style.scss +6 -6
  15. package/src/client/RunCodeWidget/index.tsx +3 -3
  16. package/src/client/RunCodeWidget/style.scss +2 -2
  17. package/src/client/TabList/Tab.tsx +2 -2
  18. package/src/client/TabList/style.scss +6 -5
  19. package/src/client/VZKeyboardShortcutsDoc.tsx +4 -4
  20. package/src/client/VZSettings.tsx +27 -19
  21. package/src/client/VZSidebar/CreateDirModal.tsx +3 -3
  22. package/src/client/VZSidebar/CreateFileModal.tsx +3 -3
  23. package/src/client/VZSidebar/DeleteConfirmationModal.tsx +2 -2
  24. package/src/client/VZSidebar/Item.tsx +4 -4
  25. package/src/client/VZSidebar/Search.tsx +2 -2
  26. package/src/client/VZSidebar/VoiceChatModal.tsx +1 -1
  27. package/src/client/VZSidebar/index.tsx +23 -20
  28. package/src/client/VZSidebar/styles.scss +99 -98
  29. package/src/client/main.jsx +1 -0
  30. package/src/client/standalone.scss +6 -0
  31. package/src/client/ui.scss +317 -0
  32. package/src/client/ui.tsx +323 -0
  33. package/src/llm-streaming-ui/README.md +2 -2
  34. package/src/llm-streaming-ui/components/ChatInput.tsx +26 -49
  35. package/src/llm-streaming-ui/components/DiffView.scss +1 -1
  36. package/src/llm-streaming-ui/components/Spinner.scss +3 -3
  37. package/src/llm-streaming-ui/components/Spinner.tsx +2 -2
  38. package/src/llm-streaming-ui/components/styles.scss +127 -75
  39. package/dist/assets/bootstrap-icons-BeopsB42.woff +0 -0
  40. package/dist/assets/bootstrap-icons-mSm7cUeB.woff2 +0 -0
  41. package/dist/assets/index-Cj-ERpBu.css +0 -1
  42. package/dist/assets/index-DD7vzp4U.js +0 -364
  43. package/src/client/bootstrap.ts +0 -26
  44. package/src/llm-streaming-ui/components/bootstrap.ts +0 -16
package/README.md CHANGED
@@ -521,3 +521,33 @@ VZCode is inspired by [VizHub v2](https://github.com/vizhub-core/vizhub/). VizHu
521
521
  - [VizHub Discord](https://discord.com/invite/wbtJ7SCtYr)
522
522
  - [GitHub Repository](https://github.com/vizhub-core/vzcode)
523
523
  - [Discord Channel within RCOS](https://discord.com/channels/738593165438746634/1066068656045441044)
524
+
525
+ ### Embedded editor styling
526
+
527
+ VZCode uses native React controls and editor-scoped SCSS. Importing the editor
528
+ does not inject Bootstrap, Bootstrap Icons, or VizHub UI CSS. The editor's
529
+ colors are exposed as overridable `--vz-color-*` variables on the `.app`
530
+ container. `src/client/App/style.scss` does not reset `html`, `body`,
531
+ or `:root`; the standalone app loads `src/client/standalone.scss` to size
532
+ its own document.
533
+
534
+ Hosts like VizHub AI Studio can continue importing
535
+ `vzcode/src/client/App/style.scss` in their client editor chunk.
536
+ The controls and dialogs are styled without requiring a host framework.
537
+
538
+ #### Legacy appearance compatibility
539
+
540
+ The Bootstrap-free editor keeps the original VizHub appearance. The scoped
541
+ palette in `src/client/ui.scss` is derived from
542
+ [`vizhub-ui/scss/_variables.scss`](https://github.com/vizhub-studio/vizhub-ui/blob/main/scss/_variables.scss)
543
+ and the font roles from
544
+ [`vizhub-ui/scss/_overrides.scss`](https://github.com/vizhub-studio/vizhub-ui/blob/main/scss/_overrides.scss):
545
+ Inter for UI text, Poppins for headings, and Roboto Mono for code.
546
+ It retains the original neutral navy scale (`#1f2022`, `#202e46`,
547
+ `#576786`, `#bdc7dc`) and action blue (`#3866e9`).
548
+
549
+ All tokens are VZCode-local; hosts must not load the retired `vizhub-ui`
550
+ stylesheet. Native modal controls use the original light VizHub palette;
551
+ file-search controls retain the dark editor theme. The
552
+ `test/editorStyleIsolation.test.ts` checks token values and forbids
553
+ Bootstrap-era utility classes in production code.