mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Implement flexbox (#277)
This implement the flexbox elements, following the HTML one. Built from them, there is also the following elements: - `paragraph` - `paragraphAlignLeft` - `paragraphAlignRight` - `paragraphAlignCenter` - `paragraphAlignJustify` This is a breaking change.
This commit is contained in:
20
CHANGELOG.md
20
CHANGELOG.md
@@ -4,8 +4,24 @@ Changelog
|
||||
unreleased (development)
|
||||
------------------------
|
||||
|
||||
# Component:
|
||||
- Bugfix: Input shouldn't take focus when hovered by the mouse.
|
||||
### Features:
|
||||
- Support `flexbox` dom elements. This is build symmetrically to the HTML one.
|
||||
All the following attributes are supported: direction, wrap, justify-content,
|
||||
align-items, align-content, gap
|
||||
- Add the dom elements helper based on `flexbox`:
|
||||
- `paragraph`
|
||||
- `paragraphAlignLeft`
|
||||
- `paragraphAlignCenter`
|
||||
- `paragraphAlignRight`
|
||||
- `paragraphAlignJustify`
|
||||
- Add the helper elements based on `flexbox`: `hflow()`, `vflow()`.
|
||||
|
||||
### Breaking changes:
|
||||
- The behavior of `paragraph` has been modified. It now returns en Element,
|
||||
instead of a list of elements.
|
||||
|
||||
### Bug
|
||||
- Input shouldn't take focus when hovered by the mouse.
|
||||
|
||||
0.11.1
|
||||
------
|
||||
|
Reference in New Issue
Block a user