@ansiversa/components 0.0.69 → 0.0.71

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.69",
3
+ "version": "0.0.71",
4
4
  "description": "Shared UI components and layouts for the Ansiversa ecosystem",
5
5
  "type": "module",
6
6
  "exports": {
@@ -26,7 +26,7 @@ const { title, description } = Astro.props as Props;
26
26
  type="button"
27
27
  class="av-drawer__close"
28
28
  aria-label="Close"
29
- x-on:click="$dispatch('close-drawer')"
29
+ x-on:click="if (typeof closeDrawer === 'function') closeDrawer(); $dispatch('close-drawer')"
30
30
  >
31
31
  <span aria-hidden="true">×</span>
32
32
  </button>
@@ -800,6 +800,19 @@
800
800
  border-left: none !important;
801
801
  }
802
802
 
803
+ /* Let the overlay handle backdrop clicks; don't let the drawer root block it. */
804
+ .av-drawer-overlay .av-drawer-root {
805
+ position: static;
806
+ inset: auto;
807
+ width: auto;
808
+ height: auto;
809
+ pointer-events: none;
810
+ }
811
+
812
+ .av-drawer-overlay .av-drawer {
813
+ pointer-events: auto;
814
+ }
815
+
803
816
  /* TABLE */
804
817
  .av-table {
805
818
  border: 1px solid var(--ans-border);