Compare commits

...

3 Commits

Author SHA1 Message Date
hamster1963
bf959fbb9a bump version to 2.6.2 2025-02-05 01:24:01 +08:00
hamster1963
d9b83b9c34 chore: update project dependencies to latest versions 2025-02-05 01:23:51 +08:00
hamster1963
9fc050c2a1 refactor: simplify seconds display in Overview time component 2025-02-05 01:23:22 +08:00
3 changed files with 7 additions and 13 deletions

View File

@ -136,13 +136,7 @@ function Overview() {
digits={{ 1: { max: 5 } }} digits={{ 1: { max: 5 } }}
format={{ minimumIntegerDigits: 2 }} format={{ minimumIntegerDigits: 2 }}
/> />
<NumberFlow <p className="mt-[0.5px]">:{time.ss.toString().padStart(2, "0")}</p>
prefix=":"
trend={1}
value={time.ss}
digits={{ 1: { max: 5 } }}
format={{ minimumIntegerDigits: 2 }}
/>
</div> </div>
</NumberFlowGroup> </NumberFlowGroup>
</div> </div>

BIN
bun.lockb

Binary file not shown.

View File

@ -1,6 +1,6 @@
{ {
"name": "nezha-dash", "name": "nezha-dash",
"version": "2.6.1", "version": "2.6.2",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3040", "dev": "next dev -p 3040",
@ -29,8 +29,8 @@
"@trivago/prettier-plugin-sort-imports": "^5.2.2", "@trivago/prettier-plugin-sort-imports": "^5.2.2",
"@types/d3-geo": "^3.1.0", "@types/d3-geo": "^3.1.0",
"@types/luxon": "^3.4.2", "@types/luxon": "^3.4.2",
"babel-plugin-react-compiler": "^19.0.0-beta-27714ef-20250124", "babel-plugin-react-compiler": "^19.0.0-beta-e552027-20250112",
"caniuse-lite": "^1.0.30001696", "caniuse-lite": "^1.0.30001697",
"class-variance-authority": "^0.7.1", "class-variance-authority": "^0.7.1",
"clsx": "^2.1.1", "clsx": "^2.1.1",
"cmdk": "^1.0.4", "cmdk": "^1.0.4",
@ -61,12 +61,12 @@
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.9.4", "@biomejs/biome": "1.9.4",
"@next/bundle-analyzer": "^15.1.6", "@next/bundle-analyzer": "^15.1.6",
"@tailwindcss/postcss": "^4.0.2", "@tailwindcss/postcss": "^4.0.3",
"@types/node": "^22.13.0", "@types/node": "^22.13.1",
"@types/react": "^19.0.8", "@types/react": "^19.0.8",
"@types/react-dom": "^19.0.3", "@types/react-dom": "^19.0.3",
"postcss": "^8.5.1", "postcss": "^8.5.1",
"tailwindcss": "^4.0.2", "tailwindcss": "^4.0.3",
"typescript": "^5.7.3", "typescript": "^5.7.3",
"vercel": "^39.4.2" "vercel": "^39.4.2"
}, },