From 06e404c9927e57fe1893a880befa20435ebe4624 Mon Sep 17 00:00:00 2001
From: Pablo Henrique
Date: Wed, 11 Jan 2017 14:14:16 -0200
Subject: [PATCH 1/6] update the number of rows if the data set changes on
mdTable (#320)
* Fix on mdTable numberOfRows and numberOfSelected
* Fix on mdTable numberOfRows and numberOfSelected
---
src/components/mdTable/mdTable.vue | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/components/mdTable/mdTable.vue b/src/components/mdTable/mdTable.vue
index 3994e8a..ffc82a8 100644
--- a/src/components/mdTable/mdTable.vue
+++ b/src/components/mdTable/mdTable.vue
@@ -41,6 +41,14 @@
this.$emit('select', this.selectedRows);
}
},
+ watch: {
+ data() {
+ this.numberOfRows = this.data.length;
+ },
+ selectedRows() {
+ this.numberOfSelected = Object.keys(this.selectedRows).length;
+ }
+ },
mounted() {
this.parentCard = getClosestVueParent(this.$parent, 'md-table-card');
From 905bc02d9482a57a7c21b154ea5ce8ca8b46d838 Mon Sep 17 00:00:00 2001
From: Marcos Moura
Date: Thu, 12 Jan 2017 19:26:12 -0200
Subject: [PATCH 2/6] add Gitter Channel
---
.github/CONTRIBUTING.md | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 4525366..af8b90d 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -8,6 +8,8 @@ Before submitting your contribution please read the guidelines.
## Issue Reporting Guidelines
+- 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.
+
- 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).
- Only create issues for the newest version. For now. Until 1.0.0.
From 0d67200cc44894c3af06e2ef7461237a67ad7bb9 Mon Sep 17 00:00:00 2001
From: Marcos Moura
Date: Thu, 12 Jan 2017 19:26:49 -0200
Subject: [PATCH 3/6] fix comment
---
.github/ISSUE_TEMPLATE.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/ISSUE_TEMPLATE.md b/.github/ISSUE_TEMPLATE.md
index 2a75dc4..ffc6607 100644
--- a/.github/ISSUE_TEMPLATE.md
+++ b/.github/ISSUE_TEMPLATE.md
@@ -42,4 +42,4 @@ Do not create new features based on a problem that will only solve edge cases fo
### Reproduction Link
-
From 9d0703571f67f1856007bc8d75ee9cc71ee55531 Mon Sep 17 00:00:00 2001
From: Marcos Moura
Date: Thu, 12 Jan 2017 19:30:41 -0200
Subject: [PATCH 4/6] add gitter badge
---
README.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index be84380..066a1ea 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,9 @@
-
+
+
+
Vue Material is lightweight framework built exactly according to the Material Design specs.
From 235487c1d6185d5e0b94134ce24b14ae6e6c635b Mon Sep 17 00:00:00 2001
From: Marcos Moura
Date: Thu, 12 Jan 2017 19:33:20 -0200
Subject: [PATCH 5/6] add gitter channel URL
---
README.md | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 066a1ea..5b6af45 100644
--- a/README.md
+++ b/README.md
@@ -76,6 +76,16 @@ Vue.use(VueMaterial.mdSidenav)
Vue.use(VueMaterial.mdToolbar)
```
+## Changelog
+Changelog
+
+## Questions
+The issue list is exclusively for reports, bugs and feature requests. Use the [Gitter Channel]( https://gitter.im/vuematerial) instead.
+
+## Contributing
+
+Please make sure to read the [Contributing Guide](https://github.com/marcosmoura/vue-material/blob/master/.github/CONTRIBUTING.md) before making a pull request.
+
## Browser Support
Vue Material supports the latest version of all Browsers. This means:
* Google Chrome 50+
@@ -87,13 +97,6 @@ Vue Material supports the latest version of all Browsers. This means:
May work in other browsers but it's untested.
-## Changelog
-Changelog
-
-## Contributing
-
-Please make sure to read the [Contributing Guide](https://github.com/marcosmoura/vue-material/blob/master/.github/CONTRIBUTING.md) before making a pull request.
-
## Credits and Thanks
* This library aims to delivery components using almost the same API of Angular Material
* Thanks a lot to elviskang for donating the npm package name!
From e7e3ad3ab17abc0fd3b34f0dcd8fc65f6491d192 Mon Sep 17 00:00:00 2001
From: Joan Mira
Date: Mon, 16 Jan 2017 19:14:21 +0100
Subject: [PATCH 6/6] fix import names (#345)
---
README.md | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 5b6af45..dfdd8b3 100644
--- a/README.md
+++ b/README.md
@@ -69,11 +69,11 @@ Vue.use(VueMaterial)
// OR
-Vue.use(VueMaterial.mdCore) //Required to boot vue material
-Vue.use(VueMaterial.mdButton)
-Vue.use(VueMaterial.mdIcon)
-Vue.use(VueMaterial.mdSidenav)
-Vue.use(VueMaterial.mdToolbar)
+Vue.use(VueMaterial.MdCore) //Required to boot vue material
+Vue.use(VueMaterial.MdButton)
+Vue.use(VueMaterial.MdIcon)
+Vue.use(VueMaterial.MdSidenav)
+Vue.use(VueMaterial.MdToolbar)
```
## Changelog