@gitlab/ui 92.1.1 → 92.3.0

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 (449) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/bin/migrate_custom_utils_to_tw.bundled.mjs +11 -3
  3. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_popover/duo_chat_context_item_popover.js +29 -1
  4. package/dist/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_selections/duo_chat_context_item_selections.js +18 -1
  5. package/dist/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.js +4 -6
  6. package/dist/components/experimental/duo/chat/constants.js +2 -1
  7. package/dist/index.css +4 -2
  8. package/dist/index.css.map +1 -1
  9. package/dist/tailwind.css +1 -1
  10. package/dist/tailwind.css.map +1 -1
  11. package/dist/vendor/bootstrap-vue/src/components/form/index.js +0 -4
  12. package/dist/vendor/bootstrap-vue/src/components/index.js +0 -48
  13. package/dist/vendor/bootstrap-vue/src/components/layout/index.js +0 -6
  14. package/dist/vendor/bootstrap-vue/src/components/nav/index.js +0 -6
  15. package/dist/vendor/bootstrap-vue/src/components/navbar/index.js +1 -8
  16. package/dist/vendor/bootstrap-vue/src/components/tooltip/helpers/bv-tooltip.js +2 -6
  17. package/dist/vendor/bootstrap-vue/src/constants/classes.js +1 -2
  18. package/dist/vendor/bootstrap-vue/src/constants/components.js +1 -51
  19. package/dist/vendor/bootstrap-vue/src/constants/events.js +1 -12
  20. package/dist/vendor/bootstrap-vue/src/constants/key-codes.js +1 -5
  21. package/dist/vendor/bootstrap-vue/src/constants/props.js +1 -4
  22. package/dist/vendor/bootstrap-vue/src/constants/regex.js +1 -20
  23. package/dist/vendor/bootstrap-vue/src/constants/slots.js +1 -33
  24. package/dist/vendor/bootstrap-vue/src/directives/toggle/toggle.js +1 -1
  25. package/dist/vendor/bootstrap-vue/src/index.js +0 -74
  26. package/dist/vendor/bootstrap-vue/src/utils/array.js +1 -3
  27. package/dist/vendor/bootstrap-vue/src/utils/inspect.js +1 -3
  28. package/dist/vendor/bootstrap-vue/src/utils/math.js +1 -3
  29. package/dist/vendor/bootstrap-vue/src/utils/object.js +1 -6
  30. package/dist/vendor/bootstrap-vue/src/utils/props.js +2 -8
  31. package/dist/vendor/bootstrap-vue/src/utils/string.js +1 -10
  32. package/package.json +1 -1
  33. package/src/components/base/accordion/accordion_item.scss +3 -3
  34. package/src/components/base/alert/alert.scss +3 -3
  35. package/src/components/base/avatar_labeled/avatar_labeled.scss +2 -2
  36. package/src/components/base/avatars_inline/avatars_inline.scss +1 -1
  37. package/src/components/base/badge/badge.scss +2 -2
  38. package/src/components/base/banner/banner.scss +2 -2
  39. package/src/components/base/breadcrumb/breadcrumb.scss +3 -3
  40. package/src/components/base/broadcast_message/broadcast_message.scss +3 -3
  41. package/src/components/base/button/button.scss +26 -16
  42. package/src/components/base/card/card.scss +1 -1
  43. package/src/components/base/datepicker/datepicker.scss +10 -10
  44. package/src/components/base/drawer/drawer.scss +5 -5
  45. package/src/components/base/dropdown/dropdown.scss +28 -28
  46. package/src/components/base/dropdown/dropdown_divider.scss +3 -3
  47. package/src/components/base/dropdown/dropdown_item.scss +9 -9
  48. package/src/components/base/dropdown/dropdown_section_header.scss +2 -2
  49. package/src/components/base/dropdown/dropdown_text.scss +1 -1
  50. package/src/components/base/filtered_search/filtered_search.scss +7 -7
  51. package/src/components/base/filtered_search/filtered_search_suggestion.scss +1 -1
  52. package/src/components/base/filtered_search/filtered_search_suggestion_list.scss +3 -3
  53. package/src/components/base/filtered_search/filtered_search_term.scss +2 -2
  54. package/src/components/base/filtered_search/filtered_search_token.scss +4 -4
  55. package/src/components/base/filtered_search/filtered_search_token_segment.scss +2 -2
  56. package/src/components/base/form/form_checkbox/form_checkbox.scss +10 -10
  57. package/src/components/base/form/form_group/form_group.scss +5 -5
  58. package/src/components/base/form/form_input/form_input.scss +2 -2
  59. package/src/components/base/form/form_select/form_select.scss +2 -2
  60. package/src/components/base/keyset_pagination/keyset_pagination.scss +1 -1
  61. package/src/components/base/label/label.scss +1 -1
  62. package/src/components/base/loading_icon/loading_icon.scss +1 -1
  63. package/src/components/base/markdown/markdown.scss +33 -33
  64. package/src/components/base/modal/modal.scss +11 -11
  65. package/src/components/base/new_dropdowns/dropdown.scss +14 -14
  66. package/src/components/base/new_dropdowns/dropdown_item.scss +9 -9
  67. package/src/components/base/new_dropdowns/listbox/listbox.scss +1 -1
  68. package/src/components/base/pagination/pagination.scss +3 -3
  69. package/src/components/base/path/path.scss +5 -5
  70. package/src/components/base/popover/popover.scss +5 -5
  71. package/src/components/base/search_box_by_click/search_box_by_click.scss +2 -2
  72. package/src/components/base/search_box_by_type/search_box_by_type.scss +4 -4
  73. package/src/components/base/table/table.scss +4 -4
  74. package/src/components/base/tabs/tabs/tabs.scss +10 -10
  75. package/src/components/base/toast/toast.scss +7 -7
  76. package/src/components/base/toggle/toggle.scss +6 -6
  77. package/src/components/base/token/token.scss +5 -5
  78. package/src/components/base/tooltip/tooltip.scss +3 -3
  79. package/src/components/charts/legend/legend.scss +4 -4
  80. package/src/components/charts/series_label/series_label.scss +1 -1
  81. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_popover/duo_chat_context_item_popover.vue +62 -30
  82. package/src/components/experimental/duo/chat/components/duo_chat_context/duo_chat_context_item_selections/duo_chat_context_item_selections.vue +29 -10
  83. package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.scss +1 -1
  84. package/src/components/experimental/duo/chat/components/duo_chat_message/duo_chat_message.vue +11 -6
  85. package/src/components/experimental/duo/chat/constants.js +2 -0
  86. package/src/components/experimental/duo/chat/duo_chat.scss +4 -4
  87. package/src/components/shared_components/charts/tooltip_default_format.scss +1 -1
  88. package/src/scss/bootstrap_vue.scss +0 -18
  89. package/src/scss/typescale/_index.scss +9 -9
  90. package/src/vendor/bootstrap-vue/nuxt/index.js +0 -8
  91. package/src/vendor/bootstrap-vue/src/_utilities.scss +0 -9
  92. package/src/vendor/bootstrap-vue/src/_variables.scss +0 -52
  93. package/src/vendor/bootstrap-vue/src/components/form/index.d.ts +0 -3
  94. package/src/vendor/bootstrap-vue/src/components/form/index.js +1 -4
  95. package/src/vendor/bootstrap-vue/src/components/form/package.json +0 -12
  96. package/src/vendor/bootstrap-vue/src/components/index.d.ts +0 -24
  97. package/src/vendor/bootstrap-vue/src/components/index.js +0 -48
  98. package/src/vendor/bootstrap-vue/src/components/index.scss +0 -15
  99. package/src/vendor/bootstrap-vue/src/components/layout/index.d.ts +0 -6
  100. package/src/vendor/bootstrap-vue/src/components/layout/index.js +1 -5
  101. package/src/vendor/bootstrap-vue/src/components/layout/package.json +0 -67
  102. package/src/vendor/bootstrap-vue/src/components/modal/README.md +0 -1
  103. package/src/vendor/bootstrap-vue/src/components/nav/index.d.ts +0 -6
  104. package/src/vendor/bootstrap-vue/src/components/nav/index.js +1 -5
  105. package/src/vendor/bootstrap-vue/src/components/nav/package.json +0 -45
  106. package/src/vendor/bootstrap-vue/src/components/navbar/README.md +0 -5
  107. package/src/vendor/bootstrap-vue/src/components/navbar/index.d.ts +1 -7
  108. package/src/vendor/bootstrap-vue/src/components/navbar/index.js +2 -7
  109. package/src/vendor/bootstrap-vue/src/components/navbar/package.json +0 -75
  110. package/src/vendor/bootstrap-vue/src/components/table/README.md +1 -2
  111. package/src/vendor/bootstrap-vue/src/components/tabs/README.md +2 -2
  112. package/src/vendor/bootstrap-vue/src/components/toast/README.md +1 -3
  113. package/src/vendor/bootstrap-vue/src/components/tooltip/helpers/bv-tooltip.js +2 -6
  114. package/src/vendor/bootstrap-vue/src/constants/classes.js +0 -1
  115. package/src/vendor/bootstrap-vue/src/constants/components.js +0 -50
  116. package/src/vendor/bootstrap-vue/src/constants/events.js +0 -11
  117. package/src/vendor/bootstrap-vue/src/constants/key-codes.js +0 -4
  118. package/src/vendor/bootstrap-vue/src/constants/props.js +0 -3
  119. package/src/vendor/bootstrap-vue/src/constants/regex.js +0 -19
  120. package/src/vendor/bootstrap-vue/src/constants/slots.js +0 -32
  121. package/src/vendor/bootstrap-vue/src/directives/toggle/README.md +5 -23
  122. package/src/vendor/bootstrap-vue/src/directives/toggle/package.json +1 -1
  123. package/src/vendor/bootstrap-vue/src/directives/toggle/toggle.js +1 -1
  124. package/src/vendor/bootstrap-vue/src/index.js +0 -122
  125. package/src/vendor/bootstrap-vue/src/index.scss +0 -3
  126. package/src/vendor/bootstrap-vue/src/utils/array.js +0 -5
  127. package/src/vendor/bootstrap-vue/src/utils/config.spec.js +15 -15
  128. package/src/vendor/bootstrap-vue/src/utils/inspect.js +0 -4
  129. package/src/vendor/bootstrap-vue/src/utils/math.js +0 -4
  130. package/src/vendor/bootstrap-vue/src/utils/object.js +0 -5
  131. package/src/vendor/bootstrap-vue/src/utils/props.js +1 -7
  132. package/src/vendor/bootstrap-vue/src/utils/string.js +0 -9
  133. package/src/vendor/bootstrap-vue/src/utils/string.spec.js +1 -20
  134. package/translations.js +3 -0
  135. package/dist/vendor/bootstrap-vue/src/components/alert/alert.js +0 -179
  136. package/dist/vendor/bootstrap-vue/src/components/alert/index.js +0 -11
  137. package/dist/vendor/bootstrap-vue/src/components/aspect/aspect.js +0 -67
  138. package/dist/vendor/bootstrap-vue/src/components/aspect/index.js +0 -11
  139. package/dist/vendor/bootstrap-vue/src/components/avatar/avatar-group.js +0 -67
  140. package/dist/vendor/bootstrap-vue/src/components/avatar/avatar.js +0 -266
  141. package/dist/vendor/bootstrap-vue/src/components/avatar/index.js +0 -14
  142. package/dist/vendor/bootstrap-vue/src/components/button-toolbar/button-toolbar.js +0 -112
  143. package/dist/vendor/bootstrap-vue/src/components/button-toolbar/index.js +0 -12
  144. package/dist/vendor/bootstrap-vue/src/components/calendar/calendar.js +0 -1010
  145. package/dist/vendor/bootstrap-vue/src/components/calendar/index.js +0 -11
  146. package/dist/vendor/bootstrap-vue/src/components/card/card-body.js +0 -63
  147. package/dist/vendor/bootstrap-vue/src/components/card/card-footer.js +0 -48
  148. package/dist/vendor/bootstrap-vue/src/components/card/card-group.js +0 -33
  149. package/dist/vendor/bootstrap-vue/src/components/card/card-header.js +0 -48
  150. package/dist/vendor/bootstrap-vue/src/components/card/card-img-lazy.js +0 -46
  151. package/dist/vendor/bootstrap-vue/src/components/card/card-img.js +0 -58
  152. package/dist/vendor/bootstrap-vue/src/components/card/card-sub-title.js +0 -35
  153. package/dist/vendor/bootstrap-vue/src/components/card/card-text.js +0 -31
  154. package/dist/vendor/bootstrap-vue/src/components/card/card-title.js +0 -33
  155. package/dist/vendor/bootstrap-vue/src/components/card/card.js +0 -123
  156. package/dist/vendor/bootstrap-vue/src/components/card/index.js +0 -38
  157. package/dist/vendor/bootstrap-vue/src/components/embed/embed.js +0 -50
  158. package/dist/vendor/bootstrap-vue/src/components/embed/index.js +0 -11
  159. package/dist/vendor/bootstrap-vue/src/components/form/form-datalist.js +0 -52
  160. package/dist/vendor/bootstrap-vue/src/components/form-btn-label-control/bv-form-btn-label-control.js +0 -261
  161. package/dist/vendor/bootstrap-vue/src/components/form-datepicker/form-datepicker.js +0 -310
  162. package/dist/vendor/bootstrap-vue/src/components/form-datepicker/index.js +0 -12
  163. package/dist/vendor/bootstrap-vue/src/components/form-file/form-file.js +0 -561
  164. package/dist/vendor/bootstrap-vue/src/components/form-file/index.js +0 -12
  165. package/dist/vendor/bootstrap-vue/src/components/form-rating/form-rating.js +0 -402
  166. package/dist/vendor/bootstrap-vue/src/components/form-rating/index.js +0 -12
  167. package/dist/vendor/bootstrap-vue/src/components/form-spinbutton/form-spinbutton.js +0 -555
  168. package/dist/vendor/bootstrap-vue/src/components/form-spinbutton/index.js +0 -12
  169. package/dist/vendor/bootstrap-vue/src/components/form-tags/form-tag.js +0 -97
  170. package/dist/vendor/bootstrap-vue/src/components/form-tags/form-tags.js +0 -806
  171. package/dist/vendor/bootstrap-vue/src/components/form-tags/index.js +0 -16
  172. package/dist/vendor/bootstrap-vue/src/components/form-timepicker/form-timepicker.js +0 -281
  173. package/dist/vendor/bootstrap-vue/src/components/form-timepicker/index.js +0 -12
  174. package/dist/vendor/bootstrap-vue/src/components/image/img-lazy.js +0 -157
  175. package/dist/vendor/bootstrap-vue/src/components/image/img.js +0 -124
  176. package/dist/vendor/bootstrap-vue/src/components/image/index.js +0 -14
  177. package/dist/vendor/bootstrap-vue/src/components/jumbotron/index.js +0 -11
  178. package/dist/vendor/bootstrap-vue/src/components/jumbotron/jumbotron.js +0 -98
  179. package/dist/vendor/bootstrap-vue/src/components/layout/container.js +0 -41
  180. package/dist/vendor/bootstrap-vue/src/components/layout/row.js +0 -113
  181. package/dist/vendor/bootstrap-vue/src/components/list-group/index.js +0 -14
  182. package/dist/vendor/bootstrap-vue/src/components/list-group/list-group-item.js +0 -78
  183. package/dist/vendor/bootstrap-vue/src/components/list-group/list-group.js +0 -42
  184. package/dist/vendor/bootstrap-vue/src/components/media/index.js +0 -17
  185. package/dist/vendor/bootstrap-vue/src/components/media/media-aside.js +0 -41
  186. package/dist/vendor/bootstrap-vue/src/components/media/media-body.js +0 -31
  187. package/dist/vendor/bootstrap-vue/src/components/media/media.js +0 -61
  188. package/dist/vendor/bootstrap-vue/src/components/nav/nav-form.js +0 -45
  189. package/dist/vendor/bootstrap-vue/src/components/nav/nav-text.js +0 -26
  190. package/dist/vendor/bootstrap-vue/src/components/navbar/navbar-nav.js +0 -46
  191. package/dist/vendor/bootstrap-vue/src/components/navbar/navbar-toggle.js +0 -89
  192. package/dist/vendor/bootstrap-vue/src/components/overlay/index.js +0 -11
  193. package/dist/vendor/bootstrap-vue/src/components/overlay/overlay.js +0 -163
  194. package/dist/vendor/bootstrap-vue/src/components/pagination/index.js +0 -11
  195. package/dist/vendor/bootstrap-vue/src/components/pagination/pagination.js +0 -135
  196. package/dist/vendor/bootstrap-vue/src/components/pagination-nav/index.js +0 -11
  197. package/dist/vendor/bootstrap-vue/src/components/pagination-nav/pagination-nav.js +0 -299
  198. package/dist/vendor/bootstrap-vue/src/components/sidebar/index.js +0 -15
  199. package/dist/vendor/bootstrap-vue/src/components/sidebar/sidebar.js +0 -432
  200. package/dist/vendor/bootstrap-vue/src/components/skeleton/index.js +0 -23
  201. package/dist/vendor/bootstrap-vue/src/components/skeleton/skeleton-icon.js +0 -47
  202. package/dist/vendor/bootstrap-vue/src/components/skeleton/skeleton-img.js +0 -60
  203. package/dist/vendor/bootstrap-vue/src/components/skeleton/skeleton-table.js +0 -64
  204. package/dist/vendor/bootstrap-vue/src/components/skeleton/skeleton-wrapper.js +0 -46
  205. package/dist/vendor/bootstrap-vue/src/components/skeleton/skeleton.js +0 -49
  206. package/dist/vendor/bootstrap-vue/src/components/spinner/index.js +0 -11
  207. package/dist/vendor/bootstrap-vue/src/components/spinner/spinner.js +0 -55
  208. package/dist/vendor/bootstrap-vue/src/components/time/index.js +0 -11
  209. package/dist/vendor/bootstrap-vue/src/components/time/time.js +0 -600
  210. package/dist/vendor/bootstrap-vue/src/constants/date.js +0 -8
  211. package/dist/vendor/bootstrap-vue/src/mixins/card.js +0 -22
  212. package/dist/vendor/bootstrap-vue/src/mixins/pagination.js +0 -598
  213. package/dist/vendor/bootstrap-vue/src/utils/date.js +0 -135
  214. package/src/vendor/bootstrap-vue/src/_custom-controls.scss +0 -30
  215. package/src/vendor/bootstrap-vue/src/components/alert/README.md +0 -280
  216. package/src/vendor/bootstrap-vue/src/components/alert/alert.js +0 -185
  217. package/src/vendor/bootstrap-vue/src/components/alert/alert.spec.js +0 -442
  218. package/src/vendor/bootstrap-vue/src/components/alert/index.d.ts +0 -13
  219. package/src/vendor/bootstrap-vue/src/components/alert/index.js +0 -8
  220. package/src/vendor/bootstrap-vue/src/components/alert/package.json +0 -72
  221. package/src/vendor/bootstrap-vue/src/components/aspect/README.md +0 -65
  222. package/src/vendor/bootstrap-vue/src/components/aspect/aspect.js +0 -65
  223. package/src/vendor/bootstrap-vue/src/components/aspect/aspect.spec.js +0 -121
  224. package/src/vendor/bootstrap-vue/src/components/aspect/index.d.ts +0 -11
  225. package/src/vendor/bootstrap-vue/src/components/aspect/index.js +0 -8
  226. package/src/vendor/bootstrap-vue/src/components/aspect/package.json +0 -26
  227. package/src/vendor/bootstrap-vue/src/components/avatar/README.md +0 -567
  228. package/src/vendor/bootstrap-vue/src/components/avatar/_avatar.scss +0 -148
  229. package/src/vendor/bootstrap-vue/src/components/avatar/avatar-group.js +0 -75
  230. package/src/vendor/bootstrap-vue/src/components/avatar/avatar-group.spec.js +0 -74
  231. package/src/vendor/bootstrap-vue/src/components/avatar/avatar.js +0 -228
  232. package/src/vendor/bootstrap-vue/src/components/avatar/avatar.spec.js +0 -355
  233. package/src/vendor/bootstrap-vue/src/components/avatar/index.d.ts +0 -14
  234. package/src/vendor/bootstrap-vue/src/components/avatar/index.js +0 -9
  235. package/src/vendor/bootstrap-vue/src/components/avatar/index.scss +0 -1
  236. package/src/vendor/bootstrap-vue/src/components/avatar/package.json +0 -149
  237. package/src/vendor/bootstrap-vue/src/components/button-toolbar/README.md +0 -109
  238. package/src/vendor/bootstrap-vue/src/components/button-toolbar/button-toolbar.js +0 -117
  239. package/src/vendor/bootstrap-vue/src/components/button-toolbar/button-toolbar.spec.js +0 -185
  240. package/src/vendor/bootstrap-vue/src/components/button-toolbar/index.d.ts +0 -11
  241. package/src/vendor/bootstrap-vue/src/components/button-toolbar/index.js +0 -11
  242. package/src/vendor/bootstrap-vue/src/components/button-toolbar/package.json +0 -32
  243. package/src/vendor/bootstrap-vue/src/components/calendar/README.md +0 -735
  244. package/src/vendor/bootstrap-vue/src/components/calendar/_calendar.scss +0 -78
  245. package/src/vendor/bootstrap-vue/src/components/calendar/calendar.js +0 -1146
  246. package/src/vendor/bootstrap-vue/src/components/calendar/calendar.spec.js +0 -466
  247. package/src/vendor/bootstrap-vue/src/components/calendar/index.d.ts +0 -28
  248. package/src/vendor/bootstrap-vue/src/components/calendar/index.js +0 -8
  249. package/src/vendor/bootstrap-vue/src/components/calendar/index.scss +0 -1
  250. package/src/vendor/bootstrap-vue/src/components/calendar/package.json +0 -317
  251. package/src/vendor/bootstrap-vue/src/components/card/README.md +0 -729
  252. package/src/vendor/bootstrap-vue/src/components/card/_card-img.scss +0 -7
  253. package/src/vendor/bootstrap-vue/src/components/card/card-body.js +0 -69
  254. package/src/vendor/bootstrap-vue/src/components/card/card-body.spec.js +0 -142
  255. package/src/vendor/bootstrap-vue/src/components/card/card-footer.js +0 -48
  256. package/src/vendor/bootstrap-vue/src/components/card/card-footer.spec.js +0 -98
  257. package/src/vendor/bootstrap-vue/src/components/card/card-group.js +0 -33
  258. package/src/vendor/bootstrap-vue/src/components/card/card-group.spec.js +0 -75
  259. package/src/vendor/bootstrap-vue/src/components/card/card-header.js +0 -48
  260. package/src/vendor/bootstrap-vue/src/components/card/card-header.spec.js +0 -98
  261. package/src/vendor/bootstrap-vue/src/components/card/card-img-lazy.js +0 -47
  262. package/src/vendor/bootstrap-vue/src/components/card/card-img-lazy.spec.js +0 -204
  263. package/src/vendor/bootstrap-vue/src/components/card/card-img.js +0 -50
  264. package/src/vendor/bootstrap-vue/src/components/card/card-img.spec.js +0 -208
  265. package/src/vendor/bootstrap-vue/src/components/card/card-sub-title.js +0 -35
  266. package/src/vendor/bootstrap-vue/src/components/card/card-sub-title.spec.js +0 -60
  267. package/src/vendor/bootstrap-vue/src/components/card/card-text.js +0 -25
  268. package/src/vendor/bootstrap-vue/src/components/card/card-text.spec.js +0 -48
  269. package/src/vendor/bootstrap-vue/src/components/card/card-title.js +0 -33
  270. package/src/vendor/bootstrap-vue/src/components/card/card-title.spec.js +0 -45
  271. package/src/vendor/bootstrap-vue/src/components/card/card.js +0 -140
  272. package/src/vendor/bootstrap-vue/src/components/card/card.spec.js +0 -296
  273. package/src/vendor/bootstrap-vue/src/components/card/index.d.ts +0 -38
  274. package/src/vendor/bootstrap-vue/src/components/card/index.js +0 -40
  275. package/src/vendor/bootstrap-vue/src/components/card/index.scss +0 -1
  276. package/src/vendor/bootstrap-vue/src/components/card/package.json +0 -262
  277. package/src/vendor/bootstrap-vue/src/components/embed/README.md +0 -63
  278. package/src/vendor/bootstrap-vue/src/components/embed/embed.js +0 -51
  279. package/src/vendor/bootstrap-vue/src/components/embed/embed.spec.js +0 -110
  280. package/src/vendor/bootstrap-vue/src/components/embed/index.d.ts +0 -11
  281. package/src/vendor/bootstrap-vue/src/components/embed/index.js +0 -8
  282. package/src/vendor/bootstrap-vue/src/components/embed/package.json +0 -29
  283. package/src/vendor/bootstrap-vue/src/components/form/form-datalist.js +0 -42
  284. package/src/vendor/bootstrap-vue/src/components/form/form-datalist.spec.js +0 -57
  285. package/src/vendor/bootstrap-vue/src/components/form-btn-label-control/_form-btn-label-control.scss +0 -125
  286. package/src/vendor/bootstrap-vue/src/components/form-btn-label-control/bv-form-btn-label-control.js +0 -278
  287. package/src/vendor/bootstrap-vue/src/components/form-btn-label-control/index.scss +0 -1
  288. package/src/vendor/bootstrap-vue/src/components/form-btn-label-control/package.json +0 -5
  289. package/src/vendor/bootstrap-vue/src/components/form-datepicker/README.md +0 -694
  290. package/src/vendor/bootstrap-vue/src/components/form-datepicker/_form-datepicker.scss +0 -1
  291. package/src/vendor/bootstrap-vue/src/components/form-datepicker/form-datepicker.js +0 -342
  292. package/src/vendor/bootstrap-vue/src/components/form-datepicker/form-datepicker.spec.js +0 -562
  293. package/src/vendor/bootstrap-vue/src/components/form-datepicker/index.d.ts +0 -12
  294. package/src/vendor/bootstrap-vue/src/components/form-datepicker/index.js +0 -11
  295. package/src/vendor/bootstrap-vue/src/components/form-datepicker/index.scss +0 -1
  296. package/src/vendor/bootstrap-vue/src/components/form-datepicker/package.json +0 -420
  297. package/src/vendor/bootstrap-vue/src/components/form-file/README.md +0 -357
  298. package/src/vendor/bootstrap-vue/src/components/form-file/_form-file.scss +0 -61
  299. package/src/vendor/bootstrap-vue/src/components/form-file/form-file.js +0 -575
  300. package/src/vendor/bootstrap-vue/src/components/form-file/form-file.spec.js +0 -885
  301. package/src/vendor/bootstrap-vue/src/components/form-file/index.d.ts +0 -13
  302. package/src/vendor/bootstrap-vue/src/components/form-file/index.js +0 -11
  303. package/src/vendor/bootstrap-vue/src/components/form-file/index.scss +0 -1
  304. package/src/vendor/bootstrap-vue/src/components/form-file/package.json +0 -131
  305. package/src/vendor/bootstrap-vue/src/components/form-rating/README.md +0 -526
  306. package/src/vendor/bootstrap-vue/src/components/form-rating/_form-rating.scss +0 -57
  307. package/src/vendor/bootstrap-vue/src/components/form-rating/form-rating.js +0 -411
  308. package/src/vendor/bootstrap-vue/src/components/form-rating/form-rating.spec.js +0 -544
  309. package/src/vendor/bootstrap-vue/src/components/form-rating/index.d.ts +0 -14
  310. package/src/vendor/bootstrap-vue/src/components/form-rating/index.js +0 -8
  311. package/src/vendor/bootstrap-vue/src/components/form-rating/index.scss +0 -1
  312. package/src/vendor/bootstrap-vue/src/components/form-rating/package.json +0 -166
  313. package/src/vendor/bootstrap-vue/src/components/form-spinbutton/README.md +0 -411
  314. package/src/vendor/bootstrap-vue/src/components/form-spinbutton/_spinbutton.scss +0 -76
  315. package/src/vendor/bootstrap-vue/src/components/form-spinbutton/form-spinbutton.js +0 -572
  316. package/src/vendor/bootstrap-vue/src/components/form-spinbutton/form-spinbutton.spec.js +0 -731
  317. package/src/vendor/bootstrap-vue/src/components/form-spinbutton/index.d.ts +0 -12
  318. package/src/vendor/bootstrap-vue/src/components/form-spinbutton/index.js +0 -11
  319. package/src/vendor/bootstrap-vue/src/components/form-spinbutton/index.scss +0 -1
  320. package/src/vendor/bootstrap-vue/src/components/form-spinbutton/package.json +0 -150
  321. package/src/vendor/bootstrap-vue/src/components/form-tags/README.md +0 -880
  322. package/src/vendor/bootstrap-vue/src/components/form-tags/_form-tags.scss +0 -70
  323. package/src/vendor/bootstrap-vue/src/components/form-tags/form-tag.js +0 -94
  324. package/src/vendor/bootstrap-vue/src/components/form-tags/form-tag.spec.js +0 -166
  325. package/src/vendor/bootstrap-vue/src/components/form-tags/form-tags.js +0 -891
  326. package/src/vendor/bootstrap-vue/src/components/form-tags/form-tags.spec.js +0 -920
  327. package/src/vendor/bootstrap-vue/src/components/form-tags/index.d.ts +0 -16
  328. package/src/vendor/bootstrap-vue/src/components/form-tags/index.js +0 -14
  329. package/src/vendor/bootstrap-vue/src/components/form-tags/index.scss +0 -1
  330. package/src/vendor/bootstrap-vue/src/components/form-tags/package.json +0 -440
  331. package/src/vendor/bootstrap-vue/src/components/form-timepicker/README.md +0 -450
  332. package/src/vendor/bootstrap-vue/src/components/form-timepicker/_form-timepicker.scss +0 -1
  333. package/src/vendor/bootstrap-vue/src/components/form-timepicker/form-timepicker.js +0 -308
  334. package/src/vendor/bootstrap-vue/src/components/form-timepicker/form-timepicker.spec.js +0 -440
  335. package/src/vendor/bootstrap-vue/src/components/form-timepicker/index.d.ts +0 -12
  336. package/src/vendor/bootstrap-vue/src/components/form-timepicker/index.js +0 -11
  337. package/src/vendor/bootstrap-vue/src/components/form-timepicker/index.scss +0 -1
  338. package/src/vendor/bootstrap-vue/src/components/form-timepicker/package.json +0 -255
  339. package/src/vendor/bootstrap-vue/src/components/image/README.md +0 -322
  340. package/src/vendor/bootstrap-vue/src/components/image/img-lazy.js +0 -161
  341. package/src/vendor/bootstrap-vue/src/components/image/img-lazy.spec.js +0 -96
  342. package/src/vendor/bootstrap-vue/src/components/image/img.js +0 -139
  343. package/src/vendor/bootstrap-vue/src/components/image/img.spec.js +0 -255
  344. package/src/vendor/bootstrap-vue/src/components/image/index.d.ts +0 -14
  345. package/src/vendor/bootstrap-vue/src/components/image/index.js +0 -12
  346. package/src/vendor/bootstrap-vue/src/components/image/package.json +0 -152
  347. package/src/vendor/bootstrap-vue/src/components/jumbotron/README.md +0 -109
  348. package/src/vendor/bootstrap-vue/src/components/jumbotron/index.d.ts +0 -11
  349. package/src/vendor/bootstrap-vue/src/components/jumbotron/index.js +0 -8
  350. package/src/vendor/bootstrap-vue/src/components/jumbotron/jumbotron.js +0 -103
  351. package/src/vendor/bootstrap-vue/src/components/jumbotron/jumbotron.spec.js +0 -254
  352. package/src/vendor/bootstrap-vue/src/components/jumbotron/package.json +0 -66
  353. package/src/vendor/bootstrap-vue/src/components/layout/container.js +0 -40
  354. package/src/vendor/bootstrap-vue/src/components/layout/container.spec.js +0 -75
  355. package/src/vendor/bootstrap-vue/src/components/layout/row.js +0 -111
  356. package/src/vendor/bootstrap-vue/src/components/layout/row.spec.js +0 -138
  357. package/src/vendor/bootstrap-vue/src/components/list-group/README.md +0 -291
  358. package/src/vendor/bootstrap-vue/src/components/list-group/index.d.ts +0 -14
  359. package/src/vendor/bootstrap-vue/src/components/list-group/index.js +0 -12
  360. package/src/vendor/bootstrap-vue/src/components/list-group/list-group-item.js +0 -76
  361. package/src/vendor/bootstrap-vue/src/components/list-group/list-group-item.spec.js +0 -286
  362. package/src/vendor/bootstrap-vue/src/components/list-group/list-group.js +0 -42
  363. package/src/vendor/bootstrap-vue/src/components/list-group/list-group.spec.js +0 -132
  364. package/src/vendor/bootstrap-vue/src/components/list-group/package.json +0 -52
  365. package/src/vendor/bootstrap-vue/src/components/media/README.md +0 -183
  366. package/src/vendor/bootstrap-vue/src/components/media/_media.scss +0 -9
  367. package/src/vendor/bootstrap-vue/src/components/media/index.d.ts +0 -17
  368. package/src/vendor/bootstrap-vue/src/components/media/index.js +0 -14
  369. package/src/vendor/bootstrap-vue/src/components/media/index.scss +0 -1
  370. package/src/vendor/bootstrap-vue/src/components/media/media-aside.js +0 -45
  371. package/src/vendor/bootstrap-vue/src/components/media/media-aside.spec.js +0 -79
  372. package/src/vendor/bootstrap-vue/src/components/media/media-body.js +0 -25
  373. package/src/vendor/bootstrap-vue/src/components/media/media-body.spec.js +0 -47
  374. package/src/vendor/bootstrap-vue/src/components/media/media.js +0 -52
  375. package/src/vendor/bootstrap-vue/src/components/media/media.spec.js +0 -149
  376. package/src/vendor/bootstrap-vue/src/components/media/package.json +0 -65
  377. package/src/vendor/bootstrap-vue/src/components/nav/nav-form.js +0 -50
  378. package/src/vendor/bootstrap-vue/src/components/nav/nav-form.spec.js +0 -93
  379. package/src/vendor/bootstrap-vue/src/components/nav/nav-text.js +0 -18
  380. package/src/vendor/bootstrap-vue/src/components/nav/nav-text.spec.js +0 -30
  381. package/src/vendor/bootstrap-vue/src/components/navbar/navbar-nav.js +0 -45
  382. package/src/vendor/bootstrap-vue/src/components/navbar/navbar-nav.spec.js +0 -105
  383. package/src/vendor/bootstrap-vue/src/components/navbar/navbar-toggle.js +0 -84
  384. package/src/vendor/bootstrap-vue/src/components/navbar/navbar-toggle.spec.js +0 -189
  385. package/src/vendor/bootstrap-vue/src/components/overlay/README.md +0 -815
  386. package/src/vendor/bootstrap-vue/src/components/overlay/index.d.ts +0 -11
  387. package/src/vendor/bootstrap-vue/src/components/overlay/index.js +0 -8
  388. package/src/vendor/bootstrap-vue/src/components/overlay/overlay.js +0 -162
  389. package/src/vendor/bootstrap-vue/src/components/overlay/overlay.spec.js +0 -257
  390. package/src/vendor/bootstrap-vue/src/components/overlay/package.json +0 -130
  391. package/src/vendor/bootstrap-vue/src/components/pagination/README.md +0 -430
  392. package/src/vendor/bootstrap-vue/src/components/pagination/_pagination.scss +0 -26
  393. package/src/vendor/bootstrap-vue/src/components/pagination/index.d.ts +0 -11
  394. package/src/vendor/bootstrap-vue/src/components/pagination/index.js +0 -8
  395. package/src/vendor/bootstrap-vue/src/components/pagination/index.scss +0 -1
  396. package/src/vendor/bootstrap-vue/src/components/pagination/package.json +0 -295
  397. package/src/vendor/bootstrap-vue/src/components/pagination/pagination.js +0 -138
  398. package/src/vendor/bootstrap-vue/src/components/pagination/pagination.spec.js +0 -1198
  399. package/src/vendor/bootstrap-vue/src/components/pagination-nav/README.md +0 -544
  400. package/src/vendor/bootstrap-vue/src/components/pagination-nav/_pagination-nav.scss +0 -2
  401. package/src/vendor/bootstrap-vue/src/components/pagination-nav/index.d.ts +0 -11
  402. package/src/vendor/bootstrap-vue/src/components/pagination-nav/index.js +0 -8
  403. package/src/vendor/bootstrap-vue/src/components/pagination-nav/index.scss +0 -1
  404. package/src/vendor/bootstrap-vue/src/components/pagination-nav/package.json +0 -315
  405. package/src/vendor/bootstrap-vue/src/components/pagination-nav/pagination-nav.js +0 -281
  406. package/src/vendor/bootstrap-vue/src/components/pagination-nav/pagination-nav.spec.js +0 -671
  407. package/src/vendor/bootstrap-vue/src/components/sidebar/README.md +0 -406
  408. package/src/vendor/bootstrap-vue/src/components/sidebar/_sidebar.scss +0 -97
  409. package/src/vendor/bootstrap-vue/src/components/sidebar/index.d.ts +0 -11
  410. package/src/vendor/bootstrap-vue/src/components/sidebar/index.js +0 -10
  411. package/src/vendor/bootstrap-vue/src/components/sidebar/index.scss +0 -1
  412. package/src/vendor/bootstrap-vue/src/components/sidebar/package.json +0 -239
  413. package/src/vendor/bootstrap-vue/src/components/sidebar/sidebar.js +0 -438
  414. package/src/vendor/bootstrap-vue/src/components/sidebar/sidebar.spec.js +0 -404
  415. package/src/vendor/bootstrap-vue/src/components/skeleton/README.md +0 -275
  416. package/src/vendor/bootstrap-vue/src/components/skeleton/_skeleton.scss +0 -141
  417. package/src/vendor/bootstrap-vue/src/components/skeleton/index.d.ts +0 -23
  418. package/src/vendor/bootstrap-vue/src/components/skeleton/index.js +0 -18
  419. package/src/vendor/bootstrap-vue/src/components/skeleton/index.scss +0 -1
  420. package/src/vendor/bootstrap-vue/src/components/skeleton/package.json +0 -136
  421. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton-icon.js +0 -45
  422. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton-icon.spec.js +0 -86
  423. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton-img.js +0 -49
  424. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton-img.spec.js +0 -139
  425. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton-table.js +0 -58
  426. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton-table.spec.js +0 -119
  427. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton-wrapper.js +0 -47
  428. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton-wrapper.spec.js +0 -48
  429. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton.js +0 -46
  430. package/src/vendor/bootstrap-vue/src/components/skeleton/skeleton.spec.js +0 -126
  431. package/src/vendor/bootstrap-vue/src/components/spinner/README.md +0 -229
  432. package/src/vendor/bootstrap-vue/src/components/spinner/index.d.ts +0 -11
  433. package/src/vendor/bootstrap-vue/src/components/spinner/index.js +0 -8
  434. package/src/vendor/bootstrap-vue/src/components/spinner/package.json +0 -38
  435. package/src/vendor/bootstrap-vue/src/components/spinner/spinner.js +0 -54
  436. package/src/vendor/bootstrap-vue/src/components/spinner/spinner.spec.js +0 -305
  437. package/src/vendor/bootstrap-vue/src/components/time/README.md +0 -431
  438. package/src/vendor/bootstrap-vue/src/components/time/_time.scss +0 -41
  439. package/src/vendor/bootstrap-vue/src/components/time/index.d.ts +0 -27
  440. package/src/vendor/bootstrap-vue/src/components/time/index.js +0 -8
  441. package/src/vendor/bootstrap-vue/src/components/time/index.scss +0 -1
  442. package/src/vendor/bootstrap-vue/src/components/time/package.json +0 -123
  443. package/src/vendor/bootstrap-vue/src/components/time/time.js +0 -601
  444. package/src/vendor/bootstrap-vue/src/components/time/time.spec.js +0 -330
  445. package/src/vendor/bootstrap-vue/src/constants/date.js +0 -7
  446. package/src/vendor/bootstrap-vue/src/mixins/card.js +0 -23
  447. package/src/vendor/bootstrap-vue/src/mixins/pagination.js +0 -670
  448. package/src/vendor/bootstrap-vue/src/utils/date.js +0 -130
  449. package/src/vendor/bootstrap-vue/src/utils/date.spec.js +0 -159
