@magicgol/polyjuice 0.18.2 → 0.18.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.18.2",
3
+ "version": "0.18.3",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1,7 +1,8 @@
1
1
  <template>
2
2
  <div
3
3
  class="d-inline-flex rounded-circle align-items-center justify-content-center"
4
- v-bind:class="classes"
4
+ :class="classes"
5
+ @click="onClick"
5
6
  >
6
7
  <svgicon
7
8
  :name="icon"
@@ -51,6 +52,12 @@ export default {
51
52
  };
52
53
  },
53
54
  },
55
+
56
+ methods: {
57
+ onClick () {
58
+ this.$emit('click');
59
+ }
60
+ }
54
61
  };
55
62
  </script>
56
63
 
@@ -1,6 +1,6 @@
1
1
  import {ColorItem, ColorPalette, Meta} from '@storybook/addon-docs';
2
2
 
3
- <Meta title="Colors/Brand" />
3
+ <Meta title="Colors/Typography" />
4
4
 
5
5
  <ColorPalette>
6
6
  <ColorItem