Commit Graph

9145 Commits

Author SHA1 Message Date
neverland febb0a8a1b release: @vant/cli 5.0.0-beta.0 (#11082) 2022-09-24 10:50:33 +08:00
Gavin ece27f9474 feat(Field): add message param to 'end-validate' method (#11080) 2022-09-24 10:44:48 +08:00
neverland 0ceb6a843c release: vant@1.4.3 (#11076) 2022-09-22 23:18:05 +08:00
neverland 980ab88c2e perf: move @vant/icons to dev dependencies (#11075) 2022-09-22 23:08:51 +08:00
Gavin e0063ae249 perf: improve the type of setTimeout (#11069)
* perf: improve the type of setTimeout with 'ReturnType<typeof setTimeout>'

* fix: fix type 'number' is not assignable to type 'Timeout'

Co-authored-by: wangjunwei <wangjunwei@nucarf.com>
2022-09-22 11:24:32 +08:00
neverland ccd92a6eee fix(Tabs): incorrect scroll position when inited (#11059) 2022-09-18 22:06:59 +08:00
Reii e250dd31b8 docs(PickerGroup): fix TimePicker link error (#11053) 2022-09-16 14:35:21 +08:00
Reii 282021de4e docs(Cascader): update field-names type (#11052) 2022-09-16 13:01:22 +08:00
neverland 82883141a1 chore: rename main branch from dev to main (#11042) 2022-09-12 11:34:29 +08:00
neverland a635e2d80b docs: update links (#11041) 2022-09-12 11:27:14 +08:00
neverland 1d2e983a0f docs: improve dark theme guide (#11040) 2022-09-12 11:16:11 +08:00
neverland cbbdad909a fix(cli): should remove light theme class in dark mode (#11039) 2022-09-12 11:05:44 +08:00
neverland 6a9d5515ce docs(changelog): vant@4.0.0-rc.3 (#11038) 2022-09-12 10:54:15 +08:00
chenjiahan 5509ca0d1d release: 4.0.0-rc.3 v4.0.0-rc.3 2022-09-12 10:47:26 +08:00
neverland 65d9fbc5da types: some theme vars can be number type (#11037) 2022-09-12 10:44:53 +08:00
neverland 39a100f3a0 feat: add themeVars type of all components (#11034)
* types: add types of all theme vars

* types: export all theme vars

* types: add ConfigProviderThemeVars

* fix: repeat key

* docs: add doc
2022-09-12 10:37:24 +08:00
neverland e1670e27f6 types(Toast): fix missing global components type (#11033) 2022-09-11 23:00:05 +08:00
neverland b29180933b feat(Notify): add z-index prop (#11032) 2022-09-11 22:56:15 +08:00
neverland 97d02a1e92 docs: fix missing z-index prop in document (#11031) 2022-09-11 22:53:43 +08:00
chenjiahan 16c1f35135 release: @vant/popperjs 1.3.0 2022-09-11 16:49:56 +08:00
neverland 9cd60d151d perf: remove popperjs to reduce install size (#11030) 2022-09-11 16:41:54 +08:00
neverland ee6fa66e4a docs(changelog): vant@4.0.0-rc.2 (#11029) 2022-09-11 12:08:32 +08:00
chenjiahan bcae14d7cb release: 4.0.0-rc.2 v4.0.0-rc.2 2022-09-11 12:05:14 +08:00
neverland 4756168ae7 fix(Dialog): incorrect transform behavior (#11028) 2022-09-11 09:43:49 +08:00
neverland fd9cf38022 style(Empty): fix opacity in dark mode (#11027) 2022-09-11 09:21:09 +08:00
neverland 34360abd3b fix: attach css variables to :root element (#11026) 2022-09-11 09:11:53 +08:00
chenjiahan b6f2eb3e2a docs: fix legacy css variables in demo 2022-09-10 22:43:56 +08:00
chenjiahan 845c0b720b chore: remove unused stylelint ignore 2022-09-10 22:07:20 +08:00
neverland c243ebd1ff docs(changelog): vant@4.0.0-rc.1 (#11025) 2022-09-10 22:06:33 +08:00
chenjiahan 09c2bd8efd release: 4.0.0-rc.1 v4.0.0-rc.1 2022-09-10 22:02:49 +08:00
neverland 8df6eaf5a0 Merge pull request #10208 from vant-ui/next
WIP: 4.0
2022-09-10 21:55:57 +08:00
chenjiahan 99833f2185 docs: switch dev branch to v4 2022-09-10 21:53:14 +08:00
chenjiahan 66df033ec8 Merge branch 'dev' into next 2022-09-10 21:51:26 +08:00
neverland e2ea3be819 feat: export props of all components (#11024) 2022-09-10 21:49:21 +08:00
neverland 019c328975 chore: remove *.less from sideEffects (#11023) 2022-09-10 17:17:23 +08:00
neverland 0e55b72200 feat(Image): add block prop (#11022) 2022-09-10 17:13:14 +08:00
neverland 69d3ba000c chore: bump pnpm version to 7.11 (#11021) 2022-09-10 12:46:55 +08:00
neverland 9418fe371d docs: improve use component guide (#11020) 2022-09-10 12:28:43 +08:00
neverland 5d8282ddae docs(Toast): add component usage guide (#11019) 2022-09-10 11:40:11 +08:00
neverland 43ff890d79 feat(Toast): add message slot (#11018) 2022-09-10 11:32:38 +08:00
neverland 98642589ee docs: add picker-group to migration guide (#11016) 2022-09-08 23:16:08 +08:00
neverland 6f910c9913 feat(Dialog): message-align can be justify (#11014) 2022-09-07 23:20:28 +08:00
chenjiahan 1b08f84ac6 docs(changelog): @vant/cli 4.0.4 2022-09-06 00:03:50 +08:00
chenjiahan f0d3e04fba release: @vant/cli 4.0.4 2022-09-06 00:03:00 +08:00
neverland 830a1eb5cf fix(@vant/cli): failed to build types of sfc (#11012) 2022-09-06 00:00:28 +08:00
Fengyuan Chen cd439c04f3 fix(utils): avoid getting unexpected value (#11010)
For example, when calling `get({}, 'button.small')`, it expects to return an empty string, but return a function (`''.small` is a native function, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/small).
2022-09-05 23:42:11 +08:00
neverland 0aac165d4e fix(Picker): failed to update value in some cases (#11009) 2022-09-04 21:00:18 +08:00
chenjiahan f60a3b840d docs(changelog): vant@4.0.0-rc.0 2022-09-04 14:51:32 +08:00
chenjiahan 997f3e0acd release: 4.0.0-rc.0 v4.0.0-rc.0 2022-09-04 14:49:15 +08:00
chenjiahan e2fe50250c Merge branch 'dev' into next 2022-09-04 14:34:46 +08:00