@magicgol/polyjuice 0.10.0 → 0.12.0

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.
Files changed (27) hide show
  1. package/.storybook/preview-head.html +1 -1
  2. package/package.json +1 -1
  3. package/src/assets/palette.scss +4 -0
  4. package/src/components/card/horizontal-card/HCard.vue +0 -6
  5. package/src/components/card/vertical-card/VCard.stories.js +24 -2
  6. package/src/components/card/vertical-card/VCard.vue +13 -2
  7. package/src/components/club/button/primary-club-button/PrimaryClubButton.vue +1 -1
  8. package/src/components/club/button/secondary-club-button/SecondaryClubButton.vue +1 -1
  9. package/src/components/club/plate/ClubPlate.stories.js +20 -0
  10. package/src/components/club/plate/ClubPlate.vue +54 -0
  11. package/src/components/form/button/toggle-button/ToggleButton.vue +2 -8
  12. package/src/components/form/checkbox/checkbox/Checkbox.vue +0 -6
  13. package/src/components/form/checkbox/switch/Switch.vue +1 -19
  14. package/src/components/form/input/input/Input.stories.js +37 -0
  15. package/src/components/form/input/input/Input.vue +150 -0
  16. package/src/components/image/profile-image/ProfileImage.stories.js +8 -1
  17. package/src/components/image/profile-image/ProfileImage.vue +3 -3
  18. package/src/components/typography/h1/HeadingOne.stories.js +1 -1
  19. package/src/components/typography/h4/HeadingFour.stories.js +34 -0
  20. package/src/components/typography/h4/HeadingFour.vue +25 -0
  21. package/src/components/typography/h6/HeadingSix.stories.js +34 -0
  22. package/src/components/typography/h6/HeadingSix.vue +26 -0
  23. package/src/components/typography/paragraph/Paragraph.stories.js +34 -0
  24. package/src/components/typography/paragraph/Paragraph.vue +25 -0
  25. package/src/documentation/Community.stories.mdx +1 -1
  26. package/src/main.js +0 -24
  27. package/src/App.vue +0 -28
@@ -1,4 +1,4 @@
1
1
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
2
2
  <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
3
3
 
4
- <link href="https://fonts.googleapis.com/css?family=Ubuntu:500,600" rel="stylesheet" />
4
+ <link href="https://fonts.googleapis.com/css?family=Ubuntu:400,500,600,700" rel="stylesheet" />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@magicgol/polyjuice",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -1,15 +1,19 @@
1
1
  $palette: (
2
+ // BRAND
2
3
  'brand': #d81159,
3
4
  'freemium' :#004781,
4
5
  'coin': #ffcf73,
5
6
  'expertClub': #075169,
7
+ // ALERT
6
8
  'warning': #ff614c,
7
9
  'success': #349B50,
8
10
  'info': #004781,
11
+ // FOOTBALLERS
9
12
  'goalkeeper': #ffc700,
10
13
  'defender': #3de000,
11
14
  'midfielder': #116dd8,
12
15
  'forward': #f30026,
16
+ // LIVE
13
17
  'online': #00b669,
14
18
  'offline': #ea7203,
15
19
  );
@@ -30,12 +30,6 @@ export default {
30
30
  };
31
31
  }
32
32
  },
33
-
34
- methods: {
35
- onClick() {
36
- this.$emit('click');
37
- },
38
- },
39
33
  };
40
34
  </script>
41
35
 
@@ -17,6 +17,18 @@ export default {
17
17
  summary: 'html',
18
18
  },
19
19
  }
20
+ },
21
+ footer: {
22
+ description: "The footer content goes here",
23
+ control: {
24
+ type: 'text',
25
+ },
26
+ table: {
27
+ category: 'Slots',
28
+ type: {
29
+ summary: 'html',
30
+ },
31
+ }
20
32
  }
21
33
  },
22
34
  };
