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 32KB

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