buefy 0.9.12 → 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.
- package/dist/buefy.css +1 -1
- package/dist/buefy.esm.js +106 -104
- package/dist/buefy.esm.min.js +2 -2
- package/dist/buefy.js +106 -104
- package/dist/buefy.min.css +1 -1
- package/dist/buefy.min.js +2 -2
- package/dist/cjs/autocomplete.js +4 -4
- package/dist/cjs/button.js +2 -2
- package/dist/cjs/carousel.js +5 -5
- package/dist/cjs/{chunk-47e1b22b.js → chunk-114191ae.js} +2 -2
- package/dist/cjs/{chunk-db3fa73a.js → chunk-2062216d.js} +1 -1
- package/dist/cjs/{chunk-d9a33552.js → chunk-2911aa4b.js} +45 -45
- package/dist/cjs/{chunk-de7a7f98.js → chunk-2ae50815.js} +3 -3
- package/dist/cjs/{chunk-01268607.js → chunk-2c7de785.js} +0 -0
- package/dist/cjs/{chunk-30d55827.js → chunk-30670fac.js} +2 -2
- package/dist/cjs/{chunk-c3495010.js → chunk-34949503.js} +0 -0
- package/dist/cjs/{chunk-2dc027c9.js → chunk-3cc5d9a6.js} +0 -0
- package/dist/cjs/{chunk-a14ca5bf.js → chunk-61023b09.js} +1 -1
- package/dist/cjs/{chunk-c5a552d4.js → chunk-6cb902f8.js} +0 -0
- package/dist/cjs/{chunk-7b13241d.js → chunk-7da0c017.js} +4 -2
- package/dist/cjs/{chunk-bd1feb6c.js → chunk-9e4cf4c5.js} +0 -0
- package/dist/cjs/{chunk-ea7e1e7e.js → chunk-a11294f9.js} +1 -1
- package/dist/cjs/{chunk-3aaecc36.js → chunk-c6fbc7b4.js} +1 -1
- package/dist/cjs/{chunk-dcf024d2.js → chunk-c7b2aa4b.js} +0 -0
- package/dist/cjs/{chunk-40697b2f.js → chunk-d0f8ea39.js} +6 -6
- package/dist/cjs/{chunk-c00639be.js → chunk-d120e215.js} +0 -0
- package/dist/cjs/{chunk-cb3ee6f4.js → chunk-d54e40f6.js} +0 -0
- package/dist/cjs/{chunk-adaa5792.js → chunk-f5106717.js} +2 -2
- package/dist/cjs/{chunk-66710d19.js → chunk-fe2f57ee.js} +1 -1
- package/dist/cjs/{chunk-344f6275.js → chunk-fefd7b77.js} +0 -0
- package/dist/cjs/clockpicker.js +7 -7
- package/dist/cjs/datepicker.js +8 -8
- package/dist/cjs/datetimepicker.js +10 -10
- package/dist/cjs/dialog.js +10 -10
- package/dist/cjs/dropdown.js +2 -2
- package/dist/cjs/field.js +1 -1
- package/dist/cjs/helpers.js +50 -50
- package/dist/cjs/icon.js +1 -1
- package/dist/cjs/image.js +1 -1
- package/dist/cjs/index.js +21 -21
- package/dist/cjs/input.js +3 -3
- package/dist/cjs/loading.js +1 -1
- package/dist/cjs/menu.js +1 -1
- package/dist/cjs/message.js +2 -2
- package/dist/cjs/modal.js +1 -1
- package/dist/cjs/notification.js +3 -3
- package/dist/cjs/numberinput.js +6 -6
- package/dist/cjs/pagination.js +2 -2
- package/dist/cjs/progress.js +1 -1
- package/dist/cjs/rate.js +1 -1
- package/dist/cjs/select.js +3 -3
- package/dist/cjs/slider.js +1 -1
- package/dist/cjs/snackbar.js +1 -1
- package/dist/cjs/steps.js +4 -4
- package/dist/cjs/table.js +7 -7
- package/dist/cjs/tabs.js +4 -4
- package/dist/cjs/taginput.js +4 -4
- package/dist/cjs/timepicker.js +9 -9
- package/dist/cjs/toast.js +1 -1
- package/dist/cjs/tooltip.js +1 -1
- package/dist/cjs/upload.js +1 -1
- package/dist/components/autocomplete/index.js +5 -5
- 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 +3 -3
- package/dist/components/button/index.min.js +1 -1
- package/dist/components/carousel/index.js +26 -26
- package/dist/components/carousel/index.min.js +1 -1
- package/dist/components/checkbox/index.js +1 -1
- package/dist/components/checkbox/index.min.js +1 -1
- package/dist/components/clockpicker/index.js +22 -20
- 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/datepicker/index.js +71 -69
- package/dist/components/datepicker/index.min.js +2 -2
- package/dist/components/datetimepicker/index.js +71 -69
- package/dist/components/datetimepicker/index.min.js +2 -2
- package/dist/components/dialog/index.js +10 -10
- package/dist/components/dialog/index.min.js +1 -1
- package/dist/components/dropdown/index.js +6 -6
- package/dist/components/dropdown/index.min.js +1 -1
- package/dist/components/field/index.js +5 -3
- package/dist/components/field/index.min.js +2 -2
- package/dist/components/icon/index.js +3 -3
- package/dist/components/icon/index.min.js +1 -1
- package/dist/components/image/index.js +4 -4
- package/dist/components/image/index.min.js +1 -1
- package/dist/components/input/index.js +3 -3
- package/dist/components/input/index.min.js +1 -1
- package/dist/components/loading/index.js +3 -3
- package/dist/components/loading/index.min.js +1 -1
- package/dist/components/menu/index.js +3 -3
- package/dist/components/menu/index.min.js +1 -1
- package/dist/components/message/index.js +3 -3
- package/dist/components/message/index.min.js +1 -1
- package/dist/components/modal/index.js +3 -3
- 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 +3 -3
- package/dist/components/notification/index.min.js +1 -1
- package/dist/components/numberinput/index.js +6 -6
- package/dist/components/numberinput/index.min.js +1 -1
- package/dist/components/pagination/index.js +3 -3
- package/dist/components/pagination/index.min.js +1 -1
- package/dist/components/progress/index.js +6 -6
- 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 +3 -3
- package/dist/components/rate/index.min.js +1 -1
- package/dist/components/select/index.js +3 -3
- 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 +7 -7
- package/dist/components/slider/index.min.js +1 -1
- package/dist/components/snackbar/index.js +3 -3
- package/dist/components/snackbar/index.min.js +1 -1
- package/dist/components/steps/index.js +14 -14
- 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 +10 -10
- package/dist/components/table/index.min.js +1 -1
- package/dist/components/tabs/index.js +14 -14
- 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 +5 -5
- package/dist/components/taginput/index.min.js +1 -1
- package/dist/components/timepicker/index.js +22 -20
- package/dist/components/timepicker/index.min.js +2 -2
- package/dist/components/toast/index.js +3 -3
- 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/esm/autocomplete.js +5 -5
- package/dist/esm/button.js +3 -3
- package/dist/esm/carousel.js +5 -5
- package/dist/esm/{chunk-3dbb54cd.js → chunk-18e8b067.js} +1 -1
- package/dist/esm/{chunk-7d9db167.js → chunk-21fc0948.js} +6 -6
- package/dist/esm/{chunk-a146937d.js → chunk-22e9f916.js} +45 -45
- package/dist/esm/{chunk-18fcd4ac.js → chunk-29ca0df8.js} +0 -0
- package/dist/esm/{chunk-affd6df1.js → chunk-3773c62d.js} +0 -0
- package/dist/esm/{chunk-7ee6c15c.js → chunk-4b67a181.js} +1 -1
- package/dist/esm/{chunk-f97f6a90.js → chunk-6019fd7a.js} +2 -2
- package/dist/esm/{chunk-d9794c38.js → chunk-71a547bc.js} +0 -0
- package/dist/esm/{chunk-161dac72.js → chunk-75a5af93.js} +0 -0
- package/dist/esm/{chunk-4f046bae.js → chunk-799e084d.js} +0 -0
- package/dist/esm/{chunk-6b53dd42.js → chunk-83eb0d37.js} +2 -2
- package/dist/esm/{chunk-80ec133b.js → chunk-8d0f95b8.js} +3 -3
- package/dist/esm/{chunk-50188ced.js → chunk-9f7f7441.js} +0 -0
- package/dist/esm/{chunk-3098b0e9.js → chunk-ae8ab23a.js} +2 -2
- package/dist/esm/{chunk-0f30042f.js → chunk-b07e3182.js} +4 -2
- package/dist/esm/{chunk-a64bdef6.js → chunk-b0c0c6b0.js} +0 -0
- package/dist/esm/{chunk-cdfb7fda.js → chunk-c9c58d0c.js} +0 -0
- package/dist/esm/{chunk-f6b30428.js → chunk-d7f92d97.js} +1 -1
- package/dist/esm/{chunk-9957ac1a.js → chunk-d92f0cd9.js} +0 -0
- package/dist/esm/{chunk-72ad8d50.js → chunk-e7c9b2cb.js} +1 -1
- package/dist/esm/{chunk-8b279c1f.js → chunk-ece062a7.js} +1 -1
- package/dist/esm/clockpicker.js +7 -7
- package/dist/esm/datepicker.js +9 -9
- package/dist/esm/datetimepicker.js +10 -10
- package/dist/esm/dialog.js +10 -10
- package/dist/esm/dropdown.js +3 -3
- package/dist/esm/field.js +2 -2
- package/dist/esm/helpers.js +50 -50
- package/dist/esm/icon.js +2 -2
- package/dist/esm/image.js +2 -2
- package/dist/esm/index.js +21 -21
- package/dist/esm/input.js +4 -4
- package/dist/esm/loading.js +2 -2
- package/dist/esm/menu.js +1 -1
- package/dist/esm/message.js +2 -2
- package/dist/esm/modal.js +2 -2
- package/dist/esm/notification.js +3 -3
- package/dist/esm/numberinput.js +6 -6
- package/dist/esm/pagination.js +3 -3
- package/dist/esm/progress.js +1 -1
- package/dist/esm/rate.js +1 -1
- package/dist/esm/select.js +4 -4
- package/dist/esm/slider.js +1 -1
- package/dist/esm/snackbar.js +1 -1
- package/dist/esm/steps.js +4 -4
- package/dist/esm/table.js +7 -7
- package/dist/esm/tabs.js +4 -4
- package/dist/esm/taginput.js +4 -4
- package/dist/esm/timepicker.js +10 -10
- package/dist/esm/toast.js +1 -1
- package/dist/esm/tooltip.js +2 -2
- package/dist/esm/upload.js +1 -1
- package/package.json +171 -171
- package/src/components/breadcrumb/BreadcrumbItem.spec.js +25 -25
- package/src/components/carousel/CarouselList.vue +313 -313
- package/src/components/carousel/__snapshots__/CarouselList.spec.js.snap +156 -156
- package/src/components/datepicker/Datepicker.vue +843 -843
- package/src/components/dialog/Dialog.vue +256 -256
- package/src/components/field/Field.vue +3 -3
- package/src/components/image/Image.vue +309 -309
- package/src/components/numberinput/Numberinput.vue +309 -309
- package/src/utils/helpers.js +291 -291
package/package.json
CHANGED
|
@@ -1,171 +1,171 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "buefy",
|
|
3
|
-
"version": "0.9.
|
|
4
|
-
"homepage": "https://buefy.org",
|
|
5
|
-
"description": "Lightweight UI components for Vue.js based on Bulma",
|
|
6
|
-
"author": "Rafael Beraldo <rafael.pimpa@gmail.com>",
|
|
7
|
-
"maintainers": [
|
|
8
|
-
"Walter Tommasi <tommsi20@gmail.com>"
|
|
9
|
-
],
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"main": "dist/cjs/index.js",
|
|
12
|
-
"module": "dist/esm/index.js",
|
|
13
|
-
"unpkg": "dist/buefy.min.js",
|
|
14
|
-
"typings": "types/index.d.ts",
|
|
15
|
-
"sideEffects": [
|
|
16
|
-
"*.css",
|
|
17
|
-
"*.scss"
|
|
18
|
-
],
|
|
19
|
-
"files": [
|
|
20
|
-
"dist",
|
|
21
|
-
"src",
|
|
22
|
-
"types/*.d.ts"
|
|
23
|
-
],
|
|
24
|
-
"repository": {
|
|
25
|
-
"type": "git",
|
|
26
|
-
"url": "https://github.com/buefy/buefy.git"
|
|
27
|
-
},
|
|
28
|
-
"bugs": {
|
|
29
|
-
"url": "https://github.com/buefy/buefy/issues"
|
|
30
|
-
},
|
|
31
|
-
"vetur": {
|
|
32
|
-
"tags": "dist/vetur/tags.json",
|
|
33
|
-
"attributes": "dist/vetur/attributes.json"
|
|
34
|
-
},
|
|
35
|
-
"scripts": {
|
|
36
|
-
"dev": "node build/dev-server.js",
|
|
37
|
-
"start": "node build/dev-server.js",
|
|
38
|
-
"lint": "eslint --ext .js,.vue src docs",
|
|
39
|
-
"lint:fix": "eslint --ext .js,.vue src docs --fix",
|
|
40
|
-
"lint:staged": "lint-staged",
|
|
41
|
-
"unit": "jest --runInBand --u",
|
|
42
|
-
"test": "npm run lint && npm run unit",
|
|
43
|
-
"test:watch": "npm run unit -- --watchAll",
|
|
44
|
-
"build:js": "rollup -c && rollup -c --environment MINIFY",
|
|
45
|
-
"build:js:watch": "rollup -c --watch",
|
|
46
|
-
"build:scss": "sass src/scss/buefy-build.scss | node ./build/banner.js > dist/buefy.css && cleancss -o dist/buefy.min.css dist/buefy.css",
|
|
47
|
-
"build:scss:watch": "sass src/scss/buefy-build.scss --watch",
|
|
48
|
-
"build:lib": "rimraf dist && npm run build:js && npm run build:scss && npm run vetur",
|
|
49
|
-
"build:lib:watch": "concurrently \"npm run build:js:watch\" \"npm run build:scss:watch \" ",
|
|
50
|
-
"build:docs": "node build/build.js && copyfiles --flat netlify.toml dist-docs",
|
|
51
|
-
"build": "npm run build:lib && npm run build:docs",
|
|
52
|
-
"cov": "./node_modules/codcov/bin/codcov",
|
|
53
|
-
"vetur": "node -r esm build/vetur.js"
|
|
54
|
-
},
|
|
55
|
-
"keywords": [
|
|
56
|
-
"bulma",
|
|
57
|
-
"vue",
|
|
58
|
-
"vuejs",
|
|
59
|
-
"vue-bulma",
|
|
60
|
-
"components"
|
|
61
|
-
],
|
|
62
|
-
"dependencies": {
|
|
63
|
-
"bulma": "0.9.3"
|
|
64
|
-
},
|
|
65
|
-
"peerDependencies": {
|
|
66
|
-
"vue": "^2.6.11"
|
|
67
|
-
},
|
|
68
|
-
"devDependencies": {
|
|
69
|
-
"@applitools/eyes-cypress": "3.7.5",
|
|
70
|
-
"@babel/core": "7.3.4",
|
|
71
|
-
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
|
72
|
-
"@babel/preset-env": "7.3.4",
|
|
73
|
-
"@fortawesome/fontawesome-free": "5.3.1",
|
|
74
|
-
"@mdi/font": "4.8.95",
|
|
75
|
-
"@vue/test-utils": "1.0.0-beta.29",
|
|
76
|
-
"all-contributors-cli": "6.14.0",
|
|
77
|
-
"autoprefixer": "7.1.1",
|
|
78
|
-
"axios": "0.21.1",
|
|
79
|
-
"babel-core": "6.25.0",
|
|
80
|
-
"babel-eslint": "7.1.1",
|
|
81
|
-
"babel-jest": "22.1.0",
|
|
82
|
-
"babel-loader": "7.1.2",
|
|
83
|
-
"babel-plugin-transform-runtime": "6.22.0",
|
|
84
|
-
"babel-preset-env": "1.3.2",
|
|
85
|
-
"babel-preset-stage-2": "6.22.0",
|
|
86
|
-
"babel-register": "6.22.0",
|
|
87
|
-
"bulma-css-vars": "0.4.3",
|
|
88
|
-
"chalk": "4.1.0",
|
|
89
|
-
"clean-css-cli": "4.3.0",
|
|
90
|
-
"cleave.js": "1.0.1",
|
|
91
|
-
"clipboard": "1.7.1",
|
|
92
|
-
"codecov": "3.7.1",
|
|
93
|
-
"connect-history-api-fallback": "1.3.0",
|
|
94
|
-
"copy-webpack-plugin": "4.3.1",
|
|
95
|
-
"copyfiles": "2.2.0",
|
|
96
|
-
"cross-env": "4.0.0",
|
|
97
|
-
"cross-spawn": "5.0.1",
|
|
98
|
-
"css-loader": "0.28.0",
|
|
99
|
-
"cypress": "3.4.1",
|
|
100
|
-
"eslint": "4.18.2",
|
|
101
|
-
"eslint-config-buefy": "0.0.3",
|
|
102
|
-
"esm": "3.2.25",
|
|
103
|
-
"eventsource-polyfill": "0.9.6",
|
|
104
|
-
"express": "4.15.0",
|
|
105
|
-
"extract-text-webpack-plugin": "3.0.2",
|
|
106
|
-
"file-loader": "0.11.1",
|
|
107
|
-
"font-awesome": "4.7.0",
|
|
108
|
-
"friendly-errors-webpack-plugin": "1.6.1",
|
|
109
|
-
"handlebars": "4.5.3",
|
|
110
|
-
"highlight.js": "10.4.1",
|
|
111
|
-
"html-webpack-plugin": "2.30.1",
|
|
112
|
-
"http-proxy-middleware": "0.17.3",
|
|
113
|
-
"jest": "23.5.0",
|
|
114
|
-
"jest-serializer-vue": "0.3.0",
|
|
115
|
-
"lint-staged": "6.1.1",
|
|
116
|
-
"open": "7.1.0",
|
|
117
|
-
"optimize-css-assets-webpack-plugin": "3.2.0",
|
|
118
|
-
"optimize-js-plugin": "0.0.4",
|
|
119
|
-
"pre-commit": "1.2.2",
|
|
120
|
-
"prerender-spa-plugin": "3.4.0",
|
|
121
|
-
"raw-loader": "0.5.1",
|
|
122
|
-
"rimraf": "2.6.0",
|
|
123
|
-
"rollup": "1.17.0",
|
|
124
|
-
"rollup-copy-plugin": "0.1.0",
|
|
125
|
-
"rollup-plugin-babel": "4.3.2",
|
|
126
|
-
"rollup-plugin-commonjs": "9.2.1",
|
|
127
|
-
"rollup-plugin-node-resolve": "4.0.1",
|
|
128
|
-
"rollup-plugin-replace": "2.1.0",
|
|
129
|
-
"rollup-plugin-terser": "4.0.4",
|
|
130
|
-
"rollup-plugin-vue": "5.0.0",
|
|
131
|
-
"sass": "1.26.10",
|
|
132
|
-
"sass-loader": "7.3.1",
|
|
133
|
-
"scrollreveal": "3.3.6",
|
|
134
|
-
"semver": "5.3.0",
|
|
135
|
-
"shelljs": "0.8.4",
|
|
136
|
-
"sinon": "7.5.0",
|
|
137
|
-
"sortablejs": "1.7.0",
|
|
138
|
-
"uglifyjs-webpack-plugin": "1.2.5",
|
|
139
|
-
"url-loader": "0.5.8",
|
|
140
|
-
"vee-validate": "2.1.0-beta.9",
|
|
141
|
-
"vue": "2.6.11",
|
|
142
|
-
"vue-analytics": "4.1.3",
|
|
143
|
-
"vue-jest": "2.5.0",
|
|
144
|
-
"vue-loader": "15.9.3",
|
|
145
|
-
"vue-progressbar": "0.7.2",
|
|
146
|
-
"vue-router": "3.1.6",
|
|
147
|
-
"vue-style-loader": "3.0.1",
|
|
148
|
-
"vue-template-compiler": "2.6.11",
|
|
149
|
-
"webpack": "3.10.0",
|
|
150
|
-
"webpack-bundle-analyzer": "2.9.2",
|
|
151
|
-
"webpack-dev-server": "2.11.1",
|
|
152
|
-
"webpack-hot-middleware": "2.21.0",
|
|
153
|
-
"webpack-merge": "4.1.2"
|
|
154
|
-
},
|
|
155
|
-
"lint-staged": {
|
|
156
|
-
"*.{vue,js}": [
|
|
157
|
-
"lint --fix",
|
|
158
|
-
"git add"
|
|
159
|
-
]
|
|
160
|
-
},
|
|
161
|
-
"pre-commit": "lint:staged",
|
|
162
|
-
"engines": {
|
|
163
|
-
"node": ">= 4.0.0",
|
|
164
|
-
"npm": ">= 3.0.0"
|
|
165
|
-
},
|
|
166
|
-
"browserslist": [
|
|
167
|
-
"> 1%",
|
|
168
|
-
"last 2 versions",
|
|
169
|
-
"not ie <= 8"
|
|
170
|
-
]
|
|
171
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "buefy",
|
|
3
|
+
"version": "0.9.13",
|
|
4
|
+
"homepage": "https://buefy.org",
|
|
5
|
+
"description": "Lightweight UI components for Vue.js based on Bulma",
|
|
6
|
+
"author": "Rafael Beraldo <rafael.pimpa@gmail.com>",
|
|
7
|
+
"maintainers": [
|
|
8
|
+
"Walter Tommasi <tommsi20@gmail.com>"
|
|
9
|
+
],
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"main": "dist/cjs/index.js",
|
|
12
|
+
"module": "dist/esm/index.js",
|
|
13
|
+
"unpkg": "dist/buefy.min.js",
|
|
14
|
+
"typings": "types/index.d.ts",
|
|
15
|
+
"sideEffects": [
|
|
16
|
+
"*.css",
|
|
17
|
+
"*.scss"
|
|
18
|
+
],
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"src",
|
|
22
|
+
"types/*.d.ts"
|
|
23
|
+
],
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://github.com/buefy/buefy.git"
|
|
27
|
+
},
|
|
28
|
+
"bugs": {
|
|
29
|
+
"url": "https://github.com/buefy/buefy/issues"
|
|
30
|
+
},
|
|
31
|
+
"vetur": {
|
|
32
|
+
"tags": "dist/vetur/tags.json",
|
|
33
|
+
"attributes": "dist/vetur/attributes.json"
|
|
34
|
+
},
|
|
35
|
+
"scripts": {
|
|
36
|
+
"dev": "node build/dev-server.js",
|
|
37
|
+
"start": "node build/dev-server.js",
|
|
38
|
+
"lint": "eslint --ext .js,.vue src docs",
|
|
39
|
+
"lint:fix": "eslint --ext .js,.vue src docs --fix",
|
|
40
|
+
"lint:staged": "lint-staged",
|
|
41
|
+
"unit": "jest --runInBand --u",
|
|
42
|
+
"test": "npm run lint && npm run unit",
|
|
43
|
+
"test:watch": "npm run unit -- --watchAll",
|
|
44
|
+
"build:js": "rollup -c && rollup -c --environment MINIFY",
|
|
45
|
+
"build:js:watch": "rollup -c --watch",
|
|
46
|
+
"build:scss": "sass src/scss/buefy-build.scss | node ./build/banner.js > dist/buefy.css && cleancss -o dist/buefy.min.css dist/buefy.css",
|
|
47
|
+
"build:scss:watch": "sass src/scss/buefy-build.scss --watch",
|
|
48
|
+
"build:lib": "rimraf dist && npm run build:js && npm run build:scss && npm run vetur",
|
|
49
|
+
"build:lib:watch": "concurrently \"npm run build:js:watch\" \"npm run build:scss:watch \" ",
|
|
50
|
+
"build:docs": "node build/build.js && copyfiles --flat netlify.toml dist-docs",
|
|
51
|
+
"build": "npm run build:lib && npm run build:docs",
|
|
52
|
+
"cov": "./node_modules/codcov/bin/codcov",
|
|
53
|
+
"vetur": "node -r esm build/vetur.js"
|
|
54
|
+
},
|
|
55
|
+
"keywords": [
|
|
56
|
+
"bulma",
|
|
57
|
+
"vue",
|
|
58
|
+
"vuejs",
|
|
59
|
+
"vue-bulma",
|
|
60
|
+
"components"
|
|
61
|
+
],
|
|
62
|
+
"dependencies": {
|
|
63
|
+
"bulma": "0.9.3"
|
|
64
|
+
},
|
|
65
|
+
"peerDependencies": {
|
|
66
|
+
"vue": "^2.6.11"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@applitools/eyes-cypress": "3.7.5",
|
|
70
|
+
"@babel/core": "7.3.4",
|
|
71
|
+
"@babel/plugin-syntax-dynamic-import": "7.2.0",
|
|
72
|
+
"@babel/preset-env": "7.3.4",
|
|
73
|
+
"@fortawesome/fontawesome-free": "5.3.1",
|
|
74
|
+
"@mdi/font": "4.8.95",
|
|
75
|
+
"@vue/test-utils": "1.0.0-beta.29",
|
|
76
|
+
"all-contributors-cli": "6.14.0",
|
|
77
|
+
"autoprefixer": "7.1.1",
|
|
78
|
+
"axios": "0.21.1",
|
|
79
|
+
"babel-core": "6.25.0",
|
|
80
|
+
"babel-eslint": "7.1.1",
|
|
81
|
+
"babel-jest": "22.1.0",
|
|
82
|
+
"babel-loader": "7.1.2",
|
|
83
|
+
"babel-plugin-transform-runtime": "6.22.0",
|
|
84
|
+
"babel-preset-env": "1.3.2",
|
|
85
|
+
"babel-preset-stage-2": "6.22.0",
|
|
86
|
+
"babel-register": "6.22.0",
|
|
87
|
+
"bulma-css-vars": "0.4.3",
|
|
88
|
+
"chalk": "4.1.0",
|
|
89
|
+
"clean-css-cli": "4.3.0",
|
|
90
|
+
"cleave.js": "1.0.1",
|
|
91
|
+
"clipboard": "1.7.1",
|
|
92
|
+
"codecov": "3.7.1",
|
|
93
|
+
"connect-history-api-fallback": "1.3.0",
|
|
94
|
+
"copy-webpack-plugin": "4.3.1",
|
|
95
|
+
"copyfiles": "2.2.0",
|
|
96
|
+
"cross-env": "4.0.0",
|
|
97
|
+
"cross-spawn": "5.0.1",
|
|
98
|
+
"css-loader": "0.28.0",
|
|
99
|
+
"cypress": "3.4.1",
|
|
100
|
+
"eslint": "4.18.2",
|
|
101
|
+
"eslint-config-buefy": "0.0.3",
|
|
102
|
+
"esm": "3.2.25",
|
|
103
|
+
"eventsource-polyfill": "0.9.6",
|
|
104
|
+
"express": "4.15.0",
|
|
105
|
+
"extract-text-webpack-plugin": "3.0.2",
|
|
106
|
+
"file-loader": "0.11.1",
|
|
107
|
+
"font-awesome": "4.7.0",
|
|
108
|
+
"friendly-errors-webpack-plugin": "1.6.1",
|
|
109
|
+
"handlebars": "4.5.3",
|
|
110
|
+
"highlight.js": "10.4.1",
|
|
111
|
+
"html-webpack-plugin": "2.30.1",
|
|
112
|
+
"http-proxy-middleware": "0.17.3",
|
|
113
|
+
"jest": "23.5.0",
|
|
114
|
+
"jest-serializer-vue": "0.3.0",
|
|
115
|
+
"lint-staged": "6.1.1",
|
|
116
|
+
"open": "7.1.0",
|
|
117
|
+
"optimize-css-assets-webpack-plugin": "3.2.0",
|
|
118
|
+
"optimize-js-plugin": "0.0.4",
|
|
119
|
+
"pre-commit": "1.2.2",
|
|
120
|
+
"prerender-spa-plugin": "3.4.0",
|
|
121
|
+
"raw-loader": "0.5.1",
|
|
122
|
+
"rimraf": "2.6.0",
|
|
123
|
+
"rollup": "1.17.0",
|
|
124
|
+
"rollup-copy-plugin": "0.1.0",
|
|
125
|
+
"rollup-plugin-babel": "4.3.2",
|
|
126
|
+
"rollup-plugin-commonjs": "9.2.1",
|
|
127
|
+
"rollup-plugin-node-resolve": "4.0.1",
|
|
128
|
+
"rollup-plugin-replace": "2.1.0",
|
|
129
|
+
"rollup-plugin-terser": "4.0.4",
|
|
130
|
+
"rollup-plugin-vue": "5.0.0",
|
|
131
|
+
"sass": "1.26.10",
|
|
132
|
+
"sass-loader": "7.3.1",
|
|
133
|
+
"scrollreveal": "3.3.6",
|
|
134
|
+
"semver": "5.3.0",
|
|
135
|
+
"shelljs": "0.8.4",
|
|
136
|
+
"sinon": "7.5.0",
|
|
137
|
+
"sortablejs": "1.7.0",
|
|
138
|
+
"uglifyjs-webpack-plugin": "1.2.5",
|
|
139
|
+
"url-loader": "0.5.8",
|
|
140
|
+
"vee-validate": "2.1.0-beta.9",
|
|
141
|
+
"vue": "2.6.11",
|
|
142
|
+
"vue-analytics": "4.1.3",
|
|
143
|
+
"vue-jest": "2.5.0",
|
|
144
|
+
"vue-loader": "15.9.3",
|
|
145
|
+
"vue-progressbar": "0.7.2",
|
|
146
|
+
"vue-router": "3.1.6",
|
|
147
|
+
"vue-style-loader": "3.0.1",
|
|
148
|
+
"vue-template-compiler": "2.6.11",
|
|
149
|
+
"webpack": "3.10.0",
|
|
150
|
+
"webpack-bundle-analyzer": "2.9.2",
|
|
151
|
+
"webpack-dev-server": "2.11.1",
|
|
152
|
+
"webpack-hot-middleware": "2.21.0",
|
|
153
|
+
"webpack-merge": "4.1.2"
|
|
154
|
+
},
|
|
155
|
+
"lint-staged": {
|
|
156
|
+
"*.{vue,js}": [
|
|
157
|
+
"lint --fix",
|
|
158
|
+
"git add"
|
|
159
|
+
]
|
|
160
|
+
},
|
|
161
|
+
"pre-commit": "lint:staged",
|
|
162
|
+
"engines": {
|
|
163
|
+
"node": ">= 4.0.0",
|
|
164
|
+
"npm": ">= 3.0.0"
|
|
165
|
+
},
|
|
166
|
+
"browserslist": [
|
|
167
|
+
"> 1%",
|
|
168
|
+
"last 2 versions",
|
|
169
|
+
"not ie <= 8"
|
|
170
|
+
]
|
|
171
|
+
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { mount } from '@vue/test-utils'
|
|
2
|
-
import BBreadcrumbItem from '@components/breadcrumb/BreadcrumbItem.vue'
|
|
3
|
-
|
|
4
|
-
describe('BBreadcrumbItem', () => {
|
|
5
|
-
let wrapper
|
|
6
|
-
beforeEach(() => {
|
|
7
|
-
wrapper = mount(BBreadcrumbItem, {
|
|
8
|
-
propsData: {
|
|
9
|
-
tag: 'a'
|
|
10
|
-
}
|
|
11
|
-
})
|
|
12
|
-
})
|
|
13
|
-
|
|
14
|
-
it('is called', () => {
|
|
15
|
-
expect(wrapper.isVueInstance()).toBeTruthy()
|
|
16
|
-
})
|
|
17
|
-
|
|
18
|
-
it('render correctly', () => {
|
|
19
|
-
expect(wrapper.html()).toMatchSnapshot()
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
it('should have a li tag', () => {
|
|
23
|
-
expect(wrapper.contains('li')).toBeTruthy()
|
|
24
|
-
})
|
|
25
|
-
})
|
|
1
|
+
import { mount } from '@vue/test-utils'
|
|
2
|
+
import BBreadcrumbItem from '@components/breadcrumb/BreadcrumbItem.vue'
|
|
3
|
+
|
|
4
|
+
describe('BBreadcrumbItem', () => {
|
|
5
|
+
let wrapper
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
wrapper = mount(BBreadcrumbItem, {
|
|
8
|
+
propsData: {
|
|
9
|
+
tag: 'a'
|
|
10
|
+
}
|
|
11
|
+
})
|
|
12
|
+
})
|
|
13
|
+
|
|
14
|
+
it('is called', () => {
|
|
15
|
+
expect(wrapper.isVueInstance()).toBeTruthy()
|
|
16
|
+
})
|
|
17
|
+
|
|
18
|
+
it('render correctly', () => {
|
|
19
|
+
expect(wrapper.html()).toMatchSnapshot()
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
it('should have a li tag', () => {
|
|
23
|
+
expect(wrapper.contains('li')).toBeTruthy()
|
|
24
|
+
})
|
|
25
|
+
})
|