From 0b8e1b29528a64b7a47292f63bc30d7e03a0929a Mon Sep 17 00:00:00 2001 From: AI Engineer Date: Sun, 28 Jun 2026 00:00:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(base):=20=E4=BF=AE=E5=A4=8D=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E4=B8=8EAPI=E9=A2=84=E8=AE=BE=E8=AF=B7=E6=B1=82?= =?UTF-8?q?=EF=BC=88by=20AI=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 ++ README.md | 11 +++- dist/base.js | 149 ++++++++++++++++++++++++++++++++++------------ dist/base.min.js | 2 +- src/API.js | 29 ++++++++- src/nav.js | 131 +++++++++++++++++++++++++++------------- test/base.test.js | 29 +++++++++ 7 files changed, 269 insertions(+), 87 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2357ebb..9c44d5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [1.0.21] - 2026-06-27 +### Fixed +- **API**: Preserved declarative preset fields injected through `$.request.*` when the `API` component initializes its internal reactive request state. +- **Nav**: Restored horizontal dropdown behavior by removing container-level clipping, added `label`/`class` support for menu grouping, and switched vertical mode dropdown groups to inline expansion so long sidebars can scroll without popup clipping. + ## [1.0.18] - 2026-06-11 ### Changed - **Component-Based Refactor**: Reorganized source code into independent, PascalCase named modules (e.g., `AutoForm.js`, `TagsInput.js`, `List.js`) to improve maintainability. diff --git a/README.md b/README.md index e85ad9a..56cfa83 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,9 @@ - + - + ```