{"_id":"@bqtran/react-sidebar-v2","_rev":"9-9b4cca2587074b9e514925fb34ed2c47","name":"@bqtran/react-sidebar-v2","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.2-2":{"name":"@bqtran/react-sidebar-v2","version":"1.0.2-2","author":{"name":"Bao Tran","email":"contact@baotran.net"},"_id":"@bqtran/react-sidebar-v2@1.0.2-2","maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"contributors":[],"homepage":"https://github.com/bqtran/react-sidebar-v2#readme","bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"dist":{"shasum":"486ce6b2d173b5e5c66fd094bacf7ee1e3407edb","tarball":"https://registry.npmjs.org/@bqtran/react-sidebar-v2/-/react-sidebar-v2-1.0.2-2.tgz","fileCount":15,"integrity":"sha512-LYeoHX+JFthY3mXXh4uPJK9QyoYV/1AyUX2GVfrpbDwmkeXKq2IrqBcCBrX4J4uOHoLLyv8u2neecx39rpb3yw==","signatures":[{"sig":"MEUCIBkHGc3kwbv4uDUsQytR6/ogeMOxQ42qnqldDsYfP1jcAiEAykRHZrvb/Mm1Z+p3ws7ixpAHQ7DmxkA9SDNQAXhGs9U=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bqtran%2freact-sidebar-v2@1.0.2-2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1107507},"main":"dist/main.js","type":"module","types":"dist/main.d.ts","exports":{".":{"types":"./dist/main.d.ts","default":"./dist/main.js"}},"gitHead":"884cff6441d9bb3cafe412a0846e602a6539ffa9","private":false,"scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest","build":"tsc -b ./tsconfig.lib.json && vite build","preview":"vite preview","test:ui":"vitest --ui","test:watch":"vitest --watch","test:coverage":"vitest --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"bqtran","email":"bqtran@gmail.com"},"repository":{"url":"git+https://github.com/bqtran/react-sidebar-v2.git","type":"git"},"_npmVersion":"10.8.2","description":"[![Super-Linter](https://github.com/bqtran/react-sidebar-v2/actions/workflows/super-linter.yml/badge.svg)](https://github.com/marketplace/actions/super-linter)","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^6.0.5","jsdom":"^25.0.1","react":"^18.3.1","eslint":"^9.15.0","vitest":"^2.1.8","globals":"^15.12.0","postcss":"^8.4.49","react-dom":"^18.3.1","@eslint/js":"^9.15.0","sidebar-v2":"^0.4.0","typescript":"~5.7.2","@types/glob":"^8.1.0","@types/node":"^22.10.1","maplibre-gl":"^4.7.1","tailwindcss":"^3.4.15","@types/react":"^18.3.12","autoprefixer":"^10.4.20","lucide-react":"^0.462.0","react-leaflet":"^4.2.1","@types/leaflet":"^1.9.14","vite-plugin-dts":"^4.3.0","@types/react-dom":"^18.3.1","react-router-dom":"^7.1.0","typescript-eslint":"^8.16.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@vitejs/plugin-react-swc":"^3.7.2","eslint-plugin-react-hooks":"^5.0.0","vite-plugin-lib-inject-css":"^2.1.1","eslint-plugin-react-refresh":"^0.4.14"},"peerDependencies":{"react":"^18.3.1","react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/react-sidebar-v2_1.0.2-2_1735502368157_0.20657968292684914","host":"s3://npm-registry-packages-npm-production"}},"1.0.2-3":{"name":"@bqtran/react-sidebar-v2","version":"1.0.2-3","keywords":["react","leaflet","sidebar","sidebar-v2","react-leaflet","react-leaflet-v4","maplibre","maplibre-gl","maplibre-gl-js"],"author":{"name":"Bao Tran","email":"contact@baotran.net"},"_id":"@bqtran/react-sidebar-v2@1.0.2-3","maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"contributors":[],"homepage":"https://github.com/bqtran/react-sidebar-v2#readme","bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"dist":{"shasum":"1e7365cf9c73382106bdd381df7607671e92bab7","tarball":"https://registry.npmjs.org/@bqtran/react-sidebar-v2/-/react-sidebar-v2-1.0.2-3.tgz","fileCount":15,"integrity":"sha512-PpARiJkKwXR/7MJz1NaNuIFlhkbsJc0NjgBUWFfKEnc4NV7VINsmjYTBLI2YSXQXI4CvqrRZfxhVBtlJNYGUIA==","signatures":[{"sig":"MEYCIQD8Ebd+yPSIMz+zBwJTgwew3A7ZziBgq6CVP7lDd+U0CQIhAIMQidZUua1nSLHcWZbm2VrHTi/fw9OSQkKbzd+fuC4S","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bqtran%2freact-sidebar-v2@1.0.2-3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1107978},"main":"dist/main.js","type":"module","types":"dist/main.d.ts","exports":{".":{"types":"./dist/main.d.ts","default":"./dist/main.js"}},"gitHead":"014b48d3a7906247aeae58d1a3c5735a09893fab","private":false,"scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest","build":"tsc -b ./tsconfig.lib.json && vite build","preview":"vite preview","test:ui":"vitest --ui","test:watch":"vitest --watch","test:coverage":"vitest --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"bqtran","email":"bqtran@gmail.com"},"repository":{"url":"git+https://github.com/bqtran/react-sidebar-v2.git","type":"git"},"_npmVersion":"10.8.2","description":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square) ![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square) ![NPM Ve","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^6.0.5","jsdom":"^25.0.1","react":"^18.3.1","eslint":"^9.15.0","vitest":"^2.1.8","globals":"^15.12.0","postcss":"^8.4.49","react-dom":"^18.3.1","@eslint/js":"^9.15.0","sidebar-v2":"^0.4.0","typescript":"~5.7.2","@types/glob":"^8.1.0","@types/node":"^22.10.1","maplibre-gl":"^4.7.1","tailwindcss":"^3.4.15","@types/react":"^18.3.12","autoprefixer":"^10.4.20","lucide-react":"^0.462.0","react-leaflet":"^4.2.1","@types/leaflet":"^1.9.14","vite-plugin-dts":"^4.3.0","@types/react-dom":"^18.3.1","react-router-dom":"^7.1.0","typescript-eslint":"^8.16.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@vitejs/plugin-react-swc":"^3.7.2","eslint-plugin-react-hooks":"^5.0.0","vite-plugin-lib-inject-css":"^2.1.1","eslint-plugin-react-refresh":"^0.4.14"},"peerDependencies":{"react":"^18.3.1","react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/react-sidebar-v2_1.0.2-3_1735505261366_0.02289899181058863","host":"s3://npm-registry-packages-npm-production"}},"1.0.2-4":{"name":"@bqtran/react-sidebar-v2","version":"1.0.2-4","keywords":["react","leaflet","sidebar","sidebar-v2","react-leaflet","react-leaflet-v4","maplibre","maplibre-gl","maplibre-gl-js"],"author":{"name":"Bao Tran","email":"contact@baotran.net"},"_id":"@bqtran/react-sidebar-v2@1.0.2-4","maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"contributors":[],"homepage":"https://github.com/bqtran/react-sidebar-v2#readme","bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"dist":{"shasum":"74a526018bdb0c76938c55e46b943749bc18faa7","tarball":"https://registry.npmjs.org/@bqtran/react-sidebar-v2/-/react-sidebar-v2-1.0.2-4.tgz","fileCount":15,"integrity":"sha512-NOVRl9jtGhylvYIXUVsEbZpRq1TIOer8K0LTwVDQEBuBxkMHC3dp5D+6aRtFizwUrOs4fL8dZDLZY9VXl/HD7A==","signatures":[{"sig":"MEQCIEbj3jEOQgqsFygqCYNQs9NmzVpTQqF6pKqC+7lqvHZbAiA7mgDNIE6U8zdXo6SddeREMXGupHgQupfByroZmJk9pA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bqtran%2freact-sidebar-v2@1.0.2-4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1108334},"main":"dist/main.js","type":"module","types":"dist/main.d.ts","exports":{".":{"types":"./dist/main.d.ts","default":"./dist/main.js"}},"gitHead":"fdb024529257f0001c39b611d1d8578edf582179","private":false,"scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest","build":"tsc -b ./tsconfig.lib.json && vite build","preview":"vite preview","test:ui":"vitest --ui","test:watch":"vitest --watch","test:coverage":"vitest --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"bqtran","email":"bqtran@gmail.com"},"repository":{"url":"git+https://github.com/bqtran/react-sidebar-v2.git","type":"git"},"_npmVersion":"10.8.2","description":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square) ![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square) ![NPM Ve","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^6.0.5","jsdom":"^25.0.1","react":"^18.3.1","eslint":"^9.15.0","vitest":"^2.1.8","globals":"^15.12.0","postcss":"^8.4.49","react-dom":"^18.3.1","@eslint/js":"^9.15.0","sidebar-v2":"^0.4.0","typescript":"~5.7.2","@types/glob":"^8.1.0","@types/node":"^22.10.1","maplibre-gl":"^4.7.1","tailwindcss":"^3.4.15","@types/react":"^18.3.12","autoprefixer":"^10.4.20","lucide-react":"^0.462.0","react-leaflet":"^4.2.1","@types/leaflet":"^1.9.14","vite-plugin-dts":"^4.3.0","@types/react-dom":"^18.3.1","react-router-dom":"^7.1.0","typescript-eslint":"^8.16.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@vitejs/plugin-react-swc":"^3.7.2","eslint-plugin-react-hooks":"^5.0.0","vite-plugin-lib-inject-css":"^2.1.1","eslint-plugin-react-refresh":"^0.4.14"},"peerDependencies":{"react":"^18.3.1","react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/react-sidebar-v2_1.0.2-4_1735538377162_0.5132806216046437","host":"s3://npm-registry-packages-npm-production"}},"1.0.2-5":{"name":"@bqtran/react-sidebar-v2","version":"1.0.2-5","keywords":["react","leaflet","sidebar","sidebar-v2","react-leaflet","react-leaflet-v4","maplibre","maplibre-gl","maplibre-gl-js"],"author":{"name":"Bao Tran","email":"contact@baotran.net"},"_id":"@bqtran/react-sidebar-v2@1.0.2-5","maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"contributors":[],"homepage":"https://github.com/bqtran/react-sidebar-v2#readme","bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"dist":{"shasum":"6c47947e92e21c302ea1d8be37168966261ad81d","tarball":"https://registry.npmjs.org/@bqtran/react-sidebar-v2/-/react-sidebar-v2-1.0.2-5.tgz","fileCount":15,"integrity":"sha512-r6YAES6OWe6l0++g4SwfbqLB3eCX0gOSda+POgowifgWH9Mhg75GnZ7mcJMkL5hOPfk8rKu6X+OC1VXain6hOg==","signatures":[{"sig":"MEQCIFe6W1zoVFaZN8HjcmBO/M4K4jUFLIqjnlD4hpCRWV7XAiAohHWrbMvIEFgSRqXsstJz2xgbKCp7S1Ejb//xELF+9A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bqtran%2freact-sidebar-v2@1.0.2-5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1108352},"main":"dist/main.js","type":"module","types":"dist/main.d.ts","exports":{".":{"types":"./dist/main.d.ts","default":"./dist/main.js"}},"gitHead":"e02613a4e10af08305b8ee85be7f790bcaf00540","private":false,"scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest","build":"tsc -b ./tsconfig.lib.json && vite build","preview":"vite preview","test:ui":"vitest --ui","test:watch":"vitest --watch","test:coverage":"vitest --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"bqtran","email":"bqtran@gmail.com"},"repository":{"url":"git+https://github.com/bqtran/react-sidebar-v2.git","type":"git"},"_npmVersion":"10.8.2","description":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square) ![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square) ![NPM Ve","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^6.0.5","jsdom":"^25.0.1","react":"^18.3.1","eslint":"^9.15.0","vitest":"^2.1.8","globals":"^15.12.0","postcss":"^8.4.49","react-dom":"^18.3.1","@eslint/js":"^9.15.0","sidebar-v2":"^0.4.0","typescript":"~5.7.2","@types/glob":"^8.1.0","@types/node":"^22.10.1","maplibre-gl":"^4.7.1","tailwindcss":"^3.4.15","@types/react":"^18.3.12","autoprefixer":"^10.4.20","lucide-react":"^0.462.0","react-leaflet":"^4.2.1","@types/leaflet":"^1.9.14","vite-plugin-dts":"^4.3.0","@types/react-dom":"^18.3.1","react-router-dom":"^7.1.0","typescript-eslint":"^8.16.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@vitejs/plugin-react-swc":"^3.7.2","eslint-plugin-react-hooks":"^5.0.0","vite-plugin-lib-inject-css":"^2.1.1","eslint-plugin-react-refresh":"^0.4.14"},"peerDependencies":{"react":"^18.3.1","react-dom":"^18.3.1"},"_npmOperationalInternal":{"tmp":"tmp/react-sidebar-v2_1.0.2-5_1735540883751_0.006844585979827844","host":"s3://npm-registry-packages-npm-production"}},"1.0.2-6":{"name":"@bqtran/react-sidebar-v2","version":"1.0.2-6","keywords":["react","leaflet","sidebar","sidebar-v2","react-leaflet","react-leaflet-v4","maplibre","maplibre-gl","maplibre-gl-js"],"author":{"name":"Bao Tran","email":"contact@baotran.net"},"license":"MIT","_id":"@bqtran/react-sidebar-v2@1.0.2-6","maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"contributors":[],"homepage":"https://github.com/bqtran/react-sidebar-v2#readme","bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"dist":{"shasum":"dbb9fa1fd2e541a6f0d528823e234e82321d8cdd","tarball":"https://registry.npmjs.org/@bqtran/react-sidebar-v2/-/react-sidebar-v2-1.0.2-6.tgz","fileCount":15,"integrity":"sha512-y1NwvyB9SlyejO7q0fOxnitmvDEMi6ddfIMXFv0L1n44sHlYXp+txs10KGK+QievJh6gHGSu2f4V801eKw7LQQ==","signatures":[{"sig":"MEYCIQDKulXFQJ6JA88sUq0sIh6hr4cwkGh1O1t2oM2mmzWSvwIhAIfSbFeJ9BdC39KfiT9W8JiGv87jQxLGOmwHzC3XW8TD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bqtran%2freact-sidebar-v2@1.0.2-6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":328863},"main":"dist/main.js","type":"module","types":"dist/main.d.ts","exports":{".":{"types":"./dist/main.d.ts","default":"./dist/main.js"}},"gitHead":"aece1e5312f827b363608c23eeca8f82bb01a100","private":false,"scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest","build":"tsc -b ./tsconfig.lib.json && vite build","preview":"vite preview","test:ui":"vitest --ui","test:watch":"vitest --watch","test:coverage":"vitest --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"bqtran","email":"bqtran@gmail.com"},"repository":{"url":"git+https://github.com/bqtran/react-sidebar-v2.git","type":"git"},"_npmVersion":"10.8.2","description":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square) ![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square) ![NPM Ve","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"glob":"^11.0.0","vite":"^6.0.5","jsdom":"^25.0.1","react":"^18.3.1","eslint":"^9.15.0","vitest":"^2.1.8","globals":"^15.12.0","postcss":"^8.4.49","react-dom":"^18.3.1","@eslint/js":"^9.15.0","sidebar-v2":"^0.4.0","typescript":"~5.7.2","@types/glob":"^8.1.0","@types/node":"^22.10.1","maplibre-gl":"^4.7.1","tailwindcss":"^3.4.15","@types/react":"^18.3.12","autoprefixer":"^10.4.20","lucide-react":"^0.462.0","react-leaflet":"^4.2.1","@types/leaflet":"^1.9.14","vite-plugin-dts":"^4.3.0","@types/react-dom":"^18.3.1","react-router-dom":"^7.1.0","typescript-eslint":"^8.16.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@vitejs/plugin-react-swc":"^3.7.2","eslint-plugin-react-hooks":"^5.0.0","vite-plugin-lib-inject-css":"^2.1.1","eslint-plugin-react-refresh":"^0.4.14"},"peerDependencies":{"react":"^18.3.1","react-dom":"^18.3.1","lucide-react":"^0.462.0"},"_npmOperationalInternal":{"tmp":"tmp/react-sidebar-v2_1.0.2-6_1735545189250_0.7414469343705119","host":"s3://npm-registry-packages-npm-production"}},"1.0.2-7":{"name":"@bqtran/react-sidebar-v2","version":"1.0.2-7","keywords":["react","leaflet","sidebar","sidebar-v2","react-leaflet","react-leaflet-v4","maplibre","maplibre-gl","maplibre-gl-js"],"author":{"name":"Bao Tran","email":"contact@baotran.net"},"license":"MIT","_id":"@bqtran/react-sidebar-v2@1.0.2-7","maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"contributors":[],"homepage":"https://github.com/bqtran/react-sidebar-v2#readme","bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"dist":{"shasum":"e42d192ecbd575ff5e892ea822d48aac8a3de5b0","tarball":"https://registry.npmjs.org/@bqtran/react-sidebar-v2/-/react-sidebar-v2-1.0.2-7.tgz","fileCount":15,"integrity":"sha512-2rtrFI2Z8y9Lqe2nm5s88i61iyKjTDfXTZdgUhoi9kQnMDvUeTwde8a3IqyhAivoFeU5Pwd5mfdbz2X01p67Jw==","signatures":[{"sig":"MEQCIBXVod00Mco81pRk3ZneD7GrUiBh8dZECeu4v2nOQm8nAiAwIHf/ZVzWE1Iql7idm9zCzPTpNgv4iAiZRBojXLrXXQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bqtran%2freact-sidebar-v2@1.0.2-7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":330412},"main":"dist/main.js","type":"module","types":"dist/main.d.ts","exports":{".":{"types":"./dist/main.d.ts","default":"./dist/main.js"}},"gitHead":"b2634d622cd289456acaccf2bb90c5be5efdb7f5","private":false,"scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest","build":"tsc -b ./tsconfig.lib.json && vite build","preview":"vite preview","test:ui":"vitest --ui","test:watch":"vitest --watch","test:coverage":"vitest --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"bqtran","email":"bqtran@gmail.com"},"repository":{"url":"git+https://github.com/bqtran/react-sidebar-v2.git","type":"git"},"_npmVersion":"10.8.2","description":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square) ![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square) ![NPM Ve","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"18.20.5","_hasShrinkwrap":false,"devDependencies":{"clsx":"^2.1.1","glob":"^11.0.0","vite":"^6.0.5","jsdom":"^25.0.1","react":"^18.3.1","eslint":"^9.15.0","vitest":"^2.1.8","globals":"^15.12.0","postcss":"^8.4.49","react-dom":"^18.3.1","@eslint/js":"^9.15.0","sidebar-v2":"^0.4.0","typescript":"~5.7.2","@types/glob":"^8.1.0","@types/node":"^22.10.1","maplibre-gl":"^4.7.1","tailwindcss":"^3.4.15","@types/react":"^18.3.12","autoprefixer":"^10.4.20","lucide-react":"^0.462.0","react-leaflet":"^4.2.1","@types/leaflet":"^1.9.14","vite-plugin-dts":"^4.3.0","@types/react-dom":"^18.3.1","react-router-dom":"^7.1.0","typescript-eslint":"^8.16.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@vitejs/plugin-react-swc":"^3.7.2","eslint-plugin-react-hooks":"^5.0.0","vite-plugin-lib-inject-css":"^2.1.1","eslint-plugin-react-refresh":"^0.4.14"},"peerDependencies":{"react":"~18.x","react-dom":"~18.x","tailwindcss":">=3.4.15","lucide-react":">=0.462.0"},"_npmOperationalInternal":{"tmp":"tmp/react-sidebar-v2_1.0.2-7_1736193267967_0.8890096609143654","host":"s3://npm-registry-packages-npm-production"}},"1.1.0-0":{"name":"@bqtran/react-sidebar-v2","version":"1.1.0-0","keywords":["react","leaflet","sidebar","sidebar-v2","react-leaflet","react-leaflet-v4","maplibre","maplibre-gl","maplibre-gl-js"],"author":{"name":"Bao Tran","email":"contact@baotran.net"},"license":"MIT","_id":"@bqtran/react-sidebar-v2@1.1.0-0","maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"contributors":[],"homepage":"https://github.com/bqtran/react-sidebar-v2#readme","bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"dist":{"shasum":"1ed369a04fbe655195bf381b096c277d6b2e6dfa","tarball":"https://registry.npmjs.org/@bqtran/react-sidebar-v2/-/react-sidebar-v2-1.1.0-0.tgz","fileCount":17,"integrity":"sha512-jJA0HU0/Ab7B6KFJUPVU6QfNDHl6mnCVBPCyQ+rYDT8OPcxSAY6lPoD15hNfQ/rVDuKes9642cZ/40Uq9FDNSg==","signatures":[{"sig":"MEQCIF7y9+vCfeIfCn93PzLHkaGwdJcUBtnVLjrPYUtP7DpdAiBzbz+xTYWyYfcR/+TuumxWH+8Q8n/UfrHTmmiSVgMB+w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bqtran%2freact-sidebar-v2@1.1.0-0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":334665},"main":"dist/main.js","type":"module","types":"dist/main.d.ts","exports":{".":{"types":"./dist/main.d.ts","default":"./dist/main.js"}},"gitHead":"9cb7e289fadbe68cb25fa787e4a1d438a8a8a847","private":false,"scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest","build":"tsc -b ./tsconfig.lib.json && vite build","preview":"vite preview","test:ui":"vitest --ui","test:watch":"vitest --watch","test:coverage":"vitest --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"bqtran","email":"bqtran@gmail.com"},"repository":{"url":"git+https://github.com/bqtran/react-sidebar-v2.git","type":"git"},"_npmVersion":"10.8.2","description":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square) ![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square) ![NPM Ve","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"devDependencies":{"clsx":"^2.1.1","glob":"^11.0.0","vite":"^6.0.5","jsdom":"^25.0.1","react":"^18.3.1","eslint":"^9.15.0","vitest":"^2.1.8","globals":"^15.12.0","react-dom":"^18.3.1","@eslint/js":"^9.15.0","sidebar-v2":"^0.4.0","typescript":"~5.7.2","@types/glob":"^8.1.0","@types/node":"^22.10.1","maplibre-gl":"^4.7.1","@types/react":"^18.3.12","lucide-react":"^0.462.0","react-leaflet":"^4.2.1","@types/leaflet":"^1.9.14","vite-plugin-dts":"^4.3.0","@types/react-dom":"^18.3.1","react-router-dom":"^7.1.0","typescript-eslint":"^8.16.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@vitejs/plugin-react-swc":"^3.7.2","eslint-plugin-react-hooks":"^5.0.0","vite-plugin-lib-inject-css":"^2.1.1","eslint-plugin-react-refresh":"^0.4.14"},"peerDependencies":{"react":"~18.x","react-dom":"~18.x","lucide-react":">=0.462.0"},"_npmOperationalInternal":{"tmp":"tmp/react-sidebar-v2_1.1.0-0_1736564683712_0.41534056033487854","host":"s3://npm-registry-packages-npm-production"}},"1.1.0-1":{"name":"@bqtran/react-sidebar-v2","version":"1.1.0-1","keywords":["react","leaflet","sidebar","sidebar-v2","react-leaflet","react-leaflet-v4","maplibre","maplibre-gl","maplibre-gl-js"],"author":{"name":"Bao Tran","email":"contact@baotran.net"},"license":"MIT","_id":"@bqtran/react-sidebar-v2@1.1.0-1","maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"contributors":[],"homepage":"https://github.com/bqtran/react-sidebar-v2#readme","bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"dist":{"shasum":"33eca921acf3afb078ee20af594c9cabe244b391","tarball":"https://registry.npmjs.org/@bqtran/react-sidebar-v2/-/react-sidebar-v2-1.1.0-1.tgz","fileCount":17,"integrity":"sha512-JCRdH+YhAjFN5va0Zt9B1jM9d9fKwQOjC2UFKnsnicdBAn5PCnmsoSGzf7yJfrfAiFpD6HihUTqrRDkXYDZKAw==","signatures":[{"sig":"MEUCIQDL3NFzhB2oPrkM6MqbqL9ViEtj7/6b6DM2M5SDJEMNKQIgBkKT12TSAX1tcF7CCU0wywK9aqnkZPo547c3peIb3a0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bqtran%2freact-sidebar-v2@1.1.0-1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":334918},"main":"dist/main.js","type":"module","types":"dist/main.d.ts","exports":{".":{"types":"./dist/main.d.ts","default":"./dist/main.js"}},"gitHead":"439e7babbd003924b5be56bdcaa5094d3ead852e","private":false,"scripts":{"dev":"vite","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","test":"vitest","build":"tsc -b ./tsconfig.lib.json && vite build","preview":"vite preview","test:ui":"vitest --ui","test:watch":"vitest --watch","test:coverage":"vitest --coverage","prepublishOnly":"npm run build"},"_npmUser":{"name":"bqtran","email":"bqtran@gmail.com"},"repository":{"url":"git+https://github.com/bqtran/react-sidebar-v2.git","type":"git"},"_npmVersion":"10.9.2","description":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square) ![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square) ![NPM Ve","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.13.1","_hasShrinkwrap":false,"devDependencies":{"clsx":"^2.1.1","glob":"^11.0.0","vite":"^6.0.5","jsdom":"^25.0.1","react":"^18.3.1","eslint":"^9.15.0","vitest":"^2.1.8","globals":"^15.12.0","react-dom":"^18.3.1","@eslint/js":"^9.15.0","sidebar-v2":"^0.4.0","typescript":"~5.7.2","@types/glob":"^8.1.0","@types/node":"^22.10.1","maplibre-gl":"^4.7.1","@types/react":"^18.3.12","lucide-react":"^0.462.0","react-leaflet":"^4.2.1","@types/leaflet":"^1.9.14","vite-plugin-dts":"^4.3.0","@types/react-dom":"^18.3.1","react-router-dom":"^7.1.0","typescript-eslint":"^8.16.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.1.0","@vitejs/plugin-react-swc":"^3.7.2","eslint-plugin-react-hooks":"^5.0.0","vite-plugin-lib-inject-css":"^2.1.1","eslint-plugin-react-refresh":"^0.4.14"},"peerDependencies":{"react":"~18.x","react-dom":"~18.x","lucide-react":">=0.462.0"},"_npmOperationalInternal":{"tmp":"tmp/react-sidebar-v2_1.1.0-1_1738899518447_0.3303019988399838","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@bqtran/react-sidebar-v2","author":{"name":"Bao Tran","email":"contact@baotran.net"},"private":false,"license":"MIT","version":"1.1.0","type":"module","main":"dist/main.js","types":"dist/main.d.ts","contributors":[],"exports":{".":{"types":"./dist/main.d.ts","default":"./dist/main.js"}},"repository":{"type":"git","url":"git+https://github.com/bqtran/react-sidebar-v2.git"},"keywords":["react","leaflet","sidebar","sidebar-v2","react-leaflet","react-leaflet-v4","maplibre","maplibre-gl","maplibre-gl-js"],"sideEffects":["**/*.css"],"scripts":{"dev":"vite","build":"tsc -b ./tsconfig.lib.json && vite build","lint":"eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0","preview":"vite preview","test":"vitest","test:watch":"vitest --watch","test:ui":"vitest --ui","test:coverage":"vitest --coverage","prepublishOnly":"npm run build"},"peerDependencies":{"lucide-react":">=0.462.0","react":"~18.x","react-dom":"~18.x"},"devDependencies":{"@eslint/js":"^9.29.0","@testing-library/dom":"^10.4.0","@testing-library/react":"^16.3.0","@types/glob":"^8.1.0","@types/leaflet":"^1.9.18","@types/node":"^24.0.3","@types/react":"^18.3.12","@types/react-dom":"^18.3.1","@vitejs/plugin-react-swc":"^3.10.2","clsx":"^2.1.1","eslint":"^9.29.0","eslint-plugin-react-hooks":"^5.2.0","eslint-plugin-react-refresh":"^0.4.20","glob":"^11.0.3","globals":"^16.2.0","jsdom":"^26.1.0","lucide-react":"^0.522.0","maplibre-gl":"^5.6.0","react":"^18.3.1","react-dom":"^18.3.1","react-leaflet":"^4.2.1","react-router-dom":"^7.6.2","sidebar-v2":"^0.4.0","typescript":"~5.8.3","typescript-eslint":"^8.34.1","vite":"^6.3.5","vite-plugin-dts":"^4.5.4","vite-plugin-lib-inject-css":"^2.2.2","vitest":"^3.2.4"},"volta":{"node":"20.19.2"},"_id":"@bqtran/react-sidebar-v2@1.1.0","gitHead":"0f658ba1f66f3ba9bdfd043501cb77ec816cf4f2","description":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square) ![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square) ![NPM Ve","bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"homepage":"https://github.com/bqtran/react-sidebar-v2#readme","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ZINP7soCn+smsO5NxHXWP443zp+U9+VtpuQEwJ8CPxAUyIuUFMxle0oYzJqWtE1JUM9LBm7aQJbnBaluBgLf9w==","shasum":"a329b4c962b1720f32e814201b5224adddaa6436","tarball":"https://registry.npmjs.org/@bqtran/react-sidebar-v2/-/react-sidebar-v2-1.1.0.tgz","fileCount":17,"unpackedSize":334890,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bqtran%2freact-sidebar-v2@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHvO0IWfmZv0GWyYA4yJpW0llqVNVloycPz9CxIZhAeXAiACvOJFpUx//JQ9WwMQDb37BH9QguH9Kz6vv5vXs2zX6w=="}]},"_npmUser":{"name":"bqtran","email":"bqtran@gmail.com","actor":{"name":"bqtran","email":"bqtran@gmail.com","type":"user"}},"directories":{},"maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-sidebar-v2_1.1.0_1750653015244_0.4673061050452909"},"_hasShrinkwrap":false}},"time":{"created":"2024-12-29T19:59:27.998Z","modified":"2025-06-23T04:30:15.802Z","1.0.2-2":"2024-12-29T19:59:28.338Z","1.0.2-3":"2024-12-29T20:47:41.700Z","1.0.2-4":"2024-12-30T05:59:37.378Z","1.0.2-5":"2024-12-30T06:41:23.949Z","1.0.2-6":"2024-12-30T07:53:09.441Z","1.0.2-7":"2025-01-06T19:54:28.229Z","1.1.0-0":"2025-01-11T03:04:43.954Z","1.1.0-1":"2025-02-07T03:38:38.617Z","1.1.0":"2025-06-23T04:30:15.453Z"},"bugs":{"url":"https://github.com/bqtran/react-sidebar-v2/issues"},"author":{"name":"Bao Tran","email":"contact@baotran.net"},"license":"MIT","homepage":"https://github.com/bqtran/react-sidebar-v2#readme","keywords":["react","leaflet","sidebar","sidebar-v2","react-leaflet","react-leaflet-v4","maplibre","maplibre-gl","maplibre-gl-js"],"repository":{"type":"git","url":"git+https://github.com/bqtran/react-sidebar-v2.git"},"description":"![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square) ![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square) ![NPM Ve","contributors":[],"maintainers":[{"name":"bqtran","email":"bqtran@gmail.com"}],"readme":"# React-Sidebar-v2\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/bqtran/react-sidebar-v2/super-linter.yml?style=flat-square)\n![GitHub License](https://img.shields.io/github/license/bqtran/react-sidebar-v2?style=flat-square)\n![NPM Version](https://img.shields.io/npm/v/%40bqtran%2Freact-sidebar-v2?style=flat-square)\n![GitHub Release Date](https://img.shields.io/github/release-date/bqtran/react-sidebar-v2?style=flat-square)\n\n![Sidebar Screenshot](public/react-sidebar-v2.webp)\n\nThis is a React friendly port of [Turbo87's sidebar-v2](https://github.com/Turbo87/sidebar-v2) map control for React-Leaflet & MapLibre GL JS.\n\nA big shoutout to Andreas Riedmüller for creating the [my-component-library](https://github.com/receter/my-component-library/tree/revision-1) scaffolding that this project leverages.\nYou can read his excellent overview article [here](https://dev.to/receter/how-to-create-a-react-component-library-using-vites-library-mode-4lma).\n\n> NOTE: These components are in a pre-release stage, so the API will change drastically as it is being refined.\n\n## Features\n- Recreates all the original sidebar-v2 functionality (markup, events) in React (leverages the original CSS only)\n- Includes the nifty map autopan functionality found in [Norwin's leaflet-sidebar-v2](https://github.com/noerw/leaflet-sidebar-v2).\n- Includes both components for [React-Leaflet](https://react-leaflet.js.org/) and [MapLibre GL JS](https://maplibre.org/) libraries.\n- Sidebar Context Provider for state manipulation from other React components\n- Native [Lucide Icons](https://lucide.dev/) Integration\n- TypeScript declarations\n\n## Quick Start\n1. Add `<SidebarProvider>` to a root component. This example uses 'maplibre' as type, but use 'leaflet' if that is\nyour library of choice.\n```javascript\nimport { createRoot } from 'react-dom/client'\nimport App from './App.tsx'\nimport { BrowserRouter as Router } from 'react-router-dom';\nimport {StrictMode} from \"react\";\nimport {SidebarProvider} from \"@bqtran/react-sidebar-v2\";\n\ncreateRoot(document.getElementById('root')!).render(\n  <StrictMode>\n    <SidebarProvider type=\"maplibre\">\n      <Router>\n        <App />\n      </Router>\n    </SidebarProvider>\n  </StrictMode>\n)\n```\n2. Add either `ReactLeafletSidebar` or `MaplibreSidebar` to your map as a basic example is shown below:\n### React-Leaflet Example\n```javascript\nimport \"leaflet/dist/leaflet.css\"\nimport {ReactLeafletSidebar} from \"@bqtran/react-sidebar-v2\";\nimport {MapContainer, TileLayer} from 'react-leaflet'\n\nexport default function LeafletMap() {\n  return <div style={{flex:\"1 1 auto\", height:\"100vh\", width:\"100vw\"}} >\n      <MapContainer center={[29.648, -95.579]} zoom={13} scrollWheelZoom={false} zoomControl={false} style={{height:\"100vh\", width:\"100vw\"}}>\n        <TileLayer\n          attribution='&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors'\n          url=\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\"\n        />\n        <ReactLeafletSidebar position=\"left\" autopan={true} tabs={[\n          {\n            id: \"menu\",\n            title:\"Menu\",\n            icon:\"Menu\",\n            position:\"top\",\n            disabled:false,\n            content:<p>Menu Content</p>\n          },\n          {\n            id:\"settings\",\n            title:\"Settings\",\n            icon:\"Settings\",\n            position:\"bottom\",\n            disabled:false,\n            content:<p>Settings Content</p>\n          }\n        ]}/>\n      </MapContainer>\n  </div>\n}\n\n```\n>Note: `ReactLeafletSidebar` needs to be a child component of `MapContainer` for React-Leaflet's contexts to work properly.\n### MapLibre GL JS Example\n```javascript\nimport {MapLibreSidebar} from \"@bqtran/react-sidebar-v2\";\nimport maplibre from \"maplibre-gl\"\nimport \"maplibre-gl/dist/maplibre-gl.css\"\nimport {useEffect, useState} from \"react\"\n\nexport default function MapLibre() {\n  const [map, setMap] = useState<maplibre.Map|undefined>(undefined);\n  \n  useEffect(() => {\n    if(map == undefined) {\n      setMap(new maplibre.Map({\n        container: \"map\",\n        zoom: 2,\n        style: 'https://demotiles.maplibre.org/style.json'\n      }));\n    }\n  }, []);\n\n  return  <div style={{flex: \"1 1 auto\", height: \"100vh\", width: \"100vw\"}}>\n            <div id=\"map\" style={{height: \"100vh\", width: \"100vw\"}}/>\n            {map && <MapLibreSidebar map={map} position=\"left\" autopan={true} tabs={[\n                {\n                  id: \"menu\",\n                  title: \"Menu\",\n                  icon: \"Menu\",\n                  position: \"top\",\n                  disabled: false,\n                  content: <p>Menu Content</p>\n                },\n                {\n                  id: \"settings\",\n                  title: \"Settings\",\n                  icon: \"Settings\",\n                  position: \"bottom\",\n                  disabled: false,\n                  content: <p>Settings Content</p>\n                }\n              ]} />\n            }\n          </div>\n}\n\n```\n>Note: The `Map` component needs to exist before it can be passed to `MapLibreSidebar`, so useState is used for this purpose.\n\n3. The sidebar should now be showing up on your map of choice.\n\n## Advanced Usage\nA Sidebar Context is provided to expose the Sidebar's API to other React components for state information and manipulation.\nYou can use this to dynamically style the Sidebar according to the current state. Below is an example that applies/removes\nround corners to the sidebar depending on if a tab is expanded or collapsed:\n\n```javascript\nimport \"leaflet/dist/leaflet.css\"\nimport {ReactLeafletSidebar, SidebarContext, SidebarContextType} from \"@bqtran/react-sidebar-v2\";\nimport {MapContainer, TileLayer} from 'react-leaflet'\nimport {useContext} from \"react\";\n\nexport default function LeafletMap() {\n  const {collapsed} = useContext(SidebarContext) as SidebarContextType;\n  \n  return  <div style={{flex:\"1 1 auto\", height:\"100vh\", width:\"100vw\"}} >\n            <MapContainer center={[29.648, -95.579]} zoom={13} scrollWheelZoom={false} zoomControl={false} style={{height:\"100vh\", width:\"100vw\"}}>\n              <TileLayer\n                attribution='&copy; <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors'\n                url=\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\"\n              />\n              <ReactLeafletSidebar autopan={true} position=\"left\" tabsClassName={`${collapsed ? 'rounded-lg':'rounded-l-lg'}`} contentsClassName=\"rounded-r-lg\" tabs={[\n                {\n                  id: \"menu\",\n                  title:\"Menu\",\n                  icon:\"Menu\",\n                  position:\"top\",\n                  disabled:false,\n                  content:<p>Menu Content</p>,\n                  tabClassName: collapsed ? 'rounded-t-lg': 'rounded-tl-lg'\n                },\n                {\n                  id:\"settings\",\n                  title:\"Settings\",\n                  icon:\"Settings\",\n                  position:\"bottom\",\n                  disabled:false,\n                  content:<p>Settings Content</p>\n                }\n              ]}/>\n            </MapContainer>\n          </div>\n}\n```\n## API\n\n### [SidebarProvider] Context Provider Properties\n- `type`: _String_ - Sidebar Type. Values: 'maplibre', 'leaflet'\n\n### [SidebarContext] Context Provider Consumables\n- `innerRef`: _React.Ref_ - Reference to Sidebar\n- `activeTab/setActiveTab`: _String/React.SetStateAction_ - get/set current active tab ID\n- `collapsed/setCollapsed`: _Boolean/React.SetStateAction_ - get/set Sidebar's expanded/collapsed state\n- `positionRef`: _React.Ref<'left','right'>_ - Reference to Sidebar control's orientation on map\n- `sidebarTabsRef`: _React.Ref<TabType[]>_ - Reference to Sidebar tabs\n- `toggleTab`: _String_ - enable/disable tab by ID\n- `type`: _String_ - get current Sidebar's configured type\n\n### [ReactLeafletSidebar / MapLibreSidebar] Component Properties\n- `className`: _String_ (Optional) - Sidebar container styling\n- `tabsClassName`: _String_ (Optional) - Sidebar tab container styling\n- `contentsClassName`: _String_ (Optional) - Sidebar tab content container styling\n- `position`: _String_ - Sidebar control placement. Values: 'left', 'right'\n- `autopan`: _Boolean_ - Pan map on Sidebar expand/collapse\n- `tabs`: Tab[]- Array of Sidebar tabs\n  - `id`: _String_ - tab unique identifier\n  - `tabClassName`: _String_ (Optional) - individual tab styling\n  - `contentClassName`: _String_ (Optional) - individual tab content styling\n  - `title`: _String/Component_ - tab header text or component\n  - `icon`: _String_ - icon name from [Lucide Icon](https://lucide.dev/) collection\n  - `position`: _String_ - fix tab icon to 'top' or 'bottom'. Values: 'top', 'bottom'\n  - `disabled`: _Boolean_ - disable/enable sidebar tab\n  - `content`: _String/Component_ - tab content\n\n### [ReactLeafletSidebar / MapLibreSidebar] Events\n- `\"closing\"` : (_tab_id_) - close tab event triggered\n- `\"opening\"` : (_tab_id_) - open tab event triggered\n- `\"content\"` : (_tab_id_) - content event triggered\n\n## Attributions\n[Lucide](https://lucide.dev/) - [ISC License](https://lucide.dev/license)\n\n[React-Leaflet](https://react-leaflet.js.org/) - [Hippocratic License](https://github.com/PaulLeCam/react-leaflet/blob/master/LICENSE.md)\n\n[MapLibre](https://maplibre.org/) - [3-Clause BSD license](https://github.com/maplibre/maplibre-gl-js/blob/main/LICENSE.txt)","readmeFilename":"README.md"}