wave-ui 3.21.1 → 3.23.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.
- package/dist/wave-ui.cjs.js +1 -1
- package/dist/wave-ui.css +1 -1
- package/dist/wave-ui.es.js +265 -268
- package/dist/wave-ui.umd.js +1 -1
- package/package.json +22 -16
- package/src/wave-ui/components/w-input.vue +5 -2
- package/src/wave-ui/components/w-table.vue +2 -2
- package/src/wave-ui/scss/_layout.scss +2 -0
- package/src/wave-ui/scss/variables/_variables.scss +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wave-ui",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.23.0",
|
|
4
4
|
"description": "A UI framework for Vue.js 3 (and 2) with only the bright side. :sunny:",
|
|
5
5
|
"author": "Antoni Andre <antoniandre.web@gmail.com>",
|
|
6
6
|
"homepage": "https://antoniandre.github.io/wave-ui",
|
|
@@ -18,8 +18,14 @@
|
|
|
18
18
|
],
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|
|
21
|
-
"import":
|
|
22
|
-
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/types/index.d.ts",
|
|
23
|
+
"default": "./dist/wave-ui.es.js"
|
|
24
|
+
},
|
|
25
|
+
"require": {
|
|
26
|
+
"types": "./dist/types/index.d.ts",
|
|
27
|
+
"default": "./dist/wave-ui.umd.js"
|
|
28
|
+
}
|
|
23
29
|
},
|
|
24
30
|
"./package.json": "./package.json",
|
|
25
31
|
"./dist/*": "./dist/*",
|
|
@@ -43,30 +49,30 @@
|
|
|
43
49
|
"ui"
|
|
44
50
|
],
|
|
45
51
|
"devDependencies": {
|
|
46
|
-
"@babel/core": "^7.
|
|
52
|
+
"@babel/core": "^7.27.4",
|
|
47
53
|
"@biomejs/biome": "^1.9.4",
|
|
48
|
-
"@faker-js/faker": "^9.
|
|
54
|
+
"@faker-js/faker": "^9.8.0",
|
|
49
55
|
"@mdi/font": "^7.4.47",
|
|
50
|
-
"@tsconfig/recommended": "^1.0.
|
|
51
|
-
"@vitejs/plugin-vue": "^5.2.
|
|
56
|
+
"@tsconfig/recommended": "^1.0.10",
|
|
57
|
+
"@vitejs/plugin-vue": "^5.2.4",
|
|
52
58
|
"autoprefixer": "^10.4.21",
|
|
53
|
-
"axios": "^1.
|
|
59
|
+
"axios": "^1.10.0",
|
|
54
60
|
"font-awesome": "^4.7.0",
|
|
55
|
-
"globals": "^16.
|
|
56
|
-
"gsap": "^3.
|
|
61
|
+
"globals": "^16.2.0",
|
|
62
|
+
"gsap": "^3.13.0",
|
|
57
63
|
"ionicons": "^4.6.3",
|
|
58
64
|
"material-design-icons": "^3.0.1",
|
|
59
|
-
"postcss": "^8.5.
|
|
65
|
+
"postcss": "^8.5.6",
|
|
60
66
|
"pug": "^3.0.3",
|
|
61
67
|
"rollup-plugin-delete": "^3.0.1",
|
|
62
|
-
"sass": "^1.
|
|
68
|
+
"sass": "^1.89.2",
|
|
63
69
|
"simple-syntax-highlighter": "^3.1.1",
|
|
64
|
-
"splitpanes": "^4.0.
|
|
70
|
+
"splitpanes": "^4.0.4",
|
|
65
71
|
"typescript": "^5.8.3",
|
|
66
|
-
"vite": "^6.
|
|
72
|
+
"vite": "^6.3.5",
|
|
67
73
|
"vite-svg-loader": "^5.1.0",
|
|
68
|
-
"vue": "^3.5.
|
|
69
|
-
"vue-router": "^4.5.
|
|
74
|
+
"vue": "^3.5.17",
|
|
75
|
+
"vue-router": "^4.5.1",
|
|
70
76
|
"vueperslides": "^3.6.0",
|
|
71
77
|
"vuex": "^4.1.0"
|
|
72
78
|
},
|
|
@@ -49,7 +49,8 @@ component(
|
|
|
49
49
|
:disabled="isDisabled || null"
|
|
50
50
|
:required="required || null"
|
|
51
51
|
:tabindex="tabindex || null"
|
|
52
|
-
v-bind="attrs"
|
|
52
|
+
v-bind="attrs"
|
|
53
|
+
:class="inputClass")
|
|
53
54
|
//- Input type file.
|
|
54
55
|
template(v-else)
|
|
55
56
|
input(
|
|
@@ -165,7 +166,8 @@ export default {
|
|
|
165
166
|
// https://stackoverflow.com/questions/16365668/pre-populate-html-form-file-input
|
|
166
167
|
files: { type: Array },
|
|
167
168
|
dark: { type: Boolean },
|
|
168
|
-
light: { type: Boolean }
|
|
169
|
+
light: { type: Boolean },
|
|
170
|
+
inputClass: { type: String } // Additional classes for the input element.
|
|
169
171
|
// Props from mixin: name, disabled, readonly, required, tabindex, validators.
|
|
170
172
|
// Computed from mixin: inputName, isDisabled & isReadonly.
|
|
171
173
|
},
|
|
@@ -408,6 +410,7 @@ $inactive-color: #777;
|
|
|
408
410
|
border: $border;
|
|
409
411
|
transition: border $transition-duration;
|
|
410
412
|
|
|
413
|
+
.w-ui.h-auto & {height: auto;}
|
|
411
414
|
.w-input--floating-label & {margin-top: 3 * $base-increment;}
|
|
412
415
|
.w-input[class^="bdrs"] &, .w-input[class*=" bdrs"] & {border-radius: inherit;}
|
|
413
416
|
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
tr.w-table__row(
|
|
74
74
|
v-else
|
|
75
75
|
@click="doSelectRow(item, i)"
|
|
76
|
-
:class="{ 'w-table__row--selected': selectedRowsByUid[item._uid] !== undefined, 'w-table__row--expanded': expandedRowsByUid[item._uid] !== undefined }")
|
|
76
|
+
:class="{ 'w-table__row--selected': selectedRowsByUid[item._uid] !== undefined, 'w-table__row--expanded': expandedRowsByUid[item._uid] !== undefined, [item.class]: item.class }")
|
|
77
77
|
template(v-for="(header, j) in headers")
|
|
78
78
|
td.w-table__cell(
|
|
79
79
|
v-if="$slots[`item-cell.${header.key}`] || $slots[`item-cell.${j + 1}`] || $slots['item-cell']"
|
|
@@ -806,7 +806,7 @@ $tr-border-top: 1px;
|
|
|
806
806
|
// Sorting arrow.
|
|
807
807
|
&__header--sortable {cursor: pointer;}
|
|
808
808
|
&__header-sort {
|
|
809
|
-
color: color-mix(in srgb, var(--w-base-color)
|
|
809
|
+
color: color-mix(in srgb, var(--w-base-color) 50%, transparent);
|
|
810
810
|
vertical-align: text-bottom;
|
|
811
811
|
@include default-transition;
|
|
812
812
|
|
|
@@ -39,7 +39,7 @@ $disabled-color: var(--w-disabled-color);
|
|
|
39
39
|
|
|
40
40
|
// GLOBAL DEFAULTS.
|
|
41
41
|
// ========================================================
|
|
42
|
-
$css-scope: '.w-app' !default; // Allows control on CSS rules priority.
|
|
42
|
+
$css-scope: 'html .w-app' !default; // Allows control on CSS rules priority.
|
|
43
43
|
// True by default. False allows you to use an external CSS library (like Tailwind).
|
|
44
44
|
$use-layout-classes: true !default;
|
|
45
45
|
|