wave-ui 3.4.4 → 3.4.6
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/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.css +1 -1
- package/dist/wave-ui.es.js +61 -54
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +15 -15
- package/src/wave-ui/components/w-input.vue +6 -1
- package/src/wave-ui/components/w-table.vue +12 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wave-ui",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.6",
|
|
4
4
|
"description": "An emerging UI framework for Vue.js (2 & 3) with only the bright side. :sunny:",
|
|
5
5
|
"author": "Antoni Andre <antoniandre.web@gmail.com>",
|
|
6
6
|
"homepage": "https://antoniandre.github.io/wave-ui",
|
|
@@ -47,35 +47,35 @@
|
|
|
47
47
|
"build-bundle": "BUNDLE=true vite build && mv ./dist/style.css ./dist/wave-ui.css",
|
|
48
48
|
"serve": "vite preview --base /wave-ui/",
|
|
49
49
|
"lint": "vite lint",
|
|
50
|
-
"publish": "npm run build && npm run build-bundle && git add . && git commit -m 'Publish documentation on Github.' && git push && git push --tag
|
|
50
|
+
"publish-doc": "npm run build && npm run build-bundle && git add . && git commit -m 'Publish documentation on Github.' && git push && git push --tag"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@babel/core": "^7.
|
|
54
|
-
"@babel/eslint-parser": "^7.
|
|
53
|
+
"@babel/core": "^7.22.10",
|
|
54
|
+
"@babel/eslint-parser": "^7.22.10",
|
|
55
55
|
"@babel/plugin-proposal-class-properties": "^7.18.6",
|
|
56
56
|
"@faker-js/faker": "^7.6.0",
|
|
57
57
|
"@mdi/font": "^5.9.55",
|
|
58
58
|
"@vitejs/plugin-vue": "^3.2.0",
|
|
59
59
|
"@vue/compiler-sfc": "3.2.45",
|
|
60
|
-
"autoprefixer": "^10.4.
|
|
61
|
-
"axios": "^1.
|
|
62
|
-
"eslint": "^8.
|
|
63
|
-
"eslint-plugin-vue": "^9.
|
|
60
|
+
"autoprefixer": "^10.4.15",
|
|
61
|
+
"axios": "^1.4.0",
|
|
62
|
+
"eslint": "^8.47.0",
|
|
63
|
+
"eslint-plugin-vue": "^9.17.0",
|
|
64
64
|
"font-awesome": "^4.7.0",
|
|
65
|
-
"gsap": "^3.
|
|
65
|
+
"gsap": "^3.12.2",
|
|
66
66
|
"ionicons": "^4.6.3",
|
|
67
67
|
"material-design-icons": "^3.0.1",
|
|
68
|
-
"postcss": "^8.4.
|
|
68
|
+
"postcss": "^8.4.27",
|
|
69
69
|
"pug": "^3.0.2",
|
|
70
70
|
"rollup-plugin-delete": "^2.0.0",
|
|
71
|
-
"sass": "^1.
|
|
71
|
+
"sass": "^1.65.1",
|
|
72
72
|
"simple-syntax-highlighter": "^2.2.5",
|
|
73
73
|
"splitpanes": "^3.1.5",
|
|
74
|
-
"standard": "^17.
|
|
75
|
-
"vite": "^3.2.
|
|
74
|
+
"standard": "^17.1.0",
|
|
75
|
+
"vite": "^3.2.7",
|
|
76
76
|
"vite-svg-loader": "^4.0.0",
|
|
77
|
-
"vue": "^3.
|
|
78
|
-
"vue-router": "^4.
|
|
77
|
+
"vue": "^3.3.4",
|
|
78
|
+
"vue-router": "^4.2.4",
|
|
79
79
|
"vueperslides": "^3.5.1",
|
|
80
80
|
"vuex": "^4.1.0"
|
|
81
81
|
},
|
|
@@ -186,6 +186,8 @@ export default {
|
|
|
186
186
|
// Keep the `class` attribute bound to the wrapper and not the input.
|
|
187
187
|
// eslint-disable-next-line no-unused-vars
|
|
188
188
|
const { class: classes, ...htmlAttrs } = this.$attrs
|
|
189
|
+
// Resets the input[type=file] the native HTML way.
|
|
190
|
+
if (this.type === 'file' && !this.inputFiles.length) htmlAttrs.value = null
|
|
189
191
|
return htmlAttrs
|
|
190
192
|
},
|
|
191
193
|
|
|
@@ -361,7 +363,10 @@ export default {
|
|
|
361
363
|
modelValue (value) {
|
|
362
364
|
this.inputValue = value
|
|
363
365
|
// When clearing the field value, also reset the isAutofilled var for the CSS class.
|
|
364
|
-
if (!value && value !== 0)
|
|
366
|
+
if (!value && value !== 0) {
|
|
367
|
+
this.isAutofilled = false
|
|
368
|
+
this.inputFiles = []
|
|
369
|
+
}
|
|
365
370
|
}
|
|
366
371
|
}
|
|
367
372
|
}
|
|
@@ -285,7 +285,14 @@ export default {
|
|
|
285
285
|
columnEl: null,
|
|
286
286
|
nextColumnEl: null
|
|
287
287
|
},
|
|
288
|
-
paginationConfig: {
|
|
288
|
+
paginationConfig: {
|
|
289
|
+
itemsPerPage: 0,
|
|
290
|
+
itemsPerPageOptions: {},
|
|
291
|
+
start: undefined,
|
|
292
|
+
end: undefined,
|
|
293
|
+
page: 1,
|
|
294
|
+
total: 0
|
|
295
|
+
}
|
|
289
296
|
}),
|
|
290
297
|
|
|
291
298
|
computed: {
|
|
@@ -925,6 +932,8 @@ $tr-border-top: 1px;
|
|
|
925
932
|
.pages-wrap {
|
|
926
933
|
margin-left: 3 * $base-increment;
|
|
927
934
|
margin-right: 3 * $base-increment;
|
|
935
|
+
padding-left: 1px; // Prevent overflow causing scrollbar.
|
|
936
|
+
padding-right: 1px;
|
|
928
937
|
overflow: auto;
|
|
929
938
|
max-height: 4.5em;
|
|
930
939
|
}
|
|
@@ -961,6 +970,8 @@ $tr-border-top: 1px;
|
|
|
961
970
|
margin-left: $base-increment;
|
|
962
971
|
margin-right: $base-increment;
|
|
963
972
|
white-space: nowrap;
|
|
973
|
+
min-width: 90px;
|
|
974
|
+
text-align: right;
|
|
964
975
|
}
|
|
965
976
|
}
|
|
966
977
|
}
|