@@ -1,544 +0,0 @@
1
- # Pagination Nav
2
-
3
- > Quick first, previous, next, last, and page buttons for navigation based pagination, supporting
4
- > regular links or router links.
5
-
6
- ## Overview
7
-
8
- `<b-pagination-nav>` is a custom input component that provides navigational pagination. The total
9
- number of pages set with the `number-of-pages` prop. Page numbers are indexed from 1 through
10
- `number-of-pages`.
11
-
12
- `b-pagination-nav` will try and auto-detect which page link is active page button based on the
13
- current page's URL (via either `$route` detection or, if no `$router` detected, the browser location
14
- URL).
15
-
16
- **Note:** `<b-pagination-nav>` is used for navigating to new page URLs. For controlling in page
17
- component pagination (such as table or list pagination), use the
18
- [`<b-pagination>`](/docs/components/pagination) component instead.
19
-
20
- ```html
21
- <template>
22
- <div class="overflow-auto">
23
- <b-pagination-nav :link-gen="linkGen" :number-of-pages="10" use-router></b-pagination-nav>
24
- </div>
25
- </template>
26
-
27
- <script>
28
- export default {
29
- methods: {
30
- linkGen(pageNum) {
31
- return pageNum === 1 ? '?' : `?page=${pageNum}`
32
- }
33
- }
34
- }
35
- </script>
36
-
37
- <!-- b-pagination-nav-lead.vue -->
38
- ```
39
-
40
- ## Page link and number generation
41
-
42
- By default, `<b-pagination-nav>` generates plain link tags, setting the HREF attribute to `base-url`
43
- concatenated with the page number. The `base-url` prop defaults to '/'. The number of pages is
44
- specified via the `number-of-pages` prop. Pages are numbers from `1` through to `number-of-pages`.
45
-
46
- ### Router links
47
-
48
- To generate page links as [`<router link>`](https://router.vuejs.org/api/#router-link) components
49
- (or [`<nuxt-link>`](https://nuxtjs.org/api/components-nuxt-link#the-lt-nuxt-link-gt-component) if
50
- [Nuxt.js](https://nuxtjs.org/) is detected), set the `use-router` prop. The HREF will then become
51
- the `to` prop of the router link. Or, optionally, use a link generator function to return a
52
- router-link [`to` location](https://router.vuejs.org/api/#to) object.
53
-
54
- If a `$router` is not detected on your app, `<b-pagination-nav>` will fallback to regular `<a>`
55
- elements, and any `to` location object will be converted to a standard URL (if possible).
56
-
57
- The following router link specific props are supported:
58
-
59
- - `active-class`
60
- - `exact`
61
- - `exact-active-class`
62
- - `prefetch` (`<nuxt-link>` specific prop)
63
- - `no-prefetch` (`<nuxt-link>` specific prop)
64
-
65
- For details on the above props, refer to the [Router Link Support](/docs/reference/router-links)
66
- reference section.
67
-
68
- ### Link generator function
69
-
70
- If you need finer grained control over the generated link URLs or `<router-link>` `to` props, you
71
- may set the `link-gen` prop to a function reference that receives two arguments: the page number,
72
- and an object containing two fields (`link` and `page`), where `page` is the page number and `link`
73
- is the internally generated link.
74
-
75
- The `link-gen` function should return either a string (for HREF) or a router `to` object. If the
76
- returned value is an object, then a router-link will always be generated (if a `$router` is
77
- detected). If the return value is a string, a standard link is generated by default unless the
78
- `use-router` prop is set. If a `to` location object is used, then the `base-url` prop will have no
79
- effect.
80
-
81
- <!-- eslint-disable no-dupe-keys -->
82
-
83
- ```js
84
- export default {
85
- methods: {
86
- // For regular HREF (or string `to` prop if `use-router` is set)
87
- linkGen(pageNum) {
88
- return `/foo/page/${pageNum}`
89
- },
90
-
91
- // Returning a router-link `to` object
92
- linkGen(pageNum) {
93
- return { path: `/foo/page/${pageNum}` }
94
- },
95
-
96
- // Returning a router-link `to` object with query parameters
97
- linkGen(pageNum) {
98
- return {
99
- path: '/foo/',
100
- query: { page: pageNum }
101
- }
102
- },
103
-
104
- // Returning a router-link `to` object with named route and parameters
105
- linkGen(pageNum) {
106
- return {
107
- name: 'posts',
108
- params: { post: pageNum }
109
- }
110
- }
111
- }
112
- }
113
- ```
114
-
115
- **Note:** when falling back from a `to` location object to a standard link (when no `$router` is
116
- available), only the following location properties are used to generate the URL:
117
-
118
- - `path` (if not provided defaults to the page's current URL path)
119
- - `query`
120
- - `hash` (must include the leading `#` if used)
121
-
122
- The conversion of `name` routes and `params` is not supported.
123
-
124
- ### Page number generation
125
-
126
- By default, `<b-pagination-nav>` renders page numbers (1-N) in the page link buttons. You can
127
- override this behaviour by supplying a function reference to the `page-gen` property. The function
128
- reference should accept a single argument which is a page number (1-N). The `page-gen` function
129
- should return a string.
130
-
131
- **Note:** HTML content in generated page number strings is **not** supported. For basic HTML, you
132
- can use the scoped slot `page` for finer-grained formatting.
133
-
134
- **Example: Using an array of links to generate pagination:**
135
-
136
- ```html
137
- <template>
138
- <div class="overflow-auto">
139
- <b-pagination-nav
140
- :link-gen="linkGen"
141
- :page-gen="pageGen"
142
- :number-of-pages="links.length"
143
- ></b-pagination-nav>
144
- </div>
145
- </template>
146
-
147
- <script>
148
- export default {
149
- data() {
150
- return {
151
- links: ['#foo', '#bar', '#baz', '#faz']
152
- }
153
- },
154
- methods: {
155
- linkGen(pageNum) {
156
- return this.links[pageNum - 1]
157
- },
158
- pageGen(pageNum) {
159
- return this.links[pageNum - 1].slice(1)
160
- }
161
- }
162
- }
163
- </script>
164
-
165
- <!-- b-pagination-nav-links.vue -->
166
- ```
167
-
168
- ### Providing an array of pages
169
-
170
- Rather than using `number-of-pages` to auto generate page links, you can pass an array of links via
171
- the `pages` prop. When the `pages` prop has an array of length `1` or greater, it will be used to
172
- generate the page links.
173
-
174
- The array can be one of two formats:
175
-
176
- - Array of strings, where each entry is a link. in this mode, the page button numbers will
177
- automatically be set to `1` through to the number of entries in the array.
178
- - Array of objects, where each object has two fields: `link` (required) and `text` (optional). Link
179
- can be be either a string specifying the link, or a `to` location object. `text` will be the
180
- content of the page link buttons. If `text` is omitted, page button content will default to the
181
- page number.
182
-
183
- When a string link is provided, `<b-pagination-nav>` will use regular `<a>` elements, unless the
184
- `use-router` prop is set. When link (in the array of objects form) is a `to` location object, then a
185
- router link will automatically be generated (if a `$router` is detected).
186
-
187
- With the array format, link strings (and/or location objects) are used as-as and `base-url` prop
188
- will be ignored.
189
-
190
- ```html
191
- <template>
192
- <b-pagination-nav :pages="pages1" use-router></b-pagination-nav>
193
- <b-pagination-nav :pages="pages2" use-router></b-pagination-nav>
194
- <b-pagination-nav :pages="pages3" use-router></b-pagination-nav>
195
- </template>
196
-
197
- <script>
198
- export default {
199
- data() {
200
- return {
201
- // Simple array of strings
202
- pages1: ['?page=1', '?page=2', '?page=3'],
203
- // Array of objects with string links
204
- pages2: [
205
- { link: '?page=1', text: 'One' },
206
- { link: '?page=2', text: 'Two' },
207
- { link: '?page=3', text: 'Three' }
208
- ],
209
- // Array of objects with router `to` locations
210
- pages3: [
211
- { link: { query: { page: 1 } }, text: 'Page 1' },
212
- { link: { query: { page: 2 } }, text: 'Page 2' },
213
- { link: { query: { page: 3 } }, text: 'Page 3' }
214
- ]
215
- }
216
- }
217
- }
218
- </script>
219
-
220
- <!-- pagination-nav-array.vue -->
221
- ```
222
-
223
- ## Customizing appearance
224
-
225
- ### Limiting the number of displayed buttons
226
-
227
- To restrict the number of page buttons (including the ellipsis, but excluding the first, prev, next,
228
- and last buttons) shown, use the `limit` prop to specify the desired number of page buttons
229
- (including the ellipsis, if shown). The default `limit` is `5`. The minimum supported value is `3`.
230
- When `limit` is set to `3`, no ellipsis indicators will be shown for practical purposes.
231
-
232
- The `first` and `last` buttons can be optionally hidden by setting the `hide-goto-end-buttons` prop.
233
-
234
- The showing of the `ellipsis` can be optionally disabled by setting the `hide-ellipsis` prop.
235
-
236
- #### Small screen support
237
-
238
- On smaller screens (i.e. mobile), some of the `<b-pagination-nav>` buttons will be hidden to
239
- minimize the potential of the pagination interface wrapping onto multiple lines:
240
-
241
- - The ellipsis indicators will be hidden on screens `xs` and smaller.
242
- - Page number buttons will be limited to a maximum of 3 visible on `xs` screens and smaller.
243
-
244
- This ensures that no more than 3 page number buttons are visible, along with the goto _first_,
245
- _prev_, _next_, and _last_ buttons.
246
-
247
- ### Button content
248
-
249
- `<b-pagination-nav>` supports several props/slots that allow you to customize the appearance. All
250
- `*-text` props are text-only and strip out HTML but you can use their equally named slot
251
- counterparts for that.
252
-
253
- For a full list of all available slots see the [Slots](#comp-ref-b-pagination-nav-slots) section
254
- below.
255
-
256
- ```html
257
- <template>
258
- <div class="overflow-auto">
259
- <!-- Use text in props -->
260
- <b-pagination-nav
261
- number-of-pages="10"
262
- base-url="#"
263
- first-text="First"
264
- prev-text="Prev"
265
- next-text="Next"
266
- last-text="Last"
267
- ></b-pagination-nav>
268
-
269
- <!-- Use emojis in props -->
270
- <b-pagination-nav
271
- number-of-pages="10"
272
- base-url="#"
273
- first-text="⏮"
274
- prev-text="⏪"
275
- next-text="⏩"
276
- last-text="⏭"
277
- class="mt-4"
278
- ></b-pagination-nav>
279
-
280
- <!-- Use HTML and sub-components in slots -->
281
- <b-pagination-nav
282
- number-of-pages="10"
283
- base-url="#"
284
- class="mt-4"
285
- >
286
- <template #first-text><span class="text-success">First</span></template>
287
- <template #prev-text><span class="text-danger">Prev</span></template>
288
- <template #next-text><span class="text-warning">Next</span></template>
289
- <template #last-text><span class="text-info">Last</span></template>
290
- <template #ellipsis-text>
291
- <b-spinner small type="grow"></b-spinner>
292
- <b-spinner small type="grow"></b-spinner>
293
- <b-spinner small type="grow"></b-spinner>
294
- </template>
295
- <template #page="{ page, active }">
296
- <b v-if="active">{{ page }}</b>
297
- <i v-else>{{ page }}</i>
298
- </template>
299
- </b-pagination-nav>
300
- </div>
301
- </template>
302
-
303
- <!-- b-pagination-nav-appearance.vue -->
304
- ```
305
-
306
- The slot `page` is always scoped, while the slots `first-text`, `prev-text`, `next-text` and
307
- `last-text` are optionally scoped. The `ellipsis-text` slot is not scoped.
308
-
309
- **Scoped variables properties available to the `page` slot:**
310
-
311
- | Property | Type | Description |
312
- | ---------- | ------- | --------------------------------------------------------- |
313
- | `page` | Number | Page number (from `1` to `numberOfPages`) |
314
- | `index` | Number | Page number (indexed from `0` to `numberOfPages -1`) |
315
- | `active` | Boolean | If the page is the active page |
316
- | `disabled` | Boolean | If the page button is disabled |
317
- | `content` | String | default content, or the result of the `page-gen` function |
318
-
319
- **Scoped variables properties available to the `first-text`, `prev-text`, `next-text` and
320
- `last-text` slots:**
321
-
322
- | Property | Type | Description |
323
- | ---------- | ------- | ---------------------------------------------------- |
324
- | `page` | Number | Page number (from `1` to `numberOfPages`) |
325
- | `index` | Number | Page number (indexed from `0` to `numberOfPages -1`) |
326
- | `disabled` | Boolean | If the page button is disabled |
327
-
328
- ### Goto first/last button type
329
-
330
- If you prefer to have buttons with the first and last page number to go to the corresponding page,
331
- use the `first-number` and `last-number` props.
332
-
333
- ```html
334
- <template>
335
- <div class="overflow-auto">
336
- <div>
337
- <h6>Goto first button number</h6>
338
- <b-pagination-nav
339
- v-model="currentPage"
340
- :number-of-pages="pages"
341
- base-url="#"
342
- first-number
343
- ></b-pagination-nav>
344
- </div>
345
-
346
- <div class="mt-3">
347
- <h6>Goto last button number</h6>
348
- <b-pagination-nav
349
- v-model="currentPage"
350
- :number-of-pages="pages"
351
- base-url="#"
352
- last-number
353
- ></b-pagination-nav>
354
- </div>
355
-
356
- <div class="mt-3">
357
- <h6>Goto first and last button number</h6>
358
- <b-pagination-nav
359
- v-model="currentPage"
360
- :number-of-pages="pages"
361
- base-url="#"
362
- first-number
363
- last-number
364
- ></b-pagination-nav>
365
- </div>
366
- </div>
367
- </template>
368
-
369
- <script>
370
- export default {
371
- data() {
372
- return {
373
- pages: 100,
374
- currentPage: 5
375
- }
376
- }
377
- }
378
- </script>
379
-
380
- <!-- b-pagination-nav-goto-first-last-number.vue -->
381
- ```
382
-
383
- ### Button size
384
-
385
- Optionally change from the default button size by setting the `size` prop to either `'sm'` for
386
- smaller buttons or `'lg'` for larger buttons.
387
-
388
- ```html
389
- <template>
390
- <div class="overflow-auto">
391
- <div>
392
- <h6>Small</h6>
393
- <b-pagination-nav size="sm" number-of-pages="10" base-url="#"></b-pagination-nav>
394
- </div>
395
-
396
- <div class="mt-3">
397
- <h6>Default</h6>
398
- <b-pagination-nav number-of-pages="10" base-url="#"></b-pagination-nav>
399
- </div>
400
-
401
- <div class="mt-3">
402
- <h6>Large</h6>
403
- <b-pagination-nav size="lg" number-of-pages="10" base-url="#"></b-pagination-nav>
404
- </div>
405
- </div>
406
- </template>
407
-
408
- <!-- b-pagination-nav-size.vue -->
409
- ```
410
-
411
- ### Pill style
412
-
413
- Easily switch to pill style buttons by setting the `pills` prop
414
-
415
- ```html
416
- <template>
417
- <div class="overflow-auto">
418
- <div>
419
- <h6>Small Pills</h6>
420
- <b-pagination-nav pills size="sm" number-of-pages="10" base-url="#"></b-pagination-nav>
421
- </div>
422
-
423
- <div class="mt-3">
424
- <h6>Default Pills</h6>
425
- <b-pagination-nav pills number-of-pages="10" base-url="#"></b-pagination-nav>
426
- </div>
427
-
428
- <div class="mt-3">
429
- <h6>Large Pills</h6>
430
- <b-pagination-nav pills size="lg" number-of-pages="10" base-url="#"></b-pagination-nav>
431
- </div>
432
- </div>
433
- </template>
434
-
435
- <!-- b-pagination-nav-pills.vue -->
436
- ```
437
-
438
- **Note:** Pill styling requires BootstrapVue's custom CSS/SCSS.
439
-
440
- ### Alignment
441
-
442
- By default the pagination component is left aligned. Change the alignment to `center`, `right`
443
- (`right` is an alias for `end`), or 'fill' by setting the prop `align` to the appropriate value.
444
-
445
- ```html
446
- <template>
447
- <div class="overflow-auto">
448
- <div>
449
- <h6>Left alignment (default)</h6>
450
- <b-pagination-nav number-of-pages="10" base-url="#"></b-pagination-nav>
451
- </div>
452
-
453
- <div class="mt-3">
454
- <h6 class="text-center">Center alignment</h6>
455
- <b-pagination-nav number-of-pages="10" base-url="#" align="center"></b-pagination-nav>
456
- </div>
457
-
458
- <div class="mt-3">
459
- <h6 class="text-right">Right (end) alignment</h6>
460
- <b-pagination-nav number-of-pages="10" base-url="#" align="right"></b-pagination-nav>
461
- </div>
462
-
463
- <div class="mt-3">
464
- <h6 class="text-center">Fill alignment</h6>
465
- <b-pagination-nav number-of-pages="10" base-url="#" align="fill"></b-pagination-nav>
466
- </div>
467
- </div>
468
- </template>
469
-
470
- <!-- b-pagination-nav-alignment.vue -->
471
- ```
472
-
473
- ## Auto current page detection and `v-model` support
474
-
475
- `<b-pagination-nav>` will try and automatically detect which page button should be active, based on
476
- the page's current URL or `$route` (if a router is detected). In cases where it cannot detect the
477
- page, no page number buttons will be in the active state, and the first, previous, next and last
478
- buttons will be in the disabled state until a page button is clicked.
479
-
480
- `v-model` is optionally supported (updated by the `input` event, and tied to the `value` prop).
481
- Setting the `v-model` to `null` (the default) initially will trigger auto active page detection, and
482
- will subsequently be updated with the current page number (indexed from `1` to number of pages). If
483
- you initially set the `v-model` to a value of `1` or greater, auto page detection will not occur
484
- (until after a user clicks a page button), and the page specified by the `v-model` will be set as
485
- `active`.
486
-
487
- To disable auto active page detection, set the `no-page-detect` prop to `true`.
488
-
489
- **Note:** Auto page detection needs to loop through all possible page links until a match is
490
- detected. For larger `number-of-pages`, this check can take some time so you may want to manually
491
- control which page is the active via the `v-model` and the `no-page-detect` prop.
492
-
493
- ## Preventing a page from being selected
494
-
495
- You can listen for the `page-click` event, which provides an option to prevent the page from being
496
- selected. The event is emitted with two arguments:
497
-
498
- - `bvEvent`: The `BvEvent` object. Call `bvEvent.preventDefault()` to cancel page selection
499
- - `page`: Page number to select (starting with `1`)
500
-
501
- For accessibility reasons, when using the `page-click` event to prevent a page from being selected,
502
- you should provide some means of notification to the user as to why the page is not able to be
503
- selected. It is recommended to use the `disabled` attribute on the `<b-pagination-nav>` component
504
- instead of using the `page-click` event (as `disabled` is more intuitive for screen reader users).
505
-
506
- ## Accessibility
507
-
508
- The `<b-pagination-nav>` component provides many features to support assistive technology users,
509
- such as `aria-` attributes and keyboard navigation.
510
-
511
- ### ARIA labels
512
-
513
- `<b-pagination-nav>` provides various `*-label-*` props which are used to set the `aria-label`
514
- attributes on the various elements within the component, which will help users of assistive
515
- technology.
516
-
517
- | Prop | `aria-label` content default |
518
- | ------------------ | ------------------------------------------------------- |
519
- | `label-first-page` | "Goto first page" |
520
- | `label-prev-page` | "Goto previous page" |
521
- | `label-next-page` | "Goto next page" |
522
- | `label-last-page` | "Goto last page" |
523
- | `label-page` | "Goto page", appended with the page number |
524
- | `aria-label` | "Pagination", applied to the outer pagination container |
525
-
526
- The `label-page` will optionally accept a function to generate the aria-label. The function is
527
- passed a single argument which is the page number (indexed from 1 to number of pages).
528
-
529
- You can remove any label by setting the prop to an empty string (`''`), although this is not
530
- recommended unless the content of the button textually conveys its purpose.
531
-
532
- ### Keyboard navigation
533
-
534
- `<b-pagination-nav>` supports standard <kbd>Tab</kbd> key navigation.
535
-
536
- ## See also
537
-
538
- Refer to the [Router support](/docs/reference/router-links) reference page for router-link specific
539
- props.
540
-
541
- For pagination control of a component (such as `<b-table>`) or a pagination list, use the
542
- [`<b-pagination>`](/docs/components/pagination) component instead.
543
-
544
- <!-- Component reference added automatically from component package.json -->
@@ -1,2 +0,0 @@
1
- // <pagination-nav> shares <pagination> SCSS
2
- @import "../pagination/index";
@@ -1,11 +0,0 @@
1
- //
2
- // PaginationNav
3
- //
4
- import Vue from 'vue'
5
- import { BvPlugin, BvComponent } from '../../'
6
-
7
- // Plugin
8
- export declare const PaginationNavPlugin: BvPlugin
9
-
10
- // Component: b-pagination-nav
11
- export declare class BPaginationNav extends BvComponent {}
@@ -1,8 +0,0 @@
1
- import { BPaginationNav } from './pagination-nav'
2
- import { pluginFactory } from '../../utils/plugins'
3
-
4
- const PaginationNavPlugin = /*#__PURE__*/ pluginFactory({
5
- components: { BPaginationNav }
6
- })
7
-
8
- export { PaginationNavPlugin, BPaginationNav }
@@ -1 +0,0 @@
1
- @import "pagination-nav";