项目原始demo,不改动
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
Questo repository è archiviato. Puoi vedere i file e clonarli, ma non puoi effettuare richieste di pushj o aprire problemi/richieste di pull.

CHANGELOG.en-US.md 52 KiB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331
  1. ## Changelog
  2. ### 2.9.2
  3. *2019-06-21*
  4. #### Bug fixes
  5. - Chore
  6. - Fix TS definitions file (#15805 by @NateScarlet)
  7. ### 2.9.1
  8. *2019-05-30*
  9. #### New features
  10. - Table
  11. - default-expand-all, expand-row-keys, toggle-row-expansion method and expand-change event are supported in Tree Table (#15709 by @ziyoung)
  12. #### Bug fixes
  13. - Table
  14. - Fix some bugs (#15709 by @ziyoung)
  15. - Theme
  16. - Update api host (#15784 by @iamkun)
  17. #### Optimization
  18. - Chore
  19. - Update InfiniteScroll type (#15794 by @iamkun)
  20. ### 2.9.0
  21. *2019-05-30*
  22. #### New features
  23. - Backtop
  24. - Add Backtop component (#15541 by @iamkun)
  25. - PageHeader
  26. - Add PageHeader component (#15714 by @ziyoung)
  27. - InfiniteScroll
  28. - Add InfiniteScroll directive (#15567 by @iamkun)
  29. - Cascader
  30. - Add multiple mode and filter-method (#15611 by @SimonaliaChen)
  31. - Message
  32. - Display in stack mode (#15639 by @island205)
  33. - Tag
  34. - Add prop effect (#15725 by @SimonaliaChen)
  35. - Tabs
  36. - Left align title when type is card (#15695 by @luckyCao)
  37. - DatePicker
  38. - Support literal strings (#15525 by island205)
  39. - Image
  40. - Add support for transmit attrs and listeners (#15578 by @VanMess)
  41. - Theme
  42. - Add popup background (#15412 by @iamkun)
  43. - Chore
  44. - Update new 2.9.0 index page (#15682 by @iamkun)
  45. #### Bug fixes
  46. - Table
  47. - Fix sort-change behaviour when sort condition is null (#15012 by @joelxr)
  48. - Image
  49. - Fix ssr and object-fit compatibility (#15346 by @SimonaliaChen)
  50. - Input
  51. - Fix show-word-count style in el-form (#15359 by @lvjiaxuan)
  52. - Fix clear icon is not centered (#15354 by @YiiGuxing)
  53. - Calendar
  54. - Fix not correct day of week when the day is Sunday (#15399 by @qingdengyue)
  55. - Fix October disappear bug (#15394 by @qingdengyue)
  56. - Tabs
  57. - Fix basic tab nested in card tab padding error (#15461 by @SimonaliaChen)
  58. - Tag
  59. - Fix stop propagation problem (#15150 by @infjer)
  60. - Form
  61. - Fix input-group within form-item height error (#15457 by @SimonaliaChen)
  62. - Fix resetFields issue (15181 by @luckyCao)
  63. - Tooltip
  64. - Fix custom tabindex not work (#15619 by @SimonaliaChen )
  65. - Link
  66. - Fix link icon style class (#15752 by @iamkun)
  67. - Select
  68. - Revert set value to null when cleared (#15447 by @iamkun)
  69. - Loading
  70. - Fix dom not change when loading state change quickly (#15123 by @FAKER-A)
  71. - Switch
  72. - Label with el-switch repeating event (#15178 by @FAKER-A)
  73. - Slider
  74. - Fix style problem when clicking slider bar(#15561 by @luckyCao)
  75. - Radio
  76. - Fix issue 14808 (#14809 by @OverTree)
  77. - Form
  78. - Fix resetFields issue (15181 by @luckyCao)
  79. - Chore
  80. - Upgrade dependencies and fix demo bug (#15324 by ziyoung)
  81. - Type
  82. - Fix loading type definition (#15635 by @iamkun)
  83. - Fix Icon type (#15634 by @iamkun)
  84. - Fix Link type definition (#15402 by @iamkun)
  85. #### Optimization
  86. - Cascader
  87. - Refactor (#15611 by @SimonaliaChen)
  88. - Chore
  89. - Update make new component logic (by @iamkun)
  90. - Docs
  91. - Rename variable in docs (#15185 by @liupl)
  92. - Fix image attribute type and default value (#15423 by @haoranyu)
  93. - Fix form doc bug (#15228 by @SHERlocked93)
  94. ### 2.8.2
  95. *2019-04-25*
  96. #### Bug fixes
  97. - Icon
  98. - Update icon (#15272 by @iamkun)
  99. - Docs
  100. - Fix Form and Input doc style (#15273 by @ziyoung)
  101. ### 2.8.1
  102. *2019-04-25*
  103. #### Bug fixes
  104. - Icon
  105. - Update icon of cascader and select (#15264 by @SimonaliaChen)
  106. - Update icon (#15258 #15268 by @iamkun)
  107. #### Optimization
  108. - Chore
  109. - Update build script (#15267 by @ziyoung)
  110. - Docs
  111. - Fix link underline color (#15265 by @iamkun)
  112. - Other
  113. - Fix migrating config not compatible with camel case props and events (#15260 by @SimonaliaChen)
  114. ### 2.8.0
  115. *2019-04-25*
  116. #### New features
  117. - Divider
  118. - Add divider component (#15055 by @island205)
  119. - Rate
  120. - Add custom colors and icon-classes by passing a object (#15051 by @SimonaliaChen)
  121. - Link
  122. - Add link component (#15052 by @iamkun)
  123. - Calendar
  124. - Add calendar component (#14908 by @ziyoung)
  125. - Icon
  126. - Add icon (#15214 by @iamkun)
  127. - Alert
  128. - Add dark theme (#15041 by @island205)
  129. - Image
  130. - Add image component (#15117 by @SimonaliaChen)
  131. - Collapse
  132. - CollapseItem can be disabled (#15076 by @ziyoung)
  133. - Carousel
  134. - Add direction attribute and support vertical direction (#15122 by @ziyoung)
  135. - Pagination
  136. - Add hide-on-single-page attribute (#15096 by @ziyoung)
  137. - Slider
  138. - Add marks attribute (#15133 by @luckyCao)
  139. - Input
  140. - Add show-word-count attribute (#15075 by @luckyCao)
  141. - InputNumber
  142. - Add step-strictly attribute (#15050 by @luckyCao)
  143. - Tooltip, Dropdown, Popover
  144. - Support tabindex attribute (#15167 by @ziyoung)
  145. #### Bug fixes
  146. - Notification
  147. - Fix title word break (#15008 by @iamkun)
  148. - Form
  149. - Fix switching the rules in el-form not work (#14985 by @luckyCao)
  150. - Fix label style (#14969 by @ziyoung)
  151. - Required FormItem displays asterisk when label is auto (#15144 by @ziyoung)
  152. - Pagination
  153. - Fix slot not updated (#14711 by @lucyhao)
  154. - Table
  155. - Fix load bug in lazy mode (#15101 by @ziyoung)
  156. - Fix cell width when colspan is grater than 1 (#15196 by @ziyoung)
  157. - Improve performance (#14868 by @ziyoung)
  158. - Don't emit triggers sort-change during initialization (#14625 by @PeanutWatson)
  159. - Equal behaviour for height and max-height (#14660 by @arthurdenner)
  160. - Dialog
  161. - Fix dialog body correctly break long words (#15027 by @iamkun)
  162. - Alert
  163. - update type definition (#15186 by @ziyoung)
  164. - Tabs
  165. - Fix issue where Promise rejection was hitting application (#14816 by @ffxsam)
  166. - Rerender when slot changes (#15238 by @ziyoung)
  167. - Message
  168. - Fix type definition (#14968 by @agoni1212)
  169. - Select
  170. - Fix error when value is undefined or null (#15022 by @luckyCao)
  171. - Tree
  172. - Delete current node after it removed (#14604 by @sinchang)
  173. - Improve performance (#14881 by @ChenZhuoSteve)
  174. - Dropdown
  175. - Fix style (#14907 by @doing123)
  176. - Slider
  177. - Fix broken keyboard a11y bug (#14792 by @erezsob)
  178. - Menu
  179. - ActiveIndex value shall be null if defaultIndex does not exist(#14074 by @hoythan)
  180. - Directive
  181. - RepeatClick: use Date.now() instead of new Date() (#14776 by @pavelmash)
  182. - Upload
  183. - Fix Upload transparent picture display style (#15039 by @iamkun)
  184. - Theme
  185. - Add zero border (#15256 by @iamkun)
  186. #### Optimization
  187. - Chore
  188. - Update changelog zh-cn (#14965 by @iamkun)
  189. - Hide demo description when it's empty (#15014 by @ziyoung)
  190. - Display dev server info by default by @iamkun)
  191. - Fix 2.6.0 changelog error (#15026 by @iamkun)
  192. - Update build config (#14821 by @abc3660170)
  193. - Add hmr (#15221 by @SimonaliaChen)
  194. - Use sourcemap in dev environment (#15087 by @ibufu)
  195. Docs
  196. - Rename variable in docs (#14602 #15003 #15094 #15105 by @liupl)
  197. - Fix upload doc error (#15023 by @iamkun)
  198. - Update Form custom validator doc (#15040 by @iamkun)
  199. - Update Tabs docs to display vertical tabs (#15053 by @iamkun)
  200. - Use eleme.cn as domain (#15139 by @ziyoung)
  201. - Fix Image route name (#15194 by @iamkun)
  202. - Remove duplicated fr translation (#15207 by @iamkun)
  203. #### Breaking changes
  204. - Rate
  205. - Fix decimal display support in disabled mode (#15089 by @haoranyu)
  206. - Select
  207. - Use placeholder option label to set placeholder in filter mode (#14989 by @ibufu)
  208. ### 2.7.2
  209. *2019-04-03*
  210. #### Bug fixes
  211. - Form
  212. - Fix auto `label-width` style (#14955 by @ziyoung)
  213. #### Optimization
  214. - Docs
  215. - Fix doc img link error (#14957 by @iamkun)
  216. - Chore
  217. - Fix deploy mkdir error (#14952 by @iamkun)
  218. ### 2.7.1
  219. *2019-04-03*
  220. #### Bug fixes
  221. - Select
  222. - Set value to null when cleared (#14322 by @aaronfulkerson)
  223. - Input
  224. - Update DOM dependent values on type change (#14889 by @wacky6)
  225. - Table
  226. - Make `defaultExpandAll` works when expanded column exists (#14935 by @ziyoung)
  227. - Dialog
  228. - Background color can be configured (#14939 by @ziyoung)
  229. - Form
  230. - `label-width` supports auto width (#14944 by @ziyoung)
  231. #### Optimization
  232. - Docs
  233. - Update Spanish docs (#14913 by @Gonzalo2310)
  234. - Add French doc for new component (#14924 by @ziyoung)
  235. - Optimize Tabs docs (#14938 by @ziyoung)
  236. ### 2.7.0
  237. *2019-03-28*
  238. #### New features
  239. - Table
  240. - Add support tree structure data (#14632 by @ziyoung)
  241. #### Bug fixes
  242. - Tabs
  243. - Use primary color as boxShadow color (#14558 by @Richard-Choooou)
  244. - Rerender when label changes (#14496 by @akki-jat)
  245. - Table
  246. - Footer follows body cell align (#14730 by @ziyoung)
  247. - NavMenu
  248. - Fix click el-submenu trigger childMenu pop again bug (#14443 by @PanJiaChen)
  249. - Dropdown
  250. - Make compatible with 2.6 new v-slot syntax (#14832 by @ziyoung)
  251. - ColorPicker
  252. - Fix handle error hex color string (#14793 by @iamkun)
  253. - Tree
  254. - Revert pr #13349 (#14847 by @ziyoung)
  255. - Tooltip
  256. - Display when initial value is true (#14826 by @ziyoung)
  257. - Docs
  258. - Update cascader docs (#14442 by @panhezeng)
  259. - Style
  260. - Fix media query in sm-only, md-only, lg-only (#14611 by @sinchang)
  261. #### Optimization
  262. - Chore
  263. - Add webpage description (#14802 by @iamkun)
  264. ### 2.6.3
  265. *2019-03-21*
  266. #### Bug fixes
  267. - Fix Cascader demo style (#14789 by @ziyoung)
  268. - Remove unnecessary DOM operation (#14788 by @ziyoung)
  269. - Fix DatePicker default-value DST (#14562 by @wacky6)
  270. ### 2.6.2
  271. *2019-03-21*
  272. #### New features
  273. - DatePicker
  274. - Add monthrange for type attribute (#14487 by @zxyRealm)
  275. - i18n
  276. - Add Croatian locale (#14360 by @danijelh)
  277. #### Bug fixes
  278. - Input
  279. - Fix regression (#14572 by @wacky6)
  280. - DatePicker
  281. - Fix first-day-of-week computation (#14523 by @sinchang)
  282. - Fix week picker's value-format (#13754 by @wacky6)
  283. - Steps
  284. - Fix issue #14502 (#14596 by @sinchang)
  285. - Fix style with simple theme (#14610 by @sinchang)
  286. - Docs
  287. - Update french doc for 2.6.1 and fix typos (#14555 by @smalesys)
  288. - Rename variable in Table docs (#14587 by @likwotsing)
  289. - Add french search index (#14565 by @iamkun)
  290. - Fix TimePicker page style (#14579 by @ziyoung)
  291. - Rename variable in Upload docs (#14593 by @liupl)
  292. - French translation update (#14643 by @smalesys)
  293. - Update Form async validator docs (#14694 by @iamkun)
  294. - Fix tooltip doc error (#14748 by @iamkun)
  295. - Fix typo (#14751 by @2bj)
  296. - Fix highlighting control elements for Webkit touch (#14703 by @VladG0r)
  297. #### Optimization
  298. - Chore
  299. - Update ci build script (#14600 by @ziyoung)
  300. - Update ga tracking (#14560 by @iamkun)
  301. - Add more ga event (#14633 by @iamkun)
  302. - Update discusion group (#14741 by @iamkun)
  303. - Update test deps and conf (#14735 by @wacky6)
  304. - Upgrade gulp (#14745 by @ziyoung)
  305. - Use codepen to display demo & fix doc error (#14747 by @ziyoung)
  306. ### 2.6.1
  307. *2019-03-03*
  308. #### Bug fixes
  309. - **Don't specify node version** (by @iamkun in #14546)
  310. - Fix doc directory in `deloy-faas.sh` (by @ziyoung in #14553)
  311. - Fix date style issue in changelog for 2.6.0 (by @island205 in #14547)
  312. - Fix doc typo (by @wack6 in #14552)
  313. ### 2.6.0
  314. *2019-03-01*
  315. #### New features
  316. - Timeline
  317. - Add timeline component (by @jikkai in #14248)
  318. - DropdownItem
  319. - Add icon prop to `el-dropdown-item` (by @gabrielboliveira in #14088)
  320. - Input
  321. - Add show-password props (by @phshy0607 in #13966)
  322. - Select
  323. - Add slot `empty` (by @elfman in #13785)
  324. - Autocomplete
  325. - Add highlight-first-item prop (by @YamenSharaf in #14269)
  326. - I18n
  327. - Created Armenian locale (by @hamletbarsamyan in #14214)
  328. - Docs
  329. - French translation (by @smalesys in #12153, #14418, #14434)
  330. #### Optimization
  331. - Alert
  332. - Update alert description default slot class (by @iamkun in #14488)
  333. - Input
  334. - Update input password (by @iamkun in #14480)
  335. - InputNumber
  336. - Remove unnecessary parseFloat (by @JuniorTour in #14172)
  337. - Menu
  338. - Add support for `el-menu-item` without index (by @georgyfarniev in #13298)
  339. - Table
  340. - Remove some html DOM operations (by @elfman in #13643)
  341. - Upload
  342. - Optimize code (by @elfman in #13973)
  343. - Popup
  344. - Optimize code (by @KAionro in #14413)
  345. - Docs
  346. - Add more detail about how to run play mode for contribution (by @island205 in #14355)
  347. - Warn input as a controlled component. (by @wacky6 in #14463)
  348. - Update Table doc (by @luguokong in #14329)
  349. - Update input doc (by @iamkun in #14437)
  350. - Update custom-theme docs (by @wangguohao in #14297)
  351. - Make the icon style change when hover on it (by @tuxinghuan in #14295)
  352. - Build
  353. - Minimizing css and js for Element doc site (by @iamkun in #14430)
  354. - Speeding up webpack (by @hetech in #14484)
  355. - Use cli to select release version (by @hetech in #14354)
  356. - Install stale for issue handling (by @island205 in #14392)
  357. #### Bug fixes
  358. - Menu
  359. - Fix subMenu focus bug when switch browser tab (by @liupl in #13976)
  360. - MessageBox
  361. - Fix type definition (by @NateScarlet in #14278)
  362. - ScrollBar
  363. - Prevent right button click on thumb (by @xifeiwu in #14196)
  364. - Switch
  365. - Trigger form validation if value changes (by @hetech in #14426)
  366. - Table
  367. - Make toggleAllSelection method an instance method (by @letanure in #14075)
  368. - Tabs & Dropdown
  369. - Fix style (by @hetech in #14452)
  370. - Tree
  371. - Empty-text tips are different from tables (by @ColinCll in #14331)
  372. - Docs
  373. - Fix DatetimePicker format doc error (by @iamkun in #14290)
  374. - Spelling issue in datepicker documentation (by @helmut in #14481)
  375. - Fix pagination doc style (by @liuchuzhang in #14451)
  376. #### Breaking changes
  377. - Table
  378. - Fix params order of row events (by @jikkai in #12086)
  379. ### 2.5.4
  380. *2019-02-01*
  381. #### Bug fixes
  382. - Build: Fix babel config issue which lead to collapse transition broken (by @island205 in #14282)
  383. ### 2.5.3
  384. *2019-01-31*
  385. #### Optimization
  386. - Optimize code of Message (by @vok123 in #14029)
  387. - Retire gh-pages (by @ziyoung in #14266)
  388. - Add IssueHunt link (by @island205 in #14261)
  389. #### Bug fixes
  390. - Fix UMD module error on server side (by @island205 in #14242)
  391. - Fix active TabBar style (by @iamkun in #14240)
  392. - Fix Table demo code error (by @xunmeng in #14253)
  393. ### 2.5.2
  394. *2019-01-27*
  395. #### Optimization
  396. - Docs:
  397. - Update ChangeLog ES 2.5.1 (by @Gonzalo2310 in #14231)
  398. #### Bug fixes
  399. - Build:
  400. - Delete unremoved comments in umd module `lib/index.js` (by @island205 in #14233)
  401. - Fix export error fired in commonjs module used in nuxt.js (by @island205 in #14232)
  402. - Fix 2.5.1 build issues (by @iamkun in #14228)
  403. ### 2.5.1
  404. *2019-01-26*
  405. #### Optimization
  406. - DatePicker: highlight current month and year (by @Debiancc in #14211)
  407. - Update 2.5.0 changelog (by @wacky6 in #14217)
  408. #### Bug fixes
  409. - Fix export issue generate by webpack upgrading (by @island205 in #14220)
  410. - Keep 2.4.11 docs && new sub folder for 2.5+ (by @iamkun in #14222)
  411. ### 2.5.0
  412. *2019-01-25*
  413. #### New features
  414. - DatePicker
  415. - Add `validate-event` attribute (by @ziyoung in #13531)
  416. - DateTimePicker
  417. - `pickerOptions` support `selectableRange` option (by @eeeeeeeason)
  418. - Tag
  419. - Add `click` event (by @licdream in #14106)
  420. - I18n
  421. - support Kyrgyz language (by @zzjframework in #14174)
  422. #### Optimization
  423. - Upgrade to webpack@4 (by @jikkai in #14173)
  424. - Input
  425. - Simplify implementation, follow one-way data flow. Fix several related bugs. (by @wacky6 in #13471)
  426. - Update Axure file,add new components (by @ziyoung in #13773)
  427. #### Bug fixes
  428. - Autocomplete
  429. - Fix dropdown's last line beging clipped (by @ziyoung in #13597)
  430. - Fix missing popper arrow (by @liuchuzhang in #13762)
  431. - Carousel
  432. - Cleanup timer when component is destroyed (by @elfman in #13820)
  433. - Cascader
  434. - Remove deprecated property of computed props (by @iamkun in #13737)
  435. - Fix CascaderOption's type definition in TypeScript (by @NateScarlet in #13613)
  436. - Fix icon covering the text (by @ziyoung in #13596)
  437. - Checkbox
  438. - Refine style (by @PanJiaChen)
  439. - DatePicker
  440. - Add missing v-for `key` in TimeSpinner (by @Ende93 in #13547)
  441. - Fix week highlight on year boundary (by @suyi91 in #13883)
  442. - Input
  443. - Fix textarea DOM node reference (by @laomu1988 @island205 in #13803)
  444. - Pagination
  445. - Input value won't be less than 1 (by @elfman in #13727)
  446. - Popover
  447. - Fix popover issues with hover trigger (by @goldengecko in #13104)
  448. - Fix popper instance memory leak (by @qpxtWhite in #13988)
  449. - Radio
  450. - Refine style (by @ohhoney1)
  451. - Table
  452. - Enhanced table sorting when clicking on the sorting arrow (by @ohhoney1 in #12890)
  453. - Fix empty text vertical alignment issue on IE10+ (by @imzjy in #13638)
  454. - Fix index type documentation (by @ilovefafa in #13628)
  455. - Fix `show-summary` display issue when multilevel header has fixed attr (by @luckyCao in #13914)
  456. - Tabs
  457. - Fix auto scroll bug (by @iamkun in #13696)
  458. - Get the correct tab through tab name (by @iamkun in #13705)
  459. - Use paneName instead of name to determine pane style (by @iamkun in #13733)
  460. - Tree
  461. - Fix `showCheckbox` prop on `Tree` can not affect their children `tree-node` (by @KidneyFlower)
  462. - Update doc and definition file (by @ziyoung in #13540)
  463. - Upload
  464. - Add `url` prop to upload file when `list-type` changed (by @elfman in #13771)
  465. - Slider
  466. - Fix source code indentation (by @wacky6 in #13955)
  467. - I18n
  468. - Add missing Catalan translations (by @jaumesala)
  469. - Add missing ru translation (by @justlp in #13658)
  470. - Fix Finnish translations (by @jenkrisu in #14137)
  471. - Doc
  472. - Update Spanish doc 2.4.11 (by @Gonzalo2310 in #13522)
  473. - Others
  474. - Remove unnecessary script (by @ziyoung)
  475. - Fix error anchor link (by @iamkun in #13753)
  476. - Fix inconsistent capitalization in documentation (by @wonderjar)
  477. - Add DingDing chat group qr code to readme (by @iamkun in #13957)
  478. - Add yarn logs to .gitignore (by @mimimi in #13922)
  479. - Remove sponsor duotai (by @island205 in #14156)
  480. - Update readme qr code src (by @iamkun in #13960)
  481. - Update CDN link, fix typo (by @ziyoung)
  482. ### 2.4.11
  483. *2018-11-21*
  484. - Revert pr #13296. Fixed clicking on Menu external causing Submenu collapsed, #13478
  485. - Adjust small screen (xs) media query breakpoints, #13468 (by @alekoshen712)
  486. ### 2.4.10
  487. *2018-11-16*
  488. - Fixed multiple clicks on Select to display the drop-down list, #13268
  489. - The clear icon for input is not displayed when Form is disabled, #13208
  490. - Adjust the style of Select, Progress, Autocomplete, Tooltip, Collaspe, TimePicker, #13188 (by @porcelainHeart) #13210 #13266 #13257 #13290 #13347 (by @PanJiaChen)
  491. - Carousel component added `loop` attribute, #13217
  492. - When the data of Table changes, the highlighted line will remain, #13200
  493. - Table header scoped slot can receive parameters, #13263
  494. - Table's `clearFilter` method supports arguments, #13176
  495. - Tooltip is no longer created when there is no content in the Table cell, #13152 (by @rongxingsun)
  496. - The input box contents of the ColorPicker panel can be displayed correctly, #13278
  497. - ColorPicker no longer triggers form validation when dragging, #13299
  498. - InputNumber added `select `method, #13286 (by @st-sloth)
  499. - Autocomplete added `clear` event, #12171(by arthurdenner) #13326
  500. - You can close Menu by clicking on Menu outside, #13296
  501. - Form's `validateField` method can receive arguments, #13319
  502. - Cascader added `visible-change` event, #13415
  503. - DatePicker added range-separator slot, #13272 (by @milworm)
  504. - Tree adds `iconClass` and `currentNodeKey` properties, #13337 #13197 (by @isnifer)
  505. - Progress's` status` added text #13198 (by @ali-master)
  506. - Fixing tree's `defaultCheckedKeys` caused an error, #13349 (by @dive2Pro)
  507. ### 2.4.9
  508. *2018-10-26*
  509. - The parameter of Form's `clearValidate` supports string, #12990 (by @codinglobster)
  510. - Added type attribute for Badge, #12991
  511. - Users can use scoped-slot to customize table column header #13012 (by @ivanseidel)
  512. - Fixed the input box of Select unable to type text under IE, #13034 (by @GaliMU)
  513. - Select option does not wrap when space is enough, #12329 (by @akki-jat)
  514. - When dropdown list of Select is expanded, the arrow icon will also display correctly, #12353 (by @firesh)
  515. - Fixed that the size attribute of Select does not work, #13070
  516. - Select multiple values can be cleared, #13049 (by @ZSkycat)
  517. - Fixed the last TabNav unable be deleted, #13039
  518. - Fixed that TabNav label is not displayed correctly, #13178
  519. - Added title slot for Alert, #13082 (by @Kingwl)
  520. - Fixed an issue where the tooltip content in Table was incorrect, #13159 (by @elfman)
  521. - Optimize the animation of Upload when file is deleted, #12987
  522. - Adjusted style of InputNumber when control button is not displayed, #13052
  523. ### 2.4.8
  524. - Not displaying outline when Switch is focused, #12771
  525. - Fixed Dropdown's style in ButtonGroup, #12819 (by @bluejfox)
  526. - Added opened event for Dialog, #12828
  527. - Fixed the incorrect display order of TabNav, #12846
  528. - Fixed the problem that Tabs did not scroll to the selected tab, #12948
  529. - Fixed the problem that the identifier does not display when the Tree node is dragged, #12854
  530. - The validate event parameter of Form contains the validation message, #12860 (by @YamenSharaf)
  531. - Fixed DatePicker not to verify the validity of user input time, #12898
  532. - Fixed the problem that `render-header` attribute of Table header doesn't work, #12914
  533. ### 2.4.7
  534. *2018-09-14*
  535. - Fixed DatePicker not triggering form validation, #12328 #12348
  536. - Fixed DatePicker throwing errors in multiple mode, #12347
  537. - Fixed incorrect position of DatePicker spinner, #12415 (by @rang-ali)
  538. - Fixed automatic filling of DatePicker input box, #12521 (by @abdallanayer)
  539. - Fixed Input not highlighted in Cascader, #12341
  540. - Fixed wrong order of Tabpane, #12346
  541. - Fixed incorrect position of ColorPicker cursor, #12376 (by @cnwhy)
  542. - Fixed the style of Submenu, #2457
  543. - Fixed not highlighted after Submenu is selected, #12479
  544. - Fixed incorrect values selected by Cascader, #12508 (by @huangjinqiang)
  545. - Fixed incorrect value of Pagination input box, #12525
  546. - Fixed order that Pagination triggers events, #12530
  547. - Fixed Table Filter not displayed, #12539
  548. - Fixed Tree unable to delete nodes, #12684
  549. - Fixed height of Select Input changing in single mode, #12719
  550. - Fixed style of FormItem label in nested Form, #12748
  551. - Added `autocomplete` attribute for Input, deprecated `auto-complete`, #12514 (by @axetroy)
  552. - Added slots-scope for Form to display validation information, #12715 (by @YamenSharaf)
  553. ### 2.4.6
  554. *2018-08-09*
  555. - Fixed Table not showing filter icon when `filters` is assigned empty array, #12165
  556. - Fixed Menu not saving active state when `collapse` is changed, #12178 (by @elfman)
  557. - Fixed Cascader not escaping special characters for Regexp, #12248
  558. - Fixed disabled RadioButton showing box-shadow when clicked, #12262
  559. - Fixed arrow key not effect when default value is `undefined`,#12322
  560. - Fixed query function of Select not debounced in multi mode, #12181
  561. - Fixed query keyword of Select disappearing in multi mode, #12304
  562. - Fixed incorrect width of Dialog when it is displayed in full screen, #12203
  563. - Fixed incorrect display of Main on IE, #12237
  564. - Fixed Input triggering two form validations, #12260
  565. - Fixed adding new Tree node causing nodes to disappear, #12256
  566. - Fixed Tree node not deleted after dragging, #12279
  567. - Fixed Popover not visible when InputNumber focuses, #12284
  568. - Added `popper-append-to-body` attribute for Autocomplete, #12241
  569. - Added `sync` modifier support for Pagination's `page-size` attribute, #12281
  570. ### 2.4.5
  571. *2018-07-26*
  572. - Fixed Table setting `class-name` does not work for `expand` column, #12006
  573. - Added `toggleAllSelection` method for Table, #12047
  574. - Fixed wrong position of suffix slot when Input contains Select, #12108
  575. - Fixed `line-height` of Option unable to set, #12120
  576. - Fixed TimeSelect with default value of `null` could not be assigned after executing `resetField`, #12010
  577. - Fixed keydown event which is not arrow key does not work in Tree, #12008
  578. - Fixed parent node checked in lazy mode, #12106
  579. - Added `includeHalfChecked` parameter for getCheckedNodes of Tree, #12014
  580. ### 2.4.4
  581. *2018-07-13*
  582. - Fixed triggering Select validation after Form resetting, #11837
  583. - Fixed wrong position of Input `suffix` slot when `suffix` slot with `append` slot, #11951
  584. - Fixed clearable Input still displaying the clear icon when readonly, #11967
  585. - Fixed Tree node checked when it's disabled, #11847
  586. - Fixed Tree's `default-checked-keys` not working, #11971
  587. - Fixed `empty-text` not visible when Tree node filtered, #11971
  588. - Fixed the position of oversized `empty-text` in Table, #11965
  589. - Fixed Table row not be unhighlighted when `current-row-key` is assigned to `null`, #11866
  590. - Fixed showing filter dropdown when `filters` is an empty array, #11864
  591. - Fixed Radio's label does not stop event propagation, #11912
  592. ### 2.4.3
  593. *2018-07-03*
  594. - Fixed `allow-drop` not working properly when Tree nodes have a custom height, #11797
  595. - Now you can pass a parameter to the `clearValidate` method of Form, specifying which FormItems' validation results need to be cleared, #11821
  596. - Added `distinguishCancelAndClose` attribute for MessageBox, #11831
  597. ### 2.4.2
  598. *2018-06-26*
  599. - Now `class-name` and `label-class-name` of Table are reactive, #11626
  600. - Fixed Table still highlighting clicked row when `highlight-current-row` is `false`, #11646
  601. - Fixed a style bug of ButtonGroup when it has only one `round` or `circle` Button, #11605
  602. - Fixed style of page size Select of Pagination, #11622
  603. - Fixed Menu's `open` method error when `collapse` is dynamically changed, #11646
  604. - Added `activeName` and `oldActiveName` parameters to the before-leave hook of Tabs, #11713
  605. - Fixed Cascader focused after outside clicked, #11588
  606. - Fixed Cascader not closing when option is clicked when `change-on-select` is true, #11623
  607. - Now updating Select's value programmatically will trigger form validation, #11672
  608. ### 2.4.1
  609. *2018-06-08*
  610. - Removed Autocomplete's duplicate type declaration, #11388
  611. - Fixed Select's dropdown arrow style in FireFox when nested in Form, #11427
  612. - Fixed clear icon of Select still showing when the initial value is `null`, #11460
  613. - Fixed disabled radio showing box-shadow when clicked, #11462
  614. - Added `iconClass` attribute for MessageBox, #11499
  615. - Added `stretch` attribute for Tabs, #11476
  616. - Fixed rendering order issue of TabPane when Tabs is `lazy`, #11461
  617. - Fixed Table not retaining current highlight row when expanded, #11464
  618. - Fixed focusing state when `before-leave` returns a resolved promise, #11386
  619. - Fixed disabled Popover still creating poppers, #11426
  620. - Fixed Tree's endless loop when a new node is added in lazy mode, #11430 (by @wangjingf)
  621. - Added `closed` event for Dialog, #11490
  622. ### 2.4.0 Fullerene
  623. *2018-05-28*
  624. #### New features
  625. - General
  626. - Dev tool and bundler is switched to native webpack, #11216
  627. - Now you can globally set the initial z-index of popups, #11257
  628. - Autocomplete
  629. - Added `hide-loading` attribute, #11260
  630. - Button
  631. - Now you can use the `size` attribute on circle buttons to control their sizes, #11275
  632. - InputNumber
  633. - Added `precision` attribute, #11281
  634. - Tabs
  635. - Added `before-leave` attribute, #11259
  636. - Added `lazy` attribute, #11167(by @Kingwl)
  637. - Table
  638. - Added `sort` method to manually sort the table, #11311
  639. #### Bug fixes
  640. - Input
  641. - Fixed an issue that causes a re-render when using the Chinese IME to quickly input text, #11235 (by @STLighter)
  642. - Popover
  643. - Fixed the console error when the triggering element is Radio or Checkbox, #11265
  644. - Breadcrumb
  645. - Fixed the `to` attribute not supporting dynamic update, #11286
  646. - Upload
  647. - Fixed the console error when a File is resolved in the returned Promise of the `beforeUpload` method, #11297 (by @qusiba)
  648. - Tooltip
  649. - Fixed arrow not positioned correctly when content is empty, #11335
  650. - Autocomplete
  651. - Fixed incorrect input suggestions after deleting keyword quickly, #11323
  652. - ColorPicker
  653. - Fixed `active-change` event incorrectly triggering when picker dropdown is closed, #11304
  654. - Table
  655. - Fixed style error of oversized filter panel, #11314
  656. - Fixed currently selected row not retained when the table is sorted, #11348
  657. - Checkbox
  658. - Fixed single checkbox not supporting validation, #11271
  659. - Radio
  660. - Fixed disabled Radio still being selected when pressing space key, #11303
  661. - MessageBox
  662. - Fixed the `el-popup-parent--hidden` class not removed when opening MessageBox in succession, #11371
  663. ### 2.3.9
  664. *2018-05-18*
  665. - Fixed when the source data does not have the field specified by a TableColumn's `prop` attribute, an error would occur when the mouse moves into that column's cells, #11137
  666. - The `lockScroll` attribute of pop up components no longer adds an inline style to the parent element, but instead adds a class name, #11114
  667. - Fixed the icon of Progress not displaying when its `status` is exception, #11172
  668. - Fixed options' `disabled` attribute not working in filterable Cascader's filter result list, #11185
  669. - Fixed an issue where Table's expanded row cannot be collapsed if the data source is updated after its expansion, #11186
  670. - `setCurrentKey` of Tree now accepts `null` as its param to cancel the currently highlighted node, #11205
  671. ### 2.3.8
  672. *2018-05-11*
  673. - Fixed DatePicker panel jumping to the current month after picking a date in a non-current month when `type` is dates, #10973
  674. - Fixed clearable Input still displaying the clear icon when readonly, #10912
  675. - Fixed closing the DatePicker panel without changing the value incorrectly triggering the `change` event, #11017
  676. - Fixed keyboard navigation not working properly when Select has grouped options, #11058
  677. - Added `prefix` named slot for Select, #11063
  678. - Added `clearValidate` method for FormItem, #11076
  679. - Added `checkOnClickNode` attribute for Tree, #11111
  680. ### 2.3.7
  681. *2018-04-29*
  682. - Fixed Table not updating its header widths when the scroll bar disappears due to filtering, #10834
  683. - Fixed clearable Input still showing the clear icon when its initial value is `null`, #10912
  684. - Fixed incorrect trigger of the `active-change` event after changing ColorPicker's binding value programatically, #10903 (by @zhangbobell)
  685. - Fixed filterable Select causing an infinite loop when navigating options using keyboard if all options are disabled, #10945
  686. ### 2.3.6
  687. *2018-04-21*
  688. - Fixed wrong behavior of Tree's `allow-drop` callback when `type` parameter is used, #10821
  689. - Now you can properly enter keywords in filterable single Select in IE11, #10822
  690. - Fixed single Select incorrectly triggering `blur` event after clicking an option, #10822
  691. ### 2.3.5
  692. *2018-04-20*
  693. - Fixed incorrect highlights in DatePicker panel when `type` is week, #10712
  694. - Fixed InputNumber being empty when its initial value is 0, #10714
  695. - Added `automatic-dropdown` attribute for Select, #10042 (by @Seebiscuit)
  696. - Fixed disabled Rate's value still being updated by navigation keys, #10726 (by @Richard-Choooou)
  697. - Now DatePicker's `type` attribute can be `'dates'`, where you can pick multiple dates in one picker, #10650 (by @Mini256)
  698. - Added `prev-click` and `next-click` events for Pagination, #10755
  699. - Added `pager-count` attribute for Pagination, #10493 (by @chongjohn716)
  700. - Added `type` as the 3rd param of Tree's `allow-drop` attribute callback, #10792
  701. - Now we use ResizeObserver to detect DOM element resizing, #10779
  702. ### 2.3.4
  703. *2018-04-12*
  704. - Deleted duplicate `showTimeout` attribute in SubMenu's TypeScript declaration, #10566 (by @kimond)
  705. - Now you can customize Transfer's data item using scoped slot, #10577
  706. - Fixed clicking disabled prev and next button of Pagination still triggers `current-change` event, #10628
  707. - Fixed Textarea displaying `undefined` in SSR when its value is not set, #10630
  708. - Fixed disabled TabItem style when `type` is border-card, #10640
  709. - Added `$index` as `formatter`'s fourth param of Table, #10645
  710. - Fixed CheckboxButton not exported in TypeScript declaration, #10666
  711. ### 2.3.3
  712. *2018-04-04*
  713. - Added `shadow` attribute for Card, #10418 (by @YunYouJun)
  714. - Fixed Badge being hidden when `value` is `0`, #10470
  715. - Fixed some bugs of draggable Tree, #10474 #10494
  716. - Added `placement` for Autocomplete, #10475
  717. - Now `default-time` attribute also works in non-range DateTimePicker, #10321 (by @RickMacTurk)
  718. - Removed the blue outline of TabItem after the browser blurs or is minimized, #10503
  719. - Added `popper-append-to-body` attribute for SubMenu, #10515
  720. - Removed visual feedback when hovering on non-link BreadcrumbItem, #10551
  721. - Fixed InputNumber's `change` event to ensure the component's binding value is updated in the event handler, #10553
  722. ### 2.3.2
  723. *2018-03-29*
  724. - Fixed an Autocomplete regression, #10442
  725. ### 2.3.1
  726. *2018-03-29*
  727. - Fixed a regression that `type` of Input is not passed down to the native input element, #10415
  728. - Added `blur` method for Select, #10416
  729. ### 2.3.0 Diamond
  730. *2018-03-28*
  731. #### New features
  732. - Table
  733. - Now `formatter` of TableColumn can be dynamically updated, #10184 (by @elfman)
  734. - Added `select-on-indeterminate` attribute, #9924 (by @syn-zeta)
  735. - Menu
  736. - Added `collapse-transition` attribute, #8809 (by @limichange)
  737. - Input
  738. - Added `select` method, #10229
  739. - Added `blur` method, #10356
  740. - ColorPicker
  741. - Added `predefine` attribute, #10170 (by @elfman)
  742. - Tree
  743. - Added `draggable`, `allow-drop` and `allow-drag` attributes, and `node-drag-start`, `node-drag-enter`, `node-drag-leave`, `node-drag-over`, `node-drag-end` and `node-drop` events, #9251 #10372 (by @elfman)
  744. - Form
  745. - `validate` method now has a second parameter, containing information of form items that failed the validation, #10279
  746. - Added `validate` event, #10351
  747. - Progress
  748. - Added `color` attribute, #10352 (by @YunYouJun)
  749. - Button
  750. - Added `circle` attribute, #10359 (by @YunYouJun)
  751. #### Bug fixes
  752. - Form
  753. - Fixed label of FormItem not align with mixed Input, #10189
  754. - Menu
  755. - Now collapsed Menu will only show the Tooltip when the `title` slot of MenuItem is set, #10193 (by @PanJiaChen)
  756. - Pagination
  757. - Fixed `current-change` event wrongly triggering without user interaction, #10247
  758. - DatePicker
  759. - Now the date and time value in the dropdown panel are correctly formatted based on the `format` attribute, #10174(by @remizovvv)
  760. - Upload
  761. - Fixed `accept` attribute not working when `drag` is true, #10278
  762. ### 2.2.2
  763. *2018-03-14*
  764. - Added `clear` event for Input, #9988 (by @blackmiaool)
  765. - Now manual input of ColorPicker supports `hsl`, `hsv` and `rgb` modes, #9991
  766. - Fixed DatePicker not triggering `change` event when its initial value is cleared, #9986
  767. - Now icon class related attributes of Rate support dynamic updates, #10003
  768. - Fixed Table with fixed columns not updating its height correctly if `max-height` is set, #10034
  769. - Now DatePicker's range mode supports reverse selection (clicking the end date, then clicking the start date), #8156 (by @earlymeme)
  770. - Added `disabled` attribute for Pagination, #10006
  771. - Added `after-enter` and ` after-leave` events for Popover, #10047
  772. - Fixed Select not triggering validation when user selects an option after executing `resetFields` of Form, #10105
  773. - Fixed incorrect widths of fixed columns of Table in some cases, #10130
  774. - Fixed MessageBox inheriting the `title` attribute of its previous instance when called without `title`, #10126 (by @Pochodaydayup)
  775. - Added `input-size` attribute for Slider, #10154
  776. - Added `left-check-change` and `right-check-change` events for Transfer, #10156
  777. ### 2.2.1
  778. *2018-03-02*
  779. - Fixed Aside, Header and Footer shrinking in some layout, #9812
  780. - Fixed Table with a `height` attribute not rendering in SSR, #9876
  781. - Fixed expandable Table not calculating its height when a row is expanded, #9848
  782. - Fixed `change` event not trigger when manually typing date in DateTimePicker, #9913
  783. - Fixed Select showing its options when the input box is right-clicked, #9894 (by @openks)
  784. - Added `tooltip-class` attribute for Slider, #9957
  785. - Now Select will stay focused after selection, #9857 (by @Seebiscuit)
  786. - Added `target-order` attribute for Transfer, #9960
  787. ### 2.2.0 Graphite
  788. *2018-02-12*
  789. #### New features
  790. - Menu
  791. - Added `popper-class` and `disabled` attributes for SubMenu, #9604 #9771
  792. - Horizontal Menu now supports multi-layered SubMenu, #9741
  793. - Tree
  794. - Added `node-contextmenu` event, #9678
  795. - Now you can customize node template using scoped slot, #9686
  796. - Added `getNode`, `remove`, `append`, `insertBefore`, `insertAfter`, `getCheckedKeys`, `getHalfCheckedNodes`, `getHalfCheckedKeys` methods and `check` event, #9718 #9730
  797. - Transfer
  798. - Added `clearQuery` method, #9753
  799. - Select
  800. - Added `popper-append-to-body` attribute, #9782
  801. #### Bug fixes
  802. - Table
  803. - Fixed clicking expanding icon of an expandable row triggers `row-click` event, #9654
  804. - Fixed layout not update when column width is changed by user dragging, #9668
  805. - Fixed style issue when summary row co-exists with fixed columns, #9667
  806. - Container
  807. - Fixed container components not stretching in IE11, #9655
  808. - Loading
  809. - Fixed Loading not showing when the value of `v-loading` is changed to true in the `mounted` hook, #9722
  810. - Switch
  811. - Fixed two native click events are triggered when Switch is clicked, #9760
  812. ### 2.1.0 Charcoal
  813. *2018-01-31*
  814. #### New features
  815. - Cascader
  816. - Added `focus` and `blur` events, #9184 (by @viewweiwu)
  817. - Table
  818. - The `filter-method` now has a third param `column`, #9196 (by @liyanlong)
  819. - DatePicker
  820. - Added `prefix-icon` and `clear-icon` attributes, #9237 (by @AdamSGit)
  821. - Added `default-time` attribute, #9094 (by @nighca)
  822. - `value-format` now supports `timestamp`, #9319 (by @wacky6)
  823. - InputNumber
  824. - Now the binding value can be `undefined`, #9361
  825. - Select
  826. - Added `auto-complete` attribute, #9388
  827. - Form
  828. - Added `disabled` attribute, #9529
  829. - Added `validateOnRuleChange` attribute, #8141
  830. - Notificaition
  831. - Added `closeAll` method, #9514
  832. #### Bug fixes
  833. - InputNumber
  834. - Fixed value resetting when typing decimal point, #9116
  835. - Dropdown
  836. - Fixed dropdown menu incorrect positioning when the page only has a horizontal scrollbar in some browsers, #9138 (by @banzhuanmei)
  837. - Table
  838. - Fixed an error in calculating number of fixed columns after the column data changes, #9188(by @kolesoffac)
  839. - Fixed the border of the last column of the grouped header not properly displayed, #9326
  840. - Fixed incorrect positioning of table header in Safari, #9327
  841. - Fixed expanded row collapsing when the table data changes, #9462
  842. - Fixed unnecessary multiple renders in some conditions, #9426
  843. - Fixed column width calculation error when `width` of TableColumn changes, #9426
  844. - Loading
  845. - Fixed Loading not hiding correctly in some conditions, #9313
  846. - DatePicker
  847. - Fixed `focus` method not working in range mode, #9437
  848. - Fixed clicking the "now" button still selecting the current date even if it is disabled, #9470 (by @wacky6)
  849. - Fixed date clamping when navigating, #9577 (by @wacky6)
  850. - Steps
  851. - Fixed style error in IE 11, #9454
  852. #### Breaking changes
  853. - Menu
  854. - The popup menu in `collapse` mode now appends directly to `body`, so that it is visible when nested in Aside, #9263
  855. - Table
  856. - Now checking the checkboxes in multi-selection Table doesn't trigger `row-click` event, #9467
  857. - Loading
  858. - The `z-index` of non-fullscreen loading mask is changed to 2000. The `z-index` of fullscreen loading mask will update dynamically with the popup components, #9522
  859. - Dropdown
  860. - `show-timeout` and `hide-timeout` attributes now only works when trigger is `hover`, #9573
  861. ### 2.0.11
  862. *2018-01-08*
  863. - Fixed border color issue of Select when in `prepend` or `append` slot of Input, #9089
  864. - Fixed `remove-tag` event's parameter of Select, #9090
  865. - Added `show-timeout` and `hide-timeout` attributes for SubMenu, #8934 (by @HugoLew)
  866. - Fixed missing Tooltip style of `show-overflow-tooltip` when Table is imported on demand, #9130
  867. - Fixed Table column's sorting malfunctioning after `clearSort` is executed on that column, #9100 (by @zEmily)
  868. - i18n config file for Czech is renamed from `cz` to `cs-CZ`, #9164
  869. ### 2.0.10
  870. *2017-12-29*
  871. - Fixed wrong max height calculation of Table when fixed column and summary row co-exist, #9026
  872. - Fixed uncompiled color style of empty text in Table, #9028
  873. - Now DatePicker only emits `change` event when value is truly changed, #9029 (by @remizovvv)
  874. - Added `tabindex` attribute for Input, #9041 (by @dicklwm)
  875. ### 2.0.9🎄
  876. *2017-12-24*
  877. - Added `before-remove` hook function for Upload, #8788 (by @firesh)
  878. - Fixed initial value of `error` not working for FormItem, #8840
  879. - Now Loading directive supports custom class name by assigning `element-loading-custom-class` attribute, #8826 (by @earlymeme)
  880. - Fixed CarouselItem becoming invisible when data is asynchronously updated, #8921
  881. - Added `renderAfterExpand` attribute for Tree, #8972
  882. ### 2.0.8
  883. *2017-12-12*
  884. - Added Spanish documentation
  885. - Fixed `show-timeout` of Dropdown not working when trigger is click, #8734 (by @presidenten)
  886. - Fixed Form validation timing for rules whose trigger is blur, #8776
  887. - Fixed blur event of ranged DatePicker, #8784
  888. - `format` of TimePicker now supports AM/PM, #8620 (by @firesh)
  889. ### 2.0.7
  890. *2017-11-29*
  891. - Fixed disabled text button style, #8570
  892. ### 2.0.6
  893. *2017-11-29*
  894. - Fixed style bug of Table's sorting icons, #8405
  895. - Fixed trigger mechanism for Popover when its `trigger` is manual, #8467
  896. - Added `prefix-icon` and `suffix-icon` attributes for Autocomplete, #8446 (by @liyanlong)
  897. - Added `separator` attribute for Cascader, #8501
  898. - Added `clearable` attribute for Input, #8509 (by @lbogdan)
  899. - Added `background` attribute for Pagination, #8553
  900. ### 2.0.5
  901. *2017-11-17*
  902. - Fixed Popover, Tree, Breadcrumb and Cascader regression in 2.0.4, #8188 #8217 #8283
  903. - Fixed memory leak of clickoutside directive, #8168 #8225 (by @badpunman @STLighter)
  904. - Fixed multiple Select height when its value is cleared, #8317 (by @luciy)
  905. - Added `collapse-tags` attribute for multiple Select to replace tags with one line of text, #8190
  906. - Fixed high CPU consumption caused by hidden Table, #8351
  907. - Now you can use `doLayout` method of Table to update its layout, #8351
  908. ### 2.0.4
  909. *2017-11-10*
  910. - Improved accessibility for Cascader, Dropdown, Message, Notification, Popover, Tooltip and Tree
  911. - Fixed Container resize when the width of viewport decreases, #8042
  912. - Fixed Tree's `updateKeyChildren` incorrectly deleting child nodes, #8100
  913. - Fixed bordered CheckboxButton's height when nested in a Form, #8100
  914. - Fixed Menu's parsing error for custom colors, #8153 (by @zhouyixiang)
  915. ### 2.0.3
  916. *2017-11-03*
  917. - Fixed `editable` and `readonly` attributes for ranged DatePicker, #7922
  918. - Fixed style error of nested Tabs, #7941
  919. - Fixed style error of the last Step of vertical Steps, #7980
  920. - Fixed trigger timing of `current-change` event for Pagination, #7995
  921. - Fixed unregistered Tooltip in Menu, #7995
  922. ### 2.0.2
  923. *2017-10-31*
  924. - Now right-clicking the buttons of InputNumber won't change its value, #7817
  925. - `validate` method of Form can now wait for asynchronous validations before executing its callback, #7774 (by @Allenice)
  926. - Fixed range selection of DatePicker not working in Chromium 53-57 browsers, #7838
  927. - Fixed missing preview and delete icons of Upload when its `list-type` is picture-card, #7857
  928. - Added `sort-by` attribute for TableColumn, #7828 (by @wangfengming)
  929. - Fixed DatePicker sometimes displaying wrong year number when selecting the first week in week mode, #7860 (by @hh23485)
  930. - Fixed icon style error of vertical Steps, #7891
  931. - The hot area for node arrows in Tree is expanded, #7891
  932. ### 2.0.1
  933. *2017-10-28*
  934. - Fixed style error of RadioButton and CheckboxButton, #7793
  935. - Fixed TimePicker not respond to mouse scroll in some conditions, #7811
  936. - Fixed incomplete styles of some components when imported on demand, #7811
  937. ### 2.0.0 Carbon
  938. *2017-10-27*
  939. #### New features
  940. - General
  941. - A new theme: `theme-chalk`
  942. - Accessibility of the following components are improved: Alert, AutoComplete, Breadcrumb, Button, Checkbox, Collapse, Input, InputNumber, Menu, Progress, Radio, Rate, Slider, Switch, Upload
  943. - Added TypeScript typings
  944. - All existing icons are redesigned. Some new icons are added
  945. - Added a series of breakpoint-based utility classes that hide elements when the viewport size meets certain conditions
  946. - Added layout components: Container, Header, Aside, Main, Footer
  947. - Now you can configure component sizes globally. When importing Element, you can add a global config object with a `size` prop to configure default sizes for all components.
  948. - Button
  949. - Added `round` attribute. It's used for round-cornered Buttons #6643
  950. - TimeSelect
  951. - Now can be navigated by `Up` and `Down`, and hitting `Enter` selects the time #6023
  952. - TimePicker
  953. - Now can be navigated by arrow keys, and hitting `Enter` selects the time #6050
  954. - Added `start-placeholder` and `end-placeholder`. They're placeholders for the two input boxes in range mode #7169
  955. - Added `arrow-control` attribute to spin the time with arrows #7438
  956. - Tree
  957. - Now child nodes don't render before the first expand #6257
  958. - Added `check-descendants` attribute. It determines if child nodes are checked when checking their parent node in `lazy` mode #6235
  959. - Tag
  960. - Added `size` attribute #7203
  961. - Datepicker
  962. - Now `timeFormat` can format the TimePicker when type is set to `datetimerange` #6052
  963. - Added `start-placeholder` and `end-placeholder`. They're placeholders for the two input boxes in range mode #7169
  964. - Added `value-format` attribute to customize the format of the binding value, #7367
  965. - Added `unlink-panels` attribute to unlink the two date panels when selecting a date range
  966. - MessageBox
  967. - Added `closeOnHashChange` attribute #6043
  968. - Added `center` attribute so that the content can be centered #7029
  969. - Added `roundButton` attribute to display round Buttons #7029
  970. - Added `dangerouslyUseHTMLString` attribute. When set to `true`, `message` will be parsed as HTML string<sup>*</sup> #6043
  971. - Added `inputType` attribute to assign type for the inner input box, #7651
  972. - Dialog
  973. - Added `width`、`fullscreen`、`append-to-body` attributes. Now Dialog can be nested
  974. - Added `center` attribute so that the content can be centered #7042
  975. - Added `focus-after-closed`、`focus-after-open` to improve accessibility #6511
  976. - ColorPicker
  977. - Now you can type colors in the input box #6167
  978. - Added `size` and `disabled` attributes #7026
  979. - Added `popper-class` attribute #7351
  980. - Message
  981. - Now color of the icons can be overridden by CSS #6207
  982. - Added `dangerouslyUseHTMLString` attribute. When set to `true`, `message` will be parsed as HTML string<sup>*</sup> #6207
  983. - Added `center` attribute so that the content can be centered #6875
  984. - Notification
  985. - Added `position` attribute to configure where Notification pops up #6231
  986. - Added `dangerouslyUseHTMLString` attribute. When set to `true`, `message` will be parsed as HTML string<sup>*</sup> #6231
  987. - Added `showClose` attribute to hide the close button #6402
  988. - Rate
  989. - Added `show-score` attribute to determine if current score is displayed #6295
  990. - Tabs
  991. - Added `tab-position` attribute #6096
  992. - Radio
  993. - Added `border` and `size` attributes #6690
  994. - Checkbox
  995. - Added `border` and `size` attributes #6690
  996. - Alert
  997. - Added `center` attribute so that the content can be centered #6876
  998. - Menu
  999. - Added `background-color`, `text-color` and `active-text-color` attributes #7064
  1000. - Added `open` and `close` methods to open and close SubMenu programmatically, #7412
  1001. - Form
  1002. - Added `inline-message` attribute to determine if the validation message is displayed in inline style #7032
  1003. - Added `status-icon` attribute to display a feedback icon when validated #7032
  1004. - Form and FormItem now have a `size` attribute. Inner components will inherit this size if not specified on themselves, #7428
  1005. - `validate` method will now return a promise if the callback is omitted, #7405
  1006. - Added `clearValidate` method for clearing validating results for all form items, #7623
  1007. - Input
  1008. - Added `suffix` and `prefix` named slots, `suffixIcon` and `prefixIcon` attributes to add contents inside the input box #7032
  1009. - Breadcrumb
  1010. - Added `separator-class` attribute to support icons as item separators #7203
  1011. - Steps
  1012. - Added `simple` attribute to activate simple-styled Steps #7274
  1013. - Pagination
  1014. - Added `prev-text` and `next-text` attributes to customize texts of previous page and next page #7005
  1015. - Loading
  1016. - Now you can customize spinner icon and background color with `spinner` and `background` prop, #7390
  1017. - Autocomplete
  1018. - Added `debounce` attribute, #7413
  1019. - Upload
  1020. - Added `limit` and `on-exceed` attributes to limit the amount of files, #7405
  1021. - DateTimePicker
  1022. - Added `time-arrow-control` attribute to activate `arrow-control` of the nesting TimePicker, #7438
  1023. - Layout
  1024. - Added a new breakpoint `xl` for viewport wider than 1920px
  1025. - Table
  1026. - Added `span-method` attribute for merging cells
  1027. - Added `clearSort` method to clear sorting programmatically
  1028. - Added `clearFilter` method to clear filter programmatically
  1029. - For expandable rows, when a row is expanded, a `.expanded` class will be added to its class list, so that you can customize its style
  1030. - Added `size` attribute
  1031. - Added `toggleRowExpansion` method to expand or collapse expandable rows programmatically
  1032. - Added `cell-class-name` attribute to assign class name for cells
  1033. - Added `cell-style` attribute to style cells
  1034. - Added `header-row-class-name` attribute to assign class name for header rows
  1035. - Added `header-row-style` attribute to style header rows
  1036. - Added `header-cell-class-name` attribute to assign class name for header cells
  1037. - Added `header-cell-style` attribute to style header cells
  1038. - TableColumn's `prop` attribute now accepts `object[key]` notations
  1039. - Added `index` attribute for TableColumn to customize row indices
  1040. - Select
  1041. - Added `reserve-keyword` attribute for reserving current search keyword after selecting an option
  1042. #### Bug fixes
  1043. - DatePicker
  1044. - Fixed `v-model` returning the second day of the selected week in week mode #6038
  1045. - Fixed the first input being cleared in `daterange` type #6021
  1046. - DateTimePicker
  1047. - Fixed DateTimePicker and TimePicker affecting each other when picked #6090
  1048. - Fixed hour and second can be beyond limit when selecting time #6076
  1049. - TimePicker
  1050. - Fixed `v-model` not update correctly when blurred #6023
  1051. - Dialog
  1052. - Fixed texts having blurry edges when opening and closing nesting dropdowns #6088
  1053. - Select
  1054. - Improved performance. Now Vue dev-tool won't crash when a large number of Selects are destroyed #6151
  1055. - Table
  1056. - Fixed a bug that Table remains hiding when its parent element appears from `display: none`
  1057. - Fixed Table expanding its width when its parent element has `display: flex`
  1058. - Fixed a bug that fixed columns of a Table with `append` slot would disappear when data is dynamically fetched
  1059. - Fixed `expand-row-keys` attribute not working with initial value
  1060. - Fixed filter failing when `data` updates
  1061. - Fixed a calculation error of fixed columns layout with grouped headers
  1062. - Fixed a dynamic `max-height` bug
  1063. - Fixed some style calculation errors
  1064. #### Breaking changes
  1065. - General
  1066. - Removed `theme-default`
  1067. - Compatible with Vue 2.5.2+ and IE 10+
  1068. - `change` event of form components and `current-change` event of Pagination now only trigger on user interaction
  1069. - `size` attribute of Button and form components now accept `medium`, `small` and `mini`
  1070. - To facilitate the use of third-party icons, `icon` attribute of Button and Steps, `prefix-icon` and `suffix-icon` attributes of Input now require a full class name
  1071. - Dialog
  1072. - Removed `size` attribute. Now the size of Dialog can be configured by `width` and `fullscreen`
  1073. - Now the visibility of Dialog cannot be controlled by `v-model`
  1074. - Rate
  1075. - `text-template` is renamed to `score-template`
  1076. - Dropdown
  1077. - `menu-align` is renamed to `placement`. Now it supports more positions
  1078. - Transfer
  1079. - `footer-format` is renamed to `format`
  1080. - Switch
  1081. - Attributes starting with `on-*` will be parsed to events in JSX, making all `on-*` attributes of Switch not
  1082. able to work in JSX. So `on-*` attributes are renamed to `active-*`, and accordingly `off-*` attributes are renamed to `inactive-*`. This change affects the following attributes: `on-icon-class`, `off-icon-class`, `on-text`, `off-text`, `on-color`, `off-color`, `on-value`, `off-value`
  1083. - `active-text` and `inactive-text` attributes now don't have default values
  1084. - Tag
  1085. - `type` attribute now accepts `success`, `info`, `warning` and `danger`
  1086. - Menu
  1087. - Removed `theme` attribute. The color of Menu can be configured using `background-color`, `text-color` and `active-text-color`
  1088. - Input
  1089. - Removed `icon` attribute. Now the suffix icon can be configured using `suffix-icon` attribute or `suffix` named slot
  1090. - Removed `on-icon-click` attribute and `click` event. Now to add click handler on icons, please use named slots
  1091. - `change` event now behaves like the native input element, which triggers only on blur or pressing enter. If you need to respond to user input in real time, you can use `input` event.
  1092. - Autocomplete
  1093. - Removed `custom-item` attribute. Now the template of input suggestions can be customized using `scoped slot`
  1094. - Removed `props` attribute. Now you can use `value-key` attribute to designate key name of the input suggestion object for display
  1095. - Steps
  1096. - Removed `center` attribute
  1097. - Now the Steps will fill its parent container by default
  1098. - DatePicker
  1099. - The params of DatePicker's `change` event is now the binding value itself. Its format is controlled by `value-format`
  1100. - Table
  1101. - Removed support for customizing column template using `inline-template`
  1102. - `sort-method` now aligns with `Array.sort`. It should return a number instead of a boolean
  1103. - `append` slot is moved outside the `tbody` element to avoid multiple rendering
  1104. - `expand` event is renamed to `expand-change`
  1105. - The params of `row-class-name` and `row-style` method is now an object
  1106. ##
  1107. <i><sup>*</sup> Dynamically rendering arbitrary HTML on your website can be very dangerous because it can easily lead to [XSS attacks](https://en.wikipedia.org/wiki/Cross-site_scripting). So when `dangerouslyUseHTMLString` is on, please make sure the content of `message` is trusted, and **never** assign `message` to user-provided content.</i>