From 7879fd6395bd63eed7c5b822a2b27415ae5d346e Mon Sep 17 00:00:00 2001 From: chenjiahan Date: Sat, 23 Jul 2022 22:10:20 +0800 Subject: [PATCH] chore: update repo links --- .gitee/ISSUE_TEMPLATE.zh-CN.md | 2 +- .github/CONTRIBUTING.md | 2 +- .../template-1-bug-report-vant.zh-CN.yml | 4 +- .../template-2-bug-report-vant-cli.zh-CN.yml | 4 +- .../template-3-feature-request-vant.zh-CN.yml | 4 +- ...plate-4-feature-request-vant-cli.zh-CN.yml | 4 +- .github/PULL_REQUEST_TEMPLATE.md | 2 +- .github/workflows/sync-gitee.yml | 2 +- README.md | 14 +- README.zh-CN.md | 16 +- packages/create-vant-cli-app/package.json | 5 +- packages/vant-area-data/package.json | 4 +- packages/vant-cli/README.md | 8 +- packages/vant-cli/README.zh-CN.md | 8 +- packages/vant-cli/changelog.md | 14 +- packages/vant-cli/docs/commands.md | 2 +- packages/vant-cli/docs/commands.zh-CN.md | 2 +- packages/vant-cli/package.json | 4 +- packages/vant-cli/src/config/vite.site.ts | 2 +- packages/vant-eslint-config/package.json | 4 +- packages/vant-icons/package.json | 4 +- packages/vant-markdown-vetur/package.json | 4 +- packages/vant-popperjs/README.md | 2 +- packages/vant-popperjs/package.json | 4 +- packages/vant-touch-emulator/changelog.md | 2 +- packages/vant-touch-emulator/package.json | 4 +- packages/vant-use/package.json | 4 +- packages/vant-use/src/useCountDown/index.ts | 2 +- .../vant-use/src/useScrollParent/index.ts | 2 +- .../docs/markdown/advanced-usage.en-US.md | 2 +- .../docs/markdown/advanced-usage.zh-CN.md | 2 +- .../vant/docs/markdown/changelog.en-US.md | 1168 +++++++-------- .../vant/docs/markdown/changelog.zh-CN.md | 1322 ++++++++--------- .../vant/docs/markdown/contribution.zh-CN.md | 4 +- packages/vant/docs/markdown/design.en-US.md | 4 +- packages/vant/docs/markdown/design.zh-CN.md | 4 +- packages/vant/docs/markdown/home.en-US.md | 14 +- packages/vant/docs/markdown/home.zh-CN.md | 14 +- packages/vant/docs/markdown/theme.en-US.md | 2 +- packages/vant/docs/markdown/theme.zh-CN.md | 2 +- packages/vant/package.json | 4 +- packages/vant/src/area/README.md | 2 +- packages/vant/src/area/README.zh-CN.md | 2 +- packages/vant/src/area/demo/area.ts | 2 +- packages/vant/src/button/demo/index.vue | 2 +- packages/vant/src/button/index.less | 2 +- packages/vant/src/calendar/Calendar.tsx | 2 +- packages/vant/src/cell/demo/index.vue | 2 +- packages/vant/src/collapse-item/index.less | 2 +- packages/vant/src/composables/use-height.ts | 2 +- packages/vant/src/datetime-picker/utils.ts | 2 +- packages/vant/src/dialog/Dialog.tsx | 2 +- packages/vant/src/field/Field.tsx | 2 +- packages/vant/src/field/index.less | 2 +- packages/vant/src/field/test/index.spec.js | 2 +- packages/vant/src/field/utils.ts | 4 +- packages/vant/src/grid-item/index.less | 2 +- packages/vant/src/grid/demo/index.vue | 2 +- packages/vant/src/image/Image.tsx | 2 +- packages/vant/src/list/test/index.spec.jsx | 2 +- packages/vant/src/locale/README.md | 4 +- packages/vant/src/locale/README.zh-CN.md | 4 +- .../src/number-keyboard/NumberKeyboardKey.tsx | 2 +- packages/vant/src/sidebar-item/index.less | 2 +- packages/vant/src/slider/test/index.spec.ts | 2 +- packages/vant/src/stepper/Stepper.tsx | 2 +- packages/vant/src/swipe/Swipe.tsx | 2 +- packages/vant/src/swipe/index.less | 2 +- packages/vant/src/switch/index.less | 2 +- packages/vant/src/toast/index.less | 2 +- packages/vant/src/utils/with-install.ts | 2 +- packages/vant/vant.config.mjs | 10 +- 72 files changed, 1373 insertions(+), 1380 deletions(-) diff --git a/.gitee/ISSUE_TEMPLATE.zh-CN.md b/.gitee/ISSUE_TEMPLATE.zh-CN.md index b04c069ed..121c48411 100644 --- a/.gitee/ISSUE_TEMPLATE.zh-CN.md +++ b/.gitee/ISSUE_TEMPLATE.zh-CN.md @@ -2,4 +2,4 @@ 请移步 GitHub issues 进行反馈: -https://github.com/youzan/vant/issues +https://github.com/vant-ui/vant/issues diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 8288b9ae1..c2a40c802 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -29,7 +29,7 @@ It's welcomed to pull request, And there are some tips about that: You will need [Node.js >= 14](https://nodejs.org) and [pnpm](https://pnpm.io). ```bash -git clone git@github.com:youzan/vant.git +git clone git@github.com:vant-ui/vant.git # Install dependencies pnpm i diff --git a/.github/ISSUE_TEMPLATE/template-1-bug-report-vant.zh-CN.yml b/.github/ISSUE_TEMPLATE/template-1-bug-report-vant.zh-CN.yml index 1383c7a5a..2b37adf9b 100644 --- a/.github/ISSUE_TEMPLATE/template-1-bug-report-vant.zh-CN.yml +++ b/.github/ISSUE_TEMPLATE/template-1-bug-report-vant.zh-CN.yml @@ -9,8 +9,8 @@ body: 在提交 Bug 报告前,请注意: - 确认你的问题无法通过官方文档得到解决。 - - 确认你搜索过 [历史 issue](https://github.com/youzan/vant/issues),并且没有发现同样的问题。 - - 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/youzan/vant/discussions) 发帖。 + - 确认你搜索过 [历史 issue](https://github.com/vant-ui/vant/issues),并且没有发现同样的问题。 + - 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/vant-ui/vant/discussions) 发帖。 - type: input id: reproduce diff --git a/.github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml b/.github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml index bfa3a70cc..51a4a1263 100644 --- a/.github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml +++ b/.github/ISSUE_TEMPLATE/template-2-bug-report-vant-cli.zh-CN.yml @@ -9,8 +9,8 @@ body: 在提交 Bug 报告前,请注意: - 确认你的问题无法通过官方文档得到解决。 - - 确认你搜索过 [历史 issue](https://github.com/youzan/vant/issues),并且没有发现同样的问题。 - - 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/youzan/vant/discussions) 发帖。 + - 确认你搜索过 [历史 issue](https://github.com/vant-ui/vant/issues),并且没有发现同样的问题。 + - 如果不是反馈 Bug,请到 [Discussions 讨论区](https://github.com/vant-ui/vant/discussions) 发帖。 - type: input id: reproduce diff --git a/.github/ISSUE_TEMPLATE/template-3-feature-request-vant.zh-CN.yml b/.github/ISSUE_TEMPLATE/template-3-feature-request-vant.zh-CN.yml index 45b8ce62b..0894496e3 100644 --- a/.github/ISSUE_TEMPLATE/template-3-feature-request-vant.zh-CN.yml +++ b/.github/ISSUE_TEMPLATE/template-3-feature-request-vant.zh-CN.yml @@ -9,8 +9,8 @@ body: 在提交功能需求前,请注意: - 确认这是一个通用功能,并且无法通过现有的 API 或 Slot 实现。 - - 确认你搜索过 [历史 issue](https://github.com/youzan/vant/issues),并且没有发现同样的需求。 - - 可以先到 [Discussions 讨论区](https://github.com/youzan/vant/discussions) 发帖,讨论一下需求是否合理。 + - 确认你搜索过 [历史 issue](https://github.com/vant-ui/vant/issues),并且没有发现同样的需求。 + - 可以先到 [Discussions 讨论区](https://github.com/vant-ui/vant/discussions) 发帖,讨论一下需求是否合理。 - type: textarea id: description diff --git a/.github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml b/.github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml index 9b4999ed7..ccde6419d 100644 --- a/.github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml +++ b/.github/ISSUE_TEMPLATE/template-4-feature-request-vant-cli.zh-CN.yml @@ -9,8 +9,8 @@ body: 在提交功能需求前,请注意: - 确认这是一个通用功能,并且无法通过现有的 API 实现。 - - 确认你搜索过 [历史 issue](https://github.com/youzan/vant/issues),并且没有发现同样的需求。 - - 可以先到 [Discussions 讨论区](https://github.com/youzan/vant/discussions) 发帖,讨论一下需求是否合理。 + - 确认你搜索过 [历史 issue](https://github.com/vant-ui/vant/issues),并且没有发现同样的需求。 + - 可以先到 [Discussions 讨论区](https://github.com/vant-ui/vant/discussions) 发帖,讨论一下需求是否合理。 - type: textarea id: description diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index ed18aa4df..53880b8ac 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,6 +1,6 @@ ### Before submitting a pull request, please make sure the following is done: -1. Read the [contributing guide](https://github.com/youzan/vant/blob/dev/.github/CONTRIBUTING.md). +1. Read the [contributing guide](https://github.com/vant-ui/vant/blob/dev/.github/CONTRIBUTING.md). 2. If you've added code that should be tested, add tests. 3. If you've changed APIs, update the documentation. 4. Ensure the test suite passes (`npm test`). diff --git a/.github/workflows/sync-gitee.yml b/.github/workflows/sync-gitee.yml index 5fc883fb3..f787bc36f 100644 --- a/.github/workflows/sync-gitee.yml +++ b/.github/workflows/sync-gitee.yml @@ -15,6 +15,6 @@ jobs: SSH_PRIVATE_KEY: ${{ secrets.GITEE_RSA_PRIVATE_KEY }} with: # GitHub 源仓库地址 - source-repo: git@github.com:youzan/vant.git + source-repo: git@github.com:vant-ui/vant.git # Gitee 目标仓库地址 destination-repo: git@gitee.com:vant-contrib/vant.git diff --git a/README.md b/README.md index d8f6c4db4..b8af6f9d4 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@

npm version - CI Status - Coverage Status + CI Status + Coverage Status downloads Jsdelivr Hits Gzip Size @@ -86,11 +86,11 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3) | Project | Description | | --- | --- | -| [vant-weapp](https://github.com/youzan/vant-weapp) | WeChat MiniProgram UI | +| [vant-weapp](https://github.com/vant-ui/vant-weapp) | WeChat MiniProgram UI | | [vant-demo](https://github.com/vant-ui/vant-demo) | Collection of Vant demos | -| [vant-cli](https://github.com/youzan/vant/tree/dev/packages/vant-cli) | Scaffold for UI library | -| [vant-icons](https://github.com/youzan/vant/tree/dev/packages/vant-icons) | Vant icons | -| [vant-touch-emulator](https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator) | Using vant in desktop browsers | +| [vant-cli](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli) | Scaffold for UI library | +| [vant-icons](https://github.com/vant-ui/vant/tree/dev/packages/vant-icons) | Vant icons | +| [vant-touch-emulator](https://github.com/vant-ui/vant/tree/dev/packages/vant-touch-emulator) | Using vant in desktop browsers | ## Community Ecosystem @@ -128,7 +128,7 @@ Core contributors of Vant and Vant Weapp: Thanks to the following friends for their contributions to Vant: - + contributors diff --git a/README.zh-CN.md b/README.zh-CN.md index 7e4979d32..bb83e980a 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -8,8 +8,8 @@

npm version - CI Status - Coverage Status + CI Status + Coverage Status downloads Jsdelivr Hits Gzip Size @@ -92,11 +92,11 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 | 项目 | 描述 | | --- | --- | -| [vant-weapp](https://github.com/youzan/vant-weapp) | Vant 微信小程序版 | +| [vant-weapp](https://github.com/vant-ui/vant-weapp) | Vant 微信小程序版 | | [vant-demo](https://github.com/vant-ui/vant-demo) | Vant 官方示例合集 | -| [vant-cli](https://github.com/youzan/vant/tree/dev/packages/vant-cli) | 开箱即用的组件库搭建工具 | -| [vant-icons](https://github.com/youzan/vant/tree/dev/packages/vant-icons) | Vant 图标库 | -| [vant-touch-emulator](https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator) | 在桌面端使用 Vant 的辅助库 | +| [vant-cli](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli) | 开箱即用的组件库搭建工具 | +| [vant-icons](https://github.com/vant-ui/vant/tree/dev/packages/vant-icons) | Vant 图标库 | +| [vant-touch-emulator](https://github.com/vant-ui/vant/tree/dev/packages/vant-touch-emulator) | 在桌面端使用 Vant 的辅助库 | ## 社区生态 @@ -136,7 +136,7 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 感谢以下小伙伴们为 Vant 发展做出的贡献: - + contributors @@ -144,7 +144,7 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 修改代码请阅读我们的 [贡献指南](https://vant-contrib.gitee.io/vant/#/zh-CN/contribution)。 -使用过程中发现任何问题都可以提 [Issue](https://github.com/youzan/vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/youzan/vant/pulls)。 +使用过程中发现任何问题都可以提 [Issue](https://github.com/vant-ui/vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/vant-ui/vant/pulls)。 ## 开源协议 diff --git a/packages/create-vant-cli-app/package.json b/packages/create-vant-cli-app/package.json index bd4670691..dc5b690ca 100644 --- a/packages/create-vant-cli-app/package.json +++ b/packages/create-vant-cli-app/package.json @@ -24,10 +24,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/create-vant-cli-app" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "chenjiahan", "license": "MIT", "devDependencies": { @@ -40,7 +40,6 @@ "consola": "^2.11.3", "fast-glob": "^3.2.4", "fs-extra": "^10.0.0", - "inquirer": "^8.0.0", "picocolors": "^1.0.0" }, "release-it": { diff --git a/packages/vant-area-data/package.json b/packages/vant-area-data/package.json index 9ad832fae..783d04919 100644 --- a/packages/vant-area-data/package.json +++ b/packages/vant-area-data/package.json @@ -29,10 +29,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/vant-area-data" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "chenjiahan", "license": "MIT", "devDependencies": { diff --git a/packages/vant-cli/README.md b/packages/vant-cli/README.md index 725c1bb89..efbc131b0 100644 --- a/packages/vant-cli/README.md +++ b/packages/vant-cli/README.md @@ -65,7 +65,7 @@ Please add the followed config to `package.json` file. ## More Details -- [cli](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/commands.md) -- [config](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/config.md) -- [directory structure](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/directory.md) -- [CHANGELOG](https://github.com/youzan/vant/tree/dev/packages/vant-cli/changelog.md) +- [cli](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/docs/commands.md) +- [config](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/docs/config.md) +- [directory structure](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/docs/directory.md) +- [CHANGELOG](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/changelog.md) diff --git a/packages/vant-cli/README.zh-CN.md b/packages/vant-cli/README.zh-CN.md index 0df3600bd..02b2889c5 100644 --- a/packages/vant-cli/README.zh-CN.md +++ b/packages/vant-cli/README.zh-CN.md @@ -61,7 +61,7 @@ pnpm add @vant/cli -D ## 详细文档 -- [命令](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/commands.zh-CN.md) -- [配置指南](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/config.zh-CN.md) -- [目录结构](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/directory.zh-CN.md) -- [更新日志](https://github.com/youzan/vant/tree/dev/packages/vant-cli/changelog.md) +- [命令](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/docs/commands.zh-CN.md) +- [配置指南](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/docs/config.zh-CN.md) +- [目录结构](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/docs/directory.zh-CN.md) +- [更新日志](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/changelog.md) diff --git a/packages/vant-cli/changelog.md b/packages/vant-cli/changelog.md index 7ca15ffb8..26226fbe6 100644 --- a/packages/vant-cli/changelog.md +++ b/packages/vant-cli/changelog.md @@ -431,15 +431,15 @@ yarn add sass `2020-03-29` -- 优化网站导航栏在大屏上的适配 ([#5928](https://github.com/youzan/vant/pull/5928)) +- 优化网站导航栏在大屏上的适配 ([#5928](https://github.com/vant-ui/vant/pull/5928)) ### v2.3.0 `2020-03-25` -- build 命令支持编译 scoped 样式 ([#5910](https://github.com/youzan/vant/pull/5910)) -- build 命令支持生成 WebStorm 组件定义文件 ([#5899](https://github.com/youzan/vant/issues/5899)) -- clean 命令现在会移除而不是清空文件夹 ([#5895](https://github.com/youzan/vant/issues/5895)) +- build 命令支持编译 scoped 样式 ([#5910](https://github.com/vant-ui/vant/pull/5910)) +- build 命令支持生成 WebStorm 组件定义文件 ([#5899](https://github.com/vant-ui/vant/issues/5899)) +- clean 命令现在会移除而不是清空文件夹 ([#5895](https://github.com/vant-ui/vant/issues/5895)) - 升级 @vant/markdown-vetur 2.0.0 ### v2.2.8 @@ -473,7 +473,7 @@ yarn add sass `2020-02-14` -- 修复在 windows 上构建出的样式入口文件路径错误的问题 ([#5655](https://github.com/youzan/vant/pull/5655) +- 修复在 windows 上构建出的样式入口文件路径错误的问题 ([#5655](https://github.com/vant-ui/vant/pull/5655) ### v2.2.3 @@ -485,14 +485,14 @@ yarn add sass `2020-02-05` -- 修复在 windows 上获取 markdown 路径错误的问题 ([#5626](https://github.com/youzan/vant/pull/5626)) +- 修复在 windows 上获取 markdown 路径错误的问题 ([#5626](https://github.com/vant-ui/vant/pull/5626)) ### v2.2.1 `2020-02-04` - 升级 babel@7.8 -- 修复切换版本时跳转 undefined 的问题 ([#5620](https://github.com/youzan/vant/pull/5620)) +- 修复切换版本时跳转 undefined 的问题 ([#5620](https://github.com/vant-ui/vant/pull/5620)) ### v2.2.0 diff --git a/packages/vant-cli/docs/commands.md b/packages/vant-cli/docs/commands.md index 91df93eb4..06d2093ef 100644 --- a/packages/vant-cli/docs/commands.md +++ b/packages/vant-cli/docs/commands.md @@ -29,7 +29,7 @@ Start local dev server for browsering components and demo. Build Vue component library. -Files will be output to `es` and `lib` directory. More details [directory structure](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/directory.md) +Files will be output to `es` and `lib` directory. More details [directory structure](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/docs/directory.md) Please add the followed config to `package.json` when publish to npm. diff --git a/packages/vant-cli/docs/commands.zh-CN.md b/packages/vant-cli/docs/commands.zh-CN.md index 1abd82958..99bd1eef3 100644 --- a/packages/vant-cli/docs/commands.zh-CN.md +++ b/packages/vant-cli/docs/commands.zh-CN.md @@ -31,7 +31,7 @@ npx vant-cli dev 构建组件库。 -运行 build 命令会在 `es` 和 `lib` 目录下生成可用于生产环境的组件代码,详见 [目录结构](https://github.com/youzan/vant/tree/dev/packages/vant-cli/docs/directory.zh-CN.md)。 +运行 build 命令会在 `es` 和 `lib` 目录下生成可用于生产环境的组件代码,详见 [目录结构](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli/docs/directory.zh-CN.md)。 发布 npm 时,请将以下配置加入到 `package.json` 中,使 npm 包能被正确识别: diff --git a/packages/vant-cli/package.json b/packages/vant-cli/package.json index bc038126c..cd4bef300 100644 --- a/packages/vant-cli/package.json +++ b/packages/vant-cli/package.json @@ -32,10 +32,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/vant-cli" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "chenjiahan", "license": "MIT", "devDependencies": { diff --git a/packages/vant-cli/src/config/vite.site.ts b/packages/vant-cli/src/config/vite.site.ts index d0cd4b5d5..0b8cc01a6 100644 --- a/packages/vant-cli/src/config/vite.site.ts +++ b/packages/vant-cli/src/config/vite.site.ts @@ -206,7 +206,7 @@ export function getViteConfigForSiteProd(): InlineConfig { outDir, reportCompressedSize: false, emptyOutDir: true, - // https://github.com/youzan/vant/issues/9703 + // https://github.com/vant-ui/vant/issues/9703 cssTarget: ['chrome53'], rollupOptions: { input: { diff --git a/packages/vant-eslint-config/package.json b/packages/vant-eslint-config/package.json index 837b418a0..ed5a3fd57 100644 --- a/packages/vant-eslint-config/package.json +++ b/packages/vant-eslint-config/package.json @@ -13,10 +13,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/vant-eslint-config" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "chenjiahan", "license": "MIT", "dependencies": { diff --git a/packages/vant-icons/package.json b/packages/vant-icons/package.json index f1d0382b7..414ad6bfa 100644 --- a/packages/vant-icons/package.json +++ b/packages/vant-icons/package.json @@ -16,10 +16,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/vant-icons" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "chenjiahan", "license": "MIT", "devDependencies": { diff --git a/packages/vant-markdown-vetur/package.json b/packages/vant-markdown-vetur/package.json index 3d0ecff08..7c8927ca5 100644 --- a/packages/vant-markdown-vetur/package.json +++ b/packages/vant-markdown-vetur/package.json @@ -18,10 +18,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/vant-markdown-vetur" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "zhangshuai", "license": "MIT", "dependencies": { diff --git a/packages/vant-popperjs/README.md b/packages/vant-popperjs/README.md index 690e8aafe..025084f51 100644 --- a/packages/vant-popperjs/README.md +++ b/packages/vant-popperjs/README.md @@ -21,4 +21,4 @@ see: https://popper.js.org/ ## Refer -issue: https://github.com/youzan/vant/issues/7626 +issue: https://github.com/vant-ui/vant/issues/7626 diff --git a/packages/vant-popperjs/package.json b/packages/vant-popperjs/package.json index 11c16560a..ce7316b44 100644 --- a/packages/vant-popperjs/package.json +++ b/packages/vant-popperjs/package.json @@ -30,10 +30,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/vant-markdown-loader" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "chenjiahan", "license": "MIT", "dependencies": { diff --git a/packages/vant-touch-emulator/changelog.md b/packages/vant-touch-emulator/changelog.md index 86b57aa90..69d213800 100644 --- a/packages/vant-touch-emulator/changelog.md +++ b/packages/vant-touch-emulator/changelog.md @@ -10,7 +10,7 @@ `2021-05-26` -- add SSR support [\#8767](https://github.com/youzan/vant/pull/8767) +- add SSR support [\#8767](https://github.com/vant-ui/vant/pull/8767) ### [v1.2.0] diff --git a/packages/vant-touch-emulator/package.json b/packages/vant-touch-emulator/package.json index 3531d7993..e4cc08e51 100644 --- a/packages/vant-touch-emulator/package.json +++ b/packages/vant-touch-emulator/package.json @@ -8,10 +8,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/vant-touch-emulator" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "chenjiahan", "license": "MIT" } diff --git a/packages/vant-use/package.json b/packages/vant-use/package.json index f996db4fd..60d316a43 100644 --- a/packages/vant-use/package.json +++ b/packages/vant-use/package.json @@ -30,10 +30,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/vant-use" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "chenjiahan", "license": "MIT", "devDependencies": { diff --git a/packages/vant-use/src/useCountDown/index.ts b/packages/vant-use/src/useCountDown/index.ts index bdb484118..5b5ed4ac1 100644 --- a/packages/vant-use/src/useCountDown/index.ts +++ b/packages/vant-use/src/useCountDown/index.ts @@ -107,7 +107,7 @@ export function useCountDown(options: UseCountDownOptions) { const tick = () => { // should not start counting in server - // see: https://github.com/youzan/vant/issues/7807 + // see: https://github.com/vant-ui/vant/issues/7807 if (!inBrowser) { return; } diff --git a/packages/vant-use/src/useScrollParent/index.ts b/packages/vant-use/src/useScrollParent/index.ts index e8d4b1c29..f20623c8c 100644 --- a/packages/vant-use/src/useScrollParent/index.ts +++ b/packages/vant-use/src/useScrollParent/index.ts @@ -15,7 +15,7 @@ function isElement(node: Element) { ); } -// https://github.com/youzan/vant/issues/3823 +// https://github.com/vant-ui/vant/issues/3823 export function getScrollParent( el: Element, root: ScrollElement | undefined = defaultRoot diff --git a/packages/vant/docs/markdown/advanced-usage.en-US.md b/packages/vant/docs/markdown/advanced-usage.en-US.md index d7744f807..9c41c3aba 100644 --- a/packages/vant/docs/markdown/advanced-usage.en-US.md +++ b/packages/vant/docs/markdown/advanced-usage.en-US.md @@ -132,7 +132,7 @@ module.exports = { ### Adapt to PC Browsers -Vant is a mobile-first component library, if you want to use Vant in PC browsers, you can use the [@vant/touch-emulator](https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator) module. This module will automatically convert the mouse events of the PC browser into the touch events of the mobile browser. +Vant is a mobile-first component library, if you want to use Vant in PC browsers, you can use the [@vant/touch-emulator](https://github.com/vant-ui/vant/tree/dev/packages/vant-touch-emulator) module. This module will automatically convert the mouse events of the PC browser into the touch events of the mobile browser. ```bash # Install diff --git a/packages/vant/docs/markdown/advanced-usage.zh-CN.md b/packages/vant/docs/markdown/advanced-usage.zh-CN.md index 780eab1c9..1e1b1b551 100644 --- a/packages/vant/docs/markdown/advanced-usage.zh-CN.md +++ b/packages/vant/docs/markdown/advanced-usage.zh-CN.md @@ -195,7 +195,7 @@ module.exports = { Vant 是一个面向移动端的组件库,因此默认只适配了移动端设备,这意味着组件只监听了移动端的 `touch` 事件,没有监听桌面端的 `mouse` 事件。 -如果你需要在桌面端使用 Vant,可以引入我们提供的 [@vant/touch-emulator](https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator),这个库会在桌面端自动将 `mouse` 事件转换成对应的 `touch` 事件,使得组件能够在桌面端使用。 +如果你需要在桌面端使用 Vant,可以引入我们提供的 [@vant/touch-emulator](https://github.com/vant-ui/vant/tree/dev/packages/vant-touch-emulator),这个库会在桌面端自动将 `mouse` 事件转换成对应的 `touch` 事件,使得组件能够在桌面端使用。 ```bash # 安装模块 diff --git a/packages/vant/docs/markdown/changelog.en-US.md b/packages/vant/docs/markdown/changelog.en-US.md index c0a4d65f5..e8b5bce52 100644 --- a/packages/vant/docs/markdown/changelog.en-US.md +++ b/packages/vant/docs/markdown/changelog.en-US.md @@ -19,36 +19,36 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/). ## Details -### [v3.5.2](https://github.com/youzan/vant/compare/v3.5.1...v3.5.2) +### [v3.5.2](https://github.com/vant-ui/vant/compare/v3.5.1...v3.5.2) `2022-06-26` **Feature** -- ActionBar: add placeholder prop [#10724](https://github.com/youzan/vant/issues/10724) -- Field: add start-validate and end-validate event [#10726](https://github.com/youzan/vant/issues/10726) -- SubmitBar: add placeholder prop [#10725](https://github.com/youzan/vant/issues/10725) +- ActionBar: add placeholder prop [#10724](https://github.com/vant-ui/vant/issues/10724) +- Field: add start-validate and end-validate event [#10726](https://github.com/vant-ui/vant/issues/10726) +- SubmitBar: add placeholder prop [#10725](https://github.com/vant-ui/vant/issues/10725) **Bug Fixes** -- List: element with `overflow: overlay` style should be considered a scroll container [#10743](https://github.com/youzan/vant/issues/10743) +- List: element with `overflow: overlay` style should be considered a scroll container [#10743](https://github.com/vant-ui/vant/issues/10743) -### [v3.5.1](https://github.com/youzan/vant/compare/v3.5.0...v3.5.1) +### [v3.5.1](https://github.com/vant-ui/vant/compare/v3.5.0...v3.5.1) `2022-06-12` **Feature** -- PullRefresh: add change event [#10702](https://github.com/youzan/vant/issues/10702) +- PullRefresh: add change event [#10702](https://github.com/vant-ui/vant/issues/10702) **Bug Fixes** -- Calender: failed to render months after changing maxDate or minDate [#10668](https://github.com/youzan/vant/issues/10668) -- Popup: should not auto close on deactivated if not using teleport [#10706](https://github.com/youzan/vant/issues/10706) -- Toast: fix Toast.clear typing [#10699](https://github.com/youzan/vant/issues/10699) -- Uploader: preview-options images should be optional [#10698](https://github.com/youzan/vant/issues/10698) +- Calender: failed to render months after changing maxDate or minDate [#10668](https://github.com/vant-ui/vant/issues/10668) +- Popup: should not auto close on deactivated if not using teleport [#10706](https://github.com/vant-ui/vant/issues/10706) +- Toast: fix Toast.clear typing [#10699](https://github.com/vant-ui/vant/issues/10699) +- Uploader: preview-options images should be optional [#10698](https://github.com/vant-ui/vant/issues/10698) -### [v3.5.0](https://github.com/youzan/vant/compare/v3.4.9...v3.5.0) +### [v3.5.0](https://github.com/vant-ui/vant/compare/v3.4.9...v3.5.0) `2022-06-05` @@ -65,95 +65,95 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Feature** -- Add exports fields to sub-packages [#10650](https://github.com/youzan/vant/issues/10650) -- Dialog: allow to disable confirm or cancel button [#10665](https://github.com/youzan/vant/issues/10665) -- Locale: add Bulgarian lang [#10609](https://github.com/youzan/vant/issues/10609) -- Locale: add Farsi lang [#10637](https://github.com/youzan/vant/issues/10637) -- Locale: add Greek lang [#10621](https://github.com/youzan/vant/issues/10621) -- Locale: add Hebrew lang [#10591](https://github.com/youzan/vant/issues/10591) -- Switch: add node slot [#10573](https://github.com/youzan/vant/issues/10573) -- Switch: add background slot [#10666](https://github.com/youzan/vant/issues/10666) -- Form: add getValidationStatus method [#10620](https://github.com/youzan/vant/issues/10620) -- Uploader: add preview-delete slot [#10606](https://github.com/youzan/vant/issues/10606) +- Add exports fields to sub-packages [#10650](https://github.com/vant-ui/vant/issues/10650) +- Dialog: allow to disable confirm or cancel button [#10665](https://github.com/vant-ui/vant/issues/10665) +- Locale: add Bulgarian lang [#10609](https://github.com/vant-ui/vant/issues/10609) +- Locale: add Farsi lang [#10637](https://github.com/vant-ui/vant/issues/10637) +- Locale: add Greek lang [#10621](https://github.com/vant-ui/vant/issues/10621) +- Locale: add Hebrew lang [#10591](https://github.com/vant-ui/vant/issues/10591) +- Switch: add node slot [#10573](https://github.com/vant-ui/vant/issues/10573) +- Switch: add background slot [#10666](https://github.com/vant-ui/vant/issues/10666) +- Form: add getValidationStatus method [#10620](https://github.com/vant-ui/vant/issues/10620) +- Uploader: add preview-delete slot [#10606](https://github.com/vant-ui/vant/issues/10606) **Bug Fixes** -- Area: failed to render picker mask after reopened [#10664](https://github.com/youzan/vant/issues/10664) -- field: dynamic data causes the input to be emptied [#10582](https://github.com/youzan/vant/issues/10582) -- Picker: picker columns-field-names responsiveness [#10562](https://github.com/youzan/vant/issues/10562) +- Area: failed to render picker mask after reopened [#10664](https://github.com/vant-ui/vant/issues/10664) +- field: dynamic data causes the input to be emptied [#10582](https://github.com/vant-ui/vant/issues/10582) +- Picker: picker columns-field-names responsiveness [#10562](https://github.com/vant-ui/vant/issues/10562) -### [v3.4.9](https://github.com/youzan/vant/compare/v3.4.8...v3.4.9) +### [v3.4.9](https://github.com/vant-ui/vant/compare/v3.4.8...v3.4.9) `2022-05-02` **Feature** -- Form: support setting multiple validate-trigger [#10544](https://github.com/youzan/vant/issues/10544) -- Empty: localize all images [#10514](https://github.com/youzan/vant/issues/10514) [#10515](https://github.com/youzan/vant/issues/10515) [#10516](https://github.com/youzan/vant/issues/10516) -- Loading: add aria to improve a11y [#10568](https://github.com/youzan/vant/issues/10568) +- Form: support setting multiple validate-trigger [#10544](https://github.com/vant-ui/vant/issues/10544) +- Empty: localize all images [#10514](https://github.com/vant-ui/vant/issues/10514) [#10515](https://github.com/vant-ui/vant/issues/10515) [#10516](https://github.com/vant-ui/vant/issues/10516) +- Loading: add aria to improve a11y [#10568](https://github.com/vant-ui/vant/issues/10568) **Bug Fixes** -- @vant/area-data: only publish dist folder to npm [f927f6](https://github.com/youzan/vant/commit/f927f6a7518cf7d08ec8abc5dd35019685c19e3a) +- @vant/area-data: only publish dist folder to npm [f927f6](https://github.com/vant-ui/vant/commit/f927f6a7518cf7d08ec8abc5dd35019685c19e3a) -### [v3.4.8](https://github.com/youzan/vant/compare/v3.4.7...v3.4.8) +### [v3.4.8](https://github.com/vant-ui/vant/compare/v3.4.7...v3.4.8) `2022-04-16` **Feature** -- CalendarDay: add default margin-bottom [#10441](https://github.com/youzan/vant/issues/10441) -- Empty: support set the image size separately [#10465](https://github.com/youzan/vant/issues/10465) -- Field: add enterkeyhint prop [#10478](https://github.com/youzan/vant/issues/10478) -- Form: add getValues method [#10511](https://github.com/youzan/vant/issues/10511) -- Icon: add some icons for ShareSheet [#10468](https://github.com/youzan/vant/issues/10468) -- Locale: add Danish lang [#10513](https://github.com/youzan/vant/issues/10513) -- ShareSheet: no longer rely on CDN images [#10469](https://github.com/youzan/vant/issues/10469) -- Add event arguments in web-types.json [#10474](https://github.com/youzan/vant/issues/10474) +- CalendarDay: add default margin-bottom [#10441](https://github.com/vant-ui/vant/issues/10441) +- Empty: support set the image size separately [#10465](https://github.com/vant-ui/vant/issues/10465) +- Field: add enterkeyhint prop [#10478](https://github.com/vant-ui/vant/issues/10478) +- Form: add getValues method [#10511](https://github.com/vant-ui/vant/issues/10511) +- Icon: add some icons for ShareSheet [#10468](https://github.com/vant-ui/vant/issues/10468) +- Locale: add Danish lang [#10513](https://github.com/vant-ui/vant/issues/10513) +- ShareSheet: no longer rely on CDN images [#10469](https://github.com/vant-ui/vant/issues/10469) +- Add event arguments in web-types.json [#10474](https://github.com/vant-ui/vant/issues/10474) **Bug Fixes** -- DatetimePicker: modeValue is inconsistent with the selected data [#10448](https://github.com/youzan/vant/issues/10448) -- Rate: support precisely selected [#10500](https://github.com/youzan/vant/issues/10500) +- DatetimePicker: modeValue is inconsistent with the selected data [#10448](https://github.com/vant-ui/vant/issues/10448) +- Rate: support precisely selected [#10500](https://github.com/vant-ui/vant/issues/10500) -### [v3.4.7](https://github.com/youzan/vant/compare/v3.4.6...v3.4.7) +### [v3.4.7](https://github.com/vant-ui/vant/compare/v3.4.6...v3.4.7) `2022-03-29` **Feature** -- @vant/area-data: update counties of NanJing [#10410](https://github.com/youzan/vant/issues/10410) -- CouponList: update empty image [#10436](https://github.com/youzan/vant/issues/10436) -- Locale: add Icelandic lang [#10418](https://github.com/youzan/vant/issues/10418) -- Locale: add Lao lang [#10388](https://github.com/youzan/vant/issues/10388) -- Locale: add Swedish lang [#10419](https://github.com/youzan/vant/issues/10419) -- NumberKeyboard: improve shuffle algorithm [#10428](https://github.com/youzan/vant/issues/10428) -- Uploader: support set the preview size separately [#10438](https://github.com/youzan/vant/issues/10438) +- @vant/area-data: update counties of NanJing [#10410](https://github.com/vant-ui/vant/issues/10410) +- CouponList: update empty image [#10436](https://github.com/vant-ui/vant/issues/10436) +- Locale: add Icelandic lang [#10418](https://github.com/vant-ui/vant/issues/10418) +- Locale: add Lao lang [#10388](https://github.com/vant-ui/vant/issues/10388) +- Locale: add Swedish lang [#10419](https://github.com/vant-ui/vant/issues/10419) +- NumberKeyboard: improve shuffle algorithm [#10428](https://github.com/vant-ui/vant/issues/10428) +- Uploader: support set the preview size separately [#10438](https://github.com/vant-ui/vant/issues/10438) **Bug Fixes** -- Calendar: scrollToDate method is invalid [#10432](https://github.com/youzan/vant/issues/10432) -- DatetimePicker: fix minDate && maxDate watcher [#10431](https://github.com/youzan/vant/issues/10431) -- IndexBar: allow active bottom anchor [#10404](https://github.com/youzan/vant/issues/10404) -- Tab: add key when render TabsTitle [#10392](https://github.com/youzan/vant/issues/10392) -- fix wrong ternary expression [#10426](https://github.com/youzan/vant/issues/10426) +- Calendar: scrollToDate method is invalid [#10432](https://github.com/vant-ui/vant/issues/10432) +- DatetimePicker: fix minDate && maxDate watcher [#10431](https://github.com/vant-ui/vant/issues/10431) +- IndexBar: allow active bottom anchor [#10404](https://github.com/vant-ui/vant/issues/10404) +- Tab: add key when render TabsTitle [#10392](https://github.com/vant-ui/vant/issues/10392) +- fix wrong ternary expression [#10426](https://github.com/vant-ui/vant/issues/10426) -### [v3.4.6](https://github.com/youzan/vant/compare/v3.4.5...v3.4.6) +### [v3.4.6](https://github.com/vant-ui/vant/compare/v3.4.5...v3.4.6) `2022-03-13` **Feature** -- Style: add van-safe-area-top class [#10356](https://github.com/youzan/vant/issues/10356) -- Calendar: add safe-area-inset-top prop [#10358](https://github.com/youzan/vant/issues/10358) -- Popup: add safe-area-inset-top prop [#10357](https://github.com/youzan/vant/issues/10357) +- Style: add van-safe-area-top class [#10356](https://github.com/vant-ui/vant/issues/10356) +- Calendar: add safe-area-inset-top prop [#10358](https://github.com/vant-ui/vant/issues/10358) +- Popup: add safe-area-inset-top prop [#10357](https://github.com/vant-ui/vant/issues/10357) **Bug Fixes** -- Skeleton: fix non-props attributes warning [#10384](https://github.com/youzan/vant/issues/10384) -- SwipeCell: cell should stopPropagation when lockClick is true [#10319](https://github.com/youzan/vant/issues/10319) -- Toast: failed to render message after changing type [#10311](https://github.com/youzan/vant/issues/10311) -- fix missing VisibilityState after typescript 4.6.0 [#10370](https://github.com/youzan/vant/issues/10370) +- Skeleton: fix non-props attributes warning [#10384](https://github.com/vant-ui/vant/issues/10384) +- SwipeCell: cell should stopPropagation when lockClick is true [#10319](https://github.com/vant-ui/vant/issues/10319) +- Toast: failed to render message after changing type [#10311](https://github.com/vant-ui/vant/issues/10311) +- fix missing VisibilityState after typescript 4.6.0 [#10370](https://github.com/vant-ui/vant/issues/10370) ### [v3.4.5](https://github.com/compare/v3.4.3...v3.4.5) @@ -161,25 +161,25 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Feature** -- CollapseItem: add lazy-render prop [#10270](https://github.com/youzan/vant/issues/10270) -- Dialog: support enter/esc keyboard event [#10261](https://github.com/youzan/vant/issues/10261) -- Locale: add Bangla (Bangladesh) [#10287](https://github.com/youzan/vant/issues/10287) -- Locale: add Indonesian translation [#10289](https://github.com/youzan/vant/issues/10289) -- Locale: add Italian translation [#10288](https://github.com/youzan/vant/issues/10288) -- Locale: add Ukrainian translation [#10291](https://github.com/youzan/vant/issues/10291) -- Locale: add Vietnamese translation [#10294](https://github.com/youzan/vant/issues/10294) +- CollapseItem: add lazy-render prop [#10270](https://github.com/vant-ui/vant/issues/10270) +- Dialog: support enter/esc keyboard event [#10261](https://github.com/vant-ui/vant/issues/10261) +- Locale: add Bangla (Bangladesh) [#10287](https://github.com/vant-ui/vant/issues/10287) +- Locale: add Indonesian translation [#10289](https://github.com/vant-ui/vant/issues/10289) +- Locale: add Italian translation [#10288](https://github.com/vant-ui/vant/issues/10288) +- Locale: add Ukrainian translation [#10291](https://github.com/vant-ui/vant/issues/10291) +- Locale: add Vietnamese translation [#10294](https://github.com/vant-ui/vant/issues/10294) **style** -- SubmitBar: using english colon [#10286](https://github.com/youzan/vant/issues/10286) +- SubmitBar: using english colon [#10286](https://github.com/vant-ui/vant/issues/10286) **Types** -- IndexBar: index-list prop can includes number [#10273](https://github.com/youzan/vant/issues/10273) -- Toast: fix missing teleport prop [#10272](https://github.com/youzan/vant/issues/10272) -- Uploader: fix UploaderBeforeRead type [#10274](https://github.com/youzan/vant/issues/10274) +- IndexBar: index-list prop can includes number [#10273](https://github.com/vant-ui/vant/issues/10273) +- Toast: fix missing teleport prop [#10272](https://github.com/vant-ui/vant/issues/10272) +- Uploader: fix UploaderBeforeRead type [#10274](https://github.com/vant-ui/vant/issues/10274) -### [v3.4.4](https://github.com/youzan/vant/compare/v3.4.4...v3.4.3) +### [v3.4.4](https://github.com/vant-ui/vant/compare/v3.4.4...v3.4.3) `2022-02-07` @@ -191,14 +191,14 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Feature** -- Locale: add Hindi translation [#10248](https://github.com/youzan/vant/issues/10248) -- Locale: add Korean translations [#10243](https://github.com/youzan/vant/issues/10243) -- improve cursor of haptics elements [#10232](https://github.com/youzan/vant/issues/10232) +- Locale: add Hindi translation [#10248](https://github.com/vant-ui/vant/issues/10248) +- Locale: add Korean translations [#10243](https://github.com/vant-ui/vant/issues/10243) +- improve cursor of haptics elements [#10232](https://github.com/vant-ui/vant/issues/10232) **Bug Fixes** -- Icon: remove white space under image when using image URL [#10220](https://github.com/youzan/vant/issues/10220) -- TreeSelect: click-nav event not work when clicking active item [#10239](https://github.com/youzan/vant/issues/10239) +- Icon: remove white space under image when using image URL [#10220](https://github.com/vant-ui/vant/issues/10220) +- TreeSelect: click-nav event not work when clicking active item [#10239](https://github.com/vant-ui/vant/issues/10239) ### [v3.4.2](https://github.com/compare/v3.4.1...v3.4.2) @@ -206,19 +206,19 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Feature** -- Cascader: add show-header prop [#10202](https://github.com/youzan/vant/issues/10202) -- Image: add position prop [#10142](https://github.com/youzan/vant/issues/10142) -- ImagePreview: improve zoom fluency [#10187](https://github.com/youzan/vant/issues/10187) -- Overlay: add lazy-render prop [#10180](https://github.com/youzan/vant/issues/10180) -- provide english version of web-types [#10207](https://github.com/youzan/vant/issues/10207) +- Cascader: add show-header prop [#10202](https://github.com/vant-ui/vant/issues/10202) +- Image: add position prop [#10142](https://github.com/vant-ui/vant/issues/10142) +- ImagePreview: improve zoom fluency [#10187](https://github.com/vant-ui/vant/issues/10187) +- Overlay: add lazy-render prop [#10180](https://github.com/vant-ui/vant/issues/10180) +- provide english version of web-types [#10207](https://github.com/vant-ui/vant/issues/10207) **Bug Fixes** -- Calendar: incorrectly selected when a date is disabled [#10196](https://github.com/youzan/vant/issues/10196) -- Image: failed to hide loading when using lazy-load [#10193](https://github.com/youzan/vant/issues/10193) -- ImagePreview: incorrectly closed after zooming [#10188](https://github.com/youzan/vant/issues/10188) -- Skeleton: row prop can't be string type [#10172](https://github.com/youzan/vant/issues/10172) -- useHeight may get the wrong height [#10195](https://github.com/youzan/vant/issues/10195) +- Calendar: incorrectly selected when a date is disabled [#10196](https://github.com/vant-ui/vant/issues/10196) +- Image: failed to hide loading when using lazy-load [#10193](https://github.com/vant-ui/vant/issues/10193) +- ImagePreview: incorrectly closed after zooming [#10188](https://github.com/vant-ui/vant/issues/10188) +- Skeleton: row prop can't be string type [#10172](https://github.com/vant-ui/vant/issues/10172) +- useHeight may get the wrong height [#10195](https://github.com/vant-ui/vant/issues/10195) ### [v3.4.1](https://github.com/compare/v3.4.0...v3.4.1) @@ -226,9 +226,9 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Bug Fixes** -- Area: missing picker mask [#10164](https://github.com/youzan/vant/issues/10164) -- DatetimePicker: error in some edge cases [#10140](https://github.com/youzan/vant/issues/10140) -- Popover: fix gap under the triangle [#10148](https://github.com/youzan/vant/issues/10148) +- Area: missing picker mask [#10164](https://github.com/vant-ui/vant/issues/10164) +- DatetimePicker: error in some edge cases [#10140](https://github.com/vant-ui/vant/issues/10140) +- Popover: fix gap under the triangle [#10148](https://github.com/vant-ui/vant/issues/10148) ### [v3.4.0](https://github.com/compare/v3.3.7...v3.4.0) @@ -236,42 +236,42 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Bug Fixes** -- Icons: complete https protocol [#10079](https://github.com/youzan/vant/issues/10079) -- Picker: should not render mask and frame when options is empty [#10135](https://github.com/youzan/vant/issues/10135) -- Popup: close event emitted twice [#10132](https://github.com/youzan/vant/issues/10132) -- PullRefresh: may trigger browser bounce in some cases [#10080](https://github.com/youzan/vant/issues/10080) -- Step: fix inactive title style [#10049](https://github.com/youzan/vant/issues/10049) -- SwipeCell: should not trigger open event when opened [#10059](https://github.com/youzan/vant/issues/10059) -- swipe: delay load cause swipe error [#10052](https://github.com/youzan/vant/issues/10052) [#10069](https://github.com/youzan/vant/issues/10069) -- Tabs: should not render line when have no tab [#10063](https://github.com/youzan/vant/issues/10063) +- Icons: complete https protocol [#10079](https://github.com/vant-ui/vant/issues/10079) +- Picker: should not render mask and frame when options is empty [#10135](https://github.com/vant-ui/vant/issues/10135) +- Popup: close event emitted twice [#10132](https://github.com/vant-ui/vant/issues/10132) +- PullRefresh: may trigger browser bounce in some cases [#10080](https://github.com/vant-ui/vant/issues/10080) +- Step: fix inactive title style [#10049](https://github.com/vant-ui/vant/issues/10049) +- SwipeCell: should not trigger open event when opened [#10059](https://github.com/vant-ui/vant/issues/10059) +- swipe: delay load cause swipe error [#10052](https://github.com/vant-ui/vant/issues/10052) [#10069](https://github.com/vant-ui/vant/issues/10069) +- Tabs: should not render line when have no tab [#10063](https://github.com/vant-ui/vant/issues/10063) **Feature** -- ActionBarIcon: add badge-props prop [#10096](https://github.com/youzan/vant/issues/10096) -- ActionSheet: add option slot [#10065](https://github.com/youzan/vant/issues/10065) -- Badge: add badge-props prop [#10095](https://github.com/youzan/vant/issues/10095) -- GridItem: add badge-props prop [#10097](https://github.com/youzan/vant/issues/10097) -- Icons: add cash-o icon [#10076](https://github.com/youzan/vant/issues/10076) -- ImagePreview: add overlayClass option [#10044](https://github.com/youzan/vant/issues/10044) -- Notify: add position prop [#10056](https://github.com/youzan/vant/issues/10056) -- Popover: add action slot [#10091](https://github.com/youzan/vant/issues/10091) -- Search: add click-left-icon、click-right-icon event [#10139](https://github.com/youzan/vant/issues/10139) -- SidebarItem: add badge-props prop [#10106](https://github.com/youzan/vant/issues/10106) -- Swipe: indicator slot add total param [#10060](https://github.com/youzan/vant/issues/10060) -- TabbarItem: add badge-props prop [#10092](https://github.com/youzan/vant/issues/10092) -- Tabs: add shrink prop [#10125](https://github.com/youzan/vant/issues/10125) +- ActionBarIcon: add badge-props prop [#10096](https://github.com/vant-ui/vant/issues/10096) +- ActionSheet: add option slot [#10065](https://github.com/vant-ui/vant/issues/10065) +- Badge: add badge-props prop [#10095](https://github.com/vant-ui/vant/issues/10095) +- GridItem: add badge-props prop [#10097](https://github.com/vant-ui/vant/issues/10097) +- Icons: add cash-o icon [#10076](https://github.com/vant-ui/vant/issues/10076) +- ImagePreview: add overlayClass option [#10044](https://github.com/vant-ui/vant/issues/10044) +- Notify: add position prop [#10056](https://github.com/vant-ui/vant/issues/10056) +- Popover: add action slot [#10091](https://github.com/vant-ui/vant/issues/10091) +- Search: add click-left-icon、click-right-icon event [#10139](https://github.com/vant-ui/vant/issues/10139) +- SidebarItem: add badge-props prop [#10106](https://github.com/vant-ui/vant/issues/10106) +- Swipe: indicator slot add total param [#10060](https://github.com/vant-ui/vant/issues/10060) +- TabbarItem: add badge-props prop [#10092](https://github.com/vant-ui/vant/issues/10092) +- Tabs: add shrink prop [#10125](https://github.com/vant-ui/vant/issues/10125) **style** -- PullRefresh: remove user-select: none [#10078](https://github.com/youzan/vant/issues/10078) -- TreeSelect: allow select text in content slot [#10081](https://github.com/youzan/vant/issues/10081) +- PullRefresh: remove user-select: none [#10078](https://github.com/vant-ui/vant/issues/10078) +- TreeSelect: allow select text in content slot [#10081](https://github.com/vant-ui/vant/issues/10081) **Types** -- define global components for volar [#10136](https://github.com/youzan/vant/issues/10136) -- Field: type prop allow all native types [#10042](https://github.com/youzan/vant/issues/10042) -- Popup: add PopupInstance type [#10062](https://github.com/youzan/vant/issues/10062) -- Search: fix missing event typing [#10134](https://github.com/youzan/vant/issues/10134) +- define global components for volar [#10136](https://github.com/vant-ui/vant/issues/10136) +- Field: type prop allow all native types [#10042](https://github.com/vant-ui/vant/issues/10042) +- Popup: add PopupInstance type [#10062](https://github.com/vant-ui/vant/issues/10062) +- Search: fix missing event typing [#10134](https://github.com/vant-ui/vant/issues/10134) ### [v3.3.7](https://github.com/compare/v3.3.6...v3.3.7) @@ -279,14 +279,14 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Feature** -- Badge: add position prop [#10024](https://github.com/youzan/vant/issues/10024) +- Badge: add position prop [#10024](https://github.com/vant-ui/vant/issues/10024) **Bug Fixes** -- DatetimePicker: should update value after calling picker methods [#10029](https://github.com/youzan/vant/issues/10029) -- Field: fix the length of emoji [#10033](https://github.com/youzan/vant/issues/10033) -- Pagination: change event not work [#10018](https://github.com/youzan/vant/issues/10018) -- fix tree shaking is broken [#10034](https://github.com/youzan/vant/issues/10034) +- DatetimePicker: should update value after calling picker methods [#10029](https://github.com/vant-ui/vant/issues/10029) +- Field: fix the length of emoji [#10033](https://github.com/vant-ui/vant/issues/10033) +- Pagination: change event not work [#10018](https://github.com/vant-ui/vant/issues/10018) +- fix tree shaking is broken [#10034](https://github.com/vant-ui/vant/issues/10034) ### [v3.3.6](https://github.com/compare/v3.3.5...v3.3.6) @@ -294,7 +294,7 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Bug Fixes** -- fix ssr.js require path [#9999](https://github.com/youzan/vant/issues/9999) +- fix ssr.js require path [#9999](https://github.com/vant-ui/vant/issues/9999) ### [v3.3.5](https://github.com/compare/v3.3.4...v3.3.5) @@ -302,8 +302,8 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Bug Fixes** -- fix exports field break SSR [#9988](https://github.com/youzan/vant/issues/9988) -- fix exports field break unplugin-vue-components [#9985](https://github.com/youzan/vant/issues/9985) +- fix exports field break SSR [#9988](https://github.com/vant-ui/vant/issues/9988) +- fix exports field break unplugin-vue-components [#9985](https://github.com/vant-ui/vant/issues/9985) ### [v3.3.4](https://github.com/compare/v3.3.3...v3.3.4) @@ -317,13 +317,13 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Feature** -- Support nuxt3 [#9970](https://github.com/youzan/vant/issues/9970) -- Locale: add pt-BR locale [#9959](https://github.com/youzan/vant/issues/9959) +- Support nuxt3 [#9970](https://github.com/vant-ui/vant/issues/9970) +- Locale: add pt-BR locale [#9959](https://github.com/vant-ui/vant/issues/9959) **Bug Fixes** -- Swipe: fix incorrect border radius in iOS safari [#9958](https://github.com/youzan/vant/issues/9958) -- Uploader: fix preview is slow when sum of images size be bigger [#9961](https://github.com/youzan/vant/issues/9961) +- Swipe: fix incorrect border radius in iOS safari [#9958](https://github.com/vant-ui/vant/issues/9958) +- Uploader: fix preview is slow when sum of images size be bigger [#9961](https://github.com/vant-ui/vant/issues/9961) ### [v3.3.2](https://github.com/compare/v3.3.1...v3.3.2) @@ -331,15 +331,15 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Feature** -- add exports field and use bundled output by default [#9952](https://github.com/youzan/vant/issues/9952) -- Tabbar: support highlighted with child route [#9926](https://github.com/youzan/vant/issues/9926) +- add exports field and use bundled output by default [#9952](https://github.com/vant-ui/vant/issues/9952) +- Tabbar: support highlighted with child route [#9926](https://github.com/vant-ui/vant/issues/9926) **Bug Fixes** -- Calendar: auto selected to max range when show-confirm is false [#9948](https://github.com/youzan/vant/issues/9948) -- Calendar: should scroll to current date instead of current month [#9949](https://github.com/youzan/vant/issues/9949) -- Swipe: should prevent touchmove event when swiping [#9920](https://github.com/youzan/vant/issues/9920) -- Tabs: rename wrapper class to `van-tab__panel-wrapper` [#9951](https://github.com/youzan/vant/issues/9951) +- Calendar: auto selected to max range when show-confirm is false [#9948](https://github.com/vant-ui/vant/issues/9948) +- Calendar: should scroll to current date instead of current month [#9949](https://github.com/vant-ui/vant/issues/9949) +- Swipe: should prevent touchmove event when swiping [#9920](https://github.com/vant-ui/vant/issues/9920) +- Tabs: rename wrapper class to `van-tab__panel-wrapper` [#9951](https://github.com/vant-ui/vant/issues/9951) ### [v3.3.1](https://github.com/compare/v3.3.0...v3.3.1) @@ -347,7 +347,7 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Bug Fixes** -- AddressEdit: should not emit save event when validation failed [#9917](https://github.com/youzan/vant/issues/9917) +- AddressEdit: should not emit save event when validation failed [#9917](https://github.com/vant-ui/vant/issues/9917) ### [v3.3.0](https://github.com/compare/v3.2.8...v3.3.0) @@ -355,41 +355,41 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Accessibility** -- Cascader: add role, aria and tabindex [#9886](https://github.com/youzan/vant/issues/9886) -- CountDown: add timer role [#9906](https://github.com/youzan/vant/issues/9906) -- DropdownMenu: add role, aria and tabindex [#9893](https://github.com/youzan/vant/issues/9893) -- Field: add aria-labelledby [#9883](https://github.com/youzan/vant/issues/9883) -- List: add role and tabindex [#9888](https://github.com/youzan/vant/issues/9888) -- Pagination: refactor DOM to improve a11y [#9901](https://github.com/youzan/vant/issues/9901) -- Popover: add tabindex and aria-disabled [#9889](https://github.com/youzan/vant/issues/9889) -- Rate: improve a11y when disabled or readonly [#9881](https://github.com/youzan/vant/issues/9881) -- Search: id prop add default value [#9884](https://github.com/youzan/vant/issues/9884) -- Sidebar: add role, aria and tabindex [#9903](https://github.com/youzan/vant/issues/9903) -- Slider: improve a11y when disabled or readonly [#9880](https://github.com/youzan/vant/issues/9880) -- Stepper: add aria-disabled [#9877](https://github.com/youzan/vant/issues/9877) -- Stepper: add group role [#9876](https://github.com/youzan/vant/issues/9876) -- Switch: add tabindex [#9887](https://github.com/youzan/vant/issues/9887) -- Tabbar: add role, aria and tabindex [#9895](https://github.com/youzan/vant/issues/9895) -- Tabs: add aria-controls [#9882](https://github.com/youzan/vant/issues/9882) -- Tabs: add aria-disabled [#9878](https://github.com/youzan/vant/issues/9878) -- Tabs: add aria-orientation and tabindex [#9872](https://github.com/youzan/vant/issues/9872) -- Uploader: add role, aria and tabindex [#9905](https://github.com/youzan/vant/issues/9905) -- remove tabindex from disabled elements [#9879](https://github.com/youzan/vant/issues/9879) +- Cascader: add role, aria and tabindex [#9886](https://github.com/vant-ui/vant/issues/9886) +- CountDown: add timer role [#9906](https://github.com/vant-ui/vant/issues/9906) +- DropdownMenu: add role, aria and tabindex [#9893](https://github.com/vant-ui/vant/issues/9893) +- Field: add aria-labelledby [#9883](https://github.com/vant-ui/vant/issues/9883) +- List: add role and tabindex [#9888](https://github.com/vant-ui/vant/issues/9888) +- Pagination: refactor DOM to improve a11y [#9901](https://github.com/vant-ui/vant/issues/9901) +- Popover: add tabindex and aria-disabled [#9889](https://github.com/vant-ui/vant/issues/9889) +- Rate: improve a11y when disabled or readonly [#9881](https://github.com/vant-ui/vant/issues/9881) +- Search: id prop add default value [#9884](https://github.com/vant-ui/vant/issues/9884) +- Sidebar: add role, aria and tabindex [#9903](https://github.com/vant-ui/vant/issues/9903) +- Slider: improve a11y when disabled or readonly [#9880](https://github.com/vant-ui/vant/issues/9880) +- Stepper: add aria-disabled [#9877](https://github.com/vant-ui/vant/issues/9877) +- Stepper: add group role [#9876](https://github.com/vant-ui/vant/issues/9876) +- Switch: add tabindex [#9887](https://github.com/vant-ui/vant/issues/9887) +- Tabbar: add role, aria and tabindex [#9895](https://github.com/vant-ui/vant/issues/9895) +- Tabs: add aria-controls [#9882](https://github.com/vant-ui/vant/issues/9882) +- Tabs: add aria-disabled [#9878](https://github.com/vant-ui/vant/issues/9878) +- Tabs: add aria-orientation and tabindex [#9872](https://github.com/vant-ui/vant/issues/9872) +- Uploader: add role, aria and tabindex [#9905](https://github.com/vant-ui/vant/issues/9905) +- remove tabindex from disabled elements [#9879](https://github.com/vant-ui/vant/issues/9879) **Feature** -- Popup: reduce unused listener [#9896](https://github.com/youzan/vant/issues/9896) -- Field: expose sub-types of FieldRule [#9843](https://github.com/youzan/vant/issues/9843) -- minify svg icons [#9869](https://github.com/youzan/vant/issues/9869) +- Popup: reduce unused listener [#9896](https://github.com/vant-ui/vant/issues/9896) +- Field: expose sub-types of FieldRule [#9843](https://github.com/vant-ui/vant/issues/9843) +- minify svg icons [#9869](https://github.com/vant-ui/vant/issues/9869) **Bug Fixes** -- Popover: useClickAway failed in SSR [#9899](https://github.com/youzan/vant/issues/9899) -- CouponList: incorrect list height [#9874](https://github.com/youzan/vant/issues/9874) -- Field: should not trigger validation after blurring readonly input [#9862](https://github.com/youzan/vant/issues/9862) -- Switch: switch node inherit font-size [#9842](https://github.com/youzan/vant/issues/9842) -- Tabbar: before-change not work in route mode [#9856](https://github.com/youzan/vant/issues/9856) -- Tabs: rename panel class to `van-tab__panel` [#9885](https://github.com/youzan/vant/issues/9885) +- Popover: useClickAway failed in SSR [#9899](https://github.com/vant-ui/vant/issues/9899) +- CouponList: incorrect list height [#9874](https://github.com/vant-ui/vant/issues/9874) +- Field: should not trigger validation after blurring readonly input [#9862](https://github.com/vant-ui/vant/issues/9862) +- Switch: switch node inherit font-size [#9842](https://github.com/vant-ui/vant/issues/9842) +- Tabbar: before-change not work in route mode [#9856](https://github.com/vant-ui/vant/issues/9856) +- Tabs: rename panel class to `van-tab__panel` [#9885](https://github.com/vant-ui/vant/issues/9885) ### [v3.2.8](https://github.com/compare/v3.2.7...v3.2.8) @@ -397,842 +397,842 @@ webpack, vite and other build tools support the `.mjs` by default, so no additio **Feature** -- Cascader: add options-bottom slot [#9804](https://github.com/youzan/vant/issues/9804) +- Cascader: add options-bottom slot [#9804](https://github.com/vant-ui/vant/issues/9804) - SubmitBar: add SubmitBarTextAlign type [f95567](https://github.com/commit/f95567ade758d453f4acad8a40d8ae717035476a) -- PasswordInput: add PasswordInputProps type [#9820](https://github.com/youzan/vant/issues/9820) +- PasswordInput: add PasswordInputProps type [#9820](https://github.com/vant-ui/vant/issues/9820) **Bug Fixes** -- NavBar: fix NavBarProps spelling [#9818](https://github.com/youzan/vant/issues/9818) -- Progress: incorrect border-radius [#9826](https://github.com/youzan/vant/issues/9826) -- SubmitBar: fix missing SubmitBarProps export [#9819](https://github.com/youzan/vant/issues/9819) -- Tabs: should emit click-tab after before-change [#9805](https://github.com/youzan/vant/issues/9805) +- NavBar: fix NavBarProps spelling [#9818](https://github.com/vant-ui/vant/issues/9818) +- Progress: incorrect border-radius [#9826](https://github.com/vant-ui/vant/issues/9826) +- SubmitBar: fix missing SubmitBarProps export [#9819](https://github.com/vant-ui/vant/issues/9819) +- Tabs: should emit click-tab after before-change [#9805](https://github.com/vant-ui/vant/issues/9805) -### [v3.2.7](https://github.com/youzan/vant/compare/v3.2.6...v3.2.7) +### [v3.2.7](https://github.com/vant-ui/vant/compare/v3.2.6...v3.2.7) `2021-11-04` **Feature** -- export all props type [#9717](https://github.com/youzan/vant/issues/9717) -- add --van-text-color-2 CSS var [#9759](https://github.com/youzan/vant/issues/9759) -- add --van-text-color-3 CSS var [#9776](https://github.com/youzan/vant/issues/9776) -- Cascader: add options-top slot [#9732](https://github.com/youzan/vant/issues/9732) -- Coupon: add --van-coupon-content-text-color CSS var [#9760](https://github.com/youzan/vant/issues/9760) -- Picker: add --van-picker-mask-color CSS var [#9783](https://github.com/youzan/vant/issues/9783) +- export all props type [#9717](https://github.com/vant-ui/vant/issues/9717) +- add --van-text-color-2 CSS var [#9759](https://github.com/vant-ui/vant/issues/9759) +- add --van-text-color-3 CSS var [#9776](https://github.com/vant-ui/vant/issues/9776) +- Cascader: add options-top slot [#9732](https://github.com/vant-ui/vant/issues/9732) +- Coupon: add --van-coupon-content-text-color CSS var [#9760](https://github.com/vant-ui/vant/issues/9760) +- Picker: add --van-picker-mask-color CSS var [#9783](https://github.com/vant-ui/vant/issues/9783) **Bug Fixes** -- Field: adjust textarea size when focus/blur [#9719](https://github.com/youzan/vant/issues/9719) -- fix --van-border-color should affect hairline [#9751](https://github.com/youzan/vant/issues/9751) +- Field: adjust textarea size when focus/blur [#9719](https://github.com/vant-ui/vant/issues/9719) +- fix --van-border-color should affect hairline [#9751](https://github.com/vant-ui/vant/issues/9751) -### [v3.2.6](https://github.com/youzan/vant/compare/v3.2.5...v3.2.6) +### [v3.2.6](https://github.com/vant-ui/vant/compare/v3.2.5...v3.2.6) `2021-10-24` **Feature** -- AddressEdit: remove confirm delete dialog [#9671](https://github.com/youzan/vant/issues/9671) -- Calendar: add confirm-text slot [#9689](https://github.com/youzan/vant/issues/9689) -- Progress: add --van-progress-inactive-color var [#9711](https://github.com/youzan/vant/issues/9711) -- ShareSheet: add round prop [#9645](https://github.com/youzan/vant/issues/9645) -- css vars support gradient background color [#9678](https://github.com/youzan/vant/issues/9678) +- AddressEdit: remove confirm delete dialog [#9671](https://github.com/vant-ui/vant/issues/9671) +- Calendar: add confirm-text slot [#9689](https://github.com/vant-ui/vant/issues/9689) +- Progress: add --van-progress-inactive-color var [#9711](https://github.com/vant-ui/vant/issues/9711) +- ShareSheet: add round prop [#9645](https://github.com/vant-ui/vant/issues/9645) +- css vars support gradient background color [#9678](https://github.com/vant-ui/vant/issues/9678) **Performance** -- reduce event listener of useWindowSize [#9658](https://github.com/youzan/vant/issues/9658) -- Empty: minify empty icon [#9673](https://github.com/youzan/vant/issues/9673) +- reduce event listener of useWindowSize [#9658](https://github.com/vant-ui/vant/issues/9658) +- Empty: minify empty icon [#9673](https://github.com/vant-ui/vant/issues/9673) **Types** -- Cascader: add CascaderProps type [#9684](https://github.com/youzan/vant/issues/9684) -- Checkbox: export more types [#9665](https://github.com/youzan/vant/issues/9665) -- Steps: export StepsDirection type [#9664](https://github.com/youzan/vant/issues/9664) +- Cascader: add CascaderProps type [#9684](https://github.com/vant-ui/vant/issues/9684) +- Checkbox: export more types [#9665](https://github.com/vant-ui/vant/issues/9665) +- Steps: export StepsDirection type [#9664](https://github.com/vant-ui/vant/issues/9664) **Bug Fixes** -- ActionSheet: closeOnPopstate prop not work [#9644](https://github.com/youzan/vant/issues/9644) -- AddressEdit: fix address-edit-button-font-size var name [#9662](https://github.com/youzan/vant/issues/9662) -- Badge: fix style issues when the dot option is turned on [#9686](https://github.com/youzan/vant/issues/9686) [#9687](https://github.com/youzan/vant/issues/9687) +- ActionSheet: closeOnPopstate prop not work [#9644](https://github.com/vant-ui/vant/issues/9644) +- AddressEdit: fix address-edit-button-font-size var name [#9662](https://github.com/vant-ui/vant/issues/9662) +- Badge: fix style issues when the dot option is turned on [#9686](https://github.com/vant-ui/vant/issues/9686) [#9687](https://github.com/vant-ui/vant/issues/9687) -### [v3.2.5](https://github.com/youzan/vant/compare/v3.2.4...v3.2.5) +### [v3.2.5](https://github.com/vant-ui/vant/compare/v3.2.4...v3.2.5) `2021-10-08` **Feature** -- Field: add error-message slot [#9634](https://github.com/youzan/vant/issues/9634) +- Field: add error-message slot [#9634](https://github.com/vant-ui/vant/issues/9634) **Performance** -- remove CustomEvent polyfill [#9589](https://github.com/youzan/vant/issues/9589) -- remove passive event polyfill [#9590](https://github.com/youzan/vant/issues/9590) +- remove CustomEvent polyfill [#9589](https://github.com/vant-ui/vant/issues/9589) +- remove passive event polyfill [#9590](https://github.com/vant-ui/vant/issues/9590) **Types** -- Button: add ButtonNativeType、ButtonIconPosition type [#9604](https://github.com/youzan/vant/issues/9604) -- Skeleton: add SkeletonAvatarShape type [#9605](https://github.com/youzan/vant/issues/9605) +- Button: add ButtonNativeType、ButtonIconPosition type [#9604](https://github.com/vant-ui/vant/issues/9604) +- Skeleton: add SkeletonAvatarShape type [#9605](https://github.com/vant-ui/vant/issues/9605) **Bug Fixes** -- Toast: failed to sync clear toast [a48caa](https://github.com/youzan/vant/commit/a48caa7c98f88d9c87de3f9e9f208771c1c98ab5) -- Revert "chore: adjust package entry file" [#9642](https://github.com/youzan/vant/issues/9642) [#9455](https://github.com/youzan/vant/issues/9455) +- Toast: failed to sync clear toast [a48caa](https://github.com/vant-ui/vant/commit/a48caa7c98f88d9c87de3f9e9f208771c1c98ab5) +- Revert "chore: adjust package entry file" [#9642](https://github.com/vant-ui/vant/issues/9642) [#9455](https://github.com/vant-ui/vant/issues/9455) -### [v3.2.4](https://github.com/youzan/vant/compare/v3.2.3...v3.2.4) +### [v3.2.4](https://github.com/vant-ui/vant/compare/v3.2.3...v3.2.4) `2021-09-26` **Feature** -- Icon: add guide-o icon [c5f45a](https://github.com/youzan/vant/commit/c5f45a5c134bf9d789c943b247c620a1a2391d03) -- Search: add autocomplete prop [#9553](https://github.com/youzan/vant/issues/9553) -- Search: add name prop [#9563](https://github.com/youzan/vant/issues/9563) +- Icon: add guide-o icon [c5f45a](https://github.com/vant-ui/vant/commit/c5f45a5c134bf9d789c943b247c620a1a2391d03) +- Search: add autocomplete prop [#9553](https://github.com/vant-ui/vant/issues/9553) +- Search: add name prop [#9563](https://github.com/vant-ui/vant/issues/9563) **Performance** -- Lazyload: reduce production log [33d7aa](https://github.com/youzan/vant/commit/33d7aa8f1aee38576f1a0b3549560edd7b5fe0ed) -- Lazyload: remove edge 15 polyfill [00b156](https://github.com/youzan/vant/commit/00b1568887321cf452ed4b8872fe99f089a74b22) -- @vant/use: remove raf polyfill [#9544](https://github.com/youzan/vant/issues/9544) +- Lazyload: reduce production log [33d7aa](https://github.com/vant-ui/vant/commit/33d7aa8f1aee38576f1a0b3549560edd7b5fe0ed) +- Lazyload: remove edge 15 polyfill [00b156](https://github.com/vant-ui/vant/commit/00b1568887321cf452ed4b8872fe99f089a74b22) +- @vant/use: remove raf polyfill [#9544](https://github.com/vant-ui/vant/issues/9544) **Types** -- export props types [a3380f](https://github.com/youzan/vant/commit/a3380f08c06f5fd32443e9b033e3d8a29c1f726a) -- fix $toast、$dialog、$notify typing [#9556](https://github.com/youzan/vant/issues/9556) -- Popover: PopoverAction type allow extra properties [#9554](https://github.com/youzan/vant/issues/9554) +- export props types [a3380f](https://github.com/vant-ui/vant/commit/a3380f08c06f5fd32443e9b033e3d8a29c1f726a) +- fix $toast、$dialog、$notify typing [#9556](https://github.com/vant-ui/vant/issues/9556) +- Popover: PopoverAction type allow extra properties [#9554](https://github.com/vant-ui/vant/issues/9554) **Bug Fixes** -- Collapse: wrapperRef may be undefined [#9505](https://github.com/youzan/vant/issues/9505) -- CouponList: fix scroll issue [#9480](https://github.com/youzan/vant/issues/9480) -- Radio: icon ref may be undefined [#9503](https://github.com/youzan/vant/issues/9503) -- Tabs: failed to scroll into view when rendering multiple tabs [#9543](https://github.com/youzan/vant/issues/9543) +- Collapse: wrapperRef may be undefined [#9505](https://github.com/vant-ui/vant/issues/9505) +- CouponList: fix scroll issue [#9480](https://github.com/vant-ui/vant/issues/9480) +- Radio: icon ref may be undefined [#9503](https://github.com/vant-ui/vant/issues/9503) +- Tabs: failed to scroll into view when rendering multiple tabs [#9543](https://github.com/vant-ui/vant/issues/9543) -### [v3.2.3](https://github.com/youzan/vant/compare/v3.2.2...v3.2.3) +### [v3.2.3](https://github.com/vant-ui/vant/compare/v3.2.2...v3.2.3) `2021-09-12` **Bug Fixes** -- Button: should support CSS vars gradient background color [#9454](https://github.com/youzan/vant/issues/9454) -- Calendar: fix disabled date selection [#9361](https://github.com/youzan/vant/issues/9361) -- Field: fix user-select input issue in iOS [#9418](https://github.com/youzan/vant/issues/9418) -- FIeld: field-error-message-font-size var name [#9394](https://github.com/youzan/vant/issues/9394) -- Popup: failed to autoplay when activated [#9452](https://github.com/youzan/vant/issues/9452) -- Theme: remove less tilde [a7ab2f](https://github.com/youzan/vant/commit/a7ab2f8049b7c18d2a2f74aeac26f72dfbadaf6f) -- slider: fix empty range value [#9409](https://github.com/youzan/vant/issues/9409) -- Uploader: uploader-delete-icon-size should affect icon size [#9453](https://github.com/youzan/vant/issues/9453) +- Button: should support CSS vars gradient background color [#9454](https://github.com/vant-ui/vant/issues/9454) +- Calendar: fix disabled date selection [#9361](https://github.com/vant-ui/vant/issues/9361) +- Field: fix user-select input issue in iOS [#9418](https://github.com/vant-ui/vant/issues/9418) +- FIeld: field-error-message-font-size var name [#9394](https://github.com/vant-ui/vant/issues/9394) +- Popup: failed to autoplay when activated [#9452](https://github.com/vant-ui/vant/issues/9452) +- Theme: remove less tilde [a7ab2f](https://github.com/vant-ui/vant/commit/a7ab2f8049b7c18d2a2f74aeac26f72dfbadaf6f) +- slider: fix empty range value [#9409](https://github.com/vant-ui/vant/issues/9409) +- Uploader: uploader-delete-icon-size should affect icon size [#9453](https://github.com/vant-ui/vant/issues/9453) -### [v3.2.2](https://github.com/youzan/vant/compare/v3.2.1...v3.2.2) +### [v3.2.2](https://github.com/vant-ui/vant/compare/v3.2.1...v3.2.2) `2021-09-02` **Feature** -- Field: add id prop [#9347](https://github.com/youzan/vant/issues/9347) -- Field: add `van-field__error` class when error [#9327](https://github.com/youzan/vant/issues/9327) -- Field: using `label` tag for label [#9346](https://github.com/youzan/vant/issues/9346) -- Popover: add show-arrow prop [#9372](https://github.com/youzan/vant/issues/9372) -- Progress: add transition effect [ba4ff5](https://github.com/youzan/vant/commit/ba4ff58af6ccf67e255bf43ef905677dc64596a3) -- Search: add id prop [#9349](https://github.com/youzan/vant/issues/9349) -- Tab: add show-zero-badge prop [#9343](https://github.com/youzan/vant/issues/9343) -- Locale: simplify locale configs [#9329](https://github.com/youzan/vant/issues/9329) +- Field: add id prop [#9347](https://github.com/vant-ui/vant/issues/9347) +- Field: add `van-field__error` class when error [#9327](https://github.com/vant-ui/vant/issues/9327) +- Field: using `label` tag for label [#9346](https://github.com/vant-ui/vant/issues/9346) +- Popover: add show-arrow prop [#9372](https://github.com/vant-ui/vant/issues/9372) +- Progress: add transition effect [ba4ff5](https://github.com/vant-ui/vant/commit/ba4ff58af6ccf67e255bf43ef905677dc64596a3) +- Search: add id prop [#9349](https://github.com/vant-ui/vant/issues/9349) +- Tab: add show-zero-badge prop [#9343](https://github.com/vant-ui/vant/issues/9343) +- Locale: simplify locale configs [#9329](https://github.com/vant-ui/vant/issues/9329) **Bug Fixes** -- AddressEdit: remove unused finish button [#9364](https://github.com/youzan/vant/issues/9364) -- Progress: fix render error when use v-show and improve performance [841e09](https://github.com/youzan/vant/commit/841e09d0529961058ecb63ed26f018cf3a66a3bf) -- Progress: percentage missing default value [8ac597](https://github.com/youzan/vant/commit/8ac597dc3d2316d34f866dcfd7e1646c695da180) -- fix animation css vars not work [#9337](https://github.com/youzan/vant/issues/9337) +- AddressEdit: remove unused finish button [#9364](https://github.com/vant-ui/vant/issues/9364) +- Progress: fix render error when use v-show and improve performance [841e09](https://github.com/vant-ui/vant/commit/841e09d0529961058ecb63ed26f018cf3a66a3bf) +- Progress: percentage missing default value [8ac597](https://github.com/vant-ui/vant/commit/8ac597dc3d2316d34f866dcfd7e1646c695da180) +- fix animation css vars not work [#9337](https://github.com/vant-ui/vant/issues/9337) -### [v3.2.1](https://github.com/youzan/vant/compare/v3.2.0...v3.2.1) +### [v3.2.1](https://github.com/vant-ui/vant/compare/v3.2.0...v3.2.1) `2021-08-22` **Feature** -- Circle: add start-position prop [#9305](https://github.com/youzan/vant/issues/9305) -- Slider: add reverse prop [#9308](https://github.com/youzan/vant/issues/9308) -- NumberKeyboard: add van-number-keyboard-key-background-color css var [#9303](https://github.com/youzan/vant/issues/9303) -- PasswordInput: add password-input-text-color css var [#9304](https://github.com/youzan/vant/issues/9304) +- Circle: add start-position prop [#9305](https://github.com/vant-ui/vant/issues/9305) +- Slider: add reverse prop [#9308](https://github.com/vant-ui/vant/issues/9308) +- NumberKeyboard: add van-number-keyboard-key-background-color css var [#9303](https://github.com/vant-ui/vant/issues/9303) +- PasswordInput: add password-input-text-color css var [#9304](https://github.com/vant-ui/vant/issues/9304) **Bug Fixes** -- Calendar: title is undefined in month-show event [#9275](https://github.com/youzan/vant/issues/9275) -- Dialog: fix beforeClose repeat trigger [#9283](https://github.com/youzan/vant/issues/9283) [#9291](https://github.com/youzan/vant/issues/9291) -- Field: should export FieldInstance type [#9254](https://github.com/youzan/vant/issues/9254) -- Rate: convert count type [#9307](https://github.com/youzan/vant/issues/9307) -- TreeSelect: fix negative css vars [#9306](https://github.com/youzan/vant/issues/9306) +- Calendar: title is undefined in month-show event [#9275](https://github.com/vant-ui/vant/issues/9275) +- Dialog: fix beforeClose repeat trigger [#9283](https://github.com/vant-ui/vant/issues/9283) [#9291](https://github.com/vant-ui/vant/issues/9291) +- Field: should export FieldInstance type [#9254](https://github.com/vant-ui/vant/issues/9254) +- Rate: convert count type [#9307](https://github.com/vant-ui/vant/issues/9307) +- TreeSelect: fix negative css vars [#9306](https://github.com/vant-ui/vant/issues/9306) -### [v3.2.0](https://github.com/youzan/vant/compare/v3.1.5...v3.2.0) +### [v3.2.0](https://github.com/vant-ui/vant/compare/v3.1.5...v3.2.0) `2021-08-12` **Feature** -- Form: add useCustomFieldValue api [#9200](https://github.com/youzan/vant/issues/9200) -- Button: loading-size prop support number type [#9177](https://github.com/youzan/vant/issues/9177) -- Style: add van-safe-area-bottom util class [#9205](https://github.com/youzan/vant/issues/9205) +- Form: add useCustomFieldValue api [#9200](https://github.com/vant-ui/vant/issues/9200) +- Button: loading-size prop support number type [#9177](https://github.com/vant-ui/vant/issues/9177) +- Style: add van-safe-area-bottom util class [#9205](https://github.com/vant-ui/vant/issues/9205) **Types** -- AddressEdit: add AddressEditInstance type [#9197](https://github.com/youzan/vant/issues/9197) -- Area: add AreaInstance type [#9195](https://github.com/youzan/vant/issues/9195) -- Calendar: add CalendarInstance type [#9165](https://github.com/youzan/vant/issues/9165) -- Checkbox: add CheckboxInstance type [#9140](https://github.com/youzan/vant/issues/9140) -- CheckboxGroup: add CheckboxGroupInstance type [#9142](https://github.com/youzan/vant/issues/9142) -- CollapseItem: add CollapseItemInstance type [#9194](https://github.com/youzan/vant/issues/9194) -- CountDown: add CountDownInstance type [#9153](https://github.com/youzan/vant/issues/9153) -- DatetimePicker: add DatetimePickerInstance type [#9208](https://github.com/youzan/vant/issues/9208) -- DropdownItem: add DropdownItemInstance type [#9214](https://github.com/youzan/vant/issues/9214) -- Field: add FieldInstance type [#9166](https://github.com/youzan/vant/issues/9166) -- Form: add FormInstance type [#9139](https://github.com/youzan/vant/issues/9139) -- ImagePreview: add ImagePreviewInstance type [#9216](https://github.com/youzan/vant/issues/9216) -- IndexBar: add IndexBarInstance type [#9246](https://github.com/youzan/vant/issues/9246) -- List: add ListInstance type [#9159](https://github.com/youzan/vant/issues/9159) -- NoticeBar: add NoticeBarInstance type [#9245](https://github.com/youzan/vant/issues/9245) -- Picker: add PickerInstance type [#9183](https://github.com/youzan/vant/issues/9183) -- Progress: add ProgressInstance type [#9247](https://github.com/youzan/vant/issues/9247) -- Search: add SearchInstance type [#9181](https://github.com/youzan/vant/issues/9181) -- Swipe: add SwipeInstance type [#9158](https://github.com/youzan/vant/issues/9158) -- SwipeCell: add SwipeCellInstance type [#9179](https://github.com/youzan/vant/issues/9179) -- Tabs: add TabsInstance type [#9174](https://github.com/youzan/vant/issues/9174) -- Uploader: add UploaderInstance type [#9164](https://github.com/youzan/vant/issues/9164) +- AddressEdit: add AddressEditInstance type [#9197](https://github.com/vant-ui/vant/issues/9197) +- Area: add AreaInstance type [#9195](https://github.com/vant-ui/vant/issues/9195) +- Calendar: add CalendarInstance type [#9165](https://github.com/vant-ui/vant/issues/9165) +- Checkbox: add CheckboxInstance type [#9140](https://github.com/vant-ui/vant/issues/9140) +- CheckboxGroup: add CheckboxGroupInstance type [#9142](https://github.com/vant-ui/vant/issues/9142) +- CollapseItem: add CollapseItemInstance type [#9194](https://github.com/vant-ui/vant/issues/9194) +- CountDown: add CountDownInstance type [#9153](https://github.com/vant-ui/vant/issues/9153) +- DatetimePicker: add DatetimePickerInstance type [#9208](https://github.com/vant-ui/vant/issues/9208) +- DropdownItem: add DropdownItemInstance type [#9214](https://github.com/vant-ui/vant/issues/9214) +- Field: add FieldInstance type [#9166](https://github.com/vant-ui/vant/issues/9166) +- Form: add FormInstance type [#9139](https://github.com/vant-ui/vant/issues/9139) +- ImagePreview: add ImagePreviewInstance type [#9216](https://github.com/vant-ui/vant/issues/9216) +- IndexBar: add IndexBarInstance type [#9246](https://github.com/vant-ui/vant/issues/9246) +- List: add ListInstance type [#9159](https://github.com/vant-ui/vant/issues/9159) +- NoticeBar: add NoticeBarInstance type [#9245](https://github.com/vant-ui/vant/issues/9245) +- Picker: add PickerInstance type [#9183](https://github.com/vant-ui/vant/issues/9183) +- Progress: add ProgressInstance type [#9247](https://github.com/vant-ui/vant/issues/9247) +- Search: add SearchInstance type [#9181](https://github.com/vant-ui/vant/issues/9181) +- Swipe: add SwipeInstance type [#9158](https://github.com/vant-ui/vant/issues/9158) +- SwipeCell: add SwipeCellInstance type [#9179](https://github.com/vant-ui/vant/issues/9179) +- Tabs: add TabsInstance type [#9174](https://github.com/vant-ui/vant/issues/9174) +- Uploader: add UploaderInstance type [#9164](https://github.com/vant-ui/vant/issues/9164) **Bug Fixes** -- Badge: minus x offset not work [#9199](https://github.com/youzan/vant/issues/9199) -- Image: fix border radius value [#9163](https://github.com/youzan/vant/issues/9163) -- Field: textarea scroll to top after resizing [#9206](https://github.com/youzan/vant/issues/9206) -- Notify: default option is overridden [#9138](https://github.com/youzan/vant/issues/9138) -- Rate: should enable flex wrap [#9192](https://github.com/youzan/vant/issues/9192) -- Tabs: remove invalid head padding for card type [#9168](https://github.com/youzan/vant/issues/9168) -- Toast: failed to update message [#9196](https://github.com/youzan/vant/issues/9196) +- Badge: minus x offset not work [#9199](https://github.com/vant-ui/vant/issues/9199) +- Image: fix border radius value [#9163](https://github.com/vant-ui/vant/issues/9163) +- Field: textarea scroll to top after resizing [#9206](https://github.com/vant-ui/vant/issues/9206) +- Notify: default option is overridden [#9138](https://github.com/vant-ui/vant/issues/9138) +- Rate: should enable flex wrap [#9192](https://github.com/vant-ui/vant/issues/9192) +- Tabs: remove invalid head padding for card type [#9168](https://github.com/vant-ui/vant/issues/9168) +- Toast: failed to update message [#9196](https://github.com/vant-ui/vant/issues/9196) -### [v3.1.5](https://github.com/youzan/vant/compare/v3.1.4...v3.1.5) +### [v3.1.5](https://github.com/vant-ui/vant/compare/v3.1.4...v3.1.5) `2021-07-26` **Feature** -- AddressEdit: add address-edit-button-font-size var [#9113](https://github.com/youzan/vant/issues/9113) -- Icon: add shield-o icon [#9082](https://github.com/youzan/vant/issues/9082) -- Locale: add Russian language [#9088](https://github.com/youzan/vant/issues/9088) -- Toast: improve unclickable cursor [#9116](https://github.com/youzan/vant/issues/9116) -- Uploader: add click-upload event [#9119](https://github.com/youzan/vant/issues/9119) -- Uploader: add readonly prop [#9118](https://github.com/youzan/vant/issues/9118) +- AddressEdit: add address-edit-button-font-size var [#9113](https://github.com/vant-ui/vant/issues/9113) +- Icon: add shield-o icon [#9082](https://github.com/vant-ui/vant/issues/9082) +- Locale: add Russian language [#9088](https://github.com/vant-ui/vant/issues/9088) +- Toast: improve unclickable cursor [#9116](https://github.com/vant-ui/vant/issues/9116) +- Uploader: add click-upload event [#9119](https://github.com/vant-ui/vant/issues/9119) +- Uploader: add readonly prop [#9118](https://github.com/vant-ui/vant/issues/9118) **Bug Fixes** -- Icon: fix invitation typo [#9096](https://github.com/youzan/vant/issues/9096) -- NumberKeyboard: should not emit close event when click away [#9108](https://github.com/youzan/vant/issues/9108) -- Search: fix incorrect left icon color [#9100](https://github.com/youzan/vant/issues/9100) -- Tabbar: fix tabbar-item-icon-margin-bottom var name [#9101](https://github.com/youzan/vant/issues/9101) +- Icon: fix invitation typo [#9096](https://github.com/vant-ui/vant/issues/9096) +- NumberKeyboard: should not emit close event when click away [#9108](https://github.com/vant-ui/vant/issues/9108) +- Search: fix incorrect left icon color [#9100](https://github.com/vant-ui/vant/issues/9100) +- Tabbar: fix tabbar-item-icon-margin-bottom var name [#9101](https://github.com/vant-ui/vant/issues/9101) -### [v3.1.4](https://github.com/youzan/vant/compare/v3.1.3...v3.1.4) +### [v3.1.4](https://github.com/vant-ui/vant/compare/v3.1.3...v3.1.4) `2021-07-19` **Feature** -- ActionSheet: add before-close prop [#9068](https://github.com/youzan/vant/issues/9068) -- Cascader: add option slot [#9036](https://github.com/youzan/vant/issues/9036) -- Cascader: improve option cursor [#9032](https://github.com/youzan/vant/issues/9032) -- Popup: add before-close prop [#9067](https://github.com/youzan/vant/issues/9067) -- ShareSheet: add before-close prop [#9068](https://github.com/youzan/vant/issues/9068) -- Tabs: add click-tab event [#9037](https://github.com/youzan/vant/issues/9037) +- ActionSheet: add before-close prop [#9068](https://github.com/vant-ui/vant/issues/9068) +- Cascader: add option slot [#9036](https://github.com/vant-ui/vant/issues/9036) +- Cascader: improve option cursor [#9032](https://github.com/vant-ui/vant/issues/9032) +- Popup: add before-close prop [#9067](https://github.com/vant-ui/vant/issues/9067) +- ShareSheet: add before-close prop [#9068](https://github.com/vant-ui/vant/issues/9068) +- Tabs: add click-tab event [#9037](https://github.com/vant-ui/vant/issues/9037) **Bug Fixes** -- Field: required mark position [#9035](https://github.com/youzan/vant/issues/9035) -- List: should emit load event when parent tab is activated [#9022](https://github.com/youzan/vant/issues/9022) -- Popup: missing open、close event in some cases [#9065](https://github.com/youzan/vant/issues/9065) +- Field: required mark position [#9035](https://github.com/vant-ui/vant/issues/9035) +- List: should emit load event when parent tab is activated [#9022](https://github.com/vant-ui/vant/issues/9022) +- Popup: missing open、close event in some cases [#9065](https://github.com/vant-ui/vant/issues/9065) -### [v3.1.3](https://github.com/youzan/vant/compare/v3.1.2...v3.1.3) +### [v3.1.3](https://github.com/vant-ui/vant/compare/v3.1.2...v3.1.3) `2021-07-11` **Feature** -- Calendar: add click-subtitle event [#8981](https://github.com/youzan/vant/issues/8981) -- Calendar: add subtitle slot [#8980](https://github.com/youzan/vant/issues/8980) -- ConfigProvider: add icon-prefix prop [#8986](https://github.com/youzan/vant/issues/8986) -- Slider: add drag event param [#8990](https://github.com/youzan/vant/issues/8990) -- Slider: add left-button、right-button slot [#8989](https://github.com/youzan/vant/issues/8989) -- touch-emulator: support data-no-touch-simulate [#8984](https://github.com/youzan/vant/issues/8984) +- Calendar: add click-subtitle event [#8981](https://github.com/vant-ui/vant/issues/8981) +- Calendar: add subtitle slot [#8980](https://github.com/vant-ui/vant/issues/8980) +- ConfigProvider: add icon-prefix prop [#8986](https://github.com/vant-ui/vant/issues/8986) +- Slider: add drag event param [#8990](https://github.com/vant-ui/vant/issues/8990) +- Slider: add left-button、right-button slot [#8989](https://github.com/vant-ui/vant/issues/8989) +- touch-emulator: support data-no-touch-simulate [#8984](https://github.com/vant-ui/vant/issues/8984) **Bug Fixes** -- Step: fix z-index issue [#9003](https://github.com/youzan/vant/issues/9003) +- Step: fix z-index issue [#9003](https://github.com/vant-ui/vant/issues/9003) -### [v3.1.2](https://github.com/youzan/vant/compare/v3.1.1...v3.1.2) +### [v3.1.2](https://github.com/vant-ui/vant/compare/v3.1.1...v3.1.2) `2021-07-03` **Feature** -- Area: add toolbar、confirm、cancel slots [#8969](https://github.com/youzan/vant/issues/8969) -- Calendar: simplify placeholder dom [#8955](https://github.com/youzan/vant/issues/8955) -- Cascader: add disabled option [#8952](https://github.com/youzan/vant/issues/8952) -- ConfigProvider: add tag prop [#8967](https://github.com/youzan/vant/issues/8967) -- Picker: add toolbar slot [#8968](https://github.com/youzan/vant/issues/8968) -- Picker: allow option text to be number type [#8951](https://github.com/youzan/vant/issues/8951) -- Picker: add picker-option-padding CSS var [#8947](https://github.com/youzan/vant/issues/8947) +- Area: add toolbar、confirm、cancel slots [#8969](https://github.com/vant-ui/vant/issues/8969) +- Calendar: simplify placeholder dom [#8955](https://github.com/vant-ui/vant/issues/8955) +- Cascader: add disabled option [#8952](https://github.com/vant-ui/vant/issues/8952) +- ConfigProvider: add tag prop [#8967](https://github.com/vant-ui/vant/issues/8967) +- Picker: add toolbar slot [#8968](https://github.com/vant-ui/vant/issues/8968) +- Picker: allow option text to be number type [#8951](https://github.com/vant-ui/vant/issues/8951) +- Picker: add picker-option-padding CSS var [#8947](https://github.com/vant-ui/vant/issues/8947) **Bug Fixes** -- Toast: fix word break [#8965](https://github.com/youzan/vant/issues/8965) +- Toast: fix word break [#8965](https://github.com/vant-ui/vant/issues/8965) -### [v3.1.1](https://github.com/youzan/vant/compare/v3.1.0...v3.1.1) +### [v3.1.1](https://github.com/vant-ui/vant/compare/v3.1.0...v3.1.1) `2021-06-27` **Feature** -- Cell: add value slot [#8933](https://github.com/youzan/vant/issues/8933) -- CollapseItem: add label slot [#8934](https://github.com/youzan/vant/issues/8934) -- NoticeBar: add reset method [#8917](https://github.com/youzan/vant/issues/8917) -- Tabs: add nav-bottom slot [#8915](https://github.com/youzan/vant/issues/8915) +- Cell: add value slot [#8933](https://github.com/vant-ui/vant/issues/8933) +- CollapseItem: add label slot [#8934](https://github.com/vant-ui/vant/issues/8934) +- NoticeBar: add reset method [#8917](https://github.com/vant-ui/vant/issues/8917) +- Tabs: add nav-bottom slot [#8915](https://github.com/vant-ui/vant/issues/8915) -### [v3.1.0](https://github.com/youzan/vant/compare/v3.1.0-beta.0...v3.1.0) +### [v3.1.0](https://github.com/vant-ui/vant/compare/v3.1.0-beta.0...v3.1.0) `2021-06-22` **New Component** -- add [ConfigProvider](#/en-US/config-provider) Component [#8854](https://github.com/youzan/vant/issues/8854) +- add [ConfigProvider](#/en-US/config-provider) Component [#8854](https://github.com/vant-ui/vant/issues/8854) **Feature** -- all components support CSS Variables [aef257](https://github.com/youzan/vant/commit/aef2579a95da7c8b528ba7062b227fea698a0487) [fe1cba](https://github.com/youzan/vant/commit/fe1cba97b796eba7e9b5dca0ce4ab0d1de95715c) -- add more CSS Variables [#8861](https://github.com/youzan/vant/issues/8861) -- Checkbox: icon slot add disabled param [#8839](https://github.com/youzan/vant/issues/8839) -- Cascader: add className option [#8882](https://github.com/youzan/vant/issues/8882) -- Cascader: add color option [#8883](https://github.com/youzan/vant/issues/8883) -- CellGroup: add inset prop [#8885](https://github.com/youzan/vant/issues/8885) -- GridItem: add reverse prop [#8878](https://github.com/youzan/vant/issues/8878) -- IndexBar: add teleport prop [#8820](https://github.com/youzan/vant/issues/8820) +- all components support CSS Variables [aef257](https://github.com/vant-ui/vant/commit/aef2579a95da7c8b528ba7062b227fea698a0487) [fe1cba](https://github.com/vant-ui/vant/commit/fe1cba97b796eba7e9b5dca0ce4ab0d1de95715c) +- add more CSS Variables [#8861](https://github.com/vant-ui/vant/issues/8861) +- Checkbox: icon slot add disabled param [#8839](https://github.com/vant-ui/vant/issues/8839) +- Cascader: add className option [#8882](https://github.com/vant-ui/vant/issues/8882) +- Cascader: add color option [#8883](https://github.com/vant-ui/vant/issues/8883) +- CellGroup: add inset prop [#8885](https://github.com/vant-ui/vant/issues/8885) +- GridItem: add reverse prop [#8878](https://github.com/vant-ui/vant/issues/8878) +- IndexBar: add teleport prop [#8820](https://github.com/vant-ui/vant/issues/8820) **Bug Fixes** -- Dialog: allow message function to return html [#8872](https://github.com/youzan/vant/issues/8872) -- Slider: format v-model with step correctly [#8893](https://github.com/youzan/vant/issues/8893) +- Dialog: allow message function to return html [#8872](https://github.com/vant-ui/vant/issues/8872) +- Slider: format v-model with step correctly [#8893](https://github.com/vant-ui/vant/issues/8893) -### [v3.0.18](https://github.com/youzan/vant/compare/v3.0.17...v3.0.18) +### [v3.0.18](https://github.com/vant-ui/vant/compare/v3.0.17...v3.0.18) `2021-06-03` **Feature** -- Button: add icon slot [#8783](https://github.com/youzan/vant/issues/8783) -- CouponList: add list-footer、disabled-list-footer slot [#8801](https://github.com/youzan/vant/issues/8801) -- List: remove unused Less var @list-icon-margin-right [#8759](https://github.com/youzan/vant/issues/8759) -- Locale: add French translations [#8795](https://github.com/youzan/vant/issues/8795) -- Popup: add icon-prefix prop [#8793](https://github.com/youzan/vant/issues/8793) -- Popup: add overlay-content slot [#8794](https://github.com/youzan/vant/issues/8794) +- Button: add icon slot [#8783](https://github.com/vant-ui/vant/issues/8783) +- CouponList: add list-footer、disabled-list-footer slot [#8801](https://github.com/vant-ui/vant/issues/8801) +- List: remove unused Less var @list-icon-margin-right [#8759](https://github.com/vant-ui/vant/issues/8759) +- Locale: add French translations [#8795](https://github.com/vant-ui/vant/issues/8795) +- Popup: add icon-prefix prop [#8793](https://github.com/vant-ui/vant/issues/8793) +- Popup: add overlay-content slot [#8794](https://github.com/vant-ui/vant/issues/8794) **Bug Fixes** -- Collapse: fix safari rendering issues [#8788](https://github.com/youzan/vant/issues/8788) -- NoticeBar: failed to play when inside a re-opened popup [#8789](https://github.com/youzan/vant/issues/8789) -- @vant/touch-emulator: add SSR support [#8767](https://github.com/youzan/vant/issues/8767) +- Collapse: fix safari rendering issues [#8788](https://github.com/vant-ui/vant/issues/8788) +- NoticeBar: failed to play when inside a re-opened popup [#8789](https://github.com/vant-ui/vant/issues/8789) +- @vant/touch-emulator: add SSR support [#8767](https://github.com/vant-ui/vant/issues/8767) -### [v3.0.17](https://github.com/youzan/vant/compare/v3.0.16...v3.0.17) +### [v3.0.17](https://github.com/vant-ui/vant/compare/v3.0.16...v3.0.17) `2021-05-23` **Feature** -- ActionBarIcon: add icon-prefix prop [#8748](https://github.com/youzan/vant/issues/8748) -- Calendar: add show-range-prompt prop [#8739](https://github.com/youzan/vant/issues/8739) -- Calendar: add top-info、bottom-info slot [#8716](https://github.com/youzan/vant/issues/8716) -- GridItem: add icon-color prop [#8753](https://github.com/youzan/vant/issues/8753) -- NoticeBar: increase default speed to 60 [#8694](https://github.com/youzan/vant/issues/8694) -- Popover: add icon-prefix prop [#8703](https://github.com/youzan/vant/issues/8703) -- Toast: add transition [#8743](https://github.com/youzan/vant/issues/8743) -- Uploader: max-size prop can be a function [#8744](https://github.com/youzan/vant/issues/8744) +- ActionBarIcon: add icon-prefix prop [#8748](https://github.com/vant-ui/vant/issues/8748) +- Calendar: add show-range-prompt prop [#8739](https://github.com/vant-ui/vant/issues/8739) +- Calendar: add top-info、bottom-info slot [#8716](https://github.com/vant-ui/vant/issues/8716) +- GridItem: add icon-color prop [#8753](https://github.com/vant-ui/vant/issues/8753) +- NoticeBar: increase default speed to 60 [#8694](https://github.com/vant-ui/vant/issues/8694) +- Popover: add icon-prefix prop [#8703](https://github.com/vant-ui/vant/issues/8703) +- Toast: add transition [#8743](https://github.com/vant-ui/vant/issues/8743) +- Uploader: max-size prop can be a function [#8744](https://github.com/vant-ui/vant/issues/8744) **Bug Fixes** -- Button: add onClick event shim for tsx [#8665](https://github.com/youzan/vant/issues/8665) -- Calendar: initial date incorrect [#8696](https://github.com/youzan/vant/issues/8696) -- DatetimePicker: vant3 fixed incorrect value when dynamic set min/max [#8658](https://github.com/youzan/vant/issues/8658) -- List: skip check when inside an inactive tab [#8741](https://github.com/youzan/vant/issues/8741) -- Tabs: fix add scroll event target [#8734](https://github.com/youzan/vant/issues/8734) -- Toast: should reset duration when type or message changed [#8742](https://github.com/youzan/vant/issues/8742) +- Button: add onClick event shim for tsx [#8665](https://github.com/vant-ui/vant/issues/8665) +- Calendar: initial date incorrect [#8696](https://github.com/vant-ui/vant/issues/8696) +- DatetimePicker: vant3 fixed incorrect value when dynamic set min/max [#8658](https://github.com/vant-ui/vant/issues/8658) +- List: skip check when inside an inactive tab [#8741](https://github.com/vant-ui/vant/issues/8741) +- Tabs: fix add scroll event target [#8734](https://github.com/vant-ui/vant/issues/8734) +- Toast: should reset duration when type or message changed [#8742](https://github.com/vant-ui/vant/issues/8742) -### [v3.0.16](https://github.com/youzan/vant/compare/v3.0.15...v3.0.16) +### [v3.0.16](https://github.com/vant-ui/vant/compare/v3.0.15...v3.0.16) `2021-05-03` **Feature** -- Swipe: indicator slot add active param [#8645](https://github.com/youzan/vant/issues/8645) -- Cascader: add @cascader-header-padding less var [#8626](https://github.com/youzan/vant/issues/8626) -- Steps: add icon-prefix prop [#8631](https://github.com/youzan/vant/issues/8631) -- export more types [#8652](https://github.com/youzan/vant/issues/8652) +- Swipe: indicator slot add active param [#8645](https://github.com/vant-ui/vant/issues/8645) +- Cascader: add @cascader-header-padding less var [#8626](https://github.com/vant-ui/vant/issues/8626) +- Steps: add icon-prefix prop [#8631](https://github.com/vant-ui/vant/issues/8631) +- export more types [#8652](https://github.com/vant-ui/vant/issues/8652) **Bug Fixes** -- Stepper: fix blur event trigger timing [#8620](https://github.com/youzan/vant/issues/8620) -- SubmitBar: @submit-bar-price-font-size not work [#8639](https://github.com/youzan/vant/issues/8639) -- Swipe: re-initialize when popup reopened [#8643](https://github.com/youzan/vant/issues/8643) -- Tabs: setLine when popup reopened [#8642](https://github.com/youzan/vant/issues/8642) +- Stepper: fix blur event trigger timing [#8620](https://github.com/vant-ui/vant/issues/8620) +- SubmitBar: @submit-bar-price-font-size not work [#8639](https://github.com/vant-ui/vant/issues/8639) +- Swipe: re-initialize when popup reopened [#8643](https://github.com/vant-ui/vant/issues/8643) +- Tabs: setLine when popup reopened [#8642](https://github.com/vant-ui/vant/issues/8642) -### [v3.0.15](https://github.com/youzan/vant/compare/v2.12.14-test...v3.0.15) +### [v3.0.15](https://github.com/vant-ui/vant/compare/v2.12.14-test...v3.0.15) `2021-04-25` **Feature** -- Cascader: add click-tab event [#8606](https://github.com/youzan/vant/issues/8606) +- Cascader: add click-tab event [#8606](https://github.com/vant-ui/vant/issues/8606) **Bug Fixes** -- Tab: failed to render during SSR [#8603](https://github.com/youzan/vant/issues/8603) -- Rate: select half star correctly when clicked [#8580](https://github.com/youzan/vant/issues/8580) -- Tag: incorrect border color when using plain [#8601](https://github.com/youzan/vant/issues/8601) +- Tab: failed to render during SSR [#8603](https://github.com/vant-ui/vant/issues/8603) +- Rate: select half star correctly when clicked [#8580](https://github.com/vant-ui/vant/issues/8580) +- Tag: incorrect border color when using plain [#8601](https://github.com/vant-ui/vant/issues/8601) -### [v3.0.14](https://github.com/youzan/vant/compare/v3.0.13...v3.0.14) +### [v3.0.14](https://github.com/vant-ui/vant/compare/v3.0.13...v3.0.14) `2021-04-18` **Feature** -- Badge: offset prop support custom unit [35edb7](https://github.com/youzan/vant/commit/35edb72b5cd519d4e75443acaa0a63db16695d2d) -- Rate: support decimal modelValue when readonly [#8528](https://github.com/youzan/vant/issues/8528) +- Badge: offset prop support custom unit [35edb7](https://github.com/vant-ui/vant/commit/35edb72b5cd519d4e75443acaa0a63db16695d2d) +- Rate: support decimal modelValue when readonly [#8528](https://github.com/vant-ui/vant/issues/8528) **Bug Fixes** -- ContactList: fix nodes type [0b764b](https://github.com/youzan/vant/commit/0b764b63470b09f5654d267c8d07a20bc2d31536) +- ContactList: fix nodes type [0b764b](https://github.com/vant-ui/vant/commit/0b764b63470b09f5654d267c8d07a20bc2d31536) -### [v3.0.13](https://github.com/youzan/vant/compare/v3.0.12...v3.0.13) +### [v3.0.13](https://github.com/vant-ui/vant/compare/v3.0.12...v3.0.13) `2021-04-11` **Feature** -- ActionBar: add @action-bar-icon-background-color less var [#8474](https://github.com/youzan/vant/issues/8474) -- Popover: bump @popperjs/core@2.9.2 [0d1323](https://github.com/youzan/vant/commit/0d132337d5d263957a7993d60e47a18efec7313e) -- perf: reduce bundle size [ba3e6d](https://github.com/youzan/vant/commit/ba3e6d56a0bc7ae3acc25b1380f054da3b9b020f) +- ActionBar: add @action-bar-icon-background-color less var [#8474](https://github.com/vant-ui/vant/issues/8474) +- Popover: bump @popperjs/core@2.9.2 [0d1323](https://github.com/vant-ui/vant/commit/0d132337d5d263957a7993d60e47a18efec7313e) +- perf: reduce bundle size [ba3e6d](https://github.com/vant-ui/vant/commit/ba3e6d56a0bc7ae3acc25b1380f054da3b9b020f) **Types** -- Popup: fix PopupCloseIconPosition type [15d901](https://github.com/youzan/vant/commit/15d901ad6aace3826881cb3c6e0499f75b71df80) -- Search: missing some props in jsx [#8485](https://github.com/youzan/vant/issues/8485) -- Stepper: improve theme prop typing [#8489](https://github.com/youzan/vant/issues/8489) +- Popup: fix PopupCloseIconPosition type [15d901](https://github.com/vant-ui/vant/commit/15d901ad6aace3826881cb3c6e0499f75b71df80) +- Search: missing some props in jsx [#8485](https://github.com/vant-ui/vant/issues/8485) +- Stepper: improve theme prop typing [#8489](https://github.com/vant-ui/vant/issues/8489) **Bug Fixes** -- Field: autofocus prop not work [#8488](https://github.com/youzan/vant/issues/8488) +- Field: autofocus prop not work [#8488](https://github.com/vant-ui/vant/issues/8488) -### [v3.0.12](https://github.com/youzan/vant/compare/v3.0.11...v3.0.12) +### [v3.0.12](https://github.com/vant-ui/vant/compare/v3.0.11...v3.0.12) `2021-04-05` **Feature** -- CollapseItem: add readonly prop [#8445](https://github.com/youzan/vant/issues/8445) -- Field: add clear-icon prop [#8438](https://github.com/youzan/vant/issues/8438) -- Search: add clear-icon prop [#8439](https://github.com/youzan/vant/issues/8439) -- Search: add error-message prop [#8442](https://github.com/youzan/vant/issues/8442) -- Search: add formatter、format-trigger prop [#8441](https://github.com/youzan/vant/issues/8441) +- CollapseItem: add readonly prop [#8445](https://github.com/vant-ui/vant/issues/8445) +- Field: add clear-icon prop [#8438](https://github.com/vant-ui/vant/issues/8438) +- Search: add clear-icon prop [#8439](https://github.com/vant-ui/vant/issues/8439) +- Search: add error-message prop [#8442](https://github.com/vant-ui/vant/issues/8442) +- Search: add formatter、format-trigger prop [#8441](https://github.com/vant-ui/vant/issues/8441) **Bug Fixes** -- fix incorrect tag prompts under WebStorm [#8450](https://github.com/youzan/vant/issues/8450) +- fix incorrect tag prompts under WebStorm [#8450](https://github.com/vant-ui/vant/issues/8450) -### [v3.0.11](https://github.com/youzan/vant/compare/v3.0.10...v3.0.11) +### [v3.0.11](https://github.com/vant-ui/vant/compare/v3.0.10...v3.0.11) `2021-03-30` **Feature** -- Cascader: add swipeable prop [#8383](https://github.com/youzan/vant/issues/8383) -- Dialog: add footer slot [#8382](https://github.com/youzan/vant/issues/8382) -- Dialog: allow to render JSX message [#8420](https://github.com/youzan/vant/issues/8420) -- Image: add icon-size prop [#8395](https://github.com/youzan/vant/issues/8395) -- Row: add wrap prop [#8393](https://github.com/youzan/vant/issues/8393) +- Cascader: add swipeable prop [#8383](https://github.com/vant-ui/vant/issues/8383) +- Dialog: add footer slot [#8382](https://github.com/vant-ui/vant/issues/8382) +- Dialog: allow to render JSX message [#8420](https://github.com/vant-ui/vant/issues/8420) +- Image: add icon-size prop [#8395](https://github.com/vant-ui/vant/issues/8395) +- Row: add wrap prop [#8393](https://github.com/vant-ui/vant/issues/8393) **Bug Fixes** -- Field: should not reset validation after blurred [#8409](https://github.com/youzan/vant/issues/8409) -- Sticky: Element not exist during SSR [#8407](https://github.com/youzan/vant/issues/8407) -- Tabs: incorrect horizontal slip judgment [#8388](https://github.com/youzan/vant/issues/8388) +- Field: should not reset validation after blurred [#8409](https://github.com/vant-ui/vant/issues/8409) +- Sticky: Element not exist during SSR [#8407](https://github.com/vant-ui/vant/issues/8407) +- Tabs: incorrect horizontal slip judgment [#8388](https://github.com/vant-ui/vant/issues/8388) -### [v3.0.10](https://github.com/youzan/vant/compare/v3.0.9...v3.0.10) +### [v3.0.10](https://github.com/vant-ui/vant/compare/v3.0.9...v3.0.10) `2021-03-19` **Feature** -- ActionSheet: add cancel slot [#8333](https://github.com/youzan/vant/issues/8333) -- Badge: add show-zero prop [#8381](https://github.com/youzan/vant/issues/8381) -- Cascader: add close-icon prop [#8334](https://github.com/youzan/vant/issues/8334) -- Popover: add close-on-click-overlay prop [#8351](https://github.com/youzan/vant/issues/8351) -- Popover: add duration prop [#8355](https://github.com/youzan/vant/issues/8355) -- Popover: add overlay-class prop [#8353](https://github.com/youzan/vant/issues/8353) -- Popover: add overlay-style prop [#8354](https://github.com/youzan/vant/issues/8354) -- ShareSheet: add cancel slot [#8335](https://github.com/youzan/vant/issues/8335) -- Sticky: add change event [#8374](https://github.com/youzan/vant/issues/8374) -- Tag: close event param [#8337](https://github.com/youzan/vant/issues/8337) -- Toast: add iconSize option [#8338](https://github.com/youzan/vant/issues/8338) +- ActionSheet: add cancel slot [#8333](https://github.com/vant-ui/vant/issues/8333) +- Badge: add show-zero prop [#8381](https://github.com/vant-ui/vant/issues/8381) +- Cascader: add close-icon prop [#8334](https://github.com/vant-ui/vant/issues/8334) +- Popover: add close-on-click-overlay prop [#8351](https://github.com/vant-ui/vant/issues/8351) +- Popover: add duration prop [#8355](https://github.com/vant-ui/vant/issues/8355) +- Popover: add overlay-class prop [#8353](https://github.com/vant-ui/vant/issues/8353) +- Popover: add overlay-style prop [#8354](https://github.com/vant-ui/vant/issues/8354) +- ShareSheet: add cancel slot [#8335](https://github.com/vant-ui/vant/issues/8335) +- Sticky: add change event [#8374](https://github.com/vant-ui/vant/issues/8374) +- Tag: close event param [#8337](https://github.com/vant-ui/vant/issues/8337) +- Toast: add iconSize option [#8338](https://github.com/vant-ui/vant/issues/8338) **Feature** -- ContactList: add @contact-list-item-radio-icon-color var [#8322](https://github.com/youzan/vant/issues/8322) -- Coupon: add @coupon-corner-checkbox-icon-color var [#8323](https://github.com/youzan/vant/issues/8323) -- List: add @list-loading-icon-size less var [#8365](https://github.com/youzan/vant/issues/8365) -- Loading: add @button-loading-icon-size less var [465bf0](https://github.com/youzan/vant/commit/465bf07095c58e8292b23ef0c64be1550aa9d430) -- PullRefresh: add @pull-refresh-loading-icon-size less var [#8366](https://github.com/youzan/vant/issues/8366) +- ContactList: add @contact-list-item-radio-icon-color var [#8322](https://github.com/vant-ui/vant/issues/8322) +- Coupon: add @coupon-corner-checkbox-icon-color var [#8323](https://github.com/vant-ui/vant/issues/8323) +- List: add @list-loading-icon-size less var [#8365](https://github.com/vant-ui/vant/issues/8365) +- Loading: add @button-loading-icon-size less var [465bf0](https://github.com/vant-ui/vant/commit/465bf07095c58e8292b23ef0c64be1550aa9d430) +- PullRefresh: add @pull-refresh-loading-icon-size less var [#8366](https://github.com/vant-ui/vant/issues/8366) **Bug Fixes** -- Popover: close-on-click-outside not work [#8352](https://github.com/youzan/vant/issues/8352) -- Swipe: incorrect item width after scaled [#8330](https://github.com/youzan/vant/issues/8330) +- Popover: close-on-click-outside not work [#8352](https://github.com/vant-ui/vant/issues/8352) +- Swipe: incorrect item width after scaled [#8330](https://github.com/vant-ui/vant/issues/8330) -### [v3.0.9](https://github.com/youzan/vant/compare/v3.0.8...v3.0.9) +### [v3.0.9](https://github.com/vant-ui/vant/compare/v3.0.8...v3.0.9) `2021-03-08` **Feature** -- AddressList: add tag slots [#8292](https://github.com/youzan/vant/issues/8292) +- AddressList: add tag slots [#8292](https://github.com/vant-ui/vant/issues/8292) **Bug Fixes** -- fix custom theme not work [#8301](https://github.com/youzan/vant/issues/8301) -- fix failed to install component in TypeScript [#8308](https://github.com/youzan/vant/issues/8308) +- fix custom theme not work [#8301](https://github.com/vant-ui/vant/issues/8301) +- fix failed to install component in TypeScript [#8308](https://github.com/vant-ui/vant/issues/8308) -### [v3.0.8](https://github.com/youzan/vant/compare/v3.0.7...v3.0.8) +### [v3.0.8](https://github.com/vant-ui/vant/compare/v3.0.7...v3.0.8) `2021-03-07` **Types** -- Build types from source code [#8264](https://github.com/youzan/vant/issues/8264) +- Build types from source code [#8264](https://github.com/vant-ui/vant/issues/8264) **Feature** -- ImagePreview: add overlay-style prop [#8276](https://github.com/youzan/vant/issues/8276) -- ImagePreview: add transition prop [#8275](https://github.com/youzan/vant/issues/8275) -- Locale: add th-TH lang [#8297](https://github.com/youzan/vant/issues/8297) -- PullRefresh: add pull-distance prop [#8280](https://github.com/youzan/vant/issues/8280) -- Button: add some less vars [#8281](https://github.com/youzan/vant/issues/8281) +- ImagePreview: add overlay-style prop [#8276](https://github.com/vant-ui/vant/issues/8276) +- ImagePreview: add transition prop [#8275](https://github.com/vant-ui/vant/issues/8275) +- Locale: add th-TH lang [#8297](https://github.com/vant-ui/vant/issues/8297) +- PullRefresh: add pull-distance prop [#8280](https://github.com/vant-ui/vant/issues/8280) +- Button: add some less vars [#8281](https://github.com/vant-ui/vant/issues/8281) **Bug Fixes** -- ImagePreview: add test cases [#8282](https://github.com/youzan/vant/issues/8282) -- ActionSheet: should not reopen when closed [#8272](https://github.com/youzan/vant/issues/8272) -- Stepper: incorrect text color in iOS14 when disabled [#8277](https://github.com/youzan/vant/issues/8277) -- Swipe: should render dynamic swipe item correctly [#8288](https://github.com/youzan/vant/issues/8288) +- ImagePreview: add test cases [#8282](https://github.com/vant-ui/vant/issues/8282) +- ActionSheet: should not reopen when closed [#8272](https://github.com/vant-ui/vant/issues/8272) +- Stepper: incorrect text color in iOS14 when disabled [#8277](https://github.com/vant-ui/vant/issues/8277) +- Swipe: should render dynamic swipe item correctly [#8288](https://github.com/vant-ui/vant/issues/8288) -### [v3.0.7](https://github.com/youzan/vant/compare/v3.0.6...v3.0.7) +### [v3.0.7](https://github.com/vant-ui/vant/compare/v3.0.6...v3.0.7) `2021-02-28` **Feature** -- Notify: add lockScroll option [#8168](https://github.com/youzan/vant/issues/8168) -- Popup: click-overlay event add `Event` param [#8107](https://github.com/youzan/vant/issues/8107) -- ShareSheet: add overlay-style prop [#8225](https://github.com/youzan/vant/issues/8225) -- ShareSheet: add overlay-class prop [#8225](https://github.com/youzan/vant/issues/8225) -- Step: add finish-icon slot [#8241](https://github.com/youzan/vant/issues/8241) -- Steps: add finish-icon prop [#8103](https://github.com/youzan/vant/issues/8103) -- Uploader: add @uploader-mask-text-color var [#8064](https://github.com/youzan/vant/issues/8064) +- Notify: add lockScroll option [#8168](https://github.com/vant-ui/vant/issues/8168) +- Popup: click-overlay event add `Event` param [#8107](https://github.com/vant-ui/vant/issues/8107) +- ShareSheet: add overlay-style prop [#8225](https://github.com/vant-ui/vant/issues/8225) +- ShareSheet: add overlay-class prop [#8225](https://github.com/vant-ui/vant/issues/8225) +- Step: add finish-icon slot [#8241](https://github.com/vant-ui/vant/issues/8241) +- Steps: add finish-icon prop [#8103](https://github.com/vant-ui/vant/issues/8103) +- Uploader: add @uploader-mask-text-color var [#8064](https://github.com/vant-ui/vant/issues/8064) **perf** -- adjust browserslist to fit Vue 3 [#8227](https://github.com/youzan/vant/issues/8227) -- disable enableObjectSlots to reduce bundle size [#8226](https://github.com/youzan/vant/issues/8226) +- adjust browserslist to fit Vue 3 [#8227](https://github.com/vant-ui/vant/issues/8227) +- disable enableObjectSlots to reduce bundle size [#8226](https://github.com/vant-ui/vant/issues/8226) **Bug Fixes** -- ActionSheet: fix safe-area-inset-bottom prop not work [#8085](https://github.com/youzan/vant/issues/8085) -- DateTimePicker: fix incorrect initial value [#8193](https://github.com/youzan/vant/issues/8193) -- Form: may scroll to incorrect field after submitted [#8159](https://github.com/youzan/vant/issues/8159) -- ImagePreview: fix incorrect image display during the second call [#8060](https://github.com/youzan/vant/issues/8060) -- IndexBar: failed to render active anchor when inited [#8164](https://github.com/youzan/vant/issues/8164) -- Popup: should watch lockScroll [#8169](https://github.com/youzan/vant/issues/8169) -- Swipe: active may outrange when initialize [#8061](https://github.com/youzan/vant/issues/8061) -- SwipeCell: incorrect position param when clicking outside [#8108](https://github.com/youzan/vant/issues/8108) -- Tabbar: incorrect active tab when name is zero [#8125](https://github.com/youzan/vant/issues/8125) -- Tabs: incorrect active tab when active prop is zero [#8074](https://github.com/youzan/vant/issues/8074) -- Toast: ssr error [#8214](https://github.com/youzan/vant/issues/8214) +- ActionSheet: fix safe-area-inset-bottom prop not work [#8085](https://github.com/vant-ui/vant/issues/8085) +- DateTimePicker: fix incorrect initial value [#8193](https://github.com/vant-ui/vant/issues/8193) +- Form: may scroll to incorrect field after submitted [#8159](https://github.com/vant-ui/vant/issues/8159) +- ImagePreview: fix incorrect image display during the second call [#8060](https://github.com/vant-ui/vant/issues/8060) +- IndexBar: failed to render active anchor when inited [#8164](https://github.com/vant-ui/vant/issues/8164) +- Popup: should watch lockScroll [#8169](https://github.com/vant-ui/vant/issues/8169) +- Swipe: active may outrange when initialize [#8061](https://github.com/vant-ui/vant/issues/8061) +- SwipeCell: incorrect position param when clicking outside [#8108](https://github.com/vant-ui/vant/issues/8108) +- Tabbar: incorrect active tab when name is zero [#8125](https://github.com/vant-ui/vant/issues/8125) +- Tabs: incorrect active tab when active prop is zero [#8074](https://github.com/vant-ui/vant/issues/8074) +- Toast: ssr error [#8214](https://github.com/vant-ui/vant/issues/8214) -### [v3.0.6](https://github.com/youzan/vant/compare/v3.0.5...v3.0.6) +### [v3.0.6](https://github.com/vant-ui/vant/compare/v3.0.5...v3.0.6) `2021-01-31` **Feature** -- Area: support more than 6-digit area code [#8001](https://github.com/youzan/vant/issues/8001) -- Form: adjust show-error default value to false [#8016](https://github.com/youzan/vant/issues/8016) -- Form: allow validator to return message [#8052](https://github.com/youzan/vant/issues/8052) -- NumberKeyboard: add blur-on-close prop [#8033](https://github.com/youzan/vant/issues/8033) -- Popover: add click-overlay event [#8050](https://github.com/youzan/vant/issues/8050) -- Popover: support config action color [#8049](https://github.com/youzan/vant/issues/8049) -- Sticky: add position、offset-bottom prop [#7979](https://github.com/youzan/vant/issues/7979) +- Area: support more than 6-digit area code [#8001](https://github.com/vant-ui/vant/issues/8001) +- Form: adjust show-error default value to false [#8016](https://github.com/vant-ui/vant/issues/8016) +- Form: allow validator to return message [#8052](https://github.com/vant-ui/vant/issues/8052) +- NumberKeyboard: add blur-on-close prop [#8033](https://github.com/vant-ui/vant/issues/8033) +- Popover: add click-overlay event [#8050](https://github.com/vant-ui/vant/issues/8050) +- Popover: support config action color [#8049](https://github.com/vant-ui/vant/issues/8049) +- Sticky: add position、offset-bottom prop [#7979](https://github.com/vant-ui/vant/issues/7979) **Bug Fixes** -- Button: should not submit form when loading [#8018](https://github.com/youzan/vant/issues/8018) -- Calendar: should expose scrollToDate method [#7983](https://github.com/youzan/vant/issues/7983) -- Empty: linearGradient id conflict [#8013](https://github.com/youzan/vant/issues/8013) -- Toast: closeOnClickOverlay not work [#8044](https://github.com/youzan/vant/issues/8044) +- Button: should not submit form when loading [#8018](https://github.com/vant-ui/vant/issues/8018) +- Calendar: should expose scrollToDate method [#7983](https://github.com/vant-ui/vant/issues/7983) +- Empty: linearGradient id conflict [#8013](https://github.com/vant-ui/vant/issues/8013) +- Toast: closeOnClickOverlay not work [#8044](https://github.com/vant-ui/vant/issues/8044) -### [v3.0.5](https://github.com/youzan/vant/compare/v3.0.4...v3.0.5) +### [v3.0.5](https://github.com/vant-ui/vant/compare/v3.0.4...v3.0.5) `2021-01-24` **Feature** -- Badge: add offset prop [e0b463](https://github.com/youzan/vant/commit/e0b463630108b5031a02a8afcd0c141a7fdbac9e) -- Calendar: reset method support specified date [#7966](https://github.com/youzan/vant/issues/7966) -- Icons: add wechat icon, rename wechat-pay icon [b3cd8c](https://github.com/youzan/vant/commit/b3cd8c14aea9e542a9de4ba9999e50c3ecbf3b3c) -- ImagePreview: reset scale after swiping [#7972](https://github.com/youzan/vant/issues/7972) -- ImagePreview: adjust default swipeDuration to 300ms [#7970](https://github.com/youzan/vant/issues/7970) -- ShareSheet: add wechat-moments icon [ca66fb](https://github.com/youzan/vant/commit/ca66fbca36c5c839e3a294d465b0fc2bd7bf5039) -- Slider: add readonly prop [4cd991](https://github.com/youzan/vant/commit/4cd991dfec01bd5342cb59b750d0dfa5901b8dc8) +- Badge: add offset prop [e0b463](https://github.com/vant-ui/vant/commit/e0b463630108b5031a02a8afcd0c141a7fdbac9e) +- Calendar: reset method support specified date [#7966](https://github.com/vant-ui/vant/issues/7966) +- Icons: add wechat icon, rename wechat-pay icon [b3cd8c](https://github.com/vant-ui/vant/commit/b3cd8c14aea9e542a9de4ba9999e50c3ecbf3b3c) +- ImagePreview: reset scale after swiping [#7972](https://github.com/vant-ui/vant/issues/7972) +- ImagePreview: adjust default swipeDuration to 300ms [#7970](https://github.com/vant-ui/vant/issues/7970) +- ShareSheet: add wechat-moments icon [ca66fb](https://github.com/vant-ui/vant/commit/ca66fbca36c5c839e3a294d465b0fc2bd7bf5039) +- Slider: add readonly prop [4cd991](https://github.com/vant-ui/vant/commit/4cd991dfec01bd5342cb59b750d0dfa5901b8dc8) **style** -- ShareSheet: update qrcode icon [32a08b](https://github.com/youzan/vant/commit/32a08bb6807d9d38027e03eef376d82b6eab282e) -- TreeSelect: add active feedback [bada31](https://github.com/youzan/vant/commit/bada315fb3b0fbdf30c663170c867bbbc274687c) +- ShareSheet: update qrcode icon [32a08b](https://github.com/vant-ui/vant/commit/32a08bb6807d9d38027e03eef376d82b6eab282e) +- TreeSelect: add active feedback [bada31](https://github.com/vant-ui/vant/commit/bada315fb3b0fbdf30c663170c867bbbc274687c) **Bug Fixes** -- Calendar: should reset to default date when calling reset method [#7967](https://github.com/youzan/vant/issues/7967) -- Dialog: failed to render when toggling allowHtml [#7968](https://github.com/youzan/vant/issues/7968) -- ImagePreview: scale event index is undefined [#7971](https://github.com/youzan/vant/issues/7971) +- Calendar: should reset to default date when calling reset method [#7967](https://github.com/vant-ui/vant/issues/7967) +- Dialog: failed to render when toggling allowHtml [#7968](https://github.com/vant-ui/vant/issues/7968) +- ImagePreview: scale event index is undefined [#7971](https://github.com/vant-ui/vant/issues/7971) -### [v3.0.4](https://github.com/youzan/vant/compare/v3.0.3...v3.0.4) +### [v3.0.4](https://github.com/vant-ui/vant/compare/v3.0.3...v3.0.4) `2021-01-17` **Feature** -- Cascader: add field-names prop [#7933](https://github.com/youzan/vant/issues/7933) -- Cell: allow to disable clickable when using is-link [#7923](https://github.com/youzan/vant/issues/7923) -- DropdownItem: title-class can be array or object type [#7926](https://github.com/youzan/vant/issues/7926) -- Popup: overlay-class can be array or object [#7924](https://github.com/youzan/vant/issues/7924) -- Toast: add overlayClass option [#7925](https://github.com/youzan/vant/issues/7925) -- Toast: add overlayStyle option [#7898](https://github.com/youzan/vant/issues/7898) +- Cascader: add field-names prop [#7933](https://github.com/vant-ui/vant/issues/7933) +- Cell: allow to disable clickable when using is-link [#7923](https://github.com/vant-ui/vant/issues/7923) +- DropdownItem: title-class can be array or object type [#7926](https://github.com/vant-ui/vant/issues/7926) +- Popup: overlay-class can be array or object [#7924](https://github.com/vant-ui/vant/issues/7924) +- Toast: add overlayClass option [#7925](https://github.com/vant-ui/vant/issues/7925) +- Toast: add overlayStyle option [#7898](https://github.com/vant-ui/vant/issues/7898) **Bug Fixes** -- AddressEdit: should expose setAreaCode method [6a184f](https://github.com/youzan/vant/commit/6a184f8e930fea31035680dd44f40bc007aba4cd) -- Circle: the gradient color is incorrect [#7909](https://github.com/youzan/vant/issues/7909) -- NumberKeyboard: fix delete、extra-key slot not work [52a0e5](https://github.com/youzan/vant/commit/52a0e5a8c70dcc07b87140e33318acefcbdd3ef9) -- Search: fix update:modelValue emits warning [#7872](https://github.com/youzan/vant/issues/7872) -- Swipe: should stop autoplay when page is hidden [1c428f](https://github.com/youzan/vant/commit/1c428f240cd44d3389510263dd7f03973cfbfa2b) +- AddressEdit: should expose setAreaCode method [6a184f](https://github.com/vant-ui/vant/commit/6a184f8e930fea31035680dd44f40bc007aba4cd) +- Circle: the gradient color is incorrect [#7909](https://github.com/vant-ui/vant/issues/7909) +- NumberKeyboard: fix delete、extra-key slot not work [52a0e5](https://github.com/vant-ui/vant/commit/52a0e5a8c70dcc07b87140e33318acefcbdd3ef9) +- Search: fix update:modelValue emits warning [#7872](https://github.com/vant-ui/vant/issues/7872) +- Swipe: should stop autoplay when page is hidden [1c428f](https://github.com/vant-ui/vant/commit/1c428f240cd44d3389510263dd7f03973cfbfa2b) -### [v3.0.3](https://github.com/youzan/vant/compare/v3.0.2...v3.0.3) +### [v3.0.3](https://github.com/vant-ui/vant/compare/v3.0.2...v3.0.3) `2021-01-10` **Feature** -- Field: add autocomplate prop [#7877](https://github.com/youzan/vant/issues/7877) +- Field: add autocomplate prop [#7877](https://github.com/vant-ui/vant/issues/7877) **Bug Fixes** -- Area: should expose getValues method [03c7b4](https://github.com/youzan/vant/commit/03c7b46b04d8c543f952cbf8399ec21ca39f979f) -- ImagePreview: close-on-popstate not work [#7880](https://github.com/youzan/vant/issues/7880) -- List: should watch error prop and check position [b79c32](https://github.com/youzan/vant/commit/b79c32183f6159a663dad42f6189a939061f9f32) +- Area: should expose getValues method [03c7b4](https://github.com/vant-ui/vant/commit/03c7b46b04d8c543f952cbf8399ec21ca39f979f) +- ImagePreview: close-on-popstate not work [#7880](https://github.com/vant-ui/vant/issues/7880) +- List: should watch error prop and check position [b79c32](https://github.com/vant-ui/vant/commit/b79c32183f6159a663dad42f6189a939061f9f32) -### [v3.0.2](https://github.com/youzan/vant/compare/v3.0.1...v3.0.2) +### [v3.0.2](https://github.com/vant-ui/vant/compare/v3.0.1...v3.0.2) `2021-01-02` **Feature** -- Calendar: add scrollToDate method [#7847](https://github.com/youzan/vant/issues/7847) -- Form: add disabled prop [#7830](https://github.com/youzan/vant/issues/7830) -- Form: add readonly prop [#7830](https://github.com/youzan/vant/issues/7830) -- Loading: add text-color prop [#7806](https://github.com/youzan/vant/issues/7806) -- Picker: add columns-field-names prop [#7791](https://github.com/youzan/vant/issues/7791) -- NumberKeyboard: add random-key-order prop [#7841](https://github.com/youzan/vant/issues/7841) +- Calendar: add scrollToDate method [#7847](https://github.com/vant-ui/vant/issues/7847) +- Form: add disabled prop [#7830](https://github.com/vant-ui/vant/issues/7830) +- Form: add readonly prop [#7830](https://github.com/vant-ui/vant/issues/7830) +- Loading: add text-color prop [#7806](https://github.com/vant-ui/vant/issues/7806) +- Picker: add columns-field-names prop [#7791](https://github.com/vant-ui/vant/issues/7791) +- NumberKeyboard: add random-key-order prop [#7841](https://github.com/vant-ui/vant/issues/7841) **Bug Fixes** -- Calendar: title slot not work [#7826](https://github.com/youzan/vant/issues/7826) -- Calendar: failed to watch defaultDate [#7815](https://github.com/youzan/vant/issues/7815) -- Popup: should remove lock scroll before destroyed [#7835](https://github.com/youzan/vant/issues/7835) -- Stepper: should format model-value [81494d](https://github.com/youzan/vant/commit/81494dfa13e6ab9a3f12995f481290d27d14ab7a) +- Calendar: title slot not work [#7826](https://github.com/vant-ui/vant/issues/7826) +- Calendar: failed to watch defaultDate [#7815](https://github.com/vant-ui/vant/issues/7815) +- Popup: should remove lock scroll before destroyed [#7835](https://github.com/vant-ui/vant/issues/7835) +- Stepper: should format model-value [81494d](https://github.com/vant-ui/vant/commit/81494dfa13e6ab9a3f12995f481290d27d14ab7a) -### [v3.0.1](https://github.com/youzan/vant/compare/v3.0.0...v3.0.1) +### [v3.0.1](https://github.com/vant-ui/vant/compare/v3.0.0...v3.0.1) `2020-12-27` **Feature** -- Form: support valdiate multiple names [#7810](https://github.com/youzan/vant/issues/7810) -- Form: resetValidation support multiple names [#7811](https://github.com/youzan/vant/issues/7811) -- Stepper: add show-input prop [#7812](https://github.com/youzan/vant/issues/7812) -- IndexBar: add scrollTo method [#7794](https://github.com/youzan/vant/issues/7794) +- Form: support valdiate multiple names [#7810](https://github.com/vant-ui/vant/issues/7810) +- Form: resetValidation support multiple names [#7811](https://github.com/vant-ui/vant/issues/7811) +- Stepper: add show-input prop [#7812](https://github.com/vant-ui/vant/issues/7812) +- IndexBar: add scrollTo method [#7794](https://github.com/vant-ui/vant/issues/7794) **Bug Fixes** -- CountDown: fix ssr memory leak [#7808](https://github.com/youzan/vant/issues/7808) -- Image: mismatching warning during ssr [#7822](https://github.com/youzan/vant/issues/7822) -- Popup: lockScroll not work [#7738](https://github.com/youzan/vant/issues/7738) -- Stepper: change event emitted twice [#7820](https://github.com/youzan/vant/issues/7820) -- Swipe: incorrect size during ssr [#7821](https://github.com/youzan/vant/issues/7821) -- Swipe: incorrect active swipe when children changed [#7802](https://github.com/youzan/vant/issues/7802) -- Swipe: incorrect active tab when activated [#7772](https://github.com/youzan/vant/issues/7772) +- CountDown: fix ssr memory leak [#7808](https://github.com/vant-ui/vant/issues/7808) +- Image: mismatching warning during ssr [#7822](https://github.com/vant-ui/vant/issues/7822) +- Popup: lockScroll not work [#7738](https://github.com/vant-ui/vant/issues/7738) +- Stepper: change event emitted twice [#7820](https://github.com/vant-ui/vant/issues/7820) +- Swipe: incorrect size during ssr [#7821](https://github.com/vant-ui/vant/issues/7821) +- Swipe: incorrect active swipe when children changed [#7802](https://github.com/vant-ui/vant/issues/7802) +- Swipe: incorrect active tab when activated [#7772](https://github.com/vant-ui/vant/issues/7772) -### [v3.0.0](https://github.com/youzan/vant/compare/v2.12.0...v3.0.0) +### [v3.0.0](https://github.com/vant-ui/vant/compare/v2.12.0...v3.0.0) `2020-12-23` **Content** -Reference: [Vant 3.0 正式发布:全面拥抱 Vue 3](https://github.com/youzan/vant/issues/7797)。 +Reference: [Vant 3.0 正式发布:全面拥抱 Vue 3](https://github.com/vant-ui/vant/issues/7797)。 -### [v3.0.0-rc.4](https://github.com/youzan/vant/compare/v2.12.0-beta.0...v3.0.0-rc.4) +### [v3.0.0-rc.4](https://github.com/vant-ui/vant/compare/v2.12.0-beta.0...v3.0.0-rc.4) `2020-12-21` **New Component** -- add Cascader component [#7771](https://github.com/youzan/vant/pull/7771) +- add Cascader component [#7771](https://github.com/vant-ui/vant/pull/7771) **Feature** -- Stepper: add show-input prop [#7785](https://github.com/youzan/vant/issues/7785) -- uploader: add single uploader preview image style [#7731](https://github.com/youzan/vant/issues/7731) +- Stepper: add show-input prop [#7785](https://github.com/vant-ui/vant/issues/7785) +- uploader: add single uploader preview image style [#7731](https://github.com/vant-ui/vant/issues/7731) **Types** -- Lazyload: fix typing [#7757](https://github.com/youzan/vant/issues/7757) +- Lazyload: fix typing [#7757](https://github.com/vant-ui/vant/issues/7757) - Contains all features and bug fixes of `v2.12.0-beta.0` version -### [v3.0.0-rc.3](https://github.com/youzan/vant/compare/v2.11.2...v3.0.0-rc.3) +### [v3.0.0-rc.3](https://github.com/vant-ui/vant/compare/v2.11.2...v3.0.0-rc.3) `2020-12-10` **Breaking Change** -- Stepper: rename async-change to before-change [e026d2](https://github.com/youzan/vant/commit/e026d2d83f66bb25c66f805cf8085de70d8e009f) +- Stepper: rename async-change to before-change [e026d2](https://github.com/vant-ui/vant/commit/e026d2d83f66bb25c66f805cf8085de70d8e009f) **perf** -- Stepper: improve bundle size [#7675](https://github.com/youzan/vant/issues/7675) +- Stepper: improve bundle size [#7675](https://github.com/vant-ui/vant/issues/7675) **Bug Fixes** -- Stepper: disabled not work [c27760](https://github.com/youzan/vant/commit/c277603160a7a17685dc532304b9a0c2444db959) -- Tabs: failed to set active tab [#7717](https://github.com/youzan/vant/issues/7717) +- Stepper: disabled not work [c27760](https://github.com/vant-ui/vant/commit/c277603160a7a17685dc532304b9a0c2444db959) +- Tabs: failed to set active tab [#7717](https://github.com/vant-ui/vant/issues/7717) - Contains all features and bug fixes of `v2.11.3` version -### [v3.0.0-rc.2](https://github.com/youzan/vant/compare/v3.0.0-rc.1...v3.0.0-rc.2) +### [v3.0.0-rc.2](https://github.com/vant-ui/vant/compare/v3.0.0-rc.1...v3.0.0-rc.2) `2020-12-04` **perf** -- reduce bundle size [#7675](https://github.com/youzan/vant/issues/7675) +- reduce bundle size [#7675](https://github.com/vant-ui/vant/issues/7675) **Bug Fixes** -- Lazyload: missing esm output [#7685](https://github.com/youzan/vant/issues/7685) -- NumberKeyboard: fix hide-on-click-outside prop not working [#7668](https://github.com/youzan/vant/issues/7668) [#7667](https://github.com/youzan/vant/issues/7667) -- Uploader: fix change status is not valid [#7681](https://github.com/youzan/vant/issues/7681) -- Types: fix teleport typing [#7687](https://github.com/youzan/vant/issues/7687) +- Lazyload: missing esm output [#7685](https://github.com/vant-ui/vant/issues/7685) +- NumberKeyboard: fix hide-on-click-outside prop not working [#7668](https://github.com/vant-ui/vant/issues/7668) [#7667](https://github.com/vant-ui/vant/issues/7667) +- Uploader: fix change status is not valid [#7681](https://github.com/vant-ui/vant/issues/7681) +- Types: fix teleport typing [#7687](https://github.com/vant-ui/vant/issues/7687) - Contains all features and bug fixes of `v2.11.2` version -### [v3.0.0-rc.1](https://github.com/youzan/vant/compare/v2.11.1...v3.0.0-rc.1) +### [v3.0.0-rc.1](https://github.com/vant-ui/vant/compare/v2.11.1...v3.0.0-rc.1) `2020-12-01` **Breaking Change** -- Popover: adjust trigger default value to click [1699d9](https://github.com/youzan/vant/commit/1699d9927240373867f065355136fd27ac04b0e5) +- Popover: adjust trigger default value to click [1699d9](https://github.com/vant-ui/vant/commit/1699d9927240373867f065355136fd27ac04b0e5) **Feature** -- Lazyload: support Vue 3 [d3ca40](https://github.com/youzan/vant/commit/d3ca404f98ffd572035d7048c949e8942b89fc55) +- Lazyload: support Vue 3 [d3ca40](https://github.com/vant-ui/vant/commit/d3ca404f98ffd572035d7048c949e8942b89fc55) - Contains all features and bug fixes of `v2.11.1` version **style** -- Circle: add @circle-color less var [1a6cf6](https://github.com/youzan/vant/commit/1a6cf64f548bb19c6bd478db67f2e0a1d7c9a145) -- Circle: add @circle-layer-color less var [65a5ed](https://github.com/youzan/vant/commit/65a5ed85537b7a406655bd39f7e4f5332d780a82) -- Circle: add @circle-size less var [b57f7e](https://github.com/youzan/vant/commit/b57f7e9d9810ce95047334f0897899ebddaac6f3) -- IndexBar: adjust default highlight color to red [65b680](https://github.com/youzan/vant/commit/65b6807a7e6b8a415b5f228c5d55426cd81a1dfa) -- IndexBar: adjust sticky anchor color to red [87b0a0](https://github.com/youzan/vant/commit/87b0a034958296a720409ded893e708081c35bc5) -- IndexBar: increase right padding to 8px [aad055](https://github.com/youzan/vant/commit/aad055906484d8b6c38a9f84a768f09522b13a41) +- Circle: add @circle-color less var [1a6cf6](https://github.com/vant-ui/vant/commit/1a6cf64f548bb19c6bd478db67f2e0a1d7c9a145) +- Circle: add @circle-layer-color less var [65a5ed](https://github.com/vant-ui/vant/commit/65a5ed85537b7a406655bd39f7e4f5332d780a82) +- Circle: add @circle-size less var [b57f7e](https://github.com/vant-ui/vant/commit/b57f7e9d9810ce95047334f0897899ebddaac6f3) +- IndexBar: adjust default highlight color to red [65b680](https://github.com/vant-ui/vant/commit/65b6807a7e6b8a415b5f228c5d55426cd81a1dfa) +- IndexBar: adjust sticky anchor color to red [87b0a0](https://github.com/vant-ui/vant/commit/87b0a034958296a720409ded893e708081c35bc5) +- IndexBar: increase right padding to 8px [aad055](https://github.com/vant-ui/vant/commit/aad055906484d8b6c38a9f84a768f09522b13a41) **Bug Fixes** -- Image: lazy-load prop not work [0ba818](https://github.com/youzan/vant/commit/0ba8187bf540abc0c593c6571554f1b72e8d3e19) -- Lazyload: fix typing [d0c4c2](https://github.com/youzan/vant/commit/d0c4c26d758f18ac3f33fc7d4867a98b731b129d) -- Popup: transition-appear prop not work [dd6930](https://github.com/youzan/vant/commit/dd6930533593a363e25f56717e5c17184ef6e867) +- Image: lazy-load prop not work [0ba818](https://github.com/vant-ui/vant/commit/0ba8187bf540abc0c593c6571554f1b72e8d3e19) +- Lazyload: fix typing [d0c4c2](https://github.com/vant-ui/vant/commit/d0c4c26d758f18ac3f33fc7d4867a98b731b129d) +- Popup: transition-appear prop not work [dd6930](https://github.com/vant-ui/vant/commit/dd6930533593a363e25f56717e5c17184ef6e867) -### [v3.0.0-beta.10](https://github.com/youzan/vant/compare/v3.0.0-beta.9...v3.0.0-beta.10) +### [v3.0.0-beta.10](https://github.com/vant-ui/vant/compare/v3.0.0-beta.9...v3.0.0-beta.10) `2020-11-22` **Bug Fixes** -- Radio: failed to bind group [0f7c9a](https://github.com/youzan/vant/commit/0f7c9a317cc9a7219ec8431bae0658a5e84d43af) +- Radio: failed to bind group [0f7c9a](https://github.com/vant-ui/vant/commit/0f7c9a317cc9a7219ec8431bae0658a5e84d43af) -### [v3.0.0-beta.9](https://github.com/youzan/vant/compare/v2.11.0...v3.0.0-beta.9) +### [v3.0.0-beta.9](https://github.com/vant-ui/vant/compare/v2.11.0...v3.0.0-beta.9) `2020-11-22` **Feature** -- Search: add blur method [d26282](https://github.com/youzan/vant/commit/d26282e54245a47075fed01baf6304e0d84559e0) -- Search: add focus method [2833bc](https://github.com/youzan/vant/commit/2833bc03f5243370e5a3aeece5b823fc2ebde64c) +- Search: add blur method [d26282](https://github.com/vant-ui/vant/commit/d26282e54245a47075fed01baf6304e0d84559e0) +- Search: add focus method [2833bc](https://github.com/vant-ui/vant/commit/2833bc03f5243370e5a3aeece5b823fc2ebde64c) **Bug Fixes** -- Checkbox: bind-group prop not work [#7447](https://github.com/youzan/vant/issues/7447) -- Badge: fix missing typing [c487b3](https://github.com/youzan/vant/commit/c487b394efa946f6fae5059f1e1a69be11a25a6e) +- Checkbox: bind-group prop not work [#7447](https://github.com/vant-ui/vant/issues/7447) +- Badge: fix missing typing [c487b3](https://github.com/vant-ui/vant/commit/c487b394efa946f6fae5059f1e1a69be11a25a6e) - Contains all features and bug fixes of `v2.11.0` version -### [v3.0.0-beta.8](https://github.com/youzan/vant/compare/v2.10.14...v3.0.0-beta.8) +### [v3.0.0-beta.8](https://github.com/vant-ui/vant/compare/v2.10.14...v3.0.0-beta.8) `2020-11-15` **Bug Fixes** -- ActionSheet: incorrect behavior when clicking disabled option [996598](https://github.com/youzan/vant/commit/996598686955b90bb5cf7589b5ca1589e17e2016) -- ActionSheet: missing callback option [27b761](https://github.com/youzan/vant/commit/27b761f534186a6bfa2e8e54cc78ccb51ec48e25) -- Calendar: failed to render when default-date is null #7519 [#7519](https://github.com/youzan/vant/issues/7519) -- cli: should not collect coverage from test dir [c21517](https://github.com/youzan/vant/commit/c2151708bbffee95ceb169176bfa5deb5f7e9317) -- DatetimePicker: inherit correct props [ed332d](https://github.com/youzan/vant/commit/ed332daf319e2005995f279026a57d4f30a339f6) -- NavBar: safe-area-inset-top css incorrect [#7535](https://github.com/youzan/vant/issues/7535) -- NoticeBar: avoid repeated start [0712d9](https://github.com/youzan/vant/commit/0712d920634e7b70b77f49c71337172bf3ece470) -- Swipe: failed to render in lazy-render mode [e06ba4](https://github.com/youzan/vant/commit/e06ba480a9ec02af8659616ff6ceb5155defddad) -- Swipe: avoid repeated initialization [c94173](https://github.com/youzan/vant/commit/c9417341e0adb681db6108cf1383bab77ab90da9) -- Tabs: avoid repeated initialization [599e81](https://github.com/youzan/vant/commit/599e817cd4f4239b4a93c75f34118731d47891b5) +- ActionSheet: incorrect behavior when clicking disabled option [996598](https://github.com/vant-ui/vant/commit/996598686955b90bb5cf7589b5ca1589e17e2016) +- ActionSheet: missing callback option [27b761](https://github.com/vant-ui/vant/commit/27b761f534186a6bfa2e8e54cc78ccb51ec48e25) +- Calendar: failed to render when default-date is null #7519 [#7519](https://github.com/vant-ui/vant/issues/7519) +- cli: should not collect coverage from test dir [c21517](https://github.com/vant-ui/vant/commit/c2151708bbffee95ceb169176bfa5deb5f7e9317) +- DatetimePicker: inherit correct props [ed332d](https://github.com/vant-ui/vant/commit/ed332daf319e2005995f279026a57d4f30a339f6) +- NavBar: safe-area-inset-top css incorrect [#7535](https://github.com/vant-ui/vant/issues/7535) +- NoticeBar: avoid repeated start [0712d9](https://github.com/vant-ui/vant/commit/0712d920634e7b70b77f49c71337172bf3ece470) +- Swipe: failed to render in lazy-render mode [e06ba4](https://github.com/vant-ui/vant/commit/e06ba480a9ec02af8659616ff6ceb5155defddad) +- Swipe: avoid repeated initialization [c94173](https://github.com/vant-ui/vant/commit/c9417341e0adb681db6108cf1383bab77ab90da9) +- Tabs: avoid repeated initialization [599e81](https://github.com/vant-ui/vant/commit/599e817cd4f4239b4a93c75f34118731d47891b5) - Contains all features and bug fixes of `v2.10.14` version -### [v3.0.0-beta.7](https://github.com/youzan/vant/compare/v2.10.13...v3.0.0-beta.7) +### [v3.0.0-beta.7](https://github.com/vant-ui/vant/compare/v2.10.13...v3.0.0-beta.7) `2020-11-08` **Bug Fixes** -- Calendar: incorrect initial date [#7412](https://github.com/youzan/vant/issues/7412) -- DropdownMenu: can't disable closeOnClickOutside [#7473](https://github.com/youzan/vant/issues/7473) -- Uploader: before-read return true not work [#7493](https://github.com/youzan/vant/issues/7493) -- Uploader: can't get index in delete event [#7481](https://github.com/youzan/vant/issues/7481) +- Calendar: incorrect initial date [#7412](https://github.com/vant-ui/vant/issues/7412) +- DropdownMenu: can't disable closeOnClickOutside [#7473](https://github.com/vant-ui/vant/issues/7473) +- Uploader: before-read return true not work [#7493](https://github.com/vant-ui/vant/issues/7493) +- Uploader: can't get index in delete event [#7481](https://github.com/vant-ui/vant/issues/7481) - Contains all features and bug fixes of `v2.10.13` version -### [v3.0.0-beta.6](https://github.com/youzan/vant/compare/v2.10.12...v3.0.0-beta.6) +### [v3.0.0-beta.6](https://github.com/vant-ui/vant/compare/v2.10.12...v3.0.0-beta.6) `2020-11-01` **Bug Fixes** -- Calendar: watch maxData/minDate and reset [#7412](https://github.com/youzan/vant/issues/7412) -- Swipe: incorrect lazy render when loop is false [#7465](https://github.com/youzan/vant/issues/7465) -- Swipe: item should only rendered once [#7466](https://github.com/youzan/vant/issues/7466) -- Tabs: skip initial animation [49e877](https://github.com/youzan/vant/commit/49e87756c70b33e1a56620ebee3c0aa53fb9fc86) -- ActionBar: fix typing [#7440](https://github.com/youzan/vant/issues/7440) [#7442](https://github.com/youzan/vant/issues/7442) +- Calendar: watch maxData/minDate and reset [#7412](https://github.com/vant-ui/vant/issues/7412) +- Swipe: incorrect lazy render when loop is false [#7465](https://github.com/vant-ui/vant/issues/7465) +- Swipe: item should only rendered once [#7466](https://github.com/vant-ui/vant/issues/7466) +- Tabs: skip initial animation [49e877](https://github.com/vant-ui/vant/commit/49e87756c70b33e1a56620ebee3c0aa53fb9fc86) +- ActionBar: fix typing [#7440](https://github.com/vant-ui/vant/issues/7440) [#7442](https://github.com/vant-ui/vant/issues/7442) - Contains all features and bug fixes of `v2.10.12` version diff --git a/packages/vant/docs/markdown/changelog.zh-CN.md b/packages/vant/docs/markdown/changelog.zh-CN.md index a6cf0fea3..109944063 100644 --- a/packages/vant/docs/markdown/changelog.zh-CN.md +++ b/packages/vant/docs/markdown/changelog.zh-CN.md @@ -19,36 +19,36 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。 ## 更新内容 -### [v3.5.2](https://github.com/youzan/vant/compare/v3.5.1...v3.5.2) +### [v3.5.2](https://github.com/vant-ui/vant/compare/v3.5.1...v3.5.2) `2022-06-26` **Feature** -- ActionBar: 新增 placeholder 属性 [#10724](https://github.com/youzan/vant/issues/10724) -- Field: 新增 start-validate 和 end-validate 事件 [#10726](https://github.com/youzan/vant/issues/10726) -- SubmitBar: 新增 placeholder 属性 [#10725](https://github.com/youzan/vant/issues/10725) +- ActionBar: 新增 placeholder 属性 [#10724](https://github.com/vant-ui/vant/issues/10724) +- Field: 新增 start-validate 和 end-validate 事件 [#10726](https://github.com/vant-ui/vant/issues/10726) +- SubmitBar: 新增 placeholder 属性 [#10725](https://github.com/vant-ui/vant/issues/10725) **Bug Fixes** -- List: 修复父节点样式包含 `overflow: overlay` 时未被判定为滚动容器的问题 [#10743](https://github.com/youzan/vant/issues/10743) +- List: 修复父节点样式包含 `overflow: overlay` 时未被判定为滚动容器的问题 [#10743](https://github.com/vant-ui/vant/issues/10743) -### [v3.5.1](https://github.com/youzan/vant/compare/v3.5.0...v3.5.1) +### [v3.5.1](https://github.com/vant-ui/vant/compare/v3.5.0...v3.5.1) `2022-06-12` **Feature** -- PullRefresh: 新增 change 事件 [#10702](https://github.com/youzan/vant/issues/10702) +- PullRefresh: 新增 change 事件 [#10702](https://github.com/vant-ui/vant/issues/10702) **Bug Fixes** -- Calender: 修复动态设置 maxDate 或 minDate 可能导致月份渲染失败的问题 [#10668](https://github.com/youzan/vant/issues/10668) -- Popup: 修复未使用 teleport 时 deactivated 后会自动关闭的问题 [#10706](https://github.com/youzan/vant/issues/10706) -- Toast: 修复 toast.clear 缺少类型定义的问题 [#10699](https://github.com/youzan/vant/issues/10699) -- Uploader: 修复 preview-options 属性中 images 为必填字段的问题 [#10698](https://github.com/youzan/vant/issues/10698) +- Calender: 修复动态设置 maxDate 或 minDate 可能导致月份渲染失败的问题 [#10668](https://github.com/vant-ui/vant/issues/10668) +- Popup: 修复未使用 teleport 时 deactivated 后会自动关闭的问题 [#10706](https://github.com/vant-ui/vant/issues/10706) +- Toast: 修复 toast.clear 缺少类型定义的问题 [#10699](https://github.com/vant-ui/vant/issues/10699) +- Uploader: 修复 preview-options 属性中 images 为必填字段的问题 [#10698](https://github.com/vant-ui/vant/issues/10698) -### [v3.5.0](https://github.com/youzan/vant/compare/v3.4.9...v3.5.0) +### [v3.5.0](https://github.com/vant-ui/vant/compare/v3.4.9...v3.5.0) `2022-06-05` @@ -65,94 +65,94 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Feature** -- `@vant/use` `@vant/popperjs` 等 npm 包添加 exports 字段 [#10650](https://github.com/youzan/vant/issues/10650) -- Dialog: 支持禁用按钮 [#10665](https://github.com/youzan/vant/issues/10665) -- Locale: 新增 Bulgarian 保加利亚语 [#10609](https://github.com/youzan/vant/issues/10609) -- Locale: 新增 Farsi 波斯语 [#10637](https://github.com/youzan/vant/issues/10637) -- Locale: 新增 Greek 希腊语 [#10621](https://github.com/youzan/vant/issues/10621) -- Locale: 新增 Hebrew 希伯来语 [#10591](https://github.com/youzan/vant/issues/10591) -- Switch: 新增 node 插槽 [#10573](https://github.com/youzan/vant/issues/10573) -- Switch: 新增 background 插槽 [#10666](https://github.com/youzan/vant/issues/10666) -- Form: 新增 getValidationStatus 方法 [#10620](https://github.com/youzan/vant/issues/10620) -- Uploader: 新增 preview-delete 插槽 [#10606](https://github.com/youzan/vant/issues/10606) +- `@vant/use` `@vant/popperjs` 等 npm 包添加 exports 字段 [#10650](https://github.com/vant-ui/vant/issues/10650) +- Dialog: 支持禁用按钮 [#10665](https://github.com/vant-ui/vant/issues/10665) +- Locale: 新增 Bulgarian 保加利亚语 [#10609](https://github.com/vant-ui/vant/issues/10609) +- Locale: 新增 Farsi 波斯语 [#10637](https://github.com/vant-ui/vant/issues/10637) +- Locale: 新增 Greek 希腊语 [#10621](https://github.com/vant-ui/vant/issues/10621) +- Locale: 新增 Hebrew 希伯来语 [#10591](https://github.com/vant-ui/vant/issues/10591) +- Switch: 新增 node 插槽 [#10573](https://github.com/vant-ui/vant/issues/10573) +- Switch: 新增 background 插槽 [#10666](https://github.com/vant-ui/vant/issues/10666) +- Form: 新增 getValidationStatus 方法 [#10620](https://github.com/vant-ui/vant/issues/10620) +- Uploader: 新增 preview-delete 插槽 [#10606](https://github.com/vant-ui/vant/issues/10606) **Bug Fixes** -- Area: 修复二次打开时未正确渲染遮罩层的问题 [#10664](https://github.com/youzan/vant/issues/10664) -- field: 修复动态渲染插槽时可能导致输入框拼音被清空的问题 [#10582](https://github.com/youzan/vant/issues/10582) -- Picker: 修复动态设置 columns-field-names 不生效的问题 [#10562](https://github.com/youzan/vant/issues/10562) +- Area: 修复二次打开时未正确渲染遮罩层的问题 [#10664](https://github.com/vant-ui/vant/issues/10664) +- field: 修复动态渲染插槽时可能导致输入框拼音被清空的问题 [#10582](https://github.com/vant-ui/vant/issues/10582) +- Picker: 修复动态设置 columns-field-names 不生效的问题 [#10562](https://github.com/vant-ui/vant/issues/10562) -### [v3.4.9](https://github.com/youzan/vant/compare/v3.4.8...v3.4.9) +### [v3.4.9](https://github.com/vant-ui/vant/compare/v3.4.8...v3.4.9) `2022-05-02` **Feature** -- Form: 支持同时设置多个 validate-trigger 值 [#10544](https://github.com/youzan/vant/issues/10544) -- Empty: 支持在无网络的环境下离线使用,图片从 CDN 调整为内联的 SVG 图片 [#10514](https://github.com/youzan/vant/issues/10514) [#10515](https://github.com/youzan/vant/issues/10515) [#10516](https://github.com/youzan/vant/issues/10516) -- Loading: 优化无障碍访问 [#10568](https://github.com/youzan/vant/issues/10568) +- Form: 支持同时设置多个 validate-trigger 值 [#10544](https://github.com/vant-ui/vant/issues/10544) +- Empty: 支持在无网络的环境下离线使用,图片从 CDN 调整为内联的 SVG 图片 [#10514](https://github.com/vant-ui/vant/issues/10514) [#10515](https://github.com/vant-ui/vant/issues/10515) [#10516](https://github.com/vant-ui/vant/issues/10516) +- Loading: 优化无障碍访问 [#10568](https://github.com/vant-ui/vant/issues/10568) **Bug Fixes** -- @vant/area-data: 修复发布到 npm 时包含 tsconfig.json 文件导致编译错误的问题 [f927f6](https://github.com/youzan/vant/commit/f927f6a7518cf7d08ec8abc5dd35019685c19e3a) +- @vant/area-data: 修复发布到 npm 时包含 tsconfig.json 文件导致编译错误的问题 [f927f6](https://github.com/vant-ui/vant/commit/f927f6a7518cf7d08ec8abc5dd35019685c19e3a) -### [v3.4.8](https://github.com/youzan/vant/compare/v3.4.7...v3.4.8) +### [v3.4.8](https://github.com/vant-ui/vant/compare/v3.4.7...v3.4.8) `2022-04-16` **Feature** -- CalendarDay: 增加日期行间距 [#10441](https://github.com/youzan/vant/issues/10441) -- Empty: 支持单独设置 image 的宽高 [#10465](https://github.com/youzan/vant/issues/10465) -- Field: 新增 enterkeyhint 属性 [#10478](https://github.com/youzan/vant/issues/10478) -- Form: 新增 getValues 方法 [#10511](https://github.com/youzan/vant/issues/10511) -- Icon: 新增 qq、weibo 等图标 [#10468](https://github.com/youzan/vant/issues/10468) -- Locale: 新增 Danish 丹麦语 [#10513](https://github.com/youzan/vant/issues/10513) -- ShareSheet: 不再依赖 CDN 上的图片资源,使用 iconfont 代替 [#10469](https://github.com/youzan/vant/issues/10469) -- web-types.json 文件增加 event arguments 信息 [#10474](https://github.com/youzan/vant/issues/10474) +- CalendarDay: 增加日期行间距 [#10441](https://github.com/vant-ui/vant/issues/10441) +- Empty: 支持单独设置 image 的宽高 [#10465](https://github.com/vant-ui/vant/issues/10465) +- Field: 新增 enterkeyhint 属性 [#10478](https://github.com/vant-ui/vant/issues/10478) +- Form: 新增 getValues 方法 [#10511](https://github.com/vant-ui/vant/issues/10511) +- Icon: 新增 qq、weibo 等图标 [#10468](https://github.com/vant-ui/vant/issues/10468) +- Locale: 新增 Danish 丹麦语 [#10513](https://github.com/vant-ui/vant/issues/10513) +- ShareSheet: 不再依赖 CDN 上的图片资源,使用 iconfont 代替 [#10469](https://github.com/vant-ui/vant/issues/10469) +- web-types.json 文件增加 event arguments 信息 [#10474](https://github.com/vant-ui/vant/issues/10474) **Bug Fixes** -- DatetimePicker: 修复 modeValue 与选中的数据不一致的问题 [#10448](https://github.com/youzan/vant/issues/10448) -- Rate: 修复多行时滑动选中不正确的问题 [#10500](https://github.com/youzan/vant/issues/10500) +- DatetimePicker: 修复 modeValue 与选中的数据不一致的问题 [#10448](https://github.com/vant-ui/vant/issues/10448) +- Rate: 修复多行时滑动选中不正确的问题 [#10500](https://github.com/vant-ui/vant/issues/10500) -### [v3.4.7](https://github.com/youzan/vant/compare/v3.4.6...v3.4.7) +### [v3.4.7](https://github.com/vant-ui/vant/compare/v3.4.6...v3.4.7) `2022-03-29` **Feature** -- @vant/area-data: 新增南京市江北新区 [#10410](https://github.com/youzan/vant/issues/10410) -- CouponList: 更新优惠券为空时的占位图 [#10436](https://github.com/youzan/vant/issues/10436) -- Locale: 新增 Icelandic 冰岛语 [#10418](https://github.com/youzan/vant/issues/10418) -- Locale: 新增 Lao 老挝语 [#10388](https://github.com/youzan/vant/issues/10388) -- Locale: 新增 Swedish 瑞典语 [#10419](https://github.com/youzan/vant/issues/10419) -- NumberKeyboard: 优化随机排序算法 [#10428](https://github.com/youzan/vant/issues/10428) -- Uploader: preview-size 属性支持单独设置宽度和高度 [#10438](https://github.com/youzan/vant/issues/10438) +- @vant/area-data: 新增南京市江北新区 [#10410](https://github.com/vant-ui/vant/issues/10410) +- CouponList: 更新优惠券为空时的占位图 [#10436](https://github.com/vant-ui/vant/issues/10436) +- Locale: 新增 Icelandic 冰岛语 [#10418](https://github.com/vant-ui/vant/issues/10418) +- Locale: 新增 Lao 老挝语 [#10388](https://github.com/vant-ui/vant/issues/10388) +- Locale: 新增 Swedish 瑞典语 [#10419](https://github.com/vant-ui/vant/issues/10419) +- NumberKeyboard: 优化随机排序算法 [#10428](https://github.com/vant-ui/vant/issues/10428) +- Uploader: preview-size 属性支持单独设置宽度和高度 [#10438](https://github.com/vant-ui/vant/issues/10438) **Bug Fixes** -- Calendar: 修复 scrollToDate 方法在个别情况下不生效的问题 [#10432](https://github.com/youzan/vant/issues/10432) -- DatetimePicker: 修复动态改变最大值或最小值时,currentDate 不准确的问题 [#10431](https://github.com/youzan/vant/issues/10431) -- IndexBar: 修复底部索引高亮状态不正确的问题 [#10404](https://github.com/youzan/vant/issues/10404) -- Tab: 修复使用 v-if 延迟渲染更新不正确的问题 [#10392](https://github.com/youzan/vant/issues/10392) +- Calendar: 修复 scrollToDate 方法在个别情况下不生效的问题 [#10432](https://github.com/vant-ui/vant/issues/10432) +- DatetimePicker: 修复动态改变最大值或最小值时,currentDate 不准确的问题 [#10431](https://github.com/vant-ui/vant/issues/10431) +- IndexBar: 修复底部索引高亮状态不正确的问题 [#10404](https://github.com/vant-ui/vant/issues/10404) +- Tab: 修复使用 v-if 延迟渲染更新不正确的问题 [#10392](https://github.com/vant-ui/vant/issues/10392) -### [v3.4.6](https://github.com/youzan/vant/compare/v3.4.5...v3.4.6) +### [v3.4.6](https://github.com/vant-ui/vant/compare/v3.4.5...v3.4.6) `2022-03-13` **Feature** -- Style: 新增 van-safe-area-top 样式类 [#10356](https://github.com/youzan/vant/issues/10356) -- Calendar: 新增 safe-area-inset-top 属性 [#10358](https://github.com/youzan/vant/issues/10358) -- Popup: 新增 safe-area-inset-top 属性 [#10357](https://github.com/youzan/vant/issues/10357) +- Style: 新增 van-safe-area-top 样式类 [#10356](https://github.com/vant-ui/vant/issues/10356) +- Calendar: 新增 safe-area-inset-top 属性 [#10358](https://github.com/vant-ui/vant/issues/10358) +- Popup: 新增 safe-area-inset-top 属性 [#10357](https://github.com/vant-ui/vant/issues/10357) **Bug Fixes** -- Skeleton: 修复个别情况下出现 non-props attributes warning 的问题 [#10384](https://github.com/youzan/vant/issues/10384) -- SwipeCell: 修复阻止滑动事件冒泡无效的问题 [#10319](https://github.com/youzan/vant/issues/10319) -- Toast: 修复切换 type 时 message 不显示的问题 [#10311](https://github.com/youzan/vant/issues/10311) -- 修复提示 VisibilityState 类型不存在的问题 [#10370](https://github.com/youzan/vant/issues/10370) +- Skeleton: 修复个别情况下出现 non-props attributes warning 的问题 [#10384](https://github.com/vant-ui/vant/issues/10384) +- SwipeCell: 修复阻止滑动事件冒泡无效的问题 [#10319](https://github.com/vant-ui/vant/issues/10319) +- Toast: 修复切换 type 时 message 不显示的问题 [#10311](https://github.com/vant-ui/vant/issues/10311) +- 修复提示 VisibilityState 类型不存在的问题 [#10370](https://github.com/vant-ui/vant/issues/10370) ### [v3.4.5](https://github.com/compare/v3.4.3...v3.4.5) @@ -160,25 +160,25 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Feature** -- CollapseItem: 新增 lazy-render 属性 [#10270](https://github.com/youzan/vant/issues/10270) -- Dialog: 支持通过 enter/esc 进行键盘操作 [#10261](https://github.com/youzan/vant/issues/10261) -- Locale: 新增 Bangla 孟加拉语 [#10287](https://github.com/youzan/vant/issues/10287) -- Locale: 新增 Indonesian 印度尼西亚语 [#10289](https://github.com/youzan/vant/issues/10289) -- Locale: 新增 Italian 意大利语 [#10288](https://github.com/youzan/vant/issues/10288) -- Locale: 新增 Ukrainian 乌克兰语 [#10291](https://github.com/youzan/vant/issues/10291) -- Locale: 新增 Vietnamese 越南语 [#10294](https://github.com/youzan/vant/issues/10294) +- CollapseItem: 新增 lazy-render 属性 [#10270](https://github.com/vant-ui/vant/issues/10270) +- Dialog: 支持通过 enter/esc 进行键盘操作 [#10261](https://github.com/vant-ui/vant/issues/10261) +- Locale: 新增 Bangla 孟加拉语 [#10287](https://github.com/vant-ui/vant/issues/10287) +- Locale: 新增 Indonesian 印度尼西亚语 [#10289](https://github.com/vant-ui/vant/issues/10289) +- Locale: 新增 Italian 意大利语 [#10288](https://github.com/vant-ui/vant/issues/10288) +- Locale: 新增 Ukrainian 乌克兰语 [#10291](https://github.com/vant-ui/vant/issues/10291) +- Locale: 新增 Vietnamese 越南语 [#10294](https://github.com/vant-ui/vant/issues/10294) **style** -- SubmitBar: 将冒号调整为英文冒号 [#10286](https://github.com/youzan/vant/issues/10286) +- SubmitBar: 将冒号调整为英文冒号 [#10286](https://github.com/vant-ui/vant/issues/10286) **Types** -- IndexBar: 修复 index-list 属性无法传入 number 类型的问题 [#10273](https://github.com/youzan/vant/issues/10273) -- Toast: 修复缺少 teleport 属性定义的问题 [#10272](https://github.com/youzan/vant/issues/10272) -- Uploader: 修复 UploaderBeforeRead 类型定义不准确的问题 [#10274](https://github.com/youzan/vant/issues/10274) +- IndexBar: 修复 index-list 属性无法传入 number 类型的问题 [#10273](https://github.com/vant-ui/vant/issues/10273) +- Toast: 修复缺少 teleport 属性定义的问题 [#10272](https://github.com/vant-ui/vant/issues/10272) +- Uploader: 修复 UploaderBeforeRead 类型定义不准确的问题 [#10274](https://github.com/vant-ui/vant/issues/10274) -### [v3.4.4](https://github.com/youzan/vant/compare/v3.4.4...v3.4.3) +### [v3.4.4](https://github.com/vant-ui/vant/compare/v3.4.4...v3.4.3) `2022-02-07` @@ -190,14 +190,14 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Feature** -- Locale: 新增 Hindi 印地语 [#10248](https://github.com/youzan/vant/issues/10248) -- Locale: 新增 Korean 韩语 [#10243](https://github.com/youzan/vant/issues/10243) -- 优化 cursor 样式 [#10232](https://github.com/youzan/vant/issues/10232) +- Locale: 新增 Hindi 印地语 [#10248](https://github.com/vant-ui/vant/issues/10248) +- Locale: 新增 Korean 韩语 [#10243](https://github.com/vant-ui/vant/issues/10243) +- 优化 cursor 样式 [#10232](https://github.com/vant-ui/vant/issues/10232) **Bug Fixes** -- Icon: 修复使用图片作为图标时水平未对齐的问题 [#10220](https://github.com/youzan/vant/issues/10220) -- TreeSelect: 修复重复点击时无法触发 click-nav 事件的问题 [#10239](https://github.com/youzan/vant/issues/10239) +- Icon: 修复使用图片作为图标时水平未对齐的问题 [#10220](https://github.com/vant-ui/vant/issues/10220) +- TreeSelect: 修复重复点击时无法触发 click-nav 事件的问题 [#10239](https://github.com/vant-ui/vant/issues/10239) ### [v3.4.2](https://github.com/compare/v3.4.1...v3.4.2) @@ -205,20 +205,20 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Feature** -- Cascader: 新增 show-header 属性 [#10202](https://github.com/youzan/vant/issues/10202) -- Image: 新增 position 属性 [#10142](https://github.com/youzan/vant/issues/10142) -- ImagePreview: 优化缩放手势的流畅度 [#10187](https://github.com/youzan/vant/issues/10187) -- Overlay: 新增 lazy-render 属性 [#10180](https://github.com/youzan/vant/issues/10180) -- web-types.json 现在默认使用英文描述 [#10207](https://github.com/youzan/vant/issues/10207) +- Cascader: 新增 show-header 属性 [#10202](https://github.com/vant-ui/vant/issues/10202) +- Image: 新增 position 属性 [#10142](https://github.com/vant-ui/vant/issues/10142) +- ImagePreview: 优化缩放手势的流畅度 [#10187](https://github.com/vant-ui/vant/issues/10187) +- Overlay: 新增 lazy-render 属性 [#10180](https://github.com/vant-ui/vant/issues/10180) +- web-types.json 现在默认使用英文描述 [#10207](https://github.com/vant-ui/vant/issues/10207) **Bug Fixes** -- Calendar: 修复范围选择包括被禁用的日期时可能选择错误的问题 [#10196](https://github.com/youzan/vant/issues/10196) -- Image: 修复使用 lazy-load 时可能无法正常加载的问题 [#10193](https://github.com/youzan/vant/issues/10193) -- ImagePreview: 修复快速缩放手势导致预览关闭的问题 [#10188](https://github.com/youzan/vant/issues/10188) -- Skeleton: 修复 row 属性为字符串类型时不生效的问题 [#10172](https://github.com/youzan/vant/issues/10172) -- NavBar: 修复在 safari 上占位元素高度错误的问题 [#10195](https://github.com/youzan/vant/issues/10195) -- Tabbar: 修复在 safari 上占位元素高度错误的问题 [#10195](https://github.com/youzan/vant/issues/10195) +- Calendar: 修复范围选择包括被禁用的日期时可能选择错误的问题 [#10196](https://github.com/vant-ui/vant/issues/10196) +- Image: 修复使用 lazy-load 时可能无法正常加载的问题 [#10193](https://github.com/vant-ui/vant/issues/10193) +- ImagePreview: 修复快速缩放手势导致预览关闭的问题 [#10188](https://github.com/vant-ui/vant/issues/10188) +- Skeleton: 修复 row 属性为字符串类型时不生效的问题 [#10172](https://github.com/vant-ui/vant/issues/10172) +- NavBar: 修复在 safari 上占位元素高度错误的问题 [#10195](https://github.com/vant-ui/vant/issues/10195) +- Tabbar: 修复在 safari 上占位元素高度错误的问题 [#10195](https://github.com/vant-ui/vant/issues/10195) ### [v3.4.1](https://github.com/compare/v3.4.0...v3.4.1) @@ -226,9 +226,9 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Bug Fixes** -- Area: 修复缺少遮罩层的问题 [#10164](https://github.com/youzan/vant/issues/10164) -- DatetimePicker: 修复边界场景下出现报错的问题 [#10140](https://github.com/youzan/vant/issues/10140) -- Popover: 修复箭头和弹出框之间存在缝隙的问题 [#10148](https://github.com/youzan/vant/issues/10148) +- Area: 修复缺少遮罩层的问题 [#10164](https://github.com/vant-ui/vant/issues/10164) +- DatetimePicker: 修复边界场景下出现报错的问题 [#10140](https://github.com/vant-ui/vant/issues/10140) +- Popover: 修复箭头和弹出框之间存在缝隙的问题 [#10148](https://github.com/vant-ui/vant/issues/10148) ### [v3.4.0](https://github.com/compare/v3.3.7...v3.4.0) @@ -236,42 +236,42 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Bug Fixes** -- Icons: 修复 URL 缺少协议导致个别浏览器出现异常的问题 [#10079](https://github.com/youzan/vant/issues/10079) -- Picker: 修复选项为空时也会渲染选择框的问题 [#10135](https://github.com/youzan/vant/issues/10135) -- Popup: 修复 close 事件触发两次的问题 [#10132](https://github.com/youzan/vant/issues/10132) -- PullRefresh: 修复在个别浏览器上会触发原生回弹效果的问题 [#10080](https://github.com/youzan/vant/issues/10080) -- Step: 修复 inactive-color 属性未正确生效的问题 [#10049](https://github.com/youzan/vant/issues/10049) -- SwipeCell: 修复打开状态下也会触发 open 事件的问题 [#10059](https://github.com/youzan/vant/issues/10059) -- swipe: 修复个别情况下无法正确滚动的问题 [#10052](https://github.com/youzan/vant/issues/10052) [#10069](https://github.com/youzan/vant/issues/10069) -- Tabs: 修复标签页为空时会渲染一个错误的底部条的问题 [#10063](https://github.com/youzan/vant/issues/10063) +- Icons: 修复 URL 缺少协议导致个别浏览器出现异常的问题 [#10079](https://github.com/vant-ui/vant/issues/10079) +- Picker: 修复选项为空时也会渲染选择框的问题 [#10135](https://github.com/vant-ui/vant/issues/10135) +- Popup: 修复 close 事件触发两次的问题 [#10132](https://github.com/vant-ui/vant/issues/10132) +- PullRefresh: 修复在个别浏览器上会触发原生回弹效果的问题 [#10080](https://github.com/vant-ui/vant/issues/10080) +- Step: 修复 inactive-color 属性未正确生效的问题 [#10049](https://github.com/vant-ui/vant/issues/10049) +- SwipeCell: 修复打开状态下也会触发 open 事件的问题 [#10059](https://github.com/vant-ui/vant/issues/10059) +- swipe: 修复个别情况下无法正确滚动的问题 [#10052](https://github.com/vant-ui/vant/issues/10052) [#10069](https://github.com/vant-ui/vant/issues/10069) +- Tabs: 修复标签页为空时会渲染一个错误的底部条的问题 [#10063](https://github.com/vant-ui/vant/issues/10063) **Feature** -- ActionBarIcon: 新增 badge-props 属性 [#10096](https://github.com/youzan/vant/issues/10096) -- ActionSheet: 新增 option 插槽 [#10065](https://github.com/youzan/vant/issues/10065) -- Badge: 新增 badge-props 属性 [#10095](https://github.com/youzan/vant/issues/10095) -- GridItem: 新增 badge-props 属性 [#10097](https://github.com/youzan/vant/issues/10097) -- Icons: 新增 cash-o 图标 [#10076](https://github.com/youzan/vant/issues/10076) -- ImagePreview: 新增 overlayClass 选项 [#10044](https://github.com/youzan/vant/issues/10044) -- Notify: 新增 position 属性 [#10056](https://github.com/youzan/vant/issues/10056) -- Popover: 新增 action 插槽 [#10091](https://github.com/youzan/vant/issues/10091) -- Search: 新增 click-left-icon、click-right-icon 事件 [#10139](https://github.com/youzan/vant/issues/10139) -- SidebarItem: 新增 badge-props 属性 [#10106](https://github.com/youzan/vant/issues/10106) -- Swipe: indicator 插槽新增 total 参数 [#10060](https://github.com/youzan/vant/issues/10060) -- TabbarItem: 新增 badge-props 属性 [#10092](https://github.com/youzan/vant/issues/10092) -- Tabs: 新增 shrink 属性 [#10125](https://github.com/youzan/vant/issues/10125) +- ActionBarIcon: 新增 badge-props 属性 [#10096](https://github.com/vant-ui/vant/issues/10096) +- ActionSheet: 新增 option 插槽 [#10065](https://github.com/vant-ui/vant/issues/10065) +- Badge: 新增 badge-props 属性 [#10095](https://github.com/vant-ui/vant/issues/10095) +- GridItem: 新增 badge-props 属性 [#10097](https://github.com/vant-ui/vant/issues/10097) +- Icons: 新增 cash-o 图标 [#10076](https://github.com/vant-ui/vant/issues/10076) +- ImagePreview: 新增 overlayClass 选项 [#10044](https://github.com/vant-ui/vant/issues/10044) +- Notify: 新增 position 属性 [#10056](https://github.com/vant-ui/vant/issues/10056) +- Popover: 新增 action 插槽 [#10091](https://github.com/vant-ui/vant/issues/10091) +- Search: 新增 click-left-icon、click-right-icon 事件 [#10139](https://github.com/vant-ui/vant/issues/10139) +- SidebarItem: 新增 badge-props 属性 [#10106](https://github.com/vant-ui/vant/issues/10106) +- Swipe: indicator 插槽新增 total 参数 [#10060](https://github.com/vant-ui/vant/issues/10060) +- TabbarItem: 新增 badge-props 属性 [#10092](https://github.com/vant-ui/vant/issues/10092) +- Tabs: 新增 shrink 属性 [#10125](https://github.com/vant-ui/vant/issues/10125) **style** -- PullRefresh: 移除 `user-select: none` 样式 [#10078](https://github.com/youzan/vant/issues/10078) -- TreeSelect: 允许选中 content 插槽中的文字 [#10081](https://github.com/youzan/vant/issues/10081) +- PullRefresh: 移除 `user-select: none` 样式 [#10078](https://github.com/vant-ui/vant/issues/10078) +- TreeSelect: 允许选中 content 插槽中的文字 [#10081](https://github.com/vant-ui/vant/issues/10081) **Types** -- 增加所有组件的全局类型,在 volar 中提供默认提示 [#10136](https://github.com/youzan/vant/issues/10136) -- Field: 修复 type 属性定义不全的问题 [#10042](https://github.com/youzan/vant/issues/10042) -- Popup: 导出 PopupInstance 类型 [#10062](https://github.com/youzan/vant/issues/10062) -- Search: 修复事件类型定义不全的问题 [#10134](https://github.com/youzan/vant/issues/10134) +- 增加所有组件的全局类型,在 volar 中提供默认提示 [#10136](https://github.com/vant-ui/vant/issues/10136) +- Field: 修复 type 属性定义不全的问题 [#10042](https://github.com/vant-ui/vant/issues/10042) +- Popup: 导出 PopupInstance 类型 [#10062](https://github.com/vant-ui/vant/issues/10062) +- Search: 修复事件类型定义不全的问题 [#10134](https://github.com/vant-ui/vant/issues/10134) ### [v3.3.7](https://github.com/compare/v3.3.6...v3.3.7) @@ -279,14 +279,14 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Feature** -- Badge: 新增 position 属性 [#10024](https://github.com/youzan/vant/issues/10024) +- Badge: 新增 position 属性 [#10024](https://github.com/vant-ui/vant/issues/10024) **Bug Fixes** -- DatetimePicker: 修复调用 Picker 实例方法后日期未正确更新的问题 [#10029](https://github.com/youzan/vant/issues/10029) -- Field: 修复输入内容包含 emoji 时,长度计算错误的问题 [#10033](https://github.com/youzan/vant/issues/10033) -- Pagination: 修复 change 事件不触发的问题 [#10018](https://github.com/youzan/vant/issues/10018) -- 修复 tree shaking 不生效的问题 [#10034](https://github.com/youzan/vant/issues/10034) +- DatetimePicker: 修复调用 Picker 实例方法后日期未正确更新的问题 [#10029](https://github.com/vant-ui/vant/issues/10029) +- Field: 修复输入内容包含 emoji 时,长度计算错误的问题 [#10033](https://github.com/vant-ui/vant/issues/10033) +- Pagination: 修复 change 事件不触发的问题 [#10018](https://github.com/vant-ui/vant/issues/10018) +- 修复 tree shaking 不生效的问题 [#10034](https://github.com/vant-ui/vant/issues/10034) ### [v3.3.6](https://github.com/compare/v3.3.5...v3.3.6) @@ -294,7 +294,7 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Bug Fixes** -- 修复 ssr.js 文件引用路径错误的问题 [#9999](https://github.com/youzan/vant/issues/9999) +- 修复 ssr.js 文件引用路径错误的问题 [#9999](https://github.com/vant-ui/vant/issues/9999) ### [v3.3.5](https://github.com/compare/v3.3.4...v3.3.5) @@ -302,8 +302,8 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Bug Fixes** -- 修复 exports field 导致 SSR 无法正确引入的问题 [#9988](https://github.com/youzan/vant/issues/9988) -- 修复 exports field 导致 unplugin-vue-components 引用报错的问题 [#9985](https://github.com/youzan/vant/issues/9985) +- 修复 exports field 导致 SSR 无法正确引入的问题 [#9988](https://github.com/vant-ui/vant/issues/9988) +- 修复 exports field 导致 unplugin-vue-components 引用报错的问题 [#9985](https://github.com/vant-ui/vant/issues/9985) ### [v3.3.4](https://github.com/compare/v3.3.3...v3.3.4) @@ -317,13 +317,13 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Feature** -- 支持在 nuxt3 中使用 [#9970](https://github.com/youzan/vant/issues/9970) -- Locale: 新增 pt-BR 葡萄牙语 (巴西) [#9959](https://github.com/youzan/vant/issues/9959) +- 支持在 nuxt3 中使用 [#9970](https://github.com/vant-ui/vant/issues/9970) +- Locale: 新增 pt-BR 葡萄牙语 (巴西) [#9959](https://github.com/vant-ui/vant/issues/9959) **Bug Fixes** -- Swipe: 修复 iOS 系统下圆角失效的问题 [#9958](https://github.com/youzan/vant/issues/9958) -- Uploader: 修复图片预览卡顿的问题 [#9961](https://github.com/youzan/vant/issues/9961) +- Swipe: 修复 iOS 系统下圆角失效的问题 [#9958](https://github.com/vant-ui/vant/issues/9958) +- Uploader: 修复图片预览卡顿的问题 [#9961](https://github.com/vant-ui/vant/issues/9961) ### [v3.3.2](https://github.com/compare/v3.3.1...v3.3.2) @@ -331,15 +331,15 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Feature** -- 新增 `package.json` 中的 `exports` 字段 [#9952](https://github.com/youzan/vant/issues/9952) -- Tabbar: 支持在 route 模式下匹配子路由 [#9926](https://github.com/youzan/vant/issues/9926) -- Tabs: 将 `van-tab__pane-wrapper` 类重命名为 `van-tab__panel-wrapper` [#9951](https://github.com/youzan/vant/issues/9951) +- 新增 `package.json` 中的 `exports` 字段 [#9952](https://github.com/vant-ui/vant/issues/9952) +- Tabbar: 支持在 route 模式下匹配子路由 [#9926](https://github.com/vant-ui/vant/issues/9926) +- Tabs: 将 `van-tab__pane-wrapper` 类重命名为 `van-tab__panel-wrapper` [#9951](https://github.com/vant-ui/vant/issues/9951) **Bug Fixes** -- Calendar: 修复 show-confirm 为 false 时不会限制最大日期范围的问题 [#9948](https://github.com/youzan/vant/issues/9948) -- Calendar: 修复 `scrollToDate` 方法无法精确滚动到对应日期的问题 [#9949](https://github.com/youzan/vant/issues/9949) -- Swipe: 修复开始滑动时未阻止 touchmove 事件行为的问题 [#9920](https://github.com/youzan/vant/issues/9920) +- Calendar: 修复 show-confirm 为 false 时不会限制最大日期范围的问题 [#9948](https://github.com/vant-ui/vant/issues/9948) +- Calendar: 修复 `scrollToDate` 方法无法精确滚动到对应日期的问题 [#9949](https://github.com/vant-ui/vant/issues/9949) +- Swipe: 修复开始滑动时未阻止 touchmove 事件行为的问题 [#9920](https://github.com/vant-ui/vant/issues/9920) ### [v3.3.1](https://github.com/compare/v3.3.0...v3.3.1) @@ -347,7 +347,7 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Bug Fixes** -- AddressEdit: 修复表单校验不通过时也会触发 save 事件的问题 [#9917](https://github.com/youzan/vant/issues/9917) +- AddressEdit: 修复表单校验不通过时也会触发 save 事件的问题 [#9917](https://github.com/vant-ui/vant/issues/9917) ### [v3.3.0](https://github.com/compare/v3.2.8...v3.3.0) @@ -357,42 +357,42 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 改善以下组件的无障碍访问体验: -- Cascader: 增加 role="menu", tabindex, aria-checked, aria-disabled 属性 [#9886](https://github.com/youzan/vant/issues/9886) -- CountDown: 增加 role="timer" 属性 [#9906](https://github.com/youzan/vant/issues/9906) -- DropdownMenu: 增加 role="menu", tabindex, aria-labelledby 属性 [#9893](https://github.com/youzan/vant/issues/9893) -- Field: 增加 aria-labelledby 属性 [#9883](https://github.com/youzan/vant/issues/9883) -- List: 增加 role="button", tabindex 属性 [#9888](https://github.com/youzan/vant/issues/9888) -- Pagination: 增加 role="navigation" 和 button 标签 [#9901](https://github.com/youzan/vant/issues/9901) -- Popover: 增加 tabindex, aria-disabled 属性 [#9889](https://github.com/youzan/vant/issues/9889) -- Rate: 增加 aria-disabled, aria-readonly 属性 [#9881](https://github.com/youzan/vant/issues/9881) -- Search: 提供默认的 id 属性 属性 [#9884](https://github.com/youzan/vant/issues/9884) -- Sidebar: 增加 role="tab", tabindex, aria-selected 属性 [#9903](https://github.com/youzan/vant/issues/9903) -- Slider: 增加 aria-disabled, aria-readonly 属性 [#9880](https://github.com/youzan/vant/issues/9880) -- Stepper: 增加 aria-disabled 属性 [#9877](https://github.com/youzan/vant/issues/9877) -- Stepper: 增加 role="group" 属性 [#9876](https://github.com/youzan/vant/issues/9876) -- Switch: 增加 tabindex 属性 [#9887](https://github.com/youzan/vant/issues/9887) -- Tabbar: 增加 role="tab", tabindex, aria-selected 属性 [#9895](https://github.com/youzan/vant/issues/9895) -- Tabs: 增加 aria-controls 属性 [#9882](https://github.com/youzan/vant/issues/9882) -- Tabs: 增加 aria-disabled 属性 [#9878](https://github.com/youzan/vant/issues/9878) -- Tabs: 增加 tabindex, aria-orientation 属性 [#9872](https://github.com/youzan/vant/issues/9872) -- Uploader: 删除按钮增加 role="button", tabindex, aria-label 属性 [#9905](https://github.com/youzan/vant/issues/9905) -- 移除禁用元素的 tabindex 属性 [#9879](https://github.com/youzan/vant/issues/9879) +- Cascader: 增加 role="menu", tabindex, aria-checked, aria-disabled 属性 [#9886](https://github.com/vant-ui/vant/issues/9886) +- CountDown: 增加 role="timer" 属性 [#9906](https://github.com/vant-ui/vant/issues/9906) +- DropdownMenu: 增加 role="menu", tabindex, aria-labelledby 属性 [#9893](https://github.com/vant-ui/vant/issues/9893) +- Field: 增加 aria-labelledby 属性 [#9883](https://github.com/vant-ui/vant/issues/9883) +- List: 增加 role="button", tabindex 属性 [#9888](https://github.com/vant-ui/vant/issues/9888) +- Pagination: 增加 role="navigation" 和 button 标签 [#9901](https://github.com/vant-ui/vant/issues/9901) +- Popover: 增加 tabindex, aria-disabled 属性 [#9889](https://github.com/vant-ui/vant/issues/9889) +- Rate: 增加 aria-disabled, aria-readonly 属性 [#9881](https://github.com/vant-ui/vant/issues/9881) +- Search: 提供默认的 id 属性 属性 [#9884](https://github.com/vant-ui/vant/issues/9884) +- Sidebar: 增加 role="tab", tabindex, aria-selected 属性 [#9903](https://github.com/vant-ui/vant/issues/9903) +- Slider: 增加 aria-disabled, aria-readonly 属性 [#9880](https://github.com/vant-ui/vant/issues/9880) +- Stepper: 增加 aria-disabled 属性 [#9877](https://github.com/vant-ui/vant/issues/9877) +- Stepper: 增加 role="group" 属性 [#9876](https://github.com/vant-ui/vant/issues/9876) +- Switch: 增加 tabindex 属性 [#9887](https://github.com/vant-ui/vant/issues/9887) +- Tabbar: 增加 role="tab", tabindex, aria-selected 属性 [#9895](https://github.com/vant-ui/vant/issues/9895) +- Tabs: 增加 aria-controls 属性 [#9882](https://github.com/vant-ui/vant/issues/9882) +- Tabs: 增加 aria-disabled 属性 [#9878](https://github.com/vant-ui/vant/issues/9878) +- Tabs: 增加 tabindex, aria-orientation 属性 [#9872](https://github.com/vant-ui/vant/issues/9872) +- Uploader: 删除按钮增加 role="button", tabindex, aria-label 属性 [#9905](https://github.com/vant-ui/vant/issues/9905) +- 移除禁用元素的 tabindex 属性 [#9879](https://github.com/vant-ui/vant/issues/9879) **Feature** -- Popup: 移除多余的 click 事件监听 [#9896](https://github.com/youzan/vant/issues/9896) -- Field: 导出 `FieldRuleValidator` 等多个类型定义 [#9843](https://github.com/youzan/vant/issues/9843) -- Empty: 压缩 svg 图标 [#9869](https://github.com/youzan/vant/issues/9869) -- NumberKeyboard: 压缩 svg 图标 [#9869](https://github.com/youzan/vant/issues/9869) -- Tabs: 将 `van-tab__pane` 类重命名为 `van-tab__panel` [#9885](https://github.com/youzan/vant/issues/9885) +- Popup: 移除多余的 click 事件监听 [#9896](https://github.com/vant-ui/vant/issues/9896) +- Field: 导出 `FieldRuleValidator` 等多个类型定义 [#9843](https://github.com/vant-ui/vant/issues/9843) +- Empty: 压缩 svg 图标 [#9869](https://github.com/vant-ui/vant/issues/9869) +- NumberKeyboard: 压缩 svg 图标 [#9869](https://github.com/vant-ui/vant/issues/9869) +- Tabs: 将 `van-tab__pane` 类重命名为 `van-tab__panel` [#9885](https://github.com/vant-ui/vant/issues/9885) **Bug Fixes** -- Popover: 修复 useClickAway 方法在 SSR 时报错的问题 [#9899](https://github.com/youzan/vant/issues/9899) -- CouponList: 修复列表高度不正确的问题 [#9874](https://github.com/youzan/vant/issues/9874) -- Field: 修复点击只读输入框会触发表单验证的问题 [#9862](https://github.com/youzan/vant/issues/9862) -- Switch: 修复全局设置 font-size 时样式错误的问题 [#9842](https://github.com/youzan/vant/issues/9842) -- Tabbar: 修复 route 模式下无法触发 before-change 属性的问题 [#9856](https://github.com/youzan/vant/issues/9856) +- Popover: 修复 useClickAway 方法在 SSR 时报错的问题 [#9899](https://github.com/vant-ui/vant/issues/9899) +- CouponList: 修复列表高度不正确的问题 [#9874](https://github.com/vant-ui/vant/issues/9874) +- Field: 修复点击只读输入框会触发表单验证的问题 [#9862](https://github.com/vant-ui/vant/issues/9862) +- Switch: 修复全局设置 font-size 时样式错误的问题 [#9842](https://github.com/vant-ui/vant/issues/9842) +- Tabbar: 修复 route 模式下无法触发 before-change 属性的问题 [#9856](https://github.com/vant-ui/vant/issues/9856) ### [v3.2.8](https://github.com/compare/v3.2.7...v3.2.8) @@ -400,991 +400,991 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Feature** -- Cascader: 新增 options-bottom 插槽 [#9804](https://github.com/youzan/vant/issues/9804) +- Cascader: 新增 options-bottom 插槽 [#9804](https://github.com/vant-ui/vant/issues/9804) - SubmitBar: 新增 SubmitBarTextAlign 类型 [f95567](https://github.com/commit/f95567ade758d453f4acad8a40d8ae717035476a) -- PasswordInput: 新增 PasswordInputProps 类型 [#9820](https://github.com/youzan/vant/issues/9820) +- PasswordInput: 新增 PasswordInputProps 类型 [#9820](https://github.com/vant-ui/vant/issues/9820) **Bug Fixes** -- NavBar: 修复 NavBarProps 拼写错误的问题 [#9818](https://github.com/youzan/vant/issues/9818) -- Progress: 修复圆角大小错误的问题 [#9826](https://github.com/youzan/vant/issues/9826) -- SubmitBar: 修复未导出 SubmitBarProps 的问题 [#9819](https://github.com/youzan/vant/issues/9819) -- Tabs: 修复 click-tab 触发顺序早于 before-change 的问题 [#9805](https://github.com/youzan/vant/issues/9805) +- NavBar: 修复 NavBarProps 拼写错误的问题 [#9818](https://github.com/vant-ui/vant/issues/9818) +- Progress: 修复圆角大小错误的问题 [#9826](https://github.com/vant-ui/vant/issues/9826) +- SubmitBar: 修复未导出 SubmitBarProps 的问题 [#9819](https://github.com/vant-ui/vant/issues/9819) +- Tabs: 修复 click-tab 触发顺序早于 before-change 的问题 [#9805](https://github.com/vant-ui/vant/issues/9805) -### [v3.2.7](https://github.com/youzan/vant/compare/v3.2.6...v3.2.7) +### [v3.2.7](https://github.com/vant-ui/vant/compare/v3.2.6...v3.2.7) `2021-11-04` **Feature** -- 导出所有组件的 Props 类型 [#9717](https://github.com/youzan/vant/issues/9717) -- 新增 --van-text-color-2 CSS 变量 [#9759](https://github.com/youzan/vant/issues/9759) -- 新增 --van-text-color-3 CSS 变量 [#9776](https://github.com/youzan/vant/issues/9776) -- Cascader: 新增 options-top 插槽 [#9732](https://github.com/youzan/vant/issues/9732) -- Coupon: 新增 --van-coupon-content-text-color CSS 变量 [#9760](https://github.com/youzan/vant/issues/9760) -- Picker: 新增 --van-picker-mask-color CSS 变量 [#9783](https://github.com/youzan/vant/issues/9783) +- 导出所有组件的 Props 类型 [#9717](https://github.com/vant-ui/vant/issues/9717) +- 新增 --van-text-color-2 CSS 变量 [#9759](https://github.com/vant-ui/vant/issues/9759) +- 新增 --van-text-color-3 CSS 变量 [#9776](https://github.com/vant-ui/vant/issues/9776) +- Cascader: 新增 options-top 插槽 [#9732](https://github.com/vant-ui/vant/issues/9732) +- Coupon: 新增 --van-coupon-content-text-color CSS 变量 [#9760](https://github.com/vant-ui/vant/issues/9760) +- Picker: 新增 --van-picker-mask-color CSS 变量 [#9783](https://github.com/vant-ui/vant/issues/9783) **Bug Fixes** -- Field: 修复 textarea 在聚焦和失焦时未重新计算高度的问题 [#9719](https://github.com/youzan/vant/issues/9719) -- 修复 --van-border-color 变量不生效的问题 [#9751](https://github.com/youzan/vant/issues/9751) +- Field: 修复 textarea 在聚焦和失焦时未重新计算高度的问题 [#9719](https://github.com/vant-ui/vant/issues/9719) +- 修复 --van-border-color 变量不生效的问题 [#9751](https://github.com/vant-ui/vant/issues/9751) -### [v3.2.6](https://github.com/youzan/vant/compare/v3.2.5...v3.2.6) +### [v3.2.6](https://github.com/vant-ui/vant/compare/v3.2.5...v3.2.6) `2021-10-24` **Feature** -- AddressEdit: 移除点击删除按钮的弹窗交互 [#9671](https://github.com/youzan/vant/issues/9671) -- Calendar: 新增 confirm-text 插槽 [#9689](https://github.com/youzan/vant/issues/9689) -- Progress: 新增 --van-progress-inactive-color 样式变量 [#9711](https://github.com/youzan/vant/issues/9711) -- ShareSheet: 新增 round 属性 [#9645](https://github.com/youzan/vant/issues/9645) -- 支持通过 css vars 定义渐变的背景色 [#9678](https://github.com/youzan/vant/issues/9678) +- AddressEdit: 移除点击删除按钮的弹窗交互 [#9671](https://github.com/vant-ui/vant/issues/9671) +- Calendar: 新增 confirm-text 插槽 [#9689](https://github.com/vant-ui/vant/issues/9689) +- Progress: 新增 --van-progress-inactive-color 样式变量 [#9711](https://github.com/vant-ui/vant/issues/9711) +- ShareSheet: 新增 round 属性 [#9645](https://github.com/vant-ui/vant/issues/9645) +- 支持通过 css vars 定义渐变的背景色 [#9678](https://github.com/vant-ui/vant/issues/9678) **Performance** -- 减少 useWindowSize 绑定的事件监听器数量 [#9658](https://github.com/youzan/vant/issues/9658) -- Empty: 压缩 empty 图标 [#9673](https://github.com/youzan/vant/issues/9673) +- 减少 useWindowSize 绑定的事件监听器数量 [#9658](https://github.com/vant-ui/vant/issues/9658) +- Empty: 压缩 empty 图标 [#9673](https://github.com/vant-ui/vant/issues/9673) **Types** -- Cascader: 新增 CascaderProps 类型 [#9684](https://github.com/youzan/vant/issues/9684) -- Checkbox: 导出更多类型定义 [#9665](https://github.com/youzan/vant/issues/9665) -- Steps: 新增 StepsDirection 类型 [#9664](https://github.com/youzan/vant/issues/9664) +- Cascader: 新增 CascaderProps 类型 [#9684](https://github.com/vant-ui/vant/issues/9684) +- Checkbox: 导出更多类型定义 [#9665](https://github.com/vant-ui/vant/issues/9665) +- Steps: 新增 StepsDirection 类型 [#9664](https://github.com/vant-ui/vant/issues/9664) **Bug Fixes** -- ActionSheet: 修复 closeOnPopstate 属性不生效的问题 [#9644](https://github.com/youzan/vant/issues/9644) -- AddressEdit: 修复 address-edit-button-font-size 变量不生效的问题 [#9662](https://github.com/youzan/vant/issues/9662) -- Badge: 修复使用 dot 属性且自定义大小时样式错误的问题 [#9686](https://github.com/youzan/vant/issues/9686) [#9687](https://github.com/youzan/vant/issues/9687) +- ActionSheet: 修复 closeOnPopstate 属性不生效的问题 [#9644](https://github.com/vant-ui/vant/issues/9644) +- AddressEdit: 修复 address-edit-button-font-size 变量不生效的问题 [#9662](https://github.com/vant-ui/vant/issues/9662) +- Badge: 修复使用 dot 属性且自定义大小时样式错误的问题 [#9686](https://github.com/vant-ui/vant/issues/9686) [#9687](https://github.com/vant-ui/vant/issues/9687) -### [v3.2.5](https://github.com/youzan/vant/compare/v3.2.4...v3.2.5) +### [v3.2.5](https://github.com/vant-ui/vant/compare/v3.2.4...v3.2.5) `2021-10-08` **Feature** -- Field: 新增 error-message 插槽 [#9634](https://github.com/youzan/vant/issues/9634) +- Field: 新增 error-message 插槽 [#9634](https://github.com/vant-ui/vant/issues/9634) **Performance** -- 移除 CustomEvent polyfill [#9589](https://github.com/youzan/vant/issues/9589) -- 移除 passive event polyfill [#9590](https://github.com/youzan/vant/issues/9590) +- 移除 CustomEvent polyfill [#9589](https://github.com/vant-ui/vant/issues/9589) +- 移除 passive event polyfill [#9590](https://github.com/vant-ui/vant/issues/9590) **Types** -- Button: 新增 ButtonNativeType、ButtonIconPosition 类型 [#9604](https://github.com/youzan/vant/issues/9604) -- Skeleton: 新增 SkeletonAvatarShape 类型 [#9605](https://github.com/youzan/vant/issues/9605) +- Button: 新增 ButtonNativeType、ButtonIconPosition 类型 [#9604](https://github.com/vant-ui/vant/issues/9604) +- Skeleton: 新增 SkeletonAvatarShape 类型 [#9605](https://github.com/vant-ui/vant/issues/9605) **Bug Fixes** -- Toast: 修复同步调用 Toast.clear 不生效的问题 [a48caa](https://github.com/youzan/vant/commit/a48caa7c98f88d9c87de3f9e9f208771c1c98ab5) -- 修复全量引入时,useCustomFieldValue 不生效的问题 [#9642](https://github.com/youzan/vant/issues/9642) [#9455](https://github.com/youzan/vant/issues/9455) +- Toast: 修复同步调用 Toast.clear 不生效的问题 [a48caa](https://github.com/vant-ui/vant/commit/a48caa7c98f88d9c87de3f9e9f208771c1c98ab5) +- 修复全量引入时,useCustomFieldValue 不生效的问题 [#9642](https://github.com/vant-ui/vant/issues/9642) [#9455](https://github.com/vant-ui/vant/issues/9455) -### [v3.2.4](https://github.com/youzan/vant/compare/v3.2.3...v3.2.4) +### [v3.2.4](https://github.com/vant-ui/vant/compare/v3.2.3...v3.2.4) `2021-09-26` **Feature** -- Icon: 新增 guide-o 图标 [c5f45a](https://github.com/youzan/vant/commit/c5f45a5c134bf9d789c943b247c620a1a2391d03) -- Search: 新增 autocomplete 属性 [#9553](https://github.com/youzan/vant/issues/9553) -- Search: 新增 name 属性 [#9563](https://github.com/youzan/vant/issues/9563) +- Icon: 新增 guide-o 图标 [c5f45a](https://github.com/vant-ui/vant/commit/c5f45a5c134bf9d789c943b247c620a1a2391d03) +- Search: 新增 autocomplete 属性 [#9553](https://github.com/vant-ui/vant/issues/9553) +- Search: 新增 name 属性 [#9563](https://github.com/vant-ui/vant/issues/9563) **Performance** -- Lazyload: 移除生产环境的 log 信息 [33d7aa](https://github.com/youzan/vant/commit/33d7aa8f1aee38576f1a0b3549560edd7b5fe0ed) -- Lazyload: 移除 edge 15 polyfill [00b156](https://github.com/youzan/vant/commit/00b1568887321cf452ed4b8872fe99f089a74b22) -- @vant/use: 移除 raf polyfill [#9544](https://github.com/youzan/vant/issues/9544) +- Lazyload: 移除生产环境的 log 信息 [33d7aa](https://github.com/vant-ui/vant/commit/33d7aa8f1aee38576f1a0b3549560edd7b5fe0ed) +- Lazyload: 移除 edge 15 polyfill [00b156](https://github.com/vant-ui/vant/commit/00b1568887321cf452ed4b8872fe99f089a74b22) +- @vant/use: 移除 raf polyfill [#9544](https://github.com/vant-ui/vant/issues/9544) **Types** -- 导出部分组件的 props 类型 [a3380f](https://github.com/youzan/vant/commit/a3380f08c06f5fd32443e9b033e3d8a29c1f726a) -- 修复 $toast、$dialog、$notify 类型缺失的问题 [#9556](https://github.com/youzan/vant/issues/9556) -- Popover: PopoverAction 类型支持扩展字段 [#9554](https://github.com/youzan/vant/issues/9554) +- 导出部分组件的 props 类型 [a3380f](https://github.com/vant-ui/vant/commit/a3380f08c06f5fd32443e9b033e3d8a29c1f726a) +- 修复 $toast、$dialog、$notify 类型缺失的问题 [#9556](https://github.com/vant-ui/vant/issues/9556) +- Popover: PopoverAction 类型支持扩展字段 [#9554](https://github.com/vant-ui/vant/issues/9554) **Bug Fixes** -- Collapse: 修复 wrapper ref 可能为空导致报错的问题 [#9505](https://github.com/youzan/vant/issues/9505) -- CouponList: 修复错误的滚动条样式 [#9480](https://github.com/youzan/vant/issues/9480) -- Radio: 修复 icon ref 可能为空导致报错的问题 [#9503](https://github.com/youzan/vant/issues/9503) -- Tabs: 修复多个 Tabs 组件同时存在时动画失效的问题 [#9543](https://github.com/youzan/vant/issues/9543) +- Collapse: 修复 wrapper ref 可能为空导致报错的问题 [#9505](https://github.com/vant-ui/vant/issues/9505) +- CouponList: 修复错误的滚动条样式 [#9480](https://github.com/vant-ui/vant/issues/9480) +- Radio: 修复 icon ref 可能为空导致报错的问题 [#9503](https://github.com/vant-ui/vant/issues/9503) +- Tabs: 修复多个 Tabs 组件同时存在时动画失效的问题 [#9543](https://github.com/vant-ui/vant/issues/9543) -### [v3.2.3](https://github.com/youzan/vant/compare/v3.2.2...v3.2.3) +### [v3.2.3](https://github.com/vant-ui/vant/compare/v3.2.2...v3.2.3) `2021-09-12` **Bug Fixes** -- Button: 修复无法通过 CSS 变量设置渐变背景色的问题 [#9454](https://github.com/youzan/vant/issues/9454) -- Calendar: 日历组件已经禁用部分日期依然可以选择日期区间的问题 [#9361](https://github.com/youzan/vant/issues/9361) -- Field: 修复全局设置 user-select: none 时 IOS 下无法输入的问题 [#9418](https://github.com/youzan/vant/issues/9418) -- FIeld: 修复 field-error-message-font-size 变量名称错误的问题 [#9394](https://github.com/youzan/vant/issues/9394) -- Popup: 修复在 keep-alive 下激活时无法开启自动轮播的问题 [#9452](https://github.com/youzan/vant/issues/9452) -- Theme: 移除了内部 less import 的波浪号 [a7ab2f](https://github.com/youzan/vant/commit/a7ab2f8049b7c18d2a2f74aeac26f72dfbadaf6f) -- slider: 修复双滑块情况下,传入空数组无法滑动的问题 [#9409](https://github.com/youzan/vant/issues/9409) -- Uploader: 修复 --van-uploader-delete-icon-size 变量未正确生效的问题 [#9453](https://github.com/youzan/vant/issues/9453) +- Button: 修复无法通过 CSS 变量设置渐变背景色的问题 [#9454](https://github.com/vant-ui/vant/issues/9454) +- Calendar: 日历组件已经禁用部分日期依然可以选择日期区间的问题 [#9361](https://github.com/vant-ui/vant/issues/9361) +- Field: 修复全局设置 user-select: none 时 IOS 下无法输入的问题 [#9418](https://github.com/vant-ui/vant/issues/9418) +- FIeld: 修复 field-error-message-font-size 变量名称错误的问题 [#9394](https://github.com/vant-ui/vant/issues/9394) +- Popup: 修复在 keep-alive 下激活时无法开启自动轮播的问题 [#9452](https://github.com/vant-ui/vant/issues/9452) +- Theme: 移除了内部 less import 的波浪号 [a7ab2f](https://github.com/vant-ui/vant/commit/a7ab2f8049b7c18d2a2f74aeac26f72dfbadaf6f) +- slider: 修复双滑块情况下,传入空数组无法滑动的问题 [#9409](https://github.com/vant-ui/vant/issues/9409) +- Uploader: 修复 --van-uploader-delete-icon-size 变量未正确生效的问题 [#9453](https://github.com/vant-ui/vant/issues/9453) -### [v3.2.2](https://github.com/youzan/vant/compare/v3.2.1...v3.2.2) +### [v3.2.2](https://github.com/vant-ui/vant/compare/v3.2.1...v3.2.2) `2021-09-02` **Feature** -- Field: 新增 id 属性 [#9347](https://github.com/youzan/vant/issues/9347) -- Field: 新增 `van-field__error` 类名 [#9327](https://github.com/youzan/vant/issues/9327) -- Field: label 现在会使用原生 `label` 标签 [#9346](https://github.com/youzan/vant/issues/9346) -- Popover: 新增 show-arrow 属性 [#9372](https://github.com/youzan/vant/issues/9372) -- Progress: 新增过渡动画效果 [ba4ff5](https://github.com/youzan/vant/commit/ba4ff58af6ccf67e255bf43ef905677dc64596a3) -- Search: 新增 id 属性 [#9349](https://github.com/youzan/vant/issues/9349) -- Tab: 新增 show-zero-badge 属性 [#9343](https://github.com/youzan/vant/issues/9343) -- Locale: 精简一部分国际化文本配置 [#9329](https://github.com/youzan/vant/issues/9329) +- Field: 新增 id 属性 [#9347](https://github.com/vant-ui/vant/issues/9347) +- Field: 新增 `van-field__error` 类名 [#9327](https://github.com/vant-ui/vant/issues/9327) +- Field: label 现在会使用原生 `label` 标签 [#9346](https://github.com/vant-ui/vant/issues/9346) +- Popover: 新增 show-arrow 属性 [#9372](https://github.com/vant-ui/vant/issues/9372) +- Progress: 新增过渡动画效果 [ba4ff5](https://github.com/vant-ui/vant/commit/ba4ff58af6ccf67e255bf43ef905677dc64596a3) +- Search: 新增 id 属性 [#9349](https://github.com/vant-ui/vant/issues/9349) +- Tab: 新增 show-zero-badge 属性 [#9343](https://github.com/vant-ui/vant/issues/9343) +- Locale: 精简一部分国际化文本配置 [#9329](https://github.com/vant-ui/vant/issues/9329) **Bug Fixes** -- AddressEdit: 移除了无效的样式变量 [#9364](https://github.com/youzan/vant/issues/9364) -- Progress: 修复在 v-show 内使用时无法正确渲染的问题 [841e09](https://github.com/youzan/vant/commit/841e09d0529961058ecb63ed26f018cf3a66a3bf) -- Progress: 修复 percentage 属性缺少默认值的问题 [8ac597](https://github.com/youzan/vant/commit/8ac597dc3d2316d34f866dcfd7e1646c695da180) -- 修复动画相关的 CSS 变量不生效的问题 [#9337](https://github.com/youzan/vant/issues/9337) +- AddressEdit: 移除了无效的样式变量 [#9364](https://github.com/vant-ui/vant/issues/9364) +- Progress: 修复在 v-show 内使用时无法正确渲染的问题 [841e09](https://github.com/vant-ui/vant/commit/841e09d0529961058ecb63ed26f018cf3a66a3bf) +- Progress: 修复 percentage 属性缺少默认值的问题 [8ac597](https://github.com/vant-ui/vant/commit/8ac597dc3d2316d34f866dcfd7e1646c695da180) +- 修复动画相关的 CSS 变量不生效的问题 [#9337](https://github.com/vant-ui/vant/issues/9337) -### [v3.2.1](https://github.com/youzan/vant/compare/v3.2.0...v3.2.1) +### [v3.2.1](https://github.com/vant-ui/vant/compare/v3.2.0...v3.2.1) `2021-08-22` **Feature** -- Circle: 新增 start-position 属性 [#9305](https://github.com/youzan/vant/issues/9305) -- Slider: 新增 reverse 属性 [#9308](https://github.com/youzan/vant/issues/9308) -- NumberKeyboard: 新增 van-number-keyboard-key-background-color CSS 变量 [#9303](https://github.com/youzan/vant/issues/9303) -- PasswordInput: add password-input-text-color CSS 变量 [#9304](https://github.com/youzan/vant/issues/9304) +- Circle: 新增 start-position 属性 [#9305](https://github.com/vant-ui/vant/issues/9305) +- Slider: 新增 reverse 属性 [#9308](https://github.com/vant-ui/vant/issues/9308) +- NumberKeyboard: 新增 van-number-keyboard-key-background-color CSS 变量 [#9303](https://github.com/vant-ui/vant/issues/9303) +- PasswordInput: add password-input-text-color CSS 变量 [#9304](https://github.com/vant-ui/vant/issues/9304) **Bug Fixes** -- Calendar: 修复 month-show 事件缺少 title 参数的问题 [#9275](https://github.com/youzan/vant/issues/9275) -- Dialog: 修复 beforeClose 重复触发的问题 [#9283](https://github.com/youzan/vant/issues/9283) [#9291](https://github.com/youzan/vant/issues/9291) -- Field: 修复 FieldInstance 类型未导出的问题 [#9254](https://github.com/youzan/vant/issues/9254) -- Rate: 修复 count 属性传入字符串类型时展示错误的问题 [#9307](https://github.com/youzan/vant/issues/9307) -- TreeSelect: 修复 CSS 负数变量不生效导致样式错误的问题 [#9306](https://github.com/youzan/vant/issues/9306) +- Calendar: 修复 month-show 事件缺少 title 参数的问题 [#9275](https://github.com/vant-ui/vant/issues/9275) +- Dialog: 修复 beforeClose 重复触发的问题 [#9283](https://github.com/vant-ui/vant/issues/9283) [#9291](https://github.com/vant-ui/vant/issues/9291) +- Field: 修复 FieldInstance 类型未导出的问题 [#9254](https://github.com/vant-ui/vant/issues/9254) +- Rate: 修复 count 属性传入字符串类型时展示错误的问题 [#9307](https://github.com/vant-ui/vant/issues/9307) +- TreeSelect: 修复 CSS 负数变量不生效导致样式错误的问题 [#9306](https://github.com/vant-ui/vant/issues/9306) -### [v3.2.0](https://github.com/youzan/vant/compare/v3.1.5...v3.2.0) +### [v3.2.0](https://github.com/vant-ui/vant/compare/v3.1.5...v3.2.0) `2021-08-12` **Feature** -- Form: 新增 useCustomFieldValue 方法,用于自定义表单项 [#9200](https://github.com/youzan/vant/issues/9200) -- Button: loading-size 属性支持 number 类型 [#9177](https://github.com/youzan/vant/issues/9177) -- Style: 新增 van-safe-area-bottom 样式类 [#9205](https://github.com/youzan/vant/issues/9205) +- Form: 新增 useCustomFieldValue 方法,用于自定义表单项 [#9200](https://github.com/vant-ui/vant/issues/9200) +- Button: loading-size 属性支持 number 类型 [#9177](https://github.com/vant-ui/vant/issues/9177) +- Style: 新增 van-safe-area-bottom 样式类 [#9205](https://github.com/vant-ui/vant/issues/9205) **Types** -- AddressEdit: 新增 AddressEditInstance 类型 [#9197](https://github.com/youzan/vant/issues/9197) -- Area: 新增 AreaInstance 类型 [#9195](https://github.com/youzan/vant/issues/9195) -- Calendar: 新增 CalendarInstance 类型 [#9165](https://github.com/youzan/vant/issues/9165) -- Checkbox: 新增 CheckboxInstance 类型 [#9140](https://github.com/youzan/vant/issues/9140) -- CheckboxGroup: 新增 CheckboxGroupInstance 类型 [#9142](https://github.com/youzan/vant/issues/9142) -- CollapseItem: 新增 CollapseItemInstance 类型 [#9194](https://github.com/youzan/vant/issues/9194) -- CountDown: 新增 CountDownInstance 类型 [#9153](https://github.com/youzan/vant/issues/9153) -- DatetimePicker: 新增 DatetimePickerInstance 类型 [#9208](https://github.com/youzan/vant/issues/9208) -- DropdownItem: 新增 DropdownItemInstance 类型 [#9214](https://github.com/youzan/vant/issues/9214) -- Field: 新增 FieldInstance 类型 [#9166](https://github.com/youzan/vant/issues/9166) -- Form: 新增 FormInstance 类型 [#9139](https://github.com/youzan/vant/issues/9139) -- ImagePreview: 新增 ImagePreviewInstance 类型 [#9216](https://github.com/youzan/vant/issues/9216) -- IndexBar: 新增 IndexBarInstance 类型 [#9246](https://github.com/youzan/vant/issues/9246) -- List: 新增 ListInstance 类型 [#9159](https://github.com/youzan/vant/issues/9159) -- NoticeBar: 新增 NoticeBarInstance 类型 [#9245](https://github.com/youzan/vant/issues/9245) -- Picker: 新增 PickerInstance 类型 [#9183](https://github.com/youzan/vant/issues/9183) -- Progress: 新增 ProgressInstance 类型 [#9247](https://github.com/youzan/vant/issues/9247) -- Search: 新增 SearchInstance 类型 [#9181](https://github.com/youzan/vant/issues/9181) -- Swipe: 新增 SwipeInstance 类型 [#9158](https://github.com/youzan/vant/issues/9158) -- SwipeCell: 新增 SwipeCellInstance 类型 [#9179](https://github.com/youzan/vant/issues/9179) -- Tabs: 新增 TabsInstance 类型 [#9174](https://github.com/youzan/vant/issues/9174) -- Uploader: 新增 UploaderInstance 类型 [#9164](https://github.com/youzan/vant/issues/9164) +- AddressEdit: 新增 AddressEditInstance 类型 [#9197](https://github.com/vant-ui/vant/issues/9197) +- Area: 新增 AreaInstance 类型 [#9195](https://github.com/vant-ui/vant/issues/9195) +- Calendar: 新增 CalendarInstance 类型 [#9165](https://github.com/vant-ui/vant/issues/9165) +- Checkbox: 新增 CheckboxInstance 类型 [#9140](https://github.com/vant-ui/vant/issues/9140) +- CheckboxGroup: 新增 CheckboxGroupInstance 类型 [#9142](https://github.com/vant-ui/vant/issues/9142) +- CollapseItem: 新增 CollapseItemInstance 类型 [#9194](https://github.com/vant-ui/vant/issues/9194) +- CountDown: 新增 CountDownInstance 类型 [#9153](https://github.com/vant-ui/vant/issues/9153) +- DatetimePicker: 新增 DatetimePickerInstance 类型 [#9208](https://github.com/vant-ui/vant/issues/9208) +- DropdownItem: 新增 DropdownItemInstance 类型 [#9214](https://github.com/vant-ui/vant/issues/9214) +- Field: 新增 FieldInstance 类型 [#9166](https://github.com/vant-ui/vant/issues/9166) +- Form: 新增 FormInstance 类型 [#9139](https://github.com/vant-ui/vant/issues/9139) +- ImagePreview: 新增 ImagePreviewInstance 类型 [#9216](https://github.com/vant-ui/vant/issues/9216) +- IndexBar: 新增 IndexBarInstance 类型 [#9246](https://github.com/vant-ui/vant/issues/9246) +- List: 新增 ListInstance 类型 [#9159](https://github.com/vant-ui/vant/issues/9159) +- NoticeBar: 新增 NoticeBarInstance 类型 [#9245](https://github.com/vant-ui/vant/issues/9245) +- Picker: 新增 PickerInstance 类型 [#9183](https://github.com/vant-ui/vant/issues/9183) +- Progress: 新增 ProgressInstance 类型 [#9247](https://github.com/vant-ui/vant/issues/9247) +- Search: 新增 SearchInstance 类型 [#9181](https://github.com/vant-ui/vant/issues/9181) +- Swipe: 新增 SwipeInstance 类型 [#9158](https://github.com/vant-ui/vant/issues/9158) +- SwipeCell: 新增 SwipeCellInstance 类型 [#9179](https://github.com/vant-ui/vant/issues/9179) +- Tabs: 新增 TabsInstance 类型 [#9174](https://github.com/vant-ui/vant/issues/9174) +- Uploader: 新增 UploaderInstance 类型 [#9164](https://github.com/vant-ui/vant/issues/9164) **Bug Fixes** -- Badge: 修复 offset 为负数时不生效的问题 [#9199](https://github.com/youzan/vant/issues/9199) -- Image: 修复圆角数值不正确的问题 [#9163](https://github.com/youzan/vant/issues/9163) -- Field: 修复 Textarea 内容较多时,输入会导致页面滚动到顶部的问题 [#9206](https://github.com/youzan/vant/issues/9206) -- Notify: 修复默认选项被错误覆盖的问题 [#9138](https://github.com/youzan/vant/issues/9138) -- Rate: 修复星星较多时无法自动换行的问题 [#9192](https://github.com/youzan/vant/issues/9192) -- Tabs: 修复 card 类型内边距错误的问题 [#9168](https://github.com/youzan/vant/issues/9168) -- Toast: 修复某些情况下 message 无法更新的问题 [#9196](https://github.com/youzan/vant/issues/9196) +- Badge: 修复 offset 为负数时不生效的问题 [#9199](https://github.com/vant-ui/vant/issues/9199) +- Image: 修复圆角数值不正确的问题 [#9163](https://github.com/vant-ui/vant/issues/9163) +- Field: 修复 Textarea 内容较多时,输入会导致页面滚动到顶部的问题 [#9206](https://github.com/vant-ui/vant/issues/9206) +- Notify: 修复默认选项被错误覆盖的问题 [#9138](https://github.com/vant-ui/vant/issues/9138) +- Rate: 修复星星较多时无法自动换行的问题 [#9192](https://github.com/vant-ui/vant/issues/9192) +- Tabs: 修复 card 类型内边距错误的问题 [#9168](https://github.com/vant-ui/vant/issues/9168) +- Toast: 修复某些情况下 message 无法更新的问题 [#9196](https://github.com/vant-ui/vant/issues/9196) -### [v3.1.5](https://github.com/youzan/vant/compare/v3.1.4...v3.1.5) +### [v3.1.5](https://github.com/vant-ui/vant/compare/v3.1.4...v3.1.5) `2021-07-26` **Feature** -- AddressEdit: 新增 address-edit-button-font-size 样式变量 [#9113](https://github.com/youzan/vant/issues/9113) -- Icon: 新增 shield-o 图标 [#9082](https://github.com/youzan/vant/issues/9082) -- Locale: 新增 Russian 俄罗斯语言包 [#9088](https://github.com/youzan/vant/issues/9088) -- Toast: 优化不可点击状态下的光标展示 [#9116](https://github.com/youzan/vant/issues/9116) -- Uploader: 新增 click-upload 事件 [#9119](https://github.com/youzan/vant/issues/9119) -- Uploader: 新增 readonly 属性 [#9118](https://github.com/youzan/vant/issues/9118) +- AddressEdit: 新增 address-edit-button-font-size 样式变量 [#9113](https://github.com/vant-ui/vant/issues/9113) +- Icon: 新增 shield-o 图标 [#9082](https://github.com/vant-ui/vant/issues/9082) +- Locale: 新增 Russian 俄罗斯语言包 [#9088](https://github.com/vant-ui/vant/issues/9088) +- Toast: 优化不可点击状态下的光标展示 [#9116](https://github.com/vant-ui/vant/issues/9116) +- Uploader: 新增 click-upload 事件 [#9119](https://github.com/vant-ui/vant/issues/9119) +- Uploader: 新增 readonly 属性 [#9118](https://github.com/vant-ui/vant/issues/9118) **Bug Fixes** -- Icon: 修复 invitation 图标名称拼写错误 [#9096](https://github.com/youzan/vant/issues/9096) -- NumberKeyboard: 修复点击外部时会触发 close 事件的问题 [#9108](https://github.com/youzan/vant/issues/9108) -- Search: 修复左侧图标颜色不正确的问题 [#9100](https://github.com/youzan/vant/issues/9100) -- Tabbar: 修复 tabbar-item-icon-margin-bottom 样式变量名称 [#9101](https://github.com/youzan/vant/issues/9101) +- Icon: 修复 invitation 图标名称拼写错误 [#9096](https://github.com/vant-ui/vant/issues/9096) +- NumberKeyboard: 修复点击外部时会触发 close 事件的问题 [#9108](https://github.com/vant-ui/vant/issues/9108) +- Search: 修复左侧图标颜色不正确的问题 [#9100](https://github.com/vant-ui/vant/issues/9100) +- Tabbar: 修复 tabbar-item-icon-margin-bottom 样式变量名称 [#9101](https://github.com/vant-ui/vant/issues/9101) -### [v3.1.4](https://github.com/youzan/vant/compare/v3.1.3...v3.1.4) +### [v3.1.4](https://github.com/vant-ui/vant/compare/v3.1.3...v3.1.4) `2021-07-19` **Feature** -- ActionSheet: 新增 before-close 属性 [#9068](https://github.com/youzan/vant/issues/9068) -- Cascader: 新增 option 插槽 [#9036](https://github.com/youzan/vant/issues/9036) -- Cascader: 优化光标展示 [#9032](https://github.com/youzan/vant/issues/9032) -- Popup: 新增 before-close 属性 [#9067](https://github.com/youzan/vant/issues/9067) -- ShareSheet: 新增 before-close 属性 [#9068](https://github.com/youzan/vant/issues/9068) -- Tabs: 新增 click-tab 事件 [#9037](https://github.com/youzan/vant/issues/9037) +- ActionSheet: 新增 before-close 属性 [#9068](https://github.com/vant-ui/vant/issues/9068) +- Cascader: 新增 option 插槽 [#9036](https://github.com/vant-ui/vant/issues/9036) +- Cascader: 优化光标展示 [#9032](https://github.com/vant-ui/vant/issues/9032) +- Popup: 新增 before-close 属性 [#9067](https://github.com/vant-ui/vant/issues/9067) +- ShareSheet: 新增 before-close 属性 [#9068](https://github.com/vant-ui/vant/issues/9068) +- Tabs: 新增 click-tab 事件 [#9037](https://github.com/vant-ui/vant/issues/9037) **Bug Fixes** -- Field: 修复 label-align 为 right 时 required 标记位置错误的问题 [#9035](https://github.com/youzan/vant/issues/9035) -- List: 修复在 Tabs 内嵌套使用时,切换 Tabs 不触发 load 事件的问题 [#9022](https://github.com/youzan/vant/issues/9022) -- Popup: 修复某些情况下未正确触发 open、close 事件的问题 [#9065](https://github.com/youzan/vant/issues/9065) +- Field: 修复 label-align 为 right 时 required 标记位置错误的问题 [#9035](https://github.com/vant-ui/vant/issues/9035) +- List: 修复在 Tabs 内嵌套使用时,切换 Tabs 不触发 load 事件的问题 [#9022](https://github.com/vant-ui/vant/issues/9022) +- Popup: 修复某些情况下未正确触发 open、close 事件的问题 [#9065](https://github.com/vant-ui/vant/issues/9065) -### [v3.1.3](https://github.com/youzan/vant/compare/v3.1.2...v3.1.3) +### [v3.1.3](https://github.com/vant-ui/vant/compare/v3.1.2...v3.1.3) `2021-07-11` **Feature** -- Calendar: 新增 click-subtitle 事件 [#8981](https://github.com/youzan/vant/issues/8981) -- Calendar: 新增 subtitle 插槽 [#8980](https://github.com/youzan/vant/issues/8980) -- ConfigProvider: 新增 icon-prefix 属性 [#8986](https://github.com/youzan/vant/issues/8986) -- Slider: 新增 drag 事件参数 [#8990](https://github.com/youzan/vant/issues/8990) -- Slider: 新增 left-button、right-button 插槽 [#8989](https://github.com/youzan/vant/issues/8989) -- touch-emulator: 支持通过白名单排除节点 [#8984](https://github.com/youzan/vant/issues/8984) +- Calendar: 新增 click-subtitle 事件 [#8981](https://github.com/vant-ui/vant/issues/8981) +- Calendar: 新增 subtitle 插槽 [#8980](https://github.com/vant-ui/vant/issues/8980) +- ConfigProvider: 新增 icon-prefix 属性 [#8986](https://github.com/vant-ui/vant/issues/8986) +- Slider: 新增 drag 事件参数 [#8990](https://github.com/vant-ui/vant/issues/8990) +- Slider: 新增 left-button、right-button 插槽 [#8989](https://github.com/vant-ui/vant/issues/8989) +- touch-emulator: 支持通过白名单排除节点 [#8984](https://github.com/vant-ui/vant/issues/8984) **Bug Fixes** -- Step: 修复 z-index 过高问题 [#9003](https://github.com/youzan/vant/issues/9003) +- Step: 修复 z-index 过高问题 [#9003](https://github.com/vant-ui/vant/issues/9003) -### [v3.1.2](https://github.com/youzan/vant/compare/v3.1.1...v3.1.2) +### [v3.1.2](https://github.com/vant-ui/vant/compare/v3.1.1...v3.1.2) `2021-07-03` **Feature** -- Area: 新增 toolbar、confirm、cancel 插槽 [#8969](https://github.com/youzan/vant/issues/8969) -- Calendar: 优化日期较多时的加载性能 [#8955](https://github.com/youzan/vant/issues/8955) -- Cascader: 新增 disabled 选项 [#8952](https://github.com/youzan/vant/issues/8952) -- ConfigProvider: 新增 tag 属性 [#8967](https://github.com/youzan/vant/issues/8967) -- Picker: 新增 toolbar 插槽,将 default 插槽标记为废弃 [#8968](https://github.com/youzan/vant/issues/8968) -- Picker: 允许 Option 的值为 number 类型 [#8951](https://github.com/youzan/vant/issues/8951) -- Picker: 新增 picker-option-padding CSS 变量 [#8947](https://github.com/youzan/vant/issues/8947) +- Area: 新增 toolbar、confirm、cancel 插槽 [#8969](https://github.com/vant-ui/vant/issues/8969) +- Calendar: 优化日期较多时的加载性能 [#8955](https://github.com/vant-ui/vant/issues/8955) +- Cascader: 新增 disabled 选项 [#8952](https://github.com/vant-ui/vant/issues/8952) +- ConfigProvider: 新增 tag 属性 [#8967](https://github.com/vant-ui/vant/issues/8967) +- Picker: 新增 toolbar 插槽,将 default 插槽标记为废弃 [#8968](https://github.com/vant-ui/vant/issues/8968) +- Picker: 允许 Option 的值为 number 类型 [#8951](https://github.com/vant-ui/vant/issues/8951) +- Picker: 新增 picker-option-padding CSS 变量 [#8947](https://github.com/vant-ui/vant/issues/8947) **Bug Fixes** -- Toast: 修复文字换行问题 [#8965](https://github.com/youzan/vant/issues/8965) +- Toast: 修复文字换行问题 [#8965](https://github.com/vant-ui/vant/issues/8965) -### [v3.1.1](https://github.com/youzan/vant/compare/v3.1.0...v3.1.1) +### [v3.1.1](https://github.com/vant-ui/vant/compare/v3.1.0...v3.1.1) `2021-06-27` **Feature** -- Cell: 新增 value 插槽,将 default 插槽标记为废弃 [#8933](https://github.com/youzan/vant/issues/8933) -- CollapseItem: 新增 label 插槽 [#8934](https://github.com/youzan/vant/issues/8934) -- NoticeBar: 新增 reset 方法 [#8917](https://github.com/youzan/vant/issues/8917) -- Tabs: 新增 nav-bottom 插槽 [#8915](https://github.com/youzan/vant/issues/8915) +- Cell: 新增 value 插槽,将 default 插槽标记为废弃 [#8933](https://github.com/vant-ui/vant/issues/8933) +- CollapseItem: 新增 label 插槽 [#8934](https://github.com/vant-ui/vant/issues/8934) +- NoticeBar: 新增 reset 方法 [#8917](https://github.com/vant-ui/vant/issues/8917) +- Tabs: 新增 nav-bottom 插槽 [#8915](https://github.com/vant-ui/vant/issues/8915) -### [v3.1.0](https://github.com/youzan/vant/compare/v3.1.0-beta.0...v3.1.0) +### [v3.1.0](https://github.com/vant-ui/vant/compare/v3.1.0-beta.0...v3.1.0) `2021-06-22` **New Component** -- 新增 [ConfigProvider](#/zh-CN/config-provider) 组件,用于主题定制 [#8854](https://github.com/youzan/vant/issues/8854) +- 新增 [ConfigProvider](#/zh-CN/config-provider) 组件,用于主题定制 [#8854](https://github.com/vant-ui/vant/issues/8854) **Feature** -- 所有组件支持 CSS 变量 [aef257](https://github.com/youzan/vant/commit/aef2579a95da7c8b528ba7062b227fea698a0487) [fe1cba](https://github.com/youzan/vant/commit/fe1cba97b796eba7e9b5dca0ce4ab0d1de95715c) -- 新增 primary-color 等样式变量 [#8861](https://github.com/youzan/vant/issues/8861) -- Checkbox: icon 插槽新增 disabled 参数 [#8839](https://github.com/youzan/vant/issues/8839) -- Cascader: 新增 className 选项 [#8882](https://github.com/youzan/vant/issues/8882) -- Cascader: 新增 color 选项 [#8883](https://github.com/youzan/vant/issues/8883) -- CellGroup: 新增 inset 属性 [#8885](https://github.com/youzan/vant/issues/8885) -- GridItem: 新增 reverse 属性 [#8878](https://github.com/youzan/vant/issues/8878) -- IndexBar: 新增 teleport 属性 [#8820](https://github.com/youzan/vant/issues/8820) +- 所有组件支持 CSS 变量 [aef257](https://github.com/vant-ui/vant/commit/aef2579a95da7c8b528ba7062b227fea698a0487) [fe1cba](https://github.com/vant-ui/vant/commit/fe1cba97b796eba7e9b5dca0ce4ab0d1de95715c) +- 新增 primary-color 等样式变量 [#8861](https://github.com/vant-ui/vant/issues/8861) +- Checkbox: icon 插槽新增 disabled 参数 [#8839](https://github.com/vant-ui/vant/issues/8839) +- Cascader: 新增 className 选项 [#8882](https://github.com/vant-ui/vant/issues/8882) +- Cascader: 新增 color 选项 [#8883](https://github.com/vant-ui/vant/issues/8883) +- CellGroup: 新增 inset 属性 [#8885](https://github.com/vant-ui/vant/issues/8885) +- GridItem: 新增 reverse 属性 [#8878](https://github.com/vant-ui/vant/issues/8878) +- IndexBar: 新增 teleport 属性 [#8820](https://github.com/vant-ui/vant/issues/8820) **Bug Fixes** -- Dialog: 修复 message 作为函数时返回 HTML 字符串无效的问题 [#8872](https://github.com/youzan/vant/issues/8872) -- Slider: 修复设置 step 属性时,输入值格式化错误的问题 [#8893](https://github.com/youzan/vant/issues/8893) +- Dialog: 修复 message 作为函数时返回 HTML 字符串无效的问题 [#8872](https://github.com/vant-ui/vant/issues/8872) +- Slider: 修复设置 step 属性时,输入值格式化错误的问题 [#8893](https://github.com/vant-ui/vant/issues/8893) -### [v3.0.18](https://github.com/youzan/vant/compare/v3.0.17...v3.0.18) +### [v3.0.18](https://github.com/vant-ui/vant/compare/v3.0.17...v3.0.18) `2021-06-03` **Feature** -- Button: 新增 icon 插槽 [#8783](https://github.com/youzan/vant/issues/8783) -- CouponList: 新增 list-footer、disabled-list-footer 插槽 [#8801](https://github.com/youzan/vant/issues/8801) -- Locale: 新增 French 法语语言包 [#8795](https://github.com/youzan/vant/issues/8795) -- Popup: 新增 icon-prefix 属性 [#8793](https://github.com/youzan/vant/issues/8793) -- Popup: 新增 overlay-content 插槽 [#8794](https://github.com/youzan/vant/issues/8794) +- Button: 新增 icon 插槽 [#8783](https://github.com/vant-ui/vant/issues/8783) +- CouponList: 新增 list-footer、disabled-list-footer 插槽 [#8801](https://github.com/vant-ui/vant/issues/8801) +- Locale: 新增 French 法语语言包 [#8795](https://github.com/vant-ui/vant/issues/8795) +- Popup: 新增 icon-prefix 属性 [#8793](https://github.com/vant-ui/vant/issues/8793) +- Popup: 新增 overlay-content 插槽 [#8794](https://github.com/vant-ui/vant/issues/8794) **Bug Fixes** -- Collapse: 修复在 safari 上可能出现渲染异常的问题 [#8788](https://github.com/youzan/vant/issues/8788) -- NoticeBar: 修复在 Popup 内嵌套使用时播放异常的问题 [#8789](https://github.com/youzan/vant/issues/8789) -- List: 移除未使用的 @list-icon-margin-right 变量 [#8759](https://github.com/youzan/vant/issues/8759) -- @vant/touch-emulator: 修复 SSR 时报错的问题 [#8767](https://github.com/youzan/vant/issues/8767) +- Collapse: 修复在 safari 上可能出现渲染异常的问题 [#8788](https://github.com/vant-ui/vant/issues/8788) +- NoticeBar: 修复在 Popup 内嵌套使用时播放异常的问题 [#8789](https://github.com/vant-ui/vant/issues/8789) +- List: 移除未使用的 @list-icon-margin-right 变量 [#8759](https://github.com/vant-ui/vant/issues/8759) +- @vant/touch-emulator: 修复 SSR 时报错的问题 [#8767](https://github.com/vant-ui/vant/issues/8767) -### [v3.0.17](https://github.com/youzan/vant/compare/v3.0.16...v3.0.17) +### [v3.0.17](https://github.com/vant-ui/vant/compare/v3.0.16...v3.0.17) `2021-05-23` **Feature** -- ActionBarIcon: 新增 icon-prefix 属性 [#8748](https://github.com/youzan/vant/issues/8748) -- Calendar: 新增 over-range 事件 [#8739](https://github.com/youzan/vant/issues/8739) -- Calendar: 新增 show-range-prompt 属性 [#8739](https://github.com/youzan/vant/issues/8739) -- Calendar: 新增 top-info、bottom-info 插槽 [#8716](https://github.com/youzan/vant/issues/8716) -- GridItem: 新增 icon-color 属性 [#8753](https://github.com/youzan/vant/issues/8753) -- NoticeBar: 默认 speed 由 50 调整为 60 [#8694](https://github.com/youzan/vant/issues/8694) -- Popover: 新增 icon-prefix 属性 [#8703](https://github.com/youzan/vant/issues/8703) -- Toast: 新增不同类型 Toast 的 transition 过渡效果 [#8743](https://github.com/youzan/vant/issues/8743) -- Uploader: max-size 属性支持函数格式 [#8744](https://github.com/youzan/vant/issues/8744) +- ActionBarIcon: 新增 icon-prefix 属性 [#8748](https://github.com/vant-ui/vant/issues/8748) +- Calendar: 新增 over-range 事件 [#8739](https://github.com/vant-ui/vant/issues/8739) +- Calendar: 新增 show-range-prompt 属性 [#8739](https://github.com/vant-ui/vant/issues/8739) +- Calendar: 新增 top-info、bottom-info 插槽 [#8716](https://github.com/vant-ui/vant/issues/8716) +- GridItem: 新增 icon-color 属性 [#8753](https://github.com/vant-ui/vant/issues/8753) +- NoticeBar: 默认 speed 由 50 调整为 60 [#8694](https://github.com/vant-ui/vant/issues/8694) +- Popover: 新增 icon-prefix 属性 [#8703](https://github.com/vant-ui/vant/issues/8703) +- Toast: 新增不同类型 Toast 的 transition 过渡效果 [#8743](https://github.com/vant-ui/vant/issues/8743) +- Uploader: max-size 属性支持函数格式 [#8744](https://github.com/vant-ui/vant/issues/8744) **Bug Fixes** -- Button: 修复 tsx 下使用时缺少 onClick 类型定义的问题 [#8665](https://github.com/youzan/vant/issues/8665) -- Calendar: 修复默认日期不正确的问题 [#8696](https://github.com/youzan/vant/issues/8696) -- DatetimePicker: 修复动态设置 minDate、maxDate 时异常的问题 [#8658](https://github.com/youzan/vant/issues/8658) -- List: 修复在开启 animated 的 Tabs 下使用时加载异常的问题 [#8741](https://github.com/youzan/vant/issues/8741) -- Tabs: 修复滚动事件监听不正确的问题 [#8734](https://github.com/youzan/vant/issues/8734) -- Toast: 修复多次调用时持续时间不正确的问题 [#8742](https://github.com/youzan/vant/issues/8742) +- Button: 修复 tsx 下使用时缺少 onClick 类型定义的问题 [#8665](https://github.com/vant-ui/vant/issues/8665) +- Calendar: 修复默认日期不正确的问题 [#8696](https://github.com/vant-ui/vant/issues/8696) +- DatetimePicker: 修复动态设置 minDate、maxDate 时异常的问题 [#8658](https://github.com/vant-ui/vant/issues/8658) +- List: 修复在开启 animated 的 Tabs 下使用时加载异常的问题 [#8741](https://github.com/vant-ui/vant/issues/8741) +- Tabs: 修复滚动事件监听不正确的问题 [#8734](https://github.com/vant-ui/vant/issues/8734) +- Toast: 修复多次调用时持续时间不正确的问题 [#8742](https://github.com/vant-ui/vant/issues/8742) -### [v3.0.16](https://github.com/youzan/vant/compare/v3.0.15...v3.0.16) +### [v3.0.16](https://github.com/vant-ui/vant/compare/v3.0.15...v3.0.16) `2021-05-03` **Feature** -- Swipe: 新增 indicator 插槽的 active 参数 [#8645](https://github.com/youzan/vant/issues/8645) -- Cascader: 新增 @cascader-header-padding less 变量 [#8626](https://github.com/youzan/vant/issues/8626) -- Steps: 新增 icon-prefix 属性 [#8631](https://github.com/youzan/vant/issues/8631) -- 导出更多类型定义 [#8652](https://github.com/youzan/vant/issues/8652) +- Swipe: 新增 indicator 插槽的 active 参数 [#8645](https://github.com/vant-ui/vant/issues/8645) +- Cascader: 新增 @cascader-header-padding less 变量 [#8626](https://github.com/vant-ui/vant/issues/8626) +- Steps: 新增 icon-prefix 属性 [#8631](https://github.com/vant-ui/vant/issues/8631) +- 导出更多类型定义 [#8652](https://github.com/vant-ui/vant/issues/8652) **Bug Fixes** -- Stepper: 修复 blur 事件触发时机 [#8620](https://github.com/youzan/vant/issues/8620) -- SubmitBar: 修复 @submit-bar-price-font-size 变量不生效的问题 [#8639](https://github.com/youzan/vant/issues/8639) -- Swipe: 修复在 Popup 内时展示可能不正确的问题 [#8643](https://github.com/youzan/vant/issues/8643) -- Tabs: 修复在 Popup 内时展示可能不正确的问题 [#8642](https://github.com/youzan/vant/issues/8642) +- Stepper: 修复 blur 事件触发时机 [#8620](https://github.com/vant-ui/vant/issues/8620) +- SubmitBar: 修复 @submit-bar-price-font-size 变量不生效的问题 [#8639](https://github.com/vant-ui/vant/issues/8639) +- Swipe: 修复在 Popup 内时展示可能不正确的问题 [#8643](https://github.com/vant-ui/vant/issues/8643) +- Tabs: 修复在 Popup 内时展示可能不正确的问题 [#8642](https://github.com/vant-ui/vant/issues/8642) -### [v3.0.15](https://github.com/youzan/vant/compare/v2.12.14-test...v3.0.15) +### [v3.0.15](https://github.com/vant-ui/vant/compare/v2.12.14-test...v3.0.15) `2021-04-25` **Feature** -- Cascader: 新增 click-tab 事件 [#8606](https://github.com/youzan/vant/issues/8606) +- Cascader: 新增 click-tab 事件 [#8606](https://github.com/vant-ui/vant/issues/8606) **Bug Fixes** -- Tab: 修复 SSR 时报错的问题 [#8603](https://github.com/youzan/vant/issues/8603) -- Rate: 修复点击半星时未正确选中的问题 [#8580](https://github.com/youzan/vant/issues/8580) -- Tag: 修复使用 color 和 plain 属性时边框颜色错误的问题 [#8601](https://github.com/youzan/vant/issues/8601) +- Tab: 修复 SSR 时报错的问题 [#8603](https://github.com/vant-ui/vant/issues/8603) +- Rate: 修复点击半星时未正确选中的问题 [#8580](https://github.com/vant-ui/vant/issues/8580) +- Tag: 修复使用 color 和 plain 属性时边框颜色错误的问题 [#8601](https://github.com/vant-ui/vant/issues/8601) -### [v3.0.14](https://github.com/youzan/vant/compare/v3.0.13...v3.0.14) +### [v3.0.14](https://github.com/vant-ui/vant/compare/v3.0.13...v3.0.14) `2021-04-18` **Feature** -- Badge: offset 属性支持传入任意单位 [35edb7](https://github.com/youzan/vant/commit/35edb72b5cd519d4e75443acaa0a63db16695d2d) -- Rate: 支持在 readonly 时渲染任意小数结果 [#8528](https://github.com/youzan/vant/issues/8528) +- Badge: offset 属性支持传入任意单位 [35edb7](https://github.com/vant-ui/vant/commit/35edb72b5cd519d4e75443acaa0a63db16695d2d) +- Rate: 支持在 readonly 时渲染任意小数结果 [#8528](https://github.com/vant-ui/vant/issues/8528) **Bug Fixes** -- ContactList: 修复 nodes 类型错误 [0b764b](https://github.com/youzan/vant/commit/0b764b63470b09f5654d267c8d07a20bc2d31536) +- ContactList: 修复 nodes 类型错误 [0b764b](https://github.com/vant-ui/vant/commit/0b764b63470b09f5654d267c8d07a20bc2d31536) -### [v3.0.13](https://github.com/youzan/vant/compare/v3.0.12...v3.0.13) +### [v3.0.13](https://github.com/vant-ui/vant/compare/v3.0.12...v3.0.13) `2021-04-11` **Feature** -- ActionBar: 新增 @action-bar-icon-background-color 样式变量 [#8474](https://github.com/youzan/vant/issues/8474) -- Popover: 升级依赖的 @popperjs/core 到 2.9.2 版本 [0d1323](https://github.com/youzan/vant/commit/0d132337d5d263957a7993d60e47a18efec7313e) -- perf: 优化包体积 [ba3e6d](https://github.com/youzan/vant/commit/ba3e6d56a0bc7ae3acc25b1380f054da3b9b020f) +- ActionBar: 新增 @action-bar-icon-background-color 样式变量 [#8474](https://github.com/vant-ui/vant/issues/8474) +- Popover: 升级依赖的 @popperjs/core 到 2.9.2 版本 [0d1323](https://github.com/vant-ui/vant/commit/0d132337d5d263957a7993d60e47a18efec7313e) +- perf: 优化包体积 [ba3e6d](https://github.com/vant-ui/vant/commit/ba3e6d56a0bc7ae3acc25b1380f054da3b9b020f) **Types** -- Popup: 修复 PopupCloseIconPosition 类型错误 [15d901](https://github.com/youzan/vant/commit/15d901ad6aace3826881cb3c6e0499f75b71df80) -- Search: 修复在 tsx 下部分 props 不存在的问题 [#8485](https://github.com/youzan/vant/issues/8485) -- Stepper: 优化 theme 属性类型定义 [#8489](https://github.com/youzan/vant/issues/8489) +- Popup: 修复 PopupCloseIconPosition 类型错误 [15d901](https://github.com/vant-ui/vant/commit/15d901ad6aace3826881cb3c6e0499f75b71df80) +- Search: 修复在 tsx 下部分 props 不存在的问题 [#8485](https://github.com/vant-ui/vant/issues/8485) +- Stepper: 优化 theme 属性类型定义 [#8489](https://github.com/vant-ui/vant/issues/8489) **Bug Fixes** -- Field: 修复 autofocus 属性不生效的问题 [#8488](https://github.com/youzan/vant/issues/8488) +- Field: 修复 autofocus 属性不生效的问题 [#8488](https://github.com/vant-ui/vant/issues/8488) -### [v3.0.12](https://github.com/youzan/vant/compare/v3.0.11...v3.0.12) +### [v3.0.12](https://github.com/vant-ui/vant/compare/v3.0.11...v3.0.12) `2021-04-05` **Feature** -- CollapseItem: 新增 readonly 属性 [#8445](https://github.com/youzan/vant/issues/8445) -- Field: 新增 clear-icon 属性 [#8438](https://github.com/youzan/vant/issues/8438) -- Search: 新增 clear-icon 属性 [#8439](https://github.com/youzan/vant/issues/8439) -- Search: 新增 error-message 属性 [#8442](https://github.com/youzan/vant/issues/8442) -- Search: 新增 formatter、format-trigger 属性 [#8441](https://github.com/youzan/vant/issues/8441) +- CollapseItem: 新增 readonly 属性 [#8445](https://github.com/vant-ui/vant/issues/8445) +- Field: 新增 clear-icon 属性 [#8438](https://github.com/vant-ui/vant/issues/8438) +- Search: 新增 clear-icon 属性 [#8439](https://github.com/vant-ui/vant/issues/8439) +- Search: 新增 error-message 属性 [#8442](https://github.com/vant-ui/vant/issues/8442) +- Search: 新增 formatter、format-trigger 属性 [#8441](https://github.com/vant-ui/vant/issues/8441) **Bug Fixes** -- 修复 WebStorm 下组件标签提示不正确的问题 [#8450](https://github.com/youzan/vant/issues/8450) +- 修复 WebStorm 下组件标签提示不正确的问题 [#8450](https://github.com/vant-ui/vant/issues/8450) -### [v3.0.11](https://github.com/youzan/vant/compare/v3.0.10...v3.0.11) +### [v3.0.11](https://github.com/vant-ui/vant/compare/v3.0.10...v3.0.11) `2021-03-30` **Feature** -- Cascader: 新增 swipeable 属性 [#8383](https://github.com/youzan/vant/issues/8383) -- Dialog: 新增 footer 插槽 [#8382](https://github.com/youzan/vant/issues/8382) -- Dialog: 支持在 message 中传入 render 函数 [#8420](https://github.com/youzan/vant/issues/8420) -- Image: 新增 icon-size 属性 [#8395](https://github.com/youzan/vant/issues/8395) -- Row: 新增 wrap 属性 [#8393](https://github.com/youzan/vant/issues/8393) +- Cascader: 新增 swipeable 属性 [#8383](https://github.com/vant-ui/vant/issues/8383) +- Dialog: 新增 footer 插槽 [#8382](https://github.com/vant-ui/vant/issues/8382) +- Dialog: 支持在 message 中传入 render 函数 [#8420](https://github.com/vant-ui/vant/issues/8420) +- Image: 新增 icon-size 属性 [#8395](https://github.com/vant-ui/vant/issues/8395) +- Row: 新增 wrap 属性 [#8393](https://github.com/vant-ui/vant/issues/8393) **Bug Fixes** -- Field: 修复在个别情况下错误地清除错误提示的问题 [#8409](https://github.com/youzan/vant/issues/8409) -- Sticky: 修复在 SSR 时提示 Element 不存在的问题 [#8407](https://github.com/youzan/vant/issues/8407) -- Tabs: 修复在 safari 上左滑退出页面时手势判断错误的问题 [#8388](https://github.com/youzan/vant/issues/8388) +- Field: 修复在个别情况下错误地清除错误提示的问题 [#8409](https://github.com/vant-ui/vant/issues/8409) +- Sticky: 修复在 SSR 时提示 Element 不存在的问题 [#8407](https://github.com/vant-ui/vant/issues/8407) +- Tabs: 修复在 safari 上左滑退出页面时手势判断错误的问题 [#8388](https://github.com/vant-ui/vant/issues/8388) -### [v3.0.10](https://github.com/youzan/vant/compare/v3.0.9...v3.0.10) +### [v3.0.10](https://github.com/vant-ui/vant/compare/v3.0.9...v3.0.10) `2021-03-19` **Feature** -- ActionSheet: 新增 cancel 插槽 [#8333](https://github.com/youzan/vant/issues/8333) -- Badge: 新增 show-zero 属性 [#8381](https://github.com/youzan/vant/issues/8381) -- Cascader: 新增 close-icon 属性 [#8334](https://github.com/youzan/vant/issues/8334) -- Popover: 新增 close-on-click-overlay 属性 [#8351](https://github.com/youzan/vant/issues/8351) -- Popover: 新增 duration 属性 [#8355](https://github.com/youzan/vant/issues/8355) -- Popover: 新增 overlay-class 属性 [#8353](https://github.com/youzan/vant/issues/8353) -- Popover: 新增 overlay-style 属性 [#8354](https://github.com/youzan/vant/issues/8354) -- ShareSheet: 新增 cancel 插槽 [#8335](https://github.com/youzan/vant/issues/8335) -- Sticky: 新增 change event [#8374](https://github.com/youzan/vant/issues/8374) -- Tag: close 事件新增 event 参数 [#8337](https://github.com/youzan/vant/issues/8337) -- Toast: 新增 iconSize 选项 [#8338](https://github.com/youzan/vant/issues/8338) +- ActionSheet: 新增 cancel 插槽 [#8333](https://github.com/vant-ui/vant/issues/8333) +- Badge: 新增 show-zero 属性 [#8381](https://github.com/vant-ui/vant/issues/8381) +- Cascader: 新增 close-icon 属性 [#8334](https://github.com/vant-ui/vant/issues/8334) +- Popover: 新增 close-on-click-overlay 属性 [#8351](https://github.com/vant-ui/vant/issues/8351) +- Popover: 新增 duration 属性 [#8355](https://github.com/vant-ui/vant/issues/8355) +- Popover: 新增 overlay-class 属性 [#8353](https://github.com/vant-ui/vant/issues/8353) +- Popover: 新增 overlay-style 属性 [#8354](https://github.com/vant-ui/vant/issues/8354) +- ShareSheet: 新增 cancel 插槽 [#8335](https://github.com/vant-ui/vant/issues/8335) +- Sticky: 新增 change event [#8374](https://github.com/vant-ui/vant/issues/8374) +- Tag: close 事件新增 event 参数 [#8337](https://github.com/vant-ui/vant/issues/8337) +- Toast: 新增 iconSize 选项 [#8338](https://github.com/vant-ui/vant/issues/8338) **Feature** -- ContactList: 新增 @contact-list-item-radio-icon-color Less 变量 [#8322](https://github.com/youzan/vant/issues/8322) -- Coupon: 新增 @coupon-corner-checkbox-icon-color Less 变量 [#8323](https://github.com/youzan/vant/issues/8323) -- List: 新增 @list-loading-icon-size Less 变量 [#8365](https://github.com/youzan/vant/issues/8365) -- Loading: 新增 @button-loading-icon-size Less 变量 [465bf0](https://github.com/youzan/vant/commit/465bf07095c58e8292b23ef0c64be1550aa9d430) -- PullRefresh: 新增 @pull-refresh-loading-icon-size Less 变量 [#8366](https://github.com/youzan/vant/issues/8366) +- ContactList: 新增 @contact-list-item-radio-icon-color Less 变量 [#8322](https://github.com/vant-ui/vant/issues/8322) +- Coupon: 新增 @coupon-corner-checkbox-icon-color Less 变量 [#8323](https://github.com/vant-ui/vant/issues/8323) +- List: 新增 @list-loading-icon-size Less 变量 [#8365](https://github.com/vant-ui/vant/issues/8365) +- Loading: 新增 @button-loading-icon-size Less 变量 [465bf0](https://github.com/vant-ui/vant/commit/465bf07095c58e8292b23ef0c64be1550aa9d430) +- PullRefresh: 新增 @pull-refresh-loading-icon-size Less 变量 [#8366](https://github.com/vant-ui/vant/issues/8366) **Bug Fixes** -- Popover: 修复 close-on-click-outside 属性不生效的问题 [#8352](https://github.com/youzan/vant/issues/8352) -- Swipe: 修复添加 scale 动画时宽度计算错误的问题 [#8330](https://github.com/youzan/vant/issues/8330) +- Popover: 修复 close-on-click-outside 属性不生效的问题 [#8352](https://github.com/vant-ui/vant/issues/8352) +- Swipe: 修复添加 scale 动画时宽度计算错误的问题 [#8330](https://github.com/vant-ui/vant/issues/8330) -### [v3.0.9](https://github.com/youzan/vant/compare/v3.0.8...v3.0.9) +### [v3.0.9](https://github.com/vant-ui/vant/compare/v3.0.8...v3.0.9) `2021-03-08` **Feature** -- AddressList: 新增 tag 插槽 [#8292](https://github.com/youzan/vant/issues/8292) +- AddressList: 新增 tag 插槽 [#8292](https://github.com/vant-ui/vant/issues/8292) **Bug Fixes** -- 修复主题定制不生效的问题 [#8301](https://github.com/youzan/vant/issues/8301) -- 修复在 TS 下使用 app.use 注册组件报错的问题 [#8308](https://github.com/youzan/vant/issues/8308) +- 修复主题定制不生效的问题 [#8301](https://github.com/vant-ui/vant/issues/8301) +- 修复在 TS 下使用 app.use 注册组件报错的问题 [#8308](https://github.com/vant-ui/vant/issues/8308) -### [v3.0.8](https://github.com/youzan/vant/compare/v3.0.7...v3.0.8) +### [v3.0.8](https://github.com/vant-ui/vant/compare/v3.0.7...v3.0.8) `2021-03-07` **Types** -- 完善所有组件的类型定义 [#8264](https://github.com/youzan/vant/issues/8264) +- 完善所有组件的类型定义 [#8264](https://github.com/vant-ui/vant/issues/8264) **Feature** -- ImagePreview: 新增 transition 属性 [#8275](https://github.com/youzan/vant/issues/8275) -- ImagePreview: 新增 overlay-style 属性 [#8276](https://github.com/youzan/vant/issues/8276) -- Locale: 新增 th-TH 泰语 [#8297](https://github.com/youzan/vant/issues/8297) -- PullRefresh: 新增 pull-distance 属性 [#8280](https://github.com/youzan/vant/issues/8280) -- Button: 新增若干个 Less 变量 [#8281](https://github.com/youzan/vant/issues/8281) +- ImagePreview: 新增 transition 属性 [#8275](https://github.com/vant-ui/vant/issues/8275) +- ImagePreview: 新增 overlay-style 属性 [#8276](https://github.com/vant-ui/vant/issues/8276) +- Locale: 新增 th-TH 泰语 [#8297](https://github.com/vant-ui/vant/issues/8297) +- PullRefresh: 新增 pull-distance 属性 [#8280](https://github.com/vant-ui/vant/issues/8280) +- Button: 新增若干个 Less 变量 [#8281](https://github.com/vant-ui/vant/issues/8281) **Bug Fixes** -- ActionSheet: 修复返回页面时可能错误地重新打开的问题 [#8272](https://github.com/youzan/vant/issues/8272) -- Stepper: 修复在 iOS14 下禁用时输入框文字不可见的问题 [#8277](https://github.com/youzan/vant/issues/8277) -- Swipe: 修复动态插入轮播图时渲染错误的问题 [#8288](https://github.com/youzan/vant/issues/8288) +- ActionSheet: 修复返回页面时可能错误地重新打开的问题 [#8272](https://github.com/vant-ui/vant/issues/8272) +- Stepper: 修复在 iOS14 下禁用时输入框文字不可见的问题 [#8277](https://github.com/vant-ui/vant/issues/8277) +- Swipe: 修复动态插入轮播图时渲染错误的问题 [#8288](https://github.com/vant-ui/vant/issues/8288) -### [v3.0.7](https://github.com/youzan/vant/compare/v3.0.6...v3.0.7) +### [v3.0.7](https://github.com/vant-ui/vant/compare/v3.0.6...v3.0.7) `2021-02-28` **Feature** -- Notify: 新增 lockScroll 选项 [#8168](https://github.com/youzan/vant/issues/8168) -- Popup: click-overlay 事件新增 `Event` 参数 [#8107](https://github.com/youzan/vant/issues/8107) -- ShareSheet: 新增 overlay-style 属性 [#8225](https://github.com/youzan/vant/issues/8225) -- ShareSheet: 新增 overlay-class 属性 [#8225](https://github.com/youzan/vant/issues/8225) -- Step: 新增 finish-icon 插槽 [#8241](https://github.com/youzan/vant/issues/8241) -- Steps: 新增 finish-icon 属性 [#8103](https://github.com/youzan/vant/issues/8103) -- Uploader: 新增 @uploader-mask-text-color 样式变量 [#8064](https://github.com/youzan/vant/issues/8064) +- Notify: 新增 lockScroll 选项 [#8168](https://github.com/vant-ui/vant/issues/8168) +- Popup: click-overlay 事件新增 `Event` 参数 [#8107](https://github.com/vant-ui/vant/issues/8107) +- ShareSheet: 新增 overlay-style 属性 [#8225](https://github.com/vant-ui/vant/issues/8225) +- ShareSheet: 新增 overlay-class 属性 [#8225](https://github.com/vant-ui/vant/issues/8225) +- Step: 新增 finish-icon 插槽 [#8241](https://github.com/vant-ui/vant/issues/8241) +- Steps: 新增 finish-icon 属性 [#8103](https://github.com/vant-ui/vant/issues/8103) +- Uploader: 新增 @uploader-mask-text-color 样式变量 [#8064](https://github.com/vant-ui/vant/issues/8064) **perf** -- 包体积优化:调整适配的浏览器版本,与 Vue 3 保持一致 [#8227](https://github.com/youzan/vant/issues/8227) +- 包体积优化:调整适配的浏览器版本,与 Vue 3 保持一致 [#8227](https://github.com/vant-ui/vant/issues/8227) **Bug Fixes** -- ActionSheet: 修复 safe-area-inset-bottom 属性不生效的问题 [#8085](https://github.com/youzan/vant/issues/8085) -- DateTimePicker: 修复 v-model 为 null 时初始值不正确的问题 [#8193](https://github.com/youzan/vant/issues/8193) -- Form: 修复提交表单时可能滚动到错误的表单项的问题 [#8159](https://github.com/youzan/vant/issues/8159) -- ImagePreview: 修复第二次调用时可能出现渲染不正确的问题 [#8060](https://github.com/youzan/vant/issues/8060) -- IndexBar: 修复初始化时激活的锚点未正确渲染的问题 [#8164](https://github.com/youzan/vant/issues/8164) -- Popup: 修复动态设置 lock-scroll 属性不生效的问题 [#8169](https://github.com/youzan/vant/issues/8169) -- Swipe: 修复初始化时 active 值可能错误的问题 [#8061](https://github.com/youzan/vant/issues/8061) -- SwipeCell: 修复点击外部时 click 事件参数不正确的问题 [#8108](https://github.com/youzan/vant/issues/8108) -- Tabbar: 修复 name 为 0 时激活的选项可能不正确的问题 [#8125](https://github.com/youzan/vant/issues/8125) -- Tabs: 修复 v-model 为 0 时激活的标签页可能不正确的问题 [#8074](https://github.com/youzan/vant/issues/8074) -- Toast: 修复 SSR 时可能报错的问题 [#8214](https://github.com/youzan/vant/issues/8214) +- ActionSheet: 修复 safe-area-inset-bottom 属性不生效的问题 [#8085](https://github.com/vant-ui/vant/issues/8085) +- DateTimePicker: 修复 v-model 为 null 时初始值不正确的问题 [#8193](https://github.com/vant-ui/vant/issues/8193) +- Form: 修复提交表单时可能滚动到错误的表单项的问题 [#8159](https://github.com/vant-ui/vant/issues/8159) +- ImagePreview: 修复第二次调用时可能出现渲染不正确的问题 [#8060](https://github.com/vant-ui/vant/issues/8060) +- IndexBar: 修复初始化时激活的锚点未正确渲染的问题 [#8164](https://github.com/vant-ui/vant/issues/8164) +- Popup: 修复动态设置 lock-scroll 属性不生效的问题 [#8169](https://github.com/vant-ui/vant/issues/8169) +- Swipe: 修复初始化时 active 值可能错误的问题 [#8061](https://github.com/vant-ui/vant/issues/8061) +- SwipeCell: 修复点击外部时 click 事件参数不正确的问题 [#8108](https://github.com/vant-ui/vant/issues/8108) +- Tabbar: 修复 name 为 0 时激活的选项可能不正确的问题 [#8125](https://github.com/vant-ui/vant/issues/8125) +- Tabs: 修复 v-model 为 0 时激活的标签页可能不正确的问题 [#8074](https://github.com/vant-ui/vant/issues/8074) +- Toast: 修复 SSR 时可能报错的问题 [#8214](https://github.com/vant-ui/vant/issues/8214) -### [v3.0.6](https://github.com/youzan/vant/compare/v3.0.5...v3.0.6) +### [v3.0.6](https://github.com/vant-ui/vant/compare/v3.0.5...v3.0.6) `2021-01-31` **Feature** -- Area: 支持超过 6 位的地区码 [#8001](https://github.com/youzan/vant/issues/8001) -- Form: show-error 属性的默认值调整为 false [#8016](https://github.com/youzan/vant/issues/8016) -- Form: 支持在 validator 中返回错误提示 [#8052](https://github.com/youzan/vant/issues/8052) -- NumberKeyboard: 新增 blur-on-close 属性 [#8033](https://github.com/youzan/vant/issues/8033) -- Popover: 新增 click-overlay 事件 [#8050](https://github.com/youzan/vant/issues/8050) -- Popover: 支持在 action 选项对象中配置 color 字段 [#8049](https://github.com/youzan/vant/issues/8049) -- Sticky: 新增 position、offset-bottom 属性 [#7979](https://github.com/youzan/vant/issues/7979) +- Area: 支持超过 6 位的地区码 [#8001](https://github.com/vant-ui/vant/issues/8001) +- Form: show-error 属性的默认值调整为 false [#8016](https://github.com/vant-ui/vant/issues/8016) +- Form: 支持在 validator 中返回错误提示 [#8052](https://github.com/vant-ui/vant/issues/8052) +- NumberKeyboard: 新增 blur-on-close 属性 [#8033](https://github.com/vant-ui/vant/issues/8033) +- Popover: 新增 click-overlay 事件 [#8050](https://github.com/vant-ui/vant/issues/8050) +- Popover: 支持在 action 选项对象中配置 color 字段 [#8049](https://github.com/vant-ui/vant/issues/8049) +- Sticky: 新增 position、offset-bottom 属性 [#7979](https://github.com/vant-ui/vant/issues/7979) **Bug Fixes** -- Button: 修复加载状态下会触发表单提交的问题 [#8018](https://github.com/youzan/vant/issues/8018) -- Calendar: 修复无法使用 scrollToDate 方法的问题 [#7983](https://github.com/youzan/vant/issues/7983) -- Empty: 修复 linearGradient id 可能导致冲突的问题 [#8013](https://github.com/youzan/vant/issues/8013) -- Toast: 修复 closeOnClickOverlay 设置为 true 不生效的问题 [#8044](https://github.com/youzan/vant/issues/8044) +- Button: 修复加载状态下会触发表单提交的问题 [#8018](https://github.com/vant-ui/vant/issues/8018) +- Calendar: 修复无法使用 scrollToDate 方法的问题 [#7983](https://github.com/vant-ui/vant/issues/7983) +- Empty: 修复 linearGradient id 可能导致冲突的问题 [#8013](https://github.com/vant-ui/vant/issues/8013) +- Toast: 修复 closeOnClickOverlay 设置为 true 不生效的问题 [#8044](https://github.com/vant-ui/vant/issues/8044) -### [v3.0.5](https://github.com/youzan/vant/compare/v3.0.4...v3.0.5) +### [v3.0.5](https://github.com/vant-ui/vant/compare/v3.0.4...v3.0.5) `2021-01-24` **Feature** -- Badge: 新增 offset 属性 [e0b463](https://github.com/youzan/vant/commit/e0b463630108b5031a02a8afcd0c141a7fdbac9e) -- Calendar: reset 方法支持重置到指定日期 [#7966](https://github.com/youzan/vant/issues/7966) -- Icons: 新增 wechat 图标, 重命名原 wechat 图标为 wechat-pay [b3cd8c](https://github.com/youzan/vant/commit/b3cd8c14aea9e542a9de4ba9999e50c3ecbf3b3c) -- ImagePreview: 调用 swipeTo 方法后自动重置缩放状态 [#7972](https://github.com/youzan/vant/issues/7972) -- ImagePreview: 调整 swipeDuration 的默认值为 300ms [#7970](https://github.com/youzan/vant/issues/7970) -- ShareSheet: 新增 wechat-moments 朋友圈图标 [ca66fb](https://github.com/youzan/vant/commit/ca66fbca36c5c839e3a294d465b0fc2bd7bf5039) -- Slider: 新增 readonly 属性 [4cd991](https://github.com/youzan/vant/commit/4cd991dfec01bd5342cb59b750d0dfa5901b8dc8) +- Badge: 新增 offset 属性 [e0b463](https://github.com/vant-ui/vant/commit/e0b463630108b5031a02a8afcd0c141a7fdbac9e) +- Calendar: reset 方法支持重置到指定日期 [#7966](https://github.com/vant-ui/vant/issues/7966) +- Icons: 新增 wechat 图标, 重命名原 wechat 图标为 wechat-pay [b3cd8c](https://github.com/vant-ui/vant/commit/b3cd8c14aea9e542a9de4ba9999e50c3ecbf3b3c) +- ImagePreview: 调用 swipeTo 方法后自动重置缩放状态 [#7972](https://github.com/vant-ui/vant/issues/7972) +- ImagePreview: 调整 swipeDuration 的默认值为 300ms [#7970](https://github.com/vant-ui/vant/issues/7970) +- ShareSheet: 新增 wechat-moments 朋友圈图标 [ca66fb](https://github.com/vant-ui/vant/commit/ca66fbca36c5c839e3a294d465b0fc2bd7bf5039) +- Slider: 新增 readonly 属性 [4cd991](https://github.com/vant-ui/vant/commit/4cd991dfec01bd5342cb59b750d0dfa5901b8dc8) **style** -- ShareSheet: 更新 qrcode 图标 [32a08b](https://github.com/youzan/vant/commit/32a08bb6807d9d38027e03eef376d82b6eab282e) -- TreeSelect: 新增右侧选项点击反馈 [bada31](https://github.com/youzan/vant/commit/bada315fb3b0fbdf30c663170c867bbbc274687c) +- ShareSheet: 更新 qrcode 图标 [32a08b](https://github.com/vant-ui/vant/commit/32a08bb6807d9d38027e03eef376d82b6eab282e) +- TreeSelect: 新增右侧选项点击反馈 [bada31](https://github.com/vant-ui/vant/commit/bada315fb3b0fbdf30c663170c867bbbc274687c) **Bug Fixes** -- Calendar: 修复调用 reset 方法时未重置到默认日期的问题 [#7967](https://github.com/youzan/vant/issues/7967) -- Dialog: 修复切换 allowHtml 时 message 渲染不正确的问题 [#7968](https://github.com/youzan/vant/issues/7968) -- ImagePreview: 修复 scale 事件的 index 参数为 undefined 的问题 [#7971](https://github.com/youzan/vant/issues/7971) +- Calendar: 修复调用 reset 方法时未重置到默认日期的问题 [#7967](https://github.com/vant-ui/vant/issues/7967) +- Dialog: 修复切换 allowHtml 时 message 渲染不正确的问题 [#7968](https://github.com/vant-ui/vant/issues/7968) +- ImagePreview: 修复 scale 事件的 index 参数为 undefined 的问题 [#7971](https://github.com/vant-ui/vant/issues/7971) -### [v3.0.4](https://github.com/youzan/vant/compare/v3.0.3...v3.0.4) +### [v3.0.4](https://github.com/vant-ui/vant/compare/v3.0.3...v3.0.4) `2021-01-17` **Feature** -- Cascader: 新增 field-names 属性,用于自定义字段名 [#7933](https://github.com/youzan/vant/issues/7933) -- Cell: 支持在设置 is-link 时将 clickable 设置为 false 来禁用点击状态 [#7923](https://github.com/youzan/vant/issues/7923) -- DropdownItem: 支持传入数组或对象格式的 title-class [#7926](https://github.com/youzan/vant/issues/7926) -- Popup: 支持传入数组或对象格式的 overlay-class [#7924](https://github.com/youzan/vant/issues/7924) -- Toast: 新增 overlayClass 选项 [#7925](https://github.com/youzan/vant/issues/7925) -- Toast: 新增 overlayStyle 选项 [#7898](https://github.com/youzan/vant/issues/7898) +- Cascader: 新增 field-names 属性,用于自定义字段名 [#7933](https://github.com/vant-ui/vant/issues/7933) +- Cell: 支持在设置 is-link 时将 clickable 设置为 false 来禁用点击状态 [#7923](https://github.com/vant-ui/vant/issues/7923) +- DropdownItem: 支持传入数组或对象格式的 title-class [#7926](https://github.com/vant-ui/vant/issues/7926) +- Popup: 支持传入数组或对象格式的 overlay-class [#7924](https://github.com/vant-ui/vant/issues/7924) +- Toast: 新增 overlayClass 选项 [#7925](https://github.com/vant-ui/vant/issues/7925) +- Toast: 新增 overlayStyle 选项 [#7898](https://github.com/vant-ui/vant/issues/7898) **Bug Fixes** -- AddressEdit: 修复无法调用 setAreaCode 方法的问题 [6a184f](https://github.com/youzan/vant/commit/6a184f8e930fea31035680dd44f40bc007aba4cd) -- Circle: 修复渐变色不生效的问题 [#7909](https://github.com/youzan/vant/issues/7909) -- NumberKeyboard: 修复 delete、extra-key 插槽不生效的问题 [52a0e5](https://github.com/youzan/vant/commit/52a0e5a8c70dcc07b87140e33318acefcbdd3ef9) -- Search: 修复控制台存在 update:modelValue warning 的问题 [#7872](https://github.com/youzan/vant/issues/7872) -- Swipe: 修复页面隐藏时未暂停自动轮播的问题 [1c428f](https://github.com/youzan/vant/commit/1c428f240cd44d3389510263dd7f03973cfbfa2b) +- AddressEdit: 修复无法调用 setAreaCode 方法的问题 [6a184f](https://github.com/vant-ui/vant/commit/6a184f8e930fea31035680dd44f40bc007aba4cd) +- Circle: 修复渐变色不生效的问题 [#7909](https://github.com/vant-ui/vant/issues/7909) +- NumberKeyboard: 修复 delete、extra-key 插槽不生效的问题 [52a0e5](https://github.com/vant-ui/vant/commit/52a0e5a8c70dcc07b87140e33318acefcbdd3ef9) +- Search: 修复控制台存在 update:modelValue warning 的问题 [#7872](https://github.com/vant-ui/vant/issues/7872) +- Swipe: 修复页面隐藏时未暂停自动轮播的问题 [1c428f](https://github.com/vant-ui/vant/commit/1c428f240cd44d3389510263dd7f03973cfbfa2b) -### [v3.0.3](https://github.com/youzan/vant/compare/v3.0.2...v3.0.3) +### [v3.0.3](https://github.com/vant-ui/vant/compare/v3.0.2...v3.0.3) `2021-01-10` **Feature** -- Field: 新增 autocomplate 属性 [#7877](https://github.com/youzan/vant/issues/7877) +- Field: 新增 autocomplate 属性 [#7877](https://github.com/vant-ui/vant/issues/7877) **Bug Fixes** -- Area: 修复无法调用 getValues 方法的问题 [03c7b4](https://github.com/youzan/vant/commit/03c7b46b04d8c543f952cbf8399ec21ca39f979f) -- ImagePreview: 修复 close-on-popstate 属性不生效的问题 [#7880](https://github.com/youzan/vant/issues/7880) -- List: 修复更新 error 属性后未触发位置检查的问题 [b79c32](https://github.com/youzan/vant/commit/b79c32183f6159a663dad42f6189a939061f9f32) +- Area: 修复无法调用 getValues 方法的问题 [03c7b4](https://github.com/vant-ui/vant/commit/03c7b46b04d8c543f952cbf8399ec21ca39f979f) +- ImagePreview: 修复 close-on-popstate 属性不生效的问题 [#7880](https://github.com/vant-ui/vant/issues/7880) +- List: 修复更新 error 属性后未触发位置检查的问题 [b79c32](https://github.com/vant-ui/vant/commit/b79c32183f6159a663dad42f6189a939061f9f32) -### [v3.0.2](https://github.com/youzan/vant/compare/v3.0.1...v3.0.2) +### [v3.0.2](https://github.com/vant-ui/vant/compare/v3.0.1...v3.0.2) `2021-01-02` **Feature** -- Calendar: 新增 scrollToDate 方法 [#7847](https://github.com/youzan/vant/issues/7847) -- Form: 新增 disabled 属性 [#7830](https://github.com/youzan/vant/issues/7830) -- Form: 新增 readonly 属性 [#7830](https://github.com/youzan/vant/issues/7830) -- Loading: 新增 text-color 属性 [#7806](https://github.com/youzan/vant/issues/7806) -- Picker: 新增 columns-field-names 属性 [#7791](https://github.com/youzan/vant/issues/7791) -- NumberKeyboard: 新增 random-key-order 属性 [#7841](https://github.com/youzan/vant/issues/7841) +- Calendar: 新增 scrollToDate 方法 [#7847](https://github.com/vant-ui/vant/issues/7847) +- Form: 新增 disabled 属性 [#7830](https://github.com/vant-ui/vant/issues/7830) +- Form: 新增 readonly 属性 [#7830](https://github.com/vant-ui/vant/issues/7830) +- Loading: 新增 text-color 属性 [#7806](https://github.com/vant-ui/vant/issues/7806) +- Picker: 新增 columns-field-names 属性 [#7791](https://github.com/vant-ui/vant/issues/7791) +- NumberKeyboard: 新增 random-key-order 属性 [#7841](https://github.com/vant-ui/vant/issues/7841) **Bug Fixes** -- Calendar: 修复 title 插槽不生效的问题 [#7826](https://github.com/youzan/vant/issues/7826) -- Calendar: 修复动态设置 defaultDate 不生效的问题 [#7815](https://github.com/youzan/vant/issues/7815) -- Popup: 修复组件销毁时未解除滚动锁定的问题 [#7835](https://github.com/youzan/vant/issues/7835) -- Stepper: 修复动态设置 modelValue 时未格式化的问题 [81494d](https://github.com/youzan/vant/commit/81494dfa13e6ab9a3f12995f481290d27d14ab7a) +- Calendar: 修复 title 插槽不生效的问题 [#7826](https://github.com/vant-ui/vant/issues/7826) +- Calendar: 修复动态设置 defaultDate 不生效的问题 [#7815](https://github.com/vant-ui/vant/issues/7815) +- Popup: 修复组件销毁时未解除滚动锁定的问题 [#7835](https://github.com/vant-ui/vant/issues/7835) +- Stepper: 修复动态设置 modelValue 时未格式化的问题 [81494d](https://github.com/vant-ui/vant/commit/81494dfa13e6ab9a3f12995f481290d27d14ab7a) -### [v3.0.1](https://github.com/youzan/vant/compare/v3.0.0...v3.0.1) +### [v3.0.1](https://github.com/vant-ui/vant/compare/v3.0.0...v3.0.1) `2020-12-27` **Feature** -- Form: valdiate 方法支持校验多个表单项 [#7810](https://github.com/youzan/vant/issues/7810) -- Form: resetValidation 方法支持重置多个表单项 [#7811](https://github.com/youzan/vant/issues/7811) -- Stepper: 新增 show-input 属性,用于控制是否显示输入框 [#7812](https://github.com/youzan/vant/issues/7812) -- IndexBar: 新增 scrollTo 方法 [#7794](https://github.com/youzan/vant/issues/7794) +- Form: valdiate 方法支持校验多个表单项 [#7810](https://github.com/vant-ui/vant/issues/7810) +- Form: resetValidation 方法支持重置多个表单项 [#7811](https://github.com/vant-ui/vant/issues/7811) +- Stepper: 新增 show-input 属性,用于控制是否显示输入框 [#7812](https://github.com/vant-ui/vant/issues/7812) +- IndexBar: 新增 scrollTo 方法 [#7794](https://github.com/vant-ui/vant/issues/7794) **Bug Fixes** -- Cascader: 修复动画闪烁的问题 [#7802](https://github.com/youzan/vant/issues/7802) -- CountDown: 修复 SSR 过程中内存泄露的问题 [#7808](https://github.com/youzan/vant/issues/7808) -- Image: 修复 SSR 时提示 DOM 不匹配的问题 [#7822](https://github.com/youzan/vant/issues/7822) -- Popup: 修复滚动穿透的问题 [#7738](https://github.com/youzan/vant/issues/7738) -- Stepper: 修复 change 事件重复触发的问题 [#7820](https://github.com/youzan/vant/issues/7820) -- Swipe: 修复 SSR 样式不正确的问题 [#7821](https://github.com/youzan/vant/issues/7821) -- Swipe: 修复在 keepalive 标签内使用时显示不正确的问题 [#7772](https://github.com/youzan/vant/issues/7772) +- Cascader: 修复动画闪烁的问题 [#7802](https://github.com/vant-ui/vant/issues/7802) +- CountDown: 修复 SSR 过程中内存泄露的问题 [#7808](https://github.com/vant-ui/vant/issues/7808) +- Image: 修复 SSR 时提示 DOM 不匹配的问题 [#7822](https://github.com/vant-ui/vant/issues/7822) +- Popup: 修复滚动穿透的问题 [#7738](https://github.com/vant-ui/vant/issues/7738) +- Stepper: 修复 change 事件重复触发的问题 [#7820](https://github.com/vant-ui/vant/issues/7820) +- Swipe: 修复 SSR 样式不正确的问题 [#7821](https://github.com/vant-ui/vant/issues/7821) +- Swipe: 修复在 keepalive 标签内使用时显示不正确的问题 [#7772](https://github.com/vant-ui/vant/issues/7772) -### [v3.0.0](https://github.com/youzan/vant/compare/v2.12.0...v3.0.0) +### [v3.0.0](https://github.com/vant-ui/vant/compare/v2.12.0...v3.0.0) `2020-12-23` **更新内容** -请参考 [Vant 3.0 正式发布:全面拥抱 Vue 3](https://github.com/youzan/vant/issues/7797)。 +请参考 [Vant 3.0 正式发布:全面拥抱 Vue 3](https://github.com/vant-ui/vant/issues/7797)。 -### [v3.0.0-rc.4](https://github.com/youzan/vant/compare/v2.12.0-beta.0...v3.0.0-rc.4) +### [v3.0.0-rc.4](https://github.com/vant-ui/vant/compare/v2.12.0-beta.0...v3.0.0-rc.4) `2020-12-21` **New Component** -- 新增 Cascader 级联选择组件 [#7771](https://github.com/youzan/vant/pull/7771) +- 新增 Cascader 级联选择组件 [#7771](https://github.com/vant-ui/vant/pull/7771) **Feature** -- Stepper: 新增 show-input 属性 [#7785](https://github.com/youzan/vant/issues/7785) -- uploader: 支持在 fileList 的选项中单独配置 `imageFit` `deletable` `previewSize` `beforeDelete` 字段 [#7731](https://github.com/youzan/vant/issues/7731) +- Stepper: 新增 show-input 属性 [#7785](https://github.com/vant-ui/vant/issues/7785) +- uploader: 支持在 fileList 的选项中单独配置 `imageFit` `deletable` `previewSize` `beforeDelete` 字段 [#7731](https://github.com/vant-ui/vant/issues/7731) **Types** -- Lazyload: 修复类型定义错误 [#7757](https://github.com/youzan/vant/issues/7757) +- Lazyload: 修复类型定义错误 [#7757](https://github.com/vant-ui/vant/issues/7757) -### [v3.0.0-rc.3](https://github.com/youzan/vant/compare/v2.11.2...v3.0.0-rc.3) +### [v3.0.0-rc.3](https://github.com/vant-ui/vant/compare/v2.11.2...v3.0.0-rc.3) `2020-12-10` **Breaking Change** -- Stepper: `async-change` 属性重命名为 `before-change`,并调整使用方法 [e026d2](https://github.com/youzan/vant/commit/e026d2d83f66bb25c66f805cf8085de70d8e009f) +- Stepper: `async-change` 属性重命名为 `before-change`,并调整使用方法 [e026d2](https://github.com/vant-ui/vant/commit/e026d2d83f66bb25c66f805cf8085de70d8e009f) **perf** -- Stepper: 优化代码包体积 [#7675](https://github.com/youzan/vant/issues/7675) +- Stepper: 优化代码包体积 [#7675](https://github.com/vant-ui/vant/issues/7675) **Bug Fixes** -- Stepper: 修复禁用按钮仍然能点击的问题 [c27760](https://github.com/youzan/vant/commit/c277603160a7a17685dc532304b9a0c2444db959) -- Tabs: 修复动态设置 active 值无效的问题 [#7717](https://github.com/youzan/vant/issues/7717) +- Stepper: 修复禁用按钮仍然能点击的问题 [c27760](https://github.com/vant-ui/vant/commit/c277603160a7a17685dc532304b9a0c2444db959) +- Tabs: 修复动态设置 active 值无效的问题 [#7717](https://github.com/vant-ui/vant/issues/7717) - 包含 `v2.11.3` 版本的所有改动和修复 -### [v3.0.0-rc.2](https://github.com/youzan/vant/compare/v3.0.0-rc.1...v3.0.0-rc.2) +### [v3.0.0-rc.2](https://github.com/vant-ui/vant/compare/v3.0.0-rc.1...v3.0.0-rc.2) `2020-12-04` **perf** -- 优化包体积大小 [#7675](https://github.com/youzan/vant/issues/7675) +- 优化包体积大小 [#7675](https://github.com/vant-ui/vant/issues/7675) **Bug Fixes** -- Lazyload: 修复未导出 ESModule 的问题 [#7685](https://github.com/youzan/vant/issues/7685) -- NumberKeyboard: 修复 hide-on-click-outside 属性不生效的问题 [#7668](https://github.com/youzan/vant/issues/7668) [#7667](https://github.com/youzan/vant/issues/7667) -- Uploader: 修复动态修改 status 不生效的问题 [#7681](https://github.com/youzan/vant/issues/7681) -- Types: 修复 teleport 类型定义错误的问题 [#7687](https://github.com/youzan/vant/issues/7687) +- Lazyload: 修复未导出 ESModule 的问题 [#7685](https://github.com/vant-ui/vant/issues/7685) +- NumberKeyboard: 修复 hide-on-click-outside 属性不生效的问题 [#7668](https://github.com/vant-ui/vant/issues/7668) [#7667](https://github.com/vant-ui/vant/issues/7667) +- Uploader: 修复动态修改 status 不生效的问题 [#7681](https://github.com/vant-ui/vant/issues/7681) +- Types: 修复 teleport 类型定义错误的问题 [#7687](https://github.com/vant-ui/vant/issues/7687) - 包含 `v2.11.2` 版本的所有改动和修复 -### [v3.0.0-rc.1](https://github.com/youzan/vant/compare/v2.11.1...v3.0.0-rc.1) +### [v3.0.0-rc.1](https://github.com/vant-ui/vant/compare/v2.11.1...v3.0.0-rc.1) `2020-12-01` **Breaking Change** -- Popover: trigger 属性的默认值调整为 click [1699d9](https://github.com/youzan/vant/commit/1699d9927240373867f065355136fd27ac04b0e5) +- Popover: trigger 属性的默认值调整为 click [1699d9](https://github.com/vant-ui/vant/commit/1699d9927240373867f065355136fd27ac04b0e5) **Feature** -- Lazyload: 适配 Vue 3 [d3ca40](https://github.com/youzan/vant/commit/d3ca404f98ffd572035d7048c949e8942b89fc55) +- Lazyload: 适配 Vue 3 [d3ca40](https://github.com/vant-ui/vant/commit/d3ca404f98ffd572035d7048c949e8942b89fc55) - 包含 `v2.11.1` 版本的所有改动和修复 **style** -- Circle: 新增 @circle-color Less 变量 [1a6cf6](https://github.com/youzan/vant/commit/1a6cf64f548bb19c6bd478db67f2e0a1d7c9a145) -- Circle: 新增 @circle-layer-color Less 变量 [65a5ed](https://github.com/youzan/vant/commit/65a5ed85537b7a406655bd39f7e4f5332d780a82) -- Circle: 新增 @circle-size Less 变量 [b57f7e](https://github.com/youzan/vant/commit/b57f7e9d9810ce95047334f0897899ebddaac6f3) -- IndexBar: 默认高亮颜色调整为红色 [65b680](https://github.com/youzan/vant/commit/65b6807a7e6b8a415b5f228c5d55426cd81a1dfa) [87b0a0](https://github.com/youzan/vant/commit/87b0a034958296a720409ded893e708081c35bc5) -- IndexBar: 右边距调整为 8px [aad055](https://github.com/youzan/vant/commit/aad055906484d8b6c38a9f84a768f09522b13a41) +- Circle: 新增 @circle-color Less 变量 [1a6cf6](https://github.com/vant-ui/vant/commit/1a6cf64f548bb19c6bd478db67f2e0a1d7c9a145) +- Circle: 新增 @circle-layer-color Less 变量 [65a5ed](https://github.com/vant-ui/vant/commit/65a5ed85537b7a406655bd39f7e4f5332d780a82) +- Circle: 新增 @circle-size Less 变量 [b57f7e](https://github.com/vant-ui/vant/commit/b57f7e9d9810ce95047334f0897899ebddaac6f3) +- IndexBar: 默认高亮颜色调整为红色 [65b680](https://github.com/vant-ui/vant/commit/65b6807a7e6b8a415b5f228c5d55426cd81a1dfa) [87b0a0](https://github.com/vant-ui/vant/commit/87b0a034958296a720409ded893e708081c35bc5) +- IndexBar: 右边距调整为 8px [aad055](https://github.com/vant-ui/vant/commit/aad055906484d8b6c38a9f84a768f09522b13a41) **Bug Fixes** -- Image: 修复 lazy-load 属性不生效的问题 [0ba818](https://github.com/youzan/vant/commit/0ba8187bf540abc0c593c6571554f1b72e8d3e19) -- Lazyload: 修复类型定义错误的问题 [d0c4c2](https://github.com/youzan/vant/commit/d0c4c26d758f18ac3f33fc7d4867a98b731b129d) -- Popup: 修复 transition-appear 属性不生效的问题 [dd6930](https://github.com/youzan/vant/commit/dd6930533593a363e25f56717e5c17184ef6e867) +- Image: 修复 lazy-load 属性不生效的问题 [0ba818](https://github.com/vant-ui/vant/commit/0ba8187bf540abc0c593c6571554f1b72e8d3e19) +- Lazyload: 修复类型定义错误的问题 [d0c4c2](https://github.com/vant-ui/vant/commit/d0c4c26d758f18ac3f33fc7d4867a98b731b129d) +- Popup: 修复 transition-appear 属性不生效的问题 [dd6930](https://github.com/vant-ui/vant/commit/dd6930533593a363e25f56717e5c17184ef6e867) -### [v3.0.0-beta.10](https://github.com/youzan/vant/compare/v3.0.0-beta.9...v3.0.0-beta.10) +### [v3.0.0-beta.10](https://github.com/vant-ui/vant/compare/v3.0.0-beta.9...v3.0.0-beta.10) `2020-11-22` **Bug Fixes** -- Radio: 修复 Radio 无法操作的问题 [0f7c9a](https://github.com/youzan/vant/commit/0f7c9a317cc9a7219ec8431bae0658a5e84d43af) +- Radio: 修复 Radio 无法操作的问题 [0f7c9a](https://github.com/vant-ui/vant/commit/0f7c9a317cc9a7219ec8431bae0658a5e84d43af) -### [v3.0.0-beta.9](https://github.com/youzan/vant/compare/v2.11.0...v3.0.0-beta.9) +### [v3.0.0-beta.9](https://github.com/vant-ui/vant/compare/v2.11.0...v3.0.0-beta.9) `2020-11-22` **New Component** -- 新增 [Popover 气泡弹出框](#/zh-CN/popover)组件 [#7579](https://github.com/youzan/vant/issues/7579) +- 新增 [Popover 气泡弹出框](#/zh-CN/popover)组件 [#7579](https://github.com/vant-ui/vant/issues/7579) ![](https://fastly.jsdelivr.net/npm/@vant/assets/component-preview-1122.png) **Feature** -- Search: 新增 blur 方法 [d26282](https://github.com/youzan/vant/commit/d26282e54245a47075fed01baf6304e0d84559e0) -- Search: 新增 focus 方法 [2833bc](https://github.com/youzan/vant/commit/2833bc03f5243370e5a3aeece5b823fc2ebde64c) +- Search: 新增 blur 方法 [d26282](https://github.com/vant-ui/vant/commit/d26282e54245a47075fed01baf6304e0d84559e0) +- Search: 新增 focus 方法 [2833bc](https://github.com/vant-ui/vant/commit/2833bc03f5243370e5a3aeece5b823fc2ebde64c) **Bug Fixes** -- Checkbox: 修复 bind-group 属性不生效的问题 [#7447](https://github.com/youzan/vant/issues/7447) -- Badge: 修复无类型定义的问题 [c487b3](https://github.com/youzan/vant/commit/c487b394efa946f6fae5059f1e1a69be11a25a6e) +- Checkbox: 修复 bind-group 属性不生效的问题 [#7447](https://github.com/vant-ui/vant/issues/7447) +- Badge: 修复无类型定义的问题 [c487b3](https://github.com/vant-ui/vant/commit/c487b394efa946f6fae5059f1e1a69be11a25a6e) - 包含 `v2.11.0` 版本的所有改动和修复 -### [v3.0.0-beta.8](https://github.com/youzan/vant/compare/v2.10.14...v3.0.0-beta.8) +### [v3.0.0-beta.8](https://github.com/vant-ui/vant/compare/v2.10.14...v3.0.0-beta.8) `2020-11-15` **Bug Fixes** -- ActionSheet: 修复选项禁用或加载时仍能点击的问题 [996598](https://github.com/youzan/vant/commit/996598686955b90bb5cf7589b5ca1589e17e2016) -- ActionSheet: 修复 callback 选项不生效的问题 [27b761](https://github.com/youzan/vant/commit/27b761f534186a6bfa2e8e54cc78ccb51ec48e25) -- Calendar: 修复 default-date 为 null 时渲染失败的问题 [#7519](https://github.com/youzan/vant/issues/7519) -- DatetimePicker: 修复 DOM 上渲染多余属性的问题 [ed332d](https://github.com/youzan/vant/commit/ed332daf319e2005995f279026a57d4f30a339f6) -- NoticeBar: 修复初始化逻辑执行多次的问题 [0712d9](https://github.com/youzan/vant/commit/0712d920634e7b70b77f49c71337172bf3ece470) -- Swipe: 修复在 lazy-render 模式下渲染失败的问题 [e06ba4](https://github.com/youzan/vant/commit/e06ba480a9ec02af8659616ff6ceb5155defddad) -- Swipe: 修复初始化逻辑执行多次的问题 [c94173](https://github.com/youzan/vant/commit/c9417341e0adb681db6108cf1383bab77ab90da9) -- Tabs: 修复初始化逻辑执行多次的问题 [599e81](https://github.com/youzan/vant/commit/599e817cd4f4239b4a93c75f34118731d47891b5) +- ActionSheet: 修复选项禁用或加载时仍能点击的问题 [996598](https://github.com/vant-ui/vant/commit/996598686955b90bb5cf7589b5ca1589e17e2016) +- ActionSheet: 修复 callback 选项不生效的问题 [27b761](https://github.com/vant-ui/vant/commit/27b761f534186a6bfa2e8e54cc78ccb51ec48e25) +- Calendar: 修复 default-date 为 null 时渲染失败的问题 [#7519](https://github.com/vant-ui/vant/issues/7519) +- DatetimePicker: 修复 DOM 上渲染多余属性的问题 [ed332d](https://github.com/vant-ui/vant/commit/ed332daf319e2005995f279026a57d4f30a339f6) +- NoticeBar: 修复初始化逻辑执行多次的问题 [0712d9](https://github.com/vant-ui/vant/commit/0712d920634e7b70b77f49c71337172bf3ece470) +- Swipe: 修复在 lazy-render 模式下渲染失败的问题 [e06ba4](https://github.com/vant-ui/vant/commit/e06ba480a9ec02af8659616ff6ceb5155defddad) +- Swipe: 修复初始化逻辑执行多次的问题 [c94173](https://github.com/vant-ui/vant/commit/c9417341e0adb681db6108cf1383bab77ab90da9) +- Tabs: 修复初始化逻辑执行多次的问题 [599e81](https://github.com/vant-ui/vant/commit/599e817cd4f4239b4a93c75f34118731d47891b5) - 包含 `v2.10.14` 版本的所有改动和修复 -### [v3.0.0-beta.7](https://github.com/youzan/vant/compare/v2.10.13...v3.0.0-beta.7) +### [v3.0.0-beta.7](https://github.com/vant-ui/vant/compare/v2.10.13...v3.0.0-beta.7) `2020-11-08` **Bug Fixes** -- Calendar: 修复动态设置 minDate 和 maxDate 时展示错误的问题 [#7412](https://github.com/youzan/vant/issues/7412) -- DropdownMenu: 修复无法禁用 closeOnClickOutside 属性的问题 [#7473](https://github.com/youzan/vant/issues/7473) -- Uploader: 修复在 before-read 返回 true 无效的问题 [#7493](https://github.com/youzan/vant/issues/7493) -- Uploader: 修复在 delete 事件中无法获取 index 的问题 [#7481](https://github.com/youzan/vant/issues/7481) +- Calendar: 修复动态设置 minDate 和 maxDate 时展示错误的问题 [#7412](https://github.com/vant-ui/vant/issues/7412) +- DropdownMenu: 修复无法禁用 closeOnClickOutside 属性的问题 [#7473](https://github.com/vant-ui/vant/issues/7473) +- Uploader: 修复在 before-read 返回 true 无效的问题 [#7493](https://github.com/vant-ui/vant/issues/7493) +- Uploader: 修复在 delete 事件中无法获取 index 的问题 [#7481](https://github.com/vant-ui/vant/issues/7481) - 包含 `v2.10.13` 版本的所有改动和修复 -### [v3.0.0-beta.6](https://github.com/youzan/vant/compare/v2.10.12...v3.0.0-beta.6) +### [v3.0.0-beta.6](https://github.com/vant-ui/vant/compare/v2.10.12...v3.0.0-beta.6) `2020-11-01` **Bug Fixes** -- Swipe: 修复开启 lazy-render 且 loop 为 false 时渲染节点不正确的问题 [#7465](https://github.com/youzan/vant/issues/7465) -- Swipe: 修复开启 lazy-render 时子节点被重复挂载的问题 [#7466](https://github.com/youzan/vant/issues/7466) -- Tabs: 修复初始动画错误的问题 [49e877](https://github.com/youzan/vant/commit/49e87756c70b33e1a56620ebee3c0aa53fb9fc86) -- ActionBar: 修复类型定义不存在的问题 [#7440](https://github.com/youzan/vant/issues/7440) [#7442](https://github.com/youzan/vant/issues/7442) +- Swipe: 修复开启 lazy-render 且 loop 为 false 时渲染节点不正确的问题 [#7465](https://github.com/vant-ui/vant/issues/7465) +- Swipe: 修复开启 lazy-render 时子节点被重复挂载的问题 [#7466](https://github.com/vant-ui/vant/issues/7466) +- Tabs: 修复初始动画错误的问题 [49e877](https://github.com/vant-ui/vant/commit/49e87756c70b33e1a56620ebee3c0aa53fb9fc86) +- ActionBar: 修复类型定义不存在的问题 [#7440](https://github.com/vant-ui/vant/issues/7440) [#7442](https://github.com/vant-ui/vant/issues/7442) - 包含 `v2.10.12` 版本的所有改动和修复 -### [v3.0.0-beta.5](https://github.com/youzan/vant/compare/v2.10.11...v3.0.0-beta.5) +### [v3.0.0-beta.5](https://github.com/vant-ui/vant/compare/v2.10.11...v3.0.0-beta.5) `2020-10-24` **Bug Fixes** -- Swipe: 修复动态插入轮播时无法滚动的问题 [#7366](https://github.com/youzan/vant/issues/7366) -- Toast: 修复 forbidClick 属性不生效的问题 [#7396](https://github.com/youzan/vant/issues/7396) -- Toast: 修复 duration 变化未生效的问题 [#7394](https://github.com/youzan/vant/issues/7394) +- Swipe: 修复动态插入轮播时无法滚动的问题 [#7366](https://github.com/vant-ui/vant/issues/7366) +- Toast: 修复 forbidClick 属性不生效的问题 [#7396](https://github.com/vant-ui/vant/issues/7396) +- Toast: 修复 duration 变化未生效的问题 [#7394](https://github.com/vant-ui/vant/issues/7394) - 包含 `v2.10.11` 版本的所有改动和修复 -### [v3.0.0-beta.4](https://github.com/youzan/vant/compare/v2.10.10...v3.0.0-beta.4) +### [v3.0.0-beta.4](https://github.com/vant-ui/vant/compare/v2.10.10...v3.0.0-beta.4) `2020-10-18` **refactor** -- Layout: 默认使用 flex 布局,移除 type 属性 [f7a120](https://github.com/youzan/vant/commit/f7a1208a18f61eaa9dbec80db1c585f19229cd91) +- Layout: 默认使用 flex 布局,移除 type 属性 [f7a120](https://github.com/vant-ui/vant/commit/f7a1208a18f61eaa9dbec80db1c585f19229cd91) **style** -- Stepper: 布局方式调整为 inline-block [e9c282](https://github.com/youzan/vant/commit/e9c28212358cd0317442051383b92d23441920c6) +- Stepper: 布局方式调整为 inline-block [e9c282](https://github.com/vant-ui/vant/commit/e9c28212358cd0317442051383b92d23441920c6) **Bug Fixes** -- ContactList: 修复 select 事件重复触发的问题 [1dd408](https://github.com/youzan/vant/commit/1dd4083102272250637d6397bd98355d87d99bf5) -- Search: 修复布局错误的问题 [9cd48e](https://github.com/youzan/vant/commit/9cd48e0e333fc6f0a2f71b568b7e5b5ca2138bae) -- Image: 修复图片加载错误时仍会渲染图片节点的问题 [59fb1d](https://github.com/youzan/vant/commit/59fb1d4dfcdc99773642a63c62e6b08baa3fac30) -- Pagination: 修复 change 事件触发时机错误的问题 [346035](https://github.com/youzan/vant/commit/3460351ce396bb418408ddbfad462ddac8ef9477) -- Toast: 修复展示时会锁定滚动的问题 [a622ca](https://github.com/youzan/vant/commit/a622caa649baedac7cfe9614ded88e7ec1cd18e1) +- ContactList: 修复 select 事件重复触发的问题 [1dd408](https://github.com/vant-ui/vant/commit/1dd4083102272250637d6397bd98355d87d99bf5) +- Search: 修复布局错误的问题 [9cd48e](https://github.com/vant-ui/vant/commit/9cd48e0e333fc6f0a2f71b568b7e5b5ca2138bae) +- Image: 修复图片加载错误时仍会渲染图片节点的问题 [59fb1d](https://github.com/vant-ui/vant/commit/59fb1d4dfcdc99773642a63c62e6b08baa3fac30) +- Pagination: 修复 change 事件触发时机错误的问题 [346035](https://github.com/vant-ui/vant/commit/3460351ce396bb418408ddbfad462ddac8ef9477) +- Toast: 修复展示时会锁定滚动的问题 [a622ca](https://github.com/vant-ui/vant/commit/a622caa649baedac7cfe9614ded88e7ec1cd18e1) - 包含 `v2.10.10` 版本的所有改动和修复 -### [v3.0.0-beta.3](https://github.com/youzan/vant/compare/v2.10.9...v3.0.0-beta.3) +### [v3.0.0-beta.3](https://github.com/vant-ui/vant/compare/v2.10.9...v3.0.0-beta.3) `2020-10-03` **breaking changes** -- Checkbox: 在 Cell 内部使用时,现在需要手动添加 `@click.stop` 来阻止事件冒泡 [#7023](https://github.com/youzan/vant/issues/7023) +- Checkbox: 在 Cell 内部使用时,现在需要手动添加 `@click.stop` 来阻止事件冒泡 [#7023](https://github.com/vant-ui/vant/issues/7023) **Feature** -- 新增 Badge 徽标组件 [#6573](https://github.com/youzan/vant/issues/6573) -- Tab: 增加滑动切换动画 [#1174](https://github.com/youzan/vant/issues/1174) +- 新增 Badge 徽标组件 [#6573](https://github.com/vant-ui/vant/issues/6573) +- Tab: 增加滑动切换动画 [#1174](https://github.com/vant-ui/vant/issues/1174) - 包含 `v2.10.9` 版本的所有改动和修复 -### [v3.0.0-beta.2](https://github.com/youzan/vant/compare/v3.0.0-beta.1...v3.0.0-beta.2) +### [v3.0.0-beta.2](https://github.com/vant-ui/vant/compare/v3.0.0-beta.1...v3.0.0-beta.2) `2020-09-28` **Bug Fixes** -- 修复引入 Vant 时提示 'global is not defined' 的问题 [7007fc](https://github.com/youzan/vant/commit/7007fcf9eaea239f5e680068d59d8e9f8202ec3b) +- 修复引入 Vant 时提示 'global is not defined' 的问题 [7007fc](https://github.com/vant-ui/vant/commit/7007fcf9eaea239f5e680068d59d8e9f8202ec3b) -### [v3.0.0-beta.1](https://github.com/youzan/vant/compare/v2.10.8...v3.0.0-beta.1) +### [v3.0.0-beta.1](https://github.com/vant-ui/vant/compare/v2.10.8...v3.0.0-beta.1) `2020-09-28` **breaking changes** -- DatetimePicker: change 事件的第一个参数调整为当前选中值 [058665](https://github.com/youzan/vant/commit/05866514dbdac098d8210f8b08e2fbc8d3479ada) +- DatetimePicker: change 事件的第一个参数调整为当前选中值 [058665](https://github.com/vant-ui/vant/commit/05866514dbdac098d8210f8b08e2fbc8d3479ada) **refactor** 使用 Composition API 重构以下组件: -- AddressEdit [749e4a](https://github.com/youzan/vant/commit/749e4ae73b9c07265e81237493b5e7d37afc6255) -- Calendar [fc50e2](https://github.com/youzan/vant/commit/fc50e26416feb1cbc3d07de23cd39bf6ba57eefc) -- Checkbox [278ea6](https://github.com/youzan/vant/commit/278ea6a439b65c1bf1ce420ab7619858a739486c) -- ContactEdit [4f0921](https://github.com/youzan/vant/commit/4f0921cbdffe1f654ce75222027f8b85120ab67b) -- DatetimePicker [638842](https://github.com/youzan/vant/commit/6388423c9609e099565e51423271e333fab38a55) -- Field [00dbf2](https://github.com/youzan/vant/commit/00dbf2cc50c44d0ac45bc43daeaa91730b1a6e23) -- Form [92aac9](https://github.com/youzan/vant/commit/92aac941fc25e028a7631be301ed895edff53487) -- Radio [aafbcf](https://github.com/youzan/vant/commit/aafbcfcf04e7c0a4b4f5da83291e9b158f2503c3) -- Tabs [882e3e](https://github.com/youzan/vant/commit/882e3ef5e787e587909bde1064f5dabe3d66ad72) +- AddressEdit [749e4a](https://github.com/vant-ui/vant/commit/749e4ae73b9c07265e81237493b5e7d37afc6255) +- Calendar [fc50e2](https://github.com/vant-ui/vant/commit/fc50e26416feb1cbc3d07de23cd39bf6ba57eefc) +- Checkbox [278ea6](https://github.com/vant-ui/vant/commit/278ea6a439b65c1bf1ce420ab7619858a739486c) +- ContactEdit [4f0921](https://github.com/vant-ui/vant/commit/4f0921cbdffe1f654ce75222027f8b85120ab67b) +- DatetimePicker [638842](https://github.com/vant-ui/vant/commit/6388423c9609e099565e51423271e333fab38a55) +- Field [00dbf2](https://github.com/vant-ui/vant/commit/00dbf2cc50c44d0ac45bc43daeaa91730b1a6e23) +- Form [92aac9](https://github.com/vant-ui/vant/commit/92aac941fc25e028a7631be301ed895edff53487) +- Radio [aafbcf](https://github.com/vant-ui/vant/commit/aafbcfcf04e7c0a4b4f5da83291e9b158f2503c3) +- Tabs [882e3e](https://github.com/vant-ui/vant/commit/882e3ef5e787e587909bde1064f5dabe3d66ad72) **Feature** -- Locale: 新增德语语言包 [#7245](https://github.com/youzan/vant/issues/7245) -- Pagination: 新增多个插槽 [#7222](https://github.com/youzan/vant/issues/7222) +- Locale: 新增德语语言包 [#7245](https://github.com/vant-ui/vant/issues/7245) +- Pagination: 新增多个插槽 [#7222](https://github.com/vant-ui/vant/issues/7222) **Bug Fixes** -- Picker: 修复 setIndex 方法无效的问题 [d2a542](https://github.com/youzan/vant/commit/d2a54279766acca3981403c4fb9eb34d3d586643) -- Dialog: 修复最小高度错误的问题 [bf1f0f](https://github.com/youzan/vant/commit/bf1f0f57eb16e2308b388c4e2ccab46c65f76196) +- Picker: 修复 setIndex 方法无效的问题 [d2a542](https://github.com/vant-ui/vant/commit/d2a54279766acca3981403c4fb9eb34d3d586643) +- Dialog: 修复最小高度错误的问题 [bf1f0f](https://github.com/vant-ui/vant/commit/bf1f0f57eb16e2308b388c4e2ccab46c65f76196) - 包含 `v2.10.8` 版本的所有改动和修复 -### [v3.0.0-beta.0](https://github.com/youzan/vant/compare/v2.10.7...v3.0.0-beta.0) +### [v3.0.0-beta.0](https://github.com/vant-ui/vant/compare/v2.10.7...v3.0.0-beta.0) `2020-09-18` **breaking changes** -- Dialog: allow-html 属性的默认值调整为 false [02c7a7](https://github.com/youzan/vant/commit/02c7a75ee3d7725157b744bb710bd879f01a0065) -- Picker: allow-html 属性的默认值调整为 false [02c7a7](https://github.com/youzan/vant/commit/02c7a75ee3d7725157b744bb710bd879f01a0065) +- Dialog: allow-html 属性的默认值调整为 false [02c7a7](https://github.com/vant-ui/vant/commit/02c7a75ee3d7725157b744bb710bd879f01a0065) +- Picker: allow-html 属性的默认值调整为 false [02c7a7](https://github.com/vant-ui/vant/commit/02c7a75ee3d7725157b744bb710bd879f01a0065) **refactor** 使用 Composition API 重构以下组件: -- ImagePreview [6ab2b3](https://github.com/youzan/vant/commit/6ab2b3bf1f53dabf272ae3a6d663221236eab47c) -- Picker [85d0d4](https://github.com/youzan/vant/commit/85d0d423eb33567d74d029991509589237214cf8) -- Popup [946565](https://github.com/youzan/vant/commit/9465653f429d216bf0f34cb9cf26cc1f51b3e358) -- Swipe [39c68c](https://github.com/youzan/vant/commit/39c68c993a34f8cfb0de056f0da7edcd01bd6d4d) -- Uploader [595b06](https://github.com/youzan/vant/commit/595b062c34e34e48b5f8d730dc6b13221fcad841) +- ImagePreview [6ab2b3](https://github.com/vant-ui/vant/commit/6ab2b3bf1f53dabf272ae3a6d663221236eab47c) +- Picker [85d0d4](https://github.com/vant-ui/vant/commit/85d0d423eb33567d74d029991509589237214cf8) +- Popup [946565](https://github.com/vant-ui/vant/commit/9465653f429d216bf0f34cb9cf26cc1f51b3e358) +- Swipe [39c68c](https://github.com/vant-ui/vant/commit/39c68c993a34f8cfb0de056f0da7edcd01bd6d4d) +- Uploader [595b06](https://github.com/vant-ui/vant/commit/595b062c34e34e48b5f8d730dc6b13221fcad841) **Bug Fixes** -- AddressEdit: 修复 emits 未声明导致 warning 的问题 [1e6a12](https://github.com/youzan/vant/commit/1e6a120b2e48f7262062729260d362c96355eca6) -- AddressEdit: 修复点击省市区弹窗的蒙层时无法关闭的问题 [02e89a](https://github.com/youzan/vant/commit/02e89a73c57af1e59429ab320c2a13395abc0520) -- Field: 修复在 iOS 上中文输入过程中触发 input 事件的问题 [#7035](https://github.com/youzan/vant/issues/7035) +- AddressEdit: 修复 emits 未声明导致 warning 的问题 [1e6a12](https://github.com/vant-ui/vant/commit/1e6a120b2e48f7262062729260d362c96355eca6) +- AddressEdit: 修复点击省市区弹窗的蒙层时无法关闭的问题 [02e89a](https://github.com/vant-ui/vant/commit/02e89a73c57af1e59429ab320c2a13395abc0520) +- Field: 修复在 iOS 上中文输入过程中触发 input 事件的问题 [#7035](https://github.com/vant-ui/vant/issues/7035) - 包含 `v2.10.7` 版本的所有改动和修复 -### [v3.0.0-alpha.5](https://github.com/youzan/vant/compare/v2.10.6...v3.0.0-alpha.5) +### [v3.0.0-alpha.5](https://github.com/vant-ui/vant/compare/v2.10.6...v3.0.0-alpha.5) `2020-09-13` **breaking changes** -- Button: native-type 属性的默认值调整为 button [df8059](https://github.com/youzan/vant/commit/df8059eb015f2804433a7306c208a5909a4d46ac) +- Button: native-type 属性的默认值调整为 button [df8059](https://github.com/vant-ui/vant/commit/df8059eb015f2804433a7306c208a5909a4d46ac) **refactor** 使用 Composition API 重构以下组件: -- DatetimePicker [60e087](https://github.com/youzan/vant/commit/60e08767b313e90b13c6a4a3246a113367ed09a5) -- DropdownItem [cd5f5b](https://github.com/youzan/vant/commit/cd5f5bb65544676279e486790761c38a2a9f0fc1) -- Grid [38740b](https://github.com/youzan/vant/commit/38740b6c1c783d49a2201b24ba51121576e4c643) -- IndexBar [f94c8c](https://github.com/youzan/vant/commit/f94c8ccbb93f4783814832a9363d663fb4986f10) -- NumberKeyboard [14c1d4](https://github.com/youzan/vant/commit/14c1d4ea771cd9f01cb282493e57303ced897fa9) -- PullRefresh [9f632f](https://github.com/youzan/vant/commit/9f632f151e3028adfd376f8ad166bf9d8af356fc) -- Stepper [a7c285](https://github.com/youzan/vant/commit/a7c28548fcefe48a2ffa95bb0423dee0a48f8e16) -- SwipeCell [b17c67](https://github.com/youzan/vant/commit/b17c67ab53652a361185934cb4119eca23622d9a) +- DatetimePicker [60e087](https://github.com/vant-ui/vant/commit/60e08767b313e90b13c6a4a3246a113367ed09a5) +- DropdownItem [cd5f5b](https://github.com/vant-ui/vant/commit/cd5f5bb65544676279e486790761c38a2a9f0fc1) +- Grid [38740b](https://github.com/vant-ui/vant/commit/38740b6c1c783d49a2201b24ba51121576e4c643) +- IndexBar [f94c8c](https://github.com/vant-ui/vant/commit/f94c8ccbb93f4783814832a9363d663fb4986f10) +- NumberKeyboard [14c1d4](https://github.com/vant-ui/vant/commit/14c1d4ea771cd9f01cb282493e57303ced897fa9) +- PullRefresh [9f632f](https://github.com/vant-ui/vant/commit/9f632f151e3028adfd376f8ad166bf9d8af356fc) +- Stepper [a7c285](https://github.com/vant-ui/vant/commit/a7c28548fcefe48a2ffa95bb0423dee0a48f8e16) +- SwipeCell [b17c67](https://github.com/vant-ui/vant/commit/b17c67ab53652a361185934cb4119eca23622d9a) **Feature** -- Button: 新增 icon-position 属性 [#7174](https://github.com/youzan/vant/issues/7174) -- slider: 新增 range 属性,支持范围选择 [#7175](https://github.com/youzan/vant/issues/7175) -- TabbarItem: 新增 @tabbar-item-active-background-color 变量 [#7162](https://github.com/youzan/vant/issues/7162) +- Button: 新增 icon-position 属性 [#7174](https://github.com/vant-ui/vant/issues/7174) +- slider: 新增 range 属性,支持范围选择 [#7175](https://github.com/vant-ui/vant/issues/7175) +- TabbarItem: 新增 @tabbar-item-active-background-color 变量 [#7162](https://github.com/vant-ui/vant/issues/7162) **Bug Fixes** -- Sticky: 修复组件销毁时报错的问题 [#7169](https://github.com/youzan/vant/issues/7169) +- Sticky: 修复组件销毁时报错的问题 [#7169](https://github.com/vant-ui/vant/issues/7169) -### [v3.0.0-alpha.4](https://github.com/youzan/vant/compare/v2.10.5...v3.0.0-alpha.4) +### [v3.0.0-alpha.4](https://github.com/vant-ui/vant/compare/v2.10.5...v3.0.0-alpha.4) `2020-09-06` @@ -1398,37 +1398,37 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 使用 Composition API 重构以下组件: -- Coupon [ec5a75](https://github.com/youzan/vant/commit/ec5a759f684531e7c5ab751d1d746d0e65d26279) -- Dialog [2b8284](https://github.com/youzan/vant/commit/2b8284a227b6d483685cfa3a70e01774491a2ff9) -- NumberKeyboard [f735b2](https://github.com/youzan/vant/commit/f735b24a4b71176ce5c214af69b7afc99deab85f) -- Pagination [1cd918](https://github.com/youzan/vant/commit/1cd918395805f57a60f2cce1f5174b480cfd70f2) +- Coupon [ec5a75](https://github.com/vant-ui/vant/commit/ec5a759f684531e7c5ab751d1d746d0e65d26279) +- Dialog [2b8284](https://github.com/vant-ui/vant/commit/2b8284a227b6d483685cfa3a70e01774491a2ff9) +- NumberKeyboard [f735b2](https://github.com/vant-ui/vant/commit/f735b24a4b71176ce5c214af69b7afc99deab85f) +- Pagination [1cd918](https://github.com/vant-ui/vant/commit/1cd918395805f57a60f2cce1f5174b480cfd70f2) **Bug Fixes** -- Tag: 修复 color 属性不生效的问题 [4b6da2](https://github.com/youzan/vant/commit/4b6da2aab6acae95977579094bc5707345f3d3e9) -- 修复在 TSX 中使用组件时提示类型错误的问题 [#7076](https://github.com/youzan/vant/issues/7076) -- 修复全量引入组件时提示类型错误的问题 [#7056](https://github.com/youzan/vant/issues/7056) +- Tag: 修复 color 属性不生效的问题 [4b6da2](https://github.com/vant-ui/vant/commit/4b6da2aab6acae95977579094bc5707345f3d3e9) +- 修复在 TSX 中使用组件时提示类型错误的问题 [#7076](https://github.com/vant-ui/vant/issues/7076) +- 修复全量引入组件时提示类型错误的问题 [#7056](https://github.com/vant-ui/vant/issues/7056) -### [v3.0.0-alpha.3](https://github.com/youzan/vant/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) +### [v3.0.0-alpha.3](https://github.com/vant-ui/vant/compare/v3.0.0-alpha.2...v3.0.0-alpha.3) `2020-09-01` **Feature** -- ActionSheet: 新增 description 插槽 [#7068](https://github.com/youzan/vant/issues/7068) -- Toast: 使用 composition api 重构 [44aaa4](https://github.com/youzan/vant/commit/44aaa471879ac79b7baee0e07c92d7a71ff7f530) +- ActionSheet: 新增 description 插槽 [#7068](https://github.com/vant-ui/vant/issues/7068) +- Toast: 使用 composition api 重构 [44aaa4](https://github.com/vant-ui/vant/commit/44aaa471879ac79b7baee0e07c92d7a71ff7f530) **Types** -- 修复使用 app.use 注册组件时提示类型错误的问题 [#7056](https://github.com/youzan/vant/issues/7056) -- 修复 $toast、$dialog 类型不存在的问题 [0acbc6](https://github.com/youzan/vant/commit/0acbc6ec21588686b41f6387d2fdf642ae2c024e) +- 修复使用 app.use 注册组件时提示类型错误的问题 [#7056](https://github.com/vant-ui/vant/issues/7056) +- 修复 $toast、$dialog 类型不存在的问题 [0acbc6](https://github.com/vant-ui/vant/commit/0acbc6ec21588686b41f6387d2fdf642ae2c024e) **Bug Fixes** -- Dialog: 修复 Dialog.close 不生效的问题 [476e16](https://github.com/youzan/vant/commit/476e16ff2d22a5da3ab8b57a6c7789610b008e22) -- Toast: 修复设置 toast.message 不生效的问题 [dac7fe](https://github.com/youzan/vant/commit/dac7feb919cfc4c3c1b8dc544431eb5547414604) +- Dialog: 修复 Dialog.close 不生效的问题 [476e16](https://github.com/vant-ui/vant/commit/476e16ff2d22a5da3ab8b57a6c7789610b008e22) +- Toast: 修复设置 toast.message 不生效的问题 [dac7fe](https://github.com/vant-ui/vant/commit/dac7feb919cfc4c3c1b8dc544431eb5547414604) -### [v3.0.0-alpha.2](https://github.com/youzan/vant/compare/v3.0.0-alpha.1...v3.0.0-alpha.2) +### [v3.0.0-alpha.2](https://github.com/vant-ui/vant/compare/v3.0.0-alpha.1...v3.0.0-alpha.2) `2020-08-28` @@ -1436,7 +1436,7 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 - 修复使用 `yarn add vant@next` 安装失败的问题 -### [v3.0.0-alpha.1](https://github.com/youzan/vant/compare/v2.10.3...v3.0.0-alpha.1) +### [v3.0.0-alpha.1](https://github.com/vant-ui/vant/compare/v2.10.3...v3.0.0-alpha.1) `2020-08-28` @@ -1469,11 +1469,11 @@ webpack、vite 等构建工具默认支持 `.mjs` 后缀,因此不需要额外 **Bug Fixes** -- Rate: 修复控制台报 emit warning 提示的问题 [c32fba](https://github.com/youzan/vant/commit/c32fba0f1e7afa657c69c233d644c1994963a638) -- Button: 修复 click 事件参数丢失的问题 [cea272](https://github.com/youzan/vant/commit/cea2724321daf693a1dd36dd6923c4d28585895a) -- CellGroup: 修复 attrs 继承错误的问题 [8f978a](https://github.com/youzan/vant/commit/8f978addd49b7d2a5e6fcce0c952fcb05145ad1d) -- Dialog: 修复部分弹窗相关属性不生效的问题 [af94c9](https://github.com/youzan/vant/commit/af94c92614b78e999e5377208e2c3c3672480210) -- Image: 修复 loading 图标和 error 图标不展示的问题 [c720ee](https://github.com/youzan/vant/commit/c720eea83170b36e1b2f4eb8bdaff400e88bf714) +- Rate: 修复控制台报 emit warning 提示的问题 [c32fba](https://github.com/vant-ui/vant/commit/c32fba0f1e7afa657c69c233d644c1994963a638) +- Button: 修复 click 事件参数丢失的问题 [cea272](https://github.com/vant-ui/vant/commit/cea2724321daf693a1dd36dd6923c4d28585895a) +- CellGroup: 修复 attrs 继承错误的问题 [8f978a](https://github.com/vant-ui/vant/commit/8f978addd49b7d2a5e6fcce0c952fcb05145ad1d) +- Dialog: 修复部分弹窗相关属性不生效的问题 [af94c9](https://github.com/vant-ui/vant/commit/af94c92614b78e999e5377208e2c3c3672480210) +- Image: 修复 loading 图标和 error 图标不展示的问题 [c720ee](https://github.com/vant-ui/vant/commit/c720eea83170b36e1b2f4eb8bdaff400e88bf714) ### v3.0.0-alpha.0 diff --git a/packages/vant/docs/markdown/contribution.zh-CN.md b/packages/vant/docs/markdown/contribution.zh-CN.md index 4e960fae2..4eebb8c03 100644 --- a/packages/vant/docs/markdown/contribution.zh-CN.md +++ b/packages/vant/docs/markdown/contribution.zh-CN.md @@ -21,7 +21,7 @@ ```bash # 克隆仓库 -git clone git@github.com:youzan/vant.git +git clone git@github.com:vant-ui/vant.git # 安装依赖 pnpm i @@ -124,7 +124,7 @@ src ```bash # 添加主仓库到 remote,作为 fork 后仓库的上游仓库 -git remote add upstream git@github.com:youzan/vant.git +git remote add upstream git@github.com:vant-ui/vant.git # 拉取主仓库最新代码 git fetch upstream diff --git a/packages/vant/docs/markdown/design.en-US.md b/packages/vant/docs/markdown/design.en-US.md index c4abbdaac..4e45baa64 100644 --- a/packages/vant/docs/markdown/design.en-US.md +++ b/packages/vant/docs/markdown/design.en-US.md @@ -22,7 +22,7 @@ Contains color specifications, font specifications, and component design specifi -Download +Download ### Icons (Sketch) @@ -30,7 +30,7 @@ Contains icon library resources. -Download +Download ### Axure diff --git a/packages/vant/docs/markdown/design.zh-CN.md b/packages/vant/docs/markdown/design.zh-CN.md index 2582c515a..592f8bdea 100644 --- a/packages/vant/docs/markdown/design.zh-CN.md +++ b/packages/vant/docs/markdown/design.zh-CN.md @@ -22,7 +22,7 @@ -下载 +下载 ### 图标设计稿(Sketch) @@ -30,7 +30,7 @@ -下载 +下载 #### 在线资源 diff --git a/packages/vant/docs/markdown/home.en-US.md b/packages/vant/docs/markdown/home.en-US.md index 811989c14..da8020fe8 100644 --- a/packages/vant/docs/markdown/home.en-US.md +++ b/packages/vant/docs/markdown/home.en-US.md @@ -38,11 +38,11 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3) | Project | Description | | --- | --- | -| [vant-weapp](https://github.com/youzan/vant-weapp) | WeChat MiniProgram UI | +| [vant-weapp](https://github.com/vant-ui/vant-weapp) | WeChat MiniProgram UI | | [vant-demo](https://github.com/vant-ui/vant-demo) | Collection of Vant demos | -| [vant-cli](https://github.com/youzan/vant/tree/dev/packages/vant-cli) | Scaffold for UI library | -| [vant-icons](https://github.com/youzan/vant/tree/dev/packages/vant-icons) | Vant icons | -| [vant-touch-emulator](https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator) | Using vant in desktop browsers | +| [vant-cli](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli) | Scaffold for UI library | +| [vant-icons](https://github.com/vant-ui/vant/tree/dev/packages/vant-icons) | Vant icons | +| [vant-touch-emulator](https://github.com/vant-ui/vant/tree/dev/packages/vant-touch-emulator) | Using vant in desktop browsers | ### Community Ecosystem @@ -58,7 +58,7 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3) ### Other Links -- [Feedback](https://github.com/youzan/vant/issues) +- [Feedback](https://github.com/vant-ui/vant/issues) - [Changelog](#/en-US/changelog) - [Gitter](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link) @@ -76,13 +76,13 @@ Core contributors of Vant and Vant Weapp: Thanks to the following friends for their contributions to Vant: - + contributors ### Contribution Guide -Please make sure to read the [Contributing Guide](https://github.com/youzan/vant/blob/dev/.github/CONTRIBUTING.md) before making a pull request. +Please make sure to read the [Contributing Guide](https://github.com/vant-ui/vant/blob/dev/.github/CONTRIBUTING.md) before making a pull request. ### LICENSE diff --git a/packages/vant/docs/markdown/home.zh-CN.md b/packages/vant/docs/markdown/home.zh-CN.md index 53ee6e7f3..540d68240 100644 --- a/packages/vant/docs/markdown/home.zh-CN.md +++ b/packages/vant/docs/markdown/home.zh-CN.md @@ -50,11 +50,11 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 | 项目 | 描述 | | --- | --- | -| [vant-weapp](https://github.com/youzan/vant-weapp) | Vant 微信小程序版 | +| [vant-weapp](https://github.com/vant-ui/vant-weapp) | Vant 微信小程序版 | | [vant-demo](https://github.com/vant-ui/vant-demo) | Vant 官方示例合集 | -| [vant-cli](https://github.com/youzan/vant/tree/dev/packages/vant-cli) | 开箱即用的组件库搭建工具 | -| [vant-icons](https://github.com/youzan/vant/tree/dev/packages/vant-icons) | Vant 图标库 | -| [vant-touch-emulator](https://github.com/youzan/vant/tree/dev/packages/vant-touch-emulator) | 在桌面端使用 Vant 的辅助库 | +| [vant-cli](https://github.com/vant-ui/vant/tree/dev/packages/vant-cli) | 开箱即用的组件库搭建工具 | +| [vant-icons](https://github.com/vant-ui/vant/tree/dev/packages/vant-icons) | Vant 图标库 | +| [vant-touch-emulator](https://github.com/vant-ui/vant/tree/dev/packages/vant-touch-emulator) | 在桌面端使用 Vant 的辅助库 | ### 社区生态 @@ -72,7 +72,7 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 ### 其他链接 -- [意见反馈](https://github.com/youzan/vant/issues) +- [意见反馈](https://github.com/vant-ui/vant/issues) - [更新日志](#/zh-CN/changelog) - [码云镜像](https://gitee.com/vant-contrib/vant) - [Gitter 讨论组](https://gitter.im/vant-contrib/discuss?utm_source=share-link&utm_medium=link&utm_campaign=share-link) @@ -91,7 +91,7 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 感谢以下小伙伴们为 Vant 发展做出的贡献: - + contributors @@ -99,7 +99,7 @@ Vant 3/4 支持现代浏览器以及 Chrome >= 51、iOS >= 10.0(与 Vue 3 一 贡献代码请阅读我们的[贡献指南](#/zh-CN/contribution)。 -使用过程中发现任何问题都可以提 [Issue](https://github.com/youzan/vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/youzan/vant/pulls)。 +使用过程中发现任何问题都可以提 [Issue](https://github.com/vant-ui/vant/issues) 给我们,当然,我们也非常欢迎你给我们发 [PR](https://github.com/vant-ui/vant/pulls)。 ### 开源协议 diff --git a/packages/vant/docs/markdown/theme.en-US.md b/packages/vant/docs/markdown/theme.en-US.md index e6e302ba1..efd357e40 100644 --- a/packages/vant/docs/markdown/theme.en-US.md +++ b/packages/vant/docs/markdown/theme.en-US.md @@ -10,7 +10,7 @@ Vant use [Less](http://lesscss.org/) as css preprocessor,you can override the ### Less variables -There are some [basic variables](<(https://github.com/youzan/vant/blob/dev/packages/vant/src/style/var.less)>) below, for component less variables, please refer to the documentation of each component, or view the `var.less` file in the component source directory. +There are some [basic variables](<(https://github.com/vant-ui/vant/blob/dev/packages/vant/src/style/var.less)>) below, for component less variables, please refer to the documentation of each component, or view the `var.less` file in the component source directory. ```less // Color Palette diff --git a/packages/vant/docs/markdown/theme.zh-CN.md b/packages/vant/docs/markdown/theme.zh-CN.md index 919aaf3f6..6cd4a77ab 100644 --- a/packages/vant/docs/markdown/theme.zh-CN.md +++ b/packages/vant/docs/markdown/theme.zh-CN.md @@ -16,7 +16,7 @@ Vant 提供了一套默认主题,CSS 命名采用 BEM 的风格,方便使用 Vant 使用了 [Less](http://lesscss.org/) 对样式进行预处理,并内置了一些样式变量,通过替换样式变量即可定制你自己需要的主题。 -下面是所有的[基础样式变量](https://github.com/youzan/vant/blob/dev/packages/vant/src/style/var.less),组件的样式变量请参考各个组件的文档,或查看组件源码目录下的 `var.less` 文件。 +下面是所有的[基础样式变量](https://github.com/vant-ui/vant/blob/dev/packages/vant/src/style/var.less),组件的样式变量请参考各个组件的文档,或查看组件源码目录下的 `var.less` 文件。 ```less // Color Palette diff --git a/packages/vant/package.json b/packages/vant/package.json index b6947fa13..a2447ce97 100644 --- a/packages/vant/package.json +++ b/packages/vant/package.json @@ -29,10 +29,10 @@ }, "repository": { "type": "git", - "url": "https://github.com/youzan/vant.git", + "url": "https://github.com/vant-ui/vant.git", "directory": "packages/vant" }, - "bugs": "https://github.com/youzan/vant/issues", + "bugs": "https://github.com/vant-ui/vant/issues", "author": "chenjiahan", "license": "MIT", "keywords": [ diff --git a/packages/vant/src/area/README.md b/packages/vant/src/area/README.md index 62afd8759..b669b1661 100644 --- a/packages/vant/src/area/README.md +++ b/packages/vant/src/area/README.md @@ -52,7 +52,7 @@ export default { ### @vant/area-data -Vant officially provides a default China area data, which can be imported through [@vant/area-data](https://github.com/youzan/vant/tree/dev/packages/vant-area-data): +Vant officially provides a default China area data, which can be imported through [@vant/area-data](https://github.com/vant-ui/vant/tree/dev/packages/vant-area-data): ```bash # with npm diff --git a/packages/vant/src/area/README.zh-CN.md b/packages/vant/src/area/README.zh-CN.md index 12ce37be4..d4a72e194 100644 --- a/packages/vant/src/area/README.zh-CN.md +++ b/packages/vant/src/area/README.zh-CN.md @@ -54,7 +54,7 @@ const areaList = { ### @vant/area-data -Vant 官方提供了一份默认的中国省市区数据,可以通过 [@vant/area-data](https://github.com/youzan/vant/tree/dev/packages/vant-area-data) 引入: +Vant 官方提供了一份默认的中国省市区数据,可以通过 [@vant/area-data](https://github.com/vant-ui/vant/tree/dev/packages/vant-area-data) 引入: ```bash # 通过 npm diff --git a/packages/vant/src/area/demo/area.ts b/packages/vant/src/area/demo/area.ts index 3f2f8b507..ebc1f41e5 100644 --- a/packages/vant/src/area/demo/area.ts +++ b/packages/vant/src/area/demo/area.ts @@ -1 +1 @@ -// 已迁移至 https://github.com/youzan/vant/tree/dev/packages/vant-area-data +// 已迁移至 https://github.com/vant-ui/vant/tree/dev/packages/vant-area-data diff --git a/packages/vant/src/button/demo/index.vue b/packages/vant/src/button/demo/index.vue index b682d53ee..ec73d1e25 100644 --- a/packages/vant/src/button/demo/index.vue +++ b/packages/vant/src/button/demo/index.vue @@ -127,7 +127,7 @@ const t = useTranslate({ diff --git a/packages/vant/src/button/index.less b/packages/vant/src/button/index.less index 6133ac538..41bde20ed 100644 --- a/packages/vant/src/button/index.less +++ b/packages/vant/src/button/index.less @@ -201,7 +201,7 @@ height: 100%; // fix icon vertical align - // see: https://github.com/youzan/vant/issues/7617 + // see: https://github.com/vant-ui/vant/issues/7617 &::before { content: ' '; } diff --git a/packages/vant/src/calendar/Calendar.tsx b/packages/vant/src/calendar/Calendar.tsx index 4cc859925..5957a7671 100644 --- a/packages/vant/src/calendar/Calendar.tsx +++ b/packages/vant/src/calendar/Calendar.tsx @@ -312,7 +312,7 @@ export default defineComponent({ raf(() => { // add Math.floor to avoid decimal height issues - // https://github.com/youzan/vant/issues/5640 + // https://github.com/vant-ui/vant/issues/5640 bodyHeight = Math.floor(useRect(bodyRef).height); }); scrollToCurrentDate(); diff --git a/packages/vant/src/cell/demo/index.vue b/packages/vant/src/cell/demo/index.vue index 2795c558e..6f9f142eb 100644 --- a/packages/vant/src/cell/demo/index.vue +++ b/packages/vant/src/cell/demo/index.vue @@ -87,7 +87,7 @@ const t = useTranslate({ diff --git a/packages/vant/src/collapse-item/index.less b/packages/vant/src/collapse-item/index.less index 58588d3ec..6407e52db 100644 --- a/packages/vant/src/collapse-item/index.less +++ b/packages/vant/src/collapse-item/index.less @@ -23,7 +23,7 @@ &__title { .van-cell__right-icon::before { // using translateZ to fix safari rendering issues - // see: https://github.com/youzan/vant/issues/8608 + // see: https://github.com/vant-ui/vant/issues/8608 transform: rotate(90deg) translateZ(0); transition: transform var(--van-collapse-item-transition-duration); } diff --git a/packages/vant/src/composables/use-height.ts b/packages/vant/src/composables/use-height.ts index 287bde84c..dfdce08a3 100644 --- a/packages/vant/src/composables/use-height.ts +++ b/packages/vant/src/composables/use-height.ts @@ -16,7 +16,7 @@ export const useHeight = ( // If the element is using safe area, the system will not return the correct height on page load. // So we need to wait for the height to be set. - // https://github.com/youzan/vant/issues/10131 + // https://github.com/vant-ui/vant/issues/10131 // https://stackoverflow.com/questions/64891541 if (withSafeArea) { for (let i = 1; i <= 3; i++) { diff --git a/packages/vant/src/datetime-picker/utils.ts b/packages/vant/src/datetime-picker/utils.ts index f6691796b..17d23d263 100644 --- a/packages/vant/src/datetime-picker/utils.ts +++ b/packages/vant/src/datetime-picker/utils.ts @@ -51,7 +51,7 @@ export function getTrueValue(value: string | undefined): number { export const getMonthEndDay = (year: number, month: number): number => 32 - new Date(year, month - 1, 32).getDate(); -// https://github.com/youzan/vant/issues/10013 +// https://github.com/vant-ui/vant/issues/10013 export const proxyPickerMethods = ( picker: PickerInstance, callback: () => void diff --git a/packages/vant/src/dialog/Dialog.tsx b/packages/vant/src/dialog/Dialog.tsx index 742b3acd6..1f387e430 100644 --- a/packages/vant/src/dialog/Dialog.tsx +++ b/packages/vant/src/dialog/Dialog.tsx @@ -180,7 +180,7 @@ export default defineComponent({ return (

diff --git a/packages/vant/src/field/Field.tsx b/packages/vant/src/field/Field.tsx index 0465eba02..8eb7d2a4f 100644 --- a/packages/vant/src/field/Field.tsx +++ b/packages/vant/src/field/Field.tsx @@ -263,7 +263,7 @@ export default defineComponent({ }; // native maxlength have incorrect line-break counting - // see: https://github.com/youzan/vant/issues/5033 + // see: https://github.com/vant-ui/vant/issues/5033 const limitValueLength = (value: string) => { const { maxlength } = props; if (isDef(maxlength) && getStringLength(value) > maxlength) { diff --git a/packages/vant/src/field/index.less b/packages/vant/src/field/index.less index a0f0bfb97..bc0d83d00 100644 --- a/packages/vant/src/field/index.less +++ b/packages/vant/src/field/index.less @@ -78,7 +78,7 @@ background-color: transparent; border: 0; resize: none; - // https://github.com/youzan/vant/pull/9418 + // https://github.com/vant-ui/vant/pull/9418 user-select: auto; &::placeholder { diff --git a/packages/vant/src/field/test/index.spec.js b/packages/vant/src/field/test/index.spec.js index 4cd8e8e20..78b9ce491 100644 --- a/packages/vant/src/field/test/index.spec.js +++ b/packages/vant/src/field/test/index.spec.js @@ -177,7 +177,7 @@ test('should limit maxlength of input value when using maxlength prop', async () expect(wrapper.emitted('update:modelValue')[0][0]).toEqual('123'); await wrapper.setProps({ modelValue: '123' }); - // see: https://github.com/youzan/vant/issues/7265 + // see: https://github.com/vant-ui/vant/issues/7265 input.element.value = 1423; input.trigger('input'); expect(input.element.value).toEqual('123'); diff --git a/packages/vant/src/field/utils.ts b/packages/vant/src/field/utils.ts index 4418e7cd4..03eeae162 100644 --- a/packages/vant/src/field/utils.ts +++ b/packages/vant/src/field/utils.ts @@ -81,7 +81,7 @@ export function resizeTextarea( if (height) { input.style.height = `${height}px`; - // https://github.com/youzan/vant/issues/9178 + // https://github.com/vant-ui/vant/issues/9178 setRootScrollTop(scrollTop); } } @@ -110,7 +110,7 @@ export function mapInputType(type: FieldType): { } // get correct length of emoji -// https://github.com/youzan/vant/issues/10032 +// https://github.com/vant-ui/vant/issues/10032 export function getStringLength(str: string) { return [...str].length; } diff --git a/packages/vant/src/grid-item/index.less b/packages/vant/src/grid-item/index.less index f90bc7150..d18713834 100644 --- a/packages/vant/src/grid-item/index.less +++ b/packages/vant/src/grid-item/index.less @@ -25,7 +25,7 @@ color: var(--van-grid-item-text-color); font-size: var(--van-grid-item-text-font-size); line-height: 1.5; - // https://github.com/youzan/vant/issues/3894 + // https://github.com/vant-ui/vant/issues/3894 word-break: break-all; } diff --git a/packages/vant/src/grid/demo/index.vue b/packages/vant/src/grid/demo/index.vue index a0c683660..59c0ebf74 100644 --- a/packages/vant/src/grid/demo/index.vue +++ b/packages/vant/src/grid/demo/index.vue @@ -85,7 +85,7 @@ const t = useTranslate({ diff --git a/packages/vant/src/image/Image.tsx b/packages/vant/src/image/Image.tsx index ce6488e43..e01305657 100644 --- a/packages/vant/src/image/Image.tsx +++ b/packages/vant/src/image/Image.tsx @@ -169,7 +169,7 @@ export default defineComponent({ check(); } else { // LazyLoad may trigger loaded event before Image mounted - // https://github.com/youzan/vant/issues/10046 + // https://github.com/vant-ui/vant/issues/10046 nextTick(check); } }; diff --git a/packages/vant/src/list/test/index.spec.jsx b/packages/vant/src/list/test/index.spec.jsx index 2cd336967..0c2d27649 100644 --- a/packages/vant/src/list/test/index.spec.jsx +++ b/packages/vant/src/list/test/index.spec.jsx @@ -159,7 +159,7 @@ test('should not emit load event when inside an inactive tab', async () => { expect(onLoad2).toHaveBeenCalledTimes(0); }); -// https://github.com/youzan/vant/issues/9017 +// https://github.com/vant-ui/vant/issues/9017 test('should emit load event when parent tab is activated', async () => { const onLoad1 = jest.fn(); const onLoad2 = jest.fn(); diff --git a/packages/vant/src/locale/README.md b/packages/vant/src/locale/README.md index c969fb672..d697607f8 100644 --- a/packages/vant/src/locale/README.md +++ b/packages/vant/src/locale/README.md @@ -72,8 +72,8 @@ Current supported languages: | Traditional Chinese (HK) | zh-HK | - | | Traditional Chinese (TW) | zh-TW | - | -> View all language configs [Here](https://github.com/youzan/vant/tree/dev/packages/vant/src/locale/lang). +> View all language configs [Here](https://github.com/vant-ui/vant/tree/dev/packages/vant/src/locale/lang). ### Add new language -If you can’t find the language you need, please send us a Pull Request to add the new language pack, you can refer to [Add German language pack](https://github.com/youzan/vant/pull/7245) PR. +If you can’t find the language you need, please send us a Pull Request to add the new language pack, you can refer to [Add German language pack](https://github.com/vant-ui/vant/pull/7245) PR. diff --git a/packages/vant/src/locale/README.zh-CN.md b/packages/vant/src/locale/README.zh-CN.md index 2a866aa32..c5482873e 100644 --- a/packages/vant/src/locale/README.zh-CN.md +++ b/packages/vant/src/locale/README.zh-CN.md @@ -73,13 +73,13 @@ Locale.add(messages); | 繁體中文(港) | zh-HK | - | | 繁體中文(台) | zh-TW | - | -> 在 [这里](https://github.com/youzan/vant/tree/dev/packages/vant/src/locale/lang) 查看所有的语言包源文件。 +> 在 [这里](https://github.com/vant-ui/vant/tree/dev/packages/vant/src/locale/lang) 查看所有的语言包源文件。 ## 常见问题 ### 找不到所需的语言包? -如果上方列表中没有你需要的语言,欢迎给我们提 Pull Request 来增加新的语言包,改动内容可以参考[增加德语语言包](https://github.com/youzan/vant/pull/7245) 的 PR。 +如果上方列表中没有你需要的语言,欢迎给我们提 Pull Request 来增加新的语言包,改动内容可以参考[增加德语语言包](https://github.com/vant-ui/vant/pull/7245) 的 PR。 ### 业务代码如何实现国际化? diff --git a/packages/vant/src/number-keyboard/NumberKeyboardKey.tsx b/packages/vant/src/number-keyboard/NumberKeyboardKey.tsx index 225a98804..5fd37bcdb 100644 --- a/packages/vant/src/number-keyboard/NumberKeyboardKey.tsx +++ b/packages/vant/src/number-keyboard/NumberKeyboardKey.tsx @@ -59,7 +59,7 @@ export default defineComponent({ const onTouchEnd = (event: TouchEvent) => { if (active.value) { // eliminate tap delay on safari - // see: https://github.com/youzan/vant/issues/6836 + // see: https://github.com/vant-ui/vant/issues/6836 if (!slots.default) { preventDefault(event); } diff --git a/packages/vant/src/sidebar-item/index.less b/packages/vant/src/sidebar-item/index.less index de6cd6fc4..43c8405ac 100644 --- a/packages/vant/src/sidebar-item/index.less +++ b/packages/vant/src/sidebar-item/index.less @@ -38,7 +38,7 @@ } &__text { - // https://github.com/youzan/vant/issues/7455 + // https://github.com/vant-ui/vant/issues/7455 word-break: break-all; } diff --git a/packages/vant/src/slider/test/index.spec.ts b/packages/vant/src/slider/test/index.spec.ts index a51a36ed7..e7ed965ea 100644 --- a/packages/vant/src/slider/test/index.spec.ts +++ b/packages/vant/src/slider/test/index.spec.ts @@ -200,7 +200,7 @@ test('should not emit change event when value not changed', async () => { expect(wrapper.emitted('change')).toHaveLength(1); }); -// https://github.com/youzan/vant/issues/8889 +// https://github.com/vant-ui/vant/issues/8889 test('should format v-model with step correctly', async () => { const wrapper = mount(Slider, { props: { diff --git a/packages/vant/src/stepper/Stepper.tsx b/packages/vant/src/stepper/Stepper.tsx index 8bacbc17b..407db9675 100644 --- a/packages/vant/src/stepper/Stepper.tsx +++ b/packages/vant/src/stepper/Stepper.tsx @@ -246,7 +246,7 @@ export default defineComponent({ const onMousedown = (event: MouseEvent) => { // fix mobile safari page scroll down issue - // see: https://github.com/youzan/vant/issues/7690 + // see: https://github.com/vant-ui/vant/issues/7690 if (props.disableInput) { preventDefault(event); } diff --git a/packages/vant/src/swipe/Swipe.tsx b/packages/vant/src/swipe/Swipe.tsx index 782f1aa65..436048a64 100644 --- a/packages/vant/src/swipe/Swipe.tsx +++ b/packages/vant/src/swipe/Swipe.tsx @@ -274,7 +274,7 @@ export default defineComponent({ autoplay(); }; - // issue: https://github.com/youzan/vant/issues/10052 + // issue: https://github.com/vant-ui/vant/issues/10052 if (isHidden(root)) { nextTick().then(cb); } else { diff --git a/packages/vant/src/swipe/index.less b/packages/vant/src/swipe/index.less index effe63d85..16e72be70 100644 --- a/packages/vant/src/swipe/index.less +++ b/packages/vant/src/swipe/index.less @@ -12,7 +12,7 @@ .van-swipe { position: relative; overflow: hidden; - // https://github.com/youzan/vant/issues/9931 + // https://github.com/vant-ui/vant/issues/9931 transform: translateZ(0); cursor: grab; user-select: none; diff --git a/packages/vant/src/switch/index.less b/packages/vant/src/switch/index.less index 8af117767..8867780d6 100644 --- a/packages/vant/src/switch/index.less +++ b/packages/vant/src/switch/index.less @@ -33,7 +33,7 @@ left: 0; width: var(--van-switch-node-size); height: var(--van-switch-node-size); - // https://github.com/youzan/vant/issues/9839 + // https://github.com/vant-ui/vant/issues/9839 font-size: inherit; background: var(--van-switch-node-background-color); border-radius: 100%; diff --git a/packages/vant/src/toast/index.less b/packages/vant/src/toast/index.less index 9ae3a18ba..9c19569cb 100644 --- a/packages/vant/src/toast/index.less +++ b/packages/vant/src/toast/index.less @@ -38,7 +38,7 @@ // allow newline character white-space: pre-wrap; text-align: center; - // https://github.com/youzan/vant/issues/8959 + // https://github.com/vant-ui/vant/issues/8959 word-break: break-all; background: var(--van-toast-background-color); border-radius: var(--van-toast-border-radius); diff --git a/packages/vant/src/utils/with-install.ts b/packages/vant/src/utils/with-install.ts index 1cc6e864f..1318e2d67 100644 --- a/packages/vant/src/utils/with-install.ts +++ b/packages/vant/src/utils/with-install.ts @@ -1,7 +1,7 @@ import { App } from 'vue'; import { camelize } from './format'; -// https://github.com/youzan/vant/issues/8302 +// https://github.com/vant-ui/vant/issues/8302 type EventShim = { new (...args: any[]): { $props: { diff --git a/packages/vant/vant.config.mjs b/packages/vant/vant.config.mjs index b03849b08..604787335 100644 --- a/packages/vant/vant.config.mjs +++ b/packages/vant/vant.config.mjs @@ -29,12 +29,6 @@ export default { htmlMeta: { 'docsearch:version': 'v3', }, - headHtml: ` -`, locales: { 'zh-CN': { title: 'Vant 3', @@ -49,7 +43,7 @@ location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io'); }, { logo: 'https://fastly.jsdelivr.net/npm/@vant/assets/github.svg', - url: 'https://github.com/youzan/vant', + url: 'https://github.com/vant-ui/vant', }, ], nav: [ @@ -473,7 +467,7 @@ location.href = location.href.replace('youzan.github.io', 'vant-ui.github.io'); links: [ { logo: 'https://fastly.jsdelivr.net/npm/@vant/assets/github.svg', - url: 'https://github.com/youzan/vant', + url: 'https://github.com/vant-ui/vant', }, ], nav: [