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/es/steps/Steps.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type ExtractPropTypes, type InjectionKey } from 'vue';
|
2
2
|
export declare type StepsDirection = 'horizontal' | 'vertical';
|
3
|
-
declare const stepsProps: {
|
3
|
+
export declare const stepsProps: {
|
4
4
|
active: {
|
5
5
|
type: (NumberConstructor | StringConstructor)[];
|
6
6
|
default: number;
|
package/es/steps/Steps.mjs
CHANGED
package/es/steps/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-steps-background: var(--van-background-2)}.van-steps{overflow:hidden;background-color:var(--van-steps-background)}.van-steps--horizontal{padding:10px 10px 0}.van-steps--horizontal .van-steps__items{position:relative;display:flex;margin:0 0 10px;padding-bottom:22px}.van-steps--vertical{padding:0 0 0 var(--van-padding-xl)}
|
package/es/steps/index.d.ts
CHANGED
@@ -42,7 +42,9 @@ export declare const Steps: import("../utils").WithInstall<import("vue").DefineC
|
|
42
42
|
activeIcon: string;
|
43
43
|
}>>;
|
44
44
|
export default Steps;
|
45
|
+
export { stepsProps } from './Steps';
|
45
46
|
export type { StepsProps, StepsDirection } from './Steps';
|
47
|
+
export type { StepsThemeVars } from './types';
|
46
48
|
declare module 'vue' {
|
47
49
|
interface GlobalComponents {
|
48
50
|
VanSteps: typeof Steps;
|
package/es/steps/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Steps from "./Steps.mjs";
|
3
3
|
const Steps = withInstall(_Steps);
|
4
4
|
var stdin_default = Steps;
|
5
|
+
import { stepsProps } from "./Steps.mjs";
|
5
6
|
export {
|
6
7
|
Steps,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
stepsProps
|
8
10
|
};
|
File without changes
|
package/es/sticky/Sticky.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
export declare type StickyPosition = 'top' | 'bottom';
|
3
|
-
declare const stickyProps: {
|
3
|
+
export declare const stickyProps: {
|
4
4
|
zIndex: (NumberConstructor | StringConstructor)[];
|
5
5
|
position: {
|
6
6
|
type: PropType<StickyPosition>;
|
package/es/sticky/Sticky.mjs
CHANGED
package/es/sticky/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-sticky-z-index: 99}.van-sticky--fixed{position:fixed;z-index:var(--van-sticky-z-index)}
|
package/es/sticky/index.d.ts
CHANGED
@@ -37,7 +37,9 @@ export declare const Sticky: import("../utils").WithInstall<import("vue").Define
|
|
37
37
|
offsetBottom: string | number;
|
38
38
|
}>>;
|
39
39
|
export default Sticky;
|
40
|
+
export { stickyProps } from './Sticky';
|
40
41
|
export type { StickyProps, StickyPosition } from './Sticky';
|
42
|
+
export type { StickyThemeVars } from './types';
|
41
43
|
declare module 'vue' {
|
42
44
|
interface GlobalComponents {
|
43
45
|
VanSticky: typeof Sticky;
|
package/es/sticky/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Sticky from "./Sticky.mjs";
|
3
3
|
const Sticky = withInstall(_Sticky);
|
4
4
|
var stdin_default = Sticky;
|
5
|
+
import { stickyProps } from "./Sticky.mjs";
|
5
6
|
export {
|
6
7
|
Sticky,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
stickyProps
|
8
10
|
};
|
File without changes
|
package/es/style/base.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-bold: 600;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: 1px;--van-radius-sm: 2px;--van-radius-md: 4px;--van-radius-lg: 8px;--van-radius-max: 999px}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}html{-webkit-tap-highlight-color:transparent}:root{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}@keyframes van-slide-up-enter{0%{transform:translate3d(0,100%,0)}}@keyframes van-slide-up-leave{to{transform:translate3d(0,100%,0)}}@keyframes van-slide-down-enter{0%{transform:translate3d(0,-100%,0)}}@keyframes van-slide-down-leave{to{transform:translate3d(0,-100%,0)}}@keyframes van-slide-left-enter{0%{transform:translate3d(-100%,0,0)}}@keyframes van-slide-left-leave{to{transform:translate3d(-100%,0,0)}}@keyframes van-slide-right-enter{0%{transform:translate3d(100%,0,0)}}@keyframes van-slide-right-leave{to{transform:translate3d(100%,0,0)}}@keyframes van-fade-in{0%{opacity:0}to{opacity:1}}@keyframes van-fade-out{0%{opacity:1}to{opacity:0}}@keyframes van-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.van-fade-enter-active{animation:var(--van-duration-base) van-fade-in both var(--van-ease-out)}.van-fade-leave-active{animation:var(--van-duration-base) van-fade-out both var(--van-ease-in)}.van-slide-up-enter-active{animation:van-slide-up-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-up-leave-active{animation:van-slide-up-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-down-enter-active{animation:van-slide-down-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-down-leave-active{animation:van-slide-down-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-left-enter-active{animation:van-slide-left-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-left-leave-active{animation:van-slide-left-leave var(--van-duration-base) both var(--van-ease-in)}.van-slide-right-enter-active{animation:van-slide-right-enter var(--van-duration-base) both var(--van-ease-out)}.van-slide-right-leave-active{animation:van-slide-right-leave var(--van-duration-base) both var(--van-ease-in)}.van-clearfix:after{display:table;clear:both;content:""}.van-ellipsis{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.van-multi-ellipsis--l2{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.van-multi-ellipsis--l3{display:-webkit-box;overflow:hidden;text-overflow:ellipsis;-webkit-line-clamp:3;-webkit-box-orient:vertical}.van-safe-area-top{padding-top:constant(safe-area-inset-top);padding-top:env(safe-area-inset-top)}.van-safe-area-bottom{padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.van-haptics-feedback{cursor:pointer}.van-haptics-feedback:active{opacity:var(--van-active-opacity)}[class*=van-hairline]:after{position:absolute;box-sizing:border-box;content:" ";pointer-events:none;top:-50%;right:-50%;bottom:-50%;left:-50%;border:0 solid var(--van-border-color);transform:scale(.5)}.van-hairline,.van-hairline--top,.van-hairline--left,.van-hairline--right,.van-hairline--bottom,.van-hairline--surround,.van-hairline--top-bottom{position:relative}.van-hairline--top:after{border-top-width:var(--van-border-width)}.van-hairline--left:after{border-left-width:var(--van-border-width)}.van-hairline--right:after{border-right-width:var(--van-border-width)}.van-hairline--bottom:after{border-bottom-width:var(--van-border-width)}.van-hairline--top-bottom:after,.van-hairline-unset--top-bottom:after{border-width:var(--van-border-width) 0}.van-hairline--surround:after{border-width:var(--van-border-width)}
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-black: #000;--van-white: #fff;--van-gray-1: #f7f8fa;--van-gray-2: #f2f3f5;--van-gray-3: #ebedf0;--van-gray-4: #dcdee0;--van-gray-5: #c8c9cc;--van-gray-6: #969799;--van-gray-7: #646566;--van-gray-8: #323233;--van-red: #ee0a24;--van-blue: #1989fa;--van-orange: #ff976a;--van-orange-dark: #ed6a0c;--van-orange-light: #fffbe8;--van-green: #07c160;--van-gradient-red: linear-gradient(to right, #ff6034, #ee0a24);--van-gradient-orange: linear-gradient(to right, #ffd01e, #ff8917);--van-primary-color: var(--van-blue);--van-success-color: var(--van-green);--van-danger-color: var(--van-red);--van-warning-color: var(--van-orange);--van-text-color: var(--van-gray-8);--van-text-color-2: var(--van-gray-6);--van-text-color-3: var(--van-gray-5);--van-link-color: #576b95;--van-active-color: var(--van-gray-2);--van-active-opacity: .6;--van-disabled-opacity: .5;--van-background: var(--van-gray-1);--van-background-2: var(--van-white);--van-background-3: var(--van-white);--van-padding-base: 4px;--van-padding-xs: 8px;--van-padding-sm: 12px;--van-padding-md: 16px;--van-padding-lg: 24px;--van-padding-xl: 32px;--van-font-bold: 600;--van-font-size-xs: 10px;--van-font-size-sm: 12px;--van-font-size-md: 14px;--van-font-size-lg: 16px;--van-line-height-xs: 14px;--van-line-height-sm: 18px;--van-line-height-md: 20px;--van-line-height-lg: 22px;--van-base-font: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Segoe UI, Arial, Roboto, "PingFang SC", "miui", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;--van-price-font: avenir-heavy, "PingFang SC", helvetica neue, arial, sans-serif;--van-duration-base: .3s;--van-duration-fast: .2s;--van-ease-out: ease-out;--van-ease-in: ease-in;--van-border-color: var(--van-gray-3);--van-border-width: 1px;--van-radius-sm: 2px;--van-radius-md: 4px;--van-radius-lg: 8px;--van-radius-max: 999px}.van-theme-dark{--van-text-color: #f5f5f5;--van-text-color-2: #707070;--van-text-color-3: #4d4d4d;--van-border-color: #3a3a3c;--van-active-color: #3a3a3c;--van-background: #000;--van-background-2: #1c1c1e;--van-background-3: #37363b}
|
package/es/style/normalize.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
html{-webkit-tap-highlight-color:transparent}
|
1
|
+
html{-webkit-tap-highlight-color:transparent}:root{margin:0;font-family:var(--van-base-font)}a{text-decoration:none}input,button,textarea{color:inherit;font:inherit}a:focus,input:focus,button:focus,textarea:focus,[class*=van-]:focus{outline:none}ol,ul{margin:0;padding:0;list-style:none}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { ButtonType } from '../button';
|
3
3
|
export declare type SubmitBarTextAlign = 'left' | 'right';
|
4
|
-
declare const submitBarProps: {
|
4
|
+
export declare const submitBarProps: {
|
5
5
|
tip: StringConstructor;
|
6
6
|
label: StringConstructor;
|
7
7
|
price: NumberConstructor;
|
package/es/submit-bar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-submit-bar-height: 50px;--van-submit-bar-z-index: 100;--van-submit-bar-background: var(--van-background-2);--van-submit-bar-button-width: 110px;--van-submit-bar-price-color: var(--van-danger-color);--van-submit-bar-price-font-size: var(--van-font-size-sm);--van-submit-bar-price-integer-font-size: 20px;--van-submit-bar-price-font: var(--van-price-font);--van-submit-bar-currency-font-size: var(--van-font-size-md);--van-submit-bar-text-color: var(--van-text-color);--van-submit-bar-text-font-size: var(--van-font-size-md);--van-submit-bar-tip-padding: var(--van-padding-xs) var(--van-padding-sm);--van-submit-bar-tip-font-size: var(--van-font-size-sm);--van-submit-bar-tip-line-height: 1.5;--van-submit-bar-tip-color: var(--van-orange-dark);--van-submit-bar-tip-background: var(--van-orange-light);--van-submit-bar-tip-icon-size: 12px;--van-submit-bar-button-height: 40px;--van-submit-bar-padding: 0 var(--van-padding-md)}.van-submit-bar{position:fixed;bottom:0;left:0;z-index:var(--van-submit-bar-z-index);width:100%;background:var(--van-submit-bar-background);-webkit-user-select:none;user-select:none}.van-submit-bar__tip{padding:var(--van-submit-bar-tip-padding);color:var(--van-submit-bar-tip-color);font-size:var(--van-submit-bar-tip-font-size);line-height:var(--van-submit-bar-tip-line-height);background:var(--van-submit-bar-tip-background)}.van-submit-bar__tip-icon{margin-right:var(--van-padding-base);font-size:var(--van-submit-bar-tip-icon-size);vertical-align:middle}.van-submit-bar__tip-text{vertical-align:middle}.van-submit-bar__bar{display:flex;align-items:center;justify-content:flex-end;height:var(--van-submit-bar-height);padding:var(--van-submit-bar-padding);font-size:var(--van-submit-bar-text-font-size)}.van-submit-bar__text{flex:1;padding-right:var(--van-padding-sm);color:var(--van-submit-bar-text-color);text-align:right}.van-submit-bar__text span{display:inline-block}.van-submit-bar__suffix-label{margin-left:var(--van-padding-base);font-weight:var(--van-font-bold)}.van-submit-bar__price{color:var(--van-submit-bar-price-color);font-weight:var(--van-font-bold);font-size:var(--van-submit-bar-price-font-size);margin-left:var(--van-padding-base)}.van-submit-bar__price-integer{font-size:var(--van-submit-bar-price-integer-font-size);font-family:var(--van-submit-bar-price-font)}.van-submit-bar__button{width:var(--van-submit-bar-button-width);height:var(--van-submit-bar-button-height);font-weight:var(--van-font-bold);border:none}.van-submit-bar__button--danger{background:var(--van-gradient-red)}
|
package/es/submit-bar/index.d.ts
CHANGED
@@ -66,7 +66,9 @@ export declare const SubmitBar: import("../utils").WithInstall<import("vue").Def
|
|
66
66
|
buttonType: import("..").ButtonType;
|
67
67
|
}>>;
|
68
68
|
export default SubmitBar;
|
69
|
+
export { submitBarProps } from './SubmitBar';
|
69
70
|
export type { SubmitBarProps, SubmitBarTextAlign } from './SubmitBar';
|
71
|
+
export type { SubmitBarThemeVars } from './types';
|
70
72
|
declare module 'vue' {
|
71
73
|
interface GlobalComponents {
|
72
74
|
VanSubmitBar: typeof SubmitBar;
|
package/es/submit-bar/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _SubmitBar from "./SubmitBar.mjs";
|
3
3
|
const SubmitBar = withInstall(_SubmitBar);
|
4
4
|
var stdin_default = SubmitBar;
|
5
|
+
import { submitBarProps } from "./SubmitBar.mjs";
|
5
6
|
export {
|
6
7
|
SubmitBar,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
submitBarProps
|
8
10
|
};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare type SubmitBarThemeVars = {
|
2
|
+
submitBarHeight?: string;
|
3
|
+
submitBarZIndex?: number | string;
|
4
|
+
submitBarBackground?: string;
|
5
|
+
submitBarButtonWidth?: string;
|
6
|
+
submitBarPriceColor?: string;
|
7
|
+
submitBarPriceFontSize?: string;
|
8
|
+
submitBarPriceIntegerFontSize?: string;
|
9
|
+
submitBarPriceFont?: string;
|
10
|
+
submitBarCurrencyFontSize?: string;
|
11
|
+
submitBarTextColor?: string;
|
12
|
+
submitBarTextFontSize?: string;
|
13
|
+
submitBarTipPadding?: string;
|
14
|
+
submitBarTipFontSize?: string;
|
15
|
+
submitBarTipLineHeight?: number | string;
|
16
|
+
submitBarTipColor?: string;
|
17
|
+
submitBarTipBackground?: string;
|
18
|
+
submitBarTipIconSize?: string;
|
19
|
+
submitBarButtonHeight?: string;
|
20
|
+
submitBarPadding?: string;
|
21
|
+
};
|
File without changes
|
package/es/swipe/Swipe.d.ts
CHANGED
package/es/swipe/Swipe.mjs
CHANGED
package/es/swipe/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-swipe-indicator-size: 6px;--van-swipe-indicator-margin: var(--van-padding-sm);--van-swipe-indicator-active-opacity: 1;--van-swipe-indicator-inactive-opacity: .3;--van-swipe-indicator-active-background: var(--van-primary-color);--van-swipe-indicator-inactive-background: var(--van-border-color)}.van-swipe{position:relative;overflow:hidden;transform:translateZ(0);cursor:-webkit-grab;cursor:grab;-webkit-user-select:none;user-select:none}.van-swipe__track{display:flex;height:100%}.van-swipe__track--vertical{flex-direction:column}.van-swipe__indicators{position:absolute;bottom:var(--van-swipe-indicator-margin);left:50%;display:flex;transform:translate(-50%)}.van-swipe__indicators--vertical{top:50%;bottom:auto;left:var(--van-swipe-indicator-margin);flex-direction:column;transform:translateY(-50%)}.van-swipe__indicators--vertical .van-swipe__indicator:not(:last-child){margin-bottom:var(--van-swipe-indicator-size)}.van-swipe__indicator{width:var(--van-swipe-indicator-size);height:var(--van-swipe-indicator-size);background-color:var(--van-swipe-indicator-inactive-background);border-radius:100%;opacity:var(--van-swipe-indicator-inactive-opacity);transition:opacity var(--van-duration-fast),background-color var(--van-duration-fast)}.van-swipe__indicator:not(:last-child){margin-right:var(--van-swipe-indicator-size)}.van-swipe__indicator--active{background-color:var(--van-swipe-indicator-active-background);opacity:var(--van-swipe-indicator-active-opacity)}
|
package/es/swipe/index.d.ts
CHANGED
@@ -81,8 +81,9 @@ export declare const Swipe: import("../utils").WithInstall<import("vue").DefineC
|
|
81
81
|
stopPropagation: boolean;
|
82
82
|
}>>;
|
83
83
|
export default Swipe;
|
84
|
+
export { swipeProps } from './Swipe';
|
84
85
|
export type { SwipeProps };
|
85
|
-
export type { SwipeInstance, SwipeToOptions } from './types';
|
86
|
+
export type { SwipeInstance, SwipeToOptions, SwipeThemeVars } from './types';
|
86
87
|
declare module 'vue' {
|
87
88
|
interface GlobalComponents {
|
88
89
|
VanSwipe: typeof Swipe;
|
package/es/swipe/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Swipe from "./Swipe.mjs";
|
3
3
|
const Swipe = withInstall(_Swipe);
|
4
4
|
var stdin_default = Swipe;
|
5
|
+
import { swipeProps } from "./Swipe.mjs";
|
5
6
|
export {
|
6
7
|
Swipe,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
swipeProps
|
8
10
|
};
|
package/es/swipe/types.d.ts
CHANGED
@@ -29,3 +29,11 @@ export declare type SwipeProvide = {
|
|
29
29
|
activeIndicator: ComputedRef<number>;
|
30
30
|
};
|
31
31
|
export declare type SwipeInstance = ComponentPublicInstance<SwipeProps, SwipeExpose>;
|
32
|
+
export declare type SwipeThemeVars = {
|
33
|
+
swipeIndicatorSize?: string;
|
34
|
+
swipeIndicatorMargin?: string;
|
35
|
+
swipeIndicatorActiveOpacity?: number | string;
|
36
|
+
swipeIndicatorInactiveOpacity?: number | string;
|
37
|
+
swipeIndicatorActiveBackground?: string;
|
38
|
+
swipeIndicatorInactiveBackground?: string;
|
39
|
+
};
|
package/es/swipe-cell/index.d.ts
CHANGED
@@ -29,6 +29,7 @@ export declare const SwipeCell: import("../utils").WithInstall<import("vue").Def
|
|
29
29
|
stopPropagation: boolean;
|
30
30
|
}>>;
|
31
31
|
export default SwipeCell;
|
32
|
+
export { swipeCellProps } from './SwipeCell';
|
32
33
|
export type { SwipeCellProps };
|
33
34
|
export type { SwipeCellSide, SwipeCellPosition, SwipeCellInstance, } from './types';
|
34
35
|
declare module 'vue' {
|
package/es/swipe-cell/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _SwipeCell from "./SwipeCell.mjs";
|
3
3
|
const SwipeCell = withInstall(_SwipeCell);
|
4
4
|
var stdin_default = SwipeCell;
|
5
|
+
import { swipeCellProps } from "./SwipeCell.mjs";
|
5
6
|
export {
|
6
7
|
SwipeCell,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
swipeCellProps
|
8
10
|
};
|
package/es/switch/Switch.d.ts
CHANGED
package/es/switch/Switch.mjs
CHANGED
package/es/switch/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-switch-size: 26px;--van-switch-width:calc(1.8em + 4px);--van-switch-height:calc(1em + 4px);--van-switch-node-size: 1em;--van-switch-node-background: var(--van-white);--van-switch-node-shadow: 0 3px 1px 0 rgba(0, 0, 0, .05);--van-switch-background: rgba(120, 120, 128, .16);--van-switch-on-background: var(--van-primary-color);--van-switch-duration: var(--van-duration-base);--van-switch-disabled-opacity: var(--van-disabled-opacity)}.van-theme-dark{--van-switch-background: rgba(120, 120, 128, .32)}.van-switch{position:relative;display:inline-block;box-sizing:content-box;width:var(--van-switch-width);height:var(--van-switch-height);font-size:var(--van-switch-size);background:var(--van-switch-background);border-radius:var(--van-switch-node-size);cursor:pointer;transition:background-color var(--van-switch-duration)}.van-switch__node{position:absolute;top:2px;left:2px;width:var(--van-switch-node-size);height:var(--van-switch-node-size);font-size:inherit;background:var(--van-switch-node-background);border-radius:100%;box-shadow:var(--van-switch-node-shadow);transition:transform var(--van-switch-duration) cubic-bezier(.3,1.05,.4,1.05)}.van-switch__loading{top:25%;left:25%;width:50%;height:50%;line-height:1}.van-switch--on{background:var(--van-switch-on-background)}.van-switch--on .van-switch__node{transform:translate(calc(var(--van-switch-width) - var(--van-switch-node-size) - 4px))}.van-switch--on .van-switch__loading{color:var(--van-switch-on-background)}.van-switch--disabled{cursor:not-allowed;opacity:var(--van-switch-disabled-opacity)}.van-switch--loading{cursor:default}
|
package/es/switch/index.d.ts
CHANGED
@@ -38,7 +38,9 @@ export declare const Switch: import("../utils").WithInstall<import("vue").Define
|
|
38
38
|
inactiveValue: unknown;
|
39
39
|
}>>;
|
40
40
|
export default Switch;
|
41
|
+
export { switchProps } from './Switch';
|
41
42
|
export type { SwitchProps } from './Switch';
|
43
|
+
export type { SwitchThemeVars } from './types';
|
42
44
|
declare module 'vue' {
|
43
45
|
interface GlobalComponents {
|
44
46
|
VanSwitch: typeof Switch;
|
package/es/switch/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Switch from "./Switch.mjs";
|
3
3
|
const Switch = withInstall(_Switch);
|
4
4
|
var stdin_default = Switch;
|
5
|
+
import { switchProps } from "./Switch.mjs";
|
5
6
|
export {
|
6
7
|
Switch,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
switchProps
|
8
10
|
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
export declare type SwitchThemeVars = {
|
2
|
+
switchSize?: string;
|
3
|
+
switchWidth?: string;
|
4
|
+
switchHeight?: string;
|
5
|
+
switchNodeSize?: string;
|
6
|
+
switchNodeBackground?: string;
|
7
|
+
switchNodeShadow?: string;
|
8
|
+
switchBackground?: string;
|
9
|
+
switchOnBackground?: string;
|
10
|
+
switchDuration?: string;
|
11
|
+
switchDisabledOpacity?: number | string;
|
12
|
+
};
|
File without changes
|
package/es/tab/Tab.d.ts
CHANGED
package/es/tab/Tab.mjs
CHANGED
package/es/tab/index.d.ts
CHANGED
@@ -37,6 +37,7 @@ export declare const Tab: import("../utils").WithInstall<import("vue").DefineCom
|
|
37
37
|
showZeroBadge: boolean;
|
38
38
|
}>>;
|
39
39
|
export default Tab;
|
40
|
+
export { tabProps } from './Tab';
|
40
41
|
export type { TabProps } from './Tab';
|
41
42
|
declare module 'vue' {
|
42
43
|
interface GlobalComponents {
|
package/es/tab/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Tab from "./Tab.mjs";
|
3
3
|
const Tab = withInstall(_Tab);
|
4
4
|
var stdin_default = Tab;
|
5
|
+
import { tabProps } from "./Tab.mjs";
|
5
6
|
export {
|
6
7
|
Tab,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
tabProps
|
8
10
|
};
|
package/es/tabbar/Tabbar.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
|
2
2
|
import { type Numeric, type Interceptor } from '../utils';
|
3
|
-
declare const tabbarProps: {
|
3
|
+
export declare const tabbarProps: {
|
4
4
|
route: BooleanConstructor;
|
5
5
|
fixed: {
|
6
6
|
type: BooleanConstructor;
|
package/es/tabbar/Tabbar.mjs
CHANGED
package/es/tabbar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-tabbar-height: 50px;--van-tabbar-z-index: 1;--van-tabbar-background: var(--van-background-2)}.van-tabbar{z-index:var(--van-tabbar-z-index);display:flex;box-sizing:content-box;width:100%;height:var(--van-tabbar-height);background:var(--van-tabbar-background)}.van-tabbar--fixed{position:fixed;bottom:0;left:0}
|
package/es/tabbar/index.d.ts
CHANGED
@@ -56,7 +56,9 @@ export declare const Tabbar: import("../utils").WithInstall<import("vue").Define
|
|
56
56
|
route: boolean;
|
57
57
|
}>>;
|
58
58
|
export default Tabbar;
|
59
|
+
export { tabbarProps } from './Tabbar';
|
59
60
|
export type { TabbarProps } from './Tabbar';
|
61
|
+
export type { TabbarThemeVars } from './types';
|
60
62
|
declare module 'vue' {
|
61
63
|
interface GlobalComponents {
|
62
64
|
VanTabbar: typeof Tabbar;
|
package/es/tabbar/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Tabbar from "./Tabbar.mjs";
|
3
3
|
const Tabbar = withInstall(_Tabbar);
|
4
4
|
var stdin_default = Tabbar;
|
5
|
+
import { tabbarProps } from "./Tabbar.mjs";
|
5
6
|
export {
|
6
7
|
Tabbar,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
tabbarProps
|
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 tabbarItemProps: {
|
3
|
+
export declare const tabbarItemProps: {
|
4
4
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
5
5
|
url: StringConstructor;
|
6
6
|
replace: BooleanConstructor;
|
package/es/tabbar-item/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-tabbar-item-font-size: var(--van-font-size-sm);--van-tabbar-item-text-color: var(--van-text-color);--van-tabbar-item-active-color: var(--van-primary-color);--van-tabbar-item-active-background: var(--van-background-2);--van-tabbar-item-line-height: 1;--van-tabbar-item-icon-size: 22px;--van-tabbar-item-icon-margin-bottom: var(--van-padding-base)}.van-tabbar-item{display:flex;flex:1;flex-direction:column;align-items:center;justify-content:center;color:var(--van-tabbar-item-text-color);font-size:var(--van-tabbar-item-font-size);line-height:var(--van-tabbar-item-line-height);cursor:pointer}.van-tabbar-item__icon{margin-bottom:var(--van-tabbar-item-icon-margin-bottom);font-size:var(--van-tabbar-item-icon-size)}.van-tabbar-item__icon .van-icon{display:block}.van-tabbar-item__icon .van-badge{margin-top:var(--van-padding-base)}.van-tabbar-item__icon img{display:block;height:20px}.van-tabbar-item--active{color:var(--van-tabbar-item-active-color);background-color:var(--van-tabbar-item-active-background)}
|
@@ -27,7 +27,9 @@ export declare const TabbarItem: import("../utils").WithInstall<import("vue").De
|
|
27
27
|
dot: boolean;
|
28
28
|
}>>;
|
29
29
|
export default TabbarItem;
|
30
|
+
export { tabbarItemProps } from './TabbarItem';
|
30
31
|
export type { TabbarItemProps } from './TabbarItem';
|
32
|
+
export type { TabbarItemThemeVars } from './types';
|
31
33
|
declare module 'vue' {
|
32
34
|
interface GlobalComponents {
|
33
35
|
VanTabbarItem: typeof TabbarItem;
|
package/es/tabbar-item/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _TabbarItem from "./TabbarItem.mjs";
|
3
3
|
const TabbarItem = withInstall(_TabbarItem);
|
4
4
|
var stdin_default = TabbarItem;
|
5
|
+
import { tabbarItemProps } from "./TabbarItem.mjs";
|
5
6
|
export {
|
6
7
|
TabbarItem,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
tabbarItemProps
|
8
10
|
};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare type TabbarItemThemeVars = {
|
2
|
+
tabbarItemFontSize?: string;
|
3
|
+
tabbarItemTextColor?: string;
|
4
|
+
tabbarItemActiveColor?: string;
|
5
|
+
tabbarItemActiveBackground?: string;
|
6
|
+
tabbarItemLineHeight?: number | string;
|
7
|
+
tabbarItemIconSize?: string;
|
8
|
+
tabbarItemIconMarginBottom?: string;
|
9
|
+
};
|
File without changes
|
package/es/tabs/Tabs.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { type PropType, type InjectionKey, type ExtractPropTypes } from 'vue';
|
2
2
|
import { type Interceptor } from '../utils';
|
3
3
|
import type { TabsProvide, TabsType } from './types';
|
4
|
-
declare const tabsProps: {
|
4
|
+
export declare const tabsProps: {
|
5
5
|
type: {
|
6
6
|
type: PropType<TabsType>;
|
7
7
|
default: TabsType;
|
package/es/tabs/Tabs.mjs
CHANGED
package/es/tabs/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-tab-text-color: var(--van-gray-7);--van-tab-active-text-color: var(--van-text-color);--van-tab-disabled-text-color: var(--van-text-color-3);--van-tab-font-size: var(--van-font-size-md);--van-tab-line-height: var(--van-line-height-md);--van-tabs-default-color: var(--van-primary-color);--van-tabs-line-height: 44px;--van-tabs-card-height: 30px;--van-tabs-nav-background: var(--van-background-2);--van-tabs-bottom-bar-width: 40px;--van-tabs-bottom-bar-height: 3px;--van-tabs-bottom-bar-color: var(--van-primary-color)}.van-tab{position:relative;display:flex;flex:1;align-items:center;justify-content:center;box-sizing:border-box;padding:0 var(--van-padding-base);color:var(--van-tab-text-color);font-size:var(--van-tab-font-size);line-height:var(--van-tab-line-height);cursor:pointer}.van-tab--active{color:var(--van-tab-active-text-color);font-weight:var(--van-font-bold)}.van-tab--disabled{color:var(--van-tab-disabled-text-color);cursor:not-allowed}.van-tab--grow{flex:1 0 auto;padding:0 var(--van-padding-sm)}.van-tab--shrink{flex:none;padding:0 var(--van-padding-xs)}.van-tab--card{color:var(--van-tabs-default-color);border-right:var(--van-border-width) solid var(--van-tabs-default-color)}.van-tab--card:last-child{border-right:none}.van-tab--card.van-tab--active{color:var(--van-white);background-color:var(--van-tabs-default-color)}.van-tab--card--disabled{color:var(--van-tab-disabled-text-color)}.van-tab__text--ellipsis{display:-webkit-box;overflow:hidden;-webkit-line-clamp:1;-webkit-box-orient:vertical}.van-tabs{position:relative}.van-tabs__wrap{overflow:hidden}.van-tabs__wrap--page-top{position:fixed}.van-tabs__wrap--content-bottom{top:auto;bottom:0}.van-tabs__nav{position:relative;display:flex;background:var(--van-tabs-nav-background);-webkit-user-select:none;user-select:none}.van-tabs__nav--complete{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.van-tabs__nav--complete::-webkit-scrollbar{display:none}.van-tabs__nav--line{box-sizing:content-box;height:100%;padding-bottom:15px}.van-tabs__nav--line.van-tabs__nav--shrink,.van-tabs__nav--line.van-tabs__nav--complete{padding-right:var(--van-padding-xs);padding-left:var(--van-padding-xs)}.van-tabs__nav--card{box-sizing:border-box;height:var(--van-tabs-card-height);margin:0 var(--van-padding-md);border:var(--van-border-width) solid var(--van-tabs-default-color);border-radius:var(--van-border-radius-sm)}.van-tabs__nav--card.van-tabs__nav--shrink{display:inline-flex}.van-tabs__line{position:absolute;bottom:15px;left:0;z-index:1;width:var(--van-tabs-bottom-bar-width);height:var(--van-tabs-bottom-bar-height);background:var(--van-tabs-bottom-bar-color);border-radius:var(--van-tabs-bottom-bar-height)}.van-tabs__track{position:relative;display:flex;width:100%;height:100%;will-change:left}.van-tabs__content--animated{overflow:hidden}.van-tabs--line .van-tabs__wrap{height:var(--van-tabs-line-height)}.van-tabs--card>.van-tabs__wrap{height:var(--van-tabs-card-height)}
|
package/es/tabs/index.d.ts
CHANGED
@@ -105,8 +105,9 @@ export declare const Tabs: import("../utils").WithInstall<import("vue").DefineCo
|
|
105
105
|
swipeThreshold: string | number;
|
106
106
|
}>>;
|
107
107
|
export default Tabs;
|
108
|
+
export { tabsProps } from './Tabs';
|
108
109
|
export type { TabsProps };
|
109
|
-
export type { TabsType, TabsInstance } from './types';
|
110
|
+
export type { TabsType, TabsInstance, TabsThemeVars } from './types';
|
110
111
|
declare module 'vue' {
|
111
112
|
interface GlobalComponents {
|
112
113
|
VanTabs: typeof Tabs;
|