Skip to content

Commit f3a0b5c

Browse files
committed
snapshot
1 parent 281c3f2 commit f3a0b5c

File tree

3 files changed

+175
-2
lines changed

3 files changed

+175
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

8-
## Unreleased
8+
## [0.73.0] - 2024-07-18
99

1010
### Added
1111

@@ -2219,6 +2219,7 @@ https://textual.textualize.io/blog/2022/11/08/version-040/#version-040
22192219
- New handler system for messages that doesn't require inheritance
22202220
- Improved traceback handling
22212221

2222+
[0.73.0]: https://github.com/Textualize/textual/compare/v0.72.0...v0.73.0
22222223
[0.72.0]: https://github.com/Textualize/textual/compare/v0.71.0...v0.72.0
22232224
[0.71.0]: https://github.com/Textualize/textual/compare/v0.70.0...v0.71.0
22242225
[0.70.0]: https://github.com/Textualize/textual/compare/v0.69.0...v0.70.0

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "textual"
3-
version = "0.72.0"
3+
version = "0.73.0"
44
homepage = "https://github.com/Textualize/textual"
55
repository = "https://github.com/Textualize/textual"
66
documentation = "https://textual.textualize.io/"

tests/snapshot_tests/__snapshots__/test_snapshots.ambr

Lines changed: 172 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34579,6 +34579,178 @@
3457934579

