List group (#173)

* mvp list groups

* list group updates

* updated readme and list group to use css vars and icons

* added supgroups to story

* add list group test

* Expand Transition / Transitions Folder (#187)

* add expand transition to components folder

* expand readme

* test sorta

* test is dumb

* dummy component to test

* oops

* Add tests for capitalize first

* Rename v-transition-expand to expand-transition, inline util in test

* Update src/components/transitions/expand/expand-methods.ts

* Update src/components/transitions/expand/expand-methods.ts

* Update src/components/transitions/expand/expand-methods.ts

* Rename some more things, add storybook entry

* Use expand transition in detail drawer

* Improve readme

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>

* Refactor out groupable top level component + indentLevel prop

* Fix tests

* Update readme

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
This commit is contained in:
Jacob Rienstra
2020-03-16 14:51:59 -04:00
committed by GitHub
parent 7603323fc2
commit a0c421e4e9
24 changed files with 795 additions and 170 deletions

View File

@@ -2,7 +2,13 @@ import CollectionsNavigation from './navigation.vue';
import VueCompositionAPI from '@vue/composition-api';
import { shallowMount, createLocalVue } from '@vue/test-utils';
import useNavigation from '../../compositions/use-navigation';
import VList, { VListItem, VListItemContent } from '@/components/v-list';
import VList, {
VListItem,
VListItemContent,
VListItemIcon,
VListItemTitle
} from '@/components/v-list';
import VIcon from '@/components/v-icon';
jest.mock('../../compositions/use-navigation');
@@ -11,6 +17,9 @@ localVue.use(VueCompositionAPI);
localVue.component('v-list', VList);
localVue.component('v-list-item', VListItem);
localVue.component('v-list-item-content', VListItemContent);
localVue.component('v-list-item-title', VListItemTitle);
localVue.component('v-list-item-icon', VListItemIcon);
localVue.component('v-icon', VIcon);
describe('Modules / Collections / Components / CollectionsNavigation', () => {
beforeEach(() => {