v0.4.0
What's Changed
Breaking Changes
- refactor!: generalize slot names and props to position-based API by @wazolab
- feat!: replace useId() with required id prop for deterministic anchor targets by @wazolab
Features
- feat: replace inline action buttons with FAB dropdown menu by @wazolab
- feat: move action buttons to top-right corner of object header by @wazolab
- feat: add changesets slot at LoChaGroup level by @wazolab
- feat: move object name to LoChaGroup header with uniq before/after display by @wazolab
- feat: replace navigation control with fullscreen and remove attribution in VMap by @wazolab
- feat: add group-actions slot at LoChaGroup level by @wazolab
- feat: add cycling background color on LoChaGroup for visual separation by @wazolab
Fixes
- fix: force equal grid columns with minmax(0, 1fr) by @wazolab
- fix: avoid redundant lookups in demo object-detail slot by @wazolab
- fix: mark optional slots as optional in defineSlots to fix TS2774 by @wazolab
- fix: use useSlots() for runtime slot detection to fix typecheck by @wazolab
- fix: handle wrap overflow and replace type=button with class selector by @wazolab
- fix: conditionally forward changesets slot to avoid empty grid column by @wazolab
- fix: conditionally render group-actions slot and document all group-level slots by @wazolab
- fix: prevent page reload on anchor click and scroll to hash on mount by @wazolab
- fix: remove default margin and padding from locha-group-list ul by @wazolab
- fix: resolve TS errors in vite.config.ts by @wazolab
Refactoring
- refactor: split normalizeBbox into clipping and display variants by @wazolab
- refactor: move anchor button inside LoChaGroup header by @wazolab
- refactor: use @click.prevent modifier instead of manual preventDefault by @wazolab
Styles
- style: make FAB toggle button more prominent by @wazolab
- style: replace ellipsis with explicit Tools label on FAB button by @wazolab
- style: add 1rem padding to .locha container by @wazolab
- style: remove padding from locha-group-list li elements by @wazolab
- style: remove padding from locha-group-list by @wazolab
- style: improve locha-header visual appearance in demo app by @wazolab
- style: improve group-header visual appearance by @wazolab
- style: remove background color from .locha container by @wazolab
- style: wrap group content below header with matching padding by @wazolab
- style: move padding from locha-group to parent li element by @wazolab
- style: add visual highlight to group-header by @wazolab
- style: reset default h3 styles on group-name element by @wazolab
- style: increase contrast between cycling background palette colors by @wazolab
- style: add border to map and reset padding on list by @wazolab
- style: use grid layout for group-header and center link-metadata by @wazolab
- style: center-align group-header items vertically by @wazolab
Documentation
- docs: document changesets slot in README and harmonize $slots usage by @wazolab
Tests
- test: update geom tests for split normalizeBbox functions by @wazolab
Full Changelog: https://github.com/teritorio/openstreetmap-logical-history-component/commits/v0.4.0