From ded45373cd6d6e298234e5f45e10b7a39857bbbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leandro=20In=C3=A1cio?= Date: Mon, 30 Oct 2023 12:31:03 +0100 Subject: [PATCH] :sparkles: Adds new tag list modifier (#1219) --- src/components/HdTagTypes.ts | 4 +++ src/components/HdTagsList.vue | 35 +++++++++++++++--- src/index.js | 1 + src/stories/HdTagsList.stories.js | 36 +++++++++---------- tests/unit/components/HdTagsList.spec.js | 13 ++++++- .../__snapshots__/HdTagsList.spec.js.snap | 15 ++++++-- 6 files changed, 79 insertions(+), 25 deletions(-) create mode 100644 src/components/HdTagTypes.ts diff --git a/src/components/HdTagTypes.ts b/src/components/HdTagTypes.ts new file mode 100644 index 000000000..0ec4bc7a3 --- /dev/null +++ b/src/components/HdTagTypes.ts @@ -0,0 +1,4 @@ +export default { + PRIMARY: 'primary', + SECONDARY: 'secondary', +}; diff --git a/src/components/HdTagsList.vue b/src/components/HdTagsList.vue index a892b4fee..d058e63f3 100644 --- a/src/components/HdTagsList.vue +++ b/src/components/HdTagsList.vue @@ -1,5 +1,5 @@