@ansiversa/components 0.0.148 → 0.0.151

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.148",
3
+ "version": "0.0.151",
4
4
  "description": "Shared UI components and layouts for the Ansiversa ecosystem",
5
5
  "type": "module",
6
6
  "exports": {
@@ -74,6 +74,12 @@ const iconMap: Record<string, string> = {
74
74
  <path d='M12 12.5v2'/>
75
75
  </svg>
76
76
  `,
77
+ "Sign in": `
78
+ <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">
79
+ <path d='M16 21v-1.5a4.5 4.5 0 0 0-9 0V21'/>
80
+ <circle cx='11.5' cy='9' r='3.5'/>
81
+ </svg>
82
+ `,
77
83
  default: `
78
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">
79
85
  <circle cx='12' cy='12' r='9'/>
@@ -20,6 +20,10 @@ export const resolveParentOrigin = () => {
20
20
  const envOrigin = normalizeOrigin(import.meta.env.PUBLIC_ANSIVERSA_PARENT_ORIGIN ?? "");
21
21
  if (envOrigin) return envOrigin;
22
22
 
23
+ if (import.meta.env.PROD) {
24
+ return PRODUCTION_PARENT_ORIGIN;
25
+ }
26
+
23
27
  if (typeof window !== "undefined") {
24
28
  const host = window.location.hostname.toLowerCase();
25
29
  if (isAnsiversaHostname(host)) {