npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

vant-weapp-typings

v1.31.0

Published

@vant/weapp小程序UI框架的类型声明文件

Downloads

108

Readme

vant-weapp-typings

@vant/weapp小程序UI框架的类型声明文件

版本

  • @vant/weapp -- v1.10.5

为什么

因为使用跨平台框架开发小程序时,使用@vant/weapp需要一套完整的类型声明文件。

官方使用原生微信小程序进行开发,因此并没有导出相应的类型文件。

这个仓库进行类型的补充。

支持列表

基础组件

  • [x] Button 按钮
  • [x] Cell 单元格
  • [x] ConfigProvider 全局配置
  • [x] Icon 图标
  • [x] Image 图片
  • [x] Layout 布局
  • [x] Popup 弹出层
  • [x] Toast 轻提示
  • [x] Transition 动画

表单组件

  • [x] Calendar 日历
  • [x] Checkbox 复选框
  • [x] DatetimePicker 时间选择
  • [x] Field 输入框
  • [x] Picker 选择器
  • [x] Radio 单选框
  • [x] Rate 评分
  • [x] Search 搜索
  • [x] Slider 滑块
  • [x] Stepper 步进器
  • [x] Switch 开关
  • [x] Uploader 文件上传

反馈组件

  • [x] ActionSheet 动作面板
  • [x] Dialog 弹出框
  • [x] DropdownMenu 下拉菜单
  • [x] Loading 加载
  • [x] Notify 消息通知
  • [x] Overlay 遮罩层
  • [x] ShareSheet 分享面板
  • [x] SwipeCell 滑动单元格

展示组件

  • [x] Circle 环形进度条
  • [x] Collapse 折叠面板
  • [x] CountDown 倒计时
  • [x] Divider 分割线
  • [x] Empty 空状态
  • [x] NoticeBar 通知栏
  • [x] Progress 进度条
  • [x] Skeleton 骨架屏
  • [x] Steps 步骤条
  • [x] Sticky 粘性布局
  • [x] Tag 标签

导航组件

  • [x] Grid 宫格
  • [x] IndexBar 索引栏
  • [x] NavBar 导航栏
  • [x] Sidebar 侧边导航
  • [x] Tab 标签页
  • [x] Tabbar 标签栏
  • [x] TreeSelect 分类选择

业务组件

  • [x] Area 省市区选择
  • [x] Card 商品卡片
  • [x] SubmitBar 提交订单栏
  • [x] GoodsAction 商品导航

废弃

  • [x] Panel 面板

支持功能

  • [x] Props 组件传参类型
  • [x] Events 组件事件类型
  • [x] ExternalClassName 外部样式名称
  • [x] Component 组件类型