maplibre-gl-layer-control 0.10.0 → 0.12.0

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.
@@ -686,6 +686,19 @@
686
686
  color: #ffffff !important;
687
687
  }
688
688
 
689
+ .layer-control-style-editor .style-editor-button-remove {
690
+ background: #ef4444 !important;
691
+ color: #ffffff !important;
692
+ border-color: #dc2626 !important;
693
+ font-weight: 600;
694
+ }
695
+
696
+ .layer-control-style-editor .style-editor-button-remove:hover {
697
+ background: #dc2626 !important;
698
+ border-color: #b91c1c !important;
699
+ color: #ffffff !important;
700
+ }
701
+
689
702
  /* ===== Background Legend Panel ===== */
690
703
  .layer-control-background-legend {
691
704
  display: block;
@@ -233,6 +233,7 @@ export declare class LayerControl implements IControl {
233
233
  private excludeLayerPatterns;
234
234
  private customLayerRegistry;
235
235
  private customLayerUnsubscribe;
236
+ private removedCustomLayerIds;
236
237
  private basemapStyleUrl;
237
238
  private basemapLayerIds;
238
239
  private widthSliderEl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "maplibre-gl-layer-control",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "description": "A comprehensive layer control for MapLibre GL with advanced styling capabilities",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",