60 Commits

Author SHA1 Message Date
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
981ad0f3ce docs: update componen varriable value format 2021-06-14 11:13:38 +08:00
chenjiahan
b3cc75dcbd docs: update component css vars value 2021-06-14 11:13:38 +08:00
neverland
8e3833acc8
docs: update component CSS variable names (#8857) 2021-06-14 10:23:47 +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
neverland
914aafb1d8
types: export more types (#8652) 2021-05-03 09:47:56 +08:00
neverland
e2286b0426
feat(Cascader): add @cascader-header-padding less var (#8626) 2021-04-27 21:33:09 +08:00
nemo-shen
df7114701a
feat(Cascader): click-tab event (#8606)
* feat(Cascader): click-tab event

* chore(Cascader): adjust onClickTab use
2021-04-23 17:38:40 +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
9deca34d1d
chore: remove object spead (#8514) 2021-04-12 20:57:24 +08:00
dengrongyao
56429ad4e1 docs: 调整组件介绍文档 2021-04-08 09:57:55 +08:00
dengrongyao
55afff0e9c docs: Adjust punctuation 2021-04-08 09:57:55 +08:00
dengrongyao
2210f8240d docs: Supplement English intro 2021-04-08 09:57:55 +08:00
neverland
71d60cdca0
feat(Cascader): add swipeable prop (#8383) 2021-03-21 21:25:00 +08:00
neverland
f7706fb179
docs: add component registration link (#8378) 2021-03-18 11:23:49 +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
c424d6efcd
feat(Cascader): add close-icon prop (#8334) 2021-03-14 11:20: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
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
9fd71923f9
chore: using includes instead of indexOf (#8261) 2021-03-04 11:07:54 +08:00
neverland
41b6004678
chore: area data using ts (#8257) 2021-03-04 09:58:25 +08:00
chenjiahan
a0addef294 chore: prefer arrow function shorthand 2021-03-02 17:45:12 +08:00
neverland
1dbe9c54eb
chore: bump @vant/cli@3.5.1 (#8221) 2021-02-26 10:24:53 +08:00
neverland
f0f89f1c4c
chore: demo spec uses ts (#8197) 2021-02-22 20:53:07 +08:00
neverland
cb2c2b9b68
test: prefer enUS (#8144) 2021-02-12 20:06:11 +08:00
chenjiahan
7e330109b3 types(Cascader): fieldNames should be optional 2021-02-12 13:03:04 +08:00
chenjiahan
e2e0f66fe6 types: test cases typing 2021-02-11 13:04:00 +08:00
neverland
aeeeae8d2b
types(Cascader): use tsx (#8080) 2021-02-04 15:53:36 +08:00
neverland
d2ab580f74
style: add var ext (#8063) 2021-02-02 20:31:14 +08:00
neverland
7d4c9af382
feat(Cascader): add field-names prop (#7933) 2021-01-17 15:09:52 +08:00
chenjiahan
30c364449d test: fix failed snapshot 2020-12-30 17:24:29 +08:00
chenjiahan
650f6cdacd test: await trigger 2020-12-29 20:33:41 +08:00
chenjiahan
a524b5284f test: update snapshots 2020-12-26 15:52:54 +08:00
chenjiahan
292ca41d20 test(Cascader): update test cases 2020-12-21 22:57:50 +08:00
chenjiahan
bf497eed33 refactor(Cascader): refactor with composition api 2020-12-21 22:41:47 +08:00
chenjiahan
4d6b1d2875 docs(Cascader): use composition api 2020-12-21 22:32:17 +08:00
chenjiahan
9f758b981f docs(Cascader): fix install guide 2020-12-21 22:25:30 +08:00
chenjiahan
cbc107dfd7 docs: remove 2.x version tips 2020-12-21 21:51:42 +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
neverland
659ea9cf07
fix(Cascader): failed to update tabs when value is zero (#7778) 2020-12-21 10:46:30 +08:00
neverland
a9134162f6
fix(Cascader): should watch options deeply (#7777)
* fix(Cascader): should watch options deeply

* docs: fix
2020-12-21 10:28:08 +08:00
chenjiahan
5452701c47 test(Cascader): add test cases 2020-12-20 21:23:50 +08:00
chenjiahan
f71a1da8a7 fix(Cascader): failed to switch to active tab 2020-12-20 21:23:50 +08:00
chenjiahan
5fc1a8a06e feat(Cascader): add less vars 2020-12-20 21:23:50 +08:00
chenjiahan
ce5bb85756 fix(Cascader): should allow tabs to scroll 2020-12-20 21:23:50 +08:00