Commit Graph

1661 Commits (c1155b3be04ff4871107f2a0aba246cf99869706)

Author SHA1 Message Date
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
Brad Adams 0de6b447e5 Table: Add `important` rule to `col-resize` cursor (#7381)
* Table: Add `important` rule to `col-resize` cursor

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

* Update table-header.js
2017-10-09 07:07:10 -05:00
Leopoldthecoder 1e57f25d19 Loading: add custom spinner and background 2017-10-09 04:39:40 -05:00
Leopoldthecoder f46f931daa [build] 2.0.0-alpha.2 2017-10-05 10:21:50 +08: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
Leopoldthecoder cd409ced7c docs responsive 2017-10-03 03:54:38 -05:00
wacky6.AriesMBP 0ec3bea9b0 select: fix el.form.change emission 2017-10-01 20:52:15 -05:00
Leopoldthecoder ee63e1e0af Dropdown: fix duplicate visibleArrow declaration 2017-10-01 07:19:56 -05:00
Leopoldthecoder 186143b138 Menu: fix setAttribute error 2017-10-01 07:10:29 -05:00
Hoxton Lau 2cf9c4e7a7 Form-item: fix "required" attribute is not effective for validation 2017-10-01 03:06:17 -05:00
Leopoldthecoder 4b47beb499 [build] 2.0.0-alpha.1 2017-09-30 16:05:48 +08:00
杨奕 e089516e36 Changelog: update for 2.0.0-alpha.1 (#7303)
* minor updates & fixes

* Changelog: update for 2.0.0-alpha.1

* update zh installation doc

* update demo block scroll
2017-09-30 02:57:08 -05:00
Black Wayne bf76a7d941 Carbon: doc's scroll & primary color (#7299)
* Carbon: sidenav & table & changelog

* Carbon: doc style update

* Carbon: fix header's bg

* Carbon: use el-scrollbar

* Carbon: gogogo

* Carbon: doc fix scroll bug

* Carbon: update in resize

* the same as lastone

* Carbon: fix nav fade
2017-09-30 02:50:04 -05:00
Leopoldthecoder 257473f305 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	examples/app.vue
#	examples/docs/en-US/tree.md
#	examples/docs/zh-CN/tree.md
#	examples/versions.json
#	packages/select/src/select.vue
#	packages/theme-default/package.json
2017-09-29 16:21:29 +08:00
Leopoldthecoder 1214a24d0c update docs style vol.2 2017-09-29 03:13:27 -05:00
maranran d66473f005 add accessibility for input & rate & collapse & progress & upload (#7196) 2017-09-29 02:58:07 -05:00
Black Wayne 5ce0e22823 Steps: add chalk theme (#7274)
* Steps: add chalk theme

* Update steps.md

* Update steps.md

* Update steps.md
2017-09-28 22:41:59 -05:00
杨奕 21c579179c remove theme-default (#7273) 2017-09-28 05:01:29 -05:00
杨奕 b578670168 update color docs (#7256)
* update color docs

* fix button test
2017-09-28 02:28:12 -05:00
Black Wayne 8774311c76 Breadcrumb: add chalk theme (#7203)
* Breadcrumb: add chalk theme

* Breadcrumb: fix bugs

* fix pagination sizes' arrow
2017-09-27 23:22:30 -05:00
Leopoldthecoder e1e6adbb23 [build] 1.4.6 2017-09-27 13:34:35 +08:00
Leopoldthecoder a4eb891a21 DatePicker: fix initial value of [] in range type 2017-09-26 19:32:49 -05:00
maran d6f04caefd add accessibility for menu 2017-09-26 06:48:01 -05:00
maran 0a597a949e add accessibility for slider and fixbug for unittest 2017-09-26 06:48:01 -05:00
Leopoldthecoder 0ed1aa6f82 update notification docs 2017-09-26 05:29:39 -05:00
wenqing 58542b3a5e Select Autocomplete: change dropdown popper default options (#7227) 2017-09-26 02:54:09 -05:00
Leopoldthecoder 9e67ec3506 Tree: get prop from data if not specified in `props` 2017-09-26 02:00:14 -05:00
Leopoldthecoder 2fae006ba1 Cascader: fix filter 2017-09-26 01:02:10 -05:00
Gabriel Oliveira 209c4f86af Notification: add showClose option (#6402)
* Adding showClose option on Notification

* Update notification.md
2017-09-25 23:15:58 -05:00
Leopoldthecoder a35ab0bb03 Autocomplete: support scoped slot as custom template 2017-09-25 06:44:03 -05:00
Leopoldthecoder f457cd7f57 Tooltip: fix disabled tooltip affecting other instances 2017-09-25 06:43:56 -05:00
Leopoldthecoder 1552f87592 Slider: fix button jumping to previous value when clicked 2017-09-24 06:27:08 -05:00
Leopoldthecoder 4e5bbbc978 [build] 1.4.5 2017-09-24 15:53:25 +08:00
Leopoldthecoder 98fa352041 Select: update input height in multiple mode 2017-09-23 22:39:46 +08:00
Leopoldthecoder 7b8250b4e2 Select: return when query is null 2017-09-23 03:05:46 -05:00
Leopoldthecoder ffe6b8933c DatePicker: fix date input format 2017-09-23 02:06:40 -05:00
杨奕 9acdc8e4c3 DatePicker/TimePicker: add chalk theme (#7169)
* DatePicker/TimePicker: add chalk theme

* minor updates
2017-09-22 23:46:37 -05:00
Hoxton Lau 06d29e2ed6 Form-item: fix typo 2017-09-22 04:47:17 -05:00
Black Wayne dda21ce96e Input / Input Number: add chalk theme (#7178)
* Input / Input Number: add chalk theme

* Update Input Number doc
2017-09-22 04:46:34 -05:00
Dreamacro 9bae0160f4 Pagination: add chalk theme (#7005)
* Pagination: add chalk theme

* Pagination: fix test

* Pagination: del useless test case

* Pagination: fix shake of number
2017-09-22 01:33:03 -05:00
Black Wayne 1ba90b9534 Table: add chalk theme (#7059)
* Table: add chalk theme

* Table: add group header & other

* Table: del package.lock

* Table: del single test trace

* Table: fix border problem

* Table: fix boder problem

* Table: clean css

* Table: footer border right - -|
2017-09-22 01:30:44 -05:00
Hex a69d975730 Loading: update code style (#7152) 2017-09-21 06:14:06 -05:00
Leopoldthecoder cb1d6bebe4 update Select and Cascader chalk theme 2017-09-20 22:58:02 -05:00
Black Wayne 31b9429edf Select / Cascader: add chalk theme (#7109)
* Select & Cascader: add chalk theme

* Select / Cascader: fix test
2017-09-20 21:55:46 -05:00
Dreamacro 1912c473ef Picker only emit user change (#6214)
* only emit user change for timepicker and datepicker

* Test: remove custom timeout
2017-09-20 01:34:49 -05:00
Leopoldthecoder b922664aa6 Merge remote-tracking branch 'eleme/dev' into carbon
# Conflicts:
#	examples/docs/en-US/input.md
#	examples/docs/zh-CN/input.md
2017-09-20 12:23:38 +08:00
Leopoldthecoder dba797416e DatePicker: fix disabled dates for the west hemisphere 2017-09-19 23:07:35 -05:00
杨奕 ad88dd2ec7 TimePicker: add chalk theme (#7102)
* TimePicker: add chalk theme

* minor style fixes
2017-09-19 09:35:57 -05:00
Black Wayne 2a0a4bc651 Dropdown: add chalk theme (#7089)
* Dropdown: add chalk theme

* Dropdown: update doc

* Update dropdown.md
2017-09-18 23:47:13 -05:00
Leopoldthecoder 9f9629d2bb Upload: fix handleRemove param error 2017-09-18 05:11:49 -05:00
baiyaaaaa 91d9ed7feb feature inline message 2017-09-18 00:37:43 -05:00
baiyaaaaa 0b3a2f70c4 fix cascader test 2017-09-18 00:37:43 -05:00
baiyaaaaa 84517bb5d9 fix input test 2017-09-18 00:37:43 -05:00
baiyaaaaa 6e31e61516 support success validate status 2017-09-18 00:37:43 -05:00
baiyaaaaa 5c17f57995 upgrade input 2017-09-18 00:37:43 -05:00
wacky6.AriesMBP d35ae01042 DatePicker: support default-value for date-range 2017-09-17 21:46:31 -05:00
Leopoldthecoder 678cf1103f Table: fix single filter active state 2017-09-17 07:51:39 -05:00
wayne 41e1f75b8a Dialog: add chalk theme 2017-09-16 08:22:27 -05:00
Leopoldthecoder 27dcb4e40a Menu: add chalk theme 2017-09-16 08:20:55 -05:00
thegatheringstorm 4d2fac6f60 Upload: convert var to const and let 2017-09-16 07:33:25 -05:00
thegatheringstorm 6e3f46a500 Upload: convert map to forEach 2017-09-15 04:07:13 -05:00
杨奕 9be1a0ae8a update doc (#7033)
* Tooltip: update zh-CN doc

* Tooltip: update en doc

* Autocomplete: update docs
2017-09-14 23:16:45 -05:00
ryatziv 586bde090c Autocomplete: emit select of textbox value when no selection is made. (#6428)
* when pressing enter without a selection, select the currently entered text and clear selections.

* added "select-when-unmatched" flag

* restored "???" to "-"
2017-09-14 22:11:07 -05:00
Black Wayne 7e365e244c MessageBox: add chalk theme (#7029)
* Message Box: add chalk theme

* Message Box: doc fix

* Message Box: change prop name into center
2017-09-14 21:15:44 -05:00
Leopoldthecoder 43ecb8818c Merge branch 'dev' into carbon
# Conflicts:
#	packages/date-picker/src/panel/time.vue
2017-09-14 19:33:49 +08:00
Leopoldthecoder 36d4f0a6fc Select: move setSelect to mounted hook 2017-09-14 06:29:15 -05:00
Leopoldthecoder e8516d633a ColorPicker: add chalk theme 2017-09-14 05:46:09 -05:00
Leopoldthecoder a750f5d6b1 TimePicker: fix cancel button 2017-09-14 05:39:54 -05:00
Leopoldthecoder f01df258f4 Tag: add chalk theme 2017-09-14 04:23:40 -05:00
Leopoldthecoder 34dc51bb8b Card: add chalk theme 2017-09-14 02:31:58 -05:00
Dreamacro 5e8dfd0738 Tree: add chalk theme (#6901)
* Playground: bump to new theme

* Tree: update chalk theme

* update doc

* Update var.scss
2017-09-13 22:34:26 -05:00
Black Wayne e62f8c1414 Popover: add chalk theme (#7003)
* Popover: add chalk theme

* Popover: add chalk theme
2017-09-13 22:34:13 -05:00
Dreamacro c20954f1f2 Notification: add chalk theme 2017-09-13 22:22:52 -05:00
Dreamacro 4c2a0d40e9 fix disabled indeterminate checkbox style 2017-09-13 22:18:27 -05:00
Leopoldthecoder e40609e2c7 Tabs: add chalk theme 2017-09-13 21:46:31 -05:00
Leopoldthecoder 11827f222f Switch: add chalk theme 2017-09-13 21:46:00 -05:00
ryatziv 070f60c307 Tooltip: add hide-after timeout for hiding tooltip (#6401)
* added hide-after timeout for hiding tooltip

* restored clearTimeout(this.timeout) in handleClosePopper()
2017-09-13 21:45:25 -05:00
Leopoldthecoder 2df521482b Transfer: add chalk theme 2017-09-13 02:48:21 -05:00
Leopoldthecoder 9aea008b25 Collapse: add chalk theme 2017-09-12 13:45:16 +08:00
Leopoldthecoder 2057604e24 Tooltip: avoid adding handler repeatedly 2017-09-12 13:12:46 +09:00
Leopoldthecoder bd7ef92583 dropdown: reactive disabled trigger element 2017-09-12 12:49:28 +09:00
Hejx 心流 8fc973c51a LoadingL optimize the close process (#6966)
* Remove useless parameters

* Remove useless parameters

* [Tree docs] Modify typos

* [Loading] Optimize the close process

* Optimize the close process

* Revert the yarn.lock

* Update yarn.lock
2017-09-12 12:20:02 +09:00
Leopoldthecoder a6016a5cc4 Alert: add chalk theme 2017-09-11 19:50:00 +09:00
Leopoldthecoder 4609154475 Tree: fix current-node-key === 0 bug 2017-09-11 19:49:48 +09:00
Leopoldthecoder a1e8c52d9f Message: add chalk theme 2017-09-06 13:39:44 +08:00
Leopoldthecoder fece184c64 Table: sortable header discoverability 2017-09-06 12:42:01 +08:00
Lukasz Balcerzak 40c204d3d6 Fixed reactivity of colors prop for rate component 2017-09-06 10:00:16 +08:00
Leopoldthecoder efdf74d1a6 [build] 1.4.4 2017-09-05 17:39:20 +08:00
huguangju e3c0e2ef05 Pagination: fix Jumper value should reassign when internalCurrentPage greater than internalPageCount 2017-09-05 17:12:18 +08:00
QingDeng adf357fb36 DatePicker:fix month status check Bug
fix month status check Bug
2017-09-03 20:46:23 +08:00
fanzhaobing 48074f2eee Slider: add props debounce 2017-09-02 17:49:56 +08:00
Leopoldthecoder ef61460688 Merge branch 'carbon-1' into carbon 2017-09-01 10:56:25 +08:00
Leopoldthecoder 6ff168fd57 Dropdown: take care of disabled triggering element 2017-09-01 10:44:49 +08:00
Leopoldthecoder 3a005ef5da Table: fix undefined popper 2017-08-30 10:28:25 +08:00
Hejx 4b4b6ddf97 Remove useless parameters 2017-08-28 18:16:27 +08:00
Hejx f68af37f26 Remove useless parameters 2017-08-28 18:16:27 +08:00
QingDeng 5f05fd18fd TimePicker:fix hour selection can't select 23 bug 2017-08-28 11:20:35 +08:00
Leopoldthecoder 6ffcf5f79f [build] 1.4.3 2017-08-25 16:46:39 +08:00
WittBulter 6648c36a6c Input: fix params type 2017-08-25 15:05:34 +08:00
Leopoldthecoder 512543e35b add api for radio and checkbox 2017-08-25 13:37:56 +08:00
Leopoldthecoder 48135c7c50 Table: fix toFixed parameter overflow 2017-08-25 13:32:48 +08:00
Leopoldthecoder f0c4c5b587 InputNumber: fix style when nested in form item 2017-08-23 18:08:29 +08:00
杨奕 79016032ea scaffolding chalk (#6643)
* scaffolding chalk

* update button
2017-08-23 18:07:14 +08:00
Leopoldthecoder 12823a6e24 Pagination: fix editor style in firefox 2017-08-22 18:13:00 +08:00
Leopoldthecoder 2bf285d0cf Dialog: fix close button style 2017-08-22 12:46:36 +08:00
杨奕 bf6661266a add layout (#6600)
* add layout

* add docs

* add en docs

* fix test
2017-08-22 12:46:22 +08:00
leezng f7b08a9997 fixed el-alert: if using slot, icon should use 'isBigIcon' class 2017-08-22 09:46:38 +08:00
Leopoldthecoder 8e8b172bdc Select: remove onOptionDestroy event 2017-08-21 11:42:36 +08:00
Leopoldthecoder 735ef1ac51 Slider: reset size on click / drag 2017-08-21 11:42:21 +08:00
Prasino 931f75474e Table: fix scroll delta check bug (#6581)
* Table : fix summary scroll delta check bug
bug description: when scroll event triggered in footerWrapper,it's not event.deltaX that changed, it's event.deltaY.

* Table : fix summary scroll delta check bug
bug description: when scroll event triggered in footerWrapper,it's not event.deltaX that changed, it's event.deltaY.

* Table: fix wheelEvent check bug

* Update table.vue

* Update table.vue
2017-08-19 22:29:15 +08:00
杨奕 c7ce5c78ce Update month-table.vue 2017-08-19 19:49:00 +08:00
lingchenxuan 74970c8bde DatePicker: fix month viewer disable date bug 2017-08-19 19:49:00 +08:00
Leopoldthecoder 93910da173 Loading: use getStyle 2017-08-19 16:20:18 +08:00
Leopoldthecoder 534f9923b7 MessageBox: support empty title 2017-08-18 16:25:38 +08:00
Leopoldthecoder d6f3be8354 DatePicker: support amPm i18n 2017-08-18 14:57:51 +08:00
Leopoldthecoder 122c3690df Menu: optimize collapse animation 2017-08-18 14:34:37 +08:00
Leopoldthecoder e289e86154 Button: avoid click event bubbling when disabled 2017-08-18 14:34:00 +08:00
leezng dc77b56d31 Missing semicolon semi 2017-08-18 13:58:44 +08:00
leezng 5268a8f8c1 Autocomplete: Don't prevent form submit 2017-08-18 13:58:44 +08:00
Leopoldthecoder 018931a74f Cascader: fix duplicate prop name 2017-08-18 12:24:06 +08:00
Kordan Ou 66aa58fd99 Menu: fix typo activedIndex -> activeIndex 2017-08-18 12:23:32 +08:00
Leopoldthecoder 2250162553 Checkbox: change event only triggers on user input 2017-08-18 12:22:19 +08:00
Leopoldthecoder 1ea66bdfe4 Carousel: fix flashing items 2017-08-18 12:21:34 +08:00
kingwl e647bc994f Progress: fix incorrect vertical align if percent is zero 2017-08-17 16:39:03 +08:00
Leopoldthecoder 77ddecea25 Rate: add show-score, fix change event timing 2017-08-13 14:47:02 +08:00
Leopoldthecoder 22ab137963 Radio: change event only triggers on user input 2017-08-13 14:46:00 +08:00
Leopoldthecoder bb58f00746 Slider: change event only triggers on user input 2017-08-13 14:45:44 +08:00
Dreamacro a1324324a2 DateTimePicker: limit timepicker (#6076)
* fix: #5045

* fix: #5045
2017-08-13 12:00:33 +08:00
Leopoldthecoder a5e5be3d7a Pagination: add popperClass 2017-08-13 11:59:17 +08:00
baiyaaaaa 1f2ee02b3a support dropdown placement 2017-08-13 11:09:53 +08:00
Leopoldthecoder e3aa5ac594 Merge branch 'dev' into carbon 2017-08-09 12:37:42 +08:00
Leopoldthecoder ed2f344690 [build] 1.4.2 2017-08-09 12:23:38 +08:00
Leopoldthecoder 0966662dc0 Table: allow omitting prop if sort-method is provided 2017-08-09 11:52:27 +08:00
Leopoldthecoder aae78193f9 Table: hide table when nested in an invisible container 2017-08-09 11:52:27 +08:00
Leopoldthecoder 7fa2967515 Autocomplete: support autofocus 2017-08-09 09:57:45 +08:00
Leopoldthecoder 22aae94936 DatePicker: fix fecha i18n not responsive 2017-08-09 09:55:00 +08:00
Leopoldthecoder d31b33a1f2 Slider: fix button jumping to 0 when clicked 2017-08-09 09:54:48 +08:00
QingDeng d40d256729 Pagination: fix IE onchange doesn't work Bug (#6306)
* Pagination:fix IE onchange doesn't work Bug

Pagination:fix IE onchange doesn't work Bug

* Update pagination.js

* Update pagination.js
2017-08-06 16:13:35 +08:00
Leopoldthecoder 1a1395aa8c Merge remote-tracking branch 'eleme/dev' into carbon 2017-08-05 18:36:14 +08:00
maranran c20ff5e55c [Button] add accessibility (#6180)
* 	add accessibility for Alert、Button、 Breadcrumb、 Checkbox

* Update checkbox.md
2017-08-05 18:33:50 +08:00
Leopoldthecoder 917ce43cad Select: optimize onOptionDestroy 2017-08-05 18:00:56 +08:00
Leopoldthecoder f23629ac43 Select: remove resetIndex 2017-08-05 18:00:56 +08:00
Leopoldthecoder f477390c79 Message: add dangerouslyUseHTMLString 2017-08-05 17:52:53 +08:00
Leopoldthecoder 50e2f23436 Message: refactor icon 2017-08-05 17:52:53 +08:00
Leopoldthecoder 84657095c4 Dialog: fix vuex compatibility 2017-08-05 17:52:20 +08:00
Leopoldthecoder 7f70ea6726 Dialog: remove v-model, add append-to-body 2017-08-05 17:52:20 +08:00
Dreamacro 41c19249ab Tree: add check-descendants attribute 2017-08-05 17:36:30 +08:00
Dreamacro 54e5cd2340 Tree: render when node expand 2017-08-05 17:34:40 +08:00
Dreamacro 78e947bcac ColorPicker: support user input (#6167)
* ColorPicker: support user input

* support alpha

* Update picker-dropdown.vue
2017-08-05 16:58:09 +08:00