@zl-ui-kit/icons 0.3.2 → 0.4.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/README.md +5 -2
- package/package.json +1 -1
- package/src/icons.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
# @zl-ui-kit/icons
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **完整使用文档**:[`@zl-ui-kit/components` 的 README(npm 页面)](https://www.npmjs.com/package/@zl-ui-kit/components) 即 UI 组件权威文档 ——
|
|
4
|
+
> 本包的 Hooks / 工具 / 主题 / 国际化用法都在其中,本文只保留本包速查与运行前提。
|
|
5
|
+
|
|
6
|
+
ZL UI 离线图标集(Iconify JSON 格式,prefix:`zl`),共 444 个图标,配合 `@iconify/vue` offline 模式使用。
|
|
4
7
|
|
|
5
8
|
## 安装与使用
|
|
6
9
|
|
|
@@ -16,7 +19,7 @@ presetIconifyIcon(icons) // 全局注册离线图标集
|
|
|
16
19
|
|
|
17
20
|
## 本地调试
|
|
18
21
|
|
|
19
|
-
改 `src/svg/**` 后执行 `pnpm --filter @zl-ui-kit/icons gen` 重新生成 `src/icons.json`,playground(`/icons`
|
|
22
|
+
改 `src/svg/**` 后执行 `pnpm --filter @zl-ui-kit/icons gen` 重新生成 `src/icons.json`,playground(`/icons` 页)刷新即可浏览全量图标。调试细节见 `@zl-ui-kit/components` README §11。
|
|
20
23
|
|
|
21
24
|
## 构建
|
|
22
25
|
|
package/package.json
CHANGED
package/src/icons.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"prefix": "zl",
|
|
3
|
-
"lastModified":
|
|
3
|
+
"lastModified": 1793003763,
|
|
4
4
|
"icons": {
|
|
5
5
|
"acl-color": {
|
|
6
6
|
"body": "<path fill=\"currentColor\" d=\"M18 14h12v2H18zm0 5h8v2h-8zm0-10h12v2H18z\"/><path fill=\"currentColor\" d=\"M22 24v4H6V16h8v-2h-4V8a4 4 0 017.668-1.6l1.832-.8A6.001 6.001 0 008 8v6H6a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2v-4Z\"/>",
|