@chrtco/sdk 0.10.49 → 0.10.51
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 +8 -0
- package/dist/atlas/browser.cjs +4099 -601
- package/dist/atlas/browser.cjs.map +1 -1
- package/dist/atlas/browser.js +4099 -601
- package/dist/atlas/browser.js.map +1 -1
- package/dist/index.cjs +3235 -2306
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +299 -18
- package/dist/index.d.ts +299 -18
- package/dist/index.js +26984 -26082
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to `@chrtco/sdk` will be documented in this file.
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
7
|
### Added
|
|
8
|
+
- **`generateStyle({ dangerDepthPlacers: true })`** — the danger depths (the depth beside a rock,
|
|
9
|
+
wreck or obstruction) as a pair: an invisible placer `s52-{UWTROC,OBSTRN,WRECKS}-placer-label`
|
|
10
|
+
in 0.10.3's collision form (`text-opacity: 0`) beneath each callout, which is then always drawn
|
|
11
|
+
and inserts no collision box, so no sounding is hidden and a tile draws the callouts once.
|
|
12
|
+
Default off: the style is unchanged unless asked. `addDangerDepthPlacers`,
|
|
13
|
+
`isDangerDepthPlacer` (skip the placers when hit-testing), `dangerDepthPlacerId`,
|
|
14
|
+
`DANGER_DEPTH_LABEL_ID`, `DANGER_DEPTH_PLACER_ID`, `DANGER_DEPTH_PLACER_LAYOUT`,
|
|
15
|
+
`DANGER_DEPTH_VISIBLE_LAYOUT`. The style routes take it as `?placers=1`.
|
|
8
16
|
- **`EINK_NIGHT`** — the e-ink night palette (`theme=eink_night`, offline `palette=EINK_NIGHT`,
|
|
9
17
|
`EINK_COLOR_TABLES.night`): `EINK_MONO`'s four greys on a black page, for any e-ink screen at
|
|
10
18
|
night with the front light on, in place of red night. Water black; lines and labels `#aaaaaa`;
|