@vtx/modals2
v6.0.0-beta.12
Published
弹窗组件
Keywords
Readme
@vtx/modals2
弹窗组件。
Version Notes
6.xis the antd6 / React18 / VTX4 edition. It is intended for upgraded projects only.- antd4 projects should continue to use the existing
5.xrelease line. - Public business props remain compatible with the old usage, including
visible,id,title,theme,code,tabChose,defaultActiveKey,modalHeight,width,mask, andonCancel. - The npm publish step is handled outside this repository workflow.
Changelog
6.0.0
- Upgrade peer/runtime baseline to antd6,
@ant-design/icons6, React18, and VTX4. - Keep the existing import contract used by 5.x, including deep-path imports such as
@vtx/modals2/lib/vtx-device-modal, so business projects only change the installed package version. - Replace removed antd APIs such as
visible,destroyOnClose,dropdownClassName,overlay, andmessage.warnwith antd6-compatible APIs while preserving external business props. - Remove legacy antd4 CSS and
@vtx/components/lib/*deep imports.
Usage
TODO
Options
TODO
Development
# install dependencies
$ npm install
# develop library by docs demo
$ npm start
# build library source code
$ npm run build
# build library source code in watch mode
$ npm run build:watch
# build docs
$ npm run docs:build
# Locally preview the production build.
$ npm run docs:preview
# check your project for potential problems
$ npm run doctorLICENSE
MIT
