vant 4.0.0-rc.0 → 4.0.0-rc.3
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/changelog.generated.md +19 -267
- package/es/action-bar/ActionBar.d.ts +1 -1
- package/es/action-bar/ActionBar.mjs +1 -0
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.d.ts +2 -0
- package/es/action-bar/index.mjs +2 -0
- package/es/action-bar/types.d.ts +4 -0
- package/es/action-bar/types.mjs +0 -0
- package/es/action-bar-button/ActionBarButton.d.ts +1 -1
- package/es/action-bar-button/ActionBarButton.mjs +1 -0
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-button/index.d.ts +2 -0
- package/es/action-bar-button/index.mjs +2 -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/ActionBarIcon.d.ts +1 -1
- package/es/action-bar-icon/ActionBarIcon.mjs +1 -0
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +2 -0
- package/es/action-bar-icon/index.mjs +2 -0
- package/es/action-bar-icon/types.d.ts +10 -0
- package/es/action-bar-icon/types.mjs +0 -0
- package/es/action-sheet/ActionSheet.d.ts +1 -1
- package/es/action-sheet/ActionSheet.mjs +1 -0
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +2 -0
- package/es/action-sheet/index.mjs +2 -0
- package/es/action-sheet/types.d.ts +23 -0
- package/es/action-sheet/types.mjs +0 -0
- package/es/address-edit/AddressEdit.d.ts +1 -1
- package/es/address-edit/AddressEdit.mjs +1 -0
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +2 -1
- package/es/address-edit/index.mjs +2 -0
- package/es/address-edit/types.d.ts +6 -0
- package/es/address-list/AddressList.d.ts +1 -1
- package/es/address-list/AddressList.mjs +1 -0
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +2 -0
- package/es/address-list/index.mjs +2 -0
- package/es/address-list/types.d.ts +15 -0
- package/es/address-list/types.mjs +0 -0
- package/es/area/Area.d.ts +1 -1
- package/es/area/Area.mjs +1 -0
- package/es/area/index.d.ts +1 -0
- package/es/area/index.mjs +2 -0
- package/es/badge/Badge.d.ts +1 -1
- package/es/badge/Badge.mjs +1 -0
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +2 -0
- package/es/badge/index.mjs +2 -0
- package/es/badge/types.d.ts +12 -0
- package/es/badge/types.mjs +0 -0
- package/es/button/Button.d.ts +1 -1
- package/es/button/Button.mjs +1 -0
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +2 -1
- package/es/button/index.mjs +2 -0
- package/es/button/types.d.ts +36 -0
- package/es/calendar/Calendar.d.ts +1 -1
- package/es/calendar/Calendar.mjs +1 -0
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +2 -1
- package/es/calendar/index.mjs +2 -0
- package/es/calendar/types.d.ts +28 -0
- package/es/card/Card.d.ts +1 -1
- package/es/card/Card.mjs +1 -0
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +2 -0
- package/es/card/index.mjs +2 -0
- package/es/card/types.d.ts +18 -0
- package/es/card/types.mjs +0 -0
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/Cascader.mjs +1 -0
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +2 -1
- package/es/cascader/index.mjs +2 -0
- package/es/cascader/types.d.ts +15 -0
- package/es/cell/Cell.d.ts +1 -1
- package/es/cell/Cell.mjs +1 -0
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +2 -0
- package/es/cell/index.mjs +2 -0
- package/es/cell/types.d.ts +21 -0
- package/es/cell/types.mjs +0 -0
- package/es/cell-group/CellGroup.d.ts +1 -1
- package/es/cell-group/CellGroup.mjs +1 -0
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.d.ts +2 -0
- package/es/cell-group/index.mjs +2 -0
- package/es/cell-group/types.d.ts +10 -0
- package/es/cell-group/types.mjs +0 -0
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checkbox.mjs +1 -0
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +2 -1
- package/es/checkbox/index.mjs +2 -0
- package/es/checkbox/types.d.ts +11 -0
- package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/es/checkbox-group/CheckboxGroup.mjs +1 -0
- package/es/checkbox-group/index.d.ts +1 -0
- package/es/checkbox-group/index.mjs +2 -0
- package/es/circle/Circle.d.ts +1 -1
- package/es/circle/Circle.mjs +1 -0
- package/es/circle/index.css +1 -1
- package/es/circle/index.d.ts +2 -0
- package/es/circle/index.mjs +2 -0
- package/es/circle/types.d.ts +9 -0
- package/es/circle/types.mjs +0 -0
- package/es/col/Col.d.ts +1 -1
- package/es/col/Col.mjs +1 -0
- package/es/col/index.d.ts +1 -0
- package/es/col/index.mjs +2 -0
- package/es/collapse/Collapse.d.ts +1 -1
- package/es/collapse/Collapse.mjs +1 -0
- package/es/collapse/index.d.ts +1 -0
- package/es/collapse/index.mjs +2 -0
- package/es/collapse-item/CollapseItem.d.ts +1 -1
- package/es/collapse-item/CollapseItem.mjs +1 -0
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +2 -1
- package/es/collapse-item/index.mjs +2 -0
- package/es/collapse-item/types.d.ts +9 -0
- package/es/config-provider/ConfigProvider.d.ts +1 -1
- package/es/config-provider/ConfigProvider.mjs +3 -2
- package/es/config-provider/index.d.ts +2 -0
- package/es/config-provider/index.mjs +2 -0
- package/es/config-provider/types.d.ts +1 -0
- package/es/config-provider/types.mjs +0 -0
- package/es/contact-card/ContactCard.d.ts +1 -1
- package/es/contact-card/ContactCard.mjs +1 -0
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.d.ts +2 -0
- package/es/contact-card/index.mjs +2 -0
- package/es/contact-card/types.d.ts +6 -0
- package/es/contact-card/types.mjs +0 -0
- package/es/contact-edit/ContactEdit.d.ts +1 -1
- package/es/contact-edit/ContactEdit.mjs +1 -0
- package/es/contact-edit/index.css +1 -1
- package/es/contact-edit/index.d.ts +2 -0
- package/es/contact-edit/index.mjs +2 -0
- package/es/contact-edit/types.d.ts +8 -0
- package/es/contact-edit/types.mjs +0 -0
- package/es/contact-list/ContactList.d.ts +1 -1
- package/es/contact-list/ContactList.mjs +1 -0
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.d.ts +2 -0
- package/es/contact-list/index.mjs +2 -0
- package/es/contact-list/types.d.ts +6 -0
- package/es/contact-list/types.mjs +0 -0
- package/es/count-down/CountDown.d.ts +1 -1
- package/es/count-down/CountDown.mjs +1 -0
- package/es/count-down/index.css +1 -1
- package/es/count-down/index.d.ts +2 -1
- package/es/count-down/index.mjs +2 -0
- package/es/count-down/types.d.ts +5 -0
- package/es/coupon/index.css +1 -1
- 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/CouponCell.d.ts +1 -1
- package/es/coupon-cell/CouponCell.mjs +1 -0
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-cell/index.d.ts +2 -0
- package/es/coupon-cell/index.mjs +2 -0
- package/es/coupon-cell/types.d.ts +3 -0
- package/es/coupon-cell/types.mjs +0 -0
- package/es/coupon-list/CouponList.d.ts +1 -1
- package/es/coupon-list/CouponList.mjs +1 -0
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +2 -0
- package/es/coupon-list/index.mjs +2 -0
- package/es/coupon-list/types.d.ts +9 -0
- package/es/coupon-list/types.mjs +0 -0
- package/es/date-picker/DatePicker.d.ts +1 -1
- package/es/date-picker/DatePicker.mjs +1 -0
- package/es/date-picker/index.d.ts +1 -0
- package/es/date-picker/index.mjs +2 -0
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/dialog/Dialog.mjs +2 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +2 -1
- package/es/dialog/index.mjs +2 -0
- package/es/dialog/types.d.ts +22 -1
- package/es/divider/Divider.d.ts +1 -1
- package/es/divider/Divider.mjs +2 -1
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +2 -0
- package/es/divider/index.mjs +3 -1
- package/es/divider/types.d.ts +10 -0
- package/es/divider/types.mjs +0 -0
- package/es/dropdown-item/DropdownItem.d.ts +1 -1
- package/es/dropdown-item/DropdownItem.mjs +2 -1
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +2 -1
- package/es/dropdown-item/index.mjs +3 -1
- package/es/dropdown-item/types.d.ts +3 -0
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.mjs +2 -1
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +2 -1
- package/es/dropdown-menu/index.mjs +3 -1
- package/es/dropdown-menu/types.d.ts +13 -0
- package/es/empty/Empty.d.ts +1 -1
- package/es/empty/Empty.mjs +2 -1
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +2 -0
- package/es/empty/index.mjs +3 -1
- package/es/empty/types.d.ts +10 -0
- package/es/empty/types.mjs +0 -0
- package/es/field/Field.d.ts +1 -1
- package/es/field/Field.mjs +1 -0
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +2 -1
- package/es/field/index.mjs +3 -1
- package/es/field/types.d.ts +21 -0
- package/es/form/Form.d.ts +1 -1
- package/es/form/Form.mjs +2 -1
- package/es/form/index.d.ts +1 -0
- package/es/form/index.mjs +3 -1
- package/es/grid/Grid.d.ts +1 -1
- package/es/grid/Grid.mjs +2 -1
- package/es/grid/index.d.ts +1 -0
- package/es/grid/index.mjs +3 -1
- package/es/grid-item/GridItem.d.ts +1 -1
- package/es/grid-item/GridItem.mjs +2 -1
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +2 -0
- package/es/grid-item/index.mjs +3 -1
- package/es/grid-item/types.d.ts +8 -0
- package/es/grid-item/types.mjs +0 -0
- package/es/icon/Icon.d.ts +1 -1
- package/es/icon/Icon.mjs +2 -1
- package/es/icon/index.d.ts +1 -0
- package/es/icon/index.mjs +3 -1
- package/es/image/Image.d.ts +5 -1
- package/es/image/Image.mjs +5 -2
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +5 -0
- package/es/image/index.mjs +3 -1
- package/es/image/types.d.ts +9 -0
- package/es/image/types.mjs +0 -0
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/ImagePreview.mjs +2 -1
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.d.ts +3 -2
- package/es/image-preview/index.mjs +2 -0
- package/es/image-preview/types.d.ts +11 -0
- package/es/index-anchor/IndexAnchor.d.ts +1 -1
- package/es/index-anchor/IndexAnchor.mjs +2 -1
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.d.ts +2 -0
- package/es/index-anchor/index.mjs +3 -1
- package/es/index-anchor/types.d.ts +11 -0
- package/es/index-anchor/types.mjs +0 -0
- package/es/index-bar/IndexBar.d.ts +1 -1
- package/es/index-bar/IndexBar.mjs +2 -1
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +2 -1
- package/es/index-bar/index.mjs +3 -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/List.d.ts +1 -1
- package/es/list/List.mjs +2 -1
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +2 -1
- package/es/list/index.mjs +3 -1
- package/es/list/types.d.ts +6 -0
- package/es/loading/Loading.d.ts +1 -1
- package/es/loading/Loading.mjs +2 -1
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +2 -0
- package/es/loading/index.mjs +3 -1
- package/es/loading/types.d.ts +7 -0
- package/es/loading/types.mjs +0 -0
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/NavBar.mjs +2 -1
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +2 -0
- package/es/nav-bar/index.mjs +3 -1
- package/es/nav-bar/types.d.ts +10 -0
- package/es/nav-bar/types.mjs +0 -0
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/NoticeBar.mjs +2 -1
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +2 -1
- package/es/notice-bar/index.mjs +3 -1
- package/es/notice-bar/types.d.ts +11 -0
- package/es/notify/Notify.d.ts +1 -1
- package/es/notify/Notify.mjs +3 -1
- package/es/notify/index.css +1 -1
- package/es/notify/index.d.ts +3 -2
- package/es/notify/index.mjs +2 -0
- package/es/notify/types.d.ts +10 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/es/number-keyboard/NumberKeyboard.mjs +2 -1
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +2 -0
- package/es/number-keyboard/index.mjs +3 -1
- package/es/number-keyboard/types.d.ts +17 -0
- package/es/number-keyboard/types.mjs +0 -0
- package/es/overlay/Overlay.d.ts +1 -1
- package/es/overlay/Overlay.mjs +2 -1
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +2 -0
- package/es/overlay/index.mjs +3 -1
- package/es/overlay/types.d.ts +4 -0
- package/es/overlay/types.mjs +0 -0
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/Pagination.mjs +2 -1
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +2 -0
- package/es/pagination/index.mjs +3 -1
- package/es/pagination/types.d.ts +11 -0
- package/es/pagination/types.mjs +0 -0
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/PasswordInput.mjs +2 -1
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +2 -0
- package/es/password-input/index.mjs +3 -1
- package/es/password-input/types.d.ts +17 -0
- package/es/password-input/types.mjs +0 -0
- package/es/picker/Picker.d.ts +1 -1
- package/es/picker/Picker.mjs +5 -2
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +2 -1
- package/es/picker/index.mjs +3 -1
- package/es/picker/types.d.ts +17 -0
- package/es/picker-group/index.css +1 -1
- package/es/picker-group/index.d.ts +2 -0
- package/es/picker-group/index.mjs +3 -1
- package/es/picker-group/types.d.ts +3 -0
- package/es/picker-group/types.mjs +0 -0
- package/es/popover/Popover.d.ts +1 -1
- package/es/popover/Popover.mjs +2 -1
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +2 -1
- package/es/popover/index.mjs +3 -1
- package/es/popover/types.d.ts +15 -0
- package/es/popup/Popup.d.ts +1 -1
- package/es/popup/Popup.mjs +2 -1
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +2 -1
- package/es/popup/index.mjs +3 -1
- package/es/popup/types.d.ts +9 -0
- package/es/progress/Progress.d.ts +1 -1
- package/es/progress/Progress.mjs +2 -1
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +2 -1
- package/es/progress/index.mjs +3 -1
- package/es/progress/types.d.ts +11 -0
- package/es/pull-refresh/PullRefresh.d.ts +1 -1
- package/es/pull-refresh/PullRefresh.mjs +2 -1
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +2 -0
- package/es/pull-refresh/index.mjs +3 -1
- package/es/pull-refresh/types.d.ts +6 -0
- package/es/pull-refresh/types.mjs +0 -0
- package/es/radio/Radio.d.ts +15 -2
- package/es/radio/Radio.mjs +3 -1
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +2 -0
- package/es/radio/index.mjs +3 -1
- package/es/radio/types.d.ts +11 -0
- package/es/radio/types.mjs +0 -0
- package/es/radio-group/RadioGroup.d.ts +1 -1
- package/es/radio-group/RadioGroup.mjs +2 -1
- package/es/radio-group/index.d.ts +1 -0
- package/es/radio-group/index.mjs +3 -1
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/Rate.mjs +2 -1
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +2 -0
- package/es/rate/index.mjs +3 -1
- package/es/rate/types.d.ts +7 -0
- package/es/rate/types.mjs +0 -0
- package/es/row/Row.d.ts +1 -1
- package/es/row/Row.mjs +2 -1
- package/es/row/index.d.ts +1 -0
- package/es/row/index.mjs +3 -1
- package/es/search/Search.d.ts +1 -1
- package/es/search/Search.mjs +2 -1
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +2 -1
- package/es/search/index.mjs +3 -1
- package/es/search/types.d.ts +13 -0
- package/es/share-sheet/ShareSheet.d.ts +1 -1
- package/es/share-sheet/ShareSheet.mjs +2 -1
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.d.ts +2 -0
- package/es/share-sheet/index.mjs +3 -1
- package/es/share-sheet/types.d.ts +17 -0
- package/es/share-sheet/types.mjs +0 -0
- package/es/sidebar/Sidebar.d.ts +1 -1
- package/es/sidebar/Sidebar.mjs +2 -1
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.d.ts +2 -0
- package/es/sidebar/index.mjs +3 -1
- package/es/sidebar/types.d.ts +3 -0
- package/es/sidebar/types.mjs +0 -0
- package/es/sidebar-item/SidebarItem.d.ts +1 -1
- package/es/sidebar-item/SidebarItem.mjs +2 -1
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.d.ts +2 -0
- package/es/sidebar-item/index.mjs +3 -1
- package/es/sidebar-item/types.d.ts +15 -0
- package/es/sidebar-item/types.mjs +0 -0
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/Skeleton.mjs +2 -1
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +2 -0
- package/es/skeleton/index.mjs +3 -1
- package/es/skeleton/types.d.ts +9 -0
- package/es/skeleton/types.mjs +0 -0
- package/es/slider/Slider.d.ts +1 -1
- package/es/slider/Slider.mjs +2 -1
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +2 -0
- package/es/slider/index.mjs +3 -1
- package/es/slider/types.d.ts +11 -0
- package/es/slider/types.mjs +0 -0
- package/es/space/Space.d.ts +1 -1
- package/es/space/Space.mjs +2 -1
- package/es/space/index.d.ts +1 -0
- package/es/space/index.mjs +3 -1
- package/es/step/index.css +1 -1
- 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/Stepper.d.ts +1 -1
- package/es/stepper/Stepper.mjs +2 -1
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +2 -0
- package/es/stepper/index.mjs +3 -1
- package/es/stepper/types.d.ts +15 -0
- package/es/stepper/types.mjs +0 -0
- package/es/steps/Steps.d.ts +1 -1
- package/es/steps/Steps.mjs +2 -1
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +2 -0
- package/es/steps/index.mjs +3 -1
- package/es/steps/types.d.ts +3 -0
- package/es/steps/types.mjs +0 -0
- package/es/sticky/Sticky.d.ts +1 -1
- package/es/sticky/Sticky.mjs +2 -1
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.d.ts +2 -0
- package/es/sticky/index.mjs +3 -1
- package/es/sticky/types.d.ts +3 -0
- package/es/sticky/types.mjs +0 -0
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/submit-bar/SubmitBar.d.ts +1 -1
- package/es/submit-bar/SubmitBar.mjs +2 -1
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +2 -0
- package/es/submit-bar/index.mjs +3 -1
- package/es/submit-bar/types.d.ts +21 -0
- package/es/submit-bar/types.mjs +0 -0
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/Swipe.mjs +2 -1
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +2 -1
- package/es/swipe/index.mjs +3 -1
- package/es/swipe/types.d.ts +8 -0
- package/es/swipe-cell/SwipeCell.d.ts +1 -1
- package/es/swipe-cell/SwipeCell.mjs +2 -1
- package/es/swipe-cell/index.d.ts +1 -0
- package/es/swipe-cell/index.mjs +3 -1
- package/es/switch/Switch.d.ts +1 -1
- package/es/switch/Switch.mjs +2 -1
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +2 -0
- package/es/switch/index.mjs +3 -1
- package/es/switch/types.d.ts +12 -0
- package/es/switch/types.mjs +0 -0
- package/es/tab/Tab.d.ts +1 -1
- package/es/tab/Tab.mjs +2 -1
- package/es/tab/index.d.ts +1 -0
- package/es/tab/index.mjs +3 -1
- package/es/tabbar/Tabbar.d.ts +1 -1
- package/es/tabbar/Tabbar.mjs +2 -1
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.d.ts +2 -0
- package/es/tabbar/index.mjs +3 -1
- package/es/tabbar/types.d.ts +5 -0
- package/es/tabbar/types.mjs +0 -0
- package/es/tabbar-item/TabbarItem.d.ts +1 -1
- package/es/tabbar-item/TabbarItem.mjs +2 -1
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +2 -0
- package/es/tabbar-item/index.mjs +3 -1
- package/es/tabbar-item/types.d.ts +9 -0
- package/es/tabbar-item/types.mjs +0 -0
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.mjs +2 -1
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +2 -1
- package/es/tabs/index.mjs +3 -1
- package/es/tabs/types.d.ts +14 -0
- package/es/tag/Tag.d.ts +2 -3
- package/es/tag/Tag.mjs +2 -1
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +10 -8
- package/es/tag/index.mjs +3 -1
- package/es/tag/types.d.ts +20 -0
- package/es/tag/types.mjs +0 -0
- package/es/time-picker/TimePicker.d.ts +1 -1
- package/es/time-picker/TimePicker.mjs +2 -1
- package/es/time-picker/index.d.ts +1 -0
- package/es/time-picker/index.mjs +3 -1
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/Toast.mjs +9 -2
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +7 -1
- package/es/toast/index.mjs +3 -1
- package/es/toast/types.d.ts +17 -0
- package/es/tree-select/TreeSelect.d.ts +1 -1
- package/es/tree-select/TreeSelect.mjs +2 -1
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +2 -0
- package/es/tree-select/index.mjs +3 -1
- package/es/tree-select/types.d.ts +10 -0
- package/es/tree-select/types.mjs +0 -0
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/Uploader.mjs +2 -1
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +2 -1
- package/es/uploader/index.mjs +3 -1
- package/es/uploader/types.d.ts +27 -0
- package/es/utils/basic.mjs +2 -1
- package/lib/action-bar/ActionBar.d.ts +1 -1
- package/lib/action-bar/ActionBar.js +1 -0
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.d.ts +2 -0
- package/lib/action-bar/index.js +2 -0
- package/lib/action-bar/types.d.ts +4 -0
- package/lib/action-bar/types.js +15 -0
- package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
- package/lib/action-bar-button/ActionBarButton.js +1 -0
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-button/index.d.ts +2 -0
- package/lib/action-bar-button/index.js +2 -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/ActionBarIcon.d.ts +1 -1
- package/lib/action-bar-icon/ActionBarIcon.js +1 -0
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +2 -0
- package/lib/action-bar-icon/index.js +2 -0
- package/lib/action-bar-icon/types.d.ts +10 -0
- package/lib/action-bar-icon/types.js +15 -0
- package/lib/action-sheet/ActionSheet.d.ts +1 -1
- package/lib/action-sheet/ActionSheet.js +1 -0
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +2 -0
- package/lib/action-sheet/index.js +2 -0
- package/lib/action-sheet/types.d.ts +23 -0
- package/lib/action-sheet/types.js +15 -0
- package/lib/address-edit/AddressEdit.d.ts +1 -1
- package/lib/address-edit/AddressEdit.js +1 -0
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +2 -1
- package/lib/address-edit/index.js +2 -0
- package/lib/address-edit/types.d.ts +6 -0
- package/lib/address-list/AddressList.d.ts +1 -1
- package/lib/address-list/AddressList.js +1 -0
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +2 -0
- package/lib/address-list/index.js +2 -0
- package/lib/address-list/types.d.ts +15 -0
- package/lib/address-list/types.js +15 -0
- package/lib/area/Area.d.ts +1 -1
- package/lib/area/Area.js +1 -0
- package/lib/area/index.d.ts +1 -0
- package/lib/area/index.js +2 -0
- package/lib/badge/Badge.d.ts +1 -1
- package/lib/badge/Badge.js +1 -0
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +2 -0
- package/lib/badge/index.js +2 -0
- package/lib/badge/types.d.ts +12 -0
- package/lib/badge/types.js +15 -0
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/Button.js +1 -0
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +2 -1
- package/lib/button/index.js +2 -0
- package/lib/button/types.d.ts +36 -0
- package/lib/calendar/Calendar.d.ts +1 -1
- package/lib/calendar/Calendar.js +1 -0
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +2 -1
- package/lib/calendar/index.js +2 -0
- package/lib/calendar/types.d.ts +28 -0
- package/lib/card/Card.d.ts +1 -1
- package/lib/card/Card.js +1 -0
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +2 -0
- package/lib/card/index.js +2 -0
- package/lib/card/types.d.ts +18 -0
- package/lib/card/types.js +15 -0
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/Cascader.js +1 -0
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +2 -1
- package/lib/cascader/index.js +2 -0
- package/lib/cascader/types.d.ts +15 -0
- package/lib/cell/Cell.d.ts +1 -1
- package/lib/cell/Cell.js +1 -0
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +2 -0
- package/lib/cell/index.js +2 -0
- package/lib/cell/types.d.ts +21 -0
- package/lib/cell/types.js +15 -0
- package/lib/cell-group/CellGroup.d.ts +1 -1
- package/lib/cell-group/CellGroup.js +1 -0
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.d.ts +2 -0
- package/lib/cell-group/index.js +2 -0
- package/lib/cell-group/types.d.ts +10 -0
- package/lib/cell-group/types.js +15 -0
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checkbox.js +1 -0
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +2 -1
- package/lib/checkbox/index.js +2 -0
- package/lib/checkbox/types.d.ts +11 -0
- package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox-group/CheckboxGroup.js +1 -0
- package/lib/checkbox-group/index.d.ts +1 -0
- package/lib/checkbox-group/index.js +2 -0
- package/lib/circle/Circle.d.ts +1 -1
- package/lib/circle/Circle.js +1 -0
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.d.ts +2 -0
- package/lib/circle/index.js +2 -0
- package/lib/circle/types.d.ts +9 -0
- package/lib/circle/types.js +15 -0
- package/lib/col/Col.d.ts +1 -1
- package/lib/col/Col.js +1 -0
- package/lib/col/index.d.ts +1 -0
- package/lib/col/index.js +2 -0
- package/lib/collapse/Collapse.d.ts +1 -1
- package/lib/collapse/Collapse.js +1 -0
- package/lib/collapse/index.d.ts +1 -0
- package/lib/collapse/index.js +2 -0
- package/lib/collapse-item/CollapseItem.d.ts +1 -1
- package/lib/collapse-item/CollapseItem.js +1 -0
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +2 -1
- package/lib/collapse-item/index.js +2 -0
- package/lib/collapse-item/types.d.ts +9 -0
- package/lib/config-provider/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.js +3 -2
- package/lib/config-provider/index.d.ts +2 -0
- package/lib/config-provider/index.js +2 -0
- package/lib/config-provider/types.d.ts +1 -0
- package/lib/config-provider/types.js +15 -0
- package/lib/contact-card/ContactCard.d.ts +1 -1
- package/lib/contact-card/ContactCard.js +1 -0
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.d.ts +2 -0
- package/lib/contact-card/index.js +2 -0
- package/lib/contact-card/types.d.ts +6 -0
- package/lib/contact-card/types.js +15 -0
- package/lib/contact-edit/ContactEdit.d.ts +1 -1
- package/lib/contact-edit/ContactEdit.js +1 -0
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-edit/index.d.ts +2 -0
- package/lib/contact-edit/index.js +2 -0
- package/lib/contact-edit/types.d.ts +8 -0
- package/lib/contact-edit/types.js +15 -0
- package/lib/contact-list/ContactList.d.ts +1 -1
- package/lib/contact-list/ContactList.js +1 -0
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.d.ts +2 -0
- package/lib/contact-list/index.js +2 -0
- package/lib/contact-list/types.d.ts +6 -0
- package/lib/contact-list/types.js +15 -0
- package/lib/count-down/CountDown.d.ts +1 -1
- package/lib/count-down/CountDown.js +1 -0
- package/lib/count-down/index.css +1 -1
- package/lib/count-down/index.d.ts +2 -1
- package/lib/count-down/index.js +2 -0
- package/lib/count-down/types.d.ts +5 -0
- package/lib/coupon/index.css +1 -1
- 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/CouponCell.d.ts +1 -1
- package/lib/coupon-cell/CouponCell.js +1 -0
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-cell/index.d.ts +2 -0
- package/lib/coupon-cell/index.js +2 -0
- package/lib/coupon-cell/types.d.ts +3 -0
- package/lib/coupon-cell/types.js +15 -0
- package/lib/coupon-list/CouponList.d.ts +1 -1
- package/lib/coupon-list/CouponList.js +1 -0
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +2 -0
- package/lib/coupon-list/index.js +2 -0
- package/lib/coupon-list/types.d.ts +9 -0
- package/lib/coupon-list/types.js +15 -0
- package/lib/date-picker/DatePicker.d.ts +1 -1
- package/lib/date-picker/DatePicker.js +1 -0
- package/lib/date-picker/index.d.ts +1 -0
- package/lib/date-picker/index.js +2 -0
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/dialog/Dialog.js +2 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +2 -1
- package/lib/dialog/index.js +2 -0
- package/lib/dialog/types.d.ts +22 -1
- package/lib/divider/Divider.d.ts +1 -1
- package/lib/divider/Divider.js +2 -1
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +2 -0
- package/lib/divider/index.js +3 -1
- package/lib/divider/types.d.ts +10 -0
- package/lib/divider/types.js +15 -0
- package/lib/dropdown-item/DropdownItem.d.ts +1 -1
- package/lib/dropdown-item/DropdownItem.js +2 -1
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +2 -1
- package/lib/dropdown-item/index.js +3 -1
- package/lib/dropdown-item/types.d.ts +3 -0
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.js +2 -1
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +2 -1
- package/lib/dropdown-menu/index.js +3 -1
- package/lib/dropdown-menu/types.d.ts +13 -0
- package/lib/empty/Empty.d.ts +1 -1
- package/lib/empty/Empty.js +2 -1
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +2 -0
- package/lib/empty/index.js +3 -1
- package/lib/empty/types.d.ts +10 -0
- package/lib/empty/types.js +15 -0
- package/lib/field/Field.d.ts +1 -1
- package/lib/field/Field.js +1 -0
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +2 -1
- package/lib/field/index.js +3 -1
- package/lib/field/types.d.ts +21 -0
- package/lib/form/Form.d.ts +1 -1
- package/lib/form/Form.js +2 -1
- package/lib/form/index.d.ts +1 -0
- package/lib/form/index.js +3 -1
- package/lib/grid/Grid.d.ts +1 -1
- package/lib/grid/Grid.js +2 -1
- package/lib/grid/index.d.ts +1 -0
- package/lib/grid/index.js +3 -1
- package/lib/grid-item/GridItem.d.ts +1 -1
- package/lib/grid-item/GridItem.js +2 -1
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +2 -0
- package/lib/grid-item/index.js +3 -1
- package/lib/grid-item/types.d.ts +8 -0
- package/lib/grid-item/types.js +15 -0
- package/lib/icon/Icon.d.ts +1 -1
- package/lib/icon/Icon.js +2 -1
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +3 -1
- package/lib/image/Image.d.ts +5 -1
- package/lib/image/Image.js +5 -2
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +5 -0
- package/lib/image/index.js +3 -1
- package/lib/image/types.d.ts +9 -0
- package/lib/image/types.js +15 -0
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/ImagePreview.js +2 -1
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.d.ts +3 -2
- package/lib/image-preview/index.js +2 -0
- package/lib/image-preview/types.d.ts +11 -0
- package/lib/index-anchor/IndexAnchor.d.ts +1 -1
- package/lib/index-anchor/IndexAnchor.js +2 -1
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.d.ts +2 -0
- package/lib/index-anchor/index.js +3 -1
- package/lib/index-anchor/types.d.ts +11 -0
- package/lib/index-anchor/types.js +15 -0
- package/lib/index-bar/IndexBar.d.ts +1 -1
- package/lib/index-bar/IndexBar.js +2 -1
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +2 -1
- package/lib/index-bar/index.js +3 -1
- package/lib/index-bar/types.d.ts +6 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/List.d.ts +1 -1
- package/lib/list/List.js +2 -1
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +2 -1
- package/lib/list/index.js +3 -1
- package/lib/list/types.d.ts +6 -0
- package/lib/loading/Loading.d.ts +1 -1
- package/lib/loading/Loading.js +2 -1
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +2 -0
- package/lib/loading/index.js +3 -1
- package/lib/loading/types.d.ts +7 -0
- package/lib/loading/types.js +15 -0
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/NavBar.js +2 -1
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +2 -0
- package/lib/nav-bar/index.js +3 -1
- package/lib/nav-bar/types.d.ts +10 -0
- package/lib/nav-bar/types.js +15 -0
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/NoticeBar.js +2 -1
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +2 -1
- package/lib/notice-bar/index.js +3 -1
- package/lib/notice-bar/types.d.ts +11 -0
- package/lib/notify/Notify.d.ts +1 -1
- package/lib/notify/Notify.js +3 -1
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.d.ts +3 -2
- package/lib/notify/index.js +2 -0
- package/lib/notify/types.d.ts +10 -0
- package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/lib/number-keyboard/NumberKeyboard.js +2 -1
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +2 -0
- package/lib/number-keyboard/index.js +3 -1
- package/lib/number-keyboard/types.d.ts +17 -0
- package/lib/number-keyboard/types.js +15 -0
- package/lib/overlay/Overlay.d.ts +1 -1
- package/lib/overlay/Overlay.js +2 -1
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +2 -0
- package/lib/overlay/index.js +3 -1
- package/lib/overlay/types.d.ts +4 -0
- package/lib/overlay/types.js +15 -0
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/Pagination.js +2 -1
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +2 -0
- package/lib/pagination/index.js +3 -1
- package/lib/pagination/types.d.ts +11 -0
- package/lib/pagination/types.js +15 -0
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/PasswordInput.js +2 -1
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +2 -0
- package/lib/password-input/index.js +3 -1
- package/lib/password-input/types.d.ts +17 -0
- package/lib/password-input/types.js +15 -0
- package/lib/picker/Picker.d.ts +1 -1
- package/lib/picker/Picker.js +5 -2
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +2 -1
- package/lib/picker/index.js +3 -1
- package/lib/picker/types.d.ts +17 -0
- package/lib/picker-group/index.css +1 -1
- package/lib/picker-group/index.d.ts +2 -0
- package/lib/picker-group/index.js +3 -1
- package/lib/picker-group/types.d.ts +3 -0
- package/lib/picker-group/types.js +15 -0
- package/lib/popover/Popover.d.ts +1 -1
- package/lib/popover/Popover.js +2 -1
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +2 -1
- package/lib/popover/index.js +3 -1
- package/lib/popover/types.d.ts +15 -0
- package/lib/popup/Popup.d.ts +1 -1
- package/lib/popup/Popup.js +2 -1
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +2 -1
- package/lib/popup/index.js +3 -1
- package/lib/popup/types.d.ts +9 -0
- package/lib/progress/Progress.d.ts +1 -1
- package/lib/progress/Progress.js +2 -1
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +2 -1
- package/lib/progress/index.js +3 -1
- package/lib/progress/types.d.ts +11 -0
- package/lib/pull-refresh/PullRefresh.d.ts +1 -1
- package/lib/pull-refresh/PullRefresh.js +2 -1
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +2 -0
- package/lib/pull-refresh/index.js +3 -1
- package/lib/pull-refresh/types.d.ts +6 -0
- package/lib/pull-refresh/types.js +15 -0
- package/lib/radio/Radio.d.ts +15 -2
- package/lib/radio/Radio.js +3 -1
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +2 -0
- package/lib/radio/index.js +3 -1
- package/lib/radio/types.d.ts +11 -0
- package/lib/radio/types.js +15 -0
- package/lib/radio-group/RadioGroup.d.ts +1 -1
- package/lib/radio-group/RadioGroup.js +2 -1
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/radio-group/index.js +3 -1
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/Rate.js +2 -1
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +2 -0
- package/lib/rate/index.js +3 -1
- package/lib/rate/types.d.ts +7 -0
- package/lib/rate/types.js +15 -0
- package/lib/row/Row.d.ts +1 -1
- package/lib/row/Row.js +2 -1
- package/lib/row/index.d.ts +1 -0
- package/lib/row/index.js +3 -1
- package/lib/search/Search.d.ts +1 -1
- package/lib/search/Search.js +2 -1
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +2 -1
- package/lib/search/index.js +3 -1
- package/lib/search/types.d.ts +13 -0
- package/lib/share-sheet/ShareSheet.d.ts +1 -1
- package/lib/share-sheet/ShareSheet.js +2 -1
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.d.ts +2 -0
- package/lib/share-sheet/index.js +3 -1
- package/lib/share-sheet/types.d.ts +17 -0
- package/lib/share-sheet/types.js +15 -0
- package/lib/sidebar/Sidebar.d.ts +1 -1
- package/lib/sidebar/Sidebar.js +2 -1
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.d.ts +2 -0
- package/lib/sidebar/index.js +3 -1
- package/lib/sidebar/types.d.ts +3 -0
- package/lib/sidebar/types.js +15 -0
- package/lib/sidebar-item/SidebarItem.d.ts +1 -1
- package/lib/sidebar-item/SidebarItem.js +2 -1
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.d.ts +2 -0
- package/lib/sidebar-item/index.js +3 -1
- package/lib/sidebar-item/types.d.ts +15 -0
- package/lib/sidebar-item/types.js +15 -0
- package/lib/skeleton/Skeleton.d.ts +1 -1
- package/lib/skeleton/Skeleton.js +2 -1
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +2 -0
- package/lib/skeleton/index.js +3 -1
- package/lib/skeleton/types.d.ts +9 -0
- package/lib/skeleton/types.js +15 -0
- package/lib/slider/Slider.d.ts +1 -1
- package/lib/slider/Slider.js +2 -1
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +2 -0
- package/lib/slider/index.js +3 -1
- package/lib/slider/types.d.ts +11 -0
- package/lib/slider/types.js +15 -0
- package/lib/space/Space.d.ts +1 -1
- package/lib/space/Space.js +2 -1
- package/lib/space/index.d.ts +1 -0
- package/lib/space/index.js +3 -1
- package/lib/step/index.css +1 -1
- 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/Stepper.d.ts +1 -1
- package/lib/stepper/Stepper.js +2 -1
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +2 -0
- package/lib/stepper/index.js +3 -1
- package/lib/stepper/types.d.ts +15 -0
- package/lib/stepper/types.js +15 -0
- package/lib/steps/Steps.d.ts +1 -1
- package/lib/steps/Steps.js +2 -1
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +2 -0
- package/lib/steps/index.js +3 -1
- package/lib/steps/types.d.ts +3 -0
- package/lib/steps/types.js +15 -0
- package/lib/sticky/Sticky.d.ts +1 -1
- package/lib/sticky/Sticky.js +2 -1
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.d.ts +2 -0
- package/lib/sticky/index.js +3 -1
- package/lib/sticky/types.d.ts +3 -0
- package/lib/sticky/types.js +15 -0
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +1 -1
- package/lib/submit-bar/SubmitBar.js +2 -1
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +2 -0
- package/lib/submit-bar/index.js +3 -1
- package/lib/submit-bar/types.d.ts +21 -0
- package/lib/submit-bar/types.js +15 -0
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/Swipe.js +2 -1
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +2 -1
- package/lib/swipe/index.js +3 -1
- package/lib/swipe/types.d.ts +8 -0
- package/lib/swipe-cell/SwipeCell.d.ts +1 -1
- package/lib/swipe-cell/SwipeCell.js +2 -1
- package/lib/swipe-cell/index.d.ts +1 -0
- package/lib/swipe-cell/index.js +3 -1
- package/lib/switch/Switch.d.ts +1 -1
- package/lib/switch/Switch.js +2 -1
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +2 -0
- package/lib/switch/index.js +3 -1
- package/lib/switch/types.d.ts +12 -0
- package/lib/switch/types.js +15 -0
- package/lib/tab/Tab.d.ts +1 -1
- package/lib/tab/Tab.js +2 -1
- package/lib/tab/index.d.ts +1 -0
- package/lib/tab/index.js +3 -1
- package/lib/tabbar/Tabbar.d.ts +1 -1
- package/lib/tabbar/Tabbar.js +2 -1
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.d.ts +2 -0
- package/lib/tabbar/index.js +3 -1
- package/lib/tabbar/types.d.ts +5 -0
- package/lib/tabbar/types.js +15 -0
- package/lib/tabbar-item/TabbarItem.d.ts +1 -1
- package/lib/tabbar-item/TabbarItem.js +2 -1
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +2 -0
- package/lib/tabbar-item/index.js +3 -1
- package/lib/tabbar-item/types.d.ts +9 -0
- package/lib/tabbar-item/types.js +15 -0
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +2 -1
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +2 -1
- package/lib/tabs/index.js +3 -1
- package/lib/tabs/types.d.ts +14 -0
- package/lib/tag/Tag.d.ts +2 -3
- package/lib/tag/Tag.js +2 -1
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +10 -8
- package/lib/tag/index.js +3 -1
- package/lib/tag/types.d.ts +20 -0
- package/lib/tag/types.js +15 -0
- package/lib/time-picker/TimePicker.d.ts +1 -1
- package/lib/time-picker/TimePicker.js +2 -1
- package/lib/time-picker/index.d.ts +1 -0
- package/lib/time-picker/index.js +3 -1
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/Toast.js +9 -2
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +7 -1
- package/lib/toast/index.js +3 -1
- package/lib/toast/types.d.ts +17 -0
- package/lib/tree-select/TreeSelect.d.ts +1 -1
- package/lib/tree-select/TreeSelect.js +2 -1
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +2 -0
- package/lib/tree-select/index.js +3 -1
- package/lib/tree-select/types.d.ts +10 -0
- package/lib/tree-select/types.js +15 -0
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/Uploader.js +2 -1
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +2 -1
- package/lib/uploader/index.js +3 -1
- package/lib/uploader/types.d.ts +27 -0
- package/lib/utils/basic.js +2 -1
- package/lib/vant.cjs.js +115 -19
- package/lib/vant.es.js +115 -19
- package/lib/vant.js +115 -19
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +242 -181
- package/package.json +3 -3
package/changelog.generated.md
CHANGED
@@ -1,295 +1,47 @@
|
|
1
|
-
### [v4.0.0-rc.
|
1
|
+
### [v4.0.0-rc.3](https://github.com/vant-ui/vant/compare/v4.0.0-rc.2...v4.0.0-rc.3)
|
2
2
|
|
3
|
-
`2022-09-
|
4
|
-
|
5
|
-
**Bug Fixes**
|
6
|
-
|
7
|
-
- DatePicker: failed to update model value [#10984](https://github.com/vant-ui/vant/issues/10984)
|
8
|
-
- DatePicker: min-date prop not work correctly [#10985](https://github.com/vant-ui/vant/issues/10985)
|
9
|
-
- Picker: fix passive event [8bcb34](https://github.com/vant-ui/vant/commit/8bcb34724f5bab2a184b075d85b8896f4a0a8c1f)
|
10
|
-
|
11
|
-
**Document**
|
12
|
-
|
13
|
-
- changelog: vant@3.6.2 [#11008](https://github.com/vant-ui/vant/issues/11008)
|
14
|
-
- changelog: vant@4.0.0-beta.1 [#10966](https://github.com/vant-ui/vant/issues/10966)
|
15
|
-
- DatePicker: fix basic usage [66aa29](https://github.com/vant-ui/vant/commit/66aa2906e0c4fa613e55e2cb57637a40b37cdb7e)
|
16
|
-
- DatePicker: fix toolbar slot name [#10983](https://github.com/vant-ui/vant/issues/10983)
|
17
|
-
- update babel-plugin-import tip [7d023f](https://github.com/vant-ui/vant/commit/7d023fd6e45b6407a339d8a07ab6c4e4b70f4f92)
|
18
|
-
|
19
|
-
**Feature**
|
20
|
-
|
21
|
-
- add new PickerGroup component [#11005](https://github.com/vant-ui/vant/issues/11005)
|
22
|
-
### [v4.0.0-beta.1](https://github.com/vant-ui/vant/compare/v3.6.1...v4.0.0-beta.1)
|
23
|
-
|
24
|
-
`2022-08-24`
|
25
|
-
|
26
|
-
**Bug Fixes**
|
27
|
-
|
28
|
-
- ConfigProvider: should remove theme class on unmount [#10898](https://github.com/vant-ui/vant/issues/10898)
|
29
|
-
|
30
|
-
**Document**
|
31
|
-
|
32
|
-
- add babel-plugin-import migration guide [#10867](https://github.com/vant-ui/vant/issues/10867)
|
33
|
-
- add faq of remove babel-plugin-import [#10942](https://github.com/vant-ui/vant/issues/10942)
|
34
|
-
- changelog: 4.0.0-beta.0 [#10825](https://github.com/vant-ui/vant/issues/10825)
|
35
|
-
- fix link address in migrate-from-v3.md [#10919](https://github.com/vant-ui/vant/issues/10919)
|
36
|
-
- Icon: separate usingUrl demo from basicUsage [#10828](https://github.com/vant-ui/vant/issues/10828)
|
37
|
-
- ImagePreview: fix cell style in demo [0881de](https://github.com/vant-ui/vant/commit/0881de82af347002c3f37bba5e2f89aacdeadc16)
|
38
|
-
|
39
|
-
- Restore "fix(Popup&Toast): invalid adaptive width (#10961)" [#10961](https://github.com/vant-ui/vant/issues/10961)
|
40
|
-
|
41
|
-
**Feature**
|
42
|
-
|
43
|
-
- ConfigProvider: add theme-vars-dark and theme-vars-light props [#10939](https://github.com/vant-ui/vant/issues/10939)
|
44
|
-
- Picker: add clickOption event [#10865](https://github.com/vant-ui/vant/issues/10865)
|
45
|
-
- Popup: improve style when position is center [#10965](https://github.com/vant-ui/vant/issues/10965)
|
46
|
-
|
47
|
-
**release**
|
48
|
-
|
49
|
-
- 4.0.0-beta.1 [889b28](https://github.com/vant-ui/vant/commit/889b28609ad6cc53a8fa82017cff2e7d210f3f74)
|
50
|
-
### [v4.0.0-beta.0](https://github.com/vant-ui/vant/compare/v3.5.2...v4.0.0-beta.0)
|
51
|
-
|
52
|
-
`2022-07-16`
|
3
|
+
`2022-09-12`
|
53
4
|
|
54
5
|
**Document**
|
55
6
|
|
56
|
-
- changelog: 4.0.0-
|
7
|
+
- changelog: vant@4.0.0-rc.2 [#11029](https://github.com/vant-ui/vant/issues/11029)
|
8
|
+
- fix missing z-index prop in document [#11031](https://github.com/vant-ui/vant/issues/11031)
|
57
9
|
|
58
10
|
**Feature**
|
59
11
|
|
60
|
-
- add
|
12
|
+
- add themeVars type of all components [#11034](https://github.com/vant-ui/vant/issues/11034)
|
13
|
+
- Notify: add z-index prop [#11032](https://github.com/vant-ui/vant/issues/11032)
|
61
14
|
|
62
15
|
**perf**
|
63
16
|
|
64
|
-
- remove
|
65
|
-
|
66
|
-
**refactor**
|
67
|
-
|
68
|
-
- Dialog: redesign function-call API [#10781](https://github.com/vant-ui/vant/issues/10781)
|
69
|
-
- ImagePreview: redesign function-call API [#10802](https://github.com/vant-ui/vant/issues/10802)
|
70
|
-
- Notify: redesign function-call API [#10782](https://github.com/vant-ui/vant/issues/10782)
|
71
|
-
- Toast: redesign function-call API [#10804](https://github.com/vant-ui/vant/issues/10804)
|
72
|
-
|
73
|
-
**release**
|
74
|
-
|
75
|
-
- 4.0.0-beta.0 [151427](https://github.com/vant-ui/vant/commit/15142770f226f4e2834c42bf076dfd683a53202d)
|
76
|
-
### [v4.0.0-alpha.4](https://github.com/vant-ui/vant/compare/v3.5.0-beta.0...v4.0.0-alpha.4)
|
77
|
-
|
78
|
-
`2022-05-31`
|
79
|
-
|
80
|
-
**Document**
|
81
|
-
|
82
|
-
- changelog: 4.0.0-alpha.3 [fe2115](https://github.com/vant-ui/vant/commit/fe2115ee5c1e86f006858bc930219313afb46747)
|
83
|
-
|
84
|
-
**Feature**
|
85
|
-
|
86
|
-
- using mjs extension for esmodule [#10625](https://github.com/vant-ui/vant/issues/10625)
|
87
|
-
|
88
|
-
**release**
|
89
|
-
|
90
|
-
- 4.0.0-alpha.4 [1f19fb](https://github.com/vant-ui/vant/commit/1f19fb0d9f91317e799f4ce8f017f56841dad6e6)
|
91
|
-
### [v4.0.0-alpha.3](https://github.com/vant-ui/vant/compare/v3.4.9...v4.0.0-alpha.3)
|
92
|
-
|
93
|
-
`2022-05-02`
|
94
|
-
|
95
|
-
**Bug Fixes**
|
96
|
-
|
97
|
-
- Search: style error in dark mode [#10527](https://github.com/vant-ui/vant/issues/10527)
|
98
|
-
|
99
|
-
**Document**
|
100
|
-
|
101
|
-
- changelog: 4.0.0-alpha.2 [912a5f](https://github.com/vant-ui/vant/commit/912a5f17b1b429baa063de91c68a8bf6650b1189)
|
102
|
-
|
103
|
-
**release**
|
104
|
-
|
105
|
-
- 4.0.0-alpha.3 [bc60f5](https://github.com/vant-ui/vant/commit/bc60f5116bd832c599ec8ba43b58daece4abe280)
|
106
|
-
### [v4.0.0-alpha.2](https://github.com/vant-ui/vant/compare/v3.4.8...v4.0.0-alpha.2)
|
107
|
-
|
108
|
-
`2022-04-16`
|
109
|
-
|
110
|
-
**Document**
|
111
|
-
|
112
|
-
- changelog: 4.0.0-alpha.1 [5bff9e](https://github.com/vant-ui/vant/commit/5bff9e8c5ff4716740c7555ef185163569f7576c)
|
113
|
-
|
114
|
-
- breaking change(AddressEdit): remove postal [e08e98](https://github.com/vant-ui/vant/commit/e08e9845a29b8d5587f02eff84368e32157678f4)
|
115
|
-
|
116
|
-
**release**
|
117
|
-
|
118
|
-
- 4.0.0-alpha.2 [ea57c9](https://github.com/vant-ui/vant/commit/ea57c9e9ffc10847ac31e1c6b6dac8f81c4abb22)
|
119
|
-
### [v4.0.0-alpha.1](https://github.com/vant-ui/vant/compare/v3.4.6...v4.0.0-alpha.1)
|
120
|
-
|
121
|
-
`2022-03-19`
|
122
|
-
|
123
|
-
**Bug Fixes**
|
124
|
-
|
125
|
-
- Calendar, Picker: Fix calendar and picker's title color in dark mode [#10403](https://github.com/vant-ui/vant/issues/10403)
|
126
|
-
- ConfigProvider: dark mode not work as default value [#10413](https://github.com/vant-ui/vant/issues/10413)
|
127
|
-
- DatePicker: failed to update model value [#10415](https://github.com/vant-ui/vant/issues/10415)
|
128
|
-
- Dialog: Fix dialog title and message color in dark mode [#10379](https://github.com/vant-ui/vant/issues/10379)
|
129
|
-
|
130
|
-
**build**
|
131
|
-
|
132
|
-
- deploy v4 site [06199f](https://github.com/vant-ui/vant/commit/06199faf2c170bcd95e6aa49b51d981373ac42a6)
|
133
|
-
- fix workflow name [992eea](https://github.com/vant-ui/vant/commit/992eea3eeb8758942d40f9b893d0ff41c296c3ea)
|
134
|
-
|
135
|
-
**Document**
|
136
|
-
|
137
|
-
- DatePicker: fix formatter usage [#10416](https://github.com/vant-ui/vant/issues/10416)
|
138
|
-
- fix publicPath [db2e6c](https://github.com/vant-ui/vant/commit/db2e6ca12f75ee0db3b25cd1f9766f9e74e285f6)
|
139
|
-
- Picker: add v-model usage [#10417](https://github.com/vant-ui/vant/issues/10417)
|
140
|
-
- update [3a1e79](https://github.com/vant-ui/vant/commit/3a1e792e3151861e0ed780baa67823729db6a8a6)
|
141
|
-
- update 4.0.0-alpha changelog [#10339](https://github.com/vant-ui/vant/issues/10339)
|
17
|
+
- remove popperjs to reduce install size [#11030](https://github.com/vant-ui/vant/issues/11030)
|
142
18
|
|
143
19
|
**release**
|
144
20
|
|
145
|
-
-
|
146
|
-
### [v4.0.0-alpha.0](https://github.com/vant-ui/vant/compare/v3.4.5...v4.0.0-alpha.0)
|
147
|
-
|
148
|
-
`2022-02-21`
|
149
|
-
|
150
|
-
**Bug Fixes**
|
151
|
-
|
152
|
-
- AddressEdit: selectedOption maybe undefined [3979dd](https://github.com/vant-ui/vant/commit/3979ddc40af1325f5cc7889c6f0f277ccdb110c9)
|
153
|
-
- Area: allow to reset modelValue [8d49b8](https://github.com/vant-ui/vant/commit/8d49b88748c6bd36437628ab0242352dc0ba5159)
|
154
|
-
- DatePicker: allow modelValue to be empty [980f97](https://github.com/vant-ui/vant/commit/980f9760112958a2bd5c1e88a410e4c15636658a)
|
155
|
-
- Picker: currentColumns calculation [113e1b](https://github.com/vant-ui/vant/commit/113e1b7a6239c3097956e8692cb512e8ccecccb8)
|
156
|
-
- Picker: error when options is empty [018621](https://github.com/vant-ui/vant/commit/0186219586b75227bf69ce0e514c3ed94c52e1cc)
|
157
|
-
- Picker: failed to update modelValue [ff69fd](https://github.com/vant-ui/vant/commit/ff69fdacc7dd9bcf6bd17c4a493902d027644d92)
|
158
|
-
- Picker: fix some bugs [22654b](https://github.com/vant-ui/vant/commit/22654bf518cc21e45cf9ed5e597f5d5e1f411a17)
|
159
|
-
- Picker: option.className not work [d16075](https://github.com/vant-ui/vant/commit/d16075f39efbd7aeed4feab08cd4587bc73eb54c)
|
160
|
-
- Picker: should update modelValue immediately [e61bd4](https://github.com/vant-ui/vant/commit/e61bd487fa81533a6deb6c8aa52e92a549a000a4)
|
161
|
-
- Picker: should update selectedValues correctly [2a8bb8](https://github.com/vant-ui/vant/commit/2a8bb86fbb7d65f9ddc053de8bc3c9c1175d3dff)
|
162
|
-
- TimePicker: remove columns-order prop [7d22cc](https://github.com/vant-ui/vant/commit/7d22cc2155bef564ee910498d2f8f319ef601a41)
|
163
|
-
- TimePicker: should update modelValue immediately [7dae50](https://github.com/vant-ui/vant/commit/7dae50b0c9809e17448264752de831504f7f084d)
|
164
|
-
- vant-cli: pnpm compatibility [#10214](https://github.com/vant-ui/vant/issues/10214)
|
165
|
-
|
166
|
-
**Document**
|
167
|
-
|
168
|
-
- @vant/cli: changelog 4.0.0-rc.6 [fda3f1](https://github.com/vant-ui/vant/commit/fda3f1be9403c68bcc734ae08c760af3d0df6fa1)
|
169
|
-
- Area: update documents [a9baa3](https://github.com/vant-ui/vant/commit/a9baa3b2d188a16637acc1051fb554142408315b)
|
170
|
-
- dark mode [d4584a](https://github.com/vant-ui/vant/commit/d4584aafda247ad4d520afc063cd6a74f8d7ee4c)
|
171
|
-
- DatePicker: fix currentDate of year-month [c942ef](https://github.com/vant-ui/vant/commit/c942efb76b53885a66de5291c86ca1160713cfb3)
|
172
|
-
- docsearch version v4 [15e746](https://github.com/vant-ui/vant/commit/15e7461a93a32c7a0e43e46955adc45d845bc064)
|
173
|
-
- Form: fix demo [7deba8](https://github.com/vant-ui/vant/commit/7deba88b918f74d68b7880621983f2ad2d8eb549)
|
174
|
-
- Form: fix Picker demo [9cfef0](https://github.com/vant-ui/vant/commit/9cfef027aa787ed85566a7ce23beb8c2e8bffba1)
|
175
|
-
- Picker: new document [cc10eb](https://github.com/vant-ui/vant/commit/cc10eb1f2adddc5a6d34336669b85a8a571c1803)
|
176
|
-
- Picker: update demo [ceaab3](https://github.com/vant-ui/vant/commit/ceaab349f177d0280d15f66686890dc092434b80)
|
177
|
-
- update migration guide [d68053](https://github.com/vant-ui/vant/commit/d68053ea7f469953a8e81819e4aeb47ab169124f)
|
178
|
-
- update migration guide [f436b5](https://github.com/vant-ui/vant/commit/f436b5ae09af3f3ff8a5d21105ad0ff85cd48ff7)
|
179
|
-
- update v4 migration guide [6c24fa](https://github.com/vant-ui/vant/commit/6c24fa728ee078419cbd7b8efcd35b3b70021208)
|
180
|
-
- update Vant 4 [2ceb68](https://github.com/vant-ui/vant/commit/2ceb68e691440b49394ea05a82912f1e972146dd)
|
181
|
-
|
182
|
-
- breaking change(AddressEdit): adjust change-area event params [b3cf1d](https://github.com/vant-ui/vant/commit/b3cf1dfb54f04af08011d2b9930fd725856d153a)
|
183
|
-
- breaking change: event name become camelCase [8ca974](https://github.com/vant-ui/vant/commit/8ca9741845cc7f5c73c23bb81c98ec2802971e27)
|
184
|
-
- breaking change: shorter css var names [7d6916](https://github.com/vant-ui/vant/commit/7d6916b946440fdd7fb3e0bd4c1117c989d74a93)
|
185
|
-
- breaking change: no longer support less vars [ada5db](https://github.com/vant-ui/vant/commit/ada5db011c676893a2917b9424be1aeafe54134b)
|
186
|
-
- breaking change(Tabs): remove click、disabled event [099141](https://github.com/vant-ui/vant/commit/099141f6c5b0e43c7e3ceeae98ee7e6e512212d6)
|
187
|
-
- breaking change(Picker): remove default slot、value-key prop [6a4033](https://github.com/vant-ui/vant/commit/6a4033b6bc72c38ff103c16e039ecd73ccacd4df)
|
188
|
-
|
189
|
-
**Feature**
|
190
|
-
|
191
|
-
- @vant/cli: desktop site support dark mode [35a990](https://github.com/vant-ui/vant/commit/35a990ed65500311cbcafae506780dc6d3fb49fa)
|
192
|
-
- @vant/cli: mobile site support dark mode [df24a3](https://github.com/vant-ui/vant/commit/df24a3b6834e4b9439580498f9c4a7448f7ca7c2)
|
193
|
-
- ActionBar: update icon text color [650bdd](https://github.com/vant-ui/vant/commit/650bdd22941d9119d8a78f1ffc37d8562c68f9a1)
|
194
|
-
- add dark mode basic variables [73322f](https://github.com/vant-ui/vant/commit/73322fd310849f53bf6f9e5bc508991c770af620)
|
195
|
-
- Area: add getSelectedOptions method [35a500](https://github.com/vant-ui/vant/commit/35a50012c76495119a44efa2cfc231f8b1921f40)
|
196
|
-
- ConfigProvider: add theme prop [f95734](https://github.com/vant-ui/vant/commit/f9573402a79d2de0abcfb43f6cbcf4c7e7e8c64f)
|
197
|
-
- ConfigProvider: dark theme class [97b074](https://github.com/vant-ui/vant/commit/97b074ad0c3d8f25b9281120444901128bfdc5a1)
|
198
|
-
- DatePicker: date columns calculation [e8ffc8](https://github.com/vant-ui/vant/commit/e8ffc80dc65a9a09e342a97d9314c498e8e78264)
|
199
|
-
- Picker: add getSelectedOptions method [83295e](https://github.com/vant-ui/vant/commit/83295e655da9ae2debbf2e7472753517d5b5241d)
|
200
|
-
- TimePicker: support select second [2e053a](https://github.com/vant-ui/vant/commit/2e053ad76bf254fbe14cee2b3c3d2dc7766c9462)
|
201
|
-
|
202
|
-
**refactor**
|
203
|
-
|
204
|
-
- Area component [cca428](https://github.com/vant-ui/vant/commit/cca428aac63da792e8de8f3f6f76d164cab46cb6)
|
205
|
-
- attach css variables to body element [541458](https://github.com/vant-ui/vant/commit/541458c41b69e3bc977aa39a0e91be2b2d91883a)
|
206
|
-
- DatePicker Component [5b4075](https://github.com/vant-ui/vant/commit/5b407566db61d2ff7e6512ca8f82f39111d8da0f)
|
207
|
-
- DatePicker: v-model now is string array [ef8e66](https://github.com/vant-ui/vant/commit/ef8e66a9244606899339c7153ec2d66406afbf81)
|
208
|
-
- Picker: data driven [89b029](https://github.com/vant-ui/vant/commit/89b029aa42400b2570b7676b881f6311abe42352)
|
209
|
-
- Picker: rename item-height to option-height [c06141](https://github.com/vant-ui/vant/commit/c061412138e41a07a87110692621517eac814428)
|
210
|
-
- rename --van-background-light to --van-background-2 [98b999](https://github.com/vant-ui/vant/commit/98b999d911c41ac1a73e6ef375b4966befe69b20)
|
211
|
-
- TimePicker component [42d1dd](https://github.com/vant-ui/vant/commit/42d1dd836c141f499343aa6a8278d1b3be4953ac)
|
212
|
-
- TimePicker: modelValue now is string array [fdcf99](https://github.com/vant-ui/vant/commit/fdcf9931bed3da6f1faedff99f3a6b8202d75691)
|
213
|
-
|
214
|
-
**release**
|
215
|
-
|
216
|
-
- @vant/cli 4.0.0-rc.6 [e93ae7](https://github.com/vant-ui/vant/commit/e93ae7b430afac7f431af23e334eaf0bf17a9e9d)
|
217
|
-
- 4.0.0-alpha.0 [c20664](https://github.com/vant-ui/vant/commit/c206642d2d6771b681c369653228ec692fd28754)
|
218
|
-
|
219
|
-
**style**
|
220
|
-
|
221
|
-
- @vant/cli: adjust css vars [b6fcd3](https://github.com/vant-ui/vant/commit/b6fcd32dcf201703d32ee4ce70d6147b4c4605ef)
|
222
|
-
- @vant/cli: improve demo style in dark mode [0e8e32](https://github.com/vant-ui/vant/commit/0e8e3200a2f3fbdfd46f324d89ae05a38680f421)
|
223
|
-
- @vant/cli: improve mobile style in dark mode [f5c32c](https://github.com/vant-ui/vant/commit/f5c32c29f115ef072a20ff736732a1c66557f992)
|
224
|
-
- AddressEdit: submit button using primary type [c65d4f](https://github.com/vant-ui/vant/commit/c65d4f96727059d19ad7bb014b53d679754bd512)
|
225
|
-
- AddressList: using primary color [fcd91c](https://github.com/vant-ui/vant/commit/fcd91cb0b03ade0def49928bdd2ec2ea652f4408)
|
226
|
-
- Button: adjust font-smoothing [bda361](https://github.com/vant-ui/vant/commit/bda3617d14f3e93f04748915bb595467c1696945)
|
227
|
-
- Button: increase default border radius from 2px to 4px [d86771](https://github.com/vant-ui/vant/commit/d867710cc9ca273dbf6c1d4edc568f57e5806243)
|
228
|
-
- Button: update default button border color [bd2428](https://github.com/vant-ui/vant/commit/bd24288a12b38fecafc6302f1216587e7a6710fb)
|
229
|
-
- Calendar: using primary color by default [4e89e8](https://github.com/vant-ui/vant/commit/4e89e88845adba1af3a6a6db19d8df7cae6aa9fb)
|
230
|
-
- Card: blue tag [369201](https://github.com/vant-ui/vant/commit/3692014070beb9d3187106803e742b28ab0b3310)
|
231
|
-
- Card: improve card mode style [cb2d99](https://github.com/vant-ui/vant/commit/cb2d99c8cf7abde3e08df79085f13a21c47c9bc7)
|
232
|
-
- Cascader: using primary color by default [84b90b](https://github.com/vant-ui/vant/commit/84b90b1f4c9e52c9638426e79a269d53801cc0b1)
|
233
|
-
- Cell: remove value aline style [0a7b53](https://github.com/vant-ui/vant/commit/0a7b53553364691e11af6906b5d22dee8e570cce)
|
234
|
-
- ContactEdit: adjust submit button [43ae30](https://github.com/vant-ui/vant/commit/43ae30026adf98b076ec26c3214c24387cb63082)
|
235
|
-
- ContactList: using primary color [d39f6a](https://github.com/vant-ui/vant/commit/d39f6a898afa4c5bbd5ef33035e42f656b0ec6f7)
|
236
|
-
- CouponList: change default color [85c5ad](https://github.com/vant-ui/vant/commit/85c5ad671868b7156968b681a00b147a57504c84)
|
237
|
-
- CouponList: update field background color in dark mode [82e0e4](https://github.com/vant-ui/vant/commit/82e0e454d0de31d5a1a68a17a6e566d42ba86d74)
|
238
|
-
- DropdownMenu: using primary color by default [37e7c6](https://github.com/vant-ui/vant/commit/37e7c618b82527616d9f988f3249dda347eb7923)
|
239
|
-
- Field: adjust label color [8e98e9](https://github.com/vant-ui/vant/commit/8e98e9744939003f1679b465ccd5124539a99f36)
|
240
|
-
- GridItem: adust text color [42f03f](https://github.com/vant-ui/vant/commit/42f03fe1a241ff5311e9fe6696fb614b225faa72)
|
241
|
-
- increase font-weight bold [bef919](https://github.com/vant-ui/vant/commit/bef919c7f011bffdb31bad1ca085df5be24679f4)
|
242
|
-
- IndexBar: increase font weight of active index [d6e80e](https://github.com/vant-ui/vant/commit/d6e80e8954931927808c7fabf37473db35e8730b)
|
243
|
-
- IndexBar: using primary color by default [8b95db](https://github.com/vant-ui/vant/commit/8b95db15746bbf02a9091c8e604c9bb3884148b0)
|
244
|
-
- Sidebar: using primary color by default [eeb233](https://github.com/vant-ui/vant/commit/eeb233bf990a598282c21559520415a64a237179)
|
245
|
-
- Slider: improve dark mode color [fc2847](https://github.com/vant-ui/vant/commit/fc2847fdb442f3a5c5f1e26cc14858e136a86b3c)
|
246
|
-
- Stepper: using primary color by default [41b1cd](https://github.com/vant-ui/vant/commit/41b1cd71854514404c6a601ee22586a9ae243ee3)
|
247
|
-
- Steps: update default button border color [5a1566](https://github.com/vant-ui/vant/commit/5a15660c77082d814da2b68527136994ab9112f8)
|
248
|
-
- Switch: adjust style [2acd47](https://github.com/vant-ui/vant/commit/2acd47b5ee251d1af729c44b8516a4cc0fa06d44)
|
249
|
-
- Switch: adjust width [73788f](https://github.com/vant-ui/vant/commit/73788f9e88beba576d2599a939caa4b4970b396f)
|
250
|
-
- Tabbar: adjust text color [39b51d](https://github.com/vant-ui/vant/commit/39b51d5dae7e9c0ab1e5fb03a868a06cdbf6b269)
|
251
|
-
- Tabs: using primary color by default [3b10d6](https://github.com/vant-ui/vant/commit/3b10d66bb92869d03b7af8228bfd1b1e0361a033)
|
252
|
-
- TreeSelect: using primary color [cce3ce](https://github.com/vant-ui/vant/commit/cce3ceb5b68e445d0b9ea94f91d6b46246444b36)
|
253
|
-
- update van doc background [5b3c4f](https://github.com/vant-ui/vant/commit/5b3c4f15468428c29dcd7cc43ca5a82831b6f87a)
|
21
|
+
- @vant/popperjs 1.3.0 [16c1f3](https://github.com/vant-ui/vant/commit/16c1f35135d93090ad7b129a73a0569203c3825d)
|
254
22
|
|
255
23
|
**Types**
|
256
24
|
|
257
|
-
-
|
258
|
-
-
|
259
|
-
|
260
|
-
- Picker: fix return type of getSelectedOptions [967cb5](https://github.com/vant-ui/vant/commit/967cb56c181cc145189a868f49c4666a75f85b00)
|
261
|
-
- TimePicker: export TimePickerColumnType [b608fb](https://github.com/vant-ui/vant/commit/b608fb23f031cf09a474039cd9cd23f8bc7811d3)
|
262
|
-
### [v3.6.2](https://github.com/vant-ui/vant/compare/v4.0.0-beta.1...v3.6.2)
|
25
|
+
- some theme vars can be number type [#11037](https://github.com/vant-ui/vant/issues/11037)
|
26
|
+
- Toast: fix missing global components type [#11033](https://github.com/vant-ui/vant/issues/11033)
|
27
|
+
### [v4.0.0-rc.2](https://github.com/vant-ui/vant/compare/v4.0.0-rc.1...v4.0.0-rc.2)
|
263
28
|
|
264
|
-
`2022-09-
|
29
|
+
`2022-09-11`
|
265
30
|
|
266
31
|
**Bug Fixes**
|
267
32
|
|
268
|
-
-
|
269
|
-
-
|
270
|
-
- Calendar: allow default date to be maxDate when enable allowSameDay [#10976](https://github.com/vant-ui/vant/issues/10976)
|
271
|
-
- Calendar: range type defaultDate when set allowSameDay [#10971](https://github.com/vant-ui/vant/issues/10971)
|
272
|
-
- indexBar: index-bar not positioned correctly when scrolled to the bottom [#10994](https://github.com/vant-ui/vant/issues/10994)
|
273
|
-
- reduce passive event warning of touchmove event [#10975](https://github.com/vant-ui/vant/issues/10975)
|
274
|
-
- Swipe: should not prevent touch move when reach edge [#10980](https://github.com/vant-ui/vant/issues/10980)
|
33
|
+
- attach css variables to :root element [#11026](https://github.com/vant-ui/vant/issues/11026)
|
34
|
+
- Dialog: incorrect transform behavior [#11028](https://github.com/vant-ui/vant/issues/11028)
|
275
35
|
|
276
36
|
**Document**
|
277
37
|
|
278
|
-
-
|
279
|
-
-
|
280
|
-
- changelog: 3.6.1 [6a7376](https://github.com/vant-ui/vant/commit/6a7376d15d20bdd1641422ff2cb1c317fc987e89)
|
281
|
-
- fix card overflow issue [#10988](https://github.com/vant-ui/vant/issues/10988)
|
282
|
-
- prefer using externalVue in nuxt 3 [#10978](https://github.com/vant-ui/vant/issues/10978)
|
283
|
-
- update quickstart guide [#11006](https://github.com/vant-ui/vant/issues/11006)
|
38
|
+
- changelog: vant@4.0.0-rc.1 [#11025](https://github.com/vant-ui/vant/issues/11025)
|
39
|
+
- fix legacy css variables in demo [b6f2eb](https://github.com/vant-ui/vant/commit/b6f2eb3e2a101e8dbae14d7649f98afa514af539)
|
284
40
|
|
285
41
|
**release**
|
286
42
|
|
287
|
-
-
|
288
|
-
- 3.6.2 [7afb74](https://github.com/vant-ui/vant/commit/7afb74345a39f23a3c62aa8b0e6d95de4c2b35de)
|
289
|
-
### [v3.6.1](https://github.com/vant-ui/vant/compare/v3.6.0...v3.6.1)
|
290
|
-
|
291
|
-
`2022-08-24`
|
43
|
+
- 4.0.0-rc.2 [bcae14](https://github.com/vant-ui/vant/commit/bcae14d7cbfcf623bf56a21a5d51bc5b7f1baa67)
|
292
44
|
|
293
|
-
**
|
45
|
+
**style**
|
294
46
|
|
295
|
-
-
|
47
|
+
- Empty: fix opacity in dark mode [#11027](https://github.com/vant-ui/vant/issues/11027)
|
package/es/action-bar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 50px}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}
|
package/es/action-bar/index.d.ts
CHANGED
@@ -15,7 +15,9 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
|
|
15
15
|
safeAreaInsetBottom: boolean;
|
16
16
|
}>>;
|
17
17
|
export default ActionBar;
|
18
|
+
export { actionBarProps } from './ActionBar';
|
18
19
|
export type { ActionBarProps } from './ActionBar';
|
20
|
+
export type { ActionBarThemeVars } from './types';
|
19
21
|
declare module 'vue' {
|
20
22
|
interface GlobalComponents {
|
21
23
|
VanActionBar: typeof ActionBar;
|
package/es/action-bar/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _ActionBar from "./ActionBar.mjs";
|
3
3
|
const ActionBar = withInstall(_ActionBar);
|
4
4
|
var stdin_default = ActionBar;
|
5
|
+
import { actionBarProps } from "./ActionBar.mjs";
|
5
6
|
export {
|
6
7
|
ActionBar,
|
8
|
+
actionBarProps,
|
7
9
|
stdin_default as default
|
8
10
|
};
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { ButtonType } from '../button';
|
3
|
-
declare const actionBarButtonProps: {
|
3
|
+
export declare const actionBarButtonProps: {
|
4
4
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
5
5
|
url: StringConstructor;
|
6
6
|
replace: BooleanConstructor;
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:13px}}
|
@@ -26,7 +26,9 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
|
|
26
26
|
loading: boolean;
|
27
27
|
}>>;
|
28
28
|
export default ActionBarButton;
|
29
|
+
export { actionBarButtonProps } from './ActionBarButton';
|
29
30
|
export type { ActionBarButtonProps } from './ActionBarButton';
|
31
|
+
export type { ActionBarButtonThemeVars } from './types';
|
30
32
|
declare module 'vue' {
|
31
33
|
interface GlobalComponents {
|
32
34
|
VanActionBarButton: typeof ActionBarButton;
|
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _ActionBarButton from "./ActionBarButton.mjs";
|
3
3
|
const ActionBarButton = withInstall(_ActionBarButton);
|
4
4
|
var stdin_default = ActionBarButton;
|
5
|
+
import { actionBarButtonProps } from "./ActionBarButton.mjs";
|
5
6
|
export {
|
6
7
|
ActionBarButton,
|
8
|
+
actionBarButtonProps,
|
7
9
|
stdin_default as default
|
8
10
|
};
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { type BadgeProps } from '../badge';
|
3
|
-
declare const actionBarIconProps: {
|
3
|
+
export declare const actionBarIconProps: {
|
4
4
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
5
5
|
url: StringConstructor;
|
6
6
|
replace: BooleanConstructor;
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-bar-icon-width: 48px;--van-action-bar-icon-height: 100%;--van-action-bar-icon-color: var(--van-text-color);--van-action-bar-icon-size: 18px;--van-action-bar-icon-font-size: var(--van-font-size-xs);--van-action-bar-icon-active-color: var(--van-active-color);--van-action-bar-icon-text-color: var(--van-text-color);--van-action-bar-icon-background: var(--van-background-2)}.van-action-bar-icon{display:flex;flex-direction:column;justify-content:center;min-width:var(--van-action-bar-icon-width);height:var(--van-action-bar-icon-height);color:var(--van-action-bar-icon-text-color);font-size:var(--van-action-bar-icon-font-size);line-height:1;text-align:center;background:var(--van-action-bar-icon-background);cursor:pointer}.van-action-bar-icon:active{background-color:var(--van-action-bar-icon-active-color)}.van-action-bar-icon__icon{margin:0 auto var(--van-padding-base);color:var(--van-action-bar-icon-color);font-size:var(--van-action-bar-icon-size)}
|
@@ -29,7 +29,9 @@ export declare const ActionBarIcon: import("../utils").WithInstall<import("vue")
|
|
29
29
|
dot: boolean;
|
30
30
|
}>>;
|
31
31
|
export default ActionBarIcon;
|
32
|
+
export { actionBarIconProps } from './ActionBarIcon';
|
32
33
|
export type { ActionBarIconProps } from './ActionBarIcon';
|
34
|
+
export type { ActionBarIconThemeVars } from './types';
|
33
35
|
declare module 'vue' {
|
34
36
|
interface GlobalComponents {
|
35
37
|
VanActionBarIcon: typeof ActionBarIcon;
|
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _ActionBarIcon from "./ActionBarIcon.mjs";
|
3
3
|
const ActionBarIcon = withInstall(_ActionBarIcon);
|
4
4
|
var stdin_default = ActionBarIcon;
|
5
|
+
import { actionBarIconProps } from "./ActionBarIcon.mjs";
|
5
6
|
export {
|
6
7
|
ActionBarIcon,
|
8
|
+
actionBarIconProps,
|
7
9
|
stdin_default as default
|
8
10
|
};
|
@@ -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
|
@@ -8,7 +8,7 @@ export declare type ActionSheetAction = {
|
|
8
8
|
callback?: (action: ActionSheetAction) => void;
|
9
9
|
className?: unknown;
|
10
10
|
};
|
11
|
-
declare const actionSheetProps: {
|
11
|
+
export declare const actionSheetProps: {
|
12
12
|
show: BooleanConstructor;
|
13
13
|
zIndex: (NumberConstructor | StringConstructor)[];
|
14
14
|
overlay: {
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-sheet-max-height: 80%;--van-action-sheet-header-height: 48px;--van-action-sheet-header-font-size: var(--van-font-size-lg);--van-action-sheet-description-color: var(--van-text-color-2);--van-action-sheet-description-font-size: var(--van-font-size-md);--van-action-sheet-description-line-height: var(--van-line-height-md);--van-action-sheet-item-background: var(--van-background-2);--van-action-sheet-item-font-size: var(--van-font-size-lg);--van-action-sheet-item-line-height: var(--van-line-height-lg);--van-action-sheet-item-text-color: var(--van-text-color);--van-action-sheet-item-disabled-text-color: var(--van-text-color-3);--van-action-sheet-subname-color: var(--van-text-color-2);--van-action-sheet-subname-font-size: var(--van-font-size-sm);--van-action-sheet-subname-line-height: var(--van-line-height-sm);--van-action-sheet-close-icon-size: 22px;--van-action-sheet-close-icon-color: var(--van-gray-5);--van-action-sheet-close-icon-padding: 0 var(--van-padding-md);--van-action-sheet-cancel-text-color: var(--van-gray-7);--van-action-sheet-cancel-padding-top: var(--van-padding-xs);--van-action-sheet-cancel-padding-color: var(--van-background);--van-action-sheet-loading-icon-size: 22px}.van-action-sheet{display:flex;flex-direction:column;max-height:var(--van-action-sheet-max-height);overflow:hidden;color:var(--van-action-sheet-item-text-color)}.van-action-sheet__content{flex:1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch}.van-action-sheet__item,.van-action-sheet__cancel{display:block;width:100%;padding:14px var(--van-padding-md);font-size:var(--van-action-sheet-item-font-size);background:var(--van-action-sheet-item-background);border:none;cursor:pointer}.van-action-sheet__item:active,.van-action-sheet__cancel:active{background-color:var(--van-active-color)}.van-action-sheet__item{line-height:var(--van-action-sheet-item-line-height)}.van-action-sheet__item--loading,.van-action-sheet__item--disabled{color:var(--van-action-sheet-item-disabled-text-color)}.van-action-sheet__item--loading:active,.van-action-sheet__item--disabled:active{background-color:var(--van-action-sheet-item-background)}.van-action-sheet__item--disabled{cursor:not-allowed}.van-action-sheet__item--loading{cursor:default}.van-action-sheet__cancel{flex-shrink:0;box-sizing:border-box;color:var(--van-action-sheet-cancel-text-color)}.van-action-sheet__subname{margin-top:var(--van-padding-xs);color:var(--van-action-sheet-subname-color);font-size:var(--van-action-sheet-subname-font-size);line-height:var(--van-action-sheet-subname-line-height)}.van-action-sheet__gap{display:block;height:var(--van-action-sheet-cancel-padding-top);background:var(--van-action-sheet-cancel-padding-color)}.van-action-sheet__header{flex-shrink:0;font-weight:var(--van-font-bold);font-size:var(--van-action-sheet-header-font-size);line-height:var(--van-action-sheet-header-height);text-align:center}.van-action-sheet__description{position:relative;flex-shrink:0;padding:20px var(--van-padding-md);color:var(--van-action-sheet-description-color);font-size:var(--van-action-sheet-description-font-size);line-height:var(--van-action-sheet-description-line-height);text-align:center}.van-action-sheet__description:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;right:var(--van-padding-md);bottom:0;left:var(--van-padding-md);border-bottom:1px solid var(--van-border-color);transform:scaleY(.5)}.van-action-sheet__loading-icon .van-loading__spinner{width:var(--van-action-sheet-loading-icon-size);height:var(--van-action-sheet-loading-icon-size)}.van-action-sheet__close{position:absolute;top:0;right:0;padding:var(--van-action-sheet-close-icon-padding);color:var(--van-action-sheet-close-icon-color);font-size:var(--van-action-sheet-close-icon-size);line-height:inherit}
|
@@ -126,7 +126,9 @@ export declare const ActionSheet: import("../utils").WithInstall<import("vue").D
|
|
126
126
|
closeOnClickAction: boolean;
|
127
127
|
}>>;
|
128
128
|
export default ActionSheet;
|
129
|
+
export { actionSheetProps } from './ActionSheet';
|
129
130
|
export type { ActionSheetProps, ActionSheetAction } from './ActionSheet';
|
131
|
+
export type { ActionSheetThemeVars } from './types';
|
130
132
|
declare module 'vue' {
|
131
133
|
interface GlobalComponents {
|
132
134
|
VanActionSheet: typeof ActionSheet;
|
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _ActionSheet from "./ActionSheet.mjs";
|
3
3
|
const ActionSheet = withInstall(_ActionSheet);
|
4
4
|
var stdin_default = ActionSheet;
|
5
|
+
import { actionSheetProps } from "./ActionSheet.mjs";
|
5
6
|
export {
|
6
7
|
ActionSheet,
|
8
|
+
actionSheetProps,
|
7
9
|
stdin_default as default
|
8
10
|
};
|
@@ -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
|
@@ -2,7 +2,7 @@ import { type PropType, type ExtractPropTypes } from 'vue';
|
|
2
2
|
import { isMobile } from '../utils';
|
3
3
|
import { AreaList } from '../area';
|
4
4
|
import type { AddressEditInfo, AddressEditSearchItem } from './types';
|
5
|
-
declare const addressEditProps: {
|
5
|
+
export declare const addressEditProps: {
|
6
6
|
areaList: PropType<AreaList>;
|
7
7
|
isSaving: BooleanConstructor;
|
8
8
|
isDeleting: BooleanConstructor;
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-address-edit-padding: var(--van-padding-sm);--van-address-edit-buttons-padding: var(--van-padding-xl) var(--van-padding-base);--van-address-edit-button-margin-bottom: var(--van-padding-sm);--van-address-edit-button-font-size: var(--van-font-size-lg)}.van-address-edit{padding:var(--van-address-edit-padding)}.van-address-edit__fields{overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__fields .van-field__label{width:4.1em}.van-address-edit__default{margin-top:var(--van-padding-sm);overflow:hidden;border-radius:var(--van-padding-xs)}.van-address-edit__buttons{padding:var(--van-address-edit-buttons-padding)}.van-address-edit__button{margin-bottom:var(--van-address-edit-button-margin-bottom);font-size:var(--van-address-edit-button-font-size)}.van-address-edit-detail__search-item{background:var(--van-gray-2)}
|
@@ -108,8 +108,9 @@ export declare const AddressEdit: import("../utils").WithInstall<import("vue").D
|
|
108
108
|
telValidator: (val: string) => boolean;
|
109
109
|
}>>;
|
110
110
|
export default AddressEdit;
|
111
|
+
export { addressEditProps } from './AddressEdit';
|
111
112
|
export type { AddressEditProps };
|
112
|
-
export type { AddressEditInfo, AddressEditInstance, AddressEditSearchItem, } from './types';
|
113
|
+
export type { AddressEditInfo, AddressEditInstance, AddressEditThemeVars, AddressEditSearchItem, } from './types';
|
113
114
|
declare module 'vue' {
|
114
115
|
interface GlobalComponents {
|
115
116
|
VanAddressEdit: typeof AddressEdit;
|