buefy 3.0.4 → 3.0.5
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.
- package/dist/buefy.d.ts +194 -133
- package/dist/buefy.esm.js +5 -4
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +4 -3
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/{Datepicker-B-9ReBe6.js → Datepicker-DhsJpauU.js} +2 -2
- package/dist/cjs/{Dropdown-DtpKU9qf.js → Dropdown-BAXMPUCZ.js} +1 -0
- package/dist/cjs/{DropdownItem-IMOKyRGV.js → DropdownItem-BOAAPdrW.js} +1 -1
- package/dist/cjs/{Timepicker-CDZ3V-2J.js → Timepicker-DDYkLeNV.js} +2 -2
- package/dist/cjs/carousel.js +1 -1
- package/dist/cjs/clockpicker.js +1 -1
- package/dist/cjs/colorpicker.js +3 -3
- package/dist/cjs/datepicker.js +3 -3
- package/dist/cjs/datetimepicker.js +4 -4
- package/dist/cjs/dropdown.js +2 -2
- package/dist/cjs/{index-SLOXD6k3.js → index-BkFyTNWp.js} +3 -3
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/timepicker.js +3 -3
- package/dist/components/autocomplete/index.js +1 -1
- package/dist/components/autocomplete/index.min.js +1 -1
- package/dist/components/breadcrumb/index.js +1 -1
- package/dist/components/breadcrumb/index.min.js +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button/index.min.js +1 -1
- package/dist/components/carousel/index.js +2 -2
- package/dist/components/carousel/index.min.js +2 -2
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.min.js +1 -1
- package/dist/components/clockpicker/index.js +2 -1
- package/dist/components/clockpicker/index.min.js +2 -2
- package/dist/components/collapse/index.js +1 -1
- package/dist/components/collapse/index.min.js +1 -1
- package/dist/components/colorpicker/index.js +3 -2
- package/dist/components/colorpicker/index.min.js +2 -2
- package/dist/components/datepicker/index.js +2 -1
- package/dist/components/datepicker/index.min.js +2 -2
- package/dist/components/datetimepicker/index.js +2 -1
- package/dist/components/datetimepicker/index.min.js +2 -2
- package/dist/components/dialog/index.js +1 -1
- package/dist/components/dialog/index.min.js +1 -1
- package/dist/components/dropdown/index.js +2 -1
- package/dist/components/dropdown/index.min.js +2 -2
- package/dist/components/field/index.js +1 -1
- package/dist/components/field/index.min.js +1 -1
- package/dist/components/icon/index.js +1 -1
- package/dist/components/icon/index.min.js +1 -1
- package/dist/components/image/index.js +1 -1
- package/dist/components/image/index.min.js +1 -1
- package/dist/components/input/index.js +1 -1
- package/dist/components/input/index.min.js +1 -1
- package/dist/components/loading/index.js +1 -1
- package/dist/components/loading/index.min.js +1 -1
- package/dist/components/menu/index.js +1 -1
- package/dist/components/menu/index.min.js +1 -1
- package/dist/components/message/index.js +1 -1
- package/dist/components/message/index.min.js +1 -1
- package/dist/components/modal/index.js +1 -1
- package/dist/components/modal/index.min.js +1 -1
- package/dist/components/navbar/index.js +1 -1
- package/dist/components/navbar/index.min.js +1 -1
- package/dist/components/notification/index.js +1 -1
- package/dist/components/notification/index.min.js +1 -1
- package/dist/components/numberinput/index.js +1 -1
- package/dist/components/numberinput/index.min.js +1 -1
- package/dist/components/pagination/index.js +1 -1
- package/dist/components/pagination/index.min.js +1 -1
- package/dist/components/progress/index.js +1 -1
- package/dist/components/progress/index.min.js +1 -1
- package/dist/components/radio/index.js +1 -1
- package/dist/components/radio/index.min.js +1 -1
- package/dist/components/rate/index.js +1 -1
- package/dist/components/rate/index.min.js +1 -1
- package/dist/components/select/index.js +1 -1
- package/dist/components/select/index.min.js +1 -1
- package/dist/components/sidebar/index.js +1 -1
- package/dist/components/sidebar/index.min.js +1 -1
- package/dist/components/skeleton/index.js +1 -1
- package/dist/components/skeleton/index.min.js +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/index.min.js +1 -1
- package/dist/components/snackbar/index.js +1 -1
- package/dist/components/snackbar/index.min.js +1 -1
- package/dist/components/steps/index.js +1 -1
- package/dist/components/steps/index.min.js +1 -1
- package/dist/components/switch/index.js +1 -1
- package/dist/components/switch/index.min.js +1 -1
- package/dist/components/table/index.js +1 -1
- package/dist/components/table/index.min.js +1 -1
- package/dist/components/tabs/index.js +1 -1
- package/dist/components/tabs/index.min.js +1 -1
- package/dist/components/tag/index.js +1 -1
- package/dist/components/tag/index.min.js +1 -1
- package/dist/components/taginput/index.js +1 -1
- package/dist/components/taginput/index.min.js +1 -1
- package/dist/components/timepicker/index.js +2 -1
- package/dist/components/timepicker/index.min.js +2 -2
- package/dist/components/toast/index.js +1 -1
- package/dist/components/toast/index.min.js +1 -1
- package/dist/components/tooltip/index.js +1 -1
- package/dist/components/tooltip/index.min.js +1 -1
- package/dist/components/upload/index.js +1 -1
- package/dist/components/upload/index.min.js +1 -1
- package/dist/css/buefy.css +3 -3
- package/dist/css/buefy.css.map +1 -1
- package/dist/css/buefy.min.css +1 -1
- package/dist/css/versions/buefy-no-reset.css +3 -3
- package/dist/css/versions/buefy-no-reset.css.map +1 -1
- package/dist/css/versions/buefy-no-reset.min.css +1 -1
- package/dist/css/versions/buefy-standalone.css +3 -3
- package/dist/css/versions/buefy-standalone.css.map +1 -1
- package/dist/css/versions/buefy-standalone.min.css +1 -1
- package/dist/esm/{Autocomplete-CZ8DmXsB.js → Autocomplete-HsHD-6pc.js} +2 -2
- package/dist/esm/{Button-DyUYShTZ.js → Button-Bvib75up.js} +2 -2
- package/dist/esm/{Checkbox-KUMz0sfA.js → Checkbox-u861Rije.js} +1 -1
- package/dist/esm/{Datepicker-Bl8Wfdkn.js → Datepicker-BZ5ORu0F.js} +7 -7
- package/dist/esm/{Dropdown-CGTYVyoL.js → Dropdown-BLadix4L.js} +2 -1
- package/dist/esm/{DropdownItem-Cn3nM0A3.js → DropdownItem-Crhb4RQp.js} +2 -2
- package/dist/esm/{Field-B7bX_uUg.js → Field-DZCOQuRO.js} +1 -1
- package/dist/esm/{Icon-DPyGDeRK.js → Icon-iqPKMem5.js} +1 -1
- package/dist/esm/{Image-DhX-4hlV.js → Image-By9o7ryD.js} +1 -1
- package/dist/esm/{Input-C4L520az.js → Input-JL4LWKyL.js} +2 -2
- package/dist/esm/{Loading-tuQoo6TU.js → Loading-BSqhV1Gi.js} +1 -1
- package/dist/esm/{Modal-EiR_KNGZ.js → Modal-BF2kchNd.js} +1 -1
- package/dist/esm/{Pagination-B-LAJQay.js → Pagination-BWFVCGiz.js} +2 -2
- package/dist/esm/{Progress-BPGTVZgr.js → Progress-BxT2PFEw.js} +1 -1
- package/dist/esm/{Select-bl4qUzij.js → Select-dYTVc9W4.js} +2 -2
- package/dist/esm/{TabbedChildMixin-C4i6WP9j.js → TabbedChildMixin-BsuDQmWE.js} +1 -1
- package/dist/esm/{Tag-jS5Bcj6N.js → Tag-BFgiw0Ac.js} +2 -2
- package/dist/esm/{Timepicker-DnkqnOBT.js → Timepicker-CYqyLHE9.js} +6 -6
- package/dist/esm/{Tooltip-CtDSXAqa.js → Tooltip-Ds5fe3ZP.js} +1 -1
- package/dist/esm/autocomplete.js +3 -3
- package/dist/esm/breadcrumb.js +1 -1
- package/dist/esm/button.js +2 -2
- package/dist/esm/carousel.js +4 -4
- package/dist/esm/checkbox.js +2 -2
- package/dist/esm/clockpicker.js +4 -4
- package/dist/esm/colorpicker.js +8 -8
- package/dist/esm/datepicker.js +7 -7
- package/dist/esm/datetimepicker.js +9 -9
- package/dist/esm/dialog.js +4 -4
- package/dist/esm/dropdown.js +2 -2
- package/dist/esm/field.js +1 -1
- package/dist/esm/icon.js +1 -1
- package/dist/esm/image.js +1 -1
- package/dist/esm/{index-BE58-KfV.js → index-mnzTDKh9.js} +9 -9
- package/dist/esm/index.js +21 -21
- package/dist/esm/input.js +2 -2
- package/dist/esm/loading.js +1 -1
- package/dist/esm/menu.js +2 -2
- package/dist/esm/message.js +3 -3
- package/dist/esm/modal.js +1 -1
- package/dist/esm/navbar.js +1 -1
- package/dist/esm/notification.js +3 -3
- package/dist/esm/numberinput.js +3 -3
- package/dist/esm/pagination.js +2 -2
- package/dist/esm/progress.js +2 -2
- package/dist/esm/radio.js +1 -1
- package/dist/esm/rate.js +2 -2
- package/dist/esm/select.js +2 -2
- package/dist/esm/sidebar.js +1 -1
- package/dist/esm/slider.js +2 -2
- package/dist/esm/snackbar.js +1 -1
- package/dist/esm/steps.js +3 -3
- package/dist/esm/switch.js +1 -1
- package/dist/esm/table.js +7 -7
- package/dist/esm/tabs.js +3 -3
- package/dist/esm/tag.js +3 -3
- package/dist/esm/taginput.js +5 -5
- package/dist/esm/timepicker.js +7 -7
- package/dist/esm/toast.js +1 -1
- package/dist/esm/tooltip.js +1 -1
- package/dist/esm/upload.js +1 -1
- package/dist/tsdoc-metadata.json +1 -1
- package/package.json +2 -2
- package/src/components/carousel/CarouselList.vue +1 -1
- package/src/components/carousel/__snapshots__/CarouselList.spec.ts.snap +1 -1
- package/src/components/checkbox/Checkbox.spec.ts +36 -2
- package/src/components/dropdown/Dropdown.spec.ts +15 -0
- package/src/components/dropdown/Dropdown.vue +5 -0
- package/src/scss/components/_checkbox.scss +6 -7
package/dist/esm/numberinput.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
2
|
-
import { B as BIcon } from './Icon-
|
|
3
|
-
import { B as BInput } from './Input-
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, mergeProps, Fragment, renderList, normalizeClass, createElementVNode, withModifiers, createVNode } from 'vue';
|
|
2
|
+
import { B as BIcon } from './Icon-iqPKMem5.js';
|
|
3
|
+
import { B as BInput } from './Input-JL4LWKyL.js';
|
|
4
4
|
import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
|
|
5
5
|
import { F as FormElementMixin } from './FormElementMixin-Dd_wkBN5.js';
|
|
6
6
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
package/dist/esm/pagination.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { B as BPagination, P as PaginationButton } from './Pagination-
|
|
1
|
+
import { B as BPagination, P as PaginationButton } from './Pagination-BWFVCGiz.js';
|
|
2
2
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import './config-CKuo-p6e.js';
|
|
5
5
|
import './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
6
|
-
import './Icon-
|
|
6
|
+
import './Icon-iqPKMem5.js';
|
|
7
7
|
import './helpers.js';
|
|
8
8
|
|
|
9
9
|
const Plugin = {
|
package/dist/esm/progress.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PROGRESS_INJECTION_KEY, P as Progress } from './Progress-
|
|
2
|
-
import { defineComponent,
|
|
1
|
+
import { a as PROGRESS_INJECTION_KEY, P as Progress } from './Progress-BxT2PFEw.js';
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot, createTextVNode, toDisplayString, createCommentVNode } from 'vue';
|
|
3
3
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
4
4
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
|
5
5
|
import './config-CKuo-p6e.js';
|
package/dist/esm/radio.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, withKeys, withModifiers, normalizeClass, withDirectives, createElementVNode, vModelRadio, renderSlot } from 'vue';
|
|
2
2
|
import { C as CheckRadioMixin } from './CheckRadioMixin-DSD_rjC8.js';
|
|
3
3
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
4
4
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
package/dist/esm/rate.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, Fragment, renderList, withModifiers, createVNode, createBlock, normalizeStyle, createCommentVNode, createElementVNode, toDisplayString } from 'vue';
|
|
2
2
|
import { c as config } from './config-CKuo-p6e.js';
|
|
3
|
-
import { B as BIcon } from './Icon-
|
|
3
|
+
import { B as BIcon } from './Icon-iqPKMem5.js';
|
|
4
4
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
5
5
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
|
6
6
|
import './helpers.js';
|
package/dist/esm/select.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as BSelect } from './Select-
|
|
1
|
+
import { B as BSelect } from './Select-dYTVc9W4.js';
|
|
2
2
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
|
3
3
|
import 'vue';
|
|
4
|
-
import './Icon-
|
|
4
|
+
import './Icon-iqPKMem5.js';
|
|
5
5
|
import './config-CKuo-p6e.js';
|
|
6
6
|
import './helpers.js';
|
|
7
7
|
import './_plugin-vue_export-helper-OJRSZE6i.js';
|
package/dist/esm/sidebar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createCommentVNode, createVNode, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, vShow } from 'vue';
|
|
2
2
|
import { c as config } from './config-CKuo-p6e.js';
|
|
3
3
|
import { removeElement } from './helpers.js';
|
|
4
4
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
package/dist/esm/slider.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
2
|
-
import { T as Tooltip } from './Tooltip-
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, mergeProps, createVNode, withCtx, createElementVNode, withKeys, withModifiers, toDisplayString, createCommentVNode, normalizeStyle, normalizeClass, renderSlot, Fragment, renderList, createBlock } from 'vue';
|
|
2
|
+
import { T as Tooltip } from './Tooltip-Ds5fe3ZP.js';
|
|
3
3
|
import { c as config } from './config-CKuo-p6e.js';
|
|
4
4
|
import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
|
|
5
5
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
package/dist/esm/snackbar.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, createCommentVNode, toDisplayString, vShow, createApp, h, inject } from 'vue';
|
|
2
2
|
import { c as config } from './config-CKuo-p6e.js';
|
|
3
3
|
import { N as NoticeMixin } from './NoticeMixin-ByNlva3T.js';
|
|
4
4
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
package/dist/esm/steps.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
2
|
-
import { B as BIcon } from './Icon-
|
|
3
|
-
import { T as TabbedMixin, a as TabbedChildMixin } from './TabbedChildMixin-
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, Fragment, renderList, withDirectives, createBlock, toDisplayString, createCommentVNode, vShow, renderSlot, withModifiers, createVNode } from 'vue';
|
|
2
|
+
import { B as BIcon } from './Icon-iqPKMem5.js';
|
|
3
|
+
import { T as TabbedMixin, a as TabbedChildMixin } from './TabbedChildMixin-BsuDQmWE.js';
|
|
4
4
|
import { c as config } from './config-CKuo-p6e.js';
|
|
5
5
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
6
6
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
package/dist/esm/switch.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as config } from './config-CKuo-p6e.js';
|
|
2
|
-
import { defineComponent,
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, withKeys, withModifiers, normalizeClass, withDirectives, createElementVNode, vModelCheckbox, renderSlot, createCommentVNode } from 'vue';
|
|
3
3
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
4
4
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
|
5
5
|
|
package/dist/esm/table.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, createElementVNode, createBlock, withCtx, Fragment, renderList, createTextVNode, toDisplayString, createCommentVNode, withDirectives, vShow, createVNode, normalizeClass, renderSlot, h, toHandlerKey, camelize, toRaw, mergeProps, normalizeStyle, withKeys, withModifiers, Transition } from 'vue';
|
|
2
2
|
import { getValueByPath, toCssWidth, removeElement, translateTouchAsDragEvent, isFragment, escapeRegExpChars, removeDiacriticsFromString, indexOf, multiColumnSort, isNil, createAbsoluteElement } from './helpers.js';
|
|
3
|
-
import { B as BPagination, d as debounce } from './Pagination-
|
|
3
|
+
import { B as BPagination, d as debounce } from './Pagination-BWFVCGiz.js';
|
|
4
4
|
import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
|
|
5
|
-
import { B as BCheckbox } from './Checkbox-
|
|
6
|
-
import { B as BIcon } from './Icon-
|
|
7
|
-
import { B as BInput } from './Input-
|
|
8
|
-
import { B as BLoading } from './Loading-
|
|
5
|
+
import { B as BCheckbox } from './Checkbox-u861Rije.js';
|
|
6
|
+
import { B as BIcon } from './Icon-iqPKMem5.js';
|
|
7
|
+
import { B as BInput } from './Input-JL4LWKyL.js';
|
|
8
|
+
import { B as BLoading } from './Loading-BSqhV1Gi.js';
|
|
9
9
|
import { B as BSlotComponent } from './SlotComponent-BwNpVnfH.js';
|
|
10
|
-
import { B as BSelect } from './Select-
|
|
10
|
+
import { B as BSelect } from './Select-dYTVc9W4.js';
|
|
11
11
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
12
12
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
|
13
13
|
import './config-CKuo-p6e.js';
|
package/dist/esm/tabs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
2
|
-
import { B as BIcon } from './Icon-
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, renderSlot, Fragment, renderList, withDirectives, createBlock, createCommentVNode, toDisplayString, vShow } from 'vue';
|
|
2
|
+
import { B as BIcon } from './Icon-iqPKMem5.js';
|
|
3
3
|
import { c as config } from './config-CKuo-p6e.js';
|
|
4
|
-
import { T as TabbedMixin, a as TabbedChildMixin } from './TabbedChildMixin-
|
|
4
|
+
import { T as TabbedMixin, a as TabbedChildMixin } from './TabbedChildMixin-BsuDQmWE.js';
|
|
5
5
|
import { B as BSlotComponent } from './SlotComponent-BwNpVnfH.js';
|
|
6
6
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
7
7
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
package/dist/esm/tag.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { B as BTag } from './Tag-
|
|
2
|
-
import { defineComponent,
|
|
1
|
+
import { B as BTag } from './Tag-BFgiw0Ac.js';
|
|
2
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, renderSlot } from 'vue';
|
|
3
3
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
4
4
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
|
5
|
-
import './Icon-
|
|
5
|
+
import './Icon-iqPKMem5.js';
|
|
6
6
|
import './config-CKuo-p6e.js';
|
|
7
7
|
import './helpers.js';
|
|
8
8
|
|
package/dist/esm/taginput.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent, resolveComponent,
|
|
1
|
+
import { defineComponent, resolveComponent, openBlock, createElementBlock, mergeProps, createElementVNode, normalizeClass, renderSlot, Fragment, renderList, createBlock, withCtx, createTextVNode, toDisplayString, createSlots, createCommentVNode } from 'vue';
|
|
2
2
|
import { getValueByPath } from './helpers.js';
|
|
3
|
-
import { B as BTag } from './Tag-
|
|
4
|
-
import { B as BAutocomplete } from './Autocomplete-
|
|
3
|
+
import { B as BTag } from './Tag-BFgiw0Ac.js';
|
|
4
|
+
import { B as BAutocomplete } from './Autocomplete-HsHD-6pc.js';
|
|
5
5
|
import { c as config } from './config-CKuo-p6e.js';
|
|
6
6
|
import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
|
|
7
7
|
import { F as FormElementMixin } from './FormElementMixin-Dd_wkBN5.js';
|
|
8
8
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
9
9
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
|
10
|
-
import './Icon-
|
|
11
|
-
import './Input-
|
|
10
|
+
import './Icon-iqPKMem5.js';
|
|
11
|
+
import './Input-JL4LWKyL.js';
|
|
12
12
|
|
|
13
13
|
var _sfc_main = defineComponent({
|
|
14
14
|
name: "BTaginput",
|
package/dist/esm/timepicker.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Timepicker } from './Timepicker-
|
|
1
|
+
import { T as Timepicker } from './Timepicker-CYqyLHE9.js';
|
|
2
2
|
import { a as registerComponent } from './plugins-1tLsuIZF.js';
|
|
3
3
|
import 'vue';
|
|
4
4
|
import './TimepickerMixin-Bikh6_Fg.js';
|
|
@@ -6,14 +6,14 @@ import './CompatFallthroughMixin-C8LPuwDr.js';
|
|
|
6
6
|
import './config-CKuo-p6e.js';
|
|
7
7
|
import './FormElementMixin-Dd_wkBN5.js';
|
|
8
8
|
import './helpers.js';
|
|
9
|
-
import './Dropdown-
|
|
9
|
+
import './Dropdown-BLadix4L.js';
|
|
10
10
|
import './trapFocus-KHP_kCNE.js';
|
|
11
11
|
import './_plugin-vue_export-helper-OJRSZE6i.js';
|
|
12
|
-
import './DropdownItem-
|
|
13
|
-
import './Input-
|
|
14
|
-
import './Icon-
|
|
15
|
-
import './Field-
|
|
16
|
-
import './Select-
|
|
12
|
+
import './DropdownItem-Crhb4RQp.js';
|
|
13
|
+
import './Input-JL4LWKyL.js';
|
|
14
|
+
import './Icon-iqPKMem5.js';
|
|
15
|
+
import './Field-DZCOQuRO.js';
|
|
16
|
+
import './Select-dYTVc9W4.js';
|
|
17
17
|
|
|
18
18
|
const Plugin = {
|
|
19
19
|
install(Vue) {
|
package/dist/esm/toast.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, renderSlot, createElementBlock, Fragment, createCommentVNode, vShow, createApp, h, inject } from 'vue';
|
|
2
2
|
import { c as config } from './config-CKuo-p6e.js';
|
|
3
3
|
import { N as NoticeMixin } from './NoticeMixin-ByNlva3T.js';
|
|
4
4
|
import { _ as _export_sfc } from './_plugin-vue_export-helper-OJRSZE6i.js';
|
package/dist/esm/tooltip.js
CHANGED
package/dist/esm/upload.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, mergeProps, renderSlot, withModifiers, normalizeClass, createElementVNode } from 'vue';
|
|
2
2
|
import { C as CompatFallthroughMixin } from './CompatFallthroughMixin-C8LPuwDr.js';
|
|
3
3
|
import { F as FormElementMixin } from './FormElementMixin-Dd_wkBN5.js';
|
|
4
4
|
import { F as File } from './ssr-C7yEpGLm.js';
|
package/dist/tsdoc-metadata.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buefy",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.5",
|
|
4
4
|
"description": "Lightweight UI components for Vue.js (v3) based on Bulma",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"vuejs",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@rollup/plugin-babel": "^6.0.4",
|
|
69
69
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
70
70
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
71
|
-
"@rollup/plugin-terser": "^0.
|
|
71
|
+
"@rollup/plugin-terser": "^1.0.0",
|
|
72
72
|
"@testing-library/jest-dom": "^6.6.3",
|
|
73
73
|
"@types/jsdom": "^21.1.7",
|
|
74
74
|
"@vue/test-utils": "^2.4.6",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
|
2
2
|
|
|
3
3
|
exports[`BCarouselList > render correctly 1`] = `
|
|
4
|
-
"<div class="carousel-list">
|
|
4
|
+
"<div class="carousel carousel-list">
|
|
5
5
|
<div class="carousel-slides" style="transform: translateX(0px);">
|
|
6
6
|
<div class="carousel-slide is-active" style="width: 0px;">
|
|
7
7
|
<b-image-stub src="https://picsum.photos/id/0/1230/500" lazy="true" responsive="true" srcsetformatter="[Function]" rounded="false" captionfirst="false" title="Slide 1" image="https://picsum.photos/id/0/1230/500"></b-image-stub>
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { existsSync, readFileSync } from 'node:fs'
|
|
2
|
+
import { join } from 'node:path'
|
|
1
3
|
import { shallowMount } from '@vue/test-utils'
|
|
2
4
|
import type { VueWrapper } from '@vue/test-utils'
|
|
3
5
|
import { beforeEach, describe, expect, it, vi } from 'vitest'
|
|
@@ -20,7 +22,9 @@ describe('BCheckbox', () => {
|
|
|
20
22
|
})
|
|
21
23
|
|
|
22
24
|
it('has an input checkbox', () => {
|
|
23
|
-
expect(
|
|
25
|
+
expect(
|
|
26
|
+
wrapper.find('label input[type=checkbox]').exists()
|
|
27
|
+
).toBeTruthy()
|
|
24
28
|
})
|
|
25
29
|
|
|
26
30
|
it('emit input event with value when value change', async () => {
|
|
@@ -35,6 +39,36 @@ describe('BCheckbox', () => {
|
|
|
35
39
|
(wrapper.vm.$refs.input as HTMLElement).focus = vi.fn()
|
|
36
40
|
wrapper.vm.focus()
|
|
37
41
|
await wrapper.vm.$nextTick()
|
|
38
|
-
expect(
|
|
42
|
+
expect(
|
|
43
|
+
(wrapper.vm.$refs.input as HTMLElement).focus
|
|
44
|
+
).toHaveBeenCalled()
|
|
45
|
+
})
|
|
46
|
+
|
|
47
|
+
it('generates svg checkmark images from concrete colors in checkbox styles', () => {
|
|
48
|
+
const scssPathCandidates = [
|
|
49
|
+
join(process.cwd(), 'src/scss/components/_checkbox.scss'),
|
|
50
|
+
join(process.cwd(), 'buefy/src/scss/components/_checkbox.scss')
|
|
51
|
+
]
|
|
52
|
+
const scssPath = scssPathCandidates.find((candidate) =>
|
|
53
|
+
existsSync(candidate)
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
expect(scssPath).toBeTruthy()
|
|
57
|
+
if (!scssPath) {
|
|
58
|
+
throw new Error(
|
|
59
|
+
'Unable to locate _checkbox.scss for regression assertion'
|
|
60
|
+
)
|
|
61
|
+
}
|
|
62
|
+
const source = readFileSync(scssPath, 'utf8')
|
|
63
|
+
|
|
64
|
+
// Regression: CSS variables inside data-uri SVG are not resolved by browsers.
|
|
65
|
+
expect(source).toContain('fn.checkmark($checkbox-checkmark-color)')
|
|
66
|
+
expect(source).toContain('fn.indeterminate($checkbox-checkmark-color)')
|
|
67
|
+
expect(source).not.toContain(
|
|
68
|
+
'fn.checkmark(cv.getVar("checkbox-checkmark-color"))'
|
|
69
|
+
)
|
|
70
|
+
expect(source).not.toContain(
|
|
71
|
+
'fn.indeterminate(cv.getVar("checkbox-checkmark-color"))'
|
|
72
|
+
)
|
|
39
73
|
})
|
|
40
74
|
})
|
|
@@ -226,4 +226,19 @@ describe('BDropdown', () => {
|
|
|
226
226
|
expect(document.removeEventListener).toBeCalledWith('click', expect.any(Function))
|
|
227
227
|
expect(document.removeEventListener).toBeCalledWith('keyup', expect.any(Function))
|
|
228
228
|
})
|
|
229
|
+
|
|
230
|
+
it('removes is-clipped-touch on unmount while dropdown is open', async () => {
|
|
231
|
+
// Simulate dropdown open in mobile-modal mode (mobileModal defaults to
|
|
232
|
+
// true) so the isActive watcher calls handleScroll(), which adds
|
|
233
|
+
// is-clipped-touch to the html element. Then destroy the component
|
|
234
|
+
// (e.g. route navigation) without closing it first. The class must be
|
|
235
|
+
// removed so that scrolling is not permanently locked.
|
|
236
|
+
await wrapper.setData({ isActive: true })
|
|
237
|
+
// The isActive watcher triggers handleScroll() which adds the class.
|
|
238
|
+
expect(document.documentElement.classList.contains('is-clipped-touch')).toBe(true)
|
|
239
|
+
|
|
240
|
+
wrapper.unmount()
|
|
241
|
+
|
|
242
|
+
expect(document.documentElement.classList.contains('is-clipped-touch')).toBe(false)
|
|
243
|
+
})
|
|
229
244
|
})
|
|
@@ -480,6 +480,11 @@ export default defineComponent({
|
|
|
480
480
|
if (typeof window !== 'undefined') {
|
|
481
481
|
document.removeEventListener('click', this.clickedOutside)
|
|
482
482
|
document.removeEventListener('keyup', this.keyPress)
|
|
483
|
+
// Clean up scroll lock in case the component is destroyed while the
|
|
484
|
+
// dropdown is open (e.g., route navigation in a SPA). Without this,
|
|
485
|
+
// is-clipped-touch persists on the html element and permanently
|
|
486
|
+
// prevents scrolling on desktop browsers at mobile viewport widths.
|
|
487
|
+
document.documentElement.classList.remove('is-clipped-touch')
|
|
483
488
|
}
|
|
484
489
|
if (this.appendToBody) {
|
|
485
490
|
removeElement(this.$data._bodyEl!)
|
|
@@ -31,25 +31,24 @@ $checkbox-colors: shared.$form-colors !default;
|
|
|
31
31
|
"checkbox-border-width": #{$checkbox-border-width},
|
|
32
32
|
"checkbox-checkmark-color": #{$checkbox-checkmark-color},
|
|
33
33
|
"checkbox-size": #{$checkbox-size},
|
|
34
|
-
"checkbox-checkmark-image": #{url(fn.checkmark(
|
|
35
|
-
"checkbox-indeterminate-image": #{url(fn.indeterminate(
|
|
36
|
-
|
|
34
|
+
"checkbox-checkmark-image": #{url(fn.checkmark($checkbox-checkmark-color))},
|
|
35
|
+
"checkbox-indeterminate-image": #{url(fn.indeterminate($checkbox-checkmark-color))}
|
|
37
36
|
)
|
|
38
37
|
);
|
|
39
38
|
|
|
40
39
|
&.checkbox input[type=checkbox] + .check {
|
|
41
40
|
|
|
42
41
|
@each $name, $pair in $checkbox-colors {
|
|
43
|
-
$color:
|
|
42
|
+
$color-invert: cv.getVar($name, "", "-invert");
|
|
44
43
|
|
|
45
44
|
&.#{iv.$class-prefix}is-#{$name} {
|
|
46
45
|
@include cv.register-vars(
|
|
47
46
|
(
|
|
48
47
|
"checkbox-active-background-color": #{cv.getVar($name)},
|
|
49
48
|
"checkbox-border-color": #{cv.getVar($name)},
|
|
50
|
-
"checkbox-checkmark-color": #{
|
|
51
|
-
"checkbox-checkmark-image": #{url(fn.checkmark(
|
|
52
|
-
"checkbox-indeterminate-image": #{url(fn.indeterminate(
|
|
49
|
+
"checkbox-checkmark-color": #{$color-invert},
|
|
50
|
+
"checkbox-checkmark-image": #{url(fn.checkmark($color-invert))},
|
|
51
|
+
"checkbox-indeterminate-image": #{url(fn.indeterminate($color-invert))}
|
|
53
52
|
)
|
|
54
53
|
);
|
|
55
54
|
}
|