@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 +1 -1
- package/src/AvDrawer.astro +1 -1
- package/src/styles/global.css +13 -0
package/package.json
CHANGED
package/src/AvDrawer.astro
CHANGED
|
@@ -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>
|
package/src/styles/global.css
CHANGED
|
@@ -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);
|