3458034580
'''
3458134581
# ---
34582+
# name: test_progress_gradient
34583+
'''
34584+
<svg class="rich-terminal" viewBox="0 0 994 635.5999999999999" xmlns="http://www.w3.org/2000/svg">
34585+
<!-- Generated with Rich https://www.textualize.io -->
34586+
<style>
34587+
34588+
@font-face {
34589+
font-family: "Fira Code";
34590+
src: local("FiraCode-Regular"),
34591+
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Regular.woff2") format("woff2"),
34592+
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Regular.woff") format("woff");
34593+
font-style: normal;
34594+
font-weight: 400;
34595+
}
34596+
@font-face {
34597+
font-family: "Fira Code";
34598+
src: local("FiraCode-Bold"),
34599+
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff2/FiraCode-Bold.woff2") format("woff2"),
34600+
url("https://cdnjs.cloudflare.com/ajax/libs/firacode/6.2.0/woff/FiraCode-Bold.woff") format("woff");
34601+
font-style: bold;
34602+
font-weight: 700;
34603+
}
34604+
34605+
.terminal-1113911122-matrix {
34606+
font-family: Fira Code, monospace;
34607+
font-size: 20px;
34608+
line-height: 24.4px;
34609+
font-variant-east-asian: full-width;
34610+
}
34611+
34612+
.terminal-1113911122-title {
34613+
font-size: 18px;
34614+
font-weight: bold;
34615+
font-family: arial;
34616+
}
34617+
34618+
.terminal-1113911122-r1 { fill: #5edd77 }
34619+
.terminal-1113911122-r2 { fill: #7ddd64 }
34620+
.terminal-1113911122-r3 { fill: #9bdd50 }
34621+
.terminal-1113911122-r4 { fill: #b9dd33 }
34622+
.terminal-1113911122-r5 { fill: #d7dd15 }
34623+
.terminal-1113911122-r6 { fill: #ecd508 }
34624+
.terminal-1113911122-r7 { fill: #eebd1e }
34625+
.terminal-1113911122-r8 { fill: #eea536 }
34626+
.terminal-1113911122-r9 { fill: #e89048 }
34627+
.terminal-1113911122-r10 { fill: #db7d55 }
34628+
.terminal-1113911122-r11 { fill: #cf6c61 }
34629+
.terminal-1113911122-r12 { fill: #c45961 }
34630+
.terminal-1113911122-r13 { fill: #b7475b }
34631+
.terminal-1113911122-r14 { fill: #ab3657 }
34632+
.terminal-1113911122-r15 { fill: #9f285e }
34633+
.terminal-1113911122-r16 { fill: #931c6a }
34634+
.terminal-1113911122-r17 { fill: #323232 }
34635+
.terminal-1113911122-r18 { fill: #c5c8c6 }
34636+
.terminal-1113911122-r19 { fill: #e1e1e1 }
34637+
</style>
34638+
34639+
<defs>
34640+
<clipPath id="terminal-1113911122-clip-terminal">
34641+
<rect x="0" y="0" width="975.0" height="584.5999999999999" />
34642+
</clipPath>
34643+
<clipPath id="terminal-1113911122-line-0">
34644+
<rect x="0" y="1.5" width="976" height="24.65"/>
34645+
</clipPath>
34646+
<clipPath id="terminal-1113911122-line-1">
34647+
<rect x="0" y="25.9" width="976" height="24.65"/>
34648+
</clipPath>
34649+
<clipPath id="terminal-1113911122-line-2">
34650+
<rect x="0" y="50.3" width="976" height="24.65"/>
34651+
</clipPath>
34652+
<clipPath id="terminal-1113911122-line-3">
34653+
<rect x="0" y="74.7" width="976" height="24.65"/>
34654+
</clipPath>
34655+
<clipPath id="terminal-1113911122-line-4">
34656+
<rect x="0" y="99.1" width="976" height="24.65"/>
34657+
</clipPath>
34658+
<clipPath id="terminal-1113911122-line-5">
34659+
<rect x="0" y="123.5" width="976" height="24.65"/>
34660+
</clipPath>
34661+
<clipPath id="terminal-1113911122-line-6">
34662+
<rect x="0" y="147.9" width="976" height="24.65"/>
34663+
</clipPath>
34664+
<clipPath id="terminal-1113911122-line-7">
34665+
<rect x="0" y="172.3" width="976" height="24.65"/>
34666+
</clipPath>
34667+
<clipPath id="terminal-1113911122-line-8">
34668+
<rect x="0" y="196.7" width="976" height="24.65"/>
34669+
</clipPath>
34670+
<clipPath id="terminal-1113911122-line-9">
34671+
<rect x="0" y="221.1" width="976" height="24.65"/>
34672+
</clipPath>
34673+
<clipPath id="terminal-1113911122-line-10">
34674+
<rect x="0" y="245.5" width="976" height="24.65"/>
34675+
</clipPath>
34676+
<clipPath id="terminal-1113911122-line-11">
34677+
<rect x="0" y="269.9" width="976" height="24.65"/>
34678+
</clipPath>
34679+
<clipPath id="terminal-1113911122-line-12">
34680+
<rect x="0" y="294.3" width="976" height="24.65"/>
34681+
</clipPath>
34682+
<clipPath id="terminal-1113911122-line-13">
34683+
<rect x="0" y="318.7" width="976" height="24.65"/>
34684+
</clipPath>
34685+
<clipPath id="terminal-1113911122-line-14">
34686+
<rect x="0" y="343.1" width="976" height="24.65"/>
34687+
</clipPath>
34688+
<clipPath id="terminal-1113911122-line-15">
34689+
<rect x="0" y="367.5" width="976" height="24.65"/>
34690+
</clipPath>
34691+
<clipPath id="terminal-1113911122-line-16">
34692+
<rect x="0" y="391.9" width="976" height="24.65"/>
34693+
</clipPath>
34694+
<clipPath id="terminal-1113911122-line-17">
34695+
<rect x="0" y="416.3" width="976" height="24.65"/>
34696+
</clipPath>
34697+
<clipPath id="terminal-1113911122-line-18">
34698+
<rect x="0" y="440.7" width="976" height="24.65"/>
34699+
</clipPath>
34700+
<clipPath id="terminal-1113911122-line-19">
34701+
<rect x="0" y="465.1" width="976" height="24.65"/>
34702+
</clipPath>
34703+
<clipPath id="terminal-1113911122-line-20">
34704+
<rect x="0" y="489.5" width="976" height="24.65"/>
34705+
</clipPath>
34706+
<clipPath id="terminal-1113911122-line-21">
34707+
<rect x="0" y="513.9" width="976" height="24.65"/>
34708+
</clipPath>
34709+
<clipPath id="terminal-1113911122-line-22">
34710+
<rect x="0" y="538.3" width="976" height="24.65"/>
34711+
</clipPath>
34712+
</defs>
34713+
34714+
<rect fill="#292929" stroke="rgba(255,255,255,0.35)" stroke-width="1" x="1" y="1" width="992" height="633.6" rx="8"/><text class="terminal-1113911122-title" fill="#c5c8c6" text-anchor="middle" x="496" y="27">ProgressApp</text>
34715+
<g transform="translate(26,22)">
34716+
<circle cx="0" cy="0" r="7" fill="#ff5f57"/>
34717+
<circle cx="22" cy="0" r="7" fill="#febc2e"/>
34718+
<circle cx="44" cy="0" r="7" fill="#28c840"/>
34719+
</g>
34720+
34721+
<g transform="translate(9, 41)" clip-path="url(#terminal-1113911122-clip-terminal)">
34722+
<rect fill="#1e1e1e" x="0" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="12.2" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="24.4" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="36.6" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="48.8" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="61" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="73.2" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="85.4" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="97.6" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="109.8" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="122" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="134.2" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="146.4" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="158.6" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="170.8" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="183" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="195.2" y="1.5" width="195.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="390.4" y="1.5" width="24.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="414.8" y="1.5" width="36.6" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="451.4" y="1.5" width="12.2" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="463.6" y="1.5" width="512.4" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="25.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="50.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="74.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="99.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="123.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="147.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="172.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="196.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="221.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="245.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="269.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="294.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="318.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="343.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="367.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="391.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="416.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="440.7" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="465.1" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="489.5" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="513.9" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="538.3" width="976" height="24.65" shape-rendering="crispEdges"/><rect fill="#1e1e1e" x="0" y="562.7" width="976" height="24.65" shape-rendering="crispEdges"/>
34723+
<g class="terminal-1113911122-matrix">
34724+
<text class="terminal-1113911122-r1" x="0" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r2" x="12.2" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r3" x="24.4" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r4" x="36.6" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r5" x="48.8" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r6" x="61" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r7" x="73.2" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r8" x="85.4" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r9" x="97.6" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r10" x="109.8" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r11" x="122" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r12" x="134.2" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r13" x="146.4" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r14" x="158.6" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r15" x="170.8" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r16" x="183" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">━</text><text class="terminal-1113911122-r17" x="195.2" y="20" textLength="195.2" clip-path="url(#terminal-1113911122-line-0)">╺━━━━━━━━━━━━━━━</text><text class="terminal-1113911122-r19" x="414.8" y="20" textLength="36.6" clip-path="url(#terminal-1113911122-line-0)">50%</text><text class="terminal-1113911122-r19" x="463.6" y="20" textLength="512.4" clip-path="url(#terminal-1113911122-line-0)">--:--:--&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;</text><text class="terminal-1113911122-r18" x="976" y="20" textLength="12.2" clip-path="url(#terminal-1113911122-line-0)">
34725+
</text><text class="terminal-1113911122-r18" x="976" y="44.4" textLength="12.2" clip-path="url(#terminal-1113911122-line-1)">
34726+
</text><text class="terminal-1113911122-r18" x="976" y="68.8" textLength="12.2" clip-path="url(#terminal-1113911122-line-2)">
34727+
</text><text class="terminal-1113911122-r18" x="976" y="93.2" textLength="12.2" clip-path="url(#terminal-1113911122-line-3)">
34728+
</text><text class="terminal-1113911122-r18" x="976" y="117.6" textLength="12.2" clip-path="url(#terminal-1113911122-line-4)">
34729+
</text><text class="terminal-1113911122-r18" x="976" y="142" textLength="12.2" clip-path="url(#terminal-1113911122-line-5)">
34730+
</text><text class="terminal-1113911122-r18" x="976" y="166.4" textLength="12.2" clip-path="url(#terminal-1113911122-line-6)">
34731+
</text><text class="terminal-1113911122-r18" x="976" y="190.8" textLength="12.2" clip-path="url(#terminal-1113911122-line-7)">
34732+
</text><text class="terminal-1113911122-r18" x="976" y="215.2" textLength="12.2" clip-path="url(#terminal-1113911122-line-8)">
34733+
</text><text class="terminal-1113911122-r18" x="976" y="239.6" textLength="12.2" clip-path="url(#terminal-1113911122-line-9)">
34734+
</text><text class="terminal-1113911122-r18" x="976" y="264" textLength="12.2" clip-path="url(#terminal-1113911122-line-10)">
34735+
</text><text class="terminal-1113911122-r18" x="976" y="288.4" textLength="12.2" clip-path="url(#terminal-1113911122-line-11)">
34736+
</text><text class="terminal-1113911122-r18" x="976" y="312.8" textLength="12.2" clip-path="url(#terminal-1113911122-line-12)">
34737+
</text><text class="terminal-1113911122-r18" x="976" y="337.2" textLength="12.2" clip-path="url(#terminal-1113911122-line-13)">
34738+
</text><text class="terminal-1113911122-r18" x="976" y="361.6" textLength="12.2" clip-path="url(#terminal-1113911122-line-14)">
34739+
</text><text class="terminal-1113911122-r18" x="976" y="386" textLength="12.2" clip-path="url(#terminal-1113911122-line-15)">
34740+
</text><text class="terminal-1113911122-r18" x="976" y="410.4" textLength="12.2" clip-path="url(#terminal-1113911122-line-16)">
34741+
</text><text class="terminal-1113911122-r18" x="976" y="434.8" textLength="12.2" clip-path="url(#terminal-1113911122-line-17)">
34742+
</text><text class="terminal-1113911122-r18" x="976" y="459.2" textLength="12.2" clip-path="url(#terminal-1113911122-line-18)">
34743+
</text><text class="terminal-1113911122-r18" x="976" y="483.6" textLength="12.2" clip-path="url(#terminal-1113911122-line-19)">
34744+
</text><text class="terminal-1113911122-r18" x="976" y="508" textLength="12.2" clip-path="url(#terminal-1113911122-line-20)">
34745+
</text><text class="terminal-1113911122-r18" x="976" y="532.4" textLength="12.2" clip-path="url(#terminal-1113911122-line-21)">
34746+
</text><text class="terminal-1113911122-r18" x="976" y="556.8" textLength="12.2" clip-path="url(#terminal-1113911122-line-22)">
34747+
</text>
34748+
</g>
34749+
</g>
34750+
</svg>
34751+
34752+
'''
34753+
# ---
3458234754
# name: test_quickly_change_tabs
3458334755
'''
3458434756
<svg class="rich-terminal" viewBox="0 0 994 635.5999999999999" xmlns="http://www.w3.org/2000/svg">

0 commit comments

Comments
 (0)