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

pjh-ui

v0.1.1

Published

UI for react.js

Downloads

14

Readme

pjh-ui

基于ReactJS的UI库

安装

npm install pjh-ui

使用

import { Modal, Alert } from pjh-ui;

已完成组件

  • Alert 警告框
  • Breadcrumb 面包屑
  • Button 按钮
  • Calendar 日历
  • Checkbox 多选
  • Confirm 确认框
  • DatePicker 日期选择器
  • Dropdown 下拉组件
  • Form 表单
  • Icon 字体图标
  • Input 输入框/文本域
  • Loading 加载框
  • Mask 遮罩层
  • Menu 菜单组
  • Message 全局提示
  • Modal 模态框
  • Pagination 分页
  • Panel 面版
  • Progress 进度条
  • Radio 单选
  • Select 下拉菜单
  • Slider 滑动输入条
  • Step 步骤条
  • Swipe 图片轮播
  • Switch 开关
  • Tab 内容切换
  • Table 表格
  • Tag 标签
  • Tooltip 文字提示
  • Upload 上传

待开发组件

  • TimePicker 时间选择器
  • Timeline 时间轴
  • Popover 气泡弹窗
  • Table 加强版表格
  • Input 加强版输入框/文本域
  • Select 加强版下拉菜单

版本更新日志

  • 0.1.1 发布日期 02-06(含0.1.0) 添加字体库扩展图标 调整alert 图标颜色, 调整Toast 默认提示时间,由2.5s改为1.5s 下架了Table、Swipe、Table、Calendar、DatePicker等组件,不再在组件库中引入,因项目中用到机率过小 重新整合了使用示例

  • 0.0.98 - 99 为同一个版本 ,当前项目迭代版本为 2.0 StaticModal 添加了算定义静态弹框,custom,使用方式与 Alert 相同 Icon 扩展添加了公司自己的字体库图标 Pagination 分页,只有一页时不显示分页,添加了位置 “left\center\right”

  • 0.0.97 Alert、Confirm 模态框更新, StaticModal 静态调用Alert、Confirm 模态框,即可直接fun的方式调用,不需要引入组件

  • 0.0.96 loading 加载框,gif图更新,