Update dependency textual to v6 #705
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.42.0->==6.7.1Release Notes
Textualize/textual (textual)
v6.7.1Compare Source
Fixed
Content.fold#6256v6.7.0Compare Source
Added
GridLayout.max_column_width#6228Content.fold#6238strip_control_codesto Content constructors #6238Changed
Screen.get_loading_widgetwhich deferes toApp.get_loading_widget#6228Fixed
anchorwithScrollViewwidgets #6228v6.6.0Compare Source
Fixed
TextAreacursor display on wrapped lines #6196remove_childrennot refreshing layout #6206Added
grid_sizeproperty toGridLayout#6210NoSelectionandBLANKviatextual.widgets.select#6214Widget.FOCUS_ON_CLICKclassvar amdWidget.focus_on_clickmethod #6216Widget.mount_compose#6216Changed
v6.5.0Compare Source
Added
DOMNode.trap_focus#6202Fixed
v6.4.0Compare Source
Fixed
bazelusers #6163Changed
v6.3.0Compare Source
Added
Fixed
Changed
v6.2.1Compare Source
v6.2.0Compare Source
Changed
Widget._arrangeis now public (asWidget.arrange) #6108App.delay_updatepublic #6137Added
DOMNode.displayed_and_visible_children#6102Widget.process_layout#6105App.viewport_size#6105Screen.size#6105compactto Binding.Group #6132Screen.get_hover_widgets_at#6132Content.wrap#6138Fixed
Nonearen't rendered #6109DataTable.header_height#6128v6.1.0Compare Source
Added
Button.flatboolean to enable flat button style #6094namespacesparameter torun_action#6094v6.0.0Compare Source
Fixed
Content.expand_tabs#6038Pilot.double_clickandPilot.triple_click#6035Prettywidget #6040 #6041inline_no_clear=True#6080Added
BAR_RENDERABLEtoProgressBarwidget #5963OptionList.set_options#6048TextArea.suggestion#6048TextArea.placeholder#6048Header.format_titleandApp.format_titlefor easier customization of title in the Header #6051Widget.get_line_filtersandApp.get_line_filters#6057Binding.Group#6070DOMNode.displayed_children#6070TextArea.hide_suggestion_on_blurboolean #6070OptionList.highlighted_optionproperty #6090TextArea.update_suggestionmethod #6090textual.getters.app#6089Changed
renderableproperty on theStaticwidget has been changed tocontent. #6041HeaderTitlewidget is now a static, with notextandsub_textreactives #6051Labelconstructor argumentrenderabletocontentfor consistency #6045v5.3.0Compare Source
Added
Content.simplify#6023textual.reactive.Initialize#6023Fixed
v5.2.0Compare Source
Added
v5.1.1Compare Source
Fixed
v5.1.0Compare Source
Added
emptypseudo class, which applies when a widget has no displayed children #5999Screen.action_focus#5999Changed
last-child,last-of-type,first-child, andfirst-of-typeapply to displayed children only #5999textual.composeis now public #5999v5.0.1Compare Source
Fixed
v5.0.0Added
expandandshrinkattributes to GridLayout #5962Markdown.get_stream#5966textual.highlightmodule for syntax highlighting #5966MessagePump.wait_for_refreshmethod #5966Widget.container_scroll_offsete84600cMarkdown.sourceattribute to MarkdownBlockse84600ce84600cindextoListView.Selectedevent #5973layoutswitch to Static.update #5973Fixed
TextAreaissue with thecsstheme, where the background color was stuck from the previous theme #5964TextArearuntime crash caused by tree-sitter breaking change #5976Changed
e84600cVisual.render_stripshas a new signature. If you aren't explicitly building Visuals then this won't effect you. #5981TEXTUAL_SPEEDUPS=0to disable.syntaxextras now requires Python 3.10+ #5977TextAreasyntax highlighting changes due to tree-sitter updates #5977Removed
Markdown.code_dark_theme,Markdown.code_light_theme,Markdown.code_indent_guideswhich are no longer needed with the new code fence. #5967e84600cv4.1.0Changed
v4.0.0Compare Source
Fixed
query_oneandquery_exactly_onenot raising documentedWrongTypeexception. #5945Changed
Widget.anchornow has different semantics. It should be applied to a container and anchors to the bottom of the scroll position. #5950Added
Markdown.append#5950Widget.release_anchor#5950compactparameter toMaskedInput#5952v3.7.1Compare Source
Fixed
v3.7.0Compare Source
Added
show_cursorboolean to TextArea #5934Changed
query_oneandquery_exactly_onesearch to breadth first #5930Fixed
v3.6.0Compare Source
Added
show_cursorboolean to TextArea #5934Changed
query_oneandquery_exactly_onesearch to breadth first #5930Fixed
v3.5.0Compare Source
Changed
code_indent_guidesboolean on Markdown widget #5874v3.4.0Compare Source
Fixed
TextArearendering https://redirect.github.com/Textualize/textual/issues/5841vcommAdded
Changed
v3.3.0Compare Source
Fixed
VERTICAL_BREAKPOINTSdoesn't work #5785Buttonallowing text selection #5770App.runafterasyncio.run#5799Inputinvalid cursor position after updating the value #5811DEFAULT_CLASSESwhen applied to App #5827Added
CollapsibleTitle#5810Color.hsvproperty andColor.from_hsvclass method #5803cursor_at_startandcursor_at_endproperties to theInputwidget #5830Changed
python -m textual.markupplayground #5823v3.2.0Compare Source
Fixed
OptionListcausing excessive redrawing #5766TEXTUAL_DEBUGis set #5782Added
:first-childand:last-childpseudo classes #5776toggle_classparameter to reactives #5778compactparameter and reactive toButton,Input,ToggleButton,RadioSet,OptionList,TextArea#5778HORIZONTAL_BREAKPOINTSandVERTICAL_BREAKPOINTStoAppandScreen#5779Changed
RadioSetnow has a default width of1fr#5778v3.1.1Compare Source
Fixed
v3.1.0Compare Source
Fixed
OptionListsize after removing or clearing options #5728can_focus()#5737Changed
Added
TEXTUAL_DIM_FACTORenv var to set the opacity of the 'dim' ANSI attribute #5715notify()now accepts amarkupparameter to disable rendering the message as markup #5719Screen.text_selection_started_signal#5739App.clear_selection()helper method to clear arbitrary text selection of active screen #5739v3.0.1Compare Source
Fixed
v3.0.0Compare Source
Changed
App.queryand friends will now always query the default (first) screen, not necessarily the active screen.Content()is equivalent toContent("")textual-input,textual-output. These should become visible in monitoring tools (ps, top, htop) as of Python 3.14. #5654Fixed
scroll_endparameter to theLog.write_linemethod #5672overflow: hidden#5681Added
Content.first_lineproperty #5657Content.from_textconstructor #5657Content.emptyconstructor #5657Content.padmethod #5657Style.has_transparent_foregroundproperty #5657v2.1.2Compare Source
Fixed
v2.1.1Compare Source
Fixed
Linkbinding to open the link #5564Changed
v2.1.0Compare Source
Fixed
Content.from_markupnot stripping control codes #5557delta_xanddelta_yin mouse events when smooth scrolling is enabled #5556Added
pointer_x,pointer_y,pointer_screen_x, andpointer_screen_yattributes to mouse events #5556Changed
TerminalSupportsInBandWindowResizetoInBandWindowResize#5558v2.0.4Compare Source
Fixed
v2.0.3Compare Source
Fixed
v2.0.2Compare Source
Fixed
v2.0.1Compare Source
Fixed
v2.0.0Compare Source
Added
Select.type_to_searchwhich allows you to type to move the cursor to a matching option #5403from_app_focustoFocusevent to indicate if a widget is being focused because the app itself has regained focus or not #5379Blurredmessage toInputwidget (matchingSubmittedandChanged) to make it easier to synchronize withvalidate_onparameter when set to 'blur'.Offset.transpose#5409screen--selectioncomponent class to define style for selection #5409Widget.select_containerproperty #5409Widget.select_all#5409Region.bottom_right_inclusive#5409DOMNode.query_ancestor#5409text-wrapandtext-overflowCSS values #5485Content.from_markup#5485Fixed
Pilot.clicknot working withtimesparameter #5398Inputwill now only be automatically selected when the widget is focused by the user, not when the app itself has regained focus (similar to web browsers). #5379TextAreaandInputbehavior when there is a selection and the user presses left or right #5400shift#5404Inputto post aBlurredmessageConfiguration
📅 Schedule: Branch creation - "after 7am and before 4pm on monday" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.