ratatui/src
multisn8 fe06f0c7b0
feat(serde): support TableState, ListState, and ScrollbarState (#723)
TableState, ListState, and ScrollbarState can now be serialized and deserialized
using serde.

```rust
#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
struct AppState {
    list_state: ListState,
    table_state: TableState,
    scrollbar_state: ScrollbarState,
}

let app_state = AppState::default();
let serialized = serde_json::to_string(app_state);

let app_state = serde_json::from_str(serialized);
```
2024-01-12 16:13:35 -08:00
..
backend feat(termwiz): add From termwiz style impls (#726) 2024-01-02 13:19:14 -08:00
buffer feat: accept Color and Modifier for all Styles (#720) 2023-12-31 10:01:06 -08:00
layout feat(layout): add Rect -> Size conversion methods (#789) 2024-01-11 17:39:53 +01:00
style feat(style): add material design color palette (#786) 2024-01-11 19:22:57 +01:00
terminal feat: Add frame count (#766) 2024-01-08 03:51:53 -05:00
text refactor!: make patch_style & reset_style chainable (#754) 2024-01-07 12:58:13 +01:00
widgets feat(serde): support TableState, ListState, and ScrollbarState (#723) 2024-01-12 16:13:35 -08:00
backend.rs docs(backend): fix broken book link (#733) 2024-01-03 07:23:59 -05:00
buffer.rs feat: accept Color and Modifier for all Styles (#720) 2023-12-31 10:01:06 -08:00
layout.rs refactor(layout): move the remaining types (#743) 2024-01-04 22:35:12 -08:00
lib.rs docs: update crate, lib and readme links (#771) 2024-01-08 23:52:47 -08:00
prelude.rs docs(terminal): add docs for terminal module (#486) 2023-09-11 18:39:15 -07:00
style.rs feat(style): add tailwind color palette (#787) 2024-01-11 10:07:53 -08:00
symbols.rs docs(chart): document chart module (#696) 2023-12-16 11:41:12 -08:00
terminal.rs refactor(terminal): extract types to files (#760) 2024-01-07 12:53:16 +01:00
text.rs feat(line): implement Widget for Line (#715) 2023-12-27 20:30:47 +01:00
title.rs chore(rustfmt): enable format_code_in_doc_comments (#695) 2023-12-16 13:01:07 +01:00
widgets.rs chore(rustfmt): enable format_code_in_doc_comments (#695) 2023-12-16 13:01:07 +01:00