pure-ui / pure Goto Github PK
View Code? Open in Web Editor NEW:seedling: elegant and lovely components
Home Page: https://pure.js.org
License: MIT License
:seedling: elegant and lovely components
Home Page: https://pure.js.org
License: MIT License
Button, instead of mousedown
like nprogress
It's so ugly now
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
比如标题有全选功能的Checkbox时
from #689eff to #4c5c77
when options appear
Currently, the Icon seems too simple and writing Unicode is horrible.
Like this <Icon type="heart" />
? Of course, the Unicode-way is pleased to be kept.
use flex under the hood
font-family: inherit;
Maybe we should think about tag's main use cases, seems duplicate with checkbox's
目前使用scale进入,会导致字体模糊,也容易让人眼花,改成slideDown/slideUp
like this
<CopyToClipboard text="some text" on-copied="">
<Button>copy to clipboard</Button>
</CopyToClipboard>
integrate with https://github.com/FezVrasta/popper.js
无边框的Input,获得焦点时显示边框,失去焦点时隐藏边框,适用于点击编辑的场景,onblur时执行保存的逻辑
Select同理
TR和TD在设计上有些冗余,完全是为了兼容原生table的结构,改成TableColumn
fields不够声明式
,改成在TableColumn上定义label
想要自定义TableColumn的内容(比如放一个按钮)可以通过TableColumn内部的this.$body实现,如果有key则从数据源(data)渲染,没有则渲染this.$body
TableColumn可以定义宽度
以上参考了element的table设计
It seems layout relevant
currently, surely Form
isn't responsible for this
Let's remove layout
stuff from Form
eslint-plugin-rgl
for quickly generating custom theme
<Tooltip content="tips" placement="top">some text</Tooltip>
another official theme 😬
good to have
如果没有current,取min作为current的默认值
stylelint-config-standard
refer to slider
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.