@ansiversa/components 0.0.151 → 0.0.153
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.
package/package.json
CHANGED
|
@@ -69,9 +69,9 @@ const iconMap: Record<string, string> = {
|
|
|
69
69
|
`,
|
|
70
70
|
About: `
|
|
71
71
|
<svg class="av-icon" width="16" height="16" viewBox='0 0 24 24' fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
72
|
-
<circle cx='12' cy='
|
|
73
|
-
<path d='
|
|
74
|
-
<
|
|
72
|
+
<circle cx='12' cy='12' r='9'/>
|
|
73
|
+
<path d='M12 11v5'/>
|
|
74
|
+
<circle cx='12' cy='7.5' r='0.5' fill='currentColor' stroke='none'/>
|
|
75
75
|
</svg>
|
|
76
76
|
`,
|
|
77
77
|
"Sign in": `
|
|
@@ -82,7 +82,8 @@ const iconMap: Record<string, string> = {
|
|
|
82
82
|
`,
|
|
83
83
|
default: `
|
|
84
84
|
<svg class="av-icon" width="16" height="16" viewBox='0 0 24 24' fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
85
|
-
<
|
|
85
|
+
<path d='M16 21v-1.5a4.5 4.5 0 0 0-9 0V21'/>
|
|
86
|
+
<circle cx='11.5' cy='9' r='3.5'/>
|
|
86
87
|
</svg>
|
|
87
88
|
`,
|
|
88
89
|
};
|
|
@@ -119,6 +120,7 @@ const unreadBadge = unreadCount > 99 ? "99+" : `${unreadCount}`;
|
|
|
119
120
|
href={item.href}
|
|
120
121
|
variant="ghost"
|
|
121
122
|
className={`av-nowrap${item.label === "Pricing" ? " av-hide-sm" : ""}`}
|
|
123
|
+
aria-label={item.label}
|
|
122
124
|
>
|
|
123
125
|
<span class="av-nav-icon" set:html={renderIcon(item.label)}></span>
|
|
124
126
|
<span class="av-nav-label">{item.label}</span>
|
|
@@ -210,6 +212,7 @@ const unreadBadge = unreadCount > 99 ? "99+" : `${unreadCount}`;
|
|
|
210
212
|
href={authLink.href}
|
|
211
213
|
variant={authLink.variant}
|
|
212
214
|
className="av-nowrap"
|
|
215
|
+
aria-label="Sign in"
|
|
213
216
|
>
|
|
214
217
|
<span class="av-nav-icon" set:html={renderIcon(authLink.label)}></span>
|
|
215
218
|
<span class="av-nav-label">{authLink.label}</span>
|