@bhxch/vviewer-lightbox 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/README.md +11 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -6,6 +6,12 @@
|
|
|
6
6
|
样式由宿主按类名约定自备(web 端示例见 `apps/web/src/app.css` 的 `.md-lightbox-*`
|
|
7
7
|
规则组,app.css:217-237)。
|
|
8
8
|
|
|
9
|
+
## 安装
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @bhxch/vviewer-lightbox
|
|
13
|
+
```
|
|
14
|
+
|
|
9
15
|
## 公共导出面(`src/index.ts`)
|
|
10
16
|
|
|
11
17
|
| 符号 | 说明 |
|
|
@@ -52,3 +58,8 @@ body 级 overlay 是跨渲染实例的单例:宿主每次 render 生成唯一
|
|
|
52
58
|
(相对形式不变)。零第三方依赖、无资产文件,无需额外拷贝步骤。
|
|
53
59
|
- `LIGHTBOX_OVERLAY_ID` / 类名基名是跨端契约面:发布版与宿主样式、导出剥离逻辑
|
|
54
60
|
必须同步演进。
|
|
61
|
+
|
|
62
|
+
## 仓库与许可
|
|
63
|
+
|
|
64
|
+
- 仓库:[bhxch/vviewer](https://github.com/bhxch/vviewer),源码位于 `packages/vviewer-lightbox/`
|
|
65
|
+
- 许可:Apache-2.0;第三方依赖许可见仓库 `THIRD_PARTY_NOTICES.md`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bhxch/vviewer-lightbox",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -25,5 +25,5 @@
|
|
|
25
25
|
"directory": "packages/vviewer-lightbox"
|
|
26
26
|
},
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
|
-
"contentHash": "
|
|
28
|
+
"contentHash": "703f278b5a226118"
|
|
29
29
|
}
|