@alliance-droid/status-feedback-system 0.3.0 → 0.3.1

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.
@@ -299,11 +299,12 @@
299
299
  {#if isEnabled}
300
300
  <!-- Context menu -->
301
301
  {#if menuOpen}
302
+ <!-- svelte-ignore a11y_no_static_element_interactions -->
302
303
  <!-- svelte-ignore a11y_no_static_element_interactions -->
303
304
  <div
304
305
  class="fixed z-[99999]"
305
306
  style="left: {adjustedX}px; top: {adjustedY}px;"
306
- onmousedown|stopPropagation={() => {}}
307
+ onmousedown={(e) => e.stopPropagation()}
307
308
  >
308
309
  <div class="bg-surface-secondary border border-border rounded-lg shadow-xl overflow-hidden min-w-[180px]">
309
310
  <button
@@ -336,8 +337,10 @@
336
337
  <!-- Form modal -->
337
338
  {#if formOpen}
338
339
  <!-- svelte-ignore a11y_no_static_element_interactions -->
339
- <div class="fixed inset-0 z-[99998] flex items-center justify-center bg-black/50 backdrop-blur-sm" onmousedown|self={() => (formOpen = false)}>
340
- <div class="w-full max-w-lg mx-4" onmousedown|stopPropagation={() => {}}>
340
+ <!-- svelte-ignore a11y_no_static_element_interactions -->
341
+ <div class="fixed inset-0 z-[99998] flex items-center justify-center bg-black/50 backdrop-blur-sm" onmousedown={(e) => { if (e.target === e.currentTarget) formOpen = false; }}>
342
+ <!-- svelte-ignore a11y_no_static_element_interactions -->
343
+ <div class="w-full max-w-lg mx-4" onmousedown={(e) => e.stopPropagation()}>
341
344
  <Card variant="elevated" padding="none">
342
345
  <!-- Header -->
343
346
  <div class="flex items-center justify-between px-5 py-4 border-b border-border">
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alliance-droid/status-feedback-system",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "description": "Drop-in system status pages and user feedback forms for SvelteKit apps",
6
6
  "svelte": "./dist/index.js",