@iloveagents/foundry-web-shell 0.1.0 → 0.1.1
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/CHANGELOG.md +29 -0
- package/package.json +4 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# @iloveagents/foundry-web-shell
|
|
2
|
+
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 689d3e9: feat(sidebar): distinct file-drop affordance for nav containers
|
|
8
|
+
|
|
9
|
+
`useNavItemDnd` now exposes `isFileDragOver` separately from `isDragOver`
|
|
10
|
+
so consuming nav items can render a prominent file-drop visual (dashed
|
|
11
|
+
primary outline + soft primary background + Upload icon) when the user
|
|
12
|
+
is dragging native files over the container. Previously file drags
|
|
13
|
+
shared the same subtle ring as entity-move drags, so users couldn't
|
|
14
|
+
tell that a folder accepted external files. Applies to all five nav-
|
|
15
|
+
item shapes (action-row leaf, button leaf, `NestedFolderItem`,
|
|
16
|
+
`CollapsibleNavItem` with children/actions, `NavLink` fallthrough) and
|
|
17
|
+
updates `ContainerDropZone` for visual parity.
|
|
18
|
+
|
|
19
|
+
Also fixes a related regression: the capture-phase
|
|
20
|
+
`onDragEnterCapture` / `onDragOverCapture` handlers were calling
|
|
21
|
+
`e.stopPropagation()`, which short-circuits React's synthetic dispatch
|
|
22
|
+
and prevented the bubble-phase `onDragEnter` (where state actually
|
|
23
|
+
mutates) from running. Removed — `preventDefault()` alone is enough to
|
|
24
|
+
mark the element as droppable.
|
|
25
|
+
|
|
26
|
+
- Updated dependencies [689d3e9]
|
|
27
|
+
- @iloveagents/foundry-web-ui@0.1.1
|
|
28
|
+
- @iloveagents/foundry-agent@0.1.1
|
|
29
|
+
- @iloveagents/foundry-web-primitives@0.1.1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iloveagents/foundry-web-shell",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./src/index.ts",
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"@assistant-ui/react": "^0.12.25",
|
|
18
18
|
"lucide-react": ">=0.400.0",
|
|
19
19
|
"zustand": "^5.0.0",
|
|
20
|
-
"@iloveagents/foundry-agent": "0.1.
|
|
21
|
-
"@iloveagents/foundry-web-
|
|
22
|
-
"@iloveagents/foundry-web-
|
|
20
|
+
"@iloveagents/foundry-agent": "0.1.1",
|
|
21
|
+
"@iloveagents/foundry-web-ui": "0.1.1",
|
|
22
|
+
"@iloveagents/foundry-web-primitives": "0.1.1"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"typescript": "~5.9.3",
|