wave-ui 2.40.2 → 2.40.3

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,8 +1,11 @@
1
1
  {
2
2
  "name": "wave-ui",
3
- "version": "2.40.2",
3
+ "version": "2.40.3",
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
+ "license": "MIT",
7
+ "repository": "https://github.com/antoniandre/wave-ui",
8
+ "funding": "https://github.com/sponsors/antoniandre",
6
9
  "main": "./dist/wave-ui.umd.js",
7
10
  "unpkg": "dist/wave-ui.umd.js",
8
11
  "jsdelivr": "dist/wave-ui.umd.js",
@@ -30,8 +33,6 @@
30
33
  "vue framework",
31
34
  "ui"
32
35
  ],
33
- "license": "MIT",
34
- "repository": "https://github.com/antoniandre/wave-ui",
35
36
  "scripts": {
36
37
  "dev": "vite",
37
38
  "build": "vite build --base /wave-ui/",
@@ -1,7 +1,7 @@
1
1
  <template lang="pug">
2
2
  .w-divider(
3
3
  :class="classes"
4
- role="presentation"
4
+ :role="$slots.default ? null : 'presentation'"
5
5
  :aria-orientation="vertical ? 'vertical' : 'horizontal'")
6
6
  slot
7
7
  </template>
@@ -144,12 +144,10 @@ export default {
144
144
  el.Validation.message = validationMessage
145
145
  },
146
146
 
147
+ // Reset is called from:
148
+ // - the form `reset` event listener
149
+ // - the modelValue watcher when set to `null`.
147
150
  reset (e) {
148
- // Reset is called from:
149
- // - the form `reset` event listener
150
- // - the modelValue watcher when set to `null`.
151
- // Prevent resetting twice on form reset that sets the modelValue to null.
152
- if (!e) return
153
151
  this.status = null
154
152
 
155
153
  // Since the whole w-form may be disabled or readonly,