buefy 0.9.9 → 0.9.13

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 (278) hide show
  1. package/CHANGELOG.md +1639 -1609
  2. package/dist/buefy.css +20 -2
  3. package/dist/buefy.esm.js +2227 -1869
  4. package/dist/buefy.esm.min.js +2 -2
  5. package/dist/buefy.js +2266 -1907
  6. package/dist/buefy.min.css +1 -1
  7. package/dist/buefy.min.js +2 -2
  8. package/dist/cjs/autocomplete.js +6 -6
  9. package/dist/cjs/breadcrumb.js +127 -0
  10. package/dist/cjs/button.js +6 -107
  11. package/dist/cjs/carousel.js +9 -7
  12. package/dist/cjs/checkbox.js +5 -5
  13. package/dist/cjs/{chunk-d33a8a78.js → chunk-114191ae.js} +3 -3
  14. package/dist/cjs/{chunk-dafdb70c.js → chunk-2062216d.js} +39 -3
  15. package/dist/cjs/{chunk-64efc596.js → chunk-2911aa4b.js} +20 -16
  16. package/dist/cjs/{chunk-96ab31c1.js → chunk-2ae50815.js} +7 -7
  17. package/dist/cjs/{chunk-c3032504.js → chunk-2c7de785.js} +3 -3
  18. package/dist/cjs/{chunk-50ff3a78.js → chunk-30670fac.js} +96 -15
  19. package/dist/cjs/{chunk-e57b3891.js → chunk-34949503.js} +2 -2
  20. package/dist/cjs/{chunk-0abd2223.js → chunk-3b43d77a.js} +2 -2
  21. package/dist/cjs/{chunk-dcdbe2e8.js → chunk-3cc5d9a6.js} +1 -1
  22. package/dist/cjs/{chunk-0b57168e.js → chunk-61023b09.js} +3 -3
  23. package/dist/cjs/chunk-6cb902f8.js +314 -0
  24. package/dist/cjs/{chunk-adb01a93.js → chunk-7da0c017.js} +26 -24
  25. package/dist/cjs/{chunk-60255743.js → chunk-9103eeda.js} +4 -0
  26. package/dist/cjs/{chunk-14c82365.js → chunk-92621ff7.js} +37 -0
  27. package/dist/cjs/{chunk-816cba7a.js → chunk-9e4cf4c5.js} +1 -1
  28. package/dist/cjs/{chunk-33b9d1cf.js → chunk-a11294f9.js} +27 -26
  29. package/dist/cjs/{chunk-430b5370.js → chunk-bfcad370.js} +25 -2
  30. package/dist/cjs/{chunk-cc470e7c.js → chunk-c6fbc7b4.js} +7 -7
  31. package/dist/cjs/{chunk-993f89de.js → chunk-c7b2aa4b.js} +5 -4
  32. package/dist/cjs/{chunk-6474e963.js → chunk-d0f8ea39.js} +9 -9
  33. package/dist/cjs/{chunk-3acb500b.js → chunk-d120e215.js} +2 -2
  34. package/dist/cjs/{chunk-f5baaa70.js → chunk-d54e40f6.js} +2 -1
  35. package/dist/cjs/{chunk-916a2858.js → chunk-f5106717.js} +4 -4
  36. package/dist/cjs/chunk-fe2f57ee.js +110 -0
  37. package/dist/cjs/{chunk-2571dc7c.js → chunk-fefd7b77.js} +0 -0
  38. package/dist/cjs/clockpicker.js +11 -11
  39. package/dist/cjs/config.js +2 -2
  40. package/dist/cjs/datepicker.js +12 -12
  41. package/dist/cjs/datetimepicker.js +22 -15
  42. package/dist/cjs/dialog.js +13 -11
  43. package/dist/cjs/dropdown.js +8 -8
  44. package/dist/cjs/field.js +5 -5
  45. package/dist/cjs/helpers.js +2 -3
  46. package/dist/cjs/icon.js +3 -3
  47. package/dist/cjs/image.js +6 -311
  48. package/dist/cjs/index.js +29 -23
  49. package/dist/cjs/input.js +5 -5
  50. package/dist/cjs/loading.js +6 -6
  51. package/dist/cjs/menu.js +3 -3
  52. package/dist/cjs/message.js +6 -6
  53. package/dist/cjs/modal.js +6 -6
  54. package/dist/cjs/navbar.js +16 -4
  55. package/dist/cjs/notification.js +23 -11
  56. package/dist/cjs/numberinput.js +9 -7
  57. package/dist/cjs/pagination.js +8 -8
  58. package/dist/cjs/progress.js +10 -6
  59. package/dist/cjs/radio.js +3 -3
  60. package/dist/cjs/rate.js +3 -3
  61. package/dist/cjs/select.js +7 -7
  62. package/dist/cjs/sidebar.js +2 -2
  63. package/dist/cjs/slider.js +4 -4
  64. package/dist/cjs/snackbar.js +5 -5
  65. package/dist/cjs/steps.js +8 -8
  66. package/dist/cjs/switch.js +1 -1
  67. package/dist/cjs/table.js +13 -13
  68. package/dist/cjs/tabs.js +8 -8
  69. package/dist/cjs/tag.js +3 -3
  70. package/dist/cjs/taginput.js +34 -22
  71. package/dist/cjs/timepicker.js +13 -13
  72. package/dist/cjs/toast.js +5 -5
  73. package/dist/cjs/tooltip.js +5 -5
  74. package/dist/cjs/upload.js +5 -5
  75. package/dist/components/autocomplete/index.js +98 -13
  76. package/dist/components/autocomplete/index.min.js +2 -2
  77. package/dist/components/breadcrumb/index.js +293 -0
  78. package/dist/components/breadcrumb/index.min.js +2 -0
  79. package/dist/components/button/index.js +5 -1
  80. package/dist/components/button/index.min.js +2 -2
  81. package/dist/components/carousel/index.js +348 -15
  82. package/dist/components/carousel/index.min.js +2 -2
  83. package/dist/components/checkbox/index.js +1 -1
  84. package/dist/components/checkbox/index.min.js +1 -1
  85. package/dist/components/clockpicker/index.js +54 -47
  86. package/dist/components/clockpicker/index.min.js +2 -2
  87. package/dist/components/collapse/index.js +1 -1
  88. package/dist/components/collapse/index.min.js +1 -1
  89. package/dist/components/datepicker/index.js +41 -32
  90. package/dist/components/datepicker/index.min.js +2 -2
  91. package/dist/components/datetimepicker/index.js +75 -58
  92. package/dist/components/datetimepicker/index.min.js +2 -2
  93. package/dist/components/dialog/index.js +126 -18
  94. package/dist/components/dialog/index.min.js +2 -2
  95. package/dist/components/dropdown/index.js +5 -1
  96. package/dist/components/dropdown/index.min.js +1 -1
  97. package/dist/components/field/index.js +29 -23
  98. package/dist/components/field/index.min.js +2 -2
  99. package/dist/components/icon/index.js +5 -1
  100. package/dist/components/icon/index.min.js +2 -2
  101. package/dist/components/image/index.js +463 -444
  102. package/dist/components/image/index.min.js +2 -2
  103. package/dist/components/input/index.js +5 -1
  104. package/dist/components/input/index.min.js +2 -2
  105. package/dist/components/loading/index.js +2 -2
  106. package/dist/components/loading/index.min.js +2 -2
  107. package/dist/components/menu/index.js +5 -1
  108. package/dist/components/menu/index.min.js +2 -2
  109. package/dist/components/message/index.js +43 -3
  110. package/dist/components/message/index.min.js +2 -2
  111. package/dist/components/modal/index.js +7 -2
  112. package/dist/components/modal/index.min.js +2 -2
  113. package/dist/components/navbar/index.js +16 -4
  114. package/dist/components/navbar/index.min.js +2 -2
  115. package/dist/components/notification/index.js +59 -6
  116. package/dist/components/notification/index.min.js +2 -2
  117. package/dist/components/numberinput/index.js +9 -3
  118. package/dist/components/numberinput/index.min.js +2 -2
  119. package/dist/components/pagination/index.js +5 -1
  120. package/dist/components/pagination/index.min.js +2 -2
  121. package/dist/components/progress/index.js +10 -2
  122. package/dist/components/progress/index.min.js +2 -2
  123. package/dist/components/radio/index.js +1 -1
  124. package/dist/components/radio/index.min.js +1 -1
  125. package/dist/components/rate/index.js +5 -1
  126. package/dist/components/rate/index.min.js +2 -2
  127. package/dist/components/select/index.js +5 -1
  128. package/dist/components/select/index.min.js +2 -2
  129. package/dist/components/sidebar/index.js +5 -1
  130. package/dist/components/sidebar/index.min.js +1 -1
  131. package/dist/components/skeleton/index.js +1 -1
  132. package/dist/components/skeleton/index.min.js +1 -1
  133. package/dist/components/slider/index.js +5 -1
  134. package/dist/components/slider/index.min.js +2 -2
  135. package/dist/components/snackbar/index.js +7 -2
  136. package/dist/components/snackbar/index.min.js +2 -2
  137. package/dist/components/steps/index.js +5 -1
  138. package/dist/components/steps/index.min.js +2 -2
  139. package/dist/components/switch/index.js +5 -1
  140. package/dist/components/switch/index.min.js +1 -1
  141. package/dist/components/table/index.js +6 -2
  142. package/dist/components/table/index.min.js +2 -2
  143. package/dist/components/tabs/index.js +5 -1
  144. package/dist/components/tabs/index.min.js +2 -2
  145. package/dist/components/tag/index.js +26 -3
  146. package/dist/components/tag/index.min.js +2 -2
  147. package/dist/components/taginput/index.js +185 -29
  148. package/dist/components/taginput/index.min.js +2 -2
  149. package/dist/components/timepicker/index.js +54 -47
  150. package/dist/components/timepicker/index.min.js +2 -2
  151. package/dist/components/toast/index.js +7 -2
  152. package/dist/components/toast/index.min.js +2 -2
  153. package/dist/components/tooltip/index.js +5 -1
  154. package/dist/components/tooltip/index.min.js +1 -1
  155. package/dist/components/upload/index.js +5 -1
  156. package/dist/components/upload/index.min.js +2 -2
  157. package/dist/esm/autocomplete.js +7 -7
  158. package/dist/esm/breadcrumb.js +122 -0
  159. package/dist/esm/button.js +6 -107
  160. package/dist/esm/carousel.js +7 -5
  161. package/dist/esm/{chunk-56040896.js → chunk-18e8b067.js} +3 -3
  162. package/dist/esm/{chunk-fa404a2c.js → chunk-21fc0948.js} +7 -7
  163. package/dist/esm/{chunk-f9299099.js → chunk-22e9f916.js} +19 -15
  164. package/dist/esm/{chunk-1fafdf15.js → chunk-2452e3d3.js} +37 -1
  165. package/dist/esm/{chunk-1297c2c9.js → chunk-29ca0df8.js} +1 -1
  166. package/dist/esm/{chunk-3c2169d7.js → chunk-2f2f0a74.js} +25 -2
  167. package/dist/esm/{chunk-cf72ce36.js → chunk-3773c62d.js} +2 -2
  168. package/dist/esm/{chunk-2c957994.js → chunk-4b67a181.js} +3 -3
  169. package/dist/esm/{chunk-45740cdc.js → chunk-6019fd7a.js} +96 -15
  170. package/dist/esm/chunk-71a547bc.js +312 -0
  171. package/dist/esm/{chunk-516e4877.js → chunk-75a5af93.js} +1 -1
  172. package/dist/esm/{chunk-4e380ee2.js → chunk-799e084d.js} +2 -1
  173. package/dist/esm/{chunk-37678809.js → chunk-83eb0d37.js} +3 -3
  174. package/dist/esm/{chunk-34c74085.js → chunk-8d0f95b8.js} +4 -4
  175. package/dist/esm/{chunk-652f2dad.js → chunk-8ed29c41.js} +4 -0
  176. package/dist/esm/{chunk-742a9694.js → chunk-9f7f7441.js} +3 -2
  177. package/dist/esm/{chunk-f160efb9.js → chunk-ae8ab23a.js} +4 -4
  178. package/dist/esm/{chunk-c3b09672.js → chunk-b07e3182.js} +26 -24
  179. package/dist/esm/{chunk-e36a4f2c.js → chunk-b0c0c6b0.js} +0 -0
  180. package/dist/esm/{chunk-ee935ae6.js → chunk-c9c58d0c.js} +1 -1
  181. package/dist/esm/{chunk-1d62828e.js → chunk-d7f92d97.js} +39 -3
  182. package/dist/esm/{chunk-7fd02ffe.js → chunk-d92f0cd9.js} +2 -2
  183. package/dist/esm/chunk-e7c9b2cb.js +108 -0
  184. package/dist/esm/{chunk-0e22ae0a.js → chunk-ece062a7.js} +27 -26
  185. package/dist/esm/clockpicker.js +9 -9
  186. package/dist/esm/config.js +2 -2
  187. package/dist/esm/datepicker.js +11 -11
  188. package/dist/esm/datetimepicker.js +21 -14
  189. package/dist/esm/dialog.js +10 -8
  190. package/dist/esm/dropdown.js +5 -5
  191. package/dist/esm/field.js +4 -4
  192. package/dist/esm/helpers.js +2 -3
  193. package/dist/esm/icon.js +4 -4
  194. package/dist/esm/image.js +6 -311
  195. package/dist/esm/index.js +106 -100
  196. package/dist/esm/input.js +6 -6
  197. package/dist/esm/loading.js +4 -4
  198. package/dist/esm/menu.js +3 -3
  199. package/dist/esm/message.js +5 -5
  200. package/dist/esm/modal.js +4 -4
  201. package/dist/esm/navbar.js +16 -4
  202. package/dist/esm/notification.js +22 -10
  203. package/dist/esm/numberinput.js +9 -7
  204. package/dist/esm/pagination.js +5 -5
  205. package/dist/esm/progress.js +8 -4
  206. package/dist/esm/rate.js +3 -3
  207. package/dist/esm/select.js +6 -6
  208. package/dist/esm/sidebar.js +2 -2
  209. package/dist/esm/slider.js +3 -3
  210. package/dist/esm/snackbar.js +4 -4
  211. package/dist/esm/steps.js +6 -6
  212. package/dist/esm/switch.js +1 -1
  213. package/dist/esm/table.js +9 -9
  214. package/dist/esm/tabs.js +6 -6
  215. package/dist/esm/tag.js +2 -2
  216. package/dist/esm/taginput.js +33 -21
  217. package/dist/esm/timepicker.js +12 -12
  218. package/dist/esm/toast.js +4 -4
  219. package/dist/esm/tooltip.js +4 -4
  220. package/dist/esm/upload.js +3 -3
  221. package/dist/vetur/attributes.json +95 -19
  222. package/dist/vetur/tags.json +37 -4
  223. package/package.json +2 -2
  224. package/src/components/autocomplete/Autocomplete.spec.js +70 -0
  225. package/src/components/autocomplete/Autocomplete.vue +93 -18
  226. package/src/components/breadcrumb/Breadcrumb.spec.js +63 -0
  227. package/src/components/breadcrumb/Breadcrumb.vue +43 -0
  228. package/src/components/breadcrumb/BreadcrumbItem.spec.js +25 -0
  229. package/src/components/breadcrumb/BreadcrumbItem.vue +33 -0
  230. package/src/components/breadcrumb/__snapshots__/Breadcrumb.spec.js.snap +7 -0
  231. package/src/components/breadcrumb/__snapshots__/BreadcrumbItem.spec.js.snap +7 -0
  232. package/src/components/breadcrumb/index.js +20 -0
  233. package/src/components/carousel/CarouselList.vue +3 -1
  234. package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +128 -8
  235. package/src/components/clockpicker/Clockpicker.vue +259 -259
  236. package/src/components/datepicker/Datepicker.vue +10 -6
  237. package/src/components/datetimepicker/Datetimepicker.vue +8 -1
  238. package/src/components/dialog/Dialog.vue +10 -10
  239. package/src/components/field/Field.vue +271 -270
  240. package/src/components/image/Image.spec.js +197 -183
  241. package/src/components/image/Image.vue +4 -2
  242. package/src/components/index.js +2 -0
  243. package/src/components/loading/Loading.vue +1 -1
  244. package/src/components/loading/__snapshots__/Loading.spec.js.snap +1 -1
  245. package/src/components/message/Message.vue +7 -1
  246. package/src/components/message/__snapshots__/Message.spec.js.snap +1 -0
  247. package/src/components/modal/Modal.vue +2 -0
  248. package/src/components/navbar/Navbar.vue +5 -1
  249. package/src/components/navbar/NavbarBurger.vue +1 -0
  250. package/src/components/navbar/NavbarDropdown.vue +8 -2
  251. package/src/components/navbar/__snapshots__/NavBar.spec.js.snap +11 -11
  252. package/src/components/navbar/__snapshots__/NavBarBurger.spec.js.snap +3 -0
  253. package/src/components/navbar/__snapshots__/NavbarDropdown.spec.js.snap +1 -1
  254. package/src/components/notification/Notification.vue +6 -0
  255. package/src/components/notification/NotificationNotice.vue +16 -3
  256. package/src/components/notification/__snapshots__/Notification.spec.js.snap +1 -0
  257. package/src/components/numberinput/Numberinput.spec.js +10 -0
  258. package/src/components/numberinput/Numberinput.vue +4 -2
  259. package/src/components/progress/Progress.vue +6 -2
  260. package/src/components/snackbar/Snackbar.vue +2 -0
  261. package/src/components/tag/Tag.vue +25 -2
  262. package/src/components/tag/__snapshots__/Tag.spec.js.snap +1 -1
  263. package/src/components/taginput/Taginput.spec.js +57 -1
  264. package/src/components/taginput/Taginput.vue +373 -364
  265. package/src/components/toast/Toast.vue +1 -1
  266. package/src/index.js +2 -0
  267. package/src/scss/buefy.scss +1 -0
  268. package/src/scss/components/_loading.scss +2 -1
  269. package/src/scss/components/_message.scss +3 -0
  270. package/src/scss/components/_notification.scss +8 -0
  271. package/src/scss/components/_progress.scss +8 -0
  272. package/src/utils/MessageMixin.js +32 -1
  273. package/src/utils/NoticeMixin.js +1 -0
  274. package/src/utils/TimepickerMixin.js +718 -716
  275. package/src/utils/config.js +4 -0
  276. package/src/utils/helpers.js +1 -2
  277. package/types/components.d.ts +5 -0
  278. package/src/components/navbar/__snapshots__/NavbarBurger.spec.js.snap +0 -3
