@mozaic-ds/vue 0.8.0 → 0.8.2-beta.1

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": "@mozaic-ds/vue",
3
- "version": "0.8.0",
3
+ "version": "0.8.2-beta.1",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build ./src/index.js",
@@ -60,7 +60,8 @@
60
60
  "dist/*",
61
61
  "src/*",
62
62
  "types/*",
63
- "*.d.ts"
63
+ "*.d.ts",
64
+ "postinstall.js"
64
65
  ],
65
66
  "types": "./types/index.d.ts",
66
67
  "repository": {
package/postinstall.js ADDED
@@ -0,0 +1,6 @@
1
+ const package = require('./package.json');
2
+
3
+ console.log(`${package.name} installed`);
4
+ console.log(
5
+ "MTextInput change coming on the 01/12/2021. All input events will be available and will receive the event object. The blur event won't receive the value anymore."
6
+ );
@@ -40,8 +40,6 @@ export default {
40
40
  MIcon,
41
41
  },
42
42
 
43
- inheritAttrs: false,
44
-
45
43
  props: {
46
44
  id: {
47
45
  type: String,
@@ -91,7 +89,8 @@ export default {
91
89
 
92
90
  setLabelClasses() {
93
91
  return {
94
- 'mc-accordion__header__label--with-before-slot': this.$slots.beforeLabel,
92
+ 'mc-accordion__header__label--with-before-slot':
93
+ this.$slots.beforeLabel,
95
94
  'mc-accordion__header__label--with-after-slot': this.$slots.afterLabel,
96
95
  };
97
96
  },
@@ -101,18 +100,18 @@ export default {
101
100
  open: function () {
102
101
  this.checked = !this.checked;
103
102
  },
104
- checked:function() {
105
- this.$emit('update:open',this.checked);
106
- }
103
+ checked: function () {
104
+ this.$emit('update:open', this.checked);
105
+ },
107
106
  },
108
107
 
109
- methods:{
110
- onClick(){
111
- if(this.disabled === false) {
108
+ methods: {
109
+ onClick() {
110
+ if (this.disabled === false) {
112
111
  this.checked = !this.checked;
113
112
  }
114
- }
115
- }
113
+ },
114
+ },
116
115
  };
117
116
  </script>
118
117