@plannotator/ui 0.54.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 +102 -6
- package/README.md +128 -3
- package/components/AnnotationPanel.tsx +2 -1
- package/components/AttachmentsButton.tsx +1 -1
- package/components/BlockRenderer.tsx +4 -1
- package/components/CodeFilePopout.tsx +6 -4
- package/components/CodeSnippetPreview.tsx +174 -0
- package/components/ComposerTokenTextarea.tsx +43 -2
- package/components/DeferredMarkdownContentsRail.tsx +38 -0
- package/components/DiffFileTree.tsx +7 -6
- package/components/DocBadges.tsx +47 -35
- package/components/DocumentContents.tsx +74 -0
- package/components/ImageLightbox.tsx +121 -63
- package/components/ImageZoomStage.tsx +32 -4
- package/components/InlineMarkdown.tsx +15 -150
- package/components/MarkdownContentsRail.tsx +777 -0
- package/components/Settings.tsx +2 -1
- package/components/TableOfContents.tsx +22 -7
- package/components/Viewer.tsx +51 -19
- package/components/blocks/QuestionBlock.tsx +14 -4
- 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/html-viewer/HtmlViewer.tsx +36 -1
- package/components/imageZoom.ts +21 -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/contents-rail.css +337 -0
- package/hooks/useActiveSection.ts +46 -63
- package/hooks/useAnnotationHighlighter.ts +40 -1
- package/hooks/useFileBrowser.ts +4 -3
- package/hooks/useHeadingScrollSpy.ts +77 -0
- package/hooks/useHoverPreview.ts +94 -0
- package/hooks/usePrefersReducedMotion.ts +23 -0
- package/hooks/useSwipeStep.ts +597 -0
- package/inbox-thread.css +4542 -0
- package/package.json +13 -4
- 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/annotationHelpers.ts +32 -4
- package/utils/blockParse.ts +45 -0
- package/utils/headingScrollSpy.ts +105 -0
- 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",
|
|
@@ -29,7 +32,9 @@
|
|
|
29
32
|
"./theme-modes": "./components/themeModes.tsx",
|
|
30
33
|
"./types": "./types.ts",
|
|
31
34
|
"./theme": "./theme.css",
|
|
32
|
-
"./styles.css": "./styles.css"
|
|
35
|
+
"./styles.css": "./styles.css",
|
|
36
|
+
"./contents-rail.css": "./contents-rail.css",
|
|
37
|
+
"./inbox-thread.css": "./inbox-thread.css"
|
|
33
38
|
},
|
|
34
39
|
"files": [
|
|
35
40
|
"components",
|
|
@@ -51,6 +56,8 @@
|
|
|
51
56
|
"theme.css",
|
|
52
57
|
"print.css",
|
|
53
58
|
"styles.css",
|
|
59
|
+
"contents-rail.css",
|
|
60
|
+
"inbox-thread.css",
|
|
54
61
|
"plannotator.webp",
|
|
55
62
|
"HANDOFF.md",
|
|
56
63
|
"!**/*.test.ts",
|
|
@@ -87,7 +94,7 @@
|
|
|
87
94
|
"clsx": "^2.1.1",
|
|
88
95
|
"diff": "^8.0.4",
|
|
89
96
|
"dompurify": "^3.4.17",
|
|
90
|
-
"katex": "^0.
|
|
97
|
+
"katex": "^0.19.0",
|
|
91
98
|
"lucide-react": "^1.59.0",
|
|
92
99
|
"marked": "^17.0.6",
|
|
93
100
|
"mermaid": "12.2.0",
|
|
@@ -107,6 +114,7 @@
|
|
|
107
114
|
"@types/bun": "^1.2.0",
|
|
108
115
|
"@types/react": "^19.3.0",
|
|
109
116
|
"@types/react-dom": "^19.3.0",
|
|
117
|
+
"postcss": "8.5.28",
|
|
110
118
|
"react": "^19.3.1",
|
|
111
119
|
"react-dom": "^19.3.1",
|
|
112
120
|
"tailwindcss": "^4.1.18",
|
|
@@ -117,7 +125,8 @@
|
|
|
117
125
|
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
118
126
|
"build:css": "vite build --config vite.css.config.ts && rm -f styles.js",
|
|
119
127
|
"build:bridge-assets": "bun run scripts/build-bridge-assets.ts",
|
|
128
|
+
"build:inbox-thread-css": "bun run scripts/build-inbox-thread-css.ts",
|
|
120
129
|
"smoke:package": "bun run scripts/package-smoke.ts",
|
|
121
|
-
"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"
|
|
122
131
|
}
|
|
123
132
|
}
|