@mozaic-ds/vue 0.20.0-beta.1 → 0.20.0-beta.2

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,14 +1,14 @@
1
1
  {
2
2
  "name": "@mozaic-ds/vue",
3
- "version": "0.20.0-beta.1",
3
+ "version": "0.20.0-beta.2",
4
4
  "description": "Vue.js implementation of Mozaic Design System",
5
5
  "author": "Adeo - Mozaic Design System",
6
6
  "scripts": {
7
7
  "serve": "vue-cli-service serve",
8
8
  "build": "vue-cli-service build ./src/index.js",
9
9
  "lint": "vue-cli-service lint",
10
- "build:bundle": "vue-cli-service build --target lib --name mozaic-vue ./src/index.js",
11
- "build:bundleAdeo": "vue-cli-service build --target lib --formats umd --mode adeo --filename mozaic-vue.adeo ./src/index.js --no-clean",
10
+ "build:bundle": "vue-cli-service build --target lib --inline-vue --name mozaic-vue ./src/index.js",
11
+ "build:bundleAdeo": "vue-cli-service build --mode adeo --target lib --formats umd --inline-vue --filename mozaic-vue.adeo ./src/index.js --no-clean",
12
12
  "postinstall": "node postinstall.js",
13
13
  "prepublishOnly": "npm run-script build:bundle && npm run-script build:bundleAdeo",
14
14
  "publish:beta": "npm publish --access public --tag alpha",
@@ -28,7 +28,6 @@
28
28
  "@mozaic-ds/styles": "1.33.0",
29
29
  "@mozaic-ds/web-fonts": "1.22.0",
30
30
  "@vue/composition-api": "^1.6.2",
31
- "@vueuse/components": "^8.6.0",
32
31
  "@vueuse/core": "^8.6.0",
33
32
  "core-js": "^3.18.3",
34
33
  "libphonenumber-js": "1.9.50",
@@ -47,10 +47,6 @@
47
47
  </template>
48
48
 
49
49
  <script>
50
- // import Vue from 'vue';
51
- // import VueCompositionAPI from '@vue/composition-api';
52
- // Vue.use(VueCompositionAPI);
53
-
54
50
  import {
55
51
  ref,
56
52
  reactive,
@@ -58,7 +54,6 @@ import {
58
54
  computed,
59
55
  nextTick,
60
56
  } from '@vue/composition-api';
61
-
62
57
  import { onClickOutside } from '@vueuse/core';
63
58
  import MListBox from '../listbox/MListBox.vue';
64
59
  import MTag from '../tags/MTag.vue';
@@ -173,7 +168,7 @@ export default {
173
168
  state.itemDisplayed = list[0].value;
174
169
  } else {
175
170
  state.open = true;
176
- // manageTag();
171
+ manageTag();
177
172
  }
178
173
  state.selected = list;
179
174
  emit('update:modelValue', list);
@@ -181,7 +176,7 @@ export default {
181
176
 
182
177
  const removeElementsFromList = () => {
183
178
  state.selected = [];
184
- // manageTag();
179
+ manageTag();
185
180
  emit('update:modelValue', state.selected);
186
181
  emit('list-removed');
187
182
  };
@@ -34,9 +34,6 @@
34
34
  </template>
35
35
 
36
36
  <script>
37
- // import Vue from 'vue';
38
- // import VueCompositionAPI from '@vue/composition-api';
39
- // Vue.use(VueCompositionAPI);
40
37
  import { reactive, watch, ref } from '@vue/composition-api';
41
38
  import MCheckbox from '../checkbox/MCheckbox.vue';
42
39