buefy 0.9.18 → 0.9.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/CHANGELOG.md +1741 -1719
  2. package/dist/buefy.css +15848 -1
  3. package/dist/buefy.esm.js +77 -38
  4. package/dist/buefy.esm.min.js +2 -2
  5. package/dist/buefy.js +77 -38
  6. package/dist/buefy.min.css +1 -1
  7. package/dist/buefy.min.js +2 -2
  8. package/dist/cjs/autocomplete.js +5 -5
  9. package/dist/cjs/breadcrumb.js +1 -1
  10. package/dist/cjs/button.js +3 -3
  11. package/dist/cjs/carousel.js +3 -3
  12. package/dist/cjs/checkbox.js +1 -1
  13. package/dist/cjs/{chunk-5ed8a75a.js → chunk-09574ad9.js} +3 -3
  14. package/dist/cjs/{chunk-7c11fdde.js → chunk-201c9e5c.js} +1 -1
  15. package/dist/cjs/{chunk-545e1c7f.js → chunk-2a96ec68.js} +2 -2
  16. package/dist/cjs/{chunk-9103eeda.js → chunk-437dd7a0.js} +1 -0
  17. package/dist/cjs/{chunk-3b43d77a.js → chunk-5cd29907.js} +1 -1
  18. package/dist/cjs/{chunk-334bc809.js → chunk-7b44db6e.js} +2 -2
  19. package/dist/cjs/{chunk-779e6a5d.js → chunk-85b00a19.js} +8 -8
  20. package/dist/cjs/{chunk-5058e659.js → chunk-95c4b826.js} +3 -3
  21. package/dist/cjs/{chunk-83b41298.js → chunk-99367591.js} +24 -8
  22. package/dist/cjs/{chunk-73f8eef8.js → chunk-a6b29437.js} +1 -1
  23. package/dist/cjs/{chunk-8ef75f09.js → chunk-bcab8905.js} +6 -6
  24. package/dist/cjs/{chunk-54b0042d.js → chunk-befea70a.js} +2 -2
  25. package/dist/cjs/{chunk-4bcfaf1c.js → chunk-cc9676a6.js} +1 -1
  26. package/dist/cjs/{chunk-03279fd8.js → chunk-dddb035c.js} +1 -1
  27. package/dist/cjs/{chunk-e872f5e2.js → chunk-e0373ab6.js} +1 -1
  28. package/dist/cjs/{chunk-1f7e4ed3.js → chunk-e90b3d05.js} +2 -2
  29. package/dist/cjs/{chunk-f5285f14.js → chunk-eba24a95.js} +1 -1
  30. package/dist/cjs/{chunk-e86d3eeb.js → chunk-f5139026.js} +1 -1
  31. package/dist/cjs/{chunk-c8abb3ed.js → chunk-f8eb56c6.js} +2 -2
  32. package/dist/cjs/{chunk-87a116d9.js → chunk-fb8ff6be.js} +1 -2
  33. package/dist/cjs/clockpicker.js +17 -8
  34. package/dist/cjs/colorpicker.js +18 -11
  35. package/dist/cjs/config.js +1 -1
  36. package/dist/cjs/datepicker.js +8 -8
  37. package/dist/cjs/datetimepicker.js +10 -10
  38. package/dist/cjs/dialog.js +4 -4
  39. package/dist/cjs/dropdown.js +2 -2
  40. package/dist/cjs/field.js +2 -2
  41. package/dist/cjs/icon.js +2 -2
  42. package/dist/cjs/image.js +2 -2
  43. package/dist/cjs/index.js +20 -20
  44. package/dist/cjs/input.js +4 -4
  45. package/dist/cjs/loading.js +1 -1
  46. package/dist/cjs/menu.js +3 -3
  47. package/dist/cjs/message.js +3 -3
  48. package/dist/cjs/modal.js +2 -2
  49. package/dist/cjs/notification.js +4 -4
  50. package/dist/cjs/numberinput.js +4 -4
  51. package/dist/cjs/pagination.js +3 -3
  52. package/dist/cjs/progress.js +1 -1
  53. package/dist/cjs/rate.js +2 -2
  54. package/dist/cjs/select.js +4 -4
  55. package/dist/cjs/sidebar.js +16 -16
  56. package/dist/cjs/slider.js +2 -2
  57. package/dist/cjs/snackbar.js +2 -2
  58. package/dist/cjs/steps.js +3 -3
  59. package/dist/cjs/switch.js +1 -1
  60. package/dist/cjs/table.js +19 -12
  61. package/dist/cjs/tabs.js +3 -3
  62. package/dist/cjs/taginput.js +5 -5
  63. package/dist/cjs/timepicker.js +9 -9
  64. package/dist/cjs/toast.js +2 -2
  65. package/dist/cjs/tooltip.js +2 -2
  66. package/dist/cjs/upload.js +2 -2
  67. package/dist/components/autocomplete/index.js +2 -2
  68. package/dist/components/autocomplete/index.min.js +2 -2
  69. package/dist/components/breadcrumb/index.js +2 -1
  70. package/dist/components/breadcrumb/index.min.js +1 -1
  71. package/dist/components/button/index.js +3 -2
  72. package/dist/components/button/index.min.js +2 -2
  73. package/dist/components/carousel/index.js +2 -1
  74. package/dist/components/carousel/index.min.js +2 -2
  75. package/dist/components/checkbox/index.js +2 -2
  76. package/dist/components/checkbox/index.min.js +2 -2
  77. package/dist/components/clockpicker/index.js +13 -4
  78. package/dist/components/clockpicker/index.min.js +2 -2
  79. package/dist/components/collapse/index.js +1 -1
  80. package/dist/components/collapse/index.min.js +1 -1
  81. package/dist/components/colorpicker/index.js +36 -13
  82. package/dist/components/colorpicker/index.min.js +2 -2
  83. package/dist/components/datepicker/index.js +4 -4
  84. package/dist/components/datepicker/index.min.js +2 -2
  85. package/dist/components/datetimepicker/index.js +4 -4
  86. package/dist/components/datetimepicker/index.min.js +2 -2
  87. package/dist/components/dialog/index.js +3 -2
  88. package/dist/components/dialog/index.min.js +2 -2
  89. package/dist/components/dropdown/index.js +2 -1
  90. package/dist/components/dropdown/index.min.js +1 -1
  91. package/dist/components/field/index.js +3 -2
  92. package/dist/components/field/index.min.js +2 -2
  93. package/dist/components/icon/index.js +2 -1
  94. package/dist/components/icon/index.min.js +2 -2
  95. package/dist/components/image/index.js +2 -1
  96. package/dist/components/image/index.min.js +2 -2
  97. package/dist/components/input/index.js +2 -2
  98. package/dist/components/input/index.min.js +2 -2
  99. package/dist/components/loading/index.js +1 -1
  100. package/dist/components/loading/index.min.js +1 -1
  101. package/dist/components/menu/index.js +3 -2
  102. package/dist/components/menu/index.min.js +2 -2
  103. package/dist/components/message/index.js +2 -1
  104. package/dist/components/message/index.min.js +2 -2
  105. package/dist/components/modal/index.js +2 -1
  106. package/dist/components/modal/index.min.js +2 -2
  107. package/dist/components/navbar/index.js +1 -1
  108. package/dist/components/navbar/index.min.js +1 -1
  109. package/dist/components/notification/index.js +2 -1
  110. package/dist/components/notification/index.min.js +2 -2
  111. package/dist/components/numberinput/index.js +2 -2
  112. package/dist/components/numberinput/index.min.js +2 -2
  113. package/dist/components/pagination/index.js +2 -1
  114. package/dist/components/pagination/index.min.js +2 -2
  115. package/dist/components/progress/index.js +2 -1
  116. package/dist/components/progress/index.min.js +2 -2
  117. package/dist/components/radio/index.js +1 -1
  118. package/dist/components/radio/index.min.js +1 -1
  119. package/dist/components/rate/index.js +2 -1
  120. package/dist/components/rate/index.min.js +2 -2
  121. package/dist/components/select/index.js +2 -2
  122. package/dist/components/select/index.min.js +2 -2
  123. package/dist/components/sidebar/index.js +17 -16
  124. package/dist/components/sidebar/index.min.js +1 -1
  125. package/dist/components/skeleton/index.js +1 -1
  126. package/dist/components/skeleton/index.min.js +1 -1
  127. package/dist/components/slider/index.js +25 -8
  128. package/dist/components/slider/index.min.js +2 -2
  129. package/dist/components/snackbar/index.js +2 -1
  130. package/dist/components/snackbar/index.min.js +1 -1
  131. package/dist/components/steps/index.js +2 -1
  132. package/dist/components/steps/index.min.js +2 -2
  133. package/dist/components/switch/index.js +2 -1
  134. package/dist/components/switch/index.min.js +1 -1
  135. package/dist/components/table/index.js +15 -8
  136. package/dist/components/table/index.min.js +2 -2
  137. package/dist/components/tabs/index.js +2 -1
  138. package/dist/components/tabs/index.min.js +2 -2
  139. package/dist/components/tag/index.js +1 -1
  140. package/dist/components/tag/index.min.js +1 -1
  141. package/dist/components/taginput/index.js +2 -2
  142. package/dist/components/taginput/index.min.js +2 -2
  143. package/dist/components/timepicker/index.js +3 -3
  144. package/dist/components/timepicker/index.min.js +2 -2
  145. package/dist/components/toast/index.js +2 -1
  146. package/dist/components/toast/index.min.js +1 -1
  147. package/dist/components/tooltip/index.js +25 -8
  148. package/dist/components/tooltip/index.min.js +2 -2
  149. package/dist/components/upload/index.js +2 -2
  150. package/dist/components/upload/index.min.js +2 -2
  151. package/dist/esm/autocomplete.js +6 -6
  152. package/dist/esm/breadcrumb.js +1 -1
  153. package/dist/esm/button.js +4 -4
  154. package/dist/esm/carousel.js +3 -3
  155. package/dist/esm/checkbox.js +2 -2
  156. package/dist/esm/{chunk-84c6dfd6.js → chunk-17b33cd2.js} +1 -2
  157. package/dist/esm/{chunk-a5e3ae5d.js → chunk-293c457c.js} +6 -6
  158. package/dist/esm/{chunk-d35985c7.js → chunk-33e1434e.js} +1 -1
  159. package/dist/esm/{chunk-690d5be4.js → chunk-493ff0a9.js} +1 -1
  160. package/dist/esm/{chunk-252f2b57.js → chunk-4a2008fa.js} +1 -1
  161. package/dist/esm/{chunk-6adc5c5d.js → chunk-4e788733.js} +2 -2
  162. package/dist/esm/{chunk-43fb1457.js → chunk-6c64686f.js} +8 -8
  163. package/dist/esm/{chunk-262b3f82.js → chunk-6e56b8bc.js} +2 -2
  164. package/dist/esm/{chunk-5435bd9a.js → chunk-7bb9107f.js} +1 -1
  165. package/dist/esm/{chunk-e044aa02.js → chunk-7e17a637.js} +1 -1
  166. package/dist/esm/{chunk-a628d44d.js → chunk-83c8b459.js} +3 -3
  167. package/dist/esm/{chunk-f967f402.js → chunk-9b0b8225.js} +24 -8
  168. package/dist/esm/{chunk-d9232770.js → chunk-a32d1427.js} +1 -1
  169. package/dist/esm/{chunk-598015da.js → chunk-ade5b253.js} +1 -1
  170. package/dist/esm/{chunk-f9eaeac4.js → chunk-b0123b89.js} +2 -2
  171. package/dist/esm/{chunk-58cdbf2b.js → chunk-b5576437.js} +3 -3
  172. package/dist/esm/{chunk-1a4fde6d.js → chunk-c5284276.js} +2 -2
  173. package/dist/esm/{chunk-effa4d25.js → chunk-d46e7ff0.js} +2 -2
  174. package/dist/esm/{chunk-8ed29c41.js → chunk-e92e3389.js} +1 -0
  175. package/dist/esm/{chunk-6d96579e.js → chunk-f32d0228.js} +1 -1
  176. package/dist/esm/clockpicker.js +17 -8
  177. package/dist/esm/colorpicker.js +18 -11
  178. package/dist/esm/config.js +1 -1
  179. package/dist/esm/datepicker.js +9 -9
  180. package/dist/esm/datetimepicker.js +10 -10
  181. package/dist/esm/dialog.js +4 -4
  182. package/dist/esm/dropdown.js +3 -3
  183. package/dist/esm/field.js +3 -3
  184. package/dist/esm/icon.js +3 -3
  185. package/dist/esm/image.js +3 -3
  186. package/dist/esm/index.js +20 -20
  187. package/dist/esm/input.js +5 -5
  188. package/dist/esm/loading.js +1 -1
  189. package/dist/esm/menu.js +3 -3
  190. package/dist/esm/message.js +3 -3
  191. package/dist/esm/modal.js +3 -3
  192. package/dist/esm/notification.js +4 -4
  193. package/dist/esm/numberinput.js +4 -4
  194. package/dist/esm/pagination.js +4 -4
  195. package/dist/esm/progress.js +1 -1
  196. package/dist/esm/rate.js +2 -2
  197. package/dist/esm/select.js +5 -5
  198. package/dist/esm/sidebar.js +16 -16
  199. package/dist/esm/slider.js +2 -2
  200. package/dist/esm/snackbar.js +2 -2
  201. package/dist/esm/steps.js +3 -3
  202. package/dist/esm/switch.js +1 -1
  203. package/dist/esm/table.js +19 -12
  204. package/dist/esm/tabs.js +3 -3
  205. package/dist/esm/taginput.js +5 -5
  206. package/dist/esm/timepicker.js +10 -10
  207. package/dist/esm/toast.js +2 -2
  208. package/dist/esm/tooltip.js +3 -3
  209. package/dist/esm/upload.js +2 -2
  210. package/dist/vetur/attributes.json +9 -1
  211. package/dist/vetur/tags.json +2 -1
  212. package/package.json +1 -1
  213. package/src/components/button/Button.spec.js +14 -0
  214. package/src/components/button/Button.vue +1 -1
  215. package/src/components/checkbox/Checkbox.vue +5 -1
  216. package/src/components/clockpicker/Clockpicker.vue +9 -1
  217. package/src/components/colorpicker/Colorpicker.vue +7 -2
  218. package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.vue +3 -1
  219. package/src/components/datepicker/Datepicker.vue +1 -1
  220. package/src/components/field/Field.vue +1 -0
  221. package/src/components/menu/MenuItem.vue +1 -1
  222. package/src/components/sidebar/Sidebar.spec.js +105 -105
  223. package/src/components/sidebar/Sidebar.vue +303 -303
  224. package/src/components/table/Table.vue +10 -2
  225. package/src/components/table/TableColumn.vue +121 -118
  226. package/src/components/tooltip/Tooltip.vue +299 -288
  227. package/src/scss/components/_dropdown.scss +6 -0
  228. package/src/scss/utils/_helpers.scss +0 -6
  229. package/src/utils/FormElementMixin.js +0 -1
  230. package/src/utils/config.js +1 -0
