-
Notifications
You must be signed in to change notification settings - Fork 46
/
TableCards.vue
91 lines (88 loc) · 2.29 KB
/
TableCards.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<template>
<FlexGrid tagName="section">
<FlexRow v-bind:gutter="16">
<FlexCol v-bind:xs="12">
<h4 id="tables" :class="$style.types">Tables</h4>
</FlexCol>
</FlexRow>
<FlexRow v-bind:gutter="16">
<FlexCol v-bind:xs="12" auto>
<Card v-bind:isStacked="true">
<header :class="$style.cardheader">
<h6>Table TBD</h6>
</header>
<a href="#table" :class="$style.cardbody">
<TableSVG />
</a>
</Card>
</FlexCol>
<FlexCol v-bind:xs="12" auto>
<Card v-bind:isStacked="true">
<header :class="$style.cardheader">
<h6>Sorting tbd</h6>
</header>
<a href="#sorting" :class="$style.cardbody">
<SortingSVG />
</a>
</Card>
</FlexCol>
<FlexCol v-bind:xs="12" auto>
<Card v-bind:isStacked="true">
<header :class="$style.cardheader">
<h6>Filters tbd</h6>
</header>
<a href="#filters" :class="$style.cardbody">
<FiltersSVG />
</a>
</Card>
</FlexCol>
<FlexCol v-bind:xs="12" auto>
<Card v-bind:isStacked="true">
<header :class="$style.cardheader">
<h6>Pagination TBD</h6>
</header>
<a href="#pagination" :class="$style.cardbody">
<PaginationSVG />
</a>
</Card>
</FlexCol>
</FlexRow>
</FlexGrid>
</template>
<script>
import Card from "agnosticui/Card.vue";
import FlexGrid from "agnosticui/FlexGrid/FlexGrid";
import FlexRow from "agnosticui/FlexGrid/FlexRow";
import FlexCol from "agnosticui/FlexGrid/FlexCol";
import TableSVG from "../assets/table.svg";
import SortingSVG from "../assets/sorting.svg";
import FiltersSVG from "../assets/filters.svg";
import PaginationSVG from "../assets/pagination.svg";
export default {
name: "InputCards",
components: {
Card,
FlexCol,
FlexGrid,
FlexRow,
TableSVG,
SortingSVG,
FiltersSVG,
PaginationSVG,
},
};
</script>
<style module>
.types {
composes: types from "./views.module.css";
}
.cards {
composes: cards from "./views.module.css";
}
.cardheader {
composes: cardheader from "./views.module.css";
}
.cardbody {
composes: cardbody from "./views.module.css";
}
</style>