@@ -25,11 +37,21 @@ export default {
25
37
  const Template = (args, { argTypes }) => ({
26
38
  props: Object.keys(argTypes),
27
39
  components: { MgVCard },
28
- template: `<mg-v-card @click="$emit('click')" v-bind="$props"><template v-if="${'default' in args}" v-slot>${args.default}</template></mg-v-card>`,
40
+ template: `<mg-v-card @click="$emit('click')" v-bind="$props">
41
+ <template v-if="${'default' in args}" v-slot>${args.default}</template>
42
+ <template v-if="${'footer' in args}" v-slot:footer>${args.footer}</template>
43
+ </mg-v-card>`,
29
44
  });
30
45
 
31
46
  export const Default = Template.bind({});
32
47
  // More on args: https://storybook.js.org/docs/vue/writing-stories/args
33
48
  Default.args = {
34
- default: '<p>This is a vertical card.</p><div>What do you think about?</div>'
49
+ default: '<div>This is a vertical card.</div><div>What do you think about?</div>'
50
+ };
51
+
52
+ export const Footer = Template.bind({});
53
+ // More on args: https://storybook.js.org/docs/vue/writing-stories/args
54
+ Footer.args = {
55
+ default: '<div>This is a vertical card.</div><div>What do you think about?</div>',
56
+ footer: '<div>The footer content goes here</div>'
35
57
  };
@@ -1,10 +1,14 @@
1
1
  <template>
2
2
  <div
3
- class="p-3 bg-white rounded"
3
+ class="rounded overflow-hidden"
4
4
  :class="classes"
5
5
  @click="onClick"
6
6
  >
7
- <slot></slot>
7
+ <div class="p-3 bg-white"><slot></slot></div>
8
+ <div
9
+ class="mg-footer p-3"
10
+ v-if="footerVisibility"
11
+ ><slot name="footer"></slot></div>
8
12
  </div>
9
13
  </template>
10
14
 
@@ -17,6 +21,9 @@ export default {
17
21
  return {
18
22
  'mg-v-card': true,
19
23
  };
24
+ },
25
+ footerVisibility() {
26
+ return this.$slots['footer']
20
27
  }
21
28
  },
22
29
 
@@ -33,5 +40,9 @@ export default {
33
40
 
34
41
  .mg-v-card {
35
42
  box-shadow: 0 8px 22px 0 rgba(0, 0, 0, 0.3);
43
+
44
+ .mg-footer {
45
+ background-color: rgba(map-get($palette, 'brand'), 0.04);
46
+ }
36
47
  }
37
48
  </style>
@@ -4,7 +4,7 @@
4
4
  class="w-100 rounded justify-content-center align-items-center p-2 border-0 text-white text-uppercase d-flex"
5
5
  :class="classes"
6
6
  :disabled="disabled"
7
- @click="$emit('click')"
7
+ @click="onClick"
8
8
  >
9
9
  <svgicon name="star-c"></svgicon>
10
10
  <div class="ml-2">
@@ -4,7 +4,7 @@
4
4
  type="button"
5
5
  :class="classes"
6
6
  :disabled="disabled"
7
- @click="$emit('click')"
7
+ @click="onClick"
8
8
  >
9
9
  <div class="d-flex justify-content-center align-items-center">
10
10
  <svgicon name="star-stroke-p"></svgicon>
@@ -0,0 +1,20 @@
1
+ import MgClubPlate from './ClubPlate.vue';
2
+
3
+ // More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
4
+ export default {
5
+ title: 'Club/Plate',
6
+ component: MgClubPlate,
7
+ };
8
+
9
+ // More on component templates: https://storybook.js.org/docs/vue/writing-stories/introduction#using-args
10
+ const Template = (args, { argTypes }) => ({
11
+ props: Object.keys(argTypes),
12
+ components: { MgClubPlate },
13
+ template: `<mg-club-plate v-bind="$props"></mg-club-plate>`,
14
+ });
15
+
16
+ export const Default = Template.bind({});
17
+ // More on args: https://storybook.js.org/docs/vue/writing-stories/args
18
+ Default.args = {
19
+ achievement: '2.2k'
20
+ };
@@ -0,0 +1,54 @@
1
+ <template>
2
+ <div
3
+ class="d-inline-flex flex-column text-center"
4
+ :class="classes"
5
+ >
6
+ <svgicon
7
+ name="star-c"
8
+ ></svgicon>
9
+ <div class="mt-1">{{ achievement }}</div>
10
+ </div>
11
+ </template>
12
+
13
+ <script>
14
+ export default {
15
+ name: 'mg-club-plate',
16
+
17
+ props: {
18
+ achievement: {
19
+ type: String,
20
+ default: null,
21
+ },
22
+ },
23
+
24
+ computed: {
25
+ classes() {
26
+ return {
27
+ 'mg-club-plate': true,
28
+ };
29
+ }
30
+ },
31
+
32
+ methods: {
33
+ onClick() {
34
+ this.$emit('click');
35
+ },
36
+ },
37
+ };
38
+ </script>
39
+
40
+ <style lang="scss">
41
+ @import '../../../assets/palette';
42
+
43
+ .mg-club-plate {
44
+ color: map-get($palette, 'expertClub');
45
+ font-family: 'Ubuntu', sans-serif;
46
+ font-size: 0.75rem;
47
+ font-weight: 700;
48
+
49
+ svg {
50
+ fill: map-get($palette, 'expertClub');
51
+ height: 1.25rem;
52
+ }
53
+ }
54
+ </style>
@@ -16,7 +16,7 @@
16
16
  <span><slot></slot></span>
17
17
  </label>
18
18
  <div
19
- v-if="contentSlotVisibility"
19
+ v-if="contentVisibility"
20
20
  class="p-2"
21
21
  ><slot name="content"></slot></div>
22
22
  </div>
@@ -43,16 +43,10 @@ export default {
43
43
  'mg-toggle-button--on': this.value === true
44
44
  };
45
45
  },
