github-actions[bot]
eaf2d40879
chore: bump versions
1 month ago
俞可 · YU KE
83d8c0765a
test( @vben-core/popup-ui ): add imperative alert/confirm regression tests ( #8319 )
Cover the imperative AlertBuilder path (alert()/confirm()/clearAllAlerts)
that issue #8052 reported: mouse click on the confirm button resolves the
promise, mouse click on cancel or Escape rejects with 'dialog cancelled',
and the mounted container is removed from the DOM afterwards.
Verified separately: oxlint/oxfmt/eslint clean, popup-ui typecheck clean,
vitest 7/7 passing. Full-repo checkType blocked by unrelated uncommitted
apps/web-ele/src/__tests__/repro-8214.test.ts (8214 track work).
Co-authored-by: EvoX <evox@evomap.ai>
1 month ago
github-actions[bot]
16ba48470a
chore: bump versions ( #8316 )
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 month ago
俞可 · YU KE
0b8750eafb
feat( @vben-core/popup-ui ): add extra header slot to modal ( #8310 )
Allow custom content to be rendered in the modal header, positioned to the
left of the fullscreen toggle button, via a new `extra` slot. Mirrors the
existing `extra` slot in the drawer component.
Co-authored-by: EvoX <evox@evomap.ai>
1 month ago
俞可 · YU KE
d7c4c1b045
test( @vben-core/popup-ui ): add drawer mouse and keyboard regression tests ( #8307 )
* test(@vben-core/popup-ui ): add drawer mouse and keyboard regression tests
Co-Authored-By: EvoX <evox@evomap.ai>
* style(@vben-core/popup-ui ): apply oxfmt formatting to drawer interaction tests
Co-Authored-By: EvoX <evox@evomap.ai>
---------
Co-authored-by: EvoX <evox@evomap.ai>
1 month ago
俞可 · YU KE
0750bb0176
test( @vben-core/popup-ui ): add modal mouse and keyboard regression tests ( #8306 )
* test(@vben-core/popup-ui ): add modal mouse and keyboard regression tests
Co-Authored-By: EvoX <evox@evomap.ai>
* fix(apps): pass withCredentials as request config, not body, for refresh/logout
Co-Authored-By: EvoX <evox@evomap.ai>
* style(@vben-core/popup-ui ): apply oxfmt formatting to modal interaction tests
Co-Authored-By: EvoX <evox@evomap.ai>
---------
Co-authored-by: EvoX <evox@evomap.ai>
1 month ago
俞可 · YU KE
34bb1cd6de
test( @vben-core/popup-ui ): add alert dialog mouse and keyboard regression tests ( #8303 )
* test(@vben-core/popup-ui ): add alert dialog mouse and keyboard regression tests
Co-Authored-By: EvoX <evox@evomap.ai>
* test(@vben-core/popup-ui ): add jsdoc to alert regression test helper
Co-Authored-By: EvoX <evox@evomap.ai>
---------
Co-authored-by: EvoX <evox@evomap.ai>
1 month ago
xueyitt
56f765f25a
feat: 支持提示弹框内容为空(兼容部分场景只有标题无需内容场景) ( #8291 )
1 month ago
Harold Zhang
fbd8ffac75
fix( @vben-core/shadcn-ui ): 修复弹窗关闭动画被取消时 closed 事件丢失导致弹窗无法关闭
closed/opened 事件仅由内容元素自身的 animationend 确认,当退出动画被跳过或
取消(reduced motion、动画中断、关闭中 class 变化)时事件永远不会触发,
弹窗保持可见、destroy-on-close 重挂载和 onClosed 监听器挂起。
提取共享 useDialogStateEvents 组合式函数(dialog/alert-dialog/sheet 三处
重复实现统一),同时监听 animationend/animationcancel(对齐 reka-ui Presence
语义),并在动画窗口后增加 300ms 兜底触发,配合 exactly-once 守卫保证关闭
链路恰好完成一次;onScopeDispose 清理定时器。补充 popup-ui 单测覆盖兜底
与恰好一次两条路径。
2 months ago
Dream
98761dce98
fix( @vben-core/popup-ui ): stabilize content popups across routes
Mount in-content drawers and modals to the persistent main content element.
Initialize drawer open state when mounted after the API opens.
Fixes vbenjs/vue-vben-admin#8210
2 months ago
Dream
21d9132703
feat( @vben-core/popup-ui )!: add typed popup data contracts
Bind shared data to modal and drawer APIs and infer it from exposed connected components.
BREAKING CHANGE: getData<T>() is replaced by getData().
Shared data defaults to unknown, and an unset payload returns undefined instead
of an empty object.
2 months ago
dream-weave
32495e40b2
fix( @vben-core/popup-ui ): rebind popup api after HMR ( #8217 )
* fix(@vben-core/popup-ui ): rebind popup api after hmr
* fix(@vben-core/popup-ui ): preserve options after remount
2 months ago
xueyitt
7182405d24
fix: 修复弹框自定义宽度 class 被默认 max-w 覆盖的问题 ( #8100 )
将 modalClass 参数移至 cn() 末尾,确保用户通过 class 传入的宽度样式
优先于内置默认的 max-w-[calc(100vw-20px)] 生效,使 业务使用Modal 上的自定义的max-w-[50%] 等方式能正确控制弹框宽度。
3 months ago
layhuts
9a284ee385
style: 处理modal设置class="md:w-5/12"格式时Fullscreen时无法最大化问题 ( #8084 )
3 months ago
Harold Zhang
6b109c9ae6
fix: fixed regression of confirm
4 months ago
xingyu4j
c816591b69
fix: modal 下拉等不能选中
4 months ago
Harold Zhang
d90d45a128
fix: fixed modal freeze issue
4 months ago
HaroldZhangCode91
79707a2ebd
feat: fixed regression of modal for element plus ( #7999 )
4 months ago
xingyu
04fbb7a556
chore: 升级 shadcn-vue 组件到v4最新版 ( #7972 )
* fix: useStore is deprecated
* chore: update deps
* feat: 升级shadcn-ui v4
* fix: workbench style
* feat: 升级shadcn-ui v4 step2
* feat: 升级shadcn-ui v4 step3
* chore: 升级shadcn v4
* fix: pagination
* fix: dark style
* fix: doc import
* feat: 增加详情组件,参考 antdv-next
* docs: descriptions docs
* docs: Browser Support
* feat: add table action
* feat: icon use vbenIcon
* fix: type error
* fix: dropdown popConfirm
* feat: 使用默认的文字交互
* feat: 优化渲染性能
4 months ago
boisduval
f7540c119b
fix: 修复 useVbenModal useVbenDrawer 传入参数失效的问题 ( #7964 )
- 把provide的key值修改为与inject一致的options
4 months ago
过冬
acf289381e
fix( @vben-core/popup-ui ): modal 响应式适配,支持视口自适应 ( #7951 )
4 months ago
PanFu
f813245827
feat: 偏好设置的快捷键列表追加ESC快捷键的控制(关闭当前窗口) ( #7947 )
* feat: 快捷键追加ESC控制,关闭当前窗口
* feat: 偏好设置中,页面切换动画的颜色看不清的问题(使用当前主题色)
* feat: 三种弹出框支持快捷键ESC动作
* feat: 代码自动格式化(3个框架改动)
* feat: 代码自动格式化(3个框架改动)
* fix: 修正locale数据获取方式
* 单元测试问题修改
* 单元测试问题修改
* fix: 解决代码评论的问题
* fix: 解决代码评论的问题
* fix: 解决代码评论的问题
* fix: 解决代码评论的问题
* 单元测试问题修改
* fix: 解决评论问题
* fix: 解决代码格式导致pnpm run lint报错的问题
---------
Co-authored-by: PanFu <panfu@zhihuaai.com>
4 months ago
layhuts
c066889c37
Fix: 在isMobile=true时无法自定义Drawer的class问题 ( #7941 )
* fix: 在isMobile=true时无法自定义Drawer的class问题
* fix: 在ResizableHandle两边增加边距
4 months ago
xingyu4j
bd369df3bc
fix: check deps
6 months ago
dullathanol
d0c17090ef
fix: 修正 Modal/Drawer 中 loading 属性注释
6 months ago
dullathanol
cc32ebeb12
feat: 支持 overflow 配置以允许拖拽超出可视区
6 months ago
dullathanol
02372f12ba
fix: 弹窗组件拖拽后全屏位置异常
6 months ago
xingyu4j
54d95b8761
fix: check deps
6 months ago
dullathanol
5ebf513498
fix: 修正 Modal/Drawer 中 loading 属性注释
6 months ago
dullathanol
4e4ffc439c
feat: 支持 overflow 配置以允许拖拽超出可视区
6 months ago
dullathanol
ad7ed50b52
fix: 弹窗组件拖拽后全屏位置异常
6 months ago
Jin Mao
340baf4f0b
chore: 处理合并的一些问题
7 months ago
xingyu4j
5558249cd3
chore: unbuild
7 months ago
xingyu4j
b300011d07
refactor(tsdown): migrate ui-kit vue packages
7 months ago
xingyu4j
26e9aa244b
fix(vite): adapt rolldown workspace resolution
7 months ago
xingyu4j
fa190e0975
chore: checkpoint tailwind spacing updates
7 months ago
Jin Mao
a6a6efdf59
chore: release 5.7.0
- 更新 backend-mock 包版本
- 更新 web-antd 包版本
- 更新 web-antdv-next 包版本
- 更新 web-ele 包版本
- 更新 web-naive 包版本
- 更新 web-tdesign 包版本
- 更新 docs 包版本
- 更新 commitlint-config 包版本
- 更新 eslint-config 包版本
- 更新 oxfmt-config 包版本
- 更新 oxlint-config 包版本
- 更新 stylelint-config 包版本
- 更新 node-utils 包版本
- 更新 tsconfig 包版本
- 更新 vite-config 包版本
- 更新 @core/base/design 包版本
- 更新 @core/base/icons 包版本
- 更新 @core/base/shared 包版本
- 更新 @core/base/typings 包版本
- 更新 @core/composables 包版本
- 更新 @core/preferences 包版本
- 更新 @core/ui-kit/form-ui 包版本
- 更新 @core/ui-kit/layout-ui 包版本
- 更新 @core/ui-kit/menu-ui 包版本
- 更新 @core/ui-kit/popup-ui 包版本
- 更新 @core/ui-kit/shadcn-ui 包版本
- 更新 @core/ui-kit/tabs-ui 包版本
- 更新 constants 包版本
- 更新 access 包版本
- 更新 common-ui 包版本
- 更新 hooks 包版本
- 更新 layouts 包版本
- 更新 plugins 包版本
- 更新 request 包版本
- 更新 icons 包版本
- 更新 locales 包版本
- 更新 preferences 包版本
- 更新 stores 包版本
- 更新 styles 包版本
- 更新 types 包版本
- 更新 utils 包版本
- 更新 playground 包版本
- 更新 turbo-run 包版本
- 更新 vsh 包版本
- 更新根目录包版本
7 months ago
xingyu4j
443e4b04cd
chore: update vite 8
7 months ago
xingyu
a4736a49f8
feat: migrate to Tailwind CSS v4 ( #7614 )
* chore: update deps
* feat: use jsonc/x language
* chore: update eslint 10.0
* fix: no-useless-assignment
* feat: add CLAUDE.md
* chore: ignore
* feat: claude
* fix: lint
* chore: suppot eslint v10
* fix: lint
* fix: lint
* fix: type check
* fix: unit test
* fix: Suggested fix
* fix: unit test
* chore: update stylelint v17
* chore: update all major deps
* fix: echarts console warn
* chore: update vitest v4
* feat: add skills ignores
* chore: update deps
* chore: update deps
* fix: cspell
* chore: update deps
* chore: update tailwindcss v4
* chore: remove postcss config
* fix: no use catalog
* chore: tailwind v4 config
* fix: tailwindcss v4 sort
* feat: use eslint-plugin-better-tailwindcss
* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier
* fix: Interference between enforce-consistent-line-wrapping, jsx-curly-brace-presence and Prettier
* fix(lint): resolve prettier and better-tailwindcss formatting conflicts
* fix(tailwind): update theme references and lint sources
* style(format): normalize apps docs and playground vue files
* style(format): normalize core ui-kit components
* style(format): normalize effects ui and layout components
7 months ago
Jin Mao
8a215fbcc7
chore: release 5.6.0
8 months ago
xingyu
7680b33b99
fix : #7140 ( #7153 )
* chore: add yaml eslint validate
* chore: update deps
* fix: unused ts lint
* fix: 弹窗只能点击一次 #7140
* chore: update actions/checkout v6
* chore: update node version v22.22.0
8 months ago
yuhengshen
74381aa8c1
fix: 嵌套弹窗,错误 merge options ( #7126 )
8 months ago
xingyu4j
af3fe53ec8
fix: type error
9 months ago
panda7
b6edc5f574
fix: centered 为 true 时设置 draggable 无法拖拽 ( #6948 )
Co-authored-by: sqchen <chenshiqi@sshlx.com>
10 months ago
米山
cd7c11c7d0
fix: run 'pnpm format' update various components and improve layout structure
- Updated demo-preview and preview-group components for better error handling and layout.
- Enhanced drawer and modal components for improved auto-height functionality.
- Refactored layout components including header, footer, sidebar, and tabbar for better responsiveness and usability.
- Adjusted tooltip and help tooltip components for better user guidance.
- Fixed issues in various UI components to ensure consistent styling and functionality across the application.
10 months ago
xingyu4j
bed52983a0
fix: lint
11 months ago
zoumingjun
08b6e7713e
fix: 修复对话框modal组件方法名错误
12 months ago
panda7
2cc78f925f
fix: the bug in the lock method of the vbenModal component ( #6648 )
1 year ago
ming4762
5b75e5e917
perf: perf the control logic of `VbenModal` full screen and header ( #6566 )
* resolve the issue of header=false and full screen button display but not operable
1 year ago
panda7
1a9b0509d5
feat: add animation effects to VbenModal component
1 year ago