From 41d0745441a9e1b32e85b76686e9c8d4f9783ecd Mon Sep 17 00:00:00 2001 From: AI Engineer Date: Fri, 29 May 2026 22:45:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=9E=E7=8E=B0=20DatePicker=20(?= =?UTF-8?q?=E5=90=AB=E8=8C=83=E5=9B=B4=E9=80=89=E6=8B=A9)=E3=80=81ColorPic?= =?UTF-8?q?ker=20=E5=8F=8A=20IconPicker=20=E6=8E=A7=E4=BB=B6=20(by=20AI)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 7 + README.md | 7 +- TEST.md | 13 +- dist/base.js | 153 +++++++++++++++++ dist/base.min.js | 2 +- package.json | 2 +- src/controls.js | 162 ++++++++++++++++++ src/index.js | 1 + .../error-context.md | 90 +--------- test/base.test.js | 38 +++- test/index.html | 25 ++- 11 files changed, 403 insertions(+), 97 deletions(-) create mode 100644 src/controls.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 93d3d0d..ca00693 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [1.0.7] - 2026-05-29 +### Added +- DatePicker: New control with range support (main/shadow field sync). +- ColorPicker: New control with color input and text hex input. +- IconPicker: New control with searchable Bootstrap Icons grid. +- AutoForm: Automatically registered the new controls. + ## [1.0.6] - 2026-05-27 ### Added - AutoForm: Support data-driven visibility using `field.if` (utilizing state's `$$` double-calculation). diff --git a/README.md b/README.md index 9ed2f36..850d0bd 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ ### 2. 导出清单 * **Logic**: `HTTP`, `UI`, `State`, `MouseMover` -* **Components**: ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, ``, `