Giter Site home page Giter Site logo

dtstack / dt-react-component Goto Github PK

View Code? Open in Web Editor NEW
77.0 7.0 36.0 25.62 MB

React UI component library based on antd package

Home Page: https://dtstack.github.io/dt-react-component/

License: MIT License

JavaScript 0.30% Shell 0.15% TypeScript 92.54% SCSS 6.84% Less 0.17%
storybook react component antd babel-plugin-treasure typescript

dt-react-component's Issues

Unit Test

  1. 补齐之前遗留的组件单测(14个)
  2. 后续新增组件必须覆盖单测

Integrated theme

  1. 组件库集成 theme

样式列表:

  • 组件原生样式(支持按需)
  • antd 全量样式
  • theme 样式
  1. iconfont 融合方式(组件库/theme)?

  2. 组件库 + theme + 设计对接平台(github)

Requirements

Some requirements for team members:

  • Familiar with the life cycle of a component.
  • Have a better design idea for the code.
  • Strictly implement codeReview.

引入问题

使用babel-plugin-treasure 插件,配置项中style为true时,样式文件引入错误

ellipisisText

  1. ellipsisText 用来文本溢出打点展示,但这个组件生成的元素是块级元素,会独占一行,文本应使用行内元素包裹
  2. 使用ellipsisText后展示的文本会纵向偏移

Documentation improve

具体实施:

  1. 调研市面上一些比较优秀的 stroybook 文档插件
  2. 组件文档迁移工作(后续需要团队人员支持)

Refactor

This may include the following:
1. Directory structure
2. Source code
3. Exposed api
4. ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.