46
- contentSlotVisibility() {
46
+ contentVisibility() {
47
47
  return this.$slots['content'] && this.value === true
48
48
  }
49
49
  },
50
-
51
- methods: {
52
- onClick() {
53
- this.$emit('click');
54
- },
55
- },
56
50
  };
57
51
  </script>
58
52
 
@@ -50,12 +50,6 @@ export default {
50
50
  };
51
51
  }
52
52
  },
53
-
54
- methods: {
55
- onClick() {
56
- this.$emit('click');
57
- },
58
- },
59
53
  };
60
54
  </script>
61
55
 
@@ -11,9 +11,7 @@
11
11
  >
12
12
  <span class="mg-switch-slider"></span>
13
13
  <span class="mg-switch-icon">
14
- <svgicon
15
- name="check-with-circle"
16
- ></svgicon>
14
+ <svgicon name="check-with-circle"></svgicon>
17
15
  </span>
18
16
  </label>
19
17
  </template>
@@ -147,21 +145,5 @@ export default {
147
145
  opacity: 0.6 !important;
148
146
  cursor: not-allowed !important;
149
147
  }
150
- //
151
-
152
- //
153
- // &--blocked {
154
- // .mg-switch-slider {
155
- // background-color: map-get($palette, 'success');
156
- //
157
- // &:before {
158
- // content: none;
159
- // }
160
- // }
161
- //
162
- // .mg-switch-check {
163
- // display: block !important;
164
- // }
165
- // }
166
148
  }
167
149
  </style>
