@designcrowd/fe-shared-lib 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,8 +20,8 @@
20
20
  aria-labelledby="title"
21
21
  aria-describedby="desc"
22
22
  >
23
- <title v-if="title" :id="`${name}-${id}-title`" lang="en">{{ title }}</title>
24
- <desc v-if="description" :id="`${name}-${id}-desc`" lang="en">{{ description }}</desc>
23
+ <title :id="`${name}-${id}-title`" lang="en">{{ title }}</title>
24
+ <desc :id="`${name}-${id}-desc`" lang="en">{{ description }}</desc>
25
25
  <component :is="`icon-${iconName}`"></component>
26
26
  </svg>
27
27
  </div>
@@ -799,7 +799,7 @@ export default {
799
799
  return css || null;
800
800
  },
801
801
  title() {
802
- return this.altText;
802
+ return this.altText || `${this.titleCase(this.name)}`;
803
803
  },
804
804
  description() {
805
805
  return `${this.title} Icon`;