xueyitt
56f765f25a
feat: 支持提示弹框内容为空(兼容部分场景只有标题无需内容场景) ( #8291 )
2 days 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 weeks 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
3 weeks 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.
3 weeks 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
4 weeks ago
xueyitt
7182405d24
fix: 修复弹框自定义宽度 class 被默认 max-w 覆盖的问题 ( #8100 )
将 modalClass 参数移至 cn() 末尾,确保用户通过 class 传入的宽度样式
优先于内置默认的 max-w-[calc(100vw-20px)] 生效,使 业务使用Modal 上的自定义的max-w-[50%] 等方式能正确控制弹框宽度。
2 months ago
layhuts
9a284ee385
style: 处理modal设置class="md:w-5/12"格式时Fullscreen时无法最大化问题 ( #8084 )
2 months ago
Harold Zhang
6b109c9ae6
fix: fixed regression of confirm
2 months ago
xingyu4j
c816591b69
fix: modal 下拉等不能选中
3 months ago
Harold Zhang
d90d45a128
fix: fixed modal freeze issue
3 months ago
HaroldZhangCode91
79707a2ebd
feat: fixed regression of modal for element plus ( #7999 )
3 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: 优化渲染性能
3 months ago
boisduval
f7540c119b
fix: 修复 useVbenModal useVbenDrawer 传入参数失效的问题 ( #7964 )
- 把provide的key值修改为与inject一致的options
3 months ago
过冬
acf289381e
fix( @vben-core/popup-ui ): modal 响应式适配,支持视口自适应 ( #7951 )
3 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>
3 months ago
layhuts
c066889c37
Fix: 在isMobile=true时无法自定义Drawer的class问题 ( #7941 )
* fix: 在isMobile=true时无法自定义Drawer的class问题
* fix: 在ResizableHandle两边增加边距
3 months ago
xingyu4j
bd369df3bc
fix: check deps
5 months ago
dullathanol
d0c17090ef
fix: 修正 Modal/Drawer 中 loading 属性注释
5 months ago
dullathanol
cc32ebeb12
feat: 支持 overflow 配置以允许拖拽超出可视区
5 months ago
dullathanol
02372f12ba
fix: 弹窗组件拖拽后全屏位置异常
5 months ago
xingyu4j
54d95b8761
fix: check deps
5 months ago
dullathanol
5ebf513498
fix: 修正 Modal/Drawer 中 loading 属性注释
5 months ago
dullathanol
4e4ffc439c
feat: 支持 overflow 配置以允许拖拽超出可视区
5 months ago
dullathanol
ad7ed50b52
fix: 弹窗组件拖拽后全屏位置异常
5 months ago
Jin Mao
340baf4f0b
chore: 处理合并的一些问题
5 months ago
xingyu4j
5558249cd3
chore: unbuild
6 months ago
xingyu4j
b300011d07
refactor(tsdown): migrate ui-kit vue packages
6 months ago
xingyu4j
26e9aa244b
fix(vite): adapt rolldown workspace resolution
6 months ago
xingyu4j
fa190e0975
chore: checkpoint tailwind spacing updates
6 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 包版本
- 更新根目录包版本
6 months ago
xingyu4j
443e4b04cd
chore: update vite 8
6 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
6 months ago
Jin Mao
8a215fbcc7
chore: release 5.6.0
7 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
7 months ago
yuhengshen
74381aa8c1
fix: 嵌套弹窗,错误 merge options ( #7126 )
7 months ago
xingyu4j
af3fe53ec8
fix: type error
8 months ago
panda7
b6edc5f574
fix: centered 为 true 时设置 draggable 无法拖拽 ( #6948 )
Co-authored-by: sqchen <chenshiqi@sshlx.com>
9 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.
9 months ago
xingyu4j
bed52983a0
fix: lint
9 months ago
zoumingjun
08b6e7713e
fix: 修复对话框modal组件方法名错误
10 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
yuhengshen
2f7d1f009d
fix: 全屏状态下弹窗圆角优化 ( #6413 )
1 year ago
yuhengshen
946f91f387
feat: optimize modal dragging range( #6414 )
* 当弹窗指定了容器时,拖拽将被限制在容器范围内
1 year ago
Netfan
c0962fec18
fix: auto close popup on deactivated ( #6368 )
* 修复挂载到内容区域的弹窗和抽屉被意外关闭的问题
1 year ago
huanghezhen
feb96dc8ea
fix: resolve onClosed method failure in connectedComponent of useVbenModal ( #6309 )
1 year ago
Netfan
081d08a7f8
fix: alert width fixed in small screen ( #6312 )
1 year ago
LinaBell
8f4d3d418d
fix: when keepAlive is enabled, returning directly through browser buttons/gestures will not close pop ups ( #6113 )
1 year ago
Vben
17a18fc9ba
chore: close eslint object sorting ( #6101 )
1 year ago