cos-design 3.7.5 → 3.7.7
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 +39 -0
- package/README.md +5 -3
- package/dist/index.cjs +3 -3
- package/dist/index.css +1 -1
- package/dist/index.js +1790 -1700
- package/dist/src/components/aurora/index.d.ts +2 -0
- package/dist/src/components/bubbleField/types.d.ts +2 -0
- package/dist/src/components/cyberGrid/index.d.ts +2 -0
- package/dist/src/components/meteorRain/index.d.ts +2 -0
- package/dist/src/components/rippleWater/index.d.ts +2 -0
- package/dist/src/components/smokeFog/index.d.ts +2 -0
- package/dist/src/components/snowfall/index.d.ts +2 -0
- package/dist/src/components/starfield/index.d.ts +2 -0
- package/dist/src/components/weatherBackground/types.d.ts +2 -0
- package/package.json +1 -1
|
@@ -22,6 +22,8 @@ export type WeatherType = 'sunny' | 'partlyCloudy' | 'overcast'
|
|
|
22
22
|
export interface WeatherBackgroundProps {
|
|
23
23
|
width?: number;
|
|
24
24
|
height?: number;
|
|
25
|
+
/** 为 true 时铺满父容器(父级需有明确高度) */
|
|
26
|
+
fill?: boolean;
|
|
25
27
|
/** 天气类型:sunny / partlyCloudy / overcast / rain 雨天 / thunderstorm / fog / snow 雪天 / sleet / hail / smog;雨量用 rainLevel,雪量用 snowLevel,风效用 windLevel */
|
|
26
28
|
weather?: WeatherType;
|
|
27
29
|
/**
|
package/package.json
CHANGED