@classic-homes/maps-react 0.5.3 → 0.6.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/README.md +4 -0
- package/dist/index.cjs +342 -234
- package/dist/index.css +1049 -0
- package/dist/index.js +337 -224
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -8,6 +8,10 @@ React components for MapLibre GL maps in the Classic Theme design system.
|
|
|
8
8
|
npm install @classic-homes/maps-react maplibre-gl
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
+
The ESM build imports the MapLibre and component styles itself. The CommonJS
|
|
12
|
+
build does not (Node cannot `require()` CSS); import them once from
|
|
13
|
+
`@classic-homes/maps-react/styles.css` when you load the package that way.
|
|
14
|
+
|
|
11
15
|
## Features
|
|
12
16
|
|
|
13
17
|
- **Declarative Components**: React-friendly API for MapLibre GL
|