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

teaness

v5.6.0

Published

a react business component library,example: https://blissful-blackwell-0e6e7c.netlify.com/

Downloads

1,081

Readme


name: Getting Started route: / menu: 'Getting Started'

teaness

NPM version Dependency Status react-version antd-version antd-version mobx-version async-validator-version ag-grid-community-version ag-grid-react-version


teaness 是一个的 react component 库,主要功能是

  1. 高性能、易用的、可自定义 UI 的 Form
  2. AgGrid 的 React 封装
  3. 对 Ant design 组件的增强实现
  4. 一些简单的组件封装

组件说明 Props 仅供参考,尽量直接看 interface

Install

npm i -S teaness

style

需要先导入antd样式 例如

@import 'antd/dist/antd.less';

Example

https://teaness.org/

todo

  • [x] 升级到 antd 4.0
  • [ ] 重构 api 与不合理的组件结构
    • [x] DataGrid
    • [x] Form
    • [x] Label
    • [x] ~~Modal~~删除该组件
    • [x] Show
  • [x] 增加错误定位方法 ~~- [ ] 表单验证去抖~~真有性能问题在加这个机制
  • [ ] 表单验证/显示增加多种模式
    • [x] 输出错误时机
      • [x] blur
      • [x] focus
      • [x] default
    • [x] 校验错误
      • [x] 校验到一个即停止
      • [x] 校验所有
    • [ ] 显示错误
      • [x] 所有的错误全部显示
      • [ ] 同时显示一个错误
    • [x] 错误显示组件
      • [x] toolTip
      • [x] bottomText
  • [ ] 测试用例
  • [x] 增加更好用的 grid hook ~~- [ ] 研究下 form 布局问题~~