This repository was archived by the owner on Feb 18, 2026. It is now read-only.
0.7.3
Pre-release
Pre-release
What's Changed
- Feature/v0.7.3 by @estherbrunner in #11
- Bugfixes and tests for context provider and consumer
- Bugfixes and tests for attribute parser functions
- Better types
Breaking Changes since 0.7.2 to Core Feature
- Removed possibility to supply Array as
attributeMapvalue; this means: attribute name is always also the key for states; as it is your custom element, name the attributes like you want your states to be named => this reduces complexity and possible confusion - Removed possibility to supply
contextMapaltogether; this means: context key is always also the key for states; derive other states from this for transformations with a new state key => this reduces complexity and increases consistency across components
Breaking Changes since 0.7.2 to Non-Core Features
component()now takesUIComponentPropsas second argument, an object of:attributeMap:UIAttributeMap– what used to be the seconds argument in version 0.7.0 to 0.7.2consumedContexts: array of context keys to be assigned tostatic consumedContextsprovidedContexts: array of context keys to be assigned tostatic providedContexts
Full Changelog: v0.7.2...0.7.3