diff --git a/package.json b/package.json index 7568448..8e79043 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sqliteviz", - "version": "0.7.0", + "version": "0.8.0", "license": "Apache-2.0", "private": true, "scripts": { diff --git a/src/components/Schema.vue b/src/components/Schema.vue index 4efa979..a43c82e 100644 --- a/src/components/Schema.vue +++ b/src/components/Schema.vue @@ -5,20 +5,7 @@
- - - + {{ dbName }}
@@ -43,13 +30,15 @@ import TableDescription from '@/components/TableDescription' import TextField from '@/components/TextField' import ChangeDbIcon from '@/components/svg/changeDb' +import TreeChevron from '@/components/svg/treeChevron' export default { name: 'Schema', components: { TableDescription, TextField, - ChangeDbIcon + ChangeDbIcon, + TreeChevron }, data () { return { @@ -66,7 +55,7 @@ export default { return !this.filter ? this.$store.state.schema : this.$store.state.schema.filter( - table => table[0].toUpperCase().indexOf(this.filter.toUpperCase()) !== -1 + table => table.name.toUpperCase().indexOf(this.filter.toUpperCase()) !== -1 ) }, dbName () { @@ -120,12 +109,9 @@ export default { .db-name { cursor: pointer; } ->>> .chevron-icon { - -webkit-transition: transform .15s ease-in-out; - transition: transform .15s ease-in-out; -} + .db-name:hover .chevron-icon path, >>> .table-name:hover .chevron-icon path { - fill: #506784; + fill: var(--color-gray-dark); } diff --git a/src/components/TableDescription.vue b/src/components/TableDescription.vue index 2b5ac7a..4d3f134 100644 --- a/src/components/TableDescription.vue +++ b/src/components/TableDescription.vue @@ -1,20 +1,7 @@ + +