Commit Graph

3089 Commits

Author SHA1 Message Date
申君健 05cb7930a2
fix: saas-design write the wrong icon name (#4295) 2026-08-05 11:24:02 +08:00
申君健 1544764b98
fix(common): 为子组件注入design添加兜底变量 (#4293) 2026-08-05 10:58:24 +08:00
vitlot-Hongchujie fdb2129f86
fix(tabs): 修复 showMoreTabs 模式下 overflow 计算滞后导致下拉菜单未及时更新(#4279) (#4272)
* fix(tabs): fix showMoreTabs overflow calculation lag caused by CSS transition

The nav element has CSS transition: transform 0.3s, which causes
getBoundingClientRect() to return pre-transition positions when
calcMorePanes runs in requestAnimationFrame (before the transition
has advanced).

Fix: use tab-relative-to-nav position delta (transition-invariant
since both share the same transform coordinate space) plus navOffset
to compute the final expected positions, bypassing the transition
intermediate state entirely.

Also replace nextTick with requestAnimationFrame in deferred
calcMorePanes calls to ensure all cascading DOM updates from
scrollToActiveTab -> updated() chains have settled.

* fix(tab-nav): trigger calcMorePanes after scrollPrev/scrollNext arrow click

* test(tabs): 修正 custom-more-icon 溢出下拉数量断言

showMoreTabs 溢出计算修正后按真实布局计算,容器 400px 减去
更多按钮占位后仅 5 个 tab 完整可见,下拉应为 Tab 6/7/8 共 3 项,
原断言 2 是基于旧实现 mount 早期量宽了 navScroll 的错误结果。
2026-08-05 09:19:25 +08:00
Georgyhongbo f83a76b7c3
docs(date-picker): 收窄 align demo 输入框,清晰展示左中右对齐效果 (#4287)
* docs(date-picker): 收窄 align demo 输入框,清晰展示左中右对齐效果

* docs(date-picker): 同步 align demo 宽度收窄到 composition-api 示例

reviewer 指出 PR #4287 漏改了 align-composition-api.vue,
将输入框宽度一并收窄到 240px,与 align.vue 保持一致。
2026-08-04 20:30:54 +08:00
liukun 1447be3d86
fix:多端表格切换到移动端时显示空白 (#4284) 2026-08-04 20:30:42 +08:00
Georgyhongbo b48ae0972c
fix(clickoutside): 修复拖选文本时误触发外部点击关闭的问题 (#4288)
* fix(clickoutside): 缓存 mousedown 的 composedPath,修复组件内拖选到外部松开时误触发外部点击关闭

composedPath() 在事件派发完成后会返回空数组,而 clickoutside 把 mousedown
事件存入 startClick,等到 mouseup 处理时才调用其 composedPath(),此时路径
已丢失,导致 mousedown 在组件内部的保护判断失效。修复为在 mousedown 派发
时立即缓存完整路径,mouseup 时使用缓存路径。

* test(color-picker): 增加 hex 输入框拖选文本时面板不应误关闭的回归测试
2026-08-04 20:13:15 +08:00
Georgyhongbo 45977b2eee
fix(color-select-panel): sync hex input to slider and color display on blur/enter (#4267)
When users type a hex color value directly in the text input,
the slider and color display should update accordingly.
Previously only slider->text direction worked, not text->slider.

- Add onInputBlur to sync state.input to color object on blur
- Add @keyup.enter to blur the input, triggering the sync
- Guard against empty input and linear-gradient mode
2026-08-04 20:11:46 +08:00
Georgyhongbo 1c4497c259
fix(demos): multiple-limit demo no longer shares v-model with custom-icon demo (#4286)
场景4「多选个数限制」与场景5「自定义图标+自定义样式」误用同一个
v-model,导致在场景5中选中超过限制数量的选项后,场景4也显示超限
选项,突破了 multiple-limit=2 的限制。

修复:为场景5分配独立 model(base-select 用 value5,select 用 value6),
两个场景互不影响。覆盖 base-select / select 的 pc 与 mobile-first
示例(含 composition-api 变体)。
2026-08-04 20:03:20 +08:00
Georgyhongbo bb894e68e1
fix(input): 为密码可见性切换按钮补上 mousedown.prevent,修复连续点击时误选中页面文本 (#4291) 2026-08-04 19:35:24 +08:00
申君健 4be2d53c13
fix(slider-button-group): lost ref in pc.vue (#4292) 2026-08-04 19:24:14 +08:00
申君健 46ab75ae0b
fix: svg function supports a bottom padding style across multiple devices. (#4289)
* fix: 消除一行css 警告

* fix: 多端下增加底托的类名
2026-08-04 09:32:10 +08:00
申君健 b9004f00c5
fix: 恢复指南菜单以及构建open模式,不带业务组件 (#4283) 2026-07-31 17:13:57 +08:00
gimmyhehe 5e0ae7cc04
fix(theme): update theme package version to 3.31.1 and improve CSS class selectors in reset.less (#4274) 2026-07-30 09:34:11 +08:00
申君健 560b6f79be
docs: add 3.31.0's changelog (#4275)
* fix: add 3.31.0's changelog

* fix: 升级playground版本号
2026-07-30 09:32:54 +08:00
申君健 64b9fc6f83
fix: compatible with the click behavior into saas-design (#4273)
* fix: 兼容AUI的折叠面板的点击行为

* fix: 重新更新collapse-item的点击事件

* fix: remove wrong code from alert
2026-07-29 15:10:16 +08:00
申君健 61e36078c7
fix: 兼容AUI的折叠面板的点击行为 (#4271) 2026-07-29 15:01:13 +08:00
zzcr 52eb2bd06e chore: update docs version 2026-07-27 19:13:29 +08:00
liukun 4be1cdfc6f
fix(vue-renderless/date-panel): 修复多时区场景下选中日期偏移一天的问题 (#4266)
预补偿 val - localOffset 后混用本地 getFullYear/getMonth 与 UTC 的 getUTCDate+1,导致所有时区偏移一天。

本地与 UTC 混用还会使西半球跨年/跨月边界错月错年。

改为统一读取 getUTCFullYear/getUTCMonth/getUTCDate,与预补偿语义一致,修正多时区及跨边界日期偏移。
2026-07-27 17:26:57 +08:00
zzcr 49f644b22b fix: 修复color-picker组件发包失败问题 2026-07-27 16:55:33 +08:00
申君健 b51b58bcc8
fix: sync theme-saas's tailwind classname of rounded-* (#4264)
* feat: 更新theme-saas配置文件

Match-id-3ee0e938f05e6e92cc8fd12b1902a2107e5b54b7

* fix: 更新rounded-form 之前4个类名

* fix: 补充rounded-form 后的2个类名

* fix: 优化脚本

---------

Co-authored-by: OpenTiny <opentiny@sina.com>
2026-07-27 14:42:18 +08:00
申君健 e5e921b3ab
fix: 修改E2E 测试位置的描述 (#4260) 2026-07-24 15:09:42 +08:00
liukun 162e1644e7
fix:穿梭框组件表头不支持固定 (#4257) 2026-07-24 15:09:16 +08:00
liukun 1b515ab8df
feat:富文本超链接支持跳转前拦截 (#4258) 2026-07-24 15:04:00 +08:00
James 9bb547140b
feat(switch): [switch] add display-only attribute (#4259)
* feat(switch): [switch] add display-only attribute

* fix(switch): modify the e2e-test
2026-07-24 15:03:34 +08:00
liukun 2d296622df
fix:窗口宽度变化横向滚动错位 (#4251) 2026-07-23 20:25:50 +08:00
申君健 c6783e2b7c
fix: fix e2e errors of dialog-select and modal (#4256)
* fix: fix dialog-select  e2e error

* fix: 修改model-event e2e测试

* fix: 还原文件
2026-07-23 14:41:28 +08:00
liukun c94102a989
fix:custom插槽filter模式显示错位 (#4252) 2026-07-23 14:30:58 +08:00
申君健 1fccd5c414
chore: update to version 3.31.0 (#4255) 2026-07-23 14:27:08 +08:00
wuyiping a360a6f35b
feat(slider-button): add slieder-button e2e (#4254)
* feat: add slieder-button e2e

* feat(slider-button): adapt theme style

* feat: add loading-open.svg to theme-saas
2026-07-23 14:26:25 +08:00
申君健 2a5150709d
fix(file-upload): 增强accept属性的适配算法 (#4253)
* fix(file-upload):  增强accept属性的适配算法

* fix: 修改检视意见
2026-07-22 16:52:53 +08:00
Yujing613 0dd1091377
fix(numeric): 移除numeric增减按钮z-index,解决表格内层级冲突问题 (#4244) 2026-07-22 14:15:00 +08:00
James fa23962cda
feat(alert): [alert] add small and medium sizes (#4248)
* feat(alert): [alert] add small and medium sizes

* fix: modify the review comments
2026-07-22 09:45:23 +08:00
James b86d7f9fd9
fix(drawer): add drag and drop icon(mobile-first) (#4249)
* fix(drawer): add drag and drop icon(mobile-first)

* fix: add demo(mobile-first)

* fix: modify the review comments
2026-07-22 09:44:49 +08:00
ajaxzheng 8b0022cdb5
feat: add SliderButton component (#4250)
* feat: add SliderButton component

* fix(sort-desc): update import paths for SVG components and refactor export to use arrow function

* chore: 修复检视意见

* chore:修复检视意见
2026-07-22 09:43:58 +08:00
James c1aa6fff59
fix(nav-menu): modify the misalignment issue of dropdown content (#4171)
* fix(nav-menu): modify the misalignment issue of dropdown content

* fix(nav-menu): modify problem

* fix: modify the review comments
2026-07-22 09:14:45 +08:00
James 9e383a27f3
feat(flowchart): example and documentation for adding Flowchart component (#4240)
* feat(flowchart): example and documentation for adding Flowchart component

* fix: modify the review comments
2026-07-22 09:11:51 +08:00
cfljue 839146d1dc
fix(vue-renderless/fluent-editor): Fix lineheight formatting to use 'line-height' (#4212)
Fix the issue where the line height setting for the rich text editor does not take effect
2026-07-21 14:21:42 +08:00
xuxiao1797 a0b3392278
fix(vue-renderless/file-upload): [file-upload] accept 支持 video/*、audio/* 通配符 (fixes #4237) (#4239)
isAcceptType 此前仅对 image/* 走扩展名白名单校验,video/*、audio/* 会落入
正则分支,其中的通配符 * 被当作正则量词,导致 mp4、mp3 等合法文件被误拦截。
改为统一的 MIME 通配符映射,复用 FILE_TYPE.VIDEO / FILE_TYPE.AUDIO 白名单。

补充 accept 通配符单元测试,用 BeforeUploadOptions 替代 as any。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-21 11:26:43 +08:00
James 72bcdfe803
fix: modify the problem of lazy load root node not triggering in tree menu component vue3 (#4242) 2026-07-21 10:17:11 +08:00
James 5ad55a68bc
fix(grid): modify saas theme (#4246)
* fix(grid): modify saas theme

* fix(grid): add pager variable
2026-07-20 14:18:21 +08:00
James 668b5fb425
feat(tag): [tag] add round attribute (#4247)
* feat(tag): [tag] add round attribute

* fix: supplementary type
2026-07-20 14:17:53 +08:00
James 18f9848f32
feat: the image component supports URL encoding SVG (#4241) 2026-07-07 09:41:10 +08:00
申君健 18c77f6d38
fix: base-select在清除时,不隐藏收起按钮,以及鼠标悬浮时增加zindex值 (#4243) 2026-07-07 09:39:46 +08:00
申君健 9e75faa786
fix(grid): 表格列筛选的属性位置错误 (#4238) 2026-07-06 15:44:03 +08:00
Malusnow 46d9cdd138
fix(vue-renderless/dialog-select):[dialog-select] fix the unsynchronized multi-selection checkboxes when opening for the first time. (#4201) 2026-06-27 16:02:00 +08:00
wuyiping 51d1c276fb
fix(grid): solve the error issue of clearSelected method (#4217) 2026-06-24 09:15:11 +08:00
Yujing613 04e52d2c1a
feat(drawer): add destroyOnClose to drawer (#4153)
* feat(drawer): add destroyOnClose to drawer

* test: add destroy-on-close test cases
docs: update drawer destroy-on-close description

* test(drawer): 完善 destroy-on-close 测试用例

* docs(drawer): update destroy-on-close stable version
2026-06-23 16:18:03 +08:00
wuyiping 569870bf84
feat(form-item): solve the problem that the size attribute of the button in the form component does not take effect (#4206) 2026-06-23 16:16:28 +08:00
wuyiping c8290d13a7
fix(vue-renderless/nav-menu): [nav-menu] 修复页面刷新时菜单偶发隐藏问题 (fixes #4167) (#4228)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 16:15:33 +08:00
wuyiping 36dfabb86d
feat: fix the issue where the menu cannot be collapsed due to the simultaneous activation of the attributes "menu-collapsible" and "width-adapt" (#4229) 2026-06-23 16:14:59 +08:00