Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
# [](https://github.com/AntmJS/vantui/compare/v3.6.4...v) (2025-06-12)
# [](https://github.com/AntmJS/vantui/compare/v3.6.5...v) (2025-09-04)


### Bug Fixes

* Form判断异步rule方法时,传callback以兼容同步rule的调用 ([#779](https://github.com/AntmJS/vantui/issues/779)) ([8800858](https://github.com/AntmJS/vantui/commit/88008586f3f65cc911a9bd36a0e10ad7d95343d0))
* **uploader:** 不再使用过时的chooseImage和chooseVideo方法 ([#780](https://github.com/AntmJS/vantui/issues/780)) ([bc7f438](https://github.com/AntmJS/vantui/commit/bc7f438aec9c5113145a4a296b300a79522ab0fb))
* 轮播组件禁用手动滑动功能 ([015f265](https://github.com/AntmJS/vantui/commit/015f26513d9c5baf6a137036fdaff11be507a53e))


### Features

* **highlight:** 新增 Highlight 高亮文本组件 ([#782](https://github.com/AntmJS/vantui/issues/782)) ([95b9ba9](https://github.com/AntmJS/vantui/commit/95b9ba9f5b67b7a2b85bb843425099ad8d5e600a))



## [3.6.5](https://github.com/AntmJS/vantui/compare/v3.6.4...v3.6.5) (2025-06-12)


### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
"**/*.md",
"**/__test__/**"
],
"version": "3.6.5"
"version": "3.6.6"
}
2 changes: 1 addition & 1 deletion packages/vantui-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antmjs/vantui-cli",
"version": "3.6.5",
"version": "3.6.6",
"type": "module",
"main": "dest/cli.js",
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion packages/vantui-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vantui-demo",
"version": "3.6.5",
"version": "3.6.6",
"private": true,
"description": "Taro应用模版",
"templateInfo": {
Expand Down
2 changes: 2 additions & 0 deletions packages/vantui/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ yarn real:h5Doc

cd ./../vantui

pwd

mv ./../vantui-demo/build/js ./doc_build/js
mv ./../vantui-demo/build/assets ./doc_build/assets

Expand Down
11 changes: 6 additions & 5 deletions packages/vantui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@antmjs/vantui",
"version": "3.6.5",
"version": "3.6.6",
"main": "lib/index.js",
"module": "es/index.esm.js",
"style": "lib/index.css",
Expand Down Expand Up @@ -46,7 +46,7 @@
"test": "",
"test:watch": "",
"docs:watch": "node ./scripts/md.js && npx antm-doc-start",
"docs": "node ./scripts/md.js && sh ./build.sh && npx gh-pages -d doc_build -e ./main",
"docs": "node ./scripts/md.js && sh ./build.sh",
"gh": " npx gh-pages -d doc_build -e ./main"
},
"dependencies": {
Expand All @@ -56,12 +56,13 @@
"dayjs": "^1.10.6",
"raf": "^3.4.1",
"rc-util": "^5.14.0",
"ts-node": "10.8.1",
"use-deep-compare-effect": "^1.8.1"
},
"devDependencies": {
"@antmjs/doc": "^2.3.28",
"@antmjs/doc": "^2.4.1",
"@antmjs/iconfont": "^2.3.20",
"@antmjs/types": "^2.3.28",
"@antmjs/types": "^2.4.1",
"@antmjs/vantui-cli": "3.0.4",
"@tarojs/components": "3.5.7",
"@tarojs/taro": "3.5.7",
Expand All @@ -74,4 +75,4 @@
"style-resources-loader": "^1.5.0",
"swc-loader": "^0.2.3"
}
}
}
38 changes: 19 additions & 19 deletions packages/vantui/src/dialog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,22 +97,22 @@ import { Dialog } from '@antmjs/vantui'

组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考[ConfigProvider 组件](https://antmjs.github.io/vantui/#/config-provider)

| 名称 | 默认值 |
| -------------------------------------- | -------------------- |
| --dialog-width | `640px;` |
| --dialog-small-screen-width | `90%;` |
| --dialog-font-size | `@font-size-lg;` |
| --dialog-border-radius | `32px;` |
| --dialog-background-color | `@white;` |
| --dialog-header-font-weight | `@font-weight-bold;` |
| --dialog-header-line-height | `48px;` |
| --dialog-header-padding-top | `@padding-lg;` |
| --dialog-header-isolated-padding | `@padding-lg 0;` |
| --dialog-message-padding | `@padding-lg;` |
| --dialog-message-font-size | `@font-size-md;` |
| --dialog-message-line-height | `40px;` |
| --dialog-message-max-height | `60vh;` |
| --dialog-has-title-message-text-color | `@gray-7;` |
| --dialog-has-title-message-padding-top | `@padding-xs;` |
| --dialog-cancel-button-color | `@gray-7;` |
| --dialog-confirm-button-color | `@text-link-color;` |
| 名称 | 默认值 |
| -------------------------------------- | --------------------- |
| --dialog-width | ` 640px;` |
| --dialog-small-screen-width | ` 90%;` |
| --dialog-font-size | ` @font-size-lg;` |
| --dialog-border-radius | ` 32px;` |
| --dialog-background-color | ` @white;` |
| --dialog-header-font-weight | ` @font-weight-bold;` |
| --dialog-header-line-height | ` 48px;` |
| --dialog-header-padding-top | ` @padding-lg;` |
| --dialog-header-isolated-padding | ` @padding-lg 0;` |
| --dialog-message-padding | ` @padding-lg;` |
| --dialog-message-font-size | ` @font-size-md;` |
| --dialog-message-line-height | ` 40px;` |
| --dialog-message-max-height | ` 60vh;` |
| --dialog-has-title-message-text-color | ` @gray-7;` |
| --dialog-has-title-message-padding-top | ` @padding-xs;` |
| --dialog-cancel-button-color | ` @gray-7;` |
| --dialog-confirm-button-color | ` @text-link-color;` |
48 changes: 24 additions & 24 deletions packages/vantui/src/form/README.md

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions packages/vantui/src/picker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,23 @@ import { Picker } from '@antmjs/vantui'
| setIndexes | 设置每一列展示的下标 | _&nbsp;&nbsp;(<br/>&nbsp;&nbsp;&nbsp;&nbsp;indexes:&nbsp;number[]<br/>&nbsp;&nbsp;)&nbsp;=>&nbsp;void<br/>_ |
| getValues | 每一列展示的值 | _&nbsp;&nbsp;()&nbsp;=>&nbsp;any<br/>_ |
| confirm | 触发确认的方法 | _&nbsp;&nbsp;()&nbsp;=>&nbsp;void<br/>_ |

### 样式变量

组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考[ConfigProvider 组件](https://antmjs.github.io/vantui/#/config-provider)

| 名称 | 默认值 |
| ----------------------------------- | ---------------------------- |
| --picker-background-color | ` @white;` |
| --picker-toolbar-height | ` 88px;` |
| --picker-title-font-size | ` @font-size-lg;` |
| --picker-action-padding | ` 0 @padding-md;` |
| --picker-action-font-size | ` @font-size-md;` |
| --picker-confirm-action-color | ` @text-link-color;` |
| --picker-cancel-action-color | ` @gray-6;` |
| --picker-option-font-size | ` @font-size-lg;` |
| --picker-option-text-color | ` @black;` |
| --picker-loading-icon-color | ` var(--primary-color);` |
| --picker-loading-mask-color | ` rgba(255, 255, 255, 0.9);` |
| --picker-option-disabled-opacity | ` 0.3;` |
| --picker-option-selected-text-color | ` @text-color;` |
Loading
Loading