Files
bevy/crates
Talin 64fe756adb Number input (#23842)
# Objective

Part of #19236 

## Solution

A numeric text input widget. This includes:

* Colored stripes ("sigils") for designating X, Y and Z input fields.
* Character filtering
* ValueChange events

Not supported:

* Validation error events
* Range and precision options

Additional changes in this PR:

* Added small labels (related to text inputs only insofar as numeric
inputs have small labels above them in the editor design).
* Refactored labels to be simple spans instead of nested entities - this
required a non-inherited text font theme component, so we renamed the
existing component to have the word "inherited" in the name.
* Consolidated the way focus outlines work for text inputs and other
widgets
* I had to make changes to Slider and other widgets to support the
`is_final` flag in `ValueChange`. This is necessary to allow listeners
the choice between spammy and not-spammy updates when listening to
widget outputs.

## Testing

Manual testing

## Showcase

<img width="353" height="101" alt="numeric_input"
src="https://github.com/user-attachments/assets/36efd243-fa01-484e-bab5-689aa6be4d9e"
/>
2026-04-21 05:47:05 +00:00
..
2026-04-21 05:47:05 +00:00
2026-04-12 20:37:35 +00:00
2026-04-21 05:47:05 +00:00
2026-04-12 20:44:38 +00:00
2026-04-21 05:47:05 +00:00