@plannotator/ui 0.55.0 → 0.56.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/HANDOFF.md +43 -1
- package/README.md +81 -4
- package/components/AnnotationPanel.tsx +2 -1
- package/components/AttachmentsButton.tsx +1 -1
- package/components/CodeFilePopout.tsx +6 -4
- package/components/ComposerTokenTextarea.tsx +43 -2
- package/components/DocBadges.tsx +47 -35
- package/components/ImageZoomStage.tsx +32 -4
- package/components/Settings.tsx +2 -1
- package/components/TableOfContents.tsx +2 -1
- package/components/Viewer.tsx +43 -17
- package/components/chat/ChatComposer.tsx +192 -0
- package/components/chat/ChatFrame.tsx +524 -0
- package/components/chat/ChatTranscript.tsx +422 -0
- package/components/chat/chatMarkdown.ts +436 -0
- package/components/chat/chatRecipes.tsx +39 -0
- package/components/chat/chatWindowStore.ts +196 -0
- package/components/chat/index.ts +72 -0
- package/components/diagram/DiagramCanvas.tsx +7 -0
- package/components/diagram/DiagramComposer.tsx +15 -3
- package/components/diagram/DiagramViewer.tsx +1 -0
- package/components/docBadgesWidth.ts +29 -0
- package/components/imageZoom.ts +10 -0
- package/components/inbox-thread/FileName.tsx +118 -0
- package/components/inbox-thread/GuideCard.tsx +39 -0
- package/components/inbox-thread/ReaskNote.tsx +25 -0
- package/components/inbox-thread/SkillsLine.tsx +40 -0
- package/components/inbox-thread/Tip.tsx +105 -0
- package/components/inbox-thread/icons.tsx +262 -0
- package/components/inbox-thread/reask.ts +222 -0
- package/hooks/useActiveSection.ts +46 -63
- package/hooks/useAnnotationHighlighter.ts +40 -1
- package/hooks/useFileBrowser.ts +4 -3
- package/inbox-thread.css +4542 -0
- package/package.json +10 -3
- package/styles.css +1 -1
- package/theme.css +1 -0
- package/themes/tokyo-night-moon.css +34 -0
- package/utils/aiChatFormat.ts +32 -11
- package/utils/headingScrollSpy.ts +19 -6
- package/utils/syntaxTheme.ts +1 -0
- package/utils/themeRegistry.ts +11 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plannotator/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.56.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
"./components/ai/*": "./components/ai/*.tsx",
|
|
10
10
|
"./components/core/*": "./components/core/*.tsx",
|
|
11
11
|
"./components/goal-setup/*": "./components/goal-setup/*.tsx",
|
|
12
|
+
"./components/inbox-thread/*": "./components/inbox-thread/*.tsx",
|
|
13
|
+
"./components/inbox-thread/reask": "./components/inbox-thread/reask.ts",
|
|
12
14
|
"./components/ImageAnnotator": "./components/ImageAnnotator/index.tsx",
|
|
13
15
|
"./components/html-viewer": "./components/html-viewer/index.ts",
|
|
16
|
+
"./components/chat": "./components/chat/index.ts",
|
|
14
17
|
"./components/diagram": "./components/diagram/index.ts",
|
|
15
18
|
"./components/diagramLanguages": "./components/diagramLanguages.ts",
|
|
16
19
|
"./components/diagram/*": "./components/diagram/*.tsx",
|
|
@@ -30,7 +33,8 @@
|
|
|
30
33
|
"./types": "./types.ts",
|
|
31
34
|
"./theme": "./theme.css",
|
|
32
35
|
"./styles.css": "./styles.css",
|
|
33
|
-
"./contents-rail.css": "./contents-rail.css"
|
|
36
|
+
"./contents-rail.css": "./contents-rail.css",
|
|
37
|
+
"./inbox-thread.css": "./inbox-thread.css"
|
|
34
38
|
},
|
|
35
39
|
"files": [
|
|
36
40
|
"components",
|
|
@@ -53,6 +57,7 @@
|
|
|
53
57
|
"print.css",
|
|
54
58
|
"styles.css",
|
|
55
59
|
"contents-rail.css",
|
|
60
|
+
"inbox-thread.css",
|
|
56
61
|
"plannotator.webp",
|
|
57
62
|
"HANDOFF.md",
|
|
58
63
|
"!**/*.test.ts",
|
|
@@ -109,6 +114,7 @@
|
|
|
109
114
|
"@types/bun": "^1.2.0",
|
|
110
115
|
"@types/react": "^19.3.0",
|
|
111
116
|
"@types/react-dom": "^19.3.0",
|
|
117
|
+
"postcss": "8.5.28",
|
|
112
118
|
"react": "^19.3.1",
|
|
113
119
|
"react-dom": "^19.3.1",
|
|
114
120
|
"tailwindcss": "^4.1.18",
|
|
@@ -119,7 +125,8 @@
|
|
|
119
125
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
120
126
|
"build:css": "vite build --config vite.css.config.ts && rm -f styles.js",
|
|
121
127
|
"build:bridge-assets": "bun run scripts/build-bridge-assets.ts",
|
|
128
|
+
"build:inbox-thread-css": "bun run scripts/build-inbox-thread-css.ts",
|
|
122
129
|
"smoke:package": "bun run scripts/package-smoke.ts",
|
|
123
|
-
"prepack": "bun run build:css && bun run build:bridge-assets"
|
|
130
|
+
"prepack": "bun run build:css && bun run build:bridge-assets && bun run build:inbox-thread-css"
|
|
124
131
|
}
|
|
125
132
|
}
|