109 Commits

Author SHA1 Message Date
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
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