@classic-homes/maps-react 0.5.3 → 0.6.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.
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