package/dist/esm/toast.js CHANGED
@@ -1,8 +1,8 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import { merge } from './helpers.js';
3
- import { c as config, V as VueInstance } from './chunk-652f2dad.js';
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-4e380ee2.js';
5
+ import { N as NoticeMixin } from './chunk-799e084d.js';
6
6
 
7
7
  //
8
8
  var script = {
@@ -19,7 +19,7 @@ var script = {
19
19
  const __vue_script__ = script;
20
20
 
21
21
  /* template */
22
- var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"enter-active-class":_vm.transition.enter,"leave-active-class":_vm.transition.leave}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"toast",class:[_vm.type, _vm.position],attrs:{"aria-hidden":!_vm.isActive,"role":"alert"},on:{"mouseover":_vm.pause,"mouseleave":_vm.removePause}},[(_vm.$slots.default)?[_vm._t("default")]:[_c('div',{domProps:{"innerHTML":_vm._s(_vm.message)}})]],2)])};
22
+ var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('transition',{attrs:{"enter-active-class":_vm.transition.enter,"leave-active-class":_vm.transition.leave}},[_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.isActive),expression:"isActive"}],staticClass:"toast",class:[_vm.type, _vm.position],attrs:{"aria-hidden":!_vm.isActive,"role":"alert"},on:{"mouseenter":_vm.pause,"mouseleave":_vm.removePause}},[(_vm.$slots.default)?[_vm._t("default")]:[_c('div',{domProps:{"innerHTML":_vm._s(_vm.message)}})]],2)])};
23
23
  var __vue_staticRenderFns__ = [];
