@sakaniui/react 0.11.0 → 0.11.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 CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to `@sakaniui/react` are documented here.
4
4
 
5
+ ## 0.11.1
6
+
7
+ - **Fixed: `Map` markers on the server.** Rendered before the map is measured, markers and popups were placed
8
+ against a 0x0 map and then jumped, and Next.js logged a hydration warning. They now appear once the map has a
9
+ size. No API changes.
10
+ - **Fixed: `--map-tile-filter` can be set from outside.** It was declared on the map itself, so a value set on a
11
+ wrapper was ignored, and a panel that forces the light tokens inside a dark page still got dark tiles. It now
12
+ falls back to the built-in light or dark filter, so setting `--map-tile-filter` on the map or on any ancestor wins.
13
+ - **Fixed: `tileUrlDark` now reacts to a `.dark` class added or removed on any ancestor**, not only on `<html>`.
14
+
5
15
  ## 0.11.0
6
16
 
7
17
  - **New: `Map`**, an interactive tile map built from the new *↳ Map* page in Figma, with no map library.