wave-ui 3.22.0 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wave-ui",
3
- "version": "3.22.0",
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": "./dist/wave-ui.es.js",
22
- "require": "./dist/wave-ui.umd.js"
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/*",
@@ -47,7 +53,7 @@
47
53
  "@biomejs/biome": "^1.9.4",
48
54
  "@faker-js/faker": "^9.8.0",
49
55
  "@mdi/font": "^7.4.47",
50
- "@tsconfig/recommended": "^1.0.8",
56
+ "@tsconfig/recommended": "^1.0.10",
51
57
  "@vitejs/plugin-vue": "^5.2.4",
52
58
  "autoprefixer": "^10.4.21",
53
59
  "axios": "^1.10.0",
@@ -56,7 +62,7 @@
56
62
  "gsap": "^3.13.0",
57
63
  "ionicons": "^4.6.3",
58
64
  "material-design-icons": "^3.0.1",
59
- "postcss": "^8.5.5",
65
+ "postcss": "^8.5.6",
60
66
  "pug": "^3.0.3",
61
67
  "rollup-plugin-delete": "^3.0.1",
62
68
  "sass": "^1.89.2",
@@ -65,7 +71,7 @@
65
71
  "typescript": "^5.8.3",
66
72
  "vite": "^6.3.5",
67
73
  "vite-svg-loader": "^5.1.0",
68
- "vue": "^3.5.16",
74
+ "vue": "^3.5.17",
69
75
  "vue-router": "^4.5.1",
70
76
  "vueperslides": "^3.6.0",
71
77
  "vuex": "^4.1.0"
@@ -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
 
@@ -16,6 +16,8 @@
16
16
  .no-shrink {flex-shrink: 0;}
17
17
  .fill-width {width: 100%;}
18
18
  .fill-height {height: 100%;}
19
+ .h-auto {height: auto;}
20
+ .h-screen {height: 100vh;}
19
21
  .basis-zero {flex-basis: 0;}
20
22
  .wrap {flex-wrap: wrap;}
21
23
  .no-wrap {flex-wrap: nowrap;}
@@ -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