24
24
 
25
25
  /* style */
@@ -1,9 +1,9 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import './chunk-652f2dad.js';
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-cf72ce36.js';
6
- export { T as BTooltip } from './chunk-cf72ce36.js';
5
+ import { T as Tooltip } from './chunk-3773c62d.js';
6
+ export { T as BTooltip } from './chunk-3773c62d.js';
7
7
 
8
8
  var Plugin = {
9
9
  install: function install(Vue) {
@@ -1,7 +1,7 @@
1
- import './chunk-1fafdf15.js';
1
+ import './chunk-2452e3d3.js';
2
2
  import './helpers.js';
3
- import './chunk-652f2dad.js';
4
- import { F as FormElementMixin } from './chunk-516e4877.js';
3
+ import './chunk-8ed29c41.js';
4
+ import { F as FormElementMixin } from './chunk-75a5af93.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
 
@@ -91,10 +91,38 @@
91
91
  "description": "Trigger the @select event for the first pre-selected option when clicking outside and keep-first is enabled",
92
92
  "type": "boolean"
93
93
  },
94
+ "b-autocomplete/selectable-header": {
95
+ "description": "Allows the header in the autocomplete to be selectable",
96
+ "type": "boolean"
97
+ },
98
+ "b-autocomplete/selectable-footer": {
99
+ "description": "Allows the footer in the autocomplete to be selectable",
100
+ "type": "boolean"
101
+ },
94
102
  "b-autocomplete/Any native attribute": {
95
103
  "description": "—",
96
104
  "type": "—"
97
105
  },
106
+ "b-breadcrumb/align": {
107
+ "description": "Breadcrumb alignment.",
108
+ "type": "string"
109
+ },
110
+ "b-breadcrumb/separator": {
111
+ "description": "Symbol that separates the breadcrumb items.",
112
+ "type": "string"
113
+ },
114
+ "b-breadcrumb/size": {
115
+ "description": "The breadcrumb size",
116
+ "type": "string"
117
+ },
118
+ "b-breadcrumb-breadcrumb item/tag": {
119
+ "description": "a, router-link and it's html attributes like href, to, etc...",
120
+ "type": "string"
121
+ },
122
+ "b-breadcrumb-breadcrumb item/active": {
123
+ "description": "is the current breadcrumb is actually the current page.",
124
+ "type": "boolean"
125
+ },
98
126
  "b-button/type": {
99
127
  "description": "Type (color) of the control, optional",
100
128
  "type": "string"
@@ -180,11 +208,11 @@
180
208
  "type": "number"
181
209
  },
182
210
  "b-carousel/has-drag": {
183
- "description": "Toggle touch dragging, when touch not detected. auto switch mouse dragging",
211
+ "description": "Toggle touch dragging, when touch not detected. Auto switch mouse dragging",
184
212
  "type": "boolean"
185
213
  },
186
214
  "b-carousel/autoplay": {
187
- "description": "Whether automatically loop the slides",
215
+ "description": "Whether to automatically loop the slides",
188
216
  "type": "boolean"
189
217
  },
190
218
  "b-carousel/pause-hover": {
@@ -192,7 +220,7 @@
192
220
  "type": "boolean"
193
221
  },
194
222
  "b-carousel/pause-info": {
195
- "description": "Show information pause when autoplay and pause-hover",
223
+ "description": "Show information about pause when autoplay and pause-hover",
196
224
  "type": "boolean"
197
225
  },
198
226
  "b-carousel/pause-info-type": {
@@ -212,7 +240,7 @@
212
240
  "type": "boolean"
213
241
  },
214
242
  "b-carousel/repeat": {
215
- "description": "Controls whether the carousel loops around at the start and end.",
243
+ "description": "Controls whether the carousel loops around at the start and end",
216
244
  "type": "boolean"
217
245
  },
218
246
  "b-carousel/icon-pack": {
@@ -236,19 +264,19 @@
236
264
  "type": "boolean"
237
265
  },
238
266
  "b-carousel/indicator-background": {
239
- "description": "Added background for indicator",
267
+ "description": "Adds background to indicator",
240
268
  "type": "boolean"
241
269
  },
242
270
  "b-carousel/indicator-custom": {
243
- "description": "use when the image is more than 6 so that the indicator is not too small",
271
+ "description": "Use when there are more than 6 images so that the indicator is not too small",
244
272
  "type": "boolean"
245
273
  },
246
274
  "b-carousel/indicator-custom-size": {
247
- "description": "image size on the indicator when the indicator-custom is used",
275
+ "description": "Image size of the indicator when the indicator-custom is used",
248
276
  "type": "string"
249
277
  },
250
278
  "b-carousel/indicator-inside": {
251
- "description": "Display the indicator inside on carousel",
279
+ "description": "Display the indicator inside the carousel",
252
280
  "type": "boolean"
253
281
  },
254
282
  "b-carousel/indicator-mode": {
@@ -276,7 +304,7 @@
276
304
  "type": "string"
277
305
  },
278
306
  "b-carousel/with-carousel-list": {
279
- "description": "use this when indicator custom with b-carousel-list",
307
+ "description": "Use when indicator custom with b-carousel-list",
280
308
  "type": "boolean"
281
309
  },
282
310
  "b-carousel-list/value": {
@@ -288,27 +316,27 @@
288
316
  "type": "array"
289
317
  },
290
318
  "b-carousel-list/has-drag": {
291
- "description": "Toggle touch dragging, when touch not detected. auto switch mouse dragging",
319
+ "description": "Toggle touch dragging, when touch not detected. Auto switch mouse dragging",
292
320
  "type": "boolean"
293
321
  },
294
322
  "b-carousel-list/has-grayscale": {
295
- "description": "Give a effect grayscale on img",
323
+ "description": "Give a grayscale effect to img",
296
324
  "type": "boolean"
297
325
  },
298
326
  "b-carousel-list/has-opacity": {
299
- "description": "Give a effect opacity on img",
327
+ "description": "Give an opacity effect to img",
300
328
  "type": "boolean"
301
329
  },
302
330
  "b-carousel-list/repeat": {
303
- "description": "Back to value 0 when item active same with total data",
331
+ "description": "Returns carousel to start when active item matches length of data",
304
332
  "type": "boolean"
305
333
  },
306
334
  "b-carousel-list/items-to-show": {
307
- "description": "count of items to showed per view (support a decimal).",
335
+ "description": "Count of items to be showed per view (supports a decimal).",
308
336
  "type": "number"
309
337
  },
310
338
  "b-carousel-list/items-to-list": {
311
- "description": "count of items to list when use navigation buttons",
339
+ "description": "Count of items to list when using navigation buttons",
312
340
  "type": "number"
313
341
  },
314
342
  "b-carousel-list/as-indicator": {
@@ -316,7 +344,7 @@
316
344
  "type": "boolean"
317
345
  },
318
346
  "b-carousel-list/refresh": {
319
- "description": "Refresh for overlay carousel",
347
+ "description": "Refresh for carousel overlay",
320
348
  "type": "boolean"
321
349
  },
322
350
  "b-carousel-list/arrow": {
@@ -324,7 +352,7 @@
324
352
  "type": "boolean"
325
353
  },
326
354
  "b-carousel-list/arrow-hover": {
327
- "description": "Display Arrow action when hover, but hidden on mobile",
355
+ "description": "Display arrow action when hovered. Hidden on mobile",
328
356
  "type": "boolean"
329
357
  },
330
358
  "b-carousel-list/icon-pack": {
@@ -1099,6 +1127,10 @@
1099
1127
  "description": "Rounded image.",
1100
1128
  "type": "boolean"
1101
1129
  },
1130
+ "b-image/custom-class": {
1131
+ "description": "Add custom css class to the img tag.",
1132
+ "type": "string"
1133
+ },
1102
1134
  "b-input/value": {
1103
1135
  "description": "Binding value",
1104
1136
  "type": "string|number"
@@ -1271,6 +1303,10 @@
1271
1303
  "description": "Visibility duration in miliseconds",
1272
1304
  "type": "number"
1273
1305
  },
1306
+ "b-message/progress-bar": {
1307
+ "description": "remaining seconds before the alert will close (in seconds)",
1308
+ "type": "boolean"
1309
+ },
1274
1310
  "b-message/icon-pack": {
1275
1311
  "description": "Icon pack to use",
1276
1312
  "type": "string"
@@ -1379,6 +1415,10 @@
1379
1415
  "description": "Improve accessiblity when enabled.",
1380
1416
  "type": "boolean"
1381
1417
  },
1418
+ "b-modal/close-button-aria-label": {
1419
+ "description": "Aria label attribute to be passed to the close button for better accessibility.",
1420
+ "type": "string"
1421
+ },
1382
1422
  "b-navbar/transparent": {
1383
1423
  "description": "Remove any hover or active background from the navbar items",
1384
1424
  "type": "boolean"
@@ -1479,6 +1519,10 @@
1479
1519
  "description": "Visibility duration in miliseconds",
1480
1520
  "type": "number"
1481
1521
  },
1522
+ "b-notification/progress-bar": {
1523
+ "description": "remaining seconds before the alert will close (in seconds)",
1524
+ "type": "boolean"
1525
+ },
1482
1526
  "b-notification/animation": {
1483
1527
  "description": "Custom animation (transition name)",
1484
1528
  "type": "string"
@@ -1504,7 +1548,7 @@
1504
1548
  "type": "string|array<vnode>"
1505
1549
  },
1506
1550
  "b-notification/position": {
1507
- "description": "Which position the notification will appear when programmatically",
1551
+ "description": "Which position the notification will appear when opened programmatically",
1508
1552
  "type": "string"
1509
1553
  },
1510
1554
  "b-notification/queue": {
@@ -1512,7 +1556,11 @@
1512
1556
  "type": "boolean"
1513
1557
  },
1514
1558
  "b-notification/indefinite": {
1515
- "description": "Show the Notification indefinitely until it is dismissed when programmatically",
1559
+ "description": "Show the Notification indefinitely until it is dismissed when opened programmatically",
1560
+ "type": "boolean"
1561
+ },
1562
+ "b-notification/pause-on-hover": {
1563
+ "description": "Pause and show on hover until hover off when opened programmatically, if indefinite is false.",
1516
1564
  "type": "boolean"
1517
1565
  },
1518
1566
  "b-notification/container": {
@@ -1675,6 +1723,10 @@
1675
1723
  "description": "Size of the progress bar, optional",
1676
1724
  "type": "string"
1677
1725
  },
1726
+ "b-progress/rounded": {
1727
+ "description": "rounded style of the progress bar, optional",
1728
+ "type": "boolean"
1729
+ },
1678
1730
  "b-progress/value": {
1679
1731
  "description": "The progress value, progress will be indeterminate if undefined.",
1680
1732
  "type": "number"
@@ -2055,6 +2107,10 @@
2055
2107
  "description": "Show the Snackbar indefinitely until it is dismissed",
2056
2108
  "type": "boolean"
2057
2109
  },
2110
+ "b-snackbar/pause-on-hover": {
2111
+ "description": "Pause and show on hover until hover off (it works when indefinite is false)",
2112
+ "type": "boolean"
2113
+ },
2058
2114
  "b-snackbar/container": {
2059
2115
  "description": "DOM element the toast will be created on. Note that this also changes the position of the toast from fixed to absolute. Meaning that the container should be fixed. Also note that this will override the defaultContainerElement if you specified it in your Buefy Constructor Options. See Constructor options for more details.",
2060
2116
  "type": "string"
@@ -2659,6 +2715,18 @@
2659
2715
  "description": "Accessibility label for the close button",
2660
2716
  "type": "string"
2661
2717
  },
2718
+ "b-tag/icon": {
2719
+ "description": "Adds an icon to the left of the tag.",
2720
+ "type": "string"
2721
+ },
2722
+ "b-tag/icon-pack": {
2723
+ "description": "Icon pack to use",
2724
+ "type": "string"
2725
+ },
2726
+ "b-tag/icon-type": {
2727
+ "description": "Type (color) of the icon on the left side of tag, optional",
2728
+ "type": "string"
2729
+ },
2662
2730
  "b-tag/close-icon": {
2663
2731
  "description": "Replace times in close button with a customized icon. closable and attached props should be needed.",
2664
2732
  "type": "string"
@@ -2931,6 +2999,10 @@
2931
2999
  "description": "Whether tooltip is active or not",
2932
3000
  "type": "boolean"
2933
3001
  },
3002
+ "b-tooltip/auto-close": {
3003
+ "description": "The event(s) that should trigger the tooltip to close",
3004
+ "type": "boolean|array"
3005
+ },
2934
3006
  "b-tooltip/label": {
2935
3007
  "description": "Tooltip text",
2936
3008
  "type": "string"
@@ -2971,6 +3043,10 @@
2971
3043
  "description": "Tooltip delay before it appears (number in ms)",
2972
3044
  "type": "number"
2973
3045
  },
3046
+ "b-tooltip/append-to-body": {
3047
+ "description": "Append tooltip content to body (prevents event bubbling)",
3048
+ "type": "boolean"
3049
+ },
2974
3050
  "b-upload/value": {
2975
3051
  "description": "Binding value",
2976
3052
  "type": "file|array<file>"
@@ -23,11 +23,32 @@
23
23
  "max-height",
24
24
  "dropdown-position",
25
25
  "append-to-body",
26
- "select-on-click-outside"
26
+ "select-on-click-outside",
27
+ "selectable-header",
28
+ "selectable-footer"
27
29
  ],
28
30
  "description": "Buefy component <b-autocomplete>",
29
31
  "subtags": []
30
32
  },
