@5even7/dlc-ui 0.2.14 → 0.2.15
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/CHANGELOG.md +3 -2
- package/README.md +1 -1
- package/dist/emo.cjs +2 -17873
- package/dist/emo.mjs +2 -1
- package/dist/index.cjs +2 -17873
- package/dist/index.mjs +2 -1
- package/dist/index.umd.js +2 -17873
- package/dist/index.umd.min.js +1 -1
- package/dist/vue2.cjs +2 -17873
- package/dist/vue2.mjs +2 -1
- package/dist/vue3.cjs +2 -17873
- package/dist/vue3.mjs +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
> **发版规则**:默认每次发布只递增补丁号(0.x.y → 0.x.(y+1),即 +0.01);除非手动明确指定新版本号,否则不升次版本。
|
|
4
4
|
|
|
5
|
-
## 0.2.
|
|
5
|
+
## 0.2.15 - 2026-08-14
|
|
6
|
+
- 首个表情家族为 `type="miao"`,内置 23 个完整 Lottie 动作;素材生成阶段仍会校验并排除没有图层的空动画。
|
|
6
7
|
|
|
8
|
+
## 0.2.14 - 2026-08-14
|
|
7
9
|
- 新增dlc-emo表情包组件
|
|
8
10
|
|
|
9
11
|
## 0.2.13 - 2026-08-14
|
|
10
12
|
|
|
11
13
|
- 新增第四类组件 `dlc-emo`:H5 `createEmo()`、Vue 2 / Vue 3 `DlcEmo`,并提供独立 `@5even7/dlc-ui/emo` 与样式入口。
|
|
12
|
-
- 首个表情家族为 `type="miao"`,内置 22 个有效 Lottie 动作;空数据素材在构建阶段自动剔除,避免运行时出现空白选项。
|
|
13
14
|
- Emo 支持主色 / 辅助色、非正方形尺寸、contain / cover、0.1~4 倍速、循环、自动播放、正倒播、暂停、帧片段、透明度、背景色、SVG / Canvas 渲染器、无障碍名称与减少动态偏好。
|
|
14
15
|
- 性能与兼容:SVG / Canvas 分别按需加载无表达式的 Lottie light 播放器,未创建 Emo 时不执行播放器代码,避免影响前三类组件与 SSR 导入。
|
|
15
16
|
- 补齐 Emo 类型声明、默认值、控制器方法、生命周期事件和素材生成测试;素材没有稳定器官语义,因此未提供无法可靠生效的左眼 / 右眼等伪 API。
|
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ npm install @5even7/dlc-ui
|
|
|
25
25
|
|
|
26
26
|
`dlc-color` 复用同一套星云渲染器,只做背景层,直接使用上表 capsule 的 6 个预置。
|
|
27
27
|
|
|
28
|
-
`dlc-emo` 当前提供 `type="miao"` 与
|
|
28
|
+
`dlc-emo` 当前提供 `type="miao"` 与 23 个动作名:`angry / cry / sad / sigh / investigate / mute / ponder / question / static / asleep / yawn / badminton / confident / laugh / leisure / music / smile / yummy / mock / shy / snigger / panic / shocked`。`type` 为后续 `wang` 等素材家族保留扩展空间。
|
|
29
29
|
|
|
30
30
|
`preset` 只接受上表中的文学名称(如 `'沧溟'`),大小写不敏感、首尾空格忽略;不传时使用默认预置 `初光`(胶囊/背景层)或 `星火`(进度条)。`colors`、`seed`、`speed` 是独立属性,传了覆盖预置内置值,不传用预置默认值。
|
|
31
31
|
|