@ansiversa/components 0.0.98 → 0.0.100

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ansiversa/components",
3
- "version": "0.0.98",
3
+ "version": "0.0.100",
4
4
  "description": "Shared UI components and layouts for the Ansiversa ecosystem",
5
5
  "type": "module",
6
6
  "exports": {
package/src/AvIcon.astro CHANGED
@@ -14,6 +14,7 @@ export interface Props {
14
14
  | "heart-filled"
15
15
  | "eye"
16
16
  | "eye-off"
17
+ | "x"
17
18
  | "chevron-left"
18
19
  | "chevron-right"
19
20
  | "chevron-up"
@@ -143,6 +144,13 @@ const role = title ? "img" : undefined;
143
144
  </>
144
145
  )}
145
146
 
147
+ {name === "x" && (
148
+ <>
149
+ <line x1="18" y1="6" x2="6" y2="18" />
150
+ <line x1="6" y1="6" x2="18" y2="18" />
151
+ </>
152
+ )}
153
+
146
154
  {name === "chevron-left" && <polyline points="15 18 9 12 15 6" />}
147
155
  {name === "chevron-right" && <polyline points="9 18 15 12 9 6" />}
148
156
  {name === "chevron-up" && <polyline points="18 15 12 9 6 15" />}
@@ -145,7 +145,7 @@ const userInitial =
145
145
 
146
146
  <div class="av-nav-user-menu">
147
147
  {user?.roleId === 1 && (
148
- <a href={`${ROOT_URL}/admin`} class="av-user-menu-item av-dropdown-item" role="menuitem">
148
+ <a href="/admin" class="av-user-menu-item av-dropdown-item" role="menuitem">
149
149
  <span>Administration</span>
150
150
  </a>
151
151
  )}