cos-design 3.7.10 → 3.7.11
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 +23 -7
- package/README.md +2 -1
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +79 -77
- package/dist/src/components/confetti/index.d.ts +5 -1
- package/dist/src/components/fireworks/index.d.ts +5 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,17 +5,28 @@ 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
|
-
## [
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [3.7.11] - 2026-08-27
|
|
11
|
+
|
|
12
|
+
### Removed
|
|
13
|
+
|
|
14
|
+
- Playground「活动配方」整页路由与导航(`#/recipes`);活动组合改走 [examples/next-app](./examples/next-app) 与 [docs/campaign-10-minutes.md](./docs/campaign-10-minutes.md)
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- Confetti / Fireworks:`interactive`(默认跟随 `auto`;`auto={false}` 不拦截指针)
|
|
19
|
+
- Next 示例 README「3-step fork」;活动页入口改指向 Next 示例与 10 分钟指南
|
|
9
20
|
|
|
10
21
|
### Changed
|
|
11
22
|
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
- @cos-design/
|
|
15
|
-
- @cos-design/
|
|
16
|
-
- cos-design: 聚合包更新至 3.7.
|
|
23
|
+
- Confetti/Fireworks 在 `auto={false}` 时默认不拦截指针;交互 smoke 改在组件页(FlipCard / NineGrid / Turntable)
|
|
24
|
+
- campaign-patterns 补充 celebration vs controls 约定
|
|
25
|
+
- @cos-design/confetti: 3.5.5 → 3.5.6
|
|
26
|
+
- @cos-design/fireworks: 3.5.5 → 3.5.6
|
|
27
|
+
- cos-design: 聚合包更新至 3.7.11
|
|
17
28
|
|
|
18
|
-
## [
|
|
29
|
+
## [3.7.10] - 2026-08-27
|
|
19
30
|
|
|
20
31
|
### Added
|
|
21
32
|
|
|
@@ -29,6 +40,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
29
40
|
|
|
30
41
|
- `Aurora`:标签页隐藏时暂停 CSS 动画(`bindVisibilityPause`)
|
|
31
42
|
- AGENTS / Cursor Skill 强化「何时不用 cos-design」;Context7 rules 补充活动页约定
|
|
43
|
+
- @cos-design/aurora: 3.5.4 → 3.5.5
|
|
44
|
+
- @cos-design/nine-grid: 3.7.9 → 3.7.10
|
|
45
|
+
- @cos-design/slot-machine: 3.5.5 → 3.5.6
|
|
46
|
+
- @cos-design/turntable: 3.5.5 → 3.5.6
|
|
47
|
+
- cos-design: 聚合包更新至 3.7.10
|
|
32
48
|
|
|
33
49
|
## [3.7.9] - 2026-08-27
|
|
34
50
|
|
package/README.md
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
[](https://react.dev/)
|
|
12
12
|
[](https://www.typescriptlang.org/)
|
|
13
13
|
|
|
14
|
-
[Playground](https://jiaxiantao.github.io/cos-design/) · [Quickstart](./QUICKSTART.md) · [llms.txt](https://jiaxiantao.github.io/cos-design/llms.txt) · [AI discovery](./docs/ai-discovery.md) · [Next.js example](./examples/next-app) · [EN guide](./website-content/cos-design-marketing-effects-en.md) · [中文指南](./website-content/cos-design-intro.md) · [Changelog](./CHANGELOG.md)
|
|
14
|
+
[Playground](https://jiaxiantao.github.io/cos-design/) · [Quickstart](./QUICKSTART.md) · [**10-minute campaign**](./docs/campaign-10-minutes.md) · [llms.txt](https://jiaxiantao.github.io/cos-design/llms.txt) · [AI discovery](./docs/ai-discovery.md) · [Next.js example](./examples/next-app) · [EN guide](./website-content/cos-design-marketing-effects-en.md) · [中文指南](./website-content/cos-design-intro.md) · [Changelog](./CHANGELOG.md)
|
|
15
15
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
@@ -43,6 +43,7 @@ export function Campaign() {
|
|
|
43
43
|
|
|
44
44
|
- **Use for:** campaign / lottery / celebration UI, canvas backgrounds, animated headlines, dashboard decorations
|
|
45
45
|
- **Do not use for:** tables, forms, nav shells → use Ant Design / shadcn / MUI
|
|
46
|
+
- **Start here (campaign):** [Build a campaign page in 10 minutes](./docs/campaign-10-minutes.md) · runnable [examples/next-app](./examples/next-app)
|
|
46
47
|
- **AI index:** https://jiaxiantao.github.io/cos-design/llms.txt · **Context7:** `/jiaxiantao/cos-design`
|
|
47
48
|
- **Cursor Skill install:** see [docs/ai-discovery.md](./docs/ai-discovery.md)
|
|
48
49
|
- **Article:** [React marketing page effects with cos-design](./website-content/cos-design-marketing-effects-en.md)
|