Chip Component (#1)

* initial commit

* finished main features and added docs

* add unit tests

* fix "visible" unit test

* changed active prop to v-if

* sync support for active prop

* clear code

* Remove button description from chip readme

* Misc tweaks in story / readme

* Minor code style tweaks

* fix initial render

* Use 4px based height

* Add missing tests + missing debug route

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
Nitwel
2020-02-12 00:42:31 +01:00
committed by GitHub
parent 773e963524
commit 87c0eaa9a9
9 changed files with 761 additions and 5 deletions

View File

@@ -1,10 +1,12 @@
import VueCompositionAPI from '@vue/composition-api';
import { mount, createLocalVue } from '@vue/test-utils';
import { VTooltip } from 'v-tooltip';
import VIcon from '@/components/v-icon/';
const localVue = createLocalVue();
localVue.use(VueCompositionAPI);
localVue.directive('tooltip', VTooltip);
localVue.component('v-icon', VIcon);
import PublicView from './public-view.vue';