Skip to content

Commit

Permalink
chore(deps): bump ratatui from 0.24.0 to 0.25.0 (#306)
Browse files Browse the repository at this point in the history
* chore(deps): bump ratatui from 0.24.0 to 0.25.0

Bumps [ratatui](https://github.com/ratatui-org/ratatui) from 0.24.0 to 0.25.0.
- [Release notes](https://github.com/ratatui-org/ratatui/releases)
- [Changelog](https://github.com/ratatui-org/ratatui/blob/main/CHANGELOG.md)
- [Commits](ratatui/ratatui@v0.24.0...v0.25.0)

---
updated-dependencies:
- dependency-name: ratatui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* refactor(async-template-counter): update the table constructor

* Bump tui-big-text to 0.3.0

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Orhun Parmaksız <orhunparmaksiz@gmail.com>
Co-authored-by: Josh McKinney <joshka@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 23, 2023
1 parent 555b4fe commit 3990c10
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 28 deletions.
55 changes: 42 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion code/async-template-counter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ lazy_static = "1.4.0"
libc = "0.2.148"
log = "0.4.20"
pretty_assertions = "1.4.0"
ratatui = { version = "0.24.0", features = ["serde", "macros"] }
ratatui = { version = "0.25.0", features = ["serde", "macros"] }
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
signal-hook = "0.3.17"
Expand Down
3 changes: 1 addition & 2 deletions code/async-template-counter/src/components/home.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,8 @@ impl Component for Home {
Row::new(vec!["q", "Quit"]),
Row::new(vec!["?", "Open Help"]),
];
let table = Table::new(rows)
let table = Table::new(rows, [Constraint::Percentage(10), Constraint::Percentage(90)])
.header(Row::new(vec!["Key", "Action"]).bottom_margin(1).style(Style::default().add_modifier(Modifier::BOLD)))
.widths(&[Constraint::Percentage(10), Constraint::Percentage(90)])
.column_spacing(1);
f.render_widget(table, rect.inner(&Margin { vertical: 4, horizontal: 2 }));
};
Expand Down
2 changes: 1 addition & 1 deletion code/hello-world-tutorial/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ publish.workspace = true

[dependencies]
crossterm = "0.27.0"
ratatui = "0.24.0"
ratatui = "0.25.0"
2 changes: 1 addition & 1 deletion code/how-to-collapse-borders/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ publish.workspace = true

[dependencies]
color-eyre = "0.6.2"
ratatui = "0.24.0"
ratatui = "0.25.0"
crossterm = "0.27.0"
2 changes: 1 addition & 1 deletion code/how-to-color_eyre/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ publish.workspace = true
[dependencies]
color-eyre = { version = "0.6.2" }
crossterm = "0.27.0"
ratatui = "0.24.0"
ratatui = "0.25.0"
# ANCHOR_END: dependencies
2 changes: 1 addition & 1 deletion code/how-to-overwrite-regions/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ color-eyre = "0.6.2"
derive_setters = "0.1.6"
crossterm = "0.27.0"
lipsum = "0.9.0"
ratatui = "0.24.0"
ratatui = "0.25.0"
2 changes: 1 addition & 1 deletion code/quickstart-ratatui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
ratatui = "0.24.0"
ratatui = "0.25.0"
2 changes: 1 addition & 1 deletion code/ratatui-counter-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ publish.workspace = true
[dependencies]
color-eyre = "0.6.2"
crossterm = "0.27.0"
ratatui = "0.24.0"
ratatui = "0.25.0"
2 changes: 1 addition & 1 deletion code/ratatui-counter-async-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ lazy_static = "1.4.0"
libc = "0.2.151"
log = "0.4.20"
pretty_assertions = "1.4.0"
ratatui = { version = "0.24.0", features = ["serde", "macros"] }
ratatui = { version = "0.25.0", features = ["serde", "macros"] }
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
signal-hook = "0.3.17"
Expand Down
2 changes: 1 addition & 1 deletion code/ratatui-json-editor-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ publish.workspace = true

[dependencies]
crossterm = "0.27.0"
ratatui = "0.24.0"
ratatui = "0.25.0"
serde = { version = "1.0.181", features = ["derive"] }
serde_json = "1.0.104"
4 changes: 2 additions & 2 deletions code/ratatui-stopwatch-app/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ human-panic = "1.2.0"
itertools = "0.12.0"
libc = "0.2.151"
log = "0.4.20"
ratatui = "0.24.0"
ratatui = "0.25.0"
strip-ansi-escapes = "0.2.0"
strum = "0.25.0"
tokio = { version = "1.35.1", features = ["full"] }
tokio-util = "0.7.8"
tui-big-text = "0.2.1"
tui-big-text = "0.3.0"
2 changes: 1 addition & 1 deletion code/the-elm-architecture/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ publish.workspace = true

[dependencies]
color-eyre = "0.6.2"
ratatui = "0.24.0"
ratatui = "0.25.0"
crossterm = "0.27.0"
2 changes: 1 addition & 1 deletion code/widget-showcase/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ publish.workspace = true
clap = { version = "4.4.11", features = ["derive"] }
color-eyre = "0.6.2"
crossterm = "0.27.0"
ratatui = { version = "0.24.0", features = ["all-widgets"] }
ratatui = { version = "0.25.0", features = ["all-widgets"] }
time = "0.3.31"

0 comments on commit 3990c10

Please sign in to comment.