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
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _ContactList from "./ContactList.mjs";
|
3
3
|
const ContactList = withInstall(_ContactList);
|
4
4
|
var stdin_default = ContactList;
|
5
|
+
import { contactListProps } from "./ContactList.mjs";
|
5
6
|
export {
|
6
7
|
ContactList,
|
8
|
+
contactListProps,
|
7
9
|
stdin_default as default
|
8
10
|
};
|
File without changes
|
package/es/count-down/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-count-down-text-color: var(--van-text-color);--van-count-down-font-size: var(--van-font-size-md);--van-count-down-line-height: var(--van-line-height-md)}.van-count-down{color:var(--van-count-down-text-color);font-size:var(--van-count-down-font-size);line-height:var(--van-count-down-line-height)}
|
package/es/count-down/index.d.ts
CHANGED
@@ -36,8 +36,9 @@ export declare const CountDown: import("../utils").WithInstall<import("vue").Def
|
|
36
36
|
millisecond: boolean;
|
37
37
|
}>>;
|
38
38
|
export default CountDown;
|
39
|
+
export { countDownProps } from './CountDown';
|
39
40
|
export type { CountDownProps } from './CountDown';
|
40
|
-
export type { CountDownInstance, CountDownCurrentTime } from './types';
|
41
|
+
export type { CountDownInstance, CountDownThemeVars, CountDownCurrentTime, } from './types';
|
41
42
|
declare module 'vue' {
|
42
43
|
interface GlobalComponents {
|
43
44
|
VanCountDown: typeof CountDown;
|
package/es/count-down/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _CountDown from "./CountDown.mjs";
|
3
3
|
const CountDown = withInstall(_CountDown);
|
4
4
|
var stdin_default = CountDown;
|
5
|
+
import { countDownProps } from "./CountDown.mjs";
|
5
6
|
export {
|
6
7
|
CountDown,
|
8
|
+
countDownProps,
|
7
9
|
stdin_default as default
|
8
10
|
};
|
package/es/count-down/types.d.ts
CHANGED
@@ -8,4 +8,9 @@ declare type CountDownExpose = {
|
|
8
8
|
};
|
9
9
|
export declare type CountDownInstance = ComponentPublicInstance<CountDownProps, CountDownExpose>;
|
10
10
|
export declare type CountDownCurrentTime = CurrentTime;
|
11
|
+
export declare type CountDownThemeVars = {
|
12
|
+
countDownTextColor?: string;
|
13
|
+
countDownFontSize?: string;
|
14
|
+
countDownLineHeight?: number | string;
|
15
|
+
};
|
11
16
|
export {};
|
package/es/coupon/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-coupon-margin: 0 var(--van-padding-sm) var(--van-padding-sm);--van-coupon-content-height: 84px;--van-coupon-content-padding: 14px 0;--van-coupon-content-text-color: var(--van-text-color);--van-coupon-background: var(--van-background-2);--van-coupon-active-background: var(--van-active-color);--van-coupon-radius: var(--van-radius-lg);--van-coupon-shadow: 0 0 4px rgba(0, 0, 0, .1);--van-coupon-head-width: 96px;--van-coupon-amount-color: var(--van-primary-color);--van-coupon-amount-font-size: 30px;--van-coupon-currency-font-size: 40%;--van-coupon-name-font-size: var(--van-font-size-md);--van-coupon-disabled-text-color: var(--van-text-color-2);--van-coupon-description-padding: var(--van-padding-xs) var(--van-padding-md);--van-coupon-description-border-color: var(--van-border-color);--van-coupon-checkbox-color: var(--van-primary-color)}.van-coupon{margin:var(--van-coupon-margin);overflow:hidden;background:var(--van-coupon-background);border-radius:var(--van-coupon-radius);box-shadow:var(--van-coupon-shadow)}.van-coupon:active{background-color:var(--van-coupon-active-background)}.van-coupon__content{display:flex;align-items:center;box-sizing:border-box;min-height:var(--van-coupon-content-height);padding:var(--van-coupon-content-padding);color:var(--van-coupon-content-text-color)}.van-coupon__head{position:relative;min-width:var(--van-coupon-head-width);padding:0 var(--van-padding-xs);color:var(--van-coupon-amount-color);text-align:center}.van-coupon__amount,.van-coupon__condition,.van-coupon__name,.van-coupon__valid{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount{margin-bottom:6px;font-weight:var(--van-font-bold);font-size:var(--van-coupon-amount-font-size);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-coupon__amount span{font-size:var(--van-coupon-currency-font-size)}.van-coupon__amount span:not(:empty){margin-left:2px}.van-coupon__condition{font-size:var(--van-font-size-sm);line-height:16px;white-space:pre-wrap}.van-coupon__:root{position:relative;flex:1;border-radius:0 var(--van-coupon-radius) var(--van-coupon-radius) 0}.van-coupon__name{margin-bottom:10px;font-weight:var(--van-font-bold);font-size:var(--van-coupon-name-font-size);line-height:var(--van-line-height-md)}.van-coupon__valid{font-size:var(--van-font-size-sm)}.van-coupon__corner{position:absolute;top:0;right:var(--van-padding-md);bottom:0}.van-coupon__corner .van-checkbox__icon--checked .van-icon{background-color:var(--van-coupon-checkbox-color);border-color:var(--van-coupon-checkbox-color)}.van-coupon__description{padding:var(--van-coupon-description-padding);font-size:var(--van-font-size-sm);border-top:1px dashed var(--van-coupon-description-border-color)}.van-coupon--disabled:active{background-color:var(--van-coupon-background)}.van-coupon--disabled .van-coupon-item__content{height:calc(var(--van-coupon-content-height) - 10px)}.van-coupon--disabled .van-coupon__head{color:inherit}
|
package/es/coupon/index.d.ts
CHANGED
@@ -27,6 +27,7 @@ export declare const Coupon: import("../utils").WithInstall<import("vue").Define
|
|
27
27
|
}>>;
|
28
28
|
export default Coupon;
|
29
29
|
export type { CouponInfo } from './Coupon';
|
30
|
+
export type { CouponThemeVars } from './types';
|
30
31
|
declare module 'vue' {
|
31
32
|
interface GlobalComponents {
|
32
33
|
VanCoupon: typeof Coupon;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare type CouponThemeVars = {
|
2
|
+
couponMargin?: string;
|
3
|
+
couponContentHeight?: string;
|
4
|
+
couponContentPadding?: string;
|
5
|
+
couponContentTextColor?: string;
|
6
|
+
couponBackground?: string;
|
7
|
+
couponActiveBackground?: string;
|
8
|
+
couponRadius?: string;
|
9
|
+
couponShadow?: string;
|
10
|
+
couponHeadWidth?: string;
|
11
|
+
couponAmountColor?: string;
|
12
|
+
couponAmountFontSize?: string;
|
13
|
+
couponCurrencyFontSize?: string;
|
14
|
+
couponNameFontSize?: string;
|
15
|
+
couponDisabledTextColor?: string;
|
16
|
+
couponDescriptionPadding?: string;
|
17
|
+
couponDescriptionBorderColor?: string;
|
18
|
+
couponCheckboxColor?: string;
|
19
|
+
};
|
File without changes
|
package/es/coupon-cell/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-coupon-cell-selected-text-color: var(--van-text-color)}.van-coupon-cell__value--selected{color:var(--van-coupon-cell-selected-text-color)}
|
@@ -50,7 +50,9 @@ export declare const CouponCell: import("../utils").WithInstall<import("vue").De
|
|
50
50
|
chosenCoupon: string | number;
|
51
51
|
}>>;
|
52
52
|
export default CouponCell;
|
53
|
+
export { couponCellProps } from './CouponCell';
|
53
54
|
export type { CouponCellProps } from './CouponCell';
|
55
|
+
export type { CouponCellThemeVars } from './types';
|
54
56
|
declare module 'vue' {
|
55
57
|
interface GlobalComponents {
|
56
58
|
VanCouponCell: typeof CouponCell;
|
package/es/coupon-cell/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _CouponCell from "./CouponCell.mjs";
|
3
3
|
const CouponCell = withInstall(_CouponCell);
|
4
4
|
var stdin_default = CouponCell;
|
5
|
+
import { couponCellProps } from "./CouponCell.mjs";
|
5
6
|
export {
|
6
7
|
CouponCell,
|
8
|
+
couponCellProps,
|
7
9
|
stdin_default as default
|
8
10
|
};
|
File without changes
|
package/es/coupon-list/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-coupon-list-background: var(--van-background);--van-coupon-list-field-padding: 5px 0 5px var(--van-padding-md);--van-coupon-list-exchange-button-height: 32px;--van-coupon-list-close-button-height: 40px;--van-coupon-list-empty-tip-color: var(--van-text-color-2);--van-coupon-list-empty-tip-font-size: var(--van-font-size-md);--van-coupon-list-empty-tip-line-height: var(--van-line-height-md)}.van-coupon-list{position:relative;height:100%;background:var(--van-coupon-list-background)}.van-coupon-list__field{padding:var(--van-coupon-list-field-padding)}.van-coupon-list__field .van-field__:root{height:34px;padding-left:var(--van-padding-sm);line-height:34px;background:var(--van-background);border-radius:var(--van-radius-max)}.van-coupon-list__field .van-field__:root::-webkit-input-placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__:root::placeholder{color:var(--van-text-color-3)}.van-coupon-list__field .van-field__clear{margin-right:0}.van-coupon-list__exchange-bar{display:flex;align-items:center;background-color:var(--van-background-2)}.van-coupon-list__exchange{flex:none;height:var(--van-coupon-list-exchange-button-height);font-size:var(--van-font-size-lg);line-height:calc(var(--van-coupon-list-exchange-button-height) - 2px);border:0}.van-coupon-list .van-tabs__wrap{box-shadow:0 6px 12px -12px var(--van-gray-6)}.van-coupon-list__list{box-sizing:border-box;padding:var(--van-padding-md) 0 var(--van-padding-lg);overflow-y:auto;-webkit-overflow-scrolling:touch}.van-coupon-list__list--with-bottom{padding-bottom:50px}.van-coupon-list__bottom{position:absolute;bottom:0;left:0;z-index:999;box-sizing:border-box;width:100%;padding:5px var(--van-padding-md);font-weight:var(--van-font-bold);background-color:var(--van-background-2)}.van-coupon-list__close{height:var(--van-coupon-list-close-button-height)}.van-coupon-list__empty-tip{color:var(--van-coupon-list-empty-tip-color);font-size:var(--van-coupon-list-empty-tip-font-size);line-height:var(--van-coupon-list-empty-tip-line-height)}
|
@@ -115,7 +115,9 @@ export declare const CouponList: import("../utils").WithInstall<import("vue").De
|
|
115
115
|
exchangeButtonDisabled: boolean;
|
116
116
|
}>>;
|
117
117
|
export default CouponList;
|
118
|
+
export { couponListProps } from './CouponList';
|
118
119
|
export type { CouponListProps } from './CouponList';
|
120
|
+
export type { CouponListThemeVars } from './types';
|
119
121
|
declare module 'vue' {
|
120
122
|
interface GlobalComponents {
|
121
123
|
VanCouponList: typeof CouponList;
|
package/es/coupon-list/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _CouponList from "./CouponList.mjs";
|
3
3
|
const CouponList = withInstall(_CouponList);
|
4
4
|
var stdin_default = CouponList;
|
5
|
+
import { couponListProps } from "./CouponList.mjs";
|
5
6
|
export {
|
6
7
|
CouponList,
|
8
|
+
couponListProps,
|
7
9
|
stdin_default as default
|
8
10
|
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare type CouponListThemeVars = {
|
2
|
+
couponListBackground?: string;
|
3
|
+
couponListFieldPadding?: string;
|
4
|
+
couponListExchangeButtonHeight?: string;
|
5
|
+
couponListCloseButtonHeight?: string;
|
6
|
+
couponListEmptyTipColor?: string;
|
7
|
+
couponListEmptyTipFontSize?: string;
|
8
|
+
couponListEmptyTipLineHeight?: number | string;
|
9
|
+
};
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
export declare type DatePickerColumnType = 'year' | 'month' | 'day';
|
3
|
-
declare const datePickerProps: {
|
3
|
+
export declare const datePickerProps: {
|
4
4
|
loading: BooleanConstructor;
|
5
5
|
readonly: BooleanConstructor;
|
6
6
|
allowHtml: BooleanConstructor;
|
@@ -117,6 +117,7 @@ export declare const DatePicker: import("../utils").WithInstall<import("vue").De
|
|
117
117
|
columnsType: import("./DatePicker").DatePickerColumnType[];
|
118
118
|
}>>;
|
119
119
|
export default DatePicker;
|
120
|
+
export { datePickerProps } from './DatePicker';
|
120
121
|
export type { DatePickerProps };
|
121
122
|
export type { DatePickerColumnType } from './DatePicker';
|
122
123
|
declare module 'vue' {
|
package/es/date-picker/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _DatePicker from "./DatePicker.mjs";
|
3
3
|
const DatePicker = withInstall(_DatePicker);
|
4
4
|
var stdin_default = DatePicker;
|
5
|
+
import { datePickerProps } from "./DatePicker.mjs";
|
5
6
|
export {
|
6
7
|
DatePicker,
|
8
|
+
datePickerProps,
|
7
9
|
stdin_default as default
|
8
10
|
};
|
package/es/dialog/Dialog.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import type { DialogTheme, DialogAction, DialogMessage, DialogMessageAlign } from './types';
|
3
|
-
declare const dialogProps: {
|
3
|
+
export declare const dialogProps: {
|
4
4
|
show: BooleanConstructor;
|
5
5
|
zIndex: (NumberConstructor | StringConstructor)[];
|
6
6
|
overlay: {
|
package/es/dialog/Dialog.mjs
CHANGED
package/es/dialog/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-dialog-width: 320px;--van-dialog-small-screen-width: 90%;--van-dialog-font-size: var(--van-font-size-lg);--van-dialog-transition: var(--van-duration-base);--van-dialog-radius: 16px;--van-dialog-background: var(--van-background-2);--van-dialog-header-font-weight: var(--van-font-bold);--van-dialog-header-line-height: 24px;--van-dialog-header-padding-top: 26px;--van-dialog-header-isolated-padding: var(--van-padding-lg) 0;--van-dialog-message-padding: var(--van-padding-lg);--van-dialog-message-font-size: var(--van-font-size-md);--van-dialog-message-line-height: var(--van-line-height-md);--van-dialog-message-max-height: 60vh;--van-dialog-has-title-message-text-color: var(--van-gray-7);--van-dialog-has-title-message-padding-top: var(--van-padding-xs);--van-dialog-button-height: 48px;--van-dialog-round-button-height: 36px;--van-dialog-confirm-button-text-color: var(--van-primary-color)}.van-dialog{top:45%;width:var(--van-dialog-width);overflow:hidden;font-size:var(--van-dialog-font-size);background:var(--van-dialog-background);border-radius:var(--van-dialog-radius);-webkit-backface-visibility:hidden;backface-visibility:hidden;transition:var(--van-dialog-transition);transition-property:transform,opacity}@media (max-width: 321px){.van-dialog{width:var(--van-dialog-small-screen-width)}}.van-dialog__header{color:var(--van-text-color);padding-top:var(--van-dialog-header-padding-top);font-weight:var(--van-dialog-header-font-weight);line-height:var(--van-dialog-header-line-height);text-align:center}.van-dialog__header--isolated{padding:var(--van-dialog-header-isolated-padding)}.van-dialog__content--isolated{display:flex;align-items:center;min-height:104px}.van-dialog__message{color:var(--van-text-color);flex:1;max-height:var(--van-dialog-message-max-height);padding:26px var(--van-dialog-message-padding);overflow-y:auto;font-size:var(--van-dialog-message-font-size);line-height:var(--van-dialog-message-line-height);white-space:pre-wrap;text-align:center;word-wrap:break-word;-webkit-overflow-scrolling:touch}.van-dialog__message--has-title{padding-top:var(--van-dialog-has-title-message-padding-top);color:var(--van-dialog-has-title-message-text-color)}.van-dialog__message--left{text-align:left}.van-dialog__message--right{text-align:right}.van-dialog__message--justify{text-align:justify}.van-dialog__footer{display:flex;overflow:hidden;-webkit-user-select:none;user-select:none}.van-dialog__confirm,.van-dialog__cancel{flex:1;height:var(--van-dialog-button-height);margin:0;border:0}.van-dialog__confirm,.van-dialog__confirm:active{color:var(--van-dialog-confirm-button-text-color)}.van-dialog--round-button .van-dialog__footer{position:relative;height:auto;padding:var(--van-padding-xs) var(--van-padding-lg) var(--van-padding-md)}.van-dialog--round-button .van-dialog__message{padding-bottom:var(--van-padding-md);color:var(--van-text-color)}.van-dialog--round-button .van-dialog__confirm,.van-dialog--round-button .van-dialog__cancel{height:var(--van-dialog-round-button-height)}.van-dialog--round-button .van-dialog__confirm{color:var(--van-white)}.van-dialog-bounce-enter-from{transform:translate3d(0,-50%,0) scale(.7);opacity:0}.van-dialog-bounce-leave-active{transform:translate3d(0,-50%,0) scale(.9);opacity:0}
|
package/es/dialog/index.d.ts
CHANGED
@@ -127,9 +127,10 @@ export declare const Dialog: import("../utils").WithInstall<import("vue").Define
|
|
127
127
|
showConfirmButton: boolean;
|
128
128
|
}>>;
|
129
129
|
export default Dialog;
|
130
|
+
export { dialogProps } from './Dialog';
|
130
131
|
export { showDialog, closeDialog, showConfirmDialog, setDialogDefaultOptions, resetDialogDefaultOptions, } from './function-call';
|
131
132
|
export type { DialogProps } from './Dialog';
|
132
|
-
export type { DialogTheme, DialogMessage, DialogOptions, DialogMessageAlign, } from './types';
|
133
|
+
export type { DialogTheme, DialogMessage, DialogOptions, DialogThemeVars, DialogMessageAlign, } from './types';
|
133
134
|
declare module 'vue' {
|
134
135
|
interface GlobalComponents {
|
135
136
|
VanDialog: typeof Dialog;
|
package/es/dialog/index.mjs
CHANGED
@@ -2,6 +2,7 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Dialog from "./Dialog.mjs";
|
3
3
|
const Dialog = withInstall(_Dialog);
|
4
4
|
var stdin_default = Dialog;
|
5
|
+
import { dialogProps } from "./Dialog.mjs";
|
5
6
|
import {
|
6
7
|
showDialog,
|
7
8
|
closeDialog,
|
@@ -13,6 +14,7 @@ export {
|
|
13
14
|
Dialog,
|
14
15
|
closeDialog,
|
15
16
|
stdin_default as default,
|
17
|
+
dialogProps,
|
16
18
|
resetDialogDefaultOptions,
|
17
19
|
setDialogDefaultOptions,
|
18
20
|
showConfirmDialog,
|
package/es/dialog/types.d.ts
CHANGED
@@ -3,7 +3,7 @@ import type { Interceptor, Numeric } from '../utils';
|
|
3
3
|
export declare type DialogTheme = 'default' | 'round-button';
|
4
4
|
export declare type DialogAction = 'confirm' | 'cancel';
|
5
5
|
export declare type DialogMessage = string | (() => JSX.Element);
|
6
|
-
export declare type DialogMessageAlign = 'left' | 'center' | 'right';
|
6
|
+
export declare type DialogMessageAlign = 'left' | 'center' | 'right' | 'justify';
|
7
7
|
export declare type DialogOptions = {
|
8
8
|
title?: string;
|
9
9
|
width?: Numeric;
|
@@ -30,3 +30,24 @@ export declare type DialogOptions = {
|
|
30
30
|
confirmButtonDisabled?: boolean;
|
31
31
|
closeOnClickOverlay?: boolean;
|
32
32
|
};
|
33
|
+
export declare type DialogThemeVars = {
|
34
|
+
dialogWidth?: string;
|
35
|
+
dialogSmallScreenWidth?: string;
|
36
|
+
dialogFontSize?: string;
|
37
|
+
dialogTransition?: string;
|
38
|
+
dialogRadius?: string;
|
39
|
+
dialogBackground?: string;
|
40
|
+
dialogHeaderFontWeight?: string;
|
41
|
+
dialogHeaderLineHeight?: number | string;
|
42
|
+
dialogHeaderPaddingTop?: string;
|
43
|
+
dialogHeaderIsolatedPadding?: string;
|
44
|
+
dialogMessagePadding?: string;
|
45
|
+
dialogMessageFontSize?: string;
|
46
|
+
dialogMessageLineHeight?: number | string;
|
47
|
+
dialogMessageMaxHeight?: string;
|
48
|
+
dialogHasTitleMessageTextColor?: string;
|
49
|
+
dialogHasTitleMessagePaddingTop?: string;
|
50
|
+
dialogButtonHeight?: string;
|
51
|
+
dialogRoundButtonHeight?: string;
|
52
|
+
dialogConfirmButtonTextColor?: string;
|
53
|
+
};
|
package/es/divider/Divider.d.ts
CHANGED
package/es/divider/Divider.mjs
CHANGED
package/es/divider/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-divider-margin: var(--van-padding-md) 0;--van-divider-text-color: var(--van-text-color-2);--van-divider-font-size: var(--van-font-size-md);--van-divider-line-height: 24px;--van-divider-border-color: var(--van-border-color);--van-divider-content-padding: var(--van-padding-md);--van-divider-content-left-width: 10%;--van-divider-content-right-width: 10%}.van-divider{display:flex;align-items:center;margin:var(--van-divider-margin);color:var(--van-divider-text-color);font-size:var(--van-divider-font-size);line-height:var(--van-divider-line-height);border-color:var(--van-divider-border-color);border-style:solid;border-width:0}.van-divider:before,.van-divider:after{display:block;flex:1;box-sizing:border-box;height:1px;border-color:inherit;border-style:inherit;border-width:var(--van-border-width) 0 0}.van-divider:before{content:""}.van-divider--hairline:before,.van-divider--hairline:after{transform:scaleY(.5)}.van-divider--dashed{border-style:dashed}.van-divider--content-center:before,.van-divider--content-left:before,.van-divider--content-right:before{margin-right:var(--van-divider-content-padding)}.van-divider--content-center:after,.van-divider--content-left:after,.van-divider--content-right:after{margin-left:var(--van-divider-content-padding);content:""}.van-divider--content-left:before{max-width:var(--van-divider-content-left-width)}.van-divider--content-right:after{max-width:var(--van-divider-content-right-width)}
|
package/es/divider/index.d.ts
CHANGED
@@ -24,7 +24,9 @@ export declare const Divider: import("../utils").WithInstall<import("vue").Defin
|
|
24
24
|
contentPosition: import("./Divider").DividerContentPosition;
|
25
25
|
}>>;
|
26
26
|
export default Divider;
|
27
|
+
export { dividerProps } from './Divider';
|
27
28
|
export type { DividerProps, DividerContentPosition } from './Divider';
|
29
|
+
export type { DividerThemeVars } from './types';
|
28
30
|
declare module 'vue' {
|
29
31
|
interface GlobalComponents {
|
30
32
|
VanDivider: typeof Divider;
|
package/es/divider/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Divider from "./Divider.mjs";
|
3
3
|
const Divider = withInstall(_Divider);
|
4
4
|
var stdin_default = Divider;
|
5
|
+
import { dividerProps } from "./Divider.mjs";
|
5
6
|
export {
|
6
7
|
Divider,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
dividerProps
|
8
10
|
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare type DividerThemeVars = {
|
2
|
+
dividerMargin?: string;
|
3
|
+
dividerTextColor?: string;
|
4
|
+
dividerFontSize?: string;
|
5
|
+
dividerLineHeight?: number | string;
|
6
|
+
dividerBorderColor?: string;
|
7
|
+
dividerContentPadding?: string;
|
8
|
+
dividerContentLeftWidth?: string;
|
9
|
+
dividerContentRightWidth?: string;
|
10
|
+
};
|
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import type { DropdownItemOption } from './types';
|
3
|
-
declare const dropdownItemProps: {
|
3
|
+
export declare const dropdownItemProps: {
|
4
4
|
title: StringConstructor;
|
5
5
|
options: {
|
6
6
|
type: PropType<DropdownItemOption[]>;
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-dropdown-item-z-index: 10}.van-dropdown-item{position:fixed;right:0;left:0;z-index:var(--van-dropdown-item-z-index);overflow:hidden}.van-dropdown-item__icon{display:block;line-height:inherit}.van-dropdown-item__option{text-align:left}.van-dropdown-item__option--active,.van-dropdown-item__option--active .van-dropdown-item__icon{color:var(--van-dropdown-menu-option-active-color)}.van-dropdown-item--up{top:0}.van-dropdown-item--down{bottom:0}.van-dropdown-item__content{position:absolute;max-height:var(--van-dropdown-menu-content-max-height)}
|
@@ -40,8 +40,9 @@ export declare const DropdownItem: import("../utils").WithInstall<import("vue").
|
|
40
40
|
options: import("./types").DropdownItemOption[];
|
41
41
|
}>>;
|
42
42
|
export default DropdownItem;
|
43
|
+
export { dropdownItemProps } from './DropdownItem';
|
43
44
|
export type { DropdownItemProps };
|
44
|
-
export type { DropdownItemInstance,
|
45
|
+
export type { DropdownItemOption, DropdownItemInstance, DropdownItemThemeVars, } from './types';
|
45
46
|
declare module 'vue' {
|
46
47
|
interface GlobalComponents {
|
47
48
|
VanDropdownItem: typeof DropdownItem;
|
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _DropdownItem from "./DropdownItem.mjs";
|
3
3
|
const DropdownItem = withInstall(_DropdownItem);
|
4
4
|
var stdin_default = DropdownItem;
|
5
|
+
import { dropdownItemProps } from "./DropdownItem.mjs";
|
5
6
|
export {
|
6
7
|
DropdownItem,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
dropdownItemProps
|
8
10
|
};
|
@@ -20,3 +20,6 @@ export declare type DropdownItemExpose = {
|
|
20
20
|
renderTitle: () => string | VNode[];
|
21
21
|
};
|
22
22
|
export declare type DropdownItemInstance = ComponentPublicInstance<DropdownItemProps, DropdownItemExpose>;
|
23
|
+
export declare type DropdownItemThemeVars = {
|
24
|
+
dropdownItemZIndex?: number | string;
|
25
|
+
};
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type InjectionKey, type ExtractPropTypes } from 'vue';
|
2
2
|
import type { DropdownMenuProvide, DropdownMenuDirection } from './types';
|
3
|
-
declare const dropdownMenuProps: {
|
3
|
+
export declare const dropdownMenuProps: {
|
4
4
|
overlay: {
|
5
5
|
type: BooleanConstructor;
|
6
6
|
default: true;
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-dropdown-menu-height: 48px;--van-dropdown-menu-background: var(--van-background-2);--van-dropdown-menu-shadow: 0 2px 12px rgba(100, 101, 102, .12);--van-dropdown-menu-title-font-size: 15px;--van-dropdown-menu-title-text-color: var(--van-text-color);--van-dropdown-menu-title-active-text-color: var(--van-primary-color);--van-dropdown-menu-title-disabled-text-color: var(--van-text-color-2);--van-dropdown-menu-title-padding: 0 var(--van-padding-xs);--van-dropdown-menu-title-line-height: var(--van-line-height-lg);--van-dropdown-menu-option-active-color: var(--van-primary-color);--van-dropdown-menu-content-max-height: 80%}.van-dropdown-menu{-webkit-user-select:none;user-select:none}.van-dropdown-menu__bar{position:relative;display:flex;height:var(--van-dropdown-menu-height);background:var(--van-dropdown-menu-background);box-shadow:var(--van-dropdown-menu-shadow)}.van-dropdown-menu__bar--opened{z-index:calc(var(--van-dropdown-item-z-index) + 1)}.van-dropdown-menu__item{display:flex;flex:1;align-items:center;justify-content:center;min-width:0}.van-dropdown-menu__item--disabled .van-dropdown-menu__title{color:var(--van-dropdown-menu-title-disabled-text-color)}.van-dropdown-menu__title{position:relative;box-sizing:border-box;max-width:100%;padding:var(--van-dropdown-menu-title-padding);color:var(--van-dropdown-menu-title-text-color);font-size:var(--van-dropdown-menu-title-font-size);line-height:var(--van-dropdown-menu-title-line-height)}.van-dropdown-menu__title:after{position:absolute;top:50%;right:-4px;margin-top:-5px;border:3px solid;border-color:transparent transparent var(--van-gray-4) var(--van-gray-4);transform:rotate(-45deg);opacity:.8;content:""}.van-dropdown-menu__title--active{color:var(--van-dropdown-menu-title-active-text-color)}.van-dropdown-menu__title--active:after{border-color:transparent transparent currentColor currentColor}.van-dropdown-menu__title--down:after{margin-top:-1px;transform:rotate(135deg)}
|
@@ -53,8 +53,9 @@ export declare const DropdownMenu: import("../utils").WithInstall<import("vue").
|
|
53
53
|
closeOnClickOutside: boolean;
|
54
54
|
}>>;
|
55
55
|
export default DropdownMenu;
|
56
|
+
export { dropdownMenuProps } from './DropdownMenu';
|
56
57
|
export type { DropdownMenuProps };
|
57
|
-
export type { DropdownMenuDirection } from './types';
|
58
|
+
export type { DropdownMenuDirection, DropdownMenuThemeVars } from './types';
|
58
59
|
declare module 'vue' {
|
59
60
|
interface GlobalComponents {
|
60
61
|
VanDropdownMenu: typeof DropdownMenu;
|
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _DropdownMenu from "./DropdownMenu.mjs";
|
3
3
|
const DropdownMenu = withInstall(_DropdownMenu);
|
4
4
|
var stdin_default = DropdownMenu;
|
5
|
+
import { dropdownMenuProps } from "./DropdownMenu.mjs";
|
5
6
|
export {
|
6
7
|
DropdownMenu,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
dropdownMenuProps
|
8
10
|
};
|
@@ -6,3 +6,16 @@ export declare type DropdownMenuProvide = {
|
|
6
6
|
props: DropdownMenuProps;
|
7
7
|
offset: Ref<number>;
|
8
8
|
};
|
9
|
+
export declare type DropdownMenuThemeVars = {
|
10
|
+
dropdownMenuHeight?: string;
|
11
|
+
dropdownMenuBackground?: string;
|
12
|
+
dropdownMenuShadow?: string;
|
13
|
+
dropdownMenuTitleFontSize?: string;
|
14
|
+
dropdownMenuTitleTextColor?: string;
|
15
|
+
dropdownMenuTitleActiveTextColor?: string;
|
16
|
+
dropdownMenuTitleDisabledTextColor?: string;
|
17
|
+
dropdownMenuTitlePadding?: string;
|
18
|
+
dropdownMenuTitleLineHeight?: number | string;
|
19
|
+
dropdownMenuOptionActiveColor?: string;
|
20
|
+
dropdownMenuContentMaxHeight?: string;
|
21
|
+
};
|
package/es/empty/Empty.d.ts
CHANGED
package/es/empty/Empty.mjs
CHANGED
package/es/empty/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-empty-padding: var(--van-padding-xl) 0;--van-empty-image-size: 160px;--van-empty-description-margin-top: var(--van-padding-md);--van-empty-description-padding: 0 60px;--van-empty-description-color: var(--van-text-color-2);--van-empty-description-font-size: var(--van-font-size-md);--van-empty-description-line-height: var(--van-line-height-md);--van-empty-bottom-margin-top: 24px}.van-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;padding:var(--van-empty-padding)}.van-empty__image{width:var(--van-empty-image-size);height:var(--van-empty-image-size)}.van-empty__image img{width:100%;height:100%}.van-empty__description{margin-top:var(--van-empty-description-margin-top);padding:var(--van-empty-description-padding);color:var(--van-empty-description-color);font-size:var(--van-empty-description-font-size);line-height:var(--van-empty-description-line-height)}.van-empty__bottom{margin-top:var(--van-empty-bottom-margin-top)}.van-theme-dark .van-empty{opacity:.5}
|
package/es/empty/index.d.ts
CHANGED
@@ -16,7 +16,9 @@ export declare const Empty: import("../utils").WithInstall<import("vue").DefineC
|
|
16
16
|
image: string;
|
17
17
|
}>>;
|
18
18
|
export default Empty;
|
19
|
+
export { emptyProps } from './Empty';
|
19
20
|
export type { EmptyProps } from './Empty';
|
21
|
+
export type { EmptyThemeVars } from './types';
|
20
22
|
declare module 'vue' {
|
21
23
|
interface GlobalComponents {
|
22
24
|
VanEmpty: typeof Empty;
|
package/es/empty/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Empty from "./Empty.mjs";
|
3
3
|
const Empty = withInstall(_Empty);
|
4
4
|
var stdin_default = Empty;
|
5
|
+
import { emptyProps } from "./Empty.mjs";
|
5
6
|
export {
|
6
7
|
Empty,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
emptyProps
|
8
10
|
};
|