@agenticmail/enterprise 0.5.245 → 0.5.246

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.
@@ -21,13 +21,20 @@ export function HelpButton(props) {
21
21
  onMouseEnter: function(e) { e.currentTarget.style.borderColor = 'var(--brand-color, #6366f1)'; e.currentTarget.style.color = 'var(--brand-color, #6366f1)'; },
22
22
  onMouseLeave: function(e) { e.currentTarget.style.borderColor = 'var(--text-muted, #6b7280)'; e.currentTarget.style.color = 'var(--text-muted, #6b7280)'; }
23
23
  }, '?'),
24
- isOpen && h(Modal, {
25
- title: props.label || 'Help',
26
- onClose: function() { setOpen(false); },
27
- large: true
24
+ isOpen && h('div', {
25
+ style: { position: 'fixed', inset: 0, background: 'var(--bg-modal, rgba(0,0,0,0.7))', display: 'flex', alignItems: 'center', justifyContent: 'center', zIndex: 200, animation: 'fadeIn 150ms ease' },
26
+ onClick: function(e) { if (e.target === e.currentTarget) setOpen(false); }
28
27
  },
29
- h('div', { style: { fontSize: 14, lineHeight: 1.7, color: 'var(--text-secondary, #9ca3af)', padding: '4px 0' } },
30
- props.children
28
+ h('div', { className: 'modal', style: { zIndex: 201 } },
29
+ h('div', { className: 'modal-header' },
30
+ h('h2', null, props.label || 'Help'),
31
+ h('button', { className: 'btn btn-ghost btn-icon', onClick: function() { setOpen(false); } }, I.x())
32
+ ),
33
+ h('div', { className: 'modal-body' },
34
+ h('div', { style: { fontSize: 14, lineHeight: 1.7, color: 'var(--text-secondary, #9ca3af)', padding: '4px 0' } },
35
+ props.children
36
+ )
37
+ )
31
38
  )
32
39
  )
33
40
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenticmail/enterprise",
3
- "version": "0.5.245",
3
+ "version": "0.5.246",
4
4
  "description": "AgenticMail Enterprise — cloud-hosted AI agent identity, email, auth & compliance for organizations",
5
5
  "type": "module",
6
6
  "bin": {
@@ -21,13 +21,20 @@ export function HelpButton(props) {
21
21
  onMouseEnter: function(e) { e.currentTarget.style.borderColor = 'var(--brand-color, #6366f1)'; e.currentTarget.style.color = 'var(--brand-color, #6366f1)'; },
22
22
  onMouseLeave: function(e) { e.currentTarget.style.borderColor = 'var(--text-muted, #6b7280)'; e.currentTarget.style.color = 'var(--text-muted, #6b7280)'; }
23
23
  }, '?'),
24
- isOpen && h(Modal, {
25
- title: props.label || 'Help',
26
- onClose: function() { setOpen(false); },
27
- large: true
24
+ isOpen && h('div', {
25
+ style: { position: 'fixed', inset: 0, background: 'var(--bg-modal, rgba(0,0,0,0.7))', display: 'flex', alignItems: 'center', justifyContent: 'center', zIndex: 200, animation: 'fadeIn 150ms ease' },
26
+ onClick: function(e) { if (e.target === e.currentTarget) setOpen(false); }
28
27
  },
29
- h('div', { style: { fontSize: 14, lineHeight: 1.7, color: 'var(--text-secondary, #9ca3af)', padding: '4px 0' } },
30
- props.children
28
+ h('div', { className: 'modal', style: { zIndex: 201 } },
29
+ h('div', { className: 'modal-header' },
30
+ h('h2', null, props.label || 'Help'),
31
+ h('button', { className: 'btn btn-ghost btn-icon', onClick: function() { setOpen(false); } }, I.x())
32
+ ),
33
+ h('div', { className: 'modal-body' },
34
+ h('div', { style: { fontSize: 14, lineHeight: 1.7, color: 'var(--text-secondary, #9ca3af)', padding: '4px 0' } },
35
+ props.children
36
+ )
37
+ )
31
38
  )
32
39
  )
33
40
  );