@daydreamui/pages 0.0.0-stage → 0.3.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/icon.svg ADDED
@@ -0,0 +1,5 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke-width="1.8" stroke-linecap="square" stroke-linejoin="miter">
2
+ <path d="M3 16V3h13" stroke="#839999"/>
3
+ <path d="M7 7h14v14H7V7Z" stroke="#E7E5DE"/>
4
+ <path d="M11 12h6" stroke="#F66A2C"/>
5
+ </svg>
package/manifest.json ADDED
@@ -0,0 +1,17 @@
1
+ {
2
+ "id": "daydream.pages",
3
+ "name": "Pages",
4
+ "description": "Lists every page of the project; drag one onto the canvas to view it.",
5
+ "version": "0.3.0",
6
+ "api": "3.1",
7
+ "contributes": {
8
+ "panels": [
9
+ "pages"
10
+ ],
11
+ "commands": [
12
+ "daydream.pages.cancel-delete"
13
+ ],
14
+ "instructions": "The Pages panel lists every page of the open project (daydream.json's pages), by path, with its <title>, how many viewports of it the canvas shows, and a page whose file is gone marked missing. Dragging a page's name onto the canvas lands a viewport of it where it is let go: the drag carries the viewport's outline at the canvas's zoom, held by its top-left, and the viewport takes the frame of the page's last viewport (else 960 wide, full page) and is selected, as one undo step. A click on a page's name selects all its viewports on the current canvas and brings them into view together; by keyboard, Enter on a page off the canvas places a viewport of it in the middle of the view. Double-clicking the name, or its pencil, edits the page's path: Enter (or leaving the field) renames the file through Daydream (dd.renamePage); a folder typed moves it there, and Daydream writes the page's relative urls from the new folder; Escape cancels. Its trash asks again, then deletes the file and its viewports (dd.deletePage). Neither a rename nor a delete can be undone. New page asks for a title and makes an empty page of the project through Daydream (named after the title, at the project's root), places it in the middle of the view (the part no pinned panel covers) and selects it. Search filters by path and title. The view icons switch between a flat list and variants threaded below their originals; matching variants keep their original visible as context. Variant provenance and viewport counts appear beside filenames. Row actions appear directly when the pane has space, otherwise in the three-dot menu. Delete asks for confirmation in the same place; Cancel keeps the file."
15
+ },
16
+ "built": "dist/index.js"
17
+ }
package/package.json CHANGED
@@ -1,6 +1,17 @@
1
1
  {
2
2
  "name": "@daydreamui/pages",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.3.0",
4
+ "type": "module",
5
+ "description": "Lists every page of the project; drag one onto the canvas to view it.",
6
+ "keywords": [
7
+ "daydream-plugin"
8
+ ],
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/martinbavio/daydream-plugins.git",
15
+ "directory": "plugins/daydream.pages"
16
+ }
17
+ }
package/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Temporary Holding Version
2
-
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.