cos-design 3.8.0 → 3.8.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/CHANGELOG.md +19 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +118 -103
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [3.8.1] - 2026-09-01
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- AI:`docs/campaign-recipes-ai.md` 活动页组合配方(签到抽奖 / 刮刮乐庆祝 / 服务端转盘);`llms.txt` / `docs/ai.md` 同步 Campaign recipes 章节
|
|
15
|
+
- Playwright smoke:ScratchCard 刮开、SlotMachine 旋转、Confetti 挂载
|
|
16
|
+
- ScratchCard:`data-testid="scratch-card-canvas"` 与 `aria-label`
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- `Turntable` / `SlotMachine` / `NineGrid`:`prefers-reduced-motion: reduce` 时跳过旋转动画,直接展示结果
|
|
21
|
+
- Context7 rules 补充 campaign-recipes 与抽奖 reduced-motion 约定;`verify:context7` optional markers 扩展
|
|
22
|
+
- CONTRIBUTING 增加工程质量清单;AGENTS / Cursor Skill 指向 campaign-recipes-ai
|
|
23
|
+
- @cos-design/nine-grid: 3.7.10 → 3.7.11
|
|
24
|
+
- @cos-design/scratch-card: 3.5.4 → 3.5.5
|
|
25
|
+
- @cos-design/slot-machine: 3.5.6 → 3.5.7
|
|
26
|
+
- @cos-design/turntable: 3.5.6 → 3.5.7
|
|
27
|
+
- cos-design: 聚合包更新至 3.8.1
|
|
28
|
+
|
|
10
29
|
## [3.8.0] - 2026-08-31
|
|
11
30
|
|
|
12
31
|
### Added
|