cos-design 3.7.8 → 3.7.10
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 +40 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +52 -41
- package/dist/src/components/flipCard/index.d.ts +11 -9
- package/dist/src/components/nineGrid/index.d.ts +11 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,8 +5,48 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [3.7.10] - 2026-08-27
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- @cos-design/aurora: 3.5.4 → 3.5.5
|
|
13
|
+
- @cos-design/nine-grid: 3.7.9 → 3.7.10
|
|
14
|
+
- @cos-design/slot-machine: 3.5.5 → 3.5.6
|
|
15
|
+
- @cos-design/turntable: 3.5.5 → 3.5.6
|
|
16
|
+
- cos-design: 聚合包更新至 3.7.10
|
|
17
|
+
|
|
8
18
|
## [Unreleased]
|
|
9
19
|
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Playground 配方页「可复制片段」(`recipe-snippets` + 一键复制)
|
|
23
|
+
- Next 示例主链路:`CampaignFlow`(fill hero → FlipCard → NineGrid → Confetti)
|
|
24
|
+
- 文档:[docs/campaign-10-minutes.md](./docs/campaign-10-minutes.md)、[docs/campaign-patterns.md](./docs/campaign-patterns.md)
|
|
25
|
+
- Playwright 交互 smoke:翻牌 / 九宫格 busy / 转盘出结果 / checkin-draw 解锁
|
|
26
|
+
- `NineGrid.spinningText`;Turntable / SlotMachine / NineGrid 按钮 `aria-busy` + `data-testid`
|
|
27
|
+
|
|
28
|
+
### Changed
|
|
29
|
+
|
|
30
|
+
- `Aurora`:标签页隐藏时暂停 CSS 动画(`bindVisibilityPause`)
|
|
31
|
+
- AGENTS / Cursor Skill 强化「何时不用 cos-design」;Context7 rules 补充活动页约定
|
|
32
|
+
|
|
33
|
+
## [3.7.9] - 2026-08-27
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- Playground 配方「签到后抽奖」(FlipCard → NineGrid → Confetti)
|
|
38
|
+
- Next 示例加深:`CampaignCheckin`(FlipCard 解锁 NineGrid + `/api/draw?cells=9`)
|
|
39
|
+
- Playwright smoke:NineGrid / FlipCard 组件页与 checkin-draw 配方
|
|
40
|
+
|
|
41
|
+
### Changed
|
|
42
|
+
|
|
43
|
+
- NineGrid / FlipCard Playground 属性说明改为中文源 + EN 映射;`extract-props` 支持 forwardRef 换行解构默认值
|
|
44
|
+
- `pnpm verify:context7`:区分 required(`fill` / `next-app`)与 optional markers
|
|
45
|
+
- [docs/ai-discovery.md](./docs/ai-discovery.md) 同步健康状态与 refresh 冷却说明(勿把 API key 写入仓库)
|
|
46
|
+
- @cos-design/flip-card: 3.7.8 → 3.7.9
|
|
47
|
+
- @cos-design/nine-grid: 3.7.8 → 3.7.9
|
|
48
|
+
- cos-design: 聚合包更新至 3.7.9
|
|
49
|
+
|
|
10
50
|
## [3.7.8] - 2026-08-26
|
|
11
51
|
|
|
12
52
|
### Added
|