classcard-ui 0.2.705 → 0.2.708
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/dist/classcard-ui.common.js +68 -75
- package/dist/classcard-ui.common.js.map +1 -1
- package/dist/classcard-ui.umd.js +68 -75
- package/dist/classcard-ui.umd.js.map +1 -1
- package/dist/classcard-ui.umd.min.js +1 -1
- package/dist/classcard-ui.umd.min.js.map +1 -1
- package/package.json +81 -81
- package/src/App.vue +16 -16
- package/src/components/CAlerts/CAlerts.vue +70 -70
- package/src/components/CAlerts/index.js +2 -2
- package/src/components/CAnchorTabs/CAnchorTabs.vue +96 -96
- package/src/components/CAnchorTabs/index.js +2 -2
- package/src/components/CAnchorTag/CAnchorTag.vue +62 -62
- package/src/components/CAnchorTag/index.js +2 -2
- package/src/components/CAvatar/CAvatar.vue +112 -112
- package/src/components/CAvatar/index.js +2 -2
- package/src/components/CAvatarGroup/CAvatarGroup.vue +145 -145
- package/src/components/CAvatarGroup/index.js +2 -2
- package/src/components/CBasicTable/CBasicTable.vue +184 -184
- package/src/components/CBasicTable/index.js +2 -2
- package/src/components/CBreadcrumbs/CBreadcrumbs.vue +38 -38
- package/src/components/CBreadcrumbs/index.js +2 -2
- package/src/components/CButton/CButton.vue +147 -147
- package/src/components/CButton/index.js +2 -2
- package/src/components/CButtonGroup/CButtonGroup.vue +116 -116
- package/src/components/CButtonGroup/index.js +2 -2
- package/src/components/CButtonIcon/CButtonIcon.vue +91 -91
- package/src/components/CButtonIcon/index.js +2 -2
- package/src/components/CButtonLink/CButtonLink.vue +39 -39
- package/src/components/CButtonLink/index.js +2 -2
- package/src/components/CButtonSelect/CButtonSelect.vue +103 -103
- package/src/components/CButtonSelect/index.js +2 -2
- package/src/components/CButtonWithDropdown/CButtonWithDropdown.vue +168 -168
- package/src/components/CButtonWithDropdown/index.js +2 -2
- package/src/components/CCalendar/CCalendar.vue +401 -401
- package/src/components/CCalendar/index.js +3 -3
- package/src/components/CCard/CCard.vue +49 -49
- package/src/components/CCard/index.js +2 -2
- package/src/components/CCheckbox/CCheckbox.vue +70 -70
- package/src/components/CCheckbox/index.js +2 -2
- package/src/components/CCollapsibleSection/CCollapsibleSection.vue +99 -99
- package/src/components/CCollapsibleSection/index.js +2 -2
- package/src/components/CColorDots/CColorDots.vue +35 -35
- package/src/components/CColorDots/index.js +3 -3
- package/src/components/CConfirmActionModal/CConfirmActionModal.vue +120 -120
- package/src/components/CConfirmActionModal/index.js +3 -3
- package/src/components/CDatepicker/CDatepicker.vue +139 -139
- package/src/components/CDatepicker/index.js +2 -2
- package/src/components/CDualSelect/CDualSelect.vue +193 -193
- package/src/components/CDualSelect/index.js +2 -2
- package/src/components/CEditor/CEditor.vue +96 -96
- package/src/components/CEditor/index.js +2 -2
- package/src/components/CFormSectionHeading/CFormSectionHeading.vue +53 -53
- package/src/components/CFormSectionHeading/index.js +2 -2
- package/src/components/CGroupedSelect/CGroupedSelect.vue +217 -217
- package/src/components/CGroupedSelect/index.js +3 -3
- package/src/components/CIcon/CIcon.vue +77 -77
- package/src/components/CIcon/index.js +2 -2
- package/src/components/CIconDropdown/CIconDropdown.vue +111 -111
- package/src/components/CIconDropdown/index.js +2 -2
- package/src/components/CInput/CInput.vue +120 -120
- package/src/components/CInput/index.js +2 -2
- package/src/components/CInputAddon/CInputAddon.vue +202 -202
- package/src/components/CInputAddon/index.js +2 -2
- package/src/components/CInputEmail/CInputEmail.vue +93 -93
- package/src/components/CInputEmail/index.js +2 -2
- package/src/components/CModalHeading/CModalHeading.vue +22 -22
- package/src/components/CModalHeading/index.js +2 -2
- package/src/components/CModuleHelpLinks/CModuleHelpLinks.vue +39 -39
- package/src/components/CModuleHelpLinks/index.js +3 -3
- package/src/components/CMultiselect/CMultiselect.vue +339 -339
- package/src/components/CMultiselect/index.js +2 -2
- package/src/components/CMultiselectr/CMultiselectr.vue +44 -44
- package/src/components/CMultiselectr/index.js +2 -2
- package/src/components/CPageHeading/CPageHeading.vue +56 -56
- package/src/components/CPageHeading/index.js +2 -2
- package/src/components/CPagination/CPagination.vue +202 -202
- package/src/components/CPagination/index.js +2 -2
- package/src/components/CPhoneNumber/CPhoneNumber.vue +81 -81
- package/src/components/CPhoneNumber/index.js +2 -2
- package/src/components/CRadio/CRadio.vue +106 -106
- package/src/components/CRadio/index.js +2 -2
- package/src/components/CRangeSlider/CRangeSlider.vue +55 -55
- package/src/components/CRangeSlider/index.js +2 -2
- package/src/components/CReorderableStackedList/CReorderableStackedList.vue +94 -94
- package/src/components/CReorderableStackedList/index.js +2 -2
- package/src/components/CSelect/CSelect.vue +348 -343
- package/src/components/CSelect/index.js +2 -2
- package/src/components/CSmallTimeline/CSmallTimeline.vue +40 -40
- package/src/components/CSmallTimeline/index.js +2 -2
- package/src/components/CStackedList/CStackedList.vue +132 -132
- package/src/components/CStackedList/index.js +2 -2
- package/src/components/CStats/CStats.vue +111 -111
- package/src/components/CStats/index.js +2 -2
- package/src/components/CSwitch/CSwitch.vue +140 -140
- package/src/components/CSwitch/index.js +2 -2
- package/src/components/CTable/CTable.vue +536 -536
- package/src/components/CTable/index.js +2 -2
- package/src/components/CTabs/CTabs.vue +111 -111
- package/src/components/CTabs/index.js +2 -2
- package/src/components/CTag/CTag.vue +36 -36
- package/src/components/CTag/index.js +2 -2
- package/src/components/CTextarea/CTextarea.vue +95 -95
- package/src/components/CTextarea/index.js +2 -2
- package/src/components/CTimeline/CTimeline.vue +237 -237
- package/src/components/CTimeline/index.js +2 -2
- package/src/components/CUpload/CUpload.vue +231 -231
- package/src/components/CUpload/index.js +2 -2
- package/src/components/index.js +48 -48
- package/src/icons.js +285 -285
- package/src/main.js +22 -22
- package/src/stories/CAlerts.stories.js +37 -37
- package/src/stories/CAnchorTabs.stories.js +29 -29
- package/src/stories/CAnchorTag.stories.js +36 -36
- package/src/stories/CAvatar.stories.js +38 -38
- package/src/stories/CAvatarGroup.stories.js +100 -100
- package/src/stories/CBasicTable.stories.js +316 -316
- package/src/stories/CBreadcrumbs.stories.js +24 -24
- package/src/stories/CButton.stories.js +46 -46
- package/src/stories/CButtonGroup.stories.js +33 -33
- package/src/stories/CButtonIcon.stories.js +27 -27
- package/src/stories/CButtonLink.stories.js +24 -24
- package/src/stories/CButtonSelect.stories.js +32 -32
- package/src/stories/CButtonWithDropdown.stories.js +41 -41
- package/src/stories/CCalendar.stories.js +16 -16
- package/src/stories/CCard.stories.js +30 -30
- package/src/stories/CCheckbox.stories.js +29 -29
- package/src/stories/CCollapsibleSection.stories.js +28 -28
- package/src/stories/CColorDots.stories.js +28 -28
- package/src/stories/CConfirmActionModal.stories.js +59 -59
- package/src/stories/CDatepicker.stories.js +30 -30
- package/src/stories/CDualSelect.stories.js +29 -29
- package/src/stories/CEditor.stories.js +30 -30
- package/src/stories/CFormSectionHeading.stories.js +34 -34
- package/src/stories/CGroupedSelect.stories.js +69 -69
- package/src/stories/CIcon.stories.js +26 -26
- package/src/stories/CIconDropdown.stories.js +39 -39
- package/src/stories/CInput.stories.js +36 -36
- package/src/stories/CInputAddon.stories.js +37 -37
- package/src/stories/CInputEmail.stories.js +27 -27
- package/src/stories/CModalHeading.stories.js +25 -25
- package/src/stories/CModuleHelpLinks.stories.js +25 -25
- package/src/stories/CMultiselect.stories.js +97 -97
- package/src/stories/CMultiselectr.stories.js +23 -23
- package/src/stories/CPageHeading.stories.js +32 -32
- package/src/stories/CPagination.stories.js +30 -30
- package/src/stories/CPhoneNumber.stories.js +29 -29
- package/src/stories/CRadio.stories.js +36 -36
- package/src/stories/CRangeSlider.stories.js +23 -23
- package/src/stories/CReorderableStackedList.stories.js +23 -23
- package/src/stories/CSelect.stories.js +50 -50
- package/src/stories/CSmallTimeline.stories.js +26 -26
- package/src/stories/CStackedList.stories.js +37 -37
- package/src/stories/CStats.stories.js +33 -33
- package/src/stories/CSwitch.stories.js +28 -28
- package/src/stories/CTable.stories.js +77 -77
- package/src/stories/CTabs.stories.js +33 -33
- package/src/stories/CTag.stories.js +23 -23
- package/src/stories/CTextarea.stories.js +32 -32
- package/src/stories/CTimeline.stories.js +26 -26
- package/src/stories/CUpload.stories.js +36 -36
- package/src/stories/Introduction.stories.mdx +207 -207
- package/src/stories/Page.vue +88 -88
- package/src/stories/assets/code-brackets.svg +0 -0
- package/src/stories/assets/colors.svg +0 -0
- package/src/stories/assets/comments.svg +0 -0
- package/src/stories/assets/direction.svg +0 -0
- package/src/stories/assets/flow.svg +0 -0
- package/src/stories/assets/plugin.svg +0 -0
- package/src/stories/assets/repo.svg +0 -0
- package/src/stories/assets/stackalt.svg +0 -0
- package/src/stories/header.css +26 -26
- package/src/stories/page.css +69 -69
- package/src/stories/utils.css +17 -17
|
@@ -1,237 +1,237 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<div class="flow-root">
|
|
4
|
-
<ul class="-mb-8">
|
|
5
|
-
<li>
|
|
6
|
-
<div class="relative pb-8">
|
|
7
|
-
<span
|
|
8
|
-
class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"
|
|
9
|
-
aria-hidden="true"
|
|
10
|
-
></span>
|
|
11
|
-
<div class="relative flex space-x-3">
|
|
12
|
-
<div>
|
|
13
|
-
<span :class="colorClasses"
|
|
14
|
-
class="h-8 w-8 rounded-full flex items-center justify-center ring-8 ring-white"
|
|
15
|
-
>
|
|
16
|
-
<c-icon :name="icon" type="solid" class="h-5 w-5"></c-icon>
|
|
17
|
-
</span>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
20
|
-
<div>
|
|
21
|
-
<p class="text-sm text-gray-500">
|
|
22
|
-
Applied to
|
|
23
|
-
<a href="#" class="font-medium text-gray-900"
|
|
24
|
-
>Front End Developer</a
|
|
25
|
-
>
|
|
26
|
-
</p>
|
|
27
|
-
</div>
|
|
28
|
-
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
29
|
-
<time datetime="2020-09-20">Sep 20</time>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</li>
|
|
35
|
-
|
|
36
|
-
<li>
|
|
37
|
-
<div class="relative pb-8">
|
|
38
|
-
<span
|
|
39
|
-
class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"
|
|
40
|
-
aria-hidden="true"
|
|
41
|
-
></span>
|
|
42
|
-
<div class="relative flex space-x-3">
|
|
43
|
-
<div>
|
|
44
|
-
<span
|
|
45
|
-
class="h-8 w-8 rounded-full bg-blue-500 flex items-center justify-center ring-8 ring-white"
|
|
46
|
-
>
|
|
47
|
-
<!-- Heroicon name: thumb-up -->
|
|
48
|
-
<svg
|
|
49
|
-
class="h-5 w-5 text-white"
|
|
50
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
51
|
-
viewBox="0 0 20 20"
|
|
52
|
-
fill="currentColor"
|
|
53
|
-
aria-hidden="true"
|
|
54
|
-
>
|
|
55
|
-
<path
|
|
56
|
-
d="M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"
|
|
57
|
-
/>
|
|
58
|
-
</svg>
|
|
59
|
-
</span>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
62
|
-
<div>
|
|
63
|
-
<p class="text-sm text-gray-500">
|
|
64
|
-
Advanced to phone screening by
|
|
65
|
-
<a href="#" class="font-medium text-gray-900"
|
|
66
|
-
>Bethany Blake</a
|
|
67
|
-
>
|
|
68
|
-
</p>
|
|
69
|
-
</div>
|
|
70
|
-
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
71
|
-
<time datetime="2020-09-22">Sep 22</time>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</div>
|
|
76
|
-
</li>
|
|
77
|
-
|
|
78
|
-
<li>
|
|
79
|
-
<div class="relative pb-8">
|
|
80
|
-
<span
|
|
81
|
-
class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"
|
|
82
|
-
aria-hidden="true"
|
|
83
|
-
></span>
|
|
84
|
-
<div class="relative flex space-x-3">
|
|
85
|
-
<div>
|
|
86
|
-
<span
|
|
87
|
-
class="h-8 w-8 rounded-full bg-green-500 flex items-center justify-center ring-8 ring-white"
|
|
88
|
-
>
|
|
89
|
-
<!-- Heroicon name: check -->
|
|
90
|
-
<svg
|
|
91
|
-
class="h-5 w-5 text-white"
|
|
92
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
93
|
-
viewBox="0 0 20 20"
|
|
94
|
-
fill="currentColor"
|
|
95
|
-
aria-hidden="true"
|
|
96
|
-
>
|
|
97
|
-
<path
|
|
98
|
-
fill-rule="evenodd"
|
|
99
|
-
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
|
|
100
|
-
clip-rule="evenodd"
|
|
101
|
-
/>
|
|
102
|
-
</svg>
|
|
103
|
-
</span>
|
|
104
|
-
</div>
|
|
105
|
-
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
106
|
-
<div>
|
|
107
|
-
<p class="text-sm text-gray-500">
|
|
108
|
-
Completed phone screening with
|
|
109
|
-
<a href="#" class="font-medium text-gray-900"
|
|
110
|
-
>Martha Gardner</a
|
|
111
|
-
>
|
|
112
|
-
</p>
|
|
113
|
-
</div>
|
|
114
|
-
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
115
|
-
<time datetime="2020-09-28">Sep 28</time>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
</li>
|
|
121
|
-
|
|
122
|
-
<li>
|
|
123
|
-
<div class="relative pb-8">
|
|
124
|
-
<span
|
|
125
|
-
class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"
|
|
126
|
-
aria-hidden="true"
|
|
127
|
-
></span>
|
|
128
|
-
<div class="relative flex space-x-3">
|
|
129
|
-
<div>
|
|
130
|
-
<span
|
|
131
|
-
class="h-8 w-8 rounded-full bg-blue-500 flex items-center justify-center ring-8 ring-white"
|
|
132
|
-
>
|
|
133
|
-
<!-- Heroicon name: thumb-up -->
|
|
134
|
-
<svg
|
|
135
|
-
class="h-5 w-5 text-white"
|
|
136
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
137
|
-
viewBox="0 0 20 20"
|
|
138
|
-
fill="currentColor"
|
|
139
|
-
aria-hidden="true"
|
|
140
|
-
>
|
|
141
|
-
<path
|
|
142
|
-
d="M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"
|
|
143
|
-
/>
|
|
144
|
-
</svg>
|
|
145
|
-
</span>
|
|
146
|
-
</div>
|
|
147
|
-
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
148
|
-
<div>
|
|
149
|
-
<p class="text-sm text-gray-500">
|
|
150
|
-
Advanced to interview by
|
|
151
|
-
<a href="#" class="font-medium text-gray-900"
|
|
152
|
-
>Bethany Blake</a
|
|
153
|
-
>
|
|
154
|
-
</p>
|
|
155
|
-
</div>
|
|
156
|
-
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
157
|
-
<time datetime="2020-09-30">Sep 30</time>
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
|
-
</div>
|
|
161
|
-
</div>
|
|
162
|
-
</li>
|
|
163
|
-
|
|
164
|
-
<li>
|
|
165
|
-
<div class="relative pb-8">
|
|
166
|
-
<div class="relative flex space-x-3">
|
|
167
|
-
<div>
|
|
168
|
-
<span
|
|
169
|
-
class="h-8 w-8 rounded-full bg-green-500 flex items-center justify-center ring-8 ring-white"
|
|
170
|
-
>
|
|
171
|
-
<!-- Heroicon name: check -->
|
|
172
|
-
<svg
|
|
173
|
-
class="h-5 w-5 text-white"
|
|
174
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
175
|
-
viewBox="0 0 20 20"
|
|
176
|
-
fill="currentColor"
|
|
177
|
-
aria-hidden="true"
|
|
178
|
-
>
|
|
179
|
-
<path
|
|
180
|
-
fill-rule="evenodd"
|
|
181
|
-
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
|
|
182
|
-
clip-rule="evenodd"
|
|
183
|
-
/>
|
|
184
|
-
</svg>
|
|
185
|
-
</span>
|
|
186
|
-
</div>
|
|
187
|
-
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
188
|
-
<div>
|
|
189
|
-
<p class="text-sm text-gray-500">
|
|
190
|
-
Completed interview with
|
|
191
|
-
<a href="#" class="font-medium text-gray-900"
|
|
192
|
-
>Katherine Snyder</a
|
|
193
|
-
>
|
|
194
|
-
</p>
|
|
195
|
-
</div>
|
|
196
|
-
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
197
|
-
<time datetime="2020-10-04">Oct 4</time>
|
|
198
|
-
</div>
|
|
199
|
-
</div>
|
|
200
|
-
</div>
|
|
201
|
-
</div>
|
|
202
|
-
</li>
|
|
203
|
-
</ul>
|
|
204
|
-
</div>
|
|
205
|
-
</div>
|
|
206
|
-
</template>
|
|
207
|
-
|
|
208
|
-
<script>
|
|
209
|
-
import CIcon from "../CIcon/CIcon.vue";
|
|
210
|
-
export default {
|
|
211
|
-
name: "CTimeline",
|
|
212
|
-
components: { CIcon },
|
|
213
|
-
props: {
|
|
214
|
-
statsCount: {
|
|
215
|
-
type: Array,
|
|
216
|
-
},
|
|
217
|
-
color: {
|
|
218
|
-
type: String,
|
|
219
|
-
},
|
|
220
|
-
icon:{
|
|
221
|
-
type: String
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
computed: {
|
|
225
|
-
colorClasses() {
|
|
226
|
-
return {
|
|
227
|
-
"bg-red-200 text-red-800": this.color == "red",
|
|
228
|
-
"bg-yellow-100 text-yellow-800": this.color == "yellow",
|
|
229
|
-
"bg-green-100 text-green-800": this.color == "green",
|
|
230
|
-
"bg-indigo-100 text-indigo-800": this.color == "indigo"
|
|
231
|
-
};
|
|
232
|
-
},
|
|
233
|
-
},
|
|
234
|
-
};
|
|
235
|
-
</script>
|
|
236
|
-
|
|
237
|
-
<style></style>
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="flow-root">
|
|
4
|
+
<ul class="-mb-8">
|
|
5
|
+
<li>
|
|
6
|
+
<div class="relative pb-8">
|
|
7
|
+
<span
|
|
8
|
+
class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"
|
|
9
|
+
aria-hidden="true"
|
|
10
|
+
></span>
|
|
11
|
+
<div class="relative flex space-x-3">
|
|
12
|
+
<div>
|
|
13
|
+
<span :class="colorClasses"
|
|
14
|
+
class="h-8 w-8 rounded-full flex items-center justify-center ring-8 ring-white"
|
|
15
|
+
>
|
|
16
|
+
<c-icon :name="icon" type="solid" class="h-5 w-5"></c-icon>
|
|
17
|
+
</span>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
20
|
+
<div>
|
|
21
|
+
<p class="text-sm text-gray-500">
|
|
22
|
+
Applied to
|
|
23
|
+
<a href="#" class="font-medium text-gray-900"
|
|
24
|
+
>Front End Developer</a
|
|
25
|
+
>
|
|
26
|
+
</p>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
29
|
+
<time datetime="2020-09-20">Sep 20</time>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</li>
|
|
35
|
+
|
|
36
|
+
<li>
|
|
37
|
+
<div class="relative pb-8">
|
|
38
|
+
<span
|
|
39
|
+
class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"
|
|
40
|
+
aria-hidden="true"
|
|
41
|
+
></span>
|
|
42
|
+
<div class="relative flex space-x-3">
|
|
43
|
+
<div>
|
|
44
|
+
<span
|
|
45
|
+
class="h-8 w-8 rounded-full bg-blue-500 flex items-center justify-center ring-8 ring-white"
|
|
46
|
+
>
|
|
47
|
+
<!-- Heroicon name: thumb-up -->
|
|
48
|
+
<svg
|
|
49
|
+
class="h-5 w-5 text-white"
|
|
50
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
51
|
+
viewBox="0 0 20 20"
|
|
52
|
+
fill="currentColor"
|
|
53
|
+
aria-hidden="true"
|
|
54
|
+
>
|
|
55
|
+
<path
|
|
56
|
+
d="M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"
|
|
57
|
+
/>
|
|
58
|
+
</svg>
|
|
59
|
+
</span>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
62
|
+
<div>
|
|
63
|
+
<p class="text-sm text-gray-500">
|
|
64
|
+
Advanced to phone screening by
|
|
65
|
+
<a href="#" class="font-medium text-gray-900"
|
|
66
|
+
>Bethany Blake</a
|
|
67
|
+
>
|
|
68
|
+
</p>
|
|
69
|
+
</div>
|
|
70
|
+
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
71
|
+
<time datetime="2020-09-22">Sep 22</time>
|
|
72
|
+
</div>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</li>
|
|
77
|
+
|
|
78
|
+
<li>
|
|
79
|
+
<div class="relative pb-8">
|
|
80
|
+
<span
|
|
81
|
+
class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"
|
|
82
|
+
aria-hidden="true"
|
|
83
|
+
></span>
|
|
84
|
+
<div class="relative flex space-x-3">
|
|
85
|
+
<div>
|
|
86
|
+
<span
|
|
87
|
+
class="h-8 w-8 rounded-full bg-green-500 flex items-center justify-center ring-8 ring-white"
|
|
88
|
+
>
|
|
89
|
+
<!-- Heroicon name: check -->
|
|
90
|
+
<svg
|
|
91
|
+
class="h-5 w-5 text-white"
|
|
92
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
93
|
+
viewBox="0 0 20 20"
|
|
94
|
+
fill="currentColor"
|
|
95
|
+
aria-hidden="true"
|
|
96
|
+
>
|
|
97
|
+
<path
|
|
98
|
+
fill-rule="evenodd"
|
|
99
|
+
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
|
|
100
|
+
clip-rule="evenodd"
|
|
101
|
+
/>
|
|
102
|
+
</svg>
|
|
103
|
+
</span>
|
|
104
|
+
</div>
|
|
105
|
+
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
106
|
+
<div>
|
|
107
|
+
<p class="text-sm text-gray-500">
|
|
108
|
+
Completed phone screening with
|
|
109
|
+
<a href="#" class="font-medium text-gray-900"
|
|
110
|
+
>Martha Gardner</a
|
|
111
|
+
>
|
|
112
|
+
</p>
|
|
113
|
+
</div>
|
|
114
|
+
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
115
|
+
<time datetime="2020-09-28">Sep 28</time>
|
|
116
|
+
</div>
|
|
117
|
+
</div>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
</li>
|
|
121
|
+
|
|
122
|
+
<li>
|
|
123
|
+
<div class="relative pb-8">
|
|
124
|
+
<span
|
|
125
|
+
class="absolute top-4 left-4 -ml-px h-full w-0.5 bg-gray-200"
|
|
126
|
+
aria-hidden="true"
|
|
127
|
+
></span>
|
|
128
|
+
<div class="relative flex space-x-3">
|
|
129
|
+
<div>
|
|
130
|
+
<span
|
|
131
|
+
class="h-8 w-8 rounded-full bg-blue-500 flex items-center justify-center ring-8 ring-white"
|
|
132
|
+
>
|
|
133
|
+
<!-- Heroicon name: thumb-up -->
|
|
134
|
+
<svg
|
|
135
|
+
class="h-5 w-5 text-white"
|
|
136
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
137
|
+
viewBox="0 0 20 20"
|
|
138
|
+
fill="currentColor"
|
|
139
|
+
aria-hidden="true"
|
|
140
|
+
>
|
|
141
|
+
<path
|
|
142
|
+
d="M2 10.5a1.5 1.5 0 113 0v6a1.5 1.5 0 01-3 0v-6zM6 10.333v5.43a2 2 0 001.106 1.79l.05.025A4 4 0 008.943 18h5.416a2 2 0 001.962-1.608l1.2-6A2 2 0 0015.56 8H12V4a2 2 0 00-2-2 1 1 0 00-1 1v.667a4 4 0 01-.8 2.4L6.8 7.933a4 4 0 00-.8 2.4z"
|
|
143
|
+
/>
|
|
144
|
+
</svg>
|
|
145
|
+
</span>
|
|
146
|
+
</div>
|
|
147
|
+
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
148
|
+
<div>
|
|
149
|
+
<p class="text-sm text-gray-500">
|
|
150
|
+
Advanced to interview by
|
|
151
|
+
<a href="#" class="font-medium text-gray-900"
|
|
152
|
+
>Bethany Blake</a
|
|
153
|
+
>
|
|
154
|
+
</p>
|
|
155
|
+
</div>
|
|
156
|
+
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
157
|
+
<time datetime="2020-09-30">Sep 30</time>
|
|
158
|
+
</div>
|
|
159
|
+
</div>
|
|
160
|
+
</div>
|
|
161
|
+
</div>
|
|
162
|
+
</li>
|
|
163
|
+
|
|
164
|
+
<li>
|
|
165
|
+
<div class="relative pb-8">
|
|
166
|
+
<div class="relative flex space-x-3">
|
|
167
|
+
<div>
|
|
168
|
+
<span
|
|
169
|
+
class="h-8 w-8 rounded-full bg-green-500 flex items-center justify-center ring-8 ring-white"
|
|
170
|
+
>
|
|
171
|
+
<!-- Heroicon name: check -->
|
|
172
|
+
<svg
|
|
173
|
+
class="h-5 w-5 text-white"
|
|
174
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
175
|
+
viewBox="0 0 20 20"
|
|
176
|
+
fill="currentColor"
|
|
177
|
+
aria-hidden="true"
|
|
178
|
+
>
|
|
179
|
+
<path
|
|
180
|
+
fill-rule="evenodd"
|
|
181
|
+
d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"
|
|
182
|
+
clip-rule="evenodd"
|
|
183
|
+
/>
|
|
184
|
+
</svg>
|
|
185
|
+
</span>
|
|
186
|
+
</div>
|
|
187
|
+
<div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4">
|
|
188
|
+
<div>
|
|
189
|
+
<p class="text-sm text-gray-500">
|
|
190
|
+
Completed interview with
|
|
191
|
+
<a href="#" class="font-medium text-gray-900"
|
|
192
|
+
>Katherine Snyder</a
|
|
193
|
+
>
|
|
194
|
+
</p>
|
|
195
|
+
</div>
|
|
196
|
+
<div class="text-right text-sm whitespace-nowrap text-gray-500">
|
|
197
|
+
<time datetime="2020-10-04">Oct 4</time>
|
|
198
|
+
</div>
|
|
199
|
+
</div>
|
|
200
|
+
</div>
|
|
201
|
+
</div>
|
|
202
|
+
</li>
|
|
203
|
+
</ul>
|
|
204
|
+
</div>
|
|
205
|
+
</div>
|
|
206
|
+
</template>
|
|
207
|
+
|
|
208
|
+
<script>
|
|
209
|
+
import CIcon from "../CIcon/CIcon.vue";
|
|
210
|
+
export default {
|
|
211
|
+
name: "CTimeline",
|
|
212
|
+
components: { CIcon },
|
|
213
|
+
props: {
|
|
214
|
+
statsCount: {
|
|
215
|
+
type: Array,
|
|
216
|
+
},
|
|
217
|
+
color: {
|
|
218
|
+
type: String,
|
|
219
|
+
},
|
|
220
|
+
icon:{
|
|
221
|
+
type: String
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
computed: {
|
|
225
|
+
colorClasses() {
|
|
226
|
+
return {
|
|
227
|
+
"bg-red-200 text-red-800": this.color == "red",
|
|
228
|
+
"bg-yellow-100 text-yellow-800": this.color == "yellow",
|
|
229
|
+
"bg-green-100 text-green-800": this.color == "green",
|
|
230
|
+
"bg-indigo-100 text-indigo-800": this.color == "indigo"
|
|
231
|
+
};
|
|
232
|
+
},
|
|
233
|
+
},
|
|
234
|
+
};
|
|
235
|
+
</script>
|
|
236
|
+
|
|
237
|
+
<style></style>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import CTimeline from './CTimeline.vue'
|
|
2
|
-
|
|
1
|
+
import CTimeline from './CTimeline.vue'
|
|
2
|
+
|
|
3
3
|
export default CTimeline
|