Skip to content

Commit b35485a

Browse files
committed
* 'master' of https://github.com/marcosmoura/vue-material: (680 commits) update supported browsers fix import names (vuematerial#345) add gitter channel URL add gitter badge fix comment add Gitter Channel update the number of rows if the data set changes on mdTable (vuematerial#320) [release] 0.6.3 [build] 0.6.3 fix standalone build vuematerial#312 [release] 0.6.2 [build] 0.6.2 fix alias for webpack [release] 0.6.1 [build] 0.6.1 remove ignore on bundle fix md-icon-button with pallete colors inside cards vuematerial#307 [release] 0.6.0 [build] 0.6.0 fix one line dialogs in certain browsers vuematerial#219 ...
2 parents 7de412c + 9285e40 commit b35485a

File tree

4 files changed

+32
-17
lines changed

4 files changed

+32
-17
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Before submitting your contribution please read the guidelines.
88

99
## Issue Reporting Guidelines
1010

11+
- Do not create questions. The issue list is exclusively for reports, bugs and feature requests. Use the [Gitter Channel]( https://gitter.im/vuematerial/questions) instead.
12+
1113
- Always search for your issue first. It may have already been answered, planned or fixed in some branch. New components and features will be planned on [Milestones](https://github.com/marcosmoura/vue-material/milestones) or on [Projects](https://github.com/marcosmoura/vue-material/projects).
1214

1315
- Only create issues for the newest version. For now. Until 1.0.0.

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ Do not create new features based on a problem that will only solve edge cases fo
4242

4343
### Reproduction Link
4444
<!-- If you want to show your code please use Codepen or JSFiddle. -->
45-
<!-- You could start with this template: http://codepen.io/vue-material/pen/WGavBE.
45+
<!-- You could start with this template: http://codepen.io/vue-material/pen/WGavBE. -->

README.md

Lines changed: 21 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111

1212
<a href="https://www.npmjs.com/package/vue-material"><img src="https://img.shields.io/npm/v/vue-material.svg" alt="Version"></a>
1313

14-
<a href="https://www.npmjs.com/package/vue-material"><img src="https://img.shields.io/npm/l/vue-material.svg" alt="License"></a> <br>
14+
<a href="https://www.npmjs.com/package/vue-material"><img src="https://img.shields.io/npm/l/vue-material.svg" alt="License"></a>
15+
16+
<a href="https://gitter.im/vuematerial"><img src="https://img.shields.io/gitter/room/vuematerial/home.svg" alt="Gitter Chat"></a> <br>
1517
</p>
1618

1719
Vue Material is lightweight framework built exactly according to the <a href="http://material.google.com" target="_blank">Material Design</a> specs.
@@ -67,31 +69,34 @@ Vue.use(VueMaterial)
6769

6870
// OR
6971

70-
Vue.use(VueMaterial.mdCore) //Required to boot vue material
71-
Vue.use(VueMaterial.mdButton)
72-
Vue.use(VueMaterial.mdIcon)
73-
Vue.use(VueMaterial.mdSidenav)
74-
Vue.use(VueMaterial.mdToolbar)
72+
Vue.use(VueMaterial.MdCore) //Required to boot vue material
73+
Vue.use(VueMaterial.MdButton)
74+
Vue.use(VueMaterial.MdIcon)
75+
Vue.use(VueMaterial.MdSidenav)
76+
Vue.use(VueMaterial.MdToolbar)
7577
```
7678

79+
## Changelog
80+
<a href="https://vuematerial.github.io/#/changelog" target="_blank">Changelog</a>
81+
82+
## Questions
83+
The issue list is exclusively for reports, bugs and feature requests. Use the [Gitter Channel]( https://gitter.im/vuematerial) instead.
84+
85+
## Contributing
86+
87+
Please make sure to read the [Contributing Guide](https://github.com/marcosmoura/vue-material/blob/master/.github/CONTRIBUTING.md) before making a pull request.
88+
7789
## Browser Support
7890
Vue Material supports the latest version of all Browsers. This means:
79-
* Google Chrome 50+
91+
* Google Chrome 52+
8092
* Firefox 48+
8193
* Safari 9+
82-
* Opera 40+
94+
* Opera 38+
95+
* Edge 12+
8396
* IE 11
84-
* Edge
8597

8698
<small>May work in other browsers but it's untested.</small>
8799

88-
## Changelog
89-
<a href="https://vuematerial.github.io/#/changelog" target="_blank">Changelog</a>
90-
91-
## Contributing
92-
93-
Please make sure to read the [Contributing Guide](https://github.com/marcosmoura/vue-material/blob/master/.github/CONTRIBUTING.md) before making a pull request.
94-
95100
## Credits and Thanks
96101
* This library aims to delivery components using almost the same API of <a href="https://material.angularjs.org/latest/" target="_blank">Angular Material</a>
97102
* Thanks a lot to <a href="https://github.com/elviskang" target="_blank">elviskang</a> for donating the npm package name!

src/components/mdTable/mdTable.vue

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@
4141
this.$emit('select', this.selectedRows);
4242
}
4343
},
44+
watch: {
45+
data() {
46+
this.numberOfRows = this.data.length;
47+
},
48+
selectedRows() {
49+
this.numberOfSelected = Object.keys(this.selectedRows).length;
50+
}
51+
},
4452
mounted() {
4553
this.parentCard = getClosestVueParent(this.$parent, 'md-table-card');
4654

0 commit comments

Comments
 (0)