vant 4.0.0-rc.2 → 4.0.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -5
- package/changelog.generated.md +38 -26
- package/es/action-bar/index.d.ts +1 -0
- package/es/action-bar/types.d.ts +4 -0
- package/es/action-bar/types.mjs +0 -0
- package/es/action-bar-button/index.d.ts +1 -0
- package/es/action-bar-button/types.d.ts +5 -0
- package/es/action-bar-button/types.mjs +0 -0
- package/es/action-bar-icon/index.d.ts +1 -0
- package/es/action-bar-icon/types.d.ts +10 -0
- package/es/action-bar-icon/types.mjs +0 -0
- package/es/action-sheet/index.d.ts +1 -0
- package/es/action-sheet/types.d.ts +23 -0
- package/es/action-sheet/types.mjs +0 -0
- package/es/address-edit/index.d.ts +1 -1
- package/es/address-edit/types.d.ts +6 -0
- package/es/address-list/index.d.ts +1 -0
- package/es/address-list/types.d.ts +15 -0
- package/es/address-list/types.mjs +0 -0
- package/es/badge/index.d.ts +1 -0
- package/es/badge/types.d.ts +12 -0
- package/es/badge/types.mjs +0 -0
- package/es/button/index.d.ts +1 -1
- package/es/button/types.d.ts +36 -0
- package/es/calendar/index.d.ts +1 -1
- package/es/calendar/types.d.ts +28 -0
- package/es/card/index.d.ts +1 -0
- package/es/card/types.d.ts +18 -0
- package/es/card/types.mjs +0 -0
- package/es/cascader/index.d.ts +1 -1
- package/es/cascader/types.d.ts +15 -0
- package/es/cell/index.d.ts +1 -0
- package/es/cell/types.d.ts +21 -0
- package/es/cell/types.mjs +0 -0
- package/es/cell-group/index.d.ts +1 -0
- package/es/cell-group/types.d.ts +10 -0
- package/es/cell-group/types.mjs +0 -0
- package/es/checkbox/index.d.ts +1 -1
- package/es/checkbox/types.d.ts +11 -0
- package/es/circle/index.d.ts +1 -0
- package/es/circle/types.d.ts +9 -0
- package/es/circle/types.mjs +0 -0
- package/es/collapse-item/index.d.ts +1 -1
- package/es/collapse-item/types.d.ts +9 -0
- package/es/config-provider/index.d.ts +1 -0
- package/es/config-provider/types.d.ts +1 -0
- package/es/config-provider/types.mjs +0 -0
- package/es/contact-card/index.d.ts +1 -0
- package/es/contact-card/types.d.ts +6 -0
- package/es/contact-card/types.mjs +0 -0
- package/es/contact-edit/index.d.ts +1 -0
- package/es/contact-edit/types.d.ts +8 -0
- package/es/contact-edit/types.mjs +0 -0
- package/es/contact-list/index.d.ts +1 -0
- package/es/contact-list/types.d.ts +6 -0
- package/es/contact-list/types.mjs +0 -0
- package/es/count-down/index.d.ts +1 -1
- package/es/count-down/types.d.ts +5 -0
- package/es/coupon/index.d.ts +1 -0
- package/es/coupon/types.d.ts +19 -0
- package/es/coupon/types.mjs +0 -0
- package/es/coupon-cell/index.d.ts +1 -0
- package/es/coupon-cell/types.d.ts +3 -0
- package/es/coupon-cell/types.mjs +0 -0
- package/es/coupon-list/index.d.ts +1 -0
- package/es/coupon-list/types.d.ts +9 -0
- package/es/coupon-list/types.mjs +0 -0
- package/es/dialog/index.d.ts +1 -1
- package/es/dialog/types.d.ts +21 -0
- package/es/divider/index.d.ts +1 -0
- package/es/divider/types.d.ts +10 -0
- package/es/divider/types.mjs +0 -0
- package/es/dropdown-item/index.d.ts +1 -1
- package/es/dropdown-item/types.d.ts +3 -0
- package/es/dropdown-menu/index.d.ts +1 -1
- package/es/dropdown-menu/types.d.ts +13 -0
- package/es/empty/index.d.ts +1 -0
- package/es/empty/types.d.ts +10 -0
- package/es/empty/types.mjs +0 -0
- package/es/field/Field.mjs +2 -1
- package/es/field/index.d.ts +1 -1
- package/es/field/types.d.ts +21 -0
- package/es/grid-item/index.d.ts +1 -0
- package/es/grid-item/types.d.ts +8 -0
- package/es/grid-item/types.mjs +0 -0
- package/es/image/index.d.ts +1 -0
- package/es/image/types.d.ts +9 -0
- package/es/image/types.mjs +0 -0
- package/es/image-preview/index.d.ts +2 -2
- package/es/image-preview/types.d.ts +11 -0
- package/es/index-anchor/index.d.ts +1 -0
- package/es/index-anchor/types.d.ts +11 -0
- package/es/index-anchor/types.mjs +0 -0
- package/es/index-bar/index.d.ts +1 -1
- package/es/index-bar/types.d.ts +6 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/index.d.ts +1 -1
- package/es/list/types.d.ts +6 -0
- package/es/loading/index.d.ts +1 -0
- package/es/loading/types.d.ts +7 -0
- package/es/loading/types.mjs +0 -0
- package/es/nav-bar/index.d.ts +1 -0
- package/es/nav-bar/types.d.ts +10 -0
- package/es/nav-bar/types.mjs +0 -0
- package/es/notice-bar/index.d.ts +1 -1
- package/es/notice-bar/types.d.ts +11 -0
- package/es/notify/Notify.mjs +1 -0
- package/es/notify/function-call.mjs +1 -1
- package/es/notify/index.d.ts +2 -2
- package/es/notify/types.d.ts +10 -0
- package/es/number-keyboard/index.d.ts +1 -0
- package/es/number-keyboard/types.d.ts +17 -0
- package/es/number-keyboard/types.mjs +0 -0
- package/es/overlay/index.d.ts +1 -0
- package/es/overlay/types.d.ts +4 -0
- package/es/overlay/types.mjs +0 -0
- package/es/pagination/index.d.ts +1 -0
- package/es/pagination/types.d.ts +11 -0
- package/es/pagination/types.mjs +0 -0
- package/es/password-input/index.d.ts +1 -0
- package/es/password-input/types.d.ts +17 -0
- package/es/password-input/types.mjs +0 -0
- package/es/picker/index.d.ts +1 -1
- package/es/picker/types.d.ts +17 -0
- package/es/picker-group/index.d.ts +1 -0
- package/es/picker-group/types.d.ts +3 -0
- package/es/picker-group/types.mjs +0 -0
- package/es/popover/index.d.ts +1 -1
- package/es/popover/types.d.ts +15 -0
- package/es/popup/index.d.ts +1 -1
- package/es/popup/types.d.ts +9 -0
- package/es/progress/index.d.ts +1 -1
- package/es/progress/types.d.ts +11 -0
- package/es/pull-refresh/index.d.ts +1 -0
- package/es/pull-refresh/types.d.ts +6 -0
- package/es/pull-refresh/types.mjs +0 -0
- package/es/radio/index.d.ts +1 -0
- package/es/radio/types.d.ts +11 -0
- package/es/radio/types.mjs +0 -0
- package/es/rate/index.d.ts +1 -0
- package/es/rate/types.d.ts +7 -0
- package/es/rate/types.mjs +0 -0
- package/es/search/index.d.ts +1 -1
- package/es/search/types.d.ts +13 -0
- package/es/share-sheet/index.d.ts +1 -0
- package/es/share-sheet/types.d.ts +17 -0
- package/es/share-sheet/types.mjs +0 -0
- package/es/sidebar/index.d.ts +1 -0
- package/es/sidebar/types.d.ts +3 -0
- package/es/sidebar/types.mjs +0 -0
- package/es/sidebar-item/index.d.ts +1 -0
- package/es/sidebar-item/types.d.ts +15 -0
- package/es/sidebar-item/types.mjs +0 -0
- package/es/skeleton/index.d.ts +1 -0
- package/es/skeleton/types.d.ts +9 -0
- package/es/skeleton/types.mjs +0 -0
- package/es/slider/index.d.ts +1 -0
- package/es/slider/types.d.ts +11 -0
- package/es/slider/types.mjs +0 -0
- package/es/step/index.d.ts +1 -0
- package/es/step/types.d.ts +13 -0
- package/es/step/types.mjs +0 -0
- package/es/stepper/index.d.ts +1 -0
- package/es/stepper/types.d.ts +15 -0
- package/es/stepper/types.mjs +0 -0
- package/es/steps/index.d.ts +1 -0
- package/es/steps/types.d.ts +3 -0
- package/es/steps/types.mjs +0 -0
- package/es/sticky/index.d.ts +1 -0
- package/es/sticky/types.d.ts +3 -0
- package/es/sticky/types.mjs +0 -0
- package/es/submit-bar/index.d.ts +1 -0
- package/es/submit-bar/types.d.ts +21 -0
- package/es/submit-bar/types.mjs +0 -0
- package/es/swipe/index.d.ts +1 -1
- package/es/swipe/types.d.ts +8 -0
- package/es/switch/index.d.ts +1 -0
- package/es/switch/types.d.ts +12 -0
- package/es/switch/types.mjs +0 -0
- package/es/tab/Tab.mjs +12 -2
- package/es/tabbar/index.d.ts +1 -0
- package/es/tabbar/types.d.ts +5 -0
- package/es/tabbar/types.mjs +0 -0
- package/es/tabbar-item/index.d.ts +1 -0
- package/es/tabbar-item/types.d.ts +9 -0
- package/es/tabbar-item/types.mjs +0 -0
- package/es/tabs/Tabs.mjs +11 -11
- package/es/tabs/index.d.ts +1 -1
- package/es/tabs/types.d.ts +14 -0
- package/es/tag/Tag.d.ts +1 -2
- package/es/tag/index.d.ts +9 -8
- package/es/tag/types.d.ts +20 -0
- package/es/tag/types.mjs +0 -0
- package/es/toast/index.d.ts +6 -1
- package/es/toast/types.d.ts +17 -0
- package/es/tree-select/index.d.ts +1 -0
- package/es/tree-select/types.d.ts +10 -0
- package/es/tree-select/types.mjs +0 -0
- package/es/uploader/index.d.ts +1 -1
- package/es/uploader/types.d.ts +27 -0
- package/lib/action-bar/index.d.ts +1 -0
- package/lib/action-bar/types.d.ts +4 -0
- package/lib/action-bar/types.js +15 -0
- package/lib/action-bar-button/index.d.ts +1 -0
- package/lib/action-bar-button/types.d.ts +5 -0
- package/lib/action-bar-button/types.js +15 -0
- package/lib/action-bar-icon/index.d.ts +1 -0
- package/lib/action-bar-icon/types.d.ts +10 -0
- package/lib/action-bar-icon/types.js +15 -0
- package/lib/action-sheet/index.d.ts +1 -0
- package/lib/action-sheet/types.d.ts +23 -0
- package/lib/action-sheet/types.js +15 -0
- package/lib/address-edit/index.d.ts +1 -1
- package/lib/address-edit/types.d.ts +6 -0
- package/lib/address-list/index.d.ts +1 -0
- package/lib/address-list/types.d.ts +15 -0
- package/lib/address-list/types.js +15 -0
- package/lib/badge/index.d.ts +1 -0
- package/lib/badge/types.d.ts +12 -0
- package/lib/badge/types.js +15 -0
- package/lib/button/index.d.ts +1 -1
- package/lib/button/types.d.ts +36 -0
- package/lib/calendar/index.d.ts +1 -1
- package/lib/calendar/types.d.ts +28 -0
- package/lib/card/index.d.ts +1 -0
- package/lib/card/types.d.ts +18 -0
- package/lib/card/types.js +15 -0
- package/lib/cascader/index.d.ts +1 -1
- package/lib/cascader/types.d.ts +15 -0
- package/lib/cell/index.d.ts +1 -0
- package/lib/cell/types.d.ts +21 -0
- package/lib/cell/types.js +15 -0
- package/lib/cell-group/index.d.ts +1 -0
- package/lib/cell-group/types.d.ts +10 -0
- package/lib/cell-group/types.js +15 -0
- package/lib/checkbox/index.d.ts +1 -1
- package/lib/checkbox/types.d.ts +11 -0
- package/lib/circle/index.d.ts +1 -0
- package/lib/circle/types.d.ts +9 -0
- package/lib/circle/types.js +15 -0
- package/lib/collapse-item/index.d.ts +1 -1
- package/lib/collapse-item/types.d.ts +9 -0
- package/lib/config-provider/index.d.ts +1 -0
- package/lib/config-provider/types.d.ts +1 -0
- package/lib/config-provider/types.js +15 -0
- package/lib/contact-card/index.d.ts +1 -0
- package/lib/contact-card/types.d.ts +6 -0
- package/lib/contact-card/types.js +15 -0
- package/lib/contact-edit/index.d.ts +1 -0
- package/lib/contact-edit/types.d.ts +8 -0
- package/lib/contact-edit/types.js +15 -0
- package/lib/contact-list/index.d.ts +1 -0
- package/lib/contact-list/types.d.ts +6 -0
- package/lib/contact-list/types.js +15 -0
- package/lib/count-down/index.d.ts +1 -1
- package/lib/count-down/types.d.ts +5 -0
- package/lib/coupon/index.d.ts +1 -0
- package/lib/coupon/types.d.ts +19 -0
- package/lib/coupon/types.js +15 -0
- package/lib/coupon-cell/index.d.ts +1 -0
- package/lib/coupon-cell/types.d.ts +3 -0
- package/lib/coupon-cell/types.js +15 -0
- package/lib/coupon-list/index.d.ts +1 -0
- package/lib/coupon-list/types.d.ts +9 -0
- package/lib/coupon-list/types.js +15 -0
- package/lib/dialog/index.d.ts +1 -1
- package/lib/dialog/types.d.ts +21 -0
- package/lib/divider/index.d.ts +1 -0
- package/lib/divider/types.d.ts +10 -0
- package/lib/divider/types.js +15 -0
- package/lib/dropdown-item/index.d.ts +1 -1
- package/lib/dropdown-item/types.d.ts +3 -0
- package/lib/dropdown-menu/index.d.ts +1 -1
- package/lib/dropdown-menu/types.d.ts +13 -0
- package/lib/empty/index.d.ts +1 -0
- package/lib/empty/types.d.ts +10 -0
- package/lib/empty/types.js +15 -0
- package/lib/field/Field.js +2 -1
- package/lib/field/index.d.ts +1 -1
- package/lib/field/types.d.ts +21 -0
- package/lib/grid-item/index.d.ts +1 -0
- package/lib/grid-item/types.d.ts +8 -0
- package/lib/grid-item/types.js +15 -0
- package/lib/image/index.d.ts +1 -0
- package/lib/image/types.d.ts +9 -0
- package/lib/image/types.js +15 -0
- package/lib/image-preview/index.d.ts +2 -2
- package/lib/image-preview/types.d.ts +11 -0
- package/lib/index-anchor/index.d.ts +1 -0
- package/lib/index-anchor/types.d.ts +11 -0
- package/lib/index-anchor/types.js +15 -0
- package/lib/index-bar/index.d.ts +1 -1
- package/lib/index-bar/types.d.ts +6 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/index.d.ts +1 -1
- package/lib/list/types.d.ts +6 -0
- package/lib/loading/index.d.ts +1 -0
- package/lib/loading/types.d.ts +7 -0
- package/lib/loading/types.js +15 -0
- package/lib/nav-bar/index.d.ts +1 -0
- package/lib/nav-bar/types.d.ts +10 -0
- package/lib/nav-bar/types.js +15 -0
- package/lib/notice-bar/index.d.ts +1 -1
- package/lib/notice-bar/types.d.ts +11 -0
- package/lib/notify/Notify.js +1 -0
- package/lib/notify/function-call.js +1 -1
- package/lib/notify/index.d.ts +2 -2
- package/lib/notify/types.d.ts +10 -0
- package/lib/number-keyboard/index.d.ts +1 -0
- package/lib/number-keyboard/types.d.ts +17 -0
- package/lib/number-keyboard/types.js +15 -0
- package/lib/overlay/index.d.ts +1 -0
- package/lib/overlay/types.d.ts +4 -0
- package/lib/overlay/types.js +15 -0
- package/lib/pagination/index.d.ts +1 -0
- package/lib/pagination/types.d.ts +11 -0
- package/lib/pagination/types.js +15 -0
- package/lib/password-input/index.d.ts +1 -0
- package/lib/password-input/types.d.ts +17 -0
- package/lib/password-input/types.js +15 -0
- package/lib/picker/index.d.ts +1 -1
- package/lib/picker/types.d.ts +17 -0
- package/lib/picker-group/index.d.ts +1 -0
- package/lib/picker-group/types.d.ts +3 -0
- package/lib/picker-group/types.js +15 -0
- package/lib/popover/index.d.ts +1 -1
- package/lib/popover/types.d.ts +15 -0
- package/lib/popup/index.d.ts +1 -1
- package/lib/popup/types.d.ts +9 -0
- package/lib/progress/index.d.ts +1 -1
- package/lib/progress/types.d.ts +11 -0
- package/lib/pull-refresh/index.d.ts +1 -0
- package/lib/pull-refresh/types.d.ts +6 -0
- package/lib/pull-refresh/types.js +15 -0
- package/lib/radio/index.d.ts +1 -0
- package/lib/radio/types.d.ts +11 -0
- package/lib/radio/types.js +15 -0
- package/lib/rate/index.d.ts +1 -0
- package/lib/rate/types.d.ts +7 -0
- package/lib/rate/types.js +15 -0
- package/lib/search/index.d.ts +1 -1
- package/lib/search/types.d.ts +13 -0
- package/lib/share-sheet/index.d.ts +1 -0
- package/lib/share-sheet/types.d.ts +17 -0
- package/lib/share-sheet/types.js +15 -0
- package/lib/sidebar/index.d.ts +1 -0
- package/lib/sidebar/types.d.ts +3 -0
- package/lib/sidebar/types.js +15 -0
- package/lib/sidebar-item/index.d.ts +1 -0
- package/lib/sidebar-item/types.d.ts +15 -0
- package/lib/sidebar-item/types.js +15 -0
- package/lib/skeleton/index.d.ts +1 -0
- package/lib/skeleton/types.d.ts +9 -0
- package/lib/skeleton/types.js +15 -0
- package/lib/slider/index.d.ts +1 -0
- package/lib/slider/types.d.ts +11 -0
- package/lib/slider/types.js +15 -0
- package/lib/step/index.d.ts +1 -0
- package/lib/step/types.d.ts +13 -0
- package/lib/step/types.js +15 -0
- package/lib/stepper/index.d.ts +1 -0
- package/lib/stepper/types.d.ts +15 -0
- package/lib/stepper/types.js +15 -0
- package/lib/steps/index.d.ts +1 -0
- package/lib/steps/types.d.ts +3 -0
- package/lib/steps/types.js +15 -0
- package/lib/sticky/index.d.ts +1 -0
- package/lib/sticky/types.d.ts +3 -0
- package/lib/sticky/types.js +15 -0
- package/lib/submit-bar/index.d.ts +1 -0
- package/lib/submit-bar/types.d.ts +21 -0
- package/lib/submit-bar/types.js +15 -0
- package/lib/swipe/index.d.ts +1 -1
- package/lib/swipe/types.d.ts +8 -0
- package/lib/switch/index.d.ts +1 -0
- package/lib/switch/types.d.ts +12 -0
- package/lib/switch/types.js +15 -0
- package/lib/tab/Tab.js +11 -1
- package/lib/tabbar/index.d.ts +1 -0
- package/lib/tabbar/types.d.ts +5 -0
- package/lib/tabbar/types.js +15 -0
- package/lib/tabbar-item/index.d.ts +1 -0
- package/lib/tabbar-item/types.d.ts +9 -0
- package/lib/tabbar-item/types.js +15 -0
- package/lib/tabs/Tabs.js +11 -11
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/types.d.ts +14 -0
- package/lib/tag/Tag.d.ts +1 -2
- package/lib/tag/index.d.ts +9 -8
- package/lib/tag/types.d.ts +20 -0
- package/lib/tag/types.js +15 -0
- package/lib/toast/index.d.ts +6 -1
- package/lib/toast/types.d.ts +17 -0
- package/lib/tree-select/index.d.ts +1 -0
- package/lib/tree-select/types.d.ts +10 -0
- package/lib/tree-select/types.js +15 -0
- package/lib/uploader/index.d.ts +1 -1
- package/lib/uploader/types.d.ts +27 -0
- package/lib/vant.cjs.js +27 -15
- package/lib/vant.es.js +27 -15
- package/lib/vant.js +27 -15
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +1332 -1292
- package/package.json +4 -4
package/README.md
CHANGED
@@ -92,16 +92,15 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3)
|
|
92
92
|
| --- | --- |
|
93
93
|
| [vant-weapp](https://github.com/vant-ui/vant-weapp) | WeChat MiniProgram UI |
|
94
94
|
| [vant-demo](https://github.com/vant-ui/vant-demo) | Collection of Vant demos |
|
95
|
-
| [vant-cli](https://github.com/vant-ui/vant/tree/
|
96
|
-
| [vant-icons](https://github.com/vant-ui/vant/tree/
|
97
|
-
| [vant-touch-emulator](https://github.com/vant-ui/vant/tree/
|
95
|
+
| [vant-cli](https://github.com/vant-ui/vant/tree/main/packages/vant-cli) | Scaffold for UI library |
|
96
|
+
| [vant-icons](https://github.com/vant-ui/vant/tree/main/packages/vant-icons) | Vant icons |
|
97
|
+
| [vant-touch-emulator](https://github.com/vant-ui/vant/tree/main/packages/vant-touch-emulator) | Using vant in desktop browsers |
|
98
98
|
|
99
99
|
## Community Ecosystem
|
100
100
|
|
101
101
|
| Project | Description |
|
102
102
|
| --- | --- |
|
103
103
|
| [3lang3/react-vant](https://github.com/3lang3/react-vant) | React mobile UI Components based on Vant |
|
104
|
-
| [rc-ui-lib](https://github.com/rancui/rc-ui-lib) | React mobile UI Components based on Vant |
|
105
104
|
| [vant-aliapp](https://github.com/ant-move/Vant-Aliapp) | Alipay MiniProgram UI |
|
106
105
|
| [taroify](https://gitee.com/mallfoundry/taroify) | Vant Taro |
|
107
106
|
| [vant-theme](https://github.com/Aisen60/vant-theme) | Online theme preview built on Vant UI |
|
@@ -112,7 +111,7 @@ Vant 3/4 supports modern browsers and Chrome >= 51、iOS >= 10.0 (same as Vue 3)
|
|
112
111
|
|
113
112
|
- [Documentation](https://vant-ui.github.io/vant)
|
114
113
|
- [Changelog](https://vant-ui.github.io/vant#/en-US/changelog)
|
115
|
-
- [
|
114
|
+
- [Discussions](https://github.com/vant-ui/vant/discussions)
|
116
115
|
|
117
116
|
## Preview
|
118
117
|
|
package/changelog.generated.md
CHANGED
@@ -1,47 +1,59 @@
|
|
1
|
-
### [v4.0.0-rc.
|
1
|
+
### [v4.0.0-rc.4](https://github.com/vant-ui/vant/compare/v4.0.0-rc.3...v4.0.0-rc.4)
|
2
2
|
|
3
|
-
`2022-09-
|
3
|
+
`2022-09-25`
|
4
4
|
|
5
5
|
**Bug Fixes**
|
6
6
|
|
7
|
-
-
|
8
|
-
-
|
7
|
+
- cli: downgrade vite version to fix the website [#11087](https://github.com/vant-ui/vant/issues/11087)
|
8
|
+
- cli: should remove light theme class in dark mode [#11039](https://github.com/vant-ui/vant/issues/11039)
|
9
|
+
- Tabs: incorrect scroll position in some cases [#11085](https://github.com/vant-ui/vant/issues/11085)
|
10
|
+
- Tabs: incorrect scroll position when inited [#11059](https://github.com/vant-ui/vant/issues/11059)
|
9
11
|
|
10
12
|
**Document**
|
11
13
|
|
12
|
-
-
|
13
|
-
-
|
14
|
+
- Cascader: update field-names type [#11052](https://github.com/vant-ui/vant/issues/11052)
|
15
|
+
- changelog: vant@4.0.0-rc.3 [#11038](https://github.com/vant-ui/vant/issues/11038)
|
16
|
+
- improve dark theme guide [#11040](https://github.com/vant-ui/vant/issues/11040)
|
17
|
+
- PickerGroup: fix TimePicker link error [#11053](https://github.com/vant-ui/vant/issues/11053)
|
18
|
+
- update links [#11041](https://github.com/vant-ui/vant/issues/11041)
|
14
19
|
|
15
|
-
**
|
20
|
+
**Feature**
|
16
21
|
|
17
|
-
-
|
18
|
-
### [v4.0.0-rc.1](https://github.com/vant-ui/vant/compare/v4.0.0-rc.0...v4.0.0-rc.1)
|
22
|
+
- Field: add message param to 'end-validate' method [#11080](https://github.com/vant-ui/vant/issues/11080)
|
19
23
|
|
20
|
-
|
24
|
+
**perf**
|
21
25
|
|
22
|
-
|
26
|
+
- improve the type of setTimeout [#11069](https://github.com/vant-ui/vant/issues/11069)
|
27
|
+
- move @vant/icons to dev dependencies [#11075](https://github.com/vant-ui/vant/issues/11075)
|
28
|
+
|
29
|
+
**release**
|
30
|
+
|
31
|
+
- @vant/cli 5.0.0-beta.0 [#11082](https://github.com/vant-ui/vant/issues/11082)
|
32
|
+
- vant@1.4.3 [#11076](https://github.com/vant-ui/vant/issues/11076)
|
33
|
+
### [v4.0.0-rc.3](https://github.com/vant-ui/vant/compare/v4.0.0-rc.2...v4.0.0-rc.3)
|
23
34
|
|
24
|
-
-
|
25
|
-
- Picker: failed to update value in some cases [#11009](https://github.com/vant-ui/vant/issues/11009)
|
26
|
-
- utils: avoid getting unexpected value [#11010](https://github.com/vant-ui/vant/issues/11010)
|
35
|
+
`2022-09-12`
|
27
36
|
|
28
37
|
**Document**
|
29
38
|
|
30
|
-
-
|
31
|
-
-
|
32
|
-
- changelog: vant@4.0.0-rc.0 [f60a3b](https://github.com/vant-ui/vant/commit/f60a3b840d4e610a9a61a62573df1a015759a71d)
|
33
|
-
- improve use component guide [#11020](https://github.com/vant-ui/vant/issues/11020)
|
34
|
-
- switch dev branch to v4 [99833f](https://github.com/vant-ui/vant/commit/99833f218508d0177c886ba5756536563a926e25)
|
35
|
-
- Toast: add component usage guide [#11019](https://github.com/vant-ui/vant/issues/11019)
|
39
|
+
- changelog: vant@4.0.0-rc.2 [#11029](https://github.com/vant-ui/vant/issues/11029)
|
40
|
+
- fix missing z-index prop in document [#11031](https://github.com/vant-ui/vant/issues/11031)
|
36
41
|
|
37
42
|
**Feature**
|
38
43
|
|
39
|
-
-
|
40
|
-
-
|
41
|
-
|
42
|
-
|
44
|
+
- add themeVars type of all components [#11034](https://github.com/vant-ui/vant/issues/11034)
|
45
|
+
- Notify: add z-index prop [#11032](https://github.com/vant-ui/vant/issues/11032)
|
46
|
+
|
47
|
+
**perf**
|
48
|
+
|
49
|
+
- remove popperjs to reduce install size [#11030](https://github.com/vant-ui/vant/issues/11030)
|
43
50
|
|
44
51
|
**release**
|
45
52
|
|
46
|
-
- @vant/
|
47
|
-
- 4.0.0-rc.
|
53
|
+
- @vant/popperjs 1.3.0 [16c1f3](https://github.com/vant-ui/vant/commit/16c1f35135d93090ad7b129a73a0569203c3825d)
|
54
|
+
- 4.0.0-rc.3 [5509ca](https://github.com/vant-ui/vant/commit/5509ca0d1dec6a819df69295dda2d7b59fbd3328)
|
55
|
+
|
56
|
+
**Types**
|
57
|
+
|
58
|
+
- some theme vars can be number type [#11037](https://github.com/vant-ui/vant/issues/11037)
|
59
|
+
- Toast: fix missing global components type [#11033](https://github.com/vant-ui/vant/issues/11033)
|
package/es/action-bar/index.d.ts
CHANGED
@@ -17,6 +17,7 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
|
|
17
17
|
export default ActionBar;
|
18
18
|
export { actionBarProps } from './ActionBar';
|
19
19
|
export type { ActionBarProps } from './ActionBar';
|
20
|
+
export type { ActionBarThemeVars } from './types';
|
20
21
|
declare module 'vue' {
|
21
22
|
interface GlobalComponents {
|
22
23
|
VanActionBar: typeof ActionBar;
|
File without changes
|
@@ -28,6 +28,7 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
|
|
28
28
|
export default ActionBarButton;
|
29
29
|
export { actionBarButtonProps } from './ActionBarButton';
|
30
30
|
export type { ActionBarButtonProps } from './ActionBarButton';
|
31
|
+
export type { ActionBarButtonThemeVars } from './types';
|
31
32
|
declare module 'vue' {
|
32
33
|
interface GlobalComponents {
|
33
34
|
VanActionBarButton: typeof ActionBarButton;
|
File without changes
|
@@ -31,6 +31,7 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
|
|
31
31
|
export default ActionBarIcon;
|
32
32
|
export { actionBarIconProps } from './ActionBarIcon';
|
33
33
|
export type { ActionBarIconProps } from './ActionBarIcon';
|
34
|
+
export type { ActionBarIconThemeVars } from './types';
|
34
35
|
declare module 'vue' {
|
35
36
|
interface GlobalComponents {
|
36
37
|
VanActionBarIcon: typeof ActionBarIcon;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare type ActionBarIconThemeVars = {
|
2
|
+
actionBarIconWidth?: string;
|
3
|
+
actionBarIconHeight?: string;
|
4
|
+
actionBarIconColor?: string;
|
5
|
+
actionBarIconSize?: string;
|
6
|
+
actionBarIconFontSize?: string;
|
7
|
+
actionBarIconActiveColor?: string;
|
8
|
+
actionBarIconTextColor?: string;
|
9
|
+
actionBarIconBackground?: string;
|
10
|
+
};
|
File without changes
|
@@ -128,6 +128,7 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
|
|
128
128
|
export default ActionSheet;
|
129
129
|
export { actionSheetProps } from './ActionSheet';
|
130
130
|
export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
|
131
|
+
export type { ActionSheetThemeVars } from './types';
|
131
132
|
declare module 'vue' {
|
132
133
|
interface GlobalComponents {
|
133
134
|
VanActionSheet: typeof ActionSheet;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
export declare type ActionSheetThemeVars = {
|
2
|
+
actionSheetMaxHeight?: string;
|
3
|
+
actionSheetHeaderHeight?: string;
|
4
|
+
actionSheetHeaderFontSize?: string;
|
5
|
+
actionSheetDescriptionColor?: string;
|
6
|
+
actionSheetDescriptionFontSize?: string;
|
7
|
+
actionSheetDescriptionLineHeight?: number | string;
|
8
|
+
actionSheetItemBackground?: string;
|
9
|
+
actionSheetItemFontSize?: string;
|
10
|
+
actionSheetItemLineHeight?: number | string;
|
11
|
+
actionSheetItemTextColor?: string;
|
12
|
+
actionSheetItemDisabledTextColor?: string;
|
13
|
+
actionSheetSubnameColor?: string;
|
14
|
+
actionSheetSubnameFontSize?: string;
|
15
|
+
actionSheetSubnameLineHeight?: number | string;
|
16
|
+
actionSheetCloseIconSize?: string;
|
17
|
+
actionSheetCloseIconColor?: string;
|
18
|
+
actionSheetCloseIconPadding?: string;
|
19
|
+
actionSheetCancelTextColor?: string;
|
20
|
+
actionSheetCancelPaddingTop?: string;
|
21
|
+
actionSheetCancelPaddingColor?: string;
|
22
|
+
actionSheetLoadingIconSize?: string;
|
23
|
+
};
|
File without changes
|
@@ -110,7 +110,7 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
110
110
|
export default AddressEdit;
|
111
111
|
export { addressEditProps } from './AddressEdit';
|
112
112
|
export type { AddressEditProps };
|
113
|
-
export type { AddressEditInfo, AddressEditInstance, AddressEditSearchItem, } from './types';
|
113
|
+
export type { AddressEditInfo, AddressEditInstance, AddressEditThemeVars, AddressEditSearchItem, } from './types';
|
114
114
|
declare module 'vue' {
|
115
115
|
interface GlobalComponents {
|
116
116
|
VanAddressEdit: typeof AddressEdit;
|
@@ -20,3 +20,9 @@ export declare type AddressEditExpose = {
|
|
20
20
|
setAddressDetail: (value: string) => void;
|
21
21
|
};
|
22
22
|
export declare type AddressEditInstance = ComponentPublicInstance<AddressEditProps, AddressEditExpose>;
|
23
|
+
export declare type AddressEditThemeVars = {
|
24
|
+
addressEditPadding?: string;
|
25
|
+
addressEditButtonsPadding?: string;
|
26
|
+
addressEditButtonMarginBottom?: string;
|
27
|
+
addressEditButtonFontSize?: string;
|
28
|
+
};
|
@@ -49,6 +49,7 @@ export default AddressList;
|
|
49
49
|
export { addressListProps } from './AddressList';
|
50
50
|
export type { AddressListProps } from './AddressList';
|
51
51
|
export type { AddressListAddress } from './AddressListItem';
|
52
|
+
export type { AddressListThemeVars } from './types';
|
52
53
|
declare module 'vue' {
|
53
54
|
interface GlobalComponents {
|
54
55
|
VanAddressList: typeof AddressList;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export declare type AddressListThemeVars = {
|
2
|
+
addressListPadding?: string;
|
3
|
+
addressListDisabledTextColor?: string;
|
4
|
+
addressListDisabledTextPadding?: string;
|
5
|
+
addressListDisabledTextFontSize?: string;
|
6
|
+
addressListDisabledTextLineHeight?: number | string;
|
7
|
+
addressListAddButtonZIndex?: number | string;
|
8
|
+
addressListItemPadding?: string;
|
9
|
+
addressListItemTextColor?: string;
|
10
|
+
addressListItemDisabledTextColor?: string;
|
11
|
+
addressListItemFontSize?: string;
|
12
|
+
addressListItemLineHeight?: number | string;
|
13
|
+
addressListRadioColor?: string;
|
14
|
+
addressListEditIconSize?: string;
|
15
|
+
};
|
File without changes
|
package/es/badge/index.d.ts
CHANGED
@@ -43,6 +43,7 @@ export declare const Badge: import("../utils").WithInstall<import("vue").DefineC
|
|
43
43
|
export default Badge;
|
44
44
|
export { badgeProps } from './Badge';
|
45
45
|
export type { BadgeProps, BadgePosition } from './Badge';
|
46
|
+
export type { BadgeThemeVars } from './types';
|
46
47
|
declare module 'vue' {
|
47
48
|
interface GlobalComponents {
|
48
49
|
VanBadge: typeof Badge;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare type BadgeThemeVars = {
|
2
|
+
badgeSize?: string;
|
3
|
+
badgeColor?: string;
|
4
|
+
badgePadding?: string;
|
5
|
+
badgeFontSize?: string;
|
6
|
+
badgeFontWeight?: string;
|
7
|
+
badgeBorderWidth?: string;
|
8
|
+
badgeBackground?: string;
|
9
|
+
badgeDotColor?: string;
|
10
|
+
badgeDotSize?: string;
|
11
|
+
badgeFont?: string;
|
12
|
+
};
|
File without changes
|
package/es/button/index.d.ts
CHANGED
@@ -96,7 +96,7 @@ export declare const Button: import("../utils").WithInstall<import("vue").Define
|
|
96
96
|
export default Button;
|
97
97
|
export { buttonProps } from './Button';
|
98
98
|
export type { ButtonProps } from './Button';
|
99
|
-
export type { ButtonType, ButtonSize, ButtonNativeType, ButtonIconPosition, } from './types';
|
99
|
+
export type { ButtonType, ButtonSize, ButtonThemeVars, ButtonNativeType, ButtonIconPosition, } from './types';
|
100
100
|
declare module 'vue' {
|
101
101
|
interface GlobalComponents {
|
102
102
|
VanButton: typeof Button;
|
package/es/button/types.d.ts
CHANGED
@@ -3,3 +3,39 @@ export declare type ButtonType = 'default' | 'primary' | 'success' | 'warning' |
|
|
3
3
|
export declare type ButtonSize = 'large' | 'normal' | 'small' | 'mini';
|
4
4
|
export declare type ButtonNativeType = NonNullable<ButtonHTMLAttributes['type']>;
|
5
5
|
export declare type ButtonIconPosition = 'left' | 'right';
|
6
|
+
export declare type ButtonThemeVars = {
|
7
|
+
buttonMiniHeight?: string;
|
8
|
+
buttonMiniPadding?: string;
|
9
|
+
buttonMiniFontSize?: string;
|
10
|
+
buttonSmallHeight?: string;
|
11
|
+
buttonSmallPadding?: string;
|
12
|
+
buttonSmallFontSize?: string;
|
13
|
+
buttonNormalPadding?: string;
|
14
|
+
buttonNormalFontSize?: string;
|
15
|
+
buttonLargeHeight?: string;
|
16
|
+
buttonDefaultHeight?: string;
|
17
|
+
buttonDefaultLineHeight?: number | string;
|
18
|
+
buttonDefaultFontSize?: string;
|
19
|
+
buttonDefaultColor?: string;
|
20
|
+
buttonDefaultBackground?: string;
|
21
|
+
buttonDefaultBorderColor?: string;
|
22
|
+
buttonPrimaryColor?: string;
|
23
|
+
buttonPrimaryBackground?: string;
|
24
|
+
buttonPrimaryBorderColor?: string;
|
25
|
+
buttonSuccessColor?: string;
|
26
|
+
buttonSuccessBackground?: string;
|
27
|
+
buttonSuccessBorderColor?: string;
|
28
|
+
buttonDangerColor?: string;
|
29
|
+
buttonDangerBackground?: string;
|
30
|
+
buttonDangerBorderColor?: string;
|
31
|
+
buttonWarningColor?: string;
|
32
|
+
buttonWarningBackground?: string;
|
33
|
+
buttonWarningBorderColor?: string;
|
34
|
+
buttonBorderWidth?: string;
|
35
|
+
buttonRadius?: string;
|
36
|
+
buttonRoundRadius?: string;
|
37
|
+
buttonPlainBackground?: string;
|
38
|
+
buttonDisabledOpacity?: number | string;
|
39
|
+
buttonIconSize?: string;
|
40
|
+
buttonLoadingIconSize?: string;
|
41
|
+
};
|
package/es/calendar/index.d.ts
CHANGED
@@ -202,7 +202,7 @@ export declare const Calendar: import("../utils").WithInstall<import("vue").Defi
|
|
202
202
|
export default Calendar;
|
203
203
|
export { calendarProps } from './Calendar';
|
204
204
|
export type { CalendarProps } from './Calendar';
|
205
|
-
export type { CalendarType, CalendarDayItem, CalendarDayType, CalendarInstance, } from './types';
|
205
|
+
export type { CalendarType, CalendarDayItem, CalendarDayType, CalendarInstance, CalendarThemeVars, } from './types';
|
206
206
|
declare module 'vue' {
|
207
207
|
interface GlobalComponents {
|
208
208
|
VanCalendar: typeof Calendar;
|
package/es/calendar/types.d.ts
CHANGED
@@ -26,3 +26,31 @@ export declare type CalendarMonthInstance = ComponentPublicInstance<CalendarMont
|
|
26
26
|
scrollToDate: (body: Element, targetDate: Date) => void;
|
27
27
|
disabledDays: Ref<ComputedRef<CalendarDayItem[]>>;
|
28
28
|
}>;
|
29
|
+
export declare type CalendarThemeVars = {
|
30
|
+
calendarBackground?: string;
|
31
|
+
calendarPopupHeight?: string;
|
32
|
+
calendarHeaderShadow?: string;
|
33
|
+
calendarHeaderTitleHeight?: string;
|
34
|
+
calendarHeaderTitleFontSize?: string;
|
35
|
+
calendarHeaderSubtitleFontSize?: string;
|
36
|
+
calendarWeekdaysHeight?: string;
|
37
|
+
calendarWeekdaysFontSize?: string;
|
38
|
+
calendarMonthTitleFontSize?: string;
|
39
|
+
calendarMonthMarkColor?: string;
|
40
|
+
calendarMonthMarkFontSize?: string;
|
41
|
+
calendarDayHeight?: string;
|
42
|
+
calendarDayFontSize?: string;
|
43
|
+
calendarDayMarginBottom?: string;
|
44
|
+
calendarRangeEdgeColor?: string;
|
45
|
+
calendarRangeEdgeBackground?: string;
|
46
|
+
calendarRangeMiddleColor?: string;
|
47
|
+
calendarRangeMiddleBackgroundOpacity?: number | string;
|
48
|
+
calendarSelectedDaySize?: string;
|
49
|
+
calendarSelectedDayColor?: string;
|
50
|
+
calendarInfoFontSize?: string;
|
51
|
+
calendarInfoLineHeight?: number | string;
|
52
|
+
calendarSelectedDayBackground?: string;
|
53
|
+
calendarDayDisabledColor?: string;
|
54
|
+
calendarConfirmButtonHeight?: string;
|
55
|
+
calendarConfirmButtonMargin?: string;
|
56
|
+
};
|
package/es/card/index.d.ts
CHANGED
@@ -38,6 +38,7 @@ export declare const Card: import("../utils").WithInstall<import("vue").DefineCo
|
|
38
38
|
export default Card;
|
39
39
|
export { cardProps } from './Card';
|
40
40
|
export type { CardProps } from './Card';
|
41
|
+
export type { CardThemeVars } from './types';
|
41
42
|
declare module 'vue' {
|
42
43
|
interface GlobalComponents {
|
43
44
|
VanCard: typeof Card;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export declare type CardThemeVars = {
|
2
|
+
cardPadding?: string;
|
3
|
+
cardFontSize?: string;
|
4
|
+
cardTextColor?: string;
|
5
|
+
cardBackground?: string;
|
6
|
+
cardThumbSize?: string;
|
7
|
+
cardThumbRadius?: string;
|
8
|
+
cardTitleLineHeight?: number | string;
|
9
|
+
cardDescColor?: string;
|
10
|
+
cardDescLineHeight?: number | string;
|
11
|
+
cardPriceColor?: string;
|
12
|
+
cardOriginPriceColor?: string;
|
13
|
+
cardNumColor?: string;
|
14
|
+
cardOriginPriceFontSize?: string;
|
15
|
+
cardPriceFontSize?: string;
|
16
|
+
cardPriceIntegerFontSize?: string;
|
17
|
+
cardPriceFont?: string;
|
18
|
+
};
|
File without changes
|
package/es/cascader/index.d.ts
CHANGED
@@ -66,7 +66,7 @@ export declare const Cascader: import("../utils").WithInstall<import("vue").Defi
|
|
66
66
|
export default Cascader;
|
67
67
|
export { cascaderProps } from './Cascader';
|
68
68
|
export type { CascaderProps } from './Cascader';
|
69
|
-
export type { CascaderOption, CascaderFieldNames } from './types';
|
69
|
+
export type { CascaderOption, CascaderThemeVars, CascaderFieldNames, } from './types';
|
70
70
|
declare module 'vue' {
|
71
71
|
interface GlobalComponents {
|
72
72
|
VanCascader: typeof Cascader;
|
package/es/cascader/types.d.ts
CHANGED
@@ -17,3 +17,18 @@ export declare type CascaderFieldNames = {
|
|
17
17
|
value?: string;
|
18
18
|
children?: string;
|
19
19
|
};
|
20
|
+
export declare type CascaderThemeVars = {
|
21
|
+
cascaderHeaderHeight?: string;
|
22
|
+
cascaderHeaderPadding?: string;
|
23
|
+
cascaderTitleFontSize?: string;
|
24
|
+
cascaderTitleLineHeight?: number | string;
|
25
|
+
cascaderCloseIconSize?: string;
|
26
|
+
cascaderCloseIconColor?: string;
|
27
|
+
cascaderSelectedIconSize?: string;
|
28
|
+
cascaderTabsHeight?: string;
|
29
|
+
cascaderActiveColor?: string;
|
30
|
+
cascaderOptionsHeight?: string;
|
31
|
+
cascaderOptionDisabledColor?: string;
|
32
|
+
cascaderTabColor?: string;
|
33
|
+
cascaderUnselectedTabColor?: string;
|
34
|
+
};
|
package/es/cell/index.d.ts
CHANGED
@@ -63,6 +63,7 @@ export declare const Cell: import("../utils").WithInstall<import("vue").DefineCo
|
|
63
63
|
export default Cell;
|
64
64
|
export { cellProps } from './Cell';
|
65
65
|
export type { CellSize, CellProps, CellArrowDirection } from './Cell';
|
66
|
+
export type { CellThemeVars } from './types';
|
66
67
|
declare module 'vue' {
|
67
68
|
interface GlobalComponents {
|
68
69
|
VanCell: typeof Cell;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare type CellThemeVars = {
|
2
|
+
cellFontSize?: string;
|
3
|
+
cellLineHeight?: number | string;
|
4
|
+
cellVerticalPadding?: string;
|
5
|
+
cellHorizontalPadding?: string;
|
6
|
+
cellTextColor?: string;
|
7
|
+
cellBackground?: string;
|
8
|
+
cellBorderColor?: string;
|
9
|
+
cellActiveColor?: string;
|
10
|
+
cellRequiredColor?: string;
|
11
|
+
cellLabelColor?: string;
|
12
|
+
cellLabelFontSize?: string;
|
13
|
+
cellLabelLineHeight?: number | string;
|
14
|
+
cellLabelMarginTop?: string;
|
15
|
+
cellValueColor?: string;
|
16
|
+
cellIconSize?: string;
|
17
|
+
cellRightIconColor?: string;
|
18
|
+
cellLargeVerticalPadding?: string;
|
19
|
+
cellLargeTitleFontSize?: string;
|
20
|
+
cellLargeLabelFontSize?: string;
|
21
|
+
};
|
File without changes
|
package/es/cell-group/index.d.ts
CHANGED
@@ -19,6 +19,7 @@ export declare const CellGroup: import("../utils").WithInstall<import("vue").Def
|
|
19
19
|
export default CellGroup;
|
20
20
|
export { cellGroupProps } from './CellGroup';
|
21
21
|
export type { CellGroupProps } from './CellGroup';
|
22
|
+
export type { CellGroupThemeVars } from './types';
|
22
23
|
declare module 'vue' {
|
23
24
|
interface GlobalComponents {
|
24
25
|
VanCellGroup: typeof CellGroup;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare type CellGroupThemeVars = {
|
2
|
+
cellGroupBackground?: string;
|
3
|
+
cellGroupTitleColor?: string;
|
4
|
+
cellGroupTitlePadding?: string;
|
5
|
+
cellGroupTitleFontSize?: string;
|
6
|
+
cellGroupTitleLineHeight?: number | string;
|
7
|
+
cellGroupInsetPadding?: string;
|
8
|
+
cellGroupInsetRadius?: string;
|
9
|
+
cellGroupInsetTitlePadding?: string;
|
10
|
+
};
|
File without changes
|
package/es/checkbox/index.d.ts
CHANGED
@@ -44,7 +44,7 @@ export declare const Checkbox: import("../utils").WithInstall<import("vue").Defi
|
|
44
44
|
export default Checkbox;
|
45
45
|
export { checkboxProps } from './Checkbox';
|
46
46
|
export type { CheckboxProps } from './Checkbox';
|
47
|
-
export type { CheckboxShape, CheckboxInstance, CheckboxLabelPosition, } from './types';
|
47
|
+
export type { CheckboxShape, CheckboxInstance, CheckboxThemeVars, CheckboxLabelPosition, } from './types';
|
48
48
|
declare module 'vue' {
|
49
49
|
interface GlobalComponents {
|
50
50
|
VanCheckbox: typeof Checkbox;
|
package/es/checkbox/types.d.ts
CHANGED
@@ -11,3 +11,14 @@ export declare type CheckboxExpose = {
|
|
11
11
|
checked: ComputedRef<boolean>;
|
12
12
|
};
|
13
13
|
export declare type CheckboxInstance = ComponentPublicInstance<CheckboxProps, CheckboxExpose>;
|
14
|
+
export declare type CheckboxThemeVars = {
|
15
|
+
checkboxSize?: string;
|
16
|
+
checkboxBorderColor?: string;
|
17
|
+
checkboxDuration?: string;
|
18
|
+
checkboxLabelMargin?: string;
|
19
|
+
checkboxLabelColor?: string;
|
20
|
+
checkboxCheckedIconColor?: string;
|
21
|
+
checkboxDisabledIconColor?: string;
|
22
|
+
checkboxDisabledLabelColor?: string;
|
23
|
+
checkboxDisabledBackground?: string;
|
24
|
+
};
|
package/es/circle/index.d.ts
CHANGED
@@ -80,6 +80,7 @@ export declare const Circle: import("../utils").WithInstall<import("vue").Define
|
|
80
80
|
export default Circle;
|
81
81
|
export { circleProps } from './Circle';
|
82
82
|
export type { CircleProps, CircleStartPosition } from './Circle';
|
83
|
+
export type { CircleThemeVars } from './types';
|
83
84
|
declare module 'vue' {
|
84
85
|
interface GlobalComponents {
|
85
86
|
VanCircle: typeof Circle;
|
File without changes
|
@@ -81,7 +81,7 @@ export declare const CollapseItem: import("../utils").WithInstall<import("vue").
|
|
81
81
|
export default CollapseItem;
|
82
82
|
export { collapseItemProps } from './CollapseItem';
|
83
83
|
export type { CollapseItemProps } from './CollapseItem';
|
84
|
-
export type { CollapseItemInstance } from './types';
|
84
|
+
export type { CollapseItemInstance, CollapseItemThemeVars } from './types';
|
85
85
|
declare module 'vue' {
|
86
86
|
interface GlobalComponents {
|
87
87
|
VanCollapseItem: typeof CollapseItem;
|
@@ -4,3 +4,12 @@ export declare type CollapseItemExpose = {
|
|
4
4
|
toggle: (newValue?: boolean) => void;
|
5
5
|
};
|
6
6
|
export declare type CollapseItemInstance = ComponentPublicInstance<CollapseItemProps, CollapseItemExpose>;
|
7
|
+
export declare type CollapseItemThemeVars = {
|
8
|
+
collapseItemDuration?: string;
|
9
|
+
collapseItemContentPadding?: string;
|
10
|
+
collapseItemContentFontSize?: string;
|
11
|
+
collapseItemContentLineHeight?: number | string;
|
12
|
+
collapseItemContentTextColor?: string;
|
13
|
+
collapseItemContentBackground?: string;
|
14
|
+
collapseItemTitleDisabledColor?: string;
|
15
|
+
};
|
@@ -33,6 +33,7 @@ export declare const ConfigProvider: import("../utils").WithInstall<import("vue"
|
|
33
33
|
export default ConfigProvider;
|
34
34
|
export { configProviderProps } from './ConfigProvider';
|
35
35
|
export type { ConfigProviderProps, ConfigProviderTheme, } from './ConfigProvider';
|
36
|
+
export type { ConfigProviderThemeVars } from './types';
|
36
37
|
declare module 'vue' {
|
37
38
|
interface GlobalComponents {
|
38
39
|
VanConfigProvider: typeof ConfigProvider;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare type ConfigProviderThemeVars = import('../action-bar').ActionBarThemeVars & import('../action-bar-button').ActionBarButtonThemeVars & import('../action-bar-icon').ActionBarIconThemeVars & import('../action-sheet').ActionSheetThemeVars & import('../address-edit').AddressEditThemeVars & import('../address-list').AddressListThemeVars & import('../badge').BadgeThemeVars & import('../button').ButtonThemeVars & import('../calendar').CalendarThemeVars & import('../card').CardThemeVars & import('../cascader').CascaderThemeVars & import('../cell').CellThemeVars & import('../cell-group').CellGroupThemeVars & import('../checkbox').CheckboxThemeVars & import('../circle').CircleThemeVars & import('../collapse-item').CollapseItemThemeVars & import('../contact-card').ContactCardThemeVars & import('../contact-edit').ContactEditThemeVars & import('../contact-list').ContactListThemeVars & import('../count-down').CountDownThemeVars & import('../coupon').CouponThemeVars & import('../coupon-cell').CouponCellThemeVars & import('../coupon-list').CouponListThemeVars & import('../dialog').DialogThemeVars & import('../divider').DividerThemeVars & import('../dropdown-item').DropdownItemThemeVars & import('../dropdown-menu').DropdownMenuThemeVars & import('../empty').EmptyThemeVars & import('../field').FieldThemeVars & import('../grid-item').GridItemThemeVars & import('../image').ImageThemeVars & import('../image-preview').ImagePreviewThemeVars & import('../index-anchor').IndexAnchorThemeVars & import('../index-bar').IndexBarThemeVars & import('../list').ListThemeVars & import('../loading').LoadingThemeVars & import('../nav-bar').NavBarThemeVars & import('../notice-bar').NoticeBarThemeVars & import('../notify').NotifyThemeVars & import('../number-keyboard').NumberKeyboardThemeVars & import('../overlay').OverlayThemeVars & import('../pagination').PaginationThemeVars & import('../password-input').PasswordInputThemeVars & import('../picker').PickerThemeVars & import('../picker-group').PickerGroupThemeVars & import('../popover').PopoverThemeVars & import('../popup').PopupThemeVars & import('../progress').ProgressThemeVars & import('../pull-refresh').PullRefreshThemeVars & import('../radio').RadioThemeVars & import('../rate').RateThemeVars & import('../search').SearchThemeVars & import('../share-sheet').ShareSheetThemeVars & import('../sidebar').SidebarThemeVars & import('../sidebar-item').SidebarItemThemeVars & import('../skeleton').SkeletonThemeVars & import('../slider').SliderThemeVars & import('../step').StepThemeVars & import('../stepper').StepperThemeVars & import('../steps').StepsThemeVars & import('../sticky').StickyThemeVars & import('../submit-bar').SubmitBarThemeVars & import('../swipe').SwipeThemeVars & import('../switch').SwitchThemeVars & import('../tabbar').TabbarThemeVars & import('../tabbar-item').TabbarItemThemeVars & import('../tabs').TabsThemeVars & import('../tag').TagThemeVars & import('../toast').ToastThemeVars & import('../tree-select').TreeSelectThemeVars & import('../uploader').UploaderThemeVars;
|
File without changes
|
@@ -31,6 +31,7 @@ export declare const ContactCard: import("../utils").WithInstall<import("vue").D
|
|
31
31
|
export default ContactCard;
|
32
32
|
export { contactCardProps } from './ContactCard';
|
33
33
|
export type { ContactCardType, ContactCardProps } from './ContactCard';
|
34
|
+
export type { ContactCardThemeVars } from './types';
|
34
35
|
declare module 'vue' {
|
35
36
|
interface GlobalComponents {
|
36
37
|
VanContactCard: typeof ContactCard;
|
File without changes
|
@@ -41,6 +41,7 @@ export declare const ContactEdit: import("../utils").WithInstall<import("vue").D
|
|
41
41
|
export default ContactEdit;
|
42
42
|
export { contactEditProps } from './ContactEdit';
|
43
43
|
export type { ContactEditInfo, ContactEditProps } from './ContactEdit';
|
44
|
+
export type { ContactEditThemeVars } from './types';
|
44
45
|
declare module 'vue' {
|
45
46
|
interface GlobalComponents {
|
46
47
|
VanContactEdit: typeof ContactEdit;
|