Commit Graph

155 Commits

Author SHA1 Message Date
neverland e0bfb44d3c chore: rename range to clamp (#8903)
* chore: rename range to clamp

* chore: merge upstream
2021-06-21 16:20:03 +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 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 4d27e8b969 feat(Swipe): indicator slot add active param (#8645)
* feat(Swipe): indicator slot add active param

* docs: upd
2021-05-01 17:31:20 +08:00
neverland 40171e4d74 docs(Swipe): improve document (#8644) 2021-05-01 17:20:09 +08:00
neverland c2b2e799e4 fix(Swipe): re-initialize when popup reopened (#8643) 2021-05-01 17:07:53 +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
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 74e19f55d1 chore: adjust some code (#8446) 2021-04-02 10:19:33 +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 ceebc22e63 types: extract prop types (#8332) 2021-03-14 10:58:08 +08:00
neverland 6e026e18c3 fix(Swipe): incorrect item width after scaled (#8330) 2021-03-13 18:19:42 +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 110af6f1f4 docs: revert cdn URL (#8310) 2021-03-08 17:19:56 +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 d76567eeec fix(Swipe): should render dynamic swipe item correctly (#8288) 2021-03-05 15:33:17 +08:00
neverland 09e1eb5a0d chore: optional chaining (#8283) 2021-03-05 11:05:27 +08:00
neverland 059ed39135 chore(Sticky): improve code style (#8270) 2021-03-04 19:25:04 +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 f0f89f1c4c chore: demo spec uses ts (#8197) 2021-02-22 20:53:07 +08:00
neverland a8060bb599 chore: demo ts (#8160)
* chore: demo ts

* chore: fix
2021-02-14 19:50:45 +08:00
neverland 4cb974ab02 types: ComponentInstance (#8154) 2021-02-14 17:07:26 +08:00
neverland fa8b494f0e chore: rename vModel to v-model (#8150) 2021-02-14 11:05:13 +08:00
neverland d67b6e1184 types(Swipe): use tsx (#8148) 2021-02-13 21:19:19 +08:00
neverland dcef90a2a3 docs: improve click event typing (#8106) 2021-02-09 16:35:54 +08:00
neverland d2ab580f74 style: add var ext (#8063) 2021-02-02 20:31:14 +08:00
neverland 8ac3f43189 fix(Swipe): active may outrange when initialize (#8061) 2021-02-02 19:58:15 +08:00
neverland 67d44a0fa5 docs: fix cdn link (#8023) 2021-01-27 10:25:07 +08:00
chenjiahan cb3219ab66 docs: prefer shorter demo 2021-01-20 21:00:36 +08:00
chenjiahan c02483cc4a test(Swipe): update test cases 2021-01-12 19:53:20 +08:00
chenjiahan 1c428f240c fix(Swipe): should stop autoplay when page is hidden 2021-01-12 19:47:41 +08:00
chenjiahan 51bc1cee8a docs: remove all v2 version tag 2021-01-10 19:08:09 +08:00
chenjiahan 51cb389ef9 fix(Swipe): incorrect active swipe when children changed #7802 2020-12-27 20:16:46 +08:00
chenjiahan a524b5284f test: update snapshots 2020-12-26 15:52:54 +08:00
chenjiahan 037b6b8c10 Merge branch '2.x' into dev 2020-12-26 15:52:18 +08:00
neverland 76aa0e5dd9 fix(Swipe): incorrect size during ssr (#7821) 2020-12-26 15:18:28 +08:00
chenjiahan 0f06cb2303 fix(Swipe): incorrect active tab when activated #7772 2020-12-24 21:01:52 +08:00
neverland dc3fee12c1 chore: fix prettier version (#7739)
* chore: fix prettier version

* docs: fix
2020-12-14 17:04:43 +08:00
chenjiahan 09858eb1d3 docs: improve demo translating 2020-12-11 10:07:07 +08:00
chenjiahan d297807f55 docs(Swipe): use composition api 2020-12-09 10:13:07 +08:00
chenjiahan c96a75ac38 docs(Swipe): add lazy-render demo 2020-11-30 20:45:03 +08:00