From a573d2558043e4630d6aa2d01019e4dcd549ff36 Mon Sep 17 00:00:00 2001 From: kPherox Date: Sun, 28 Apr 2019 02:50:25 +0900 Subject: [PATCH] Add icon to toot for visibility & detail action Add material design icons package for vue component --- package-lock.json | 5 ++ package.json | 1 + src/components/Timeline/Toot.vue | 83 +++++++++++++++++++++++++------- 3 files changed, 71 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index e510811d..5ddf7a3c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12758,6 +12758,11 @@ "vue-style-loader": "^4.1.0" } }, + "vue-material-design-icons": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/vue-material-design-icons/-/vue-material-design-icons-3.2.0.tgz", + "integrity": "sha512-7+VDoSC5bvXXCS3TK/aMShVsVLjJiOoKuyJPCqJOcrM7V/Uv5Nlk4C9ZXSmsuys8aoYRnfC6JmMTw6ZZl2jjlw==" + }, "vue-property-decorator": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/vue-property-decorator/-/vue-property-decorator-8.1.0.tgz", diff --git a/package.json b/package.json index c9fa61fa..779d1bf6 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "megalodon": "^0.6.3", "nedb": "^1.8.0", "vue": "^2.6.6", + "vue-material-design-icons": "^3.2.0", "vue-property-decorator": "^8.0.0" }, "devDependencies": { diff --git a/src/components/Timeline/Toot.vue b/src/components/Timeline/Toot.vue index de55fd83..4b95beb4 100644 --- a/src/components/Timeline/Toot.vue +++ b/src/components/Timeline/Toot.vue @@ -1,42 +1,71 @@