element/packages/theme-default
Brad Adams 6d311ed6d3 Switch: Add `allowFocus` prop & focus/blur events (#7494)
* Table: Add `important` rule to `col-resize` cursor

* Table: Add `important` rule to `col-resize` cursor

* Update table-header.js

* [Switch]: Add `allowFocus` prop + blur/focus events

+ Add new `allowFocus` prop
+ Add event emitters for focus & blur events
+ Set `input` $ref `.focus()` on switch click event

* [Switch]: Add styling for when `allowFocus: true`

+ Add styling for when `allowFocus` prop is set to true.
+ Add styling for when input is focused

* [Switch]: Update docs
2017-10-16 02:52:10 -05:00
..
src Switch: Add `allowFocus` prop & focus/blur events (#7494) 2017-10-16 02:52:10 -05:00
.gitignore Remove submodule 2016-11-02 12:42:14 +08:00
README.md fix salad config 2016-11-13 22:08:38 +08:00
gulpfile.js fix salad config 2016-11-13 22:08:38 +08:00
package.json [build] 1.4.6 2017-09-27 13:34:35 +08:00
salad.config.json fix salad config 2016-11-13 22:08:38 +08:00

README.md

element-theme-default

element component defualt theme.

Installation

npm i element-theme-default -S

Usage

Use Sass Or postcss-import

@import 'element-theme-default';

Or Use webpack

import 'element-theme-default';

Or

<link rel="stylesheet" href="path/to/node_modules/element-theme-default/lib/index.css">

Import your need

import 'element-theme-default/lib/input.css';
import 'element-theme-default/lib/select.css';

// ...