120 Commits

Author SHA1 Message Date
Weicong Peng
2fe60bc4a9
fix(Tabs): remove invalid head padding for card type (#9168)
* fix: 去除card类型的tabs头样式多余padding

* style: 优化tabs组件not选择器写法

Co-authored-by: 彭伟聪 <weicong.peng@foxmail.com>
2021-08-04 09:47:42 +08:00
neverland
795de3dd51
types(Tabs): add TabsInstance type (#9174)
* types(Tabs): add TabsInstance type

* types: fix
2021-08-03 20:30:21 +08:00
neverland
b7e6e68a92
chore(Tabs): add deprecation warning (#9129)
* chore(Tabs): add deprecation warning

* chore: upd

* chore: upd
2021-07-28 09:33:28 +08:00
neverland
83cf4ebd33
feat(Tabs): click-tab event add disabled param (#9042) 2021-07-16 11:37:36 +08:00
neverland
da9b09b471
feat(Tabs): add click-tab event (#9037) 2021-07-15 14:58:47 +08:00
neverland
0e05d8c908
types: improve relation types (#9016) 2021-07-12 20:54:19 +08:00
neverland
2877363489
feat(Tabs): add nav-bottom slot (#8915) 2021-06-23 16:38:29 +08:00
neverland
4ccd7c1cb5
feat: add more color variables (#8861)
* style: add --van-warning-color

* style: add --van-success-color

* feat: add more color variables
2021-06-14 15:21:05 +08:00
chenjiahan
710aebaee4 feat(style): component using basic css variables 2021-06-12 15:52:22 +08:00
chenjiahan
fe1cba97b7 feat(style): add component css variables 2021-06-12 15:52:22 +08:00
wukang0718
92f44ea152
feat(Tabs): fix add scroll event target (#8734)
Co-authored-by: wukang <wukang@yuzhilin.net.cn>
2021-05-21 15:45:07 +08:00
neverland
8db718d2bd
fix(Tabs): setLine when popup reopened (#8642) 2021-05-01 16:44:02 +08:00
neverland
bd609e1df0
perf: add truthProp util (#8522)
* perf: add TruthyProp util

* chore: rename

* chore: upd
2021-04-14 10:26:21 +08:00
neverland
b3146b9108
style: decentralized less var (#8369)
* style: decentralized less var

* chore: remove emtpy var file
2021-03-17 16:14:18 +08:00
neverland
ceebc22e63
types: extract prop types (#8332) 2021-03-14 10:58:08 +08:00
neverland
1381070a12
chore: prefer named exports (#8315)
* chore: prefer named exports

* chore: fix import
2021-03-09 15:39:26 +08:00
neverland
8bae9ca0ed
chore: export some types (#8309) 2021-03-08 17:14:55 +08:00
neverland
ae40d40c24
types: improve generated component typing (#8308) 2021-03-08 16:52:15 +08:00
neverland
e540876398
refactor: reorganize all components (#8303) 2021-03-08 11:50:37 +08:00
neverland
12be46fad8
chore: improve filter (#8262) 2021-03-04 11:27:39 +08:00
neverland
831091182a
chore: using symbol as provide key (#8260) 2021-03-04 10:58:36 +08:00
chenjiahan
6e5329cbe0 chore: rename variables and comments 2021-03-02 17:55:22 +08:00
chenjiahan
a0addef294 chore: prefer arrow function shorthand 2021-03-02 17:45:12 +08:00
neverland
906f01cc8e
types(Tabs): use tsx (#8187) 2021-02-20 17:49:34 +08:00
neverland
9ad0eafae0
types: improve ref typing (#8182) 2021-02-19 20:58:02 +08:00
neverland
08f032e431
chore(Tab): remove unused logic (#8086) 2021-02-05 10:37:20 +08:00
gogHeroDream
7b94ac9199
fix(Tabs): incorrect active tab when active prop is zero (#8074)
Co-authored-by: songpeng01 <songpeng01@mail.open.com.cn>
2021-02-05 10:31:13 +08:00
neverland
d2ab580f74
style: add var ext (#8063) 2021-02-02 20:31:14 +08:00
chenjiahan
d00fce3f61 Merge branch '2.x' into dev 2020-12-21 17:15:26 +08:00
neverland
b4cb00ed97
style(Cascader): fix style details (#7779)
* style(Cascader): fix style details

* style(Tabs): use less var
2020-12-21 13:34:36 +08:00
chenjiahan
8bbd944ece Merge branch '2.x' into dev 2020-12-21 11:02:14 +08:00
chenjiahan
347758a935 feat(Cascader): select options 2020-12-20 21:23:50 +08:00
chenjiahan
c2b86512f6 fix(Tabs): failed to set active tab #7717 2020-12-10 20:06:38 +08:00
chenjiahan
062cd546a9 chore: rename composables folder 2020-11-16 11:41:46 +08:00
chenjiahan
599e817cd4 perf(Tabs): avoid repeated initialization 2020-11-11 22:40:44 +08:00
chenjiahan
49e87756c7 fix(Tabs): skip initial animation 2020-11-01 09:57:42 +08:00
chenjiahan
2d2f0d8ad4 Merge branch '2.x' into dev 2020-10-31 18:19:32 +08:00
neverland
0cc11a45e1
fix(Tabs): incorrect change event in some cases (#7461) 2020-10-31 17:35:33 +08:00
chenjiahan
9be853f7ac Revert "fix(Tabs): should scroll to current content when mounted (#7411)"
This reverts commit f504245074fb0450ec69f5c64577be2716b80ac4.
2020-10-29 22:04:13 +08:00
chenjiahan
2293b652ab Merge branch '2.x' into dev 2020-10-29 22:03:29 +08:00
neverland
134d8ccd6f
fix(Tabs): should keep active value after insert item (#7445) 2020-10-29 21:48:54 +08:00
neverland
f504245074
fix(Tabs): should scroll to current content when mounted (#7411) 2020-10-26 20:47:43 +08:00
neverland
c82c30eccd
chore(Tab): remove unused prop and update desc (#7330) 2020-10-14 20:55:37 +08:00
chenjiahan
ed753ac97d types: use CSSProperties for style 2020-10-09 19:41:03 +08:00
chenjiahan
c8a00f3ad3 chore: move useCountdown to @vant/use 2020-10-06 10:03:08 +08:00
chenjiahan
f264c46dd8 fix(Tab): incorrect initial swipe position 2020-10-03 15:42:56 +08:00
chenjiahan
8296b657a0 fix(Tab): duration not work 2020-10-03 15:35:35 +08:00
chenjiahan
1376d6f3f7 feat(Tab): add swipe animation #1174 2020-10-03 15:33:21 +08:00
chenjiahan
475e60b282 feat: add Badge component #6573 2020-10-02 16:46:57 +08:00
chenjiahan
6cd9e98ce4 chore: move useRelation to @vant/use 2020-09-27 17:46:59 +08:00