@qzsy/dsh-image-viewer 0.1.0 → 0.2.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/locale/en.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "Image Viewer",
4
- "description": "Full-screen viewer for conversation images with iPhone Photos-style gestures: zoom from thumbnail, pinch and double-tap zoom, momentum pan, swipe between images, swipe down to close."
4
+ "description": "Full-screen viewer for conversation images with iPhone Photos-style gestures: zoom from thumbnail, pinch and double-tap zoom, momentum pan, swipe between images, swipe down to close; annotate with pen and shapes, then drop the result into the chat box."
5
5
  }
6
6
  }
package/locale/zh.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "meta": {
3
3
  "title": "图片查看器",
4
- "description": "点击对话中的图片全屏查看,交互接近 iPhone 相册:从缩略图放大打开,双指/双击缩放,惯性拖动,左右滑动切换图片,下滑关闭。"
4
+ "description": "点击对话中的图片全屏查看,交互接近 iPhone 相册:从缩略图放大打开,双指/双击缩放,惯性拖动,左右滑动切换图片,下滑关闭;可在图片上画笔、形状标注,完成后自动放进输入框。"
5
5
  }
6
6
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@qzsy/dsh-image-viewer",
3
- "version": "0.1.0",
4
- "description": "iPhone Photos-style full-screen image viewer for the DSH conversation: zoom from thumbnail, pinch/double-tap zoom, momentum pan, swipe between images, swipe down to close.",
3
+ "version": "0.2.1",
4
+ "description": "iPhone Photos-style full-screen image viewer for the DSH conversation: zoom from thumbnail, pinch/double-tap zoom, momentum pan, swipe between images, swipe down to close; annotate an image and drop it into the chat box.",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "author": "qzsy",
@@ -57,7 +57,7 @@
57
57
  "scripts": {
58
58
  "build": "bun run ../../scripts/build-package.mjs .",
59
59
  "typecheck": "bun exec tsc -p tsconfig.json --noEmit",
60
- "test": "node test/smoke.mjs"
60
+ "test": "node test/smoke.mjs && node test/layout.mjs && node test/editor.mjs"
61
61
  },
62
62
  "dshBuild": {
63
63
  "host": "src/index.ts",