./comms/py-textual, Modern Text User Interface framework

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.89.1, Package name: py312-textual-0.89.1, Maintainer: pkgsrc-users

Textual is a Rapid Application Development framework for Python.

Build sophisticated user interfaces with a simple Python API. Run
your apps in the terminal and a web browser.


Master sites:

Filesize: 1481.518 KB

Version history: (Expand)


CVS history: (Expand)


   2024-12-06 23:06:50 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-textual: update to 0.89.1.

Three weeks of heavy development.
   2024-11-24 11:35:40 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-textual: update to 0.86.3.

0.86.3

Changed

    Updated the tutorial (text and code) #5257

Fixed

    Fixed a glitch with the scrollbar that occurs when you hold a to add \ 
stopwatches in the tutorial app #5257

[0.86.2] - 2024-11-18

Fixed

    Fixed visibility glitch for widgets with an offset #5253
    Fixed theme variables being unavailable in code until refresh_css was called \ 
#5254
   2024-11-17 11:02:26 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-textual: update to 0.86.1.

0.86.1

Tweaks to demo

0.86.0

Adds an entirely new theming system and an updated demo

The new theming system standardizes the look-and-feel of widgets.
This should mean they will look pretty when used in combination,
and you will need less tweaking of your UI. If your app already
has a customized look and feel, you may need to make a few style
changes.
   2024-11-04 19:14:23 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
py-textual: update to 0.85.2.

[0.85.2] - 2024-11-02

    Fixed broken focus-within #5190
   2024-10-19 13:34:15 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-textual: update to 0.83.0.

[0.83.0] - 2024-10-10
Added

    Added support for A-F to Digits widget #5094
    Added Region.constrain #5097

Changed

    Screen.ALLOW_IN_MAXIMIZED_VIEW will now default to \ 
App.ALLOW_IN_MAXIMIZED_VIEW #5088
    Widgets matching .-textual-system will now be included in the maximize view \ 
by default #5088
    Digits are now thin by default, style with text-style: bold to get bold \ 
digits #5094
    Made Widget.absolute_offset public #5097
    Tooltips are now displayed directly below the mouse cursor #5097
    Region.inflect will now assume that margins overlap #5097
    Pilot.click and friends will now accept a widget, in addition to a selector #5095

[0.82.0] - 2024-10-03
Fixed

    Fixed issue with screen not updating when auto_refresh was enabled #5063
    Fixed issues regarding loading indicator #5079
    Fixed issues with inspecting the lazy loaded widgets module #5080

Added

    Added DOMNode.is_on_screen property #5063
    Added support for keymaps (user configurable key bindings) #5038
    Added descriptions to bindings for all internal widgets, and updated casing \ 
to be consistent #5062

Changed

    Breaking change: Widget.set_loading no longer return an awaitable #5079

[0.81.0] - 2024-09-25
Added

    Added x_axis and y_axis parameters to Widget.scroll_to_region #5047
    Added Tree.move_cursor_to_line #5052

Changed

    Tree will no longer scroll the X axis when moving the cursor #5047
    DirectoryTree will no longer select the first node #5052

Fixed

    Fixed widgets occasionally not getting Resize events #5048
    Fixed tree regression #5052
    Fixed glitch with single line inline widget #5054

[0.80.1] - 2024-09-24
Fixed

    Fixed crash when exiting the app prematurely #5039
    Fixed exception constructing TextArea outside of App #5045

[0.80.0] - 2024-09-23
Added

    Added MaskedInput widget #4783
    Input validation for floats and integers accept embedded underscores, e.g., \ 
"1_234_567" is valid. #4784
    Support for "none" value added to dock, hatch and split styles #4982
    Support for "none" added to box and border style properties (e.g \ 
widget.style.border = "none") #4982
    Docstrings added to most style properties #4982
    Added ansi_color switch to App to permit ANSI (themed) colors #5000
    Added :ansi pseudo class #5000
    Added -ansi-scrollbar style to widgets #5000
    Added App.INLINE_PADDING to define the number of spaces above inline apps #5000
    Added nocolor psuedoclass when NO_COLOR env var is set
    BINDING_GROUP_TITLE now defaults to None #5023
    Added TreeNode.siblings, TreeNode.next_sibling, TreeNode.previous_sibling, \ 