33
+ "b-breadcrumb": {
34
+ "attributes": [
35
+ "align",
36
+ "separator",
37
+ "size"
38
+ ],
39
+ "description": "Buefy component <b-breadcrumb>",
40
+ "subtags": [
41
+ "b-breadcrumb-breadcrumb item"
42
+ ]
43
+ },
44
+ "b-breadcrumb-breadcrumb item": {
45
+ "attributes": [
46
+ "tag",
47
+ "active"
48
+ ],
49
+ "description": "Buefy component <b-breadcrumb-breadcrumb item>",
50
+ "subtags": []
51
+ },
31
52
  "b-button": {
32
53
  "attributes": [
33
54
  "type",
@@ -372,7 +393,8 @@
372
393
  "srcset",
373
394
  "srcset-sizes",
374
395
  "srcset-formatter",
375
- "rounded"
396
+ "rounded",
397
+ "custom-class"
376
398
  ],
377
399
  "description": "Buefy component <b-image>",
378
400
  "subtags": []
@@ -453,6 +475,7 @@
453
475
  "closable",
454
476
  "auto-close",
455
477
  "duration",
478
+ "progress-bar",
456
479
  "icon-pack",
457
480
  "has-icon",
458
481
  "icon",
@@ -485,7 +508,8 @@
485
508
  "destroy-on-hide",
486
509
  "aria-role",
487
510
  "aria-label",
488
- "aria-modal"
511
+ "aria-modal",
512
+ "close-button-aria-label"
489
513
  ],
