sbuffkin_hexmaker/versions.json
isaprettycoolguy@protonmail.com 18738729ee fix: address obsidianmd reviewer rules (1.4.2)
Five separate categories the upstream obsidianmd reviewer flagged on
the 1.4.x diff, plus enforcement to catch them earlier.

- **no-static-styles-assignment** (5 sites in HexMapView.ts):
  Replace every direct `transform`/`transform-origin`/`opacity` write
  with CSS custom properties on the relevant container. Static rules
  in styles.css now reference them via
  `transform: translate(var(--duckmage-bg-tx, 0px), …) scale(...)`
  with identity-default fallbacks. JS writes only the values via
  `setCssProps({ "--duckmage-bg-tx": ... })`. Applies to the bg image
  layer, the hex grid container, AND the viewport itself. Two small
  helpers `applyBgLayerVars` / `applyGridLayerVars` centralise the
  variable plumbing and replace ad-hoc transform-string assembly at
  the drag / wheel / arrow-key / bake / shiftForGridGrowth call sites.
- **document → activeDocument** (4 sites in overlayPatternControls.ts):
  swap for popout-window compatibility.
- **setDynamicTooltip removal** (5 sites): the API is deprecated; the
  value is shown inline now.
- **Lint enforcement**: `obsidianmd/no-static-styles-assignment`
  promoted from default to error, so a regression breaks the local
  lint instead of waiting for the upstream reviewer. The other two
  patterns aren't shipped as eslint rules upstream — documented in
  CLAUDE.md under "Obsidian reviewer-bot conventions" so the next
  pass-through audits them by hand.

Sandbox regression check (dev/snapshot-bg-hex-alignment.mjs) still
PASSes — the CSS-var refactor doesn't disturb the bg-image / grid
alignment math from 1.4.1.
2026-06-17 18:48:13 -04:00

47 lines
No EOL
920 B
JSON

{
"0.1.0": "1.12.0",
"1.0.0": "1.12.0",
"1.0.1": "1.12.0",
"1.0.2": "1.12.0",
"1.0.3": "1.12.0",
"1.0.4": "1.12.0",
"1.0.5": "1.12.0",
"1.0.6": "1.12.0",
"1.0.18": "1.12.0",
"1.0.19": "1.12.0",
"1.0.20": "1.12.0",
"1.0.21": "1.12.0",
"1.0.22": "1.12.0",
"1.0.23": "1.12.0",
"1.0.24": "1.12.0",
"1.0.25": "1.12.0",
"1.0.26": "1.12.0",
"1.0.27": "1.12.0",
"1.0.28": "1.12.0",
"1.0.29": "1.12.0",
"1.1.0": "1.12.0",
"1.1.1": "1.12.0",
"1.1.2": "1.12.0",
"1.1.3": "1.12.0",
"1.1.4": "1.12.0",
"1.1.5": "1.12.0",
"1.1.6": "1.12.0",
"1.1.7": "1.12.0",
"1.1.8": "1.12.0",
"1.1.9": "1.12.0",
"1.1.10": "1.12.0",
"1.1.11": "1.12.0",
"1.1.12": "1.12.0",
"1.1.13": "1.12.0",
"1.1.14": "1.12.0",
"1.1.15": "1.12.0",
"1.2.0": "1.12.0",
"1.2.1": "1.12.0",
"1.2.2": "1.12.0",
"1.2.3": "1.12.0",
"1.3.0": "1.12.0",
"1.3.1": "1.12.0",
"1.4.0": "1.12.0",
"1.4.1": "1.12.0",
"1.4.2": "1.12.0"
}