ratatui / ratatui-macros

Macros for simplifying boilerplate for creating UI using Ratatui.
https://ratatui.rs
MIT License
28 stars 2 forks source link

build(deps): bump ratatui from 0.27.0-alpha.0 to 0.27.0-alpha.2 #22

Closed dependabot[bot] closed 7 months ago

dependabot[bot] commented 7 months ago

Bumps ratatui from 0.27.0-alpha.0 to 0.27.0-alpha.2.

Release notes

Sourced from ratatui's releases.

v0.27.0-alpha.2

v0.27.0-alpha.2 - 2024-03-23

Features

  • 11b452d (layout) Mark various functions as const (#951)

  • 1cff511 (line) Impl Styled for Line (#968)

    This adds `FromIterator` impls for `Line` and `Text` that allow creating
    `Line` and `Text` instances from iterators of `Span` and `Line`
    instances, respectively.
    
    let line = Line::from_iter(vec!["Hello".blue(), " world!".green()]);
    let line: Line = iter::once("Hello".blue())
        .chain(iter::once(" world!".green()))
        .collect();
    let text = Text::from_iter(vec!["The first line", "The second line"]);
    let text: Text = iter::once("The first line")
        .chain(iter::once("The second line"))
        .collect();
    

  • 654949b (list) Add Scroll Padding to Lists (#958)

    Introduces scroll padding, which allows the api user to request that a certain number of ListItems be kept visible above and below the currently selected item while scrolling.
    
    let list = List::new(items).scroll_padding(1);
    

    Fixes:ratatui-org/ratatui#955

  • b5bdde0 (text) Add FromIterator impls for Line and Text (#967)

    This adds `FromIterator` impls for `Line` and `Text` that allow creating
    `Line` and `Text` instances from iterators of `Span` and `Line`
    instances, respectively.
    
    </code></pre>
    </li>
    </ul>
    <!-- raw HTML omitted -->
    </blockquote>
    <p>... (truncated)</p>
    </details>
    <details>
    <summary>Commits</summary>
    
    <ul>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/8719608bdaf32ba92bdfdd60569cf73f7070a618"><code>8719608</code></a> refactor(span): rename to_aligned_line into into_aligned_line (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/993">#993</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/f6c4e447e65fe10f4fc7fcc9e9c4312acad41096"><code>f6c4e44</code></a> fix: ensure that paragraph correctly renders styled text (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/992">#992</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/c56f49b9fb1c7f1c8c97749119e85f81882ca9a9"><code>c56f49b</code></a> fix(list): saturating_sub to fix highlight_symbol overflow (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/949">#949</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/078e97e4ff65c02afa7c884914ecd38a6e959b58"><code>078e97e</code></a> chore(github): add EdJoPaTo as a maintainer (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/986">#986</a>)</li>
    <li><a href="https://github.com/ratatui-org/ratatui/commit/8e68db9e2f57fcbf7cb5140006bbbd4dd80bf907"><code>8e68db9</code></a> refactor: remove pointless default on internal structs (<a href="https://redirect.github.com/ratatui-org/ratatui/issues/980">#980</a>)</li>
    <li>See full diff in <a href="https://github.com/ratatui-org/ratatui/compare/v0.27.0-alpha.0...v0.27.0-alpha.2">compare view</a></li>
    </ul>
    </details>
    
    <br />
    
    [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ratatui&package-manager=cargo&previous-version=0.27.0-alpha.0&new-version=0.27.0-alpha.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
    Dependabot commands and options
    You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)