Commit Graph

4616 Commits

Author SHA1 Message Date
Zhousg 127b5b28d3 fix(SubmitBar): Unused CSS variables (#11845) 2023-05-14 19:26:23 +08:00
Zhousg 8a32e861d8 docs(vant-use): fix docs type (#11844)
* docs(useClickAway): fix docs type

* docs(useCountDown): fix docs type
2023-05-14 19:25:28 +08:00
inottn e124db7531 docs(ImagePreview): fix docs error (#11841) 2023-05-13 20:22:38 +08:00
chenjiahan 6b517ccdbb docs: fix changelog translation 2023-05-05 21:51:20 +08:00
Gavin 3dabce8e98 feat(PickerGroup): the tab of PickerGroup supports controlled mode (#11771)
* feat(PickerGroup): add method to set the active of tab

* chore: update

* chore: format code

* chore: update

* chore: update

* docs: update docs
2023-05-05 21:40:49 +08:00
inottn e0ae206c89 fix(Tab): should cancel raf before the next scroll (#11819)
* fix(Tab): should cancel raf before the next scroll

* fix(Tab): consider the case where multiple components exist at the same time
2023-05-05 21:38:52 +08:00
inottn bfd9995583 fix(Steps): fix the style that occurs when there is only one step (#11822) 2023-05-05 21:33:14 +08:00
inottn 13ce11f608 fix(Checkbox): disabled unchecked options when the limit is exceeded (#11814)
* fix(Checkbox): disabled unchecked options when the limit is exceeded

* fix: ts def
2023-05-05 10:04:36 +08:00
inottn 5ec43156d0 types(DatePicker): fix ts def (#11813) 2023-05-04 09:49:12 +08:00
neverland 584a62875e docs(changelog): vant@4.3.1 (#11816) 2023-05-04 09:46:23 +08:00
chenjiahan 37d3cfe83d release: 4.3.1 2023-05-04 09:36:49 +08:00
neverland d08270831b fix: release-it can not handle workspace protocol (#11815) 2023-05-04 09:35:37 +08:00
neverland f8bb5a5b4b docs(changelog): vant@4.3.0 (#11811) 2023-05-03 22:24:40 +08:00
chenjiahan f57402d940 release: 4.3.0 2023-05-03 22:20:01 +08:00
neverland 7726eee160 fix(Image): failed to display loading when using lazy-load (#11809) 2023-05-03 22:18:46 +08:00
neverland 5874fc787e chore(Sketch): update primary color (#11808) 2023-05-03 12:44:25 +08:00
neverland 12c3570e70 chore(Signature): improve clear button text (#11807) 2023-05-02 22:08:26 +08:00
neverland 0f47224b46 chore(Signature): rename filePath param to image (#11806) 2023-05-02 20:46:32 +08:00
neverland 8f54235eea test: add SSR tests for all demo (#11805) 2023-05-02 20:19:47 +08:00
inottn f3fa7e7bd5 fix(TimePicker): should update modelValue correctly (#11804) 2023-05-02 20:00:39 +08:00
neverland 9105243850 chore: add some SSR test cases (#11801) 2023-05-02 11:15:14 +08:00
neverland da138d5321 fix(Field): disabled cursor should be not-allowed (#11800) 2023-05-02 10:36:03 +08:00
neverland f9cd6b979f feat(Field): increase default icon size to 18px (#11799) 2023-05-02 10:24:11 +08:00
neverland 064f675df8 feat(Signature): support custom button text (#11798) 2023-05-02 10:05:41 +08:00
neverland c4e114fc33 fix(Signature): failed to sign in mobile devices (#11797) 2023-05-01 16:40:44 +08:00
neverland 77c1d589ca fix(Signature): should prevent page move when signing (#11796) 2023-05-01 16:34:17 +08:00
neverland 5374a2f317 chore(Signature): improve default style (#11795) 2023-05-01 16:20:03 +08:00
neverland 51f7cefd96 fix(Signature): should render tips correctly (#11794) 2023-05-01 15:37:32 +08:00
neverland 8987c5856a chore(Signature): improve ctx typing (#11793) 2023-05-01 11:57:20 +08:00
neverland 21e3c13928 docs(Signature): fix component name (#11792) 2023-05-01 11:50:53 +08:00
李江辰 f2b1b3156e feat(signature): add Signature component (#11733)
* feat(signature): add signature component

* feat(signature): fix md naming error

* feat(signature): refactor and adjust code
2023-05-01 11:30:52 +08:00
neverland dc1531084b chore: using workspace protocol for vant package (#11791) 2023-05-01 11:30:08 +08:00
neverland 5c843f77c5 docs(changelog): vant@4.2.1 (#11787) 2023-04-30 21:24:27 +08:00
chenjiahan e39e1402b2 release: 4.2.1 2023-04-30 21:17:02 +08:00
neverland 2580fe4342 docs(TimePicker): fix formatter demo (#11786) 2023-04-30 19:58:40 +08:00
inottn 5e7a6a212c docs(TimePicker): fix docs error (#11784) 2023-04-30 19:49:58 +08:00
neverland e696d35bd4 refactor(Tabs): move renderTitle to Tab component (#11781) 2023-04-27 08:09:08 +08:00
neverland a052b410cb feat(Pagination): add show-prev-button, show-next-button props (#11780) 2023-04-26 20:27:08 +08:00
neverland c7df4290e2 fix(Pagination): don't show click feedback when button is disabled (#11779) 2023-04-26 20:18:23 +08:00
neverland f10557a211 fix(Tabs): should scroll active tab into view after resized (#11777) 2023-04-26 20:04:22 +08:00
neverland cbaa4b0d3a fix(Tabs): re-render when line-width or line-height changed (#11776) 2023-04-26 19:56:24 +08:00
Zhousg 68d1ade239 fix(Sticky): resize or orientationchange wrapper no reset width and height (#11753)
* fix(Swipe): props changed but component didn't

* fix(Swipe): target watch windowWidth

* Update packages/vant/src/swipe/Swipe.tsx

* fix(Sticky): resize or orientationchange wrapper no reset width and height

* fix(Sticky): resize or orientationchange wrapper no reset width and height

* fix(Sticky): resize or orientationchange wrapper no reset width and height

* fix(Sticky): resize or orientationchange wrapper no reset width and height

---------

Co-authored-by: neverland <jait.chen@foxmail.com>
2023-04-26 19:40:25 +08:00
Cyrbuzz 5338367ea3 fix(Watermark): add xlink namespace and fix blob MIME type (#11762)
* fix(watermark): add xlink namespace and fix blob MIME type

* test(watermark): test snapshots
2023-04-20 18:42:15 +08:00
neverland 5e4bbab00c feat(Picker): add scroll-into event (#11757) 2023-04-16 21:25:49 +08:00
neverland 9e1640180b docs(changelog): vant@4.2.0 (#11756) 2023-04-16 11:22:29 +08:00
chenjiahan c36ec55d7b release: 4.2.0 2023-04-16 11:14:09 +08:00
neverland d876b1f8be chore(Watermark): rename default slot to content (#11755) 2023-04-16 11:13:02 +08:00
neverland 8bc6169ae1 chore(deps): bump consola v3 and rimraf v5 (#11751)
* chore(deps): bump consola v3 and rimraf v5

* chore: revert demo
2023-04-15 09:36:41 +08:00
Zhousg 17055a94c7 fix(Swipe): should resize after props.width/height changed (#11747)
* fix(Swipe): props changed but component didn't

* fix(Swipe): target watch windowWidth

* Update packages/vant/src/swipe/Swipe.tsx

---------

Co-authored-by: neverland <jait.chen@foxmail.com>
2023-04-15 09:28:02 +08:00
neverland 8bc9b262f2 feat(TextEllipsis): add dots prop (#11745)
* feat(TextEllipsis): add dots prop

* chore: update snap
2023-04-09 10:57:34 +08:00