@ansiversa/components 0.0.129 → 0.0.130

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.129",
3
+ "version": "0.0.130",
4
4
  "description": "Shared UI components and layouts for the Ansiversa ecosystem",
5
5
  "type": "module",
6
6
  "exports": {
@@ -59,9 +59,17 @@ const componentId = `av-ai-assist-${Math.random().toString(36).slice(2, 10)}`;
59
59
  <div class="av-ai-assist-overlay" @click.self="closeModal()" @keydown.escape.window="closeModal()">
60
60
  <div class="av-ai-assist-modal" role="dialog" aria-modal="true" aria-label="AI suggestions">
61
61
  <div class="av-auth-stack-sm">
62
- <div class="av-row-between">
62
+ <div class="av-ai-assist-modal-header">
63
63
  <h3 class="av-card-heading av-m-0">AI Suggestions</h3>
64
- <button type="button" class="av-btn-ghost av-btn-sm" @click.prevent="closeModal()">Close</button>
64
+ <button
65
+ type="button"
66
+ class="av-btn-ghost av-btn-sm av-ai-assist-close"
67
+ @click.prevent="closeModal()"
68
+ aria-label="Close AI suggestions"
69
+ title="Close"
70
+ >
71
+ <span aria-hidden="true">X</span>
72
+ </button>
65
73
  </div>
66
74
 
67
75
  <template x-if="loading">
@@ -304,6 +312,21 @@ const componentId = `av-ai-assist-${Math.random().toString(36).slice(2, 10)}`;
304
312
  padding: 1rem;
305
313
  }
306
314
 
315
+ .av-ai-assist-modal-header {
316
+ display: flex;
317
+ align-items: center;
318
+ justify-content: space-between;
319
+ flex-wrap: nowrap;
320
+ gap: 0.75rem;
321
+ }
322
+
323
+ .av-ai-assist-close {
324
+ margin-left: auto;
325
+ flex-shrink: 0;
326
+ min-width: 2.25rem;
327
+ justify-content: center;
328
+ }
329
+
307
330
  .av-ai-assist-suggestion {
308
331
  display: grid;
309
332
  gap: 0.75rem;