@bildvitta/quasar-ui-asteroid 3.5.0-beta.13 → 3.5.0-beta.14

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@bildvitta/quasar-ui-asteroid",
3
3
  "description": "Asteroid",
4
- "version": "3.5.0-beta.13",
4
+ "version": "3.5.0-beta.14",
5
5
  "author": "Bild & Vitta <systemteam@bild.com.br>",
6
6
  "license": "MIT",
7
7
  "main": "dist/asteroid.cjs.min.js",
@@ -18,7 +18,7 @@
18
18
  </div>
19
19
 
20
20
  <div v-if="$qas.screen.isSmall" class="q-ml-xl">
21
- <qas-btn color="grey-9" dense flat icon="sym_r_close" rounded />
21
+ <qas-btn color="grey-9" dense flat icon="sym_r_close" rounded @click="closeDrawer" />
22
22
  </div>
23
23
  </div>
24
24
 
@@ -172,7 +172,7 @@ export default {
172
172
  },
173
173
 
174
174
  drawerWidth () {
175
- return this.$qas.screen.isSmall ? 280 : 320
175
+ return this.$qas.screen.isSmall ? 320 : 280
176
176
  },
177
177
 
178
178
  hasDevelopmentBadge () {
@@ -247,6 +247,10 @@ export default {
247
247
 
248
248
  signOut () {
249
249
  this.$emit('sign-out')
250
+ },
251
+
252
+ closeDrawer () {
253
+ this.$emit('update:modelValue', false)
250
254
  }
251
255
  }
252
256
  }