@@ -1,8 +1,8 @@
1
1
  import './chunk-455cdeae.js';
2
2
  import { merge } from './helpers.js';
3
- import { c as config, V as VueInstance } from './chunk-8ed29c41.js';
3
+ import { c as config, V as VueInstance } from './chunk-e92e3389.js';
4
4
  import { _ as __vue_normalize__, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
5
- import { N as NoticeMixin } from './chunk-d9232770.js';
5
+ import { N as NoticeMixin } from './chunk-a32d1427.js';
6
6
 
7
7
  //
8
8
  var script = {
package/dist/esm/steps.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { _ as _defineProperty } from './chunk-455cdeae.js';
2
2
  import './helpers.js';
3
- import { c as config } from './chunk-8ed29c41.js';
4
- import { I as Icon } from './chunk-e044aa02.js';
3
+ import { c as config } from './chunk-e92e3389.js';
4
+ import { I as Icon } from './chunk-7e17a637.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
6
  import './chunk-60a03517.js';
7
7
  import './chunk-c9c18b2f.js';
8
- import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-6d96579e.js';
8
+ import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-f32d0228.js';
9
9
 
10
10
  var script = {
11
11
  name: 'BSteps',
@@ -1,4 +1,4 @@
1
- import { c as config } from './chunk-8ed29c41.js';
1
+ import { c as config } from './chunk-e92e3389.js';
2
2
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
3
3
 
4
4
  //
package/dist/esm/table.js CHANGED
@@ -1,16 +1,16 @@
1
1
  import { _ as _defineProperty, d as _toConsumableArray, b as _typeof } from './chunk-455cdeae.js';
2
2
  import { toCssWidth, getValueByPath, indexOf, multiColumnSort, isNil, escapeRegExpChars, removeDiacriticsFromString } from './helpers.js';
3
- import { V as VueInstance, s as setVueInstance } from './chunk-8ed29c41.js';
4
- import './chunk-84c6dfd6.js';
5
- import { I as Icon } from './chunk-e044aa02.js';
3
+ import { V as VueInstance, s as setVueInstance } from './chunk-e92e3389.js';
4
+ import './chunk-17b33cd2.js';
5
+ import { I as Icon } from './chunk-7e17a637.js';
6
6
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import { I as Input } from './chunk-a628d44d.js';
7
+ import { I as Input } from './chunk-83c8b459.js';
8
8
  import './chunk-2793447b.js';
9
- import { C as Checkbox } from './chunk-252f2b57.js';
10
- import { S as Select } from './chunk-6adc5c5d.js';
9
+ import { C as Checkbox } from './chunk-4a2008fa.js';
10
+ import { S as Select } from './chunk-4e788733.js';
11
11
  import './chunk-b9bdb0e4.js';
12
12
  import { L as Loading } from './chunk-6d0f2352.js';
13
- import { P as Pagination, d as debounce } from './chunk-1a4fde6d.js';
13
+ import { P as Pagination, d as debounce } from './chunk-c5284276.js';
14
14
  import { S as SlotComponent } from './chunk-c9c18b2f.js';
15
15
 
16
16
  var _components;
@@ -243,8 +243,8 @@ var script$1 = {
243
243
  return !!this.$scopedSlots.default;
244
244
  },
245
245
 
246
- /**
247
- * Return if column header is un-selectable
246
+ /**
247
+ * Return if column header is un-selectable
248
248
  */
249
249
  isHeaderUnSelectable: function isHeaderUnSelectable() {
250
250
  return !this.headerSelectable && this.sortable;
@@ -280,6 +280,9 @@ var script$1 = {
280
280
 
281
281
  this.$table.refreshSlots();
282
282
  },
283
+ beforeDestroy: function beforeDestroy() {
284
+ this.$table.refreshSlots();
285
+ },
283
286
  render: function render(createElement) {
284
287
  // renderless
285
288
  return null;
@@ -425,6 +428,10 @@ var script$3 = {
425
428
  type: Boolean,
426
429
  default: true
427
430
  },
431
+ checkboxType: {
432
+ type: String,
433
+ default: 'is-primary'
434
+ },
428
435
  checkboxPosition: {
429
436
  type: String,
430
437
  default: 'left',
@@ -1505,7 +1512,7 @@ var script$3 = {
1505
1512
  const __vue_script__$3 = script$3;
1506
1513
 
1507
1514
  /* template */
1508
- var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-table"},[_vm._t("default"),(_vm.mobileCards && _vm.hasSortablenewColumns)?_c('b-table-mobile-sort',{attrs:{"current-sort-column":_vm.currentSortColumn,"sort-multiple":_vm.sortMultiple,"sort-multiple-data":_vm.sortMultipleDataComputed,"is-asc":_vm.isAsc,"columns":_vm.newColumns,"placeholder":_vm.mobileSortPlaceholder,"icon-pack":_vm.iconPack,"sort-icon":_vm.sortIcon,"sort-icon-size":_vm.sortIconSize},on:{"sort":function (column, event) { return _vm.sort(column, null, event); },"removePriority":function (column) { return _vm.removeSortingPriority(column); }}}):_vm._e(),(_vm.paginated && (_vm.paginationPosition === 'top' || _vm.paginationPosition === 'both'))?[_vm._t("pagination",[_c('b-table-pagination',_vm._b({attrs:{"per-page":_vm.perPage,"paginated":_vm.paginated,"rounded":_vm.paginationRounded,"icon-pack":_vm.iconPack,"total":_vm.newDataTotal,"current-page":_vm.newCurrentPage,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel,"page-input":_vm.pageInput,"pagination-order":_vm.paginationOrder,"page-input-position":_vm.pageInputPosition,"debounce-page-input":_vm.debouncePageInput},on:{"update:currentPage":function($event){_vm.newCurrentPage=$event;},"update:current-page":function($event){_vm.newCurrentPage=$event;},"page-change":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t("top-left")],2)])]:_vm._e(),_c('div',{staticClass:"table-wrapper",class:_vm.tableWrapperClasses,style:(_vm.tableStyle)},[_c('table',{staticClass:"table",class:_vm.tableClasses,attrs:{"tabindex":!_vm.focusable ? false : 0},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(-1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(1)}]}},[(_vm.caption)?_c('caption',{directives:[{name:"show",rawName:"v-show",value:(_vm.showCaption),expression:"showCaption"}]},[_vm._v(_vm._s(_vm.caption))]):_vm._e(),(_vm.newColumns.length && _vm.showHeader)?_c('thead',[_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'header',class:[column.thClasses, {
1515
+ var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-table"},[_vm._t("default"),(_vm.mobileCards && _vm.hasSortablenewColumns)?_c('b-table-mobile-sort',{attrs:{"current-sort-column":_vm.currentSortColumn,"sort-multiple":_vm.sortMultiple,"sort-multiple-data":_vm.sortMultipleDataComputed,"is-asc":_vm.isAsc,"columns":_vm.newColumns,"placeholder":_vm.mobileSortPlaceholder,"icon-pack":_vm.iconPack,"sort-icon":_vm.sortIcon,"sort-icon-size":_vm.sortIconSize},on:{"sort":function (column, event) { return _vm.sort(column, null, event); },"removePriority":function (column) { return _vm.removeSortingPriority(column); }}}):_vm._e(),(_vm.paginated && (_vm.paginationPosition === 'top' || _vm.paginationPosition === 'both'))?[_vm._t("pagination",[_c('b-table-pagination',_vm._b({attrs:{"per-page":_vm.perPage,"paginated":_vm.paginated,"rounded":_vm.paginationRounded,"icon-pack":_vm.iconPack,"total":_vm.newDataTotal,"current-page":_vm.newCurrentPage,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel,"page-input":_vm.pageInput,"pagination-order":_vm.paginationOrder,"page-input-position":_vm.pageInputPosition,"debounce-page-input":_vm.debouncePageInput},on:{"update:currentPage":function($event){_vm.newCurrentPage=$event;},"update:current-page":function($event){_vm.newCurrentPage=$event;},"page-change":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t("top-left")],2)])]:_vm._e(),_c('div',{staticClass:"table-wrapper",class:_vm.tableWrapperClasses,style:(_vm.tableStyle)},[_c('table',{staticClass:"table",class:_vm.tableClasses,attrs:{"tabindex":!_vm.focusable ? false : 0},on:{"keydown":[function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"up",38,$event.key,["Up","ArrowUp"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(-1)},function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,"down",40,$event.key,["Down","ArrowDown"])){ return null; }if($event.target !== $event.currentTarget){ return null; }$event.preventDefault();return _vm.pressedArrow(1)}]}},[(_vm.caption)?_c('caption',{directives:[{name:"show",rawName:"v-show",value:(_vm.showCaption),expression:"showCaption"}]},[_vm._v(_vm._s(_vm.caption))]):_vm._e(),(_vm.newColumns.length && _vm.showHeader)?_c('thead',[_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"type":_vm.checkboxType,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'header',class:[column.thClasses, {
1509
1516
  'is-current-sort': !_vm.sortMultiple && _vm.currentSortColumn === column,
1510
1517
  }],style:(column.thStyle),attrs:{"draggable":_vm.canDragColumn},on:{"click":function($event){$event.stopPropagation();return _vm.sort(column, null, $event)},"dragstart":function($event){return _vm.handleColumnDragStart($event, column, index)},"dragend":function($event){return _vm.handleColumnDragEnd($event, column, index)},"drop":function($event){return _vm.handleColumnDrop($event, column, index)},"dragover":function($event){return _vm.handleColumnDragOver($event, column, index)},"dragleave":function($event){return _vm.handleColumnDragLeave($event, column, index)}}},'th',column.thAttrs(column),false),[_c('div',{staticClass:"th-wrap",class:{
1511
1518
  'is-numeric': column.numeric,
@@ -1517,14 +1524,14 @@ var __vue_render__$2 = function () {var _vm=this;var _h=_vm.$createElement;var _
1517
1524
  'is-desc': _vm.sortMultipleDataComputed.filter(function (i) { return i.field === column.field; })[0].order === 'desc'},attrs:{"icon":_vm.sortIcon,"pack":_vm.iconPack,"both":"","size":_vm.sortIconSize}}),_vm._v(" "+_vm._s(_vm.findIndexOfSortData(column))+" "),_c('button',{staticClass:"delete is-small multi-sort-cancel-icon",attrs:{"type":"button"},on:{"click":function($event){$event.stopPropagation();return _vm.removeSortingPriority(column)}}})]:_c('b-icon',{staticClass:"sort-icon",class:{
1518
1525
  'is-desc': !_vm.isAsc,
1519
1526
  'is-invisible': _vm.currentSortColumn !== column
1520
- },attrs:{"icon":_vm.sortIcon,"pack":_vm.iconPack,"both":"","size":_vm.sortIconSize}})],2)]],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e()],2),(_vm.hasCustomSubheadings)?_c('tr',{staticClass:"is-subheading"},[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th'):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',{key:column.newKey + ':' + index + 'subheading',style:(column.style)},[_c('div',{staticClass:"th-wrap",class:{
1527
+ },attrs:{"icon":_vm.sortIcon,"pack":_vm.iconPack,"both":"","size":_vm.sortIconSize}})],2)]],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[(_vm.headerCheckable)?[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isAllChecked,"type":_vm.checkboxType,"disabled":_vm.isAllUncheckable},nativeOn:{"change":function($event){return _vm.checkAll($event)}}})]:_vm._e()],2):_vm._e()],2),(_vm.hasCustomSubheadings)?_c('tr',{staticClass:"is-subheading"},[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th'):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',{key:column.newKey + ':' + index + 'subheading',style:(column.style)},[_c('div',{staticClass:"th-wrap",class:{
1521
1528
  'is-numeric': column.numeric,
1522
1529
  'is-centered': column.centered
1523
1530
  }},[(column.$scopedSlots && column.$scopedSlots.subheading)?[_c('b-slot-component',{attrs:{"component":column,"scoped":"","name":"subheading","tag":"span","props":{ column: column, index: index }}})]:[_vm._v(_vm._s(column.subheading))]],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th'):_vm._e()],2):_vm._e(),(_vm.hasSearchablenewColumns)?_c('tr',[(_vm.showDetailRowIcon)?_c('th',{attrs:{"width":"40px"}}):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('th'):_vm._e(),_vm._l((_vm.visibleColumns),function(column,index){return _c('th',_vm._b({key:column.newKey + ':' + index + 'searchable',class:{'is-sticky': column.sticky},style:(column.thStyle)},'th',column.thAttrs(column),false),[_c('div',{staticClass:"th-wrap"},[(column.searchable)?[(column.$scopedSlots
1524
1531
  && column.$scopedSlots.searchable)?[_c('b-slot-component',{attrs:{"component":column,"scoped":true,"name":"searchable","tag":"span","props":{ column: column, filters: _vm.filters }}})]:_c('b-input',{attrs:{"type":column.numeric ? 'number' : 'text'},nativeOn:_vm._d({},[_vm.filtersEvent,function($event){return _vm.onFiltersEvent($event)}]),model:{value:(_vm.filters[column.field]),callback:function ($$v) {_vm.$set(_vm.filters, column.field, $$v);},expression:"filters[column.field]"}})]:_vm._e()],2)])}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('th'):_vm._e()],2):_vm._e()]):_vm._e(),_c('tbody',[_vm._l((_vm.visibleData),function(row,index){return [_c('tr',{key:_vm.customRowKey ? row[_vm.customRowKey] : index,class:[_vm.rowClass(row, index), {
1525
1532
  'is-selected': _vm.isRowSelected(row, _vm.selected),
1526
1533
  'is-checked': _vm.isRowChecked(row),
1527
- }],attrs:{"draggable":_vm.canDragRow},on:{"click":function($event){return _vm.selectRow(row)},"dblclick":function($event){return _vm.$emit('dblclick', row)},"mouseenter":function($event){return _vm.emitEventForRow('mouseenter', $event, row)},"mouseleave":function($event){return _vm.emitEventForRow('mouseleave', $event, row)},"contextmenu":function($event){return _vm.$emit('contextmenu', row, $event)},"dragstart":function($event){return _vm.handleDragStart($event, row, index)},"dragend":function($event){return _vm.handleDragEnd($event, row, index)},"drop":function($event){return _vm.handleDrop($event, row, index)},"dragover":function($event){return _vm.handleDragOver($event, row, index)},"dragleave":function($event){return _vm.handleDragLeave($event, row, index)}}},[(_vm.showDetailRowIcon)?_c('td',{staticClass:"chevron-cell"},[(_vm.hasDetailedVisible(row))?_c('a',{attrs:{"role":"button"},on:{"click":function($event){$event.stopPropagation();return _vm.toggleDetails(row)}}},[_c('b-icon',{class:{'is-expanded': _vm.isVisibleDetailRow(row)},attrs:{"icon":_vm.detailIcon,"pack":_vm.iconPack,"both":""}})],1):_vm._e()]):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('td',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[_c('b-checkbox',{attrs:{"autocomplete":"off","disabled":!_vm.isRowCheckable(row),"value":_vm.isRowChecked(row)},nativeOn:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.checkRow(row, index, $event)}}})],1):_vm._e(),_vm._l((_vm.visibleColumns),function(column,colindex){return [(column.$scopedSlots && column.$scopedSlots.default)?[_c('b-slot-component',_vm._b({key:column.newKey + ':' + index + ':' + colindex,class:column.getRootClasses(row),style:(column.getRootStyle(row)),attrs:{"component":column,"scoped":"","name":"default","tag":"td","data-label":column.label,"props":{ row: row, column: column, index: index, colindex: colindex, toggleDetails: _vm.toggleDetails }},nativeOn:{"click":function($event){return _vm.$emit('cellclick',row,column,index,colindex)}}},'b-slot-component',column.tdAttrs(row, column),false))]:_vm._e()]}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('td',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[_c('b-checkbox',{attrs:{"autocomplete":"off","disabled":!_vm.isRowCheckable(row),"value":_vm.isRowChecked(row)},nativeOn:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.checkRow(row, index, $event)}}})],1):_vm._e()],2),_c('transition',{key:(_vm.customRowKey ? row[_vm.customRowKey] : index) + 'detail',attrs:{"name":_vm.detailTransition}},[(_vm.isActiveDetailRow(row))?_c('tr',{staticClass:"detail"},[_c('td',{attrs:{"colspan":_vm.columnCount}},[_c('div',{staticClass:"detail-container"},[_vm._t("detail",null,{"row":row,"index":index})],2)])]):_vm._e()]),(_vm.isActiveCustomDetailRow(row))?_vm._t("detail",null,{"row":row,"index":index}):_vm._e()]}),(!_vm.visibleData.length)?_c('tr',{staticClass:"is-empty"},[_c('td',{attrs:{"colspan":_vm.columnCount}},[_vm._t("empty")],2)]):_vm._e()],2),(_vm.$slots.footer !== undefined)?_c('tfoot',[_c('tr',{staticClass:"table-footer"},[(_vm.hasCustomFooterSlot())?_vm._t("footer"):_c('th',{attrs:{"colspan":_vm.columnCount}},[_vm._t("footer")],2)],2)]):_vm._e()]),(_vm.loading)?[_vm._t("loading",[_c('b-loading',{attrs:{"is-full-page":false,"active":_vm.loading},on:{"update:active":function($event){_vm.loading=$event;}}})])]:_vm._e()],2),((_vm.checkable && _vm.hasBottomLeftSlot()) ||
1534
+ }],attrs:{"draggable":_vm.canDragRow},on:{"click":function($event){return _vm.selectRow(row)},"dblclick":function($event){return _vm.$emit('dblclick', row)},"mouseenter":function($event){return _vm.emitEventForRow('mouseenter', $event, row)},"mouseleave":function($event){return _vm.emitEventForRow('mouseleave', $event, row)},"contextmenu":function($event){return _vm.$emit('contextmenu', row, $event)},"dragstart":function($event){return _vm.handleDragStart($event, row, index)},"dragend":function($event){return _vm.handleDragEnd($event, row, index)},"drop":function($event){return _vm.handleDrop($event, row, index)},"dragover":function($event){return _vm.handleDragOver($event, row, index)},"dragleave":function($event){return _vm.handleDragLeave($event, row, index)}}},[(_vm.showDetailRowIcon)?_c('td',{staticClass:"chevron-cell"},[(_vm.hasDetailedVisible(row))?_c('a',{attrs:{"role":"button"},on:{"click":function($event){$event.stopPropagation();return _vm.toggleDetails(row)}}},[_c('b-icon',{class:{'is-expanded': _vm.isVisibleDetailRow(row)},attrs:{"icon":_vm.detailIcon,"pack":_vm.iconPack,"both":""}})],1):_vm._e()]):_vm._e(),(_vm.checkable && _vm.checkboxPosition === 'left')?_c('td',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isRowChecked(row),"type":_vm.checkboxType,"disabled":!_vm.isRowCheckable(row)},nativeOn:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.checkRow(row, index, $event)}}})],1):_vm._e(),_vm._l((_vm.visibleColumns),function(column,colindex){return [(column.$scopedSlots && column.$scopedSlots.default)?[_c('b-slot-component',_vm._b({key:column.newKey + ':' + index + ':' + colindex,class:column.getRootClasses(row),style:(column.getRootStyle(row)),attrs:{"component":column,"scoped":"","name":"default","tag":"td","data-label":column.label,"props":{ row: row, column: column, index: index, colindex: colindex, toggleDetails: _vm.toggleDetails }},nativeOn:{"click":function($event){return _vm.$emit('cellclick',row,column,index,colindex)}}},'b-slot-component',column.tdAttrs(row, column),false))]:_vm._e()]}),(_vm.checkable && _vm.checkboxPosition === 'right')?_c('td',{class:['checkbox-cell', { 'is-sticky': _vm.stickyCheckbox } ]},[_c('b-checkbox',{attrs:{"autocomplete":"off","value":_vm.isRowChecked(row),"type":_vm.checkboxType,"disabled":!_vm.isRowCheckable(row)},nativeOn:{"click":function($event){$event.preventDefault();$event.stopPropagation();return _vm.checkRow(row, index, $event)}}})],1):_vm._e()],2),_c('transition',{key:(_vm.customRowKey ? row[_vm.customRowKey] : index) + 'detail',attrs:{"name":_vm.detailTransition}},[(_vm.isActiveDetailRow(row))?_c('tr',{staticClass:"detail"},[_c('td',{attrs:{"colspan":_vm.columnCount}},[_c('div',{staticClass:"detail-container"},[_vm._t("detail",null,{"row":row,"index":index})],2)])]):_vm._e()]),(_vm.isActiveCustomDetailRow(row))?_vm._t("detail",null,{"row":row,"index":index}):_vm._e()]}),(!_vm.visibleData.length)?_c('tr',{staticClass:"is-empty"},[_c('td',{attrs:{"colspan":_vm.columnCount}},[_vm._t("empty")],2)]):_vm._e()],2),(_vm.$slots.footer !== undefined)?_c('tfoot',[_c('tr',{staticClass:"table-footer"},[(_vm.hasCustomFooterSlot())?_vm._t("footer"):_c('th',{attrs:{"colspan":_vm.columnCount}},[_vm._t("footer")],2)],2)]):_vm._e()]),(_vm.loading)?[_vm._t("loading",[_c('b-loading',{attrs:{"is-full-page":false,"active":_vm.loading},on:{"update:active":function($event){_vm.loading=$event;}}})])]:_vm._e()],2),((_vm.checkable && _vm.hasBottomLeftSlot()) ||
1528
1535
  (_vm.paginated && (_vm.paginationPosition === 'bottom' || _vm.paginationPosition === 'both')))?[_vm._t("pagination",[_c('b-table-pagination',_vm._b({attrs:{"per-page":_vm.perPage,"paginated":_vm.paginated,"rounded":_vm.paginationRounded,"icon-pack":_vm.iconPack,"total":_vm.newDataTotal,"current-page":_vm.newCurrentPage,"aria-next-label":_vm.ariaNextLabel,"aria-previous-label":_vm.ariaPreviousLabel,"aria-page-label":_vm.ariaPageLabel,"aria-current-label":_vm.ariaCurrentLabel,"page-input":_vm.pageInput,"pagination-order":_vm.paginationOrder,"page-input-position":_vm.pageInputPosition,"debounce-page-input":_vm.debouncePageInput},on:{"update:currentPage":function($event){_vm.newCurrentPage=$event;},"update:current-page":function($event){_vm.newCurrentPage=$event;},"page-change":function (event) { return _vm.$emit('page-change', event); }}},'b-table-pagination',_vm.$attrs,false),[_vm._t("bottom-left")],2)])]:_vm._e()],2)};
