Commit 42f4ce9
refactor(calendar): 移除默认 popup,独立出 calendar 页面,并重构其他 api (#926)
* feat(calendar): 新增 bottom 自定义区域并移除内置时间选择器
* [autofix.ci] apply automated fixes
* refactor(calendar): 重构示例代码并合并bottomExpanded属性
* [autofix.ci] apply automated fixes
* refactor(calendar): 提取动画常量并补充 bottom 文档说明
* refactor(calendar): 完善弹窗生命周期与底部区域响应式
* [autofix.ci] apply automated fixes
* chore(coverage): 移除已删除 t_date_picker 相关 lcov 记录
日历重构后 date_picker_model 与 t_date_picker 已不存在,清理残留覆盖率条目。
Co-authored-by: Cursor <cursoragent@cursor.com>
* refactor(calendar): enhance bottom area handling and assert conditions
* [autofix.ci] apply automated fixes
* fix(calendar): 新增日期时间选择器并重构日历示例
* refactor: 调整 TDateTimePicker 导出顺序
* feat(calendar): 重构弹窗API为TCalendar.showPopup并更新示例
* [autofix.ci] apply automated fixes
* refactor(calendar): 重构API使用DateTime替代时间戳
* fix(calendar): 修复日历越界及动画跳动并重构控制栏
* perf(calendar): 优化长距滚动性能并屏蔽中间月份回调
* refactor(calendar): 将选中态决策逻辑从 cell 上移至 state
* test(calendar): 更新日历组件测试以适配DateTime类型API
* fix(calendar): 修正范围选择点击时上报的语义类型
* [autofix.ci] apply automated fixes
* refactor(calendar): 精简农历日历示例代码
* feat(calendar): 添加自定义确认按钮支持并更新日历示例代码
* feat(calendar): 添加弹窗底部自定义区域支持,更新相关逻辑和测试用例
* [autofix.ci] apply automated fixes
* feat(calendar): 更新日历组件生成逻辑,添加 TCalendarInherited 支持并完善文档
* [autofix.ci] apply automated fixes
* feat(calendar): 更新日历组件以支持自定义单元格和副标题,重构相关逻辑
* [autofix.ci] apply automated fixes
* feat(calendar): 引入 LunarInfo 类以支持农历信息,更新日历组件逻辑和示例代码
* [autofix.ci] apply automated fixes
* Merge branch 'develop' into rss1102/refactor/calendar-bottom-slot
* refactor(calendar): remove draggable option from TCalendar and update documentation for showPopup method
* refactor(calendar): rename popupBottomBuilder and popupBottomExpanded to popupOverlayBuilder and popupOverlayExpanded, update documentation and examples accordingly
* [autofix.ci] apply automated fixes
* chore(calendar): 删除农历支持相关文档和示例代码
* [autofix.ci] apply automated fixes
* refactor(date-time-picker): 更新文档说明,明确组件间独立性与复用关系
* refactor(calendar): 更新区间选择说明,明确点击规则与禁用日期处理
* [autofix.ci] apply automated fixes
* refactor(calendar): 更新日历组件文档,明确浮层与选中逻辑
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent f139aa2 commit 42f4ce9
44 files changed
Lines changed: 4771 additions & 8546 deletions
File tree
- tdesign-component
- coverage
- demo_tool
- example
- assets
- api
- code
- lib
- page
- macos
- test
- lib/src
- components
- calendar
- date_time_picker
- dialog
- picker
- popup
- theme
- test
- tdesign-site/src
- calendar
- date-time-picker
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
0 commit comments