Skip to content

Commit

Permalink
feat: APPS-3078 add is highlighted to blockcardthreecolumn (#662)
Browse files Browse the repository at this point in the history
* feat: add is highlighted to blockcardthreecolumn

* chore: add ishighlighted to stories

* chore: run linter

---------

Co-authored-by: Jess Divers <[email protected]>
  • Loading branch information
farosFreed and Jess Divers authored Dec 13, 2024
1 parent 8b94fe8 commit 32758a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/lib-components/BlockCardThreeColumn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ const parsedDateFormat = computed(() => {
<BlockTag
:label="label.title"
:is-secondary="true"
:is-highlighted="label.isHighlighted"
/>
</div>
</template>
Expand Down
6 changes: 4 additions & 2 deletions src/stories/BlockCardThreeColumn.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ const mockDefault = {
title: 'Guest speaker'
},
{
title: '35mm'
title: '35mm',
isHighlighted: true
}
],
}
Expand All @@ -39,7 +40,8 @@ const mockSingleDigitDate = {
title: 'Guest speaker'
},
{
title: '35mm'
title: '35mm',
isHighlighted: true
}
],
}
Expand Down
1 change: 1 addition & 0 deletions src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ export interface LocationItemType {
export interface EventFiltersItemType {
id: string
title: string
isHighlighted?: boolean
}

export interface SearchLinkItemType {
Expand Down

1 comment on commit 32758a6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.