1529
1536
  var __vue_staticRenderFns__$2 = [];
1530
1537
 
package/dist/esm/tabs.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { _ as _defineProperty } from './chunk-455cdeae.js';
2
2
  import './helpers.js';
3
- import { c as config } from './chunk-8ed29c41.js';
4
- import './chunk-e044aa02.js';
3
+ import { c as config } from './chunk-e92e3389.js';
4
+ import './chunk-7e17a637.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
6
  import './chunk-60a03517.js';
7
7
  import './chunk-c9c18b2f.js';
8
- import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-6d96579e.js';
8
+ import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-f32d0228.js';
9
9
 
10
10
  var script = {
11
11
  name: 'BTabs',
@@ -1,11 +1,11 @@
1
1
  import { _ as _defineProperty, m as _objectWithoutProperties, b as _typeof } from './chunk-455cdeae.js';
2
2
  import { getValueByPath } from './helpers.js';
3
- import { c as config } from './chunk-8ed29c41.js';
4
- import { F as FormElementMixin } from './chunk-84c6dfd6.js';
5
- import './chunk-e044aa02.js';
3
+ import { c as config } from './chunk-e92e3389.js';
4
+ import { F as FormElementMixin } from './chunk-17b33cd2.js';
5
+ import './chunk-7e17a637.js';
6
6
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import './chunk-a628d44d.js';
8
- import { A as Autocomplete } from './chunk-f9eaeac4.js';
7
+ import './chunk-83c8b459.js';
8
+ import { A as Autocomplete } from './chunk-b0123b89.js';
9
9
  import { T as Tag } from './chunk-2f2f0a74.js';
10
10
 
11
11
  var _components;
@@ -1,18 +1,18 @@
1
1
  import './chunk-455cdeae.js';
2
2
  import './helpers.js';
3
- import './chunk-8ed29c41.js';
4
- import './chunk-84c6dfd6.js';
5
- import './chunk-e044aa02.js';
3
+ import './chunk-e92e3389.js';
4
+ import './chunk-17b33cd2.js';
5
+ import './chunk-7e17a637.js';
6
6
  import { r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import './chunk-a628d44d.js';
7
+ import './chunk-83c8b459.js';
8
8
  import './chunk-60a03517.js';
9
- import './chunk-262b3f82.js';
9
+ import './chunk-6e56b8bc.js';
10
10
  import './chunk-42f463e6.js';
11
- import './chunk-598015da.js';
12
- import './chunk-effa4d25.js';
13
- import './chunk-6adc5c5d.js';
14
- import { T as Timepicker } from './chunk-a5e3ae5d.js';
15
- export { T as BTimepicker } from './chunk-a5e3ae5d.js';
11
+ import './chunk-ade5b253.js';
12
+ import './chunk-d46e7ff0.js';
13
+ import './chunk-4e788733.js';
14
+ import { T as Timepicker } from './chunk-293c457c.js';
15
+ export { T as BTimepicker } from './chunk-293c457c.js';
16
16
 
17
17
  var Plugin = {
18
18
  install: function install(Vue) {
package/dist/esm/toast.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import './chunk-455cdeae.js';
2
2
  import { merge } from './helpers.js';
3
- import { c as config, V as VueInstance } from './chunk-8ed29c41.js';
3
+ import { c as config, V as VueInstance } from './chunk-e92e3389.js';
4
4
  import { _ as __vue_normalize__, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
5
- import { N as NoticeMixin } from './chunk-d9232770.js';
5
+ import { N as NoticeMixin } from './chunk-a32d1427.js';
6
6
 
7
7
  //
8
8
  var script = {
@@ -1,9 +1,9 @@
1
1
  import './chunk-455cdeae.js';
2
2
  import './helpers.js';
3
- import './chunk-8ed29c41.js';
3
+ import './chunk-e92e3389.js';
4
4
  import { r as registerComponent, u as use } from './chunk-cca88db8.js';
5
- import { T as Tooltip } from './chunk-f967f402.js';
6
- export { T as BTooltip } from './chunk-f967f402.js';
5
+ import { T as Tooltip } from './chunk-9b0b8225.js';
6
+ export { T as BTooltip } from './chunk-9b0b8225.js';
7
7
 
8
8
  var Plugin = {
9
9
  install: function install(Vue) {
@@ -1,7 +1,7 @@
1
1
  import './chunk-455cdeae.js';
2
2
  import './helpers.js';
3
- import './chunk-8ed29c41.js';
4
- import { F as FormElementMixin } from './chunk-84c6dfd6.js';
3
+ import './chunk-e92e3389.js';
4
+ import { F as FormElementMixin } from './chunk-17b33cd2.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
6
  import { F as File } from './chunk-b9bdb0e4.js';
7
7
 
@@ -2431,6 +2431,10 @@
2431
2431
  "description": "Show check/uncheck all checkbox in table header when checkable",
2432
2432
  "type": "boolean"
2433
2433
  },
2434
+ "b-table/checkbox-type": {
2435
+ "description": "Type (color) of the checkbox when checkable, optional",
2436
+ "type": "string"
2437
+ },
2434
2438
  "b-table/mobile-cards": {
2435
2439
  "description": "Rows appears as cards on mobile (collapse rows)",
2436
2440
  "type": "boolean"
@@ -2680,7 +2684,7 @@
2680
2684
  "type": "boolean"
2681
2685
  },
2682
2686
  "b-table-column/header-selectable": {
2683
- "description": "Whether the header text is selectable, works when column is sortable",
2687
+ "description": "Whether the header text is selectable, works when column is sortable.",
2684
2688
  "type": "boolean"
2685
2689
  },
2686
2690
  "b-table-column/header-class": {
@@ -3139,6 +3143,10 @@
3139
3143
  "description": "Tooltip delay before it appears (number in ms)",
3140
3144
  "type": "number"
3141
3145
  },
3146
+ "b-tooltip/close-delay": {
3147
+ "description": "Tooltip delay before it disappears (number in ms)",
3148
+ "type": "number"
3149
+ },
3142
3150
  "b-tooltip/append-to-body": {
3143
3151
  "description": "Append tooltip content to body (prevents event bubbling)",
3144
3152
  "type": "boolean"
@@ -911,6 +911,7 @@
911
911
  "sticky-checkbox",
912
912
  "checked-rows",
913
913
  "header-checkable",
914
+ "checkbox-type",
914
915
  "mobile-cards",
915
916
  "backend-sorting",
916
917
  "backend-pagination",
@@ -984,7 +985,6 @@
984
985
  "header-selectable",
985
986
  "header-class",
986
987
  "cell-class",
987
- "header-selectable",
988
988
  "th-attrs",
989
989
  "td-attrs"
990
990
  ],
@@ -1147,6 +1147,7 @@
1147
1147
  "multilined",
1148
1148
  "size",
1149
1149
  "delay",
1150
+ "close-delay",
1150
1151
  "append-to-body"
1151
1152
  ],
1152
1153
  "description": "Buefy component <b-tooltip>",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buefy",
3
- "version": "0.9.18",
3
+ "version": "0.9.21",
4
4
  "homepage": "https://buefy.org",
5
5
  "description": "Lightweight UI components for Vue.js based on Bulma",
6
6
  "author": "Rafael Beraldo <rafael.pimpa@gmail.com>",
@@ -90,4 +90,18 @@ describe('BButton', () => {
90
90
  })
91
91
  expect(wrapper.vm.computedTag).toBe('button')
92
92
  })
93
+
94
+ it('should set type attribute', () => {
95
+ wrapper.setProps({
96
+ nativeType: 'submit'
97
+ })
98
+ expect(wrapper.element.type).toBe('submit')
99
+ })
100
+
101
+ it("shouldn't set type attribute unless if the tag is button", () => {
102
+ wrapper.setProps({
103
+ tag: 'a'
104
+ })
105
+ expect(wrapper.element.type).toBeFalsy()
106
+ })
93
107
  })
@@ -3,7 +3,7 @@
3
3
  :is="computedTag"
4
4
  class="button"
5
5
  v-bind="$attrs"
6
- :type="nativeType"
6
+ :type="computedTag === 'button' ? nativeType : undefined"
7
7
  :class="[size, type, {
8
8
  'is-rounded': rounded,
9
9
  'is-loading': loading,
@@ -5,7 +5,11 @@
5
5
  ref="label"
6
6
  :disabled="disabled"
7
7
  @click="focus"
8
- @keydown.prevent.enter="$refs.label.click()">
8
+ @keydown.prevent.enter="$refs.label.click()"
9
+ @keydown.prevent.space="$refs.label.click()">
10
+ <!-- Checkbox needs to listen for a space event instead of a just a
11
+ click and enter event so that that using the keyboard spacebar will also
12
+ trigger the checkbox change in the b-table -->
9
13
  <input
10
14
  v-model="computedValue"
11
15
  :indeterminate.prop="indeterminate"
@@ -26,7 +26,7 @@
26
26
  :rounded="rounded"
27
27
  v-bind="$attrs"
28
28
  :use-html5-validation="useHtml5Validation"
29
- @click.native.stop="toggle(true)"
29
+ @click.native="onInputClick"
30
30
  @keyup.native.enter="toggle(true)"
31
31
  @change.native="onChange($event.target.value)"
32
32
  @focus="handleOnFocus"
@@ -253,6 +253,14 @@ export default {
253
253
  this.meridienSelected = value
254
254
  this.onMeridienChange(value)
255
255
  }
256
+ },
257
+ /*
258
+ * Avoid dropdown toggle when is already visible
259
+ */
260
+ onInputClick(event) {
261
+ if (this.$refs.dropdown.isActive) {
262
+ event.stopPropagation()
263
+ }
256
264
  }
257
265
  }
258
266
  }
@@ -57,7 +57,8 @@
57
57
  <footer class="colorpicker-footer">
58
58
  <b-colorpicker-alpha-slider
59
59
  v-if="alpha"
60
- v-model="colorSelected.alpha"
60
+ :value="colorSelected.alpha"
61
+ @input="updateAlpha"
61
62
  :color="colorSelected"
62
63
  />
63
64
  <slot name="footer" :color="colorSelected">
@@ -270,7 +271,11 @@ export default {
270
271
  updateColor(value) {
271
272
  value.alpha = this.colorSelected.alpha
272
273
  this.colorSelected = value
273
- this.$emit('change', value)
274
+ this.$emit('input', value)
275
+ },
276
+ updateAlpha(alpha) {
277
+ this.colorSelected.alpha = alpha
278
+ this.$emit('input', this.colorSelected)
274
279
  },
275
280
  /*
276
281
  * Format color into string
@@ -211,7 +211,9 @@ export default {
211
211
 
212
212
  window.clearTimeout(this.debounce)
213
213
  this.debounce = window.setTimeout(() => {
214
- this.hue = hue
214
+ if (lightness >= 0.03 && lightness <= 0.97 && saturation > 0) {
215
+ this.hue = hue
216
+ }
215
217
  this.saturation = saturation
216
218
  this.lightness = lightness
217
219
  }, 200)
@@ -34,7 +34,7 @@
34
34
  v-bind="$attrs"
35
35
  :use-html5-validation="false"
36
36
  @click.native="onInputClick"
37
- @icon-right-click="$emit('icon-right-click')"
37
+ @icon-right-click="$emit('icon-right-click', $event)"
38
38
  @keyup.native.enter="togglePicker(true)"
39
39
  @change.native="onChange($event.target.value)"
40
40
  @focus="handleOnFocus" />
@@ -32,6 +32,7 @@
32
32
  <div v-else-if="hasInnerField" class="field-body">
33
33
  <b-field
34
34
  :addons="false"
35
+ :type="newType"
35
36
  :class="innerFieldClasses">
36
37
  <slot/>
37
38
  </b-field>
@@ -102,7 +102,7 @@ export default {
102
102
  if (this.disabled) return
103
103
  const menu = this.getMenu()
104
104
  this.reset(this.$parent, menu)
105
- this.newExpanded = !this.newExpanded
105
+ this.newExpanded = this.$props.expanded || !this.newExpanded
106
106
  this.$emit('update:expanded', this.newExpanded)
107
107
  if (menu && menu.activable) {
108
108
  this.newActive = true