|
30 | 30 | :counter-number="44" |
31 | 31 | :counter-highlighted="true"> |
32 | 32 | <template #icon> |
33 | | - <avatar size="44" user="janedoe" display-name="Jane Doe" /> |
| 33 | + <avatar :size="44" user="janedoe" display-name="Jane Doe" /> |
34 | 34 | </template> |
35 | 35 | <template #subtitle> |
36 | 36 | In this slot you can put both text and other components such as icons |
37 | 37 | </template> |
38 | | - <AppNavigationCounter #counter> |
| 38 | + <CounterBubble #counter> |
39 | 39 | 7 |
40 | | - </AppNavigationCounter> |
| 40 | + </CounterBubble> |
41 | 41 | <template #actions> |
42 | 42 | <ActionButton> |
43 | 43 | Button one |
|
54 | 54 | :title="'Title of the element'" |
55 | 55 | :bold="false"> |
56 | 56 | <template #icon> |
57 | | - <avatar size="44" user="janedoe" display-name="Jane Doe" /> |
| 57 | + <avatar :size="44" user="janedoe" display-name="Jane Doe" /> |
58 | 58 | </template> |
59 | 59 | <template #subtitle> |
60 | 60 | In this slot you can put both text and other components such as icons |
61 | 61 | </template> |
62 | | - <AppNavigationCounter #counter> |
| 62 | + <CounterBubble #counter> |
63 | 63 | 7 |
64 | | - </AppNavigationCounter> |
| 64 | + </CounterBubble> |
65 | 65 | <template #actions> |
66 | 66 | <ActionButton> |
67 | 67 | Button one |
|
79 | 79 | :bold="false" |
80 | 80 | :details="'One hour ago'"> |
81 | 81 | <template #icon> |
82 | | - <avatar size="44" user="janedoe" display-name="Jane Doe" /> |
| 82 | + <avatar :size="44" user="janedoe" display-name="Jane Doe" /> |
83 | 83 | </template> |
84 | 84 | <template #subtitle> |
85 | 85 | In this slot you can put both text and other components such as icons |
86 | 86 | </template> |
87 | | - <AppNavigationCounter #counter> |
| 87 | + <CounterBubble #counter> |
88 | 88 | 7 |
89 | | - </AppNavigationCounter> |
| 89 | + </CounterBubble> |
90 | 90 | </listItem> |
91 | 91 | </ul> |
92 | 92 |
|
|
145 | 145 |
|
146 | 146 | <!-- Counter --> |
147 | 147 | <span v-if="!displayActions" class="line-two__counter"> |
148 | | - <AppNavigationCounter |
| 148 | + <CounterBubble |
149 | 149 | v-if="counterNumber != 0" |
150 | 150 | :highlighted="counterHighlighted"> |
151 | 151 | {{ counterNumber }} |
152 | | - </AppNavigationCounter> |
| 152 | + </CounterBubble> |
153 | 153 | </span> |
154 | 154 | </div> |
155 | 155 | </div> |
|
182 | 182 |
|
183 | 183 | <script> |
184 | 184 | import Actions from '../Actions' |
185 | | -import AppNavigationCounter from '../AppNavigationCounter' |
| 185 | +import CounterBubble from '../CounterBubble' |
186 | 186 |
|
187 | 187 | export default { |
188 | 188 | name: 'ListItem', |
189 | 189 |
|
190 | 190 | components: { |
191 | 191 | Actions, |
192 | | - AppNavigationCounter, |
| 192 | + CounterBubble, |
193 | 193 | }, |
194 | 194 |
|
195 | 195 | props: { |
@@ -268,7 +268,7 @@ export default { |
268 | 268 |
|
269 | 269 | /** |
270 | 270 | * If different from from 0 this component will display the |
271 | | - * AppNavigationCounter component |
| 271 | + * CounterBubble component |
272 | 272 | */ |
273 | 273 | counterNumber: { |
274 | 274 | type: [Number, String], |
|
0 commit comments