Skip to content

Commit

Permalink
fix(components): fix missing 'name' option in the Vue components
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Gareev authored and stasson committed Oct 12, 2017
1 parent 6ad2b93 commit b31e66d
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/checkbox/mdc-checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {getCorrectEventName} from '@material/animation'
import {RippleBase} from '../util'
export default {
name: 'mdc-checkbox',
model: {
prop: 'checked',
event: 'change'
Expand Down
1 change: 1 addition & 0 deletions components/icon-toggle/mdc-icon-toggle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import MDCIconToggleFoundation from '@material/icon-toggle/foundation'
import {RippleBase} from '../util'
export default {
name: 'mdc-icon-toggle',
props: {
'toggle-on': String,
'toggle-off': String,
Expand Down
1 change: 1 addition & 0 deletions components/layout-grid/mdc-layout-cell.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const spanOptions = {
}
export default {
name: 'mdc-layout-cell',
props: {
span: spanOptions,
order: spanOptions,
Expand Down
1 change: 1 addition & 0 deletions components/layout-grid/mdc-layout-grid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<script>
export default {
name: 'mdc-layout-grid',
props: {
'fixed-column-width': Boolean
},
Expand Down
1 change: 1 addition & 0 deletions components/linear-progress/mdc-linear-progress.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const ProgressPropType = {
}
export default {
name: 'mdc-linear-progress',
props: {
'open': { type: Boolean, default: true },
'indeterminate': Boolean,
Expand Down
1 change: 1 addition & 0 deletions components/list/mdc-list-divider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

<script lang="babel">
export default {
name: 'mdc-list-divider',
props: {
'inset': Boolean
},
Expand Down
1 change: 1 addition & 0 deletions components/list/mdc-list-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

<script lang="babel">
export default {
name: 'mdc-list-item',
computed: {
hasSecondary () {
return !!this.$slots['secondary']
Expand Down
1 change: 1 addition & 0 deletions components/list/mdc-list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

<script lang="babel">
export default {
name: 'mdc-list',
props: {
'dense': Boolean,
'avatar-list': Boolean,
Expand Down
1 change: 1 addition & 0 deletions components/menu/mdc-menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {getTransformPropertyName} from '@material/menu/util'
import {emitCustomEvent} from '../util'
export default {
name: 'mdc-menu',
props: {
'open-from-top-left': Boolean,
'open-from-top-right': Boolean,
Expand Down
1 change: 1 addition & 0 deletions components/select/mdc-menu-option.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<script lang="babel">
export default {
name: 'mdc-menu-option',
props: {
value: String,
disabled: Boolean
Expand Down
1 change: 1 addition & 0 deletions components/select/mdc-menu-select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import MDCSelectFoundation from '@material/select/foundation'
export default {
name: 'mdc-menu-select',
model: {
prop: 'value',
event: 'change'
Expand Down
1 change: 1 addition & 0 deletions components/select/mdc-multi-option.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<script lang="babel">
export default {
name: 'mdc-multi-option',
props: {
value: String,
disabled: Boolean
Expand Down
1 change: 1 addition & 0 deletions components/select/mdc-multi-select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

<script lang="babel">
export default {
name: 'mdc-multi-select',
model: {
prop: 'value',
event: 'change'
Expand Down
1 change: 1 addition & 0 deletions components/select/mdc-native-option.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<script lang="babel">
export default {
name: 'mdc-native-option',
props: {
value: String,
disabled: Boolean
Expand Down
1 change: 1 addition & 0 deletions components/select/mdc-native-select.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

<script lang="babel">
export default {
name: 'mdc-native-select',
model: {
prop: 'value',
event: 'change'
Expand Down
1 change: 1 addition & 0 deletions components/select/mdc-option.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import MDCMenuOption from './mdc-menu-option.vue'
import MDCMultiOption from './mdc-multi-option.vue'
export default {
name: 'mdc-option',
props: {
value: String,
disabled: Boolean
Expand Down
1 change: 1 addition & 0 deletions components/snackbar/mdc-snackbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import MDCSnackbarFoundation from '@material/snackbar/foundation'
import { getCorrectEventName } from '@material/animation'
export default {
name: 'mdc-snackbar',
props: {
'event': {
type: String,
Expand Down
1 change: 1 addition & 0 deletions components/tabs/mdc-tab-bar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import MDCTabBarFoundation from '@material/tabs/tab-bar/foundation'
import MDCTabFoundation from '@material/tabs/tab/foundation'
export default {
name: 'mdc-tab-bar',
props: {
'indicator-primary': Boolean,
'indicator-accent': Boolean
Expand Down
1 change: 1 addition & 0 deletions components/textfield/mdc-textfield.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ import MDCTextfieldFoundation from '@material/textfield/foundation'
import {RippleBase} from '../util'
export default {
name: 'mdc-textfield',
props: {
'value': String,
'type': {
Expand Down

0 comments on commit b31e66d

Please sign in to comment.