@@ -0,0 +1,37 @@
1
+ import MgInput from './Input.vue';
2
+
3
+ // More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
4
+ export default {
5
+ title: 'Form/Input/Input',
6
+ component: MgInput,
7
+ // More on argTypes: https://storybook.js.org/docs/vue/api/argtypes
8
+ argTypes: {
9
+ },
10
+ };
11
+
12
+ // More on component templates: https://storybook.js.org/docs/vue/writing-stories/introduction#using-args
13
+ const Template = (args, { argTypes }) => ({
14
+ props: Object.keys(argTypes),
15
+ components: { MgInput },
16
+ template: `<mg-input @click="$emit('click')" v-bind="$props"></mg-input>`,
17
+ });
18
+
19
+ export const Default = Template.bind({});
20
+ // More on args: https://storybook.js.org/docs/vue/writing-stories/args
21
+ Default.args = {
22
+ disabled: false,
23
+ value: 'given input'
24
+ };
25
+
26
+ export const Disabled = Template.bind({});
27
+ Disabled.args = {
28
+ disabled: true,
29
+ value: 'given input',
30
+ };
31
+
32
+ export const Error = Template.bind({});
33
+ Error.args = {
34
+ disabled: false,
35
+ value: 'given input',
36
+ error: true
37
+ };
@@ -0,0 +1,150 @@
1
+ <template>
2
+ <div
3
+ class="d-flex align-items-center"
4
+ :class="classes"
5
+ >
6
+ <input
7
+ ref="input"
8
+ class="border-0 w-100 bg-transparent"
9
+ :autocapitalize="autocapitalize"
10
+ :autocomplete="autocomplete"
11
+ :disabled="disabled"
12
+ :name="name"
13
+ :id="id"
14
+ :min="min"
15
+ :step="step"
16
+ :placeholder="placeholder"
17
+ :type="type"
18
+ :value="value"
19
+ @input="onInput"
20
+ @focus="onFocus"
21
+ @blur="onBlur"
22
+ />
23
+ </div>
24
+ </template>
25
+
26
+ <script>
27
+ export default {
28
+ name: 'mg-input',
29
+
30
+ data () {
31
+ return {
32
+ focus: false,
33
+ };
34
+ },
35
+
36
+ props: {
37
+ autocapitalize: {
38
+ type: String,
39
+ default: 'on'
40
+ },
41
+ autocomplete: {
42
+ type: String,
43
+ default: 'off'
44
+ },
45
+ disabled: {
46
+ type: Boolean,
47
+ default: false,
48
+ },
49
+ error: {
50
+ type: Boolean,
51
+ default: false,
52
+ },
53
+ id: {
54
+ type: String,
55
+ default: null
56
+ },
57
+ name: {
58
+ type: String
59
+ },
60
+ placeholder: {
61
+ type: String
62
+ },
63
+ type: {
64
+ type: String,
65
+ default: 'text'
66
+ },
67
+ value: {
68
+ type: [String, Number],
69
+ default: null
70
+ },
71
+ min: {
72
+ default: null
73
+ },
74
+ step: {
75
+ default: null
76
+ },
77
+ },
78
+
79
+ computed: {
80
+ classes() {
81
+ return {
82
+ 'mg-input': true,
83
+ 'mg-input--disabled': this.disabled,
84
+ 'mg-input--errored': this.error === true,
85
+ 'mg-input--focused': this.focus === true,
86
+ };
87
+ }
88
+ },
89
+
90
+ methods: {
91
+ onInput($event) {
92
+ this.$emit('input', $event.target.value);
93
+ },
94
+ onFocus() {
95
+ this.focus = true;
96
+ this.$emit('focus');
97
+ },
98
+ onBlur() {
99
+ this.focus = false;
100
+ this.$emit('blur');
101
+ },
102
+ }
103
+ };
104
+ </script>
105
+
106
+ <style lang="scss">
107
+ @import '../../../../assets/palette';
108
+
109
+ .mg-input {
110
+ border-bottom: 1px solid #d8d8d8;
111
+
112
+ input {
113
+ color: #666666;
114
+ font-family: 'Raleway', sans-serif;
115
+ font-size: 1rem;
116
+ font-weight: 600;
117
+ letter-spacing: 0.54px;
118
+ padding: 0.5rem;
119
+
120
+ &:-webkit-autofill {
121
+ -webkit-box-shadow: 0 0 0 30px white inset;
122
+ -webkit-text-fill-color: #666666;
123
+ caret-color: #666666;
124
+ }
125
+
126
+ &:focus {
127
+ outline: 0;
128
+ }
129
+
130
+ &::placeholder {
131
+ color: #ccc;
132
+ font-size: 0.8125rem;
133
+ font-weight: 600;
134
+ }
135
+ }
136
+
137
+ &--disabled {
138
+ opacity: 0.6 !important;
139
+ cursor: not-allowed !important;
140
+ }
141
+
142
+ &--errored {
143
+ border-bottom-color: map-get($palette, 'warning') !important;
144
+ }
145
+
146
+ &--focused {
147
+ border-bottom-color: #414141;
148
+ }
149
+ }
150
+ </style>
@@ -29,7 +29,14 @@ const Template = (args, { argTypes }) => ({
29
29
  export const Default = Template.bind({});
30
30
  // More on args: https://storybook.js.org/docs/vue/writing-stories/args
31
31
  Default.args = {
32
- // active: false,
32
+ name: 'Mg',
33
+ };
34
+
35
+ export const Image = Template.bind({});
36
+ // More on args: https://storybook.js.org/docs/vue/writing-stories/args
37
+ Image.args = {
38
+ name: 'VdF',
39
+ imageUrl: 'https://magicgol.it/wp-content/uploads/2021/09/EspertoFantacalcio_DanteGregorio_MagicGol.jpg'
33
40
  };
34
41
 
35
42
  export const Large = Template.bind({});
@@ -80,9 +80,9 @@ export default {
80
80
  font-weight: 600;
81
81
 
82
82
  &--normal {
83
- height: 2.5rem;
84
- font-size: 1rem;
85
- width: 2.5rem;
83
+ height: 3rem;
84
+ font-size: 1.125rem;
85
+ width: 3rem;
86
86
  }
87
87
 
88
88
  &--large {
@@ -2,7 +2,7 @@ import MgHeadingOne from './HeadingOne.vue';
2
2
 
3
3
  // More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
4
4
  export default {
5
- title: 'Typography/H1/H1',
5
+ title: 'Typography/Heading/H1',
6
6
  component: MgHeadingOne,
7
7
  // More on argTypes: https://storybook.js.org/docs/vue/api/argtypes
8
8
  argTypes: {
@@ -0,0 +1,34 @@
1
+ import MgHeadingFour from './HeadingFour.vue';
2
+
3
+ // More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
4
+ export default {
5
+ title: 'Typography/Heading/H4',
6
+ component: MgHeadingFour,
7
+ // More on argTypes: https://storybook.js.org/docs/vue/api/argtypes
8
+ argTypes: {
9
+ default: {
10
+ description: "The default Vue slot",
11
+ control: {
12
+ type: 'text',
13
+ },
14
+ table: {
15
+ category: 'Slots',
16
+ type: {
17
+ summary: 'html',
18
+ },
19
+ }
20
+ }
21
+ },
22
+ };
23
+
24
+ // More on component templates: https://storybook.js.org/docs/vue/writing-stories/introduction#using-args
25
+ const Template = args => ({
26
+ components: { MgHeadingFour },
27
+ template: `<mg-heading-four><template v-if="${'default' in args}" v-slot>${args.default}</template></mg-heading-four>`,
28
+ });
29
+
30
+ export const Default = Template.bind({});
31
+ // More on args: https://storybook.js.org/docs/vue/writing-stories/args
32
+ Default.args = {
33
+ default: 'heading four'
34
+ };
@@ -0,0 +1,25 @@
1
+ <template>
2
+ <div v-bind:class="classes"><slot></slot></div>
3
+ </template>
4
+
5
+ <script>
6
+ export default {
7
+ name: 'mg-heading-four',
8
+
9
+ computed: {
10
+ classes() {
11
+ return {
12
+ 'mg-h4': true,
13
+ };
14
+ }
15
+ },
16
+ };
17
+ </script>
18
+
19
+ <style lang="scss">
20
+ .mg-h4 {
21
+ font-family: 'Ubuntu', sans-serif;
22
+ font-size: 0.875rem;
23
+ font-weight: 700;
24
+ }
25
+ </style>
@@ -0,0 +1,34 @@
1
+ import MgHeadingSix from './HeadingSix.vue';
2
+
3
+ // More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
4
+ export default {
5
+ title: 'Typography/Heading/H6',
6
+ component: MgHeadingSix,
7
+ // More on argTypes: https://storybook.js.org/docs/vue/api/argtypes
8
+ argTypes: {
9
+ default: {
10
+ description: "The default Vue slot",
11
+ control: {
12
+ type: 'text',
13
+ },
14
+ table: {
15
+ category: 'Slots',
16
+ type: {
17
+ summary: 'html',
18
+ },
19
+ }
20
+ }
21
+ },
22
+ };
23
+
24
+ // More on component templates: https://storybook.js.org/docs/vue/writing-stories/introduction#using-args
25
+ const Template = args => ({
26
+ components: { MgHeadingSix },
27
+ template: `<mg-heading-six><template v-if="${'default' in args}" v-slot>${args.default}</template></mg-heading-six>`,
28
+ });
29
+
30
+ export const Default = Template.bind({});
31
+ // More on args: https://storybook.js.org/docs/vue/writing-stories/args
32
+ Default.args = {
33
+ default: 'heading six'
34
+ };
@@ -0,0 +1,26 @@
1
+ <template>
2
+ <div v-bind:class="classes"><slot></slot></div>
3
+ </template>
4
+
5
+ <script>
6
+ export default {
7
+ name: 'mg-heading-five',
8
+
9
+ computed: {
10
+ classes() {
11
+ return {
12
+ 'mg-h6': true,
13
+ };
14
+ }
15
+ },
16
+ };
17
+ </script>
18
+
19
+ <style lang="scss">
20
+ .mg-h6 {
21
+ color: #666666;
22
+ font-family: 'Ubuntu', sans-serif;
23
+ font-size: 0.75rem;
24
+ font-weight: 400;
25
+ }
26
+ </style>
@@ -0,0 +1,34 @@
1
+ import MgParagraph from './Paragraph.vue';
2
+
3
+ // More on default export: https://storybook.js.org/docs/vue/writing-stories/introduction#default-export
4
+ export default {
5
+ title: 'Typography/Paragraph',
6
+ component: MgParagraph,
7
+ // More on argTypes: https://storybook.js.org/docs/vue/api/argtypes
8
+ argTypes: {
9
+ default: {
10
+ description: "The default Vue slot",
11
+ control: {
12
+ type: 'text',
13
+ },
14
+ table: {
15
+ category: 'Slots',
16
+ type: {
17
+ summary: 'html',
18
+ },
19
+ }
20
+ }
21
+ },
22
+ };
23
+
24
+ // More on component templates: https://storybook.js.org/docs/vue/writing-stories/introduction#using-args
25
+ const Template = args => ({
26
+ components: { MgParagraph },
27
+ template: `<mg-paragraph><template v-if="${'default' in args}" v-slot>${args.default}</template></mg-paragraph>`,
28
+ });
29
+
30
+ export const Default = Template.bind({});
31
+ // More on args: https://storybook.js.org/docs/vue/writing-stories/args
32
+ Default.args = {
33
+ default: 'testo libero'
34
+ };
@@ -0,0 +1,25 @@
1
+ <template>
2
+ <div v-bind:class="classes"><slot></slot></div>
3
+ </template>
4
+
5
+ <script>
6
+ export default {
7
+ name: 'mg-paragraph',
8
+
9
+ computed: {
10
+ classes() {
11
+ return {
12
+ 'mg-paragraph': true,
13
+ };
14
+ }
15
+ },
16
+ };
17
+ </script>
18
+
19
+ <style lang="scss">
20
+ .mg-paragraph {
21
+ font-family: 'Ubuntu', sans-serif;
22
+ font-size: 0.75rem;
23
+ font-weight: 400;
24
+ }
25
+ </style>
@@ -1,6 +1,6 @@
1
1
  import {ColorItem, ColorPalette, Meta} from '@storybook/addon-docs';
2
2
 
3
- <Meta title="Colors/Alert" />
3
+ <Meta title="Colors/Community" />
4
4
 
5
5
  <ColorPalette>
6
6
  <ColorItem
package/src/main.js CHANGED
@@ -17,27 +17,3 @@ Vue.config.productionTip = false;
17
17
  new Vue({
18
18
  render: h => h(App),
19
19
  }).$mount('#app')
20
-
21
- export MgHCard from './components/card/horizontal-card/HCard';
22
- export MgVCard from './components/card/vertical-card/VCard';
23
-
24
- export MgPrimaryClubButton from './components/club/button/primary-club-button/PrimaryClubButton';
25
- export MgSecondaryClubButton from './components/club/button/secondary-club-button/SecondaryClubButton';
26
-
27
- export MgPrimaryButton from './components/form/button/primary-button/PrimaryButton';
28
- export MgSecondaryButton from './components/form/button/secondary-button/SecondaryButton';
29
- export MgTertiaryButton from './components/form/button/tertiary-button/TertiaryButton';
30
- export MgToggleButton from './components/form/button/toggle-button/ToggleButton';
31
- export MgCheckbox from './components/form/checkbox/checkbox/Checkbox';
32
- export MgSwitch from './components/form/checkbox/switch/Switch';
33
-
34
- export MgProfileImage from './components/image/profile-image/ProfileImage';
35
-
36
- export MgMagicCoinButton from './components/magic-coin/button/MagicCoinButton';
37
- export MgCredits from './components/magic-coin/credits/Credits';
38
-
39
- export MgSoccerBallLoader from './components/loader/soccer-ball/SoccerBall';
40
-
41
- export MgTabButton from './components/navigation/tab-button/TabButton';
42
-
43
- export MgHeadingOne from './components/typography/h1/HeadingOne';
package/src/App.vue DELETED
@@ -1,28 +0,0 @@
1
- <template>
2
- <div id="app">
3
- <img alt="Vue logo" src="./assets/logo.png">
4
- <HelloWorld msg="Welcome to Your Vue.js App"/>
5
- </div>
6
- </template>
7
-
8
- <script>
9
- import HelloWorld from './components/HelloWorld.vue'
10
-
11
- export default {
12
- name: 'App',
13
- components: {
14
- HelloWorld
15
- }
16
- }
17
- </script>
18
-
19
- <style>
20
- #app {
21
- font-family: Avenir, Helvetica, Arial, sans-serif;
22
- -webkit-font-smoothing: antialiased;
23
- -moz-osx-font-smoothing: grayscale;
24
- text-align: center;
25
- color: #2c3e50;
26
- margin-top: 60px;
27
- }
28
- </style>