cos-design 3.5.4 → 3.5.5
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 +11 -0
- package/dist/index.cjs +3 -3
- package/dist/index.js +1034 -540
- package/dist/src/components/index.d.ts +11 -1
- package/dist/src/components/weatherBackground/day-cycle.d.ts +53 -0
- package/dist/src/components/weatherBackground/fog.d.ts +25 -0
- package/dist/src/components/weatherBackground/hail-level.d.ts +24 -0
- package/dist/src/components/weatherBackground/live-weather.d.ts +51 -2
- package/dist/src/components/weatherBackground/precipitation.d.ts +51 -0
- package/dist/src/components/weatherBackground/scene/init-state.d.ts +29 -0
- package/dist/src/components/weatherBackground/scene/runtime.d.ts +19 -2
- package/dist/src/components/weatherBackground/smog.d.ts +17 -0
- package/dist/src/components/weatherBackground/sprites/hail.d.ts +8 -2
- package/dist/src/components/weatherBackground/types.d.ts +63 -9
- package/dist/src/components/weatherBackground/wind.d.ts +68 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ 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.5.5] - 2026-07-24
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- `WeatherBackground`:按当地日出日落自动昼夜;`time` / `windLevel` 可调,自然风场驱动云雨雪与风条
|
|
13
|
+
- `WeatherBackground`:雨 / 雪合并为 `rain` / `snow`,新增 `rainLevel` / `snowLevel`(1~10)连续强度
|
|
14
|
+
- `WeatherBackground`:雾 / 冰雹 / 霾三档强度(`fogLevel` / `hailLevel` / `smogLevel`),实况模式自动推导
|
|
15
|
+
- `WeatherBackground`:Demo 支持城市选择、时刻 / 风速 / 强度滑块与 Open-Meteo 实时天气
|
|
16
|
+
- @cos-design/weather-background: 3.5.3 → 3.5.4
|
|
17
|
+
- cos-design: 聚合包更新至 3.5.5
|
|
18
|
+
|
|
8
19
|
## [3.5.4] - 2026-07-24
|
|
9
20
|
|
|
10
21
|
### Changed
|