Skip to content

Commit

Permalink
feat(related-tags): customize curated RTs (#71)
Browse files Browse the repository at this point in the history
* feat(related-tags): add curated tags icon

EX-5353

* Update version
  • Loading branch information
javieri-empathy authored Feb 7, 2022
1 parent 3247a56 commit 19c129a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
"lint": "vue-cli-service lint",
"release": "standard-version --no-verify",
"release:alpha": "standard-version --no-verify --prerelease alpha",
"install:local": "npm install file:../x/packages/x-components/empathyco-x-components-3.0.0-alpha.47.tgz --no-save",
"install:local": "npm install file:../x/packages/x-components/empathyco-x-components-3.0.0-alpha.49.tgz --no-save",
"json:csv": "json-csv ./src/i18n/messages",
"csv:json": "csv-json ./output ./src/i18n/messages"
},
"dependencies": {
"@empathyco/x-adapter": "^7.0.0-alpha.9",
"@empathyco/x-components": "^3.0.0-alpha.48",
"@empathyco/x-components": "^3.0.0-alpha.49",
"@empathyco/x-types": "^10.0.0-alpha.14",
"reflect-metadata": "^0.1.13",
"tslib": "~2.3.0",
Expand Down
6 changes: 3 additions & 3 deletions src/components/search/related-tags.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</template>

<template #related-tag-content="{ relatedTag, isSelected, shouldHighlightCurated }">
<TagIcon v-if="shouldHighlightCurated" />
<CuratedCheckIcon v-if="shouldHighlightCurated" />
{{ relatedTag.tag }}
<CrossTinyIcon v-if="isSelected" />
<PlusIcon v-else />
Expand All @@ -34,7 +34,7 @@
PlusIcon,
SlidingPanel,
StaggeredFadeAndSlide,
TagIcon
CuratedCheckIcon
} from '@empathyco/x-components';
import { RelatedTags } from '@empathyco/x-components/related-tags';
import Vue from 'vue';
Expand All @@ -48,7 +48,7 @@
PlusIcon,
RelatedTags,
SlidingPanel,
TagIcon
CuratedCheckIcon
}
})
export default class RelatedTagsComponent extends Vue {
Expand Down

0 comments on commit 19c129a

Please sign in to comment.