@hachej/boring-ui-kit 0.4.12 → 0.4.14

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 (57) hide show
  1. package/README.md +12 -2
  2. package/bin/boring-ui-blocks.mjs +8 -1
  3. package/dist/file-tree-view.d.ts +48 -3
  4. package/dist/file-tree-view.js +202 -12
  5. package/dist/file-tree.d.ts +31 -0
  6. package/dist/file-tree.js +122 -1
  7. package/dist/voice-capture.d.ts +10 -0
  8. package/dist/voice-capture.js +235 -39
  9. package/package.json +2 -2
  10. package/r/agent-target.json +4 -4
  11. package/r/app-shell.json +9 -9
  12. package/r/board-viewer.json +12 -6
  13. package/r/button.json +1 -1
  14. package/r/diagram-viewer.json +8 -2
  15. package/r/dock.json +1 -1
  16. package/r/documents.json +14 -12
  17. package/r/feedback-preview.json +1 -1
  18. package/r/feedback.json +6 -6
  19. package/r/file-tree.json +8 -7
  20. package/r/highlights.json +3 -3
  21. package/r/html-viewer.json +3 -3
  22. package/r/looks-viewer.json +9 -3
  23. package/r/maquette-viewer.json +9 -3
  24. package/r/markdown-editor.json +3 -3
  25. package/r/mockup-viewer.json +14 -2
  26. package/r/pi-ambient.json +10 -10
  27. package/r/pi-app.json +31 -20
  28. package/r/pi-artifacts.json +3 -3
  29. package/r/pi-chat-approval.json +1 -1
  30. package/r/pi-chat-attachments.json +1 -1
  31. package/r/pi-chat-markdown.json +2 -2
  32. package/r/pi-chat-mentions.json +1 -1
  33. package/r/pi-chat-pickers.json +1 -1
  34. package/r/pi-chat-plugins.json +11 -11
  35. package/r/pi-chat-question.json +1 -1
  36. package/r/pi-chat-slash.json +1 -1
  37. package/r/pi-chat-subagent.json +1 -1
  38. package/r/pi-chat-voice.json +3 -3
  39. package/r/pi-chat.json +5 -5
  40. package/r/pi-workspace.json +4 -4
  41. package/r/placed-agent.json +4 -4
  42. package/r/provider-setup.json +2 -2
  43. package/r/record-viewer.json +8 -2
  44. package/r/registry.json +398 -204
  45. package/r/requests-board.json +1 -1
  46. package/r/shared-chat.json +6 -6
  47. package/r/task-list-viewer.json +2 -2
  48. package/r/version-history.json +3 -3
  49. package/r/viewer-code.json +36 -0
  50. package/r/viewer-frame.json +447 -0
  51. package/r/viewer-html.json +32 -0
  52. package/r/viewer-image.json +36 -0
  53. package/r/viewer-markdown.json +47 -0
  54. package/r/viewer-pdf.json +45 -0
  55. package/r/viewers.json +8 -491
  56. package/r/windows.json +1 -1
  57. package/styles/file-tree.css +13 -0
package/r/windows.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "lucide-react@^1.51.0"
10
10
  ],
11
11
  "registryDependencies": [
12
- "https://cdn.jsdelivr.net/npm/@hachej/boring-ui-kit@0.4.12/r/utils.json",
12
+ "https://cdn.jsdelivr.net/npm/@hachej/boring-ui-kit@0.4.14/r/utils.json",
13
13
  "button",
14
14
  "card",
15
15
  "badge",
@@ -43,3 +43,16 @@
43
43
  [data-boring="file-tree"] [data-file-more][aria-expanded="true"] { opacity: 1; }
44
44
  }
45
45
  [data-boring="file-tree"] .file-tree-empty { min-height: 14rem; }
46
+ /* Rename, move and delete. The inline name field takes the row's place; a hovered drop folder (or the root) is outlined. */
47
+ [data-boring="file-tree"] .file-tree-rename { display: flex; flex: 1; align-items: center; gap: .5rem; min-width: 0; padding-left: 1.5rem; }
48
+ [data-boring="file-tree"][data-variant="list"] .file-tree-rename { min-height: 3rem; }
49
+ [data-boring="file-tree"] .file-tree-rename > svg { flex-shrink: 0; width: 1rem; height: 1rem; }
50
+ [data-boring="file-tree"] .file-tree-rename > [data-slot="input"] { flex: 1; min-width: 0; }
51
+ [data-boring="file-tree"] [data-mutation-spinner] { flex-shrink: 0; width: 1rem; height: 1rem; margin: .5rem; color: var(--muted-foreground); }
52
+ [data-boring="file-tree"] [data-mutation-error] { display: block; padding: 0 .5rem .5rem; color: var(--destructive); white-space: normal; overflow-wrap: anywhere; }
53
+ [data-boring="file-tree"] .file-tree-item[data-dragging] > div { opacity: .5; }
54
+ [data-boring="file-tree"] .file-tree-item[data-drop-target] > div,
55
+ [data-boring="file-tree"][data-drop-target] .file-tree-menu { outline: 2px solid var(--ring); outline-offset: -2px; border-radius: var(--radius); }
56
+ [data-boring="file-tree-dialog"] .file-tree-destinations { display: flex; flex-direction: column; gap: .125rem; max-height: 50vh; margin: 0; padding: 0; overflow: auto; list-style: none; }
57
+ [data-boring="file-tree-dialog"] .file-tree-destinations [data-slot="button"] { width: 100%; justify-content: flex-start; min-width: 0; }
58
+ [data-boring="file-tree-dialog"] .file-tree-destinations .file-tree-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }