buefy 0.9.13 → 0.9.17

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 (265) hide show
  1. package/CHANGELOG.md +1706 -1639
  2. package/README.md +1 -1
  3. package/dist/buefy.css +313 -1
  4. package/dist/buefy.esm.js +4431 -2331
  5. package/dist/buefy.esm.min.js +2 -2
  6. package/dist/buefy.js +4467 -2364
  7. package/dist/buefy.min.css +1 -1
  8. package/dist/buefy.min.js +2 -2
  9. package/dist/cjs/autocomplete.js +5 -5
  10. package/dist/cjs/button.js +3 -3
  11. package/dist/cjs/carousel.js +4 -4
  12. package/dist/cjs/{chunk-34949503.js → chunk-0d6f213f.js} +2 -2
  13. package/dist/cjs/{chunk-2c7de785.js → chunk-0e3108f5.js} +2 -2
  14. package/dist/cjs/{chunk-2911aa4b.js → chunk-1438658c.js} +14 -11
  15. package/dist/cjs/{chunk-114191ae.js → chunk-1f7e4ed3.js} +3 -3
  16. package/dist/cjs/{chunk-a11294f9.js → chunk-334bc809.js} +1 -1
  17. package/dist/cjs/chunk-45739695.js +332 -0
  18. package/dist/cjs/{chunk-c7b2aa4b.js → chunk-4bcfaf1c.js} +0 -0
  19. package/dist/cjs/{chunk-f5106717.js → chunk-5058e659.js} +3 -3
  20. package/dist/cjs/{chunk-61023b09.js → chunk-545e1c7f.js} +102 -16
  21. package/dist/cjs/{chunk-30670fac.js → chunk-54b0042d.js} +19 -3
  22. package/dist/cjs/{chunk-fe2f57ee.js → chunk-5ed8a75a.js} +2 -2
  23. package/dist/cjs/{chunk-d120e215.js → chunk-73f8eef8.js} +8 -2
  24. package/dist/cjs/{chunk-2062216d.js → chunk-7c11fdde.js} +5 -4
  25. package/dist/cjs/{chunk-3cc5d9a6.js → chunk-841c0e0f.js} +1 -1
  26. package/dist/cjs/{chunk-9e4cf4c5.js → chunk-87a116d9.js} +0 -0
  27. package/dist/cjs/{chunk-fefd7b77.js → chunk-a53b7aff.js} +0 -0
  28. package/dist/cjs/{chunk-d0f8ea39.js → chunk-c0a093d7.js} +7 -7
  29. package/dist/cjs/{chunk-7da0c017.js → chunk-c8abb3ed.js} +21 -21
  30. package/dist/cjs/{chunk-c6fbc7b4.js → chunk-d0df905a.js} +15 -2
  31. package/dist/cjs/{chunk-d54e40f6.js → chunk-e86d3eeb.js} +1 -8
  32. package/dist/cjs/{chunk-6cb902f8.js → chunk-e872f5e2.js} +1 -1
  33. package/dist/cjs/{chunk-2ae50815.js → chunk-f5285f14.js} +4 -4
  34. package/dist/cjs/clockpicker.js +8 -8
  35. package/dist/cjs/colorpicker.js +1752 -0
  36. package/dist/cjs/config.js +1 -1
  37. package/dist/cjs/datepicker.js +11 -11
  38. package/dist/cjs/datetimepicker.js +30 -14
  39. package/dist/cjs/dialog.js +5 -5
  40. package/dist/cjs/dropdown.js +3 -3
  41. package/dist/cjs/field.js +2 -2
  42. package/dist/cjs/helpers.js +21 -1
  43. package/dist/cjs/icon.js +2 -2
  44. package/dist/cjs/image.js +2 -2
  45. package/dist/cjs/index.js +27 -22
  46. package/dist/cjs/input.js +4 -4
  47. package/dist/cjs/loading.js +5 -5
  48. package/dist/cjs/menu.js +2 -2
  49. package/dist/cjs/message.js +4 -9
  50. package/dist/cjs/modal.js +5 -5
  51. package/dist/cjs/navbar.js +4 -1
  52. package/dist/cjs/notification.js +7 -7
  53. package/dist/cjs/numberinput.js +30 -21
  54. package/dist/cjs/pagination.js +7 -7
  55. package/dist/cjs/progress.js +3 -3
  56. package/dist/cjs/rate.js +2 -2
  57. package/dist/cjs/select.js +4 -4
  58. package/dist/cjs/sidebar.js +1 -1
  59. package/dist/cjs/slider.js +3 -3
  60. package/dist/cjs/snackbar.js +5 -4
  61. package/dist/cjs/steps.js +5 -5
  62. package/dist/cjs/table.js +157 -146
  63. package/dist/cjs/tabs.js +7 -7
  64. package/dist/cjs/taginput.js +5 -5
  65. package/dist/cjs/timepicker.js +12 -12
  66. package/dist/cjs/toast.js +3 -3
  67. package/dist/cjs/tooltip.js +4 -4
  68. package/dist/cjs/upload.js +23 -9
  69. package/dist/components/autocomplete/index.js +24 -2
  70. package/dist/components/autocomplete/index.min.js +2 -2
  71. package/dist/components/breadcrumb/index.js +1 -1
  72. package/dist/components/breadcrumb/index.min.js +1 -1
  73. package/dist/components/button/index.js +8 -2
  74. package/dist/components/button/index.min.js +2 -2
  75. package/dist/components/carousel/index.js +8 -2
  76. package/dist/components/carousel/index.min.js +2 -2
  77. package/dist/components/checkbox/index.js +1 -1
  78. package/dist/components/checkbox/index.min.js +1 -1
  79. package/dist/components/clockpicker/index.js +41 -22
  80. package/dist/components/clockpicker/index.min.js +2 -2
  81. package/dist/components/collapse/index.js +1 -1
  82. package/dist/components/collapse/index.min.js +1 -1
  83. package/dist/components/colorpicker/index.js +4318 -0
  84. package/dist/components/colorpicker/index.min.js +2 -0
  85. package/dist/components/datepicker/index.js +48 -26
  86. package/dist/components/datepicker/index.min.js +2 -2
  87. package/dist/components/datetimepicker/index.js +66 -28
  88. package/dist/components/datetimepicker/index.min.js +2 -2
  89. package/dist/components/dialog/index.js +8 -2
  90. package/dist/components/dialog/index.min.js +2 -2
  91. package/dist/components/dropdown/index.js +14 -1
  92. package/dist/components/dropdown/index.min.js +2 -2
  93. package/dist/components/field/index.js +21 -21
  94. package/dist/components/field/index.min.js +1 -1
  95. package/dist/components/icon/index.js +8 -2
  96. package/dist/components/icon/index.min.js +2 -2
  97. package/dist/components/image/index.js +1 -1
  98. package/dist/components/image/index.min.js +1 -1
  99. package/dist/components/input/index.js +8 -2
  100. package/dist/components/input/index.min.js +2 -2
  101. package/dist/components/loading/index.js +1 -1
  102. package/dist/components/loading/index.min.js +1 -1
  103. package/dist/components/menu/index.js +8 -2
  104. package/dist/components/menu/index.min.js +2 -2
  105. package/dist/components/message/index.js +11 -9
  106. package/dist/components/message/index.min.js +2 -2
  107. package/dist/components/modal/index.js +1 -1
  108. package/dist/components/modal/index.min.js +1 -1
  109. package/dist/components/navbar/index.js +4 -1
  110. package/dist/components/navbar/index.min.js +2 -2
  111. package/dist/components/notification/index.js +13 -13
  112. package/dist/components/notification/index.min.js +2 -2
  113. package/dist/components/numberinput/index.js +34 -19
  114. package/dist/components/numberinput/index.min.js +2 -2
  115. package/dist/components/pagination/index.js +107 -16
  116. package/dist/components/pagination/index.min.js +2 -2
  117. package/dist/components/progress/index.js +2 -2
  118. package/dist/components/progress/index.min.js +2 -2
  119. package/dist/components/radio/index.js +1 -1
  120. package/dist/components/radio/index.min.js +1 -1
  121. package/dist/components/rate/index.js +8 -2
  122. package/dist/components/rate/index.min.js +2 -2
  123. package/dist/components/select/index.js +8 -2
  124. package/dist/components/select/index.min.js +2 -2
  125. package/dist/components/sidebar/index.js +1 -1
  126. package/dist/components/sidebar/index.min.js +1 -1
  127. package/dist/components/skeleton/index.js +1 -1
  128. package/dist/components/skeleton/index.min.js +1 -1
  129. package/dist/components/slider/index.js +2 -2
  130. package/dist/components/slider/index.min.js +2 -2
  131. package/dist/components/snackbar/index.js +4 -10
  132. package/dist/components/snackbar/index.min.js +2 -2
  133. package/dist/components/steps/index.js +8 -2
  134. package/dist/components/steps/index.min.js +2 -2
  135. package/dist/components/switch/index.js +1 -1
  136. package/dist/components/switch/index.min.js +1 -1
  137. package/dist/components/table/index.js +253 -133
  138. package/dist/components/table/index.min.js +2 -2
  139. package/dist/components/tabs/index.js +10 -4
  140. package/dist/components/tabs/index.min.js +2 -2
  141. package/dist/components/tag/index.js +1 -1
  142. package/dist/components/tag/index.min.js +1 -1
  143. package/dist/components/taginput/index.js +24 -2
  144. package/dist/components/taginput/index.min.js +2 -2
  145. package/dist/components/timepicker/index.js +41 -22
  146. package/dist/components/timepicker/index.min.js +2 -2
  147. package/dist/components/toast/index.js +2 -9
  148. package/dist/components/toast/index.min.js +2 -2
  149. package/dist/components/tooltip/index.js +2 -2
  150. package/dist/components/tooltip/index.min.js +2 -2
  151. package/dist/components/upload/index.js +20 -6
  152. package/dist/components/upload/index.min.js +2 -2
  153. package/dist/esm/autocomplete.js +6 -6
  154. package/dist/esm/button.js +4 -4
  155. package/dist/esm/carousel.js +4 -4
  156. package/dist/esm/{chunk-18e8b067.js → chunk-1a4fde6d.js} +102 -17
  157. package/dist/esm/{chunk-3773c62d.js → chunk-22cf6667.js} +2 -2
  158. package/dist/esm/{chunk-ece062a7.js → chunk-262b3f82.js} +1 -1
  159. package/dist/esm/chunk-455cdeae.js +317 -0
  160. package/dist/esm/{chunk-d7f92d97.js → chunk-5435bd9a.js} +5 -4
  161. package/dist/esm/{chunk-e7c9b2cb.js → chunk-58cdbf2b.js} +2 -2
  162. package/dist/esm/{chunk-29ca0df8.js → chunk-60a03517.js} +1 -1
  163. package/dist/esm/{chunk-21fc0948.js → chunk-66cef090.js} +7 -7
  164. package/dist/esm/{chunk-71a547bc.js → chunk-690d5be4.js} +1 -1
  165. package/dist/esm/{chunk-83eb0d37.js → chunk-6adc5c5d.js} +3 -3
  166. package/dist/esm/{chunk-c9c58d0c.js → chunk-6d0f2352.js} +0 -0
  167. package/dist/esm/{chunk-8d0f95b8.js → chunk-6d96579e.js} +4 -4
  168. package/dist/esm/{chunk-22e9f916.js → chunk-6fb4a069.js} +14 -11
  169. package/dist/esm/{chunk-75a5af93.js → chunk-84c6dfd6.js} +0 -0
  170. package/dist/esm/{chunk-ae8ab23a.js → chunk-a628d44d.js} +3 -3
  171. package/dist/esm/{chunk-b0c0c6b0.js → chunk-c9c18b2f.js} +0 -0
  172. package/dist/esm/{chunk-9f7f7441.js → chunk-d35985c7.js} +0 -0
  173. package/dist/esm/{chunk-799e084d.js → chunk-d9232770.js} +1 -8
  174. package/dist/esm/{chunk-4b67a181.js → chunk-dbd43ef1.js} +15 -2
  175. package/dist/esm/{chunk-d92f0cd9.js → chunk-e044aa02.js} +8 -2
  176. package/dist/esm/{chunk-b07e3182.js → chunk-effa4d25.js} +21 -21
  177. package/dist/esm/{chunk-6019fd7a.js → chunk-f9eaeac4.js} +19 -3
  178. package/dist/esm/clockpicker.js +8 -8
  179. package/dist/esm/colorpicker.js +1748 -0
  180. package/dist/esm/config.js +1 -1
  181. package/dist/esm/datepicker.js +10 -10
  182. package/dist/esm/datetimepicker.js +29 -13
  183. package/dist/esm/dialog.js +4 -4
  184. package/dist/esm/dropdown.js +4 -4
  185. package/dist/esm/field.js +3 -3
  186. package/dist/esm/helpers.js +20 -2
  187. package/dist/esm/icon.js +3 -3
  188. package/dist/esm/image.js +3 -3
  189. package/dist/esm/index.js +94 -91
  190. package/dist/esm/input.js +5 -5
  191. package/dist/esm/loading.js +3 -3
  192. package/dist/esm/menu.js +2 -2
  193. package/dist/esm/message.js +3 -8
  194. package/dist/esm/modal.js +3 -3
  195. package/dist/esm/navbar.js +4 -1
  196. package/dist/esm/notification.js +5 -5
  197. package/dist/esm/numberinput.js +30 -21
  198. package/dist/esm/pagination.js +4 -4
  199. package/dist/esm/progress.js +3 -3
  200. package/dist/esm/rate.js +2 -2
  201. package/dist/esm/select.js +5 -5
  202. package/dist/esm/sidebar.js +1 -1
  203. package/dist/esm/slider.js +2 -2
  204. package/dist/esm/snackbar.js +4 -3
  205. package/dist/esm/steps.js +5 -5
  206. package/dist/esm/table.js +155 -144
  207. package/dist/esm/tabs.js +7 -7
  208. package/dist/esm/taginput.js +5 -5
  209. package/dist/esm/timepicker.js +11 -11
  210. package/dist/esm/toast.js +2 -2
  211. package/dist/esm/tooltip.js +3 -3
  212. package/dist/esm/upload.js +21 -7
  213. package/dist/vetur/attributes.json +96 -0
  214. package/dist/vetur/tags.json +30 -1
  215. package/package.json +1 -1
  216. package/src/components/autocomplete/Autocomplete.vue +10 -0
  217. package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +1 -5
  218. package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +48 -48
  219. package/src/components/colorpicker/Colorpicker.spec.js +10 -0
  220. package/src/components/colorpicker/Colorpicker.vue +354 -0
  221. package/src/components/colorpicker/ColorpickerAlphaSlider.spec.js +14 -0
  222. package/src/components/colorpicker/ColorpickerAlphaSlider.vue +194 -0
  223. package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.spec.js +22 -0
  224. package/src/components/colorpicker/ColorpickerHSLRepresentationSquare.vue +366 -0
  225. package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.spec.js +22 -0
  226. package/src/components/colorpicker/ColorpickerHSLRepresentationTriangle.vue +442 -0
  227. package/src/components/colorpicker/__snapshots__/ColorPickerHSLRepresentationSquare.spec.js.snap +12 -0
  228. package/src/components/colorpicker/__snapshots__/Colorpicker.spec.js.snap +32 -0
  229. package/src/components/colorpicker/__snapshots__/ColorpickerAlphaSlider.spec.js.snap +11 -0
  230. package/src/components/colorpicker/__snapshots__/ColorpickerHSLRepresentationTriangle.spec.js.snap +36 -0
  231. package/src/components/colorpicker/index.js +17 -0
  232. package/src/components/datepicker/DatepickerTableRow.spec.js +26 -0
  233. package/src/components/datepicker/DatepickerTableRow.vue +4 -5
  234. package/src/components/datetimepicker/Datetimepicker.vue +17 -1
  235. package/src/components/dropdown/Dropdown.vue +13 -0
  236. package/src/components/field/Field.vue +271 -271
  237. package/src/components/index.js +2 -0
  238. package/src/components/message/Message.vue +0 -5
  239. package/src/components/navbar/NavbarDropdown.vue +4 -0
  240. package/src/components/notification/Notification.vue +1 -1
  241. package/src/components/numberinput/Numberinput.spec.js +62 -0
  242. package/src/components/numberinput/Numberinput.vue +22 -15
  243. package/src/components/pagination/Pagination.vue +141 -51
  244. package/src/components/progress/Progress.vue +1 -1
  245. package/src/components/snackbar/index.js +2 -1
  246. package/src/components/table/Table.spec.js +17 -3
  247. package/src/components/table/Table.vue +1436 -1409
  248. package/src/components/table/TablePagination.vue +10 -2
  249. package/src/components/tabs/Tabs.vue +2 -0
  250. package/src/components/timepicker/__snapshots__/Timepicker.spec.js.snap +18 -47
  251. package/src/components/tooltip/Tooltip.vue +2 -2
  252. package/src/components/upload/Upload.vue +19 -7
  253. package/src/scss/buefy.scss +1 -0
  254. package/src/scss/components/_colorpicker.scss +283 -0
  255. package/src/scss/components/_pagination.scss +38 -0
  256. package/src/utils/MessageMixin.js +2 -1
  257. package/src/utils/NoticeMixin.js +1 -5
  258. package/src/utils/color.js +441 -0
  259. package/src/utils/color.spec.js +52 -0
  260. package/src/utils/helpers.js +16 -0
  261. package/src/utils/icons.js +7 -1
  262. package/types/components.d.ts +7 -2
  263. package/types/helpers.d.ts +2 -1
  264. package/dist/cjs/chunk-92621ff7.js +0 -141
  265. package/dist/esm/chunk-2452e3d3.js +0 -134
package/dist/esm/tabs.js CHANGED
@@ -1,11 +1,11 @@
1
- import { _ as _defineProperty } from './chunk-2452e3d3.js';
1
+ import { _ as _defineProperty } from './chunk-455cdeae.js';
2
2
  import './helpers.js';
3
3
  import { c as config } from './chunk-8ed29c41.js';
4
- import './chunk-d92f0cd9.js';
4
+ import './chunk-e044aa02.js';
5
5
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
6
- import './chunk-29ca0df8.js';
7
- import './chunk-b0c0c6b0.js';
8
- import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-8d0f95b8.js';
6
+ import './chunk-60a03517.js';
7
+ import './chunk-c9c18b2f.js';
8
+ import { T as TabbedMixin, a as TabbedChildMixin } from './chunk-6d96579e.js';
9
9
 
10
10
  var script = {
11
11
  name: 'BTabs',
@@ -123,8 +123,8 @@ var script = {
123
123
  const __vue_script__ = script;
124
124
 
125
125
  /* template */
126
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-tabs",class:_vm.mainClasses},[_c('nav',{staticClass:"tabs",class:_vm.navClasses,attrs:{"role":"tablist","aria-orientation":_vm.vertical ? 'vertical' : 'horizontal'},on:{"keydown":_vm.manageTablistKeydown}},[_c('ul',_vm._l((_vm.items),function(childItem,childIdx){return _c('li',{directives:[{name:"show",rawName:"v-show",value:(childItem.visible),expression:"childItem.visible"}],key:childItem.value,class:[ childItem.headerClass, { 'is-active': childItem.isActive,
127
- 'is-disabled': childItem.disabled }],attrs:{"role":"presentation"}},[(childItem.$scopedSlots.header)?_c('b-slot-component',{ref:"tabLink",refInFor:true,attrs:{"component":childItem,"name":"header","tag":"a","role":"tab","id":((childItem.value) + "-label"),"aria-controls":((childItem.value) + "-content"),"aria-selected":("" + (childItem.isActive)),"tabindex":childItem.isActive ? 0 : -1},on:{"keydown":function($event){return _vm.manageTabKeydown($event, childItem)}},nativeOn:{"focus":function($event){_vm.currentFocus = childIdx;},"click":function($event){return _vm.childClick(childItem)}}}):_c('a',{ref:"tabLink",refInFor:true,attrs:{"role":"tab","id":((childItem.value) + "-tab"),"aria-controls":((childItem.value) + "-content"),"aria-selected":("" + (childItem.isActive)),"tabindex":childItem.isActive ? 0 : -1},on:{"focus":function($event){_vm.currentFocus = childIdx;},"click":function($event){return _vm.childClick(childItem)},"keydown":function($event){return _vm.manageTabKeydown($event, childItem)}}},[(childItem.icon)?_c('b-icon',{attrs:{"icon":childItem.icon,"pack":childItem.iconPack,"size":_vm.size}}):_vm._e(),_c('span',[_vm._v(_vm._s(childItem.label))])],1)],1)}),0)]),_c('section',{staticClass:"tab-content",class:{'is-transitioning': _vm.isTransitioning}},[_vm._t("default")],2)])};
126
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"b-tabs",class:_vm.mainClasses},[_c('nav',{staticClass:"tabs",class:_vm.navClasses,attrs:{"role":"tablist","aria-orientation":_vm.vertical ? 'vertical' : 'horizontal'},on:{"keydown":_vm.manageTablistKeydown}},[_vm._t("start"),_c('ul',_vm._l((_vm.items),function(childItem,childIdx){return _c('li',{directives:[{name:"show",rawName:"v-show",value:(childItem.visible),expression:"childItem.visible"}],key:childItem.value,class:[ childItem.headerClass, { 'is-active': childItem.isActive,
127
+ 'is-disabled': childItem.disabled }],attrs:{"role":"presentation"}},[(childItem.$scopedSlots.header)?_c('b-slot-component',{ref:"tabLink",refInFor:true,attrs:{"component":childItem,"name":"header","tag":"a","role":"tab","id":((childItem.value) + "-label"),"aria-controls":((childItem.value) + "-content"),"aria-selected":("" + (childItem.isActive)),"tabindex":childItem.isActive ? 0 : -1},on:{"keydown":function($event){return _vm.manageTabKeydown($event, childItem)}},nativeOn:{"focus":function($event){_vm.currentFocus = childIdx;},"click":function($event){return _vm.childClick(childItem)}}}):_c('a',{ref:"tabLink",refInFor:true,attrs:{"role":"tab","id":((childItem.value) + "-tab"),"aria-controls":((childItem.value) + "-content"),"aria-selected":("" + (childItem.isActive)),"tabindex":childItem.isActive ? 0 : -1},on:{"focus":function($event){_vm.currentFocus = childIdx;},"click":function($event){return _vm.childClick(childItem)},"keydown":function($event){return _vm.manageTabKeydown($event, childItem)}}},[(childItem.icon)?_c('b-icon',{attrs:{"icon":childItem.icon,"pack":childItem.iconPack,"size":_vm.size}}):_vm._e(),_c('span',[_vm._v(_vm._s(childItem.label))])],1)],1)}),0),_vm._t("end")],2),_c('section',{staticClass:"tab-content",class:{'is-transitioning': _vm.isTransitioning}},[_vm._t("default")],2)])};
128
128
  var __vue_staticRenderFns__ = [];
129
129
 
130
130
  /* style */
@@ -1,11 +1,11 @@
1
- import { _ as _defineProperty, e as _objectWithoutProperties, b as _typeof } from './chunk-2452e3d3.js';
1
+ import { _ as _defineProperty, m as _objectWithoutProperties, b as _typeof } from './chunk-455cdeae.js';
2
2
  import { getValueByPath } from './helpers.js';
3
3
  import { c as config } from './chunk-8ed29c41.js';
4
- import { F as FormElementMixin } from './chunk-75a5af93.js';
5
- import './chunk-d92f0cd9.js';
4
+ import { F as FormElementMixin } from './chunk-84c6dfd6.js';
5
+ import './chunk-e044aa02.js';
6
6
  import { _ as __vue_normalize__, r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import './chunk-ae8ab23a.js';
8
- import { A as Autocomplete } from './chunk-6019fd7a.js';
7
+ import './chunk-a628d44d.js';
8
+ import { A as Autocomplete } from './chunk-f9eaeac4.js';
9
9
  import { T as Tag } from './chunk-2f2f0a74.js';
10
10
 
11
11
  var _components;
@@ -1,18 +1,18 @@
1
- import './chunk-2452e3d3.js';
1
+ import './chunk-455cdeae.js';
2
2
  import './helpers.js';
3
3
  import './chunk-8ed29c41.js';
4
- import './chunk-75a5af93.js';
5
- import './chunk-d92f0cd9.js';
4
+ import './chunk-84c6dfd6.js';
5
+ import './chunk-e044aa02.js';
6
6
  import { r as registerComponent, u as use } from './chunk-cca88db8.js';
7
- import './chunk-ae8ab23a.js';
8
- import './chunk-29ca0df8.js';
9
- import './chunk-ece062a7.js';
7
+ import './chunk-a628d44d.js';
8
+ import './chunk-60a03517.js';
9
+ import './chunk-262b3f82.js';
10
10
  import './chunk-42f463e6.js';
11
- import './chunk-4b67a181.js';
12
- import './chunk-b07e3182.js';
13
- import './chunk-83eb0d37.js';
14
- import { T as Timepicker } from './chunk-21fc0948.js';
15
- export { T as BTimepicker } from './chunk-21fc0948.js';
11
+ import './chunk-dbd43ef1.js';
12
+ import './chunk-effa4d25.js';
13
+ import './chunk-6adc5c5d.js';
14
+ import { T as Timepicker } from './chunk-66cef090.js';
15
+ export { T as BTimepicker } from './chunk-66cef090.js';
16
16
 
17
17
  var Plugin = {
18
18
  install: function install(Vue) {
package/dist/esm/toast.js CHANGED
@@ -1,8 +1,8 @@
1
- import './chunk-2452e3d3.js';
1
+ import './chunk-455cdeae.js';
2
2
  import { merge } from './helpers.js';
3
3
  import { c as config, V as VueInstance } from './chunk-8ed29c41.js';
4
4
  import { _ as __vue_normalize__, a as registerComponentProgrammatic, u as use } from './chunk-cca88db8.js';
5
- import { N as NoticeMixin } from './chunk-799e084d.js';
5
+ import { N as NoticeMixin } from './chunk-d9232770.js';
6
6
 
7
7
  //
8
8
  var script = {
@@ -1,9 +1,9 @@
1
- import './chunk-2452e3d3.js';
1
+ import './chunk-455cdeae.js';
2
2
  import './helpers.js';
3
3
  import './chunk-8ed29c41.js';
4
4
  import { r as registerComponent, u as use } from './chunk-cca88db8.js';
5
- import { T as Tooltip } from './chunk-3773c62d.js';
6
- export { T as BTooltip } from './chunk-3773c62d.js';
5
+ import { T as Tooltip } from './chunk-22cf6667.js';
6
+ export { T as BTooltip } from './chunk-22cf6667.js';
7
7
 
8
8
  var Plugin = {
9
9
  install: function install(Vue) {
@@ -1,7 +1,7 @@
1
- import './chunk-2452e3d3.js';
1
+ import './chunk-455cdeae.js';
2
2
  import './helpers.js';
3
3
  import './chunk-8ed29c41.js';
4
- import { F as FormElementMixin } from './chunk-75a5af93.js';
4
+ import { F as FormElementMixin } from './chunk-84c6dfd6.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
 
@@ -46,7 +46,7 @@ var script = {
46
46
  /**
47
47
  * When v-model is changed:
48
48
  * 1. Set internal value.
49
- * 2. Reset interna input file value
49
+ * 2. Reset internal input file value
50
50
  * 3. If it's invalid, validate again.
51
51
  */
52
52
  value: function value(_value) {
@@ -76,7 +76,15 @@ var script = {
76
76
  // only one element in case drag drop mode and isn't multiple
77
77
  if (this.dragDrop && value.length !== 1) return;else {
78
78
  var file = value[0];
79
- if (this.checkType(file)) this.newValue = file;else if (this.newValue) this.newValue = null;else return;
79
+ if (this.checkType(file)) this.newValue = file;else if (this.newValue) {
80
+ this.newValue = null;
81
+ this.clearInput();
82
+ } else {
83
+ // Force input back to empty state and recheck validity
84
+ this.clearInput();
85
+ this.checkHtml5Validity();
86
+ return;
87
+ }
80
88
  }
81
89
  } else {
82
90
  // always new values if native or undefined local
@@ -103,6 +111,13 @@ var script = {
103
111
  !this.dragDrop && this.checkHtml5Validity();
104
112
  },
105
113
 
114
+ /*
115
+ * Reset file input value
116
+ */
117
+ clearInput: function clearInput() {
118
+ this.$refs.input.value = null;
119
+ },
120
+
106
121
  /**
107
122
  * Listen drag-drop to update internal variable
108
123
  */
@@ -127,10 +142,9 @@ var script = {
127
142
  if (type) {
128
143
  if (type.substring(0, 1) === '.') {
129
144
  // check extension
130
- var extIndex = file.name.lastIndexOf('.');
131
- var extension = extIndex >= 0 ? file.name.substring(extIndex) : '';
145
+ var extension = file.name.toLowerCase().slice(-type.length);
132
146
 
133
- if (extension.toLowerCase() === type.toLowerCase()) {
147
+ if (extension === type.toLowerCase()) {
134
148
  valid = true;
135
149
  }
136
150
  } else {
@@ -559,6 +559,62 @@
559
559
  "description": "Trigger position",
560
560
  "type": "string"
561
561
  },
562
+ "b-colorpicker/value": {
563
+ "description": "Binding value",
564
+ "type": "object(color)"
565
+ },
566
+ "b-colorpicker/representation": {
567
+ "description": "Representation of Saturation & Lightness values",
568
+ "type": "string"
569
+ },
570
+ "b-colorpicker/alpha": {
571
+ "description": "Allow color with transparency",
572
+ "type": "boolean"
573
+ },
574
+ "b-colorpicker/color-formatter": {
575
+ "description": "Function to format color to a string for display in the button",
576
+ "type": "function"
577
+ },
578
+ "b-colorpicker/color-parser": {
579
+ "description": "Function to parse value to a color",
580
+ "type": "function"
581
+ },
582
+ "b-colorpicker/size": {
583
+ "description": "Vertical size of input and picker, optional",
584
+ "type": "string"
585
+ },
586
+ "b-colorpicker/inline": {
587
+ "description": "Colorpicker is shown inline, button is removed",
588
+ "type": "boolean"
589
+ },
590
+ "b-colorpicker/position": {
591
+ "description": "Optional, position of the colorpicker relative to the button",
592
+ "type": "string"
593
+ },
594
+ "b-colorpicker/open-on-focus": {
595
+ "description": "Open colorpicker on button focus",
596
+ "type": "boolean"
597
+ },
598
+ "b-colorpicker/focusable": {
599
+ "description": "Colorpicker container can be focused",
600
+ "type": "boolean"
601
+ },
602
+ "b-colorpicker/trap-focus": {
603
+ "description": "Trap focus inside the colorpicker.",
604
+ "type": "boolean"
605
+ },
606
+ "b-colorpicker/close-on-click": {
607
+ "description": "Choose whether the Colorpicker should close after selecting a color",
608
+ "type": "boolean"
609
+ },
610
+ "b-colorpicker/append-to-body": {
611
+ "description": "Append colorpicker dropdown to body (prevents event bubbling)",
612
+ "type": "boolean"
613
+ },
614
+ "b-colorpicker/Any native attribute": {
615
+ "description": "—",
616
+ "type": "—"
617
+ },
562
618
  "b-datepicker/value": {
563
619
  "description": "Binding value",
564
620
  "type": "date"
@@ -759,6 +815,10 @@
759
815
  "description": "Latest datetime available for selection",
760
816
  "type": "date"
761
817
  },
818
+ "b-datetimepicker/first-day-of-week": {
819
+ "description": "First day of week to display in table header",
820
+ "type": "number"
821
+ },
762
822
  "b-datetimepicker/size": {
763
823
  "description": "Vertical size of input and picker, optional",
764
824
  "type": "string"
@@ -1499,6 +1559,10 @@
1499
1559
  "description": "Collapsible dropdown on mobile",
1500
1560
  "type": "boolean"
1501
1561
  },
1562
+ "b-notification/value": {
1563
+ "description": "Active state - set on `true` to reopen after close",
1564
+ "type": "boolean"
1565
+ },
1502
1566
  "b-notification/type": {
1503
1567
  "description": "Type (color) of the notification, optional",
1504
1568
  "type": "string"
@@ -1539,6 +1603,10 @@
1539
1603
  "description": "Icon name to use with has-icon",
1540
1604
  "type": "boolean"
1541
1605
  },
1606
+ "b-notification/icon-size": {
1607
+ "description": "Size of the icon, optional",
1608
+ "type": "string"
1609
+ },
1542
1610
  "b-notification/aria-close-label": {
1543
1611
  "description": "Label for the close button, to be read by accessibility screenreaders.",
1544
1612
  "type": "string"
@@ -1707,6 +1775,18 @@
1707
1775
  "description": "Accessibility label for the current page link. If passed, this text will be prepended to the current page.",
1708
1776
  "type": "string"
1709
1777
  },
1778
+ "b-pagination/page-input": {
1779
+ "description": "Include page number input.",
1780
+ "type": "boolean"
1781
+ },
1782
+ "b-pagination/page-input-position": {
1783
+ "description": "Page input position.",
1784
+ "type": "string"
1785
+ },
1786
+ "b-pagination/debounce-page-input": {
1787
+ "description": "Sets the page input debounce time (in milliseconds)",
1788
+ "type": "number"
1789
+ },
1710
1790
  "b-pagination-button/page": {
1711
1791
  "description": "The prop page need to be passed upon the component (:page=\"props.page\").",
1712
1792
  "type": "object"
@@ -2387,6 +2467,10 @@
2387
2467
  "description": "Rounded pagination (if paginated)",
2388
2468
  "type": "boolean"
2389
2469
  },
2470
+ "b-table/pagination-order": {
2471
+ "description": "Buttons order, optional",
2472
+ "type": "string"
2473
+ },
2390
2474
  "b-table/pagination-size": {
2391
2475
  "description": "Pagination size (if paginated)",
2392
2476
  "type": "string"
@@ -2399,6 +2483,18 @@
2399
2483
  "description": "How many rows per page (if paginated)",
2400
2484
  "type": "number"
2401
2485
  },
2486
+ "b-table/page-input": {
2487
+ "description": "Include page number input.",
2488
+ "type": "boolean"
2489
+ },
2490
+ "b-table/page-input-position": {
2491
+ "description": "Page input position.",
2492
+ "type": "string"
2493
+ },
2494
+ "b-table/debounce-page-input": {
2495
+ "description": "Sets the page input debounce time (in milliseconds)",
2496
+ "type": "number"
2497
+ },
2402
2498
  "b-table/sort-multiple": {
2403
2499
  "description": "Adds multiple column sorting",
2404
2500
  "type": "boolean"
@@ -208,6 +208,25 @@
208
208
  "description": "Buefy component <b-collapse>",
209
209
  "subtags": []
210
210
  },
211
+ "b-colorpicker": {
212
+ "attributes": [
213
+ "value",
214
+ "representation",
215
+ "alpha",
216
+ "color-formatter",
217
+ "color-parser",
218
+ "size",
219
+ "inline",
220
+ "position",
221
+ "open-on-focus",
222
+ "focusable",
223
+ "trap-focus",
224
+ "close-on-click",
225
+ "append-to-body"
226
+ ],
227
+ "description": "Buefy component <b-colorpicker>",
228
+ "subtags": []
229
+ },
211
230
  "b-datepicker": {
212
231
  "attributes": [
213
232
  "value",
@@ -265,6 +284,7 @@
265
284
  "datetime-parser",
266
285
  "min-datetime",
267
286
  "max-datetime",
287
+ "first-day-of-week",
268
288
  "size",
269
289
  "inline",
270
290
  "editable",
@@ -557,6 +577,7 @@
557
577
  },
558
578
  "b-notification": {
559
579
  "attributes": [
580
+ "value",
560
581
  "type",
561
582
  "active",
562
583
  "closable",
@@ -567,6 +588,7 @@
567
588
  "icon-pack",
568
589
  "has-icon",
569
590
  "icon",
591
+ "icon-size",
570
592
  "aria-close-label",
571
593
  "message",
572
594
  "position",
@@ -619,7 +641,10 @@
619
641
  "aria-next-label",
620
642
  "aria-previous-label",
621
643
  "aria-page-label",
622
- "aria-current-label"
644
+ "aria-current-label",
645
+ "page-input",
646
+ "page-input-position",
647
+ "debounce-page-input"
623
648
  ],
624
649
  "description": "Buefy component <b-pagination>",
625
650
  "subtags": [
@@ -895,9 +920,13 @@
895
920
  "paginated",
896
921
  "pagination-simple",
897
922
  "pagination-rounded",
923
+ "pagination-order",
898
924
  "pagination-size",
899
925
  "pagination-position",
900
926
  "per-page",
927
+ "page-input",
928
+ "page-input-position",
929
+ "debounce-page-input",
901
930
  "sort-multiple",
902
931
  "sort-multiple-data",
903
932
  "sort-multiple-key",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buefy",
3
- "version": "0.9.13",
3
+ "version": "0.9.17",
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>",
@@ -359,6 +359,16 @@ export default {
359
359
  this.setHovered(null)
360
360
  }
361
361
  })
362
+ } else {
363
+ if (this.hovered) {
364
+ // reset hovered if list doesn't contain it
365
+ const hoveredValue = this.getValue(this.hovered)
366
+ const data = this.computedData.map((d) => d.items)
367
+ .reduce((a, b) => ([...a, ...b]), [])
368
+ if (!data.some((d) => this.getValue(d) === hoveredValue)) {
369
+ this.setHovered(null)
370
+ }
371
+ }
362
372
  }
363
373
  }
364
374
  },
@@ -1,7 +1,3 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`BBreadcrumbItem render correctly 1`] = `
4
- <li class="">
5
- <router-link to="/"></router-link>
6
- </li>
7
- `;
3
+ exports[`BBreadcrumbItem render correctly 1`] = `<li class=""><a></a></li>`;
@@ -5,17 +5,17 @@ exports[`BCarouselList render correctly 1`] = `
5
5
  <div class="carousel-slides" style="transform: translateX(0px);">
6
6
  <div class="carousel-slide is-active" style="width: 0px;">
7
7
  <b-image-stub src="https://picsum.photos/id/0/1230/500" lazy="true" responsive="true" srcsetformatter="function _default(src, size, vm) {
8
- /* istanbul ignore next */cov_13zmb589fa.f[6]++;
9
- cov_13zmb589fa.s[13]++;
8
+ /* istanbul ignore next */cov_2apmv5zqje.f[6]++;
9
+ cov_2apmv5zqje.s[13]++;
10
10
 
11
11
  if (typeof _config2.default.defaultImageSrcsetFormatter === 'function') {
12
- /* istanbul ignore next */cov_13zmb589fa.b[2][0]++;
13
- cov_13zmb589fa.s[14]++;
12
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][0]++;
13
+ cov_2apmv5zqje.s[14]++;
14
14
 
15
15
  return _config2.default.defaultImageSrcsetFormatter(src, size);
16
16
  } else {
17
- /* istanbul ignore next */cov_13zmb589fa.b[2][1]++;
18
- cov_13zmb589fa.s[15]++;
17
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][1]++;
18
+ cov_2apmv5zqje.s[15]++;
19
19
 
20
20
  return vm.formatSrcset(src, size);
21
21
  }
@@ -23,17 +23,17 @@ exports[`BCarouselList render correctly 1`] = `
23
23
  </div>
24
24
  <div class="carousel-slide" style="width: 0px;">
25
25
  <b-image-stub src="https://picsum.photos/id/1/1230/500" lazy="true" responsive="true" srcsetformatter="function _default(src, size, vm) {
26
- /* istanbul ignore next */cov_13zmb589fa.f[6]++;
27
- cov_13zmb589fa.s[13]++;
26
+ /* istanbul ignore next */cov_2apmv5zqje.f[6]++;
27
+ cov_2apmv5zqje.s[13]++;
28
28
 
29
29
  if (typeof _config2.default.defaultImageSrcsetFormatter === 'function') {
30
- /* istanbul ignore next */cov_13zmb589fa.b[2][0]++;
31
- cov_13zmb589fa.s[14]++;
30
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][0]++;
31
+ cov_2apmv5zqje.s[14]++;
32
32
 
33
33
  return _config2.default.defaultImageSrcsetFormatter(src, size);
34
34
  } else {
35
- /* istanbul ignore next */cov_13zmb589fa.b[2][1]++;
36
- cov_13zmb589fa.s[15]++;
35
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][1]++;
36
+ cov_2apmv5zqje.s[15]++;
37
37
 
38
38
  return vm.formatSrcset(src, size);
39
39
  }
@@ -41,17 +41,17 @@ exports[`BCarouselList render correctly 1`] = `
41
41
  </div>
42
42
  <div class="carousel-slide" style="width: 0px;">
43
43
  <b-image-stub src="https://picsum.photos/id/2/1230/500" lazy="true" responsive="true" srcsetformatter="function _default(src, size, vm) {
44
- /* istanbul ignore next */cov_13zmb589fa.f[6]++;
45
- cov_13zmb589fa.s[13]++;
44
+ /* istanbul ignore next */cov_2apmv5zqje.f[6]++;
45
+ cov_2apmv5zqje.s[13]++;
46
46
 
47
47
  if (typeof _config2.default.defaultImageSrcsetFormatter === 'function') {
48
- /* istanbul ignore next */cov_13zmb589fa.b[2][0]++;
49
- cov_13zmb589fa.s[14]++;
48
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][0]++;
49
+ cov_2apmv5zqje.s[14]++;
50
50
 
51
51
  return _config2.default.defaultImageSrcsetFormatter(src, size);
52
52
  } else {
53
- /* istanbul ignore next */cov_13zmb589fa.b[2][1]++;
54
- cov_13zmb589fa.s[15]++;
53
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][1]++;
54
+ cov_2apmv5zqje.s[15]++;
55
55
 
56
56
  return vm.formatSrcset(src, size);
57
57
  }
@@ -59,17 +59,17 @@ exports[`BCarouselList render correctly 1`] = `
59
59
  </div>
60
60
  <div class="carousel-slide" style="width: 0px;">
61
61
  <b-image-stub src="https://picsum.photos/id/3/1230/500" lazy="true" responsive="true" srcsetformatter="function _default(src, size, vm) {
62
- /* istanbul ignore next */cov_13zmb589fa.f[6]++;
63
- cov_13zmb589fa.s[13]++;
62
+ /* istanbul ignore next */cov_2apmv5zqje.f[6]++;
63
+ cov_2apmv5zqje.s[13]++;
64
64
 
65
65
  if (typeof _config2.default.defaultImageSrcsetFormatter === 'function') {
66
- /* istanbul ignore next */cov_13zmb589fa.b[2][0]++;
67
- cov_13zmb589fa.s[14]++;
66
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][0]++;
67
+ cov_2apmv5zqje.s[14]++;
68
68
 
69
69
  return _config2.default.defaultImageSrcsetFormatter(src, size);
70
70
  } else {
71
- /* istanbul ignore next */cov_13zmb589fa.b[2][1]++;
72
- cov_13zmb589fa.s[15]++;
71
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][1]++;
72
+ cov_2apmv5zqje.s[15]++;
73
73
 
74
74
  return vm.formatSrcset(src, size);
75
75
  }
@@ -77,17 +77,17 @@ exports[`BCarouselList render correctly 1`] = `
77
77
  </div>
78
78
  <div class="carousel-slide" style="width: 0px;">
79
79
  <b-image-stub src="https://picsum.photos/id/4/1230/500" lazy="true" responsive="true" srcsetformatter="function _default(src, size, vm) {
80
- /* istanbul ignore next */cov_13zmb589fa.f[6]++;
81
- cov_13zmb589fa.s[13]++;
80
+ /* istanbul ignore next */cov_2apmv5zqje.f[6]++;
81
+ cov_2apmv5zqje.s[13]++;
82
82
 
83
83
  if (typeof _config2.default.defaultImageSrcsetFormatter === 'function') {
84
- /* istanbul ignore next */cov_13zmb589fa.b[2][0]++;
85
- cov_13zmb589fa.s[14]++;
84
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][0]++;
85
+ cov_2apmv5zqje.s[14]++;
86
86
 
87
87
  return _config2.default.defaultImageSrcsetFormatter(src, size);
88
88
  } else {
89
- /* istanbul ignore next */cov_13zmb589fa.b[2][1]++;
90
- cov_13zmb589fa.s[15]++;
89
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][1]++;
90
+ cov_2apmv5zqje.s[15]++;
91
91
 
92
92
  return vm.formatSrcset(src, size);
93
93
  }
@@ -95,17 +95,17 @@ exports[`BCarouselList render correctly 1`] = `
95
95
  </div>
96
96
  <div class="carousel-slide" style="width: 0px;">
97
97
  <b-image-stub src="https://picsum.photos/id/5/1230/500" lazy="true" responsive="true" srcsetformatter="function _default(src, size, vm) {
98
- /* istanbul ignore next */cov_13zmb589fa.f[6]++;
99
- cov_13zmb589fa.s[13]++;
98
+ /* istanbul ignore next */cov_2apmv5zqje.f[6]++;
99
+ cov_2apmv5zqje.s[13]++;
100
100
 
101
101
  if (typeof _config2.default.defaultImageSrcsetFormatter === 'function') {
102
- /* istanbul ignore next */cov_13zmb589fa.b[2][0]++;
103
- cov_13zmb589fa.s[14]++;
102
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][0]++;
103
+ cov_2apmv5zqje.s[14]++;
104
104
 
105
105
  return _config2.default.defaultImageSrcsetFormatter(src, size);
106
106
  } else {
107
- /* istanbul ignore next */cov_13zmb589fa.b[2][1]++;
108
- cov_13zmb589fa.s[15]++;
107
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][1]++;
108
+ cov_2apmv5zqje.s[15]++;
109
109
 
110
110
  return vm.formatSrcset(src, size);
111
111
  }
@@ -113,17 +113,17 @@ exports[`BCarouselList render correctly 1`] = `
113
113
  </div>
114
114
  <div class="carousel-slide" style="width: 0px;">
115
115
  <b-image-stub src="https://picsum.photos/id/6/1230/500" lazy="true" responsive="true" srcsetformatter="function _default(src, size, vm) {
116
- /* istanbul ignore next */cov_13zmb589fa.f[6]++;
117
- cov_13zmb589fa.s[13]++;
116
+ /* istanbul ignore next */cov_2apmv5zqje.f[6]++;
117
+ cov_2apmv5zqje.s[13]++;
118
118
 
119
119
  if (typeof _config2.default.defaultImageSrcsetFormatter === 'function') {
120
- /* istanbul ignore next */cov_13zmb589fa.b[2][0]++;
121
- cov_13zmb589fa.s[14]++;
120
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][0]++;
121
+ cov_2apmv5zqje.s[14]++;
122
122
 
123
123
  return _config2.default.defaultImageSrcsetFormatter(src, size);
124
124
  } else {
125
- /* istanbul ignore next */cov_13zmb589fa.b[2][1]++;
126
- cov_13zmb589fa.s[15]++;
125
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][1]++;
126
+ cov_2apmv5zqje.s[15]++;
127
127
 
128
128
  return vm.formatSrcset(src, size);
129
129
  }
@@ -131,17 +131,17 @@ exports[`BCarouselList render correctly 1`] = `
131
131
  </div>
132
132
  <div class="carousel-slide" style="width: 0px;">
133
133
  <b-image-stub src="https://picsum.photos/id/7/1230/500" lazy="true" responsive="true" srcsetformatter="function _default(src, size, vm) {
134
- /* istanbul ignore next */cov_13zmb589fa.f[6]++;
135
- cov_13zmb589fa.s[13]++;
134
+ /* istanbul ignore next */cov_2apmv5zqje.f[6]++;
135
+ cov_2apmv5zqje.s[13]++;
136
136
 
137
137
  if (typeof _config2.default.defaultImageSrcsetFormatter === 'function') {
138
- /* istanbul ignore next */cov_13zmb589fa.b[2][0]++;
139
- cov_13zmb589fa.s[14]++;
138
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][0]++;
139
+ cov_2apmv5zqje.s[14]++;
140
140
 
141
141
  return _config2.default.defaultImageSrcsetFormatter(src, size);
142
142
  } else {
143
- /* istanbul ignore next */cov_13zmb589fa.b[2][1]++;
144
- cov_13zmb589fa.s[15]++;
143
+ /* istanbul ignore next */cov_2apmv5zqje.b[2][1]++;
144
+ cov_2apmv5zqje.s[15]++;
145
145
 
146
146
  return vm.formatSrcset(src, size);
147
147
  }
@@ -0,0 +1,10 @@
1
+ import { shallowMount } from '@vue/test-utils'
2
+ import BColorpicker from '@components/colorpicker/Colorpicker'
3
+
4
+ describe('BColorpicker', () => {
5
+ it('render correctly', () => {
6
+ const wrapper = shallowMount(BColorpicker)
7
+
8
+ expect(wrapper.html()).toMatchSnapshot()
9
+ })
10
+ })