mirror of
https://gitee.com/vant-contrib/vant.git
synced 2026-05-03 03:44:50 +08:00
Compare commits
7 Commits
721ecb6e76
...
e4dfe8e4a8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e4dfe8e4a8 | ||
|
|
22343430b3 | ||
|
|
362fc9ff54 | ||
|
|
416b4190ad | ||
|
|
73ce6f2614 | ||
|
|
ae1409c2ea | ||
|
|
914aafb1d8 |
7
.github/workflows/deploy-v2-site.yml
vendored
7
.github/workflows/deploy-v2-site.yml
vendored
@ -2,8 +2,9 @@ name: Deploy V2 Site
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v2*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||
branches: [2.x]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
@ -13,7 +14,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: '2.x'
|
||||
|
||||
|
||||
- name: Install dependencies
|
||||
uses: bahmutov/npm-install@v1
|
||||
|
||||
|
||||
5
.github/workflows/deploy-v3-site.yml
vendored
5
.github/workflows/deploy-v3-site.yml
vendored
@ -2,8 +2,9 @@ name: Deploy V3 Site
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 'v3*' # Push events to matching v*, i.e. v1.0, v20.15.10
|
||||
branches: [dev]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
|
||||
@ -16,6 +16,24 @@ 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`
|
||||
|
||||
@ -16,6 +16,24 @@ 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`
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "vant",
|
||||
"version": "3.0.15",
|
||||
"version": "3.0.16",
|
||||
"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.1.1",
|
||||
"@vant/lazyload": "^1.2.0",
|
||||
"@vant/popperjs": "^1.1.0",
|
||||
"@vant/use": "^1.1.1"
|
||||
},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@vant/lazyload",
|
||||
"version": "1.1.1",
|
||||
"version": "1.2.0",
|
||||
"description": "This is a fork of vue-lazyload",
|
||||
"main": "dist/cjs/index.js",
|
||||
"module": "dist/esm/index.js",
|
||||
|
||||
@ -5,3 +5,4 @@ const AddressList = withInstall<typeof _AddressList>(_AddressList);
|
||||
|
||||
export default AddressList;
|
||||
export { AddressList };
|
||||
export type { AddressListAddress } from './AddressListItem';
|
||||
|
||||
@ -21,7 +21,7 @@ type CascaderTab = {
|
||||
selectedOption: CascaderOption | null;
|
||||
};
|
||||
|
||||
type CascaderFieldNames = {
|
||||
export type CascaderFieldNames = {
|
||||
text?: string;
|
||||
value?: string;
|
||||
children?: string;
|
||||
|
||||
@ -5,4 +5,4 @@ const Cascader = withInstall<typeof _Cascader>(_Cascader);
|
||||
|
||||
export default Cascader;
|
||||
export { Cascader };
|
||||
export type { CascaderOption } from './Cascader';
|
||||
export type { CascaderOption, CascaderFieldNames } from './Cascader';
|
||||
|
||||
@ -20,6 +20,8 @@ import { Loading } from '../loading';
|
||||
|
||||
const [name, bem, t] = createNamespace('list');
|
||||
|
||||
export type ListDirection = 'up' | 'down';
|
||||
|
||||
export default defineComponent({
|
||||
name,
|
||||
|
||||
@ -36,7 +38,7 @@ export default defineComponent({
|
||||
default: 300,
|
||||
},
|
||||
direction: {
|
||||
type: String as PropType<'up' | 'down'>,
|
||||
type: String as PropType<ListDirection>,
|
||||
default: 'down',
|
||||
},
|
||||
},
|
||||
|
||||
@ -5,3 +5,4 @@ const List = withInstall<typeof _List>(_List);
|
||||
|
||||
export default List;
|
||||
export { List };
|
||||
export type { ListDirection } from './List';
|
||||
|
||||
@ -5,3 +5,4 @@ const NumberKeyboard = withInstall<typeof _NumberKeyboard>(_NumberKeyboard);
|
||||
|
||||
export default NumberKeyboard;
|
||||
export { NumberKeyboard };
|
||||
export type { NumberKeyboardTheme } from './NumberKeyboard';
|
||||
|
||||
@ -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,6 +18,8 @@ function makePage(
|
||||
return { number, text, active };
|
||||
}
|
||||
|
||||
export type PaginationMode = 'simple' | 'multi';
|
||||
|
||||
export default defineComponent({
|
||||
name,
|
||||
|
||||
@ -26,7 +28,7 @@ export default defineComponent({
|
||||
nextText: String,
|
||||
forceEllipses: Boolean,
|
||||
mode: {
|
||||
type: String,
|
||||
type: String as PropType<PaginationMode>,
|
||||
default: 'multi',
|
||||
},
|
||||
modelValue: {
|
||||
|
||||
@ -5,3 +5,4 @@ const Pagination = withInstall<typeof _Pagination>(_Pagination);
|
||||
|
||||
export default Pagination;
|
||||
export { Pagination };
|
||||
export type { PaginationMode } from './Pagination';
|
||||
|
||||
@ -8,6 +8,7 @@ export { Picker };
|
||||
export type {
|
||||
PickerColumn,
|
||||
PickerOption,
|
||||
PickerFieldNames,
|
||||
PickerObjectColumn,
|
||||
PickerObjectOption,
|
||||
PickerToolbarPosition,
|
||||
|
||||
@ -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.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/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/markdown-loader@^4.1.0":
|
||||
version "4.1.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user