@octostar/map-component 0.2.3 → 0.2.4
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/dist/index.cjs +5 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types/components/layers-panel.d.ts +7 -1
- package/dist/types/components/layers-panel.d.ts.map +1 -1
- package/dist/types/components/map-editor-canvas.d.ts.map +1 -1
- package/dist/types/lib/map-editor-api.d.ts +7 -0
- package/dist/types/lib/map-editor-api.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1766,6 +1766,7 @@ function LayersPanel({
|
|
|
1766
1766
|
externalPersistence = false,
|
|
1767
1767
|
customGlobalMenuItems,
|
|
1768
1768
|
extraLayerToolbarButtons,
|
|
1769
|
+
extraNewLayerButtons,
|
|
1769
1770
|
layerBadgeProvider,
|
|
1770
1771
|
featureCountProvider
|
|
1771
1772
|
}) {
|
|
@@ -2711,7 +2712,8 @@ function LayersPanel({
|
|
|
2711
2712
|
className: "!w-7 !h-7 !min-w-0 !p-0 shrink-0",
|
|
2712
2713
|
"data-testid": "button-search-new-layer"
|
|
2713
2714
|
}
|
|
2714
|
-
) })
|
|
2715
|
+
) }),
|
|
2716
|
+
extraNewLayerButtons
|
|
2715
2717
|
] })
|
|
2716
2718
|
] }),
|
|
2717
2719
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1 min-h-0 overflow-y-auto", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "p-1.5 space-y-0.5 pr-2", children: [
|
|
@@ -6008,6 +6010,7 @@ const MapEditorCanvas = react.forwardRef(function MapEditorCanvas2({
|
|
|
6008
6010
|
toastProvider,
|
|
6009
6011
|
customGlobalMenuItems,
|
|
6010
6012
|
extraLayerToolbarButtons,
|
|
6013
|
+
extraNewLayerButtons,
|
|
6011
6014
|
layerBadgeProvider,
|
|
6012
6015
|
featureCountProvider,
|
|
6013
6016
|
fitBoundsProvider,
|
|
@@ -13011,6 +13014,7 @@ const MapEditorCanvas = react.forwardRef(function MapEditorCanvas2({
|
|
|
13011
13014
|
externalPersistence,
|
|
13012
13015
|
customGlobalMenuItems,
|
|
13013
13016
|
extraLayerToolbarButtons,
|
|
13017
|
+
extraNewLayerButtons,
|
|
13014
13018
|
layerBadgeProvider,
|
|
13015
13019
|
featureCountProvider
|
|
13016
13020
|
}
|