@dfosco/storyboard-core 3.11.0-beta.2 → 3.11.0-beta.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dfosco/storyboard-core",
3
- "version": "3.11.0-beta.2",
3
+ "version": "3.11.0-beta.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -6,7 +6,10 @@
6
6
  "label:open-ext": "Open in new tab",
7
7
  "label:zoom-in": "Zoom in",
8
8
  "label:zoom-out": "Zoom out",
9
- "label:edit": "Edit"
9
+ "label:edit": "Edit",
10
+ "label:download": "Download image",
11
+ "label:copy-png": "Copy as PNG",
12
+ "label:copy-path": "Copy file path"
10
13
  },
11
14
  "widgets": {
12
15
  "sticky-note": {
@@ -95,7 +98,9 @@
95
98
  "width": { "type": "number", "label": "Width", "category": "size", "min": 100 },
96
99
  "height": { "type": "number", "label": "Height", "category": "size", "min": 60 }
97
100
  },
98
- "features": []
101
+ "features": [
102
+ { "id": "copy-link", "type": "action", "action": "copy-link", "label": "$label:copy-link", "icon": "link", "menu": true }
103
+ ]
99
104
  },
100
105
  "image": {
101
106
  "label": "Image",
@@ -109,6 +114,11 @@
109
114
  "features": [
110
115
  { "id": "toggle-private", "type": "action", "action": "toggle-private", "label": "Make private", "icon": "eye" },
111
116
  { "id": "copy", "type": "action", "action": "copy", "label": "$label:duplicate", "icon": "copy" },
117
+ { "id": "image-actions", "type": "dropdown", "icon": "chevron-down", "label": "Image actions", "items": [
118
+ { "action": "download-image", "label": "$label:download", "icon": "download" },
119
+ { "action": "copy-as-png", "label": "$label:copy-png", "icon": "copy" },
120
+ { "action": "copy-file-path", "label": "$label:copy-path", "icon": "link" }
121
+ ]},
112
122
  { "id": "copy-link", "type": "action", "action": "copy-link", "label": "$label:copy-link", "icon": "link", "menu": true },
113
123
  { "id": "delete", "type": "action", "action": "delete", "label": "$label:delete", "icon": "trash", "menu": true }
114
124
  ]