-
Notifications
You must be signed in to change notification settings - Fork 24
Vuetify: hg‐card and hg‐card‐button (HgCardComponent and HgCardButtonComponent)
Mike Lyttle edited this page Jun 23, 2023
·
4 revisions
- Swap
<hg-card>and<hg-card-button>for<HgCardComponent>.- The
denseprop is no longer needed. - The
menuslot has been replaced with amenu-itemsslot that expects<v-list-item>elements. See example below. - The
heightprop should be specified on any<img>elements supplied in theiconslot. To match regular-size icons, the height should be30. To match small-size icons, the height should be25. See example below. -
<img>and<v-icon>elements do not need much in the way of classes or additional props.
- The
- There's an alternate method to make all cards in a
<v-row>expand to the same height, using thed-flexclass on the<v-col>and theflex-grow-1class on the<HgCardComponent>. See example below.
<v-row>
<v-col class="d-flex">
<HgCardComponent
title="Proof of Vaccination"
class="flex-grow-1"
@click="download"
>
<template #icon>
<img
src="@/assets/images/gov/canada-gov-logo.svg"
alt="Organ Donor Registry Logo"
:height="30"
/>
</template>
<div>
Download and print your Federal Proof of Vaccination for
domestic and international travel.
</div>
</HgCardComponent>
</v-col>
<v-col class="d-flex">
<HgCardComponent
title="Medications"
class="flex-grow-1"
@click="loadTimeline(EntryType.Medication)"
>
<template #icon>
<v-icon icon="fas fa-pills" />
</template>
<span>See your medication history dating back to 1995</span>
<template #menu-items>
<v-list-item
title="Remove"
@click="removeQuickLink(EntryType.Medication)"
/>
</template>
</HgCardComponent>
</v-col>
</v-row>
<v-row>
<v-col :cols="6">
<HgCardComponent
title="Health Records"
to="/timeline"
>
<template #icon>
<img
src="@/assets/images/gov/health-gateway-logo.svg"
alt="Health Gateway Logo"
:height="30"
/>
</template>
<template #action-icon>
<v-icon icon="fas fa-chevron-right" />
</template>
</HgCardComponent>
</v-col>
</v-row>
-
Developer Standard and Processes
-
Workstation Setup
-
IDE Configuration
-
Application Config
-
RedHat SSO Authorization Server
-
Known Issues