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

antd-doddle

v2.1.0

Published

antd后台项目前端组件封装和方法库

Downloads

34

Readme


title: 介绍 order: 0

介绍

antd-doddle是源于日常中后台系统开发不断的积累,如其名一样,让antd使用更加得心应手,实现业务的快速迭代。其中包含一部分的对antd组件深度封装,一些高频次自定义业务组件,和一些常用方法库的封装,支持按需打包。 支持typescript

使用文档

Antd-doddle 2.x文档地址, 支持4.x: http://doc.closertb.site, 首次加载较慢,请耐心等候。

Antd-doddle 1.x文档地址, 支持3.x: http://static.closertb.site, 首次加载较慢,请耐心等候。

试用项目Git 地址

安装

antd-doddle是一个多包的项目,组件与方法分离,依赖于react环境与antd组件库,支持treeShaking。

安装包

npm i antd-doddle --save

使用

使用包中的组件

import { formRender } from 'antd-doddle';

使用包中的方法

import { getEnumObject } from 'antd-doddle/utils';

Change Log

2019-05-13

  • feat: 新增dynamicParams,配合field设置isDynamic属性,用于获取从异步接口获取回来的动态枚举,具体使用请参见Demo

2019-06-28

  • feat: 新增FormRender, RenderDetail, EnhanceTable三个组件的扩展方法
  • feat: 新增extendFieldTypes使用说明文档

2019-08-25

  • feat: ts重写组件库
  • feat: 新增model, throtle装饰器

2019-10-07

  • 组件库文档打包构建优化,将打包体积由3M缩小到2M

2019-10-13

  • 增加ImageLoad组件

2019-11-03

  • 增加文档库自动化构建部署更新

2019-11-03

  • 修改依赖

2019-11-03

  • 新增自定义Hooks

2020-03-01

  • feat: 新增1.4.0 版,支持Form表单联动

2020-05-01

  • feat: 添加sideEffects,更好的支持Webpack对ES模块的TreeShaking功能,但带来的代价是,样式的按需加载功能没了,需要全量引入import 'antd-doddle/dist/index.css,当然也可以使用import组件实现;

2020-06-24

  • feat: 新增2.0.0版,定向支持antd 4.x版本表单