71 Commits

Author SHA1 Message Date
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
1376d6f3f7 feat(Tab): add swipe animation #1174 2020-10-03 15:33:21 +08:00
chenjiahan
6cd9e98ce4 chore: move useRelation to @vant/use 2020-09-27 17:46:59 +08:00
chenjiahan
0072f4fe02 chore: expose utils in entry file 2020-09-27 17:11:43 +08:00
chenjiahan
12cadc42a1 chore: adjust useRoute 2020-09-26 11:17:49 +08:00
chenjiahan
11890ef3c1 chore(Tabs): use relation 2020-09-26 11:11:30 +08:00
chenjiahan
882e3ef5e7 refactor(Tabs): refactor with composition api 2020-09-22 20:03:23 +08:00
chenjiahan
9279965cc1 refactor(TabsTitle): refactor with composition api 2020-09-21 17:16:49 +08:00
chenjiahan
8ca7219acc refactor(TabsContent): refactor with composition api 2020-09-21 17:12:19 +08:00
chenjiahan
d58777d562 Merge branch 'dev' into next 2020-09-10 16:44:24 +08:00
neverland
14b2f343e2
fix(Tabs): incorrect scroll position when offset-top has unit (#7143) 2020-09-09 18:00:15 +08:00
neverland
4ffa6ead1e
chore: prefer nullish coalescing (#7125) 2020-09-07 20:36:49 +08:00
chenjiahan
f2c151c337 Merge branch 'dev' into next 2020-09-02 15:32:31 +08:00
neverland
438d34caf1
chore(Tab): use callInterceptor (#7082) 2020-09-02 11:57:44 +08:00
chenjiahan
2ec101f07b chore: rename api folder to composition 2020-08-26 15:32:30 +08:00
chenjiahan
63bd4700ab breaking change: rename Info to Badge 2020-08-20 19:36:12 +08:00
chenjiahan
6f4c8f1e5b Merge branch 'dev' into next 2020-08-15 07:01:52 +08:00
neverland
4f9eeec752
style(Tabs): adjust default line-width to 40px (#7002) 2020-08-13 20:50:53 +08:00
chenjiahan
17c64b24e7 Merge branch 'dev' into next 2020-08-07 06:33:04 +08:00
chenjiahan
bc0e45687a style(Tab): disable ellipsis when scrollable 2020-07-31 20:48:10 +08:00
chenjiahan
69ac602bc2 style(Tab): remove default border 2020-07-31 19:25:19 +08:00
zhongnan
8027f46f3f refactor(tab): update nav padding 2020-07-31 16:46:34 +08:00
zhongnan
90e678756a refactor(tab): adjust padding in complete mode 2020-07-31 16:46:34 +08:00
chenjiahan
7e47a0721b fix(Tabs): update:active event 2020-07-26 15:35:37 +08:00
chenjiahan
d2291f3710 feat: migrate Tab component 2020-07-26 15:29:52 +08:00
neverland
9903230cb6
feat(Tabs): add before-change prop (#6817) 2020-07-19 16:57:27 +08:00
neverland
b249c690d7
feat(Tab): add scrollTo method (#6800) 2020-07-16 22:48:26 +08:00
neverland
7a4e47eb09
fix(Tab): should not trigger route when disabled (#6782) 2020-07-14 20:37:57 +08:00
neverland
713c8e0101
chore(Tab): rename onShow to init (#6488) 2020-06-08 19:44:27 +08:00
chenjiahan
2fb5cca49a chore: prettier source code 2020-04-02 15:36:02 +08:00
chenjiahan
214b13b8ff feat(Tab): add badge prop, mark info prop as deprecated 2020-03-17 21:06:12 +08:00
chenjiahan
c4be70c4e8 fix(Tabs): lock scroll not work when using scrollspy (#5727) 2020-03-02 19:41:07 +08:00
chenjiahan
0993b394b1 fix(Tabs): incorrect scrollspy position while inside a scroller 2020-02-29 15:57:20 +08:00
neverland
da7c86412c
fix(Tabs): scrollspy not work when custom scroller (#5637) 2020-02-08 19:59:34 +08:00
陈嘉涵
5e658b08ce feat(Swipe): some props can be string 2020-01-31 10:15:34 +08:00
陈嘉涵
bb53c3c758 chore: sort imports 2020-01-19 19:29:30 +08:00
陈嘉涵
389d68884d chore: add trailingComma 2020-01-19 11:57:09 +08:00
陈嘉涵
f8a3669f2d feat(Tab): improve scrollLeftTo performance 2019-12-16 20:57:13 +08:00