release: bump version to 0.27.2
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,6 +8,14 @@ This project follows the repository versioning rule:
|
|||||||
- `improvement` -> `+0.0.1`(bugfix + 小功能混合)
|
- `improvement` -> `+0.0.1`(bugfix + 小功能混合)
|
||||||
- `bugfix` -> `+0.0.1`
|
- `bugfix` -> `+0.0.1`
|
||||||
|
|
||||||
|
## [0.27.2] — 2026-04-14
|
||||||
|
|
||||||
|
### 🔧 Improvements
|
||||||
|
- 修复 brand copy 宽度不随内容收缩的问题,现在与 title 图片宽度保持一致
|
||||||
|
- 提取 `--brand-copy-width` CSS 自定义属性,消除 160px / 172px 魔法数字重复
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## [0.27.1] — 2026-04-14
|
## [0.27.1] — 2026-04-14
|
||||||
|
|
||||||
### 🔧 Improvements
|
### 🔧 Improvements
|
||||||
|
|||||||
@@ -16,12 +16,13 @@
|
|||||||
## Current Version
|
## Current Version
|
||||||
|
|
||||||
- `main` 当前主线历史推导到:`0.16.5`
|
- `main` 当前主线历史推导到:`0.16.5`
|
||||||
- `dev` 当前开发分支历史推导到:`0.27.1`
|
- `dev` 当前开发分支历史推导到:`0.27.2`
|
||||||
|
|
||||||
## Timeline
|
## Timeline
|
||||||
|
|
||||||
| Version | Type | Branch | Commit | Summary |
|
| Version | Type | Branch | Commit | Summary |
|
||||||
| --- | --- | --- | --- | --- |
|
| --- | --- | --- | --- | --- |
|
||||||
|
| `0.27.2` | improvement | `dev` | — | 修复 brand copy 宽度问题,提取 --brand-copy-width CSS 变量 |
|
||||||
| `0.27.1` | improvement | `dev` | — | HUD 面板拖拽 L 形边界约束、brand 组件整体缩放、图层面板宽度优化、搜索叉叉修复 |
|
| `0.27.1` | improvement | `dev` | — | HUD 面板拖拽 L 形边界约束、brand 组件整体缩放、图层面板宽度优化、搜索叉叉修复 |
|
||||||
| `0.27.0` | feature | `dev` | — | Earth HUD 重构:图层面板、信息卡片悬浮定位、Fresnel 大气层渲染 |
|
| `0.27.0` | feature | `dev` | — | Earth HUD 重构:图层面板、信息卡片悬浮定位、Fresnel 大气层渲染 |
|
||||||
| `0.0.1-beta` | bootstrap | `main` | `e7033775` | first commit |
|
| `0.0.1-beta` | bootstrap | `main` | `e7033775` | first commit |
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "planet-frontend",
|
"name": "planet-frontend",
|
||||||
"version": "0.27.1",
|
"version": "0.27.2",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "bun@1",
|
"packageManager": "bun@1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
.hud-panel-brand {
|
.hud-panel-brand {
|
||||||
--brand-scale: 0.88;
|
--brand-scale: 0.88;
|
||||||
|
--brand-copy-width: 160px;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
padding: calc(18px * var(--hud-scale)) calc(20px * var(--hud-scale));
|
padding: calc(18px * var(--hud-scale)) calc(20px * var(--hud-scale));
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -51,16 +52,16 @@
|
|||||||
|
|
||||||
.hud-panel-brand .earth-brand__copy {
|
.hud-panel-brand .earth-brand__copy {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex: 1 1 auto;
|
flex: 0 0 auto;
|
||||||
min-width: 0;
|
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: calc(5px * var(--hud-scale) * var(--brand-scale));
|
gap: calc(5px * var(--hud-scale) * var(--brand-scale));
|
||||||
|
width: calc(var(--brand-copy-width) * var(--hud-scale) * var(--brand-scale));
|
||||||
}
|
}
|
||||||
|
|
||||||
.hud-panel-brand .earth-brand__title {
|
.hud-panel-brand .earth-brand__title {
|
||||||
display: block;
|
display: block;
|
||||||
width: min(100%, calc(160px * var(--hud-scale) * var(--brand-scale)));
|
width: min(100%, calc(var(--brand-copy-width) * var(--hud-scale) * var(--brand-scale)));
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
min-height: calc(20px * var(--hud-scale) * var(--brand-scale));
|
min-height: calc(20px * var(--hud-scale) * var(--brand-scale));
|
||||||
@@ -80,9 +81,6 @@
|
|||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
letter-spacing: 0.01em;
|
letter-spacing: 0.01em;
|
||||||
/* Prevent text from pushing brand wider than logo column */
|
|
||||||
width: fit-content;
|
|
||||||
max-width: 100%;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
@@ -93,15 +91,21 @@
|
|||||||
font-size: calc(0.6rem * var(--hud-scale) * var(--brand-scale));
|
font-size: calc(0.6rem * var(--hud-scale) * var(--brand-scale));
|
||||||
line-height: 1.3;
|
line-height: 1.3;
|
||||||
letter-spacing: 0.08em;
|
letter-spacing: 0.08em;
|
||||||
width: fit-content;
|
|
||||||
max-width: 100%;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.hud-panel-brand .earth-brand--en {
|
||||||
|
--brand-copy-width: 172px;
|
||||||
|
}
|
||||||
|
|
||||||
.hud-panel-brand .earth-brand--en .earth-brand__title {
|
.hud-panel-brand .earth-brand--en .earth-brand__title {
|
||||||
width: min(100%, calc(172px * var(--hud-scale) * var(--brand-scale)));
|
width: min(100%, calc(var(--brand-copy-width) * var(--hud-scale) * var(--brand-scale)));
|
||||||
|
}
|
||||||
|
|
||||||
|
.hud-panel-brand .earth-brand--en .earth-brand__copy {
|
||||||
|
width: calc(var(--brand-copy-width) * var(--hud-scale) * var(--brand-scale));
|
||||||
}
|
}
|
||||||
|
|
||||||
.hud-panel-brand .earth-brand--en .earth-brand__subtitle,
|
.hud-panel-brand .earth-brand--en .earth-brand__subtitle,
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "planet"
|
name = "planet"
|
||||||
version = "0.27.1"
|
version = "0.27.2"
|
||||||
description = "智能星球计划 - 态势感知系统"
|
description = "智能星球计划 - 态势感知系统"
|
||||||
requires-python = ">=3.14"
|
requires-python = ">=3.14"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
|
|||||||
Reference in New Issue
Block a user