@optimum-intelligence/opti-ui 0.7.0 → 0.7.1
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/CHANGELOG.md +12 -0
- package/README.md +2 -1
- package/dist/components/map/Map.d.ts +2 -1
- package/dist/components/map/Map.js +8 -6
- package/dist/components/map/Map.js.map +1 -1
- package/dist/components/map/worker.d.ts +6 -0
- package/dist/components/map/worker.js +12 -0
- package/dist/components/map/worker.js.map +1 -0
- package/dist/components.json +2 -2
- package/dist/index.js +1 -1
- package/dist/llms-full.txt +2 -1
- package/dist/vendor/maplibre-gl/dist/maplibre-gl-worker.mjs_raw.js +7 -0
- package/dist/vendor/maplibre-gl/dist/maplibre-gl-worker.mjs_raw.js.map +1 -0
- package/package.json +2 -2
package/dist/llms-full.txt
CHANGED
|
@@ -2858,7 +2858,8 @@ import { Map } from '@optimum-intelligence/opti-ui/map';
|
|
|
2858
2858
|
A MapLibre map styled and themed with the library tokens. Holds the base layer state and routes clicks
|
|
2859
2859
|
and hovers to the data parts inside it. `Map.Root` › data parts (`Map.Areas`, `Map.Routes`,
|
|
2860
2860
|
`Map.Points`) and `Map.Marker`s, with `Map.Overlay`s for legends, switches and cards on top.
|
|
2861
|
-
Needs `@optimum-intelligence/opti-ui/map.css` imported
|
|
2861
|
+
Needs `@optimum-intelligence/opti-ui/map.css` imported. MapLibre's worker is bundled and runs from a blob URL, so a
|
|
2862
|
+
strict Content-Security-Policy needs `worker-src blob:`.
|
|
2862
2863
|
|
|
2863
2864
|
```tsx
|
|
2864
2865
|
<Map.Root
|