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
dullathanol
d0c17090ef
fix: 修正 Modal/Drawer 中 loading 属性注释
5 months ago
dullathanol
cc32ebeb12
feat: 支持 overflow 配置以允许拖拽超出可视区
5 months ago
dullathanol
02372f12ba
fix: 弹窗组件拖拽后全屏位置异常
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
xingyu4j
fa190e0975
chore: checkpoint tailwind spacing updates
5 months ago
xingyu4j
443e4b04cd
chore: update vite 8
5 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
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
Netfan
3e6d608a2f
fix: destroyOnClose incorrect default value, fixed #6092 ( #6093 )
1 year ago
Netfan
4545422ee0
fix: lock state will not change overflow style in drawer and modal ( #6067 )
* Modal和Drawer的锁定状态不再修改overflow样式
1 year ago
ming4762
0cc1cb5a7b
perf: improve destroyOnClose for VbenDrawer&VbenModal ( #6051 )
* fix: fix that the default value of modal destroyOnClose does not take effect
* perf: improve destroyOnClose for VbenDrawer
1 year ago
Netfan
14377705e7
fix: alert confirm state in beforeClose callback ( #6019 )
1 year ago
Netfan
79de6bcbf7
fix: alert send wrong confirm state to beforeClose ( #5991 )
* 修复alert在按下Esc或者点击遮罩关闭时,可能发送错误的isConfirm状态
1 year ago
Netfan
14bd6dd25d
fix: destroyOnClose works within connectedComponent ( #5989 )
* 修复destroyOnClose没能销毁connectedComponent自身的问题
1 year ago
ming4762
3318d76bab
perf: improve `destroyOnClose` for VbenModal ( #5964 )
1 year ago
LinaBell
8f3881eabf
perf: `beforeClose` of drawer support promise ( #5932 )
* perf: the beforeClose function of drawer is consistent with that of modal
* refactor: drawer test update
1 year ago
ming4762
3fb4fba1cb
fix: modal closing animation ( #5960 )
1 year ago
ming4762
c7e6210c8d
feat: `modal`&`drawer` support `center-footer` slot ( #5956 )
1 year ago
Netfan
bf7496f0d5
feat: add `useAlertContext` for Alert component ( #5947 )
* 新增Alert的子组件中获取弹窗上下文的能力
1 year ago
Netfan
f0e9e55af2
feat: alert support customize `footer` ( #5940 )
* Alert组件支持自定义footer
1 year ago
ming4762
afce9dc5c0
perf: improve `destroyOnClose` for `VbenModal` ( #5935 )
* perf: 优化Vben Modal destroyOnClose,解决destroyOnClose=false,Modal依旧会被销毁的问题
影响范围(重要):destroyOnClose默认为true,这会导致所有的modal都会默认渲染到body
radix-vue Dialog组件默认会销毁挂载的组件,所以即使destroyOnClose=false,Modal依旧会被销毁的问题
对于一些大表单重复渲染导致卡顿,ApiComponent也会频繁的加载数据
* fix: modal closing animation
---------
Co-authored-by: Netfan <netfan@foxmail.com>
1 year ago