Compare commits

..

No commits in common. "e4dfe8e4a80049ada7c64fc3cc94b46cfd9efdcd" and "721ecb6e764ce42c7192b9c7b82df75c81096de6" have entirely different histories.

16 changed files with 17 additions and 64 deletions

View File

@ -2,9 +2,8 @@ name: Deploy V2 Site
on:
push:
branches: [2.x]
paths:
- 'docs/**'
tags:
- 'v2*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build-and-deploy:
@ -14,7 +13,7 @@ jobs:
uses: actions/checkout@v2
with:
ref: '2.x'
- name: Install dependencies
uses: bahmutov/npm-install@v1

View File

@ -2,9 +2,8 @@ name: Deploy V3 Site
on:
push:
branches: [dev]
paths:
- 'docs/**'
tags:
- 'v3*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build-and-deploy:

View File

@ -16,24 +16,6 @@ Vant follows [Semantic Versioning 2.0.0](https://semver.org/lang/zh-CN/).
## Details
### [v3.0.16](https://github.com/youzan/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)
**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)
### [v3.0.15](https://github.com/youzan/vant/compare/v2.12.14-test...v3.0.15)
`2021-04-25`

View File

@ -16,24 +16,6 @@ Vant 遵循 [Semver](https://semver.org/lang/zh-CN/) 语义化版本规范。
## 更新内容
### [v3.0.16](https://github.com/youzan/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)
**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)
### [v3.0.15](https://github.com/youzan/vant/compare/v2.12.14-test...v3.0.15)
`2021-04-25`

View File

@ -1,6 +1,6 @@
{
"name": "vant",
"version": "3.0.16",
"version": "3.0.15",
"description": "Mobile UI Components built on Vue",
"main": "lib/index.js",
"module": "es/index.js",
@ -51,7 +51,7 @@
"license": "MIT",
"dependencies": {
"@vant/icons": "^1.5.3",
"@vant/lazyload": "^1.2.0",
"@vant/lazyload": "^1.1.1",
"@vant/popperjs": "^1.1.0",
"@vant/use": "^1.1.1"
},

View File

@ -1,6 +1,6 @@
{
"name": "@vant/lazyload",
"version": "1.2.0",
"version": "1.1.1",
"description": "This is a fork of vue-lazyload",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",

View File

@ -5,4 +5,3 @@ const AddressList = withInstall<typeof _AddressList>(_AddressList);
export default AddressList;
export { AddressList };
export type { AddressListAddress } from './AddressListItem';

View File

@ -21,7 +21,7 @@ type CascaderTab = {
selectedOption: CascaderOption | null;
};
export type CascaderFieldNames = {
type CascaderFieldNames = {
text?: string;
value?: string;
children?: string;

View File

@ -5,4 +5,4 @@ const Cascader = withInstall<typeof _Cascader>(_Cascader);
export default Cascader;
export { Cascader };
export type { CascaderOption, CascaderFieldNames } from './Cascader';
export type { CascaderOption } from './Cascader';

View File

@ -20,8 +20,6 @@ import { Loading } from '../loading';
const [name, bem, t] = createNamespace('list');
export type ListDirection = 'up' | 'down';
export default defineComponent({
name,
@ -38,7 +36,7 @@ export default defineComponent({
default: 300,
},
direction: {
type: String as PropType<ListDirection>,
type: String as PropType<'up' | 'down'>,
default: 'down',
},
},

View File

@ -5,4 +5,3 @@ const List = withInstall<typeof _List>(_List);
export default List;
export { List };
export type { ListDirection } from './List';

View File

@ -5,4 +5,3 @@ const NumberKeyboard = withInstall<typeof _NumberKeyboard>(_NumberKeyboard);
export default NumberKeyboard;
export { NumberKeyboard };
export type { NumberKeyboardTheme } from './NumberKeyboard';

View File

@ -1,6 +1,6 @@
import { computed, watch, PropType, defineComponent } from 'vue';
import { createNamespace } from '../utils';
import { BORDER } from '../utils/constant';
import { computed, watch, defineComponent } from 'vue';
const [name, bem, t] = createNamespace('pagination');
@ -18,8 +18,6 @@ function makePage(
return { number, text, active };
}
export type PaginationMode = 'simple' | 'multi';
export default defineComponent({
name,
@ -28,7 +26,7 @@ export default defineComponent({
nextText: String,
forceEllipses: Boolean,
mode: {
type: String as PropType<PaginationMode>,
type: String,
default: 'multi',
},
modelValue: {

View File

@ -5,4 +5,3 @@ const Pagination = withInstall<typeof _Pagination>(_Pagination);
export default Pagination;
export { Pagination };
export type { PaginationMode } from './Pagination';

View File

@ -8,7 +8,6 @@ export { Picker };
export type {
PickerColumn,
PickerOption,
PickerFieldNames,
PickerObjectColumn,
PickerObjectOption,
PickerToolbarPosition,

View File

@ -1923,10 +1923,10 @@
resolved "https://registry.npm.taobao.org/@vant/icons/download/@vant/icons-1.5.3.tgz?cache=0&sync_timestamp=1613997305954&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40vant%2Ficons%2Fdownload%2F%40vant%2Ficons-1.5.3.tgz#b7779f67bf608d417a82452fbede406dfa46b439"
integrity sha1-t3efZ79gjUF6gkUvvt5AbfpGtDk=
"@vant/lazyload@^1.2.0":
version "1.2.0"
resolved "https://registry.nlark.com/@vant/lazyload/download/@vant/lazyload-1.2.0.tgz?cache=0&sync_timestamp=1620006645125&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40vant%2Flazyload%2Fdownload%2F%40vant%2Flazyload-1.2.0.tgz#62e9779bd7844ad8f71c2ca2bf852e6147c7a86d"
integrity sha1-Yul3m9eEStj3HCyiv4UuYUfHqG0=
"@vant/lazyload@^1.1.1":
version "1.1.1"
resolved "https://registry.npmjs.org/@vant/lazyload/-/lazyload-1.1.1.tgz#9eafcf85cdd750463a552a07cf18e5c620c6ccef"
integrity sha512-ejMxgeWP0GBAuzwaC0RG131JKI4SKSpu9kxNR/wyWdOZmkrAR7HZO0GciGG2illgKvs11gPtepik8X/k9iWIXw==
"@vant/markdown-loader@^4.1.0":
version "4.1.0"