TreeNode.is_collapsed #5023
    Added additional bindings to Tree widget #5023
    Added Tree.center_scroll #5023
    Added Tree.unselect #5023

Changed

    Input validation for integers no longer accepts scientific notation like \ 
'1.5e2'; must be castable to int. #4784
    Default scrollbar-size-vertical changed to 2 in inline styles to match \ 
Widget default CSS (unlikely to affect users) #4982
    Removed border-right from Toast #4984
    Some fixes in RichLog result in slightly different semantics, see docstrings \ 
for details #4978
    Changed how scrollbars are rendered (will have no visual effect, but will \ 
break snapshot tests) #5000
    Added enabled switch to filters (mostly used internally) #5000
    BINDING_GROUP_TITLE now defaults to None #5023
    Breaking change: Changed how scrollbars are rendered so they work in ansi \ 
mode (will break snapshots) #5023

Fixed

    Input validation of floats no longer accepts NaN (not a number). #4784
    Fixed issues with screenshots by simplifying segments only for snapshot \ 
tests #4929
    Fixed RichLog.write not respecting width parameter #4978
    Fixed RichLog writing at wrong width when write occurs before width is known \ 
(e.g. in compose or on_mount) #4978
    Fixed RichLog.write incorrectly shrinking width to RichLog.min_width when \ 
shrink=True (now shrinks to fit content area instead) #4978
    Fixed flicker when setting dark reactive on startup #4989
    Fixed command palette not sorting search results by their match score #4994
    Fixed DataTable cached height issue on re-populating the table when using \ 
auto-height rows #4992
    Fixed inline app output being cleared when inline_no_clear=True #5019
   2024-09-13 11:46:07 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-textual: update to 0.79.1.

0.79.1

    Fixed broken updates when non active screen changes #4957

0.79.0

This release optimizes query_one and changes the semantics a little.
query_one will no longer raise a TooManyMatches if there is more
than a single widget matching the selector. For the old behavior,
you can use the new query_exactly_one method.

0.78.0

This release optimizes query_one and changes the semantics a little.
query_one will no longer raise a TooManyMatches if there is more
than a single widget matching the selector. For the old behavior,
you can use the new query_exactly_one method.
   2024-08-25 12:45:47 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
py-textual: update to 0.77.0.

[0.77.0] - 2024-08-22

Added

    Added tooltip to Binding #4859
    Added a link to the command palette to the Footer (set \ 
show_command_palette=False to disable) #4867
    Added TOOLTIP_DELAY to App to customize time until a tooltip is displayed
    Added "Show keys" option to system commands to show a summary of \ 
key bindings. #4876
    Added "split" CSS style, currently undocumented, and may change. #4876
    Added Region.get_spacing_between #4876
    Added App.COMMAND_PALETTE_KEY to change default command palette key binding #4867
    Added App.get_key_display #4890
    Added DOMNode.BINDING_GROUP #4906
    Added DOMNode.HELP classvar which contains Markdown help to be shown in the \ 
help panel #4915
    Added App.get_system_commands #4920
    Added "Save Screenshot" system command #4922

Changed

    Removed caps_lock and num_lock modifiers #4861
    Keys such as escape and space are now displayed in lower case in footer #4876
    Changed default command palette binding to ctrl+p #4867
    Removed ctrl_to_caret and upper_case_keys from Footer. These can be \ 
implemented in App.get_key_display.
    Renamed SystemCommands to SystemCommandsProvider #4920
    Breaking change: Removed ClassicFooter widget (please use new Footer widget) \ 
#4921
    Disallowed Screen instances in App.SCREENS and App.MODES

Fixed

    Fix crash when validate_on value isn't a set #4868
    Fix Input.cursor_blink having no effect on the blink cycle after mounting #4869
    Fixed scrolling by page not taking scrollbar in to account #4916
    Fixed App.MODES being the same for all instances -- per-instance modes now \ 
exist internally
   2024-08-12 14:27:33 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-textual: add another test dependency

Update test status.