All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project vaguely adheres to Semantic Versioning.
BoxShadow
,ScrollPosition
, andGlobalZIndex
convenience methods for base elements
- Upgraded Bevy to
0.15.2
GlobalEventAware
can register multiple handlers for the same event type, and the registering entity and event data is passed into the handler.on_click_outside
methods useGlobalEventAware
rather than bespoke handling- Completed tasks are cleaned up on completion rather than waiting until entity despawn
- Updated examples to use latest Bevy and haalka idioms
- Text input focus desyncing
OnHoverMouseWheelScrollable
methods only scroll when the element is hovered
- Removed and ignored development
trunk
artifact which was inflating crate size
- wasm support
- Serve wasm examples via github pages, including pr previews
.on_viewport_location_change
methods for reacting to viewport changesDebugUiPlugin
, thin helper wrapper over bevy's debug ui overlay- CI
OnHoverMouseWheelScrollable
handles scrolling outside scene boundaries whenLimitToBody
is lax.
MutableViewportSettings
renamed toMutableViewport
PointerEventAware::on_hovered_change_with_system
is a deferred update- Don't
.gitignore
Cargo.lock
- Use granular
bevy_...
dependencies
multicam
feature
PointerEventAware::on_click_outside...
methodsRawHaalkaEl::observe
RawHaalkaEl::on_remove
for adding removal hooks to elementsRawHaalkaEl::on_spawn_with_system
Enter
andLeave
events triggered by hover management system- Component-based event handler blockability
PointerEventAware
pressing with system methods with throttle variantsElementWrapper::into_el
for encapsulating ultimate element building logictext_input::FocusedTextInput
resource for exposing control ofbevy_cosmic_edit
focusBasicScrollHandler
correctly handlesScrollDirection::Both
, holding shift to scroll horizontallyBorderRadius
convenience methods for base elements- Release CI powered by release-plz
impl From<RawHaalkaEl>
for all built-in element typesSignal
utilitysignal_eq
raw::utils
module containing utilities for managingRawHaalkaEl
sraw::AppendDirection
renamed toDeferredUpdaterAppendDirection
- Upgraded Bevy to
0.14.2
- Multiple scrolling, pressed/pressing, text input focus change, and text input change handlers can be registered on the same entity
- Reactive methods and event handling use one shot systems throughout
- Child entities attached to parents before being populated
- Hovering methods triggered by observers on
Enter
andLeave
- Cursor API uses observers
- Control input focus using
text_input::FocusedTextInput
instead ofbevy_cosmic_edit::FocusedWidget
Scrollable
renamed toMouseWheelScrollable
(HoverableScrollable
toOnHoverMouseWheelScrollable
) and methods migrated to observersCursorable
renamed toCursorOnHoverable
and is component driven with a signal layer on top- Library modules reorganized to better control privacy and clarify docs
- Scrollability wrapper element management moved to
ViewportMutable::mutable_viewport
- Re-export
bevy_cosmic_edit
, which re-exportscosmic-text
- Throttle-able pressing functions now correctly block immediately after the first press
ViewportMutable
elements can now be self-alignedUiRootable::ui_root
addsPickable
component
- Reactive cursor API via
Cursorable
trait - Cursor API usage in the
inventory
example (with issues) calculator
example- Convenience methods for
RawHaalkaEl
:on_event_disableable
,on_event_mut_disableable
, andon_event_propagation_stoppable_disableable
Nameable
convenience trait, for reactively setting theName
componentSignal
/Mutable
utilitiessync
,sync_neq
, andflip
UiRootable
trait, for marking the UI root
- Use one shot system in
RawHaalkaEl::on_event_with_system_disableable
- Static children are now spawned synchronously, eliminating the pop in visible when done asynchronously
- Initial release