Commit Graph

1009 Commits

Author SHA1 Message Date
Cyril Su
25e8503d65 Carbon: Table add features and fix bugs (#7682)
* Table: Fix error in calculate `totalFlexWidth`

* Table: Fix error in caculate `scrollX`

* Table: Watch `max-height` change

* Table: Change `toggleRowExpanded`

* Table: Support `obj[key]`

* Table: Update docs for `toggleRowExpanded`

* Table: Add style and class control for every row and cell

* Table: Add `migrating` mixin for `expand`

* Table: Update test spec

* Table: Add `index` in `table-column` for custom index
2017-10-25 02:35:12 -05:00
Leopoldthecoder
333a010d3b Table: add size 2017-10-25 01:41:17 -05:00
Leopoldthecoder
6d3636fbac Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	CHANGELOG.en-US.md
#	CHANGELOG.zh-CN.md
#	examples/app.vue
#	examples/index.tpl
#	examples/versions.json
#	package.json
#	packages/dropdown/src/dropdown.vue
#	packages/theme-default/package.json
#	packages/theme-default/src/date-picker/date-picker.css
#	src/index.js
2017-10-24 18:48:54 +08:00
杨奕
71fca8e051 update custom theme docs (#7679)
* update custom theme docs

* update form docs
2017-10-24 05:43:23 -05:00
Leopoldthecoder
ccd36eb01f [build] 1.4.8 2017-10-24 18:21:12 +08:00
杨奕
664f893086 Changelog: update for 1.4.8 (#7683)
* Table: Trigger `doLayout` when display from `none` to others

* Changelog: update for 1.4.8
2017-10-24 05:19:04 -05:00
phongkt
5698e77c72 Dropdown: allow change show/hide timeout by props (#7621)
* Dropdown: Allow change show/hide timeout by props

* Dropdown: Fixes for document mistake
2017-10-24 04:20:03 -05:00
杨奕
4517e3d9be Autocomplete: add value-key (#7671)
* Autocomplete: add value-key

* fix autocomplete test
2017-10-24 02:24:35 -05:00
lltemplar
3b6b9fa5f7 Update form.md 2017-10-24 01:39:12 -05:00
lltemplar
f904e964f2 Update form.md 2017-10-23 23:38:28 -05:00
Leopoldthecoder
14ecf86c55 Icon: fix mobile-phone class name 2017-10-23 21:18:11 -05:00
Leopoldthecoder
917b8e78f2 theme-chalk tuning 2017-10-23 21:18:11 -05:00
Leopoldthecoder
9e6f1adafc update landing page for 2.0 2017-10-23 05:38:15 -05:00
杨奕
36dfe304f3 Form: add clearValidate (#7623)
* Form: add clearValidate

* remove dup attrs
2017-10-21 23:35:42 -05:00
Leopoldthecoder
0099a3f283 update beta notice 2017-10-20 03:53:40 -05:00
Leopoldthecoder
44c75ff1af [build] 2.0.0-beta.1 2017-10-20 16:09:07 +08:00
Leopoldthecoder
1786ac75e2 Changelog: update for 2.0.0-beta.1 2017-10-20 03:06:32 -05:00
lirilsu
1310bdee26 Table: Remove sort-clear and filter-clear event 2017-10-20 02:19:45 -05:00
lirilsu
8c78dc1082 Table: Update docs for carbon table 2017-10-20 02:19:45 -05:00
杨奕
7d55d47b67 some style updates (#7603)
* some style updates

* fix a datepicker typo
2017-10-20 01:03:34 -05:00
wayne
6055e39bc7 Carbon: fix hide to hidden in display.scss 2017-10-19 21:15:12 -05:00
Leopoldthecoder
c31f413a4f Layout: add xl breakpoint 2017-10-19 03:30:24 -05:00
Black Wayne
457f9f97ed DatePicker: add unlink-panels (#7537) 2017-10-19 01:09:05 -05:00
wayne
6521828f27 Carbon: layout add Visibility support 2017-10-19 01:05:31 -05:00
Leopoldthecoder
f73dbe104e some icon fixes 2017-10-18 23:16:31 -05:00
wayne
fe15518f19 Carbon: new icons 2017-10-18 06:39:34 -05:00
Leopoldthecoder
1e95e51f9b update typings 2017-10-18 18:38:23 +08:00
Leopoldthecoder
79dc2c5d6e update cooking 2017-10-16 23:10:44 -05:00
杨奕
8586891a56 use chrome to run tests (#7521)
* use chrome to run tests

* fix karma config lint

* remove phantomjs
2017-10-16 19:39:44 -05:00
Leopoldthecoder
f0b7debd23 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	CHANGELOG.en-US.md
#	CHANGELOG.zh-CN.md
#	examples/app.vue
#	examples/docs/en-US/switch.md
#	examples/docs/zh-CN/switch.md
#	examples/versions.json
#	package.json
#	packages/switch/src/component.vue
#	packages/theme-default/package.json
#	packages/theme-default/src/common/var.css
#	packages/theme-default/src/switch.css
#	src/index.js
2017-10-16 18:33:41 +08:00
Leopoldthecoder
21622d4e07 [build] 2.0.0-alpha.3 2017-10-16 18:08:56 +08:00
杨奕
1333c85d15 Changelog: update for 2.0.0-alpha.3 (#7502)
* Changelog: update for 2.0.0-alpha.3

* fix test
2017-10-16 05:05:40 -05:00
Leopoldthecoder
c52b64dae1 [build] 1.4.7 2017-10-16 16:25:29 +08:00
Leopoldthecoder
a0ec1580e1 Changelog: update for 1.4.7 2017-10-16 03:23:09 -05:00
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
杨奕
38459ae850 update dependencies (#7476)
* update el-input change event

* upgrade to vue 2.5.0

* upgrade webpack to 3.7

* upgrade vue to 2.5.2

* minor style updates
2017-10-16 14:07:24 +08:00
Black Wayne
9b09f6aa9f Form: add size attribute (#7428) 2017-10-12 04:50:06 -05:00
Black Wayne
ab47262588 Menu: support open and close submenu manually (#7412)
* Carbon: menu support open close submenu manually

* Update menu.md

* Update menu.md
2017-10-12 03:20:16 -05:00
Black Wayne
5426c957a2 add upload limit & form validate return promise (#7405)
* Carbon: upload limit & input append & form validate promise

* Update upload.md

* Update upload.md

* Update index.js
2017-10-12 03:07:50 -05:00
Leopoldthecoder
553e89568b TimePicker: add arrow-control 2017-10-11 05:34:08 -05:00
Leopoldthecoder
9dcc4eb0b7 Docs: add algolia search 2017-10-10 05:23:42 -05:00
Jiewei Qian
f93798446e *-picker: refactor (#7367)
* Revert "Picker only emit user change (#6214)"

This reverts commit 1912c473ef.

* picker/util: add helper methods

range: n => Array
modify{Date, Time}: Date => Date
clear{Time, Milliseconds}: Date => Date
limitTimeRange: Date => Date
timeWithinRange: Date, [Date] => Boolean

* time-spinner: refactory

* time-panel: refactory

* picker refactory

* date-panel, *-table: refactory

* time-select: refactory

* test: update time-picker

* test: update date-picker

* time-range: refactory

* date-range: refactory

* test: update time-select

* test: update form date-picker/time-picker

* docs: update date-picker
2017-10-10 04:49:41 -05:00
Leopoldthecoder
1e57f25d19 Loading: add custom spinner and background 2017-10-09 04:39:40 -05:00
wayne
5069718c4f Carbon: fix scrollbar style in safari & ff 2017-10-09 04:15:36 -05:00
Leopoldthecoder
f46f931daa [build] 2.0.0-alpha.2 2017-10-05 10:21:50 +08:00
Leopoldthecoder
53f9e5ee2e Changelog: update for 2.0.0-alpha.2 2017-10-04 21:11:06 -05:00
Leopoldthecoder
f073a087ce fix docs theme switch bug 2017-10-04 08:50:15 -05:00
Leopoldthecoder
88811bd14e update docs theme switcher 2017-10-04 08:25:13 -05:00
Leopoldthecoder
e2be799e6d Button: fix disabled attribute 2017-10-04 07:50:11 -05:00
Leopoldthecoder
42cde204da update primary color & add popper-class for ColorPicker 2017-10-04 07:44:34 -05:00