From eba6b2e6adaca253075e917bb0b72b9f15d70525 Mon Sep 17 00:00:00 2001 From: Buddy Date: Wed, 10 Jun 2026 07:13:49 -0700 Subject: [PATCH] refactor: use type="base" instead of slot="base" for control-layers slot is a reserved HTML global attribute with shadow-DOM semantics; using it was misleading even though it happened to work. Switch to type="base" / type="overlay", which is conventional and carries no side effects. --- demos/layers-control.html | 6 +++--- src/components/leaflet-control-layers.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/demos/layers-control.html b/demos/layers-control.html index a1f37ed..6703555 100644 --- a/demos/layers-control.html +++ b/demos/layers-control.html @@ -16,20 +16,20 @@