leaflet-components/src/core
Buddy 80c87468b6 refactor: extract withProps mixin to eliminate TypedBase/observedAttributes boilerplate
18 components now use withProps(HTMLElement, PROPS) instead of
repeating TypedBase cast, static get observedAttributes(), and
static { definePropAccessors(...) } in each file.

Adds src/core/with-props.ts — a mixin factory that derives
PropTypesFromTable, defines property accessors, and sets up
observedAttributes from a PROPS table in a single expression.
2026-06-08 22:09:16 -07:00
..
path-style.ts refactor: replace inheritance hierarchy with composable PROPS-table pattern 2026-06-06 14:10:49 -07:00
register.ts fix: register custom event in HTMLElementEventMap to eliminate casts 2026-06-07 22:29:01 -07:00
utils.ts chore: remove unused updateViaSetter helper 2026-06-07 22:31:03 -07:00
with-props.ts refactor: extract withProps mixin to eliminate TypedBase/observedAttributes boilerplate 2026-06-08 22:09:16 -07:00