Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CHANGELOG.md 30KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. # Buefy Changelog
  2. ## 0.7.5
  3. * **New component: Numberinput**, [see docs](https://buefy.org/documentation/numberinput)
  4. * **Loading improved**: can show a custom content, [see docs](https://buefy.org/documentation/loading)
  5. * Add ``destroy-on-hide`` prop to tabs
  6. * Add ``custom-detail-row`` prop to table
  7. * Add ``open-on-focus`` prop and improved accessibility for datepicker (thanks @imfaber)
  8. ### Fixes
  9. * Fix #1320 space keydown on Firefox to checkbox and switch
  10. * Fix #1325 input emit to upload
  11. * Enable native timepicker to clockpicker when ``mobile-native`` (default ``true``)
  12. * Fix clockpicker docs and input size
  13. * Fix upload opening in IE 11
  14. ## 0.7.4
  15. ### New features
  16. * **New component: Button**, [see docs](https://buefy.org/documentation/button)
  17. * **New component: Clockpicker**, [see docs](https://buefy.org/documentation/clockpicker) (thanks @SharpSeeEr)
  18. * **Notification improved**: can show a notification programmatically, [see docs](https://buefy.org/documentation/notification)
  19. * Add ``custom-formatter`` prop to autocomplete
  20. * Add ``draggable`` prop to table (thanks @suneab)
  21. * Improve accessibility for notification, message and pagination (thanks @mateuswetah)
  22. ### Fixes
  23. * #956 Fix hidden overflow on tabs (thanks @Baggs)
  24. * #1246 Fix Cleave.js example using Vue 2.6.x (thanks @yxngl)
  25. * #1251 Fix Datepicker closing when page back to ``min-date`` month
  26. * #1257 Fix Datepicker slow/freeze on big year input
  27. * #1282 Fix Datepicker event display wich have a time set (thanks @DonNicoJs)
  28. * #1290 Fix double click event for CheckBox(Button) and Radio(Button) (thanks @yxngl)
  29. * Fix tabindex on switch (thanks @yxngl), radio (thanks @Sacmanxman2) and checkbox
  30. ## 0.7.3
  31. ### New features
  32. * **Update Bulma to 0.7.4**
  33. * Add ``required`` prop to radio-button and checkbox-button
  34. * Add ``defaultModalCanCancel`` constructor options (thanks @quimarche)
  35. * Add ``typing`` event to autocomplete (thanks @adrlen)
  36. * Add ``native-autocomplete`` prop to taginput
  37. * Add support to [Font Awesome SVG component](https://www.npmjs.com/package/@fortawesome/vue-fontawesome) (thanks @rhwilr)
  38. * Add ``custom-key-row`` prop to table
  39. * Add ``defaultToastPosition`` and ``defaultSnackbarPosition`` constructor options
  40. * Improve accessibility for collapse and dropdown (thanks @mateuswetah)
  41. * Revert tab as confirm key code to taginput
  42. * #1233 Change left margin to right margin when spacing nested fields (thanks @yxngl)
  43. ### Fixes
  44. * #1177 Fix IE/Edge datepicker content size
  45. * #1216 Fix reset v-model when upload cancel
  46. * #1219 Fix modal ``width`` prop (thanks @yxngl)
  47. ## 0.7.2
  48. ### New features
  49. * Add ``header`` autocomplete slot to taginput
  50. * Add ``required`` prop to switch
  51. * Add ``mobile-sort-placeholder`` prop to table
  52. * Add ``contextmenu`` event to table (thanks @gps-dev)
  53. * Add ``show-detail-icon`` prop to table and toggle row detail programmatically (thanks @omer2500)
  54. * Add ``use-html5-validation`` prop to form components and ``defaultUseHtml5Validation`` constructor options (thanks @lukio3)
  55. * #1164 Disable selecting row on checkbox click when table is ``checkable``
  56. ### Fixes
  57. * Fix taginput when ``allow-new`` is enabled
  58. * Fix pagination order when simple
  59. * #1126 Fix init sort using columns table prop
  60. * #898, #1154 Fix browser autocomplete using multiple fields
  61. ## 0.7.1
  62. ### New features
  63. * **Update Bulma to 0.7.2**
  64. * Add ``indeterminate`` prop to checkbox (thanks @guanzo)
  65. * #1029 Upgrade vue-test-utils to latest version (thanks @lordfuoco)
  66. * #1065 Add tab as confirm key code to taginput (thanks @williamabbott)
  67. * #1083 Add ``date-creator`` prop to datepicker (thanks @jonagoldman)
  68. ### Fixes
  69. * #1024 Fix upload SSR support
  70. * #1027 Fix ``icon-pack`` prop when individual components
  71. * #1040 Fix prevent radio with multi-line text from shrinking (thanks @rhwilr)
  72. * #1067 Fix IE 11 UI switch (thanks @patrickabkarian)
  73. * #1072 Fix sorting boolean fields
  74. ## 0.7.0
  75. ### Breaking changes
  76. * Change path to import components to use outside main vue instance, like:
  77. ```javascript
  78. // see Toast, Snackbar, Modal and Dialog doc pages for more examples
  79. import { Toast } from 'buefy/dist/components/toast'
  80. Toast.open('Toasty!')
  81. ```
  82. * Upload component accepts a single `File` and `Array<File>` when multiple as ``v-model``
  83. * Rename ``readonly`` to ``editable`` on datepicker and timepicker (now just use the prop without false value)
  84. * **Removed Panel component**, it was deprecated since 0.5.3
  85. ### New features
  86. * Add ``closable`` prop to taginput (thanks @adrlen)
  87. * #970 Add Object type to ``type`` prop of field and icon
  88. ### Fixes
  89. * Updated timepicker style (it's a little smaller now)
  90. * #992 Fix table header disappear with pagination
  91. * #999 Fix ``size`` prop to datepicker and timepicker
  92. ## 0.6.7
  93. ### New features
  94. * **Table improved**: can change columns dynamically
  95. * Add ``auto-close`` and ``duration`` props to message and notification
  96. * Add ``allow-duplicates`` prop to taginput
  97. * Add ``required`` prop to radio and checkbox
  98. * Add ``defaultInputHasCounter`` constructor options
  99. ### Fixes and changes
  100. * #839 Fix ``icon-pack`` from icon to be reactive
  101. * #840 Fix loading position to tagInput (thanks @adrlen)
  102. * #852 Fix label class to field when horizontal
  103. * #872 Fix datepicker default formatter
  104. * #895 Fix loading overlay when not in full page (thanks @adrlen)
  105. * #927 Fix autocomplete when option text is too long (thanks @8bu)
  106. * #948 Fix switch when multi line text (thanks @rhwilr)
  107. ## 0.6.6
  108. ### New features
  109. * **Update Bulma to 0.7.1**
  110. * Add ``header`` slot to autocomplete
  111. * Add ``type`` prop to checkbox and radio
  112. * Add ``on-paste-separators`` and ``before-adding`` props to tagInput
  113. * #830 Add ``ellipsis`` prop to tagInput and tag components
  114. ### Fixes and changes
  115. * #746 Fix default ``dateFormatter`` function to datepicker
  116. * #755 Fix arrow centered when table detail (thanks @wanxe)
  117. * #787 Fix type in horizontal field when message is empty
  118. * #814 Reset scroll to modal before destroy
  119. * #481 Fix tagInput height to match other inputs
  120. ## 0.6.5
  121. * Revert some changes on Checkbox, CheckboxButton, Radio, RadioButton, Select and Switch, working as before now
  122. * #711 Fix click event to switch (thanks @adrlen)
  123. * #712 Fix SSR support (thanks @anteriovieira)
  124. * #719 Fix ``header`` slot to tabItem
  125. * #718 Fix ``changeMonth`` and ``changeYear`` events to datepicker in ``change-month`` and ``change-year``
  126. * #727 Fix upload check file
  127. * #730 Fix field with addons not updating on re-render (tanks @arlen)
  128. ## 0.6.4
  129. ### New features
  130. * **Add nuxt-buefy on docs**, [see here](https://buefy.org/#/documentation/start) (thanks @anteriovieira)
  131. * Add ``indefinite`` prop to snackbar
  132. * Add ``header`` slot to datepicker
  133. * Add ``header`` slot to tabItem
  134. * #485 Add ``custom-class`` prop to field (thanks @docnoe)
  135. * #509 Add autocomplete slot support to taginput (thanks @gkinsman)
  136. * #581 Add ``is-row-checkable`` prop to table (thanks @jvmonjo)
  137. * #602 Add ``changeMonth`` and ``changeYear`` events to datepicker
  138. * #604 Add ``remove-on-keys`` prop to taginput, allowing to remove last tag (thanks @adrlen)
  139. * #609 Add ``is-full-page`` prop to loading, to limit it to its container (thanks @adrlen)
  140. * #610 Add ``visible`` prop to tabItem
  141. * #644 Add ``clear-on-select`` prop to autocomplete (thanks @raniesantos)
  142. * #645 Add ``selectable-dates`` prop to datepicker (thanks @pip63)
  143. * #682 Add ``has-detailed-visible`` prop to table (thanks @wanxe)
  144. * #687 Add ``focus-on`` prop to dialog
  145. ### Fixes and changes
  146. * #576 Fix upload check file type
  147. * #586 Fix dropdown change event
  148. * #593 Fix timepicker update only time of Date object
  149. * #599 Fix ``on-cancel`` prop to dialog, get called when clicking confirm
  150. * #648 Fix dropdown emit change event (thanks @adrlen)
  151. * #670 Fix tabs emit change event (thanks @adrlen)
  152. * #686 Remove 'is-light' color to cancel button of dialog
  153. ## 0.6.3
  154. ### New features
  155. * **New extension: Sortable.js**, [see here](https://buefy.org/#/extensions/sortablejs)
  156. * **Update Bulma to 0.6.2**
  157. * **Add Font Awesome 5 support** (http://fontawesome.com/)
  158. * Add ``columns`` prop to table, you can now pass an array instead of adding scoped slots (for simple tables)
  159. * Add ``rounded`` prop to Input, Select, Autocomplete, Datepicker and Timepicker, Pagination
  160. * Add "is-toggle-rounded" type to Tabs
  161. * Add ``open`` prop to collapse ``trigger`` slot
  162. * Add ``native`` prop to upload
  163. * #222 Add ``open-on-focus`` prop to autocomplete (good to simulate a select element)
  164. * #482 Add ``allow-new`` prop to taginput
  165. * #483 Add ``unselectable-days-of-week`` prop to datepicker
  166. * #487 Add ``icon-size`` prop to message
  167. * #492 Add isAsc parameter to ``custom-sort`` function of table (thanks @frantic1048)
  168. * #494 Add ``unselectable-times`` prop to timepicker
  169. * #525 Add ``pagination-size`` prop to table (thanks @nateleavitt)
  170. * #531 Add ``confirm-key-codes`` prop to taginput
  171. ### Fixes and changes
  172. * Remove ``max-results`` prop from autocomplete, it now has a scrollbar with all results
  173. * #493 Fix ``keep-first`` autocomplete prop with async data
  174. * #498 Fix horizontal field on mobile
  175. * #500 Fix message position for horizontal field (thanks @electrolinux)
  176. * #543 Fix dropdown toggle programmatic
  177. ## 0.6.2
  178. ### New features
  179. * **New component: Tag Input**, [see docs](https://buefy.org/#/documentation/taginput) (thanks @jgerbes)
  180. * #125 Add ``queue`` prop to toast/snackbar and ``defaultNoticeQueue`` constructor option
  181. * Note that the animations aren't perfect right now
  182. * #432 **Datepicker improved**: can add event indicators on it (thanks @chasegiunta)
  183. * #439 Add support to horizontal field, with the ``horizontal`` prop (thanks @electrolinux)
  184. * Add ``mobile-native`` prop to datepicker and timepicker
  185. * Add ``defaultDatepickerMobileNative`` and ``defaultTimepickerMobileNative`` constructor options
  186. * Add ``events`` prop to modal (to bind events programmatically)
  187. * Add ``position`` prop to datepicker and timepicker
  188. * Add ``size`` prop to dialog
  189. * Add ``tabstop`` and ``disabled`` props to tag
  190. * Add ``.sync`` option to table ``current-page``
  191. ### Fixes and changes
  192. * Maxlength counter for input only shows on focus
  193. * Add padding to tab content
  194. * Fix autocomplete with ``keep-first`` selecting on blur when nothing is shown
  195. * Fix tabs buttons size sometimes flickering
  196. * #416 Fix pagination color
  197. * #419 Fix input icon size
  198. * #428 Fix ``current-page`` from table to be reactive
  199. * #440 Fix upload input file width (thanks @frantic1048)
  200. ## 0.6.1
  201. * #409 Fix notification delete button
  202. * #410 Fix alert triggering on upload
  203. ## 0.6.0
  204. ### Breaking changes
  205. * Vue 2.5+ is now the minimum required version
  206. * Bulma breaking changes, [see changelog](https://github.com/jgthms/bulma/blob/master/CHANGELOG.md#breaking-changes)
  207. * **Removed** the deprecated prompt dialog ``inputPlaceholder``, ``inputName`` and ``inputMaxlength`` props
  208. * Buefy now uses [MDI icons from community](https://materialdesignicons.com/) instead, you'll have to change icon names and if you use a CDN you should change:
  209. ```html
  210. <link rel="stylesheet" href="//cdn.materialdesignicons.com/2.0.46/css/materialdesignicons.min.css">
  211. ```
  212. ### New features
  213. * **New component: Timepicker**, [see docs](https://buefy.org/#/documentation/timepicker)
  214. * **New component: Checkbox Button**, [see docs](https://buefy.org/#/documentation/checkbox)
  215. * **New docs section: Extensions**, [see here](https://buefy.org/#/extensions/cleavejs)
  216. * Support for Bulma 0.6.1
  217. * Add ``disabled`` prop to tabItem
  218. * Add ``focusable`` prop to table
  219. * Add ``focus()`` method to table
  220. * Add ``hoverable`` prop to table
  221. * Add ``custom-size`` prop to icon
  222. * Add ``custom-class`` prop to icon
  223. * Add ``detail-key`` and ``opened-detailed`` props to table (thanks @wanxe)
  224. * Add ``scroll`` prop to modal/dialog (changes what to do with ``<body>`` scrollbar)
  225. * Add ``parent`` prop to modal, pass a Vue object to it to open component modal programmatically
  226. * #359 Add ``mobile-modal`` prop to dropdown to enable/disable modal on mobile
  227. * #365 Add ``src/scss/utils/_all.scss`` for easier modular importing (thanks @gwvt)
  228. * #377 Add support to MDI icons from community
  229. * #387 Add ``current-page`` prop to table (thanks @frantic1048)
  230. * #388 Add ``size`` prop to radio and checkbox
  231. * #398 Add ``unselectable-dates`` prop to datepicker to disable an array of dates
  232. * #399 Add configurable closing options for dialog (like modal)
  233. ### Fixes
  234. * Update tooltip font size and padding, it's a bit bigger now
  235. * Update table keyboard navigation, now doesn't require pressing enter and only works when ``focusable``
  236. * #288 Fix input message from parent field (thanks @yarbshk)
  237. * #358 Fix modal/dialog shifting content (``scroll`` prop)
  238. * #380 Fix clearing autocomplete input
  239. * #395 Fix ref dropdown availability (thanks @frantic1048)
  240. ## 0.5.4
  241. * **Deprecated** prompt dialog ``inputPlaceholder``, ``inputName`` and ``inputMaxlength`` props, use new ``inputAttrs`` prop, [see docs](https://buefy.org/#/documentation/dialog)
  242. * Fix ``focus`` method on select
  243. * Table with ``selected`` prop can now be natigated with keyboard
  244. * #251, #345 Add ``bottom-left`` slot to table
  245. * #334 Add ``defaultDialogConfirmText`` and ``defaultDialogCancelText`` constructor options
  246. * #335 Add ``icon`` and ``iconPack`` prop to dialog
  247. * #350 Add Function type to ``component`` prop of modal (thanks @ivalkenburg)
  248. * #354 Add tab key press to autocomplete (thanks @tmepple)
  249. * #356 Fix table header alignment
  250. ## 0.5.3
  251. * **New component: Collapse**, [see docs](https://buefy.org/#/documentation/collapse)
  252. * **Panel deprecated**, use new Collapse component, [old docs here](https://buefy.org/#/documentation/panel)
  253. * Update Bulma to v0.5.3
  254. * #223 Add ``footer`` slot to table
  255. * #246 Remove ``key`` on detailed rows of table component (thanks @Tirke)
  256. * #301 Fix Bulma style override for radio and checkbox
  257. * #303 Fix dropdown close on custom item when is replaced or changed
  258. * #305 Fix datepicker calendar display when disabled and inline
  259. * #309 Add ``labelFor`` prop to field component, to set native ``for`` attribute to the label tag (thanks @tmepple)
  260. * #314 Set pack prop to next/prev icon buttons for datepicker
  261. * #315 Fix escape regexp characters to autocomplete
  262. * #316 Fix checkbox shrinking when text is very long (thanks @Tirke)
  263. * #317 Add default datepicker constructor options
  264. * #324 Fix table broken sort state
  265. * #330 Fix table empty and detail disposition
  266. * #339 Fix upload warning when is required
  267. * #340 Add ``size`` prop to radio button
  268. ## 0.5.2
  269. * #262 Add ``empty`` slot to autocomplete (empty message)
  270. * #264 Add ``has-counter`` prop to input, add it when you want show or hide character counter when maxlength prop is passed
  271. * #265 Fix disabled pagination (thanks @YassinOuider)
  272. * #272 Add ``readonly`` prop to allow typing a date on datepicker
  273. * #273 Fix autocomplete for SSR (thanks @LANSELOT)
  274. * #276 Add ``first-day-of-week`` prop to datepicker
  275. * #279 Fix table not default sorting async data
  276. * #289 Fix dropdown-trigger container html tag
  277. * #291 Add configurable closing options for Modal (thanks @jwahdatehagh)
  278. * #298 Fix mobile detection datepicker for SSR
  279. * #302 Fix datepicker calendar display when disabled
  280. ## 0.5.1
  281. * **New component: Datepicker**, [see docs](https://buefy.org/#/documentation/datepicker) (thanks @bartboy011)
  282. * **New component: Tag**, [see docs](https://buefy.org/#/documentation/tag)
  283. * #195 Add ``custom-key`` prop to table column, add it when you want a column without label
  284. * #221 Add backend pagination support to table (thanks @cappuc)
  285. * #214 Add ``active`` prop to tooltip
  286. * #215 Add ``header`` slot to table (custom headers)
  287. * #228 Fix table checked rows not working on mobile
  288. * #235 Add ``custom-is-checked`` prop to table column, add it when you want a custom compare function when is checkable
  289. * #237 Fix emit blur event for input
  290. * #239 Fix table columns on v-for loop
  291. * #241 Fix remove tabItem when it's bounded to array
  292. * #242 Update required Vue.js version (2.4+) (thanks @iwan-wijaya)
  293. * #243 Add ``default-sort-direction`` prop to table, add it when you want change default sort direction on the first click
  294. * #260 Fix radio/radio button emitting ``input`` multiple times (thanks @frantic1048)
  295. * Add ``meta`` prop to table column, useful for custom headers
  296. * Add ``type`` prop to switch (thanks @Tirke)
  297. * Add ``multiple`` support to select
  298. * Add ``inline`` prop to dropdown, items are shown inline and trigger removed
  299. * Remove ``has-custom-template`` prop from autocomplete, just use scoped slot to have the same feature
  300. ## 0.5.0
  301. ### Breaking changes
  302. * **Update Bulma to v0.5.1**, changes on Sass variables naming, [see docs](https://github.com/jgthms/bulma/blob/master/CHANGELOG.md#050)
  303. * Buefy Sass variables are also following the new convention
  304. * **Removed Menu component**, it was experimental and wasn't good enough, needed too much to work and can easily be replaced with pure HTML
  305. * Constructor option ``defaultContentElement`` renamed to ``defaultContainerElement``
  306. * ``b-dropdown-option`` renamed to ``b-dropdown-item``
  307. * ``subheader`` prop renamed to ``custom``
  308. * Any attributes on Input, Select and Autocomplete will be added directly to ``<input>`` or ``<select>`` itself instead of the root element
  309. * ``change`` events for all form controls (Input, Select Autocomplete, Checkbox, RadioGroup, Switch) that returned pure value will now return ``$event`` (and require ``.native`` modifier), use ``input`` instead
  310. * Checkbox ``custom-value`` prop renamed to ``native-value``
  311. * ``checked`` prop removed
  312. * **Removed CheckboxGroup**, just add the same ``v-model`` to multiple Checkboxes and set a ``native-value``, [see docs](https://buefy.org/#/documentation/checkbox)
  313. * Radio and Radio Button ``value`` prop renamed to ``native-value``
  314. * Add ``v-model`` support
  315. * Radio Buttons have to be wrapped on a field
  316. * **Removed RadioGroup**, just add the same ``v-model`` to multiple Radios/RadioButtons and set a ``native-value`` [see docs](https://buefy.org/#/documentation/radio)
  317. * Remove switch ``checked`` prop
  318. ### New stuff
  319. * **New component: Upload**, [see docs](https://buefy.org/#/documentation/upload) (thanks @jtommy)
  320. * Field ``position`` prop works for ``grouped`` fields
  321. * Add ``group-multiline`` prop to field
  322. * Add ``size`` prop to message
  323. * #191 Add detail option (collapse) to table row, [see docs](https://buefy.org/#/documentation/table) (thanks @wanxe)
  324. * #201 Add support to array on Field ``message`` prop (thanks @jtommy)
  325. * #207 Add ``centered`` prop to table column
  326. * Add ``native-value``, ``true-value`` and ``false-value`` props to switch
  327. ### Bug fixes
  328. * #206 Fix radio and checkbox within ``v-for``
  329. ## 0.4.6
  330. * **New component: Menu**, [see docs](https://buefy.org/#/documentation/menu) (thanks @tsctao)
  331. * **New component: Panel**, [see docs](https://buefy.org/#/documentation/panel) (thanks @jtommy)
  332. * **New component: Loading**, [see docs](https://buefy.org/#/documentation/loading) (thanks @jtommy)
  333. * **Dropdown improved**: can add any content on it, can be triggered by hover, [see docs](https://buefy.org/#/documentation/dropdown)
  334. * Remove ``narrowed`` prop from dropdown
  335. * Update Bulma to v0.4.4
  336. * Add CDN install method and JSFiddle examples
  337. * Add boolean ``addons`` prop to field
  338. * Fix message and notification inside ``.media`` element
  339. * Fix pagination current page to not be clickable (thanks @jtommy)
  340. * #118 Add Nuxt.js installation on docs
  341. * #171 Fix modal not taking full width on mobile
  342. * #182 Fix table not default sorting async data (thanks @jtommy)
  343. * #184 Add ``input`` event on docs (input/autocomplete)
  344. * #190 Add Vue.js required version on docs
  345. * #197 Fix autocomplete ``expanded`` prop not working correctly
  346. ## 0.4.5
  347. * Update Bulma to v0.4.3
  348. * Page is now clipped when a modal/dialog is active (to avoid weird scroll behavior)
  349. * Update modal docs example to not use the ``component`` prop, works better for events and is more common — Old way is not deprecated
  350. * Remove programmatic component modal from docs since isn't a good practice and was causing too many issues
  351. * Fix autocomplete ``focus()`` method
  352. * #106 Fix prompt dialog vue-warning
  353. * #144 Add ``rows`` prop to input (textarea)
  354. * #145 Fix autocomplete not preventing form from submitting (thanks @jtommy)
  355. * #153 Add return for ``checkHtml5Validity()`` method
  356. * #155 Fix input/autocomplete ``change`` event (thanks @jtommy)
  357. * #157 Fix table redundant level element generating extra padding
  358. * #159 Fix modal with ``.modal-card`` responsiveness, added a ``has-modal-card`` prop
  359. * #165 Fix safari button alignment on dialog (thanks @jtommy)
  360. * #154 Add prop for when table data is empty (thanks @jtommy)
  361. * #170 Fix dialogs min-width mobile
  362. ## 0.4.4
  363. * #139 Fix notices durations and constructor options
  364. ## 0.4.3
  365. * Update switch animation (it was laggy) and causing weird behavior within ``<keep-alive>`` components, [see updated animation](https://buefy.org/#/documentation/switch)
  366. * Add tons of props to Autocomplete, [see here](https://buefy.org/#/documentation/autocomplete)
  367. * **Dropdown button as addon now needs a ``.control`` element wrapping**
  368. * Add some useful methods on docs for Input, Select, Autocomplete and Table
  369. * Fix autocomplete list width
  370. * #38 Add ``animation`` prop for dialog and modal, for custom animation (transition name)
  371. * #115 Add ``row-class`` property to table to style row status, e.g.:
  372. ```html
  373. <b-table :data="tableData" :row-class="row => row.amount < 10 && 'is-warning'">[...]</b-table>
  374. ```
  375. * #117 Fix table row loop missing ``key`` prop
  376. * #122 Fix async tab-items
  377. * #124 Toast, Dialog, Snackbar and Programmatic Modal exposed
  378. * #128 Add default notices duration constructor options (thanks @quimarche)
  379. * #130 Fix checkbox/switch not emitting change event when using keyboard (thanks @gongzza)
  380. * #132 Add dropdown ``active-change`` event to know when it's dropdown list is active/visible (thanks @bartboy011)
  381. * #134 Add ``true-value`` and ``false-value`` props to checkbox
  382. ## 0.4.2
  383. * Fix Buefy installation
  384. ## 0.4.1
  385. * Fix table sorting null values
  386. * Table null values always come last when sorting
  387. * Add icon support to select
  388. * Fix dropdown to not stay on top of trigger
  389. * Fix switch disable state
  390. * Add click events for dropdown option
  391. * Fix dropdown disable state
  392. * Fix table columns not being reactive
  393. * #90 Fix tabs with long elements (thanks @mirshko)
  394. * #91 Update Bulma to v0.4.2
  395. * #96 Add ``visible`` prop to table column
  396. * #102 Fix anchor tag / router-link on dropdown
  397. * #104 Fix numeric zero values on input's maxlength (thanks @iwan-wijaya)
  398. ## 0.4.0
  399. ### I've broke some stuff...
  400. * Remove ``label``, ``icon`` and ``icon-pack`` properties from **DropdownOption** thanks to the new syntax, [see docs](https://buefy.org/#/documentation/dropdown)
  401. * Remove ``content`` property from **TableColumn**, use ``v-html`` on an element inside TableColumn instead
  402. * **Field**, **Snackbar** and **Toast** ``position`` property now needs the ``is-`` prefix (eg. ``is-top-left`` or ``is-centered``) — *Gotta fix these inconsistencies while it's still in beta*
  403. * Remove ``on-off`` prop from Switch
  404. ### Additions and fixes
  405. * **New component: Autocomplete**, [see docs](https://buefy.org/#/documentation/autocomplete)
  406. * **Switch design overhaul**, [see new style](https://buefy.org/#/documentation/switch)
  407. * Fix Tabs dynamic height
  408. * Add one more Sass variable: ``$speed-slower: 250ms !default``
  409. * Add ``size`` prop to Switch
  410. * Add ``.sync`` modifier to Pagination ``current`` prop
  411. * Add ``active`` property and changed animations of Notification and Message
  412. * Add Dropdown within nav example
  413. * All selections control (Checkbox, Radio, RadioButton and Switch) can now be focused and changed by keyboard
  414. * #69 Add loading state to Table
  415. * #71 Add background for checked rows on Table (thanks @mikejavier)
  416. * #72 Fix Table overflow
  417. * #74 Fix DropdownOption slots, can customize with HTML now
  418. * #76 Modal close event accepts parameters (thanks @gongzza)
  419. * #77 Add index to Table scoped slot (thanks @UrVerySpecial)
  420. * #78 Fix Table sorting zero values (thanks @gwvt)
  421. * #82 Fix Select with numeric zero value
  422. ## 0.3.2
  423. * **New component: Tabs**, [see docs](https://buefy.org/#/documentation/tabs)
  424. * Add ``content`` prop to TableColumn, use this instead of ``v-html`` or it might break on tables with ``mobile-cards`` (collapsed rows)
  425. * Alert Dialog accepts string as well
  426. * Dialog open with focus on confirm button (easier to just hit enter)
  427. * Modal can be used in template as well (non programmatic)
  428. * Table automatically scrolls if overflowed
  429. * #62 Add sort direction with Table ``mobile-cards``
  430. * #67 Fix Table sort null values
  431. ## 0.3.1
  432. * Field ``grouped`` now also works on nested Fields
  433. * Add Modal props
  434. * Fix all animations
  435. * Fix row click error
  436. * Fix ``.sync`` modifier
  437. * #56 Fix selection controls initial state always false
  438. * #58 Fix Table ``checked-rows`` prop not updating on Chrome
  439. ## 0.3.0
  440. ### Modal
  441. Show any content you want in a modal programatically, like an image:
  442. ```javascript
  443. this.$modal.open(
  444. `<p class="image is-4by3">
  445. <img src="./static/placeholder-1280x960.png">
  446. </p>`
  447. )
  448. ```
  449. or a component:
  450. ```javascript
  451. import CustomComponent from './components/CustomComponent'
  452. this.$modal.open({
  453. component: CustomComponent
  454. })
  455. ```
  456. ### Table
  457. **Breakable changes on it**, now requires a scoped slot to wrap the columns, and a slot inside the column. You have now full control over the content of cells:
  458. ```html
  459. <b-table :data="data">
  460. <template scope="props">
  461. <b-table-column field="id" label="ID" sortable numeric>
  462. {{ props.row.id }}
  463. </b-table-column>
  464. <b-table-column field="user.first_name" label="First Name" sortable>
  465. {{ props.row.user.first_name }}
  466. </b-table-column>
  467. <b-table-column field="date" label="Date" sortable
  468. v-html="formatDate(props.row.date)">
  469. </b-table-column>
  470. <b-table-column field="gender" label="Gender">
  471. <b-icon
  472. pack="fa"
  473. :icon="props.row.gender === 'Male' ? 'mars' : 'venus'">
  474. </b-icon>
  475. {{ props.row.gender }}
  476. </b-table-column>
  477. </template>
  478. </b-table>
  479. ```
  480. * Prop ``selectable`` renamed to ``selected`` and expects an Object, if you have Vuejs v2.3+ you can use the ``.sync`` modifier to make it two-way binding:
  481. ```html
  482. <b-table :data="data" :selected.sync="selectedRow">
  483. ```
  484. is the same as:
  485. ```html
  486. <b-table :data="data" :selected="selectedRow" @select="row => selectedRow = row">
  487. ```
  488. * Table new prop ``checked-rows`` that expects an Array, if you have Vuejs v2.3+ you can use the ``.sync`` modifier to make it two-way binding
  489. * Table ``render-html`` prop removed thanks to the new syntax
  490. * Column ``component`` prop removed thanks to the new syntax
  491. * Column ``field`` prop now accepts nested object keys
  492. ### Other
  493. * **Breaking:** Select ``b-option`` is now only ``option``
  494. * **Breaking:** Dropdown ``b-option`` is now ``b-dropdown-option``
  495. * Fix Dropdown background overlay index
  496. * #43 Fix Dialog cancel button focus state
  497. * #50 Add ``page-change`` event on Table
  498. * #52 Fix Select option
  499. * #53 Add ``type=button`` to notifications
  500. ## 0.2.2
  501. * Update Vue to 2.2.6
  502. * Update Bulma to 0.4.1
  503. * #35 Fix Dropdown TypeError
  504. * #29, #39 Fix SSR
  505. * #42 Fix Table ``default-sort`` prop
  506. * #40 Select now use native select, removed ``searchable`` property
  507. ## 0.2.1
  508. * Add ``loading`` property to Select
  509. * Fix Checkbox disabled style
  510. * Fix Input not being validated when v-model is updated
  511. * Fix Input ``loading`` overlapping other icons
  512. * Fix Input ``password-reveal`` icon being overlapped by Field ``type`` icon
  513. * #23 Fix Select with addons overflowing
  514. * #30 Fix Table ``backend-sorting`` resetting sorted column
  515. * #33 Fix Input and Select on-blur listener removing user-defined Field ``type`` and ``message``
  516. ## 0.2.0
  517. * **New component: Select**
  518. * **New component: Dropdown**
  519. * **Breaking:** Rename Table property ``html`` to ``render-html``
  520. * Fix Pagination buttons messing up at pages 3 and 4
  521. * Fix Dialog keeping keyup event
  522. * Fix prompt Dialog not validating before confirming
  523. * #6 Fix docs not working on IE. Thanks to [AngelMunoz](https://github.com/AngelMunoz)!
  524. * #9 Fix Table ``bordered`` sorted column
  525. * #10 Add Table ``backend-sorting`` property and ``sort`` event
  526. * #14 Add ``component`` property on Table. Thanks to [korpa](https://github.com/korpa)!
  527. ## 0.1.5
  528. * Fix #12
  529. * Refactored Notification and Message
  530. * Add animation when closing Notification and Message
  531. ## 0.1.4
  532. * Fix #5 — now serving compiled files
  533. * Fix #6 (partially) — docs now working on Edge
  534. * Add "UI Elements" on docs to specify that the user can use anything from Bulma
  535. * Redone the construtor options structure to work with the compiled build
  536. ## 0.1.2
  537. * Fix Switch two-way data binding not working correctly
  538. * Fix Radio animation not working properly
  539. * Fix #2 — select arrow misplaced
  540. * Fix Input's help message overlapping maxlength's counter
  541. * Fix Table column sorting — should start with ASC
  542. * Fix Table mobile sorting not working
  543. ## 0.1.1
  544. * Fix #1 — ``lib`` folder not published
  545. ## 0.1.0
  546. * **New component: Input**
  547. * **New component: Field**
  548. * Documentation done
  549. ## 0.0.3
  550. * **New component: Message**
  551. * **New component: Tooltip**
  552. * **New component: Dialog**
  553. * Add size option to Pagination
  554. * Notification slightly modified to keep original Bulma style
  555. * Toasts and Snackbars now queue between each other
  556. * Toast duration reduced to 2s
  557. ## 0.0.2
  558. * **New component: Pagination**
  559. * **Component rework: Notify is now Snackbar**
  560. * Table now uses the Pagination component
  561. * Toasts are now queued
  562. * Option to load components individually