Commit Graph

3557 Commits

Author SHA1 Message Date
Rodrigo Girão Serrão
be283ab348 Use correct typing.Literal for Python 3.7. 2022-11-18 15:33:15 +00:00
Will McGugan
805bf4d175 ws 2022-11-18 15:31:34 +00:00
Will McGugan
a1daf02537 fixed Daves avatar 2022-11-18 15:30:34 +00:00
Will McGugan
3ee3920566 Merge pull request #1219 from Textualize/remove-freeze-fix
fix remove freeze
2022-11-18 15:28:51 +00:00
Will McGugan
1f2781cd6c Merge branch 'main' into remove-freeze-fix 2022-11-18 15:28:43 +00:00
Rodrigo Girão Serrão
54b85399e7 Merge branch 'main' into placeholder 2022-11-18 15:21:40 +00:00
Rodrigo Girão Serrão
a8c5d1abe4 Add docs for Placeholder. 2022-11-18 15:17:43 +00:00
Rodrigo Girão Serrão
a87c9ca916 Add tests for placeholder widget. 2022-11-18 15:14:56 +00:00
Will McGugan
69105946c9 Added team 2022-11-18 15:02:28 +00:00
Rodrigo Girão Serrão
21630e07fc Make Placeholder non-focusable. 2022-11-18 14:51:13 +00:00
Rodrigo Girão Serrão
6ad925677f Merge pull request #1225 from Textualize/issue-1222
Fix docstring signatures.
2022-11-18 14:45:44 +00:00
Dave Pearson
c5ec61f6f1 Merge pull request #1226 from davep/use-new-screen-approach
Update the 5x5 example to make use of callable screens
2022-11-18 14:37:12 +00:00
Rodrigo Girão Serrão
8d94e32afd Remove variants css and state. 2022-11-18 14:33:38 +00:00
Will McGugan
5e2a5668a0 ws 2022-11-18 14:17:18 +00:00
darrenburns
36664ef7ae Sensible default key displays + allow users to override key displays at the App level (#1213)
* Get rid of string split key display

* Include screen level bindings when no widget is focused

* Add default key display mappings

* Allow user to customise key display at app level

* Better docstring

* Update CHANGELOG.md
2022-11-18 14:05:45 +00:00
Will McGugan
fa5ac0dd68 simplified cache_key 2022-11-18 13:59:58 +00:00
Dave Pearson
50860b98b6 Update the 5x5 example to make use of callable screens
Now that #1054 has made it into main, make use of it.
2022-11-18 13:43:27 +00:00
Rodrigo Girão Serrão
4cf69b05bb Update dev dependency listing to group notation. 2022-11-18 13:30:46 +00:00
Rodrigo Girão Serrão
deabb4859b Add httpx as dev dependency. 2022-11-18 13:24:33 +00:00
Rodrigo Girão Serrão
0943d5a263 Fix docstring signatures. 2022-11-18 13:14:40 +00:00
Will McGugan
d90a1ea691 words 2022-11-18 12:30:26 +00:00
Will McGugan
d4d517aa8f update changelog 2022-11-18 11:40:58 +00:00
Will McGugan
ac1c6a2f3c rename 2022-11-18 11:39:35 +00:00
Will McGugan
f07684438f fix remove freeze 2022-11-18 11:34:52 +00:00
Rodrigo Girão Serrão
392a95d0a9 Simplify docstrings. 2022-11-18 10:01:10 +00:00
Rodrigo Girão Serrão
5dfa9c4845 Change placeholder styles. 2022-11-18 09:55:27 +00:00
Dave Pearson
ccabbf01a3 Merge pull request #1214 from davep/cl-typo-fix
Fix a typo in the CHANGELOG
2022-11-17 20:49:09 +00:00
Dave Pearson
6dce7f1402 Fix a typo in the CHANGELOG 2022-11-17 20:42:16 +00:00
Dave Pearson
447c9d8e5a Merge pull request #1193 from davep/label-widget
Add a Label widget
2022-11-17 20:25:45 +00:00
Dave Pearson
c9484c64ca Correct the container status of Label in the docs
See https://github.com/Textualize/textual/pull/1193#discussion_r1025466567
2022-11-17 20:25:02 +00:00
Dave Pearson
28bc889f7b Correct the container status of Static in the docs
See https://github.com/Textualize/textual/pull/1193#discussion_r1025466567
2022-11-17 20:24:39 +00:00
Will McGugan
8470c62f79 Merge pull request #1210 from davep/exception-typo
Correct a typo in a exception string
2022-11-17 17:05:16 +00:00
Will McGugan
53982179f2 Merge pull request #1209 from davep/restore-docs
Restore the content of docs.md
2022-11-17 17:04:55 +00:00
Will McGugan
64a889a4f6 Merge pull request #1203 from davep/remove-dead-code
Remove dead code
2022-11-17 17:04:26 +00:00
Will McGugan
d9a0da91a4 fixed some rendering glitches 2022-11-17 16:59:29 +00:00
Rodrigo Girão Serrão
83c8a9b55f Style placeholder variants more uniformly. 2022-11-17 16:56:36 +00:00
Rodrigo Girão Serrão
67947d5806 Fix documentation about the variant 'size'. 2022-11-17 16:49:13 +00:00
Rodrigo Girão Serrão
4b5fd43423 Add scaffolding for the Placeholder widget. 2022-11-17 16:40:09 +00:00
Dave Pearson
5d7c98938f Correct a typo in a exception string 2022-11-17 16:13:31 +00:00
Dave Pearson
d30d3624bf Restore the content of docs.md 2022-11-17 15:51:38 +00:00
Dave Pearson
5dcbd07f08 Move the labels in the colour preview away from Static and into Label 2022-11-17 11:42:04 +00:00
Dave Pearson
5a1b436e91 Move the label in the border preview away from Static and into Label 2022-11-17 11:36:07 +00:00
Dave Pearson
f1be4e21aa Move the labels in the easing preview away from Static and into Label 2022-11-17 11:34:04 +00:00
Rodrigo Girão Serrão
e656284c57 Fix docstring for some widget optional arguments. (#1204)
* Update _button.py

* Update tabs.py
2022-11-17 11:21:39 +00:00
Dave Pearson
be0a268395 Remove old test code from scrollbar.py
This is covered in unit tests these days.
2022-11-17 11:04:01 +00:00
Dave Pearson
3b8b0ebeb2 Remove old test code from design.py
This is covered in unit tests these days.
2022-11-17 11:02:29 +00:00
Dave Pearson
265f770976 Remove old test code from case.py
This is covered in unit tests these days.
2022-11-17 11:01:31 +00:00
Dave Pearson
53b760eea2 Remove old test code from renderables/gradient.py
This isn't currently covered in unit tests but should be at some point?
Either way, having a test in dead code in the library doesn't help much any
more.
2022-11-17 10:58:01 +00:00
darrenburns
37670578ff Ensure cursor visible when no placeholder in Input (#1202)
* Ensure cursor visible when no placeholder in Input

* Update CHANGELOG.md
2022-11-17 10:57:23 +00:00
Dave Pearson
33eefd56cf Remove old test code from renderables/blank.py
This is covered in unit tests these days.
2022-11-17 10:56:27 +00:00