intuitive
intuitive copied to clipboard
A library for building declarative text-based user interfaces
Hi, I have not really used `const generics` so far (so I might miss something), but it seems, the implementation of [Children](https://docs.rs/intuitive/0.6.2/intuitive/components/children/struct.Children.html#) makes it very difficult to implement dynamic applications....
Components using `use_state` cannot be safely rendered conditionally. Doing so can lead to a panic, with the following error message: "insufficient calls". Here is a minimal reproducible example: https://gist.github.com/ebenpack/3b0c3a1a2b813740003f6a4161ce8ecf This...
This merge request introduces an `alignment` property to the [`Text`][intuitive-Text] component, and a new `Alignment` enum with alignment options (left, center, right). [intuitive-Text]: https://docs.rs/intuitive/latest/intuitive/components/struct.Text.html ### Breaking Change This is a...
It would be very cool if the [`Text`](https://docs.rs/intuitive/latest/intuitive/components/struct.Text.html) component had a way to set its alignment (left, center, right) like the underlying [`Paragraph`](https://docs.rs/tui/latest/tui/widgets/struct.Paragraph.html) widget does in tui-rs.
I'm taking most of my inspiration from this document: https://docs.flutter.dev/development/ui/advanced/focus Essentially, they describe a system of focus handling as follows: - Focus Tree: Tracks focus nodes and their relationships -...
This would cause watch.rs to crash when build using debug mode. Considering that integer underflow is a problem in release mode, I used saturating_sub / saturating_add to avoid this problem,...