Coder Social home page Coder Social logo

pure-ui / pure Goto Github PK

View Code? Open in Web Editor NEW
28.0 28.0 9.0 3.15 MB

:seedling: elegant and lovely components

Home Page: https://pure.js.org

License: MIT License

JavaScript 38.06% CSS 39.84% HTML 22.10%
components pure pure-ui regular regularjs ui uikit

pure's People

Contributors

fengzilong avatar jerryni avatar npmcdn-to-unpkg-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pure's Issues

Redesign

  • Button
    basic 0.46em 0.8em
    small 0.36em 0.65em
    with icon

  • Input
    round 3px

  • Icon
    spin = true / false
    redesign icon display page, and replace some old icons with new ones, add new icons

  • Spinner
    new Spinner type

  • RadioButton
    like the one lives in box-shadow editor in chrome devtools

  • Select
    lighten right side icon color

  • others
    use new font-family for site
    highlight background for selected item in nav
    category offset
    redesign code highlight theme

Change Modal transition

目前使用scale进入,会导致字体模糊,也容易让人眼花,改成slideDown/slideUp

Add CopyToClipboard

like this

<CopyToClipboard text="some text" on-copied="">
    <Button>copy to clipboard</Button>
</CopyToClipboard>

Refactor Table

TR和TD在设计上有些冗余,完全是为了兼容原生table的结构,改成TableColumn
fields不够声明式,改成在TableColumn上定义label
想要自定义TableColumn的内容(比如放一个按钮)可以通过TableColumn内部的this.$body实现,如果有key则从数据源(data)渲染,没有则渲染this.$body
TableColumn可以定义宽度

以上参考了element的table设计

Use Box instead of Form

It seems layout relevant currently, surely Form isn't responsible for this
Let's remove layout stuff from Form

Add Tooltip

<Tooltip content="tips" placement="top">some text</Tooltip>

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.