490
514
  "description": "Buefy component <b-modal>",
491
515
  "subtags": []
@@ -538,6 +562,7 @@
538
562
  "closable",
539
563
  "auto-close",
540
564
  "duration",
565
+ "progress-bar",
541
566
  "animation",
542
567
  "icon-pack",
543
568
  "has-icon",
@@ -547,6 +572,7 @@
547
572
  "position",
548
573
  "queue",
549
574
  "indefinite",
575
+ "pause-on-hover",
550
576
  "container"
551
577
  ],
552
578
  "description": "Buefy component <b-notification>",
@@ -612,6 +638,7 @@
612
638
  "attributes": [
613
639
  "type",
614
640
  "size",
641
+ "rounded",
615
642
  "value",
616
643
  "max",
617
644
  "show-value",
@@ -772,6 +799,7 @@
772
799
  "duration",
773
800
  "queue",
774
801
  "indefinite",
802
+ "pause-on-hover",
775
803
  "container",
776
804
  "actionText",
777
805
  "onAction",
@@ -978,6 +1006,9 @@
978
1006
  "tabstop",
979
1007
  "disabled",
980
1008
  "aria-close-label",
1009
+ "icon",
1010
+ "icon-pack",
1011
+ "icon-type",
981
1012
  "close-icon",
982
1013
  "close-icon-pack",
983
1014
  "close-icon-type"
@@ -1076,6 +1107,7 @@
1076
1107
  "attributes": [
1077
1108
  "type",
1078
1109
  "active",
1110
+ "auto-close",
1079
1111
  "label",
1080
1112
  "triggers",
1081
1113
  "position",
@@ -1085,7 +1117,8 @@
1085
1117
  "dashed",
1086
1118
  "multilined",
1087
1119
  "size",
1088
- "delay"
1120
+ "delay",
1121
+ "append-to-body"
1089
1122
  ],
1090
1123
  "description": "Buefy component <b-tooltip>",
1091
1124
  "subtags": []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "buefy",
3
- "version": "0.9.9",
3
+ "version": "0.9.13",
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>",
@@ -38,7 +38,7 @@
38
38
  "lint": "eslint --ext .js,.vue src docs",
39
39
  "lint:fix": "eslint --ext .js,.vue src docs --fix",
40
40
  "lint:staged": "lint-staged",
41
- "unit": "jest --runInBand",
41
+ "unit": "jest --runInBand --u",
42
42
  "test": "npm run lint && npm run unit",
43
43
  "test:watch": "npm run unit -- --watchAll",
44
44
  "build:js": "rollup -c && rollup -c --environment MINIFY",
@@ -87,6 +87,76 @@ describe('BAutocomplete', () => {
87
87
  expect(wrapper.emitted()['blur']).toBeTruthy()
88
88
  })
89
89
 
90
+ it('can emit select-header by keyboard and click', async () => {
91
+ const VALUE_TYPED = 'test'
92
+ const wrapper = mount(BAutocomplete, {
93
+ propsData: {
94
+ checkInfiniteScroll: true,
95
+ selectableHeader: true,
96
+ selectableFooter: true
97
+ },
98
+ slots: {
99
+ header: '<h1>SLOT HEADER</h1>',
100
+ footer: '<h1>SLOT FOOTER</h1>'
101
+ },
102
+ stubs
103
+ })
104
+ const $input = wrapper.find('input')
105
+
106
+ $input.trigger('focus')
107
+ $input.setValue(VALUE_TYPED)
108
+ await wrapper.vm.$nextTick()
109
+
110
+ $input.trigger('keydown', {'key': 'Down'})
111
+ $input.trigger('keydown', {'key': 'Enter'})
112
+ await wrapper.vm.$nextTick()
113
+
114
+ const $header = wrapper.find('.dropdown-item.dropdown-header')
115
+ $header.trigger('click')
116
+ await wrapper.vm.$nextTick()
117
+
118
+ const emitted = wrapper.emitted()
119
+
120
+ expect(emitted['select-header']).toBeTruthy()
121
+ expect(emitted['select-header']).toHaveLength(2)
122
+ })
123
+
124
+ it('can emit select-footer by keyboard and click', async () => {
125
+ const VALUE_TYPED = 'test'
126
+ const wrapper = mount(BAutocomplete, {
127
+ propsData: {
128
+ checkInfiniteScroll: true,
129
+ selectableHeader: true,
130
+ selectableFooter: true
131
+ },
132
+ slots: {
133
+ header: '<h1>SLOT HEADER</h1>',
134
+ footer: '<h1>SLOT FOOTER</h1>'
135
+ },
136
+ stubs
137
+ })
138
+ const $input = wrapper.find('input')
139
+
140
+ $input.trigger('focus')
141
+ $input.setValue(VALUE_TYPED)
142
+ await wrapper.vm.$nextTick()
143
+
144
+ $input.trigger('keydown', {'key': 'Down'})
145
+ $input.trigger('keydown', {'key': 'Down'})
146
+ $input.trigger('keydown', {'key': 'Enter'})
147
+ $input.trigger('blur')
148
+ await wrapper.vm.$nextTick()
149
+
150
+ const $footer = wrapper.find('.dropdown-item.dropdown-footer')
151
+ $footer.trigger('click')
152
+ await wrapper.vm.$nextTick()
153
+
154
+ const emitted = wrapper.emitted()
155
+
156
+ expect(emitted['select-footer']).toBeTruthy()
157
+ expect(emitted['select-footer']).toHaveLength(2)
158
+ })
159
+
90
160
  it('can autocomplete with keydown', async () => {
91
161
  const VALUE_TYPED = 'Ang'
92
162
  wrapper.setProps({ data: DATA_LIST })